diff --git a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/build.xml b/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/build.xml deleted file mode 100644 index 566ad490..00000000 --- a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/build.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/META-INF/MANIFEST.MF b/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/META-INF/MANIFEST.MF deleted file mode 100644 index 254272e1..00000000 --- a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/META-INF/MANIFEST.MF +++ /dev/null @@ -1,3 +0,0 @@ -Manifest-Version: 1.0 -Class-Path: - diff --git a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/liferay-display.xml b/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/liferay-display.xml deleted file mode 100644 index 270137cb..00000000 --- a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/liferay-display.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/liferay-plugin-package.properties b/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/liferay-plugin-package.properties deleted file mode 100644 index 5948839b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/liferay-plugin-package.properties +++ /dev/null @@ -1,13 +0,0 @@ -name=PortoTestPlugin -module-group-id=liferay -module-incremental-version=1 -tags= -short-description= -long-description= -change-log= -page-url=http://www.liferay.com -author=Liferay, Inc. -licenses=LGPL -liferay-versions=6.2.0+ -required-deployment-contexts=\ - portos-bo-portlet diff --git a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/liferay-portlet.xml b/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/liferay-portlet.xml deleted file mode 100644 index 588634b1..00000000 --- a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/liferay-portlet.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - test-portos - /icon.png - /css/main.css - - /js/main.js - - test-portos-portlet - - - administrator - Administrator - - - guest - Guest - - - power-user - Power User - - - user - User - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/portlet.xml b/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/portlet.xml deleted file mode 100644 index c5560dd5..00000000 --- a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/portlet.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - test-portos - Test Portos - - it.tref.liferay.portos.plugin.TestPortosPortlet - - - view-template - /html/testportos/view.jsp - - 0 - - text/html - view - - - Test Portos - Test Portos - - - - administrator - - - guest - - - power-user - - - user - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/plugin/TestPortosPortlet.java b/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/plugin/TestPortosPortlet.java deleted file mode 100644 index 81bc3a83..00000000 --- a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/plugin/TestPortosPortlet.java +++ /dev/null @@ -1,99 +0,0 @@ -package it.tref.liferay.portos.plugin; - -import it.tref.liferay.portos.bo.model.ControlloPratica; -import it.tref.liferay.portos.bo.model.IntPratica; -import it.tref.liferay.portos.bo.service.ClpSerializer; -import it.tref.liferay.portos.bo.service.ControlloPraticaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil; - -import java.util.List; - -import javax.portlet.ActionRequest; -import javax.portlet.ActionResponse; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.RestrictionsFactoryUtil; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.search.Indexer; -import com.liferay.portal.kernel.search.IndexerRegistryUtil; -import com.liferay.portal.kernel.util.ParamUtil; -import com.liferay.portal.kernel.util.WebKeys; -import com.liferay.portal.theme.ThemeDisplay; -import com.liferay.util.bridges.mvc.MVCPortlet; - -/** - * Portlet implementation class TestPortosPortlet - */ -public class TestPortosPortlet extends MVCPortlet { - private static final Log _log = LogFactoryUtil.getLog(TestPortosPortlet.class); - - public void reIndexFasciolo(ActionRequest actionRequest, ActionResponse actionResponse) { - - - try { - - ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); - long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId"); - - Indexer intIndexer = IndexerRegistryUtil.getIndexer(IntPratica.class); - Indexer controlloIndexer = IndexerRegistryUtil.getIndexer(ControlloPratica.class); - - IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId); - - if (intPratica != null) { - - intIndexer.delete(themeDisplay.getCompanyId(), intPratica.getUuid()); - intIndexer.reindex(IntPratica.class.getName(), intPratica.getIntPraticaId()); - - ClassLoader classLoader = - (ClassLoader) PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), "portletClassLoader"); - - DynamicQuery queryCP = DynamicQueryFactoryUtil.forClass(ControlloPratica.class, classLoader); - queryCP.add(RestrictionsFactoryUtil.eq("intPraticaId", intPratica.getIntPraticaId())); - - List appList = - ControlloPraticaLocalServiceUtil.dynamicQuery(queryCP, QueryUtil.ALL_POS, QueryUtil.ALL_POS); - - if (appList != null && !appList.isEmpty()) { - for (ControlloPratica controlloPratica : appList) { - controlloIndexer.delete(themeDisplay.getCompanyId(),controlloPratica.getUuid()); - controlloIndexer.reindex(ControlloPratica.class.getName(),controlloPratica.getControlloPraticaId()); - } - } - } - } catch (PortalException | SystemException e) { - _log.error(e,e); - } - - - - } - - public void updateCollaudoStatico(ActionRequest actionRequest, ActionResponse actionResponse) throws SystemException { - -// ClassLoader classLoader = -// (ClassLoader) PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), "portletClassLoader"); -// -// DynamicQuery queryCP = DynamicQueryFactoryUtil.forClass(DettPratica.class, classLoader); -// queryCP.add(RestrictionsFactoryUtil.ne("oldDettPraticaId", 0L)); -// -// List lista = DettPraticaLocalServiceUtil.dynamicQuery(queryCP, QueryUtil.ALL_POS, QueryUtil.ALL_POS); -// for (DettPratica dettPratica : lista) { -// -// dettPratica.setCollaudoStatico(!dettPratica.getCollaudoStatico()); -// DettPraticaLocalServiceUtil.updateDettPratica(dettPratica); -// -// } - } - - public void testActionUrl(ActionRequest actionRequest, ActionResponse actionResponse) { - System.out.println(ParamUtil.getString(actionRequest, "pagamentoId")); - } - -} diff --git a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/tld/aui.tld b/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/tld/aui.tld deleted file mode 100644 index 1eeac884..00000000 --- a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/tld/aui.tld +++ /dev/null @@ -1,2568 +0,0 @@ - - - - aui:.]]> - 1.0 - aui - http://alloy.liferay.com/tld/aui - - - button-item - com.liferay.taglib.aui.ButtonItemTag - JSP - - ]]> - activeState - false - true - boolean - - - ]]> - boundingBox - false - true - java.lang.String - - - ]]> - classNames - false - true - java.lang.Object - - - ]]> - contentBox - false - true - java.lang.String - - - boundingBox.]]> - cssClass - false - true - java.lang.String - - - ]]> - defaultState - false - true - boolean - - - ]]> - depth - false - true - java.lang.Object - - - ]]> - destroyed - false - true - boolean - - - ]]> - disabled - false - true - boolean - - - ]]> - focused - false - true - boolean - - - {fn: // The function to execute - context: // The context to execute the function in - type: // The type of event to listen for (defaults to "click") - }]]> - handler - false - true - java.lang.Object - - - ]]> - height - false - true - java.lang.Object - - - boundingBox when - visible is set to - false.]]> - hideClass - false - true - java.lang.String - - - ]]> - hoverState - false - true - boolean - - - ]]> - icon - false - true - java.lang.String - - - aui-button-icon.]]> - iconNode - false - true - java.lang.String - - - ]]> - buttonitemId - false - true - java.lang.String - - - ]]> - index - false - true - java.lang.Object - - - ]]> - initialized - false - true - boolean - - - ]]> - label - false - true - java.lang.String - - - aui-button-label.]]> - labelNode - false - true - java.lang.String - - - ]]> - buttonitemParent - false - true - java.lang.Object - - - true the render phase will be autimatically invoked - preventing the .render() manual call.]]> - render - false - true - java.lang.Object - - - ]]> - rendered - false - true - boolean - - - ]]> - root - false - true - java.lang.Object - - - -
0
(Default) Not selected
-
1
Fully selected
-
2
Partially selected
- ]]>
- selected - false - true - java.lang.Object -
- - ]]> - srcNode - false - true - java.lang.String - - - ]]> - strings - false - true - java.lang.Object - - - ]]> - tabIndex - false - true - java.lang.Object - - - ]]> - title - false - true - java.lang.String - - - ]]> - type - false - true - java.lang.String - - - ]]> - useARIA - false - true - boolean - - - ]]> - visible - false - true - boolean - - - ]]> - width - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterActiveStateChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterBoundingBoxChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterClassNamesChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterContentBoxChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterCssClassChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterDefaultStateChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterDepthChange - false - true - java.lang.Object - - - - Lifecycle event for the destroy phase, - fired prior to destruction. Invoking the preventDefault - method on the event object provided to subscribers will - prevent destruction from proceeding. -

-

- Subscribers to the "after" moment of this event, will be notified - after destruction is complete (and as a result cannot prevent - destruction). -

]]>
- afterDestroy - false - true - java.lang.Object -
- - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterDestroyedChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterDisabledChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterFocusedChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterHandlerChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterHeightChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterHideClassChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterHoverStateChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterIconChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterIconNodeChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterIdChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterIndexChange - false - true - java.lang.Object - - - - Lifecycle event for the init phase, fired prior to initialization. - Invoking the preventDefault() method on the event object provided - to subscribers will prevent initialization from occuring. -

-

- Subscribers to the "after" momemt of this event, will be notified - after initialization of the object is complete (and therefore - cannot prevent initialization). -

]]>
- afterInit - false - true - java.lang.Object -
- - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterInitializedChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterLabelChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterLabelNodeChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterParentChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterRenderChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterRenderedChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterRootChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterSelectedChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterSrcNodeChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterStringsChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterTabIndexChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterTitleChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterTypeChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterUseARIAChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterVisibleChange - false - true - java.lang.Object - - - ]]> - afterContentUpdate - false - true - java.lang.Object - - - - Subscribers to the "on" moment of this event, will be notified - before the widget is rendered. -

-

- Subscribers to the "after" moment of this event, will be notified - after rendering is complete. -

]]>
- afterRender - false - true - java.lang.Object -
- - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterWidthChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onActiveStateChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onBoundingBoxChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onClassNamesChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onContentBoxChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onCssClassChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onDefaultStateChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onDepthChange - false - true - java.lang.Object - - - - Lifecycle event for the destroy phase, - fired prior to destruction. Invoking the preventDefault - method on the event object provided to subscribers will - prevent destruction from proceeding. -

-

- Subscribers to the "after" moment of this event, will be notified - after destruction is complete (and as a result cannot prevent - destruction). -

]]>
- onDestroy - false - true - java.lang.Object -
- - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onDestroyedChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onDisabledChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onFocusedChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onHandlerChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onHeightChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onHideClassChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onHoverStateChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onIconChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onIconNodeChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onIdChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onIndexChange - false - true - java.lang.Object - - - - Lifecycle event for the init phase, fired prior to initialization. - Invoking the preventDefault() method on the event object provided - to subscribers will prevent initialization from occuring. -

-

- Subscribers to the "after" momemt of this event, will be notified - after initialization of the object is complete (and therefore - cannot prevent initialization). -

]]>
- onInit - false - true - java.lang.Object -
- - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onInitializedChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onLabelChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onLabelNodeChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onParentChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onRenderChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onRenderedChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onRootChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onSelectedChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onSrcNodeChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onStringsChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onTabIndexChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onTitleChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onTypeChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onUseARIAChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onVisibleChange - false - true - java.lang.Object - - - ]]> - onContentUpdate - false - true - java.lang.Object - - - - Subscribers to the "on" moment of this event, will be notified - before the widget is rendered. -

-

- Subscribers to the "after" moment of this event, will be notified - after rendering is complete. -

]]>
- onRender - false - true - java.lang.Object -
- - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onWidthChange - false - true - java.lang.Object - - true -
- - - a - com.liferay.taglib.aui.ATag - JSP - - <p> tag could be used for something other than a paragraph.]]> - ariaRole - false - true - java.lang.String - - - - cssClass - false - true - java.lang.String - - - HashMap<"class-name", foo> would render as the attribute data-class-name = foo;.]]> - data - false - true - java.util.Map - - - - href - true - true - java.lang.String - - - - id - false - true - java.lang.String - - - - label - false - true - java.lang.String - - - - lang - false - true - java.lang.String - - - - onClick - false - true - java.lang.String - - - self. Possible values are blank, self, parent, top, and a unique frame's name.]]> - target - false - true - java.lang.String - - - - title - false - true - java.lang.String - - true - - - button - com.liferay.taglib.aui.ButtonTag - JSP - - primary attribute.]]> - cssClass - false - true - java.lang.String - - - HashMap<"class-name", foo> would render as the attribute data-class-name = foo;.]]> - data - false - true - java.lang.Object - - - false.]]> - disabled - false - true - boolean - - - - href - false - true - java.lang.String - - - here.]]> - icon - false - true - java.lang.String - - - left.]]> - iconAlign - false - true - java.lang.String - - - - name - false - true - java.lang.String - - - - onClick - false - true - java.lang.String - - - type attribute is set to submit, this value is set to true. For all other types, the value is set to false by default.]]> - primary - false - true - java.lang.Object - - - button, submit, cancel and reset. The default value is button.]]> - type - false - true - java.lang.String - - - href location when a user clicks the button. The default value is false.]]> - useDialog - false - true - boolean - - - value - false - true - java.lang.String - - true - - - <div> tag to wrap <aui:button> components and offer additional styling.]]> - button-row - com.liferay.taglib.aui.ButtonRowTag - JSP - - - cssClass - false - true - java.lang.String - - - - id - false - true - java.lang.String - - true - - - <aui:row> component.]]> - col - com.liferay.taglib.aui.ColTag - JSP - - - cssClass - false - true - java.lang.String - - - - id - false - true - java.lang.String - - - offset - false - true - int - - - offsetWidth - false - true - int - - - 12. For example, a span of 4 would result in a column width 4/12 (or 1/3) of the total width of the containing row.]]> - span - false - true - int - - - span attribute. The width is then converted to a span expressed as ((width/100) x 12), rounded to the nearest whole number. For example, a width of 33 would be converted to 3.96, which would be rounded up to a span value of 4.]]> - width - false - true - int - - true - - - aui:col.]]> - column - com.liferay.taglib.aui.ColumnTag - JSP - - 20 would be 20%. The default value is 0.]]> - columnWidth - false - true - int - - - - cssClass - false - true - java.lang.String - - - false.]]> - first - false - true - boolean - - - - id - false - true - java.lang.String - - - false.]]> - last - false - true - boolean - - true - - - component - com.liferay.taglib.aui.ComponentTag - JSP - - defineVar - false - true - boolean - - - excludeAttributes - false - true - java.lang.String - - - javaScriptAttributes - false - true - java.lang.String - - - module - false - true - java.lang.String - - - name - false - true - java.lang.String - - - options - false - true - java.util.Map - - - scriptPosition - false - true - java.lang.String - - - tagPageContext - true - true - javax.servlet.jsp.JspContext - - - useJavaScript - false - true - java.io.Serializable - - - var - false - true - java.lang.String - - true - - - <div> tag to wrap <aui:row> components and offer additional styling.]]> - container - com.liferay.taglib.aui.ContainerTag - JSP - - - cssClass - false - true - java.lang.String - - - true.]]> - fluid - false - true - boolean - - - - id - false - true - java.lang.String - - true - - - <div> tag to wrap form fields and offer additional styling.]]> - field-wrapper - com.liferay.taglib.aui.FieldWrapperTag - JSP - - - cssClass - false - true - java.lang.String - - - HashMap<"class-name", foo> would render as the attribute data-class-name = foo;.]]> - data - false - true - java.lang.Object - - - false.]]> - first - false - true - boolean - - - - helpMessage - false - true - java.lang.String - - - false.]]> - inlineField - false - true - boolean - - - right and left.]]> - inlineLabel - false - true - java.lang.String - - - - label - false - true - java.lang.String - - - false.]]> - last - false - true - boolean - - - - name - false - true - java.lang.String - - - - required - false - true - boolean - - - - <div> tag to group related form elements and offer additional styling.]]> - fieldset - com.liferay.taglib.aui.FieldsetTag - JSP - - - column - false - true - boolean - - - - cssClass - false - true - java.lang.String - - - - helpMessage - false - true - java.lang.String - - - - id - false - true - java.lang.String - - - - label - false - true - java.lang.String - - true - - - - form - com.liferay.taglib.aui.FormTag - JSP - - - action - false - true - java.lang.String - - - - cssClass - false - true - java.lang.String - - - true.]]> - escapeXml - false - true - boolean - - - false.]]> - inlineLabels - false - true - boolean - - - post. Possible values are get and post.]]> - method - false - true - java.lang.String - - - fm.]]> - name - false - true - java.lang.String - - - - onSubmit - false - true - java.lang.String - - - - portletNamespace - false - true - java.lang.String - - - true.]]> - useNamespace - false - true - boolean - - true - - - - icon - com.liferay.taglib.aui.IconTag - JSP - - image attribute.]]> - cssClass - false - true - java.lang.String - - - HashMap<"class-name", foo> would render as the attribute data-class-name = foo;.]]> - data - false - true - java.util.Map - - - - id - false - true - java.lang.String - - - icon-edit CSS class by setting the value edit. If an icon image is referenced for cssClass and image, both icons are shown in the component.]]> - image - false - true - java.lang.String - - - - label - false - true - java.lang.String - - - self. Possible values are blank, self, parent, top, and a unique frame's name.]]> - target - false - true - java.lang.String - - - - url - false - true - java.lang.String - - true - - - - input - com.liferay.taglib.aui.InputTag - JSP - - - autoFocus - false - true - boolean - - - - autoSize - false - true - boolean - - - - bean - false - true - java.lang.Object - - - false.]]> - changesContext - false - true - boolean - - - type is radio or checkbox.]]> - checked - false - true - boolean - - - 0.]]> - classPK - false - true - long - - - - cssClass - false - true - java.lang.String - - - HashMap<"class-name", foo> would render as the attribute data-class-name = foo;.]]> - data - false - true - java.lang.Object - - - dateTogglerCheckboxLabel - false - true - java.lang.String - - - - defaultLanguageId - false - true - java.lang.String - - - false.]]> - disabled - false - true - boolean - - - field - false - true - java.lang.String - - - field of the component.]]> - fieldParam - false - true - java.lang.String - - - - first - false - true - boolean - - - - formName - false - true - java.lang.String - - - - helpMessage - false - true - java.lang.String - - - input-group-addon.]]> - helpTextCssClass - false - true - java.lang.String - - - - id - false - true - java.lang.String - - - false.]]> - ignoreRequestValue - false - true - boolean - - - false.]]> - inlineField - false - true - boolean - - - right and left.]]> - inlineLabel - false - true - java.lang.String - - - name attribute's value.]]> - label - false - true - java.lang.String - - - languageId - false - true - java.lang.String - - - - last - false - true - boolean - - - false.]]> - localized - false - true - boolean - - - type is number or range. Note that the max value is inclusive if the input's type is range.]]> - max - false - true - java.lang.Object - - - - model - false - true - java.lang.Class - - - type is number or range. Note that the min value is inclusive if the input's type is range.]]> - min - false - true - java.lang.Object - - - multiple - false - true - boolean - - - - name - true - true - java.lang.String - - - - onChange - false - true - java.lang.String - - - - onClick - false - true - java.lang.String - - - - placeholder - false - true - java.lang.String - - - - prefix - false - true - java.lang.String - - - - required - false - true - boolean - - - textarea.]]> - resizable - false - true - boolean - - - - showRequiredLabel - false - true - boolean - - - - suffix - false - true - java.lang.String - - - - title - false - true - java.lang.String - - - text, hidden, assetCategories, assetTags, textarea, timeZone, password, checkbox, radio, submit, button, color, email, number, range, resource, url, and an empty value. If an empty value or no value is set, the input's type is obtained automatically from the input component's bean.]]> - type - false - true - java.lang.String - - - true.]]> - useNamespace - false - true - boolean - - - - value - false - true - java.lang.Object - - - div that wraps the input component.]]> - wrapperCssClass - false - true - java.lang.String - - true - - - - layout - com.liferay.taglib.aui.LayoutTag - JSP - - - cssClass - false - true - java.lang.String - - true - - - - model-context - com.liferay.taglib.aui.ModelContextTag - JSP - - - bean - false - true - java.lang.Object - - - - defaultLanguageId - false - true - java.lang.String - - - - model - false - true - java.lang.Class - - - - <nav:item> components for an <aui:nav-bar> component.]]> - nav - com.liferay.taglib.aui.NavTag - JSP - - - ariaLabel - false - true - java.lang.String - - - <p> tag could be used for something other than a paragraph.]]> - ariaRole - false - true - java.lang.String - - - collapsible - false - true - boolean - - - - cssClass - false - true - java.lang.String - - - icon - false - true - java.lang.String - - - - id - false - true - java.lang.String - - - true.]]> - useNamespace - false - true - boolean - - true - - - - nav-bar - com.liferay.taglib.aui.NavBarTag - JSP - - - cssClass - false - true - java.lang.String - - - - id - false - true - java.lang.String - - true - - - <aui:nav-bar> component.]]> - nav-bar-search - com.liferay.taglib.aui.NavBarSearchTag - JSP - - - cssClass - false - true - java.lang.String - - - - id - false - true - java.lang.String - - - file - false - true - java.lang.String - - - - searchContainer - false - true - com.liferay.portal.kernel.dao.search.SearchContainer - - true - - - <aui:nav> component.]]> - nav-item - com.liferay.taglib.aui.NavItemTag - JSP - - href attribute.]]> - anchorCssClass - false - true - java.lang.String - - - HashMap<"class-name", foo> would render as the attribute data-class-name = foo;.]]> - anchorData - false - true - java.lang.Object - - - href attribute.]]> - anchorId - false - true - java.lang.String - - - - ariaLabel - false - true - java.lang.String - - - <p> tag could be used for something other than a paragraph.]]> - ariaRole - false - true - java.lang.String - - - - cssClass - false - true - java.lang.String - - - HashMap<"class-name", foo> would render as the attribute data-class-name = foo;.]]> - data - false - true - java.lang.Object - - - false.]]> - dropdown - false - true - boolean - - - - href - false - true - java.lang.Object - - - - iconCssClass - false - true - java.lang.String - - - - id - false - true - java.lang.String - - - - label - false - true - java.lang.String - - - localizeLabel - false - true - boolean - - - false.]]> - selected - false - true - boolean - - - state - false - true - java.lang.String - - - - title - false - true - java.lang.String - - - toggle - false - true - boolean - - - href location when a user clicks the navigation item. The default value is false.]]> - useDialog - false - true - boolean - - - drop-down-menu class. The default value is true.]]> - wrapDropDownMenu - false - true - boolean - - true - - - <aui:select> component.]]> - option - com.liferay.taglib.aui.OptionTag - JSP - - - cssClass - false - true - java.lang.String - - - HashMap<"class-name", foo> would render as the attribute data-class-name = foo;.]]> - data - false - true - java.util.Map - - - false.]]> - disabled - false - true - boolean - - - - label - false - true - java.lang.Object - - - false.]]> - selected - false - true - boolean - - - text-align:right;.]]> - style - false - true - java.lang.String - - - useModelValue - false - true - boolean - - - label attribute.]]> - value - false - true - java.lang.Object - - true - - - panel - com.liferay.taglib.aui.PanelTag - JSP - - collapsed - false - true - boolean - - - collapsible - false - true - boolean - - - id - false - true - java.lang.String - - - label - false - true - java.lang.String - - - - <aui:col> components.]]> - row - com.liferay.taglib.aui.RowTag - JSP - - - cssClass - false - true - java.lang.String - - - row-fluid CSS class to the row. The default value is true. If set to false, the row CSS class is assigned.]]> - fluid - false - true - boolean - - - - id - false - true - java.lang.String - - true - - - - script - com.liferay.taglib.aui.ScriptTag - JSP - - - position - false - true - java.lang.String - - - - use - false - true - java.lang.String - - - - <aui:option> components.]]> - select - com.liferay.taglib.aui.SelectTag - JSP - - - bean - false - true - java.lang.Object - - - false.]]> - changesContext - false - true - boolean - - - - cssClass - false - true - java.lang.String - - - HashMap<"class-name", "foo"> would render as the attribute data-class-name = "foo";.]]> - data - false - true - java.util.Map - - - false.]]> - disabled - false - true - boolean - - - false.]]> - first - false - true - boolean - - - - helpMessage - false - true - java.lang.String - - - - id - false - true - java.lang.String - - - ignoreRequestValue - false - true - boolean - - - false.]]> - inlineField - false - true - boolean - - - right and left.]]> - inlineLabel - false - true - java.lang.String - - - - label - false - true - java.lang.String - - - false.]]> - last - false - true - boolean - - - ListTypeImpl.java.]]> - listType - false - true - java.lang.String - - - listTypeFieldName - false - true - java.lang.String - - - true, the select field expands to allow for multiple selections. The default value is false.]]> - multiple - false - true - boolean - - - label attribute and takes the place of the label.]]> - name - true - true - java.lang.String - - - - onChange - false - true - java.lang.String - - - - onClick - false - true - java.lang.String - - - - prefix - false - true - java.lang.String - - - false.]]> - required - false - true - boolean - - - false.]]> - showEmptyOption - false - true - boolean - - - required attribute is set to true. The default value is false.]]> - showRequiredLabel - false - true - boolean - - - - suffix - false - true - java.lang.String - - - - title - false - true - java.lang.String - - - true.]]> - useNamespace - false - true - boolean - - true - - - - spacer - com.liferay.taglib.aui.SpacerTag - JSP - - - - translation-manager - com.liferay.taglib.aui.TranslationManagerTag - JSP - - - availableLocales - false - true - java.util.Locale[] - - - - defaultLanguageId - false - true - java.lang.String - - - editingLanguageId - false - true - java.lang.String - - - - id - false - true - java.lang.String - - - true. If this is set to false, the translation manager will not work entirely.]]> - initialize - false - true - boolean - - - false.]]> - readOnly - false - true - boolean - - - - - validator - com.liferay.taglib.aui.ValidatorTagImpl - JSP - - true.]]> - customValidatorRequired - false - true - boolean - - - - errorMessage - false - true - java.lang.String - - - acceptFiles, alpha, alphanum, date, digits, email, equalTo, iri, max, maxLength, min, minLength, number, required, and url.]]> - name - true - true - java.lang.String - - - - - workflow-status - com.liferay.taglib.aui.WorkflowStatusTag - JSP - - - bean - false - true - java.lang.Object - - - - helpMessage - false - true - java.lang.String - - - - id - false - true - java.lang.String - - - - model - false - true - java.lang.Class - - - true.]]> - showIcon - false - true - boolean - - - true.]]> - showLabel - false - true - boolean - - - 0 (Approved), 1 (Pending), 2 (Draft), 3 (Expired), 4 (Denied), 5 (Inactive), 6 (Incomplete), 7 (Scheduled), and 8 (In-Trash). Any other value defaults to status (Any).]]> - status - false - true - java.lang.Integer - - - - statusMessage - false - true - java.lang.String - - - - version - false - true - java.lang.String - - -
\ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/tld/liferay-portlet-ext.tld b/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/tld/liferay-portlet-ext.tld deleted file mode 100644 index 7c046647..00000000 --- a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/tld/liferay-portlet-ext.tld +++ /dev/null @@ -1,538 +0,0 @@ - - - - - 1.0 - 1.1 - liferay-portlet - http://liferay.com/tld/portlet - - - - - actionURL - com.liferay.taglib.portlet.ActionURLTag - com.liferay.taglib.portlet.ActionURLTei - JSP - - allowEmptyParam - false - true - - - anchor - false - true - - - copyCurrentRenderParameters - false - true - - - doAsGroupId - false - true - - - doAsUserId - false - true - - - encrypt - false - true - - - escapeXml - false - true - - - name - false - true - - - plid - false - true - - - portletConfiguration - false - true - - - portletMode - false - true - - - portletName - false - true - - - refererGroupId - false - true - - - refererPlid - false - true - - - secure - false - true - - - var - false - true - - - varImpl - false - true - - - windowState - false - true - - - - icon-back - com.liferay.taglib.portletext.IconBackTag - JSP - - - icon-close - com.liferay.taglib.portletext.IconCloseTag - JSP - - - icon-configuration - com.liferay.taglib.portletext.IconConfigurationTag - JSP - - - icon-edit - com.liferay.taglib.portletext.IconEditTag - JSP - - - icon-edit-defaults - com.liferay.taglib.portletext.IconEditDefaultsTag - JSP - - - icon-edit-guest - com.liferay.taglib.portletext.IconEditGuestTag - JSP - - - icon-export-import - com.liferay.taglib.portletext.IconExportImportTag - JSP - - - icon-help - com.liferay.taglib.portletext.IconHelpTag - JSP - - - icon-maximize - com.liferay.taglib.portletext.IconMaximizeTag - JSP - - - icon-minimize - com.liferay.taglib.portletext.IconMinimizeTag - JSP - - - icon-options - com.liferay.taglib.portletext.IconOptionsTag - JSP - - - icon-portlet - com.liferay.taglib.portletext.IconPortletTag - JSP - - ariaRole - false - true - - - id - false - true - - - label - false - true - - - portlet - false - true - - - url - false - true - - - - icon-portlet-css - com.liferay.taglib.portletext.IconPortletCssTag - JSP - - - icon-print - com.liferay.taglib.portletext.IconPrintTag - JSP - - - icon-refresh - com.liferay.taglib.portletext.IconRefreshTag - JSP - - - param - com.liferay.taglib.util.ParamTag - empty - - name - true - true - - - value - true - true - - - - preview - com.liferay.taglib.portletext.PreviewTag - JSP - - portletName - true - true - - - queryString - false - true - - - showBorders - false - true - - - width - false - true - - - - - - - renderURL - com.liferay.taglib.portlet.RenderURLTag - com.liferay.taglib.portlet.RenderURLTei - JSP - - allowEmptyParam - false - true - - - anchor - false - true - - - copyCurrentRenderParameters - false - true - - - doAsGroupId - false - true - - - doAsUserId - false - true - - - encrypt - false - true - - - escapeXml - false - true - - - plid - false - true - - - portletConfiguration - false - true - - - portletMode - false - true - - - portletName - false - true - - - refererGroupId - false - true - - - refererPlid - false - true - - - secure - false - true - - - var - false - true - - - varImpl - false - true - - - windowState - false - true - - - - renderURLParams - com.liferay.taglib.portlet.RenderURLParamsTag - JSP - - varImpl - true - true - - - - - - - resourceURL - com.liferay.taglib.portlet.ResourceURLTag - com.liferay.taglib.portlet.ResourceURLTei - JSP - - anchor - false - true - - - copyCurrentRenderParameters - false - true - - - doAsGroupId - false - true - - - doAsUserId - false - true - - - encrypt - false - true - - - escapeXml - false - true - - - id - false - true - - - plid - false - true - - - portletConfiguration - false - true - - - portletMode - false - true - - - portletName - false - true - - - refererGroupId - false - true - - - refererPlid - false - true - - - secure - false - true - - - var - false - true - - - varImpl - false - true - - - windowState - false - true - - - - runtime - com.liferay.taglib.portletext.RuntimeTag - JSP - - defaultPreferences - false - true - - - portletName - true - true - - - queryString - false - true - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/tld/liferay-portlet.tld b/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/tld/liferay-portlet.tld deleted file mode 100644 index a7cd2fdf..00000000 --- a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/tld/liferay-portlet.tld +++ /dev/null @@ -1,158 +0,0 @@ - - - - - 1.0 - 1.1 - portlet - http://java.sun.com/portlet - - actionURL - com.liferay.taglib.portlet.ActionURLTag - com.liferay.taglib.portlet.ActionURLTei - JSP - - copyCurrentRenderParameters - false - true - - - escapeXml - false - true - - - name - false - true - - - portletMode - false - true - - - secure - false - true - - - var - false - true - - - windowState - false - true - - - - defineObjects - com.liferay.taglib.portlet.DefineObjectsTag - com.liferay.taglib.portlet.DefineObjectsTei - empty - - - namespace - com.liferay.taglib.portlet.NamespaceTag - empty - - - param - com.liferay.taglib.util.ParamTag - empty - - name - true - true - - - value - true - true - - - - property - com.liferay.taglib.util.PropertyTag - empty - - name - true - true - - - value - true - true - - - - renderURL - com.liferay.taglib.portlet.RenderURLTag - com.liferay.taglib.portlet.RenderURLTei - JSP - - copyCurrentRenderParameters - false - true - - - escapeXml - false - true - - - portletMode - false - true - - - secure - false - true - - - var - false - true - - - windowState - false - true - - - - resourceURL - com.liferay.taglib.portlet.ResourceURLTag - com.liferay.taglib.portlet.ResourceURLTei - JSP - - cacheability - false - true - - - escapeXml - false - true - - - id - false - true - - - secure - false - true - - - var - false - true - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/tld/liferay-security.tld b/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/tld/liferay-security.tld deleted file mode 100644 index f8e6f6dd..00000000 --- a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/tld/liferay-security.tld +++ /dev/null @@ -1,106 +0,0 @@ - - - - - 1.0 - 1.1 - liferay-security - http://liferay.com/tld/security - - doAsURL - com.liferay.taglib.security.DoAsURLTag - com.liferay.taglib.security.DoAsURLTei - JSP - - doAsUserId - false - true - - - var - false - true - - - - encrypt - com.liferay.taglib.security.EncryptTag - JSP - - className - false - true - - - protocol - true - true - - - style - false - true - - - target - false - true - - - unencryptedParams - false - true - - - url - true - true - - - - permissionsURL - com.liferay.taglib.security.PermissionsURLTag - com.liferay.taglib.security.PermissionsURLTei - JSP - - modelResource - true - true - - - modelResourceDescription - true - true - - - redirect - false - true - - - resourceGroupId - false - true - - - resourcePrimKey - true - true - - - roleTypes - false - true - - - var - false - true - - - windowState - false - true - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/tld/liferay-theme.tld b/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/tld/liferay-theme.tld deleted file mode 100644 index 90ac81db..00000000 --- a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/tld/liferay-theme.tld +++ /dev/null @@ -1,65 +0,0 @@ - - - - - 1.0 - 1.1 - theme - http://liferay.com/tld/theme - - defineObjects - com.liferay.taglib.theme.DefineObjectsTag - com.liferay.taglib.theme.DefineObjectsTei - empty - - - include - com.liferay.taglib.theme.IncludeTag - JSP - - page - true - true - - - - layout-icon - com.liferay.taglib.theme.LayoutIconTag - JSP - - layout - true - true - - - - meta-tags - com.liferay.taglib.theme.MetaTagsTag - JSP - - - param - com.liferay.taglib.util.ParamTag - JSP - - name - true - true - - - value - true - true - - - - wrap-portlet - com.liferay.taglib.theme.WrapPortletTag - JSP - - page - true - true - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/tld/liferay-ui.tld b/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/tld/liferay-ui.tld deleted file mode 100644 index a9a746a8..00000000 --- a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/tld/liferay-ui.tld +++ /dev/null @@ -1,4691 +0,0 @@ - - - - Provides the Liferay UI component tags, prefixed with liferay-ui:]]>. - 1.0 - liferay-ui - http://liferay.com/tld/ui - - app-view-display-style - com.liferay.taglib.ui.AppViewDisplayStyleTag - empty - - displayStyle - true - true - - - displayStyles - true - true - - - requestParams - true - true - - - - Creates a component for displaying entry items such as images, documents, folders, etc. in a concise but informative manner. Items are displayed in a similar fashion to entries in the file system of most operating systems. - app-view-entry - com.liferay.taglib.ui.AppViewEntryTag - empty - - The path to an action JSP page. - actionJsp - false - true - - - The Java class name for any categories added to the entry. - assetCategoryClassName - false - true - - - The Java class primary key for any categories added to the entry. This is a Java long]]>. - assetCategoryClassPK - false - true - - - The Java class name for any tags added to the entry. - assetTagClassName - false - true - - - The Java class primary key for any tags added to the entry. This is a Java long]]>. - assetTagClassPK - false - true - - - The name of the entry's author. - author - false - true - - - The date the entry was created. - createDate - false - true - - - A CSS class for styling this component. - cssClass - false - true - - - Miscellaneous data to be stored via a map. This data is not shared with the browser. The map holds key value pairs of type <String, Object>]]>. - data - false - true - java.util.Map - - - A description of the entry. - description - false - true - - - A date to display the entry. - displayDate - false - true - - - A display style for the component. Options are list]]>, icon]]>, and descriptive]]>. - displayStyle - true - true - - - A date for the entry to expire and be automatically deleted. - expirationDate - false - true - - - Whether the entry is a folder. The default is false]]>. - folder - false - true - boolean - - - The group ID of the entry. This is a Java long]]>. - groupId - false - true - - - The version number of the most recently published copy of the entry. - latestApprovedVersion - false - true - - - The author of the most recently published version of the entry. - latestApprovedVersionAuthor - false - true - - - Whether the entry is locked. The default value is false]]>. - locked - false - true - boolean - - - The date of the most recent modification to the entry. - modifiedDate - false - true - - - The date the entry was reviewed. - reviewDate - false - true - - - A checkbox input ID to be used for the entry row checker. - rowCheckerId - false - true - - - A name for the entry row checker. - rowCheckerName - false - true - - - Whether to show a shortcut icon link to the entry. The default value is false]]>. - shortcut - false - true - boolean - - - Whether the entry is selectable. An actual checkbox is used when the display style is icon]]> or descriptive]]>. The default value is false]]>. - showCheckbox - true - true - boolean - - - Whether to show the link title. The default value is true]]>. - showLinkTitle - false - true - boolean - - - The current status of the entry, as represented by an integer. Options are -1: STATUS_ANY]]>, 0: STATUS_APPROVED]]>, 1: ACTION_PUBLISH]]>, 2: STATUS_DRAFT]]>, and 4: STATUS_DENIED]]>. The default value is -1]]>. - status - false - true - int - - - A CSS style to be applied to the div containing the thumbnail for the entry. - thumbnailDivStyle - false - true - - - The source URL for an entry thumbnail image. - thumbnailSrc - true - true - - - A CSS style to be applied to the thumbnail for the entry. - thumbnailStyle - false - true - - - A title for the entry. - title - true - true - - - The current version of the entry. - version - false - true - - - A URL to view the full entry. - url - false - true - - - - Creates a navigation list item component for navigating app view entries. - app-view-navigation-entry - com.liferay.taglib.ui.AppViewNavigationEntryTag - empty - - The path for an action JSP page. - actionJsp - false - true - - - A CSS class for styling this component. - cssClass - false - true - - - Data to be applied to the component link and stored via a map. This data is not shared with the browser. The map holds key value pairs of type <String, Object>]]>. - dataView - false - true - java.util.Map - - - A title for the component. - entryTitle - true - true - - - A CSS class for setting the icon of the component. - iconImage - false - true - - - iconSrc - false - true - - - Whether the entry is selected. - selected - false - true - boolean - - - A URL to view the entry. - viewURL - true - true - - - - Creates a toolbar for viewing items in app view. - app-view-toolbar - com.liferay.taglib.ui.AppViewToolbarTag - JSP - - Whether to include the option to choose a display style for component items. If the value is true]]>, a list of display style options is rendered. The default value is false]]>. - includeDisplayStyle - false - true - boolean - - - Whether to include an option to select all component items. The default value is false]]>. - includeSelectAll - false - true - boolean - - - The file path for a search JSP page. - searchJsp - false - true - - - - Creates a component for displaying search results of entries in app view. - app-view-search-entry - com.liferay.taglib.ui.AppViewSearchEntryTag - empty - - The file path for an action JSP page. - actionJsp - false - true - - - containerIcon - false - true - - - The name of the container that the entry is in, such as the name of a folder. - containerName - false - true - - - containerSrc - false - true - - - The type of container the entry is in, such as Folder]]>. - containerType - false - true - - - A CSS class for styling this component. - cssClass - false - true - - - A description of the entry. - description - true - true - - - A list of objects containing information such as content, user ID, and titles of the entry file attachments. - fileEntryTuples - false - true - - - Whether the entry is locked. The default value is false]]>. - locked - false - true - boolean - - - A list of objects containing information such as content, author, and status of entry messages. An example would be a comment made by one user on another user's blog post. - mbMessages - false - true - - - Query terms of the search. - queryTerms - true - true - - - A checkbox input ID to be used for the entry row checker. This is a Java long]]>. - rowCheckerId - false - true - - - A name to be used for the entry row checker. - rowCheckerName - false - true - - - Whether the entry is selectable via a checkbox. The default value is true]]>. - showCheckbox - false - true - boolean - - - The current status of the entry as represented by an integer. Options are -1: STATUS_ANY]]>, 0: STATUS_APPROVED]]>, 1: ACTION_PUBLISH]]>, 2: STATUS_DRAFT]]>, and 4: STATUS_DENIED]]>. - status - false - true - - - The URL for an entry thumbnail image. - thumbnailSrc - false - true - - - A title for the entry. - title - true - true - - - A URL used to view the full entry. - url - true - true - - - The current and past versions of the entry. - versions - false - true - - - - asset-categories-error - com.liferay.taglib.ui.AssetCategoriesErrorTag - JSP - - - asset-categories-navigation - com.liferay.taglib.ui.AssetCategoriesNavigationTag - JSP - - hidePortletWhenEmpty - false - true - - - vocabularyIds - false - true - - - - asset-categories-selector - com.liferay.taglib.ui.AssetCategoriesSelectorTag - JSP - - className - false - true - - - classPK - false - true - - - contentCallback - false - true - - - curCategoryIds - false - true - - - groupIds - false - true - - - hiddenInput - false - true - - - ignoreRequestValue - false - true - - - - asset-categories-summary - com.liferay.taglib.ui.AssetCategoriesSummaryTag - JSP - - className - true - true - - - classPK - true - true - - - message - false - true - - - portletURL - false - true - - - - asset-links - com.liferay.taglib.ui.AssetLinksTag - JSP - - assetEntryId - false - true - - - className - false - true - - - classPK - false - true - - - - Creates a liferay-ui:error]]> component to display tag-related error messages. - asset-tags-error - com.liferay.taglib.ui.AssetTagsErrorTag - JSP - - - asset-tags-navigation - com.liferay.taglib.ui.AssetTagsNavigationTag - JSP - - classNameId - false - true - - - displayStyle - false - true - - - hidePortletWhenEmpty - false - true - - - maxAssetTags - false - true - - - showAssetCount - false - true - - - showZeroAssetCount - false - true - - - - Creates a Liferay.AssetTagsSelector]]> component to create and select tags to add to an asset, such as a blog entry, bookmark, or wiki page. - asset-tags-selector - com.liferay.taglib.ui.AssetTagsSelectorTag - JSP - - Whether to automatically focus the tag input field. The default value is false]]>. - autoFocus - false - true - boolean - - - The Java class of the asset. - className - false - true - - - The Java class primary key of an asset to associate with the tags. This is a Java long]]>. - classPK - false - true - - - A function to get tag suggestions based on the asset's content. - contentCallback - false - true - - - The current selected tags. - curTags - false - true - - - The group IDs of the asset tags. - groupIds - false - true - - - The name of the hidden input for passing in the asset's current tags. - hiddenInput - false - true - - - An ID for the component instance. - id - false - true - - - ignoreRequestValue - false - true - - - - Creates a component to display all the tags associated with an asset, such as a blog entry, wiki page, or message boards message. - asset-tags-summary - com.liferay.taglib.ui.AssetTagsSummaryTag - JSP - - An array of the asset tag names. - assetTagNames - false - true - - - The Java class of the asset. - className - true - true - - - The Java class primary key of an asset. This is a Java long]]>. - classPK - true - true - - - A message to display before the tag labels. A standard example is tags]]>, which renders as Tags:]]>. - message - false - true - - - The URL of a portlet to display the tags. - portletURL - false - true - - - - breadcrumb - com.liferay.taglib.ui.BreadcrumbTag - JSP - - displayStyle - false - true - - - portletURL - false - true - - - selLayout - false - true - - - selLayoutParam - false - true - - - showCurrentGroup - false - true - - - showCurrentPortlet - false - true - - - showGuestGroup - false - true - - - showLayout - false - true - - - showParentGroups - false - true - - - showPortletBreadcrumb - false - true - - - - Creates a calendar with configurable events. - calendar - com.liferay.taglib.ui.CalendarTag - JSP - - A given set of integers, corresponding to a day of the chosen month, and to mark with a dot. - data - false - true - java.util.Set - - - A day of the month to highlight in the calendar. - day - false - true - int - - - A format for the header. - headerFormat - false - true - java.text.Format - - - A pattern for the calendar header. A possible value is MMM/dd/yyyy]]>. - headerPattern - false - true - - - A month of the year to display at the top of the calendar. - month - true - true - int - - - Whether to display up to six calendar weeks relative to the set day. If the set day of the month is in the latter part of the month, the current month's weeks will be displayed and up to two weeks of the next month will be displayed. The default value is false]]>. - showAllPotentialWeeks - false - true - boolean - - - A year to display at the top of the calendar. - year - true - true - int - - - - Creates an image CAPTCHA with a corresponding verification input. - captcha - com.liferay.taglib.ui.CaptchaTag - JSP - - The source URL for the image CAPTCHA. - url - true - true - - - - categorization-filter - com.liferay.taglib.ui.CategorizationFilterTag - JSP - - assetType - false - true - - - portletURL - false - true - - - - custom-attribute - com.liferay.taglib.ui.CustomAttributeTag - JSP - - className - true - true - - - classPK - true - true - - - editable - false - true - - - label - false - true - - - name - true - true - - - - custom-attribute-list - com.liferay.taglib.ui.CustomAttributeListTag - JSP - - className - true - true - - - classPK - true - true - - - editable - false - true - - - ignoreAttributeNames - false - true - - - label - false - true - - - - custom-attributes-available - com.liferay.taglib.ui.CustomAttributesAvailableTag - JSP - - className - true - true - - - classPK - false - true - - - companyId - false - true - - - ignoreAttributeNames - false - true - - - editable - false - true - - - - ddm-template-selector - com.liferay.taglib.ui.DDMTemplateSelectorTag - JSP - - classNameId - true - true - - - displayStyle - true - true - - - displayStyleGroupId - true - true - - - displayStyles - false - true - - - icon - false - true - - - label - false - true - - - refreshURL - false - true - - - showEmptyOption - false - true - - - - diff - com.liferay.taglib.ui.DiffTag - JSP - - diffResults - true - true - - - sourceName - true - true - - - targetName - true - true - - - - diff-html - com.liferay.taglib.ui.DiffHtmlTag - JSP - - diffHtmlResults - true - true - - - - discussion - com.liferay.taglib.ui.DiscussionTag - JSP - - assetEntryVisible - false - true - - - className - true - true - - - classPK - true - true - - - formAction - true - true - - - formName - false - true - - - hideControls - false - true - - - permissionClassName - false - true - - - permissionClassPK - false - true - - - ratingsEnabled - false - true - - - redirect - false - true - - - Deprecated as of 6.2.0, with no direct replacement - subject - false - true - - - userId - true - true - - - - Creates an error message to display to the user. - error - com.liferay.taglib.ui.ErrorTag - com.liferay.taglib.ui.ErrorTei - JSP - - A class for the exception. - exception - false - true - - - The name of a field on which to focus the error message. - focusField - false - true - - - A key to place in the SessionErrors]]> object to trigger the error message. - key - false - true - - - Explicit message text or a language key name from which to derive text for the message. - message - false - true - - - rowBreak - false - true - - - Whether to translate the message into the user's language. The default value is true]]>. - translateMessage - false - true - boolean - - - - error-marker - com.liferay.taglib.ui.ErrorMarkerTag - JSP - - key - false - true - - - value - false - true - - - - Creates a flag icon that lets users report inappropriate content. - flags - com.liferay.taglib.ui.FlagsTag - JSP - - The flagged asset's Java class name. - className - true - true - - - The flagged asset's entry ID. - classPK - true - true - - - The flagged asset's title. - contentTitle - true - true - - - Whether to show message text as a label next to the flag icon or as a tooltip. The default value is true]]>. - label - false - true - boolean - - - Text to display next to the flag icon. The default text is Flag]]>. - message - false - true - - - The user ID of the user who flagged the asset. - reportedUserId - true - true - - - - flash - com.liferay.taglib.ui.FlashTag - JSP - - align - false - true - - - allowFullScreen - false - true - - - allowScriptAccess - false - true - - - base - false - true - - - bgcolor - false - true - - - devicefont - false - true - - - flashvars - false - true - - - height - false - true - - - id - false - true - - - loop - false - true - - - menu - false - true - - - movie - true - true - - - play - false - true - - - quality - false - true - - - salign - false - true - - - scale - false - true - - - swliveconnect - false - true - - - version - false - true - - - width - false - true - - - wmode - false - true - - - - Creates a navigable form for multiple section forms. It's default navigation is a side navigation box with links to each section. But the navigation can be configured as a progressive step navigation positioned above the form or as vertically stacked accordion style sections that expand when clicked. - form-navigator - com.liferay.taglib.ui.FormNavigatorTag - JSP - - A URL for the form's cancel button. - backURL - false - true - - - The name of each category in the form. - categoryNames - true - true - - - The name of each section within a category. - categorySections - true - true - - - A type of navigation to be used. Options are steps]]> and panel]]>. The default display style is side navigation. - displayStyle - false - true - - - A name for the form. - formName - false - true - - - HTML to append to the navigator. Examples include alternate form buttons, form instructions, or information about the form. - htmlBottom - false - true - - - HTML to prepend to the navigator. - htmlTop - false - true - - - A path to the formSection.jsp]]> file's folder /path/to/jsp/folder/]]>. - jspPath - false - true - - - Whether to show the Submit]]> and Cancel]]> buttons. The default value is true]]>. - showButtons - false - true - boolean - - - - group-search - com.liferay.taglib.ui.GroupSearchTag - JSP - - groupParams - true - true - - - portletURL - true - true - - - rowChecker - false - true - - - - Creates a header that displays its text above a horizontal rule accompanied by a configurable back URL button. - header - com.liferay.taglib.ui.HeaderTag - JSP - - Text to display on mouse over of the back URL. The default value is Back]]>. - backLabel - false - true - - - A URL for navigating back to. - backURL - false - true - - - A CSS class for styling the header component. - cssClass - false - true - - - Whether to escape the header's XML tags. The default value is true]]>. - escapeXml - false - true - boolean - - - Whether to translate the header's title]]> into the localized language. The default value is true]]>. - localizeTitle - false - true - boolean - - - Whether to display the back URL. The default value is true]]>. - showBackURL - false - true - boolean - - - A title to display as the header text. - title - true - true - - - - Creates a fully configurable icon that provides access to current Liferay theme icons. - icon - com.liferay.taglib.ui.IconTag - JSP - - A value for the alt]]> attribute of the embedded img]]> tag. - alt - false - true - - - A role for assistive technologies to interpret for HTML elements that have been used for something other than their intended purpose. For example, the <p>]]> tag could be used for something other than a paragraph. - ariaRole - false - true - - - A CSS class for styling the component. - cssClass - false - true - - - Miscellaneous data to be stored via a map. This data is not shared with the browser. The map holds key value pairs of type <String, Object>]]>. - data - false - true - java.util.Map - - - An icon from a Bootstrap icon CSS Class. Note that any image for the image]]> attribute takes precedence. Icon CSS classes to specify for this attribute can be found at http://marcoceppi.github.io/bootstrap-glyphicons/]]>. - iconCssClass - false - true - - - An ID for the component instance. - id - false - true - - - An image for the icon, from the current theme. The value can be the filename prefix of any image file in the theme's common]]> image folder. This image takes precedence over any icon value set via the iconCssClass]]> attribute. - image - false - true - - - An icon to display on mouse over of the component. The icon image comes from the current theme. The value can be the filename prefix of any image file in the theme's common]]> image folder. - imageHover - false - true - - - Whether to display the message]]> attribute's value as the icon's label. - label - false - true - boolean - - - A language to associate with the icon, to assist search engines and web browsers in finding and rendering the icon appropriately. - lang - false - true - - - A CSS class for styling the icon's URL. - linkCssClass - false - true - - - Whether to translate the icon's message]]> into the user's language. - localizeMessage - false - true - boolean - - - Text to be displayed for the icon on mouse over. - message - false - true - - - An HTTP request method. Possible values are get]]> and post]]>. - method - false - true - - - A function to be called on a user clicking the icon. - onClick - false - true - - - The location of an image file to use in the icon. - src - false - true - - - The location of an image file to use on mouse over of the icon. This value takes precedence over the imageHover]]> attribute. This image takes precedence over icons set with the imageHover]]> attribute. - srcHover - false - true - - - A target window in which to open the URL. The default value is self]]>. Possible values are blank]]>, self]]>, parent]]>, top]]>, and a unique frame's name. - target - false - true - - - Whether to use a tooltip. The default value is true]]>. - toolTip - false - true - boolean - - - A URL to navigate to when the icon is clicked. - url - false - true - - - Whether to open the URL in a dialog window. The default value is false]]>. - useDialog - false - true - boolean - - - - Creates an icon to associate with deactivating an item. - icon-deactivate - com.liferay.taglib.ui.IconDeactivateTag - JSP - - Whether to display a message on the icon's label on mouse over of the icon. The default value is false]]>. - label - false - true - boolean - - - A URL navigated to when the icon is clicked. - url - true - true - - - - Creates a configurable icon to associate with deleting or removing an item. - icon-delete - com.liferay.taglib.ui.IconDeleteTag - JSP - - Text to use in place of the text from the default deletion confirmation message language key are-you-sure-you-want-to-delete-this]]>. If the trash]]> attribute is set to true]]>, no confirmation message is shown. - confirmation - false - true - - - A CSS class for styling the component. - cssClass - false - true - - - An ID for the component instance. - id - false - true - - - An image for the icon, from the current theme. The value can be the filename prefix of any image file in the theme's common]]> image folder. The image takes precedence over any default icon images. - image - false - true - - - Whether to display the message]]> attribute's value as the icon's label. The default value is false]]>. - label - false - true - boolean - - - Text to display on mouse over of the icon. - message - false - true - - - An HTTP request method to invoke. Possible values are get]]> and post]]>. - method - false - true - - - Whether to use the trash icon instead of the remove icon. The default value isfalse]]>. - trash - false - true - boolean - - - A URL navigated to when the icon is clicked. - url - true - true - - - - Creates a help icon that displays a custom message as a tooltip on mouse over of the help icon. - icon-help - com.liferay.taglib.ui.IconHelpTag - JSP - - Text to be displayed on mouse over of the icon. - message - true - true - - - - Creates a list of icons from a list of child components. - icon-list - com.liferay.taglib.ui.IconListTag - JSP - - Whether to render the icon list when there is only one child component. The default value is false]]>. - showWhenSingleIcon - false - true - boolean - - - - Creates an icon menu from a list of child components. - icon-menu - com.liferay.taglib.ui.IconMenuTag - JSP - - A CSS class for styling the component. - cssClass - false - true - - - A position from which to pop up the icon menu dialog in relation to the trigger. The default direction is left]]>. Possible values are up]]>, down]]>, left]]> or right]]>. - direction - false - true - - - Whether to disable the icon menu. - disabled - false - true - boolean - - - Whether to extend the icon menu trigger by wrapping it in a button. The default value is true]]>. - extended - false - true - boolean - - - The location of an image file to use in the icon. - icon - false - true - - - An ID for the component instance. - id - false - true - - - Whether to translate the message to the user's language. The default value is true]]>. - localizeMessage - false - true - boolean - - - The number of items to show in the icon menu before scrolling. The default value is 15. - maxDisplayItems - false - true - int - - - Text to display next to the icon menu trigger. The default value is actions]]>. - message - false - true - - - Whether to add the select]]> CSS class to the icon menu. If set to true]]>, the selected icon is added to the icon menu's trigger when the icon is selected. The default value is false]]>. - select - false - true - boolean - - - Whether to extend the icon menu by default. The default value is false]]>. - showExpanded - false - true - boolean - - - Whether to show an arrow, indicating a popup dialog, next to the icon menu's trigger icon. The default value is true]]>. - showArrow - false - true - boolean - - - Whether to show the icon menu when there is only one icon. The default value is false]]>. - showWhenSingleIcon - false - true - boolean - - - A CSS class for styling the trigger for the icon menu. The default value is btn btn-default]]>. - triggerCssClass - false - true - - - Whether the icon menu drop-down caret points to the direction set by the direction]]> attribute. - useIconCaret - false - true - boolean - - - - input-asset-links - com.liferay.taglib.ui.InputAssetLinksTag - JSP - - assetEntryId - false - true - - - className - false - true - - - classPK - false - true - - - - Creates a configurable input checkbox. - input-checkbox - com.liferay.taglib.ui.InputCheckBoxTag - JSP - - A CSS class for styling the component. - cssClass - false - true - - - Whether the checkbox is selected by default. - defaultValue - false - true - boolean - - - Whether the checkbox is disabled. - disabled - false - true - boolean - - - A name for the checkbox's form. - formName - false - true - - - An ID for the component instance. - id - false - true - - - A function to be called on a user clicking the checkbox. - onClick - false - true - - - A variable name for the component. - param - true - true - - - - Creates a date input field that displays a calendar for date selection. - input-date - com.liferay.taglib.ui.InputDateTag - JSP - - Whether the date field gets focus by default. The default value is false]]>. - autoFocus - false - true - boolean - - - A CSS class for styling the component. - cssClass - false - true - - - A variable name to refer to the day of the component. - dayParam - false - true - - - A day value to display in the input field. - dayValue - false - true - int - - - Whether to disable the namespace for the component. The default value is false]]>. - disableNamespace - false - true - boolean - - - Whether to disable the input field. The default value is false]]>. - disabled - false - true - boolean - - - A day to set as the first day of the week. The default value is Calendar.SUNDAY - 2]]>. - firstDayOfWeek - false - true - int - - - A name for the date input's form. - formName - false - true - - - A variable name to refer to the combined month and year of the component. - monthAndYearParam - false - true - - - A variable name to refer to the month of the component. - monthParam - false - true - - - The numerical value for a month to display in the input field. Integer values for the month start with 0]]>. - monthValue - false - true - int - - - A name for the date input. - name - false - true - - - Whether the component's values can be set to null. - nullable - false - true - - - A variable name to refer to the year of the component. - yearParam - false - true - - - A year value to display in the input field. - yearValue - false - true - int - - - - Creates an input field for editing rich text. - input-editor - com.liferay.taglib.ui.InputEditorTag - JSP - - A map of configuration parameters. The map holds key value pairs of type <String, String>]]>. - configParams - false - true - java.util.Map - - - The ID of a language for the input editor's text. - contentsLanguageId - false - true - - - A CSS class for styling the component. - cssClass - false - true - - - editorImpl - false - true - - - inlineEdit - false - true - - - inlineEditSaveURL - false - true - - - A map of configuration parameters. The map holds key value pairs of <String, String>]]>. - fileBrowserParams - false - true - java.util.Map - - - height - false - true - - - initMethod - false - true - - - A name for the input editor. The default value is editor]]>. - name - false - true - - - A function to be called when the input editor loses focus. - onBlurMethod - false - true - - - A function to be called on a change in the input editor. - onChangeMethod - false - true - - - A function to be called when the input editor gets focus. - onFocusMethod - false - true - - - Whether the field for the input editor is resizable. The default value is true]]>. - resizable - false - true - boolean - - - Whether to skip loading resources necessary for the CKEditor. The default value is false]]>. - skipEditorLoading - false - true - boolean - - - A toolbar for the input editor. The default value is liferay]]>. Possible values are bbcode]]>, creole]]>, editInPlace]]>, email]]>, liferay]]>, liferayArticle]]>, phone]]>, simple]]>, and tablet]]>. - toolbarSet - false - true - - - width - false - true - - - - input-field - com.liferay.taglib.ui.InputFieldTag - JSP - - autoFocus - false - true - - - autoSize - false - true - - - bean - false - true - - - cssClass - false - true - - - dateTogglerCheckboxLabel - false - true - - - defaultLanguageId - false - true - - - defaultValue - false - true - - - disabled - false - true - - - field - true - true - - - fieldParam - false - true - - - formName - false - true - - - format - false - true - - - id - false - true - - - ignoreRequestValue - false - true - - - languageId - false - true - - - model - true - true - - - placeholder - false - true - - - - input-localized - com.liferay.taglib.ui.InputLocalizedTag - JSP - - autoFocus - false - true - - - autoSize - false - true - - - availableLocales - false - true - - - cssClass - false - true - - - defaultLanguageId - false - true - - - disabled - false - true - - - displayWidth - false - true - - - formName - false - true - - - id - false - true - - - ignoreRequestValue - false - true - - - languageId - false - true - - - maxLength - false - true - - - name - true - true - - - type - false - true - - - xml - true - true - - true - - - Creates an input move boxes component comprised of two columns of key value pairs that can be rearranged. - input-move-boxes - com.liferay.taglib.ui.InputMoveBoxesTag - JSP - - A CSS class for styling the component. - cssClass - false - true - - - A name for the left box. - leftBoxName - true - true - - - A list of key value pairs for the left box. - leftList - true - true - java.util.List - - - A function to be called on a change in selection in the left list. - leftOnChange - false - true - - - Whether the left list can be reordered. The default value is false]]>. - leftReorder - false - true - boolean - - - A title to display at the top of the right box. - leftTitle - true - true - - - A name for the right box. - rightBoxName - true - true - - - A list of key value pairs for the right box. - rightList - true - true - java.util.List - - - A function to be called on a change in selection in the right list. - rightOnChange - false - true - - - Whether the right list can be reordered. The default value is false]]>. - rightReorder - false - true - boolean - - - A title to display at the top of the right box. - rightTitle - true - true - - - - input-permissions - com.liferay.taglib.ui.InputPermissionsTag - JSP - - formName - false - true - - - modelName - false - true - - - - input-permissions-params - com.liferay.taglib.ui.InputPermissionsParamsTag - JSP - - modelName - true - true - - - - input-repeat - com.liferay.taglib.ui.InputRepeatTag - JSP - - cssClass - false - true - - - event - false - true - - - - input-resource - com.liferay.taglib.ui.InputResourceTag - JSP - - cssClass - false - true - - - id - false - true - - - title - false - true - - - url - true - true - - - - input-scheduler - com.liferay.taglib.ui.InputSchedulerTag - JSP - - - Creates a configurable search box. - input-search - com.liferay.taglib.ui.InputSearchTag - JSP - - Whether the search field gets focus by default. The default value is false]]>. - autoFocus - false - true - boolean - - - A text value for the search button's label. The default value is Search]]>. - buttonLabel - false - true - - - A CSS class for styling the component. - cssClass - false - true - - - An ID for the component instance. The default value is displayTerms.KEYWORDS]]>. - id - false - true - - - A name for the search box. The default value is displayTerms.KEYWORDS]]>. - name - false - true - - - Placeholder text for the search field. The default value is the value of the buttonLabel]]> attribute. - placeholder - false - true - - - Whether to show the search button. The default value is true]]>. - showButton - false - true - boolean - - - A title for the search box. - title - false - true - - - Whether to use a namespace with the search button. The default value is true]]>. - useNamespace - false - true - boolean - - - - Creates a select input component with yes or no options. - input-select - com.liferay.taglib.ui.InputSelectTag - JSP - - A CSS class for styling the component. - cssClass - false - true - - - Whether to select yes]]> as the input's default value. - defaultValue - false - true - boolean - - - Whether to disable input. - disabled - false - true - boolean - - - A name for the input select's form. - formName - false - true - - - A variable name for the component. - param - true - true - - - - Creates a configurable text area input field. - input-textarea - com.liferay.taglib.ui.InputTextAreaTag - JSP - - A CSS class for styling the component. - cssClass - false - true - - - Text to display in the text area. - defaultValue - false - true - - - Whether to disable input. The default value is false]]>. - disabled - false - true - boolean - - - A variable name for the component. - param - true - true - - - - Creates a time input field that provides a scrollable dropdown list of hours, in intervals designated by the minuteInterval]]> attribute. - input-time - com.liferay.taglib.ui.InputTimeTag - JSP - - The name of the AM/PM parameter for the time input. An acceptable value is ampm]]>. - amPmParam - true - true - - - A time to AM or PM. Acceptable values are 0]]> for AM and 1]]> for PM. The default value is 0]]>. - amPmValue - false - true - int - - - A CSS class for styling the time input. - cssClass - false - true - - - A date parameter for the time input. An acceptable value is date]]>. - dateParam - false - true - - - A date to associate with the time displayed. - dateValue - false - true - java.util.Date - - - Whether the input field is disabled. - disabled - false - true - boolean - - - The name of the hour parameter for the component. An acceptable value is hour]]>. - hourParam - true - true - - - An hour value for the time displayed. The default value is 12]]>. - hourValue - false - true - int - - - A minute interval displayed in the input. The default value is 30]]>. - minuteInterval - false - true - int - - - The name of the minute parameter for the component. An acceptable value is minute]]>. - minuteParam - true - true - - - A minute value for the time displayed. The default value is 00]]>. - minuteValue - false - true - int - - - A name for the time input. - name - false - true - - - - Creates a configurable timezone drop-down menu. - input-time-zone - com.liferay.taglib.ui.InputTimeZoneTag - JSP - - Whether the field gets focus by default. - autoFocus - false - true - boolean - - - A CSS class for styling the component. - cssClass - false - true - - - Whether to consider daylight savings for the times. The default value is true]]>. - daylight - false - true - boolean - - - Whether the field is disabled. - disabled - false - true - boolean - - - A style number corresponding to the time zone. A value of 0]]> displays the time zone's abbreviated name and a value of 1]]> displays its full name, e.g. "Pacific Standard Time." The default value is 0]]>. - displayStyle - false - true - int - - - A name for the component. - name - true - true - - - Whether the times can be null. - nullable - false - true - boolean - - - The ID of a time zone to associate with the component. For example, setting the value to PST]]> associates the component with the Pacific Standard Time zone. - value - false - true - - - - journal-article - com.liferay.taglib.ui.JournalArticleTag - JSP - - articleId - false - true - - - articlePage - false - true - - - articleResourcePrimKey - false - true - - - groupId - false - true - - - languageId - false - true - - - showAvailableLocales - false - true - - - showTitle - false - true - - - templateId - false - true - - - xmlRequest - false - true - - - - journal-content-search - com.liferay.taglib.ui.JournalContentSearchTag - JSP - - showListed - false - true - - - targetPortletId - false - true - - - type - false - true - - - - language - com.liferay.taglib.ui.LanguageTag - JSP - - displayCurrentLocale - false - true - - - displayStyle - false - true - - - formAction - false - true - - - formName - false - true - - - languageId - false - true - - - languageIds - false - true - - - name - false - true - - - - logo-selector - com.liferay.taglib.ui.LogoSelectorTag - JSP - - currentLogoURL - false - true - - - defaultLogoURL - false - true - - - editLogoURL - false - true - - - imageId - false - true - - - logoDisplaySelector - false - true - - - showBackground - false - true - - - - membership-policy-error - com.liferay.taglib.ui.MembershipPolicyErrorTag - JSP - - - Creates a message to display to the user. - message - com.liferay.taglib.ui.MessageTag - JSP - - Arguments for the language key, if the language key is configured to recieve arguments. - arguments - false - true - - - The name of a language key from which to derive the message to be displayed. - key - true - true - - - Whether to translate the language key value into the user's language. The default value is true]]>. - localizeKey - false - true - boolean - - - Whether to translate the arguments into the user's language. The default value is true]]>. - translateArguments - false - true - boolean - - - unicode - false - true - boolean - - - - my-sites - com.liferay.taglib.ui.MySitesTag - JSP - - classNames - false - true - - - cssClass - false - true - - - includeControlPanel - false - true - - - max - false - true - - - - navigation - com.liferay.taglib.ui.NavigationTag - JSP - - bulletStyle - false - true - - - displayStyle - false - true - - - headerType - false - true - - - includedLayouts - false - true - - - nestedChildren - false - true - - - preview - false - true - - - rootLayoutLevel - false - true - - - rootLayoutType - false - true - - - - Creates a page iterator for paginating through lists of items. - page-iterator - com.liferay.taglib.ui.PageIteratorTag - JSP - - Which page of items to display (e.g., first, second, third, etc.). - cur - true - true - int - - - A variable name to refer to the cur]]> value of the component. - curParam - true - true - - - The number of items to display per page. - delta - false - true - int - - - Whether the user can choose the number of items displayed per page. The default value is false]]>. - deltaConfigurable - false - true - boolean - - - A variable name to refer to the delta value of the component. - deltaParam - false - true - - - A name for the form. - formName - false - true - - - An ID for the component instance. - id - false - true - - - JavaScript to be called when the first]]>, previous]]>, next]]>, or last]]> links are clicked if the URL property is not set. - jsCall - false - true - - - A maximum number of pages to iterate through. - maxPages - false - true - int - - - A target for the first]]>, previous]]>, next]]>, and last]]> link buttons. - target - false - true - - - The total number of items in the iterator. - total - true - true - int - - - A type of iterator to display. Options are approximate]]>, article]]>, more]]>, and regular]]>. - type - false - true - - - A base URL for the iterator. Parameters are added to and removed from this URL as the user navigates through pages. - url - false - true - - - - Creates a collapsible panel for housing content. - panel - com.liferay.taglib.ui.PanelTag - JSP - - Whether the panel can be collapsed. The default value is true]]>. - collapsible - false - true - boolean - - - A CSS class for styling the component. - cssClass - false - true - - - A default state for the component. Possible values are open]]> and any string other than open. Any string other than open]]> collapses the panel. The default value is open]]>. - defaultState - false - true - - - Whether the panel is extended. The default value is false]]>. - extended - false - true - boolean - - - Text to display as a help tool tip on mouse over of the panel's help icon. - helpMessage - false - true - - - An icon to display next to the panel's title. The icon can be specified using the name of one of the Bootstrap icon CSS classes found at http://marcoceppi.github.io/bootstrap-glyphicons/]]>. - iconCssClass - false - true - - - An ID for the component instance. - id - false - true - - - The ID of the component that contains the panel. If a liferay-ui:panel-container]]> is used as the container for the panel, its ID is used as the value for the parentID]]>. - parentId - false - true - - - Whether to remember the component's state and persist it to the database. The default value is false]]>. - persistState - false - true - boolean - - - A state for the component. Possible values are open]]> and any string other than open. Any string other than open]]> collapses the panel. - state - false - true - - - A title to display at the top of the panel. - title - true - true - - - - Creates a collapsible container to house liferay-ui:panel]]> components. - panel-container - com.liferay.taglib.ui.PanelContainerTag - JSP - - Whether only one panel can be shown at a time. As one panel is opened, the others close, creating an accordian effect. The default value is false]]>. - accordion - false - true - boolean - - - A CSS class for styling the component. - cssClass - false - true - - - Whether to extend the interface with additional styling. The default value is false]]>. - extended - false - true - boolean - - - An ID for the component instance. - id - false - true - - - Whether to remember the component's state and persist it to the database. The default value is false]]>. - persistState - false - true - boolean - - - - param - com.liferay.taglib.util.ParamTag - JSP - - name - true - true - - - value - true - true - - - - Renders a PNG image with the source given for the image]]> attribute. - png-image - com.liferay.taglib.ui.PngImageTag - JSP - - The height of the image in pixels. A possible value would be 16]]>. px]]> is then appended to the end of the value. - height - true - true - int - - - The location of a PNG image file to use. - image - true - true - - - The height of the image in pixels. A possible value would be 16]]>. px]]> is then appended to the end of the value. - width - true - true - int - - - - progress - com.liferay.taglib.ui.ProgressTag - JSP - - height - false - true - - - id - true - true - - - message - false - true - - - sessionKey - true - true - - - updatePeriod - false - true - - - - ratings - com.liferay.taglib.ui.RatingsTag - JSP - - className - true - true - - - classPK - true - true - - - numberOfStars - false - true - - - ratingsEntry - false - true - - - ratingsStats - false - true - - - type - false - true - - - url - false - true - - - - ratings-score - com.liferay.taglib.ui.RatingsScoreTag - JSP - - score - true - true - - - - restore-entry - com.liferay.taglib.ui.RestoreEntryTag - JSP - - duplicateEntryAction - false - true - - - overrideMessage - false - true - - - renameMessage - false - true - - - restoreEntryAction - false - true - - - - Creates a clickable link and/or icon to an RSS feed document. - rss - com.liferay.taglib.ui.RSSTag - JSP - - A default maximum number of items to display. The default value is 20]]>. - delta - false - true - int - - - A default style to display. - displayStyle - false - true - - - A default format for the RSS feed. Options are atom_1.0]]>, rss_1.0]]>, and rss_2.0]]>. - feedType - false - true - - - A message to display next to the RSS icon. - message - false - true - - - A name for the RSS feed. - name - false - true - - - A URL from which to retrieve feed information. - resourceURL - false - true - - - The URL for an RSS feed file. - url - false - true - - - - Creates a configuration component for users to define RSS settings, such as how many articles to display. - rss-settings - com.liferay.taglib.ui.RSSSettingsTag - JSP - - A default maximum number of items to display. The default value is 20]]>. - delta - false - true - int - - - A default style to display. - displayStyle - false - true - - - Available RSS display styles from which the user can choose. Options are abstract]]>, full-content]]>, and title]]>. - displayStyles - false - true - - - Whether users are able to subscribe. Default value is false]]>. - enabled - false - true - boolean - - - A default format for the RSS feed. Options are atom_1.0]]>, rss_1.0]]>, and rss_2.0]]>. - feedType - false - true - - - A name for the component. - name - false - true - - - Whether the RSS feed has a name. The default value is false]]>. - nameEnabled - false - true - boolean - - - - Creates a search form, with an additional select input to set the scope of the search. - search - com.liferay.taglib.ui.SearchTag - JSP - - - Creates a grid for displaying a list of objects and their properties. - search-container - com.liferay.taglib.ui.SearchContainerTag - com.liferay.taglib.ui.SearchContainerTei - JSP - - A variable for the search container's pagination. Different pagination variables ensure independent pagination when multiple search containers are on a JSP. - curParam - false - true - - - The number of items to show on each search container page. - delta - false - true - int - - - The delta]]> attribute as configurable by users. - deltaConfigurable - false - true - - - deltaParam - false - true - - - displayTerms - false - true - - - A message displayed when the search container is empty. - emptyResultsMessage - false - true - - - headerNames - false - true - - - hover - false - true - - - id - false - true - - - iteratorURL - false - true - - - orderByCol - false - true - - - orderByColParam - false - true - - - orderByComparator - false - true - - - An order type for the columns, either ascending or descending. Values are asc]]> or desc]]>. - orderByType - false - true - - - orderByTypeParam - false - true - - - Inserts a checkbox column in the search container. Value must be a RowChecker]]> object. - rowChecker - false - true - - - searchContainer - false - true - - - searchTerms - false - true - - - The total number of objects in the search container. - total - false - true - int - - - A variable name for the results of the total]]> attribute. The default is total]]>. - totalVar - false - true - - - A variable name for the SearchContainer]]> object. The default is searchContainer]]>. - var - false - true - - - - search-container-column-button - com.liferay.taglib.ui.SearchContainerColumnButtonTag - JSP - - align - false - true - - - colspan - false - true - - - cssClass - false - true - - - href - true - true - - - index - false - true - - - name - false - true - - - valign - false - true - - - - Creates a date column in a search container. - search-container-column-date - com.liferay.taglib.ui.SearchContainerColumnDateTag - JSP - - A horizontal alignment for the column contents. The default is left]]>. - align - false - true - - - The number of columns to span. The default is 1]]>. - colspan - false - true - int - - - A CSS class for styling the column. - cssClass - false - true - - - A URL for the items in the column. - href - false - true - - - index - false - true - - - A name for the column. - name - false - true - - - Whether to set the column as sortable. The default value is false]]>. - orderable - false - true - boolean - - - An object's property by which to sort the column. - orderableProperty - false - true - - - A property to request from the row object. - property - false - true - - - A vertical alignment for the column contents. The default is middle]]>. - valign - false - true - - - A value for the column. - value - false - true - - - - Creates a column in a search container with the contents of a JSP file. - search-container-column-jsp - com.liferay.taglib.ui.SearchContainerColumnJSPTag - JSP - - A horizontal alignment for the column contents. The default is left]]>. - align - false - true - - - The number of columns to span. The default is 1]]>. - colspan - false - true - int - - - A CSS class for styling the column. - cssClass - false - true - - - index - false - true - - - name - false - true - - - The JSP file's location. - path - true - true - - - valign - false - true - - - - Creates a column in a search container for the workflow status. - search-container-column-status - com.liferay.taglib.ui.SearchContainerColumnStatusTag - JSP - - A horizontal alignment for the column contents. The default is left]]>. - align - false - true - - - The number of columns to span. The default is 1]]>. - colspan - false - true - int - - - A CSS class for styling the column. - cssClass - false - true - - - A URL for the column's contents. - href - false - true - - - index - false - true - - - name - false - true - - - Whether to set the column as sortable. The default value is false]]>. - orderable - false - true - boolean - - - An object's property by which to sort the column. - orderableProperty - false - true - - - An object's property to use for the column. - property - false - true - - - A vertical alignment for the column contents. The default is middle]]>. - valign - false - true - - - A workflow status for the item. - status - false - true - - - statusByUserId - false - true - - - statusDate - false - true - - - - Creates a text column in a search container. - search-container-column-text - com.liferay.taglib.ui.SearchContainerColumnTextTag - com.liferay.taglib.ui.SearchContainerColumnTextTei - JSP - - A horizontal alignment for the column contents. - align - false - true - - - A string buffer variable for constructing a URL in a scriptlet. - buffer - false - true - - - The number of columns to span. The default is 1]]>. - colspan - false - true - int - - - A CSS class for styling the column. - cssClass - false - true - - - href - false - true - - - index - false - true - - - name - false - true - - - Whether to set the column as sortable. The default value is false]]>. - orderable - false - true - boolean - - - An object's property by which to sort the column. - orderableProperty - false - true - - - property - false - true - - - target - false - true - - - title - false - true - - - Whether to automatically translate values. The default value is false]]>. - translate - false - true - boolean - - - A vertical alignment for the column contents. The default is middle]]>. - valign - false - true - - - value - false - true - - - - The list of objects to display in the search container. - search-container-results - com.liferay.taglib.ui.SearchContainerResultsTag - com.liferay.taglib.ui.SearchContainerResultsTei - JSP - - A list of objects to display in the search container. - results - false - true - - - A variable to use for the results. - resultsVar - false - true - - - Deprecated as of 6.2.0, replaced by liferay-ui:search-container#total - total - false - true - - - Deprecated as of 6.2.0, replaced by liferay-ui:search-container#totalVar - totalVar - false - true - - - - Creates rows in the search container for each object returned by liferay-ui:search-container-results]]>. - search-container-row - com.liferay.taglib.ui.SearchContainerRowTag - com.liferay.taglib.ui.SearchContainerRowTei - JSP - - bold - false - true - - - The class name of the objects to display in rows. - className - true - true - - - The returned model instances as HTML escaped. - escapedModel - false - true - - - A variable name to use for the rows' index. - indexVar - false - true - - - A property to use as the primary key for the object type in the className]]> attribute. - keyProperty - false - true - - - A variable name to use for each object as the search container iterates through the objects returned by liferay-ui:search-container-results]]>. - modelVar - false - true - - - A model property to use as the row ID. - rowIdProperty - false - true - - - A variable name to use for the rows. - rowVar - false - true - - - servletContext - false - true - - - stringKey - false - true - - - - Creates parameters for rows in the search container. The liferay-ui:search-container-row]]> tag is required. - search-container-row-parameter - com.liferay.taglib.ui.SearchContainerRowParameterTag - JSP - - A name for the row parameter. - name - true - true - - - A value for the row parameter. - value - true - true - - - - search-form - com.liferay.taglib.ui.SearchFormTag - JSP - - page - true - true - - - searchContainer - false - true - - - servletContext - false - true - - - showAddButton - false - true - - - - Creates a search results page iterator with an optional paginator. - search-iterator - com.liferay.taglib.ui.SearchIteratorTag - JSP - - Whether to add a liferay-ui:search-paginator]]> to the search container. The default value is true]]>. - paginate - false - true - boolean - - - All configurable properties of the search container, such as cur]]> and curParam]]>. These properties are set with searchContainer.getCur()]]> and searchContainer.getCurParam()]]> respectively. - searchContainer - false - true - - - A type of iterator to display. Options are approximate]]>, article]]>, more]]>, and regular]]>. - type - false - true - - - - Creates a page iterator to paginate through search results - search-paginator - com.liferay.taglib.ui.SearchPaginatorTag - JSP - - An ID for the component instance. - id - false - true - - - All configurable porperties of the search container, such as cur]]> and curParam]]>. These properties are set with searchContainer.getCur()]]> and searchContainer.getCurParam()]]> respectively. - searchContainer - true - true - - - A type of iterator to display. Options are approximate]]>, article]]>, more]]>, and regular]]>. - type - false - true - - - - search-speed - com.liferay.taglib.ui.SearchSpeedTag - JSP - - hits - true - true - - - searchContainer - true - true - - - - Creates a search instance that can be toggled between basic and advanced search. - search-toggle - com.liferay.taglib.ui.SearchToggleTag - JSP - - Whether the search input field is automatically focused. The default value is false]]>. - autoFocus - false - true - boolean - - - A label for the search button such as Search]]> or Go]]>. - buttonLabel - false - true - - - Terms to be used and displayed through the search instance. Term examples include keywords]]>, advancedSearch]]>, and description]]>. - displayTerms - true - true - - - The component instance's ID. - id - true - true - - - width - false - true - - - - section - com.liferay.taglib.ui.SectionTag - com.liferay.taglib.ui.SectionTei - JSP - - - sites-directory - com.liferay.taglib.ui.SitesDirectoryTag - JSP - - displayStyle - false - true - - - sites - false - true - - - - social-activities - com.liferay.taglib.ui.SocialActivitiesTag - JSP - - activities - false - true - - - className - false - true - - - classPK - false - true - - - displayRSSFeed - false - true - - - feedDelta - false - true - - - feedDisplayStyle - false - true - - - feedEnabled - false - true - - - feedLink - false - true - - - feedLinkMessage - false - true - - - feedTitle - false - true - - - feedType - false - true - - - - social-bookmark - com.liferay.taglib.ui.SocialBookmarkTag - JSP - - contentId - false - true - - - target - false - true - - - title - true - true - - - type - true - true - - - url - true - true - - - - social-bookmarks - com.liferay.taglib.ui.SocialBookmarksTag - JSP - - contentId - false - true - - - displayStyle - false - true - - - target - false - true - - - title - true - true - - - types - false - true - - - url - true - true - - - - staging - com.liferay.taglib.ui.StagingTag - JSP - - cssClass - false - true - - - extended - false - true - - - groupId - false - true - - - icon - false - true - - - layoutSetBranchId - false - true - - - message - false - true - - - onlyActions - false - true - - - privateLayout - false - true - - - selPlid - false - true - - - showManageBranches - false - true - - - - Creates a success message to display to the user. - success - com.liferay.taglib.ui.SuccessTag - empty - - A key to be placed in the SessionMessages]]> object to trigger the success message. - key - true - true - - - Explicit message text or the name of a language key from which to derive the message text. - message - true - true - - - Whether to translate the success message into the user's language. The default value is true]]>. - translateMessage - false - true - boolean - - - - table-iterator - com.liferay.taglib.ui.TableIteratorTag - com.liferay.taglib.ui.TableIteratorTei - JSP - - bodyPage - false - true - - - list - true - true - - - listType - true - true - - - rowBreak - false - true - - - rowLength - true - true - - - rowPadding - false - true - - - rowValign - false - true - - - width - false - true - - - - Creates a tabbed UI of section dividers that each house their own content. - tabs - com.liferay.taglib.ui.TabsTag - JSP - - - A label for the back URL. - backLabel - false - true - - - A URL for navigating back to. - backURL - false - true - - - A name for the tab's form. - formName - false - true - - - The names of the tabs. Each name must be separated by a comma with no spaces. - names - true - true - - - A function to be called on a user clicking any of the tabs. - onClick - false - true - - - A variable for the component. - param - false - true - - - A URL to refer to the portlet that contains the component. - portletURL - false - true - - - Whether the page refreshes when a tab is clicked. - refresh - false - true - boolean - - - Tab values that must follow the same order as the names]]> attribute. Each value must be separated by a comma with no spaces. - tabsValues - false - true - - - A design type for the tabs. Possible values are tabs]]> and pills]]>. - type - false - true - - - A URL to which all the tabs are linked when clicked. You can also set each tab's URL individually using url[number]]]> attribute. - url - false - true - - - url0 - false - true - - - A URL to which the second tab is linked when clicked. - url1 - false - true - - - A URL to which the third tab is linked when clicked - url2 - false - true - - - A URL to which the fourth tab is linked when clicked - url3 - false - true - - - A URL to which the fifth tab is linked when clicked - url4 - false - true - - - A URL to which the sixth tab is linked when clicked - url5 - false - true - - - A URL to which the seventh tab is linked when clicked - url6 - false - true - - - A URL to which the eighth tab is linked when clicked - url7 - false - true - - - A URL to which the ninth tab is linked when clicked - url8 - false - true - - - A URL to which the tenth tab is linked when clicked - url9 - false - true - - - An active tab from the value given in the attribute tabsValues]]>. No matter which tab a user selects, the tab given for this value always remains active. - value - false - true - - - - Creates a component that toggles the visibility of the content of the component matching the given id]]>. Default icons are used as the component's default mechanism for showing and hiding the content. - toggle - com.liferay.taglib.ui.ToggleTag - JSP - - Whether to initially show content by default. The default value is true]]>. - defaultShowContent - false - true - boolean - - - An icon to use as the mechanism for hiding the content. You can specify the location of an image file to use in the icon; otherwise a default icon is used. - hideImage - false - true - - - Text to display as a link for hiding the content. It overrides the hideImage]]> attribute. Note that the showMessage]]> attribute must also be configured in order for the hide message to render. - hideMessage - false - true - - - The ID of a component instance whose content's visibility to toggle. - id - true - true - - - An icon to use as the mechanism for showing the content. You can specify the location of an image file to use in the icon; otherwise a default icon is used. - showImage - false - true - - - A link to use as the mechanism for showing the content. The text value of this attribute is used as the link's text. The message takes precedence over showing an image, via the showImage]]> attribute. If you specify a showMessage]]> attribute, you should also specify the hideMessage]]> attribute; a null]]> is otherwise displayed for the text of the hide link. - showMessage - false - true - - - Text to be prefixed to the Toggle()]]> function that is called to toggle visibility of the content. If this is not configured, a random key is generated and prefixed to the Toggle()]]> function. For example, a value of run]]> would result in a function named runToggle()]]>. - stateVar - false - true - - - - toggle-area - com.liferay.taglib.ui.ToggleAreaTag - JSP - - align - false - true - - - defaultShowContent - false - true - - - hideImage - false - true - - - hideMessage - false - true - - - id - false - true - - - showImage - false - true - - - showMessage - false - true - - - stateVar - false - true - - - - toggle-value - com.liferay.taglib.ui.ToggleValueTag - JSP - - defaultValue - false - true - - - id - true - true - - - - Creates a component for users to permanently delete items such as images, articles, etc. from the recycle bin. - trash-empty - com.liferay.taglib.ui.TrashEmptyTag - empty - - A message to display to confirm that the user wants to remove the item(s) from the recycle bin. - confirmMessage - false - true - - - A message to be used for the empty-trash]]> button and link. - emptyMessage - false - true - - - A message to display to give users information about removing items from the recycle bin. - infoMessage - false - true - - - A URL for the empty-trash]]> button/link. - portletURL - true - true - - - The number of items to be removed from the recycle bin. - totalEntries - true - true - int - - - - Creates a message confirming items were moved to the recycle bin and presenting an option to restore them. - trash-undo - com.liferay.taglib.ui.TrashUndoTag - empty - - The URL of the undo link. - portletURL - true - true - - - A redirect URL. - redirect - false - true - - - - upload-progress - com.liferay.taglib.ui.UploadProgressTag - JSP - - height - false - true - - - id - true - true - - - message - false - true - - - redirect - false - true - - - updatePeriod - false - true - - - - user-display - com.liferay.taglib.ui.UserDisplayTag - com.liferay.taglib.ui.UserDisplayTei - JSP - - displayStyle - false - true - - - url - false - true - - - userId - true - true - - - userName - false - true - - - - user-search - com.liferay.taglib.ui.UserSearchTag - JSP - - portletURL - true - true - - - rowChecker - false - true - - - userParams - true - true - - - - webdav - com.liferay.taglib.ui.WebDAVTag - JSP - - path - true - true - - - - write - com.liferay.taglib.ui.WriteTag - JSP - - bean - true - true - - - property - true - true - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/tld/liferay-util.tld b/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/tld/liferay-util.tld deleted file mode 100644 index 72a4caf0..00000000 --- a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/tld/liferay-util.tld +++ /dev/null @@ -1,141 +0,0 @@ - - - - - 1.2 - 1.1 - liferay-util - http://liferay.com/tld/util - - body-bottom - com.liferay.taglib.util.BodyBottomTag - JSP - - outputKey - false - true - - - - body-top - com.liferay.taglib.util.BodyTopTag - JSP - - outputKey - false - true - - - - buffer - com.liferay.taglib.util.BufferTag - com.liferay.taglib.util.BufferTei - JSP - - var - true - true - - - - get-url - com.liferay.taglib.util.GetUrlTag - com.liferay.taglib.util.GetUrlTei - JSP - - expires - false - true - - - url - true - true - - - var - false - true - - - - html-bottom - com.liferay.taglib.util.HtmlBottomTag - JSP - - outputKey - false - true - - - position - false - true - - - - html-top - com.liferay.taglib.util.HtmlTopTag - JSP - - outputKey - false - true - - - position - false - true - - - - include - com.liferay.taglib.util.IncludeTag - JSP - - page - true - true - - - portletId - false - true - - - servletContext - false - true - - - strict - false - true - - - useCustomPage - false - true - - - - param - com.liferay.taglib.util.ParamTag - JSP - - name - true - true - - - value - true - true - - - - whitespace-remover - com.liferay.taglib.util.WhitespaceRemoverTag - JSP - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/web.xml b/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/web.xml deleted file mode 100644 index 1aa8cdb8..00000000 --- a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/WEB-INF/web.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/css/main.css b/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/css/main.css deleted file mode 100644 index e69de29b..00000000 diff --git a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/html/testportos/init.jsp b/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/html/testportos/init.jsp deleted file mode 100644 index 037b2dac..00000000 --- a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/html/testportos/init.jsp +++ /dev/null @@ -1,11 +0,0 @@ -<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %> -<%@taglib uri="http://liferay.com/tld/aui" prefix="aui" %> -<%@taglib uri="http://liferay.com/tld/portlet" prefix="liferay-portlet" %> -<%@taglib uri="http://liferay.com/tld/security" prefix="liferay-security" %> -<%@taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme" %> -<%@taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui" %> -<%@taglib uri="http://liferay.com/tld/util" prefix="liferay-util" %> - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/html/testportos/rigenera_pagamento.jsp b/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/html/testportos/rigenera_pagamento.jsp deleted file mode 100644 index e6a7ab8b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/html/testportos/rigenera_pagamento.jsp +++ /dev/null @@ -1,61 +0,0 @@ -<%@page import="com.liferay.portal.kernel.util.ParamUtil"%> -<%@include file="init.jsp"%> - -<% -long pagamentoId = ParamUtil.getLong(request, "pagamentoId", 0L); -String dialogId = "testPopupIdUnique"; -String portletNameApp = "#p_p_id_"+ themeDisplay.getPortletDisplay().getId() +"_"; -%> - - - - - - - -
-
-
- Si è sicuri di voler rigenerare il pagamento? Questa azione sarà irreversibile! -
-
- -
-
- -
-
- -
-
- - - -
- -
- - - - -Liferay.provide( - window, - 'closePopup', - function() { - - Liferay.Util.getOpener().refreshPortlet(); - Liferay.Util.getOpener().closePopup('<%= dialogId %>'); - - }, - ['aui-base','liferay-util-window'] -); - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/html/testportos/view.jsp b/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/html/testportos/view.jsp deleted file mode 100644 index 2a91b172..00000000 --- a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/html/testportos/view.jsp +++ /dev/null @@ -1,114 +0,0 @@ -<%@page import="com.liferay.portal.kernel.portlet.LiferayWindowState"%> -<%@include file="init.jsp"%> - -
- - -
-
-
Form per reindicizzare un fascicolo
- -
- - - - -
-
-
-
- -
- - -
-
-
Corregge le DettPratica: Va premuto solo una volta!!!!
- -
- - -
-
-
-
- - - - - - - - - - - - - - - - -   - - - - - - - Liferay.provide(window, 'refreshPortlet', function() { - var curPortlet = '#p_p_id'; - Liferay.Portlet.refresh(curPortlet); - }, - ['aui-dialog','aui-dialog-iframe'] - ); - - - - Liferay.provide(window, 'closePopup', function(dialogId) { - var A = AUI(); - var dialog = Liferay.Util.Window.getById(dialogId); - dialog.destroy(); - }, - ['liferay-util-window'] - ); - - - -
- -
- - - diff --git a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/icon.png b/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/icon.png deleted file mode 100644 index 807b862c..00000000 Binary files a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/icon.png and /dev/null differ diff --git a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/js/main.js b/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/docroot/js/main.js deleted file mode 100644 index e69de29b..00000000 diff --git a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/ivy.xml b/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/ivy.xml deleted file mode 100644 index 85799d32..00000000 --- a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/ivy.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/test/integration/arquillian.xml b/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/test/integration/arquillian.xml deleted file mode 100644 index 9413609b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/PortoTestPlugin-portlet/test/integration/arquillian.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - 8099 - tomcat - tomcat - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml index 9f3deb77..52b3813e 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml @@ -425,8 +425,6 @@ - - @@ -651,9 +649,6 @@ - - - @@ -665,10 +660,6 @@ - - - - @@ -711,7 +702,6 @@ - @@ -747,9 +737,6 @@ - - - - @@ -817,9 +803,6 @@ - - - @@ -955,7 +938,6 @@ - @@ -988,9 +970,6 @@ - - - diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/CollaudoClp.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/CollaudoClp.java index 71c125f6..69f2607d 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/CollaudoClp.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/CollaudoClp.java @@ -100,7 +100,6 @@ public class CollaudoClp extends BaseModelImpl implements Collaudo { attributes.put("mezzoPagamento", getMezzoPagamento()); attributes.put("normEsenteBollo", getNormEsenteBollo()); attributes.put("importoBolli", getImportoBolli()); - attributes.put("oldDettPraticaId", getOldDettPraticaId()); return attributes; } @@ -257,12 +256,6 @@ public class CollaudoClp extends BaseModelImpl implements Collaudo { if (importoBolli != null) { setImportoBolli(importoBolli); } - - Long oldDettPraticaId = (Long)attributes.get("oldDettPraticaId"); - - if (oldDettPraticaId != null) { - setOldDettPraticaId(oldDettPraticaId); - } } @Override @@ -876,30 +869,6 @@ public class CollaudoClp extends BaseModelImpl implements Collaudo { } } - @Override - public long getOldDettPraticaId() { - return _oldDettPraticaId; - } - - @Override - public void setOldDettPraticaId(long oldDettPraticaId) { - _oldDettPraticaId = oldDettPraticaId; - - if (_collaudoRemoteModel != null) { - try { - Class clazz = _collaudoRemoteModel.getClass(); - - Method method = clazz.getMethod("setOldDettPraticaId", - long.class); - - method.invoke(_collaudoRemoteModel, oldDettPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - @Override public java.lang.String getTitle(java.util.Locale locale) { try { @@ -1057,7 +1026,6 @@ public class CollaudoClp extends BaseModelImpl implements Collaudo { clone.setMezzoPagamento(getMezzoPagamento()); clone.setNormEsenteBollo(getNormEsenteBollo()); clone.setImportoBolli(getImportoBolli()); - clone.setOldDettPraticaId(getOldDettPraticaId()); return clone; } @@ -1110,7 +1078,7 @@ public class CollaudoClp extends BaseModelImpl implements Collaudo { @Override public String toString() { - StringBundler sb = new StringBundler(53); + StringBundler sb = new StringBundler(51); sb.append("{uuid="); sb.append(getUuid()); @@ -1162,8 +1130,6 @@ public class CollaudoClp extends BaseModelImpl implements Collaudo { sb.append(getNormEsenteBollo()); sb.append(", importoBolli="); sb.append(getImportoBolli()); - sb.append(", oldDettPraticaId="); - sb.append(getOldDettPraticaId()); sb.append("}"); return sb.toString(); @@ -1171,7 +1137,7 @@ public class CollaudoClp extends BaseModelImpl implements Collaudo { @Override public String toXmlString() { - StringBundler sb = new StringBundler(82); + StringBundler sb = new StringBundler(79); sb.append(""); sb.append("it.tref.liferay.portos.bo.model.Collaudo"); @@ -1277,10 +1243,6 @@ public class CollaudoClp extends BaseModelImpl implements Collaudo { "importoBolli"); - sb.append( - "oldDettPraticaId"); sb.append(""); @@ -1313,7 +1275,6 @@ public class CollaudoClp extends BaseModelImpl implements Collaudo { private String _mezzoPagamento; private boolean _normEsenteBollo; private String _importoBolli; - private long _oldDettPraticaId; private BaseModel _collaudoRemoteModel; private Class _clpSerializerClass = it.tref.liferay.portos.bo.service.ClpSerializer.class; } \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/CollaudoModel.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/CollaudoModel.java index dd2edaf0..c3f66f09 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/CollaudoModel.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/CollaudoModel.java @@ -479,20 +479,6 @@ public interface CollaudoModel extends BaseModel, StagedGroupedModel { */ public void setImportoBolli(String importoBolli); - /** - * Returns the old dett pratica ID of this collaudo. - * - * @return the old dett pratica ID of this collaudo - */ - public long getOldDettPraticaId(); - - /** - * Sets the old dett pratica ID of this collaudo. - * - * @param oldDettPraticaId the old dett pratica ID of this collaudo - */ - public void setOldDettPraticaId(long oldDettPraticaId); - @Override public boolean isNew(); diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/CollaudoSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/CollaudoSoap.java index 6f82f9be..073e5032 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/CollaudoSoap.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/CollaudoSoap.java @@ -56,7 +56,6 @@ public class CollaudoSoap implements Serializable { soapModel.setMezzoPagamento(model.getMezzoPagamento()); soapModel.setNormEsenteBollo(model.getNormEsenteBollo()); soapModel.setImportoBolli(model.getImportoBolli()); - soapModel.setOldDettPraticaId(model.getOldDettPraticaId()); return soapModel; } @@ -325,14 +324,6 @@ public class CollaudoSoap implements Serializable { _importoBolli = importoBolli; } - public long getOldDettPraticaId() { - return _oldDettPraticaId; - } - - public void setOldDettPraticaId(long oldDettPraticaId) { - _oldDettPraticaId = oldDettPraticaId; - } - private String _uuid; private long _collaudoId; private long _companyId; @@ -358,5 +349,4 @@ public class CollaudoSoap implements Serializable { private String _mezzoPagamento; private boolean _normEsenteBollo; private String _importoBolli; - private long _oldDettPraticaId; } \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/CollaudoWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/CollaudoWrapper.java index 8f5fc12b..313e67a7 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/CollaudoWrapper.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/CollaudoWrapper.java @@ -75,7 +75,6 @@ public class CollaudoWrapper implements Collaudo, ModelWrapper { attributes.put("mezzoPagamento", getMezzoPagamento()); attributes.put("normEsenteBollo", getNormEsenteBollo()); attributes.put("importoBolli", getImportoBolli()); - attributes.put("oldDettPraticaId", getOldDettPraticaId()); return attributes; } @@ -232,12 +231,6 @@ public class CollaudoWrapper implements Collaudo, ModelWrapper { if (importoBolli != null) { setImportoBolli(importoBolli); } - - Long oldDettPraticaId = (Long)attributes.get("oldDettPraticaId"); - - if (oldDettPraticaId != null) { - setOldDettPraticaId(oldDettPraticaId); - } } /** @@ -822,26 +815,6 @@ public class CollaudoWrapper implements Collaudo, ModelWrapper { _collaudo.setImportoBolli(importoBolli); } - /** - * Returns the old dett pratica ID of this collaudo. - * - * @return the old dett pratica ID of this collaudo - */ - @Override - public long getOldDettPraticaId() { - return _collaudo.getOldDettPraticaId(); - } - - /** - * Sets the old dett pratica ID of this collaudo. - * - * @param oldDettPraticaId the old dett pratica ID of this collaudo - */ - @Override - public void setOldDettPraticaId(long oldDettPraticaId) { - _collaudo.setOldDettPraticaId(oldDettPraticaId); - } - @Override public boolean isNew() { return _collaudo.isNew(); diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaClp.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaClp.java index 7a1159e4..38344197 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaClp.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaClp.java @@ -111,7 +111,6 @@ public class DettPraticaClp extends BaseModelImpl attributes.put("workflowForzato", getWorkflowForzato()); attributes.put("soggettoSostituitoId", getSoggettoSostituitoId()); attributes.put("dtInvioSignal", getDtInvioSignal()); - attributes.put("oldDettPraticaId", getOldDettPraticaId()); attributes.put("destinazione", getDestinazione()); attributes.put("ag", getAg()); attributes.put("descLongIntervento", getDescLongIntervento()); @@ -585,12 +584,6 @@ public class DettPraticaClp extends BaseModelImpl setDtInvioSignal(dtInvioSignal); } - Long oldDettPraticaId = (Long)attributes.get("oldDettPraticaId"); - - if (oldDettPraticaId != null) { - setOldDettPraticaId(oldDettPraticaId); - } - String destinazione = (String)attributes.get("destinazione"); if (destinazione != null) { @@ -2746,30 +2739,6 @@ public class DettPraticaClp extends BaseModelImpl } } - @Override - public long getOldDettPraticaId() { - return _oldDettPraticaId; - } - - @Override - public void setOldDettPraticaId(long oldDettPraticaId) { - _oldDettPraticaId = oldDettPraticaId; - - if (_dettPraticaRemoteModel != null) { - try { - Class clazz = _dettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setOldDettPraticaId", - long.class); - - method.invoke(_dettPraticaRemoteModel, oldDettPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - @Override public String getDestinazione() { return _destinazione; @@ -8471,7 +8440,6 @@ public class DettPraticaClp extends BaseModelImpl clone.setWorkflowForzato(getWorkflowForzato()); clone.setSoggettoSostituitoId(getSoggettoSostituitoId()); clone.setDtInvioSignal(getDtInvioSignal()); - clone.setOldDettPraticaId(getOldDettPraticaId()); clone.setDestinazione(getDestinazione()); clone.setAg(getAg()); clone.setDescLongIntervento(getDescLongIntervento()); @@ -8725,7 +8693,7 @@ public class DettPraticaClp extends BaseModelImpl @Override public String toString() { - StringBundler sb = new StringBundler(473); + StringBundler sb = new StringBundler(471); sb.append("{uuid="); sb.append(getUuid()); @@ -8795,8 +8763,6 @@ public class DettPraticaClp extends BaseModelImpl sb.append(getSoggettoSostituitoId()); sb.append(", dtInvioSignal="); sb.append(getDtInvioSignal()); - sb.append(", oldDettPraticaId="); - sb.append(getOldDettPraticaId()); sb.append(", destinazione="); sb.append(getDestinazione()); sb.append(", ag="); @@ -9206,7 +9172,7 @@ public class DettPraticaClp extends BaseModelImpl @Override public String toXmlString() { - StringBundler sb = new StringBundler(712); + StringBundler sb = new StringBundler(709); sb.append(""); sb.append("it.tref.liferay.portos.bo.model.DettPratica"); @@ -9348,10 +9314,6 @@ public class DettPraticaClp extends BaseModelImpl "dtInvioSignal"); - sb.append( - "oldDettPraticaId"); sb.append( "destinazione private boolean _workflowForzato; private long _soggettoSostituitoId; private Date _dtInvioSignal; - private long _oldDettPraticaId; private String _destinazione; private String _ag; private String _descLongIntervento; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaModel.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaModel.java index e0307999..8d66d339 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaModel.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaModel.java @@ -636,20 +636,6 @@ public interface DettPraticaModel extends BaseModel, */ public void setDtInvioSignal(Date dtInvioSignal); - /** - * Returns the old dett pratica ID of this dett pratica. - * - * @return the old dett pratica ID of this dett pratica - */ - public long getOldDettPraticaId(); - - /** - * Sets the old dett pratica ID of this dett pratica. - * - * @param oldDettPraticaId the old dett pratica ID of this dett pratica - */ - public void setOldDettPraticaId(long oldDettPraticaId); - /** * Returns the destinazione of this dett pratica. * diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaSoap.java index 6e7b0cd8..a5c34582 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaSoap.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaSoap.java @@ -65,7 +65,6 @@ public class DettPraticaSoap implements Serializable { soapModel.setWorkflowForzato(model.getWorkflowForzato()); soapModel.setSoggettoSostituitoId(model.getSoggettoSostituitoId()); soapModel.setDtInvioSignal(model.getDtInvioSignal()); - soapModel.setOldDettPraticaId(model.getOldDettPraticaId()); soapModel.setDestinazione(model.getDestinazione()); soapModel.setAg(model.getAg()); soapModel.setDescLongIntervento(model.getDescLongIntervento()); @@ -607,14 +606,6 @@ public class DettPraticaSoap implements Serializable { _dtInvioSignal = dtInvioSignal; } - public long getOldDettPraticaId() { - return _oldDettPraticaId; - } - - public void setOldDettPraticaId(long oldDettPraticaId) { - _oldDettPraticaId = oldDettPraticaId; - } - public String getDestinazione() { return _destinazione; } @@ -2727,7 +2718,6 @@ public class DettPraticaSoap implements Serializable { private boolean _workflowForzato; private long _soggettoSostituitoId; private Date _dtInvioSignal; - private long _oldDettPraticaId; private String _destinazione; private String _ag; private String _descLongIntervento; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaWrapper.java index 3a409af5..5dbe881a 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaWrapper.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/DettPraticaWrapper.java @@ -85,7 +85,6 @@ public class DettPraticaWrapper implements DettPratica, attributes.put("workflowForzato", getWorkflowForzato()); attributes.put("soggettoSostituitoId", getSoggettoSostituitoId()); attributes.put("dtInvioSignal", getDtInvioSignal()); - attributes.put("oldDettPraticaId", getOldDettPraticaId()); attributes.put("destinazione", getDestinazione()); attributes.put("ag", getAg()); attributes.put("descLongIntervento", getDescLongIntervento()); @@ -559,12 +558,6 @@ public class DettPraticaWrapper implements DettPratica, setDtInvioSignal(dtInvioSignal); } - Long oldDettPraticaId = (Long)attributes.get("oldDettPraticaId"); - - if (oldDettPraticaId != null) { - setOldDettPraticaId(oldDettPraticaId); - } - String destinazione = (String)attributes.get("destinazione"); if (destinazione != null) { @@ -2670,26 +2663,6 @@ public class DettPraticaWrapper implements DettPratica, _dettPratica.setDtInvioSignal(dtInvioSignal); } - /** - * Returns the old dett pratica ID of this dett pratica. - * - * @return the old dett pratica ID of this dett pratica - */ - @Override - public long getOldDettPraticaId() { - return _dettPratica.getOldDettPraticaId(); - } - - /** - * Sets the old dett pratica ID of this dett pratica. - * - * @param oldDettPraticaId the old dett pratica ID of this dett pratica - */ - @Override - public void setOldDettPraticaId(long oldDettPraticaId) { - _dettPratica.setOldDettPraticaId(oldDettPraticaId); - } - /** * Returns the destinazione of this dett pratica. * diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/FineLavoriClp.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/FineLavoriClp.java index 5914a942..7b1699ce 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/FineLavoriClp.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/FineLavoriClp.java @@ -103,7 +103,6 @@ public class FineLavoriClp extends BaseModelImpl attributes.put("causalePagamento", getCausalePagamento()); attributes.put("mezzoPagamento", getMezzoPagamento()); attributes.put("importoBolli", getImportoBolli()); - attributes.put("oldDettPraticaId", getOldDettPraticaId()); return attributes; } @@ -268,12 +267,6 @@ public class FineLavoriClp extends BaseModelImpl if (importoBolli != null) { setImportoBolli(importoBolli); } - - Long oldDettPraticaId = (Long)attributes.get("oldDettPraticaId"); - - if (oldDettPraticaId != null) { - setOldDettPraticaId(oldDettPraticaId); - } } @Override @@ -919,30 +912,6 @@ public class FineLavoriClp extends BaseModelImpl } } - @Override - public long getOldDettPraticaId() { - return _oldDettPraticaId; - } - - @Override - public void setOldDettPraticaId(long oldDettPraticaId) { - _oldDettPraticaId = oldDettPraticaId; - - if (_fineLavoriRemoteModel != null) { - try { - Class clazz = _fineLavoriRemoteModel.getClass(); - - Method method = clazz.getMethod("setOldDettPraticaId", - long.class); - - method.invoke(_fineLavoriRemoteModel, oldDettPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - @Override public java.lang.String getTitle(java.util.Locale locale) { try { @@ -1101,7 +1070,6 @@ public class FineLavoriClp extends BaseModelImpl clone.setCausalePagamento(getCausalePagamento()); clone.setMezzoPagamento(getMezzoPagamento()); clone.setImportoBolli(getImportoBolli()); - clone.setOldDettPraticaId(getOldDettPraticaId()); return clone; } @@ -1154,7 +1122,7 @@ public class FineLavoriClp extends BaseModelImpl @Override public String toString() { - StringBundler sb = new StringBundler(55); + StringBundler sb = new StringBundler(53); sb.append("{uuid="); sb.append(getUuid()); @@ -1208,8 +1176,6 @@ public class FineLavoriClp extends BaseModelImpl sb.append(getMezzoPagamento()); sb.append(", importoBolli="); sb.append(getImportoBolli()); - sb.append(", oldDettPraticaId="); - sb.append(getOldDettPraticaId()); sb.append("}"); return sb.toString(); @@ -1217,7 +1183,7 @@ public class FineLavoriClp extends BaseModelImpl @Override public String toXmlString() { - StringBundler sb = new StringBundler(85); + StringBundler sb = new StringBundler(82); sb.append(""); sb.append("it.tref.liferay.portos.bo.model.FineLavori"); @@ -1327,10 +1293,6 @@ public class FineLavoriClp extends BaseModelImpl "importoBolli"); - sb.append( - "oldDettPraticaId"); sb.append(""); @@ -1364,7 +1326,6 @@ public class FineLavoriClp extends BaseModelImpl private String _causalePagamento; private String _mezzoPagamento; private String _importoBolli; - private long _oldDettPraticaId; private BaseModel _fineLavoriRemoteModel; private Class _clpSerializerClass = it.tref.liferay.portos.bo.service.ClpSerializer.class; } \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/FineLavoriModel.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/FineLavoriModel.java index 5e39541f..af48c702 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/FineLavoriModel.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/FineLavoriModel.java @@ -502,20 +502,6 @@ public interface FineLavoriModel extends BaseModel, */ public void setImportoBolli(String importoBolli); - /** - * Returns the old dett pratica ID of this fine lavori. - * - * @return the old dett pratica ID of this fine lavori - */ - public long getOldDettPraticaId(); - - /** - * Sets the old dett pratica ID of this fine lavori. - * - * @param oldDettPraticaId the old dett pratica ID of this fine lavori - */ - public void setOldDettPraticaId(long oldDettPraticaId); - @Override public boolean isNew(); diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/FineLavoriSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/FineLavoriSoap.java index 9c2f4256..9eb254fd 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/FineLavoriSoap.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/FineLavoriSoap.java @@ -57,7 +57,6 @@ public class FineLavoriSoap implements Serializable { soapModel.setCausalePagamento(model.getCausalePagamento()); soapModel.setMezzoPagamento(model.getMezzoPagamento()); soapModel.setImportoBolli(model.getImportoBolli()); - soapModel.setOldDettPraticaId(model.getOldDettPraticaId()); return soapModel; } @@ -339,14 +338,6 @@ public class FineLavoriSoap implements Serializable { _importoBolli = importoBolli; } - public long getOldDettPraticaId() { - return _oldDettPraticaId; - } - - public void setOldDettPraticaId(long oldDettPraticaId) { - _oldDettPraticaId = oldDettPraticaId; - } - private String _uuid; private long _fineLavoriId; private long _companyId; @@ -373,5 +364,4 @@ public class FineLavoriSoap implements Serializable { private String _causalePagamento; private String _mezzoPagamento; private String _importoBolli; - private long _oldDettPraticaId; } \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/FineLavoriWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/FineLavoriWrapper.java index 93490ba2..23a1b864 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/FineLavoriWrapper.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/FineLavoriWrapper.java @@ -77,7 +77,6 @@ public class FineLavoriWrapper implements FineLavori, ModelWrapper { attributes.put("causalePagamento", getCausalePagamento()); attributes.put("mezzoPagamento", getMezzoPagamento()); attributes.put("importoBolli", getImportoBolli()); - attributes.put("oldDettPraticaId", getOldDettPraticaId()); return attributes; } @@ -242,12 +241,6 @@ public class FineLavoriWrapper implements FineLavori, ModelWrapper { if (importoBolli != null) { setImportoBolli(importoBolli); } - - Long oldDettPraticaId = (Long)attributes.get("oldDettPraticaId"); - - if (oldDettPraticaId != null) { - setOldDettPraticaId(oldDettPraticaId); - } } /** @@ -863,26 +856,6 @@ public class FineLavoriWrapper implements FineLavori, ModelWrapper { _fineLavori.setImportoBolli(importoBolli); } - /** - * Returns the old dett pratica ID of this fine lavori. - * - * @return the old dett pratica ID of this fine lavori - */ - @Override - public long getOldDettPraticaId() { - return _fineLavori.getOldDettPraticaId(); - } - - /** - * Sets the old dett pratica ID of this fine lavori. - * - * @param oldDettPraticaId the old dett pratica ID of this fine lavori - */ - @Override - public void setOldDettPraticaId(long oldDettPraticaId) { - _fineLavori.setOldDettPraticaId(oldDettPraticaId); - } - @Override public boolean isNew() { return _fineLavori.isNew(); diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPraticaClp.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPraticaClp.java index 499f2a92..0bf19e5d 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPraticaClp.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPraticaClp.java @@ -98,7 +98,6 @@ public class IntPraticaClp extends BaseModelImpl attributes.put("statusDate", getStatusDate()); attributes.put("esitoControllo", getEsitoControllo()); attributes.put("dtPratica", getDtPratica()); - attributes.put("oldIntPraticaId", getOldIntPraticaId()); attributes.put("sospesa", getSospesa()); attributes.put("dtSospensione", getDtSospensione()); attributes.put("codiceFiscaleDelegatoFineLavori", @@ -249,12 +248,6 @@ public class IntPraticaClp extends BaseModelImpl setDtPratica(dtPratica); } - Long oldIntPraticaId = (Long)attributes.get("oldIntPraticaId"); - - if (oldIntPraticaId != null) { - setOldIntPraticaId(oldIntPraticaId); - } - Boolean sospesa = (Boolean)attributes.get("sospesa"); if (sospesa != null) { @@ -848,29 +841,6 @@ public class IntPraticaClp extends BaseModelImpl } } - @Override - public long getOldIntPraticaId() { - return _oldIntPraticaId; - } - - @Override - public void setOldIntPraticaId(long oldIntPraticaId) { - _oldIntPraticaId = oldIntPraticaId; - - if (_intPraticaRemoteModel != null) { - try { - Class clazz = _intPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setOldIntPraticaId", long.class); - - method.invoke(_intPraticaRemoteModel, oldIntPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - @Override public boolean getSospesa() { return _sospesa; @@ -1294,7 +1264,6 @@ public class IntPraticaClp extends BaseModelImpl clone.setStatusDate(getStatusDate()); clone.setEsitoControllo(getEsitoControllo()); clone.setDtPratica(getDtPratica()); - clone.setOldIntPraticaId(getOldIntPraticaId()); clone.setSospesa(getSospesa()); clone.setDtSospensione(getDtSospensione()); clone.setCodiceFiscaleDelegatoFineLavori(getCodiceFiscaleDelegatoFineLavori()); @@ -1356,7 +1325,7 @@ public class IntPraticaClp extends BaseModelImpl @Override public String toString() { - StringBundler sb = new StringBundler(65); + StringBundler sb = new StringBundler(63); sb.append("{uuid="); sb.append(getUuid()); @@ -1402,8 +1371,6 @@ public class IntPraticaClp extends BaseModelImpl sb.append(getEsitoControllo()); sb.append(", dtPratica="); sb.append(getDtPratica()); - sb.append(", oldIntPraticaId="); - sb.append(getOldIntPraticaId()); sb.append(", sospesa="); sb.append(getSospesa()); sb.append(", dtSospensione="); @@ -1429,7 +1396,7 @@ public class IntPraticaClp extends BaseModelImpl @Override public String toXmlString() { - StringBundler sb = new StringBundler(100); + StringBundler sb = new StringBundler(97); sb.append(""); sb.append("it.tref.liferay.portos.bo.model.IntPratica"); @@ -1523,10 +1490,6 @@ public class IntPraticaClp extends BaseModelImpl "dtPratica"); - sb.append( - "oldIntPraticaId"); sb.append( "sospesa private Date _statusDate; private int _esitoControllo; private Date _dtPratica; - private long _oldIntPraticaId; private boolean _sospesa; private Date _dtSospensione; private String _codiceFiscaleDelegatoFineLavori; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPraticaModel.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPraticaModel.java index ef7ea04b..725b8e55 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPraticaModel.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPraticaModel.java @@ -429,20 +429,6 @@ public interface IntPraticaModel extends BaseModel, */ public void setDtPratica(Date dtPratica); - /** - * Returns the old int pratica ID of this int pratica. - * - * @return the old int pratica ID of this int pratica - */ - public long getOldIntPraticaId(); - - /** - * Sets the old int pratica ID of this int pratica. - * - * @param oldIntPraticaId the old int pratica ID of this int pratica - */ - public void setOldIntPraticaId(long oldIntPraticaId); - /** * Returns the sospesa of this int pratica. * diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPraticaSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPraticaSoap.java index 4ce74405..10ac7aa4 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPraticaSoap.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPraticaSoap.java @@ -53,7 +53,6 @@ public class IntPraticaSoap implements Serializable { soapModel.setStatusDate(model.getStatusDate()); soapModel.setEsitoControllo(model.getEsitoControllo()); soapModel.setDtPratica(model.getDtPratica()); - soapModel.setOldIntPraticaId(model.getOldIntPraticaId()); soapModel.setSospesa(model.getSospesa()); soapModel.setDtSospensione(model.getDtSospensione()); soapModel.setCodiceFiscaleDelegatoFineLavori(model.getCodiceFiscaleDelegatoFineLavori()); @@ -295,14 +294,6 @@ public class IntPraticaSoap implements Serializable { _dtPratica = dtPratica; } - public long getOldIntPraticaId() { - return _oldIntPraticaId; - } - - public void setOldIntPraticaId(long oldIntPraticaId) { - _oldIntPraticaId = oldIntPraticaId; - } - public boolean getSospesa() { return _sospesa; } @@ -423,7 +414,6 @@ public class IntPraticaSoap implements Serializable { private Date _statusDate; private int _esitoControllo; private Date _dtPratica; - private long _oldIntPraticaId; private boolean _sospesa; private Date _dtSospensione; private String _codiceFiscaleDelegatoFineLavori; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPraticaWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPraticaWrapper.java index 4ed2114e..f835c96d 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPraticaWrapper.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/model/IntPraticaWrapper.java @@ -72,7 +72,6 @@ public class IntPraticaWrapper implements IntPratica, ModelWrapper { attributes.put("statusDate", getStatusDate()); attributes.put("esitoControllo", getEsitoControllo()); attributes.put("dtPratica", getDtPratica()); - attributes.put("oldIntPraticaId", getOldIntPraticaId()); attributes.put("sospesa", getSospesa()); attributes.put("dtSospensione", getDtSospensione()); attributes.put("codiceFiscaleDelegatoFineLavori", @@ -223,12 +222,6 @@ public class IntPraticaWrapper implements IntPratica, ModelWrapper { setDtPratica(dtPratica); } - Long oldIntPraticaId = (Long)attributes.get("oldIntPraticaId"); - - if (oldIntPraticaId != null) { - setOldIntPraticaId(oldIntPraticaId); - } - Boolean sospesa = (Boolean)attributes.get("sospesa"); if (sospesa != null) { @@ -802,26 +795,6 @@ public class IntPraticaWrapper implements IntPratica, ModelWrapper { _intPratica.setDtPratica(dtPratica); } - /** - * Returns the old int pratica ID of this int pratica. - * - * @return the old int pratica ID of this int pratica - */ - @Override - public long getOldIntPraticaId() { - return _intPratica.getOldIntPraticaId(); - } - - /** - * Sets the old int pratica ID of this int pratica. - * - * @param oldIntPraticaId the old int pratica ID of this int pratica - */ - @Override - public void setOldIntPraticaId(long oldIntPraticaId) { - _intPratica.setOldIntPraticaId(oldIntPraticaId); - } - /** * Returns the sospesa of this int pratica. * diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/CollaudoLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/CollaudoLocalService.java index bcf536de..bf139b57 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/CollaudoLocalService.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/CollaudoLocalService.java @@ -432,9 +432,4 @@ public interface CollaudoLocalService extends BaseLocalService, public int countCollaudiCompletiNotGestiti() throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.bo.model.Collaudo fetchByOldDettPraticaId( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; } \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/CollaudoLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/CollaudoLocalServiceClp.java index bd1f292f..108efa5c 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/CollaudoLocalServiceClp.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/CollaudoLocalServiceClp.java @@ -258,10 +258,6 @@ public class CollaudoLocalServiceClp implements CollaudoLocalService { _methodName47 = "countCollaudiCompletiNotGestiti"; _methodParameterTypes47 = new String[] { }; - - _methodName48 = "fetchByOldDettPraticaId"; - - _methodParameterTypes48 = new String[] { "long" }; } @Override @@ -1843,35 +1839,6 @@ public class CollaudoLocalServiceClp implements CollaudoLocalService { return ((Integer)returnObj).intValue(); } - @Override - public it.tref.liferay.portos.bo.model.Collaudo fetchByOldDettPraticaId( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName48, - _methodParameterTypes48, new Object[] { oldDettPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.bo.model.Collaudo)ClpSerializer.translateOutput(returnObj); - } - private InvokableLocalService _invokableLocalService; private String _methodName0; private String[] _methodParameterTypes0; @@ -1967,6 +1934,4 @@ public class CollaudoLocalServiceClp implements CollaudoLocalService { private String[] _methodParameterTypes46; private String _methodName47; private String[] _methodParameterTypes47; - private String _methodName48; - private String[] _methodParameterTypes48; } \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/CollaudoLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/CollaudoLocalServiceUtil.java index 12dea105..45c5bed8 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/CollaudoLocalServiceUtil.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/CollaudoLocalServiceUtil.java @@ -527,12 +527,6 @@ public class CollaudoLocalServiceUtil { return getService().countCollaudiCompletiNotGestiti(); } - public static it.tref.liferay.portos.bo.model.Collaudo fetchByOldDettPraticaId( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchByOldDettPraticaId(oldDettPraticaId); - } - public static void clearService() { _service = null; } diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/CollaudoLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/CollaudoLocalServiceWrapper.java index cf820b85..3b698da1 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/CollaudoLocalServiceWrapper.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/CollaudoLocalServiceWrapper.java @@ -562,13 +562,6 @@ public class CollaudoLocalServiceWrapper implements CollaudoLocalService, return _collaudoLocalService.countCollaudiCompletiNotGestiti(); } - @Override - public it.tref.liferay.portos.bo.model.Collaudo fetchByOldDettPraticaId( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return _collaudoLocalService.fetchByOldDettPraticaId(oldDettPraticaId); - } - /** * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} */ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalService.java index 5302c432..f6218910 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalService.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalService.java @@ -387,12 +387,6 @@ public interface DettPraticaLocalService extends BaseLocalService, long intPraticaId, long dettPraticaId) throws com.liferay.portal.kernel.exception.SystemException; - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.bo.model.DettPratica getByOldDettPraticaId( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) public java.util.List search( com.liferay.portal.kernel.search.SearchContext searchContext) @@ -425,12 +419,12 @@ public interface DettPraticaLocalService extends BaseLocalService, java.lang.String importoSpeseIstruttoria, java.util.Date dataEffettuazione, int statusTask, boolean workflowForzato, long soggettoSostituitoId, - long oldDettPraticaId, java.lang.String destinazione, - java.lang.String ag, java.lang.String descLongIntervento, - java.lang.String via, java.lang.String localita, - java.lang.String estremiCatastali, java.lang.String estremiPratCom, - long variataDa, long varianteNumero, boolean varianteSostanziale, - boolean operaConforme, boolean collaudoStatico, + java.lang.String destinazione, java.lang.String ag, + java.lang.String descLongIntervento, java.lang.String via, + java.lang.String localita, java.lang.String estremiCatastali, + java.lang.String estremiPratCom, long variataDa, long varianteNumero, + boolean varianteSostanziale, boolean operaConforme, + boolean collaudoStatico, java.lang.String codiceFiscaleDelegatoCommittente, java.lang.String codiceFiscaleDelegatoFineLavori, java.lang.String codiceFiscaleDelegatoCollaudo, @@ -869,11 +863,6 @@ public interface DettPraticaLocalService extends BaseLocalService, com.liferay.portal.kernel.exception.SystemException, java.io.IOException; - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.bo.model.DettPratica fetchByOldDettPraticaId( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - public int countVariateByIntPratica(long intPraticaId) throws com.liferay.portal.kernel.exception.SystemException; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalServiceClp.java index 69038789..12b308b3 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalServiceClp.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalServiceClp.java @@ -197,60 +197,56 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { _methodParameterTypes36 = new String[] { "long", "long" }; - _methodName37 = "getByOldDettPraticaId"; + _methodName37 = "search"; - _methodParameterTypes37 = new String[] { "long" }; - - _methodName38 = "search"; - - _methodParameterTypes38 = new String[] { + _methodParameterTypes37 = new String[] { "com.liferay.portal.kernel.search.SearchContext" }; - _methodName39 = "searchCount"; + _methodName38 = "searchCount"; - _methodParameterTypes39 = new String[] { + _methodParameterTypes38 = new String[] { "com.liferay.portal.kernel.search.SearchContext" }; - _methodName40 = "updateDettPraticaSoggetti"; + _methodName39 = "updateDettPraticaSoggetti"; - _methodParameterTypes40 = new String[] { + _methodParameterTypes39 = new String[] { "long", "long", "long", "java.lang.String", "java.lang.String", "java.lang.String", "com.liferay.portal.service.ServiceContext" }; - _methodName41 = "updateDettPratica"; + _methodName40 = "updateDettPratica"; - _methodParameterTypes41 = new String[] { + _methodParameterTypes40 = new String[] { "long", "long", "long", "long", "java.lang.String", "java.lang.String", "boolean", "boolean", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.util.Date", "int", "boolean", "long", - "long", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", - "java.lang.String", "java.lang.String", "long", "long", - "boolean", "boolean", "boolean", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", - "boolean", "boolean", "java.util.Date", "java.util.Date", - "java.util.Date", "java.lang.String", "boolean", "long", "int", + "java.lang.String", "long", "long", "boolean", "boolean", + "boolean", "java.lang.String", "java.lang.String", + "java.lang.String", "java.lang.String", "boolean", "boolean", + "java.util.Date", "java.util.Date", "java.util.Date", + "java.lang.String", "boolean", "long", "int", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", + "java.lang.String", "java.lang.String", "boolean", "boolean", + "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", + "boolean", "boolean", "boolean", "java.lang.String", + "java.lang.String", "boolean", "boolean", "boolean", "boolean", "java.lang.String", "java.lang.String", "java.lang.String", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", - "boolean", "boolean", "boolean", "boolean", "boolean", - "java.lang.String", "java.lang.String", "boolean", "boolean", - "boolean", "boolean", "java.lang.String", "java.lang.String", "java.lang.String", "boolean", "boolean", "boolean", "boolean", + "boolean", "boolean", "java.lang.String", "java.lang.String", + "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "java.lang.String", "boolean", "boolean", - "boolean", "boolean", "boolean", "boolean", "java.lang.String", - "java.lang.String", "boolean", "boolean", "boolean", "boolean", - "boolean", "boolean", "boolean", "boolean", "java.lang.String", - "boolean", "boolean", "boolean", "boolean", "boolean", - "java.lang.String", "boolean", "boolean", "boolean", "boolean", - "boolean", "boolean", "boolean", "boolean", "boolean", + "boolean", "boolean", "boolean", "java.lang.String", "boolean", + "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", + "boolean", "boolean", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", @@ -258,27 +254,26 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", - "java.lang.String", "java.lang.String", "java.util.Date", - "boolean", "int", "int", "boolean", "int", "boolean", "int", - "boolean", "java.lang.String", "java.lang.String", + "java.util.Date", "boolean", "int", "int", "boolean", "int", + "boolean", "int", "boolean", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", - "java.lang.String", "boolean", "boolean", "boolean", "boolean", + "java.lang.String", "java.lang.String", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", - "boolean", "boolean", "boolean", "boolean", "boolean", - "java.lang.String", "boolean", "boolean", "boolean", "boolean", + "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", + "boolean", "java.lang.String", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", - "boolean", "boolean", "java.lang.String", "java.lang.String", - "boolean", "java.lang.String", + "boolean", "boolean", "boolean", "java.lang.String", + "java.lang.String", "boolean", "java.lang.String", "com.liferay.portal.service.ServiceContext", "boolean" }; - _methodName42 = "updateDettPraticaDatiDomanda"; + _methodName41 = "updateDettPraticaDatiDomanda"; - _methodParameterTypes42 = new String[] { + _methodParameterTypes41 = new String[] { "long", "long", "long", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", @@ -313,9 +308,9 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { "com.liferay.portal.service.ServiceContext", "boolean" }; - _methodName43 = "updateDettPraticaGeologo"; + _methodName42 = "updateDettPraticaGeologo"; - _methodParameterTypes43 = new String[] { + _methodParameterTypes42 = new String[] { "long", "long", "long", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", @@ -327,9 +322,9 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { "com.liferay.portal.service.ServiceContext", "boolean" }; - _methodName44 = "updateDettPraticaPagamento"; + _methodName43 = "updateDettPraticaPagamento"; - _methodParameterTypes44 = new String[] { + _methodParameterTypes43 = new String[] { "long", "int", "int", "int", "int", "boolean", "boolean", "boolean", "java.lang.String", "java.lang.String", "boolean", "java.lang.String", "java.lang.String", "java.lang.String", @@ -338,39 +333,39 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { "com.liferay.portal.service.ServiceContext" }; - _methodName45 = "updateCheckPagamenti"; + _methodName44 = "updateCheckPagamenti"; - _methodParameterTypes45 = new String[] { "long", "boolean", "boolean" }; + _methodParameterTypes44 = new String[] { "long", "boolean", "boolean" }; - _methodName46 = "updateEsitoPagamento"; + _methodName45 = "updateEsitoPagamento"; - _methodParameterTypes46 = new String[] { + _methodParameterTypes45 = new String[] { "long", "long", "java.lang.String" }; - _methodName47 = "updateEsitoPagamento"; + _methodName46 = "updateEsitoPagamento"; - _methodParameterTypes47 = new String[] { + _methodParameterTypes46 = new String[] { "long", "long", "long", "java.lang.String" }; - _methodName48 = "isControlloObbligatorio"; + _methodName47 = "isControlloObbligatorio"; - _methodParameterTypes48 = new String[] { + _methodParameterTypes47 = new String[] { "it.tref.liferay.portos.bo.model.DettPratica" }; - _methodName49 = "updateEsito"; + _methodName48 = "updateEsito"; - _methodParameterTypes49 = new String[] { "long", "int" }; + _methodParameterTypes48 = new String[] { "long", "int" }; - _methodName50 = "updateEsitoIntegrazione"; + _methodName49 = "updateEsitoIntegrazione"; - _methodParameterTypes50 = new String[] { "long", "int" }; + _methodParameterTypes49 = new String[] { "long", "int" }; - _methodName51 = "pagaInvia"; + _methodName50 = "pagaInvia"; - _methodParameterTypes51 = new String[] { + _methodParameterTypes50 = new String[] { "long", "int", "int", "int", "int", "boolean", "boolean", "boolean", "java.lang.String", "boolean", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", @@ -379,149 +374,145 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { "java.lang.String", "com.liferay.portal.service.ServiceContext" }; - _methodName52 = "updateStatus"; + _methodName51 = "updateStatus"; - _methodParameterTypes52 = new String[] { + _methodParameterTypes51 = new String[] { "long", "long", "int", "com.liferay.portal.service.ServiceContext" }; - _methodName53 = "updateDettPraticaProtocollo"; + _methodName52 = "updateDettPraticaProtocollo"; - _methodParameterTypes53 = new String[] { "long", "java.lang.String" }; + _methodParameterTypes52 = new String[] { "long", "java.lang.String" }; - _methodName54 = "findByProtocollo"; + _methodName53 = "findByProtocollo"; - _methodParameterTypes54 = new String[] { + _methodParameterTypes53 = new String[] { "long", "long", "java.lang.String" }; - _methodName55 = "fetchByProtocollo"; + _methodName54 = "fetchByProtocollo"; - _methodParameterTypes55 = new String[] { + _methodParameterTypes54 = new String[] { "long", "long", "java.lang.String" }; - _methodName56 = "fetchByProtocollo"; + _methodName55 = "fetchByProtocollo"; - _methodParameterTypes56 = new String[] { "java.lang.String" }; + _methodParameterTypes55 = new String[] { "java.lang.String" }; - _methodName57 = "findByIntPraticaId"; + _methodName56 = "findByIntPraticaId"; - _methodParameterTypes57 = new String[] { "long" }; + _methodParameterTypes56 = new String[] { "long" }; - _methodName58 = "findByIntPraticaIdInviate"; + _methodName57 = "findByIntPraticaIdInviate"; - _methodParameterTypes58 = new String[] { "long", "int", "int" }; + _methodParameterTypes57 = new String[] { "long", "int", "int" }; - _methodName59 = "findPraticheCompleteNotProtocollo"; + _methodName58 = "findPraticheCompleteNotProtocollo"; - _methodParameterTypes59 = new String[] { "int", "int" }; + _methodParameterTypes58 = new String[] { "int", "int" }; - _methodName60 = "countPraticheCompleteNotProtocollo"; + _methodName59 = "countPraticheCompleteNotProtocollo"; - _methodParameterTypes60 = new String[] { }; + _methodParameterTypes59 = new String[] { }; - _methodName61 = "findPraticheCompleteNotGestite"; + _methodName60 = "findPraticheCompleteNotGestite"; - _methodParameterTypes61 = new String[] { "int", "int" }; + _methodParameterTypes60 = new String[] { "int", "int" }; - _methodName62 = "countPraticheCompleteNotGestite"; + _methodName61 = "countPraticheCompleteNotGestite"; - _methodParameterTypes62 = new String[] { }; + _methodParameterTypes61 = new String[] { }; - _methodName63 = "findByIntPraticaId_TipoIntegrazione_Completa"; + _methodName62 = "findByIntPraticaId_TipoIntegrazione_Completa"; - _methodParameterTypes63 = new String[] { + _methodParameterTypes62 = new String[] { "long", "java.lang.String", "boolean" }; - _methodName64 = "countByIntPraticaId_TipoIntegrazione_Completa"; + _methodName63 = "countByIntPraticaId_TipoIntegrazione_Completa"; - _methodParameterTypes64 = new String[] { + _methodParameterTypes63 = new String[] { "long", "java.lang.String", "boolean" }; - _methodName65 = "findPraticheCompletateNonVersionate"; + _methodName64 = "findPraticheCompletateNonVersionate"; - _methodParameterTypes65 = new String[] { "int", "int" }; + _methodParameterTypes64 = new String[] { "int", "int" }; - _methodName66 = "countPraticheCompletateNonversionate"; + _methodName65 = "countPraticheCompletateNonversionate"; - _methodParameterTypes66 = new String[] { }; + _methodParameterTypes65 = new String[] { }; - _methodName67 = "updateDettPraticaGestita"; + _methodName66 = "updateDettPraticaGestita"; - _methodParameterTypes67 = new String[] { "long", "boolean" }; + _methodParameterTypes66 = new String[] { "long", "boolean" }; - _methodName68 = "updateAsset"; + _methodName67 = "updateAsset"; - _methodParameterTypes68 = new String[] { + _methodParameterTypes67 = new String[] { "it.tref.liferay.portos.bo.model.DettPratica", "long[][]", "boolean" }; - _methodName69 = "updateStatus"; + _methodName68 = "updateStatus"; - _methodParameterTypes69 = new String[] { "long", "int" }; + _methodParameterTypes68 = new String[] { "long", "int" }; - _methodName70 = "updateSignal"; + _methodName69 = "updateSignal"; - _methodParameterTypes70 = new String[] { "long", "java.util.Date" }; + _methodParameterTypes69 = new String[] { "long", "java.util.Date" }; - _methodName71 = "countInvioSignal"; + _methodName70 = "countInvioSignal"; - _methodParameterTypes71 = new String[] { }; + _methodParameterTypes70 = new String[] { }; - _methodName72 = "getInvioSignal"; + _methodName71 = "getInvioSignal"; - _methodParameterTypes72 = new String[] { "long" }; + _methodParameterTypes71 = new String[] { "long" }; - _methodName73 = "getInviiSignal"; + _methodName72 = "getInviiSignal"; - _methodParameterTypes73 = new String[] { "int", "int" }; + _methodParameterTypes72 = new String[] { "int", "int" }; - _methodName74 = "dynamicQueryInvioSignal"; + _methodName73 = "dynamicQueryInvioSignal"; - _methodParameterTypes74 = new String[] { "java.lang.Long" }; + _methodParameterTypes73 = new String[] { "java.lang.Long" }; - _methodName75 = "findByPagamentoId"; + _methodName74 = "findByPagamentoId"; - _methodParameterTypes75 = new String[] { "long" }; + _methodParameterTypes74 = new String[] { "long" }; - _methodName76 = "updatePrincipale"; + _methodName75 = "updatePrincipale"; - _methodParameterTypes76 = new String[] { + _methodParameterTypes75 = new String[] { "long", "java.lang.String", "java.lang.String" }; - _methodName77 = "sendToVersioning"; - - _methodParameterTypes77 = new String[] { "long", "java.lang.String" }; - - _methodName78 = "getNumeroDiVersioni"; + _methodName76 = "sendToVersioning"; - _methodParameterTypes78 = new String[] { "java.lang.String" }; + _methodParameterTypes76 = new String[] { "long", "java.lang.String" }; - _methodName79 = "getVersionNumber"; + _methodName77 = "getNumeroDiVersioni"; - _methodParameterTypes79 = new String[] { "java.lang.String", "int" }; + _methodParameterTypes77 = new String[] { "java.lang.String" }; - _methodName80 = "callForChanges"; + _methodName78 = "getVersionNumber"; - _methodParameterTypes80 = new String[] { "java.lang.String" }; + _methodParameterTypes78 = new String[] { "java.lang.String", "int" }; - _methodName81 = "fetchByOldDettPraticaId"; + _methodName79 = "callForChanges"; - _methodParameterTypes81 = new String[] { "long" }; + _methodParameterTypes79 = new String[] { "java.lang.String" }; - _methodName82 = "countVariateByIntPratica"; + _methodName80 = "countVariateByIntPratica"; - _methodParameterTypes82 = new String[] { "long" }; + _methodParameterTypes80 = new String[] { "long" }; - _methodName83 = "getFirstCompletedByIntPratica"; + _methodName81 = "getFirstCompletedByIntPratica"; - _methodParameterTypes83 = new String[] { "long" }; + _methodParameterTypes81 = new String[] { "long" }; } @Override @@ -1689,40 +1680,6 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { return (java.util.List)ClpSerializer.translateOutput(returnObj); } - @Override - public it.tref.liferay.portos.bo.model.DettPratica getByOldDettPraticaId( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName37, - _methodParameterTypes37, new Object[] { oldDettPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.bo.model.DettPratica)ClpSerializer.translateOutput(returnObj); - } - @Override public java.util.List search( com.liferay.portal.kernel.search.SearchContext searchContext) @@ -1731,8 +1688,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName38, - _methodParameterTypes38, + returnObj = _invokableLocalService.invokeMethod(_methodName37, + _methodParameterTypes37, new Object[] { ClpSerializer.translateInput(searchContext) }); } catch (Throwable t) { @@ -1765,8 +1722,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName39, - _methodParameterTypes39, + returnObj = _invokableLocalService.invokeMethod(_methodName38, + _methodParameterTypes38, new Object[] { ClpSerializer.translateInput(searchContext) }); } catch (Throwable t) { @@ -1800,8 +1757,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName40, - _methodParameterTypes40, + returnObj = _invokableLocalService.invokeMethod(_methodName39, + _methodParameterTypes39, new Object[] { userId, @@ -1854,12 +1811,12 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { java.lang.String importoSpeseIstruttoria, java.util.Date dataEffettuazione, int statusTask, boolean workflowForzato, long soggettoSostituitoId, - long oldDettPraticaId, java.lang.String destinazione, - java.lang.String ag, java.lang.String descLongIntervento, - java.lang.String via, java.lang.String localita, - java.lang.String estremiCatastali, java.lang.String estremiPratCom, - long variataDa, long varianteNumero, boolean varianteSostanziale, - boolean operaConforme, boolean collaudoStatico, + java.lang.String destinazione, java.lang.String ag, + java.lang.String descLongIntervento, java.lang.String via, + java.lang.String localita, java.lang.String estremiCatastali, + java.lang.String estremiPratCom, long variataDa, long varianteNumero, + boolean varianteSostanziale, boolean operaConforme, + boolean collaudoStatico, java.lang.String codiceFiscaleDelegatoCommittente, java.lang.String codiceFiscaleDelegatoFineLavori, java.lang.String codiceFiscaleDelegatoCollaudo, @@ -1981,8 +1938,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName41, - _methodParameterTypes41, + returnObj = _invokableLocalService.invokeMethod(_methodName40, + _methodParameterTypes40, new Object[] { userId, @@ -2018,8 +1975,6 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { soggettoSostituitoId, - oldDettPraticaId, - ClpSerializer.translateInput(destinazione), ClpSerializer.translateInput(ag), @@ -2523,8 +2478,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName42, - _methodParameterTypes42, + returnObj = _invokableLocalService.invokeMethod(_methodName41, + _methodParameterTypes41, new Object[] { userId, @@ -2872,8 +2827,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName43, - _methodParameterTypes43, + returnObj = _invokableLocalService.invokeMethod(_methodName42, + _methodParameterTypes42, new Object[] { userId, @@ -2977,8 +2932,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName44, - _methodParameterTypes44, + returnObj = _invokableLocalService.invokeMethod(_methodName43, + _methodParameterTypes43, new Object[] { dettPraticaId, @@ -3060,8 +3015,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName45, - _methodParameterTypes45, + returnObj = _invokableLocalService.invokeMethod(_methodName44, + _methodParameterTypes44, new Object[] { dettPraticaId, normEsenteSpese, normEsenteBollo }); } catch (Throwable t) { @@ -3094,8 +3049,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { com.liferay.portal.kernel.exception.SystemException, java.io.IOException { try { - _invokableLocalService.invokeMethod(_methodName46, - _methodParameterTypes46, + _invokableLocalService.invokeMethod(_methodName45, + _methodParameterTypes45, new Object[] { pagamentoId, @@ -3136,8 +3091,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { com.liferay.portal.kernel.exception.SystemException, java.io.IOException { try { - _invokableLocalService.invokeMethod(_methodName47, - _methodParameterTypes47, + _invokableLocalService.invokeMethod(_methodName46, + _methodParameterTypes46, new Object[] { pagamentoId, @@ -3179,8 +3134,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName48, - _methodParameterTypes48, + returnObj = _invokableLocalService.invokeMethod(_methodName47, + _methodParameterTypes47, new Object[] { ClpSerializer.translateInput(dettPratica) }); } catch (Throwable t) { @@ -3207,8 +3162,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName49, - _methodParameterTypes49, + returnObj = _invokableLocalService.invokeMethod(_methodName48, + _methodParameterTypes48, new Object[] { dettPraticaId, stato }); } catch (Throwable t) { @@ -3247,8 +3202,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName50, - _methodParameterTypes50, + returnObj = _invokableLocalService.invokeMethod(_methodName49, + _methodParameterTypes49, new Object[] { dettPraticaId, stato }); } catch (Throwable t) { @@ -3301,8 +3256,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName51, - _methodParameterTypes51, + returnObj = _invokableLocalService.invokeMethod(_methodName50, + _methodParameterTypes50, new Object[] { dettPraticaId, @@ -3387,8 +3342,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName52, - _methodParameterTypes52, + returnObj = _invokableLocalService.invokeMethod(_methodName51, + _methodParameterTypes51, new Object[] { userId, @@ -3430,8 +3385,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName53, - _methodParameterTypes53, + returnObj = _invokableLocalService.invokeMethod(_methodName52, + _methodParameterTypes52, new Object[] { dettPraticaId, @@ -3469,8 +3424,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName54, - _methodParameterTypes54, + returnObj = _invokableLocalService.invokeMethod(_methodName53, + _methodParameterTypes53, new Object[] { companyId, @@ -3510,8 +3465,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName55, - _methodParameterTypes55, + returnObj = _invokableLocalService.invokeMethod(_methodName54, + _methodParameterTypes54, new Object[] { companyId, @@ -3551,8 +3506,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName56, - _methodParameterTypes56, + returnObj = _invokableLocalService.invokeMethod(_methodName55, + _methodParameterTypes55, new Object[] { ClpSerializer.translateInput(protocollo) }); } catch (Throwable t) { @@ -3585,8 +3540,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName57, - _methodParameterTypes57, new Object[] { intPraticaId }); + returnObj = _invokableLocalService.invokeMethod(_methodName56, + _methodParameterTypes56, new Object[] { intPraticaId }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -3614,8 +3569,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName58, - _methodParameterTypes58, + returnObj = _invokableLocalService.invokeMethod(_methodName57, + _methodParameterTypes57, new Object[] { intPraticaId, start, end }); } catch (Throwable t) { @@ -3644,8 +3599,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName59, - _methodParameterTypes59, new Object[] { start, end }); + returnObj = _invokableLocalService.invokeMethod(_methodName58, + _methodParameterTypes58, new Object[] { start, end }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -3672,8 +3627,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName60, - _methodParameterTypes60, new Object[] { }); + returnObj = _invokableLocalService.invokeMethod(_methodName59, + _methodParameterTypes59, new Object[] { }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -3701,8 +3656,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName61, - _methodParameterTypes61, new Object[] { start, end }); + returnObj = _invokableLocalService.invokeMethod(_methodName60, + _methodParameterTypes60, new Object[] { start, end }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -3729,8 +3684,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName62, - _methodParameterTypes62, new Object[] { }); + returnObj = _invokableLocalService.invokeMethod(_methodName61, + _methodParameterTypes61, new Object[] { }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -3758,8 +3713,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName63, - _methodParameterTypes63, + returnObj = _invokableLocalService.invokeMethod(_methodName62, + _methodParameterTypes62, new Object[] { intPraticaId, @@ -3794,8 +3749,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName64, - _methodParameterTypes64, + returnObj = _invokableLocalService.invokeMethod(_methodName63, + _methodParameterTypes63, new Object[] { intPraticaId, @@ -3830,8 +3785,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName65, - _methodParameterTypes65, new Object[] { start, end }); + returnObj = _invokableLocalService.invokeMethod(_methodName64, + _methodParameterTypes64, new Object[] { start, end }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -3858,8 +3813,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName66, - _methodParameterTypes66, new Object[] { }); + returnObj = _invokableLocalService.invokeMethod(_methodName65, + _methodParameterTypes65, new Object[] { }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -3887,8 +3842,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName67, - _methodParameterTypes67, + returnObj = _invokableLocalService.invokeMethod(_methodName66, + _methodParameterTypes66, new Object[] { dettPraticaId, gestita }); } catch (Throwable t) { @@ -3917,8 +3872,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { try { - _invokableLocalService.invokeMethod(_methodName68, - _methodParameterTypes68, + _invokableLocalService.invokeMethod(_methodName67, + _methodParameterTypes67, new Object[] { ClpSerializer.translateInput(dettPratica), @@ -3953,8 +3908,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { try { - _invokableLocalService.invokeMethod(_methodName69, - _methodParameterTypes69, new Object[] { dettPraticaId, status }); + _invokableLocalService.invokeMethod(_methodName68, + _methodParameterTypes68, new Object[] { dettPraticaId, status }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -3984,8 +3939,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName70, - _methodParameterTypes70, + returnObj = _invokableLocalService.invokeMethod(_methodName69, + _methodParameterTypes69, new Object[] { dettPraticaId, @@ -4017,8 +3972,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName71, - _methodParameterTypes71, new Object[] { }); + returnObj = _invokableLocalService.invokeMethod(_methodName70, + _methodParameterTypes70, new Object[] { }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -4046,8 +4001,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName72, - _methodParameterTypes72, new Object[] { dettPraticaId }); + returnObj = _invokableLocalService.invokeMethod(_methodName71, + _methodParameterTypes71, new Object[] { dettPraticaId }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -4075,8 +4030,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName73, - _methodParameterTypes73, new Object[] { start, end }); + returnObj = _invokableLocalService.invokeMethod(_methodName72, + _methodParameterTypes72, new Object[] { start, end }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -4104,8 +4059,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName74, - _methodParameterTypes74, + returnObj = _invokableLocalService.invokeMethod(_methodName73, + _methodParameterTypes73, new Object[] { ClpSerializer.translateInput(dettPraticaId) }); } catch (Throwable t) { @@ -4134,8 +4089,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName75, - _methodParameterTypes75, new Object[] { pagamentoId }); + returnObj = _invokableLocalService.invokeMethod(_methodName74, + _methodParameterTypes74, new Object[] { pagamentoId }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -4165,8 +4120,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName76, - _methodParameterTypes76, + returnObj = _invokableLocalService.invokeMethod(_methodName75, + _methodParameterTypes75, new Object[] { dettPraticaId, @@ -4202,8 +4157,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { public void sendToVersioning(long dettPraticaId, java.lang.String url) throws java.lang.Exception { try { - _invokableLocalService.invokeMethod(_methodName77, - _methodParameterTypes77, + _invokableLocalService.invokeMethod(_methodName76, + _methodParameterTypes76, new Object[] { dettPraticaId, ClpSerializer.translateInput(url) }); } catch (Throwable t) { @@ -4231,8 +4186,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName78, - _methodParameterTypes78, + returnObj = _invokableLocalService.invokeMethod(_methodName77, + _methodParameterTypes77, new Object[] { ClpSerializer.translateInput(url) }); } catch (Throwable t) { @@ -4270,8 +4225,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName79, - _methodParameterTypes79, + returnObj = _invokableLocalService.invokeMethod(_methodName78, + _methodParameterTypes78, new Object[] { ClpSerializer.translateInput(url), version }); } catch (Throwable t) { @@ -4310,8 +4265,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName80, - _methodParameterTypes80, + returnObj = _invokableLocalService.invokeMethod(_methodName79, + _methodParameterTypes79, new Object[] { ClpSerializer.translateInput(url) }); } catch (Throwable t) { @@ -4341,43 +4296,14 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { return (com.liferay.portal.kernel.json.JSONArray)ClpSerializer.translateOutput(returnObj); } - @Override - public it.tref.liferay.portos.bo.model.DettPratica fetchByOldDettPraticaId( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName81, - _methodParameterTypes81, new Object[] { oldDettPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.bo.model.DettPratica)ClpSerializer.translateOutput(returnObj); - } - @Override public int countVariateByIntPratica(long intPraticaId) throws com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName82, - _methodParameterTypes82, new Object[] { intPraticaId }); + returnObj = _invokableLocalService.invokeMethod(_methodName80, + _methodParameterTypes80, new Object[] { intPraticaId }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -4405,8 +4331,8 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName83, - _methodParameterTypes83, new Object[] { intPraticaId }); + returnObj = _invokableLocalService.invokeMethod(_methodName81, + _methodParameterTypes81, new Object[] { intPraticaId }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -4590,8 +4516,4 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService { private String[] _methodParameterTypes80; private String _methodName81; private String[] _methodParameterTypes81; - private String _methodName82; - private String[] _methodParameterTypes82; - private String _methodName83; - private String[] _methodParameterTypes83; } \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalServiceUtil.java index c2395e70..73ef7900 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalServiceUtil.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalServiceUtil.java @@ -448,13 +448,6 @@ public class DettPraticaLocalServiceUtil { dettPraticaId); } - public static it.tref.liferay.portos.bo.model.DettPratica getByOldDettPraticaId( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getByOldDettPraticaId(oldDettPraticaId); - } - public static java.util.List search( com.liferay.portal.kernel.search.SearchContext searchContext) throws com.liferay.portal.kernel.exception.PortalException, @@ -493,12 +486,12 @@ public class DettPraticaLocalServiceUtil { java.lang.String importoSpeseIstruttoria, java.util.Date dataEffettuazione, int statusTask, boolean workflowForzato, long soggettoSostituitoId, - long oldDettPraticaId, java.lang.String destinazione, - java.lang.String ag, java.lang.String descLongIntervento, - java.lang.String via, java.lang.String localita, - java.lang.String estremiCatastali, java.lang.String estremiPratCom, - long variataDa, long varianteNumero, boolean varianteSostanziale, - boolean operaConforme, boolean collaudoStatico, + java.lang.String destinazione, java.lang.String ag, + java.lang.String descLongIntervento, java.lang.String via, + java.lang.String localita, java.lang.String estremiCatastali, + java.lang.String estremiPratCom, long variataDa, long varianteNumero, + boolean varianteSostanziale, boolean operaConforme, + boolean collaudoStatico, java.lang.String codiceFiscaleDelegatoCommittente, java.lang.String codiceFiscaleDelegatoFineLavori, java.lang.String codiceFiscaleDelegatoCollaudo, @@ -622,11 +615,10 @@ public class DettPraticaLocalServiceUtil { integrazione, protocollo, tipoIntegrazione, completa, gestita, codicePagamentoOneri, causalePagamentoOneri, mezzoPagamentoOneri, importoBolli, importoSpeseIstruttoria, dataEffettuazione, - statusTask, workflowForzato, soggettoSostituitoId, - oldDettPraticaId, destinazione, ag, descLongIntervento, via, - localita, estremiCatastali, estremiPratCom, variataDa, - varianteNumero, varianteSostanziale, operaConforme, - collaudoStatico, codiceFiscaleDelegatoCommittente, + statusTask, workflowForzato, soggettoSostituitoId, destinazione, + ag, descLongIntervento, via, localita, estremiCatastali, + estremiPratCom, variataDa, varianteNumero, varianteSostanziale, + operaConforme, collaudoStatico, codiceFiscaleDelegatoCommittente, codiceFiscaleDelegatoFineLavori, codiceFiscaleDelegatoCollaudo, codiceRuoloDelegato, lavoriInEconomiaCommittente, inizioLavoriContestualeOpera, dataInizioLavoriOpera, @@ -1176,12 +1168,6 @@ public class DettPraticaLocalServiceUtil { return getService().callForChanges(url); } - public static it.tref.liferay.portos.bo.model.DettPratica fetchByOldDettPraticaId( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchByOldDettPraticaId(oldDettPraticaId); - } - public static int countVariateByIntPratica(long intPraticaId) throws com.liferay.portal.kernel.exception.SystemException { return getService().countVariateByIntPratica(intPraticaId); diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalServiceWrapper.java index 202c0940..8a0f41f4 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalServiceWrapper.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalServiceWrapper.java @@ -474,14 +474,6 @@ public class DettPraticaLocalServiceWrapper implements DettPraticaLocalService, dettPraticaId); } - @Override - public it.tref.liferay.portos.bo.model.DettPratica getByOldDettPraticaId( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _dettPraticaLocalService.getByOldDettPraticaId(oldDettPraticaId); - } - @Override public java.util.List search( com.liferay.portal.kernel.search.SearchContext searchContext) @@ -523,12 +515,12 @@ public class DettPraticaLocalServiceWrapper implements DettPraticaLocalService, java.lang.String importoSpeseIstruttoria, java.util.Date dataEffettuazione, int statusTask, boolean workflowForzato, long soggettoSostituitoId, - long oldDettPraticaId, java.lang.String destinazione, - java.lang.String ag, java.lang.String descLongIntervento, - java.lang.String via, java.lang.String localita, - java.lang.String estremiCatastali, java.lang.String estremiPratCom, - long variataDa, long varianteNumero, boolean varianteSostanziale, - boolean operaConforme, boolean collaudoStatico, + java.lang.String destinazione, java.lang.String ag, + java.lang.String descLongIntervento, java.lang.String via, + java.lang.String localita, java.lang.String estremiCatastali, + java.lang.String estremiPratCom, long variataDa, long varianteNumero, + boolean varianteSostanziale, boolean operaConforme, + boolean collaudoStatico, java.lang.String codiceFiscaleDelegatoCommittente, java.lang.String codiceFiscaleDelegatoFineLavori, java.lang.String codiceFiscaleDelegatoCollaudo, @@ -652,24 +644,23 @@ public class DettPraticaLocalServiceWrapper implements DettPraticaLocalService, tipoIntegrazione, completa, gestita, codicePagamentoOneri, causalePagamentoOneri, mezzoPagamentoOneri, importoBolli, importoSpeseIstruttoria, dataEffettuazione, statusTask, - workflowForzato, soggettoSostituitoId, oldDettPraticaId, - destinazione, ag, descLongIntervento, via, localita, - estremiCatastali, estremiPratCom, variataDa, varianteNumero, - varianteSostanziale, operaConforme, collaudoStatico, - codiceFiscaleDelegatoCommittente, codiceFiscaleDelegatoFineLavori, - codiceFiscaleDelegatoCollaudo, codiceRuoloDelegato, - lavoriInEconomiaCommittente, inizioLavoriContestualeOpera, - dataInizioLavoriOpera, dataInizioEsecuzioneOpera, - dataFineEsecuzioneOpera, metratura, lavoriPubblici, - pagamentoIdOneri, lavoriPubbliciPercentuale, numeroCivico, - dcParticelle, dcFoglio, dcAllegato, dePiani, deAltezza, - deInterrati, deSuperficie, deCostruzione, deRistrutturazione, - deUso, dePubblica, dePrivata, deUtilizzazione, dePosizioneEdificio, - deInfStradalePonte, deInfStradaleStrada, deInfStradaleAltro, - deInfIdraulicaLong, deInfIdraulicaTrasv, deInfIdraulicaAltro, - deInfOperaAccStradale, deInfOperaAccIdraulica, deInfOperaAccAltro, - deInfAltraInfrastruttura, deInfAltro, deInfAltroDesc, - dccFondazioni, dccStruttureEleMuraturePietrame, + workflowForzato, soggettoSostituitoId, destinazione, ag, + descLongIntervento, via, localita, estremiCatastali, + estremiPratCom, variataDa, varianteNumero, varianteSostanziale, + operaConforme, collaudoStatico, codiceFiscaleDelegatoCommittente, + codiceFiscaleDelegatoFineLavori, codiceFiscaleDelegatoCollaudo, + codiceRuoloDelegato, lavoriInEconomiaCommittente, + inizioLavoriContestualeOpera, dataInizioLavoriOpera, + dataInizioEsecuzioneOpera, dataFineEsecuzioneOpera, metratura, + lavoriPubblici, pagamentoIdOneri, lavoriPubbliciPercentuale, + numeroCivico, dcParticelle, dcFoglio, dcAllegato, dePiani, + deAltezza, deInterrati, deSuperficie, deCostruzione, + deRistrutturazione, deUso, dePubblica, dePrivata, deUtilizzazione, + dePosizioneEdificio, deInfStradalePonte, deInfStradaleStrada, + deInfStradaleAltro, deInfIdraulicaLong, deInfIdraulicaTrasv, + deInfIdraulicaAltro, deInfOperaAccStradale, deInfOperaAccIdraulica, + deInfOperaAccAltro, deInfAltraInfrastruttura, deInfAltro, + deInfAltroDesc, dccFondazioni, dccStruttureEleMuraturePietrame, dccStruttureEleMuratureLaterizio, dccStruttureEleMuratureMisto, dccStruttureEleMuratureStoriche, dccStruttureEleAcciaio, dccStruttureEleCA, dccStruttureEleLegno, dccStruttureEleMistoCA, @@ -1247,13 +1238,6 @@ public class DettPraticaLocalServiceWrapper implements DettPraticaLocalService, return _dettPraticaLocalService.callForChanges(url); } - @Override - public it.tref.liferay.portos.bo.model.DettPratica fetchByOldDettPraticaId( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return _dettPraticaLocalService.fetchByOldDettPraticaId(oldDettPraticaId); - } - @Override public int countVariateByIntPratica(long intPraticaId) throws com.liferay.portal.kernel.exception.SystemException { diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaService.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaService.java index c96e4b80..e7b4efff 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaService.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaService.java @@ -124,12 +124,12 @@ public interface DettPraticaService extends BaseService, InvokableService { java.lang.String importoSpeseIstruttoria, java.util.Date dataEffettuazione, int statusTask, boolean workflowForzato, long soggettoSostituitoId, - long oldDettPraticaId, java.lang.String destinazione, - java.lang.String ag, java.lang.String descLongIntervento, - java.lang.String via, java.lang.String localita, - java.lang.String estremiCatastali, java.lang.String estremiPratCom, - long variataDa, long varianteNumero, boolean varianteSostanziale, - boolean operaConforme, boolean collaudoStatico, + java.lang.String destinazione, java.lang.String ag, + java.lang.String descLongIntervento, java.lang.String via, + java.lang.String localita, java.lang.String estremiCatastali, + java.lang.String estremiPratCom, long variataDa, long varianteNumero, + boolean varianteSostanziale, boolean operaConforme, + boolean collaudoStatico, java.lang.String codiceFiscaleDelegatoCommittente, java.lang.String codiceFiscaleDelegatoFineLavori, java.lang.String codiceFiscaleDelegatoCollaudo, diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaServiceClp.java index d07cbb42..2a0878b5 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaServiceClp.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaServiceClp.java @@ -84,30 +84,30 @@ public class DettPraticaServiceClp implements DettPraticaService { "java.lang.String", "boolean", "boolean", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.util.Date", "int", "boolean", "long", - "long", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", - "java.lang.String", "java.lang.String", "long", "long", - "boolean", "boolean", "boolean", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", - "boolean", "boolean", "java.util.Date", "java.util.Date", - "java.util.Date", "java.lang.String", "boolean", "long", "int", + "java.lang.String", "long", "long", "boolean", "boolean", + "boolean", "java.lang.String", "java.lang.String", + "java.lang.String", "java.lang.String", "boolean", "boolean", + "java.util.Date", "java.util.Date", "java.util.Date", + "java.lang.String", "boolean", "long", "int", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", + "java.lang.String", "java.lang.String", "boolean", "boolean", + "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", + "boolean", "boolean", "boolean", "java.lang.String", + "java.lang.String", "boolean", "boolean", "boolean", "boolean", "java.lang.String", "java.lang.String", "java.lang.String", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", - "boolean", "boolean", "boolean", "boolean", "boolean", - "java.lang.String", "java.lang.String", "boolean", "boolean", - "boolean", "boolean", "java.lang.String", "java.lang.String", "java.lang.String", "boolean", "boolean", "boolean", "boolean", + "boolean", "boolean", "java.lang.String", "java.lang.String", + "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "java.lang.String", "boolean", "boolean", - "boolean", "boolean", "boolean", "boolean", "java.lang.String", - "java.lang.String", "boolean", "boolean", "boolean", "boolean", - "boolean", "boolean", "boolean", "boolean", "java.lang.String", - "boolean", "boolean", "boolean", "boolean", "boolean", - "java.lang.String", "boolean", "boolean", "boolean", "boolean", - "boolean", "boolean", "boolean", "boolean", "boolean", + "boolean", "boolean", "boolean", "java.lang.String", "boolean", + "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", + "boolean", "boolean", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", @@ -115,21 +115,20 @@ public class DettPraticaServiceClp implements DettPraticaService { "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", - "java.lang.String", "java.lang.String", "java.util.Date", - "boolean", "int", "int", "boolean", "int", "boolean", "int", - "boolean", "java.lang.String", "java.lang.String", + "java.util.Date", "boolean", "int", "int", "boolean", "int", + "boolean", "int", "boolean", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", - "java.lang.String", "boolean", "boolean", "boolean", "boolean", + "java.lang.String", "java.lang.String", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", - "boolean", "boolean", "boolean", "boolean", "boolean", - "java.lang.String", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", + "boolean", "java.lang.String", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", - "boolean", "boolean", "java.lang.String", "java.lang.String", - "boolean", "java.lang.String", + "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", + "boolean", "boolean", "boolean", "java.lang.String", + "java.lang.String", "boolean", "java.lang.String", "com.liferay.portal.service.ServiceContext", "boolean", "boolean", "boolean" }; @@ -583,12 +582,12 @@ public class DettPraticaServiceClp implements DettPraticaService { java.lang.String importoSpeseIstruttoria, java.util.Date dataEffettuazione, int statusTask, boolean workflowForzato, long soggettoSostituitoId, - long oldDettPraticaId, java.lang.String destinazione, - java.lang.String ag, java.lang.String descLongIntervento, - java.lang.String via, java.lang.String localita, - java.lang.String estremiCatastali, java.lang.String estremiPratCom, - long variataDa, long varianteNumero, boolean varianteSostanziale, - boolean operaConforme, boolean collaudoStatico, + java.lang.String destinazione, java.lang.String ag, + java.lang.String descLongIntervento, java.lang.String via, + java.lang.String localita, java.lang.String estremiCatastali, + java.lang.String estremiPratCom, long variataDa, long varianteNumero, + boolean varianteSostanziale, boolean operaConforme, + boolean collaudoStatico, java.lang.String codiceFiscaleDelegatoCommittente, java.lang.String codiceFiscaleDelegatoFineLavori, java.lang.String codiceFiscaleDelegatoCollaudo, @@ -748,8 +747,6 @@ public class DettPraticaServiceClp implements DettPraticaService { soggettoSostituitoId, - oldDettPraticaId, - ClpSerializer.translateInput(destinazione), ClpSerializer.translateInput(ag), diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaServiceUtil.java index 4f206d68..5d477f0e 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaServiceUtil.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaServiceUtil.java @@ -144,12 +144,12 @@ public class DettPraticaServiceUtil { java.lang.String importoSpeseIstruttoria, java.util.Date dataEffettuazione, int statusTask, boolean workflowForzato, long soggettoSostituitoId, - long oldDettPraticaId, java.lang.String destinazione, - java.lang.String ag, java.lang.String descLongIntervento, - java.lang.String via, java.lang.String localita, - java.lang.String estremiCatastali, java.lang.String estremiPratCom, - long variataDa, long varianteNumero, boolean varianteSostanziale, - boolean operaConforme, boolean collaudoStatico, + java.lang.String destinazione, java.lang.String ag, + java.lang.String descLongIntervento, java.lang.String via, + java.lang.String localita, java.lang.String estremiCatastali, + java.lang.String estremiPratCom, long variataDa, long varianteNumero, + boolean varianteSostanziale, boolean operaConforme, + boolean collaudoStatico, java.lang.String codiceFiscaleDelegatoCommittente, java.lang.String codiceFiscaleDelegatoFineLavori, java.lang.String codiceFiscaleDelegatoCollaudo, @@ -274,24 +274,23 @@ public class DettPraticaServiceUtil { integrazione, protocollo, tipoIntegrazione, completa, gestita, codicePagamento, causalePagamento, mezzoPagamento, importoBolli, importoSpeseIstruttoria, dataEffettuazione, statusTask, - workflowForzato, soggettoSostituitoId, oldDettPraticaId, - destinazione, ag, descLongIntervento, via, localita, - estremiCatastali, estremiPratCom, variataDa, varianteNumero, - varianteSostanziale, operaConforme, collaudoStatico, - codiceFiscaleDelegatoCommittente, codiceFiscaleDelegatoFineLavori, - codiceFiscaleDelegatoCollaudo, codiceRuoloDelegato, - lavoriInEconomiaCommittente, inizioLavoriContestualeOpera, - dataInizioLavoriOpera, dataInizioEsecuzioneOpera, - dataFineEsecuzioneOpera, metratura, lavoriPubblici, pagamentoId, - lavoriPubbliciPercentuale, numeroCivico, dcParticelle, dcFoglio, - dcAllegato, dePiani, deAltezza, deInterrati, deSuperficie, - deCostruzione, deRistrutturazione, deUso, dePubblica, dePrivata, - deUtilizzazione, dePosizioneEdificio, deInfStradalePonte, - deInfStradaleStrada, deInfStradaleAltro, deInfIdraulicaLong, - deInfIdraulicaTrasv, deInfIdraulicaAltro, deInfOperaAccStradale, - deInfOperaAccIdraulica, deInfOperaAccAltro, - deInfAltraInfrastruttura, deInfAltro, deInfAltroDesc, - dccFondazioni, dccStruttureEleMuraturePietrame, + workflowForzato, soggettoSostituitoId, destinazione, ag, + descLongIntervento, via, localita, estremiCatastali, + estremiPratCom, variataDa, varianteNumero, varianteSostanziale, + operaConforme, collaudoStatico, codiceFiscaleDelegatoCommittente, + codiceFiscaleDelegatoFineLavori, codiceFiscaleDelegatoCollaudo, + codiceRuoloDelegato, lavoriInEconomiaCommittente, + inizioLavoriContestualeOpera, dataInizioLavoriOpera, + dataInizioEsecuzioneOpera, dataFineEsecuzioneOpera, metratura, + lavoriPubblici, pagamentoId, lavoriPubbliciPercentuale, + numeroCivico, dcParticelle, dcFoglio, dcAllegato, dePiani, + deAltezza, deInterrati, deSuperficie, deCostruzione, + deRistrutturazione, deUso, dePubblica, dePrivata, deUtilizzazione, + dePosizioneEdificio, deInfStradalePonte, deInfStradaleStrada, + deInfStradaleAltro, deInfIdraulicaLong, deInfIdraulicaTrasv, + deInfIdraulicaAltro, deInfOperaAccStradale, deInfOperaAccIdraulica, + deInfOperaAccAltro, deInfAltraInfrastruttura, deInfAltro, + deInfAltroDesc, dccFondazioni, dccStruttureEleMuraturePietrame, dccStruttureEleMuratureLaterizio, dccStruttureEleMuratureMisto, dccStruttureEleMuratureStoriche, dccStruttureEleAcciaio, dccStruttureEleCA, dccStruttureEleLegno, dccStruttureEleMistoCA, diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaServiceWrapper.java index f1a0fa0c..78eaefeb 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaServiceWrapper.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaServiceWrapper.java @@ -144,12 +144,12 @@ public class DettPraticaServiceWrapper implements DettPraticaService, java.lang.String importoSpeseIstruttoria, java.util.Date dataEffettuazione, int statusTask, boolean workflowForzato, long soggettoSostituitoId, - long oldDettPraticaId, java.lang.String destinazione, - java.lang.String ag, java.lang.String descLongIntervento, - java.lang.String via, java.lang.String localita, - java.lang.String estremiCatastali, java.lang.String estremiPratCom, - long variataDa, long varianteNumero, boolean varianteSostanziale, - boolean operaConforme, boolean collaudoStatico, + java.lang.String destinazione, java.lang.String ag, + java.lang.String descLongIntervento, java.lang.String via, + java.lang.String localita, java.lang.String estremiCatastali, + java.lang.String estremiPratCom, long variataDa, long varianteNumero, + boolean varianteSostanziale, boolean operaConforme, + boolean collaudoStatico, java.lang.String codiceFiscaleDelegatoCommittente, java.lang.String codiceFiscaleDelegatoFineLavori, java.lang.String codiceFiscaleDelegatoCollaudo, @@ -273,11 +273,10 @@ public class DettPraticaServiceWrapper implements DettPraticaService, intPraticaId, integrazione, protocollo, tipoIntegrazione, completa, gestita, codicePagamento, causalePagamento, mezzoPagamento, importoBolli, importoSpeseIstruttoria, dataEffettuazione, - statusTask, workflowForzato, soggettoSostituitoId, - oldDettPraticaId, destinazione, ag, descLongIntervento, via, - localita, estremiCatastali, estremiPratCom, variataDa, - varianteNumero, varianteSostanziale, operaConforme, - collaudoStatico, codiceFiscaleDelegatoCommittente, + statusTask, workflowForzato, soggettoSostituitoId, destinazione, + ag, descLongIntervento, via, localita, estremiCatastali, + estremiPratCom, variataDa, varianteNumero, varianteSostanziale, + operaConforme, collaudoStatico, codiceFiscaleDelegatoCommittente, codiceFiscaleDelegatoFineLavori, codiceFiscaleDelegatoCollaudo, codiceRuoloDelegato, lavoriInEconomiaCommittente, inizioLavoriContestualeOpera, dataInizioLavoriOpera, diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalService.java index 6d3402c0..54d6b4ce 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalService.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalService.java @@ -470,9 +470,4 @@ public interface FineLavoriLocalService extends BaseLocalService, java.lang.String codiceFiscaleDelegatoCollaudo) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.bo.model.FineLavori fetchByOldDettPraticaId( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; } \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceClp.java index 6b5798d6..1ddfe738 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceClp.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceClp.java @@ -295,10 +295,6 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService { _methodName54 = "findIntPraticaByFineLavori"; _methodParameterTypes54 = new String[] { "java.lang.String" }; - - _methodName55 = "fetchByOldDettPraticaId"; - - _methodParameterTypes55 = new String[] { "long" }; } @Override @@ -2148,35 +2144,6 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService { return (java.util.List)ClpSerializer.translateOutput(returnObj); } - @Override - public it.tref.liferay.portos.bo.model.FineLavori fetchByOldDettPraticaId( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName55, - _methodParameterTypes55, new Object[] { oldDettPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.bo.model.FineLavori)ClpSerializer.translateOutput(returnObj); - } - private InvokableLocalService _invokableLocalService; private String _methodName0; private String[] _methodParameterTypes0; @@ -2286,6 +2253,4 @@ public class FineLavoriLocalServiceClp implements FineLavoriLocalService { private String[] _methodParameterTypes53; private String _methodName54; private String[] _methodParameterTypes54; - private String _methodName55; - private String[] _methodParameterTypes55; } \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceUtil.java index 6995b2d6..9679fdb9 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceUtil.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceUtil.java @@ -585,12 +585,6 @@ public class FineLavoriLocalServiceUtil { .findIntPraticaByFineLavori(codiceFiscaleDelegatoCollaudo); } - public static it.tref.liferay.portos.bo.model.FineLavori fetchByOldDettPraticaId( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchByOldDettPraticaId(oldDettPraticaId); - } - public static void clearService() { _service = null; } diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceWrapper.java index 50579a5c..633caf83 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceWrapper.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/FineLavoriLocalServiceWrapper.java @@ -631,13 +631,6 @@ public class FineLavoriLocalServiceWrapper implements FineLavoriLocalService, return _fineLavoriLocalService.findIntPraticaByFineLavori(codiceFiscaleDelegatoCollaudo); } - @Override - public it.tref.liferay.portos.bo.model.FineLavori fetchByOldDettPraticaId( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return _fineLavoriLocalService.fetchByOldDettPraticaId(oldDettPraticaId); - } - /** * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} */ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalService.java index 238b7330..b6946daf 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalService.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalService.java @@ -350,7 +350,7 @@ public interface IntPraticaLocalService extends BaseLocalService, long territorioId, java.lang.String tipoProcedura, java.util.Date dtSorteggio, java.lang.String statoPratica, java.lang.String numeroProgetto, boolean validata, int esitoControllo, - java.util.Date dtPratica, long oldIntPraticaId, + java.util.Date dtPratica, com.liferay.portal.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException; @@ -419,11 +419,6 @@ public interface IntPraticaLocalService extends BaseLocalService, public int countByC_UserId(long companyId, long userId) throws com.liferay.portal.kernel.exception.SystemException; - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.bo.model.IntPratica fetchByOldIntPraticaId( - long oldIntPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - public void updateStatus(long intPraticaId, int status) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceClp.java index 2b5a9a99..47775a09 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceClp.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceClp.java @@ -151,7 +151,7 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { _methodParameterTypes26 = new String[] { "long", "java.lang.String", "java.lang.String", "long", "java.lang.String", "java.util.Date", "java.lang.String", - "java.lang.String", "boolean", "int", "java.util.Date", "long", + "java.lang.String", "boolean", "int", "java.util.Date", "com.liferay.portal.service.ServiceContext" }; @@ -223,239 +223,235 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { _methodParameterTypes40 = new String[] { "long", "long" }; - _methodName41 = "fetchByOldIntPraticaId"; + _methodName41 = "updateStatus"; - _methodParameterTypes41 = new String[] { "long" }; + _methodParameterTypes41 = new String[] { "long", "int" }; - _methodName42 = "updateStatus"; + _methodName42 = "findByCompanyIdSoggettoProgetti"; - _methodParameterTypes42 = new String[] { "long", "int" }; + _methodParameterTypes42 = new String[] { "long", "long" }; - _methodName43 = "findByCompanyIdSoggettoProgetti"; + _methodName43 = "countByCompanyIdSoggettoProgetti"; _methodParameterTypes43 = new String[] { "long", "long" }; - _methodName44 = "countByCompanyIdSoggettoProgetti"; + _methodName44 = "findByCompanyIdSoggettoArchivio"; _methodParameterTypes44 = new String[] { "long", "long" }; - _methodName45 = "findByCompanyIdSoggettoArchivio"; + _methodName45 = "countByCompanyIdSoggettoArchivio"; _methodParameterTypes45 = new String[] { "long", "long" }; - _methodName46 = "countByCompanyIdSoggettoArchivio"; + _methodName46 = "findByCompanyIdSoggettoAltriProgetti"; - _methodParameterTypes46 = new String[] { "long", "long" }; + _methodParameterTypes46 = new String[] { "long", "long", "int", "int" }; - _methodName47 = "findByCompanyIdSoggettoAltriProgetti"; + _methodName47 = "countByCompanyIdSoggettoAltriProgetti"; - _methodParameterTypes47 = new String[] { "long", "long", "int", "int" }; + _methodParameterTypes47 = new String[] { "long", "long" }; - _methodName48 = "countByCompanyIdSoggettoAltriProgetti"; + _methodName48 = "findByCanAddFineLavori"; - _methodParameterTypes48 = new String[] { "long", "long" }; - - _methodName49 = "findByCanAddFineLavori"; - - _methodParameterTypes49 = new String[] { + _methodParameterTypes48 = new String[] { "long", "java.lang.String", "int", "int" }; - _methodName50 = "countByCanAddFineLavori"; + _methodName49 = "countByCanAddFineLavori"; - _methodParameterTypes50 = new String[] { "long", "java.lang.String" }; + _methodParameterTypes49 = new String[] { "long", "java.lang.String" }; - _methodName51 = "findByCanAddCollaudo"; + _methodName50 = "findByCanAddCollaudo"; - _methodParameterTypes51 = new String[] { + _methodParameterTypes50 = new String[] { "long", "java.lang.String", "int", "int" }; - _methodName52 = "countByCanAddCollaudo"; + _methodName51 = "countByCanAddCollaudo"; - _methodParameterTypes52 = new String[] { "long", "java.lang.String" }; + _methodParameterTypes51 = new String[] { "long", "java.lang.String" }; - _methodName53 = "search"; + _methodName52 = "search"; - _methodParameterTypes53 = new String[] { "java.util.List", "int", "int" }; + _methodParameterTypes52 = new String[] { "java.util.List", "int", "int" }; - _methodName54 = "countSearch"; + _methodName53 = "countSearch"; - _methodParameterTypes54 = new String[] { "java.util.List" }; + _methodParameterTypes53 = new String[] { "java.util.List" }; - _methodName55 = "searchWithIntPraticaId"; + _methodName54 = "searchWithIntPraticaId"; - _methodParameterTypes55 = new String[] { + _methodParameterTypes54 = new String[] { "java.util.List", "long", "int", "int" }; - _methodName56 = "countSearchWithIntPraticaId"; + _methodName55 = "countSearchWithIntPraticaId"; - _methodParameterTypes56 = new String[] { "java.util.List", "long" }; + _methodParameterTypes55 = new String[] { "java.util.List", "long" }; - _methodName57 = "allegaFileAnnullamento"; + _methodName56 = "allegaFileAnnullamento"; - _methodParameterTypes57 = new String[] { + _methodParameterTypes56 = new String[] { "long", "byte[][]", "java.lang.String", "java.lang.String", "com.liferay.portal.service.ServiceContext" }; - _methodName58 = "generateFileAnnullamento"; + _methodName57 = "generateFileAnnullamento"; - _methodParameterTypes58 = new String[] { + _methodParameterTypes57 = new String[] { "long", "com.liferay.portal.service.ServiceContext" }; - _methodName59 = "deleteFileAnnullamento"; + _methodName58 = "deleteFileAnnullamento"; - _methodParameterTypes59 = new String[] { "long" }; + _methodParameterTypes58 = new String[] { "long" }; - _methodName60 = "completeAnnullamento"; + _methodName59 = "completeAnnullamento"; - _methodParameterTypes60 = new String[] { "long" }; + _methodParameterTypes59 = new String[] { "long" }; - _methodName61 = "cambiaIstruttore"; + _methodName60 = "cambiaIstruttore"; - _methodParameterTypes61 = new String[] { "long", "long", "long" }; + _methodParameterTypes60 = new String[] { "long", "long", "long" }; - _methodName62 = "countCaricoLavoroCF"; + _methodName61 = "countCaricoLavoroCF"; - _methodParameterTypes62 = new String[] { + _methodParameterTypes61 = new String[] { "long", "java.lang.String", "java.lang.Boolean", "java.lang.Long[][]" }; - _methodName63 = "countCaricoLavoroIstruttore"; + _methodName62 = "countCaricoLavoroIstruttore"; - _methodParameterTypes63 = new String[] { + _methodParameterTypes62 = new String[] { "long", "java.lang.String", "java.lang.Boolean" }; - _methodName64 = "generateReportPratica"; + _methodName63 = "generateReportPratica"; - _methodParameterTypes64 = new String[] { + _methodParameterTypes63 = new String[] { "it.tref.liferay.portos.bo.model.IntPratica", "long" }; - _methodName65 = "updateModifiedDate"; + _methodName64 = "updateModifiedDate"; - _methodParameterTypes65 = new String[] { "long", "java.util.Date" }; + _methodParameterTypes64 = new String[] { "long", "java.util.Date" }; - _methodName66 = "countAutorizzazione"; + _methodName65 = "countAutorizzazione"; - _methodParameterTypes66 = new String[] { + _methodParameterTypes65 = new String[] { "java.util.Date", "java.util.Date", "long" }; - _methodName67 = "countSanatorie"; + _methodName66 = "countSanatorie"; - _methodParameterTypes67 = new String[] { + _methodParameterTypes66 = new String[] { "java.util.Date", "java.util.Date", "long" }; - _methodName68 = "countOpereMinoreImportanza"; + _methodName67 = "countOpereMinoreImportanza"; - _methodParameterTypes68 = new String[] { + _methodParameterTypes67 = new String[] { "java.util.Date", "java.util.Date", "long" }; - _methodName69 = "countDeposito"; + _methodName68 = "countDeposito"; - _methodParameterTypes69 = new String[] { + _methodParameterTypes68 = new String[] { "java.util.Date", "java.util.Date", "long", "boolean" }; - _methodName70 = "countVidimate"; + _methodName69 = "countVidimate"; - _methodParameterTypes70 = new String[] { + _methodParameterTypes69 = new String[] { "java.util.Date", "java.util.Date", "long", "java.lang.String", "boolean" }; - _methodName71 = "countControllo"; + _methodName70 = "countControllo"; - _methodParameterTypes71 = new String[] { + _methodParameterTypes70 = new String[] { "java.util.Date", "java.util.Date", "long", "java.lang.String", "boolean" }; - _methodName72 = "importaVecchiFilesFascicolo"; + _methodName71 = "importaVecchiFilesFascicolo"; - _methodParameterTypes72 = new String[] { "long", "int", "int" }; + _methodParameterTypes71 = new String[] { "long", "int", "int" }; - _methodName73 = "findIntPraticaNotExist"; + _methodName72 = "findIntPraticaNotExist"; - _methodParameterTypes73 = new String[] { }; + _methodParameterTypes72 = new String[] { }; - _methodName74 = "riparaWorkflow"; + _methodName73 = "riparaWorkflow"; - _methodParameterTypes74 = new String[] { }; + _methodParameterTypes73 = new String[] { }; - _methodName75 = "reIndexFascicolo"; + _methodName74 = "reIndexFascicolo"; - _methodParameterTypes75 = new String[] { + _methodParameterTypes74 = new String[] { "it.tref.liferay.portos.bo.model.IntPratica", "long" }; - _methodName76 = "reIndexFasciolo"; + _methodName75 = "reIndexFasciolo"; - _methodParameterTypes76 = new String[] { "java.lang.String", "long" }; + _methodParameterTypes75 = new String[] { "java.lang.String", "long" }; - _methodName77 = "reIndexFasciolo"; + _methodName76 = "reIndexFasciolo"; - _methodParameterTypes77 = new String[] { "long", "long" }; + _methodParameterTypes76 = new String[] { "long", "long" }; - _methodName78 = "trovaDoppioni"; + _methodName77 = "trovaDoppioni"; - _methodParameterTypes78 = new String[] { }; + _methodParameterTypes77 = new String[] { }; - _methodName79 = "findByNumeroProgetto"; + _methodName78 = "findByNumeroProgetto"; - _methodParameterTypes79 = new String[] { "java.lang.String" }; + _methodParameterTypes78 = new String[] { "java.lang.String" }; - _methodName80 = "findByTerritorioId"; + _methodName79 = "findByTerritorioId"; - _methodParameterTypes80 = new String[] { "long" }; + _methodParameterTypes79 = new String[] { "long" }; - _methodName81 = "reportTempisticheIstruttorieAvvisiAutorizzazioni"; + _methodName80 = "reportTempisticheIstruttorieAvvisiAutorizzazioni"; - _methodParameterTypes81 = new String[] { + _methodParameterTypes80 = new String[] { "java.util.Date", "java.util.Date", "long", "java.lang.String" }; - _methodName82 = "reportTempisticheIstruttorieCalcolaDataSorteggio"; + _methodName81 = "reportTempisticheIstruttorieCalcolaDataSorteggio"; - _methodParameterTypes82 = new String[] { + _methodParameterTypes81 = new String[] { "java.util.Date", "java.util.Date", "long" }; - _methodName83 = "reportPraticheVidimate"; + _methodName82 = "reportPraticheVidimate"; - _methodParameterTypes83 = new String[] { + _methodParameterTypes82 = new String[] { "java.util.Date", "java.util.Date", "long", "java.lang.String" }; - _methodName84 = "reportPraticheVidimateCalcolaDataSorteggio"; + _methodName83 = "reportPraticheVidimateCalcolaDataSorteggio"; - _methodParameterTypes84 = new String[] { + _methodParameterTypes83 = new String[] { "java.util.Date", "java.util.Date", "long" }; - _methodName85 = "countIngressiAutorizzazioni"; + _methodName84 = "countIngressiAutorizzazioni"; - _methodParameterTypes85 = new String[] { + _methodParameterTypes84 = new String[] { "java.util.Date", "java.util.Date", "long" }; - _methodName86 = "countIngressiDepositi"; + _methodName85 = "countIngressiDepositi"; - _methodParameterTypes86 = new String[] { + _methodParameterTypes85 = new String[] { "java.util.Date", "java.util.Date", "long" }; - _methodName87 = "countIngressiCO"; + _methodName86 = "countIngressiCO"; - _methodParameterTypes87 = new String[] { + _methodParameterTypes86 = new String[] { "java.util.Date", "java.util.Date", "long" }; } @@ -1286,7 +1282,7 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { long territorioId, java.lang.String tipoProcedura, java.util.Date dtSorteggio, java.lang.String statoPratica, java.lang.String numeroProgetto, boolean validata, int esitoControllo, - java.util.Date dtPratica, long oldIntPraticaId, + java.util.Date dtPratica, com.liferay.portal.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { @@ -1318,8 +1314,6 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { ClpSerializer.translateInput(dtPratica), - oldIntPraticaId, - ClpSerializer.translateInput(serviceContext) }); } @@ -1832,42 +1826,13 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { return ((Integer)returnObj).intValue(); } - @Override - public it.tref.liferay.portos.bo.model.IntPratica fetchByOldIntPraticaId( - long oldIntPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName41, - _methodParameterTypes41, new Object[] { oldIntPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.bo.model.IntPratica)ClpSerializer.translateOutput(returnObj); - } - @Override public void updateStatus(long intPraticaId, int status) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { try { - _invokableLocalService.invokeMethod(_methodName42, - _methodParameterTypes42, new Object[] { intPraticaId, status }); + _invokableLocalService.invokeMethod(_methodName41, + _methodParameterTypes41, new Object[] { intPraticaId, status }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -1898,8 +1863,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName43, - _methodParameterTypes43, + returnObj = _invokableLocalService.invokeMethod(_methodName42, + _methodParameterTypes42, new Object[] { companyId, soggettoId }); } catch (Throwable t) { @@ -1932,8 +1897,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName44, - _methodParameterTypes44, + returnObj = _invokableLocalService.invokeMethod(_methodName43, + _methodParameterTypes43, new Object[] { companyId, soggettoId }); } catch (Throwable t) { @@ -1967,8 +1932,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName45, - _methodParameterTypes45, + returnObj = _invokableLocalService.invokeMethod(_methodName44, + _methodParameterTypes44, new Object[] { companyId, soggettoId }); } catch (Throwable t) { @@ -2001,8 +1966,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName46, - _methodParameterTypes46, + returnObj = _invokableLocalService.invokeMethod(_methodName45, + _methodParameterTypes45, new Object[] { companyId, soggettoId }); } catch (Throwable t) { @@ -2036,8 +2001,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName47, - _methodParameterTypes47, + returnObj = _invokableLocalService.invokeMethod(_methodName46, + _methodParameterTypes46, new Object[] { companyId, soggettoId, start, end }); } catch (Throwable t) { @@ -2071,8 +2036,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName48, - _methodParameterTypes48, + returnObj = _invokableLocalService.invokeMethod(_methodName47, + _methodParameterTypes47, new Object[] { companyId, soggettoId }); } catch (Throwable t) { @@ -2106,8 +2071,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName49, - _methodParameterTypes49, + returnObj = _invokableLocalService.invokeMethod(_methodName48, + _methodParameterTypes48, new Object[] { companyId, @@ -2149,8 +2114,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName50, - _methodParameterTypes50, + returnObj = _invokableLocalService.invokeMethod(_methodName49, + _methodParameterTypes49, new Object[] { companyId, @@ -2188,8 +2153,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName51, - _methodParameterTypes51, + returnObj = _invokableLocalService.invokeMethod(_methodName50, + _methodParameterTypes50, new Object[] { companyId, @@ -2231,8 +2196,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName52, - _methodParameterTypes52, + returnObj = _invokableLocalService.invokeMethod(_methodName51, + _methodParameterTypes51, new Object[] { companyId, @@ -2269,8 +2234,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName53, - _methodParameterTypes53, + returnObj = _invokableLocalService.invokeMethod(_methodName52, + _methodParameterTypes52, new Object[] { ClpSerializer.translateInput(groupIds), @@ -2304,8 +2269,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName54, - _methodParameterTypes54, + returnObj = _invokableLocalService.invokeMethod(_methodName53, + _methodParameterTypes53, new Object[] { ClpSerializer.translateInput(groupIds) }); } catch (Throwable t) { @@ -2334,8 +2299,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName55, - _methodParameterTypes55, + returnObj = _invokableLocalService.invokeMethod(_methodName54, + _methodParameterTypes54, new Object[] { ClpSerializer.translateInput(groupIds), @@ -2372,8 +2337,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName56, - _methodParameterTypes56, + returnObj = _invokableLocalService.invokeMethod(_methodName55, + _methodParameterTypes55, new Object[] { ClpSerializer.translateInput(groupIds), @@ -2410,8 +2375,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName57, - _methodParameterTypes57, + returnObj = _invokableLocalService.invokeMethod(_methodName56, + _methodParameterTypes56, new Object[] { intPraticaId, @@ -2461,8 +2426,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName58, - _methodParameterTypes58, + returnObj = _invokableLocalService.invokeMethod(_methodName57, + _methodParameterTypes57, new Object[] { intPraticaId, @@ -2501,8 +2466,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { try { - _invokableLocalService.invokeMethod(_methodName59, - _methodParameterTypes59, + _invokableLocalService.invokeMethod(_methodName58, + _methodParameterTypes58, new Object[] { docPraticaAnnullamentoId }); } catch (Throwable t) { @@ -2531,8 +2496,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { try { - _invokableLocalService.invokeMethod(_methodName60, - _methodParameterTypes60, new Object[] { intPraticaId }); + _invokableLocalService.invokeMethod(_methodName59, + _methodParameterTypes59, new Object[] { intPraticaId }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -2561,8 +2526,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { try { - _invokableLocalService.invokeMethod(_methodName61, - _methodParameterTypes61, + _invokableLocalService.invokeMethod(_methodName60, + _methodParameterTypes60, new Object[] { intPraticaId, controlloPraticaId, istruttoreId }); } catch (Throwable t) { @@ -2595,8 +2560,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName62, - _methodParameterTypes62, + returnObj = _invokableLocalService.invokeMethod(_methodName61, + _methodParameterTypes61, new Object[] { ispettoreId, @@ -2637,8 +2602,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName63, - _methodParameterTypes63, + returnObj = _invokableLocalService.invokeMethod(_methodName62, + _methodParameterTypes62, new Object[] { ispettoreId, @@ -2674,8 +2639,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName64, - _methodParameterTypes64, + returnObj = _invokableLocalService.invokeMethod(_methodName63, + _methodParameterTypes63, new Object[] { ClpSerializer.translateInput(intPratica), @@ -2713,8 +2678,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName65, - _methodParameterTypes65, + returnObj = _invokableLocalService.invokeMethod(_methodName64, + _methodParameterTypes64, new Object[] { intPraticaId, @@ -2751,8 +2716,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName66, - _methodParameterTypes66, + returnObj = _invokableLocalService.invokeMethod(_methodName65, + _methodParameterTypes65, new Object[] { ClpSerializer.translateInput(dtMin), @@ -2787,8 +2752,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName67, - _methodParameterTypes67, + returnObj = _invokableLocalService.invokeMethod(_methodName66, + _methodParameterTypes66, new Object[] { ClpSerializer.translateInput(dtMin), @@ -2823,8 +2788,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName68, - _methodParameterTypes68, + returnObj = _invokableLocalService.invokeMethod(_methodName67, + _methodParameterTypes67, new Object[] { ClpSerializer.translateInput(dtMin), @@ -2859,8 +2824,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName69, - _methodParameterTypes69, + returnObj = _invokableLocalService.invokeMethod(_methodName68, + _methodParameterTypes68, new Object[] { ClpSerializer.translateInput(dtMin), @@ -2897,8 +2862,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName70, - _methodParameterTypes70, + returnObj = _invokableLocalService.invokeMethod(_methodName69, + _methodParameterTypes69, new Object[] { ClpSerializer.translateInput(dtMin), @@ -2938,8 +2903,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName71, - _methodParameterTypes71, + returnObj = _invokableLocalService.invokeMethod(_methodName70, + _methodParameterTypes70, new Object[] { ClpSerializer.translateInput(dtMin), @@ -2978,8 +2943,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName72, - _methodParameterTypes72, + returnObj = _invokableLocalService.invokeMethod(_methodName71, + _methodParameterTypes71, new Object[] { companyId, start, end }); } catch (Throwable t) { @@ -3007,8 +2972,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName73, - _methodParameterTypes73, new Object[] { }); + returnObj = _invokableLocalService.invokeMethod(_methodName72, + _methodParameterTypes72, new Object[] { }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -3035,8 +3000,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName74, - _methodParameterTypes74, new Object[] { }); + returnObj = _invokableLocalService.invokeMethod(_methodName73, + _methodParameterTypes73, new Object[] { }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -3061,8 +3026,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { public void reIndexFascicolo( it.tref.liferay.portos.bo.model.IntPratica intPratica, long companyId) { try { - _invokableLocalService.invokeMethod(_methodName75, - _methodParameterTypes75, + _invokableLocalService.invokeMethod(_methodName74, + _methodParameterTypes74, new Object[] { ClpSerializer.translateInput(intPratica), companyId }); } catch (Throwable t) { @@ -3082,8 +3047,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { public void reIndexFasciolo(java.lang.String numeroProgetto, long companyId) throws com.liferay.portal.kernel.exception.SystemException { try { - _invokableLocalService.invokeMethod(_methodName76, - _methodParameterTypes76, + _invokableLocalService.invokeMethod(_methodName75, + _methodParameterTypes75, new Object[] { ClpSerializer.translateInput(numeroProgetto), @@ -3112,8 +3077,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { try { - _invokableLocalService.invokeMethod(_methodName77, - _methodParameterTypes77, + _invokableLocalService.invokeMethod(_methodName76, + _methodParameterTypes76, new Object[] { intPraticaId, companyId }); } catch (Throwable t) { @@ -3143,8 +3108,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName78, - _methodParameterTypes78, new Object[] { }); + returnObj = _invokableLocalService.invokeMethod(_methodName77, + _methodParameterTypes77, new Object[] { }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -3172,8 +3137,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName79, - _methodParameterTypes79, + returnObj = _invokableLocalService.invokeMethod(_methodName78, + _methodParameterTypes78, new Object[] { ClpSerializer.translateInput(numeroProgetto) }); } catch (Throwable t) { @@ -3202,8 +3167,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName80, - _methodParameterTypes80, new Object[] { territorioId }); + returnObj = _invokableLocalService.invokeMethod(_methodName79, + _methodParameterTypes79, new Object[] { territorioId }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); @@ -3232,8 +3197,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName81, - _methodParameterTypes81, + returnObj = _invokableLocalService.invokeMethod(_methodName80, + _methodParameterTypes80, new Object[] { ClpSerializer.translateInput(dtMin), @@ -3270,8 +3235,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName82, - _methodParameterTypes82, + returnObj = _invokableLocalService.invokeMethod(_methodName81, + _methodParameterTypes81, new Object[] { ClpSerializer.translateInput(dtMin), @@ -3307,8 +3272,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName83, - _methodParameterTypes83, + returnObj = _invokableLocalService.invokeMethod(_methodName82, + _methodParameterTypes82, new Object[] { ClpSerializer.translateInput(dtMin), @@ -3345,8 +3310,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName84, - _methodParameterTypes84, + returnObj = _invokableLocalService.invokeMethod(_methodName83, + _methodParameterTypes83, new Object[] { ClpSerializer.translateInput(dtMin), @@ -3381,8 +3346,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName85, - _methodParameterTypes85, + returnObj = _invokableLocalService.invokeMethod(_methodName84, + _methodParameterTypes84, new Object[] { ClpSerializer.translateInput(dtMin), @@ -3417,8 +3382,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName86, - _methodParameterTypes86, + returnObj = _invokableLocalService.invokeMethod(_methodName85, + _methodParameterTypes85, new Object[] { ClpSerializer.translateInput(dtMin), @@ -3453,8 +3418,8 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { Object returnObj = null; try { - returnObj = _invokableLocalService.invokeMethod(_methodName87, - _methodParameterTypes87, + returnObj = _invokableLocalService.invokeMethod(_methodName86, + _methodParameterTypes86, new Object[] { ClpSerializer.translateInput(dtMin), @@ -3655,6 +3620,4 @@ public class IntPraticaLocalServiceClp implements IntPraticaLocalService { private String[] _methodParameterTypes85; private String _methodName86; private String[] _methodParameterTypes86; - private String _methodName87; - private String[] _methodParameterTypes87; } \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceUtil.java index 88d5a474..a776c658 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceUtil.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceUtil.java @@ -382,14 +382,14 @@ public class IntPraticaLocalServiceUtil { long territorioId, java.lang.String tipoProcedura, java.util.Date dtSorteggio, java.lang.String statoPratica, java.lang.String numeroProgetto, boolean validata, int esitoControllo, - java.util.Date dtPratica, long oldIntPraticaId, + java.util.Date dtPratica, com.liferay.portal.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { return getService() .addIntPratica(userId, userName, tipoPratica, territorioId, tipoProcedura, dtSorteggio, statoPratica, numeroProgetto, validata, - esitoControllo, dtPratica, oldIntPraticaId, serviceContext); + esitoControllo, dtPratica, serviceContext); } public static void clearDb() throws java.lang.Exception { @@ -491,12 +491,6 @@ public class IntPraticaLocalServiceUtil { return getService().countByC_UserId(companyId, userId); } - public static it.tref.liferay.portos.bo.model.IntPratica fetchByOldIntPraticaId( - long oldIntPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchByOldIntPraticaId(oldIntPraticaId); - } - public static void updateStatus(long intPraticaId, int status) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceWrapper.java index eb571d25..303ae615 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceWrapper.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/IntPraticaLocalServiceWrapper.java @@ -407,14 +407,14 @@ public class IntPraticaLocalServiceWrapper implements IntPraticaLocalService, long territorioId, java.lang.String tipoProcedura, java.util.Date dtSorteggio, java.lang.String statoPratica, java.lang.String numeroProgetto, boolean validata, int esitoControllo, - java.util.Date dtPratica, long oldIntPraticaId, + java.util.Date dtPratica, com.liferay.portal.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { return _intPraticaLocalService.addIntPratica(userId, userName, tipoPratica, territorioId, tipoProcedura, dtSorteggio, statoPratica, numeroProgetto, validata, esitoControllo, dtPratica, - oldIntPraticaId, serviceContext); + serviceContext); } @Override @@ -531,13 +531,6 @@ public class IntPraticaLocalServiceWrapper implements IntPraticaLocalService, return _intPraticaLocalService.countByC_UserId(companyId, userId); } - @Override - public it.tref.liferay.portos.bo.model.IntPratica fetchByOldIntPraticaId( - long oldIntPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return _intPraticaLocalService.fetchByOldIntPraticaId(oldIntPraticaId); - } - @Override public void updateStatus(long intPraticaId, int status) throws com.liferay.portal.kernel.exception.PortalException, diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/CollaudoPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/CollaudoPersistence.java index dd96f64e..b38fdeff 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/CollaudoPersistence.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/CollaudoPersistence.java @@ -1255,64 +1255,6 @@ public interface CollaudoPersistence extends BasePersistence { public int countByIntPraticaId_Parziale(long intPraticaId, boolean parziale) throws com.liferay.portal.kernel.exception.SystemException; - /** - * Returns the collaudo where oldDettPraticaId = ? or throws a {@link it.tref.liferay.portos.bo.NoSuchCollaudoException} if it could not be found. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the matching collaudo - * @throws it.tref.liferay.portos.bo.NoSuchCollaudoException if a matching collaudo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.bo.model.Collaudo findByOldDettPraticaId( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.bo.NoSuchCollaudoException; - - /** - * Returns the collaudo where oldDettPraticaId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the matching collaudo, or null if a matching collaudo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.bo.model.Collaudo fetchByOldDettPraticaId( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the collaudo where oldDettPraticaId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param oldDettPraticaId the old dett pratica ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching collaudo, or null if a matching collaudo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.bo.model.Collaudo fetchByOldDettPraticaId( - long oldDettPraticaId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the collaudo where oldDettPraticaId = ? from the database. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the collaudo that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.bo.model.Collaudo removeByOldDettPraticaId( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.bo.NoSuchCollaudoException; - - /** - * Returns the number of collaudos where oldDettPraticaId = ?. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the number of matching collaudos - * @throws SystemException if a system exception occurred - */ - public int countByOldDettPraticaId(long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - /** * Caches the collaudo in the entity cache if it is enabled. * diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/CollaudoUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/CollaudoUtil.java index 5a1e40dd..12303223 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/CollaudoUtil.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/CollaudoUtil.java @@ -1592,75 +1592,6 @@ public class CollaudoUtil { .countByIntPraticaId_Parziale(intPraticaId, parziale); } - /** - * Returns the collaudo where oldDettPraticaId = ? or throws a {@link it.tref.liferay.portos.bo.NoSuchCollaudoException} if it could not be found. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the matching collaudo - * @throws it.tref.liferay.portos.bo.NoSuchCollaudoException if a matching collaudo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.bo.model.Collaudo findByOldDettPraticaId( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.bo.NoSuchCollaudoException { - return getPersistence().findByOldDettPraticaId(oldDettPraticaId); - } - - /** - * Returns the collaudo where oldDettPraticaId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the matching collaudo, or null if a matching collaudo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.bo.model.Collaudo fetchByOldDettPraticaId( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByOldDettPraticaId(oldDettPraticaId); - } - - /** - * Returns the collaudo where oldDettPraticaId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param oldDettPraticaId the old dett pratica ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching collaudo, or null if a matching collaudo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.bo.model.Collaudo fetchByOldDettPraticaId( - long oldDettPraticaId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByOldDettPraticaId(oldDettPraticaId, retrieveFromCache); - } - - /** - * Removes the collaudo where oldDettPraticaId = ? from the database. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the collaudo that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.bo.model.Collaudo removeByOldDettPraticaId( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.bo.NoSuchCollaudoException { - return getPersistence().removeByOldDettPraticaId(oldDettPraticaId); - } - - /** - * Returns the number of collaudos where oldDettPraticaId = ?. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the number of matching collaudos - * @throws SystemException if a system exception occurred - */ - public static int countByOldDettPraticaId(long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByOldDettPraticaId(oldDettPraticaId); - } - /** * Caches the collaudo in the entity cache if it is enabled. * diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/DettPraticaPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/DettPraticaPersistence.java index 79d089ac..e7c32a55 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/DettPraticaPersistence.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/DettPraticaPersistence.java @@ -652,64 +652,6 @@ public interface DettPraticaPersistence extends BasePersistence { java.lang.String protocollo) throws com.liferay.portal.kernel.exception.SystemException; - /** - * Returns the dett pratica where oldDettPraticaId = ? or throws a {@link it.tref.liferay.portos.bo.NoSuchDettPraticaException} if it could not be found. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the matching dett pratica - * @throws it.tref.liferay.portos.bo.NoSuchDettPraticaException if a matching dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.bo.model.DettPratica findByOldDettPratica( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.bo.NoSuchDettPraticaException; - - /** - * Returns the dett pratica where oldDettPraticaId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the matching dett pratica, or null if a matching dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.bo.model.DettPratica fetchByOldDettPratica( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the dett pratica where oldDettPraticaId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param oldDettPraticaId the old dett pratica ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching dett pratica, or null if a matching dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.bo.model.DettPratica fetchByOldDettPratica( - long oldDettPraticaId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the dett pratica where oldDettPraticaId = ? from the database. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.bo.model.DettPratica removeByOldDettPratica( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.bo.NoSuchDettPraticaException; - - /** - * Returns the number of dett praticas where oldDettPraticaId = ?. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the number of matching dett praticas - * @throws SystemException if a system exception occurred - */ - public int countByOldDettPratica(long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - /** * Returns all the dett praticas where intPraticaId = ? and tipoIntegrazione = ? and completa = ?. * @@ -1025,64 +967,6 @@ public interface DettPraticaPersistence extends BasePersistence { java.lang.String tipoIntegrazione) throws com.liferay.portal.kernel.exception.SystemException; - /** - * Returns the dett pratica where oldDettPraticaId = ? or throws a {@link it.tref.liferay.portos.bo.NoSuchDettPraticaException} if it could not be found. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the matching dett pratica - * @throws it.tref.liferay.portos.bo.NoSuchDettPraticaException if a matching dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.bo.model.DettPratica findByOldDettPraticaId( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.bo.NoSuchDettPraticaException; - - /** - * Returns the dett pratica where oldDettPraticaId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the matching dett pratica, or null if a matching dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.bo.model.DettPratica fetchByOldDettPraticaId( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the dett pratica where oldDettPraticaId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param oldDettPraticaId the old dett pratica ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching dett pratica, or null if a matching dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.bo.model.DettPratica fetchByOldDettPraticaId( - long oldDettPraticaId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the dett pratica where oldDettPraticaId = ? from the database. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.bo.model.DettPratica removeByOldDettPraticaId( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.bo.NoSuchDettPraticaException; - - /** - * Returns the number of dett praticas where oldDettPraticaId = ?. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the number of matching dett praticas - * @throws SystemException if a system exception occurred - */ - public int countByOldDettPraticaId(long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - /** * Caches the dett pratica in the entity cache if it is enabled. * diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/DettPraticaUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/DettPraticaUtil.java index 1073369b..6fcc52c6 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/DettPraticaUtil.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/DettPraticaUtil.java @@ -838,75 +838,6 @@ public class DettPraticaUtil { .countByC_G_Protocollo(companyId, groupId, protocollo); } - /** - * Returns the dett pratica where oldDettPraticaId = ? or throws a {@link it.tref.liferay.portos.bo.NoSuchDettPraticaException} if it could not be found. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the matching dett pratica - * @throws it.tref.liferay.portos.bo.NoSuchDettPraticaException if a matching dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.bo.model.DettPratica findByOldDettPratica( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.bo.NoSuchDettPraticaException { - return getPersistence().findByOldDettPratica(oldDettPraticaId); - } - - /** - * Returns the dett pratica where oldDettPraticaId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the matching dett pratica, or null if a matching dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.bo.model.DettPratica fetchByOldDettPratica( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByOldDettPratica(oldDettPraticaId); - } - - /** - * Returns the dett pratica where oldDettPraticaId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param oldDettPraticaId the old dett pratica ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching dett pratica, or null if a matching dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.bo.model.DettPratica fetchByOldDettPratica( - long oldDettPraticaId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByOldDettPratica(oldDettPraticaId, retrieveFromCache); - } - - /** - * Removes the dett pratica where oldDettPraticaId = ? from the database. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.bo.model.DettPratica removeByOldDettPratica( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.bo.NoSuchDettPraticaException { - return getPersistence().removeByOldDettPratica(oldDettPraticaId); - } - - /** - * Returns the number of dett praticas where oldDettPraticaId = ?. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the number of matching dett praticas - * @throws SystemException if a system exception occurred - */ - public static int countByOldDettPratica(long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByOldDettPratica(oldDettPraticaId); - } - /** * Returns all the dett praticas where intPraticaId = ? and tipoIntegrazione = ? and completa = ?. * @@ -1302,75 +1233,6 @@ public class DettPraticaUtil { tipoIntegrazione); } - /** - * Returns the dett pratica where oldDettPraticaId = ? or throws a {@link it.tref.liferay.portos.bo.NoSuchDettPraticaException} if it could not be found. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the matching dett pratica - * @throws it.tref.liferay.portos.bo.NoSuchDettPraticaException if a matching dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.bo.model.DettPratica findByOldDettPraticaId( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.bo.NoSuchDettPraticaException { - return getPersistence().findByOldDettPraticaId(oldDettPraticaId); - } - - /** - * Returns the dett pratica where oldDettPraticaId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the matching dett pratica, or null if a matching dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.bo.model.DettPratica fetchByOldDettPraticaId( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByOldDettPraticaId(oldDettPraticaId); - } - - /** - * Returns the dett pratica where oldDettPraticaId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param oldDettPraticaId the old dett pratica ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching dett pratica, or null if a matching dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.bo.model.DettPratica fetchByOldDettPraticaId( - long oldDettPraticaId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByOldDettPraticaId(oldDettPraticaId, retrieveFromCache); - } - - /** - * Removes the dett pratica where oldDettPraticaId = ? from the database. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.bo.model.DettPratica removeByOldDettPraticaId( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.bo.NoSuchDettPraticaException { - return getPersistence().removeByOldDettPraticaId(oldDettPraticaId); - } - - /** - * Returns the number of dett praticas where oldDettPraticaId = ?. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the number of matching dett praticas - * @throws SystemException if a system exception occurred - */ - public static int countByOldDettPraticaId(long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByOldDettPraticaId(oldDettPraticaId); - } - /** * Caches the dett pratica in the entity cache if it is enabled. * diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/FineLavoriPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/FineLavoriPersistence.java index d52509a0..0a8cffd9 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/FineLavoriPersistence.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/FineLavoriPersistence.java @@ -1417,64 +1417,6 @@ public interface FineLavoriPersistence extends BasePersistence { boolean parziale, boolean completata) throws com.liferay.portal.kernel.exception.SystemException; - /** - * Returns the fine lavori where oldDettPraticaId = ? or throws a {@link it.tref.liferay.portos.bo.NoSuchFineLavoriException} if it could not be found. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the matching fine lavori - * @throws it.tref.liferay.portos.bo.NoSuchFineLavoriException if a matching fine lavori could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.bo.model.FineLavori findByOldDettPraticaId( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.bo.NoSuchFineLavoriException; - - /** - * Returns the fine lavori where oldDettPraticaId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the matching fine lavori, or null if a matching fine lavori could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.bo.model.FineLavori fetchByOldDettPraticaId( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fine lavori where oldDettPraticaId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param oldDettPraticaId the old dett pratica ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching fine lavori, or null if a matching fine lavori could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.bo.model.FineLavori fetchByOldDettPraticaId( - long oldDettPraticaId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the fine lavori where oldDettPraticaId = ? from the database. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the fine lavori that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.bo.model.FineLavori removeByOldDettPraticaId( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.bo.NoSuchFineLavoriException; - - /** - * Returns the number of fine lavoris where oldDettPraticaId = ?. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the number of matching fine lavoris - * @throws SystemException if a system exception occurred - */ - public int countByOldDettPraticaId(long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - /** * Caches the fine lavori in the entity cache if it is enabled. * diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/FineLavoriUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/FineLavoriUtil.java index 5c6c8855..5d4dffb1 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/FineLavoriUtil.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/FineLavoriUtil.java @@ -1795,75 +1795,6 @@ public class FineLavoriUtil { parziale, completata); } - /** - * Returns the fine lavori where oldDettPraticaId = ? or throws a {@link it.tref.liferay.portos.bo.NoSuchFineLavoriException} if it could not be found. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the matching fine lavori - * @throws it.tref.liferay.portos.bo.NoSuchFineLavoriException if a matching fine lavori could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.bo.model.FineLavori findByOldDettPraticaId( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.bo.NoSuchFineLavoriException { - return getPersistence().findByOldDettPraticaId(oldDettPraticaId); - } - - /** - * Returns the fine lavori where oldDettPraticaId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the matching fine lavori, or null if a matching fine lavori could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.bo.model.FineLavori fetchByOldDettPraticaId( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByOldDettPraticaId(oldDettPraticaId); - } - - /** - * Returns the fine lavori where oldDettPraticaId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param oldDettPraticaId the old dett pratica ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching fine lavori, or null if a matching fine lavori could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.bo.model.FineLavori fetchByOldDettPraticaId( - long oldDettPraticaId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByOldDettPraticaId(oldDettPraticaId, retrieveFromCache); - } - - /** - * Removes the fine lavori where oldDettPraticaId = ? from the database. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the fine lavori that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.bo.model.FineLavori removeByOldDettPraticaId( - long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.bo.NoSuchFineLavoriException { - return getPersistence().removeByOldDettPraticaId(oldDettPraticaId); - } - - /** - * Returns the number of fine lavoris where oldDettPraticaId = ?. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the number of matching fine lavoris - * @throws SystemException if a system exception occurred - */ - public static int countByOldDettPraticaId(long oldDettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByOldDettPraticaId(oldDettPraticaId); - } - /** * Caches the fine lavori in the entity cache if it is enabled. * diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaPersistence.java index 00b5612e..f17aae3c 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaPersistence.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaPersistence.java @@ -898,64 +898,6 @@ public interface IntPraticaPersistence extends BasePersistence { public int filterCountByC_Group(long companyId, long groupId) throws com.liferay.portal.kernel.exception.SystemException; - /** - * Returns the int pratica where oldIntPraticaId = ? or throws a {@link it.tref.liferay.portos.bo.NoSuchIntPraticaException} if it could not be found. - * - * @param oldIntPraticaId the old int pratica ID - * @return the matching int pratica - * @throws it.tref.liferay.portos.bo.NoSuchIntPraticaException if a matching int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.bo.model.IntPratica findByOldIntPraticaId( - long oldIntPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.bo.NoSuchIntPraticaException; - - /** - * Returns the int pratica where oldIntPraticaId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param oldIntPraticaId the old int pratica ID - * @return the matching int pratica, or null if a matching int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.bo.model.IntPratica fetchByOldIntPraticaId( - long oldIntPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the int pratica where oldIntPraticaId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param oldIntPraticaId the old int pratica ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching int pratica, or null if a matching int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.bo.model.IntPratica fetchByOldIntPraticaId( - long oldIntPraticaId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the int pratica where oldIntPraticaId = ? from the database. - * - * @param oldIntPraticaId the old int pratica ID - * @return the int pratica that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.bo.model.IntPratica removeByOldIntPraticaId( - long oldIntPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.bo.NoSuchIntPraticaException; - - /** - * Returns the number of int praticas where oldIntPraticaId = ?. - * - * @param oldIntPraticaId the old int pratica ID - * @return the number of matching int praticas - * @throws SystemException if a system exception occurred - */ - public int countByOldIntPraticaId(long oldIntPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - /** * Returns all the int praticas where status = ? and dtPratica = ?. * diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaUtil.java index 228501d3..ec707959 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaUtil.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaUtil.java @@ -1128,75 +1128,6 @@ public class IntPraticaUtil { return getPersistence().filterCountByC_Group(companyId, groupId); } - /** - * Returns the int pratica where oldIntPraticaId = ? or throws a {@link it.tref.liferay.portos.bo.NoSuchIntPraticaException} if it could not be found. - * - * @param oldIntPraticaId the old int pratica ID - * @return the matching int pratica - * @throws it.tref.liferay.portos.bo.NoSuchIntPraticaException if a matching int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.bo.model.IntPratica findByOldIntPraticaId( - long oldIntPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.bo.NoSuchIntPraticaException { - return getPersistence().findByOldIntPraticaId(oldIntPraticaId); - } - - /** - * Returns the int pratica where oldIntPraticaId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param oldIntPraticaId the old int pratica ID - * @return the matching int pratica, or null if a matching int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.bo.model.IntPratica fetchByOldIntPraticaId( - long oldIntPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByOldIntPraticaId(oldIntPraticaId); - } - - /** - * Returns the int pratica where oldIntPraticaId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param oldIntPraticaId the old int pratica ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching int pratica, or null if a matching int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.bo.model.IntPratica fetchByOldIntPraticaId( - long oldIntPraticaId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByOldIntPraticaId(oldIntPraticaId, retrieveFromCache); - } - - /** - * Removes the int pratica where oldIntPraticaId = ? from the database. - * - * @param oldIntPraticaId the old int pratica ID - * @return the int pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.bo.model.IntPratica removeByOldIntPraticaId( - long oldIntPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.bo.NoSuchIntPraticaException { - return getPersistence().removeByOldIntPraticaId(oldIntPraticaId); - } - - /** - * Returns the number of int praticas where oldIntPraticaId = ?. - * - * @param oldIntPraticaId the old int pratica ID - * @return the number of matching int praticas - * @throws SystemException if a system exception occurred - */ - public static int countByOldIntPraticaId(long oldIntPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByOldIntPraticaId(oldIntPraticaId); - } - /** * Returns all the int praticas where status = ? and dtPratica = ?. * diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/PraticaUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/PraticaUtil.java index 0e989e7d..2ec4072f 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/PraticaUtil.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/PraticaUtil.java @@ -20,83 +20,6 @@ import com.liferay.portal.kernel.util.Validator; public class PraticaUtil { - - // TODO forse non serve più - // public static String generateTitle(long dettPraticaId) throws PortalException, SystemException - // { - // return generateTitle(dettPraticaId, Locale.ITALIAN); - // } - // - // public static String generateTitle(long dettPraticaId, Locale locale, String tipoPratica) - // throws PortalException, - // SystemException { - // - // DettPratica dettPratica = DettPraticaLocalServiceUtil.getDettPratica(dettPraticaId); - // IntPratica intPratica = - // IntPraticaLocalServiceUtil.getIntPratica(dettPratica.getIntPraticaId()); - // - // StringBuffer titolo = new StringBuffer(StringPool.BLANK); - // if (dettPratica.getIntegrazione() != 0L) { - // String tipoIntegrazione = dettPratica.getTipoIntegrazione(); - // if (tipoIntegrazione.equals(TipoIntegrazioneConstants.RICHIESTA_INTEGRAZIONE)) { - // titolo.append("Richiesta Integrazione numero " + dettPratica.getIntegrazione()); - // titolo.append(" relativa al protocollo n. " + dettPratica.getProtocollo() + " alla pratica di " - // + tipoPratica); - // } else if (tipoIntegrazione.equals(TipoIntegrazioneConstants.ANNULLA)) { - // titolo.append("Annullamento"); - // titolo.append(" relativo al protocollo n. " + dettPratica.getProtocollo() + " alla pratica di " - // + tipoPratica); - // } else if (tipoIntegrazione.equals(TipoIntegrazioneConstants.VARIAZIONE_SOGGETTO)) { - // titolo.append("Variazione Soggetto"); - // titolo.append(" relativo al protocollo n. " + dettPratica.getProtocollo() + " alla pratica di " - // + tipoPratica); - // } else if (tipoIntegrazione.equals(TipoIntegrazioneConstants.FINE_LAVORO)) { - // titolo.append("Fine Lavoro"); - // titolo.append(" relativo al protocollo n. " + dettPratica.getProtocollo() + " alla pratica di " - // + tipoPratica); - // } else if (tipoIntegrazione.equals(TipoIntegrazioneConstants.FINE_LAVORO_PARZIALE)) { - // titolo.append("Fine Lavoro Parziale"); - // titolo.append(" relativo al protocollo n. " + dettPratica.getProtocollo() + " alla pratica di " - // + tipoPratica); - // } else if (tipoIntegrazione.equals(TipoIntegrazioneConstants.COLLAUDO)) { - // titolo.append("Collaudo"); - // titolo.append(" relativo al protocollo n. " + dettPratica.getProtocollo() + " alla pratica di " - // + tipoPratica); - // } else if (tipoIntegrazione.equals(TipoIntegrazioneConstants.COLLAUDO_PARZIALE)) { - // titolo.append("Collaudo Parziale"); - // titolo.append(" relativo al protocollo n. " + dettPratica.getProtocollo() + " alla pratica di " - // + tipoPratica); - // } else { - // titolo.append("Richiesta Integrazione numero " + dettPratica.getIntegrazione()); - // titolo.append(" relativa al protocollo n. " + dettPratica.getProtocollo() + " alla pratica di " - // + tipoPratica); - // } - // } else { - // if (intPratica.isVariante()) { - // titolo.append("Variante numero " + intPratica.getVarianteNumero() + - // " relativa al protocollo n. " - // + dettPratica.getProtocollo() + " alla pratica di " + tipoPratica); - // } else { - // titolo.append("Pratica di " + tipoPratica + " relativa al protocollo n. " + - // dettPratica.getProtocollo()); - // } - // } - // - // if (Validator.isNotNull(intPratica.getNumeroProgetto())) { - // titolo.append(" al progetto numero " + intPratica.getNumeroProgetto()); - // } - // - // return titolo.toString(); - // } - // - // public static String generateContent(long dettPraticaId) throws PortalException, - // SystemException { - // DettPratica dettPratica = DettPraticaLocalServiceUtil.getDettPratica(dettPraticaId); - // IntPratica intPratica = - // IntPraticaLocalServiceUtil.getIntPratica(dettPratica.getIntPraticaId()); - // return intPratica.getDescLongIntervento(); - // } - public static String getFolderName(long dettPraticaId) { return StringUtils.leftPad(String.valueOf(dettPraticaId), 10, '0') + StringPool.UNDERLINE + dettPraticaId; @@ -122,23 +45,11 @@ public class PraticaUtil { * allMethod.put(StatoPraticaConstants.AUTORIZZAZIONE_NEGATA, new String[] * {StatoPraticaConstants.AUTORIZZAZIONE , StatoPraticaConstants . INTEGRAZIONE }); */ - allMethod.put(StatoPraticaConstants.CONFORME, new String[] {StatoPraticaConstants.NON_CONFORME/* - * , - * StatoPraticaConstants - * . - * INTEGRAZIONE - */}); - allMethod.put(StatoPraticaConstants.NON_CONFORME, new String[] {StatoPraticaConstants.CONFORME/* - * , - * StatoPraticaConstants - * . - * INTEGRAZIONE - */}); + allMethod.put(StatoPraticaConstants.CONFORME, new String[] {StatoPraticaConstants.NON_CONFORME}); + allMethod.put(StatoPraticaConstants.NON_CONFORME, new String[] {StatoPraticaConstants.CONFORME}); allMethod.put(StatoPraticaConstants.VIDIMATA, new String[] {StatoPraticaConstants.CONFORME, - StatoPraticaConstants.NON_CONFORME/* - * , StatoPraticaConstants.INTEGRAZIONE - */}); + StatoPraticaConstants.NON_CONFORME}); allMethod.put(StatoPraticaConstants.INTEGRAZIONE, new String[] {StatoPraticaConstants.CONFORME, StatoPraticaConstants.NON_CONFORME}); @@ -175,7 +86,6 @@ public class PraticaUtil { hiddens.add("workflowForzato"); hiddens.add("soggettoSostituitoId"); hiddens.add("dtInvioSignal"); - hiddens.add("oldDettPraticaId"); hiddens.add("tipoIntegrazione"); hiddens.add("varianteSostanziale"); hiddens.add("varianteNumero"); diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/ValidazionePraticaUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/ValidazionePraticaUtil.java index be04fcc3..4ee480a2 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/ValidazionePraticaUtil.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/util/ValidazionePraticaUtil.java @@ -441,12 +441,6 @@ public class ValidazionePraticaUtil { public static boolean isSectionCompleted(String section, long dettPraticaId) throws PortalException, SystemException { - // DettPratica dettPratica = - // DettPraticaServiceUtil.getLastEditableByIntPratica(intPraticaId); - // if(dettPratica == null) - // return true; // Se non ce ne sono editabili vuole dire che è - // completa - switch (section) { case SezioniUtil.SEZIONE_DETTAGLI_PRINCIPALI: return isDettagliPrincipaliCompleta(dettPraticaId); @@ -467,12 +461,6 @@ public class ValidazionePraticaUtil { public static List notCompletedSection(String section, long dettPraticaId) throws PortalException, SystemException { - // DettPratica dettPratica = - // DettPraticaServiceUtil.getLastEditableByIntPratica(intPraticaId); - // if(dettPratica == null) - // return new ArrayList(); // Se non ce ne sono editabili vuole - // dire che è completa - switch (section) { case SezioniUtil.SEZIONE_DETTAGLI_PRINCIPALI: return notCompletedDettagliPrincipali(dettPraticaId); @@ -545,28 +533,10 @@ public class ValidazionePraticaUtil { || dettPratica.getTcAdeguamentoSismico() || dettPratica .getTcRiparazioneInterventoLocale() - ) - // && Validator.isNotNull(dettPratica.getDestinazione()) - // && Validator.isNotNull(dettPratica.getLocalita()) - && Validator.isNotNull(dettPratica.getVia()) - // && ( - // - // Validator.isNotNull(dettPratica.getLocalizzazioneGeografica()) && - // !("|||".equalsIgnoreCase(dettPratica - // .getLocalizzazioneGeografica())) - // - // ) - // && Validator.isNotNull(dettPratica.getDcFoglio()) - // && Validator.isNotNull(dettPratica.getDcAllegato()) - // && (Validator.isNotNull(dettPratica.getDcParticelle()) && - // !"|||".equalsIgnoreCase(dettPratica.getDcParticelle())) - ; - - // Se è importata da Portos 1 nessun controllo su localizzazione - // geografica - boolean coordinateGeografiche = Validator.isNotNull(intPratica.getOldIntPraticaId()) ? true - : Validator.isNotNull(dettPratica.getLocalizzazioneGeografica()) - && !("|||".equalsIgnoreCase(dettPratica.getLocalizzazioneGeografica())); + ) && Validator.isNotNull(dettPratica.getVia()); + + boolean coordinateGeografiche = Validator.isNotNull(dettPratica.getLocalizzazioneGeografica()) + && !("|||".equalsIgnoreCase(dettPratica.getLocalizzazioneGeografica())); return controllo && coordinateGeografiche; } @@ -639,12 +609,6 @@ public class ValidazionePraticaUtil { // notCompleted.add("dp-particelle"); // } - // Se è importata da Portos 1 nessun controllo su localizzazione - // geografica - if (Validator.isNotNull(intPratica.getOldIntPraticaId())) { - return notCompleted; - } - if (Validator.isNull(dettPratica.getLocalizzazioneGeografica()) || dettPratica.getLocalizzazioneGeografica().startsWith("||")) { notCompleted.add("Localizzazione geografica mancante"); @@ -1021,7 +985,6 @@ public class ValidazionePraticaUtil { SystemException { DettPratica dettPratica = DettPraticaServiceUtil.getDettPratica(dettPraticaId); - IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(dettPratica.getIntPraticaId()); List notCompleted = new ArrayList<>(); @@ -1164,7 +1127,6 @@ public class ValidazionePraticaUtil { SystemException { DettPratica dettPratica = DettPraticaServiceUtil.getDettPratica(dettPraticaId); - IntPratica intPratica = IntPraticaServiceUtil.getIntPratica(dettPratica.getIntPraticaId()); // Se check NormArt3com3 sez. geologica non obbligatoria if (dettPratica.getNormArt3com3()) { @@ -1172,32 +1134,27 @@ public class ValidazionePraticaUtil { } boolean formGeologo = false; - // Se da Portos 1 non valido i dati - if (Validator.isNotNull(intPratica.getOldIntPraticaId())) { - formGeologo = true; - } else { - formGeologo = Validator.isNotNull(dettPratica.getGeoDtRelazione()) - && Validator.isNotNull(dettPratica.getGeoClasseIndagine()) - && Validator.isNotNull(dettPratica.getGeoOperaRilevante()) - && Validator.isNotNull(dettPratica.getGeoCategoriaSottosuolo()) - && Validator.isNotNull(dettPratica.getGeoCategoriaTopografica()) - && Validator.isNotNull(dettPratica.getGeoOpereDiSostegno()) - && Validator.isNotNull(dettPratica.getGeoConsolidamento()) - && Validator.isNotNull(dettPratica.getGeoOpereInSotterranea()) - && Validator.isNotNull(dettPratica.getGeoPericolositaGeologica()) - && Validator.isNotNull(dettPratica.getGeoPericolositaGeomorfica()) - && Validator.isNotNull(dettPratica.getGeoRischioGeomorfologicoPai()) - && Validator.isNotNull(dettPratica.getGeoPericolositaIdraulicaPai()) - && Validator.isNotNull(dettPratica.getGeoRischioIdraulicoPai()) - && Validator.isNotNull(dettPratica.getGeoPericolositaSismica()) - && Validator.isNotNull(dettPratica.getGeoFattibilitaSismica()) - && Validator.isNotNull(dettPratica.getGeoPericolositaIdraulica()) - && Validator.isNotNull(dettPratica.getGeoFattibilitaIdraulica()) - && Validator.isNotNull(dettPratica.getGeoFattibilitaGeologica()) - && Validator.isNotNull(dettPratica.getGeoPresenzaPrescrizioni()) - && Validator.isNotNull(dettPratica.getGeoEvidenzeGeologiche()) - && Validator.isNotNull(dettPratica.getGeoEvidenzeGeomorfiche()); - } + formGeologo = Validator.isNotNull(dettPratica.getGeoDtRelazione()) + && Validator.isNotNull(dettPratica.getGeoClasseIndagine()) + && Validator.isNotNull(dettPratica.getGeoOperaRilevante()) + && Validator.isNotNull(dettPratica.getGeoCategoriaSottosuolo()) + && Validator.isNotNull(dettPratica.getGeoCategoriaTopografica()) + && Validator.isNotNull(dettPratica.getGeoOpereDiSostegno()) + && Validator.isNotNull(dettPratica.getGeoConsolidamento()) + && Validator.isNotNull(dettPratica.getGeoOpereInSotterranea()) + && Validator.isNotNull(dettPratica.getGeoPericolositaGeologica()) + && Validator.isNotNull(dettPratica.getGeoPericolositaGeomorfica()) + && Validator.isNotNull(dettPratica.getGeoRischioGeomorfologicoPai()) + && Validator.isNotNull(dettPratica.getGeoPericolositaIdraulicaPai()) + && Validator.isNotNull(dettPratica.getGeoRischioIdraulicoPai()) + && Validator.isNotNull(dettPratica.getGeoPericolositaSismica()) + && Validator.isNotNull(dettPratica.getGeoFattibilitaSismica()) + && Validator.isNotNull(dettPratica.getGeoPericolositaIdraulica()) + && Validator.isNotNull(dettPratica.getGeoFattibilitaIdraulica()) + && Validator.isNotNull(dettPratica.getGeoFattibilitaGeologica()) + && Validator.isNotNull(dettPratica.getGeoPresenzaPrescrizioni()) + && Validator.isNotNull(dettPratica.getGeoEvidenzeGeologiche()) + && Validator.isNotNull(dettPratica.getGeoEvidenzeGeomorfiche()); List delegheGeologo = DelegaLocalServiceUtil.findByDettPratica_Tipologia_InEsito( dettPraticaId, DelegheUtil.TIPO_GEOLOGO, new String[] { DelegheUtil.STATO_ESEGUITA }, @@ -1210,8 +1167,7 @@ public class ValidazionePraticaUtil { List a14Docs = DocPraticaLocalServiceUtil.getValidTmpByIntPratica_Tipologia( dettPratica.getIntPraticaId(), DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A14, QueryUtil.ALL_POS, QueryUtil.ALL_POS); - boolean a14 = Validator.isNotNull(intPratica.getOldIntPraticaId()) ? true - : (!a14Docs.isEmpty() || !delegheGeologo.isEmpty()); + boolean a14 = !a14Docs.isEmpty() || !delegheGeologo.isEmpty(); if (!a14) { for (DocPratica doc : a14Docs) { @@ -1288,7 +1244,7 @@ public class ValidazionePraticaUtil { List a06Docs = DocPraticaLocalServiceUtil.getValidTmpByIntPratica_Tipologia( dettPratica.getIntPraticaId(), DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A06, QueryUtil.ALL_POS, QueryUtil.ALL_POS); - boolean a06 = Validator.isNotNull(intPratica.getOldIntPraticaId()) ? true : !a06Docs.isEmpty(); + boolean a06 = !a06Docs.isEmpty(); if (!a06Docs.isEmpty()) { for (DocPratica doc : a06Docs) { @@ -1347,7 +1303,7 @@ public class ValidazionePraticaUtil { List a16Docs = DocPraticaLocalServiceUtil.getValidTmpByIntPratica_Tipologie( intPraticaId, tipologiaAllegati.toArray(new String[0]), QueryUtil.ALL_POS, QueryUtil.ALL_POS); - boolean a16 = Validator.isNotNull(intPratica.getOldIntPraticaId()) ? true : !a16Docs.isEmpty(); + boolean a16 = !a16Docs.isEmpty(); if (!a16Docs.isEmpty()) { for (DocPratica doc : a16Docs) { @@ -1384,7 +1340,6 @@ public class ValidazionePraticaUtil { SystemException { DettPratica dettPratica = DettPraticaServiceUtil.getDettPratica(dettPraticaId); - IntPratica intPratica = IntPraticaServiceUtil.getIntPratica(dettPratica.getIntPraticaId()); List notCompleted = new ArrayList<>(); // Se check NormArt3com3 sez. geologica non obbligatoria @@ -1392,9 +1347,7 @@ public class ValidazionePraticaUtil { return Collections.emptyList(); } - if (Validator.isNull(intPratica.getOldIntPraticaId())) { - notCompleted.addAll(notCompletedDatiSezionGeologica(dettPraticaId)); - } + notCompleted.addAll(notCompletedDatiSezionGeologica(dettPraticaId)); if (!dettPratica.getNormArt3com3()) { long intPraticaId = dettPratica.getIntPraticaId(); @@ -1418,8 +1371,7 @@ public class ValidazionePraticaUtil { dettPraticaId, DelegheUtil.TIPO_GEOLOGO, new String[] { DelegheUtil.STATO_ESEGUITA }, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - if (a14.isEmpty() && delegheGeologo.isEmpty() - && Validator.isNull(intPratica.getOldIntPraticaId())) { + if (a14.isEmpty() && delegheGeologo.isEmpty()) { notCompleted.add("A14 non presente"); } else { for (DocPratica doc : a14) { @@ -1442,7 +1394,7 @@ public class ValidazionePraticaUtil { } } - if (a05.isEmpty() && Validator.isNull(intPratica.getOldIntPraticaId())) { + if (a05.isEmpty()) { // if(!dettPratica.isLavoriPubblici()){ notCompleted.add("A05 non presente"); // } @@ -1486,7 +1438,7 @@ public class ValidazionePraticaUtil { } } - if (a06.isEmpty() && Validator.isNull(intPratica.getOldIntPraticaId())) { + if (a06.isEmpty()) { notCompleted.add("A06 non presente"); } else { for (DocPratica doc : a06) { @@ -1505,7 +1457,7 @@ public class ValidazionePraticaUtil { } } - if (a15.isEmpty() && Validator.isNull(intPratica.getOldIntPraticaId())) { + if (a15.isEmpty()) { // SECONDO EMAIL DELLA PASOTTI DEL 26 Maggio questo documento // non è obbligatorio // notCompleted.add("A15 non presente"); @@ -1526,7 +1478,7 @@ public class ValidazionePraticaUtil { } } - if (a16.isEmpty() && Validator.isNull(intPratica.getOldIntPraticaId())) { + if (a16.isEmpty()) { notCompleted.add("Indagini geologiche non presenti"); } else { @@ -1711,9 +1663,6 @@ public class ValidazionePraticaUtil { List tipologiaAllegati = DocumentiPraticaUtil.getDocObbligatoriDomanda(intPratica .getTipoProcedura()); - if (Validator.isNotNull(intPratica.getOldIntPraticaId())) { - tipologiaAllegati.addAll(DocumentiPraticaUtil.getDocObbligatoriDomandaPortos1()); - } // ASD List appTipologiaSoggetti = TipoSoggettoUtil.getAllSubjects(); @@ -1743,10 +1692,6 @@ public class ValidazionePraticaUtil { boolean contieneDocumenti = false; for (String codiceDoc : tipologiaAllegati) { - if (DocumentiPraticaUtil.getDocObbligatoriDomandaPortos1().contains(codiceDoc)) { - continue; - } - if (isDocPraticaRequired(dettPratica, codiceDoc)) { List docs = DocPraticaLocalServiceUtil.getValidTmpByIntPratica_Tipologia( intPraticaId, codiceDoc, QueryUtil.ALL_POS, QueryUtil.ALL_POS); @@ -1826,11 +1771,6 @@ public class ValidazionePraticaUtil { } - // Se da Portos 1 non faccio i controlli successivi - if (Validator.isNotNull(intPratica.getOldIntPraticaId())) { - return true; - } - // Ogni progettista e direttore dei lavori deve avere apposto almeno una // firma sulla totalità degli allegati if (contieneDocumenti) { @@ -1864,15 +1804,11 @@ public class ValidazionePraticaUtil { DettPratica dettPratica = DettPraticaServiceUtil.getDettPratica(dettPraticaId); long intPraticaId = dettPratica.getIntPraticaId(); IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId); - String tipoProcedura = intPratica.getTipoProcedura(); List notCompleted = new ArrayList<>(); List tipologiaAllegati = DocumentiPraticaUtil.getDocObbligatoriDomanda(intPratica .getTipoProcedura()); - if (Validator.isNotNull(intPratica.getOldIntPraticaId())) { - tipologiaAllegati.addAll(DocumentiPraticaUtil.getDocObbligatoriDomandaPortos1()); - } List tipologiaSoggettiApp = TipoSoggettoUtil.getAllSubjects(); List tipologiaSoggetti = new ArrayList(); @@ -1889,9 +1825,6 @@ public class ValidazionePraticaUtil { List firmeTotali = new ArrayList<>(); for (String codiceDoc : tipologiaAllegati) { - if (DocumentiPraticaUtil.getDocObbligatoriDomandaPortos1().contains(codiceDoc)) { - continue; - } if (isDocPraticaRequired(dettPratica, codiceDoc)) { List docs = DocPraticaLocalServiceUtil.getValidTmpByIntPratica_Tipologia( intPraticaId, codiceDoc, QueryUtil.ALL_POS, QueryUtil.ALL_POS); @@ -1989,11 +1922,6 @@ public class ValidazionePraticaUtil { } } - // Se da Portos 1 non faccio i controlli successivi - if (Validator.isNotNull(intPratica.getOldIntPraticaId())) { - return notCompleted; - } - // Ogni progettista e direttore dei lavori deve avere apposto almeno una // firma sulla totalità // degli allegati @@ -2047,10 +1975,6 @@ public class ValidazionePraticaUtil { switch (codiceDoc) { case DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A00: - IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(dettPratica.getIntPraticaId()); - if (Validator.isNotNull(intPratica.getOldIntPraticaId())) { - return false; - } // ADT BUG ID = 5 if (isRiparazioneLocale(dettPratica)) { return false; @@ -2059,15 +1983,10 @@ public class ValidazionePraticaUtil { case DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A05: case DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A06: case DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A07: - // case DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A14: - // case DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A15: - // case DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A16: //non so che - // doc è return !dettPratica.getNormArt3com3(); case DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A15: - // nell'ultima version A15 non è più obbligtorio, ma se c'è deve - // essere firmato da GEOLOGO E - // DIRETTORE dei LAVORI + // nell'ultima version A15 non è più obbligtorio, ma se c'è deve + // essere firmato da GEOLOGO E DIRETTORE dei LAVORI return false; case DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_A09: return !dettPratica.getNormArt3com4(); @@ -2195,7 +2114,6 @@ public class ValidazionePraticaUtil { private static boolean isA17Required(DettPratica dettPratica) throws SystemException { - long praticaId = dettPratica.getDettPraticaId(); List ditte = SoggettoLocalServiceUtil.findByDettPratica_TipologiaSoggetto( dettPratica.getDettPraticaId(), TipoSoggettoUtil.DITTA); List committenti = SoggettoLocalServiceUtil.findByDettPratica_TipologiaSoggetto( diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/indexes.properties b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/indexes.properties index fbbf45f6..bcb7d0c8 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/indexes.properties +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/indexes.properties @@ -28,7 +28,6 @@ IX_35025CCD=portos_bo_Avviso.ControlloPraticaId_tipoDocumento IX_35025CCD=portos_bo_Avviso.ControlloPraticaIds_tipoDocumento IX_13C9EEB4=portos_bo_Avviso.IntPratica IX_13C9EEB4=portos_bo_Avviso.IntPraticaId -IX_B1C0C700=portos_bo_Avviso.IntPraticaId_Inviato IX_ABE20D5C=portos_bo_Avviso.IntPraticaId_tipoDocumento IX_ABE20D5C=portos_bo_Avviso.IntPraticaIds_tipoDocumento IX_B1C0C700=portos_bo_Avviso.IntPratica_Inviato @@ -44,7 +43,6 @@ IX_F1DE015B=portos_bo_Collaudo.IntPraticaId IX_DBB744B8=portos_bo_Collaudo.IntPraticaId_CodiceFiscale IX_C5A53931=portos_bo_Collaudo.IntPraticaId_Completata IX_28168019=portos_bo_Collaudo.IntPraticaId_Parziale -IX_729BECA2=portos_bo_Collaudo.OldDettPraticaId IX_9BEECB8=portos_bo_Collaudo.Protocollo IX_785A57DF=portos_bo_Collaudo.UUID_G IX_D4A5BD2B=portos_bo_Collaudo.Uuid @@ -100,8 +98,6 @@ IX_49B6CCD0=portos_bo_DettPratica.C_G_Protocollo IX_20C9FEF1=portos_bo_DettPratica.IntPraticaId IX_1965DA50=portos_bo_DettPratica.IntPraticaId_TipoIntegrazione IX_E9890939=portos_bo_DettPratica.IntPraticaId_TipoIntegrazione_Completa -IX_29832F38=portos_bo_DettPratica.OldDettPratica -IX_29832F38=portos_bo_DettPratica.OldDettPraticaId IX_C59957CE=portos_bo_DettPratica.Protocollo IX_9C3D47F5=portos_bo_DettPratica.UUID_G IX_4EE3C55=portos_bo_DettPratica.Uuid @@ -137,7 +133,6 @@ IX_EB5AE4E4=portos_bo_FineLavori.IntPraticaId_CodiceFiscale IX_F683FC85=portos_bo_FineLavori.IntPraticaId_Completata IX_82B6086D=portos_bo_FineLavori.IntPraticaId_Parziale IX_2CE13543=portos_bo_FineLavori.IntPraticaId_Parziale_Completata -IX_FC4D43F6=portos_bo_FineLavori.OldDettPraticaId IX_ABC9530C=portos_bo_FineLavori.Protocollo IX_A7617433=portos_bo_FineLavori.UUID_G IX_1DE1B257=portos_bo_FineLavori.Uuid @@ -153,7 +148,6 @@ IX_A0E465CE=portos_bo_IUV.UUID_G IX_1D6A765C=portos_bo_IUV.Uuid IX_BFE13C4C=portos_bo_IUV.Uuid_C -IX_8ACE890F=portos_bo_InfoFascicolo.DettPratica IX_41FDB69F=portos_bo_InfoFascicolo.IntPratica IX_3F61CC23=portos_bo_InfoFascicolo.UUID_G IX_3FD1AC67=portos_bo_InfoFascicolo.Uuid @@ -161,7 +155,6 @@ IX_B49E6161=portos_bo_InfoFascicolo.Uuid_C IX_9929E083=portos_bo_IntPratica.C_Group IX_E75F8D41=portos_bo_IntPratica.C_UserId -IX_5690AE94=portos_bo_IntPratica.OldIntPraticaId IX_779B836B=portos_bo_IntPratica.P IX_4736A755=portos_bo_IntPratica.TerritorioId IX_DB56E0F7=portos_bo_IntPratica.UUID_G @@ -214,11 +207,9 @@ IX_B54B3A90=portos_bo_Soggetto.Uuid IX_EB38F98=portos_bo_Soggetto.Uuid_C IX_9ED63274=portos_bo_Soggetto.oldSoggettoId -IX_9B8A8E5B=portos_bo_Sorteggio.Anno_Mese IX_E29C9013=portos_bo_Sorteggio.Anno_Mese_Settimana IX_C446DA4F=portos_bo_Sorteggio.C_DettPratica IX_237B57DD=portos_bo_Sorteggio.C_GroupId -IX_9A169FAF=portos_bo_Sorteggio.GroupId_Anno_Mese IX_E6D6223F=portos_bo_Sorteggio.GroupId_Anno_Mese_Settimana IX_1946734D=portos_bo_Sorteggio.IntPraticaId IX_B4103770=portos_bo_Sorteggio.OldSorteggioId diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/indexes.sql b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/indexes.sql index a6e35890..dfd764a8 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/indexes.sql +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/indexes.sql @@ -40,7 +40,6 @@ create index IX_F1DE015B on portos_bo_Collaudo (intPraticaId); create index IX_DBB744B8 on portos_bo_Collaudo (intPraticaId, codiceFiscaleDelegato); create index IX_C5A53931 on portos_bo_Collaudo (intPraticaId, completata); create index IX_28168019 on portos_bo_Collaudo (intPraticaId, parziale); -create index IX_729BECA2 on portos_bo_Collaudo (oldDettPraticaId); create index IX_9BEECB8 on portos_bo_Collaudo (protocollo); create index IX_D4A5BD2B on portos_bo_Collaudo (uuid_); create index IX_91A2EE1D on portos_bo_Collaudo (uuid_, companyId); @@ -95,7 +94,6 @@ create index IX_49B6CCD0 on portos_bo_DettPratica (companyId, groupId, protocoll create index IX_20C9FEF1 on portos_bo_DettPratica (intPraticaId); create index IX_1965DA50 on portos_bo_DettPratica (intPraticaId, tipoIntegrazione); create index IX_E9890939 on portos_bo_DettPratica (intPraticaId, tipoIntegrazione, completa); -create index IX_29832F38 on portos_bo_DettPratica (oldDettPraticaId); create index IX_C59957CE on portos_bo_DettPratica (protocollo); create index IX_4EE3C55 on portos_bo_DettPratica (uuid_); create index IX_488A30B3 on portos_bo_DettPratica (uuid_, companyId); @@ -131,7 +129,6 @@ create index IX_EB5AE4E4 on portos_bo_FineLavori (intPraticaId, codiceFiscaleDel create index IX_F683FC85 on portos_bo_FineLavori (intPraticaId, completata); create index IX_82B6086D on portos_bo_FineLavori (intPraticaId, parziale); create index IX_2CE13543 on portos_bo_FineLavori (intPraticaId, parziale, completata); -create index IX_FC4D43F6 on portos_bo_FineLavori (oldDettPraticaId); create index IX_ABC9530C on portos_bo_FineLavori (protocollo); create index IX_1DE1B257 on portos_bo_FineLavori (uuid_); create index IX_1B544571 on portos_bo_FineLavori (uuid_, companyId); @@ -147,7 +144,6 @@ create index IX_1D6A765C on portos_bo_IUV (uuid_); create index IX_BFE13C4C on portos_bo_IUV (uuid_, companyId); create unique index IX_A0E465CE on portos_bo_IUV (uuid_, groupId); -create index IX_8ACE890F on portos_bo_InfoFascicolo (dettPraticaId); create index IX_41FDB69F on portos_bo_InfoFascicolo (intPraticaId); create index IX_3FD1AC67 on portos_bo_InfoFascicolo (uuid_); create index IX_B49E6161 on portos_bo_InfoFascicolo (uuid_, companyId); @@ -155,7 +151,6 @@ create unique index IX_3F61CC23 on portos_bo_InfoFascicolo (uuid_, groupId); create index IX_9929E083 on portos_bo_IntPratica (companyId, groupId); create index IX_E75F8D41 on portos_bo_IntPratica (companyId, userId); -create index IX_5690AE94 on portos_bo_IntPratica (oldIntPraticaId); create index IX_779B836B on portos_bo_IntPratica (status, dtPratica); create index IX_4736A755 on portos_bo_IntPratica (territorioId); create index IX_B06E1913 on portos_bo_IntPratica (uuid_); @@ -169,7 +164,6 @@ create index IX_3BCF688E on portos_bo_Pagamento (mezzo, utilizzata); create index IX_434F524C on portos_bo_Pagamento (mezzo, utilizzata, createDate); create index IX_BE4330DB on portos_bo_Pagamento (mezzo, utilizzata, emailPending, createDate); create index IX_B598AAE2 on portos_bo_Pagamento (oldPagamentoId); -create index IX_74B9236F on portos_bo_Pagamento (utilizzata); create index IX_8815F580 on portos_bo_Pagamento (uuid_); create index IX_C25B9EA8 on portos_bo_Pagamento (uuid_, companyId); create unique index IX_D00BAF2A on portos_bo_Pagamento (uuid_, groupId); @@ -209,11 +203,9 @@ create index IX_B54B3A90 on portos_bo_Soggetto (uuid_); create index IX_EB38F98 on portos_bo_Soggetto (uuid_, companyId); create unique index IX_BE8B1C1A on portos_bo_Soggetto (uuid_, groupId); -create index IX_9B8A8E5B on portos_bo_Sorteggio (anno, mese); create index IX_E29C9013 on portos_bo_Sorteggio (anno, mese, settimana); create index IX_C446DA4F on portos_bo_Sorteggio (companyId, dettPraticaId); create index IX_237B57DD on portos_bo_Sorteggio (companyId, groupId); -create index IX_9A169FAF on portos_bo_Sorteggio (groupId, anno, mese); create index IX_E6D6223F on portos_bo_Sorteggio (groupId, anno, mese, settimana); create index IX_1946734D on portos_bo_Sorteggio (intPraticaId); create index IX_B4103770 on portos_bo_Sorteggio (oldSorteggioId); diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/tables.sql b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/tables.sql index 73c1831a..ad93643e 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/tables.sql +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/tables.sql @@ -107,8 +107,7 @@ create table portos_bo_Collaudo ( causalePagamento VARCHAR(75) null, mezzoPagamento VARCHAR(75) null, normEsenteBollo BOOLEAN, - importoBolli VARCHAR(75) null, - oldDettPraticaId LONG + importoBolli VARCHAR(75) null ); create table portos_bo_Comune ( @@ -230,7 +229,6 @@ create table portos_bo_DettPratica ( workflowForzato BOOLEAN, soggettoSostituitoId LONG, dtInvioSignal DATE null, - oldDettPraticaId LONG, destinazione VARCHAR(10) null, ag VARCHAR(10) null, descLongIntervento STRING null, @@ -507,8 +505,7 @@ create table portos_bo_FineLavori ( codicePagamento VARCHAR(75) null, causalePagamento VARCHAR(75) null, mezzoPagamento VARCHAR(75) null, - importoBolli VARCHAR(75) null, - oldDettPraticaId LONG + importoBolli VARCHAR(75) null ); create table portos_bo_HistoryWorkflowAction ( @@ -576,7 +573,6 @@ create table portos_bo_IntPratica ( statusDate DATE null, esitoControllo INTEGER, dtPratica DATE null, - oldIntPraticaId LONG, sospesa BOOLEAN, dtSospensione DATE null, codiceFiscaleDelegatoFineLavori VARCHAR(75) null, diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-hbm.xml b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-hbm.xml index 53f2ebaf..cd15e02e 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-hbm.xml +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-hbm.xml @@ -147,7 +147,6 @@ - @@ -280,7 +279,6 @@ - @@ -564,7 +562,6 @@ - @@ -624,7 +621,6 @@ - diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-model-hints.xml b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-model-hints.xml index 5bb4c787..f2c6e998 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-model-hints.xml +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-model-hints.xml @@ -124,7 +124,6 @@ - @@ -256,7 +255,6 @@ - 10 @@ -609,7 +607,6 @@ - @@ -664,7 +661,6 @@ - diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-orm.xml b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-orm.xml index e2620200..e5943749 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-orm.xml +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/META-INF/portlet-orm.xml @@ -179,7 +179,6 @@ - @@ -382,7 +381,6 @@ TIMESTAMP - @@ -710,7 +708,6 @@ - @@ -803,7 +800,6 @@ TIMESTAMP - TIMESTAMP diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/startup/DatabaseUpdateAction.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/startup/DatabaseUpdateAction.java index 8e0e1dcb..454b5571 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/startup/DatabaseUpdateAction.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/startup/DatabaseUpdateAction.java @@ -1,5 +1,14 @@ package it.mwg.sismica.bo.startup; +import it.tref.liferay.portos.bo.model.impl.AsseverazioneImpl; +import it.tref.liferay.portos.bo.model.impl.CollaudoImpl; +import it.tref.liferay.portos.bo.model.impl.DelegaImpl; +import it.tref.liferay.portos.bo.model.impl.DettPraticaImpl; +import it.tref.liferay.portos.bo.model.impl.FineLavoriImpl; +import it.tref.liferay.portos.bo.model.impl.IntPraticaImpl; +import it.tref.liferay.portos.bo.model.impl.SorteggioImpl; +import it.tref.liferay.portos.bo.model.impl.TerritorioImpl; + import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; @@ -10,91 +19,125 @@ import com.liferay.portal.kernel.events.ActionException; import com.liferay.portal.kernel.events.SimpleAction; import com.liferay.portal.kernel.log.Log; import com.liferay.portal.kernel.log.LogFactoryUtil; +import com.liferay.portal.kernel.util.Validator; public class DatabaseUpdateAction extends SimpleAction { private static final Log _log = LogFactoryUtil.getLog(DatabaseUpdateAction.class.getName()); - private Connection connection; + private static Connection connection = null; + private static Statement s = null; @Override public void run(String[] ids) throws ActionException { try { connection = DataAccess.getUpgradeOptimizedConnection(); - Statement s = connection.createStatement(); + s = connection.createStatement(); - if (!hasColumn("portos_bo_intpratica", "tipoprocedura")) { - _log.info("Aggiornamento a v2 di portos_bo_intpratica"); - s.executeUpdate("ALTER TABLE portos_bo_intpratica ADD COLUMN tipoprocedura VARCHAR(75) NULL"); + if (!hasColumn(IntPraticaImpl.TABLE_NAME, "tipoProcedura")) { + _log.info("Aggiornamento a v2 di " + IntPraticaImpl.TABLE_NAME); + s.executeUpdate("ALTER TABLE " + IntPraticaImpl.TABLE_NAME + + " ADD COLUMN tipoProcedura VARCHAR(75) NULL"); + } + if (hasColumn(IntPraticaImpl.TABLE_NAME, "oldIntPraticaId")) { + _log.info("Aggiornamento a v3 di " + IntPraticaImpl.TABLE_NAME); + s.executeUpdate("ALTER TABLE " + IntPraticaImpl.TABLE_NAME + " DROP COLUMN oldIntPraticaId"); } - if (!hasColumn("portos_bo_dettpratica", "georischiogeomorfologicopai")) { - String[] columns = new String[] { "geoclasseindagine", "geopericolositageologica", - "geopericolositageomorfica", "geopericolositasismica", "geofattibilitasismica", - "geopericolositaidraulica", "geofattibilitaidraulica", "geofattibilitageologica" }; + if (!hasColumn(DettPraticaImpl.TABLE_NAME, "geoRischioGeomorfologicoPai")) { + String[] columns = new String[] { "geoClasseIndagine", "geoPericolositaGeologica", + "geoPericolositaGeomorfica", "geoPericolositaSismica", "geoFattibilitaSismica", + "geoPericolositaIdraulica", "geoFattibilitaIdraulica", "geoFattibilitaGeologica" }; for (String column : columns) { - int righe = s.executeUpdate("UPDATE portos_bo_dettpratica SET " + column + "='NA' " - + "WHERE " + column + "='0'"); + int righe = s.executeUpdate("UPDATE " + DettPraticaImpl.TABLE_NAME + " SET " + column + + "='NA' " + "WHERE " + column + "='0'"); if (righe > 0) { - _log.info("Aggiornate " + righe + " righe in portos_bo_dettpratica, colonna " - + column); + _log.info("Aggiornate " + righe + " righe in " + DettPraticaImpl.TABLE_NAME + + ", colonna " + column); } } - _log.info("Aggiornamento a v2 di portos_bo_dettpratica"); - s.executeUpdate("ALTER TABLE portos_bo_dettpratica " - + "ADD COLUMN georischiogeomorfologicopai VARCHAR(75) NULL," + _log.info("Aggiornamento a v2 di " + DettPraticaImpl.TABLE_NAME); + s.executeUpdate("ALTER TABLE " + DettPraticaImpl.TABLE_NAME + " " + + "ADD COLUMN geoRischioGeomorfologicoPai VARCHAR(75) NULL," + "ADD COLUMN geopericolositaidraulicapai VARCHAR(75) NULL," + "ADD COLUMN georischioidraulicopai VARCHAR(75) NULL"); } - if (!hasColumn("portos_bo_dettpratica", "pagmiglioramentosismicosicilia")) { - _log.info("Aggiornamento a v3 di portos_bo_dettpratica"); - s.executeUpdate("ALTER TABLE portos_bo_dettpratica " - + "ADD COLUMN pagmiglioramentosismicosicilia BOOL," - + "ADD COLUMN pagoperanonquantificabile BOOL," - + "ADD COLUMN pagcalcolatoadeguamentosismico VARCHAR(75) NULL," - + "ADD COLUMN pagcalcolatomiglioramentosismico VARCHAR(75) NULL," - + "ADD COLUMN pagcalcolatoriparazioneinterventolocale VARCHAR(75) NULL," - + "ADD COLUMN pagcalcolatooperanonquantificabile VARCHAR(75) NULL," - + "ADD COLUMN pageffettivoadeguamentosismico VARCHAR(75) NULL," - + "ADD COLUMN pageffettivomiglioramentosismico VARCHAR(75) NULL," - + "ADD COLUMN pageffettivoriparazioneinterventolocale VARCHAR(75) NULL," - + "ADD COLUMN pageffettivooperanonquantificabile VARCHAR(75) NULL," - + "ADD COLUMN pagnoteutente TEXT NULL"); + if (!hasColumn(DettPraticaImpl.TABLE_NAME, "pagMiglioramentoSismicoSicilia")) { + _log.info("Aggiornamento a v3 di " + DettPraticaImpl.TABLE_NAME); + s.executeUpdate("ALTER TABLE " + DettPraticaImpl.TABLE_NAME + " " + + "ADD COLUMN pagMiglioramentoSismicoSicilia BOOL," + + "ADD COLUMN pagOperaNonQuantificabile BOOL," + + "ADD COLUMN pagCalcolatoAdeguamentoSismico VARCHAR(75) NULL," + + "ADD COLUMN pagCalcolatoMiglioramentoSismico VARCHAR(75) NULL," + + "ADD COLUMN pagCalcolatoRiparazioneInterventoLocale VARCHAR(75) NULL," + + "ADD COLUMN pagCalcolatoOperaNonQuantificabile VARCHAR(75) NULL," + + "ADD COLUMN pagEffettivoAdeguamentoSismico VARCHAR(75) NULL," + + "ADD COLUMN pagEffettivoMiglioramentoSismico VARCHAR(75) NULL," + + "ADD COLUMN pagEffettivoRiparazioneInterventoLocale VARCHAR(75) NULL," + + "ADD COLUMN pagEffettivoOperaNonQuantificabile VARCHAR(75) NULL," + + "ADD COLUMN pagNoteUtente TEXT NULL"); } - if (!hasColumn("portos_bo_dettpratica", "tcnuovacostruzionecomplessa")) { - _log.info("Aggiornamento a v4 di portos_bo_dettpratica"); - int righe = s - .executeUpdate("UPDATE portos_bo_dettpratica SET destinazione='2' WHERE destinazione='1'"); + if (!hasColumn(DettPraticaImpl.TABLE_NAME, "tcNuovaCostruzioneComplessa")) { + _log.info("Aggiornamento a v4 di " + DettPraticaImpl.TABLE_NAME); + int righe = s.executeUpdate("UPDATE " + DettPraticaImpl.TABLE_NAME + + " SET destinazione='2' WHERE destinazione='1'"); if (righe > 0) { - _log.info("Aggiornate " + righe + " righe in portos_bo_dettpratica, colonna destinazione"); + _log.info("Aggiornate " + righe + " righe in " + DettPraticaImpl.TABLE_NAME + + ", colonna destinazione"); } - s.executeUpdate("ALTER TABLE portos_bo_dettpratica ADD COLUMN tcnuovacostruzionecomplessa BOOL NULL"); + s.executeUpdate("ALTER TABLE " + DettPraticaImpl.TABLE_NAME + + " ADD COLUMN tcNuovaCostruzioneComplessa BOOL NULL"); + } + + if (hasColumn(DettPraticaImpl.TABLE_NAME, "oldDettPraticaId")) { + _log.info("Aggiornamento a v5 di " + DettPraticaImpl.TABLE_NAME); + s.executeUpdate("ALTER TABLE " + DettPraticaImpl.TABLE_NAME + " DROP COLUMN oldDettPraticaId"); + } + + if (hasColumn(FineLavoriImpl.TABLE_NAME, "oldDettPraticaId")) { + _log.info("Aggiornamento a v2 di " + FineLavoriImpl.TABLE_NAME); + s.executeUpdate("ALTER TABLE " + FineLavoriImpl.TABLE_NAME + " DROP COLUMN oldDettPraticaId"); + } + + if (hasColumn(CollaudoImpl.TABLE_NAME, "oldDettPraticaId")) { + _log.info("Aggiornamento a v2 di " + CollaudoImpl.TABLE_NAME); + s.executeUpdate("ALTER TABLE " + CollaudoImpl.TABLE_NAME + " DROP COLUMN oldDettPraticaId"); } - if (!hasColumn("portos_bo_territorio", "articolo61")) { - _log.info("Aggiornamento a v2 di portos_bo_territorio"); - s.executeUpdate("ALTER TABLE portos_bo_territorio ADD COLUMN articolo61 BOOL"); + if (!hasColumn(TerritorioImpl.TABLE_NAME, "articolo61")) { + _log.info("Aggiornamento a v2 di " + TerritorioImpl.TABLE_NAME); + s.executeUpdate("ALTER TABLE " + TerritorioImpl.TABLE_NAME + " ADD COLUMN articolo61 BOOL"); } - if (!hasColumn("portos_bo_sorteggio", "settimana")) { - _log.info("Aggiornamento a v2 di portos_bo_sorteggio"); - s.executeUpdate("ALTER TABLE portos_bo_sorteggio ADD COLUMN settimana INTEGER"); + if (!hasColumn(SorteggioImpl.TABLE_NAME, "settimana")) { + _log.info("Aggiornamento a v2 di " + TerritorioImpl.TABLE_NAME); + s.executeUpdate("ALTER TABLE " + TerritorioImpl.TABLE_NAME + " ADD COLUMN settimana INTEGER"); } - if (!hasColumn("portos_bo_asseverazione", "dichiarazioni")) { - _log.info("Aggiornamento a v2 di portos_bo_asseverazione"); - s.executeUpdate("ALTER TABLE portos_bo_asseverazione ADD COLUMN dichiarazioni TEXT NULL"); + if (!hasColumn(AsseverazioneImpl.TABLE_NAME, "dichiarazioni")) { + _log.info("Aggiornamento a v2 di " + AsseverazioneImpl.TABLE_NAME); + s.executeUpdate("ALTER TABLE " + AsseverazioneImpl.TABLE_NAME + + " ADD COLUMN dichiarazioni TEXT NULL"); } - if (!hasColumn("portos_bo_delega", "dichiarazioni")) { - _log.info("Aggiornamento a v2 di portos_bo_delega"); - s.executeUpdate("ALTER TABLE portos_bo_delega ADD COLUMN dichiarazioni TEXT NULL"); + if (!hasColumn(DelegaImpl.TABLE_NAME, "dichiarazioni")) { + _log.info("Aggiornamento a v2 di " + DelegaImpl.TABLE_NAME); + s.executeUpdate("ALTER TABLE " + DelegaImpl.TABLE_NAME + + " ADD COLUMN dichiarazioni TEXT NULL"); } } catch (SQLException e) { _log.error("Errore di accesso al database: ", e); throw new ActionException(e); + } finally { + if (Validator.isNotNull(connection)) { + if (Validator.isNull(s)) { + DataAccess.cleanUp(connection); + } else { + DataAccess.cleanUp(connection, s); + } + } } } @@ -102,9 +145,9 @@ public class DatabaseUpdateAction extends SimpleAction { boolean result = true; ResultSet rs = null; try { - Statement s = connection.createStatement(); rs = s.executeQuery("SELECT " + column + " FROM " + table + " WHERE false"); rs.getMetaData().getColumnName(1); + DataAccess.cleanUp(rs); } catch (SQLException e) { result = false; } diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/PuliziaDatabase.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/PuliziaDatabase.java index 9618dc6a..eee9fc45 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/PuliziaDatabase.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/PuliziaDatabase.java @@ -99,10 +99,6 @@ public class PuliziaDatabase { public static List pulisci2(ServiceContext serviceContext) { List esito = new ArrayList<>(); - esito.addAll(puliziaPreliminare()); - esito.addAll(puliziaDocumentLibrary()); - esito.addAll(svuotaDatabase(serviceContext)); - try { SingleVMPoolUtil.clear(); MultiVMPoolUtil.clear(); @@ -115,380 +111,6 @@ public class PuliziaDatabase { return esito; } - private static List puliziaPreliminare() { - List esito = new ArrayList<>(); - try { - Connection connection = DataAccess.getUpgradeOptimizedConnection(); - Statement s = connection.createStatement(); - int rows = s.executeUpdate("DELETE FROM portos_bo_intpratica WHERE intpraticaid IN (" - + "SELECT intpraticaid FROM portos_bo_intpratica i " - + "LEFT JOIN group_ g ON i.groupid=g.groupid WHERE g.groupid IS NULL)"); - esitoLog(esito, "Cancellate " + rows + " righe da portos_bo_intpratica"); - rows = s.executeUpdate("DELETE FROM portos_bo_dettpratica WHERE dettpraticaid IN (" - + "SELECT dettpraticaid FROM portos_bo_dettpratica d " - + "LEFT JOIN portos_bo_intpratica i ON d.intpraticaid=i.intpraticaid " - + "WHERE i.intpraticaid IS NULL)"); - esitoLog(esito, "Cancellate " + rows + " righe da portos_bo_dettpratica"); - rows = s.executeUpdate("DELETE FROM portos_bo_controllopratica WHERE controllopraticaid IN (" - + "SELECT controllopraticaid FROM portos_bo_controllopratica c " - + "LEFT JOIN portos_bo_intpratica i ON c.intpraticaid=i.intpraticaid " - + "WHERE i.intpraticaid IS NULL)"); - esitoLog(esito, "Cancellate " + rows + " righe da portos_bo_controllopratica"); - rows = s.executeUpdate("DELETE FROM portos_bo_collaudo WHERE collaudoid IN (" - + "SELECT collaudoid FROM portos_bo_collaudo c " - + "LEFT JOIN portos_bo_intpratica i ON c.intpraticaid=i.intpraticaid " - + "WHERE i.intpraticaid IS NULL)"); - esitoLog(esito, "Cancellate " + rows + " righe da portos_bo_collaudo"); - rows = s.executeUpdate("DELETE FROM portos_bo_delega WHERE delegaid IN (" - + "SELECT delegaid FROM portos_bo_delega d " - + "LEFT JOIN portos_bo_dettpratica dp ON d.dettpraticaid=dp.dettpraticaid " - + "WHERE dp.dettpraticaid IS NULL)"); - esitoLog(esito, "Cancellate " + rows + " righe da portos_bo_delega"); - rows = s.executeUpdate("DELETE FROM portos_bo_finelavori WHERE finelavoriid IN (" - + "SELECT finelavoriid FROM portos_bo_finelavori f " - + "LEFT JOIN portos_bo_intpratica i ON f.intpraticaid=i.intpraticaid " - + "WHERE i.intpraticaid IS NULL)"); - esitoLog(esito, "Cancellate " + rows + " righe da portos_bo_finelavori"); - rows = s.executeUpdate("DELETE FROM portos_bo_soggetto WHERE soggettoid IN (" - + "SELECT soggettoid FROM portos_bo_soggetto s " - + "LEFT JOIN portos_bo_dettpratica d ON s.dettpraticaid=d.dettpraticaid " - + "WHERE d.dettpraticaid IS NULL)"); - esitoLog(esito, "Cancellate " + rows + " righe da portos_bo_soggetto"); - - int cancellati = 0; - int start = 0; - int totali = 0; - List docs = null; - do { - docs = DocAggiuntivaLocalServiceUtil.getDocAggiuntivas(start, start + SLICE); - int rimossi = 0; - for (DocAggiuntiva doc : docs) { - IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(doc.getIntPraticaId()); - DettPratica dettPratica = DettPraticaLocalServiceUtil.getDettPratica(doc - .getDettPraticaId()); - if (Validator.isNull(intPratica) || Validator.isNull(dettPratica)) { - DocAggiuntivaLocalServiceUtil.deleteDocAggiuntiva(doc); - cancellati++; - rimossi++; - } - } - totali += docs.size(); - start += SLICE - rimossi; - } while (docs.size() > 0); - esitoLog(esito, "Analizzati " + totali + " DocAggiuntiva, cancellati " + cancellati); - - cancellati = 0; - start = 0; - totali = 0; - List docs2 = null; - do { - docs2 = DocPraticaLocalServiceUtil.getDocPraticas(start, start + SLICE); - int rimossi = 0; - for (DocPratica doc : docs2) { - boolean rimuovi = false; - if (Collaudo.class.getName().equals(doc.getClassName())) { - Collaudo collaudo = null; - try { - collaudo = CollaudoLocalServiceUtil.getCollaudo(doc.getClassPk()); - } catch (PortalException e) { - } - rimuovi = Validator.isNull(collaudo); - } else if (Delega.class.getName().equals(doc.getClassName())) { - Delega delega = null; - try { - delega = DelegaLocalServiceUtil.getDelega(doc.getClassPk()); - } catch (PortalException e) { - } - rimuovi = Validator.isNull(delega); - } else if (DettPratica.class.getName().equals(doc.getClassName())) { - DettPratica dettPratica = null; - try { - dettPratica = DettPraticaLocalServiceUtil.getDettPratica(doc.getClassPk()); - } catch (PortalException e) { - } - rimuovi = Validator.isNull(dettPratica); - } else if (FineLavori.class.getName().equals(doc.getClassName())) { - FineLavori fineLavori = null; - try { - fineLavori = FineLavoriLocalServiceUtil.getFineLavori(doc.getClassPk()); - } catch (PortalException e) { - } - rimuovi = Validator.isNull(fineLavori); - } else if (IntPratica.class.getName().equals(doc.getClassName())) { - IntPratica intPratica = null; - try { - intPratica = IntPraticaLocalServiceUtil.getIntPratica(doc.getClassPk()); - } catch (PortalException e) { - } - rimuovi = Validator.isNull(intPratica); - } else if (Soggetto.class.getName().equals(doc.getClassName())) { - Soggetto soggetto = null; - try { - soggetto = SoggettoLocalServiceUtil.getSoggetto(doc.getClassPk()); - } catch (PortalException e) { - } - rimuovi = Validator.isNull(soggetto); - } - if (rimuovi) { - DocPraticaLocalServiceUtil.deleteDocPratica(doc); - cancellati++; - rimossi++; - } - } - totali += docs2.size(); - start += SLICE - rimossi; - } while (docs2.size() > 0); - esitoLog(esito, "Analizzati " + totali + " DocPratica, cancellati " + cancellati); - } catch (PortalException | SQLException | SystemException e) { - esitoLog(esito, "Interrotto per errore: " + e.getMessage()); - } - return esito; - } - - private static List svuotaDatabase(ServiceContext serviceContext) { - List esito = new ArrayList<>(); - int rows = 0; - try { - Connection connection = DataAccess.getUpgradeOptimizedConnection(); - Statement s = connection.createStatement(); - - long controlloPraticaClassNameId = ClassNameLocalServiceUtil.getClassName( - ControlloPratica.class.getName()).getClassNameId(); - long dettPraticaClassNameId = ClassNameLocalServiceUtil.getClassName(DettPratica.class.getName()) - .getClassNameId(); - long ddmContentClassNameId = ClassNameLocalServiceUtil.getClassName(DDMContent.class.getName()) - .getClassNameId(); - long dlFileEntryClassNameId = ClassNameLocalServiceUtil.getClassName(DLFileEntry.class.getName()) - .getClassNameId(); - long dlFileEntryMetadataClassNameId = ClassNameLocalServiceUtil.getClassName( - DLFileEntryMetadata.class.getName()).getClassNameId(); - long dlFolderClassNameId = ClassNameLocalServiceUtil.getClassName(DLFolder.class.getName()) - .getClassNameId(); - long groupClassNameId = ClassNameLocalServiceUtil.getClassName(Group.class.getName()) - .getClassNameId(); - long mbDiscussionClassNameId = ClassNameLocalServiceUtil.getClassName( - MBDiscussion.class.getName()).getClassNameId(); - long organizationClassNameId = ClassNameLocalServiceUtil.getClassName( - Organization.class.getName()).getClassNameId(); - long userClassNameId = ClassNameLocalServiceUtil.getClassName(User.class.getName()) - .getClassNameId(); - - rows = s.executeUpdate("DELETE FROM portos_bo_avviso WHERE avvisoid IN (" - + "SELECT avvisoid FROM portos_bo_avviso a LEFT JOIN portos_bo_dettpratica d " - + "ON a.classpk=d.dettpraticaid WHERE classname='" + DettPratica.class.getName() - + "' AND d.dettpraticaid IS NULL)"); - esitoLog(esito, "Cancellate " + rows + " righe da portos_bo_avviso"); - - rows = s.executeUpdate("DELETE FROM group_ WHERE groupid IN (SELECT groupid FROM group_ " - + "LEFT JOIN user_ ON group_.classpk=user_.userid WHERE classnameid=" + userClassNameId - + " AND user_.userid IS NULL)"); - esitoLog(esito, "Cancellate " + rows + " righe da group_"); - - rows = s.executeUpdate("DELETE FROM contact_ WHERE contactid IN (" - + "SELECT c.contactid FROM contact_ c LEFT JOIN user_ u " - + "ON c.contactid=u.contactid WHERE u.userid IS NULL)"); - esitoLog(esito, "Cancellate " + rows + " righe da contact_"); - - rows = s.executeUpdate("DELETE FROM usergroup WHERE usergroupid IN (" - + "SELECT usergroupid FROM usergroup g LEFT JOIN user_ u ON g.userid=u.userid " - + "WHERE u.userid IS NULL)"); - esitoLog(esito, "Cancellate " + rows + " righe da usergroup"); - - rows = s.executeUpdate("DELETE FROM usergrouprole WHERE userid IN (" - + "SELECT DISTINCT x.userid FROM usergrouprole x " - + "LEFT JOIN user_ u ON x.userid=u.userid " + "WHERE u.userid IS NULL) OR groupid IN (" - + "SELECT DISTINCT x.groupid FROM usergrouprole x " - + "LEFT JOIN group_ g ON x.groupid=g.groupid " - + "WHERE g.groupid IS NULL) OR roleid IN (" - + "SELECT DISTINCT x.roleid FROM usergrouprole x " - + "LEFT JOIN role_ r ON x.roleid=r.roleid " + "WHERE r.roleid IS NULL)"); - esitoLog(esito, "Cancellate " + rows + " righe da usergrouprole"); - - rows = s.executeUpdate("DELETE FROM ddmcontent WHERE contentid IN (" - + "SELECT contentid FROM ddmcontent LEFT JOIN dlfileentrymetadata " - + "ON ddmcontent.contentid=dlfileentrymetadata.ddmstorageid WHERE name='" - + DDMStorageLink.class.getName() - + "' AND dlfileentrymetadata.fileentrymetadataid IS NULL)"); - esitoLog(esito, "Cancellate " + rows + " righe da ddmcontent"); - - rows = s.executeUpdate("DELETE FROM assetentry WHERE entryid IN (" - + "SELECT entryid FROM assetentry a LEFT JOIN dlfileentry b " - + "ON a.classpk=b.fileentryid WHERE a.classnameid=" + dlFileEntryClassNameId - + " AND b.fileentryid IS NULL)"); - rows += s.executeUpdate("DELETE FROM assetentry WHERE entryid IN (" - + "SELECT entryid FROM assetentry a LEFT JOIN dlfolder b ON a.classpk=b.folderid " - + "WHERE a.classnameid=" + dlFolderClassNameId + " AND b.folderid IS NULL)"); - rows += s.executeUpdate("DELETE FROM assetentry WHERE entryid IN (" - + "SELECT entryid FROM assetentry a LEFT JOIN group_ b ON a.classpk=b.groupid " - + "WHERE a.classnameid=" + groupClassNameId + " AND b.groupid IS NULL)"); - rows += s.executeUpdate("DELETE FROM assetentry WHERE entryid IN (" - + "SELECT entryid FROM assetentry a LEFT JOIN mbdiscussion b " - + "ON a.classpk=b.discussionid WHERE a.classnameid=" + mbDiscussionClassNameId - + " AND b.discussionid IS NULL)"); - rows += s.executeUpdate("DELETE FROM assetentry WHERE entryid IN (" - + "SELECT entryid FROM assetentry a LEFT JOIN organization_ b " - + "ON a.classpk=b.organizationid WHERE a.classnameid=" + organizationClassNameId - + " AND b.organizationid IS NULL)"); - rows += s.executeUpdate("DELETE FROM assetentry WHERE entryid IN (" - + "SELECT entryid FROM assetentry a LEFT JOIN portos_bo_controllopratica b " - + "ON a.classpk=b.controllopraticaid WHERE a.classnameid=" + controlloPraticaClassNameId - + " AND b.controllopraticaid IS NULL)"); - rows += s.executeUpdate("DELETE FROM assetentry WHERE entryid IN (" - + "SELECT entryid FROM assetentry a LEFT JOIN portos_bo_dettpratica b " - + "ON a.classpk=b.dettpraticaid WHERE a.classnameid=" + dettPraticaClassNameId - + " AND b.dettpraticaid IS NULL)"); - rows += s.executeUpdate("DELETE FROM assetentry WHERE entryid IN (" - + "SELECT entryid FROM assetentry a LEFT JOIN user_ b ON a.classpk=b.userid " - + "WHERE a.classnameid=" + userClassNameId + " AND b.userid IS NULL)"); - esitoLog(esito, "Cancellate " + rows + " righe da assetentry"); - - rows = s.executeUpdate("DELETE FROM resourcepermission WHERE resourcepermissionid IN (" - + "SELECT resourcepermissionid FROM resourcepermission a LEFT JOIN dlfileentry b " - + "ON a.primkey=b.fileentryid::TEXT WHERE a.name='" + DLFileEntry.class.getName() - + "' AND b.fileentryid IS NULL)"); - rows += s.executeUpdate("DELETE FROM resourcepermission WHERE resourcepermissionid IN (" - + "SELECT resourcepermissionid FROM resourcepermission a LEFT JOIN dlfolder b " - + "ON a.primkey=b.folderid::TEXT WHERE a.name='" + DLFolder.class.getName() - + "' AND b.folderid IS NULL)"); - rows += s.executeUpdate("DELETE FROM resourcepermission WHERE resourcepermissionid IN (" - + "SELECT resourcepermissionid FROM resourcepermission a " - + "LEFT JOIN portos_bo_controllopratica b " - + "ON a.primkey=b.controllopraticaid::TEXT WHERE a.name='" - + ControlloPratica.class.getName() + "' AND b.controllopraticaid IS NULL)"); - rows += s.executeUpdate("DELETE FROM resourcepermission WHERE resourcepermissionid IN (" - + "SELECT resourcepermissionid FROM resourcepermission a LEFT JOIN user_ b " - + "ON a.primkey=b.userid::TEXT WHERE a.name='" + User.class.getName() - + "' AND b.userid IS NULL)"); - esitoLog(esito, "Cancellate " + rows + " righe da resourcepermission"); - - rows = s.executeUpdate("DELETE FROM syncdlobject WHERE syncdlobjectid IN (" - + "SELECT syncdlobjectid FROM syncdlobject LEFT JOIN dlfileentry " - + "ON syncdlobject.typepk=dlfileentry.fileentryid WHERE type_='" - + DLSyncConstants.TYPE_FILE + "' AND dlfileentry.fileentryid IS NULL)"); - rows += s.executeUpdate("DELETE FROM syncdlobject WHERE syncdlobjectid IN (" - + "SELECT syncdlobjectid FROM syncdlobject LEFT JOIN dlfolder " - + "ON syncdlobject.typepk=dlfolder.folderid WHERE type_='" + DLSyncConstants.TYPE_FOLDER - + "' AND dlfolder.folderid IS NULL)"); - esitoLog(esito, "Cancellate " + rows + " righe da syncdlobject"); - - rows = s.executeUpdate("DELETE FROM ratingsstats WHERE statsid IN (" - + "SELECT statsid FROM ratingsstats a LEFT JOIN dlfileentry b " - + "ON a.classpk=b.fileentryid WHERE a.classnameid=" + dlFileEntryClassNameId - + " AND b.fileentryid IS NULL)"); - rows += s.executeUpdate("DELETE FROM ratingsstats WHERE statsid IN (" - + "SELECT statsid FROM ratingsstats a LEFT JOIN dlfolder b " - + "ON a.classpk=b.folderid WHERE a.classnameid=" + dlFolderClassNameId - + " AND b.folderid IS NULL)"); - rows += s.executeUpdate("DELETE FROM ratingsstats WHERE statsid IN (" - + "SELECT statsid FROM ratingsstats a LEFT JOIN portos_bo_controllopratica b " - + "ON a.classpk=b.controllopraticaid WHERE a.classnameid=" + controlloPraticaClassNameId - + " AND b.controllopraticaid IS NULL)"); - esitoLog(esito, "Cancellate " + rows + " righe da ratingsstats"); - - rows = s.executeUpdate("DELETE FROM mbmessage WHERE messageid IN (" - + "SELECT messageid FROM mbmessage a LEFT JOIN dlfileentry b " - + "ON a.classpk=b.fileentryid WHERE a.classnameid=" + dlFileEntryClassNameId - + " AND b.fileentryid IS NULL)"); - esitoLog(esito, "Cancellate " + rows + " righe da mbmessage"); - - rows = s.executeUpdate("DELETE FROM mbdiscussion WHERE discussionid IN (" - + "SELECT discussionid FROM mbdiscussion a LEFT JOIN dlfileentry b " - + "ON a.classpk=b.fileentryid WHERE a.classnameid=" + dlFileEntryClassNameId - + " AND b.fileentryid IS NULL)"); - esitoLog(esito, "Cancellate " + rows + " righe da mbdiscussion"); - - rows = s.executeUpdate("DELETE FROM mbthread WHERE threadid IN (" - + "SELECT DISTINCT mbthread.threadid FROM mbthread LEFT JOIN mbmessage " - + "ON mbthread.threadid=mbmessage.threadid WHERE mbmessage.messageid IS NULL)"); - esitoLog(esito, "Cancellate " + rows + " righe da mbthread"); - - rows = s.executeUpdate("DELETE FROM dlfileentrymetadata WHERE fileentrymetadataid IN (" - + "SELECT fileentrymetadataid FROM dlfileentrymetadata a LEFT JOIN dlfileentry b " - + "ON a.fileentryid=b.fileentryid WHERE b.fileentryid IS NULL)"); - esitoLog(esito, "Cancellate " + rows + " righe da dlfileentrymetadata"); - - rows = s.executeUpdate("DELETE FROM ddmstructurelink WHERE structurelinkid IN (" - + "SELECT structurelinkid FROM ddmstructurelink a LEFT JOIN dlfileentrymetadata b " - + "ON a.classpk=b.fileentrymetadataid WHERE a.classnameid=" - + dlFileEntryMetadataClassNameId + " AND b.fileentrymetadataid IS NULL)"); - esitoLog(esito, "Cancellate " + rows + " righe da ddmstructurelink"); - - rows = s.executeUpdate("DELETE FROM ddmstoragelink WHERE storagelinkid IN (" - + "SELECT storagelinkid FROM ddmstoragelink a LEFT JOIN ddmcontent b " - + "ON a.classpk=b.contentid WHERE a.classnameid=" + ddmContentClassNameId - + " AND b.contentid IS NULL)"); - esitoLog(esito, "Cancellate " + rows + " righe da ddmstoragelink"); - - rows = s.executeUpdate("DELETE FROM socialactivity WHERE activityid IN (" - + "SELECT activityid FROM socialactivity a LEFT JOIN dlfileentry b " - + "ON a.classpk=b.fileentryid WHERE a.classnameid=" + dlFileEntryClassNameId - + " AND b.fileentryid IS NULL)"); - esitoLog(esito, "Cancellate " + rows + " righe da socialactivity"); - - rows = s.executeUpdate("DELETE FROM systemevent WHERE systemeventid IN (" - + "SELECT systemeventid FROM systemevent a LEFT JOIN dlfileentry b " - + "ON a.classpk=b.fileentryid WHERE a.classnameid=" + dlFileEntryClassNameId - + " AND b.fileentryid IS NULL)"); - rows += s.executeUpdate("DELETE FROM systemevent WHERE systemeventid IN (" - + "SELECT systemeventid FROM systemevent a LEFT JOIN dlfolder b " - + "ON a.classpk=b.folderid WHERE a.classnameid=" + dlFolderClassNameId - + " AND b.folderid IS NULL)"); - rows += s.executeUpdate("DELETE FROM systemevent WHERE systemeventid IN (" - + "SELECT systemeventid FROM systemevent a LEFT JOIN portos_bo_controllopratica b " - + "ON a.classpk=b.controllopraticaid WHERE a.classnameid=" + controlloPraticaClassNameId - + " AND b.controllopraticaid IS NULL)"); - rows += s.executeUpdate("DELETE FROM systemevent WHERE systemeventid IN (" - + "SELECT systemeventid FROM systemevent a LEFT JOIN portos_bo_dettpratica b " - + "ON a.classpk=b.dettpraticaid WHERE a.classnameid=" + dettPraticaClassNameId - + " AND b.dettpraticaid IS NULL)"); - esitoLog(esito, "Cancellate " + rows + " righe da systemevent"); - } catch (SQLException | SystemException e) { - esitoLog(esito, "Interrotto per errore: " + e.getMessage()); - } - return esito; - } - - private static List puliziaDocumentLibrary() { - List esito = new ArrayList<>(); - - try { - int cancellati = 0; - int start = 0; - int totali = 0; - List folders; - do { - folders = DLFolderLocalServiceUtil.getDLFolders(start, start + SLICE); - int rimossi = 0; - totali += folders.size(); - for (DLFolder folder : folders) { - DLFolder parent = folder.getParentFolder(); - if (Validator.isNotNull(parent)) { - switch (parent.getName()) { - case "Allegati": - long[] ids = StringUtil.split(folder.getName(), "_", 0L); - if ((ids.length == 2) && (ids[0] == ids[1])) { - try { - DettPraticaLocalServiceUtil.getDettPratica(ids[0]); - } catch (PortalException e) { - _log.info("Cancello la cartella " + folder.getName()); - cancellati++; - rimossi++; - DLAppLocalServiceUtil.deleteFolder(folder.getFolderId()); - } - } - break; - } - } - } - start += folders.size() - rimossi; - } while (folders.size() > 0); - esitoLog(esito, "Analizzate " + totali + " cartelle, cancellate " + cancellati); - } catch (PortalException | SystemException e) { - esitoLog(esito, "Errore durante l'elaborazione. " + e.getMessage()); - } - return esito; - } - private static void esitoLog(List esito, String msg) { _log.info(msg); esito.add(msg); diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/SismicaUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/SismicaUtil.java index d8ec6a0a..55d424af 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/SismicaUtil.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/SismicaUtil.java @@ -16,7 +16,6 @@ import it.tref.liferay.portos.bo.model.IntPratica; import it.tref.liferay.portos.bo.model.Pagamento; import it.tref.liferay.portos.bo.model.ParereGeologo; import it.tref.liferay.portos.bo.model.Territorio; -import it.tref.liferay.portos.bo.model.impl.AvvisoImpl; import it.tref.liferay.portos.bo.service.AllegatoManualeLocalServiceUtil; import it.tref.liferay.portos.bo.service.AsseverazioneLocalServiceUtil; import it.tref.liferay.portos.bo.service.AvvisoLocalServiceUtil; @@ -35,16 +34,11 @@ import it.tref.liferay.portos.bo.util.AvvisoUtil; import it.tref.liferay.portos.bo.util.Constants; import it.tref.liferay.portos.bo.util.WorkflowConstants; -import java.io.IOException; import java.io.Serializable; -import java.sql.Connection; -import java.sql.SQLException; -import java.sql.Statement; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; -import java.util.Collection; import java.util.Date; import java.util.HashMap; import java.util.LinkedHashMap; @@ -53,13 +47,8 @@ import java.util.Map; import java.util.Map.Entry; import java.util.TreeMap; -import org.apache.commons.io.IOUtils; - -import com.itextpdf.text.pdf.codec.Base64.InputStream; import com.liferay.counter.service.CounterLocalServiceUtil; -import com.liferay.portal.NoSuchRepositoryEntryException; import com.liferay.portal.NoSuchResourcePermissionException; -import com.liferay.portal.kernel.dao.jdbc.DataAccess; import com.liferay.portal.kernel.dao.orm.QueryUtil; import com.liferay.portal.kernel.exception.PortalException; import com.liferay.portal.kernel.exception.SystemException; @@ -79,44 +68,31 @@ import com.liferay.portal.kernel.workflow.WorkflowInstance; import com.liferay.portal.kernel.workflow.WorkflowInstanceManagerUtil; import com.liferay.portal.kernel.workflow.WorkflowTask; import com.liferay.portal.kernel.workflow.WorkflowTaskManagerUtil; -import com.liferay.portal.model.Group; import com.liferay.portal.model.Organization; import com.liferay.portal.model.ResourceAction; import com.liferay.portal.model.ResourceConstants; import com.liferay.portal.model.ResourcePermission; -import com.liferay.portal.model.Role; import com.liferay.portal.model.RoleConstants; import com.liferay.portal.model.User; -import com.liferay.portal.security.auth.PrincipalException; -import com.liferay.portal.security.auth.PrincipalThreadLocal; import com.liferay.portal.security.permission.ActionKeys; import com.liferay.portal.security.permission.PermissionChecker; import com.liferay.portal.security.permission.PermissionCheckerFactoryUtil; -import com.liferay.portal.security.permission.PermissionThreadLocal; -import com.liferay.portal.service.GroupLocalServiceUtil; import com.liferay.portal.service.OrganizationLocalServiceUtil; import com.liferay.portal.service.ResourceActionLocalServiceUtil; import com.liferay.portal.service.ResourcePermissionLocalServiceUtil; import com.liferay.portal.service.RoleLocalServiceUtil; import com.liferay.portal.service.ServiceContext; import com.liferay.portal.service.UserLocalServiceUtil; -import com.liferay.portal.workflow.kaleo.model.KaleoInstance; import com.liferay.portal.workflow.kaleo.model.KaleoInstanceToken; import com.liferay.portal.workflow.kaleo.model.KaleoTaskAssignmentInstance; import com.liferay.portal.workflow.kaleo.model.KaleoTaskInstanceToken; -import com.liferay.portal.workflow.kaleo.service.KaleoInstanceLocalServiceUtil; -import com.liferay.portal.workflow.kaleo.service.KaleoInstanceTokenLocalService; import com.liferay.portal.workflow.kaleo.service.KaleoInstanceTokenLocalServiceUtil; import com.liferay.portal.workflow.kaleo.service.KaleoTaskAssignmentInstanceLocalServiceUtil; import com.liferay.portal.workflow.kaleo.service.KaleoTaskInstanceTokenLocalServiceUtil; -import com.liferay.portal.workflow.kaleo.service.persistence.KaleoInstanceTokenUtil; -import com.liferay.portlet.documentlibrary.NoSuchFileEntryException; import com.liferay.portlet.documentlibrary.model.DLFileEntry; import com.liferay.portlet.documentlibrary.model.DLFolder; -import com.liferay.portlet.documentlibrary.service.DLAppLocalServiceUtil; import com.liferay.portlet.documentlibrary.service.DLAppServiceUtil; import com.liferay.portlet.documentlibrary.service.DLFileEntryLocalServiceUtil; -import com.liferay.portlet.documentlibrary.service.DLFolderLocalServiceUtil; public class SismicaUtil { private final static Log _log = LogFactoryUtil.getLog(SismicaUtil.class); @@ -435,25 +411,39 @@ public class SismicaUtil { esito.add("Errore caricamento intPratiche: " + e.getMessage()); } start += SLICE; - List avvisi = null; for (IntPratica pratica : pratiche) { + List avvisi = null; + List totali = null; String stato = pratica.getStatoPratica(); + + // Avvisi conformi + try { + avvisi = AvvisoLocalServiceUtil.findByIntPraticaId_tipoDocumento( + pratica.getIntPraticaId(), StatoPraticaConstants.CONFORME); + } catch (SystemException e) { + avvisi = new ArrayList<>(); + } + + // Tutti gli avvisi + try { + totali = AvvisoLocalServiceUtil.findByIntPratica(pratica.getIntPraticaId(), + QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); + } catch (SystemException e) { + totali = new ArrayList<>(); + } if (Validator.isNotNull(stato) && Validator.isNotNull(pratica.getTipoProcedura()) && pratica.getTipoPratica().equalsIgnoreCase(Constants.TIPO_PRATICA_DEPOSITO)) { + + // Dettaglio pratica + DettPratica dettPratica = null; try { - avvisi = AvvisoLocalServiceUtil.findByIntPraticaId_tipoDocumento( - pratica.getIntPraticaId(), StatoPraticaConstants.CONFORME); - } catch (SystemException e) { - esito.add("Errore caricamento avvisi: " + e.getMessage()); - } - List totali = null; - try { - totali = AvvisoLocalServiceUtil.findByIntPratica(pratica.getIntPraticaId(), - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); + dettPratica = DettPraticaLocalServiceUtil.getLastCompletedByIntPratica(pratica + .getIntPraticaId()); } catch (SystemException e) { - totali = new ArrayList<>(); } - if ((avvisi.size() == 0) && stato.equalsIgnoreCase(StatoPraticaConstants.VIDIMATA)) { + + if (Validator.isNotNull(dettPratica)) { + // Controllo pratica List controlli = null; try { controlli = ControlloPraticaLocalServiceUtil.findByIntPratica(pratica @@ -461,68 +451,71 @@ public class SismicaUtil { } catch (SystemException e) { controlli = new ArrayList<>(); } - if (pratica.getStatoPratica().equals(StatoPraticaConstants.VIDIMATA) - && (controlli.size() == 0)) { - esito.add("Progetto: " + pratica.getNumeroProgetto() + " (" - + pratica.getIntPraticaId() + "), procedura=" - + pratica.getTipoProcedura() + ", avvisi=" + totali.size() + ", stato=" - + pratica.getStatoPratica() + ", controlli=" + controlli.size()); - - DettPratica dettPratica; - try { - dettPratica = DettPraticaLocalServiceUtil - .getLastCompletedByIntPratica(pratica.getIntPraticaId()); - } catch (SystemException e) { - dettPratica = null; - } + ControlloPratica controllo = null; + if (controlli.size() > 0) { + controllo = controlli.get(controlli.size() - 1); + } + + boolean totaliOk = (totali.size() == 0) + || ((totali.size() == 1) && totali.get(0).getTipoDocumento() + .equalsIgnoreCase(StatoPraticaConstants.VIDIMATA)); + if ((avvisi.size() == 0 && stato.equalsIgnoreCase(StatoPraticaConstants.VIDIMATA)) + || (totaliOk && stato.equalsIgnoreCase(StatoPraticaConstants.CONFORME))) { - if (Validator.isNotNull(dettPratica)) { - ServiceContext serviceContext = new ServiceContext(); - serviceContext.setCompanyId(dettPratica.getCompanyId()); - serviceContext.setScopeGroupId(dettPratica.getGroupId()); - serviceContext.setUserId(dettPratica.getUserId()); + ServiceContext serviceContext = new ServiceContext(); + serviceContext.setCompanyId(dettPratica.getCompanyId()); + serviceContext.setScopeGroupId(dettPratica.getGroupId()); + serviceContext.setUserId(dettPratica.getUserId()); - ControlloPratica controllo; + if (Validator.isNull(controllo)) { try { controllo = ControlloPraticaLocalServiceUtil.addControlloPratica( dettPratica.getGroupId(), dettPratica.getUserId(), pratica.getIntPraticaId(), dettPratica.getDettPraticaId(), false, serviceContext); } catch (PortalException | SystemException e) { - controllo = null; } - if (Validator.isNotNull(controllo)) { - controllo.setStatus(WorkflowConstants.STATUS_APPROVED); - try { - ControlloPraticaLocalServiceUtil.updateControlloPratica(controllo); - } catch (SystemException e) { - } + } + if (Validator.isNotNull(controllo)) { + controllo.setStatus(WorkflowConstants.STATUS_APPROVED); + try { + ControlloPraticaLocalServiceUtil.updateControlloPratica(controllo); + } catch (SystemException e) { + } - long fileEntryIdTemplate; - try { - fileEntryIdTemplate = ConfigurazioneLocalServiceUtil - .findByC_ChiaveLong(companyId, - "conf.geniocivile.avviso.template.id.deposito.B2"); - } catch (SystemException e) { - fileEntryIdTemplate = 0; - } + long fileEntryIdTemplate; + try { + fileEntryIdTemplate = ConfigurazioneLocalServiceUtil.findByC_ChiaveLong( + companyId, "conf.geniocivile.avviso.template.id.deposito.B2"); + } catch (SystemException e) { + fileEntryIdTemplate = 0; + } - if (Validator.isNotNull(fileEntryIdTemplate)) { - try { - if (!pratica.getTipoProcedura().equalsIgnoreCase( - Constants.PROCEDURA_C)) { - AvvisoLocalServiceUtil.addAvviso(pratica.getIntPraticaId(), - "Attestazione di deposito progetto", new Date(), - AvvisoUtil.TIPO_AVVISO_DIRETTO, - StatoPraticaConstants.CONFORME, fileEntryIdTemplate, - dettPratica.getDettPraticaId(), - DettPratica.class.getName(), - controllo.getControlloPraticaId(), serviceContext); - } - pratica.setStatoPratica(StatoPraticaConstants.CONFORME); - IntPraticaLocalServiceUtil.updateIntPratica(pratica); - } catch (PortalException | SystemException e) { + _log.info("Pratica " + + pratica.getNumeroProgetto() + + ", totali.size() = " + + totali.size() + + (totali.size() > 0 ? ", totali(0) = " + + totali.get(0).getTipoDocumento() : "") + + ", avvisi.size() = " + avvisi.size() + ", stato = " + stato + + ", controllo = " + controllo.getPrimaryKey() + + ", fileEntryIdTemplate = " + fileEntryIdTemplate); + + if (Validator.isNotNull(fileEntryIdTemplate)) { + try { + if (!pratica.getTipoProcedura().equalsIgnoreCase( + Constants.PROCEDURA_C)) { + AvvisoLocalServiceUtil.addAvviso(pratica.getIntPraticaId(), + "Attestazione di deposito progetto", new Date(), + AvvisoUtil.TIPO_AVVISO_DIRETTO, + StatoPraticaConstants.CONFORME, fileEntryIdTemplate, + dettPratica.getDettPraticaId(), + DettPratica.class.getName(), + controllo.getControlloPraticaId(), serviceContext); } + pratica.setStatoPratica(StatoPraticaConstants.CONFORME); + IntPraticaLocalServiceUtil.updateIntPratica(pratica); + } catch (PortalException | SystemException e) { } } } diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/CollaudoCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/CollaudoCacheModel.java index 0376f6f6..abad7ca5 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/CollaudoCacheModel.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/CollaudoCacheModel.java @@ -37,7 +37,7 @@ import java.util.Date; public class CollaudoCacheModel implements CacheModel, Externalizable { @Override public String toString() { - StringBundler sb = new StringBundler(53); + StringBundler sb = new StringBundler(51); sb.append("{uuid="); sb.append(uuid); @@ -89,8 +89,6 @@ public class CollaudoCacheModel implements CacheModel, Externalizable sb.append(normEsenteBollo); sb.append(", importoBolli="); sb.append(importoBolli); - sb.append(", oldDettPraticaId="); - sb.append(oldDettPraticaId); sb.append("}"); return sb.toString(); @@ -214,8 +212,6 @@ public class CollaudoCacheModel implements CacheModel, Externalizable collaudoImpl.setImportoBolli(importoBolli); } - collaudoImpl.setOldDettPraticaId(oldDettPraticaId); - collaudoImpl.resetOriginalValues(); return collaudoImpl; @@ -248,7 +244,6 @@ public class CollaudoCacheModel implements CacheModel, Externalizable mezzoPagamento = objectInput.readUTF(); normEsenteBollo = objectInput.readBoolean(); importoBolli = objectInput.readUTF(); - oldDettPraticaId = objectInput.readLong(); } @Override @@ -338,8 +333,6 @@ public class CollaudoCacheModel implements CacheModel, Externalizable else { objectOutput.writeUTF(importoBolli); } - - objectOutput.writeLong(oldDettPraticaId); } public String uuid; @@ -367,5 +360,4 @@ public class CollaudoCacheModel implements CacheModel, Externalizable public String mezzoPagamento; public boolean normEsenteBollo; public String importoBolli; - public long oldDettPraticaId; } \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/CollaudoModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/CollaudoModelImpl.java index cd49c204..db45f3a9 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/CollaudoModelImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/CollaudoModelImpl.java @@ -91,10 +91,9 @@ public class CollaudoModelImpl extends BaseModelImpl { "causalePagamento", Types.VARCHAR }, { "mezzoPagamento", Types.VARCHAR }, { "normEsenteBollo", Types.BOOLEAN }, - { "importoBolli", Types.VARCHAR }, - { "oldDettPraticaId", Types.BIGINT } + { "importoBolli", Types.VARCHAR } }; - public static final String TABLE_SQL_CREATE = "create table portos_bo_Collaudo (uuid_ VARCHAR(75) null,collaudoId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,intPraticaId LONG,protocollo VARCHAR(75) null,dtProtocollo DATE null,parziale BOOLEAN,completata BOOLEAN,gestita BOOLEAN,numero LONG,codiceFiscaleDelegato VARCHAR(75) null,dataEffettuazione DATE null,dataCollaudo DATE null,noteCollaudo STRING null,pagamentoId LONG,codicePagamento VARCHAR(75) null,causalePagamento VARCHAR(75) null,mezzoPagamento VARCHAR(75) null,normEsenteBollo BOOLEAN,importoBolli VARCHAR(75) null,oldDettPraticaId LONG)"; + public static final String TABLE_SQL_CREATE = "create table portos_bo_Collaudo (uuid_ VARCHAR(75) null,collaudoId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,intPraticaId LONG,protocollo VARCHAR(75) null,dtProtocollo DATE null,parziale BOOLEAN,completata BOOLEAN,gestita BOOLEAN,numero LONG,codiceFiscaleDelegato VARCHAR(75) null,dataEffettuazione DATE null,dataCollaudo DATE null,noteCollaudo STRING null,pagamentoId LONG,codicePagamento VARCHAR(75) null,causalePagamento VARCHAR(75) null,mezzoPagamento VARCHAR(75) null,normEsenteBollo BOOLEAN,importoBolli VARCHAR(75) null)"; public static final String TABLE_SQL_DROP = "drop table portos_bo_Collaudo"; public static final String ORDER_BY_JPQL = " ORDER BY collaudo.collaudoId ASC"; public static final String ORDER_BY_SQL = " ORDER BY portos_bo_Collaudo.collaudoId ASC"; @@ -115,11 +114,10 @@ public class CollaudoModelImpl extends BaseModelImpl public static long COMPLETATA_COLUMN_BITMASK = 4L; public static long GROUPID_COLUMN_BITMASK = 8L; public static long INTPRATICAID_COLUMN_BITMASK = 16L; - public static long OLDDETTPRATICAID_COLUMN_BITMASK = 32L; - public static long PARZIALE_COLUMN_BITMASK = 64L; - public static long PROTOCOLLO_COLUMN_BITMASK = 128L; - public static long UUID_COLUMN_BITMASK = 256L; - public static long COLLAUDOID_COLUMN_BITMASK = 512L; + public static long PARZIALE_COLUMN_BITMASK = 32L; + public static long PROTOCOLLO_COLUMN_BITMASK = 64L; + public static long UUID_COLUMN_BITMASK = 128L; + public static long COLLAUDOID_COLUMN_BITMASK = 256L; /** * Converts the soap model instance into a normal model instance. @@ -159,7 +157,6 @@ public class CollaudoModelImpl extends BaseModelImpl model.setMezzoPagamento(soapModel.getMezzoPagamento()); model.setNormEsenteBollo(soapModel.getNormEsenteBollo()); model.setImportoBolli(soapModel.getImportoBolli()); - model.setOldDettPraticaId(soapModel.getOldDettPraticaId()); return model; } @@ -249,7 +246,6 @@ public class CollaudoModelImpl extends BaseModelImpl attributes.put("mezzoPagamento", getMezzoPagamento()); attributes.put("normEsenteBollo", getNormEsenteBollo()); attributes.put("importoBolli", getImportoBolli()); - attributes.put("oldDettPraticaId", getOldDettPraticaId()); return attributes; } @@ -406,12 +402,6 @@ public class CollaudoModelImpl extends BaseModelImpl if (importoBolli != null) { setImportoBolli(importoBolli); } - - Long oldDettPraticaId = (Long)attributes.get("oldDettPraticaId"); - - if (oldDettPraticaId != null) { - setOldDettPraticaId(oldDettPraticaId); - } } @JSON @@ -852,29 +842,6 @@ public class CollaudoModelImpl extends BaseModelImpl _importoBolli = importoBolli; } - @JSON - @Override - public long getOldDettPraticaId() { - return _oldDettPraticaId; - } - - @Override - public void setOldDettPraticaId(long oldDettPraticaId) { - _columnBitmask |= OLDDETTPRATICAID_COLUMN_BITMASK; - - if (!_setOriginalOldDettPraticaId) { - _setOriginalOldDettPraticaId = true; - - _originalOldDettPraticaId = _oldDettPraticaId; - } - - _oldDettPraticaId = oldDettPraticaId; - } - - public long getOriginalOldDettPraticaId() { - return _originalOldDettPraticaId; - } - @Override public StagedModelType getStagedModelType() { return new StagedModelType(PortalUtil.getClassNameId( @@ -937,7 +904,6 @@ public class CollaudoModelImpl extends BaseModelImpl collaudoImpl.setMezzoPagamento(getMezzoPagamento()); collaudoImpl.setNormEsenteBollo(getNormEsenteBollo()); collaudoImpl.setImportoBolli(getImportoBolli()); - collaudoImpl.setOldDettPraticaId(getOldDettPraticaId()); collaudoImpl.resetOriginalValues(); @@ -1016,10 +982,6 @@ public class CollaudoModelImpl extends BaseModelImpl collaudoModelImpl._originalCodiceFiscaleDelegato = collaudoModelImpl._codiceFiscaleDelegato; - collaudoModelImpl._originalOldDettPraticaId = collaudoModelImpl._oldDettPraticaId; - - collaudoModelImpl._setOriginalOldDettPraticaId = false; - collaudoModelImpl._columnBitmask = 0; } @@ -1167,14 +1129,12 @@ public class CollaudoModelImpl extends BaseModelImpl collaudoCacheModel.importoBolli = null; } - collaudoCacheModel.oldDettPraticaId = getOldDettPraticaId(); - return collaudoCacheModel; } @Override public String toString() { - StringBundler sb = new StringBundler(53); + StringBundler sb = new StringBundler(51); sb.append("{uuid="); sb.append(getUuid()); @@ -1226,8 +1186,6 @@ public class CollaudoModelImpl extends BaseModelImpl sb.append(getNormEsenteBollo()); sb.append(", importoBolli="); sb.append(getImportoBolli()); - sb.append(", oldDettPraticaId="); - sb.append(getOldDettPraticaId()); sb.append("}"); return sb.toString(); @@ -1235,7 +1193,7 @@ public class CollaudoModelImpl extends BaseModelImpl @Override public String toXmlString() { - StringBundler sb = new StringBundler(82); + StringBundler sb = new StringBundler(79); sb.append(""); sb.append("it.tref.liferay.portos.bo.model.Collaudo"); @@ -1341,10 +1299,6 @@ public class CollaudoModelImpl extends BaseModelImpl "importoBolli"); - sb.append( - "oldDettPraticaId"); sb.append(""); @@ -1394,9 +1348,6 @@ public class CollaudoModelImpl extends BaseModelImpl private String _mezzoPagamento; private boolean _normEsenteBollo; private String _importoBolli; - private long _oldDettPraticaId; - private long _originalOldDettPraticaId; - private boolean _setOriginalOldDettPraticaId; private long _columnBitmask; private Collaudo _escapedModel; } \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/DettPraticaCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/DettPraticaCacheModel.java index 9ccf20ab..1b1c4e29 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/DettPraticaCacheModel.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/DettPraticaCacheModel.java @@ -38,7 +38,7 @@ public class DettPraticaCacheModel implements CacheModel, Externalizable { @Override public String toString() { - StringBundler sb = new StringBundler(473); + StringBundler sb = new StringBundler(471); sb.append("{uuid="); sb.append(uuid); @@ -108,8 +108,6 @@ public class DettPraticaCacheModel implements CacheModel, sb.append(soggettoSostituitoId); sb.append(", dtInvioSignal="); sb.append(dtInvioSignal); - sb.append(", oldDettPraticaId="); - sb.append(oldDettPraticaId); sb.append(", destinazione="); sb.append(destinazione); sb.append(", ag="); @@ -674,8 +672,6 @@ public class DettPraticaCacheModel implements CacheModel, dettPraticaImpl.setDtInvioSignal(new Date(dtInvioSignal)); } - dettPraticaImpl.setOldDettPraticaId(oldDettPraticaId); - if (destinazione == null) { dettPraticaImpl.setDestinazione(StringPool.BLANK); } @@ -1458,7 +1454,6 @@ public class DettPraticaCacheModel implements CacheModel, workflowForzato = objectInput.readBoolean(); soggettoSostituitoId = objectInput.readLong(); dtInvioSignal = objectInput.readLong(); - oldDettPraticaId = objectInput.readLong(); destinazione = objectInput.readUTF(); ag = objectInput.readUTF(); descLongIntervento = objectInput.readUTF(); @@ -1782,7 +1777,6 @@ public class DettPraticaCacheModel implements CacheModel, objectOutput.writeBoolean(workflowForzato); objectOutput.writeLong(soggettoSostituitoId); objectOutput.writeLong(dtInvioSignal); - objectOutput.writeLong(oldDettPraticaId); if (destinazione == null) { objectOutput.writeUTF(StringPool.BLANK); @@ -2533,7 +2527,6 @@ public class DettPraticaCacheModel implements CacheModel, public boolean workflowForzato; public long soggettoSostituitoId; public long dtInvioSignal; - public long oldDettPraticaId; public String destinazione; public String ag; public String descLongIntervento; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/DettPraticaImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/DettPraticaImpl.java index 5be767e3..a58ec33d 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/DettPraticaImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/DettPraticaImpl.java @@ -342,7 +342,6 @@ public class DettPraticaImpl extends DettPraticaBaseImpl { attributes.put("dtInvioSignal", Validator.isNotNull(getDtInvioSignal()) ? dateFormatDateTime.format(getDtInvioSignal()) : StringPool.BLANK); - attributes.put("oldDettPraticaId", getOldDettPraticaId()); attributes.put( "destinazione", Validator.isNotNull(getDestinazione()) ? LanguageUtil.get(LocaleUtil.getSiteDefault(), diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/DettPraticaModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/DettPraticaModelImpl.java index 97e6dfdd..746bb39c 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/DettPraticaModelImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/DettPraticaModelImpl.java @@ -102,7 +102,6 @@ public class DettPraticaModelImpl extends BaseModelImpl { "workflowForzato", Types.BOOLEAN }, { "soggettoSostituitoId", Types.BIGINT }, { "dtInvioSignal", Types.TIMESTAMP }, - { "oldDettPraticaId", Types.BIGINT }, { "destinazione", Types.VARCHAR }, { "ag", Types.VARCHAR }, { "descLongIntervento", Types.VARCHAR }, @@ -305,7 +304,7 @@ public class DettPraticaModelImpl extends BaseModelImpl { "intervFinPubDesc", Types.VARCHAR }, { "suap", Types.BOOLEAN } }; - public static final String TABLE_SQL_CREATE = "create table portos_bo_DettPratica (uuid_ VARCHAR(75) null,dettPraticaId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,intPraticaId LONG,integrazione LONG,protocollo VARCHAR(75) null,dtProtocollo DATE null,tipoIntegrazione VARCHAR(10) null,completa BOOLEAN,gestita BOOLEAN,importoSpeseIstruttoria VARCHAR(75) null,codicePagamentoOneri VARCHAR(75) null,causalePagamentoOneri VARCHAR(75) null,mezzoPagamentoOneri VARCHAR(75) null,importoBolli VARCHAR(75) null,codicePagamentoBolli VARCHAR(75) null,causalePagamentoBolli VARCHAR(75) null,mezzoPagamentoBolli VARCHAR(75) null,dataEffettuazione DATE null,version INTEGER,versionata BOOLEAN,status INTEGER,statusByUserId LONG,statusByUserName VARCHAR(75) null,statusDate DATE null,statusTask INTEGER,workflowForzato BOOLEAN,soggettoSostituitoId LONG,dtInvioSignal DATE null,oldDettPraticaId LONG,destinazione VARCHAR(10) null,ag VARCHAR(10) null,descLongIntervento STRING null,via VARCHAR(75) null,localita VARCHAR(75) null,estremiCatastali STRING null,estremiPratCom STRING null,variataDa LONG,varianteNumero LONG,varianteSostanziale BOOLEAN,operaConforme BOOLEAN,collaudoStatico BOOLEAN,codiceFiscaleDelegato VARCHAR(16) null,codiceRuoloDelegato VARCHAR(75) null,codiceFiscaleDelegatoCommittente VARCHAR(75) null,codiceFiscaleDelegatoFineLavori VARCHAR(75) null,codiceFiscaleDelegatoCollaudo VARCHAR(75) null,codiceFiscalePrincipaleCommittente VARCHAR(75) null,codiceFiscalePrincipaleCollaudatore VARCHAR(75) null,codiceFiscalePrincipaleProgettista VARCHAR(75) null,codiceFiscalePrincipaleDirettoreLavori VARCHAR(75) null,codiceFiscalePrincipaleDitta VARCHAR(75) null,codiceFiscalePrincipaleGeologo VARCHAR(75) null,lavoriInEconomiaCommittente BOOLEAN,inizioLavoriContestualeOpera BOOLEAN,dataInizioLavoriOpera DATE null,dataInizioEsecuzioneOpera DATE null,dataFineEsecuzioneOpera DATE null,metratura VARCHAR(75) null,lavoriPubblici BOOLEAN,pagamentoIdOneri LONG,pagamentoIdBolli LONG,lavoriPubbliciPercentuale INTEGER,numeroCivico VARCHAR(75) null,dcParticelle VARCHAR(75) null,dcFoglio VARCHAR(75) null,dcAllegato VARCHAR(75) null,dePiani VARCHAR(75) null,deAltezza VARCHAR(75) null,deInterrati VARCHAR(75) null,deSuperficie VARCHAR(75) null,deCostruzione VARCHAR(75) null,deRistrutturazione VARCHAR(75) null,deUso VARCHAR(75) null,dePubblica VARCHAR(75) null,dePrivata VARCHAR(75) null,deUtilizzazione VARCHAR(75) null,dePosizioneEdificio VARCHAR(75) null,deInfStradalePonte BOOLEAN,deInfStradaleStrada BOOLEAN,deInfStradaleAltro BOOLEAN,deInfIdraulicaLong BOOLEAN,deInfIdraulicaTrasv BOOLEAN,deInfIdraulicaAltro BOOLEAN,deInfOperaAccStradale BOOLEAN,deInfOperaAccIdraulica BOOLEAN,deInfOperaAccAltro BOOLEAN,deInfAltraInfrastruttura BOOLEAN,deInfAltro BOOLEAN,deInfAltroDesc STRING null,dccFondazioni VARCHAR(75) null,dccStruttureEleMuraturePietrame BOOLEAN,dccStruttureEleMuratureLaterizio BOOLEAN,dccStruttureEleMuratureMisto BOOLEAN,dccStruttureEleMuratureStoriche BOOLEAN,dccStruttureEleAcciaio VARCHAR(75) null,dccStruttureEleCA VARCHAR(75) null,dccStruttureEleLegno VARCHAR(75) null,dccStruttureEleMistoCA BOOLEAN,dccStruttureEleMistoAcciaio BOOLEAN,dccStruttureEleMistoMuratura BOOLEAN,dccStruttureEleMistoLegno BOOLEAN,dccStruttureElePrefabbricato BOOLEAN,dccStruttureEleAltro BOOLEAN,dccStruttureEleAltroDescrizione STRING null,dccOrizzontamentiCAAcciaio BOOLEAN,dccOrizzontamentiLegno BOOLEAN,dccOrizzontamentiLegnoCA BOOLEAN,dccOrizzontamentiLamieraGrecata BOOLEAN,dccOrizzontamentiVolte BOOLEAN,dccOrizzontamentiAltro BOOLEAN,dccOrizzontamentiAltroDescrizione STRING null,dccCopertura VARCHAR(75) null,dccCoperturaCAAcciaio BOOLEAN,dccCoperturaLegno BOOLEAN,dccCoperturaLegnoCA BOOLEAN,dccCoperturaLamieraGrecata BOOLEAN,dccCoperturaPannelli BOOLEAN,dccCoperturaPVCTelonati BOOLEAN,dccCoperturaLeggere BOOLEAN,dccCoperturaAltro BOOLEAN,dccCoperturaAltroDesrizione STRING null,dccElemNonStrutLaterizio BOOLEAN,dccElemNonStrutCartongesso BOOLEAN,dccElemNonStrutCalcestruzzo BOOLEAN,dccElemNonStrutLegno BOOLEAN,dccElemNonStrutAltro BOOLEAN,dccElemNonStrutAltroDescrizione STRING null,dccOpereDiRinforzoInsCatene BOOLEAN,dccOpereDiRinforzoInsCordoli BOOLEAN,dccOpereDiRinforzoIniArmate BOOLEAN,dccOpereDiRinforzoPlaccaggi BOOLEAN,dccOpereDiRinforzoIrrSolai BOOLEAN,dccOpereDiRinforzoRinforziFRP BOOLEAN,dccOpereDiRinforzoTelaiECerchiature BOOLEAN,dccOpereDiRinforzoInsRompitratta BOOLEAN,dccOpereDiRinforzoAltro BOOLEAN,dccOpereDiRinforzoAltroDescrizione STRING null,geoClasseIndagine VARCHAR(75) null,geoCategoriaSottosuolo VARCHAR(75) null,geoCategoriaTopografica VARCHAR(75) null,geoConsolidamento VARCHAR(75) null,geoPericolositaGeologica VARCHAR(75) null,geoPericolositaSismica VARCHAR(75) null,geoPericolositaIdraulica VARCHAR(75) null,geoPericolositaGeomorfica VARCHAR(75) null,geoRischioGeomorfologicoPai VARCHAR(75) null,geoPericolositaIdraulicaPai VARCHAR(75) null,geoRischioIdraulicoPai VARCHAR(75) null,geoFattibilitaGeologica VARCHAR(75) null,geoFattibilitaSismica VARCHAR(75) null,geoFattibilitaIdraulica VARCHAR(75) null,geoOperaRilevante VARCHAR(75) null,geoOpereDiSostegno VARCHAR(75) null,geoOpereInSotterranea VARCHAR(75) null,geoPresenzaPrescrizioni VARCHAR(75) null,geoNotePrescrizioni STRING null,geoNoteIndagini STRING null,geoEvidenzeGeomorfiche VARCHAR(75) null,geoEvidenzeGeologiche VARCHAR(75) null,geoDtRelazione DATE null,pagNuoveCostruzioni BOOLEAN,pagAdeguamentoSismico INTEGER,pagMiglioramentoSismico INTEGER,pagMiglioramentoSismicoSicilia BOOLEAN,pagRiparazioneInterventoLocale BOOLEAN,pagOperaNonQuantificabile BOOLEAN,pagNuovaCostruzione INTEGER,pagVarianti BOOLEAN,pagAltro INTEGER,pagCalcolatoAdeguamentoSismico VARCHAR(75) null,pagCalcolatoMiglioramentoSismico VARCHAR(75) null,pagCalcolatoRiparazioneInterventoLocale VARCHAR(75) null,pagCalcolatoOperaNonQuantificabile VARCHAR(75) null,pagEffettivoAdeguamentoSismico VARCHAR(75) null,pagEffettivoMiglioramentoSismico VARCHAR(75) null,pagEffettivoRiparazioneInterventoLocale VARCHAR(75) null,pagEffettivoOperaNonQuantificabile VARCHAR(75) null,pagNoteUtente TEXT null,note STRING null,noteUfficio STRING null,localizzazioneGeografica VARCHAR(75) null,tcNuovaCostruzione BOOLEAN,tcNuovaCostruzioneComplessa BOOLEAN,tcAdeguamentoSismico BOOLEAN,tcMiglioramentoSismico BOOLEAN,tcRiparazioneInterventoLocale BOOLEAN,tcInCA BOOLEAN,tcInOpera BOOLEAN,tcPrefabbricato BOOLEAN,tcInAcciaio BOOLEAN,tcMista BOOLEAN,tcInMuratura BOOLEAN,tcInMuraturaOrdinaria BOOLEAN,tcInMuraturaArmata BOOLEAN,tcInMuraturaMista BOOLEAN,tcInLegno BOOLEAN,tcAltro BOOLEAN,tcAltroDescrizione STRING null,tcConDispositivi BOOLEAN,normLavoriInProprio BOOLEAN,normEsenteBollo BOOLEAN,normEsenteSpese BOOLEAN,normDpr01Dep BOOLEAN,normDpr02Dep BOOLEAN,normDpr01Aut BOOLEAN,normDpr02Aut BOOLEAN,normDpr03 BOOLEAN,normDpr04 BOOLEAN,normDpr05 BOOLEAN,normDm01 BOOLEAN,normDm02 BOOLEAN,normDm03 BOOLEAN,normDm2018 BOOLEAN,normDm04 BOOLEAN,normDm05 BOOLEAN,normDprg01 BOOLEAN,normDprg02 BOOLEAN,normAnr BOOLEAN,normOrd01 BOOLEAN,normCI01 BOOLEAN,normLTC01 BOOLEAN,normArt3com3 BOOLEAN,normArt3com4 BOOLEAN,dpdc BOOLEAN,normSismaBonus BOOLEAN,clRischioPreInt VARCHAR(75) null,clRischioPostInt VARCHAR(75) null,intervFinPub BOOLEAN,intervFinPubDesc STRING null,suap BOOLEAN)"; + public static final String TABLE_SQL_CREATE = "create table portos_bo_DettPratica (uuid_ VARCHAR(75) null,dettPraticaId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,intPraticaId LONG,integrazione LONG,protocollo VARCHAR(75) null,dtProtocollo DATE null,tipoIntegrazione VARCHAR(10) null,completa BOOLEAN,gestita BOOLEAN,importoSpeseIstruttoria VARCHAR(75) null,codicePagamentoOneri VARCHAR(75) null,causalePagamentoOneri VARCHAR(75) null,mezzoPagamentoOneri VARCHAR(75) null,importoBolli VARCHAR(75) null,codicePagamentoBolli VARCHAR(75) null,causalePagamentoBolli VARCHAR(75) null,mezzoPagamentoBolli VARCHAR(75) null,dataEffettuazione DATE null,version INTEGER,versionata BOOLEAN,status INTEGER,statusByUserId LONG,statusByUserName VARCHAR(75) null,statusDate DATE null,statusTask INTEGER,workflowForzato BOOLEAN,soggettoSostituitoId LONG,dtInvioSignal DATE null,destinazione VARCHAR(10) null,ag VARCHAR(10) null,descLongIntervento STRING null,via VARCHAR(75) null,localita VARCHAR(75) null,estremiCatastali STRING null,estremiPratCom STRING null,variataDa LONG,varianteNumero LONG,varianteSostanziale BOOLEAN,operaConforme BOOLEAN,collaudoStatico BOOLEAN,codiceFiscaleDelegato VARCHAR(16) null,codiceRuoloDelegato VARCHAR(75) null,codiceFiscaleDelegatoCommittente VARCHAR(75) null,codiceFiscaleDelegatoFineLavori VARCHAR(75) null,codiceFiscaleDelegatoCollaudo VARCHAR(75) null,codiceFiscalePrincipaleCommittente VARCHAR(75) null,codiceFiscalePrincipaleCollaudatore VARCHAR(75) null,codiceFiscalePrincipaleProgettista VARCHAR(75) null,codiceFiscalePrincipaleDirettoreLavori VARCHAR(75) null,codiceFiscalePrincipaleDitta VARCHAR(75) null,codiceFiscalePrincipaleGeologo VARCHAR(75) null,lavoriInEconomiaCommittente BOOLEAN,inizioLavoriContestualeOpera BOOLEAN,dataInizioLavoriOpera DATE null,dataInizioEsecuzioneOpera DATE null,dataFineEsecuzioneOpera DATE null,metratura VARCHAR(75) null,lavoriPubblici BOOLEAN,pagamentoIdOneri LONG,pagamentoIdBolli LONG,lavoriPubbliciPercentuale INTEGER,numeroCivico VARCHAR(75) null,dcParticelle VARCHAR(75) null,dcFoglio VARCHAR(75) null,dcAllegato VARCHAR(75) null,dePiani VARCHAR(75) null,deAltezza VARCHAR(75) null,deInterrati VARCHAR(75) null,deSuperficie VARCHAR(75) null,deCostruzione VARCHAR(75) null,deRistrutturazione VARCHAR(75) null,deUso VARCHAR(75) null,dePubblica VARCHAR(75) null,dePrivata VARCHAR(75) null,deUtilizzazione VARCHAR(75) null,dePosizioneEdificio VARCHAR(75) null,deInfStradalePonte BOOLEAN,deInfStradaleStrada BOOLEAN,deInfStradaleAltro BOOLEAN,deInfIdraulicaLong BOOLEAN,deInfIdraulicaTrasv BOOLEAN,deInfIdraulicaAltro BOOLEAN,deInfOperaAccStradale BOOLEAN,deInfOperaAccIdraulica BOOLEAN,deInfOperaAccAltro BOOLEAN,deInfAltraInfrastruttura BOOLEAN,deInfAltro BOOLEAN,deInfAltroDesc STRING null,dccFondazioni VARCHAR(75) null,dccStruttureEleMuraturePietrame BOOLEAN,dccStruttureEleMuratureLaterizio BOOLEAN,dccStruttureEleMuratureMisto BOOLEAN,dccStruttureEleMuratureStoriche BOOLEAN,dccStruttureEleAcciaio VARCHAR(75) null,dccStruttureEleCA VARCHAR(75) null,dccStruttureEleLegno VARCHAR(75) null,dccStruttureEleMistoCA BOOLEAN,dccStruttureEleMistoAcciaio BOOLEAN,dccStruttureEleMistoMuratura BOOLEAN,dccStruttureEleMistoLegno BOOLEAN,dccStruttureElePrefabbricato BOOLEAN,dccStruttureEleAltro BOOLEAN,dccStruttureEleAltroDescrizione STRING null,dccOrizzontamentiCAAcciaio BOOLEAN,dccOrizzontamentiLegno BOOLEAN,dccOrizzontamentiLegnoCA BOOLEAN,dccOrizzontamentiLamieraGrecata BOOLEAN,dccOrizzontamentiVolte BOOLEAN,dccOrizzontamentiAltro BOOLEAN,dccOrizzontamentiAltroDescrizione STRING null,dccCopertura VARCHAR(75) null,dccCoperturaCAAcciaio BOOLEAN,dccCoperturaLegno BOOLEAN,dccCoperturaLegnoCA BOOLEAN,dccCoperturaLamieraGrecata BOOLEAN,dccCoperturaPannelli BOOLEAN,dccCoperturaPVCTelonati BOOLEAN,dccCoperturaLeggere BOOLEAN,dccCoperturaAltro BOOLEAN,dccCoperturaAltroDesrizione STRING null,dccElemNonStrutLaterizio BOOLEAN,dccElemNonStrutCartongesso BOOLEAN,dccElemNonStrutCalcestruzzo BOOLEAN,dccElemNonStrutLegno BOOLEAN,dccElemNonStrutAltro BOOLEAN,dccElemNonStrutAltroDescrizione STRING null,dccOpereDiRinforzoInsCatene BOOLEAN,dccOpereDiRinforzoInsCordoli BOOLEAN,dccOpereDiRinforzoIniArmate BOOLEAN,dccOpereDiRinforzoPlaccaggi BOOLEAN,dccOpereDiRinforzoIrrSolai BOOLEAN,dccOpereDiRinforzoRinforziFRP BOOLEAN,dccOpereDiRinforzoTelaiECerchiature BOOLEAN,dccOpereDiRinforzoInsRompitratta BOOLEAN,dccOpereDiRinforzoAltro BOOLEAN,dccOpereDiRinforzoAltroDescrizione STRING null,geoClasseIndagine VARCHAR(75) null,geoCategoriaSottosuolo VARCHAR(75) null,geoCategoriaTopografica VARCHAR(75) null,geoConsolidamento VARCHAR(75) null,geoPericolositaGeologica VARCHAR(75) null,geoPericolositaSismica VARCHAR(75) null,geoPericolositaIdraulica VARCHAR(75) null,geoPericolositaGeomorfica VARCHAR(75) null,geoRischioGeomorfologicoPai VARCHAR(75) null,geoPericolositaIdraulicaPai VARCHAR(75) null,geoRischioIdraulicoPai VARCHAR(75) null,geoFattibilitaGeologica VARCHAR(75) null,geoFattibilitaSismica VARCHAR(75) null,geoFattibilitaIdraulica VARCHAR(75) null,geoOperaRilevante VARCHAR(75) null,geoOpereDiSostegno VARCHAR(75) null,geoOpereInSotterranea VARCHAR(75) null,geoPresenzaPrescrizioni VARCHAR(75) null,geoNotePrescrizioni STRING null,geoNoteIndagini STRING null,geoEvidenzeGeomorfiche VARCHAR(75) null,geoEvidenzeGeologiche VARCHAR(75) null,geoDtRelazione DATE null,pagNuoveCostruzioni BOOLEAN,pagAdeguamentoSismico INTEGER,pagMiglioramentoSismico INTEGER,pagMiglioramentoSismicoSicilia BOOLEAN,pagRiparazioneInterventoLocale BOOLEAN,pagOperaNonQuantificabile BOOLEAN,pagNuovaCostruzione INTEGER,pagVarianti BOOLEAN,pagAltro INTEGER,pagCalcolatoAdeguamentoSismico VARCHAR(75) null,pagCalcolatoMiglioramentoSismico VARCHAR(75) null,pagCalcolatoRiparazioneInterventoLocale VARCHAR(75) null,pagCalcolatoOperaNonQuantificabile VARCHAR(75) null,pagEffettivoAdeguamentoSismico VARCHAR(75) null,pagEffettivoMiglioramentoSismico VARCHAR(75) null,pagEffettivoRiparazioneInterventoLocale VARCHAR(75) null,pagEffettivoOperaNonQuantificabile VARCHAR(75) null,pagNoteUtente TEXT null,note STRING null,noteUfficio STRING null,localizzazioneGeografica VARCHAR(75) null,tcNuovaCostruzione BOOLEAN,tcNuovaCostruzioneComplessa BOOLEAN,tcAdeguamentoSismico BOOLEAN,tcMiglioramentoSismico BOOLEAN,tcRiparazioneInterventoLocale BOOLEAN,tcInCA BOOLEAN,tcInOpera BOOLEAN,tcPrefabbricato BOOLEAN,tcInAcciaio BOOLEAN,tcMista BOOLEAN,tcInMuratura BOOLEAN,tcInMuraturaOrdinaria BOOLEAN,tcInMuraturaArmata BOOLEAN,tcInMuraturaMista BOOLEAN,tcInLegno BOOLEAN,tcAltro BOOLEAN,tcAltroDescrizione STRING null,tcConDispositivi BOOLEAN,normLavoriInProprio BOOLEAN,normEsenteBollo BOOLEAN,normEsenteSpese BOOLEAN,normDpr01Dep BOOLEAN,normDpr02Dep BOOLEAN,normDpr01Aut BOOLEAN,normDpr02Aut BOOLEAN,normDpr03 BOOLEAN,normDpr04 BOOLEAN,normDpr05 BOOLEAN,normDm01 BOOLEAN,normDm02 BOOLEAN,normDm03 BOOLEAN,normDm2018 BOOLEAN,normDm04 BOOLEAN,normDm05 BOOLEAN,normDprg01 BOOLEAN,normDprg02 BOOLEAN,normAnr BOOLEAN,normOrd01 BOOLEAN,normCI01 BOOLEAN,normLTC01 BOOLEAN,normArt3com3 BOOLEAN,normArt3com4 BOOLEAN,dpdc BOOLEAN,normSismaBonus BOOLEAN,clRischioPreInt VARCHAR(75) null,clRischioPostInt VARCHAR(75) null,intervFinPub BOOLEAN,intervFinPubDesc STRING null,suap BOOLEAN)"; public static final String TABLE_SQL_DROP = "drop table portos_bo_DettPratica"; public static final String ORDER_BY_JPQL = " ORDER BY dettPratica.dettPraticaId ASC"; public static final String ORDER_BY_SQL = " ORDER BY portos_bo_DettPratica.dettPraticaId ASC"; @@ -325,11 +324,10 @@ public class DettPraticaModelImpl extends BaseModelImpl public static long COMPLETA_COLUMN_BITMASK = 2L; public static long GROUPID_COLUMN_BITMASK = 4L; public static long INTPRATICAID_COLUMN_BITMASK = 8L; - public static long OLDDETTPRATICAID_COLUMN_BITMASK = 16L; - public static long PROTOCOLLO_COLUMN_BITMASK = 32L; - public static long TIPOINTEGRAZIONE_COLUMN_BITMASK = 64L; - public static long UUID_COLUMN_BITMASK = 128L; - public static long DETTPRATICAID_COLUMN_BITMASK = 256L; + public static long PROTOCOLLO_COLUMN_BITMASK = 16L; + public static long TIPOINTEGRAZIONE_COLUMN_BITMASK = 32L; + public static long UUID_COLUMN_BITMASK = 64L; + public static long DETTPRATICAID_COLUMN_BITMASK = 128L; /** * Converts the soap model instance into a normal model instance. @@ -378,7 +376,6 @@ public class DettPraticaModelImpl extends BaseModelImpl model.setWorkflowForzato(soapModel.getWorkflowForzato()); model.setSoggettoSostituitoId(soapModel.getSoggettoSostituitoId()); model.setDtInvioSignal(soapModel.getDtInvioSignal()); - model.setOldDettPraticaId(soapModel.getOldDettPraticaId()); model.setDestinazione(soapModel.getDestinazione()); model.setAg(soapModel.getAg()); model.setDescLongIntervento(soapModel.getDescLongIntervento()); @@ -678,7 +675,6 @@ public class DettPraticaModelImpl extends BaseModelImpl attributes.put("workflowForzato", getWorkflowForzato()); attributes.put("soggettoSostituitoId", getSoggettoSostituitoId()); attributes.put("dtInvioSignal", getDtInvioSignal()); - attributes.put("oldDettPraticaId", getOldDettPraticaId()); attributes.put("destinazione", getDestinazione()); attributes.put("ag", getAg()); attributes.put("descLongIntervento", getDescLongIntervento()); @@ -1152,12 +1148,6 @@ public class DettPraticaModelImpl extends BaseModelImpl setDtInvioSignal(dtInvioSignal); } - Long oldDettPraticaId = (Long)attributes.get("oldDettPraticaId"); - - if (oldDettPraticaId != null) { - setOldDettPraticaId(oldDettPraticaId); - } - String destinazione = (String)attributes.get("destinazione"); if (destinazione != null) { @@ -3034,29 +3024,6 @@ public class DettPraticaModelImpl extends BaseModelImpl _dtInvioSignal = dtInvioSignal; } - @JSON - @Override - public long getOldDettPraticaId() { - return _oldDettPraticaId; - } - - @Override - public void setOldDettPraticaId(long oldDettPraticaId) { - _columnBitmask |= OLDDETTPRATICAID_COLUMN_BITMASK; - - if (!_setOriginalOldDettPraticaId) { - _setOriginalOldDettPraticaId = true; - - _originalOldDettPraticaId = _oldDettPraticaId; - } - - _oldDettPraticaId = oldDettPraticaId; - } - - public long getOriginalOldDettPraticaId() { - return _originalOldDettPraticaId; - } - @JSON @Override public String getDestinazione() { @@ -6417,7 +6384,6 @@ public class DettPraticaModelImpl extends BaseModelImpl dettPraticaImpl.setWorkflowForzato(getWorkflowForzato()); dettPraticaImpl.setSoggettoSostituitoId(getSoggettoSostituitoId()); dettPraticaImpl.setDtInvioSignal(getDtInvioSignal()); - dettPraticaImpl.setOldDettPraticaId(getOldDettPraticaId()); dettPraticaImpl.setDestinazione(getDestinazione()); dettPraticaImpl.setAg(getAg()); dettPraticaImpl.setDescLongIntervento(getDescLongIntervento()); @@ -6693,10 +6659,6 @@ public class DettPraticaModelImpl extends BaseModelImpl dettPraticaModelImpl._setOriginalCompleta = false; - dettPraticaModelImpl._originalOldDettPraticaId = dettPraticaModelImpl._oldDettPraticaId; - - dettPraticaModelImpl._setOriginalOldDettPraticaId = false; - dettPraticaModelImpl._columnBitmask = 0; } @@ -6899,8 +6861,6 @@ public class DettPraticaModelImpl extends BaseModelImpl dettPraticaCacheModel.dtInvioSignal = Long.MIN_VALUE; } - dettPraticaCacheModel.oldDettPraticaId = getOldDettPraticaId(); - dettPraticaCacheModel.destinazione = getDestinazione(); String destinazione = dettPraticaCacheModel.destinazione; @@ -7879,7 +7839,7 @@ public class DettPraticaModelImpl extends BaseModelImpl @Override public String toString() { - StringBundler sb = new StringBundler(473); + StringBundler sb = new StringBundler(471); sb.append("{uuid="); sb.append(getUuid()); @@ -7949,8 +7909,6 @@ public class DettPraticaModelImpl extends BaseModelImpl sb.append(getSoggettoSostituitoId()); sb.append(", dtInvioSignal="); sb.append(getDtInvioSignal()); - sb.append(", oldDettPraticaId="); - sb.append(getOldDettPraticaId()); sb.append(", destinazione="); sb.append(getDestinazione()); sb.append(", ag="); @@ -8360,7 +8318,7 @@ public class DettPraticaModelImpl extends BaseModelImpl @Override public String toXmlString() { - StringBundler sb = new StringBundler(712); + StringBundler sb = new StringBundler(709); sb.append(""); sb.append("it.tref.liferay.portos.bo.model.DettPratica"); @@ -8502,10 +8460,6 @@ public class DettPraticaModelImpl extends BaseModelImpl "dtInvioSignal"); - sb.append( - "oldDettPraticaId"); sb.append( "destinazione private boolean _workflowForzato; private long _soggettoSostituitoId; private Date _dtInvioSignal; - private long _oldDettPraticaId; - private long _originalOldDettPraticaId; - private boolean _setOriginalOldDettPraticaId; private String _destinazione; private String _ag; private String _descLongIntervento; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/FineLavoriCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/FineLavoriCacheModel.java index 52c3ac6e..ff18c98d 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/FineLavoriCacheModel.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/FineLavoriCacheModel.java @@ -38,7 +38,7 @@ public class FineLavoriCacheModel implements CacheModel, Externalizable { @Override public String toString() { - StringBundler sb = new StringBundler(55); + StringBundler sb = new StringBundler(53); sb.append("{uuid="); sb.append(uuid); @@ -92,8 +92,6 @@ public class FineLavoriCacheModel implements CacheModel, sb.append(mezzoPagamento); sb.append(", importoBolli="); sb.append(importoBolli); - sb.append(", oldDettPraticaId="); - sb.append(oldDettPraticaId); sb.append("}"); return sb.toString(); @@ -218,8 +216,6 @@ public class FineLavoriCacheModel implements CacheModel, fineLavoriImpl.setImportoBolli(importoBolli); } - fineLavoriImpl.setOldDettPraticaId(oldDettPraticaId); - fineLavoriImpl.resetOriginalValues(); return fineLavoriImpl; @@ -253,7 +249,6 @@ public class FineLavoriCacheModel implements CacheModel, causalePagamento = objectInput.readUTF(); mezzoPagamento = objectInput.readUTF(); importoBolli = objectInput.readUTF(); - oldDettPraticaId = objectInput.readLong(); } @Override @@ -343,8 +338,6 @@ public class FineLavoriCacheModel implements CacheModel, else { objectOutput.writeUTF(importoBolli); } - - objectOutput.writeLong(oldDettPraticaId); } public String uuid; @@ -373,5 +366,4 @@ public class FineLavoriCacheModel implements CacheModel, public String causalePagamento; public String mezzoPagamento; public String importoBolli; - public long oldDettPraticaId; } \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/FineLavoriModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/FineLavoriModelImpl.java index f5a3ec43..ad5d3d95 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/FineLavoriModelImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/FineLavoriModelImpl.java @@ -92,10 +92,9 @@ public class FineLavoriModelImpl extends BaseModelImpl { "codicePagamento", Types.VARCHAR }, { "causalePagamento", Types.VARCHAR }, { "mezzoPagamento", Types.VARCHAR }, - { "importoBolli", Types.VARCHAR }, - { "oldDettPraticaId", Types.BIGINT } + { "importoBolli", Types.VARCHAR } }; - public static final String TABLE_SQL_CREATE = "create table portos_bo_FineLavori (uuid_ VARCHAR(75) null,fineLavoriId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,intPraticaId LONG,protocollo VARCHAR(75) null,dtProtocollo DATE null,parziale BOOLEAN,completata BOOLEAN,gestita BOOLEAN,numero LONG,codiceFiscaleDelegato VARCHAR(75) null,dataEffettuazione DATE null,dataFineLavori DATE null,normEsenteBollo BOOLEAN,normEsenteCollaudo BOOLEAN,comunicazioneDirettoreLavori STRING null,pagamentoId LONG,codicePagamento VARCHAR(75) null,causalePagamento VARCHAR(75) null,mezzoPagamento VARCHAR(75) null,importoBolli VARCHAR(75) null,oldDettPraticaId LONG)"; + public static final String TABLE_SQL_CREATE = "create table portos_bo_FineLavori (uuid_ VARCHAR(75) null,fineLavoriId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,intPraticaId LONG,protocollo VARCHAR(75) null,dtProtocollo DATE null,parziale BOOLEAN,completata BOOLEAN,gestita BOOLEAN,numero LONG,codiceFiscaleDelegato VARCHAR(75) null,dataEffettuazione DATE null,dataFineLavori DATE null,normEsenteBollo BOOLEAN,normEsenteCollaudo BOOLEAN,comunicazioneDirettoreLavori STRING null,pagamentoId LONG,codicePagamento VARCHAR(75) null,causalePagamento VARCHAR(75) null,mezzoPagamento VARCHAR(75) null,importoBolli VARCHAR(75) null)"; public static final String TABLE_SQL_DROP = "drop table portos_bo_FineLavori"; public static final String ORDER_BY_JPQL = " ORDER BY fineLavori.fineLavoriId ASC"; public static final String ORDER_BY_SQL = " ORDER BY portos_bo_FineLavori.fineLavoriId ASC"; @@ -116,11 +115,10 @@ public class FineLavoriModelImpl extends BaseModelImpl public static long COMPLETATA_COLUMN_BITMASK = 4L; public static long GROUPID_COLUMN_BITMASK = 8L; public static long INTPRATICAID_COLUMN_BITMASK = 16L; - public static long OLDDETTPRATICAID_COLUMN_BITMASK = 32L; - public static long PARZIALE_COLUMN_BITMASK = 64L; - public static long PROTOCOLLO_COLUMN_BITMASK = 128L; - public static long UUID_COLUMN_BITMASK = 256L; - public static long FINELAVORIID_COLUMN_BITMASK = 512L; + public static long PARZIALE_COLUMN_BITMASK = 32L; + public static long PROTOCOLLO_COLUMN_BITMASK = 64L; + public static long UUID_COLUMN_BITMASK = 128L; + public static long FINELAVORIID_COLUMN_BITMASK = 256L; /** * Converts the soap model instance into a normal model instance. @@ -161,7 +159,6 @@ public class FineLavoriModelImpl extends BaseModelImpl model.setCausalePagamento(soapModel.getCausalePagamento()); model.setMezzoPagamento(soapModel.getMezzoPagamento()); model.setImportoBolli(soapModel.getImportoBolli()); - model.setOldDettPraticaId(soapModel.getOldDettPraticaId()); return model; } @@ -253,7 +250,6 @@ public class FineLavoriModelImpl extends BaseModelImpl attributes.put("causalePagamento", getCausalePagamento()); attributes.put("mezzoPagamento", getMezzoPagamento()); attributes.put("importoBolli", getImportoBolli()); - attributes.put("oldDettPraticaId", getOldDettPraticaId()); return attributes; } @@ -418,12 +414,6 @@ public class FineLavoriModelImpl extends BaseModelImpl if (importoBolli != null) { setImportoBolli(importoBolli); } - - Long oldDettPraticaId = (Long)attributes.get("oldDettPraticaId"); - - if (oldDettPraticaId != null) { - setOldDettPraticaId(oldDettPraticaId); - } } @JSON @@ -881,29 +871,6 @@ public class FineLavoriModelImpl extends BaseModelImpl _importoBolli = importoBolli; } - @JSON - @Override - public long getOldDettPraticaId() { - return _oldDettPraticaId; - } - - @Override - public void setOldDettPraticaId(long oldDettPraticaId) { - _columnBitmask |= OLDDETTPRATICAID_COLUMN_BITMASK; - - if (!_setOriginalOldDettPraticaId) { - _setOriginalOldDettPraticaId = true; - - _originalOldDettPraticaId = _oldDettPraticaId; - } - - _oldDettPraticaId = oldDettPraticaId; - } - - public long getOriginalOldDettPraticaId() { - return _originalOldDettPraticaId; - } - @Override public StagedModelType getStagedModelType() { return new StagedModelType(PortalUtil.getClassNameId( @@ -967,7 +934,6 @@ public class FineLavoriModelImpl extends BaseModelImpl fineLavoriImpl.setCausalePagamento(getCausalePagamento()); fineLavoriImpl.setMezzoPagamento(getMezzoPagamento()); fineLavoriImpl.setImportoBolli(getImportoBolli()); - fineLavoriImpl.setOldDettPraticaId(getOldDettPraticaId()); fineLavoriImpl.resetOriginalValues(); @@ -1046,10 +1012,6 @@ public class FineLavoriModelImpl extends BaseModelImpl fineLavoriModelImpl._originalCodiceFiscaleDelegato = fineLavoriModelImpl._codiceFiscaleDelegato; - fineLavoriModelImpl._originalOldDettPraticaId = fineLavoriModelImpl._oldDettPraticaId; - - fineLavoriModelImpl._setOriginalOldDettPraticaId = false; - fineLavoriModelImpl._columnBitmask = 0; } @@ -1200,14 +1162,12 @@ public class FineLavoriModelImpl extends BaseModelImpl fineLavoriCacheModel.importoBolli = null; } - fineLavoriCacheModel.oldDettPraticaId = getOldDettPraticaId(); - return fineLavoriCacheModel; } @Override public String toString() { - StringBundler sb = new StringBundler(55); + StringBundler sb = new StringBundler(53); sb.append("{uuid="); sb.append(getUuid()); @@ -1261,8 +1221,6 @@ public class FineLavoriModelImpl extends BaseModelImpl sb.append(getMezzoPagamento()); sb.append(", importoBolli="); sb.append(getImportoBolli()); - sb.append(", oldDettPraticaId="); - sb.append(getOldDettPraticaId()); sb.append("}"); return sb.toString(); @@ -1270,7 +1228,7 @@ public class FineLavoriModelImpl extends BaseModelImpl @Override public String toXmlString() { - StringBundler sb = new StringBundler(85); + StringBundler sb = new StringBundler(82); sb.append(""); sb.append("it.tref.liferay.portos.bo.model.FineLavori"); @@ -1380,10 +1338,6 @@ public class FineLavoriModelImpl extends BaseModelImpl "importoBolli"); - sb.append( - "oldDettPraticaId"); sb.append(""); @@ -1434,9 +1388,6 @@ public class FineLavoriModelImpl extends BaseModelImpl private String _causalePagamento; private String _mezzoPagamento; private String _importoBolli; - private long _oldDettPraticaId; - private long _originalOldDettPraticaId; - private boolean _setOriginalOldDettPraticaId; private long _columnBitmask; private FineLavori _escapedModel; } \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/IntPraticaCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/IntPraticaCacheModel.java index 342267d7..e10838b0 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/IntPraticaCacheModel.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/IntPraticaCacheModel.java @@ -38,7 +38,7 @@ public class IntPraticaCacheModel implements CacheModel, Externalizable { @Override public String toString() { - StringBundler sb = new StringBundler(65); + StringBundler sb = new StringBundler(63); sb.append("{uuid="); sb.append(uuid); @@ -84,8 +84,6 @@ public class IntPraticaCacheModel implements CacheModel, sb.append(esitoControllo); sb.append(", dtPratica="); sb.append(dtPratica); - sb.append(", oldIntPraticaId="); - sb.append(oldIntPraticaId); sb.append(", sospesa="); sb.append(sospesa); sb.append(", dtSospensione="); @@ -213,7 +211,6 @@ public class IntPraticaCacheModel implements CacheModel, intPraticaImpl.setDtPratica(new Date(dtPratica)); } - intPraticaImpl.setOldIntPraticaId(oldIntPraticaId); intPraticaImpl.setSospesa(sospesa); if (dtSospensione == Long.MIN_VALUE) { @@ -272,7 +269,6 @@ public class IntPraticaCacheModel implements CacheModel, statusDate = objectInput.readLong(); esitoControllo = objectInput.readInt(); dtPratica = objectInput.readLong(); - oldIntPraticaId = objectInput.readLong(); sospesa = objectInput.readBoolean(); dtSospensione = objectInput.readLong(); codiceFiscaleDelegatoFineLavori = objectInput.readUTF(); @@ -349,7 +345,6 @@ public class IntPraticaCacheModel implements CacheModel, objectOutput.writeLong(statusDate); objectOutput.writeInt(esitoControllo); objectOutput.writeLong(dtPratica); - objectOutput.writeLong(oldIntPraticaId); objectOutput.writeBoolean(sospesa); objectOutput.writeLong(dtSospensione); @@ -396,7 +391,6 @@ public class IntPraticaCacheModel implements CacheModel, public long statusDate; public int esitoControllo; public long dtPratica; - public long oldIntPraticaId; public boolean sospesa; public long dtSospensione; public String codiceFiscaleDelegatoFineLavori; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/IntPraticaModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/IntPraticaModelImpl.java index 68e601df..930d5e0b 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/IntPraticaModelImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/model/impl/IntPraticaModelImpl.java @@ -89,7 +89,6 @@ public class IntPraticaModelImpl extends BaseModelImpl { "statusDate", Types.TIMESTAMP }, { "esitoControllo", Types.INTEGER }, { "dtPratica", Types.TIMESTAMP }, - { "oldIntPraticaId", Types.BIGINT }, { "sospesa", Types.BOOLEAN }, { "dtSospensione", Types.TIMESTAMP }, { "codiceFiscaleDelegatoFineLavori", Types.VARCHAR }, @@ -100,7 +99,7 @@ public class IntPraticaModelImpl extends BaseModelImpl { "collaudoTotale", Types.BOOLEAN }, { "controlloObbligatorio", Types.BOOLEAN } }; - public static final String TABLE_SQL_CREATE = "create table portos_bo_IntPratica (uuid_ VARCHAR(75) null,intPraticaId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,tipoPratica VARCHAR(75) null,territorioId LONG,tipoProcedura VARCHAR(75) null,dtAnnullamento DATE null,docPraticaAnnullamentoId LONG,dtSorteggio DATE null,statoPratica VARCHAR(10) null,numeroProgetto VARCHAR(75) null,validata BOOLEAN,status INTEGER,statusByUserId LONG,statusDate DATE null,esitoControllo INTEGER,dtPratica DATE null,oldIntPraticaId LONG,sospesa BOOLEAN,dtSospensione DATE null,codiceFiscaleDelegatoFineLavori VARCHAR(75) null,codiceFiscaleDelegatoCollaudo VARCHAR(75) null,fineLavoriParziale BOOLEAN,fineLavoriTotale BOOLEAN,collaudoParziale BOOLEAN,collaudoTotale BOOLEAN,controlloObbligatorio BOOLEAN)"; + public static final String TABLE_SQL_CREATE = "create table portos_bo_IntPratica (uuid_ VARCHAR(75) null,intPraticaId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,tipoPratica VARCHAR(75) null,territorioId LONG,tipoProcedura VARCHAR(75) null,dtAnnullamento DATE null,docPraticaAnnullamentoId LONG,dtSorteggio DATE null,statoPratica VARCHAR(10) null,numeroProgetto VARCHAR(75) null,validata BOOLEAN,status INTEGER,statusByUserId LONG,statusDate DATE null,esitoControllo INTEGER,dtPratica DATE null,sospesa BOOLEAN,dtSospensione DATE null,codiceFiscaleDelegatoFineLavori VARCHAR(75) null,codiceFiscaleDelegatoCollaudo VARCHAR(75) null,fineLavoriParziale BOOLEAN,fineLavoriTotale BOOLEAN,collaudoParziale BOOLEAN,collaudoTotale BOOLEAN,controlloObbligatorio BOOLEAN)"; public static final String TABLE_SQL_DROP = "drop table portos_bo_IntPratica"; public static final String ORDER_BY_JPQL = " ORDER BY intPratica.intPraticaId ASC"; public static final String ORDER_BY_SQL = " ORDER BY portos_bo_IntPratica.intPraticaId ASC"; @@ -119,12 +118,11 @@ public class IntPraticaModelImpl extends BaseModelImpl public static long COMPANYID_COLUMN_BITMASK = 1L; public static long DTPRATICA_COLUMN_BITMASK = 2L; public static long GROUPID_COLUMN_BITMASK = 4L; - public static long OLDINTPRATICAID_COLUMN_BITMASK = 8L; - public static long STATUS_COLUMN_BITMASK = 16L; - public static long TERRITORIOID_COLUMN_BITMASK = 32L; - public static long USERID_COLUMN_BITMASK = 64L; - public static long UUID_COLUMN_BITMASK = 128L; - public static long INTPRATICAID_COLUMN_BITMASK = 256L; + public static long STATUS_COLUMN_BITMASK = 8L; + public static long TERRITORIOID_COLUMN_BITMASK = 16L; + public static long USERID_COLUMN_BITMASK = 32L; + public static long UUID_COLUMN_BITMASK = 64L; + public static long INTPRATICAID_COLUMN_BITMASK = 128L; /** * Converts the soap model instance into a normal model instance. @@ -161,7 +159,6 @@ public class IntPraticaModelImpl extends BaseModelImpl model.setStatusDate(soapModel.getStatusDate()); model.setEsitoControllo(soapModel.getEsitoControllo()); model.setDtPratica(soapModel.getDtPratica()); - model.setOldIntPraticaId(soapModel.getOldIntPraticaId()); model.setSospesa(soapModel.getSospesa()); model.setDtSospensione(soapModel.getDtSospensione()); model.setCodiceFiscaleDelegatoFineLavori(soapModel.getCodiceFiscaleDelegatoFineLavori()); @@ -257,7 +254,6 @@ public class IntPraticaModelImpl extends BaseModelImpl attributes.put("statusDate", getStatusDate()); attributes.put("esitoControllo", getEsitoControllo()); attributes.put("dtPratica", getDtPratica()); - attributes.put("oldIntPraticaId", getOldIntPraticaId()); attributes.put("sospesa", getSospesa()); attributes.put("dtSospensione", getDtSospensione()); attributes.put("codiceFiscaleDelegatoFineLavori", @@ -408,12 +404,6 @@ public class IntPraticaModelImpl extends BaseModelImpl setDtPratica(dtPratica); } - Long oldIntPraticaId = (Long)attributes.get("oldIntPraticaId"); - - if (oldIntPraticaId != null) { - setOldIntPraticaId(oldIntPraticaId); - } - Boolean sospesa = (Boolean)attributes.get("sospesa"); if (sospesa != null) { @@ -849,29 +839,6 @@ public class IntPraticaModelImpl extends BaseModelImpl return _originalDtPratica; } - @JSON - @Override - public long getOldIntPraticaId() { - return _oldIntPraticaId; - } - - @Override - public void setOldIntPraticaId(long oldIntPraticaId) { - _columnBitmask |= OLDINTPRATICAID_COLUMN_BITMASK; - - if (!_setOriginalOldIntPraticaId) { - _setOriginalOldIntPraticaId = true; - - _originalOldIntPraticaId = _oldIntPraticaId; - } - - _oldIntPraticaId = oldIntPraticaId; - } - - public long getOriginalOldIntPraticaId() { - return _originalOldIntPraticaId; - } - @JSON @Override public boolean getSospesa() { @@ -1072,7 +1039,6 @@ public class IntPraticaModelImpl extends BaseModelImpl intPraticaImpl.setStatusDate(getStatusDate()); intPraticaImpl.setEsitoControllo(getEsitoControllo()); intPraticaImpl.setDtPratica(getDtPratica()); - intPraticaImpl.setOldIntPraticaId(getOldIntPraticaId()); intPraticaImpl.setSospesa(getSospesa()); intPraticaImpl.setDtSospensione(getDtSospensione()); intPraticaImpl.setCodiceFiscaleDelegatoFineLavori(getCodiceFiscaleDelegatoFineLavori()); @@ -1158,10 +1124,6 @@ public class IntPraticaModelImpl extends BaseModelImpl intPraticaModelImpl._originalDtPratica = intPraticaModelImpl._dtPratica; - intPraticaModelImpl._originalOldIntPraticaId = intPraticaModelImpl._oldIntPraticaId; - - intPraticaModelImpl._setOriginalOldIntPraticaId = false; - intPraticaModelImpl._columnBitmask = 0; } @@ -1291,8 +1253,6 @@ public class IntPraticaModelImpl extends BaseModelImpl intPraticaCacheModel.dtPratica = Long.MIN_VALUE; } - intPraticaCacheModel.oldIntPraticaId = getOldIntPraticaId(); - intPraticaCacheModel.sospesa = getSospesa(); Date dtSospensione = getDtSospensione(); @@ -1337,7 +1297,7 @@ public class IntPraticaModelImpl extends BaseModelImpl @Override public String toString() { - StringBundler sb = new StringBundler(65); + StringBundler sb = new StringBundler(63); sb.append("{uuid="); sb.append(getUuid()); @@ -1383,8 +1343,6 @@ public class IntPraticaModelImpl extends BaseModelImpl sb.append(getEsitoControllo()); sb.append(", dtPratica="); sb.append(getDtPratica()); - sb.append(", oldIntPraticaId="); - sb.append(getOldIntPraticaId()); sb.append(", sospesa="); sb.append(getSospesa()); sb.append(", dtSospensione="); @@ -1410,7 +1368,7 @@ public class IntPraticaModelImpl extends BaseModelImpl @Override public String toXmlString() { - StringBundler sb = new StringBundler(100); + StringBundler sb = new StringBundler(97); sb.append(""); sb.append("it.tref.liferay.portos.bo.model.IntPratica"); @@ -1504,10 +1462,6 @@ public class IntPraticaModelImpl extends BaseModelImpl "dtPratica"); - sb.append( - "oldIntPraticaId"); sb.append( "sospesa private int _esitoControllo; private Date _dtPratica; private Date _originalDtPratica; - private long _oldIntPraticaId; - private long _originalOldIntPraticaId; - private boolean _setOriginalOldIntPraticaId; private boolean _sospesa; private Date _dtSospensione; private String _codiceFiscaleDelegatoFineLavori; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/portlet/FascicoloPortlet.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/portlet/FascicoloPortlet.java index e74e1402..2362f7dc 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/portlet/FascicoloPortlet.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/portlet/FascicoloPortlet.java @@ -1,10 +1,8 @@ package it.tref.liferay.portos.bo.portlet; -import it.tref.liferay.portos.bo.model.Collaudo; import it.tref.liferay.portos.bo.model.Comune; import it.tref.liferay.portos.bo.model.DettPratica; import it.tref.liferay.portos.bo.model.DocPratica; -import it.tref.liferay.portos.bo.model.FineLavori; import it.tref.liferay.portos.bo.model.HistoryWorkflowAction; import it.tref.liferay.portos.bo.model.InfoFascicolo; import it.tref.liferay.portos.bo.model.IntPratica; @@ -12,12 +10,10 @@ import it.tref.liferay.portos.bo.model.Provincia; import it.tref.liferay.portos.bo.model.Soggetto; import it.tref.liferay.portos.bo.model.Territorio; import it.tref.liferay.portos.bo.search.IntPraticaAdvancedSearch; -import it.tref.liferay.portos.bo.service.CollaudoLocalServiceUtil; import it.tref.liferay.portos.bo.service.ComuneLocalServiceUtil; import it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil; import it.tref.liferay.portos.bo.service.DettPraticaServiceUtil; import it.tref.liferay.portos.bo.service.DocPraticaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.FineLavoriLocalServiceUtil; import it.tref.liferay.portos.bo.service.HistoryWorkflowActionLocalServiceUtil; import it.tref.liferay.portos.bo.service.InfoFascicoloLocalServiceUtil; import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil; @@ -31,8 +27,6 @@ import it.tref.liferay.portos.bo.shared.util.DocumentiPraticaUtil; import it.tref.liferay.portos.bo.shared.util.PortletKeys; import it.tref.liferay.portos.bo.shared.util.StatoPraticaConstants; import it.tref.liferay.portos.bo.shared.util.TipoSoggettoUtil; -import it.tref.liferay.portos.bo.util.Constants; -import it.tref.liferay.portos.bo.util.FilesImporter; import it.tref.liferay.portos.bo.util.PraticaUtil; import it.tref.liferay.portos.bo.util.ValidazionePraticaUtil; import it.tref.liferay.portos.bo.util.WorkflowUtil; @@ -41,7 +35,6 @@ import java.io.File; import java.io.IOException; import java.io.InputStream; import java.nio.file.Files; -import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; @@ -405,10 +398,6 @@ public class FascicoloPortlet extends MVCPortlet { tipologieAllegati = DocumentiPraticaUtil.getDocGeologo(); } else if ("page_allegati".equals(comingFrom)) { tipologieAllegati = DocumentiPraticaUtil.getDocDomanda(); - IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId); - if (Validator.isNotNull(intPratica.getOldIntPraticaId())) { - tipologieAllegati.addAll(0, DocumentiPraticaUtil.getDocDomandaPortos1()); - } } else if ("page_fine_lavori".equals(comingFrom)) { tipologieAllegati = DocumentiPraticaUtil.getDocFineLavori(); } else if ("page_collaudo".equals(comingFrom)) { @@ -456,63 +445,10 @@ public class FascicoloPortlet extends MVCPortlet { resourceResponse.getPortletOutputStream().close(); } else if ("importFile".equals(id)) { - - long classPk = ParamUtil.getLong(resourceRequest, "classPk"); - String className = ParamUtil.getString(resourceRequest, "className"); - - FilesImporter.importaFile(classPk, className); - - // if (DocPratica.class.getName().equalsIgnoreCase(className)) { - // DocPratica docPratica = - // DocPraticaLocalServiceUtil.getDocPratica(classPk); - // if (docPratica.getDlFileEntryId() == 0L && - // docPratica.getOldDlFileEntryId() != 0L) { - // FilesImporter.handleFileImportDocPratica(docPratica); - // } - // } else if - // (Avviso.class.getName().equalsIgnoreCase(className)) { - // Avviso avviso = AvvisoLocalServiceUtil.getAvviso(classPk); - // if (avviso.getFileEntryIdBase() == 0L && - // avviso.getOldFileEntryIdBase() != 0L) { - // FilesImporter.handleFileImportAvviso(avviso, true); - // } - // if (avviso.getFileEntryIdInvio() == 0L && - // avviso.getOldFileEntryIdInvio() != 0L) { - // FilesImporter.handleFileImportAvviso(avviso, false); - // } - // } else if - // (Pagamento.class.getName().equalsIgnoreCase(className)) { - // Pagamento pagamento = - // PagamentoLocalServiceUtil.getPagamento(classPk); - // if (pagamento.getFileEntryId() == 0L && - // pagamento.getOldFileEntryId() != 0L) { - // FilesImporter.handleFileImportPagamento(pagamento); - // } - // } else if - // (DocAggiuntiva.class.getName().equalsIgnoreCase(className)) { - // DocAggiuntiva docAggiuntiva = - // DocAggiuntivaLocalServiceUtil.getDocAggiuntiva(classPk); - // if (docAggiuntiva.getFileEntryId() == 0L && - // docAggiuntiva.getOldFileEntryId() != 0L) { - // FilesImporter.handleFileImportDocAggiuntiva(docAggiuntiva); - // } - // } else if - // (AllegatoManuale.class.getName().equalsIgnoreCase(className)) - // { - // AllegatoManuale allegatoManuale = - // AllegatoManualeLocalServiceUtil.getAllegatoManuale(classPk); - // if (allegatoManuale.getFileEntryId() == 0L && - // allegatoManuale.getOldFileEntryId() != 0L) - // { - // FilesImporter.handleFileImportAllegatoManuale(allegatoManuale); - // } - // } - PortletResponseUtil .write(resourceResponse, "

Completato

Refresh"); - } else if ("importAllFascicoloFiles".equals(id)) { long intPraticaId = ParamUtil.getLong(resourceRequest, "intPraticaId"); IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId); @@ -534,32 +470,6 @@ public class FascicoloPortlet extends MVCPortlet { } } - User user = UserLocalServiceUtil.fetchUser(serviceContext.getUserId()); - - _log.debug("************** START IMPORT FILES FASCICOLO : " + intPraticaId + " by user" - + user.getFullName()); - - List listaDet = DettPraticaLocalServiceUtil.findByIntPraticaId(intPraticaId); - for (DettPratica dettPratica : listaDet) { - FilesImporter.importaFilesFascicolo(dettPratica.getDettPraticaId(), - DettPratica.class.getName()); - } - - List listaFine = FineLavoriLocalServiceUtil.findByIntPraticaId(intPraticaId, -1, - -1, null); - for (FineLavori fineLavori : listaFine) { - FilesImporter.importaFilesFascicolo(fineLavori.getFineLavoriId(), - FineLavori.class.getName()); - } - - List listaColl = CollaudoLocalServiceUtil.findByIntPraticaId(intPraticaId, -1, -1, - null); - for (Collaudo collaudo : listaColl) { - FilesImporter.importaFilesFascicolo(collaudo.getCollaudoId(), Collaudo.class.getName()); - } - - _log.debug("************** END IMPORT FILES FASCICOLO : " + intPraticaId); - infoFascicolo.setAlreadyImported(true); infoFascicolo = InfoFascicoloLocalServiceUtil.updateInfoFascicolo(infoFascicolo); @@ -687,8 +597,6 @@ public class FascicoloPortlet extends MVCPortlet { sb.append(StringPool.NEW_LINE); - SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy"); - for (IntPratica intPratica : lista) { try { @@ -711,7 +619,6 @@ public class FascicoloPortlet extends MVCPortlet { sb.append(CSVUtil.encode(praticaLabel)); sb.append(StringPool.SEMICOLON); - User titolareUser = UserLocalServiceUtil.getUserById(intPratica.getUserId()); List titolari = SoggettoLocalServiceUtil.getValidByIntPratica_CodiceFiscale( lastDettPratica.getIntPraticaId(), lastDettPratica.getCodiceFiscaleDelegatoCommittente()); diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/CollaudoLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/CollaudoLocalServiceClpInvoker.java index 8d2f338f..887ff90b 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/CollaudoLocalServiceClpInvoker.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/CollaudoLocalServiceClpInvoker.java @@ -268,10 +268,6 @@ public class CollaudoLocalServiceClpInvoker { _methodName230 = "countCollaudiCompletiNotGestiti"; _methodParameterTypes230 = new String[] { }; - - _methodName232 = "fetchByOldDettPraticaId"; - - _methodParameterTypes232 = new String[] { "long" }; } public Object invokeMethod(String name, String[] parameterTypes, @@ -581,11 +577,6 @@ public class CollaudoLocalServiceClpInvoker { return CollaudoLocalServiceUtil.countCollaudiCompletiNotGestiti(); } - if (_methodName232.equals(name) && - Arrays.deepEquals(_methodParameterTypes232, parameterTypes)) { - return CollaudoLocalServiceUtil.fetchByOldDettPraticaId(((Long)arguments[0]).longValue()); - } - throw new UnsupportedOperationException(); } @@ -687,6 +678,4 @@ public class CollaudoLocalServiceClpInvoker { private String[] _methodParameterTypes229; private String _methodName230; private String[] _methodParameterTypes230; - private String _methodName232; - private String[] _methodParameterTypes232; } \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/DettPraticaLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/DettPraticaLocalServiceClpInvoker.java index ca1332f4..624aa061 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/DettPraticaLocalServiceClpInvoker.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/DettPraticaLocalServiceClpInvoker.java @@ -206,60 +206,56 @@ public class DettPraticaLocalServiceClpInvoker { _methodParameterTypes249 = new String[] { "long" }; - _methodName250 = "getByOldDettPraticaId"; + _methodName250 = "search"; - _methodParameterTypes250 = new String[] { "long" }; - - _methodName251 = "search"; - - _methodParameterTypes251 = new String[] { + _methodParameterTypes250 = new String[] { "com.liferay.portal.kernel.search.SearchContext" }; - _methodName252 = "searchCount"; + _methodName251 = "searchCount"; - _methodParameterTypes252 = new String[] { + _methodParameterTypes251 = new String[] { "com.liferay.portal.kernel.search.SearchContext" }; - _methodName253 = "updateDettPraticaSoggetti"; + _methodName252 = "updateDettPraticaSoggetti"; - _methodParameterTypes253 = new String[] { + _methodParameterTypes252 = new String[] { "long", "long", "long", "java.lang.String", "java.lang.String", "java.lang.String", "com.liferay.portal.service.ServiceContext" }; - _methodName254 = "updateDettPratica"; + _methodName253 = "updateDettPratica"; - _methodParameterTypes254 = new String[] { + _methodParameterTypes253 = new String[] { "long", "long", "long", "long", "java.lang.String", "java.lang.String", "boolean", "boolean", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.util.Date", "int", "boolean", "long", - "long", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", - "java.lang.String", "java.lang.String", "long", "long", - "boolean", "boolean", "boolean", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", - "boolean", "boolean", "java.util.Date", "java.util.Date", - "java.util.Date", "java.lang.String", "boolean", "long", "int", + "java.lang.String", "long", "long", "boolean", "boolean", + "boolean", "java.lang.String", "java.lang.String", + "java.lang.String", "java.lang.String", "boolean", "boolean", + "java.util.Date", "java.util.Date", "java.util.Date", + "java.lang.String", "boolean", "long", "int", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", + "java.lang.String", "java.lang.String", "boolean", "boolean", + "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", + "boolean", "boolean", "boolean", "java.lang.String", + "java.lang.String", "boolean", "boolean", "boolean", "boolean", "java.lang.String", "java.lang.String", "java.lang.String", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", - "boolean", "boolean", "boolean", "boolean", "boolean", - "java.lang.String", "java.lang.String", "boolean", "boolean", - "boolean", "boolean", "java.lang.String", "java.lang.String", "java.lang.String", "boolean", "boolean", "boolean", "boolean", + "boolean", "boolean", "java.lang.String", "java.lang.String", + "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "java.lang.String", "boolean", "boolean", - "boolean", "boolean", "boolean", "boolean", "java.lang.String", - "java.lang.String", "boolean", "boolean", "boolean", "boolean", - "boolean", "boolean", "boolean", "boolean", "java.lang.String", - "boolean", "boolean", "boolean", "boolean", "boolean", - "java.lang.String", "boolean", "boolean", "boolean", "boolean", - "boolean", "boolean", "boolean", "boolean", "boolean", + "boolean", "boolean", "boolean", "java.lang.String", "boolean", + "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", + "boolean", "boolean", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", @@ -267,27 +263,26 @@ public class DettPraticaLocalServiceClpInvoker { "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", - "java.lang.String", "java.lang.String", "java.util.Date", - "boolean", "int", "int", "boolean", "int", "boolean", "int", - "boolean", "java.lang.String", "java.lang.String", + "java.util.Date", "boolean", "int", "int", "boolean", "int", + "boolean", "int", "boolean", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", - "java.lang.String", "boolean", "boolean", "boolean", "boolean", + "java.lang.String", "java.lang.String", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", - "boolean", "boolean", "boolean", "boolean", "boolean", - "java.lang.String", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", + "boolean", "java.lang.String", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", - "boolean", "boolean", "java.lang.String", "java.lang.String", - "boolean", "java.lang.String", + "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", + "boolean", "boolean", "boolean", "java.lang.String", + "java.lang.String", "boolean", "java.lang.String", "com.liferay.portal.service.ServiceContext", "boolean" }; - _methodName255 = "updateDettPraticaDatiDomanda"; + _methodName254 = "updateDettPraticaDatiDomanda"; - _methodParameterTypes255 = new String[] { + _methodParameterTypes254 = new String[] { "long", "long", "long", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", @@ -322,9 +317,9 @@ public class DettPraticaLocalServiceClpInvoker { "com.liferay.portal.service.ServiceContext", "boolean" }; - _methodName257 = "updateDettPraticaGeologo"; + _methodName256 = "updateDettPraticaGeologo"; - _methodParameterTypes257 = new String[] { + _methodParameterTypes256 = new String[] { "long", "long", "long", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", @@ -336,9 +331,9 @@ public class DettPraticaLocalServiceClpInvoker { "com.liferay.portal.service.ServiceContext", "boolean" }; - _methodName258 = "updateDettPraticaPagamento"; + _methodName257 = "updateDettPraticaPagamento"; - _methodParameterTypes258 = new String[] { + _methodParameterTypes257 = new String[] { "long", "int", "int", "int", "int", "boolean", "boolean", "boolean", "java.lang.String", "java.lang.String", "boolean", "java.lang.String", "java.lang.String", "java.lang.String", @@ -347,39 +342,39 @@ public class DettPraticaLocalServiceClpInvoker { "com.liferay.portal.service.ServiceContext" }; - _methodName259 = "updateCheckPagamenti"; + _methodName258 = "updateCheckPagamenti"; - _methodParameterTypes259 = new String[] { "long", "boolean", "boolean" }; + _methodParameterTypes258 = new String[] { "long", "boolean", "boolean" }; - _methodName260 = "updateEsitoPagamento"; + _methodName259 = "updateEsitoPagamento"; - _methodParameterTypes260 = new String[] { + _methodParameterTypes259 = new String[] { "long", "long", "java.lang.String" }; - _methodName261 = "updateEsitoPagamento"; + _methodName260 = "updateEsitoPagamento"; - _methodParameterTypes261 = new String[] { + _methodParameterTypes260 = new String[] { "long", "long", "long", "java.lang.String" }; - _methodName262 = "isControlloObbligatorio"; + _methodName261 = "isControlloObbligatorio"; - _methodParameterTypes262 = new String[] { + _methodParameterTypes261 = new String[] { "it.tref.liferay.portos.bo.model.DettPratica" }; - _methodName263 = "updateEsito"; + _methodName262 = "updateEsito"; - _methodParameterTypes263 = new String[] { "long", "int" }; + _methodParameterTypes262 = new String[] { "long", "int" }; - _methodName265 = "updateEsitoIntegrazione"; + _methodName264 = "updateEsitoIntegrazione"; - _methodParameterTypes265 = new String[] { "long", "int" }; + _methodParameterTypes264 = new String[] { "long", "int" }; - _methodName266 = "pagaInvia"; + _methodName265 = "pagaInvia"; - _methodParameterTypes266 = new String[] { + _methodParameterTypes265 = new String[] { "long", "int", "int", "int", "int", "boolean", "boolean", "boolean", "java.lang.String", "boolean", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", @@ -388,149 +383,145 @@ public class DettPraticaLocalServiceClpInvoker { "java.lang.String", "com.liferay.portal.service.ServiceContext" }; - _methodName270 = "updateStatus"; + _methodName269 = "updateStatus"; - _methodParameterTypes270 = new String[] { + _methodParameterTypes269 = new String[] { "long", "long", "int", "com.liferay.portal.service.ServiceContext" }; - _methodName273 = "updateDettPraticaProtocollo"; + _methodName272 = "updateDettPraticaProtocollo"; - _methodParameterTypes273 = new String[] { "long", "java.lang.String" }; + _methodParameterTypes272 = new String[] { "long", "java.lang.String" }; - _methodName274 = "findByProtocollo"; + _methodName273 = "findByProtocollo"; - _methodParameterTypes274 = new String[] { + _methodParameterTypes273 = new String[] { "long", "long", "java.lang.String" }; - _methodName275 = "fetchByProtocollo"; + _methodName274 = "fetchByProtocollo"; - _methodParameterTypes275 = new String[] { + _methodParameterTypes274 = new String[] { "long", "long", "java.lang.String" }; - _methodName276 = "fetchByProtocollo"; + _methodName275 = "fetchByProtocollo"; - _methodParameterTypes276 = new String[] { "java.lang.String" }; + _methodParameterTypes275 = new String[] { "java.lang.String" }; - _methodName277 = "findByIntPraticaId"; + _methodName276 = "findByIntPraticaId"; - _methodParameterTypes277 = new String[] { "long" }; + _methodParameterTypes276 = new String[] { "long" }; - _methodName278 = "findByIntPraticaIdInviate"; + _methodName277 = "findByIntPraticaIdInviate"; - _methodParameterTypes278 = new String[] { "long", "int", "int" }; + _methodParameterTypes277 = new String[] { "long", "int", "int" }; - _methodName279 = "findPraticheCompleteNotProtocollo"; + _methodName278 = "findPraticheCompleteNotProtocollo"; - _methodParameterTypes279 = new String[] { "int", "int" }; + _methodParameterTypes278 = new String[] { "int", "int" }; - _methodName280 = "countPraticheCompleteNotProtocollo"; + _methodName279 = "countPraticheCompleteNotProtocollo"; - _methodParameterTypes280 = new String[] { }; + _methodParameterTypes279 = new String[] { }; - _methodName282 = "findPraticheCompleteNotGestite"; + _methodName281 = "findPraticheCompleteNotGestite"; - _methodParameterTypes282 = new String[] { "int", "int" }; + _methodParameterTypes281 = new String[] { "int", "int" }; - _methodName283 = "countPraticheCompleteNotGestite"; + _methodName282 = "countPraticheCompleteNotGestite"; - _methodParameterTypes283 = new String[] { }; + _methodParameterTypes282 = new String[] { }; - _methodName285 = "findByIntPraticaId_TipoIntegrazione_Completa"; + _methodName284 = "findByIntPraticaId_TipoIntegrazione_Completa"; - _methodParameterTypes285 = new String[] { + _methodParameterTypes284 = new String[] { "long", "java.lang.String", "boolean" }; - _methodName286 = "countByIntPraticaId_TipoIntegrazione_Completa"; + _methodName285 = "countByIntPraticaId_TipoIntegrazione_Completa"; - _methodParameterTypes286 = new String[] { + _methodParameterTypes285 = new String[] { "long", "java.lang.String", "boolean" }; - _methodName287 = "findPraticheCompletateNonVersionate"; + _methodName286 = "findPraticheCompletateNonVersionate"; - _methodParameterTypes287 = new String[] { "int", "int" }; + _methodParameterTypes286 = new String[] { "int", "int" }; - _methodName288 = "countPraticheCompletateNonversionate"; + _methodName287 = "countPraticheCompletateNonversionate"; - _methodParameterTypes288 = new String[] { }; + _methodParameterTypes287 = new String[] { }; - _methodName290 = "updateDettPraticaGestita"; + _methodName289 = "updateDettPraticaGestita"; - _methodParameterTypes290 = new String[] { "long", "boolean" }; + _methodParameterTypes289 = new String[] { "long", "boolean" }; - _methodName291 = "updateAsset"; + _methodName290 = "updateAsset"; - _methodParameterTypes291 = new String[] { + _methodParameterTypes290 = new String[] { "it.tref.liferay.portos.bo.model.DettPratica", "long[][]", "boolean" }; - _methodName292 = "updateStatus"; + _methodName291 = "updateStatus"; - _methodParameterTypes292 = new String[] { "long", "int" }; + _methodParameterTypes291 = new String[] { "long", "int" }; - _methodName293 = "updateSignal"; + _methodName292 = "updateSignal"; - _methodParameterTypes293 = new String[] { "long", "java.util.Date" }; + _methodParameterTypes292 = new String[] { "long", "java.util.Date" }; - _methodName294 = "countInvioSignal"; + _methodName293 = "countInvioSignal"; - _methodParameterTypes294 = new String[] { }; + _methodParameterTypes293 = new String[] { }; - _methodName295 = "getInvioSignal"; + _methodName294 = "getInvioSignal"; - _methodParameterTypes295 = new String[] { "long" }; + _methodParameterTypes294 = new String[] { "long" }; - _methodName296 = "getInviiSignal"; + _methodName295 = "getInviiSignal"; - _methodParameterTypes296 = new String[] { "int", "int" }; + _methodParameterTypes295 = new String[] { "int", "int" }; - _methodName297 = "dynamicQueryInvioSignal"; + _methodName296 = "dynamicQueryInvioSignal"; - _methodParameterTypes297 = new String[] { "java.lang.Long" }; + _methodParameterTypes296 = new String[] { "java.lang.Long" }; - _methodName298 = "findByPagamentoId"; + _methodName297 = "findByPagamentoId"; - _methodParameterTypes298 = new String[] { "long" }; + _methodParameterTypes297 = new String[] { "long" }; - _methodName299 = "updatePrincipale"; + _methodName298 = "updatePrincipale"; - _methodParameterTypes299 = new String[] { + _methodParameterTypes298 = new String[] { "long", "java.lang.String", "java.lang.String" }; - _methodName300 = "sendToVersioning"; + _methodName299 = "sendToVersioning"; - _methodParameterTypes300 = new String[] { "long", "java.lang.String" }; + _methodParameterTypes299 = new String[] { "long", "java.lang.String" }; - _methodName301 = "getNumeroDiVersioni"; + _methodName300 = "getNumeroDiVersioni"; - _methodParameterTypes301 = new String[] { "java.lang.String" }; + _methodParameterTypes300 = new String[] { "java.lang.String" }; - _methodName302 = "getVersionNumber"; + _methodName301 = "getVersionNumber"; - _methodParameterTypes302 = new String[] { "java.lang.String", "int" }; + _methodParameterTypes301 = new String[] { "java.lang.String", "int" }; - _methodName304 = "callForChanges"; + _methodName303 = "callForChanges"; - _methodParameterTypes304 = new String[] { "java.lang.String" }; - - _methodName305 = "fetchByOldDettPraticaId"; - - _methodParameterTypes305 = new String[] { "long" }; + _methodParameterTypes303 = new String[] { "java.lang.String" }; - _methodName306 = "countVariateByIntPratica"; + _methodName304 = "countVariateByIntPratica"; - _methodParameterTypes306 = new String[] { "long" }; + _methodParameterTypes304 = new String[] { "long" }; - _methodName307 = "getFirstCompletedByIntPratica"; + _methodName305 = "getFirstCompletedByIntPratica"; - _methodParameterTypes307 = new String[] { "long" }; + _methodParameterTypes305 = new String[] { "long" }; } public Object invokeMethod(String name, String[] parameterTypes, @@ -753,21 +744,16 @@ public class DettPraticaLocalServiceClpInvoker { if (_methodName250.equals(name) && Arrays.deepEquals(_methodParameterTypes250, parameterTypes)) { - return DettPraticaLocalServiceUtil.getByOldDettPraticaId(((Long)arguments[0]).longValue()); + return DettPraticaLocalServiceUtil.search((com.liferay.portal.kernel.search.SearchContext)arguments[0]); } if (_methodName251.equals(name) && Arrays.deepEquals(_methodParameterTypes251, parameterTypes)) { - return DettPraticaLocalServiceUtil.search((com.liferay.portal.kernel.search.SearchContext)arguments[0]); + return DettPraticaLocalServiceUtil.searchCount((com.liferay.portal.kernel.search.SearchContext)arguments[0]); } if (_methodName252.equals(name) && Arrays.deepEquals(_methodParameterTypes252, parameterTypes)) { - return DettPraticaLocalServiceUtil.searchCount((com.liferay.portal.kernel.search.SearchContext)arguments[0]); - } - - if (_methodName253.equals(name) && - Arrays.deepEquals(_methodParameterTypes253, parameterTypes)) { return DettPraticaLocalServiceUtil.updateDettPraticaSoggetti(((Long)arguments[0]).longValue(), ((Long)arguments[1]).longValue(), ((Long)arguments[2]).longValue(), @@ -776,8 +762,8 @@ public class DettPraticaLocalServiceClpInvoker { (com.liferay.portal.service.ServiceContext)arguments[6]); } - if (_methodName254.equals(name) && - Arrays.deepEquals(_methodParameterTypes254, parameterTypes)) { + if (_methodName253.equals(name) && + Arrays.deepEquals(_methodParameterTypes253, parameterTypes)) { return DettPraticaLocalServiceUtil.updateDettPratica(((Long)arguments[0]).longValue(), ((Long)arguments[1]).longValue(), ((Long)arguments[2]).longValue(), @@ -792,30 +778,30 @@ public class DettPraticaLocalServiceClpInvoker { ((Integer)arguments[14]).intValue(), ((Boolean)arguments[15]).booleanValue(), ((Long)arguments[16]).longValue(), - ((Long)arguments[17]).longValue(), + (java.lang.String)arguments[17], (java.lang.String)arguments[18], (java.lang.String)arguments[19], (java.lang.String)arguments[20], (java.lang.String)arguments[21], (java.lang.String)arguments[22], (java.lang.String)arguments[23], - (java.lang.String)arguments[24], + ((Long)arguments[24]).longValue(), ((Long)arguments[25]).longValue(), - ((Long)arguments[26]).longValue(), + ((Boolean)arguments[26]).booleanValue(), ((Boolean)arguments[27]).booleanValue(), ((Boolean)arguments[28]).booleanValue(), - ((Boolean)arguments[29]).booleanValue(), + (java.lang.String)arguments[29], (java.lang.String)arguments[30], (java.lang.String)arguments[31], (java.lang.String)arguments[32], - (java.lang.String)arguments[33], + ((Boolean)arguments[33]).booleanValue(), ((Boolean)arguments[34]).booleanValue(), - ((Boolean)arguments[35]).booleanValue(), - (java.util.Date)arguments[36], (java.util.Date)arguments[37], - (java.util.Date)arguments[38], (java.lang.String)arguments[39], - ((Boolean)arguments[40]).booleanValue(), - ((Long)arguments[41]).longValue(), - ((Integer)arguments[42]).intValue(), + (java.util.Date)arguments[35], (java.util.Date)arguments[36], + (java.util.Date)arguments[37], (java.lang.String)arguments[38], + ((Boolean)arguments[39]).booleanValue(), + ((Long)arguments[40]).longValue(), + ((Integer)arguments[41]).intValue(), + (java.lang.String)arguments[42], (java.lang.String)arguments[43], (java.lang.String)arguments[44], (java.lang.String)arguments[45], @@ -830,7 +816,7 @@ public class DettPraticaLocalServiceClpInvoker { (java.lang.String)arguments[54], (java.lang.String)arguments[55], (java.lang.String)arguments[56], - (java.lang.String)arguments[57], + ((Boolean)arguments[57]).booleanValue(), ((Boolean)arguments[58]).booleanValue(), ((Boolean)arguments[59]).booleanValue(), ((Boolean)arguments[60]).booleanValue(), @@ -841,31 +827,31 @@ public class DettPraticaLocalServiceClpInvoker { ((Boolean)arguments[65]).booleanValue(), ((Boolean)arguments[66]).booleanValue(), ((Boolean)arguments[67]).booleanValue(), - ((Boolean)arguments[68]).booleanValue(), + (java.lang.String)arguments[68], (java.lang.String)arguments[69], - (java.lang.String)arguments[70], + ((Boolean)arguments[70]).booleanValue(), ((Boolean)arguments[71]).booleanValue(), ((Boolean)arguments[72]).booleanValue(), ((Boolean)arguments[73]).booleanValue(), - ((Boolean)arguments[74]).booleanValue(), + (java.lang.String)arguments[74], (java.lang.String)arguments[75], (java.lang.String)arguments[76], - (java.lang.String)arguments[77], + ((Boolean)arguments[77]).booleanValue(), ((Boolean)arguments[78]).booleanValue(), ((Boolean)arguments[79]).booleanValue(), ((Boolean)arguments[80]).booleanValue(), ((Boolean)arguments[81]).booleanValue(), ((Boolean)arguments[82]).booleanValue(), - ((Boolean)arguments[83]).booleanValue(), - (java.lang.String)arguments[84], + (java.lang.String)arguments[83], + ((Boolean)arguments[84]).booleanValue(), ((Boolean)arguments[85]).booleanValue(), ((Boolean)arguments[86]).booleanValue(), ((Boolean)arguments[87]).booleanValue(), ((Boolean)arguments[88]).booleanValue(), ((Boolean)arguments[89]).booleanValue(), - ((Boolean)arguments[90]).booleanValue(), + (java.lang.String)arguments[90], (java.lang.String)arguments[91], - (java.lang.String)arguments[92], + ((Boolean)arguments[92]).booleanValue(), ((Boolean)arguments[93]).booleanValue(), ((Boolean)arguments[94]).booleanValue(), ((Boolean)arguments[95]).booleanValue(), @@ -873,14 +859,14 @@ public class DettPraticaLocalServiceClpInvoker { ((Boolean)arguments[97]).booleanValue(), ((Boolean)arguments[98]).booleanValue(), ((Boolean)arguments[99]).booleanValue(), - ((Boolean)arguments[100]).booleanValue(), - (java.lang.String)arguments[101], + (java.lang.String)arguments[100], + ((Boolean)arguments[101]).booleanValue(), ((Boolean)arguments[102]).booleanValue(), ((Boolean)arguments[103]).booleanValue(), ((Boolean)arguments[104]).booleanValue(), ((Boolean)arguments[105]).booleanValue(), - ((Boolean)arguments[106]).booleanValue(), - (java.lang.String)arguments[107], + (java.lang.String)arguments[106], + ((Boolean)arguments[107]).booleanValue(), ((Boolean)arguments[108]).booleanValue(), ((Boolean)arguments[109]).booleanValue(), ((Boolean)arguments[110]).booleanValue(), @@ -889,7 +875,7 @@ public class DettPraticaLocalServiceClpInvoker { ((Boolean)arguments[113]).booleanValue(), ((Boolean)arguments[114]).booleanValue(), ((Boolean)arguments[115]).booleanValue(), - ((Boolean)arguments[116]).booleanValue(), + (java.lang.String)arguments[116], (java.lang.String)arguments[117], (java.lang.String)arguments[118], (java.lang.String)arguments[119], @@ -912,16 +898,16 @@ public class DettPraticaLocalServiceClpInvoker { (java.lang.String)arguments[136], (java.lang.String)arguments[137], (java.lang.String)arguments[138], - (java.lang.String)arguments[139], - (java.util.Date)arguments[140], - ((Boolean)arguments[141]).booleanValue(), + (java.util.Date)arguments[139], + ((Boolean)arguments[140]).booleanValue(), + ((Integer)arguments[141]).intValue(), ((Integer)arguments[142]).intValue(), - ((Integer)arguments[143]).intValue(), - ((Boolean)arguments[144]).booleanValue(), - ((Integer)arguments[145]).intValue(), - ((Boolean)arguments[146]).booleanValue(), - ((Integer)arguments[147]).intValue(), - ((Boolean)arguments[148]).booleanValue(), + ((Boolean)arguments[143]).booleanValue(), + ((Integer)arguments[144]).intValue(), + ((Boolean)arguments[145]).booleanValue(), + ((Integer)arguments[146]).intValue(), + ((Boolean)arguments[147]).booleanValue(), + (java.lang.String)arguments[148], (java.lang.String)arguments[149], (java.lang.String)arguments[150], (java.lang.String)arguments[151], @@ -933,7 +919,7 @@ public class DettPraticaLocalServiceClpInvoker { (java.lang.String)arguments[157], (java.lang.String)arguments[158], (java.lang.String)arguments[159], - (java.lang.String)arguments[160], + ((Boolean)arguments[160]).booleanValue(), ((Boolean)arguments[161]).booleanValue(), ((Boolean)arguments[162]).booleanValue(), ((Boolean)arguments[163]).booleanValue(), @@ -948,8 +934,8 @@ public class DettPraticaLocalServiceClpInvoker { ((Boolean)arguments[172]).booleanValue(), ((Boolean)arguments[173]).booleanValue(), ((Boolean)arguments[174]).booleanValue(), - ((Boolean)arguments[175]).booleanValue(), - (java.lang.String)arguments[176], + (java.lang.String)arguments[175], + ((Boolean)arguments[176]).booleanValue(), ((Boolean)arguments[177]).booleanValue(), ((Boolean)arguments[178]).booleanValue(), ((Boolean)arguments[179]).booleanValue(), @@ -973,17 +959,16 @@ public class DettPraticaLocalServiceClpInvoker { ((Boolean)arguments[197]).booleanValue(), ((Boolean)arguments[198]).booleanValue(), ((Boolean)arguments[199]).booleanValue(), - ((Boolean)arguments[200]).booleanValue(), + (java.lang.String)arguments[200], (java.lang.String)arguments[201], - (java.lang.String)arguments[202], - ((Boolean)arguments[203]).booleanValue(), - (java.lang.String)arguments[204], - (com.liferay.portal.service.ServiceContext)arguments[205], - ((Boolean)arguments[206]).booleanValue()); + ((Boolean)arguments[202]).booleanValue(), + (java.lang.String)arguments[203], + (com.liferay.portal.service.ServiceContext)arguments[204], + ((Boolean)arguments[205]).booleanValue()); } - if (_methodName255.equals(name) && - Arrays.deepEquals(_methodParameterTypes255, parameterTypes)) { + if (_methodName254.equals(name) && + Arrays.deepEquals(_methodParameterTypes254, parameterTypes)) { return DettPraticaLocalServiceUtil.updateDettPraticaDatiDomanda(((Long)arguments[0]).longValue(), ((Long)arguments[1]).longValue(), ((Long)arguments[2]).longValue(), @@ -1126,8 +1111,8 @@ public class DettPraticaLocalServiceClpInvoker { ((Boolean)arguments[142]).booleanValue()); } - if (_methodName257.equals(name) && - Arrays.deepEquals(_methodParameterTypes257, parameterTypes)) { + if (_methodName256.equals(name) && + Arrays.deepEquals(_methodParameterTypes256, parameterTypes)) { return DettPraticaLocalServiceUtil.updateDettPraticaGeologo(((Long)arguments[0]).longValue(), ((Long)arguments[1]).longValue(), ((Long)arguments[2]).longValue(), @@ -1154,8 +1139,8 @@ public class DettPraticaLocalServiceClpInvoker { ((Boolean)arguments[27]).booleanValue()); } - if (_methodName258.equals(name) && - Arrays.deepEquals(_methodParameterTypes258, parameterTypes)) { + if (_methodName257.equals(name) && + Arrays.deepEquals(_methodParameterTypes257, parameterTypes)) { return DettPraticaLocalServiceUtil.updateDettPraticaPagamento(((Long)arguments[0]).longValue(), ((Integer)arguments[1]).intValue(), ((Integer)arguments[2]).intValue(), @@ -1178,23 +1163,23 @@ public class DettPraticaLocalServiceClpInvoker { (com.liferay.portal.service.ServiceContext)arguments[20]); } - if (_methodName259.equals(name) && - Arrays.deepEquals(_methodParameterTypes259, parameterTypes)) { + if (_methodName258.equals(name) && + Arrays.deepEquals(_methodParameterTypes258, parameterTypes)) { return DettPraticaLocalServiceUtil.updateCheckPagamenti(((Long)arguments[0]).longValue(), ((Boolean)arguments[1]).booleanValue(), ((Boolean)arguments[2]).booleanValue()); } - if (_methodName260.equals(name) && - Arrays.deepEquals(_methodParameterTypes260, parameterTypes)) { + if (_methodName259.equals(name) && + Arrays.deepEquals(_methodParameterTypes259, parameterTypes)) { DettPraticaLocalServiceUtil.updateEsitoPagamento(((Long)arguments[0]).longValue(), ((Long)arguments[1]).longValue(), (java.lang.String)arguments[2]); return null; } - if (_methodName261.equals(name) && - Arrays.deepEquals(_methodParameterTypes261, parameterTypes)) { + if (_methodName260.equals(name) && + Arrays.deepEquals(_methodParameterTypes260, parameterTypes)) { DettPraticaLocalServiceUtil.updateEsitoPagamento(((Long)arguments[0]).longValue(), ((Long)arguments[1]).longValue(), ((Long)arguments[2]).longValue(), (java.lang.String)arguments[3]); @@ -1202,25 +1187,25 @@ public class DettPraticaLocalServiceClpInvoker { return null; } - if (_methodName262.equals(name) && - Arrays.deepEquals(_methodParameterTypes262, parameterTypes)) { + if (_methodName261.equals(name) && + Arrays.deepEquals(_methodParameterTypes261, parameterTypes)) { return DettPraticaLocalServiceUtil.isControlloObbligatorio((it.tref.liferay.portos.bo.model.DettPratica)arguments[0]); } - if (_methodName263.equals(name) && - Arrays.deepEquals(_methodParameterTypes263, parameterTypes)) { + if (_methodName262.equals(name) && + Arrays.deepEquals(_methodParameterTypes262, parameterTypes)) { return DettPraticaLocalServiceUtil.updateEsito(((Long)arguments[0]).longValue(), ((Integer)arguments[1]).intValue()); } - if (_methodName265.equals(name) && - Arrays.deepEquals(_methodParameterTypes265, parameterTypes)) { + if (_methodName264.equals(name) && + Arrays.deepEquals(_methodParameterTypes264, parameterTypes)) { return DettPraticaLocalServiceUtil.updateEsitoIntegrazione(((Long)arguments[0]).longValue(), ((Integer)arguments[1]).intValue()); } - if (_methodName266.equals(name) && - Arrays.deepEquals(_methodParameterTypes266, parameterTypes)) { + if (_methodName265.equals(name) && + Arrays.deepEquals(_methodParameterTypes265, parameterTypes)) { return DettPraticaLocalServiceUtil.pagaInvia(((Long)arguments[0]).longValue(), ((Integer)arguments[1]).intValue(), ((Integer)arguments[2]).intValue(), @@ -1245,192 +1230,187 @@ public class DettPraticaLocalServiceClpInvoker { (com.liferay.portal.service.ServiceContext)arguments[21]); } - if (_methodName270.equals(name) && - Arrays.deepEquals(_methodParameterTypes270, parameterTypes)) { + if (_methodName269.equals(name) && + Arrays.deepEquals(_methodParameterTypes269, parameterTypes)) { return DettPraticaLocalServiceUtil.updateStatus(((Long)arguments[0]).longValue(), ((Long)arguments[1]).longValue(), ((Integer)arguments[2]).intValue(), (com.liferay.portal.service.ServiceContext)arguments[3]); } - if (_methodName273.equals(name) && - Arrays.deepEquals(_methodParameterTypes273, parameterTypes)) { + if (_methodName272.equals(name) && + Arrays.deepEquals(_methodParameterTypes272, parameterTypes)) { return DettPraticaLocalServiceUtil.updateDettPraticaProtocollo(((Long)arguments[0]).longValue(), (java.lang.String)arguments[1]); } + if (_methodName273.equals(name) && + Arrays.deepEquals(_methodParameterTypes273, parameterTypes)) { + return DettPraticaLocalServiceUtil.findByProtocollo(((Long)arguments[0]).longValue(), + ((Long)arguments[1]).longValue(), (java.lang.String)arguments[2]); + } + if (_methodName274.equals(name) && Arrays.deepEquals(_methodParameterTypes274, parameterTypes)) { - return DettPraticaLocalServiceUtil.findByProtocollo(((Long)arguments[0]).longValue(), + return DettPraticaLocalServiceUtil.fetchByProtocollo(((Long)arguments[0]).longValue(), ((Long)arguments[1]).longValue(), (java.lang.String)arguments[2]); } if (_methodName275.equals(name) && Arrays.deepEquals(_methodParameterTypes275, parameterTypes)) { - return DettPraticaLocalServiceUtil.fetchByProtocollo(((Long)arguments[0]).longValue(), - ((Long)arguments[1]).longValue(), (java.lang.String)arguments[2]); + return DettPraticaLocalServiceUtil.fetchByProtocollo((java.lang.String)arguments[0]); } if (_methodName276.equals(name) && Arrays.deepEquals(_methodParameterTypes276, parameterTypes)) { - return DettPraticaLocalServiceUtil.fetchByProtocollo((java.lang.String)arguments[0]); + return DettPraticaLocalServiceUtil.findByIntPraticaId(((Long)arguments[0]).longValue()); } if (_methodName277.equals(name) && Arrays.deepEquals(_methodParameterTypes277, parameterTypes)) { - return DettPraticaLocalServiceUtil.findByIntPraticaId(((Long)arguments[0]).longValue()); - } - - if (_methodName278.equals(name) && - Arrays.deepEquals(_methodParameterTypes278, parameterTypes)) { return DettPraticaLocalServiceUtil.findByIntPraticaIdInviate(((Long)arguments[0]).longValue(), ((Integer)arguments[1]).intValue(), ((Integer)arguments[2]).intValue()); } - if (_methodName279.equals(name) && - Arrays.deepEquals(_methodParameterTypes279, parameterTypes)) { + if (_methodName278.equals(name) && + Arrays.deepEquals(_methodParameterTypes278, parameterTypes)) { return DettPraticaLocalServiceUtil.findPraticheCompleteNotProtocollo(((Integer)arguments[0]).intValue(), ((Integer)arguments[1]).intValue()); } - if (_methodName280.equals(name) && - Arrays.deepEquals(_methodParameterTypes280, parameterTypes)) { + if (_methodName279.equals(name) && + Arrays.deepEquals(_methodParameterTypes279, parameterTypes)) { return DettPraticaLocalServiceUtil.countPraticheCompleteNotProtocollo(); } - if (_methodName282.equals(name) && - Arrays.deepEquals(_methodParameterTypes282, parameterTypes)) { + if (_methodName281.equals(name) && + Arrays.deepEquals(_methodParameterTypes281, parameterTypes)) { return DettPraticaLocalServiceUtil.findPraticheCompleteNotGestite(((Integer)arguments[0]).intValue(), ((Integer)arguments[1]).intValue()); } - if (_methodName283.equals(name) && - Arrays.deepEquals(_methodParameterTypes283, parameterTypes)) { + if (_methodName282.equals(name) && + Arrays.deepEquals(_methodParameterTypes282, parameterTypes)) { return DettPraticaLocalServiceUtil.countPraticheCompleteNotGestite(); } - if (_methodName285.equals(name) && - Arrays.deepEquals(_methodParameterTypes285, parameterTypes)) { + if (_methodName284.equals(name) && + Arrays.deepEquals(_methodParameterTypes284, parameterTypes)) { return DettPraticaLocalServiceUtil.findByIntPraticaId_TipoIntegrazione_Completa(((Long)arguments[0]).longValue(), (java.lang.String)arguments[1], ((Boolean)arguments[2]).booleanValue()); } - if (_methodName286.equals(name) && - Arrays.deepEquals(_methodParameterTypes286, parameterTypes)) { + if (_methodName285.equals(name) && + Arrays.deepEquals(_methodParameterTypes285, parameterTypes)) { return DettPraticaLocalServiceUtil.countByIntPraticaId_TipoIntegrazione_Completa(((Long)arguments[0]).longValue(), (java.lang.String)arguments[1], ((Boolean)arguments[2]).booleanValue()); } - if (_methodName287.equals(name) && - Arrays.deepEquals(_methodParameterTypes287, parameterTypes)) { + if (_methodName286.equals(name) && + Arrays.deepEquals(_methodParameterTypes286, parameterTypes)) { return DettPraticaLocalServiceUtil.findPraticheCompletateNonVersionate(((Integer)arguments[0]).intValue(), ((Integer)arguments[1]).intValue()); } - if (_methodName288.equals(name) && - Arrays.deepEquals(_methodParameterTypes288, parameterTypes)) { + if (_methodName287.equals(name) && + Arrays.deepEquals(_methodParameterTypes287, parameterTypes)) { return DettPraticaLocalServiceUtil.countPraticheCompletateNonversionate(); } - if (_methodName290.equals(name) && - Arrays.deepEquals(_methodParameterTypes290, parameterTypes)) { + if (_methodName289.equals(name) && + Arrays.deepEquals(_methodParameterTypes289, parameterTypes)) { return DettPraticaLocalServiceUtil.updateDettPraticaGestita(((Long)arguments[0]).longValue(), ((Boolean)arguments[1]).booleanValue()); } - if (_methodName291.equals(name) && - Arrays.deepEquals(_methodParameterTypes291, parameterTypes)) { + if (_methodName290.equals(name) && + Arrays.deepEquals(_methodParameterTypes290, parameterTypes)) { DettPraticaLocalServiceUtil.updateAsset((it.tref.liferay.portos.bo.model.DettPratica)arguments[0], (long[])arguments[1], ((Boolean)arguments[2]).booleanValue()); return null; } - if (_methodName292.equals(name) && - Arrays.deepEquals(_methodParameterTypes292, parameterTypes)) { + if (_methodName291.equals(name) && + Arrays.deepEquals(_methodParameterTypes291, parameterTypes)) { DettPraticaLocalServiceUtil.updateStatus(((Long)arguments[0]).longValue(), ((Integer)arguments[1]).intValue()); return null; } - if (_methodName293.equals(name) && - Arrays.deepEquals(_methodParameterTypes293, parameterTypes)) { + if (_methodName292.equals(name) && + Arrays.deepEquals(_methodParameterTypes292, parameterTypes)) { return DettPraticaLocalServiceUtil.updateSignal(((Long)arguments[0]).longValue(), (java.util.Date)arguments[1]); } + if (_methodName293.equals(name) && + Arrays.deepEquals(_methodParameterTypes293, parameterTypes)) { + return DettPraticaLocalServiceUtil.countInvioSignal(); + } + if (_methodName294.equals(name) && Arrays.deepEquals(_methodParameterTypes294, parameterTypes)) { - return DettPraticaLocalServiceUtil.countInvioSignal(); + return DettPraticaLocalServiceUtil.getInvioSignal(((Long)arguments[0]).longValue()); } if (_methodName295.equals(name) && Arrays.deepEquals(_methodParameterTypes295, parameterTypes)) { - return DettPraticaLocalServiceUtil.getInvioSignal(((Long)arguments[0]).longValue()); + return DettPraticaLocalServiceUtil.getInviiSignal(((Integer)arguments[0]).intValue(), + ((Integer)arguments[1]).intValue()); } if (_methodName296.equals(name) && Arrays.deepEquals(_methodParameterTypes296, parameterTypes)) { - return DettPraticaLocalServiceUtil.getInviiSignal(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); + return DettPraticaLocalServiceUtil.dynamicQueryInvioSignal((java.lang.Long)arguments[0]); } if (_methodName297.equals(name) && Arrays.deepEquals(_methodParameterTypes297, parameterTypes)) { - return DettPraticaLocalServiceUtil.dynamicQueryInvioSignal((java.lang.Long)arguments[0]); + return DettPraticaLocalServiceUtil.findByPagamentoId(((Long)arguments[0]).longValue()); } if (_methodName298.equals(name) && Arrays.deepEquals(_methodParameterTypes298, parameterTypes)) { - return DettPraticaLocalServiceUtil.findByPagamentoId(((Long)arguments[0]).longValue()); - } - - if (_methodName299.equals(name) && - Arrays.deepEquals(_methodParameterTypes299, parameterTypes)) { return DettPraticaLocalServiceUtil.updatePrincipale(((Long)arguments[0]).longValue(), (java.lang.String)arguments[1], (java.lang.String)arguments[2]); } - if (_methodName300.equals(name) && - Arrays.deepEquals(_methodParameterTypes300, parameterTypes)) { + if (_methodName299.equals(name) && + Arrays.deepEquals(_methodParameterTypes299, parameterTypes)) { DettPraticaLocalServiceUtil.sendToVersioning(((Long)arguments[0]).longValue(), (java.lang.String)arguments[1]); return null; } - if (_methodName301.equals(name) && - Arrays.deepEquals(_methodParameterTypes301, parameterTypes)) { + if (_methodName300.equals(name) && + Arrays.deepEquals(_methodParameterTypes300, parameterTypes)) { return DettPraticaLocalServiceUtil.getNumeroDiVersioni((java.lang.String)arguments[0]); } - if (_methodName302.equals(name) && - Arrays.deepEquals(_methodParameterTypes302, parameterTypes)) { + if (_methodName301.equals(name) && + Arrays.deepEquals(_methodParameterTypes301, parameterTypes)) { return DettPraticaLocalServiceUtil.getVersionNumber((java.lang.String)arguments[0], ((Integer)arguments[1]).intValue()); } - if (_methodName304.equals(name) && - Arrays.deepEquals(_methodParameterTypes304, parameterTypes)) { + if (_methodName303.equals(name) && + Arrays.deepEquals(_methodParameterTypes303, parameterTypes)) { return DettPraticaLocalServiceUtil.callForChanges((java.lang.String)arguments[0]); } - if (_methodName305.equals(name) && - Arrays.deepEquals(_methodParameterTypes305, parameterTypes)) { - return DettPraticaLocalServiceUtil.fetchByOldDettPraticaId(((Long)arguments[0]).longValue()); - } - - if (_methodName306.equals(name) && - Arrays.deepEquals(_methodParameterTypes306, parameterTypes)) { + if (_methodName304.equals(name) && + Arrays.deepEquals(_methodParameterTypes304, parameterTypes)) { return DettPraticaLocalServiceUtil.countVariateByIntPratica(((Long)arguments[0]).longValue()); } - if (_methodName307.equals(name) && - Arrays.deepEquals(_methodParameterTypes307, parameterTypes)) { + if (_methodName305.equals(name) && + Arrays.deepEquals(_methodParameterTypes305, parameterTypes)) { return DettPraticaLocalServiceUtil.getFirstCompletedByIntPratica(((Long)arguments[0]).longValue()); } @@ -1523,8 +1503,8 @@ public class DettPraticaLocalServiceClpInvoker { private String[] _methodParameterTypes253; private String _methodName254; private String[] _methodParameterTypes254; - private String _methodName255; - private String[] _methodParameterTypes255; + private String _methodName256; + private String[] _methodParameterTypes256; private String _methodName257; private String[] _methodParameterTypes257; private String _methodName258; @@ -1537,14 +1517,14 @@ public class DettPraticaLocalServiceClpInvoker { private String[] _methodParameterTypes261; private String _methodName262; private String[] _methodParameterTypes262; - private String _methodName263; - private String[] _methodParameterTypes263; + private String _methodName264; + private String[] _methodParameterTypes264; private String _methodName265; private String[] _methodParameterTypes265; - private String _methodName266; - private String[] _methodParameterTypes266; - private String _methodName270; - private String[] _methodParameterTypes270; + private String _methodName269; + private String[] _methodParameterTypes269; + private String _methodName272; + private String[] _methodParameterTypes272; private String _methodName273; private String[] _methodParameterTypes273; private String _methodName274; @@ -1559,20 +1539,20 @@ public class DettPraticaLocalServiceClpInvoker { private String[] _methodParameterTypes278; private String _methodName279; private String[] _methodParameterTypes279; - private String _methodName280; - private String[] _methodParameterTypes280; + private String _methodName281; + private String[] _methodParameterTypes281; private String _methodName282; private String[] _methodParameterTypes282; - private String _methodName283; - private String[] _methodParameterTypes283; + private String _methodName284; + private String[] _methodParameterTypes284; private String _methodName285; private String[] _methodParameterTypes285; private String _methodName286; private String[] _methodParameterTypes286; private String _methodName287; private String[] _methodParameterTypes287; - private String _methodName288; - private String[] _methodParameterTypes288; + private String _methodName289; + private String[] _methodParameterTypes289; private String _methodName290; private String[] _methodParameterTypes290; private String _methodName291; @@ -1597,14 +1577,10 @@ public class DettPraticaLocalServiceClpInvoker { private String[] _methodParameterTypes300; private String _methodName301; private String[] _methodParameterTypes301; - private String _methodName302; - private String[] _methodParameterTypes302; + private String _methodName303; + private String[] _methodParameterTypes303; private String _methodName304; private String[] _methodParameterTypes304; private String _methodName305; private String[] _methodParameterTypes305; - private String _methodName306; - private String[] _methodParameterTypes306; - private String _methodName307; - private String[] _methodParameterTypes307; } \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/DettPraticaServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/DettPraticaServiceClpInvoker.java index 4d1927c9..ac4bc318 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/DettPraticaServiceClpInvoker.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/DettPraticaServiceClpInvoker.java @@ -84,30 +84,30 @@ public class DettPraticaServiceClpInvoker { "java.lang.String", "boolean", "boolean", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.util.Date", "int", "boolean", "long", - "long", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", - "java.lang.String", "java.lang.String", "long", "long", - "boolean", "boolean", "boolean", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", - "boolean", "boolean", "java.util.Date", "java.util.Date", - "java.util.Date", "java.lang.String", "boolean", "long", "int", + "java.lang.String", "long", "long", "boolean", "boolean", + "boolean", "java.lang.String", "java.lang.String", + "java.lang.String", "java.lang.String", "boolean", "boolean", + "java.util.Date", "java.util.Date", "java.util.Date", + "java.lang.String", "boolean", "long", "int", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", + "java.lang.String", "java.lang.String", "boolean", "boolean", + "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", + "boolean", "boolean", "boolean", "java.lang.String", + "java.lang.String", "boolean", "boolean", "boolean", "boolean", "java.lang.String", "java.lang.String", "java.lang.String", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", - "boolean", "boolean", "boolean", "boolean", "boolean", - "java.lang.String", "java.lang.String", "boolean", "boolean", - "boolean", "boolean", "java.lang.String", "java.lang.String", "java.lang.String", "boolean", "boolean", "boolean", "boolean", + "boolean", "boolean", "java.lang.String", "java.lang.String", + "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "java.lang.String", "boolean", "boolean", - "boolean", "boolean", "boolean", "boolean", "java.lang.String", - "java.lang.String", "boolean", "boolean", "boolean", "boolean", - "boolean", "boolean", "boolean", "boolean", "java.lang.String", - "boolean", "boolean", "boolean", "boolean", "boolean", - "java.lang.String", "boolean", "boolean", "boolean", "boolean", - "boolean", "boolean", "boolean", "boolean", "boolean", + "boolean", "boolean", "boolean", "java.lang.String", "boolean", + "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", + "boolean", "boolean", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", @@ -115,21 +115,20 @@ public class DettPraticaServiceClpInvoker { "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", - "java.lang.String", "java.lang.String", "java.util.Date", - "boolean", "int", "int", "boolean", "int", "boolean", "int", - "boolean", "java.lang.String", "java.lang.String", + "java.util.Date", "boolean", "int", "int", "boolean", "int", + "boolean", "int", "boolean", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.String", - "java.lang.String", "boolean", "boolean", "boolean", "boolean", + "java.lang.String", "java.lang.String", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", - "boolean", "boolean", "boolean", "boolean", "boolean", - "java.lang.String", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", + "boolean", "java.lang.String", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", - "boolean", "boolean", "java.lang.String", "java.lang.String", - "boolean", "java.lang.String", + "boolean", "boolean", "boolean", "boolean", "boolean", "boolean", + "boolean", "boolean", "boolean", "java.lang.String", + "java.lang.String", "boolean", "java.lang.String", "com.liferay.portal.service.ServiceContext", "boolean", "boolean", "boolean" }; @@ -285,30 +284,30 @@ public class DettPraticaServiceClpInvoker { ((Integer)arguments[14]).intValue(), ((Boolean)arguments[15]).booleanValue(), ((Long)arguments[16]).longValue(), - ((Long)arguments[17]).longValue(), + (java.lang.String)arguments[17], (java.lang.String)arguments[18], (java.lang.String)arguments[19], (java.lang.String)arguments[20], (java.lang.String)arguments[21], (java.lang.String)arguments[22], (java.lang.String)arguments[23], - (java.lang.String)arguments[24], + ((Long)arguments[24]).longValue(), ((Long)arguments[25]).longValue(), - ((Long)arguments[26]).longValue(), + ((Boolean)arguments[26]).booleanValue(), ((Boolean)arguments[27]).booleanValue(), ((Boolean)arguments[28]).booleanValue(), - ((Boolean)arguments[29]).booleanValue(), + (java.lang.String)arguments[29], (java.lang.String)arguments[30], (java.lang.String)arguments[31], (java.lang.String)arguments[32], - (java.lang.String)arguments[33], + ((Boolean)arguments[33]).booleanValue(), ((Boolean)arguments[34]).booleanValue(), - ((Boolean)arguments[35]).booleanValue(), - (java.util.Date)arguments[36], (java.util.Date)arguments[37], - (java.util.Date)arguments[38], (java.lang.String)arguments[39], - ((Boolean)arguments[40]).booleanValue(), - ((Long)arguments[41]).longValue(), - ((Integer)arguments[42]).intValue(), + (java.util.Date)arguments[35], (java.util.Date)arguments[36], + (java.util.Date)arguments[37], (java.lang.String)arguments[38], + ((Boolean)arguments[39]).booleanValue(), + ((Long)arguments[40]).longValue(), + ((Integer)arguments[41]).intValue(), + (java.lang.String)arguments[42], (java.lang.String)arguments[43], (java.lang.String)arguments[44], (java.lang.String)arguments[45], @@ -323,7 +322,7 @@ public class DettPraticaServiceClpInvoker { (java.lang.String)arguments[54], (java.lang.String)arguments[55], (java.lang.String)arguments[56], - (java.lang.String)arguments[57], + ((Boolean)arguments[57]).booleanValue(), ((Boolean)arguments[58]).booleanValue(), ((Boolean)arguments[59]).booleanValue(), ((Boolean)arguments[60]).booleanValue(), @@ -334,31 +333,31 @@ public class DettPraticaServiceClpInvoker { ((Boolean)arguments[65]).booleanValue(), ((Boolean)arguments[66]).booleanValue(), ((Boolean)arguments[67]).booleanValue(), - ((Boolean)arguments[68]).booleanValue(), + (java.lang.String)arguments[68], (java.lang.String)arguments[69], - (java.lang.String)arguments[70], + ((Boolean)arguments[70]).booleanValue(), ((Boolean)arguments[71]).booleanValue(), ((Boolean)arguments[72]).booleanValue(), ((Boolean)arguments[73]).booleanValue(), - ((Boolean)arguments[74]).booleanValue(), + (java.lang.String)arguments[74], (java.lang.String)arguments[75], (java.lang.String)arguments[76], - (java.lang.String)arguments[77], + ((Boolean)arguments[77]).booleanValue(), ((Boolean)arguments[78]).booleanValue(), ((Boolean)arguments[79]).booleanValue(), ((Boolean)arguments[80]).booleanValue(), ((Boolean)arguments[81]).booleanValue(), ((Boolean)arguments[82]).booleanValue(), - ((Boolean)arguments[83]).booleanValue(), - (java.lang.String)arguments[84], + (java.lang.String)arguments[83], + ((Boolean)arguments[84]).booleanValue(), ((Boolean)arguments[85]).booleanValue(), ((Boolean)arguments[86]).booleanValue(), ((Boolean)arguments[87]).booleanValue(), ((Boolean)arguments[88]).booleanValue(), ((Boolean)arguments[89]).booleanValue(), - ((Boolean)arguments[90]).booleanValue(), + (java.lang.String)arguments[90], (java.lang.String)arguments[91], - (java.lang.String)arguments[92], + ((Boolean)arguments[92]).booleanValue(), ((Boolean)arguments[93]).booleanValue(), ((Boolean)arguments[94]).booleanValue(), ((Boolean)arguments[95]).booleanValue(), @@ -366,14 +365,14 @@ public class DettPraticaServiceClpInvoker { ((Boolean)arguments[97]).booleanValue(), ((Boolean)arguments[98]).booleanValue(), ((Boolean)arguments[99]).booleanValue(), - ((Boolean)arguments[100]).booleanValue(), - (java.lang.String)arguments[101], + (java.lang.String)arguments[100], + ((Boolean)arguments[101]).booleanValue(), ((Boolean)arguments[102]).booleanValue(), ((Boolean)arguments[103]).booleanValue(), ((Boolean)arguments[104]).booleanValue(), ((Boolean)arguments[105]).booleanValue(), - ((Boolean)arguments[106]).booleanValue(), - (java.lang.String)arguments[107], + (java.lang.String)arguments[106], + ((Boolean)arguments[107]).booleanValue(), ((Boolean)arguments[108]).booleanValue(), ((Boolean)arguments[109]).booleanValue(), ((Boolean)arguments[110]).booleanValue(), @@ -382,7 +381,7 @@ public class DettPraticaServiceClpInvoker { ((Boolean)arguments[113]).booleanValue(), ((Boolean)arguments[114]).booleanValue(), ((Boolean)arguments[115]).booleanValue(), - ((Boolean)arguments[116]).booleanValue(), + (java.lang.String)arguments[116], (java.lang.String)arguments[117], (java.lang.String)arguments[118], (java.lang.String)arguments[119], @@ -405,16 +404,16 @@ public class DettPraticaServiceClpInvoker { (java.lang.String)arguments[136], (java.lang.String)arguments[137], (java.lang.String)arguments[138], - (java.lang.String)arguments[139], - (java.util.Date)arguments[140], - ((Boolean)arguments[141]).booleanValue(), + (java.util.Date)arguments[139], + ((Boolean)arguments[140]).booleanValue(), + ((Integer)arguments[141]).intValue(), ((Integer)arguments[142]).intValue(), - ((Integer)arguments[143]).intValue(), - ((Boolean)arguments[144]).booleanValue(), - ((Integer)arguments[145]).intValue(), - ((Boolean)arguments[146]).booleanValue(), - ((Integer)arguments[147]).intValue(), - ((Boolean)arguments[148]).booleanValue(), + ((Boolean)arguments[143]).booleanValue(), + ((Integer)arguments[144]).intValue(), + ((Boolean)arguments[145]).booleanValue(), + ((Integer)arguments[146]).intValue(), + ((Boolean)arguments[147]).booleanValue(), + (java.lang.String)arguments[148], (java.lang.String)arguments[149], (java.lang.String)arguments[150], (java.lang.String)arguments[151], @@ -426,7 +425,7 @@ public class DettPraticaServiceClpInvoker { (java.lang.String)arguments[157], (java.lang.String)arguments[158], (java.lang.String)arguments[159], - (java.lang.String)arguments[160], + ((Boolean)arguments[160]).booleanValue(), ((Boolean)arguments[161]).booleanValue(), ((Boolean)arguments[162]).booleanValue(), ((Boolean)arguments[163]).booleanValue(), @@ -441,8 +440,8 @@ public class DettPraticaServiceClpInvoker { ((Boolean)arguments[172]).booleanValue(), ((Boolean)arguments[173]).booleanValue(), ((Boolean)arguments[174]).booleanValue(), - ((Boolean)arguments[175]).booleanValue(), - (java.lang.String)arguments[176], + (java.lang.String)arguments[175], + ((Boolean)arguments[176]).booleanValue(), ((Boolean)arguments[177]).booleanValue(), ((Boolean)arguments[178]).booleanValue(), ((Boolean)arguments[179]).booleanValue(), @@ -466,15 +465,14 @@ public class DettPraticaServiceClpInvoker { ((Boolean)arguments[197]).booleanValue(), ((Boolean)arguments[198]).booleanValue(), ((Boolean)arguments[199]).booleanValue(), - ((Boolean)arguments[200]).booleanValue(), + (java.lang.String)arguments[200], (java.lang.String)arguments[201], - (java.lang.String)arguments[202], - ((Boolean)arguments[203]).booleanValue(), - (java.lang.String)arguments[204], - (com.liferay.portal.service.ServiceContext)arguments[205], + ((Boolean)arguments[202]).booleanValue(), + (java.lang.String)arguments[203], + (com.liferay.portal.service.ServiceContext)arguments[204], + ((Boolean)arguments[205]).booleanValue(), ((Boolean)arguments[206]).booleanValue(), - ((Boolean)arguments[207]).booleanValue(), - ((Boolean)arguments[208]).booleanValue()); + ((Boolean)arguments[207]).booleanValue()); } if (_methodName221.equals(name) && diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/FineLavoriLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/FineLavoriLocalServiceClpInvoker.java index d9af60c8..a7e527a4 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/FineLavoriLocalServiceClpInvoker.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/FineLavoriLocalServiceClpInvoker.java @@ -304,10 +304,6 @@ public class FineLavoriLocalServiceClpInvoker { _methodName238 = "findIntPraticaByFineLavori"; _methodParameterTypes238 = new String[] { "java.lang.String" }; - - _methodName239 = "fetchByOldDettPraticaId"; - - _methodParameterTypes239 = new String[] { "long" }; } public Object invokeMethod(String name, String[] parameterTypes, @@ -666,11 +662,6 @@ public class FineLavoriLocalServiceClpInvoker { return FineLavoriLocalServiceUtil.findIntPraticaByFineLavori((java.lang.String)arguments[0]); } - if (_methodName239.equals(name) && - Arrays.deepEquals(_methodParameterTypes239, parameterTypes)) { - return FineLavoriLocalServiceUtil.fetchByOldDettPraticaId(((Long)arguments[0]).longValue()); - } - throw new UnsupportedOperationException(); } @@ -786,6 +777,4 @@ public class FineLavoriLocalServiceClpInvoker { private String[] _methodParameterTypes237; private String _methodName238; private String[] _methodParameterTypes238; - private String _methodName239; - private String[] _methodParameterTypes239; } \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/IntPraticaLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/IntPraticaLocalServiceClpInvoker.java index 8c7dfedb..616687db 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/IntPraticaLocalServiceClpInvoker.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/IntPraticaLocalServiceClpInvoker.java @@ -150,7 +150,7 @@ public class IntPraticaLocalServiceClpInvoker { _methodParameterTypes207 = new String[] { "long", "java.lang.String", "java.lang.String", "long", "java.lang.String", "java.util.Date", "java.lang.String", - "java.lang.String", "boolean", "int", "java.util.Date", "long", + "java.lang.String", "boolean", "int", "java.util.Date", "com.liferay.portal.service.ServiceContext" }; @@ -232,239 +232,235 @@ public class IntPraticaLocalServiceClpInvoker { _methodParameterTypes227 = new String[] { "long", "long" }; - _methodName228 = "fetchByOldIntPraticaId"; + _methodName228 = "updateStatus"; - _methodParameterTypes228 = new String[] { "long" }; + _methodParameterTypes228 = new String[] { "long", "int" }; - _methodName229 = "updateStatus"; + _methodName229 = "findByCompanyIdSoggettoProgetti"; - _methodParameterTypes229 = new String[] { "long", "int" }; + _methodParameterTypes229 = new String[] { "long", "long" }; - _methodName230 = "findByCompanyIdSoggettoProgetti"; + _methodName230 = "countByCompanyIdSoggettoProgetti"; _methodParameterTypes230 = new String[] { "long", "long" }; - _methodName231 = "countByCompanyIdSoggettoProgetti"; + _methodName232 = "findByCompanyIdSoggettoArchivio"; - _methodParameterTypes231 = new String[] { "long", "long" }; + _methodParameterTypes232 = new String[] { "long", "long" }; - _methodName233 = "findByCompanyIdSoggettoArchivio"; + _methodName233 = "countByCompanyIdSoggettoArchivio"; _methodParameterTypes233 = new String[] { "long", "long" }; - _methodName234 = "countByCompanyIdSoggettoArchivio"; + _methodName235 = "findByCompanyIdSoggettoAltriProgetti"; - _methodParameterTypes234 = new String[] { "long", "long" }; + _methodParameterTypes235 = new String[] { "long", "long", "int", "int" }; - _methodName236 = "findByCompanyIdSoggettoAltriProgetti"; + _methodName236 = "countByCompanyIdSoggettoAltriProgetti"; - _methodParameterTypes236 = new String[] { "long", "long", "int", "int" }; + _methodParameterTypes236 = new String[] { "long", "long" }; - _methodName237 = "countByCompanyIdSoggettoAltriProgetti"; + _methodName238 = "findByCanAddFineLavori"; - _methodParameterTypes237 = new String[] { "long", "long" }; - - _methodName239 = "findByCanAddFineLavori"; - - _methodParameterTypes239 = new String[] { + _methodParameterTypes238 = new String[] { "long", "java.lang.String", "int", "int" }; - _methodName240 = "countByCanAddFineLavori"; + _methodName239 = "countByCanAddFineLavori"; - _methodParameterTypes240 = new String[] { "long", "java.lang.String" }; + _methodParameterTypes239 = new String[] { "long", "java.lang.String" }; - _methodName242 = "findByCanAddCollaudo"; + _methodName241 = "findByCanAddCollaudo"; - _methodParameterTypes242 = new String[] { + _methodParameterTypes241 = new String[] { "long", "java.lang.String", "int", "int" }; - _methodName243 = "countByCanAddCollaudo"; + _methodName242 = "countByCanAddCollaudo"; - _methodParameterTypes243 = new String[] { "long", "java.lang.String" }; + _methodParameterTypes242 = new String[] { "long", "java.lang.String" }; - _methodName245 = "search"; + _methodName244 = "search"; - _methodParameterTypes245 = new String[] { "java.util.List", "int", "int" }; + _methodParameterTypes244 = new String[] { "java.util.List", "int", "int" }; - _methodName246 = "countSearch"; + _methodName245 = "countSearch"; - _methodParameterTypes246 = new String[] { "java.util.List" }; + _methodParameterTypes245 = new String[] { "java.util.List" }; - _methodName247 = "searchWithIntPraticaId"; + _methodName246 = "searchWithIntPraticaId"; - _methodParameterTypes247 = new String[] { + _methodParameterTypes246 = new String[] { "java.util.List", "long", "int", "int" }; - _methodName248 = "countSearchWithIntPraticaId"; + _methodName247 = "countSearchWithIntPraticaId"; - _methodParameterTypes248 = new String[] { "java.util.List", "long" }; + _methodParameterTypes247 = new String[] { "java.util.List", "long" }; - _methodName249 = "allegaFileAnnullamento"; + _methodName248 = "allegaFileAnnullamento"; - _methodParameterTypes249 = new String[] { + _methodParameterTypes248 = new String[] { "long", "byte[][]", "java.lang.String", "java.lang.String", "com.liferay.portal.service.ServiceContext" }; - _methodName250 = "generateFileAnnullamento"; + _methodName249 = "generateFileAnnullamento"; - _methodParameterTypes250 = new String[] { + _methodParameterTypes249 = new String[] { "long", "com.liferay.portal.service.ServiceContext" }; - _methodName251 = "deleteFileAnnullamento"; + _methodName250 = "deleteFileAnnullamento"; - _methodParameterTypes251 = new String[] { "long" }; + _methodParameterTypes250 = new String[] { "long" }; - _methodName252 = "completeAnnullamento"; + _methodName251 = "completeAnnullamento"; - _methodParameterTypes252 = new String[] { "long" }; + _methodParameterTypes251 = new String[] { "long" }; - _methodName253 = "cambiaIstruttore"; + _methodName252 = "cambiaIstruttore"; - _methodParameterTypes253 = new String[] { "long", "long", "long" }; + _methodParameterTypes252 = new String[] { "long", "long", "long" }; - _methodName254 = "countCaricoLavoroCF"; + _methodName253 = "countCaricoLavoroCF"; - _methodParameterTypes254 = new String[] { + _methodParameterTypes253 = new String[] { "long", "java.lang.String", "java.lang.Boolean", "java.lang.Long[][]" }; - _methodName255 = "countCaricoLavoroIstruttore"; + _methodName254 = "countCaricoLavoroIstruttore"; - _methodParameterTypes255 = new String[] { + _methodParameterTypes254 = new String[] { "long", "java.lang.String", "java.lang.Boolean" }; - _methodName256 = "generateReportPratica"; + _methodName255 = "generateReportPratica"; - _methodParameterTypes256 = new String[] { + _methodParameterTypes255 = new String[] { "it.tref.liferay.portos.bo.model.IntPratica", "long" }; - _methodName257 = "updateModifiedDate"; + _methodName256 = "updateModifiedDate"; - _methodParameterTypes257 = new String[] { "long", "java.util.Date" }; + _methodParameterTypes256 = new String[] { "long", "java.util.Date" }; - _methodName258 = "countAutorizzazione"; + _methodName257 = "countAutorizzazione"; - _methodParameterTypes258 = new String[] { + _methodParameterTypes257 = new String[] { "java.util.Date", "java.util.Date", "long" }; - _methodName259 = "countSanatorie"; + _methodName258 = "countSanatorie"; - _methodParameterTypes259 = new String[] { + _methodParameterTypes258 = new String[] { "java.util.Date", "java.util.Date", "long" }; - _methodName260 = "countOpereMinoreImportanza"; + _methodName259 = "countOpereMinoreImportanza"; - _methodParameterTypes260 = new String[] { + _methodParameterTypes259 = new String[] { "java.util.Date", "java.util.Date", "long" }; - _methodName261 = "countDeposito"; + _methodName260 = "countDeposito"; - _methodParameterTypes261 = new String[] { + _methodParameterTypes260 = new String[] { "java.util.Date", "java.util.Date", "long", "boolean" }; - _methodName262 = "countVidimate"; + _methodName261 = "countVidimate"; - _methodParameterTypes262 = new String[] { + _methodParameterTypes261 = new String[] { "java.util.Date", "java.util.Date", "long", "java.lang.String", "boolean" }; - _methodName263 = "countControllo"; + _methodName262 = "countControllo"; - _methodParameterTypes263 = new String[] { + _methodParameterTypes262 = new String[] { "java.util.Date", "java.util.Date", "long", "java.lang.String", "boolean" }; - _methodName264 = "importaVecchiFilesFascicolo"; + _methodName263 = "importaVecchiFilesFascicolo"; - _methodParameterTypes264 = new String[] { "long", "int", "int" }; + _methodParameterTypes263 = new String[] { "long", "int", "int" }; - _methodName265 = "findIntPraticaNotExist"; + _methodName264 = "findIntPraticaNotExist"; - _methodParameterTypes265 = new String[] { }; + _methodParameterTypes264 = new String[] { }; - _methodName266 = "riparaWorkflow"; + _methodName265 = "riparaWorkflow"; - _methodParameterTypes266 = new String[] { }; + _methodParameterTypes265 = new String[] { }; - _methodName267 = "reIndexFascicolo"; + _methodName266 = "reIndexFascicolo"; - _methodParameterTypes267 = new String[] { + _methodParameterTypes266 = new String[] { "it.tref.liferay.portos.bo.model.IntPratica", "long" }; - _methodName268 = "reIndexFasciolo"; + _methodName267 = "reIndexFasciolo"; - _methodParameterTypes268 = new String[] { "java.lang.String", "long" }; + _methodParameterTypes267 = new String[] { "java.lang.String", "long" }; - _methodName269 = "reIndexFasciolo"; + _methodName268 = "reIndexFasciolo"; - _methodParameterTypes269 = new String[] { "long", "long" }; + _methodParameterTypes268 = new String[] { "long", "long" }; - _methodName270 = "trovaDoppioni"; + _methodName269 = "trovaDoppioni"; - _methodParameterTypes270 = new String[] { }; + _methodParameterTypes269 = new String[] { }; - _methodName271 = "findByNumeroProgetto"; + _methodName270 = "findByNumeroProgetto"; - _methodParameterTypes271 = new String[] { "java.lang.String" }; + _methodParameterTypes270 = new String[] { "java.lang.String" }; - _methodName272 = "findByTerritorioId"; + _methodName271 = "findByTerritorioId"; - _methodParameterTypes272 = new String[] { "long" }; + _methodParameterTypes271 = new String[] { "long" }; - _methodName273 = "reportTempisticheIstruttorieAvvisiAutorizzazioni"; + _methodName272 = "reportTempisticheIstruttorieAvvisiAutorizzazioni"; - _methodParameterTypes273 = new String[] { + _methodParameterTypes272 = new String[] { "java.util.Date", "java.util.Date", "long", "java.lang.String" }; - _methodName274 = "reportTempisticheIstruttorieCalcolaDataSorteggio"; + _methodName273 = "reportTempisticheIstruttorieCalcolaDataSorteggio"; - _methodParameterTypes274 = new String[] { + _methodParameterTypes273 = new String[] { "java.util.Date", "java.util.Date", "long" }; - _methodName275 = "reportPraticheVidimate"; + _methodName274 = "reportPraticheVidimate"; - _methodParameterTypes275 = new String[] { + _methodParameterTypes274 = new String[] { "java.util.Date", "java.util.Date", "long", "java.lang.String" }; - _methodName276 = "reportPraticheVidimateCalcolaDataSorteggio"; + _methodName275 = "reportPraticheVidimateCalcolaDataSorteggio"; - _methodParameterTypes276 = new String[] { + _methodParameterTypes275 = new String[] { "java.util.Date", "java.util.Date", "long" }; - _methodName277 = "countIngressiAutorizzazioni"; + _methodName276 = "countIngressiAutorizzazioni"; - _methodParameterTypes277 = new String[] { + _methodParameterTypes276 = new String[] { "java.util.Date", "java.util.Date", "long" }; - _methodName278 = "countIngressiDepositi"; + _methodName277 = "countIngressiDepositi"; - _methodParameterTypes278 = new String[] { + _methodParameterTypes277 = new String[] { "java.util.Date", "java.util.Date", "long" }; - _methodName279 = "countIngressiCO"; + _methodName278 = "countIngressiCO"; - _methodParameterTypes279 = new String[] { + _methodParameterTypes278 = new String[] { "java.util.Date", "java.util.Date", "long" }; } @@ -623,8 +619,7 @@ public class IntPraticaLocalServiceClpInvoker { ((Boolean)arguments[8]).booleanValue(), ((Integer)arguments[9]).intValue(), (java.util.Date)arguments[10], - ((Long)arguments[11]).longValue(), - (com.liferay.portal.service.ServiceContext)arguments[12]); + (com.liferay.portal.service.ServiceContext)arguments[11]); } if (_methodName208.equals(name) && @@ -726,139 +721,134 @@ public class IntPraticaLocalServiceClpInvoker { if (_methodName228.equals(name) && Arrays.deepEquals(_methodParameterTypes228, parameterTypes)) { - return IntPraticaLocalServiceUtil.fetchByOldIntPraticaId(((Long)arguments[0]).longValue()); - } - - if (_methodName229.equals(name) && - Arrays.deepEquals(_methodParameterTypes229, parameterTypes)) { IntPraticaLocalServiceUtil.updateStatus(((Long)arguments[0]).longValue(), ((Integer)arguments[1]).intValue()); return null; } - if (_methodName230.equals(name) && - Arrays.deepEquals(_methodParameterTypes230, parameterTypes)) { + if (_methodName229.equals(name) && + Arrays.deepEquals(_methodParameterTypes229, parameterTypes)) { return IntPraticaLocalServiceUtil.findByCompanyIdSoggettoProgetti(((Long)arguments[0]).longValue(), ((Long)arguments[1]).longValue()); } - if (_methodName231.equals(name) && - Arrays.deepEquals(_methodParameterTypes231, parameterTypes)) { + if (_methodName230.equals(name) && + Arrays.deepEquals(_methodParameterTypes230, parameterTypes)) { return IntPraticaLocalServiceUtil.countByCompanyIdSoggettoProgetti(((Long)arguments[0]).longValue(), ((Long)arguments[1]).longValue()); } - if (_methodName233.equals(name) && - Arrays.deepEquals(_methodParameterTypes233, parameterTypes)) { + if (_methodName232.equals(name) && + Arrays.deepEquals(_methodParameterTypes232, parameterTypes)) { return IntPraticaLocalServiceUtil.findByCompanyIdSoggettoArchivio(((Long)arguments[0]).longValue(), ((Long)arguments[1]).longValue()); } - if (_methodName234.equals(name) && - Arrays.deepEquals(_methodParameterTypes234, parameterTypes)) { + if (_methodName233.equals(name) && + Arrays.deepEquals(_methodParameterTypes233, parameterTypes)) { return IntPraticaLocalServiceUtil.countByCompanyIdSoggettoArchivio(((Long)arguments[0]).longValue(), ((Long)arguments[1]).longValue()); } - if (_methodName236.equals(name) && - Arrays.deepEquals(_methodParameterTypes236, parameterTypes)) { + if (_methodName235.equals(name) && + Arrays.deepEquals(_methodParameterTypes235, parameterTypes)) { return IntPraticaLocalServiceUtil.findByCompanyIdSoggettoAltriProgetti(((Long)arguments[0]).longValue(), ((Long)arguments[1]).longValue(), ((Integer)arguments[2]).intValue(), ((Integer)arguments[3]).intValue()); } - if (_methodName237.equals(name) && - Arrays.deepEquals(_methodParameterTypes237, parameterTypes)) { + if (_methodName236.equals(name) && + Arrays.deepEquals(_methodParameterTypes236, parameterTypes)) { return IntPraticaLocalServiceUtil.countByCompanyIdSoggettoAltriProgetti(((Long)arguments[0]).longValue(), ((Long)arguments[1]).longValue()); } - if (_methodName239.equals(name) && - Arrays.deepEquals(_methodParameterTypes239, parameterTypes)) { + if (_methodName238.equals(name) && + Arrays.deepEquals(_methodParameterTypes238, parameterTypes)) { return IntPraticaLocalServiceUtil.findByCanAddFineLavori(((Long)arguments[0]).longValue(), (java.lang.String)arguments[1], ((Integer)arguments[2]).intValue(), ((Integer)arguments[3]).intValue()); } - if (_methodName240.equals(name) && - Arrays.deepEquals(_methodParameterTypes240, parameterTypes)) { + if (_methodName239.equals(name) && + Arrays.deepEquals(_methodParameterTypes239, parameterTypes)) { return IntPraticaLocalServiceUtil.countByCanAddFineLavori(((Long)arguments[0]).longValue(), (java.lang.String)arguments[1]); } - if (_methodName242.equals(name) && - Arrays.deepEquals(_methodParameterTypes242, parameterTypes)) { + if (_methodName241.equals(name) && + Arrays.deepEquals(_methodParameterTypes241, parameterTypes)) { return IntPraticaLocalServiceUtil.findByCanAddCollaudo(((Long)arguments[0]).longValue(), (java.lang.String)arguments[1], ((Integer)arguments[2]).intValue(), ((Integer)arguments[3]).intValue()); } - if (_methodName243.equals(name) && - Arrays.deepEquals(_methodParameterTypes243, parameterTypes)) { + if (_methodName242.equals(name) && + Arrays.deepEquals(_methodParameterTypes242, parameterTypes)) { return IntPraticaLocalServiceUtil.countByCanAddCollaudo(((Long)arguments[0]).longValue(), (java.lang.String)arguments[1]); } - if (_methodName245.equals(name) && - Arrays.deepEquals(_methodParameterTypes245, parameterTypes)) { + if (_methodName244.equals(name) && + Arrays.deepEquals(_methodParameterTypes244, parameterTypes)) { return IntPraticaLocalServiceUtil.search((java.util.List)arguments[0], ((Integer)arguments[1]).intValue(), ((Integer)arguments[2]).intValue()); } - if (_methodName246.equals(name) && - Arrays.deepEquals(_methodParameterTypes246, parameterTypes)) { + if (_methodName245.equals(name) && + Arrays.deepEquals(_methodParameterTypes245, parameterTypes)) { return IntPraticaLocalServiceUtil.countSearch((java.util.List)arguments[0]); } - if (_methodName247.equals(name) && - Arrays.deepEquals(_methodParameterTypes247, parameterTypes)) { + if (_methodName246.equals(name) && + Arrays.deepEquals(_methodParameterTypes246, parameterTypes)) { return IntPraticaLocalServiceUtil.searchWithIntPraticaId((java.util.List)arguments[0], ((Long)arguments[1]).longValue(), ((Integer)arguments[2]).intValue(), ((Integer)arguments[3]).intValue()); } - if (_methodName248.equals(name) && - Arrays.deepEquals(_methodParameterTypes248, parameterTypes)) { + if (_methodName247.equals(name) && + Arrays.deepEquals(_methodParameterTypes247, parameterTypes)) { return IntPraticaLocalServiceUtil.countSearchWithIntPraticaId((java.util.List)arguments[0], ((Long)arguments[1]).longValue()); } - if (_methodName249.equals(name) && - Arrays.deepEquals(_methodParameterTypes249, parameterTypes)) { + if (_methodName248.equals(name) && + Arrays.deepEquals(_methodParameterTypes248, parameterTypes)) { return IntPraticaLocalServiceUtil.allegaFileAnnullamento(((Long)arguments[0]).longValue(), (byte[])arguments[1], (java.lang.String)arguments[2], (java.lang.String)arguments[3], (com.liferay.portal.service.ServiceContext)arguments[4]); } - if (_methodName250.equals(name) && - Arrays.deepEquals(_methodParameterTypes250, parameterTypes)) { + if (_methodName249.equals(name) && + Arrays.deepEquals(_methodParameterTypes249, parameterTypes)) { return IntPraticaLocalServiceUtil.generateFileAnnullamento(((Long)arguments[0]).longValue(), (com.liferay.portal.service.ServiceContext)arguments[1]); } - if (_methodName251.equals(name) && - Arrays.deepEquals(_methodParameterTypes251, parameterTypes)) { + if (_methodName250.equals(name) && + Arrays.deepEquals(_methodParameterTypes250, parameterTypes)) { IntPraticaLocalServiceUtil.deleteFileAnnullamento(((Long)arguments[0]).longValue()); return null; } - if (_methodName252.equals(name) && - Arrays.deepEquals(_methodParameterTypes252, parameterTypes)) { + if (_methodName251.equals(name) && + Arrays.deepEquals(_methodParameterTypes251, parameterTypes)) { IntPraticaLocalServiceUtil.completeAnnullamento(((Long)arguments[0]).longValue()); return null; } - if (_methodName253.equals(name) && - Arrays.deepEquals(_methodParameterTypes253, parameterTypes)) { + if (_methodName252.equals(name) && + Arrays.deepEquals(_methodParameterTypes252, parameterTypes)) { IntPraticaLocalServiceUtil.cambiaIstruttore(((Long)arguments[0]).longValue(), ((Long)arguments[1]).longValue(), ((Long)arguments[2]).longValue()); @@ -866,92 +856,100 @@ public class IntPraticaLocalServiceClpInvoker { return null; } - if (_methodName254.equals(name) && - Arrays.deepEquals(_methodParameterTypes254, parameterTypes)) { + if (_methodName253.equals(name) && + Arrays.deepEquals(_methodParameterTypes253, parameterTypes)) { return IntPraticaLocalServiceUtil.countCaricoLavoroCF(((Long)arguments[0]).longValue(), (java.lang.String)arguments[1], (java.lang.Boolean)arguments[2], (java.lang.Long[])arguments[3]); } - if (_methodName255.equals(name) && - Arrays.deepEquals(_methodParameterTypes255, parameterTypes)) { + if (_methodName254.equals(name) && + Arrays.deepEquals(_methodParameterTypes254, parameterTypes)) { return IntPraticaLocalServiceUtil.countCaricoLavoroIstruttore(((Long)arguments[0]).longValue(), (java.lang.String)arguments[1], (java.lang.Boolean)arguments[2]); } - if (_methodName256.equals(name) && - Arrays.deepEquals(_methodParameterTypes256, parameterTypes)) { + if (_methodName255.equals(name) && + Arrays.deepEquals(_methodParameterTypes255, parameterTypes)) { return IntPraticaLocalServiceUtil.generateReportPratica((it.tref.liferay.portos.bo.model.IntPratica)arguments[0], ((Long)arguments[1]).longValue()); } - if (_methodName257.equals(name) && - Arrays.deepEquals(_methodParameterTypes257, parameterTypes)) { + if (_methodName256.equals(name) && + Arrays.deepEquals(_methodParameterTypes256, parameterTypes)) { return IntPraticaLocalServiceUtil.updateModifiedDate(((Long)arguments[0]).longValue(), (java.util.Date)arguments[1]); } - if (_methodName258.equals(name) && - Arrays.deepEquals(_methodParameterTypes258, parameterTypes)) { + if (_methodName257.equals(name) && + Arrays.deepEquals(_methodParameterTypes257, parameterTypes)) { return IntPraticaLocalServiceUtil.countAutorizzazione((java.util.Date)arguments[0], (java.util.Date)arguments[1], ((Long)arguments[2]).longValue()); } - if (_methodName259.equals(name) && - Arrays.deepEquals(_methodParameterTypes259, parameterTypes)) { + if (_methodName258.equals(name) && + Arrays.deepEquals(_methodParameterTypes258, parameterTypes)) { return IntPraticaLocalServiceUtil.countSanatorie((java.util.Date)arguments[0], (java.util.Date)arguments[1], ((Long)arguments[2]).longValue()); } - if (_methodName260.equals(name) && - Arrays.deepEquals(_methodParameterTypes260, parameterTypes)) { + if (_methodName259.equals(name) && + Arrays.deepEquals(_methodParameterTypes259, parameterTypes)) { return IntPraticaLocalServiceUtil.countOpereMinoreImportanza((java.util.Date)arguments[0], (java.util.Date)arguments[1], ((Long)arguments[2]).longValue()); } - if (_methodName261.equals(name) && - Arrays.deepEquals(_methodParameterTypes261, parameterTypes)) { + if (_methodName260.equals(name) && + Arrays.deepEquals(_methodParameterTypes260, parameterTypes)) { return IntPraticaLocalServiceUtil.countDeposito((java.util.Date)arguments[0], (java.util.Date)arguments[1], ((Long)arguments[2]).longValue(), ((Boolean)arguments[3]).booleanValue()); } - if (_methodName262.equals(name) && - Arrays.deepEquals(_methodParameterTypes262, parameterTypes)) { + if (_methodName261.equals(name) && + Arrays.deepEquals(_methodParameterTypes261, parameterTypes)) { return IntPraticaLocalServiceUtil.countVidimate((java.util.Date)arguments[0], (java.util.Date)arguments[1], ((Long)arguments[2]).longValue(), (java.lang.String)arguments[3], ((Boolean)arguments[4]).booleanValue()); } - if (_methodName263.equals(name) && - Arrays.deepEquals(_methodParameterTypes263, parameterTypes)) { + if (_methodName262.equals(name) && + Arrays.deepEquals(_methodParameterTypes262, parameterTypes)) { return IntPraticaLocalServiceUtil.countControllo((java.util.Date)arguments[0], (java.util.Date)arguments[1], ((Long)arguments[2]).longValue(), (java.lang.String)arguments[3], ((Boolean)arguments[4]).booleanValue()); } - if (_methodName264.equals(name) && - Arrays.deepEquals(_methodParameterTypes264, parameterTypes)) { + if (_methodName263.equals(name) && + Arrays.deepEquals(_methodParameterTypes263, parameterTypes)) { return IntPraticaLocalServiceUtil.importaVecchiFilesFascicolo(((Long)arguments[0]).longValue(), ((Integer)arguments[1]).intValue(), ((Integer)arguments[2]).intValue()); } + if (_methodName264.equals(name) && + Arrays.deepEquals(_methodParameterTypes264, parameterTypes)) { + return IntPraticaLocalServiceUtil.findIntPraticaNotExist(); + } + if (_methodName265.equals(name) && Arrays.deepEquals(_methodParameterTypes265, parameterTypes)) { - return IntPraticaLocalServiceUtil.findIntPraticaNotExist(); + return IntPraticaLocalServiceUtil.riparaWorkflow(); } if (_methodName266.equals(name) && Arrays.deepEquals(_methodParameterTypes266, parameterTypes)) { - return IntPraticaLocalServiceUtil.riparaWorkflow(); + IntPraticaLocalServiceUtil.reIndexFascicolo((it.tref.liferay.portos.bo.model.IntPratica)arguments[0], + ((Long)arguments[1]).longValue()); + + return null; } if (_methodName267.equals(name) && Arrays.deepEquals(_methodParameterTypes267, parameterTypes)) { - IntPraticaLocalServiceUtil.reIndexFascicolo((it.tref.liferay.portos.bo.model.IntPratica)arguments[0], + IntPraticaLocalServiceUtil.reIndexFasciolo((java.lang.String)arguments[0], ((Long)arguments[1]).longValue()); return null; @@ -959,7 +957,7 @@ public class IntPraticaLocalServiceClpInvoker { if (_methodName268.equals(name) && Arrays.deepEquals(_methodParameterTypes268, parameterTypes)) { - IntPraticaLocalServiceUtil.reIndexFasciolo((java.lang.String)arguments[0], + IntPraticaLocalServiceUtil.reIndexFasciolo(((Long)arguments[0]).longValue(), ((Long)arguments[1]).longValue()); return null; @@ -967,67 +965,59 @@ public class IntPraticaLocalServiceClpInvoker { if (_methodName269.equals(name) && Arrays.deepEquals(_methodParameterTypes269, parameterTypes)) { - IntPraticaLocalServiceUtil.reIndexFasciolo(((Long)arguments[0]).longValue(), - ((Long)arguments[1]).longValue()); - - return null; + return IntPraticaLocalServiceUtil.trovaDoppioni(); } if (_methodName270.equals(name) && Arrays.deepEquals(_methodParameterTypes270, parameterTypes)) { - return IntPraticaLocalServiceUtil.trovaDoppioni(); + return IntPraticaLocalServiceUtil.findByNumeroProgetto((java.lang.String)arguments[0]); } if (_methodName271.equals(name) && Arrays.deepEquals(_methodParameterTypes271, parameterTypes)) { - return IntPraticaLocalServiceUtil.findByNumeroProgetto((java.lang.String)arguments[0]); + return IntPraticaLocalServiceUtil.findByTerritorioId(((Long)arguments[0]).longValue()); } if (_methodName272.equals(name) && Arrays.deepEquals(_methodParameterTypes272, parameterTypes)) { - return IntPraticaLocalServiceUtil.findByTerritorioId(((Long)arguments[0]).longValue()); - } - - if (_methodName273.equals(name) && - Arrays.deepEquals(_methodParameterTypes273, parameterTypes)) { return IntPraticaLocalServiceUtil.reportTempisticheIstruttorieAvvisiAutorizzazioni((java.util.Date)arguments[0], (java.util.Date)arguments[1], ((Long)arguments[2]).longValue(), (java.lang.String)arguments[3]); } - if (_methodName274.equals(name) && - Arrays.deepEquals(_methodParameterTypes274, parameterTypes)) { + if (_methodName273.equals(name) && + Arrays.deepEquals(_methodParameterTypes273, parameterTypes)) { return IntPraticaLocalServiceUtil.reportTempisticheIstruttorieCalcolaDataSorteggio((java.util.Date)arguments[0], (java.util.Date)arguments[1], ((Long)arguments[2]).longValue()); } - if (_methodName275.equals(name) && - Arrays.deepEquals(_methodParameterTypes275, parameterTypes)) { + if (_methodName274.equals(name) && + Arrays.deepEquals(_methodParameterTypes274, parameterTypes)) { return IntPraticaLocalServiceUtil.reportPraticheVidimate((java.util.Date)arguments[0], (java.util.Date)arguments[1], ((Long)arguments[2]).longValue(), (java.lang.String)arguments[3]); } - if (_methodName276.equals(name) && - Arrays.deepEquals(_methodParameterTypes276, parameterTypes)) { + if (_methodName275.equals(name) && + Arrays.deepEquals(_methodParameterTypes275, parameterTypes)) { return IntPraticaLocalServiceUtil.reportPraticheVidimateCalcolaDataSorteggio((java.util.Date)arguments[0], (java.util.Date)arguments[1], ((Long)arguments[2]).longValue()); } - if (_methodName277.equals(name) && - Arrays.deepEquals(_methodParameterTypes277, parameterTypes)) { + if (_methodName276.equals(name) && + Arrays.deepEquals(_methodParameterTypes276, parameterTypes)) { return IntPraticaLocalServiceUtil.countIngressiAutorizzazioni((java.util.Date)arguments[0], (java.util.Date)arguments[1], ((Long)arguments[2]).longValue()); } - if (_methodName278.equals(name) && - Arrays.deepEquals(_methodParameterTypes278, parameterTypes)) { + if (_methodName277.equals(name) && + Arrays.deepEquals(_methodParameterTypes277, parameterTypes)) { return IntPraticaLocalServiceUtil.countIngressiDepositi((java.util.Date)arguments[0], (java.util.Date)arguments[1], ((Long)arguments[2]).longValue()); } - if (_methodName279.equals(name) && - Arrays.deepEquals(_methodParameterTypes279, parameterTypes)) { + if (_methodName278.equals(name) && + Arrays.deepEquals(_methodParameterTypes278, parameterTypes)) { return IntPraticaLocalServiceUtil.countIngressiCO((java.util.Date)arguments[0], (java.util.Date)arguments[1], ((Long)arguments[2]).longValue()); } @@ -1125,24 +1115,24 @@ public class IntPraticaLocalServiceClpInvoker { private String[] _methodParameterTypes229; private String _methodName230; private String[] _methodParameterTypes230; - private String _methodName231; - private String[] _methodParameterTypes231; + private String _methodName232; + private String[] _methodParameterTypes232; private String _methodName233; private String[] _methodParameterTypes233; - private String _methodName234; - private String[] _methodParameterTypes234; + private String _methodName235; + private String[] _methodParameterTypes235; private String _methodName236; private String[] _methodParameterTypes236; - private String _methodName237; - private String[] _methodParameterTypes237; + private String _methodName238; + private String[] _methodParameterTypes238; private String _methodName239; private String[] _methodParameterTypes239; - private String _methodName240; - private String[] _methodParameterTypes240; + private String _methodName241; + private String[] _methodParameterTypes241; private String _methodName242; private String[] _methodParameterTypes242; - private String _methodName243; - private String[] _methodParameterTypes243; + private String _methodName244; + private String[] _methodParameterTypes244; private String _methodName245; private String[] _methodParameterTypes245; private String _methodName246; @@ -1211,6 +1201,4 @@ public class IntPraticaLocalServiceClpInvoker { private String[] _methodParameterTypes277; private String _methodName278; private String[] _methodParameterTypes278; - private String _methodName279; - private String[] _methodParameterTypes279; } \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/http/DettPraticaServiceSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/http/DettPraticaServiceSoap.java index c9d49a40..0b64b780 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/http/DettPraticaServiceSoap.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/http/DettPraticaServiceSoap.java @@ -204,12 +204,12 @@ public class DettPraticaServiceSoap { java.lang.String importoSpeseIstruttoria, java.util.Date dataEffettuazione, int statusTask, boolean workflowForzato, long soggettoSostituitoId, - long oldDettPraticaId, java.lang.String destinazione, - java.lang.String ag, java.lang.String descLongIntervento, - java.lang.String via, java.lang.String localita, - java.lang.String estremiCatastali, java.lang.String estremiPratCom, - long variataDa, long varianteNumero, boolean varianteSostanziale, - boolean operaConforme, boolean collaudoStatico, + java.lang.String destinazione, java.lang.String ag, + java.lang.String descLongIntervento, java.lang.String via, + java.lang.String localita, java.lang.String estremiCatastali, + java.lang.String estremiPratCom, long variataDa, long varianteNumero, + boolean varianteSostanziale, boolean operaConforme, + boolean collaudoStatico, java.lang.String codiceFiscaleDelegatoCommittente, java.lang.String codiceFiscaleDelegatoFineLavori, java.lang.String codiceFiscaleDelegatoCollaudo, @@ -334,11 +334,11 @@ public class DettPraticaServiceSoap { tipoIntegrazione, completa, gestita, codicePagamento, causalePagamento, mezzoPagamento, importoBolli, importoSpeseIstruttoria, dataEffettuazione, statusTask, - workflowForzato, soggettoSostituitoId, oldDettPraticaId, - destinazione, ag, descLongIntervento, via, localita, - estremiCatastali, estremiPratCom, variataDa, - varianteNumero, varianteSostanziale, operaConforme, - collaudoStatico, codiceFiscaleDelegatoCommittente, + workflowForzato, soggettoSostituitoId, destinazione, ag, + descLongIntervento, via, localita, estremiCatastali, + estremiPratCom, variataDa, varianteNumero, + varianteSostanziale, operaConforme, collaudoStatico, + codiceFiscaleDelegatoCommittente, codiceFiscaleDelegatoFineLavori, codiceFiscaleDelegatoCollaudo, codiceRuoloDelegato, lavoriInEconomiaCommittente, inizioLavoriContestualeOpera, diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/CollaudoLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/CollaudoLocalServiceImpl.java index 8af70e48..edb20efe 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/CollaudoLocalServiceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/CollaudoLocalServiceImpl.java @@ -56,13 +56,14 @@ import com.liferay.portal.service.ServiceContext; * The implementation of the collaudo local service. * *

- * All custom service methods should be put in this class. Whenever methods are added, rerun - * ServiceBuilder to copy their definitions into the + * All custom service methods should be put in this class. Whenever methods are + * added, rerun ServiceBuilder to copy their definitions into the * {@link it.tref.liferay.portos.bo.service.CollaudoLocalService} interface. * *

- * This is a local service. Methods of this service will not have security checks based on the - * propagated JAAS credentials because this service can only be accessed from within the same VM. + * This is a local service. Methods of this service will not have security + * checks based on the propagated JAAS credentials because this service can only + * be accessed from within the same VM. *

* * @author Davide Barbagallo, 3F Consulting @@ -70,398 +71,394 @@ import com.liferay.portal.service.ServiceContext; * @see it.tref.liferay.portos.bo.service.CollaudoLocalServiceUtil */ public class CollaudoLocalServiceImpl extends CollaudoLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: Never reference this interface directly. Always use {@link - * it.tref.liferay.portos.bo.service.CollaudoLocalServiceUtil} to access the collaudo local - * service. - */ - private Collaudo initCollaudo(ServiceContext serviceContext) throws PortalException, SystemException { + /* + * NOTE FOR DEVELOPERS: Never reference this interface directly. Always use + * {@link it.tref.liferay.portos.bo.service.CollaudoLocalServiceUtil} to + * access the collaudo local service. + */ + private Collaudo initCollaudo(ServiceContext serviceContext) throws PortalException, SystemException { - User user = userLocalService.getUser(serviceContext.getUserId()); - - Date now = new Date(); - - Collaudo collaudo = collaudoPersistence.create(counterLocalService.increment(DettPratica.class.getName())); - - collaudo.setCompanyId(serviceContext.getCompanyId()); - collaudo.setGroupId(serviceContext.getScopeGroupId()); - collaudo.setUserId(serviceContext.getUserId()); - collaudo.setUserName(user.getFullName()); - collaudo.setCreateDate(serviceContext.getCreateDate(now)); - collaudo.setModifiedDate(serviceContext.getModifiedDate(now)); - - // setto parametri di default - collaudo.setParziale(false); - collaudo.setDataEffettuazione(null); - collaudo.setDataCollaudo(null); - collaudo.setCodiceFiscaleDelegato(StringPool.BLANK); + User user = userLocalService.getUser(serviceContext.getUserId()); + Date now = new Date(); - return collaudo; - } + Collaudo collaudo = collaudoPersistence.create(counterLocalService.increment(DettPratica.class + .getName())); + + collaudo.setCompanyId(serviceContext.getCompanyId()); + collaudo.setGroupId(serviceContext.getScopeGroupId()); + collaudo.setUserId(serviceContext.getUserId()); + collaudo.setUserName(user.getFullName()); + collaudo.setCreateDate(serviceContext.getCreateDate(now)); + collaudo.setModifiedDate(serviceContext.getModifiedDate(now)); - @Indexable(type = IndexableType.REINDEX) - public Collaudo addCollaudo(long intPraticaId, ServiceContext serviceContext) throws PortalException, SystemException { + // setto parametri di default + collaudo.setParziale(false); + collaudo.setDataEffettuazione(null); + collaudo.setDataCollaudo(null); + collaudo.setCodiceFiscaleDelegato(StringPool.BLANK); - IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId); - - Collaudo collaudo = initCollaudo(serviceContext); - - collaudo.setGroupId(intPratica.getGroupId()); - collaudo.setIntPraticaId(intPraticaId); + return collaudo; + } - collaudoPersistence.update(collaudo); - return collaudo; - } + @Indexable(type = IndexableType.REINDEX) + public Collaudo addCollaudo(long intPraticaId, ServiceContext serviceContext) throws PortalException, + SystemException { - @Override - @Indexable(type = IndexableType.DELETE) - public Collaudo deleteCollaudo(Collaudo collaudo) throws SystemException, PortalException { - - List docPraticas = - docPraticaLocalService.findByClassPk(collaudo.getCollaudoId(), QueryUtil.ALL_POS, QueryUtil.ALL_POS); - for (DocPratica docPratica : docPraticas) { - docPraticaLocalService.deleteDocPratica(docPratica); - } + IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId); - List pagamenti = pagamentoLocalService.findByClassPk(collaudo.getCollaudoId()); - for (Pagamento pagamento : pagamenti) { - pagamentoLocalService.deletePagamento(pagamento); - } + Collaudo collaudo = initCollaudo(serviceContext); - return super.deleteCollaudo(collaudo); - } + collaudo.setGroupId(intPratica.getGroupId()); + collaudo.setIntPraticaId(intPraticaId); - @Override - @Indexable(type = IndexableType.DELETE) - public Collaudo deleteCollaudo(long collaudoId) throws PortalException, SystemException { + collaudoPersistence.update(collaudo); + return collaudo; + } - Collaudo collaudo = collaudoPersistence.findByPrimaryKey(collaudoId); + @Override + @Indexable(type = IndexableType.DELETE) + public Collaudo deleteCollaudo(Collaudo collaudo) throws SystemException, PortalException { - return deleteCollaudo(collaudo); - } + List docPraticas = docPraticaLocalService.findByClassPk(collaudo.getCollaudoId(), + QueryUtil.ALL_POS, QueryUtil.ALL_POS); + for (DocPratica docPratica : docPraticas) { + docPraticaLocalService.deleteDocPratica(docPratica); + } - @Indexable(type = IndexableType.REINDEX) - public Collaudo updateCollaudo(long userId, long collaudoId, long intPraticaId, boolean parziale, boolean completata, - Date dataCollaudo, String codiceFiscaleDelegato, boolean normEsenteBollo, String noteCollaudo) - throws NoSuchCollaudoException, SystemException { + List pagamenti = pagamentoLocalService.findByClassPk(collaudo.getCollaudoId()); + for (Pagamento pagamento : pagamenti) { + pagamentoLocalService.deletePagamento(pagamento); + } - Collaudo collaudo = collaudoPersistence.findByPrimaryKey(collaudoId); + return super.deleteCollaudo(collaudo); + } - collaudo.setParziale(parziale); - collaudo.setCompletata(completata); - collaudo.setDataCollaudo(dataCollaudo); - collaudo.setCodiceFiscaleDelegato(codiceFiscaleDelegato); - collaudo.setNormEsenteBollo(normEsenteBollo); - collaudo.setNoteCollaudo(noteCollaudo); + @Override + @Indexable(type = IndexableType.DELETE) + public Collaudo deleteCollaudo(long collaudoId) throws PortalException, SystemException { - collaudo = collaudoPersistence.update(collaudo); + Collaudo collaudo = collaudoPersistence.findByPrimaryKey(collaudoId); - return collaudo; - } + return deleteCollaudo(collaudo); + } - public Collaudo getLastEditable(long intPraticaId) throws SystemException { + @Indexable(type = IndexableType.REINDEX) + public Collaudo updateCollaudo(long userId, long collaudoId, long intPraticaId, boolean parziale, + boolean completata, Date dataCollaudo, String codiceFiscaleDelegato, boolean normEsenteBollo, + String noteCollaudo) throws NoSuchCollaudoException, SystemException { - DynamicQuery dynamicQuery = dynamicQuery(); - dynamicQuery.add(RestrictionsFactoryUtil.eq("intPraticaId", intPraticaId)); - dynamicQuery.add(RestrictionsFactoryUtil.eq("completata", false)); - dynamicQuery.addOrder(OrderFactoryUtil.desc("collaudoId")); - List collaudoList = dynamicQuery(dynamicQuery, 0, 1); - if (!collaudoList.isEmpty()) return collaudoList.get(0); - return null; - } + Collaudo collaudo = collaudoPersistence.findByPrimaryKey(collaudoId); - public Collaudo getLastCompleted(long intPraticaId) throws SystemException { + collaudo.setParziale(parziale); + collaudo.setCompletata(completata); + collaudo.setDataCollaudo(dataCollaudo); + collaudo.setCodiceFiscaleDelegato(codiceFiscaleDelegato); + collaudo.setNormEsenteBollo(normEsenteBollo); + collaudo.setNoteCollaudo(noteCollaudo); - DynamicQuery dynamicQuery = dynamicQuery(); - dynamicQuery.add(RestrictionsFactoryUtil.eq("intPraticaId", intPraticaId)); - dynamicQuery.add(RestrictionsFactoryUtil.eq("completata", true)); - dynamicQuery.addOrder(OrderFactoryUtil.desc("collaudoId")); - List collaudoList = dynamicQuery(dynamicQuery, 0, 1); - if (!collaudoList.isEmpty()) return collaudoList.get(0); - return null; - } + collaudo = collaudoPersistence.update(collaudo); - public void updateEsitoPagamento(long pagamentoId, long collaudoId, String stato) throws SystemException, - PortalException { + return collaudo; + } - updateEsitoPagamento(pagamentoId, collaudoId, 0l, stato); - } + public Collaudo getLastEditable(long intPraticaId) throws SystemException { - public void updateEsitoPagamento(long pagamentoId, long collaudoId, long fileEntryId, String stato) - throws SystemException, PortalException { - - Date now = new Date(); - Collaudo collaudo = collaudoPersistence.fetchByPrimaryKey(collaudoId); + DynamicQuery dynamicQuery = dynamicQuery(); + dynamicQuery.add(RestrictionsFactoryUtil.eq("intPraticaId", intPraticaId)); + dynamicQuery.add(RestrictionsFactoryUtil.eq("completata", false)); + dynamicQuery.addOrder(OrderFactoryUtil.desc("collaudoId")); + List collaudoList = dynamicQuery(dynamicQuery, 0, 1); + if (!collaudoList.isEmpty()) + return collaudoList.get(0); + return null; + } - collaudo.setModifiedDate(now); - if (stato.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_PAGATA)) { + public Collaudo getLastCompleted(long intPraticaId) throws SystemException { - collaudo.setCompletata(true); - collaudo.setDataEffettuazione(now); - collaudo.setNumero(collaudoPersistence.countByIntPraticaId_Completata(collaudo.getIntPraticaId(), true) + 1); - collaudo = updateCollaudo(collaudo); - - updateIntPraticaStatus(collaudo, collaudo.getIntPraticaId()); - - docPraticaLocalService.completeInvalidation(collaudo.getIntPraticaId()); - - IntPratica intPratica = intPraticaLocalService.getIntPratica(collaudo.getIntPraticaId()); - if (WorkflowUtil.isWorkflowDisattivabile(collaudo.getIntPraticaId()) - && Validator.isNotNull(intPratica.getStatusByUserId())) { - inviaMailnotifica(collaudoId, intPratica.getStatusByUserId(), now); - } - pagamentoLocalService.updatePagamentoUtilizzata(pagamentoId, stato); + DynamicQuery dynamicQuery = dynamicQuery(); + dynamicQuery.add(RestrictionsFactoryUtil.eq("intPraticaId", intPraticaId)); + dynamicQuery.add(RestrictionsFactoryUtil.eq("completata", true)); + dynamicQuery.addOrder(OrderFactoryUtil.desc("collaudoId")); + List collaudoList = dynamicQuery(dynamicQuery, 0, 1); + if (!collaudoList.isEmpty()) + return collaudoList.get(0); + return null; + } + + public void updateEsitoPagamento(long pagamentoId, long collaudoId, String stato) throws SystemException, + PortalException { - } else if (stato.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_NON_PAGABILE) - || stato.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_RIFIUTATA) - || stato.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_ANNULLATO)) { - pagamentoLocalService.updatePagamentoUtilizzata(pagamentoId, stato); - } + updateEsitoPagamento(pagamentoId, collaudoId, 0l, stato); + } - } + public void updateEsitoPagamento(long pagamentoId, long collaudoId, long fileEntryId, String stato) + throws SystemException, PortalException { - public Collaudo updateEsito(long collaudoId, int stato) throws SystemException, PortalException { + Date now = new Date(); + Collaudo collaudo = collaudoPersistence.fetchByPrimaryKey(collaudoId); - Date now = new Date(); - Collaudo collaudo = collaudoPersistence.fetchByPrimaryKey(collaudoId); - collaudo.setModifiedDate(now); + collaudo.setModifiedDate(now); + if (stato.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_PAGATA)) { + + collaudo.setCompletata(true); + collaudo.setDataEffettuazione(now); + collaudo.setNumero(collaudoPersistence.countByIntPraticaId_Completata(collaudo.getIntPraticaId(), + true) + 1); + collaudo = updateCollaudo(collaudo); + + updateIntPraticaStatus(collaudo, collaudo.getIntPraticaId()); + + docPraticaLocalService.completeInvalidation(collaudo.getIntPraticaId()); + + IntPratica intPratica = intPraticaLocalService.getIntPratica(collaudo.getIntPraticaId()); + if (WorkflowUtil.isWorkflowDisattivabile(collaudo.getIntPraticaId()) + && Validator.isNotNull(intPratica.getStatusByUserId())) { + inviaMailnotifica(collaudoId, intPratica.getStatusByUserId(), now); + } + pagamentoLocalService.updatePagamentoUtilizzata(pagamentoId, stato); + + } else if (stato.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_NON_PAGABILE) + || stato.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_RIFIUTATA) + || stato.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_ANNULLATO)) { + pagamentoLocalService.updatePagamentoUtilizzata(pagamentoId, stato); + } + + } - collaudo.setCompletata(true); - collaudo.setDataEffettuazione(now); - collaudo.setNumero(collaudoPersistence.countByIntPraticaId_Completata(collaudo.getIntPraticaId(), true) + 1); - collaudo = updateCollaudo(collaudo); + public Collaudo updateEsito(long collaudoId, int stato) throws SystemException, PortalException { - updateIntPraticaStatus(collaudo, collaudo.getIntPraticaId()); + Date now = new Date(); + Collaudo collaudo = collaudoPersistence.fetchByPrimaryKey(collaudoId); + collaudo.setModifiedDate(now); - docPraticaLocalService.completeInvalidation(collaudo.getIntPraticaId()); + collaudo.setCompletata(true); + collaudo.setDataEffettuazione(now); + collaudo.setNumero(collaudoPersistence.countByIntPraticaId_Completata(collaudo.getIntPraticaId(), + true) + 1); + collaudo = updateCollaudo(collaudo); - IntPratica intPratica = intPraticaLocalService.getIntPratica(collaudo.getIntPraticaId()); - if (WorkflowUtil.isWorkflowDisattivabile(collaudo.getIntPraticaId()) - && Validator.isNotNull(intPratica.getStatusByUserId())) { - inviaMailnotifica(collaudoId, intPratica.getStatusByUserId(), now); - } + updateIntPraticaStatus(collaudo, collaudo.getIntPraticaId()); - return collaudo; - } + docPraticaLocalService.completeInvalidation(collaudo.getIntPraticaId()); - private void inviaMailnotifica(long collaudoId, long tecnicoIstruttoreId, Date date) throws SystemException, - PortalException { + IntPratica intPratica = intPraticaLocalService.getIntPratica(collaudo.getIntPraticaId()); + if (WorkflowUtil.isWorkflowDisattivabile(collaudo.getIntPraticaId()) + && Validator.isNotNull(intPratica.getStatusByUserId())) { + inviaMailnotifica(collaudoId, intPratica.getStatusByUserId(), now); + } - Collaudo collaudo = collaudoPersistence.fetchByPrimaryKey(collaudoId); + return collaudo; + } - User tecnicoIstruttore = userLocalService.getUser(tecnicoIstruttoreId); + private void inviaMailnotifica(long collaudoId, long tecnicoIstruttoreId, Date date) + throws SystemException, PortalException { - String[] to = {tecnicoIstruttore.getEmailAddress()}; - String[] cc = new String[0]; - String[] ccn = new String[0]; + Collaudo collaudo = collaudoPersistence.fetchByPrimaryKey(collaudoId); - String tipoPratica = StringPool.BLANK; - long intPraticaId = collaudo.getIntPraticaId(); - if (AzioniPraticheUtil.isDeposito(intPraticaId)) { - tipoPratica = LanguageUtil.get(LocaleUtil.ITALIAN, "tipo-pratica-01"); - } else if (AzioniPraticheUtil.isAutorizzazione(intPraticaId)) { - tipoPratica = LanguageUtil.get(LocaleUtil.ITALIAN, "tipo-pratica-02"); - } + User tecnicoIstruttore = userLocalService.getUser(tecnicoIstruttoreId); - JSONObject templateVariables = JSONFactoryUtil.createJSONObject(); - templateVariables.put("receiver", tecnicoIstruttore.getFullName()); - templateVariables.put("tipoPratica", tipoPratica); - templateVariables.put("tipoOggetto", LanguageUtil.get(LocaleUtil.ITALIAN, "label-integrazione-" - + (collaudo.getParziale() ? "10" : "08"))); - templateVariables.put("dataInvio", FastDateFormatFactoryUtil.getSimpleDateFormat("dd/MM/yyyy HH:mm").format(date)); + String[] to = { tecnicoIstruttore.getEmailAddress() }; + String[] cc = new String[0]; + String[] ccn = new String[0]; - ServiceContext serviceContext = new ServiceContext(); - serviceContext.setScopeGroupId(collaudo.getGroupId()); - serviceContext.setCompanyId(collaudo.getCompanyId()); - serviceContext.setUserId(collaudo.getUserId()); + String tipoPratica = StringPool.BLANK; + long intPraticaId = collaudo.getIntPraticaId(); + if (AzioniPraticheUtil.isDeposito(intPraticaId)) { + tipoPratica = LanguageUtil.get(LocaleUtil.ITALIAN, "tipo-pratica-01"); + } else if (AzioniPraticheUtil.isAutorizzazione(intPraticaId)) { + tipoPratica = LanguageUtil.get(LocaleUtil.ITALIAN, "tipo-pratica-02"); + } - MailUtil.invioMailNotifica(collaudo.getIntPraticaId(), 0l, collaudoId, Collaudo.class.getName(), to, cc, ccn, - "NOTIFICA-BO", templateVariables, null, serviceContext); - } + JSONObject templateVariables = JSONFactoryUtil.createJSONObject(); + templateVariables.put("receiver", tecnicoIstruttore.getFullName()); + templateVariables.put("tipoPratica", tipoPratica); + templateVariables.put( + "tipoOggetto", + LanguageUtil.get(LocaleUtil.ITALIAN, "label-integrazione-" + + (collaudo.getParziale() ? "10" : "08"))); + templateVariables.put("dataInvio", FastDateFormatFactoryUtil.getSimpleDateFormat("dd/MM/yyyy HH:mm") + .format(date)); - private IntPratica updateIntPraticaStatus(Collaudo collaudo, long intPraticaId) throws PortalException, - SystemException { + ServiceContext serviceContext = new ServiceContext(); + serviceContext.setScopeGroupId(collaudo.getGroupId()); + serviceContext.setCompanyId(collaudo.getCompanyId()); + serviceContext.setUserId(collaudo.getUserId()); - IntPratica intPratica = intPraticaLocalService.getIntPratica(collaudo.getIntPraticaId()); - if (collaudo.isParziale()) { - intPratica.setCollaudoParziale(true); - } else { - intPratica.setCollaudoTotale(true); - } - intPratica = intPraticaLocalService.updateIntPratica(intPratica); - return intPratica; - } + MailUtil.invioMailNotifica(collaudo.getIntPraticaId(), 0l, collaudoId, Collaudo.class.getName(), to, + cc, ccn, "NOTIFICA-BO", templateVariables, null, serviceContext); + } - public Collaudo updateCollaudoProtocollo(long collaudoId, String protocollo) throws PortalException, SystemException { + private IntPratica updateIntPraticaStatus(Collaudo collaudo, long intPraticaId) throws PortalException, + SystemException { - Collaudo collaudo = collaudoLocalService.fetchCollaudo(collaudoId); - collaudo.setModifiedDate(new Date()); - collaudo.setProtocollo(protocollo); - collaudo.setDtProtocollo(new Date()); - collaudo = collaudoLocalService.updateCollaudo(collaudo); + IntPratica intPratica = intPraticaLocalService.getIntPratica(collaudo.getIntPraticaId()); + if (collaudo.isParziale()) { + intPratica.setCollaudoParziale(true); + } else { + intPratica.setCollaudoTotale(true); + } + intPratica = intPraticaLocalService.updateIntPratica(intPratica); + return intPratica; + } - return collaudo; - } + public Collaudo updateCollaudoProtocollo(long collaudoId, String protocollo) throws PortalException, + SystemException { - public Collaudo findByProtocollo(long companyId, long groupId, String protocollo) throws PortalException, - SystemException { + Collaudo collaudo = collaudoLocalService.fetchCollaudo(collaudoId); + collaudo.setModifiedDate(new Date()); + collaudo.setProtocollo(protocollo); + collaudo.setDtProtocollo(new Date()); + collaudo = collaudoLocalService.updateCollaudo(collaudo); - return collaudoPersistence.findByC_G_Protocollo(companyId, groupId, protocollo); - } + return collaudo; + } - public Collaudo fetchByProtocollo(String protocollo) throws PortalException, SystemException { + public Collaudo findByProtocollo(long companyId, long groupId, String protocollo) throws PortalException, + SystemException { - return collaudoPersistence.fetchByProtocollo(protocollo); - } + return collaudoPersistence.findByC_G_Protocollo(companyId, groupId, protocollo); + } - public Collaudo pagaInvia(long collaudoId, String codiceFiscaleCommittente, String currentURL, - ServiceContext serviceContext) throws SystemException, PortalException { + public Collaudo fetchByProtocollo(String protocollo) throws PortalException, SystemException { - Collaudo collaudo = collaudoPersistence.findByPrimaryKey(collaudoId); + return collaudoPersistence.fetchByProtocollo(protocollo); + } - BigDecimal importoBolli = - PagamentiCommonUtil.getImportoBolli(collaudo.getCompanyId(), collaudo.getCollaudoId(), - Collaudo.class.getName(), TipoIntegrazioneUtil.COLLAUDO); + public Collaudo pagaInvia(long collaudoId, String codiceFiscaleCommittente, String currentURL, + ServiceContext serviceContext) throws SystemException, PortalException { - collaudo.setImportoBolli(importoBolli.toString()); - collaudo = updateCollaudo(collaudo); + Collaudo collaudo = collaudoPersistence.findByPrimaryKey(collaudoId); - PagamentiUtil.nuovoPagamento(currentURL, collaudo.getCollaudoId(), Collaudo.class.getName(), - PagamentoConstants.PAGAMENTO_BOLLI, importoBolli.toString(), codiceFiscaleCommittente, serviceContext); + BigDecimal importoBolli = PagamentiCommonUtil.getImportoBolli(collaudo.getCompanyId(), + collaudo.getCollaudoId(), Collaudo.class.getName(), TipoIntegrazioneUtil.COLLAUDO); - return collaudo; - } + collaudo.setImportoBolli(importoBolli.toString()); + collaudo = updateCollaudo(collaudo); - public List findByIntPraticaId(long intPraticaId, int start, int end, OrderByComparator orderByComparator) - throws SystemException { + PagamentiUtil.nuovoPagamento(currentURL, collaudo.getCollaudoId(), Collaudo.class.getName(), + PagamentoConstants.PAGAMENTO_BOLLI, importoBolli.toString(), codiceFiscaleCommittente, + serviceContext); - return collaudoPersistence.findByIntPraticaId(intPraticaId, start, end, orderByComparator); - } + return collaudo; + } - public int countByIntPraticaId(long intPraticaId) throws SystemException { + public List findByIntPraticaId(long intPraticaId, int start, int end, + OrderByComparator orderByComparator) throws SystemException { - return collaudoPersistence.countByIntPraticaId(intPraticaId); - } + return collaudoPersistence.findByIntPraticaId(intPraticaId, start, end, orderByComparator); + } - public List findByIntPraticaId_Parziale(long intPraticaId, boolean parziale, int start, int end, - OrderByComparator orderByComparator) throws SystemException { + public int countByIntPraticaId(long intPraticaId) throws SystemException { - return collaudoPersistence.findByIntPraticaId_Parziale(intPraticaId, parziale, start, end, orderByComparator); - } + return collaudoPersistence.countByIntPraticaId(intPraticaId); + } - public int countByIntPraticaId_Parziale(long intPraticaId, boolean parziale) throws SystemException { + public List findByIntPraticaId_Parziale(long intPraticaId, boolean parziale, int start, + int end, OrderByComparator orderByComparator) throws SystemException { - return collaudoPersistence.countByIntPraticaId_Parziale(intPraticaId, parziale); - } + return collaudoPersistence.findByIntPraticaId_Parziale(intPraticaId, parziale, start, end, + orderByComparator); + } - public List findByIntPraticaId_Completata(long intPraticaId, boolean completata, int start, int end, - OrderByComparator orderByComparator) throws SystemException { + public int countByIntPraticaId_Parziale(long intPraticaId, boolean parziale) throws SystemException { - return collaudoPersistence.findByIntPraticaId_Completata(intPraticaId, completata, start, end, orderByComparator); - } + return collaudoPersistence.countByIntPraticaId_Parziale(intPraticaId, parziale); + } - public int countByIntPraticaId_Completata(long intPraticaId, boolean completata) throws SystemException { + public List findByIntPraticaId_Completata(long intPraticaId, boolean completata, int start, + int end, OrderByComparator orderByComparator) throws SystemException { - return collaudoPersistence.countByIntPraticaId_Completata(intPraticaId, completata); - } + return collaudoPersistence.findByIntPraticaId_Completata(intPraticaId, completata, start, end, + orderByComparator); + } - public List findByCodiceFiscale_Completata(String codiceFiscaleDelegato, boolean completata, int start, - int end, OrderByComparator orderByComparator) throws SystemException { + public int countByIntPraticaId_Completata(long intPraticaId, boolean completata) throws SystemException { - return collaudoPersistence.findByCodiceFiscale_Completata(codiceFiscaleDelegato, completata, start, end, - orderByComparator); - } + return collaudoPersistence.countByIntPraticaId_Completata(intPraticaId, completata); + } - public int countByCodiceFiscale_Completata(String codiceFiscaleDelegato, boolean completata) throws SystemException { + public List findByCodiceFiscale_Completata(String codiceFiscaleDelegato, boolean completata, + int start, int end, OrderByComparator orderByComparator) throws SystemException { - return collaudoPersistence.countByCodiceFiscale_Completata(codiceFiscaleDelegato, completata); - } + return collaudoPersistence.findByCodiceFiscale_Completata(codiceFiscaleDelegato, completata, start, + end, orderByComparator); + } - public List findByIntPraticaId_Parziale_leCollaudoId(long collaudoId, long intPraticaId, boolean parziale, - int start, int end, OrderByComparator orderByComparator) throws SystemException { + public int countByCodiceFiscale_Completata(String codiceFiscaleDelegato, boolean completata) + throws SystemException { - DynamicQuery dynamicQuery = dynamicQuery(); - dynamicQuery.add(RestrictionsFactoryUtil.eq("intPraticaId", intPraticaId)); - dynamicQuery.add(RestrictionsFactoryUtil.lt("collaudoId", collaudoId)); - dynamicQuery.add(RestrictionsFactoryUtil.eq("parziale", parziale)); + return collaudoPersistence.countByCodiceFiscale_Completata(codiceFiscaleDelegato, completata); + } - return dynamicQuery(dynamicQuery, start, end, orderByComparator); - } + public List findByIntPraticaId_Parziale_leCollaudoId(long collaudoId, long intPraticaId, + boolean parziale, int start, int end, OrderByComparator orderByComparator) throws SystemException { - public int countByIntPraticaId_Parziale_leCollaudoId(long collaudoId, long intPraticaId, boolean parziale) - throws SystemException { + DynamicQuery dynamicQuery = dynamicQuery(); + dynamicQuery.add(RestrictionsFactoryUtil.eq("intPraticaId", intPraticaId)); + dynamicQuery.add(RestrictionsFactoryUtil.lt("collaudoId", collaudoId)); + dynamicQuery.add(RestrictionsFactoryUtil.eq("parziale", parziale)); - DynamicQuery dynamicQuery = dynamicQuery(); - dynamicQuery.add(RestrictionsFactoryUtil.eq("intPraticaId", intPraticaId)); - dynamicQuery.add(RestrictionsFactoryUtil.lt("collaudoId", collaudoId)); - dynamicQuery.add(RestrictionsFactoryUtil.eq("parziale", parziale)); + return dynamicQuery(dynamicQuery, start, end, orderByComparator); + } - List results = dynamicQuery(dynamicQuery); - return results.isEmpty() ? 0 : results.size(); - } + public int countByIntPraticaId_Parziale_leCollaudoId(long collaudoId, long intPraticaId, boolean parziale) + throws SystemException { - public List findCollaudiCompletiNotProtocollo(int start, int end) throws SystemException { + DynamicQuery dynamicQuery = dynamicQuery(); + dynamicQuery.add(RestrictionsFactoryUtil.eq("intPraticaId", intPraticaId)); + dynamicQuery.add(RestrictionsFactoryUtil.lt("collaudoId", collaudoId)); + dynamicQuery.add(RestrictionsFactoryUtil.eq("parziale", parziale)); - DynamicQuery dynamicQuery = getDynamicQueryCollaudiCompletiNotProtocollo(); - dynamicQuery.addOrder(OrderFactoryUtil.asc("createDate")); - return collaudoPersistence.findWithDynamicQuery(dynamicQuery, start, end); - } + List results = dynamicQuery(dynamicQuery); + return results.isEmpty() ? 0 : results.size(); + } - public int countCollaudiCompletiNotProtocollo() throws SystemException { + public List findCollaudiCompletiNotProtocollo(int start, int end) throws SystemException { - DynamicQuery dynamicQuery = getDynamicQueryCollaudiCompletiNotProtocollo(); - return (int) collaudoPersistence.countWithDynamicQuery(dynamicQuery); - } + DynamicQuery dynamicQuery = getDynamicQueryCollaudiCompletiNotProtocollo(); + dynamicQuery.addOrder(OrderFactoryUtil.asc("createDate")); + return collaudoPersistence.findWithDynamicQuery(dynamicQuery, start, end); + } - private DynamicQuery getDynamicQueryCollaudiCompletiNotProtocollo() { + public int countCollaudiCompletiNotProtocollo() throws SystemException { - DynamicQuery dynamicQuery = collaudoLocalService.dynamicQuery(); - dynamicQuery.add(RestrictionsFactoryUtil.eq("completata", true)); - dynamicQuery.add(RestrictionsFactoryUtil.eq("gestita", false)); - Disjunction or = RestrictionsFactoryUtil.disjunction(); - or.add(RestrictionsFactoryUtil.eq("protocollo", StringPool.BLANK)); - or.add(RestrictionsFactoryUtil.isNull("protocollo")); - dynamicQuery.add(or); - return dynamicQuery; - } + DynamicQuery dynamicQuery = getDynamicQueryCollaudiCompletiNotProtocollo(); + return (int) collaudoPersistence.countWithDynamicQuery(dynamicQuery); + } - public List findCollaudiCompletiNotGestiti(int start, int end) throws SystemException { + private DynamicQuery getDynamicQueryCollaudiCompletiNotProtocollo() { - DynamicQuery dynamicQuery = getDynamicQueryCollaudiCompletiNotGestiti(); - dynamicQuery.addOrder(OrderFactoryUtil.asc("createDate")); - return collaudoPersistence.findWithDynamicQuery(dynamicQuery, start, end); - } + DynamicQuery dynamicQuery = collaudoLocalService.dynamicQuery(); + dynamicQuery.add(RestrictionsFactoryUtil.eq("completata", true)); + dynamicQuery.add(RestrictionsFactoryUtil.eq("gestita", false)); + Disjunction or = RestrictionsFactoryUtil.disjunction(); + or.add(RestrictionsFactoryUtil.eq("protocollo", StringPool.BLANK)); + or.add(RestrictionsFactoryUtil.isNull("protocollo")); + dynamicQuery.add(or); + return dynamicQuery; + } - public int countCollaudiCompletiNotGestiti() throws SystemException { + public List findCollaudiCompletiNotGestiti(int start, int end) throws SystemException { - DynamicQuery dynamicQuery = getDynamicQueryCollaudiCompletiNotGestiti(); - return (int) collaudoPersistence.countWithDynamicQuery(dynamicQuery); - } + DynamicQuery dynamicQuery = getDynamicQueryCollaudiCompletiNotGestiti(); + dynamicQuery.addOrder(OrderFactoryUtil.asc("createDate")); + return collaudoPersistence.findWithDynamicQuery(dynamicQuery, start, end); + } - private DynamicQuery getDynamicQueryCollaudiCompletiNotGestiti() { + public int countCollaudiCompletiNotGestiti() throws SystemException { - DynamicQuery dynamicQuery = collaudoLocalService.dynamicQuery(); - dynamicQuery.add(RestrictionsFactoryUtil.eq("completata", true)); - dynamicQuery.add(RestrictionsFactoryUtil.eq("gestita", false)); - dynamicQuery.add(RestrictionsFactoryUtil.ne("protocollo", StringPool.BLANK)); - dynamicQuery.add(RestrictionsFactoryUtil.isNotNull("protocollo")); - return dynamicQuery; - } + DynamicQuery dynamicQuery = getDynamicQueryCollaudiCompletiNotGestiti(); + return (int) collaudoPersistence.countWithDynamicQuery(dynamicQuery); + } - // public List findIntPraticaByCodiceFiscaleSoggetto(String codiceFiscale) throws - // PortalException, SystemException { - // - // DynamicQuery dynamicQuery = collaudoLocalService.dynamicQuery(); - // dynamicQuery.add(RestrictionsFactoryUtil.ilike("codiceFiscale", codiceFiscale)); - // dynamicQuery.setProjection(ProjectionFactoryUtil.distinct(ProjectionFactoryUtil.property("intPraticaId"))); - // List ids = collaudoPersistence.findWithDynamicQuery(dynamicQuery); - // - // return ids; - // } + private DynamicQuery getDynamicQueryCollaudiCompletiNotGestiti() { - public Collaudo fetchByOldDettPraticaId(long oldDettPraticaId) throws SystemException { - - return collaudoPersistence.fetchByOldDettPraticaId(oldDettPraticaId); - } + DynamicQuery dynamicQuery = collaudoLocalService.dynamicQuery(); + dynamicQuery.add(RestrictionsFactoryUtil.eq("completata", true)); + dynamicQuery.add(RestrictionsFactoryUtil.eq("gestita", false)); + dynamicQuery.add(RestrictionsFactoryUtil.ne("protocollo", StringPool.BLANK)); + dynamicQuery.add(RestrictionsFactoryUtil.isNotNull("protocollo")); + return dynamicQuery; + } } diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/DettPraticaLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/DettPraticaLocalServiceImpl.java index 3e4ca8d0..f27c724c 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/DettPraticaLocalServiceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/DettPraticaLocalServiceImpl.java @@ -124,7 +124,6 @@ public class DettPraticaLocalServiceImpl extends DettPraticaLocalServiceBaseImpl dettPratica.setCompanyId(serviceContext.getCompanyId()); dettPratica.setGroupId(serviceContext.getScopeGroupId()); dettPratica.setUserId(serviceContext.getUserId()); - // dettPratica.setUserName(user.getFullName()); dettPratica.setUserName(user.getScreenName()); dettPratica.setCreateDate(serviceContext.getCreateDate(now)); dettPratica.setModifiedDate(serviceContext.getModifiedDate(now)); @@ -137,7 +136,6 @@ public class DettPraticaLocalServiceImpl extends DettPraticaLocalServiceBaseImpl dettPratica.setCompleta(false); dettPratica.setGestita(false); - dettPratica.setOldDettPraticaId(0); dettPratica.setOperaConforme(false); dettPratica.setInizioLavoriContestualeOpera(false); @@ -148,20 +146,6 @@ public class DettPraticaLocalServiceImpl extends DettPraticaLocalServiceBaseImpl dettPratica.setNoteUfficio(StringPool.BLANK); // in avvio in draft -> pratiche sempre controllate nella loro vita dettPratica.setStatus(WorkflowConstants.STATUS_DRAFT); - - // FIXME da rimuovere perché sostituiti con le deleghe? - // dettPratica.setCodiceFiscaleDelegato(codiceFiscaleDelegato); - // dettPratica.setCodiceRuoloDelegato(codiceRuoloDelegato); - // FIXME da rimuovere - // dettPratica.setVariataDa(variataDa); - // dettPratica.setVarianteNumero(varianteNumero); - // dettPratica.setVarianteSostanziale(varianteSostanziale); - - // FIXME capire a cosa servono e poi rimuovere - // dettPratica.setWorkflowForzato(workflowForzato); - // dettPratica.setSoggettoSostituitoId(soggettoSostituitoId); - // dettPratica.setStatusTask(statusTask); - return dettPratica; } @@ -609,11 +593,6 @@ public class DettPraticaLocalServiceImpl extends DettPraticaLocalServiceBaseImpl return deleteDettPratica(dettPratica); } - public DettPratica getByOldDettPraticaId(long oldDettPraticaId) throws PortalException, SystemException { - - return dettPraticaPersistence.fetchByOldDettPratica(oldDettPraticaId); - } - public List search(SearchContext searchContext) throws PortalException, SystemException { Indexer indexer = IndexerRegistryUtil.nullSafeGetIndexer(DettPratica.class); @@ -676,8 +655,8 @@ public class DettPraticaLocalServiceImpl extends DettPraticaLocalServiceBaseImpl long integrazione, String protocollo, String tipoIntegrazione, boolean completa, boolean gestita, String codicePagamentoOneri, String causalePagamentoOneri, String mezzoPagamentoOneri, String importoBolli, String importoSpeseIstruttoria, Date dataEffettuazione, int statusTask, - boolean workflowForzato, long soggettoSostituitoId, long oldDettPraticaId, String destinazione, - String ag, String descLongIntervento, String via, String localita, String estremiCatastali, + boolean workflowForzato, long soggettoSostituitoId, String destinazione, String ag, + String descLongIntervento, String via, String localita, String estremiCatastali, String estremiPratCom, long variataDa, long varianteNumero, boolean varianteSostanziale, boolean operaConforme, boolean collaudoStatico, String codiceFiscaleDelegatoCommittente, String codiceFiscaleDelegatoFineLavori, String codiceFiscaleDelegatoCollaudo, @@ -748,21 +727,21 @@ public class DettPraticaLocalServiceImpl extends DettPraticaLocalServiceBaseImpl validate(userId, dettPraticaId, intPraticaId, integrazione, protocollo, tipoIntegrazione, completa, gestita, codicePagamentoOneri, causalePagamentoOneri, mezzoPagamentoOneri, importoBolli, importoSpeseIstruttoria, dataEffettuazione, statusTask, workflowForzato, - soggettoSostituitoId, oldDettPraticaId, destinazione, ag, descLongIntervento, via, localita, - estremiCatastali, estremiPratCom, variataDa, varianteNumero, varianteSostanziale, - operaConforme, collaudoStatico, codiceFiscaleDelegatoCommittente, - codiceFiscaleDelegatoFineLavori, codiceFiscaleDelegatoCollaudo, codiceRuoloDelegato, - lavoriInEconomiaCommittente, inizioLavoriContestualeOpera, dataInizioLavoriOpera, - dataInizioEsecuzioneOpera, dataFineEsecuzioneOpera, metratura, lavoriPubblici, - pagamentoIdOneri, lavoriPubbliciPercentuale, numeroCivico, dcParticelle, dcFoglio, - dcAllegato, dePiani, deAltezza, deInterrati, deSuperficie, deCostruzione, deRistrutturazione, - deUso, dePubblica, dePrivata, deUtilizzazione, dePosizioneEdificio, deInfStradalePonte, - deInfStradaleStrada, deInfStradaleAltro, deInfIdraulicaLong, deInfIdraulicaTrasv, - deInfIdraulicaAltro, deInfOperaAccStradale, deInfOperaAccIdraulica, deInfOperaAccAltro, - deInfAltraInfrastruttura, deInfAltro, deInfAltroDesc, dccFondazioni, - dccStruttureEleMuraturePietrame, dccStruttureEleMuratureLaterizio, - dccStruttureEleMuratureMisto, dccStruttureEleMuratureStoriche, dccStruttureEleAcciaio, - dccStruttureEleCA, dccStruttureEleLegno, dccStruttureEleMistoCA, dccStruttureEleMistoAcciaio, + soggettoSostituitoId, destinazione, ag, descLongIntervento, via, localita, estremiCatastali, + estremiPratCom, variataDa, varianteNumero, varianteSostanziale, operaConforme, + collaudoStatico, codiceFiscaleDelegatoCommittente, codiceFiscaleDelegatoFineLavori, + codiceFiscaleDelegatoCollaudo, codiceRuoloDelegato, lavoriInEconomiaCommittente, + inizioLavoriContestualeOpera, dataInizioLavoriOpera, dataInizioEsecuzioneOpera, + dataFineEsecuzioneOpera, metratura, lavoriPubblici, pagamentoIdOneri, + lavoriPubbliciPercentuale, numeroCivico, dcParticelle, dcFoglio, dcAllegato, dePiani, + deAltezza, deInterrati, deSuperficie, deCostruzione, deRistrutturazione, deUso, dePubblica, + dePrivata, deUtilizzazione, dePosizioneEdificio, deInfStradalePonte, deInfStradaleStrada, + deInfStradaleAltro, deInfIdraulicaLong, deInfIdraulicaTrasv, deInfIdraulicaAltro, + deInfOperaAccStradale, deInfOperaAccIdraulica, deInfOperaAccAltro, deInfAltraInfrastruttura, + deInfAltro, deInfAltroDesc, dccFondazioni, dccStruttureEleMuraturePietrame, + dccStruttureEleMuratureLaterizio, dccStruttureEleMuratureMisto, + dccStruttureEleMuratureStoriche, dccStruttureEleAcciaio, dccStruttureEleCA, + dccStruttureEleLegno, dccStruttureEleMistoCA, dccStruttureEleMistoAcciaio, dccStruttureEleMistoMuratura, dccStruttureEleMistoLegno, dccStruttureElePrefabbricato, dccStruttureEleAltro, dccStruttureEleAltroDescrizione, dccOrizzontamentiCAAcciaio, dccOrizzontamentiLegno, dccOrizzontamentiLegnoCA, dccOrizzontamentiLamieraGrecata, @@ -816,7 +795,6 @@ public class DettPraticaLocalServiceImpl extends DettPraticaLocalServiceBaseImpl dettPratica.setStatusTask(statusTask); dettPratica.setWorkflowForzato(workflowForzato); dettPratica.setSoggettoSostituitoId(soggettoSostituitoId); - dettPratica.setOldDettPraticaId(oldDettPraticaId); dettPratica.setDestinazione(destinazione); dettPratica.setAg(ag); dettPratica.setDescLongIntervento(descLongIntervento); @@ -1704,18 +1682,18 @@ public class DettPraticaLocalServiceImpl extends DettPraticaLocalServiceBaseImpl String protocollo, String tipoIntegrazione, boolean completa, boolean gestita, String codicePagamento, String causalePagamento, String mezzoPagamento, String importoBolli, String importoSpeseIstruttoria, Date dataEffettuazione, int statusTask, boolean workflowForzato, - long soggettoSostituitoId, long oldDettPraticaId, String destinazione, String ag, - String descLongIntervento, String via, String localita, String estremiCatastali, - String estremiPratCom, long variataDa, long varianteNumero, boolean varianteSostanziale, - boolean operaConforme, boolean collaudoStatico, String codiceFiscaleDelegatoCommittente, - String codiceFiscaleDelegatoFineLavori, String codiceFiscaleDelegatoCollaudo, - String codiceRuoloDelegato, boolean lavoriInEconomiaCommittente, - boolean inizioLavoriContestualeOpera, Date dataInizioLavoriOpera, Date dataInizioEsecuzioneOpera, - Date dataFineEsecuzioneOpera, String metratura, boolean lavoriPubblici, long pagamentoId, - int lavoriPubbliciPercentuale, String numeroCivico, String dcParticelle, String dcFoglio, - String dcAllegato, String dePiani, String deAltezza, String deInterrati, String deSuperficie, - String deCostruzione, String deRistrutturazione, String deUso, String dePubblica, - String dePrivata, String deUtilizzazione, String dePosizioneEdificio, boolean deInfStradalePonte, + long soggettoSostituitoId, String destinazione, String ag, String descLongIntervento, String via, + String localita, String estremiCatastali, String estremiPratCom, long variataDa, + long varianteNumero, boolean varianteSostanziale, boolean operaConforme, boolean collaudoStatico, + String codiceFiscaleDelegatoCommittente, String codiceFiscaleDelegatoFineLavori, + String codiceFiscaleDelegatoCollaudo, String codiceRuoloDelegato, + boolean lavoriInEconomiaCommittente, boolean inizioLavoriContestualeOpera, + Date dataInizioLavoriOpera, Date dataInizioEsecuzioneOpera, Date dataFineEsecuzioneOpera, + String metratura, boolean lavoriPubblici, long pagamentoId, int lavoriPubbliciPercentuale, + String numeroCivico, String dcParticelle, String dcFoglio, String dcAllegato, String dePiani, + String deAltezza, String deInterrati, String deSuperficie, String deCostruzione, + String deRistrutturazione, String deUso, String dePubblica, String dePrivata, + String deUtilizzazione, String dePosizioneEdificio, boolean deInfStradalePonte, boolean deInfStradaleStrada, boolean deInfStradaleAltro, boolean deInfIdraulicaLong, boolean deInfIdraulicaTrasv, boolean deInfIdraulicaAltro, boolean deInfOperaAccStradale, boolean deInfOperaAccIdraulica, boolean deInfOperaAccAltro, boolean deInfAltraInfrastruttura, @@ -2239,7 +2217,7 @@ public class DettPraticaLocalServiceImpl extends DettPraticaLocalServiceBaseImpl } else { _log.error(options.getLocation() + ": " + options.getResponse().getResponseCode()); } -// return "{\"values\":[],\"Snapshot\":{\"version\":0,\"fields\":{}}}"; + // return "{\"values\":[],\"Snapshot\":{\"version\":0,\"fields\":{}}}"; return StringPool.BLANK; } @@ -2252,11 +2230,6 @@ public class DettPraticaLocalServiceImpl extends DettPraticaLocalServiceBaseImpl return jsonArray; } - public DettPratica fetchByOldDettPraticaId(long oldDettPraticaId) throws SystemException { - - return dettPraticaPersistence.fetchByOldDettPraticaId(oldDettPraticaId); - } - public int countVariateByIntPratica(long intPraticaId) throws SystemException { return dettPraticaPersistence.countByIntPraticaId_TipoIntegrazione(intPraticaId, diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/DettPraticaServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/DettPraticaServiceImpl.java index 736c17d7..4b20b79d 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/DettPraticaServiceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/DettPraticaServiceImpl.java @@ -121,18 +121,18 @@ public class DettPraticaServiceImpl extends DettPraticaServiceBaseImpl { long integrazione, String protocollo, String tipoIntegrazione, boolean completa, boolean gestita, String codicePagamento, String causalePagamento, String mezzoPagamento, String importoBolli, String importoSpeseIstruttoria, Date dataEffettuazione, int statusTask, boolean workflowForzato, - long soggettoSostituitoId, long oldDettPraticaId, String destinazione, String ag, - String descLongIntervento, String via, String localita, String estremiCatastali, - String estremiPratCom, long variataDa, long varianteNumero, boolean varianteSostanziale, - boolean operaConforme, boolean collaudoStatico, String codiceFiscaleDelegatoCommittente, - String codiceFiscaleDelegatoFineLavori, String codiceFiscaleDelegatoCollaudo, - String codiceRuoloDelegato, boolean lavoriInEconomiaCommittente, - boolean inizioLavoriContestualeOpera, Date dataInizioLavoriOpera, Date dataInizioEsecuzioneOpera, - Date dataFineEsecuzioneOpera, String metratura, boolean lavoriPubblici, long pagamentoId, - int lavoriPubbliciPercentuale, String numeroCivico, String dcParticelle, String dcFoglio, - String dcAllegato, String dePiani, String deAltezza, String deInterrati, String deSuperficie, - String deCostruzione, String deRistrutturazione, String deUso, String dePubblica, - String dePrivata, String deUtilizzazione, String dePosizioneEdificio, boolean deInfStradalePonte, + long soggettoSostituitoId, String destinazione, String ag, String descLongIntervento, String via, + String localita, String estremiCatastali, String estremiPratCom, long variataDa, + long varianteNumero, boolean varianteSostanziale, boolean operaConforme, boolean collaudoStatico, + String codiceFiscaleDelegatoCommittente, String codiceFiscaleDelegatoFineLavori, + String codiceFiscaleDelegatoCollaudo, String codiceRuoloDelegato, + boolean lavoriInEconomiaCommittente, boolean inizioLavoriContestualeOpera, + Date dataInizioLavoriOpera, Date dataInizioEsecuzioneOpera, Date dataFineEsecuzioneOpera, + String metratura, boolean lavoriPubblici, long pagamentoId, int lavoriPubbliciPercentuale, + String numeroCivico, String dcParticelle, String dcFoglio, String dcAllegato, String dePiani, + String deAltezza, String deInterrati, String deSuperficie, String deCostruzione, + String deRistrutturazione, String deUso, String dePubblica, String dePrivata, + String deUtilizzazione, String dePosizioneEdificio, boolean deInfStradalePonte, boolean deInfStradaleStrada, boolean deInfStradaleAltro, boolean deInfIdraulicaLong, boolean deInfIdraulicaTrasv, boolean deInfIdraulicaAltro, boolean deInfOperaAccStradale, boolean deInfOperaAccIdraulica, boolean deInfOperaAccAltro, boolean deInfAltraInfrastruttura, @@ -190,78 +190,16 @@ public class DettPraticaServiceImpl extends DettPraticaServiceBaseImpl { throws PortalException, SystemException { DettPratica dettPratica = null; - if (oldDettPraticaId == 0) { - - if (!disabledSubmit && DelegheUtil.hasDelegaCompilazioneDomanda(userId, dettPraticaId)) { - - dettPratica = dettPraticaLocalService.updateDettPraticaDatiDomanda(userId, dettPraticaId, - intPraticaId, tipoIntegrazione, destinazione, ag, descLongIntervento, via, localita, - estremiCatastali, estremiPratCom, varianteSostanziale, collaudoStatico, - codiceFiscaleDelegatoCommittente, codiceFiscaleDelegatoFineLavori, - codiceFiscaleDelegatoCollaudo, lavoriInEconomiaCommittente, metratura, - lavoriPubblici, pagamentoId, lavoriPubbliciPercentuale, numeroCivico, dcParticelle, - dcFoglio, dcAllegato, dePiani, deAltezza, deInterrati, deSuperficie, deCostruzione, - deRistrutturazione, deUso, dePubblica, dePrivata, deUtilizzazione, - dePosizioneEdificio, deInfStradalePonte, deInfStradaleStrada, deInfStradaleAltro, - deInfIdraulicaLong, deInfIdraulicaTrasv, deInfIdraulicaAltro, deInfOperaAccStradale, - deInfOperaAccIdraulica, deInfOperaAccAltro, deInfAltraInfrastruttura, deInfAltro, - deInfAltroDesc, dccFondazioni, dccStruttureEleMuraturePietrame, - dccStruttureEleMuratureLaterizio, dccStruttureEleMuratureMisto, - dccStruttureEleMuratureStoriche, dccStruttureEleAcciaio, dccStruttureEleCA, - dccStruttureEleLegno, dccStruttureEleMistoCA, dccStruttureEleMistoAcciaio, - dccStruttureEleMistoMuratura, dccStruttureEleMistoLegno, - dccStruttureElePrefabbricato, dccStruttureEleAltro, dccStruttureEleAltroDescrizione, - dccOrizzontamentiCAAcciaio, dccOrizzontamentiLegno, dccOrizzontamentiLegnoCA, - dccOrizzontamentiLamieraGrecata, dccOrizzontamentiVolte, dccOrizzontamentiAltro, - dccOrizzontamentiAltroDescrizione, dccCopertura, dccCoperturaCAAcciaio, - dccCoperturaLegno, dccCoperturaLegnoCA, dccCoperturaLamieraGrecata, - dccCoperturaPannelli, dccCoperturaPVCTelonati, dccCoperturaLeggere, - dccCoperturaAltro, dccCoperturaAltroDesrizione, dccElemNonStrutLaterizio, - dccElemNonStrutCartongesso, dccElemNonStrutCalcestruzzo, dccElemNonStrutLegno, - dccElemNonStrutAltro, dccElemNonStrutAltroDescrizione, dccOpereDiRinforzoInsCatene, - dccOpereDiRinforzoInsCordoli, dccOpereDiRinforzoIniArmate, - dccOpereDiRinforzoPlaccaggi, dccOpereDiRinforzoIrrSolai, - dccOpereDiRinforzoRinforziFRP, dccOpereDiRinforzoTelaiECerchiature, - dccOpereDiRinforzoInsRompitratta, dccOpereDiRinforzoAltro, - dccOpereDiRinforzoAltroDescrizione, localizzazioneGeografica, tcNuovaCostruzione, - tcAdeguamentoSismico, tcMiglioramentoSismico, tcRiparazioneInterventoLocale, tcInCA, - tcInOpera, tcPrefabbricato, tcInAcciaio, tcMista, tcInMuratura, - tcInMuraturaOrdinaria, tcInMuraturaArmata, tcInMuraturaMista, tcInLegno, tcAltro, - tcAltroDescrizione, tcConDispositivi, normLavoriInProprio, normEsenteBollo, - normEsenteSpese, normDpr01Dep, normDpr02Dep, normDpr01Aut, normDpr02Aut, normDm01, - normDm02, normDm03, normDm2018, normDprg01, normDprg02, normAnr, normArt3com3, - normArt3com4, normOrd01, normDm04, normDm05, normCI01, normLTC01, suap, - normSismaBonus, clRischioPreInt, clRischioPostInt, intervFinPub, intervFinPubDesc, - serviceContext, bozza); - } - if (!geoDisabledSubmit - && DelegheUtil.hasDelegaCompilazioneSezioneGeologica(userId, dettPraticaId)) { - dettPratica = dettPraticaLocalService.updateDettPraticaGeologo(userId, dettPraticaId, - intPraticaId, geoClasseIndagine, geoCategoriaSottosuolo, geoCategoriaTopografica, - geoConsolidamento, geoPericolositaGeologica, geoRischioGeomorfologicoPai, - geoPericolositaIdraulicaPai, geoRischioIdraulicoPai, geoPericolositaSismica, - geoPericolositaIdraulica, geoPericolositaGeomorfica, geoFattibilitaGeologica, - geoFattibilitaSismica, geoFattibilitaIdraulica, geoOperaRilevante, - geoOpereDiSostegno, geoOpereInSotterranea, geoPresenzaPrescrizioni, - geoNotePrescrizioni, geoNoteIndagini, geoEvidenzeGeomorfiche, geoEvidenzeGeologiche, - geoDtRelazione, serviceContext, bozza); + if (!disabledSubmit && DelegheUtil.hasDelegaCompilazioneDomanda(userId, dettPraticaId)) { - } - } else { - - dettPratica = dettPraticaLocalService.updateDettPratica(userId, dettPraticaId, intPraticaId, - integrazione, protocollo, tipoIntegrazione, completa, gestita, codicePagamento, - causalePagamento, mezzoPagamento, importoBolli, importoSpeseIstruttoria, - dataEffettuazione, statusTask, workflowForzato, soggettoSostituitoId, oldDettPraticaId, - destinazione, ag, descLongIntervento, via, localita, estremiCatastali, estremiPratCom, - variataDa, varianteNumero, varianteSostanziale, operaConforme, collaudoStatico, + dettPratica = dettPraticaLocalService.updateDettPraticaDatiDomanda(userId, dettPraticaId, + intPraticaId, tipoIntegrazione, destinazione, ag, descLongIntervento, via, localita, + estremiCatastali, estremiPratCom, varianteSostanziale, collaudoStatico, codiceFiscaleDelegatoCommittente, codiceFiscaleDelegatoFineLavori, - codiceFiscaleDelegatoCollaudo, codiceRuoloDelegato, lavoriInEconomiaCommittente, - inizioLavoriContestualeOpera, dataInizioLavoriOpera, dataInizioEsecuzioneOpera, - dataFineEsecuzioneOpera, metratura, lavoriPubblici, pagamentoId, - lavoriPubbliciPercentuale, numeroCivico, dcParticelle, dcFoglio, dcAllegato, dePiani, - deAltezza, deInterrati, deSuperficie, deCostruzione, deRistrutturazione, deUso, + codiceFiscaleDelegatoCollaudo, lavoriInEconomiaCommittente, metratura, lavoriPubblici, + pagamentoId, lavoriPubbliciPercentuale, numeroCivico, dcParticelle, dcFoglio, dcAllegato, + dePiani, deAltezza, deInterrati, deSuperficie, deCostruzione, deRistrutturazione, deUso, dePubblica, dePrivata, deUtilizzazione, dePosizioneEdificio, deInfStradalePonte, deInfStradaleStrada, deInfStradaleAltro, deInfIdraulicaLong, deInfIdraulicaTrasv, deInfIdraulicaAltro, deInfOperaAccStradale, deInfOperaAccIdraulica, deInfOperaAccAltro, @@ -282,29 +220,26 @@ public class DettPraticaServiceImpl extends DettPraticaServiceBaseImpl { dccOpereDiRinforzoInsCordoli, dccOpereDiRinforzoIniArmate, dccOpereDiRinforzoPlaccaggi, dccOpereDiRinforzoIrrSolai, dccOpereDiRinforzoRinforziFRP, dccOpereDiRinforzoTelaiECerchiature, dccOpereDiRinforzoInsRompitratta, - dccOpereDiRinforzoAltro, dccOpereDiRinforzoAltroDescrizione, geoClasseIndagine, - geoCategoriaSottosuolo, geoCategoriaTopografica, geoConsolidamento, - geoPericolositaGeologica, geoRischioGeomorfologicoPai, geoPericolositaIdraulicaPai, - geoRischioIdraulicoPai, geoPericolositaSismica, geoPericolositaIdraulica, - geoPericolositaGeomorfica, geoFattibilitaGeologica, geoFattibilitaSismica, - geoFattibilitaIdraulica, geoOperaRilevante, geoOpereDiSostegno, geoOpereInSotterranea, - geoPresenzaPrescrizioni, geoNotePrescrizioni, geoNoteIndagini, geoEvidenzeGeomorfiche, - geoEvidenzeGeologiche, geoDtRelazione, pagNuoveCostruzioni, pagAdeguamentoSismico, - pagMiglioramentoSismico, pagRiparazioneInterventoLocale, pagNuovaCostruzione, - pagVarianti, pagAltro, pagMiglioramentoSismicoSicilia, pagCalcolatoAdeguamentoSismico, - pagCalcolatoMiglioramentoSismico, pagCalcolatoRiparazioneInterventoLocale, - pagCalcolatoOperaNonQuantificabile, pagEffettivoAdeguamentoSismico, - pagEffettivoMiglioramentoSismico, pagEffettivoRiparazioneInterventoLocale, - pagEffettivoOperaNonQuantificabile, pagNoteUtente, note, noteUfficio, - localizzazioneGeografica, tcNuovaCostruzione, tcAdeguamentoSismico, - tcMiglioramentoSismico, tcRiparazioneInterventoLocale, tcInCA, tcInOpera, - tcPrefabbricato, tcInAcciaio, tcMista, tcInMuratura, tcInMuraturaOrdinaria, - tcInMuraturaArmata, tcInMuraturaMista, tcInLegno, tcAltro, tcAltroDescrizione, - tcConDispositivi, normLavoriInProprio, normEsenteBollo, normEsenteSpese, normDpr01Dep, - normDpr02Dep, normDpr01Aut, normDpr02Aut, normDm01, normDm02, normDm03, normDm2018, - normDprg01, normDprg02, normAnr, normArt3com3, normArt3com4, normOrd01, normDm04, - normDm05, normCI01, normLTC01, suap, normSismaBonus, clRischioPreInt, clRischioPostInt, - intervFinPub, intervFinPubDesc, serviceContext, bozza); + dccOpereDiRinforzoAltro, dccOpereDiRinforzoAltroDescrizione, localizzazioneGeografica, + tcNuovaCostruzione, tcAdeguamentoSismico, tcMiglioramentoSismico, + tcRiparazioneInterventoLocale, tcInCA, tcInOpera, tcPrefabbricato, tcInAcciaio, tcMista, + tcInMuratura, tcInMuraturaOrdinaria, tcInMuraturaArmata, tcInMuraturaMista, tcInLegno, + tcAltro, tcAltroDescrizione, tcConDispositivi, normLavoriInProprio, normEsenteBollo, + normEsenteSpese, normDpr01Dep, normDpr02Dep, normDpr01Aut, normDpr02Aut, normDm01, + normDm02, normDm03, normDm2018, normDprg01, normDprg02, normAnr, normArt3com3, + normArt3com4, normOrd01, normDm04, normDm05, normCI01, normLTC01, suap, normSismaBonus, + clRischioPreInt, clRischioPostInt, intervFinPub, intervFinPubDesc, serviceContext, bozza); + + } + if (!geoDisabledSubmit && DelegheUtil.hasDelegaCompilazioneSezioneGeologica(userId, dettPraticaId)) { + dettPratica = dettPraticaLocalService.updateDettPraticaGeologo(userId, dettPraticaId, + intPraticaId, geoClasseIndagine, geoCategoriaSottosuolo, geoCategoriaTopografica, + geoConsolidamento, geoPericolositaGeologica, geoRischioGeomorfologicoPai, + geoPericolositaIdraulicaPai, geoRischioIdraulicoPai, geoPericolositaSismica, + geoPericolositaIdraulica, geoPericolositaGeomorfica, geoFattibilitaGeologica, + geoFattibilitaSismica, geoFattibilitaIdraulica, geoOperaRilevante, geoOpereDiSostegno, + geoOpereInSotterranea, geoPresenzaPrescrizioni, geoNotePrescrizioni, geoNoteIndagini, + geoEvidenzeGeomorfiche, geoEvidenzeGeologiche, geoDtRelazione, serviceContext, bozza); } return dettPratica; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/FineLavoriLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/FineLavoriLocalServiceImpl.java index c5d525ee..f08966ef 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/FineLavoriLocalServiceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/FineLavoriLocalServiceImpl.java @@ -57,13 +57,14 @@ import com.liferay.portal.service.ServiceContext; * The implementation of the fine lavori local service. * *

- * All custom service methods should be put in this class. Whenever methods are added, rerun - * ServiceBuilder to copy their definitions into the + * All custom service methods should be put in this class. Whenever methods are + * added, rerun ServiceBuilder to copy their definitions into the * {@link it.tref.liferay.portos.bo.service.FineLavoriLocalService} interface. * *

- * This is a local service. Methods of this service will not have security checks based on the - * propagated JAAS credentials because this service can only be accessed from within the same VM. + * This is a local service. Methods of this service will not have security + * checks based on the propagated JAAS credentials because this service can only + * be accessed from within the same VM. *

* * @author Davide Barbagallo, 3F Consulting @@ -71,520 +72,529 @@ import com.liferay.portal.service.ServiceContext; * @see it.tref.liferay.portos.bo.service.FineLavoriLocalServiceUtil */ public class FineLavoriLocalServiceImpl extends FineLavoriLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: Never reference this interface directly. Always use {@link - * it.tref.liferay.portos.bo.service.FineLavoriLocalServiceUtil} to access the fine lavori local - * service. - */ - - private FineLavori initFineLavori(ServiceContext serviceContext) throws PortalException, SystemException { - - User user = userLocalService.getUser(serviceContext.getUserId()); - - Date now = new Date(); - - FineLavori fineLavori = fineLavoriPersistence.create(counterLocalService.increment(DettPratica.class.getName())); - - fineLavori.setCompanyId(serviceContext.getCompanyId()); - fineLavori.setGroupId(serviceContext.getScopeGroupId()); - fineLavori.setUserId(serviceContext.getUserId()); - fineLavori.setUserName(user.getFullName()); - fineLavori.setCreateDate(serviceContext.getCreateDate(now)); - fineLavori.setModifiedDate(serviceContext.getModifiedDate(now)); - - // setto parametri di default - fineLavori.setParziale(false); - fineLavori.setDataEffettuazione(null); - fineLavori.setDataFineLavori(null); - fineLavori.setCodiceFiscaleDelegato(StringPool.BLANK); - fineLavori.setNormEsenteBollo(false); - fineLavori.setNormEsenteCollaudo(false); - fineLavori.setComunicazioneDirettoreLavori(StringPool.BLANK); - - return fineLavori; - } - - @Indexable(type = IndexableType.REINDEX) - public FineLavori addFineLavori(long intPraticaId, ServiceContext serviceContext) throws PortalException, - SystemException { - - - IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId); - - FineLavori fineLavori = initFineLavori(serviceContext); - fineLavori.setGroupId(intPratica.getGroupId()); - fineLavori.setIntPraticaId(intPraticaId); - - fineLavoriPersistence.update(fineLavori); - return fineLavori; - } - - @Override - @Indexable(type = IndexableType.DELETE) - public FineLavori deleteFineLavori(FineLavori fineLavori) throws SystemException, PortalException { - - List docPraticas = - docPraticaLocalService.findByClassPk(fineLavori.getFineLavoriId(), QueryUtil.ALL_POS, QueryUtil.ALL_POS); - for (DocPratica docPratica : docPraticas) { - docPraticaLocalService.deleteDocPratica(docPratica); - } - - List pagamenti = pagamentoLocalService.findByClassPk(fineLavori.getFineLavoriId()); - for (Pagamento pagamento : pagamenti) { - pagamentoLocalService.deletePagamento(pagamento); - } - - return super.deleteFineLavori(fineLavori); - } - - @Override - @Indexable(type = IndexableType.DELETE) - public FineLavori deleteFineLavori(long fineLavoriId) throws PortalException, SystemException { - - FineLavori fineLavori = fineLavoriPersistence.findByPrimaryKey(fineLavoriId); - - return deleteFineLavori(fineLavori); - } - - @Indexable(type = IndexableType.REINDEX) - public FineLavori updateFineLavori(long userId, long fineLavoriId, long intPraticaId, boolean parziale, - boolean completata, Date dataFineLavori, String codiceFiscaleDelegato, boolean normEsenteBollo, - boolean normEsenteCollaudo, String comunicazioneDirettoreLavori) throws NoSuchFineLavoriException, - SystemException { - - FineLavori fineLavori = fineLavoriPersistence.findByPrimaryKey(fineLavoriId); - - fineLavori.setParziale(parziale); - fineLavori.setCompletata(completata); - fineLavori.setDataFineLavori(dataFineLavori); - fineLavori.setCodiceFiscaleDelegato(codiceFiscaleDelegato); - fineLavori.setNormEsenteBollo(normEsenteBollo); - fineLavori.setNormEsenteCollaudo(normEsenteCollaudo); - fineLavori.setComunicazioneDirettoreLavori(comunicazioneDirettoreLavori); - - fineLavori = fineLavoriPersistence.update(fineLavori); - - return fineLavori; - } - - public FineLavori getLastEditable(long intPraticaId) throws SystemException { - - DynamicQuery dynamicQuery = dynamicQuery(); - dynamicQuery.add(RestrictionsFactoryUtil.eq("intPraticaId", intPraticaId)); - dynamicQuery.add(RestrictionsFactoryUtil.eq("completata", false)); - dynamicQuery.addOrder(OrderFactoryUtil.desc("fineLavoriId")); - List fineLavoriList = dynamicQuery(dynamicQuery, 0, 1); - if (!fineLavoriList.isEmpty()) { - return fineLavoriList.get(0); - } - return null; - } - - public FineLavori getLastCompleted(long intPraticaId) throws SystemException { - - DynamicQuery dynamicQuery = dynamicQuery(); - dynamicQuery.add(RestrictionsFactoryUtil.eq("intPraticaId", intPraticaId)); - dynamicQuery.add(RestrictionsFactoryUtil.eq("completata", true)); - dynamicQuery.addOrder(OrderFactoryUtil.desc("fineLavoriId")); - List fineLavoriList = dynamicQuery(dynamicQuery, 0, 1); - if (!fineLavoriList.isEmpty()) { - return fineLavoriList.get(0); - } - return null; - } - - public FineLavori pagaInvia(long fineLavoriId, String codiceFiscaleCommittente, String currentURL, - ServiceContext serviceContext) throws SystemException, PortalException { - - FineLavori fineLavori = fineLavoriPersistence.findByPrimaryKey(fineLavoriId); - - BigDecimal importoBolli = - PagamentiCommonUtil.getImportoBolli(fineLavori.getCompanyId(), fineLavori.getFineLavoriId(), - FineLavori.class.getName(), TipoIntegrazioneUtil.FINE_LAVORI); - - fineLavori.setImportoBolli(importoBolli.toString()); - fineLavori = updateFineLavori(fineLavori); - - PagamentiUtil.nuovoPagamento(currentURL, fineLavori.getFineLavoriId(), FineLavori.class.getName(), - PagamentoConstants.PAGAMENTO_BOLLI, importoBolli.toString(), codiceFiscaleCommittente, serviceContext); - - return fineLavori; - } - - // public void sostituisciPagamento(long pagamentoId, long fineLavoriId, String - // codiceFiscaleCommittente, String mezzo, - // String url, ServiceContext serviceContext) throws PortalException, SystemException { - // - // FineLavori fineLavori = getFineLavori(fineLavoriId); - // Pagamento pagamento = pagamentoLocalService.getPagamento(pagamentoId); - // String currentUtilizzata = pagamento.getUtilizzata(); - // String currentMezzo = pagamento.getMezzo(); - // - // boolean irisEnable = PagamentiUtil.irisIsEnable(pagamento.getCompanyId()); - // if (fineLavori.getPagamentoId() != pagamentoId) { - // throw new PortalException("Pagamento non abbinato alla Fine Lavori"); - // } - // if (mezzo.equalsIgnoreCase(PagamentoConstants.MEZZO_MANUALE)) { - // if (irisEnable) { - // throw new PortalException("Creazione pagamento manuale con iris enable non possibile"); - // } else if (currentUtilizzata.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_NON_PAGABILE) - // || currentUtilizzata.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_RIFIUTATA)) { - // fineLavori.setPagamentoId(0l); - // fineLavori = updateFineLavori(fineLavori); - // - // pagamento.setUtilizzata(PagamentoConstants.UTILIZZATA_SOSTITUITA); - // pagamentoLocalService.updatePagamento(pagamento); - // - // PagamentiUtil.nuovoPagamento(url, fineLavoriId, FineLavori.class.getName(), - // pagamento.getImportoBolli(), - // pagamento.getImportoSpeseIstruttoria(), codiceFiscaleCommittente, serviceContext); - // } else { - // throw new PortalException("Creazione pagamento manuale con stato " + currentUtilizzata + - // " non possibile"); - // } - // } else if (mezzo.equalsIgnoreCase(PagamentoConstants.MEZZO_IRIS)) { - // if (irisEnable - // && (currentMezzo.equalsIgnoreCase(PagamentoConstants.MEZZO_MANUALE) || (currentUtilizzata - // .equalsIgnoreCase(PagamentoConstants.UTILIZZATA_NON_PAGABILE) || currentUtilizzata - // .equalsIgnoreCase(PagamentoConstants.UTILIZZATA_RIFIUTATA)))) { - // - // fineLavori.setPagamentoId(0l); - // fineLavori = updateFineLavori(fineLavori); - // - // pagamento.setUtilizzata(PagamentoConstants.UTILIZZATA_SOSTITUITA); - // pagamentoLocalService.updatePagamento(pagamento); - // PagamentiUtil.nuovoPagamento(url, fineLavoriId, FineLavori.class.getName(), - // pagamento.getImportoBolli(), - // pagamento.getImportoSpeseIstruttoria(), codiceFiscaleCommittente, serviceContext); - // } else { - // throw new PortalException("Pagamento IRIS non sostituibile"); - // } - // - // } else { - // throw new PortalException("Mezzo non presente"); - // } - // - // } - - public void updateEsitoPagamento(long pagamentoId, long fineLavoriId, String stato) throws SystemException, - PortalException { - - updateEsitoPagamento(pagamentoId, fineLavoriId, 0l, stato); - } - - public void updateEsitoPagamento(long pagamentoId, long fineLavoriId, long fileEntryId, String stato) - throws SystemException, PortalException { - - Date now = new Date(); - FineLavori fineLavori = fineLavoriPersistence.fetchByPrimaryKey(fineLavoriId); - - fineLavori.setModifiedDate(now); - if (stato.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_PAGATA)) { - - fineLavori.setCompletata(true); - fineLavori.setDataEffettuazione(now); - fineLavori - .setNumero(fineLavoriPersistence.countByIntPraticaId_Completata(fineLavori.getIntPraticaId(), true) + 1); - fineLavori = updateFineLavori(fineLavori); - - updateIntPraticaStatus(fineLavori, fineLavori.getIntPraticaId()); - - docPraticaLocalService.completeInvalidation(fineLavori.getIntPraticaId()); - - IntPratica intPratica = intPraticaLocalService.getIntPratica(fineLavori.getIntPraticaId()); - if (WorkflowUtil.isWorkflowDisattivabile(fineLavori.getIntPraticaId()) - && Validator.isNotNull(intPratica.getStatusByUserId())) { - this.inviaMailnotifica(fineLavoriId, intPratica.getStatusByUserId(), now); - } - pagamentoLocalService.updatePagamentoUtilizzata(pagamentoId, stato); - } else if (stato.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_NON_PAGABILE) - || stato.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_RIFIUTATA) - || stato.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_ANNULLATO)) { - pagamentoLocalService.updatePagamentoUtilizzata(pagamentoId, stato); - } - - } - - public FineLavori updateEsito(long fineLavoriId, int stato) throws SystemException, PortalException { - - Date now = new Date(); - FineLavori fineLavori = fineLavoriPersistence.fetchByPrimaryKey(fineLavoriId); - fineLavori.setModifiedDate(now); - - fineLavori.setCompletata(true); - fineLavori.setDataEffettuazione(now); - fineLavori.setNumero(fineLavoriPersistence.countByIntPraticaId_Completata(fineLavori.getIntPraticaId(), true) + 1); - fineLavori = updateFineLavori(fineLavori); - - updateIntPraticaStatus(fineLavori, fineLavori.getIntPraticaId()); - - docPraticaLocalService.completeInvalidation(fineLavori.getIntPraticaId()); - - IntPratica intPratica = intPraticaLocalService.getIntPratica(fineLavori.getIntPraticaId()); - if (WorkflowUtil.isWorkflowDisattivabile(fineLavori.getIntPraticaId()) - && Validator.isNotNull(intPratica.getStatusByUserId())) { - this.inviaMailnotifica(fineLavoriId, intPratica.getStatusByUserId(), now); - } - - return fineLavori; - } - - private void inviaMailnotifica(long fineLavoriId, long tecnicoIstruttoreId, Date date) throws SystemException, - PortalException { - - FineLavori fineLavori = fineLavoriPersistence.fetchByPrimaryKey(fineLavoriId); - - User tecnicoIstruttore = userLocalService.getUser(tecnicoIstruttoreId); - - String[] to = {tecnicoIstruttore.getEmailAddress()}; - String[] cc = new String[0]; - String[] ccn = new String[0]; - - String tipoPratica = StringPool.BLANK; - long intPraticaId = fineLavori.getIntPraticaId(); - if (AzioniPraticheUtil.isDeposito(intPraticaId)) { - tipoPratica = LanguageUtil.get(LocaleUtil.ITALIAN, "tipo-pratica-01"); - } else if (AzioniPraticheUtil.isAutorizzazione(intPraticaId)) { - tipoPratica = LanguageUtil.get(LocaleUtil.ITALIAN, "tipo-pratica-02"); - } + /* + * NOTE FOR DEVELOPERS: Never reference this interface directly. Always use + * {@link it.tref.liferay.portos.bo.service.FineLavoriLocalServiceUtil} to + * access the fine lavori local service. + */ + + private FineLavori initFineLavori(ServiceContext serviceContext) throws PortalException, SystemException { + + User user = userLocalService.getUser(serviceContext.getUserId()); + + Date now = new Date(); + + FineLavori fineLavori = fineLavoriPersistence.create(counterLocalService.increment(DettPratica.class + .getName())); + + fineLavori.setCompanyId(serviceContext.getCompanyId()); + fineLavori.setGroupId(serviceContext.getScopeGroupId()); + fineLavori.setUserId(serviceContext.getUserId()); + fineLavori.setUserName(user.getFullName()); + fineLavori.setCreateDate(serviceContext.getCreateDate(now)); + fineLavori.setModifiedDate(serviceContext.getModifiedDate(now)); + + // setto parametri di default + fineLavori.setParziale(false); + fineLavori.setDataEffettuazione(null); + fineLavori.setDataFineLavori(null); + fineLavori.setCodiceFiscaleDelegato(StringPool.BLANK); + fineLavori.setNormEsenteBollo(false); + fineLavori.setNormEsenteCollaudo(false); + fineLavori.setComunicazioneDirettoreLavori(StringPool.BLANK); + + return fineLavori; + } + + @Indexable(type = IndexableType.REINDEX) + public FineLavori addFineLavori(long intPraticaId, ServiceContext serviceContext) throws PortalException, + SystemException { + + IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId); + + FineLavori fineLavori = initFineLavori(serviceContext); + fineLavori.setGroupId(intPratica.getGroupId()); + fineLavori.setIntPraticaId(intPraticaId); + + fineLavoriPersistence.update(fineLavori); + return fineLavori; + } + + @Override + @Indexable(type = IndexableType.DELETE) + public FineLavori deleteFineLavori(FineLavori fineLavori) throws SystemException, PortalException { + + List docPraticas = docPraticaLocalService.findByClassPk(fineLavori.getFineLavoriId(), + QueryUtil.ALL_POS, QueryUtil.ALL_POS); + for (DocPratica docPratica : docPraticas) { + docPraticaLocalService.deleteDocPratica(docPratica); + } + + List pagamenti = pagamentoLocalService.findByClassPk(fineLavori.getFineLavoriId()); + for (Pagamento pagamento : pagamenti) { + pagamentoLocalService.deletePagamento(pagamento); + } + + return super.deleteFineLavori(fineLavori); + } + + @Override + @Indexable(type = IndexableType.DELETE) + public FineLavori deleteFineLavori(long fineLavoriId) throws PortalException, SystemException { + + FineLavori fineLavori = fineLavoriPersistence.findByPrimaryKey(fineLavoriId); + + return deleteFineLavori(fineLavori); + } + + @Indexable(type = IndexableType.REINDEX) + public FineLavori updateFineLavori(long userId, long fineLavoriId, long intPraticaId, boolean parziale, + boolean completata, Date dataFineLavori, String codiceFiscaleDelegato, boolean normEsenteBollo, + boolean normEsenteCollaudo, String comunicazioneDirettoreLavori) + throws NoSuchFineLavoriException, SystemException { + + FineLavori fineLavori = fineLavoriPersistence.findByPrimaryKey(fineLavoriId); + + fineLavori.setParziale(parziale); + fineLavori.setCompletata(completata); + fineLavori.setDataFineLavori(dataFineLavori); + fineLavori.setCodiceFiscaleDelegato(codiceFiscaleDelegato); + fineLavori.setNormEsenteBollo(normEsenteBollo); + fineLavori.setNormEsenteCollaudo(normEsenteCollaudo); + fineLavori.setComunicazioneDirettoreLavori(comunicazioneDirettoreLavori); + + fineLavori = fineLavoriPersistence.update(fineLavori); + + return fineLavori; + } + + public FineLavori getLastEditable(long intPraticaId) throws SystemException { + + DynamicQuery dynamicQuery = dynamicQuery(); + dynamicQuery.add(RestrictionsFactoryUtil.eq("intPraticaId", intPraticaId)); + dynamicQuery.add(RestrictionsFactoryUtil.eq("completata", false)); + dynamicQuery.addOrder(OrderFactoryUtil.desc("fineLavoriId")); + List fineLavoriList = dynamicQuery(dynamicQuery, 0, 1); + if (!fineLavoriList.isEmpty()) { + return fineLavoriList.get(0); + } + return null; + } + + public FineLavori getLastCompleted(long intPraticaId) throws SystemException { + + DynamicQuery dynamicQuery = dynamicQuery(); + dynamicQuery.add(RestrictionsFactoryUtil.eq("intPraticaId", intPraticaId)); + dynamicQuery.add(RestrictionsFactoryUtil.eq("completata", true)); + dynamicQuery.addOrder(OrderFactoryUtil.desc("fineLavoriId")); + List fineLavoriList = dynamicQuery(dynamicQuery, 0, 1); + if (!fineLavoriList.isEmpty()) { + return fineLavoriList.get(0); + } + return null; + } + + public FineLavori pagaInvia(long fineLavoriId, String codiceFiscaleCommittente, String currentURL, + ServiceContext serviceContext) throws SystemException, PortalException { + + FineLavori fineLavori = fineLavoriPersistence.findByPrimaryKey(fineLavoriId); + + BigDecimal importoBolli = PagamentiCommonUtil.getImportoBolli(fineLavori.getCompanyId(), + fineLavori.getFineLavoriId(), FineLavori.class.getName(), TipoIntegrazioneUtil.FINE_LAVORI); + + fineLavori.setImportoBolli(importoBolli.toString()); + fineLavori = updateFineLavori(fineLavori); + + PagamentiUtil.nuovoPagamento(currentURL, fineLavori.getFineLavoriId(), FineLavori.class.getName(), + PagamentoConstants.PAGAMENTO_BOLLI, importoBolli.toString(), codiceFiscaleCommittente, + serviceContext); + + return fineLavori; + } + + // public void sostituisciPagamento(long pagamentoId, long fineLavoriId, + // String + // codiceFiscaleCommittente, String mezzo, + // String url, ServiceContext serviceContext) throws PortalException, + // SystemException { + // + // FineLavori fineLavori = getFineLavori(fineLavoriId); + // Pagamento pagamento = pagamentoLocalService.getPagamento(pagamentoId); + // String currentUtilizzata = pagamento.getUtilizzata(); + // String currentMezzo = pagamento.getMezzo(); + // + // boolean irisEnable = + // PagamentiUtil.irisIsEnable(pagamento.getCompanyId()); + // if (fineLavori.getPagamentoId() != pagamentoId) { + // throw new PortalException("Pagamento non abbinato alla Fine Lavori"); + // } + // if (mezzo.equalsIgnoreCase(PagamentoConstants.MEZZO_MANUALE)) { + // if (irisEnable) { + // throw new + // PortalException("Creazione pagamento manuale con iris enable non possibile"); + // } else if + // (currentUtilizzata.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_NON_PAGABILE) + // || + // currentUtilizzata.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_RIFIUTATA)) + // { + // fineLavori.setPagamentoId(0l); + // fineLavori = updateFineLavori(fineLavori); + // + // pagamento.setUtilizzata(PagamentoConstants.UTILIZZATA_SOSTITUITA); + // pagamentoLocalService.updatePagamento(pagamento); + // + // PagamentiUtil.nuovoPagamento(url, fineLavoriId, + // FineLavori.class.getName(), + // pagamento.getImportoBolli(), + // pagamento.getImportoSpeseIstruttoria(), codiceFiscaleCommittente, + // serviceContext); + // } else { + // throw new PortalException("Creazione pagamento manuale con stato " + + // currentUtilizzata + + // " non possibile"); + // } + // } else if (mezzo.equalsIgnoreCase(PagamentoConstants.MEZZO_IRIS)) { + // if (irisEnable + // && (currentMezzo.equalsIgnoreCase(PagamentoConstants.MEZZO_MANUALE) || + // (currentUtilizzata + // .equalsIgnoreCase(PagamentoConstants.UTILIZZATA_NON_PAGABILE) || + // currentUtilizzata + // .equalsIgnoreCase(PagamentoConstants.UTILIZZATA_RIFIUTATA)))) { + // + // fineLavori.setPagamentoId(0l); + // fineLavori = updateFineLavori(fineLavori); + // + // pagamento.setUtilizzata(PagamentoConstants.UTILIZZATA_SOSTITUITA); + // pagamentoLocalService.updatePagamento(pagamento); + // PagamentiUtil.nuovoPagamento(url, fineLavoriId, + // FineLavori.class.getName(), + // pagamento.getImportoBolli(), + // pagamento.getImportoSpeseIstruttoria(), codiceFiscaleCommittente, + // serviceContext); + // } else { + // throw new PortalException("Pagamento IRIS non sostituibile"); + // } + // + // } else { + // throw new PortalException("Mezzo non presente"); + // } + // + // } + + public void updateEsitoPagamento(long pagamentoId, long fineLavoriId, String stato) + throws SystemException, PortalException { + + updateEsitoPagamento(pagamentoId, fineLavoriId, 0l, stato); + } + + public void updateEsitoPagamento(long pagamentoId, long fineLavoriId, long fileEntryId, String stato) + throws SystemException, PortalException { + + Date now = new Date(); + FineLavori fineLavori = fineLavoriPersistence.fetchByPrimaryKey(fineLavoriId); + + fineLavori.setModifiedDate(now); + if (stato.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_PAGATA)) { + + fineLavori.setCompletata(true); + fineLavori.setDataEffettuazione(now); + fineLavori.setNumero(fineLavoriPersistence.countByIntPraticaId_Completata( + fineLavori.getIntPraticaId(), true) + 1); + fineLavori = updateFineLavori(fineLavori); + + updateIntPraticaStatus(fineLavori, fineLavori.getIntPraticaId()); + + docPraticaLocalService.completeInvalidation(fineLavori.getIntPraticaId()); + + IntPratica intPratica = intPraticaLocalService.getIntPratica(fineLavori.getIntPraticaId()); + if (WorkflowUtil.isWorkflowDisattivabile(fineLavori.getIntPraticaId()) + && Validator.isNotNull(intPratica.getStatusByUserId())) { + this.inviaMailnotifica(fineLavoriId, intPratica.getStatusByUserId(), now); + } + pagamentoLocalService.updatePagamentoUtilizzata(pagamentoId, stato); + } else if (stato.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_NON_PAGABILE) + || stato.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_RIFIUTATA) + || stato.equalsIgnoreCase(PagamentoConstants.UTILIZZATA_ANNULLATO)) { + pagamentoLocalService.updatePagamentoUtilizzata(pagamentoId, stato); + } + + } + + public FineLavori updateEsito(long fineLavoriId, int stato) throws SystemException, PortalException { + + Date now = new Date(); + FineLavori fineLavori = fineLavoriPersistence.fetchByPrimaryKey(fineLavoriId); + fineLavori.setModifiedDate(now); + + fineLavori.setCompletata(true); + fineLavori.setDataEffettuazione(now); + fineLavori.setNumero(fineLavoriPersistence.countByIntPraticaId_Completata( + fineLavori.getIntPraticaId(), true) + 1); + fineLavori = updateFineLavori(fineLavori); + + updateIntPraticaStatus(fineLavori, fineLavori.getIntPraticaId()); + + docPraticaLocalService.completeInvalidation(fineLavori.getIntPraticaId()); + + IntPratica intPratica = intPraticaLocalService.getIntPratica(fineLavori.getIntPraticaId()); + if (WorkflowUtil.isWorkflowDisattivabile(fineLavori.getIntPraticaId()) + && Validator.isNotNull(intPratica.getStatusByUserId())) { + this.inviaMailnotifica(fineLavoriId, intPratica.getStatusByUserId(), now); + } + + return fineLavori; + } + + private void inviaMailnotifica(long fineLavoriId, long tecnicoIstruttoreId, Date date) + throws SystemException, PortalException { + + FineLavori fineLavori = fineLavoriPersistence.fetchByPrimaryKey(fineLavoriId); + + User tecnicoIstruttore = userLocalService.getUser(tecnicoIstruttoreId); + + String[] to = { tecnicoIstruttore.getEmailAddress() }; + String[] cc = new String[0]; + String[] ccn = new String[0]; + + String tipoPratica = StringPool.BLANK; + long intPraticaId = fineLavori.getIntPraticaId(); + if (AzioniPraticheUtil.isDeposito(intPraticaId)) { + tipoPratica = LanguageUtil.get(LocaleUtil.ITALIAN, "tipo-pratica-01"); + } else if (AzioniPraticheUtil.isAutorizzazione(intPraticaId)) { + tipoPratica = LanguageUtil.get(LocaleUtil.ITALIAN, "tipo-pratica-02"); + } - JSONObject templateVariables = JSONFactoryUtil.createJSONObject(); - templateVariables.put("receiver", tecnicoIstruttore.getFullName()); - templateVariables.put("tipoPratica", tipoPratica); - templateVariables.put("tipoOggetto", - LanguageUtil.get(LocaleUtil.ITALIAN, "label-integrazione-" + (fineLavori.getParziale() ? "09" : "07"))); - templateVariables.put("dataInvio", FastDateFormatFactoryUtil.getSimpleDateFormat("dd/MM/yyyy HH:mm").format(date)); + JSONObject templateVariables = JSONFactoryUtil.createJSONObject(); + templateVariables.put("receiver", tecnicoIstruttore.getFullName()); + templateVariables.put("tipoPratica", tipoPratica); + templateVariables.put( + "tipoOggetto", + LanguageUtil.get(LocaleUtil.ITALIAN, "label-integrazione-" + + (fineLavori.getParziale() ? "09" : "07"))); + templateVariables.put("dataInvio", FastDateFormatFactoryUtil.getSimpleDateFormat("dd/MM/yyyy HH:mm") + .format(date)); - ServiceContext serviceContext = new ServiceContext(); - serviceContext.setScopeGroupId(fineLavori.getGroupId()); - serviceContext.setCompanyId(fineLavori.getCompanyId()); - serviceContext.setUserId(fineLavori.getUserId()); + ServiceContext serviceContext = new ServiceContext(); + serviceContext.setScopeGroupId(fineLavori.getGroupId()); + serviceContext.setCompanyId(fineLavori.getCompanyId()); + serviceContext.setUserId(fineLavori.getUserId()); - MailUtil.invioMailNotifica(fineLavori.getIntPraticaId(), 0l, fineLavoriId, FineLavori.class.getName(), to, cc, ccn, - "NOTIFICA-BO", templateVariables, null, serviceContext); - } + MailUtil.invioMailNotifica(fineLavori.getIntPraticaId(), 0l, fineLavoriId, + FineLavori.class.getName(), to, cc, ccn, "NOTIFICA-BO", templateVariables, null, + serviceContext); + } - private IntPratica updateIntPraticaStatus(FineLavori fineLavori, long intPraticaId) throws PortalException, - SystemException { + private IntPratica updateIntPraticaStatus(FineLavori fineLavori, long intPraticaId) + throws PortalException, SystemException { - IntPratica intPratica = intPraticaLocalService.getIntPratica(intPraticaId); - if (fineLavori.isParziale()) { - intPratica.setFineLavoriParziale(true); - } else { - intPratica.setFineLavoriTotale(true); - } - intPratica = intPraticaLocalService.updateIntPratica(intPratica); - return intPratica; - } + IntPratica intPratica = intPraticaLocalService.getIntPratica(intPraticaId); + if (fineLavori.isParziale()) { + intPratica.setFineLavoriParziale(true); + } else { + intPratica.setFineLavoriTotale(true); + } + intPratica = intPraticaLocalService.updateIntPratica(intPratica); + return intPratica; + } - public FineLavori updateFineLavoriProtocollo(long fineLavoriId, String protocollo) throws PortalException, - SystemException { + public FineLavori updateFineLavoriProtocollo(long fineLavoriId, String protocollo) + throws PortalException, SystemException { - FineLavori fineLavori = fineLavoriLocalService.fetchFineLavori(fineLavoriId); - fineLavori.setModifiedDate(new Date()); - fineLavori.setProtocollo(protocollo); - fineLavori.setDtProtocollo(new Date()); - fineLavori = fineLavoriLocalService.updateFineLavori(fineLavori); + FineLavori fineLavori = fineLavoriLocalService.fetchFineLavori(fineLavoriId); + fineLavori.setModifiedDate(new Date()); + fineLavori.setProtocollo(protocollo); + fineLavori.setDtProtocollo(new Date()); + fineLavori = fineLavoriLocalService.updateFineLavori(fineLavori); - return fineLavori; - } + return fineLavori; + } - public FineLavori findByProtocollo(long companyId, long groupId, String protocollo) throws PortalException, - SystemException { + public FineLavori findByProtocollo(long companyId, long groupId, String protocollo) + throws PortalException, SystemException { - return fineLavoriPersistence.findByC_G_Protocollo(companyId, groupId, protocollo); - } + return fineLavoriPersistence.findByC_G_Protocollo(companyId, groupId, protocollo); + } - public FineLavori fetchByProtocollo(long companyId, long groupId, String protocollo) throws PortalException, - SystemException { + public FineLavori fetchByProtocollo(long companyId, long groupId, String protocollo) + throws PortalException, SystemException { - return fineLavoriPersistence.fetchByC_G_Protocollo(companyId, groupId, protocollo); - } + return fineLavoriPersistence.fetchByC_G_Protocollo(companyId, groupId, protocollo); + } - public FineLavori fetchByProtocollo(String protocollo) throws PortalException, SystemException { + public FineLavori fetchByProtocollo(String protocollo) throws PortalException, SystemException { - return fineLavoriPersistence.fetchByProtocollo(protocollo); - } + return fineLavoriPersistence.fetchByProtocollo(protocollo); + } - public List findByIntPraticaId(long intPraticaId, int start, int end, OrderByComparator orderByComparator) - throws SystemException { + public List findByIntPraticaId(long intPraticaId, int start, int end, + OrderByComparator orderByComparator) throws SystemException { - return fineLavoriPersistence.findByIntPraticaId(intPraticaId, start, end, orderByComparator); - } + return fineLavoriPersistence.findByIntPraticaId(intPraticaId, start, end, orderByComparator); + } - public int countByIntPraticaId(long intPraticaId) throws SystemException { + public int countByIntPraticaId(long intPraticaId) throws SystemException { - return fineLavoriPersistence.countByIntPraticaId(intPraticaId); - } + return fineLavoriPersistence.countByIntPraticaId(intPraticaId); + } - public List findByIntPraticaId_Parziale(long intPraticaId, boolean parziale, int start, int end, - OrderByComparator orderByComparator) throws SystemException { + public List findByIntPraticaId_Parziale(long intPraticaId, boolean parziale, int start, + int end, OrderByComparator orderByComparator) throws SystemException { - return fineLavoriPersistence.findByIntPraticaId_Parziale(intPraticaId, parziale, start, end, orderByComparator); - } + return fineLavoriPersistence.findByIntPraticaId_Parziale(intPraticaId, parziale, start, end, + orderByComparator); + } - public int countByIntPraticaId_Parziale(long intPraticaId, boolean parziale) throws SystemException { + public int countByIntPraticaId_Parziale(long intPraticaId, boolean parziale) throws SystemException { - return fineLavoriPersistence.countByIntPraticaId_Parziale(intPraticaId, parziale); - } + return fineLavoriPersistence.countByIntPraticaId_Parziale(intPraticaId, parziale); + } - public List findByIntPraticaId_Completata(long intPraticaId, boolean completata, int start, int end, - OrderByComparator orderByComparator) throws SystemException { + public List findByIntPraticaId_Completata(long intPraticaId, boolean completata, int start, + int end, OrderByComparator orderByComparator) throws SystemException { - return fineLavoriPersistence.findByIntPraticaId_Completata(intPraticaId, completata, start, end, orderByComparator); - } + return fineLavoriPersistence.findByIntPraticaId_Completata(intPraticaId, completata, start, end, + orderByComparator); + } - public int countByIntPraticaId_Completata(long intPraticaId, boolean completata) throws SystemException { + public int countByIntPraticaId_Completata(long intPraticaId, boolean completata) throws SystemException { - return fineLavoriPersistence.countByIntPraticaId_Completata(intPraticaId, completata); - } + return fineLavoriPersistence.countByIntPraticaId_Completata(intPraticaId, completata); + } - public List findByIntPraticaId_CodiceFiscale(long intPraticaId, String codiceFiscaleDelegato, int start, - int end, OrderByComparator orderByComparator) throws SystemException { + public List findByIntPraticaId_CodiceFiscale(long intPraticaId, String codiceFiscaleDelegato, + int start, int end, OrderByComparator orderByComparator) throws SystemException { - return fineLavoriPersistence.findByIntPraticaId_CodiceFiscale(intPraticaId, codiceFiscaleDelegato, start, end, - orderByComparator); - } + return fineLavoriPersistence.findByIntPraticaId_CodiceFiscale(intPraticaId, codiceFiscaleDelegato, + start, end, orderByComparator); + } - public int countByIntPraticaId_CodiceFiscale(long intPraticaId, String codiceFiscaleDelegato) throws SystemException { + public int countByIntPraticaId_CodiceFiscale(long intPraticaId, String codiceFiscaleDelegato) + throws SystemException { - return fineLavoriPersistence.countByIntPraticaId_CodiceFiscale(intPraticaId, codiceFiscaleDelegato); - } + return fineLavoriPersistence.countByIntPraticaId_CodiceFiscale(intPraticaId, codiceFiscaleDelegato); + } - public List findByCodiceFiscale_Completata(String codiceFiscaleDelegato, boolean completata, int start, - int end, OrderByComparator orderByComparator) throws SystemException { + public List findByCodiceFiscale_Completata(String codiceFiscaleDelegato, boolean completata, + int start, int end, OrderByComparator orderByComparator) throws SystemException { - return fineLavoriPersistence.findByCodiceFiscale_Completata(codiceFiscaleDelegato, completata, start, end, - orderByComparator); - } + return fineLavoriPersistence.findByCodiceFiscale_Completata(codiceFiscaleDelegato, completata, start, + end, orderByComparator); + } - public int countByCodiceFiscale_Completata(String codiceFiscaleDelegato, boolean completata) throws SystemException { + public int countByCodiceFiscale_Completata(String codiceFiscaleDelegato, boolean completata) + throws SystemException { - return fineLavoriPersistence.countByCodiceFiscale_Completata(codiceFiscaleDelegato, completata); - } + return fineLavoriPersistence.countByCodiceFiscale_Completata(codiceFiscaleDelegato, completata); + } - public List findByIntPraticaId_Parziale_Completata(long intPraticaId, boolean parziale, - boolean completata, int start, int end, OrderByComparator orderByComparator) throws SystemException { + public List findByIntPraticaId_Parziale_Completata(long intPraticaId, boolean parziale, + boolean completata, int start, int end, OrderByComparator orderByComparator) + throws SystemException { - return fineLavoriPersistence.findByIntPraticaId_Parziale_Completata(intPraticaId, parziale, completata, start, end, - orderByComparator); - } + return fineLavoriPersistence.findByIntPraticaId_Parziale_Completata(intPraticaId, parziale, + completata, start, end, orderByComparator); + } - public int countByIntPraticaId_Parziale_Completata(long intPraticaId, boolean parziale, boolean completata) - throws SystemException { + public int countByIntPraticaId_Parziale_Completata(long intPraticaId, boolean parziale, boolean completata) + throws SystemException { - return fineLavoriPersistence.countByIntPraticaId_Parziale_Completata(intPraticaId, parziale, completata); - } + return fineLavoriPersistence.countByIntPraticaId_Parziale_Completata(intPraticaId, parziale, + completata); + } - public List findByIntPraticaId_Parziale_leFineLavoriId(long fineLavoriId, long intPraticaId, - boolean parziale, int start, int end, OrderByComparator orderByComparator) throws SystemException { + public List findByIntPraticaId_Parziale_leFineLavoriId(long fineLavoriId, long intPraticaId, + boolean parziale, int start, int end, OrderByComparator orderByComparator) throws SystemException { - DynamicQuery dynamicQuery = dynamicQuery(); - dynamicQuery.add(RestrictionsFactoryUtil.eq("intPraticaId", intPraticaId)); - dynamicQuery.add(RestrictionsFactoryUtil.lt("fineLavoriId", fineLavoriId)); - dynamicQuery.add(RestrictionsFactoryUtil.eq("parziale", parziale)); + DynamicQuery dynamicQuery = dynamicQuery(); + dynamicQuery.add(RestrictionsFactoryUtil.eq("intPraticaId", intPraticaId)); + dynamicQuery.add(RestrictionsFactoryUtil.lt("fineLavoriId", fineLavoriId)); + dynamicQuery.add(RestrictionsFactoryUtil.eq("parziale", parziale)); - return dynamicQuery(dynamicQuery, start, end, orderByComparator); - } + return dynamicQuery(dynamicQuery, start, end, orderByComparator); + } - public int countByIntPraticaId_Parziale_leFineLavoriId(long fineLavoriId, long intPraticaId, boolean parziale) - throws SystemException { + public int countByIntPraticaId_Parziale_leFineLavoriId(long fineLavoriId, long intPraticaId, + boolean parziale) throws SystemException { - DynamicQuery dynamicQuery = dynamicQuery(); - dynamicQuery.add(RestrictionsFactoryUtil.eq("intPraticaId", intPraticaId)); - dynamicQuery.add(RestrictionsFactoryUtil.lt("fineLavoriId", fineLavoriId)); - dynamicQuery.add(RestrictionsFactoryUtil.eq("parziale", parziale)); + DynamicQuery dynamicQuery = dynamicQuery(); + dynamicQuery.add(RestrictionsFactoryUtil.eq("intPraticaId", intPraticaId)); + dynamicQuery.add(RestrictionsFactoryUtil.lt("fineLavoriId", fineLavoriId)); + dynamicQuery.add(RestrictionsFactoryUtil.eq("parziale", parziale)); - List results = dynamicQuery(dynamicQuery); - return results.isEmpty() ? 0 : results.size(); - } + List results = dynamicQuery(dynamicQuery); + return results.isEmpty() ? 0 : results.size(); + } - public List findFineLavoriCompleteNotProtocollo(int start, int end) throws SystemException { + public List findFineLavoriCompleteNotProtocollo(int start, int end) throws SystemException { - DynamicQuery dynamicQuery = getDynamicQueryFineLavoriCompleteNotProtocollo(); - dynamicQuery.addOrder(OrderFactoryUtil.asc("createDate")); - return fineLavoriPersistence.findWithDynamicQuery(dynamicQuery, start, end); - } + DynamicQuery dynamicQuery = getDynamicQueryFineLavoriCompleteNotProtocollo(); + dynamicQuery.addOrder(OrderFactoryUtil.asc("createDate")); + return fineLavoriPersistence.findWithDynamicQuery(dynamicQuery, start, end); + } - public int countFineLavoriCompleteNotProtocollo() throws SystemException { + public int countFineLavoriCompleteNotProtocollo() throws SystemException { - DynamicQuery dynamicQuery = getDynamicQueryFineLavoriCompleteNotProtocollo(); - return (int) fineLavoriPersistence.countWithDynamicQuery(dynamicQuery); - } + DynamicQuery dynamicQuery = getDynamicQueryFineLavoriCompleteNotProtocollo(); + return (int) fineLavoriPersistence.countWithDynamicQuery(dynamicQuery); + } - private DynamicQuery getDynamicQueryFineLavoriCompleteNotProtocollo() { + private DynamicQuery getDynamicQueryFineLavoriCompleteNotProtocollo() { - DynamicQuery dynamicQuery = fineLavoriLocalService.dynamicQuery(); - dynamicQuery.add(RestrictionsFactoryUtil.eq("completata", true)); - dynamicQuery.add(RestrictionsFactoryUtil.eq("gestita", false)); - Disjunction or = RestrictionsFactoryUtil.disjunction(); - or.add(RestrictionsFactoryUtil.eq("protocollo", StringPool.BLANK)); - or.add(RestrictionsFactoryUtil.isNull("protocollo")); - dynamicQuery.add(or); - return dynamicQuery; - } + DynamicQuery dynamicQuery = fineLavoriLocalService.dynamicQuery(); + dynamicQuery.add(RestrictionsFactoryUtil.eq("completata", true)); + dynamicQuery.add(RestrictionsFactoryUtil.eq("gestita", false)); + Disjunction or = RestrictionsFactoryUtil.disjunction(); + or.add(RestrictionsFactoryUtil.eq("protocollo", StringPool.BLANK)); + or.add(RestrictionsFactoryUtil.isNull("protocollo")); + dynamicQuery.add(or); + return dynamicQuery; + } - public List findFineLavoriCompleteNotGestite(int start, int end) throws SystemException { + public List findFineLavoriCompleteNotGestite(int start, int end) throws SystemException { - DynamicQuery dynamicQuery = getDynamicQueryFineLavoriCompleteNotGestite(); - dynamicQuery.addOrder(OrderFactoryUtil.asc("createDate")); - return fineLavoriPersistence.findWithDynamicQuery(dynamicQuery, start, end); - } + DynamicQuery dynamicQuery = getDynamicQueryFineLavoriCompleteNotGestite(); + dynamicQuery.addOrder(OrderFactoryUtil.asc("createDate")); + return fineLavoriPersistence.findWithDynamicQuery(dynamicQuery, start, end); + } - public int countFineLavoriCompleteNotGestite() throws SystemException { + public int countFineLavoriCompleteNotGestite() throws SystemException { - DynamicQuery dynamicQuery = getDynamicQueryFineLavoriCompleteNotGestite(); - return (int) fineLavoriPersistence.countWithDynamicQuery(dynamicQuery); - } + DynamicQuery dynamicQuery = getDynamicQueryFineLavoriCompleteNotGestite(); + return (int) fineLavoriPersistence.countWithDynamicQuery(dynamicQuery); + } - private DynamicQuery getDynamicQueryFineLavoriCompleteNotGestite() { + private DynamicQuery getDynamicQueryFineLavoriCompleteNotGestite() { - DynamicQuery dynamicQuery = fineLavoriLocalService.dynamicQuery(); - dynamicQuery.add(RestrictionsFactoryUtil.eq("completata", true)); - dynamicQuery.add(RestrictionsFactoryUtil.eq("gestita", false)); - dynamicQuery.add(RestrictionsFactoryUtil.ne("protocollo", StringPool.BLANK)); - dynamicQuery.add(RestrictionsFactoryUtil.isNotNull("protocollo")); - return dynamicQuery; - } + DynamicQuery dynamicQuery = fineLavoriLocalService.dynamicQuery(); + dynamicQuery.add(RestrictionsFactoryUtil.eq("completata", true)); + dynamicQuery.add(RestrictionsFactoryUtil.eq("gestita", false)); + dynamicQuery.add(RestrictionsFactoryUtil.ne("protocollo", StringPool.BLANK)); + dynamicQuery.add(RestrictionsFactoryUtil.isNotNull("protocollo")); + return dynamicQuery; + } - public List findIntPraticaByFineLavori() throws PortalException, SystemException { + public List findIntPraticaByFineLavori() throws PortalException, SystemException { - DynamicQuery dynamicQuery = fineLavoriLocalService.dynamicQuery(); - dynamicQuery.add(RestrictionsFactoryUtil.eq("completata", true)); - dynamicQuery.setProjection(ProjectionFactoryUtil.distinct(ProjectionFactoryUtil.property("intPraticaId"))); - List ids = fineLavoriPersistence.findWithDynamicQuery(dynamicQuery); + DynamicQuery dynamicQuery = fineLavoriLocalService.dynamicQuery(); + dynamicQuery.add(RestrictionsFactoryUtil.eq("completata", true)); + dynamicQuery.setProjection(ProjectionFactoryUtil.distinct(ProjectionFactoryUtil + .property("intPraticaId"))); + List ids = fineLavoriPersistence.findWithDynamicQuery(dynamicQuery); - return ids; - } - - public List findIntPraticaByFineLavori(String codiceFiscaleDelegatoCollaudo) throws PortalException, SystemException { + return ids; + } - DynamicQuery dynamicQuery = fineLavoriLocalService.dynamicQuery(); - dynamicQuery.add(RestrictionsFactoryUtil.eq("completata", true)); - dynamicQuery.add(RestrictionsFactoryUtil.ilike("codiceFiscaleDelegatoCollaudo", codiceFiscaleDelegatoCollaudo)); - dynamicQuery.setProjection(ProjectionFactoryUtil.distinct(ProjectionFactoryUtil.property("intPraticaId"))); - List ids = fineLavoriPersistence.findWithDynamicQuery(dynamicQuery); - - return ids; - } + public List findIntPraticaByFineLavori(String codiceFiscaleDelegatoCollaudo) + throws PortalException, SystemException { + DynamicQuery dynamicQuery = fineLavoriLocalService.dynamicQuery(); + dynamicQuery.add(RestrictionsFactoryUtil.eq("completata", true)); + dynamicQuery.add(RestrictionsFactoryUtil.ilike("codiceFiscaleDelegatoCollaudo", + codiceFiscaleDelegatoCollaudo)); + dynamicQuery.setProjection(ProjectionFactoryUtil.distinct(ProjectionFactoryUtil + .property("intPraticaId"))); + List ids = fineLavoriPersistence.findWithDynamicQuery(dynamicQuery); - // public List findIntPraticaByFineLavoriParziale(boolean parziale, List - // intPraticaIds) - // throws PortalException, SystemException { - // - // DynamicQuery dynamicQuery = fineLavoriLocalService.dynamicQuery(); - // dynamicQuery.add(RestrictionsFactoryUtil.in("intPraticaId", intPraticaIds)); - // dynamicQuery.add(RestrictionsFactoryUtil.eq("parziale", parziale)); - // dynamicQuery.setProjection(ProjectionFactoryUtil.distinct(ProjectionFactoryUtil.property("intPraticaId"))); - // List ids = fineLavoriPersistence.findWithDynamicQuery(dynamicQuery); - // - // return ids; - // } - // - - public FineLavori fetchByOldDettPraticaId(long oldDettPraticaId) throws SystemException { - - return fineLavoriPersistence.fetchByOldDettPraticaId(oldDettPraticaId); - } + return ids; + } } diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaLocalServiceImpl.java index d7e75876..6f938baa 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaLocalServiceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaLocalServiceImpl.java @@ -278,8 +278,8 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl { public IntPratica addIntPratica(long userId, String userName, String tipoPratica, long territorioId, String tipoProcedura, Date dtSorteggio, String statoPratica, String numeroProgetto, - boolean validata, int esitoControllo, Date dtPratica, long oldIntPraticaId, - ServiceContext serviceContext) throws PortalException, SystemException { + boolean validata, int esitoControllo, Date dtPratica, ServiceContext serviceContext) + throws PortalException, SystemException { Date now = new Date(); @@ -315,8 +315,6 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl { intPratica.setEsitoControllo(esitoControllo); intPratica.setDtPratica(dtPratica); - intPratica.setOldIntPraticaId(oldIntPraticaId); - intPratica = intPraticaPersistence.update(intPratica); return intPratica; @@ -781,11 +779,6 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl { return intPraticaPersistence.countByC_UserId(companyId, userId); } - public IntPratica fetchByOldIntPraticaId(long oldIntPraticaId) throws SystemException { - - return intPraticaPersistence.fetchByOldIntPraticaId(oldIntPraticaId); - } - public void updateStatus(long intPraticaId, int status) throws PortalException, SystemException { IntPratica intPratica = intPraticaLocalService.getIntPratica(intPraticaId); diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/AllegatoManualePersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/AllegatoManualePersistenceImpl.java index b040f227..5c96356f 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/AllegatoManualePersistenceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/AllegatoManualePersistenceImpl.java @@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchAllegatoManualeException; import it.tref.liferay.portos.bo.model.AllegatoManuale; import it.tref.liferay.portos.bo.model.impl.AllegatoManualeImpl; import it.tref.liferay.portos.bo.model.impl.AllegatoManualeModelImpl; +import it.tref.liferay.portos.bo.service.persistence.AllegatoManualePersistence; import java.io.Serializable; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/AsseverazionePersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/AsseverazionePersistenceImpl.java index 63caa01d..15633d6f 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/AsseverazionePersistenceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/AsseverazionePersistenceImpl.java @@ -46,6 +46,7 @@ import it.tref.liferay.portos.bo.NoSuchAsseverazioneException; import it.tref.liferay.portos.bo.model.Asseverazione; import it.tref.liferay.portos.bo.model.impl.AsseverazioneImpl; import it.tref.liferay.portos.bo.model.impl.AsseverazioneModelImpl; +import it.tref.liferay.portos.bo.service.persistence.AsseverazionePersistence; import java.io.Serializable; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/AvvisoPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/AvvisoPersistenceImpl.java index b95c271d..38e33edc 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/AvvisoPersistenceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/AvvisoPersistenceImpl.java @@ -46,6 +46,7 @@ import it.tref.liferay.portos.bo.NoSuchAvvisoException; import it.tref.liferay.portos.bo.model.Avviso; import it.tref.liferay.portos.bo.model.impl.AvvisoImpl; import it.tref.liferay.portos.bo.model.impl.AvvisoModelImpl; +import it.tref.liferay.portos.bo.service.persistence.AvvisoPersistence; import java.io.Serializable; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/CollaudoPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/CollaudoPersistenceImpl.java index a0e6a43b..02dcaba3 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/CollaudoPersistenceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/CollaudoPersistenceImpl.java @@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchCollaudoException; import it.tref.liferay.portos.bo.model.Collaudo; import it.tref.liferay.portos.bo.model.impl.CollaudoImpl; import it.tref.liferay.portos.bo.model.impl.CollaudoModelImpl; +import it.tref.liferay.portos.bo.service.persistence.CollaudoPersistence; import java.io.Serializable; @@ -4758,226 +4759,6 @@ public class CollaudoPersistenceImpl extends BasePersistenceImpl private static final String _FINDER_COLUMN_INTPRATICAID_PARZIALE_INTPRATICAID_2 = "collaudo.intPraticaId = ? AND "; private static final String _FINDER_COLUMN_INTPRATICAID_PARZIALE_PARZIALE_2 = "collaudo.parziale = ?"; - public static final FinderPath FINDER_PATH_FETCH_BY_OLDDETTPRATICAID = new FinderPath(CollaudoModelImpl.ENTITY_CACHE_ENABLED, - CollaudoModelImpl.FINDER_CACHE_ENABLED, CollaudoImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByOldDettPraticaId", - new String[] { Long.class.getName() }, - CollaudoModelImpl.OLDDETTPRATICAID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_OLDDETTPRATICAID = new FinderPath(CollaudoModelImpl.ENTITY_CACHE_ENABLED, - CollaudoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByOldDettPraticaId", new String[] { Long.class.getName() }); - - /** - * Returns the collaudo where oldDettPraticaId = ? or throws a {@link it.tref.liferay.portos.bo.NoSuchCollaudoException} if it could not be found. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the matching collaudo - * @throws it.tref.liferay.portos.bo.NoSuchCollaudoException if a matching collaudo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public Collaudo findByOldDettPraticaId(long oldDettPraticaId) - throws NoSuchCollaudoException, SystemException { - Collaudo collaudo = fetchByOldDettPraticaId(oldDettPraticaId); - - if (collaudo == null) { - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("oldDettPraticaId="); - msg.append(oldDettPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchCollaudoException(msg.toString()); - } - - return collaudo; - } - - /** - * Returns the collaudo where oldDettPraticaId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the matching collaudo, or null if a matching collaudo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public Collaudo fetchByOldDettPraticaId(long oldDettPraticaId) - throws SystemException { - return fetchByOldDettPraticaId(oldDettPraticaId, true); - } - - /** - * Returns the collaudo where oldDettPraticaId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param oldDettPraticaId the old dett pratica ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching collaudo, or null if a matching collaudo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public Collaudo fetchByOldDettPraticaId(long oldDettPraticaId, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { oldDettPraticaId }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_OLDDETTPRATICAID, - finderArgs, this); - } - - if (result instanceof Collaudo) { - Collaudo collaudo = (Collaudo)result; - - if ((oldDettPraticaId != collaudo.getOldDettPraticaId())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_SELECT_COLLAUDO_WHERE); - - query.append(_FINDER_COLUMN_OLDDETTPRATICAID_OLDDETTPRATICAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(oldDettPraticaId); - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_OLDDETTPRATICAID, - finderArgs, list); - } - else { - if ((list.size() > 1) && _log.isWarnEnabled()) { - _log.warn( - "CollaudoPersistenceImpl.fetchByOldDettPraticaId(long, boolean) with parameters (" + - StringUtil.merge(finderArgs) + - ") yields a result set with more than 1 result. This violates the logical unique restriction. There is no order guarantee on which result is returned by this finder."); - } - - Collaudo collaudo = list.get(0); - - result = collaudo; - - cacheResult(collaudo); - - if ((collaudo.getOldDettPraticaId() != oldDettPraticaId)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_OLDDETTPRATICAID, - finderArgs, collaudo); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_OLDDETTPRATICAID, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (Collaudo)result; - } - } - - /** - * Removes the collaudo where oldDettPraticaId = ? from the database. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the collaudo that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public Collaudo removeByOldDettPraticaId(long oldDettPraticaId) - throws NoSuchCollaudoException, SystemException { - Collaudo collaudo = findByOldDettPraticaId(oldDettPraticaId); - - return remove(collaudo); - } - - /** - * Returns the number of collaudos where oldDettPraticaId = ?. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the number of matching collaudos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByOldDettPraticaId(long oldDettPraticaId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_OLDDETTPRATICAID; - - Object[] finderArgs = new Object[] { oldDettPraticaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_COLLAUDO_WHERE); - - query.append(_FINDER_COLUMN_OLDDETTPRATICAID_OLDDETTPRATICAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(oldDettPraticaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_OLDDETTPRATICAID_OLDDETTPRATICAID_2 = - "collaudo.oldDettPraticaId = ?"; public CollaudoPersistenceImpl() { setModelClass(Collaudo.class); @@ -5005,9 +4786,6 @@ public class CollaudoPersistenceImpl extends BasePersistenceImpl collaudo.getProtocollo() }, collaudo); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_OLDDETTPRATICAID, - new Object[] { collaudo.getOldDettPraticaId() }, collaudo); - collaudo.resetOriginalValues(); } @@ -5108,13 +4886,6 @@ public class CollaudoPersistenceImpl extends BasePersistenceImpl args, Long.valueOf(1)); FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, args, collaudo); - - args = new Object[] { collaudo.getOldDettPraticaId() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_OLDDETTPRATICAID, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_OLDDETTPRATICAID, - args, collaudo); } else { CollaudoModelImpl collaudoModelImpl = (CollaudoModelImpl)collaudo; @@ -5153,16 +4924,6 @@ public class CollaudoPersistenceImpl extends BasePersistenceImpl FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, args, collaudo); } - - if ((collaudoModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_OLDDETTPRATICAID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { collaudo.getOldDettPraticaId() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_OLDDETTPRATICAID, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_OLDDETTPRATICAID, - args, collaudo); - } } } @@ -5219,21 +4980,6 @@ public class CollaudoPersistenceImpl extends BasePersistenceImpl FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, args); } - - args = new Object[] { collaudo.getOldDettPraticaId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_OLDDETTPRATICAID, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_OLDDETTPRATICAID, args); - - if ((collaudoModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_OLDDETTPRATICAID.getColumnBitmask()) != 0) { - args = new Object[] { collaudoModelImpl.getOriginalOldDettPraticaId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_OLDDETTPRATICAID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_OLDDETTPRATICAID, - args); - } } /** @@ -5579,7 +5325,6 @@ public class CollaudoPersistenceImpl extends BasePersistenceImpl collaudoImpl.setMezzoPagamento(collaudo.getMezzoPagamento()); collaudoImpl.setNormEsenteBollo(collaudo.isNormEsenteBollo()); collaudoImpl.setImportoBolli(collaudo.getImportoBolli()); - collaudoImpl.setOldDettPraticaId(collaudo.getOldDettPraticaId()); return collaudoImpl; } diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ComunePersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ComunePersistenceImpl.java index b0b64b21..4a23bffd 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ComunePersistenceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ComunePersistenceImpl.java @@ -46,6 +46,7 @@ import it.tref.liferay.portos.bo.NoSuchComuneException; import it.tref.liferay.portos.bo.model.Comune; import it.tref.liferay.portos.bo.model.impl.ComuneImpl; import it.tref.liferay.portos.bo.model.impl.ComuneModelImpl; +import it.tref.liferay.portos.bo.service.persistence.ComunePersistence; import java.io.Serializable; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ComunicazionePersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ComunicazionePersistenceImpl.java index 0b7f9ee2..f5b8166f 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ComunicazionePersistenceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ComunicazionePersistenceImpl.java @@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchComunicazioneException; import it.tref.liferay.portos.bo.model.Comunicazione; import it.tref.liferay.portos.bo.model.impl.ComunicazioneImpl; import it.tref.liferay.portos.bo.model.impl.ComunicazioneModelImpl; +import it.tref.liferay.portos.bo.service.persistence.ComunicazionePersistence; import java.io.Serializable; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ConfigurazionePersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ConfigurazionePersistenceImpl.java index 66507dd0..32809343 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ConfigurazionePersistenceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ConfigurazionePersistenceImpl.java @@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchConfigurazioneException; import it.tref.liferay.portos.bo.model.Configurazione; import it.tref.liferay.portos.bo.model.impl.ConfigurazioneImpl; import it.tref.liferay.portos.bo.model.impl.ConfigurazioneModelImpl; +import it.tref.liferay.portos.bo.service.persistence.ConfigurazionePersistence; import java.io.Serializable; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ControlloPraticaPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ControlloPraticaPersistenceImpl.java index 48cf51eb..a4fa6f91 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ControlloPraticaPersistenceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ControlloPraticaPersistenceImpl.java @@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchControlloPraticaException; import it.tref.liferay.portos.bo.model.ControlloPratica; import it.tref.liferay.portos.bo.model.impl.ControlloPraticaImpl; import it.tref.liferay.portos.bo.model.impl.ControlloPraticaModelImpl; +import it.tref.liferay.portos.bo.service.persistence.ControlloPraticaPersistence; import java.io.Serializable; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/DelegaPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/DelegaPersistenceImpl.java index 402cecd0..8c56fb32 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/DelegaPersistenceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/DelegaPersistenceImpl.java @@ -46,6 +46,7 @@ import it.tref.liferay.portos.bo.NoSuchDelegaException; import it.tref.liferay.portos.bo.model.Delega; import it.tref.liferay.portos.bo.model.impl.DelegaImpl; import it.tref.liferay.portos.bo.model.impl.DelegaModelImpl; +import it.tref.liferay.portos.bo.service.persistence.DelegaPersistence; import java.io.Serializable; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/DettPraticaPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/DettPraticaPersistenceImpl.java index 6c8a6a04..f35bff1b 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/DettPraticaPersistenceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/DettPraticaPersistenceImpl.java @@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchDettPraticaException; import it.tref.liferay.portos.bo.model.DettPratica; import it.tref.liferay.portos.bo.model.impl.DettPraticaImpl; import it.tref.liferay.portos.bo.model.impl.DettPraticaModelImpl; +import it.tref.liferay.portos.bo.service.persistence.DettPraticaPersistence; import java.io.Serializable; @@ -2495,226 +2496,6 @@ public class DettPraticaPersistenceImpl extends BasePersistenceImpl private static final String _FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_1 = "dettPratica.protocollo IS NULL"; private static final String _FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_2 = "dettPratica.protocollo = ?"; private static final String _FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_3 = "(dettPratica.protocollo IS NULL OR dettPratica.protocollo = '')"; - public static final FinderPath FINDER_PATH_FETCH_BY_OLDDETTPRATICA = new FinderPath(DettPraticaModelImpl.ENTITY_CACHE_ENABLED, - DettPraticaModelImpl.FINDER_CACHE_ENABLED, DettPraticaImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByOldDettPratica", - new String[] { Long.class.getName() }, - DettPraticaModelImpl.OLDDETTPRATICAID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_OLDDETTPRATICA = new FinderPath(DettPraticaModelImpl.ENTITY_CACHE_ENABLED, - DettPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByOldDettPratica", - new String[] { Long.class.getName() }); - - /** - * Returns the dett pratica where oldDettPraticaId = ? or throws a {@link it.tref.liferay.portos.bo.NoSuchDettPraticaException} if it could not be found. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the matching dett pratica - * @throws it.tref.liferay.portos.bo.NoSuchDettPraticaException if a matching dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public DettPratica findByOldDettPratica(long oldDettPraticaId) - throws NoSuchDettPraticaException, SystemException { - DettPratica dettPratica = fetchByOldDettPratica(oldDettPraticaId); - - if (dettPratica == null) { - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("oldDettPraticaId="); - msg.append(oldDettPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchDettPraticaException(msg.toString()); - } - - return dettPratica; - } - - /** - * Returns the dett pratica where oldDettPraticaId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the matching dett pratica, or null if a matching dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public DettPratica fetchByOldDettPratica(long oldDettPraticaId) - throws SystemException { - return fetchByOldDettPratica(oldDettPraticaId, true); - } - - /** - * Returns the dett pratica where oldDettPraticaId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param oldDettPraticaId the old dett pratica ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching dett pratica, or null if a matching dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public DettPratica fetchByOldDettPratica(long oldDettPraticaId, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { oldDettPraticaId }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_OLDDETTPRATICA, - finderArgs, this); - } - - if (result instanceof DettPratica) { - DettPratica dettPratica = (DettPratica)result; - - if ((oldDettPraticaId != dettPratica.getOldDettPraticaId())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_SELECT_DETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_OLDDETTPRATICA_OLDDETTPRATICAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(oldDettPraticaId); - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_OLDDETTPRATICA, - finderArgs, list); - } - else { - if ((list.size() > 1) && _log.isWarnEnabled()) { - _log.warn( - "DettPraticaPersistenceImpl.fetchByOldDettPratica(long, boolean) with parameters (" + - StringUtil.merge(finderArgs) + - ") yields a result set with more than 1 result. This violates the logical unique restriction. There is no order guarantee on which result is returned by this finder."); - } - - DettPratica dettPratica = list.get(0); - - result = dettPratica; - - cacheResult(dettPratica); - - if ((dettPratica.getOldDettPraticaId() != oldDettPraticaId)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_OLDDETTPRATICA, - finderArgs, dettPratica); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_OLDDETTPRATICA, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (DettPratica)result; - } - } - - /** - * Removes the dett pratica where oldDettPraticaId = ? from the database. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public DettPratica removeByOldDettPratica(long oldDettPraticaId) - throws NoSuchDettPraticaException, SystemException { - DettPratica dettPratica = findByOldDettPratica(oldDettPraticaId); - - return remove(dettPratica); - } - - /** - * Returns the number of dett praticas where oldDettPraticaId = ?. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the number of matching dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByOldDettPratica(long oldDettPraticaId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_OLDDETTPRATICA; - - Object[] finderArgs = new Object[] { oldDettPraticaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_DETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_OLDDETTPRATICA_OLDDETTPRATICAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(oldDettPraticaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_OLDDETTPRATICA_OLDDETTPRATICAID_2 = - "dettPratica.oldDettPraticaId = ?"; public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_INTPRATICAID_TIPOINTEGRAZIONE_COMPLETA = new FinderPath(DettPraticaModelImpl.ENTITY_CACHE_ENABLED, DettPraticaModelImpl.FINDER_CACHE_ENABLED, DettPraticaImpl.class, @@ -3951,226 +3732,6 @@ public class DettPraticaPersistenceImpl extends BasePersistenceImpl "dettPratica.tipoIntegrazione = ?"; private static final String _FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_TIPOINTEGRAZIONE_3 = "(dettPratica.tipoIntegrazione IS NULL OR dettPratica.tipoIntegrazione = '')"; - public static final FinderPath FINDER_PATH_FETCH_BY_OLDDETTPRATICAID = new FinderPath(DettPraticaModelImpl.ENTITY_CACHE_ENABLED, - DettPraticaModelImpl.FINDER_CACHE_ENABLED, DettPraticaImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByOldDettPraticaId", - new String[] { Long.class.getName() }, - DettPraticaModelImpl.OLDDETTPRATICAID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_OLDDETTPRATICAID = new FinderPath(DettPraticaModelImpl.ENTITY_CACHE_ENABLED, - DettPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByOldDettPraticaId", new String[] { Long.class.getName() }); - - /** - * Returns the dett pratica where oldDettPraticaId = ? or throws a {@link it.tref.liferay.portos.bo.NoSuchDettPraticaException} if it could not be found. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the matching dett pratica - * @throws it.tref.liferay.portos.bo.NoSuchDettPraticaException if a matching dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public DettPratica findByOldDettPraticaId(long oldDettPraticaId) - throws NoSuchDettPraticaException, SystemException { - DettPratica dettPratica = fetchByOldDettPraticaId(oldDettPraticaId); - - if (dettPratica == null) { - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("oldDettPraticaId="); - msg.append(oldDettPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchDettPraticaException(msg.toString()); - } - - return dettPratica; - } - - /** - * Returns the dett pratica where oldDettPraticaId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the matching dett pratica, or null if a matching dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public DettPratica fetchByOldDettPraticaId(long oldDettPraticaId) - throws SystemException { - return fetchByOldDettPraticaId(oldDettPraticaId, true); - } - - /** - * Returns the dett pratica where oldDettPraticaId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param oldDettPraticaId the old dett pratica ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching dett pratica, or null if a matching dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public DettPratica fetchByOldDettPraticaId(long oldDettPraticaId, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { oldDettPraticaId }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_OLDDETTPRATICAID, - finderArgs, this); - } - - if (result instanceof DettPratica) { - DettPratica dettPratica = (DettPratica)result; - - if ((oldDettPraticaId != dettPratica.getOldDettPraticaId())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_SELECT_DETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_OLDDETTPRATICAID_OLDDETTPRATICAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(oldDettPraticaId); - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_OLDDETTPRATICAID, - finderArgs, list); - } - else { - if ((list.size() > 1) && _log.isWarnEnabled()) { - _log.warn( - "DettPraticaPersistenceImpl.fetchByOldDettPraticaId(long, boolean) with parameters (" + - StringUtil.merge(finderArgs) + - ") yields a result set with more than 1 result. This violates the logical unique restriction. There is no order guarantee on which result is returned by this finder."); - } - - DettPratica dettPratica = list.get(0); - - result = dettPratica; - - cacheResult(dettPratica); - - if ((dettPratica.getOldDettPraticaId() != oldDettPraticaId)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_OLDDETTPRATICAID, - finderArgs, dettPratica); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_OLDDETTPRATICAID, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (DettPratica)result; - } - } - - /** - * Removes the dett pratica where oldDettPraticaId = ? from the database. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public DettPratica removeByOldDettPraticaId(long oldDettPraticaId) - throws NoSuchDettPraticaException, SystemException { - DettPratica dettPratica = findByOldDettPraticaId(oldDettPraticaId); - - return remove(dettPratica); - } - - /** - * Returns the number of dett praticas where oldDettPraticaId = ?. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the number of matching dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByOldDettPraticaId(long oldDettPraticaId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_OLDDETTPRATICAID; - - Object[] finderArgs = new Object[] { oldDettPraticaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_DETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_OLDDETTPRATICAID_OLDDETTPRATICAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(oldDettPraticaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_OLDDETTPRATICAID_OLDDETTPRATICAID_2 = - "dettPratica.oldDettPraticaId = ?"; public DettPraticaPersistenceImpl() { setModelClass(DettPratica.class); @@ -4199,12 +3760,6 @@ public class DettPraticaPersistenceImpl extends BasePersistenceImpl dettPratica.getProtocollo() }, dettPratica); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_OLDDETTPRATICA, - new Object[] { dettPratica.getOldDettPraticaId() }, dettPratica); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_OLDDETTPRATICAID, - new Object[] { dettPratica.getOldDettPraticaId() }, dettPratica); - dettPratica.resetOriginalValues(); } @@ -4305,20 +3860,6 @@ public class DettPraticaPersistenceImpl extends BasePersistenceImpl args, Long.valueOf(1)); FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, args, dettPratica); - - args = new Object[] { dettPratica.getOldDettPraticaId() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_OLDDETTPRATICA, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_OLDDETTPRATICA, - args, dettPratica); - - args = new Object[] { dettPratica.getOldDettPraticaId() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_OLDDETTPRATICAID, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_OLDDETTPRATICAID, - args, dettPratica); } else { DettPraticaModelImpl dettPraticaModelImpl = (DettPraticaModelImpl)dettPratica; @@ -4357,26 +3898,6 @@ public class DettPraticaPersistenceImpl extends BasePersistenceImpl FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, args, dettPratica); } - - if ((dettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_OLDDETTPRATICA.getColumnBitmask()) != 0) { - Object[] args = new Object[] { dettPratica.getOldDettPraticaId() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_OLDDETTPRATICA, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_OLDDETTPRATICA, - args, dettPratica); - } - - if ((dettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_OLDDETTPRATICAID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { dettPratica.getOldDettPraticaId() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_OLDDETTPRATICAID, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_OLDDETTPRATICAID, - args, dettPratica); - } } } @@ -4435,40 +3956,6 @@ public class DettPraticaPersistenceImpl extends BasePersistenceImpl FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, args); } - - args = new Object[] { dettPratica.getOldDettPraticaId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_OLDDETTPRATICA, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_OLDDETTPRATICA, args); - - if ((dettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_OLDDETTPRATICA.getColumnBitmask()) != 0) { - args = new Object[] { - dettPraticaModelImpl.getOriginalOldDettPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_OLDDETTPRATICA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_OLDDETTPRATICA, - args); - } - - args = new Object[] { dettPratica.getOldDettPraticaId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_OLDDETTPRATICAID, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_OLDDETTPRATICAID, args); - - if ((dettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_OLDDETTPRATICAID.getColumnBitmask()) != 0) { - args = new Object[] { - dettPraticaModelImpl.getOriginalOldDettPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_OLDDETTPRATICAID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_OLDDETTPRATICAID, - args); - } } /** @@ -4782,7 +4269,6 @@ public class DettPraticaPersistenceImpl extends BasePersistenceImpl dettPraticaImpl.setWorkflowForzato(dettPratica.isWorkflowForzato()); dettPraticaImpl.setSoggettoSostituitoId(dettPratica.getSoggettoSostituitoId()); dettPraticaImpl.setDtInvioSignal(dettPratica.getDtInvioSignal()); - dettPraticaImpl.setOldDettPraticaId(dettPratica.getOldDettPraticaId()); dettPraticaImpl.setDestinazione(dettPratica.getDestinazione()); dettPraticaImpl.setAg(dettPratica.getAg()); dettPraticaImpl.setDescLongIntervento(dettPratica.getDescLongIntervento()); diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/DocAggiuntivaPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/DocAggiuntivaPersistenceImpl.java index 649a5476..c25ae1dc 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/DocAggiuntivaPersistenceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/DocAggiuntivaPersistenceImpl.java @@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchDocAggiuntivaException; import it.tref.liferay.portos.bo.model.DocAggiuntiva; import it.tref.liferay.portos.bo.model.impl.DocAggiuntivaImpl; import it.tref.liferay.portos.bo.model.impl.DocAggiuntivaModelImpl; +import it.tref.liferay.portos.bo.service.persistence.DocAggiuntivaPersistence; import java.io.Serializable; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/DocPraticaPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/DocPraticaPersistenceImpl.java index 42630357..255330f7 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/DocPraticaPersistenceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/DocPraticaPersistenceImpl.java @@ -46,6 +46,7 @@ import it.tref.liferay.portos.bo.NoSuchDocPraticaException; import it.tref.liferay.portos.bo.model.DocPratica; import it.tref.liferay.portos.bo.model.impl.DocPraticaImpl; import it.tref.liferay.portos.bo.model.impl.DocPraticaModelImpl; +import it.tref.liferay.portos.bo.service.persistence.DocPraticaPersistence; import java.io.Serializable; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/FineLavoriPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/FineLavoriPersistenceImpl.java index a5f79405..15f0504f 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/FineLavoriPersistenceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/FineLavoriPersistenceImpl.java @@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchFineLavoriException; import it.tref.liferay.portos.bo.model.FineLavori; import it.tref.liferay.portos.bo.model.impl.FineLavoriImpl; import it.tref.liferay.portos.bo.model.impl.FineLavoriModelImpl; +import it.tref.liferay.portos.bo.service.persistence.FineLavoriPersistence; import java.io.Serializable; @@ -5355,226 +5356,6 @@ public class FineLavoriPersistenceImpl extends BasePersistenceImpl "fineLavori.parziale = ? AND "; private static final String _FINDER_COLUMN_INTPRATICAID_PARZIALE_COMPLETATA_COMPLETATA_2 = "fineLavori.completata = ?"; - public static final FinderPath FINDER_PATH_FETCH_BY_OLDDETTPRATICAID = new FinderPath(FineLavoriModelImpl.ENTITY_CACHE_ENABLED, - FineLavoriModelImpl.FINDER_CACHE_ENABLED, FineLavoriImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByOldDettPraticaId", - new String[] { Long.class.getName() }, - FineLavoriModelImpl.OLDDETTPRATICAID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_OLDDETTPRATICAID = new FinderPath(FineLavoriModelImpl.ENTITY_CACHE_ENABLED, - FineLavoriModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByOldDettPraticaId", new String[] { Long.class.getName() }); - - /** - * Returns the fine lavori where oldDettPraticaId = ? or throws a {@link it.tref.liferay.portos.bo.NoSuchFineLavoriException} if it could not be found. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the matching fine lavori - * @throws it.tref.liferay.portos.bo.NoSuchFineLavoriException if a matching fine lavori could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FineLavori findByOldDettPraticaId(long oldDettPraticaId) - throws NoSuchFineLavoriException, SystemException { - FineLavori fineLavori = fetchByOldDettPraticaId(oldDettPraticaId); - - if (fineLavori == null) { - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("oldDettPraticaId="); - msg.append(oldDettPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchFineLavoriException(msg.toString()); - } - - return fineLavori; - } - - /** - * Returns the fine lavori where oldDettPraticaId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the matching fine lavori, or null if a matching fine lavori could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FineLavori fetchByOldDettPraticaId(long oldDettPraticaId) - throws SystemException { - return fetchByOldDettPraticaId(oldDettPraticaId, true); - } - - /** - * Returns the fine lavori where oldDettPraticaId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param oldDettPraticaId the old dett pratica ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching fine lavori, or null if a matching fine lavori could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FineLavori fetchByOldDettPraticaId(long oldDettPraticaId, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { oldDettPraticaId }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_OLDDETTPRATICAID, - finderArgs, this); - } - - if (result instanceof FineLavori) { - FineLavori fineLavori = (FineLavori)result; - - if ((oldDettPraticaId != fineLavori.getOldDettPraticaId())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_SELECT_FINELAVORI_WHERE); - - query.append(_FINDER_COLUMN_OLDDETTPRATICAID_OLDDETTPRATICAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(oldDettPraticaId); - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_OLDDETTPRATICAID, - finderArgs, list); - } - else { - if ((list.size() > 1) && _log.isWarnEnabled()) { - _log.warn( - "FineLavoriPersistenceImpl.fetchByOldDettPraticaId(long, boolean) with parameters (" + - StringUtil.merge(finderArgs) + - ") yields a result set with more than 1 result. This violates the logical unique restriction. There is no order guarantee on which result is returned by this finder."); - } - - FineLavori fineLavori = list.get(0); - - result = fineLavori; - - cacheResult(fineLavori); - - if ((fineLavori.getOldDettPraticaId() != oldDettPraticaId)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_OLDDETTPRATICAID, - finderArgs, fineLavori); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_OLDDETTPRATICAID, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (FineLavori)result; - } - } - - /** - * Removes the fine lavori where oldDettPraticaId = ? from the database. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the fine lavori that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public FineLavori removeByOldDettPraticaId(long oldDettPraticaId) - throws NoSuchFineLavoriException, SystemException { - FineLavori fineLavori = findByOldDettPraticaId(oldDettPraticaId); - - return remove(fineLavori); - } - - /** - * Returns the number of fine lavoris where oldDettPraticaId = ?. - * - * @param oldDettPraticaId the old dett pratica ID - * @return the number of matching fine lavoris - * @throws SystemException if a system exception occurred - */ - @Override - public int countByOldDettPraticaId(long oldDettPraticaId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_OLDDETTPRATICAID; - - Object[] finderArgs = new Object[] { oldDettPraticaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_FINELAVORI_WHERE); - - query.append(_FINDER_COLUMN_OLDDETTPRATICAID_OLDDETTPRATICAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(oldDettPraticaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_OLDDETTPRATICAID_OLDDETTPRATICAID_2 = - "fineLavori.oldDettPraticaId = ?"; public FineLavoriPersistenceImpl() { setModelClass(FineLavori.class); @@ -5603,9 +5384,6 @@ public class FineLavoriPersistenceImpl extends BasePersistenceImpl fineLavori.getProtocollo() }, fineLavori); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_OLDDETTPRATICAID, - new Object[] { fineLavori.getOldDettPraticaId() }, fineLavori); - fineLavori.resetOriginalValues(); } @@ -5706,13 +5484,6 @@ public class FineLavoriPersistenceImpl extends BasePersistenceImpl args, Long.valueOf(1)); FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, args, fineLavori); - - args = new Object[] { fineLavori.getOldDettPraticaId() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_OLDDETTPRATICAID, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_OLDDETTPRATICAID, - args, fineLavori); } else { FineLavoriModelImpl fineLavoriModelImpl = (FineLavoriModelImpl)fineLavori; @@ -5751,16 +5522,6 @@ public class FineLavoriPersistenceImpl extends BasePersistenceImpl FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, args, fineLavori); } - - if ((fineLavoriModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_OLDDETTPRATICAID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { fineLavori.getOldDettPraticaId() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_OLDDETTPRATICAID, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_OLDDETTPRATICAID, - args, fineLavori); - } } } @@ -5819,23 +5580,6 @@ public class FineLavoriPersistenceImpl extends BasePersistenceImpl FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, args); } - - args = new Object[] { fineLavori.getOldDettPraticaId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_OLDDETTPRATICAID, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_OLDDETTPRATICAID, args); - - if ((fineLavoriModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_OLDDETTPRATICAID.getColumnBitmask()) != 0) { - args = new Object[] { - fineLavoriModelImpl.getOriginalOldDettPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_OLDDETTPRATICAID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_OLDDETTPRATICAID, - args); - } } /** @@ -6210,7 +5954,6 @@ public class FineLavoriPersistenceImpl extends BasePersistenceImpl fineLavoriImpl.setCausalePagamento(fineLavori.getCausalePagamento()); fineLavoriImpl.setMezzoPagamento(fineLavori.getMezzoPagamento()); fineLavoriImpl.setImportoBolli(fineLavori.getImportoBolli()); - fineLavoriImpl.setOldDettPraticaId(fineLavori.getOldDettPraticaId()); return fineLavoriImpl; } diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/HistoryWorkflowActionPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/HistoryWorkflowActionPersistenceImpl.java index ad50d7ea..f80406ab 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/HistoryWorkflowActionPersistenceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/HistoryWorkflowActionPersistenceImpl.java @@ -42,6 +42,7 @@ import it.tref.liferay.portos.bo.NoSuchHistoryWorkflowActionException; import it.tref.liferay.portos.bo.model.HistoryWorkflowAction; import it.tref.liferay.portos.bo.model.impl.HistoryWorkflowActionImpl; import it.tref.liferay.portos.bo.model.impl.HistoryWorkflowActionModelImpl; +import it.tref.liferay.portos.bo.service.persistence.HistoryWorkflowActionPersistence; import java.io.Serializable; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/IUVPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/IUVPersistenceImpl.java index a6ba54ac..6f469f0e 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/IUVPersistenceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/IUVPersistenceImpl.java @@ -46,6 +46,7 @@ import it.tref.liferay.portos.bo.NoSuchIUVException; import it.tref.liferay.portos.bo.model.IUV; import it.tref.liferay.portos.bo.model.impl.IUVImpl; import it.tref.liferay.portos.bo.model.impl.IUVModelImpl; +import it.tref.liferay.portos.bo.service.persistence.IUVPersistence; import java.io.Serializable; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/InfoFascicoloPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/InfoFascicoloPersistenceImpl.java index 12f22a0a..b85535de 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/InfoFascicoloPersistenceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/InfoFascicoloPersistenceImpl.java @@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchInfoFascicoloException; import it.tref.liferay.portos.bo.model.InfoFascicolo; import it.tref.liferay.portos.bo.model.impl.InfoFascicoloImpl; import it.tref.liferay.portos.bo.model.impl.InfoFascicoloModelImpl; +import it.tref.liferay.portos.bo.service.persistence.InfoFascicoloPersistence; import java.io.Serializable; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/IntPraticaPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/IntPraticaPersistenceImpl.java index 307036e1..bb4019f2 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/IntPraticaPersistenceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/IntPraticaPersistenceImpl.java @@ -48,6 +48,7 @@ import it.tref.liferay.portos.bo.NoSuchIntPraticaException; import it.tref.liferay.portos.bo.model.IntPratica; import it.tref.liferay.portos.bo.model.impl.IntPraticaImpl; import it.tref.liferay.portos.bo.model.impl.IntPraticaModelImpl; +import it.tref.liferay.portos.bo.service.persistence.IntPraticaPersistence; import java.io.Serializable; @@ -3393,226 +3394,6 @@ public class IntPraticaPersistenceImpl extends BasePersistenceImpl private static final String _FINDER_COLUMN_C_GROUP_COMPANYID_2 = "intPratica.companyId = ? AND "; private static final String _FINDER_COLUMN_C_GROUP_GROUPID_2 = "intPratica.groupId = ?"; - public static final FinderPath FINDER_PATH_FETCH_BY_OLDINTPRATICAID = new FinderPath(IntPraticaModelImpl.ENTITY_CACHE_ENABLED, - IntPraticaModelImpl.FINDER_CACHE_ENABLED, IntPraticaImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByOldIntPraticaId", - new String[] { Long.class.getName() }, - IntPraticaModelImpl.OLDINTPRATICAID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_OLDINTPRATICAID = new FinderPath(IntPraticaModelImpl.ENTITY_CACHE_ENABLED, - IntPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByOldIntPraticaId", new String[] { Long.class.getName() }); - - /** - * Returns the int pratica where oldIntPraticaId = ? or throws a {@link it.tref.liferay.portos.bo.NoSuchIntPraticaException} if it could not be found. - * - * @param oldIntPraticaId the old int pratica ID - * @return the matching int pratica - * @throws it.tref.liferay.portos.bo.NoSuchIntPraticaException if a matching int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public IntPratica findByOldIntPraticaId(long oldIntPraticaId) - throws NoSuchIntPraticaException, SystemException { - IntPratica intPratica = fetchByOldIntPraticaId(oldIntPraticaId); - - if (intPratica == null) { - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("oldIntPraticaId="); - msg.append(oldIntPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchIntPraticaException(msg.toString()); - } - - return intPratica; - } - - /** - * Returns the int pratica where oldIntPraticaId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param oldIntPraticaId the old int pratica ID - * @return the matching int pratica, or null if a matching int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public IntPratica fetchByOldIntPraticaId(long oldIntPraticaId) - throws SystemException { - return fetchByOldIntPraticaId(oldIntPraticaId, true); - } - - /** - * Returns the int pratica where oldIntPraticaId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param oldIntPraticaId the old int pratica ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching int pratica, or null if a matching int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public IntPratica fetchByOldIntPraticaId(long oldIntPraticaId, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { oldIntPraticaId }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_OLDINTPRATICAID, - finderArgs, this); - } - - if (result instanceof IntPratica) { - IntPratica intPratica = (IntPratica)result; - - if ((oldIntPraticaId != intPratica.getOldIntPraticaId())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_SELECT_INTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_OLDINTPRATICAID_OLDINTPRATICAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(oldIntPraticaId); - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_OLDINTPRATICAID, - finderArgs, list); - } - else { - if ((list.size() > 1) && _log.isWarnEnabled()) { - _log.warn( - "IntPraticaPersistenceImpl.fetchByOldIntPraticaId(long, boolean) with parameters (" + - StringUtil.merge(finderArgs) + - ") yields a result set with more than 1 result. This violates the logical unique restriction. There is no order guarantee on which result is returned by this finder."); - } - - IntPratica intPratica = list.get(0); - - result = intPratica; - - cacheResult(intPratica); - - if ((intPratica.getOldIntPraticaId() != oldIntPraticaId)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_OLDINTPRATICAID, - finderArgs, intPratica); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_OLDINTPRATICAID, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (IntPratica)result; - } - } - - /** - * Removes the int pratica where oldIntPraticaId = ? from the database. - * - * @param oldIntPraticaId the old int pratica ID - * @return the int pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public IntPratica removeByOldIntPraticaId(long oldIntPraticaId) - throws NoSuchIntPraticaException, SystemException { - IntPratica intPratica = findByOldIntPraticaId(oldIntPraticaId); - - return remove(intPratica); - } - - /** - * Returns the number of int praticas where oldIntPraticaId = ?. - * - * @param oldIntPraticaId the old int pratica ID - * @return the number of matching int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByOldIntPraticaId(long oldIntPraticaId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_OLDINTPRATICAID; - - Object[] finderArgs = new Object[] { oldIntPraticaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_INTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_OLDINTPRATICAID_OLDINTPRATICAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(oldIntPraticaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_OLDINTPRATICAID_OLDINTPRATICAID_2 = - "intPratica.oldIntPraticaId = ?"; public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_P = new FinderPath(IntPraticaModelImpl.ENTITY_CACHE_ENABLED, IntPraticaModelImpl.FINDER_CACHE_ENABLED, IntPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByP", @@ -4191,9 +3972,6 @@ public class IntPraticaPersistenceImpl extends BasePersistenceImpl new Object[] { intPratica.getUuid(), intPratica.getGroupId() }, intPratica); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_OLDINTPRATICAID, - new Object[] { intPratica.getOldIntPraticaId() }, intPratica); - intPratica.resetOriginalValues(); } @@ -4277,13 +4055,6 @@ public class IntPraticaPersistenceImpl extends BasePersistenceImpl Long.valueOf(1)); FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, intPratica); - - args = new Object[] { intPratica.getOldIntPraticaId() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_OLDINTPRATICAID, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_OLDINTPRATICAID, - args, intPratica); } else { IntPraticaModelImpl intPraticaModelImpl = (IntPraticaModelImpl)intPratica; @@ -4299,16 +4070,6 @@ public class IntPraticaPersistenceImpl extends BasePersistenceImpl FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, intPratica); } - - if ((intPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_OLDINTPRATICAID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { intPratica.getOldIntPraticaId() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_OLDINTPRATICAID, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_OLDINTPRATICAID, - args, intPratica); - } } } @@ -4332,21 +4093,6 @@ public class IntPraticaPersistenceImpl extends BasePersistenceImpl FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); } - - args = new Object[] { intPratica.getOldIntPraticaId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_OLDINTPRATICAID, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_OLDINTPRATICAID, args); - - if ((intPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_OLDINTPRATICAID.getColumnBitmask()) != 0) { - args = new Object[] { intPraticaModelImpl.getOriginalOldIntPraticaId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_OLDINTPRATICAID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_OLDINTPRATICAID, - args); - } } /** @@ -4663,7 +4409,6 @@ public class IntPraticaPersistenceImpl extends BasePersistenceImpl intPraticaImpl.setStatusDate(intPratica.getStatusDate()); intPraticaImpl.setEsitoControllo(intPratica.getEsitoControllo()); intPraticaImpl.setDtPratica(intPratica.getDtPratica()); - intPraticaImpl.setOldIntPraticaId(intPratica.getOldIntPraticaId()); intPraticaImpl.setSospesa(intPratica.isSospesa()); intPraticaImpl.setDtSospensione(intPratica.getDtSospensione()); intPraticaImpl.setCodiceFiscaleDelegatoFineLavori(intPratica.getCodiceFiscaleDelegatoFineLavori()); diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/PagamentoPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/PagamentoPersistenceImpl.java index 8dbf29df..ee3b3b9b 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/PagamentoPersistenceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/PagamentoPersistenceImpl.java @@ -46,6 +46,7 @@ import it.tref.liferay.portos.bo.NoSuchPagamentoException; import it.tref.liferay.portos.bo.model.Pagamento; import it.tref.liferay.portos.bo.model.impl.PagamentoImpl; import it.tref.liferay.portos.bo.model.impl.PagamentoModelImpl; +import it.tref.liferay.portos.bo.service.persistence.PagamentoPersistence; import java.io.Serializable; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ParereGeologoPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ParereGeologoPersistenceImpl.java index c6ce3907..e4133c60 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ParereGeologoPersistenceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ParereGeologoPersistenceImpl.java @@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchParereGeologoException; import it.tref.liferay.portos.bo.model.ParereGeologo; import it.tref.liferay.portos.bo.model.impl.ParereGeologoImpl; import it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl; +import it.tref.liferay.portos.bo.service.persistence.ParereGeologoPersistence; import java.io.Serializable; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ProvinciaPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ProvinciaPersistenceImpl.java index daa33e1b..2c7a846f 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ProvinciaPersistenceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ProvinciaPersistenceImpl.java @@ -43,6 +43,7 @@ import it.tref.liferay.portos.bo.NoSuchProvinciaException; import it.tref.liferay.portos.bo.model.Provincia; import it.tref.liferay.portos.bo.model.impl.ProvinciaImpl; import it.tref.liferay.portos.bo.model.impl.ProvinciaModelImpl; +import it.tref.liferay.portos.bo.service.persistence.ProvinciaPersistence; import java.io.Serializable; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/SoggettoPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/SoggettoPersistenceImpl.java index 29c4a390..ef2db5f2 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/SoggettoPersistenceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/SoggettoPersistenceImpl.java @@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchSoggettoException; import it.tref.liferay.portos.bo.model.Soggetto; import it.tref.liferay.portos.bo.model.impl.SoggettoImpl; import it.tref.liferay.portos.bo.model.impl.SoggettoModelImpl; +import it.tref.liferay.portos.bo.service.persistence.SoggettoPersistence; import java.io.Serializable; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/SorteggioPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/SorteggioPersistenceImpl.java index ec8a983f..fc566b28 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/SorteggioPersistenceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/SorteggioPersistenceImpl.java @@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchSorteggioException; import it.tref.liferay.portos.bo.model.Sorteggio; import it.tref.liferay.portos.bo.model.impl.SorteggioImpl; import it.tref.liferay.portos.bo.model.impl.SorteggioModelImpl; +import it.tref.liferay.portos.bo.service.persistence.SorteggioPersistence; import java.io.Serializable; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/StoricoSoggettoPraticaPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/StoricoSoggettoPraticaPersistenceImpl.java index 78333501..0c095d3d 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/StoricoSoggettoPraticaPersistenceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/StoricoSoggettoPraticaPersistenceImpl.java @@ -42,6 +42,7 @@ import it.tref.liferay.portos.bo.NoSuchStoricoSoggettoPraticaException; import it.tref.liferay.portos.bo.model.StoricoSoggettoPratica; import it.tref.liferay.portos.bo.model.impl.StoricoSoggettoPraticaImpl; import it.tref.liferay.portos.bo.model.impl.StoricoSoggettoPraticaModelImpl; +import it.tref.liferay.portos.bo.service.persistence.StoricoSoggettoPraticaPersistence; import java.io.Serializable; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/TempisticaPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/TempisticaPersistenceImpl.java index 720078c4..252fc452 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/TempisticaPersistenceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/TempisticaPersistenceImpl.java @@ -45,6 +45,7 @@ import it.tref.liferay.portos.bo.NoSuchTempisticaException; import it.tref.liferay.portos.bo.model.Tempistica; import it.tref.liferay.portos.bo.model.impl.TempisticaImpl; import it.tref.liferay.portos.bo.model.impl.TempisticaModelImpl; +import it.tref.liferay.portos.bo.service.persistence.TempisticaPersistence; import java.io.Serializable; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/TerritorioPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/TerritorioPersistenceImpl.java index a9c7f7d5..c8e0dee9 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/TerritorioPersistenceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/TerritorioPersistenceImpl.java @@ -44,6 +44,7 @@ import it.tref.liferay.portos.bo.NoSuchTerritorioException; import it.tref.liferay.portos.bo.model.Territorio; import it.tref.liferay.portos.bo.model.impl.TerritorioImpl; import it.tref.liferay.portos.bo.model.impl.TerritorioModelImpl; +import it.tref.liferay.portos.bo.service.persistence.TerritorioPersistence; import java.io.Serializable; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/UtentePortosPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/UtentePortosPersistenceImpl.java index 89f06b61..83b7ed61 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/UtentePortosPersistenceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/UtentePortosPersistenceImpl.java @@ -43,6 +43,7 @@ import it.tref.liferay.portos.bo.NoSuchUtentePortosException; import it.tref.liferay.portos.bo.model.UtentePortos; import it.tref.liferay.portos.bo.model.impl.UtentePortosImpl; import it.tref.liferay.portos.bo.model.impl.UtentePortosModelImpl; +import it.tref.liferay.portos.bo.service.persistence.UtentePortosPersistence; import java.io.Serializable; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties index 12f2c6e0..1dad63f8 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties @@ -13,8 +13,8 @@ ## build.namespace=portos_bo - build.number=2449 - build.date=1601365956878 + build.number=2458 + build.date=1601547633470 build.auto.upgrade=true ## diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/cronologia/view.jsp b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/cronologia/view.jsp index 05e0cb11..c064d7bd 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/cronologia/view.jsp +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/cronologia/view.jsp @@ -208,23 +208,6 @@ List historyWorkflowActions = HistoryWorkflowActionLocalServiceUtil.findByIntPratica(intPraticaId, sort); %> - - <% - InfoFascicolo infoFascicolo = InfoFascicoloLocalServiceUtil.fetchByIntPratica(intPratica.getIntPraticaId()); - %> - -
-
- - - - - -
-
-
-
-
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/header.jsp b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/header.jsp index b5ba1663..a11da8ca 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/header.jsp +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/header.jsp @@ -98,15 +98,4 @@
- - -
-
- - - - -
-
-
\ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/page_allegati.jsp b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/page_allegati.jsp index c7bf1861..65b249fb 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/page_allegati.jsp +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/fascicolo/navigator/page_allegati.jsp @@ -67,9 +67,6 @@ <% List tipologiaAllegati = DocumentiPraticaUtil.getDocDomanda(); - if(Validator.isNotNull(intPratica.getOldIntPraticaId())){ - tipologiaAllegati.addAll(DocumentiPraticaUtil.getDocDomandaPortos1()); - } for(String codiceDoc:tipologiaAllegati){ List docPraticas = DocPraticaLocalServiceUtil.findByIntPratica_Tipologia(dettPratica.getIntPraticaId(), codiceDoc, QueryUtil.ALL_POS, QueryUtil.ALL_POS); %> diff --git a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/fe/portlet/AllegatiPraticaPortlet.java b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/fe/portlet/AllegatiPraticaPortlet.java index 2acf9624..bdb8c63d 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/fe/portlet/AllegatiPraticaPortlet.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/fe/portlet/AllegatiPraticaPortlet.java @@ -61,310 +61,313 @@ import org.apache.commons.codec.digest.DigestUtils; */ public class AllegatiPraticaPortlet extends MVCPortlet { - private static Log _log = LogFactoryUtil.getLog(AllegatiPraticaPortlet.class); - - public void deleteDoc(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { - - long docPraticaId = ParamUtil.getLong(actionRequest, "docPraticaId"); - String comingFrom = ParamUtil.getString(actionRequest, "comingFrom"); - ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest); - - // TODO rivedere assolutamente il controllo - boolean controllo = false; - if (comingFrom.equalsIgnoreCase("page_fine_lavori") || comingFrom.equalsIgnoreCase("page_collaudo")) { - controllo = true; - } else { - controllo = - DelegheUtil.hasDelegaDeleteFile(serviceContext.getUserId(), docPraticaId, - "page_geologo".equalsIgnoreCase(comingFrom)); - } - - if (controllo) { - DocPraticaServiceUtil.deleteDocPratica(docPraticaId); - } - } - - public void uploadAllegato(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { - - UploadPortletRequest uploadRequest = PortalUtil.getUploadPortletRequest(actionRequest); - - long classPk = ParamUtil.getLong(uploadRequest, "classPk"); - String className = ParamUtil.getString(uploadRequest, "className"); - long intPraticaId = ParamUtil.getLong(uploadRequest, "intPraticaId"); - try { - - User user = PortalUtil.getUser(actionRequest); - ServiceContext serviceContext = ServiceContextFactory.getInstance(uploadRequest); - - String tipologia = ParamUtil.getString(uploadRequest, "tipologia"); - - String sourceFileName = uploadRequest.getFileName("docFile"); - - boolean applicaFirma = ParamUtil.getBoolean(uploadRequest, "applicaFirma"); - - File file = uploadRequest.getFile("docFile"); - - if (Validator.isNotNull(sourceFileName)) { - // validazione: solo alcune estensioni - String ext = FileUtil.getExtension(sourceFileName); - if (!ext.equalsIgnoreCase("p7m") && !ext.equalsIgnoreCase("pdf") && !ext.equalsIgnoreCase("dwg")) { - SessionErrors.add(actionRequest, "error.geniocivilefe.pratica.allegato.ext.valid"); - } - // lunghezza fissata a 200 - if (sourceFileName.length() > 200) { - SessionErrors.add(actionRequest, "error.geniocivilefe.pratica.allegato.length.valid"); - } - // Manifattura Web Group, mofidica per rendere la dimensione massima degli allegati configurabile - // da pannello di controllo. In origine era hardcoded a 20971520 byte. - Company company = PortalUtil.getCompany(actionRequest); - int dimensioneMassimaAllegati = (int) ((Short) company.getExpandoBridge() - .getAttribute(Constants.COMPANY_CUSTOM_FIELD_DIMENSIONE_MASSIMA_ALLEGATI_IN_MIB, false)).shortValue(); - if (file.length() > dimensioneMassimaAllegati * 1048576) { - SessionErrors.add(actionRequest, "error.geniocivilefe.pratica.allegato.dimension.valid"); - } - - } else { - SessionErrors.add(actionRequest, "error.geniocivilefe.pratica.allegato.is.request"); - } - - if (SessionErrors.isEmpty(actionRequest)) { - - // Si controlla che il tipo allegato sia di quelli che prevedono un solo file - - if (file != null && !sourceFileName.equals("")) { - - byte[] bites = FileUtil.getBytes(file); - - boolean praticaValidata = false; - String sha256 = DigestUtils.sha256Hex(bites); - String version = "0"; - String descLong = sourceFileName; - boolean aggiornato = false; - String jsonFirmatari = ""; - FirmeBean firmeBean = new FirmeBean(); - if (applicaFirma) { - jsonFirmatari = FirmeUtil.addFirma(firmeBean, user.getScreenName()); - } else { - jsonFirmatari = FirmeUtil.serialize(firmeBean); - } - - long intPraticaIdRimozione = 0; - long dettPraticaIdRimozione = 0; - Date dtDataRimozione = null; - // TODO attenzione perche' questo controllo potrebbe non andare bene per integrazioni e - // varianti - boolean isUnivoco = DocumentiPraticaUtil.getDocUnivoci().contains(tipologia); - if (isUnivoco && DocPraticaLocalServiceUtil.countByClassPk_Tipologia(classPk, tipologia) > 0) { - SessionErrors.add(actionRequest, "error.geniocivilefe.allegato.univoco"); - } - if (SessionErrors.isEmpty(actionRequest)) { - DocPraticaServiceUtil.addDocPratica(user.getUserId(), className, classPk, intPraticaId, bites, - sourceFileName, version, praticaValidata, descLong, tipologia, sha256, aggiornato, jsonFirmatari, - intPraticaIdRimozione, dettPraticaIdRimozione, dtDataRimozione, serviceContext); - } - - } - } - PortalUtil.copyRequestParameters(actionRequest, actionResponse); - actionResponse.setRenderParameter("mvcPath", "/html/allegatipratica/edit_allegato.jsp"); - } catch (DuplicateFileException e) { - SessionErrors.add(actionRequest, "error.geniocivilefe.allegato.duplicato"); - PortalUtil.copyRequestParameters(actionRequest, actionResponse); - actionResponse.setRenderParameter("mvcPath", "/html/allegatipratica/edit_allegato.jsp"); - } catch (Exception e) { - PortalUtil.copyRequestParameters(actionRequest, actionResponse); - actionResponse.setRenderParameter("mvcPath", "/html/allegatipratica/edit_allegato.jsp"); - _log.error("Error", e); - throw e; - } - } - - public void aggiungiFirma(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { - - long docPraticaId = ParamUtil.getLong(actionRequest, "docPraticaId"); - String comingFrom = ParamUtil.getString(actionRequest, "comingFrom"); - ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest); - - // TODO rivedere assolutamente il controllo - boolean controllo = false; - if (comingFrom.equalsIgnoreCase("page_fine_lavori") || comingFrom.equalsIgnoreCase("page_collaudo") - || comingFrom.equalsIgnoreCase("edit_soggetto")) { - controllo = true; - } else { - controllo = - DelegheUtil.hasDelegaFirma(serviceContext.getUserId(), docPraticaId, - "page_geologica".equalsIgnoreCase(comingFrom)); - } - - if (controllo) { - User user = UserLocalServiceUtil.getUser(serviceContext.getUserId()); - DocPraticaLocalServiceUtil.addFirma(docPraticaId, user.getScreenName()); - } - } - - public void rimuoviFirma(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { - - long docPraticaId = ParamUtil.getLong(actionRequest, "docPraticaId"); - String comingFrom = ParamUtil.getString(actionRequest, "comingFrom"); - ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest); - - // TODO rivedere assolutamente il controllo - boolean controllo = false; - if (comingFrom.equalsIgnoreCase("page_fine_lavori") || comingFrom.equalsIgnoreCase("page_collaudo")) { - controllo = true; - } else { - controllo = - DelegheUtil.hasDelegaFirma(serviceContext.getUserId(), docPraticaId, - "page_geologica".equalsIgnoreCase(comingFrom)); - } - - if (controllo) { - User user = UserLocalServiceUtil.getUser(serviceContext.getUserId()); - DocPraticaLocalServiceUtil.removeFirma(docPraticaId, user.getScreenName()); - } - - } - - public void invalidaAllegato(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { - - try { - long docPraticaId = ParamUtil.getLong(actionRequest, "docPraticaId"); - DocPratica docPratica = DocPraticaServiceUtil.getDocPratica(docPraticaId); - long dettPraticaIdRimozione = ParamUtil.getLong(actionRequest, "classPk"); - docPratica.setDettPraticaIdRimozione(dettPraticaIdRimozione); // setto solo il - // dettPraticaRimozione. La - // rimozione diventa definitiva - // al completamento della - // variante - DocPraticaLocalServiceUtil.updateDocPratica(docPratica); - - } catch (PortalException | SystemException e) { - _log.error(e, e); - throw e; - } - } - - public void validaAllegato(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { - - try { - long docPraticaId = ParamUtil.getLong(actionRequest, "docPraticaId"); - DocPratica docPratica = DocPraticaServiceUtil.getDocPratica(docPraticaId); - docPratica.setDettPraticaIdRimozione(0l); - DocPraticaLocalServiceUtil.updateDocPratica(docPratica); - - } catch (PortalException | SystemException e) { - _log.error(e, e); - throw e; - } - } - - - @Override - public void serveResource(ResourceRequest resourceRequest, ResourceResponse resourceResponse) throws IOException, - PortletException { - - String id = resourceRequest.getResourceID(); - try { - if ("downloadAllDocPratica".equals(id) || "downloadAllDocPraticas".equals(id)) { - - long intPraticaId = ParamUtil.getLong(resourceRequest, "intPraticaId"); - long classPk = ParamUtil.getLong(resourceRequest, "classPk"); - String comingFrom = ParamUtil.getString(resourceRequest, "comingFrom"); - String type = ParamUtil.getString(resourceRequest, "type"); - List docs = new ArrayList<>(); - if (Validator.isNull(comingFrom)) { - docs = DocPraticaLocalServiceUtil.findByClassPk(classPk); - - } else if ("page_in_allegati".equals(comingFrom) || "page_va_allegati".equals(comingFrom)) { - - List tipologieAllegati = DocumentiPraticaUtil.getDocDomanda(); - IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId); - - if (Validator.isNotNull(intPratica.getOldIntPraticaId())) { - tipologieAllegati.addAll(0, DocumentiPraticaUtil.getDocDomandaPortos1()); - } - docs = - DocPraticaLocalServiceUtil.findByIntPratica_ClassPkEqual_Tipologie(intPraticaId, classPk, - tipologieAllegati); - } else { - List tipologieAllegati = new ArrayList(); - if ("page_geologica".equals(comingFrom) || "ag".equals(type)) { - tipologieAllegati = DocumentiPraticaUtil.getDocGeologo(); - } else if ("page_allegati".equals(comingFrom) || "ad".equals(type)) { - tipologieAllegati = DocumentiPraticaUtil.getDocDomanda(); - IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId); - if (Validator.isNotNull(intPratica.getOldIntPraticaId())) { - tipologieAllegati.addAll(0, DocumentiPraticaUtil.getDocDomandaPortos1()); - } - } else if ("page_fine_lavori".equals(comingFrom)) { - tipologieAllegati = DocumentiPraticaUtil.getDocFineLavori(); - } else if ("page_collaudo".equals(comingFrom)) { - tipologieAllegati = DocumentiPraticaUtil.getDocCollaudo(); - } - docs = - DocPraticaLocalServiceUtil.findByIntPratica_ClassPk_Tipologie(intPraticaId, classPk, tipologieAllegati); - } - - ZipWriter zipWriter = ZipWriterFactoryUtil.getZipWriter(); - - for (DocPratica doc : docs) { - - InputStream inputStream = null; - try { - if (Validator.isNull(doc.getDlFileEntryId())) { - continue; - } - FileEntry fileEntry = DLAppLocalServiceUtil.getFileEntry(doc.getDlFileEntryId()); - inputStream = - DLFileEntryLocalServiceUtil.getFileAsStream(fileEntry.getFileEntryId(), fileEntry.getVersion(), false); - - // String name = fileEntry.getTitle() + StringPool.PERIOD + fileEntry.getExtension(); - String name = fileEntry.getTitle(); - zipWriter.addEntry(name, inputStream); - } finally { - if (inputStream != null) { - StreamUtil.cleanUp(inputStream); - } - } - } - - resourceResponse.reset(); - - File file = zipWriter.getFile(); - byte[] data = Files.readAllBytes(file.toPath()); - - resourceResponse.setContentType(ContentTypes.APPLICATION_ZIP); - resourceResponse.addProperty(HttpHeaders.CACHE_CONTROL, "max-age=3600, must-revalidate"); - resourceResponse - .addProperty(HttpHeaders.CONTENT_DISPOSITION, "attachment; filename=\"" + file.getName() + "\""); - resourceResponse.setContentLength(data.length); - - resourceResponse.getPortletOutputStream().write(data); - resourceResponse.getPortletOutputStream().flush(); - resourceResponse.getPortletOutputStream().close(); - - } else if ("importFile".equals(id)) { - - long classPk = ParamUtil.getLong(resourceRequest, "classPk"); - String className = ParamUtil.getString(resourceRequest, "className"); - - FilesImporter.importaFile(classPk, className); - - PortletResponseUtil - .write( - resourceResponse, - "

Completato

Refresh"); - - } else { - super.serveResource(resourceRequest, resourceResponse); - } - } catch (Exception e) { - _log.error(e, e); - throw new IOException(e); - } - - } - + private static Log _log = LogFactoryUtil.getLog(AllegatiPraticaPortlet.class); + + public void deleteDoc(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { + + long docPraticaId = ParamUtil.getLong(actionRequest, "docPraticaId"); + String comingFrom = ParamUtil.getString(actionRequest, "comingFrom"); + ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest); + + // TODO rivedere assolutamente il controllo + boolean controllo = false; + if (comingFrom.equalsIgnoreCase("page_fine_lavori") || comingFrom.equalsIgnoreCase("page_collaudo")) { + controllo = true; + } else { + controllo = DelegheUtil.hasDelegaDeleteFile(serviceContext.getUserId(), docPraticaId, + "page_geologo".equalsIgnoreCase(comingFrom)); + } + + if (controllo) { + DocPraticaServiceUtil.deleteDocPratica(docPraticaId); + } + } + + public void uploadAllegato(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { + + UploadPortletRequest uploadRequest = PortalUtil.getUploadPortletRequest(actionRequest); + + long classPk = ParamUtil.getLong(uploadRequest, "classPk"); + String className = ParamUtil.getString(uploadRequest, "className"); + long intPraticaId = ParamUtil.getLong(uploadRequest, "intPraticaId"); + try { + + User user = PortalUtil.getUser(actionRequest); + ServiceContext serviceContext = ServiceContextFactory.getInstance(uploadRequest); + + String tipologia = ParamUtil.getString(uploadRequest, "tipologia"); + + String sourceFileName = uploadRequest.getFileName("docFile"); + + boolean applicaFirma = ParamUtil.getBoolean(uploadRequest, "applicaFirma"); + + File file = uploadRequest.getFile("docFile"); + + if (Validator.isNotNull(sourceFileName)) { + // validazione: solo alcune estensioni + String ext = FileUtil.getExtension(sourceFileName); + if (!ext.equalsIgnoreCase("p7m") && !ext.equalsIgnoreCase("pdf") + && !ext.equalsIgnoreCase("dwg")) { + SessionErrors.add(actionRequest, "error.geniocivilefe.pratica.allegato.ext.valid"); + } + // lunghezza fissata a 200 + if (sourceFileName.length() > 200) { + SessionErrors.add(actionRequest, "error.geniocivilefe.pratica.allegato.length.valid"); + } + // Manifattura Web Group, mofidica per rendere la dimensione + // massima degli allegati configurabile + // da pannello di controllo. In origine era hardcoded a 20971520 + // byte. + Company company = PortalUtil.getCompany(actionRequest); + int dimensioneMassimaAllegati = (int) ((Short) company.getExpandoBridge().getAttribute( + Constants.COMPANY_CUSTOM_FIELD_DIMENSIONE_MASSIMA_ALLEGATI_IN_MIB, false)) + .shortValue(); + if (file.length() > dimensioneMassimaAllegati * 1048576) { + SessionErrors.add(actionRequest, "error.geniocivilefe.pratica.allegato.dimension.valid"); + } + + } else { + SessionErrors.add(actionRequest, "error.geniocivilefe.pratica.allegato.is.request"); + } + + if (SessionErrors.isEmpty(actionRequest)) { + + // Si controlla che il tipo allegato sia di quelli che prevedono + // un solo file + + if (file != null && !sourceFileName.equals("")) { + + byte[] bites = FileUtil.getBytes(file); + + boolean praticaValidata = false; + String sha256 = DigestUtils.sha256Hex(bites); + String version = "0"; + String descLong = sourceFileName; + boolean aggiornato = false; + String jsonFirmatari = ""; + FirmeBean firmeBean = new FirmeBean(); + if (applicaFirma) { + jsonFirmatari = FirmeUtil.addFirma(firmeBean, user.getScreenName()); + } else { + jsonFirmatari = FirmeUtil.serialize(firmeBean); + } + + long intPraticaIdRimozione = 0; + long dettPraticaIdRimozione = 0; + Date dtDataRimozione = null; + // TODO attenzione perche' questo controllo potrebbe non + // andare bene per integrazioni e + // varianti + boolean isUnivoco = DocumentiPraticaUtil.getDocUnivoci().contains(tipologia); + if (isUnivoco + && DocPraticaLocalServiceUtil.countByClassPk_Tipologia(classPk, tipologia) > 0) { + SessionErrors.add(actionRequest, "error.geniocivilefe.allegato.univoco"); + } + if (SessionErrors.isEmpty(actionRequest)) { + DocPraticaServiceUtil.addDocPratica(user.getUserId(), className, classPk, + intPraticaId, bites, sourceFileName, version, praticaValidata, descLong, + tipologia, sha256, aggiornato, jsonFirmatari, intPraticaIdRimozione, + dettPraticaIdRimozione, dtDataRimozione, serviceContext); + } + + } + } + PortalUtil.copyRequestParameters(actionRequest, actionResponse); + actionResponse.setRenderParameter("mvcPath", "/html/allegatipratica/edit_allegato.jsp"); + } catch (DuplicateFileException e) { + SessionErrors.add(actionRequest, "error.geniocivilefe.allegato.duplicato"); + PortalUtil.copyRequestParameters(actionRequest, actionResponse); + actionResponse.setRenderParameter("mvcPath", "/html/allegatipratica/edit_allegato.jsp"); + } catch (Exception e) { + PortalUtil.copyRequestParameters(actionRequest, actionResponse); + actionResponse.setRenderParameter("mvcPath", "/html/allegatipratica/edit_allegato.jsp"); + _log.error("Error", e); + throw e; + } + } + + public void aggiungiFirma(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { + + long docPraticaId = ParamUtil.getLong(actionRequest, "docPraticaId"); + String comingFrom = ParamUtil.getString(actionRequest, "comingFrom"); + ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest); + + // TODO rivedere assolutamente il controllo + boolean controllo = false; + if (comingFrom.equalsIgnoreCase("page_fine_lavori") || comingFrom.equalsIgnoreCase("page_collaudo") + || comingFrom.equalsIgnoreCase("edit_soggetto")) { + controllo = true; + } else { + controllo = DelegheUtil.hasDelegaFirma(serviceContext.getUserId(), docPraticaId, + "page_geologica".equalsIgnoreCase(comingFrom)); + } + + if (controllo) { + User user = UserLocalServiceUtil.getUser(serviceContext.getUserId()); + DocPraticaLocalServiceUtil.addFirma(docPraticaId, user.getScreenName()); + } + } + + public void rimuoviFirma(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { + + long docPraticaId = ParamUtil.getLong(actionRequest, "docPraticaId"); + String comingFrom = ParamUtil.getString(actionRequest, "comingFrom"); + ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest); + + // TODO rivedere assolutamente il controllo + boolean controllo = false; + if (comingFrom.equalsIgnoreCase("page_fine_lavori") || comingFrom.equalsIgnoreCase("page_collaudo")) { + controllo = true; + } else { + controllo = DelegheUtil.hasDelegaFirma(serviceContext.getUserId(), docPraticaId, + "page_geologica".equalsIgnoreCase(comingFrom)); + } + + if (controllo) { + User user = UserLocalServiceUtil.getUser(serviceContext.getUserId()); + DocPraticaLocalServiceUtil.removeFirma(docPraticaId, user.getScreenName()); + } + + } + + public void invalidaAllegato(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { + + try { + long docPraticaId = ParamUtil.getLong(actionRequest, "docPraticaId"); + DocPratica docPratica = DocPraticaServiceUtil.getDocPratica(docPraticaId); + long dettPraticaIdRimozione = ParamUtil.getLong(actionRequest, "classPk"); + docPratica.setDettPraticaIdRimozione(dettPraticaIdRimozione); // setto + // solo + // il + // dettPraticaRimozione. + // La + // rimozione + // diventa + // definitiva + // al + // completamento + // della + // variante + DocPraticaLocalServiceUtil.updateDocPratica(docPratica); + + } catch (PortalException | SystemException e) { + _log.error(e, e); + throw e; + } + } + + public void validaAllegato(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { + + try { + long docPraticaId = ParamUtil.getLong(actionRequest, "docPraticaId"); + DocPratica docPratica = DocPraticaServiceUtil.getDocPratica(docPraticaId); + docPratica.setDettPraticaIdRimozione(0l); + DocPraticaLocalServiceUtil.updateDocPratica(docPratica); + + } catch (PortalException | SystemException e) { + _log.error(e, e); + throw e; + } + } + + @Override + public void serveResource(ResourceRequest resourceRequest, ResourceResponse resourceResponse) + throws IOException, PortletException { + + String id = resourceRequest.getResourceID(); + try { + if ("downloadAllDocPratica".equals(id) || "downloadAllDocPraticas".equals(id)) { + + long intPraticaId = ParamUtil.getLong(resourceRequest, "intPraticaId"); + long classPk = ParamUtil.getLong(resourceRequest, "classPk"); + String comingFrom = ParamUtil.getString(resourceRequest, "comingFrom"); + String type = ParamUtil.getString(resourceRequest, "type"); + List docs = new ArrayList<>(); + if (Validator.isNull(comingFrom)) { + docs = DocPraticaLocalServiceUtil.findByClassPk(classPk); + + } else if ("page_in_allegati".equals(comingFrom) || "page_va_allegati".equals(comingFrom)) { + + List tipologieAllegati = DocumentiPraticaUtil.getDocDomanda(); + IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId); + + docs = DocPraticaLocalServiceUtil.findByIntPratica_ClassPkEqual_Tipologie(intPraticaId, + classPk, tipologieAllegati); + } else { + List tipologieAllegati = new ArrayList(); + if ("page_geologica".equals(comingFrom) || "ag".equals(type)) { + tipologieAllegati = DocumentiPraticaUtil.getDocGeologo(); + } else if ("page_allegati".equals(comingFrom) || "ad".equals(type)) { + tipologieAllegati = DocumentiPraticaUtil.getDocDomanda(); + IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId); + } else if ("page_fine_lavori".equals(comingFrom)) { + tipologieAllegati = DocumentiPraticaUtil.getDocFineLavori(); + } else if ("page_collaudo".equals(comingFrom)) { + tipologieAllegati = DocumentiPraticaUtil.getDocCollaudo(); + } + docs = DocPraticaLocalServiceUtil.findByIntPratica_ClassPk_Tipologie(intPraticaId, + classPk, tipologieAllegati); + } + + ZipWriter zipWriter = ZipWriterFactoryUtil.getZipWriter(); + + for (DocPratica doc : docs) { + + InputStream inputStream = null; + try { + if (Validator.isNull(doc.getDlFileEntryId())) { + continue; + } + FileEntry fileEntry = DLAppLocalServiceUtil.getFileEntry(doc.getDlFileEntryId()); + inputStream = DLFileEntryLocalServiceUtil.getFileAsStream(fileEntry.getFileEntryId(), + fileEntry.getVersion(), false); + + // String name = fileEntry.getTitle() + + // StringPool.PERIOD + fileEntry.getExtension(); + String name = fileEntry.getTitle(); + zipWriter.addEntry(name, inputStream); + } finally { + if (inputStream != null) { + StreamUtil.cleanUp(inputStream); + } + } + } + + resourceResponse.reset(); + + File file = zipWriter.getFile(); + byte[] data = Files.readAllBytes(file.toPath()); + + resourceResponse.setContentType(ContentTypes.APPLICATION_ZIP); + resourceResponse.addProperty(HttpHeaders.CACHE_CONTROL, "max-age=3600, must-revalidate"); + resourceResponse.addProperty(HttpHeaders.CONTENT_DISPOSITION, "attachment; filename=\"" + + file.getName() + "\""); + resourceResponse.setContentLength(data.length); + + resourceResponse.getPortletOutputStream().write(data); + resourceResponse.getPortletOutputStream().flush(); + resourceResponse.getPortletOutputStream().close(); + + } else if ("importFile".equals(id)) { + + long classPk = ParamUtil.getLong(resourceRequest, "classPk"); + String className = ParamUtil.getString(resourceRequest, "className"); + + FilesImporter.importaFile(classPk, className); + + PortletResponseUtil + .write(resourceResponse, + "

Completato

Refresh"); + + } else { + super.serveResource(resourceRequest, resourceResponse); + } + } catch (Exception e) { + _log.error(e, e); + throw new IOException(e); + } + + } } diff --git a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/fe/portlet/FascicoloFePortlet.java b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/fe/portlet/FascicoloFePortlet.java index 279977ff..8832b4f2 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/fe/portlet/FascicoloFePortlet.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/fe/portlet/FascicoloFePortlet.java @@ -126,12 +126,10 @@ public class FascicoloFePortlet extends MVCPortlet { private static Log _log = LogFactoryUtil.getLog(FascicoloFePortlet.class); @Override - public void serveResource(ResourceRequest resourceRequest, - ResourceResponse resourceResponse) throws IOException, - PortletException { + public void serveResource(ResourceRequest resourceRequest, ResourceResponse resourceResponse) + throws IOException, PortletException { - ThemeDisplay themeDisplay = (ThemeDisplay) resourceRequest - .getAttribute(WebKeys.THEME_DISPLAY); + ThemeDisplay themeDisplay = (ThemeDisplay) resourceRequest.getAttribute(WebKeys.THEME_DISPLAY); String id = resourceRequest.getResourceID(); ServiceContext serviceContext; @@ -140,34 +138,27 @@ public class FascicoloFePortlet extends MVCPortlet { if ("province".equals(id)) { JSONArray jsonArray = JSONFactoryUtil.createJSONArray(); - List province = TerritorioLocalServiceUtil - .getActiveProvince(); + List province = TerritorioLocalServiceUtil.getActiveProvince(); for (String codiceProvincia : province) { JSONObject jsonObject = JSONFactoryUtil.createJSONObject(); - Provincia provincia = ProvinciaLocalServiceUtil.fetchByC_C( - serviceContext.getCompanyId(), codiceProvincia); - jsonObject.put("provinciaId", - provincia.getCodiceProvincia()); - jsonObject.put("descLong", provincia.getSigla() + "- " - + provincia.getProvincia()); + Provincia provincia = ProvinciaLocalServiceUtil.fetchByC_C(serviceContext.getCompanyId(), + codiceProvincia); + jsonObject.put("provinciaId", provincia.getCodiceProvincia()); + jsonObject.put("descLong", provincia.getSigla() + "- " + provincia.getProvincia()); jsonArray.put(jsonObject); } writeJSON(resourceRequest, resourceResponse, jsonArray); } else if ("comuni".equals(id)) { - String provinciaId = ParamUtil.getString(resourceRequest, - "provinciaId"); + String provinciaId = ParamUtil.getString(resourceRequest, "provinciaId"); JSONArray jsonArray = JSONFactoryUtil.createJSONArray(); - if (Validator.isNotNull(provinciaId) - && !provinciaId.equals("0")) { + if (Validator.isNotNull(provinciaId) && !provinciaId.equals("0")) { List comuni = TerritorioLocalServiceUtil .getActiveComuniByCodiceProvincia(provinciaId); for (long comuneId : comuni) { - JSONObject jsonObject = JSONFactoryUtil - .createJSONObject(); - Comune comune = ComuneLocalServiceUtil - .getComune(comuneId); + JSONObject jsonObject = JSONFactoryUtil.createJSONObject(); + Comune comune = ComuneLocalServiceUtil.getComune(comuneId); jsonObject.put("comuneId", comune.getComuneId()); jsonObject.put("descLong", comune.getDenominazione()); @@ -176,8 +167,7 @@ public class FascicoloFePortlet extends MVCPortlet { } writeJSON(resourceRequest, resourceResponse, jsonArray); } else if ("zoneFasce".equals(id)) { - long comuneId = ParamUtil.getLong(resourceRequest, "comuneId", - 0l); + long comuneId = ParamUtil.getLong(resourceRequest, "comuneId", 0l); JSONArray jsonArray = JSONFactoryUtil.createJSONArray(); if (Validator.isNotNull(comuneId)) { @@ -185,22 +175,17 @@ public class FascicoloFePortlet extends MVCPortlet { List territori = TerritorioLocalServiceUtil .getActiveTerritoriByComune(comuneId); for (Territorio territorio : territori) { - JSONObject jsonObject = JSONFactoryUtil - .createJSONObject(); + JSONObject jsonObject = JSONFactoryUtil.createJSONObject(); - if ((territorio.getZona() - .equalsIgnoreCase(Constants.ZONA_1)) - || (territorio.getZona() - .equalsIgnoreCase(Constants.ZONA_2)) + if ((territorio.getZona().equalsIgnoreCase(Constants.ZONA_1)) + || (territorio.getZona().equalsIgnoreCase(Constants.ZONA_2)) || territorio.getArticolo61()) jsonObject.put("procedura", Constants.PROCEDURA_B1); else jsonObject.put("procedura", Constants.PROCEDURA_B); - jsonObject.put("territorioId", - territorio.getTerritorioId()); - jsonObject.put("descLong", - territorio.getZonaFasciaDesc()); + jsonObject.put("territorioId", territorio.getTerritorioId()); + jsonObject.put("descLong", territorio.getZonaFasciaDesc()); jsonArray.put(jsonObject); @@ -209,31 +194,24 @@ public class FascicoloFePortlet extends MVCPortlet { } writeJSON(resourceRequest, resourceResponse, jsonArray); } else if ("soggettiDelega".equals(id)) { - long intPraticaId = ParamUtil.getLong(resourceRequest, - "intPraticaId", 0l); - IntPratica intPratica = IntPraticaLocalServiceUtil - .fetchIntPratica(intPraticaId); + long intPraticaId = ParamUtil.getLong(resourceRequest, "intPraticaId", 0l); + IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId); JSONArray jsonArray = JSONFactoryUtil.createJSONArray(); if (Validator.isNotNull(intPratica)) { // List soggetti = // SoggettoLocalServiceUtil.findByIntPratica(intPraticaId); - List soggetti = SoggettoLocalServiceUtil - .getValidTmpByIntPratica(intPraticaId); - String cfTitolare = UserLocalServiceUtil.getUserById( - intPratica.getUserId()).getScreenName(); + List soggetti = SoggettoLocalServiceUtil.getValidTmpByIntPratica(intPraticaId); + String cfTitolare = UserLocalServiceUtil.getUserById(intPratica.getUserId()) + .getScreenName(); for (Soggetto soggetto : soggetti) { if (!soggetto.isRimosso() - && !soggetto.getCodiceFiscale() - .equalsIgnoreCase(cfTitolare)) { - JSONObject jsonObject = JSONFactoryUtil - .createJSONObject(); + && !soggetto.getCodiceFiscale().equalsIgnoreCase(cfTitolare)) { + JSONObject jsonObject = JSONFactoryUtil.createJSONObject(); - jsonObject.put("soggettoId", - soggetto.getSoggettoId()); - jsonObject.put("descLong", - soggetto.getDescrizioneRuolo()); + jsonObject.put("soggettoId", soggetto.getSoggettoId()); + jsonObject.put("descLong", soggetto.getDescrizioneRuolo()); jsonArray.put(jsonObject); } @@ -243,53 +221,41 @@ public class FascicoloFePortlet extends MVCPortlet { } writeJSON(resourceRequest, resourceResponse, jsonArray); } else if ("tipologiaDelega".equals(id)) { - long intPraticaId = ParamUtil.getLong(resourceRequest, - "intPraticaId", 0l); - long soggettoId = ParamUtil.getLong(resourceRequest, - "soggettoId", 0l); - IntPratica intPratica = IntPraticaLocalServiceUtil - .fetchIntPratica(intPraticaId); - Soggetto soggetto = SoggettoLocalServiceUtil - .fetchSoggetto(soggettoId); + long intPraticaId = ParamUtil.getLong(resourceRequest, "intPraticaId", 0l); + long soggettoId = ParamUtil.getLong(resourceRequest, "soggettoId", 0l); + IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId); + Soggetto soggetto = SoggettoLocalServiceUtil.fetchSoggetto(soggettoId); JSONArray jsonArray = JSONFactoryUtil.createJSONArray(); - if (Validator.isNotNull(intPratica) - && Validator.isNotNull(soggetto)) { + if (Validator.isNotNull(intPratica) && Validator.isNotNull(soggetto)) { JSONObject jsonObject = JSONFactoryUtil.createJSONObject(); - jsonObject.put("tipologiaDelegaId", - DelegheUtil.TIPO_COMPILAZIONE); - jsonObject.put("descLong", LanguageUtil.get( - serviceContext.getLocale(), - "label-deleghe-tipologia-" + jsonObject.put("tipologiaDelegaId", DelegheUtil.TIPO_COMPILAZIONE); + jsonObject.put( + "descLong", + LanguageUtil.get(serviceContext.getLocale(), "label-deleghe-tipologia-" + DelegheUtil.TIPO_COMPILAZIONE)); jsonArray.put(jsonObject); - if (TipoSoggettoUtil.GEOLOGO.equalsIgnoreCase(soggetto - .getTipologiaSoggetto())) { + if (TipoSoggettoUtil.GEOLOGO.equalsIgnoreCase(soggetto.getTipologiaSoggetto())) { jsonObject = JSONFactoryUtil.createJSONObject(); - jsonObject.put("tipologiaDelegaId", - DelegheUtil.TIPO_GEOLOGO); - jsonObject.put("descLong", LanguageUtil.get( - serviceContext.getLocale(), - "label-deleghe-tipologia-" + jsonObject.put("tipologiaDelegaId", DelegheUtil.TIPO_GEOLOGO); + jsonObject.put( + "descLong", + LanguageUtil.get(serviceContext.getLocale(), "label-deleghe-tipologia-" + DelegheUtil.TIPO_GEOLOGO)); jsonArray.put(jsonObject); } jsonObject = JSONFactoryUtil.createJSONObject(); - jsonObject.put("tipologiaDelegaId", - DelegheUtil.TIPO_FIRMA_INSERIMENTO_ALLEGATI); - jsonObject - .put("descLong", - LanguageUtil.get( - serviceContext.getLocale(), - "label-deleghe-tipologia-" - + DelegheUtil.TIPO_FIRMA_INSERIMENTO_ALLEGATI)); + jsonObject.put("tipologiaDelegaId", DelegheUtil.TIPO_FIRMA_INSERIMENTO_ALLEGATI); + jsonObject.put( + "descLong", + LanguageUtil.get(serviceContext.getLocale(), "label-deleghe-tipologia-" + + DelegheUtil.TIPO_FIRMA_INSERIMENTO_ALLEGATI)); jsonArray.put(jsonObject); jsonObject = JSONFactoryUtil.createJSONObject(); - jsonObject.put("tipologiaDelegaId", - DelegheUtil.TIPO_PAGAMENTO); - jsonObject.put("descLong", LanguageUtil.get( - serviceContext.getLocale(), - "label-deleghe-tipologia-" + jsonObject.put("tipologiaDelegaId", DelegheUtil.TIPO_PAGAMENTO); + jsonObject.put( + "descLong", + LanguageUtil.get(serviceContext.getLocale(), "label-deleghe-tipologia-" + DelegheUtil.TIPO_PAGAMENTO)); jsonArray.put(jsonObject); @@ -298,103 +264,82 @@ public class FascicoloFePortlet extends MVCPortlet { } else if ("importFile".equals(id)) { long classPk = ParamUtil.getLong(resourceRequest, "classPk"); - String className = ParamUtil.getString(resourceRequest, - "className"); + String className = ParamUtil.getString(resourceRequest, "className"); FilesImporter.importaFile(classPk, className); PortletResponseUtil .write(resourceResponse, "

Completato

Refresh"); + + PortletKeys.FASCICOLOFE + "_')\">Refresh"); } else if ("importAllFascicoloFiles".equals(id)) { - long intPraticaId = ParamUtil.getLong(resourceRequest, - "intPraticaId"); - IntPratica intPratica = IntPraticaLocalServiceUtil - .fetchIntPratica(intPraticaId); + long intPraticaId = ParamUtil.getLong(resourceRequest, "intPraticaId"); + IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId); if (Validator.isNull(intPratica)) { - _log.error("error.no.intpratica.exist with intpraticaid=" - + intPraticaId); + _log.error("error.no.intpratica.exist with intpraticaid=" + intPraticaId); } - String comingFrom = ParamUtil.getString(resourceRequest, - "comingFrom", "bo"); - InfoFascicolo infoFascicolo = InfoFascicoloLocalServiceUtil - .fetchByIntPratica(intPratica.getIntPraticaId()); + String comingFrom = ParamUtil.getString(resourceRequest, "comingFrom", "bo"); + InfoFascicolo infoFascicolo = InfoFascicoloLocalServiceUtil.fetchByIntPratica(intPratica + .getIntPraticaId()); if (Validator.isNull(infoFascicolo)) { - infoFascicolo = InfoFascicoloLocalServiceUtil - .addInfoFascicolo(intPratica.getIntPraticaId(), - intPratica.getNumeroProgetto(), - serviceContext); + infoFascicolo = InfoFascicoloLocalServiceUtil.addInfoFascicolo( + intPratica.getIntPraticaId(), intPratica.getNumeroProgetto(), serviceContext); } else { - if (infoFascicolo.getAlreadyImported() - && comingFrom.equalsIgnoreCase("fe")) { - _log.error("intpratica.import.file.already-clicked with intpraticaid=" - + intPraticaId); + if (infoFascicolo.getAlreadyImported() && comingFrom.equalsIgnoreCase("fe")) { + _log.error("intpratica.import.file.already-clicked with intpraticaid=" + intPraticaId); return; } } - User user = UserLocalServiceUtil.fetchUser(serviceContext - .getUserId()); + User user = UserLocalServiceUtil.fetchUser(serviceContext.getUserId()); - _log.debug("************** START IMPORT FILES FASCICOLO : " - + intPraticaId + " by user" + user.getFullName()); + _log.debug("************** START IMPORT FILES FASCICOLO : " + intPraticaId + " by user" + + user.getFullName()); - List listaDet = DettPraticaLocalServiceUtil - .findByIntPraticaId(intPraticaId); + List listaDet = DettPraticaLocalServiceUtil.findByIntPraticaId(intPraticaId); for (DettPratica dettPratica : listaDet) { - FilesImporter.importaFilesFascicolo( - dettPratica.getDettPraticaId(), + FilesImporter.importaFilesFascicolo(dettPratica.getDettPraticaId(), DettPratica.class.getName()); } - List listaFine = FineLavoriLocalServiceUtil - .findByIntPraticaId(intPraticaId, -1, -1, null); + List listaFine = FineLavoriLocalServiceUtil.findByIntPraticaId(intPraticaId, -1, + -1, null); for (FineLavori fineLavori : listaFine) { - FilesImporter.importaFilesFascicolo( - fineLavori.getFineLavoriId(), + FilesImporter.importaFilesFascicolo(fineLavori.getFineLavoriId(), FineLavori.class.getName()); } - List listaColl = CollaudoLocalServiceUtil - .findByIntPraticaId(intPraticaId, -1, -1, null); + List listaColl = CollaudoLocalServiceUtil.findByIntPraticaId(intPraticaId, -1, -1, + null); for (Collaudo collaudo : listaColl) { - FilesImporter.importaFilesFascicolo( - collaudo.getCollaudoId(), Collaudo.class.getName()); + FilesImporter.importaFilesFascicolo(collaudo.getCollaudoId(), Collaudo.class.getName()); } - _log.debug("************** END IMPORT FILES FASCICOLO : " - + intPraticaId); + _log.debug("************** END IMPORT FILES FASCICOLO : " + intPraticaId); infoFascicolo.setAlreadyImported(true); - infoFascicolo = InfoFascicoloLocalServiceUtil - .updateInfoFascicolo(infoFascicolo); + infoFascicolo = InfoFascicoloLocalServiceUtil.updateInfoFascicolo(infoFascicolo); PortletResponseUtil .write(resourceResponse, "

Completato

Refresh"); + + PortletKeys.FASCICOLOFE + "_')\">Refresh"); } else if ("isCompletedDelegaGeologo".equals(id)) { long classPk = ParamUtil.getLong(resourceRequest, "classPk"); JSONObject json = JSONFactoryUtil.createJSONObject(); - json.put("isCompleted", ValidazionePraticaUtil - .isDelegaGeologoCompleted(classPk)); + json.put("isCompleted", ValidazionePraticaUtil.isDelegaGeologoCompleted(classPk)); writeJSON(resourceRequest, resourceResponse, json); - } else if ("confirmOtf".equals(id) || "otfSpese".equals(id) - || "otfBolli".equals(id)) { + } else if ("confirmOtf".equals(id) || "otfSpese".equals(id) || "otfBolli".equals(id)) { - long pagamentoId = ParamUtil.getLong(resourceRequest, - "pagamentoId"); + long pagamentoId = ParamUtil.getLong(resourceRequest, "pagamentoId"); PagamentoLocalServiceUtil.updateOtf(pagamentoId, true); JSONObject json = JSONFactoryUtil.createJSONObject(); @@ -403,8 +348,7 @@ public class FascicoloFePortlet extends MVCPortlet { writeJSON(resourceRequest, resourceResponse, json); } else if ("resetOtf".equals(id)) { - long pagamentoId = ParamUtil.getLong(resourceRequest, - "pagamentoId"); + long pagamentoId = ParamUtil.getLong(resourceRequest, "pagamentoId"); PagamentoLocalServiceUtil.updateOtf(pagamentoId, false); JSONObject json = JSONFactoryUtil.createJSONObject(); @@ -413,57 +357,46 @@ public class FascicoloFePortlet extends MVCPortlet { writeJSON(resourceRequest, resourceResponse, json); } else if ("stampaFascicolo".equals(id)) { - long intPraticaId = ParamUtil.getLong(resourceRequest, - "intPraticaId"); - IntPratica intPratica = IntPraticaLocalServiceUtil - .fetchIntPratica(intPraticaId); + long intPraticaId = ParamUtil.getLong(resourceRequest, "intPraticaId"); + IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId); - DLFolder folder = DLFolderLocalServiceUtil.getFolder( - themeDisplay.getCompanyGroupId(), 0L, "Template"); + DLFolder folder = DLFolderLocalServiceUtil.getFolder(themeDisplay.getCompanyGroupId(), 0L, + "Template"); if (folder != null) { FileEntry fileEntry = DLAppLocalServiceUtil.getFileEntry( - themeDisplay.getCompanyGroupId(), - folder.getFolderId(), "visualizza_fascicolo.jrxml"); + themeDisplay.getCompanyGroupId(), folder.getFolderId(), + "visualizza_fascicolo.jrxml"); if (fileEntry != null) { - JasperDesign jd = JRXmlLoader.load(fileEntry - .getContentStream()); - JasperReport jasperReport = JasperCompileManager - .compileReport(jd); + JasperDesign jd = JRXmlLoader.load(fileEntry.getContentStream()); + JasperReport jasperReport = JasperCompileManager.compileReport(jd); Map parameters = ReportFascicoloUtil - .generateParametersReportFascicolo( - intPraticaId, themeDisplay.getLocale(), + .generateParametersReportFascicolo(intPraticaId, themeDisplay.getLocale(), themeDisplay.getCompanyId()); - String resourcePath = getClass() - .getName() - .replaceAll("\\w+\\.", "../") - .replace(getClass().getSimpleName(), - ReportConstants.PATH_LOGO_REGIONE); - parameters.put(ReportConstants.LOGO_REGIONE, getClass() - .getResource(resourcePath).getPath()); + String resourcePath = getClass().getName().replaceAll("\\w+\\.", "../") + .replace(getClass().getSimpleName(), ReportConstants.PATH_LOGO_REGIONE); + parameters.put(ReportConstants.LOGO_REGIONE, getClass().getResource(resourcePath) + .getPath()); JRDataSource dataSource = new JREmptyDataSource(); - JasperPrint jasperPrint = JasperFillManager.fillReport( - jasperReport, parameters, dataSource); + JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, parameters, + dataSource); // Export to PDF. - String titleDoc = intPratica.getNumeroProgetto() + "_" - + new Date().getTime() + ".pdf"; + String titleDoc = intPratica.getNumeroProgetto() + "_" + new Date().getTime() + + ".pdf"; jasperPrint.setName(titleDoc); - HttpServletRequest request = PortalUtil - .getHttpServletRequest(resourceRequest); - HttpServletResponse response = PortalUtil - .getHttpServletResponse(resourceResponse); + HttpServletRequest request = PortalUtil.getHttpServletRequest(resourceRequest); + HttpServletResponse response = PortalUtil.getHttpServletResponse(resourceResponse); - ServletResponseUtil.sendFile(request, response, - titleDoc, JasperExportManager - .exportReportToPdf(jasperPrint), + ServletResponseUtil.sendFile(request, response, titleDoc, + JasperExportManager.exportReportToPdf(jasperPrint), ContentTypes.APPLICATION_PDF); // JasperExportManager.exportReportToPdfFile(jasperPrint, @@ -474,129 +407,99 @@ public class FascicoloFePortlet extends MVCPortlet { } } else if ("stampaFascicoloVariante".equals(id)) { - long intPraticaId = ParamUtil.getLong(resourceRequest, - "intPraticaId"); - long dettPraticaId = ParamUtil.getLong(resourceRequest, - "dettPraticaId"); + long intPraticaId = ParamUtil.getLong(resourceRequest, "intPraticaId"); + long dettPraticaId = ParamUtil.getLong(resourceRequest, "dettPraticaId"); - DettPratica dettPratica = DettPraticaLocalServiceUtil - .fetchDettPratica(dettPraticaId); + DettPratica dettPratica = DettPraticaLocalServiceUtil.fetchDettPratica(dettPraticaId); - IntPratica intPratica = IntPraticaLocalServiceUtil - .fetchIntPratica(intPraticaId); + IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId); - DLFolder folder = DLFolderLocalServiceUtil.getFolder( - themeDisplay.getCompanyGroupId(), 0L, "Template"); + DLFolder folder = DLFolderLocalServiceUtil.getFolder(themeDisplay.getCompanyGroupId(), 0L, + "Template"); if (folder != null) { FileEntry fileEntry = DLAppLocalServiceUtil.getFileEntry( - themeDisplay.getCompanyGroupId(), - folder.getFolderId(), "visualizza_fascicolo.jrxml"); + themeDisplay.getCompanyGroupId(), folder.getFolderId(), + "visualizza_fascicolo.jrxml"); if (fileEntry != null) { - JasperDesign jd = JRXmlLoader.load(fileEntry - .getContentStream()); - JasperReport jasperReport = JasperCompileManager - .compileReport(jd); + JasperDesign jd = JRXmlLoader.load(fileEntry.getContentStream()); + JasperReport jasperReport = JasperCompileManager.compileReport(jd); Map parameters = ReportFascicoloUtil - .generateParametersReportFascicoloVariante( - intPraticaId, - dettPratica.getDettPraticaId(), - themeDisplay.getLocale(), + .generateParametersReportFascicoloVariante(intPraticaId, + dettPratica.getDettPraticaId(), themeDisplay.getLocale(), themeDisplay.getCompanyId()); - String resourcePath = getClass() - .getName() - .replaceAll("\\w+\\.", "../") - .replace(getClass().getSimpleName(), - ReportConstants.PATH_LOGO_REGIONE); - parameters.put(ReportConstants.LOGO_REGIONE, getClass() - .getResource(resourcePath).getPath()); + String resourcePath = getClass().getName().replaceAll("\\w+\\.", "../") + .replace(getClass().getSimpleName(), ReportConstants.PATH_LOGO_REGIONE); + parameters.put(ReportConstants.LOGO_REGIONE, getClass().getResource(resourcePath) + .getPath()); JRDataSource dataSource = new JREmptyDataSource(); - JasperPrint jasperPrint = JasperFillManager.fillReport( - jasperReport, parameters, dataSource); + JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, parameters, + dataSource); // Export to PDF. - String titleDoc = "variante_" - + intPratica.getNumeroProgetto() + "_" + String titleDoc = "variante_" + intPratica.getNumeroProgetto() + "_" + new Date().getTime() + ".pdf"; jasperPrint.setName(titleDoc); - HttpServletRequest request = PortalUtil - .getHttpServletRequest(resourceRequest); - HttpServletResponse response = PortalUtil - .getHttpServletResponse(resourceResponse); + HttpServletRequest request = PortalUtil.getHttpServletRequest(resourceRequest); + HttpServletResponse response = PortalUtil.getHttpServletResponse(resourceResponse); - ServletResponseUtil.sendFile(request, response, - titleDoc, JasperExportManager - .exportReportToPdf(jasperPrint), + ServletResponseUtil.sendFile(request, response, titleDoc, + JasperExportManager.exportReportToPdf(jasperPrint), ContentTypes.APPLICATION_PDF); } } } else if ("stampaFineLavori".equals(id)) { - long intPraticaId = ParamUtil.getLong(resourceRequest, - "intPraticaId"); - long fineLavoriId = ParamUtil.getLong(resourceRequest, - "fineLavoriId"); + long intPraticaId = ParamUtil.getLong(resourceRequest, "intPraticaId"); + long fineLavoriId = ParamUtil.getLong(resourceRequest, "fineLavoriId"); - IntPratica intPratica = IntPraticaLocalServiceUtil - .fetchIntPratica(intPraticaId); + IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId); - DLFolder folder = DLFolderLocalServiceUtil.getFolder( - themeDisplay.getCompanyGroupId(), 0L, "Template"); + DLFolder folder = DLFolderLocalServiceUtil.getFolder(themeDisplay.getCompanyGroupId(), 0L, + "Template"); if (folder != null) { FileEntry fileEntry = DLAppLocalServiceUtil.getFileEntry( - themeDisplay.getCompanyGroupId(), - folder.getFolderId(), + themeDisplay.getCompanyGroupId(), folder.getFolderId(), "visualizza_fine_lavori.jrxml"); if (fileEntry != null) { - JasperDesign jd = JRXmlLoader.load(fileEntry - .getContentStream()); - JasperReport jasperReport = JasperCompileManager - .compileReport(jd); + JasperDesign jd = JRXmlLoader.load(fileEntry.getContentStream()); + JasperReport jasperReport = JasperCompileManager.compileReport(jd); Map parameters = ReportFascicoloUtil - .generateParametersReportFascicoloFineLavori( - intPraticaId, fineLavoriId, - themeDisplay.getLocale(), - themeDisplay.getCompanyId()); + .generateParametersReportFascicoloFineLavori(intPraticaId, fineLavoriId, + themeDisplay.getLocale(), themeDisplay.getCompanyId()); - String resourcePath = getClass() - .getName() - .replaceAll("\\w+\\.", "../") - .replace(getClass().getSimpleName(), - ReportConstants.PATH_LOGO_REGIONE); - parameters.put(ReportConstants.LOGO_REGIONE, getClass() - .getResource(resourcePath).getPath()); + String resourcePath = getClass().getName().replaceAll("\\w+\\.", "../") + .replace(getClass().getSimpleName(), ReportConstants.PATH_LOGO_REGIONE); + parameters.put(ReportConstants.LOGO_REGIONE, getClass().getResource(resourcePath) + .getPath()); JRDataSource dataSource = new JREmptyDataSource(); - JasperPrint jasperPrint = JasperFillManager.fillReport( - jasperReport, parameters, dataSource); + JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, parameters, + dataSource); // Export to PDF. - String titleDoc = "fine_lavori_" - + intPratica.getNumeroProgetto() + "_" + String titleDoc = "fine_lavori_" + intPratica.getNumeroProgetto() + "_" + new Date().getTime() + ".pdf"; jasperPrint.setName(titleDoc); - HttpServletRequest request = PortalUtil - .getHttpServletRequest(resourceRequest); - HttpServletResponse response = PortalUtil - .getHttpServletResponse(resourceResponse); + HttpServletRequest request = PortalUtil.getHttpServletRequest(resourceRequest); + HttpServletResponse response = PortalUtil.getHttpServletResponse(resourceResponse); - ServletResponseUtil.sendFile(request, response, - titleDoc, JasperExportManager - .exportReportToPdf(jasperPrint), + ServletResponseUtil.sendFile(request, response, titleDoc, + JasperExportManager.exportReportToPdf(jasperPrint), ContentTypes.APPLICATION_PDF); } @@ -605,65 +508,51 @@ public class FascicoloFePortlet extends MVCPortlet { } else if ("stampaCollaudo".equals(id)) { - long intPraticaId = ParamUtil.getLong(resourceRequest, - "intPraticaId"); - long collaudoId = ParamUtil.getLong(resourceRequest, - "collaudoId"); + long intPraticaId = ParamUtil.getLong(resourceRequest, "intPraticaId"); + long collaudoId = ParamUtil.getLong(resourceRequest, "collaudoId"); // Collaudo collaudo = // CollaudoLocalServiceUtil.fetchCollaudo(collaudoId); - IntPratica intPratica = IntPraticaLocalServiceUtil - .fetchIntPratica(intPraticaId); + IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId); - DLFolder folder = DLFolderLocalServiceUtil.getFolder( - themeDisplay.getCompanyGroupId(), 0L, "Template"); + DLFolder folder = DLFolderLocalServiceUtil.getFolder(themeDisplay.getCompanyGroupId(), 0L, + "Template"); if (folder != null) { FileEntry fileEntry = DLAppLocalServiceUtil.getFileEntry( - themeDisplay.getCompanyGroupId(), - folder.getFolderId(), "visualizza_collaudo.jrxml"); + themeDisplay.getCompanyGroupId(), folder.getFolderId(), + "visualizza_collaudo.jrxml"); if (fileEntry != null) { - JasperDesign jd = JRXmlLoader.load(fileEntry - .getContentStream()); - JasperReport jasperReport = JasperCompileManager - .compileReport(jd); + JasperDesign jd = JRXmlLoader.load(fileEntry.getContentStream()); + JasperReport jasperReport = JasperCompileManager.compileReport(jd); Map parameters = ReportFascicoloUtil - .generateParametersReportFascicoloCollaudo( - intPraticaId, collaudoId, - themeDisplay.getLocale(), - themeDisplay.getCompanyId()); + .generateParametersReportFascicoloCollaudo(intPraticaId, collaudoId, + themeDisplay.getLocale(), themeDisplay.getCompanyId()); - String resourcePath = getClass() - .getName() - .replaceAll("\\w+\\.", "../") - .replace(getClass().getSimpleName(), - ReportConstants.PATH_LOGO_REGIONE); - parameters.put(ReportConstants.LOGO_REGIONE, getClass() - .getResource(resourcePath).getPath()); + String resourcePath = getClass().getName().replaceAll("\\w+\\.", "../") + .replace(getClass().getSimpleName(), ReportConstants.PATH_LOGO_REGIONE); + parameters.put(ReportConstants.LOGO_REGIONE, getClass().getResource(resourcePath) + .getPath()); JRDataSource dataSource = new JREmptyDataSource(); - JasperPrint jasperPrint = JasperFillManager.fillReport( - jasperReport, parameters, dataSource); + JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, parameters, + dataSource); // Export to PDF. - String titleDoc = "collaudo_" - + intPratica.getNumeroProgetto() + "_" + String titleDoc = "collaudo_" + intPratica.getNumeroProgetto() + "_" + new Date().getTime() + ".pdf"; jasperPrint.setName(titleDoc); - HttpServletRequest request = PortalUtil - .getHttpServletRequest(resourceRequest); - HttpServletResponse response = PortalUtil - .getHttpServletResponse(resourceResponse); + HttpServletRequest request = PortalUtil.getHttpServletRequest(resourceRequest); + HttpServletResponse response = PortalUtil.getHttpServletResponse(resourceResponse); - ServletResponseUtil.sendFile(request, response, - titleDoc, JasperExportManager - .exportReportToPdf(jasperPrint), + ServletResponseUtil.sendFile(request, response, titleDoc, + JasperExportManager.exportReportToPdf(jasperPrint), ContentTypes.APPLICATION_PDF); } @@ -679,20 +568,15 @@ public class FascicoloFePortlet extends MVCPortlet { } - public void addFascicolo(ActionRequest actionRequest, - ActionResponse actionResponse) throws Exception { + public void addFascicolo(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { try { - long territorioId = ParamUtil - .getLong(actionRequest, "territorioId"); - String tipoProcedura = ParamUtil.getString(actionRequest, - "tipoProcedura"); - String successURL = ParamUtil - .getString(actionRequest, "successURL"); - ServiceContext serviceContext = ServiceContextFactory - .getInstance(actionRequest); - DettPratica dettPratica = DettPraticaServiceUtil.addDettPratica( - territorioId, tipoProcedura, serviceContext); + long territorioId = ParamUtil.getLong(actionRequest, "territorioId"); + String tipoProcedura = ParamUtil.getString(actionRequest, "tipoProcedura"); + String successURL = ParamUtil.getString(actionRequest, "successURL"); + ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest); + DettPratica dettPratica = DettPraticaServiceUtil.addDettPratica(territorioId, tipoProcedura, + serviceContext); if (tipoProcedura.equalsIgnoreCase(Constants.PROCEDURA_C)) { dettPratica.setNormEsenteBollo(true); dettPratica.setNormEsenteSpese(true); @@ -702,11 +586,9 @@ public class FascicoloFePortlet extends MVCPortlet { dettPratica.setTcRiparazioneInterventoLocale(true); DettPraticaLocalServiceUtil.updateDettPratica(dettPratica); } - successURL = HttpUtil.addParameter(successURL, - actionResponse.getNamespace() + "mvcPath", + successURL = HttpUtil.addParameter(successURL, actionResponse.getNamespace() + "mvcPath", "/html/fascicolofe/edit_fascicolo.jsp"); - successURL = HttpUtil.addParameter(successURL, - actionResponse.getNamespace() + "dettPraticaId", + successURL = HttpUtil.addParameter(successURL, actionResponse.getNamespace() + "dettPraticaId", String.valueOf(dettPratica.getDettPraticaId())); actionResponse.sendRedirect(successURL); } catch (PortalException | SystemException e) { @@ -715,28 +597,19 @@ public class FascicoloFePortlet extends MVCPortlet { } } - public void addDelega(ActionRequest actionRequest, - ActionResponse actionResponse) throws Exception { + public void addDelega(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { try { - long intPraticaId = ParamUtil - .getLong(actionRequest, "intPraticaId"); - long dettPraticaId = ParamUtil.getLong(actionRequest, - "dettPraticaId"); - String tipologia = ParamUtil.getString(actionRequest, - "tipologiaDelega"); + long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId"); + long dettPraticaId = ParamUtil.getLong(actionRequest, "dettPraticaId"); + String tipologia = ParamUtil.getString(actionRequest, "tipologiaDelega"); long soggettoId = ParamUtil.getLong(actionRequest, "soggetto"); - if (ValidazionePraticaUtil - .delegheCompilazioneIsEnable(dettPraticaId)) { - Soggetto soggetto = SoggettoLocalServiceUtil - .getSoggetto(soggettoId); - ServiceContext serviceContext = ServiceContextFactory - .getInstance(actionRequest); - IntPratica intPratica = IntPraticaLocalServiceUtil - .getIntPratica(intPraticaId); - DelegaServiceUtil.addDelega(serviceContext.getUserId(), - intPratica.getIntPraticaId(), dettPraticaId, tipologia, - soggetto.getCodiceFiscale(), serviceContext); + if (ValidazionePraticaUtil.delegheCompilazioneIsEnable(dettPraticaId)) { + Soggetto soggetto = SoggettoLocalServiceUtil.getSoggetto(soggettoId); + ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest); + IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId); + DelegaServiceUtil.addDelega(serviceContext.getUserId(), intPratica.getIntPraticaId(), + dettPraticaId, tipologia, soggetto.getCodiceFiscale(), serviceContext); } } catch (PortalException | SystemException e) { @@ -746,8 +619,7 @@ public class FascicoloFePortlet extends MVCPortlet { } - public void annullaDelega(ActionRequest actionRequest, - ActionResponse actionResponse) throws Exception { + public void annullaDelega(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { try { long delegaId = ParamUtil.getLong(actionRequest, "delegaId"); @@ -761,11 +633,10 @@ public class FascicoloFePortlet extends MVCPortlet { } - public void addGestioneUtenti(ActionRequest actionRequest, - ActionResponse actionResponse) throws Exception { + public void addGestioneUtenti(ActionRequest actionRequest, ActionResponse actionResponse) + throws Exception { - ServiceContext serviceContext = ServiceContextFactory - .getInstance(actionRequest); + ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest); long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId"); String successURL = ParamUtil.getString(actionRequest, "successURL"); @@ -774,37 +645,29 @@ public class FascicoloFePortlet extends MVCPortlet { .getLastCompletedByIntPratica(intPraticaId); // ADT BUG VARIAZIONE SOGGETTO MULTI-CLICK List tipoPraticheVariazioneSoggetto = new ArrayList(); - tipoPraticheVariazioneSoggetto - .add(TipoIntegrazioneUtil.VARIAZIONE_SOGGETTO); + tipoPraticheVariazioneSoggetto.add(TipoIntegrazioneUtil.VARIAZIONE_SOGGETTO); DettPratica lastDettPraticaEditableVS = null; lastDettPraticaEditableVS = DettPraticaLocalServiceUtil - .getLastEditabledByIntPraticaAndTipoPratica(intPraticaId, - tipoPraticheVariazioneSoggetto); + .getLastEditabledByIntPraticaAndTipoPratica(intPraticaId, tipoPraticheVariazioneSoggetto); if (lastDettPraticaEditableVS == null) { - lastDettPraticaEditableVS = DettPraticaServiceUtil - .addDettPraticaClonedToIntPratica(intPraticaId, - lastDettPratica.getDettPraticaId(), - TipoIntegrazioneUtil.VARIAZIONE_SOGGETTO, - serviceContext); + lastDettPraticaEditableVS = DettPraticaServiceUtil.addDettPraticaClonedToIntPratica( + intPraticaId, lastDettPratica.getDettPraticaId(), + TipoIntegrazioneUtil.VARIAZIONE_SOGGETTO, serviceContext); } - successURL = HttpUtil.addParameter(successURL, - actionResponse.getNamespace() + "dettPraticaId", String - .valueOf(lastDettPraticaEditableVS - .getDettPraticaId())); + successURL = HttpUtil.addParameter(successURL, actionResponse.getNamespace() + "dettPraticaId", + String.valueOf(lastDettPraticaEditableVS.getDettPraticaId())); String fragmentURL = "_1_WAR_portosfeportlet_page_soggetti"; if (successURL.contains("#")) { - successURL = successURL.substring(0, - successURL.lastIndexOf("#")); + successURL = successURL.substring(0, successURL.lastIndexOf("#")); } successURL += "#_1_WAR_portosfeportlet_tab=" + fragmentURL; actionResponse.sendRedirect(successURL); } catch (PortalException | SystemException e) { - successURL = HttpUtil.setParameter(successURL, - actionResponse.getNamespace() + "mvcPath", + successURL = HttpUtil.setParameter(successURL, actionResponse.getNamespace() + "mvcPath", "/html/fascicolofe/view.jsp"); actionResponse.sendRedirect(successURL); _log.error(e, e); @@ -813,22 +676,16 @@ public class FascicoloFePortlet extends MVCPortlet { } - public void deleteGestioneUtenti(ActionRequest actionRequest, - ActionResponse actionResponse) throws Exception { + public void deleteGestioneUtenti(ActionRequest actionRequest, ActionResponse actionResponse) + throws Exception { try { - long intPraticaId = ParamUtil - .getLong(actionRequest, "intPraticaId"); - String successURL = ParamUtil - .getString(actionRequest, "successURL"); - DettPratica dettPratica = DettPraticaServiceUtil - .getLastEditabledByIntPraticaAndTipoPratica( - intPraticaId, - Arrays.asList(new String[] { TipoIntegrazioneUtil.VARIAZIONE_SOGGETTO })); + long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId"); + String successURL = ParamUtil.getString(actionRequest, "successURL"); + DettPratica dettPratica = DettPraticaServiceUtil.getLastEditabledByIntPraticaAndTipoPratica( + intPraticaId, Arrays.asList(new String[] { TipoIntegrazioneUtil.VARIAZIONE_SOGGETTO })); if (Validator.isNull(dettPratica)) { - throw new SystemException( - "no variazione-soggetti in progress int fascicolo #" - + intPraticaId); + throw new SystemException("no variazione-soggetti in progress int fascicolo #" + intPraticaId); } dettPratica = DettPraticaServiceUtil.deleteDettPratica(dettPratica); @@ -839,11 +696,9 @@ public class FascicoloFePortlet extends MVCPortlet { } } - public void addVariante(ActionRequest actionRequest, - ActionResponse actionResponse) throws Exception { + public void addVariante(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { - ServiceContext serviceContext = ServiceContextFactory - .getInstance(actionRequest); + ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest); long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId"); boolean isVariante = ParamUtil.getBoolean(actionRequest, "isVariante"); String successURL = ParamUtil.getString(actionRequest, "successURL"); @@ -855,27 +710,22 @@ public class FascicoloFePortlet extends MVCPortlet { DettPratica lastDettPratica = DettPraticaLocalServiceUtil .getLastCompletedByIntPratica(intPraticaId); - DettPratica dettPratica = DettPraticaServiceUtil - .addDettPraticaClonedToIntPratica(intPraticaId, - lastDettPratica.getDettPraticaId(), - TipoIntegrazioneUtil.VARIANTE, serviceContext); + DettPratica dettPratica = DettPraticaServiceUtil.addDettPraticaClonedToIntPratica(intPraticaId, + lastDettPratica.getDettPraticaId(), TipoIntegrazioneUtil.VARIANTE, serviceContext); // successURL gia'� presente in actionResponse // successURL = // HttpUtil.addParameter(successURL, actionResponse.getNamespace() + // "mvcPath", // "/html/fascicolofe/edit_fascicolo.jsp"); - successURL = HttpUtil.addParameter(successURL, - actionResponse.getNamespace() + "dettPraticaId", + successURL = HttpUtil.addParameter(successURL, actionResponse.getNamespace() + "dettPraticaId", String.valueOf(dettPratica.getDettPraticaId())); - successURL = HttpUtil.addParameter(successURL, - actionResponse.getNamespace() + "isNewVariante", + successURL = HttpUtil.addParameter(successURL, actionResponse.getNamespace() + "isNewVariante", String.valueOf(true)); actionResponse.sendRedirect(successURL); } catch (PortalException | SystemException e) { - successURL = HttpUtil.setParameter(successURL, - actionResponse.getNamespace() + "mvcPath", + successURL = HttpUtil.setParameter(successURL, actionResponse.getNamespace() + "mvcPath", "/html/fascicolofe/view.jsp"); actionResponse.sendRedirect(successURL); @@ -885,20 +735,14 @@ public class FascicoloFePortlet extends MVCPortlet { } - public void deleteVariante(ActionRequest actionRequest, - ActionResponse actionResponse) throws Exception { + public void deleteVariante(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { try { - long intPraticaId = ParamUtil - .getLong(actionRequest, "intPraticaId"); - DettPratica dettPratica = DettPraticaServiceUtil - .getLastEditabledByIntPraticaAndTipoPratica( - intPraticaId, - Arrays.asList(new String[] { TipoIntegrazioneUtil.VARIANTE })); + long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId"); + DettPratica dettPratica = DettPraticaServiceUtil.getLastEditabledByIntPraticaAndTipoPratica( + intPraticaId, Arrays.asList(new String[] { TipoIntegrazioneUtil.VARIANTE })); if (Validator.isNull(dettPratica)) { - throw new SystemException( - "no variante in progress int fascicolo #" - + intPraticaId); + throw new SystemException("no variante in progress int fascicolo #" + intPraticaId); } dettPratica = DettPraticaServiceUtil.deleteDettPratica(dettPratica); @@ -908,14 +752,11 @@ public class FascicoloFePortlet extends MVCPortlet { } } - public void addIntegrazione(ActionRequest actionRequest, - ActionResponse actionResponse) throws Exception { + public void addIntegrazione(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { - ServiceContext serviceContext = ServiceContextFactory - .getInstance(actionRequest); + ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest); long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId"); - boolean isIntegrazione = ParamUtil.getBoolean(actionRequest, - "isIntegrazione"); + boolean isIntegrazione = ParamUtil.getBoolean(actionRequest, "isIntegrazione"); String successURL = ParamUtil.getString(actionRequest, "successURL"); try { @@ -925,19 +766,15 @@ public class FascicoloFePortlet extends MVCPortlet { DettPratica lastDettPratica = DettPraticaLocalServiceUtil .getLastCompletedByIntPratica(intPraticaId); - DettPratica dettPratica = DettPraticaServiceUtil - .addDettPraticaClonedToIntPratica(intPraticaId, - lastDettPratica.getDettPraticaId(), - TipoIntegrazioneUtil.RICHIESTA_INTEGRAZIONE, - serviceContext); + DettPratica dettPratica = DettPraticaServiceUtil.addDettPraticaClonedToIntPratica(intPraticaId, + lastDettPratica.getDettPraticaId(), TipoIntegrazioneUtil.RICHIESTA_INTEGRAZIONE, + serviceContext); - successURL = HttpUtil.addParameter(successURL, - actionResponse.getNamespace() + "dettPraticaId", + successURL = HttpUtil.addParameter(successURL, actionResponse.getNamespace() + "dettPraticaId", String.valueOf(dettPratica.getDettPraticaId())); actionResponse.sendRedirect(successURL); } catch (PortalException | SystemException e) { - successURL = HttpUtil.setParameter(successURL, - actionResponse.getNamespace() + "mvcPath", + successURL = HttpUtil.setParameter(successURL, actionResponse.getNamespace() + "mvcPath", "/html/fascicolofe/view.jsp"); actionResponse.sendRedirect(successURL); @@ -947,20 +784,16 @@ public class FascicoloFePortlet extends MVCPortlet { } - public void deleteIntegrazione(ActionRequest actionRequest, - ActionResponse actionResponse) throws Exception { + public void deleteIntegrazione(ActionRequest actionRequest, ActionResponse actionResponse) + throws Exception { try { - long intPraticaId = ParamUtil - .getLong(actionRequest, "intPraticaId"); + long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId"); DettPratica dettPratica = DettPraticaServiceUtil - .getLastEditabledByIntPraticaAndTipoPratica( - intPraticaId, + .getLastEditabledByIntPraticaAndTipoPratica(intPraticaId, Arrays.asList(new String[] { TipoIntegrazioneUtil.RICHIESTA_INTEGRAZIONE })); if (Validator.isNull(dettPratica)) { - throw new SystemException( - "no integrazione in progress int fascicolo #" - + intPraticaId); + throw new SystemException("no integrazione in progress int fascicolo #" + intPraticaId); } dettPratica = DettPraticaServiceUtil.deleteDettPratica(dettPratica); @@ -970,30 +803,24 @@ public class FascicoloFePortlet extends MVCPortlet { } } - public void addFineLavori(ActionRequest actionRequest, - ActionResponse actionResponse) throws Exception { + public void addFineLavori(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { - ServiceContext serviceContext = ServiceContextFactory - .getInstance(actionRequest); + ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest); long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId"); String successURL = ParamUtil.getString(actionRequest, "successURL"); - DettPratica dettPratica = DettPraticaServiceUtil - .getLastCompletedByIntPratica(intPraticaId); + DettPratica dettPratica = DettPraticaServiceUtil.getLastCompletedByIntPratica(intPraticaId); if (dettPratica == null) { - dettPratica = DettPraticaServiceUtil - .getLastEditableByIntPratica(intPraticaId); + dettPratica = DettPraticaServiceUtil.getLastEditableByIntPratica(intPraticaId); } try { - FineLavori fineLavori = FineLavoriServiceUtil.addFineLavori( - intPraticaId, serviceContext); + FineLavori fineLavori = FineLavoriServiceUtil.addFineLavori(intPraticaId, serviceContext); fineLavori.setNormEsenteCollaudo(dettPratica.getCollaudoStatico()); fineLavori = FineLavoriServiceUtil.updateFineLavori(fineLavori); - successURL = HttpUtil.addParameter(successURL, - actionResponse.getNamespace() + "fineLavoriId", + successURL = HttpUtil.addParameter(successURL, actionResponse.getNamespace() + "fineLavoriId", String.valueOf(fineLavori.getFineLavoriId())); /* * SDB: forse non è più necessario distinguere la fase i creazione @@ -1006,8 +833,7 @@ public class FascicoloFePortlet extends MVCPortlet { actionResponse.sendRedirect(successURL); } catch (PortalException | SystemException e) { - successURL = HttpUtil.setParameter(successURL, - actionResponse.getNamespace() + "mvcPath", + successURL = HttpUtil.setParameter(successURL, actionResponse.getNamespace() + "mvcPath", "/html/fascicolofe/view.jsp"); actionResponse.sendRedirect(successURL); @@ -1016,18 +842,13 @@ public class FascicoloFePortlet extends MVCPortlet { } } - public void deleteFineLavori(ActionRequest actionRequest, - ActionResponse actionResponse) throws Exception { + public void deleteFineLavori(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { try { - long intPraticaId = ParamUtil - .getLong(actionRequest, "intPraticaId"); - FineLavori fineLavori = FineLavoriServiceUtil - .getLastEditable(intPraticaId); + long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId"); + FineLavori fineLavori = FineLavoriServiceUtil.getLastEditable(intPraticaId); if (Validator.isNull(fineLavori)) { - throw new SystemException( - "no Fine Lavori in progress in fascicolo #" - + intPraticaId); + throw new SystemException("no Fine Lavori in progress in fascicolo #" + intPraticaId); } FineLavoriServiceUtil.deleteFineLavori(fineLavori); @@ -1037,25 +858,20 @@ public class FascicoloFePortlet extends MVCPortlet { } } - public void addCollaudo(ActionRequest actionRequest, - ActionResponse actionResponse) throws Exception { + public void addCollaudo(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { - ServiceContext serviceContext = ServiceContextFactory - .getInstance(actionRequest); + ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest); long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId"); String successURL = ParamUtil.getString(actionRequest, "successURL"); try { - Collaudo collaudo = CollaudoServiceUtil.addCollaudo(intPraticaId, - serviceContext); - successURL = HttpUtil.addParameter(successURL, - actionResponse.getNamespace() + "collaudoId", + Collaudo collaudo = CollaudoServiceUtil.addCollaudo(intPraticaId, serviceContext); + successURL = HttpUtil.addParameter(successURL, actionResponse.getNamespace() + "collaudoId", String.valueOf(collaudo.getCollaudoId())); actionResponse.sendRedirect(successURL); } catch (PortalException | SystemException e) { - successURL = HttpUtil.setParameter(successURL, - actionResponse.getNamespace() + "mvcPath", + successURL = HttpUtil.setParameter(successURL, actionResponse.getNamespace() + "mvcPath", "/html/fascicolofe/view.jsp"); actionResponse.sendRedirect(successURL); @@ -1064,17 +880,13 @@ public class FascicoloFePortlet extends MVCPortlet { } } - public void deleteCollaudo(ActionRequest actionRequest, - ActionResponse actionResponse) throws Exception { + public void deleteCollaudo(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { try { - long intPraticaId = ParamUtil - .getLong(actionRequest, "intPraticaId"); - Collaudo collaudo = CollaudoServiceUtil - .getLastEditable(intPraticaId); + long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId"); + Collaudo collaudo = CollaudoServiceUtil.getLastEditable(intPraticaId); if (Validator.isNull(collaudo)) { - throw new SystemException( - "no Collaudo in progress in fascicolo #" + intPraticaId); + throw new SystemException("no Collaudo in progress in fascicolo #" + intPraticaId); } CollaudoServiceUtil.deleteCollaudo(collaudo); @@ -1084,48 +896,40 @@ public class FascicoloFePortlet extends MVCPortlet { } } - public void verifyEntry(ActionRequest actionRequest, - ActionResponse actionResponse) throws Exception { + public void verifyEntry(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { - ServiceContext serviceContext = ServiceContextFactory.getInstance( - DettPratica.class.getName(), actionRequest); + ServiceContext serviceContext = ServiceContextFactory.getInstance(DettPratica.class.getName(), + actionRequest); long dettPraticaId = ParamUtil.getLong(actionRequest, "dettPraticaId"); - DettPratica dettPratica = DettPraticaLocalServiceUtil - .getDettPratica(dettPraticaId); + DettPratica dettPratica = DettPraticaLocalServiceUtil.getDettPratica(dettPraticaId); if (ValidazionePraticaUtil.praticaIsEditable(dettPraticaId) && serviceContext.getUserId() == dettPratica.getUserId()) { saveDatiDettPratica(dettPraticaId, actionRequest, actionResponse); } } - public void saveDettPratica(ActionRequest actionRequest, - ActionResponse actionResponse) throws Exception { + public void saveDettPratica(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { - ServiceContext serviceContext = ServiceContextFactory.getInstance( - DettPratica.class.getName(), actionRequest); + ServiceContext serviceContext = ServiceContextFactory.getInstance(DettPratica.class.getName(), + actionRequest); long dettPraticaId = ParamUtil.getLong(actionRequest, "dettPraticaId"); - DettPratica dettPratica = DettPraticaLocalServiceUtil - .getDettPratica(dettPraticaId); + DettPratica dettPratica = DettPraticaLocalServiceUtil.getDettPratica(dettPraticaId); String cmd = ParamUtil.getString(actionRequest, "cmd"); boolean bozza = ParamUtil.getBoolean(actionRequest, "bozza"); if (bozza) { saveDatiDettPratica(dettPraticaId, actionRequest, actionResponse); } else if ("delega".equalsIgnoreCase(cmd) - && DelegheUtil.hasDelegaAttiva(serviceContext.getUserId(), - dettPratica.getDettPraticaId())) { + && DelegheUtil.hasDelegaAttiva(serviceContext.getUserId(), dettPratica.getDettPraticaId())) { concludiDelegaDomanda(actionRequest, actionResponse); - String successURL = ParamUtil - .getString(actionRequest, "successURL"); + String successURL = ParamUtil.getString(actionRequest, "successURL"); actionResponse.sendRedirect(successURL); } else if ("asseverazione".equalsIgnoreCase(cmd) - && AsseverazioniUtil.hasAsseverazioneAttiva( - serviceContext.getUserId(), + && AsseverazioniUtil.hasAsseverazioneAttiva(serviceContext.getUserId(), dettPratica.getIntPraticaId())) { asseveraDomanda(actionRequest, actionResponse); - String successURL = ParamUtil - .getString(actionRequest, "successURL"); + String successURL = ParamUtil.getString(actionRequest, "successURL"); actionResponse.sendRedirect(successURL); } else if ("domanda".equalsIgnoreCase(cmd)) { saveDatiDettPratica(dettPraticaId, actionRequest, actionResponse); @@ -1136,43 +940,34 @@ public class FascicoloFePortlet extends MVCPortlet { } - public void saveTipoPratica(ActionRequest actionRequest, - ActionResponse actionResponse) throws Exception { + public void saveTipoPratica(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { - ServiceContext serviceContext = ServiceContextFactory.getInstance( - DettPratica.class.getName(), actionRequest); + ServiceContext serviceContext = ServiceContextFactory.getInstance(DettPratica.class.getName(), + actionRequest); long dettPraticaId = ParamUtil.getLong(actionRequest, "dettPraticaId"); - DettPratica dettPratica = DettPraticaLocalServiceUtil - .getDettPratica(dettPraticaId); + DettPratica dettPratica = DettPraticaLocalServiceUtil.getDettPratica(dettPraticaId); String cmd = ParamUtil.getString(actionRequest, "cmd"); boolean bozza = ParamUtil.getBoolean(actionRequest, "bozza"); if (bozza) { saveDatiTipoPratica(dettPraticaId, actionRequest, actionResponse); } else if ("delega".equalsIgnoreCase(cmd) - && DelegheUtil.hasDelegaAttiva(serviceContext.getUserId(), - dettPratica.getDettPraticaId())) { + && DelegheUtil.hasDelegaAttiva(serviceContext.getUserId(), dettPratica.getDettPraticaId())) { concludiDelegaDomanda(actionRequest, actionResponse); - String successURL = ParamUtil - .getString(actionRequest, "successURL"); + String successURL = ParamUtil.getString(actionRequest, "successURL"); actionResponse.sendRedirect(successURL); } else if ("asseverazione".equalsIgnoreCase(cmd) - && AsseverazioniUtil.hasAsseverazioneAttiva( - serviceContext.getUserId(), + && AsseverazioniUtil.hasAsseverazioneAttiva(serviceContext.getUserId(), dettPratica.getIntPraticaId())) { asseveraDomanda(actionRequest, actionResponse); - String successURL = ParamUtil - .getString(actionRequest, "successURL"); + String successURL = ParamUtil.getString(actionRequest, "successURL"); actionResponse.sendRedirect(successURL); } else if ("domanda".equalsIgnoreCase(cmd)) { - if (TipoIntegrazioneUtil.VARIAZIONE_SOGGETTO.equals(dettPratica - .getTipoIntegrazione())) { - saveVariazioneSoggetti(dettPraticaId, actionRequest, - actionResponse); + if (TipoIntegrazioneUtil.VARIAZIONE_SOGGETTO.equals(dettPratica.getTipoIntegrazione())) { + saveVariazioneSoggetti(dettPraticaId, actionRequest, actionResponse); } else { - saveDatiTipoPratica(dettPraticaId, actionRequest, - actionResponse); + saveDatiTipoPratica(dettPraticaId, actionRequest, actionResponse); } } else { throw new SystemException("operazione non gestita"); @@ -1180,50 +975,37 @@ public class FascicoloFePortlet extends MVCPortlet { } - public void saveFineLavori(ActionRequest actionRequest, - ActionResponse actionResponse) throws Exception { + public void saveFineLavori(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { long fineLavoriId = ParamUtil.getLong(actionRequest, "fineLavoriId"); boolean bozza = ParamUtil.getBoolean(actionRequest, "bozza"); - boolean parziale = ParamUtil - .getBoolean(actionRequest, "tipoFineLavori"); - Date dataFineLavori = ParamUtil.getDate(actionRequest, - "dataFineLavori", + boolean parziale = ParamUtil.getBoolean(actionRequest, "tipoFineLavori"); + Date dataFineLavori = ParamUtil.getDate(actionRequest, "dataFineLavori", DateFormatFactoryUtil.getDate(actionRequest.getLocale()), null); - String codiceFiscaleDelegato = ParamUtil.getString(actionRequest, - "direttoreLavori"); - boolean normEsenteBollo = ParamUtil.getBoolean(actionRequest, - "normEsenteBollo"); - boolean normEsenteCollaudo = ParamUtil.getBoolean(actionRequest, - "normEsenteCollaudo"); - - boolean isCheckedAltro = ParamUtil.getBoolean(actionRequest, - "altro_checkbox"); - String comunicazioneDirettoreLavori = isCheckedAltro ? ParamUtil - .getString(actionRequest, "comunicazioneDirettoreLavori") - : StringPool.BLANK; + String codiceFiscaleDelegato = ParamUtil.getString(actionRequest, "direttoreLavori"); + boolean normEsenteBollo = ParamUtil.getBoolean(actionRequest, "normEsenteBollo"); + boolean normEsenteCollaudo = ParamUtil.getBoolean(actionRequest, "normEsenteCollaudo"); + + boolean isCheckedAltro = ParamUtil.getBoolean(actionRequest, "altro_checkbox"); + String comunicazioneDirettoreLavori = isCheckedAltro ? ParamUtil.getString(actionRequest, + "comunicazioneDirettoreLavori") : StringPool.BLANK; long userId = PortalUtil.getUserId(actionRequest); try { - FineLavori fineLavori = FineLavoriServiceUtil - .getFineLavori(fineLavoriId); + FineLavori fineLavori = FineLavoriServiceUtil.getFineLavori(fineLavoriId); if (!fineLavori.isCompletata()) { if (bozza) { - FineLavoriServiceUtil.updateFineLavori(userId, - fineLavori.getFineLavoriId(), - fineLavori.getIntPraticaId(), parziale, false, - dataFineLavori, codiceFiscaleDelegato, - normEsenteBollo, normEsenteCollaudo, + FineLavoriServiceUtil.updateFineLavori(userId, fineLavori.getFineLavoriId(), + fineLavori.getIntPraticaId(), parziale, false, dataFineLavori, + codiceFiscaleDelegato, normEsenteBollo, normEsenteCollaudo, comunicazioneDirettoreLavori); } else { - FineLavoriServiceUtil.updateFineLavori(userId, - fineLavori.getFineLavoriId(), - fineLavori.getIntPraticaId(), parziale, false, - dataFineLavori, codiceFiscaleDelegato, - normEsenteBollo, normEsenteCollaudo, + FineLavoriServiceUtil.updateFineLavori(userId, fineLavori.getFineLavoriId(), + fineLavori.getIntPraticaId(), parziale, false, dataFineLavori, + codiceFiscaleDelegato, normEsenteBollo, normEsenteCollaudo, comunicazioneDirettoreLavori); } @@ -1231,19 +1013,16 @@ public class FascicoloFePortlet extends MVCPortlet { String redirect = ParamUtil.getString(actionRequest, "redirect"); if (Validator.isNull(redirect)) { - String successURL = ParamUtil.getString(actionRequest, - "successURL"); + String successURL = ParamUtil.getString(actionRequest, "successURL"); if (Validator.isNotNull(successURL)) { - successURL = HttpUtil.removeParameter(successURL, - actionResponse.getNamespace() + "fineLavoriId"); - successURL = HttpUtil.addParameter(successURL, - actionResponse.getNamespace() + "fineLavoriId", - String.valueOf(fineLavoriId)); - successURL = HttpUtil.removeParameter(successURL, - actionResponse.getNamespace() + "openVerifyUrl"); - successURL = HttpUtil.addParameter(successURL, - actionResponse.getNamespace() + "openVerifyUrl", - String.valueOf(!bozza)); + successURL = HttpUtil.removeParameter(successURL, actionResponse.getNamespace() + + "fineLavoriId"); + successURL = HttpUtil.addParameter(successURL, actionResponse.getNamespace() + + "fineLavoriId", String.valueOf(fineLavoriId)); + successURL = HttpUtil.removeParameter(successURL, actionResponse.getNamespace() + + "openVerifyUrl"); + successURL = HttpUtil.addParameter(successURL, actionResponse.getNamespace() + + "openVerifyUrl", String.valueOf(!bozza)); /* * SDB: forse non è più necessario distinguere la fase i * creazione di una nuovo fineLavori da un editing @@ -1260,25 +1039,20 @@ public class FascicoloFePortlet extends MVCPortlet { } catch (PortalException e) { _log.error(e, e); PortalUtil.copyRequestParameters(actionRequest, actionResponse); - actionResponse.setRenderParameter("mvcPath", - "/html/fascicolofe/edit_fine-lavori.jsp"); - actionResponse.setRenderParameter("fineLavoriId", - String.valueOf(fineLavoriId)); + actionResponse.setRenderParameter("mvcPath", "/html/fascicolofe/edit_fine-lavori.jsp"); + actionResponse.setRenderParameter("fineLavoriId", String.valueOf(fineLavoriId)); throw e; } catch (Exception e) { _log.error(e, e); PortalUtil.copyRequestParameters(actionRequest, actionResponse); - actionResponse.setRenderParameter("mvcPath", - "/html/fascicolofe/edit_fine-lavori.jsp"); - actionResponse.setRenderParameter("fineLavoriId", - String.valueOf(fineLavoriId)); + actionResponse.setRenderParameter("mvcPath", "/html/fascicolofe/edit_fine-lavori.jsp"); + actionResponse.setRenderParameter("fineLavoriId", String.valueOf(fineLavoriId)); throw new PortalException(e); } } - public void saveCollaudo(ActionRequest actionRequest, - ActionResponse actionResponse) throws Exception { + public void saveCollaudo(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { long collaudoId = ParamUtil.getLong(actionRequest, "collaudoId"); @@ -1287,12 +1061,9 @@ public class FascicoloFePortlet extends MVCPortlet { boolean parziale = ParamUtil.getBoolean(actionRequest, "tipoCollaudo"); Date dataCollaudo = ParamUtil.getDate(actionRequest, "dataCollaudo", DateFormatFactoryUtil.getDate(actionRequest.getLocale()), null); - String codiceFiscaleDelegato = ParamUtil.getString(actionRequest, - "collaudatore"); - boolean normEsenteBollo = ParamUtil.getBoolean(actionRequest, - "normEsenteBollo"); - String noteCollaudo = ParamUtil.getString(actionRequest, - "noteCollaudo", StringPool.BLANK); + String codiceFiscaleDelegato = ParamUtil.getString(actionRequest, "collaudatore"); + boolean normEsenteBollo = ParamUtil.getBoolean(actionRequest, "normEsenteBollo"); + String noteCollaudo = ParamUtil.getString(actionRequest, "noteCollaudo", StringPool.BLANK); long userId = PortalUtil.getUserId(actionRequest); try { @@ -1300,16 +1071,12 @@ public class FascicoloFePortlet extends MVCPortlet { if (!collaudo.isCompletata()) { if (bozza) { - CollaudoServiceUtil.updateCollaudo(userId, - collaudo.getCollaudoId(), - collaudo.getIntPraticaId(), parziale, false, - dataCollaudo, codiceFiscaleDelegato, + CollaudoServiceUtil.updateCollaudo(userId, collaudo.getCollaudoId(), + collaudo.getIntPraticaId(), parziale, false, dataCollaudo, codiceFiscaleDelegato, normEsenteBollo, noteCollaudo); } else { - CollaudoServiceUtil.updateCollaudo(userId, - collaudo.getCollaudoId(), - collaudo.getIntPraticaId(), parziale, false, - dataCollaudo, codiceFiscaleDelegato, + CollaudoServiceUtil.updateCollaudo(userId, collaudo.getCollaudoId(), + collaudo.getIntPraticaId(), parziale, false, dataCollaudo, codiceFiscaleDelegato, normEsenteBollo, noteCollaudo); } @@ -1317,81 +1084,63 @@ public class FascicoloFePortlet extends MVCPortlet { String redirect = ParamUtil.getString(actionRequest, "redirect"); if (Validator.isNull(redirect)) { - String successURL = ParamUtil.getString(actionRequest, - "successURL"); + String successURL = ParamUtil.getString(actionRequest, "successURL"); if (Validator.isNotNull(successURL)) { - successURL = HttpUtil.removeParameter(successURL, - actionResponse.getNamespace() + "collaudoId"); - successURL = HttpUtil.addParameter(successURL, - actionResponse.getNamespace() + "collaudoId", - String.valueOf(collaudoId)); - successURL = HttpUtil.removeParameter(successURL, - actionResponse.getNamespace() + "openVerifyUrl"); - successURL = HttpUtil.addParameter(successURL, - actionResponse.getNamespace() + "openVerifyUrl", - String.valueOf(!bozza)); + successURL = HttpUtil.removeParameter(successURL, actionResponse.getNamespace() + + "collaudoId"); + successURL = HttpUtil.addParameter(successURL, actionResponse.getNamespace() + + "collaudoId", String.valueOf(collaudoId)); + successURL = HttpUtil.removeParameter(successURL, actionResponse.getNamespace() + + "openVerifyUrl"); + successURL = HttpUtil.addParameter(successURL, actionResponse.getNamespace() + + "openVerifyUrl", String.valueOf(!bozza)); actionResponse.sendRedirect(successURL); } } } catch (PortalException e) { _log.error(e, e); PortalUtil.copyRequestParameters(actionRequest, actionResponse); - actionResponse.setRenderParameter("mvcPath", - "/html/fascicolofe/edit_collaudo.jsp"); - actionResponse.setRenderParameter("collaudoId", - String.valueOf(collaudoId)); + actionResponse.setRenderParameter("mvcPath", "/html/fascicolofe/edit_collaudo.jsp"); + actionResponse.setRenderParameter("collaudoId", String.valueOf(collaudoId)); throw e; } catch (Exception e) { _log.error(e, e); PortalUtil.copyRequestParameters(actionRequest, actionResponse); - actionResponse.setRenderParameter("mvcPath", - "/html/fascicolofe/edit_collaudo.jsp"); - actionResponse.setRenderParameter("collaudoId", - String.valueOf(collaudoId)); + actionResponse.setRenderParameter("mvcPath", "/html/fascicolofe/edit_collaudo.jsp"); + actionResponse.setRenderParameter("collaudoId", String.valueOf(collaudoId)); throw new PortalException(e); } } - private void asseveraDomanda(ActionRequest actionRequest, - ActionResponse actionResponse) throws IOException, - NestableException { + private void asseveraDomanda(ActionRequest actionRequest, ActionResponse actionResponse) + throws IOException, NestableException { try { String dichiarazioni = ""; if (ParamUtil.getBoolean(actionRequest, "asPresenti", false)) { Map parametri = new HashMap<>(); - parametri.put("coniugio", ParamUtil.getBoolean(actionRequest, - "asConiugio", false)); - parametri.put("relazioni", - ParamUtil.getString(actionRequest, "asRelazioni", "")); + parametri.put("coniugio", ParamUtil.getBoolean(actionRequest, "asConiugio", false)); + parametri.put("relazioni", ParamUtil.getString(actionRequest, "asRelazioni", "")); - JSONSerializer serializer = JSONFactoryUtil - .createJSONSerializer(); + JSONSerializer serializer = JSONFactoryUtil.createJSONSerializer(); dichiarazioni = serializer.serializeDeep(parametri); } - ServiceContext serviceContext = ServiceContextFactory.getInstance( - DettPratica.class.getName(), actionRequest); - long dettPraticaId = ParamUtil.getLong(actionRequest, - "dettPraticaId"); - DettPratica dettPratica = DettPraticaLocalServiceUtil - .getDettPratica(dettPraticaId); - if (AsseverazioniUtil.hasAsseverazioneAttiva( - serviceContext.getUserId(), dettPratica.getIntPraticaId())) { - User user = UserLocalServiceUtil.getUser(serviceContext - .getUserId()); + ServiceContext serviceContext = ServiceContextFactory.getInstance(DettPratica.class.getName(), + actionRequest); + long dettPraticaId = ParamUtil.getLong(actionRequest, "dettPraticaId"); + DettPratica dettPratica = DettPraticaLocalServiceUtil.getDettPratica(dettPraticaId); + if (AsseverazioniUtil.hasAsseverazioneAttiva(serviceContext.getUserId(), + dettPratica.getIntPraticaId())) { + User user = UserLocalServiceUtil.getUser(serviceContext.getUserId()); List asseverazioni = AsseverazioneServiceUtil - .findByIntPratica_CodiceFiscale_InEsito( - dettPratica.getIntPraticaId(), - user.getScreenName(), - new String[] { DelegheUtil.STATO_ASSEGNATA }, + .findByIntPratica_CodiceFiscale_InEsito(dettPratica.getIntPraticaId(), + user.getScreenName(), new String[] { DelegheUtil.STATO_ASSEGNATA }, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); for (Asseverazione asseverazione : asseverazioni) { asseverazione.setDichiarazioni(dichiarazioni); - AsseverazioneLocalServiceUtil - .updateAsseverazione(asseverazione); - AsseverazioneServiceUtil.cambioStatoAsseverazione( - asseverazione.getAsseverazioneId(), + AsseverazioneLocalServiceUtil.updateAsseverazione(asseverazione); + AsseverazioneServiceUtil.cambioStatoAsseverazione(asseverazione.getAsseverazioneId(), AsseverazioniUtil.STATO_ESEGUITA); } } @@ -1401,63 +1150,48 @@ public class FascicoloFePortlet extends MVCPortlet { } } - private void concludiDelegaDomanda(ActionRequest actionRequest, - ActionResponse actionResponse) throws Exception { + private void concludiDelegaDomanda(ActionRequest actionRequest, ActionResponse actionResponse) + throws Exception { try { - ServiceContext serviceContext = ServiceContextFactory.getInstance( - DettPratica.class.getName(), actionRequest); - long dettPraticaId = ParamUtil.getLong(actionRequest, - "dettPraticaId"); - DettPratica dettPratica = DettPraticaLocalServiceUtil - .getDettPratica(dettPraticaId); - if (DelegheUtil.hasDelegaCompilazioneDomanda( - serviceContext.getUserId(), dettPraticaId) - || DelegheUtil.hasDelegaCompilazioneSezioneGeologica( - serviceContext.getUserId(), dettPraticaId) - || DelegheUtil.hasDelegaFirmaAllegati( - serviceContext.getUserId(), dettPraticaId)) { - - User user = UserLocalServiceUtil.getUser(serviceContext - .getUserId()); - List deleghe = DelegaServiceUtil - .findByIntPratica_CodiceFiscale_InEsito( - dettPratica.getIntPraticaId(), - user.getScreenName(), - new String[] { DelegheUtil.STATO_ASSEGNATA }, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - - saveDatiDettPratica(dettPraticaId, actionRequest, - actionResponse); + ServiceContext serviceContext = ServiceContextFactory.getInstance(DettPratica.class.getName(), + actionRequest); + long dettPraticaId = ParamUtil.getLong(actionRequest, "dettPraticaId"); + DettPratica dettPratica = DettPraticaLocalServiceUtil.getDettPratica(dettPraticaId); + if (DelegheUtil.hasDelegaCompilazioneDomanda(serviceContext.getUserId(), dettPraticaId) + || DelegheUtil.hasDelegaCompilazioneSezioneGeologica(serviceContext.getUserId(), + dettPraticaId) + || DelegheUtil.hasDelegaFirmaAllegati(serviceContext.getUserId(), dettPraticaId)) { + + User user = UserLocalServiceUtil.getUser(serviceContext.getUserId()); + List deleghe = DelegaServiceUtil.findByIntPratica_CodiceFiscale_InEsito( + dettPratica.getIntPraticaId(), user.getScreenName(), + new String[] { DelegheUtil.STATO_ASSEGNATA }, QueryUtil.ALL_POS, QueryUtil.ALL_POS, + null); + + saveDatiDettPratica(dettPraticaId, actionRequest, actionResponse); Map parametri = new HashMap<>(); if (ParamUtil.getBoolean(actionRequest, "dgPresenti", false)) { - parametri.put("coniugio", ParamUtil.getBoolean( - actionRequest, "dgConiugio", false)); - parametri.put("relazioni", ParamUtil.getString( - actionRequest, "dgRelazioni", "")); + parametri.put("coniugio", ParamUtil.getBoolean(actionRequest, "dgConiugio", false)); + parametri.put("relazioni", ParamUtil.getString(actionRequest, "dgRelazioni", "")); } - JSONSerializer serializer = JSONFactoryUtil - .createJSONSerializer(); + JSONSerializer serializer = JSONFactoryUtil.createJSONSerializer(); String dichiarazioni = serializer.serializeDeep(parametri); for (Delega delega : deleghe) { delega.setDichiarazioni(dichiarazioni); DelegaLocalServiceUtil.updateDelega(delega); - DelegaServiceUtil.cambioStato(serviceContext.getUserId(), - delega.getDelegaId(), + DelegaServiceUtil.cambioStato(serviceContext.getUserId(), delega.getDelegaId(), AsseverazioniUtil.STATO_ESEGUITA); - if (delega.getTipologia().equalsIgnoreCase( - DelegheUtil.TIPO_GEOLOGO)) { - DelegaLocalServiceUtil - .generaDocumentoConcludiDelegaGeologo( - dettPraticaId, delega, serviceContext); + if (delega.getTipologia().equalsIgnoreCase(DelegheUtil.TIPO_GEOLOGO)) { + DelegaLocalServiceUtil.generaDocumentoConcludiDelegaGeologo(dettPraticaId, delega, + serviceContext); } } } else { - throw new SystemException( - "sistema di deleghe non attivo per la pratica"); + throw new SystemException("sistema di deleghe non attivo per la pratica"); } } catch (PortalException | SystemException e) { _log.error(e, e); @@ -1465,43 +1199,31 @@ public class FascicoloFePortlet extends MVCPortlet { } } - private void saveDatiDettPratica(long dettPraticaId, - ActionRequest actionRequest, ActionResponse actionResponse) - throws Exception { + private void saveDatiDettPratica(long dettPraticaId, ActionRequest actionRequest, + ActionResponse actionResponse) throws Exception { - ServiceContext serviceContext = ServiceContextFactory.getInstance( - DettPratica.class.getName(), actionRequest); + ServiceContext serviceContext = ServiceContextFactory.getInstance(DettPratica.class.getName(), + actionRequest); - DettPratica dettPratica = DettPraticaServiceUtil - .getDettPratica(dettPraticaId); + DettPratica dettPratica = DettPraticaServiceUtil.getDettPratica(dettPraticaId); boolean bozza = ParamUtil.getBoolean(actionRequest, "bozza", true); String cmd = ParamUtil.getString(actionRequest, "cmd"); long integrazione = ParamUtil.getLong(actionRequest, "integrazione"); - boolean disabledSubmit = ParamUtil.getBoolean(actionRequest, - "disabledSubmit", true); - boolean geoDisabledSubmit = ParamUtil.getBoolean(actionRequest, - "geoDisabledSubmit", true); + boolean disabledSubmit = ParamUtil.getBoolean(actionRequest, "disabledSubmit", true); + boolean geoDisabledSubmit = ParamUtil.getBoolean(actionRequest, "geoDisabledSubmit", true); String protocollo = ParamUtil.getString(actionRequest, "protocollo"); - String tipoIntegrazione = ParamUtil.getString(actionRequest, - "tipoIntegrazione"); + String tipoIntegrazione = ParamUtil.getString(actionRequest, "tipoIntegrazione"); boolean completa = ParamUtil.getBoolean(actionRequest, "completa"); boolean gestita = ParamUtil.getBoolean(actionRequest, "gestita"); int statusTask = ParamUtil.getInteger(actionRequest, "statusTask"); - boolean workflowForzato = ParamUtil.getBoolean(actionRequest, - "workflowForzato"); - long soggettoSostituitoId = ParamUtil.getLong(actionRequest, - "soggettoSostituitoId"); - long oldDettPraticaId = ParamUtil.getLong(actionRequest, - "oldDettPraticaId"); + boolean workflowForzato = ParamUtil.getBoolean(actionRequest, "workflowForzato"); + long soggettoSostituitoId = ParamUtil.getLong(actionRequest, "soggettoSostituitoId"); long variataDa = ParamUtil.getLong(actionRequest, "variataDa"); - long varianteNumero = ParamUtil - .getLong(actionRequest, "varianteNumero"); - boolean varianteSostanziale = ParamUtil.getBoolean(actionRequest, - "varianteSostanziale"); - boolean operaConforme = ParamUtil.getBoolean(actionRequest, - "operaConforme"); + long varianteNumero = ParamUtil.getLong(actionRequest, "varianteNumero"); + boolean varianteSostanziale = ParamUtil.getBoolean(actionRequest, "varianteSostanziale"); + boolean operaConforme = ParamUtil.getBoolean(actionRequest, "operaConforme"); // boolean isCodiceFiscaleDelegatoCommittenteAuthorized = // ParamUtil.getBoolean(actionRequest, @@ -1512,38 +1234,30 @@ public class FascicoloFePortlet extends MVCPortlet { // user.getScreenName() : ""; String codiceFiscaleDelegatoCommittente = user.getScreenName(); - boolean isCodiceFiscaleDelegatoFineLavoriAuthorized = ParamUtil - .getBoolean(actionRequest, - "codiceFiscaleDelegatoFineLavoriEnabled"); + boolean isCodiceFiscaleDelegatoFineLavoriAuthorized = ParamUtil.getBoolean(actionRequest, + "codiceFiscaleDelegatoFineLavoriEnabled"); String codiceFiscaleDelegatoFineLavori = isCodiceFiscaleDelegatoFineLavoriAuthorized ? ParamUtil - .getString(actionRequest, "codiceFiscaleDelegatoFineLavori") - : ""; + .getString(actionRequest, "codiceFiscaleDelegatoFineLavori") : ""; - boolean isCodiceFiscaleDelegatoCollaudoAuthorized = ParamUtil - .getBoolean(actionRequest, - "codiceFiscaleDelegatoCollaudoEnabled"); + boolean isCodiceFiscaleDelegatoCollaudoAuthorized = ParamUtil.getBoolean(actionRequest, + "codiceFiscaleDelegatoCollaudoEnabled"); String codiceFiscaleDelegatoCollaudo = isCodiceFiscaleDelegatoCollaudoAuthorized ? ParamUtil .getString(actionRequest, "codiceFiscaleDelegatoCollaudo") : ""; // FIXME A che serve??? - String codiceRuoloDelegato = ParamUtil.getString(actionRequest, - "codiceRuoloDelegato"); + String codiceRuoloDelegato = ParamUtil.getString(actionRequest, "codiceRuoloDelegato"); - boolean inizioLavoriContestualeOpera = ParamUtil.getBoolean( - actionRequest, "inizioLavoriContestualeOpera"); + boolean inizioLavoriContestualeOpera = ParamUtil.getBoolean(actionRequest, + "inizioLavoriContestualeOpera"); long pagamentoId = ParamUtil.getLong(actionRequest, "pagamentoId"); - Date dataEffettuazione = ParamUtil.getDate(actionRequest, - "dataEffettuazione", + Date dataEffettuazione = ParamUtil.getDate(actionRequest, "dataEffettuazione", DateFormatFactoryUtil.getDate(actionRequest.getLocale())); - Date dataInizioLavoriOpera = ParamUtil.getDate(actionRequest, - "dataInizioLavoriOpera", + Date dataInizioLavoriOpera = ParamUtil.getDate(actionRequest, "dataInizioLavoriOpera", DateFormatFactoryUtil.getDate(actionRequest.getLocale())); - Date dataInizioEsecuzioneOpera = ParamUtil.getDate(actionRequest, - "dataInizioEsecuzioneOpera", + Date dataInizioEsecuzioneOpera = ParamUtil.getDate(actionRequest, "dataInizioEsecuzioneOpera", DateFormatFactoryUtil.getDate(actionRequest.getLocale())); - Date dataFineEsecuzioneOpera = ParamUtil.getDate(actionRequest, - "dataFineEsecuzioneOpera", + Date dataFineEsecuzioneOpera = ParamUtil.getDate(actionRequest, "dataFineEsecuzioneOpera", DateFormatFactoryUtil.getDate(actionRequest.getLocale())); String note = ParamUtil.getString(actionRequest, "note"); String noteUfficio = ParamUtil.getString(actionRequest, "noteUfficio"); @@ -1551,343 +1265,250 @@ public class FascicoloFePortlet extends MVCPortlet { // "localizzazioneGeografica"); // PAGAMENTI - String codicePagamento = ParamUtil.getString(actionRequest, - "codicePagamento"); - String causalePagamento = ParamUtil.getString(actionRequest, - "causalePagamento"); - String mezzoPagamento = ParamUtil.getString(actionRequest, - "mezzoPagamento"); - String importoBolli = ParamUtil - .getString(actionRequest, "importoBolli"); - String importoSpeseIstruttoria = ParamUtil.getString(actionRequest, - "importoSpeseIstruttoria"); - - boolean pagNuoveCostruzioni = ParamUtil.getBoolean(actionRequest, - "pagNuoveCostruzioni"); - int pagAdeguamentoSismico = ParamUtil.getInteger(actionRequest, - "pagAdeguamentoSismico"); - int pagMiglioramentoSismico = ParamUtil.getInteger(actionRequest, - "pagMiglioramentoSismico"); - boolean pagRiparazioneInterventoLocale = ParamUtil.getBoolean( - actionRequest, "pagRiparazioneInterventoLocale"); - int pagNuovaCostruzione = ParamUtil.getInteger(actionRequest, - "pagNuovaCostruzione"); - boolean pagVarianti = ParamUtil - .getBoolean(actionRequest, "pagVarianti"); + String codicePagamento = ParamUtil.getString(actionRequest, "codicePagamento"); + String causalePagamento = ParamUtil.getString(actionRequest, "causalePagamento"); + String mezzoPagamento = ParamUtil.getString(actionRequest, "mezzoPagamento"); + String importoBolli = ParamUtil.getString(actionRequest, "importoBolli"); + String importoSpeseIstruttoria = ParamUtil.getString(actionRequest, "importoSpeseIstruttoria"); + + boolean pagNuoveCostruzioni = ParamUtil.getBoolean(actionRequest, "pagNuoveCostruzioni"); + int pagAdeguamentoSismico = ParamUtil.getInteger(actionRequest, "pagAdeguamentoSismico"); + int pagMiglioramentoSismico = ParamUtil.getInteger(actionRequest, "pagMiglioramentoSismico"); + boolean pagRiparazioneInterventoLocale = ParamUtil.getBoolean(actionRequest, + "pagRiparazioneInterventoLocale"); + int pagNuovaCostruzione = ParamUtil.getInteger(actionRequest, "pagNuovaCostruzione"); + boolean pagVarianti = ParamUtil.getBoolean(actionRequest, "pagVarianti"); int pagAltro = ParamUtil.getInteger(actionRequest, "pagAltro"); - boolean pagMiglioramentoSismicoSicilia = ParamUtil.getBoolean( - actionRequest, "pagMiglioramentoSismicoSicilia"); - String pagCalcolatoAdeguamentoSismico = ParamUtil.getString( - actionRequest, "pagCalcolatoAdeguamentoSismico"); - String pagCalcolatoMiglioramentoSismico = ParamUtil.getString( - actionRequest, "pagCalcolatoMiglioramentoSismico"); - String pagCalcolatoRiparazioneInterventoLocale = ParamUtil.getString( - actionRequest, "pagCalcolatoRiparazioneInterventoLocale"); - String pagCalcolatoOperaNonQuantificabile = ParamUtil.getString( - actionRequest, "pagCalcolatoOperaNonQuantificabile"); - String pagEffettivoAdeguamentoSismico = ParamUtil.getString( - actionRequest, "pagEffettivoAdeguamentoSismico"); - String pagEffettivoMiglioramentoSismico = ParamUtil.getString( - actionRequest, "pagEffettivoMiglioramentoSismico"); - String pagEffettivoRiparazioneInterventoLocale = ParamUtil.getString( - actionRequest, "pagEffettivoRiparazioneInterventoLocale"); - String pagEffettivoOperaNonQuantificabile = ParamUtil.getString( - actionRequest, "pagEffettivoOperaNonQuantificabile"); - String pagNoteUtente = ParamUtil.getString(actionRequest, - "pagNoteUtente"); + boolean pagMiglioramentoSismicoSicilia = ParamUtil.getBoolean(actionRequest, + "pagMiglioramentoSismicoSicilia"); + String pagCalcolatoAdeguamentoSismico = ParamUtil.getString(actionRequest, + "pagCalcolatoAdeguamentoSismico"); + String pagCalcolatoMiglioramentoSismico = ParamUtil.getString(actionRequest, + "pagCalcolatoMiglioramentoSismico"); + String pagCalcolatoRiparazioneInterventoLocale = ParamUtil.getString(actionRequest, + "pagCalcolatoRiparazioneInterventoLocale"); + String pagCalcolatoOperaNonQuantificabile = ParamUtil.getString(actionRequest, + "pagCalcolatoOperaNonQuantificabile"); + String pagEffettivoAdeguamentoSismico = ParamUtil.getString(actionRequest, + "pagEffettivoAdeguamentoSismico"); + String pagEffettivoMiglioramentoSismico = ParamUtil.getString(actionRequest, + "pagEffettivoMiglioramentoSismico"); + String pagEffettivoRiparazioneInterventoLocale = ParamUtil.getString(actionRequest, + "pagEffettivoRiparazioneInterventoLocale"); + String pagEffettivoOperaNonQuantificabile = ParamUtil.getString(actionRequest, + "pagEffettivoOperaNonQuantificabile"); + String pagNoteUtente = ParamUtil.getString(actionRequest, "pagNoteUtente"); // SEZIONE DETTAGLI PRINCIPALI - boolean collaudoStatico = ParamUtil.getBoolean(actionRequest, - "collaudoStatico"); - boolean lavoriInEconomiaCommittente = ParamUtil.getBoolean( - actionRequest, "lavoriInEconomiaCommittente"); - String destinazione = ParamUtil - .getString(actionRequest, "destinazione"); + boolean collaudoStatico = ParamUtil.getBoolean(actionRequest, "collaudoStatico"); + boolean lavoriInEconomiaCommittente = ParamUtil.getBoolean(actionRequest, + "lavoriInEconomiaCommittente"); + String destinazione = ParamUtil.getString(actionRequest, "destinazione"); // String tipologiaSistemaCostruttivo = // ParamUtil.getString(actionRequest, // "tipologiaSistemaCostruttivo"); String ag = ParamUtil.getString(actionRequest, "ag"); - String descLongIntervento = ParamUtil.getString(actionRequest, - "descLongIntervento"); + String descLongIntervento = ParamUtil.getString(actionRequest, "descLongIntervento"); String via = ParamUtil.getString(actionRequest, "via"); String localita = ParamUtil.getString(actionRequest, "localita"); - String estremiCatastali = ParamUtil.getString(actionRequest, - "estremiCatastali"); - String estremiPratCom = ParamUtil.getString(actionRequest, - "estremiPratCom"); + String estremiCatastali = ParamUtil.getString(actionRequest, "estremiCatastali"); + String estremiPratCom = ParamUtil.getString(actionRequest, "estremiPratCom"); String metratura = ParamUtil.getString(actionRequest, "metratura"); - boolean lavoriPubblici = ParamUtil.getBoolean(actionRequest, - "lavoriPubblici"); - int lavoriPubbliciPercentuale = ParamUtil.getInteger(actionRequest, - "lavoriPubbliciPercentuale"); - String numeroCivico = ParamUtil - .getString(actionRequest, "numeroCivico"); + boolean lavoriPubblici = ParamUtil.getBoolean(actionRequest, "lavoriPubblici"); + int lavoriPubbliciPercentuale = ParamUtil.getInteger(actionRequest, "lavoriPubbliciPercentuale"); + String numeroCivico = ParamUtil.getString(actionRequest, "numeroCivico"); String dcFoglio = ParamUtil.getString(actionRequest, "dcFoglio"); String dcAllegato = ParamUtil.getString(actionRequest, "dcAllegato"); - String particella1 = ParamUtil.getString(actionRequest, "particella1", - "").replaceAll(Pattern.quote("|"), " "); - String particella2 = ParamUtil.getString(actionRequest, "particella2", - "").replaceAll(Pattern.quote("|"), " "); - String particella3 = ParamUtil.getString(actionRequest, "particella3", - "").replaceAll(Pattern.quote("|"), " "); - String particella4 = ParamUtil.getString(actionRequest, "particella4", - "").replaceAll(Pattern.quote("|"), " "); - String dcParticelle = particella1 + StringPool.PIPE + particella2 - + StringPool.PIPE + particella3 + StringPool.PIPE + particella4; - - String latitudine = ParamUtil.getString(actionRequest, "lat", "") - .replaceAll(Pattern.quote("|"), " "); - String longitudine = ParamUtil.getString(actionRequest, "long", "") - .replaceAll(Pattern.quote("|"), " "); - String zoom = ParamUtil.getString(actionRequest, "zoom", "") - .replaceAll(Pattern.quote("|"), " "); - String localizzazioneGeografica = latitudine + StringPool.PIPE - + longitudine + StringPool.PIPE + zoom; - - boolean tcNuovaCostruzione = ParamUtil.getBoolean(actionRequest, - "tcNuovaCostruzione"); - boolean tcAdeguamentoSismico = ParamUtil.getBoolean(actionRequest, - "tcAdeguamentoSismico"); - boolean tcMiglioramentoSismico = ParamUtil.getBoolean(actionRequest, - "tcMiglioramentoSismico"); - boolean tcRiparazioneInterventoLocale = ParamUtil.getBoolean( - actionRequest, "tcRiparazioneInterventoLocale"); + String particella1 = ParamUtil.getString(actionRequest, "particella1", "").replaceAll( + Pattern.quote("|"), " "); + String particella2 = ParamUtil.getString(actionRequest, "particella2", "").replaceAll( + Pattern.quote("|"), " "); + String particella3 = ParamUtil.getString(actionRequest, "particella3", "").replaceAll( + Pattern.quote("|"), " "); + String particella4 = ParamUtil.getString(actionRequest, "particella4", "").replaceAll( + Pattern.quote("|"), " "); + String dcParticelle = particella1 + StringPool.PIPE + particella2 + StringPool.PIPE + particella3 + + StringPool.PIPE + particella4; + + String latitudine = ParamUtil.getString(actionRequest, "lat", "").replaceAll(Pattern.quote("|"), " "); + String longitudine = ParamUtil.getString(actionRequest, "long", "").replaceAll(Pattern.quote("|"), + " "); + String zoom = ParamUtil.getString(actionRequest, "zoom", "").replaceAll(Pattern.quote("|"), " "); + String localizzazioneGeografica = latitudine + StringPool.PIPE + longitudine + StringPool.PIPE + zoom; + + boolean tcNuovaCostruzione = ParamUtil.getBoolean(actionRequest, "tcNuovaCostruzione"); + boolean tcAdeguamentoSismico = ParamUtil.getBoolean(actionRequest, "tcAdeguamentoSismico"); + boolean tcMiglioramentoSismico = ParamUtil.getBoolean(actionRequest, "tcMiglioramentoSismico"); + boolean tcRiparazioneInterventoLocale = ParamUtil.getBoolean(actionRequest, + "tcRiparazioneInterventoLocale"); boolean tcInCA = ParamUtil.getBoolean(actionRequest, "tcInCA"); boolean tcInOpera = ParamUtil.getBoolean(actionRequest, "tcInOpera"); - boolean tcPrefabbricato = ParamUtil.getBoolean(actionRequest, - "tcPrefabbricato"); - boolean tcInAcciaio = ParamUtil - .getBoolean(actionRequest, "tcInAcciaio"); + boolean tcPrefabbricato = ParamUtil.getBoolean(actionRequest, "tcPrefabbricato"); + boolean tcInAcciaio = ParamUtil.getBoolean(actionRequest, "tcInAcciaio"); boolean tcMista = ParamUtil.getBoolean(actionRequest, "tcMista"); - boolean tcInMuratura = ParamUtil.getBoolean(actionRequest, - "tcInMuratura"); - boolean tcInMuraturaOrdinaria = ParamUtil.getBoolean(actionRequest, - "tcInMuraturaOrdinaria"); - boolean tcInMuraturaArmata = ParamUtil.getBoolean(actionRequest, - "tcInMuraturaArmata"); - boolean tcInMuraturaMista = ParamUtil.getBoolean(actionRequest, - "tcInMuraturaMista"); + boolean tcInMuratura = ParamUtil.getBoolean(actionRequest, "tcInMuratura"); + boolean tcInMuraturaOrdinaria = ParamUtil.getBoolean(actionRequest, "tcInMuraturaOrdinaria"); + boolean tcInMuraturaArmata = ParamUtil.getBoolean(actionRequest, "tcInMuraturaArmata"); + boolean tcInMuraturaMista = ParamUtil.getBoolean(actionRequest, "tcInMuraturaMista"); boolean tcInLegno = ParamUtil.getBoolean(actionRequest, "tcInLegno"); boolean tcAltro = ParamUtil.getBoolean(actionRequest, "tcAltro"); - String tcAltroDescrizione = ParamUtil.getString(actionRequest, - "tcAltroDescrizione"); - boolean tcConDispositivi = ParamUtil.getBoolean(actionRequest, - "tcConDispositivi"); + String tcAltroDescrizione = ParamUtil.getString(actionRequest, "tcAltroDescrizione"); + boolean tcConDispositivi = ParamUtil.getBoolean(actionRequest, "tcConDispositivi"); // Descrizione edificio String dePiani = ParamUtil.getString(actionRequest, "dePiani"); String deAltezza = ParamUtil.getString(actionRequest, "deAltezza"); String deInterrati = ParamUtil.getString(actionRequest, "deInterrati"); - String deSuperficie = ParamUtil - .getString(actionRequest, "deSuperficie"); - String deCostruzione = ParamUtil.getString(actionRequest, - "deCostruzione"); - String deRistrutturazione = ParamUtil.getString(actionRequest, - "deRistrutturazione"); + String deSuperficie = ParamUtil.getString(actionRequest, "deSuperficie"); + String deCostruzione = ParamUtil.getString(actionRequest, "deCostruzione"); + String deRistrutturazione = ParamUtil.getString(actionRequest, "deRistrutturazione"); String deUso = ParamUtil.getString(actionRequest, "deUso"); String dePrivata = ParamUtil.getString(actionRequest, "dePrivata"); String dePubblica = ParamUtil.getString(actionRequest, "dePubblica"); - String deUtilizzazione = ParamUtil.getString(actionRequest, - "deUtilizzazione"); - String dePosizioneEdificio = ParamUtil.getString(actionRequest, - "dePosizioneEdificio"); - boolean deInfStradalePonte = ParamUtil.getBoolean(actionRequest, - "deInfStradalePonte"); - boolean deInfStradaleStrada = ParamUtil.getBoolean(actionRequest, - "deInfStradaleStrada"); - boolean deInfStradaleAltro = ParamUtil.getBoolean(actionRequest, - "deInfStradaleAltro"); - boolean deInfIdraulicaLong = ParamUtil.getBoolean(actionRequest, - "deInfIdraulicaLong"); - boolean deInfIdraulicaTrasv = ParamUtil.getBoolean(actionRequest, - "deInfIdraulicaTrasv"); - boolean deInfIdraulicaAltro = ParamUtil.getBoolean(actionRequest, - "deInfIdraulicaAltro"); - boolean deInfOperaAccStradale = ParamUtil.getBoolean(actionRequest, - "deInfOperaAccStradale"); - boolean deInfOperaAccIdraulica = ParamUtil.getBoolean(actionRequest, - "deInfOperaAccIdraulica"); - boolean deInfOperaAccAltro = ParamUtil.getBoolean(actionRequest, - "deInfOperaAccAltro"); - boolean deInfAltraInfrastruttura = ParamUtil.getBoolean(actionRequest, - "deInfAltraInfrastruttura"); + String deUtilizzazione = ParamUtil.getString(actionRequest, "deUtilizzazione"); + String dePosizioneEdificio = ParamUtil.getString(actionRequest, "dePosizioneEdificio"); + boolean deInfStradalePonte = ParamUtil.getBoolean(actionRequest, "deInfStradalePonte"); + boolean deInfStradaleStrada = ParamUtil.getBoolean(actionRequest, "deInfStradaleStrada"); + boolean deInfStradaleAltro = ParamUtil.getBoolean(actionRequest, "deInfStradaleAltro"); + boolean deInfIdraulicaLong = ParamUtil.getBoolean(actionRequest, "deInfIdraulicaLong"); + boolean deInfIdraulicaTrasv = ParamUtil.getBoolean(actionRequest, "deInfIdraulicaTrasv"); + boolean deInfIdraulicaAltro = ParamUtil.getBoolean(actionRequest, "deInfIdraulicaAltro"); + boolean deInfOperaAccStradale = ParamUtil.getBoolean(actionRequest, "deInfOperaAccStradale"); + boolean deInfOperaAccIdraulica = ParamUtil.getBoolean(actionRequest, "deInfOperaAccIdraulica"); + boolean deInfOperaAccAltro = ParamUtil.getBoolean(actionRequest, "deInfOperaAccAltro"); + boolean deInfAltraInfrastruttura = ParamUtil.getBoolean(actionRequest, "deInfAltraInfrastruttura"); boolean deInfAltro = ParamUtil.getBoolean(actionRequest, "deInfAltro"); - String deInfAltroDesc = ParamUtil.getString(actionRequest, - "deInfAltroDesc"); - String dccFondazioni = ParamUtil.getString(actionRequest, - "dccFondazioni"); - boolean dccStruttureEleMuraturePietrame = ParamUtil.getBoolean( - actionRequest, "dccStruttureEleMuraturePietrame"); - boolean dccStruttureEleMuratureLaterizio = ParamUtil.getBoolean( - actionRequest, "dccStruttureEleMuratureLaterizio"); - boolean dccStruttureEleMuratureMisto = ParamUtil.getBoolean( - actionRequest, "dccStruttureEleMuratureMisto"); - boolean dccStruttureEleMuratureStoriche = ParamUtil.getBoolean( - actionRequest, "dccStruttureEleMuratureStoriche"); - String dccStruttureEleAcciaio = ParamUtil.getString(actionRequest, - "dccStruttureEleAcciaio"); - String dccStruttureEleCA = ParamUtil.getString(actionRequest, - "dccStruttureEleCA"); - String dccStruttureEleLegno = ParamUtil.getString(actionRequest, - "dccStruttureEleLegno"); - boolean dccStruttureEleMistoCA = ParamUtil.getBoolean(actionRequest, - "dccStruttureEleMistoCA"); - boolean dccStruttureEleMistoAcciaio = ParamUtil.getBoolean( - actionRequest, "dccStruttureEleMistoAcciaio"); - boolean dccStruttureEleMistoMuratura = ParamUtil.getBoolean( - actionRequest, "dccStruttureEleMistoMuratura"); - boolean dccStruttureEleMistoLegno = ParamUtil.getBoolean(actionRequest, - "dccStruttureEleMistoLegno"); - boolean dccStruttureElePrefabbricato = ParamUtil.getBoolean( - actionRequest, "dccStruttureElePrefabbricato"); - boolean dccStruttureEleAltro = ParamUtil.getBoolean(actionRequest, - "dccStruttureEleAltro"); - String dccStruttureEleAltroDescrizione = ParamUtil.getString( - actionRequest, "dccStruttureEleAltroDescrizione"); - boolean dccOrizzontamentiCAAcciaio = ParamUtil.getBoolean( - actionRequest, "dccOrizzontamentiCAAcciaio"); - boolean dccOrizzontamentiLegno = ParamUtil.getBoolean(actionRequest, - "dccOrizzontamentiLegno"); - boolean dccOrizzontamentiLegnoCA = ParamUtil.getBoolean(actionRequest, - "dccOrizzontamentiLegnoCA"); - boolean dccOrizzontamentiLamieraGrecata = ParamUtil.getBoolean( - actionRequest, "dccOrizzontamentiLamieraGrecata"); - boolean dccOrizzontamentiVolte = ParamUtil.getBoolean(actionRequest, - "dccOrizzontamentiVolte"); - boolean dccOrizzontamentiAltro = ParamUtil.getBoolean(actionRequest, - "dccOrizzontamentiAltro"); - String dccOrizzontamentiAltroDescrizione = ParamUtil.getString( - actionRequest, "dccOrizzontamentiAltroDescrizione"); - String dccCopertura = ParamUtil - .getString(actionRequest, "dccCopertura"); - boolean dccCoperturaCAAcciaio = ParamUtil.getBoolean(actionRequest, - "dccCoperturaCAAcciaio"); - boolean dccCoperturaLegno = ParamUtil.getBoolean(actionRequest, - "dccCoperturaLegno"); - boolean dccCoperturaLegnoCA = ParamUtil.getBoolean(actionRequest, - "dccCoperturaLegnoCA"); - boolean dccCoperturaLamieraGrecata = ParamUtil.getBoolean( - actionRequest, "dccCoperturaLamieraGrecata"); - boolean dccCoperturaPannelli = ParamUtil.getBoolean(actionRequest, - "dccCoperturaPannelli"); - boolean dccCoperturaPVCTelonati = ParamUtil.getBoolean(actionRequest, - "dccCoperturaPVCTelonati"); - boolean dccCoperturaLeggere = ParamUtil.getBoolean(actionRequest, - "dccCoperturaLeggere"); - boolean dccCoperturaAltro = ParamUtil.getBoolean(actionRequest, - "dccCoperturaAltro"); - String dccCoperturaAltroDesrizione = ParamUtil.getString(actionRequest, - "dccCoperturaAltroDesrizione"); - boolean dccElemNonStrutLaterizio = ParamUtil.getBoolean(actionRequest, - "dccElemNonStrutLaterizio"); - boolean dccElemNonStrutCartongesso = ParamUtil.getBoolean( - actionRequest, "dccElemNonStrutCartongesso"); - boolean dccElemNonStrutCalcestruzzo = ParamUtil.getBoolean( - actionRequest, "dccElemNonStrutCalcestruzzo"); - boolean dccElemNonStrutLegno = ParamUtil.getBoolean(actionRequest, - "dccElemNonStrutLegno"); - boolean dccElemNonStrutAltro = ParamUtil.getBoolean(actionRequest, - "dccElemNonStrutAltro"); - String dccElemNonStrutAltroDescrizione = ParamUtil.getString( - actionRequest, "dccElemNonStrutAltroDescrizione"); - boolean dccOpereDiRinforzoInsCatene = ParamUtil.getBoolean( - actionRequest, "dccOpereDiRinforzoInsCatene"); - boolean dccOpereDiRinforzoInsCordoli = ParamUtil.getBoolean( - actionRequest, "dccOpereDiRinforzoInsCordoli"); - boolean dccOpereDiRinforzoIniArmate = ParamUtil.getBoolean( - actionRequest, "dccOpereDiRinforzoIniArmate"); - boolean dccOpereDiRinforzoPlaccaggi = ParamUtil.getBoolean( - actionRequest, "dccOpereDiRinforzoPlaccaggi"); - boolean dccOpereDiRinforzoIrrSolai = ParamUtil.getBoolean( - actionRequest, "dccOpereDiRinforzoIrrSolai"); - boolean dccOpereDiRinforzoRinforziFRP = ParamUtil.getBoolean( - actionRequest, "dccOpereDiRinforzoRinforziFRP"); - boolean dccOpereDiRinforzoTelaiECerchiature = ParamUtil.getBoolean( - actionRequest, "dccOpereDiRinforzoTelaiECerchiature"); - boolean dccOpereDiRinforzoInsRompitratta = ParamUtil.getBoolean( - actionRequest, "dccOpereDiRinforzoInsRompitratta"); - boolean dccOpereDiRinforzoAltro = ParamUtil.getBoolean(actionRequest, - "dccOpereDiRinforzoAltro"); - String dccOpereDiRinforzoAltroDescrizione = ParamUtil.getString( - actionRequest, "dccOpereDiRinforzoAltroDescrizione"); + String deInfAltroDesc = ParamUtil.getString(actionRequest, "deInfAltroDesc"); + String dccFondazioni = ParamUtil.getString(actionRequest, "dccFondazioni"); + boolean dccStruttureEleMuraturePietrame = ParamUtil.getBoolean(actionRequest, + "dccStruttureEleMuraturePietrame"); + boolean dccStruttureEleMuratureLaterizio = ParamUtil.getBoolean(actionRequest, + "dccStruttureEleMuratureLaterizio"); + boolean dccStruttureEleMuratureMisto = ParamUtil.getBoolean(actionRequest, + "dccStruttureEleMuratureMisto"); + boolean dccStruttureEleMuratureStoriche = ParamUtil.getBoolean(actionRequest, + "dccStruttureEleMuratureStoriche"); + String dccStruttureEleAcciaio = ParamUtil.getString(actionRequest, "dccStruttureEleAcciaio"); + String dccStruttureEleCA = ParamUtil.getString(actionRequest, "dccStruttureEleCA"); + String dccStruttureEleLegno = ParamUtil.getString(actionRequest, "dccStruttureEleLegno"); + boolean dccStruttureEleMistoCA = ParamUtil.getBoolean(actionRequest, "dccStruttureEleMistoCA"); + boolean dccStruttureEleMistoAcciaio = ParamUtil.getBoolean(actionRequest, + "dccStruttureEleMistoAcciaio"); + boolean dccStruttureEleMistoMuratura = ParamUtil.getBoolean(actionRequest, + "dccStruttureEleMistoMuratura"); + boolean dccStruttureEleMistoLegno = ParamUtil.getBoolean(actionRequest, "dccStruttureEleMistoLegno"); + boolean dccStruttureElePrefabbricato = ParamUtil.getBoolean(actionRequest, + "dccStruttureElePrefabbricato"); + boolean dccStruttureEleAltro = ParamUtil.getBoolean(actionRequest, "dccStruttureEleAltro"); + String dccStruttureEleAltroDescrizione = ParamUtil.getString(actionRequest, + "dccStruttureEleAltroDescrizione"); + boolean dccOrizzontamentiCAAcciaio = ParamUtil + .getBoolean(actionRequest, "dccOrizzontamentiCAAcciaio"); + boolean dccOrizzontamentiLegno = ParamUtil.getBoolean(actionRequest, "dccOrizzontamentiLegno"); + boolean dccOrizzontamentiLegnoCA = ParamUtil.getBoolean(actionRequest, "dccOrizzontamentiLegnoCA"); + boolean dccOrizzontamentiLamieraGrecata = ParamUtil.getBoolean(actionRequest, + "dccOrizzontamentiLamieraGrecata"); + boolean dccOrizzontamentiVolte = ParamUtil.getBoolean(actionRequest, "dccOrizzontamentiVolte"); + boolean dccOrizzontamentiAltro = ParamUtil.getBoolean(actionRequest, "dccOrizzontamentiAltro"); + String dccOrizzontamentiAltroDescrizione = ParamUtil.getString(actionRequest, + "dccOrizzontamentiAltroDescrizione"); + String dccCopertura = ParamUtil.getString(actionRequest, "dccCopertura"); + boolean dccCoperturaCAAcciaio = ParamUtil.getBoolean(actionRequest, "dccCoperturaCAAcciaio"); + boolean dccCoperturaLegno = ParamUtil.getBoolean(actionRequest, "dccCoperturaLegno"); + boolean dccCoperturaLegnoCA = ParamUtil.getBoolean(actionRequest, "dccCoperturaLegnoCA"); + boolean dccCoperturaLamieraGrecata = ParamUtil + .getBoolean(actionRequest, "dccCoperturaLamieraGrecata"); + boolean dccCoperturaPannelli = ParamUtil.getBoolean(actionRequest, "dccCoperturaPannelli"); + boolean dccCoperturaPVCTelonati = ParamUtil.getBoolean(actionRequest, "dccCoperturaPVCTelonati"); + boolean dccCoperturaLeggere = ParamUtil.getBoolean(actionRequest, "dccCoperturaLeggere"); + boolean dccCoperturaAltro = ParamUtil.getBoolean(actionRequest, "dccCoperturaAltro"); + String dccCoperturaAltroDesrizione = ParamUtil + .getString(actionRequest, "dccCoperturaAltroDesrizione"); + boolean dccElemNonStrutLaterizio = ParamUtil.getBoolean(actionRequest, "dccElemNonStrutLaterizio"); + boolean dccElemNonStrutCartongesso = ParamUtil + .getBoolean(actionRequest, "dccElemNonStrutCartongesso"); + boolean dccElemNonStrutCalcestruzzo = ParamUtil.getBoolean(actionRequest, + "dccElemNonStrutCalcestruzzo"); + boolean dccElemNonStrutLegno = ParamUtil.getBoolean(actionRequest, "dccElemNonStrutLegno"); + boolean dccElemNonStrutAltro = ParamUtil.getBoolean(actionRequest, "dccElemNonStrutAltro"); + String dccElemNonStrutAltroDescrizione = ParamUtil.getString(actionRequest, + "dccElemNonStrutAltroDescrizione"); + boolean dccOpereDiRinforzoInsCatene = ParamUtil.getBoolean(actionRequest, + "dccOpereDiRinforzoInsCatene"); + boolean dccOpereDiRinforzoInsCordoli = ParamUtil.getBoolean(actionRequest, + "dccOpereDiRinforzoInsCordoli"); + boolean dccOpereDiRinforzoIniArmate = ParamUtil.getBoolean(actionRequest, + "dccOpereDiRinforzoIniArmate"); + boolean dccOpereDiRinforzoPlaccaggi = ParamUtil.getBoolean(actionRequest, + "dccOpereDiRinforzoPlaccaggi"); + boolean dccOpereDiRinforzoIrrSolai = ParamUtil + .getBoolean(actionRequest, "dccOpereDiRinforzoIrrSolai"); + boolean dccOpereDiRinforzoRinforziFRP = ParamUtil.getBoolean(actionRequest, + "dccOpereDiRinforzoRinforziFRP"); + boolean dccOpereDiRinforzoTelaiECerchiature = ParamUtil.getBoolean(actionRequest, + "dccOpereDiRinforzoTelaiECerchiature"); + boolean dccOpereDiRinforzoInsRompitratta = ParamUtil.getBoolean(actionRequest, + "dccOpereDiRinforzoInsRompitratta"); + boolean dccOpereDiRinforzoAltro = ParamUtil.getBoolean(actionRequest, "dccOpereDiRinforzoAltro"); + String dccOpereDiRinforzoAltroDescrizione = ParamUtil.getString(actionRequest, + "dccOpereDiRinforzoAltroDescrizione"); // DATI geologici - String geoClasseIndagine = getNotNullString(actionRequest, - "geoClasseIndagine", dettPratica.getGeoClasseIndagine()); - String geoCategoriaSottosuolo = getNotNullString(actionRequest, - "geoCategoriaSottosuolo", + String geoClasseIndagine = getNotNullString(actionRequest, "geoClasseIndagine", + dettPratica.getGeoClasseIndagine()); + String geoCategoriaSottosuolo = getNotNullString(actionRequest, "geoCategoriaSottosuolo", dettPratica.getGeoCategoriaSottosuolo()); - String geoCategoriaTopografica = getNotNullString(actionRequest, - "geoCategoriaTopografica", + String geoCategoriaTopografica = getNotNullString(actionRequest, "geoCategoriaTopografica", dettPratica.getGeoCategoriaTopografica()); - String geoConsolidamento = getNotNullString(actionRequest, - "geoConsolidamento", dettPratica.getGeoConsolidamento()); - String geoPericolositaGeologica = getNotNullString(actionRequest, - "geoPericolositaGeologica", + String geoConsolidamento = getNotNullString(actionRequest, "geoConsolidamento", + dettPratica.getGeoConsolidamento()); + String geoPericolositaGeologica = getNotNullString(actionRequest, "geoPericolositaGeologica", dettPratica.getGeoPericolositaGeologica()); - String geoRischioGeomorfologicoPai = getNotNullString(actionRequest, - "geoRischioGeomorfologicoPai", + String geoRischioGeomorfologicoPai = getNotNullString(actionRequest, "geoRischioGeomorfologicoPai", dettPratica.getGeoRischioGeomorfologicoPai()); - String geoPericolositaIdraulicaPai = getNotNullString(actionRequest, - "geoPericolositaIdraulicaPai", + String geoPericolositaIdraulicaPai = getNotNullString(actionRequest, "geoPericolositaIdraulicaPai", dettPratica.getGeoPericolositaIdraulicaPai()); - String geoRischioIdraulicoPai = getNotNullString(actionRequest, - "geoRischioIdraulicoPai", + String geoRischioIdraulicoPai = getNotNullString(actionRequest, "geoRischioIdraulicoPai", dettPratica.getGeoRischioIdraulicoPai()); - String geoPericolositaSismica = getNotNullString(actionRequest, - "geoPericolositaSismica", + String geoPericolositaSismica = getNotNullString(actionRequest, "geoPericolositaSismica", dettPratica.getGeoPericolositaSismica()); - String geoPericolositaIdraulica = getNotNullString(actionRequest, - "geoPericolositaIdraulica", + String geoPericolositaIdraulica = getNotNullString(actionRequest, "geoPericolositaIdraulica", dettPratica.getGeoPericolositaIdraulica()); - String geoPericolositaGeomorfica = getNotNullString(actionRequest, - "geoPericolositaGeomorfica", + String geoPericolositaGeomorfica = getNotNullString(actionRequest, "geoPericolositaGeomorfica", dettPratica.getGeoPericolositaGeomorfica()); - String geoFattibilitaGeologica = getNotNullString(actionRequest, - "geoFattibilitaGeologica", + String geoFattibilitaGeologica = getNotNullString(actionRequest, "geoFattibilitaGeologica", dettPratica.getGeoFattibilitaGeologica()); - String geoFattibilitaSismica = getNotNullString(actionRequest, - "geoFattibilitaSismica", dettPratica.getGeoFattibilitaSismica()); - String geoFattibilitaIdraulica = getNotNullString(actionRequest, - "geoFattibilitaIdraulica", + String geoFattibilitaSismica = getNotNullString(actionRequest, "geoFattibilitaSismica", + dettPratica.getGeoFattibilitaSismica()); + String geoFattibilitaIdraulica = getNotNullString(actionRequest, "geoFattibilitaIdraulica", dettPratica.getGeoFattibilitaIdraulica()); - String geoOperaRilevante = getNotNullString(actionRequest, - "geoOperaRilevante", dettPratica.getGeoOperaRilevante()); - String geoOpereDiSostegno = getNotNullString(actionRequest, - "geoOpereDiSostegno", dettPratica.getGeoOpereDiSostegno()); - String geoOpereInSotterranea = getNotNullString(actionRequest, - "geoOpereInSotterranea", dettPratica.getGeoOpereInSotterranea()); - String geoPresenzaPrescrizioni = getNotNullString(actionRequest, - "geoPresenzaPrescrizioni", + String geoOperaRilevante = getNotNullString(actionRequest, "geoOperaRilevante", + dettPratica.getGeoOperaRilevante()); + String geoOpereDiSostegno = getNotNullString(actionRequest, "geoOpereDiSostegno", + dettPratica.getGeoOpereDiSostegno()); + String geoOpereInSotterranea = getNotNullString(actionRequest, "geoOpereInSotterranea", + dettPratica.getGeoOpereInSotterranea()); + String geoPresenzaPrescrizioni = getNotNullString(actionRequest, "geoPresenzaPrescrizioni", dettPratica.getGeoPresenzaPrescrizioni()); - String geoNotePrescrizioni = getNotNullString(actionRequest, - "geoNotePrescrizioni", dettPratica.getGeoNotePrescrizioni()); - String geoNoteIndagini = getNotNullString(actionRequest, - "geoNoteIndagini", dettPratica.getGeoNoteIndagini()); - String geoEvidenzeGeomorfiche = getNotNullString(actionRequest, - "geoEvidenzeGeomorfiche", + String geoNotePrescrizioni = getNotNullString(actionRequest, "geoNotePrescrizioni", + dettPratica.getGeoNotePrescrizioni()); + String geoNoteIndagini = getNotNullString(actionRequest, "geoNoteIndagini", + dettPratica.getGeoNoteIndagini()); + String geoEvidenzeGeomorfiche = getNotNullString(actionRequest, "geoEvidenzeGeomorfiche", dettPratica.getGeoEvidenzeGeomorfiche()); - String geoEvidenzeGeologiche = getNotNullString(actionRequest, - "geoEvidenzeGeologiche", dettPratica.getGeoEvidenzeGeologiche()); - Date geoDtRelazione = getNotNullDate(actionRequest, "geoDtRelazione", - dettPratica.getGeoDtRelazione()); + String geoEvidenzeGeologiche = getNotNullString(actionRequest, "geoEvidenzeGeologiche", + dettPratica.getGeoEvidenzeGeologiche()); + Date geoDtRelazione = getNotNullDate(actionRequest, "geoDtRelazione", dettPratica.getGeoDtRelazione()); // normative - boolean normLavoriInProprio = ParamUtil.getBoolean(actionRequest, - "normLavoriInProprio"); - boolean normEsenteBollo = ParamUtil.getBoolean(actionRequest, - "normEsenteBollo"); - boolean normEsenteSpese = ParamUtil.getBoolean(actionRequest, - "normEsenteSpese"); - boolean normDpr01Dep = ParamUtil.getBoolean(actionRequest, - "normDpr01Dep"); - boolean normDpr02Dep = ParamUtil.getBoolean(actionRequest, - "normDpr02Dep"); - boolean normDpr01Aut = ParamUtil.getBoolean(actionRequest, - "normDpr01Aut"); - boolean normDpr02Aut = ParamUtil.getBoolean(actionRequest, - "normDpr02Aut"); + boolean normLavoriInProprio = ParamUtil.getBoolean(actionRequest, "normLavoriInProprio"); + boolean normEsenteBollo = ParamUtil.getBoolean(actionRequest, "normEsenteBollo"); + boolean normEsenteSpese = ParamUtil.getBoolean(actionRequest, "normEsenteSpese"); + boolean normDpr01Dep = ParamUtil.getBoolean(actionRequest, "normDpr01Dep"); + boolean normDpr02Dep = ParamUtil.getBoolean(actionRequest, "normDpr02Dep"); + boolean normDpr01Aut = ParamUtil.getBoolean(actionRequest, "normDpr01Aut"); + boolean normDpr02Aut = ParamUtil.getBoolean(actionRequest, "normDpr02Aut"); boolean normDm01 = ParamUtil.getBoolean(actionRequest, "normDm01"); boolean normDm02 = ParamUtil.getBoolean(actionRequest, "normDm02"); boolean normDm03 = ParamUtil.getBoolean(actionRequest, "normDm03"); @@ -1895,10 +1516,8 @@ public class FascicoloFePortlet extends MVCPortlet { boolean normDprg01 = ParamUtil.getBoolean(actionRequest, "normDprg01"); boolean normDprg02 = ParamUtil.getBoolean(actionRequest, "normDprg02"); boolean normAnr = ParamUtil.getBoolean(actionRequest, "normAnr"); - boolean normArt3com3 = ParamUtil.getBoolean(actionRequest, - "normArt3com3"); - boolean normArt3com4 = ParamUtil.getBoolean(actionRequest, - "normArt3com4"); + boolean normArt3com3 = ParamUtil.getBoolean(actionRequest, "normArt3com3"); + boolean normArt3com4 = ParamUtil.getBoolean(actionRequest, "normArt3com4"); boolean normOrd01 = ParamUtil.getBoolean(actionRequest, "normOrd01"); boolean normDm04 = ParamUtil.getBoolean(actionRequest, "normDm04"); boolean normDm05 = ParamUtil.getBoolean(actionRequest, "normDm05"); @@ -1907,224 +1526,162 @@ public class FascicoloFePortlet extends MVCPortlet { boolean suap = ParamUtil.getBoolean(actionRequest, "suap"); - boolean normSismaBonus = ParamUtil.getBoolean(actionRequest, - "normSismaBonus"); - String clRischioPreInt = ParamUtil.getString(actionRequest, - "clRischioPreInt"); - String clRischioPostInt = ParamUtil.getString(actionRequest, - "clRischioPostInt"); - boolean intervFinPub = ParamUtil.getBoolean(actionRequest, - "intervFinPub"); - String intervFinPubDesc = ParamUtil.getString(actionRequest, - "intervFinPubDesc"); + boolean normSismaBonus = ParamUtil.getBoolean(actionRequest, "normSismaBonus"); + String clRischioPreInt = ParamUtil.getString(actionRequest, "clRischioPreInt"); + String clRischioPostInt = ParamUtil.getString(actionRequest, "clRischioPostInt"); + boolean intervFinPub = ParamUtil.getBoolean(actionRequest, "intervFinPub"); + String intervFinPubDesc = ParamUtil.getString(actionRequest, "intervFinPubDesc"); long userId = PortalUtil.getUserId(actionRequest); try { - DettPraticaServiceUtil.updateDettPratica(userId, - dettPratica.getDettPraticaId(), - dettPratica.getIntPraticaId(), integrazione, protocollo, - tipoIntegrazione, completa, gestita, codicePagamento, - causalePagamento, mezzoPagamento, importoBolli, - importoSpeseIstruttoria, dataEffettuazione, statusTask, - workflowForzato, soggettoSostituitoId, oldDettPraticaId, - destinazione, ag, descLongIntervento, via, localita, - estremiCatastali, estremiPratCom, variataDa, - varianteNumero, varianteSostanziale, operaConforme, - collaudoStatico, codiceFiscaleDelegatoCommittente, - codiceFiscaleDelegatoFineLavori, - codiceFiscaleDelegatoCollaudo, codiceRuoloDelegato, - lavoriInEconomiaCommittente, inizioLavoriContestualeOpera, - dataInizioLavoriOpera, dataInizioEsecuzioneOpera, - dataFineEsecuzioneOpera, metratura, lavoriPubblici, - pagamentoId, lavoriPubbliciPercentuale, numeroCivico, - dcParticelle, dcFoglio, dcAllegato, dePiani, deAltezza, - deInterrati, deSuperficie, deCostruzione, - deRistrutturazione, deUso, dePubblica, dePrivata, - deUtilizzazione, dePosizioneEdificio, deInfStradalePonte, - deInfStradaleStrada, deInfStradaleAltro, - deInfIdraulicaLong, deInfIdraulicaTrasv, - deInfIdraulicaAltro, deInfOperaAccStradale, - deInfOperaAccIdraulica, deInfOperaAccAltro, - deInfAltraInfrastruttura, deInfAltro, deInfAltroDesc, - dccFondazioni, dccStruttureEleMuraturePietrame, - dccStruttureEleMuratureLaterizio, - dccStruttureEleMuratureMisto, - dccStruttureEleMuratureStoriche, dccStruttureEleAcciaio, - dccStruttureEleCA, dccStruttureEleLegno, - dccStruttureEleMistoCA, dccStruttureEleMistoAcciaio, - dccStruttureEleMistoMuratura, dccStruttureEleMistoLegno, - dccStruttureElePrefabbricato, dccStruttureEleAltro, - dccStruttureEleAltroDescrizione, - dccOrizzontamentiCAAcciaio, dccOrizzontamentiLegno, - dccOrizzontamentiLegnoCA, dccOrizzontamentiLamieraGrecata, - dccOrizzontamentiVolte, dccOrizzontamentiAltro, - dccOrizzontamentiAltroDescrizione, dccCopertura, - dccCoperturaCAAcciaio, dccCoperturaLegno, - dccCoperturaLegnoCA, dccCoperturaLamieraGrecata, - dccCoperturaPannelli, dccCoperturaPVCTelonati, - dccCoperturaLeggere, dccCoperturaAltro, - dccCoperturaAltroDesrizione, dccElemNonStrutLaterizio, - dccElemNonStrutCartongesso, dccElemNonStrutCalcestruzzo, - dccElemNonStrutLegno, dccElemNonStrutAltro, - dccElemNonStrutAltroDescrizione, - dccOpereDiRinforzoInsCatene, dccOpereDiRinforzoInsCordoli, - dccOpereDiRinforzoIniArmate, dccOpereDiRinforzoPlaccaggi, + DettPraticaServiceUtil.updateDettPratica(userId, dettPratica.getDettPraticaId(), + dettPratica.getIntPraticaId(), integrazione, protocollo, tipoIntegrazione, completa, + gestita, codicePagamento, causalePagamento, mezzoPagamento, importoBolli, + importoSpeseIstruttoria, dataEffettuazione, statusTask, workflowForzato, + soggettoSostituitoId, destinazione, ag, descLongIntervento, via, localita, + estremiCatastali, estremiPratCom, variataDa, varianteNumero, varianteSostanziale, + operaConforme, collaudoStatico, codiceFiscaleDelegatoCommittente, + codiceFiscaleDelegatoFineLavori, codiceFiscaleDelegatoCollaudo, codiceRuoloDelegato, + lavoriInEconomiaCommittente, inizioLavoriContestualeOpera, dataInizioLavoriOpera, + dataInizioEsecuzioneOpera, dataFineEsecuzioneOpera, metratura, lavoriPubblici, + pagamentoId, lavoriPubbliciPercentuale, numeroCivico, dcParticelle, dcFoglio, dcAllegato, + dePiani, deAltezza, deInterrati, deSuperficie, deCostruzione, deRistrutturazione, deUso, + dePubblica, dePrivata, deUtilizzazione, dePosizioneEdificio, deInfStradalePonte, + deInfStradaleStrada, deInfStradaleAltro, deInfIdraulicaLong, deInfIdraulicaTrasv, + deInfIdraulicaAltro, deInfOperaAccStradale, deInfOperaAccIdraulica, deInfOperaAccAltro, + deInfAltraInfrastruttura, deInfAltro, deInfAltroDesc, dccFondazioni, + dccStruttureEleMuraturePietrame, dccStruttureEleMuratureLaterizio, + dccStruttureEleMuratureMisto, dccStruttureEleMuratureStoriche, dccStruttureEleAcciaio, + dccStruttureEleCA, dccStruttureEleLegno, dccStruttureEleMistoCA, + dccStruttureEleMistoAcciaio, dccStruttureEleMistoMuratura, dccStruttureEleMistoLegno, + dccStruttureElePrefabbricato, dccStruttureEleAltro, dccStruttureEleAltroDescrizione, + dccOrizzontamentiCAAcciaio, dccOrizzontamentiLegno, dccOrizzontamentiLegnoCA, + dccOrizzontamentiLamieraGrecata, dccOrizzontamentiVolte, dccOrizzontamentiAltro, + dccOrizzontamentiAltroDescrizione, dccCopertura, dccCoperturaCAAcciaio, + dccCoperturaLegno, dccCoperturaLegnoCA, dccCoperturaLamieraGrecata, dccCoperturaPannelli, + dccCoperturaPVCTelonati, dccCoperturaLeggere, dccCoperturaAltro, + dccCoperturaAltroDesrizione, dccElemNonStrutLaterizio, dccElemNonStrutCartongesso, + dccElemNonStrutCalcestruzzo, dccElemNonStrutLegno, dccElemNonStrutAltro, + dccElemNonStrutAltroDescrizione, dccOpereDiRinforzoInsCatene, + dccOpereDiRinforzoInsCordoli, dccOpereDiRinforzoIniArmate, dccOpereDiRinforzoPlaccaggi, dccOpereDiRinforzoIrrSolai, dccOpereDiRinforzoRinforziFRP, - dccOpereDiRinforzoTelaiECerchiature, - dccOpereDiRinforzoInsRompitratta, dccOpereDiRinforzoAltro, - dccOpereDiRinforzoAltroDescrizione, geoClasseIndagine, - geoCategoriaSottosuolo, geoCategoriaTopografica, - geoConsolidamento, geoPericolositaGeologica, - geoRischioGeomorfologicoPai, geoPericolositaIdraulicaPai, - geoRischioIdraulicoPai, geoPericolositaSismica, - geoPericolositaIdraulica, geoPericolositaGeomorfica, - geoFattibilitaGeologica, geoFattibilitaSismica, - geoFattibilitaIdraulica, geoOperaRilevante, - geoOpereDiSostegno, geoOpereInSotterranea, - geoPresenzaPrescrizioni, geoNotePrescrizioni, - geoNoteIndagini, geoEvidenzeGeomorfiche, - geoEvidenzeGeologiche, geoDtRelazione, pagNuoveCostruzioni, - pagAdeguamentoSismico, pagMiglioramentoSismico, - pagRiparazioneInterventoLocale, pagNuovaCostruzione, - pagVarianti, pagAltro, pagMiglioramentoSismicoSicilia, - pagCalcolatoAdeguamentoSismico, - pagCalcolatoMiglioramentoSismico, - pagCalcolatoRiparazioneInterventoLocale, - pagCalcolatoOperaNonQuantificabile, - pagEffettivoAdeguamentoSismico, - pagEffettivoMiglioramentoSismico, - pagEffettivoRiparazioneInterventoLocale, - pagEffettivoOperaNonQuantificabile, pagNoteUtente, note, - noteUfficio, localizzazioneGeografica, tcNuovaCostruzione, - tcAdeguamentoSismico, tcMiglioramentoSismico, - tcRiparazioneInterventoLocale, tcInCA, tcInOpera, - tcPrefabbricato, tcInAcciaio, tcMista, tcInMuratura, - tcInMuraturaOrdinaria, tcInMuraturaArmata, - tcInMuraturaMista, tcInLegno, tcAltro, tcAltroDescrizione, - tcConDispositivi, normLavoriInProprio, normEsenteBollo, - normEsenteSpese, normDpr01Dep, normDpr02Dep, normDpr01Aut, - normDpr02Aut, normDm01, normDm02, normDm03, normDm2018, - normDprg01, normDprg02, normAnr, normArt3com3, - normArt3com4, normOrd01, normDm04, normDm05, normCI01, - normLTC01, suap, normSismaBonus, clRischioPreInt, - clRischioPostInt, intervFinPub, intervFinPubDesc, - serviceContext, bozza, disabledSubmit, geoDisabledSubmit); + dccOpereDiRinforzoTelaiECerchiature, dccOpereDiRinforzoInsRompitratta, + dccOpereDiRinforzoAltro, dccOpereDiRinforzoAltroDescrizione, geoClasseIndagine, + geoCategoriaSottosuolo, geoCategoriaTopografica, geoConsolidamento, + geoPericolositaGeologica, geoRischioGeomorfologicoPai, geoPericolositaIdraulicaPai, + geoRischioIdraulicoPai, geoPericolositaSismica, geoPericolositaIdraulica, + geoPericolositaGeomorfica, geoFattibilitaGeologica, geoFattibilitaSismica, + geoFattibilitaIdraulica, geoOperaRilevante, geoOpereDiSostegno, geoOpereInSotterranea, + geoPresenzaPrescrizioni, geoNotePrescrizioni, geoNoteIndagini, geoEvidenzeGeomorfiche, + geoEvidenzeGeologiche, geoDtRelazione, pagNuoveCostruzioni, pagAdeguamentoSismico, + pagMiglioramentoSismico, pagRiparazioneInterventoLocale, pagNuovaCostruzione, + pagVarianti, pagAltro, pagMiglioramentoSismicoSicilia, pagCalcolatoAdeguamentoSismico, + pagCalcolatoMiglioramentoSismico, pagCalcolatoRiparazioneInterventoLocale, + pagCalcolatoOperaNonQuantificabile, pagEffettivoAdeguamentoSismico, + pagEffettivoMiglioramentoSismico, pagEffettivoRiparazioneInterventoLocale, + pagEffettivoOperaNonQuantificabile, pagNoteUtente, note, noteUfficio, + localizzazioneGeografica, tcNuovaCostruzione, tcAdeguamentoSismico, + tcMiglioramentoSismico, tcRiparazioneInterventoLocale, tcInCA, tcInOpera, + tcPrefabbricato, tcInAcciaio, tcMista, tcInMuratura, tcInMuraturaOrdinaria, + tcInMuraturaArmata, tcInMuraturaMista, tcInLegno, tcAltro, tcAltroDescrizione, + tcConDispositivi, normLavoriInProprio, normEsenteBollo, normEsenteSpese, normDpr01Dep, + normDpr02Dep, normDpr01Aut, normDpr02Aut, normDm01, normDm02, normDm03, normDm2018, + normDprg01, normDprg02, normAnr, normArt3com3, normArt3com4, normOrd01, normDm04, + normDm05, normCI01, normLTC01, suap, normSismaBonus, clRischioPreInt, clRischioPostInt, + intervFinPub, intervFinPubDesc, serviceContext, bozza, disabledSubmit, geoDisabledSubmit); String redirect = ParamUtil.getString(actionRequest, "redirect"); if (Validator.isNull(redirect)) { - String successURL = ParamUtil.getString(actionRequest, - "successURL"); + String successURL = ParamUtil.getString(actionRequest, "successURL"); if (Validator.isNotNull(successURL)) { - successURL = HttpUtil.removeParameter(successURL, - actionResponse.getNamespace() + "openVerifyUrl"); - successURL = HttpUtil.removeParameter(successURL, - actionResponse.getNamespace() + "verifyArea"); - successURL = HttpUtil.addParameter(successURL, - actionResponse.getNamespace() + "openVerifyUrl", - String.valueOf(!bozza)); - String verifyArea = ParamUtil.getString(actionRequest, - "verifyArea", StringPool.BLANK); - successURL = HttpUtil.addParameter(successURL, - actionResponse.getNamespace() + "verifyArea", - String.valueOf(verifyArea)); - String fragmentURL = ParamUtil.getString(actionRequest, - "current_tab"); + successURL = HttpUtil.removeParameter(successURL, actionResponse.getNamespace() + + "openVerifyUrl"); + successURL = HttpUtil.removeParameter(successURL, actionResponse.getNamespace() + + "verifyArea"); + successURL = HttpUtil.addParameter(successURL, actionResponse.getNamespace() + + "openVerifyUrl", String.valueOf(!bozza)); + String verifyArea = ParamUtil.getString(actionRequest, "verifyArea", StringPool.BLANK); + successURL = HttpUtil.addParameter(successURL, actionResponse.getNamespace() + + "verifyArea", String.valueOf(verifyArea)); + String fragmentURL = ParamUtil.getString(actionRequest, "current_tab"); if (Validator.isNotNull(fragmentURL)) { - successURL = HttpUtil.removeParameter(successURL, - actionResponse.getNamespace() + "current_tab"); - successURL = HttpUtil.addParameter(successURL, - actionResponse.getNamespace() + "current_tab", - fragmentURL); - successURL = HttpUtil.removeParameter(successURL, - actionResponse.getNamespace() + "historyKey"); - successURL = HttpUtil.addParameter(successURL, - actionResponse.getNamespace() + "historyKey", - "_1_WAR_portosfeportlet_tab=" + fragmentURL); + successURL = HttpUtil.removeParameter(successURL, actionResponse.getNamespace() + + "current_tab"); + successURL = HttpUtil.addParameter(successURL, actionResponse.getNamespace() + + "current_tab", fragmentURL); + successURL = HttpUtil.removeParameter(successURL, actionResponse.getNamespace() + + "historyKey"); + successURL = HttpUtil.addParameter(successURL, actionResponse.getNamespace() + + "historyKey", "_1_WAR_portosfeportlet_tab=" + fragmentURL); if (successURL.contains("#")) { - successURL = successURL.substring(0, - successURL.lastIndexOf("#")); + successURL = successURL.substring(0, successURL.lastIndexOf("#")); } - successURL += "#_1_WAR_portosfeportlet_tab=" - + fragmentURL; + successURL += "#_1_WAR_portosfeportlet_tab=" + fragmentURL; } // ADT BUG FE ID = 14 - successURL = HttpUtil.removeParameter(successURL, - actionResponse.getNamespace() + "saveAndVerify"); + successURL = HttpUtil.removeParameter(successURL, actionResponse.getNamespace() + + "saveAndVerify"); if ("saveAndVerify".equalsIgnoreCase(cmd)) - successURL = HttpUtil - .addParameter(successURL, - actionResponse.getNamespace() - + "saveAndVerify", true); + successURL = HttpUtil.addParameter(successURL, actionResponse.getNamespace() + + "saveAndVerify", true); actionResponse.sendRedirect(successURL); } else { - actionResponse.setRenderParameter("mvcPath", - "/html/fascicolofe/edit_fascicolo.jsp"); + actionResponse.setRenderParameter("mvcPath", "/html/fascicolofe/edit_fascicolo.jsp"); actionResponse.setRenderParameter("backURL", ParamUtil.getString(actionRequest, "backURL")); actionResponse.setRenderParameter("dettPraticaId", String.valueOf(dettPratica.getDettPraticaId())); actionResponse.setRenderParameter("intPraticaId", String.valueOf(dettPratica.getIntPraticaId())); - actionResponse.setRenderParameter("openVerifyUrl", - String.valueOf(!bozza)); + actionResponse.setRenderParameter("openVerifyUrl", String.valueOf(!bozza)); } } } catch (PortalException e) { _log.error(e, e); PortalUtil.copyRequestParameters(actionRequest, actionResponse); - actionResponse.setRenderParameter("mvcPath", - "/html/fascicolofe/edit_fascicolo.jsp"); + actionResponse.setRenderParameter("mvcPath", "/html/fascicolofe/edit_fascicolo.jsp"); throw e; } catch (Exception e) { _log.error(e, e); PortalUtil.copyRequestParameters(actionRequest, actionResponse); - actionResponse.setRenderParameter("mvcPath", - "/html/fascicolofe/edit_fascicolo.jsp"); + actionResponse.setRenderParameter("mvcPath", "/html/fascicolofe/edit_fascicolo.jsp"); throw new PortalException(e); } } - private String getNotNullString(ActionRequest actionRequest, String param, - String currentValue) { + private String getNotNullString(ActionRequest actionRequest, String param, String currentValue) { String value = ParamUtil.getString(actionRequest, param); return Validator.isNull(value) ? currentValue : value; } - private Date getNotNullDate(ActionRequest actionRequest, String param, - Date currentValue) { + private Date getNotNullDate(ActionRequest actionRequest, String param, Date currentValue) { Date value = ParamUtil.getDate(actionRequest, param, DateFormatFactoryUtil.getDate(actionRequest.getLocale())); return Validator.isNull(value) ? currentValue : value; } - private void saveDatiTipoPratica(long dettPraticaId, - ActionRequest actionRequest, ActionResponse actionResponse) - throws Exception { + private void saveDatiTipoPratica(long dettPraticaId, ActionRequest actionRequest, + ActionResponse actionResponse) throws Exception { - ServiceContext serviceContext = ServiceContextFactory.getInstance( - DettPratica.class.getName(), actionRequest); + ServiceContext serviceContext = ServiceContextFactory.getInstance(DettPratica.class.getName(), + actionRequest); // long dettPraticaId = ParamUtil.getLong(actionRequest, // "dettPraticaId"); - DettPratica dettPratica = DettPraticaServiceUtil - .getDettPratica(dettPraticaId); + DettPratica dettPratica = DettPraticaServiceUtil.getDettPratica(dettPraticaId); boolean bozza = ParamUtil.getBoolean(actionRequest, "bozza", true); - boolean disabledSubmit = ParamUtil.getBoolean(actionRequest, - "disabledSubmit", true); - boolean geoDisabledSubmit = ParamUtil.getBoolean(actionRequest, - "geoDisabledSubmit", true); + boolean disabledSubmit = ParamUtil.getBoolean(actionRequest, "disabledSubmit", true); + boolean geoDisabledSubmit = ParamUtil.getBoolean(actionRequest, "geoDisabledSubmit", true); String protocollo = ParamUtil.getString(actionRequest, "protocollo"); - String tipoIntegrazione = ParamUtil.getString(actionRequest, - "tipoIntegrazione"); - boolean varianteSostanziale = ParamUtil.getBoolean(actionRequest, - "varianteSostanziale"); + String tipoIntegrazione = ParamUtil.getString(actionRequest, "tipoIntegrazione"); + boolean varianteSostanziale = ParamUtil.getBoolean(actionRequest, "varianteSostanziale"); // boolean isCodiceFiscaleDelegatoCommittenteAuthorized = // ParamUtil.getBoolean(actionRequest, @@ -2135,34 +1692,27 @@ public class FascicoloFePortlet extends MVCPortlet { // user.getScreenName() : ""; String codiceFiscaleDelegatoCommittente = user.getScreenName(); - boolean isCodiceFiscaleDelegatoFineLavoriAuthorized = ParamUtil - .getBoolean(actionRequest, - "codiceFiscaleDelegatoFineLavoriEnabled"); + boolean isCodiceFiscaleDelegatoFineLavoriAuthorized = ParamUtil.getBoolean(actionRequest, + "codiceFiscaleDelegatoFineLavoriEnabled"); String codiceFiscaleDelegatoFineLavori = isCodiceFiscaleDelegatoFineLavoriAuthorized ? ParamUtil - .getString(actionRequest, "codiceFiscaleDelegatoFineLavori") - : ""; + .getString(actionRequest, "codiceFiscaleDelegatoFineLavori") : ""; - boolean isCodiceFiscaleDelegatoCollaudoAuthorized = ParamUtil - .getBoolean(actionRequest, - "codiceFiscaleDelegatoCollaudoEnabled"); + boolean isCodiceFiscaleDelegatoCollaudoAuthorized = ParamUtil.getBoolean(actionRequest, + "codiceFiscaleDelegatoCollaudoEnabled"); String codiceFiscaleDelegatoCollaudo = isCodiceFiscaleDelegatoCollaudoAuthorized ? ParamUtil .getString(actionRequest, "codiceFiscaleDelegatoCollaudo") : ""; - boolean inizioLavoriContestualeOpera = ParamUtil.getBoolean( - actionRequest, "inizioLavoriContestualeOpera"); + boolean inizioLavoriContestualeOpera = ParamUtil.getBoolean(actionRequest, + "inizioLavoriContestualeOpera"); long pagamentoId = ParamUtil.getLong(actionRequest, "pagamentoId"); - Date dataEffettuazione = ParamUtil.getDate(actionRequest, - "dataEffettuazione", + Date dataEffettuazione = ParamUtil.getDate(actionRequest, "dataEffettuazione", DateFormatFactoryUtil.getDate(actionRequest.getLocale())); - Date dataInizioLavoriOpera = ParamUtil.getDate(actionRequest, - "dataInizioLavoriOpera", + Date dataInizioLavoriOpera = ParamUtil.getDate(actionRequest, "dataInizioLavoriOpera", DateFormatFactoryUtil.getDate(actionRequest.getLocale())); - Date dataInizioEsecuzioneOpera = ParamUtil.getDate(actionRequest, - "dataInizioEsecuzioneOpera", + Date dataInizioEsecuzioneOpera = ParamUtil.getDate(actionRequest, "dataInizioEsecuzioneOpera", DateFormatFactoryUtil.getDate(actionRequest.getLocale())); - Date dataFineEsecuzioneOpera = ParamUtil.getDate(actionRequest, - "dataFineEsecuzioneOpera", + Date dataFineEsecuzioneOpera = ParamUtil.getDate(actionRequest, "dataFineEsecuzioneOpera", DateFormatFactoryUtil.getDate(actionRequest.getLocale())); String note = ParamUtil.getString(actionRequest, "note"); String noteUfficio = ParamUtil.getString(actionRequest, "noteUfficio"); @@ -2170,345 +1720,253 @@ public class FascicoloFePortlet extends MVCPortlet { // "localizzazioneGeografica"); // PAGAMENTI - String codicePagamento = ParamUtil.getString(actionRequest, - "codicePagamento"); - String causalePagamento = ParamUtil.getString(actionRequest, - "causalePagamento"); - String mezzoPagamento = ParamUtil.getString(actionRequest, - "mezzoPagamento"); - String importoBolli = ParamUtil - .getString(actionRequest, "importoBolli"); - String importoSpeseIstruttoria = ParamUtil.getString(actionRequest, - "importoSpeseIstruttoria"); - - boolean pagNuoveCostruzioni = ParamUtil.getBoolean(actionRequest, - "pagNuoveCostruzioni"); - int pagAdeguamentoSismico = ParamUtil.getInteger(actionRequest, - "pagAdeguamentoSismico"); - int pagMiglioramentoSismico = ParamUtil.getInteger(actionRequest, - "pagMiglioramentoSismico"); - boolean pagRiparazioneInterventoLocale = ParamUtil.getBoolean( - actionRequest, "pagRiparazioneInterventoLocale"); - int pagNuovaCostruzione = ParamUtil.getInteger(actionRequest, - "pagNuovaCostruzione"); - boolean pagVarianti = ParamUtil - .getBoolean(actionRequest, "pagVarianti"); + String codicePagamento = ParamUtil.getString(actionRequest, "codicePagamento"); + String causalePagamento = ParamUtil.getString(actionRequest, "causalePagamento"); + String mezzoPagamento = ParamUtil.getString(actionRequest, "mezzoPagamento"); + String importoBolli = ParamUtil.getString(actionRequest, "importoBolli"); + String importoSpeseIstruttoria = ParamUtil.getString(actionRequest, "importoSpeseIstruttoria"); + + boolean pagNuoveCostruzioni = ParamUtil.getBoolean(actionRequest, "pagNuoveCostruzioni"); + int pagAdeguamentoSismico = ParamUtil.getInteger(actionRequest, "pagAdeguamentoSismico"); + int pagMiglioramentoSismico = ParamUtil.getInteger(actionRequest, "pagMiglioramentoSismico"); + boolean pagRiparazioneInterventoLocale = ParamUtil.getBoolean(actionRequest, + "pagRiparazioneInterventoLocale"); + int pagNuovaCostruzione = ParamUtil.getInteger(actionRequest, "pagNuovaCostruzione"); + boolean pagVarianti = ParamUtil.getBoolean(actionRequest, "pagVarianti"); int pagAltro = ParamUtil.getInteger(actionRequest, "pagAltro"); - boolean pagMiglioramentoSismicoSicilia = ParamUtil.getBoolean( - actionRequest, "pagMiglioramentoSismicoSicilia"); - String pagCalcolatoAdeguamentoSismico = ParamUtil.getString( - actionRequest, "pagCalcolatoAdeguamentoSismico"); - String pagCalcolatoMiglioramentoSismico = ParamUtil.getString( - actionRequest, "pagCalcolatoMiglioramentoSismico"); - String pagCalcolatoRiparazioneInterventoLocale = ParamUtil.getString( - actionRequest, "pagCalcolatoRiparazioneInterventoLocale"); - String pagCalcolatoOperaNonQuantificabile = ParamUtil.getString( - actionRequest, "pagCalcolatoOperaNonQuantificabile"); - String pagEffettivoAdeguamentoSismico = ParamUtil.getString( - actionRequest, "pagEffettivoAdeguamentoSismico"); - String pagEffettivoMiglioramentoSismico = ParamUtil.getString( - actionRequest, "pagEffettivoMiglioramentoSismico"); - String pagEffettivoRiparazioneInterventoLocale = ParamUtil.getString( - actionRequest, "pagEffettivoRiparazioneInterventoLocale"); - String pagEffettivoOperaNonQuantificabile = ParamUtil.getString( - actionRequest, "pagEffettivoOperaNonQuantificabile"); - String pagNoteUtente = ParamUtil.getString(actionRequest, - "pagNoteUtente"); + boolean pagMiglioramentoSismicoSicilia = ParamUtil.getBoolean(actionRequest, + "pagMiglioramentoSismicoSicilia"); + String pagCalcolatoAdeguamentoSismico = ParamUtil.getString(actionRequest, + "pagCalcolatoAdeguamentoSismico"); + String pagCalcolatoMiglioramentoSismico = ParamUtil.getString(actionRequest, + "pagCalcolatoMiglioramentoSismico"); + String pagCalcolatoRiparazioneInterventoLocale = ParamUtil.getString(actionRequest, + "pagCalcolatoRiparazioneInterventoLocale"); + String pagCalcolatoOperaNonQuantificabile = ParamUtil.getString(actionRequest, + "pagCalcolatoOperaNonQuantificabile"); + String pagEffettivoAdeguamentoSismico = ParamUtil.getString(actionRequest, + "pagEffettivoAdeguamentoSismico"); + String pagEffettivoMiglioramentoSismico = ParamUtil.getString(actionRequest, + "pagEffettivoMiglioramentoSismico"); + String pagEffettivoRiparazioneInterventoLocale = ParamUtil.getString(actionRequest, + "pagEffettivoRiparazioneInterventoLocale"); + String pagEffettivoOperaNonQuantificabile = ParamUtil.getString(actionRequest, + "pagEffettivoOperaNonQuantificabile"); + String pagNoteUtente = ParamUtil.getString(actionRequest, "pagNoteUtente"); // SEZIONE DETTAGLI PRINCIPALI - DettPratica dettCheck = DettPraticaLocalServiceUtil - .fetchDettPratica(dettPraticaId); + DettPratica dettCheck = DettPraticaLocalServiceUtil.fetchDettPratica(dettPraticaId); boolean disabledCollaudoStatico = false; if (dettCheck != null) { - disabledCollaudoStatico = SoggettiUtil - .isCommittenteAndDitta(dettCheck.getIntPraticaId()); + disabledCollaudoStatico = SoggettiUtil.isCommittenteAndDitta(dettCheck.getIntPraticaId()); } - boolean collaudoStatico = ParamUtil.getBoolean(actionRequest, - "collaudoStatico"); + boolean collaudoStatico = ParamUtil.getBoolean(actionRequest, "collaudoStatico"); if (disabledCollaudoStatico) { collaudoStatico = dettCheck.getCollaudoStatico(); } - boolean lavoriInEconomiaCommittente = ParamUtil.getBoolean( - actionRequest, "lavoriInEconomiaCommittente"); - String destinazione = ParamUtil - .getString(actionRequest, "destinazione"); + boolean lavoriInEconomiaCommittente = ParamUtil.getBoolean(actionRequest, + "lavoriInEconomiaCommittente"); + String destinazione = ParamUtil.getString(actionRequest, "destinazione"); // String tipologiaSistemaCostruttivo = // ParamUtil.getString(actionRequest, // "tipologiaSistemaCostruttivo"); String ag = ParamUtil.getString(actionRequest, "ag"); - String descLongIntervento = ParamUtil.getString(actionRequest, - "descLongIntervento"); + String descLongIntervento = ParamUtil.getString(actionRequest, "descLongIntervento"); - String estremiCatastali = ParamUtil.getString(actionRequest, - "estremiCatastali"); - String estremiPratCom = ParamUtil.getString(actionRequest, - "estremiPratCom"); + String estremiCatastali = ParamUtil.getString(actionRequest, "estremiCatastali"); + String estremiPratCom = ParamUtil.getString(actionRequest, "estremiPratCom"); String metratura = ParamUtil.getString(actionRequest, "metratura"); - boolean lavoriPubblici = ParamUtil.getBoolean(actionRequest, - "lavoriPubblici"); - int lavoriPubbliciPercentuale = ParamUtil.getInteger(actionRequest, - "lavoriPubbliciPercentuale"); - String numeroCivico = ParamUtil - .getString(actionRequest, "numeroCivico"); + boolean lavoriPubblici = ParamUtil.getBoolean(actionRequest, "lavoriPubblici"); + int lavoriPubbliciPercentuale = ParamUtil.getInteger(actionRequest, "lavoriPubbliciPercentuale"); + String numeroCivico = ParamUtil.getString(actionRequest, "numeroCivico"); String dcFoglio = ParamUtil.getString(actionRequest, "dcFoglio"); String dcAllegato = ParamUtil.getString(actionRequest, "dcAllegato"); - String particella1 = ParamUtil.getString(actionRequest, "particella1", - "").replaceAll(Pattern.quote("|"), " "); - String particella2 = ParamUtil.getString(actionRequest, "particella2", - "").replaceAll(Pattern.quote("|"), " "); - String particella3 = ParamUtil.getString(actionRequest, "particella3", - "").replaceAll(Pattern.quote("|"), " "); - String particella4 = ParamUtil.getString(actionRequest, "particella4", - "").replaceAll(Pattern.quote("|"), " "); - String dcParticelle = particella1 + StringPool.PIPE + particella2 - + StringPool.PIPE + particella3 + StringPool.PIPE + particella4; - - boolean tcNuovaCostruzione = ParamUtil.getBoolean(actionRequest, - "tcNuovaCostruzione"); - boolean tcAdeguamentoSismico = ParamUtil.getBoolean(actionRequest, - "tcAdeguamentoSismico"); - boolean tcMiglioramentoSismico = ParamUtil.getBoolean(actionRequest, - "tcMiglioramentoSismico"); - boolean tcRiparazioneInterventoLocale = ParamUtil.getBoolean( - actionRequest, "tcRiparazioneInterventoLocale"); + String particella1 = ParamUtil.getString(actionRequest, "particella1", "").replaceAll( + Pattern.quote("|"), " "); + String particella2 = ParamUtil.getString(actionRequest, "particella2", "").replaceAll( + Pattern.quote("|"), " "); + String particella3 = ParamUtil.getString(actionRequest, "particella3", "").replaceAll( + Pattern.quote("|"), " "); + String particella4 = ParamUtil.getString(actionRequest, "particella4", "").replaceAll( + Pattern.quote("|"), " "); + String dcParticelle = particella1 + StringPool.PIPE + particella2 + StringPool.PIPE + particella3 + + StringPool.PIPE + particella4; + + boolean tcNuovaCostruzione = ParamUtil.getBoolean(actionRequest, "tcNuovaCostruzione"); + boolean tcAdeguamentoSismico = ParamUtil.getBoolean(actionRequest, "tcAdeguamentoSismico"); + boolean tcMiglioramentoSismico = ParamUtil.getBoolean(actionRequest, "tcMiglioramentoSismico"); + boolean tcRiparazioneInterventoLocale = ParamUtil.getBoolean(actionRequest, + "tcRiparazioneInterventoLocale"); boolean tcInCA = ParamUtil.getBoolean(actionRequest, "tcInCA"); boolean tcInOpera = ParamUtil.getBoolean(actionRequest, "tcInOpera"); - boolean tcPrefabbricato = ParamUtil.getBoolean(actionRequest, - "tcPrefabbricato"); - boolean tcInAcciaio = ParamUtil - .getBoolean(actionRequest, "tcInAcciaio"); + boolean tcPrefabbricato = ParamUtil.getBoolean(actionRequest, "tcPrefabbricato"); + boolean tcInAcciaio = ParamUtil.getBoolean(actionRequest, "tcInAcciaio"); boolean tcMista = ParamUtil.getBoolean(actionRequest, "tcMista"); - boolean tcInMuratura = ParamUtil.getBoolean(actionRequest, - "tcInMuratura"); - boolean tcInMuraturaOrdinaria = ParamUtil.getBoolean(actionRequest, - "tcInMuraturaOrdinaria"); - boolean tcInMuraturaArmata = ParamUtil.getBoolean(actionRequest, - "tcInMuraturaArmata"); - boolean tcInMuraturaMista = ParamUtil.getBoolean(actionRequest, - "tcInMuraturaMista"); + boolean tcInMuratura = ParamUtil.getBoolean(actionRequest, "tcInMuratura"); + boolean tcInMuraturaOrdinaria = ParamUtil.getBoolean(actionRequest, "tcInMuraturaOrdinaria"); + boolean tcInMuraturaArmata = ParamUtil.getBoolean(actionRequest, "tcInMuraturaArmata"); + boolean tcInMuraturaMista = ParamUtil.getBoolean(actionRequest, "tcInMuraturaMista"); boolean tcInLegno = ParamUtil.getBoolean(actionRequest, "tcInLegno"); boolean tcAltro = ParamUtil.getBoolean(actionRequest, "tcAltro"); - String tcAltroDescrizione = ParamUtil.getString(actionRequest, - "tcAltroDescrizione"); - boolean tcConDispositivi = ParamUtil.getBoolean(actionRequest, - "tcConDispositivi"); + String tcAltroDescrizione = ParamUtil.getString(actionRequest, "tcAltroDescrizione"); + boolean tcConDispositivi = ParamUtil.getBoolean(actionRequest, "tcConDispositivi"); // Descrizione edificio String dePiani = ParamUtil.getString(actionRequest, "dePiani"); String deAltezza = ParamUtil.getString(actionRequest, "deAltezza"); String deInterrati = ParamUtil.getString(actionRequest, "deInterrati"); - String deSuperficie = ParamUtil - .getString(actionRequest, "deSuperficie"); - String deCostruzione = ParamUtil.getString(actionRequest, - "deCostruzione"); - String deRistrutturazione = ParamUtil.getString(actionRequest, - "deRistrutturazione"); + String deSuperficie = ParamUtil.getString(actionRequest, "deSuperficie"); + String deCostruzione = ParamUtil.getString(actionRequest, "deCostruzione"); + String deRistrutturazione = ParamUtil.getString(actionRequest, "deRistrutturazione"); String deUso = ParamUtil.getString(actionRequest, "deUso"); String dePrivata = ParamUtil.getString(actionRequest, "dePrivata"); String dePubblica = ParamUtil.getString(actionRequest, "dePubblica"); - String deUtilizzazione = ParamUtil.getString(actionRequest, - "deUtilizzazione"); - String dePosizioneEdificio = ParamUtil.getString(actionRequest, - "dePosizioneEdificio"); - boolean deInfStradalePonte = ParamUtil.getBoolean(actionRequest, - "deInfStradalePonte"); - boolean deInfStradaleStrada = ParamUtil.getBoolean(actionRequest, - "deInfStradaleStrada"); - boolean deInfStradaleAltro = ParamUtil.getBoolean(actionRequest, - "deInfStradaleAltro"); - boolean deInfIdraulicaLong = ParamUtil.getBoolean(actionRequest, - "deInfIdraulicaLong"); - boolean deInfIdraulicaTrasv = ParamUtil.getBoolean(actionRequest, - "deInfIdraulicaTrasv"); - boolean deInfIdraulicaAltro = ParamUtil.getBoolean(actionRequest, - "deInfIdraulicaAltro"); - boolean deInfOperaAccStradale = ParamUtil.getBoolean(actionRequest, - "deInfOperaAccStradale"); - boolean deInfOperaAccIdraulica = ParamUtil.getBoolean(actionRequest, - "deInfOperaAccIdraulica"); - boolean deInfOperaAccAltro = ParamUtil.getBoolean(actionRequest, - "deInfOperaAccAltro"); - boolean deInfAltraInfrastruttura = ParamUtil.getBoolean(actionRequest, - "deInfAltraInfrastruttura"); + String deUtilizzazione = ParamUtil.getString(actionRequest, "deUtilizzazione"); + String dePosizioneEdificio = ParamUtil.getString(actionRequest, "dePosizioneEdificio"); + boolean deInfStradalePonte = ParamUtil.getBoolean(actionRequest, "deInfStradalePonte"); + boolean deInfStradaleStrada = ParamUtil.getBoolean(actionRequest, "deInfStradaleStrada"); + boolean deInfStradaleAltro = ParamUtil.getBoolean(actionRequest, "deInfStradaleAltro"); + boolean deInfIdraulicaLong = ParamUtil.getBoolean(actionRequest, "deInfIdraulicaLong"); + boolean deInfIdraulicaTrasv = ParamUtil.getBoolean(actionRequest, "deInfIdraulicaTrasv"); + boolean deInfIdraulicaAltro = ParamUtil.getBoolean(actionRequest, "deInfIdraulicaAltro"); + boolean deInfOperaAccStradale = ParamUtil.getBoolean(actionRequest, "deInfOperaAccStradale"); + boolean deInfOperaAccIdraulica = ParamUtil.getBoolean(actionRequest, "deInfOperaAccIdraulica"); + boolean deInfOperaAccAltro = ParamUtil.getBoolean(actionRequest, "deInfOperaAccAltro"); + boolean deInfAltraInfrastruttura = ParamUtil.getBoolean(actionRequest, "deInfAltraInfrastruttura"); boolean deInfAltro = ParamUtil.getBoolean(actionRequest, "deInfAltro"); - String deInfAltroDesc = ParamUtil.getString(actionRequest, - "deInfAltroDesc"); - String dccFondazioni = ParamUtil.getString(actionRequest, - "dccFondazioni"); - boolean dccStruttureEleMuraturePietrame = ParamUtil.getBoolean( - actionRequest, "dccStruttureEleMuraturePietrame"); - boolean dccStruttureEleMuratureLaterizio = ParamUtil.getBoolean( - actionRequest, "dccStruttureEleMuratureLaterizio"); - boolean dccStruttureEleMuratureMisto = ParamUtil.getBoolean( - actionRequest, "dccStruttureEleMuratureMisto"); - boolean dccStruttureEleMuratureStoriche = ParamUtil.getBoolean( - actionRequest, "dccStruttureEleMuratureStoriche"); - String dccStruttureEleAcciaio = ParamUtil.getString(actionRequest, - "dccStruttureEleAcciaio"); - String dccStruttureEleCA = ParamUtil.getString(actionRequest, - "dccStruttureEleCA"); - String dccStruttureEleLegno = ParamUtil.getString(actionRequest, - "dccStruttureEleLegno"); - boolean dccStruttureEleMistoCA = ParamUtil.getBoolean(actionRequest, - "dccStruttureEleMistoCA"); - boolean dccStruttureEleMistoAcciaio = ParamUtil.getBoolean( - actionRequest, "dccStruttureEleMistoAcciaio"); - boolean dccStruttureEleMistoMuratura = ParamUtil.getBoolean( - actionRequest, "dccStruttureEleMistoMuratura"); - boolean dccStruttureEleMistoLegno = ParamUtil.getBoolean(actionRequest, - "dccStruttureEleMistoLegno"); - boolean dccStruttureElePrefabbricato = ParamUtil.getBoolean( - actionRequest, "dccStruttureElePrefabbricato"); - boolean dccStruttureEleAltro = ParamUtil.getBoolean(actionRequest, - "dccStruttureEleAltro"); - String dccStruttureEleAltroDescrizione = ParamUtil.getString( - actionRequest, "dccStruttureEleAltroDescrizione"); - boolean dccOrizzontamentiCAAcciaio = ParamUtil.getBoolean( - actionRequest, "dccOrizzontamentiCAAcciaio"); - boolean dccOrizzontamentiLegno = ParamUtil.getBoolean(actionRequest, - "dccOrizzontamentiLegno"); - boolean dccOrizzontamentiLegnoCA = ParamUtil.getBoolean(actionRequest, - "dccOrizzontamentiLegnoCA"); - boolean dccOrizzontamentiLamieraGrecata = ParamUtil.getBoolean( - actionRequest, "dccOrizzontamentiLamieraGrecata"); - boolean dccOrizzontamentiVolte = ParamUtil.getBoolean(actionRequest, - "dccOrizzontamentiVolte"); - boolean dccOrizzontamentiAltro = ParamUtil.getBoolean(actionRequest, - "dccOrizzontamentiAltro"); - String dccOrizzontamentiAltroDescrizione = ParamUtil.getString( - actionRequest, "dccOrizzontamentiAltroDescrizione"); - String dccCopertura = ParamUtil - .getString(actionRequest, "dccCopertura"); - boolean dccCoperturaCAAcciaio = ParamUtil.getBoolean(actionRequest, - "dccCoperturaCAAcciaio"); - boolean dccCoperturaLegno = ParamUtil.getBoolean(actionRequest, - "dccCoperturaLegno"); - boolean dccCoperturaLegnoCA = ParamUtil.getBoolean(actionRequest, - "dccCoperturaLegnoCA"); - boolean dccCoperturaLamieraGrecata = ParamUtil.getBoolean( - actionRequest, "dccCoperturaLamieraGrecata"); - boolean dccCoperturaPannelli = ParamUtil.getBoolean(actionRequest, - "dccCoperturaPannelli"); - boolean dccCoperturaPVCTelonati = ParamUtil.getBoolean(actionRequest, - "dccCoperturaPVCTelonati"); - boolean dccCoperturaLeggere = ParamUtil.getBoolean(actionRequest, - "dccCoperturaLeggere"); - boolean dccCoperturaAltro = ParamUtil.getBoolean(actionRequest, - "dccCoperturaAltro"); - String dccCoperturaAltroDesrizione = ParamUtil.getString(actionRequest, - "dccCoperturaAltroDesrizione"); - boolean dccElemNonStrutLaterizio = ParamUtil.getBoolean(actionRequest, - "dccElemNonStrutLaterizio"); - boolean dccElemNonStrutCartongesso = ParamUtil.getBoolean( - actionRequest, "dccElemNonStrutCartongesso"); - boolean dccElemNonStrutCalcestruzzo = ParamUtil.getBoolean( - actionRequest, "dccElemNonStrutCalcestruzzo"); - boolean dccElemNonStrutLegno = ParamUtil.getBoolean(actionRequest, - "dccElemNonStrutLegno"); - boolean dccElemNonStrutAltro = ParamUtil.getBoolean(actionRequest, - "dccElemNonStrutAltro"); - String dccElemNonStrutAltroDescrizione = ParamUtil.getString( - actionRequest, "dccElemNonStrutAltroDescrizione"); - boolean dccOpereDiRinforzoInsCatene = ParamUtil.getBoolean( - actionRequest, "dccOpereDiRinforzoInsCatene"); - boolean dccOpereDiRinforzoInsCordoli = ParamUtil.getBoolean( - actionRequest, "dccOpereDiRinforzoInsCordoli"); - boolean dccOpereDiRinforzoIniArmate = ParamUtil.getBoolean( - actionRequest, "dccOpereDiRinforzoIniArmate"); - boolean dccOpereDiRinforzoPlaccaggi = ParamUtil.getBoolean( - actionRequest, "dccOpereDiRinforzoPlaccaggi"); - boolean dccOpereDiRinforzoIrrSolai = ParamUtil.getBoolean( - actionRequest, "dccOpereDiRinforzoIrrSolai"); - boolean dccOpereDiRinforzoRinforziFRP = ParamUtil.getBoolean( - actionRequest, "dccOpereDiRinforzoRinforziFRP"); - boolean dccOpereDiRinforzoTelaiECerchiature = ParamUtil.getBoolean( - actionRequest, "dccOpereDiRinforzoTelaiECerchiature"); - boolean dccOpereDiRinforzoInsRompitratta = ParamUtil.getBoolean( - actionRequest, "dccOpereDiRinforzoInsRompitratta"); - boolean dccOpereDiRinforzoAltro = ParamUtil.getBoolean(actionRequest, - "dccOpereDiRinforzoAltro"); - String dccOpereDiRinforzoAltroDescrizione = ParamUtil.getString( - actionRequest, "dccOpereDiRinforzoAltroDescrizione"); + String deInfAltroDesc = ParamUtil.getString(actionRequest, "deInfAltroDesc"); + String dccFondazioni = ParamUtil.getString(actionRequest, "dccFondazioni"); + boolean dccStruttureEleMuraturePietrame = ParamUtil.getBoolean(actionRequest, + "dccStruttureEleMuraturePietrame"); + boolean dccStruttureEleMuratureLaterizio = ParamUtil.getBoolean(actionRequest, + "dccStruttureEleMuratureLaterizio"); + boolean dccStruttureEleMuratureMisto = ParamUtil.getBoolean(actionRequest, + "dccStruttureEleMuratureMisto"); + boolean dccStruttureEleMuratureStoriche = ParamUtil.getBoolean(actionRequest, + "dccStruttureEleMuratureStoriche"); + String dccStruttureEleAcciaio = ParamUtil.getString(actionRequest, "dccStruttureEleAcciaio"); + String dccStruttureEleCA = ParamUtil.getString(actionRequest, "dccStruttureEleCA"); + String dccStruttureEleLegno = ParamUtil.getString(actionRequest, "dccStruttureEleLegno"); + boolean dccStruttureEleMistoCA = ParamUtil.getBoolean(actionRequest, "dccStruttureEleMistoCA"); + boolean dccStruttureEleMistoAcciaio = ParamUtil.getBoolean(actionRequest, + "dccStruttureEleMistoAcciaio"); + boolean dccStruttureEleMistoMuratura = ParamUtil.getBoolean(actionRequest, + "dccStruttureEleMistoMuratura"); + boolean dccStruttureEleMistoLegno = ParamUtil.getBoolean(actionRequest, "dccStruttureEleMistoLegno"); + boolean dccStruttureElePrefabbricato = ParamUtil.getBoolean(actionRequest, + "dccStruttureElePrefabbricato"); + boolean dccStruttureEleAltro = ParamUtil.getBoolean(actionRequest, "dccStruttureEleAltro"); + String dccStruttureEleAltroDescrizione = ParamUtil.getString(actionRequest, + "dccStruttureEleAltroDescrizione"); + boolean dccOrizzontamentiCAAcciaio = ParamUtil + .getBoolean(actionRequest, "dccOrizzontamentiCAAcciaio"); + boolean dccOrizzontamentiLegno = ParamUtil.getBoolean(actionRequest, "dccOrizzontamentiLegno"); + boolean dccOrizzontamentiLegnoCA = ParamUtil.getBoolean(actionRequest, "dccOrizzontamentiLegnoCA"); + boolean dccOrizzontamentiLamieraGrecata = ParamUtil.getBoolean(actionRequest, + "dccOrizzontamentiLamieraGrecata"); + boolean dccOrizzontamentiVolte = ParamUtil.getBoolean(actionRequest, "dccOrizzontamentiVolte"); + boolean dccOrizzontamentiAltro = ParamUtil.getBoolean(actionRequest, "dccOrizzontamentiAltro"); + String dccOrizzontamentiAltroDescrizione = ParamUtil.getString(actionRequest, + "dccOrizzontamentiAltroDescrizione"); + String dccCopertura = ParamUtil.getString(actionRequest, "dccCopertura"); + boolean dccCoperturaCAAcciaio = ParamUtil.getBoolean(actionRequest, "dccCoperturaCAAcciaio"); + boolean dccCoperturaLegno = ParamUtil.getBoolean(actionRequest, "dccCoperturaLegno"); + boolean dccCoperturaLegnoCA = ParamUtil.getBoolean(actionRequest, "dccCoperturaLegnoCA"); + boolean dccCoperturaLamieraGrecata = ParamUtil + .getBoolean(actionRequest, "dccCoperturaLamieraGrecata"); + boolean dccCoperturaPannelli = ParamUtil.getBoolean(actionRequest, "dccCoperturaPannelli"); + boolean dccCoperturaPVCTelonati = ParamUtil.getBoolean(actionRequest, "dccCoperturaPVCTelonati"); + boolean dccCoperturaLeggere = ParamUtil.getBoolean(actionRequest, "dccCoperturaLeggere"); + boolean dccCoperturaAltro = ParamUtil.getBoolean(actionRequest, "dccCoperturaAltro"); + String dccCoperturaAltroDesrizione = ParamUtil + .getString(actionRequest, "dccCoperturaAltroDesrizione"); + boolean dccElemNonStrutLaterizio = ParamUtil.getBoolean(actionRequest, "dccElemNonStrutLaterizio"); + boolean dccElemNonStrutCartongesso = ParamUtil + .getBoolean(actionRequest, "dccElemNonStrutCartongesso"); + boolean dccElemNonStrutCalcestruzzo = ParamUtil.getBoolean(actionRequest, + "dccElemNonStrutCalcestruzzo"); + boolean dccElemNonStrutLegno = ParamUtil.getBoolean(actionRequest, "dccElemNonStrutLegno"); + boolean dccElemNonStrutAltro = ParamUtil.getBoolean(actionRequest, "dccElemNonStrutAltro"); + String dccElemNonStrutAltroDescrizione = ParamUtil.getString(actionRequest, + "dccElemNonStrutAltroDescrizione"); + boolean dccOpereDiRinforzoInsCatene = ParamUtil.getBoolean(actionRequest, + "dccOpereDiRinforzoInsCatene"); + boolean dccOpereDiRinforzoInsCordoli = ParamUtil.getBoolean(actionRequest, + "dccOpereDiRinforzoInsCordoli"); + boolean dccOpereDiRinforzoIniArmate = ParamUtil.getBoolean(actionRequest, + "dccOpereDiRinforzoIniArmate"); + boolean dccOpereDiRinforzoPlaccaggi = ParamUtil.getBoolean(actionRequest, + "dccOpereDiRinforzoPlaccaggi"); + boolean dccOpereDiRinforzoIrrSolai = ParamUtil + .getBoolean(actionRequest, "dccOpereDiRinforzoIrrSolai"); + boolean dccOpereDiRinforzoRinforziFRP = ParamUtil.getBoolean(actionRequest, + "dccOpereDiRinforzoRinforziFRP"); + boolean dccOpereDiRinforzoTelaiECerchiature = ParamUtil.getBoolean(actionRequest, + "dccOpereDiRinforzoTelaiECerchiature"); + boolean dccOpereDiRinforzoInsRompitratta = ParamUtil.getBoolean(actionRequest, + "dccOpereDiRinforzoInsRompitratta"); + boolean dccOpereDiRinforzoAltro = ParamUtil.getBoolean(actionRequest, "dccOpereDiRinforzoAltro"); + String dccOpereDiRinforzoAltroDescrizione = ParamUtil.getString(actionRequest, + "dccOpereDiRinforzoAltroDescrizione"); // DATI geologici - String geoClasseIndagine = getNotNullString(actionRequest, - "geoClasseIndagine", dettPratica.getGeoClasseIndagine()); - String geoCategoriaSottosuolo = getNotNullString(actionRequest, - "geoCategoriaSottosuolo", + String geoClasseIndagine = getNotNullString(actionRequest, "geoClasseIndagine", + dettPratica.getGeoClasseIndagine()); + String geoCategoriaSottosuolo = getNotNullString(actionRequest, "geoCategoriaSottosuolo", dettPratica.getGeoCategoriaSottosuolo()); - String geoCategoriaTopografica = getNotNullString(actionRequest, - "geoCategoriaTopografica", + String geoCategoriaTopografica = getNotNullString(actionRequest, "geoCategoriaTopografica", dettPratica.getGeoCategoriaTopografica()); - String geoConsolidamento = getNotNullString(actionRequest, - "geoConsolidamento", dettPratica.getGeoConsolidamento()); - String geoPericolositaGeologica = getNotNullString(actionRequest, - "geoPericolositaGeologica", + String geoConsolidamento = getNotNullString(actionRequest, "geoConsolidamento", + dettPratica.getGeoConsolidamento()); + String geoPericolositaGeologica = getNotNullString(actionRequest, "geoPericolositaGeologica", dettPratica.getGeoPericolositaGeologica()); - String geoRischioGeomorfologicoPai = getNotNullString(actionRequest, - "geoRischioGeomorfologicoPai", + String geoRischioGeomorfologicoPai = getNotNullString(actionRequest, "geoRischioGeomorfologicoPai", dettPratica.getGeoRischioGeomorfologicoPai()); - String geoPericolositaIdraulicaPai = getNotNullString(actionRequest, - "geoPericolositaIdraulicaPai", + String geoPericolositaIdraulicaPai = getNotNullString(actionRequest, "geoPericolositaIdraulicaPai", dettPratica.getGeoPericolositaIdraulicaPai()); - String geoRischioIdraulicoPai = getNotNullString(actionRequest, - "geoRischioIdraulicoPai", + String geoRischioIdraulicoPai = getNotNullString(actionRequest, "geoRischioIdraulicoPai", dettPratica.getGeoRischioIdraulicoPai()); - String geoPericolositaSismica = getNotNullString(actionRequest, - "geoPericolositaSismica", + String geoPericolositaSismica = getNotNullString(actionRequest, "geoPericolositaSismica", dettPratica.getGeoPericolositaSismica()); - String geoPericolositaIdraulica = getNotNullString(actionRequest, - "geoPericolositaIdraulica", + String geoPericolositaIdraulica = getNotNullString(actionRequest, "geoPericolositaIdraulica", dettPratica.getGeoPericolositaIdraulica()); - String geoPericolositaGeomorfica = getNotNullString(actionRequest, - "geoPericolositaGeomorfica", + String geoPericolositaGeomorfica = getNotNullString(actionRequest, "geoPericolositaGeomorfica", dettPratica.getGeoPericolositaGeomorfica()); - String geoFattibilitaGeologica = getNotNullString(actionRequest, - "geoFattibilitaGeologica", + String geoFattibilitaGeologica = getNotNullString(actionRequest, "geoFattibilitaGeologica", dettPratica.getGeoFattibilitaGeologica()); - String geoFattibilitaSismica = getNotNullString(actionRequest, - "geoFattibilitaSismica", dettPratica.getGeoFattibilitaSismica()); - String geoFattibilitaIdraulica = getNotNullString(actionRequest, - "geoFattibilitaIdraulica", + String geoFattibilitaSismica = getNotNullString(actionRequest, "geoFattibilitaSismica", + dettPratica.getGeoFattibilitaSismica()); + String geoFattibilitaIdraulica = getNotNullString(actionRequest, "geoFattibilitaIdraulica", dettPratica.getGeoFattibilitaIdraulica()); - String geoOperaRilevante = getNotNullString(actionRequest, - "geoOperaRilevante", dettPratica.getGeoOperaRilevante()); - String geoOpereDiSostegno = getNotNullString(actionRequest, - "geoOpereDiSostegno", dettPratica.getGeoOpereDiSostegno()); - String geoOpereInSotterranea = getNotNullString(actionRequest, - "geoOpereInSotterranea", dettPratica.getGeoOpereInSotterranea()); - String geoPresenzaPrescrizioni = getNotNullString(actionRequest, - "geoPresenzaPrescrizioni", + String geoOperaRilevante = getNotNullString(actionRequest, "geoOperaRilevante", + dettPratica.getGeoOperaRilevante()); + String geoOpereDiSostegno = getNotNullString(actionRequest, "geoOpereDiSostegno", + dettPratica.getGeoOpereDiSostegno()); + String geoOpereInSotterranea = getNotNullString(actionRequest, "geoOpereInSotterranea", + dettPratica.getGeoOpereInSotterranea()); + String geoPresenzaPrescrizioni = getNotNullString(actionRequest, "geoPresenzaPrescrizioni", dettPratica.getGeoPresenzaPrescrizioni()); - String geoNotePrescrizioni = getNotNullString(actionRequest, - "geoNotePrescrizioni", dettPratica.getGeoNotePrescrizioni()); - String geoNoteIndagini = getNotNullString(actionRequest, - "geoNoteIndagini", dettPratica.getGeoNoteIndagini()); - String geoEvidenzeGeomorfiche = getNotNullString(actionRequest, - "geoEvidenzeGeomorfiche", + String geoNotePrescrizioni = getNotNullString(actionRequest, "geoNotePrescrizioni", + dettPratica.getGeoNotePrescrizioni()); + String geoNoteIndagini = getNotNullString(actionRequest, "geoNoteIndagini", + dettPratica.getGeoNoteIndagini()); + String geoEvidenzeGeomorfiche = getNotNullString(actionRequest, "geoEvidenzeGeomorfiche", dettPratica.getGeoEvidenzeGeomorfiche()); - String geoEvidenzeGeologiche = getNotNullString(actionRequest, - "geoEvidenzeGeologiche", dettPratica.getGeoEvidenzeGeologiche()); - Date geoDtRelazione = getNotNullDate(actionRequest, "geoDtRelazione", - dettPratica.getGeoDtRelazione()); + String geoEvidenzeGeologiche = getNotNullString(actionRequest, "geoEvidenzeGeologiche", + dettPratica.getGeoEvidenzeGeologiche()); + Date geoDtRelazione = getNotNullDate(actionRequest, "geoDtRelazione", dettPratica.getGeoDtRelazione()); // normative - boolean normLavoriInProprio = ParamUtil.getBoolean(actionRequest, - "normLavoriInProprio"); - boolean normEsenteBollo = ParamUtil.getBoolean(actionRequest, - "normEsenteBollo"); - boolean normEsenteSpese = ParamUtil.getBoolean(actionRequest, - "normEsenteSpese"); - boolean normDpr01Dep = ParamUtil.getBoolean(actionRequest, - "normDpr01Dep"); - boolean normDpr02Dep = ParamUtil.getBoolean(actionRequest, - "normDpr02Dep"); - boolean normDpr01Aut = ParamUtil.getBoolean(actionRequest, - "normDpr01Aut"); - boolean normDpr02Aut = ParamUtil.getBoolean(actionRequest, - "normDpr02Aut"); + boolean normLavoriInProprio = ParamUtil.getBoolean(actionRequest, "normLavoriInProprio"); + boolean normEsenteBollo = ParamUtil.getBoolean(actionRequest, "normEsenteBollo"); + boolean normEsenteSpese = ParamUtil.getBoolean(actionRequest, "normEsenteSpese"); + boolean normDpr01Dep = ParamUtil.getBoolean(actionRequest, "normDpr01Dep"); + boolean normDpr02Dep = ParamUtil.getBoolean(actionRequest, "normDpr02Dep"); + boolean normDpr01Aut = ParamUtil.getBoolean(actionRequest, "normDpr01Aut"); + boolean normDpr02Aut = ParamUtil.getBoolean(actionRequest, "normDpr02Aut"); boolean normDm01 = ParamUtil.getBoolean(actionRequest, "normDm01"); boolean normDm02 = ParamUtil.getBoolean(actionRequest, "normDm02"); boolean normDm03 = ParamUtil.getBoolean(actionRequest, "normDm03"); @@ -2516,10 +1974,8 @@ public class FascicoloFePortlet extends MVCPortlet { boolean normDprg01 = ParamUtil.getBoolean(actionRequest, "normDprg01"); boolean normDprg02 = ParamUtil.getBoolean(actionRequest, "normDprg02"); boolean normAnr = ParamUtil.getBoolean(actionRequest, "normAnr"); - boolean normArt3com3 = ParamUtil.getBoolean(actionRequest, - "normArt3com3"); - boolean normArt3com4 = ParamUtil.getBoolean(actionRequest, - "normArt3com4"); + boolean normArt3com3 = ParamUtil.getBoolean(actionRequest, "normArt3com3"); + boolean normArt3com4 = ParamUtil.getBoolean(actionRequest, "normArt3com4"); boolean normOrd01 = ParamUtil.getBoolean(actionRequest, "normOrd01"); boolean normDm04 = ParamUtil.getBoolean(actionRequest, "normDm04"); boolean normDm05 = ParamUtil.getBoolean(actionRequest, "normDm05"); @@ -2528,16 +1984,12 @@ public class FascicoloFePortlet extends MVCPortlet { boolean suap = ParamUtil.getBoolean(actionRequest, "suap"); - boolean normSismaBonus = ParamUtil.getBoolean(actionRequest, - "normSismaBonus"); - String clRischioPreInt = ParamUtil.getString(actionRequest, - "clRischioPreInt"); - String clRischioPostInt = ParamUtil.getString(actionRequest, - "clRischioPostInt"); - boolean intervFinPub = ParamUtil.getBoolean(actionRequest, - "intervFinPub"); - String intervFinPubDesc = intervFinPub ? ParamUtil.getString( - actionRequest, "intervFinPubDesc") : StringPool.BLANK; + boolean normSismaBonus = ParamUtil.getBoolean(actionRequest, "normSismaBonus"); + String clRischioPreInt = ParamUtil.getString(actionRequest, "clRischioPreInt"); + String clRischioPostInt = ParamUtil.getString(actionRequest, "clRischioPostInt"); + boolean intervFinPub = ParamUtil.getBoolean(actionRequest, "intervFinPub"); + String intervFinPubDesc = intervFinPub ? ParamUtil.getString(actionRequest, "intervFinPubDesc") + : StringPool.BLANK; long userId = PortalUtil.getUserId(actionRequest); @@ -2549,278 +2001,205 @@ public class FascicoloFePortlet extends MVCPortlet { localita = ParamUtil.getString(actionRequest, "localita"); try { - DettPraticaServiceUtil.updateDettPratica(userId, - dettPratica.getDettPraticaId(), - dettPratica.getIntPraticaId(), - dettPratica.getIntegrazione(), protocollo, - tipoIntegrazione, dettPratica.getCompleta(), - dettPratica.getGestita(), codicePagamento, - causalePagamento, mezzoPagamento, importoBolli, - importoSpeseIstruttoria, dataEffettuazione, - dettPratica.getStatusTask(), - dettPratica.getWorkflowForzato(), - dettPratica.getSoggettoSostituitoId(), - dettPratica.getOldDettPraticaId(), destinazione, ag, - descLongIntervento, via, localita, estremiCatastali, - estremiPratCom, dettPratica.getVariataDa(), - dettPratica.getVarianteNumero(), varianteSostanziale, - dettPratica.getOperaConforme(), collaudoStatico, - codiceFiscaleDelegatoCommittente, - codiceFiscaleDelegatoFineLavori, - codiceFiscaleDelegatoCollaudo, - dettPratica.getCodiceRuoloDelegato(), - lavoriInEconomiaCommittente, inizioLavoriContestualeOpera, - dataInizioLavoriOpera, dataInizioEsecuzioneOpera, - dataFineEsecuzioneOpera, metratura, lavoriPubblici, - pagamentoId, lavoriPubbliciPercentuale, numeroCivico, - dcParticelle, dcFoglio, dcAllegato, dePiani, deAltezza, - deInterrati, deSuperficie, deCostruzione, - deRistrutturazione, deUso, dePubblica, dePrivata, - deUtilizzazione, dePosizioneEdificio, deInfStradalePonte, - deInfStradaleStrada, deInfStradaleAltro, - deInfIdraulicaLong, deInfIdraulicaTrasv, - deInfIdraulicaAltro, deInfOperaAccStradale, - deInfOperaAccIdraulica, deInfOperaAccAltro, - deInfAltraInfrastruttura, deInfAltro, deInfAltroDesc, - dccFondazioni, dccStruttureEleMuraturePietrame, - dccStruttureEleMuratureLaterizio, - dccStruttureEleMuratureMisto, - dccStruttureEleMuratureStoriche, dccStruttureEleAcciaio, - dccStruttureEleCA, dccStruttureEleLegno, - dccStruttureEleMistoCA, dccStruttureEleMistoAcciaio, - dccStruttureEleMistoMuratura, dccStruttureEleMistoLegno, - dccStruttureElePrefabbricato, dccStruttureEleAltro, - dccStruttureEleAltroDescrizione, - dccOrizzontamentiCAAcciaio, dccOrizzontamentiLegno, - dccOrizzontamentiLegnoCA, dccOrizzontamentiLamieraGrecata, - dccOrizzontamentiVolte, dccOrizzontamentiAltro, - dccOrizzontamentiAltroDescrizione, dccCopertura, - dccCoperturaCAAcciaio, dccCoperturaLegno, - dccCoperturaLegnoCA, dccCoperturaLamieraGrecata, - dccCoperturaPannelli, dccCoperturaPVCTelonati, - dccCoperturaLeggere, dccCoperturaAltro, - dccCoperturaAltroDesrizione, dccElemNonStrutLaterizio, - dccElemNonStrutCartongesso, dccElemNonStrutCalcestruzzo, - dccElemNonStrutLegno, dccElemNonStrutAltro, - dccElemNonStrutAltroDescrizione, - dccOpereDiRinforzoInsCatene, dccOpereDiRinforzoInsCordoli, - dccOpereDiRinforzoIniArmate, dccOpereDiRinforzoPlaccaggi, + DettPraticaServiceUtil.updateDettPratica(userId, dettPratica.getDettPraticaId(), + dettPratica.getIntPraticaId(), dettPratica.getIntegrazione(), protocollo, + tipoIntegrazione, dettPratica.getCompleta(), dettPratica.getGestita(), codicePagamento, + causalePagamento, mezzoPagamento, importoBolli, importoSpeseIstruttoria, + dataEffettuazione, dettPratica.getStatusTask(), dettPratica.getWorkflowForzato(), + dettPratica.getSoggettoSostituitoId(), destinazione, ag, descLongIntervento, via, + localita, estremiCatastali, estremiPratCom, dettPratica.getVariataDa(), + dettPratica.getVarianteNumero(), varianteSostanziale, dettPratica.getOperaConforme(), + collaudoStatico, codiceFiscaleDelegatoCommittente, codiceFiscaleDelegatoFineLavori, + codiceFiscaleDelegatoCollaudo, dettPratica.getCodiceRuoloDelegato(), + lavoriInEconomiaCommittente, inizioLavoriContestualeOpera, dataInizioLavoriOpera, + dataInizioEsecuzioneOpera, dataFineEsecuzioneOpera, metratura, lavoriPubblici, + pagamentoId, lavoriPubbliciPercentuale, numeroCivico, dcParticelle, dcFoglio, dcAllegato, + dePiani, deAltezza, deInterrati, deSuperficie, deCostruzione, deRistrutturazione, deUso, + dePubblica, dePrivata, deUtilizzazione, dePosizioneEdificio, deInfStradalePonte, + deInfStradaleStrada, deInfStradaleAltro, deInfIdraulicaLong, deInfIdraulicaTrasv, + deInfIdraulicaAltro, deInfOperaAccStradale, deInfOperaAccIdraulica, deInfOperaAccAltro, + deInfAltraInfrastruttura, deInfAltro, deInfAltroDesc, dccFondazioni, + dccStruttureEleMuraturePietrame, dccStruttureEleMuratureLaterizio, + dccStruttureEleMuratureMisto, dccStruttureEleMuratureStoriche, dccStruttureEleAcciaio, + dccStruttureEleCA, dccStruttureEleLegno, dccStruttureEleMistoCA, + dccStruttureEleMistoAcciaio, dccStruttureEleMistoMuratura, dccStruttureEleMistoLegno, + dccStruttureElePrefabbricato, dccStruttureEleAltro, dccStruttureEleAltroDescrizione, + dccOrizzontamentiCAAcciaio, dccOrizzontamentiLegno, dccOrizzontamentiLegnoCA, + dccOrizzontamentiLamieraGrecata, dccOrizzontamentiVolte, dccOrizzontamentiAltro, + dccOrizzontamentiAltroDescrizione, dccCopertura, dccCoperturaCAAcciaio, + dccCoperturaLegno, dccCoperturaLegnoCA, dccCoperturaLamieraGrecata, dccCoperturaPannelli, + dccCoperturaPVCTelonati, dccCoperturaLeggere, dccCoperturaAltro, + dccCoperturaAltroDesrizione, dccElemNonStrutLaterizio, dccElemNonStrutCartongesso, + dccElemNonStrutCalcestruzzo, dccElemNonStrutLegno, dccElemNonStrutAltro, + dccElemNonStrutAltroDescrizione, dccOpereDiRinforzoInsCatene, + dccOpereDiRinforzoInsCordoli, dccOpereDiRinforzoIniArmate, dccOpereDiRinforzoPlaccaggi, dccOpereDiRinforzoIrrSolai, dccOpereDiRinforzoRinforziFRP, - dccOpereDiRinforzoTelaiECerchiature, - dccOpereDiRinforzoInsRompitratta, dccOpereDiRinforzoAltro, - dccOpereDiRinforzoAltroDescrizione, geoClasseIndagine, - geoCategoriaSottosuolo, geoCategoriaTopografica, - geoConsolidamento, geoPericolositaGeologica, - geoRischioGeomorfologicoPai, geoPericolositaIdraulicaPai, - geoRischioIdraulicoPai, geoPericolositaSismica, - geoPericolositaIdraulica, geoPericolositaGeomorfica, - geoFattibilitaGeologica, geoFattibilitaSismica, - geoFattibilitaIdraulica, geoOperaRilevante, - geoOpereDiSostegno, geoOpereInSotterranea, - geoPresenzaPrescrizioni, geoNotePrescrizioni, - geoNoteIndagini, geoEvidenzeGeomorfiche, - geoEvidenzeGeologiche, geoDtRelazione, pagNuoveCostruzioni, - pagAdeguamentoSismico, pagMiglioramentoSismico, - pagRiparazioneInterventoLocale, pagNuovaCostruzione, - pagVarianti, pagAltro, pagMiglioramentoSismicoSicilia, - pagCalcolatoAdeguamentoSismico, - pagCalcolatoMiglioramentoSismico, - pagCalcolatoRiparazioneInterventoLocale, - pagCalcolatoOperaNonQuantificabile, - pagEffettivoAdeguamentoSismico, - pagEffettivoMiglioramentoSismico, - pagEffettivoRiparazioneInterventoLocale, - pagEffettivoOperaNonQuantificabile, pagNoteUtente, note, - noteUfficio, dettPratica.getLocalizzazioneGeografica(), - tcNuovaCostruzione, tcAdeguamentoSismico, - tcMiglioramentoSismico, tcRiparazioneInterventoLocale, - tcInCA, tcInOpera, tcPrefabbricato, tcInAcciaio, tcMista, - tcInMuratura, tcInMuraturaOrdinaria, tcInMuraturaArmata, - tcInMuraturaMista, tcInLegno, tcAltro, tcAltroDescrizione, - tcConDispositivi, normLavoriInProprio, normEsenteBollo, - normEsenteSpese, normDpr01Dep, normDpr02Dep, normDpr01Aut, - normDpr02Aut, normDm01, normDm02, normDm03, normDm2018, - normDprg01, normDprg02, normAnr, normArt3com3, - normArt3com4, normOrd01, normDm04, normDm05, normCI01, - normLTC01, suap, normSismaBonus, clRischioPreInt, - clRischioPostInt, intervFinPub, intervFinPubDesc, - serviceContext, bozza, disabledSubmit, geoDisabledSubmit); + dccOpereDiRinforzoTelaiECerchiature, dccOpereDiRinforzoInsRompitratta, + dccOpereDiRinforzoAltro, dccOpereDiRinforzoAltroDescrizione, geoClasseIndagine, + geoCategoriaSottosuolo, geoCategoriaTopografica, geoConsolidamento, + geoPericolositaGeologica, geoRischioGeomorfologicoPai, geoPericolositaIdraulicaPai, + geoRischioIdraulicoPai, geoPericolositaSismica, geoPericolositaIdraulica, + geoPericolositaGeomorfica, geoFattibilitaGeologica, geoFattibilitaSismica, + geoFattibilitaIdraulica, geoOperaRilevante, geoOpereDiSostegno, geoOpereInSotterranea, + geoPresenzaPrescrizioni, geoNotePrescrizioni, geoNoteIndagini, geoEvidenzeGeomorfiche, + geoEvidenzeGeologiche, geoDtRelazione, pagNuoveCostruzioni, pagAdeguamentoSismico, + pagMiglioramentoSismico, pagRiparazioneInterventoLocale, pagNuovaCostruzione, + pagVarianti, pagAltro, pagMiglioramentoSismicoSicilia, pagCalcolatoAdeguamentoSismico, + pagCalcolatoMiglioramentoSismico, pagCalcolatoRiparazioneInterventoLocale, + pagCalcolatoOperaNonQuantificabile, pagEffettivoAdeguamentoSismico, + pagEffettivoMiglioramentoSismico, pagEffettivoRiparazioneInterventoLocale, + pagEffettivoOperaNonQuantificabile, pagNoteUtente, note, noteUfficio, + dettPratica.getLocalizzazioneGeografica(), tcNuovaCostruzione, tcAdeguamentoSismico, + tcMiglioramentoSismico, tcRiparazioneInterventoLocale, tcInCA, tcInOpera, + tcPrefabbricato, tcInAcciaio, tcMista, tcInMuratura, tcInMuraturaOrdinaria, + tcInMuraturaArmata, tcInMuraturaMista, tcInLegno, tcAltro, tcAltroDescrizione, + tcConDispositivi, normLavoriInProprio, normEsenteBollo, normEsenteSpese, normDpr01Dep, + normDpr02Dep, normDpr01Aut, normDpr02Aut, normDm01, normDm02, normDm03, normDm2018, + normDprg01, normDprg02, normAnr, normArt3com3, normArt3com4, normOrd01, normDm04, + normDm05, normCI01, normLTC01, suap, normSismaBonus, clRischioPreInt, clRischioPostInt, + intervFinPub, intervFinPubDesc, serviceContext, bozza, disabledSubmit, geoDisabledSubmit); String redirect = ParamUtil.getString(actionRequest, "redirect"); if (Validator.isNull(redirect)) { - String successURL = ParamUtil.getString(actionRequest, - "successURL"); - successURL = HttpUtil.removeParameter(successURL, - actionResponse.getNamespace() + "isNewVariante"); + String successURL = ParamUtil.getString(actionRequest, "successURL"); + successURL = HttpUtil.removeParameter(successURL, actionResponse.getNamespace() + + "isNewVariante"); if (Validator.isNotNull(successURL)) { - successURL = HttpUtil.removeParameter(successURL, - actionResponse.getNamespace() + "openVerifyUrl"); - successURL = HttpUtil.removeParameter(successURL, - actionResponse.getNamespace() + "verifyArea"); - successURL = HttpUtil.addParameter(successURL, - actionResponse.getNamespace() + "openVerifyUrl", - String.valueOf(!bozza)); - String verifyArea = ParamUtil.getString(actionRequest, - "verifyArea", StringPool.BLANK); - successURL = HttpUtil.addParameter(successURL, - actionResponse.getNamespace() + "verifyArea", - String.valueOf(verifyArea)); - String fragmentURL = ParamUtil.getString(actionRequest, - "current_tab"); + successURL = HttpUtil.removeParameter(successURL, actionResponse.getNamespace() + + "openVerifyUrl"); + successURL = HttpUtil.removeParameter(successURL, actionResponse.getNamespace() + + "verifyArea"); + successURL = HttpUtil.addParameter(successURL, actionResponse.getNamespace() + + "openVerifyUrl", String.valueOf(!bozza)); + String verifyArea = ParamUtil.getString(actionRequest, "verifyArea", StringPool.BLANK); + successURL = HttpUtil.addParameter(successURL, actionResponse.getNamespace() + + "verifyArea", String.valueOf(verifyArea)); + String fragmentURL = ParamUtil.getString(actionRequest, "current_tab"); if (Validator.isNotNull(fragmentURL)) { - successURL = HttpUtil.removeParameter(successURL, - actionResponse.getNamespace() + "current_tab"); - successURL = HttpUtil.addParameter(successURL, - actionResponse.getNamespace() + "current_tab", - fragmentURL); - successURL = HttpUtil.removeParameter(successURL, - actionResponse.getNamespace() + "historyKey"); - successURL = HttpUtil.addParameter(successURL, - actionResponse.getNamespace() + "historyKey", - "_1_WAR_portosfeportlet_tab=" + fragmentURL); + successURL = HttpUtil.removeParameter(successURL, actionResponse.getNamespace() + + "current_tab"); + successURL = HttpUtil.addParameter(successURL, actionResponse.getNamespace() + + "current_tab", fragmentURL); + successURL = HttpUtil.removeParameter(successURL, actionResponse.getNamespace() + + "historyKey"); + successURL = HttpUtil.addParameter(successURL, actionResponse.getNamespace() + + "historyKey", "_1_WAR_portosfeportlet_tab=" + fragmentURL); if (successURL.contains("#")) { - successURL = successURL.substring(0, - successURL.lastIndexOf("#")); + successURL = successURL.substring(0, successURL.lastIndexOf("#")); } - successURL += "#_1_WAR_portosfeportlet_tab=" - + fragmentURL; + successURL += "#_1_WAR_portosfeportlet_tab=" + fragmentURL; } actionResponse.sendRedirect(successURL); } else { - actionResponse.setRenderParameter("mvcPath", - "/html/fascicolofe/edit_fascicolo.jsp"); + actionResponse.setRenderParameter("mvcPath", "/html/fascicolofe/edit_fascicolo.jsp"); actionResponse.setRenderParameter("backURL", ParamUtil.getString(actionRequest, "backURL")); actionResponse.setRenderParameter("dettPraticaId", String.valueOf(dettPratica.getDettPraticaId())); actionResponse.setRenderParameter("intPraticaId", String.valueOf(dettPratica.getIntPraticaId())); - actionResponse.setRenderParameter("openVerifyUrl", - String.valueOf(!bozza)); + actionResponse.setRenderParameter("openVerifyUrl", String.valueOf(!bozza)); } } } catch (PortalException e) { _log.error(e, e); PortalUtil.copyRequestParameters(actionRequest, actionResponse); - actionResponse.setRenderParameter("mvcPath", - "/html/fascicolofe/edit_fascicolo.jsp"); + actionResponse.setRenderParameter("mvcPath", "/html/fascicolofe/edit_fascicolo.jsp"); throw e; } catch (Exception e) { _log.error(e, e); PortalUtil.copyRequestParameters(actionRequest, actionResponse); - actionResponse.setRenderParameter("mvcPath", - "/html/fascicolofe/edit_fascicolo.jsp"); + actionResponse.setRenderParameter("mvcPath", "/html/fascicolofe/edit_fascicolo.jsp"); throw new PortalException(e); } } - private void saveVariazioneSoggetti(long dettPraticaId, - ActionRequest actionRequest, ActionResponse actionResponse) - throws Exception { + private void saveVariazioneSoggetti(long dettPraticaId, ActionRequest actionRequest, + ActionResponse actionResponse) throws Exception { - ServiceContext serviceContext = ServiceContextFactory.getInstance( - DettPratica.class.getName(), actionRequest); + ServiceContext serviceContext = ServiceContextFactory.getInstance(DettPratica.class.getName(), + actionRequest); boolean bozza = ParamUtil.getBoolean(actionRequest, "bozza", true); User user = UserLocalServiceUtil.getUser(serviceContext.getUserId()); String codiceFiscaleDelegatoCommittente = user.getScreenName(); - boolean isCodiceFiscaleDelegatoFineLavoriAuthorized = ParamUtil - .getBoolean(actionRequest, - "codiceFiscaleDelegatoFineLavoriEnabled"); + boolean isCodiceFiscaleDelegatoFineLavoriAuthorized = ParamUtil.getBoolean(actionRequest, + "codiceFiscaleDelegatoFineLavoriEnabled"); String codiceFiscaleDelegatoFineLavori = isCodiceFiscaleDelegatoFineLavoriAuthorized ? ParamUtil - .getString(actionRequest, "codiceFiscaleDelegatoFineLavori") - : ""; + .getString(actionRequest, "codiceFiscaleDelegatoFineLavori") : ""; - boolean isCodiceFiscaleDelegatoCollaudoAuthorized = ParamUtil - .getBoolean(actionRequest, - "codiceFiscaleDelegatoCollaudoEnabled"); + boolean isCodiceFiscaleDelegatoCollaudoAuthorized = ParamUtil.getBoolean(actionRequest, + "codiceFiscaleDelegatoCollaudoEnabled"); String codiceFiscaleDelegatoCollaudo = isCodiceFiscaleDelegatoCollaudoAuthorized ? ParamUtil .getString(actionRequest, "codiceFiscaleDelegatoCollaudo") : ""; long userId = PortalUtil.getUserId(actionRequest); try { - DettPratica dettPratica = DettPraticaServiceUtil - .getDettPratica(dettPraticaId); + DettPratica dettPratica = DettPraticaServiceUtil.getDettPratica(dettPraticaId); - DettPraticaServiceUtil.updateDettPraticaSoggetti(userId, - dettPratica.getDettPraticaId(), - dettPratica.getIntPraticaId(), - codiceFiscaleDelegatoCommittente, - codiceFiscaleDelegatoFineLavori, - codiceFiscaleDelegatoCollaudo, serviceContext); + DettPraticaServiceUtil.updateDettPraticaSoggetti(userId, dettPratica.getDettPraticaId(), + dettPratica.getIntPraticaId(), codiceFiscaleDelegatoCommittente, + codiceFiscaleDelegatoFineLavori, codiceFiscaleDelegatoCollaudo, serviceContext); String redirect = ParamUtil.getString(actionRequest, "redirect"); if (Validator.isNull(redirect)) { - String successURL = ParamUtil.getString(actionRequest, - "successURL"); + String successURL = ParamUtil.getString(actionRequest, "successURL"); if (Validator.isNotNull(successURL)) { - successURL = HttpUtil.removeParameter(successURL, - actionResponse.getNamespace() + "openVerifyUrl"); - successURL = HttpUtil.removeParameter(successURL, - actionResponse.getNamespace() + "verifyArea"); - successURL = HttpUtil.addParameter(successURL, - actionResponse.getNamespace() + "openVerifyUrl", - String.valueOf(!bozza)); - String verifyArea = ParamUtil.getString(actionRequest, - "verifyArea", StringPool.BLANK); - successURL = HttpUtil.addParameter(successURL, - actionResponse.getNamespace() + "verifyArea", - String.valueOf(verifyArea)); + successURL = HttpUtil.removeParameter(successURL, actionResponse.getNamespace() + + "openVerifyUrl"); + successURL = HttpUtil.removeParameter(successURL, actionResponse.getNamespace() + + "verifyArea"); + successURL = HttpUtil.addParameter(successURL, actionResponse.getNamespace() + + "openVerifyUrl", String.valueOf(!bozza)); + String verifyArea = ParamUtil.getString(actionRequest, "verifyArea", StringPool.BLANK); + successURL = HttpUtil.addParameter(successURL, actionResponse.getNamespace() + + "verifyArea", String.valueOf(verifyArea)); String fragmentURL = "_1_WAR_portosfeportlet_page_soggetti"; if (successURL.contains("#")) { - successURL = successURL.substring(0, - successURL.lastIndexOf("#")); + successURL = successURL.substring(0, successURL.lastIndexOf("#")); } successURL += "#_1_WAR_portosfeportlet_tab=" + fragmentURL; actionResponse.sendRedirect(successURL); } else { - actionResponse.setRenderParameter("mvcPath", - "/html/fascicolofe/edit_fascicolo.jsp"); + actionResponse.setRenderParameter("mvcPath", "/html/fascicolofe/edit_fascicolo.jsp"); actionResponse.setRenderParameter("backURL", ParamUtil.getString(actionRequest, "backURL")); actionResponse.setRenderParameter("dettPraticaId", String.valueOf(dettPratica.getDettPraticaId())); actionResponse.setRenderParameter("intPraticaId", String.valueOf(dettPratica.getIntPraticaId())); - actionResponse.setRenderParameter("openVerifyUrl", - String.valueOf(!bozza)); + actionResponse.setRenderParameter("openVerifyUrl", String.valueOf(!bozza)); } } } catch (PortalException e) { _log.error(e, e); PortalUtil.copyRequestParameters(actionRequest, actionResponse); - actionResponse.setRenderParameter("mvcPath", - "/html/fascicolofe/edit_fascicolo.jsp"); + actionResponse.setRenderParameter("mvcPath", "/html/fascicolofe/edit_fascicolo.jsp"); throw e; } catch (Exception e) { _log.error(e, e); PortalUtil.copyRequestParameters(actionRequest, actionResponse); - actionResponse.setRenderParameter("mvcPath", - "/html/fascicolofe/edit_fascicolo.jsp"); + actionResponse.setRenderParameter("mvcPath", "/html/fascicolofe/edit_fascicolo.jsp"); throw new PortalException(e); } } - public void deleteFascicolo(ActionRequest actionRequest, - ActionResponse actionResponse) throws Exception { + public void deleteFascicolo(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { - ServiceContext serviceContext = ServiceContextFactory - .getInstance(actionRequest); + ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest); try { - long intPraticaId = ParamUtil - .getLong(actionRequest, "intPraticaId"); + long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId"); - IntPraticaServiceUtil.deleteIntPratica(intPraticaId, - serviceContext.getUserId()); + IntPraticaServiceUtil.deleteIntPratica(intPraticaId, serviceContext.getUserId()); } catch (PortalException | SystemException e) { _log.error(e, e); @@ -2828,51 +2207,38 @@ public class FascicoloFePortlet extends MVCPortlet { } } - public void richiediAsseverazioni(ActionRequest actionRequest, - ActionResponse actionResponse) throws PortalException, - SystemException { + public void richiediAsseverazioni(ActionRequest actionRequest, ActionResponse actionResponse) + throws PortalException, SystemException { - ServiceContext serviceContext = ServiceContextFactory - .getInstance(actionRequest); + ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest); long dettPraticaId = ParamUtil.getLong(actionRequest, "dettPraticaId"); if (ValidazionePraticaUtil.asseverazioniIsEnable(dettPraticaId)) { - AsseverazioneServiceUtil.richiediAsseverazioni(dettPraticaId, - serviceContext); + AsseverazioneServiceUtil.richiediAsseverazioni(dettPraticaId, serviceContext); } else { SessionErrors.add(actionRequest, "asseverazioni-non-richiedibili"); } } - public void annullaAsseverazione(ActionRequest actionRequest, - ActionResponse actionResponse) throws PortalException, - SystemException { + public void annullaAsseverazione(ActionRequest actionRequest, ActionResponse actionResponse) + throws PortalException, SystemException { - ServiceContext serviceContext = ServiceContextFactory - .getInstance(actionRequest); - long asseverazioneId = ParamUtil.getLong(actionRequest, - "asseverazioneId"); - Asseverazione asseverazione = AsseverazioneLocalServiceUtil - .getAsseverazione(asseverazioneId); - if (AsseverazioniUtil.hasGestisciFileAsseverazione( - serviceContext.getUserId(), asseverazioneId)) { - AsseverazioneServiceUtil.resetAsseverazione( - asseverazione.getDettPraticaId(), asseverazioneId); + ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest); + long asseverazioneId = ParamUtil.getLong(actionRequest, "asseverazioneId"); + Asseverazione asseverazione = AsseverazioneLocalServiceUtil.getAsseverazione(asseverazioneId); + if (AsseverazioniUtil.hasGestisciFileAsseverazione(serviceContext.getUserId(), asseverazioneId)) { + AsseverazioneServiceUtil.resetAsseverazione(asseverazione.getDettPraticaId(), asseverazioneId); } else { SessionErrors.add(actionRequest, "asseverazioni-non-richiedibili"); } } - public void rimuoviFileAsseverazione(ActionRequest actionRequest, - ActionResponse actionResponse) throws PortalException, - SystemException { + public void rimuoviFileAsseverazione(ActionRequest actionRequest, ActionResponse actionResponse) + throws PortalException, SystemException { - ServiceContext serviceContext = ServiceContextFactory - .getInstance(actionRequest); - long asseverazioneId = ParamUtil.getLong(actionRequest, - "asseverazioneId"); - if (AsseverazioniUtil.hasGestisciFileAsseverazione( - serviceContext.getUserId(), asseverazioneId)) { + ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest); + long asseverazioneId = ParamUtil.getLong(actionRequest, "asseverazioneId"); + if (AsseverazioniUtil.hasGestisciFileAsseverazione(serviceContext.getUserId(), asseverazioneId)) { AsseverazioneServiceUtil.rimuoviFileAsseverazione(asseverazioneId); } else { SessionErrors.add(actionRequest, "asseverazioni-non-richiedibili"); @@ -2880,41 +2246,31 @@ public class FascicoloFePortlet extends MVCPortlet { } - public void allegatoFileAnnullamento(ActionRequest actionRequest, - ActionResponse actionResponse) throws PortalException, - SystemException { + public void allegatoFileAnnullamento(ActionRequest actionRequest, ActionResponse actionResponse) + throws PortalException, SystemException { try { - UploadPortletRequest uploadRequest = PortalUtil - .getUploadPortletRequest(actionRequest); - ServiceContext serviceContext = ServiceContextFactory - .getInstance(uploadRequest); - long intPraticaId = ParamUtil - .getLong(uploadRequest, "intPraticaId"); + UploadPortletRequest uploadRequest = PortalUtil.getUploadPortletRequest(actionRequest); + ServiceContext serviceContext = ServiceContextFactory.getInstance(uploadRequest); + long intPraticaId = ParamUtil.getLong(uploadRequest, "intPraticaId"); String sourceFileName = uploadRequest.getFileName("abortFile"); File file = uploadRequest.getFile("abortFile"); - boolean applicaFirma = ParamUtil.getBoolean(uploadRequest, - "applicaFirma"); + boolean applicaFirma = ParamUtil.getBoolean(uploadRequest, "applicaFirma"); if (Validator.isNotNull(sourceFileName) && file != null) { // validazione: solo alcune estensioni String ext = FileUtil.getExtension(sourceFileName); - if (!ext.equalsIgnoreCase("p7m") - && !ext.equalsIgnoreCase("pdf")) { - SessionErrors - .add(actionRequest, - "error.geniocivilefe.annullamento.allegato.ext.valid"); + if (!ext.equalsIgnoreCase("p7m") && !ext.equalsIgnoreCase("pdf")) { + SessionErrors.add(actionRequest, "error.geniocivilefe.annullamento.allegato.ext.valid"); } // lunghezza fissata a 200 if (sourceFileName.length() > 200) { SessionErrors - .add(actionRequest, - "error.geniocivilefe.annullamento.allegato.length.valid"); + .add(actionRequest, "error.geniocivilefe.annullamento.allegato.length.valid"); } } else { - SessionErrors.add(actionRequest, - "error.geniocivilefe.annullamento.allegato.is.request"); + SessionErrors.add(actionRequest, "error.geniocivilefe.annullamento.allegato.is.request"); } if (!SessionErrors.isEmpty(actionRequest)) { @@ -2922,12 +2278,10 @@ public class FascicoloFePortlet extends MVCPortlet { } else { byte[] content = FileUtil.getBytes(file); - List soggettiValidi = SoggettoServiceUtil - .getValidByIntPratica(intPraticaId); + List soggettiValidi = SoggettoServiceUtil.getValidByIntPratica(intPraticaId); List codiciFiscaliValidi = new ArrayList(); for (Soggetto soggetto : soggettiValidi) { - if (!codiciFiscaliValidi.contains(soggetto - .getCodiceFiscale())) { + if (!codiciFiscaliValidi.contains(soggetto.getCodiceFiscale())) { codiciFiscaliValidi.add(soggetto.getCodiceFiscale()); } } @@ -2938,27 +2292,21 @@ public class FascicoloFePortlet extends MVCPortlet { FirmeBean firmeBean = new FirmeBean(); if (applicaFirma) { - jsonFirmatari = FirmeUtil.addFirma(firmeBean, - user.getScreenName()); + jsonFirmatari = FirmeUtil.addFirma(firmeBean, user.getScreenName()); } else { jsonFirmatari = FirmeUtil.serialize(firmeBean); } // //////////////////////////////////// - boolean isSigned = ValidazionePraticaUtil - .isAllegatoSignedBySubjects(sourceFileName, content, - serviceContext.getCompanyId(), - codiciFiscaliValidi, jsonFirmatari); + boolean isSigned = ValidazionePraticaUtil.isAllegatoSignedBySubjects(sourceFileName, content, + serviceContext.getCompanyId(), codiciFiscaliValidi, jsonFirmatari); if (isSigned) { - IntPraticaLocalServiceUtil.allegaFileAnnullamento( - intPraticaId, content, sourceFileName, + IntPraticaLocalServiceUtil.allegaFileAnnullamento(intPraticaId, content, sourceFileName, jsonFirmatari, serviceContext); } else { - SessionErrors.add(actionRequest, - "error.annullamento.add.file.non.firmato"); + SessionErrors.add(actionRequest, "error.annullamento.add.file.non.firmato"); - String redirectURL = ParamUtil.getString(actionRequest, - "errorUrl"); + String redirectURL = ParamUtil.getString(actionRequest, "errorUrl"); // redirectURL = HttpUtil.addParameter(redirectURL, // actionResponse.getNamespace() + // "intPraticaId", String.valueOf(intPraticaId)); @@ -2974,28 +2322,22 @@ public class FascicoloFePortlet extends MVCPortlet { } } - public void generaFirmaAnnullamento(ActionRequest actionRequest, - ActionResponse actionResponse) throws PortalException, - SystemException { + public void generaFirmaAnnullamento(ActionRequest actionRequest, ActionResponse actionResponse) + throws PortalException, SystemException { try { - ServiceContext serviceContext = ServiceContextFactory - .getInstance(actionRequest); - long intPraticaId = ParamUtil - .getLong(actionRequest, "intPraticaId"); + ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest); + long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId"); boolean isSigned = ParamUtil.getBoolean(actionRequest, "appSign"); if (isSigned) { - IntPraticaLocalServiceUtil.generateFileAnnullamento( - intPraticaId, serviceContext); + IntPraticaLocalServiceUtil.generateFileAnnullamento(intPraticaId, serviceContext); // PortalUtil.copyRequestParameters(actionRequest, // actionResponse); } else { - SessionErrors.add(actionRequest, - "error.annullamento.add.file.non.firmato"); + SessionErrors.add(actionRequest, "error.annullamento.add.file.non.firmato"); - String redirectURL = ParamUtil.getString(actionRequest, - "errorUrl"); + String redirectURL = ParamUtil.getString(actionRequest, "errorUrl"); actionResponse.sendRedirect(redirectURL); } @@ -3006,88 +2348,67 @@ public class FascicoloFePortlet extends MVCPortlet { } } - public void allegatoFileAsseverazione(ActionRequest actionRequest, - ActionResponse actionResponse) throws PortalException, - SystemException { + public void allegatoFileAsseverazione(ActionRequest actionRequest, ActionResponse actionResponse) + throws PortalException, SystemException { String dettagliFirme = ""; try { - UploadPortletRequest uploadRequest = PortalUtil - .getUploadPortletRequest(actionRequest); - ServiceContext serviceContext = ServiceContextFactory - .getInstance(uploadRequest); - long asseverazioneId = ParamUtil.getLong(uploadRequest, - "asseverazioneId"); + UploadPortletRequest uploadRequest = PortalUtil.getUploadPortletRequest(actionRequest); + ServiceContext serviceContext = ServiceContextFactory.getInstance(uploadRequest); + long asseverazioneId = ParamUtil.getLong(uploadRequest, "asseverazioneId"); String sourceFileName = uploadRequest.getFileName("docFile"); File file = uploadRequest.getFile("docFile"); - if (AsseverazioniUtil.hasGestisciFileAsseverazione( - serviceContext.getUserId(), asseverazioneId)) { + if (AsseverazioniUtil.hasGestisciFileAsseverazione(serviceContext.getUserId(), asseverazioneId)) { if (Validator.isNotNull(sourceFileName) && file != null) { // validazione: solo alcune estensioni String ext = FileUtil.getExtension(sourceFileName); - if (!ext.equalsIgnoreCase("p7m") - && !ext.equalsIgnoreCase("pdf")) { - SessionErrors - .add(actionRequest, - "error.geniocivilefe.asseverazione.allegato.ext.valid"); + if (!ext.equalsIgnoreCase("p7m") && !ext.equalsIgnoreCase("pdf")) { + SessionErrors.add(actionRequest, + "error.geniocivilefe.asseverazione.allegato.ext.valid"); } // lunghezza fissata a 200 if (sourceFileName.length() > 200) { - SessionErrors - .add(actionRequest, - "error.geniocivilefe.asseverazione.allegato.length.valid"); + SessionErrors.add(actionRequest, + "error.geniocivilefe.asseverazione.allegato.length.valid"); } } else { - SessionErrors - .add(actionRequest, - "error.geniocivilefe.asseverazione.allegato.is.request"); + SessionErrors.add(actionRequest, "error.geniocivilefe.asseverazione.allegato.is.request"); } } else { - SessionErrors.add(actionRequest, - "error.geniocivilefe.asseverazione.non.richiedibile"); + SessionErrors.add(actionRequest, "error.geniocivilefe.asseverazione.non.richiedibile"); } - Asseverazione asseverazione = AsseverazioneLocalServiceUtil - .getAsseverazione(asseverazioneId); + Asseverazione asseverazione = AsseverazioneLocalServiceUtil.getAsseverazione(asseverazioneId); if (SessionErrors.isEmpty(actionRequest)) { byte[] content = FileUtil.getBytes(file); - boolean isSignedByTitolare = ValidazionePraticaUtil - .isAsseverazioneSignedByOwner(sourceFileName, content, - serviceContext.getCompanyId(), - asseverazione.getCodiceFiscale(), - StringPool.BLANK); + boolean isSignedByTitolare = ValidazionePraticaUtil.isAsseverazioneSignedByOwner( + sourceFileName, content, serviceContext.getCompanyId(), + asseverazione.getCodiceFiscale(), StringPool.BLANK); if (isSignedByTitolare) { - AsseverazioneServiceUtil.allegaFileAsseverazione( - asseverazioneId, content, sourceFileName, - serviceContext); + AsseverazioneServiceUtil.allegaFileAsseverazione(asseverazioneId, content, + sourceFileName, serviceContext); } else { SessionErrors - .add(actionRequest, - "error.geniocivilefe.asseverazione.allegato.firma.valid"); + .add(actionRequest, "error.geniocivilefe.asseverazione.allegato.firma.valid"); // Impostazione parametri di rendering per messaggio di // errore. - List firmatari = ValidazionePraticaUtil - .gatherSignatures(sourceFileName, content, - serviceContext.getCompanyId(), ""); - String firme = StringUtils.join(firmatari, ", ") - .toLowerCase(); - dettagliFirme = "
Firma richiesta [" - + asseverazione.getCodiceFiscale() + List firmatari = ValidazionePraticaUtil.gatherSignatures(sourceFileName, content, + serviceContext.getCompanyId(), ""); + String firme = StringUtils.join(firmatari, ", ").toLowerCase(); + dettagliFirme = "
Firma richiesta [" + asseverazione.getCodiceFiscale() + "]
Firme trovate [" + firme + "]"; } } if (!SessionErrors.isEmpty(actionRequest)) { - String redirectURL = ParamUtil.getString(actionRequest, - "errorUrl"); - redirectURL = HttpUtil.addParameter(redirectURL, - actionResponse.getNamespace() + "dettPraticaId", - String.valueOf(asseverazione.getDettPraticaId())); + String redirectURL = ParamUtil.getString(actionRequest, "errorUrl"); + redirectURL = HttpUtil.addParameter(redirectURL, actionResponse.getNamespace() + + "dettPraticaId", String.valueOf(asseverazione.getDettPraticaId())); actionResponse.sendRedirect(redirectURL); } } catch (Exception e) { @@ -3098,29 +2419,22 @@ public class FascicoloFePortlet extends MVCPortlet { actionResponse.setRenderParameter("dettagliFirme", dettagliFirme); } - public void deleteFileAnnullamento(ActionRequest actionRequest, - ActionResponse actionResponse) throws PortalException, - SystemException { + public void deleteFileAnnullamento(ActionRequest actionRequest, ActionResponse actionResponse) + throws PortalException, SystemException { - long fileAnnulamentoId = ParamUtil.getLong(actionRequest, - "docPraticaAnnullamentoId"); + long fileAnnulamentoId = ParamUtil.getLong(actionRequest, "docPraticaAnnullamentoId"); if (Validator.isNotNull(fileAnnulamentoId)) { - IntPraticaLocalServiceUtil - .deleteFileAnnullamento(fileAnnulamentoId); + IntPraticaLocalServiceUtil.deleteFileAnnullamento(fileAnnulamentoId); } } - public void confermaAsseverazione(ActionRequest actionRequest, - ActionResponse actionResponse) throws IOException, PortalException, - SystemException { + public void confermaAsseverazione(ActionRequest actionRequest, ActionResponse actionResponse) + throws IOException, PortalException, SystemException { - ServiceContext serviceContext = ServiceContextFactory - .getInstance(actionRequest); - long asseverazioneId = ParamUtil.getLong(actionRequest, - "asseverazioneId"); - if (AsseverazioniUtil.hasCambioStatoAsseverazione( - serviceContext.getUserId(), asseverazioneId)) { + ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest); + long asseverazioneId = ParamUtil.getLong(actionRequest, "asseverazioneId"); + if (AsseverazioniUtil.hasCambioStatoAsseverazione(serviceContext.getUserId(), asseverazioneId)) { AsseverazioneServiceUtil.cambioStatoAsseverazioni(asseverazioneId, AsseverazioniUtil.STATO_ESEGUITA); } else { @@ -3129,49 +2443,39 @@ public class FascicoloFePortlet extends MVCPortlet { } - public void annullaAsseverazioni(ActionRequest actionRequest, - ActionResponse actionResponse) throws IOException, PortalException, - SystemException { + public void annullaAsseverazioni(ActionRequest actionRequest, ActionResponse actionResponse) + throws IOException, PortalException, SystemException { - ServiceContext serviceContext = ServiceContextFactory - .getInstance(actionRequest); + ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest); long dettPraticaId = ParamUtil.getLong(actionRequest, "dettPraticaId"); - if (AsseverazioniUtil.hasAnnullaAsseverazioni( - serviceContext.getUserId(), dettPraticaId)) { + if (AsseverazioniUtil.hasAnnullaAsseverazioni(serviceContext.getUserId(), dettPraticaId)) { AsseverazioneServiceUtil.annullaAsseverazioni(dettPraticaId); } else { SessionErrors.add(actionRequest, "asseverazioni-non-annullabili"); } } - public void updateFormPagamento(ActionRequest actionRequest, - ActionResponse actionResponse) throws PortalException, - SystemException { + public void updateFormPagamento(ActionRequest actionRequest, ActionResponse actionResponse) + throws PortalException, SystemException { long dettPraticaId = ParamUtil.getLong(actionRequest, "dettPraticaId"); - boolean normEsenteBollo = ParamUtil.getBoolean(actionRequest, - "normEsenteBollo"); - boolean normEsenteSpese = ParamUtil.getBoolean(actionRequest, - "normEsenteSpese"); + boolean normEsenteBollo = ParamUtil.getBoolean(actionRequest, "normEsenteBollo"); + boolean normEsenteSpese = ParamUtil.getBoolean(actionRequest, "normEsenteSpese"); if (Validator.isNotNull(dettPraticaId)) { - DettPraticaServiceUtil.updateCheckPagamenti(dettPraticaId, - normEsenteSpese, normEsenteBollo); + DettPraticaServiceUtil.updateCheckPagamenti(dettPraticaId, normEsenteSpese, normEsenteBollo); } PortalUtil.copyRequestParameters(actionRequest, actionResponse); } - public void pagaInvia(ActionRequest actionRequest, - ActionResponse actionResponse) throws PortalException, + public void pagaInvia(ActionRequest actionRequest, ActionResponse actionResponse) throws PortalException, SystemException { - ServiceContext serviceContext = ServiceContextFactory - .getInstance(actionRequest); + ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest); long dettPraticaId = ParamUtil.getLong(actionRequest, "dettPraticaId"); long fineLavoriId = ParamUtil.getLong(actionRequest, "fineLavoriId"); long collaudoId = ParamUtil.getLong(actionRequest, "collaudoId"); - String codiceFiscaleCommittente = ParamUtil.getString(actionRequest, - "codiceFiscaleCommittente"); + String codiceFiscaleCommittente = ParamUtil.getString(actionRequest, "codiceFiscaleCommittente"); String url = ParamUtil.getString(actionRequest, "url"); if (Validator.isNotNull(dettPraticaId)) { @@ -3180,122 +2484,90 @@ public class FascicoloFePortlet extends MVCPortlet { // DettPraticaServiceUtil.getDettPratica(dettPraticaId); if (ValidazionePraticaUtil.pagamentoIsEnable(dettPraticaId) // && dettPratica.getUserId() == serviceContext.getUserId()) { - && DelegheUtil.canDoPayment(serviceContext.getUserId(), - dettPraticaId)) { - int pagAdeguamentoSismico = ParamUtil.getInteger(actionRequest, - "pagAdeguamentoSismico"); + && DelegheUtil.canDoPayment(serviceContext.getUserId(), dettPraticaId)) { + int pagAdeguamentoSismico = ParamUtil.getInteger(actionRequest, "pagAdeguamentoSismico"); int pagAltro = ParamUtil.getInteger(actionRequest, "pagAltro"); - int pagMiglioramentoSismico = ParamUtil.getInteger( - actionRequest, "pagMiglioramentoSismico"); - int pagNuovaCostruzione = ParamUtil.getInteger(actionRequest, - "pagNuovaCostruzione"); - - boolean pagNuoveCostruzioni = ParamUtil.getBoolean( - actionRequest, "pagNuoveCostruzioni"); - boolean pagRiparazioneInterventoLocale = ParamUtil.getBoolean( - actionRequest, "pagRiparazioneInterventoLocale"); - boolean pagMiglioramentoSismicoSicilia = ParamUtil.getBoolean( - actionRequest, "pagMiglioramentoSismicoSicilia"); - String pagCalcolatoAdeguamentoSismico = ParamUtil.getString( - actionRequest, "pagCalcolatoAdeguamentoSismico"); - String pagCalcolatoMiglioramentoSismico = ParamUtil.getString( - actionRequest, "pagCalcolatoMiglioramentoSismico"); - String pagCalcolatoRiparazioneInterventoLocale = ParamUtil - .getString(actionRequest, - "pagCalcolatoRiparazioneInterventoLocale"); - String pagCalcolatoOperaNonQuantificabile = ParamUtil - .getString(actionRequest, - "pagCalcolatoOperaNonQuantificabile"); - String pagEffettivoAdeguamentoSismico = ParamUtil.getString( - actionRequest, "pagEffettivoAdeguamentoSismico"); - String pagEffettivoMiglioramentoSismico = ParamUtil.getString( - actionRequest, "pagEffettivoMiglioramentoSismico"); - String pagEffettivoRiparazioneInterventoLocale = ParamUtil - .getString(actionRequest, - "pagEffettivoRiparazioneInterventoLocale"); - String pagEffettivoOperaNonQuantificabile = ParamUtil - .getString(actionRequest, - "pagEffettivoOperaNonQuantificabile"); - String pagNoteUtente = ParamUtil.getString(actionRequest, - "pagNoteUtente"); + int pagMiglioramentoSismico = ParamUtil.getInteger(actionRequest, "pagMiglioramentoSismico"); + int pagNuovaCostruzione = ParamUtil.getInteger(actionRequest, "pagNuovaCostruzione"); + + boolean pagNuoveCostruzioni = ParamUtil.getBoolean(actionRequest, "pagNuoveCostruzioni"); + boolean pagRiparazioneInterventoLocale = ParamUtil.getBoolean(actionRequest, + "pagRiparazioneInterventoLocale"); + boolean pagMiglioramentoSismicoSicilia = ParamUtil.getBoolean(actionRequest, + "pagMiglioramentoSismicoSicilia"); + String pagCalcolatoAdeguamentoSismico = ParamUtil.getString(actionRequest, + "pagCalcolatoAdeguamentoSismico"); + String pagCalcolatoMiglioramentoSismico = ParamUtil.getString(actionRequest, + "pagCalcolatoMiglioramentoSismico"); + String pagCalcolatoRiparazioneInterventoLocale = ParamUtil.getString(actionRequest, + "pagCalcolatoRiparazioneInterventoLocale"); + String pagCalcolatoOperaNonQuantificabile = ParamUtil.getString(actionRequest, + "pagCalcolatoOperaNonQuantificabile"); + String pagEffettivoAdeguamentoSismico = ParamUtil.getString(actionRequest, + "pagEffettivoAdeguamentoSismico"); + String pagEffettivoMiglioramentoSismico = ParamUtil.getString(actionRequest, + "pagEffettivoMiglioramentoSismico"); + String pagEffettivoRiparazioneInterventoLocale = ParamUtil.getString(actionRequest, + "pagEffettivoRiparazioneInterventoLocale"); + String pagEffettivoOperaNonQuantificabile = ParamUtil.getString(actionRequest, + "pagEffettivoOperaNonQuantificabile"); + String pagNoteUtente = ParamUtil.getString(actionRequest, "pagNoteUtente"); ; - boolean pagVarianti = ParamUtil.getBoolean(actionRequest, - "pagVarianti"); - String importoSpeseIstruttoria = ParamUtil.getString( - actionRequest, "importoSpeseIstruttoria"); + boolean pagVarianti = ParamUtil.getBoolean(actionRequest, "pagVarianti"); + String importoSpeseIstruttoria = ParamUtil + .getString(actionRequest, "importoSpeseIstruttoria"); // ADT: BUG FE ID=30 - CALCOLO IMPORTO // controllo non effettuato se spese esente - boolean esenteSpeseIstruttoria = DettPraticaLocalServiceUtil - .getDettPratica(dettPraticaId).isNormEsenteSpese(); + boolean esenteSpeseIstruttoria = DettPraticaLocalServiceUtil.getDettPratica(dettPraticaId) + .isNormEsenteSpese(); if (esenteSpeseIstruttoria) { - DettPraticaServiceUtil.pagaInvia(dettPraticaId, - pagAdeguamentoSismico, pagAltro, - pagMiglioramentoSismico, pagNuovaCostruzione, - pagNuoveCostruzioni, - pagRiparazioneInterventoLocale, pagVarianti, - importoSpeseIstruttoria, - pagMiglioramentoSismicoSicilia, - pagCalcolatoAdeguamentoSismico, - pagCalcolatoMiglioramentoSismico, - pagCalcolatoRiparazioneInterventoLocale, - pagCalcolatoOperaNonQuantificabile, - pagEffettivoAdeguamentoSismico, - pagEffettivoMiglioramentoSismico, - pagEffettivoRiparazioneInterventoLocale, - pagEffettivoOperaNonQuantificabile, pagNoteUtente, - codiceFiscaleCommittente, url, serviceContext); + DettPraticaServiceUtil.pagaInvia(dettPraticaId, pagAdeguamentoSismico, pagAltro, + pagMiglioramentoSismico, pagNuovaCostruzione, pagNuoveCostruzioni, + pagRiparazioneInterventoLocale, pagVarianti, importoSpeseIstruttoria, + pagMiglioramentoSismicoSicilia, pagCalcolatoAdeguamentoSismico, + pagCalcolatoMiglioramentoSismico, pagCalcolatoRiparazioneInterventoLocale, + pagCalcolatoOperaNonQuantificabile, pagEffettivoAdeguamentoSismico, + pagEffettivoMiglioramentoSismico, pagEffettivoRiparazioneInterventoLocale, + pagEffettivoOperaNonQuantificabile, pagNoteUtente, codiceFiscaleCommittente, url, + serviceContext); } else if ((Integer.parseInt(pagEffettivoAdeguamentoSismico) != 0 || Integer.parseInt(pagEffettivoMiglioramentoSismico) != 0 - || Integer - .parseInt(pagEffettivoRiparazioneInterventoLocale) != 0 || Integer + || Integer.parseInt(pagEffettivoRiparazioneInterventoLocale) != 0 || Integer .parseInt(pagEffettivoOperaNonQuantificabile) != 0) && (importoSpeseIstruttoria != "0,00")) { - DettPraticaServiceUtil.pagaInvia(dettPraticaId, - pagAdeguamentoSismico, pagAltro, - pagMiglioramentoSismico, pagNuovaCostruzione, - pagNuoveCostruzioni, - pagRiparazioneInterventoLocale, pagVarianti, - importoSpeseIstruttoria, - pagMiglioramentoSismicoSicilia, - pagCalcolatoAdeguamentoSismico, - pagCalcolatoMiglioramentoSismico, - pagCalcolatoRiparazioneInterventoLocale, - pagCalcolatoOperaNonQuantificabile, - pagEffettivoAdeguamentoSismico, - pagEffettivoMiglioramentoSismico, - pagEffettivoRiparazioneInterventoLocale, - pagEffettivoOperaNonQuantificabile, pagNoteUtente, - codiceFiscaleCommittente, url, serviceContext); + DettPraticaServiceUtil.pagaInvia(dettPraticaId, pagAdeguamentoSismico, pagAltro, + pagMiglioramentoSismico, pagNuovaCostruzione, pagNuoveCostruzioni, + pagRiparazioneInterventoLocale, pagVarianti, importoSpeseIstruttoria, + pagMiglioramentoSismicoSicilia, pagCalcolatoAdeguamentoSismico, + pagCalcolatoMiglioramentoSismico, pagCalcolatoRiparazioneInterventoLocale, + pagCalcolatoOperaNonQuantificabile, pagEffettivoAdeguamentoSismico, + pagEffettivoMiglioramentoSismico, pagEffettivoRiparazioneInterventoLocale, + pagEffettivoOperaNonQuantificabile, pagNoteUtente, codiceFiscaleCommittente, url, + serviceContext); } else { _log.error("pagaInvia - Riscontrato errore di congruenza pagamenti per dettPraticaId = " + dettPraticaId); - throw new PortalException( - "Compilare sezione Spese Istruttoria"); + throw new PortalException("Compilare sezione Spese Istruttoria"); } } else { - throw new PortalException( - "You have not permission to create the payment for dettPratica " - + dettPraticaId); + throw new PortalException("You have not permission to create the payment for dettPratica " + + dettPraticaId); } } else if (Validator.isNotNull(fineLavoriId)) { // FineLavori fineLavori = // FineLavoriServiceUtil.getFineLavori(fineLavoriId); - if (ValidazionePraticaUtil - .pagamentoFineLavoriIsEnable(fineLavoriId) + if (ValidazionePraticaUtil.pagamentoFineLavoriIsEnable(fineLavoriId) // && fineLavori.getUserId() == serviceContext.getUserId() ) { - _log.debug("pagamento inizializzato per fineLavori" - + fineLavoriId); - FineLavoriServiceUtil.pagaInvia(fineLavoriId, - codiceFiscaleCommittente, url, serviceContext); + _log.debug("pagamento inizializzato per fineLavori" + fineLavoriId); + FineLavoriServiceUtil.pagaInvia(fineLavoriId, codiceFiscaleCommittente, url, serviceContext); } else { - throw new PortalException( - "You have not permission to create the payment for Fine Lavori " - + fineLavoriId); + throw new PortalException("You have not permission to create the payment for Fine Lavori " + + fineLavoriId); } } else if (Validator.isNotNull(collaudoId)) { @@ -3303,12 +2575,10 @@ public class FascicoloFePortlet extends MVCPortlet { if (ValidazionePraticaUtil.pagamentoCollaudoIsEnable(collaudoId) // && collaudo.getUserId() == serviceContext.getUserId() ) { - CollaudoServiceUtil.pagaInvia(collaudoId, - codiceFiscaleCommittente, url, serviceContext); + CollaudoServiceUtil.pagaInvia(collaudoId, codiceFiscaleCommittente, url, serviceContext); } else { - throw new PortalException( - "You have not permission to create the payment for Collaudo " - + collaudoId); + throw new PortalException("You have not permission to create the payment for Collaudo " + + collaudoId); } } else { @@ -3316,17 +2586,14 @@ public class FascicoloFePortlet extends MVCPortlet { } } - public void sostituisciPagamento(ActionRequest actionRequest, - ActionResponse actionResponse) throws PortalException, - SystemException { + public void sostituisciPagamento(ActionRequest actionRequest, ActionResponse actionResponse) + throws PortalException, SystemException { try { - ServiceContext serviceContext = ServiceContextFactory - .getInstance(actionRequest); + ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest); long pagamentoId = ParamUtil.getLong(actionRequest, "pagamentoId"); String mezzo = ParamUtil.getString(actionRequest, "mezzo"); - String codiceFiscaleCommittente = ParamUtil.getString( - actionRequest, "codiceFiscaleCommittente"); + String codiceFiscaleCommittente = ParamUtil.getString(actionRequest, "codiceFiscaleCommittente"); String url = ParamUtil.getString(actionRequest, "url"); // Pagamento pagamento = // PagamentoLocalServiceUtil.getPagamento(pagamentoId); @@ -3353,8 +2620,8 @@ public class FascicoloFePortlet extends MVCPortlet { // + " with id " + pagamento.getClassPk()); // } - PagamentoServiceUtil.sostituisciPagamento(pagamentoId, - codiceFiscaleCommittente, mezzo, url, serviceContext); + PagamentoServiceUtil.sostituisciPagamento(pagamentoId, codiceFiscaleCommittente, mezzo, url, + serviceContext); } catch (Exception e) { PortalUtil.copyRequestParameters(actionRequest, actionResponse); @@ -3363,57 +2630,46 @@ public class FascicoloFePortlet extends MVCPortlet { } } - public void invioMailDelega(ActionRequest actionRequest, - ActionResponse actionResponse) throws PortalException, - SystemException { + public void invioMailDelega(ActionRequest actionRequest, ActionResponse actionResponse) + throws PortalException, SystemException { // long intPraticaId = 0l; try { - ServiceContext serviceContext = ServiceContextFactory - .getInstance(actionRequest); + ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest); long delegaId = ParamUtil.getLong(actionRequest, "delegaId"); Delega delega = DelegaLocalServiceUtil.getDelega(delegaId); - List soggetti = SoggettoLocalServiceUtil - .getValidTmpByIntPratica_CodiceFiscale( - delega.getIntPraticaId(), - delega.getCodiceFiscale(), 0l); + List soggetti = SoggettoLocalServiceUtil.getValidTmpByIntPratica_CodiceFiscale( + delega.getIntPraticaId(), delega.getCodiceFiscale(), 0l); Soggetto soggetto = soggetti.get(0); String roles = StringPool.BLANK; for (Soggetto role : soggetti) { - roles += LanguageUtil.get(LocaleUtil.ITALIAN, "gc-soggetto-" - + role.getTipologiaSoggetto()) + roles += LanguageUtil.get(LocaleUtil.ITALIAN, "gc-soggetto-" + role.getTipologiaSoggetto()) + " "; } - IntPratica intPratica = IntPraticaLocalServiceUtil - .getIntPratica(delega.getIntPraticaId()); + IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(delega.getIntPraticaId()); // intPraticaId = intPratica.getIntPraticaId(); String[] to = { soggetto.getEmail() }; String[] cc = new String[0]; String[] ccn = new String[0]; - String url = FascicoloURLUtil.getFascicoloFEViewURL( - intPratica.getCompanyId(), intPratica.getIntPraticaId(), - "/html/fascicolofe/edit_fascicolo.jsp", StringPool.BLANK); + String url = FascicoloURLUtil.getFascicoloFEViewURL(intPratica.getCompanyId(), + intPratica.getIntPraticaId(), "/html/fascicolofe/edit_fascicolo.jsp", StringPool.BLANK); - JSONObject templateVariablesExtra = JSONFactoryUtil - .createJSONObject(); - templateVariablesExtra.put("receiver", - soggetto.getDescrizioneCompleta()); + JSONObject templateVariablesExtra = JSONFactoryUtil.createJSONObject(); + templateVariablesExtra.put("receiver", soggetto.getDescrizioneCompleta()); templateVariablesExtra.put("roles", roles); - templateVariablesExtra.put("delega", LanguageUtil.get( - LocaleUtil.ITALIAN, - "label-deleghe-tipologia-" + delega.getTipologia())); + templateVariablesExtra.put("delega", + LanguageUtil.get(LocaleUtil.ITALIAN, "label-deleghe-tipologia-" + delega.getTipologia())); templateVariablesExtra.put("link", url); - MailUtil.invioMailNotifica(delega.getIntPraticaId(), - delega.getDettPraticaId(), delegaId, - Delega.class.getName(), to, cc, ccn, "INVIO-DELEGA", - templateVariablesExtra, null, serviceContext); + MailUtil.invioMailNotifica(delega.getIntPraticaId(), delega.getDettPraticaId(), delegaId, + Delega.class.getName(), to, cc, ccn, "INVIO-DELEGA", templateVariablesExtra, null, + serviceContext); } catch (Exception e) { _log.error(e, e); @@ -3421,69 +2677,54 @@ public class FascicoloFePortlet extends MVCPortlet { } } - public void salvaStampaPratica(ActionRequest actionRequest, - ActionResponse actionResponse) throws PortalException, - SystemException { + public void salvaStampaPratica(ActionRequest actionRequest, ActionResponse actionResponse) + throws PortalException, SystemException { long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId"); - IntPratica intPratica = IntPraticaLocalServiceUtil - .getIntPratica(intPraticaId); - ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest - .getAttribute(WebKeys.THEME_DISPLAY); - ServiceContext serviceContext = ServiceContextFactory - .getInstance(actionRequest); - long fileEntryId = IntPraticaLocalServiceUtil.generateReportPratica( - intPratica, serviceContext.getUserId()); + IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId); + ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); + ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest); + long fileEntryId = IntPraticaLocalServiceUtil.generateReportPratica(intPratica, + serviceContext.getUserId()); FileEntry fileEntry = DLAppLocalServiceUtil.getFileEntry(fileEntryId); try { - actionResponse - .sendRedirect(DLUtil.getPreviewURL(fileEntry, - fileEntry.getFileVersion(), themeDisplay, - "&download=true")); + actionResponse.sendRedirect(DLUtil.getPreviewURL(fileEntry, fileEntry.getFileVersion(), + themeDisplay, "&download=true")); } catch (IOException e) { SessionErrors.add(actionRequest, "error-download-pdf-domanda"); PortalUtil.copyRequestParameters(actionRequest, actionResponse); } } - public void invioMailAsseverazione(ActionRequest actionRequest, - ActionResponse actionResponse) throws PortalException, - SystemException { + public void invioMailAsseverazione(ActionRequest actionRequest, ActionResponse actionResponse) + throws PortalException, SystemException { try { - ServiceContext serviceContext = ServiceContextFactory - .getInstance(actionRequest); + ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest); - long asseverazioneId = ParamUtil.getLong(actionRequest, - "asseverazioneId"); - Asseverazione asseverazione = AsseverazioneLocalServiceUtil - .getAsseverazione(asseverazioneId); + long asseverazioneId = ParamUtil.getLong(actionRequest, "asseverazioneId"); + Asseverazione asseverazione = AsseverazioneLocalServiceUtil.getAsseverazione(asseverazioneId); - Soggetto soggetto = SoggettoLocalServiceUtil - .getValidTmpByIntPratica_CodiceFiscale( - asseverazione.getIntPraticaId(), - asseverazione.getCodiceFiscale(), 0l).get(0); + Soggetto soggetto = SoggettoLocalServiceUtil.getValidTmpByIntPratica_CodiceFiscale( + asseverazione.getIntPraticaId(), asseverazione.getCodiceFiscale(), 0l).get(0); - IntPratica intPratica = IntPraticaLocalServiceUtil - .getIntPratica(asseverazione.getIntPraticaId()); + IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(asseverazione.getIntPraticaId()); _log.debug("Sending asseverazione mai to " + soggetto.getEmail()); String[] to = { soggetto.getEmail() }; String[] cc = new String[0]; String[] ccn = new String[0]; - String url = FascicoloURLUtil.getFascicoloFEViewURL( - intPratica.getCompanyId(), intPratica.getIntPraticaId(), - "/html/fascicolofe/edit_fascicolo.jsp", StringPool.BLANK); - - JSONObject templateVariablesExtra = JSONFactoryUtil - .createJSONObject(); - templateVariablesExtra.put("receiver", - soggetto.getDescrizioneCompleta()); - templateVariablesExtra.put("role", LanguageUtil.get( - LocaleUtil.ITALIAN, "label-asseverazione-tipologia-" - + asseverazione.getTipologia())); + String url = FascicoloURLUtil.getFascicoloFEViewURL(intPratica.getCompanyId(), + intPratica.getIntPraticaId(), "/html/fascicolofe/edit_fascicolo.jsp", StringPool.BLANK); + + JSONObject templateVariablesExtra = JSONFactoryUtil.createJSONObject(); + templateVariablesExtra.put("receiver", soggetto.getDescrizioneCompleta()); + templateVariablesExtra.put( + "role", + LanguageUtil.get(LocaleUtil.ITALIAN, + "label-asseverazione-tipologia-" + asseverazione.getTipologia())); templateVariablesExtra.put("link", url); List allegati = new ArrayList(); @@ -3493,9 +2734,8 @@ public class FascicoloFePortlet extends MVCPortlet { // UserLocalServiceUtil.fetchUserByScreenName(intPratica.getCompanyId(), // asseverazione.getCodiceFiscale()); // if (Validator.isNotNull(asseverazioneUser)) { - asseverazione = AsseverazioneLocalServiceUtil - .generateReportAsseverazione(asseverazione, - serviceContext.getUserId()); + asseverazione = AsseverazioneLocalServiceUtil.generateReportAsseverazione(asseverazione, + serviceContext.getUserId()); // } } @@ -3507,11 +2747,9 @@ public class FascicoloFePortlet extends MVCPortlet { allegati.add(fileAttachment); // } - MailUtil.invioMailNotifica(asseverazione.getIntPraticaId(), - asseverazione.getDettPraticaId(), asseverazioneId, - Asseverazione.class.getName(), to, cc, ccn, - "INVIO-RICHIESTA-ASSEVERAZIONE", templateVariablesExtra, - allegati, serviceContext); + MailUtil.invioMailNotifica(asseverazione.getIntPraticaId(), asseverazione.getDettPraticaId(), + asseverazioneId, Asseverazione.class.getName(), to, cc, ccn, + "INVIO-RICHIESTA-ASSEVERAZIONE", templateVariablesExtra, allegati, serviceContext); } catch (Exception e) { _log.error("Error", e); @@ -3519,35 +2757,27 @@ public class FascicoloFePortlet extends MVCPortlet { } } - public void allegatoFilePagamento(ActionRequest actionRequest, - ActionResponse actionResponse) throws PortalException, - SystemException { + public void allegatoFilePagamento(ActionRequest actionRequest, ActionResponse actionResponse) + throws PortalException, SystemException { try { - UploadPortletRequest uploadRequest = PortalUtil - .getUploadPortletRequest(actionRequest); - ServiceContext serviceContext = ServiceContextFactory - .getInstance(uploadRequest); + UploadPortletRequest uploadRequest = PortalUtil.getUploadPortletRequest(actionRequest); + ServiceContext serviceContext = ServiceContextFactory.getInstance(uploadRequest); long pagamentoId = ParamUtil.getLong(uploadRequest, "pagamentoId"); String sourceFileName = uploadRequest.getFileName("docFile"); File file = uploadRequest.getFile("docFile"); if (Validator.isNotNull(sourceFileName) && file != null) { // validazione: solo alcune estensioni String ext = FileUtil.getExtension(sourceFileName); - if (!ext.equalsIgnoreCase("p7m") - && !ext.equalsIgnoreCase("pdf")) { - SessionErrors.add(actionRequest, - "error.geniocivilefe.pagamento.allegato.ext.valid"); + if (!ext.equalsIgnoreCase("p7m") && !ext.equalsIgnoreCase("pdf")) { + SessionErrors.add(actionRequest, "error.geniocivilefe.pagamento.allegato.ext.valid"); } // lunghezza fissata a 200 if (sourceFileName.length() > 200) { - SessionErrors - .add(actionRequest, - "error.geniocivilefe.pagamento.allegato.length.valid"); + SessionErrors.add(actionRequest, "error.geniocivilefe.pagamento.allegato.length.valid"); } } else { - SessionErrors.add(actionRequest, - "error.geniocivilefe.pagamento.allegato.is.request"); + SessionErrors.add(actionRequest, "error.geniocivilefe.pagamento.allegato.is.request"); } if (!SessionErrors.isEmpty(actionRequest)) { @@ -3558,8 +2788,8 @@ public class FascicoloFePortlet extends MVCPortlet { // pagamento.getDettPraticaId(), // content, // sourceFileName, serviceContext); - PagamentoServiceUtil.updatePagamentoManuale(pagamentoId, - content, sourceFileName, serviceContext); + PagamentoServiceUtil.updatePagamentoManuale(pagamentoId, content, sourceFileName, + serviceContext); } } catch (Exception e) { @@ -3569,118 +2799,93 @@ public class FascicoloFePortlet extends MVCPortlet { } } - public void completeDomandaEsente(ActionRequest actionRequest, - ActionResponse actionResponse) throws IOException, PortalException, - SystemException { + public void completeDomandaEsente(ActionRequest actionRequest, ActionResponse actionResponse) + throws IOException, PortalException, SystemException { long dettPraticaId = ParamUtil.getLong(actionRequest, "dettPraticaId"); long fineLavoriId = ParamUtil.getLong(actionRequest, "fineLavoriId"); long collaudoId = ParamUtil.getLong(actionRequest, "collaudoId"); if (Validator.isNotNull(dettPraticaId)) { - DettPraticaServiceUtil.updateEsito(dettPraticaId, - WorkflowConstants.STATUS_APPROVED); + DettPraticaServiceUtil.updateEsito(dettPraticaId, WorkflowConstants.STATUS_APPROVED); } else if (Validator.isNotNull(fineLavoriId)) { - FineLavoriServiceUtil.updateEsito(fineLavoriId, - WorkflowConstants.STATUS_APPROVED); + FineLavoriServiceUtil.updateEsito(fineLavoriId, WorkflowConstants.STATUS_APPROVED); } else if (Validator.isNotNull(collaudoId)) { - CollaudoServiceUtil.updateEsito(collaudoId, - WorkflowConstants.STATUS_APPROVED); + CollaudoServiceUtil.updateEsito(collaudoId, WorkflowConstants.STATUS_APPROVED); } else { - SessionErrors.add(actionRequest, - "completamento-integrazione-non-possibile"); + SessionErrors.add(actionRequest, "completamento-integrazione-non-possibile"); } } - public void completeIntegrazione(ActionRequest actionRequest, - ActionResponse actionResponse) throws IOException, PortalException, - SystemException { + public void completeIntegrazione(ActionRequest actionRequest, ActionResponse actionResponse) + throws IOException, PortalException, SystemException { long dettPraticaId = ParamUtil.getLong(actionRequest, "dettPraticaId"); if (Validator.isNotNull(dettPraticaId)) { - DettPraticaServiceUtil.updateEsitoIntegrazione(dettPraticaId, - WorkflowConstants.STATUS_APPROVED); + DettPraticaServiceUtil.updateEsitoIntegrazione(dettPraticaId, WorkflowConstants.STATUS_APPROVED); } else { - SessionErrors.add(actionRequest, - "completamento-integrazione-non-possibile"); + SessionErrors.add(actionRequest, "completamento-integrazione-non-possibile"); } } - public void completeCambioSoggetti(ActionRequest actionRequest, - ActionResponse actionResponse) throws IOException, PortalException, - SystemException { + public void completeCambioSoggetti(ActionRequest actionRequest, ActionResponse actionResponse) + throws IOException, PortalException, SystemException { long dettPraticaId = ParamUtil.getLong(actionRequest, "dettPraticaId"); if (Validator.isNotNull(dettPraticaId)) { - DettPraticaServiceUtil.updateEsito(dettPraticaId, - WorkflowConstants.STATUS_APPROVED); + DettPraticaServiceUtil.updateEsito(dettPraticaId, WorkflowConstants.STATUS_APPROVED); } else { - SessionErrors.add(actionRequest, - "completamento-cambio-soggetti-non-possibile"); + SessionErrors.add(actionRequest, "completamento-cambio-soggetti-non-possibile"); } } - public void completeAnnullamento(ActionRequest actionRequest, - ActionResponse actionResponse) throws PortalException, - SystemException { + public void completeAnnullamento(ActionRequest actionRequest, ActionResponse actionResponse) + throws PortalException, SystemException { - ServiceContext serviceContext = ServiceContextFactory - .getInstance(actionRequest); + ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest); long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId"); long userId = serviceContext.getUserId(); - boolean confimCheck = ParamUtil.getBoolean(actionRequest, - "confirmCheck"); + boolean confimCheck = ParamUtil.getBoolean(actionRequest, "confirmCheck"); if (confimCheck) { if (Validator.isNotNull(intPraticaId)) { - IntPraticaServiceUtil - .completeAnnullamento(intPraticaId, userId); + IntPraticaServiceUtil.completeAnnullamento(intPraticaId, userId); } else { - SessionErrors.add(actionRequest, - "completamento-annullamento-fascicolo-non-possibile"); + SessionErrors.add(actionRequest, "completamento-annullamento-fascicolo-non-possibile"); PortalUtil.copyRequestParameters(actionRequest, actionResponse); } } else { - SessionErrors.add(actionRequest, - "annullamento-fascicolo-not-checked"); + SessionErrors.add(actionRequest, "annullamento-fascicolo-not-checked"); PortalUtil.copyRequestParameters(actionRequest, actionResponse); } } - public void cloneFascicolo(ActionRequest actionRequest, - ActionResponse actionResponse) { + public void cloneFascicolo(ActionRequest actionRequest, ActionResponse actionResponse) { try { - ServiceContext serviceContext = ServiceContextFactory - .getInstance(actionRequest); - long intPraticaId = ParamUtil - .getLong(actionRequest, "intPraticaId"); - IntPraticaLocalServiceUtil.cloneIntPratica(intPraticaId, - serviceContext); + ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest); + long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId"); + IntPraticaLocalServiceUtil.cloneIntPratica(intPraticaId, serviceContext); } catch (Exception e) { SessionErrors.add(actionRequest, "clone-fascicolo-not-possible"); } } - public void rigeneraPagamento(ActionRequest actionRequest, - ActionResponse actionResponse) throws PortalException, - SystemException, InterruptedException { + public void rigeneraPagamento(ActionRequest actionRequest, ActionResponse actionResponse) + throws PortalException, SystemException, InterruptedException { _log.info("Entro"); - ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest - .getAttribute(WebKeys.THEME_DISPLAY); - ServiceContext serviceContext = ServiceContextFactory - .getInstance(actionRequest); + ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); + ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest); serviceContext.setCompanyId(themeDisplay.getCompanyId()); - HttpServletRequest request = PortalUtil - .getHttpServletRequest(actionRequest); + HttpServletRequest request = PortalUtil.getHttpServletRequest(actionRequest); String url = PortalUtil.getCurrentCompleteURL(request); @@ -3690,12 +2895,10 @@ public class FascicoloFePortlet extends MVCPortlet { PagamentoLocalServiceUtil.annullaPagamento(pagamentoId); Thread.sleep(2000); - Pagamento pagamento = PagamentoLocalServiceUtil - .fetchPagamento(pagamentoId); + Pagamento pagamento = PagamentoLocalServiceUtil.fetchPagamento(pagamentoId); if (Validator.isNotNull(pagamento)) { PagamentoLocalServiceUtil.sostituisciPagamento(pagamentoId, - pagamento.getCodiceFiscaleCommittente(), - pagamento.getMezzo(), url, serviceContext); + pagamento.getCodiceFiscaleCommittente(), pagamento.getMezzo(), url, serviceContext); } } diff --git a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/fe/util/ReportFascicoloUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/fe/util/ReportFascicoloUtil.java index dd161bb2..59fbb7f0 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/fe/util/ReportFascicoloUtil.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/fe/util/ReportFascicoloUtil.java @@ -60,288 +60,330 @@ import com.liferay.portal.service.CompanyLocalServiceUtil; public class ReportFascicoloUtil { - public static Map generateParametersReportFascicolo(long intPraticaId, Locale locale, long companyId) throws PortalException, SystemException{ + public static Map generateParametersReportFascicolo(long intPraticaId, Locale locale, + long companyId) throws PortalException, SystemException { Map parameters = new HashMap(); IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId); - if(intPratica != null){ - - - //Intestazione + if (intPratica != null) { + // Intestazione parameters.put("TITOLO_PRATICA", getTitlePratica(intPraticaId)); Territorio territorio = TerritorioLocalServiceUtil.getTerritorio(intPratica.getTerritorioId()); Comune comune = ComuneLocalServiceUtil.getComune(territorio.getComuneId()); - Provincia provincia = ProvinciaLocalServiceUtil.fetchByC_C(companyId, comune.getCodiceProvincia()); + Provincia provincia = ProvinciaLocalServiceUtil + .fetchByC_C(companyId, comune.getCodiceProvincia()); parameters.put("SEDE_GENIO_CIVILE", provincia.getProvincia()); - //Dettagli principali + // Dettagli principali List listaDettagliPrincipali = new ArrayList(); - //ADT:BUG ID = 3 - //DettPratica lastDettPratica = - // DettPraticaLocalServiceUtil.getLastCompletedByIntPratica(intPratica.getIntPraticaId()); - DettPratica lastDettPratica = - DettPraticaLocalServiceUtil.getFirstCompletedByIntPratica(intPratica.getIntPraticaId()); - - if(lastDettPratica != null){ - - parameters.put("DESCRIZIONE_INTERVENTO", "Descrizione Intervento: " + BeanPropertiesUtil.getString(lastDettPratica, "descLongIntervento")); - - //ADT: BUD ID=3 - String protocollo=lastDettPratica.getProtocollo(); - Date dataProtocollo=lastDettPratica.getDtProtocollo(); - Avviso avviso=AvvisoLocalServiceUtil.getAvvisoVidimazione(intPraticaId, lastDettPratica.getDettPraticaId()); - if (avviso!=null){ - protocollo=avviso.getProtocollo()!=null?avviso.getProtocollo():protocollo; - dataProtocollo=avviso.getDtProtocollo()!=null?avviso.getDtProtocollo():dataProtocollo; - } - //ADT BUG ID = 3 - parameters.put("PROTOCOLLO", finalizzaProtocollazione( companyId,protocollo , dataProtocollo)); - if(AzioniPraticheUtil.isDeposito(intPratica.getIntPraticaId())){ - - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "normDpr01Dep")){ - ReportFascicoloBean bean = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "dp-sensi") + " " + LanguageUtil.get(locale, "norm-dpr01-dep")); + // ADT:BUG ID = 3 + // DettPratica lastDettPratica = + // DettPraticaLocalServiceUtil.getLastCompletedByIntPratica(intPratica.getIntPraticaId()); + DettPratica lastDettPratica = DettPraticaLocalServiceUtil + .getFirstCompletedByIntPratica(intPratica.getIntPraticaId()); + + if (lastDettPratica != null) { + + parameters.put( + "DESCRIZIONE_INTERVENTO", + "Descrizione Intervento: " + + BeanPropertiesUtil.getString(lastDettPratica, "descLongIntervento")); + + // ADT: BUD ID=3 + String protocollo = lastDettPratica.getProtocollo(); + Date dataProtocollo = lastDettPratica.getDtProtocollo(); + Avviso avviso = AvvisoLocalServiceUtil.getAvvisoVidimazione(intPraticaId, + lastDettPratica.getDettPraticaId()); + if (avviso != null) { + protocollo = avviso.getProtocollo() != null ? avviso.getProtocollo() : protocollo; + dataProtocollo = avviso.getDtProtocollo() != null ? avviso.getDtProtocollo() + : dataProtocollo; + } + // ADT BUG ID = 3 + parameters.put("PROTOCOLLO", finalizzaProtocollazione(companyId, protocollo, dataProtocollo)); + if (AzioniPraticheUtil.isDeposito(intPratica.getIntPraticaId())) { + + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "normDpr01Dep")) { + ReportFascicoloBean bean = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "dp-sensi") + " " + + LanguageUtil.get(locale, "norm-dpr01-dep")); listaDettagliPrincipali.add(bean); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "normDpr02Dep")){ - ReportFascicoloBean bean = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "dp-sensi") + " " + LanguageUtil.get(locale, "norm-dpr02-dep")); + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "normDpr02Dep")) { + ReportFascicoloBean bean = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "dp-sensi") + " " + + LanguageUtil.get(locale, "norm-dpr02-dep")); listaDettagliPrincipali.add(bean); } - } else if(AzioniPraticheUtil.isAutorizzazione(intPratica.getIntPraticaId())){ + } else if (AzioniPraticheUtil.isAutorizzazione(intPratica.getIntPraticaId())) { - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "normDpr01Aut")){ - ReportFascicoloBean bean = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "dp-sensi") + " " + LanguageUtil.get(locale, "norm-dpr01-aut")); + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "normDpr01Aut")) { + ReportFascicoloBean bean = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "dp-sensi") + " " + + LanguageUtil.get(locale, "norm-dpr01-aut")); listaDettagliPrincipali.add(bean); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "normDpr02Aut")){ - ReportFascicoloBean bean = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "dp-sensi") + " " + LanguageUtil.get(locale, "norm-dpr02-aut")); + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "normDpr02Aut")) { + ReportFascicoloBean bean = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "dp-sensi") + " " + + LanguageUtil.get(locale, "norm-dpr02-aut")); listaDettagliPrincipali.add(bean); } } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "normDm2018")){ - ReportFascicoloBean bean = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "dp-rispetto") + " " + LanguageUtil.get(locale, "norm-dm2018")); + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "normDm2018")) { + ReportFascicoloBean bean = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "dp-rispetto") + " " + + LanguageUtil.get(locale, "norm-dm2018")); listaDettagliPrincipali.add(bean); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "normDm01")){ - ReportFascicoloBean bean = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "dp-rispetto") + " " + LanguageUtil.get(locale, "norm-dm01")); + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "normDm01")) { + ReportFascicoloBean bean = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "dp-rispetto") + " " + + LanguageUtil.get(locale, "norm-dm01")); listaDettagliPrincipali.add(bean); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "normDm02")){ - ReportFascicoloBean bean = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "dp-rispetto") + " " + LanguageUtil.get(locale, "norm-dm02")); + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "normDm02")) { + ReportFascicoloBean bean = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "dp-rispetto") + " " + + LanguageUtil.get(locale, "norm-dm02")); listaDettagliPrincipali.add(bean); } - - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "normDm03")){ - ReportFascicoloBean bean = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "dp-normativa") + " " + LanguageUtil.get(locale, "norm-dm03")); + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "normDm03")) { + ReportFascicoloBean bean = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "dp-normativa") + " " + + LanguageUtil.get(locale, "norm-dm03")); listaDettagliPrincipali.add(bean); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "normDprg01")){ - ReportFascicoloBean bean = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "dp-normativa") + " " + LanguageUtil.get(locale, "norm-dprg01")); + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "normDprg01")) { + ReportFascicoloBean bean = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "dp-normativa") + " " + + LanguageUtil.get(locale, "norm-dprg01")); listaDettagliPrincipali.add(bean); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "normDprg02")){ - ReportFascicoloBean bean = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "dp-normativa") + " " + LanguageUtil.get(locale, "norm-dprg02")); + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "normDprg02")) { + ReportFascicoloBean bean = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "dp-normativa") + " " + + LanguageUtil.get(locale, "norm-dprg02")); listaDettagliPrincipali.add(bean); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "normAnr")){ - ReportFascicoloBean bean = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "dp-normativa") + " " + LanguageUtil.get(locale, "norm-anr")); + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "normAnr")) { + ReportFascicoloBean bean = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "dp-normativa") + " " + + LanguageUtil.get(locale, "norm-anr")); listaDettagliPrincipali.add(bean); } - - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "normLavoriInProprio")){ - ReportFascicoloBean bean = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "norm-lavori-in-proprio")); + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "normLavoriInProprio")) { + ReportFascicoloBean bean = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "norm-lavori-in-proprio")); listaDettagliPrincipali.add(bean); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "lavoriPubblici")){ - ReportFascicoloBean bean = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "lavori-pubblici")); + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "lavoriPubblici")) { + ReportFascicoloBean bean = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "lavori-pubblici")); listaDettagliPrincipali.add(bean); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "normEsenteBollo")){ - ReportFascicoloBean bean = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "norm-esente-bollo")); + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "normEsenteBollo")) { + ReportFascicoloBean bean = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "norm-esente-bollo")); listaDettagliPrincipali.add(bean); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "normEsenteSpese")){ - ReportFascicoloBean bean = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "norm-esente-bollo")); + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "normEsenteSpese")) { + ReportFascicoloBean bean = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "norm-esente-bollo")); listaDettagliPrincipali.add(bean); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "collaudoStatico")){ - ReportFascicoloBean bean = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "collaudo-statico")); + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "collaudoStatico")) { + ReportFascicoloBean bean = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "collaudo-statico")); listaDettagliPrincipali.add(bean); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "normArt3com3")){ - ReportFascicoloBean bean = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "norm-art3com3")); + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "normArt3com3")) { + ReportFascicoloBean bean = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "norm-art3com3")); listaDettagliPrincipali.add(bean); - ReportFascicoloBean bean1 = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "norm-art3com3_1")); + ReportFascicoloBean bean1 = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "norm-art3com3_1")); listaDettagliPrincipali.add(bean1); - ReportFascicoloBean bean2 = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "norm-art3com3_2")); + ReportFascicoloBean bean2 = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "norm-art3com3_2")); listaDettagliPrincipali.add(bean2); - ReportFascicoloBean bean3 = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "norm-art3com3_3")); + ReportFascicoloBean bean3 = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "norm-art3com3_3")); listaDettagliPrincipali.add(bean3); - ReportFascicoloBean bean4 = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "norm-art3com3_4")); + ReportFascicoloBean bean4 = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "norm-art3com3_4")); listaDettagliPrincipali.add(bean4); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "normArt3com4")){ - ReportFascicoloBean bean = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "norm-art3com4")); + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "normArt3com4")) { + ReportFascicoloBean bean = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "norm-art3com4")); listaDettagliPrincipali.add(bean); } parameters.put("VALUES_PRATICA_PRINCIPALE", listaDettagliPrincipali); - - //Dettagli indirizzo + // Dettagli indirizzo List listaIndirizzo = new ArrayList(); - - ReportFascicoloBean beanProvincia = new ReportFascicoloBean("- Provincia: " + provincia.getProvincia()); + ReportFascicoloBean beanProvincia = new ReportFascicoloBean("- Provincia: " + + provincia.getProvincia()); listaIndirizzo.add(beanProvincia); - ReportFascicoloBean beanComune = new ReportFascicoloBean("- Comune: " + comune.getDenominazione()); + ReportFascicoloBean beanComune = new ReportFascicoloBean("- Comune: " + + comune.getDenominazione()); listaIndirizzo.add(beanComune); - if(!BeanPropertiesUtil.getString(lastDettPratica, "localita").equals("")){ - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Località: " + BeanPropertiesUtil.getString(lastDettPratica, "localita")); + if (!BeanPropertiesUtil.getString(lastDettPratica, "localita").equals("")) { + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Località: " + + BeanPropertiesUtil.getString(lastDettPratica, "localita")); listaIndirizzo.add(bean1); } - if(!BeanPropertiesUtil.getString(lastDettPratica, "via").equals("")){ - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Indirizzo: " + BeanPropertiesUtil.getString(lastDettPratica, "via")); + if (!BeanPropertiesUtil.getString(lastDettPratica, "via").equals("")) { + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Indirizzo: " + + BeanPropertiesUtil.getString(lastDettPratica, "via")); listaIndirizzo.add(bean1); } - if(!BeanPropertiesUtil.getString(lastDettPratica, "dcFoglio").equals("")){ - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Foglio: " + BeanPropertiesUtil.getString(lastDettPratica, "dcFoglio")); + if (!BeanPropertiesUtil.getString(lastDettPratica, "dcFoglio").equals("")) { + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Foglio: " + + BeanPropertiesUtil.getString(lastDettPratica, "dcFoglio")); listaIndirizzo.add(bean1); } - if(!BeanPropertiesUtil.getString(lastDettPratica, "dcParticelle").equals("")){ - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Particelle: " + BeanPropertiesUtil.getString(lastDettPratica, "dcParticelle")); + if (!BeanPropertiesUtil.getString(lastDettPratica, "dcParticelle").equals("")) { + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Particelle: " + + BeanPropertiesUtil.getString(lastDettPratica, "dcParticelle")); listaIndirizzo.add(bean1); } - if(!BeanPropertiesUtil.getString(lastDettPratica, "dcAllegato").equals("")){ - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Allegato: " + BeanPropertiesUtil.getString(lastDettPratica, "dcAllegato")); + if (!BeanPropertiesUtil.getString(lastDettPratica, "dcAllegato").equals("")) { + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Allegato: " + + BeanPropertiesUtil.getString(lastDettPratica, "dcAllegato")); listaIndirizzo.add(bean1); } - if(!BeanPropertiesUtil.getString(lastDettPratica, "estremiCatastali").equals("")){ - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Estremi prat. catastale: " + BeanPropertiesUtil.getString(lastDettPratica, "estremiCatastali")); + if (!BeanPropertiesUtil.getString(lastDettPratica, "estremiCatastali").equals("")) { + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Estremi prat. catastale: " + + BeanPropertiesUtil.getString(lastDettPratica, "estremiCatastali")); listaIndirizzo.add(bean1); } parameters.put("VALUES_PRATICA_INDIRIZZO", listaIndirizzo); - //VALORE SISMICO - String valoreSismico1 = "Zona Sismica: " + StringPool.TAB + StringPool.TAB + - BeanPropertiesUtil.getString(territorio, "zona") + StringPool.TAB + StringPool.TAB + "Fascia Pericolosità: " + StringPool.TAB + - StringPool.TAB + BeanPropertiesUtil.getString(territorio, "fascia"); + // VALORE SISMICO + String valoreSismico1 = "Zona Sismica: " + StringPool.TAB + StringPool.TAB + + BeanPropertiesUtil.getString(territorio, "zona") + StringPool.TAB + StringPool.TAB + + "Fascia Pericolosità: " + StringPool.TAB + StringPool.TAB + + BeanPropertiesUtil.getString(territorio, "fascia"); parameters.put("VALORE_SISMICO_1", valoreSismico1); - String valoreSismico2 = "Range Ag: " + StringPool.TAB + StringPool.TAB + - (Validator.isNotNull(territorio.getAgMin()) ? territorio.getAgMin() : "")+" - "+ - (Validator.isNotNull(territorio.getAgMax()) ? territorio.getAgMax() : "") + StringPool.TAB + StringPool.TAB + "Valore di Ag: " + - StringPool.TAB + StringPool.TAB + BeanPropertiesUtil.getString(lastDettPratica, "ag"); + String valoreSismico2 = "Range Ag: " + StringPool.TAB + StringPool.TAB + + (Validator.isNotNull(territorio.getAgMin()) ? territorio.getAgMin() : "") + " - " + + (Validator.isNotNull(territorio.getAgMax()) ? territorio.getAgMax() : "") + + StringPool.TAB + StringPool.TAB + "Valore di Ag: " + StringPool.TAB + + StringPool.TAB + BeanPropertiesUtil.getString(lastDettPratica, "ag"); parameters.put("VALORE_SISMICO_2", valoreSismico2); - - //TIPOLOGIA INTERVENTO + // TIPOLOGIA INTERVENTO StringBuilder sbTipInt = new StringBuilder(); - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "tcNuovaCostruzione")){ + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "tcNuovaCostruzione")) { sbTipInt.append(LanguageUtil.get(locale, "tc-nuova-costruzione")); } - boolean checked = - BeanPropertiesUtil.getBoolean(lastDettPratica, "tcAdeguamentoSismico") || - BeanPropertiesUtil.getBoolean(lastDettPratica, "tcMiglioramentoSismico") || - BeanPropertiesUtil.getBoolean(lastDettPratica, "tcRiparazioneInterventoLocale"); + boolean checked = BeanPropertiesUtil.getBoolean(lastDettPratica, "tcAdeguamentoSismico") + || BeanPropertiesUtil.getBoolean(lastDettPratica, "tcMiglioramentoSismico") + || BeanPropertiesUtil.getBoolean(lastDettPratica, "tcRiparazioneInterventoLocale"); - if(checked){ - if(sbTipInt.length() > 0){ + if (checked) { + if (sbTipInt.length() > 0) { sbTipInt.append(StringPool.TAB + StringPool.TAB); } sbTipInt.append(LanguageUtil.get(locale, "tc-interventi-esistenti")); - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "tcAdeguamentoSismico")){ + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "tcAdeguamentoSismico")) { sbTipInt.append(LanguageUtil.get(locale, "tc-adeguamento-sismico")); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "tcMiglioramentoSismico")){ + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "tcMiglioramentoSismico")) { sbTipInt.append(LanguageUtil.get(locale, "tc-miglioramento-sismico")); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "tcRiparazioneInterventoLocale")){ + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "tcRiparazioneInterventoLocale")) { sbTipInt.append(LanguageUtil.get(locale, "tc-riparazione-intervento-locale")); } } parameters.put("TIPOLOGIA_INTERVENTO", sbTipInt.toString()); - //TIPOLOGIA COSTRUTTIVA + // TIPOLOGIA COSTRUTTIVA StringBuilder sbTipCos = new StringBuilder(); - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "tcInCA")){ + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "tcInCA")) { sbTipCos.append(LanguageUtil.get(locale, "tc-in-ca")); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "tcInOpera")){ - if(sbTipCos.length() > 0){ + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "tcInOpera")) { + if (sbTipCos.length() > 0) { sbTipCos.append(StringPool.TAB); } sbTipCos.append(LanguageUtil.get(locale, "tc-in-opera")); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "tcPrefabbricato")){ - if(sbTipCos.length() > 0){ + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "tcPrefabbricato")) { + if (sbTipCos.length() > 0) { sbTipCos.append(StringPool.TAB); } sbTipCos.append(LanguageUtil.get(locale, "tc-prefabbricato")); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "tcInAcciaio")){ - if(sbTipCos.length() > 0){ + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "tcInAcciaio")) { + if (sbTipCos.length() > 0) { sbTipCos.append(StringPool.TAB); } sbTipCos.append(LanguageUtil.get(locale, "tc-in-acciaio")); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "tcMista")){ - if(sbTipCos.length() > 0){ + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "tcMista")) { + if (sbTipCos.length() > 0) { sbTipCos.append(StringPool.TAB); } sbTipCos.append(LanguageUtil.get(locale, "tc-mista")); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "tcInMuratura")){ - if(sbTipCos.length() > 0){ + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "tcInMuratura")) { + if (sbTipCos.length() > 0) { sbTipCos.append(StringPool.TAB); } sbTipCos.append(LanguageUtil.get(locale, "tc-in-muratura")); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "tcInMuraturaOrdinaria")){ - if(sbTipCos.length() > 0){ + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "tcInMuraturaOrdinaria")) { + if (sbTipCos.length() > 0) { sbTipCos.append(StringPool.TAB); } sbTipCos.append(LanguageUtil.get(locale, "tc-in-muratura-ordinaria")); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "tcInMuraturaArmata")){ - if(sbTipCos.length() > 0){ + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "tcInMuraturaArmata")) { + if (sbTipCos.length() > 0) { sbTipCos.append(StringPool.TAB); } sbTipCos.append(LanguageUtil.get(locale, "tc-in-muratura-armata")); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "tcInMuraturaMista")){ - if(sbTipCos.length() > 0){ + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "tcInMuraturaMista")) { + if (sbTipCos.length() > 0) { sbTipCos.append(StringPool.TAB); } sbTipCos.append(LanguageUtil.get(locale, "tc-in-muratura-mista")); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "tcInLegno")){ - if(sbTipCos.length() > 0){ + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "tcInLegno")) { + if (sbTipCos.length() > 0) { sbTipCos.append(StringPool.TAB); } sbTipCos.append(LanguageUtil.get(locale, "tc-in-legno")); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "tcAltro")){ - if(sbTipCos.length() > 0){ + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "tcAltro")) { + if (sbTipCos.length() > 0) { sbTipCos.append(StringPool.TAB); } sbTipCos.append(LanguageUtil.get(locale, "tc-altro")); @@ -349,103 +391,131 @@ public class ReportFascicoloUtil { parameters.put("TIPOLOGIA_COSTRUTTIVA", sbTipCos.toString()); - - //Anagrafica Soggetti + // Anagrafica Soggetti List listaSoggetti = new ArrayList(); - //ADT:BUG ID=3 - //List committenti = - // SoggettoLocalServiceUtil.findByIntPratica_TipologiaSoggetto(intPraticaId, TipoSoggettoUtil.COMMITTENTE); - List committenti = - SoggettoLocalServiceUtil.findByDettPratica_TipologiaSoggetto(lastDettPratica.getDettPraticaId(), TipoSoggettoUtil.COMMITTENTE); + // ADT:BUG ID=3 + // List committenti = + // SoggettoLocalServiceUtil.findByIntPratica_TipologiaSoggetto(intPraticaId, + // TipoSoggettoUtil.COMMITTENTE); + List committenti = SoggettoLocalServiceUtil.findByDettPratica_TipologiaSoggetto( + lastDettPratica.getDettPraticaId(), TipoSoggettoUtil.COMMITTENTE); for (Soggetto soggetto : committenti) { - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Committente: " + soggetto.getNome() + " " + soggetto.getCognome()); + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Committente: " + + soggetto.getNome() + " " + soggetto.getCognome()); listaSoggetti.add(bean1); } - //ADT:BUG ID=3 - //List progettisti = - // SoggettoLocalServiceUtil.findByIntPratica_TipologiaSoggetto(intPraticaId, TipoSoggettoUtil.PROGETTISTA); - List progettisti = - SoggettoLocalServiceUtil.findByDettPratica_TipologiaSoggetto(lastDettPratica.getDettPraticaId(), TipoSoggettoUtil.PROGETTISTA); + // ADT:BUG ID=3 + // List progettisti = + // SoggettoLocalServiceUtil.findByIntPratica_TipologiaSoggetto(intPraticaId, + // TipoSoggettoUtil.PROGETTISTA); + List progettisti = SoggettoLocalServiceUtil.findByDettPratica_TipologiaSoggetto( + lastDettPratica.getDettPraticaId(), TipoSoggettoUtil.PROGETTISTA); for (Soggetto soggetto : progettisti) { - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Progettista: " + soggetto.getNome() + " " + soggetto.getCognome() + " - albo " + soggetto.getAlbo() + " di " + soggetto.getProvinciaAlbo() + " (iscr. num. " + soggetto.getNumIscrAlbo()+ ")" + " - ambito: " + soggetto.getAmbitoProfessione()); + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Progettista: " + + soggetto.getNome() + " " + soggetto.getCognome() + " - albo " + + soggetto.getAlbo() + " di " + soggetto.getProvinciaAlbo() + " (iscr. num. " + + soggetto.getNumIscrAlbo() + ")" + " - ambito: " + + soggetto.getAmbitoProfessione()); listaSoggetti.add(bean1); } - //ADT:BUG ID=3 - //List dirLavori = - // SoggettoLocalServiceUtil.findByIntPratica_TipologiaSoggetto(intPraticaId, TipoSoggettoUtil.DIRETTORE_LAVORI); - List dirLavori = - SoggettoLocalServiceUtil.findByDettPratica_TipologiaSoggetto(lastDettPratica.getDettPraticaId(), TipoSoggettoUtil.DIRETTORE_LAVORI); + // ADT:BUG ID=3 + // List dirLavori = + // SoggettoLocalServiceUtil.findByIntPratica_TipologiaSoggetto(intPraticaId, + // TipoSoggettoUtil.DIRETTORE_LAVORI); + List dirLavori = SoggettoLocalServiceUtil.findByDettPratica_TipologiaSoggetto( + lastDettPratica.getDettPraticaId(), TipoSoggettoUtil.DIRETTORE_LAVORI); for (Soggetto soggetto : dirLavori) { - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Direttore Lavori: " + soggetto.getNome() + " " + soggetto.getCognome() + " - albo " + soggetto.getAlbo() + " di " + soggetto.getProvinciaAlbo() + " (iscr. num. " + soggetto.getNumIscrAlbo()+ ")" + " - ambito: " + soggetto.getAmbitoProfessione()); + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Direttore Lavori: " + + soggetto.getNome() + " " + soggetto.getCognome() + " - albo " + + soggetto.getAlbo() + " di " + soggetto.getProvinciaAlbo() + " (iscr. num. " + + soggetto.getNumIscrAlbo() + ")" + " - ambito: " + + soggetto.getAmbitoProfessione()); listaSoggetti.add(bean1); } - //ADT:BUG ID=3 - //List ditta = - // SoggettoLocalServiceUtil.findByIntPratica_TipologiaSoggetto(intPraticaId, TipoSoggettoUtil.DITTA); - List ditta = - SoggettoLocalServiceUtil.findByDettPratica_TipologiaSoggetto(lastDettPratica.getDettPraticaId(), TipoSoggettoUtil.DITTA); + // ADT:BUG ID=3 + // List ditta = + // SoggettoLocalServiceUtil.findByIntPratica_TipologiaSoggetto(intPraticaId, + // TipoSoggettoUtil.DITTA); + List ditta = SoggettoLocalServiceUtil.findByDettPratica_TipologiaSoggetto( + lastDettPratica.getDettPraticaId(), TipoSoggettoUtil.DITTA); for (Soggetto soggetto : ditta) { - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Ditta: " + soggetto.getDenominazione()); + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Ditta: " + + soggetto.getDenominazione()); listaSoggetti.add(bean1); } - //ADT:BUG ID=3 - //List gelologi = - // SoggettoLocalServiceUtil.findByIntPratica_TipologiaSoggetto(intPraticaId, TipoSoggettoUtil.GEOLOGO); - List gelologi = - SoggettoLocalServiceUtil.findByDettPratica_TipologiaSoggetto(lastDettPratica.getDettPraticaId(), TipoSoggettoUtil.GEOLOGO); + // ADT:BUG ID=3 + // List gelologi = + // SoggettoLocalServiceUtil.findByIntPratica_TipologiaSoggetto(intPraticaId, + // TipoSoggettoUtil.GEOLOGO); + List gelologi = SoggettoLocalServiceUtil.findByDettPratica_TipologiaSoggetto( + lastDettPratica.getDettPraticaId(), TipoSoggettoUtil.GEOLOGO); for (Soggetto soggetto : gelologi) { - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Geologo: " + soggetto.getNome() + " " + soggetto.getCognome() + " - albo " + soggetto.getAlbo() + " di " + soggetto.getProvinciaAlbo() + " (iscr. num. " + soggetto.getNumIscrAlbo()+ ")" + " - ambito: " + soggetto.getAmbitoProfessione()); + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Geologo: " + soggetto.getNome() + + " " + soggetto.getCognome() + " - albo " + soggetto.getAlbo() + " di " + + soggetto.getProvinciaAlbo() + " (iscr. num. " + soggetto.getNumIscrAlbo() + ")" + + " - ambito: " + soggetto.getAmbitoProfessione()); listaSoggetti.add(bean1); } - //ADT:BUG ID=3 - //List collaudo = - // SoggettoLocalServiceUtil.findByIntPratica_TipologiaSoggetto(intPraticaId, TipoSoggettoUtil.COLLAUDATORE); - List collaudo = - SoggettoLocalServiceUtil.findByDettPratica_TipologiaSoggetto(lastDettPratica.getDettPraticaId(), TipoSoggettoUtil.COLLAUDATORE); + // ADT:BUG ID=3 + // List collaudo = + // SoggettoLocalServiceUtil.findByIntPratica_TipologiaSoggetto(intPraticaId, + // TipoSoggettoUtil.COLLAUDATORE); + List collaudo = SoggettoLocalServiceUtil.findByDettPratica_TipologiaSoggetto( + lastDettPratica.getDettPraticaId(), TipoSoggettoUtil.COLLAUDATORE); for (Soggetto soggetto : collaudo) { - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Collaudatore: " + soggetto.getNome() + " " + soggetto.getCognome() + " - albo " + soggetto.getAlbo() + " di " + soggetto.getProvinciaAlbo() + " (iscr. num. " + soggetto.getNumIscrAlbo()+ ")" + " - ambito: " + soggetto.getAmbitoProfessione()); + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Collaudatore: " + + soggetto.getNome() + " " + soggetto.getCognome() + " - albo " + + soggetto.getAlbo() + " di " + soggetto.getProvinciaAlbo() + " (iscr. num. " + + soggetto.getNumIscrAlbo() + ")" + " - ambito: " + + soggetto.getAmbitoProfessione()); listaSoggetti.add(bean1); } parameters.put("ANAGRAFICA_SOGGETTI", listaSoggetti); - - //ALLEGATI GEOLOGI + // ALLEGATI GEOLOGI List tipologiaAllegati = DocumentiPraticaUtil.getDocGeologo(); List listaAllegatiGeo = new ArrayList(); for (String stringa : tipologiaAllegati) { - List docPraticas = DocPraticaLocalServiceUtil.findByIntPratica_ClassPk_Tipologia(intPraticaId,lastDettPratica.getDettPraticaId(), stringa,QueryUtil.ALL_POS,QueryUtil.ALL_POS); - if(docPraticas != null && !docPraticas.isEmpty()){ - ReportFascicoloBean bean1 = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "label-documenti-tipologia-" + stringa) + StringPool.TAB + " - num. documenti presentati: " + docPraticas.size()); + List docPraticas = DocPraticaLocalServiceUtil + .findByIntPratica_ClassPk_Tipologia(intPraticaId, + lastDettPratica.getDettPraticaId(), stringa, QueryUtil.ALL_POS, + QueryUtil.ALL_POS); + if (docPraticas != null && !docPraticas.isEmpty()) { + ReportFascicoloBean bean1 = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "label-documenti-tipologia-" + stringa) + + StringPool.TAB + " - num. documenti presentati: " + docPraticas.size()); listaAllegatiGeo.add(bean1); } } parameters.put("ALLEGATI_GEOLOGICI", listaAllegatiGeo); - //ALLEGATI DOMANDA + // ALLEGATI DOMANDA List tipologiaAllegatiDomanda = DocumentiPraticaUtil.getDocDomanda(); - if(Validator.isNotNull(intPratica.getOldIntPraticaId())){ - tipologiaAllegatiDomanda.addAll(DocumentiPraticaUtil.getDocDomandaPortos1()); - } List listaAllegatiDomanda = new ArrayList(); for (String stringa : tipologiaAllegatiDomanda) { - List docPraticas = DocPraticaLocalServiceUtil.findByIntPratica_ClassPk_Tipologia(intPraticaId,lastDettPratica.getDettPraticaId(), stringa,QueryUtil.ALL_POS,QueryUtil.ALL_POS); - if(docPraticas != null && !docPraticas.isEmpty()){ - ReportFascicoloBean bean1 = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "label-documenti-tipologia-" + stringa) + StringPool.TAB + " - num. documenti presentati: " + docPraticas.size()); + List docPraticas = DocPraticaLocalServiceUtil + .findByIntPratica_ClassPk_Tipologia(intPraticaId, + lastDettPratica.getDettPraticaId(), stringa, QueryUtil.ALL_POS, + QueryUtil.ALL_POS); + if (docPraticas != null && !docPraticas.isEmpty()) { + ReportFascicoloBean bean1 = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "label-documenti-tipologia-" + stringa) + + StringPool.TAB + " - num. documenti presentati: " + docPraticas.size()); listaAllegatiDomanda.add(bean1); } } @@ -453,23 +523,26 @@ public class ReportFascicoloUtil { parameters.put("ALLEGATI_DOMANDA", listaAllegatiDomanda); } - - //PAGAMENTI + // PAGAMENTI List listaPagamenti = new ArrayList(); - Pagamento pagamentoOneri = PagamentoLocalServiceUtil.fetchPagamento(lastDettPratica.getPagamentoIdOneri()); - if(pagamentoOneri != null){ - if(pagamentoOneri.getUtilizzata().equalsIgnoreCase(PagamentoConstants.UTILIZZATA_PAGATA)){ - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Spese Istruttoria importo totale pagato: " + pagamentoOneri.getImportoString()); + Pagamento pagamentoOneri = PagamentoLocalServiceUtil.fetchPagamento(lastDettPratica + .getPagamentoIdOneri()); + if (pagamentoOneri != null) { + if (pagamentoOneri.getUtilizzata().equalsIgnoreCase(PagamentoConstants.UTILIZZATA_PAGATA)) { + ReportFascicoloBean bean1 = new ReportFascicoloBean( + "- Spese Istruttoria importo totale pagato: " + pagamentoOneri.getImportoString()); listaPagamenti.add(bean1); } } - Pagamento pagamentoBolli = PagamentoLocalServiceUtil.fetchPagamento(lastDettPratica.getPagamentoIdBolli()); - if(pagamentoBolli != null){ - if(pagamentoBolli.getUtilizzata().equalsIgnoreCase(PagamentoConstants.UTILIZZATA_PAGATA)){ - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Bolli importo totale pagato: " + pagamentoBolli.getImportoString()); + Pagamento pagamentoBolli = PagamentoLocalServiceUtil.fetchPagamento(lastDettPratica + .getPagamentoIdBolli()); + if (pagamentoBolli != null) { + if (pagamentoBolli.getUtilizzata().equalsIgnoreCase(PagamentoConstants.UTILIZZATA_PAGATA)) { + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Bolli importo totale pagato: " + + pagamentoBolli.getImportoString()); listaPagamenti.add(bean1); } } @@ -481,284 +554,325 @@ public class ReportFascicoloUtil { return parameters; } - public static Map generateParametersReportFascicoloVariante(long intPraticaId, long dettPraticaId, Locale locale, long companyId) throws PortalException, SystemException{ + public static Map generateParametersReportFascicoloVariante(long intPraticaId, + long dettPraticaId, Locale locale, long companyId) throws PortalException, SystemException { Map parameters = new HashMap(); IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId); - if(intPratica != null){ + if (intPratica != null) { - DettPratica lastDettPratica = - DettPraticaLocalServiceUtil.fetchDettPratica(dettPraticaId); - //Intestazione + DettPratica lastDettPratica = DettPraticaLocalServiceUtil.fetchDettPratica(dettPraticaId); + // Intestazione - parameters.put("TITOLO_PRATICA", getTitlePratica(intPraticaId) + " - Variante n." + (lastDettPratica.getVarianteNumero())); + parameters.put("TITOLO_PRATICA", getTitlePratica(intPraticaId) + " - Variante n." + + (lastDettPratica.getVarianteNumero())); Territorio territorio = TerritorioLocalServiceUtil.getTerritorio(intPratica.getTerritorioId()); Comune comune = ComuneLocalServiceUtil.getComune(territorio.getComuneId()); - Provincia provincia = ProvinciaLocalServiceUtil.fetchByC_C(companyId, comune.getCodiceProvincia()); + Provincia provincia = ProvinciaLocalServiceUtil + .fetchByC_C(companyId, comune.getCodiceProvincia()); parameters.put("SEDE_GENIO_CIVILE", provincia.getProvincia()); - //Dettagli principali + // Dettagli principali List listaDettagliPrincipali = new ArrayList(); - - - if(lastDettPratica != null){ - - parameters.put("DESCRIZIONE_INTERVENTO", "Descrizione Intervento: " + BeanPropertiesUtil.getString(lastDettPratica, "descLongIntervento")); - //stampa varianti ---- ADT: BUD ID=3 - String protocollo=lastDettPratica.getProtocollo(); - Date dataProtocollo=lastDettPratica.getDtProtocollo(); - Avviso avviso=AvvisoLocalServiceUtil.getAvvisoVidimazione(intPraticaId, lastDettPratica.getDettPraticaId()); - if (avviso!=null){ - protocollo=avviso.getProtocollo()!=null?avviso.getProtocollo():protocollo; - dataProtocollo=avviso.getDtProtocollo()!=null?avviso.getDtProtocollo():dataProtocollo; - } - //ADT BUG ID = 3 - parameters.put("PROTOCOLLO", finalizzaProtocollazione( companyId,protocollo , dataProtocollo)); - - - if(AzioniPraticheUtil.isDeposito(intPratica.getIntPraticaId())){ - - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "normDpr01Dep")){ - ReportFascicoloBean bean = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "dp-sensi") + " " + LanguageUtil.get(locale, "norm-dpr01-dep")); + if (lastDettPratica != null) { + + parameters.put( + "DESCRIZIONE_INTERVENTO", + "Descrizione Intervento: " + + BeanPropertiesUtil.getString(lastDettPratica, "descLongIntervento")); + // stampa varianti ---- ADT: BUD ID=3 + String protocollo = lastDettPratica.getProtocollo(); + Date dataProtocollo = lastDettPratica.getDtProtocollo(); + Avviso avviso = AvvisoLocalServiceUtil.getAvvisoVidimazione(intPraticaId, + lastDettPratica.getDettPraticaId()); + if (avviso != null) { + protocollo = avviso.getProtocollo() != null ? avviso.getProtocollo() : protocollo; + dataProtocollo = avviso.getDtProtocollo() != null ? avviso.getDtProtocollo() + : dataProtocollo; + } + // ADT BUG ID = 3 + parameters.put("PROTOCOLLO", finalizzaProtocollazione(companyId, protocollo, dataProtocollo)); + + if (AzioniPraticheUtil.isDeposito(intPratica.getIntPraticaId())) { + + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "normDpr01Dep")) { + ReportFascicoloBean bean = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "dp-sensi") + " " + + LanguageUtil.get(locale, "norm-dpr01-dep")); listaDettagliPrincipali.add(bean); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "normDpr02Dep")){ - ReportFascicoloBean bean = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "dp-sensi") + " " + LanguageUtil.get(locale, "norm-dpr02-dep")); + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "normDpr02Dep")) { + ReportFascicoloBean bean = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "dp-sensi") + " " + + LanguageUtil.get(locale, "norm-dpr02-dep")); listaDettagliPrincipali.add(bean); } - } else if(AzioniPraticheUtil.isAutorizzazione(intPratica.getIntPraticaId())){ + } else if (AzioniPraticheUtil.isAutorizzazione(intPratica.getIntPraticaId())) { - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "normDpr01Aut")){ - ReportFascicoloBean bean = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "dp-sensi") + " " + LanguageUtil.get(locale, "norm-dpr01-aut")); + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "normDpr01Aut")) { + ReportFascicoloBean bean = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "dp-sensi") + " " + + LanguageUtil.get(locale, "norm-dpr01-aut")); listaDettagliPrincipali.add(bean); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "normDpr02Aut")){ - ReportFascicoloBean bean = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "dp-sensi") + " " + LanguageUtil.get(locale, "norm-dpr02-aut")); + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "normDpr02Aut")) { + ReportFascicoloBean bean = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "dp-sensi") + " " + + LanguageUtil.get(locale, "norm-dpr02-aut")); listaDettagliPrincipali.add(bean); } } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "normDm2018")){ - ReportFascicoloBean bean = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "dp-rispetto") + " " + LanguageUtil.get(locale, "norm-dm2018")); + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "normDm2018")) { + ReportFascicoloBean bean = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "dp-rispetto") + " " + + LanguageUtil.get(locale, "norm-dm2018")); listaDettagliPrincipali.add(bean); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "normDm01")){ - ReportFascicoloBean bean = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "dp-rispetto") + " " + LanguageUtil.get(locale, "norm-dm01")); + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "normDm01")) { + ReportFascicoloBean bean = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "dp-rispetto") + " " + + LanguageUtil.get(locale, "norm-dm01")); listaDettagliPrincipali.add(bean); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "normDm02")){ - ReportFascicoloBean bean = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "dp-rispetto") + " " + LanguageUtil.get(locale, "norm-dm02")); + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "normDm02")) { + ReportFascicoloBean bean = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "dp-rispetto") + " " + + LanguageUtil.get(locale, "norm-dm02")); listaDettagliPrincipali.add(bean); } - - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "normDm03")){ - ReportFascicoloBean bean = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "dp-normativa") + " " + LanguageUtil.get(locale, "norm-dm03")); + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "normDm03")) { + ReportFascicoloBean bean = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "dp-normativa") + " " + + LanguageUtil.get(locale, "norm-dm03")); listaDettagliPrincipali.add(bean); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "normDprg01")){ - ReportFascicoloBean bean = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "dp-normativa") + " " + LanguageUtil.get(locale, "norm-dprg01")); + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "normDprg01")) { + ReportFascicoloBean bean = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "dp-normativa") + " " + + LanguageUtil.get(locale, "norm-dprg01")); listaDettagliPrincipali.add(bean); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "normDprg02")){ - ReportFascicoloBean bean = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "dp-normativa") + " " + LanguageUtil.get(locale, "norm-dprg02")); + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "normDprg02")) { + ReportFascicoloBean bean = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "dp-normativa") + " " + + LanguageUtil.get(locale, "norm-dprg02")); listaDettagliPrincipali.add(bean); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "normAnr")){ - ReportFascicoloBean bean = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "dp-normativa") + " " + LanguageUtil.get(locale, "norm-anr")); + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "normAnr")) { + ReportFascicoloBean bean = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "dp-normativa") + " " + + LanguageUtil.get(locale, "norm-anr")); listaDettagliPrincipali.add(bean); } - - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "normLavoriInProprio")){ - ReportFascicoloBean bean = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "norm-lavori-in-proprio")); + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "normLavoriInProprio")) { + ReportFascicoloBean bean = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "norm-lavori-in-proprio")); listaDettagliPrincipali.add(bean); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "lavoriPubblici")){ - ReportFascicoloBean bean = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "lavori-pubblici")); + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "lavoriPubblici")) { + ReportFascicoloBean bean = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "lavori-pubblici")); listaDettagliPrincipali.add(bean); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "normEsenteBollo")){ - ReportFascicoloBean bean = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "norm-esente-bollo")); + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "normEsenteBollo")) { + ReportFascicoloBean bean = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "norm-esente-bollo")); listaDettagliPrincipali.add(bean); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "normEsenteSpese")){ - ReportFascicoloBean bean = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "norm-esente-bollo")); + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "normEsenteSpese")) { + ReportFascicoloBean bean = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "norm-esente-bollo")); listaDettagliPrincipali.add(bean); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "collaudoStatico")){ - ReportFascicoloBean bean = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "collaudo-statico")); + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "collaudoStatico")) { + ReportFascicoloBean bean = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "collaudo-statico")); listaDettagliPrincipali.add(bean); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "normArt3com3")){ - ReportFascicoloBean bean = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "norm-art3com3")); + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "normArt3com3")) { + ReportFascicoloBean bean = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "norm-art3com3")); listaDettagliPrincipali.add(bean); - ReportFascicoloBean bean1 = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "norm-art3com3_1")); + ReportFascicoloBean bean1 = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "norm-art3com3_1")); listaDettagliPrincipali.add(bean1); - ReportFascicoloBean bean2 = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "norm-art3com3_2")); + ReportFascicoloBean bean2 = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "norm-art3com3_2")); listaDettagliPrincipali.add(bean2); - ReportFascicoloBean bean3 = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "norm-art3com3_3")); + ReportFascicoloBean bean3 = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "norm-art3com3_3")); listaDettagliPrincipali.add(bean3); - ReportFascicoloBean bean4 = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "norm-art3com3_4")); + ReportFascicoloBean bean4 = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "norm-art3com3_4")); listaDettagliPrincipali.add(bean4); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "normArt3com4")){ - ReportFascicoloBean bean = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "norm-art3com4")); + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "normArt3com4")) { + ReportFascicoloBean bean = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "norm-art3com4")); listaDettagliPrincipali.add(bean); } parameters.put("VALUES_PRATICA_PRINCIPALE", listaDettagliPrincipali); - - //Dettagli indirizzo + // Dettagli indirizzo List listaIndirizzo = new ArrayList(); - - ReportFascicoloBean beanProvincia = new ReportFascicoloBean("- Provincia: " + provincia.getProvincia()); + ReportFascicoloBean beanProvincia = new ReportFascicoloBean("- Provincia: " + + provincia.getProvincia()); listaIndirizzo.add(beanProvincia); - ReportFascicoloBean beanComune = new ReportFascicoloBean("- Comune: " + comune.getDenominazione()); + ReportFascicoloBean beanComune = new ReportFascicoloBean("- Comune: " + + comune.getDenominazione()); listaIndirizzo.add(beanComune); - if(!BeanPropertiesUtil.getString(lastDettPratica, "localita").equals("")){ - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Località: " + BeanPropertiesUtil.getString(lastDettPratica, "localita")); + if (!BeanPropertiesUtil.getString(lastDettPratica, "localita").equals("")) { + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Località: " + + BeanPropertiesUtil.getString(lastDettPratica, "localita")); listaIndirizzo.add(bean1); } - if(!BeanPropertiesUtil.getString(lastDettPratica, "via").equals("")){ - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Indirizzo: " + BeanPropertiesUtil.getString(lastDettPratica, "via")); + if (!BeanPropertiesUtil.getString(lastDettPratica, "via").equals("")) { + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Indirizzo: " + + BeanPropertiesUtil.getString(lastDettPratica, "via")); listaIndirizzo.add(bean1); } - if(!BeanPropertiesUtil.getString(lastDettPratica, "dcFoglio").equals("")){ - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Foglio: " + BeanPropertiesUtil.getString(lastDettPratica, "dcFoglio")); + if (!BeanPropertiesUtil.getString(lastDettPratica, "dcFoglio").equals("")) { + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Foglio: " + + BeanPropertiesUtil.getString(lastDettPratica, "dcFoglio")); listaIndirizzo.add(bean1); } - if(!BeanPropertiesUtil.getString(lastDettPratica, "dcParticelle").equals("")){ - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Particelle: " + BeanPropertiesUtil.getString(lastDettPratica, "dcParticelle")); + if (!BeanPropertiesUtil.getString(lastDettPratica, "dcParticelle").equals("")) { + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Particelle: " + + BeanPropertiesUtil.getString(lastDettPratica, "dcParticelle")); listaIndirizzo.add(bean1); } - if(!BeanPropertiesUtil.getString(lastDettPratica, "dcAllegato").equals("")){ - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Allegato: " + BeanPropertiesUtil.getString(lastDettPratica, "dcAllegato")); + if (!BeanPropertiesUtil.getString(lastDettPratica, "dcAllegato").equals("")) { + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Allegato: " + + BeanPropertiesUtil.getString(lastDettPratica, "dcAllegato")); listaIndirizzo.add(bean1); } - if(!BeanPropertiesUtil.getString(lastDettPratica, "estremiCatastali").equals("")){ - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Estremi prat. catastale: " + BeanPropertiesUtil.getString(lastDettPratica, "estremiCatastali")); + if (!BeanPropertiesUtil.getString(lastDettPratica, "estremiCatastali").equals("")) { + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Estremi prat. catastale: " + + BeanPropertiesUtil.getString(lastDettPratica, "estremiCatastali")); listaIndirizzo.add(bean1); } parameters.put("VALUES_PRATICA_INDIRIZZO", listaIndirizzo); - //VALORE SISMICO - String valoreSismico1 = "Zona Sismica: " + StringPool.TAB + StringPool.TAB + - BeanPropertiesUtil.getString(territorio, "zona") + StringPool.TAB + StringPool.TAB + "Fascia Pericolosità: " + StringPool.TAB + - StringPool.TAB + BeanPropertiesUtil.getString(territorio, "fascia"); + // VALORE SISMICO + String valoreSismico1 = "Zona Sismica: " + StringPool.TAB + StringPool.TAB + + BeanPropertiesUtil.getString(territorio, "zona") + StringPool.TAB + StringPool.TAB + + "Fascia Pericolosità: " + StringPool.TAB + StringPool.TAB + + BeanPropertiesUtil.getString(territorio, "fascia"); parameters.put("VALORE_SISMICO_1", valoreSismico1); - String valoreSismico2 = "Range Ag: " + StringPool.TAB + StringPool.TAB + - (Validator.isNotNull(territorio.getAgMin()) ? territorio.getAgMin() : "")+" - "+ - (Validator.isNotNull(territorio.getAgMax()) ? territorio.getAgMax() : "") + StringPool.TAB + StringPool.TAB + "Valore di Ag: " + - StringPool.TAB + StringPool.TAB + BeanPropertiesUtil.getString(lastDettPratica, "ag"); + String valoreSismico2 = "Range Ag: " + StringPool.TAB + StringPool.TAB + + (Validator.isNotNull(territorio.getAgMin()) ? territorio.getAgMin() : "") + " - " + + (Validator.isNotNull(territorio.getAgMax()) ? territorio.getAgMax() : "") + + StringPool.TAB + StringPool.TAB + "Valore di Ag: " + StringPool.TAB + + StringPool.TAB + BeanPropertiesUtil.getString(lastDettPratica, "ag"); parameters.put("VALORE_SISMICO_2", valoreSismico2); - - //TIPOLOGIA INTERVENTO + // TIPOLOGIA INTERVENTO StringBuilder sbTipInt = new StringBuilder(); - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "tcNuovaCostruzione")){ + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "tcNuovaCostruzione")) { sbTipInt.append(LanguageUtil.get(locale, "tc-nuova-costruzione")); } - boolean checked = - BeanPropertiesUtil.getBoolean(lastDettPratica, "tcAdeguamentoSismico") || - BeanPropertiesUtil.getBoolean(lastDettPratica, "tcMiglioramentoSismico") || - BeanPropertiesUtil.getBoolean(lastDettPratica, "tcRiparazioneInterventoLocale"); + boolean checked = BeanPropertiesUtil.getBoolean(lastDettPratica, "tcAdeguamentoSismico") + || BeanPropertiesUtil.getBoolean(lastDettPratica, "tcMiglioramentoSismico") + || BeanPropertiesUtil.getBoolean(lastDettPratica, "tcRiparazioneInterventoLocale"); - if(checked){ - if(sbTipInt.length() > 0){ + if (checked) { + if (sbTipInt.length() > 0) { sbTipInt.append(StringPool.TAB + StringPool.TAB); } sbTipInt.append(LanguageUtil.get(locale, "tc-interventi-esistenti")); - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "tcAdeguamentoSismico")){ + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "tcAdeguamentoSismico")) { sbTipInt.append(LanguageUtil.get(locale, "tc-adeguamento-sismico")); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "tcMiglioramentoSismico")){ + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "tcMiglioramentoSismico")) { sbTipInt.append(LanguageUtil.get(locale, "tc-miglioramento-sismico")); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "tcRiparazioneInterventoLocale")){ + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "tcRiparazioneInterventoLocale")) { sbTipInt.append(LanguageUtil.get(locale, "tc-riparazione-intervento-locale")); } } parameters.put("TIPOLOGIA_INTERVENTO", sbTipInt.toString()); - //TIPOLOGIA COSTRUTTIVA + // TIPOLOGIA COSTRUTTIVA StringBuilder sbTipCos = new StringBuilder(); - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "tcInCA")){ + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "tcInCA")) { sbTipCos.append(LanguageUtil.get(locale, "tc-in-ca")); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "tcInOpera")){ - if(sbTipCos.length() > 0){ + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "tcInOpera")) { + if (sbTipCos.length() > 0) { sbTipCos.append(StringPool.TAB); } sbTipCos.append(LanguageUtil.get(locale, "tc-in-opera")); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "tcPrefabbricato")){ - if(sbTipCos.length() > 0){ + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "tcPrefabbricato")) { + if (sbTipCos.length() > 0) { sbTipCos.append(StringPool.TAB); } sbTipCos.append(LanguageUtil.get(locale, "tc-prefabbricato")); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "tcInAcciaio")){ - if(sbTipCos.length() > 0){ + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "tcInAcciaio")) { + if (sbTipCos.length() > 0) { sbTipCos.append(StringPool.TAB); } sbTipCos.append(LanguageUtil.get(locale, "tc-in-acciaio")); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "tcMista")){ - if(sbTipCos.length() > 0){ + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "tcMista")) { + if (sbTipCos.length() > 0) { sbTipCos.append(StringPool.TAB); } sbTipCos.append(LanguageUtil.get(locale, "tc-mista")); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "tcInMuratura")){ - if(sbTipCos.length() > 0){ + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "tcInMuratura")) { + if (sbTipCos.length() > 0) { sbTipCos.append(StringPool.TAB); } sbTipCos.append(LanguageUtil.get(locale, "tc-in-muratura")); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "tcInMuraturaOrdinaria")){ - if(sbTipCos.length() > 0){ + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "tcInMuraturaOrdinaria")) { + if (sbTipCos.length() > 0) { sbTipCos.append(StringPool.TAB); } sbTipCos.append(LanguageUtil.get(locale, "tc-in-muratura-ordinaria")); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "tcInMuraturaArmata")){ - if(sbTipCos.length() > 0){ + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "tcInMuraturaArmata")) { + if (sbTipCos.length() > 0) { sbTipCos.append(StringPool.TAB); } sbTipCos.append(LanguageUtil.get(locale, "tc-in-muratura-armata")); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "tcInMuraturaMista")){ - if(sbTipCos.length() > 0){ + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "tcInMuraturaMista")) { + if (sbTipCos.length() > 0) { sbTipCos.append(StringPool.TAB); } sbTipCos.append(LanguageUtil.get(locale, "tc-in-muratura-mista")); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "tcInLegno")){ - if(sbTipCos.length() > 0){ + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "tcInLegno")) { + if (sbTipCos.length() > 0) { sbTipCos.append(StringPool.TAB); } sbTipCos.append(LanguageUtil.get(locale, "tc-in-legno")); } - if(BeanPropertiesUtil.getBoolean(lastDettPratica, "tcAltro")){ - if(sbTipCos.length() > 0){ + if (BeanPropertiesUtil.getBoolean(lastDettPratica, "tcAltro")) { + if (sbTipCos.length() > 0) { sbTipCos.append(StringPool.TAB); } sbTipCos.append(LanguageUtil.get(locale, "tc-altro")); @@ -766,84 +880,106 @@ public class ReportFascicoloUtil { parameters.put("TIPOLOGIA_COSTRUTTIVA", sbTipCos.toString()); - - //Anagrafica Soggetti + // Anagrafica Soggetti List listaSoggetti = new ArrayList(); - List committenti = - SoggettoLocalServiceUtil.findByIntPratica_TipologiaSoggetto(intPraticaId, TipoSoggettoUtil.COMMITTENTE); + List committenti = SoggettoLocalServiceUtil.findByIntPratica_TipologiaSoggetto( + intPraticaId, TipoSoggettoUtil.COMMITTENTE); for (Soggetto soggetto : committenti) { - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Committente: " + soggetto.getNome() + " " + soggetto.getCognome()); + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Committente: " + + soggetto.getNome() + " " + soggetto.getCognome()); listaSoggetti.add(bean1); } - List progettisti = - SoggettoLocalServiceUtil.findByIntPratica_TipologiaSoggetto(intPraticaId, TipoSoggettoUtil.PROGETTISTA); + List progettisti = SoggettoLocalServiceUtil.findByIntPratica_TipologiaSoggetto( + intPraticaId, TipoSoggettoUtil.PROGETTISTA); for (Soggetto soggetto : progettisti) { - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Progettista: " + soggetto.getNome() + " " + soggetto.getCognome() + " - albo " + soggetto.getAlbo() + " di " + soggetto.getProvinciaAlbo() + " (iscr. num. " + soggetto.getNumIscrAlbo()+ ")" + " - ambito: " + soggetto.getAmbitoProfessione()); + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Progettista: " + + soggetto.getNome() + " " + soggetto.getCognome() + " - albo " + + soggetto.getAlbo() + " di " + soggetto.getProvinciaAlbo() + " (iscr. num. " + + soggetto.getNumIscrAlbo() + ")" + " - ambito: " + + soggetto.getAmbitoProfessione()); listaSoggetti.add(bean1); } - List dirLavori = - SoggettoLocalServiceUtil.findByIntPratica_TipologiaSoggetto(intPraticaId, TipoSoggettoUtil.DIRETTORE_LAVORI); + List dirLavori = SoggettoLocalServiceUtil.findByIntPratica_TipologiaSoggetto( + intPraticaId, TipoSoggettoUtil.DIRETTORE_LAVORI); for (Soggetto soggetto : dirLavori) { - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Direttore Lavori: " + soggetto.getNome() + " " + soggetto.getCognome() + " - albo " + soggetto.getAlbo() + " di " + soggetto.getProvinciaAlbo() + " (iscr. num. " + soggetto.getNumIscrAlbo()+ ")" + " - ambito: " + soggetto.getAmbitoProfessione()); + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Direttore Lavori: " + + soggetto.getNome() + " " + soggetto.getCognome() + " - albo " + + soggetto.getAlbo() + " di " + soggetto.getProvinciaAlbo() + " (iscr. num. " + + soggetto.getNumIscrAlbo() + ")" + " - ambito: " + + soggetto.getAmbitoProfessione()); listaSoggetti.add(bean1); } - List ditta = - SoggettoLocalServiceUtil.findByIntPratica_TipologiaSoggetto(intPraticaId, TipoSoggettoUtil.DITTA); + List ditta = SoggettoLocalServiceUtil.findByIntPratica_TipologiaSoggetto( + intPraticaId, TipoSoggettoUtil.DITTA); for (Soggetto soggetto : ditta) { - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Ditta: " + soggetto.getDenominazione()); + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Ditta: " + + soggetto.getDenominazione()); listaSoggetti.add(bean1); } - List gelologi = - SoggettoLocalServiceUtil.findByIntPratica_TipologiaSoggetto(intPraticaId, TipoSoggettoUtil.GEOLOGO); + List gelologi = SoggettoLocalServiceUtil.findByIntPratica_TipologiaSoggetto( + intPraticaId, TipoSoggettoUtil.GEOLOGO); for (Soggetto soggetto : gelologi) { - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Geologo: " + soggetto.getNome() + " " + soggetto.getCognome() + " - albo " + soggetto.getAlbo() + " di " + soggetto.getProvinciaAlbo() + " (iscr. num. " + soggetto.getNumIscrAlbo()+ ")" + " - ambito: " + soggetto.getAmbitoProfessione()); + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Geologo: " + soggetto.getNome() + + " " + soggetto.getCognome() + " - albo " + soggetto.getAlbo() + " di " + + soggetto.getProvinciaAlbo() + " (iscr. num. " + soggetto.getNumIscrAlbo() + ")" + + " - ambito: " + soggetto.getAmbitoProfessione()); listaSoggetti.add(bean1); } - List collaudo = - SoggettoLocalServiceUtil.findByIntPratica_TipologiaSoggetto(intPraticaId, TipoSoggettoUtil.COLLAUDATORE); + List collaudo = SoggettoLocalServiceUtil.findByIntPratica_TipologiaSoggetto( + intPraticaId, TipoSoggettoUtil.COLLAUDATORE); for (Soggetto soggetto : collaudo) { - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Collaudatore: " + soggetto.getNome() + " " + soggetto.getCognome() + " - albo " + soggetto.getAlbo() + " di " + soggetto.getProvinciaAlbo() + " (iscr. num. " + soggetto.getNumIscrAlbo()+ ")" + " - ambito: " + soggetto.getAmbitoProfessione()); + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Collaudatore: " + + soggetto.getNome() + " " + soggetto.getCognome() + " - albo " + + soggetto.getAlbo() + " di " + soggetto.getProvinciaAlbo() + " (iscr. num. " + + soggetto.getNumIscrAlbo() + ")" + " - ambito: " + + soggetto.getAmbitoProfessione()); listaSoggetti.add(bean1); } parameters.put("ANAGRAFICA_SOGGETTI", listaSoggetti); - - //ALLEGATI GEOLOGI + // ALLEGATI GEOLOGI List tipologiaAllegati = DocumentiPraticaUtil.getDocGeologo(); List listaAllegatiGeo = new ArrayList(); for (String stringa : tipologiaAllegati) { - List docPraticas = DocPraticaLocalServiceUtil.findByIntPratica_ClassPk_Tipologia(intPraticaId,lastDettPratica.getDettPraticaId(), stringa,QueryUtil.ALL_POS,QueryUtil.ALL_POS); - if(docPraticas != null && !docPraticas.isEmpty()){ - ReportFascicoloBean bean1 = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "label-documenti-tipologia-" + stringa) + StringPool.TAB + " - num. documenti presentati: " + docPraticas.size()); + List docPraticas = DocPraticaLocalServiceUtil + .findByIntPratica_ClassPk_Tipologia(intPraticaId, + lastDettPratica.getDettPraticaId(), stringa, QueryUtil.ALL_POS, + QueryUtil.ALL_POS); + if (docPraticas != null && !docPraticas.isEmpty()) { + ReportFascicoloBean bean1 = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "label-documenti-tipologia-" + stringa) + + StringPool.TAB + " - num. documenti presentati: " + docPraticas.size()); listaAllegatiGeo.add(bean1); } } parameters.put("ALLEGATI_GEOLOGICI", listaAllegatiGeo); - //ALLEGATI DOMANDA + // ALLEGATI DOMANDA List tipologiaAllegatiDomanda = DocumentiPraticaUtil.getDocDomanda(); - if(Validator.isNotNull(intPratica.getOldIntPraticaId())){ - tipologiaAllegatiDomanda.addAll(DocumentiPraticaUtil.getDocDomandaPortos1()); - } List listaAllegatiDomanda = new ArrayList(); for (String stringa : tipologiaAllegatiDomanda) { - List docPraticas = DocPraticaLocalServiceUtil.findByIntPratica_ClassPk_Tipologia(intPraticaId,lastDettPratica.getDettPraticaId(), stringa,QueryUtil.ALL_POS,QueryUtil.ALL_POS); - if(docPraticas != null && !docPraticas.isEmpty()){ - ReportFascicoloBean bean1 = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "label-documenti-tipologia-" + stringa) + StringPool.TAB + " - num. documenti presentati: " + docPraticas.size()); + List docPraticas = DocPraticaLocalServiceUtil + .findByIntPratica_ClassPk_Tipologia(intPraticaId, + lastDettPratica.getDettPraticaId(), stringa, QueryUtil.ALL_POS, + QueryUtil.ALL_POS); + if (docPraticas != null && !docPraticas.isEmpty()) { + ReportFascicoloBean bean1 = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "label-documenti-tipologia-" + stringa) + + StringPool.TAB + " - num. documenti presentati: " + docPraticas.size()); listaAllegatiDomanda.add(bean1); } } @@ -851,23 +987,26 @@ public class ReportFascicoloUtil { parameters.put("ALLEGATI_DOMANDA", listaAllegatiDomanda); } - - //PAGAMENTI + // PAGAMENTI List listaPagamenti = new ArrayList(); - Pagamento pagamentoOneri = PagamentoLocalServiceUtil.fetchPagamento(lastDettPratica.getPagamentoIdOneri()); - if(pagamentoOneri != null){ - if(pagamentoOneri.getUtilizzata().equalsIgnoreCase(PagamentoConstants.UTILIZZATA_PAGATA)){ - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Spese Istruttoria importo totale pagato: " + pagamentoOneri.getImportoString()); + Pagamento pagamentoOneri = PagamentoLocalServiceUtil.fetchPagamento(lastDettPratica + .getPagamentoIdOneri()); + if (pagamentoOneri != null) { + if (pagamentoOneri.getUtilizzata().equalsIgnoreCase(PagamentoConstants.UTILIZZATA_PAGATA)) { + ReportFascicoloBean bean1 = new ReportFascicoloBean( + "- Spese Istruttoria importo totale pagato: " + pagamentoOneri.getImportoString()); listaPagamenti.add(bean1); } } - Pagamento pagamentoBolli = PagamentoLocalServiceUtil.fetchPagamento(lastDettPratica.getPagamentoIdBolli()); - if(pagamentoBolli != null){ - if(pagamentoBolli.getUtilizzata().equalsIgnoreCase(PagamentoConstants.UTILIZZATA_PAGATA)){ - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Bolli importo totale pagato: " + pagamentoBolli.getImportoString()); + Pagamento pagamentoBolli = PagamentoLocalServiceUtil.fetchPagamento(lastDettPratica + .getPagamentoIdBolli()); + if (pagamentoBolli != null) { + if (pagamentoBolli.getUtilizzata().equalsIgnoreCase(PagamentoConstants.UTILIZZATA_PAGATA)) { + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Bolli importo totale pagato: " + + pagamentoBolli.getImportoString()); listaPagamenti.add(bean1); } } @@ -879,136 +1018,155 @@ public class ReportFascicoloUtil { return parameters; } - public static Map generateParametersReportFascicoloFineLavori(long intPraticaId, long fineLavoriId, Locale locale, long companyId) throws PortalException, SystemException{ + public static Map generateParametersReportFascicoloFineLavori(long intPraticaId, + long fineLavoriId, Locale locale, long companyId) throws PortalException, SystemException { SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy"); Map parameters = new HashMap(); IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId); - if(intPratica != null){ + if (intPratica != null) { - //Intestazione + // Intestazione parameters.put("TITOLO_PRATICA", getTitlePratica(intPraticaId)); Territorio territorio = TerritorioLocalServiceUtil.getTerritorio(intPratica.getTerritorioId()); Comune comune = ComuneLocalServiceUtil.getComune(territorio.getComuneId()); - Provincia provincia = ProvinciaLocalServiceUtil.fetchByC_C(companyId, comune.getCodiceProvincia()); + Provincia provincia = ProvinciaLocalServiceUtil + .fetchByC_C(companyId, comune.getCodiceProvincia()); parameters.put("SEDE_GENIO_CIVILE", provincia.getProvincia()); - //ADT BUG FE ID = 8 - DettPratica lastDettPratica = - DettPraticaLocalServiceUtil.getLastCompletedByIntPratica(intPratica.getIntPraticaId()); - if(lastDettPratica == null){ - lastDettPratica = DettPraticaServiceUtil.getLastEditableByIntPratica(intPraticaId); + // ADT BUG FE ID = 8 + DettPratica lastDettPratica = DettPraticaLocalServiceUtil.getLastCompletedByIntPratica(intPratica + .getIntPraticaId()); + if (lastDettPratica == null) { + lastDettPratica = DettPraticaServiceUtil.getLastEditableByIntPratica(intPraticaId); } Soggetto direttore = null; - List direttori = SoggettoLocalServiceUtil.findByIntPratica_CodiceFiscale(intPraticaId, lastDettPratica.getCodiceFiscaleDelegatoFineLavori()); - if(!direttori.isEmpty()){ + List direttori = SoggettoLocalServiceUtil.findByIntPratica_CodiceFiscale(intPraticaId, + lastDettPratica.getCodiceFiscaleDelegatoFineLavori()); + if (!direttori.isEmpty()) { direttore = direttori.get(0); } - parameters.put("DICHIARAZIONE_FL_DL", MessageFormat.format(LanguageUtil.get(Locale.ITALIAN, "fl-dichiaraz-direttore"), direttore.getNome(), direttore.getCognome())); - + parameters.put("DICHIARAZIONE_FL_DL", MessageFormat.format( + LanguageUtil.get(Locale.ITALIAN, "fl-dichiaraz-direttore"), direttore.getNome(), + direttore.getCognome())); + FineLavori fineLavori = FineLavoriLocalServiceUtil.fetchFineLavori(fineLavoriId); - if(fineLavori != null){ + if (fineLavori != null) { - if(fineLavori.isParziale()){ + if (fineLavori.isParziale()) { parameters.put("TIPO_FINE_LAVORI", "Parziale"); } else { parameters.put("TIPO_FINE_LAVORI", "Totale"); } - //ADT BUG FE ID=8 - parameters.put("PROTOCOLLO", finalizzaProtocollazione( companyId,fineLavori.getProtocollo() , fineLavori.getDtProtocollo())); + // ADT BUG FE ID=8 + parameters.put( + "PROTOCOLLO", + finalizzaProtocollazione(companyId, fineLavori.getProtocollo(), + fineLavori.getDtProtocollo())); parameters.put("DICHIARAZIONE_DL", fineLavori.getComunicazioneDirettoreLavori()); parameters.put("DATA_INVIO_FINE_LAVORI", sdf.format(fineLavori.getDataEffettuazione())); parameters.put("DATA_FINE_LAVORI", sdf.format(fineLavori.getDataFineLavori())); } - if(lastDettPratica != null){ + if (lastDettPratica != null) { parameters.put("PROVINCIA", provincia.getProvincia()); parameters.put("COMUNE", comune.getDenominazione()); parameters.put("ZONA_SISMICA", BeanPropertiesUtil.getString(territorio, "zona")); - parameters.put("RANGE_AG", (Validator.isNotNull(territorio.getAgMin()) ? territorio.getAgMin() : "")+" - "+ - (Validator.isNotNull(territorio.getAgMax()) ? territorio.getAgMax() : "")); + parameters.put("RANGE_AG", + (Validator.isNotNull(territorio.getAgMin()) ? territorio.getAgMin() : "") + " - " + + (Validator.isNotNull(territorio.getAgMax()) ? territorio.getAgMax() : "")); parameters.put("FASCIA_PERICOLOSITA", BeanPropertiesUtil.getString(territorio, "fascia")); - parameters.put("DESCRIZIONE_INTERVENTO", BeanPropertiesUtil.getString(lastDettPratica, "descLongIntervento")); + parameters.put("DESCRIZIONE_INTERVENTO", + BeanPropertiesUtil.getString(lastDettPratica, "descLongIntervento")); - - //Dettagli indirizzo + // Dettagli indirizzo List listaIndirizzo = new ArrayList(); - - ReportFascicoloBean beanProvincia = new ReportFascicoloBean("- Provincia: " + provincia.getProvincia()); + ReportFascicoloBean beanProvincia = new ReportFascicoloBean("- Provincia: " + + provincia.getProvincia()); listaIndirizzo.add(beanProvincia); - ReportFascicoloBean beanComune = new ReportFascicoloBean("- Comune: " + comune.getDenominazione()); + ReportFascicoloBean beanComune = new ReportFascicoloBean("- Comune: " + + comune.getDenominazione()); listaIndirizzo.add(beanComune); - if(!BeanPropertiesUtil.getString(lastDettPratica, "localita").equals("")){ - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Località: " + BeanPropertiesUtil.getString(lastDettPratica, "localita")); + if (!BeanPropertiesUtil.getString(lastDettPratica, "localita").equals("")) { + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Località: " + + BeanPropertiesUtil.getString(lastDettPratica, "localita")); listaIndirizzo.add(bean1); } - if(!BeanPropertiesUtil.getString(lastDettPratica, "via").equals("")){ - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Indirizzo: " + BeanPropertiesUtil.getString(lastDettPratica, "via")); + if (!BeanPropertiesUtil.getString(lastDettPratica, "via").equals("")) { + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Indirizzo: " + + BeanPropertiesUtil.getString(lastDettPratica, "via")); listaIndirizzo.add(bean1); } - if(!BeanPropertiesUtil.getString(lastDettPratica, "dcFoglio").equals("")){ - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Foglio: " + BeanPropertiesUtil.getString(lastDettPratica, "dcFoglio")); + if (!BeanPropertiesUtil.getString(lastDettPratica, "dcFoglio").equals("")) { + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Foglio: " + + BeanPropertiesUtil.getString(lastDettPratica, "dcFoglio")); listaIndirizzo.add(bean1); } - if(!BeanPropertiesUtil.getString(lastDettPratica, "dcParticelle").equals("")){ - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Particelle: " + BeanPropertiesUtil.getString(lastDettPratica, "dcParticelle")); + if (!BeanPropertiesUtil.getString(lastDettPratica, "dcParticelle").equals("")) { + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Particelle: " + + BeanPropertiesUtil.getString(lastDettPratica, "dcParticelle")); listaIndirizzo.add(bean1); } - if(!BeanPropertiesUtil.getString(lastDettPratica, "dcAllegato").equals("")){ - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Allegato: " + BeanPropertiesUtil.getString(lastDettPratica, "dcAllegato")); + if (!BeanPropertiesUtil.getString(lastDettPratica, "dcAllegato").equals("")) { + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Allegato: " + + BeanPropertiesUtil.getString(lastDettPratica, "dcAllegato")); listaIndirizzo.add(bean1); } - if(!BeanPropertiesUtil.getString(lastDettPratica, "estremiCatastali").equals("")){ - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Estremi prat. catastale: " + BeanPropertiesUtil.getString(lastDettPratica, "estremiCatastali")); + if (!BeanPropertiesUtil.getString(lastDettPratica, "estremiCatastali").equals("")) { + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Estremi prat. catastale: " + + BeanPropertiesUtil.getString(lastDettPratica, "estremiCatastali")); listaIndirizzo.add(bean1); } parameters.put("VALUES_PRATICA_INDIRIZZO", listaIndirizzo); - Soggetto direttoreLavori = null; - List direttoriLavori = SoggettoLocalServiceUtil.findByIntPratica_CodiceFiscale(intPraticaId, lastDettPratica.getCodiceFiscaleDelegatoFineLavori()); - if(!direttoriLavori.isEmpty()){ + List direttoriLavori = SoggettoLocalServiceUtil.findByIntPratica_CodiceFiscale( + intPraticaId, lastDettPratica.getCodiceFiscaleDelegatoFineLavori()); + if (!direttoriLavori.isEmpty()) { direttoreLavori = direttoriLavori.get(0); } StringBuilder sbLavori = new StringBuilder(); - if(direttoreLavori != null){ - if(!direttoreLavori.getAlbo().equals("") && !direttoreLavori.getProvinciaAlbo().equals("")){ + if (direttoreLavori != null) { + if (!direttoreLavori.getAlbo().equals("") + && !direttoreLavori.getProvinciaAlbo().equals("")) { sbLavori.append(" - albo " + direttoreLavori.getAlbo()); - if(!direttoreLavori.getProvinciaAlbo().equals("")){ + if (!direttoreLavori.getProvinciaAlbo().equals("")) { sbLavori.append(" di " + direttoreLavori.getProvinciaAlbo()); } } - if(!direttoreLavori.getNumIscrAlbo().equals("")){ + if (!direttoreLavori.getNumIscrAlbo().equals("")) { sbLavori.append(" (iscr. num. " + direttoreLavori.getNumIscrAlbo() + ")"); } - if(!direttoreLavori.getAmbitoProfessione().equals("")){ + if (!direttoreLavori.getAmbitoProfessione().equals("")) { sbLavori.append(" - ambito: " + direttoreLavori.getAmbitoProfessione()); } } - parameters.put("DIRETTORE_LAVORI", direttoreLavori.getNome() + " " + direttoreLavori.getCognome() + sbLavori.toString()); + parameters.put("DIRETTORE_LAVORI", + direttoreLavori.getNome() + " " + direttoreLavori.getCognome() + sbLavori.toString()); StringBuilder sb = new StringBuilder(); - List committenti = SoggettoLocalServiceUtil.findByIntPratica_TipologiaSoggetto(intPraticaId, TipoSoggettoUtil.COMMITTENTE); - if(!committenti.isEmpty()){ + List committenti = SoggettoLocalServiceUtil.findByIntPratica_TipologiaSoggetto( + intPraticaId, TipoSoggettoUtil.COMMITTENTE); + if (!committenti.isEmpty()) { for (Soggetto soggetto : committenti) { - if(sb.length() > 0){ + if (sb.length() > 0) { sb.append(" , "); } sb.append(soggetto.getNome() + " " + soggetto.getCognome()); @@ -1017,17 +1175,26 @@ public class ReportFascicoloUtil { parameters.put("COMMITTENTE", sb.toString()); - parameters.put("TIPO_PRATICA", LanguageUtil.get(locale, "tipo-pratica-"+intPratica.getTipoPratica())); + parameters.put("TIPO_PRATICA", + LanguageUtil.get(locale, "tipo-pratica-" + intPratica.getTipoPratica())); - - List listasDett = DettPraticaLocalServiceUtil.findCompletedByIntPraticaAndTipoPratica( - intPraticaId, Arrays.asList(new String[]{TipoIntegrazioneUtil.VARIANTE, TipoIntegrazioneUtil.RICHIESTA_INTEGRAZIONE, TipoIntegrazioneUtil.VARIAZIONE_SOGGETTO})); + List listasDett = DettPraticaLocalServiceUtil + .findCompletedByIntPraticaAndTipoPratica( + intPraticaId, + Arrays.asList(new String[] { TipoIntegrazioneUtil.VARIANTE, + TipoIntegrazioneUtil.RICHIESTA_INTEGRAZIONE, + TipoIntegrazioneUtil.VARIAZIONE_SOGGETTO })); List listaDettBeans = new ArrayList(); - for(DettPratica dett : listasDett){ - if(dett.getDataEffettuazione() != null){ - ReportFascicoloBean bean1 = new ReportFascicoloBean("- " +sdf.format(dett.getDataEffettuazione()) + " " + LanguageUtil.get(locale, "label-integrazione-"+dett.getTipoIntegrazione())); + for (DettPratica dett : listasDett) { + if (dett.getDataEffettuazione() != null) { + ReportFascicoloBean bean1 = new ReportFascicoloBean( + "- " + + sdf.format(dett.getDataEffettuazione()) + + " " + + LanguageUtil.get(locale, + "label-integrazione-" + dett.getTipoIntegrazione())); listaDettBeans.add(bean1); } @@ -1035,33 +1202,35 @@ public class ReportFascicoloUtil { parameters.put("INTEGRAZIONI_VARIANTI", listaDettBeans); - - //ALLEGATI DOMANDA + // ALLEGATI DOMANDA List tipologiaAllegatiDomanda = DocumentiPraticaUtil.getDocFineLavori(); - if(Validator.isNotNull(intPratica.getOldIntPraticaId())){ - tipologiaAllegatiDomanda.addAll(DocumentiPraticaUtil.getDocFineLavoriPortos1()); - } - - parameters.put("FIRMA_DIRETTORE", MessageFormat.format(LanguageUtil.get(Locale.ITALIAN, "fl-firma-direttore"), direttoreLavori.getNome(), direttoreLavori.getCognome(), direttoreLavori.getCodiceFiscale())); + + parameters.put("FIRMA_DIRETTORE", MessageFormat.format( + LanguageUtil.get(Locale.ITALIAN, "fl-firma-direttore"), direttoreLavori.getNome(), + direttoreLavori.getCognome(), direttoreLavori.getCodiceFiscale())); List listaAllegatiDomanda = new ArrayList(); - //ADT BUG FE ID = 8 + // ADT BUG FE ID = 8 for (String stringa : tipologiaAllegatiDomanda) { - //ADT BUG FE ID = 13 - List docPraticas = DocPraticaLocalServiceUtil.findByIntPratica_ClassPk_TipologiaNew(intPraticaId,fineLavoriId, stringa,QueryUtil.ALL_POS,QueryUtil.ALL_POS); - if(docPraticas != null && !docPraticas.isEmpty()){ - ReportFascicoloBean bean1 = new ReportFascicoloBean(" - " + LanguageUtil.get(locale, "label-documenti-tipologia-" + stringa) + " - documenti presentati: "); + // ADT BUG FE ID = 13 + List docPraticas = DocPraticaLocalServiceUtil + .findByIntPratica_ClassPk_TipologiaNew(intPraticaId, fineLavoriId, stringa, + QueryUtil.ALL_POS, QueryUtil.ALL_POS); + if (docPraticas != null && !docPraticas.isEmpty()) { + ReportFascicoloBean bean1 = new ReportFascicoloBean(" - " + + LanguageUtil.get(locale, "label-documenti-tipologia-" + stringa) + + " - documenti presentati: "); listaAllegatiDomanda.add(bean1); - + for (DocPratica docPratica : docPraticas) { - ReportFascicoloBean bean1desc = new ReportFascicoloBean(" - " + docPratica.getDescLong()); + ReportFascicoloBean bean1desc = new ReportFascicoloBean(" - " + + docPratica.getDescLong()); listaAllegatiDomanda.add(bean1desc); - + } - - + } } @@ -1069,15 +1238,17 @@ public class ReportFascicoloUtil { List pagamentiList = new ArrayList(); - //ADT BUG FE ID = 8 - if(fineLavori.isNormEsenteBollo()){ + // ADT BUG FE ID = 8 + if (fineLavori.isNormEsenteBollo()) { - ReportFascicoloBean bean1 = new ReportFascicoloBean(LanguageUtil.get(locale, "fl-esente-bollo")); + ReportFascicoloBean bean1 = new ReportFascicoloBean(LanguageUtil.get(locale, + "fl-esente-bollo")); pagamentiList.add(bean1); } else { - ClassLoader classLoader = (ClassLoader) PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), "portletClassLoader"); + ClassLoader classLoader = (ClassLoader) PortletBeanLocatorUtil.locate( + ClpSerializer.getServletContextName(), "portletClassLoader"); DynamicQuery query = DynamicQueryFactoryUtil.forClass(Pagamento.class, classLoader); query.add(RestrictionsFactoryUtil.eq("intPraticaId", intPraticaId)); @@ -1086,10 +1257,13 @@ public class ReportFascicoloUtil { query.add(RestrictionsFactoryUtil.eq("utilizzata", "04")); List pagamenti = PagamentoLocalServiceUtil.dynamicQuery(query); - if(pagamenti != null){ + if (pagamenti != null) { for (Pagamento pagamento : pagamenti) { - ReportFascicoloBean bean1 = new ReportFascicoloBean(" - Data Pagamento: " + sdf.format(pagamento.getModifiedDate()) + StringPool.TAB +" Mezzo di Pagamento: IRIS " + StringPool.TAB + " Importo Bolli: " + pagamento.getImportoString()); + ReportFascicoloBean bean1 = new ReportFascicoloBean(" - Data Pagamento: " + + sdf.format(pagamento.getModifiedDate()) + StringPool.TAB + + " Mezzo di Pagamento: IRIS " + StringPool.TAB + " Importo Bolli: " + + pagamento.getImportoString()); pagamentiList.add(bean1); } @@ -1097,7 +1271,6 @@ public class ReportFascicoloUtil { } - parameters.put("PAGAMENTI", pagamentiList); } @@ -1106,124 +1279,142 @@ public class ReportFascicoloUtil { return parameters; } - public static Map generateParametersReportFascicoloCollaudo(long intPraticaId, long collaudoId, Locale locale, long companyId) throws PortalException, SystemException{ + public static Map generateParametersReportFascicoloCollaudo(long intPraticaId, + long collaudoId, Locale locale, long companyId) throws PortalException, SystemException { SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy"); Map parameters = new HashMap(); IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId); - if(intPratica != null){ + if (intPratica != null) { - //Intestazione + // Intestazione parameters.put("TITOLO_PRATICA", getTitlePratica(intPraticaId)); Territorio territorio = TerritorioLocalServiceUtil.getTerritorio(intPratica.getTerritorioId()); Comune comune = ComuneLocalServiceUtil.getComune(territorio.getComuneId()); - Provincia provincia = ProvinciaLocalServiceUtil.fetchByC_C(companyId, comune.getCodiceProvincia()); + Provincia provincia = ProvinciaLocalServiceUtil + .fetchByC_C(companyId, comune.getCodiceProvincia()); parameters.put("SEDE_GENIO_CIVILE", provincia.getProvincia()); Collaudo collaudo = CollaudoLocalServiceUtil.fetchCollaudo(collaudoId); - if(collaudo != null){ + if (collaudo != null) { - if(collaudo.isParziale()){ + if (collaudo.isParziale()) { parameters.put("TIPO_FINE_LAVORI", "Parziale"); } else { parameters.put("TIPO_FINE_LAVORI", "Totale"); } parameters.put("DATA_FINE_LAVORI", sdf.format(collaudo.getDataEffettuazione())); - //ADT BUG FE ID = 19 + // ADT BUG FE ID = 19 parameters.put("DATA_EFFETTUAZIONE_COLLAUDO", sdf.format(collaudo.getDataCollaudo())); - parameters.put("PROTOCOLLO", finalizzaProtocollazione( companyId, collaudo.getProtocollo() , collaudo.getDtProtocollo())); + parameters.put( + "PROTOCOLLO", + finalizzaProtocollazione(companyId, collaudo.getProtocollo(), + collaudo.getDtProtocollo())); } - DettPratica lastDettPratica = - DettPraticaLocalServiceUtil.getLastCompletedByIntPratica(intPratica.getIntPraticaId()); + DettPratica lastDettPratica = DettPraticaLocalServiceUtil.getLastCompletedByIntPratica(intPratica + .getIntPraticaId()); - if(lastDettPratica != null){ + if (lastDettPratica != null) { parameters.put("PROVINCIA", provincia.getProvincia()); parameters.put("COMUNE", comune.getDenominazione()); parameters.put("ZONA_SISMICA", BeanPropertiesUtil.getString(territorio, "zona")); - parameters.put("RANGE_AG", (Validator.isNotNull(territorio.getAgMin()) ? territorio.getAgMin() : "")+" - "+ - (Validator.isNotNull(territorio.getAgMax()) ? territorio.getAgMax() : "")); + parameters.put("RANGE_AG", + (Validator.isNotNull(territorio.getAgMin()) ? territorio.getAgMin() : "") + " - " + + (Validator.isNotNull(territorio.getAgMax()) ? territorio.getAgMax() : "")); parameters.put("FASCIA_PERICOLOSITA", BeanPropertiesUtil.getString(territorio, "fascia")); - parameters.put("DESCRIZIONE_INTERVENTO", BeanPropertiesUtil.getString(lastDettPratica, "descLongIntervento")); + parameters.put("DESCRIZIONE_INTERVENTO", + BeanPropertiesUtil.getString(lastDettPratica, "descLongIntervento")); - //Dettagli indirizzo + // Dettagli indirizzo List listaIndirizzo = new ArrayList(); - - ReportFascicoloBean beanProvincia = new ReportFascicoloBean("- Provincia: " + provincia.getProvincia()); + ReportFascicoloBean beanProvincia = new ReportFascicoloBean("- Provincia: " + + provincia.getProvincia()); listaIndirizzo.add(beanProvincia); - ReportFascicoloBean beanComune = new ReportFascicoloBean("- Comune: " + comune.getDenominazione()); + ReportFascicoloBean beanComune = new ReportFascicoloBean("- Comune: " + + comune.getDenominazione()); listaIndirizzo.add(beanComune); - if(!BeanPropertiesUtil.getString(lastDettPratica, "localita").equals("")){ - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Località: " + BeanPropertiesUtil.getString(lastDettPratica, "localita")); + if (!BeanPropertiesUtil.getString(lastDettPratica, "localita").equals("")) { + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Località: " + + BeanPropertiesUtil.getString(lastDettPratica, "localita")); listaIndirizzo.add(bean1); } - if(!BeanPropertiesUtil.getString(lastDettPratica, "via").equals("")){ - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Indirizzo: " + BeanPropertiesUtil.getString(lastDettPratica, "via")); + if (!BeanPropertiesUtil.getString(lastDettPratica, "via").equals("")) { + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Indirizzo: " + + BeanPropertiesUtil.getString(lastDettPratica, "via")); listaIndirizzo.add(bean1); } - if(!BeanPropertiesUtil.getString(lastDettPratica, "dcFoglio").equals("")){ - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Foglio: " + BeanPropertiesUtil.getString(lastDettPratica, "dcFoglio")); + if (!BeanPropertiesUtil.getString(lastDettPratica, "dcFoglio").equals("")) { + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Foglio: " + + BeanPropertiesUtil.getString(lastDettPratica, "dcFoglio")); listaIndirizzo.add(bean1); } - if(!BeanPropertiesUtil.getString(lastDettPratica, "dcParticelle").equals("")){ - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Particelle: " + BeanPropertiesUtil.getString(lastDettPratica, "dcParticelle")); + if (!BeanPropertiesUtil.getString(lastDettPratica, "dcParticelle").equals("")) { + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Particelle: " + + BeanPropertiesUtil.getString(lastDettPratica, "dcParticelle")); listaIndirizzo.add(bean1); } - if(!BeanPropertiesUtil.getString(lastDettPratica, "dcAllegato").equals("")){ - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Allegato: " + BeanPropertiesUtil.getString(lastDettPratica, "dcAllegato")); + if (!BeanPropertiesUtil.getString(lastDettPratica, "dcAllegato").equals("")) { + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Allegato: " + + BeanPropertiesUtil.getString(lastDettPratica, "dcAllegato")); listaIndirizzo.add(bean1); } - if(!BeanPropertiesUtil.getString(lastDettPratica, "estremiCatastali").equals("")){ - ReportFascicoloBean bean1 = new ReportFascicoloBean("- Estremi prat. catastale: " + BeanPropertiesUtil.getString(lastDettPratica, "estremiCatastali")); + if (!BeanPropertiesUtil.getString(lastDettPratica, "estremiCatastali").equals("")) { + ReportFascicoloBean bean1 = new ReportFascicoloBean("- Estremi prat. catastale: " + + BeanPropertiesUtil.getString(lastDettPratica, "estremiCatastali")); listaIndirizzo.add(bean1); } parameters.put("VALUES_PRATICA_INDIRIZZO", listaIndirizzo); Soggetto direttoreLavori = null; - List collaudatore = SoggettoLocalServiceUtil.findByIntPratica_CodiceFiscale(intPraticaId, lastDettPratica.getCodiceFiscaleDelegatoCollaudo()); - if(!collaudatore.isEmpty()){ + List collaudatore = SoggettoLocalServiceUtil.findByIntPratica_CodiceFiscale( + intPraticaId, lastDettPratica.getCodiceFiscaleDelegatoCollaudo()); + if (!collaudatore.isEmpty()) { direttoreLavori = collaudatore.get(0); } StringBuilder sbLavori = new StringBuilder(); - if(direttoreLavori != null){ - if(!direttoreLavori.getAlbo().equals("") && !direttoreLavori.getProvinciaAlbo().equals("")){ + if (direttoreLavori != null) { + if (!direttoreLavori.getAlbo().equals("") + && !direttoreLavori.getProvinciaAlbo().equals("")) { sbLavori.append(" - albo " + direttoreLavori.getAlbo()); - if(!direttoreLavori.getProvinciaAlbo().equals("")){ + if (!direttoreLavori.getProvinciaAlbo().equals("")) { sbLavori.append(" di " + direttoreLavori.getProvinciaAlbo()); } } - if(!direttoreLavori.getNumIscrAlbo().equals("")){ + if (!direttoreLavori.getNumIscrAlbo().equals("")) { sbLavori.append(" (iscr. num. " + direttoreLavori.getNumIscrAlbo() + ")"); } - if(!direttoreLavori.getAmbitoProfessione().equals("")){ + if (!direttoreLavori.getAmbitoProfessione().equals("")) { sbLavori.append(" - ambito: " + direttoreLavori.getAmbitoProfessione()); } } - parameters.put("DIRETTORE_LAVORI", direttoreLavori.getNome() + " " + direttoreLavori.getCognome() + sbLavori.toString()); + parameters.put("DIRETTORE_LAVORI", + direttoreLavori.getNome() + " " + direttoreLavori.getCognome() + sbLavori.toString()); StringBuilder sb = new StringBuilder(); - List committenti = SoggettoLocalServiceUtil.findByIntPratica_TipologiaSoggetto(intPraticaId, TipoSoggettoUtil.COMMITTENTE); - if(!committenti.isEmpty()){ + List committenti = SoggettoLocalServiceUtil.findByIntPratica_TipologiaSoggetto( + intPraticaId, TipoSoggettoUtil.COMMITTENTE); + if (!committenti.isEmpty()) { for (Soggetto soggetto : committenti) { - if(sb.length() > 0){ + if (sb.length() > 0) { sb.append(" , "); } sb.append(soggetto.getNome() + " " + soggetto.getCognome()); @@ -1232,51 +1423,63 @@ public class ReportFascicoloUtil { parameters.put("COMMITTENTE", sb.toString()); - parameters.put("TIPO_PRATICA", LanguageUtil.get(locale, "tipo-pratica-"+intPratica.getTipoPratica())); + parameters.put("TIPO_PRATICA", + LanguageUtil.get(locale, "tipo-pratica-" + intPratica.getTipoPratica())); - List listasDett = DettPraticaLocalServiceUtil.findCompletedByIntPraticaAndTipoPratica( - intPraticaId, Arrays.asList(new String[]{TipoIntegrazioneUtil.VARIANTE, TipoIntegrazioneUtil.RICHIESTA_INTEGRAZIONE,TipoIntegrazioneUtil.VARIAZIONE_SOGGETTO})); + List listasDett = DettPraticaLocalServiceUtil + .findCompletedByIntPraticaAndTipoPratica( + intPraticaId, + Arrays.asList(new String[] { TipoIntegrazioneUtil.VARIANTE, + TipoIntegrazioneUtil.RICHIESTA_INTEGRAZIONE, + TipoIntegrazioneUtil.VARIAZIONE_SOGGETTO })); List listaDettBeans = new ArrayList(); - for(DettPratica dett : listasDett){ - if(dett.getDataEffettuazione() != null){ - ReportFascicoloBean bean1 = new ReportFascicoloBean("- " +sdf.format(dett.getDataEffettuazione()) + " " + LanguageUtil.get(locale, "label-integrazione-"+dett.getTipoIntegrazione())); + for (DettPratica dett : listasDett) { + if (dett.getDataEffettuazione() != null) { + ReportFascicoloBean bean1 = new ReportFascicoloBean( + "- " + + sdf.format(dett.getDataEffettuazione()) + + " " + + LanguageUtil.get(locale, + "label-integrazione-" + dett.getTipoIntegrazione())); listaDettBeans.add(bean1); } } - List listaFine = FineLavoriLocalServiceUtil.findByIntPraticaId(intPraticaId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); + List listaFine = FineLavoriLocalServiceUtil.findByIntPraticaId(intPraticaId, + QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); for (FineLavori fineLavoriApp : listaFine) { - if(fineLavoriApp.getDataEffettuazione() != null){ + if (fineLavoriApp.getDataEffettuazione() != null) { String stringaPlus = ""; - if(fineLavoriApp.isParziale()){ + if (fineLavoriApp.isParziale()) { stringaPlus = "Fine Lavori Parziale"; } else { stringaPlus = "Fine Lavori Totale"; } - ReportFascicoloBean bean1 = new ReportFascicoloBean("- " +sdf.format(fineLavoriApp.getDataEffettuazione()) + " " + stringaPlus); + ReportFascicoloBean bean1 = new ReportFascicoloBean("- " + + sdf.format(fineLavoriApp.getDataEffettuazione()) + " " + stringaPlus); listaDettBeans.add(bean1); } } parameters.put("INTEGRAZIONI_VARIANTI", listaDettBeans); - - //ALLEGATI DOMANDA + // ALLEGATI DOMANDA List tipologiaAllegatiDomanda = DocumentiPraticaUtil.getDocCollaudo(); - if(Validator.isNotNull(intPratica.getOldIntPraticaId())){ - tipologiaAllegatiDomanda.addAll(DocumentiPraticaUtil.getDocCollaudoPortos1()); - } List listaAllegatiDomanda = new ArrayList(); for (String stringa : tipologiaAllegatiDomanda) { - //BUG ADDT FE: allegati al collaudo - List docPraticas = DocPraticaLocalServiceUtil.findByIntPratica_ClassPk_Tipologia(intPraticaId,collaudoId, stringa,QueryUtil.ALL_POS,QueryUtil.ALL_POS); - if(docPraticas != null && !docPraticas.isEmpty()){ - ReportFascicoloBean bean1 = new ReportFascicoloBean("- " + LanguageUtil.get(locale, "label-documenti-tipologia-" + stringa) + StringPool.TAB + " - num. documenti presentati: " + docPraticas.size()); + // BUG ADDT FE: allegati al collaudo + List docPraticas = DocPraticaLocalServiceUtil + .findByIntPratica_ClassPk_Tipologia(intPraticaId, collaudoId, stringa, + QueryUtil.ALL_POS, QueryUtil.ALL_POS); + if (docPraticas != null && !docPraticas.isEmpty()) { + ReportFascicoloBean bean1 = new ReportFascicoloBean("- " + + LanguageUtil.get(locale, "label-documenti-tipologia-" + stringa) + + StringPool.TAB + " - num. documenti presentati: " + docPraticas.size()); listaAllegatiDomanda.add(bean1); } } @@ -1285,14 +1488,16 @@ public class ReportFascicoloUtil { List pagamentiList = new ArrayList(); - if(collaudo.isNormEsenteBollo()){ + if (collaudo.isNormEsenteBollo()) { - ReportFascicoloBean bean1 = new ReportFascicoloBean(LanguageUtil.get(locale, "fl-esente-bollo")); + ReportFascicoloBean bean1 = new ReportFascicoloBean(LanguageUtil.get(locale, + "fl-esente-bollo")); pagamentiList.add(bean1); } else { - ClassLoader classLoader = (ClassLoader) PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), "portletClassLoader"); + ClassLoader classLoader = (ClassLoader) PortletBeanLocatorUtil.locate( + ClpSerializer.getServletContextName(), "portletClassLoader"); DynamicQuery query = DynamicQueryFactoryUtil.forClass(Pagamento.class, classLoader); query.add(RestrictionsFactoryUtil.eq("intPraticaId", intPraticaId)); @@ -1301,10 +1506,13 @@ public class ReportFascicoloUtil { query.add(RestrictionsFactoryUtil.eq("utilizzata", "04")); List pagamenti = PagamentoLocalServiceUtil.dynamicQuery(query); - if(pagamenti != null){ + if (pagamenti != null) { for (Pagamento pagamento : pagamenti) { - ReportFascicoloBean bean1 = new ReportFascicoloBean(" - Data Pagamento: " + sdf.format(pagamento.getModifiedDate()) + StringPool.TAB +" Mezzo di Pagamento: IRIS " + StringPool.TAB + " Importo Bolli: " + pagamento.getImportoString()); + ReportFascicoloBean bean1 = new ReportFascicoloBean(" - Data Pagamento: " + + sdf.format(pagamento.getModifiedDate()) + StringPool.TAB + + " Mezzo di Pagamento: IRIS " + StringPool.TAB + " Importo Bolli: " + + pagamento.getImportoString()); pagamentiList.add(bean1); } @@ -1312,7 +1520,6 @@ public class ReportFascicoloUtil { } - parameters.put("PAGAMENTI", pagamentiList); } @@ -1322,7 +1529,7 @@ public class ReportFascicoloUtil { return parameters; } - private static String getTitlePratica(long intPraticaId) throws PortalException, SystemException{ + private static String getTitlePratica(long intPraticaId) throws PortalException, SystemException { StringBuilder sb = new StringBuilder(); IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId); @@ -1338,15 +1545,18 @@ public class ReportFascicoloUtil { sb.append(intPratica.getNumeroProgetto()); SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy"); - // TODO da decidere che data, per adesso si mette quella di creazione il numero protocollo + // TODO da decidere che data, per adesso si mette quella di creazione il + // numero protocollo // sbagliato dovrebbe essere il primo sb.append(" del "); sb.append(sdf.format(intPratica.getDtPratica())); return sb.toString(); } - //ADT BUG ID = 3 - private static String finalizzaProtocollazione(long companyId, String protocollo, Date dtProtocollo) throws SystemException { + + // ADT BUG ID = 3 + private static String finalizzaProtocollazione(long companyId, String protocollo, Date dtProtocollo) + throws SystemException { SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy"); @@ -1363,12 +1573,10 @@ public class ReportFascicoloUtil { Constants.COMPANY_CUSTOM_FIELD_PROTOCOLLO_CODICE_SEGUENTE_LABEL, false)); sb.append(" del "); - if (dtProtocollo!=null) + if (dtProtocollo != null) sb.append(sdf.format(dtProtocollo)); return sb.toString(); } - - } diff --git a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/allegatipratica/allegati_action.jsp b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/allegatipratica/allegati_action.jsp index 06a06e86..abe623e7 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/allegatipratica/allegati_action.jsp +++ b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/allegatipratica/allegati_action.jsp @@ -158,55 +158,45 @@ +
+ +
- <% - long oldDettPratica = 0l; - if(DettPratica.class.getName().equals(className) ){ - DettPratica dettPratica = DettPraticaLocalServiceUtil.getDettPratica(docPratica.getClassPk()); - oldDettPratica = dettPratica.getOldDettPraticaId(); - } - %> - -
- -
- - - - A.one('<%="#"+renderResponse.getNamespace()+"delete_"+docPratica.getDocPraticaId() %>').on( - 'click', - function(event) { - event.preventDefault(); - if(confirm("Confermi di voler eliminare il documento?")==true){ - Loading.start(); - A.io.request( - '<%=deleteDocURL%>', - { - on: { - failure: function() { - alert('impossibile rimuovere il documento!'); - }, - success: function(event, id, obj) { - window.parent.Liferay.fire('allegati-<%=comingFrom%>-open'); - if( "<%= comingFrom %>" == "page_allegati" || "<%= comingFrom %>" == "page_geologica"){ - <%=refresh%> - }else{ - Liferay.fire('allegati-"+comingFrom+"-open'); - Liferay.Portlet.refresh("#p_p_id"); - } - }, - complete : function(){ - Loading.end(); + + + A.one('<%="#"+renderResponse.getNamespace()+"delete_"+docPratica.getDocPraticaId() %>').on( + 'click', + function(event) { + event.preventDefault(); + if(confirm("Confermi di voler eliminare il documento?")==true){ + Loading.start(); + A.io.request( + '<%=deleteDocURL%>', + { + on: { + failure: function() { + alert('impossibile rimuovere il documento!'); + }, + success: function(event, id, obj) { + window.parent.Liferay.fire('allegati-<%=comingFrom%>-open'); + if( "<%= comingFrom %>" == "page_allegati" || "<%= comingFrom %>" == "page_geologica"){ + <%=refresh%> + }else{ + Liferay.fire('allegati-"+comingFrom+"-open'); + Liferay.Portlet.refresh("#p_p_id"); } + }, + complete : function(){ + Loading.end(); } } - ); - } + } + ); } - ); - - -
+ } + ); + + diff --git a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/allegatipratica/view.jsp b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/allegatipratica/view.jsp index 469d2117..32167b08 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/allegatipratica/view.jsp +++ b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/allegatipratica/view.jsp @@ -163,19 +163,10 @@ tipologiaAllegati = DocumentiPraticaUtil.getDocGeologo(); }else if("page_allegati".equals(comingFrom)){ tipologiaAllegati = DocumentiPraticaUtil.getDocDomanda(); - if(Validator.isNotNull(intPratica.getOldIntPraticaId())){ - tipologiaAllegati.addAll(DocumentiPraticaUtil.getDocDomandaPortos1()); - } }else if("page_fine_lavori".equals(comingFrom)){ tipologiaAllegati = DocumentiPraticaUtil.getDocFineLavori(); - if(Validator.isNotNull(intPratica.getOldIntPraticaId())){ - tipologiaAllegati.addAll(DocumentiPraticaUtil.getDocFineLavoriPortos1()); - } }else if("page_collaudo".equals(comingFrom)){ tipologiaAllegati = DocumentiPraticaUtil.getDocCollaudo(); - if(Validator.isNotNull(intPratica.getOldIntPraticaId())){ - tipologiaAllegati.addAll(DocumentiPraticaUtil.getDocCollaudoPortos1()); - } } %> diff --git a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/allegatipratica/view_accordion.jsp b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/allegatipratica/view_accordion.jsp index 02475cf8..c5714f13 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/allegatipratica/view_accordion.jsp +++ b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/allegatipratica/view_accordion.jsp @@ -77,25 +77,15 @@ type="ag"; }else if("allegati_fine_lavori".equals(tipoAllegati)){ tipologiaAllegati = DocumentiPraticaUtil.getDocFineLavori(); - if(Validator.isNotNull(intPratica.getOldIntPraticaId())){ - tipologiaAllegati.addAll(DocumentiPraticaUtil.getDocFineLavoriPortos1()); - } type="afl"; }else if("allegati_collaudo".equals(tipoAllegati)){ tipologiaAllegati = DocumentiPraticaUtil.getDocCollaudo(); - if(Validator.isNotNull(intPratica.getOldIntPraticaId())){ - tipologiaAllegati.addAll(DocumentiPraticaUtil.getDocCollaudoPortos1()); - } type="acl"; } else{ tipologiaAllegati = DocumentiPraticaUtil.getDocDomanda(); //BUG BO ID=9 (ANNULLA ISTANZA) tipologiaAllegati.add(DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_ANNULLAMENTO_FASCICOLO); - - if(Validator.isNotNull(intPratica.getOldIntPraticaId())){ - tipologiaAllegati.addAll(DocumentiPraticaUtil.getDocDomandaPortos1()); - } type="ad"; } diff --git a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_fascicolo.jsp b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_fascicolo.jsp index d4c6255d..7f5af85d 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_fascicolo.jsp +++ b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/verify_fascicolo.jsp @@ -171,10 +171,6 @@ List sections = Arrays.asList(SezioniUtil.SEZIONE_DETTAGLI_PRINCIPALI, SezioniUtil.SEZIONE_ANAGRAFE_SOGGETTI, SezioniUtil.SEZIONE_DESCRIZIONE_EDIFICIO, SezioniUtil.SEZIONE_GEOLOGICA, SezioniUtil.SEZIONE_ALLEGATI); List tipologiaAllegati = DocumentiPraticaUtil.getDocObbligatori(); - if(Validator.isNotNull(intPratica.getOldIntPraticaId())){ - tipologiaAllegati.addAll(DocumentiPraticaUtil.getDocDomandaPortos1()); - } - List tipologiaSoggetti = Arrays.asList(TipoSoggettoUtil.COMMITTENTE, TipoSoggettoUtil.DITTA, TipoSoggettoUtil.PROGETTISTA, TipoSoggettoUtil.DIRETTORE_LAVORI, TipoSoggettoUtil.GEOLOGO, TipoSoggettoUtil.COLLAUDATORE); %> diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/.classpath b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/.classpath deleted file mode 100644 index 8d2e875a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/.classpath +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/.settings/.jsdtscope b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/.settings/.jsdtscope deleted file mode 100644 index 840a01d5..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/.settings/.jsdtscope +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/.settings/org.eclipse.jdt.core.prefs b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index f42de363..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,7 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 -org.eclipse.jdt.core.compiler.compliance=1.7 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.7 diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/.settings/org.eclipse.jst.jsp.core.prefs b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/.settings/org.eclipse.jst.jsp.core.prefs deleted file mode 100644 index 3a5c98db..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/.settings/org.eclipse.jst.jsp.core.prefs +++ /dev/null @@ -1,3 +0,0 @@ -eclipse.preferences.version=1 -validateFragments=false -validation.use-project-settings=true diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/.settings/org.eclipse.wst.common.component b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/.settings/org.eclipse.wst.common.component deleted file mode 100644 index 193baa92..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/.settings/org.eclipse.wst.common.component +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - uses - - - - - diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml deleted file mode 100644 index 500dfccb..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/.settings/org.eclipse.wst.common.project.facet.core.xml b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/.settings/org.eclipse.wst.common.project.facet.core.xml deleted file mode 100644 index fe24cce9..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/.settings/org.eclipse.wst.common.project.facet.core.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/.settings/org.eclipse.wst.jsdt.ui.superType.container b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/.settings/org.eclipse.wst.jsdt.ui.superType.container deleted file mode 100644 index 3bd5d0a4..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/.settings/org.eclipse.wst.jsdt.ui.superType.container +++ /dev/null @@ -1 +0,0 @@ -org.eclipse.wst.jsdt.launching.baseBrowserLibrary \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/.settings/org.eclipse.wst.jsdt.ui.superType.name b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/.settings/org.eclipse.wst.jsdt.ui.superType.name deleted file mode 100644 index 05bd71b6..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/.settings/org.eclipse.wst.jsdt.ui.superType.name +++ /dev/null @@ -1 +0,0 @@ -Window \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/.tern-project b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/.tern-project deleted file mode 100644 index a185ba0d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/.tern-project +++ /dev/null @@ -1 +0,0 @@ -{"ide":{"scriptPaths":[]},"plugins":{"aui":{},"liferay":{},"yui":{}},"libs":["ecma5","browser"]} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/build.xml b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/build.xml deleted file mode 100644 index 9b5ae0c7..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/build.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/META-INF/MANIFEST.MF b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/META-INF/MANIFEST.MF deleted file mode 100644 index 254272e1..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/META-INF/MANIFEST.MF +++ /dev/null @@ -1,3 +0,0 @@ -Manifest-Version: 1.0 -Class-Path: - diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/lib/commons-csv-1.4.jar b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/lib/commons-csv-1.4.jar deleted file mode 100644 index e9eb0bd3..00000000 Binary files a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/lib/commons-csv-1.4.jar and /dev/null differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/liferay-display.xml b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/liferay-display.xml deleted file mode 100644 index 6d3a1e53..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/liferay-display.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/liferay-plugin-package.properties b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/liferay-plugin-package.properties deleted file mode 100644 index 9cbd6672..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/liferay-plugin-package.properties +++ /dev/null @@ -1,17 +0,0 @@ -name=Portos Importazione -module-group-id=liferay -module-incremental-version=1 -tags= -short-description= -long-description= -change-log= -page-url=http://www.liferay.com -author=Liferay, Inc. -licenses=LGPL -liferay-versions=6.2.0+ -portal-dependency-jars=\ - commons-lang.jar,\ - commons-io.jar,\ - flexjson.jar -required-deployment-contexts=\ - portos-bo-portlet diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/liferay-portlet.xml b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/liferay-portlet.xml deleted file mode 100644 index b028aa56..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/liferay-portlet.xml +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - 1 - /icon.png - - /css/main.css - - /js/main.js - - 1-portlet - - - - 2 - /icon.png - - configuration - - 1.6 - /css/main.css - - /js/main.js - - 2-portlet - - - administrator - Administrator - - - guest - Guest - - - power-user - Power User - - - user - User - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/portlet.xml b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/portlet.xml deleted file mode 100644 index 9f9e8b71..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/portlet.xml +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - 1 - - Importazione Vecchio Sistema Portlet - - - it.tref.liferay.portos.importazione.portlet.ImportazioneVecchioSistemaPortlet - - - view-template - /html/importazione/view.jsp - - 0 - - text/html - view - - - Importazione Vecchio Sistema Portlet - 1 - - - - administrator - - - guest - - - power-user - - - user - - - - 2 - Importazione CP - - it.tref.liferay.portos.importazione.portlet.ImportazioneCPPortlet - - - view-template - /html/importazionecp/view.jsp - - 0 - - text/html - view - - - Importazione CP - 2 - - - - administrator - - - guest - - - power-user - - - user - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service.xml b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service.xml deleted file mode 100644 index 41fb7793..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service.xml +++ /dev/null @@ -1,1726 +0,0 @@ - - - - 3FC - old_portos - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoArtLeggeException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoArtLeggeException.java deleted file mode 100644 index 278456e6..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoArtLeggeException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author 3FC - */ -public class NoSuchBoArtLeggeException extends NoSuchModelException { - - public NoSuchBoArtLeggeException() { - super(); - } - - public NoSuchBoArtLeggeException(String msg) { - super(msg); - } - - public NoSuchBoArtLeggeException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchBoArtLeggeException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoAvvisoException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoAvvisoException.java deleted file mode 100644 index 0e195c17..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoAvvisoException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author 3FC - */ -public class NoSuchBoAvvisoException extends NoSuchModelException { - - public NoSuchBoAvvisoException() { - super(); - } - - public NoSuchBoAvvisoException(String msg) { - super(msg); - } - - public NoSuchBoAvvisoException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchBoAvvisoException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoComuneException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoComuneException.java deleted file mode 100644 index e95429e7..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoComuneException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author 3FC - */ -public class NoSuchBoComuneException extends NoSuchModelException { - - public NoSuchBoComuneException() { - super(); - } - - public NoSuchBoComuneException(String msg) { - super(msg); - } - - public NoSuchBoComuneException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchBoComuneException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoConfigurazioneException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoConfigurazioneException.java deleted file mode 100644 index d0aa1fcd..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoConfigurazioneException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author 3FC - */ -public class NoSuchBoConfigurazioneException extends NoSuchModelException { - - public NoSuchBoConfigurazioneException() { - super(); - } - - public NoSuchBoConfigurazioneException(String msg) { - super(msg); - } - - public NoSuchBoConfigurazioneException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchBoConfigurazioneException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoDettPraticaException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoDettPraticaException.java deleted file mode 100644 index d30fd3b2..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoDettPraticaException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author 3FC - */ -public class NoSuchBoDettPraticaException extends NoSuchModelException { - - public NoSuchBoDettPraticaException() { - super(); - } - - public NoSuchBoDettPraticaException(String msg) { - super(msg); - } - - public NoSuchBoDettPraticaException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchBoDettPraticaException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoDocPraticaException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoDocPraticaException.java deleted file mode 100644 index cac32041..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoDocPraticaException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author 3FC - */ -public class NoSuchBoDocPraticaException extends NoSuchModelException { - - public NoSuchBoDocPraticaException() { - super(); - } - - public NoSuchBoDocPraticaException(String msg) { - super(msg); - } - - public NoSuchBoDocPraticaException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchBoDocPraticaException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoIntPraticaException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoIntPraticaException.java deleted file mode 100644 index c911a3ea..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoIntPraticaException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author 3FC - */ -public class NoSuchBoIntPraticaException extends NoSuchModelException { - - public NoSuchBoIntPraticaException() { - super(); - } - - public NoSuchBoIntPraticaException(String msg) { - super(msg); - } - - public NoSuchBoIntPraticaException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchBoIntPraticaException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoProblemiPraticaException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoProblemiPraticaException.java deleted file mode 100644 index f86eb63b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoProblemiPraticaException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author 3FC - */ -public class NoSuchBoProblemiPraticaException extends NoSuchModelException { - - public NoSuchBoProblemiPraticaException() { - super(); - } - - public NoSuchBoProblemiPraticaException(String msg) { - super(msg); - } - - public NoSuchBoProblemiPraticaException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchBoProblemiPraticaException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoRelLeggiPraticaException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoRelLeggiPraticaException.java deleted file mode 100644 index de7f29e1..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoRelLeggiPraticaException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author 3FC - */ -public class NoSuchBoRelLeggiPraticaException extends NoSuchModelException { - - public NoSuchBoRelLeggiPraticaException() { - super(); - } - - public NoSuchBoRelLeggiPraticaException(String msg) { - super(msg); - } - - public NoSuchBoRelLeggiPraticaException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchBoRelLeggiPraticaException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoSistemaCostruttivoException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoSistemaCostruttivoException.java deleted file mode 100644 index e40584a1..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoSistemaCostruttivoException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author 3FC - */ -public class NoSuchBoSistemaCostruttivoException extends NoSuchModelException { - - public NoSuchBoSistemaCostruttivoException() { - super(); - } - - public NoSuchBoSistemaCostruttivoException(String msg) { - super(msg); - } - - public NoSuchBoSistemaCostruttivoException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchBoSistemaCostruttivoException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoSoggettoException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoSoggettoException.java deleted file mode 100644 index 7201a1c0..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoSoggettoException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author 3FC - */ -public class NoSuchBoSoggettoException extends NoSuchModelException { - - public NoSuchBoSoggettoException() { - super(); - } - - public NoSuchBoSoggettoException(String msg) { - super(msg); - } - - public NoSuchBoSoggettoException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchBoSoggettoException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoSorteggioException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoSorteggioException.java deleted file mode 100644 index 80fcf3d6..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoSorteggioException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author 3FC - */ -public class NoSuchBoSorteggioException extends NoSuchModelException { - - public NoSuchBoSorteggioException() { - super(); - } - - public NoSuchBoSorteggioException(String msg) { - super(msg); - } - - public NoSuchBoSorteggioException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchBoSorteggioException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoStoricoSoggettoPraticaException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoStoricoSoggettoPraticaException.java deleted file mode 100644 index 0530eb08..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoStoricoSoggettoPraticaException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author 3FC - */ -public class NoSuchBoStoricoSoggettoPraticaException extends NoSuchModelException { - - public NoSuchBoStoricoSoggettoPraticaException() { - super(); - } - - public NoSuchBoStoricoSoggettoPraticaException(String msg) { - super(msg); - } - - public NoSuchBoStoricoSoggettoPraticaException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchBoStoricoSoggettoPraticaException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoTempisticaException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoTempisticaException.java deleted file mode 100644 index f419a696..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoTempisticaException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author 3FC - */ -public class NoSuchBoTempisticaException extends NoSuchModelException { - - public NoSuchBoTempisticaException() { - super(); - } - - public NoSuchBoTempisticaException(String msg) { - super(msg); - } - - public NoSuchBoTempisticaException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchBoTempisticaException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoTerritorioException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoTerritorioException.java deleted file mode 100644 index b0e4edc5..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchBoTerritorioException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author 3FC - */ -public class NoSuchBoTerritorioException extends NoSuchModelException { - - public NoSuchBoTerritorioException() { - super(); - } - - public NoSuchBoTerritorioException(String msg) { - super(msg); - } - - public NoSuchBoTerritorioException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchBoTerritorioException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchFeComuneException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchFeComuneException.java deleted file mode 100644 index 677d871a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchFeComuneException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author 3FC - */ -public class NoSuchFeComuneException extends NoSuchModelException { - - public NoSuchFeComuneException() { - super(); - } - - public NoSuchFeComuneException(String msg) { - super(msg); - } - - public NoSuchFeComuneException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchFeComuneException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchFeDettPraticaException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchFeDettPraticaException.java deleted file mode 100644 index 4717126d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchFeDettPraticaException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author 3FC - */ -public class NoSuchFeDettPraticaException extends NoSuchModelException { - - public NoSuchFeDettPraticaException() { - super(); - } - - public NoSuchFeDettPraticaException(String msg) { - super(msg); - } - - public NoSuchFeDettPraticaException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchFeDettPraticaException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchFeIntPraticaException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchFeIntPraticaException.java deleted file mode 100644 index 77e6dfb4..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchFeIntPraticaException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author 3FC - */ -public class NoSuchFeIntPraticaException extends NoSuchModelException { - - public NoSuchFeIntPraticaException() { - super(); - } - - public NoSuchFeIntPraticaException(String msg) { - super(msg); - } - - public NoSuchFeIntPraticaException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchFeIntPraticaException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchFePagamentoException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchFePagamentoException.java deleted file mode 100644 index 1075fd64..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchFePagamentoException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author 3FC - */ -public class NoSuchFePagamentoException extends NoSuchModelException { - - public NoSuchFePagamentoException() { - super(); - } - - public NoSuchFePagamentoException(String msg) { - super(msg); - } - - public NoSuchFePagamentoException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchFePagamentoException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchFeProvinciaException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchFeProvinciaException.java deleted file mode 100644 index afcaca5c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchFeProvinciaException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author 3FC - */ -public class NoSuchFeProvinciaException extends NoSuchModelException { - - public NoSuchFeProvinciaException() { - super(); - } - - public NoSuchFeProvinciaException(String msg) { - super(msg); - } - - public NoSuchFeProvinciaException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchFeProvinciaException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchFeTerritorioException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchFeTerritorioException.java deleted file mode 100644 index 8e034ddb..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchFeTerritorioException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author 3FC - */ -public class NoSuchFeTerritorioException extends NoSuchModelException { - - public NoSuchFeTerritorioException() { - super(); - } - - public NoSuchFeTerritorioException(String msg) { - super(msg); - } - - public NoSuchFeTerritorioException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchFeTerritorioException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchKaleoInstanceException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchKaleoInstanceException.java deleted file mode 100644 index 70c49082..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchKaleoInstanceException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author 3FC - */ -public class NoSuchKaleoInstanceException extends NoSuchModelException { - - public NoSuchKaleoInstanceException() { - super(); - } - - public NoSuchKaleoInstanceException(String msg) { - super(msg); - } - - public NoSuchKaleoInstanceException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchKaleoInstanceException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchKaleoInstanceTokenException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchKaleoInstanceTokenException.java deleted file mode 100644 index ac93e632..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchKaleoInstanceTokenException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author 3FC - */ -public class NoSuchKaleoInstanceTokenException extends NoSuchModelException { - - public NoSuchKaleoInstanceTokenException() { - super(); - } - - public NoSuchKaleoInstanceTokenException(String msg) { - super(msg); - } - - public NoSuchKaleoInstanceTokenException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchKaleoInstanceTokenException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchKaleoLogException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchKaleoLogException.java deleted file mode 100644 index 334718dc..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchKaleoLogException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author 3FC - */ -public class NoSuchKaleoLogException extends NoSuchModelException { - - public NoSuchKaleoLogException() { - super(); - } - - public NoSuchKaleoLogException(String msg) { - super(msg); - } - - public NoSuchKaleoLogException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchKaleoLogException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchKaleoNodeException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchKaleoNodeException.java deleted file mode 100644 index 6aca2b30..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchKaleoNodeException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author 3FC - */ -public class NoSuchKaleoNodeException extends NoSuchModelException { - - public NoSuchKaleoNodeException() { - super(); - } - - public NoSuchKaleoNodeException(String msg) { - super(msg); - } - - public NoSuchKaleoNodeException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchKaleoNodeException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchKaleoTaskAssignmentInstanceException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchKaleoTaskAssignmentInstanceException.java deleted file mode 100644 index 975c6660..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchKaleoTaskAssignmentInstanceException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author 3FC - */ -public class NoSuchKaleoTaskAssignmentInstanceException extends NoSuchModelException { - - public NoSuchKaleoTaskAssignmentInstanceException() { - super(); - } - - public NoSuchKaleoTaskAssignmentInstanceException(String msg) { - super(msg); - } - - public NoSuchKaleoTaskAssignmentInstanceException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchKaleoTaskAssignmentInstanceException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchKaleoTaskException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchKaleoTaskException.java deleted file mode 100644 index 53d5b83c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchKaleoTaskException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author 3FC - */ -public class NoSuchKaleoTaskException extends NoSuchModelException { - - public NoSuchKaleoTaskException() { - super(); - } - - public NoSuchKaleoTaskException(String msg) { - super(msg); - } - - public NoSuchKaleoTaskException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchKaleoTaskException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchKaleoTaskInstanceTokenException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchKaleoTaskInstanceTokenException.java deleted file mode 100644 index ba3f5dfd..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchKaleoTaskInstanceTokenException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author 3FC - */ -public class NoSuchKaleoTaskInstanceTokenException extends NoSuchModelException { - - public NoSuchKaleoTaskInstanceTokenException() { - super(); - } - - public NoSuchKaleoTaskInstanceTokenException(String msg) { - super(msg); - } - - public NoSuchKaleoTaskInstanceTokenException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchKaleoTaskInstanceTokenException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchOldDLFileEntryException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchOldDLFileEntryException.java deleted file mode 100644 index 55de10a6..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchOldDLFileEntryException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author 3FC - */ -public class NoSuchOldDLFileEntryException extends NoSuchModelException { - - public NoSuchOldDLFileEntryException() { - super(); - } - - public NoSuchOldDLFileEntryException(String msg) { - super(msg); - } - - public NoSuchOldDLFileEntryException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchOldDLFileEntryException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchOldDLFolderException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchOldDLFolderException.java deleted file mode 100644 index c7770f85..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchOldDLFolderException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author 3FC - */ -public class NoSuchOldDLFolderException extends NoSuchModelException { - - public NoSuchOldDLFolderException() { - super(); - } - - public NoSuchOldDLFolderException(String msg) { - super(msg); - } - - public NoSuchOldDLFolderException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchOldDLFolderException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchOldGroupException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchOldGroupException.java deleted file mode 100644 index 0e3d0367..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchOldGroupException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author 3FC - */ -public class NoSuchOldGroupException extends NoSuchModelException { - - public NoSuchOldGroupException() { - super(); - } - - public NoSuchOldGroupException(String msg) { - super(msg); - } - - public NoSuchOldGroupException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchOldGroupException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchOldOrganizationException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchOldOrganizationException.java deleted file mode 100644 index 8f58babf..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchOldOrganizationException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author 3FC - */ -public class NoSuchOldOrganizationException extends NoSuchModelException { - - public NoSuchOldOrganizationException() { - super(); - } - - public NoSuchOldOrganizationException(String msg) { - super(msg); - } - - public NoSuchOldOrganizationException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchOldOrganizationException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchOldRoleException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchOldRoleException.java deleted file mode 100644 index 1e60dd9d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchOldRoleException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author 3FC - */ -public class NoSuchOldRoleException extends NoSuchModelException { - - public NoSuchOldRoleException() { - super(); - } - - public NoSuchOldRoleException(String msg) { - super(msg); - } - - public NoSuchOldRoleException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchOldRoleException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchOldUserException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchOldUserException.java deleted file mode 100644 index 6753046c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchOldUserException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author 3FC - */ -public class NoSuchOldUserException extends NoSuchModelException { - - public NoSuchOldUserException() { - super(); - } - - public NoSuchOldUserException(String msg) { - super(msg); - } - - public NoSuchOldUserException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchOldUserException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchOldUserGroupException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchOldUserGroupException.java deleted file mode 100644 index e668493b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchOldUserGroupException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author 3FC - */ -public class NoSuchOldUserGroupException extends NoSuchModelException { - - public NoSuchOldUserGroupException() { - super(); - } - - public NoSuchOldUserGroupException(String msg) { - super(msg); - } - - public NoSuchOldUserGroupException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchOldUserGroupException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchProceduraImportazioneException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchProceduraImportazioneException.java deleted file mode 100644 index d4ad812b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchProceduraImportazioneException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author 3FC - */ -public class NoSuchProceduraImportazioneException extends NoSuchModelException { - - public NoSuchProceduraImportazioneException() { - super(); - } - - public NoSuchProceduraImportazioneException(String msg) { - super(msg); - } - - public NoSuchProceduraImportazioneException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchProceduraImportazioneException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchStatoImportazioneException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchStatoImportazioneException.java deleted file mode 100644 index ecd1e355..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/NoSuchStatoImportazioneException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author 3FC - */ -public class NoSuchStatoImportazioneException extends NoSuchModelException { - - public NoSuchStatoImportazioneException() { - super(); - } - - public NoSuchStatoImportazioneException(String msg) { - super(msg); - } - - public NoSuchStatoImportazioneException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchStatoImportazioneException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoArtLegge.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoArtLegge.java deleted file mode 100644 index f70c8ec1..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoArtLegge.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the BoArtLegge service. Represents a row in the "gc_artlegge" database table, with each column mapped to a property of this class. - * - * @author 3FC - * @see BoArtLeggeModel - * @see it.tref.liferay.portos.importazione.model.impl.BoArtLeggeImpl - * @see it.tref.liferay.portos.importazione.model.impl.BoArtLeggeModelImpl - * @generated - */ -public interface BoArtLegge extends BoArtLeggeModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.importazione.model.impl.BoArtLeggeImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoArtLeggeClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoArtLeggeClp.java deleted file mode 100644 index 094e3f23..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoArtLeggeClp.java +++ /dev/null @@ -1,580 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.service.BoArtLeggeLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.ClpSerializer; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author 3FC - */ -public class BoArtLeggeClp extends BaseModelImpl - implements BoArtLegge { - public BoArtLeggeClp() { - } - - @Override - public Class getModelClass() { - return BoArtLegge.class; - } - - @Override - public String getModelClassName() { - return BoArtLegge.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _artLeggeId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setArtLeggeId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _artLeggeId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("artLeggeId", getArtLeggeId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("codArtLegge", getCodArtLegge()); - attributes.put("tipologia", getTipologia()); - attributes.put("descLong", getDescLong()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long artLeggeId = (Long)attributes.get("artLeggeId"); - - if (artLeggeId != null) { - setArtLeggeId(artLeggeId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - String codArtLegge = (String)attributes.get("codArtLegge"); - - if (codArtLegge != null) { - setCodArtLegge(codArtLegge); - } - - String tipologia = (String)attributes.get("tipologia"); - - if (tipologia != null) { - setTipologia(tipologia); - } - - String descLong = (String)attributes.get("descLong"); - - if (descLong != null) { - setDescLong(descLong); - } - } - - @Override - public long getArtLeggeId() { - return _artLeggeId; - } - - @Override - public void setArtLeggeId(long artLeggeId) { - _artLeggeId = artLeggeId; - - if (_boArtLeggeRemoteModel != null) { - try { - Class clazz = _boArtLeggeRemoteModel.getClass(); - - Method method = clazz.getMethod("setArtLeggeId", long.class); - - method.invoke(_boArtLeggeRemoteModel, artLeggeId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_boArtLeggeRemoteModel != null) { - try { - Class clazz = _boArtLeggeRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_boArtLeggeRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_boArtLeggeRemoteModel != null) { - try { - Class clazz = _boArtLeggeRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_boArtLeggeRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_boArtLeggeRemoteModel != null) { - try { - Class clazz = _boArtLeggeRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_boArtLeggeRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_boArtLeggeRemoteModel != null) { - try { - Class clazz = _boArtLeggeRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_boArtLeggeRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_boArtLeggeRemoteModel != null) { - try { - Class clazz = _boArtLeggeRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_boArtLeggeRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodArtLegge() { - return _codArtLegge; - } - - @Override - public void setCodArtLegge(String codArtLegge) { - _codArtLegge = codArtLegge; - - if (_boArtLeggeRemoteModel != null) { - try { - Class clazz = _boArtLeggeRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodArtLegge", String.class); - - method.invoke(_boArtLeggeRemoteModel, codArtLegge); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getTipologia() { - return _tipologia; - } - - @Override - public void setTipologia(String tipologia) { - _tipologia = tipologia; - - if (_boArtLeggeRemoteModel != null) { - try { - Class clazz = _boArtLeggeRemoteModel.getClass(); - - Method method = clazz.getMethod("setTipologia", String.class); - - method.invoke(_boArtLeggeRemoteModel, tipologia); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getDescLong() { - return _descLong; - } - - @Override - public void setDescLong(String descLong) { - _descLong = descLong; - - if (_boArtLeggeRemoteModel != null) { - try { - Class clazz = _boArtLeggeRemoteModel.getClass(); - - Method method = clazz.getMethod("setDescLong", String.class); - - method.invoke(_boArtLeggeRemoteModel, descLong); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - public BaseModel getBoArtLeggeRemoteModel() { - return _boArtLeggeRemoteModel; - } - - public void setBoArtLeggeRemoteModel(BaseModel boArtLeggeRemoteModel) { - _boArtLeggeRemoteModel = boArtLeggeRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _boArtLeggeRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_boArtLeggeRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoArtLeggeLocalServiceUtil.addBoArtLegge(this); - } - else { - BoArtLeggeLocalServiceUtil.updateBoArtLegge(this); - } - } - - @Override - public BoArtLegge toEscapedModel() { - return (BoArtLegge)ProxyUtil.newProxyInstance(BoArtLegge.class.getClassLoader(), - new Class[] { BoArtLegge.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - BoArtLeggeClp clone = new BoArtLeggeClp(); - - clone.setArtLeggeId(getArtLeggeId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setCodArtLegge(getCodArtLegge()); - clone.setTipologia(getTipologia()); - clone.setDescLong(getDescLong()); - - return clone; - } - - @Override - public int compareTo(BoArtLegge boArtLegge) { - int value = 0; - - value = getCodArtLegge().compareTo(boArtLegge.getCodArtLegge()); - - if (value != 0) { - return value; - } - - return 0; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoArtLeggeClp)) { - return false; - } - - BoArtLeggeClp boArtLegge = (BoArtLeggeClp)obj; - - long primaryKey = boArtLegge.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(19); - - sb.append("{artLeggeId="); - sb.append(getArtLeggeId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", codArtLegge="); - sb.append(getCodArtLegge()); - sb.append(", tipologia="); - sb.append(getTipologia()); - sb.append(", descLong="); - sb.append(getDescLong()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(31); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.BoArtLegge"); - sb.append(""); - - sb.append( - "artLeggeId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "codArtLegge"); - sb.append( - "tipologia"); - sb.append( - "descLong"); - - sb.append(""); - - return sb.toString(); - } - - private long _artLeggeId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private String _codArtLegge; - private String _tipologia; - private String _descLong; - private BaseModel _boArtLeggeRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.importazione.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoArtLeggeModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoArtLeggeModel.java deleted file mode 100644 index d2ead280..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoArtLeggeModel.java +++ /dev/null @@ -1,278 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.AuditedModel; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the BoArtLegge service. Represents a row in the "gc_artlegge" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.importazione.model.impl.BoArtLeggeModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.importazione.model.impl.BoArtLeggeImpl}. - *

- * - * @author 3FC - * @see BoArtLegge - * @see it.tref.liferay.portos.importazione.model.impl.BoArtLeggeImpl - * @see it.tref.liferay.portos.importazione.model.impl.BoArtLeggeModelImpl - * @generated - */ -public interface BoArtLeggeModel extends AuditedModel, BaseModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a bo art legge model instance should use the {@link BoArtLegge} interface instead. - */ - - /** - * Returns the primary key of this bo art legge. - * - * @return the primary key of this bo art legge - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this bo art legge. - * - * @param primaryKey the primary key of this bo art legge - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the art legge ID of this bo art legge. - * - * @return the art legge ID of this bo art legge - */ - public long getArtLeggeId(); - - /** - * Sets the art legge ID of this bo art legge. - * - * @param artLeggeId the art legge ID of this bo art legge - */ - public void setArtLeggeId(long artLeggeId); - - /** - * Returns the company ID of this bo art legge. - * - * @return the company ID of this bo art legge - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this bo art legge. - * - * @param companyId the company ID of this bo art legge - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this bo art legge. - * - * @return the user ID of this bo art legge - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this bo art legge. - * - * @param userId the user ID of this bo art legge - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this bo art legge. - * - * @return the user uuid of this bo art legge - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this bo art legge. - * - * @param userUuid the user uuid of this bo art legge - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this bo art legge. - * - * @return the user name of this bo art legge - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this bo art legge. - * - * @param userName the user name of this bo art legge - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this bo art legge. - * - * @return the create date of this bo art legge - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this bo art legge. - * - * @param createDate the create date of this bo art legge - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this bo art legge. - * - * @return the modified date of this bo art legge - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this bo art legge. - * - * @param modifiedDate the modified date of this bo art legge - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the cod art legge of this bo art legge. - * - * @return the cod art legge of this bo art legge - */ - @AutoEscape - public String getCodArtLegge(); - - /** - * Sets the cod art legge of this bo art legge. - * - * @param codArtLegge the cod art legge of this bo art legge - */ - public void setCodArtLegge(String codArtLegge); - - /** - * Returns the tipologia of this bo art legge. - * - * @return the tipologia of this bo art legge - */ - @AutoEscape - public String getTipologia(); - - /** - * Sets the tipologia of this bo art legge. - * - * @param tipologia the tipologia of this bo art legge - */ - public void setTipologia(String tipologia); - - /** - * Returns the desc long of this bo art legge. - * - * @return the desc long of this bo art legge - */ - @AutoEscape - public String getDescLong(); - - /** - * Sets the desc long of this bo art legge. - * - * @param descLong the desc long of this bo art legge - */ - public void setDescLong(String descLong); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.BoArtLegge boArtLegge); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.importazione.model.BoArtLegge toEscapedModel(); - - @Override - public it.tref.liferay.portos.importazione.model.BoArtLegge toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoArtLeggeSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoArtLeggeSoap.java deleted file mode 100644 index 305ddc3e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoArtLeggeSoap.java +++ /dev/null @@ -1,175 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author 3FC - * @generated - */ -public class BoArtLeggeSoap implements Serializable { - public static BoArtLeggeSoap toSoapModel(BoArtLegge model) { - BoArtLeggeSoap soapModel = new BoArtLeggeSoap(); - - soapModel.setArtLeggeId(model.getArtLeggeId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setCodArtLegge(model.getCodArtLegge()); - soapModel.setTipologia(model.getTipologia()); - soapModel.setDescLong(model.getDescLong()); - - return soapModel; - } - - public static BoArtLeggeSoap[] toSoapModels(BoArtLegge[] models) { - BoArtLeggeSoap[] soapModels = new BoArtLeggeSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static BoArtLeggeSoap[][] toSoapModels(BoArtLegge[][] models) { - BoArtLeggeSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new BoArtLeggeSoap[models.length][models[0].length]; - } - else { - soapModels = new BoArtLeggeSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static BoArtLeggeSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (BoArtLegge model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new BoArtLeggeSoap[soapModels.size()]); - } - - public BoArtLeggeSoap() { - } - - public long getPrimaryKey() { - return _artLeggeId; - } - - public void setPrimaryKey(long pk) { - setArtLeggeId(pk); - } - - public long getArtLeggeId() { - return _artLeggeId; - } - - public void setArtLeggeId(long artLeggeId) { - _artLeggeId = artLeggeId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public String getCodArtLegge() { - return _codArtLegge; - } - - public void setCodArtLegge(String codArtLegge) { - _codArtLegge = codArtLegge; - } - - public String getTipologia() { - return _tipologia; - } - - public void setTipologia(String tipologia) { - _tipologia = tipologia; - } - - public String getDescLong() { - return _descLong; - } - - public void setDescLong(String descLong) { - _descLong = descLong; - } - - private long _artLeggeId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private String _codArtLegge; - private String _tipologia; - private String _descLong; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoArtLeggeWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoArtLeggeWrapper.java deleted file mode 100644 index 918ed462..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoArtLeggeWrapper.java +++ /dev/null @@ -1,486 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link BoArtLegge}. - *

- * - * @author 3FC - * @see BoArtLegge - * @generated - */ -public class BoArtLeggeWrapper implements BoArtLegge, ModelWrapper { - public BoArtLeggeWrapper(BoArtLegge boArtLegge) { - _boArtLegge = boArtLegge; - } - - @Override - public Class getModelClass() { - return BoArtLegge.class; - } - - @Override - public String getModelClassName() { - return BoArtLegge.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("artLeggeId", getArtLeggeId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("codArtLegge", getCodArtLegge()); - attributes.put("tipologia", getTipologia()); - attributes.put("descLong", getDescLong()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long artLeggeId = (Long)attributes.get("artLeggeId"); - - if (artLeggeId != null) { - setArtLeggeId(artLeggeId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - String codArtLegge = (String)attributes.get("codArtLegge"); - - if (codArtLegge != null) { - setCodArtLegge(codArtLegge); - } - - String tipologia = (String)attributes.get("tipologia"); - - if (tipologia != null) { - setTipologia(tipologia); - } - - String descLong = (String)attributes.get("descLong"); - - if (descLong != null) { - setDescLong(descLong); - } - } - - /** - * Returns the primary key of this bo art legge. - * - * @return the primary key of this bo art legge - */ - @Override - public long getPrimaryKey() { - return _boArtLegge.getPrimaryKey(); - } - - /** - * Sets the primary key of this bo art legge. - * - * @param primaryKey the primary key of this bo art legge - */ - @Override - public void setPrimaryKey(long primaryKey) { - _boArtLegge.setPrimaryKey(primaryKey); - } - - /** - * Returns the art legge ID of this bo art legge. - * - * @return the art legge ID of this bo art legge - */ - @Override - public long getArtLeggeId() { - return _boArtLegge.getArtLeggeId(); - } - - /** - * Sets the art legge ID of this bo art legge. - * - * @param artLeggeId the art legge ID of this bo art legge - */ - @Override - public void setArtLeggeId(long artLeggeId) { - _boArtLegge.setArtLeggeId(artLeggeId); - } - - /** - * Returns the company ID of this bo art legge. - * - * @return the company ID of this bo art legge - */ - @Override - public long getCompanyId() { - return _boArtLegge.getCompanyId(); - } - - /** - * Sets the company ID of this bo art legge. - * - * @param companyId the company ID of this bo art legge - */ - @Override - public void setCompanyId(long companyId) { - _boArtLegge.setCompanyId(companyId); - } - - /** - * Returns the user ID of this bo art legge. - * - * @return the user ID of this bo art legge - */ - @Override - public long getUserId() { - return _boArtLegge.getUserId(); - } - - /** - * Sets the user ID of this bo art legge. - * - * @param userId the user ID of this bo art legge - */ - @Override - public void setUserId(long userId) { - _boArtLegge.setUserId(userId); - } - - /** - * Returns the user uuid of this bo art legge. - * - * @return the user uuid of this bo art legge - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _boArtLegge.getUserUuid(); - } - - /** - * Sets the user uuid of this bo art legge. - * - * @param userUuid the user uuid of this bo art legge - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _boArtLegge.setUserUuid(userUuid); - } - - /** - * Returns the user name of this bo art legge. - * - * @return the user name of this bo art legge - */ - @Override - public java.lang.String getUserName() { - return _boArtLegge.getUserName(); - } - - /** - * Sets the user name of this bo art legge. - * - * @param userName the user name of this bo art legge - */ - @Override - public void setUserName(java.lang.String userName) { - _boArtLegge.setUserName(userName); - } - - /** - * Returns the create date of this bo art legge. - * - * @return the create date of this bo art legge - */ - @Override - public java.util.Date getCreateDate() { - return _boArtLegge.getCreateDate(); - } - - /** - * Sets the create date of this bo art legge. - * - * @param createDate the create date of this bo art legge - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _boArtLegge.setCreateDate(createDate); - } - - /** - * Returns the modified date of this bo art legge. - * - * @return the modified date of this bo art legge - */ - @Override - public java.util.Date getModifiedDate() { - return _boArtLegge.getModifiedDate(); - } - - /** - * Sets the modified date of this bo art legge. - * - * @param modifiedDate the modified date of this bo art legge - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _boArtLegge.setModifiedDate(modifiedDate); - } - - /** - * Returns the cod art legge of this bo art legge. - * - * @return the cod art legge of this bo art legge - */ - @Override - public java.lang.String getCodArtLegge() { - return _boArtLegge.getCodArtLegge(); - } - - /** - * Sets the cod art legge of this bo art legge. - * - * @param codArtLegge the cod art legge of this bo art legge - */ - @Override - public void setCodArtLegge(java.lang.String codArtLegge) { - _boArtLegge.setCodArtLegge(codArtLegge); - } - - /** - * Returns the tipologia of this bo art legge. - * - * @return the tipologia of this bo art legge - */ - @Override - public java.lang.String getTipologia() { - return _boArtLegge.getTipologia(); - } - - /** - * Sets the tipologia of this bo art legge. - * - * @param tipologia the tipologia of this bo art legge - */ - @Override - public void setTipologia(java.lang.String tipologia) { - _boArtLegge.setTipologia(tipologia); - } - - /** - * Returns the desc long of this bo art legge. - * - * @return the desc long of this bo art legge - */ - @Override - public java.lang.String getDescLong() { - return _boArtLegge.getDescLong(); - } - - /** - * Sets the desc long of this bo art legge. - * - * @param descLong the desc long of this bo art legge - */ - @Override - public void setDescLong(java.lang.String descLong) { - _boArtLegge.setDescLong(descLong); - } - - @Override - public boolean isNew() { - return _boArtLegge.isNew(); - } - - @Override - public void setNew(boolean n) { - _boArtLegge.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _boArtLegge.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _boArtLegge.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _boArtLegge.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _boArtLegge.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _boArtLegge.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _boArtLegge.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _boArtLegge.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _boArtLegge.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _boArtLegge.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new BoArtLeggeWrapper((BoArtLegge)_boArtLegge.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.BoArtLegge boArtLegge) { - return _boArtLegge.compareTo(boArtLegge); - } - - @Override - public int hashCode() { - return _boArtLegge.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _boArtLegge.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoArtLegge toEscapedModel() { - return new BoArtLeggeWrapper(_boArtLegge.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoArtLegge toUnescapedModel() { - return new BoArtLeggeWrapper(_boArtLegge.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _boArtLegge.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _boArtLegge.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _boArtLegge.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoArtLeggeWrapper)) { - return false; - } - - BoArtLeggeWrapper boArtLeggeWrapper = (BoArtLeggeWrapper)obj; - - if (Validator.equals(_boArtLegge, boArtLeggeWrapper._boArtLegge)) { - return true; - } - - return false; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public BoArtLegge getWrappedBoArtLegge() { - return _boArtLegge; - } - - @Override - public BoArtLegge getWrappedModel() { - return _boArtLegge; - } - - @Override - public void resetOriginalValues() { - _boArtLegge.resetOriginalValues(); - } - - private BoArtLegge _boArtLegge; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoAvviso.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoAvviso.java deleted file mode 100644 index 106e521f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoAvviso.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the BoAvviso service. Represents a row in the "gc_avviso" database table, with each column mapped to a property of this class. - * - * @author 3FC - * @see BoAvvisoModel - * @see it.tref.liferay.portos.importazione.model.impl.BoAvvisoImpl - * @see it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl - * @generated - */ -public interface BoAvviso extends BoAvvisoModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoAvvisoClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoAvvisoClp.java deleted file mode 100644 index 18c8ce0f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoAvvisoClp.java +++ /dev/null @@ -1,1735 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.DateUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.service.BoAvvisoLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.ClpSerializer; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author 3FC - */ -public class BoAvvisoClp extends BaseModelImpl implements BoAvviso { - public BoAvvisoClp() { - } - - @Override - public Class getModelClass() { - return BoAvviso.class; - } - - @Override - public String getModelClassName() { - return BoAvviso.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _avvisoId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setAvvisoId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _avvisoId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("avvisoId", getAvvisoId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("descLong", getDescLong()); - attributes.put("dtAvviso", getDtAvviso()); - attributes.put("tipoAvviso", getTipoAvviso()); - attributes.put("tipoDocumento", getTipoDocumento()); - attributes.put("fileEntryIdTemplate", getFileEntryIdTemplate()); - attributes.put("fileEntryIdBase", getFileEntryIdBase()); - attributes.put("fileEntryIdFirma", getFileEntryIdFirma()); - attributes.put("fileEntryIdInvio", getFileEntryIdInvio()); - attributes.put("dtCreateFileEntryInvio", getDtCreateFileEntryInvio()); - attributes.put("userIdPrimaFirma", getUserIdPrimaFirma()); - attributes.put("userIdSecondaFirma", getUserIdSecondaFirma()); - attributes.put("firmaInCorso", getFirmaInCorso()); - attributes.put("transactionIdPrimaFirma", getTransactionIdPrimaFirma()); - attributes.put("transactionIdSecondaFirma", - getTransactionIdSecondaFirma()); - attributes.put("inviato", getInviato()); - attributes.put("dtInvio", getDtInvio()); - attributes.put("annullato", getAnnullato()); - attributes.put("errore", getErrore()); - attributes.put("signal", getSignal()); - attributes.put("dtInvioSignal", getDtInvioSignal()); - attributes.put("tempistica", getTempistica()); - attributes.put("dtTempistica", getDtTempistica()); - attributes.put("daxId", getDaxId()); - attributes.put("dtInvioDax", getDtInvioDax()); - attributes.put("erroreDax", getErroreDax()); - attributes.put("dtErroreDax", getDtErroreDax()); - attributes.put("jsonParameters", getJsonParameters()); - attributes.put("protocollo", getProtocollo()); - attributes.put("inviatoTecnico", getInviatoTecnico()); - attributes.put("dettPraticaId", getDettPraticaId()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long avvisoId = (Long)attributes.get("avvisoId"); - - if (avvisoId != null) { - setAvvisoId(avvisoId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - String descLong = (String)attributes.get("descLong"); - - if (descLong != null) { - setDescLong(descLong); - } - - Date dtAvviso = (Date)attributes.get("dtAvviso"); - - if (dtAvviso != null) { - setDtAvviso(dtAvviso); - } - - String tipoAvviso = (String)attributes.get("tipoAvviso"); - - if (tipoAvviso != null) { - setTipoAvviso(tipoAvviso); - } - - String tipoDocumento = (String)attributes.get("tipoDocumento"); - - if (tipoDocumento != null) { - setTipoDocumento(tipoDocumento); - } - - Long fileEntryIdTemplate = (Long)attributes.get("fileEntryIdTemplate"); - - if (fileEntryIdTemplate != null) { - setFileEntryIdTemplate(fileEntryIdTemplate); - } - - Long fileEntryIdBase = (Long)attributes.get("fileEntryIdBase"); - - if (fileEntryIdBase != null) { - setFileEntryIdBase(fileEntryIdBase); - } - - Long fileEntryIdFirma = (Long)attributes.get("fileEntryIdFirma"); - - if (fileEntryIdFirma != null) { - setFileEntryIdFirma(fileEntryIdFirma); - } - - Long fileEntryIdInvio = (Long)attributes.get("fileEntryIdInvio"); - - if (fileEntryIdInvio != null) { - setFileEntryIdInvio(fileEntryIdInvio); - } - - Date dtCreateFileEntryInvio = (Date)attributes.get( - "dtCreateFileEntryInvio"); - - if (dtCreateFileEntryInvio != null) { - setDtCreateFileEntryInvio(dtCreateFileEntryInvio); - } - - Long userIdPrimaFirma = (Long)attributes.get("userIdPrimaFirma"); - - if (userIdPrimaFirma != null) { - setUserIdPrimaFirma(userIdPrimaFirma); - } - - Long userIdSecondaFirma = (Long)attributes.get("userIdSecondaFirma"); - - if (userIdSecondaFirma != null) { - setUserIdSecondaFirma(userIdSecondaFirma); - } - - Boolean firmaInCorso = (Boolean)attributes.get("firmaInCorso"); - - if (firmaInCorso != null) { - setFirmaInCorso(firmaInCorso); - } - - String transactionIdPrimaFirma = (String)attributes.get( - "transactionIdPrimaFirma"); - - if (transactionIdPrimaFirma != null) { - setTransactionIdPrimaFirma(transactionIdPrimaFirma); - } - - String transactionIdSecondaFirma = (String)attributes.get( - "transactionIdSecondaFirma"); - - if (transactionIdSecondaFirma != null) { - setTransactionIdSecondaFirma(transactionIdSecondaFirma); - } - - String inviato = (String)attributes.get("inviato"); - - if (inviato != null) { - setInviato(inviato); - } - - Date dtInvio = (Date)attributes.get("dtInvio"); - - if (dtInvio != null) { - setDtInvio(dtInvio); - } - - Boolean annullato = (Boolean)attributes.get("annullato"); - - if (annullato != null) { - setAnnullato(annullato); - } - - Boolean errore = (Boolean)attributes.get("errore"); - - if (errore != null) { - setErrore(errore); - } - - Boolean signal = (Boolean)attributes.get("signal"); - - if (signal != null) { - setSignal(signal); - } - - Date dtInvioSignal = (Date)attributes.get("dtInvioSignal"); - - if (dtInvioSignal != null) { - setDtInvioSignal(dtInvioSignal); - } - - Boolean tempistica = (Boolean)attributes.get("tempistica"); - - if (tempistica != null) { - setTempistica(tempistica); - } - - Date dtTempistica = (Date)attributes.get("dtTempistica"); - - if (dtTempistica != null) { - setDtTempistica(dtTempistica); - } - - Long daxId = (Long)attributes.get("daxId"); - - if (daxId != null) { - setDaxId(daxId); - } - - Date dtInvioDax = (Date)attributes.get("dtInvioDax"); - - if (dtInvioDax != null) { - setDtInvioDax(dtInvioDax); - } - - String erroreDax = (String)attributes.get("erroreDax"); - - if (erroreDax != null) { - setErroreDax(erroreDax); - } - - Date dtErroreDax = (Date)attributes.get("dtErroreDax"); - - if (dtErroreDax != null) { - setDtErroreDax(dtErroreDax); - } - - String jsonParameters = (String)attributes.get("jsonParameters"); - - if (jsonParameters != null) { - setJsonParameters(jsonParameters); - } - - String protocollo = (String)attributes.get("protocollo"); - - if (protocollo != null) { - setProtocollo(protocollo); - } - - Boolean inviatoTecnico = (Boolean)attributes.get("inviatoTecnico"); - - if (inviatoTecnico != null) { - setInviatoTecnico(inviatoTecnico); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - } - - @Override - public String getUuid() { - return _uuid; - } - - @Override - public void setUuid(String uuid) { - _uuid = uuid; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setUuid", String.class); - - method.invoke(_boAvvisoRemoteModel, uuid); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getAvvisoId() { - return _avvisoId; - } - - @Override - public void setAvvisoId(long avvisoId) { - _avvisoId = avvisoId; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setAvvisoId", long.class); - - method.invoke(_boAvvisoRemoteModel, avvisoId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_boAvvisoRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_boAvvisoRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_boAvvisoRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_boAvvisoRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_boAvvisoRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_boAvvisoRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getDescLong() { - return _descLong; - } - - @Override - public void setDescLong(String descLong) { - _descLong = descLong; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setDescLong", String.class); - - method.invoke(_boAvvisoRemoteModel, descLong); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDtAvviso() { - return _dtAvviso; - } - - @Override - public void setDtAvviso(Date dtAvviso) { - _dtAvviso = dtAvviso; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setDtAvviso", Date.class); - - method.invoke(_boAvvisoRemoteModel, dtAvviso); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getTipoAvviso() { - return _tipoAvviso; - } - - @Override - public void setTipoAvviso(String tipoAvviso) { - _tipoAvviso = tipoAvviso; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setTipoAvviso", String.class); - - method.invoke(_boAvvisoRemoteModel, tipoAvviso); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getTipoDocumento() { - return _tipoDocumento; - } - - @Override - public void setTipoDocumento(String tipoDocumento) { - _tipoDocumento = tipoDocumento; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setTipoDocumento", String.class); - - method.invoke(_boAvvisoRemoteModel, tipoDocumento); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getFileEntryIdTemplate() { - return _fileEntryIdTemplate; - } - - @Override - public void setFileEntryIdTemplate(long fileEntryIdTemplate) { - _fileEntryIdTemplate = fileEntryIdTemplate; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setFileEntryIdTemplate", - long.class); - - method.invoke(_boAvvisoRemoteModel, fileEntryIdTemplate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getFileEntryIdBase() { - return _fileEntryIdBase; - } - - @Override - public void setFileEntryIdBase(long fileEntryIdBase) { - _fileEntryIdBase = fileEntryIdBase; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setFileEntryIdBase", long.class); - - method.invoke(_boAvvisoRemoteModel, fileEntryIdBase); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getFileEntryIdFirma() { - return _fileEntryIdFirma; - } - - @Override - public void setFileEntryIdFirma(long fileEntryIdFirma) { - _fileEntryIdFirma = fileEntryIdFirma; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setFileEntryIdFirma", - long.class); - - method.invoke(_boAvvisoRemoteModel, fileEntryIdFirma); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getFileEntryIdInvio() { - return _fileEntryIdInvio; - } - - @Override - public void setFileEntryIdInvio(long fileEntryIdInvio) { - _fileEntryIdInvio = fileEntryIdInvio; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setFileEntryIdInvio", - long.class); - - method.invoke(_boAvvisoRemoteModel, fileEntryIdInvio); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDtCreateFileEntryInvio() { - return _dtCreateFileEntryInvio; - } - - @Override - public void setDtCreateFileEntryInvio(Date dtCreateFileEntryInvio) { - _dtCreateFileEntryInvio = dtCreateFileEntryInvio; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setDtCreateFileEntryInvio", - Date.class); - - method.invoke(_boAvvisoRemoteModel, dtCreateFileEntryInvio); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserIdPrimaFirma() { - return _userIdPrimaFirma; - } - - @Override - public void setUserIdPrimaFirma(long userIdPrimaFirma) { - _userIdPrimaFirma = userIdPrimaFirma; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserIdPrimaFirma", - long.class); - - method.invoke(_boAvvisoRemoteModel, userIdPrimaFirma); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserIdSecondaFirma() { - return _userIdSecondaFirma; - } - - @Override - public void setUserIdSecondaFirma(long userIdSecondaFirma) { - _userIdSecondaFirma = userIdSecondaFirma; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserIdSecondaFirma", - long.class); - - method.invoke(_boAvvisoRemoteModel, userIdSecondaFirma); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getFirmaInCorso() { - return _firmaInCorso; - } - - @Override - public boolean isFirmaInCorso() { - return _firmaInCorso; - } - - @Override - public void setFirmaInCorso(boolean firmaInCorso) { - _firmaInCorso = firmaInCorso; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setFirmaInCorso", boolean.class); - - method.invoke(_boAvvisoRemoteModel, firmaInCorso); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getTransactionIdPrimaFirma() { - return _transactionIdPrimaFirma; - } - - @Override - public void setTransactionIdPrimaFirma(String transactionIdPrimaFirma) { - _transactionIdPrimaFirma = transactionIdPrimaFirma; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setTransactionIdPrimaFirma", - String.class); - - method.invoke(_boAvvisoRemoteModel, transactionIdPrimaFirma); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getTransactionIdSecondaFirma() { - return _transactionIdSecondaFirma; - } - - @Override - public void setTransactionIdSecondaFirma(String transactionIdSecondaFirma) { - _transactionIdSecondaFirma = transactionIdSecondaFirma; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setTransactionIdSecondaFirma", - String.class); - - method.invoke(_boAvvisoRemoteModel, transactionIdSecondaFirma); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getInviato() { - return _inviato; - } - - @Override - public void setInviato(String inviato) { - _inviato = inviato; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setInviato", String.class); - - method.invoke(_boAvvisoRemoteModel, inviato); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDtInvio() { - return _dtInvio; - } - - @Override - public void setDtInvio(Date dtInvio) { - _dtInvio = dtInvio; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setDtInvio", Date.class); - - method.invoke(_boAvvisoRemoteModel, dtInvio); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getAnnullato() { - return _annullato; - } - - @Override - public boolean isAnnullato() { - return _annullato; - } - - @Override - public void setAnnullato(boolean annullato) { - _annullato = annullato; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setAnnullato", boolean.class); - - method.invoke(_boAvvisoRemoteModel, annullato); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getErrore() { - return _errore; - } - - @Override - public boolean isErrore() { - return _errore; - } - - @Override - public void setErrore(boolean errore) { - _errore = errore; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setErrore", boolean.class); - - method.invoke(_boAvvisoRemoteModel, errore); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getSignal() { - return _signal; - } - - @Override - public boolean isSignal() { - return _signal; - } - - @Override - public void setSignal(boolean signal) { - _signal = signal; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setSignal", boolean.class); - - method.invoke(_boAvvisoRemoteModel, signal); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDtInvioSignal() { - return _dtInvioSignal; - } - - @Override - public void setDtInvioSignal(Date dtInvioSignal) { - _dtInvioSignal = dtInvioSignal; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setDtInvioSignal", Date.class); - - method.invoke(_boAvvisoRemoteModel, dtInvioSignal); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getTempistica() { - return _tempistica; - } - - @Override - public boolean isTempistica() { - return _tempistica; - } - - @Override - public void setTempistica(boolean tempistica) { - _tempistica = tempistica; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setTempistica", boolean.class); - - method.invoke(_boAvvisoRemoteModel, tempistica); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDtTempistica() { - return _dtTempistica; - } - - @Override - public void setDtTempistica(Date dtTempistica) { - _dtTempistica = dtTempistica; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setDtTempistica", Date.class); - - method.invoke(_boAvvisoRemoteModel, dtTempistica); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getDaxId() { - return _daxId; - } - - @Override - public void setDaxId(long daxId) { - _daxId = daxId; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setDaxId", long.class); - - method.invoke(_boAvvisoRemoteModel, daxId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDtInvioDax() { - return _dtInvioDax; - } - - @Override - public void setDtInvioDax(Date dtInvioDax) { - _dtInvioDax = dtInvioDax; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setDtInvioDax", Date.class); - - method.invoke(_boAvvisoRemoteModel, dtInvioDax); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getErroreDax() { - return _erroreDax; - } - - @Override - public void setErroreDax(String erroreDax) { - _erroreDax = erroreDax; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setErroreDax", String.class); - - method.invoke(_boAvvisoRemoteModel, erroreDax); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDtErroreDax() { - return _dtErroreDax; - } - - @Override - public void setDtErroreDax(Date dtErroreDax) { - _dtErroreDax = dtErroreDax; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setDtErroreDax", Date.class); - - method.invoke(_boAvvisoRemoteModel, dtErroreDax); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getJsonParameters() { - return _jsonParameters; - } - - @Override - public void setJsonParameters(String jsonParameters) { - _jsonParameters = jsonParameters; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setJsonParameters", - String.class); - - method.invoke(_boAvvisoRemoteModel, jsonParameters); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getProtocollo() { - return _protocollo; - } - - @Override - public void setProtocollo(String protocollo) { - _protocollo = protocollo; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setProtocollo", String.class); - - method.invoke(_boAvvisoRemoteModel, protocollo); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getInviatoTecnico() { - return _inviatoTecnico; - } - - @Override - public boolean isInviatoTecnico() { - return _inviatoTecnico; - } - - @Override - public void setInviatoTecnico(boolean inviatoTecnico) { - _inviatoTecnico = inviatoTecnico; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setInviatoTecnico", - boolean.class); - - method.invoke(_boAvvisoRemoteModel, inviatoTecnico); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getDettPraticaId() { - return _dettPraticaId; - } - - @Override - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setDettPraticaId", long.class); - - method.invoke(_boAvvisoRemoteModel, dettPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoAvviso.class.getName())); - } - - public BaseModel getBoAvvisoRemoteModel() { - return _boAvvisoRemoteModel; - } - - public void setBoAvvisoRemoteModel(BaseModel boAvvisoRemoteModel) { - _boAvvisoRemoteModel = boAvvisoRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _boAvvisoRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_boAvvisoRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoAvvisoLocalServiceUtil.addBoAvviso(this); - } - else { - BoAvvisoLocalServiceUtil.updateBoAvviso(this); - } - } - - @Override - public BoAvviso toEscapedModel() { - return (BoAvviso)ProxyUtil.newProxyInstance(BoAvviso.class.getClassLoader(), - new Class[] { BoAvviso.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - BoAvvisoClp clone = new BoAvvisoClp(); - - clone.setUuid(getUuid()); - clone.setAvvisoId(getAvvisoId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setGroupId(getGroupId()); - clone.setDescLong(getDescLong()); - clone.setDtAvviso(getDtAvviso()); - clone.setTipoAvviso(getTipoAvviso()); - clone.setTipoDocumento(getTipoDocumento()); - clone.setFileEntryIdTemplate(getFileEntryIdTemplate()); - clone.setFileEntryIdBase(getFileEntryIdBase()); - clone.setFileEntryIdFirma(getFileEntryIdFirma()); - clone.setFileEntryIdInvio(getFileEntryIdInvio()); - clone.setDtCreateFileEntryInvio(getDtCreateFileEntryInvio()); - clone.setUserIdPrimaFirma(getUserIdPrimaFirma()); - clone.setUserIdSecondaFirma(getUserIdSecondaFirma()); - clone.setFirmaInCorso(getFirmaInCorso()); - clone.setTransactionIdPrimaFirma(getTransactionIdPrimaFirma()); - clone.setTransactionIdSecondaFirma(getTransactionIdSecondaFirma()); - clone.setInviato(getInviato()); - clone.setDtInvio(getDtInvio()); - clone.setAnnullato(getAnnullato()); - clone.setErrore(getErrore()); - clone.setSignal(getSignal()); - clone.setDtInvioSignal(getDtInvioSignal()); - clone.setTempistica(getTempistica()); - clone.setDtTempistica(getDtTempistica()); - clone.setDaxId(getDaxId()); - clone.setDtInvioDax(getDtInvioDax()); - clone.setErroreDax(getErroreDax()); - clone.setDtErroreDax(getDtErroreDax()); - clone.setJsonParameters(getJsonParameters()); - clone.setProtocollo(getProtocollo()); - clone.setInviatoTecnico(getInviatoTecnico()); - clone.setDettPraticaId(getDettPraticaId()); - - return clone; - } - - @Override - public int compareTo(BoAvviso boAvviso) { - int value = 0; - - value = DateUtil.compareTo(getDtAvviso(), boAvviso.getDtAvviso()); - - value = value * -1; - - if (value != 0) { - return value; - } - - return 0; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoAvvisoClp)) { - return false; - } - - BoAvvisoClp boAvviso = (BoAvvisoClp)obj; - - long primaryKey = boAvviso.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(77); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", avvisoId="); - sb.append(getAvvisoId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", descLong="); - sb.append(getDescLong()); - sb.append(", dtAvviso="); - sb.append(getDtAvviso()); - sb.append(", tipoAvviso="); - sb.append(getTipoAvviso()); - sb.append(", tipoDocumento="); - sb.append(getTipoDocumento()); - sb.append(", fileEntryIdTemplate="); - sb.append(getFileEntryIdTemplate()); - sb.append(", fileEntryIdBase="); - sb.append(getFileEntryIdBase()); - sb.append(", fileEntryIdFirma="); - sb.append(getFileEntryIdFirma()); - sb.append(", fileEntryIdInvio="); - sb.append(getFileEntryIdInvio()); - sb.append(", dtCreateFileEntryInvio="); - sb.append(getDtCreateFileEntryInvio()); - sb.append(", userIdPrimaFirma="); - sb.append(getUserIdPrimaFirma()); - sb.append(", userIdSecondaFirma="); - sb.append(getUserIdSecondaFirma()); - sb.append(", firmaInCorso="); - sb.append(getFirmaInCorso()); - sb.append(", transactionIdPrimaFirma="); - sb.append(getTransactionIdPrimaFirma()); - sb.append(", transactionIdSecondaFirma="); - sb.append(getTransactionIdSecondaFirma()); - sb.append(", inviato="); - sb.append(getInviato()); - sb.append(", dtInvio="); - sb.append(getDtInvio()); - sb.append(", annullato="); - sb.append(getAnnullato()); - sb.append(", errore="); - sb.append(getErrore()); - sb.append(", signal="); - sb.append(getSignal()); - sb.append(", dtInvioSignal="); - sb.append(getDtInvioSignal()); - sb.append(", tempistica="); - sb.append(getTempistica()); - sb.append(", dtTempistica="); - sb.append(getDtTempistica()); - sb.append(", daxId="); - sb.append(getDaxId()); - sb.append(", dtInvioDax="); - sb.append(getDtInvioDax()); - sb.append(", erroreDax="); - sb.append(getErroreDax()); - sb.append(", dtErroreDax="); - sb.append(getDtErroreDax()); - sb.append(", jsonParameters="); - sb.append(getJsonParameters()); - sb.append(", protocollo="); - sb.append(getProtocollo()); - sb.append(", inviatoTecnico="); - sb.append(getInviatoTecnico()); - sb.append(", dettPraticaId="); - sb.append(getDettPraticaId()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(118); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.BoAvviso"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "avvisoId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "descLong"); - sb.append( - "dtAvviso"); - sb.append( - "tipoAvviso"); - sb.append( - "tipoDocumento"); - sb.append( - "fileEntryIdTemplate"); - sb.append( - "fileEntryIdBase"); - sb.append( - "fileEntryIdFirma"); - sb.append( - "fileEntryIdInvio"); - sb.append( - "dtCreateFileEntryInvio"); - sb.append( - "userIdPrimaFirma"); - sb.append( - "userIdSecondaFirma"); - sb.append( - "firmaInCorso"); - sb.append( - "transactionIdPrimaFirma"); - sb.append( - "transactionIdSecondaFirma"); - sb.append( - "inviato"); - sb.append( - "dtInvio"); - sb.append( - "annullato"); - sb.append( - "errore"); - sb.append( - "signal"); - sb.append( - "dtInvioSignal"); - sb.append( - "tempistica"); - sb.append( - "dtTempistica"); - sb.append( - "daxId"); - sb.append( - "dtInvioDax"); - sb.append( - "erroreDax"); - sb.append( - "dtErroreDax"); - sb.append( - "jsonParameters"); - sb.append( - "protocollo"); - sb.append( - "inviatoTecnico"); - sb.append( - "dettPraticaId"); - - sb.append(""); - - return sb.toString(); - } - - private String _uuid; - private long _avvisoId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private String _descLong; - private Date _dtAvviso; - private String _tipoAvviso; - private String _tipoDocumento; - private long _fileEntryIdTemplate; - private long _fileEntryIdBase; - private long _fileEntryIdFirma; - private long _fileEntryIdInvio; - private Date _dtCreateFileEntryInvio; - private long _userIdPrimaFirma; - private long _userIdSecondaFirma; - private boolean _firmaInCorso; - private String _transactionIdPrimaFirma; - private String _transactionIdSecondaFirma; - private String _inviato; - private Date _dtInvio; - private boolean _annullato; - private boolean _errore; - private boolean _signal; - private Date _dtInvioSignal; - private boolean _tempistica; - private Date _dtTempistica; - private long _daxId; - private Date _dtInvioDax; - private String _erroreDax; - private Date _dtErroreDax; - private String _jsonParameters; - private String _protocollo; - private boolean _inviatoTecnico; - private long _dettPraticaId; - private BaseModel _boAvvisoRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.importazione.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoAvvisoModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoAvvisoModel.java deleted file mode 100644 index ce0431fe..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoAvvisoModel.java +++ /dev/null @@ -1,737 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.StagedGroupedModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the BoAvviso service. Represents a row in the "gc_avviso" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoImpl}. - *

- * - * @author 3FC - * @see BoAvviso - * @see it.tref.liferay.portos.importazione.model.impl.BoAvvisoImpl - * @see it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl - * @generated - */ -public interface BoAvvisoModel extends BaseModel, StagedGroupedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a bo avviso model instance should use the {@link BoAvviso} interface instead. - */ - - /** - * Returns the primary key of this bo avviso. - * - * @return the primary key of this bo avviso - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this bo avviso. - * - * @param primaryKey the primary key of this bo avviso - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the uuid of this bo avviso. - * - * @return the uuid of this bo avviso - */ - @AutoEscape - @Override - public String getUuid(); - - /** - * Sets the uuid of this bo avviso. - * - * @param uuid the uuid of this bo avviso - */ - @Override - public void setUuid(String uuid); - - /** - * Returns the avviso ID of this bo avviso. - * - * @return the avviso ID of this bo avviso - */ - public long getAvvisoId(); - - /** - * Sets the avviso ID of this bo avviso. - * - * @param avvisoId the avviso ID of this bo avviso - */ - public void setAvvisoId(long avvisoId); - - /** - * Returns the company ID of this bo avviso. - * - * @return the company ID of this bo avviso - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this bo avviso. - * - * @param companyId the company ID of this bo avviso - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this bo avviso. - * - * @return the user ID of this bo avviso - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this bo avviso. - * - * @param userId the user ID of this bo avviso - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this bo avviso. - * - * @return the user uuid of this bo avviso - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this bo avviso. - * - * @param userUuid the user uuid of this bo avviso - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this bo avviso. - * - * @return the user name of this bo avviso - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this bo avviso. - * - * @param userName the user name of this bo avviso - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this bo avviso. - * - * @return the create date of this bo avviso - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this bo avviso. - * - * @param createDate the create date of this bo avviso - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this bo avviso. - * - * @return the modified date of this bo avviso - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this bo avviso. - * - * @param modifiedDate the modified date of this bo avviso - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the group ID of this bo avviso. - * - * @return the group ID of this bo avviso - */ - @Override - public long getGroupId(); - - /** - * Sets the group ID of this bo avviso. - * - * @param groupId the group ID of this bo avviso - */ - @Override - public void setGroupId(long groupId); - - /** - * Returns the desc long of this bo avviso. - * - * @return the desc long of this bo avviso - */ - @AutoEscape - public String getDescLong(); - - /** - * Sets the desc long of this bo avviso. - * - * @param descLong the desc long of this bo avviso - */ - public void setDescLong(String descLong); - - /** - * Returns the dt avviso of this bo avviso. - * - * @return the dt avviso of this bo avviso - */ - public Date getDtAvviso(); - - /** - * Sets the dt avviso of this bo avviso. - * - * @param dtAvviso the dt avviso of this bo avviso - */ - public void setDtAvviso(Date dtAvviso); - - /** - * Returns the tipo avviso of this bo avviso. - * - * @return the tipo avviso of this bo avviso - */ - @AutoEscape - public String getTipoAvviso(); - - /** - * Sets the tipo avviso of this bo avviso. - * - * @param tipoAvviso the tipo avviso of this bo avviso - */ - public void setTipoAvviso(String tipoAvviso); - - /** - * Returns the tipo documento of this bo avviso. - * - * @return the tipo documento of this bo avviso - */ - @AutoEscape - public String getTipoDocumento(); - - /** - * Sets the tipo documento of this bo avviso. - * - * @param tipoDocumento the tipo documento of this bo avviso - */ - public void setTipoDocumento(String tipoDocumento); - - /** - * Returns the file entry ID template of this bo avviso. - * - * @return the file entry ID template of this bo avviso - */ - public long getFileEntryIdTemplate(); - - /** - * Sets the file entry ID template of this bo avviso. - * - * @param fileEntryIdTemplate the file entry ID template of this bo avviso - */ - public void setFileEntryIdTemplate(long fileEntryIdTemplate); - - /** - * Returns the file entry ID base of this bo avviso. - * - * @return the file entry ID base of this bo avviso - */ - public long getFileEntryIdBase(); - - /** - * Sets the file entry ID base of this bo avviso. - * - * @param fileEntryIdBase the file entry ID base of this bo avviso - */ - public void setFileEntryIdBase(long fileEntryIdBase); - - /** - * Returns the file entry ID firma of this bo avviso. - * - * @return the file entry ID firma of this bo avviso - */ - public long getFileEntryIdFirma(); - - /** - * Sets the file entry ID firma of this bo avviso. - * - * @param fileEntryIdFirma the file entry ID firma of this bo avviso - */ - public void setFileEntryIdFirma(long fileEntryIdFirma); - - /** - * Returns the file entry ID invio of this bo avviso. - * - * @return the file entry ID invio of this bo avviso - */ - public long getFileEntryIdInvio(); - - /** - * Sets the file entry ID invio of this bo avviso. - * - * @param fileEntryIdInvio the file entry ID invio of this bo avviso - */ - public void setFileEntryIdInvio(long fileEntryIdInvio); - - /** - * Returns the dt create file entry invio of this bo avviso. - * - * @return the dt create file entry invio of this bo avviso - */ - public Date getDtCreateFileEntryInvio(); - - /** - * Sets the dt create file entry invio of this bo avviso. - * - * @param dtCreateFileEntryInvio the dt create file entry invio of this bo avviso - */ - public void setDtCreateFileEntryInvio(Date dtCreateFileEntryInvio); - - /** - * Returns the user ID prima firma of this bo avviso. - * - * @return the user ID prima firma of this bo avviso - */ - public long getUserIdPrimaFirma(); - - /** - * Sets the user ID prima firma of this bo avviso. - * - * @param userIdPrimaFirma the user ID prima firma of this bo avviso - */ - public void setUserIdPrimaFirma(long userIdPrimaFirma); - - /** - * Returns the user ID seconda firma of this bo avviso. - * - * @return the user ID seconda firma of this bo avviso - */ - public long getUserIdSecondaFirma(); - - /** - * Sets the user ID seconda firma of this bo avviso. - * - * @param userIdSecondaFirma the user ID seconda firma of this bo avviso - */ - public void setUserIdSecondaFirma(long userIdSecondaFirma); - - /** - * Returns the firma in corso of this bo avviso. - * - * @return the firma in corso of this bo avviso - */ - public boolean getFirmaInCorso(); - - /** - * Returns true if this bo avviso is firma in corso. - * - * @return true if this bo avviso is firma in corso; false otherwise - */ - public boolean isFirmaInCorso(); - - /** - * Sets whether this bo avviso is firma in corso. - * - * @param firmaInCorso the firma in corso of this bo avviso - */ - public void setFirmaInCorso(boolean firmaInCorso); - - /** - * Returns the transaction ID prima firma of this bo avviso. - * - * @return the transaction ID prima firma of this bo avviso - */ - @AutoEscape - public String getTransactionIdPrimaFirma(); - - /** - * Sets the transaction ID prima firma of this bo avviso. - * - * @param transactionIdPrimaFirma the transaction ID prima firma of this bo avviso - */ - public void setTransactionIdPrimaFirma(String transactionIdPrimaFirma); - - /** - * Returns the transaction ID seconda firma of this bo avviso. - * - * @return the transaction ID seconda firma of this bo avviso - */ - @AutoEscape - public String getTransactionIdSecondaFirma(); - - /** - * Sets the transaction ID seconda firma of this bo avviso. - * - * @param transactionIdSecondaFirma the transaction ID seconda firma of this bo avviso - */ - public void setTransactionIdSecondaFirma(String transactionIdSecondaFirma); - - /** - * Returns the inviato of this bo avviso. - * - * @return the inviato of this bo avviso - */ - @AutoEscape - public String getInviato(); - - /** - * Sets the inviato of this bo avviso. - * - * @param inviato the inviato of this bo avviso - */ - public void setInviato(String inviato); - - /** - * Returns the dt invio of this bo avviso. - * - * @return the dt invio of this bo avviso - */ - public Date getDtInvio(); - - /** - * Sets the dt invio of this bo avviso. - * - * @param dtInvio the dt invio of this bo avviso - */ - public void setDtInvio(Date dtInvio); - - /** - * Returns the annullato of this bo avviso. - * - * @return the annullato of this bo avviso - */ - public boolean getAnnullato(); - - /** - * Returns true if this bo avviso is annullato. - * - * @return true if this bo avviso is annullato; false otherwise - */ - public boolean isAnnullato(); - - /** - * Sets whether this bo avviso is annullato. - * - * @param annullato the annullato of this bo avviso - */ - public void setAnnullato(boolean annullato); - - /** - * Returns the errore of this bo avviso. - * - * @return the errore of this bo avviso - */ - public boolean getErrore(); - - /** - * Returns true if this bo avviso is errore. - * - * @return true if this bo avviso is errore; false otherwise - */ - public boolean isErrore(); - - /** - * Sets whether this bo avviso is errore. - * - * @param errore the errore of this bo avviso - */ - public void setErrore(boolean errore); - - /** - * Returns the signal of this bo avviso. - * - * @return the signal of this bo avviso - */ - public boolean getSignal(); - - /** - * Returns true if this bo avviso is signal. - * - * @return true if this bo avviso is signal; false otherwise - */ - public boolean isSignal(); - - /** - * Sets whether this bo avviso is signal. - * - * @param signal the signal of this bo avviso - */ - public void setSignal(boolean signal); - - /** - * Returns the dt invio signal of this bo avviso. - * - * @return the dt invio signal of this bo avviso - */ - public Date getDtInvioSignal(); - - /** - * Sets the dt invio signal of this bo avviso. - * - * @param dtInvioSignal the dt invio signal of this bo avviso - */ - public void setDtInvioSignal(Date dtInvioSignal); - - /** - * Returns the tempistica of this bo avviso. - * - * @return the tempistica of this bo avviso - */ - public boolean getTempistica(); - - /** - * Returns true if this bo avviso is tempistica. - * - * @return true if this bo avviso is tempistica; false otherwise - */ - public boolean isTempistica(); - - /** - * Sets whether this bo avviso is tempistica. - * - * @param tempistica the tempistica of this bo avviso - */ - public void setTempistica(boolean tempistica); - - /** - * Returns the dt tempistica of this bo avviso. - * - * @return the dt tempistica of this bo avviso - */ - public Date getDtTempistica(); - - /** - * Sets the dt tempistica of this bo avviso. - * - * @param dtTempistica the dt tempistica of this bo avviso - */ - public void setDtTempistica(Date dtTempistica); - - /** - * Returns the dax ID of this bo avviso. - * - * @return the dax ID of this bo avviso - */ - public long getDaxId(); - - /** - * Sets the dax ID of this bo avviso. - * - * @param daxId the dax ID of this bo avviso - */ - public void setDaxId(long daxId); - - /** - * Returns the dt invio dax of this bo avviso. - * - * @return the dt invio dax of this bo avviso - */ - public Date getDtInvioDax(); - - /** - * Sets the dt invio dax of this bo avviso. - * - * @param dtInvioDax the dt invio dax of this bo avviso - */ - public void setDtInvioDax(Date dtInvioDax); - - /** - * Returns the errore dax of this bo avviso. - * - * @return the errore dax of this bo avviso - */ - @AutoEscape - public String getErroreDax(); - - /** - * Sets the errore dax of this bo avviso. - * - * @param erroreDax the errore dax of this bo avviso - */ - public void setErroreDax(String erroreDax); - - /** - * Returns the dt errore dax of this bo avviso. - * - * @return the dt errore dax of this bo avviso - */ - public Date getDtErroreDax(); - - /** - * Sets the dt errore dax of this bo avviso. - * - * @param dtErroreDax the dt errore dax of this bo avviso - */ - public void setDtErroreDax(Date dtErroreDax); - - /** - * Returns the json parameters of this bo avviso. - * - * @return the json parameters of this bo avviso - */ - @AutoEscape - public String getJsonParameters(); - - /** - * Sets the json parameters of this bo avviso. - * - * @param jsonParameters the json parameters of this bo avviso - */ - public void setJsonParameters(String jsonParameters); - - /** - * Returns the protocollo of this bo avviso. - * - * @return the protocollo of this bo avviso - */ - @AutoEscape - public String getProtocollo(); - - /** - * Sets the protocollo of this bo avviso. - * - * @param protocollo the protocollo of this bo avviso - */ - public void setProtocollo(String protocollo); - - /** - * Returns the inviato tecnico of this bo avviso. - * - * @return the inviato tecnico of this bo avviso - */ - public boolean getInviatoTecnico(); - - /** - * Returns true if this bo avviso is inviato tecnico. - * - * @return true if this bo avviso is inviato tecnico; false otherwise - */ - public boolean isInviatoTecnico(); - - /** - * Sets whether this bo avviso is inviato tecnico. - * - * @param inviatoTecnico the inviato tecnico of this bo avviso - */ - public void setInviatoTecnico(boolean inviatoTecnico); - - /** - * Returns the dett pratica ID of this bo avviso. - * - * @return the dett pratica ID of this bo avviso - */ - public long getDettPraticaId(); - - /** - * Sets the dett pratica ID of this bo avviso. - * - * @param dettPraticaId the dett pratica ID of this bo avviso - */ - public void setDettPraticaId(long dettPraticaId); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.BoAvviso boAvviso); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.importazione.model.BoAvviso toEscapedModel(); - - @Override - public it.tref.liferay.portos.importazione.model.BoAvviso toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoAvvisoSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoAvvisoSoap.java deleted file mode 100644 index 30c70171..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoAvvisoSoap.java +++ /dev/null @@ -1,489 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author 3FC - * @generated - */ -public class BoAvvisoSoap implements Serializable { - public static BoAvvisoSoap toSoapModel(BoAvviso model) { - BoAvvisoSoap soapModel = new BoAvvisoSoap(); - - soapModel.setUuid(model.getUuid()); - soapModel.setAvvisoId(model.getAvvisoId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setDescLong(model.getDescLong()); - soapModel.setDtAvviso(model.getDtAvviso()); - soapModel.setTipoAvviso(model.getTipoAvviso()); - soapModel.setTipoDocumento(model.getTipoDocumento()); - soapModel.setFileEntryIdTemplate(model.getFileEntryIdTemplate()); - soapModel.setFileEntryIdBase(model.getFileEntryIdBase()); - soapModel.setFileEntryIdFirma(model.getFileEntryIdFirma()); - soapModel.setFileEntryIdInvio(model.getFileEntryIdInvio()); - soapModel.setDtCreateFileEntryInvio(model.getDtCreateFileEntryInvio()); - soapModel.setUserIdPrimaFirma(model.getUserIdPrimaFirma()); - soapModel.setUserIdSecondaFirma(model.getUserIdSecondaFirma()); - soapModel.setFirmaInCorso(model.getFirmaInCorso()); - soapModel.setTransactionIdPrimaFirma(model.getTransactionIdPrimaFirma()); - soapModel.setTransactionIdSecondaFirma(model.getTransactionIdSecondaFirma()); - soapModel.setInviato(model.getInviato()); - soapModel.setDtInvio(model.getDtInvio()); - soapModel.setAnnullato(model.getAnnullato()); - soapModel.setErrore(model.getErrore()); - soapModel.setSignal(model.getSignal()); - soapModel.setDtInvioSignal(model.getDtInvioSignal()); - soapModel.setTempistica(model.getTempistica()); - soapModel.setDtTempistica(model.getDtTempistica()); - soapModel.setDaxId(model.getDaxId()); - soapModel.setDtInvioDax(model.getDtInvioDax()); - soapModel.setErroreDax(model.getErroreDax()); - soapModel.setDtErroreDax(model.getDtErroreDax()); - soapModel.setJsonParameters(model.getJsonParameters()); - soapModel.setProtocollo(model.getProtocollo()); - soapModel.setInviatoTecnico(model.getInviatoTecnico()); - soapModel.setDettPraticaId(model.getDettPraticaId()); - - return soapModel; - } - - public static BoAvvisoSoap[] toSoapModels(BoAvviso[] models) { - BoAvvisoSoap[] soapModels = new BoAvvisoSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static BoAvvisoSoap[][] toSoapModels(BoAvviso[][] models) { - BoAvvisoSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new BoAvvisoSoap[models.length][models[0].length]; - } - else { - soapModels = new BoAvvisoSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static BoAvvisoSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (BoAvviso model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new BoAvvisoSoap[soapModels.size()]); - } - - public BoAvvisoSoap() { - } - - public long getPrimaryKey() { - return _avvisoId; - } - - public void setPrimaryKey(long pk) { - setAvvisoId(pk); - } - - public String getUuid() { - return _uuid; - } - - public void setUuid(String uuid) { - _uuid = uuid; - } - - public long getAvvisoId() { - return _avvisoId; - } - - public void setAvvisoId(long avvisoId) { - _avvisoId = avvisoId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public String getDescLong() { - return _descLong; - } - - public void setDescLong(String descLong) { - _descLong = descLong; - } - - public Date getDtAvviso() { - return _dtAvviso; - } - - public void setDtAvviso(Date dtAvviso) { - _dtAvviso = dtAvviso; - } - - public String getTipoAvviso() { - return _tipoAvviso; - } - - public void setTipoAvviso(String tipoAvviso) { - _tipoAvviso = tipoAvviso; - } - - public String getTipoDocumento() { - return _tipoDocumento; - } - - public void setTipoDocumento(String tipoDocumento) { - _tipoDocumento = tipoDocumento; - } - - public long getFileEntryIdTemplate() { - return _fileEntryIdTemplate; - } - - public void setFileEntryIdTemplate(long fileEntryIdTemplate) { - _fileEntryIdTemplate = fileEntryIdTemplate; - } - - public long getFileEntryIdBase() { - return _fileEntryIdBase; - } - - public void setFileEntryIdBase(long fileEntryIdBase) { - _fileEntryIdBase = fileEntryIdBase; - } - - public long getFileEntryIdFirma() { - return _fileEntryIdFirma; - } - - public void setFileEntryIdFirma(long fileEntryIdFirma) { - _fileEntryIdFirma = fileEntryIdFirma; - } - - public long getFileEntryIdInvio() { - return _fileEntryIdInvio; - } - - public void setFileEntryIdInvio(long fileEntryIdInvio) { - _fileEntryIdInvio = fileEntryIdInvio; - } - - public Date getDtCreateFileEntryInvio() { - return _dtCreateFileEntryInvio; - } - - public void setDtCreateFileEntryInvio(Date dtCreateFileEntryInvio) { - _dtCreateFileEntryInvio = dtCreateFileEntryInvio; - } - - public long getUserIdPrimaFirma() { - return _userIdPrimaFirma; - } - - public void setUserIdPrimaFirma(long userIdPrimaFirma) { - _userIdPrimaFirma = userIdPrimaFirma; - } - - public long getUserIdSecondaFirma() { - return _userIdSecondaFirma; - } - - public void setUserIdSecondaFirma(long userIdSecondaFirma) { - _userIdSecondaFirma = userIdSecondaFirma; - } - - public boolean getFirmaInCorso() { - return _firmaInCorso; - } - - public boolean isFirmaInCorso() { - return _firmaInCorso; - } - - public void setFirmaInCorso(boolean firmaInCorso) { - _firmaInCorso = firmaInCorso; - } - - public String getTransactionIdPrimaFirma() { - return _transactionIdPrimaFirma; - } - - public void setTransactionIdPrimaFirma(String transactionIdPrimaFirma) { - _transactionIdPrimaFirma = transactionIdPrimaFirma; - } - - public String getTransactionIdSecondaFirma() { - return _transactionIdSecondaFirma; - } - - public void setTransactionIdSecondaFirma(String transactionIdSecondaFirma) { - _transactionIdSecondaFirma = transactionIdSecondaFirma; - } - - public String getInviato() { - return _inviato; - } - - public void setInviato(String inviato) { - _inviato = inviato; - } - - public Date getDtInvio() { - return _dtInvio; - } - - public void setDtInvio(Date dtInvio) { - _dtInvio = dtInvio; - } - - public boolean getAnnullato() { - return _annullato; - } - - public boolean isAnnullato() { - return _annullato; - } - - public void setAnnullato(boolean annullato) { - _annullato = annullato; - } - - public boolean getErrore() { - return _errore; - } - - public boolean isErrore() { - return _errore; - } - - public void setErrore(boolean errore) { - _errore = errore; - } - - public boolean getSignal() { - return _signal; - } - - public boolean isSignal() { - return _signal; - } - - public void setSignal(boolean signal) { - _signal = signal; - } - - public Date getDtInvioSignal() { - return _dtInvioSignal; - } - - public void setDtInvioSignal(Date dtInvioSignal) { - _dtInvioSignal = dtInvioSignal; - } - - public boolean getTempistica() { - return _tempistica; - } - - public boolean isTempistica() { - return _tempistica; - } - - public void setTempistica(boolean tempistica) { - _tempistica = tempistica; - } - - public Date getDtTempistica() { - return _dtTempistica; - } - - public void setDtTempistica(Date dtTempistica) { - _dtTempistica = dtTempistica; - } - - public long getDaxId() { - return _daxId; - } - - public void setDaxId(long daxId) { - _daxId = daxId; - } - - public Date getDtInvioDax() { - return _dtInvioDax; - } - - public void setDtInvioDax(Date dtInvioDax) { - _dtInvioDax = dtInvioDax; - } - - public String getErroreDax() { - return _erroreDax; - } - - public void setErroreDax(String erroreDax) { - _erroreDax = erroreDax; - } - - public Date getDtErroreDax() { - return _dtErroreDax; - } - - public void setDtErroreDax(Date dtErroreDax) { - _dtErroreDax = dtErroreDax; - } - - public String getJsonParameters() { - return _jsonParameters; - } - - public void setJsonParameters(String jsonParameters) { - _jsonParameters = jsonParameters; - } - - public String getProtocollo() { - return _protocollo; - } - - public void setProtocollo(String protocollo) { - _protocollo = protocollo; - } - - public boolean getInviatoTecnico() { - return _inviatoTecnico; - } - - public boolean isInviatoTecnico() { - return _inviatoTecnico; - } - - public void setInviatoTecnico(boolean inviatoTecnico) { - _inviatoTecnico = inviatoTecnico; - } - - public long getDettPraticaId() { - return _dettPraticaId; - } - - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - } - - private String _uuid; - private long _avvisoId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private String _descLong; - private Date _dtAvviso; - private String _tipoAvviso; - private String _tipoDocumento; - private long _fileEntryIdTemplate; - private long _fileEntryIdBase; - private long _fileEntryIdFirma; - private long _fileEntryIdInvio; - private Date _dtCreateFileEntryInvio; - private long _userIdPrimaFirma; - private long _userIdSecondaFirma; - private boolean _firmaInCorso; - private String _transactionIdPrimaFirma; - private String _transactionIdSecondaFirma; - private String _inviato; - private Date _dtInvio; - private boolean _annullato; - private boolean _errore; - private boolean _signal; - private Date _dtInvioSignal; - private boolean _tempistica; - private Date _dtTempistica; - private long _daxId; - private Date _dtInvioDax; - private String _erroreDax; - private Date _dtErroreDax; - private String _jsonParameters; - private String _protocollo; - private boolean _inviatoTecnico; - private long _dettPraticaId; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoAvvisoWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoAvvisoWrapper.java deleted file mode 100644 index f1dbd085..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoAvvisoWrapper.java +++ /dev/null @@ -1,1341 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link BoAvviso}. - *

- * - * @author 3FC - * @see BoAvviso - * @generated - */ -public class BoAvvisoWrapper implements BoAvviso, ModelWrapper { - public BoAvvisoWrapper(BoAvviso boAvviso) { - _boAvviso = boAvviso; - } - - @Override - public Class getModelClass() { - return BoAvviso.class; - } - - @Override - public String getModelClassName() { - return BoAvviso.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("avvisoId", getAvvisoId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("descLong", getDescLong()); - attributes.put("dtAvviso", getDtAvviso()); - attributes.put("tipoAvviso", getTipoAvviso()); - attributes.put("tipoDocumento", getTipoDocumento()); - attributes.put("fileEntryIdTemplate", getFileEntryIdTemplate()); - attributes.put("fileEntryIdBase", getFileEntryIdBase()); - attributes.put("fileEntryIdFirma", getFileEntryIdFirma()); - attributes.put("fileEntryIdInvio", getFileEntryIdInvio()); - attributes.put("dtCreateFileEntryInvio", getDtCreateFileEntryInvio()); - attributes.put("userIdPrimaFirma", getUserIdPrimaFirma()); - attributes.put("userIdSecondaFirma", getUserIdSecondaFirma()); - attributes.put("firmaInCorso", getFirmaInCorso()); - attributes.put("transactionIdPrimaFirma", getTransactionIdPrimaFirma()); - attributes.put("transactionIdSecondaFirma", - getTransactionIdSecondaFirma()); - attributes.put("inviato", getInviato()); - attributes.put("dtInvio", getDtInvio()); - attributes.put("annullato", getAnnullato()); - attributes.put("errore", getErrore()); - attributes.put("signal", getSignal()); - attributes.put("dtInvioSignal", getDtInvioSignal()); - attributes.put("tempistica", getTempistica()); - attributes.put("dtTempistica", getDtTempistica()); - attributes.put("daxId", getDaxId()); - attributes.put("dtInvioDax", getDtInvioDax()); - attributes.put("erroreDax", getErroreDax()); - attributes.put("dtErroreDax", getDtErroreDax()); - attributes.put("jsonParameters", getJsonParameters()); - attributes.put("protocollo", getProtocollo()); - attributes.put("inviatoTecnico", getInviatoTecnico()); - attributes.put("dettPraticaId", getDettPraticaId()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long avvisoId = (Long)attributes.get("avvisoId"); - - if (avvisoId != null) { - setAvvisoId(avvisoId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - String descLong = (String)attributes.get("descLong"); - - if (descLong != null) { - setDescLong(descLong); - } - - Date dtAvviso = (Date)attributes.get("dtAvviso"); - - if (dtAvviso != null) { - setDtAvviso(dtAvviso); - } - - String tipoAvviso = (String)attributes.get("tipoAvviso"); - - if (tipoAvviso != null) { - setTipoAvviso(tipoAvviso); - } - - String tipoDocumento = (String)attributes.get("tipoDocumento"); - - if (tipoDocumento != null) { - setTipoDocumento(tipoDocumento); - } - - Long fileEntryIdTemplate = (Long)attributes.get("fileEntryIdTemplate"); - - if (fileEntryIdTemplate != null) { - setFileEntryIdTemplate(fileEntryIdTemplate); - } - - Long fileEntryIdBase = (Long)attributes.get("fileEntryIdBase"); - - if (fileEntryIdBase != null) { - setFileEntryIdBase(fileEntryIdBase); - } - - Long fileEntryIdFirma = (Long)attributes.get("fileEntryIdFirma"); - - if (fileEntryIdFirma != null) { - setFileEntryIdFirma(fileEntryIdFirma); - } - - Long fileEntryIdInvio = (Long)attributes.get("fileEntryIdInvio"); - - if (fileEntryIdInvio != null) { - setFileEntryIdInvio(fileEntryIdInvio); - } - - Date dtCreateFileEntryInvio = (Date)attributes.get( - "dtCreateFileEntryInvio"); - - if (dtCreateFileEntryInvio != null) { - setDtCreateFileEntryInvio(dtCreateFileEntryInvio); - } - - Long userIdPrimaFirma = (Long)attributes.get("userIdPrimaFirma"); - - if (userIdPrimaFirma != null) { - setUserIdPrimaFirma(userIdPrimaFirma); - } - - Long userIdSecondaFirma = (Long)attributes.get("userIdSecondaFirma"); - - if (userIdSecondaFirma != null) { - setUserIdSecondaFirma(userIdSecondaFirma); - } - - Boolean firmaInCorso = (Boolean)attributes.get("firmaInCorso"); - - if (firmaInCorso != null) { - setFirmaInCorso(firmaInCorso); - } - - String transactionIdPrimaFirma = (String)attributes.get( - "transactionIdPrimaFirma"); - - if (transactionIdPrimaFirma != null) { - setTransactionIdPrimaFirma(transactionIdPrimaFirma); - } - - String transactionIdSecondaFirma = (String)attributes.get( - "transactionIdSecondaFirma"); - - if (transactionIdSecondaFirma != null) { - setTransactionIdSecondaFirma(transactionIdSecondaFirma); - } - - String inviato = (String)attributes.get("inviato"); - - if (inviato != null) { - setInviato(inviato); - } - - Date dtInvio = (Date)attributes.get("dtInvio"); - - if (dtInvio != null) { - setDtInvio(dtInvio); - } - - Boolean annullato = (Boolean)attributes.get("annullato"); - - if (annullato != null) { - setAnnullato(annullato); - } - - Boolean errore = (Boolean)attributes.get("errore"); - - if (errore != null) { - setErrore(errore); - } - - Boolean signal = (Boolean)attributes.get("signal"); - - if (signal != null) { - setSignal(signal); - } - - Date dtInvioSignal = (Date)attributes.get("dtInvioSignal"); - - if (dtInvioSignal != null) { - setDtInvioSignal(dtInvioSignal); - } - - Boolean tempistica = (Boolean)attributes.get("tempistica"); - - if (tempistica != null) { - setTempistica(tempistica); - } - - Date dtTempistica = (Date)attributes.get("dtTempistica"); - - if (dtTempistica != null) { - setDtTempistica(dtTempistica); - } - - Long daxId = (Long)attributes.get("daxId"); - - if (daxId != null) { - setDaxId(daxId); - } - - Date dtInvioDax = (Date)attributes.get("dtInvioDax"); - - if (dtInvioDax != null) { - setDtInvioDax(dtInvioDax); - } - - String erroreDax = (String)attributes.get("erroreDax"); - - if (erroreDax != null) { - setErroreDax(erroreDax); - } - - Date dtErroreDax = (Date)attributes.get("dtErroreDax"); - - if (dtErroreDax != null) { - setDtErroreDax(dtErroreDax); - } - - String jsonParameters = (String)attributes.get("jsonParameters"); - - if (jsonParameters != null) { - setJsonParameters(jsonParameters); - } - - String protocollo = (String)attributes.get("protocollo"); - - if (protocollo != null) { - setProtocollo(protocollo); - } - - Boolean inviatoTecnico = (Boolean)attributes.get("inviatoTecnico"); - - if (inviatoTecnico != null) { - setInviatoTecnico(inviatoTecnico); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - } - - /** - * Returns the primary key of this bo avviso. - * - * @return the primary key of this bo avviso - */ - @Override - public long getPrimaryKey() { - return _boAvviso.getPrimaryKey(); - } - - /** - * Sets the primary key of this bo avviso. - * - * @param primaryKey the primary key of this bo avviso - */ - @Override - public void setPrimaryKey(long primaryKey) { - _boAvviso.setPrimaryKey(primaryKey); - } - - /** - * Returns the uuid of this bo avviso. - * - * @return the uuid of this bo avviso - */ - @Override - public java.lang.String getUuid() { - return _boAvviso.getUuid(); - } - - /** - * Sets the uuid of this bo avviso. - * - * @param uuid the uuid of this bo avviso - */ - @Override - public void setUuid(java.lang.String uuid) { - _boAvviso.setUuid(uuid); - } - - /** - * Returns the avviso ID of this bo avviso. - * - * @return the avviso ID of this bo avviso - */ - @Override - public long getAvvisoId() { - return _boAvviso.getAvvisoId(); - } - - /** - * Sets the avviso ID of this bo avviso. - * - * @param avvisoId the avviso ID of this bo avviso - */ - @Override - public void setAvvisoId(long avvisoId) { - _boAvviso.setAvvisoId(avvisoId); - } - - /** - * Returns the company ID of this bo avviso. - * - * @return the company ID of this bo avviso - */ - @Override - public long getCompanyId() { - return _boAvviso.getCompanyId(); - } - - /** - * Sets the company ID of this bo avviso. - * - * @param companyId the company ID of this bo avviso - */ - @Override - public void setCompanyId(long companyId) { - _boAvviso.setCompanyId(companyId); - } - - /** - * Returns the user ID of this bo avviso. - * - * @return the user ID of this bo avviso - */ - @Override - public long getUserId() { - return _boAvviso.getUserId(); - } - - /** - * Sets the user ID of this bo avviso. - * - * @param userId the user ID of this bo avviso - */ - @Override - public void setUserId(long userId) { - _boAvviso.setUserId(userId); - } - - /** - * Returns the user uuid of this bo avviso. - * - * @return the user uuid of this bo avviso - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _boAvviso.getUserUuid(); - } - - /** - * Sets the user uuid of this bo avviso. - * - * @param userUuid the user uuid of this bo avviso - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _boAvviso.setUserUuid(userUuid); - } - - /** - * Returns the user name of this bo avviso. - * - * @return the user name of this bo avviso - */ - @Override - public java.lang.String getUserName() { - return _boAvviso.getUserName(); - } - - /** - * Sets the user name of this bo avviso. - * - * @param userName the user name of this bo avviso - */ - @Override - public void setUserName(java.lang.String userName) { - _boAvviso.setUserName(userName); - } - - /** - * Returns the create date of this bo avviso. - * - * @return the create date of this bo avviso - */ - @Override - public java.util.Date getCreateDate() { - return _boAvviso.getCreateDate(); - } - - /** - * Sets the create date of this bo avviso. - * - * @param createDate the create date of this bo avviso - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _boAvviso.setCreateDate(createDate); - } - - /** - * Returns the modified date of this bo avviso. - * - * @return the modified date of this bo avviso - */ - @Override - public java.util.Date getModifiedDate() { - return _boAvviso.getModifiedDate(); - } - - /** - * Sets the modified date of this bo avviso. - * - * @param modifiedDate the modified date of this bo avviso - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _boAvviso.setModifiedDate(modifiedDate); - } - - /** - * Returns the group ID of this bo avviso. - * - * @return the group ID of this bo avviso - */ - @Override - public long getGroupId() { - return _boAvviso.getGroupId(); - } - - /** - * Sets the group ID of this bo avviso. - * - * @param groupId the group ID of this bo avviso - */ - @Override - public void setGroupId(long groupId) { - _boAvviso.setGroupId(groupId); - } - - /** - * Returns the desc long of this bo avviso. - * - * @return the desc long of this bo avviso - */ - @Override - public java.lang.String getDescLong() { - return _boAvviso.getDescLong(); - } - - /** - * Sets the desc long of this bo avviso. - * - * @param descLong the desc long of this bo avviso - */ - @Override - public void setDescLong(java.lang.String descLong) { - _boAvviso.setDescLong(descLong); - } - - /** - * Returns the dt avviso of this bo avviso. - * - * @return the dt avviso of this bo avviso - */ - @Override - public java.util.Date getDtAvviso() { - return _boAvviso.getDtAvviso(); - } - - /** - * Sets the dt avviso of this bo avviso. - * - * @param dtAvviso the dt avviso of this bo avviso - */ - @Override - public void setDtAvviso(java.util.Date dtAvviso) { - _boAvviso.setDtAvviso(dtAvviso); - } - - /** - * Returns the tipo avviso of this bo avviso. - * - * @return the tipo avviso of this bo avviso - */ - @Override - public java.lang.String getTipoAvviso() { - return _boAvviso.getTipoAvviso(); - } - - /** - * Sets the tipo avviso of this bo avviso. - * - * @param tipoAvviso the tipo avviso of this bo avviso - */ - @Override - public void setTipoAvviso(java.lang.String tipoAvviso) { - _boAvviso.setTipoAvviso(tipoAvviso); - } - - /** - * Returns the tipo documento of this bo avviso. - * - * @return the tipo documento of this bo avviso - */ - @Override - public java.lang.String getTipoDocumento() { - return _boAvviso.getTipoDocumento(); - } - - /** - * Sets the tipo documento of this bo avviso. - * - * @param tipoDocumento the tipo documento of this bo avviso - */ - @Override - public void setTipoDocumento(java.lang.String tipoDocumento) { - _boAvviso.setTipoDocumento(tipoDocumento); - } - - /** - * Returns the file entry ID template of this bo avviso. - * - * @return the file entry ID template of this bo avviso - */ - @Override - public long getFileEntryIdTemplate() { - return _boAvviso.getFileEntryIdTemplate(); - } - - /** - * Sets the file entry ID template of this bo avviso. - * - * @param fileEntryIdTemplate the file entry ID template of this bo avviso - */ - @Override - public void setFileEntryIdTemplate(long fileEntryIdTemplate) { - _boAvviso.setFileEntryIdTemplate(fileEntryIdTemplate); - } - - /** - * Returns the file entry ID base of this bo avviso. - * - * @return the file entry ID base of this bo avviso - */ - @Override - public long getFileEntryIdBase() { - return _boAvviso.getFileEntryIdBase(); - } - - /** - * Sets the file entry ID base of this bo avviso. - * - * @param fileEntryIdBase the file entry ID base of this bo avviso - */ - @Override - public void setFileEntryIdBase(long fileEntryIdBase) { - _boAvviso.setFileEntryIdBase(fileEntryIdBase); - } - - /** - * Returns the file entry ID firma of this bo avviso. - * - * @return the file entry ID firma of this bo avviso - */ - @Override - public long getFileEntryIdFirma() { - return _boAvviso.getFileEntryIdFirma(); - } - - /** - * Sets the file entry ID firma of this bo avviso. - * - * @param fileEntryIdFirma the file entry ID firma of this bo avviso - */ - @Override - public void setFileEntryIdFirma(long fileEntryIdFirma) { - _boAvviso.setFileEntryIdFirma(fileEntryIdFirma); - } - - /** - * Returns the file entry ID invio of this bo avviso. - * - * @return the file entry ID invio of this bo avviso - */ - @Override - public long getFileEntryIdInvio() { - return _boAvviso.getFileEntryIdInvio(); - } - - /** - * Sets the file entry ID invio of this bo avviso. - * - * @param fileEntryIdInvio the file entry ID invio of this bo avviso - */ - @Override - public void setFileEntryIdInvio(long fileEntryIdInvio) { - _boAvviso.setFileEntryIdInvio(fileEntryIdInvio); - } - - /** - * Returns the dt create file entry invio of this bo avviso. - * - * @return the dt create file entry invio of this bo avviso - */ - @Override - public java.util.Date getDtCreateFileEntryInvio() { - return _boAvviso.getDtCreateFileEntryInvio(); - } - - /** - * Sets the dt create file entry invio of this bo avviso. - * - * @param dtCreateFileEntryInvio the dt create file entry invio of this bo avviso - */ - @Override - public void setDtCreateFileEntryInvio(java.util.Date dtCreateFileEntryInvio) { - _boAvviso.setDtCreateFileEntryInvio(dtCreateFileEntryInvio); - } - - /** - * Returns the user ID prima firma of this bo avviso. - * - * @return the user ID prima firma of this bo avviso - */ - @Override - public long getUserIdPrimaFirma() { - return _boAvviso.getUserIdPrimaFirma(); - } - - /** - * Sets the user ID prima firma of this bo avviso. - * - * @param userIdPrimaFirma the user ID prima firma of this bo avviso - */ - @Override - public void setUserIdPrimaFirma(long userIdPrimaFirma) { - _boAvviso.setUserIdPrimaFirma(userIdPrimaFirma); - } - - /** - * Returns the user ID seconda firma of this bo avviso. - * - * @return the user ID seconda firma of this bo avviso - */ - @Override - public long getUserIdSecondaFirma() { - return _boAvviso.getUserIdSecondaFirma(); - } - - /** - * Sets the user ID seconda firma of this bo avviso. - * - * @param userIdSecondaFirma the user ID seconda firma of this bo avviso - */ - @Override - public void setUserIdSecondaFirma(long userIdSecondaFirma) { - _boAvviso.setUserIdSecondaFirma(userIdSecondaFirma); - } - - /** - * Returns the firma in corso of this bo avviso. - * - * @return the firma in corso of this bo avviso - */ - @Override - public boolean getFirmaInCorso() { - return _boAvviso.getFirmaInCorso(); - } - - /** - * Returns true if this bo avviso is firma in corso. - * - * @return true if this bo avviso is firma in corso; false otherwise - */ - @Override - public boolean isFirmaInCorso() { - return _boAvviso.isFirmaInCorso(); - } - - /** - * Sets whether this bo avviso is firma in corso. - * - * @param firmaInCorso the firma in corso of this bo avviso - */ - @Override - public void setFirmaInCorso(boolean firmaInCorso) { - _boAvviso.setFirmaInCorso(firmaInCorso); - } - - /** - * Returns the transaction ID prima firma of this bo avviso. - * - * @return the transaction ID prima firma of this bo avviso - */ - @Override - public java.lang.String getTransactionIdPrimaFirma() { - return _boAvviso.getTransactionIdPrimaFirma(); - } - - /** - * Sets the transaction ID prima firma of this bo avviso. - * - * @param transactionIdPrimaFirma the transaction ID prima firma of this bo avviso - */ - @Override - public void setTransactionIdPrimaFirma( - java.lang.String transactionIdPrimaFirma) { - _boAvviso.setTransactionIdPrimaFirma(transactionIdPrimaFirma); - } - - /** - * Returns the transaction ID seconda firma of this bo avviso. - * - * @return the transaction ID seconda firma of this bo avviso - */ - @Override - public java.lang.String getTransactionIdSecondaFirma() { - return _boAvviso.getTransactionIdSecondaFirma(); - } - - /** - * Sets the transaction ID seconda firma of this bo avviso. - * - * @param transactionIdSecondaFirma the transaction ID seconda firma of this bo avviso - */ - @Override - public void setTransactionIdSecondaFirma( - java.lang.String transactionIdSecondaFirma) { - _boAvviso.setTransactionIdSecondaFirma(transactionIdSecondaFirma); - } - - /** - * Returns the inviato of this bo avviso. - * - * @return the inviato of this bo avviso - */ - @Override - public java.lang.String getInviato() { - return _boAvviso.getInviato(); - } - - /** - * Sets the inviato of this bo avviso. - * - * @param inviato the inviato of this bo avviso - */ - @Override - public void setInviato(java.lang.String inviato) { - _boAvviso.setInviato(inviato); - } - - /** - * Returns the dt invio of this bo avviso. - * - * @return the dt invio of this bo avviso - */ - @Override - public java.util.Date getDtInvio() { - return _boAvviso.getDtInvio(); - } - - /** - * Sets the dt invio of this bo avviso. - * - * @param dtInvio the dt invio of this bo avviso - */ - @Override - public void setDtInvio(java.util.Date dtInvio) { - _boAvviso.setDtInvio(dtInvio); - } - - /** - * Returns the annullato of this bo avviso. - * - * @return the annullato of this bo avviso - */ - @Override - public boolean getAnnullato() { - return _boAvviso.getAnnullato(); - } - - /** - * Returns true if this bo avviso is annullato. - * - * @return true if this bo avviso is annullato; false otherwise - */ - @Override - public boolean isAnnullato() { - return _boAvviso.isAnnullato(); - } - - /** - * Sets whether this bo avviso is annullato. - * - * @param annullato the annullato of this bo avviso - */ - @Override - public void setAnnullato(boolean annullato) { - _boAvviso.setAnnullato(annullato); - } - - /** - * Returns the errore of this bo avviso. - * - * @return the errore of this bo avviso - */ - @Override - public boolean getErrore() { - return _boAvviso.getErrore(); - } - - /** - * Returns true if this bo avviso is errore. - * - * @return true if this bo avviso is errore; false otherwise - */ - @Override - public boolean isErrore() { - return _boAvviso.isErrore(); - } - - /** - * Sets whether this bo avviso is errore. - * - * @param errore the errore of this bo avviso - */ - @Override - public void setErrore(boolean errore) { - _boAvviso.setErrore(errore); - } - - /** - * Returns the signal of this bo avviso. - * - * @return the signal of this bo avviso - */ - @Override - public boolean getSignal() { - return _boAvviso.getSignal(); - } - - /** - * Returns true if this bo avviso is signal. - * - * @return true if this bo avviso is signal; false otherwise - */ - @Override - public boolean isSignal() { - return _boAvviso.isSignal(); - } - - /** - * Sets whether this bo avviso is signal. - * - * @param signal the signal of this bo avviso - */ - @Override - public void setSignal(boolean signal) { - _boAvviso.setSignal(signal); - } - - /** - * Returns the dt invio signal of this bo avviso. - * - * @return the dt invio signal of this bo avviso - */ - @Override - public java.util.Date getDtInvioSignal() { - return _boAvviso.getDtInvioSignal(); - } - - /** - * Sets the dt invio signal of this bo avviso. - * - * @param dtInvioSignal the dt invio signal of this bo avviso - */ - @Override - public void setDtInvioSignal(java.util.Date dtInvioSignal) { - _boAvviso.setDtInvioSignal(dtInvioSignal); - } - - /** - * Returns the tempistica of this bo avviso. - * - * @return the tempistica of this bo avviso - */ - @Override - public boolean getTempistica() { - return _boAvviso.getTempistica(); - } - - /** - * Returns true if this bo avviso is tempistica. - * - * @return true if this bo avviso is tempistica; false otherwise - */ - @Override - public boolean isTempistica() { - return _boAvviso.isTempistica(); - } - - /** - * Sets whether this bo avviso is tempistica. - * - * @param tempistica the tempistica of this bo avviso - */ - @Override - public void setTempistica(boolean tempistica) { - _boAvviso.setTempistica(tempistica); - } - - /** - * Returns the dt tempistica of this bo avviso. - * - * @return the dt tempistica of this bo avviso - */ - @Override - public java.util.Date getDtTempistica() { - return _boAvviso.getDtTempistica(); - } - - /** - * Sets the dt tempistica of this bo avviso. - * - * @param dtTempistica the dt tempistica of this bo avviso - */ - @Override - public void setDtTempistica(java.util.Date dtTempistica) { - _boAvviso.setDtTempistica(dtTempistica); - } - - /** - * Returns the dax ID of this bo avviso. - * - * @return the dax ID of this bo avviso - */ - @Override - public long getDaxId() { - return _boAvviso.getDaxId(); - } - - /** - * Sets the dax ID of this bo avviso. - * - * @param daxId the dax ID of this bo avviso - */ - @Override - public void setDaxId(long daxId) { - _boAvviso.setDaxId(daxId); - } - - /** - * Returns the dt invio dax of this bo avviso. - * - * @return the dt invio dax of this bo avviso - */ - @Override - public java.util.Date getDtInvioDax() { - return _boAvviso.getDtInvioDax(); - } - - /** - * Sets the dt invio dax of this bo avviso. - * - * @param dtInvioDax the dt invio dax of this bo avviso - */ - @Override - public void setDtInvioDax(java.util.Date dtInvioDax) { - _boAvviso.setDtInvioDax(dtInvioDax); - } - - /** - * Returns the errore dax of this bo avviso. - * - * @return the errore dax of this bo avviso - */ - @Override - public java.lang.String getErroreDax() { - return _boAvviso.getErroreDax(); - } - - /** - * Sets the errore dax of this bo avviso. - * - * @param erroreDax the errore dax of this bo avviso - */ - @Override - public void setErroreDax(java.lang.String erroreDax) { - _boAvviso.setErroreDax(erroreDax); - } - - /** - * Returns the dt errore dax of this bo avviso. - * - * @return the dt errore dax of this bo avviso - */ - @Override - public java.util.Date getDtErroreDax() { - return _boAvviso.getDtErroreDax(); - } - - /** - * Sets the dt errore dax of this bo avviso. - * - * @param dtErroreDax the dt errore dax of this bo avviso - */ - @Override - public void setDtErroreDax(java.util.Date dtErroreDax) { - _boAvviso.setDtErroreDax(dtErroreDax); - } - - /** - * Returns the json parameters of this bo avviso. - * - * @return the json parameters of this bo avviso - */ - @Override - public java.lang.String getJsonParameters() { - return _boAvviso.getJsonParameters(); - } - - /** - * Sets the json parameters of this bo avviso. - * - * @param jsonParameters the json parameters of this bo avviso - */ - @Override - public void setJsonParameters(java.lang.String jsonParameters) { - _boAvviso.setJsonParameters(jsonParameters); - } - - /** - * Returns the protocollo of this bo avviso. - * - * @return the protocollo of this bo avviso - */ - @Override - public java.lang.String getProtocollo() { - return _boAvviso.getProtocollo(); - } - - /** - * Sets the protocollo of this bo avviso. - * - * @param protocollo the protocollo of this bo avviso - */ - @Override - public void setProtocollo(java.lang.String protocollo) { - _boAvviso.setProtocollo(protocollo); - } - - /** - * Returns the inviato tecnico of this bo avviso. - * - * @return the inviato tecnico of this bo avviso - */ - @Override - public boolean getInviatoTecnico() { - return _boAvviso.getInviatoTecnico(); - } - - /** - * Returns true if this bo avviso is inviato tecnico. - * - * @return true if this bo avviso is inviato tecnico; false otherwise - */ - @Override - public boolean isInviatoTecnico() { - return _boAvviso.isInviatoTecnico(); - } - - /** - * Sets whether this bo avviso is inviato tecnico. - * - * @param inviatoTecnico the inviato tecnico of this bo avviso - */ - @Override - public void setInviatoTecnico(boolean inviatoTecnico) { - _boAvviso.setInviatoTecnico(inviatoTecnico); - } - - /** - * Returns the dett pratica ID of this bo avviso. - * - * @return the dett pratica ID of this bo avviso - */ - @Override - public long getDettPraticaId() { - return _boAvviso.getDettPraticaId(); - } - - /** - * Sets the dett pratica ID of this bo avviso. - * - * @param dettPraticaId the dett pratica ID of this bo avviso - */ - @Override - public void setDettPraticaId(long dettPraticaId) { - _boAvviso.setDettPraticaId(dettPraticaId); - } - - @Override - public boolean isNew() { - return _boAvviso.isNew(); - } - - @Override - public void setNew(boolean n) { - _boAvviso.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _boAvviso.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _boAvviso.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _boAvviso.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _boAvviso.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _boAvviso.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _boAvviso.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _boAvviso.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _boAvviso.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _boAvviso.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new BoAvvisoWrapper((BoAvviso)_boAvviso.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.BoAvviso boAvviso) { - return _boAvviso.compareTo(boAvviso); - } - - @Override - public int hashCode() { - return _boAvviso.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _boAvviso.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoAvviso toEscapedModel() { - return new BoAvvisoWrapper(_boAvviso.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoAvviso toUnescapedModel() { - return new BoAvvisoWrapper(_boAvviso.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _boAvviso.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _boAvviso.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _boAvviso.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoAvvisoWrapper)) { - return false; - } - - BoAvvisoWrapper boAvvisoWrapper = (BoAvvisoWrapper)obj; - - if (Validator.equals(_boAvviso, boAvvisoWrapper._boAvviso)) { - return true; - } - - return false; - } - - @Override - public StagedModelType getStagedModelType() { - return _boAvviso.getStagedModelType(); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public BoAvviso getWrappedBoAvviso() { - return _boAvviso; - } - - @Override - public BoAvviso getWrappedModel() { - return _boAvviso; - } - - @Override - public void resetOriginalValues() { - _boAvviso.resetOriginalValues(); - } - - private BoAvviso _boAvviso; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoComune.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoComune.java deleted file mode 100644 index 02feda4b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoComune.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the BoComune service. Represents a row in the "gc_comune" database table, with each column mapped to a property of this class. - * - * @author 3FC - * @see BoComuneModel - * @see it.tref.liferay.portos.importazione.model.impl.BoComuneImpl - * @see it.tref.liferay.portos.importazione.model.impl.BoComuneModelImpl - * @generated - */ -public interface BoComune extends BoComuneModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.importazione.model.impl.BoComuneImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoComuneClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoComuneClp.java deleted file mode 100644 index 7069c901..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoComuneClp.java +++ /dev/null @@ -1,617 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.service.BoComuneLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.ClpSerializer; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author 3FC - */ -public class BoComuneClp extends BaseModelImpl implements BoComune { - public BoComuneClp() { - } - - @Override - public Class getModelClass() { - return BoComune.class; - } - - @Override - public String getModelClassName() { - return BoComune.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _comuneId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setComuneId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _comuneId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("comuneId", getComuneId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("provinciaId", getProvinciaId()); - attributes.put("codIstat", getCodIstat()); - attributes.put("codCatastale", getCodCatastale()); - attributes.put("descLong", getDescLong()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long comuneId = (Long)attributes.get("comuneId"); - - if (comuneId != null) { - setComuneId(comuneId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long provinciaId = (Long)attributes.get("provinciaId"); - - if (provinciaId != null) { - setProvinciaId(provinciaId); - } - - String codIstat = (String)attributes.get("codIstat"); - - if (codIstat != null) { - setCodIstat(codIstat); - } - - String codCatastale = (String)attributes.get("codCatastale"); - - if (codCatastale != null) { - setCodCatastale(codCatastale); - } - - String descLong = (String)attributes.get("descLong"); - - if (descLong != null) { - setDescLong(descLong); - } - } - - @Override - public long getComuneId() { - return _comuneId; - } - - @Override - public void setComuneId(long comuneId) { - _comuneId = comuneId; - - if (_boComuneRemoteModel != null) { - try { - Class clazz = _boComuneRemoteModel.getClass(); - - Method method = clazz.getMethod("setComuneId", long.class); - - method.invoke(_boComuneRemoteModel, comuneId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_boComuneRemoteModel != null) { - try { - Class clazz = _boComuneRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_boComuneRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_boComuneRemoteModel != null) { - try { - Class clazz = _boComuneRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_boComuneRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_boComuneRemoteModel != null) { - try { - Class clazz = _boComuneRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_boComuneRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_boComuneRemoteModel != null) { - try { - Class clazz = _boComuneRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_boComuneRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_boComuneRemoteModel != null) { - try { - Class clazz = _boComuneRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_boComuneRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getProvinciaId() { - return _provinciaId; - } - - @Override - public void setProvinciaId(long provinciaId) { - _provinciaId = provinciaId; - - if (_boComuneRemoteModel != null) { - try { - Class clazz = _boComuneRemoteModel.getClass(); - - Method method = clazz.getMethod("setProvinciaId", long.class); - - method.invoke(_boComuneRemoteModel, provinciaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodIstat() { - return _codIstat; - } - - @Override - public void setCodIstat(String codIstat) { - _codIstat = codIstat; - - if (_boComuneRemoteModel != null) { - try { - Class clazz = _boComuneRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodIstat", String.class); - - method.invoke(_boComuneRemoteModel, codIstat); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodCatastale() { - return _codCatastale; - } - - @Override - public void setCodCatastale(String codCatastale) { - _codCatastale = codCatastale; - - if (_boComuneRemoteModel != null) { - try { - Class clazz = _boComuneRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodCatastale", String.class); - - method.invoke(_boComuneRemoteModel, codCatastale); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getDescLong() { - return _descLong; - } - - @Override - public void setDescLong(String descLong) { - _descLong = descLong; - - if (_boComuneRemoteModel != null) { - try { - Class clazz = _boComuneRemoteModel.getClass(); - - Method method = clazz.getMethod("setDescLong", String.class); - - method.invoke(_boComuneRemoteModel, descLong); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - public BaseModel getBoComuneRemoteModel() { - return _boComuneRemoteModel; - } - - public void setBoComuneRemoteModel(BaseModel boComuneRemoteModel) { - _boComuneRemoteModel = boComuneRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _boComuneRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_boComuneRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoComuneLocalServiceUtil.addBoComune(this); - } - else { - BoComuneLocalServiceUtil.updateBoComune(this); - } - } - - @Override - public BoComune toEscapedModel() { - return (BoComune)ProxyUtil.newProxyInstance(BoComune.class.getClassLoader(), - new Class[] { BoComune.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - BoComuneClp clone = new BoComuneClp(); - - clone.setComuneId(getComuneId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setProvinciaId(getProvinciaId()); - clone.setCodIstat(getCodIstat()); - clone.setCodCatastale(getCodCatastale()); - clone.setDescLong(getDescLong()); - - return clone; - } - - @Override - public int compareTo(BoComune boComune) { - int value = 0; - - value = getDescLong().compareTo(boComune.getDescLong()); - - if (value != 0) { - return value; - } - - return 0; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoComuneClp)) { - return false; - } - - BoComuneClp boComune = (BoComuneClp)obj; - - long primaryKey = boComune.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(21); - - sb.append("{comuneId="); - sb.append(getComuneId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", provinciaId="); - sb.append(getProvinciaId()); - sb.append(", codIstat="); - sb.append(getCodIstat()); - sb.append(", codCatastale="); - sb.append(getCodCatastale()); - sb.append(", descLong="); - sb.append(getDescLong()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(34); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.BoComune"); - sb.append(""); - - sb.append( - "comuneId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "provinciaId"); - sb.append( - "codIstat"); - sb.append( - "codCatastale"); - sb.append( - "descLong"); - - sb.append(""); - - return sb.toString(); - } - - private long _comuneId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _provinciaId; - private String _codIstat; - private String _codCatastale; - private String _descLong; - private BaseModel _boComuneRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.importazione.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoComuneModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoComuneModel.java deleted file mode 100644 index 28503466..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoComuneModel.java +++ /dev/null @@ -1,292 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.AuditedModel; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the BoComune service. Represents a row in the "gc_comune" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.importazione.model.impl.BoComuneModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.importazione.model.impl.BoComuneImpl}. - *

- * - * @author 3FC - * @see BoComune - * @see it.tref.liferay.portos.importazione.model.impl.BoComuneImpl - * @see it.tref.liferay.portos.importazione.model.impl.BoComuneModelImpl - * @generated - */ -public interface BoComuneModel extends AuditedModel, BaseModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a bo comune model instance should use the {@link BoComune} interface instead. - */ - - /** - * Returns the primary key of this bo comune. - * - * @return the primary key of this bo comune - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this bo comune. - * - * @param primaryKey the primary key of this bo comune - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the comune ID of this bo comune. - * - * @return the comune ID of this bo comune - */ - public long getComuneId(); - - /** - * Sets the comune ID of this bo comune. - * - * @param comuneId the comune ID of this bo comune - */ - public void setComuneId(long comuneId); - - /** - * Returns the company ID of this bo comune. - * - * @return the company ID of this bo comune - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this bo comune. - * - * @param companyId the company ID of this bo comune - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this bo comune. - * - * @return the user ID of this bo comune - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this bo comune. - * - * @param userId the user ID of this bo comune - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this bo comune. - * - * @return the user uuid of this bo comune - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this bo comune. - * - * @param userUuid the user uuid of this bo comune - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this bo comune. - * - * @return the user name of this bo comune - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this bo comune. - * - * @param userName the user name of this bo comune - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this bo comune. - * - * @return the create date of this bo comune - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this bo comune. - * - * @param createDate the create date of this bo comune - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this bo comune. - * - * @return the modified date of this bo comune - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this bo comune. - * - * @param modifiedDate the modified date of this bo comune - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the provincia ID of this bo comune. - * - * @return the provincia ID of this bo comune - */ - public long getProvinciaId(); - - /** - * Sets the provincia ID of this bo comune. - * - * @param provinciaId the provincia ID of this bo comune - */ - public void setProvinciaId(long provinciaId); - - /** - * Returns the cod istat of this bo comune. - * - * @return the cod istat of this bo comune - */ - @AutoEscape - public String getCodIstat(); - - /** - * Sets the cod istat of this bo comune. - * - * @param codIstat the cod istat of this bo comune - */ - public void setCodIstat(String codIstat); - - /** - * Returns the cod catastale of this bo comune. - * - * @return the cod catastale of this bo comune - */ - @AutoEscape - public String getCodCatastale(); - - /** - * Sets the cod catastale of this bo comune. - * - * @param codCatastale the cod catastale of this bo comune - */ - public void setCodCatastale(String codCatastale); - - /** - * Returns the desc long of this bo comune. - * - * @return the desc long of this bo comune - */ - @AutoEscape - public String getDescLong(); - - /** - * Sets the desc long of this bo comune. - * - * @param descLong the desc long of this bo comune - */ - public void setDescLong(String descLong); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.BoComune boComune); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.importazione.model.BoComune toEscapedModel(); - - @Override - public it.tref.liferay.portos.importazione.model.BoComune toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoComuneSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoComuneSoap.java deleted file mode 100644 index 1021deb9..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoComuneSoap.java +++ /dev/null @@ -1,185 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author 3FC - * @generated - */ -public class BoComuneSoap implements Serializable { - public static BoComuneSoap toSoapModel(BoComune model) { - BoComuneSoap soapModel = new BoComuneSoap(); - - soapModel.setComuneId(model.getComuneId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setProvinciaId(model.getProvinciaId()); - soapModel.setCodIstat(model.getCodIstat()); - soapModel.setCodCatastale(model.getCodCatastale()); - soapModel.setDescLong(model.getDescLong()); - - return soapModel; - } - - public static BoComuneSoap[] toSoapModels(BoComune[] models) { - BoComuneSoap[] soapModels = new BoComuneSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static BoComuneSoap[][] toSoapModels(BoComune[][] models) { - BoComuneSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new BoComuneSoap[models.length][models[0].length]; - } - else { - soapModels = new BoComuneSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static BoComuneSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (BoComune model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new BoComuneSoap[soapModels.size()]); - } - - public BoComuneSoap() { - } - - public long getPrimaryKey() { - return _comuneId; - } - - public void setPrimaryKey(long pk) { - setComuneId(pk); - } - - public long getComuneId() { - return _comuneId; - } - - public void setComuneId(long comuneId) { - _comuneId = comuneId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public long getProvinciaId() { - return _provinciaId; - } - - public void setProvinciaId(long provinciaId) { - _provinciaId = provinciaId; - } - - public String getCodIstat() { - return _codIstat; - } - - public void setCodIstat(String codIstat) { - _codIstat = codIstat; - } - - public String getCodCatastale() { - return _codCatastale; - } - - public void setCodCatastale(String codCatastale) { - _codCatastale = codCatastale; - } - - public String getDescLong() { - return _descLong; - } - - public void setDescLong(String descLong) { - _descLong = descLong; - } - - private long _comuneId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _provinciaId; - private String _codIstat; - private String _codCatastale; - private String _descLong; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoComuneWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoComuneWrapper.java deleted file mode 100644 index 6be53ba8..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoComuneWrapper.java +++ /dev/null @@ -1,513 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link BoComune}. - *

- * - * @author 3FC - * @see BoComune - * @generated - */ -public class BoComuneWrapper implements BoComune, ModelWrapper { - public BoComuneWrapper(BoComune boComune) { - _boComune = boComune; - } - - @Override - public Class getModelClass() { - return BoComune.class; - } - - @Override - public String getModelClassName() { - return BoComune.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("comuneId", getComuneId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("provinciaId", getProvinciaId()); - attributes.put("codIstat", getCodIstat()); - attributes.put("codCatastale", getCodCatastale()); - attributes.put("descLong", getDescLong()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long comuneId = (Long)attributes.get("comuneId"); - - if (comuneId != null) { - setComuneId(comuneId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long provinciaId = (Long)attributes.get("provinciaId"); - - if (provinciaId != null) { - setProvinciaId(provinciaId); - } - - String codIstat = (String)attributes.get("codIstat"); - - if (codIstat != null) { - setCodIstat(codIstat); - } - - String codCatastale = (String)attributes.get("codCatastale"); - - if (codCatastale != null) { - setCodCatastale(codCatastale); - } - - String descLong = (String)attributes.get("descLong"); - - if (descLong != null) { - setDescLong(descLong); - } - } - - /** - * Returns the primary key of this bo comune. - * - * @return the primary key of this bo comune - */ - @Override - public long getPrimaryKey() { - return _boComune.getPrimaryKey(); - } - - /** - * Sets the primary key of this bo comune. - * - * @param primaryKey the primary key of this bo comune - */ - @Override - public void setPrimaryKey(long primaryKey) { - _boComune.setPrimaryKey(primaryKey); - } - - /** - * Returns the comune ID of this bo comune. - * - * @return the comune ID of this bo comune - */ - @Override - public long getComuneId() { - return _boComune.getComuneId(); - } - - /** - * Sets the comune ID of this bo comune. - * - * @param comuneId the comune ID of this bo comune - */ - @Override - public void setComuneId(long comuneId) { - _boComune.setComuneId(comuneId); - } - - /** - * Returns the company ID of this bo comune. - * - * @return the company ID of this bo comune - */ - @Override - public long getCompanyId() { - return _boComune.getCompanyId(); - } - - /** - * Sets the company ID of this bo comune. - * - * @param companyId the company ID of this bo comune - */ - @Override - public void setCompanyId(long companyId) { - _boComune.setCompanyId(companyId); - } - - /** - * Returns the user ID of this bo comune. - * - * @return the user ID of this bo comune - */ - @Override - public long getUserId() { - return _boComune.getUserId(); - } - - /** - * Sets the user ID of this bo comune. - * - * @param userId the user ID of this bo comune - */ - @Override - public void setUserId(long userId) { - _boComune.setUserId(userId); - } - - /** - * Returns the user uuid of this bo comune. - * - * @return the user uuid of this bo comune - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _boComune.getUserUuid(); - } - - /** - * Sets the user uuid of this bo comune. - * - * @param userUuid the user uuid of this bo comune - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _boComune.setUserUuid(userUuid); - } - - /** - * Returns the user name of this bo comune. - * - * @return the user name of this bo comune - */ - @Override - public java.lang.String getUserName() { - return _boComune.getUserName(); - } - - /** - * Sets the user name of this bo comune. - * - * @param userName the user name of this bo comune - */ - @Override - public void setUserName(java.lang.String userName) { - _boComune.setUserName(userName); - } - - /** - * Returns the create date of this bo comune. - * - * @return the create date of this bo comune - */ - @Override - public java.util.Date getCreateDate() { - return _boComune.getCreateDate(); - } - - /** - * Sets the create date of this bo comune. - * - * @param createDate the create date of this bo comune - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _boComune.setCreateDate(createDate); - } - - /** - * Returns the modified date of this bo comune. - * - * @return the modified date of this bo comune - */ - @Override - public java.util.Date getModifiedDate() { - return _boComune.getModifiedDate(); - } - - /** - * Sets the modified date of this bo comune. - * - * @param modifiedDate the modified date of this bo comune - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _boComune.setModifiedDate(modifiedDate); - } - - /** - * Returns the provincia ID of this bo comune. - * - * @return the provincia ID of this bo comune - */ - @Override - public long getProvinciaId() { - return _boComune.getProvinciaId(); - } - - /** - * Sets the provincia ID of this bo comune. - * - * @param provinciaId the provincia ID of this bo comune - */ - @Override - public void setProvinciaId(long provinciaId) { - _boComune.setProvinciaId(provinciaId); - } - - /** - * Returns the cod istat of this bo comune. - * - * @return the cod istat of this bo comune - */ - @Override - public java.lang.String getCodIstat() { - return _boComune.getCodIstat(); - } - - /** - * Sets the cod istat of this bo comune. - * - * @param codIstat the cod istat of this bo comune - */ - @Override - public void setCodIstat(java.lang.String codIstat) { - _boComune.setCodIstat(codIstat); - } - - /** - * Returns the cod catastale of this bo comune. - * - * @return the cod catastale of this bo comune - */ - @Override - public java.lang.String getCodCatastale() { - return _boComune.getCodCatastale(); - } - - /** - * Sets the cod catastale of this bo comune. - * - * @param codCatastale the cod catastale of this bo comune - */ - @Override - public void setCodCatastale(java.lang.String codCatastale) { - _boComune.setCodCatastale(codCatastale); - } - - /** - * Returns the desc long of this bo comune. - * - * @return the desc long of this bo comune - */ - @Override - public java.lang.String getDescLong() { - return _boComune.getDescLong(); - } - - /** - * Sets the desc long of this bo comune. - * - * @param descLong the desc long of this bo comune - */ - @Override - public void setDescLong(java.lang.String descLong) { - _boComune.setDescLong(descLong); - } - - @Override - public boolean isNew() { - return _boComune.isNew(); - } - - @Override - public void setNew(boolean n) { - _boComune.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _boComune.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _boComune.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _boComune.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _boComune.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _boComune.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _boComune.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _boComune.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _boComune.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _boComune.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new BoComuneWrapper((BoComune)_boComune.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.BoComune boComune) { - return _boComune.compareTo(boComune); - } - - @Override - public int hashCode() { - return _boComune.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _boComune.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoComune toEscapedModel() { - return new BoComuneWrapper(_boComune.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoComune toUnescapedModel() { - return new BoComuneWrapper(_boComune.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _boComune.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _boComune.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _boComune.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoComuneWrapper)) { - return false; - } - - BoComuneWrapper boComuneWrapper = (BoComuneWrapper)obj; - - if (Validator.equals(_boComune, boComuneWrapper._boComune)) { - return true; - } - - return false; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public BoComune getWrappedBoComune() { - return _boComune; - } - - @Override - public BoComune getWrappedModel() { - return _boComune; - } - - @Override - public void resetOriginalValues() { - _boComune.resetOriginalValues(); - } - - private BoComune _boComune; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoConfigurazione.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoConfigurazione.java deleted file mode 100644 index 53c05d3b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoConfigurazione.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the BoConfigurazione service. Represents a row in the "gc_configurazione" database table, with each column mapped to a property of this class. - * - * @author 3FC - * @see BoConfigurazioneModel - * @see it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneImpl - * @see it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneModelImpl - * @generated - */ -public interface BoConfigurazione extends BoConfigurazioneModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoConfigurazioneClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoConfigurazioneClp.java deleted file mode 100644 index 8e8a9c64..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoConfigurazioneClp.java +++ /dev/null @@ -1,630 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.ClpSerializer; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author 3FC - */ -public class BoConfigurazioneClp extends BaseModelImpl - implements BoConfigurazione { - public BoConfigurazioneClp() { - } - - @Override - public Class getModelClass() { - return BoConfigurazione.class; - } - - @Override - public String getModelClassName() { - return BoConfigurazione.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _configurazioneId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setConfigurazioneId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _configurazioneId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("configurazioneId", getConfigurazioneId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("chiave", getChiave()); - attributes.put("valore", getValore()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long configurazioneId = (Long)attributes.get("configurazioneId"); - - if (configurazioneId != null) { - setConfigurazioneId(configurazioneId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - String chiave = (String)attributes.get("chiave"); - - if (chiave != null) { - setChiave(chiave); - } - - String valore = (String)attributes.get("valore"); - - if (valore != null) { - setValore(valore); - } - } - - @Override - public String getUuid() { - return _uuid; - } - - @Override - public void setUuid(String uuid) { - _uuid = uuid; - - if (_boConfigurazioneRemoteModel != null) { - try { - Class clazz = _boConfigurazioneRemoteModel.getClass(); - - Method method = clazz.getMethod("setUuid", String.class); - - method.invoke(_boConfigurazioneRemoteModel, uuid); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getConfigurazioneId() { - return _configurazioneId; - } - - @Override - public void setConfigurazioneId(long configurazioneId) { - _configurazioneId = configurazioneId; - - if (_boConfigurazioneRemoteModel != null) { - try { - Class clazz = _boConfigurazioneRemoteModel.getClass(); - - Method method = clazz.getMethod("setConfigurazioneId", - long.class); - - method.invoke(_boConfigurazioneRemoteModel, configurazioneId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_boConfigurazioneRemoteModel != null) { - try { - Class clazz = _boConfigurazioneRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_boConfigurazioneRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_boConfigurazioneRemoteModel != null) { - try { - Class clazz = _boConfigurazioneRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_boConfigurazioneRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_boConfigurazioneRemoteModel != null) { - try { - Class clazz = _boConfigurazioneRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_boConfigurazioneRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_boConfigurazioneRemoteModel != null) { - try { - Class clazz = _boConfigurazioneRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_boConfigurazioneRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_boConfigurazioneRemoteModel != null) { - try { - Class clazz = _boConfigurazioneRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_boConfigurazioneRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_boConfigurazioneRemoteModel != null) { - try { - Class clazz = _boConfigurazioneRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_boConfigurazioneRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getChiave() { - return _chiave; - } - - @Override - public void setChiave(String chiave) { - _chiave = chiave; - - if (_boConfigurazioneRemoteModel != null) { - try { - Class clazz = _boConfigurazioneRemoteModel.getClass(); - - Method method = clazz.getMethod("setChiave", String.class); - - method.invoke(_boConfigurazioneRemoteModel, chiave); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getValore() { - return _valore; - } - - @Override - public void setValore(String valore) { - _valore = valore; - - if (_boConfigurazioneRemoteModel != null) { - try { - Class clazz = _boConfigurazioneRemoteModel.getClass(); - - Method method = clazz.getMethod("setValore", String.class); - - method.invoke(_boConfigurazioneRemoteModel, valore); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoConfigurazione.class.getName())); - } - - public BaseModel getBoConfigurazioneRemoteModel() { - return _boConfigurazioneRemoteModel; - } - - public void setBoConfigurazioneRemoteModel( - BaseModel boConfigurazioneRemoteModel) { - _boConfigurazioneRemoteModel = boConfigurazioneRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _boConfigurazioneRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_boConfigurazioneRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoConfigurazioneLocalServiceUtil.addBoConfigurazione(this); - } - else { - BoConfigurazioneLocalServiceUtil.updateBoConfigurazione(this); - } - } - - @Override - public BoConfigurazione toEscapedModel() { - return (BoConfigurazione)ProxyUtil.newProxyInstance(BoConfigurazione.class.getClassLoader(), - new Class[] { BoConfigurazione.class }, - new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - BoConfigurazioneClp clone = new BoConfigurazioneClp(); - - clone.setUuid(getUuid()); - clone.setConfigurazioneId(getConfigurazioneId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setGroupId(getGroupId()); - clone.setChiave(getChiave()); - clone.setValore(getValore()); - - return clone; - } - - @Override - public int compareTo(BoConfigurazione boConfigurazione) { - long primaryKey = boConfigurazione.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoConfigurazioneClp)) { - return false; - } - - BoConfigurazioneClp boConfigurazione = (BoConfigurazioneClp)obj; - - long primaryKey = boConfigurazione.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(21); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", configurazioneId="); - sb.append(getConfigurazioneId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", chiave="); - sb.append(getChiave()); - sb.append(", valore="); - sb.append(getValore()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(34); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.BoConfigurazione"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "configurazioneId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "chiave"); - sb.append( - "valore"); - - sb.append(""); - - return sb.toString(); - } - - private String _uuid; - private long _configurazioneId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private String _chiave; - private String _valore; - private BaseModel _boConfigurazioneRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.importazione.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoConfigurazioneModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoConfigurazioneModel.java deleted file mode 100644 index c973f89d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoConfigurazioneModel.java +++ /dev/null @@ -1,297 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.StagedGroupedModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the BoConfigurazione service. Represents a row in the "gc_configurazione" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneImpl}. - *

- * - * @author 3FC - * @see BoConfigurazione - * @see it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneImpl - * @see it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneModelImpl - * @generated - */ -public interface BoConfigurazioneModel extends BaseModel, - StagedGroupedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a bo configurazione model instance should use the {@link BoConfigurazione} interface instead. - */ - - /** - * Returns the primary key of this bo configurazione. - * - * @return the primary key of this bo configurazione - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this bo configurazione. - * - * @param primaryKey the primary key of this bo configurazione - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the uuid of this bo configurazione. - * - * @return the uuid of this bo configurazione - */ - @AutoEscape - @Override - public String getUuid(); - - /** - * Sets the uuid of this bo configurazione. - * - * @param uuid the uuid of this bo configurazione - */ - @Override - public void setUuid(String uuid); - - /** - * Returns the configurazione ID of this bo configurazione. - * - * @return the configurazione ID of this bo configurazione - */ - public long getConfigurazioneId(); - - /** - * Sets the configurazione ID of this bo configurazione. - * - * @param configurazioneId the configurazione ID of this bo configurazione - */ - public void setConfigurazioneId(long configurazioneId); - - /** - * Returns the company ID of this bo configurazione. - * - * @return the company ID of this bo configurazione - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this bo configurazione. - * - * @param companyId the company ID of this bo configurazione - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this bo configurazione. - * - * @return the user ID of this bo configurazione - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this bo configurazione. - * - * @param userId the user ID of this bo configurazione - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this bo configurazione. - * - * @return the user uuid of this bo configurazione - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this bo configurazione. - * - * @param userUuid the user uuid of this bo configurazione - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this bo configurazione. - * - * @return the user name of this bo configurazione - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this bo configurazione. - * - * @param userName the user name of this bo configurazione - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this bo configurazione. - * - * @return the create date of this bo configurazione - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this bo configurazione. - * - * @param createDate the create date of this bo configurazione - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this bo configurazione. - * - * @return the modified date of this bo configurazione - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this bo configurazione. - * - * @param modifiedDate the modified date of this bo configurazione - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the group ID of this bo configurazione. - * - * @return the group ID of this bo configurazione - */ - @Override - public long getGroupId(); - - /** - * Sets the group ID of this bo configurazione. - * - * @param groupId the group ID of this bo configurazione - */ - @Override - public void setGroupId(long groupId); - - /** - * Returns the chiave of this bo configurazione. - * - * @return the chiave of this bo configurazione - */ - @AutoEscape - public String getChiave(); - - /** - * Sets the chiave of this bo configurazione. - * - * @param chiave the chiave of this bo configurazione - */ - public void setChiave(String chiave); - - /** - * Returns the valore of this bo configurazione. - * - * @return the valore of this bo configurazione - */ - @AutoEscape - public String getValore(); - - /** - * Sets the valore of this bo configurazione. - * - * @param valore the valore of this bo configurazione - */ - public void setValore(String valore); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.BoConfigurazione boConfigurazione); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.importazione.model.BoConfigurazione toEscapedModel(); - - @Override - public it.tref.liferay.portos.importazione.model.BoConfigurazione toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoConfigurazioneSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoConfigurazioneSoap.java deleted file mode 100644 index dd6fa141..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoConfigurazioneSoap.java +++ /dev/null @@ -1,187 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author 3FC - * @generated - */ -public class BoConfigurazioneSoap implements Serializable { - public static BoConfigurazioneSoap toSoapModel(BoConfigurazione model) { - BoConfigurazioneSoap soapModel = new BoConfigurazioneSoap(); - - soapModel.setUuid(model.getUuid()); - soapModel.setConfigurazioneId(model.getConfigurazioneId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setChiave(model.getChiave()); - soapModel.setValore(model.getValore()); - - return soapModel; - } - - public static BoConfigurazioneSoap[] toSoapModels(BoConfigurazione[] models) { - BoConfigurazioneSoap[] soapModels = new BoConfigurazioneSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static BoConfigurazioneSoap[][] toSoapModels( - BoConfigurazione[][] models) { - BoConfigurazioneSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new BoConfigurazioneSoap[models.length][models[0].length]; - } - else { - soapModels = new BoConfigurazioneSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static BoConfigurazioneSoap[] toSoapModels( - List models) { - List soapModels = new ArrayList(models.size()); - - for (BoConfigurazione model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new BoConfigurazioneSoap[soapModels.size()]); - } - - public BoConfigurazioneSoap() { - } - - public long getPrimaryKey() { - return _configurazioneId; - } - - public void setPrimaryKey(long pk) { - setConfigurazioneId(pk); - } - - public String getUuid() { - return _uuid; - } - - public void setUuid(String uuid) { - _uuid = uuid; - } - - public long getConfigurazioneId() { - return _configurazioneId; - } - - public void setConfigurazioneId(long configurazioneId) { - _configurazioneId = configurazioneId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public String getChiave() { - return _chiave; - } - - public void setChiave(String chiave) { - _chiave = chiave; - } - - public String getValore() { - return _valore; - } - - public void setValore(String valore) { - _valore = valore; - } - - private String _uuid; - private long _configurazioneId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private String _chiave; - private String _valore; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoConfigurazioneWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoConfigurazioneWrapper.java deleted file mode 100644 index e10879e6..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoConfigurazioneWrapper.java +++ /dev/null @@ -1,521 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link BoConfigurazione}. - *

- * - * @author 3FC - * @see BoConfigurazione - * @generated - */ -public class BoConfigurazioneWrapper implements BoConfigurazione, - ModelWrapper { - public BoConfigurazioneWrapper(BoConfigurazione boConfigurazione) { - _boConfigurazione = boConfigurazione; - } - - @Override - public Class getModelClass() { - return BoConfigurazione.class; - } - - @Override - public String getModelClassName() { - return BoConfigurazione.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("configurazioneId", getConfigurazioneId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("chiave", getChiave()); - attributes.put("valore", getValore()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long configurazioneId = (Long)attributes.get("configurazioneId"); - - if (configurazioneId != null) { - setConfigurazioneId(configurazioneId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - String chiave = (String)attributes.get("chiave"); - - if (chiave != null) { - setChiave(chiave); - } - - String valore = (String)attributes.get("valore"); - - if (valore != null) { - setValore(valore); - } - } - - /** - * Returns the primary key of this bo configurazione. - * - * @return the primary key of this bo configurazione - */ - @Override - public long getPrimaryKey() { - return _boConfigurazione.getPrimaryKey(); - } - - /** - * Sets the primary key of this bo configurazione. - * - * @param primaryKey the primary key of this bo configurazione - */ - @Override - public void setPrimaryKey(long primaryKey) { - _boConfigurazione.setPrimaryKey(primaryKey); - } - - /** - * Returns the uuid of this bo configurazione. - * - * @return the uuid of this bo configurazione - */ - @Override - public java.lang.String getUuid() { - return _boConfigurazione.getUuid(); - } - - /** - * Sets the uuid of this bo configurazione. - * - * @param uuid the uuid of this bo configurazione - */ - @Override - public void setUuid(java.lang.String uuid) { - _boConfigurazione.setUuid(uuid); - } - - /** - * Returns the configurazione ID of this bo configurazione. - * - * @return the configurazione ID of this bo configurazione - */ - @Override - public long getConfigurazioneId() { - return _boConfigurazione.getConfigurazioneId(); - } - - /** - * Sets the configurazione ID of this bo configurazione. - * - * @param configurazioneId the configurazione ID of this bo configurazione - */ - @Override - public void setConfigurazioneId(long configurazioneId) { - _boConfigurazione.setConfigurazioneId(configurazioneId); - } - - /** - * Returns the company ID of this bo configurazione. - * - * @return the company ID of this bo configurazione - */ - @Override - public long getCompanyId() { - return _boConfigurazione.getCompanyId(); - } - - /** - * Sets the company ID of this bo configurazione. - * - * @param companyId the company ID of this bo configurazione - */ - @Override - public void setCompanyId(long companyId) { - _boConfigurazione.setCompanyId(companyId); - } - - /** - * Returns the user ID of this bo configurazione. - * - * @return the user ID of this bo configurazione - */ - @Override - public long getUserId() { - return _boConfigurazione.getUserId(); - } - - /** - * Sets the user ID of this bo configurazione. - * - * @param userId the user ID of this bo configurazione - */ - @Override - public void setUserId(long userId) { - _boConfigurazione.setUserId(userId); - } - - /** - * Returns the user uuid of this bo configurazione. - * - * @return the user uuid of this bo configurazione - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _boConfigurazione.getUserUuid(); - } - - /** - * Sets the user uuid of this bo configurazione. - * - * @param userUuid the user uuid of this bo configurazione - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _boConfigurazione.setUserUuid(userUuid); - } - - /** - * Returns the user name of this bo configurazione. - * - * @return the user name of this bo configurazione - */ - @Override - public java.lang.String getUserName() { - return _boConfigurazione.getUserName(); - } - - /** - * Sets the user name of this bo configurazione. - * - * @param userName the user name of this bo configurazione - */ - @Override - public void setUserName(java.lang.String userName) { - _boConfigurazione.setUserName(userName); - } - - /** - * Returns the create date of this bo configurazione. - * - * @return the create date of this bo configurazione - */ - @Override - public java.util.Date getCreateDate() { - return _boConfigurazione.getCreateDate(); - } - - /** - * Sets the create date of this bo configurazione. - * - * @param createDate the create date of this bo configurazione - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _boConfigurazione.setCreateDate(createDate); - } - - /** - * Returns the modified date of this bo configurazione. - * - * @return the modified date of this bo configurazione - */ - @Override - public java.util.Date getModifiedDate() { - return _boConfigurazione.getModifiedDate(); - } - - /** - * Sets the modified date of this bo configurazione. - * - * @param modifiedDate the modified date of this bo configurazione - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _boConfigurazione.setModifiedDate(modifiedDate); - } - - /** - * Returns the group ID of this bo configurazione. - * - * @return the group ID of this bo configurazione - */ - @Override - public long getGroupId() { - return _boConfigurazione.getGroupId(); - } - - /** - * Sets the group ID of this bo configurazione. - * - * @param groupId the group ID of this bo configurazione - */ - @Override - public void setGroupId(long groupId) { - _boConfigurazione.setGroupId(groupId); - } - - /** - * Returns the chiave of this bo configurazione. - * - * @return the chiave of this bo configurazione - */ - @Override - public java.lang.String getChiave() { - return _boConfigurazione.getChiave(); - } - - /** - * Sets the chiave of this bo configurazione. - * - * @param chiave the chiave of this bo configurazione - */ - @Override - public void setChiave(java.lang.String chiave) { - _boConfigurazione.setChiave(chiave); - } - - /** - * Returns the valore of this bo configurazione. - * - * @return the valore of this bo configurazione - */ - @Override - public java.lang.String getValore() { - return _boConfigurazione.getValore(); - } - - /** - * Sets the valore of this bo configurazione. - * - * @param valore the valore of this bo configurazione - */ - @Override - public void setValore(java.lang.String valore) { - _boConfigurazione.setValore(valore); - } - - @Override - public boolean isNew() { - return _boConfigurazione.isNew(); - } - - @Override - public void setNew(boolean n) { - _boConfigurazione.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _boConfigurazione.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _boConfigurazione.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _boConfigurazione.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _boConfigurazione.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _boConfigurazione.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _boConfigurazione.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _boConfigurazione.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _boConfigurazione.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _boConfigurazione.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new BoConfigurazioneWrapper((BoConfigurazione)_boConfigurazione.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.BoConfigurazione boConfigurazione) { - return _boConfigurazione.compareTo(boConfigurazione); - } - - @Override - public int hashCode() { - return _boConfigurazione.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _boConfigurazione.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoConfigurazione toEscapedModel() { - return new BoConfigurazioneWrapper(_boConfigurazione.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoConfigurazione toUnescapedModel() { - return new BoConfigurazioneWrapper(_boConfigurazione.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _boConfigurazione.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _boConfigurazione.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _boConfigurazione.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoConfigurazioneWrapper)) { - return false; - } - - BoConfigurazioneWrapper boConfigurazioneWrapper = (BoConfigurazioneWrapper)obj; - - if (Validator.equals(_boConfigurazione, - boConfigurazioneWrapper._boConfigurazione)) { - return true; - } - - return false; - } - - @Override - public StagedModelType getStagedModelType() { - return _boConfigurazione.getStagedModelType(); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public BoConfigurazione getWrappedBoConfigurazione() { - return _boConfigurazione; - } - - @Override - public BoConfigurazione getWrappedModel() { - return _boConfigurazione; - } - - @Override - public void resetOriginalValues() { - _boConfigurazione.resetOriginalValues(); - } - - private BoConfigurazione _boConfigurazione; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoDettPratica.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoDettPratica.java deleted file mode 100644 index dadc055c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoDettPratica.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the BoDettPratica service. Represents a row in the "gc_dettpratica" database table, with each column mapped to a property of this class. - * - * @author 3FC - * @see BoDettPraticaModel - * @see it.tref.liferay.portos.importazione.model.impl.BoDettPraticaImpl - * @see it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl - * @generated - */ -public interface BoDettPratica extends BoDettPraticaModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoDettPraticaClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoDettPraticaClp.java deleted file mode 100644 index 5adba9be..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoDettPraticaClp.java +++ /dev/null @@ -1,1611 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.workflow.WorkflowConstants; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.service.BoDettPraticaLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.ClpSerializer; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author 3FC - */ -public class BoDettPraticaClp extends BaseModelImpl - implements BoDettPratica { - public BoDettPraticaClp() { - } - - @Override - public Class getModelClass() { - return BoDettPratica.class; - } - - @Override - public String getModelClassName() { - return BoDettPratica.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _dettPraticaId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setDettPraticaId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _dettPraticaId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("integrazione", getIntegrazione()); - attributes.put("suapCode", getSuapCode()); - attributes.put("validata", getValidata()); - attributes.put("codPraticaSuap", getCodPraticaSuap()); - attributes.put("protocollo", getProtocollo()); - attributes.put("tipoIntegrazione", getTipoIntegrazione()); - attributes.put("completa", getCompleta()); - attributes.put("gestita", getGestita()); - attributes.put("codicePagamento", getCodicePagamento()); - attributes.put("causalePagamento", getCausalePagamento()); - attributes.put("mezzoPagamento", getMezzoPagamento()); - attributes.put("importoBolli", getImportoBolli()); - attributes.put("importoSpeseIstruttoria", getImportoSpeseIstruttoria()); - attributes.put("dataEffettuazione", getDataEffettuazione()); - attributes.put("esenzioneBolli", getEsenzioneBolli()); - attributes.put("esenzioneSpeseIstruttoria", - getEsenzioneSpeseIstruttoria()); - attributes.put("status", getStatus()); - attributes.put("statusByUserId", getStatusByUserId()); - attributes.put("statusByUserName", getStatusByUserName()); - attributes.put("statusDate", getStatusDate()); - attributes.put("statusTask", getStatusTask()); - attributes.put("workflowForzato", getWorkflowForzato()); - attributes.put("soggettoSostituitoId", getSoggettoSostituitoId()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - Long integrazione = (Long)attributes.get("integrazione"); - - if (integrazione != null) { - setIntegrazione(integrazione); - } - - String suapCode = (String)attributes.get("suapCode"); - - if (suapCode != null) { - setSuapCode(suapCode); - } - - Boolean validata = (Boolean)attributes.get("validata"); - - if (validata != null) { - setValidata(validata); - } - - String codPraticaSuap = (String)attributes.get("codPraticaSuap"); - - if (codPraticaSuap != null) { - setCodPraticaSuap(codPraticaSuap); - } - - String protocollo = (String)attributes.get("protocollo"); - - if (protocollo != null) { - setProtocollo(protocollo); - } - - String tipoIntegrazione = (String)attributes.get("tipoIntegrazione"); - - if (tipoIntegrazione != null) { - setTipoIntegrazione(tipoIntegrazione); - } - - Boolean completa = (Boolean)attributes.get("completa"); - - if (completa != null) { - setCompleta(completa); - } - - Boolean gestita = (Boolean)attributes.get("gestita"); - - if (gestita != null) { - setGestita(gestita); - } - - String codicePagamento = (String)attributes.get("codicePagamento"); - - if (codicePagamento != null) { - setCodicePagamento(codicePagamento); - } - - String causalePagamento = (String)attributes.get("causalePagamento"); - - if (causalePagamento != null) { - setCausalePagamento(causalePagamento); - } - - String mezzoPagamento = (String)attributes.get("mezzoPagamento"); - - if (mezzoPagamento != null) { - setMezzoPagamento(mezzoPagamento); - } - - String importoBolli = (String)attributes.get("importoBolli"); - - if (importoBolli != null) { - setImportoBolli(importoBolli); - } - - String importoSpeseIstruttoria = (String)attributes.get( - "importoSpeseIstruttoria"); - - if (importoSpeseIstruttoria != null) { - setImportoSpeseIstruttoria(importoSpeseIstruttoria); - } - - Date dataEffettuazione = (Date)attributes.get("dataEffettuazione"); - - if (dataEffettuazione != null) { - setDataEffettuazione(dataEffettuazione); - } - - Boolean esenzioneBolli = (Boolean)attributes.get("esenzioneBolli"); - - if (esenzioneBolli != null) { - setEsenzioneBolli(esenzioneBolli); - } - - Boolean esenzioneSpeseIstruttoria = (Boolean)attributes.get( - "esenzioneSpeseIstruttoria"); - - if (esenzioneSpeseIstruttoria != null) { - setEsenzioneSpeseIstruttoria(esenzioneSpeseIstruttoria); - } - - Integer status = (Integer)attributes.get("status"); - - if (status != null) { - setStatus(status); - } - - Long statusByUserId = (Long)attributes.get("statusByUserId"); - - if (statusByUserId != null) { - setStatusByUserId(statusByUserId); - } - - String statusByUserName = (String)attributes.get("statusByUserName"); - - if (statusByUserName != null) { - setStatusByUserName(statusByUserName); - } - - Date statusDate = (Date)attributes.get("statusDate"); - - if (statusDate != null) { - setStatusDate(statusDate); - } - - Integer statusTask = (Integer)attributes.get("statusTask"); - - if (statusTask != null) { - setStatusTask(statusTask); - } - - Boolean workflowForzato = (Boolean)attributes.get("workflowForzato"); - - if (workflowForzato != null) { - setWorkflowForzato(workflowForzato); - } - - Long soggettoSostituitoId = (Long)attributes.get("soggettoSostituitoId"); - - if (soggettoSostituitoId != null) { - setSoggettoSostituitoId(soggettoSostituitoId); - } - } - - @Override - public String getUuid() { - return _uuid; - } - - @Override - public void setUuid(String uuid) { - _uuid = uuid; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setUuid", String.class); - - method.invoke(_boDettPraticaRemoteModel, uuid); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getDettPraticaId() { - return _dettPraticaId; - } - - @Override - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDettPraticaId", long.class); - - method.invoke(_boDettPraticaRemoteModel, dettPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_boDettPraticaRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_boDettPraticaRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_boDettPraticaRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_boDettPraticaRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_boDettPraticaRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_boDettPraticaRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getIntPraticaId() { - return _intPraticaId; - } - - @Override - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setIntPraticaId", long.class); - - method.invoke(_boDettPraticaRemoteModel, intPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getIntegrazione() { - return _integrazione; - } - - @Override - public void setIntegrazione(long integrazione) { - _integrazione = integrazione; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setIntegrazione", long.class); - - method.invoke(_boDettPraticaRemoteModel, integrazione); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getSuapCode() { - return _suapCode; - } - - @Override - public void setSuapCode(String suapCode) { - _suapCode = suapCode; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setSuapCode", String.class); - - method.invoke(_boDettPraticaRemoteModel, suapCode); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getValidata() { - return _validata; - } - - @Override - public boolean isValidata() { - return _validata; - } - - @Override - public void setValidata(boolean validata) { - _validata = validata; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setValidata", boolean.class); - - method.invoke(_boDettPraticaRemoteModel, validata); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodPraticaSuap() { - return _codPraticaSuap; - } - - @Override - public void setCodPraticaSuap(String codPraticaSuap) { - _codPraticaSuap = codPraticaSuap; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodPraticaSuap", - String.class); - - method.invoke(_boDettPraticaRemoteModel, codPraticaSuap); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getProtocollo() { - return _protocollo; - } - - @Override - public void setProtocollo(String protocollo) { - _protocollo = protocollo; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setProtocollo", String.class); - - method.invoke(_boDettPraticaRemoteModel, protocollo); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getTipoIntegrazione() { - return _tipoIntegrazione; - } - - @Override - public void setTipoIntegrazione(String tipoIntegrazione) { - _tipoIntegrazione = tipoIntegrazione; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setTipoIntegrazione", - String.class); - - method.invoke(_boDettPraticaRemoteModel, tipoIntegrazione); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getCompleta() { - return _completa; - } - - @Override - public boolean isCompleta() { - return _completa; - } - - @Override - public void setCompleta(boolean completa) { - _completa = completa; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompleta", boolean.class); - - method.invoke(_boDettPraticaRemoteModel, completa); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getGestita() { - return _gestita; - } - - @Override - public boolean isGestita() { - return _gestita; - } - - @Override - public void setGestita(boolean gestita) { - _gestita = gestita; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setGestita", boolean.class); - - method.invoke(_boDettPraticaRemoteModel, gestita); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodicePagamento() { - return _codicePagamento; - } - - @Override - public void setCodicePagamento(String codicePagamento) { - _codicePagamento = codicePagamento; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodicePagamento", - String.class); - - method.invoke(_boDettPraticaRemoteModel, codicePagamento); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCausalePagamento() { - return _causalePagamento; - } - - @Override - public void setCausalePagamento(String causalePagamento) { - _causalePagamento = causalePagamento; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCausalePagamento", - String.class); - - method.invoke(_boDettPraticaRemoteModel, causalePagamento); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getMezzoPagamento() { - return _mezzoPagamento; - } - - @Override - public void setMezzoPagamento(String mezzoPagamento) { - _mezzoPagamento = mezzoPagamento; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setMezzoPagamento", - String.class); - - method.invoke(_boDettPraticaRemoteModel, mezzoPagamento); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getImportoBolli() { - return _importoBolli; - } - - @Override - public void setImportoBolli(String importoBolli) { - _importoBolli = importoBolli; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setImportoBolli", String.class); - - method.invoke(_boDettPraticaRemoteModel, importoBolli); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getImportoSpeseIstruttoria() { - return _importoSpeseIstruttoria; - } - - @Override - public void setImportoSpeseIstruttoria(String importoSpeseIstruttoria) { - _importoSpeseIstruttoria = importoSpeseIstruttoria; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setImportoSpeseIstruttoria", - String.class); - - method.invoke(_boDettPraticaRemoteModel, importoSpeseIstruttoria); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDataEffettuazione() { - return _dataEffettuazione; - } - - @Override - public void setDataEffettuazione(Date dataEffettuazione) { - _dataEffettuazione = dataEffettuazione; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDataEffettuazione", - Date.class); - - method.invoke(_boDettPraticaRemoteModel, dataEffettuazione); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getEsenzioneBolli() { - return _esenzioneBolli; - } - - @Override - public boolean isEsenzioneBolli() { - return _esenzioneBolli; - } - - @Override - public void setEsenzioneBolli(boolean esenzioneBolli) { - _esenzioneBolli = esenzioneBolli; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setEsenzioneBolli", - boolean.class); - - method.invoke(_boDettPraticaRemoteModel, esenzioneBolli); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getEsenzioneSpeseIstruttoria() { - return _esenzioneSpeseIstruttoria; - } - - @Override - public boolean isEsenzioneSpeseIstruttoria() { - return _esenzioneSpeseIstruttoria; - } - - @Override - public void setEsenzioneSpeseIstruttoria(boolean esenzioneSpeseIstruttoria) { - _esenzioneSpeseIstruttoria = esenzioneSpeseIstruttoria; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setEsenzioneSpeseIstruttoria", - boolean.class); - - method.invoke(_boDettPraticaRemoteModel, - esenzioneSpeseIstruttoria); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public int getStatus() { - return _status; - } - - @Override - public void setStatus(int status) { - _status = status; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setStatus", int.class); - - method.invoke(_boDettPraticaRemoteModel, status); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getStatusByUserId() { - return _statusByUserId; - } - - @Override - public void setStatusByUserId(long statusByUserId) { - _statusByUserId = statusByUserId; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setStatusByUserId", long.class); - - method.invoke(_boDettPraticaRemoteModel, statusByUserId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getStatusByUserUuid() throws SystemException { - return PortalUtil.getUserValue(getStatusByUserId(), "uuid", - _statusByUserUuid); - } - - @Override - public void setStatusByUserUuid(String statusByUserUuid) { - _statusByUserUuid = statusByUserUuid; - } - - @Override - public String getStatusByUserName() { - return _statusByUserName; - } - - @Override - public void setStatusByUserName(String statusByUserName) { - _statusByUserName = statusByUserName; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setStatusByUserName", - String.class); - - method.invoke(_boDettPraticaRemoteModel, statusByUserName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getStatusDate() { - return _statusDate; - } - - @Override - public void setStatusDate(Date statusDate) { - _statusDate = statusDate; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setStatusDate", Date.class); - - method.invoke(_boDettPraticaRemoteModel, statusDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public int getStatusTask() { - return _statusTask; - } - - @Override - public void setStatusTask(int statusTask) { - _statusTask = statusTask; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setStatusTask", int.class); - - method.invoke(_boDettPraticaRemoteModel, statusTask); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getWorkflowForzato() { - return _workflowForzato; - } - - @Override - public boolean isWorkflowForzato() { - return _workflowForzato; - } - - @Override - public void setWorkflowForzato(boolean workflowForzato) { - _workflowForzato = workflowForzato; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setWorkflowForzato", - boolean.class); - - method.invoke(_boDettPraticaRemoteModel, workflowForzato); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getSoggettoSostituitoId() { - return _soggettoSostituitoId; - } - - @Override - public void setSoggettoSostituitoId(long soggettoSostituitoId) { - _soggettoSostituitoId = soggettoSostituitoId; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setSoggettoSostituitoId", - long.class); - - method.invoke(_boDettPraticaRemoteModel, soggettoSostituitoId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoDettPratica.class.getName())); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #isApproved} - */ - @Override - public boolean getApproved() { - return isApproved(); - } - - @Override - public boolean isApproved() { - if (getStatus() == WorkflowConstants.STATUS_APPROVED) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isDenied() { - if (getStatus() == WorkflowConstants.STATUS_DENIED) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isDraft() { - if (getStatus() == WorkflowConstants.STATUS_DRAFT) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isExpired() { - if (getStatus() == WorkflowConstants.STATUS_EXPIRED) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isInactive() { - if (getStatus() == WorkflowConstants.STATUS_INACTIVE) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isIncomplete() { - if (getStatus() == WorkflowConstants.STATUS_INCOMPLETE) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isPending() { - if (getStatus() == WorkflowConstants.STATUS_PENDING) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isScheduled() { - if (getStatus() == WorkflowConstants.STATUS_SCHEDULED) { - return true; - } - else { - return false; - } - } - - public BaseModel getBoDettPraticaRemoteModel() { - return _boDettPraticaRemoteModel; - } - - public void setBoDettPraticaRemoteModel( - BaseModel boDettPraticaRemoteModel) { - _boDettPraticaRemoteModel = boDettPraticaRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _boDettPraticaRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_boDettPraticaRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoDettPraticaLocalServiceUtil.addBoDettPratica(this); - } - else { - BoDettPraticaLocalServiceUtil.updateBoDettPratica(this); - } - } - - @Override - public BoDettPratica toEscapedModel() { - return (BoDettPratica)ProxyUtil.newProxyInstance(BoDettPratica.class.getClassLoader(), - new Class[] { BoDettPratica.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - BoDettPraticaClp clone = new BoDettPraticaClp(); - - clone.setUuid(getUuid()); - clone.setDettPraticaId(getDettPraticaId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setGroupId(getGroupId()); - clone.setIntPraticaId(getIntPraticaId()); - clone.setIntegrazione(getIntegrazione()); - clone.setSuapCode(getSuapCode()); - clone.setValidata(getValidata()); - clone.setCodPraticaSuap(getCodPraticaSuap()); - clone.setProtocollo(getProtocollo()); - clone.setTipoIntegrazione(getTipoIntegrazione()); - clone.setCompleta(getCompleta()); - clone.setGestita(getGestita()); - clone.setCodicePagamento(getCodicePagamento()); - clone.setCausalePagamento(getCausalePagamento()); - clone.setMezzoPagamento(getMezzoPagamento()); - clone.setImportoBolli(getImportoBolli()); - clone.setImportoSpeseIstruttoria(getImportoSpeseIstruttoria()); - clone.setDataEffettuazione(getDataEffettuazione()); - clone.setEsenzioneBolli(getEsenzioneBolli()); - clone.setEsenzioneSpeseIstruttoria(getEsenzioneSpeseIstruttoria()); - clone.setStatus(getStatus()); - clone.setStatusByUserId(getStatusByUserId()); - clone.setStatusByUserName(getStatusByUserName()); - clone.setStatusDate(getStatusDate()); - clone.setStatusTask(getStatusTask()); - clone.setWorkflowForzato(getWorkflowForzato()); - clone.setSoggettoSostituitoId(getSoggettoSostituitoId()); - - return clone; - } - - @Override - public int compareTo(BoDettPratica boDettPratica) { - long primaryKey = boDettPratica.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoDettPraticaClp)) { - return false; - } - - BoDettPraticaClp boDettPratica = (BoDettPraticaClp)obj; - - long primaryKey = boDettPratica.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(65); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", dettPraticaId="); - sb.append(getDettPraticaId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", intPraticaId="); - sb.append(getIntPraticaId()); - sb.append(", integrazione="); - sb.append(getIntegrazione()); - sb.append(", suapCode="); - sb.append(getSuapCode()); - sb.append(", validata="); - sb.append(getValidata()); - sb.append(", codPraticaSuap="); - sb.append(getCodPraticaSuap()); - sb.append(", protocollo="); - sb.append(getProtocollo()); - sb.append(", tipoIntegrazione="); - sb.append(getTipoIntegrazione()); - sb.append(", completa="); - sb.append(getCompleta()); - sb.append(", gestita="); - sb.append(getGestita()); - sb.append(", codicePagamento="); - sb.append(getCodicePagamento()); - sb.append(", causalePagamento="); - sb.append(getCausalePagamento()); - sb.append(", mezzoPagamento="); - sb.append(getMezzoPagamento()); - sb.append(", importoBolli="); - sb.append(getImportoBolli()); - sb.append(", importoSpeseIstruttoria="); - sb.append(getImportoSpeseIstruttoria()); - sb.append(", dataEffettuazione="); - sb.append(getDataEffettuazione()); - sb.append(", esenzioneBolli="); - sb.append(getEsenzioneBolli()); - sb.append(", esenzioneSpeseIstruttoria="); - sb.append(getEsenzioneSpeseIstruttoria()); - sb.append(", status="); - sb.append(getStatus()); - sb.append(", statusByUserId="); - sb.append(getStatusByUserId()); - sb.append(", statusByUserName="); - sb.append(getStatusByUserName()); - sb.append(", statusDate="); - sb.append(getStatusDate()); - sb.append(", statusTask="); - sb.append(getStatusTask()); - sb.append(", workflowForzato="); - sb.append(getWorkflowForzato()); - sb.append(", soggettoSostituitoId="); - sb.append(getSoggettoSostituitoId()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(100); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.BoDettPratica"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "dettPraticaId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "intPraticaId"); - sb.append( - "integrazione"); - sb.append( - "suapCode"); - sb.append( - "validata"); - sb.append( - "codPraticaSuap"); - sb.append( - "protocollo"); - sb.append( - "tipoIntegrazione"); - sb.append( - "completa"); - sb.append( - "gestita"); - sb.append( - "codicePagamento"); - sb.append( - "causalePagamento"); - sb.append( - "mezzoPagamento"); - sb.append( - "importoBolli"); - sb.append( - "importoSpeseIstruttoria"); - sb.append( - "dataEffettuazione"); - sb.append( - "esenzioneBolli"); - sb.append( - "esenzioneSpeseIstruttoria"); - sb.append( - "status"); - sb.append( - "statusByUserId"); - sb.append( - "statusByUserName"); - sb.append( - "statusDate"); - sb.append( - "statusTask"); - sb.append( - "workflowForzato"); - sb.append( - "soggettoSostituitoId"); - - sb.append(""); - - return sb.toString(); - } - - private String _uuid; - private long _dettPraticaId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _intPraticaId; - private long _integrazione; - private String _suapCode; - private boolean _validata; - private String _codPraticaSuap; - private String _protocollo; - private String _tipoIntegrazione; - private boolean _completa; - private boolean _gestita; - private String _codicePagamento; - private String _causalePagamento; - private String _mezzoPagamento; - private String _importoBolli; - private String _importoSpeseIstruttoria; - private Date _dataEffettuazione; - private boolean _esenzioneBolli; - private boolean _esenzioneSpeseIstruttoria; - private int _status; - private long _statusByUserId; - private String _statusByUserUuid; - private String _statusByUserName; - private Date _statusDate; - private int _statusTask; - private boolean _workflowForzato; - private long _soggettoSostituitoId; - private BaseModel _boDettPraticaRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.importazione.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoDettPraticaModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoDettPraticaModel.java deleted file mode 100644 index aeb02bf1..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoDettPraticaModel.java +++ /dev/null @@ -1,751 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.StagedGroupedModel; -import com.liferay.portal.model.WorkflowedModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the BoDettPratica service. Represents a row in the "gc_dettpratica" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaImpl}. - *

- * - * @author 3FC - * @see BoDettPratica - * @see it.tref.liferay.portos.importazione.model.impl.BoDettPraticaImpl - * @see it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl - * @generated - */ -public interface BoDettPraticaModel extends BaseModel, - StagedGroupedModel, WorkflowedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a bo dett pratica model instance should use the {@link BoDettPratica} interface instead. - */ - - /** - * Returns the primary key of this bo dett pratica. - * - * @return the primary key of this bo dett pratica - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this bo dett pratica. - * - * @param primaryKey the primary key of this bo dett pratica - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the uuid of this bo dett pratica. - * - * @return the uuid of this bo dett pratica - */ - @AutoEscape - @Override - public String getUuid(); - - /** - * Sets the uuid of this bo dett pratica. - * - * @param uuid the uuid of this bo dett pratica - */ - @Override - public void setUuid(String uuid); - - /** - * Returns the dett pratica ID of this bo dett pratica. - * - * @return the dett pratica ID of this bo dett pratica - */ - public long getDettPraticaId(); - - /** - * Sets the dett pratica ID of this bo dett pratica. - * - * @param dettPraticaId the dett pratica ID of this bo dett pratica - */ - public void setDettPraticaId(long dettPraticaId); - - /** - * Returns the company ID of this bo dett pratica. - * - * @return the company ID of this bo dett pratica - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this bo dett pratica. - * - * @param companyId the company ID of this bo dett pratica - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this bo dett pratica. - * - * @return the user ID of this bo dett pratica - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this bo dett pratica. - * - * @param userId the user ID of this bo dett pratica - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this bo dett pratica. - * - * @return the user uuid of this bo dett pratica - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this bo dett pratica. - * - * @param userUuid the user uuid of this bo dett pratica - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this bo dett pratica. - * - * @return the user name of this bo dett pratica - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this bo dett pratica. - * - * @param userName the user name of this bo dett pratica - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this bo dett pratica. - * - * @return the create date of this bo dett pratica - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this bo dett pratica. - * - * @param createDate the create date of this bo dett pratica - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this bo dett pratica. - * - * @return the modified date of this bo dett pratica - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this bo dett pratica. - * - * @param modifiedDate the modified date of this bo dett pratica - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the group ID of this bo dett pratica. - * - * @return the group ID of this bo dett pratica - */ - @Override - public long getGroupId(); - - /** - * Sets the group ID of this bo dett pratica. - * - * @param groupId the group ID of this bo dett pratica - */ - @Override - public void setGroupId(long groupId); - - /** - * Returns the int pratica ID of this bo dett pratica. - * - * @return the int pratica ID of this bo dett pratica - */ - public long getIntPraticaId(); - - /** - * Sets the int pratica ID of this bo dett pratica. - * - * @param intPraticaId the int pratica ID of this bo dett pratica - */ - public void setIntPraticaId(long intPraticaId); - - /** - * Returns the integrazione of this bo dett pratica. - * - * @return the integrazione of this bo dett pratica - */ - public long getIntegrazione(); - - /** - * Sets the integrazione of this bo dett pratica. - * - * @param integrazione the integrazione of this bo dett pratica - */ - public void setIntegrazione(long integrazione); - - /** - * Returns the suap code of this bo dett pratica. - * - * @return the suap code of this bo dett pratica - */ - @AutoEscape - public String getSuapCode(); - - /** - * Sets the suap code of this bo dett pratica. - * - * @param suapCode the suap code of this bo dett pratica - */ - public void setSuapCode(String suapCode); - - /** - * Returns the validata of this bo dett pratica. - * - * @return the validata of this bo dett pratica - */ - public boolean getValidata(); - - /** - * Returns true if this bo dett pratica is validata. - * - * @return true if this bo dett pratica is validata; false otherwise - */ - public boolean isValidata(); - - /** - * Sets whether this bo dett pratica is validata. - * - * @param validata the validata of this bo dett pratica - */ - public void setValidata(boolean validata); - - /** - * Returns the cod pratica suap of this bo dett pratica. - * - * @return the cod pratica suap of this bo dett pratica - */ - @AutoEscape - public String getCodPraticaSuap(); - - /** - * Sets the cod pratica suap of this bo dett pratica. - * - * @param codPraticaSuap the cod pratica suap of this bo dett pratica - */ - public void setCodPraticaSuap(String codPraticaSuap); - - /** - * Returns the protocollo of this bo dett pratica. - * - * @return the protocollo of this bo dett pratica - */ - @AutoEscape - public String getProtocollo(); - - /** - * Sets the protocollo of this bo dett pratica. - * - * @param protocollo the protocollo of this bo dett pratica - */ - public void setProtocollo(String protocollo); - - /** - * Returns the tipo integrazione of this bo dett pratica. - * - * @return the tipo integrazione of this bo dett pratica - */ - @AutoEscape - public String getTipoIntegrazione(); - - /** - * Sets the tipo integrazione of this bo dett pratica. - * - * @param tipoIntegrazione the tipo integrazione of this bo dett pratica - */ - public void setTipoIntegrazione(String tipoIntegrazione); - - /** - * Returns the completa of this bo dett pratica. - * - * @return the completa of this bo dett pratica - */ - public boolean getCompleta(); - - /** - * Returns true if this bo dett pratica is completa. - * - * @return true if this bo dett pratica is completa; false otherwise - */ - public boolean isCompleta(); - - /** - * Sets whether this bo dett pratica is completa. - * - * @param completa the completa of this bo dett pratica - */ - public void setCompleta(boolean completa); - - /** - * Returns the gestita of this bo dett pratica. - * - * @return the gestita of this bo dett pratica - */ - public boolean getGestita(); - - /** - * Returns true if this bo dett pratica is gestita. - * - * @return true if this bo dett pratica is gestita; false otherwise - */ - public boolean isGestita(); - - /** - * Sets whether this bo dett pratica is gestita. - * - * @param gestita the gestita of this bo dett pratica - */ - public void setGestita(boolean gestita); - - /** - * Returns the codice pagamento of this bo dett pratica. - * - * @return the codice pagamento of this bo dett pratica - */ - @AutoEscape - public String getCodicePagamento(); - - /** - * Sets the codice pagamento of this bo dett pratica. - * - * @param codicePagamento the codice pagamento of this bo dett pratica - */ - public void setCodicePagamento(String codicePagamento); - - /** - * Returns the causale pagamento of this bo dett pratica. - * - * @return the causale pagamento of this bo dett pratica - */ - @AutoEscape - public String getCausalePagamento(); - - /** - * Sets the causale pagamento of this bo dett pratica. - * - * @param causalePagamento the causale pagamento of this bo dett pratica - */ - public void setCausalePagamento(String causalePagamento); - - /** - * Returns the mezzo pagamento of this bo dett pratica. - * - * @return the mezzo pagamento of this bo dett pratica - */ - @AutoEscape - public String getMezzoPagamento(); - - /** - * Sets the mezzo pagamento of this bo dett pratica. - * - * @param mezzoPagamento the mezzo pagamento of this bo dett pratica - */ - public void setMezzoPagamento(String mezzoPagamento); - - /** - * Returns the importo bolli of this bo dett pratica. - * - * @return the importo bolli of this bo dett pratica - */ - @AutoEscape - public String getImportoBolli(); - - /** - * Sets the importo bolli of this bo dett pratica. - * - * @param importoBolli the importo bolli of this bo dett pratica - */ - public void setImportoBolli(String importoBolli); - - /** - * Returns the importo spese istruttoria of this bo dett pratica. - * - * @return the importo spese istruttoria of this bo dett pratica - */ - @AutoEscape - public String getImportoSpeseIstruttoria(); - - /** - * Sets the importo spese istruttoria of this bo dett pratica. - * - * @param importoSpeseIstruttoria the importo spese istruttoria of this bo dett pratica - */ - public void setImportoSpeseIstruttoria(String importoSpeseIstruttoria); - - /** - * Returns the data effettuazione of this bo dett pratica. - * - * @return the data effettuazione of this bo dett pratica - */ - public Date getDataEffettuazione(); - - /** - * Sets the data effettuazione of this bo dett pratica. - * - * @param dataEffettuazione the data effettuazione of this bo dett pratica - */ - public void setDataEffettuazione(Date dataEffettuazione); - - /** - * Returns the esenzione bolli of this bo dett pratica. - * - * @return the esenzione bolli of this bo dett pratica - */ - public boolean getEsenzioneBolli(); - - /** - * Returns true if this bo dett pratica is esenzione bolli. - * - * @return true if this bo dett pratica is esenzione bolli; false otherwise - */ - public boolean isEsenzioneBolli(); - - /** - * Sets whether this bo dett pratica is esenzione bolli. - * - * @param esenzioneBolli the esenzione bolli of this bo dett pratica - */ - public void setEsenzioneBolli(boolean esenzioneBolli); - - /** - * Returns the esenzione spese istruttoria of this bo dett pratica. - * - * @return the esenzione spese istruttoria of this bo dett pratica - */ - public boolean getEsenzioneSpeseIstruttoria(); - - /** - * Returns true if this bo dett pratica is esenzione spese istruttoria. - * - * @return true if this bo dett pratica is esenzione spese istruttoria; false otherwise - */ - public boolean isEsenzioneSpeseIstruttoria(); - - /** - * Sets whether this bo dett pratica is esenzione spese istruttoria. - * - * @param esenzioneSpeseIstruttoria the esenzione spese istruttoria of this bo dett pratica - */ - public void setEsenzioneSpeseIstruttoria(boolean esenzioneSpeseIstruttoria); - - /** - * Returns the status of this bo dett pratica. - * - * @return the status of this bo dett pratica - */ - @Override - public int getStatus(); - - /** - * Sets the status of this bo dett pratica. - * - * @param status the status of this bo dett pratica - */ - @Override - public void setStatus(int status); - - /** - * Returns the status by user ID of this bo dett pratica. - * - * @return the status by user ID of this bo dett pratica - */ - @Override - public long getStatusByUserId(); - - /** - * Sets the status by user ID of this bo dett pratica. - * - * @param statusByUserId the status by user ID of this bo dett pratica - */ - @Override - public void setStatusByUserId(long statusByUserId); - - /** - * Returns the status by user uuid of this bo dett pratica. - * - * @return the status by user uuid of this bo dett pratica - * @throws SystemException if a system exception occurred - */ - @Override - public String getStatusByUserUuid() throws SystemException; - - /** - * Sets the status by user uuid of this bo dett pratica. - * - * @param statusByUserUuid the status by user uuid of this bo dett pratica - */ - @Override - public void setStatusByUserUuid(String statusByUserUuid); - - /** - * Returns the status by user name of this bo dett pratica. - * - * @return the status by user name of this bo dett pratica - */ - @AutoEscape - @Override - public String getStatusByUserName(); - - /** - * Sets the status by user name of this bo dett pratica. - * - * @param statusByUserName the status by user name of this bo dett pratica - */ - @Override - public void setStatusByUserName(String statusByUserName); - - /** - * Returns the status date of this bo dett pratica. - * - * @return the status date of this bo dett pratica - */ - @Override - public Date getStatusDate(); - - /** - * Sets the status date of this bo dett pratica. - * - * @param statusDate the status date of this bo dett pratica - */ - @Override - public void setStatusDate(Date statusDate); - - /** - * Returns the status task of this bo dett pratica. - * - * @return the status task of this bo dett pratica - */ - public int getStatusTask(); - - /** - * Sets the status task of this bo dett pratica. - * - * @param statusTask the status task of this bo dett pratica - */ - public void setStatusTask(int statusTask); - - /** - * Returns the workflow forzato of this bo dett pratica. - * - * @return the workflow forzato of this bo dett pratica - */ - public boolean getWorkflowForzato(); - - /** - * Returns true if this bo dett pratica is workflow forzato. - * - * @return true if this bo dett pratica is workflow forzato; false otherwise - */ - public boolean isWorkflowForzato(); - - /** - * Sets whether this bo dett pratica is workflow forzato. - * - * @param workflowForzato the workflow forzato of this bo dett pratica - */ - public void setWorkflowForzato(boolean workflowForzato); - - /** - * Returns the soggetto sostituito ID of this bo dett pratica. - * - * @return the soggetto sostituito ID of this bo dett pratica - */ - public long getSoggettoSostituitoId(); - - /** - * Sets the soggetto sostituito ID of this bo dett pratica. - * - * @param soggettoSostituitoId the soggetto sostituito ID of this bo dett pratica - */ - public void setSoggettoSostituitoId(long soggettoSostituitoId); - - /** - * @deprecated As of 6.1.0, replaced by {@link #isApproved()} - */ - @Override - public boolean getApproved(); - - /** - * Returns true if this bo dett pratica is approved. - * - * @return true if this bo dett pratica is approved; false otherwise - */ - @Override - public boolean isApproved(); - - /** - * Returns true if this bo dett pratica is denied. - * - * @return true if this bo dett pratica is denied; false otherwise - */ - @Override - public boolean isDenied(); - - /** - * Returns true if this bo dett pratica is a draft. - * - * @return true if this bo dett pratica is a draft; false otherwise - */ - @Override - public boolean isDraft(); - - /** - * Returns true if this bo dett pratica is expired. - * - * @return true if this bo dett pratica is expired; false otherwise - */ - @Override - public boolean isExpired(); - - /** - * Returns true if this bo dett pratica is inactive. - * - * @return true if this bo dett pratica is inactive; false otherwise - */ - @Override - public boolean isInactive(); - - /** - * Returns true if this bo dett pratica is incomplete. - * - * @return true if this bo dett pratica is incomplete; false otherwise - */ - @Override - public boolean isIncomplete(); - - /** - * Returns true if this bo dett pratica is pending. - * - * @return true if this bo dett pratica is pending; false otherwise - */ - @Override - public boolean isPending(); - - /** - * Returns true if this bo dett pratica is scheduled. - * - * @return true if this bo dett pratica is scheduled; false otherwise - */ - @Override - public boolean isScheduled(); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.BoDettPratica boDettPratica); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.importazione.model.BoDettPratica toEscapedModel(); - - @Override - public it.tref.liferay.portos.importazione.model.BoDettPratica toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoDettPraticaSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoDettPraticaSoap.java deleted file mode 100644 index 7e0496be..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoDettPraticaSoap.java +++ /dev/null @@ -1,429 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author 3FC - * @generated - */ -public class BoDettPraticaSoap implements Serializable { - public static BoDettPraticaSoap toSoapModel(BoDettPratica model) { - BoDettPraticaSoap soapModel = new BoDettPraticaSoap(); - - soapModel.setUuid(model.getUuid()); - soapModel.setDettPraticaId(model.getDettPraticaId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setIntPraticaId(model.getIntPraticaId()); - soapModel.setIntegrazione(model.getIntegrazione()); - soapModel.setSuapCode(model.getSuapCode()); - soapModel.setValidata(model.getValidata()); - soapModel.setCodPraticaSuap(model.getCodPraticaSuap()); - soapModel.setProtocollo(model.getProtocollo()); - soapModel.setTipoIntegrazione(model.getTipoIntegrazione()); - soapModel.setCompleta(model.getCompleta()); - soapModel.setGestita(model.getGestita()); - soapModel.setCodicePagamento(model.getCodicePagamento()); - soapModel.setCausalePagamento(model.getCausalePagamento()); - soapModel.setMezzoPagamento(model.getMezzoPagamento()); - soapModel.setImportoBolli(model.getImportoBolli()); - soapModel.setImportoSpeseIstruttoria(model.getImportoSpeseIstruttoria()); - soapModel.setDataEffettuazione(model.getDataEffettuazione()); - soapModel.setEsenzioneBolli(model.getEsenzioneBolli()); - soapModel.setEsenzioneSpeseIstruttoria(model.getEsenzioneSpeseIstruttoria()); - soapModel.setStatus(model.getStatus()); - soapModel.setStatusByUserId(model.getStatusByUserId()); - soapModel.setStatusByUserName(model.getStatusByUserName()); - soapModel.setStatusDate(model.getStatusDate()); - soapModel.setStatusTask(model.getStatusTask()); - soapModel.setWorkflowForzato(model.getWorkflowForzato()); - soapModel.setSoggettoSostituitoId(model.getSoggettoSostituitoId()); - - return soapModel; - } - - public static BoDettPraticaSoap[] toSoapModels(BoDettPratica[] models) { - BoDettPraticaSoap[] soapModels = new BoDettPraticaSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static BoDettPraticaSoap[][] toSoapModels(BoDettPratica[][] models) { - BoDettPraticaSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new BoDettPraticaSoap[models.length][models[0].length]; - } - else { - soapModels = new BoDettPraticaSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static BoDettPraticaSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (BoDettPratica model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new BoDettPraticaSoap[soapModels.size()]); - } - - public BoDettPraticaSoap() { - } - - public long getPrimaryKey() { - return _dettPraticaId; - } - - public void setPrimaryKey(long pk) { - setDettPraticaId(pk); - } - - public String getUuid() { - return _uuid; - } - - public void setUuid(String uuid) { - _uuid = uuid; - } - - public long getDettPraticaId() { - return _dettPraticaId; - } - - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public long getIntPraticaId() { - return _intPraticaId; - } - - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - } - - public long getIntegrazione() { - return _integrazione; - } - - public void setIntegrazione(long integrazione) { - _integrazione = integrazione; - } - - public String getSuapCode() { - return _suapCode; - } - - public void setSuapCode(String suapCode) { - _suapCode = suapCode; - } - - public boolean getValidata() { - return _validata; - } - - public boolean isValidata() { - return _validata; - } - - public void setValidata(boolean validata) { - _validata = validata; - } - - public String getCodPraticaSuap() { - return _codPraticaSuap; - } - - public void setCodPraticaSuap(String codPraticaSuap) { - _codPraticaSuap = codPraticaSuap; - } - - public String getProtocollo() { - return _protocollo; - } - - public void setProtocollo(String protocollo) { - _protocollo = protocollo; - } - - public String getTipoIntegrazione() { - return _tipoIntegrazione; - } - - public void setTipoIntegrazione(String tipoIntegrazione) { - _tipoIntegrazione = tipoIntegrazione; - } - - public boolean getCompleta() { - return _completa; - } - - public boolean isCompleta() { - return _completa; - } - - public void setCompleta(boolean completa) { - _completa = completa; - } - - public boolean getGestita() { - return _gestita; - } - - public boolean isGestita() { - return _gestita; - } - - public void setGestita(boolean gestita) { - _gestita = gestita; - } - - public String getCodicePagamento() { - return _codicePagamento; - } - - public void setCodicePagamento(String codicePagamento) { - _codicePagamento = codicePagamento; - } - - public String getCausalePagamento() { - return _causalePagamento; - } - - public void setCausalePagamento(String causalePagamento) { - _causalePagamento = causalePagamento; - } - - public String getMezzoPagamento() { - return _mezzoPagamento; - } - - public void setMezzoPagamento(String mezzoPagamento) { - _mezzoPagamento = mezzoPagamento; - } - - public String getImportoBolli() { - return _importoBolli; - } - - public void setImportoBolli(String importoBolli) { - _importoBolli = importoBolli; - } - - public String getImportoSpeseIstruttoria() { - return _importoSpeseIstruttoria; - } - - public void setImportoSpeseIstruttoria(String importoSpeseIstruttoria) { - _importoSpeseIstruttoria = importoSpeseIstruttoria; - } - - public Date getDataEffettuazione() { - return _dataEffettuazione; - } - - public void setDataEffettuazione(Date dataEffettuazione) { - _dataEffettuazione = dataEffettuazione; - } - - public boolean getEsenzioneBolli() { - return _esenzioneBolli; - } - - public boolean isEsenzioneBolli() { - return _esenzioneBolli; - } - - public void setEsenzioneBolli(boolean esenzioneBolli) { - _esenzioneBolli = esenzioneBolli; - } - - public boolean getEsenzioneSpeseIstruttoria() { - return _esenzioneSpeseIstruttoria; - } - - public boolean isEsenzioneSpeseIstruttoria() { - return _esenzioneSpeseIstruttoria; - } - - public void setEsenzioneSpeseIstruttoria(boolean esenzioneSpeseIstruttoria) { - _esenzioneSpeseIstruttoria = esenzioneSpeseIstruttoria; - } - - public int getStatus() { - return _status; - } - - public void setStatus(int status) { - _status = status; - } - - public long getStatusByUserId() { - return _statusByUserId; - } - - public void setStatusByUserId(long statusByUserId) { - _statusByUserId = statusByUserId; - } - - public String getStatusByUserName() { - return _statusByUserName; - } - - public void setStatusByUserName(String statusByUserName) { - _statusByUserName = statusByUserName; - } - - public Date getStatusDate() { - return _statusDate; - } - - public void setStatusDate(Date statusDate) { - _statusDate = statusDate; - } - - public int getStatusTask() { - return _statusTask; - } - - public void setStatusTask(int statusTask) { - _statusTask = statusTask; - } - - public boolean getWorkflowForzato() { - return _workflowForzato; - } - - public boolean isWorkflowForzato() { - return _workflowForzato; - } - - public void setWorkflowForzato(boolean workflowForzato) { - _workflowForzato = workflowForzato; - } - - public long getSoggettoSostituitoId() { - return _soggettoSostituitoId; - } - - public void setSoggettoSostituitoId(long soggettoSostituitoId) { - _soggettoSostituitoId = soggettoSostituitoId; - } - - private String _uuid; - private long _dettPraticaId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _intPraticaId; - private long _integrazione; - private String _suapCode; - private boolean _validata; - private String _codPraticaSuap; - private String _protocollo; - private String _tipoIntegrazione; - private boolean _completa; - private boolean _gestita; - private String _codicePagamento; - private String _causalePagamento; - private String _mezzoPagamento; - private String _importoBolli; - private String _importoSpeseIstruttoria; - private Date _dataEffettuazione; - private boolean _esenzioneBolli; - private boolean _esenzioneSpeseIstruttoria; - private int _status; - private long _statusByUserId; - private String _statusByUserName; - private Date _statusDate; - private int _statusTask; - private boolean _workflowForzato; - private long _soggettoSostituitoId; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoDettPraticaWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoDettPraticaWrapper.java deleted file mode 100644 index b9b0a7c0..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoDettPraticaWrapper.java +++ /dev/null @@ -1,1288 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link BoDettPratica}. - *

- * - * @author 3FC - * @see BoDettPratica - * @generated - */ -public class BoDettPraticaWrapper implements BoDettPratica, - ModelWrapper { - public BoDettPraticaWrapper(BoDettPratica boDettPratica) { - _boDettPratica = boDettPratica; - } - - @Override - public Class getModelClass() { - return BoDettPratica.class; - } - - @Override - public String getModelClassName() { - return BoDettPratica.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("integrazione", getIntegrazione()); - attributes.put("suapCode", getSuapCode()); - attributes.put("validata", getValidata()); - attributes.put("codPraticaSuap", getCodPraticaSuap()); - attributes.put("protocollo", getProtocollo()); - attributes.put("tipoIntegrazione", getTipoIntegrazione()); - attributes.put("completa", getCompleta()); - attributes.put("gestita", getGestita()); - attributes.put("codicePagamento", getCodicePagamento()); - attributes.put("causalePagamento", getCausalePagamento()); - attributes.put("mezzoPagamento", getMezzoPagamento()); - attributes.put("importoBolli", getImportoBolli()); - attributes.put("importoSpeseIstruttoria", getImportoSpeseIstruttoria()); - attributes.put("dataEffettuazione", getDataEffettuazione()); - attributes.put("esenzioneBolli", getEsenzioneBolli()); - attributes.put("esenzioneSpeseIstruttoria", - getEsenzioneSpeseIstruttoria()); - attributes.put("status", getStatus()); - attributes.put("statusByUserId", getStatusByUserId()); - attributes.put("statusByUserName", getStatusByUserName()); - attributes.put("statusDate", getStatusDate()); - attributes.put("statusTask", getStatusTask()); - attributes.put("workflowForzato", getWorkflowForzato()); - attributes.put("soggettoSostituitoId", getSoggettoSostituitoId()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - Long integrazione = (Long)attributes.get("integrazione"); - - if (integrazione != null) { - setIntegrazione(integrazione); - } - - String suapCode = (String)attributes.get("suapCode"); - - if (suapCode != null) { - setSuapCode(suapCode); - } - - Boolean validata = (Boolean)attributes.get("validata"); - - if (validata != null) { - setValidata(validata); - } - - String codPraticaSuap = (String)attributes.get("codPraticaSuap"); - - if (codPraticaSuap != null) { - setCodPraticaSuap(codPraticaSuap); - } - - String protocollo = (String)attributes.get("protocollo"); - - if (protocollo != null) { - setProtocollo(protocollo); - } - - String tipoIntegrazione = (String)attributes.get("tipoIntegrazione"); - - if (tipoIntegrazione != null) { - setTipoIntegrazione(tipoIntegrazione); - } - - Boolean completa = (Boolean)attributes.get("completa"); - - if (completa != null) { - setCompleta(completa); - } - - Boolean gestita = (Boolean)attributes.get("gestita"); - - if (gestita != null) { - setGestita(gestita); - } - - String codicePagamento = (String)attributes.get("codicePagamento"); - - if (codicePagamento != null) { - setCodicePagamento(codicePagamento); - } - - String causalePagamento = (String)attributes.get("causalePagamento"); - - if (causalePagamento != null) { - setCausalePagamento(causalePagamento); - } - - String mezzoPagamento = (String)attributes.get("mezzoPagamento"); - - if (mezzoPagamento != null) { - setMezzoPagamento(mezzoPagamento); - } - - String importoBolli = (String)attributes.get("importoBolli"); - - if (importoBolli != null) { - setImportoBolli(importoBolli); - } - - String importoSpeseIstruttoria = (String)attributes.get( - "importoSpeseIstruttoria"); - - if (importoSpeseIstruttoria != null) { - setImportoSpeseIstruttoria(importoSpeseIstruttoria); - } - - Date dataEffettuazione = (Date)attributes.get("dataEffettuazione"); - - if (dataEffettuazione != null) { - setDataEffettuazione(dataEffettuazione); - } - - Boolean esenzioneBolli = (Boolean)attributes.get("esenzioneBolli"); - - if (esenzioneBolli != null) { - setEsenzioneBolli(esenzioneBolli); - } - - Boolean esenzioneSpeseIstruttoria = (Boolean)attributes.get( - "esenzioneSpeseIstruttoria"); - - if (esenzioneSpeseIstruttoria != null) { - setEsenzioneSpeseIstruttoria(esenzioneSpeseIstruttoria); - } - - Integer status = (Integer)attributes.get("status"); - - if (status != null) { - setStatus(status); - } - - Long statusByUserId = (Long)attributes.get("statusByUserId"); - - if (statusByUserId != null) { - setStatusByUserId(statusByUserId); - } - - String statusByUserName = (String)attributes.get("statusByUserName"); - - if (statusByUserName != null) { - setStatusByUserName(statusByUserName); - } - - Date statusDate = (Date)attributes.get("statusDate"); - - if (statusDate != null) { - setStatusDate(statusDate); - } - - Integer statusTask = (Integer)attributes.get("statusTask"); - - if (statusTask != null) { - setStatusTask(statusTask); - } - - Boolean workflowForzato = (Boolean)attributes.get("workflowForzato"); - - if (workflowForzato != null) { - setWorkflowForzato(workflowForzato); - } - - Long soggettoSostituitoId = (Long)attributes.get("soggettoSostituitoId"); - - if (soggettoSostituitoId != null) { - setSoggettoSostituitoId(soggettoSostituitoId); - } - } - - /** - * Returns the primary key of this bo dett pratica. - * - * @return the primary key of this bo dett pratica - */ - @Override - public long getPrimaryKey() { - return _boDettPratica.getPrimaryKey(); - } - - /** - * Sets the primary key of this bo dett pratica. - * - * @param primaryKey the primary key of this bo dett pratica - */ - @Override - public void setPrimaryKey(long primaryKey) { - _boDettPratica.setPrimaryKey(primaryKey); - } - - /** - * Returns the uuid of this bo dett pratica. - * - * @return the uuid of this bo dett pratica - */ - @Override - public java.lang.String getUuid() { - return _boDettPratica.getUuid(); - } - - /** - * Sets the uuid of this bo dett pratica. - * - * @param uuid the uuid of this bo dett pratica - */ - @Override - public void setUuid(java.lang.String uuid) { - _boDettPratica.setUuid(uuid); - } - - /** - * Returns the dett pratica ID of this bo dett pratica. - * - * @return the dett pratica ID of this bo dett pratica - */ - @Override - public long getDettPraticaId() { - return _boDettPratica.getDettPraticaId(); - } - - /** - * Sets the dett pratica ID of this bo dett pratica. - * - * @param dettPraticaId the dett pratica ID of this bo dett pratica - */ - @Override - public void setDettPraticaId(long dettPraticaId) { - _boDettPratica.setDettPraticaId(dettPraticaId); - } - - /** - * Returns the company ID of this bo dett pratica. - * - * @return the company ID of this bo dett pratica - */ - @Override - public long getCompanyId() { - return _boDettPratica.getCompanyId(); - } - - /** - * Sets the company ID of this bo dett pratica. - * - * @param companyId the company ID of this bo dett pratica - */ - @Override - public void setCompanyId(long companyId) { - _boDettPratica.setCompanyId(companyId); - } - - /** - * Returns the user ID of this bo dett pratica. - * - * @return the user ID of this bo dett pratica - */ - @Override - public long getUserId() { - return _boDettPratica.getUserId(); - } - - /** - * Sets the user ID of this bo dett pratica. - * - * @param userId the user ID of this bo dett pratica - */ - @Override - public void setUserId(long userId) { - _boDettPratica.setUserId(userId); - } - - /** - * Returns the user uuid of this bo dett pratica. - * - * @return the user uuid of this bo dett pratica - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _boDettPratica.getUserUuid(); - } - - /** - * Sets the user uuid of this bo dett pratica. - * - * @param userUuid the user uuid of this bo dett pratica - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _boDettPratica.setUserUuid(userUuid); - } - - /** - * Returns the user name of this bo dett pratica. - * - * @return the user name of this bo dett pratica - */ - @Override - public java.lang.String getUserName() { - return _boDettPratica.getUserName(); - } - - /** - * Sets the user name of this bo dett pratica. - * - * @param userName the user name of this bo dett pratica - */ - @Override - public void setUserName(java.lang.String userName) { - _boDettPratica.setUserName(userName); - } - - /** - * Returns the create date of this bo dett pratica. - * - * @return the create date of this bo dett pratica - */ - @Override - public java.util.Date getCreateDate() { - return _boDettPratica.getCreateDate(); - } - - /** - * Sets the create date of this bo dett pratica. - * - * @param createDate the create date of this bo dett pratica - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _boDettPratica.setCreateDate(createDate); - } - - /** - * Returns the modified date of this bo dett pratica. - * - * @return the modified date of this bo dett pratica - */ - @Override - public java.util.Date getModifiedDate() { - return _boDettPratica.getModifiedDate(); - } - - /** - * Sets the modified date of this bo dett pratica. - * - * @param modifiedDate the modified date of this bo dett pratica - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _boDettPratica.setModifiedDate(modifiedDate); - } - - /** - * Returns the group ID of this bo dett pratica. - * - * @return the group ID of this bo dett pratica - */ - @Override - public long getGroupId() { - return _boDettPratica.getGroupId(); - } - - /** - * Sets the group ID of this bo dett pratica. - * - * @param groupId the group ID of this bo dett pratica - */ - @Override - public void setGroupId(long groupId) { - _boDettPratica.setGroupId(groupId); - } - - /** - * Returns the int pratica ID of this bo dett pratica. - * - * @return the int pratica ID of this bo dett pratica - */ - @Override - public long getIntPraticaId() { - return _boDettPratica.getIntPraticaId(); - } - - /** - * Sets the int pratica ID of this bo dett pratica. - * - * @param intPraticaId the int pratica ID of this bo dett pratica - */ - @Override - public void setIntPraticaId(long intPraticaId) { - _boDettPratica.setIntPraticaId(intPraticaId); - } - - /** - * Returns the integrazione of this bo dett pratica. - * - * @return the integrazione of this bo dett pratica - */ - @Override - public long getIntegrazione() { - return _boDettPratica.getIntegrazione(); - } - - /** - * Sets the integrazione of this bo dett pratica. - * - * @param integrazione the integrazione of this bo dett pratica - */ - @Override - public void setIntegrazione(long integrazione) { - _boDettPratica.setIntegrazione(integrazione); - } - - /** - * Returns the suap code of this bo dett pratica. - * - * @return the suap code of this bo dett pratica - */ - @Override - public java.lang.String getSuapCode() { - return _boDettPratica.getSuapCode(); - } - - /** - * Sets the suap code of this bo dett pratica. - * - * @param suapCode the suap code of this bo dett pratica - */ - @Override - public void setSuapCode(java.lang.String suapCode) { - _boDettPratica.setSuapCode(suapCode); - } - - /** - * Returns the validata of this bo dett pratica. - * - * @return the validata of this bo dett pratica - */ - @Override - public boolean getValidata() { - return _boDettPratica.getValidata(); - } - - /** - * Returns true if this bo dett pratica is validata. - * - * @return true if this bo dett pratica is validata; false otherwise - */ - @Override - public boolean isValidata() { - return _boDettPratica.isValidata(); - } - - /** - * Sets whether this bo dett pratica is validata. - * - * @param validata the validata of this bo dett pratica - */ - @Override - public void setValidata(boolean validata) { - _boDettPratica.setValidata(validata); - } - - /** - * Returns the cod pratica suap of this bo dett pratica. - * - * @return the cod pratica suap of this bo dett pratica - */ - @Override - public java.lang.String getCodPraticaSuap() { - return _boDettPratica.getCodPraticaSuap(); - } - - /** - * Sets the cod pratica suap of this bo dett pratica. - * - * @param codPraticaSuap the cod pratica suap of this bo dett pratica - */ - @Override - public void setCodPraticaSuap(java.lang.String codPraticaSuap) { - _boDettPratica.setCodPraticaSuap(codPraticaSuap); - } - - /** - * Returns the protocollo of this bo dett pratica. - * - * @return the protocollo of this bo dett pratica - */ - @Override - public java.lang.String getProtocollo() { - return _boDettPratica.getProtocollo(); - } - - /** - * Sets the protocollo of this bo dett pratica. - * - * @param protocollo the protocollo of this bo dett pratica - */ - @Override - public void setProtocollo(java.lang.String protocollo) { - _boDettPratica.setProtocollo(protocollo); - } - - /** - * Returns the tipo integrazione of this bo dett pratica. - * - * @return the tipo integrazione of this bo dett pratica - */ - @Override - public java.lang.String getTipoIntegrazione() { - return _boDettPratica.getTipoIntegrazione(); - } - - /** - * Sets the tipo integrazione of this bo dett pratica. - * - * @param tipoIntegrazione the tipo integrazione of this bo dett pratica - */ - @Override - public void setTipoIntegrazione(java.lang.String tipoIntegrazione) { - _boDettPratica.setTipoIntegrazione(tipoIntegrazione); - } - - /** - * Returns the completa of this bo dett pratica. - * - * @return the completa of this bo dett pratica - */ - @Override - public boolean getCompleta() { - return _boDettPratica.getCompleta(); - } - - /** - * Returns true if this bo dett pratica is completa. - * - * @return true if this bo dett pratica is completa; false otherwise - */ - @Override - public boolean isCompleta() { - return _boDettPratica.isCompleta(); - } - - /** - * Sets whether this bo dett pratica is completa. - * - * @param completa the completa of this bo dett pratica - */ - @Override - public void setCompleta(boolean completa) { - _boDettPratica.setCompleta(completa); - } - - /** - * Returns the gestita of this bo dett pratica. - * - * @return the gestita of this bo dett pratica - */ - @Override - public boolean getGestita() { - return _boDettPratica.getGestita(); - } - - /** - * Returns true if this bo dett pratica is gestita. - * - * @return true if this bo dett pratica is gestita; false otherwise - */ - @Override - public boolean isGestita() { - return _boDettPratica.isGestita(); - } - - /** - * Sets whether this bo dett pratica is gestita. - * - * @param gestita the gestita of this bo dett pratica - */ - @Override - public void setGestita(boolean gestita) { - _boDettPratica.setGestita(gestita); - } - - /** - * Returns the codice pagamento of this bo dett pratica. - * - * @return the codice pagamento of this bo dett pratica - */ - @Override - public java.lang.String getCodicePagamento() { - return _boDettPratica.getCodicePagamento(); - } - - /** - * Sets the codice pagamento of this bo dett pratica. - * - * @param codicePagamento the codice pagamento of this bo dett pratica - */ - @Override - public void setCodicePagamento(java.lang.String codicePagamento) { - _boDettPratica.setCodicePagamento(codicePagamento); - } - - /** - * Returns the causale pagamento of this bo dett pratica. - * - * @return the causale pagamento of this bo dett pratica - */ - @Override - public java.lang.String getCausalePagamento() { - return _boDettPratica.getCausalePagamento(); - } - - /** - * Sets the causale pagamento of this bo dett pratica. - * - * @param causalePagamento the causale pagamento of this bo dett pratica - */ - @Override - public void setCausalePagamento(java.lang.String causalePagamento) { - _boDettPratica.setCausalePagamento(causalePagamento); - } - - /** - * Returns the mezzo pagamento of this bo dett pratica. - * - * @return the mezzo pagamento of this bo dett pratica - */ - @Override - public java.lang.String getMezzoPagamento() { - return _boDettPratica.getMezzoPagamento(); - } - - /** - * Sets the mezzo pagamento of this bo dett pratica. - * - * @param mezzoPagamento the mezzo pagamento of this bo dett pratica - */ - @Override - public void setMezzoPagamento(java.lang.String mezzoPagamento) { - _boDettPratica.setMezzoPagamento(mezzoPagamento); - } - - /** - * Returns the importo bolli of this bo dett pratica. - * - * @return the importo bolli of this bo dett pratica - */ - @Override - public java.lang.String getImportoBolli() { - return _boDettPratica.getImportoBolli(); - } - - /** - * Sets the importo bolli of this bo dett pratica. - * - * @param importoBolli the importo bolli of this bo dett pratica - */ - @Override - public void setImportoBolli(java.lang.String importoBolli) { - _boDettPratica.setImportoBolli(importoBolli); - } - - /** - * Returns the importo spese istruttoria of this bo dett pratica. - * - * @return the importo spese istruttoria of this bo dett pratica - */ - @Override - public java.lang.String getImportoSpeseIstruttoria() { - return _boDettPratica.getImportoSpeseIstruttoria(); - } - - /** - * Sets the importo spese istruttoria of this bo dett pratica. - * - * @param importoSpeseIstruttoria the importo spese istruttoria of this bo dett pratica - */ - @Override - public void setImportoSpeseIstruttoria( - java.lang.String importoSpeseIstruttoria) { - _boDettPratica.setImportoSpeseIstruttoria(importoSpeseIstruttoria); - } - - /** - * Returns the data effettuazione of this bo dett pratica. - * - * @return the data effettuazione of this bo dett pratica - */ - @Override - public java.util.Date getDataEffettuazione() { - return _boDettPratica.getDataEffettuazione(); - } - - /** - * Sets the data effettuazione of this bo dett pratica. - * - * @param dataEffettuazione the data effettuazione of this bo dett pratica - */ - @Override - public void setDataEffettuazione(java.util.Date dataEffettuazione) { - _boDettPratica.setDataEffettuazione(dataEffettuazione); - } - - /** - * Returns the esenzione bolli of this bo dett pratica. - * - * @return the esenzione bolli of this bo dett pratica - */ - @Override - public boolean getEsenzioneBolli() { - return _boDettPratica.getEsenzioneBolli(); - } - - /** - * Returns true if this bo dett pratica is esenzione bolli. - * - * @return true if this bo dett pratica is esenzione bolli; false otherwise - */ - @Override - public boolean isEsenzioneBolli() { - return _boDettPratica.isEsenzioneBolli(); - } - - /** - * Sets whether this bo dett pratica is esenzione bolli. - * - * @param esenzioneBolli the esenzione bolli of this bo dett pratica - */ - @Override - public void setEsenzioneBolli(boolean esenzioneBolli) { - _boDettPratica.setEsenzioneBolli(esenzioneBolli); - } - - /** - * Returns the esenzione spese istruttoria of this bo dett pratica. - * - * @return the esenzione spese istruttoria of this bo dett pratica - */ - @Override - public boolean getEsenzioneSpeseIstruttoria() { - return _boDettPratica.getEsenzioneSpeseIstruttoria(); - } - - /** - * Returns true if this bo dett pratica is esenzione spese istruttoria. - * - * @return true if this bo dett pratica is esenzione spese istruttoria; false otherwise - */ - @Override - public boolean isEsenzioneSpeseIstruttoria() { - return _boDettPratica.isEsenzioneSpeseIstruttoria(); - } - - /** - * Sets whether this bo dett pratica is esenzione spese istruttoria. - * - * @param esenzioneSpeseIstruttoria the esenzione spese istruttoria of this bo dett pratica - */ - @Override - public void setEsenzioneSpeseIstruttoria(boolean esenzioneSpeseIstruttoria) { - _boDettPratica.setEsenzioneSpeseIstruttoria(esenzioneSpeseIstruttoria); - } - - /** - * Returns the status of this bo dett pratica. - * - * @return the status of this bo dett pratica - */ - @Override - public int getStatus() { - return _boDettPratica.getStatus(); - } - - /** - * Sets the status of this bo dett pratica. - * - * @param status the status of this bo dett pratica - */ - @Override - public void setStatus(int status) { - _boDettPratica.setStatus(status); - } - - /** - * Returns the status by user ID of this bo dett pratica. - * - * @return the status by user ID of this bo dett pratica - */ - @Override - public long getStatusByUserId() { - return _boDettPratica.getStatusByUserId(); - } - - /** - * Sets the status by user ID of this bo dett pratica. - * - * @param statusByUserId the status by user ID of this bo dett pratica - */ - @Override - public void setStatusByUserId(long statusByUserId) { - _boDettPratica.setStatusByUserId(statusByUserId); - } - - /** - * Returns the status by user uuid of this bo dett pratica. - * - * @return the status by user uuid of this bo dett pratica - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getStatusByUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _boDettPratica.getStatusByUserUuid(); - } - - /** - * Sets the status by user uuid of this bo dett pratica. - * - * @param statusByUserUuid the status by user uuid of this bo dett pratica - */ - @Override - public void setStatusByUserUuid(java.lang.String statusByUserUuid) { - _boDettPratica.setStatusByUserUuid(statusByUserUuid); - } - - /** - * Returns the status by user name of this bo dett pratica. - * - * @return the status by user name of this bo dett pratica - */ - @Override - public java.lang.String getStatusByUserName() { - return _boDettPratica.getStatusByUserName(); - } - - /** - * Sets the status by user name of this bo dett pratica. - * - * @param statusByUserName the status by user name of this bo dett pratica - */ - @Override - public void setStatusByUserName(java.lang.String statusByUserName) { - _boDettPratica.setStatusByUserName(statusByUserName); - } - - /** - * Returns the status date of this bo dett pratica. - * - * @return the status date of this bo dett pratica - */ - @Override - public java.util.Date getStatusDate() { - return _boDettPratica.getStatusDate(); - } - - /** - * Sets the status date of this bo dett pratica. - * - * @param statusDate the status date of this bo dett pratica - */ - @Override - public void setStatusDate(java.util.Date statusDate) { - _boDettPratica.setStatusDate(statusDate); - } - - /** - * Returns the status task of this bo dett pratica. - * - * @return the status task of this bo dett pratica - */ - @Override - public int getStatusTask() { - return _boDettPratica.getStatusTask(); - } - - /** - * Sets the status task of this bo dett pratica. - * - * @param statusTask the status task of this bo dett pratica - */ - @Override - public void setStatusTask(int statusTask) { - _boDettPratica.setStatusTask(statusTask); - } - - /** - * Returns the workflow forzato of this bo dett pratica. - * - * @return the workflow forzato of this bo dett pratica - */ - @Override - public boolean getWorkflowForzato() { - return _boDettPratica.getWorkflowForzato(); - } - - /** - * Returns true if this bo dett pratica is workflow forzato. - * - * @return true if this bo dett pratica is workflow forzato; false otherwise - */ - @Override - public boolean isWorkflowForzato() { - return _boDettPratica.isWorkflowForzato(); - } - - /** - * Sets whether this bo dett pratica is workflow forzato. - * - * @param workflowForzato the workflow forzato of this bo dett pratica - */ - @Override - public void setWorkflowForzato(boolean workflowForzato) { - _boDettPratica.setWorkflowForzato(workflowForzato); - } - - /** - * Returns the soggetto sostituito ID of this bo dett pratica. - * - * @return the soggetto sostituito ID of this bo dett pratica - */ - @Override - public long getSoggettoSostituitoId() { - return _boDettPratica.getSoggettoSostituitoId(); - } - - /** - * Sets the soggetto sostituito ID of this bo dett pratica. - * - * @param soggettoSostituitoId the soggetto sostituito ID of this bo dett pratica - */ - @Override - public void setSoggettoSostituitoId(long soggettoSostituitoId) { - _boDettPratica.setSoggettoSostituitoId(soggettoSostituitoId); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #isApproved()} - */ - @Override - public boolean getApproved() { - return _boDettPratica.getApproved(); - } - - /** - * Returns true if this bo dett pratica is approved. - * - * @return true if this bo dett pratica is approved; false otherwise - */ - @Override - public boolean isApproved() { - return _boDettPratica.isApproved(); - } - - /** - * Returns true if this bo dett pratica is denied. - * - * @return true if this bo dett pratica is denied; false otherwise - */ - @Override - public boolean isDenied() { - return _boDettPratica.isDenied(); - } - - /** - * Returns true if this bo dett pratica is a draft. - * - * @return true if this bo dett pratica is a draft; false otherwise - */ - @Override - public boolean isDraft() { - return _boDettPratica.isDraft(); - } - - /** - * Returns true if this bo dett pratica is expired. - * - * @return true if this bo dett pratica is expired; false otherwise - */ - @Override - public boolean isExpired() { - return _boDettPratica.isExpired(); - } - - /** - * Returns true if this bo dett pratica is inactive. - * - * @return true if this bo dett pratica is inactive; false otherwise - */ - @Override - public boolean isInactive() { - return _boDettPratica.isInactive(); - } - - /** - * Returns true if this bo dett pratica is incomplete. - * - * @return true if this bo dett pratica is incomplete; false otherwise - */ - @Override - public boolean isIncomplete() { - return _boDettPratica.isIncomplete(); - } - - /** - * Returns true if this bo dett pratica is pending. - * - * @return true if this bo dett pratica is pending; false otherwise - */ - @Override - public boolean isPending() { - return _boDettPratica.isPending(); - } - - /** - * Returns true if this bo dett pratica is scheduled. - * - * @return true if this bo dett pratica is scheduled; false otherwise - */ - @Override - public boolean isScheduled() { - return _boDettPratica.isScheduled(); - } - - @Override - public boolean isNew() { - return _boDettPratica.isNew(); - } - - @Override - public void setNew(boolean n) { - _boDettPratica.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _boDettPratica.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _boDettPratica.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _boDettPratica.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _boDettPratica.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _boDettPratica.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _boDettPratica.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _boDettPratica.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _boDettPratica.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _boDettPratica.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new BoDettPraticaWrapper((BoDettPratica)_boDettPratica.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.BoDettPratica boDettPratica) { - return _boDettPratica.compareTo(boDettPratica); - } - - @Override - public int hashCode() { - return _boDettPratica.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _boDettPratica.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoDettPratica toEscapedModel() { - return new BoDettPraticaWrapper(_boDettPratica.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoDettPratica toUnescapedModel() { - return new BoDettPraticaWrapper(_boDettPratica.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _boDettPratica.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _boDettPratica.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _boDettPratica.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoDettPraticaWrapper)) { - return false; - } - - BoDettPraticaWrapper boDettPraticaWrapper = (BoDettPraticaWrapper)obj; - - if (Validator.equals(_boDettPratica, boDettPraticaWrapper._boDettPratica)) { - return true; - } - - return false; - } - - @Override - public StagedModelType getStagedModelType() { - return _boDettPratica.getStagedModelType(); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public BoDettPratica getWrappedBoDettPratica() { - return _boDettPratica; - } - - @Override - public BoDettPratica getWrappedModel() { - return _boDettPratica; - } - - @Override - public void resetOriginalValues() { - _boDettPratica.resetOriginalValues(); - } - - private BoDettPratica _boDettPratica; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoDocPratica.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoDocPratica.java deleted file mode 100644 index 07e9c9f1..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoDocPratica.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the BoDocPratica service. Represents a row in the "gc_docpratica" database table, with each column mapped to a property of this class. - * - * @author 3FC - * @see BoDocPraticaModel - * @see it.tref.liferay.portos.importazione.model.impl.BoDocPraticaImpl - * @see it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl - * @generated - */ -public interface BoDocPratica extends BoDocPraticaModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoDocPraticaClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoDocPraticaClp.java deleted file mode 100644 index 19f5dd8e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoDocPraticaClp.java +++ /dev/null @@ -1,1094 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.service.BoDocPraticaLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.ClpSerializer; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author 3FC - */ -public class BoDocPraticaClp extends BaseModelImpl - implements BoDocPratica { - public BoDocPraticaClp() { - } - - @Override - public Class getModelClass() { - return BoDocPratica.class; - } - - @Override - public String getModelClassName() { - return BoDocPratica.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _docPraticaId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setDocPraticaId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _docPraticaId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("docPraticaId", getDocPraticaId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("dlFileEntryId", getDlFileEntryId()); - attributes.put("version", getVersion()); - attributes.put("praticaValidata", getPraticaValidata()); - attributes.put("descLong", getDescLong()); - attributes.put("codFileSuap", getCodFileSuap()); - attributes.put("tipologia", getTipologia()); - attributes.put("md5", getMd5()); - attributes.put("aggiornato", getAggiornato()); - attributes.put("jsonFirmatari", getJsonFirmatari()); - attributes.put("daxId", getDaxId()); - attributes.put("dtInvioDax", getDtInvioDax()); - attributes.put("erroreDax", getErroreDax()); - attributes.put("dtErroreDax", getDtErroreDax()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long docPraticaId = (Long)attributes.get("docPraticaId"); - - if (docPraticaId != null) { - setDocPraticaId(docPraticaId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - Long dlFileEntryId = (Long)attributes.get("dlFileEntryId"); - - if (dlFileEntryId != null) { - setDlFileEntryId(dlFileEntryId); - } - - String version = (String)attributes.get("version"); - - if (version != null) { - setVersion(version); - } - - Boolean praticaValidata = (Boolean)attributes.get("praticaValidata"); - - if (praticaValidata != null) { - setPraticaValidata(praticaValidata); - } - - String descLong = (String)attributes.get("descLong"); - - if (descLong != null) { - setDescLong(descLong); - } - - String codFileSuap = (String)attributes.get("codFileSuap"); - - if (codFileSuap != null) { - setCodFileSuap(codFileSuap); - } - - String tipologia = (String)attributes.get("tipologia"); - - if (tipologia != null) { - setTipologia(tipologia); - } - - String md5 = (String)attributes.get("md5"); - - if (md5 != null) { - setMd5(md5); - } - - Boolean aggiornato = (Boolean)attributes.get("aggiornato"); - - if (aggiornato != null) { - setAggiornato(aggiornato); - } - - String jsonFirmatari = (String)attributes.get("jsonFirmatari"); - - if (jsonFirmatari != null) { - setJsonFirmatari(jsonFirmatari); - } - - Long daxId = (Long)attributes.get("daxId"); - - if (daxId != null) { - setDaxId(daxId); - } - - Date dtInvioDax = (Date)attributes.get("dtInvioDax"); - - if (dtInvioDax != null) { - setDtInvioDax(dtInvioDax); - } - - String erroreDax = (String)attributes.get("erroreDax"); - - if (erroreDax != null) { - setErroreDax(erroreDax); - } - - Date dtErroreDax = (Date)attributes.get("dtErroreDax"); - - if (dtErroreDax != null) { - setDtErroreDax(dtErroreDax); - } - } - - @Override - public String getUuid() { - return _uuid; - } - - @Override - public void setUuid(String uuid) { - _uuid = uuid; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setUuid", String.class); - - method.invoke(_boDocPraticaRemoteModel, uuid); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getDocPraticaId() { - return _docPraticaId; - } - - @Override - public void setDocPraticaId(long docPraticaId) { - _docPraticaId = docPraticaId; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDocPraticaId", long.class); - - method.invoke(_boDocPraticaRemoteModel, docPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_boDocPraticaRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_boDocPraticaRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_boDocPraticaRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_boDocPraticaRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_boDocPraticaRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_boDocPraticaRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getDettPraticaId() { - return _dettPraticaId; - } - - @Override - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDettPraticaId", long.class); - - method.invoke(_boDocPraticaRemoteModel, dettPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getDlFileEntryId() { - return _dlFileEntryId; - } - - @Override - public void setDlFileEntryId(long dlFileEntryId) { - _dlFileEntryId = dlFileEntryId; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDlFileEntryId", long.class); - - method.invoke(_boDocPraticaRemoteModel, dlFileEntryId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getVersion() { - return _version; - } - - @Override - public void setVersion(String version) { - _version = version; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setVersion", String.class); - - method.invoke(_boDocPraticaRemoteModel, version); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getPraticaValidata() { - return _praticaValidata; - } - - @Override - public boolean isPraticaValidata() { - return _praticaValidata; - } - - @Override - public void setPraticaValidata(boolean praticaValidata) { - _praticaValidata = praticaValidata; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setPraticaValidata", - boolean.class); - - method.invoke(_boDocPraticaRemoteModel, praticaValidata); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getDescLong() { - return _descLong; - } - - @Override - public void setDescLong(String descLong) { - _descLong = descLong; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDescLong", String.class); - - method.invoke(_boDocPraticaRemoteModel, descLong); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodFileSuap() { - return _codFileSuap; - } - - @Override - public void setCodFileSuap(String codFileSuap) { - _codFileSuap = codFileSuap; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodFileSuap", String.class); - - method.invoke(_boDocPraticaRemoteModel, codFileSuap); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getTipologia() { - return _tipologia; - } - - @Override - public void setTipologia(String tipologia) { - _tipologia = tipologia; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setTipologia", String.class); - - method.invoke(_boDocPraticaRemoteModel, tipologia); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getMd5() { - return _md5; - } - - @Override - public void setMd5(String md5) { - _md5 = md5; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setMd5", String.class); - - method.invoke(_boDocPraticaRemoteModel, md5); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getAggiornato() { - return _aggiornato; - } - - @Override - public boolean isAggiornato() { - return _aggiornato; - } - - @Override - public void setAggiornato(boolean aggiornato) { - _aggiornato = aggiornato; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setAggiornato", boolean.class); - - method.invoke(_boDocPraticaRemoteModel, aggiornato); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getJsonFirmatari() { - return _jsonFirmatari; - } - - @Override - public void setJsonFirmatari(String jsonFirmatari) { - _jsonFirmatari = jsonFirmatari; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setJsonFirmatari", String.class); - - method.invoke(_boDocPraticaRemoteModel, jsonFirmatari); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getDaxId() { - return _daxId; - } - - @Override - public void setDaxId(long daxId) { - _daxId = daxId; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDaxId", long.class); - - method.invoke(_boDocPraticaRemoteModel, daxId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDtInvioDax() { - return _dtInvioDax; - } - - @Override - public void setDtInvioDax(Date dtInvioDax) { - _dtInvioDax = dtInvioDax; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDtInvioDax", Date.class); - - method.invoke(_boDocPraticaRemoteModel, dtInvioDax); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getErroreDax() { - return _erroreDax; - } - - @Override - public void setErroreDax(String erroreDax) { - _erroreDax = erroreDax; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setErroreDax", String.class); - - method.invoke(_boDocPraticaRemoteModel, erroreDax); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDtErroreDax() { - return _dtErroreDax; - } - - @Override - public void setDtErroreDax(Date dtErroreDax) { - _dtErroreDax = dtErroreDax; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDtErroreDax", Date.class); - - method.invoke(_boDocPraticaRemoteModel, dtErroreDax); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoDocPratica.class.getName())); - } - - public BaseModel getBoDocPraticaRemoteModel() { - return _boDocPraticaRemoteModel; - } - - public void setBoDocPraticaRemoteModel(BaseModel boDocPraticaRemoteModel) { - _boDocPraticaRemoteModel = boDocPraticaRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _boDocPraticaRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_boDocPraticaRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoDocPraticaLocalServiceUtil.addBoDocPratica(this); - } - else { - BoDocPraticaLocalServiceUtil.updateBoDocPratica(this); - } - } - - @Override - public BoDocPratica toEscapedModel() { - return (BoDocPratica)ProxyUtil.newProxyInstance(BoDocPratica.class.getClassLoader(), - new Class[] { BoDocPratica.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - BoDocPraticaClp clone = new BoDocPraticaClp(); - - clone.setUuid(getUuid()); - clone.setDocPraticaId(getDocPraticaId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setGroupId(getGroupId()); - clone.setDettPraticaId(getDettPraticaId()); - clone.setDlFileEntryId(getDlFileEntryId()); - clone.setVersion(getVersion()); - clone.setPraticaValidata(getPraticaValidata()); - clone.setDescLong(getDescLong()); - clone.setCodFileSuap(getCodFileSuap()); - clone.setTipologia(getTipologia()); - clone.setMd5(getMd5()); - clone.setAggiornato(getAggiornato()); - clone.setJsonFirmatari(getJsonFirmatari()); - clone.setDaxId(getDaxId()); - clone.setDtInvioDax(getDtInvioDax()); - clone.setErroreDax(getErroreDax()); - clone.setDtErroreDax(getDtErroreDax()); - - return clone; - } - - @Override - public int compareTo(BoDocPratica boDocPratica) { - long primaryKey = boDocPratica.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoDocPraticaClp)) { - return false; - } - - BoDocPraticaClp boDocPratica = (BoDocPraticaClp)obj; - - long primaryKey = boDocPratica.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(45); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", docPraticaId="); - sb.append(getDocPraticaId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", dettPraticaId="); - sb.append(getDettPraticaId()); - sb.append(", dlFileEntryId="); - sb.append(getDlFileEntryId()); - sb.append(", version="); - sb.append(getVersion()); - sb.append(", praticaValidata="); - sb.append(getPraticaValidata()); - sb.append(", descLong="); - sb.append(getDescLong()); - sb.append(", codFileSuap="); - sb.append(getCodFileSuap()); - sb.append(", tipologia="); - sb.append(getTipologia()); - sb.append(", md5="); - sb.append(getMd5()); - sb.append(", aggiornato="); - sb.append(getAggiornato()); - sb.append(", jsonFirmatari="); - sb.append(getJsonFirmatari()); - sb.append(", daxId="); - sb.append(getDaxId()); - sb.append(", dtInvioDax="); - sb.append(getDtInvioDax()); - sb.append(", erroreDax="); - sb.append(getErroreDax()); - sb.append(", dtErroreDax="); - sb.append(getDtErroreDax()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(70); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.BoDocPratica"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "docPraticaId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "dettPraticaId"); - sb.append( - "dlFileEntryId"); - sb.append( - "version"); - sb.append( - "praticaValidata"); - sb.append( - "descLong"); - sb.append( - "codFileSuap"); - sb.append( - "tipologia"); - sb.append( - "md5"); - sb.append( - "aggiornato"); - sb.append( - "jsonFirmatari"); - sb.append( - "daxId"); - sb.append( - "dtInvioDax"); - sb.append( - "erroreDax"); - sb.append( - "dtErroreDax"); - - sb.append(""); - - return sb.toString(); - } - - private String _uuid; - private long _docPraticaId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _dettPraticaId; - private long _dlFileEntryId; - private String _version; - private boolean _praticaValidata; - private String _descLong; - private String _codFileSuap; - private String _tipologia; - private String _md5; - private boolean _aggiornato; - private String _jsonFirmatari; - private long _daxId; - private Date _dtInvioDax; - private String _erroreDax; - private Date _dtErroreDax; - private BaseModel _boDocPraticaRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.importazione.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoDocPraticaModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoDocPraticaModel.java deleted file mode 100644 index 4c581a0f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoDocPraticaModel.java +++ /dev/null @@ -1,484 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.StagedGroupedModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the BoDocPratica service. Represents a row in the "gc_docpratica" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaImpl}. - *

- * - * @author 3FC - * @see BoDocPratica - * @see it.tref.liferay.portos.importazione.model.impl.BoDocPraticaImpl - * @see it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl - * @generated - */ -public interface BoDocPraticaModel extends BaseModel, - StagedGroupedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a bo doc pratica model instance should use the {@link BoDocPratica} interface instead. - */ - - /** - * Returns the primary key of this bo doc pratica. - * - * @return the primary key of this bo doc pratica - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this bo doc pratica. - * - * @param primaryKey the primary key of this bo doc pratica - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the uuid of this bo doc pratica. - * - * @return the uuid of this bo doc pratica - */ - @AutoEscape - @Override - public String getUuid(); - - /** - * Sets the uuid of this bo doc pratica. - * - * @param uuid the uuid of this bo doc pratica - */ - @Override - public void setUuid(String uuid); - - /** - * Returns the doc pratica ID of this bo doc pratica. - * - * @return the doc pratica ID of this bo doc pratica - */ - public long getDocPraticaId(); - - /** - * Sets the doc pratica ID of this bo doc pratica. - * - * @param docPraticaId the doc pratica ID of this bo doc pratica - */ - public void setDocPraticaId(long docPraticaId); - - /** - * Returns the company ID of this bo doc pratica. - * - * @return the company ID of this bo doc pratica - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this bo doc pratica. - * - * @param companyId the company ID of this bo doc pratica - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this bo doc pratica. - * - * @return the user ID of this bo doc pratica - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this bo doc pratica. - * - * @param userId the user ID of this bo doc pratica - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this bo doc pratica. - * - * @return the user uuid of this bo doc pratica - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this bo doc pratica. - * - * @param userUuid the user uuid of this bo doc pratica - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this bo doc pratica. - * - * @return the user name of this bo doc pratica - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this bo doc pratica. - * - * @param userName the user name of this bo doc pratica - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this bo doc pratica. - * - * @return the create date of this bo doc pratica - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this bo doc pratica. - * - * @param createDate the create date of this bo doc pratica - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this bo doc pratica. - * - * @return the modified date of this bo doc pratica - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this bo doc pratica. - * - * @param modifiedDate the modified date of this bo doc pratica - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the group ID of this bo doc pratica. - * - * @return the group ID of this bo doc pratica - */ - @Override - public long getGroupId(); - - /** - * Sets the group ID of this bo doc pratica. - * - * @param groupId the group ID of this bo doc pratica - */ - @Override - public void setGroupId(long groupId); - - /** - * Returns the dett pratica ID of this bo doc pratica. - * - * @return the dett pratica ID of this bo doc pratica - */ - public long getDettPraticaId(); - - /** - * Sets the dett pratica ID of this bo doc pratica. - * - * @param dettPraticaId the dett pratica ID of this bo doc pratica - */ - public void setDettPraticaId(long dettPraticaId); - - /** - * Returns the dl file entry ID of this bo doc pratica. - * - * @return the dl file entry ID of this bo doc pratica - */ - public long getDlFileEntryId(); - - /** - * Sets the dl file entry ID of this bo doc pratica. - * - * @param dlFileEntryId the dl file entry ID of this bo doc pratica - */ - public void setDlFileEntryId(long dlFileEntryId); - - /** - * Returns the version of this bo doc pratica. - * - * @return the version of this bo doc pratica - */ - @AutoEscape - public String getVersion(); - - /** - * Sets the version of this bo doc pratica. - * - * @param version the version of this bo doc pratica - */ - public void setVersion(String version); - - /** - * Returns the pratica validata of this bo doc pratica. - * - * @return the pratica validata of this bo doc pratica - */ - public boolean getPraticaValidata(); - - /** - * Returns true if this bo doc pratica is pratica validata. - * - * @return true if this bo doc pratica is pratica validata; false otherwise - */ - public boolean isPraticaValidata(); - - /** - * Sets whether this bo doc pratica is pratica validata. - * - * @param praticaValidata the pratica validata of this bo doc pratica - */ - public void setPraticaValidata(boolean praticaValidata); - - /** - * Returns the desc long of this bo doc pratica. - * - * @return the desc long of this bo doc pratica - */ - @AutoEscape - public String getDescLong(); - - /** - * Sets the desc long of this bo doc pratica. - * - * @param descLong the desc long of this bo doc pratica - */ - public void setDescLong(String descLong); - - /** - * Returns the cod file suap of this bo doc pratica. - * - * @return the cod file suap of this bo doc pratica - */ - @AutoEscape - public String getCodFileSuap(); - - /** - * Sets the cod file suap of this bo doc pratica. - * - * @param codFileSuap the cod file suap of this bo doc pratica - */ - public void setCodFileSuap(String codFileSuap); - - /** - * Returns the tipologia of this bo doc pratica. - * - * @return the tipologia of this bo doc pratica - */ - @AutoEscape - public String getTipologia(); - - /** - * Sets the tipologia of this bo doc pratica. - * - * @param tipologia the tipologia of this bo doc pratica - */ - public void setTipologia(String tipologia); - - /** - * Returns the md5 of this bo doc pratica. - * - * @return the md5 of this bo doc pratica - */ - @AutoEscape - public String getMd5(); - - /** - * Sets the md5 of this bo doc pratica. - * - * @param md5 the md5 of this bo doc pratica - */ - public void setMd5(String md5); - - /** - * Returns the aggiornato of this bo doc pratica. - * - * @return the aggiornato of this bo doc pratica - */ - public boolean getAggiornato(); - - /** - * Returns true if this bo doc pratica is aggiornato. - * - * @return true if this bo doc pratica is aggiornato; false otherwise - */ - public boolean isAggiornato(); - - /** - * Sets whether this bo doc pratica is aggiornato. - * - * @param aggiornato the aggiornato of this bo doc pratica - */ - public void setAggiornato(boolean aggiornato); - - /** - * Returns the json firmatari of this bo doc pratica. - * - * @return the json firmatari of this bo doc pratica - */ - @AutoEscape - public String getJsonFirmatari(); - - /** - * Sets the json firmatari of this bo doc pratica. - * - * @param jsonFirmatari the json firmatari of this bo doc pratica - */ - public void setJsonFirmatari(String jsonFirmatari); - - /** - * Returns the dax ID of this bo doc pratica. - * - * @return the dax ID of this bo doc pratica - */ - public long getDaxId(); - - /** - * Sets the dax ID of this bo doc pratica. - * - * @param daxId the dax ID of this bo doc pratica - */ - public void setDaxId(long daxId); - - /** - * Returns the dt invio dax of this bo doc pratica. - * - * @return the dt invio dax of this bo doc pratica - */ - public Date getDtInvioDax(); - - /** - * Sets the dt invio dax of this bo doc pratica. - * - * @param dtInvioDax the dt invio dax of this bo doc pratica - */ - public void setDtInvioDax(Date dtInvioDax); - - /** - * Returns the errore dax of this bo doc pratica. - * - * @return the errore dax of this bo doc pratica - */ - @AutoEscape - public String getErroreDax(); - - /** - * Sets the errore dax of this bo doc pratica. - * - * @param erroreDax the errore dax of this bo doc pratica - */ - public void setErroreDax(String erroreDax); - - /** - * Returns the dt errore dax of this bo doc pratica. - * - * @return the dt errore dax of this bo doc pratica - */ - public Date getDtErroreDax(); - - /** - * Sets the dt errore dax of this bo doc pratica. - * - * @param dtErroreDax the dt errore dax of this bo doc pratica - */ - public void setDtErroreDax(Date dtErroreDax); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.BoDocPratica boDocPratica); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.importazione.model.BoDocPratica toEscapedModel(); - - @Override - public it.tref.liferay.portos.importazione.model.BoDocPratica toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoDocPraticaSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoDocPraticaSoap.java deleted file mode 100644 index 6e67fb3e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoDocPraticaSoap.java +++ /dev/null @@ -1,313 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author 3FC - * @generated - */ -public class BoDocPraticaSoap implements Serializable { - public static BoDocPraticaSoap toSoapModel(BoDocPratica model) { - BoDocPraticaSoap soapModel = new BoDocPraticaSoap(); - - soapModel.setUuid(model.getUuid()); - soapModel.setDocPraticaId(model.getDocPraticaId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setDettPraticaId(model.getDettPraticaId()); - soapModel.setDlFileEntryId(model.getDlFileEntryId()); - soapModel.setVersion(model.getVersion()); - soapModel.setPraticaValidata(model.getPraticaValidata()); - soapModel.setDescLong(model.getDescLong()); - soapModel.setCodFileSuap(model.getCodFileSuap()); - soapModel.setTipologia(model.getTipologia()); - soapModel.setMd5(model.getMd5()); - soapModel.setAggiornato(model.getAggiornato()); - soapModel.setJsonFirmatari(model.getJsonFirmatari()); - soapModel.setDaxId(model.getDaxId()); - soapModel.setDtInvioDax(model.getDtInvioDax()); - soapModel.setErroreDax(model.getErroreDax()); - soapModel.setDtErroreDax(model.getDtErroreDax()); - - return soapModel; - } - - public static BoDocPraticaSoap[] toSoapModels(BoDocPratica[] models) { - BoDocPraticaSoap[] soapModels = new BoDocPraticaSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static BoDocPraticaSoap[][] toSoapModels(BoDocPratica[][] models) { - BoDocPraticaSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new BoDocPraticaSoap[models.length][models[0].length]; - } - else { - soapModels = new BoDocPraticaSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static BoDocPraticaSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (BoDocPratica model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new BoDocPraticaSoap[soapModels.size()]); - } - - public BoDocPraticaSoap() { - } - - public long getPrimaryKey() { - return _docPraticaId; - } - - public void setPrimaryKey(long pk) { - setDocPraticaId(pk); - } - - public String getUuid() { - return _uuid; - } - - public void setUuid(String uuid) { - _uuid = uuid; - } - - public long getDocPraticaId() { - return _docPraticaId; - } - - public void setDocPraticaId(long docPraticaId) { - _docPraticaId = docPraticaId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public long getDettPraticaId() { - return _dettPraticaId; - } - - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - } - - public long getDlFileEntryId() { - return _dlFileEntryId; - } - - public void setDlFileEntryId(long dlFileEntryId) { - _dlFileEntryId = dlFileEntryId; - } - - public String getVersion() { - return _version; - } - - public void setVersion(String version) { - _version = version; - } - - public boolean getPraticaValidata() { - return _praticaValidata; - } - - public boolean isPraticaValidata() { - return _praticaValidata; - } - - public void setPraticaValidata(boolean praticaValidata) { - _praticaValidata = praticaValidata; - } - - public String getDescLong() { - return _descLong; - } - - public void setDescLong(String descLong) { - _descLong = descLong; - } - - public String getCodFileSuap() { - return _codFileSuap; - } - - public void setCodFileSuap(String codFileSuap) { - _codFileSuap = codFileSuap; - } - - public String getTipologia() { - return _tipologia; - } - - public void setTipologia(String tipologia) { - _tipologia = tipologia; - } - - public String getMd5() { - return _md5; - } - - public void setMd5(String md5) { - _md5 = md5; - } - - public boolean getAggiornato() { - return _aggiornato; - } - - public boolean isAggiornato() { - return _aggiornato; - } - - public void setAggiornato(boolean aggiornato) { - _aggiornato = aggiornato; - } - - public String getJsonFirmatari() { - return _jsonFirmatari; - } - - public void setJsonFirmatari(String jsonFirmatari) { - _jsonFirmatari = jsonFirmatari; - } - - public long getDaxId() { - return _daxId; - } - - public void setDaxId(long daxId) { - _daxId = daxId; - } - - public Date getDtInvioDax() { - return _dtInvioDax; - } - - public void setDtInvioDax(Date dtInvioDax) { - _dtInvioDax = dtInvioDax; - } - - public String getErroreDax() { - return _erroreDax; - } - - public void setErroreDax(String erroreDax) { - _erroreDax = erroreDax; - } - - public Date getDtErroreDax() { - return _dtErroreDax; - } - - public void setDtErroreDax(Date dtErroreDax) { - _dtErroreDax = dtErroreDax; - } - - private String _uuid; - private long _docPraticaId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _dettPraticaId; - private long _dlFileEntryId; - private String _version; - private boolean _praticaValidata; - private String _descLong; - private String _codFileSuap; - private String _tipologia; - private String _md5; - private boolean _aggiornato; - private String _jsonFirmatari; - private long _daxId; - private Date _dtInvioDax; - private String _erroreDax; - private Date _dtErroreDax; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoDocPraticaWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoDocPraticaWrapper.java deleted file mode 100644 index 901a7100..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoDocPraticaWrapper.java +++ /dev/null @@ -1,864 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link BoDocPratica}. - *

- * - * @author 3FC - * @see BoDocPratica - * @generated - */ -public class BoDocPraticaWrapper implements BoDocPratica, - ModelWrapper { - public BoDocPraticaWrapper(BoDocPratica boDocPratica) { - _boDocPratica = boDocPratica; - } - - @Override - public Class getModelClass() { - return BoDocPratica.class; - } - - @Override - public String getModelClassName() { - return BoDocPratica.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("docPraticaId", getDocPraticaId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("dlFileEntryId", getDlFileEntryId()); - attributes.put("version", getVersion()); - attributes.put("praticaValidata", getPraticaValidata()); - attributes.put("descLong", getDescLong()); - attributes.put("codFileSuap", getCodFileSuap()); - attributes.put("tipologia", getTipologia()); - attributes.put("md5", getMd5()); - attributes.put("aggiornato", getAggiornato()); - attributes.put("jsonFirmatari", getJsonFirmatari()); - attributes.put("daxId", getDaxId()); - attributes.put("dtInvioDax", getDtInvioDax()); - attributes.put("erroreDax", getErroreDax()); - attributes.put("dtErroreDax", getDtErroreDax()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long docPraticaId = (Long)attributes.get("docPraticaId"); - - if (docPraticaId != null) { - setDocPraticaId(docPraticaId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - Long dlFileEntryId = (Long)attributes.get("dlFileEntryId"); - - if (dlFileEntryId != null) { - setDlFileEntryId(dlFileEntryId); - } - - String version = (String)attributes.get("version"); - - if (version != null) { - setVersion(version); - } - - Boolean praticaValidata = (Boolean)attributes.get("praticaValidata"); - - if (praticaValidata != null) { - setPraticaValidata(praticaValidata); - } - - String descLong = (String)attributes.get("descLong"); - - if (descLong != null) { - setDescLong(descLong); - } - - String codFileSuap = (String)attributes.get("codFileSuap"); - - if (codFileSuap != null) { - setCodFileSuap(codFileSuap); - } - - String tipologia = (String)attributes.get("tipologia"); - - if (tipologia != null) { - setTipologia(tipologia); - } - - String md5 = (String)attributes.get("md5"); - - if (md5 != null) { - setMd5(md5); - } - - Boolean aggiornato = (Boolean)attributes.get("aggiornato"); - - if (aggiornato != null) { - setAggiornato(aggiornato); - } - - String jsonFirmatari = (String)attributes.get("jsonFirmatari"); - - if (jsonFirmatari != null) { - setJsonFirmatari(jsonFirmatari); - } - - Long daxId = (Long)attributes.get("daxId"); - - if (daxId != null) { - setDaxId(daxId); - } - - Date dtInvioDax = (Date)attributes.get("dtInvioDax"); - - if (dtInvioDax != null) { - setDtInvioDax(dtInvioDax); - } - - String erroreDax = (String)attributes.get("erroreDax"); - - if (erroreDax != null) { - setErroreDax(erroreDax); - } - - Date dtErroreDax = (Date)attributes.get("dtErroreDax"); - - if (dtErroreDax != null) { - setDtErroreDax(dtErroreDax); - } - } - - /** - * Returns the primary key of this bo doc pratica. - * - * @return the primary key of this bo doc pratica - */ - @Override - public long getPrimaryKey() { - return _boDocPratica.getPrimaryKey(); - } - - /** - * Sets the primary key of this bo doc pratica. - * - * @param primaryKey the primary key of this bo doc pratica - */ - @Override - public void setPrimaryKey(long primaryKey) { - _boDocPratica.setPrimaryKey(primaryKey); - } - - /** - * Returns the uuid of this bo doc pratica. - * - * @return the uuid of this bo doc pratica - */ - @Override - public java.lang.String getUuid() { - return _boDocPratica.getUuid(); - } - - /** - * Sets the uuid of this bo doc pratica. - * - * @param uuid the uuid of this bo doc pratica - */ - @Override - public void setUuid(java.lang.String uuid) { - _boDocPratica.setUuid(uuid); - } - - /** - * Returns the doc pratica ID of this bo doc pratica. - * - * @return the doc pratica ID of this bo doc pratica - */ - @Override - public long getDocPraticaId() { - return _boDocPratica.getDocPraticaId(); - } - - /** - * Sets the doc pratica ID of this bo doc pratica. - * - * @param docPraticaId the doc pratica ID of this bo doc pratica - */ - @Override - public void setDocPraticaId(long docPraticaId) { - _boDocPratica.setDocPraticaId(docPraticaId); - } - - /** - * Returns the company ID of this bo doc pratica. - * - * @return the company ID of this bo doc pratica - */ - @Override - public long getCompanyId() { - return _boDocPratica.getCompanyId(); - } - - /** - * Sets the company ID of this bo doc pratica. - * - * @param companyId the company ID of this bo doc pratica - */ - @Override - public void setCompanyId(long companyId) { - _boDocPratica.setCompanyId(companyId); - } - - /** - * Returns the user ID of this bo doc pratica. - * - * @return the user ID of this bo doc pratica - */ - @Override - public long getUserId() { - return _boDocPratica.getUserId(); - } - - /** - * Sets the user ID of this bo doc pratica. - * - * @param userId the user ID of this bo doc pratica - */ - @Override - public void setUserId(long userId) { - _boDocPratica.setUserId(userId); - } - - /** - * Returns the user uuid of this bo doc pratica. - * - * @return the user uuid of this bo doc pratica - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _boDocPratica.getUserUuid(); - } - - /** - * Sets the user uuid of this bo doc pratica. - * - * @param userUuid the user uuid of this bo doc pratica - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _boDocPratica.setUserUuid(userUuid); - } - - /** - * Returns the user name of this bo doc pratica. - * - * @return the user name of this bo doc pratica - */ - @Override - public java.lang.String getUserName() { - return _boDocPratica.getUserName(); - } - - /** - * Sets the user name of this bo doc pratica. - * - * @param userName the user name of this bo doc pratica - */ - @Override - public void setUserName(java.lang.String userName) { - _boDocPratica.setUserName(userName); - } - - /** - * Returns the create date of this bo doc pratica. - * - * @return the create date of this bo doc pratica - */ - @Override - public java.util.Date getCreateDate() { - return _boDocPratica.getCreateDate(); - } - - /** - * Sets the create date of this bo doc pratica. - * - * @param createDate the create date of this bo doc pratica - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _boDocPratica.setCreateDate(createDate); - } - - /** - * Returns the modified date of this bo doc pratica. - * - * @return the modified date of this bo doc pratica - */ - @Override - public java.util.Date getModifiedDate() { - return _boDocPratica.getModifiedDate(); - } - - /** - * Sets the modified date of this bo doc pratica. - * - * @param modifiedDate the modified date of this bo doc pratica - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _boDocPratica.setModifiedDate(modifiedDate); - } - - /** - * Returns the group ID of this bo doc pratica. - * - * @return the group ID of this bo doc pratica - */ - @Override - public long getGroupId() { - return _boDocPratica.getGroupId(); - } - - /** - * Sets the group ID of this bo doc pratica. - * - * @param groupId the group ID of this bo doc pratica - */ - @Override - public void setGroupId(long groupId) { - _boDocPratica.setGroupId(groupId); - } - - /** - * Returns the dett pratica ID of this bo doc pratica. - * - * @return the dett pratica ID of this bo doc pratica - */ - @Override - public long getDettPraticaId() { - return _boDocPratica.getDettPraticaId(); - } - - /** - * Sets the dett pratica ID of this bo doc pratica. - * - * @param dettPraticaId the dett pratica ID of this bo doc pratica - */ - @Override - public void setDettPraticaId(long dettPraticaId) { - _boDocPratica.setDettPraticaId(dettPraticaId); - } - - /** - * Returns the dl file entry ID of this bo doc pratica. - * - * @return the dl file entry ID of this bo doc pratica - */ - @Override - public long getDlFileEntryId() { - return _boDocPratica.getDlFileEntryId(); - } - - /** - * Sets the dl file entry ID of this bo doc pratica. - * - * @param dlFileEntryId the dl file entry ID of this bo doc pratica - */ - @Override - public void setDlFileEntryId(long dlFileEntryId) { - _boDocPratica.setDlFileEntryId(dlFileEntryId); - } - - /** - * Returns the version of this bo doc pratica. - * - * @return the version of this bo doc pratica - */ - @Override - public java.lang.String getVersion() { - return _boDocPratica.getVersion(); - } - - /** - * Sets the version of this bo doc pratica. - * - * @param version the version of this bo doc pratica - */ - @Override - public void setVersion(java.lang.String version) { - _boDocPratica.setVersion(version); - } - - /** - * Returns the pratica validata of this bo doc pratica. - * - * @return the pratica validata of this bo doc pratica - */ - @Override - public boolean getPraticaValidata() { - return _boDocPratica.getPraticaValidata(); - } - - /** - * Returns true if this bo doc pratica is pratica validata. - * - * @return true if this bo doc pratica is pratica validata; false otherwise - */ - @Override - public boolean isPraticaValidata() { - return _boDocPratica.isPraticaValidata(); - } - - /** - * Sets whether this bo doc pratica is pratica validata. - * - * @param praticaValidata the pratica validata of this bo doc pratica - */ - @Override - public void setPraticaValidata(boolean praticaValidata) { - _boDocPratica.setPraticaValidata(praticaValidata); - } - - /** - * Returns the desc long of this bo doc pratica. - * - * @return the desc long of this bo doc pratica - */ - @Override - public java.lang.String getDescLong() { - return _boDocPratica.getDescLong(); - } - - /** - * Sets the desc long of this bo doc pratica. - * - * @param descLong the desc long of this bo doc pratica - */ - @Override - public void setDescLong(java.lang.String descLong) { - _boDocPratica.setDescLong(descLong); - } - - /** - * Returns the cod file suap of this bo doc pratica. - * - * @return the cod file suap of this bo doc pratica - */ - @Override - public java.lang.String getCodFileSuap() { - return _boDocPratica.getCodFileSuap(); - } - - /** - * Sets the cod file suap of this bo doc pratica. - * - * @param codFileSuap the cod file suap of this bo doc pratica - */ - @Override - public void setCodFileSuap(java.lang.String codFileSuap) { - _boDocPratica.setCodFileSuap(codFileSuap); - } - - /** - * Returns the tipologia of this bo doc pratica. - * - * @return the tipologia of this bo doc pratica - */ - @Override - public java.lang.String getTipologia() { - return _boDocPratica.getTipologia(); - } - - /** - * Sets the tipologia of this bo doc pratica. - * - * @param tipologia the tipologia of this bo doc pratica - */ - @Override - public void setTipologia(java.lang.String tipologia) { - _boDocPratica.setTipologia(tipologia); - } - - /** - * Returns the md5 of this bo doc pratica. - * - * @return the md5 of this bo doc pratica - */ - @Override - public java.lang.String getMd5() { - return _boDocPratica.getMd5(); - } - - /** - * Sets the md5 of this bo doc pratica. - * - * @param md5 the md5 of this bo doc pratica - */ - @Override - public void setMd5(java.lang.String md5) { - _boDocPratica.setMd5(md5); - } - - /** - * Returns the aggiornato of this bo doc pratica. - * - * @return the aggiornato of this bo doc pratica - */ - @Override - public boolean getAggiornato() { - return _boDocPratica.getAggiornato(); - } - - /** - * Returns true if this bo doc pratica is aggiornato. - * - * @return true if this bo doc pratica is aggiornato; false otherwise - */ - @Override - public boolean isAggiornato() { - return _boDocPratica.isAggiornato(); - } - - /** - * Sets whether this bo doc pratica is aggiornato. - * - * @param aggiornato the aggiornato of this bo doc pratica - */ - @Override - public void setAggiornato(boolean aggiornato) { - _boDocPratica.setAggiornato(aggiornato); - } - - /** - * Returns the json firmatari of this bo doc pratica. - * - * @return the json firmatari of this bo doc pratica - */ - @Override - public java.lang.String getJsonFirmatari() { - return _boDocPratica.getJsonFirmatari(); - } - - /** - * Sets the json firmatari of this bo doc pratica. - * - * @param jsonFirmatari the json firmatari of this bo doc pratica - */ - @Override - public void setJsonFirmatari(java.lang.String jsonFirmatari) { - _boDocPratica.setJsonFirmatari(jsonFirmatari); - } - - /** - * Returns the dax ID of this bo doc pratica. - * - * @return the dax ID of this bo doc pratica - */ - @Override - public long getDaxId() { - return _boDocPratica.getDaxId(); - } - - /** - * Sets the dax ID of this bo doc pratica. - * - * @param daxId the dax ID of this bo doc pratica - */ - @Override - public void setDaxId(long daxId) { - _boDocPratica.setDaxId(daxId); - } - - /** - * Returns the dt invio dax of this bo doc pratica. - * - * @return the dt invio dax of this bo doc pratica - */ - @Override - public java.util.Date getDtInvioDax() { - return _boDocPratica.getDtInvioDax(); - } - - /** - * Sets the dt invio dax of this bo doc pratica. - * - * @param dtInvioDax the dt invio dax of this bo doc pratica - */ - @Override - public void setDtInvioDax(java.util.Date dtInvioDax) { - _boDocPratica.setDtInvioDax(dtInvioDax); - } - - /** - * Returns the errore dax of this bo doc pratica. - * - * @return the errore dax of this bo doc pratica - */ - @Override - public java.lang.String getErroreDax() { - return _boDocPratica.getErroreDax(); - } - - /** - * Sets the errore dax of this bo doc pratica. - * - * @param erroreDax the errore dax of this bo doc pratica - */ - @Override - public void setErroreDax(java.lang.String erroreDax) { - _boDocPratica.setErroreDax(erroreDax); - } - - /** - * Returns the dt errore dax of this bo doc pratica. - * - * @return the dt errore dax of this bo doc pratica - */ - @Override - public java.util.Date getDtErroreDax() { - return _boDocPratica.getDtErroreDax(); - } - - /** - * Sets the dt errore dax of this bo doc pratica. - * - * @param dtErroreDax the dt errore dax of this bo doc pratica - */ - @Override - public void setDtErroreDax(java.util.Date dtErroreDax) { - _boDocPratica.setDtErroreDax(dtErroreDax); - } - - @Override - public boolean isNew() { - return _boDocPratica.isNew(); - } - - @Override - public void setNew(boolean n) { - _boDocPratica.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _boDocPratica.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _boDocPratica.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _boDocPratica.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _boDocPratica.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _boDocPratica.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _boDocPratica.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _boDocPratica.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _boDocPratica.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _boDocPratica.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new BoDocPraticaWrapper((BoDocPratica)_boDocPratica.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.BoDocPratica boDocPratica) { - return _boDocPratica.compareTo(boDocPratica); - } - - @Override - public int hashCode() { - return _boDocPratica.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _boDocPratica.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoDocPratica toEscapedModel() { - return new BoDocPraticaWrapper(_boDocPratica.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoDocPratica toUnescapedModel() { - return new BoDocPraticaWrapper(_boDocPratica.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _boDocPratica.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _boDocPratica.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _boDocPratica.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoDocPraticaWrapper)) { - return false; - } - - BoDocPraticaWrapper boDocPraticaWrapper = (BoDocPraticaWrapper)obj; - - if (Validator.equals(_boDocPratica, boDocPraticaWrapper._boDocPratica)) { - return true; - } - - return false; - } - - @Override - public StagedModelType getStagedModelType() { - return _boDocPratica.getStagedModelType(); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public BoDocPratica getWrappedBoDocPratica() { - return _boDocPratica; - } - - @Override - public BoDocPratica getWrappedModel() { - return _boDocPratica; - } - - @Override - public void resetOriginalValues() { - _boDocPratica.resetOriginalValues(); - } - - private BoDocPratica _boDocPratica; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoIntPratica.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoIntPratica.java deleted file mode 100644 index 198afc29..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoIntPratica.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the BoIntPratica service. Represents a row in the "gc_intpratica" database table, with each column mapped to a property of this class. - * - * @author 3FC - * @see BoIntPraticaModel - * @see it.tref.liferay.portos.importazione.model.impl.BoIntPraticaImpl - * @see it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl - * @generated - */ -public interface BoIntPratica extends BoIntPraticaModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoIntPraticaClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoIntPraticaClp.java deleted file mode 100644 index 588dcbe3..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoIntPraticaClp.java +++ /dev/null @@ -1,2134 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.service.BoIntPraticaLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.ClpSerializer; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author 3FC - */ -public class BoIntPraticaClp extends BaseModelImpl - implements BoIntPratica { - public BoIntPraticaClp() { - } - - @Override - public Class getModelClass() { - return BoIntPratica.class; - } - - @Override - public String getModelClassName() { - return BoIntPratica.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _intPraticaId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setIntPraticaId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _intPraticaId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("tipoPraticaId", getTipoPraticaId()); - attributes.put("territorioId", getTerritorioId()); - attributes.put("destinazione", getDestinazione()); - attributes.put("tipologiaSistemaCostruttivo", - getTipologiaSistemaCostruttivo()); - attributes.put("ag", getAg()); - attributes.put("descLongIntervento", getDescLongIntervento()); - attributes.put("via", getVia()); - attributes.put("localita", getLocalita()); - attributes.put("estremiCatastali", getEstremiCatastali()); - attributes.put("estremiPratCom", getEstremiPratCom()); - attributes.put("dtSorteggio", getDtSorteggio()); - attributes.put("statoPratica", getStatoPratica()); - attributes.put("numeroProgetto", getNumeroProgetto()); - attributes.put("validata", getValidata()); - attributes.put("variataDa", getVariataDa()); - attributes.put("varianteNumero", getVarianteNumero()); - attributes.put("varianteSostanziale", getVarianteSostanziale()); - attributes.put("operaConforme", getOperaConforme()); - attributes.put("tipoPraticaIdSanatoria", getTipoPraticaIdSanatoria()); - attributes.put("status", getStatus()); - attributes.put("statusByUserId", getStatusByUserId()); - attributes.put("statusDate", getStatusDate()); - attributes.put("statoPraticaWorkflow", getStatoPraticaWorkflow()); - attributes.put("esitoControllo", getEsitoControllo()); - attributes.put("collaudoStatico", getCollaudoStatico()); - attributes.put("collaudoStaticoAgtSanatoria", - getCollaudoStaticoAgtSanatoria()); - attributes.put("codiceFiscaleDelegato", getCodiceFiscaleDelegato()); - attributes.put("codiceRuoloDelegato", getCodiceRuoloDelegato()); - attributes.put("lavoriInEconomiaCommittente", - getLavoriInEconomiaCommittente()); - attributes.put("nomeUtenteSuap", getNomeUtenteSuap()); - attributes.put("cognomeUtenteSuap", getCognomeUtenteSuap()); - attributes.put("codiceFiscaleUtenteSuap", getCodiceFiscaleUtenteSuap()); - attributes.put("inizioLavoriContestualeOpera", - getInizioLavoriContestualeOpera()); - attributes.put("dataInizioLavoriOpera", getDataInizioLavoriOpera()); - attributes.put("dataInizioEsecuzioneOpera", - getDataInizioEsecuzioneOpera()); - attributes.put("dataFineEsecuzioneOpera", getDataFineEsecuzioneOpera()); - attributes.put("metratura", getMetratura()); - attributes.put("lavoriPubblici", getLavoriPubblici()); - attributes.put("dtPratica", getDtPratica()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long tipoPraticaId = (Long)attributes.get("tipoPraticaId"); - - if (tipoPraticaId != null) { - setTipoPraticaId(tipoPraticaId); - } - - Long territorioId = (Long)attributes.get("territorioId"); - - if (territorioId != null) { - setTerritorioId(territorioId); - } - - String destinazione = (String)attributes.get("destinazione"); - - if (destinazione != null) { - setDestinazione(destinazione); - } - - String tipologiaSistemaCostruttivo = (String)attributes.get( - "tipologiaSistemaCostruttivo"); - - if (tipologiaSistemaCostruttivo != null) { - setTipologiaSistemaCostruttivo(tipologiaSistemaCostruttivo); - } - - String ag = (String)attributes.get("ag"); - - if (ag != null) { - setAg(ag); - } - - String descLongIntervento = (String)attributes.get("descLongIntervento"); - - if (descLongIntervento != null) { - setDescLongIntervento(descLongIntervento); - } - - String via = (String)attributes.get("via"); - - if (via != null) { - setVia(via); - } - - String localita = (String)attributes.get("localita"); - - if (localita != null) { - setLocalita(localita); - } - - String estremiCatastali = (String)attributes.get("estremiCatastali"); - - if (estremiCatastali != null) { - setEstremiCatastali(estremiCatastali); - } - - String estremiPratCom = (String)attributes.get("estremiPratCom"); - - if (estremiPratCom != null) { - setEstremiPratCom(estremiPratCom); - } - - Date dtSorteggio = (Date)attributes.get("dtSorteggio"); - - if (dtSorteggio != null) { - setDtSorteggio(dtSorteggio); - } - - String statoPratica = (String)attributes.get("statoPratica"); - - if (statoPratica != null) { - setStatoPratica(statoPratica); - } - - String numeroProgetto = (String)attributes.get("numeroProgetto"); - - if (numeroProgetto != null) { - setNumeroProgetto(numeroProgetto); - } - - Boolean validata = (Boolean)attributes.get("validata"); - - if (validata != null) { - setValidata(validata); - } - - Long variataDa = (Long)attributes.get("variataDa"); - - if (variataDa != null) { - setVariataDa(variataDa); - } - - Long varianteNumero = (Long)attributes.get("varianteNumero"); - - if (varianteNumero != null) { - setVarianteNumero(varianteNumero); - } - - Boolean varianteSostanziale = (Boolean)attributes.get( - "varianteSostanziale"); - - if (varianteSostanziale != null) { - setVarianteSostanziale(varianteSostanziale); - } - - Boolean operaConforme = (Boolean)attributes.get("operaConforme"); - - if (operaConforme != null) { - setOperaConforme(operaConforme); - } - - Long tipoPraticaIdSanatoria = (Long)attributes.get( - "tipoPraticaIdSanatoria"); - - if (tipoPraticaIdSanatoria != null) { - setTipoPraticaIdSanatoria(tipoPraticaIdSanatoria); - } - - Integer status = (Integer)attributes.get("status"); - - if (status != null) { - setStatus(status); - } - - Long statusByUserId = (Long)attributes.get("statusByUserId"); - - if (statusByUserId != null) { - setStatusByUserId(statusByUserId); - } - - Date statusDate = (Date)attributes.get("statusDate"); - - if (statusDate != null) { - setStatusDate(statusDate); - } - - String statoPraticaWorkflow = (String)attributes.get( - "statoPraticaWorkflow"); - - if (statoPraticaWorkflow != null) { - setStatoPraticaWorkflow(statoPraticaWorkflow); - } - - Integer esitoControllo = (Integer)attributes.get("esitoControllo"); - - if (esitoControllo != null) { - setEsitoControllo(esitoControllo); - } - - Boolean collaudoStatico = (Boolean)attributes.get("collaudoStatico"); - - if (collaudoStatico != null) { - setCollaudoStatico(collaudoStatico); - } - - Boolean collaudoStaticoAgtSanatoria = (Boolean)attributes.get( - "collaudoStaticoAgtSanatoria"); - - if (collaudoStaticoAgtSanatoria != null) { - setCollaudoStaticoAgtSanatoria(collaudoStaticoAgtSanatoria); - } - - String codiceFiscaleDelegato = (String)attributes.get( - "codiceFiscaleDelegato"); - - if (codiceFiscaleDelegato != null) { - setCodiceFiscaleDelegato(codiceFiscaleDelegato); - } - - String codiceRuoloDelegato = (String)attributes.get( - "codiceRuoloDelegato"); - - if (codiceRuoloDelegato != null) { - setCodiceRuoloDelegato(codiceRuoloDelegato); - } - - Boolean lavoriInEconomiaCommittente = (Boolean)attributes.get( - "lavoriInEconomiaCommittente"); - - if (lavoriInEconomiaCommittente != null) { - setLavoriInEconomiaCommittente(lavoriInEconomiaCommittente); - } - - String nomeUtenteSuap = (String)attributes.get("nomeUtenteSuap"); - - if (nomeUtenteSuap != null) { - setNomeUtenteSuap(nomeUtenteSuap); - } - - String cognomeUtenteSuap = (String)attributes.get("cognomeUtenteSuap"); - - if (cognomeUtenteSuap != null) { - setCognomeUtenteSuap(cognomeUtenteSuap); - } - - String codiceFiscaleUtenteSuap = (String)attributes.get( - "codiceFiscaleUtenteSuap"); - - if (codiceFiscaleUtenteSuap != null) { - setCodiceFiscaleUtenteSuap(codiceFiscaleUtenteSuap); - } - - Boolean inizioLavoriContestualeOpera = (Boolean)attributes.get( - "inizioLavoriContestualeOpera"); - - if (inizioLavoriContestualeOpera != null) { - setInizioLavoriContestualeOpera(inizioLavoriContestualeOpera); - } - - Date dataInizioLavoriOpera = (Date)attributes.get( - "dataInizioLavoriOpera"); - - if (dataInizioLavoriOpera != null) { - setDataInizioLavoriOpera(dataInizioLavoriOpera); - } - - Date dataInizioEsecuzioneOpera = (Date)attributes.get( - "dataInizioEsecuzioneOpera"); - - if (dataInizioEsecuzioneOpera != null) { - setDataInizioEsecuzioneOpera(dataInizioEsecuzioneOpera); - } - - Date dataFineEsecuzioneOpera = (Date)attributes.get( - "dataFineEsecuzioneOpera"); - - if (dataFineEsecuzioneOpera != null) { - setDataFineEsecuzioneOpera(dataFineEsecuzioneOpera); - } - - String metratura = (String)attributes.get("metratura"); - - if (metratura != null) { - setMetratura(metratura); - } - - Boolean lavoriPubblici = (Boolean)attributes.get("lavoriPubblici"); - - if (lavoriPubblici != null) { - setLavoriPubblici(lavoriPubblici); - } - - Date dtPratica = (Date)attributes.get("dtPratica"); - - if (dtPratica != null) { - setDtPratica(dtPratica); - } - } - - @Override - public String getUuid() { - return _uuid; - } - - @Override - public void setUuid(String uuid) { - _uuid = uuid; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setUuid", String.class); - - method.invoke(_boIntPraticaRemoteModel, uuid); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getIntPraticaId() { - return _intPraticaId; - } - - @Override - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setIntPraticaId", long.class); - - method.invoke(_boIntPraticaRemoteModel, intPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_boIntPraticaRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_boIntPraticaRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_boIntPraticaRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_boIntPraticaRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_boIntPraticaRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_boIntPraticaRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getTipoPraticaId() { - return _tipoPraticaId; - } - - @Override - public void setTipoPraticaId(long tipoPraticaId) { - _tipoPraticaId = tipoPraticaId; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setTipoPraticaId", long.class); - - method.invoke(_boIntPraticaRemoteModel, tipoPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getTerritorioId() { - return _territorioId; - } - - @Override - public void setTerritorioId(long territorioId) { - _territorioId = territorioId; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setTerritorioId", long.class); - - method.invoke(_boIntPraticaRemoteModel, territorioId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getDestinazione() { - return _destinazione; - } - - @Override - public void setDestinazione(String destinazione) { - _destinazione = destinazione; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDestinazione", String.class); - - method.invoke(_boIntPraticaRemoteModel, destinazione); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getTipologiaSistemaCostruttivo() { - return _tipologiaSistemaCostruttivo; - } - - @Override - public void setTipologiaSistemaCostruttivo( - String tipologiaSistemaCostruttivo) { - _tipologiaSistemaCostruttivo = tipologiaSistemaCostruttivo; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setTipologiaSistemaCostruttivo", - String.class); - - method.invoke(_boIntPraticaRemoteModel, - tipologiaSistemaCostruttivo); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getAg() { - return _ag; - } - - @Override - public void setAg(String ag) { - _ag = ag; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setAg", String.class); - - method.invoke(_boIntPraticaRemoteModel, ag); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getDescLongIntervento() { - return _descLongIntervento; - } - - @Override - public void setDescLongIntervento(String descLongIntervento) { - _descLongIntervento = descLongIntervento; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDescLongIntervento", - String.class); - - method.invoke(_boIntPraticaRemoteModel, descLongIntervento); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getVia() { - return _via; - } - - @Override - public void setVia(String via) { - _via = via; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setVia", String.class); - - method.invoke(_boIntPraticaRemoteModel, via); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getLocalita() { - return _localita; - } - - @Override - public void setLocalita(String localita) { - _localita = localita; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setLocalita", String.class); - - method.invoke(_boIntPraticaRemoteModel, localita); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getEstremiCatastali() { - return _estremiCatastali; - } - - @Override - public void setEstremiCatastali(String estremiCatastali) { - _estremiCatastali = estremiCatastali; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setEstremiCatastali", - String.class); - - method.invoke(_boIntPraticaRemoteModel, estremiCatastali); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getEstremiPratCom() { - return _estremiPratCom; - } - - @Override - public void setEstremiPratCom(String estremiPratCom) { - _estremiPratCom = estremiPratCom; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setEstremiPratCom", - String.class); - - method.invoke(_boIntPraticaRemoteModel, estremiPratCom); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDtSorteggio() { - return _dtSorteggio; - } - - @Override - public void setDtSorteggio(Date dtSorteggio) { - _dtSorteggio = dtSorteggio; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDtSorteggio", Date.class); - - method.invoke(_boIntPraticaRemoteModel, dtSorteggio); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getStatoPratica() { - return _statoPratica; - } - - @Override - public void setStatoPratica(String statoPratica) { - _statoPratica = statoPratica; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setStatoPratica", String.class); - - method.invoke(_boIntPraticaRemoteModel, statoPratica); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getNumeroProgetto() { - return _numeroProgetto; - } - - @Override - public void setNumeroProgetto(String numeroProgetto) { - _numeroProgetto = numeroProgetto; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setNumeroProgetto", - String.class); - - method.invoke(_boIntPraticaRemoteModel, numeroProgetto); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getValidata() { - return _validata; - } - - @Override - public boolean isValidata() { - return _validata; - } - - @Override - public void setValidata(boolean validata) { - _validata = validata; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setValidata", boolean.class); - - method.invoke(_boIntPraticaRemoteModel, validata); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getVariataDa() { - return _variataDa; - } - - @Override - public void setVariataDa(long variataDa) { - _variataDa = variataDa; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setVariataDa", long.class); - - method.invoke(_boIntPraticaRemoteModel, variataDa); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getVarianteNumero() { - return _varianteNumero; - } - - @Override - public void setVarianteNumero(long varianteNumero) { - _varianteNumero = varianteNumero; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setVarianteNumero", long.class); - - method.invoke(_boIntPraticaRemoteModel, varianteNumero); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getVarianteSostanziale() { - return _varianteSostanziale; - } - - @Override - public boolean isVarianteSostanziale() { - return _varianteSostanziale; - } - - @Override - public void setVarianteSostanziale(boolean varianteSostanziale) { - _varianteSostanziale = varianteSostanziale; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setVarianteSostanziale", - boolean.class); - - method.invoke(_boIntPraticaRemoteModel, varianteSostanziale); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getOperaConforme() { - return _operaConforme; - } - - @Override - public boolean isOperaConforme() { - return _operaConforme; - } - - @Override - public void setOperaConforme(boolean operaConforme) { - _operaConforme = operaConforme; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setOperaConforme", - boolean.class); - - method.invoke(_boIntPraticaRemoteModel, operaConforme); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getTipoPraticaIdSanatoria() { - return _tipoPraticaIdSanatoria; - } - - @Override - public void setTipoPraticaIdSanatoria(long tipoPraticaIdSanatoria) { - _tipoPraticaIdSanatoria = tipoPraticaIdSanatoria; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setTipoPraticaIdSanatoria", - long.class); - - method.invoke(_boIntPraticaRemoteModel, tipoPraticaIdSanatoria); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public int getStatus() { - return _status; - } - - @Override - public void setStatus(int status) { - _status = status; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setStatus", int.class); - - method.invoke(_boIntPraticaRemoteModel, status); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getStatusByUserId() { - return _statusByUserId; - } - - @Override - public void setStatusByUserId(long statusByUserId) { - _statusByUserId = statusByUserId; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setStatusByUserId", long.class); - - method.invoke(_boIntPraticaRemoteModel, statusByUserId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getStatusByUserUuid() throws SystemException { - return PortalUtil.getUserValue(getStatusByUserId(), "uuid", - _statusByUserUuid); - } - - @Override - public void setStatusByUserUuid(String statusByUserUuid) { - _statusByUserUuid = statusByUserUuid; - } - - @Override - public Date getStatusDate() { - return _statusDate; - } - - @Override - public void setStatusDate(Date statusDate) { - _statusDate = statusDate; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setStatusDate", Date.class); - - method.invoke(_boIntPraticaRemoteModel, statusDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getStatoPraticaWorkflow() { - return _statoPraticaWorkflow; - } - - @Override - public void setStatoPraticaWorkflow(String statoPraticaWorkflow) { - _statoPraticaWorkflow = statoPraticaWorkflow; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setStatoPraticaWorkflow", - String.class); - - method.invoke(_boIntPraticaRemoteModel, statoPraticaWorkflow); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public int getEsitoControllo() { - return _esitoControllo; - } - - @Override - public void setEsitoControllo(int esitoControllo) { - _esitoControllo = esitoControllo; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setEsitoControllo", int.class); - - method.invoke(_boIntPraticaRemoteModel, esitoControllo); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getCollaudoStatico() { - return _collaudoStatico; - } - - @Override - public boolean isCollaudoStatico() { - return _collaudoStatico; - } - - @Override - public void setCollaudoStatico(boolean collaudoStatico) { - _collaudoStatico = collaudoStatico; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCollaudoStatico", - boolean.class); - - method.invoke(_boIntPraticaRemoteModel, collaudoStatico); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getCollaudoStaticoAgtSanatoria() { - return _collaudoStaticoAgtSanatoria; - } - - @Override - public boolean isCollaudoStaticoAgtSanatoria() { - return _collaudoStaticoAgtSanatoria; - } - - @Override - public void setCollaudoStaticoAgtSanatoria( - boolean collaudoStaticoAgtSanatoria) { - _collaudoStaticoAgtSanatoria = collaudoStaticoAgtSanatoria; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCollaudoStaticoAgtSanatoria", - boolean.class); - - method.invoke(_boIntPraticaRemoteModel, - collaudoStaticoAgtSanatoria); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodiceFiscaleDelegato() { - return _codiceFiscaleDelegato; - } - - @Override - public void setCodiceFiscaleDelegato(String codiceFiscaleDelegato) { - _codiceFiscaleDelegato = codiceFiscaleDelegato; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodiceFiscaleDelegato", - String.class); - - method.invoke(_boIntPraticaRemoteModel, codiceFiscaleDelegato); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodiceRuoloDelegato() { - return _codiceRuoloDelegato; - } - - @Override - public void setCodiceRuoloDelegato(String codiceRuoloDelegato) { - _codiceRuoloDelegato = codiceRuoloDelegato; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodiceRuoloDelegato", - String.class); - - method.invoke(_boIntPraticaRemoteModel, codiceRuoloDelegato); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getLavoriInEconomiaCommittente() { - return _lavoriInEconomiaCommittente; - } - - @Override - public boolean isLavoriInEconomiaCommittente() { - return _lavoriInEconomiaCommittente; - } - - @Override - public void setLavoriInEconomiaCommittente( - boolean lavoriInEconomiaCommittente) { - _lavoriInEconomiaCommittente = lavoriInEconomiaCommittente; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setLavoriInEconomiaCommittente", - boolean.class); - - method.invoke(_boIntPraticaRemoteModel, - lavoriInEconomiaCommittente); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getNomeUtenteSuap() { - return _nomeUtenteSuap; - } - - @Override - public void setNomeUtenteSuap(String nomeUtenteSuap) { - _nomeUtenteSuap = nomeUtenteSuap; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setNomeUtenteSuap", - String.class); - - method.invoke(_boIntPraticaRemoteModel, nomeUtenteSuap); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCognomeUtenteSuap() { - return _cognomeUtenteSuap; - } - - @Override - public void setCognomeUtenteSuap(String cognomeUtenteSuap) { - _cognomeUtenteSuap = cognomeUtenteSuap; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCognomeUtenteSuap", - String.class); - - method.invoke(_boIntPraticaRemoteModel, cognomeUtenteSuap); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodiceFiscaleUtenteSuap() { - return _codiceFiscaleUtenteSuap; - } - - @Override - public void setCodiceFiscaleUtenteSuap(String codiceFiscaleUtenteSuap) { - _codiceFiscaleUtenteSuap = codiceFiscaleUtenteSuap; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodiceFiscaleUtenteSuap", - String.class); - - method.invoke(_boIntPraticaRemoteModel, codiceFiscaleUtenteSuap); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getInizioLavoriContestualeOpera() { - return _inizioLavoriContestualeOpera; - } - - @Override - public boolean isInizioLavoriContestualeOpera() { - return _inizioLavoriContestualeOpera; - } - - @Override - public void setInizioLavoriContestualeOpera( - boolean inizioLavoriContestualeOpera) { - _inizioLavoriContestualeOpera = inizioLavoriContestualeOpera; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setInizioLavoriContestualeOpera", - boolean.class); - - method.invoke(_boIntPraticaRemoteModel, - inizioLavoriContestualeOpera); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDataInizioLavoriOpera() { - return _dataInizioLavoriOpera; - } - - @Override - public void setDataInizioLavoriOpera(Date dataInizioLavoriOpera) { - _dataInizioLavoriOpera = dataInizioLavoriOpera; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDataInizioLavoriOpera", - Date.class); - - method.invoke(_boIntPraticaRemoteModel, dataInizioLavoriOpera); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDataInizioEsecuzioneOpera() { - return _dataInizioEsecuzioneOpera; - } - - @Override - public void setDataInizioEsecuzioneOpera(Date dataInizioEsecuzioneOpera) { - _dataInizioEsecuzioneOpera = dataInizioEsecuzioneOpera; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDataInizioEsecuzioneOpera", - Date.class); - - method.invoke(_boIntPraticaRemoteModel, - dataInizioEsecuzioneOpera); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDataFineEsecuzioneOpera() { - return _dataFineEsecuzioneOpera; - } - - @Override - public void setDataFineEsecuzioneOpera(Date dataFineEsecuzioneOpera) { - _dataFineEsecuzioneOpera = dataFineEsecuzioneOpera; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDataFineEsecuzioneOpera", - Date.class); - - method.invoke(_boIntPraticaRemoteModel, dataFineEsecuzioneOpera); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getMetratura() { - return _metratura; - } - - @Override - public void setMetratura(String metratura) { - _metratura = metratura; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setMetratura", String.class); - - method.invoke(_boIntPraticaRemoteModel, metratura); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getLavoriPubblici() { - return _lavoriPubblici; - } - - @Override - public boolean isLavoriPubblici() { - return _lavoriPubblici; - } - - @Override - public void setLavoriPubblici(boolean lavoriPubblici) { - _lavoriPubblici = lavoriPubblici; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setLavoriPubblici", - boolean.class); - - method.invoke(_boIntPraticaRemoteModel, lavoriPubblici); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDtPratica() { - return _dtPratica; - } - - @Override - public void setDtPratica(Date dtPratica) { - _dtPratica = dtPratica; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDtPratica", Date.class); - - method.invoke(_boIntPraticaRemoteModel, dtPratica); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoIntPratica.class.getName())); - } - - public BaseModel getBoIntPraticaRemoteModel() { - return _boIntPraticaRemoteModel; - } - - public void setBoIntPraticaRemoteModel(BaseModel boIntPraticaRemoteModel) { - _boIntPraticaRemoteModel = boIntPraticaRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _boIntPraticaRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_boIntPraticaRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoIntPraticaLocalServiceUtil.addBoIntPratica(this); - } - else { - BoIntPraticaLocalServiceUtil.updateBoIntPratica(this); - } - } - - @Override - public BoIntPratica toEscapedModel() { - return (BoIntPratica)ProxyUtil.newProxyInstance(BoIntPratica.class.getClassLoader(), - new Class[] { BoIntPratica.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - BoIntPraticaClp clone = new BoIntPraticaClp(); - - clone.setUuid(getUuid()); - clone.setIntPraticaId(getIntPraticaId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setGroupId(getGroupId()); - clone.setTipoPraticaId(getTipoPraticaId()); - clone.setTerritorioId(getTerritorioId()); - clone.setDestinazione(getDestinazione()); - clone.setTipologiaSistemaCostruttivo(getTipologiaSistemaCostruttivo()); - clone.setAg(getAg()); - clone.setDescLongIntervento(getDescLongIntervento()); - clone.setVia(getVia()); - clone.setLocalita(getLocalita()); - clone.setEstremiCatastali(getEstremiCatastali()); - clone.setEstremiPratCom(getEstremiPratCom()); - clone.setDtSorteggio(getDtSorteggio()); - clone.setStatoPratica(getStatoPratica()); - clone.setNumeroProgetto(getNumeroProgetto()); - clone.setValidata(getValidata()); - clone.setVariataDa(getVariataDa()); - clone.setVarianteNumero(getVarianteNumero()); - clone.setVarianteSostanziale(getVarianteSostanziale()); - clone.setOperaConforme(getOperaConforme()); - clone.setTipoPraticaIdSanatoria(getTipoPraticaIdSanatoria()); - clone.setStatus(getStatus()); - clone.setStatusByUserId(getStatusByUserId()); - clone.setStatusDate(getStatusDate()); - clone.setStatoPraticaWorkflow(getStatoPraticaWorkflow()); - clone.setEsitoControllo(getEsitoControllo()); - clone.setCollaudoStatico(getCollaudoStatico()); - clone.setCollaudoStaticoAgtSanatoria(getCollaudoStaticoAgtSanatoria()); - clone.setCodiceFiscaleDelegato(getCodiceFiscaleDelegato()); - clone.setCodiceRuoloDelegato(getCodiceRuoloDelegato()); - clone.setLavoriInEconomiaCommittente(getLavoriInEconomiaCommittente()); - clone.setNomeUtenteSuap(getNomeUtenteSuap()); - clone.setCognomeUtenteSuap(getCognomeUtenteSuap()); - clone.setCodiceFiscaleUtenteSuap(getCodiceFiscaleUtenteSuap()); - clone.setInizioLavoriContestualeOpera(getInizioLavoriContestualeOpera()); - clone.setDataInizioLavoriOpera(getDataInizioLavoriOpera()); - clone.setDataInizioEsecuzioneOpera(getDataInizioEsecuzioneOpera()); - clone.setDataFineEsecuzioneOpera(getDataFineEsecuzioneOpera()); - clone.setMetratura(getMetratura()); - clone.setLavoriPubblici(getLavoriPubblici()); - clone.setDtPratica(getDtPratica()); - - return clone; - } - - @Override - public int compareTo(BoIntPratica boIntPratica) { - long primaryKey = boIntPratica.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoIntPraticaClp)) { - return false; - } - - BoIntPraticaClp boIntPratica = (BoIntPraticaClp)obj; - - long primaryKey = boIntPratica.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(95); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", intPraticaId="); - sb.append(getIntPraticaId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", tipoPraticaId="); - sb.append(getTipoPraticaId()); - sb.append(", territorioId="); - sb.append(getTerritorioId()); - sb.append(", destinazione="); - sb.append(getDestinazione()); - sb.append(", tipologiaSistemaCostruttivo="); - sb.append(getTipologiaSistemaCostruttivo()); - sb.append(", ag="); - sb.append(getAg()); - sb.append(", descLongIntervento="); - sb.append(getDescLongIntervento()); - sb.append(", via="); - sb.append(getVia()); - sb.append(", localita="); - sb.append(getLocalita()); - sb.append(", estremiCatastali="); - sb.append(getEstremiCatastali()); - sb.append(", estremiPratCom="); - sb.append(getEstremiPratCom()); - sb.append(", dtSorteggio="); - sb.append(getDtSorteggio()); - sb.append(", statoPratica="); - sb.append(getStatoPratica()); - sb.append(", numeroProgetto="); - sb.append(getNumeroProgetto()); - sb.append(", validata="); - sb.append(getValidata()); - sb.append(", variataDa="); - sb.append(getVariataDa()); - sb.append(", varianteNumero="); - sb.append(getVarianteNumero()); - sb.append(", varianteSostanziale="); - sb.append(getVarianteSostanziale()); - sb.append(", operaConforme="); - sb.append(getOperaConforme()); - sb.append(", tipoPraticaIdSanatoria="); - sb.append(getTipoPraticaIdSanatoria()); - sb.append(", status="); - sb.append(getStatus()); - sb.append(", statusByUserId="); - sb.append(getStatusByUserId()); - sb.append(", statusDate="); - sb.append(getStatusDate()); - sb.append(", statoPraticaWorkflow="); - sb.append(getStatoPraticaWorkflow()); - sb.append(", esitoControllo="); - sb.append(getEsitoControllo()); - sb.append(", collaudoStatico="); - sb.append(getCollaudoStatico()); - sb.append(", collaudoStaticoAgtSanatoria="); - sb.append(getCollaudoStaticoAgtSanatoria()); - sb.append(", codiceFiscaleDelegato="); - sb.append(getCodiceFiscaleDelegato()); - sb.append(", codiceRuoloDelegato="); - sb.append(getCodiceRuoloDelegato()); - sb.append(", lavoriInEconomiaCommittente="); - sb.append(getLavoriInEconomiaCommittente()); - sb.append(", nomeUtenteSuap="); - sb.append(getNomeUtenteSuap()); - sb.append(", cognomeUtenteSuap="); - sb.append(getCognomeUtenteSuap()); - sb.append(", codiceFiscaleUtenteSuap="); - sb.append(getCodiceFiscaleUtenteSuap()); - sb.append(", inizioLavoriContestualeOpera="); - sb.append(getInizioLavoriContestualeOpera()); - sb.append(", dataInizioLavoriOpera="); - sb.append(getDataInizioLavoriOpera()); - sb.append(", dataInizioEsecuzioneOpera="); - sb.append(getDataInizioEsecuzioneOpera()); - sb.append(", dataFineEsecuzioneOpera="); - sb.append(getDataFineEsecuzioneOpera()); - sb.append(", metratura="); - sb.append(getMetratura()); - sb.append(", lavoriPubblici="); - sb.append(getLavoriPubblici()); - sb.append(", dtPratica="); - sb.append(getDtPratica()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(145); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.BoIntPratica"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "intPraticaId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "tipoPraticaId"); - sb.append( - "territorioId"); - sb.append( - "destinazione"); - sb.append( - "tipologiaSistemaCostruttivo"); - sb.append( - "ag"); - sb.append( - "descLongIntervento"); - sb.append( - "via"); - sb.append( - "localita"); - sb.append( - "estremiCatastali"); - sb.append( - "estremiPratCom"); - sb.append( - "dtSorteggio"); - sb.append( - "statoPratica"); - sb.append( - "numeroProgetto"); - sb.append( - "validata"); - sb.append( - "variataDa"); - sb.append( - "varianteNumero"); - sb.append( - "varianteSostanziale"); - sb.append( - "operaConforme"); - sb.append( - "tipoPraticaIdSanatoria"); - sb.append( - "status"); - sb.append( - "statusByUserId"); - sb.append( - "statusDate"); - sb.append( - "statoPraticaWorkflow"); - sb.append( - "esitoControllo"); - sb.append( - "collaudoStatico"); - sb.append( - "collaudoStaticoAgtSanatoria"); - sb.append( - "codiceFiscaleDelegato"); - sb.append( - "codiceRuoloDelegato"); - sb.append( - "lavoriInEconomiaCommittente"); - sb.append( - "nomeUtenteSuap"); - sb.append( - "cognomeUtenteSuap"); - sb.append( - "codiceFiscaleUtenteSuap"); - sb.append( - "inizioLavoriContestualeOpera"); - sb.append( - "dataInizioLavoriOpera"); - sb.append( - "dataInizioEsecuzioneOpera"); - sb.append( - "dataFineEsecuzioneOpera"); - sb.append( - "metratura"); - sb.append( - "lavoriPubblici"); - sb.append( - "dtPratica"); - - sb.append(""); - - return sb.toString(); - } - - private String _uuid; - private long _intPraticaId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _tipoPraticaId; - private long _territorioId; - private String _destinazione; - private String _tipologiaSistemaCostruttivo; - private String _ag; - private String _descLongIntervento; - private String _via; - private String _localita; - private String _estremiCatastali; - private String _estremiPratCom; - private Date _dtSorteggio; - private String _statoPratica; - private String _numeroProgetto; - private boolean _validata; - private long _variataDa; - private long _varianteNumero; - private boolean _varianteSostanziale; - private boolean _operaConforme; - private long _tipoPraticaIdSanatoria; - private int _status; - private long _statusByUserId; - private String _statusByUserUuid; - private Date _statusDate; - private String _statoPraticaWorkflow; - private int _esitoControllo; - private boolean _collaudoStatico; - private boolean _collaudoStaticoAgtSanatoria; - private String _codiceFiscaleDelegato; - private String _codiceRuoloDelegato; - private boolean _lavoriInEconomiaCommittente; - private String _nomeUtenteSuap; - private String _cognomeUtenteSuap; - private String _codiceFiscaleUtenteSuap; - private boolean _inizioLavoriContestualeOpera; - private Date _dataInizioLavoriOpera; - private Date _dataInizioEsecuzioneOpera; - private Date _dataFineEsecuzioneOpera; - private String _metratura; - private boolean _lavoriPubblici; - private Date _dtPratica; - private BaseModel _boIntPraticaRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.importazione.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoIntPraticaModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoIntPraticaModel.java deleted file mode 100644 index 13a9e3f3..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoIntPraticaModel.java +++ /dev/null @@ -1,905 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.StagedGroupedModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the BoIntPratica service. Represents a row in the "gc_intpratica" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaImpl}. - *

- * - * @author 3FC - * @see BoIntPratica - * @see it.tref.liferay.portos.importazione.model.impl.BoIntPraticaImpl - * @see it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl - * @generated - */ -public interface BoIntPraticaModel extends BaseModel, - StagedGroupedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a bo int pratica model instance should use the {@link BoIntPratica} interface instead. - */ - - /** - * Returns the primary key of this bo int pratica. - * - * @return the primary key of this bo int pratica - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this bo int pratica. - * - * @param primaryKey the primary key of this bo int pratica - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the uuid of this bo int pratica. - * - * @return the uuid of this bo int pratica - */ - @AutoEscape - @Override - public String getUuid(); - - /** - * Sets the uuid of this bo int pratica. - * - * @param uuid the uuid of this bo int pratica - */ - @Override - public void setUuid(String uuid); - - /** - * Returns the int pratica ID of this bo int pratica. - * - * @return the int pratica ID of this bo int pratica - */ - public long getIntPraticaId(); - - /** - * Sets the int pratica ID of this bo int pratica. - * - * @param intPraticaId the int pratica ID of this bo int pratica - */ - public void setIntPraticaId(long intPraticaId); - - /** - * Returns the company ID of this bo int pratica. - * - * @return the company ID of this bo int pratica - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this bo int pratica. - * - * @param companyId the company ID of this bo int pratica - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this bo int pratica. - * - * @return the user ID of this bo int pratica - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this bo int pratica. - * - * @param userId the user ID of this bo int pratica - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this bo int pratica. - * - * @return the user uuid of this bo int pratica - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this bo int pratica. - * - * @param userUuid the user uuid of this bo int pratica - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this bo int pratica. - * - * @return the user name of this bo int pratica - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this bo int pratica. - * - * @param userName the user name of this bo int pratica - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this bo int pratica. - * - * @return the create date of this bo int pratica - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this bo int pratica. - * - * @param createDate the create date of this bo int pratica - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this bo int pratica. - * - * @return the modified date of this bo int pratica - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this bo int pratica. - * - * @param modifiedDate the modified date of this bo int pratica - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the group ID of this bo int pratica. - * - * @return the group ID of this bo int pratica - */ - @Override - public long getGroupId(); - - /** - * Sets the group ID of this bo int pratica. - * - * @param groupId the group ID of this bo int pratica - */ - @Override - public void setGroupId(long groupId); - - /** - * Returns the tipo pratica ID of this bo int pratica. - * - * @return the tipo pratica ID of this bo int pratica - */ - public long getTipoPraticaId(); - - /** - * Sets the tipo pratica ID of this bo int pratica. - * - * @param tipoPraticaId the tipo pratica ID of this bo int pratica - */ - public void setTipoPraticaId(long tipoPraticaId); - - /** - * Returns the territorio ID of this bo int pratica. - * - * @return the territorio ID of this bo int pratica - */ - public long getTerritorioId(); - - /** - * Sets the territorio ID of this bo int pratica. - * - * @param territorioId the territorio ID of this bo int pratica - */ - public void setTerritorioId(long territorioId); - - /** - * Returns the destinazione of this bo int pratica. - * - * @return the destinazione of this bo int pratica - */ - @AutoEscape - public String getDestinazione(); - - /** - * Sets the destinazione of this bo int pratica. - * - * @param destinazione the destinazione of this bo int pratica - */ - public void setDestinazione(String destinazione); - - /** - * Returns the tipologia sistema costruttivo of this bo int pratica. - * - * @return the tipologia sistema costruttivo of this bo int pratica - */ - @AutoEscape - public String getTipologiaSistemaCostruttivo(); - - /** - * Sets the tipologia sistema costruttivo of this bo int pratica. - * - * @param tipologiaSistemaCostruttivo the tipologia sistema costruttivo of this bo int pratica - */ - public void setTipologiaSistemaCostruttivo( - String tipologiaSistemaCostruttivo); - - /** - * Returns the ag of this bo int pratica. - * - * @return the ag of this bo int pratica - */ - @AutoEscape - public String getAg(); - - /** - * Sets the ag of this bo int pratica. - * - * @param ag the ag of this bo int pratica - */ - public void setAg(String ag); - - /** - * Returns the desc long intervento of this bo int pratica. - * - * @return the desc long intervento of this bo int pratica - */ - @AutoEscape - public String getDescLongIntervento(); - - /** - * Sets the desc long intervento of this bo int pratica. - * - * @param descLongIntervento the desc long intervento of this bo int pratica - */ - public void setDescLongIntervento(String descLongIntervento); - - /** - * Returns the via of this bo int pratica. - * - * @return the via of this bo int pratica - */ - @AutoEscape - public String getVia(); - - /** - * Sets the via of this bo int pratica. - * - * @param via the via of this bo int pratica - */ - public void setVia(String via); - - /** - * Returns the localita of this bo int pratica. - * - * @return the localita of this bo int pratica - */ - @AutoEscape - public String getLocalita(); - - /** - * Sets the localita of this bo int pratica. - * - * @param localita the localita of this bo int pratica - */ - public void setLocalita(String localita); - - /** - * Returns the estremi catastali of this bo int pratica. - * - * @return the estremi catastali of this bo int pratica - */ - @AutoEscape - public String getEstremiCatastali(); - - /** - * Sets the estremi catastali of this bo int pratica. - * - * @param estremiCatastali the estremi catastali of this bo int pratica - */ - public void setEstremiCatastali(String estremiCatastali); - - /** - * Returns the estremi prat com of this bo int pratica. - * - * @return the estremi prat com of this bo int pratica - */ - @AutoEscape - public String getEstremiPratCom(); - - /** - * Sets the estremi prat com of this bo int pratica. - * - * @param estremiPratCom the estremi prat com of this bo int pratica - */ - public void setEstremiPratCom(String estremiPratCom); - - /** - * Returns the dt sorteggio of this bo int pratica. - * - * @return the dt sorteggio of this bo int pratica - */ - public Date getDtSorteggio(); - - /** - * Sets the dt sorteggio of this bo int pratica. - * - * @param dtSorteggio the dt sorteggio of this bo int pratica - */ - public void setDtSorteggio(Date dtSorteggio); - - /** - * Returns the stato pratica of this bo int pratica. - * - * @return the stato pratica of this bo int pratica - */ - @AutoEscape - public String getStatoPratica(); - - /** - * Sets the stato pratica of this bo int pratica. - * - * @param statoPratica the stato pratica of this bo int pratica - */ - public void setStatoPratica(String statoPratica); - - /** - * Returns the numero progetto of this bo int pratica. - * - * @return the numero progetto of this bo int pratica - */ - @AutoEscape - public String getNumeroProgetto(); - - /** - * Sets the numero progetto of this bo int pratica. - * - * @param numeroProgetto the numero progetto of this bo int pratica - */ - public void setNumeroProgetto(String numeroProgetto); - - /** - * Returns the validata of this bo int pratica. - * - * @return the validata of this bo int pratica - */ - public boolean getValidata(); - - /** - * Returns true if this bo int pratica is validata. - * - * @return true if this bo int pratica is validata; false otherwise - */ - public boolean isValidata(); - - /** - * Sets whether this bo int pratica is validata. - * - * @param validata the validata of this bo int pratica - */ - public void setValidata(boolean validata); - - /** - * Returns the variata da of this bo int pratica. - * - * @return the variata da of this bo int pratica - */ - public long getVariataDa(); - - /** - * Sets the variata da of this bo int pratica. - * - * @param variataDa the variata da of this bo int pratica - */ - public void setVariataDa(long variataDa); - - /** - * Returns the variante numero of this bo int pratica. - * - * @return the variante numero of this bo int pratica - */ - public long getVarianteNumero(); - - /** - * Sets the variante numero of this bo int pratica. - * - * @param varianteNumero the variante numero of this bo int pratica - */ - public void setVarianteNumero(long varianteNumero); - - /** - * Returns the variante sostanziale of this bo int pratica. - * - * @return the variante sostanziale of this bo int pratica - */ - public boolean getVarianteSostanziale(); - - /** - * Returns true if this bo int pratica is variante sostanziale. - * - * @return true if this bo int pratica is variante sostanziale; false otherwise - */ - public boolean isVarianteSostanziale(); - - /** - * Sets whether this bo int pratica is variante sostanziale. - * - * @param varianteSostanziale the variante sostanziale of this bo int pratica - */ - public void setVarianteSostanziale(boolean varianteSostanziale); - - /** - * Returns the opera conforme of this bo int pratica. - * - * @return the opera conforme of this bo int pratica - */ - public boolean getOperaConforme(); - - /** - * Returns true if this bo int pratica is opera conforme. - * - * @return true if this bo int pratica is opera conforme; false otherwise - */ - public boolean isOperaConforme(); - - /** - * Sets whether this bo int pratica is opera conforme. - * - * @param operaConforme the opera conforme of this bo int pratica - */ - public void setOperaConforme(boolean operaConforme); - - /** - * Returns the tipo pratica ID sanatoria of this bo int pratica. - * - * @return the tipo pratica ID sanatoria of this bo int pratica - */ - public long getTipoPraticaIdSanatoria(); - - /** - * Sets the tipo pratica ID sanatoria of this bo int pratica. - * - * @param tipoPraticaIdSanatoria the tipo pratica ID sanatoria of this bo int pratica - */ - public void setTipoPraticaIdSanatoria(long tipoPraticaIdSanatoria); - - /** - * Returns the status of this bo int pratica. - * - * @return the status of this bo int pratica - */ - public int getStatus(); - - /** - * Sets the status of this bo int pratica. - * - * @param status the status of this bo int pratica - */ - public void setStatus(int status); - - /** - * Returns the status by user ID of this bo int pratica. - * - * @return the status by user ID of this bo int pratica - */ - public long getStatusByUserId(); - - /** - * Sets the status by user ID of this bo int pratica. - * - * @param statusByUserId the status by user ID of this bo int pratica - */ - public void setStatusByUserId(long statusByUserId); - - /** - * Returns the status by user uuid of this bo int pratica. - * - * @return the status by user uuid of this bo int pratica - * @throws SystemException if a system exception occurred - */ - public String getStatusByUserUuid() throws SystemException; - - /** - * Sets the status by user uuid of this bo int pratica. - * - * @param statusByUserUuid the status by user uuid of this bo int pratica - */ - public void setStatusByUserUuid(String statusByUserUuid); - - /** - * Returns the status date of this bo int pratica. - * - * @return the status date of this bo int pratica - */ - public Date getStatusDate(); - - /** - * Sets the status date of this bo int pratica. - * - * @param statusDate the status date of this bo int pratica - */ - public void setStatusDate(Date statusDate); - - /** - * Returns the stato pratica workflow of this bo int pratica. - * - * @return the stato pratica workflow of this bo int pratica - */ - @AutoEscape - public String getStatoPraticaWorkflow(); - - /** - * Sets the stato pratica workflow of this bo int pratica. - * - * @param statoPraticaWorkflow the stato pratica workflow of this bo int pratica - */ - public void setStatoPraticaWorkflow(String statoPraticaWorkflow); - - /** - * Returns the esito controllo of this bo int pratica. - * - * @return the esito controllo of this bo int pratica - */ - public int getEsitoControllo(); - - /** - * Sets the esito controllo of this bo int pratica. - * - * @param esitoControllo the esito controllo of this bo int pratica - */ - public void setEsitoControllo(int esitoControllo); - - /** - * Returns the collaudo statico of this bo int pratica. - * - * @return the collaudo statico of this bo int pratica - */ - public boolean getCollaudoStatico(); - - /** - * Returns true if this bo int pratica is collaudo statico. - * - * @return true if this bo int pratica is collaudo statico; false otherwise - */ - public boolean isCollaudoStatico(); - - /** - * Sets whether this bo int pratica is collaudo statico. - * - * @param collaudoStatico the collaudo statico of this bo int pratica - */ - public void setCollaudoStatico(boolean collaudoStatico); - - /** - * Returns the collaudo statico agt sanatoria of this bo int pratica. - * - * @return the collaudo statico agt sanatoria of this bo int pratica - */ - public boolean getCollaudoStaticoAgtSanatoria(); - - /** - * Returns true if this bo int pratica is collaudo statico agt sanatoria. - * - * @return true if this bo int pratica is collaudo statico agt sanatoria; false otherwise - */ - public boolean isCollaudoStaticoAgtSanatoria(); - - /** - * Sets whether this bo int pratica is collaudo statico agt sanatoria. - * - * @param collaudoStaticoAgtSanatoria the collaudo statico agt sanatoria of this bo int pratica - */ - public void setCollaudoStaticoAgtSanatoria( - boolean collaudoStaticoAgtSanatoria); - - /** - * Returns the codice fiscale delegato of this bo int pratica. - * - * @return the codice fiscale delegato of this bo int pratica - */ - @AutoEscape - public String getCodiceFiscaleDelegato(); - - /** - * Sets the codice fiscale delegato of this bo int pratica. - * - * @param codiceFiscaleDelegato the codice fiscale delegato of this bo int pratica - */ - public void setCodiceFiscaleDelegato(String codiceFiscaleDelegato); - - /** - * Returns the codice ruolo delegato of this bo int pratica. - * - * @return the codice ruolo delegato of this bo int pratica - */ - @AutoEscape - public String getCodiceRuoloDelegato(); - - /** - * Sets the codice ruolo delegato of this bo int pratica. - * - * @param codiceRuoloDelegato the codice ruolo delegato of this bo int pratica - */ - public void setCodiceRuoloDelegato(String codiceRuoloDelegato); - - /** - * Returns the lavori in economia committente of this bo int pratica. - * - * @return the lavori in economia committente of this bo int pratica - */ - public boolean getLavoriInEconomiaCommittente(); - - /** - * Returns true if this bo int pratica is lavori in economia committente. - * - * @return true if this bo int pratica is lavori in economia committente; false otherwise - */ - public boolean isLavoriInEconomiaCommittente(); - - /** - * Sets whether this bo int pratica is lavori in economia committente. - * - * @param lavoriInEconomiaCommittente the lavori in economia committente of this bo int pratica - */ - public void setLavoriInEconomiaCommittente( - boolean lavoriInEconomiaCommittente); - - /** - * Returns the nome utente suap of this bo int pratica. - * - * @return the nome utente suap of this bo int pratica - */ - @AutoEscape - public String getNomeUtenteSuap(); - - /** - * Sets the nome utente suap of this bo int pratica. - * - * @param nomeUtenteSuap the nome utente suap of this bo int pratica - */ - public void setNomeUtenteSuap(String nomeUtenteSuap); - - /** - * Returns the cognome utente suap of this bo int pratica. - * - * @return the cognome utente suap of this bo int pratica - */ - @AutoEscape - public String getCognomeUtenteSuap(); - - /** - * Sets the cognome utente suap of this bo int pratica. - * - * @param cognomeUtenteSuap the cognome utente suap of this bo int pratica - */ - public void setCognomeUtenteSuap(String cognomeUtenteSuap); - - /** - * Returns the codice fiscale utente suap of this bo int pratica. - * - * @return the codice fiscale utente suap of this bo int pratica - */ - @AutoEscape - public String getCodiceFiscaleUtenteSuap(); - - /** - * Sets the codice fiscale utente suap of this bo int pratica. - * - * @param codiceFiscaleUtenteSuap the codice fiscale utente suap of this bo int pratica - */ - public void setCodiceFiscaleUtenteSuap(String codiceFiscaleUtenteSuap); - - /** - * Returns the inizio lavori contestuale opera of this bo int pratica. - * - * @return the inizio lavori contestuale opera of this bo int pratica - */ - public boolean getInizioLavoriContestualeOpera(); - - /** - * Returns true if this bo int pratica is inizio lavori contestuale opera. - * - * @return true if this bo int pratica is inizio lavori contestuale opera; false otherwise - */ - public boolean isInizioLavoriContestualeOpera(); - - /** - * Sets whether this bo int pratica is inizio lavori contestuale opera. - * - * @param inizioLavoriContestualeOpera the inizio lavori contestuale opera of this bo int pratica - */ - public void setInizioLavoriContestualeOpera( - boolean inizioLavoriContestualeOpera); - - /** - * Returns the data inizio lavori opera of this bo int pratica. - * - * @return the data inizio lavori opera of this bo int pratica - */ - public Date getDataInizioLavoriOpera(); - - /** - * Sets the data inizio lavori opera of this bo int pratica. - * - * @param dataInizioLavoriOpera the data inizio lavori opera of this bo int pratica - */ - public void setDataInizioLavoriOpera(Date dataInizioLavoriOpera); - - /** - * Returns the data inizio esecuzione opera of this bo int pratica. - * - * @return the data inizio esecuzione opera of this bo int pratica - */ - public Date getDataInizioEsecuzioneOpera(); - - /** - * Sets the data inizio esecuzione opera of this bo int pratica. - * - * @param dataInizioEsecuzioneOpera the data inizio esecuzione opera of this bo int pratica - */ - public void setDataInizioEsecuzioneOpera(Date dataInizioEsecuzioneOpera); - - /** - * Returns the data fine esecuzione opera of this bo int pratica. - * - * @return the data fine esecuzione opera of this bo int pratica - */ - public Date getDataFineEsecuzioneOpera(); - - /** - * Sets the data fine esecuzione opera of this bo int pratica. - * - * @param dataFineEsecuzioneOpera the data fine esecuzione opera of this bo int pratica - */ - public void setDataFineEsecuzioneOpera(Date dataFineEsecuzioneOpera); - - /** - * Returns the metratura of this bo int pratica. - * - * @return the metratura of this bo int pratica - */ - @AutoEscape - public String getMetratura(); - - /** - * Sets the metratura of this bo int pratica. - * - * @param metratura the metratura of this bo int pratica - */ - public void setMetratura(String metratura); - - /** - * Returns the lavori pubblici of this bo int pratica. - * - * @return the lavori pubblici of this bo int pratica - */ - public boolean getLavoriPubblici(); - - /** - * Returns true if this bo int pratica is lavori pubblici. - * - * @return true if this bo int pratica is lavori pubblici; false otherwise - */ - public boolean isLavoriPubblici(); - - /** - * Sets whether this bo int pratica is lavori pubblici. - * - * @param lavoriPubblici the lavori pubblici of this bo int pratica - */ - public void setLavoriPubblici(boolean lavoriPubblici); - - /** - * Returns the dt pratica of this bo int pratica. - * - * @return the dt pratica of this bo int pratica - */ - public Date getDtPratica(); - - /** - * Sets the dt pratica of this bo int pratica. - * - * @param dtPratica the dt pratica of this bo int pratica - */ - public void setDtPratica(Date dtPratica); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.BoIntPratica boIntPratica); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.importazione.model.BoIntPratica toEscapedModel(); - - @Override - public it.tref.liferay.portos.importazione.model.BoIntPratica toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoIntPraticaSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoIntPraticaSoap.java deleted file mode 100644 index dba40eac..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoIntPraticaSoap.java +++ /dev/null @@ -1,591 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author 3FC - * @generated - */ -public class BoIntPraticaSoap implements Serializable { - public static BoIntPraticaSoap toSoapModel(BoIntPratica model) { - BoIntPraticaSoap soapModel = new BoIntPraticaSoap(); - - soapModel.setUuid(model.getUuid()); - soapModel.setIntPraticaId(model.getIntPraticaId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setTipoPraticaId(model.getTipoPraticaId()); - soapModel.setTerritorioId(model.getTerritorioId()); - soapModel.setDestinazione(model.getDestinazione()); - soapModel.setTipologiaSistemaCostruttivo(model.getTipologiaSistemaCostruttivo()); - soapModel.setAg(model.getAg()); - soapModel.setDescLongIntervento(model.getDescLongIntervento()); - soapModel.setVia(model.getVia()); - soapModel.setLocalita(model.getLocalita()); - soapModel.setEstremiCatastali(model.getEstremiCatastali()); - soapModel.setEstremiPratCom(model.getEstremiPratCom()); - soapModel.setDtSorteggio(model.getDtSorteggio()); - soapModel.setStatoPratica(model.getStatoPratica()); - soapModel.setNumeroProgetto(model.getNumeroProgetto()); - soapModel.setValidata(model.getValidata()); - soapModel.setVariataDa(model.getVariataDa()); - soapModel.setVarianteNumero(model.getVarianteNumero()); - soapModel.setVarianteSostanziale(model.getVarianteSostanziale()); - soapModel.setOperaConforme(model.getOperaConforme()); - soapModel.setTipoPraticaIdSanatoria(model.getTipoPraticaIdSanatoria()); - soapModel.setStatus(model.getStatus()); - soapModel.setStatusByUserId(model.getStatusByUserId()); - soapModel.setStatusDate(model.getStatusDate()); - soapModel.setStatoPraticaWorkflow(model.getStatoPraticaWorkflow()); - soapModel.setEsitoControllo(model.getEsitoControllo()); - soapModel.setCollaudoStatico(model.getCollaudoStatico()); - soapModel.setCollaudoStaticoAgtSanatoria(model.getCollaudoStaticoAgtSanatoria()); - soapModel.setCodiceFiscaleDelegato(model.getCodiceFiscaleDelegato()); - soapModel.setCodiceRuoloDelegato(model.getCodiceRuoloDelegato()); - soapModel.setLavoriInEconomiaCommittente(model.getLavoriInEconomiaCommittente()); - soapModel.setNomeUtenteSuap(model.getNomeUtenteSuap()); - soapModel.setCognomeUtenteSuap(model.getCognomeUtenteSuap()); - soapModel.setCodiceFiscaleUtenteSuap(model.getCodiceFiscaleUtenteSuap()); - soapModel.setInizioLavoriContestualeOpera(model.getInizioLavoriContestualeOpera()); - soapModel.setDataInizioLavoriOpera(model.getDataInizioLavoriOpera()); - soapModel.setDataInizioEsecuzioneOpera(model.getDataInizioEsecuzioneOpera()); - soapModel.setDataFineEsecuzioneOpera(model.getDataFineEsecuzioneOpera()); - soapModel.setMetratura(model.getMetratura()); - soapModel.setLavoriPubblici(model.getLavoriPubblici()); - soapModel.setDtPratica(model.getDtPratica()); - - return soapModel; - } - - public static BoIntPraticaSoap[] toSoapModels(BoIntPratica[] models) { - BoIntPraticaSoap[] soapModels = new BoIntPraticaSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static BoIntPraticaSoap[][] toSoapModels(BoIntPratica[][] models) { - BoIntPraticaSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new BoIntPraticaSoap[models.length][models[0].length]; - } - else { - soapModels = new BoIntPraticaSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static BoIntPraticaSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (BoIntPratica model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new BoIntPraticaSoap[soapModels.size()]); - } - - public BoIntPraticaSoap() { - } - - public long getPrimaryKey() { - return _intPraticaId; - } - - public void setPrimaryKey(long pk) { - setIntPraticaId(pk); - } - - public String getUuid() { - return _uuid; - } - - public void setUuid(String uuid) { - _uuid = uuid; - } - - public long getIntPraticaId() { - return _intPraticaId; - } - - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public long getTipoPraticaId() { - return _tipoPraticaId; - } - - public void setTipoPraticaId(long tipoPraticaId) { - _tipoPraticaId = tipoPraticaId; - } - - public long getTerritorioId() { - return _territorioId; - } - - public void setTerritorioId(long territorioId) { - _territorioId = territorioId; - } - - public String getDestinazione() { - return _destinazione; - } - - public void setDestinazione(String destinazione) { - _destinazione = destinazione; - } - - public String getTipologiaSistemaCostruttivo() { - return _tipologiaSistemaCostruttivo; - } - - public void setTipologiaSistemaCostruttivo( - String tipologiaSistemaCostruttivo) { - _tipologiaSistemaCostruttivo = tipologiaSistemaCostruttivo; - } - - public String getAg() { - return _ag; - } - - public void setAg(String ag) { - _ag = ag; - } - - public String getDescLongIntervento() { - return _descLongIntervento; - } - - public void setDescLongIntervento(String descLongIntervento) { - _descLongIntervento = descLongIntervento; - } - - public String getVia() { - return _via; - } - - public void setVia(String via) { - _via = via; - } - - public String getLocalita() { - return _localita; - } - - public void setLocalita(String localita) { - _localita = localita; - } - - public String getEstremiCatastali() { - return _estremiCatastali; - } - - public void setEstremiCatastali(String estremiCatastali) { - _estremiCatastali = estremiCatastali; - } - - public String getEstremiPratCom() { - return _estremiPratCom; - } - - public void setEstremiPratCom(String estremiPratCom) { - _estremiPratCom = estremiPratCom; - } - - public Date getDtSorteggio() { - return _dtSorteggio; - } - - public void setDtSorteggio(Date dtSorteggio) { - _dtSorteggio = dtSorteggio; - } - - public String getStatoPratica() { - return _statoPratica; - } - - public void setStatoPratica(String statoPratica) { - _statoPratica = statoPratica; - } - - public String getNumeroProgetto() { - return _numeroProgetto; - } - - public void setNumeroProgetto(String numeroProgetto) { - _numeroProgetto = numeroProgetto; - } - - public boolean getValidata() { - return _validata; - } - - public boolean isValidata() { - return _validata; - } - - public void setValidata(boolean validata) { - _validata = validata; - } - - public long getVariataDa() { - return _variataDa; - } - - public void setVariataDa(long variataDa) { - _variataDa = variataDa; - } - - public long getVarianteNumero() { - return _varianteNumero; - } - - public void setVarianteNumero(long varianteNumero) { - _varianteNumero = varianteNumero; - } - - public boolean getVarianteSostanziale() { - return _varianteSostanziale; - } - - public boolean isVarianteSostanziale() { - return _varianteSostanziale; - } - - public void setVarianteSostanziale(boolean varianteSostanziale) { - _varianteSostanziale = varianteSostanziale; - } - - public boolean getOperaConforme() { - return _operaConforme; - } - - public boolean isOperaConforme() { - return _operaConforme; - } - - public void setOperaConforme(boolean operaConforme) { - _operaConforme = operaConforme; - } - - public long getTipoPraticaIdSanatoria() { - return _tipoPraticaIdSanatoria; - } - - public void setTipoPraticaIdSanatoria(long tipoPraticaIdSanatoria) { - _tipoPraticaIdSanatoria = tipoPraticaIdSanatoria; - } - - public int getStatus() { - return _status; - } - - public void setStatus(int status) { - _status = status; - } - - public long getStatusByUserId() { - return _statusByUserId; - } - - public void setStatusByUserId(long statusByUserId) { - _statusByUserId = statusByUserId; - } - - public Date getStatusDate() { - return _statusDate; - } - - public void setStatusDate(Date statusDate) { - _statusDate = statusDate; - } - - public String getStatoPraticaWorkflow() { - return _statoPraticaWorkflow; - } - - public void setStatoPraticaWorkflow(String statoPraticaWorkflow) { - _statoPraticaWorkflow = statoPraticaWorkflow; - } - - public int getEsitoControllo() { - return _esitoControllo; - } - - public void setEsitoControllo(int esitoControllo) { - _esitoControllo = esitoControllo; - } - - public boolean getCollaudoStatico() { - return _collaudoStatico; - } - - public boolean isCollaudoStatico() { - return _collaudoStatico; - } - - public void setCollaudoStatico(boolean collaudoStatico) { - _collaudoStatico = collaudoStatico; - } - - public boolean getCollaudoStaticoAgtSanatoria() { - return _collaudoStaticoAgtSanatoria; - } - - public boolean isCollaudoStaticoAgtSanatoria() { - return _collaudoStaticoAgtSanatoria; - } - - public void setCollaudoStaticoAgtSanatoria( - boolean collaudoStaticoAgtSanatoria) { - _collaudoStaticoAgtSanatoria = collaudoStaticoAgtSanatoria; - } - - public String getCodiceFiscaleDelegato() { - return _codiceFiscaleDelegato; - } - - public void setCodiceFiscaleDelegato(String codiceFiscaleDelegato) { - _codiceFiscaleDelegato = codiceFiscaleDelegato; - } - - public String getCodiceRuoloDelegato() { - return _codiceRuoloDelegato; - } - - public void setCodiceRuoloDelegato(String codiceRuoloDelegato) { - _codiceRuoloDelegato = codiceRuoloDelegato; - } - - public boolean getLavoriInEconomiaCommittente() { - return _lavoriInEconomiaCommittente; - } - - public boolean isLavoriInEconomiaCommittente() { - return _lavoriInEconomiaCommittente; - } - - public void setLavoriInEconomiaCommittente( - boolean lavoriInEconomiaCommittente) { - _lavoriInEconomiaCommittente = lavoriInEconomiaCommittente; - } - - public String getNomeUtenteSuap() { - return _nomeUtenteSuap; - } - - public void setNomeUtenteSuap(String nomeUtenteSuap) { - _nomeUtenteSuap = nomeUtenteSuap; - } - - public String getCognomeUtenteSuap() { - return _cognomeUtenteSuap; - } - - public void setCognomeUtenteSuap(String cognomeUtenteSuap) { - _cognomeUtenteSuap = cognomeUtenteSuap; - } - - public String getCodiceFiscaleUtenteSuap() { - return _codiceFiscaleUtenteSuap; - } - - public void setCodiceFiscaleUtenteSuap(String codiceFiscaleUtenteSuap) { - _codiceFiscaleUtenteSuap = codiceFiscaleUtenteSuap; - } - - public boolean getInizioLavoriContestualeOpera() { - return _inizioLavoriContestualeOpera; - } - - public boolean isInizioLavoriContestualeOpera() { - return _inizioLavoriContestualeOpera; - } - - public void setInizioLavoriContestualeOpera( - boolean inizioLavoriContestualeOpera) { - _inizioLavoriContestualeOpera = inizioLavoriContestualeOpera; - } - - public Date getDataInizioLavoriOpera() { - return _dataInizioLavoriOpera; - } - - public void setDataInizioLavoriOpera(Date dataInizioLavoriOpera) { - _dataInizioLavoriOpera = dataInizioLavoriOpera; - } - - public Date getDataInizioEsecuzioneOpera() { - return _dataInizioEsecuzioneOpera; - } - - public void setDataInizioEsecuzioneOpera(Date dataInizioEsecuzioneOpera) { - _dataInizioEsecuzioneOpera = dataInizioEsecuzioneOpera; - } - - public Date getDataFineEsecuzioneOpera() { - return _dataFineEsecuzioneOpera; - } - - public void setDataFineEsecuzioneOpera(Date dataFineEsecuzioneOpera) { - _dataFineEsecuzioneOpera = dataFineEsecuzioneOpera; - } - - public String getMetratura() { - return _metratura; - } - - public void setMetratura(String metratura) { - _metratura = metratura; - } - - public boolean getLavoriPubblici() { - return _lavoriPubblici; - } - - public boolean isLavoriPubblici() { - return _lavoriPubblici; - } - - public void setLavoriPubblici(boolean lavoriPubblici) { - _lavoriPubblici = lavoriPubblici; - } - - public Date getDtPratica() { - return _dtPratica; - } - - public void setDtPratica(Date dtPratica) { - _dtPratica = dtPratica; - } - - private String _uuid; - private long _intPraticaId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _tipoPraticaId; - private long _territorioId; - private String _destinazione; - private String _tipologiaSistemaCostruttivo; - private String _ag; - private String _descLongIntervento; - private String _via; - private String _localita; - private String _estremiCatastali; - private String _estremiPratCom; - private Date _dtSorteggio; - private String _statoPratica; - private String _numeroProgetto; - private boolean _validata; - private long _variataDa; - private long _varianteNumero; - private boolean _varianteSostanziale; - private boolean _operaConforme; - private long _tipoPraticaIdSanatoria; - private int _status; - private long _statusByUserId; - private Date _statusDate; - private String _statoPraticaWorkflow; - private int _esitoControllo; - private boolean _collaudoStatico; - private boolean _collaudoStaticoAgtSanatoria; - private String _codiceFiscaleDelegato; - private String _codiceRuoloDelegato; - private boolean _lavoriInEconomiaCommittente; - private String _nomeUtenteSuap; - private String _cognomeUtenteSuap; - private String _codiceFiscaleUtenteSuap; - private boolean _inizioLavoriContestualeOpera; - private Date _dataInizioLavoriOpera; - private Date _dataInizioEsecuzioneOpera; - private Date _dataFineEsecuzioneOpera; - private String _metratura; - private boolean _lavoriPubblici; - private Date _dtPratica; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoIntPraticaWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoIntPraticaWrapper.java deleted file mode 100644 index ecb41b94..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoIntPraticaWrapper.java +++ /dev/null @@ -1,1646 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link BoIntPratica}. - *

- * - * @author 3FC - * @see BoIntPratica - * @generated - */ -public class BoIntPraticaWrapper implements BoIntPratica, - ModelWrapper { - public BoIntPraticaWrapper(BoIntPratica boIntPratica) { - _boIntPratica = boIntPratica; - } - - @Override - public Class getModelClass() { - return BoIntPratica.class; - } - - @Override - public String getModelClassName() { - return BoIntPratica.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("tipoPraticaId", getTipoPraticaId()); - attributes.put("territorioId", getTerritorioId()); - attributes.put("destinazione", getDestinazione()); - attributes.put("tipologiaSistemaCostruttivo", - getTipologiaSistemaCostruttivo()); - attributes.put("ag", getAg()); - attributes.put("descLongIntervento", getDescLongIntervento()); - attributes.put("via", getVia()); - attributes.put("localita", getLocalita()); - attributes.put("estremiCatastali", getEstremiCatastali()); - attributes.put("estremiPratCom", getEstremiPratCom()); - attributes.put("dtSorteggio", getDtSorteggio()); - attributes.put("statoPratica", getStatoPratica()); - attributes.put("numeroProgetto", getNumeroProgetto()); - attributes.put("validata", getValidata()); - attributes.put("variataDa", getVariataDa()); - attributes.put("varianteNumero", getVarianteNumero()); - attributes.put("varianteSostanziale", getVarianteSostanziale()); - attributes.put("operaConforme", getOperaConforme()); - attributes.put("tipoPraticaIdSanatoria", getTipoPraticaIdSanatoria()); - attributes.put("status", getStatus()); - attributes.put("statusByUserId", getStatusByUserId()); - attributes.put("statusDate", getStatusDate()); - attributes.put("statoPraticaWorkflow", getStatoPraticaWorkflow()); - attributes.put("esitoControllo", getEsitoControllo()); - attributes.put("collaudoStatico", getCollaudoStatico()); - attributes.put("collaudoStaticoAgtSanatoria", - getCollaudoStaticoAgtSanatoria()); - attributes.put("codiceFiscaleDelegato", getCodiceFiscaleDelegato()); - attributes.put("codiceRuoloDelegato", getCodiceRuoloDelegato()); - attributes.put("lavoriInEconomiaCommittente", - getLavoriInEconomiaCommittente()); - attributes.put("nomeUtenteSuap", getNomeUtenteSuap()); - attributes.put("cognomeUtenteSuap", getCognomeUtenteSuap()); - attributes.put("codiceFiscaleUtenteSuap", getCodiceFiscaleUtenteSuap()); - attributes.put("inizioLavoriContestualeOpera", - getInizioLavoriContestualeOpera()); - attributes.put("dataInizioLavoriOpera", getDataInizioLavoriOpera()); - attributes.put("dataInizioEsecuzioneOpera", - getDataInizioEsecuzioneOpera()); - attributes.put("dataFineEsecuzioneOpera", getDataFineEsecuzioneOpera()); - attributes.put("metratura", getMetratura()); - attributes.put("lavoriPubblici", getLavoriPubblici()); - attributes.put("dtPratica", getDtPratica()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long tipoPraticaId = (Long)attributes.get("tipoPraticaId"); - - if (tipoPraticaId != null) { - setTipoPraticaId(tipoPraticaId); - } - - Long territorioId = (Long)attributes.get("territorioId"); - - if (territorioId != null) { - setTerritorioId(territorioId); - } - - String destinazione = (String)attributes.get("destinazione"); - - if (destinazione != null) { - setDestinazione(destinazione); - } - - String tipologiaSistemaCostruttivo = (String)attributes.get( - "tipologiaSistemaCostruttivo"); - - if (tipologiaSistemaCostruttivo != null) { - setTipologiaSistemaCostruttivo(tipologiaSistemaCostruttivo); - } - - String ag = (String)attributes.get("ag"); - - if (ag != null) { - setAg(ag); - } - - String descLongIntervento = (String)attributes.get("descLongIntervento"); - - if (descLongIntervento != null) { - setDescLongIntervento(descLongIntervento); - } - - String via = (String)attributes.get("via"); - - if (via != null) { - setVia(via); - } - - String localita = (String)attributes.get("localita"); - - if (localita != null) { - setLocalita(localita); - } - - String estremiCatastali = (String)attributes.get("estremiCatastali"); - - if (estremiCatastali != null) { - setEstremiCatastali(estremiCatastali); - } - - String estremiPratCom = (String)attributes.get("estremiPratCom"); - - if (estremiPratCom != null) { - setEstremiPratCom(estremiPratCom); - } - - Date dtSorteggio = (Date)attributes.get("dtSorteggio"); - - if (dtSorteggio != null) { - setDtSorteggio(dtSorteggio); - } - - String statoPratica = (String)attributes.get("statoPratica"); - - if (statoPratica != null) { - setStatoPratica(statoPratica); - } - - String numeroProgetto = (String)attributes.get("numeroProgetto"); - - if (numeroProgetto != null) { - setNumeroProgetto(numeroProgetto); - } - - Boolean validata = (Boolean)attributes.get("validata"); - - if (validata != null) { - setValidata(validata); - } - - Long variataDa = (Long)attributes.get("variataDa"); - - if (variataDa != null) { - setVariataDa(variataDa); - } - - Long varianteNumero = (Long)attributes.get("varianteNumero"); - - if (varianteNumero != null) { - setVarianteNumero(varianteNumero); - } - - Boolean varianteSostanziale = (Boolean)attributes.get( - "varianteSostanziale"); - - if (varianteSostanziale != null) { - setVarianteSostanziale(varianteSostanziale); - } - - Boolean operaConforme = (Boolean)attributes.get("operaConforme"); - - if (operaConforme != null) { - setOperaConforme(operaConforme); - } - - Long tipoPraticaIdSanatoria = (Long)attributes.get( - "tipoPraticaIdSanatoria"); - - if (tipoPraticaIdSanatoria != null) { - setTipoPraticaIdSanatoria(tipoPraticaIdSanatoria); - } - - Integer status = (Integer)attributes.get("status"); - - if (status != null) { - setStatus(status); - } - - Long statusByUserId = (Long)attributes.get("statusByUserId"); - - if (statusByUserId != null) { - setStatusByUserId(statusByUserId); - } - - Date statusDate = (Date)attributes.get("statusDate"); - - if (statusDate != null) { - setStatusDate(statusDate); - } - - String statoPraticaWorkflow = (String)attributes.get( - "statoPraticaWorkflow"); - - if (statoPraticaWorkflow != null) { - setStatoPraticaWorkflow(statoPraticaWorkflow); - } - - Integer esitoControllo = (Integer)attributes.get("esitoControllo"); - - if (esitoControllo != null) { - setEsitoControllo(esitoControllo); - } - - Boolean collaudoStatico = (Boolean)attributes.get("collaudoStatico"); - - if (collaudoStatico != null) { - setCollaudoStatico(collaudoStatico); - } - - Boolean collaudoStaticoAgtSanatoria = (Boolean)attributes.get( - "collaudoStaticoAgtSanatoria"); - - if (collaudoStaticoAgtSanatoria != null) { - setCollaudoStaticoAgtSanatoria(collaudoStaticoAgtSanatoria); - } - - String codiceFiscaleDelegato = (String)attributes.get( - "codiceFiscaleDelegato"); - - if (codiceFiscaleDelegato != null) { - setCodiceFiscaleDelegato(codiceFiscaleDelegato); - } - - String codiceRuoloDelegato = (String)attributes.get( - "codiceRuoloDelegato"); - - if (codiceRuoloDelegato != null) { - setCodiceRuoloDelegato(codiceRuoloDelegato); - } - - Boolean lavoriInEconomiaCommittente = (Boolean)attributes.get( - "lavoriInEconomiaCommittente"); - - if (lavoriInEconomiaCommittente != null) { - setLavoriInEconomiaCommittente(lavoriInEconomiaCommittente); - } - - String nomeUtenteSuap = (String)attributes.get("nomeUtenteSuap"); - - if (nomeUtenteSuap != null) { - setNomeUtenteSuap(nomeUtenteSuap); - } - - String cognomeUtenteSuap = (String)attributes.get("cognomeUtenteSuap"); - - if (cognomeUtenteSuap != null) { - setCognomeUtenteSuap(cognomeUtenteSuap); - } - - String codiceFiscaleUtenteSuap = (String)attributes.get( - "codiceFiscaleUtenteSuap"); - - if (codiceFiscaleUtenteSuap != null) { - setCodiceFiscaleUtenteSuap(codiceFiscaleUtenteSuap); - } - - Boolean inizioLavoriContestualeOpera = (Boolean)attributes.get( - "inizioLavoriContestualeOpera"); - - if (inizioLavoriContestualeOpera != null) { - setInizioLavoriContestualeOpera(inizioLavoriContestualeOpera); - } - - Date dataInizioLavoriOpera = (Date)attributes.get( - "dataInizioLavoriOpera"); - - if (dataInizioLavoriOpera != null) { - setDataInizioLavoriOpera(dataInizioLavoriOpera); - } - - Date dataInizioEsecuzioneOpera = (Date)attributes.get( - "dataInizioEsecuzioneOpera"); - - if (dataInizioEsecuzioneOpera != null) { - setDataInizioEsecuzioneOpera(dataInizioEsecuzioneOpera); - } - - Date dataFineEsecuzioneOpera = (Date)attributes.get( - "dataFineEsecuzioneOpera"); - - if (dataFineEsecuzioneOpera != null) { - setDataFineEsecuzioneOpera(dataFineEsecuzioneOpera); - } - - String metratura = (String)attributes.get("metratura"); - - if (metratura != null) { - setMetratura(metratura); - } - - Boolean lavoriPubblici = (Boolean)attributes.get("lavoriPubblici"); - - if (lavoriPubblici != null) { - setLavoriPubblici(lavoriPubblici); - } - - Date dtPratica = (Date)attributes.get("dtPratica"); - - if (dtPratica != null) { - setDtPratica(dtPratica); - } - } - - /** - * Returns the primary key of this bo int pratica. - * - * @return the primary key of this bo int pratica - */ - @Override - public long getPrimaryKey() { - return _boIntPratica.getPrimaryKey(); - } - - /** - * Sets the primary key of this bo int pratica. - * - * @param primaryKey the primary key of this bo int pratica - */ - @Override - public void setPrimaryKey(long primaryKey) { - _boIntPratica.setPrimaryKey(primaryKey); - } - - /** - * Returns the uuid of this bo int pratica. - * - * @return the uuid of this bo int pratica - */ - @Override - public java.lang.String getUuid() { - return _boIntPratica.getUuid(); - } - - /** - * Sets the uuid of this bo int pratica. - * - * @param uuid the uuid of this bo int pratica - */ - @Override - public void setUuid(java.lang.String uuid) { - _boIntPratica.setUuid(uuid); - } - - /** - * Returns the int pratica ID of this bo int pratica. - * - * @return the int pratica ID of this bo int pratica - */ - @Override - public long getIntPraticaId() { - return _boIntPratica.getIntPraticaId(); - } - - /** - * Sets the int pratica ID of this bo int pratica. - * - * @param intPraticaId the int pratica ID of this bo int pratica - */ - @Override - public void setIntPraticaId(long intPraticaId) { - _boIntPratica.setIntPraticaId(intPraticaId); - } - - /** - * Returns the company ID of this bo int pratica. - * - * @return the company ID of this bo int pratica - */ - @Override - public long getCompanyId() { - return _boIntPratica.getCompanyId(); - } - - /** - * Sets the company ID of this bo int pratica. - * - * @param companyId the company ID of this bo int pratica - */ - @Override - public void setCompanyId(long companyId) { - _boIntPratica.setCompanyId(companyId); - } - - /** - * Returns the user ID of this bo int pratica. - * - * @return the user ID of this bo int pratica - */ - @Override - public long getUserId() { - return _boIntPratica.getUserId(); - } - - /** - * Sets the user ID of this bo int pratica. - * - * @param userId the user ID of this bo int pratica - */ - @Override - public void setUserId(long userId) { - _boIntPratica.setUserId(userId); - } - - /** - * Returns the user uuid of this bo int pratica. - * - * @return the user uuid of this bo int pratica - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _boIntPratica.getUserUuid(); - } - - /** - * Sets the user uuid of this bo int pratica. - * - * @param userUuid the user uuid of this bo int pratica - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _boIntPratica.setUserUuid(userUuid); - } - - /** - * Returns the user name of this bo int pratica. - * - * @return the user name of this bo int pratica - */ - @Override - public java.lang.String getUserName() { - return _boIntPratica.getUserName(); - } - - /** - * Sets the user name of this bo int pratica. - * - * @param userName the user name of this bo int pratica - */ - @Override - public void setUserName(java.lang.String userName) { - _boIntPratica.setUserName(userName); - } - - /** - * Returns the create date of this bo int pratica. - * - * @return the create date of this bo int pratica - */ - @Override - public java.util.Date getCreateDate() { - return _boIntPratica.getCreateDate(); - } - - /** - * Sets the create date of this bo int pratica. - * - * @param createDate the create date of this bo int pratica - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _boIntPratica.setCreateDate(createDate); - } - - /** - * Returns the modified date of this bo int pratica. - * - * @return the modified date of this bo int pratica - */ - @Override - public java.util.Date getModifiedDate() { - return _boIntPratica.getModifiedDate(); - } - - /** - * Sets the modified date of this bo int pratica. - * - * @param modifiedDate the modified date of this bo int pratica - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _boIntPratica.setModifiedDate(modifiedDate); - } - - /** - * Returns the group ID of this bo int pratica. - * - * @return the group ID of this bo int pratica - */ - @Override - public long getGroupId() { - return _boIntPratica.getGroupId(); - } - - /** - * Sets the group ID of this bo int pratica. - * - * @param groupId the group ID of this bo int pratica - */ - @Override - public void setGroupId(long groupId) { - _boIntPratica.setGroupId(groupId); - } - - /** - * Returns the tipo pratica ID of this bo int pratica. - * - * @return the tipo pratica ID of this bo int pratica - */ - @Override - public long getTipoPraticaId() { - return _boIntPratica.getTipoPraticaId(); - } - - /** - * Sets the tipo pratica ID of this bo int pratica. - * - * @param tipoPraticaId the tipo pratica ID of this bo int pratica - */ - @Override - public void setTipoPraticaId(long tipoPraticaId) { - _boIntPratica.setTipoPraticaId(tipoPraticaId); - } - - /** - * Returns the territorio ID of this bo int pratica. - * - * @return the territorio ID of this bo int pratica - */ - @Override - public long getTerritorioId() { - return _boIntPratica.getTerritorioId(); - } - - /** - * Sets the territorio ID of this bo int pratica. - * - * @param territorioId the territorio ID of this bo int pratica - */ - @Override - public void setTerritorioId(long territorioId) { - _boIntPratica.setTerritorioId(territorioId); - } - - /** - * Returns the destinazione of this bo int pratica. - * - * @return the destinazione of this bo int pratica - */ - @Override - public java.lang.String getDestinazione() { - return _boIntPratica.getDestinazione(); - } - - /** - * Sets the destinazione of this bo int pratica. - * - * @param destinazione the destinazione of this bo int pratica - */ - @Override - public void setDestinazione(java.lang.String destinazione) { - _boIntPratica.setDestinazione(destinazione); - } - - /** - * Returns the tipologia sistema costruttivo of this bo int pratica. - * - * @return the tipologia sistema costruttivo of this bo int pratica - */ - @Override - public java.lang.String getTipologiaSistemaCostruttivo() { - return _boIntPratica.getTipologiaSistemaCostruttivo(); - } - - /** - * Sets the tipologia sistema costruttivo of this bo int pratica. - * - * @param tipologiaSistemaCostruttivo the tipologia sistema costruttivo of this bo int pratica - */ - @Override - public void setTipologiaSistemaCostruttivo( - java.lang.String tipologiaSistemaCostruttivo) { - _boIntPratica.setTipologiaSistemaCostruttivo(tipologiaSistemaCostruttivo); - } - - /** - * Returns the ag of this bo int pratica. - * - * @return the ag of this bo int pratica - */ - @Override - public java.lang.String getAg() { - return _boIntPratica.getAg(); - } - - /** - * Sets the ag of this bo int pratica. - * - * @param ag the ag of this bo int pratica - */ - @Override - public void setAg(java.lang.String ag) { - _boIntPratica.setAg(ag); - } - - /** - * Returns the desc long intervento of this bo int pratica. - * - * @return the desc long intervento of this bo int pratica - */ - @Override - public java.lang.String getDescLongIntervento() { - return _boIntPratica.getDescLongIntervento(); - } - - /** - * Sets the desc long intervento of this bo int pratica. - * - * @param descLongIntervento the desc long intervento of this bo int pratica - */ - @Override - public void setDescLongIntervento(java.lang.String descLongIntervento) { - _boIntPratica.setDescLongIntervento(descLongIntervento); - } - - /** - * Returns the via of this bo int pratica. - * - * @return the via of this bo int pratica - */ - @Override - public java.lang.String getVia() { - return _boIntPratica.getVia(); - } - - /** - * Sets the via of this bo int pratica. - * - * @param via the via of this bo int pratica - */ - @Override - public void setVia(java.lang.String via) { - _boIntPratica.setVia(via); - } - - /** - * Returns the localita of this bo int pratica. - * - * @return the localita of this bo int pratica - */ - @Override - public java.lang.String getLocalita() { - return _boIntPratica.getLocalita(); - } - - /** - * Sets the localita of this bo int pratica. - * - * @param localita the localita of this bo int pratica - */ - @Override - public void setLocalita(java.lang.String localita) { - _boIntPratica.setLocalita(localita); - } - - /** - * Returns the estremi catastali of this bo int pratica. - * - * @return the estremi catastali of this bo int pratica - */ - @Override - public java.lang.String getEstremiCatastali() { - return _boIntPratica.getEstremiCatastali(); - } - - /** - * Sets the estremi catastali of this bo int pratica. - * - * @param estremiCatastali the estremi catastali of this bo int pratica - */ - @Override - public void setEstremiCatastali(java.lang.String estremiCatastali) { - _boIntPratica.setEstremiCatastali(estremiCatastali); - } - - /** - * Returns the estremi prat com of this bo int pratica. - * - * @return the estremi prat com of this bo int pratica - */ - @Override - public java.lang.String getEstremiPratCom() { - return _boIntPratica.getEstremiPratCom(); - } - - /** - * Sets the estremi prat com of this bo int pratica. - * - * @param estremiPratCom the estremi prat com of this bo int pratica - */ - @Override - public void setEstremiPratCom(java.lang.String estremiPratCom) { - _boIntPratica.setEstremiPratCom(estremiPratCom); - } - - /** - * Returns the dt sorteggio of this bo int pratica. - * - * @return the dt sorteggio of this bo int pratica - */ - @Override - public java.util.Date getDtSorteggio() { - return _boIntPratica.getDtSorteggio(); - } - - /** - * Sets the dt sorteggio of this bo int pratica. - * - * @param dtSorteggio the dt sorteggio of this bo int pratica - */ - @Override - public void setDtSorteggio(java.util.Date dtSorteggio) { - _boIntPratica.setDtSorteggio(dtSorteggio); - } - - /** - * Returns the stato pratica of this bo int pratica. - * - * @return the stato pratica of this bo int pratica - */ - @Override - public java.lang.String getStatoPratica() { - return _boIntPratica.getStatoPratica(); - } - - /** - * Sets the stato pratica of this bo int pratica. - * - * @param statoPratica the stato pratica of this bo int pratica - */ - @Override - public void setStatoPratica(java.lang.String statoPratica) { - _boIntPratica.setStatoPratica(statoPratica); - } - - /** - * Returns the numero progetto of this bo int pratica. - * - * @return the numero progetto of this bo int pratica - */ - @Override - public java.lang.String getNumeroProgetto() { - return _boIntPratica.getNumeroProgetto(); - } - - /** - * Sets the numero progetto of this bo int pratica. - * - * @param numeroProgetto the numero progetto of this bo int pratica - */ - @Override - public void setNumeroProgetto(java.lang.String numeroProgetto) { - _boIntPratica.setNumeroProgetto(numeroProgetto); - } - - /** - * Returns the validata of this bo int pratica. - * - * @return the validata of this bo int pratica - */ - @Override - public boolean getValidata() { - return _boIntPratica.getValidata(); - } - - /** - * Returns true if this bo int pratica is validata. - * - * @return true if this bo int pratica is validata; false otherwise - */ - @Override - public boolean isValidata() { - return _boIntPratica.isValidata(); - } - - /** - * Sets whether this bo int pratica is validata. - * - * @param validata the validata of this bo int pratica - */ - @Override - public void setValidata(boolean validata) { - _boIntPratica.setValidata(validata); - } - - /** - * Returns the variata da of this bo int pratica. - * - * @return the variata da of this bo int pratica - */ - @Override - public long getVariataDa() { - return _boIntPratica.getVariataDa(); - } - - /** - * Sets the variata da of this bo int pratica. - * - * @param variataDa the variata da of this bo int pratica - */ - @Override - public void setVariataDa(long variataDa) { - _boIntPratica.setVariataDa(variataDa); - } - - /** - * Returns the variante numero of this bo int pratica. - * - * @return the variante numero of this bo int pratica - */ - @Override - public long getVarianteNumero() { - return _boIntPratica.getVarianteNumero(); - } - - /** - * Sets the variante numero of this bo int pratica. - * - * @param varianteNumero the variante numero of this bo int pratica - */ - @Override - public void setVarianteNumero(long varianteNumero) { - _boIntPratica.setVarianteNumero(varianteNumero); - } - - /** - * Returns the variante sostanziale of this bo int pratica. - * - * @return the variante sostanziale of this bo int pratica - */ - @Override - public boolean getVarianteSostanziale() { - return _boIntPratica.getVarianteSostanziale(); - } - - /** - * Returns true if this bo int pratica is variante sostanziale. - * - * @return true if this bo int pratica is variante sostanziale; false otherwise - */ - @Override - public boolean isVarianteSostanziale() { - return _boIntPratica.isVarianteSostanziale(); - } - - /** - * Sets whether this bo int pratica is variante sostanziale. - * - * @param varianteSostanziale the variante sostanziale of this bo int pratica - */ - @Override - public void setVarianteSostanziale(boolean varianteSostanziale) { - _boIntPratica.setVarianteSostanziale(varianteSostanziale); - } - - /** - * Returns the opera conforme of this bo int pratica. - * - * @return the opera conforme of this bo int pratica - */ - @Override - public boolean getOperaConforme() { - return _boIntPratica.getOperaConforme(); - } - - /** - * Returns true if this bo int pratica is opera conforme. - * - * @return true if this bo int pratica is opera conforme; false otherwise - */ - @Override - public boolean isOperaConforme() { - return _boIntPratica.isOperaConforme(); - } - - /** - * Sets whether this bo int pratica is opera conforme. - * - * @param operaConforme the opera conforme of this bo int pratica - */ - @Override - public void setOperaConforme(boolean operaConforme) { - _boIntPratica.setOperaConforme(operaConforme); - } - - /** - * Returns the tipo pratica ID sanatoria of this bo int pratica. - * - * @return the tipo pratica ID sanatoria of this bo int pratica - */ - @Override - public long getTipoPraticaIdSanatoria() { - return _boIntPratica.getTipoPraticaIdSanatoria(); - } - - /** - * Sets the tipo pratica ID sanatoria of this bo int pratica. - * - * @param tipoPraticaIdSanatoria the tipo pratica ID sanatoria of this bo int pratica - */ - @Override - public void setTipoPraticaIdSanatoria(long tipoPraticaIdSanatoria) { - _boIntPratica.setTipoPraticaIdSanatoria(tipoPraticaIdSanatoria); - } - - /** - * Returns the status of this bo int pratica. - * - * @return the status of this bo int pratica - */ - @Override - public int getStatus() { - return _boIntPratica.getStatus(); - } - - /** - * Sets the status of this bo int pratica. - * - * @param status the status of this bo int pratica - */ - @Override - public void setStatus(int status) { - _boIntPratica.setStatus(status); - } - - /** - * Returns the status by user ID of this bo int pratica. - * - * @return the status by user ID of this bo int pratica - */ - @Override - public long getStatusByUserId() { - return _boIntPratica.getStatusByUserId(); - } - - /** - * Sets the status by user ID of this bo int pratica. - * - * @param statusByUserId the status by user ID of this bo int pratica - */ - @Override - public void setStatusByUserId(long statusByUserId) { - _boIntPratica.setStatusByUserId(statusByUserId); - } - - /** - * Returns the status by user uuid of this bo int pratica. - * - * @return the status by user uuid of this bo int pratica - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getStatusByUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _boIntPratica.getStatusByUserUuid(); - } - - /** - * Sets the status by user uuid of this bo int pratica. - * - * @param statusByUserUuid the status by user uuid of this bo int pratica - */ - @Override - public void setStatusByUserUuid(java.lang.String statusByUserUuid) { - _boIntPratica.setStatusByUserUuid(statusByUserUuid); - } - - /** - * Returns the status date of this bo int pratica. - * - * @return the status date of this bo int pratica - */ - @Override - public java.util.Date getStatusDate() { - return _boIntPratica.getStatusDate(); - } - - /** - * Sets the status date of this bo int pratica. - * - * @param statusDate the status date of this bo int pratica - */ - @Override - public void setStatusDate(java.util.Date statusDate) { - _boIntPratica.setStatusDate(statusDate); - } - - /** - * Returns the stato pratica workflow of this bo int pratica. - * - * @return the stato pratica workflow of this bo int pratica - */ - @Override - public java.lang.String getStatoPraticaWorkflow() { - return _boIntPratica.getStatoPraticaWorkflow(); - } - - /** - * Sets the stato pratica workflow of this bo int pratica. - * - * @param statoPraticaWorkflow the stato pratica workflow of this bo int pratica - */ - @Override - public void setStatoPraticaWorkflow(java.lang.String statoPraticaWorkflow) { - _boIntPratica.setStatoPraticaWorkflow(statoPraticaWorkflow); - } - - /** - * Returns the esito controllo of this bo int pratica. - * - * @return the esito controllo of this bo int pratica - */ - @Override - public int getEsitoControllo() { - return _boIntPratica.getEsitoControllo(); - } - - /** - * Sets the esito controllo of this bo int pratica. - * - * @param esitoControllo the esito controllo of this bo int pratica - */ - @Override - public void setEsitoControllo(int esitoControllo) { - _boIntPratica.setEsitoControllo(esitoControllo); - } - - /** - * Returns the collaudo statico of this bo int pratica. - * - * @return the collaudo statico of this bo int pratica - */ - @Override - public boolean getCollaudoStatico() { - return _boIntPratica.getCollaudoStatico(); - } - - /** - * Returns true if this bo int pratica is collaudo statico. - * - * @return true if this bo int pratica is collaudo statico; false otherwise - */ - @Override - public boolean isCollaudoStatico() { - return _boIntPratica.isCollaudoStatico(); - } - - /** - * Sets whether this bo int pratica is collaudo statico. - * - * @param collaudoStatico the collaudo statico of this bo int pratica - */ - @Override - public void setCollaudoStatico(boolean collaudoStatico) { - _boIntPratica.setCollaudoStatico(collaudoStatico); - } - - /** - * Returns the collaudo statico agt sanatoria of this bo int pratica. - * - * @return the collaudo statico agt sanatoria of this bo int pratica - */ - @Override - public boolean getCollaudoStaticoAgtSanatoria() { - return _boIntPratica.getCollaudoStaticoAgtSanatoria(); - } - - /** - * Returns true if this bo int pratica is collaudo statico agt sanatoria. - * - * @return true if this bo int pratica is collaudo statico agt sanatoria; false otherwise - */ - @Override - public boolean isCollaudoStaticoAgtSanatoria() { - return _boIntPratica.isCollaudoStaticoAgtSanatoria(); - } - - /** - * Sets whether this bo int pratica is collaudo statico agt sanatoria. - * - * @param collaudoStaticoAgtSanatoria the collaudo statico agt sanatoria of this bo int pratica - */ - @Override - public void setCollaudoStaticoAgtSanatoria( - boolean collaudoStaticoAgtSanatoria) { - _boIntPratica.setCollaudoStaticoAgtSanatoria(collaudoStaticoAgtSanatoria); - } - - /** - * Returns the codice fiscale delegato of this bo int pratica. - * - * @return the codice fiscale delegato of this bo int pratica - */ - @Override - public java.lang.String getCodiceFiscaleDelegato() { - return _boIntPratica.getCodiceFiscaleDelegato(); - } - - /** - * Sets the codice fiscale delegato of this bo int pratica. - * - * @param codiceFiscaleDelegato the codice fiscale delegato of this bo int pratica - */ - @Override - public void setCodiceFiscaleDelegato(java.lang.String codiceFiscaleDelegato) { - _boIntPratica.setCodiceFiscaleDelegato(codiceFiscaleDelegato); - } - - /** - * Returns the codice ruolo delegato of this bo int pratica. - * - * @return the codice ruolo delegato of this bo int pratica - */ - @Override - public java.lang.String getCodiceRuoloDelegato() { - return _boIntPratica.getCodiceRuoloDelegato(); - } - - /** - * Sets the codice ruolo delegato of this bo int pratica. - * - * @param codiceRuoloDelegato the codice ruolo delegato of this bo int pratica - */ - @Override - public void setCodiceRuoloDelegato(java.lang.String codiceRuoloDelegato) { - _boIntPratica.setCodiceRuoloDelegato(codiceRuoloDelegato); - } - - /** - * Returns the lavori in economia committente of this bo int pratica. - * - * @return the lavori in economia committente of this bo int pratica - */ - @Override - public boolean getLavoriInEconomiaCommittente() { - return _boIntPratica.getLavoriInEconomiaCommittente(); - } - - /** - * Returns true if this bo int pratica is lavori in economia committente. - * - * @return true if this bo int pratica is lavori in economia committente; false otherwise - */ - @Override - public boolean isLavoriInEconomiaCommittente() { - return _boIntPratica.isLavoriInEconomiaCommittente(); - } - - /** - * Sets whether this bo int pratica is lavori in economia committente. - * - * @param lavoriInEconomiaCommittente the lavori in economia committente of this bo int pratica - */ - @Override - public void setLavoriInEconomiaCommittente( - boolean lavoriInEconomiaCommittente) { - _boIntPratica.setLavoriInEconomiaCommittente(lavoriInEconomiaCommittente); - } - - /** - * Returns the nome utente suap of this bo int pratica. - * - * @return the nome utente suap of this bo int pratica - */ - @Override - public java.lang.String getNomeUtenteSuap() { - return _boIntPratica.getNomeUtenteSuap(); - } - - /** - * Sets the nome utente suap of this bo int pratica. - * - * @param nomeUtenteSuap the nome utente suap of this bo int pratica - */ - @Override - public void setNomeUtenteSuap(java.lang.String nomeUtenteSuap) { - _boIntPratica.setNomeUtenteSuap(nomeUtenteSuap); - } - - /** - * Returns the cognome utente suap of this bo int pratica. - * - * @return the cognome utente suap of this bo int pratica - */ - @Override - public java.lang.String getCognomeUtenteSuap() { - return _boIntPratica.getCognomeUtenteSuap(); - } - - /** - * Sets the cognome utente suap of this bo int pratica. - * - * @param cognomeUtenteSuap the cognome utente suap of this bo int pratica - */ - @Override - public void setCognomeUtenteSuap(java.lang.String cognomeUtenteSuap) { - _boIntPratica.setCognomeUtenteSuap(cognomeUtenteSuap); - } - - /** - * Returns the codice fiscale utente suap of this bo int pratica. - * - * @return the codice fiscale utente suap of this bo int pratica - */ - @Override - public java.lang.String getCodiceFiscaleUtenteSuap() { - return _boIntPratica.getCodiceFiscaleUtenteSuap(); - } - - /** - * Sets the codice fiscale utente suap of this bo int pratica. - * - * @param codiceFiscaleUtenteSuap the codice fiscale utente suap of this bo int pratica - */ - @Override - public void setCodiceFiscaleUtenteSuap( - java.lang.String codiceFiscaleUtenteSuap) { - _boIntPratica.setCodiceFiscaleUtenteSuap(codiceFiscaleUtenteSuap); - } - - /** - * Returns the inizio lavori contestuale opera of this bo int pratica. - * - * @return the inizio lavori contestuale opera of this bo int pratica - */ - @Override - public boolean getInizioLavoriContestualeOpera() { - return _boIntPratica.getInizioLavoriContestualeOpera(); - } - - /** - * Returns true if this bo int pratica is inizio lavori contestuale opera. - * - * @return true if this bo int pratica is inizio lavori contestuale opera; false otherwise - */ - @Override - public boolean isInizioLavoriContestualeOpera() { - return _boIntPratica.isInizioLavoriContestualeOpera(); - } - - /** - * Sets whether this bo int pratica is inizio lavori contestuale opera. - * - * @param inizioLavoriContestualeOpera the inizio lavori contestuale opera of this bo int pratica - */ - @Override - public void setInizioLavoriContestualeOpera( - boolean inizioLavoriContestualeOpera) { - _boIntPratica.setInizioLavoriContestualeOpera(inizioLavoriContestualeOpera); - } - - /** - * Returns the data inizio lavori opera of this bo int pratica. - * - * @return the data inizio lavori opera of this bo int pratica - */ - @Override - public java.util.Date getDataInizioLavoriOpera() { - return _boIntPratica.getDataInizioLavoriOpera(); - } - - /** - * Sets the data inizio lavori opera of this bo int pratica. - * - * @param dataInizioLavoriOpera the data inizio lavori opera of this bo int pratica - */ - @Override - public void setDataInizioLavoriOpera(java.util.Date dataInizioLavoriOpera) { - _boIntPratica.setDataInizioLavoriOpera(dataInizioLavoriOpera); - } - - /** - * Returns the data inizio esecuzione opera of this bo int pratica. - * - * @return the data inizio esecuzione opera of this bo int pratica - */ - @Override - public java.util.Date getDataInizioEsecuzioneOpera() { - return _boIntPratica.getDataInizioEsecuzioneOpera(); - } - - /** - * Sets the data inizio esecuzione opera of this bo int pratica. - * - * @param dataInizioEsecuzioneOpera the data inizio esecuzione opera of this bo int pratica - */ - @Override - public void setDataInizioEsecuzioneOpera( - java.util.Date dataInizioEsecuzioneOpera) { - _boIntPratica.setDataInizioEsecuzioneOpera(dataInizioEsecuzioneOpera); - } - - /** - * Returns the data fine esecuzione opera of this bo int pratica. - * - * @return the data fine esecuzione opera of this bo int pratica - */ - @Override - public java.util.Date getDataFineEsecuzioneOpera() { - return _boIntPratica.getDataFineEsecuzioneOpera(); - } - - /** - * Sets the data fine esecuzione opera of this bo int pratica. - * - * @param dataFineEsecuzioneOpera the data fine esecuzione opera of this bo int pratica - */ - @Override - public void setDataFineEsecuzioneOpera( - java.util.Date dataFineEsecuzioneOpera) { - _boIntPratica.setDataFineEsecuzioneOpera(dataFineEsecuzioneOpera); - } - - /** - * Returns the metratura of this bo int pratica. - * - * @return the metratura of this bo int pratica - */ - @Override - public java.lang.String getMetratura() { - return _boIntPratica.getMetratura(); - } - - /** - * Sets the metratura of this bo int pratica. - * - * @param metratura the metratura of this bo int pratica - */ - @Override - public void setMetratura(java.lang.String metratura) { - _boIntPratica.setMetratura(metratura); - } - - /** - * Returns the lavori pubblici of this bo int pratica. - * - * @return the lavori pubblici of this bo int pratica - */ - @Override - public boolean getLavoriPubblici() { - return _boIntPratica.getLavoriPubblici(); - } - - /** - * Returns true if this bo int pratica is lavori pubblici. - * - * @return true if this bo int pratica is lavori pubblici; false otherwise - */ - @Override - public boolean isLavoriPubblici() { - return _boIntPratica.isLavoriPubblici(); - } - - /** - * Sets whether this bo int pratica is lavori pubblici. - * - * @param lavoriPubblici the lavori pubblici of this bo int pratica - */ - @Override - public void setLavoriPubblici(boolean lavoriPubblici) { - _boIntPratica.setLavoriPubblici(lavoriPubblici); - } - - /** - * Returns the dt pratica of this bo int pratica. - * - * @return the dt pratica of this bo int pratica - */ - @Override - public java.util.Date getDtPratica() { - return _boIntPratica.getDtPratica(); - } - - /** - * Sets the dt pratica of this bo int pratica. - * - * @param dtPratica the dt pratica of this bo int pratica - */ - @Override - public void setDtPratica(java.util.Date dtPratica) { - _boIntPratica.setDtPratica(dtPratica); - } - - @Override - public boolean isNew() { - return _boIntPratica.isNew(); - } - - @Override - public void setNew(boolean n) { - _boIntPratica.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _boIntPratica.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _boIntPratica.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _boIntPratica.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _boIntPratica.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _boIntPratica.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _boIntPratica.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _boIntPratica.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _boIntPratica.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _boIntPratica.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new BoIntPraticaWrapper((BoIntPratica)_boIntPratica.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.BoIntPratica boIntPratica) { - return _boIntPratica.compareTo(boIntPratica); - } - - @Override - public int hashCode() { - return _boIntPratica.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _boIntPratica.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoIntPratica toEscapedModel() { - return new BoIntPraticaWrapper(_boIntPratica.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoIntPratica toUnescapedModel() { - return new BoIntPraticaWrapper(_boIntPratica.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _boIntPratica.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _boIntPratica.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _boIntPratica.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoIntPraticaWrapper)) { - return false; - } - - BoIntPraticaWrapper boIntPraticaWrapper = (BoIntPraticaWrapper)obj; - - if (Validator.equals(_boIntPratica, boIntPraticaWrapper._boIntPratica)) { - return true; - } - - return false; - } - - @Override - public StagedModelType getStagedModelType() { - return _boIntPratica.getStagedModelType(); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public BoIntPratica getWrappedBoIntPratica() { - return _boIntPratica; - } - - @Override - public BoIntPratica getWrappedModel() { - return _boIntPratica; - } - - @Override - public void resetOriginalValues() { - _boIntPratica.resetOriginalValues(); - } - - private BoIntPratica _boIntPratica; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoProblemiPratica.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoProblemiPratica.java deleted file mode 100644 index 847549fa..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoProblemiPratica.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the BoProblemiPratica service. Represents a row in the "gc_problemipratica" database table, with each column mapped to a property of this class. - * - * @author 3FC - * @see BoProblemiPraticaModel - * @see it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaImpl - * @see it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaModelImpl - * @generated - */ -public interface BoProblemiPratica extends BoProblemiPraticaModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoProblemiPraticaClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoProblemiPraticaClp.java deleted file mode 100644 index 30b2fdf2..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoProblemiPraticaClp.java +++ /dev/null @@ -1,585 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.ClpSerializer; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author 3FC - */ -public class BoProblemiPraticaClp extends BaseModelImpl - implements BoProblemiPratica { - public BoProblemiPraticaClp() { - } - - @Override - public Class getModelClass() { - return BoProblemiPratica.class; - } - - @Override - public String getModelClassName() { - return BoProblemiPratica.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _problemiPraticaId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setProblemiPraticaId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _problemiPraticaId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("problemiPraticaId", getProblemiPraticaId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("jsonError", getJsonError()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long problemiPraticaId = (Long)attributes.get("problemiPraticaId"); - - if (problemiPraticaId != null) { - setProblemiPraticaId(problemiPraticaId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - String jsonError = (String)attributes.get("jsonError"); - - if (jsonError != null) { - setJsonError(jsonError); - } - } - - @Override - public long getProblemiPraticaId() { - return _problemiPraticaId; - } - - @Override - public void setProblemiPraticaId(long problemiPraticaId) { - _problemiPraticaId = problemiPraticaId; - - if (_boProblemiPraticaRemoteModel != null) { - try { - Class clazz = _boProblemiPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setProblemiPraticaId", - long.class); - - method.invoke(_boProblemiPraticaRemoteModel, problemiPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_boProblemiPraticaRemoteModel != null) { - try { - Class clazz = _boProblemiPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_boProblemiPraticaRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_boProblemiPraticaRemoteModel != null) { - try { - Class clazz = _boProblemiPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_boProblemiPraticaRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_boProblemiPraticaRemoteModel != null) { - try { - Class clazz = _boProblemiPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_boProblemiPraticaRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_boProblemiPraticaRemoteModel != null) { - try { - Class clazz = _boProblemiPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_boProblemiPraticaRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_boProblemiPraticaRemoteModel != null) { - try { - Class clazz = _boProblemiPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_boProblemiPraticaRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_boProblemiPraticaRemoteModel != null) { - try { - Class clazz = _boProblemiPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_boProblemiPraticaRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getDettPraticaId() { - return _dettPraticaId; - } - - @Override - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - - if (_boProblemiPraticaRemoteModel != null) { - try { - Class clazz = _boProblemiPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDettPraticaId", long.class); - - method.invoke(_boProblemiPraticaRemoteModel, dettPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getJsonError() { - return _jsonError; - } - - @Override - public void setJsonError(String jsonError) { - _jsonError = jsonError; - - if (_boProblemiPraticaRemoteModel != null) { - try { - Class clazz = _boProblemiPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setJsonError", String.class); - - method.invoke(_boProblemiPraticaRemoteModel, jsonError); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - public BaseModel getBoProblemiPraticaRemoteModel() { - return _boProblemiPraticaRemoteModel; - } - - public void setBoProblemiPraticaRemoteModel( - BaseModel boProblemiPraticaRemoteModel) { - _boProblemiPraticaRemoteModel = boProblemiPraticaRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _boProblemiPraticaRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_boProblemiPraticaRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoProblemiPraticaLocalServiceUtil.addBoProblemiPratica(this); - } - else { - BoProblemiPraticaLocalServiceUtil.updateBoProblemiPratica(this); - } - } - - @Override - public BoProblemiPratica toEscapedModel() { - return (BoProblemiPratica)ProxyUtil.newProxyInstance(BoProblemiPratica.class.getClassLoader(), - new Class[] { BoProblemiPratica.class }, - new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - BoProblemiPraticaClp clone = new BoProblemiPraticaClp(); - - clone.setProblemiPraticaId(getProblemiPraticaId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setGroupId(getGroupId()); - clone.setDettPraticaId(getDettPraticaId()); - clone.setJsonError(getJsonError()); - - return clone; - } - - @Override - public int compareTo(BoProblemiPratica boProblemiPratica) { - long primaryKey = boProblemiPratica.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoProblemiPraticaClp)) { - return false; - } - - BoProblemiPraticaClp boProblemiPratica = (BoProblemiPraticaClp)obj; - - long primaryKey = boProblemiPratica.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(19); - - sb.append("{problemiPraticaId="); - sb.append(getProblemiPraticaId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", dettPraticaId="); - sb.append(getDettPraticaId()); - sb.append(", jsonError="); - sb.append(getJsonError()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(31); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.BoProblemiPratica"); - sb.append(""); - - sb.append( - "problemiPraticaId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "dettPraticaId"); - sb.append( - "jsonError"); - - sb.append(""); - - return sb.toString(); - } - - private long _problemiPraticaId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _dettPraticaId; - private String _jsonError; - private BaseModel _boProblemiPraticaRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.importazione.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoProblemiPraticaModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoProblemiPraticaModel.java deleted file mode 100644 index 0bc3ab7b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoProblemiPraticaModel.java +++ /dev/null @@ -1,279 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.GroupedModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the BoProblemiPratica service. Represents a row in the "gc_problemipratica" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaImpl}. - *

- * - * @author 3FC - * @see BoProblemiPratica - * @see it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaImpl - * @see it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaModelImpl - * @generated - */ -public interface BoProblemiPraticaModel extends BaseModel, - GroupedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a bo problemi pratica model instance should use the {@link BoProblemiPratica} interface instead. - */ - - /** - * Returns the primary key of this bo problemi pratica. - * - * @return the primary key of this bo problemi pratica - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this bo problemi pratica. - * - * @param primaryKey the primary key of this bo problemi pratica - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the problemi pratica ID of this bo problemi pratica. - * - * @return the problemi pratica ID of this bo problemi pratica - */ - public long getProblemiPraticaId(); - - /** - * Sets the problemi pratica ID of this bo problemi pratica. - * - * @param problemiPraticaId the problemi pratica ID of this bo problemi pratica - */ - public void setProblemiPraticaId(long problemiPraticaId); - - /** - * Returns the company ID of this bo problemi pratica. - * - * @return the company ID of this bo problemi pratica - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this bo problemi pratica. - * - * @param companyId the company ID of this bo problemi pratica - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this bo problemi pratica. - * - * @return the user ID of this bo problemi pratica - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this bo problemi pratica. - * - * @param userId the user ID of this bo problemi pratica - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this bo problemi pratica. - * - * @return the user uuid of this bo problemi pratica - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this bo problemi pratica. - * - * @param userUuid the user uuid of this bo problemi pratica - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this bo problemi pratica. - * - * @return the user name of this bo problemi pratica - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this bo problemi pratica. - * - * @param userName the user name of this bo problemi pratica - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this bo problemi pratica. - * - * @return the create date of this bo problemi pratica - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this bo problemi pratica. - * - * @param createDate the create date of this bo problemi pratica - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this bo problemi pratica. - * - * @return the modified date of this bo problemi pratica - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this bo problemi pratica. - * - * @param modifiedDate the modified date of this bo problemi pratica - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the group ID of this bo problemi pratica. - * - * @return the group ID of this bo problemi pratica - */ - @Override - public long getGroupId(); - - /** - * Sets the group ID of this bo problemi pratica. - * - * @param groupId the group ID of this bo problemi pratica - */ - @Override - public void setGroupId(long groupId); - - /** - * Returns the dett pratica ID of this bo problemi pratica. - * - * @return the dett pratica ID of this bo problemi pratica - */ - public long getDettPraticaId(); - - /** - * Sets the dett pratica ID of this bo problemi pratica. - * - * @param dettPraticaId the dett pratica ID of this bo problemi pratica - */ - public void setDettPraticaId(long dettPraticaId); - - /** - * Returns the json error of this bo problemi pratica. - * - * @return the json error of this bo problemi pratica - */ - @AutoEscape - public String getJsonError(); - - /** - * Sets the json error of this bo problemi pratica. - * - * @param jsonError the json error of this bo problemi pratica - */ - public void setJsonError(String jsonError); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.BoProblemiPratica boProblemiPratica); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.importazione.model.BoProblemiPratica toEscapedModel(); - - @Override - public it.tref.liferay.portos.importazione.model.BoProblemiPratica toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoProblemiPraticaSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoProblemiPraticaSoap.java deleted file mode 100644 index 2f7e91a4..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoProblemiPraticaSoap.java +++ /dev/null @@ -1,178 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author 3FC - * @generated - */ -public class BoProblemiPraticaSoap implements Serializable { - public static BoProblemiPraticaSoap toSoapModel(BoProblemiPratica model) { - BoProblemiPraticaSoap soapModel = new BoProblemiPraticaSoap(); - - soapModel.setProblemiPraticaId(model.getProblemiPraticaId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setDettPraticaId(model.getDettPraticaId()); - soapModel.setJsonError(model.getJsonError()); - - return soapModel; - } - - public static BoProblemiPraticaSoap[] toSoapModels( - BoProblemiPratica[] models) { - BoProblemiPraticaSoap[] soapModels = new BoProblemiPraticaSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static BoProblemiPraticaSoap[][] toSoapModels( - BoProblemiPratica[][] models) { - BoProblemiPraticaSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new BoProblemiPraticaSoap[models.length][models[0].length]; - } - else { - soapModels = new BoProblemiPraticaSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static BoProblemiPraticaSoap[] toSoapModels( - List models) { - List soapModels = new ArrayList(models.size()); - - for (BoProblemiPratica model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new BoProblemiPraticaSoap[soapModels.size()]); - } - - public BoProblemiPraticaSoap() { - } - - public long getPrimaryKey() { - return _problemiPraticaId; - } - - public void setPrimaryKey(long pk) { - setProblemiPraticaId(pk); - } - - public long getProblemiPraticaId() { - return _problemiPraticaId; - } - - public void setProblemiPraticaId(long problemiPraticaId) { - _problemiPraticaId = problemiPraticaId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public long getDettPraticaId() { - return _dettPraticaId; - } - - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - } - - public String getJsonError() { - return _jsonError; - } - - public void setJsonError(String jsonError) { - _jsonError = jsonError; - } - - private long _problemiPraticaId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _dettPraticaId; - private String _jsonError; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoProblemiPraticaWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoProblemiPraticaWrapper.java deleted file mode 100644 index d60eb365..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoProblemiPraticaWrapper.java +++ /dev/null @@ -1,488 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link BoProblemiPratica}. - *

- * - * @author 3FC - * @see BoProblemiPratica - * @generated - */ -public class BoProblemiPraticaWrapper implements BoProblemiPratica, - ModelWrapper { - public BoProblemiPraticaWrapper(BoProblemiPratica boProblemiPratica) { - _boProblemiPratica = boProblemiPratica; - } - - @Override - public Class getModelClass() { - return BoProblemiPratica.class; - } - - @Override - public String getModelClassName() { - return BoProblemiPratica.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("problemiPraticaId", getProblemiPraticaId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("jsonError", getJsonError()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long problemiPraticaId = (Long)attributes.get("problemiPraticaId"); - - if (problemiPraticaId != null) { - setProblemiPraticaId(problemiPraticaId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - String jsonError = (String)attributes.get("jsonError"); - - if (jsonError != null) { - setJsonError(jsonError); - } - } - - /** - * Returns the primary key of this bo problemi pratica. - * - * @return the primary key of this bo problemi pratica - */ - @Override - public long getPrimaryKey() { - return _boProblemiPratica.getPrimaryKey(); - } - - /** - * Sets the primary key of this bo problemi pratica. - * - * @param primaryKey the primary key of this bo problemi pratica - */ - @Override - public void setPrimaryKey(long primaryKey) { - _boProblemiPratica.setPrimaryKey(primaryKey); - } - - /** - * Returns the problemi pratica ID of this bo problemi pratica. - * - * @return the problemi pratica ID of this bo problemi pratica - */ - @Override - public long getProblemiPraticaId() { - return _boProblemiPratica.getProblemiPraticaId(); - } - - /** - * Sets the problemi pratica ID of this bo problemi pratica. - * - * @param problemiPraticaId the problemi pratica ID of this bo problemi pratica - */ - @Override - public void setProblemiPraticaId(long problemiPraticaId) { - _boProblemiPratica.setProblemiPraticaId(problemiPraticaId); - } - - /** - * Returns the company ID of this bo problemi pratica. - * - * @return the company ID of this bo problemi pratica - */ - @Override - public long getCompanyId() { - return _boProblemiPratica.getCompanyId(); - } - - /** - * Sets the company ID of this bo problemi pratica. - * - * @param companyId the company ID of this bo problemi pratica - */ - @Override - public void setCompanyId(long companyId) { - _boProblemiPratica.setCompanyId(companyId); - } - - /** - * Returns the user ID of this bo problemi pratica. - * - * @return the user ID of this bo problemi pratica - */ - @Override - public long getUserId() { - return _boProblemiPratica.getUserId(); - } - - /** - * Sets the user ID of this bo problemi pratica. - * - * @param userId the user ID of this bo problemi pratica - */ - @Override - public void setUserId(long userId) { - _boProblemiPratica.setUserId(userId); - } - - /** - * Returns the user uuid of this bo problemi pratica. - * - * @return the user uuid of this bo problemi pratica - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _boProblemiPratica.getUserUuid(); - } - - /** - * Sets the user uuid of this bo problemi pratica. - * - * @param userUuid the user uuid of this bo problemi pratica - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _boProblemiPratica.setUserUuid(userUuid); - } - - /** - * Returns the user name of this bo problemi pratica. - * - * @return the user name of this bo problemi pratica - */ - @Override - public java.lang.String getUserName() { - return _boProblemiPratica.getUserName(); - } - - /** - * Sets the user name of this bo problemi pratica. - * - * @param userName the user name of this bo problemi pratica - */ - @Override - public void setUserName(java.lang.String userName) { - _boProblemiPratica.setUserName(userName); - } - - /** - * Returns the create date of this bo problemi pratica. - * - * @return the create date of this bo problemi pratica - */ - @Override - public java.util.Date getCreateDate() { - return _boProblemiPratica.getCreateDate(); - } - - /** - * Sets the create date of this bo problemi pratica. - * - * @param createDate the create date of this bo problemi pratica - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _boProblemiPratica.setCreateDate(createDate); - } - - /** - * Returns the modified date of this bo problemi pratica. - * - * @return the modified date of this bo problemi pratica - */ - @Override - public java.util.Date getModifiedDate() { - return _boProblemiPratica.getModifiedDate(); - } - - /** - * Sets the modified date of this bo problemi pratica. - * - * @param modifiedDate the modified date of this bo problemi pratica - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _boProblemiPratica.setModifiedDate(modifiedDate); - } - - /** - * Returns the group ID of this bo problemi pratica. - * - * @return the group ID of this bo problemi pratica - */ - @Override - public long getGroupId() { - return _boProblemiPratica.getGroupId(); - } - - /** - * Sets the group ID of this bo problemi pratica. - * - * @param groupId the group ID of this bo problemi pratica - */ - @Override - public void setGroupId(long groupId) { - _boProblemiPratica.setGroupId(groupId); - } - - /** - * Returns the dett pratica ID of this bo problemi pratica. - * - * @return the dett pratica ID of this bo problemi pratica - */ - @Override - public long getDettPraticaId() { - return _boProblemiPratica.getDettPraticaId(); - } - - /** - * Sets the dett pratica ID of this bo problemi pratica. - * - * @param dettPraticaId the dett pratica ID of this bo problemi pratica - */ - @Override - public void setDettPraticaId(long dettPraticaId) { - _boProblemiPratica.setDettPraticaId(dettPraticaId); - } - - /** - * Returns the json error of this bo problemi pratica. - * - * @return the json error of this bo problemi pratica - */ - @Override - public java.lang.String getJsonError() { - return _boProblemiPratica.getJsonError(); - } - - /** - * Sets the json error of this bo problemi pratica. - * - * @param jsonError the json error of this bo problemi pratica - */ - @Override - public void setJsonError(java.lang.String jsonError) { - _boProblemiPratica.setJsonError(jsonError); - } - - @Override - public boolean isNew() { - return _boProblemiPratica.isNew(); - } - - @Override - public void setNew(boolean n) { - _boProblemiPratica.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _boProblemiPratica.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _boProblemiPratica.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _boProblemiPratica.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _boProblemiPratica.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _boProblemiPratica.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _boProblemiPratica.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _boProblemiPratica.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _boProblemiPratica.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _boProblemiPratica.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new BoProblemiPraticaWrapper((BoProblemiPratica)_boProblemiPratica.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.BoProblemiPratica boProblemiPratica) { - return _boProblemiPratica.compareTo(boProblemiPratica); - } - - @Override - public int hashCode() { - return _boProblemiPratica.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _boProblemiPratica.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoProblemiPratica toEscapedModel() { - return new BoProblemiPraticaWrapper(_boProblemiPratica.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoProblemiPratica toUnescapedModel() { - return new BoProblemiPraticaWrapper(_boProblemiPratica.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _boProblemiPratica.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _boProblemiPratica.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _boProblemiPratica.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoProblemiPraticaWrapper)) { - return false; - } - - BoProblemiPraticaWrapper boProblemiPraticaWrapper = (BoProblemiPraticaWrapper)obj; - - if (Validator.equals(_boProblemiPratica, - boProblemiPraticaWrapper._boProblemiPratica)) { - return true; - } - - return false; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public BoProblemiPratica getWrappedBoProblemiPratica() { - return _boProblemiPratica; - } - - @Override - public BoProblemiPratica getWrappedModel() { - return _boProblemiPratica; - } - - @Override - public void resetOriginalValues() { - _boProblemiPratica.resetOriginalValues(); - } - - private BoProblemiPratica _boProblemiPratica; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoRelLeggiPratica.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoRelLeggiPratica.java deleted file mode 100644 index 5cea8f77..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoRelLeggiPratica.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the BoRelLeggiPratica service. Represents a row in the "gc_relleggipratica" database table, with each column mapped to a property of this class. - * - * @author 3FC - * @see BoRelLeggiPraticaModel - * @see it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaImpl - * @see it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaModelImpl - * @generated - */ -public interface BoRelLeggiPratica extends BoRelLeggiPraticaModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoRelLeggiPraticaClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoRelLeggiPraticaClp.java deleted file mode 100644 index 9fb30c1e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoRelLeggiPraticaClp.java +++ /dev/null @@ -1,386 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; - -import it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.ClpSerializer; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.HashMap; -import java.util.Map; - -/** - * @author 3FC - */ -public class BoRelLeggiPraticaClp extends BaseModelImpl - implements BoRelLeggiPratica { - public BoRelLeggiPraticaClp() { - } - - @Override - public Class getModelClass() { - return BoRelLeggiPratica.class; - } - - @Override - public String getModelClassName() { - return BoRelLeggiPratica.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _artLeggeId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setArtLeggeId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _artLeggeId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("artLeggeId", getArtLeggeId()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("selezionato", getSelezionato()); - attributes.put("valore", getValore()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long artLeggeId = (Long)attributes.get("artLeggeId"); - - if (artLeggeId != null) { - setArtLeggeId(artLeggeId); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - Boolean selezionato = (Boolean)attributes.get("selezionato"); - - if (selezionato != null) { - setSelezionato(selezionato); - } - - String valore = (String)attributes.get("valore"); - - if (valore != null) { - setValore(valore); - } - } - - @Override - public long getArtLeggeId() { - return _artLeggeId; - } - - @Override - public void setArtLeggeId(long artLeggeId) { - _artLeggeId = artLeggeId; - - if (_boRelLeggiPraticaRemoteModel != null) { - try { - Class clazz = _boRelLeggiPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setArtLeggeId", long.class); - - method.invoke(_boRelLeggiPraticaRemoteModel, artLeggeId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getIntPraticaId() { - return _intPraticaId; - } - - @Override - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - - if (_boRelLeggiPraticaRemoteModel != null) { - try { - Class clazz = _boRelLeggiPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setIntPraticaId", long.class); - - method.invoke(_boRelLeggiPraticaRemoteModel, intPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getSelezionato() { - return _selezionato; - } - - @Override - public boolean isSelezionato() { - return _selezionato; - } - - @Override - public void setSelezionato(boolean selezionato) { - _selezionato = selezionato; - - if (_boRelLeggiPraticaRemoteModel != null) { - try { - Class clazz = _boRelLeggiPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setSelezionato", boolean.class); - - method.invoke(_boRelLeggiPraticaRemoteModel, selezionato); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getValore() { - return _valore; - } - - @Override - public void setValore(String valore) { - _valore = valore; - - if (_boRelLeggiPraticaRemoteModel != null) { - try { - Class clazz = _boRelLeggiPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setValore", String.class); - - method.invoke(_boRelLeggiPraticaRemoteModel, valore); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - public BaseModel getBoRelLeggiPraticaRemoteModel() { - return _boRelLeggiPraticaRemoteModel; - } - - public void setBoRelLeggiPraticaRemoteModel( - BaseModel boRelLeggiPraticaRemoteModel) { - _boRelLeggiPraticaRemoteModel = boRelLeggiPraticaRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _boRelLeggiPraticaRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_boRelLeggiPraticaRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoRelLeggiPraticaLocalServiceUtil.addBoRelLeggiPratica(this); - } - else { - BoRelLeggiPraticaLocalServiceUtil.updateBoRelLeggiPratica(this); - } - } - - @Override - public BoRelLeggiPratica toEscapedModel() { - return (BoRelLeggiPratica)ProxyUtil.newProxyInstance(BoRelLeggiPratica.class.getClassLoader(), - new Class[] { BoRelLeggiPratica.class }, - new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - BoRelLeggiPraticaClp clone = new BoRelLeggiPraticaClp(); - - clone.setArtLeggeId(getArtLeggeId()); - clone.setIntPraticaId(getIntPraticaId()); - clone.setSelezionato(getSelezionato()); - clone.setValore(getValore()); - - return clone; - } - - @Override - public int compareTo(BoRelLeggiPratica boRelLeggiPratica) { - long primaryKey = boRelLeggiPratica.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoRelLeggiPraticaClp)) { - return false; - } - - BoRelLeggiPraticaClp boRelLeggiPratica = (BoRelLeggiPraticaClp)obj; - - long primaryKey = boRelLeggiPratica.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(9); - - sb.append("{artLeggeId="); - sb.append(getArtLeggeId()); - sb.append(", intPraticaId="); - sb.append(getIntPraticaId()); - sb.append(", selezionato="); - sb.append(getSelezionato()); - sb.append(", valore="); - sb.append(getValore()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(16); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.BoRelLeggiPratica"); - sb.append(""); - - sb.append( - "artLeggeId"); - sb.append( - "intPraticaId"); - sb.append( - "selezionato"); - sb.append( - "valore"); - - sb.append(""); - - return sb.toString(); - } - - private long _artLeggeId; - private long _intPraticaId; - private boolean _selezionato; - private String _valore; - private BaseModel _boRelLeggiPraticaRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.importazione.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoRelLeggiPraticaModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoRelLeggiPraticaModel.java deleted file mode 100644 index 5dd9b553..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoRelLeggiPraticaModel.java +++ /dev/null @@ -1,181 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -/** - * The base model interface for the BoRelLeggiPratica service. Represents a row in the "gc_relleggipratica" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaImpl}. - *

- * - * @author 3FC - * @see BoRelLeggiPratica - * @see it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaImpl - * @see it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaModelImpl - * @generated - */ -public interface BoRelLeggiPraticaModel extends BaseModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a bo rel leggi pratica model instance should use the {@link BoRelLeggiPratica} interface instead. - */ - - /** - * Returns the primary key of this bo rel leggi pratica. - * - * @return the primary key of this bo rel leggi pratica - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this bo rel leggi pratica. - * - * @param primaryKey the primary key of this bo rel leggi pratica - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the art legge ID of this bo rel leggi pratica. - * - * @return the art legge ID of this bo rel leggi pratica - */ - public long getArtLeggeId(); - - /** - * Sets the art legge ID of this bo rel leggi pratica. - * - * @param artLeggeId the art legge ID of this bo rel leggi pratica - */ - public void setArtLeggeId(long artLeggeId); - - /** - * Returns the int pratica ID of this bo rel leggi pratica. - * - * @return the int pratica ID of this bo rel leggi pratica - */ - public long getIntPraticaId(); - - /** - * Sets the int pratica ID of this bo rel leggi pratica. - * - * @param intPraticaId the int pratica ID of this bo rel leggi pratica - */ - public void setIntPraticaId(long intPraticaId); - - /** - * Returns the selezionato of this bo rel leggi pratica. - * - * @return the selezionato of this bo rel leggi pratica - */ - public boolean getSelezionato(); - - /** - * Returns true if this bo rel leggi pratica is selezionato. - * - * @return true if this bo rel leggi pratica is selezionato; false otherwise - */ - public boolean isSelezionato(); - - /** - * Sets whether this bo rel leggi pratica is selezionato. - * - * @param selezionato the selezionato of this bo rel leggi pratica - */ - public void setSelezionato(boolean selezionato); - - /** - * Returns the valore of this bo rel leggi pratica. - * - * @return the valore of this bo rel leggi pratica - */ - @AutoEscape - public String getValore(); - - /** - * Sets the valore of this bo rel leggi pratica. - * - * @param valore the valore of this bo rel leggi pratica - */ - public void setValore(String valore); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.BoRelLeggiPratica boRelLeggiPratica); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica toEscapedModel(); - - @Override - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoRelLeggiPraticaSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoRelLeggiPraticaSoap.java deleted file mode 100644 index c8700ff2..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoRelLeggiPraticaSoap.java +++ /dev/null @@ -1,131 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author 3FC - * @generated - */ -public class BoRelLeggiPraticaSoap implements Serializable { - public static BoRelLeggiPraticaSoap toSoapModel(BoRelLeggiPratica model) { - BoRelLeggiPraticaSoap soapModel = new BoRelLeggiPraticaSoap(); - - soapModel.setArtLeggeId(model.getArtLeggeId()); - soapModel.setIntPraticaId(model.getIntPraticaId()); - soapModel.setSelezionato(model.getSelezionato()); - soapModel.setValore(model.getValore()); - - return soapModel; - } - - public static BoRelLeggiPraticaSoap[] toSoapModels( - BoRelLeggiPratica[] models) { - BoRelLeggiPraticaSoap[] soapModels = new BoRelLeggiPraticaSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static BoRelLeggiPraticaSoap[][] toSoapModels( - BoRelLeggiPratica[][] models) { - BoRelLeggiPraticaSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new BoRelLeggiPraticaSoap[models.length][models[0].length]; - } - else { - soapModels = new BoRelLeggiPraticaSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static BoRelLeggiPraticaSoap[] toSoapModels( - List models) { - List soapModels = new ArrayList(models.size()); - - for (BoRelLeggiPratica model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new BoRelLeggiPraticaSoap[soapModels.size()]); - } - - public BoRelLeggiPraticaSoap() { - } - - public long getPrimaryKey() { - return _artLeggeId; - } - - public void setPrimaryKey(long pk) { - setArtLeggeId(pk); - } - - public long getArtLeggeId() { - return _artLeggeId; - } - - public void setArtLeggeId(long artLeggeId) { - _artLeggeId = artLeggeId; - } - - public long getIntPraticaId() { - return _intPraticaId; - } - - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - } - - public boolean getSelezionato() { - return _selezionato; - } - - public boolean isSelezionato() { - return _selezionato; - } - - public void setSelezionato(boolean selezionato) { - _selezionato = selezionato; - } - - public String getValore() { - return _valore; - } - - public void setValore(String valore) { - _valore = valore; - } - - private long _artLeggeId; - private long _intPraticaId; - private boolean _selezionato; - private String _valore; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoRelLeggiPraticaWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoRelLeggiPraticaWrapper.java deleted file mode 100644 index 4b7b1f3e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoRelLeggiPraticaWrapper.java +++ /dev/null @@ -1,340 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link BoRelLeggiPratica}. - *

- * - * @author 3FC - * @see BoRelLeggiPratica - * @generated - */ -public class BoRelLeggiPraticaWrapper implements BoRelLeggiPratica, - ModelWrapper { - public BoRelLeggiPraticaWrapper(BoRelLeggiPratica boRelLeggiPratica) { - _boRelLeggiPratica = boRelLeggiPratica; - } - - @Override - public Class getModelClass() { - return BoRelLeggiPratica.class; - } - - @Override - public String getModelClassName() { - return BoRelLeggiPratica.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("artLeggeId", getArtLeggeId()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("selezionato", getSelezionato()); - attributes.put("valore", getValore()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long artLeggeId = (Long)attributes.get("artLeggeId"); - - if (artLeggeId != null) { - setArtLeggeId(artLeggeId); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - Boolean selezionato = (Boolean)attributes.get("selezionato"); - - if (selezionato != null) { - setSelezionato(selezionato); - } - - String valore = (String)attributes.get("valore"); - - if (valore != null) { - setValore(valore); - } - } - - /** - * Returns the primary key of this bo rel leggi pratica. - * - * @return the primary key of this bo rel leggi pratica - */ - @Override - public long getPrimaryKey() { - return _boRelLeggiPratica.getPrimaryKey(); - } - - /** - * Sets the primary key of this bo rel leggi pratica. - * - * @param primaryKey the primary key of this bo rel leggi pratica - */ - @Override - public void setPrimaryKey(long primaryKey) { - _boRelLeggiPratica.setPrimaryKey(primaryKey); - } - - /** - * Returns the art legge ID of this bo rel leggi pratica. - * - * @return the art legge ID of this bo rel leggi pratica - */ - @Override - public long getArtLeggeId() { - return _boRelLeggiPratica.getArtLeggeId(); - } - - /** - * Sets the art legge ID of this bo rel leggi pratica. - * - * @param artLeggeId the art legge ID of this bo rel leggi pratica - */ - @Override - public void setArtLeggeId(long artLeggeId) { - _boRelLeggiPratica.setArtLeggeId(artLeggeId); - } - - /** - * Returns the int pratica ID of this bo rel leggi pratica. - * - * @return the int pratica ID of this bo rel leggi pratica - */ - @Override - public long getIntPraticaId() { - return _boRelLeggiPratica.getIntPraticaId(); - } - - /** - * Sets the int pratica ID of this bo rel leggi pratica. - * - * @param intPraticaId the int pratica ID of this bo rel leggi pratica - */ - @Override - public void setIntPraticaId(long intPraticaId) { - _boRelLeggiPratica.setIntPraticaId(intPraticaId); - } - - /** - * Returns the selezionato of this bo rel leggi pratica. - * - * @return the selezionato of this bo rel leggi pratica - */ - @Override - public boolean getSelezionato() { - return _boRelLeggiPratica.getSelezionato(); - } - - /** - * Returns true if this bo rel leggi pratica is selezionato. - * - * @return true if this bo rel leggi pratica is selezionato; false otherwise - */ - @Override - public boolean isSelezionato() { - return _boRelLeggiPratica.isSelezionato(); - } - - /** - * Sets whether this bo rel leggi pratica is selezionato. - * - * @param selezionato the selezionato of this bo rel leggi pratica - */ - @Override - public void setSelezionato(boolean selezionato) { - _boRelLeggiPratica.setSelezionato(selezionato); - } - - /** - * Returns the valore of this bo rel leggi pratica. - * - * @return the valore of this bo rel leggi pratica - */ - @Override - public java.lang.String getValore() { - return _boRelLeggiPratica.getValore(); - } - - /** - * Sets the valore of this bo rel leggi pratica. - * - * @param valore the valore of this bo rel leggi pratica - */ - @Override - public void setValore(java.lang.String valore) { - _boRelLeggiPratica.setValore(valore); - } - - @Override - public boolean isNew() { - return _boRelLeggiPratica.isNew(); - } - - @Override - public void setNew(boolean n) { - _boRelLeggiPratica.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _boRelLeggiPratica.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _boRelLeggiPratica.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _boRelLeggiPratica.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _boRelLeggiPratica.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _boRelLeggiPratica.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _boRelLeggiPratica.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _boRelLeggiPratica.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _boRelLeggiPratica.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _boRelLeggiPratica.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new BoRelLeggiPraticaWrapper((BoRelLeggiPratica)_boRelLeggiPratica.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.BoRelLeggiPratica boRelLeggiPratica) { - return _boRelLeggiPratica.compareTo(boRelLeggiPratica); - } - - @Override - public int hashCode() { - return _boRelLeggiPratica.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _boRelLeggiPratica.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica toEscapedModel() { - return new BoRelLeggiPraticaWrapper(_boRelLeggiPratica.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica toUnescapedModel() { - return new BoRelLeggiPraticaWrapper(_boRelLeggiPratica.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _boRelLeggiPratica.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _boRelLeggiPratica.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _boRelLeggiPratica.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoRelLeggiPraticaWrapper)) { - return false; - } - - BoRelLeggiPraticaWrapper boRelLeggiPraticaWrapper = (BoRelLeggiPraticaWrapper)obj; - - if (Validator.equals(_boRelLeggiPratica, - boRelLeggiPraticaWrapper._boRelLeggiPratica)) { - return true; - } - - return false; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public BoRelLeggiPratica getWrappedBoRelLeggiPratica() { - return _boRelLeggiPratica; - } - - @Override - public BoRelLeggiPratica getWrappedModel() { - return _boRelLeggiPratica; - } - - @Override - public void resetOriginalValues() { - _boRelLeggiPratica.resetOriginalValues(); - } - - private BoRelLeggiPratica _boRelLeggiPratica; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSistemaCostruttivo.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSistemaCostruttivo.java deleted file mode 100644 index 373aa61b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSistemaCostruttivo.java +++ /dev/null @@ -1,35 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the BoSistemaCostruttivo service. Represents a row in the "gc_sistemacostruttivo" database table, with each column mapped to a property of this class. - * - * @author 3FC - * @see BoSistemaCostruttivoModel - * @see it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoImpl - * @see it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl - * @generated - */ -public interface BoSistemaCostruttivo extends BoSistemaCostruttivoModel, - PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSistemaCostruttivoClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSistemaCostruttivoClp.java deleted file mode 100644 index 2176a4e6..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSistemaCostruttivoClp.java +++ /dev/null @@ -1,635 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.ClpSerializer; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author 3FC - */ -public class BoSistemaCostruttivoClp extends BaseModelImpl - implements BoSistemaCostruttivo { - public BoSistemaCostruttivoClp() { - } - - @Override - public Class getModelClass() { - return BoSistemaCostruttivo.class; - } - - @Override - public String getModelClassName() { - return BoSistemaCostruttivo.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _sistemaCostruttivoId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setSistemaCostruttivoId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _sistemaCostruttivoId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("sistemaCostruttivoId", getSistemaCostruttivoId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("codSistemaCostruttivo", getCodSistemaCostruttivo()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long sistemaCostruttivoId = (Long)attributes.get("sistemaCostruttivoId"); - - if (sistemaCostruttivoId != null) { - setSistemaCostruttivoId(sistemaCostruttivoId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - String codSistemaCostruttivo = (String)attributes.get( - "codSistemaCostruttivo"); - - if (codSistemaCostruttivo != null) { - setCodSistemaCostruttivo(codSistemaCostruttivo); - } - } - - @Override - public String getUuid() { - return _uuid; - } - - @Override - public void setUuid(String uuid) { - _uuid = uuid; - - if (_boSistemaCostruttivoRemoteModel != null) { - try { - Class clazz = _boSistemaCostruttivoRemoteModel.getClass(); - - Method method = clazz.getMethod("setUuid", String.class); - - method.invoke(_boSistemaCostruttivoRemoteModel, uuid); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getSistemaCostruttivoId() { - return _sistemaCostruttivoId; - } - - @Override - public void setSistemaCostruttivoId(long sistemaCostruttivoId) { - _sistemaCostruttivoId = sistemaCostruttivoId; - - if (_boSistemaCostruttivoRemoteModel != null) { - try { - Class clazz = _boSistemaCostruttivoRemoteModel.getClass(); - - Method method = clazz.getMethod("setSistemaCostruttivoId", - long.class); - - method.invoke(_boSistemaCostruttivoRemoteModel, - sistemaCostruttivoId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_boSistemaCostruttivoRemoteModel != null) { - try { - Class clazz = _boSistemaCostruttivoRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_boSistemaCostruttivoRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_boSistemaCostruttivoRemoteModel != null) { - try { - Class clazz = _boSistemaCostruttivoRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_boSistemaCostruttivoRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_boSistemaCostruttivoRemoteModel != null) { - try { - Class clazz = _boSistemaCostruttivoRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_boSistemaCostruttivoRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_boSistemaCostruttivoRemoteModel != null) { - try { - Class clazz = _boSistemaCostruttivoRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_boSistemaCostruttivoRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_boSistemaCostruttivoRemoteModel != null) { - try { - Class clazz = _boSistemaCostruttivoRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_boSistemaCostruttivoRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_boSistemaCostruttivoRemoteModel != null) { - try { - Class clazz = _boSistemaCostruttivoRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_boSistemaCostruttivoRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getIntPraticaId() { - return _intPraticaId; - } - - @Override - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - - if (_boSistemaCostruttivoRemoteModel != null) { - try { - Class clazz = _boSistemaCostruttivoRemoteModel.getClass(); - - Method method = clazz.getMethod("setIntPraticaId", long.class); - - method.invoke(_boSistemaCostruttivoRemoteModel, intPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodSistemaCostruttivo() { - return _codSistemaCostruttivo; - } - - @Override - public void setCodSistemaCostruttivo(String codSistemaCostruttivo) { - _codSistemaCostruttivo = codSistemaCostruttivo; - - if (_boSistemaCostruttivoRemoteModel != null) { - try { - Class clazz = _boSistemaCostruttivoRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodSistemaCostruttivo", - String.class); - - method.invoke(_boSistemaCostruttivoRemoteModel, - codSistemaCostruttivo); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoSistemaCostruttivo.class.getName())); - } - - public BaseModel getBoSistemaCostruttivoRemoteModel() { - return _boSistemaCostruttivoRemoteModel; - } - - public void setBoSistemaCostruttivoRemoteModel( - BaseModel boSistemaCostruttivoRemoteModel) { - _boSistemaCostruttivoRemoteModel = boSistemaCostruttivoRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _boSistemaCostruttivoRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_boSistemaCostruttivoRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoSistemaCostruttivoLocalServiceUtil.addBoSistemaCostruttivo(this); - } - else { - BoSistemaCostruttivoLocalServiceUtil.updateBoSistemaCostruttivo(this); - } - } - - @Override - public BoSistemaCostruttivo toEscapedModel() { - return (BoSistemaCostruttivo)ProxyUtil.newProxyInstance(BoSistemaCostruttivo.class.getClassLoader(), - new Class[] { BoSistemaCostruttivo.class }, - new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - BoSistemaCostruttivoClp clone = new BoSistemaCostruttivoClp(); - - clone.setUuid(getUuid()); - clone.setSistemaCostruttivoId(getSistemaCostruttivoId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setGroupId(getGroupId()); - clone.setIntPraticaId(getIntPraticaId()); - clone.setCodSistemaCostruttivo(getCodSistemaCostruttivo()); - - return clone; - } - - @Override - public int compareTo(BoSistemaCostruttivo boSistemaCostruttivo) { - long primaryKey = boSistemaCostruttivo.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoSistemaCostruttivoClp)) { - return false; - } - - BoSistemaCostruttivoClp boSistemaCostruttivo = (BoSistemaCostruttivoClp)obj; - - long primaryKey = boSistemaCostruttivo.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(21); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", sistemaCostruttivoId="); - sb.append(getSistemaCostruttivoId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", intPraticaId="); - sb.append(getIntPraticaId()); - sb.append(", codSistemaCostruttivo="); - sb.append(getCodSistemaCostruttivo()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(34); - - sb.append(""); - sb.append( - "it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "sistemaCostruttivoId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "intPraticaId"); - sb.append( - "codSistemaCostruttivo"); - - sb.append(""); - - return sb.toString(); - } - - private String _uuid; - private long _sistemaCostruttivoId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _intPraticaId; - private String _codSistemaCostruttivo; - private BaseModel _boSistemaCostruttivoRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.importazione.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSistemaCostruttivoModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSistemaCostruttivoModel.java deleted file mode 100644 index a4d5102e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSistemaCostruttivoModel.java +++ /dev/null @@ -1,296 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.StagedGroupedModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the BoSistemaCostruttivo service. Represents a row in the "gc_sistemacostruttivo" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoImpl}. - *

- * - * @author 3FC - * @see BoSistemaCostruttivo - * @see it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoImpl - * @see it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl - * @generated - */ -public interface BoSistemaCostruttivoModel extends BaseModel, - StagedGroupedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a bo sistema costruttivo model instance should use the {@link BoSistemaCostruttivo} interface instead. - */ - - /** - * Returns the primary key of this bo sistema costruttivo. - * - * @return the primary key of this bo sistema costruttivo - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this bo sistema costruttivo. - * - * @param primaryKey the primary key of this bo sistema costruttivo - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the uuid of this bo sistema costruttivo. - * - * @return the uuid of this bo sistema costruttivo - */ - @AutoEscape - @Override - public String getUuid(); - - /** - * Sets the uuid of this bo sistema costruttivo. - * - * @param uuid the uuid of this bo sistema costruttivo - */ - @Override - public void setUuid(String uuid); - - /** - * Returns the sistema costruttivo ID of this bo sistema costruttivo. - * - * @return the sistema costruttivo ID of this bo sistema costruttivo - */ - public long getSistemaCostruttivoId(); - - /** - * Sets the sistema costruttivo ID of this bo sistema costruttivo. - * - * @param sistemaCostruttivoId the sistema costruttivo ID of this bo sistema costruttivo - */ - public void setSistemaCostruttivoId(long sistemaCostruttivoId); - - /** - * Returns the company ID of this bo sistema costruttivo. - * - * @return the company ID of this bo sistema costruttivo - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this bo sistema costruttivo. - * - * @param companyId the company ID of this bo sistema costruttivo - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this bo sistema costruttivo. - * - * @return the user ID of this bo sistema costruttivo - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this bo sistema costruttivo. - * - * @param userId the user ID of this bo sistema costruttivo - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this bo sistema costruttivo. - * - * @return the user uuid of this bo sistema costruttivo - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this bo sistema costruttivo. - * - * @param userUuid the user uuid of this bo sistema costruttivo - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this bo sistema costruttivo. - * - * @return the user name of this bo sistema costruttivo - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this bo sistema costruttivo. - * - * @param userName the user name of this bo sistema costruttivo - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this bo sistema costruttivo. - * - * @return the create date of this bo sistema costruttivo - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this bo sistema costruttivo. - * - * @param createDate the create date of this bo sistema costruttivo - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this bo sistema costruttivo. - * - * @return the modified date of this bo sistema costruttivo - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this bo sistema costruttivo. - * - * @param modifiedDate the modified date of this bo sistema costruttivo - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the group ID of this bo sistema costruttivo. - * - * @return the group ID of this bo sistema costruttivo - */ - @Override - public long getGroupId(); - - /** - * Sets the group ID of this bo sistema costruttivo. - * - * @param groupId the group ID of this bo sistema costruttivo - */ - @Override - public void setGroupId(long groupId); - - /** - * Returns the int pratica ID of this bo sistema costruttivo. - * - * @return the int pratica ID of this bo sistema costruttivo - */ - public long getIntPraticaId(); - - /** - * Sets the int pratica ID of this bo sistema costruttivo. - * - * @param intPraticaId the int pratica ID of this bo sistema costruttivo - */ - public void setIntPraticaId(long intPraticaId); - - /** - * Returns the cod sistema costruttivo of this bo sistema costruttivo. - * - * @return the cod sistema costruttivo of this bo sistema costruttivo - */ - @AutoEscape - public String getCodSistemaCostruttivo(); - - /** - * Sets the cod sistema costruttivo of this bo sistema costruttivo. - * - * @param codSistemaCostruttivo the cod sistema costruttivo of this bo sistema costruttivo - */ - public void setCodSistemaCostruttivo(String codSistemaCostruttivo); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo boSistemaCostruttivo); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo toEscapedModel(); - - @Override - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSistemaCostruttivoSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSistemaCostruttivoSoap.java deleted file mode 100644 index 59fc7d8c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSistemaCostruttivoSoap.java +++ /dev/null @@ -1,189 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author 3FC - * @generated - */ -public class BoSistemaCostruttivoSoap implements Serializable { - public static BoSistemaCostruttivoSoap toSoapModel( - BoSistemaCostruttivo model) { - BoSistemaCostruttivoSoap soapModel = new BoSistemaCostruttivoSoap(); - - soapModel.setUuid(model.getUuid()); - soapModel.setSistemaCostruttivoId(model.getSistemaCostruttivoId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setIntPraticaId(model.getIntPraticaId()); - soapModel.setCodSistemaCostruttivo(model.getCodSistemaCostruttivo()); - - return soapModel; - } - - public static BoSistemaCostruttivoSoap[] toSoapModels( - BoSistemaCostruttivo[] models) { - BoSistemaCostruttivoSoap[] soapModels = new BoSistemaCostruttivoSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static BoSistemaCostruttivoSoap[][] toSoapModels( - BoSistemaCostruttivo[][] models) { - BoSistemaCostruttivoSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new BoSistemaCostruttivoSoap[models.length][models[0].length]; - } - else { - soapModels = new BoSistemaCostruttivoSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static BoSistemaCostruttivoSoap[] toSoapModels( - List models) { - List soapModels = new ArrayList(models.size()); - - for (BoSistemaCostruttivo model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new BoSistemaCostruttivoSoap[soapModels.size()]); - } - - public BoSistemaCostruttivoSoap() { - } - - public long getPrimaryKey() { - return _sistemaCostruttivoId; - } - - public void setPrimaryKey(long pk) { - setSistemaCostruttivoId(pk); - } - - public String getUuid() { - return _uuid; - } - - public void setUuid(String uuid) { - _uuid = uuid; - } - - public long getSistemaCostruttivoId() { - return _sistemaCostruttivoId; - } - - public void setSistemaCostruttivoId(long sistemaCostruttivoId) { - _sistemaCostruttivoId = sistemaCostruttivoId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public long getIntPraticaId() { - return _intPraticaId; - } - - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - } - - public String getCodSistemaCostruttivo() { - return _codSistemaCostruttivo; - } - - public void setCodSistemaCostruttivo(String codSistemaCostruttivo) { - _codSistemaCostruttivo = codSistemaCostruttivo; - } - - private String _uuid; - private long _sistemaCostruttivoId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _intPraticaId; - private String _codSistemaCostruttivo; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSistemaCostruttivoWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSistemaCostruttivoWrapper.java deleted file mode 100644 index a6c6b299..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSistemaCostruttivoWrapper.java +++ /dev/null @@ -1,523 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link BoSistemaCostruttivo}. - *

- * - * @author 3FC - * @see BoSistemaCostruttivo - * @generated - */ -public class BoSistemaCostruttivoWrapper implements BoSistemaCostruttivo, - ModelWrapper { - public BoSistemaCostruttivoWrapper( - BoSistemaCostruttivo boSistemaCostruttivo) { - _boSistemaCostruttivo = boSistemaCostruttivo; - } - - @Override - public Class getModelClass() { - return BoSistemaCostruttivo.class; - } - - @Override - public String getModelClassName() { - return BoSistemaCostruttivo.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("sistemaCostruttivoId", getSistemaCostruttivoId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("codSistemaCostruttivo", getCodSistemaCostruttivo()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long sistemaCostruttivoId = (Long)attributes.get("sistemaCostruttivoId"); - - if (sistemaCostruttivoId != null) { - setSistemaCostruttivoId(sistemaCostruttivoId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - String codSistemaCostruttivo = (String)attributes.get( - "codSistemaCostruttivo"); - - if (codSistemaCostruttivo != null) { - setCodSistemaCostruttivo(codSistemaCostruttivo); - } - } - - /** - * Returns the primary key of this bo sistema costruttivo. - * - * @return the primary key of this bo sistema costruttivo - */ - @Override - public long getPrimaryKey() { - return _boSistemaCostruttivo.getPrimaryKey(); - } - - /** - * Sets the primary key of this bo sistema costruttivo. - * - * @param primaryKey the primary key of this bo sistema costruttivo - */ - @Override - public void setPrimaryKey(long primaryKey) { - _boSistemaCostruttivo.setPrimaryKey(primaryKey); - } - - /** - * Returns the uuid of this bo sistema costruttivo. - * - * @return the uuid of this bo sistema costruttivo - */ - @Override - public java.lang.String getUuid() { - return _boSistemaCostruttivo.getUuid(); - } - - /** - * Sets the uuid of this bo sistema costruttivo. - * - * @param uuid the uuid of this bo sistema costruttivo - */ - @Override - public void setUuid(java.lang.String uuid) { - _boSistemaCostruttivo.setUuid(uuid); - } - - /** - * Returns the sistema costruttivo ID of this bo sistema costruttivo. - * - * @return the sistema costruttivo ID of this bo sistema costruttivo - */ - @Override - public long getSistemaCostruttivoId() { - return _boSistemaCostruttivo.getSistemaCostruttivoId(); - } - - /** - * Sets the sistema costruttivo ID of this bo sistema costruttivo. - * - * @param sistemaCostruttivoId the sistema costruttivo ID of this bo sistema costruttivo - */ - @Override - public void setSistemaCostruttivoId(long sistemaCostruttivoId) { - _boSistemaCostruttivo.setSistemaCostruttivoId(sistemaCostruttivoId); - } - - /** - * Returns the company ID of this bo sistema costruttivo. - * - * @return the company ID of this bo sistema costruttivo - */ - @Override - public long getCompanyId() { - return _boSistemaCostruttivo.getCompanyId(); - } - - /** - * Sets the company ID of this bo sistema costruttivo. - * - * @param companyId the company ID of this bo sistema costruttivo - */ - @Override - public void setCompanyId(long companyId) { - _boSistemaCostruttivo.setCompanyId(companyId); - } - - /** - * Returns the user ID of this bo sistema costruttivo. - * - * @return the user ID of this bo sistema costruttivo - */ - @Override - public long getUserId() { - return _boSistemaCostruttivo.getUserId(); - } - - /** - * Sets the user ID of this bo sistema costruttivo. - * - * @param userId the user ID of this bo sistema costruttivo - */ - @Override - public void setUserId(long userId) { - _boSistemaCostruttivo.setUserId(userId); - } - - /** - * Returns the user uuid of this bo sistema costruttivo. - * - * @return the user uuid of this bo sistema costruttivo - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivo.getUserUuid(); - } - - /** - * Sets the user uuid of this bo sistema costruttivo. - * - * @param userUuid the user uuid of this bo sistema costruttivo - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _boSistemaCostruttivo.setUserUuid(userUuid); - } - - /** - * Returns the user name of this bo sistema costruttivo. - * - * @return the user name of this bo sistema costruttivo - */ - @Override - public java.lang.String getUserName() { - return _boSistemaCostruttivo.getUserName(); - } - - /** - * Sets the user name of this bo sistema costruttivo. - * - * @param userName the user name of this bo sistema costruttivo - */ - @Override - public void setUserName(java.lang.String userName) { - _boSistemaCostruttivo.setUserName(userName); - } - - /** - * Returns the create date of this bo sistema costruttivo. - * - * @return the create date of this bo sistema costruttivo - */ - @Override - public java.util.Date getCreateDate() { - return _boSistemaCostruttivo.getCreateDate(); - } - - /** - * Sets the create date of this bo sistema costruttivo. - * - * @param createDate the create date of this bo sistema costruttivo - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _boSistemaCostruttivo.setCreateDate(createDate); - } - - /** - * Returns the modified date of this bo sistema costruttivo. - * - * @return the modified date of this bo sistema costruttivo - */ - @Override - public java.util.Date getModifiedDate() { - return _boSistemaCostruttivo.getModifiedDate(); - } - - /** - * Sets the modified date of this bo sistema costruttivo. - * - * @param modifiedDate the modified date of this bo sistema costruttivo - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _boSistemaCostruttivo.setModifiedDate(modifiedDate); - } - - /** - * Returns the group ID of this bo sistema costruttivo. - * - * @return the group ID of this bo sistema costruttivo - */ - @Override - public long getGroupId() { - return _boSistemaCostruttivo.getGroupId(); - } - - /** - * Sets the group ID of this bo sistema costruttivo. - * - * @param groupId the group ID of this bo sistema costruttivo - */ - @Override - public void setGroupId(long groupId) { - _boSistemaCostruttivo.setGroupId(groupId); - } - - /** - * Returns the int pratica ID of this bo sistema costruttivo. - * - * @return the int pratica ID of this bo sistema costruttivo - */ - @Override - public long getIntPraticaId() { - return _boSistemaCostruttivo.getIntPraticaId(); - } - - /** - * Sets the int pratica ID of this bo sistema costruttivo. - * - * @param intPraticaId the int pratica ID of this bo sistema costruttivo - */ - @Override - public void setIntPraticaId(long intPraticaId) { - _boSistemaCostruttivo.setIntPraticaId(intPraticaId); - } - - /** - * Returns the cod sistema costruttivo of this bo sistema costruttivo. - * - * @return the cod sistema costruttivo of this bo sistema costruttivo - */ - @Override - public java.lang.String getCodSistemaCostruttivo() { - return _boSistemaCostruttivo.getCodSistemaCostruttivo(); - } - - /** - * Sets the cod sistema costruttivo of this bo sistema costruttivo. - * - * @param codSistemaCostruttivo the cod sistema costruttivo of this bo sistema costruttivo - */ - @Override - public void setCodSistemaCostruttivo(java.lang.String codSistemaCostruttivo) { - _boSistemaCostruttivo.setCodSistemaCostruttivo(codSistemaCostruttivo); - } - - @Override - public boolean isNew() { - return _boSistemaCostruttivo.isNew(); - } - - @Override - public void setNew(boolean n) { - _boSistemaCostruttivo.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _boSistemaCostruttivo.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _boSistemaCostruttivo.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _boSistemaCostruttivo.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _boSistemaCostruttivo.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _boSistemaCostruttivo.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _boSistemaCostruttivo.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _boSistemaCostruttivo.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _boSistemaCostruttivo.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _boSistemaCostruttivo.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new BoSistemaCostruttivoWrapper((BoSistemaCostruttivo)_boSistemaCostruttivo.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo boSistemaCostruttivo) { - return _boSistemaCostruttivo.compareTo(boSistemaCostruttivo); - } - - @Override - public int hashCode() { - return _boSistemaCostruttivo.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _boSistemaCostruttivo.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo toEscapedModel() { - return new BoSistemaCostruttivoWrapper(_boSistemaCostruttivo.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo toUnescapedModel() { - return new BoSistemaCostruttivoWrapper(_boSistemaCostruttivo.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _boSistemaCostruttivo.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _boSistemaCostruttivo.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _boSistemaCostruttivo.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoSistemaCostruttivoWrapper)) { - return false; - } - - BoSistemaCostruttivoWrapper boSistemaCostruttivoWrapper = (BoSistemaCostruttivoWrapper)obj; - - if (Validator.equals(_boSistemaCostruttivo, - boSistemaCostruttivoWrapper._boSistemaCostruttivo)) { - return true; - } - - return false; - } - - @Override - public StagedModelType getStagedModelType() { - return _boSistemaCostruttivo.getStagedModelType(); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public BoSistemaCostruttivo getWrappedBoSistemaCostruttivo() { - return _boSistemaCostruttivo; - } - - @Override - public BoSistemaCostruttivo getWrappedModel() { - return _boSistemaCostruttivo; - } - - @Override - public void resetOriginalValues() { - _boSistemaCostruttivo.resetOriginalValues(); - } - - private BoSistemaCostruttivo _boSistemaCostruttivo; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSoggetto.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSoggetto.java deleted file mode 100644 index e522c9a8..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSoggetto.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the BoSoggetto service. Represents a row in the "gc_soggetto" database table, with each column mapped to a property of this class. - * - * @author 3FC - * @see BoSoggettoModel - * @see it.tref.liferay.portos.importazione.model.impl.BoSoggettoImpl - * @see it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl - * @generated - */ -public interface BoSoggetto extends BoSoggettoModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSoggettoClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSoggettoClp.java deleted file mode 100644 index 2321edc8..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSoggettoClp.java +++ /dev/null @@ -1,2055 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.service.BoSoggettoLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.ClpSerializer; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author 3FC - */ -public class BoSoggettoClp extends BaseModelImpl - implements BoSoggetto { - public BoSoggettoClp() { - } - - @Override - public Class getModelClass() { - return BoSoggetto.class; - } - - @Override - public String getModelClassName() { - return BoSoggetto.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _soggettoId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setSoggettoId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _soggettoId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("soggettoId", getSoggettoId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("nome", getNome()); - attributes.put("cognome", getCognome()); - attributes.put("codiceFiscale", getCodiceFiscale()); - attributes.put("codiceFiscaleDelegato", getCodiceFiscaleDelegato()); - attributes.put("dataNascita", getDataNascita()); - attributes.put("comuneNascita", getComuneNascita()); - attributes.put("comuneDomicilio", getComuneDomicilio()); - attributes.put("provinciaDomicilio", getProvinciaDomicilio()); - attributes.put("viaDomicilio", getViaDomicilio()); - attributes.put("numeroCivicoDomicilio", getNumeroCivicoDomicilio()); - attributes.put("capDomicilio", getCapDomicilio()); - attributes.put("domicilioExtra", getDomicilioExtra()); - attributes.put("comune", getComune()); - attributes.put("provincia", getProvincia()); - attributes.put("via", getVia()); - attributes.put("numeroCivico", getNumeroCivico()); - attributes.put("cap", getCap()); - attributes.put("denominazione", getDenominazione()); - attributes.put("sedeLegale", getSedeLegale()); - attributes.put("legaleRap", getLegaleRap()); - attributes.put("dataNascitaRap", getDataNascitaRap()); - attributes.put("comuneNascitaRap", getComuneNascitaRap()); - attributes.put("viaRap", getViaRap()); - attributes.put("numeroCivicoRap", getNumeroCivicoRap()); - attributes.put("capRap", getCapRap()); - attributes.put("provinciaRap", getProvinciaRap()); - attributes.put("comuneRap", getComuneRap()); - attributes.put("albo", getAlbo()); - attributes.put("regAlbo", getRegAlbo()); - attributes.put("provAlbo", getProvAlbo()); - attributes.put("numIscrAlbo", getNumIscrAlbo()); - attributes.put("telefono", getTelefono()); - attributes.put("fax", getFax()); - attributes.put("email", getEmail()); - attributes.put("tipologiaSoggetto", getTipologiaSoggetto()); - attributes.put("tipologiaProfessione", getTipologiaProfessione()); - attributes.put("aggiuntivo", getAggiuntivo()); - attributes.put("sostituito", getSostituito()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long soggettoId = (Long)attributes.get("soggettoId"); - - if (soggettoId != null) { - setSoggettoId(soggettoId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - String nome = (String)attributes.get("nome"); - - if (nome != null) { - setNome(nome); - } - - String cognome = (String)attributes.get("cognome"); - - if (cognome != null) { - setCognome(cognome); - } - - String codiceFiscale = (String)attributes.get("codiceFiscale"); - - if (codiceFiscale != null) { - setCodiceFiscale(codiceFiscale); - } - - String codiceFiscaleDelegato = (String)attributes.get( - "codiceFiscaleDelegato"); - - if (codiceFiscaleDelegato != null) { - setCodiceFiscaleDelegato(codiceFiscaleDelegato); - } - - Date dataNascita = (Date)attributes.get("dataNascita"); - - if (dataNascita != null) { - setDataNascita(dataNascita); - } - - String comuneNascita = (String)attributes.get("comuneNascita"); - - if (comuneNascita != null) { - setComuneNascita(comuneNascita); - } - - String comuneDomicilio = (String)attributes.get("comuneDomicilio"); - - if (comuneDomicilio != null) { - setComuneDomicilio(comuneDomicilio); - } - - String provinciaDomicilio = (String)attributes.get("provinciaDomicilio"); - - if (provinciaDomicilio != null) { - setProvinciaDomicilio(provinciaDomicilio); - } - - String viaDomicilio = (String)attributes.get("viaDomicilio"); - - if (viaDomicilio != null) { - setViaDomicilio(viaDomicilio); - } - - String numeroCivicoDomicilio = (String)attributes.get( - "numeroCivicoDomicilio"); - - if (numeroCivicoDomicilio != null) { - setNumeroCivicoDomicilio(numeroCivicoDomicilio); - } - - String capDomicilio = (String)attributes.get("capDomicilio"); - - if (capDomicilio != null) { - setCapDomicilio(capDomicilio); - } - - String domicilioExtra = (String)attributes.get("domicilioExtra"); - - if (domicilioExtra != null) { - setDomicilioExtra(domicilioExtra); - } - - String comune = (String)attributes.get("comune"); - - if (comune != null) { - setComune(comune); - } - - String provincia = (String)attributes.get("provincia"); - - if (provincia != null) { - setProvincia(provincia); - } - - String via = (String)attributes.get("via"); - - if (via != null) { - setVia(via); - } - - String numeroCivico = (String)attributes.get("numeroCivico"); - - if (numeroCivico != null) { - setNumeroCivico(numeroCivico); - } - - String cap = (String)attributes.get("cap"); - - if (cap != null) { - setCap(cap); - } - - String denominazione = (String)attributes.get("denominazione"); - - if (denominazione != null) { - setDenominazione(denominazione); - } - - String sedeLegale = (String)attributes.get("sedeLegale"); - - if (sedeLegale != null) { - setSedeLegale(sedeLegale); - } - - String legaleRap = (String)attributes.get("legaleRap"); - - if (legaleRap != null) { - setLegaleRap(legaleRap); - } - - Date dataNascitaRap = (Date)attributes.get("dataNascitaRap"); - - if (dataNascitaRap != null) { - setDataNascitaRap(dataNascitaRap); - } - - String comuneNascitaRap = (String)attributes.get("comuneNascitaRap"); - - if (comuneNascitaRap != null) { - setComuneNascitaRap(comuneNascitaRap); - } - - String viaRap = (String)attributes.get("viaRap"); - - if (viaRap != null) { - setViaRap(viaRap); - } - - String numeroCivicoRap = (String)attributes.get("numeroCivicoRap"); - - if (numeroCivicoRap != null) { - setNumeroCivicoRap(numeroCivicoRap); - } - - String capRap = (String)attributes.get("capRap"); - - if (capRap != null) { - setCapRap(capRap); - } - - String provinciaRap = (String)attributes.get("provinciaRap"); - - if (provinciaRap != null) { - setProvinciaRap(provinciaRap); - } - - String comuneRap = (String)attributes.get("comuneRap"); - - if (comuneRap != null) { - setComuneRap(comuneRap); - } - - String albo = (String)attributes.get("albo"); - - if (albo != null) { - setAlbo(albo); - } - - String regAlbo = (String)attributes.get("regAlbo"); - - if (regAlbo != null) { - setRegAlbo(regAlbo); - } - - String provAlbo = (String)attributes.get("provAlbo"); - - if (provAlbo != null) { - setProvAlbo(provAlbo); - } - - String numIscrAlbo = (String)attributes.get("numIscrAlbo"); - - if (numIscrAlbo != null) { - setNumIscrAlbo(numIscrAlbo); - } - - String telefono = (String)attributes.get("telefono"); - - if (telefono != null) { - setTelefono(telefono); - } - - String fax = (String)attributes.get("fax"); - - if (fax != null) { - setFax(fax); - } - - String email = (String)attributes.get("email"); - - if (email != null) { - setEmail(email); - } - - String tipologiaSoggetto = (String)attributes.get("tipologiaSoggetto"); - - if (tipologiaSoggetto != null) { - setTipologiaSoggetto(tipologiaSoggetto); - } - - String tipologiaProfessione = (String)attributes.get( - "tipologiaProfessione"); - - if (tipologiaProfessione != null) { - setTipologiaProfessione(tipologiaProfessione); - } - - Boolean aggiuntivo = (Boolean)attributes.get("aggiuntivo"); - - if (aggiuntivo != null) { - setAggiuntivo(aggiuntivo); - } - - Boolean sostituito = (Boolean)attributes.get("sostituito"); - - if (sostituito != null) { - setSostituito(sostituito); - } - } - - @Override - public String getUuid() { - return _uuid; - } - - @Override - public void setUuid(String uuid) { - _uuid = uuid; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setUuid", String.class); - - method.invoke(_boSoggettoRemoteModel, uuid); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getSoggettoId() { - return _soggettoId; - } - - @Override - public void setSoggettoId(long soggettoId) { - _soggettoId = soggettoId; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setSoggettoId", long.class); - - method.invoke(_boSoggettoRemoteModel, soggettoId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_boSoggettoRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_boSoggettoRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_boSoggettoRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_boSoggettoRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_boSoggettoRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_boSoggettoRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getDettPraticaId() { - return _dettPraticaId; - } - - @Override - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setDettPraticaId", long.class); - - method.invoke(_boSoggettoRemoteModel, dettPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getNome() { - return _nome; - } - - @Override - public void setNome(String nome) { - _nome = nome; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setNome", String.class); - - method.invoke(_boSoggettoRemoteModel, nome); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCognome() { - return _cognome; - } - - @Override - public void setCognome(String cognome) { - _cognome = cognome; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setCognome", String.class); - - method.invoke(_boSoggettoRemoteModel, cognome); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodiceFiscale() { - return _codiceFiscale; - } - - @Override - public void setCodiceFiscale(String codiceFiscale) { - _codiceFiscale = codiceFiscale; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodiceFiscale", String.class); - - method.invoke(_boSoggettoRemoteModel, codiceFiscale); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodiceFiscaleDelegato() { - return _codiceFiscaleDelegato; - } - - @Override - public void setCodiceFiscaleDelegato(String codiceFiscaleDelegato) { - _codiceFiscaleDelegato = codiceFiscaleDelegato; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodiceFiscaleDelegato", - String.class); - - method.invoke(_boSoggettoRemoteModel, codiceFiscaleDelegato); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDataNascita() { - return _dataNascita; - } - - @Override - public void setDataNascita(Date dataNascita) { - _dataNascita = dataNascita; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setDataNascita", Date.class); - - method.invoke(_boSoggettoRemoteModel, dataNascita); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getComuneNascita() { - return _comuneNascita; - } - - @Override - public void setComuneNascita(String comuneNascita) { - _comuneNascita = comuneNascita; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setComuneNascita", String.class); - - method.invoke(_boSoggettoRemoteModel, comuneNascita); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getComuneDomicilio() { - return _comuneDomicilio; - } - - @Override - public void setComuneDomicilio(String comuneDomicilio) { - _comuneDomicilio = comuneDomicilio; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setComuneDomicilio", - String.class); - - method.invoke(_boSoggettoRemoteModel, comuneDomicilio); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getProvinciaDomicilio() { - return _provinciaDomicilio; - } - - @Override - public void setProvinciaDomicilio(String provinciaDomicilio) { - _provinciaDomicilio = provinciaDomicilio; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setProvinciaDomicilio", - String.class); - - method.invoke(_boSoggettoRemoteModel, provinciaDomicilio); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getViaDomicilio() { - return _viaDomicilio; - } - - @Override - public void setViaDomicilio(String viaDomicilio) { - _viaDomicilio = viaDomicilio; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setViaDomicilio", String.class); - - method.invoke(_boSoggettoRemoteModel, viaDomicilio); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getNumeroCivicoDomicilio() { - return _numeroCivicoDomicilio; - } - - @Override - public void setNumeroCivicoDomicilio(String numeroCivicoDomicilio) { - _numeroCivicoDomicilio = numeroCivicoDomicilio; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setNumeroCivicoDomicilio", - String.class); - - method.invoke(_boSoggettoRemoteModel, numeroCivicoDomicilio); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCapDomicilio() { - return _capDomicilio; - } - - @Override - public void setCapDomicilio(String capDomicilio) { - _capDomicilio = capDomicilio; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setCapDomicilio", String.class); - - method.invoke(_boSoggettoRemoteModel, capDomicilio); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getDomicilioExtra() { - return _domicilioExtra; - } - - @Override - public void setDomicilioExtra(String domicilioExtra) { - _domicilioExtra = domicilioExtra; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setDomicilioExtra", - String.class); - - method.invoke(_boSoggettoRemoteModel, domicilioExtra); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getComune() { - return _comune; - } - - @Override - public void setComune(String comune) { - _comune = comune; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setComune", String.class); - - method.invoke(_boSoggettoRemoteModel, comune); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getProvincia() { - return _provincia; - } - - @Override - public void setProvincia(String provincia) { - _provincia = provincia; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setProvincia", String.class); - - method.invoke(_boSoggettoRemoteModel, provincia); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getVia() { - return _via; - } - - @Override - public void setVia(String via) { - _via = via; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setVia", String.class); - - method.invoke(_boSoggettoRemoteModel, via); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getNumeroCivico() { - return _numeroCivico; - } - - @Override - public void setNumeroCivico(String numeroCivico) { - _numeroCivico = numeroCivico; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setNumeroCivico", String.class); - - method.invoke(_boSoggettoRemoteModel, numeroCivico); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCap() { - return _cap; - } - - @Override - public void setCap(String cap) { - _cap = cap; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setCap", String.class); - - method.invoke(_boSoggettoRemoteModel, cap); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getDenominazione() { - return _denominazione; - } - - @Override - public void setDenominazione(String denominazione) { - _denominazione = denominazione; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setDenominazione", String.class); - - method.invoke(_boSoggettoRemoteModel, denominazione); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getSedeLegale() { - return _sedeLegale; - } - - @Override - public void setSedeLegale(String sedeLegale) { - _sedeLegale = sedeLegale; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setSedeLegale", String.class); - - method.invoke(_boSoggettoRemoteModel, sedeLegale); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getLegaleRap() { - return _legaleRap; - } - - @Override - public void setLegaleRap(String legaleRap) { - _legaleRap = legaleRap; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setLegaleRap", String.class); - - method.invoke(_boSoggettoRemoteModel, legaleRap); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDataNascitaRap() { - return _dataNascitaRap; - } - - @Override - public void setDataNascitaRap(Date dataNascitaRap) { - _dataNascitaRap = dataNascitaRap; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setDataNascitaRap", Date.class); - - method.invoke(_boSoggettoRemoteModel, dataNascitaRap); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getComuneNascitaRap() { - return _comuneNascitaRap; - } - - @Override - public void setComuneNascitaRap(String comuneNascitaRap) { - _comuneNascitaRap = comuneNascitaRap; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setComuneNascitaRap", - String.class); - - method.invoke(_boSoggettoRemoteModel, comuneNascitaRap); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getViaRap() { - return _viaRap; - } - - @Override - public void setViaRap(String viaRap) { - _viaRap = viaRap; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setViaRap", String.class); - - method.invoke(_boSoggettoRemoteModel, viaRap); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getNumeroCivicoRap() { - return _numeroCivicoRap; - } - - @Override - public void setNumeroCivicoRap(String numeroCivicoRap) { - _numeroCivicoRap = numeroCivicoRap; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setNumeroCivicoRap", - String.class); - - method.invoke(_boSoggettoRemoteModel, numeroCivicoRap); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCapRap() { - return _capRap; - } - - @Override - public void setCapRap(String capRap) { - _capRap = capRap; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setCapRap", String.class); - - method.invoke(_boSoggettoRemoteModel, capRap); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getProvinciaRap() { - return _provinciaRap; - } - - @Override - public void setProvinciaRap(String provinciaRap) { - _provinciaRap = provinciaRap; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setProvinciaRap", String.class); - - method.invoke(_boSoggettoRemoteModel, provinciaRap); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getComuneRap() { - return _comuneRap; - } - - @Override - public void setComuneRap(String comuneRap) { - _comuneRap = comuneRap; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setComuneRap", String.class); - - method.invoke(_boSoggettoRemoteModel, comuneRap); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getAlbo() { - return _albo; - } - - @Override - public void setAlbo(String albo) { - _albo = albo; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setAlbo", String.class); - - method.invoke(_boSoggettoRemoteModel, albo); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getRegAlbo() { - return _regAlbo; - } - - @Override - public void setRegAlbo(String regAlbo) { - _regAlbo = regAlbo; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setRegAlbo", String.class); - - method.invoke(_boSoggettoRemoteModel, regAlbo); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getProvAlbo() { - return _provAlbo; - } - - @Override - public void setProvAlbo(String provAlbo) { - _provAlbo = provAlbo; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setProvAlbo", String.class); - - method.invoke(_boSoggettoRemoteModel, provAlbo); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getNumIscrAlbo() { - return _numIscrAlbo; - } - - @Override - public void setNumIscrAlbo(String numIscrAlbo) { - _numIscrAlbo = numIscrAlbo; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setNumIscrAlbo", String.class); - - method.invoke(_boSoggettoRemoteModel, numIscrAlbo); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getTelefono() { - return _telefono; - } - - @Override - public void setTelefono(String telefono) { - _telefono = telefono; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setTelefono", String.class); - - method.invoke(_boSoggettoRemoteModel, telefono); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getFax() { - return _fax; - } - - @Override - public void setFax(String fax) { - _fax = fax; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setFax", String.class); - - method.invoke(_boSoggettoRemoteModel, fax); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getEmail() { - return _email; - } - - @Override - public void setEmail(String email) { - _email = email; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setEmail", String.class); - - method.invoke(_boSoggettoRemoteModel, email); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getTipologiaSoggetto() { - return _tipologiaSoggetto; - } - - @Override - public void setTipologiaSoggetto(String tipologiaSoggetto) { - _tipologiaSoggetto = tipologiaSoggetto; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setTipologiaSoggetto", - String.class); - - method.invoke(_boSoggettoRemoteModel, tipologiaSoggetto); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getTipologiaProfessione() { - return _tipologiaProfessione; - } - - @Override - public void setTipologiaProfessione(String tipologiaProfessione) { - _tipologiaProfessione = tipologiaProfessione; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setTipologiaProfessione", - String.class); - - method.invoke(_boSoggettoRemoteModel, tipologiaProfessione); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getAggiuntivo() { - return _aggiuntivo; - } - - @Override - public boolean isAggiuntivo() { - return _aggiuntivo; - } - - @Override - public void setAggiuntivo(boolean aggiuntivo) { - _aggiuntivo = aggiuntivo; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setAggiuntivo", boolean.class); - - method.invoke(_boSoggettoRemoteModel, aggiuntivo); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getSostituito() { - return _sostituito; - } - - @Override - public boolean isSostituito() { - return _sostituito; - } - - @Override - public void setSostituito(boolean sostituito) { - _sostituito = sostituito; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setSostituito", boolean.class); - - method.invoke(_boSoggettoRemoteModel, sostituito); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoSoggetto.class.getName())); - } - - public BaseModel getBoSoggettoRemoteModel() { - return _boSoggettoRemoteModel; - } - - public void setBoSoggettoRemoteModel(BaseModel boSoggettoRemoteModel) { - _boSoggettoRemoteModel = boSoggettoRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _boSoggettoRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_boSoggettoRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoSoggettoLocalServiceUtil.addBoSoggetto(this); - } - else { - BoSoggettoLocalServiceUtil.updateBoSoggetto(this); - } - } - - @Override - public BoSoggetto toEscapedModel() { - return (BoSoggetto)ProxyUtil.newProxyInstance(BoSoggetto.class.getClassLoader(), - new Class[] { BoSoggetto.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - BoSoggettoClp clone = new BoSoggettoClp(); - - clone.setUuid(getUuid()); - clone.setSoggettoId(getSoggettoId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setGroupId(getGroupId()); - clone.setDettPraticaId(getDettPraticaId()); - clone.setNome(getNome()); - clone.setCognome(getCognome()); - clone.setCodiceFiscale(getCodiceFiscale()); - clone.setCodiceFiscaleDelegato(getCodiceFiscaleDelegato()); - clone.setDataNascita(getDataNascita()); - clone.setComuneNascita(getComuneNascita()); - clone.setComuneDomicilio(getComuneDomicilio()); - clone.setProvinciaDomicilio(getProvinciaDomicilio()); - clone.setViaDomicilio(getViaDomicilio()); - clone.setNumeroCivicoDomicilio(getNumeroCivicoDomicilio()); - clone.setCapDomicilio(getCapDomicilio()); - clone.setDomicilioExtra(getDomicilioExtra()); - clone.setComune(getComune()); - clone.setProvincia(getProvincia()); - clone.setVia(getVia()); - clone.setNumeroCivico(getNumeroCivico()); - clone.setCap(getCap()); - clone.setDenominazione(getDenominazione()); - clone.setSedeLegale(getSedeLegale()); - clone.setLegaleRap(getLegaleRap()); - clone.setDataNascitaRap(getDataNascitaRap()); - clone.setComuneNascitaRap(getComuneNascitaRap()); - clone.setViaRap(getViaRap()); - clone.setNumeroCivicoRap(getNumeroCivicoRap()); - clone.setCapRap(getCapRap()); - clone.setProvinciaRap(getProvinciaRap()); - clone.setComuneRap(getComuneRap()); - clone.setAlbo(getAlbo()); - clone.setRegAlbo(getRegAlbo()); - clone.setProvAlbo(getProvAlbo()); - clone.setNumIscrAlbo(getNumIscrAlbo()); - clone.setTelefono(getTelefono()); - clone.setFax(getFax()); - clone.setEmail(getEmail()); - clone.setTipologiaSoggetto(getTipologiaSoggetto()); - clone.setTipologiaProfessione(getTipologiaProfessione()); - clone.setAggiuntivo(getAggiuntivo()); - clone.setSostituito(getSostituito()); - - return clone; - } - - @Override - public int compareTo(BoSoggetto boSoggetto) { - long primaryKey = boSoggetto.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoSoggettoClp)) { - return false; - } - - BoSoggettoClp boSoggetto = (BoSoggettoClp)obj; - - long primaryKey = boSoggetto.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(95); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", soggettoId="); - sb.append(getSoggettoId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", dettPraticaId="); - sb.append(getDettPraticaId()); - sb.append(", nome="); - sb.append(getNome()); - sb.append(", cognome="); - sb.append(getCognome()); - sb.append(", codiceFiscale="); - sb.append(getCodiceFiscale()); - sb.append(", codiceFiscaleDelegato="); - sb.append(getCodiceFiscaleDelegato()); - sb.append(", dataNascita="); - sb.append(getDataNascita()); - sb.append(", comuneNascita="); - sb.append(getComuneNascita()); - sb.append(", comuneDomicilio="); - sb.append(getComuneDomicilio()); - sb.append(", provinciaDomicilio="); - sb.append(getProvinciaDomicilio()); - sb.append(", viaDomicilio="); - sb.append(getViaDomicilio()); - sb.append(", numeroCivicoDomicilio="); - sb.append(getNumeroCivicoDomicilio()); - sb.append(", capDomicilio="); - sb.append(getCapDomicilio()); - sb.append(", domicilioExtra="); - sb.append(getDomicilioExtra()); - sb.append(", comune="); - sb.append(getComune()); - sb.append(", provincia="); - sb.append(getProvincia()); - sb.append(", via="); - sb.append(getVia()); - sb.append(", numeroCivico="); - sb.append(getNumeroCivico()); - sb.append(", cap="); - sb.append(getCap()); - sb.append(", denominazione="); - sb.append(getDenominazione()); - sb.append(", sedeLegale="); - sb.append(getSedeLegale()); - sb.append(", legaleRap="); - sb.append(getLegaleRap()); - sb.append(", dataNascitaRap="); - sb.append(getDataNascitaRap()); - sb.append(", comuneNascitaRap="); - sb.append(getComuneNascitaRap()); - sb.append(", viaRap="); - sb.append(getViaRap()); - sb.append(", numeroCivicoRap="); - sb.append(getNumeroCivicoRap()); - sb.append(", capRap="); - sb.append(getCapRap()); - sb.append(", provinciaRap="); - sb.append(getProvinciaRap()); - sb.append(", comuneRap="); - sb.append(getComuneRap()); - sb.append(", albo="); - sb.append(getAlbo()); - sb.append(", regAlbo="); - sb.append(getRegAlbo()); - sb.append(", provAlbo="); - sb.append(getProvAlbo()); - sb.append(", numIscrAlbo="); - sb.append(getNumIscrAlbo()); - sb.append(", telefono="); - sb.append(getTelefono()); - sb.append(", fax="); - sb.append(getFax()); - sb.append(", email="); - sb.append(getEmail()); - sb.append(", tipologiaSoggetto="); - sb.append(getTipologiaSoggetto()); - sb.append(", tipologiaProfessione="); - sb.append(getTipologiaProfessione()); - sb.append(", aggiuntivo="); - sb.append(getAggiuntivo()); - sb.append(", sostituito="); - sb.append(getSostituito()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(145); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.BoSoggetto"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "soggettoId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "dettPraticaId"); - sb.append( - "nome"); - sb.append( - "cognome"); - sb.append( - "codiceFiscale"); - sb.append( - "codiceFiscaleDelegato"); - sb.append( - "dataNascita"); - sb.append( - "comuneNascita"); - sb.append( - "comuneDomicilio"); - sb.append( - "provinciaDomicilio"); - sb.append( - "viaDomicilio"); - sb.append( - "numeroCivicoDomicilio"); - sb.append( - "capDomicilio"); - sb.append( - "domicilioExtra"); - sb.append( - "comune"); - sb.append( - "provincia"); - sb.append( - "via"); - sb.append( - "numeroCivico"); - sb.append( - "cap"); - sb.append( - "denominazione"); - sb.append( - "sedeLegale"); - sb.append( - "legaleRap"); - sb.append( - "dataNascitaRap"); - sb.append( - "comuneNascitaRap"); - sb.append( - "viaRap"); - sb.append( - "numeroCivicoRap"); - sb.append( - "capRap"); - sb.append( - "provinciaRap"); - sb.append( - "comuneRap"); - sb.append( - "albo"); - sb.append( - "regAlbo"); - sb.append( - "provAlbo"); - sb.append( - "numIscrAlbo"); - sb.append( - "telefono"); - sb.append( - "fax"); - sb.append( - "email"); - sb.append( - "tipologiaSoggetto"); - sb.append( - "tipologiaProfessione"); - sb.append( - "aggiuntivo"); - sb.append( - "sostituito"); - - sb.append(""); - - return sb.toString(); - } - - private String _uuid; - private long _soggettoId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _dettPraticaId; - private String _nome; - private String _cognome; - private String _codiceFiscale; - private String _codiceFiscaleDelegato; - private Date _dataNascita; - private String _comuneNascita; - private String _comuneDomicilio; - private String _provinciaDomicilio; - private String _viaDomicilio; - private String _numeroCivicoDomicilio; - private String _capDomicilio; - private String _domicilioExtra; - private String _comune; - private String _provincia; - private String _via; - private String _numeroCivico; - private String _cap; - private String _denominazione; - private String _sedeLegale; - private String _legaleRap; - private Date _dataNascitaRap; - private String _comuneNascitaRap; - private String _viaRap; - private String _numeroCivicoRap; - private String _capRap; - private String _provinciaRap; - private String _comuneRap; - private String _albo; - private String _regAlbo; - private String _provAlbo; - private String _numIscrAlbo; - private String _telefono; - private String _fax; - private String _email; - private String _tipologiaSoggetto; - private String _tipologiaProfessione; - private boolean _aggiuntivo; - private boolean _sostituito; - private BaseModel _boSoggettoRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.importazione.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSoggettoModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSoggettoModel.java deleted file mode 100644 index ee2eedb8..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSoggettoModel.java +++ /dev/null @@ -1,861 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.StagedGroupedModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the BoSoggetto service. Represents a row in the "gc_soggetto" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoImpl}. - *

- * - * @author 3FC - * @see BoSoggetto - * @see it.tref.liferay.portos.importazione.model.impl.BoSoggettoImpl - * @see it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl - * @generated - */ -public interface BoSoggettoModel extends BaseModel, - StagedGroupedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a bo soggetto model instance should use the {@link BoSoggetto} interface instead. - */ - - /** - * Returns the primary key of this bo soggetto. - * - * @return the primary key of this bo soggetto - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this bo soggetto. - * - * @param primaryKey the primary key of this bo soggetto - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the uuid of this bo soggetto. - * - * @return the uuid of this bo soggetto - */ - @AutoEscape - @Override - public String getUuid(); - - /** - * Sets the uuid of this bo soggetto. - * - * @param uuid the uuid of this bo soggetto - */ - @Override - public void setUuid(String uuid); - - /** - * Returns the soggetto ID of this bo soggetto. - * - * @return the soggetto ID of this bo soggetto - */ - public long getSoggettoId(); - - /** - * Sets the soggetto ID of this bo soggetto. - * - * @param soggettoId the soggetto ID of this bo soggetto - */ - public void setSoggettoId(long soggettoId); - - /** - * Returns the company ID of this bo soggetto. - * - * @return the company ID of this bo soggetto - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this bo soggetto. - * - * @param companyId the company ID of this bo soggetto - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this bo soggetto. - * - * @return the user ID of this bo soggetto - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this bo soggetto. - * - * @param userId the user ID of this bo soggetto - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this bo soggetto. - * - * @return the user uuid of this bo soggetto - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this bo soggetto. - * - * @param userUuid the user uuid of this bo soggetto - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this bo soggetto. - * - * @return the user name of this bo soggetto - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this bo soggetto. - * - * @param userName the user name of this bo soggetto - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this bo soggetto. - * - * @return the create date of this bo soggetto - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this bo soggetto. - * - * @param createDate the create date of this bo soggetto - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this bo soggetto. - * - * @return the modified date of this bo soggetto - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this bo soggetto. - * - * @param modifiedDate the modified date of this bo soggetto - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the group ID of this bo soggetto. - * - * @return the group ID of this bo soggetto - */ - @Override - public long getGroupId(); - - /** - * Sets the group ID of this bo soggetto. - * - * @param groupId the group ID of this bo soggetto - */ - @Override - public void setGroupId(long groupId); - - /** - * Returns the dett pratica ID of this bo soggetto. - * - * @return the dett pratica ID of this bo soggetto - */ - public long getDettPraticaId(); - - /** - * Sets the dett pratica ID of this bo soggetto. - * - * @param dettPraticaId the dett pratica ID of this bo soggetto - */ - public void setDettPraticaId(long dettPraticaId); - - /** - * Returns the nome of this bo soggetto. - * - * @return the nome of this bo soggetto - */ - @AutoEscape - public String getNome(); - - /** - * Sets the nome of this bo soggetto. - * - * @param nome the nome of this bo soggetto - */ - public void setNome(String nome); - - /** - * Returns the cognome of this bo soggetto. - * - * @return the cognome of this bo soggetto - */ - @AutoEscape - public String getCognome(); - - /** - * Sets the cognome of this bo soggetto. - * - * @param cognome the cognome of this bo soggetto - */ - public void setCognome(String cognome); - - /** - * Returns the codice fiscale of this bo soggetto. - * - * @return the codice fiscale of this bo soggetto - */ - @AutoEscape - public String getCodiceFiscale(); - - /** - * Sets the codice fiscale of this bo soggetto. - * - * @param codiceFiscale the codice fiscale of this bo soggetto - */ - public void setCodiceFiscale(String codiceFiscale); - - /** - * Returns the codice fiscale delegato of this bo soggetto. - * - * @return the codice fiscale delegato of this bo soggetto - */ - @AutoEscape - public String getCodiceFiscaleDelegato(); - - /** - * Sets the codice fiscale delegato of this bo soggetto. - * - * @param codiceFiscaleDelegato the codice fiscale delegato of this bo soggetto - */ - public void setCodiceFiscaleDelegato(String codiceFiscaleDelegato); - - /** - * Returns the data nascita of this bo soggetto. - * - * @return the data nascita of this bo soggetto - */ - public Date getDataNascita(); - - /** - * Sets the data nascita of this bo soggetto. - * - * @param dataNascita the data nascita of this bo soggetto - */ - public void setDataNascita(Date dataNascita); - - /** - * Returns the comune nascita of this bo soggetto. - * - * @return the comune nascita of this bo soggetto - */ - @AutoEscape - public String getComuneNascita(); - - /** - * Sets the comune nascita of this bo soggetto. - * - * @param comuneNascita the comune nascita of this bo soggetto - */ - public void setComuneNascita(String comuneNascita); - - /** - * Returns the comune domicilio of this bo soggetto. - * - * @return the comune domicilio of this bo soggetto - */ - @AutoEscape - public String getComuneDomicilio(); - - /** - * Sets the comune domicilio of this bo soggetto. - * - * @param comuneDomicilio the comune domicilio of this bo soggetto - */ - public void setComuneDomicilio(String comuneDomicilio); - - /** - * Returns the provincia domicilio of this bo soggetto. - * - * @return the provincia domicilio of this bo soggetto - */ - @AutoEscape - public String getProvinciaDomicilio(); - - /** - * Sets the provincia domicilio of this bo soggetto. - * - * @param provinciaDomicilio the provincia domicilio of this bo soggetto - */ - public void setProvinciaDomicilio(String provinciaDomicilio); - - /** - * Returns the via domicilio of this bo soggetto. - * - * @return the via domicilio of this bo soggetto - */ - @AutoEscape - public String getViaDomicilio(); - - /** - * Sets the via domicilio of this bo soggetto. - * - * @param viaDomicilio the via domicilio of this bo soggetto - */ - public void setViaDomicilio(String viaDomicilio); - - /** - * Returns the numero civico domicilio of this bo soggetto. - * - * @return the numero civico domicilio of this bo soggetto - */ - @AutoEscape - public String getNumeroCivicoDomicilio(); - - /** - * Sets the numero civico domicilio of this bo soggetto. - * - * @param numeroCivicoDomicilio the numero civico domicilio of this bo soggetto - */ - public void setNumeroCivicoDomicilio(String numeroCivicoDomicilio); - - /** - * Returns the cap domicilio of this bo soggetto. - * - * @return the cap domicilio of this bo soggetto - */ - @AutoEscape - public String getCapDomicilio(); - - /** - * Sets the cap domicilio of this bo soggetto. - * - * @param capDomicilio the cap domicilio of this bo soggetto - */ - public void setCapDomicilio(String capDomicilio); - - /** - * Returns the domicilio extra of this bo soggetto. - * - * @return the domicilio extra of this bo soggetto - */ - @AutoEscape - public String getDomicilioExtra(); - - /** - * Sets the domicilio extra of this bo soggetto. - * - * @param domicilioExtra the domicilio extra of this bo soggetto - */ - public void setDomicilioExtra(String domicilioExtra); - - /** - * Returns the comune of this bo soggetto. - * - * @return the comune of this bo soggetto - */ - @AutoEscape - public String getComune(); - - /** - * Sets the comune of this bo soggetto. - * - * @param comune the comune of this bo soggetto - */ - public void setComune(String comune); - - /** - * Returns the provincia of this bo soggetto. - * - * @return the provincia of this bo soggetto - */ - @AutoEscape - public String getProvincia(); - - /** - * Sets the provincia of this bo soggetto. - * - * @param provincia the provincia of this bo soggetto - */ - public void setProvincia(String provincia); - - /** - * Returns the via of this bo soggetto. - * - * @return the via of this bo soggetto - */ - @AutoEscape - public String getVia(); - - /** - * Sets the via of this bo soggetto. - * - * @param via the via of this bo soggetto - */ - public void setVia(String via); - - /** - * Returns the numero civico of this bo soggetto. - * - * @return the numero civico of this bo soggetto - */ - @AutoEscape - public String getNumeroCivico(); - - /** - * Sets the numero civico of this bo soggetto. - * - * @param numeroCivico the numero civico of this bo soggetto - */ - public void setNumeroCivico(String numeroCivico); - - /** - * Returns the cap of this bo soggetto. - * - * @return the cap of this bo soggetto - */ - @AutoEscape - public String getCap(); - - /** - * Sets the cap of this bo soggetto. - * - * @param cap the cap of this bo soggetto - */ - public void setCap(String cap); - - /** - * Returns the denominazione of this bo soggetto. - * - * @return the denominazione of this bo soggetto - */ - @AutoEscape - public String getDenominazione(); - - /** - * Sets the denominazione of this bo soggetto. - * - * @param denominazione the denominazione of this bo soggetto - */ - public void setDenominazione(String denominazione); - - /** - * Returns the sede legale of this bo soggetto. - * - * @return the sede legale of this bo soggetto - */ - @AutoEscape - public String getSedeLegale(); - - /** - * Sets the sede legale of this bo soggetto. - * - * @param sedeLegale the sede legale of this bo soggetto - */ - public void setSedeLegale(String sedeLegale); - - /** - * Returns the legale rap of this bo soggetto. - * - * @return the legale rap of this bo soggetto - */ - @AutoEscape - public String getLegaleRap(); - - /** - * Sets the legale rap of this bo soggetto. - * - * @param legaleRap the legale rap of this bo soggetto - */ - public void setLegaleRap(String legaleRap); - - /** - * Returns the data nascita rap of this bo soggetto. - * - * @return the data nascita rap of this bo soggetto - */ - public Date getDataNascitaRap(); - - /** - * Sets the data nascita rap of this bo soggetto. - * - * @param dataNascitaRap the data nascita rap of this bo soggetto - */ - public void setDataNascitaRap(Date dataNascitaRap); - - /** - * Returns the comune nascita rap of this bo soggetto. - * - * @return the comune nascita rap of this bo soggetto - */ - @AutoEscape - public String getComuneNascitaRap(); - - /** - * Sets the comune nascita rap of this bo soggetto. - * - * @param comuneNascitaRap the comune nascita rap of this bo soggetto - */ - public void setComuneNascitaRap(String comuneNascitaRap); - - /** - * Returns the via rap of this bo soggetto. - * - * @return the via rap of this bo soggetto - */ - @AutoEscape - public String getViaRap(); - - /** - * Sets the via rap of this bo soggetto. - * - * @param viaRap the via rap of this bo soggetto - */ - public void setViaRap(String viaRap); - - /** - * Returns the numero civico rap of this bo soggetto. - * - * @return the numero civico rap of this bo soggetto - */ - @AutoEscape - public String getNumeroCivicoRap(); - - /** - * Sets the numero civico rap of this bo soggetto. - * - * @param numeroCivicoRap the numero civico rap of this bo soggetto - */ - public void setNumeroCivicoRap(String numeroCivicoRap); - - /** - * Returns the cap rap of this bo soggetto. - * - * @return the cap rap of this bo soggetto - */ - @AutoEscape - public String getCapRap(); - - /** - * Sets the cap rap of this bo soggetto. - * - * @param capRap the cap rap of this bo soggetto - */ - public void setCapRap(String capRap); - - /** - * Returns the provincia rap of this bo soggetto. - * - * @return the provincia rap of this bo soggetto - */ - @AutoEscape - public String getProvinciaRap(); - - /** - * Sets the provincia rap of this bo soggetto. - * - * @param provinciaRap the provincia rap of this bo soggetto - */ - public void setProvinciaRap(String provinciaRap); - - /** - * Returns the comune rap of this bo soggetto. - * - * @return the comune rap of this bo soggetto - */ - @AutoEscape - public String getComuneRap(); - - /** - * Sets the comune rap of this bo soggetto. - * - * @param comuneRap the comune rap of this bo soggetto - */ - public void setComuneRap(String comuneRap); - - /** - * Returns the albo of this bo soggetto. - * - * @return the albo of this bo soggetto - */ - @AutoEscape - public String getAlbo(); - - /** - * Sets the albo of this bo soggetto. - * - * @param albo the albo of this bo soggetto - */ - public void setAlbo(String albo); - - /** - * Returns the reg albo of this bo soggetto. - * - * @return the reg albo of this bo soggetto - */ - @AutoEscape - public String getRegAlbo(); - - /** - * Sets the reg albo of this bo soggetto. - * - * @param regAlbo the reg albo of this bo soggetto - */ - public void setRegAlbo(String regAlbo); - - /** - * Returns the prov albo of this bo soggetto. - * - * @return the prov albo of this bo soggetto - */ - @AutoEscape - public String getProvAlbo(); - - /** - * Sets the prov albo of this bo soggetto. - * - * @param provAlbo the prov albo of this bo soggetto - */ - public void setProvAlbo(String provAlbo); - - /** - * Returns the num iscr albo of this bo soggetto. - * - * @return the num iscr albo of this bo soggetto - */ - @AutoEscape - public String getNumIscrAlbo(); - - /** - * Sets the num iscr albo of this bo soggetto. - * - * @param numIscrAlbo the num iscr albo of this bo soggetto - */ - public void setNumIscrAlbo(String numIscrAlbo); - - /** - * Returns the telefono of this bo soggetto. - * - * @return the telefono of this bo soggetto - */ - @AutoEscape - public String getTelefono(); - - /** - * Sets the telefono of this bo soggetto. - * - * @param telefono the telefono of this bo soggetto - */ - public void setTelefono(String telefono); - - /** - * Returns the fax of this bo soggetto. - * - * @return the fax of this bo soggetto - */ - @AutoEscape - public String getFax(); - - /** - * Sets the fax of this bo soggetto. - * - * @param fax the fax of this bo soggetto - */ - public void setFax(String fax); - - /** - * Returns the email of this bo soggetto. - * - * @return the email of this bo soggetto - */ - @AutoEscape - public String getEmail(); - - /** - * Sets the email of this bo soggetto. - * - * @param email the email of this bo soggetto - */ - public void setEmail(String email); - - /** - * Returns the tipologia soggetto of this bo soggetto. - * - * @return the tipologia soggetto of this bo soggetto - */ - @AutoEscape - public String getTipologiaSoggetto(); - - /** - * Sets the tipologia soggetto of this bo soggetto. - * - * @param tipologiaSoggetto the tipologia soggetto of this bo soggetto - */ - public void setTipologiaSoggetto(String tipologiaSoggetto); - - /** - * Returns the tipologia professione of this bo soggetto. - * - * @return the tipologia professione of this bo soggetto - */ - @AutoEscape - public String getTipologiaProfessione(); - - /** - * Sets the tipologia professione of this bo soggetto. - * - * @param tipologiaProfessione the tipologia professione of this bo soggetto - */ - public void setTipologiaProfessione(String tipologiaProfessione); - - /** - * Returns the aggiuntivo of this bo soggetto. - * - * @return the aggiuntivo of this bo soggetto - */ - public boolean getAggiuntivo(); - - /** - * Returns true if this bo soggetto is aggiuntivo. - * - * @return true if this bo soggetto is aggiuntivo; false otherwise - */ - public boolean isAggiuntivo(); - - /** - * Sets whether this bo soggetto is aggiuntivo. - * - * @param aggiuntivo the aggiuntivo of this bo soggetto - */ - public void setAggiuntivo(boolean aggiuntivo); - - /** - * Returns the sostituito of this bo soggetto. - * - * @return the sostituito of this bo soggetto - */ - public boolean getSostituito(); - - /** - * Returns true if this bo soggetto is sostituito. - * - * @return true if this bo soggetto is sostituito; false otherwise - */ - public boolean isSostituito(); - - /** - * Sets whether this bo soggetto is sostituito. - * - * @param sostituito the sostituito of this bo soggetto - */ - public void setSostituito(boolean sostituito); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.BoSoggetto boSoggetto); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.importazione.model.BoSoggetto toEscapedModel(); - - @Override - public it.tref.liferay.portos.importazione.model.BoSoggetto toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSoggettoSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSoggettoSoap.java deleted file mode 100644 index eea869a9..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSoggettoSoap.java +++ /dev/null @@ -1,563 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author 3FC - * @generated - */ -public class BoSoggettoSoap implements Serializable { - public static BoSoggettoSoap toSoapModel(BoSoggetto model) { - BoSoggettoSoap soapModel = new BoSoggettoSoap(); - - soapModel.setUuid(model.getUuid()); - soapModel.setSoggettoId(model.getSoggettoId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setDettPraticaId(model.getDettPraticaId()); - soapModel.setNome(model.getNome()); - soapModel.setCognome(model.getCognome()); - soapModel.setCodiceFiscale(model.getCodiceFiscale()); - soapModel.setCodiceFiscaleDelegato(model.getCodiceFiscaleDelegato()); - soapModel.setDataNascita(model.getDataNascita()); - soapModel.setComuneNascita(model.getComuneNascita()); - soapModel.setComuneDomicilio(model.getComuneDomicilio()); - soapModel.setProvinciaDomicilio(model.getProvinciaDomicilio()); - soapModel.setViaDomicilio(model.getViaDomicilio()); - soapModel.setNumeroCivicoDomicilio(model.getNumeroCivicoDomicilio()); - soapModel.setCapDomicilio(model.getCapDomicilio()); - soapModel.setDomicilioExtra(model.getDomicilioExtra()); - soapModel.setComune(model.getComune()); - soapModel.setProvincia(model.getProvincia()); - soapModel.setVia(model.getVia()); - soapModel.setNumeroCivico(model.getNumeroCivico()); - soapModel.setCap(model.getCap()); - soapModel.setDenominazione(model.getDenominazione()); - soapModel.setSedeLegale(model.getSedeLegale()); - soapModel.setLegaleRap(model.getLegaleRap()); - soapModel.setDataNascitaRap(model.getDataNascitaRap()); - soapModel.setComuneNascitaRap(model.getComuneNascitaRap()); - soapModel.setViaRap(model.getViaRap()); - soapModel.setNumeroCivicoRap(model.getNumeroCivicoRap()); - soapModel.setCapRap(model.getCapRap()); - soapModel.setProvinciaRap(model.getProvinciaRap()); - soapModel.setComuneRap(model.getComuneRap()); - soapModel.setAlbo(model.getAlbo()); - soapModel.setRegAlbo(model.getRegAlbo()); - soapModel.setProvAlbo(model.getProvAlbo()); - soapModel.setNumIscrAlbo(model.getNumIscrAlbo()); - soapModel.setTelefono(model.getTelefono()); - soapModel.setFax(model.getFax()); - soapModel.setEmail(model.getEmail()); - soapModel.setTipologiaSoggetto(model.getTipologiaSoggetto()); - soapModel.setTipologiaProfessione(model.getTipologiaProfessione()); - soapModel.setAggiuntivo(model.getAggiuntivo()); - soapModel.setSostituito(model.getSostituito()); - - return soapModel; - } - - public static BoSoggettoSoap[] toSoapModels(BoSoggetto[] models) { - BoSoggettoSoap[] soapModels = new BoSoggettoSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static BoSoggettoSoap[][] toSoapModels(BoSoggetto[][] models) { - BoSoggettoSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new BoSoggettoSoap[models.length][models[0].length]; - } - else { - soapModels = new BoSoggettoSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static BoSoggettoSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (BoSoggetto model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new BoSoggettoSoap[soapModels.size()]); - } - - public BoSoggettoSoap() { - } - - public long getPrimaryKey() { - return _soggettoId; - } - - public void setPrimaryKey(long pk) { - setSoggettoId(pk); - } - - public String getUuid() { - return _uuid; - } - - public void setUuid(String uuid) { - _uuid = uuid; - } - - public long getSoggettoId() { - return _soggettoId; - } - - public void setSoggettoId(long soggettoId) { - _soggettoId = soggettoId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public long getDettPraticaId() { - return _dettPraticaId; - } - - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - } - - public String getNome() { - return _nome; - } - - public void setNome(String nome) { - _nome = nome; - } - - public String getCognome() { - return _cognome; - } - - public void setCognome(String cognome) { - _cognome = cognome; - } - - public String getCodiceFiscale() { - return _codiceFiscale; - } - - public void setCodiceFiscale(String codiceFiscale) { - _codiceFiscale = codiceFiscale; - } - - public String getCodiceFiscaleDelegato() { - return _codiceFiscaleDelegato; - } - - public void setCodiceFiscaleDelegato(String codiceFiscaleDelegato) { - _codiceFiscaleDelegato = codiceFiscaleDelegato; - } - - public Date getDataNascita() { - return _dataNascita; - } - - public void setDataNascita(Date dataNascita) { - _dataNascita = dataNascita; - } - - public String getComuneNascita() { - return _comuneNascita; - } - - public void setComuneNascita(String comuneNascita) { - _comuneNascita = comuneNascita; - } - - public String getComuneDomicilio() { - return _comuneDomicilio; - } - - public void setComuneDomicilio(String comuneDomicilio) { - _comuneDomicilio = comuneDomicilio; - } - - public String getProvinciaDomicilio() { - return _provinciaDomicilio; - } - - public void setProvinciaDomicilio(String provinciaDomicilio) { - _provinciaDomicilio = provinciaDomicilio; - } - - public String getViaDomicilio() { - return _viaDomicilio; - } - - public void setViaDomicilio(String viaDomicilio) { - _viaDomicilio = viaDomicilio; - } - - public String getNumeroCivicoDomicilio() { - return _numeroCivicoDomicilio; - } - - public void setNumeroCivicoDomicilio(String numeroCivicoDomicilio) { - _numeroCivicoDomicilio = numeroCivicoDomicilio; - } - - public String getCapDomicilio() { - return _capDomicilio; - } - - public void setCapDomicilio(String capDomicilio) { - _capDomicilio = capDomicilio; - } - - public String getDomicilioExtra() { - return _domicilioExtra; - } - - public void setDomicilioExtra(String domicilioExtra) { - _domicilioExtra = domicilioExtra; - } - - public String getComune() { - return _comune; - } - - public void setComune(String comune) { - _comune = comune; - } - - public String getProvincia() { - return _provincia; - } - - public void setProvincia(String provincia) { - _provincia = provincia; - } - - public String getVia() { - return _via; - } - - public void setVia(String via) { - _via = via; - } - - public String getNumeroCivico() { - return _numeroCivico; - } - - public void setNumeroCivico(String numeroCivico) { - _numeroCivico = numeroCivico; - } - - public String getCap() { - return _cap; - } - - public void setCap(String cap) { - _cap = cap; - } - - public String getDenominazione() { - return _denominazione; - } - - public void setDenominazione(String denominazione) { - _denominazione = denominazione; - } - - public String getSedeLegale() { - return _sedeLegale; - } - - public void setSedeLegale(String sedeLegale) { - _sedeLegale = sedeLegale; - } - - public String getLegaleRap() { - return _legaleRap; - } - - public void setLegaleRap(String legaleRap) { - _legaleRap = legaleRap; - } - - public Date getDataNascitaRap() { - return _dataNascitaRap; - } - - public void setDataNascitaRap(Date dataNascitaRap) { - _dataNascitaRap = dataNascitaRap; - } - - public String getComuneNascitaRap() { - return _comuneNascitaRap; - } - - public void setComuneNascitaRap(String comuneNascitaRap) { - _comuneNascitaRap = comuneNascitaRap; - } - - public String getViaRap() { - return _viaRap; - } - - public void setViaRap(String viaRap) { - _viaRap = viaRap; - } - - public String getNumeroCivicoRap() { - return _numeroCivicoRap; - } - - public void setNumeroCivicoRap(String numeroCivicoRap) { - _numeroCivicoRap = numeroCivicoRap; - } - - public String getCapRap() { - return _capRap; - } - - public void setCapRap(String capRap) { - _capRap = capRap; - } - - public String getProvinciaRap() { - return _provinciaRap; - } - - public void setProvinciaRap(String provinciaRap) { - _provinciaRap = provinciaRap; - } - - public String getComuneRap() { - return _comuneRap; - } - - public void setComuneRap(String comuneRap) { - _comuneRap = comuneRap; - } - - public String getAlbo() { - return _albo; - } - - public void setAlbo(String albo) { - _albo = albo; - } - - public String getRegAlbo() { - return _regAlbo; - } - - public void setRegAlbo(String regAlbo) { - _regAlbo = regAlbo; - } - - public String getProvAlbo() { - return _provAlbo; - } - - public void setProvAlbo(String provAlbo) { - _provAlbo = provAlbo; - } - - public String getNumIscrAlbo() { - return _numIscrAlbo; - } - - public void setNumIscrAlbo(String numIscrAlbo) { - _numIscrAlbo = numIscrAlbo; - } - - public String getTelefono() { - return _telefono; - } - - public void setTelefono(String telefono) { - _telefono = telefono; - } - - public String getFax() { - return _fax; - } - - public void setFax(String fax) { - _fax = fax; - } - - public String getEmail() { - return _email; - } - - public void setEmail(String email) { - _email = email; - } - - public String getTipologiaSoggetto() { - return _tipologiaSoggetto; - } - - public void setTipologiaSoggetto(String tipologiaSoggetto) { - _tipologiaSoggetto = tipologiaSoggetto; - } - - public String getTipologiaProfessione() { - return _tipologiaProfessione; - } - - public void setTipologiaProfessione(String tipologiaProfessione) { - _tipologiaProfessione = tipologiaProfessione; - } - - public boolean getAggiuntivo() { - return _aggiuntivo; - } - - public boolean isAggiuntivo() { - return _aggiuntivo; - } - - public void setAggiuntivo(boolean aggiuntivo) { - _aggiuntivo = aggiuntivo; - } - - public boolean getSostituito() { - return _sostituito; - } - - public boolean isSostituito() { - return _sostituito; - } - - public void setSostituito(boolean sostituito) { - _sostituito = sostituito; - } - - private String _uuid; - private long _soggettoId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _dettPraticaId; - private String _nome; - private String _cognome; - private String _codiceFiscale; - private String _codiceFiscaleDelegato; - private Date _dataNascita; - private String _comuneNascita; - private String _comuneDomicilio; - private String _provinciaDomicilio; - private String _viaDomicilio; - private String _numeroCivicoDomicilio; - private String _capDomicilio; - private String _domicilioExtra; - private String _comune; - private String _provincia; - private String _via; - private String _numeroCivico; - private String _cap; - private String _denominazione; - private String _sedeLegale; - private String _legaleRap; - private Date _dataNascitaRap; - private String _comuneNascitaRap; - private String _viaRap; - private String _numeroCivicoRap; - private String _capRap; - private String _provinciaRap; - private String _comuneRap; - private String _albo; - private String _regAlbo; - private String _provAlbo; - private String _numIscrAlbo; - private String _telefono; - private String _fax; - private String _email; - private String _tipologiaSoggetto; - private String _tipologiaProfessione; - private boolean _aggiuntivo; - private boolean _sostituito; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSoggettoWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSoggettoWrapper.java deleted file mode 100644 index ca6fb013..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSoggettoWrapper.java +++ /dev/null @@ -1,1541 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link BoSoggetto}. - *

- * - * @author 3FC - * @see BoSoggetto - * @generated - */ -public class BoSoggettoWrapper implements BoSoggetto, ModelWrapper { - public BoSoggettoWrapper(BoSoggetto boSoggetto) { - _boSoggetto = boSoggetto; - } - - @Override - public Class getModelClass() { - return BoSoggetto.class; - } - - @Override - public String getModelClassName() { - return BoSoggetto.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("soggettoId", getSoggettoId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("nome", getNome()); - attributes.put("cognome", getCognome()); - attributes.put("codiceFiscale", getCodiceFiscale()); - attributes.put("codiceFiscaleDelegato", getCodiceFiscaleDelegato()); - attributes.put("dataNascita", getDataNascita()); - attributes.put("comuneNascita", getComuneNascita()); - attributes.put("comuneDomicilio", getComuneDomicilio()); - attributes.put("provinciaDomicilio", getProvinciaDomicilio()); - attributes.put("viaDomicilio", getViaDomicilio()); - attributes.put("numeroCivicoDomicilio", getNumeroCivicoDomicilio()); - attributes.put("capDomicilio", getCapDomicilio()); - attributes.put("domicilioExtra", getDomicilioExtra()); - attributes.put("comune", getComune()); - attributes.put("provincia", getProvincia()); - attributes.put("via", getVia()); - attributes.put("numeroCivico", getNumeroCivico()); - attributes.put("cap", getCap()); - attributes.put("denominazione", getDenominazione()); - attributes.put("sedeLegale", getSedeLegale()); - attributes.put("legaleRap", getLegaleRap()); - attributes.put("dataNascitaRap", getDataNascitaRap()); - attributes.put("comuneNascitaRap", getComuneNascitaRap()); - attributes.put("viaRap", getViaRap()); - attributes.put("numeroCivicoRap", getNumeroCivicoRap()); - attributes.put("capRap", getCapRap()); - attributes.put("provinciaRap", getProvinciaRap()); - attributes.put("comuneRap", getComuneRap()); - attributes.put("albo", getAlbo()); - attributes.put("regAlbo", getRegAlbo()); - attributes.put("provAlbo", getProvAlbo()); - attributes.put("numIscrAlbo", getNumIscrAlbo()); - attributes.put("telefono", getTelefono()); - attributes.put("fax", getFax()); - attributes.put("email", getEmail()); - attributes.put("tipologiaSoggetto", getTipologiaSoggetto()); - attributes.put("tipologiaProfessione", getTipologiaProfessione()); - attributes.put("aggiuntivo", getAggiuntivo()); - attributes.put("sostituito", getSostituito()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long soggettoId = (Long)attributes.get("soggettoId"); - - if (soggettoId != null) { - setSoggettoId(soggettoId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - String nome = (String)attributes.get("nome"); - - if (nome != null) { - setNome(nome); - } - - String cognome = (String)attributes.get("cognome"); - - if (cognome != null) { - setCognome(cognome); - } - - String codiceFiscale = (String)attributes.get("codiceFiscale"); - - if (codiceFiscale != null) { - setCodiceFiscale(codiceFiscale); - } - - String codiceFiscaleDelegato = (String)attributes.get( - "codiceFiscaleDelegato"); - - if (codiceFiscaleDelegato != null) { - setCodiceFiscaleDelegato(codiceFiscaleDelegato); - } - - Date dataNascita = (Date)attributes.get("dataNascita"); - - if (dataNascita != null) { - setDataNascita(dataNascita); - } - - String comuneNascita = (String)attributes.get("comuneNascita"); - - if (comuneNascita != null) { - setComuneNascita(comuneNascita); - } - - String comuneDomicilio = (String)attributes.get("comuneDomicilio"); - - if (comuneDomicilio != null) { - setComuneDomicilio(comuneDomicilio); - } - - String provinciaDomicilio = (String)attributes.get("provinciaDomicilio"); - - if (provinciaDomicilio != null) { - setProvinciaDomicilio(provinciaDomicilio); - } - - String viaDomicilio = (String)attributes.get("viaDomicilio"); - - if (viaDomicilio != null) { - setViaDomicilio(viaDomicilio); - } - - String numeroCivicoDomicilio = (String)attributes.get( - "numeroCivicoDomicilio"); - - if (numeroCivicoDomicilio != null) { - setNumeroCivicoDomicilio(numeroCivicoDomicilio); - } - - String capDomicilio = (String)attributes.get("capDomicilio"); - - if (capDomicilio != null) { - setCapDomicilio(capDomicilio); - } - - String domicilioExtra = (String)attributes.get("domicilioExtra"); - - if (domicilioExtra != null) { - setDomicilioExtra(domicilioExtra); - } - - String comune = (String)attributes.get("comune"); - - if (comune != null) { - setComune(comune); - } - - String provincia = (String)attributes.get("provincia"); - - if (provincia != null) { - setProvincia(provincia); - } - - String via = (String)attributes.get("via"); - - if (via != null) { - setVia(via); - } - - String numeroCivico = (String)attributes.get("numeroCivico"); - - if (numeroCivico != null) { - setNumeroCivico(numeroCivico); - } - - String cap = (String)attributes.get("cap"); - - if (cap != null) { - setCap(cap); - } - - String denominazione = (String)attributes.get("denominazione"); - - if (denominazione != null) { - setDenominazione(denominazione); - } - - String sedeLegale = (String)attributes.get("sedeLegale"); - - if (sedeLegale != null) { - setSedeLegale(sedeLegale); - } - - String legaleRap = (String)attributes.get("legaleRap"); - - if (legaleRap != null) { - setLegaleRap(legaleRap); - } - - Date dataNascitaRap = (Date)attributes.get("dataNascitaRap"); - - if (dataNascitaRap != null) { - setDataNascitaRap(dataNascitaRap); - } - - String comuneNascitaRap = (String)attributes.get("comuneNascitaRap"); - - if (comuneNascitaRap != null) { - setComuneNascitaRap(comuneNascitaRap); - } - - String viaRap = (String)attributes.get("viaRap"); - - if (viaRap != null) { - setViaRap(viaRap); - } - - String numeroCivicoRap = (String)attributes.get("numeroCivicoRap"); - - if (numeroCivicoRap != null) { - setNumeroCivicoRap(numeroCivicoRap); - } - - String capRap = (String)attributes.get("capRap"); - - if (capRap != null) { - setCapRap(capRap); - } - - String provinciaRap = (String)attributes.get("provinciaRap"); - - if (provinciaRap != null) { - setProvinciaRap(provinciaRap); - } - - String comuneRap = (String)attributes.get("comuneRap"); - - if (comuneRap != null) { - setComuneRap(comuneRap); - } - - String albo = (String)attributes.get("albo"); - - if (albo != null) { - setAlbo(albo); - } - - String regAlbo = (String)attributes.get("regAlbo"); - - if (regAlbo != null) { - setRegAlbo(regAlbo); - } - - String provAlbo = (String)attributes.get("provAlbo"); - - if (provAlbo != null) { - setProvAlbo(provAlbo); - } - - String numIscrAlbo = (String)attributes.get("numIscrAlbo"); - - if (numIscrAlbo != null) { - setNumIscrAlbo(numIscrAlbo); - } - - String telefono = (String)attributes.get("telefono"); - - if (telefono != null) { - setTelefono(telefono); - } - - String fax = (String)attributes.get("fax"); - - if (fax != null) { - setFax(fax); - } - - String email = (String)attributes.get("email"); - - if (email != null) { - setEmail(email); - } - - String tipologiaSoggetto = (String)attributes.get("tipologiaSoggetto"); - - if (tipologiaSoggetto != null) { - setTipologiaSoggetto(tipologiaSoggetto); - } - - String tipologiaProfessione = (String)attributes.get( - "tipologiaProfessione"); - - if (tipologiaProfessione != null) { - setTipologiaProfessione(tipologiaProfessione); - } - - Boolean aggiuntivo = (Boolean)attributes.get("aggiuntivo"); - - if (aggiuntivo != null) { - setAggiuntivo(aggiuntivo); - } - - Boolean sostituito = (Boolean)attributes.get("sostituito"); - - if (sostituito != null) { - setSostituito(sostituito); - } - } - - /** - * Returns the primary key of this bo soggetto. - * - * @return the primary key of this bo soggetto - */ - @Override - public long getPrimaryKey() { - return _boSoggetto.getPrimaryKey(); - } - - /** - * Sets the primary key of this bo soggetto. - * - * @param primaryKey the primary key of this bo soggetto - */ - @Override - public void setPrimaryKey(long primaryKey) { - _boSoggetto.setPrimaryKey(primaryKey); - } - - /** - * Returns the uuid of this bo soggetto. - * - * @return the uuid of this bo soggetto - */ - @Override - public java.lang.String getUuid() { - return _boSoggetto.getUuid(); - } - - /** - * Sets the uuid of this bo soggetto. - * - * @param uuid the uuid of this bo soggetto - */ - @Override - public void setUuid(java.lang.String uuid) { - _boSoggetto.setUuid(uuid); - } - - /** - * Returns the soggetto ID of this bo soggetto. - * - * @return the soggetto ID of this bo soggetto - */ - @Override - public long getSoggettoId() { - return _boSoggetto.getSoggettoId(); - } - - /** - * Sets the soggetto ID of this bo soggetto. - * - * @param soggettoId the soggetto ID of this bo soggetto - */ - @Override - public void setSoggettoId(long soggettoId) { - _boSoggetto.setSoggettoId(soggettoId); - } - - /** - * Returns the company ID of this bo soggetto. - * - * @return the company ID of this bo soggetto - */ - @Override - public long getCompanyId() { - return _boSoggetto.getCompanyId(); - } - - /** - * Sets the company ID of this bo soggetto. - * - * @param companyId the company ID of this bo soggetto - */ - @Override - public void setCompanyId(long companyId) { - _boSoggetto.setCompanyId(companyId); - } - - /** - * Returns the user ID of this bo soggetto. - * - * @return the user ID of this bo soggetto - */ - @Override - public long getUserId() { - return _boSoggetto.getUserId(); - } - - /** - * Sets the user ID of this bo soggetto. - * - * @param userId the user ID of this bo soggetto - */ - @Override - public void setUserId(long userId) { - _boSoggetto.setUserId(userId); - } - - /** - * Returns the user uuid of this bo soggetto. - * - * @return the user uuid of this bo soggetto - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _boSoggetto.getUserUuid(); - } - - /** - * Sets the user uuid of this bo soggetto. - * - * @param userUuid the user uuid of this bo soggetto - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _boSoggetto.setUserUuid(userUuid); - } - - /** - * Returns the user name of this bo soggetto. - * - * @return the user name of this bo soggetto - */ - @Override - public java.lang.String getUserName() { - return _boSoggetto.getUserName(); - } - - /** - * Sets the user name of this bo soggetto. - * - * @param userName the user name of this bo soggetto - */ - @Override - public void setUserName(java.lang.String userName) { - _boSoggetto.setUserName(userName); - } - - /** - * Returns the create date of this bo soggetto. - * - * @return the create date of this bo soggetto - */ - @Override - public java.util.Date getCreateDate() { - return _boSoggetto.getCreateDate(); - } - - /** - * Sets the create date of this bo soggetto. - * - * @param createDate the create date of this bo soggetto - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _boSoggetto.setCreateDate(createDate); - } - - /** - * Returns the modified date of this bo soggetto. - * - * @return the modified date of this bo soggetto - */ - @Override - public java.util.Date getModifiedDate() { - return _boSoggetto.getModifiedDate(); - } - - /** - * Sets the modified date of this bo soggetto. - * - * @param modifiedDate the modified date of this bo soggetto - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _boSoggetto.setModifiedDate(modifiedDate); - } - - /** - * Returns the group ID of this bo soggetto. - * - * @return the group ID of this bo soggetto - */ - @Override - public long getGroupId() { - return _boSoggetto.getGroupId(); - } - - /** - * Sets the group ID of this bo soggetto. - * - * @param groupId the group ID of this bo soggetto - */ - @Override - public void setGroupId(long groupId) { - _boSoggetto.setGroupId(groupId); - } - - /** - * Returns the dett pratica ID of this bo soggetto. - * - * @return the dett pratica ID of this bo soggetto - */ - @Override - public long getDettPraticaId() { - return _boSoggetto.getDettPraticaId(); - } - - /** - * Sets the dett pratica ID of this bo soggetto. - * - * @param dettPraticaId the dett pratica ID of this bo soggetto - */ - @Override - public void setDettPraticaId(long dettPraticaId) { - _boSoggetto.setDettPraticaId(dettPraticaId); - } - - /** - * Returns the nome of this bo soggetto. - * - * @return the nome of this bo soggetto - */ - @Override - public java.lang.String getNome() { - return _boSoggetto.getNome(); - } - - /** - * Sets the nome of this bo soggetto. - * - * @param nome the nome of this bo soggetto - */ - @Override - public void setNome(java.lang.String nome) { - _boSoggetto.setNome(nome); - } - - /** - * Returns the cognome of this bo soggetto. - * - * @return the cognome of this bo soggetto - */ - @Override - public java.lang.String getCognome() { - return _boSoggetto.getCognome(); - } - - /** - * Sets the cognome of this bo soggetto. - * - * @param cognome the cognome of this bo soggetto - */ - @Override - public void setCognome(java.lang.String cognome) { - _boSoggetto.setCognome(cognome); - } - - /** - * Returns the codice fiscale of this bo soggetto. - * - * @return the codice fiscale of this bo soggetto - */ - @Override - public java.lang.String getCodiceFiscale() { - return _boSoggetto.getCodiceFiscale(); - } - - /** - * Sets the codice fiscale of this bo soggetto. - * - * @param codiceFiscale the codice fiscale of this bo soggetto - */ - @Override - public void setCodiceFiscale(java.lang.String codiceFiscale) { - _boSoggetto.setCodiceFiscale(codiceFiscale); - } - - /** - * Returns the codice fiscale delegato of this bo soggetto. - * - * @return the codice fiscale delegato of this bo soggetto - */ - @Override - public java.lang.String getCodiceFiscaleDelegato() { - return _boSoggetto.getCodiceFiscaleDelegato(); - } - - /** - * Sets the codice fiscale delegato of this bo soggetto. - * - * @param codiceFiscaleDelegato the codice fiscale delegato of this bo soggetto - */ - @Override - public void setCodiceFiscaleDelegato(java.lang.String codiceFiscaleDelegato) { - _boSoggetto.setCodiceFiscaleDelegato(codiceFiscaleDelegato); - } - - /** - * Returns the data nascita of this bo soggetto. - * - * @return the data nascita of this bo soggetto - */ - @Override - public java.util.Date getDataNascita() { - return _boSoggetto.getDataNascita(); - } - - /** - * Sets the data nascita of this bo soggetto. - * - * @param dataNascita the data nascita of this bo soggetto - */ - @Override - public void setDataNascita(java.util.Date dataNascita) { - _boSoggetto.setDataNascita(dataNascita); - } - - /** - * Returns the comune nascita of this bo soggetto. - * - * @return the comune nascita of this bo soggetto - */ - @Override - public java.lang.String getComuneNascita() { - return _boSoggetto.getComuneNascita(); - } - - /** - * Sets the comune nascita of this bo soggetto. - * - * @param comuneNascita the comune nascita of this bo soggetto - */ - @Override - public void setComuneNascita(java.lang.String comuneNascita) { - _boSoggetto.setComuneNascita(comuneNascita); - } - - /** - * Returns the comune domicilio of this bo soggetto. - * - * @return the comune domicilio of this bo soggetto - */ - @Override - public java.lang.String getComuneDomicilio() { - return _boSoggetto.getComuneDomicilio(); - } - - /** - * Sets the comune domicilio of this bo soggetto. - * - * @param comuneDomicilio the comune domicilio of this bo soggetto - */ - @Override - public void setComuneDomicilio(java.lang.String comuneDomicilio) { - _boSoggetto.setComuneDomicilio(comuneDomicilio); - } - - /** - * Returns the provincia domicilio of this bo soggetto. - * - * @return the provincia domicilio of this bo soggetto - */ - @Override - public java.lang.String getProvinciaDomicilio() { - return _boSoggetto.getProvinciaDomicilio(); - } - - /** - * Sets the provincia domicilio of this bo soggetto. - * - * @param provinciaDomicilio the provincia domicilio of this bo soggetto - */ - @Override - public void setProvinciaDomicilio(java.lang.String provinciaDomicilio) { - _boSoggetto.setProvinciaDomicilio(provinciaDomicilio); - } - - /** - * Returns the via domicilio of this bo soggetto. - * - * @return the via domicilio of this bo soggetto - */ - @Override - public java.lang.String getViaDomicilio() { - return _boSoggetto.getViaDomicilio(); - } - - /** - * Sets the via domicilio of this bo soggetto. - * - * @param viaDomicilio the via domicilio of this bo soggetto - */ - @Override - public void setViaDomicilio(java.lang.String viaDomicilio) { - _boSoggetto.setViaDomicilio(viaDomicilio); - } - - /** - * Returns the numero civico domicilio of this bo soggetto. - * - * @return the numero civico domicilio of this bo soggetto - */ - @Override - public java.lang.String getNumeroCivicoDomicilio() { - return _boSoggetto.getNumeroCivicoDomicilio(); - } - - /** - * Sets the numero civico domicilio of this bo soggetto. - * - * @param numeroCivicoDomicilio the numero civico domicilio of this bo soggetto - */ - @Override - public void setNumeroCivicoDomicilio(java.lang.String numeroCivicoDomicilio) { - _boSoggetto.setNumeroCivicoDomicilio(numeroCivicoDomicilio); - } - - /** - * Returns the cap domicilio of this bo soggetto. - * - * @return the cap domicilio of this bo soggetto - */ - @Override - public java.lang.String getCapDomicilio() { - return _boSoggetto.getCapDomicilio(); - } - - /** - * Sets the cap domicilio of this bo soggetto. - * - * @param capDomicilio the cap domicilio of this bo soggetto - */ - @Override - public void setCapDomicilio(java.lang.String capDomicilio) { - _boSoggetto.setCapDomicilio(capDomicilio); - } - - /** - * Returns the domicilio extra of this bo soggetto. - * - * @return the domicilio extra of this bo soggetto - */ - @Override - public java.lang.String getDomicilioExtra() { - return _boSoggetto.getDomicilioExtra(); - } - - /** - * Sets the domicilio extra of this bo soggetto. - * - * @param domicilioExtra the domicilio extra of this bo soggetto - */ - @Override - public void setDomicilioExtra(java.lang.String domicilioExtra) { - _boSoggetto.setDomicilioExtra(domicilioExtra); - } - - /** - * Returns the comune of this bo soggetto. - * - * @return the comune of this bo soggetto - */ - @Override - public java.lang.String getComune() { - return _boSoggetto.getComune(); - } - - /** - * Sets the comune of this bo soggetto. - * - * @param comune the comune of this bo soggetto - */ - @Override - public void setComune(java.lang.String comune) { - _boSoggetto.setComune(comune); - } - - /** - * Returns the provincia of this bo soggetto. - * - * @return the provincia of this bo soggetto - */ - @Override - public java.lang.String getProvincia() { - return _boSoggetto.getProvincia(); - } - - /** - * Sets the provincia of this bo soggetto. - * - * @param provincia the provincia of this bo soggetto - */ - @Override - public void setProvincia(java.lang.String provincia) { - _boSoggetto.setProvincia(provincia); - } - - /** - * Returns the via of this bo soggetto. - * - * @return the via of this bo soggetto - */ - @Override - public java.lang.String getVia() { - return _boSoggetto.getVia(); - } - - /** - * Sets the via of this bo soggetto. - * - * @param via the via of this bo soggetto - */ - @Override - public void setVia(java.lang.String via) { - _boSoggetto.setVia(via); - } - - /** - * Returns the numero civico of this bo soggetto. - * - * @return the numero civico of this bo soggetto - */ - @Override - public java.lang.String getNumeroCivico() { - return _boSoggetto.getNumeroCivico(); - } - - /** - * Sets the numero civico of this bo soggetto. - * - * @param numeroCivico the numero civico of this bo soggetto - */ - @Override - public void setNumeroCivico(java.lang.String numeroCivico) { - _boSoggetto.setNumeroCivico(numeroCivico); - } - - /** - * Returns the cap of this bo soggetto. - * - * @return the cap of this bo soggetto - */ - @Override - public java.lang.String getCap() { - return _boSoggetto.getCap(); - } - - /** - * Sets the cap of this bo soggetto. - * - * @param cap the cap of this bo soggetto - */ - @Override - public void setCap(java.lang.String cap) { - _boSoggetto.setCap(cap); - } - - /** - * Returns the denominazione of this bo soggetto. - * - * @return the denominazione of this bo soggetto - */ - @Override - public java.lang.String getDenominazione() { - return _boSoggetto.getDenominazione(); - } - - /** - * Sets the denominazione of this bo soggetto. - * - * @param denominazione the denominazione of this bo soggetto - */ - @Override - public void setDenominazione(java.lang.String denominazione) { - _boSoggetto.setDenominazione(denominazione); - } - - /** - * Returns the sede legale of this bo soggetto. - * - * @return the sede legale of this bo soggetto - */ - @Override - public java.lang.String getSedeLegale() { - return _boSoggetto.getSedeLegale(); - } - - /** - * Sets the sede legale of this bo soggetto. - * - * @param sedeLegale the sede legale of this bo soggetto - */ - @Override - public void setSedeLegale(java.lang.String sedeLegale) { - _boSoggetto.setSedeLegale(sedeLegale); - } - - /** - * Returns the legale rap of this bo soggetto. - * - * @return the legale rap of this bo soggetto - */ - @Override - public java.lang.String getLegaleRap() { - return _boSoggetto.getLegaleRap(); - } - - /** - * Sets the legale rap of this bo soggetto. - * - * @param legaleRap the legale rap of this bo soggetto - */ - @Override - public void setLegaleRap(java.lang.String legaleRap) { - _boSoggetto.setLegaleRap(legaleRap); - } - - /** - * Returns the data nascita rap of this bo soggetto. - * - * @return the data nascita rap of this bo soggetto - */ - @Override - public java.util.Date getDataNascitaRap() { - return _boSoggetto.getDataNascitaRap(); - } - - /** - * Sets the data nascita rap of this bo soggetto. - * - * @param dataNascitaRap the data nascita rap of this bo soggetto - */ - @Override - public void setDataNascitaRap(java.util.Date dataNascitaRap) { - _boSoggetto.setDataNascitaRap(dataNascitaRap); - } - - /** - * Returns the comune nascita rap of this bo soggetto. - * - * @return the comune nascita rap of this bo soggetto - */ - @Override - public java.lang.String getComuneNascitaRap() { - return _boSoggetto.getComuneNascitaRap(); - } - - /** - * Sets the comune nascita rap of this bo soggetto. - * - * @param comuneNascitaRap the comune nascita rap of this bo soggetto - */ - @Override - public void setComuneNascitaRap(java.lang.String comuneNascitaRap) { - _boSoggetto.setComuneNascitaRap(comuneNascitaRap); - } - - /** - * Returns the via rap of this bo soggetto. - * - * @return the via rap of this bo soggetto - */ - @Override - public java.lang.String getViaRap() { - return _boSoggetto.getViaRap(); - } - - /** - * Sets the via rap of this bo soggetto. - * - * @param viaRap the via rap of this bo soggetto - */ - @Override - public void setViaRap(java.lang.String viaRap) { - _boSoggetto.setViaRap(viaRap); - } - - /** - * Returns the numero civico rap of this bo soggetto. - * - * @return the numero civico rap of this bo soggetto - */ - @Override - public java.lang.String getNumeroCivicoRap() { - return _boSoggetto.getNumeroCivicoRap(); - } - - /** - * Sets the numero civico rap of this bo soggetto. - * - * @param numeroCivicoRap the numero civico rap of this bo soggetto - */ - @Override - public void setNumeroCivicoRap(java.lang.String numeroCivicoRap) { - _boSoggetto.setNumeroCivicoRap(numeroCivicoRap); - } - - /** - * Returns the cap rap of this bo soggetto. - * - * @return the cap rap of this bo soggetto - */ - @Override - public java.lang.String getCapRap() { - return _boSoggetto.getCapRap(); - } - - /** - * Sets the cap rap of this bo soggetto. - * - * @param capRap the cap rap of this bo soggetto - */ - @Override - public void setCapRap(java.lang.String capRap) { - _boSoggetto.setCapRap(capRap); - } - - /** - * Returns the provincia rap of this bo soggetto. - * - * @return the provincia rap of this bo soggetto - */ - @Override - public java.lang.String getProvinciaRap() { - return _boSoggetto.getProvinciaRap(); - } - - /** - * Sets the provincia rap of this bo soggetto. - * - * @param provinciaRap the provincia rap of this bo soggetto - */ - @Override - public void setProvinciaRap(java.lang.String provinciaRap) { - _boSoggetto.setProvinciaRap(provinciaRap); - } - - /** - * Returns the comune rap of this bo soggetto. - * - * @return the comune rap of this bo soggetto - */ - @Override - public java.lang.String getComuneRap() { - return _boSoggetto.getComuneRap(); - } - - /** - * Sets the comune rap of this bo soggetto. - * - * @param comuneRap the comune rap of this bo soggetto - */ - @Override - public void setComuneRap(java.lang.String comuneRap) { - _boSoggetto.setComuneRap(comuneRap); - } - - /** - * Returns the albo of this bo soggetto. - * - * @return the albo of this bo soggetto - */ - @Override - public java.lang.String getAlbo() { - return _boSoggetto.getAlbo(); - } - - /** - * Sets the albo of this bo soggetto. - * - * @param albo the albo of this bo soggetto - */ - @Override - public void setAlbo(java.lang.String albo) { - _boSoggetto.setAlbo(albo); - } - - /** - * Returns the reg albo of this bo soggetto. - * - * @return the reg albo of this bo soggetto - */ - @Override - public java.lang.String getRegAlbo() { - return _boSoggetto.getRegAlbo(); - } - - /** - * Sets the reg albo of this bo soggetto. - * - * @param regAlbo the reg albo of this bo soggetto - */ - @Override - public void setRegAlbo(java.lang.String regAlbo) { - _boSoggetto.setRegAlbo(regAlbo); - } - - /** - * Returns the prov albo of this bo soggetto. - * - * @return the prov albo of this bo soggetto - */ - @Override - public java.lang.String getProvAlbo() { - return _boSoggetto.getProvAlbo(); - } - - /** - * Sets the prov albo of this bo soggetto. - * - * @param provAlbo the prov albo of this bo soggetto - */ - @Override - public void setProvAlbo(java.lang.String provAlbo) { - _boSoggetto.setProvAlbo(provAlbo); - } - - /** - * Returns the num iscr albo of this bo soggetto. - * - * @return the num iscr albo of this bo soggetto - */ - @Override - public java.lang.String getNumIscrAlbo() { - return _boSoggetto.getNumIscrAlbo(); - } - - /** - * Sets the num iscr albo of this bo soggetto. - * - * @param numIscrAlbo the num iscr albo of this bo soggetto - */ - @Override - public void setNumIscrAlbo(java.lang.String numIscrAlbo) { - _boSoggetto.setNumIscrAlbo(numIscrAlbo); - } - - /** - * Returns the telefono of this bo soggetto. - * - * @return the telefono of this bo soggetto - */ - @Override - public java.lang.String getTelefono() { - return _boSoggetto.getTelefono(); - } - - /** - * Sets the telefono of this bo soggetto. - * - * @param telefono the telefono of this bo soggetto - */ - @Override - public void setTelefono(java.lang.String telefono) { - _boSoggetto.setTelefono(telefono); - } - - /** - * Returns the fax of this bo soggetto. - * - * @return the fax of this bo soggetto - */ - @Override - public java.lang.String getFax() { - return _boSoggetto.getFax(); - } - - /** - * Sets the fax of this bo soggetto. - * - * @param fax the fax of this bo soggetto - */ - @Override - public void setFax(java.lang.String fax) { - _boSoggetto.setFax(fax); - } - - /** - * Returns the email of this bo soggetto. - * - * @return the email of this bo soggetto - */ - @Override - public java.lang.String getEmail() { - return _boSoggetto.getEmail(); - } - - /** - * Sets the email of this bo soggetto. - * - * @param email the email of this bo soggetto - */ - @Override - public void setEmail(java.lang.String email) { - _boSoggetto.setEmail(email); - } - - /** - * Returns the tipologia soggetto of this bo soggetto. - * - * @return the tipologia soggetto of this bo soggetto - */ - @Override - public java.lang.String getTipologiaSoggetto() { - return _boSoggetto.getTipologiaSoggetto(); - } - - /** - * Sets the tipologia soggetto of this bo soggetto. - * - * @param tipologiaSoggetto the tipologia soggetto of this bo soggetto - */ - @Override - public void setTipologiaSoggetto(java.lang.String tipologiaSoggetto) { - _boSoggetto.setTipologiaSoggetto(tipologiaSoggetto); - } - - /** - * Returns the tipologia professione of this bo soggetto. - * - * @return the tipologia professione of this bo soggetto - */ - @Override - public java.lang.String getTipologiaProfessione() { - return _boSoggetto.getTipologiaProfessione(); - } - - /** - * Sets the tipologia professione of this bo soggetto. - * - * @param tipologiaProfessione the tipologia professione of this bo soggetto - */ - @Override - public void setTipologiaProfessione(java.lang.String tipologiaProfessione) { - _boSoggetto.setTipologiaProfessione(tipologiaProfessione); - } - - /** - * Returns the aggiuntivo of this bo soggetto. - * - * @return the aggiuntivo of this bo soggetto - */ - @Override - public boolean getAggiuntivo() { - return _boSoggetto.getAggiuntivo(); - } - - /** - * Returns true if this bo soggetto is aggiuntivo. - * - * @return true if this bo soggetto is aggiuntivo; false otherwise - */ - @Override - public boolean isAggiuntivo() { - return _boSoggetto.isAggiuntivo(); - } - - /** - * Sets whether this bo soggetto is aggiuntivo. - * - * @param aggiuntivo the aggiuntivo of this bo soggetto - */ - @Override - public void setAggiuntivo(boolean aggiuntivo) { - _boSoggetto.setAggiuntivo(aggiuntivo); - } - - /** - * Returns the sostituito of this bo soggetto. - * - * @return the sostituito of this bo soggetto - */ - @Override - public boolean getSostituito() { - return _boSoggetto.getSostituito(); - } - - /** - * Returns true if this bo soggetto is sostituito. - * - * @return true if this bo soggetto is sostituito; false otherwise - */ - @Override - public boolean isSostituito() { - return _boSoggetto.isSostituito(); - } - - /** - * Sets whether this bo soggetto is sostituito. - * - * @param sostituito the sostituito of this bo soggetto - */ - @Override - public void setSostituito(boolean sostituito) { - _boSoggetto.setSostituito(sostituito); - } - - @Override - public boolean isNew() { - return _boSoggetto.isNew(); - } - - @Override - public void setNew(boolean n) { - _boSoggetto.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _boSoggetto.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _boSoggetto.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _boSoggetto.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _boSoggetto.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _boSoggetto.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _boSoggetto.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _boSoggetto.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _boSoggetto.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _boSoggetto.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new BoSoggettoWrapper((BoSoggetto)_boSoggetto.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.BoSoggetto boSoggetto) { - return _boSoggetto.compareTo(boSoggetto); - } - - @Override - public int hashCode() { - return _boSoggetto.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _boSoggetto.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSoggetto toEscapedModel() { - return new BoSoggettoWrapper(_boSoggetto.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSoggetto toUnescapedModel() { - return new BoSoggettoWrapper(_boSoggetto.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _boSoggetto.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _boSoggetto.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _boSoggetto.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoSoggettoWrapper)) { - return false; - } - - BoSoggettoWrapper boSoggettoWrapper = (BoSoggettoWrapper)obj; - - if (Validator.equals(_boSoggetto, boSoggettoWrapper._boSoggetto)) { - return true; - } - - return false; - } - - @Override - public StagedModelType getStagedModelType() { - return _boSoggetto.getStagedModelType(); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public BoSoggetto getWrappedBoSoggetto() { - return _boSoggetto; - } - - @Override - public BoSoggetto getWrappedModel() { - return _boSoggetto; - } - - @Override - public void resetOriginalValues() { - _boSoggetto.resetOriginalValues(); - } - - private BoSoggetto _boSoggetto; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSorteggio.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSorteggio.java deleted file mode 100644 index dbda7b2c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSorteggio.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the BoSorteggio service. Represents a row in the "gc_sorteggio" database table, with each column mapped to a property of this class. - * - * @author 3FC - * @see BoSorteggioModel - * @see it.tref.liferay.portos.importazione.model.impl.BoSorteggioImpl - * @see it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl - * @generated - */ -public interface BoSorteggio extends BoSorteggioModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSorteggioClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSorteggioClp.java deleted file mode 100644 index 3d16e72e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSorteggioClp.java +++ /dev/null @@ -1,1421 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.workflow.WorkflowConstants; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.service.BoSorteggioLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.ClpSerializer; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author 3FC - */ -public class BoSorteggioClp extends BaseModelImpl - implements BoSorteggio { - public BoSorteggioClp() { - } - - @Override - public Class getModelClass() { - return BoSorteggio.class; - } - - @Override - public String getModelClassName() { - return BoSorteggio.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _sorteggioId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setSorteggioId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _sorteggioId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("sorteggioId", getSorteggioId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("status", getStatus()); - attributes.put("statusByUserId", getStatusByUserId()); - attributes.put("statusByUserName", getStatusByUserName()); - attributes.put("statusDate", getStatusDate()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("note", getNote()); - attributes.put("anno", getAnno()); - attributes.put("mese", getMese()); - attributes.put("dtSorteggio", getDtSorteggio()); - attributes.put("stato", getStato()); - attributes.put("dettagli", getDettagli()); - attributes.put("numeroEstrazione", getNumeroEstrazione()); - attributes.put("pratica", getPratica()); - attributes.put("committente", getCommittente()); - attributes.put("comune", getComune()); - attributes.put("provincia", getProvincia()); - attributes.put("tecnico", getTecnico()); - attributes.put("mesePrecedente", getMesePrecedente()); - attributes.put("esterna", getEsterna()); - attributes.put("praticaEsternaId", getPraticaEsternaId()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long sorteggioId = (Long)attributes.get("sorteggioId"); - - if (sorteggioId != null) { - setSorteggioId(sorteggioId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Integer status = (Integer)attributes.get("status"); - - if (status != null) { - setStatus(status); - } - - Long statusByUserId = (Long)attributes.get("statusByUserId"); - - if (statusByUserId != null) { - setStatusByUserId(statusByUserId); - } - - String statusByUserName = (String)attributes.get("statusByUserName"); - - if (statusByUserName != null) { - setStatusByUserName(statusByUserName); - } - - Date statusDate = (Date)attributes.get("statusDate"); - - if (statusDate != null) { - setStatusDate(statusDate); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - String note = (String)attributes.get("note"); - - if (note != null) { - setNote(note); - } - - String anno = (String)attributes.get("anno"); - - if (anno != null) { - setAnno(anno); - } - - String mese = (String)attributes.get("mese"); - - if (mese != null) { - setMese(mese); - } - - Date dtSorteggio = (Date)attributes.get("dtSorteggio"); - - if (dtSorteggio != null) { - setDtSorteggio(dtSorteggio); - } - - String stato = (String)attributes.get("stato"); - - if (stato != null) { - setStato(stato); - } - - String dettagli = (String)attributes.get("dettagli"); - - if (dettagli != null) { - setDettagli(dettagli); - } - - Long numeroEstrazione = (Long)attributes.get("numeroEstrazione"); - - if (numeroEstrazione != null) { - setNumeroEstrazione(numeroEstrazione); - } - - String pratica = (String)attributes.get("pratica"); - - if (pratica != null) { - setPratica(pratica); - } - - String committente = (String)attributes.get("committente"); - - if (committente != null) { - setCommittente(committente); - } - - String comune = (String)attributes.get("comune"); - - if (comune != null) { - setComune(comune); - } - - String provincia = (String)attributes.get("provincia"); - - if (provincia != null) { - setProvincia(provincia); - } - - String tecnico = (String)attributes.get("tecnico"); - - if (tecnico != null) { - setTecnico(tecnico); - } - - String mesePrecedente = (String)attributes.get("mesePrecedente"); - - if (mesePrecedente != null) { - setMesePrecedente(mesePrecedente); - } - - Boolean esterna = (Boolean)attributes.get("esterna"); - - if (esterna != null) { - setEsterna(esterna); - } - - Long praticaEsternaId = (Long)attributes.get("praticaEsternaId"); - - if (praticaEsternaId != null) { - setPraticaEsternaId(praticaEsternaId); - } - } - - @Override - public String getUuid() { - return _uuid; - } - - @Override - public void setUuid(String uuid) { - _uuid = uuid; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setUuid", String.class); - - method.invoke(_boSorteggioRemoteModel, uuid); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getSorteggioId() { - return _sorteggioId; - } - - @Override - public void setSorteggioId(long sorteggioId) { - _sorteggioId = sorteggioId; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setSorteggioId", long.class); - - method.invoke(_boSorteggioRemoteModel, sorteggioId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_boSorteggioRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_boSorteggioRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_boSorteggioRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_boSorteggioRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_boSorteggioRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_boSorteggioRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public int getStatus() { - return _status; - } - - @Override - public void setStatus(int status) { - _status = status; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setStatus", int.class); - - method.invoke(_boSorteggioRemoteModel, status); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getStatusByUserId() { - return _statusByUserId; - } - - @Override - public void setStatusByUserId(long statusByUserId) { - _statusByUserId = statusByUserId; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setStatusByUserId", long.class); - - method.invoke(_boSorteggioRemoteModel, statusByUserId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getStatusByUserUuid() throws SystemException { - return PortalUtil.getUserValue(getStatusByUserId(), "uuid", - _statusByUserUuid); - } - - @Override - public void setStatusByUserUuid(String statusByUserUuid) { - _statusByUserUuid = statusByUserUuid; - } - - @Override - public String getStatusByUserName() { - return _statusByUserName; - } - - @Override - public void setStatusByUserName(String statusByUserName) { - _statusByUserName = statusByUserName; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setStatusByUserName", - String.class); - - method.invoke(_boSorteggioRemoteModel, statusByUserName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getStatusDate() { - return _statusDate; - } - - @Override - public void setStatusDate(Date statusDate) { - _statusDate = statusDate; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setStatusDate", Date.class); - - method.invoke(_boSorteggioRemoteModel, statusDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getDettPraticaId() { - return _dettPraticaId; - } - - @Override - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setDettPraticaId", long.class); - - method.invoke(_boSorteggioRemoteModel, dettPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getNote() { - return _note; - } - - @Override - public void setNote(String note) { - _note = note; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setNote", String.class); - - method.invoke(_boSorteggioRemoteModel, note); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getAnno() { - return _anno; - } - - @Override - public void setAnno(String anno) { - _anno = anno; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setAnno", String.class); - - method.invoke(_boSorteggioRemoteModel, anno); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getMese() { - return _mese; - } - - @Override - public void setMese(String mese) { - _mese = mese; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setMese", String.class); - - method.invoke(_boSorteggioRemoteModel, mese); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDtSorteggio() { - return _dtSorteggio; - } - - @Override - public void setDtSorteggio(Date dtSorteggio) { - _dtSorteggio = dtSorteggio; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setDtSorteggio", Date.class); - - method.invoke(_boSorteggioRemoteModel, dtSorteggio); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getStato() { - return _stato; - } - - @Override - public void setStato(String stato) { - _stato = stato; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setStato", String.class); - - method.invoke(_boSorteggioRemoteModel, stato); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getDettagli() { - return _dettagli; - } - - @Override - public void setDettagli(String dettagli) { - _dettagli = dettagli; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setDettagli", String.class); - - method.invoke(_boSorteggioRemoteModel, dettagli); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getNumeroEstrazione() { - return _numeroEstrazione; - } - - @Override - public void setNumeroEstrazione(long numeroEstrazione) { - _numeroEstrazione = numeroEstrazione; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setNumeroEstrazione", - long.class); - - method.invoke(_boSorteggioRemoteModel, numeroEstrazione); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getPratica() { - return _pratica; - } - - @Override - public void setPratica(String pratica) { - _pratica = pratica; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setPratica", String.class); - - method.invoke(_boSorteggioRemoteModel, pratica); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCommittente() { - return _committente; - } - - @Override - public void setCommittente(String committente) { - _committente = committente; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setCommittente", String.class); - - method.invoke(_boSorteggioRemoteModel, committente); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getComune() { - return _comune; - } - - @Override - public void setComune(String comune) { - _comune = comune; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setComune", String.class); - - method.invoke(_boSorteggioRemoteModel, comune); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getProvincia() { - return _provincia; - } - - @Override - public void setProvincia(String provincia) { - _provincia = provincia; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setProvincia", String.class); - - method.invoke(_boSorteggioRemoteModel, provincia); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getTecnico() { - return _tecnico; - } - - @Override - public void setTecnico(String tecnico) { - _tecnico = tecnico; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setTecnico", String.class); - - method.invoke(_boSorteggioRemoteModel, tecnico); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getMesePrecedente() { - return _mesePrecedente; - } - - @Override - public void setMesePrecedente(String mesePrecedente) { - _mesePrecedente = mesePrecedente; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setMesePrecedente", - String.class); - - method.invoke(_boSorteggioRemoteModel, mesePrecedente); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getEsterna() { - return _esterna; - } - - @Override - public boolean isEsterna() { - return _esterna; - } - - @Override - public void setEsterna(boolean esterna) { - _esterna = esterna; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setEsterna", boolean.class); - - method.invoke(_boSorteggioRemoteModel, esterna); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getPraticaEsternaId() { - return _praticaEsternaId; - } - - @Override - public void setPraticaEsternaId(long praticaEsternaId) { - _praticaEsternaId = praticaEsternaId; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setPraticaEsternaId", - long.class); - - method.invoke(_boSorteggioRemoteModel, praticaEsternaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoSorteggio.class.getName())); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #isApproved} - */ - @Override - public boolean getApproved() { - return isApproved(); - } - - @Override - public boolean isApproved() { - if (getStatus() == WorkflowConstants.STATUS_APPROVED) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isDenied() { - if (getStatus() == WorkflowConstants.STATUS_DENIED) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isDraft() { - if (getStatus() == WorkflowConstants.STATUS_DRAFT) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isExpired() { - if (getStatus() == WorkflowConstants.STATUS_EXPIRED) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isInactive() { - if (getStatus() == WorkflowConstants.STATUS_INACTIVE) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isIncomplete() { - if (getStatus() == WorkflowConstants.STATUS_INCOMPLETE) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isPending() { - if (getStatus() == WorkflowConstants.STATUS_PENDING) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isScheduled() { - if (getStatus() == WorkflowConstants.STATUS_SCHEDULED) { - return true; - } - else { - return false; - } - } - - public BaseModel getBoSorteggioRemoteModel() { - return _boSorteggioRemoteModel; - } - - public void setBoSorteggioRemoteModel(BaseModel boSorteggioRemoteModel) { - _boSorteggioRemoteModel = boSorteggioRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _boSorteggioRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_boSorteggioRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoSorteggioLocalServiceUtil.addBoSorteggio(this); - } - else { - BoSorteggioLocalServiceUtil.updateBoSorteggio(this); - } - } - - @Override - public BoSorteggio toEscapedModel() { - return (BoSorteggio)ProxyUtil.newProxyInstance(BoSorteggio.class.getClassLoader(), - new Class[] { BoSorteggio.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - BoSorteggioClp clone = new BoSorteggioClp(); - - clone.setUuid(getUuid()); - clone.setSorteggioId(getSorteggioId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setGroupId(getGroupId()); - clone.setStatus(getStatus()); - clone.setStatusByUserId(getStatusByUserId()); - clone.setStatusByUserName(getStatusByUserName()); - clone.setStatusDate(getStatusDate()); - clone.setDettPraticaId(getDettPraticaId()); - clone.setNote(getNote()); - clone.setAnno(getAnno()); - clone.setMese(getMese()); - clone.setDtSorteggio(getDtSorteggio()); - clone.setStato(getStato()); - clone.setDettagli(getDettagli()); - clone.setNumeroEstrazione(getNumeroEstrazione()); - clone.setPratica(getPratica()); - clone.setCommittente(getCommittente()); - clone.setComune(getComune()); - clone.setProvincia(getProvincia()); - clone.setTecnico(getTecnico()); - clone.setMesePrecedente(getMesePrecedente()); - clone.setEsterna(getEsterna()); - clone.setPraticaEsternaId(getPraticaEsternaId()); - - return clone; - } - - @Override - public int compareTo(BoSorteggio boSorteggio) { - long primaryKey = boSorteggio.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoSorteggioClp)) { - return false; - } - - BoSorteggioClp boSorteggio = (BoSorteggioClp)obj; - - long primaryKey = boSorteggio.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(57); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", sorteggioId="); - sb.append(getSorteggioId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", status="); - sb.append(getStatus()); - sb.append(", statusByUserId="); - sb.append(getStatusByUserId()); - sb.append(", statusByUserName="); - sb.append(getStatusByUserName()); - sb.append(", statusDate="); - sb.append(getStatusDate()); - sb.append(", dettPraticaId="); - sb.append(getDettPraticaId()); - sb.append(", note="); - sb.append(getNote()); - sb.append(", anno="); - sb.append(getAnno()); - sb.append(", mese="); - sb.append(getMese()); - sb.append(", dtSorteggio="); - sb.append(getDtSorteggio()); - sb.append(", stato="); - sb.append(getStato()); - sb.append(", dettagli="); - sb.append(getDettagli()); - sb.append(", numeroEstrazione="); - sb.append(getNumeroEstrazione()); - sb.append(", pratica="); - sb.append(getPratica()); - sb.append(", committente="); - sb.append(getCommittente()); - sb.append(", comune="); - sb.append(getComune()); - sb.append(", provincia="); - sb.append(getProvincia()); - sb.append(", tecnico="); - sb.append(getTecnico()); - sb.append(", mesePrecedente="); - sb.append(getMesePrecedente()); - sb.append(", esterna="); - sb.append(getEsterna()); - sb.append(", praticaEsternaId="); - sb.append(getPraticaEsternaId()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(88); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.BoSorteggio"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "sorteggioId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "status"); - sb.append( - "statusByUserId"); - sb.append( - "statusByUserName"); - sb.append( - "statusDate"); - sb.append( - "dettPraticaId"); - sb.append( - "note"); - sb.append( - "anno"); - sb.append( - "mese"); - sb.append( - "dtSorteggio"); - sb.append( - "stato"); - sb.append( - "dettagli"); - sb.append( - "numeroEstrazione"); - sb.append( - "pratica"); - sb.append( - "committente"); - sb.append( - "comune"); - sb.append( - "provincia"); - sb.append( - "tecnico"); - sb.append( - "mesePrecedente"); - sb.append( - "esterna"); - sb.append( - "praticaEsternaId"); - - sb.append(""); - - return sb.toString(); - } - - private String _uuid; - private long _sorteggioId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private int _status; - private long _statusByUserId; - private String _statusByUserUuid; - private String _statusByUserName; - private Date _statusDate; - private long _dettPraticaId; - private String _note; - private String _anno; - private String _mese; - private Date _dtSorteggio; - private String _stato; - private String _dettagli; - private long _numeroEstrazione; - private String _pratica; - private String _committente; - private String _comune; - private String _provincia; - private String _tecnico; - private String _mesePrecedente; - private boolean _esterna; - private long _praticaEsternaId; - private BaseModel _boSorteggioRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.importazione.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSorteggioModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSorteggioModel.java deleted file mode 100644 index 8ca0d53f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSorteggioModel.java +++ /dev/null @@ -1,662 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.StagedGroupedModel; -import com.liferay.portal.model.WorkflowedModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the BoSorteggio service. Represents a row in the "gc_sorteggio" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioImpl}. - *

- * - * @author 3FC - * @see BoSorteggio - * @see it.tref.liferay.portos.importazione.model.impl.BoSorteggioImpl - * @see it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl - * @generated - */ -public interface BoSorteggioModel extends BaseModel, - StagedGroupedModel, WorkflowedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a bo sorteggio model instance should use the {@link BoSorteggio} interface instead. - */ - - /** - * Returns the primary key of this bo sorteggio. - * - * @return the primary key of this bo sorteggio - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this bo sorteggio. - * - * @param primaryKey the primary key of this bo sorteggio - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the uuid of this bo sorteggio. - * - * @return the uuid of this bo sorteggio - */ - @AutoEscape - @Override - public String getUuid(); - - /** - * Sets the uuid of this bo sorteggio. - * - * @param uuid the uuid of this bo sorteggio - */ - @Override - public void setUuid(String uuid); - - /** - * Returns the sorteggio ID of this bo sorteggio. - * - * @return the sorteggio ID of this bo sorteggio - */ - public long getSorteggioId(); - - /** - * Sets the sorteggio ID of this bo sorteggio. - * - * @param sorteggioId the sorteggio ID of this bo sorteggio - */ - public void setSorteggioId(long sorteggioId); - - /** - * Returns the company ID of this bo sorteggio. - * - * @return the company ID of this bo sorteggio - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this bo sorteggio. - * - * @param companyId the company ID of this bo sorteggio - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this bo sorteggio. - * - * @return the user ID of this bo sorteggio - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this bo sorteggio. - * - * @param userId the user ID of this bo sorteggio - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this bo sorteggio. - * - * @return the user uuid of this bo sorteggio - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this bo sorteggio. - * - * @param userUuid the user uuid of this bo sorteggio - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this bo sorteggio. - * - * @return the user name of this bo sorteggio - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this bo sorteggio. - * - * @param userName the user name of this bo sorteggio - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this bo sorteggio. - * - * @return the create date of this bo sorteggio - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this bo sorteggio. - * - * @param createDate the create date of this bo sorteggio - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this bo sorteggio. - * - * @return the modified date of this bo sorteggio - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this bo sorteggio. - * - * @param modifiedDate the modified date of this bo sorteggio - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the group ID of this bo sorteggio. - * - * @return the group ID of this bo sorteggio - */ - @Override - public long getGroupId(); - - /** - * Sets the group ID of this bo sorteggio. - * - * @param groupId the group ID of this bo sorteggio - */ - @Override - public void setGroupId(long groupId); - - /** - * Returns the status of this bo sorteggio. - * - * @return the status of this bo sorteggio - */ - @Override - public int getStatus(); - - /** - * Sets the status of this bo sorteggio. - * - * @param status the status of this bo sorteggio - */ - @Override - public void setStatus(int status); - - /** - * Returns the status by user ID of this bo sorteggio. - * - * @return the status by user ID of this bo sorteggio - */ - @Override - public long getStatusByUserId(); - - /** - * Sets the status by user ID of this bo sorteggio. - * - * @param statusByUserId the status by user ID of this bo sorteggio - */ - @Override - public void setStatusByUserId(long statusByUserId); - - /** - * Returns the status by user uuid of this bo sorteggio. - * - * @return the status by user uuid of this bo sorteggio - * @throws SystemException if a system exception occurred - */ - @Override - public String getStatusByUserUuid() throws SystemException; - - /** - * Sets the status by user uuid of this bo sorteggio. - * - * @param statusByUserUuid the status by user uuid of this bo sorteggio - */ - @Override - public void setStatusByUserUuid(String statusByUserUuid); - - /** - * Returns the status by user name of this bo sorteggio. - * - * @return the status by user name of this bo sorteggio - */ - @AutoEscape - @Override - public String getStatusByUserName(); - - /** - * Sets the status by user name of this bo sorteggio. - * - * @param statusByUserName the status by user name of this bo sorteggio - */ - @Override - public void setStatusByUserName(String statusByUserName); - - /** - * Returns the status date of this bo sorteggio. - * - * @return the status date of this bo sorteggio - */ - @Override - public Date getStatusDate(); - - /** - * Sets the status date of this bo sorteggio. - * - * @param statusDate the status date of this bo sorteggio - */ - @Override - public void setStatusDate(Date statusDate); - - /** - * Returns the dett pratica ID of this bo sorteggio. - * - * @return the dett pratica ID of this bo sorteggio - */ - public long getDettPraticaId(); - - /** - * Sets the dett pratica ID of this bo sorteggio. - * - * @param dettPraticaId the dett pratica ID of this bo sorteggio - */ - public void setDettPraticaId(long dettPraticaId); - - /** - * Returns the note of this bo sorteggio. - * - * @return the note of this bo sorteggio - */ - @AutoEscape - public String getNote(); - - /** - * Sets the note of this bo sorteggio. - * - * @param note the note of this bo sorteggio - */ - public void setNote(String note); - - /** - * Returns the anno of this bo sorteggio. - * - * @return the anno of this bo sorteggio - */ - @AutoEscape - public String getAnno(); - - /** - * Sets the anno of this bo sorteggio. - * - * @param anno the anno of this bo sorteggio - */ - public void setAnno(String anno); - - /** - * Returns the mese of this bo sorteggio. - * - * @return the mese of this bo sorteggio - */ - @AutoEscape - public String getMese(); - - /** - * Sets the mese of this bo sorteggio. - * - * @param mese the mese of this bo sorteggio - */ - public void setMese(String mese); - - /** - * Returns the dt sorteggio of this bo sorteggio. - * - * @return the dt sorteggio of this bo sorteggio - */ - public Date getDtSorteggio(); - - /** - * Sets the dt sorteggio of this bo sorteggio. - * - * @param dtSorteggio the dt sorteggio of this bo sorteggio - */ - public void setDtSorteggio(Date dtSorteggio); - - /** - * Returns the stato of this bo sorteggio. - * - * @return the stato of this bo sorteggio - */ - @AutoEscape - public String getStato(); - - /** - * Sets the stato of this bo sorteggio. - * - * @param stato the stato of this bo sorteggio - */ - public void setStato(String stato); - - /** - * Returns the dettagli of this bo sorteggio. - * - * @return the dettagli of this bo sorteggio - */ - @AutoEscape - public String getDettagli(); - - /** - * Sets the dettagli of this bo sorteggio. - * - * @param dettagli the dettagli of this bo sorteggio - */ - public void setDettagli(String dettagli); - - /** - * Returns the numero estrazione of this bo sorteggio. - * - * @return the numero estrazione of this bo sorteggio - */ - public long getNumeroEstrazione(); - - /** - * Sets the numero estrazione of this bo sorteggio. - * - * @param numeroEstrazione the numero estrazione of this bo sorteggio - */ - public void setNumeroEstrazione(long numeroEstrazione); - - /** - * Returns the pratica of this bo sorteggio. - * - * @return the pratica of this bo sorteggio - */ - @AutoEscape - public String getPratica(); - - /** - * Sets the pratica of this bo sorteggio. - * - * @param pratica the pratica of this bo sorteggio - */ - public void setPratica(String pratica); - - /** - * Returns the committente of this bo sorteggio. - * - * @return the committente of this bo sorteggio - */ - @AutoEscape - public String getCommittente(); - - /** - * Sets the committente of this bo sorteggio. - * - * @param committente the committente of this bo sorteggio - */ - public void setCommittente(String committente); - - /** - * Returns the comune of this bo sorteggio. - * - * @return the comune of this bo sorteggio - */ - @AutoEscape - public String getComune(); - - /** - * Sets the comune of this bo sorteggio. - * - * @param comune the comune of this bo sorteggio - */ - public void setComune(String comune); - - /** - * Returns the provincia of this bo sorteggio. - * - * @return the provincia of this bo sorteggio - */ - @AutoEscape - public String getProvincia(); - - /** - * Sets the provincia of this bo sorteggio. - * - * @param provincia the provincia of this bo sorteggio - */ - public void setProvincia(String provincia); - - /** - * Returns the tecnico of this bo sorteggio. - * - * @return the tecnico of this bo sorteggio - */ - @AutoEscape - public String getTecnico(); - - /** - * Sets the tecnico of this bo sorteggio. - * - * @param tecnico the tecnico of this bo sorteggio - */ - public void setTecnico(String tecnico); - - /** - * Returns the mese precedente of this bo sorteggio. - * - * @return the mese precedente of this bo sorteggio - */ - @AutoEscape - public String getMesePrecedente(); - - /** - * Sets the mese precedente of this bo sorteggio. - * - * @param mesePrecedente the mese precedente of this bo sorteggio - */ - public void setMesePrecedente(String mesePrecedente); - - /** - * Returns the esterna of this bo sorteggio. - * - * @return the esterna of this bo sorteggio - */ - public boolean getEsterna(); - - /** - * Returns true if this bo sorteggio is esterna. - * - * @return true if this bo sorteggio is esterna; false otherwise - */ - public boolean isEsterna(); - - /** - * Sets whether this bo sorteggio is esterna. - * - * @param esterna the esterna of this bo sorteggio - */ - public void setEsterna(boolean esterna); - - /** - * Returns the pratica esterna ID of this bo sorteggio. - * - * @return the pratica esterna ID of this bo sorteggio - */ - public long getPraticaEsternaId(); - - /** - * Sets the pratica esterna ID of this bo sorteggio. - * - * @param praticaEsternaId the pratica esterna ID of this bo sorteggio - */ - public void setPraticaEsternaId(long praticaEsternaId); - - /** - * @deprecated As of 6.1.0, replaced by {@link #isApproved()} - */ - @Override - public boolean getApproved(); - - /** - * Returns true if this bo sorteggio is approved. - * - * @return true if this bo sorteggio is approved; false otherwise - */ - @Override - public boolean isApproved(); - - /** - * Returns true if this bo sorteggio is denied. - * - * @return true if this bo sorteggio is denied; false otherwise - */ - @Override - public boolean isDenied(); - - /** - * Returns true if this bo sorteggio is a draft. - * - * @return true if this bo sorteggio is a draft; false otherwise - */ - @Override - public boolean isDraft(); - - /** - * Returns true if this bo sorteggio is expired. - * - * @return true if this bo sorteggio is expired; false otherwise - */ - @Override - public boolean isExpired(); - - /** - * Returns true if this bo sorteggio is inactive. - * - * @return true if this bo sorteggio is inactive; false otherwise - */ - @Override - public boolean isInactive(); - - /** - * Returns true if this bo sorteggio is incomplete. - * - * @return true if this bo sorteggio is incomplete; false otherwise - */ - @Override - public boolean isIncomplete(); - - /** - * Returns true if this bo sorteggio is pending. - * - * @return true if this bo sorteggio is pending; false otherwise - */ - @Override - public boolean isPending(); - - /** - * Returns true if this bo sorteggio is scheduled. - * - * @return true if this bo sorteggio is scheduled; false otherwise - */ - @Override - public boolean isScheduled(); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.BoSorteggio boSorteggio); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.importazione.model.BoSorteggio toEscapedModel(); - - @Override - public it.tref.liferay.portos.importazione.model.BoSorteggio toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSorteggioSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSorteggioSoap.java deleted file mode 100644 index ab1ac46e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSorteggioSoap.java +++ /dev/null @@ -1,369 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author 3FC - * @generated - */ -public class BoSorteggioSoap implements Serializable { - public static BoSorteggioSoap toSoapModel(BoSorteggio model) { - BoSorteggioSoap soapModel = new BoSorteggioSoap(); - - soapModel.setUuid(model.getUuid()); - soapModel.setSorteggioId(model.getSorteggioId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setStatus(model.getStatus()); - soapModel.setStatusByUserId(model.getStatusByUserId()); - soapModel.setStatusByUserName(model.getStatusByUserName()); - soapModel.setStatusDate(model.getStatusDate()); - soapModel.setDettPraticaId(model.getDettPraticaId()); - soapModel.setNote(model.getNote()); - soapModel.setAnno(model.getAnno()); - soapModel.setMese(model.getMese()); - soapModel.setDtSorteggio(model.getDtSorteggio()); - soapModel.setStato(model.getStato()); - soapModel.setDettagli(model.getDettagli()); - soapModel.setNumeroEstrazione(model.getNumeroEstrazione()); - soapModel.setPratica(model.getPratica()); - soapModel.setCommittente(model.getCommittente()); - soapModel.setComune(model.getComune()); - soapModel.setProvincia(model.getProvincia()); - soapModel.setTecnico(model.getTecnico()); - soapModel.setMesePrecedente(model.getMesePrecedente()); - soapModel.setEsterna(model.getEsterna()); - soapModel.setPraticaEsternaId(model.getPraticaEsternaId()); - - return soapModel; - } - - public static BoSorteggioSoap[] toSoapModels(BoSorteggio[] models) { - BoSorteggioSoap[] soapModels = new BoSorteggioSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static BoSorteggioSoap[][] toSoapModels(BoSorteggio[][] models) { - BoSorteggioSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new BoSorteggioSoap[models.length][models[0].length]; - } - else { - soapModels = new BoSorteggioSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static BoSorteggioSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (BoSorteggio model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new BoSorteggioSoap[soapModels.size()]); - } - - public BoSorteggioSoap() { - } - - public long getPrimaryKey() { - return _sorteggioId; - } - - public void setPrimaryKey(long pk) { - setSorteggioId(pk); - } - - public String getUuid() { - return _uuid; - } - - public void setUuid(String uuid) { - _uuid = uuid; - } - - public long getSorteggioId() { - return _sorteggioId; - } - - public void setSorteggioId(long sorteggioId) { - _sorteggioId = sorteggioId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public int getStatus() { - return _status; - } - - public void setStatus(int status) { - _status = status; - } - - public long getStatusByUserId() { - return _statusByUserId; - } - - public void setStatusByUserId(long statusByUserId) { - _statusByUserId = statusByUserId; - } - - public String getStatusByUserName() { - return _statusByUserName; - } - - public void setStatusByUserName(String statusByUserName) { - _statusByUserName = statusByUserName; - } - - public Date getStatusDate() { - return _statusDate; - } - - public void setStatusDate(Date statusDate) { - _statusDate = statusDate; - } - - public long getDettPraticaId() { - return _dettPraticaId; - } - - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - } - - public String getNote() { - return _note; - } - - public void setNote(String note) { - _note = note; - } - - public String getAnno() { - return _anno; - } - - public void setAnno(String anno) { - _anno = anno; - } - - public String getMese() { - return _mese; - } - - public void setMese(String mese) { - _mese = mese; - } - - public Date getDtSorteggio() { - return _dtSorteggio; - } - - public void setDtSorteggio(Date dtSorteggio) { - _dtSorteggio = dtSorteggio; - } - - public String getStato() { - return _stato; - } - - public void setStato(String stato) { - _stato = stato; - } - - public String getDettagli() { - return _dettagli; - } - - public void setDettagli(String dettagli) { - _dettagli = dettagli; - } - - public long getNumeroEstrazione() { - return _numeroEstrazione; - } - - public void setNumeroEstrazione(long numeroEstrazione) { - _numeroEstrazione = numeroEstrazione; - } - - public String getPratica() { - return _pratica; - } - - public void setPratica(String pratica) { - _pratica = pratica; - } - - public String getCommittente() { - return _committente; - } - - public void setCommittente(String committente) { - _committente = committente; - } - - public String getComune() { - return _comune; - } - - public void setComune(String comune) { - _comune = comune; - } - - public String getProvincia() { - return _provincia; - } - - public void setProvincia(String provincia) { - _provincia = provincia; - } - - public String getTecnico() { - return _tecnico; - } - - public void setTecnico(String tecnico) { - _tecnico = tecnico; - } - - public String getMesePrecedente() { - return _mesePrecedente; - } - - public void setMesePrecedente(String mesePrecedente) { - _mesePrecedente = mesePrecedente; - } - - public boolean getEsterna() { - return _esterna; - } - - public boolean isEsterna() { - return _esterna; - } - - public void setEsterna(boolean esterna) { - _esterna = esterna; - } - - public long getPraticaEsternaId() { - return _praticaEsternaId; - } - - public void setPraticaEsternaId(long praticaEsternaId) { - _praticaEsternaId = praticaEsternaId; - } - - private String _uuid; - private long _sorteggioId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private int _status; - private long _statusByUserId; - private String _statusByUserName; - private Date _statusDate; - private long _dettPraticaId; - private String _note; - private String _anno; - private String _mese; - private Date _dtSorteggio; - private String _stato; - private String _dettagli; - private long _numeroEstrazione; - private String _pratica; - private String _committente; - private String _comune; - private String _provincia; - private String _tecnico; - private String _mesePrecedente; - private boolean _esterna; - private long _praticaEsternaId; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSorteggioWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSorteggioWrapper.java deleted file mode 100644 index 4901b2f4..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoSorteggioWrapper.java +++ /dev/null @@ -1,1126 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link BoSorteggio}. - *

- * - * @author 3FC - * @see BoSorteggio - * @generated - */ -public class BoSorteggioWrapper implements BoSorteggio, - ModelWrapper { - public BoSorteggioWrapper(BoSorteggio boSorteggio) { - _boSorteggio = boSorteggio; - } - - @Override - public Class getModelClass() { - return BoSorteggio.class; - } - - @Override - public String getModelClassName() { - return BoSorteggio.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("sorteggioId", getSorteggioId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("status", getStatus()); - attributes.put("statusByUserId", getStatusByUserId()); - attributes.put("statusByUserName", getStatusByUserName()); - attributes.put("statusDate", getStatusDate()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("note", getNote()); - attributes.put("anno", getAnno()); - attributes.put("mese", getMese()); - attributes.put("dtSorteggio", getDtSorteggio()); - attributes.put("stato", getStato()); - attributes.put("dettagli", getDettagli()); - attributes.put("numeroEstrazione", getNumeroEstrazione()); - attributes.put("pratica", getPratica()); - attributes.put("committente", getCommittente()); - attributes.put("comune", getComune()); - attributes.put("provincia", getProvincia()); - attributes.put("tecnico", getTecnico()); - attributes.put("mesePrecedente", getMesePrecedente()); - attributes.put("esterna", getEsterna()); - attributes.put("praticaEsternaId", getPraticaEsternaId()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long sorteggioId = (Long)attributes.get("sorteggioId"); - - if (sorteggioId != null) { - setSorteggioId(sorteggioId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Integer status = (Integer)attributes.get("status"); - - if (status != null) { - setStatus(status); - } - - Long statusByUserId = (Long)attributes.get("statusByUserId"); - - if (statusByUserId != null) { - setStatusByUserId(statusByUserId); - } - - String statusByUserName = (String)attributes.get("statusByUserName"); - - if (statusByUserName != null) { - setStatusByUserName(statusByUserName); - } - - Date statusDate = (Date)attributes.get("statusDate"); - - if (statusDate != null) { - setStatusDate(statusDate); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - String note = (String)attributes.get("note"); - - if (note != null) { - setNote(note); - } - - String anno = (String)attributes.get("anno"); - - if (anno != null) { - setAnno(anno); - } - - String mese = (String)attributes.get("mese"); - - if (mese != null) { - setMese(mese); - } - - Date dtSorteggio = (Date)attributes.get("dtSorteggio"); - - if (dtSorteggio != null) { - setDtSorteggio(dtSorteggio); - } - - String stato = (String)attributes.get("stato"); - - if (stato != null) { - setStato(stato); - } - - String dettagli = (String)attributes.get("dettagli"); - - if (dettagli != null) { - setDettagli(dettagli); - } - - Long numeroEstrazione = (Long)attributes.get("numeroEstrazione"); - - if (numeroEstrazione != null) { - setNumeroEstrazione(numeroEstrazione); - } - - String pratica = (String)attributes.get("pratica"); - - if (pratica != null) { - setPratica(pratica); - } - - String committente = (String)attributes.get("committente"); - - if (committente != null) { - setCommittente(committente); - } - - String comune = (String)attributes.get("comune"); - - if (comune != null) { - setComune(comune); - } - - String provincia = (String)attributes.get("provincia"); - - if (provincia != null) { - setProvincia(provincia); - } - - String tecnico = (String)attributes.get("tecnico"); - - if (tecnico != null) { - setTecnico(tecnico); - } - - String mesePrecedente = (String)attributes.get("mesePrecedente"); - - if (mesePrecedente != null) { - setMesePrecedente(mesePrecedente); - } - - Boolean esterna = (Boolean)attributes.get("esterna"); - - if (esterna != null) { - setEsterna(esterna); - } - - Long praticaEsternaId = (Long)attributes.get("praticaEsternaId"); - - if (praticaEsternaId != null) { - setPraticaEsternaId(praticaEsternaId); - } - } - - /** - * Returns the primary key of this bo sorteggio. - * - * @return the primary key of this bo sorteggio - */ - @Override - public long getPrimaryKey() { - return _boSorteggio.getPrimaryKey(); - } - - /** - * Sets the primary key of this bo sorteggio. - * - * @param primaryKey the primary key of this bo sorteggio - */ - @Override - public void setPrimaryKey(long primaryKey) { - _boSorteggio.setPrimaryKey(primaryKey); - } - - /** - * Returns the uuid of this bo sorteggio. - * - * @return the uuid of this bo sorteggio - */ - @Override - public java.lang.String getUuid() { - return _boSorteggio.getUuid(); - } - - /** - * Sets the uuid of this bo sorteggio. - * - * @param uuid the uuid of this bo sorteggio - */ - @Override - public void setUuid(java.lang.String uuid) { - _boSorteggio.setUuid(uuid); - } - - /** - * Returns the sorteggio ID of this bo sorteggio. - * - * @return the sorteggio ID of this bo sorteggio - */ - @Override - public long getSorteggioId() { - return _boSorteggio.getSorteggioId(); - } - - /** - * Sets the sorteggio ID of this bo sorteggio. - * - * @param sorteggioId the sorteggio ID of this bo sorteggio - */ - @Override - public void setSorteggioId(long sorteggioId) { - _boSorteggio.setSorteggioId(sorteggioId); - } - - /** - * Returns the company ID of this bo sorteggio. - * - * @return the company ID of this bo sorteggio - */ - @Override - public long getCompanyId() { - return _boSorteggio.getCompanyId(); - } - - /** - * Sets the company ID of this bo sorteggio. - * - * @param companyId the company ID of this bo sorteggio - */ - @Override - public void setCompanyId(long companyId) { - _boSorteggio.setCompanyId(companyId); - } - - /** - * Returns the user ID of this bo sorteggio. - * - * @return the user ID of this bo sorteggio - */ - @Override - public long getUserId() { - return _boSorteggio.getUserId(); - } - - /** - * Sets the user ID of this bo sorteggio. - * - * @param userId the user ID of this bo sorteggio - */ - @Override - public void setUserId(long userId) { - _boSorteggio.setUserId(userId); - } - - /** - * Returns the user uuid of this bo sorteggio. - * - * @return the user uuid of this bo sorteggio - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _boSorteggio.getUserUuid(); - } - - /** - * Sets the user uuid of this bo sorteggio. - * - * @param userUuid the user uuid of this bo sorteggio - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _boSorteggio.setUserUuid(userUuid); - } - - /** - * Returns the user name of this bo sorteggio. - * - * @return the user name of this bo sorteggio - */ - @Override - public java.lang.String getUserName() { - return _boSorteggio.getUserName(); - } - - /** - * Sets the user name of this bo sorteggio. - * - * @param userName the user name of this bo sorteggio - */ - @Override - public void setUserName(java.lang.String userName) { - _boSorteggio.setUserName(userName); - } - - /** - * Returns the create date of this bo sorteggio. - * - * @return the create date of this bo sorteggio - */ - @Override - public java.util.Date getCreateDate() { - return _boSorteggio.getCreateDate(); - } - - /** - * Sets the create date of this bo sorteggio. - * - * @param createDate the create date of this bo sorteggio - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _boSorteggio.setCreateDate(createDate); - } - - /** - * Returns the modified date of this bo sorteggio. - * - * @return the modified date of this bo sorteggio - */ - @Override - public java.util.Date getModifiedDate() { - return _boSorteggio.getModifiedDate(); - } - - /** - * Sets the modified date of this bo sorteggio. - * - * @param modifiedDate the modified date of this bo sorteggio - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _boSorteggio.setModifiedDate(modifiedDate); - } - - /** - * Returns the group ID of this bo sorteggio. - * - * @return the group ID of this bo sorteggio - */ - @Override - public long getGroupId() { - return _boSorteggio.getGroupId(); - } - - /** - * Sets the group ID of this bo sorteggio. - * - * @param groupId the group ID of this bo sorteggio - */ - @Override - public void setGroupId(long groupId) { - _boSorteggio.setGroupId(groupId); - } - - /** - * Returns the status of this bo sorteggio. - * - * @return the status of this bo sorteggio - */ - @Override - public int getStatus() { - return _boSorteggio.getStatus(); - } - - /** - * Sets the status of this bo sorteggio. - * - * @param status the status of this bo sorteggio - */ - @Override - public void setStatus(int status) { - _boSorteggio.setStatus(status); - } - - /** - * Returns the status by user ID of this bo sorteggio. - * - * @return the status by user ID of this bo sorteggio - */ - @Override - public long getStatusByUserId() { - return _boSorteggio.getStatusByUserId(); - } - - /** - * Sets the status by user ID of this bo sorteggio. - * - * @param statusByUserId the status by user ID of this bo sorteggio - */ - @Override - public void setStatusByUserId(long statusByUserId) { - _boSorteggio.setStatusByUserId(statusByUserId); - } - - /** - * Returns the status by user uuid of this bo sorteggio. - * - * @return the status by user uuid of this bo sorteggio - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getStatusByUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _boSorteggio.getStatusByUserUuid(); - } - - /** - * Sets the status by user uuid of this bo sorteggio. - * - * @param statusByUserUuid the status by user uuid of this bo sorteggio - */ - @Override - public void setStatusByUserUuid(java.lang.String statusByUserUuid) { - _boSorteggio.setStatusByUserUuid(statusByUserUuid); - } - - /** - * Returns the status by user name of this bo sorteggio. - * - * @return the status by user name of this bo sorteggio - */ - @Override - public java.lang.String getStatusByUserName() { - return _boSorteggio.getStatusByUserName(); - } - - /** - * Sets the status by user name of this bo sorteggio. - * - * @param statusByUserName the status by user name of this bo sorteggio - */ - @Override - public void setStatusByUserName(java.lang.String statusByUserName) { - _boSorteggio.setStatusByUserName(statusByUserName); - } - - /** - * Returns the status date of this bo sorteggio. - * - * @return the status date of this bo sorteggio - */ - @Override - public java.util.Date getStatusDate() { - return _boSorteggio.getStatusDate(); - } - - /** - * Sets the status date of this bo sorteggio. - * - * @param statusDate the status date of this bo sorteggio - */ - @Override - public void setStatusDate(java.util.Date statusDate) { - _boSorteggio.setStatusDate(statusDate); - } - - /** - * Returns the dett pratica ID of this bo sorteggio. - * - * @return the dett pratica ID of this bo sorteggio - */ - @Override - public long getDettPraticaId() { - return _boSorteggio.getDettPraticaId(); - } - - /** - * Sets the dett pratica ID of this bo sorteggio. - * - * @param dettPraticaId the dett pratica ID of this bo sorteggio - */ - @Override - public void setDettPraticaId(long dettPraticaId) { - _boSorteggio.setDettPraticaId(dettPraticaId); - } - - /** - * Returns the note of this bo sorteggio. - * - * @return the note of this bo sorteggio - */ - @Override - public java.lang.String getNote() { - return _boSorteggio.getNote(); - } - - /** - * Sets the note of this bo sorteggio. - * - * @param note the note of this bo sorteggio - */ - @Override - public void setNote(java.lang.String note) { - _boSorteggio.setNote(note); - } - - /** - * Returns the anno of this bo sorteggio. - * - * @return the anno of this bo sorteggio - */ - @Override - public java.lang.String getAnno() { - return _boSorteggio.getAnno(); - } - - /** - * Sets the anno of this bo sorteggio. - * - * @param anno the anno of this bo sorteggio - */ - @Override - public void setAnno(java.lang.String anno) { - _boSorteggio.setAnno(anno); - } - - /** - * Returns the mese of this bo sorteggio. - * - * @return the mese of this bo sorteggio - */ - @Override - public java.lang.String getMese() { - return _boSorteggio.getMese(); - } - - /** - * Sets the mese of this bo sorteggio. - * - * @param mese the mese of this bo sorteggio - */ - @Override - public void setMese(java.lang.String mese) { - _boSorteggio.setMese(mese); - } - - /** - * Returns the dt sorteggio of this bo sorteggio. - * - * @return the dt sorteggio of this bo sorteggio - */ - @Override - public java.util.Date getDtSorteggio() { - return _boSorteggio.getDtSorteggio(); - } - - /** - * Sets the dt sorteggio of this bo sorteggio. - * - * @param dtSorteggio the dt sorteggio of this bo sorteggio - */ - @Override - public void setDtSorteggio(java.util.Date dtSorteggio) { - _boSorteggio.setDtSorteggio(dtSorteggio); - } - - /** - * Returns the stato of this bo sorteggio. - * - * @return the stato of this bo sorteggio - */ - @Override - public java.lang.String getStato() { - return _boSorteggio.getStato(); - } - - /** - * Sets the stato of this bo sorteggio. - * - * @param stato the stato of this bo sorteggio - */ - @Override - public void setStato(java.lang.String stato) { - _boSorteggio.setStato(stato); - } - - /** - * Returns the dettagli of this bo sorteggio. - * - * @return the dettagli of this bo sorteggio - */ - @Override - public java.lang.String getDettagli() { - return _boSorteggio.getDettagli(); - } - - /** - * Sets the dettagli of this bo sorteggio. - * - * @param dettagli the dettagli of this bo sorteggio - */ - @Override - public void setDettagli(java.lang.String dettagli) { - _boSorteggio.setDettagli(dettagli); - } - - /** - * Returns the numero estrazione of this bo sorteggio. - * - * @return the numero estrazione of this bo sorteggio - */ - @Override - public long getNumeroEstrazione() { - return _boSorteggio.getNumeroEstrazione(); - } - - /** - * Sets the numero estrazione of this bo sorteggio. - * - * @param numeroEstrazione the numero estrazione of this bo sorteggio - */ - @Override - public void setNumeroEstrazione(long numeroEstrazione) { - _boSorteggio.setNumeroEstrazione(numeroEstrazione); - } - - /** - * Returns the pratica of this bo sorteggio. - * - * @return the pratica of this bo sorteggio - */ - @Override - public java.lang.String getPratica() { - return _boSorteggio.getPratica(); - } - - /** - * Sets the pratica of this bo sorteggio. - * - * @param pratica the pratica of this bo sorteggio - */ - @Override - public void setPratica(java.lang.String pratica) { - _boSorteggio.setPratica(pratica); - } - - /** - * Returns the committente of this bo sorteggio. - * - * @return the committente of this bo sorteggio - */ - @Override - public java.lang.String getCommittente() { - return _boSorteggio.getCommittente(); - } - - /** - * Sets the committente of this bo sorteggio. - * - * @param committente the committente of this bo sorteggio - */ - @Override - public void setCommittente(java.lang.String committente) { - _boSorteggio.setCommittente(committente); - } - - /** - * Returns the comune of this bo sorteggio. - * - * @return the comune of this bo sorteggio - */ - @Override - public java.lang.String getComune() { - return _boSorteggio.getComune(); - } - - /** - * Sets the comune of this bo sorteggio. - * - * @param comune the comune of this bo sorteggio - */ - @Override - public void setComune(java.lang.String comune) { - _boSorteggio.setComune(comune); - } - - /** - * Returns the provincia of this bo sorteggio. - * - * @return the provincia of this bo sorteggio - */ - @Override - public java.lang.String getProvincia() { - return _boSorteggio.getProvincia(); - } - - /** - * Sets the provincia of this bo sorteggio. - * - * @param provincia the provincia of this bo sorteggio - */ - @Override - public void setProvincia(java.lang.String provincia) { - _boSorteggio.setProvincia(provincia); - } - - /** - * Returns the tecnico of this bo sorteggio. - * - * @return the tecnico of this bo sorteggio - */ - @Override - public java.lang.String getTecnico() { - return _boSorteggio.getTecnico(); - } - - /** - * Sets the tecnico of this bo sorteggio. - * - * @param tecnico the tecnico of this bo sorteggio - */ - @Override - public void setTecnico(java.lang.String tecnico) { - _boSorteggio.setTecnico(tecnico); - } - - /** - * Returns the mese precedente of this bo sorteggio. - * - * @return the mese precedente of this bo sorteggio - */ - @Override - public java.lang.String getMesePrecedente() { - return _boSorteggio.getMesePrecedente(); - } - - /** - * Sets the mese precedente of this bo sorteggio. - * - * @param mesePrecedente the mese precedente of this bo sorteggio - */ - @Override - public void setMesePrecedente(java.lang.String mesePrecedente) { - _boSorteggio.setMesePrecedente(mesePrecedente); - } - - /** - * Returns the esterna of this bo sorteggio. - * - * @return the esterna of this bo sorteggio - */ - @Override - public boolean getEsterna() { - return _boSorteggio.getEsterna(); - } - - /** - * Returns true if this bo sorteggio is esterna. - * - * @return true if this bo sorteggio is esterna; false otherwise - */ - @Override - public boolean isEsterna() { - return _boSorteggio.isEsterna(); - } - - /** - * Sets whether this bo sorteggio is esterna. - * - * @param esterna the esterna of this bo sorteggio - */ - @Override - public void setEsterna(boolean esterna) { - _boSorteggio.setEsterna(esterna); - } - - /** - * Returns the pratica esterna ID of this bo sorteggio. - * - * @return the pratica esterna ID of this bo sorteggio - */ - @Override - public long getPraticaEsternaId() { - return _boSorteggio.getPraticaEsternaId(); - } - - /** - * Sets the pratica esterna ID of this bo sorteggio. - * - * @param praticaEsternaId the pratica esterna ID of this bo sorteggio - */ - @Override - public void setPraticaEsternaId(long praticaEsternaId) { - _boSorteggio.setPraticaEsternaId(praticaEsternaId); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #isApproved()} - */ - @Override - public boolean getApproved() { - return _boSorteggio.getApproved(); - } - - /** - * Returns true if this bo sorteggio is approved. - * - * @return true if this bo sorteggio is approved; false otherwise - */ - @Override - public boolean isApproved() { - return _boSorteggio.isApproved(); - } - - /** - * Returns true if this bo sorteggio is denied. - * - * @return true if this bo sorteggio is denied; false otherwise - */ - @Override - public boolean isDenied() { - return _boSorteggio.isDenied(); - } - - /** - * Returns true if this bo sorteggio is a draft. - * - * @return true if this bo sorteggio is a draft; false otherwise - */ - @Override - public boolean isDraft() { - return _boSorteggio.isDraft(); - } - - /** - * Returns true if this bo sorteggio is expired. - * - * @return true if this bo sorteggio is expired; false otherwise - */ - @Override - public boolean isExpired() { - return _boSorteggio.isExpired(); - } - - /** - * Returns true if this bo sorteggio is inactive. - * - * @return true if this bo sorteggio is inactive; false otherwise - */ - @Override - public boolean isInactive() { - return _boSorteggio.isInactive(); - } - - /** - * Returns true if this bo sorteggio is incomplete. - * - * @return true if this bo sorteggio is incomplete; false otherwise - */ - @Override - public boolean isIncomplete() { - return _boSorteggio.isIncomplete(); - } - - /** - * Returns true if this bo sorteggio is pending. - * - * @return true if this bo sorteggio is pending; false otherwise - */ - @Override - public boolean isPending() { - return _boSorteggio.isPending(); - } - - /** - * Returns true if this bo sorteggio is scheduled. - * - * @return true if this bo sorteggio is scheduled; false otherwise - */ - @Override - public boolean isScheduled() { - return _boSorteggio.isScheduled(); - } - - @Override - public boolean isNew() { - return _boSorteggio.isNew(); - } - - @Override - public void setNew(boolean n) { - _boSorteggio.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _boSorteggio.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _boSorteggio.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _boSorteggio.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _boSorteggio.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _boSorteggio.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _boSorteggio.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _boSorteggio.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _boSorteggio.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _boSorteggio.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new BoSorteggioWrapper((BoSorteggio)_boSorteggio.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.BoSorteggio boSorteggio) { - return _boSorteggio.compareTo(boSorteggio); - } - - @Override - public int hashCode() { - return _boSorteggio.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _boSorteggio.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSorteggio toEscapedModel() { - return new BoSorteggioWrapper(_boSorteggio.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSorteggio toUnescapedModel() { - return new BoSorteggioWrapper(_boSorteggio.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _boSorteggio.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _boSorteggio.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _boSorteggio.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoSorteggioWrapper)) { - return false; - } - - BoSorteggioWrapper boSorteggioWrapper = (BoSorteggioWrapper)obj; - - if (Validator.equals(_boSorteggio, boSorteggioWrapper._boSorteggio)) { - return true; - } - - return false; - } - - @Override - public StagedModelType getStagedModelType() { - return _boSorteggio.getStagedModelType(); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public BoSorteggio getWrappedBoSorteggio() { - return _boSorteggio; - } - - @Override - public BoSorteggio getWrappedModel() { - return _boSorteggio; - } - - @Override - public void resetOriginalValues() { - _boSorteggio.resetOriginalValues(); - } - - private BoSorteggio _boSorteggio; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoStoricoSoggettoPratica.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoStoricoSoggettoPratica.java deleted file mode 100644 index 546dffae..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoStoricoSoggettoPratica.java +++ /dev/null @@ -1,35 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the BoStoricoSoggettoPratica service. Represents a row in the "gc_storicosoggettopratica" database table, with each column mapped to a property of this class. - * - * @author 3FC - * @see BoStoricoSoggettoPraticaModel - * @see it.tref.liferay.portos.importazione.model.impl.BoStoricoSoggettoPraticaImpl - * @see it.tref.liferay.portos.importazione.model.impl.BoStoricoSoggettoPraticaModelImpl - * @generated - */ -public interface BoStoricoSoggettoPratica extends BoStoricoSoggettoPraticaModel, - PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.importazione.model.impl.BoStoricoSoggettoPraticaImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoStoricoSoggettoPraticaClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoStoricoSoggettoPraticaClp.java deleted file mode 100644 index c2ea58f7..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoStoricoSoggettoPraticaClp.java +++ /dev/null @@ -1,665 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.DateUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.ClpSerializer; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author 3FC - */ -public class BoStoricoSoggettoPraticaClp extends BaseModelImpl - implements BoStoricoSoggettoPratica { - public BoStoricoSoggettoPraticaClp() { - } - - @Override - public Class getModelClass() { - return BoStoricoSoggettoPratica.class; - } - - @Override - public String getModelClassName() { - return BoStoricoSoggettoPratica.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _storicoSoggettoPraticaId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setStoricoSoggettoPraticaId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _storicoSoggettoPraticaId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("storicoSoggettoPraticaId", getStoricoSoggettoPraticaId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("nome", getNome()); - attributes.put("cognome", getCognome()); - attributes.put("codiceFiscale", getCodiceFiscale()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long storicoSoggettoPraticaId = (Long)attributes.get( - "storicoSoggettoPraticaId"); - - if (storicoSoggettoPraticaId != null) { - setStoricoSoggettoPraticaId(storicoSoggettoPraticaId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - String nome = (String)attributes.get("nome"); - - if (nome != null) { - setNome(nome); - } - - String cognome = (String)attributes.get("cognome"); - - if (cognome != null) { - setCognome(cognome); - } - - String codiceFiscale = (String)attributes.get("codiceFiscale"); - - if (codiceFiscale != null) { - setCodiceFiscale(codiceFiscale); - } - } - - @Override - public long getStoricoSoggettoPraticaId() { - return _storicoSoggettoPraticaId; - } - - @Override - public void setStoricoSoggettoPraticaId(long storicoSoggettoPraticaId) { - _storicoSoggettoPraticaId = storicoSoggettoPraticaId; - - if (_boStoricoSoggettoPraticaRemoteModel != null) { - try { - Class clazz = _boStoricoSoggettoPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setStoricoSoggettoPraticaId", - long.class); - - method.invoke(_boStoricoSoggettoPraticaRemoteModel, - storicoSoggettoPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_boStoricoSoggettoPraticaRemoteModel != null) { - try { - Class clazz = _boStoricoSoggettoPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_boStoricoSoggettoPraticaRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_boStoricoSoggettoPraticaRemoteModel != null) { - try { - Class clazz = _boStoricoSoggettoPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_boStoricoSoggettoPraticaRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_boStoricoSoggettoPraticaRemoteModel != null) { - try { - Class clazz = _boStoricoSoggettoPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_boStoricoSoggettoPraticaRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_boStoricoSoggettoPraticaRemoteModel != null) { - try { - Class clazz = _boStoricoSoggettoPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_boStoricoSoggettoPraticaRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_boStoricoSoggettoPraticaRemoteModel != null) { - try { - Class clazz = _boStoricoSoggettoPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_boStoricoSoggettoPraticaRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_boStoricoSoggettoPraticaRemoteModel != null) { - try { - Class clazz = _boStoricoSoggettoPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_boStoricoSoggettoPraticaRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getIntPraticaId() { - return _intPraticaId; - } - - @Override - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - - if (_boStoricoSoggettoPraticaRemoteModel != null) { - try { - Class clazz = _boStoricoSoggettoPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setIntPraticaId", long.class); - - method.invoke(_boStoricoSoggettoPraticaRemoteModel, intPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getNome() { - return _nome; - } - - @Override - public void setNome(String nome) { - _nome = nome; - - if (_boStoricoSoggettoPraticaRemoteModel != null) { - try { - Class clazz = _boStoricoSoggettoPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setNome", String.class); - - method.invoke(_boStoricoSoggettoPraticaRemoteModel, nome); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCognome() { - return _cognome; - } - - @Override - public void setCognome(String cognome) { - _cognome = cognome; - - if (_boStoricoSoggettoPraticaRemoteModel != null) { - try { - Class clazz = _boStoricoSoggettoPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCognome", String.class); - - method.invoke(_boStoricoSoggettoPraticaRemoteModel, cognome); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodiceFiscale() { - return _codiceFiscale; - } - - @Override - public void setCodiceFiscale(String codiceFiscale) { - _codiceFiscale = codiceFiscale; - - if (_boStoricoSoggettoPraticaRemoteModel != null) { - try { - Class clazz = _boStoricoSoggettoPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodiceFiscale", String.class); - - method.invoke(_boStoricoSoggettoPraticaRemoteModel, - codiceFiscale); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - public BaseModel getBoStoricoSoggettoPraticaRemoteModel() { - return _boStoricoSoggettoPraticaRemoteModel; - } - - public void setBoStoricoSoggettoPraticaRemoteModel( - BaseModel boStoricoSoggettoPraticaRemoteModel) { - _boStoricoSoggettoPraticaRemoteModel = boStoricoSoggettoPraticaRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _boStoricoSoggettoPraticaRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_boStoricoSoggettoPraticaRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoStoricoSoggettoPraticaLocalServiceUtil.addBoStoricoSoggettoPratica(this); - } - else { - BoStoricoSoggettoPraticaLocalServiceUtil.updateBoStoricoSoggettoPratica(this); - } - } - - @Override - public BoStoricoSoggettoPratica toEscapedModel() { - return (BoStoricoSoggettoPratica)ProxyUtil.newProxyInstance(BoStoricoSoggettoPratica.class.getClassLoader(), - new Class[] { BoStoricoSoggettoPratica.class }, - new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - BoStoricoSoggettoPraticaClp clone = new BoStoricoSoggettoPraticaClp(); - - clone.setStoricoSoggettoPraticaId(getStoricoSoggettoPraticaId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setGroupId(getGroupId()); - clone.setIntPraticaId(getIntPraticaId()); - clone.setNome(getNome()); - clone.setCognome(getCognome()); - clone.setCodiceFiscale(getCodiceFiscale()); - - return clone; - } - - @Override - public int compareTo(BoStoricoSoggettoPratica boStoricoSoggettoPratica) { - int value = 0; - - value = DateUtil.compareTo(getCreateDate(), - boStoricoSoggettoPratica.getCreateDate()); - - if (value != 0) { - return value; - } - - return 0; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoStoricoSoggettoPraticaClp)) { - return false; - } - - BoStoricoSoggettoPraticaClp boStoricoSoggettoPratica = (BoStoricoSoggettoPraticaClp)obj; - - long primaryKey = boStoricoSoggettoPratica.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(23); - - sb.append("{storicoSoggettoPraticaId="); - sb.append(getStoricoSoggettoPraticaId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", intPraticaId="); - sb.append(getIntPraticaId()); - sb.append(", nome="); - sb.append(getNome()); - sb.append(", cognome="); - sb.append(getCognome()); - sb.append(", codiceFiscale="); - sb.append(getCodiceFiscale()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(37); - - sb.append(""); - sb.append( - "it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica"); - sb.append(""); - - sb.append( - "storicoSoggettoPraticaId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "intPraticaId"); - sb.append( - "nome"); - sb.append( - "cognome"); - sb.append( - "codiceFiscale"); - - sb.append(""); - - return sb.toString(); - } - - private long _storicoSoggettoPraticaId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _intPraticaId; - private String _nome; - private String _cognome; - private String _codiceFiscale; - private BaseModel _boStoricoSoggettoPraticaRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.importazione.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoStoricoSoggettoPraticaModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoStoricoSoggettoPraticaModel.java deleted file mode 100644 index d47d2740..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoStoricoSoggettoPraticaModel.java +++ /dev/null @@ -1,309 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.GroupedModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the BoStoricoSoggettoPratica service. Represents a row in the "gc_storicosoggettopratica" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.importazione.model.impl.BoStoricoSoggettoPraticaModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.importazione.model.impl.BoStoricoSoggettoPraticaImpl}. - *

- * - * @author 3FC - * @see BoStoricoSoggettoPratica - * @see it.tref.liferay.portos.importazione.model.impl.BoStoricoSoggettoPraticaImpl - * @see it.tref.liferay.portos.importazione.model.impl.BoStoricoSoggettoPraticaModelImpl - * @generated - */ -public interface BoStoricoSoggettoPraticaModel extends BaseModel, - GroupedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a bo storico soggetto pratica model instance should use the {@link BoStoricoSoggettoPratica} interface instead. - */ - - /** - * Returns the primary key of this bo storico soggetto pratica. - * - * @return the primary key of this bo storico soggetto pratica - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this bo storico soggetto pratica. - * - * @param primaryKey the primary key of this bo storico soggetto pratica - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the storico soggetto pratica ID of this bo storico soggetto pratica. - * - * @return the storico soggetto pratica ID of this bo storico soggetto pratica - */ - public long getStoricoSoggettoPraticaId(); - - /** - * Sets the storico soggetto pratica ID of this bo storico soggetto pratica. - * - * @param storicoSoggettoPraticaId the storico soggetto pratica ID of this bo storico soggetto pratica - */ - public void setStoricoSoggettoPraticaId(long storicoSoggettoPraticaId); - - /** - * Returns the company ID of this bo storico soggetto pratica. - * - * @return the company ID of this bo storico soggetto pratica - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this bo storico soggetto pratica. - * - * @param companyId the company ID of this bo storico soggetto pratica - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this bo storico soggetto pratica. - * - * @return the user ID of this bo storico soggetto pratica - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this bo storico soggetto pratica. - * - * @param userId the user ID of this bo storico soggetto pratica - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this bo storico soggetto pratica. - * - * @return the user uuid of this bo storico soggetto pratica - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this bo storico soggetto pratica. - * - * @param userUuid the user uuid of this bo storico soggetto pratica - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this bo storico soggetto pratica. - * - * @return the user name of this bo storico soggetto pratica - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this bo storico soggetto pratica. - * - * @param userName the user name of this bo storico soggetto pratica - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this bo storico soggetto pratica. - * - * @return the create date of this bo storico soggetto pratica - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this bo storico soggetto pratica. - * - * @param createDate the create date of this bo storico soggetto pratica - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this bo storico soggetto pratica. - * - * @return the modified date of this bo storico soggetto pratica - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this bo storico soggetto pratica. - * - * @param modifiedDate the modified date of this bo storico soggetto pratica - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the group ID of this bo storico soggetto pratica. - * - * @return the group ID of this bo storico soggetto pratica - */ - @Override - public long getGroupId(); - - /** - * Sets the group ID of this bo storico soggetto pratica. - * - * @param groupId the group ID of this bo storico soggetto pratica - */ - @Override - public void setGroupId(long groupId); - - /** - * Returns the int pratica ID of this bo storico soggetto pratica. - * - * @return the int pratica ID of this bo storico soggetto pratica - */ - public long getIntPraticaId(); - - /** - * Sets the int pratica ID of this bo storico soggetto pratica. - * - * @param intPraticaId the int pratica ID of this bo storico soggetto pratica - */ - public void setIntPraticaId(long intPraticaId); - - /** - * Returns the nome of this bo storico soggetto pratica. - * - * @return the nome of this bo storico soggetto pratica - */ - @AutoEscape - public String getNome(); - - /** - * Sets the nome of this bo storico soggetto pratica. - * - * @param nome the nome of this bo storico soggetto pratica - */ - public void setNome(String nome); - - /** - * Returns the cognome of this bo storico soggetto pratica. - * - * @return the cognome of this bo storico soggetto pratica - */ - @AutoEscape - public String getCognome(); - - /** - * Sets the cognome of this bo storico soggetto pratica. - * - * @param cognome the cognome of this bo storico soggetto pratica - */ - public void setCognome(String cognome); - - /** - * Returns the codice fiscale of this bo storico soggetto pratica. - * - * @return the codice fiscale of this bo storico soggetto pratica - */ - @AutoEscape - public String getCodiceFiscale(); - - /** - * Sets the codice fiscale of this bo storico soggetto pratica. - * - * @param codiceFiscale the codice fiscale of this bo storico soggetto pratica - */ - public void setCodiceFiscale(String codiceFiscale); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica toEscapedModel(); - - @Override - public it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoStoricoSoggettoPraticaSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoStoricoSoggettoPraticaSoap.java deleted file mode 100644 index 0a7b936e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoStoricoSoggettoPraticaSoap.java +++ /dev/null @@ -1,199 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author 3FC - * @generated - */ -public class BoStoricoSoggettoPraticaSoap implements Serializable { - public static BoStoricoSoggettoPraticaSoap toSoapModel( - BoStoricoSoggettoPratica model) { - BoStoricoSoggettoPraticaSoap soapModel = new BoStoricoSoggettoPraticaSoap(); - - soapModel.setStoricoSoggettoPraticaId(model.getStoricoSoggettoPraticaId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setIntPraticaId(model.getIntPraticaId()); - soapModel.setNome(model.getNome()); - soapModel.setCognome(model.getCognome()); - soapModel.setCodiceFiscale(model.getCodiceFiscale()); - - return soapModel; - } - - public static BoStoricoSoggettoPraticaSoap[] toSoapModels( - BoStoricoSoggettoPratica[] models) { - BoStoricoSoggettoPraticaSoap[] soapModels = new BoStoricoSoggettoPraticaSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static BoStoricoSoggettoPraticaSoap[][] toSoapModels( - BoStoricoSoggettoPratica[][] models) { - BoStoricoSoggettoPraticaSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new BoStoricoSoggettoPraticaSoap[models.length][models[0].length]; - } - else { - soapModels = new BoStoricoSoggettoPraticaSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static BoStoricoSoggettoPraticaSoap[] toSoapModels( - List models) { - List soapModels = new ArrayList(models.size()); - - for (BoStoricoSoggettoPratica model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new BoStoricoSoggettoPraticaSoap[soapModels.size()]); - } - - public BoStoricoSoggettoPraticaSoap() { - } - - public long getPrimaryKey() { - return _storicoSoggettoPraticaId; - } - - public void setPrimaryKey(long pk) { - setStoricoSoggettoPraticaId(pk); - } - - public long getStoricoSoggettoPraticaId() { - return _storicoSoggettoPraticaId; - } - - public void setStoricoSoggettoPraticaId(long storicoSoggettoPraticaId) { - _storicoSoggettoPraticaId = storicoSoggettoPraticaId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public long getIntPraticaId() { - return _intPraticaId; - } - - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - } - - public String getNome() { - return _nome; - } - - public void setNome(String nome) { - _nome = nome; - } - - public String getCognome() { - return _cognome; - } - - public void setCognome(String cognome) { - _cognome = cognome; - } - - public String getCodiceFiscale() { - return _codiceFiscale; - } - - public void setCodiceFiscale(String codiceFiscale) { - _codiceFiscale = codiceFiscale; - } - - private long _storicoSoggettoPraticaId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _intPraticaId; - private String _nome; - private String _cognome; - private String _codiceFiscale; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoStoricoSoggettoPraticaWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoStoricoSoggettoPraticaWrapper.java deleted file mode 100644 index 6b7bc388..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoStoricoSoggettoPraticaWrapper.java +++ /dev/null @@ -1,544 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link BoStoricoSoggettoPratica}. - *

- * - * @author 3FC - * @see BoStoricoSoggettoPratica - * @generated - */ -public class BoStoricoSoggettoPraticaWrapper implements BoStoricoSoggettoPratica, - ModelWrapper { - public BoStoricoSoggettoPraticaWrapper( - BoStoricoSoggettoPratica boStoricoSoggettoPratica) { - _boStoricoSoggettoPratica = boStoricoSoggettoPratica; - } - - @Override - public Class getModelClass() { - return BoStoricoSoggettoPratica.class; - } - - @Override - public String getModelClassName() { - return BoStoricoSoggettoPratica.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("storicoSoggettoPraticaId", getStoricoSoggettoPraticaId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("nome", getNome()); - attributes.put("cognome", getCognome()); - attributes.put("codiceFiscale", getCodiceFiscale()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long storicoSoggettoPraticaId = (Long)attributes.get( - "storicoSoggettoPraticaId"); - - if (storicoSoggettoPraticaId != null) { - setStoricoSoggettoPraticaId(storicoSoggettoPraticaId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - String nome = (String)attributes.get("nome"); - - if (nome != null) { - setNome(nome); - } - - String cognome = (String)attributes.get("cognome"); - - if (cognome != null) { - setCognome(cognome); - } - - String codiceFiscale = (String)attributes.get("codiceFiscale"); - - if (codiceFiscale != null) { - setCodiceFiscale(codiceFiscale); - } - } - - /** - * Returns the primary key of this bo storico soggetto pratica. - * - * @return the primary key of this bo storico soggetto pratica - */ - @Override - public long getPrimaryKey() { - return _boStoricoSoggettoPratica.getPrimaryKey(); - } - - /** - * Sets the primary key of this bo storico soggetto pratica. - * - * @param primaryKey the primary key of this bo storico soggetto pratica - */ - @Override - public void setPrimaryKey(long primaryKey) { - _boStoricoSoggettoPratica.setPrimaryKey(primaryKey); - } - - /** - * Returns the storico soggetto pratica ID of this bo storico soggetto pratica. - * - * @return the storico soggetto pratica ID of this bo storico soggetto pratica - */ - @Override - public long getStoricoSoggettoPraticaId() { - return _boStoricoSoggettoPratica.getStoricoSoggettoPraticaId(); - } - - /** - * Sets the storico soggetto pratica ID of this bo storico soggetto pratica. - * - * @param storicoSoggettoPraticaId the storico soggetto pratica ID of this bo storico soggetto pratica - */ - @Override - public void setStoricoSoggettoPraticaId(long storicoSoggettoPraticaId) { - _boStoricoSoggettoPratica.setStoricoSoggettoPraticaId(storicoSoggettoPraticaId); - } - - /** - * Returns the company ID of this bo storico soggetto pratica. - * - * @return the company ID of this bo storico soggetto pratica - */ - @Override - public long getCompanyId() { - return _boStoricoSoggettoPratica.getCompanyId(); - } - - /** - * Sets the company ID of this bo storico soggetto pratica. - * - * @param companyId the company ID of this bo storico soggetto pratica - */ - @Override - public void setCompanyId(long companyId) { - _boStoricoSoggettoPratica.setCompanyId(companyId); - } - - /** - * Returns the user ID of this bo storico soggetto pratica. - * - * @return the user ID of this bo storico soggetto pratica - */ - @Override - public long getUserId() { - return _boStoricoSoggettoPratica.getUserId(); - } - - /** - * Sets the user ID of this bo storico soggetto pratica. - * - * @param userId the user ID of this bo storico soggetto pratica - */ - @Override - public void setUserId(long userId) { - _boStoricoSoggettoPratica.setUserId(userId); - } - - /** - * Returns the user uuid of this bo storico soggetto pratica. - * - * @return the user uuid of this bo storico soggetto pratica - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _boStoricoSoggettoPratica.getUserUuid(); - } - - /** - * Sets the user uuid of this bo storico soggetto pratica. - * - * @param userUuid the user uuid of this bo storico soggetto pratica - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _boStoricoSoggettoPratica.setUserUuid(userUuid); - } - - /** - * Returns the user name of this bo storico soggetto pratica. - * - * @return the user name of this bo storico soggetto pratica - */ - @Override - public java.lang.String getUserName() { - return _boStoricoSoggettoPratica.getUserName(); - } - - /** - * Sets the user name of this bo storico soggetto pratica. - * - * @param userName the user name of this bo storico soggetto pratica - */ - @Override - public void setUserName(java.lang.String userName) { - _boStoricoSoggettoPratica.setUserName(userName); - } - - /** - * Returns the create date of this bo storico soggetto pratica. - * - * @return the create date of this bo storico soggetto pratica - */ - @Override - public java.util.Date getCreateDate() { - return _boStoricoSoggettoPratica.getCreateDate(); - } - - /** - * Sets the create date of this bo storico soggetto pratica. - * - * @param createDate the create date of this bo storico soggetto pratica - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _boStoricoSoggettoPratica.setCreateDate(createDate); - } - - /** - * Returns the modified date of this bo storico soggetto pratica. - * - * @return the modified date of this bo storico soggetto pratica - */ - @Override - public java.util.Date getModifiedDate() { - return _boStoricoSoggettoPratica.getModifiedDate(); - } - - /** - * Sets the modified date of this bo storico soggetto pratica. - * - * @param modifiedDate the modified date of this bo storico soggetto pratica - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _boStoricoSoggettoPratica.setModifiedDate(modifiedDate); - } - - /** - * Returns the group ID of this bo storico soggetto pratica. - * - * @return the group ID of this bo storico soggetto pratica - */ - @Override - public long getGroupId() { - return _boStoricoSoggettoPratica.getGroupId(); - } - - /** - * Sets the group ID of this bo storico soggetto pratica. - * - * @param groupId the group ID of this bo storico soggetto pratica - */ - @Override - public void setGroupId(long groupId) { - _boStoricoSoggettoPratica.setGroupId(groupId); - } - - /** - * Returns the int pratica ID of this bo storico soggetto pratica. - * - * @return the int pratica ID of this bo storico soggetto pratica - */ - @Override - public long getIntPraticaId() { - return _boStoricoSoggettoPratica.getIntPraticaId(); - } - - /** - * Sets the int pratica ID of this bo storico soggetto pratica. - * - * @param intPraticaId the int pratica ID of this bo storico soggetto pratica - */ - @Override - public void setIntPraticaId(long intPraticaId) { - _boStoricoSoggettoPratica.setIntPraticaId(intPraticaId); - } - - /** - * Returns the nome of this bo storico soggetto pratica. - * - * @return the nome of this bo storico soggetto pratica - */ - @Override - public java.lang.String getNome() { - return _boStoricoSoggettoPratica.getNome(); - } - - /** - * Sets the nome of this bo storico soggetto pratica. - * - * @param nome the nome of this bo storico soggetto pratica - */ - @Override - public void setNome(java.lang.String nome) { - _boStoricoSoggettoPratica.setNome(nome); - } - - /** - * Returns the cognome of this bo storico soggetto pratica. - * - * @return the cognome of this bo storico soggetto pratica - */ - @Override - public java.lang.String getCognome() { - return _boStoricoSoggettoPratica.getCognome(); - } - - /** - * Sets the cognome of this bo storico soggetto pratica. - * - * @param cognome the cognome of this bo storico soggetto pratica - */ - @Override - public void setCognome(java.lang.String cognome) { - _boStoricoSoggettoPratica.setCognome(cognome); - } - - /** - * Returns the codice fiscale of this bo storico soggetto pratica. - * - * @return the codice fiscale of this bo storico soggetto pratica - */ - @Override - public java.lang.String getCodiceFiscale() { - return _boStoricoSoggettoPratica.getCodiceFiscale(); - } - - /** - * Sets the codice fiscale of this bo storico soggetto pratica. - * - * @param codiceFiscale the codice fiscale of this bo storico soggetto pratica - */ - @Override - public void setCodiceFiscale(java.lang.String codiceFiscale) { - _boStoricoSoggettoPratica.setCodiceFiscale(codiceFiscale); - } - - @Override - public boolean isNew() { - return _boStoricoSoggettoPratica.isNew(); - } - - @Override - public void setNew(boolean n) { - _boStoricoSoggettoPratica.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _boStoricoSoggettoPratica.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _boStoricoSoggettoPratica.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _boStoricoSoggettoPratica.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _boStoricoSoggettoPratica.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _boStoricoSoggettoPratica.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _boStoricoSoggettoPratica.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _boStoricoSoggettoPratica.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _boStoricoSoggettoPratica.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _boStoricoSoggettoPratica.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new BoStoricoSoggettoPraticaWrapper((BoStoricoSoggettoPratica)_boStoricoSoggettoPratica.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica) { - return _boStoricoSoggettoPratica.compareTo(boStoricoSoggettoPratica); - } - - @Override - public int hashCode() { - return _boStoricoSoggettoPratica.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _boStoricoSoggettoPratica.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica toEscapedModel() { - return new BoStoricoSoggettoPraticaWrapper(_boStoricoSoggettoPratica.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica toUnescapedModel() { - return new BoStoricoSoggettoPraticaWrapper(_boStoricoSoggettoPratica.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _boStoricoSoggettoPratica.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _boStoricoSoggettoPratica.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _boStoricoSoggettoPratica.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoStoricoSoggettoPraticaWrapper)) { - return false; - } - - BoStoricoSoggettoPraticaWrapper boStoricoSoggettoPraticaWrapper = (BoStoricoSoggettoPraticaWrapper)obj; - - if (Validator.equals(_boStoricoSoggettoPratica, - boStoricoSoggettoPraticaWrapper._boStoricoSoggettoPratica)) { - return true; - } - - return false; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public BoStoricoSoggettoPratica getWrappedBoStoricoSoggettoPratica() { - return _boStoricoSoggettoPratica; - } - - @Override - public BoStoricoSoggettoPratica getWrappedModel() { - return _boStoricoSoggettoPratica; - } - - @Override - public void resetOriginalValues() { - _boStoricoSoggettoPratica.resetOriginalValues(); - } - - private BoStoricoSoggettoPratica _boStoricoSoggettoPratica; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoTempistica.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoTempistica.java deleted file mode 100644 index 624a05fb..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoTempistica.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the BoTempistica service. Represents a row in the "gc_tempistica" database table, with each column mapped to a property of this class. - * - * @author 3FC - * @see BoTempisticaModel - * @see it.tref.liferay.portos.importazione.model.impl.BoTempisticaImpl - * @see it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl - * @generated - */ -public interface BoTempistica extends BoTempisticaModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoTempisticaClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoTempisticaClp.java deleted file mode 100644 index d510205a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoTempisticaClp.java +++ /dev/null @@ -1,822 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.service.BoTempisticaLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.ClpSerializer; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author 3FC - */ -public class BoTempisticaClp extends BaseModelImpl - implements BoTempistica { - public BoTempisticaClp() { - } - - @Override - public Class getModelClass() { - return BoTempistica.class; - } - - @Override - public String getModelClassName() { - return BoTempistica.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _tempisticaId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setTempisticaId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _tempisticaId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("tempisticaId", getTempisticaId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("tipo", getTipo()); - attributes.put("start", getStart()); - attributes.put("stop", getStop()); - attributes.put("wait", getWait()); - attributes.put("completo", getCompleto()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long tempisticaId = (Long)attributes.get("tempisticaId"); - - if (tempisticaId != null) { - setTempisticaId(tempisticaId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - String tipo = (String)attributes.get("tipo"); - - if (tipo != null) { - setTipo(tipo); - } - - Long start = (Long)attributes.get("start"); - - if (start != null) { - setStart(start); - } - - Long stop = (Long)attributes.get("stop"); - - if (stop != null) { - setStop(stop); - } - - Long wait = (Long)attributes.get("wait"); - - if (wait != null) { - setWait(wait); - } - - Boolean completo = (Boolean)attributes.get("completo"); - - if (completo != null) { - setCompleto(completo); - } - } - - @Override - public String getUuid() { - return _uuid; - } - - @Override - public void setUuid(String uuid) { - _uuid = uuid; - - if (_boTempisticaRemoteModel != null) { - try { - Class clazz = _boTempisticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setUuid", String.class); - - method.invoke(_boTempisticaRemoteModel, uuid); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getTempisticaId() { - return _tempisticaId; - } - - @Override - public void setTempisticaId(long tempisticaId) { - _tempisticaId = tempisticaId; - - if (_boTempisticaRemoteModel != null) { - try { - Class clazz = _boTempisticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setTempisticaId", long.class); - - method.invoke(_boTempisticaRemoteModel, tempisticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_boTempisticaRemoteModel != null) { - try { - Class clazz = _boTempisticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_boTempisticaRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_boTempisticaRemoteModel != null) { - try { - Class clazz = _boTempisticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_boTempisticaRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_boTempisticaRemoteModel != null) { - try { - Class clazz = _boTempisticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_boTempisticaRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_boTempisticaRemoteModel != null) { - try { - Class clazz = _boTempisticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_boTempisticaRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_boTempisticaRemoteModel != null) { - try { - Class clazz = _boTempisticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_boTempisticaRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_boTempisticaRemoteModel != null) { - try { - Class clazz = _boTempisticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_boTempisticaRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getIntPraticaId() { - return _intPraticaId; - } - - @Override - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - - if (_boTempisticaRemoteModel != null) { - try { - Class clazz = _boTempisticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setIntPraticaId", long.class); - - method.invoke(_boTempisticaRemoteModel, intPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getDettPraticaId() { - return _dettPraticaId; - } - - @Override - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - - if (_boTempisticaRemoteModel != null) { - try { - Class clazz = _boTempisticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDettPraticaId", long.class); - - method.invoke(_boTempisticaRemoteModel, dettPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getTipo() { - return _tipo; - } - - @Override - public void setTipo(String tipo) { - _tipo = tipo; - - if (_boTempisticaRemoteModel != null) { - try { - Class clazz = _boTempisticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setTipo", String.class); - - method.invoke(_boTempisticaRemoteModel, tipo); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getStart() { - return _start; - } - - @Override - public void setStart(long start) { - _start = start; - - if (_boTempisticaRemoteModel != null) { - try { - Class clazz = _boTempisticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setStart", long.class); - - method.invoke(_boTempisticaRemoteModel, start); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getStop() { - return _stop; - } - - @Override - public void setStop(long stop) { - _stop = stop; - - if (_boTempisticaRemoteModel != null) { - try { - Class clazz = _boTempisticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setStop", long.class); - - method.invoke(_boTempisticaRemoteModel, stop); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getWait() { - return _wait; - } - - @Override - public void setWait(long wait) { - _wait = wait; - - if (_boTempisticaRemoteModel != null) { - try { - Class clazz = _boTempisticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setWait", long.class); - - method.invoke(_boTempisticaRemoteModel, wait); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getCompleto() { - return _completo; - } - - @Override - public boolean isCompleto() { - return _completo; - } - - @Override - public void setCompleto(boolean completo) { - _completo = completo; - - if (_boTempisticaRemoteModel != null) { - try { - Class clazz = _boTempisticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompleto", boolean.class); - - method.invoke(_boTempisticaRemoteModel, completo); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoTempistica.class.getName())); - } - - public BaseModel getBoTempisticaRemoteModel() { - return _boTempisticaRemoteModel; - } - - public void setBoTempisticaRemoteModel(BaseModel boTempisticaRemoteModel) { - _boTempisticaRemoteModel = boTempisticaRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _boTempisticaRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_boTempisticaRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoTempisticaLocalServiceUtil.addBoTempistica(this); - } - else { - BoTempisticaLocalServiceUtil.updateBoTempistica(this); - } - } - - @Override - public BoTempistica toEscapedModel() { - return (BoTempistica)ProxyUtil.newProxyInstance(BoTempistica.class.getClassLoader(), - new Class[] { BoTempistica.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - BoTempisticaClp clone = new BoTempisticaClp(); - - clone.setUuid(getUuid()); - clone.setTempisticaId(getTempisticaId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setGroupId(getGroupId()); - clone.setIntPraticaId(getIntPraticaId()); - clone.setDettPraticaId(getDettPraticaId()); - clone.setTipo(getTipo()); - clone.setStart(getStart()); - clone.setStop(getStop()); - clone.setWait(getWait()); - clone.setCompleto(getCompleto()); - - return clone; - } - - @Override - public int compareTo(BoTempistica boTempistica) { - long primaryKey = boTempistica.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoTempisticaClp)) { - return false; - } - - BoTempisticaClp boTempistica = (BoTempisticaClp)obj; - - long primaryKey = boTempistica.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(31); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", tempisticaId="); - sb.append(getTempisticaId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", intPraticaId="); - sb.append(getIntPraticaId()); - sb.append(", dettPraticaId="); - sb.append(getDettPraticaId()); - sb.append(", tipo="); - sb.append(getTipo()); - sb.append(", start="); - sb.append(getStart()); - sb.append(", stop="); - sb.append(getStop()); - sb.append(", wait="); - sb.append(getWait()); - sb.append(", completo="); - sb.append(getCompleto()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(49); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.BoTempistica"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "tempisticaId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "intPraticaId"); - sb.append( - "dettPraticaId"); - sb.append( - "tipo"); - sb.append( - "start"); - sb.append( - "stop"); - sb.append( - "wait"); - sb.append( - "completo"); - - sb.append(""); - - return sb.toString(); - } - - private String _uuid; - private long _tempisticaId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _intPraticaId; - private long _dettPraticaId; - private String _tipo; - private long _start; - private long _stop; - private long _wait; - private boolean _completo; - private BaseModel _boTempisticaRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.importazione.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoTempisticaModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoTempisticaModel.java deleted file mode 100644 index bf9b6e51..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoTempisticaModel.java +++ /dev/null @@ -1,373 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.StagedGroupedModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the BoTempistica service. Represents a row in the "gc_tempistica" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaImpl}. - *

- * - * @author 3FC - * @see BoTempistica - * @see it.tref.liferay.portos.importazione.model.impl.BoTempisticaImpl - * @see it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl - * @generated - */ -public interface BoTempisticaModel extends BaseModel, - StagedGroupedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a bo tempistica model instance should use the {@link BoTempistica} interface instead. - */ - - /** - * Returns the primary key of this bo tempistica. - * - * @return the primary key of this bo tempistica - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this bo tempistica. - * - * @param primaryKey the primary key of this bo tempistica - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the uuid of this bo tempistica. - * - * @return the uuid of this bo tempistica - */ - @AutoEscape - @Override - public String getUuid(); - - /** - * Sets the uuid of this bo tempistica. - * - * @param uuid the uuid of this bo tempistica - */ - @Override - public void setUuid(String uuid); - - /** - * Returns the tempistica ID of this bo tempistica. - * - * @return the tempistica ID of this bo tempistica - */ - public long getTempisticaId(); - - /** - * Sets the tempistica ID of this bo tempistica. - * - * @param tempisticaId the tempistica ID of this bo tempistica - */ - public void setTempisticaId(long tempisticaId); - - /** - * Returns the company ID of this bo tempistica. - * - * @return the company ID of this bo tempistica - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this bo tempistica. - * - * @param companyId the company ID of this bo tempistica - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this bo tempistica. - * - * @return the user ID of this bo tempistica - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this bo tempistica. - * - * @param userId the user ID of this bo tempistica - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this bo tempistica. - * - * @return the user uuid of this bo tempistica - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this bo tempistica. - * - * @param userUuid the user uuid of this bo tempistica - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this bo tempistica. - * - * @return the user name of this bo tempistica - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this bo tempistica. - * - * @param userName the user name of this bo tempistica - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this bo tempistica. - * - * @return the create date of this bo tempistica - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this bo tempistica. - * - * @param createDate the create date of this bo tempistica - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this bo tempistica. - * - * @return the modified date of this bo tempistica - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this bo tempistica. - * - * @param modifiedDate the modified date of this bo tempistica - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the group ID of this bo tempistica. - * - * @return the group ID of this bo tempistica - */ - @Override - public long getGroupId(); - - /** - * Sets the group ID of this bo tempistica. - * - * @param groupId the group ID of this bo tempistica - */ - @Override - public void setGroupId(long groupId); - - /** - * Returns the int pratica ID of this bo tempistica. - * - * @return the int pratica ID of this bo tempistica - */ - public long getIntPraticaId(); - - /** - * Sets the int pratica ID of this bo tempistica. - * - * @param intPraticaId the int pratica ID of this bo tempistica - */ - public void setIntPraticaId(long intPraticaId); - - /** - * Returns the dett pratica ID of this bo tempistica. - * - * @return the dett pratica ID of this bo tempistica - */ - public long getDettPraticaId(); - - /** - * Sets the dett pratica ID of this bo tempistica. - * - * @param dettPraticaId the dett pratica ID of this bo tempistica - */ - public void setDettPraticaId(long dettPraticaId); - - /** - * Returns the tipo of this bo tempistica. - * - * @return the tipo of this bo tempistica - */ - @AutoEscape - public String getTipo(); - - /** - * Sets the tipo of this bo tempistica. - * - * @param tipo the tipo of this bo tempistica - */ - public void setTipo(String tipo); - - /** - * Returns the start of this bo tempistica. - * - * @return the start of this bo tempistica - */ - public long getStart(); - - /** - * Sets the start of this bo tempistica. - * - * @param start the start of this bo tempistica - */ - public void setStart(long start); - - /** - * Returns the stop of this bo tempistica. - * - * @return the stop of this bo tempistica - */ - public long getStop(); - - /** - * Sets the stop of this bo tempistica. - * - * @param stop the stop of this bo tempistica - */ - public void setStop(long stop); - - /** - * Returns the wait of this bo tempistica. - * - * @return the wait of this bo tempistica - */ - public long getWait(); - - /** - * Sets the wait of this bo tempistica. - * - * @param wait the wait of this bo tempistica - */ - public void setWait(long wait); - - /** - * Returns the completo of this bo tempistica. - * - * @return the completo of this bo tempistica - */ - public boolean getCompleto(); - - /** - * Returns true if this bo tempistica is completo. - * - * @return true if this bo tempistica is completo; false otherwise - */ - public boolean isCompleto(); - - /** - * Sets whether this bo tempistica is completo. - * - * @param completo the completo of this bo tempistica - */ - public void setCompleto(boolean completo); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.BoTempistica boTempistica); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.importazione.model.BoTempistica toEscapedModel(); - - @Override - public it.tref.liferay.portos.importazione.model.BoTempistica toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoTempisticaSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoTempisticaSoap.java deleted file mode 100644 index 9be9cb85..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoTempisticaSoap.java +++ /dev/null @@ -1,239 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author 3FC - * @generated - */ -public class BoTempisticaSoap implements Serializable { - public static BoTempisticaSoap toSoapModel(BoTempistica model) { - BoTempisticaSoap soapModel = new BoTempisticaSoap(); - - soapModel.setUuid(model.getUuid()); - soapModel.setTempisticaId(model.getTempisticaId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setIntPraticaId(model.getIntPraticaId()); - soapModel.setDettPraticaId(model.getDettPraticaId()); - soapModel.setTipo(model.getTipo()); - soapModel.setStart(model.getStart()); - soapModel.setStop(model.getStop()); - soapModel.setWait(model.getWait()); - soapModel.setCompleto(model.getCompleto()); - - return soapModel; - } - - public static BoTempisticaSoap[] toSoapModels(BoTempistica[] models) { - BoTempisticaSoap[] soapModels = new BoTempisticaSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static BoTempisticaSoap[][] toSoapModels(BoTempistica[][] models) { - BoTempisticaSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new BoTempisticaSoap[models.length][models[0].length]; - } - else { - soapModels = new BoTempisticaSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static BoTempisticaSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (BoTempistica model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new BoTempisticaSoap[soapModels.size()]); - } - - public BoTempisticaSoap() { - } - - public long getPrimaryKey() { - return _tempisticaId; - } - - public void setPrimaryKey(long pk) { - setTempisticaId(pk); - } - - public String getUuid() { - return _uuid; - } - - public void setUuid(String uuid) { - _uuid = uuid; - } - - public long getTempisticaId() { - return _tempisticaId; - } - - public void setTempisticaId(long tempisticaId) { - _tempisticaId = tempisticaId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public long getIntPraticaId() { - return _intPraticaId; - } - - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - } - - public long getDettPraticaId() { - return _dettPraticaId; - } - - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - } - - public String getTipo() { - return _tipo; - } - - public void setTipo(String tipo) { - _tipo = tipo; - } - - public long getStart() { - return _start; - } - - public void setStart(long start) { - _start = start; - } - - public long getStop() { - return _stop; - } - - public void setStop(long stop) { - _stop = stop; - } - - public long getWait() { - return _wait; - } - - public void setWait(long wait) { - _wait = wait; - } - - public boolean getCompleto() { - return _completo; - } - - public boolean isCompleto() { - return _completo; - } - - public void setCompleto(boolean completo) { - _completo = completo; - } - - private String _uuid; - private long _tempisticaId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _intPraticaId; - private long _dettPraticaId; - private String _tipo; - private long _start; - private long _stop; - private long _wait; - private boolean _completo; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoTempisticaWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoTempisticaWrapper.java deleted file mode 100644 index 62ffea0d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoTempisticaWrapper.java +++ /dev/null @@ -1,665 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link BoTempistica}. - *

- * - * @author 3FC - * @see BoTempistica - * @generated - */ -public class BoTempisticaWrapper implements BoTempistica, - ModelWrapper { - public BoTempisticaWrapper(BoTempistica boTempistica) { - _boTempistica = boTempistica; - } - - @Override - public Class getModelClass() { - return BoTempistica.class; - } - - @Override - public String getModelClassName() { - return BoTempistica.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("tempisticaId", getTempisticaId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("tipo", getTipo()); - attributes.put("start", getStart()); - attributes.put("stop", getStop()); - attributes.put("wait", getWait()); - attributes.put("completo", getCompleto()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long tempisticaId = (Long)attributes.get("tempisticaId"); - - if (tempisticaId != null) { - setTempisticaId(tempisticaId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - String tipo = (String)attributes.get("tipo"); - - if (tipo != null) { - setTipo(tipo); - } - - Long start = (Long)attributes.get("start"); - - if (start != null) { - setStart(start); - } - - Long stop = (Long)attributes.get("stop"); - - if (stop != null) { - setStop(stop); - } - - Long wait = (Long)attributes.get("wait"); - - if (wait != null) { - setWait(wait); - } - - Boolean completo = (Boolean)attributes.get("completo"); - - if (completo != null) { - setCompleto(completo); - } - } - - /** - * Returns the primary key of this bo tempistica. - * - * @return the primary key of this bo tempistica - */ - @Override - public long getPrimaryKey() { - return _boTempistica.getPrimaryKey(); - } - - /** - * Sets the primary key of this bo tempistica. - * - * @param primaryKey the primary key of this bo tempistica - */ - @Override - public void setPrimaryKey(long primaryKey) { - _boTempistica.setPrimaryKey(primaryKey); - } - - /** - * Returns the uuid of this bo tempistica. - * - * @return the uuid of this bo tempistica - */ - @Override - public java.lang.String getUuid() { - return _boTempistica.getUuid(); - } - - /** - * Sets the uuid of this bo tempistica. - * - * @param uuid the uuid of this bo tempistica - */ - @Override - public void setUuid(java.lang.String uuid) { - _boTempistica.setUuid(uuid); - } - - /** - * Returns the tempistica ID of this bo tempistica. - * - * @return the tempistica ID of this bo tempistica - */ - @Override - public long getTempisticaId() { - return _boTempistica.getTempisticaId(); - } - - /** - * Sets the tempistica ID of this bo tempistica. - * - * @param tempisticaId the tempistica ID of this bo tempistica - */ - @Override - public void setTempisticaId(long tempisticaId) { - _boTempistica.setTempisticaId(tempisticaId); - } - - /** - * Returns the company ID of this bo tempistica. - * - * @return the company ID of this bo tempistica - */ - @Override - public long getCompanyId() { - return _boTempistica.getCompanyId(); - } - - /** - * Sets the company ID of this bo tempistica. - * - * @param companyId the company ID of this bo tempistica - */ - @Override - public void setCompanyId(long companyId) { - _boTempistica.setCompanyId(companyId); - } - - /** - * Returns the user ID of this bo tempistica. - * - * @return the user ID of this bo tempistica - */ - @Override - public long getUserId() { - return _boTempistica.getUserId(); - } - - /** - * Sets the user ID of this bo tempistica. - * - * @param userId the user ID of this bo tempistica - */ - @Override - public void setUserId(long userId) { - _boTempistica.setUserId(userId); - } - - /** - * Returns the user uuid of this bo tempistica. - * - * @return the user uuid of this bo tempistica - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _boTempistica.getUserUuid(); - } - - /** - * Sets the user uuid of this bo tempistica. - * - * @param userUuid the user uuid of this bo tempistica - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _boTempistica.setUserUuid(userUuid); - } - - /** - * Returns the user name of this bo tempistica. - * - * @return the user name of this bo tempistica - */ - @Override - public java.lang.String getUserName() { - return _boTempistica.getUserName(); - } - - /** - * Sets the user name of this bo tempistica. - * - * @param userName the user name of this bo tempistica - */ - @Override - public void setUserName(java.lang.String userName) { - _boTempistica.setUserName(userName); - } - - /** - * Returns the create date of this bo tempistica. - * - * @return the create date of this bo tempistica - */ - @Override - public java.util.Date getCreateDate() { - return _boTempistica.getCreateDate(); - } - - /** - * Sets the create date of this bo tempistica. - * - * @param createDate the create date of this bo tempistica - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _boTempistica.setCreateDate(createDate); - } - - /** - * Returns the modified date of this bo tempistica. - * - * @return the modified date of this bo tempistica - */ - @Override - public java.util.Date getModifiedDate() { - return _boTempistica.getModifiedDate(); - } - - /** - * Sets the modified date of this bo tempistica. - * - * @param modifiedDate the modified date of this bo tempistica - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _boTempistica.setModifiedDate(modifiedDate); - } - - /** - * Returns the group ID of this bo tempistica. - * - * @return the group ID of this bo tempistica - */ - @Override - public long getGroupId() { - return _boTempistica.getGroupId(); - } - - /** - * Sets the group ID of this bo tempistica. - * - * @param groupId the group ID of this bo tempistica - */ - @Override - public void setGroupId(long groupId) { - _boTempistica.setGroupId(groupId); - } - - /** - * Returns the int pratica ID of this bo tempistica. - * - * @return the int pratica ID of this bo tempistica - */ - @Override - public long getIntPraticaId() { - return _boTempistica.getIntPraticaId(); - } - - /** - * Sets the int pratica ID of this bo tempistica. - * - * @param intPraticaId the int pratica ID of this bo tempistica - */ - @Override - public void setIntPraticaId(long intPraticaId) { - _boTempistica.setIntPraticaId(intPraticaId); - } - - /** - * Returns the dett pratica ID of this bo tempistica. - * - * @return the dett pratica ID of this bo tempistica - */ - @Override - public long getDettPraticaId() { - return _boTempistica.getDettPraticaId(); - } - - /** - * Sets the dett pratica ID of this bo tempistica. - * - * @param dettPraticaId the dett pratica ID of this bo tempistica - */ - @Override - public void setDettPraticaId(long dettPraticaId) { - _boTempistica.setDettPraticaId(dettPraticaId); - } - - /** - * Returns the tipo of this bo tempistica. - * - * @return the tipo of this bo tempistica - */ - @Override - public java.lang.String getTipo() { - return _boTempistica.getTipo(); - } - - /** - * Sets the tipo of this bo tempistica. - * - * @param tipo the tipo of this bo tempistica - */ - @Override - public void setTipo(java.lang.String tipo) { - _boTempistica.setTipo(tipo); - } - - /** - * Returns the start of this bo tempistica. - * - * @return the start of this bo tempistica - */ - @Override - public long getStart() { - return _boTempistica.getStart(); - } - - /** - * Sets the start of this bo tempistica. - * - * @param start the start of this bo tempistica - */ - @Override - public void setStart(long start) { - _boTempistica.setStart(start); - } - - /** - * Returns the stop of this bo tempistica. - * - * @return the stop of this bo tempistica - */ - @Override - public long getStop() { - return _boTempistica.getStop(); - } - - /** - * Sets the stop of this bo tempistica. - * - * @param stop the stop of this bo tempistica - */ - @Override - public void setStop(long stop) { - _boTempistica.setStop(stop); - } - - /** - * Returns the wait of this bo tempistica. - * - * @return the wait of this bo tempistica - */ - @Override - public long getWait() { - return _boTempistica.getWait(); - } - - /** - * Sets the wait of this bo tempistica. - * - * @param wait the wait of this bo tempistica - */ - @Override - public void setWait(long wait) { - _boTempistica.setWait(wait); - } - - /** - * Returns the completo of this bo tempistica. - * - * @return the completo of this bo tempistica - */ - @Override - public boolean getCompleto() { - return _boTempistica.getCompleto(); - } - - /** - * Returns true if this bo tempistica is completo. - * - * @return true if this bo tempistica is completo; false otherwise - */ - @Override - public boolean isCompleto() { - return _boTempistica.isCompleto(); - } - - /** - * Sets whether this bo tempistica is completo. - * - * @param completo the completo of this bo tempistica - */ - @Override - public void setCompleto(boolean completo) { - _boTempistica.setCompleto(completo); - } - - @Override - public boolean isNew() { - return _boTempistica.isNew(); - } - - @Override - public void setNew(boolean n) { - _boTempistica.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _boTempistica.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _boTempistica.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _boTempistica.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _boTempistica.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _boTempistica.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _boTempistica.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _boTempistica.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _boTempistica.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _boTempistica.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new BoTempisticaWrapper((BoTempistica)_boTempistica.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.BoTempistica boTempistica) { - return _boTempistica.compareTo(boTempistica); - } - - @Override - public int hashCode() { - return _boTempistica.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _boTempistica.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoTempistica toEscapedModel() { - return new BoTempisticaWrapper(_boTempistica.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoTempistica toUnescapedModel() { - return new BoTempisticaWrapper(_boTempistica.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _boTempistica.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _boTempistica.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _boTempistica.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoTempisticaWrapper)) { - return false; - } - - BoTempisticaWrapper boTempisticaWrapper = (BoTempisticaWrapper)obj; - - if (Validator.equals(_boTempistica, boTempisticaWrapper._boTempistica)) { - return true; - } - - return false; - } - - @Override - public StagedModelType getStagedModelType() { - return _boTempistica.getStagedModelType(); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public BoTempistica getWrappedBoTempistica() { - return _boTempistica; - } - - @Override - public BoTempistica getWrappedModel() { - return _boTempistica; - } - - @Override - public void resetOriginalValues() { - _boTempistica.resetOriginalValues(); - } - - private BoTempistica _boTempistica; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoTerritorio.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoTerritorio.java deleted file mode 100644 index a3661b4d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoTerritorio.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the BoTerritorio service. Represents a row in the "gc_territorio" database table, with each column mapped to a property of this class. - * - * @author 3FC - * @see BoTerritorioModel - * @see it.tref.liferay.portos.importazione.model.impl.BoTerritorioImpl - * @see it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl - * @generated - */ -public interface BoTerritorio extends BoTerritorioModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoTerritorioClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoTerritorioClp.java deleted file mode 100644 index 72444d6b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoTerritorioClp.java +++ /dev/null @@ -1,696 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.service.BoTerritorioLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.ClpSerializer; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author 3FC - */ -public class BoTerritorioClp extends BaseModelImpl - implements BoTerritorio { - public BoTerritorioClp() { - } - - @Override - public Class getModelClass() { - return BoTerritorio.class; - } - - @Override - public String getModelClassName() { - return BoTerritorio.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _territorioId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setTerritorioId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _territorioId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("territorioId", getTerritorioId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("zonaId", getZonaId()); - attributes.put("fasciaId", getFasciaId()); - attributes.put("comuneId", getComuneId()); - attributes.put("dtIni", getDtIni()); - attributes.put("dtFin", getDtFin()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long territorioId = (Long)attributes.get("territorioId"); - - if (territorioId != null) { - setTerritorioId(territorioId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long zonaId = (Long)attributes.get("zonaId"); - - if (zonaId != null) { - setZonaId(zonaId); - } - - Long fasciaId = (Long)attributes.get("fasciaId"); - - if (fasciaId != null) { - setFasciaId(fasciaId); - } - - Long comuneId = (Long)attributes.get("comuneId"); - - if (comuneId != null) { - setComuneId(comuneId); - } - - Date dtIni = (Date)attributes.get("dtIni"); - - if (dtIni != null) { - setDtIni(dtIni); - } - - Date dtFin = (Date)attributes.get("dtFin"); - - if (dtFin != null) { - setDtFin(dtFin); - } - } - - @Override - public long getTerritorioId() { - return _territorioId; - } - - @Override - public void setTerritorioId(long territorioId) { - _territorioId = territorioId; - - if (_boTerritorioRemoteModel != null) { - try { - Class clazz = _boTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setTerritorioId", long.class); - - method.invoke(_boTerritorioRemoteModel, territorioId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_boTerritorioRemoteModel != null) { - try { - Class clazz = _boTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_boTerritorioRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_boTerritorioRemoteModel != null) { - try { - Class clazz = _boTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_boTerritorioRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_boTerritorioRemoteModel != null) { - try { - Class clazz = _boTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_boTerritorioRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_boTerritorioRemoteModel != null) { - try { - Class clazz = _boTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_boTerritorioRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_boTerritorioRemoteModel != null) { - try { - Class clazz = _boTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_boTerritorioRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_boTerritorioRemoteModel != null) { - try { - Class clazz = _boTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_boTerritorioRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getZonaId() { - return _zonaId; - } - - @Override - public void setZonaId(long zonaId) { - _zonaId = zonaId; - - if (_boTerritorioRemoteModel != null) { - try { - Class clazz = _boTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setZonaId", long.class); - - method.invoke(_boTerritorioRemoteModel, zonaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getFasciaId() { - return _fasciaId; - } - - @Override - public void setFasciaId(long fasciaId) { - _fasciaId = fasciaId; - - if (_boTerritorioRemoteModel != null) { - try { - Class clazz = _boTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setFasciaId", long.class); - - method.invoke(_boTerritorioRemoteModel, fasciaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getComuneId() { - return _comuneId; - } - - @Override - public void setComuneId(long comuneId) { - _comuneId = comuneId; - - if (_boTerritorioRemoteModel != null) { - try { - Class clazz = _boTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setComuneId", long.class); - - method.invoke(_boTerritorioRemoteModel, comuneId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDtIni() { - return _dtIni; - } - - @Override - public void setDtIni(Date dtIni) { - _dtIni = dtIni; - - if (_boTerritorioRemoteModel != null) { - try { - Class clazz = _boTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setDtIni", Date.class); - - method.invoke(_boTerritorioRemoteModel, dtIni); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDtFin() { - return _dtFin; - } - - @Override - public void setDtFin(Date dtFin) { - _dtFin = dtFin; - - if (_boTerritorioRemoteModel != null) { - try { - Class clazz = _boTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setDtFin", Date.class); - - method.invoke(_boTerritorioRemoteModel, dtFin); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - public BaseModel getBoTerritorioRemoteModel() { - return _boTerritorioRemoteModel; - } - - public void setBoTerritorioRemoteModel(BaseModel boTerritorioRemoteModel) { - _boTerritorioRemoteModel = boTerritorioRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _boTerritorioRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_boTerritorioRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoTerritorioLocalServiceUtil.addBoTerritorio(this); - } - else { - BoTerritorioLocalServiceUtil.updateBoTerritorio(this); - } - } - - @Override - public BoTerritorio toEscapedModel() { - return (BoTerritorio)ProxyUtil.newProxyInstance(BoTerritorio.class.getClassLoader(), - new Class[] { BoTerritorio.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - BoTerritorioClp clone = new BoTerritorioClp(); - - clone.setTerritorioId(getTerritorioId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setGroupId(getGroupId()); - clone.setZonaId(getZonaId()); - clone.setFasciaId(getFasciaId()); - clone.setComuneId(getComuneId()); - clone.setDtIni(getDtIni()); - clone.setDtFin(getDtFin()); - - return clone; - } - - @Override - public int compareTo(BoTerritorio boTerritorio) { - long primaryKey = boTerritorio.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoTerritorioClp)) { - return false; - } - - BoTerritorioClp boTerritorio = (BoTerritorioClp)obj; - - long primaryKey = boTerritorio.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(25); - - sb.append("{territorioId="); - sb.append(getTerritorioId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", zonaId="); - sb.append(getZonaId()); - sb.append(", fasciaId="); - sb.append(getFasciaId()); - sb.append(", comuneId="); - sb.append(getComuneId()); - sb.append(", dtIni="); - sb.append(getDtIni()); - sb.append(", dtFin="); - sb.append(getDtFin()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(40); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.BoTerritorio"); - sb.append(""); - - sb.append( - "territorioId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "zonaId"); - sb.append( - "fasciaId"); - sb.append( - "comuneId"); - sb.append( - "dtIni"); - sb.append( - "dtFin"); - - sb.append(""); - - return sb.toString(); - } - - private long _territorioId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _zonaId; - private long _fasciaId; - private long _comuneId; - private Date _dtIni; - private Date _dtFin; - private BaseModel _boTerritorioRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.importazione.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoTerritorioModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoTerritorioModel.java deleted file mode 100644 index 36bf7e5b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoTerritorioModel.java +++ /dev/null @@ -1,319 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.GroupedModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the BoTerritorio service. Represents a row in the "gc_territorio" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioImpl}. - *

- * - * @author 3FC - * @see BoTerritorio - * @see it.tref.liferay.portos.importazione.model.impl.BoTerritorioImpl - * @see it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl - * @generated - */ -public interface BoTerritorioModel extends BaseModel, GroupedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a bo territorio model instance should use the {@link BoTerritorio} interface instead. - */ - - /** - * Returns the primary key of this bo territorio. - * - * @return the primary key of this bo territorio - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this bo territorio. - * - * @param primaryKey the primary key of this bo territorio - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the territorio ID of this bo territorio. - * - * @return the territorio ID of this bo territorio - */ - public long getTerritorioId(); - - /** - * Sets the territorio ID of this bo territorio. - * - * @param territorioId the territorio ID of this bo territorio - */ - public void setTerritorioId(long territorioId); - - /** - * Returns the company ID of this bo territorio. - * - * @return the company ID of this bo territorio - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this bo territorio. - * - * @param companyId the company ID of this bo territorio - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this bo territorio. - * - * @return the user ID of this bo territorio - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this bo territorio. - * - * @param userId the user ID of this bo territorio - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this bo territorio. - * - * @return the user uuid of this bo territorio - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this bo territorio. - * - * @param userUuid the user uuid of this bo territorio - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this bo territorio. - * - * @return the user name of this bo territorio - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this bo territorio. - * - * @param userName the user name of this bo territorio - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this bo territorio. - * - * @return the create date of this bo territorio - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this bo territorio. - * - * @param createDate the create date of this bo territorio - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this bo territorio. - * - * @return the modified date of this bo territorio - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this bo territorio. - * - * @param modifiedDate the modified date of this bo territorio - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the group ID of this bo territorio. - * - * @return the group ID of this bo territorio - */ - @Override - public long getGroupId(); - - /** - * Sets the group ID of this bo territorio. - * - * @param groupId the group ID of this bo territorio - */ - @Override - public void setGroupId(long groupId); - - /** - * Returns the zona ID of this bo territorio. - * - * @return the zona ID of this bo territorio - */ - public long getZonaId(); - - /** - * Sets the zona ID of this bo territorio. - * - * @param zonaId the zona ID of this bo territorio - */ - public void setZonaId(long zonaId); - - /** - * Returns the fascia ID of this bo territorio. - * - * @return the fascia ID of this bo territorio - */ - public long getFasciaId(); - - /** - * Sets the fascia ID of this bo territorio. - * - * @param fasciaId the fascia ID of this bo territorio - */ - public void setFasciaId(long fasciaId); - - /** - * Returns the comune ID of this bo territorio. - * - * @return the comune ID of this bo territorio - */ - public long getComuneId(); - - /** - * Sets the comune ID of this bo territorio. - * - * @param comuneId the comune ID of this bo territorio - */ - public void setComuneId(long comuneId); - - /** - * Returns the dt ini of this bo territorio. - * - * @return the dt ini of this bo territorio - */ - public Date getDtIni(); - - /** - * Sets the dt ini of this bo territorio. - * - * @param dtIni the dt ini of this bo territorio - */ - public void setDtIni(Date dtIni); - - /** - * Returns the dt fin of this bo territorio. - * - * @return the dt fin of this bo territorio - */ - public Date getDtFin(); - - /** - * Sets the dt fin of this bo territorio. - * - * @param dtFin the dt fin of this bo territorio - */ - public void setDtFin(Date dtFin); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.BoTerritorio boTerritorio); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.importazione.model.BoTerritorio toEscapedModel(); - - @Override - public it.tref.liferay.portos.importazione.model.BoTerritorio toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoTerritorioSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoTerritorioSoap.java deleted file mode 100644 index ece909a8..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoTerritorioSoap.java +++ /dev/null @@ -1,205 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author 3FC - * @generated - */ -public class BoTerritorioSoap implements Serializable { - public static BoTerritorioSoap toSoapModel(BoTerritorio model) { - BoTerritorioSoap soapModel = new BoTerritorioSoap(); - - soapModel.setTerritorioId(model.getTerritorioId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setZonaId(model.getZonaId()); - soapModel.setFasciaId(model.getFasciaId()); - soapModel.setComuneId(model.getComuneId()); - soapModel.setDtIni(model.getDtIni()); - soapModel.setDtFin(model.getDtFin()); - - return soapModel; - } - - public static BoTerritorioSoap[] toSoapModels(BoTerritorio[] models) { - BoTerritorioSoap[] soapModels = new BoTerritorioSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static BoTerritorioSoap[][] toSoapModels(BoTerritorio[][] models) { - BoTerritorioSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new BoTerritorioSoap[models.length][models[0].length]; - } - else { - soapModels = new BoTerritorioSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static BoTerritorioSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (BoTerritorio model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new BoTerritorioSoap[soapModels.size()]); - } - - public BoTerritorioSoap() { - } - - public long getPrimaryKey() { - return _territorioId; - } - - public void setPrimaryKey(long pk) { - setTerritorioId(pk); - } - - public long getTerritorioId() { - return _territorioId; - } - - public void setTerritorioId(long territorioId) { - _territorioId = territorioId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public long getZonaId() { - return _zonaId; - } - - public void setZonaId(long zonaId) { - _zonaId = zonaId; - } - - public long getFasciaId() { - return _fasciaId; - } - - public void setFasciaId(long fasciaId) { - _fasciaId = fasciaId; - } - - public long getComuneId() { - return _comuneId; - } - - public void setComuneId(long comuneId) { - _comuneId = comuneId; - } - - public Date getDtIni() { - return _dtIni; - } - - public void setDtIni(Date dtIni) { - _dtIni = dtIni; - } - - public Date getDtFin() { - return _dtFin; - } - - public void setDtFin(Date dtFin) { - _dtFin = dtFin; - } - - private long _territorioId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _zonaId; - private long _fasciaId; - private long _comuneId; - private Date _dtIni; - private Date _dtFin; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoTerritorioWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoTerritorioWrapper.java deleted file mode 100644 index 7db90fb8..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/BoTerritorioWrapper.java +++ /dev/null @@ -1,568 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link BoTerritorio}. - *

- * - * @author 3FC - * @see BoTerritorio - * @generated - */ -public class BoTerritorioWrapper implements BoTerritorio, - ModelWrapper { - public BoTerritorioWrapper(BoTerritorio boTerritorio) { - _boTerritorio = boTerritorio; - } - - @Override - public Class getModelClass() { - return BoTerritorio.class; - } - - @Override - public String getModelClassName() { - return BoTerritorio.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("territorioId", getTerritorioId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("zonaId", getZonaId()); - attributes.put("fasciaId", getFasciaId()); - attributes.put("comuneId", getComuneId()); - attributes.put("dtIni", getDtIni()); - attributes.put("dtFin", getDtFin()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long territorioId = (Long)attributes.get("territorioId"); - - if (territorioId != null) { - setTerritorioId(territorioId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long zonaId = (Long)attributes.get("zonaId"); - - if (zonaId != null) { - setZonaId(zonaId); - } - - Long fasciaId = (Long)attributes.get("fasciaId"); - - if (fasciaId != null) { - setFasciaId(fasciaId); - } - - Long comuneId = (Long)attributes.get("comuneId"); - - if (comuneId != null) { - setComuneId(comuneId); - } - - Date dtIni = (Date)attributes.get("dtIni"); - - if (dtIni != null) { - setDtIni(dtIni); - } - - Date dtFin = (Date)attributes.get("dtFin"); - - if (dtFin != null) { - setDtFin(dtFin); - } - } - - /** - * Returns the primary key of this bo territorio. - * - * @return the primary key of this bo territorio - */ - @Override - public long getPrimaryKey() { - return _boTerritorio.getPrimaryKey(); - } - - /** - * Sets the primary key of this bo territorio. - * - * @param primaryKey the primary key of this bo territorio - */ - @Override - public void setPrimaryKey(long primaryKey) { - _boTerritorio.setPrimaryKey(primaryKey); - } - - /** - * Returns the territorio ID of this bo territorio. - * - * @return the territorio ID of this bo territorio - */ - @Override - public long getTerritorioId() { - return _boTerritorio.getTerritorioId(); - } - - /** - * Sets the territorio ID of this bo territorio. - * - * @param territorioId the territorio ID of this bo territorio - */ - @Override - public void setTerritorioId(long territorioId) { - _boTerritorio.setTerritorioId(territorioId); - } - - /** - * Returns the company ID of this bo territorio. - * - * @return the company ID of this bo territorio - */ - @Override - public long getCompanyId() { - return _boTerritorio.getCompanyId(); - } - - /** - * Sets the company ID of this bo territorio. - * - * @param companyId the company ID of this bo territorio - */ - @Override - public void setCompanyId(long companyId) { - _boTerritorio.setCompanyId(companyId); - } - - /** - * Returns the user ID of this bo territorio. - * - * @return the user ID of this bo territorio - */ - @Override - public long getUserId() { - return _boTerritorio.getUserId(); - } - - /** - * Sets the user ID of this bo territorio. - * - * @param userId the user ID of this bo territorio - */ - @Override - public void setUserId(long userId) { - _boTerritorio.setUserId(userId); - } - - /** - * Returns the user uuid of this bo territorio. - * - * @return the user uuid of this bo territorio - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _boTerritorio.getUserUuid(); - } - - /** - * Sets the user uuid of this bo territorio. - * - * @param userUuid the user uuid of this bo territorio - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _boTerritorio.setUserUuid(userUuid); - } - - /** - * Returns the user name of this bo territorio. - * - * @return the user name of this bo territorio - */ - @Override - public java.lang.String getUserName() { - return _boTerritorio.getUserName(); - } - - /** - * Sets the user name of this bo territorio. - * - * @param userName the user name of this bo territorio - */ - @Override - public void setUserName(java.lang.String userName) { - _boTerritorio.setUserName(userName); - } - - /** - * Returns the create date of this bo territorio. - * - * @return the create date of this bo territorio - */ - @Override - public java.util.Date getCreateDate() { - return _boTerritorio.getCreateDate(); - } - - /** - * Sets the create date of this bo territorio. - * - * @param createDate the create date of this bo territorio - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _boTerritorio.setCreateDate(createDate); - } - - /** - * Returns the modified date of this bo territorio. - * - * @return the modified date of this bo territorio - */ - @Override - public java.util.Date getModifiedDate() { - return _boTerritorio.getModifiedDate(); - } - - /** - * Sets the modified date of this bo territorio. - * - * @param modifiedDate the modified date of this bo territorio - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _boTerritorio.setModifiedDate(modifiedDate); - } - - /** - * Returns the group ID of this bo territorio. - * - * @return the group ID of this bo territorio - */ - @Override - public long getGroupId() { - return _boTerritorio.getGroupId(); - } - - /** - * Sets the group ID of this bo territorio. - * - * @param groupId the group ID of this bo territorio - */ - @Override - public void setGroupId(long groupId) { - _boTerritorio.setGroupId(groupId); - } - - /** - * Returns the zona ID of this bo territorio. - * - * @return the zona ID of this bo territorio - */ - @Override - public long getZonaId() { - return _boTerritorio.getZonaId(); - } - - /** - * Sets the zona ID of this bo territorio. - * - * @param zonaId the zona ID of this bo territorio - */ - @Override - public void setZonaId(long zonaId) { - _boTerritorio.setZonaId(zonaId); - } - - /** - * Returns the fascia ID of this bo territorio. - * - * @return the fascia ID of this bo territorio - */ - @Override - public long getFasciaId() { - return _boTerritorio.getFasciaId(); - } - - /** - * Sets the fascia ID of this bo territorio. - * - * @param fasciaId the fascia ID of this bo territorio - */ - @Override - public void setFasciaId(long fasciaId) { - _boTerritorio.setFasciaId(fasciaId); - } - - /** - * Returns the comune ID of this bo territorio. - * - * @return the comune ID of this bo territorio - */ - @Override - public long getComuneId() { - return _boTerritorio.getComuneId(); - } - - /** - * Sets the comune ID of this bo territorio. - * - * @param comuneId the comune ID of this bo territorio - */ - @Override - public void setComuneId(long comuneId) { - _boTerritorio.setComuneId(comuneId); - } - - /** - * Returns the dt ini of this bo territorio. - * - * @return the dt ini of this bo territorio - */ - @Override - public java.util.Date getDtIni() { - return _boTerritorio.getDtIni(); - } - - /** - * Sets the dt ini of this bo territorio. - * - * @param dtIni the dt ini of this bo territorio - */ - @Override - public void setDtIni(java.util.Date dtIni) { - _boTerritorio.setDtIni(dtIni); - } - - /** - * Returns the dt fin of this bo territorio. - * - * @return the dt fin of this bo territorio - */ - @Override - public java.util.Date getDtFin() { - return _boTerritorio.getDtFin(); - } - - /** - * Sets the dt fin of this bo territorio. - * - * @param dtFin the dt fin of this bo territorio - */ - @Override - public void setDtFin(java.util.Date dtFin) { - _boTerritorio.setDtFin(dtFin); - } - - @Override - public boolean isNew() { - return _boTerritorio.isNew(); - } - - @Override - public void setNew(boolean n) { - _boTerritorio.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _boTerritorio.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _boTerritorio.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _boTerritorio.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _boTerritorio.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _boTerritorio.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _boTerritorio.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _boTerritorio.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _boTerritorio.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _boTerritorio.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new BoTerritorioWrapper((BoTerritorio)_boTerritorio.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.BoTerritorio boTerritorio) { - return _boTerritorio.compareTo(boTerritorio); - } - - @Override - public int hashCode() { - return _boTerritorio.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _boTerritorio.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoTerritorio toEscapedModel() { - return new BoTerritorioWrapper(_boTerritorio.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoTerritorio toUnescapedModel() { - return new BoTerritorioWrapper(_boTerritorio.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _boTerritorio.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _boTerritorio.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _boTerritorio.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoTerritorioWrapper)) { - return false; - } - - BoTerritorioWrapper boTerritorioWrapper = (BoTerritorioWrapper)obj; - - if (Validator.equals(_boTerritorio, boTerritorioWrapper._boTerritorio)) { - return true; - } - - return false; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public BoTerritorio getWrappedBoTerritorio() { - return _boTerritorio; - } - - @Override - public BoTerritorio getWrappedModel() { - return _boTerritorio; - } - - @Override - public void resetOriginalValues() { - _boTerritorio.resetOriginalValues(); - } - - private BoTerritorio _boTerritorio; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeComune.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeComune.java deleted file mode 100644 index ad96e065..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeComune.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the FeComune service. Represents a row in the "gcfe_comune" database table, with each column mapped to a property of this class. - * - * @author 3FC - * @see FeComuneModel - * @see it.tref.liferay.portos.importazione.model.impl.FeComuneImpl - * @see it.tref.liferay.portos.importazione.model.impl.FeComuneModelImpl - * @generated - */ -public interface FeComune extends FeComuneModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.importazione.model.impl.FeComuneImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeComuneClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeComuneClp.java deleted file mode 100644 index 8e349e78..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeComuneClp.java +++ /dev/null @@ -1,454 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; - -import it.tref.liferay.portos.importazione.service.ClpSerializer; -import it.tref.liferay.portos.importazione.service.FeComuneLocalServiceUtil; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.HashMap; -import java.util.Map; - -/** - * @author 3FC - */ -public class FeComuneClp extends BaseModelImpl implements FeComune { - public FeComuneClp() { - } - - @Override - public Class getModelClass() { - return FeComune.class; - } - - @Override - public String getModelClassName() { - return FeComune.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _comuneId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setComuneId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _comuneId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("comuneId", getComuneId()); - attributes.put("provinciaId", getProvinciaId()); - attributes.put("codIstat", getCodIstat()); - attributes.put("codCatastale", getCodCatastale()); - attributes.put("descLong", getDescLong()); - attributes.put("emailSuap", getEmailSuap()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long comuneId = (Long)attributes.get("comuneId"); - - if (comuneId != null) { - setComuneId(comuneId); - } - - Long provinciaId = (Long)attributes.get("provinciaId"); - - if (provinciaId != null) { - setProvinciaId(provinciaId); - } - - String codIstat = (String)attributes.get("codIstat"); - - if (codIstat != null) { - setCodIstat(codIstat); - } - - String codCatastale = (String)attributes.get("codCatastale"); - - if (codCatastale != null) { - setCodCatastale(codCatastale); - } - - String descLong = (String)attributes.get("descLong"); - - if (descLong != null) { - setDescLong(descLong); - } - - String emailSuap = (String)attributes.get("emailSuap"); - - if (emailSuap != null) { - setEmailSuap(emailSuap); - } - } - - @Override - public long getComuneId() { - return _comuneId; - } - - @Override - public void setComuneId(long comuneId) { - _comuneId = comuneId; - - if (_feComuneRemoteModel != null) { - try { - Class clazz = _feComuneRemoteModel.getClass(); - - Method method = clazz.getMethod("setComuneId", long.class); - - method.invoke(_feComuneRemoteModel, comuneId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getProvinciaId() { - return _provinciaId; - } - - @Override - public void setProvinciaId(long provinciaId) { - _provinciaId = provinciaId; - - if (_feComuneRemoteModel != null) { - try { - Class clazz = _feComuneRemoteModel.getClass(); - - Method method = clazz.getMethod("setProvinciaId", long.class); - - method.invoke(_feComuneRemoteModel, provinciaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodIstat() { - return _codIstat; - } - - @Override - public void setCodIstat(String codIstat) { - _codIstat = codIstat; - - if (_feComuneRemoteModel != null) { - try { - Class clazz = _feComuneRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodIstat", String.class); - - method.invoke(_feComuneRemoteModel, codIstat); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodCatastale() { - return _codCatastale; - } - - @Override - public void setCodCatastale(String codCatastale) { - _codCatastale = codCatastale; - - if (_feComuneRemoteModel != null) { - try { - Class clazz = _feComuneRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodCatastale", String.class); - - method.invoke(_feComuneRemoteModel, codCatastale); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getDescLong() { - return _descLong; - } - - @Override - public void setDescLong(String descLong) { - _descLong = descLong; - - if (_feComuneRemoteModel != null) { - try { - Class clazz = _feComuneRemoteModel.getClass(); - - Method method = clazz.getMethod("setDescLong", String.class); - - method.invoke(_feComuneRemoteModel, descLong); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getEmailSuap() { - return _emailSuap; - } - - @Override - public void setEmailSuap(String emailSuap) { - _emailSuap = emailSuap; - - if (_feComuneRemoteModel != null) { - try { - Class clazz = _feComuneRemoteModel.getClass(); - - Method method = clazz.getMethod("setEmailSuap", String.class); - - method.invoke(_feComuneRemoteModel, emailSuap); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - public BaseModel getFeComuneRemoteModel() { - return _feComuneRemoteModel; - } - - public void setFeComuneRemoteModel(BaseModel feComuneRemoteModel) { - _feComuneRemoteModel = feComuneRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _feComuneRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_feComuneRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - FeComuneLocalServiceUtil.addFeComune(this); - } - else { - FeComuneLocalServiceUtil.updateFeComune(this); - } - } - - @Override - public FeComune toEscapedModel() { - return (FeComune)ProxyUtil.newProxyInstance(FeComune.class.getClassLoader(), - new Class[] { FeComune.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - FeComuneClp clone = new FeComuneClp(); - - clone.setComuneId(getComuneId()); - clone.setProvinciaId(getProvinciaId()); - clone.setCodIstat(getCodIstat()); - clone.setCodCatastale(getCodCatastale()); - clone.setDescLong(getDescLong()); - clone.setEmailSuap(getEmailSuap()); - - return clone; - } - - @Override - public int compareTo(FeComune feComune) { - long primaryKey = feComune.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof FeComuneClp)) { - return false; - } - - FeComuneClp feComune = (FeComuneClp)obj; - - long primaryKey = feComune.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(13); - - sb.append("{comuneId="); - sb.append(getComuneId()); - sb.append(", provinciaId="); - sb.append(getProvinciaId()); - sb.append(", codIstat="); - sb.append(getCodIstat()); - sb.append(", codCatastale="); - sb.append(getCodCatastale()); - sb.append(", descLong="); - sb.append(getDescLong()); - sb.append(", emailSuap="); - sb.append(getEmailSuap()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(22); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.FeComune"); - sb.append(""); - - sb.append( - "comuneId"); - sb.append( - "provinciaId"); - sb.append( - "codIstat"); - sb.append( - "codCatastale"); - sb.append( - "descLong"); - sb.append( - "emailSuap"); - - sb.append(""); - - return sb.toString(); - } - - private long _comuneId; - private long _provinciaId; - private String _codIstat; - private String _codCatastale; - private String _descLong; - private String _emailSuap; - private BaseModel _feComuneRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.importazione.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeComuneModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeComuneModel.java deleted file mode 100644 index 67fc78ac..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeComuneModel.java +++ /dev/null @@ -1,205 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -/** - * The base model interface for the FeComune service. Represents a row in the "gcfe_comune" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.importazione.model.impl.FeComuneModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.importazione.model.impl.FeComuneImpl}. - *

- * - * @author 3FC - * @see FeComune - * @see it.tref.liferay.portos.importazione.model.impl.FeComuneImpl - * @see it.tref.liferay.portos.importazione.model.impl.FeComuneModelImpl - * @generated - */ -public interface FeComuneModel extends BaseModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a fe comune model instance should use the {@link FeComune} interface instead. - */ - - /** - * Returns the primary key of this fe comune. - * - * @return the primary key of this fe comune - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this fe comune. - * - * @param primaryKey the primary key of this fe comune - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the comune ID of this fe comune. - * - * @return the comune ID of this fe comune - */ - public long getComuneId(); - - /** - * Sets the comune ID of this fe comune. - * - * @param comuneId the comune ID of this fe comune - */ - public void setComuneId(long comuneId); - - /** - * Returns the provincia ID of this fe comune. - * - * @return the provincia ID of this fe comune - */ - public long getProvinciaId(); - - /** - * Sets the provincia ID of this fe comune. - * - * @param provinciaId the provincia ID of this fe comune - */ - public void setProvinciaId(long provinciaId); - - /** - * Returns the cod istat of this fe comune. - * - * @return the cod istat of this fe comune - */ - @AutoEscape - public String getCodIstat(); - - /** - * Sets the cod istat of this fe comune. - * - * @param codIstat the cod istat of this fe comune - */ - public void setCodIstat(String codIstat); - - /** - * Returns the cod catastale of this fe comune. - * - * @return the cod catastale of this fe comune - */ - @AutoEscape - public String getCodCatastale(); - - /** - * Sets the cod catastale of this fe comune. - * - * @param codCatastale the cod catastale of this fe comune - */ - public void setCodCatastale(String codCatastale); - - /** - * Returns the desc long of this fe comune. - * - * @return the desc long of this fe comune - */ - @AutoEscape - public String getDescLong(); - - /** - * Sets the desc long of this fe comune. - * - * @param descLong the desc long of this fe comune - */ - public void setDescLong(String descLong); - - /** - * Returns the email suap of this fe comune. - * - * @return the email suap of this fe comune - */ - @AutoEscape - public String getEmailSuap(); - - /** - * Sets the email suap of this fe comune. - * - * @param emailSuap the email suap of this fe comune - */ - public void setEmailSuap(String emailSuap); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.FeComune feComune); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.importazione.model.FeComune toEscapedModel(); - - @Override - public it.tref.liferay.portos.importazione.model.FeComune toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeComuneSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeComuneSoap.java deleted file mode 100644 index bc02d350..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeComuneSoap.java +++ /dev/null @@ -1,144 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author 3FC - * @generated - */ -public class FeComuneSoap implements Serializable { - public static FeComuneSoap toSoapModel(FeComune model) { - FeComuneSoap soapModel = new FeComuneSoap(); - - soapModel.setComuneId(model.getComuneId()); - soapModel.setProvinciaId(model.getProvinciaId()); - soapModel.setCodIstat(model.getCodIstat()); - soapModel.setCodCatastale(model.getCodCatastale()); - soapModel.setDescLong(model.getDescLong()); - soapModel.setEmailSuap(model.getEmailSuap()); - - return soapModel; - } - - public static FeComuneSoap[] toSoapModels(FeComune[] models) { - FeComuneSoap[] soapModels = new FeComuneSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static FeComuneSoap[][] toSoapModels(FeComune[][] models) { - FeComuneSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new FeComuneSoap[models.length][models[0].length]; - } - else { - soapModels = new FeComuneSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static FeComuneSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (FeComune model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new FeComuneSoap[soapModels.size()]); - } - - public FeComuneSoap() { - } - - public long getPrimaryKey() { - return _comuneId; - } - - public void setPrimaryKey(long pk) { - setComuneId(pk); - } - - public long getComuneId() { - return _comuneId; - } - - public void setComuneId(long comuneId) { - _comuneId = comuneId; - } - - public long getProvinciaId() { - return _provinciaId; - } - - public void setProvinciaId(long provinciaId) { - _provinciaId = provinciaId; - } - - public String getCodIstat() { - return _codIstat; - } - - public void setCodIstat(String codIstat) { - _codIstat = codIstat; - } - - public String getCodCatastale() { - return _codCatastale; - } - - public void setCodCatastale(String codCatastale) { - _codCatastale = codCatastale; - } - - public String getDescLong() { - return _descLong; - } - - public void setDescLong(String descLong) { - _descLong = descLong; - } - - public String getEmailSuap() { - return _emailSuap; - } - - public void setEmailSuap(String emailSuap) { - _emailSuap = emailSuap; - } - - private long _comuneId; - private long _provinciaId; - private String _codIstat; - private String _codCatastale; - private String _descLong; - private String _emailSuap; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeComuneWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeComuneWrapper.java deleted file mode 100644 index f8669e54..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeComuneWrapper.java +++ /dev/null @@ -1,382 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link FeComune}. - *

- * - * @author 3FC - * @see FeComune - * @generated - */ -public class FeComuneWrapper implements FeComune, ModelWrapper { - public FeComuneWrapper(FeComune feComune) { - _feComune = feComune; - } - - @Override - public Class getModelClass() { - return FeComune.class; - } - - @Override - public String getModelClassName() { - return FeComune.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("comuneId", getComuneId()); - attributes.put("provinciaId", getProvinciaId()); - attributes.put("codIstat", getCodIstat()); - attributes.put("codCatastale", getCodCatastale()); - attributes.put("descLong", getDescLong()); - attributes.put("emailSuap", getEmailSuap()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long comuneId = (Long)attributes.get("comuneId"); - - if (comuneId != null) { - setComuneId(comuneId); - } - - Long provinciaId = (Long)attributes.get("provinciaId"); - - if (provinciaId != null) { - setProvinciaId(provinciaId); - } - - String codIstat = (String)attributes.get("codIstat"); - - if (codIstat != null) { - setCodIstat(codIstat); - } - - String codCatastale = (String)attributes.get("codCatastale"); - - if (codCatastale != null) { - setCodCatastale(codCatastale); - } - - String descLong = (String)attributes.get("descLong"); - - if (descLong != null) { - setDescLong(descLong); - } - - String emailSuap = (String)attributes.get("emailSuap"); - - if (emailSuap != null) { - setEmailSuap(emailSuap); - } - } - - /** - * Returns the primary key of this fe comune. - * - * @return the primary key of this fe comune - */ - @Override - public long getPrimaryKey() { - return _feComune.getPrimaryKey(); - } - - /** - * Sets the primary key of this fe comune. - * - * @param primaryKey the primary key of this fe comune - */ - @Override - public void setPrimaryKey(long primaryKey) { - _feComune.setPrimaryKey(primaryKey); - } - - /** - * Returns the comune ID of this fe comune. - * - * @return the comune ID of this fe comune - */ - @Override - public long getComuneId() { - return _feComune.getComuneId(); - } - - /** - * Sets the comune ID of this fe comune. - * - * @param comuneId the comune ID of this fe comune - */ - @Override - public void setComuneId(long comuneId) { - _feComune.setComuneId(comuneId); - } - - /** - * Returns the provincia ID of this fe comune. - * - * @return the provincia ID of this fe comune - */ - @Override - public long getProvinciaId() { - return _feComune.getProvinciaId(); - } - - /** - * Sets the provincia ID of this fe comune. - * - * @param provinciaId the provincia ID of this fe comune - */ - @Override - public void setProvinciaId(long provinciaId) { - _feComune.setProvinciaId(provinciaId); - } - - /** - * Returns the cod istat of this fe comune. - * - * @return the cod istat of this fe comune - */ - @Override - public java.lang.String getCodIstat() { - return _feComune.getCodIstat(); - } - - /** - * Sets the cod istat of this fe comune. - * - * @param codIstat the cod istat of this fe comune - */ - @Override - public void setCodIstat(java.lang.String codIstat) { - _feComune.setCodIstat(codIstat); - } - - /** - * Returns the cod catastale of this fe comune. - * - * @return the cod catastale of this fe comune - */ - @Override - public java.lang.String getCodCatastale() { - return _feComune.getCodCatastale(); - } - - /** - * Sets the cod catastale of this fe comune. - * - * @param codCatastale the cod catastale of this fe comune - */ - @Override - public void setCodCatastale(java.lang.String codCatastale) { - _feComune.setCodCatastale(codCatastale); - } - - /** - * Returns the desc long of this fe comune. - * - * @return the desc long of this fe comune - */ - @Override - public java.lang.String getDescLong() { - return _feComune.getDescLong(); - } - - /** - * Sets the desc long of this fe comune. - * - * @param descLong the desc long of this fe comune - */ - @Override - public void setDescLong(java.lang.String descLong) { - _feComune.setDescLong(descLong); - } - - /** - * Returns the email suap of this fe comune. - * - * @return the email suap of this fe comune - */ - @Override - public java.lang.String getEmailSuap() { - return _feComune.getEmailSuap(); - } - - /** - * Sets the email suap of this fe comune. - * - * @param emailSuap the email suap of this fe comune - */ - @Override - public void setEmailSuap(java.lang.String emailSuap) { - _feComune.setEmailSuap(emailSuap); - } - - @Override - public boolean isNew() { - return _feComune.isNew(); - } - - @Override - public void setNew(boolean n) { - _feComune.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _feComune.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _feComune.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _feComune.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _feComune.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _feComune.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _feComune.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _feComune.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _feComune.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _feComune.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new FeComuneWrapper((FeComune)_feComune.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.FeComune feComune) { - return _feComune.compareTo(feComune); - } - - @Override - public int hashCode() { - return _feComune.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _feComune.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeComune toEscapedModel() { - return new FeComuneWrapper(_feComune.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeComune toUnescapedModel() { - return new FeComuneWrapper(_feComune.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _feComune.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _feComune.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _feComune.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof FeComuneWrapper)) { - return false; - } - - FeComuneWrapper feComuneWrapper = (FeComuneWrapper)obj; - - if (Validator.equals(_feComune, feComuneWrapper._feComune)) { - return true; - } - - return false; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public FeComune getWrappedFeComune() { - return _feComune; - } - - @Override - public FeComune getWrappedModel() { - return _feComune; - } - - @Override - public void resetOriginalValues() { - _feComune.resetOriginalValues(); - } - - private FeComune _feComune; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeDettPratica.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeDettPratica.java deleted file mode 100644 index 5dc836e4..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeDettPratica.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the FeDettPratica service. Represents a row in the "gcfe_dettpratica" database table, with each column mapped to a property of this class. - * - * @author 3FC - * @see FeDettPraticaModel - * @see it.tref.liferay.portos.importazione.model.impl.FeDettPraticaImpl - * @see it.tref.liferay.portos.importazione.model.impl.FeDettPraticaModelImpl - * @generated - */ -public interface FeDettPratica extends FeDettPraticaModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.importazione.model.impl.FeDettPraticaImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeDettPraticaClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeDettPraticaClp.java deleted file mode 100644 index ecb650bf..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeDettPraticaClp.java +++ /dev/null @@ -1,728 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; - -import it.tref.liferay.portos.importazione.service.ClpSerializer; -import it.tref.liferay.portos.importazione.service.FeDettPraticaLocalServiceUtil; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.HashMap; -import java.util.Map; - -/** - * @author 3FC - */ -public class FeDettPraticaClp extends BaseModelImpl - implements FeDettPratica { - public FeDettPraticaClp() { - } - - @Override - public Class getModelClass() { - return FeDettPratica.class; - } - - @Override - public String getModelClassName() { - return FeDettPratica.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _dettPraticaId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setDettPraticaId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _dettPraticaId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("groupId", getGroupId()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("codPraticaSuap", getCodPraticaSuap()); - attributes.put("fineLavoriSceltaPrelievo", getFineLavoriSceltaPrelievo()); - attributes.put("fPrelievoCalcestruzzo", getFPrelievoCalcestruzzo()); - attributes.put("fPrelievoAcciaio", getFPrelievoAcciaio()); - attributes.put("fPrelievoAltro", getFPrelievoAltro()); - attributes.put("fineLavoriAlletiUlteriori", - getFineLavoriAlletiUlteriori()); - attributes.put("fNoCollaudoStatico", getFNoCollaudoStatico()); - attributes.put("pagamentoId", getPagamentoId()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - String codPraticaSuap = (String)attributes.get("codPraticaSuap"); - - if (codPraticaSuap != null) { - setCodPraticaSuap(codPraticaSuap); - } - - Boolean fineLavoriSceltaPrelievo = (Boolean)attributes.get( - "fineLavoriSceltaPrelievo"); - - if (fineLavoriSceltaPrelievo != null) { - setFineLavoriSceltaPrelievo(fineLavoriSceltaPrelievo); - } - - Boolean fPrelievoCalcestruzzo = (Boolean)attributes.get( - "fPrelievoCalcestruzzo"); - - if (fPrelievoCalcestruzzo != null) { - setFPrelievoCalcestruzzo(fPrelievoCalcestruzzo); - } - - Boolean fPrelievoAcciaio = (Boolean)attributes.get("fPrelievoAcciaio"); - - if (fPrelievoAcciaio != null) { - setFPrelievoAcciaio(fPrelievoAcciaio); - } - - Boolean fPrelievoAltro = (Boolean)attributes.get("fPrelievoAltro"); - - if (fPrelievoAltro != null) { - setFPrelievoAltro(fPrelievoAltro); - } - - Boolean fineLavoriAlletiUlteriori = (Boolean)attributes.get( - "fineLavoriAlletiUlteriori"); - - if (fineLavoriAlletiUlteriori != null) { - setFineLavoriAlletiUlteriori(fineLavoriAlletiUlteriori); - } - - Boolean fNoCollaudoStatico = (Boolean)attributes.get( - "fNoCollaudoStatico"); - - if (fNoCollaudoStatico != null) { - setFNoCollaudoStatico(fNoCollaudoStatico); - } - - Long pagamentoId = (Long)attributes.get("pagamentoId"); - - if (pagamentoId != null) { - setPagamentoId(pagamentoId); - } - } - - @Override - public String getUuid() { - return _uuid; - } - - @Override - public void setUuid(String uuid) { - _uuid = uuid; - - if (_feDettPraticaRemoteModel != null) { - try { - Class clazz = _feDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setUuid", String.class); - - method.invoke(_feDettPraticaRemoteModel, uuid); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getDettPraticaId() { - return _dettPraticaId; - } - - @Override - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - - if (_feDettPraticaRemoteModel != null) { - try { - Class clazz = _feDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDettPraticaId", long.class); - - method.invoke(_feDettPraticaRemoteModel, dettPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_feDettPraticaRemoteModel != null) { - try { - Class clazz = _feDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_feDettPraticaRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getIntPraticaId() { - return _intPraticaId; - } - - @Override - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - - if (_feDettPraticaRemoteModel != null) { - try { - Class clazz = _feDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setIntPraticaId", long.class); - - method.invoke(_feDettPraticaRemoteModel, intPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodPraticaSuap() { - return _codPraticaSuap; - } - - @Override - public void setCodPraticaSuap(String codPraticaSuap) { - _codPraticaSuap = codPraticaSuap; - - if (_feDettPraticaRemoteModel != null) { - try { - Class clazz = _feDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodPraticaSuap", - String.class); - - method.invoke(_feDettPraticaRemoteModel, codPraticaSuap); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getFineLavoriSceltaPrelievo() { - return _fineLavoriSceltaPrelievo; - } - - @Override - public boolean isFineLavoriSceltaPrelievo() { - return _fineLavoriSceltaPrelievo; - } - - @Override - public void setFineLavoriSceltaPrelievo(boolean fineLavoriSceltaPrelievo) { - _fineLavoriSceltaPrelievo = fineLavoriSceltaPrelievo; - - if (_feDettPraticaRemoteModel != null) { - try { - Class clazz = _feDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setFineLavoriSceltaPrelievo", - boolean.class); - - method.invoke(_feDettPraticaRemoteModel, - fineLavoriSceltaPrelievo); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getFPrelievoCalcestruzzo() { - return _fPrelievoCalcestruzzo; - } - - @Override - public boolean isFPrelievoCalcestruzzo() { - return _fPrelievoCalcestruzzo; - } - - @Override - public void setFPrelievoCalcestruzzo(boolean fPrelievoCalcestruzzo) { - _fPrelievoCalcestruzzo = fPrelievoCalcestruzzo; - - if (_feDettPraticaRemoteModel != null) { - try { - Class clazz = _feDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setFPrelievoCalcestruzzo", - boolean.class); - - method.invoke(_feDettPraticaRemoteModel, fPrelievoCalcestruzzo); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getFPrelievoAcciaio() { - return _fPrelievoAcciaio; - } - - @Override - public boolean isFPrelievoAcciaio() { - return _fPrelievoAcciaio; - } - - @Override - public void setFPrelievoAcciaio(boolean fPrelievoAcciaio) { - _fPrelievoAcciaio = fPrelievoAcciaio; - - if (_feDettPraticaRemoteModel != null) { - try { - Class clazz = _feDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setFPrelievoAcciaio", - boolean.class); - - method.invoke(_feDettPraticaRemoteModel, fPrelievoAcciaio); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getFPrelievoAltro() { - return _fPrelievoAltro; - } - - @Override - public boolean isFPrelievoAltro() { - return _fPrelievoAltro; - } - - @Override - public void setFPrelievoAltro(boolean fPrelievoAltro) { - _fPrelievoAltro = fPrelievoAltro; - - if (_feDettPraticaRemoteModel != null) { - try { - Class clazz = _feDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setFPrelievoAltro", - boolean.class); - - method.invoke(_feDettPraticaRemoteModel, fPrelievoAltro); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getFineLavoriAlletiUlteriori() { - return _fineLavoriAlletiUlteriori; - } - - @Override - public boolean isFineLavoriAlletiUlteriori() { - return _fineLavoriAlletiUlteriori; - } - - @Override - public void setFineLavoriAlletiUlteriori(boolean fineLavoriAlletiUlteriori) { - _fineLavoriAlletiUlteriori = fineLavoriAlletiUlteriori; - - if (_feDettPraticaRemoteModel != null) { - try { - Class clazz = _feDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setFineLavoriAlletiUlteriori", - boolean.class); - - method.invoke(_feDettPraticaRemoteModel, - fineLavoriAlletiUlteriori); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getFNoCollaudoStatico() { - return _fNoCollaudoStatico; - } - - @Override - public boolean isFNoCollaudoStatico() { - return _fNoCollaudoStatico; - } - - @Override - public void setFNoCollaudoStatico(boolean fNoCollaudoStatico) { - _fNoCollaudoStatico = fNoCollaudoStatico; - - if (_feDettPraticaRemoteModel != null) { - try { - Class clazz = _feDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setFNoCollaudoStatico", - boolean.class); - - method.invoke(_feDettPraticaRemoteModel, fNoCollaudoStatico); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getPagamentoId() { - return _pagamentoId; - } - - @Override - public void setPagamentoId(long pagamentoId) { - _pagamentoId = pagamentoId; - - if (_feDettPraticaRemoteModel != null) { - try { - Class clazz = _feDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setPagamentoId", long.class); - - method.invoke(_feDettPraticaRemoteModel, pagamentoId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - public BaseModel getFeDettPraticaRemoteModel() { - return _feDettPraticaRemoteModel; - } - - public void setFeDettPraticaRemoteModel( - BaseModel feDettPraticaRemoteModel) { - _feDettPraticaRemoteModel = feDettPraticaRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _feDettPraticaRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_feDettPraticaRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - FeDettPraticaLocalServiceUtil.addFeDettPratica(this); - } - else { - FeDettPraticaLocalServiceUtil.updateFeDettPratica(this); - } - } - - @Override - public FeDettPratica toEscapedModel() { - return (FeDettPratica)ProxyUtil.newProxyInstance(FeDettPratica.class.getClassLoader(), - new Class[] { FeDettPratica.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - FeDettPraticaClp clone = new FeDettPraticaClp(); - - clone.setUuid(getUuid()); - clone.setDettPraticaId(getDettPraticaId()); - clone.setGroupId(getGroupId()); - clone.setIntPraticaId(getIntPraticaId()); - clone.setCodPraticaSuap(getCodPraticaSuap()); - clone.setFineLavoriSceltaPrelievo(getFineLavoriSceltaPrelievo()); - clone.setFPrelievoCalcestruzzo(getFPrelievoCalcestruzzo()); - clone.setFPrelievoAcciaio(getFPrelievoAcciaio()); - clone.setFPrelievoAltro(getFPrelievoAltro()); - clone.setFineLavoriAlletiUlteriori(getFineLavoriAlletiUlteriori()); - clone.setFNoCollaudoStatico(getFNoCollaudoStatico()); - clone.setPagamentoId(getPagamentoId()); - - return clone; - } - - @Override - public int compareTo(FeDettPratica feDettPratica) { - long primaryKey = feDettPratica.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof FeDettPraticaClp)) { - return false; - } - - FeDettPraticaClp feDettPratica = (FeDettPraticaClp)obj; - - long primaryKey = feDettPratica.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(25); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", dettPraticaId="); - sb.append(getDettPraticaId()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", intPraticaId="); - sb.append(getIntPraticaId()); - sb.append(", codPraticaSuap="); - sb.append(getCodPraticaSuap()); - sb.append(", fineLavoriSceltaPrelievo="); - sb.append(getFineLavoriSceltaPrelievo()); - sb.append(", fPrelievoCalcestruzzo="); - sb.append(getFPrelievoCalcestruzzo()); - sb.append(", fPrelievoAcciaio="); - sb.append(getFPrelievoAcciaio()); - sb.append(", fPrelievoAltro="); - sb.append(getFPrelievoAltro()); - sb.append(", fineLavoriAlletiUlteriori="); - sb.append(getFineLavoriAlletiUlteriori()); - sb.append(", fNoCollaudoStatico="); - sb.append(getFNoCollaudoStatico()); - sb.append(", pagamentoId="); - sb.append(getPagamentoId()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(40); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.FeDettPratica"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "dettPraticaId"); - sb.append( - "groupId"); - sb.append( - "intPraticaId"); - sb.append( - "codPraticaSuap"); - sb.append( - "fineLavoriSceltaPrelievo"); - sb.append( - "fPrelievoCalcestruzzo"); - sb.append( - "fPrelievoAcciaio"); - sb.append( - "fPrelievoAltro"); - sb.append( - "fineLavoriAlletiUlteriori"); - sb.append( - "fNoCollaudoStatico"); - sb.append( - "pagamentoId"); - - sb.append(""); - - return sb.toString(); - } - - private String _uuid; - private long _dettPraticaId; - private long _groupId; - private long _intPraticaId; - private String _codPraticaSuap; - private boolean _fineLavoriSceltaPrelievo; - private boolean _fPrelievoCalcestruzzo; - private boolean _fPrelievoAcciaio; - private boolean _fPrelievoAltro; - private boolean _fineLavoriAlletiUlteriori; - private boolean _fNoCollaudoStatico; - private long _pagamentoId; - private BaseModel _feDettPraticaRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.importazione.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeDettPraticaModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeDettPraticaModel.java deleted file mode 100644 index 037ccdce..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeDettPraticaModel.java +++ /dev/null @@ -1,329 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -/** - * The base model interface for the FeDettPratica service. Represents a row in the "gcfe_dettpratica" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.importazione.model.impl.FeDettPraticaModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.importazione.model.impl.FeDettPraticaImpl}. - *

- * - * @author 3FC - * @see FeDettPratica - * @see it.tref.liferay.portos.importazione.model.impl.FeDettPraticaImpl - * @see it.tref.liferay.portos.importazione.model.impl.FeDettPraticaModelImpl - * @generated - */ -public interface FeDettPraticaModel extends BaseModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a fe dett pratica model instance should use the {@link FeDettPratica} interface instead. - */ - - /** - * Returns the primary key of this fe dett pratica. - * - * @return the primary key of this fe dett pratica - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this fe dett pratica. - * - * @param primaryKey the primary key of this fe dett pratica - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the uuid of this fe dett pratica. - * - * @return the uuid of this fe dett pratica - */ - @AutoEscape - public String getUuid(); - - /** - * Sets the uuid of this fe dett pratica. - * - * @param uuid the uuid of this fe dett pratica - */ - public void setUuid(String uuid); - - /** - * Returns the dett pratica ID of this fe dett pratica. - * - * @return the dett pratica ID of this fe dett pratica - */ - public long getDettPraticaId(); - - /** - * Sets the dett pratica ID of this fe dett pratica. - * - * @param dettPraticaId the dett pratica ID of this fe dett pratica - */ - public void setDettPraticaId(long dettPraticaId); - - /** - * Returns the group ID of this fe dett pratica. - * - * @return the group ID of this fe dett pratica - */ - public long getGroupId(); - - /** - * Sets the group ID of this fe dett pratica. - * - * @param groupId the group ID of this fe dett pratica - */ - public void setGroupId(long groupId); - - /** - * Returns the int pratica ID of this fe dett pratica. - * - * @return the int pratica ID of this fe dett pratica - */ - public long getIntPraticaId(); - - /** - * Sets the int pratica ID of this fe dett pratica. - * - * @param intPraticaId the int pratica ID of this fe dett pratica - */ - public void setIntPraticaId(long intPraticaId); - - /** - * Returns the cod pratica suap of this fe dett pratica. - * - * @return the cod pratica suap of this fe dett pratica - */ - @AutoEscape - public String getCodPraticaSuap(); - - /** - * Sets the cod pratica suap of this fe dett pratica. - * - * @param codPraticaSuap the cod pratica suap of this fe dett pratica - */ - public void setCodPraticaSuap(String codPraticaSuap); - - /** - * Returns the fine lavori scelta prelievo of this fe dett pratica. - * - * @return the fine lavori scelta prelievo of this fe dett pratica - */ - public boolean getFineLavoriSceltaPrelievo(); - - /** - * Returns true if this fe dett pratica is fine lavori scelta prelievo. - * - * @return true if this fe dett pratica is fine lavori scelta prelievo; false otherwise - */ - public boolean isFineLavoriSceltaPrelievo(); - - /** - * Sets whether this fe dett pratica is fine lavori scelta prelievo. - * - * @param fineLavoriSceltaPrelievo the fine lavori scelta prelievo of this fe dett pratica - */ - public void setFineLavoriSceltaPrelievo(boolean fineLavoriSceltaPrelievo); - - /** - * Returns the f prelievo calcestruzzo of this fe dett pratica. - * - * @return the f prelievo calcestruzzo of this fe dett pratica - */ - public boolean getFPrelievoCalcestruzzo(); - - /** - * Returns true if this fe dett pratica is f prelievo calcestruzzo. - * - * @return true if this fe dett pratica is f prelievo calcestruzzo; false otherwise - */ - public boolean isFPrelievoCalcestruzzo(); - - /** - * Sets whether this fe dett pratica is f prelievo calcestruzzo. - * - * @param fPrelievoCalcestruzzo the f prelievo calcestruzzo of this fe dett pratica - */ - public void setFPrelievoCalcestruzzo(boolean fPrelievoCalcestruzzo); - - /** - * Returns the f prelievo acciaio of this fe dett pratica. - * - * @return the f prelievo acciaio of this fe dett pratica - */ - public boolean getFPrelievoAcciaio(); - - /** - * Returns true if this fe dett pratica is f prelievo acciaio. - * - * @return true if this fe dett pratica is f prelievo acciaio; false otherwise - */ - public boolean isFPrelievoAcciaio(); - - /** - * Sets whether this fe dett pratica is f prelievo acciaio. - * - * @param fPrelievoAcciaio the f prelievo acciaio of this fe dett pratica - */ - public void setFPrelievoAcciaio(boolean fPrelievoAcciaio); - - /** - * Returns the f prelievo altro of this fe dett pratica. - * - * @return the f prelievo altro of this fe dett pratica - */ - public boolean getFPrelievoAltro(); - - /** - * Returns true if this fe dett pratica is f prelievo altro. - * - * @return true if this fe dett pratica is f prelievo altro; false otherwise - */ - public boolean isFPrelievoAltro(); - - /** - * Sets whether this fe dett pratica is f prelievo altro. - * - * @param fPrelievoAltro the f prelievo altro of this fe dett pratica - */ - public void setFPrelievoAltro(boolean fPrelievoAltro); - - /** - * Returns the fine lavori alleti ulteriori of this fe dett pratica. - * - * @return the fine lavori alleti ulteriori of this fe dett pratica - */ - public boolean getFineLavoriAlletiUlteriori(); - - /** - * Returns true if this fe dett pratica is fine lavori alleti ulteriori. - * - * @return true if this fe dett pratica is fine lavori alleti ulteriori; false otherwise - */ - public boolean isFineLavoriAlletiUlteriori(); - - /** - * Sets whether this fe dett pratica is fine lavori alleti ulteriori. - * - * @param fineLavoriAlletiUlteriori the fine lavori alleti ulteriori of this fe dett pratica - */ - public void setFineLavoriAlletiUlteriori(boolean fineLavoriAlletiUlteriori); - - /** - * Returns the f no collaudo statico of this fe dett pratica. - * - * @return the f no collaudo statico of this fe dett pratica - */ - public boolean getFNoCollaudoStatico(); - - /** - * Returns true if this fe dett pratica is f no collaudo statico. - * - * @return true if this fe dett pratica is f no collaudo statico; false otherwise - */ - public boolean isFNoCollaudoStatico(); - - /** - * Sets whether this fe dett pratica is f no collaudo statico. - * - * @param fNoCollaudoStatico the f no collaudo statico of this fe dett pratica - */ - public void setFNoCollaudoStatico(boolean fNoCollaudoStatico); - - /** - * Returns the pagamento ID of this fe dett pratica. - * - * @return the pagamento ID of this fe dett pratica - */ - public long getPagamentoId(); - - /** - * Sets the pagamento ID of this fe dett pratica. - * - * @param pagamentoId the pagamento ID of this fe dett pratica - */ - public void setPagamentoId(long pagamentoId); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.FeDettPratica feDettPratica); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.importazione.model.FeDettPratica toEscapedModel(); - - @Override - public it.tref.liferay.portos.importazione.model.FeDettPratica toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeDettPraticaSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeDettPraticaSoap.java deleted file mode 100644 index 5a9a638b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeDettPraticaSoap.java +++ /dev/null @@ -1,228 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author 3FC - * @generated - */ -public class FeDettPraticaSoap implements Serializable { - public static FeDettPraticaSoap toSoapModel(FeDettPratica model) { - FeDettPraticaSoap soapModel = new FeDettPraticaSoap(); - - soapModel.setUuid(model.getUuid()); - soapModel.setDettPraticaId(model.getDettPraticaId()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setIntPraticaId(model.getIntPraticaId()); - soapModel.setCodPraticaSuap(model.getCodPraticaSuap()); - soapModel.setFineLavoriSceltaPrelievo(model.getFineLavoriSceltaPrelievo()); - soapModel.setFPrelievoCalcestruzzo(model.getFPrelievoCalcestruzzo()); - soapModel.setFPrelievoAcciaio(model.getFPrelievoAcciaio()); - soapModel.setFPrelievoAltro(model.getFPrelievoAltro()); - soapModel.setFineLavoriAlletiUlteriori(model.getFineLavoriAlletiUlteriori()); - soapModel.setFNoCollaudoStatico(model.getFNoCollaudoStatico()); - soapModel.setPagamentoId(model.getPagamentoId()); - - return soapModel; - } - - public static FeDettPraticaSoap[] toSoapModels(FeDettPratica[] models) { - FeDettPraticaSoap[] soapModels = new FeDettPraticaSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static FeDettPraticaSoap[][] toSoapModels(FeDettPratica[][] models) { - FeDettPraticaSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new FeDettPraticaSoap[models.length][models[0].length]; - } - else { - soapModels = new FeDettPraticaSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static FeDettPraticaSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (FeDettPratica model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new FeDettPraticaSoap[soapModels.size()]); - } - - public FeDettPraticaSoap() { - } - - public long getPrimaryKey() { - return _dettPraticaId; - } - - public void setPrimaryKey(long pk) { - setDettPraticaId(pk); - } - - public String getUuid() { - return _uuid; - } - - public void setUuid(String uuid) { - _uuid = uuid; - } - - public long getDettPraticaId() { - return _dettPraticaId; - } - - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public long getIntPraticaId() { - return _intPraticaId; - } - - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - } - - public String getCodPraticaSuap() { - return _codPraticaSuap; - } - - public void setCodPraticaSuap(String codPraticaSuap) { - _codPraticaSuap = codPraticaSuap; - } - - public boolean getFineLavoriSceltaPrelievo() { - return _fineLavoriSceltaPrelievo; - } - - public boolean isFineLavoriSceltaPrelievo() { - return _fineLavoriSceltaPrelievo; - } - - public void setFineLavoriSceltaPrelievo(boolean fineLavoriSceltaPrelievo) { - _fineLavoriSceltaPrelievo = fineLavoriSceltaPrelievo; - } - - public boolean getFPrelievoCalcestruzzo() { - return _fPrelievoCalcestruzzo; - } - - public boolean isFPrelievoCalcestruzzo() { - return _fPrelievoCalcestruzzo; - } - - public void setFPrelievoCalcestruzzo(boolean fPrelievoCalcestruzzo) { - _fPrelievoCalcestruzzo = fPrelievoCalcestruzzo; - } - - public boolean getFPrelievoAcciaio() { - return _fPrelievoAcciaio; - } - - public boolean isFPrelievoAcciaio() { - return _fPrelievoAcciaio; - } - - public void setFPrelievoAcciaio(boolean fPrelievoAcciaio) { - _fPrelievoAcciaio = fPrelievoAcciaio; - } - - public boolean getFPrelievoAltro() { - return _fPrelievoAltro; - } - - public boolean isFPrelievoAltro() { - return _fPrelievoAltro; - } - - public void setFPrelievoAltro(boolean fPrelievoAltro) { - _fPrelievoAltro = fPrelievoAltro; - } - - public boolean getFineLavoriAlletiUlteriori() { - return _fineLavoriAlletiUlteriori; - } - - public boolean isFineLavoriAlletiUlteriori() { - return _fineLavoriAlletiUlteriori; - } - - public void setFineLavoriAlletiUlteriori(boolean fineLavoriAlletiUlteriori) { - _fineLavoriAlletiUlteriori = fineLavoriAlletiUlteriori; - } - - public boolean getFNoCollaudoStatico() { - return _fNoCollaudoStatico; - } - - public boolean isFNoCollaudoStatico() { - return _fNoCollaudoStatico; - } - - public void setFNoCollaudoStatico(boolean fNoCollaudoStatico) { - _fNoCollaudoStatico = fNoCollaudoStatico; - } - - public long getPagamentoId() { - return _pagamentoId; - } - - public void setPagamentoId(long pagamentoId) { - _pagamentoId = pagamentoId; - } - - private String _uuid; - private long _dettPraticaId; - private long _groupId; - private long _intPraticaId; - private String _codPraticaSuap; - private boolean _fineLavoriSceltaPrelievo; - private boolean _fPrelievoCalcestruzzo; - private boolean _fPrelievoAcciaio; - private boolean _fPrelievoAltro; - private boolean _fineLavoriAlletiUlteriori; - private boolean _fNoCollaudoStatico; - private long _pagamentoId; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeDettPraticaWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeDettPraticaWrapper.java deleted file mode 100644 index 7dbccc1b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeDettPraticaWrapper.java +++ /dev/null @@ -1,610 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link FeDettPratica}. - *

- * - * @author 3FC - * @see FeDettPratica - * @generated - */ -public class FeDettPraticaWrapper implements FeDettPratica, - ModelWrapper { - public FeDettPraticaWrapper(FeDettPratica feDettPratica) { - _feDettPratica = feDettPratica; - } - - @Override - public Class getModelClass() { - return FeDettPratica.class; - } - - @Override - public String getModelClassName() { - return FeDettPratica.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("groupId", getGroupId()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("codPraticaSuap", getCodPraticaSuap()); - attributes.put("fineLavoriSceltaPrelievo", getFineLavoriSceltaPrelievo()); - attributes.put("fPrelievoCalcestruzzo", getFPrelievoCalcestruzzo()); - attributes.put("fPrelievoAcciaio", getFPrelievoAcciaio()); - attributes.put("fPrelievoAltro", getFPrelievoAltro()); - attributes.put("fineLavoriAlletiUlteriori", - getFineLavoriAlletiUlteriori()); - attributes.put("fNoCollaudoStatico", getFNoCollaudoStatico()); - attributes.put("pagamentoId", getPagamentoId()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - String codPraticaSuap = (String)attributes.get("codPraticaSuap"); - - if (codPraticaSuap != null) { - setCodPraticaSuap(codPraticaSuap); - } - - Boolean fineLavoriSceltaPrelievo = (Boolean)attributes.get( - "fineLavoriSceltaPrelievo"); - - if (fineLavoriSceltaPrelievo != null) { - setFineLavoriSceltaPrelievo(fineLavoriSceltaPrelievo); - } - - Boolean fPrelievoCalcestruzzo = (Boolean)attributes.get( - "fPrelievoCalcestruzzo"); - - if (fPrelievoCalcestruzzo != null) { - setFPrelievoCalcestruzzo(fPrelievoCalcestruzzo); - } - - Boolean fPrelievoAcciaio = (Boolean)attributes.get("fPrelievoAcciaio"); - - if (fPrelievoAcciaio != null) { - setFPrelievoAcciaio(fPrelievoAcciaio); - } - - Boolean fPrelievoAltro = (Boolean)attributes.get("fPrelievoAltro"); - - if (fPrelievoAltro != null) { - setFPrelievoAltro(fPrelievoAltro); - } - - Boolean fineLavoriAlletiUlteriori = (Boolean)attributes.get( - "fineLavoriAlletiUlteriori"); - - if (fineLavoriAlletiUlteriori != null) { - setFineLavoriAlletiUlteriori(fineLavoriAlletiUlteriori); - } - - Boolean fNoCollaudoStatico = (Boolean)attributes.get( - "fNoCollaudoStatico"); - - if (fNoCollaudoStatico != null) { - setFNoCollaudoStatico(fNoCollaudoStatico); - } - - Long pagamentoId = (Long)attributes.get("pagamentoId"); - - if (pagamentoId != null) { - setPagamentoId(pagamentoId); - } - } - - /** - * Returns the primary key of this fe dett pratica. - * - * @return the primary key of this fe dett pratica - */ - @Override - public long getPrimaryKey() { - return _feDettPratica.getPrimaryKey(); - } - - /** - * Sets the primary key of this fe dett pratica. - * - * @param primaryKey the primary key of this fe dett pratica - */ - @Override - public void setPrimaryKey(long primaryKey) { - _feDettPratica.setPrimaryKey(primaryKey); - } - - /** - * Returns the uuid of this fe dett pratica. - * - * @return the uuid of this fe dett pratica - */ - @Override - public java.lang.String getUuid() { - return _feDettPratica.getUuid(); - } - - /** - * Sets the uuid of this fe dett pratica. - * - * @param uuid the uuid of this fe dett pratica - */ - @Override - public void setUuid(java.lang.String uuid) { - _feDettPratica.setUuid(uuid); - } - - /** - * Returns the dett pratica ID of this fe dett pratica. - * - * @return the dett pratica ID of this fe dett pratica - */ - @Override - public long getDettPraticaId() { - return _feDettPratica.getDettPraticaId(); - } - - /** - * Sets the dett pratica ID of this fe dett pratica. - * - * @param dettPraticaId the dett pratica ID of this fe dett pratica - */ - @Override - public void setDettPraticaId(long dettPraticaId) { - _feDettPratica.setDettPraticaId(dettPraticaId); - } - - /** - * Returns the group ID of this fe dett pratica. - * - * @return the group ID of this fe dett pratica - */ - @Override - public long getGroupId() { - return _feDettPratica.getGroupId(); - } - - /** - * Sets the group ID of this fe dett pratica. - * - * @param groupId the group ID of this fe dett pratica - */ - @Override - public void setGroupId(long groupId) { - _feDettPratica.setGroupId(groupId); - } - - /** - * Returns the int pratica ID of this fe dett pratica. - * - * @return the int pratica ID of this fe dett pratica - */ - @Override - public long getIntPraticaId() { - return _feDettPratica.getIntPraticaId(); - } - - /** - * Sets the int pratica ID of this fe dett pratica. - * - * @param intPraticaId the int pratica ID of this fe dett pratica - */ - @Override - public void setIntPraticaId(long intPraticaId) { - _feDettPratica.setIntPraticaId(intPraticaId); - } - - /** - * Returns the cod pratica suap of this fe dett pratica. - * - * @return the cod pratica suap of this fe dett pratica - */ - @Override - public java.lang.String getCodPraticaSuap() { - return _feDettPratica.getCodPraticaSuap(); - } - - /** - * Sets the cod pratica suap of this fe dett pratica. - * - * @param codPraticaSuap the cod pratica suap of this fe dett pratica - */ - @Override - public void setCodPraticaSuap(java.lang.String codPraticaSuap) { - _feDettPratica.setCodPraticaSuap(codPraticaSuap); - } - - /** - * Returns the fine lavori scelta prelievo of this fe dett pratica. - * - * @return the fine lavori scelta prelievo of this fe dett pratica - */ - @Override - public boolean getFineLavoriSceltaPrelievo() { - return _feDettPratica.getFineLavoriSceltaPrelievo(); - } - - /** - * Returns true if this fe dett pratica is fine lavori scelta prelievo. - * - * @return true if this fe dett pratica is fine lavori scelta prelievo; false otherwise - */ - @Override - public boolean isFineLavoriSceltaPrelievo() { - return _feDettPratica.isFineLavoriSceltaPrelievo(); - } - - /** - * Sets whether this fe dett pratica is fine lavori scelta prelievo. - * - * @param fineLavoriSceltaPrelievo the fine lavori scelta prelievo of this fe dett pratica - */ - @Override - public void setFineLavoriSceltaPrelievo(boolean fineLavoriSceltaPrelievo) { - _feDettPratica.setFineLavoriSceltaPrelievo(fineLavoriSceltaPrelievo); - } - - /** - * Returns the f prelievo calcestruzzo of this fe dett pratica. - * - * @return the f prelievo calcestruzzo of this fe dett pratica - */ - @Override - public boolean getFPrelievoCalcestruzzo() { - return _feDettPratica.getFPrelievoCalcestruzzo(); - } - - /** - * Returns true if this fe dett pratica is f prelievo calcestruzzo. - * - * @return true if this fe dett pratica is f prelievo calcestruzzo; false otherwise - */ - @Override - public boolean isFPrelievoCalcestruzzo() { - return _feDettPratica.isFPrelievoCalcestruzzo(); - } - - /** - * Sets whether this fe dett pratica is f prelievo calcestruzzo. - * - * @param fPrelievoCalcestruzzo the f prelievo calcestruzzo of this fe dett pratica - */ - @Override - public void setFPrelievoCalcestruzzo(boolean fPrelievoCalcestruzzo) { - _feDettPratica.setFPrelievoCalcestruzzo(fPrelievoCalcestruzzo); - } - - /** - * Returns the f prelievo acciaio of this fe dett pratica. - * - * @return the f prelievo acciaio of this fe dett pratica - */ - @Override - public boolean getFPrelievoAcciaio() { - return _feDettPratica.getFPrelievoAcciaio(); - } - - /** - * Returns true if this fe dett pratica is f prelievo acciaio. - * - * @return true if this fe dett pratica is f prelievo acciaio; false otherwise - */ - @Override - public boolean isFPrelievoAcciaio() { - return _feDettPratica.isFPrelievoAcciaio(); - } - - /** - * Sets whether this fe dett pratica is f prelievo acciaio. - * - * @param fPrelievoAcciaio the f prelievo acciaio of this fe dett pratica - */ - @Override - public void setFPrelievoAcciaio(boolean fPrelievoAcciaio) { - _feDettPratica.setFPrelievoAcciaio(fPrelievoAcciaio); - } - - /** - * Returns the f prelievo altro of this fe dett pratica. - * - * @return the f prelievo altro of this fe dett pratica - */ - @Override - public boolean getFPrelievoAltro() { - return _feDettPratica.getFPrelievoAltro(); - } - - /** - * Returns true if this fe dett pratica is f prelievo altro. - * - * @return true if this fe dett pratica is f prelievo altro; false otherwise - */ - @Override - public boolean isFPrelievoAltro() { - return _feDettPratica.isFPrelievoAltro(); - } - - /** - * Sets whether this fe dett pratica is f prelievo altro. - * - * @param fPrelievoAltro the f prelievo altro of this fe dett pratica - */ - @Override - public void setFPrelievoAltro(boolean fPrelievoAltro) { - _feDettPratica.setFPrelievoAltro(fPrelievoAltro); - } - - /** - * Returns the fine lavori alleti ulteriori of this fe dett pratica. - * - * @return the fine lavori alleti ulteriori of this fe dett pratica - */ - @Override - public boolean getFineLavoriAlletiUlteriori() { - return _feDettPratica.getFineLavoriAlletiUlteriori(); - } - - /** - * Returns true if this fe dett pratica is fine lavori alleti ulteriori. - * - * @return true if this fe dett pratica is fine lavori alleti ulteriori; false otherwise - */ - @Override - public boolean isFineLavoriAlletiUlteriori() { - return _feDettPratica.isFineLavoriAlletiUlteriori(); - } - - /** - * Sets whether this fe dett pratica is fine lavori alleti ulteriori. - * - * @param fineLavoriAlletiUlteriori the fine lavori alleti ulteriori of this fe dett pratica - */ - @Override - public void setFineLavoriAlletiUlteriori(boolean fineLavoriAlletiUlteriori) { - _feDettPratica.setFineLavoriAlletiUlteriori(fineLavoriAlletiUlteriori); - } - - /** - * Returns the f no collaudo statico of this fe dett pratica. - * - * @return the f no collaudo statico of this fe dett pratica - */ - @Override - public boolean getFNoCollaudoStatico() { - return _feDettPratica.getFNoCollaudoStatico(); - } - - /** - * Returns true if this fe dett pratica is f no collaudo statico. - * - * @return true if this fe dett pratica is f no collaudo statico; false otherwise - */ - @Override - public boolean isFNoCollaudoStatico() { - return _feDettPratica.isFNoCollaudoStatico(); - } - - /** - * Sets whether this fe dett pratica is f no collaudo statico. - * - * @param fNoCollaudoStatico the f no collaudo statico of this fe dett pratica - */ - @Override - public void setFNoCollaudoStatico(boolean fNoCollaudoStatico) { - _feDettPratica.setFNoCollaudoStatico(fNoCollaudoStatico); - } - - /** - * Returns the pagamento ID of this fe dett pratica. - * - * @return the pagamento ID of this fe dett pratica - */ - @Override - public long getPagamentoId() { - return _feDettPratica.getPagamentoId(); - } - - /** - * Sets the pagamento ID of this fe dett pratica. - * - * @param pagamentoId the pagamento ID of this fe dett pratica - */ - @Override - public void setPagamentoId(long pagamentoId) { - _feDettPratica.setPagamentoId(pagamentoId); - } - - @Override - public boolean isNew() { - return _feDettPratica.isNew(); - } - - @Override - public void setNew(boolean n) { - _feDettPratica.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _feDettPratica.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _feDettPratica.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _feDettPratica.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _feDettPratica.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _feDettPratica.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _feDettPratica.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _feDettPratica.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _feDettPratica.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _feDettPratica.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new FeDettPraticaWrapper((FeDettPratica)_feDettPratica.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.FeDettPratica feDettPratica) { - return _feDettPratica.compareTo(feDettPratica); - } - - @Override - public int hashCode() { - return _feDettPratica.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _feDettPratica.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeDettPratica toEscapedModel() { - return new FeDettPraticaWrapper(_feDettPratica.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeDettPratica toUnescapedModel() { - return new FeDettPraticaWrapper(_feDettPratica.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _feDettPratica.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _feDettPratica.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _feDettPratica.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof FeDettPraticaWrapper)) { - return false; - } - - FeDettPraticaWrapper feDettPraticaWrapper = (FeDettPraticaWrapper)obj; - - if (Validator.equals(_feDettPratica, feDettPraticaWrapper._feDettPratica)) { - return true; - } - - return false; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public FeDettPratica getWrappedFeDettPratica() { - return _feDettPratica; - } - - @Override - public FeDettPratica getWrappedModel() { - return _feDettPratica; - } - - @Override - public void resetOriginalValues() { - _feDettPratica.resetOriginalValues(); - } - - private FeDettPratica _feDettPratica; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeIntPratica.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeIntPratica.java deleted file mode 100644 index 41f24da8..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeIntPratica.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the FeIntPratica service. Represents a row in the "gcfe_intpratica" database table, with each column mapped to a property of this class. - * - * @author 3FC - * @see FeIntPraticaModel - * @see it.tref.liferay.portos.importazione.model.impl.FeIntPraticaImpl - * @see it.tref.liferay.portos.importazione.model.impl.FeIntPraticaModelImpl - * @generated - */ -public interface FeIntPratica extends FeIntPraticaModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.importazione.model.impl.FeIntPraticaImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeIntPraticaClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeIntPraticaClp.java deleted file mode 100644 index 9dfa6806..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeIntPraticaClp.java +++ /dev/null @@ -1,1076 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; - -import it.tref.liferay.portos.importazione.service.ClpSerializer; -import it.tref.liferay.portos.importazione.service.FeIntPraticaLocalServiceUtil; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.HashMap; -import java.util.Map; - -/** - * @author 3FC - */ -public class FeIntPraticaClp extends BaseModelImpl - implements FeIntPratica { - public FeIntPraticaClp() { - } - - @Override - public Class getModelClass() { - return FeIntPratica.class; - } - - @Override - public String getModelClassName() { - return FeIntPratica.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _intPraticaId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setIntPraticaId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _intPraticaId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("groupId", getGroupId()); - attributes.put("tipoPraticaId", getTipoPraticaId()); - attributes.put("territorioId", getTerritorioId()); - attributes.put("edificiOrdinari", getEdificiOrdinari()); - attributes.put("noCollaudoStatico", getNoCollaudoStatico()); - attributes.put("noCollaudoStaticoInterLocale", - getNoCollaudoStaticoInterLocale()); - attributes.put("codTipoIntervento", getCodTipoIntervento()); - attributes.put("sottoTipoPraticaCod", getSottoTipoPraticaCod()); - attributes.put("statoOpere", getStatoOpere()); - attributes.put("inizioLavoriImmediato", getInizioLavoriImmediato()); - attributes.put("relazioneGeologicaA5Check", - getRelazioneGeologicaA5Check()); - attributes.put("relazioneGeotecnicaA6Check", - getRelazioneGeotecnicaA6Check()); - attributes.put("relazioneSulleFondazioniA7Check", - getRelazioneSulleFondazioniA7Check()); - attributes.put("fascicoloDeiCalcoliA9Check", - getFascicoloDeiCalcoliA9Check()); - attributes.put("schedaSinteticaGeologoA14Check", - getSchedaSinteticaGeologoA14Check()); - attributes.put("idSoggettoDelegato", getIdSoggettoDelegato()); - attributes.put("statoPerecedente", getStatoPerecedente()); - attributes.put("checkTipologiaG", getCheckTipologiaG()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long tipoPraticaId = (Long)attributes.get("tipoPraticaId"); - - if (tipoPraticaId != null) { - setTipoPraticaId(tipoPraticaId); - } - - Long territorioId = (Long)attributes.get("territorioId"); - - if (territorioId != null) { - setTerritorioId(territorioId); - } - - Boolean edificiOrdinari = (Boolean)attributes.get("edificiOrdinari"); - - if (edificiOrdinari != null) { - setEdificiOrdinari(edificiOrdinari); - } - - Boolean noCollaudoStatico = (Boolean)attributes.get("noCollaudoStatico"); - - if (noCollaudoStatico != null) { - setNoCollaudoStatico(noCollaudoStatico); - } - - Boolean noCollaudoStaticoInterLocale = (Boolean)attributes.get( - "noCollaudoStaticoInterLocale"); - - if (noCollaudoStaticoInterLocale != null) { - setNoCollaudoStaticoInterLocale(noCollaudoStaticoInterLocale); - } - - String codTipoIntervento = (String)attributes.get("codTipoIntervento"); - - if (codTipoIntervento != null) { - setCodTipoIntervento(codTipoIntervento); - } - - String sottoTipoPraticaCod = (String)attributes.get( - "sottoTipoPraticaCod"); - - if (sottoTipoPraticaCod != null) { - setSottoTipoPraticaCod(sottoTipoPraticaCod); - } - - String statoOpere = (String)attributes.get("statoOpere"); - - if (statoOpere != null) { - setStatoOpere(statoOpere); - } - - Boolean inizioLavoriImmediato = (Boolean)attributes.get( - "inizioLavoriImmediato"); - - if (inizioLavoriImmediato != null) { - setInizioLavoriImmediato(inizioLavoriImmediato); - } - - Boolean relazioneGeologicaA5Check = (Boolean)attributes.get( - "relazioneGeologicaA5Check"); - - if (relazioneGeologicaA5Check != null) { - setRelazioneGeologicaA5Check(relazioneGeologicaA5Check); - } - - Boolean relazioneGeotecnicaA6Check = (Boolean)attributes.get( - "relazioneGeotecnicaA6Check"); - - if (relazioneGeotecnicaA6Check != null) { - setRelazioneGeotecnicaA6Check(relazioneGeotecnicaA6Check); - } - - Boolean relazioneSulleFondazioniA7Check = (Boolean)attributes.get( - "relazioneSulleFondazioniA7Check"); - - if (relazioneSulleFondazioniA7Check != null) { - setRelazioneSulleFondazioniA7Check(relazioneSulleFondazioniA7Check); - } - - Boolean fascicoloDeiCalcoliA9Check = (Boolean)attributes.get( - "fascicoloDeiCalcoliA9Check"); - - if (fascicoloDeiCalcoliA9Check != null) { - setFascicoloDeiCalcoliA9Check(fascicoloDeiCalcoliA9Check); - } - - Boolean schedaSinteticaGeologoA14Check = (Boolean)attributes.get( - "schedaSinteticaGeologoA14Check"); - - if (schedaSinteticaGeologoA14Check != null) { - setSchedaSinteticaGeologoA14Check(schedaSinteticaGeologoA14Check); - } - - Long idSoggettoDelegato = (Long)attributes.get("idSoggettoDelegato"); - - if (idSoggettoDelegato != null) { - setIdSoggettoDelegato(idSoggettoDelegato); - } - - String statoPerecedente = (String)attributes.get("statoPerecedente"); - - if (statoPerecedente != null) { - setStatoPerecedente(statoPerecedente); - } - - Boolean checkTipologiaG = (Boolean)attributes.get("checkTipologiaG"); - - if (checkTipologiaG != null) { - setCheckTipologiaG(checkTipologiaG); - } - } - - @Override - public String getUuid() { - return _uuid; - } - - @Override - public void setUuid(String uuid) { - _uuid = uuid; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setUuid", String.class); - - method.invoke(_feIntPraticaRemoteModel, uuid); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getIntPraticaId() { - return _intPraticaId; - } - - @Override - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setIntPraticaId", long.class); - - method.invoke(_feIntPraticaRemoteModel, intPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_feIntPraticaRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getTipoPraticaId() { - return _tipoPraticaId; - } - - @Override - public void setTipoPraticaId(long tipoPraticaId) { - _tipoPraticaId = tipoPraticaId; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setTipoPraticaId", long.class); - - method.invoke(_feIntPraticaRemoteModel, tipoPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getTerritorioId() { - return _territorioId; - } - - @Override - public void setTerritorioId(long territorioId) { - _territorioId = territorioId; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setTerritorioId", long.class); - - method.invoke(_feIntPraticaRemoteModel, territorioId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getEdificiOrdinari() { - return _edificiOrdinari; - } - - @Override - public boolean isEdificiOrdinari() { - return _edificiOrdinari; - } - - @Override - public void setEdificiOrdinari(boolean edificiOrdinari) { - _edificiOrdinari = edificiOrdinari; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setEdificiOrdinari", - boolean.class); - - method.invoke(_feIntPraticaRemoteModel, edificiOrdinari); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getNoCollaudoStatico() { - return _noCollaudoStatico; - } - - @Override - public boolean isNoCollaudoStatico() { - return _noCollaudoStatico; - } - - @Override - public void setNoCollaudoStatico(boolean noCollaudoStatico) { - _noCollaudoStatico = noCollaudoStatico; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setNoCollaudoStatico", - boolean.class); - - method.invoke(_feIntPraticaRemoteModel, noCollaudoStatico); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getNoCollaudoStaticoInterLocale() { - return _noCollaudoStaticoInterLocale; - } - - @Override - public boolean isNoCollaudoStaticoInterLocale() { - return _noCollaudoStaticoInterLocale; - } - - @Override - public void setNoCollaudoStaticoInterLocale( - boolean noCollaudoStaticoInterLocale) { - _noCollaudoStaticoInterLocale = noCollaudoStaticoInterLocale; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setNoCollaudoStaticoInterLocale", - boolean.class); - - method.invoke(_feIntPraticaRemoteModel, - noCollaudoStaticoInterLocale); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodTipoIntervento() { - return _codTipoIntervento; - } - - @Override - public void setCodTipoIntervento(String codTipoIntervento) { - _codTipoIntervento = codTipoIntervento; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodTipoIntervento", - String.class); - - method.invoke(_feIntPraticaRemoteModel, codTipoIntervento); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getSottoTipoPraticaCod() { - return _sottoTipoPraticaCod; - } - - @Override - public void setSottoTipoPraticaCod(String sottoTipoPraticaCod) { - _sottoTipoPraticaCod = sottoTipoPraticaCod; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setSottoTipoPraticaCod", - String.class); - - method.invoke(_feIntPraticaRemoteModel, sottoTipoPraticaCod); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getStatoOpere() { - return _statoOpere; - } - - @Override - public void setStatoOpere(String statoOpere) { - _statoOpere = statoOpere; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setStatoOpere", String.class); - - method.invoke(_feIntPraticaRemoteModel, statoOpere); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getInizioLavoriImmediato() { - return _inizioLavoriImmediato; - } - - @Override - public boolean isInizioLavoriImmediato() { - return _inizioLavoriImmediato; - } - - @Override - public void setInizioLavoriImmediato(boolean inizioLavoriImmediato) { - _inizioLavoriImmediato = inizioLavoriImmediato; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setInizioLavoriImmediato", - boolean.class); - - method.invoke(_feIntPraticaRemoteModel, inizioLavoriImmediato); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getRelazioneGeologicaA5Check() { - return _relazioneGeologicaA5Check; - } - - @Override - public boolean isRelazioneGeologicaA5Check() { - return _relazioneGeologicaA5Check; - } - - @Override - public void setRelazioneGeologicaA5Check(boolean relazioneGeologicaA5Check) { - _relazioneGeologicaA5Check = relazioneGeologicaA5Check; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setRelazioneGeologicaA5Check", - boolean.class); - - method.invoke(_feIntPraticaRemoteModel, - relazioneGeologicaA5Check); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getRelazioneGeotecnicaA6Check() { - return _relazioneGeotecnicaA6Check; - } - - @Override - public boolean isRelazioneGeotecnicaA6Check() { - return _relazioneGeotecnicaA6Check; - } - - @Override - public void setRelazioneGeotecnicaA6Check( - boolean relazioneGeotecnicaA6Check) { - _relazioneGeotecnicaA6Check = relazioneGeotecnicaA6Check; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setRelazioneGeotecnicaA6Check", - boolean.class); - - method.invoke(_feIntPraticaRemoteModel, - relazioneGeotecnicaA6Check); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getRelazioneSulleFondazioniA7Check() { - return _relazioneSulleFondazioniA7Check; - } - - @Override - public boolean isRelazioneSulleFondazioniA7Check() { - return _relazioneSulleFondazioniA7Check; - } - - @Override - public void setRelazioneSulleFondazioniA7Check( - boolean relazioneSulleFondazioniA7Check) { - _relazioneSulleFondazioniA7Check = relazioneSulleFondazioniA7Check; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setRelazioneSulleFondazioniA7Check", - boolean.class); - - method.invoke(_feIntPraticaRemoteModel, - relazioneSulleFondazioniA7Check); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getFascicoloDeiCalcoliA9Check() { - return _fascicoloDeiCalcoliA9Check; - } - - @Override - public boolean isFascicoloDeiCalcoliA9Check() { - return _fascicoloDeiCalcoliA9Check; - } - - @Override - public void setFascicoloDeiCalcoliA9Check( - boolean fascicoloDeiCalcoliA9Check) { - _fascicoloDeiCalcoliA9Check = fascicoloDeiCalcoliA9Check; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setFascicoloDeiCalcoliA9Check", - boolean.class); - - method.invoke(_feIntPraticaRemoteModel, - fascicoloDeiCalcoliA9Check); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getSchedaSinteticaGeologoA14Check() { - return _schedaSinteticaGeologoA14Check; - } - - @Override - public boolean isSchedaSinteticaGeologoA14Check() { - return _schedaSinteticaGeologoA14Check; - } - - @Override - public void setSchedaSinteticaGeologoA14Check( - boolean schedaSinteticaGeologoA14Check) { - _schedaSinteticaGeologoA14Check = schedaSinteticaGeologoA14Check; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setSchedaSinteticaGeologoA14Check", - boolean.class); - - method.invoke(_feIntPraticaRemoteModel, - schedaSinteticaGeologoA14Check); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getIdSoggettoDelegato() { - return _idSoggettoDelegato; - } - - @Override - public void setIdSoggettoDelegato(long idSoggettoDelegato) { - _idSoggettoDelegato = idSoggettoDelegato; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setIdSoggettoDelegato", - long.class); - - method.invoke(_feIntPraticaRemoteModel, idSoggettoDelegato); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getStatoPerecedente() { - return _statoPerecedente; - } - - @Override - public void setStatoPerecedente(String statoPerecedente) { - _statoPerecedente = statoPerecedente; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setStatoPerecedente", - String.class); - - method.invoke(_feIntPraticaRemoteModel, statoPerecedente); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getCheckTipologiaG() { - return _checkTipologiaG; - } - - @Override - public boolean isCheckTipologiaG() { - return _checkTipologiaG; - } - - @Override - public void setCheckTipologiaG(boolean checkTipologiaG) { - _checkTipologiaG = checkTipologiaG; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCheckTipologiaG", - boolean.class); - - method.invoke(_feIntPraticaRemoteModel, checkTipologiaG); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - public BaseModel getFeIntPraticaRemoteModel() { - return _feIntPraticaRemoteModel; - } - - public void setFeIntPraticaRemoteModel(BaseModel feIntPraticaRemoteModel) { - _feIntPraticaRemoteModel = feIntPraticaRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _feIntPraticaRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_feIntPraticaRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - FeIntPraticaLocalServiceUtil.addFeIntPratica(this); - } - else { - FeIntPraticaLocalServiceUtil.updateFeIntPratica(this); - } - } - - @Override - public FeIntPratica toEscapedModel() { - return (FeIntPratica)ProxyUtil.newProxyInstance(FeIntPratica.class.getClassLoader(), - new Class[] { FeIntPratica.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - FeIntPraticaClp clone = new FeIntPraticaClp(); - - clone.setUuid(getUuid()); - clone.setIntPraticaId(getIntPraticaId()); - clone.setGroupId(getGroupId()); - clone.setTipoPraticaId(getTipoPraticaId()); - clone.setTerritorioId(getTerritorioId()); - clone.setEdificiOrdinari(getEdificiOrdinari()); - clone.setNoCollaudoStatico(getNoCollaudoStatico()); - clone.setNoCollaudoStaticoInterLocale(getNoCollaudoStaticoInterLocale()); - clone.setCodTipoIntervento(getCodTipoIntervento()); - clone.setSottoTipoPraticaCod(getSottoTipoPraticaCod()); - clone.setStatoOpere(getStatoOpere()); - clone.setInizioLavoriImmediato(getInizioLavoriImmediato()); - clone.setRelazioneGeologicaA5Check(getRelazioneGeologicaA5Check()); - clone.setRelazioneGeotecnicaA6Check(getRelazioneGeotecnicaA6Check()); - clone.setRelazioneSulleFondazioniA7Check(getRelazioneSulleFondazioniA7Check()); - clone.setFascicoloDeiCalcoliA9Check(getFascicoloDeiCalcoliA9Check()); - clone.setSchedaSinteticaGeologoA14Check(getSchedaSinteticaGeologoA14Check()); - clone.setIdSoggettoDelegato(getIdSoggettoDelegato()); - clone.setStatoPerecedente(getStatoPerecedente()); - clone.setCheckTipologiaG(getCheckTipologiaG()); - - return clone; - } - - @Override - public int compareTo(FeIntPratica feIntPratica) { - long primaryKey = feIntPratica.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof FeIntPraticaClp)) { - return false; - } - - FeIntPraticaClp feIntPratica = (FeIntPraticaClp)obj; - - long primaryKey = feIntPratica.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(41); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", intPraticaId="); - sb.append(getIntPraticaId()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", tipoPraticaId="); - sb.append(getTipoPraticaId()); - sb.append(", territorioId="); - sb.append(getTerritorioId()); - sb.append(", edificiOrdinari="); - sb.append(getEdificiOrdinari()); - sb.append(", noCollaudoStatico="); - sb.append(getNoCollaudoStatico()); - sb.append(", noCollaudoStaticoInterLocale="); - sb.append(getNoCollaudoStaticoInterLocale()); - sb.append(", codTipoIntervento="); - sb.append(getCodTipoIntervento()); - sb.append(", sottoTipoPraticaCod="); - sb.append(getSottoTipoPraticaCod()); - sb.append(", statoOpere="); - sb.append(getStatoOpere()); - sb.append(", inizioLavoriImmediato="); - sb.append(getInizioLavoriImmediato()); - sb.append(", relazioneGeologicaA5Check="); - sb.append(getRelazioneGeologicaA5Check()); - sb.append(", relazioneGeotecnicaA6Check="); - sb.append(getRelazioneGeotecnicaA6Check()); - sb.append(", relazioneSulleFondazioniA7Check="); - sb.append(getRelazioneSulleFondazioniA7Check()); - sb.append(", fascicoloDeiCalcoliA9Check="); - sb.append(getFascicoloDeiCalcoliA9Check()); - sb.append(", schedaSinteticaGeologoA14Check="); - sb.append(getSchedaSinteticaGeologoA14Check()); - sb.append(", idSoggettoDelegato="); - sb.append(getIdSoggettoDelegato()); - sb.append(", statoPerecedente="); - sb.append(getStatoPerecedente()); - sb.append(", checkTipologiaG="); - sb.append(getCheckTipologiaG()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(64); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.FeIntPratica"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "intPraticaId"); - sb.append( - "groupId"); - sb.append( - "tipoPraticaId"); - sb.append( - "territorioId"); - sb.append( - "edificiOrdinari"); - sb.append( - "noCollaudoStatico"); - sb.append( - "noCollaudoStaticoInterLocale"); - sb.append( - "codTipoIntervento"); - sb.append( - "sottoTipoPraticaCod"); - sb.append( - "statoOpere"); - sb.append( - "inizioLavoriImmediato"); - sb.append( - "relazioneGeologicaA5Check"); - sb.append( - "relazioneGeotecnicaA6Check"); - sb.append( - "relazioneSulleFondazioniA7Check"); - sb.append( - "fascicoloDeiCalcoliA9Check"); - sb.append( - "schedaSinteticaGeologoA14Check"); - sb.append( - "idSoggettoDelegato"); - sb.append( - "statoPerecedente"); - sb.append( - "checkTipologiaG"); - - sb.append(""); - - return sb.toString(); - } - - private String _uuid; - private long _intPraticaId; - private long _groupId; - private long _tipoPraticaId; - private long _territorioId; - private boolean _edificiOrdinari; - private boolean _noCollaudoStatico; - private boolean _noCollaudoStaticoInterLocale; - private String _codTipoIntervento; - private String _sottoTipoPraticaCod; - private String _statoOpere; - private boolean _inizioLavoriImmediato; - private boolean _relazioneGeologicaA5Check; - private boolean _relazioneGeotecnicaA6Check; - private boolean _relazioneSulleFondazioniA7Check; - private boolean _fascicoloDeiCalcoliA9Check; - private boolean _schedaSinteticaGeologoA14Check; - private long _idSoggettoDelegato; - private String _statoPerecedente; - private boolean _checkTipologiaG; - private BaseModel _feIntPraticaRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.importazione.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeIntPraticaModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeIntPraticaModel.java deleted file mode 100644 index 91443c6e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeIntPraticaModel.java +++ /dev/null @@ -1,477 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -/** - * The base model interface for the FeIntPratica service. Represents a row in the "gcfe_intpratica" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.importazione.model.impl.FeIntPraticaModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.importazione.model.impl.FeIntPraticaImpl}. - *

- * - * @author 3FC - * @see FeIntPratica - * @see it.tref.liferay.portos.importazione.model.impl.FeIntPraticaImpl - * @see it.tref.liferay.portos.importazione.model.impl.FeIntPraticaModelImpl - * @generated - */ -public interface FeIntPraticaModel extends BaseModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a fe int pratica model instance should use the {@link FeIntPratica} interface instead. - */ - - /** - * Returns the primary key of this fe int pratica. - * - * @return the primary key of this fe int pratica - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this fe int pratica. - * - * @param primaryKey the primary key of this fe int pratica - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the uuid of this fe int pratica. - * - * @return the uuid of this fe int pratica - */ - @AutoEscape - public String getUuid(); - - /** - * Sets the uuid of this fe int pratica. - * - * @param uuid the uuid of this fe int pratica - */ - public void setUuid(String uuid); - - /** - * Returns the int pratica ID of this fe int pratica. - * - * @return the int pratica ID of this fe int pratica - */ - public long getIntPraticaId(); - - /** - * Sets the int pratica ID of this fe int pratica. - * - * @param intPraticaId the int pratica ID of this fe int pratica - */ - public void setIntPraticaId(long intPraticaId); - - /** - * Returns the group ID of this fe int pratica. - * - * @return the group ID of this fe int pratica - */ - public long getGroupId(); - - /** - * Sets the group ID of this fe int pratica. - * - * @param groupId the group ID of this fe int pratica - */ - public void setGroupId(long groupId); - - /** - * Returns the tipo pratica ID of this fe int pratica. - * - * @return the tipo pratica ID of this fe int pratica - */ - public long getTipoPraticaId(); - - /** - * Sets the tipo pratica ID of this fe int pratica. - * - * @param tipoPraticaId the tipo pratica ID of this fe int pratica - */ - public void setTipoPraticaId(long tipoPraticaId); - - /** - * Returns the territorio ID of this fe int pratica. - * - * @return the territorio ID of this fe int pratica - */ - public long getTerritorioId(); - - /** - * Sets the territorio ID of this fe int pratica. - * - * @param territorioId the territorio ID of this fe int pratica - */ - public void setTerritorioId(long territorioId); - - /** - * Returns the edifici ordinari of this fe int pratica. - * - * @return the edifici ordinari of this fe int pratica - */ - public boolean getEdificiOrdinari(); - - /** - * Returns true if this fe int pratica is edifici ordinari. - * - * @return true if this fe int pratica is edifici ordinari; false otherwise - */ - public boolean isEdificiOrdinari(); - - /** - * Sets whether this fe int pratica is edifici ordinari. - * - * @param edificiOrdinari the edifici ordinari of this fe int pratica - */ - public void setEdificiOrdinari(boolean edificiOrdinari); - - /** - * Returns the no collaudo statico of this fe int pratica. - * - * @return the no collaudo statico of this fe int pratica - */ - public boolean getNoCollaudoStatico(); - - /** - * Returns true if this fe int pratica is no collaudo statico. - * - * @return true if this fe int pratica is no collaudo statico; false otherwise - */ - public boolean isNoCollaudoStatico(); - - /** - * Sets whether this fe int pratica is no collaudo statico. - * - * @param noCollaudoStatico the no collaudo statico of this fe int pratica - */ - public void setNoCollaudoStatico(boolean noCollaudoStatico); - - /** - * Returns the no collaudo statico inter locale of this fe int pratica. - * - * @return the no collaudo statico inter locale of this fe int pratica - */ - public boolean getNoCollaudoStaticoInterLocale(); - - /** - * Returns true if this fe int pratica is no collaudo statico inter locale. - * - * @return true if this fe int pratica is no collaudo statico inter locale; false otherwise - */ - public boolean isNoCollaudoStaticoInterLocale(); - - /** - * Sets whether this fe int pratica is no collaudo statico inter locale. - * - * @param noCollaudoStaticoInterLocale the no collaudo statico inter locale of this fe int pratica - */ - public void setNoCollaudoStaticoInterLocale( - boolean noCollaudoStaticoInterLocale); - - /** - * Returns the cod tipo intervento of this fe int pratica. - * - * @return the cod tipo intervento of this fe int pratica - */ - @AutoEscape - public String getCodTipoIntervento(); - - /** - * Sets the cod tipo intervento of this fe int pratica. - * - * @param codTipoIntervento the cod tipo intervento of this fe int pratica - */ - public void setCodTipoIntervento(String codTipoIntervento); - - /** - * Returns the sotto tipo pratica cod of this fe int pratica. - * - * @return the sotto tipo pratica cod of this fe int pratica - */ - @AutoEscape - public String getSottoTipoPraticaCod(); - - /** - * Sets the sotto tipo pratica cod of this fe int pratica. - * - * @param sottoTipoPraticaCod the sotto tipo pratica cod of this fe int pratica - */ - public void setSottoTipoPraticaCod(String sottoTipoPraticaCod); - - /** - * Returns the stato opere of this fe int pratica. - * - * @return the stato opere of this fe int pratica - */ - @AutoEscape - public String getStatoOpere(); - - /** - * Sets the stato opere of this fe int pratica. - * - * @param statoOpere the stato opere of this fe int pratica - */ - public void setStatoOpere(String statoOpere); - - /** - * Returns the inizio lavori immediato of this fe int pratica. - * - * @return the inizio lavori immediato of this fe int pratica - */ - public boolean getInizioLavoriImmediato(); - - /** - * Returns true if this fe int pratica is inizio lavori immediato. - * - * @return true if this fe int pratica is inizio lavori immediato; false otherwise - */ - public boolean isInizioLavoriImmediato(); - - /** - * Sets whether this fe int pratica is inizio lavori immediato. - * - * @param inizioLavoriImmediato the inizio lavori immediato of this fe int pratica - */ - public void setInizioLavoriImmediato(boolean inizioLavoriImmediato); - - /** - * Returns the relazione geologica a5 check of this fe int pratica. - * - * @return the relazione geologica a5 check of this fe int pratica - */ - public boolean getRelazioneGeologicaA5Check(); - - /** - * Returns true if this fe int pratica is relazione geologica a5 check. - * - * @return true if this fe int pratica is relazione geologica a5 check; false otherwise - */ - public boolean isRelazioneGeologicaA5Check(); - - /** - * Sets whether this fe int pratica is relazione geologica a5 check. - * - * @param relazioneGeologicaA5Check the relazione geologica a5 check of this fe int pratica - */ - public void setRelazioneGeologicaA5Check(boolean relazioneGeologicaA5Check); - - /** - * Returns the relazione geotecnica a6 check of this fe int pratica. - * - * @return the relazione geotecnica a6 check of this fe int pratica - */ - public boolean getRelazioneGeotecnicaA6Check(); - - /** - * Returns true if this fe int pratica is relazione geotecnica a6 check. - * - * @return true if this fe int pratica is relazione geotecnica a6 check; false otherwise - */ - public boolean isRelazioneGeotecnicaA6Check(); - - /** - * Sets whether this fe int pratica is relazione geotecnica a6 check. - * - * @param relazioneGeotecnicaA6Check the relazione geotecnica a6 check of this fe int pratica - */ - public void setRelazioneGeotecnicaA6Check( - boolean relazioneGeotecnicaA6Check); - - /** - * Returns the relazione sulle fondazioni a7 check of this fe int pratica. - * - * @return the relazione sulle fondazioni a7 check of this fe int pratica - */ - public boolean getRelazioneSulleFondazioniA7Check(); - - /** - * Returns true if this fe int pratica is relazione sulle fondazioni a7 check. - * - * @return true if this fe int pratica is relazione sulle fondazioni a7 check; false otherwise - */ - public boolean isRelazioneSulleFondazioniA7Check(); - - /** - * Sets whether this fe int pratica is relazione sulle fondazioni a7 check. - * - * @param relazioneSulleFondazioniA7Check the relazione sulle fondazioni a7 check of this fe int pratica - */ - public void setRelazioneSulleFondazioniA7Check( - boolean relazioneSulleFondazioniA7Check); - - /** - * Returns the fascicolo dei calcoli a9 check of this fe int pratica. - * - * @return the fascicolo dei calcoli a9 check of this fe int pratica - */ - public boolean getFascicoloDeiCalcoliA9Check(); - - /** - * Returns true if this fe int pratica is fascicolo dei calcoli a9 check. - * - * @return true if this fe int pratica is fascicolo dei calcoli a9 check; false otherwise - */ - public boolean isFascicoloDeiCalcoliA9Check(); - - /** - * Sets whether this fe int pratica is fascicolo dei calcoli a9 check. - * - * @param fascicoloDeiCalcoliA9Check the fascicolo dei calcoli a9 check of this fe int pratica - */ - public void setFascicoloDeiCalcoliA9Check( - boolean fascicoloDeiCalcoliA9Check); - - /** - * Returns the scheda sintetica geologo a14 check of this fe int pratica. - * - * @return the scheda sintetica geologo a14 check of this fe int pratica - */ - public boolean getSchedaSinteticaGeologoA14Check(); - - /** - * Returns true if this fe int pratica is scheda sintetica geologo a14 check. - * - * @return true if this fe int pratica is scheda sintetica geologo a14 check; false otherwise - */ - public boolean isSchedaSinteticaGeologoA14Check(); - - /** - * Sets whether this fe int pratica is scheda sintetica geologo a14 check. - * - * @param schedaSinteticaGeologoA14Check the scheda sintetica geologo a14 check of this fe int pratica - */ - public void setSchedaSinteticaGeologoA14Check( - boolean schedaSinteticaGeologoA14Check); - - /** - * Returns the id soggetto delegato of this fe int pratica. - * - * @return the id soggetto delegato of this fe int pratica - */ - public long getIdSoggettoDelegato(); - - /** - * Sets the id soggetto delegato of this fe int pratica. - * - * @param idSoggettoDelegato the id soggetto delegato of this fe int pratica - */ - public void setIdSoggettoDelegato(long idSoggettoDelegato); - - /** - * Returns the stato perecedente of this fe int pratica. - * - * @return the stato perecedente of this fe int pratica - */ - @AutoEscape - public String getStatoPerecedente(); - - /** - * Sets the stato perecedente of this fe int pratica. - * - * @param statoPerecedente the stato perecedente of this fe int pratica - */ - public void setStatoPerecedente(String statoPerecedente); - - /** - * Returns the check tipologia g of this fe int pratica. - * - * @return the check tipologia g of this fe int pratica - */ - public boolean getCheckTipologiaG(); - - /** - * Returns true if this fe int pratica is check tipologia g. - * - * @return true if this fe int pratica is check tipologia g; false otherwise - */ - public boolean isCheckTipologiaG(); - - /** - * Sets whether this fe int pratica is check tipologia g. - * - * @param checkTipologiaG the check tipologia g of this fe int pratica - */ - public void setCheckTipologiaG(boolean checkTipologiaG); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.FeIntPratica feIntPratica); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.importazione.model.FeIntPratica toEscapedModel(); - - @Override - public it.tref.liferay.portos.importazione.model.FeIntPratica toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeIntPraticaSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeIntPraticaSoap.java deleted file mode 100644 index 8e35afc3..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeIntPraticaSoap.java +++ /dev/null @@ -1,329 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author 3FC - * @generated - */ -public class FeIntPraticaSoap implements Serializable { - public static FeIntPraticaSoap toSoapModel(FeIntPratica model) { - FeIntPraticaSoap soapModel = new FeIntPraticaSoap(); - - soapModel.setUuid(model.getUuid()); - soapModel.setIntPraticaId(model.getIntPraticaId()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setTipoPraticaId(model.getTipoPraticaId()); - soapModel.setTerritorioId(model.getTerritorioId()); - soapModel.setEdificiOrdinari(model.getEdificiOrdinari()); - soapModel.setNoCollaudoStatico(model.getNoCollaudoStatico()); - soapModel.setNoCollaudoStaticoInterLocale(model.getNoCollaudoStaticoInterLocale()); - soapModel.setCodTipoIntervento(model.getCodTipoIntervento()); - soapModel.setSottoTipoPraticaCod(model.getSottoTipoPraticaCod()); - soapModel.setStatoOpere(model.getStatoOpere()); - soapModel.setInizioLavoriImmediato(model.getInizioLavoriImmediato()); - soapModel.setRelazioneGeologicaA5Check(model.getRelazioneGeologicaA5Check()); - soapModel.setRelazioneGeotecnicaA6Check(model.getRelazioneGeotecnicaA6Check()); - soapModel.setRelazioneSulleFondazioniA7Check(model.getRelazioneSulleFondazioniA7Check()); - soapModel.setFascicoloDeiCalcoliA9Check(model.getFascicoloDeiCalcoliA9Check()); - soapModel.setSchedaSinteticaGeologoA14Check(model.getSchedaSinteticaGeologoA14Check()); - soapModel.setIdSoggettoDelegato(model.getIdSoggettoDelegato()); - soapModel.setStatoPerecedente(model.getStatoPerecedente()); - soapModel.setCheckTipologiaG(model.getCheckTipologiaG()); - - return soapModel; - } - - public static FeIntPraticaSoap[] toSoapModels(FeIntPratica[] models) { - FeIntPraticaSoap[] soapModels = new FeIntPraticaSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static FeIntPraticaSoap[][] toSoapModels(FeIntPratica[][] models) { - FeIntPraticaSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new FeIntPraticaSoap[models.length][models[0].length]; - } - else { - soapModels = new FeIntPraticaSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static FeIntPraticaSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (FeIntPratica model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new FeIntPraticaSoap[soapModels.size()]); - } - - public FeIntPraticaSoap() { - } - - public long getPrimaryKey() { - return _intPraticaId; - } - - public void setPrimaryKey(long pk) { - setIntPraticaId(pk); - } - - public String getUuid() { - return _uuid; - } - - public void setUuid(String uuid) { - _uuid = uuid; - } - - public long getIntPraticaId() { - return _intPraticaId; - } - - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public long getTipoPraticaId() { - return _tipoPraticaId; - } - - public void setTipoPraticaId(long tipoPraticaId) { - _tipoPraticaId = tipoPraticaId; - } - - public long getTerritorioId() { - return _territorioId; - } - - public void setTerritorioId(long territorioId) { - _territorioId = territorioId; - } - - public boolean getEdificiOrdinari() { - return _edificiOrdinari; - } - - public boolean isEdificiOrdinari() { - return _edificiOrdinari; - } - - public void setEdificiOrdinari(boolean edificiOrdinari) { - _edificiOrdinari = edificiOrdinari; - } - - public boolean getNoCollaudoStatico() { - return _noCollaudoStatico; - } - - public boolean isNoCollaudoStatico() { - return _noCollaudoStatico; - } - - public void setNoCollaudoStatico(boolean noCollaudoStatico) { - _noCollaudoStatico = noCollaudoStatico; - } - - public boolean getNoCollaudoStaticoInterLocale() { - return _noCollaudoStaticoInterLocale; - } - - public boolean isNoCollaudoStaticoInterLocale() { - return _noCollaudoStaticoInterLocale; - } - - public void setNoCollaudoStaticoInterLocale( - boolean noCollaudoStaticoInterLocale) { - _noCollaudoStaticoInterLocale = noCollaudoStaticoInterLocale; - } - - public String getCodTipoIntervento() { - return _codTipoIntervento; - } - - public void setCodTipoIntervento(String codTipoIntervento) { - _codTipoIntervento = codTipoIntervento; - } - - public String getSottoTipoPraticaCod() { - return _sottoTipoPraticaCod; - } - - public void setSottoTipoPraticaCod(String sottoTipoPraticaCod) { - _sottoTipoPraticaCod = sottoTipoPraticaCod; - } - - public String getStatoOpere() { - return _statoOpere; - } - - public void setStatoOpere(String statoOpere) { - _statoOpere = statoOpere; - } - - public boolean getInizioLavoriImmediato() { - return _inizioLavoriImmediato; - } - - public boolean isInizioLavoriImmediato() { - return _inizioLavoriImmediato; - } - - public void setInizioLavoriImmediato(boolean inizioLavoriImmediato) { - _inizioLavoriImmediato = inizioLavoriImmediato; - } - - public boolean getRelazioneGeologicaA5Check() { - return _relazioneGeologicaA5Check; - } - - public boolean isRelazioneGeologicaA5Check() { - return _relazioneGeologicaA5Check; - } - - public void setRelazioneGeologicaA5Check(boolean relazioneGeologicaA5Check) { - _relazioneGeologicaA5Check = relazioneGeologicaA5Check; - } - - public boolean getRelazioneGeotecnicaA6Check() { - return _relazioneGeotecnicaA6Check; - } - - public boolean isRelazioneGeotecnicaA6Check() { - return _relazioneGeotecnicaA6Check; - } - - public void setRelazioneGeotecnicaA6Check( - boolean relazioneGeotecnicaA6Check) { - _relazioneGeotecnicaA6Check = relazioneGeotecnicaA6Check; - } - - public boolean getRelazioneSulleFondazioniA7Check() { - return _relazioneSulleFondazioniA7Check; - } - - public boolean isRelazioneSulleFondazioniA7Check() { - return _relazioneSulleFondazioniA7Check; - } - - public void setRelazioneSulleFondazioniA7Check( - boolean relazioneSulleFondazioniA7Check) { - _relazioneSulleFondazioniA7Check = relazioneSulleFondazioniA7Check; - } - - public boolean getFascicoloDeiCalcoliA9Check() { - return _fascicoloDeiCalcoliA9Check; - } - - public boolean isFascicoloDeiCalcoliA9Check() { - return _fascicoloDeiCalcoliA9Check; - } - - public void setFascicoloDeiCalcoliA9Check( - boolean fascicoloDeiCalcoliA9Check) { - _fascicoloDeiCalcoliA9Check = fascicoloDeiCalcoliA9Check; - } - - public boolean getSchedaSinteticaGeologoA14Check() { - return _schedaSinteticaGeologoA14Check; - } - - public boolean isSchedaSinteticaGeologoA14Check() { - return _schedaSinteticaGeologoA14Check; - } - - public void setSchedaSinteticaGeologoA14Check( - boolean schedaSinteticaGeologoA14Check) { - _schedaSinteticaGeologoA14Check = schedaSinteticaGeologoA14Check; - } - - public long getIdSoggettoDelegato() { - return _idSoggettoDelegato; - } - - public void setIdSoggettoDelegato(long idSoggettoDelegato) { - _idSoggettoDelegato = idSoggettoDelegato; - } - - public String getStatoPerecedente() { - return _statoPerecedente; - } - - public void setStatoPerecedente(String statoPerecedente) { - _statoPerecedente = statoPerecedente; - } - - public boolean getCheckTipologiaG() { - return _checkTipologiaG; - } - - public boolean isCheckTipologiaG() { - return _checkTipologiaG; - } - - public void setCheckTipologiaG(boolean checkTipologiaG) { - _checkTipologiaG = checkTipologiaG; - } - - private String _uuid; - private long _intPraticaId; - private long _groupId; - private long _tipoPraticaId; - private long _territorioId; - private boolean _edificiOrdinari; - private boolean _noCollaudoStatico; - private boolean _noCollaudoStaticoInterLocale; - private String _codTipoIntervento; - private String _sottoTipoPraticaCod; - private String _statoOpere; - private boolean _inizioLavoriImmediato; - private boolean _relazioneGeologicaA5Check; - private boolean _relazioneGeotecnicaA6Check; - private boolean _relazioneSulleFondazioniA7Check; - private boolean _fascicoloDeiCalcoliA9Check; - private boolean _schedaSinteticaGeologoA14Check; - private long _idSoggettoDelegato; - private String _statoPerecedente; - private boolean _checkTipologiaG; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeIntPraticaWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeIntPraticaWrapper.java deleted file mode 100644 index 96c2e56c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeIntPraticaWrapper.java +++ /dev/null @@ -1,880 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link FeIntPratica}. - *

- * - * @author 3FC - * @see FeIntPratica - * @generated - */ -public class FeIntPraticaWrapper implements FeIntPratica, - ModelWrapper { - public FeIntPraticaWrapper(FeIntPratica feIntPratica) { - _feIntPratica = feIntPratica; - } - - @Override - public Class getModelClass() { - return FeIntPratica.class; - } - - @Override - public String getModelClassName() { - return FeIntPratica.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("groupId", getGroupId()); - attributes.put("tipoPraticaId", getTipoPraticaId()); - attributes.put("territorioId", getTerritorioId()); - attributes.put("edificiOrdinari", getEdificiOrdinari()); - attributes.put("noCollaudoStatico", getNoCollaudoStatico()); - attributes.put("noCollaudoStaticoInterLocale", - getNoCollaudoStaticoInterLocale()); - attributes.put("codTipoIntervento", getCodTipoIntervento()); - attributes.put("sottoTipoPraticaCod", getSottoTipoPraticaCod()); - attributes.put("statoOpere", getStatoOpere()); - attributes.put("inizioLavoriImmediato", getInizioLavoriImmediato()); - attributes.put("relazioneGeologicaA5Check", - getRelazioneGeologicaA5Check()); - attributes.put("relazioneGeotecnicaA6Check", - getRelazioneGeotecnicaA6Check()); - attributes.put("relazioneSulleFondazioniA7Check", - getRelazioneSulleFondazioniA7Check()); - attributes.put("fascicoloDeiCalcoliA9Check", - getFascicoloDeiCalcoliA9Check()); - attributes.put("schedaSinteticaGeologoA14Check", - getSchedaSinteticaGeologoA14Check()); - attributes.put("idSoggettoDelegato", getIdSoggettoDelegato()); - attributes.put("statoPerecedente", getStatoPerecedente()); - attributes.put("checkTipologiaG", getCheckTipologiaG()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long tipoPraticaId = (Long)attributes.get("tipoPraticaId"); - - if (tipoPraticaId != null) { - setTipoPraticaId(tipoPraticaId); - } - - Long territorioId = (Long)attributes.get("territorioId"); - - if (territorioId != null) { - setTerritorioId(territorioId); - } - - Boolean edificiOrdinari = (Boolean)attributes.get("edificiOrdinari"); - - if (edificiOrdinari != null) { - setEdificiOrdinari(edificiOrdinari); - } - - Boolean noCollaudoStatico = (Boolean)attributes.get("noCollaudoStatico"); - - if (noCollaudoStatico != null) { - setNoCollaudoStatico(noCollaudoStatico); - } - - Boolean noCollaudoStaticoInterLocale = (Boolean)attributes.get( - "noCollaudoStaticoInterLocale"); - - if (noCollaudoStaticoInterLocale != null) { - setNoCollaudoStaticoInterLocale(noCollaudoStaticoInterLocale); - } - - String codTipoIntervento = (String)attributes.get("codTipoIntervento"); - - if (codTipoIntervento != null) { - setCodTipoIntervento(codTipoIntervento); - } - - String sottoTipoPraticaCod = (String)attributes.get( - "sottoTipoPraticaCod"); - - if (sottoTipoPraticaCod != null) { - setSottoTipoPraticaCod(sottoTipoPraticaCod); - } - - String statoOpere = (String)attributes.get("statoOpere"); - - if (statoOpere != null) { - setStatoOpere(statoOpere); - } - - Boolean inizioLavoriImmediato = (Boolean)attributes.get( - "inizioLavoriImmediato"); - - if (inizioLavoriImmediato != null) { - setInizioLavoriImmediato(inizioLavoriImmediato); - } - - Boolean relazioneGeologicaA5Check = (Boolean)attributes.get( - "relazioneGeologicaA5Check"); - - if (relazioneGeologicaA5Check != null) { - setRelazioneGeologicaA5Check(relazioneGeologicaA5Check); - } - - Boolean relazioneGeotecnicaA6Check = (Boolean)attributes.get( - "relazioneGeotecnicaA6Check"); - - if (relazioneGeotecnicaA6Check != null) { - setRelazioneGeotecnicaA6Check(relazioneGeotecnicaA6Check); - } - - Boolean relazioneSulleFondazioniA7Check = (Boolean)attributes.get( - "relazioneSulleFondazioniA7Check"); - - if (relazioneSulleFondazioniA7Check != null) { - setRelazioneSulleFondazioniA7Check(relazioneSulleFondazioniA7Check); - } - - Boolean fascicoloDeiCalcoliA9Check = (Boolean)attributes.get( - "fascicoloDeiCalcoliA9Check"); - - if (fascicoloDeiCalcoliA9Check != null) { - setFascicoloDeiCalcoliA9Check(fascicoloDeiCalcoliA9Check); - } - - Boolean schedaSinteticaGeologoA14Check = (Boolean)attributes.get( - "schedaSinteticaGeologoA14Check"); - - if (schedaSinteticaGeologoA14Check != null) { - setSchedaSinteticaGeologoA14Check(schedaSinteticaGeologoA14Check); - } - - Long idSoggettoDelegato = (Long)attributes.get("idSoggettoDelegato"); - - if (idSoggettoDelegato != null) { - setIdSoggettoDelegato(idSoggettoDelegato); - } - - String statoPerecedente = (String)attributes.get("statoPerecedente"); - - if (statoPerecedente != null) { - setStatoPerecedente(statoPerecedente); - } - - Boolean checkTipologiaG = (Boolean)attributes.get("checkTipologiaG"); - - if (checkTipologiaG != null) { - setCheckTipologiaG(checkTipologiaG); - } - } - - /** - * Returns the primary key of this fe int pratica. - * - * @return the primary key of this fe int pratica - */ - @Override - public long getPrimaryKey() { - return _feIntPratica.getPrimaryKey(); - } - - /** - * Sets the primary key of this fe int pratica. - * - * @param primaryKey the primary key of this fe int pratica - */ - @Override - public void setPrimaryKey(long primaryKey) { - _feIntPratica.setPrimaryKey(primaryKey); - } - - /** - * Returns the uuid of this fe int pratica. - * - * @return the uuid of this fe int pratica - */ - @Override - public java.lang.String getUuid() { - return _feIntPratica.getUuid(); - } - - /** - * Sets the uuid of this fe int pratica. - * - * @param uuid the uuid of this fe int pratica - */ - @Override - public void setUuid(java.lang.String uuid) { - _feIntPratica.setUuid(uuid); - } - - /** - * Returns the int pratica ID of this fe int pratica. - * - * @return the int pratica ID of this fe int pratica - */ - @Override - public long getIntPraticaId() { - return _feIntPratica.getIntPraticaId(); - } - - /** - * Sets the int pratica ID of this fe int pratica. - * - * @param intPraticaId the int pratica ID of this fe int pratica - */ - @Override - public void setIntPraticaId(long intPraticaId) { - _feIntPratica.setIntPraticaId(intPraticaId); - } - - /** - * Returns the group ID of this fe int pratica. - * - * @return the group ID of this fe int pratica - */ - @Override - public long getGroupId() { - return _feIntPratica.getGroupId(); - } - - /** - * Sets the group ID of this fe int pratica. - * - * @param groupId the group ID of this fe int pratica - */ - @Override - public void setGroupId(long groupId) { - _feIntPratica.setGroupId(groupId); - } - - /** - * Returns the tipo pratica ID of this fe int pratica. - * - * @return the tipo pratica ID of this fe int pratica - */ - @Override - public long getTipoPraticaId() { - return _feIntPratica.getTipoPraticaId(); - } - - /** - * Sets the tipo pratica ID of this fe int pratica. - * - * @param tipoPraticaId the tipo pratica ID of this fe int pratica - */ - @Override - public void setTipoPraticaId(long tipoPraticaId) { - _feIntPratica.setTipoPraticaId(tipoPraticaId); - } - - /** - * Returns the territorio ID of this fe int pratica. - * - * @return the territorio ID of this fe int pratica - */ - @Override - public long getTerritorioId() { - return _feIntPratica.getTerritorioId(); - } - - /** - * Sets the territorio ID of this fe int pratica. - * - * @param territorioId the territorio ID of this fe int pratica - */ - @Override - public void setTerritorioId(long territorioId) { - _feIntPratica.setTerritorioId(territorioId); - } - - /** - * Returns the edifici ordinari of this fe int pratica. - * - * @return the edifici ordinari of this fe int pratica - */ - @Override - public boolean getEdificiOrdinari() { - return _feIntPratica.getEdificiOrdinari(); - } - - /** - * Returns true if this fe int pratica is edifici ordinari. - * - * @return true if this fe int pratica is edifici ordinari; false otherwise - */ - @Override - public boolean isEdificiOrdinari() { - return _feIntPratica.isEdificiOrdinari(); - } - - /** - * Sets whether this fe int pratica is edifici ordinari. - * - * @param edificiOrdinari the edifici ordinari of this fe int pratica - */ - @Override - public void setEdificiOrdinari(boolean edificiOrdinari) { - _feIntPratica.setEdificiOrdinari(edificiOrdinari); - } - - /** - * Returns the no collaudo statico of this fe int pratica. - * - * @return the no collaudo statico of this fe int pratica - */ - @Override - public boolean getNoCollaudoStatico() { - return _feIntPratica.getNoCollaudoStatico(); - } - - /** - * Returns true if this fe int pratica is no collaudo statico. - * - * @return true if this fe int pratica is no collaudo statico; false otherwise - */ - @Override - public boolean isNoCollaudoStatico() { - return _feIntPratica.isNoCollaudoStatico(); - } - - /** - * Sets whether this fe int pratica is no collaudo statico. - * - * @param noCollaudoStatico the no collaudo statico of this fe int pratica - */ - @Override - public void setNoCollaudoStatico(boolean noCollaudoStatico) { - _feIntPratica.setNoCollaudoStatico(noCollaudoStatico); - } - - /** - * Returns the no collaudo statico inter locale of this fe int pratica. - * - * @return the no collaudo statico inter locale of this fe int pratica - */ - @Override - public boolean getNoCollaudoStaticoInterLocale() { - return _feIntPratica.getNoCollaudoStaticoInterLocale(); - } - - /** - * Returns true if this fe int pratica is no collaudo statico inter locale. - * - * @return true if this fe int pratica is no collaudo statico inter locale; false otherwise - */ - @Override - public boolean isNoCollaudoStaticoInterLocale() { - return _feIntPratica.isNoCollaudoStaticoInterLocale(); - } - - /** - * Sets whether this fe int pratica is no collaudo statico inter locale. - * - * @param noCollaudoStaticoInterLocale the no collaudo statico inter locale of this fe int pratica - */ - @Override - public void setNoCollaudoStaticoInterLocale( - boolean noCollaudoStaticoInterLocale) { - _feIntPratica.setNoCollaudoStaticoInterLocale(noCollaudoStaticoInterLocale); - } - - /** - * Returns the cod tipo intervento of this fe int pratica. - * - * @return the cod tipo intervento of this fe int pratica - */ - @Override - public java.lang.String getCodTipoIntervento() { - return _feIntPratica.getCodTipoIntervento(); - } - - /** - * Sets the cod tipo intervento of this fe int pratica. - * - * @param codTipoIntervento the cod tipo intervento of this fe int pratica - */ - @Override - public void setCodTipoIntervento(java.lang.String codTipoIntervento) { - _feIntPratica.setCodTipoIntervento(codTipoIntervento); - } - - /** - * Returns the sotto tipo pratica cod of this fe int pratica. - * - * @return the sotto tipo pratica cod of this fe int pratica - */ - @Override - public java.lang.String getSottoTipoPraticaCod() { - return _feIntPratica.getSottoTipoPraticaCod(); - } - - /** - * Sets the sotto tipo pratica cod of this fe int pratica. - * - * @param sottoTipoPraticaCod the sotto tipo pratica cod of this fe int pratica - */ - @Override - public void setSottoTipoPraticaCod(java.lang.String sottoTipoPraticaCod) { - _feIntPratica.setSottoTipoPraticaCod(sottoTipoPraticaCod); - } - - /** - * Returns the stato opere of this fe int pratica. - * - * @return the stato opere of this fe int pratica - */ - @Override - public java.lang.String getStatoOpere() { - return _feIntPratica.getStatoOpere(); - } - - /** - * Sets the stato opere of this fe int pratica. - * - * @param statoOpere the stato opere of this fe int pratica - */ - @Override - public void setStatoOpere(java.lang.String statoOpere) { - _feIntPratica.setStatoOpere(statoOpere); - } - - /** - * Returns the inizio lavori immediato of this fe int pratica. - * - * @return the inizio lavori immediato of this fe int pratica - */ - @Override - public boolean getInizioLavoriImmediato() { - return _feIntPratica.getInizioLavoriImmediato(); - } - - /** - * Returns true if this fe int pratica is inizio lavori immediato. - * - * @return true if this fe int pratica is inizio lavori immediato; false otherwise - */ - @Override - public boolean isInizioLavoriImmediato() { - return _feIntPratica.isInizioLavoriImmediato(); - } - - /** - * Sets whether this fe int pratica is inizio lavori immediato. - * - * @param inizioLavoriImmediato the inizio lavori immediato of this fe int pratica - */ - @Override - public void setInizioLavoriImmediato(boolean inizioLavoriImmediato) { - _feIntPratica.setInizioLavoriImmediato(inizioLavoriImmediato); - } - - /** - * Returns the relazione geologica a5 check of this fe int pratica. - * - * @return the relazione geologica a5 check of this fe int pratica - */ - @Override - public boolean getRelazioneGeologicaA5Check() { - return _feIntPratica.getRelazioneGeologicaA5Check(); - } - - /** - * Returns true if this fe int pratica is relazione geologica a5 check. - * - * @return true if this fe int pratica is relazione geologica a5 check; false otherwise - */ - @Override - public boolean isRelazioneGeologicaA5Check() { - return _feIntPratica.isRelazioneGeologicaA5Check(); - } - - /** - * Sets whether this fe int pratica is relazione geologica a5 check. - * - * @param relazioneGeologicaA5Check the relazione geologica a5 check of this fe int pratica - */ - @Override - public void setRelazioneGeologicaA5Check(boolean relazioneGeologicaA5Check) { - _feIntPratica.setRelazioneGeologicaA5Check(relazioneGeologicaA5Check); - } - - /** - * Returns the relazione geotecnica a6 check of this fe int pratica. - * - * @return the relazione geotecnica a6 check of this fe int pratica - */ - @Override - public boolean getRelazioneGeotecnicaA6Check() { - return _feIntPratica.getRelazioneGeotecnicaA6Check(); - } - - /** - * Returns true if this fe int pratica is relazione geotecnica a6 check. - * - * @return true if this fe int pratica is relazione geotecnica a6 check; false otherwise - */ - @Override - public boolean isRelazioneGeotecnicaA6Check() { - return _feIntPratica.isRelazioneGeotecnicaA6Check(); - } - - /** - * Sets whether this fe int pratica is relazione geotecnica a6 check. - * - * @param relazioneGeotecnicaA6Check the relazione geotecnica a6 check of this fe int pratica - */ - @Override - public void setRelazioneGeotecnicaA6Check( - boolean relazioneGeotecnicaA6Check) { - _feIntPratica.setRelazioneGeotecnicaA6Check(relazioneGeotecnicaA6Check); - } - - /** - * Returns the relazione sulle fondazioni a7 check of this fe int pratica. - * - * @return the relazione sulle fondazioni a7 check of this fe int pratica - */ - @Override - public boolean getRelazioneSulleFondazioniA7Check() { - return _feIntPratica.getRelazioneSulleFondazioniA7Check(); - } - - /** - * Returns true if this fe int pratica is relazione sulle fondazioni a7 check. - * - * @return true if this fe int pratica is relazione sulle fondazioni a7 check; false otherwise - */ - @Override - public boolean isRelazioneSulleFondazioniA7Check() { - return _feIntPratica.isRelazioneSulleFondazioniA7Check(); - } - - /** - * Sets whether this fe int pratica is relazione sulle fondazioni a7 check. - * - * @param relazioneSulleFondazioniA7Check the relazione sulle fondazioni a7 check of this fe int pratica - */ - @Override - public void setRelazioneSulleFondazioniA7Check( - boolean relazioneSulleFondazioniA7Check) { - _feIntPratica.setRelazioneSulleFondazioniA7Check(relazioneSulleFondazioniA7Check); - } - - /** - * Returns the fascicolo dei calcoli a9 check of this fe int pratica. - * - * @return the fascicolo dei calcoli a9 check of this fe int pratica - */ - @Override - public boolean getFascicoloDeiCalcoliA9Check() { - return _feIntPratica.getFascicoloDeiCalcoliA9Check(); - } - - /** - * Returns true if this fe int pratica is fascicolo dei calcoli a9 check. - * - * @return true if this fe int pratica is fascicolo dei calcoli a9 check; false otherwise - */ - @Override - public boolean isFascicoloDeiCalcoliA9Check() { - return _feIntPratica.isFascicoloDeiCalcoliA9Check(); - } - - /** - * Sets whether this fe int pratica is fascicolo dei calcoli a9 check. - * - * @param fascicoloDeiCalcoliA9Check the fascicolo dei calcoli a9 check of this fe int pratica - */ - @Override - public void setFascicoloDeiCalcoliA9Check( - boolean fascicoloDeiCalcoliA9Check) { - _feIntPratica.setFascicoloDeiCalcoliA9Check(fascicoloDeiCalcoliA9Check); - } - - /** - * Returns the scheda sintetica geologo a14 check of this fe int pratica. - * - * @return the scheda sintetica geologo a14 check of this fe int pratica - */ - @Override - public boolean getSchedaSinteticaGeologoA14Check() { - return _feIntPratica.getSchedaSinteticaGeologoA14Check(); - } - - /** - * Returns true if this fe int pratica is scheda sintetica geologo a14 check. - * - * @return true if this fe int pratica is scheda sintetica geologo a14 check; false otherwise - */ - @Override - public boolean isSchedaSinteticaGeologoA14Check() { - return _feIntPratica.isSchedaSinteticaGeologoA14Check(); - } - - /** - * Sets whether this fe int pratica is scheda sintetica geologo a14 check. - * - * @param schedaSinteticaGeologoA14Check the scheda sintetica geologo a14 check of this fe int pratica - */ - @Override - public void setSchedaSinteticaGeologoA14Check( - boolean schedaSinteticaGeologoA14Check) { - _feIntPratica.setSchedaSinteticaGeologoA14Check(schedaSinteticaGeologoA14Check); - } - - /** - * Returns the id soggetto delegato of this fe int pratica. - * - * @return the id soggetto delegato of this fe int pratica - */ - @Override - public long getIdSoggettoDelegato() { - return _feIntPratica.getIdSoggettoDelegato(); - } - - /** - * Sets the id soggetto delegato of this fe int pratica. - * - * @param idSoggettoDelegato the id soggetto delegato of this fe int pratica - */ - @Override - public void setIdSoggettoDelegato(long idSoggettoDelegato) { - _feIntPratica.setIdSoggettoDelegato(idSoggettoDelegato); - } - - /** - * Returns the stato perecedente of this fe int pratica. - * - * @return the stato perecedente of this fe int pratica - */ - @Override - public java.lang.String getStatoPerecedente() { - return _feIntPratica.getStatoPerecedente(); - } - - /** - * Sets the stato perecedente of this fe int pratica. - * - * @param statoPerecedente the stato perecedente of this fe int pratica - */ - @Override - public void setStatoPerecedente(java.lang.String statoPerecedente) { - _feIntPratica.setStatoPerecedente(statoPerecedente); - } - - /** - * Returns the check tipologia g of this fe int pratica. - * - * @return the check tipologia g of this fe int pratica - */ - @Override - public boolean getCheckTipologiaG() { - return _feIntPratica.getCheckTipologiaG(); - } - - /** - * Returns true if this fe int pratica is check tipologia g. - * - * @return true if this fe int pratica is check tipologia g; false otherwise - */ - @Override - public boolean isCheckTipologiaG() { - return _feIntPratica.isCheckTipologiaG(); - } - - /** - * Sets whether this fe int pratica is check tipologia g. - * - * @param checkTipologiaG the check tipologia g of this fe int pratica - */ - @Override - public void setCheckTipologiaG(boolean checkTipologiaG) { - _feIntPratica.setCheckTipologiaG(checkTipologiaG); - } - - @Override - public boolean isNew() { - return _feIntPratica.isNew(); - } - - @Override - public void setNew(boolean n) { - _feIntPratica.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _feIntPratica.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _feIntPratica.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _feIntPratica.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _feIntPratica.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _feIntPratica.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _feIntPratica.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _feIntPratica.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _feIntPratica.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _feIntPratica.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new FeIntPraticaWrapper((FeIntPratica)_feIntPratica.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.FeIntPratica feIntPratica) { - return _feIntPratica.compareTo(feIntPratica); - } - - @Override - public int hashCode() { - return _feIntPratica.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _feIntPratica.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeIntPratica toEscapedModel() { - return new FeIntPraticaWrapper(_feIntPratica.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeIntPratica toUnescapedModel() { - return new FeIntPraticaWrapper(_feIntPratica.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _feIntPratica.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _feIntPratica.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _feIntPratica.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof FeIntPraticaWrapper)) { - return false; - } - - FeIntPraticaWrapper feIntPraticaWrapper = (FeIntPraticaWrapper)obj; - - if (Validator.equals(_feIntPratica, feIntPraticaWrapper._feIntPratica)) { - return true; - } - - return false; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public FeIntPratica getWrappedFeIntPratica() { - return _feIntPratica; - } - - @Override - public FeIntPratica getWrappedModel() { - return _feIntPratica; - } - - @Override - public void resetOriginalValues() { - _feIntPratica.resetOriginalValues(); - } - - private FeIntPratica _feIntPratica; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FePagamento.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FePagamento.java deleted file mode 100644 index 4d06d9f4..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FePagamento.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the FePagamento service. Represents a row in the "gcfe_pagamento" database table, with each column mapped to a property of this class. - * - * @author 3FC - * @see FePagamentoModel - * @see it.tref.liferay.portos.importazione.model.impl.FePagamentoImpl - * @see it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl - * @generated - */ -public interface FePagamento extends FePagamentoModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FePagamentoClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FePagamentoClp.java deleted file mode 100644 index 3e7d9d24..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FePagamentoClp.java +++ /dev/null @@ -1,902 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.service.ClpSerializer; -import it.tref.liferay.portos.importazione.service.FePagamentoLocalServiceUtil; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author 3FC - */ -public class FePagamentoClp extends BaseModelImpl - implements FePagamento { - public FePagamentoClp() { - } - - @Override - public Class getModelClass() { - return FePagamento.class; - } - - @Override - public String getModelClassName() { - return FePagamento.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _pagamentoId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setPagamentoId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _pagamentoId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("pagamentoId", getPagamentoId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("codice", getCodice()); - attributes.put("causale", getCausale()); - attributes.put("mezzo", getMezzo()); - attributes.put("codiceFiscaleCommittente", getCodiceFiscaleCommittente()); - attributes.put("importoBolli", getImportoBolli()); - attributes.put("importoSpeseIstruttoria", getImportoSpeseIstruttoria()); - attributes.put("utilizzata", getUtilizzata()); - attributes.put("emailPending", getEmailPending()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long pagamentoId = (Long)attributes.get("pagamentoId"); - - if (pagamentoId != null) { - setPagamentoId(pagamentoId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - String codice = (String)attributes.get("codice"); - - if (codice != null) { - setCodice(codice); - } - - String causale = (String)attributes.get("causale"); - - if (causale != null) { - setCausale(causale); - } - - String mezzo = (String)attributes.get("mezzo"); - - if (mezzo != null) { - setMezzo(mezzo); - } - - String codiceFiscaleCommittente = (String)attributes.get( - "codiceFiscaleCommittente"); - - if (codiceFiscaleCommittente != null) { - setCodiceFiscaleCommittente(codiceFiscaleCommittente); - } - - String importoBolli = (String)attributes.get("importoBolli"); - - if (importoBolli != null) { - setImportoBolli(importoBolli); - } - - String importoSpeseIstruttoria = (String)attributes.get( - "importoSpeseIstruttoria"); - - if (importoSpeseIstruttoria != null) { - setImportoSpeseIstruttoria(importoSpeseIstruttoria); - } - - String utilizzata = (String)attributes.get("utilizzata"); - - if (utilizzata != null) { - setUtilizzata(utilizzata); - } - - Boolean emailPending = (Boolean)attributes.get("emailPending"); - - if (emailPending != null) { - setEmailPending(emailPending); - } - } - - @Override - public String getUuid() { - return _uuid; - } - - @Override - public void setUuid(String uuid) { - _uuid = uuid; - - if (_fePagamentoRemoteModel != null) { - try { - Class clazz = _fePagamentoRemoteModel.getClass(); - - Method method = clazz.getMethod("setUuid", String.class); - - method.invoke(_fePagamentoRemoteModel, uuid); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getPagamentoId() { - return _pagamentoId; - } - - @Override - public void setPagamentoId(long pagamentoId) { - _pagamentoId = pagamentoId; - - if (_fePagamentoRemoteModel != null) { - try { - Class clazz = _fePagamentoRemoteModel.getClass(); - - Method method = clazz.getMethod("setPagamentoId", long.class); - - method.invoke(_fePagamentoRemoteModel, pagamentoId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_fePagamentoRemoteModel != null) { - try { - Class clazz = _fePagamentoRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_fePagamentoRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_fePagamentoRemoteModel != null) { - try { - Class clazz = _fePagamentoRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_fePagamentoRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_fePagamentoRemoteModel != null) { - try { - Class clazz = _fePagamentoRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_fePagamentoRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_fePagamentoRemoteModel != null) { - try { - Class clazz = _fePagamentoRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_fePagamentoRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_fePagamentoRemoteModel != null) { - try { - Class clazz = _fePagamentoRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_fePagamentoRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_fePagamentoRemoteModel != null) { - try { - Class clazz = _fePagamentoRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_fePagamentoRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getDettPraticaId() { - return _dettPraticaId; - } - - @Override - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - - if (_fePagamentoRemoteModel != null) { - try { - Class clazz = _fePagamentoRemoteModel.getClass(); - - Method method = clazz.getMethod("setDettPraticaId", long.class); - - method.invoke(_fePagamentoRemoteModel, dettPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodice() { - return _codice; - } - - @Override - public void setCodice(String codice) { - _codice = codice; - - if (_fePagamentoRemoteModel != null) { - try { - Class clazz = _fePagamentoRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodice", String.class); - - method.invoke(_fePagamentoRemoteModel, codice); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCausale() { - return _causale; - } - - @Override - public void setCausale(String causale) { - _causale = causale; - - if (_fePagamentoRemoteModel != null) { - try { - Class clazz = _fePagamentoRemoteModel.getClass(); - - Method method = clazz.getMethod("setCausale", String.class); - - method.invoke(_fePagamentoRemoteModel, causale); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getMezzo() { - return _mezzo; - } - - @Override - public void setMezzo(String mezzo) { - _mezzo = mezzo; - - if (_fePagamentoRemoteModel != null) { - try { - Class clazz = _fePagamentoRemoteModel.getClass(); - - Method method = clazz.getMethod("setMezzo", String.class); - - method.invoke(_fePagamentoRemoteModel, mezzo); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodiceFiscaleCommittente() { - return _codiceFiscaleCommittente; - } - - @Override - public void setCodiceFiscaleCommittente(String codiceFiscaleCommittente) { - _codiceFiscaleCommittente = codiceFiscaleCommittente; - - if (_fePagamentoRemoteModel != null) { - try { - Class clazz = _fePagamentoRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodiceFiscaleCommittente", - String.class); - - method.invoke(_fePagamentoRemoteModel, codiceFiscaleCommittente); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getImportoBolli() { - return _importoBolli; - } - - @Override - public void setImportoBolli(String importoBolli) { - _importoBolli = importoBolli; - - if (_fePagamentoRemoteModel != null) { - try { - Class clazz = _fePagamentoRemoteModel.getClass(); - - Method method = clazz.getMethod("setImportoBolli", String.class); - - method.invoke(_fePagamentoRemoteModel, importoBolli); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getImportoSpeseIstruttoria() { - return _importoSpeseIstruttoria; - } - - @Override - public void setImportoSpeseIstruttoria(String importoSpeseIstruttoria) { - _importoSpeseIstruttoria = importoSpeseIstruttoria; - - if (_fePagamentoRemoteModel != null) { - try { - Class clazz = _fePagamentoRemoteModel.getClass(); - - Method method = clazz.getMethod("setImportoSpeseIstruttoria", - String.class); - - method.invoke(_fePagamentoRemoteModel, importoSpeseIstruttoria); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUtilizzata() { - return _utilizzata; - } - - @Override - public void setUtilizzata(String utilizzata) { - _utilizzata = utilizzata; - - if (_fePagamentoRemoteModel != null) { - try { - Class clazz = _fePagamentoRemoteModel.getClass(); - - Method method = clazz.getMethod("setUtilizzata", String.class); - - method.invoke(_fePagamentoRemoteModel, utilizzata); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getEmailPending() { - return _emailPending; - } - - @Override - public boolean isEmailPending() { - return _emailPending; - } - - @Override - public void setEmailPending(boolean emailPending) { - _emailPending = emailPending; - - if (_fePagamentoRemoteModel != null) { - try { - Class clazz = _fePagamentoRemoteModel.getClass(); - - Method method = clazz.getMethod("setEmailPending", boolean.class); - - method.invoke(_fePagamentoRemoteModel, emailPending); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - FePagamento.class.getName())); - } - - public BaseModel getFePagamentoRemoteModel() { - return _fePagamentoRemoteModel; - } - - public void setFePagamentoRemoteModel(BaseModel fePagamentoRemoteModel) { - _fePagamentoRemoteModel = fePagamentoRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _fePagamentoRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_fePagamentoRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - FePagamentoLocalServiceUtil.addFePagamento(this); - } - else { - FePagamentoLocalServiceUtil.updateFePagamento(this); - } - } - - @Override - public FePagamento toEscapedModel() { - return (FePagamento)ProxyUtil.newProxyInstance(FePagamento.class.getClassLoader(), - new Class[] { FePagamento.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - FePagamentoClp clone = new FePagamentoClp(); - - clone.setUuid(getUuid()); - clone.setPagamentoId(getPagamentoId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setGroupId(getGroupId()); - clone.setDettPraticaId(getDettPraticaId()); - clone.setCodice(getCodice()); - clone.setCausale(getCausale()); - clone.setMezzo(getMezzo()); - clone.setCodiceFiscaleCommittente(getCodiceFiscaleCommittente()); - clone.setImportoBolli(getImportoBolli()); - clone.setImportoSpeseIstruttoria(getImportoSpeseIstruttoria()); - clone.setUtilizzata(getUtilizzata()); - clone.setEmailPending(getEmailPending()); - - return clone; - } - - @Override - public int compareTo(FePagamento fePagamento) { - long primaryKey = fePagamento.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof FePagamentoClp)) { - return false; - } - - FePagamentoClp fePagamento = (FePagamentoClp)obj; - - long primaryKey = fePagamento.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(35); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", pagamentoId="); - sb.append(getPagamentoId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", dettPraticaId="); - sb.append(getDettPraticaId()); - sb.append(", codice="); - sb.append(getCodice()); - sb.append(", causale="); - sb.append(getCausale()); - sb.append(", mezzo="); - sb.append(getMezzo()); - sb.append(", codiceFiscaleCommittente="); - sb.append(getCodiceFiscaleCommittente()); - sb.append(", importoBolli="); - sb.append(getImportoBolli()); - sb.append(", importoSpeseIstruttoria="); - sb.append(getImportoSpeseIstruttoria()); - sb.append(", utilizzata="); - sb.append(getUtilizzata()); - sb.append(", emailPending="); - sb.append(getEmailPending()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(55); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.FePagamento"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "pagamentoId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "dettPraticaId"); - sb.append( - "codice"); - sb.append( - "causale"); - sb.append( - "mezzo"); - sb.append( - "codiceFiscaleCommittente"); - sb.append( - "importoBolli"); - sb.append( - "importoSpeseIstruttoria"); - sb.append( - "utilizzata"); - sb.append( - "emailPending"); - - sb.append(""); - - return sb.toString(); - } - - private String _uuid; - private long _pagamentoId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _dettPraticaId; - private String _codice; - private String _causale; - private String _mezzo; - private String _codiceFiscaleCommittente; - private String _importoBolli; - private String _importoSpeseIstruttoria; - private String _utilizzata; - private boolean _emailPending; - private BaseModel _fePagamentoRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.importazione.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FePagamentoModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FePagamentoModel.java deleted file mode 100644 index 78439c48..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FePagamentoModel.java +++ /dev/null @@ -1,407 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.StagedGroupedModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the FePagamento service. Represents a row in the "gcfe_pagamento" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoImpl}. - *

- * - * @author 3FC - * @see FePagamento - * @see it.tref.liferay.portos.importazione.model.impl.FePagamentoImpl - * @see it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl - * @generated - */ -public interface FePagamentoModel extends BaseModel, - StagedGroupedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a fe pagamento model instance should use the {@link FePagamento} interface instead. - */ - - /** - * Returns the primary key of this fe pagamento. - * - * @return the primary key of this fe pagamento - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this fe pagamento. - * - * @param primaryKey the primary key of this fe pagamento - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the uuid of this fe pagamento. - * - * @return the uuid of this fe pagamento - */ - @AutoEscape - @Override - public String getUuid(); - - /** - * Sets the uuid of this fe pagamento. - * - * @param uuid the uuid of this fe pagamento - */ - @Override - public void setUuid(String uuid); - - /** - * Returns the pagamento ID of this fe pagamento. - * - * @return the pagamento ID of this fe pagamento - */ - public long getPagamentoId(); - - /** - * Sets the pagamento ID of this fe pagamento. - * - * @param pagamentoId the pagamento ID of this fe pagamento - */ - public void setPagamentoId(long pagamentoId); - - /** - * Returns the company ID of this fe pagamento. - * - * @return the company ID of this fe pagamento - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this fe pagamento. - * - * @param companyId the company ID of this fe pagamento - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this fe pagamento. - * - * @return the user ID of this fe pagamento - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this fe pagamento. - * - * @param userId the user ID of this fe pagamento - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this fe pagamento. - * - * @return the user uuid of this fe pagamento - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this fe pagamento. - * - * @param userUuid the user uuid of this fe pagamento - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this fe pagamento. - * - * @return the user name of this fe pagamento - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this fe pagamento. - * - * @param userName the user name of this fe pagamento - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this fe pagamento. - * - * @return the create date of this fe pagamento - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this fe pagamento. - * - * @param createDate the create date of this fe pagamento - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this fe pagamento. - * - * @return the modified date of this fe pagamento - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this fe pagamento. - * - * @param modifiedDate the modified date of this fe pagamento - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the group ID of this fe pagamento. - * - * @return the group ID of this fe pagamento - */ - @Override - public long getGroupId(); - - /** - * Sets the group ID of this fe pagamento. - * - * @param groupId the group ID of this fe pagamento - */ - @Override - public void setGroupId(long groupId); - - /** - * Returns the dett pratica ID of this fe pagamento. - * - * @return the dett pratica ID of this fe pagamento - */ - public long getDettPraticaId(); - - /** - * Sets the dett pratica ID of this fe pagamento. - * - * @param dettPraticaId the dett pratica ID of this fe pagamento - */ - public void setDettPraticaId(long dettPraticaId); - - /** - * Returns the codice of this fe pagamento. - * - * @return the codice of this fe pagamento - */ - @AutoEscape - public String getCodice(); - - /** - * Sets the codice of this fe pagamento. - * - * @param codice the codice of this fe pagamento - */ - public void setCodice(String codice); - - /** - * Returns the causale of this fe pagamento. - * - * @return the causale of this fe pagamento - */ - @AutoEscape - public String getCausale(); - - /** - * Sets the causale of this fe pagamento. - * - * @param causale the causale of this fe pagamento - */ - public void setCausale(String causale); - - /** - * Returns the mezzo of this fe pagamento. - * - * @return the mezzo of this fe pagamento - */ - @AutoEscape - public String getMezzo(); - - /** - * Sets the mezzo of this fe pagamento. - * - * @param mezzo the mezzo of this fe pagamento - */ - public void setMezzo(String mezzo); - - /** - * Returns the codice fiscale committente of this fe pagamento. - * - * @return the codice fiscale committente of this fe pagamento - */ - @AutoEscape - public String getCodiceFiscaleCommittente(); - - /** - * Sets the codice fiscale committente of this fe pagamento. - * - * @param codiceFiscaleCommittente the codice fiscale committente of this fe pagamento - */ - public void setCodiceFiscaleCommittente(String codiceFiscaleCommittente); - - /** - * Returns the importo bolli of this fe pagamento. - * - * @return the importo bolli of this fe pagamento - */ - @AutoEscape - public String getImportoBolli(); - - /** - * Sets the importo bolli of this fe pagamento. - * - * @param importoBolli the importo bolli of this fe pagamento - */ - public void setImportoBolli(String importoBolli); - - /** - * Returns the importo spese istruttoria of this fe pagamento. - * - * @return the importo spese istruttoria of this fe pagamento - */ - @AutoEscape - public String getImportoSpeseIstruttoria(); - - /** - * Sets the importo spese istruttoria of this fe pagamento. - * - * @param importoSpeseIstruttoria the importo spese istruttoria of this fe pagamento - */ - public void setImportoSpeseIstruttoria(String importoSpeseIstruttoria); - - /** - * Returns the utilizzata of this fe pagamento. - * - * @return the utilizzata of this fe pagamento - */ - @AutoEscape - public String getUtilizzata(); - - /** - * Sets the utilizzata of this fe pagamento. - * - * @param utilizzata the utilizzata of this fe pagamento - */ - public void setUtilizzata(String utilizzata); - - /** - * Returns the email pending of this fe pagamento. - * - * @return the email pending of this fe pagamento - */ - public boolean getEmailPending(); - - /** - * Returns true if this fe pagamento is email pending. - * - * @return true if this fe pagamento is email pending; false otherwise - */ - public boolean isEmailPending(); - - /** - * Sets whether this fe pagamento is email pending. - * - * @param emailPending the email pending of this fe pagamento - */ - public void setEmailPending(boolean emailPending); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.FePagamento fePagamento); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.importazione.model.FePagamento toEscapedModel(); - - @Override - public it.tref.liferay.portos.importazione.model.FePagamento toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FePagamentoSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FePagamentoSoap.java deleted file mode 100644 index d242a839..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FePagamentoSoap.java +++ /dev/null @@ -1,259 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author 3FC - * @generated - */ -public class FePagamentoSoap implements Serializable { - public static FePagamentoSoap toSoapModel(FePagamento model) { - FePagamentoSoap soapModel = new FePagamentoSoap(); - - soapModel.setUuid(model.getUuid()); - soapModel.setPagamentoId(model.getPagamentoId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setDettPraticaId(model.getDettPraticaId()); - soapModel.setCodice(model.getCodice()); - soapModel.setCausale(model.getCausale()); - soapModel.setMezzo(model.getMezzo()); - soapModel.setCodiceFiscaleCommittente(model.getCodiceFiscaleCommittente()); - soapModel.setImportoBolli(model.getImportoBolli()); - soapModel.setImportoSpeseIstruttoria(model.getImportoSpeseIstruttoria()); - soapModel.setUtilizzata(model.getUtilizzata()); - soapModel.setEmailPending(model.getEmailPending()); - - return soapModel; - } - - public static FePagamentoSoap[] toSoapModels(FePagamento[] models) { - FePagamentoSoap[] soapModels = new FePagamentoSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static FePagamentoSoap[][] toSoapModels(FePagamento[][] models) { - FePagamentoSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new FePagamentoSoap[models.length][models[0].length]; - } - else { - soapModels = new FePagamentoSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static FePagamentoSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (FePagamento model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new FePagamentoSoap[soapModels.size()]); - } - - public FePagamentoSoap() { - } - - public long getPrimaryKey() { - return _pagamentoId; - } - - public void setPrimaryKey(long pk) { - setPagamentoId(pk); - } - - public String getUuid() { - return _uuid; - } - - public void setUuid(String uuid) { - _uuid = uuid; - } - - public long getPagamentoId() { - return _pagamentoId; - } - - public void setPagamentoId(long pagamentoId) { - _pagamentoId = pagamentoId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public long getDettPraticaId() { - return _dettPraticaId; - } - - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - } - - public String getCodice() { - return _codice; - } - - public void setCodice(String codice) { - _codice = codice; - } - - public String getCausale() { - return _causale; - } - - public void setCausale(String causale) { - _causale = causale; - } - - public String getMezzo() { - return _mezzo; - } - - public void setMezzo(String mezzo) { - _mezzo = mezzo; - } - - public String getCodiceFiscaleCommittente() { - return _codiceFiscaleCommittente; - } - - public void setCodiceFiscaleCommittente(String codiceFiscaleCommittente) { - _codiceFiscaleCommittente = codiceFiscaleCommittente; - } - - public String getImportoBolli() { - return _importoBolli; - } - - public void setImportoBolli(String importoBolli) { - _importoBolli = importoBolli; - } - - public String getImportoSpeseIstruttoria() { - return _importoSpeseIstruttoria; - } - - public void setImportoSpeseIstruttoria(String importoSpeseIstruttoria) { - _importoSpeseIstruttoria = importoSpeseIstruttoria; - } - - public String getUtilizzata() { - return _utilizzata; - } - - public void setUtilizzata(String utilizzata) { - _utilizzata = utilizzata; - } - - public boolean getEmailPending() { - return _emailPending; - } - - public boolean isEmailPending() { - return _emailPending; - } - - public void setEmailPending(boolean emailPending) { - _emailPending = emailPending; - } - - private String _uuid; - private long _pagamentoId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _dettPraticaId; - private String _codice; - private String _causale; - private String _mezzo; - private String _codiceFiscaleCommittente; - private String _importoBolli; - private String _importoSpeseIstruttoria; - private String _utilizzata; - private boolean _emailPending; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FePagamentoWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FePagamentoWrapper.java deleted file mode 100644 index 5cf66467..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FePagamentoWrapper.java +++ /dev/null @@ -1,723 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link FePagamento}. - *

- * - * @author 3FC - * @see FePagamento - * @generated - */ -public class FePagamentoWrapper implements FePagamento, - ModelWrapper { - public FePagamentoWrapper(FePagamento fePagamento) { - _fePagamento = fePagamento; - } - - @Override - public Class getModelClass() { - return FePagamento.class; - } - - @Override - public String getModelClassName() { - return FePagamento.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("pagamentoId", getPagamentoId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("codice", getCodice()); - attributes.put("causale", getCausale()); - attributes.put("mezzo", getMezzo()); - attributes.put("codiceFiscaleCommittente", getCodiceFiscaleCommittente()); - attributes.put("importoBolli", getImportoBolli()); - attributes.put("importoSpeseIstruttoria", getImportoSpeseIstruttoria()); - attributes.put("utilizzata", getUtilizzata()); - attributes.put("emailPending", getEmailPending()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long pagamentoId = (Long)attributes.get("pagamentoId"); - - if (pagamentoId != null) { - setPagamentoId(pagamentoId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - String codice = (String)attributes.get("codice"); - - if (codice != null) { - setCodice(codice); - } - - String causale = (String)attributes.get("causale"); - - if (causale != null) { - setCausale(causale); - } - - String mezzo = (String)attributes.get("mezzo"); - - if (mezzo != null) { - setMezzo(mezzo); - } - - String codiceFiscaleCommittente = (String)attributes.get( - "codiceFiscaleCommittente"); - - if (codiceFiscaleCommittente != null) { - setCodiceFiscaleCommittente(codiceFiscaleCommittente); - } - - String importoBolli = (String)attributes.get("importoBolli"); - - if (importoBolli != null) { - setImportoBolli(importoBolli); - } - - String importoSpeseIstruttoria = (String)attributes.get( - "importoSpeseIstruttoria"); - - if (importoSpeseIstruttoria != null) { - setImportoSpeseIstruttoria(importoSpeseIstruttoria); - } - - String utilizzata = (String)attributes.get("utilizzata"); - - if (utilizzata != null) { - setUtilizzata(utilizzata); - } - - Boolean emailPending = (Boolean)attributes.get("emailPending"); - - if (emailPending != null) { - setEmailPending(emailPending); - } - } - - /** - * Returns the primary key of this fe pagamento. - * - * @return the primary key of this fe pagamento - */ - @Override - public long getPrimaryKey() { - return _fePagamento.getPrimaryKey(); - } - - /** - * Sets the primary key of this fe pagamento. - * - * @param primaryKey the primary key of this fe pagamento - */ - @Override - public void setPrimaryKey(long primaryKey) { - _fePagamento.setPrimaryKey(primaryKey); - } - - /** - * Returns the uuid of this fe pagamento. - * - * @return the uuid of this fe pagamento - */ - @Override - public java.lang.String getUuid() { - return _fePagamento.getUuid(); - } - - /** - * Sets the uuid of this fe pagamento. - * - * @param uuid the uuid of this fe pagamento - */ - @Override - public void setUuid(java.lang.String uuid) { - _fePagamento.setUuid(uuid); - } - - /** - * Returns the pagamento ID of this fe pagamento. - * - * @return the pagamento ID of this fe pagamento - */ - @Override - public long getPagamentoId() { - return _fePagamento.getPagamentoId(); - } - - /** - * Sets the pagamento ID of this fe pagamento. - * - * @param pagamentoId the pagamento ID of this fe pagamento - */ - @Override - public void setPagamentoId(long pagamentoId) { - _fePagamento.setPagamentoId(pagamentoId); - } - - /** - * Returns the company ID of this fe pagamento. - * - * @return the company ID of this fe pagamento - */ - @Override - public long getCompanyId() { - return _fePagamento.getCompanyId(); - } - - /** - * Sets the company ID of this fe pagamento. - * - * @param companyId the company ID of this fe pagamento - */ - @Override - public void setCompanyId(long companyId) { - _fePagamento.setCompanyId(companyId); - } - - /** - * Returns the user ID of this fe pagamento. - * - * @return the user ID of this fe pagamento - */ - @Override - public long getUserId() { - return _fePagamento.getUserId(); - } - - /** - * Sets the user ID of this fe pagamento. - * - * @param userId the user ID of this fe pagamento - */ - @Override - public void setUserId(long userId) { - _fePagamento.setUserId(userId); - } - - /** - * Returns the user uuid of this fe pagamento. - * - * @return the user uuid of this fe pagamento - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _fePagamento.getUserUuid(); - } - - /** - * Sets the user uuid of this fe pagamento. - * - * @param userUuid the user uuid of this fe pagamento - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _fePagamento.setUserUuid(userUuid); - } - - /** - * Returns the user name of this fe pagamento. - * - * @return the user name of this fe pagamento - */ - @Override - public java.lang.String getUserName() { - return _fePagamento.getUserName(); - } - - /** - * Sets the user name of this fe pagamento. - * - * @param userName the user name of this fe pagamento - */ - @Override - public void setUserName(java.lang.String userName) { - _fePagamento.setUserName(userName); - } - - /** - * Returns the create date of this fe pagamento. - * - * @return the create date of this fe pagamento - */ - @Override - public java.util.Date getCreateDate() { - return _fePagamento.getCreateDate(); - } - - /** - * Sets the create date of this fe pagamento. - * - * @param createDate the create date of this fe pagamento - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _fePagamento.setCreateDate(createDate); - } - - /** - * Returns the modified date of this fe pagamento. - * - * @return the modified date of this fe pagamento - */ - @Override - public java.util.Date getModifiedDate() { - return _fePagamento.getModifiedDate(); - } - - /** - * Sets the modified date of this fe pagamento. - * - * @param modifiedDate the modified date of this fe pagamento - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _fePagamento.setModifiedDate(modifiedDate); - } - - /** - * Returns the group ID of this fe pagamento. - * - * @return the group ID of this fe pagamento - */ - @Override - public long getGroupId() { - return _fePagamento.getGroupId(); - } - - /** - * Sets the group ID of this fe pagamento. - * - * @param groupId the group ID of this fe pagamento - */ - @Override - public void setGroupId(long groupId) { - _fePagamento.setGroupId(groupId); - } - - /** - * Returns the dett pratica ID of this fe pagamento. - * - * @return the dett pratica ID of this fe pagamento - */ - @Override - public long getDettPraticaId() { - return _fePagamento.getDettPraticaId(); - } - - /** - * Sets the dett pratica ID of this fe pagamento. - * - * @param dettPraticaId the dett pratica ID of this fe pagamento - */ - @Override - public void setDettPraticaId(long dettPraticaId) { - _fePagamento.setDettPraticaId(dettPraticaId); - } - - /** - * Returns the codice of this fe pagamento. - * - * @return the codice of this fe pagamento - */ - @Override - public java.lang.String getCodice() { - return _fePagamento.getCodice(); - } - - /** - * Sets the codice of this fe pagamento. - * - * @param codice the codice of this fe pagamento - */ - @Override - public void setCodice(java.lang.String codice) { - _fePagamento.setCodice(codice); - } - - /** - * Returns the causale of this fe pagamento. - * - * @return the causale of this fe pagamento - */ - @Override - public java.lang.String getCausale() { - return _fePagamento.getCausale(); - } - - /** - * Sets the causale of this fe pagamento. - * - * @param causale the causale of this fe pagamento - */ - @Override - public void setCausale(java.lang.String causale) { - _fePagamento.setCausale(causale); - } - - /** - * Returns the mezzo of this fe pagamento. - * - * @return the mezzo of this fe pagamento - */ - @Override - public java.lang.String getMezzo() { - return _fePagamento.getMezzo(); - } - - /** - * Sets the mezzo of this fe pagamento. - * - * @param mezzo the mezzo of this fe pagamento - */ - @Override - public void setMezzo(java.lang.String mezzo) { - _fePagamento.setMezzo(mezzo); - } - - /** - * Returns the codice fiscale committente of this fe pagamento. - * - * @return the codice fiscale committente of this fe pagamento - */ - @Override - public java.lang.String getCodiceFiscaleCommittente() { - return _fePagamento.getCodiceFiscaleCommittente(); - } - - /** - * Sets the codice fiscale committente of this fe pagamento. - * - * @param codiceFiscaleCommittente the codice fiscale committente of this fe pagamento - */ - @Override - public void setCodiceFiscaleCommittente( - java.lang.String codiceFiscaleCommittente) { - _fePagamento.setCodiceFiscaleCommittente(codiceFiscaleCommittente); - } - - /** - * Returns the importo bolli of this fe pagamento. - * - * @return the importo bolli of this fe pagamento - */ - @Override - public java.lang.String getImportoBolli() { - return _fePagamento.getImportoBolli(); - } - - /** - * Sets the importo bolli of this fe pagamento. - * - * @param importoBolli the importo bolli of this fe pagamento - */ - @Override - public void setImportoBolli(java.lang.String importoBolli) { - _fePagamento.setImportoBolli(importoBolli); - } - - /** - * Returns the importo spese istruttoria of this fe pagamento. - * - * @return the importo spese istruttoria of this fe pagamento - */ - @Override - public java.lang.String getImportoSpeseIstruttoria() { - return _fePagamento.getImportoSpeseIstruttoria(); - } - - /** - * Sets the importo spese istruttoria of this fe pagamento. - * - * @param importoSpeseIstruttoria the importo spese istruttoria of this fe pagamento - */ - @Override - public void setImportoSpeseIstruttoria( - java.lang.String importoSpeseIstruttoria) { - _fePagamento.setImportoSpeseIstruttoria(importoSpeseIstruttoria); - } - - /** - * Returns the utilizzata of this fe pagamento. - * - * @return the utilizzata of this fe pagamento - */ - @Override - public java.lang.String getUtilizzata() { - return _fePagamento.getUtilizzata(); - } - - /** - * Sets the utilizzata of this fe pagamento. - * - * @param utilizzata the utilizzata of this fe pagamento - */ - @Override - public void setUtilizzata(java.lang.String utilizzata) { - _fePagamento.setUtilizzata(utilizzata); - } - - /** - * Returns the email pending of this fe pagamento. - * - * @return the email pending of this fe pagamento - */ - @Override - public boolean getEmailPending() { - return _fePagamento.getEmailPending(); - } - - /** - * Returns true if this fe pagamento is email pending. - * - * @return true if this fe pagamento is email pending; false otherwise - */ - @Override - public boolean isEmailPending() { - return _fePagamento.isEmailPending(); - } - - /** - * Sets whether this fe pagamento is email pending. - * - * @param emailPending the email pending of this fe pagamento - */ - @Override - public void setEmailPending(boolean emailPending) { - _fePagamento.setEmailPending(emailPending); - } - - @Override - public boolean isNew() { - return _fePagamento.isNew(); - } - - @Override - public void setNew(boolean n) { - _fePagamento.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _fePagamento.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _fePagamento.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _fePagamento.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _fePagamento.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _fePagamento.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _fePagamento.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _fePagamento.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _fePagamento.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _fePagamento.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new FePagamentoWrapper((FePagamento)_fePagamento.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.FePagamento fePagamento) { - return _fePagamento.compareTo(fePagamento); - } - - @Override - public int hashCode() { - return _fePagamento.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _fePagamento.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.importazione.model.FePagamento toEscapedModel() { - return new FePagamentoWrapper(_fePagamento.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.importazione.model.FePagamento toUnescapedModel() { - return new FePagamentoWrapper(_fePagamento.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _fePagamento.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _fePagamento.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _fePagamento.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof FePagamentoWrapper)) { - return false; - } - - FePagamentoWrapper fePagamentoWrapper = (FePagamentoWrapper)obj; - - if (Validator.equals(_fePagamento, fePagamentoWrapper._fePagamento)) { - return true; - } - - return false; - } - - @Override - public StagedModelType getStagedModelType() { - return _fePagamento.getStagedModelType(); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public FePagamento getWrappedFePagamento() { - return _fePagamento; - } - - @Override - public FePagamento getWrappedModel() { - return _fePagamento; - } - - @Override - public void resetOriginalValues() { - _fePagamento.resetOriginalValues(); - } - - private FePagamento _fePagamento; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeProvincia.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeProvincia.java deleted file mode 100644 index 433a75b1..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeProvincia.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the FeProvincia service. Represents a row in the "gcfe_provincia" database table, with each column mapped to a property of this class. - * - * @author 3FC - * @see FeProvinciaModel - * @see it.tref.liferay.portos.importazione.model.impl.FeProvinciaImpl - * @see it.tref.liferay.portos.importazione.model.impl.FeProvinciaModelImpl - * @generated - */ -public interface FeProvincia extends FeProvinciaModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.importazione.model.impl.FeProvinciaImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeProvinciaClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeProvinciaClp.java deleted file mode 100644 index 805acbb5..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeProvinciaClp.java +++ /dev/null @@ -1,341 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; - -import it.tref.liferay.portos.importazione.service.ClpSerializer; -import it.tref.liferay.portos.importazione.service.FeProvinciaLocalServiceUtil; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.HashMap; -import java.util.Map; - -/** - * @author 3FC - */ -public class FeProvinciaClp extends BaseModelImpl - implements FeProvincia { - public FeProvinciaClp() { - } - - @Override - public Class getModelClass() { - return FeProvincia.class; - } - - @Override - public String getModelClassName() { - return FeProvincia.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _provinciaId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setProvinciaId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _provinciaId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("provinciaId", getProvinciaId()); - attributes.put("codProvincia", getCodProvincia()); - attributes.put("descLong", getDescLong()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long provinciaId = (Long)attributes.get("provinciaId"); - - if (provinciaId != null) { - setProvinciaId(provinciaId); - } - - String codProvincia = (String)attributes.get("codProvincia"); - - if (codProvincia != null) { - setCodProvincia(codProvincia); - } - - String descLong = (String)attributes.get("descLong"); - - if (descLong != null) { - setDescLong(descLong); - } - } - - @Override - public long getProvinciaId() { - return _provinciaId; - } - - @Override - public void setProvinciaId(long provinciaId) { - _provinciaId = provinciaId; - - if (_feProvinciaRemoteModel != null) { - try { - Class clazz = _feProvinciaRemoteModel.getClass(); - - Method method = clazz.getMethod("setProvinciaId", long.class); - - method.invoke(_feProvinciaRemoteModel, provinciaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodProvincia() { - return _codProvincia; - } - - @Override - public void setCodProvincia(String codProvincia) { - _codProvincia = codProvincia; - - if (_feProvinciaRemoteModel != null) { - try { - Class clazz = _feProvinciaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodProvincia", String.class); - - method.invoke(_feProvinciaRemoteModel, codProvincia); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getDescLong() { - return _descLong; - } - - @Override - public void setDescLong(String descLong) { - _descLong = descLong; - - if (_feProvinciaRemoteModel != null) { - try { - Class clazz = _feProvinciaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDescLong", String.class); - - method.invoke(_feProvinciaRemoteModel, descLong); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - public BaseModel getFeProvinciaRemoteModel() { - return _feProvinciaRemoteModel; - } - - public void setFeProvinciaRemoteModel(BaseModel feProvinciaRemoteModel) { - _feProvinciaRemoteModel = feProvinciaRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _feProvinciaRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_feProvinciaRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - FeProvinciaLocalServiceUtil.addFeProvincia(this); - } - else { - FeProvinciaLocalServiceUtil.updateFeProvincia(this); - } - } - - @Override - public FeProvincia toEscapedModel() { - return (FeProvincia)ProxyUtil.newProxyInstance(FeProvincia.class.getClassLoader(), - new Class[] { FeProvincia.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - FeProvinciaClp clone = new FeProvinciaClp(); - - clone.setProvinciaId(getProvinciaId()); - clone.setCodProvincia(getCodProvincia()); - clone.setDescLong(getDescLong()); - - return clone; - } - - @Override - public int compareTo(FeProvincia feProvincia) { - long primaryKey = feProvincia.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof FeProvinciaClp)) { - return false; - } - - FeProvinciaClp feProvincia = (FeProvinciaClp)obj; - - long primaryKey = feProvincia.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(7); - - sb.append("{provinciaId="); - sb.append(getProvinciaId()); - sb.append(", codProvincia="); - sb.append(getCodProvincia()); - sb.append(", descLong="); - sb.append(getDescLong()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(13); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.FeProvincia"); - sb.append(""); - - sb.append( - "provinciaId"); - sb.append( - "codProvincia"); - sb.append( - "descLong"); - - sb.append(""); - - return sb.toString(); - } - - private long _provinciaId; - private String _codProvincia; - private String _descLong; - private BaseModel _feProvinciaRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.importazione.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeProvinciaModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeProvinciaModel.java deleted file mode 100644 index a39f5a90..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeProvinciaModel.java +++ /dev/null @@ -1,161 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -/** - * The base model interface for the FeProvincia service. Represents a row in the "gcfe_provincia" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.importazione.model.impl.FeProvinciaModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.importazione.model.impl.FeProvinciaImpl}. - *

- * - * @author 3FC - * @see FeProvincia - * @see it.tref.liferay.portos.importazione.model.impl.FeProvinciaImpl - * @see it.tref.liferay.portos.importazione.model.impl.FeProvinciaModelImpl - * @generated - */ -public interface FeProvinciaModel extends BaseModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a fe provincia model instance should use the {@link FeProvincia} interface instead. - */ - - /** - * Returns the primary key of this fe provincia. - * - * @return the primary key of this fe provincia - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this fe provincia. - * - * @param primaryKey the primary key of this fe provincia - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the provincia ID of this fe provincia. - * - * @return the provincia ID of this fe provincia - */ - public long getProvinciaId(); - - /** - * Sets the provincia ID of this fe provincia. - * - * @param provinciaId the provincia ID of this fe provincia - */ - public void setProvinciaId(long provinciaId); - - /** - * Returns the cod provincia of this fe provincia. - * - * @return the cod provincia of this fe provincia - */ - @AutoEscape - public String getCodProvincia(); - - /** - * Sets the cod provincia of this fe provincia. - * - * @param codProvincia the cod provincia of this fe provincia - */ - public void setCodProvincia(String codProvincia); - - /** - * Returns the desc long of this fe provincia. - * - * @return the desc long of this fe provincia - */ - @AutoEscape - public String getDescLong(); - - /** - * Sets the desc long of this fe provincia. - * - * @param descLong the desc long of this fe provincia - */ - public void setDescLong(String descLong); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.FeProvincia feProvincia); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.importazione.model.FeProvincia toEscapedModel(); - - @Override - public it.tref.liferay.portos.importazione.model.FeProvincia toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeProvinciaSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeProvinciaSoap.java deleted file mode 100644 index ff43f326..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeProvinciaSoap.java +++ /dev/null @@ -1,114 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author 3FC - * @generated - */ -public class FeProvinciaSoap implements Serializable { - public static FeProvinciaSoap toSoapModel(FeProvincia model) { - FeProvinciaSoap soapModel = new FeProvinciaSoap(); - - soapModel.setProvinciaId(model.getProvinciaId()); - soapModel.setCodProvincia(model.getCodProvincia()); - soapModel.setDescLong(model.getDescLong()); - - return soapModel; - } - - public static FeProvinciaSoap[] toSoapModels(FeProvincia[] models) { - FeProvinciaSoap[] soapModels = new FeProvinciaSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static FeProvinciaSoap[][] toSoapModels(FeProvincia[][] models) { - FeProvinciaSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new FeProvinciaSoap[models.length][models[0].length]; - } - else { - soapModels = new FeProvinciaSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static FeProvinciaSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (FeProvincia model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new FeProvinciaSoap[soapModels.size()]); - } - - public FeProvinciaSoap() { - } - - public long getPrimaryKey() { - return _provinciaId; - } - - public void setPrimaryKey(long pk) { - setProvinciaId(pk); - } - - public long getProvinciaId() { - return _provinciaId; - } - - public void setProvinciaId(long provinciaId) { - _provinciaId = provinciaId; - } - - public String getCodProvincia() { - return _codProvincia; - } - - public void setCodProvincia(String codProvincia) { - _codProvincia = codProvincia; - } - - public String getDescLong() { - return _descLong; - } - - public void setDescLong(String descLong) { - _descLong = descLong; - } - - private long _provinciaId; - private String _codProvincia; - private String _descLong; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeProvinciaWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeProvinciaWrapper.java deleted file mode 100644 index 4947be08..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeProvinciaWrapper.java +++ /dev/null @@ -1,302 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link FeProvincia}. - *

- * - * @author 3FC - * @see FeProvincia - * @generated - */ -public class FeProvinciaWrapper implements FeProvincia, - ModelWrapper { - public FeProvinciaWrapper(FeProvincia feProvincia) { - _feProvincia = feProvincia; - } - - @Override - public Class getModelClass() { - return FeProvincia.class; - } - - @Override - public String getModelClassName() { - return FeProvincia.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("provinciaId", getProvinciaId()); - attributes.put("codProvincia", getCodProvincia()); - attributes.put("descLong", getDescLong()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long provinciaId = (Long)attributes.get("provinciaId"); - - if (provinciaId != null) { - setProvinciaId(provinciaId); - } - - String codProvincia = (String)attributes.get("codProvincia"); - - if (codProvincia != null) { - setCodProvincia(codProvincia); - } - - String descLong = (String)attributes.get("descLong"); - - if (descLong != null) { - setDescLong(descLong); - } - } - - /** - * Returns the primary key of this fe provincia. - * - * @return the primary key of this fe provincia - */ - @Override - public long getPrimaryKey() { - return _feProvincia.getPrimaryKey(); - } - - /** - * Sets the primary key of this fe provincia. - * - * @param primaryKey the primary key of this fe provincia - */ - @Override - public void setPrimaryKey(long primaryKey) { - _feProvincia.setPrimaryKey(primaryKey); - } - - /** - * Returns the provincia ID of this fe provincia. - * - * @return the provincia ID of this fe provincia - */ - @Override - public long getProvinciaId() { - return _feProvincia.getProvinciaId(); - } - - /** - * Sets the provincia ID of this fe provincia. - * - * @param provinciaId the provincia ID of this fe provincia - */ - @Override - public void setProvinciaId(long provinciaId) { - _feProvincia.setProvinciaId(provinciaId); - } - - /** - * Returns the cod provincia of this fe provincia. - * - * @return the cod provincia of this fe provincia - */ - @Override - public java.lang.String getCodProvincia() { - return _feProvincia.getCodProvincia(); - } - - /** - * Sets the cod provincia of this fe provincia. - * - * @param codProvincia the cod provincia of this fe provincia - */ - @Override - public void setCodProvincia(java.lang.String codProvincia) { - _feProvincia.setCodProvincia(codProvincia); - } - - /** - * Returns the desc long of this fe provincia. - * - * @return the desc long of this fe provincia - */ - @Override - public java.lang.String getDescLong() { - return _feProvincia.getDescLong(); - } - - /** - * Sets the desc long of this fe provincia. - * - * @param descLong the desc long of this fe provincia - */ - @Override - public void setDescLong(java.lang.String descLong) { - _feProvincia.setDescLong(descLong); - } - - @Override - public boolean isNew() { - return _feProvincia.isNew(); - } - - @Override - public void setNew(boolean n) { - _feProvincia.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _feProvincia.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _feProvincia.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _feProvincia.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _feProvincia.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _feProvincia.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _feProvincia.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _feProvincia.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _feProvincia.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _feProvincia.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new FeProvinciaWrapper((FeProvincia)_feProvincia.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.FeProvincia feProvincia) { - return _feProvincia.compareTo(feProvincia); - } - - @Override - public int hashCode() { - return _feProvincia.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _feProvincia.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeProvincia toEscapedModel() { - return new FeProvinciaWrapper(_feProvincia.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeProvincia toUnescapedModel() { - return new FeProvinciaWrapper(_feProvincia.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _feProvincia.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _feProvincia.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _feProvincia.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof FeProvinciaWrapper)) { - return false; - } - - FeProvinciaWrapper feProvinciaWrapper = (FeProvinciaWrapper)obj; - - if (Validator.equals(_feProvincia, feProvinciaWrapper._feProvincia)) { - return true; - } - - return false; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public FeProvincia getWrappedFeProvincia() { - return _feProvincia; - } - - @Override - public FeProvincia getWrappedModel() { - return _feProvincia; - } - - @Override - public void resetOriginalValues() { - _feProvincia.resetOriginalValues(); - } - - private FeProvincia _feProvincia; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeTerritorio.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeTerritorio.java deleted file mode 100644 index 11d1d880..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeTerritorio.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the FeTerritorio service. Represents a row in the "gcfe_territorio" database table, with each column mapped to a property of this class. - * - * @author 3FC - * @see FeTerritorioModel - * @see it.tref.liferay.portos.importazione.model.impl.FeTerritorioImpl - * @see it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl - * @generated - */ -public interface FeTerritorio extends FeTerritorioModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeTerritorioClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeTerritorioClp.java deleted file mode 100644 index adb00526..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeTerritorioClp.java +++ /dev/null @@ -1,570 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; - -import it.tref.liferay.portos.importazione.service.ClpSerializer; -import it.tref.liferay.portos.importazione.service.FeTerritorioLocalServiceUtil; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author 3FC - */ -public class FeTerritorioClp extends BaseModelImpl - implements FeTerritorio { - public FeTerritorioClp() { - } - - @Override - public Class getModelClass() { - return FeTerritorio.class; - } - - @Override - public String getModelClassName() { - return FeTerritorio.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _territorioId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setTerritorioId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _territorioId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("territorioId", getTerritorioId()); - attributes.put("groupId", getGroupId()); - attributes.put("zonaId", getZonaId()); - attributes.put("fasciaId", getFasciaId()); - attributes.put("comuneId", getComuneId()); - attributes.put("dtIni", getDtIni()); - attributes.put("dtFin", getDtFin()); - attributes.put("agMin", getAgMin()); - attributes.put("agMax", getAgMax()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long territorioId = (Long)attributes.get("territorioId"); - - if (territorioId != null) { - setTerritorioId(territorioId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long zonaId = (Long)attributes.get("zonaId"); - - if (zonaId != null) { - setZonaId(zonaId); - } - - Long fasciaId = (Long)attributes.get("fasciaId"); - - if (fasciaId != null) { - setFasciaId(fasciaId); - } - - Long comuneId = (Long)attributes.get("comuneId"); - - if (comuneId != null) { - setComuneId(comuneId); - } - - Date dtIni = (Date)attributes.get("dtIni"); - - if (dtIni != null) { - setDtIni(dtIni); - } - - Date dtFin = (Date)attributes.get("dtFin"); - - if (dtFin != null) { - setDtFin(dtFin); - } - - String agMin = (String)attributes.get("agMin"); - - if (agMin != null) { - setAgMin(agMin); - } - - String agMax = (String)attributes.get("agMax"); - - if (agMax != null) { - setAgMax(agMax); - } - } - - @Override - public long getTerritorioId() { - return _territorioId; - } - - @Override - public void setTerritorioId(long territorioId) { - _territorioId = territorioId; - - if (_feTerritorioRemoteModel != null) { - try { - Class clazz = _feTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setTerritorioId", long.class); - - method.invoke(_feTerritorioRemoteModel, territorioId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_feTerritorioRemoteModel != null) { - try { - Class clazz = _feTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_feTerritorioRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getZonaId() { - return _zonaId; - } - - @Override - public void setZonaId(long zonaId) { - _zonaId = zonaId; - - if (_feTerritorioRemoteModel != null) { - try { - Class clazz = _feTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setZonaId", long.class); - - method.invoke(_feTerritorioRemoteModel, zonaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getFasciaId() { - return _fasciaId; - } - - @Override - public void setFasciaId(long fasciaId) { - _fasciaId = fasciaId; - - if (_feTerritorioRemoteModel != null) { - try { - Class clazz = _feTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setFasciaId", long.class); - - method.invoke(_feTerritorioRemoteModel, fasciaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getComuneId() { - return _comuneId; - } - - @Override - public void setComuneId(long comuneId) { - _comuneId = comuneId; - - if (_feTerritorioRemoteModel != null) { - try { - Class clazz = _feTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setComuneId", long.class); - - method.invoke(_feTerritorioRemoteModel, comuneId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDtIni() { - return _dtIni; - } - - @Override - public void setDtIni(Date dtIni) { - _dtIni = dtIni; - - if (_feTerritorioRemoteModel != null) { - try { - Class clazz = _feTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setDtIni", Date.class); - - method.invoke(_feTerritorioRemoteModel, dtIni); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDtFin() { - return _dtFin; - } - - @Override - public void setDtFin(Date dtFin) { - _dtFin = dtFin; - - if (_feTerritorioRemoteModel != null) { - try { - Class clazz = _feTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setDtFin", Date.class); - - method.invoke(_feTerritorioRemoteModel, dtFin); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getAgMin() { - return _agMin; - } - - @Override - public void setAgMin(String agMin) { - _agMin = agMin; - - if (_feTerritorioRemoteModel != null) { - try { - Class clazz = _feTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setAgMin", String.class); - - method.invoke(_feTerritorioRemoteModel, agMin); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getAgMax() { - return _agMax; - } - - @Override - public void setAgMax(String agMax) { - _agMax = agMax; - - if (_feTerritorioRemoteModel != null) { - try { - Class clazz = _feTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setAgMax", String.class); - - method.invoke(_feTerritorioRemoteModel, agMax); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - public BaseModel getFeTerritorioRemoteModel() { - return _feTerritorioRemoteModel; - } - - public void setFeTerritorioRemoteModel(BaseModel feTerritorioRemoteModel) { - _feTerritorioRemoteModel = feTerritorioRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _feTerritorioRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_feTerritorioRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - FeTerritorioLocalServiceUtil.addFeTerritorio(this); - } - else { - FeTerritorioLocalServiceUtil.updateFeTerritorio(this); - } - } - - @Override - public FeTerritorio toEscapedModel() { - return (FeTerritorio)ProxyUtil.newProxyInstance(FeTerritorio.class.getClassLoader(), - new Class[] { FeTerritorio.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - FeTerritorioClp clone = new FeTerritorioClp(); - - clone.setTerritorioId(getTerritorioId()); - clone.setGroupId(getGroupId()); - clone.setZonaId(getZonaId()); - clone.setFasciaId(getFasciaId()); - clone.setComuneId(getComuneId()); - clone.setDtIni(getDtIni()); - clone.setDtFin(getDtFin()); - clone.setAgMin(getAgMin()); - clone.setAgMax(getAgMax()); - - return clone; - } - - @Override - public int compareTo(FeTerritorio feTerritorio) { - long primaryKey = feTerritorio.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof FeTerritorioClp)) { - return false; - } - - FeTerritorioClp feTerritorio = (FeTerritorioClp)obj; - - long primaryKey = feTerritorio.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(19); - - sb.append("{territorioId="); - sb.append(getTerritorioId()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", zonaId="); - sb.append(getZonaId()); - sb.append(", fasciaId="); - sb.append(getFasciaId()); - sb.append(", comuneId="); - sb.append(getComuneId()); - sb.append(", dtIni="); - sb.append(getDtIni()); - sb.append(", dtFin="); - sb.append(getDtFin()); - sb.append(", agMin="); - sb.append(getAgMin()); - sb.append(", agMax="); - sb.append(getAgMax()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(31); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.FeTerritorio"); - sb.append(""); - - sb.append( - "territorioId"); - sb.append( - "groupId"); - sb.append( - "zonaId"); - sb.append( - "fasciaId"); - sb.append( - "comuneId"); - sb.append( - "dtIni"); - sb.append( - "dtFin"); - sb.append( - "agMin"); - sb.append( - "agMax"); - - sb.append(""); - - return sb.toString(); - } - - private long _territorioId; - private long _groupId; - private long _zonaId; - private long _fasciaId; - private long _comuneId; - private Date _dtIni; - private Date _dtFin; - private String _agMin; - private String _agMax; - private BaseModel _feTerritorioRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.importazione.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeTerritorioModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeTerritorioModel.java deleted file mode 100644 index 3f2285b6..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeTerritorioModel.java +++ /dev/null @@ -1,247 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the FeTerritorio service. Represents a row in the "gcfe_territorio" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioImpl}. - *

- * - * @author 3FC - * @see FeTerritorio - * @see it.tref.liferay.portos.importazione.model.impl.FeTerritorioImpl - * @see it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl - * @generated - */ -public interface FeTerritorioModel extends BaseModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a fe territorio model instance should use the {@link FeTerritorio} interface instead. - */ - - /** - * Returns the primary key of this fe territorio. - * - * @return the primary key of this fe territorio - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this fe territorio. - * - * @param primaryKey the primary key of this fe territorio - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the territorio ID of this fe territorio. - * - * @return the territorio ID of this fe territorio - */ - public long getTerritorioId(); - - /** - * Sets the territorio ID of this fe territorio. - * - * @param territorioId the territorio ID of this fe territorio - */ - public void setTerritorioId(long territorioId); - - /** - * Returns the group ID of this fe territorio. - * - * @return the group ID of this fe territorio - */ - public long getGroupId(); - - /** - * Sets the group ID of this fe territorio. - * - * @param groupId the group ID of this fe territorio - */ - public void setGroupId(long groupId); - - /** - * Returns the zona ID of this fe territorio. - * - * @return the zona ID of this fe territorio - */ - public long getZonaId(); - - /** - * Sets the zona ID of this fe territorio. - * - * @param zonaId the zona ID of this fe territorio - */ - public void setZonaId(long zonaId); - - /** - * Returns the fascia ID of this fe territorio. - * - * @return the fascia ID of this fe territorio - */ - public long getFasciaId(); - - /** - * Sets the fascia ID of this fe territorio. - * - * @param fasciaId the fascia ID of this fe territorio - */ - public void setFasciaId(long fasciaId); - - /** - * Returns the comune ID of this fe territorio. - * - * @return the comune ID of this fe territorio - */ - public long getComuneId(); - - /** - * Sets the comune ID of this fe territorio. - * - * @param comuneId the comune ID of this fe territorio - */ - public void setComuneId(long comuneId); - - /** - * Returns the dt ini of this fe territorio. - * - * @return the dt ini of this fe territorio - */ - public Date getDtIni(); - - /** - * Sets the dt ini of this fe territorio. - * - * @param dtIni the dt ini of this fe territorio - */ - public void setDtIni(Date dtIni); - - /** - * Returns the dt fin of this fe territorio. - * - * @return the dt fin of this fe territorio - */ - public Date getDtFin(); - - /** - * Sets the dt fin of this fe territorio. - * - * @param dtFin the dt fin of this fe territorio - */ - public void setDtFin(Date dtFin); - - /** - * Returns the ag min of this fe territorio. - * - * @return the ag min of this fe territorio - */ - @AutoEscape - public String getAgMin(); - - /** - * Sets the ag min of this fe territorio. - * - * @param agMin the ag min of this fe territorio - */ - public void setAgMin(String agMin); - - /** - * Returns the ag max of this fe territorio. - * - * @return the ag max of this fe territorio - */ - @AutoEscape - public String getAgMax(); - - /** - * Sets the ag max of this fe territorio. - * - * @param agMax the ag max of this fe territorio - */ - public void setAgMax(String agMax); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.FeTerritorio feTerritorio); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.importazione.model.FeTerritorio toEscapedModel(); - - @Override - public it.tref.liferay.portos.importazione.model.FeTerritorio toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeTerritorioSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeTerritorioSoap.java deleted file mode 100644 index 341ee7da..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeTerritorioSoap.java +++ /dev/null @@ -1,175 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author 3FC - * @generated - */ -public class FeTerritorioSoap implements Serializable { - public static FeTerritorioSoap toSoapModel(FeTerritorio model) { - FeTerritorioSoap soapModel = new FeTerritorioSoap(); - - soapModel.setTerritorioId(model.getTerritorioId()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setZonaId(model.getZonaId()); - soapModel.setFasciaId(model.getFasciaId()); - soapModel.setComuneId(model.getComuneId()); - soapModel.setDtIni(model.getDtIni()); - soapModel.setDtFin(model.getDtFin()); - soapModel.setAgMin(model.getAgMin()); - soapModel.setAgMax(model.getAgMax()); - - return soapModel; - } - - public static FeTerritorioSoap[] toSoapModels(FeTerritorio[] models) { - FeTerritorioSoap[] soapModels = new FeTerritorioSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static FeTerritorioSoap[][] toSoapModels(FeTerritorio[][] models) { - FeTerritorioSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new FeTerritorioSoap[models.length][models[0].length]; - } - else { - soapModels = new FeTerritorioSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static FeTerritorioSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (FeTerritorio model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new FeTerritorioSoap[soapModels.size()]); - } - - public FeTerritorioSoap() { - } - - public long getPrimaryKey() { - return _territorioId; - } - - public void setPrimaryKey(long pk) { - setTerritorioId(pk); - } - - public long getTerritorioId() { - return _territorioId; - } - - public void setTerritorioId(long territorioId) { - _territorioId = territorioId; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public long getZonaId() { - return _zonaId; - } - - public void setZonaId(long zonaId) { - _zonaId = zonaId; - } - - public long getFasciaId() { - return _fasciaId; - } - - public void setFasciaId(long fasciaId) { - _fasciaId = fasciaId; - } - - public long getComuneId() { - return _comuneId; - } - - public void setComuneId(long comuneId) { - _comuneId = comuneId; - } - - public Date getDtIni() { - return _dtIni; - } - - public void setDtIni(Date dtIni) { - _dtIni = dtIni; - } - - public Date getDtFin() { - return _dtFin; - } - - public void setDtFin(Date dtFin) { - _dtFin = dtFin; - } - - public String getAgMin() { - return _agMin; - } - - public void setAgMin(String agMin) { - _agMin = agMin; - } - - public String getAgMax() { - return _agMax; - } - - public void setAgMax(String agMax) { - _agMax = agMax; - } - - private long _territorioId; - private long _groupId; - private long _zonaId; - private long _fasciaId; - private long _comuneId; - private Date _dtIni; - private Date _dtFin; - private String _agMin; - private String _agMax; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeTerritorioWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeTerritorioWrapper.java deleted file mode 100644 index 52105846..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/FeTerritorioWrapper.java +++ /dev/null @@ -1,465 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link FeTerritorio}. - *

- * - * @author 3FC - * @see FeTerritorio - * @generated - */ -public class FeTerritorioWrapper implements FeTerritorio, - ModelWrapper { - public FeTerritorioWrapper(FeTerritorio feTerritorio) { - _feTerritorio = feTerritorio; - } - - @Override - public Class getModelClass() { - return FeTerritorio.class; - } - - @Override - public String getModelClassName() { - return FeTerritorio.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("territorioId", getTerritorioId()); - attributes.put("groupId", getGroupId()); - attributes.put("zonaId", getZonaId()); - attributes.put("fasciaId", getFasciaId()); - attributes.put("comuneId", getComuneId()); - attributes.put("dtIni", getDtIni()); - attributes.put("dtFin", getDtFin()); - attributes.put("agMin", getAgMin()); - attributes.put("agMax", getAgMax()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long territorioId = (Long)attributes.get("territorioId"); - - if (territorioId != null) { - setTerritorioId(territorioId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long zonaId = (Long)attributes.get("zonaId"); - - if (zonaId != null) { - setZonaId(zonaId); - } - - Long fasciaId = (Long)attributes.get("fasciaId"); - - if (fasciaId != null) { - setFasciaId(fasciaId); - } - - Long comuneId = (Long)attributes.get("comuneId"); - - if (comuneId != null) { - setComuneId(comuneId); - } - - Date dtIni = (Date)attributes.get("dtIni"); - - if (dtIni != null) { - setDtIni(dtIni); - } - - Date dtFin = (Date)attributes.get("dtFin"); - - if (dtFin != null) { - setDtFin(dtFin); - } - - String agMin = (String)attributes.get("agMin"); - - if (agMin != null) { - setAgMin(agMin); - } - - String agMax = (String)attributes.get("agMax"); - - if (agMax != null) { - setAgMax(agMax); - } - } - - /** - * Returns the primary key of this fe territorio. - * - * @return the primary key of this fe territorio - */ - @Override - public long getPrimaryKey() { - return _feTerritorio.getPrimaryKey(); - } - - /** - * Sets the primary key of this fe territorio. - * - * @param primaryKey the primary key of this fe territorio - */ - @Override - public void setPrimaryKey(long primaryKey) { - _feTerritorio.setPrimaryKey(primaryKey); - } - - /** - * Returns the territorio ID of this fe territorio. - * - * @return the territorio ID of this fe territorio - */ - @Override - public long getTerritorioId() { - return _feTerritorio.getTerritorioId(); - } - - /** - * Sets the territorio ID of this fe territorio. - * - * @param territorioId the territorio ID of this fe territorio - */ - @Override - public void setTerritorioId(long territorioId) { - _feTerritorio.setTerritorioId(territorioId); - } - - /** - * Returns the group ID of this fe territorio. - * - * @return the group ID of this fe territorio - */ - @Override - public long getGroupId() { - return _feTerritorio.getGroupId(); - } - - /** - * Sets the group ID of this fe territorio. - * - * @param groupId the group ID of this fe territorio - */ - @Override - public void setGroupId(long groupId) { - _feTerritorio.setGroupId(groupId); - } - - /** - * Returns the zona ID of this fe territorio. - * - * @return the zona ID of this fe territorio - */ - @Override - public long getZonaId() { - return _feTerritorio.getZonaId(); - } - - /** - * Sets the zona ID of this fe territorio. - * - * @param zonaId the zona ID of this fe territorio - */ - @Override - public void setZonaId(long zonaId) { - _feTerritorio.setZonaId(zonaId); - } - - /** - * Returns the fascia ID of this fe territorio. - * - * @return the fascia ID of this fe territorio - */ - @Override - public long getFasciaId() { - return _feTerritorio.getFasciaId(); - } - - /** - * Sets the fascia ID of this fe territorio. - * - * @param fasciaId the fascia ID of this fe territorio - */ - @Override - public void setFasciaId(long fasciaId) { - _feTerritorio.setFasciaId(fasciaId); - } - - /** - * Returns the comune ID of this fe territorio. - * - * @return the comune ID of this fe territorio - */ - @Override - public long getComuneId() { - return _feTerritorio.getComuneId(); - } - - /** - * Sets the comune ID of this fe territorio. - * - * @param comuneId the comune ID of this fe territorio - */ - @Override - public void setComuneId(long comuneId) { - _feTerritorio.setComuneId(comuneId); - } - - /** - * Returns the dt ini of this fe territorio. - * - * @return the dt ini of this fe territorio - */ - @Override - public java.util.Date getDtIni() { - return _feTerritorio.getDtIni(); - } - - /** - * Sets the dt ini of this fe territorio. - * - * @param dtIni the dt ini of this fe territorio - */ - @Override - public void setDtIni(java.util.Date dtIni) { - _feTerritorio.setDtIni(dtIni); - } - - /** - * Returns the dt fin of this fe territorio. - * - * @return the dt fin of this fe territorio - */ - @Override - public java.util.Date getDtFin() { - return _feTerritorio.getDtFin(); - } - - /** - * Sets the dt fin of this fe territorio. - * - * @param dtFin the dt fin of this fe territorio - */ - @Override - public void setDtFin(java.util.Date dtFin) { - _feTerritorio.setDtFin(dtFin); - } - - /** - * Returns the ag min of this fe territorio. - * - * @return the ag min of this fe territorio - */ - @Override - public java.lang.String getAgMin() { - return _feTerritorio.getAgMin(); - } - - /** - * Sets the ag min of this fe territorio. - * - * @param agMin the ag min of this fe territorio - */ - @Override - public void setAgMin(java.lang.String agMin) { - _feTerritorio.setAgMin(agMin); - } - - /** - * Returns the ag max of this fe territorio. - * - * @return the ag max of this fe territorio - */ - @Override - public java.lang.String getAgMax() { - return _feTerritorio.getAgMax(); - } - - /** - * Sets the ag max of this fe territorio. - * - * @param agMax the ag max of this fe territorio - */ - @Override - public void setAgMax(java.lang.String agMax) { - _feTerritorio.setAgMax(agMax); - } - - @Override - public boolean isNew() { - return _feTerritorio.isNew(); - } - - @Override - public void setNew(boolean n) { - _feTerritorio.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _feTerritorio.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _feTerritorio.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _feTerritorio.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _feTerritorio.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _feTerritorio.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _feTerritorio.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _feTerritorio.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _feTerritorio.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _feTerritorio.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new FeTerritorioWrapper((FeTerritorio)_feTerritorio.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.FeTerritorio feTerritorio) { - return _feTerritorio.compareTo(feTerritorio); - } - - @Override - public int hashCode() { - return _feTerritorio.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _feTerritorio.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeTerritorio toEscapedModel() { - return new FeTerritorioWrapper(_feTerritorio.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeTerritorio toUnescapedModel() { - return new FeTerritorioWrapper(_feTerritorio.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _feTerritorio.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _feTerritorio.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _feTerritorio.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof FeTerritorioWrapper)) { - return false; - } - - FeTerritorioWrapper feTerritorioWrapper = (FeTerritorioWrapper)obj; - - if (Validator.equals(_feTerritorio, feTerritorioWrapper._feTerritorio)) { - return true; - } - - return false; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public FeTerritorio getWrappedFeTerritorio() { - return _feTerritorio; - } - - @Override - public FeTerritorio getWrappedModel() { - return _feTerritorio; - } - - @Override - public void resetOriginalValues() { - _feTerritorio.resetOriginalValues(); - } - - private FeTerritorio _feTerritorio; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoInstance.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoInstance.java deleted file mode 100644 index b0e659cd..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoInstance.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the KaleoInstance service. Represents a row in the "kaleoinstance" database table, with each column mapped to a property of this class. - * - * @author 3FC - * @see KaleoInstanceModel - * @see it.tref.liferay.portos.importazione.model.impl.KaleoInstanceImpl - * @see it.tref.liferay.portos.importazione.model.impl.KaleoInstanceModelImpl - * @generated - */ -public interface KaleoInstance extends KaleoInstanceModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoInstanceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoInstanceClp.java deleted file mode 100644 index 72afd908..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoInstanceClp.java +++ /dev/null @@ -1,869 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.service.ClpSerializer; -import it.tref.liferay.portos.importazione.service.KaleoInstanceLocalServiceUtil; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author 3FC - */ -public class KaleoInstanceClp extends BaseModelImpl - implements KaleoInstance { - public KaleoInstanceClp() { - } - - @Override - public Class getModelClass() { - return KaleoInstance.class; - } - - @Override - public String getModelClassName() { - return KaleoInstance.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _kaleoInstanceId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setKaleoInstanceId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _kaleoInstanceId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("kaleoInstanceId", getKaleoInstanceId()); - attributes.put("groupId", getGroupId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("kaleoDefinitionId", getKaleoDefinitionId()); - attributes.put("kaleoDefinitionName", getKaleoDefinitionName()); - attributes.put("kaleoDefinitionVersion", getKaleoDefinitionVersion()); - attributes.put("rootKaleoInstanceTokenId", getRootKaleoInstanceTokenId()); - attributes.put("className", getClassName()); - attributes.put("classPK", getClassPK()); - attributes.put("completed", getCompleted()); - attributes.put("completionDate", getCompletionDate()); - attributes.put("workflowContext", getWorkflowContext()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long kaleoInstanceId = (Long)attributes.get("kaleoInstanceId"); - - if (kaleoInstanceId != null) { - setKaleoInstanceId(kaleoInstanceId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long kaleoDefinitionId = (Long)attributes.get("kaleoDefinitionId"); - - if (kaleoDefinitionId != null) { - setKaleoDefinitionId(kaleoDefinitionId); - } - - String kaleoDefinitionName = (String)attributes.get( - "kaleoDefinitionName"); - - if (kaleoDefinitionName != null) { - setKaleoDefinitionName(kaleoDefinitionName); - } - - Integer kaleoDefinitionVersion = (Integer)attributes.get( - "kaleoDefinitionVersion"); - - if (kaleoDefinitionVersion != null) { - setKaleoDefinitionVersion(kaleoDefinitionVersion); - } - - Long rootKaleoInstanceTokenId = (Long)attributes.get( - "rootKaleoInstanceTokenId"); - - if (rootKaleoInstanceTokenId != null) { - setRootKaleoInstanceTokenId(rootKaleoInstanceTokenId); - } - - String className = (String)attributes.get("className"); - - if (className != null) { - setClassName(className); - } - - Long classPK = (Long)attributes.get("classPK"); - - if (classPK != null) { - setClassPK(classPK); - } - - Boolean completed = (Boolean)attributes.get("completed"); - - if (completed != null) { - setCompleted(completed); - } - - Date completionDate = (Date)attributes.get("completionDate"); - - if (completionDate != null) { - setCompletionDate(completionDate); - } - - String workflowContext = (String)attributes.get("workflowContext"); - - if (workflowContext != null) { - setWorkflowContext(workflowContext); - } - } - - @Override - public long getKaleoInstanceId() { - return _kaleoInstanceId; - } - - @Override - public void setKaleoInstanceId(long kaleoInstanceId) { - _kaleoInstanceId = kaleoInstanceId; - - if (_kaleoInstanceRemoteModel != null) { - try { - Class clazz = _kaleoInstanceRemoteModel.getClass(); - - Method method = clazz.getMethod("setKaleoInstanceId", long.class); - - method.invoke(_kaleoInstanceRemoteModel, kaleoInstanceId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_kaleoInstanceRemoteModel != null) { - try { - Class clazz = _kaleoInstanceRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_kaleoInstanceRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_kaleoInstanceRemoteModel != null) { - try { - Class clazz = _kaleoInstanceRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_kaleoInstanceRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_kaleoInstanceRemoteModel != null) { - try { - Class clazz = _kaleoInstanceRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_kaleoInstanceRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_kaleoInstanceRemoteModel != null) { - try { - Class clazz = _kaleoInstanceRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_kaleoInstanceRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_kaleoInstanceRemoteModel != null) { - try { - Class clazz = _kaleoInstanceRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_kaleoInstanceRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_kaleoInstanceRemoteModel != null) { - try { - Class clazz = _kaleoInstanceRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_kaleoInstanceRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getKaleoDefinitionId() { - return _kaleoDefinitionId; - } - - @Override - public void setKaleoDefinitionId(long kaleoDefinitionId) { - _kaleoDefinitionId = kaleoDefinitionId; - - if (_kaleoInstanceRemoteModel != null) { - try { - Class clazz = _kaleoInstanceRemoteModel.getClass(); - - Method method = clazz.getMethod("setKaleoDefinitionId", - long.class); - - method.invoke(_kaleoInstanceRemoteModel, kaleoDefinitionId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getKaleoDefinitionName() { - return _kaleoDefinitionName; - } - - @Override - public void setKaleoDefinitionName(String kaleoDefinitionName) { - _kaleoDefinitionName = kaleoDefinitionName; - - if (_kaleoInstanceRemoteModel != null) { - try { - Class clazz = _kaleoInstanceRemoteModel.getClass(); - - Method method = clazz.getMethod("setKaleoDefinitionName", - String.class); - - method.invoke(_kaleoInstanceRemoteModel, kaleoDefinitionName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public int getKaleoDefinitionVersion() { - return _kaleoDefinitionVersion; - } - - @Override - public void setKaleoDefinitionVersion(int kaleoDefinitionVersion) { - _kaleoDefinitionVersion = kaleoDefinitionVersion; - - if (_kaleoInstanceRemoteModel != null) { - try { - Class clazz = _kaleoInstanceRemoteModel.getClass(); - - Method method = clazz.getMethod("setKaleoDefinitionVersion", - int.class); - - method.invoke(_kaleoInstanceRemoteModel, kaleoDefinitionVersion); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getRootKaleoInstanceTokenId() { - return _rootKaleoInstanceTokenId; - } - - @Override - public void setRootKaleoInstanceTokenId(long rootKaleoInstanceTokenId) { - _rootKaleoInstanceTokenId = rootKaleoInstanceTokenId; - - if (_kaleoInstanceRemoteModel != null) { - try { - Class clazz = _kaleoInstanceRemoteModel.getClass(); - - Method method = clazz.getMethod("setRootKaleoInstanceTokenId", - long.class); - - method.invoke(_kaleoInstanceRemoteModel, - rootKaleoInstanceTokenId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getClassName() { - return _className; - } - - @Override - public void setClassName(String className) { - _className = className; - - if (_kaleoInstanceRemoteModel != null) { - try { - Class clazz = _kaleoInstanceRemoteModel.getClass(); - - Method method = clazz.getMethod("setClassName", String.class); - - method.invoke(_kaleoInstanceRemoteModel, className); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getClassPK() { - return _classPK; - } - - @Override - public void setClassPK(long classPK) { - _classPK = classPK; - - if (_kaleoInstanceRemoteModel != null) { - try { - Class clazz = _kaleoInstanceRemoteModel.getClass(); - - Method method = clazz.getMethod("setClassPK", long.class); - - method.invoke(_kaleoInstanceRemoteModel, classPK); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getCompleted() { - return _completed; - } - - @Override - public boolean isCompleted() { - return _completed; - } - - @Override - public void setCompleted(boolean completed) { - _completed = completed; - - if (_kaleoInstanceRemoteModel != null) { - try { - Class clazz = _kaleoInstanceRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompleted", boolean.class); - - method.invoke(_kaleoInstanceRemoteModel, completed); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCompletionDate() { - return _completionDate; - } - - @Override - public void setCompletionDate(Date completionDate) { - _completionDate = completionDate; - - if (_kaleoInstanceRemoteModel != null) { - try { - Class clazz = _kaleoInstanceRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompletionDate", Date.class); - - method.invoke(_kaleoInstanceRemoteModel, completionDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getWorkflowContext() { - return _workflowContext; - } - - @Override - public void setWorkflowContext(String workflowContext) { - _workflowContext = workflowContext; - - if (_kaleoInstanceRemoteModel != null) { - try { - Class clazz = _kaleoInstanceRemoteModel.getClass(); - - Method method = clazz.getMethod("setWorkflowContext", - String.class); - - method.invoke(_kaleoInstanceRemoteModel, workflowContext); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - public BaseModel getKaleoInstanceRemoteModel() { - return _kaleoInstanceRemoteModel; - } - - public void setKaleoInstanceRemoteModel( - BaseModel kaleoInstanceRemoteModel) { - _kaleoInstanceRemoteModel = kaleoInstanceRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _kaleoInstanceRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_kaleoInstanceRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - KaleoInstanceLocalServiceUtil.addKaleoInstance(this); - } - else { - KaleoInstanceLocalServiceUtil.updateKaleoInstance(this); - } - } - - @Override - public KaleoInstance toEscapedModel() { - return (KaleoInstance)ProxyUtil.newProxyInstance(KaleoInstance.class.getClassLoader(), - new Class[] { KaleoInstance.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - KaleoInstanceClp clone = new KaleoInstanceClp(); - - clone.setKaleoInstanceId(getKaleoInstanceId()); - clone.setGroupId(getGroupId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setKaleoDefinitionId(getKaleoDefinitionId()); - clone.setKaleoDefinitionName(getKaleoDefinitionName()); - clone.setKaleoDefinitionVersion(getKaleoDefinitionVersion()); - clone.setRootKaleoInstanceTokenId(getRootKaleoInstanceTokenId()); - clone.setClassName(getClassName()); - clone.setClassPK(getClassPK()); - clone.setCompleted(getCompleted()); - clone.setCompletionDate(getCompletionDate()); - clone.setWorkflowContext(getWorkflowContext()); - - return clone; - } - - @Override - public int compareTo(KaleoInstance kaleoInstance) { - int value = 0; - - if (getKaleoInstanceId() < kaleoInstance.getKaleoInstanceId()) { - value = -1; - } - else if (getKaleoInstanceId() > kaleoInstance.getKaleoInstanceId()) { - value = 1; - } - else { - value = 0; - } - - if (value != 0) { - return value; - } - - return 0; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof KaleoInstanceClp)) { - return false; - } - - KaleoInstanceClp kaleoInstance = (KaleoInstanceClp)obj; - - long primaryKey = kaleoInstance.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(33); - - sb.append("{kaleoInstanceId="); - sb.append(getKaleoInstanceId()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", kaleoDefinitionId="); - sb.append(getKaleoDefinitionId()); - sb.append(", kaleoDefinitionName="); - sb.append(getKaleoDefinitionName()); - sb.append(", kaleoDefinitionVersion="); - sb.append(getKaleoDefinitionVersion()); - sb.append(", rootKaleoInstanceTokenId="); - sb.append(getRootKaleoInstanceTokenId()); - sb.append(", className="); - sb.append(getClassName()); - sb.append(", classPK="); - sb.append(getClassPK()); - sb.append(", completed="); - sb.append(getCompleted()); - sb.append(", completionDate="); - sb.append(getCompletionDate()); - sb.append(", workflowContext="); - sb.append(getWorkflowContext()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(52); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.KaleoInstance"); - sb.append(""); - - sb.append( - "kaleoInstanceId"); - sb.append( - "groupId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "kaleoDefinitionId"); - sb.append( - "kaleoDefinitionName"); - sb.append( - "kaleoDefinitionVersion"); - sb.append( - "rootKaleoInstanceTokenId"); - sb.append( - "className"); - sb.append( - "classPK"); - sb.append( - "completed"); - sb.append( - "completionDate"); - sb.append( - "workflowContext"); - - sb.append(""); - - return sb.toString(); - } - - private long _kaleoInstanceId; - private long _groupId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _kaleoDefinitionId; - private String _kaleoDefinitionName; - private int _kaleoDefinitionVersion; - private long _rootKaleoInstanceTokenId; - private String _className; - private long _classPK; - private boolean _completed; - private Date _completionDate; - private String _workflowContext; - private BaseModel _kaleoInstanceRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.importazione.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoInstanceModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoInstanceModel.java deleted file mode 100644 index 475e2c13..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoInstanceModel.java +++ /dev/null @@ -1,386 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.GroupedModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the KaleoInstance service. Represents a row in the "kaleoinstance" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceImpl}. - *

- * - * @author 3FC - * @see KaleoInstance - * @see it.tref.liferay.portos.importazione.model.impl.KaleoInstanceImpl - * @see it.tref.liferay.portos.importazione.model.impl.KaleoInstanceModelImpl - * @generated - */ -public interface KaleoInstanceModel extends BaseModel, - GroupedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a kaleo instance model instance should use the {@link KaleoInstance} interface instead. - */ - - /** - * Returns the primary key of this kaleo instance. - * - * @return the primary key of this kaleo instance - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this kaleo instance. - * - * @param primaryKey the primary key of this kaleo instance - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the kaleo instance ID of this kaleo instance. - * - * @return the kaleo instance ID of this kaleo instance - */ - public long getKaleoInstanceId(); - - /** - * Sets the kaleo instance ID of this kaleo instance. - * - * @param kaleoInstanceId the kaleo instance ID of this kaleo instance - */ - public void setKaleoInstanceId(long kaleoInstanceId); - - /** - * Returns the group ID of this kaleo instance. - * - * @return the group ID of this kaleo instance - */ - @Override - public long getGroupId(); - - /** - * Sets the group ID of this kaleo instance. - * - * @param groupId the group ID of this kaleo instance - */ - @Override - public void setGroupId(long groupId); - - /** - * Returns the company ID of this kaleo instance. - * - * @return the company ID of this kaleo instance - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this kaleo instance. - * - * @param companyId the company ID of this kaleo instance - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this kaleo instance. - * - * @return the user ID of this kaleo instance - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this kaleo instance. - * - * @param userId the user ID of this kaleo instance - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this kaleo instance. - * - * @return the user uuid of this kaleo instance - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this kaleo instance. - * - * @param userUuid the user uuid of this kaleo instance - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this kaleo instance. - * - * @return the user name of this kaleo instance - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this kaleo instance. - * - * @param userName the user name of this kaleo instance - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this kaleo instance. - * - * @return the create date of this kaleo instance - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this kaleo instance. - * - * @param createDate the create date of this kaleo instance - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this kaleo instance. - * - * @return the modified date of this kaleo instance - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this kaleo instance. - * - * @param modifiedDate the modified date of this kaleo instance - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the kaleo definition ID of this kaleo instance. - * - * @return the kaleo definition ID of this kaleo instance - */ - public long getKaleoDefinitionId(); - - /** - * Sets the kaleo definition ID of this kaleo instance. - * - * @param kaleoDefinitionId the kaleo definition ID of this kaleo instance - */ - public void setKaleoDefinitionId(long kaleoDefinitionId); - - /** - * Returns the kaleo definition name of this kaleo instance. - * - * @return the kaleo definition name of this kaleo instance - */ - @AutoEscape - public String getKaleoDefinitionName(); - - /** - * Sets the kaleo definition name of this kaleo instance. - * - * @param kaleoDefinitionName the kaleo definition name of this kaleo instance - */ - public void setKaleoDefinitionName(String kaleoDefinitionName); - - /** - * Returns the kaleo definition version of this kaleo instance. - * - * @return the kaleo definition version of this kaleo instance - */ - public int getKaleoDefinitionVersion(); - - /** - * Sets the kaleo definition version of this kaleo instance. - * - * @param kaleoDefinitionVersion the kaleo definition version of this kaleo instance - */ - public void setKaleoDefinitionVersion(int kaleoDefinitionVersion); - - /** - * Returns the root kaleo instance token ID of this kaleo instance. - * - * @return the root kaleo instance token ID of this kaleo instance - */ - public long getRootKaleoInstanceTokenId(); - - /** - * Sets the root kaleo instance token ID of this kaleo instance. - * - * @param rootKaleoInstanceTokenId the root kaleo instance token ID of this kaleo instance - */ - public void setRootKaleoInstanceTokenId(long rootKaleoInstanceTokenId); - - /** - * Returns the class name of this kaleo instance. - * - * @return the class name of this kaleo instance - */ - @AutoEscape - public String getClassName(); - - /** - * Sets the class name of this kaleo instance. - * - * @param className the class name of this kaleo instance - */ - public void setClassName(String className); - - /** - * Returns the class p k of this kaleo instance. - * - * @return the class p k of this kaleo instance - */ - public long getClassPK(); - - /** - * Sets the class p k of this kaleo instance. - * - * @param classPK the class p k of this kaleo instance - */ - public void setClassPK(long classPK); - - /** - * Returns the completed of this kaleo instance. - * - * @return the completed of this kaleo instance - */ - public boolean getCompleted(); - - /** - * Returns true if this kaleo instance is completed. - * - * @return true if this kaleo instance is completed; false otherwise - */ - public boolean isCompleted(); - - /** - * Sets whether this kaleo instance is completed. - * - * @param completed the completed of this kaleo instance - */ - public void setCompleted(boolean completed); - - /** - * Returns the completion date of this kaleo instance. - * - * @return the completion date of this kaleo instance - */ - public Date getCompletionDate(); - - /** - * Sets the completion date of this kaleo instance. - * - * @param completionDate the completion date of this kaleo instance - */ - public void setCompletionDate(Date completionDate); - - /** - * Returns the workflow context of this kaleo instance. - * - * @return the workflow context of this kaleo instance - */ - @AutoEscape - public String getWorkflowContext(); - - /** - * Sets the workflow context of this kaleo instance. - * - * @param workflowContext the workflow context of this kaleo instance - */ - public void setWorkflowContext(String workflowContext); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.KaleoInstance kaleoInstance); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstance toEscapedModel(); - - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstance toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoInstanceSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoInstanceSoap.java deleted file mode 100644 index 3fa49d4a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoInstanceSoap.java +++ /dev/null @@ -1,249 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author 3FC - * @generated - */ -public class KaleoInstanceSoap implements Serializable { - public static KaleoInstanceSoap toSoapModel(KaleoInstance model) { - KaleoInstanceSoap soapModel = new KaleoInstanceSoap(); - - soapModel.setKaleoInstanceId(model.getKaleoInstanceId()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setKaleoDefinitionId(model.getKaleoDefinitionId()); - soapModel.setKaleoDefinitionName(model.getKaleoDefinitionName()); - soapModel.setKaleoDefinitionVersion(model.getKaleoDefinitionVersion()); - soapModel.setRootKaleoInstanceTokenId(model.getRootKaleoInstanceTokenId()); - soapModel.setClassName(model.getClassName()); - soapModel.setClassPK(model.getClassPK()); - soapModel.setCompleted(model.getCompleted()); - soapModel.setCompletionDate(model.getCompletionDate()); - soapModel.setWorkflowContext(model.getWorkflowContext()); - - return soapModel; - } - - public static KaleoInstanceSoap[] toSoapModels(KaleoInstance[] models) { - KaleoInstanceSoap[] soapModels = new KaleoInstanceSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static KaleoInstanceSoap[][] toSoapModels(KaleoInstance[][] models) { - KaleoInstanceSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new KaleoInstanceSoap[models.length][models[0].length]; - } - else { - soapModels = new KaleoInstanceSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static KaleoInstanceSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (KaleoInstance model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new KaleoInstanceSoap[soapModels.size()]); - } - - public KaleoInstanceSoap() { - } - - public long getPrimaryKey() { - return _kaleoInstanceId; - } - - public void setPrimaryKey(long pk) { - setKaleoInstanceId(pk); - } - - public long getKaleoInstanceId() { - return _kaleoInstanceId; - } - - public void setKaleoInstanceId(long kaleoInstanceId) { - _kaleoInstanceId = kaleoInstanceId; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public long getKaleoDefinitionId() { - return _kaleoDefinitionId; - } - - public void setKaleoDefinitionId(long kaleoDefinitionId) { - _kaleoDefinitionId = kaleoDefinitionId; - } - - public String getKaleoDefinitionName() { - return _kaleoDefinitionName; - } - - public void setKaleoDefinitionName(String kaleoDefinitionName) { - _kaleoDefinitionName = kaleoDefinitionName; - } - - public int getKaleoDefinitionVersion() { - return _kaleoDefinitionVersion; - } - - public void setKaleoDefinitionVersion(int kaleoDefinitionVersion) { - _kaleoDefinitionVersion = kaleoDefinitionVersion; - } - - public long getRootKaleoInstanceTokenId() { - return _rootKaleoInstanceTokenId; - } - - public void setRootKaleoInstanceTokenId(long rootKaleoInstanceTokenId) { - _rootKaleoInstanceTokenId = rootKaleoInstanceTokenId; - } - - public String getClassName() { - return _className; - } - - public void setClassName(String className) { - _className = className; - } - - public long getClassPK() { - return _classPK; - } - - public void setClassPK(long classPK) { - _classPK = classPK; - } - - public boolean getCompleted() { - return _completed; - } - - public boolean isCompleted() { - return _completed; - } - - public void setCompleted(boolean completed) { - _completed = completed; - } - - public Date getCompletionDate() { - return _completionDate; - } - - public void setCompletionDate(Date completionDate) { - _completionDate = completionDate; - } - - public String getWorkflowContext() { - return _workflowContext; - } - - public void setWorkflowContext(String workflowContext) { - _workflowContext = workflowContext; - } - - private long _kaleoInstanceId; - private long _groupId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _kaleoDefinitionId; - private String _kaleoDefinitionName; - private int _kaleoDefinitionVersion; - private long _rootKaleoInstanceTokenId; - private String _className; - private long _classPK; - private boolean _completed; - private Date _completionDate; - private String _workflowContext; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoInstanceToken.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoInstanceToken.java deleted file mode 100644 index 55626976..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoInstanceToken.java +++ /dev/null @@ -1,35 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the KaleoInstanceToken service. Represents a row in the "kaleoinstancetoken" database table, with each column mapped to a property of this class. - * - * @author 3FC - * @see KaleoInstanceTokenModel - * @see it.tref.liferay.portos.importazione.model.impl.KaleoInstanceTokenImpl - * @see it.tref.liferay.portos.importazione.model.impl.KaleoInstanceTokenModelImpl - * @generated - */ -public interface KaleoInstanceToken extends KaleoInstanceTokenModel, - PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceTokenImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoInstanceTokenClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoInstanceTokenClp.java deleted file mode 100644 index 8234a7c0..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoInstanceTokenClp.java +++ /dev/null @@ -1,873 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.service.ClpSerializer; -import it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalServiceUtil; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author 3FC - */ -public class KaleoInstanceTokenClp extends BaseModelImpl - implements KaleoInstanceToken { - public KaleoInstanceTokenClp() { - } - - @Override - public Class getModelClass() { - return KaleoInstanceToken.class; - } - - @Override - public String getModelClassName() { - return KaleoInstanceToken.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _kaleoInstanceTokenId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setKaleoInstanceTokenId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _kaleoInstanceTokenId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("kaleoInstanceTokenId", getKaleoInstanceTokenId()); - attributes.put("groupId", getGroupId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("kaleoDefinitionId", getKaleoDefinitionId()); - attributes.put("kaleoInstanceId", getKaleoInstanceId()); - attributes.put("parentKaleoInstanceTokenId", - getParentKaleoInstanceTokenId()); - attributes.put("currentKaleoNodeId", getCurrentKaleoNodeId()); - attributes.put("currentKaleoNodeName", getCurrentKaleoNodeName()); - attributes.put("className", getClassName()); - attributes.put("classPK", getClassPK()); - attributes.put("completed", getCompleted()); - attributes.put("completionDate", getCompletionDate()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long kaleoInstanceTokenId = (Long)attributes.get("kaleoInstanceTokenId"); - - if (kaleoInstanceTokenId != null) { - setKaleoInstanceTokenId(kaleoInstanceTokenId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long kaleoDefinitionId = (Long)attributes.get("kaleoDefinitionId"); - - if (kaleoDefinitionId != null) { - setKaleoDefinitionId(kaleoDefinitionId); - } - - Long kaleoInstanceId = (Long)attributes.get("kaleoInstanceId"); - - if (kaleoInstanceId != null) { - setKaleoInstanceId(kaleoInstanceId); - } - - Long parentKaleoInstanceTokenId = (Long)attributes.get( - "parentKaleoInstanceTokenId"); - - if (parentKaleoInstanceTokenId != null) { - setParentKaleoInstanceTokenId(parentKaleoInstanceTokenId); - } - - Long currentKaleoNodeId = (Long)attributes.get("currentKaleoNodeId"); - - if (currentKaleoNodeId != null) { - setCurrentKaleoNodeId(currentKaleoNodeId); - } - - String currentKaleoNodeName = (String)attributes.get( - "currentKaleoNodeName"); - - if (currentKaleoNodeName != null) { - setCurrentKaleoNodeName(currentKaleoNodeName); - } - - String className = (String)attributes.get("className"); - - if (className != null) { - setClassName(className); - } - - Long classPK = (Long)attributes.get("classPK"); - - if (classPK != null) { - setClassPK(classPK); - } - - Boolean completed = (Boolean)attributes.get("completed"); - - if (completed != null) { - setCompleted(completed); - } - - Date completionDate = (Date)attributes.get("completionDate"); - - if (completionDate != null) { - setCompletionDate(completionDate); - } - } - - @Override - public long getKaleoInstanceTokenId() { - return _kaleoInstanceTokenId; - } - - @Override - public void setKaleoInstanceTokenId(long kaleoInstanceTokenId) { - _kaleoInstanceTokenId = kaleoInstanceTokenId; - - if (_kaleoInstanceTokenRemoteModel != null) { - try { - Class clazz = _kaleoInstanceTokenRemoteModel.getClass(); - - Method method = clazz.getMethod("setKaleoInstanceTokenId", - long.class); - - method.invoke(_kaleoInstanceTokenRemoteModel, - kaleoInstanceTokenId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_kaleoInstanceTokenRemoteModel != null) { - try { - Class clazz = _kaleoInstanceTokenRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_kaleoInstanceTokenRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_kaleoInstanceTokenRemoteModel != null) { - try { - Class clazz = _kaleoInstanceTokenRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_kaleoInstanceTokenRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_kaleoInstanceTokenRemoteModel != null) { - try { - Class clazz = _kaleoInstanceTokenRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_kaleoInstanceTokenRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_kaleoInstanceTokenRemoteModel != null) { - try { - Class clazz = _kaleoInstanceTokenRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_kaleoInstanceTokenRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_kaleoInstanceTokenRemoteModel != null) { - try { - Class clazz = _kaleoInstanceTokenRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_kaleoInstanceTokenRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_kaleoInstanceTokenRemoteModel != null) { - try { - Class clazz = _kaleoInstanceTokenRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_kaleoInstanceTokenRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getKaleoDefinitionId() { - return _kaleoDefinitionId; - } - - @Override - public void setKaleoDefinitionId(long kaleoDefinitionId) { - _kaleoDefinitionId = kaleoDefinitionId; - - if (_kaleoInstanceTokenRemoteModel != null) { - try { - Class clazz = _kaleoInstanceTokenRemoteModel.getClass(); - - Method method = clazz.getMethod("setKaleoDefinitionId", - long.class); - - method.invoke(_kaleoInstanceTokenRemoteModel, kaleoDefinitionId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getKaleoInstanceId() { - return _kaleoInstanceId; - } - - @Override - public void setKaleoInstanceId(long kaleoInstanceId) { - _kaleoInstanceId = kaleoInstanceId; - - if (_kaleoInstanceTokenRemoteModel != null) { - try { - Class clazz = _kaleoInstanceTokenRemoteModel.getClass(); - - Method method = clazz.getMethod("setKaleoInstanceId", long.class); - - method.invoke(_kaleoInstanceTokenRemoteModel, kaleoInstanceId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getParentKaleoInstanceTokenId() { - return _parentKaleoInstanceTokenId; - } - - @Override - public void setParentKaleoInstanceTokenId(long parentKaleoInstanceTokenId) { - _parentKaleoInstanceTokenId = parentKaleoInstanceTokenId; - - if (_kaleoInstanceTokenRemoteModel != null) { - try { - Class clazz = _kaleoInstanceTokenRemoteModel.getClass(); - - Method method = clazz.getMethod("setParentKaleoInstanceTokenId", - long.class); - - method.invoke(_kaleoInstanceTokenRemoteModel, - parentKaleoInstanceTokenId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCurrentKaleoNodeId() { - return _currentKaleoNodeId; - } - - @Override - public void setCurrentKaleoNodeId(long currentKaleoNodeId) { - _currentKaleoNodeId = currentKaleoNodeId; - - if (_kaleoInstanceTokenRemoteModel != null) { - try { - Class clazz = _kaleoInstanceTokenRemoteModel.getClass(); - - Method method = clazz.getMethod("setCurrentKaleoNodeId", - long.class); - - method.invoke(_kaleoInstanceTokenRemoteModel, currentKaleoNodeId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCurrentKaleoNodeName() { - return _currentKaleoNodeName; - } - - @Override - public void setCurrentKaleoNodeName(String currentKaleoNodeName) { - _currentKaleoNodeName = currentKaleoNodeName; - - if (_kaleoInstanceTokenRemoteModel != null) { - try { - Class clazz = _kaleoInstanceTokenRemoteModel.getClass(); - - Method method = clazz.getMethod("setCurrentKaleoNodeName", - String.class); - - method.invoke(_kaleoInstanceTokenRemoteModel, - currentKaleoNodeName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getClassName() { - return _className; - } - - @Override - public void setClassName(String className) { - _className = className; - - if (_kaleoInstanceTokenRemoteModel != null) { - try { - Class clazz = _kaleoInstanceTokenRemoteModel.getClass(); - - Method method = clazz.getMethod("setClassName", String.class); - - method.invoke(_kaleoInstanceTokenRemoteModel, className); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getClassPK() { - return _classPK; - } - - @Override - public void setClassPK(long classPK) { - _classPK = classPK; - - if (_kaleoInstanceTokenRemoteModel != null) { - try { - Class clazz = _kaleoInstanceTokenRemoteModel.getClass(); - - Method method = clazz.getMethod("setClassPK", long.class); - - method.invoke(_kaleoInstanceTokenRemoteModel, classPK); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getCompleted() { - return _completed; - } - - @Override - public boolean isCompleted() { - return _completed; - } - - @Override - public void setCompleted(boolean completed) { - _completed = completed; - - if (_kaleoInstanceTokenRemoteModel != null) { - try { - Class clazz = _kaleoInstanceTokenRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompleted", boolean.class); - - method.invoke(_kaleoInstanceTokenRemoteModel, completed); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCompletionDate() { - return _completionDate; - } - - @Override - public void setCompletionDate(Date completionDate) { - _completionDate = completionDate; - - if (_kaleoInstanceTokenRemoteModel != null) { - try { - Class clazz = _kaleoInstanceTokenRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompletionDate", Date.class); - - method.invoke(_kaleoInstanceTokenRemoteModel, completionDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - public BaseModel getKaleoInstanceTokenRemoteModel() { - return _kaleoInstanceTokenRemoteModel; - } - - public void setKaleoInstanceTokenRemoteModel( - BaseModel kaleoInstanceTokenRemoteModel) { - _kaleoInstanceTokenRemoteModel = kaleoInstanceTokenRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _kaleoInstanceTokenRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_kaleoInstanceTokenRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - KaleoInstanceTokenLocalServiceUtil.addKaleoInstanceToken(this); - } - else { - KaleoInstanceTokenLocalServiceUtil.updateKaleoInstanceToken(this); - } - } - - @Override - public KaleoInstanceToken toEscapedModel() { - return (KaleoInstanceToken)ProxyUtil.newProxyInstance(KaleoInstanceToken.class.getClassLoader(), - new Class[] { KaleoInstanceToken.class }, - new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - KaleoInstanceTokenClp clone = new KaleoInstanceTokenClp(); - - clone.setKaleoInstanceTokenId(getKaleoInstanceTokenId()); - clone.setGroupId(getGroupId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setKaleoDefinitionId(getKaleoDefinitionId()); - clone.setKaleoInstanceId(getKaleoInstanceId()); - clone.setParentKaleoInstanceTokenId(getParentKaleoInstanceTokenId()); - clone.setCurrentKaleoNodeId(getCurrentKaleoNodeId()); - clone.setCurrentKaleoNodeName(getCurrentKaleoNodeName()); - clone.setClassName(getClassName()); - clone.setClassPK(getClassPK()); - clone.setCompleted(getCompleted()); - clone.setCompletionDate(getCompletionDate()); - - return clone; - } - - @Override - public int compareTo(KaleoInstanceToken kaleoInstanceToken) { - int value = 0; - - if (getKaleoInstanceTokenId() < kaleoInstanceToken.getKaleoInstanceTokenId()) { - value = -1; - } - else if (getKaleoInstanceTokenId() > kaleoInstanceToken.getKaleoInstanceTokenId()) { - value = 1; - } - else { - value = 0; - } - - if (value != 0) { - return value; - } - - return 0; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof KaleoInstanceTokenClp)) { - return false; - } - - KaleoInstanceTokenClp kaleoInstanceToken = (KaleoInstanceTokenClp)obj; - - long primaryKey = kaleoInstanceToken.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(33); - - sb.append("{kaleoInstanceTokenId="); - sb.append(getKaleoInstanceTokenId()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", kaleoDefinitionId="); - sb.append(getKaleoDefinitionId()); - sb.append(", kaleoInstanceId="); - sb.append(getKaleoInstanceId()); - sb.append(", parentKaleoInstanceTokenId="); - sb.append(getParentKaleoInstanceTokenId()); - sb.append(", currentKaleoNodeId="); - sb.append(getCurrentKaleoNodeId()); - sb.append(", currentKaleoNodeName="); - sb.append(getCurrentKaleoNodeName()); - sb.append(", className="); - sb.append(getClassName()); - sb.append(", classPK="); - sb.append(getClassPK()); - sb.append(", completed="); - sb.append(getCompleted()); - sb.append(", completionDate="); - sb.append(getCompletionDate()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(52); - - sb.append(""); - sb.append( - "it.tref.liferay.portos.importazione.model.KaleoInstanceToken"); - sb.append(""); - - sb.append( - "kaleoInstanceTokenId"); - sb.append( - "groupId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "kaleoDefinitionId"); - sb.append( - "kaleoInstanceId"); - sb.append( - "parentKaleoInstanceTokenId"); - sb.append( - "currentKaleoNodeId"); - sb.append( - "currentKaleoNodeName"); - sb.append( - "className"); - sb.append( - "classPK"); - sb.append( - "completed"); - sb.append( - "completionDate"); - - sb.append(""); - - return sb.toString(); - } - - private long _kaleoInstanceTokenId; - private long _groupId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _kaleoDefinitionId; - private long _kaleoInstanceId; - private long _parentKaleoInstanceTokenId; - private long _currentKaleoNodeId; - private String _currentKaleoNodeName; - private String _className; - private long _classPK; - private boolean _completed; - private Date _completionDate; - private BaseModel _kaleoInstanceTokenRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.importazione.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoInstanceTokenModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoInstanceTokenModel.java deleted file mode 100644 index e63c43b7..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoInstanceTokenModel.java +++ /dev/null @@ -1,385 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.GroupedModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the KaleoInstanceToken service. Represents a row in the "kaleoinstancetoken" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceTokenModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceTokenImpl}. - *

- * - * @author 3FC - * @see KaleoInstanceToken - * @see it.tref.liferay.portos.importazione.model.impl.KaleoInstanceTokenImpl - * @see it.tref.liferay.portos.importazione.model.impl.KaleoInstanceTokenModelImpl - * @generated - */ -public interface KaleoInstanceTokenModel extends BaseModel, - GroupedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a kaleo instance token model instance should use the {@link KaleoInstanceToken} interface instead. - */ - - /** - * Returns the primary key of this kaleo instance token. - * - * @return the primary key of this kaleo instance token - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this kaleo instance token. - * - * @param primaryKey the primary key of this kaleo instance token - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the kaleo instance token ID of this kaleo instance token. - * - * @return the kaleo instance token ID of this kaleo instance token - */ - public long getKaleoInstanceTokenId(); - - /** - * Sets the kaleo instance token ID of this kaleo instance token. - * - * @param kaleoInstanceTokenId the kaleo instance token ID of this kaleo instance token - */ - public void setKaleoInstanceTokenId(long kaleoInstanceTokenId); - - /** - * Returns the group ID of this kaleo instance token. - * - * @return the group ID of this kaleo instance token - */ - @Override - public long getGroupId(); - - /** - * Sets the group ID of this kaleo instance token. - * - * @param groupId the group ID of this kaleo instance token - */ - @Override - public void setGroupId(long groupId); - - /** - * Returns the company ID of this kaleo instance token. - * - * @return the company ID of this kaleo instance token - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this kaleo instance token. - * - * @param companyId the company ID of this kaleo instance token - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this kaleo instance token. - * - * @return the user ID of this kaleo instance token - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this kaleo instance token. - * - * @param userId the user ID of this kaleo instance token - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this kaleo instance token. - * - * @return the user uuid of this kaleo instance token - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this kaleo instance token. - * - * @param userUuid the user uuid of this kaleo instance token - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this kaleo instance token. - * - * @return the user name of this kaleo instance token - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this kaleo instance token. - * - * @param userName the user name of this kaleo instance token - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this kaleo instance token. - * - * @return the create date of this kaleo instance token - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this kaleo instance token. - * - * @param createDate the create date of this kaleo instance token - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this kaleo instance token. - * - * @return the modified date of this kaleo instance token - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this kaleo instance token. - * - * @param modifiedDate the modified date of this kaleo instance token - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the kaleo definition ID of this kaleo instance token. - * - * @return the kaleo definition ID of this kaleo instance token - */ - public long getKaleoDefinitionId(); - - /** - * Sets the kaleo definition ID of this kaleo instance token. - * - * @param kaleoDefinitionId the kaleo definition ID of this kaleo instance token - */ - public void setKaleoDefinitionId(long kaleoDefinitionId); - - /** - * Returns the kaleo instance ID of this kaleo instance token. - * - * @return the kaleo instance ID of this kaleo instance token - */ - public long getKaleoInstanceId(); - - /** - * Sets the kaleo instance ID of this kaleo instance token. - * - * @param kaleoInstanceId the kaleo instance ID of this kaleo instance token - */ - public void setKaleoInstanceId(long kaleoInstanceId); - - /** - * Returns the parent kaleo instance token ID of this kaleo instance token. - * - * @return the parent kaleo instance token ID of this kaleo instance token - */ - public long getParentKaleoInstanceTokenId(); - - /** - * Sets the parent kaleo instance token ID of this kaleo instance token. - * - * @param parentKaleoInstanceTokenId the parent kaleo instance token ID of this kaleo instance token - */ - public void setParentKaleoInstanceTokenId(long parentKaleoInstanceTokenId); - - /** - * Returns the current kaleo node ID of this kaleo instance token. - * - * @return the current kaleo node ID of this kaleo instance token - */ - public long getCurrentKaleoNodeId(); - - /** - * Sets the current kaleo node ID of this kaleo instance token. - * - * @param currentKaleoNodeId the current kaleo node ID of this kaleo instance token - */ - public void setCurrentKaleoNodeId(long currentKaleoNodeId); - - /** - * Returns the current kaleo node name of this kaleo instance token. - * - * @return the current kaleo node name of this kaleo instance token - */ - @AutoEscape - public String getCurrentKaleoNodeName(); - - /** - * Sets the current kaleo node name of this kaleo instance token. - * - * @param currentKaleoNodeName the current kaleo node name of this kaleo instance token - */ - public void setCurrentKaleoNodeName(String currentKaleoNodeName); - - /** - * Returns the class name of this kaleo instance token. - * - * @return the class name of this kaleo instance token - */ - @AutoEscape - public String getClassName(); - - /** - * Sets the class name of this kaleo instance token. - * - * @param className the class name of this kaleo instance token - */ - public void setClassName(String className); - - /** - * Returns the class p k of this kaleo instance token. - * - * @return the class p k of this kaleo instance token - */ - public long getClassPK(); - - /** - * Sets the class p k of this kaleo instance token. - * - * @param classPK the class p k of this kaleo instance token - */ - public void setClassPK(long classPK); - - /** - * Returns the completed of this kaleo instance token. - * - * @return the completed of this kaleo instance token - */ - public boolean getCompleted(); - - /** - * Returns true if this kaleo instance token is completed. - * - * @return true if this kaleo instance token is completed; false otherwise - */ - public boolean isCompleted(); - - /** - * Sets whether this kaleo instance token is completed. - * - * @param completed the completed of this kaleo instance token - */ - public void setCompleted(boolean completed); - - /** - * Returns the completion date of this kaleo instance token. - * - * @return the completion date of this kaleo instance token - */ - public Date getCompletionDate(); - - /** - * Sets the completion date of this kaleo instance token. - * - * @param completionDate the completion date of this kaleo instance token - */ - public void setCompletionDate(Date completionDate); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.KaleoInstanceToken kaleoInstanceToken); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstanceToken toEscapedModel(); - - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstanceToken toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoInstanceTokenSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoInstanceTokenSoap.java deleted file mode 100644 index f17281f1..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoInstanceTokenSoap.java +++ /dev/null @@ -1,252 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author 3FC - * @generated - */ -public class KaleoInstanceTokenSoap implements Serializable { - public static KaleoInstanceTokenSoap toSoapModel(KaleoInstanceToken model) { - KaleoInstanceTokenSoap soapModel = new KaleoInstanceTokenSoap(); - - soapModel.setKaleoInstanceTokenId(model.getKaleoInstanceTokenId()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setKaleoDefinitionId(model.getKaleoDefinitionId()); - soapModel.setKaleoInstanceId(model.getKaleoInstanceId()); - soapModel.setParentKaleoInstanceTokenId(model.getParentKaleoInstanceTokenId()); - soapModel.setCurrentKaleoNodeId(model.getCurrentKaleoNodeId()); - soapModel.setCurrentKaleoNodeName(model.getCurrentKaleoNodeName()); - soapModel.setClassName(model.getClassName()); - soapModel.setClassPK(model.getClassPK()); - soapModel.setCompleted(model.getCompleted()); - soapModel.setCompletionDate(model.getCompletionDate()); - - return soapModel; - } - - public static KaleoInstanceTokenSoap[] toSoapModels( - KaleoInstanceToken[] models) { - KaleoInstanceTokenSoap[] soapModels = new KaleoInstanceTokenSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static KaleoInstanceTokenSoap[][] toSoapModels( - KaleoInstanceToken[][] models) { - KaleoInstanceTokenSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new KaleoInstanceTokenSoap[models.length][models[0].length]; - } - else { - soapModels = new KaleoInstanceTokenSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static KaleoInstanceTokenSoap[] toSoapModels( - List models) { - List soapModels = new ArrayList(models.size()); - - for (KaleoInstanceToken model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new KaleoInstanceTokenSoap[soapModels.size()]); - } - - public KaleoInstanceTokenSoap() { - } - - public long getPrimaryKey() { - return _kaleoInstanceTokenId; - } - - public void setPrimaryKey(long pk) { - setKaleoInstanceTokenId(pk); - } - - public long getKaleoInstanceTokenId() { - return _kaleoInstanceTokenId; - } - - public void setKaleoInstanceTokenId(long kaleoInstanceTokenId) { - _kaleoInstanceTokenId = kaleoInstanceTokenId; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public long getKaleoDefinitionId() { - return _kaleoDefinitionId; - } - - public void setKaleoDefinitionId(long kaleoDefinitionId) { - _kaleoDefinitionId = kaleoDefinitionId; - } - - public long getKaleoInstanceId() { - return _kaleoInstanceId; - } - - public void setKaleoInstanceId(long kaleoInstanceId) { - _kaleoInstanceId = kaleoInstanceId; - } - - public long getParentKaleoInstanceTokenId() { - return _parentKaleoInstanceTokenId; - } - - public void setParentKaleoInstanceTokenId(long parentKaleoInstanceTokenId) { - _parentKaleoInstanceTokenId = parentKaleoInstanceTokenId; - } - - public long getCurrentKaleoNodeId() { - return _currentKaleoNodeId; - } - - public void setCurrentKaleoNodeId(long currentKaleoNodeId) { - _currentKaleoNodeId = currentKaleoNodeId; - } - - public String getCurrentKaleoNodeName() { - return _currentKaleoNodeName; - } - - public void setCurrentKaleoNodeName(String currentKaleoNodeName) { - _currentKaleoNodeName = currentKaleoNodeName; - } - - public String getClassName() { - return _className; - } - - public void setClassName(String className) { - _className = className; - } - - public long getClassPK() { - return _classPK; - } - - public void setClassPK(long classPK) { - _classPK = classPK; - } - - public boolean getCompleted() { - return _completed; - } - - public boolean isCompleted() { - return _completed; - } - - public void setCompleted(boolean completed) { - _completed = completed; - } - - public Date getCompletionDate() { - return _completionDate; - } - - public void setCompletionDate(Date completionDate) { - _completionDate = completionDate; - } - - private long _kaleoInstanceTokenId; - private long _groupId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _kaleoDefinitionId; - private long _kaleoInstanceId; - private long _parentKaleoInstanceTokenId; - private long _currentKaleoNodeId; - private String _currentKaleoNodeName; - private String _className; - private long _classPK; - private boolean _completed; - private Date _completionDate; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoInstanceTokenWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoInstanceTokenWrapper.java deleted file mode 100644 index 1d17dbe2..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoInstanceTokenWrapper.java +++ /dev/null @@ -1,690 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link KaleoInstanceToken}. - *

- * - * @author 3FC - * @see KaleoInstanceToken - * @generated - */ -public class KaleoInstanceTokenWrapper implements KaleoInstanceToken, - ModelWrapper { - public KaleoInstanceTokenWrapper(KaleoInstanceToken kaleoInstanceToken) { - _kaleoInstanceToken = kaleoInstanceToken; - } - - @Override - public Class getModelClass() { - return KaleoInstanceToken.class; - } - - @Override - public String getModelClassName() { - return KaleoInstanceToken.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("kaleoInstanceTokenId", getKaleoInstanceTokenId()); - attributes.put("groupId", getGroupId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("kaleoDefinitionId", getKaleoDefinitionId()); - attributes.put("kaleoInstanceId", getKaleoInstanceId()); - attributes.put("parentKaleoInstanceTokenId", - getParentKaleoInstanceTokenId()); - attributes.put("currentKaleoNodeId", getCurrentKaleoNodeId()); - attributes.put("currentKaleoNodeName", getCurrentKaleoNodeName()); - attributes.put("className", getClassName()); - attributes.put("classPK", getClassPK()); - attributes.put("completed", getCompleted()); - attributes.put("completionDate", getCompletionDate()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long kaleoInstanceTokenId = (Long)attributes.get("kaleoInstanceTokenId"); - - if (kaleoInstanceTokenId != null) { - setKaleoInstanceTokenId(kaleoInstanceTokenId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long kaleoDefinitionId = (Long)attributes.get("kaleoDefinitionId"); - - if (kaleoDefinitionId != null) { - setKaleoDefinitionId(kaleoDefinitionId); - } - - Long kaleoInstanceId = (Long)attributes.get("kaleoInstanceId"); - - if (kaleoInstanceId != null) { - setKaleoInstanceId(kaleoInstanceId); - } - - Long parentKaleoInstanceTokenId = (Long)attributes.get( - "parentKaleoInstanceTokenId"); - - if (parentKaleoInstanceTokenId != null) { - setParentKaleoInstanceTokenId(parentKaleoInstanceTokenId); - } - - Long currentKaleoNodeId = (Long)attributes.get("currentKaleoNodeId"); - - if (currentKaleoNodeId != null) { - setCurrentKaleoNodeId(currentKaleoNodeId); - } - - String currentKaleoNodeName = (String)attributes.get( - "currentKaleoNodeName"); - - if (currentKaleoNodeName != null) { - setCurrentKaleoNodeName(currentKaleoNodeName); - } - - String className = (String)attributes.get("className"); - - if (className != null) { - setClassName(className); - } - - Long classPK = (Long)attributes.get("classPK"); - - if (classPK != null) { - setClassPK(classPK); - } - - Boolean completed = (Boolean)attributes.get("completed"); - - if (completed != null) { - setCompleted(completed); - } - - Date completionDate = (Date)attributes.get("completionDate"); - - if (completionDate != null) { - setCompletionDate(completionDate); - } - } - - /** - * Returns the primary key of this kaleo instance token. - * - * @return the primary key of this kaleo instance token - */ - @Override - public long getPrimaryKey() { - return _kaleoInstanceToken.getPrimaryKey(); - } - - /** - * Sets the primary key of this kaleo instance token. - * - * @param primaryKey the primary key of this kaleo instance token - */ - @Override - public void setPrimaryKey(long primaryKey) { - _kaleoInstanceToken.setPrimaryKey(primaryKey); - } - - /** - * Returns the kaleo instance token ID of this kaleo instance token. - * - * @return the kaleo instance token ID of this kaleo instance token - */ - @Override - public long getKaleoInstanceTokenId() { - return _kaleoInstanceToken.getKaleoInstanceTokenId(); - } - - /** - * Sets the kaleo instance token ID of this kaleo instance token. - * - * @param kaleoInstanceTokenId the kaleo instance token ID of this kaleo instance token - */ - @Override - public void setKaleoInstanceTokenId(long kaleoInstanceTokenId) { - _kaleoInstanceToken.setKaleoInstanceTokenId(kaleoInstanceTokenId); - } - - /** - * Returns the group ID of this kaleo instance token. - * - * @return the group ID of this kaleo instance token - */ - @Override - public long getGroupId() { - return _kaleoInstanceToken.getGroupId(); - } - - /** - * Sets the group ID of this kaleo instance token. - * - * @param groupId the group ID of this kaleo instance token - */ - @Override - public void setGroupId(long groupId) { - _kaleoInstanceToken.setGroupId(groupId); - } - - /** - * Returns the company ID of this kaleo instance token. - * - * @return the company ID of this kaleo instance token - */ - @Override - public long getCompanyId() { - return _kaleoInstanceToken.getCompanyId(); - } - - /** - * Sets the company ID of this kaleo instance token. - * - * @param companyId the company ID of this kaleo instance token - */ - @Override - public void setCompanyId(long companyId) { - _kaleoInstanceToken.setCompanyId(companyId); - } - - /** - * Returns the user ID of this kaleo instance token. - * - * @return the user ID of this kaleo instance token - */ - @Override - public long getUserId() { - return _kaleoInstanceToken.getUserId(); - } - - /** - * Sets the user ID of this kaleo instance token. - * - * @param userId the user ID of this kaleo instance token - */ - @Override - public void setUserId(long userId) { - _kaleoInstanceToken.setUserId(userId); - } - - /** - * Returns the user uuid of this kaleo instance token. - * - * @return the user uuid of this kaleo instance token - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoInstanceToken.getUserUuid(); - } - - /** - * Sets the user uuid of this kaleo instance token. - * - * @param userUuid the user uuid of this kaleo instance token - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _kaleoInstanceToken.setUserUuid(userUuid); - } - - /** - * Returns the user name of this kaleo instance token. - * - * @return the user name of this kaleo instance token - */ - @Override - public java.lang.String getUserName() { - return _kaleoInstanceToken.getUserName(); - } - - /** - * Sets the user name of this kaleo instance token. - * - * @param userName the user name of this kaleo instance token - */ - @Override - public void setUserName(java.lang.String userName) { - _kaleoInstanceToken.setUserName(userName); - } - - /** - * Returns the create date of this kaleo instance token. - * - * @return the create date of this kaleo instance token - */ - @Override - public java.util.Date getCreateDate() { - return _kaleoInstanceToken.getCreateDate(); - } - - /** - * Sets the create date of this kaleo instance token. - * - * @param createDate the create date of this kaleo instance token - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _kaleoInstanceToken.setCreateDate(createDate); - } - - /** - * Returns the modified date of this kaleo instance token. - * - * @return the modified date of this kaleo instance token - */ - @Override - public java.util.Date getModifiedDate() { - return _kaleoInstanceToken.getModifiedDate(); - } - - /** - * Sets the modified date of this kaleo instance token. - * - * @param modifiedDate the modified date of this kaleo instance token - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _kaleoInstanceToken.setModifiedDate(modifiedDate); - } - - /** - * Returns the kaleo definition ID of this kaleo instance token. - * - * @return the kaleo definition ID of this kaleo instance token - */ - @Override - public long getKaleoDefinitionId() { - return _kaleoInstanceToken.getKaleoDefinitionId(); - } - - /** - * Sets the kaleo definition ID of this kaleo instance token. - * - * @param kaleoDefinitionId the kaleo definition ID of this kaleo instance token - */ - @Override - public void setKaleoDefinitionId(long kaleoDefinitionId) { - _kaleoInstanceToken.setKaleoDefinitionId(kaleoDefinitionId); - } - - /** - * Returns the kaleo instance ID of this kaleo instance token. - * - * @return the kaleo instance ID of this kaleo instance token - */ - @Override - public long getKaleoInstanceId() { - return _kaleoInstanceToken.getKaleoInstanceId(); - } - - /** - * Sets the kaleo instance ID of this kaleo instance token. - * - * @param kaleoInstanceId the kaleo instance ID of this kaleo instance token - */ - @Override - public void setKaleoInstanceId(long kaleoInstanceId) { - _kaleoInstanceToken.setKaleoInstanceId(kaleoInstanceId); - } - - /** - * Returns the parent kaleo instance token ID of this kaleo instance token. - * - * @return the parent kaleo instance token ID of this kaleo instance token - */ - @Override - public long getParentKaleoInstanceTokenId() { - return _kaleoInstanceToken.getParentKaleoInstanceTokenId(); - } - - /** - * Sets the parent kaleo instance token ID of this kaleo instance token. - * - * @param parentKaleoInstanceTokenId the parent kaleo instance token ID of this kaleo instance token - */ - @Override - public void setParentKaleoInstanceTokenId(long parentKaleoInstanceTokenId) { - _kaleoInstanceToken.setParentKaleoInstanceTokenId(parentKaleoInstanceTokenId); - } - - /** - * Returns the current kaleo node ID of this kaleo instance token. - * - * @return the current kaleo node ID of this kaleo instance token - */ - @Override - public long getCurrentKaleoNodeId() { - return _kaleoInstanceToken.getCurrentKaleoNodeId(); - } - - /** - * Sets the current kaleo node ID of this kaleo instance token. - * - * @param currentKaleoNodeId the current kaleo node ID of this kaleo instance token - */ - @Override - public void setCurrentKaleoNodeId(long currentKaleoNodeId) { - _kaleoInstanceToken.setCurrentKaleoNodeId(currentKaleoNodeId); - } - - /** - * Returns the current kaleo node name of this kaleo instance token. - * - * @return the current kaleo node name of this kaleo instance token - */ - @Override - public java.lang.String getCurrentKaleoNodeName() { - return _kaleoInstanceToken.getCurrentKaleoNodeName(); - } - - /** - * Sets the current kaleo node name of this kaleo instance token. - * - * @param currentKaleoNodeName the current kaleo node name of this kaleo instance token - */ - @Override - public void setCurrentKaleoNodeName(java.lang.String currentKaleoNodeName) { - _kaleoInstanceToken.setCurrentKaleoNodeName(currentKaleoNodeName); - } - - /** - * Returns the class name of this kaleo instance token. - * - * @return the class name of this kaleo instance token - */ - @Override - public java.lang.String getClassName() { - return _kaleoInstanceToken.getClassName(); - } - - /** - * Sets the class name of this kaleo instance token. - * - * @param className the class name of this kaleo instance token - */ - @Override - public void setClassName(java.lang.String className) { - _kaleoInstanceToken.setClassName(className); - } - - /** - * Returns the class p k of this kaleo instance token. - * - * @return the class p k of this kaleo instance token - */ - @Override - public long getClassPK() { - return _kaleoInstanceToken.getClassPK(); - } - - /** - * Sets the class p k of this kaleo instance token. - * - * @param classPK the class p k of this kaleo instance token - */ - @Override - public void setClassPK(long classPK) { - _kaleoInstanceToken.setClassPK(classPK); - } - - /** - * Returns the completed of this kaleo instance token. - * - * @return the completed of this kaleo instance token - */ - @Override - public boolean getCompleted() { - return _kaleoInstanceToken.getCompleted(); - } - - /** - * Returns true if this kaleo instance token is completed. - * - * @return true if this kaleo instance token is completed; false otherwise - */ - @Override - public boolean isCompleted() { - return _kaleoInstanceToken.isCompleted(); - } - - /** - * Sets whether this kaleo instance token is completed. - * - * @param completed the completed of this kaleo instance token - */ - @Override - public void setCompleted(boolean completed) { - _kaleoInstanceToken.setCompleted(completed); - } - - /** - * Returns the completion date of this kaleo instance token. - * - * @return the completion date of this kaleo instance token - */ - @Override - public java.util.Date getCompletionDate() { - return _kaleoInstanceToken.getCompletionDate(); - } - - /** - * Sets the completion date of this kaleo instance token. - * - * @param completionDate the completion date of this kaleo instance token - */ - @Override - public void setCompletionDate(java.util.Date completionDate) { - _kaleoInstanceToken.setCompletionDate(completionDate); - } - - @Override - public boolean isNew() { - return _kaleoInstanceToken.isNew(); - } - - @Override - public void setNew(boolean n) { - _kaleoInstanceToken.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _kaleoInstanceToken.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _kaleoInstanceToken.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _kaleoInstanceToken.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _kaleoInstanceToken.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _kaleoInstanceToken.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _kaleoInstanceToken.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _kaleoInstanceToken.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _kaleoInstanceToken.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _kaleoInstanceToken.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new KaleoInstanceTokenWrapper((KaleoInstanceToken)_kaleoInstanceToken.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.KaleoInstanceToken kaleoInstanceToken) { - return _kaleoInstanceToken.compareTo(kaleoInstanceToken); - } - - @Override - public int hashCode() { - return _kaleoInstanceToken.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _kaleoInstanceToken.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstanceToken toEscapedModel() { - return new KaleoInstanceTokenWrapper(_kaleoInstanceToken.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstanceToken toUnescapedModel() { - return new KaleoInstanceTokenWrapper(_kaleoInstanceToken.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _kaleoInstanceToken.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _kaleoInstanceToken.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _kaleoInstanceToken.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof KaleoInstanceTokenWrapper)) { - return false; - } - - KaleoInstanceTokenWrapper kaleoInstanceTokenWrapper = (KaleoInstanceTokenWrapper)obj; - - if (Validator.equals(_kaleoInstanceToken, - kaleoInstanceTokenWrapper._kaleoInstanceToken)) { - return true; - } - - return false; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public KaleoInstanceToken getWrappedKaleoInstanceToken() { - return _kaleoInstanceToken; - } - - @Override - public KaleoInstanceToken getWrappedModel() { - return _kaleoInstanceToken; - } - - @Override - public void resetOriginalValues() { - _kaleoInstanceToken.resetOriginalValues(); - } - - private KaleoInstanceToken _kaleoInstanceToken; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoInstanceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoInstanceWrapper.java deleted file mode 100644 index d253750a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoInstanceWrapper.java +++ /dev/null @@ -1,689 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link KaleoInstance}. - *

- * - * @author 3FC - * @see KaleoInstance - * @generated - */ -public class KaleoInstanceWrapper implements KaleoInstance, - ModelWrapper { - public KaleoInstanceWrapper(KaleoInstance kaleoInstance) { - _kaleoInstance = kaleoInstance; - } - - @Override - public Class getModelClass() { - return KaleoInstance.class; - } - - @Override - public String getModelClassName() { - return KaleoInstance.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("kaleoInstanceId", getKaleoInstanceId()); - attributes.put("groupId", getGroupId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("kaleoDefinitionId", getKaleoDefinitionId()); - attributes.put("kaleoDefinitionName", getKaleoDefinitionName()); - attributes.put("kaleoDefinitionVersion", getKaleoDefinitionVersion()); - attributes.put("rootKaleoInstanceTokenId", getRootKaleoInstanceTokenId()); - attributes.put("className", getClassName()); - attributes.put("classPK", getClassPK()); - attributes.put("completed", getCompleted()); - attributes.put("completionDate", getCompletionDate()); - attributes.put("workflowContext", getWorkflowContext()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long kaleoInstanceId = (Long)attributes.get("kaleoInstanceId"); - - if (kaleoInstanceId != null) { - setKaleoInstanceId(kaleoInstanceId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long kaleoDefinitionId = (Long)attributes.get("kaleoDefinitionId"); - - if (kaleoDefinitionId != null) { - setKaleoDefinitionId(kaleoDefinitionId); - } - - String kaleoDefinitionName = (String)attributes.get( - "kaleoDefinitionName"); - - if (kaleoDefinitionName != null) { - setKaleoDefinitionName(kaleoDefinitionName); - } - - Integer kaleoDefinitionVersion = (Integer)attributes.get( - "kaleoDefinitionVersion"); - - if (kaleoDefinitionVersion != null) { - setKaleoDefinitionVersion(kaleoDefinitionVersion); - } - - Long rootKaleoInstanceTokenId = (Long)attributes.get( - "rootKaleoInstanceTokenId"); - - if (rootKaleoInstanceTokenId != null) { - setRootKaleoInstanceTokenId(rootKaleoInstanceTokenId); - } - - String className = (String)attributes.get("className"); - - if (className != null) { - setClassName(className); - } - - Long classPK = (Long)attributes.get("classPK"); - - if (classPK != null) { - setClassPK(classPK); - } - - Boolean completed = (Boolean)attributes.get("completed"); - - if (completed != null) { - setCompleted(completed); - } - - Date completionDate = (Date)attributes.get("completionDate"); - - if (completionDate != null) { - setCompletionDate(completionDate); - } - - String workflowContext = (String)attributes.get("workflowContext"); - - if (workflowContext != null) { - setWorkflowContext(workflowContext); - } - } - - /** - * Returns the primary key of this kaleo instance. - * - * @return the primary key of this kaleo instance - */ - @Override - public long getPrimaryKey() { - return _kaleoInstance.getPrimaryKey(); - } - - /** - * Sets the primary key of this kaleo instance. - * - * @param primaryKey the primary key of this kaleo instance - */ - @Override - public void setPrimaryKey(long primaryKey) { - _kaleoInstance.setPrimaryKey(primaryKey); - } - - /** - * Returns the kaleo instance ID of this kaleo instance. - * - * @return the kaleo instance ID of this kaleo instance - */ - @Override - public long getKaleoInstanceId() { - return _kaleoInstance.getKaleoInstanceId(); - } - - /** - * Sets the kaleo instance ID of this kaleo instance. - * - * @param kaleoInstanceId the kaleo instance ID of this kaleo instance - */ - @Override - public void setKaleoInstanceId(long kaleoInstanceId) { - _kaleoInstance.setKaleoInstanceId(kaleoInstanceId); - } - - /** - * Returns the group ID of this kaleo instance. - * - * @return the group ID of this kaleo instance - */ - @Override - public long getGroupId() { - return _kaleoInstance.getGroupId(); - } - - /** - * Sets the group ID of this kaleo instance. - * - * @param groupId the group ID of this kaleo instance - */ - @Override - public void setGroupId(long groupId) { - _kaleoInstance.setGroupId(groupId); - } - - /** - * Returns the company ID of this kaleo instance. - * - * @return the company ID of this kaleo instance - */ - @Override - public long getCompanyId() { - return _kaleoInstance.getCompanyId(); - } - - /** - * Sets the company ID of this kaleo instance. - * - * @param companyId the company ID of this kaleo instance - */ - @Override - public void setCompanyId(long companyId) { - _kaleoInstance.setCompanyId(companyId); - } - - /** - * Returns the user ID of this kaleo instance. - * - * @return the user ID of this kaleo instance - */ - @Override - public long getUserId() { - return _kaleoInstance.getUserId(); - } - - /** - * Sets the user ID of this kaleo instance. - * - * @param userId the user ID of this kaleo instance - */ - @Override - public void setUserId(long userId) { - _kaleoInstance.setUserId(userId); - } - - /** - * Returns the user uuid of this kaleo instance. - * - * @return the user uuid of this kaleo instance - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoInstance.getUserUuid(); - } - - /** - * Sets the user uuid of this kaleo instance. - * - * @param userUuid the user uuid of this kaleo instance - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _kaleoInstance.setUserUuid(userUuid); - } - - /** - * Returns the user name of this kaleo instance. - * - * @return the user name of this kaleo instance - */ - @Override - public java.lang.String getUserName() { - return _kaleoInstance.getUserName(); - } - - /** - * Sets the user name of this kaleo instance. - * - * @param userName the user name of this kaleo instance - */ - @Override - public void setUserName(java.lang.String userName) { - _kaleoInstance.setUserName(userName); - } - - /** - * Returns the create date of this kaleo instance. - * - * @return the create date of this kaleo instance - */ - @Override - public java.util.Date getCreateDate() { - return _kaleoInstance.getCreateDate(); - } - - /** - * Sets the create date of this kaleo instance. - * - * @param createDate the create date of this kaleo instance - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _kaleoInstance.setCreateDate(createDate); - } - - /** - * Returns the modified date of this kaleo instance. - * - * @return the modified date of this kaleo instance - */ - @Override - public java.util.Date getModifiedDate() { - return _kaleoInstance.getModifiedDate(); - } - - /** - * Sets the modified date of this kaleo instance. - * - * @param modifiedDate the modified date of this kaleo instance - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _kaleoInstance.setModifiedDate(modifiedDate); - } - - /** - * Returns the kaleo definition ID of this kaleo instance. - * - * @return the kaleo definition ID of this kaleo instance - */ - @Override - public long getKaleoDefinitionId() { - return _kaleoInstance.getKaleoDefinitionId(); - } - - /** - * Sets the kaleo definition ID of this kaleo instance. - * - * @param kaleoDefinitionId the kaleo definition ID of this kaleo instance - */ - @Override - public void setKaleoDefinitionId(long kaleoDefinitionId) { - _kaleoInstance.setKaleoDefinitionId(kaleoDefinitionId); - } - - /** - * Returns the kaleo definition name of this kaleo instance. - * - * @return the kaleo definition name of this kaleo instance - */ - @Override - public java.lang.String getKaleoDefinitionName() { - return _kaleoInstance.getKaleoDefinitionName(); - } - - /** - * Sets the kaleo definition name of this kaleo instance. - * - * @param kaleoDefinitionName the kaleo definition name of this kaleo instance - */ - @Override - public void setKaleoDefinitionName(java.lang.String kaleoDefinitionName) { - _kaleoInstance.setKaleoDefinitionName(kaleoDefinitionName); - } - - /** - * Returns the kaleo definition version of this kaleo instance. - * - * @return the kaleo definition version of this kaleo instance - */ - @Override - public int getKaleoDefinitionVersion() { - return _kaleoInstance.getKaleoDefinitionVersion(); - } - - /** - * Sets the kaleo definition version of this kaleo instance. - * - * @param kaleoDefinitionVersion the kaleo definition version of this kaleo instance - */ - @Override - public void setKaleoDefinitionVersion(int kaleoDefinitionVersion) { - _kaleoInstance.setKaleoDefinitionVersion(kaleoDefinitionVersion); - } - - /** - * Returns the root kaleo instance token ID of this kaleo instance. - * - * @return the root kaleo instance token ID of this kaleo instance - */ - @Override - public long getRootKaleoInstanceTokenId() { - return _kaleoInstance.getRootKaleoInstanceTokenId(); - } - - /** - * Sets the root kaleo instance token ID of this kaleo instance. - * - * @param rootKaleoInstanceTokenId the root kaleo instance token ID of this kaleo instance - */ - @Override - public void setRootKaleoInstanceTokenId(long rootKaleoInstanceTokenId) { - _kaleoInstance.setRootKaleoInstanceTokenId(rootKaleoInstanceTokenId); - } - - /** - * Returns the class name of this kaleo instance. - * - * @return the class name of this kaleo instance - */ - @Override - public java.lang.String getClassName() { - return _kaleoInstance.getClassName(); - } - - /** - * Sets the class name of this kaleo instance. - * - * @param className the class name of this kaleo instance - */ - @Override - public void setClassName(java.lang.String className) { - _kaleoInstance.setClassName(className); - } - - /** - * Returns the class p k of this kaleo instance. - * - * @return the class p k of this kaleo instance - */ - @Override - public long getClassPK() { - return _kaleoInstance.getClassPK(); - } - - /** - * Sets the class p k of this kaleo instance. - * - * @param classPK the class p k of this kaleo instance - */ - @Override - public void setClassPK(long classPK) { - _kaleoInstance.setClassPK(classPK); - } - - /** - * Returns the completed of this kaleo instance. - * - * @return the completed of this kaleo instance - */ - @Override - public boolean getCompleted() { - return _kaleoInstance.getCompleted(); - } - - /** - * Returns true if this kaleo instance is completed. - * - * @return true if this kaleo instance is completed; false otherwise - */ - @Override - public boolean isCompleted() { - return _kaleoInstance.isCompleted(); - } - - /** - * Sets whether this kaleo instance is completed. - * - * @param completed the completed of this kaleo instance - */ - @Override - public void setCompleted(boolean completed) { - _kaleoInstance.setCompleted(completed); - } - - /** - * Returns the completion date of this kaleo instance. - * - * @return the completion date of this kaleo instance - */ - @Override - public java.util.Date getCompletionDate() { - return _kaleoInstance.getCompletionDate(); - } - - /** - * Sets the completion date of this kaleo instance. - * - * @param completionDate the completion date of this kaleo instance - */ - @Override - public void setCompletionDate(java.util.Date completionDate) { - _kaleoInstance.setCompletionDate(completionDate); - } - - /** - * Returns the workflow context of this kaleo instance. - * - * @return the workflow context of this kaleo instance - */ - @Override - public java.lang.String getWorkflowContext() { - return _kaleoInstance.getWorkflowContext(); - } - - /** - * Sets the workflow context of this kaleo instance. - * - * @param workflowContext the workflow context of this kaleo instance - */ - @Override - public void setWorkflowContext(java.lang.String workflowContext) { - _kaleoInstance.setWorkflowContext(workflowContext); - } - - @Override - public boolean isNew() { - return _kaleoInstance.isNew(); - } - - @Override - public void setNew(boolean n) { - _kaleoInstance.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _kaleoInstance.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _kaleoInstance.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _kaleoInstance.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _kaleoInstance.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _kaleoInstance.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _kaleoInstance.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _kaleoInstance.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _kaleoInstance.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _kaleoInstance.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new KaleoInstanceWrapper((KaleoInstance)_kaleoInstance.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.KaleoInstance kaleoInstance) { - return _kaleoInstance.compareTo(kaleoInstance); - } - - @Override - public int hashCode() { - return _kaleoInstance.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _kaleoInstance.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstance toEscapedModel() { - return new KaleoInstanceWrapper(_kaleoInstance.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstance toUnescapedModel() { - return new KaleoInstanceWrapper(_kaleoInstance.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _kaleoInstance.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _kaleoInstance.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _kaleoInstance.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof KaleoInstanceWrapper)) { - return false; - } - - KaleoInstanceWrapper kaleoInstanceWrapper = (KaleoInstanceWrapper)obj; - - if (Validator.equals(_kaleoInstance, kaleoInstanceWrapper._kaleoInstance)) { - return true; - } - - return false; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public KaleoInstance getWrappedKaleoInstance() { - return _kaleoInstance; - } - - @Override - public KaleoInstance getWrappedModel() { - return _kaleoInstance; - } - - @Override - public void resetOriginalValues() { - _kaleoInstance.resetOriginalValues(); - } - - private KaleoInstance _kaleoInstance; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoLog.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoLog.java deleted file mode 100644 index 8121eb82..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoLog.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the KaleoLog service. Represents a row in the "kaleolog" database table, with each column mapped to a property of this class. - * - * @author 3FC - * @see KaleoLogModel - * @see it.tref.liferay.portos.importazione.model.impl.KaleoLogImpl - * @see it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl - * @generated - */ -public interface KaleoLog extends KaleoLogModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoLogClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoLogClp.java deleted file mode 100644 index cc3f8b00..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoLogClp.java +++ /dev/null @@ -1,1412 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.service.ClpSerializer; -import it.tref.liferay.portos.importazione.service.KaleoLogLocalServiceUtil; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author 3FC - */ -public class KaleoLogClp extends BaseModelImpl implements KaleoLog { - public KaleoLogClp() { - } - - @Override - public Class getModelClass() { - return KaleoLog.class; - } - - @Override - public String getModelClassName() { - return KaleoLog.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _kaleoLogId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setKaleoLogId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _kaleoLogId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("kaleoLogId", getKaleoLogId()); - attributes.put("groupId", getGroupId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("kaleoClassName", getKaleoClassName()); - attributes.put("kaleoClassPK", getKaleoClassPK()); - attributes.put("kaleoDefinitionId", getKaleoDefinitionId()); - attributes.put("kaleoInstanceId", getKaleoInstanceId()); - attributes.put("kaleoInstanceTokenId", getKaleoInstanceTokenId()); - attributes.put("kaleoTaskInstanceTokenId", getKaleoTaskInstanceTokenId()); - attributes.put("kaleoNodeName", getKaleoNodeName()); - attributes.put("terminalKaleoNode", getTerminalKaleoNode()); - attributes.put("kaleoActionId", getKaleoActionId()); - attributes.put("kaleoActionName", getKaleoActionName()); - attributes.put("kaleoActionDescription", getKaleoActionDescription()); - attributes.put("previousKaleoNodeId", getPreviousKaleoNodeId()); - attributes.put("previousKaleoNodeName", getPreviousKaleoNodeName()); - attributes.put("previousAssigneeClassName", - getPreviousAssigneeClassName()); - attributes.put("previousAssigneeClassPK", getPreviousAssigneeClassPK()); - attributes.put("currentAssigneeClassName", getCurrentAssigneeClassName()); - attributes.put("currentAssigneeClassPK", getCurrentAssigneeClassPK()); - attributes.put("type", getType()); - attributes.put("comment", getComment()); - attributes.put("startDate", getStartDate()); - attributes.put("endDate", getEndDate()); - attributes.put("duration", getDuration()); - attributes.put("workflowContext", getWorkflowContext()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long kaleoLogId = (Long)attributes.get("kaleoLogId"); - - if (kaleoLogId != null) { - setKaleoLogId(kaleoLogId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - String kaleoClassName = (String)attributes.get("kaleoClassName"); - - if (kaleoClassName != null) { - setKaleoClassName(kaleoClassName); - } - - Long kaleoClassPK = (Long)attributes.get("kaleoClassPK"); - - if (kaleoClassPK != null) { - setKaleoClassPK(kaleoClassPK); - } - - Long kaleoDefinitionId = (Long)attributes.get("kaleoDefinitionId"); - - if (kaleoDefinitionId != null) { - setKaleoDefinitionId(kaleoDefinitionId); - } - - Long kaleoInstanceId = (Long)attributes.get("kaleoInstanceId"); - - if (kaleoInstanceId != null) { - setKaleoInstanceId(kaleoInstanceId); - } - - Long kaleoInstanceTokenId = (Long)attributes.get("kaleoInstanceTokenId"); - - if (kaleoInstanceTokenId != null) { - setKaleoInstanceTokenId(kaleoInstanceTokenId); - } - - Long kaleoTaskInstanceTokenId = (Long)attributes.get( - "kaleoTaskInstanceTokenId"); - - if (kaleoTaskInstanceTokenId != null) { - setKaleoTaskInstanceTokenId(kaleoTaskInstanceTokenId); - } - - String kaleoNodeName = (String)attributes.get("kaleoNodeName"); - - if (kaleoNodeName != null) { - setKaleoNodeName(kaleoNodeName); - } - - Boolean terminalKaleoNode = (Boolean)attributes.get("terminalKaleoNode"); - - if (terminalKaleoNode != null) { - setTerminalKaleoNode(terminalKaleoNode); - } - - Long kaleoActionId = (Long)attributes.get("kaleoActionId"); - - if (kaleoActionId != null) { - setKaleoActionId(kaleoActionId); - } - - String kaleoActionName = (String)attributes.get("kaleoActionName"); - - if (kaleoActionName != null) { - setKaleoActionName(kaleoActionName); - } - - String kaleoActionDescription = (String)attributes.get( - "kaleoActionDescription"); - - if (kaleoActionDescription != null) { - setKaleoActionDescription(kaleoActionDescription); - } - - Long previousKaleoNodeId = (Long)attributes.get("previousKaleoNodeId"); - - if (previousKaleoNodeId != null) { - setPreviousKaleoNodeId(previousKaleoNodeId); - } - - String previousKaleoNodeName = (String)attributes.get( - "previousKaleoNodeName"); - - if (previousKaleoNodeName != null) { - setPreviousKaleoNodeName(previousKaleoNodeName); - } - - String previousAssigneeClassName = (String)attributes.get( - "previousAssigneeClassName"); - - if (previousAssigneeClassName != null) { - setPreviousAssigneeClassName(previousAssigneeClassName); - } - - Long previousAssigneeClassPK = (Long)attributes.get( - "previousAssigneeClassPK"); - - if (previousAssigneeClassPK != null) { - setPreviousAssigneeClassPK(previousAssigneeClassPK); - } - - String currentAssigneeClassName = (String)attributes.get( - "currentAssigneeClassName"); - - if (currentAssigneeClassName != null) { - setCurrentAssigneeClassName(currentAssigneeClassName); - } - - Long currentAssigneeClassPK = (Long)attributes.get( - "currentAssigneeClassPK"); - - if (currentAssigneeClassPK != null) { - setCurrentAssigneeClassPK(currentAssigneeClassPK); - } - - String type = (String)attributes.get("type"); - - if (type != null) { - setType(type); - } - - String comment = (String)attributes.get("comment"); - - if (comment != null) { - setComment(comment); - } - - Date startDate = (Date)attributes.get("startDate"); - - if (startDate != null) { - setStartDate(startDate); - } - - Date endDate = (Date)attributes.get("endDate"); - - if (endDate != null) { - setEndDate(endDate); - } - - Long duration = (Long)attributes.get("duration"); - - if (duration != null) { - setDuration(duration); - } - - String workflowContext = (String)attributes.get("workflowContext"); - - if (workflowContext != null) { - setWorkflowContext(workflowContext); - } - } - - @Override - public long getKaleoLogId() { - return _kaleoLogId; - } - - @Override - public void setKaleoLogId(long kaleoLogId) { - _kaleoLogId = kaleoLogId; - - if (_kaleoLogRemoteModel != null) { - try { - Class clazz = _kaleoLogRemoteModel.getClass(); - - Method method = clazz.getMethod("setKaleoLogId", long.class); - - method.invoke(_kaleoLogRemoteModel, kaleoLogId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_kaleoLogRemoteModel != null) { - try { - Class clazz = _kaleoLogRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_kaleoLogRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_kaleoLogRemoteModel != null) { - try { - Class clazz = _kaleoLogRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_kaleoLogRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_kaleoLogRemoteModel != null) { - try { - Class clazz = _kaleoLogRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_kaleoLogRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_kaleoLogRemoteModel != null) { - try { - Class clazz = _kaleoLogRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_kaleoLogRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_kaleoLogRemoteModel != null) { - try { - Class clazz = _kaleoLogRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_kaleoLogRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_kaleoLogRemoteModel != null) { - try { - Class clazz = _kaleoLogRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_kaleoLogRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getKaleoClassName() { - return _kaleoClassName; - } - - @Override - public void setKaleoClassName(String kaleoClassName) { - _kaleoClassName = kaleoClassName; - - if (_kaleoLogRemoteModel != null) { - try { - Class clazz = _kaleoLogRemoteModel.getClass(); - - Method method = clazz.getMethod("setKaleoClassName", - String.class); - - method.invoke(_kaleoLogRemoteModel, kaleoClassName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getKaleoClassPK() { - return _kaleoClassPK; - } - - @Override - public void setKaleoClassPK(long kaleoClassPK) { - _kaleoClassPK = kaleoClassPK; - - if (_kaleoLogRemoteModel != null) { - try { - Class clazz = _kaleoLogRemoteModel.getClass(); - - Method method = clazz.getMethod("setKaleoClassPK", long.class); - - method.invoke(_kaleoLogRemoteModel, kaleoClassPK); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getKaleoDefinitionId() { - return _kaleoDefinitionId; - } - - @Override - public void setKaleoDefinitionId(long kaleoDefinitionId) { - _kaleoDefinitionId = kaleoDefinitionId; - - if (_kaleoLogRemoteModel != null) { - try { - Class clazz = _kaleoLogRemoteModel.getClass(); - - Method method = clazz.getMethod("setKaleoDefinitionId", - long.class); - - method.invoke(_kaleoLogRemoteModel, kaleoDefinitionId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getKaleoInstanceId() { - return _kaleoInstanceId; - } - - @Override - public void setKaleoInstanceId(long kaleoInstanceId) { - _kaleoInstanceId = kaleoInstanceId; - - if (_kaleoLogRemoteModel != null) { - try { - Class clazz = _kaleoLogRemoteModel.getClass(); - - Method method = clazz.getMethod("setKaleoInstanceId", long.class); - - method.invoke(_kaleoLogRemoteModel, kaleoInstanceId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getKaleoInstanceTokenId() { - return _kaleoInstanceTokenId; - } - - @Override - public void setKaleoInstanceTokenId(long kaleoInstanceTokenId) { - _kaleoInstanceTokenId = kaleoInstanceTokenId; - - if (_kaleoLogRemoteModel != null) { - try { - Class clazz = _kaleoLogRemoteModel.getClass(); - - Method method = clazz.getMethod("setKaleoInstanceTokenId", - long.class); - - method.invoke(_kaleoLogRemoteModel, kaleoInstanceTokenId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getKaleoTaskInstanceTokenId() { - return _kaleoTaskInstanceTokenId; - } - - @Override - public void setKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId) { - _kaleoTaskInstanceTokenId = kaleoTaskInstanceTokenId; - - if (_kaleoLogRemoteModel != null) { - try { - Class clazz = _kaleoLogRemoteModel.getClass(); - - Method method = clazz.getMethod("setKaleoTaskInstanceTokenId", - long.class); - - method.invoke(_kaleoLogRemoteModel, kaleoTaskInstanceTokenId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getKaleoNodeName() { - return _kaleoNodeName; - } - - @Override - public void setKaleoNodeName(String kaleoNodeName) { - _kaleoNodeName = kaleoNodeName; - - if (_kaleoLogRemoteModel != null) { - try { - Class clazz = _kaleoLogRemoteModel.getClass(); - - Method method = clazz.getMethod("setKaleoNodeName", String.class); - - method.invoke(_kaleoLogRemoteModel, kaleoNodeName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getTerminalKaleoNode() { - return _terminalKaleoNode; - } - - @Override - public boolean isTerminalKaleoNode() { - return _terminalKaleoNode; - } - - @Override - public void setTerminalKaleoNode(boolean terminalKaleoNode) { - _terminalKaleoNode = terminalKaleoNode; - - if (_kaleoLogRemoteModel != null) { - try { - Class clazz = _kaleoLogRemoteModel.getClass(); - - Method method = clazz.getMethod("setTerminalKaleoNode", - boolean.class); - - method.invoke(_kaleoLogRemoteModel, terminalKaleoNode); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getKaleoActionId() { - return _kaleoActionId; - } - - @Override - public void setKaleoActionId(long kaleoActionId) { - _kaleoActionId = kaleoActionId; - - if (_kaleoLogRemoteModel != null) { - try { - Class clazz = _kaleoLogRemoteModel.getClass(); - - Method method = clazz.getMethod("setKaleoActionId", long.class); - - method.invoke(_kaleoLogRemoteModel, kaleoActionId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getKaleoActionName() { - return _kaleoActionName; - } - - @Override - public void setKaleoActionName(String kaleoActionName) { - _kaleoActionName = kaleoActionName; - - if (_kaleoLogRemoteModel != null) { - try { - Class clazz = _kaleoLogRemoteModel.getClass(); - - Method method = clazz.getMethod("setKaleoActionName", - String.class); - - method.invoke(_kaleoLogRemoteModel, kaleoActionName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getKaleoActionDescription() { - return _kaleoActionDescription; - } - - @Override - public void setKaleoActionDescription(String kaleoActionDescription) { - _kaleoActionDescription = kaleoActionDescription; - - if (_kaleoLogRemoteModel != null) { - try { - Class clazz = _kaleoLogRemoteModel.getClass(); - - Method method = clazz.getMethod("setKaleoActionDescription", - String.class); - - method.invoke(_kaleoLogRemoteModel, kaleoActionDescription); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getPreviousKaleoNodeId() { - return _previousKaleoNodeId; - } - - @Override - public void setPreviousKaleoNodeId(long previousKaleoNodeId) { - _previousKaleoNodeId = previousKaleoNodeId; - - if (_kaleoLogRemoteModel != null) { - try { - Class clazz = _kaleoLogRemoteModel.getClass(); - - Method method = clazz.getMethod("setPreviousKaleoNodeId", - long.class); - - method.invoke(_kaleoLogRemoteModel, previousKaleoNodeId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getPreviousKaleoNodeName() { - return _previousKaleoNodeName; - } - - @Override - public void setPreviousKaleoNodeName(String previousKaleoNodeName) { - _previousKaleoNodeName = previousKaleoNodeName; - - if (_kaleoLogRemoteModel != null) { - try { - Class clazz = _kaleoLogRemoteModel.getClass(); - - Method method = clazz.getMethod("setPreviousKaleoNodeName", - String.class); - - method.invoke(_kaleoLogRemoteModel, previousKaleoNodeName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getPreviousAssigneeClassName() { - return _previousAssigneeClassName; - } - - @Override - public void setPreviousAssigneeClassName(String previousAssigneeClassName) { - _previousAssigneeClassName = previousAssigneeClassName; - - if (_kaleoLogRemoteModel != null) { - try { - Class clazz = _kaleoLogRemoteModel.getClass(); - - Method method = clazz.getMethod("setPreviousAssigneeClassName", - String.class); - - method.invoke(_kaleoLogRemoteModel, previousAssigneeClassName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getPreviousAssigneeClassPK() { - return _previousAssigneeClassPK; - } - - @Override - public void setPreviousAssigneeClassPK(long previousAssigneeClassPK) { - _previousAssigneeClassPK = previousAssigneeClassPK; - - if (_kaleoLogRemoteModel != null) { - try { - Class clazz = _kaleoLogRemoteModel.getClass(); - - Method method = clazz.getMethod("setPreviousAssigneeClassPK", - long.class); - - method.invoke(_kaleoLogRemoteModel, previousAssigneeClassPK); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCurrentAssigneeClassName() { - return _currentAssigneeClassName; - } - - @Override - public void setCurrentAssigneeClassName(String currentAssigneeClassName) { - _currentAssigneeClassName = currentAssigneeClassName; - - if (_kaleoLogRemoteModel != null) { - try { - Class clazz = _kaleoLogRemoteModel.getClass(); - - Method method = clazz.getMethod("setCurrentAssigneeClassName", - String.class); - - method.invoke(_kaleoLogRemoteModel, currentAssigneeClassName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCurrentAssigneeClassPK() { - return _currentAssigneeClassPK; - } - - @Override - public void setCurrentAssigneeClassPK(long currentAssigneeClassPK) { - _currentAssigneeClassPK = currentAssigneeClassPK; - - if (_kaleoLogRemoteModel != null) { - try { - Class clazz = _kaleoLogRemoteModel.getClass(); - - Method method = clazz.getMethod("setCurrentAssigneeClassPK", - long.class); - - method.invoke(_kaleoLogRemoteModel, currentAssigneeClassPK); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getType() { - return _type; - } - - @Override - public void setType(String type) { - _type = type; - - if (_kaleoLogRemoteModel != null) { - try { - Class clazz = _kaleoLogRemoteModel.getClass(); - - Method method = clazz.getMethod("setType", String.class); - - method.invoke(_kaleoLogRemoteModel, type); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getComment() { - return _comment; - } - - @Override - public void setComment(String comment) { - _comment = comment; - - if (_kaleoLogRemoteModel != null) { - try { - Class clazz = _kaleoLogRemoteModel.getClass(); - - Method method = clazz.getMethod("setComment", String.class); - - method.invoke(_kaleoLogRemoteModel, comment); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getStartDate() { - return _startDate; - } - - @Override - public void setStartDate(Date startDate) { - _startDate = startDate; - - if (_kaleoLogRemoteModel != null) { - try { - Class clazz = _kaleoLogRemoteModel.getClass(); - - Method method = clazz.getMethod("setStartDate", Date.class); - - method.invoke(_kaleoLogRemoteModel, startDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getEndDate() { - return _endDate; - } - - @Override - public void setEndDate(Date endDate) { - _endDate = endDate; - - if (_kaleoLogRemoteModel != null) { - try { - Class clazz = _kaleoLogRemoteModel.getClass(); - - Method method = clazz.getMethod("setEndDate", Date.class); - - method.invoke(_kaleoLogRemoteModel, endDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getDuration() { - return _duration; - } - - @Override - public void setDuration(long duration) { - _duration = duration; - - if (_kaleoLogRemoteModel != null) { - try { - Class clazz = _kaleoLogRemoteModel.getClass(); - - Method method = clazz.getMethod("setDuration", long.class); - - method.invoke(_kaleoLogRemoteModel, duration); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getWorkflowContext() { - return _workflowContext; - } - - @Override - public void setWorkflowContext(String workflowContext) { - _workflowContext = workflowContext; - - if (_kaleoLogRemoteModel != null) { - try { - Class clazz = _kaleoLogRemoteModel.getClass(); - - Method method = clazz.getMethod("setWorkflowContext", - String.class); - - method.invoke(_kaleoLogRemoteModel, workflowContext); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - public BaseModel getKaleoLogRemoteModel() { - return _kaleoLogRemoteModel; - } - - public void setKaleoLogRemoteModel(BaseModel kaleoLogRemoteModel) { - _kaleoLogRemoteModel = kaleoLogRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _kaleoLogRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_kaleoLogRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - KaleoLogLocalServiceUtil.addKaleoLog(this); - } - else { - KaleoLogLocalServiceUtil.updateKaleoLog(this); - } - } - - @Override - public KaleoLog toEscapedModel() { - return (KaleoLog)ProxyUtil.newProxyInstance(KaleoLog.class.getClassLoader(), - new Class[] { KaleoLog.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - KaleoLogClp clone = new KaleoLogClp(); - - clone.setKaleoLogId(getKaleoLogId()); - clone.setGroupId(getGroupId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setKaleoClassName(getKaleoClassName()); - clone.setKaleoClassPK(getKaleoClassPK()); - clone.setKaleoDefinitionId(getKaleoDefinitionId()); - clone.setKaleoInstanceId(getKaleoInstanceId()); - clone.setKaleoInstanceTokenId(getKaleoInstanceTokenId()); - clone.setKaleoTaskInstanceTokenId(getKaleoTaskInstanceTokenId()); - clone.setKaleoNodeName(getKaleoNodeName()); - clone.setTerminalKaleoNode(getTerminalKaleoNode()); - clone.setKaleoActionId(getKaleoActionId()); - clone.setKaleoActionName(getKaleoActionName()); - clone.setKaleoActionDescription(getKaleoActionDescription()); - clone.setPreviousKaleoNodeId(getPreviousKaleoNodeId()); - clone.setPreviousKaleoNodeName(getPreviousKaleoNodeName()); - clone.setPreviousAssigneeClassName(getPreviousAssigneeClassName()); - clone.setPreviousAssigneeClassPK(getPreviousAssigneeClassPK()); - clone.setCurrentAssigneeClassName(getCurrentAssigneeClassName()); - clone.setCurrentAssigneeClassPK(getCurrentAssigneeClassPK()); - clone.setType(getType()); - clone.setComment(getComment()); - clone.setStartDate(getStartDate()); - clone.setEndDate(getEndDate()); - clone.setDuration(getDuration()); - clone.setWorkflowContext(getWorkflowContext()); - - return clone; - } - - @Override - public int compareTo(KaleoLog kaleoLog) { - int value = 0; - - if (getKaleoLogId() < kaleoLog.getKaleoLogId()) { - value = -1; - } - else if (getKaleoLogId() > kaleoLog.getKaleoLogId()) { - value = 1; - } - else { - value = 0; - } - - if (value != 0) { - return value; - } - - return 0; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof KaleoLogClp)) { - return false; - } - - KaleoLogClp kaleoLog = (KaleoLogClp)obj; - - long primaryKey = kaleoLog.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(61); - - sb.append("{kaleoLogId="); - sb.append(getKaleoLogId()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", kaleoClassName="); - sb.append(getKaleoClassName()); - sb.append(", kaleoClassPK="); - sb.append(getKaleoClassPK()); - sb.append(", kaleoDefinitionId="); - sb.append(getKaleoDefinitionId()); - sb.append(", kaleoInstanceId="); - sb.append(getKaleoInstanceId()); - sb.append(", kaleoInstanceTokenId="); - sb.append(getKaleoInstanceTokenId()); - sb.append(", kaleoTaskInstanceTokenId="); - sb.append(getKaleoTaskInstanceTokenId()); - sb.append(", kaleoNodeName="); - sb.append(getKaleoNodeName()); - sb.append(", terminalKaleoNode="); - sb.append(getTerminalKaleoNode()); - sb.append(", kaleoActionId="); - sb.append(getKaleoActionId()); - sb.append(", kaleoActionName="); - sb.append(getKaleoActionName()); - sb.append(", kaleoActionDescription="); - sb.append(getKaleoActionDescription()); - sb.append(", previousKaleoNodeId="); - sb.append(getPreviousKaleoNodeId()); - sb.append(", previousKaleoNodeName="); - sb.append(getPreviousKaleoNodeName()); - sb.append(", previousAssigneeClassName="); - sb.append(getPreviousAssigneeClassName()); - sb.append(", previousAssigneeClassPK="); - sb.append(getPreviousAssigneeClassPK()); - sb.append(", currentAssigneeClassName="); - sb.append(getCurrentAssigneeClassName()); - sb.append(", currentAssigneeClassPK="); - sb.append(getCurrentAssigneeClassPK()); - sb.append(", type="); - sb.append(getType()); - sb.append(", comment="); - sb.append(getComment()); - sb.append(", startDate="); - sb.append(getStartDate()); - sb.append(", endDate="); - sb.append(getEndDate()); - sb.append(", duration="); - sb.append(getDuration()); - sb.append(", workflowContext="); - sb.append(getWorkflowContext()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(94); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.KaleoLog"); - sb.append(""); - - sb.append( - "kaleoLogId"); - sb.append( - "groupId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "kaleoClassName"); - sb.append( - "kaleoClassPK"); - sb.append( - "kaleoDefinitionId"); - sb.append( - "kaleoInstanceId"); - sb.append( - "kaleoInstanceTokenId"); - sb.append( - "kaleoTaskInstanceTokenId"); - sb.append( - "kaleoNodeName"); - sb.append( - "terminalKaleoNode"); - sb.append( - "kaleoActionId"); - sb.append( - "kaleoActionName"); - sb.append( - "kaleoActionDescription"); - sb.append( - "previousKaleoNodeId"); - sb.append( - "previousKaleoNodeName"); - sb.append( - "previousAssigneeClassName"); - sb.append( - "previousAssigneeClassPK"); - sb.append( - "currentAssigneeClassName"); - sb.append( - "currentAssigneeClassPK"); - sb.append( - "type"); - sb.append( - "comment"); - sb.append( - "startDate"); - sb.append( - "endDate"); - sb.append( - "duration"); - sb.append( - "workflowContext"); - - sb.append(""); - - return sb.toString(); - } - - private long _kaleoLogId; - private long _groupId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private String _kaleoClassName; - private long _kaleoClassPK; - private long _kaleoDefinitionId; - private long _kaleoInstanceId; - private long _kaleoInstanceTokenId; - private long _kaleoTaskInstanceTokenId; - private String _kaleoNodeName; - private boolean _terminalKaleoNode; - private long _kaleoActionId; - private String _kaleoActionName; - private String _kaleoActionDescription; - private long _previousKaleoNodeId; - private String _previousKaleoNodeName; - private String _previousAssigneeClassName; - private long _previousAssigneeClassPK; - private String _currentAssigneeClassName; - private long _currentAssigneeClassPK; - private String _type; - private String _comment; - private Date _startDate; - private Date _endDate; - private long _duration; - private String _workflowContext; - private BaseModel _kaleoLogRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.importazione.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoLogModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoLogModel.java deleted file mode 100644 index ebc458c0..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoLogModel.java +++ /dev/null @@ -1,588 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.GroupedModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the KaleoLog service. Represents a row in the "kaleolog" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogImpl}. - *

- * - * @author 3FC - * @see KaleoLog - * @see it.tref.liferay.portos.importazione.model.impl.KaleoLogImpl - * @see it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl - * @generated - */ -public interface KaleoLogModel extends BaseModel, GroupedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a kaleo log model instance should use the {@link KaleoLog} interface instead. - */ - - /** - * Returns the primary key of this kaleo log. - * - * @return the primary key of this kaleo log - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this kaleo log. - * - * @param primaryKey the primary key of this kaleo log - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the kaleo log ID of this kaleo log. - * - * @return the kaleo log ID of this kaleo log - */ - public long getKaleoLogId(); - - /** - * Sets the kaleo log ID of this kaleo log. - * - * @param kaleoLogId the kaleo log ID of this kaleo log - */ - public void setKaleoLogId(long kaleoLogId); - - /** - * Returns the group ID of this kaleo log. - * - * @return the group ID of this kaleo log - */ - @Override - public long getGroupId(); - - /** - * Sets the group ID of this kaleo log. - * - * @param groupId the group ID of this kaleo log - */ - @Override - public void setGroupId(long groupId); - - /** - * Returns the company ID of this kaleo log. - * - * @return the company ID of this kaleo log - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this kaleo log. - * - * @param companyId the company ID of this kaleo log - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this kaleo log. - * - * @return the user ID of this kaleo log - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this kaleo log. - * - * @param userId the user ID of this kaleo log - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this kaleo log. - * - * @return the user uuid of this kaleo log - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this kaleo log. - * - * @param userUuid the user uuid of this kaleo log - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this kaleo log. - * - * @return the user name of this kaleo log - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this kaleo log. - * - * @param userName the user name of this kaleo log - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this kaleo log. - * - * @return the create date of this kaleo log - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this kaleo log. - * - * @param createDate the create date of this kaleo log - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this kaleo log. - * - * @return the modified date of this kaleo log - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this kaleo log. - * - * @param modifiedDate the modified date of this kaleo log - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the kaleo class name of this kaleo log. - * - * @return the kaleo class name of this kaleo log - */ - @AutoEscape - public String getKaleoClassName(); - - /** - * Sets the kaleo class name of this kaleo log. - * - * @param kaleoClassName the kaleo class name of this kaleo log - */ - public void setKaleoClassName(String kaleoClassName); - - /** - * Returns the kaleo class p k of this kaleo log. - * - * @return the kaleo class p k of this kaleo log - */ - public long getKaleoClassPK(); - - /** - * Sets the kaleo class p k of this kaleo log. - * - * @param kaleoClassPK the kaleo class p k of this kaleo log - */ - public void setKaleoClassPK(long kaleoClassPK); - - /** - * Returns the kaleo definition ID of this kaleo log. - * - * @return the kaleo definition ID of this kaleo log - */ - public long getKaleoDefinitionId(); - - /** - * Sets the kaleo definition ID of this kaleo log. - * - * @param kaleoDefinitionId the kaleo definition ID of this kaleo log - */ - public void setKaleoDefinitionId(long kaleoDefinitionId); - - /** - * Returns the kaleo instance ID of this kaleo log. - * - * @return the kaleo instance ID of this kaleo log - */ - public long getKaleoInstanceId(); - - /** - * Sets the kaleo instance ID of this kaleo log. - * - * @param kaleoInstanceId the kaleo instance ID of this kaleo log - */ - public void setKaleoInstanceId(long kaleoInstanceId); - - /** - * Returns the kaleo instance token ID of this kaleo log. - * - * @return the kaleo instance token ID of this kaleo log - */ - public long getKaleoInstanceTokenId(); - - /** - * Sets the kaleo instance token ID of this kaleo log. - * - * @param kaleoInstanceTokenId the kaleo instance token ID of this kaleo log - */ - public void setKaleoInstanceTokenId(long kaleoInstanceTokenId); - - /** - * Returns the kaleo task instance token ID of this kaleo log. - * - * @return the kaleo task instance token ID of this kaleo log - */ - public long getKaleoTaskInstanceTokenId(); - - /** - * Sets the kaleo task instance token ID of this kaleo log. - * - * @param kaleoTaskInstanceTokenId the kaleo task instance token ID of this kaleo log - */ - public void setKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId); - - /** - * Returns the kaleo node name of this kaleo log. - * - * @return the kaleo node name of this kaleo log - */ - @AutoEscape - public String getKaleoNodeName(); - - /** - * Sets the kaleo node name of this kaleo log. - * - * @param kaleoNodeName the kaleo node name of this kaleo log - */ - public void setKaleoNodeName(String kaleoNodeName); - - /** - * Returns the terminal kaleo node of this kaleo log. - * - * @return the terminal kaleo node of this kaleo log - */ - public boolean getTerminalKaleoNode(); - - /** - * Returns true if this kaleo log is terminal kaleo node. - * - * @return true if this kaleo log is terminal kaleo node; false otherwise - */ - public boolean isTerminalKaleoNode(); - - /** - * Sets whether this kaleo log is terminal kaleo node. - * - * @param terminalKaleoNode the terminal kaleo node of this kaleo log - */ - public void setTerminalKaleoNode(boolean terminalKaleoNode); - - /** - * Returns the kaleo action ID of this kaleo log. - * - * @return the kaleo action ID of this kaleo log - */ - public long getKaleoActionId(); - - /** - * Sets the kaleo action ID of this kaleo log. - * - * @param kaleoActionId the kaleo action ID of this kaleo log - */ - public void setKaleoActionId(long kaleoActionId); - - /** - * Returns the kaleo action name of this kaleo log. - * - * @return the kaleo action name of this kaleo log - */ - @AutoEscape - public String getKaleoActionName(); - - /** - * Sets the kaleo action name of this kaleo log. - * - * @param kaleoActionName the kaleo action name of this kaleo log - */ - public void setKaleoActionName(String kaleoActionName); - - /** - * Returns the kaleo action description of this kaleo log. - * - * @return the kaleo action description of this kaleo log - */ - @AutoEscape - public String getKaleoActionDescription(); - - /** - * Sets the kaleo action description of this kaleo log. - * - * @param kaleoActionDescription the kaleo action description of this kaleo log - */ - public void setKaleoActionDescription(String kaleoActionDescription); - - /** - * Returns the previous kaleo node ID of this kaleo log. - * - * @return the previous kaleo node ID of this kaleo log - */ - public long getPreviousKaleoNodeId(); - - /** - * Sets the previous kaleo node ID of this kaleo log. - * - * @param previousKaleoNodeId the previous kaleo node ID of this kaleo log - */ - public void setPreviousKaleoNodeId(long previousKaleoNodeId); - - /** - * Returns the previous kaleo node name of this kaleo log. - * - * @return the previous kaleo node name of this kaleo log - */ - @AutoEscape - public String getPreviousKaleoNodeName(); - - /** - * Sets the previous kaleo node name of this kaleo log. - * - * @param previousKaleoNodeName the previous kaleo node name of this kaleo log - */ - public void setPreviousKaleoNodeName(String previousKaleoNodeName); - - /** - * Returns the previous assignee class name of this kaleo log. - * - * @return the previous assignee class name of this kaleo log - */ - @AutoEscape - public String getPreviousAssigneeClassName(); - - /** - * Sets the previous assignee class name of this kaleo log. - * - * @param previousAssigneeClassName the previous assignee class name of this kaleo log - */ - public void setPreviousAssigneeClassName(String previousAssigneeClassName); - - /** - * Returns the previous assignee class p k of this kaleo log. - * - * @return the previous assignee class p k of this kaleo log - */ - public long getPreviousAssigneeClassPK(); - - /** - * Sets the previous assignee class p k of this kaleo log. - * - * @param previousAssigneeClassPK the previous assignee class p k of this kaleo log - */ - public void setPreviousAssigneeClassPK(long previousAssigneeClassPK); - - /** - * Returns the current assignee class name of this kaleo log. - * - * @return the current assignee class name of this kaleo log - */ - @AutoEscape - public String getCurrentAssigneeClassName(); - - /** - * Sets the current assignee class name of this kaleo log. - * - * @param currentAssigneeClassName the current assignee class name of this kaleo log - */ - public void setCurrentAssigneeClassName(String currentAssigneeClassName); - - /** - * Returns the current assignee class p k of this kaleo log. - * - * @return the current assignee class p k of this kaleo log - */ - public long getCurrentAssigneeClassPK(); - - /** - * Sets the current assignee class p k of this kaleo log. - * - * @param currentAssigneeClassPK the current assignee class p k of this kaleo log - */ - public void setCurrentAssigneeClassPK(long currentAssigneeClassPK); - - /** - * Returns the type of this kaleo log. - * - * @return the type of this kaleo log - */ - @AutoEscape - public String getType(); - - /** - * Sets the type of this kaleo log. - * - * @param type the type of this kaleo log - */ - public void setType(String type); - - /** - * Returns the comment of this kaleo log. - * - * @return the comment of this kaleo log - */ - @AutoEscape - public String getComment(); - - /** - * Sets the comment of this kaleo log. - * - * @param comment the comment of this kaleo log - */ - public void setComment(String comment); - - /** - * Returns the start date of this kaleo log. - * - * @return the start date of this kaleo log - */ - public Date getStartDate(); - - /** - * Sets the start date of this kaleo log. - * - * @param startDate the start date of this kaleo log - */ - public void setStartDate(Date startDate); - - /** - * Returns the end date of this kaleo log. - * - * @return the end date of this kaleo log - */ - public Date getEndDate(); - - /** - * Sets the end date of this kaleo log. - * - * @param endDate the end date of this kaleo log - */ - public void setEndDate(Date endDate); - - /** - * Returns the duration of this kaleo log. - * - * @return the duration of this kaleo log - */ - public long getDuration(); - - /** - * Sets the duration of this kaleo log. - * - * @param duration the duration of this kaleo log - */ - public void setDuration(long duration); - - /** - * Returns the workflow context of this kaleo log. - * - * @return the workflow context of this kaleo log - */ - @AutoEscape - public String getWorkflowContext(); - - /** - * Sets the workflow context of this kaleo log. - * - * @param workflowContext the workflow context of this kaleo log - */ - public void setWorkflowContext(String workflowContext); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.KaleoLog kaleoLog); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.importazione.model.KaleoLog toEscapedModel(); - - @Override - public it.tref.liferay.portos.importazione.model.KaleoLog toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoLogSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoLogSoap.java deleted file mode 100644 index 38287327..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoLogSoap.java +++ /dev/null @@ -1,389 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author 3FC - * @generated - */ -public class KaleoLogSoap implements Serializable { - public static KaleoLogSoap toSoapModel(KaleoLog model) { - KaleoLogSoap soapModel = new KaleoLogSoap(); - - soapModel.setKaleoLogId(model.getKaleoLogId()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setKaleoClassName(model.getKaleoClassName()); - soapModel.setKaleoClassPK(model.getKaleoClassPK()); - soapModel.setKaleoDefinitionId(model.getKaleoDefinitionId()); - soapModel.setKaleoInstanceId(model.getKaleoInstanceId()); - soapModel.setKaleoInstanceTokenId(model.getKaleoInstanceTokenId()); - soapModel.setKaleoTaskInstanceTokenId(model.getKaleoTaskInstanceTokenId()); - soapModel.setKaleoNodeName(model.getKaleoNodeName()); - soapModel.setTerminalKaleoNode(model.getTerminalKaleoNode()); - soapModel.setKaleoActionId(model.getKaleoActionId()); - soapModel.setKaleoActionName(model.getKaleoActionName()); - soapModel.setKaleoActionDescription(model.getKaleoActionDescription()); - soapModel.setPreviousKaleoNodeId(model.getPreviousKaleoNodeId()); - soapModel.setPreviousKaleoNodeName(model.getPreviousKaleoNodeName()); - soapModel.setPreviousAssigneeClassName(model.getPreviousAssigneeClassName()); - soapModel.setPreviousAssigneeClassPK(model.getPreviousAssigneeClassPK()); - soapModel.setCurrentAssigneeClassName(model.getCurrentAssigneeClassName()); - soapModel.setCurrentAssigneeClassPK(model.getCurrentAssigneeClassPK()); - soapModel.setType(model.getType()); - soapModel.setComment(model.getComment()); - soapModel.setStartDate(model.getStartDate()); - soapModel.setEndDate(model.getEndDate()); - soapModel.setDuration(model.getDuration()); - soapModel.setWorkflowContext(model.getWorkflowContext()); - - return soapModel; - } - - public static KaleoLogSoap[] toSoapModels(KaleoLog[] models) { - KaleoLogSoap[] soapModels = new KaleoLogSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static KaleoLogSoap[][] toSoapModels(KaleoLog[][] models) { - KaleoLogSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new KaleoLogSoap[models.length][models[0].length]; - } - else { - soapModels = new KaleoLogSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static KaleoLogSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (KaleoLog model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new KaleoLogSoap[soapModels.size()]); - } - - public KaleoLogSoap() { - } - - public long getPrimaryKey() { - return _kaleoLogId; - } - - public void setPrimaryKey(long pk) { - setKaleoLogId(pk); - } - - public long getKaleoLogId() { - return _kaleoLogId; - } - - public void setKaleoLogId(long kaleoLogId) { - _kaleoLogId = kaleoLogId; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public String getKaleoClassName() { - return _kaleoClassName; - } - - public void setKaleoClassName(String kaleoClassName) { - _kaleoClassName = kaleoClassName; - } - - public long getKaleoClassPK() { - return _kaleoClassPK; - } - - public void setKaleoClassPK(long kaleoClassPK) { - _kaleoClassPK = kaleoClassPK; - } - - public long getKaleoDefinitionId() { - return _kaleoDefinitionId; - } - - public void setKaleoDefinitionId(long kaleoDefinitionId) { - _kaleoDefinitionId = kaleoDefinitionId; - } - - public long getKaleoInstanceId() { - return _kaleoInstanceId; - } - - public void setKaleoInstanceId(long kaleoInstanceId) { - _kaleoInstanceId = kaleoInstanceId; - } - - public long getKaleoInstanceTokenId() { - return _kaleoInstanceTokenId; - } - - public void setKaleoInstanceTokenId(long kaleoInstanceTokenId) { - _kaleoInstanceTokenId = kaleoInstanceTokenId; - } - - public long getKaleoTaskInstanceTokenId() { - return _kaleoTaskInstanceTokenId; - } - - public void setKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId) { - _kaleoTaskInstanceTokenId = kaleoTaskInstanceTokenId; - } - - public String getKaleoNodeName() { - return _kaleoNodeName; - } - - public void setKaleoNodeName(String kaleoNodeName) { - _kaleoNodeName = kaleoNodeName; - } - - public boolean getTerminalKaleoNode() { - return _terminalKaleoNode; - } - - public boolean isTerminalKaleoNode() { - return _terminalKaleoNode; - } - - public void setTerminalKaleoNode(boolean terminalKaleoNode) { - _terminalKaleoNode = terminalKaleoNode; - } - - public long getKaleoActionId() { - return _kaleoActionId; - } - - public void setKaleoActionId(long kaleoActionId) { - _kaleoActionId = kaleoActionId; - } - - public String getKaleoActionName() { - return _kaleoActionName; - } - - public void setKaleoActionName(String kaleoActionName) { - _kaleoActionName = kaleoActionName; - } - - public String getKaleoActionDescription() { - return _kaleoActionDescription; - } - - public void setKaleoActionDescription(String kaleoActionDescription) { - _kaleoActionDescription = kaleoActionDescription; - } - - public long getPreviousKaleoNodeId() { - return _previousKaleoNodeId; - } - - public void setPreviousKaleoNodeId(long previousKaleoNodeId) { - _previousKaleoNodeId = previousKaleoNodeId; - } - - public String getPreviousKaleoNodeName() { - return _previousKaleoNodeName; - } - - public void setPreviousKaleoNodeName(String previousKaleoNodeName) { - _previousKaleoNodeName = previousKaleoNodeName; - } - - public String getPreviousAssigneeClassName() { - return _previousAssigneeClassName; - } - - public void setPreviousAssigneeClassName(String previousAssigneeClassName) { - _previousAssigneeClassName = previousAssigneeClassName; - } - - public long getPreviousAssigneeClassPK() { - return _previousAssigneeClassPK; - } - - public void setPreviousAssigneeClassPK(long previousAssigneeClassPK) { - _previousAssigneeClassPK = previousAssigneeClassPK; - } - - public String getCurrentAssigneeClassName() { - return _currentAssigneeClassName; - } - - public void setCurrentAssigneeClassName(String currentAssigneeClassName) { - _currentAssigneeClassName = currentAssigneeClassName; - } - - public long getCurrentAssigneeClassPK() { - return _currentAssigneeClassPK; - } - - public void setCurrentAssigneeClassPK(long currentAssigneeClassPK) { - _currentAssigneeClassPK = currentAssigneeClassPK; - } - - public String getType() { - return _type; - } - - public void setType(String type) { - _type = type; - } - - public String getComment() { - return _comment; - } - - public void setComment(String comment) { - _comment = comment; - } - - public Date getStartDate() { - return _startDate; - } - - public void setStartDate(Date startDate) { - _startDate = startDate; - } - - public Date getEndDate() { - return _endDate; - } - - public void setEndDate(Date endDate) { - _endDate = endDate; - } - - public long getDuration() { - return _duration; - } - - public void setDuration(long duration) { - _duration = duration; - } - - public String getWorkflowContext() { - return _workflowContext; - } - - public void setWorkflowContext(String workflowContext) { - _workflowContext = workflowContext; - } - - private long _kaleoLogId; - private long _groupId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private String _kaleoClassName; - private long _kaleoClassPK; - private long _kaleoDefinitionId; - private long _kaleoInstanceId; - private long _kaleoInstanceTokenId; - private long _kaleoTaskInstanceTokenId; - private String _kaleoNodeName; - private boolean _terminalKaleoNode; - private long _kaleoActionId; - private String _kaleoActionName; - private String _kaleoActionDescription; - private long _previousKaleoNodeId; - private String _previousKaleoNodeName; - private String _previousAssigneeClassName; - private long _previousAssigneeClassPK; - private String _currentAssigneeClassName; - private long _currentAssigneeClassPK; - private String _type; - private String _comment; - private Date _startDate; - private Date _endDate; - private long _duration; - private String _workflowContext; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoLogWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoLogWrapper.java deleted file mode 100644 index ca29de6e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoLogWrapper.java +++ /dev/null @@ -1,1074 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link KaleoLog}. - *

- * - * @author 3FC - * @see KaleoLog - * @generated - */ -public class KaleoLogWrapper implements KaleoLog, ModelWrapper { - public KaleoLogWrapper(KaleoLog kaleoLog) { - _kaleoLog = kaleoLog; - } - - @Override - public Class getModelClass() { - return KaleoLog.class; - } - - @Override - public String getModelClassName() { - return KaleoLog.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("kaleoLogId", getKaleoLogId()); - attributes.put("groupId", getGroupId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("kaleoClassName", getKaleoClassName()); - attributes.put("kaleoClassPK", getKaleoClassPK()); - attributes.put("kaleoDefinitionId", getKaleoDefinitionId()); - attributes.put("kaleoInstanceId", getKaleoInstanceId()); - attributes.put("kaleoInstanceTokenId", getKaleoInstanceTokenId()); - attributes.put("kaleoTaskInstanceTokenId", getKaleoTaskInstanceTokenId()); - attributes.put("kaleoNodeName", getKaleoNodeName()); - attributes.put("terminalKaleoNode", getTerminalKaleoNode()); - attributes.put("kaleoActionId", getKaleoActionId()); - attributes.put("kaleoActionName", getKaleoActionName()); - attributes.put("kaleoActionDescription", getKaleoActionDescription()); - attributes.put("previousKaleoNodeId", getPreviousKaleoNodeId()); - attributes.put("previousKaleoNodeName", getPreviousKaleoNodeName()); - attributes.put("previousAssigneeClassName", - getPreviousAssigneeClassName()); - attributes.put("previousAssigneeClassPK", getPreviousAssigneeClassPK()); - attributes.put("currentAssigneeClassName", getCurrentAssigneeClassName()); - attributes.put("currentAssigneeClassPK", getCurrentAssigneeClassPK()); - attributes.put("type", getType()); - attributes.put("comment", getComment()); - attributes.put("startDate", getStartDate()); - attributes.put("endDate", getEndDate()); - attributes.put("duration", getDuration()); - attributes.put("workflowContext", getWorkflowContext()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long kaleoLogId = (Long)attributes.get("kaleoLogId"); - - if (kaleoLogId != null) { - setKaleoLogId(kaleoLogId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - String kaleoClassName = (String)attributes.get("kaleoClassName"); - - if (kaleoClassName != null) { - setKaleoClassName(kaleoClassName); - } - - Long kaleoClassPK = (Long)attributes.get("kaleoClassPK"); - - if (kaleoClassPK != null) { - setKaleoClassPK(kaleoClassPK); - } - - Long kaleoDefinitionId = (Long)attributes.get("kaleoDefinitionId"); - - if (kaleoDefinitionId != null) { - setKaleoDefinitionId(kaleoDefinitionId); - } - - Long kaleoInstanceId = (Long)attributes.get("kaleoInstanceId"); - - if (kaleoInstanceId != null) { - setKaleoInstanceId(kaleoInstanceId); - } - - Long kaleoInstanceTokenId = (Long)attributes.get("kaleoInstanceTokenId"); - - if (kaleoInstanceTokenId != null) { - setKaleoInstanceTokenId(kaleoInstanceTokenId); - } - - Long kaleoTaskInstanceTokenId = (Long)attributes.get( - "kaleoTaskInstanceTokenId"); - - if (kaleoTaskInstanceTokenId != null) { - setKaleoTaskInstanceTokenId(kaleoTaskInstanceTokenId); - } - - String kaleoNodeName = (String)attributes.get("kaleoNodeName"); - - if (kaleoNodeName != null) { - setKaleoNodeName(kaleoNodeName); - } - - Boolean terminalKaleoNode = (Boolean)attributes.get("terminalKaleoNode"); - - if (terminalKaleoNode != null) { - setTerminalKaleoNode(terminalKaleoNode); - } - - Long kaleoActionId = (Long)attributes.get("kaleoActionId"); - - if (kaleoActionId != null) { - setKaleoActionId(kaleoActionId); - } - - String kaleoActionName = (String)attributes.get("kaleoActionName"); - - if (kaleoActionName != null) { - setKaleoActionName(kaleoActionName); - } - - String kaleoActionDescription = (String)attributes.get( - "kaleoActionDescription"); - - if (kaleoActionDescription != null) { - setKaleoActionDescription(kaleoActionDescription); - } - - Long previousKaleoNodeId = (Long)attributes.get("previousKaleoNodeId"); - - if (previousKaleoNodeId != null) { - setPreviousKaleoNodeId(previousKaleoNodeId); - } - - String previousKaleoNodeName = (String)attributes.get( - "previousKaleoNodeName"); - - if (previousKaleoNodeName != null) { - setPreviousKaleoNodeName(previousKaleoNodeName); - } - - String previousAssigneeClassName = (String)attributes.get( - "previousAssigneeClassName"); - - if (previousAssigneeClassName != null) { - setPreviousAssigneeClassName(previousAssigneeClassName); - } - - Long previousAssigneeClassPK = (Long)attributes.get( - "previousAssigneeClassPK"); - - if (previousAssigneeClassPK != null) { - setPreviousAssigneeClassPK(previousAssigneeClassPK); - } - - String currentAssigneeClassName = (String)attributes.get( - "currentAssigneeClassName"); - - if (currentAssigneeClassName != null) { - setCurrentAssigneeClassName(currentAssigneeClassName); - } - - Long currentAssigneeClassPK = (Long)attributes.get( - "currentAssigneeClassPK"); - - if (currentAssigneeClassPK != null) { - setCurrentAssigneeClassPK(currentAssigneeClassPK); - } - - String type = (String)attributes.get("type"); - - if (type != null) { - setType(type); - } - - String comment = (String)attributes.get("comment"); - - if (comment != null) { - setComment(comment); - } - - Date startDate = (Date)attributes.get("startDate"); - - if (startDate != null) { - setStartDate(startDate); - } - - Date endDate = (Date)attributes.get("endDate"); - - if (endDate != null) { - setEndDate(endDate); - } - - Long duration = (Long)attributes.get("duration"); - - if (duration != null) { - setDuration(duration); - } - - String workflowContext = (String)attributes.get("workflowContext"); - - if (workflowContext != null) { - setWorkflowContext(workflowContext); - } - } - - /** - * Returns the primary key of this kaleo log. - * - * @return the primary key of this kaleo log - */ - @Override - public long getPrimaryKey() { - return _kaleoLog.getPrimaryKey(); - } - - /** - * Sets the primary key of this kaleo log. - * - * @param primaryKey the primary key of this kaleo log - */ - @Override - public void setPrimaryKey(long primaryKey) { - _kaleoLog.setPrimaryKey(primaryKey); - } - - /** - * Returns the kaleo log ID of this kaleo log. - * - * @return the kaleo log ID of this kaleo log - */ - @Override - public long getKaleoLogId() { - return _kaleoLog.getKaleoLogId(); - } - - /** - * Sets the kaleo log ID of this kaleo log. - * - * @param kaleoLogId the kaleo log ID of this kaleo log - */ - @Override - public void setKaleoLogId(long kaleoLogId) { - _kaleoLog.setKaleoLogId(kaleoLogId); - } - - /** - * Returns the group ID of this kaleo log. - * - * @return the group ID of this kaleo log - */ - @Override - public long getGroupId() { - return _kaleoLog.getGroupId(); - } - - /** - * Sets the group ID of this kaleo log. - * - * @param groupId the group ID of this kaleo log - */ - @Override - public void setGroupId(long groupId) { - _kaleoLog.setGroupId(groupId); - } - - /** - * Returns the company ID of this kaleo log. - * - * @return the company ID of this kaleo log - */ - @Override - public long getCompanyId() { - return _kaleoLog.getCompanyId(); - } - - /** - * Sets the company ID of this kaleo log. - * - * @param companyId the company ID of this kaleo log - */ - @Override - public void setCompanyId(long companyId) { - _kaleoLog.setCompanyId(companyId); - } - - /** - * Returns the user ID of this kaleo log. - * - * @return the user ID of this kaleo log - */ - @Override - public long getUserId() { - return _kaleoLog.getUserId(); - } - - /** - * Sets the user ID of this kaleo log. - * - * @param userId the user ID of this kaleo log - */ - @Override - public void setUserId(long userId) { - _kaleoLog.setUserId(userId); - } - - /** - * Returns the user uuid of this kaleo log. - * - * @return the user uuid of this kaleo log - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoLog.getUserUuid(); - } - - /** - * Sets the user uuid of this kaleo log. - * - * @param userUuid the user uuid of this kaleo log - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _kaleoLog.setUserUuid(userUuid); - } - - /** - * Returns the user name of this kaleo log. - * - * @return the user name of this kaleo log - */ - @Override - public java.lang.String getUserName() { - return _kaleoLog.getUserName(); - } - - /** - * Sets the user name of this kaleo log. - * - * @param userName the user name of this kaleo log - */ - @Override - public void setUserName(java.lang.String userName) { - _kaleoLog.setUserName(userName); - } - - /** - * Returns the create date of this kaleo log. - * - * @return the create date of this kaleo log - */ - @Override - public java.util.Date getCreateDate() { - return _kaleoLog.getCreateDate(); - } - - /** - * Sets the create date of this kaleo log. - * - * @param createDate the create date of this kaleo log - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _kaleoLog.setCreateDate(createDate); - } - - /** - * Returns the modified date of this kaleo log. - * - * @return the modified date of this kaleo log - */ - @Override - public java.util.Date getModifiedDate() { - return _kaleoLog.getModifiedDate(); - } - - /** - * Sets the modified date of this kaleo log. - * - * @param modifiedDate the modified date of this kaleo log - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _kaleoLog.setModifiedDate(modifiedDate); - } - - /** - * Returns the kaleo class name of this kaleo log. - * - * @return the kaleo class name of this kaleo log - */ - @Override - public java.lang.String getKaleoClassName() { - return _kaleoLog.getKaleoClassName(); - } - - /** - * Sets the kaleo class name of this kaleo log. - * - * @param kaleoClassName the kaleo class name of this kaleo log - */ - @Override - public void setKaleoClassName(java.lang.String kaleoClassName) { - _kaleoLog.setKaleoClassName(kaleoClassName); - } - - /** - * Returns the kaleo class p k of this kaleo log. - * - * @return the kaleo class p k of this kaleo log - */ - @Override - public long getKaleoClassPK() { - return _kaleoLog.getKaleoClassPK(); - } - - /** - * Sets the kaleo class p k of this kaleo log. - * - * @param kaleoClassPK the kaleo class p k of this kaleo log - */ - @Override - public void setKaleoClassPK(long kaleoClassPK) { - _kaleoLog.setKaleoClassPK(kaleoClassPK); - } - - /** - * Returns the kaleo definition ID of this kaleo log. - * - * @return the kaleo definition ID of this kaleo log - */ - @Override - public long getKaleoDefinitionId() { - return _kaleoLog.getKaleoDefinitionId(); - } - - /** - * Sets the kaleo definition ID of this kaleo log. - * - * @param kaleoDefinitionId the kaleo definition ID of this kaleo log - */ - @Override - public void setKaleoDefinitionId(long kaleoDefinitionId) { - _kaleoLog.setKaleoDefinitionId(kaleoDefinitionId); - } - - /** - * Returns the kaleo instance ID of this kaleo log. - * - * @return the kaleo instance ID of this kaleo log - */ - @Override - public long getKaleoInstanceId() { - return _kaleoLog.getKaleoInstanceId(); - } - - /** - * Sets the kaleo instance ID of this kaleo log. - * - * @param kaleoInstanceId the kaleo instance ID of this kaleo log - */ - @Override - public void setKaleoInstanceId(long kaleoInstanceId) { - _kaleoLog.setKaleoInstanceId(kaleoInstanceId); - } - - /** - * Returns the kaleo instance token ID of this kaleo log. - * - * @return the kaleo instance token ID of this kaleo log - */ - @Override - public long getKaleoInstanceTokenId() { - return _kaleoLog.getKaleoInstanceTokenId(); - } - - /** - * Sets the kaleo instance token ID of this kaleo log. - * - * @param kaleoInstanceTokenId the kaleo instance token ID of this kaleo log - */ - @Override - public void setKaleoInstanceTokenId(long kaleoInstanceTokenId) { - _kaleoLog.setKaleoInstanceTokenId(kaleoInstanceTokenId); - } - - /** - * Returns the kaleo task instance token ID of this kaleo log. - * - * @return the kaleo task instance token ID of this kaleo log - */ - @Override - public long getKaleoTaskInstanceTokenId() { - return _kaleoLog.getKaleoTaskInstanceTokenId(); - } - - /** - * Sets the kaleo task instance token ID of this kaleo log. - * - * @param kaleoTaskInstanceTokenId the kaleo task instance token ID of this kaleo log - */ - @Override - public void setKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId) { - _kaleoLog.setKaleoTaskInstanceTokenId(kaleoTaskInstanceTokenId); - } - - /** - * Returns the kaleo node name of this kaleo log. - * - * @return the kaleo node name of this kaleo log - */ - @Override - public java.lang.String getKaleoNodeName() { - return _kaleoLog.getKaleoNodeName(); - } - - /** - * Sets the kaleo node name of this kaleo log. - * - * @param kaleoNodeName the kaleo node name of this kaleo log - */ - @Override - public void setKaleoNodeName(java.lang.String kaleoNodeName) { - _kaleoLog.setKaleoNodeName(kaleoNodeName); - } - - /** - * Returns the terminal kaleo node of this kaleo log. - * - * @return the terminal kaleo node of this kaleo log - */ - @Override - public boolean getTerminalKaleoNode() { - return _kaleoLog.getTerminalKaleoNode(); - } - - /** - * Returns true if this kaleo log is terminal kaleo node. - * - * @return true if this kaleo log is terminal kaleo node; false otherwise - */ - @Override - public boolean isTerminalKaleoNode() { - return _kaleoLog.isTerminalKaleoNode(); - } - - /** - * Sets whether this kaleo log is terminal kaleo node. - * - * @param terminalKaleoNode the terminal kaleo node of this kaleo log - */ - @Override - public void setTerminalKaleoNode(boolean terminalKaleoNode) { - _kaleoLog.setTerminalKaleoNode(terminalKaleoNode); - } - - /** - * Returns the kaleo action ID of this kaleo log. - * - * @return the kaleo action ID of this kaleo log - */ - @Override - public long getKaleoActionId() { - return _kaleoLog.getKaleoActionId(); - } - - /** - * Sets the kaleo action ID of this kaleo log. - * - * @param kaleoActionId the kaleo action ID of this kaleo log - */ - @Override - public void setKaleoActionId(long kaleoActionId) { - _kaleoLog.setKaleoActionId(kaleoActionId); - } - - /** - * Returns the kaleo action name of this kaleo log. - * - * @return the kaleo action name of this kaleo log - */ - @Override - public java.lang.String getKaleoActionName() { - return _kaleoLog.getKaleoActionName(); - } - - /** - * Sets the kaleo action name of this kaleo log. - * - * @param kaleoActionName the kaleo action name of this kaleo log - */ - @Override - public void setKaleoActionName(java.lang.String kaleoActionName) { - _kaleoLog.setKaleoActionName(kaleoActionName); - } - - /** - * Returns the kaleo action description of this kaleo log. - * - * @return the kaleo action description of this kaleo log - */ - @Override - public java.lang.String getKaleoActionDescription() { - return _kaleoLog.getKaleoActionDescription(); - } - - /** - * Sets the kaleo action description of this kaleo log. - * - * @param kaleoActionDescription the kaleo action description of this kaleo log - */ - @Override - public void setKaleoActionDescription( - java.lang.String kaleoActionDescription) { - _kaleoLog.setKaleoActionDescription(kaleoActionDescription); - } - - /** - * Returns the previous kaleo node ID of this kaleo log. - * - * @return the previous kaleo node ID of this kaleo log - */ - @Override - public long getPreviousKaleoNodeId() { - return _kaleoLog.getPreviousKaleoNodeId(); - } - - /** - * Sets the previous kaleo node ID of this kaleo log. - * - * @param previousKaleoNodeId the previous kaleo node ID of this kaleo log - */ - @Override - public void setPreviousKaleoNodeId(long previousKaleoNodeId) { - _kaleoLog.setPreviousKaleoNodeId(previousKaleoNodeId); - } - - /** - * Returns the previous kaleo node name of this kaleo log. - * - * @return the previous kaleo node name of this kaleo log - */ - @Override - public java.lang.String getPreviousKaleoNodeName() { - return _kaleoLog.getPreviousKaleoNodeName(); - } - - /** - * Sets the previous kaleo node name of this kaleo log. - * - * @param previousKaleoNodeName the previous kaleo node name of this kaleo log - */ - @Override - public void setPreviousKaleoNodeName(java.lang.String previousKaleoNodeName) { - _kaleoLog.setPreviousKaleoNodeName(previousKaleoNodeName); - } - - /** - * Returns the previous assignee class name of this kaleo log. - * - * @return the previous assignee class name of this kaleo log - */ - @Override - public java.lang.String getPreviousAssigneeClassName() { - return _kaleoLog.getPreviousAssigneeClassName(); - } - - /** - * Sets the previous assignee class name of this kaleo log. - * - * @param previousAssigneeClassName the previous assignee class name of this kaleo log - */ - @Override - public void setPreviousAssigneeClassName( - java.lang.String previousAssigneeClassName) { - _kaleoLog.setPreviousAssigneeClassName(previousAssigneeClassName); - } - - /** - * Returns the previous assignee class p k of this kaleo log. - * - * @return the previous assignee class p k of this kaleo log - */ - @Override - public long getPreviousAssigneeClassPK() { - return _kaleoLog.getPreviousAssigneeClassPK(); - } - - /** - * Sets the previous assignee class p k of this kaleo log. - * - * @param previousAssigneeClassPK the previous assignee class p k of this kaleo log - */ - @Override - public void setPreviousAssigneeClassPK(long previousAssigneeClassPK) { - _kaleoLog.setPreviousAssigneeClassPK(previousAssigneeClassPK); - } - - /** - * Returns the current assignee class name of this kaleo log. - * - * @return the current assignee class name of this kaleo log - */ - @Override - public java.lang.String getCurrentAssigneeClassName() { - return _kaleoLog.getCurrentAssigneeClassName(); - } - - /** - * Sets the current assignee class name of this kaleo log. - * - * @param currentAssigneeClassName the current assignee class name of this kaleo log - */ - @Override - public void setCurrentAssigneeClassName( - java.lang.String currentAssigneeClassName) { - _kaleoLog.setCurrentAssigneeClassName(currentAssigneeClassName); - } - - /** - * Returns the current assignee class p k of this kaleo log. - * - * @return the current assignee class p k of this kaleo log - */ - @Override - public long getCurrentAssigneeClassPK() { - return _kaleoLog.getCurrentAssigneeClassPK(); - } - - /** - * Sets the current assignee class p k of this kaleo log. - * - * @param currentAssigneeClassPK the current assignee class p k of this kaleo log - */ - @Override - public void setCurrentAssigneeClassPK(long currentAssigneeClassPK) { - _kaleoLog.setCurrentAssigneeClassPK(currentAssigneeClassPK); - } - - /** - * Returns the type of this kaleo log. - * - * @return the type of this kaleo log - */ - @Override - public java.lang.String getType() { - return _kaleoLog.getType(); - } - - /** - * Sets the type of this kaleo log. - * - * @param type the type of this kaleo log - */ - @Override - public void setType(java.lang.String type) { - _kaleoLog.setType(type); - } - - /** - * Returns the comment of this kaleo log. - * - * @return the comment of this kaleo log - */ - @Override - public java.lang.String getComment() { - return _kaleoLog.getComment(); - } - - /** - * Sets the comment of this kaleo log. - * - * @param comment the comment of this kaleo log - */ - @Override - public void setComment(java.lang.String comment) { - _kaleoLog.setComment(comment); - } - - /** - * Returns the start date of this kaleo log. - * - * @return the start date of this kaleo log - */ - @Override - public java.util.Date getStartDate() { - return _kaleoLog.getStartDate(); - } - - /** - * Sets the start date of this kaleo log. - * - * @param startDate the start date of this kaleo log - */ - @Override - public void setStartDate(java.util.Date startDate) { - _kaleoLog.setStartDate(startDate); - } - - /** - * Returns the end date of this kaleo log. - * - * @return the end date of this kaleo log - */ - @Override - public java.util.Date getEndDate() { - return _kaleoLog.getEndDate(); - } - - /** - * Sets the end date of this kaleo log. - * - * @param endDate the end date of this kaleo log - */ - @Override - public void setEndDate(java.util.Date endDate) { - _kaleoLog.setEndDate(endDate); - } - - /** - * Returns the duration of this kaleo log. - * - * @return the duration of this kaleo log - */ - @Override - public long getDuration() { - return _kaleoLog.getDuration(); - } - - /** - * Sets the duration of this kaleo log. - * - * @param duration the duration of this kaleo log - */ - @Override - public void setDuration(long duration) { - _kaleoLog.setDuration(duration); - } - - /** - * Returns the workflow context of this kaleo log. - * - * @return the workflow context of this kaleo log - */ - @Override - public java.lang.String getWorkflowContext() { - return _kaleoLog.getWorkflowContext(); - } - - /** - * Sets the workflow context of this kaleo log. - * - * @param workflowContext the workflow context of this kaleo log - */ - @Override - public void setWorkflowContext(java.lang.String workflowContext) { - _kaleoLog.setWorkflowContext(workflowContext); - } - - @Override - public boolean isNew() { - return _kaleoLog.isNew(); - } - - @Override - public void setNew(boolean n) { - _kaleoLog.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _kaleoLog.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _kaleoLog.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _kaleoLog.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _kaleoLog.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _kaleoLog.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _kaleoLog.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _kaleoLog.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _kaleoLog.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _kaleoLog.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new KaleoLogWrapper((KaleoLog)_kaleoLog.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.KaleoLog kaleoLog) { - return _kaleoLog.compareTo(kaleoLog); - } - - @Override - public int hashCode() { - return _kaleoLog.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _kaleoLog.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoLog toEscapedModel() { - return new KaleoLogWrapper(_kaleoLog.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoLog toUnescapedModel() { - return new KaleoLogWrapper(_kaleoLog.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _kaleoLog.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _kaleoLog.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _kaleoLog.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof KaleoLogWrapper)) { - return false; - } - - KaleoLogWrapper kaleoLogWrapper = (KaleoLogWrapper)obj; - - if (Validator.equals(_kaleoLog, kaleoLogWrapper._kaleoLog)) { - return true; - } - - return false; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public KaleoLog getWrappedKaleoLog() { - return _kaleoLog; - } - - @Override - public KaleoLog getWrappedModel() { - return _kaleoLog; - } - - @Override - public void resetOriginalValues() { - _kaleoLog.resetOriginalValues(); - } - - private KaleoLog _kaleoLog; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoNode.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoNode.java deleted file mode 100644 index 69f3709a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoNode.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the KaleoNode service. Represents a row in the "kaleonode" database table, with each column mapped to a property of this class. - * - * @author 3FC - * @see KaleoNodeModel - * @see it.tref.liferay.portos.importazione.model.impl.KaleoNodeImpl - * @see it.tref.liferay.portos.importazione.model.impl.KaleoNodeModelImpl - * @generated - */ -public interface KaleoNode extends KaleoNodeModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.importazione.model.impl.KaleoNodeImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoNodeClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoNodeClp.java deleted file mode 100644 index bddffd43..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoNodeClp.java +++ /dev/null @@ -1,788 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.service.ClpSerializer; -import it.tref.liferay.portos.importazione.service.KaleoNodeLocalServiceUtil; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author 3FC - */ -public class KaleoNodeClp extends BaseModelImpl implements KaleoNode { - public KaleoNodeClp() { - } - - @Override - public Class getModelClass() { - return KaleoNode.class; - } - - @Override - public String getModelClassName() { - return KaleoNode.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _kaleoNodeId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setKaleoNodeId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _kaleoNodeId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("kaleoNodeId", getKaleoNodeId()); - attributes.put("groupId", getGroupId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("kaleoDefinitionId", getKaleoDefinitionId()); - attributes.put("name", getName()); - attributes.put("metadata", getMetadata()); - attributes.put("description", getDescription()); - attributes.put("type", getType()); - attributes.put("initial", getInitial()); - attributes.put("terminal", getTerminal()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long kaleoNodeId = (Long)attributes.get("kaleoNodeId"); - - if (kaleoNodeId != null) { - setKaleoNodeId(kaleoNodeId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long kaleoDefinitionId = (Long)attributes.get("kaleoDefinitionId"); - - if (kaleoDefinitionId != null) { - setKaleoDefinitionId(kaleoDefinitionId); - } - - String name = (String)attributes.get("name"); - - if (name != null) { - setName(name); - } - - String metadata = (String)attributes.get("metadata"); - - if (metadata != null) { - setMetadata(metadata); - } - - String description = (String)attributes.get("description"); - - if (description != null) { - setDescription(description); - } - - String type = (String)attributes.get("type"); - - if (type != null) { - setType(type); - } - - Boolean initial = (Boolean)attributes.get("initial"); - - if (initial != null) { - setInitial(initial); - } - - Boolean terminal = (Boolean)attributes.get("terminal"); - - if (terminal != null) { - setTerminal(terminal); - } - } - - @Override - public long getKaleoNodeId() { - return _kaleoNodeId; - } - - @Override - public void setKaleoNodeId(long kaleoNodeId) { - _kaleoNodeId = kaleoNodeId; - - if (_kaleoNodeRemoteModel != null) { - try { - Class clazz = _kaleoNodeRemoteModel.getClass(); - - Method method = clazz.getMethod("setKaleoNodeId", long.class); - - method.invoke(_kaleoNodeRemoteModel, kaleoNodeId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_kaleoNodeRemoteModel != null) { - try { - Class clazz = _kaleoNodeRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_kaleoNodeRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_kaleoNodeRemoteModel != null) { - try { - Class clazz = _kaleoNodeRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_kaleoNodeRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_kaleoNodeRemoteModel != null) { - try { - Class clazz = _kaleoNodeRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_kaleoNodeRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_kaleoNodeRemoteModel != null) { - try { - Class clazz = _kaleoNodeRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_kaleoNodeRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_kaleoNodeRemoteModel != null) { - try { - Class clazz = _kaleoNodeRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_kaleoNodeRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_kaleoNodeRemoteModel != null) { - try { - Class clazz = _kaleoNodeRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_kaleoNodeRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getKaleoDefinitionId() { - return _kaleoDefinitionId; - } - - @Override - public void setKaleoDefinitionId(long kaleoDefinitionId) { - _kaleoDefinitionId = kaleoDefinitionId; - - if (_kaleoNodeRemoteModel != null) { - try { - Class clazz = _kaleoNodeRemoteModel.getClass(); - - Method method = clazz.getMethod("setKaleoDefinitionId", - long.class); - - method.invoke(_kaleoNodeRemoteModel, kaleoDefinitionId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getName() { - return _name; - } - - @Override - public void setName(String name) { - _name = name; - - if (_kaleoNodeRemoteModel != null) { - try { - Class clazz = _kaleoNodeRemoteModel.getClass(); - - Method method = clazz.getMethod("setName", String.class); - - method.invoke(_kaleoNodeRemoteModel, name); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getMetadata() { - return _metadata; - } - - @Override - public void setMetadata(String metadata) { - _metadata = metadata; - - if (_kaleoNodeRemoteModel != null) { - try { - Class clazz = _kaleoNodeRemoteModel.getClass(); - - Method method = clazz.getMethod("setMetadata", String.class); - - method.invoke(_kaleoNodeRemoteModel, metadata); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getDescription() { - return _description; - } - - @Override - public void setDescription(String description) { - _description = description; - - if (_kaleoNodeRemoteModel != null) { - try { - Class clazz = _kaleoNodeRemoteModel.getClass(); - - Method method = clazz.getMethod("setDescription", String.class); - - method.invoke(_kaleoNodeRemoteModel, description); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getType() { - return _type; - } - - @Override - public void setType(String type) { - _type = type; - - if (_kaleoNodeRemoteModel != null) { - try { - Class clazz = _kaleoNodeRemoteModel.getClass(); - - Method method = clazz.getMethod("setType", String.class); - - method.invoke(_kaleoNodeRemoteModel, type); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getInitial() { - return _initial; - } - - @Override - public boolean isInitial() { - return _initial; - } - - @Override - public void setInitial(boolean initial) { - _initial = initial; - - if (_kaleoNodeRemoteModel != null) { - try { - Class clazz = _kaleoNodeRemoteModel.getClass(); - - Method method = clazz.getMethod("setInitial", boolean.class); - - method.invoke(_kaleoNodeRemoteModel, initial); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getTerminal() { - return _terminal; - } - - @Override - public boolean isTerminal() { - return _terminal; - } - - @Override - public void setTerminal(boolean terminal) { - _terminal = terminal; - - if (_kaleoNodeRemoteModel != null) { - try { - Class clazz = _kaleoNodeRemoteModel.getClass(); - - Method method = clazz.getMethod("setTerminal", boolean.class); - - method.invoke(_kaleoNodeRemoteModel, terminal); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - public BaseModel getKaleoNodeRemoteModel() { - return _kaleoNodeRemoteModel; - } - - public void setKaleoNodeRemoteModel(BaseModel kaleoNodeRemoteModel) { - _kaleoNodeRemoteModel = kaleoNodeRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _kaleoNodeRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_kaleoNodeRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - KaleoNodeLocalServiceUtil.addKaleoNode(this); - } - else { - KaleoNodeLocalServiceUtil.updateKaleoNode(this); - } - } - - @Override - public KaleoNode toEscapedModel() { - return (KaleoNode)ProxyUtil.newProxyInstance(KaleoNode.class.getClassLoader(), - new Class[] { KaleoNode.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - KaleoNodeClp clone = new KaleoNodeClp(); - - clone.setKaleoNodeId(getKaleoNodeId()); - clone.setGroupId(getGroupId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setKaleoDefinitionId(getKaleoDefinitionId()); - clone.setName(getName()); - clone.setMetadata(getMetadata()); - clone.setDescription(getDescription()); - clone.setType(getType()); - clone.setInitial(getInitial()); - clone.setTerminal(getTerminal()); - - return clone; - } - - @Override - public int compareTo(KaleoNode kaleoNode) { - int value = 0; - - if (getKaleoNodeId() < kaleoNode.getKaleoNodeId()) { - value = -1; - } - else if (getKaleoNodeId() > kaleoNode.getKaleoNodeId()) { - value = 1; - } - else { - value = 0; - } - - if (value != 0) { - return value; - } - - return 0; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof KaleoNodeClp)) { - return false; - } - - KaleoNodeClp kaleoNode = (KaleoNodeClp)obj; - - long primaryKey = kaleoNode.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(29); - - sb.append("{kaleoNodeId="); - sb.append(getKaleoNodeId()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", kaleoDefinitionId="); - sb.append(getKaleoDefinitionId()); - sb.append(", name="); - sb.append(getName()); - sb.append(", metadata="); - sb.append(getMetadata()); - sb.append(", description="); - sb.append(getDescription()); - sb.append(", type="); - sb.append(getType()); - sb.append(", initial="); - sb.append(getInitial()); - sb.append(", terminal="); - sb.append(getTerminal()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(46); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.KaleoNode"); - sb.append(""); - - sb.append( - "kaleoNodeId"); - sb.append( - "groupId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "kaleoDefinitionId"); - sb.append( - "name"); - sb.append( - "metadata"); - sb.append( - "description"); - sb.append( - "type"); - sb.append( - "initial"); - sb.append( - "terminal"); - - sb.append(""); - - return sb.toString(); - } - - private long _kaleoNodeId; - private long _groupId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _kaleoDefinitionId; - private String _name; - private String _metadata; - private String _description; - private String _type; - private boolean _initial; - private boolean _terminal; - private BaseModel _kaleoNodeRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.importazione.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoNodeModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoNodeModel.java deleted file mode 100644 index fb659a12..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoNodeModel.java +++ /dev/null @@ -1,365 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.GroupedModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the KaleoNode service. Represents a row in the "kaleonode" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.importazione.model.impl.KaleoNodeModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.importazione.model.impl.KaleoNodeImpl}. - *

- * - * @author 3FC - * @see KaleoNode - * @see it.tref.liferay.portos.importazione.model.impl.KaleoNodeImpl - * @see it.tref.liferay.portos.importazione.model.impl.KaleoNodeModelImpl - * @generated - */ -public interface KaleoNodeModel extends BaseModel, GroupedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a kaleo node model instance should use the {@link KaleoNode} interface instead. - */ - - /** - * Returns the primary key of this kaleo node. - * - * @return the primary key of this kaleo node - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this kaleo node. - * - * @param primaryKey the primary key of this kaleo node - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the kaleo node ID of this kaleo node. - * - * @return the kaleo node ID of this kaleo node - */ - public long getKaleoNodeId(); - - /** - * Sets the kaleo node ID of this kaleo node. - * - * @param kaleoNodeId the kaleo node ID of this kaleo node - */ - public void setKaleoNodeId(long kaleoNodeId); - - /** - * Returns the group ID of this kaleo node. - * - * @return the group ID of this kaleo node - */ - @Override - public long getGroupId(); - - /** - * Sets the group ID of this kaleo node. - * - * @param groupId the group ID of this kaleo node - */ - @Override - public void setGroupId(long groupId); - - /** - * Returns the company ID of this kaleo node. - * - * @return the company ID of this kaleo node - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this kaleo node. - * - * @param companyId the company ID of this kaleo node - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this kaleo node. - * - * @return the user ID of this kaleo node - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this kaleo node. - * - * @param userId the user ID of this kaleo node - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this kaleo node. - * - * @return the user uuid of this kaleo node - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this kaleo node. - * - * @param userUuid the user uuid of this kaleo node - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this kaleo node. - * - * @return the user name of this kaleo node - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this kaleo node. - * - * @param userName the user name of this kaleo node - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this kaleo node. - * - * @return the create date of this kaleo node - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this kaleo node. - * - * @param createDate the create date of this kaleo node - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this kaleo node. - * - * @return the modified date of this kaleo node - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this kaleo node. - * - * @param modifiedDate the modified date of this kaleo node - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the kaleo definition ID of this kaleo node. - * - * @return the kaleo definition ID of this kaleo node - */ - public long getKaleoDefinitionId(); - - /** - * Sets the kaleo definition ID of this kaleo node. - * - * @param kaleoDefinitionId the kaleo definition ID of this kaleo node - */ - public void setKaleoDefinitionId(long kaleoDefinitionId); - - /** - * Returns the name of this kaleo node. - * - * @return the name of this kaleo node - */ - @AutoEscape - public String getName(); - - /** - * Sets the name of this kaleo node. - * - * @param name the name of this kaleo node - */ - public void setName(String name); - - /** - * Returns the metadata of this kaleo node. - * - * @return the metadata of this kaleo node - */ - @AutoEscape - public String getMetadata(); - - /** - * Sets the metadata of this kaleo node. - * - * @param metadata the metadata of this kaleo node - */ - public void setMetadata(String metadata); - - /** - * Returns the description of this kaleo node. - * - * @return the description of this kaleo node - */ - @AutoEscape - public String getDescription(); - - /** - * Sets the description of this kaleo node. - * - * @param description the description of this kaleo node - */ - public void setDescription(String description); - - /** - * Returns the type of this kaleo node. - * - * @return the type of this kaleo node - */ - @AutoEscape - public String getType(); - - /** - * Sets the type of this kaleo node. - * - * @param type the type of this kaleo node - */ - public void setType(String type); - - /** - * Returns the initial of this kaleo node. - * - * @return the initial of this kaleo node - */ - public boolean getInitial(); - - /** - * Returns true if this kaleo node is initial. - * - * @return true if this kaleo node is initial; false otherwise - */ - public boolean isInitial(); - - /** - * Sets whether this kaleo node is initial. - * - * @param initial the initial of this kaleo node - */ - public void setInitial(boolean initial); - - /** - * Returns the terminal of this kaleo node. - * - * @return the terminal of this kaleo node - */ - public boolean getTerminal(); - - /** - * Returns true if this kaleo node is terminal. - * - * @return true if this kaleo node is terminal; false otherwise - */ - public boolean isTerminal(); - - /** - * Sets whether this kaleo node is terminal. - * - * @param terminal the terminal of this kaleo node - */ - public void setTerminal(boolean terminal); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.KaleoNode kaleoNode); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.importazione.model.KaleoNode toEscapedModel(); - - @Override - public it.tref.liferay.portos.importazione.model.KaleoNode toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoNodeSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoNodeSoap.java deleted file mode 100644 index a84e25a5..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoNodeSoap.java +++ /dev/null @@ -1,233 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author 3FC - * @generated - */ -public class KaleoNodeSoap implements Serializable { - public static KaleoNodeSoap toSoapModel(KaleoNode model) { - KaleoNodeSoap soapModel = new KaleoNodeSoap(); - - soapModel.setKaleoNodeId(model.getKaleoNodeId()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setKaleoDefinitionId(model.getKaleoDefinitionId()); - soapModel.setName(model.getName()); - soapModel.setMetadata(model.getMetadata()); - soapModel.setDescription(model.getDescription()); - soapModel.setType(model.getType()); - soapModel.setInitial(model.getInitial()); - soapModel.setTerminal(model.getTerminal()); - - return soapModel; - } - - public static KaleoNodeSoap[] toSoapModels(KaleoNode[] models) { - KaleoNodeSoap[] soapModels = new KaleoNodeSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static KaleoNodeSoap[][] toSoapModels(KaleoNode[][] models) { - KaleoNodeSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new KaleoNodeSoap[models.length][models[0].length]; - } - else { - soapModels = new KaleoNodeSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static KaleoNodeSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (KaleoNode model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new KaleoNodeSoap[soapModels.size()]); - } - - public KaleoNodeSoap() { - } - - public long getPrimaryKey() { - return _kaleoNodeId; - } - - public void setPrimaryKey(long pk) { - setKaleoNodeId(pk); - } - - public long getKaleoNodeId() { - return _kaleoNodeId; - } - - public void setKaleoNodeId(long kaleoNodeId) { - _kaleoNodeId = kaleoNodeId; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public long getKaleoDefinitionId() { - return _kaleoDefinitionId; - } - - public void setKaleoDefinitionId(long kaleoDefinitionId) { - _kaleoDefinitionId = kaleoDefinitionId; - } - - public String getName() { - return _name; - } - - public void setName(String name) { - _name = name; - } - - public String getMetadata() { - return _metadata; - } - - public void setMetadata(String metadata) { - _metadata = metadata; - } - - public String getDescription() { - return _description; - } - - public void setDescription(String description) { - _description = description; - } - - public String getType() { - return _type; - } - - public void setType(String type) { - _type = type; - } - - public boolean getInitial() { - return _initial; - } - - public boolean isInitial() { - return _initial; - } - - public void setInitial(boolean initial) { - _initial = initial; - } - - public boolean getTerminal() { - return _terminal; - } - - public boolean isTerminal() { - return _terminal; - } - - public void setTerminal(boolean terminal) { - _terminal = terminal; - } - - private long _kaleoNodeId; - private long _groupId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _kaleoDefinitionId; - private String _name; - private String _metadata; - private String _description; - private String _type; - private boolean _initial; - private boolean _terminal; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoNodeWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoNodeWrapper.java deleted file mode 100644 index 18e53919..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoNodeWrapper.java +++ /dev/null @@ -1,641 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link KaleoNode}. - *

- * - * @author 3FC - * @see KaleoNode - * @generated - */ -public class KaleoNodeWrapper implements KaleoNode, ModelWrapper { - public KaleoNodeWrapper(KaleoNode kaleoNode) { - _kaleoNode = kaleoNode; - } - - @Override - public Class getModelClass() { - return KaleoNode.class; - } - - @Override - public String getModelClassName() { - return KaleoNode.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("kaleoNodeId", getKaleoNodeId()); - attributes.put("groupId", getGroupId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("kaleoDefinitionId", getKaleoDefinitionId()); - attributes.put("name", getName()); - attributes.put("metadata", getMetadata()); - attributes.put("description", getDescription()); - attributes.put("type", getType()); - attributes.put("initial", getInitial()); - attributes.put("terminal", getTerminal()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long kaleoNodeId = (Long)attributes.get("kaleoNodeId"); - - if (kaleoNodeId != null) { - setKaleoNodeId(kaleoNodeId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long kaleoDefinitionId = (Long)attributes.get("kaleoDefinitionId"); - - if (kaleoDefinitionId != null) { - setKaleoDefinitionId(kaleoDefinitionId); - } - - String name = (String)attributes.get("name"); - - if (name != null) { - setName(name); - } - - String metadata = (String)attributes.get("metadata"); - - if (metadata != null) { - setMetadata(metadata); - } - - String description = (String)attributes.get("description"); - - if (description != null) { - setDescription(description); - } - - String type = (String)attributes.get("type"); - - if (type != null) { - setType(type); - } - - Boolean initial = (Boolean)attributes.get("initial"); - - if (initial != null) { - setInitial(initial); - } - - Boolean terminal = (Boolean)attributes.get("terminal"); - - if (terminal != null) { - setTerminal(terminal); - } - } - - /** - * Returns the primary key of this kaleo node. - * - * @return the primary key of this kaleo node - */ - @Override - public long getPrimaryKey() { - return _kaleoNode.getPrimaryKey(); - } - - /** - * Sets the primary key of this kaleo node. - * - * @param primaryKey the primary key of this kaleo node - */ - @Override - public void setPrimaryKey(long primaryKey) { - _kaleoNode.setPrimaryKey(primaryKey); - } - - /** - * Returns the kaleo node ID of this kaleo node. - * - * @return the kaleo node ID of this kaleo node - */ - @Override - public long getKaleoNodeId() { - return _kaleoNode.getKaleoNodeId(); - } - - /** - * Sets the kaleo node ID of this kaleo node. - * - * @param kaleoNodeId the kaleo node ID of this kaleo node - */ - @Override - public void setKaleoNodeId(long kaleoNodeId) { - _kaleoNode.setKaleoNodeId(kaleoNodeId); - } - - /** - * Returns the group ID of this kaleo node. - * - * @return the group ID of this kaleo node - */ - @Override - public long getGroupId() { - return _kaleoNode.getGroupId(); - } - - /** - * Sets the group ID of this kaleo node. - * - * @param groupId the group ID of this kaleo node - */ - @Override - public void setGroupId(long groupId) { - _kaleoNode.setGroupId(groupId); - } - - /** - * Returns the company ID of this kaleo node. - * - * @return the company ID of this kaleo node - */ - @Override - public long getCompanyId() { - return _kaleoNode.getCompanyId(); - } - - /** - * Sets the company ID of this kaleo node. - * - * @param companyId the company ID of this kaleo node - */ - @Override - public void setCompanyId(long companyId) { - _kaleoNode.setCompanyId(companyId); - } - - /** - * Returns the user ID of this kaleo node. - * - * @return the user ID of this kaleo node - */ - @Override - public long getUserId() { - return _kaleoNode.getUserId(); - } - - /** - * Sets the user ID of this kaleo node. - * - * @param userId the user ID of this kaleo node - */ - @Override - public void setUserId(long userId) { - _kaleoNode.setUserId(userId); - } - - /** - * Returns the user uuid of this kaleo node. - * - * @return the user uuid of this kaleo node - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoNode.getUserUuid(); - } - - /** - * Sets the user uuid of this kaleo node. - * - * @param userUuid the user uuid of this kaleo node - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _kaleoNode.setUserUuid(userUuid); - } - - /** - * Returns the user name of this kaleo node. - * - * @return the user name of this kaleo node - */ - @Override - public java.lang.String getUserName() { - return _kaleoNode.getUserName(); - } - - /** - * Sets the user name of this kaleo node. - * - * @param userName the user name of this kaleo node - */ - @Override - public void setUserName(java.lang.String userName) { - _kaleoNode.setUserName(userName); - } - - /** - * Returns the create date of this kaleo node. - * - * @return the create date of this kaleo node - */ - @Override - public java.util.Date getCreateDate() { - return _kaleoNode.getCreateDate(); - } - - /** - * Sets the create date of this kaleo node. - * - * @param createDate the create date of this kaleo node - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _kaleoNode.setCreateDate(createDate); - } - - /** - * Returns the modified date of this kaleo node. - * - * @return the modified date of this kaleo node - */ - @Override - public java.util.Date getModifiedDate() { - return _kaleoNode.getModifiedDate(); - } - - /** - * Sets the modified date of this kaleo node. - * - * @param modifiedDate the modified date of this kaleo node - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _kaleoNode.setModifiedDate(modifiedDate); - } - - /** - * Returns the kaleo definition ID of this kaleo node. - * - * @return the kaleo definition ID of this kaleo node - */ - @Override - public long getKaleoDefinitionId() { - return _kaleoNode.getKaleoDefinitionId(); - } - - /** - * Sets the kaleo definition ID of this kaleo node. - * - * @param kaleoDefinitionId the kaleo definition ID of this kaleo node - */ - @Override - public void setKaleoDefinitionId(long kaleoDefinitionId) { - _kaleoNode.setKaleoDefinitionId(kaleoDefinitionId); - } - - /** - * Returns the name of this kaleo node. - * - * @return the name of this kaleo node - */ - @Override - public java.lang.String getName() { - return _kaleoNode.getName(); - } - - /** - * Sets the name of this kaleo node. - * - * @param name the name of this kaleo node - */ - @Override - public void setName(java.lang.String name) { - _kaleoNode.setName(name); - } - - /** - * Returns the metadata of this kaleo node. - * - * @return the metadata of this kaleo node - */ - @Override - public java.lang.String getMetadata() { - return _kaleoNode.getMetadata(); - } - - /** - * Sets the metadata of this kaleo node. - * - * @param metadata the metadata of this kaleo node - */ - @Override - public void setMetadata(java.lang.String metadata) { - _kaleoNode.setMetadata(metadata); - } - - /** - * Returns the description of this kaleo node. - * - * @return the description of this kaleo node - */ - @Override - public java.lang.String getDescription() { - return _kaleoNode.getDescription(); - } - - /** - * Sets the description of this kaleo node. - * - * @param description the description of this kaleo node - */ - @Override - public void setDescription(java.lang.String description) { - _kaleoNode.setDescription(description); - } - - /** - * Returns the type of this kaleo node. - * - * @return the type of this kaleo node - */ - @Override - public java.lang.String getType() { - return _kaleoNode.getType(); - } - - /** - * Sets the type of this kaleo node. - * - * @param type the type of this kaleo node - */ - @Override - public void setType(java.lang.String type) { - _kaleoNode.setType(type); - } - - /** - * Returns the initial of this kaleo node. - * - * @return the initial of this kaleo node - */ - @Override - public boolean getInitial() { - return _kaleoNode.getInitial(); - } - - /** - * Returns true if this kaleo node is initial. - * - * @return true if this kaleo node is initial; false otherwise - */ - @Override - public boolean isInitial() { - return _kaleoNode.isInitial(); - } - - /** - * Sets whether this kaleo node is initial. - * - * @param initial the initial of this kaleo node - */ - @Override - public void setInitial(boolean initial) { - _kaleoNode.setInitial(initial); - } - - /** - * Returns the terminal of this kaleo node. - * - * @return the terminal of this kaleo node - */ - @Override - public boolean getTerminal() { - return _kaleoNode.getTerminal(); - } - - /** - * Returns true if this kaleo node is terminal. - * - * @return true if this kaleo node is terminal; false otherwise - */ - @Override - public boolean isTerminal() { - return _kaleoNode.isTerminal(); - } - - /** - * Sets whether this kaleo node is terminal. - * - * @param terminal the terminal of this kaleo node - */ - @Override - public void setTerminal(boolean terminal) { - _kaleoNode.setTerminal(terminal); - } - - @Override - public boolean isNew() { - return _kaleoNode.isNew(); - } - - @Override - public void setNew(boolean n) { - _kaleoNode.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _kaleoNode.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _kaleoNode.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _kaleoNode.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _kaleoNode.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _kaleoNode.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _kaleoNode.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _kaleoNode.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _kaleoNode.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _kaleoNode.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new KaleoNodeWrapper((KaleoNode)_kaleoNode.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.KaleoNode kaleoNode) { - return _kaleoNode.compareTo(kaleoNode); - } - - @Override - public int hashCode() { - return _kaleoNode.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _kaleoNode.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoNode toEscapedModel() { - return new KaleoNodeWrapper(_kaleoNode.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoNode toUnescapedModel() { - return new KaleoNodeWrapper(_kaleoNode.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _kaleoNode.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _kaleoNode.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _kaleoNode.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof KaleoNodeWrapper)) { - return false; - } - - KaleoNodeWrapper kaleoNodeWrapper = (KaleoNodeWrapper)obj; - - if (Validator.equals(_kaleoNode, kaleoNodeWrapper._kaleoNode)) { - return true; - } - - return false; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public KaleoNode getWrappedKaleoNode() { - return _kaleoNode; - } - - @Override - public KaleoNode getWrappedModel() { - return _kaleoNode; - } - - @Override - public void resetOriginalValues() { - _kaleoNode.resetOriginalValues(); - } - - private KaleoNode _kaleoNode; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTask.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTask.java deleted file mode 100644 index 9dffbf3c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTask.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the KaleoTask service. Represents a row in the "kaleotask" database table, with each column mapped to a property of this class. - * - * @author 3FC - * @see KaleoTaskModel - * @see it.tref.liferay.portos.importazione.model.impl.KaleoTaskImpl - * @see it.tref.liferay.portos.importazione.model.impl.KaleoTaskModelImpl - * @generated - */ -public interface KaleoTask extends KaleoTaskModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskAssignmentInstance.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskAssignmentInstance.java deleted file mode 100644 index 0b98f249..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskAssignmentInstance.java +++ /dev/null @@ -1,35 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the KaleoTaskAssignmentInstance service. Represents a row in the "kaleotaskassignmentinstance" database table, with each column mapped to a property of this class. - * - * @author 3FC - * @see KaleoTaskAssignmentInstanceModel - * @see it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceImpl - * @see it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl - * @generated - */ -public interface KaleoTaskAssignmentInstance - extends KaleoTaskAssignmentInstanceModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskAssignmentInstanceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskAssignmentInstanceClp.java deleted file mode 100644 index d076c032..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskAssignmentInstanceClp.java +++ /dev/null @@ -1,922 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.service.ClpSerializer; -import it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalServiceUtil; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author 3FC - */ -public class KaleoTaskAssignmentInstanceClp extends BaseModelImpl - implements KaleoTaskAssignmentInstance { - public KaleoTaskAssignmentInstanceClp() { - } - - @Override - public Class getModelClass() { - return KaleoTaskAssignmentInstance.class; - } - - @Override - public String getModelClassName() { - return KaleoTaskAssignmentInstance.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _kaleoTaskAssignmentInstanceId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setKaleoTaskAssignmentInstanceId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _kaleoTaskAssignmentInstanceId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("kaleoTaskAssignmentInstanceId", - getKaleoTaskAssignmentInstanceId()); - attributes.put("groupId", getGroupId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("kaleoDefinitionId", getKaleoDefinitionId()); - attributes.put("kaleoInstanceId", getKaleoInstanceId()); - attributes.put("kaleoInstanceTokenId", getKaleoInstanceTokenId()); - attributes.put("kaleoTaskInstanceTokenId", getKaleoTaskInstanceTokenId()); - attributes.put("kaleoTaskId", getKaleoTaskId()); - attributes.put("kaleoTaskName", getKaleoTaskName()); - attributes.put("assigneeClassName", getAssigneeClassName()); - attributes.put("assigneeClassPK", getAssigneeClassPK()); - attributes.put("completed", getCompleted()); - attributes.put("completionDate", getCompletionDate()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long kaleoTaskAssignmentInstanceId = (Long)attributes.get( - "kaleoTaskAssignmentInstanceId"); - - if (kaleoTaskAssignmentInstanceId != null) { - setKaleoTaskAssignmentInstanceId(kaleoTaskAssignmentInstanceId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long kaleoDefinitionId = (Long)attributes.get("kaleoDefinitionId"); - - if (kaleoDefinitionId != null) { - setKaleoDefinitionId(kaleoDefinitionId); - } - - Long kaleoInstanceId = (Long)attributes.get("kaleoInstanceId"); - - if (kaleoInstanceId != null) { - setKaleoInstanceId(kaleoInstanceId); - } - - Long kaleoInstanceTokenId = (Long)attributes.get("kaleoInstanceTokenId"); - - if (kaleoInstanceTokenId != null) { - setKaleoInstanceTokenId(kaleoInstanceTokenId); - } - - Long kaleoTaskInstanceTokenId = (Long)attributes.get( - "kaleoTaskInstanceTokenId"); - - if (kaleoTaskInstanceTokenId != null) { - setKaleoTaskInstanceTokenId(kaleoTaskInstanceTokenId); - } - - Long kaleoTaskId = (Long)attributes.get("kaleoTaskId"); - - if (kaleoTaskId != null) { - setKaleoTaskId(kaleoTaskId); - } - - String kaleoTaskName = (String)attributes.get("kaleoTaskName"); - - if (kaleoTaskName != null) { - setKaleoTaskName(kaleoTaskName); - } - - String assigneeClassName = (String)attributes.get("assigneeClassName"); - - if (assigneeClassName != null) { - setAssigneeClassName(assigneeClassName); - } - - Long assigneeClassPK = (Long)attributes.get("assigneeClassPK"); - - if (assigneeClassPK != null) { - setAssigneeClassPK(assigneeClassPK); - } - - Boolean completed = (Boolean)attributes.get("completed"); - - if (completed != null) { - setCompleted(completed); - } - - Date completionDate = (Date)attributes.get("completionDate"); - - if (completionDate != null) { - setCompletionDate(completionDate); - } - } - - @Override - public long getKaleoTaskAssignmentInstanceId() { - return _kaleoTaskAssignmentInstanceId; - } - - @Override - public void setKaleoTaskAssignmentInstanceId( - long kaleoTaskAssignmentInstanceId) { - _kaleoTaskAssignmentInstanceId = kaleoTaskAssignmentInstanceId; - - if (_kaleoTaskAssignmentInstanceRemoteModel != null) { - try { - Class clazz = _kaleoTaskAssignmentInstanceRemoteModel.getClass(); - - Method method = clazz.getMethod("setKaleoTaskAssignmentInstanceId", - long.class); - - method.invoke(_kaleoTaskAssignmentInstanceRemoteModel, - kaleoTaskAssignmentInstanceId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_kaleoTaskAssignmentInstanceRemoteModel != null) { - try { - Class clazz = _kaleoTaskAssignmentInstanceRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_kaleoTaskAssignmentInstanceRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_kaleoTaskAssignmentInstanceRemoteModel != null) { - try { - Class clazz = _kaleoTaskAssignmentInstanceRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_kaleoTaskAssignmentInstanceRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_kaleoTaskAssignmentInstanceRemoteModel != null) { - try { - Class clazz = _kaleoTaskAssignmentInstanceRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_kaleoTaskAssignmentInstanceRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_kaleoTaskAssignmentInstanceRemoteModel != null) { - try { - Class clazz = _kaleoTaskAssignmentInstanceRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_kaleoTaskAssignmentInstanceRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_kaleoTaskAssignmentInstanceRemoteModel != null) { - try { - Class clazz = _kaleoTaskAssignmentInstanceRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_kaleoTaskAssignmentInstanceRemoteModel, - createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_kaleoTaskAssignmentInstanceRemoteModel != null) { - try { - Class clazz = _kaleoTaskAssignmentInstanceRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_kaleoTaskAssignmentInstanceRemoteModel, - modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getKaleoDefinitionId() { - return _kaleoDefinitionId; - } - - @Override - public void setKaleoDefinitionId(long kaleoDefinitionId) { - _kaleoDefinitionId = kaleoDefinitionId; - - if (_kaleoTaskAssignmentInstanceRemoteModel != null) { - try { - Class clazz = _kaleoTaskAssignmentInstanceRemoteModel.getClass(); - - Method method = clazz.getMethod("setKaleoDefinitionId", - long.class); - - method.invoke(_kaleoTaskAssignmentInstanceRemoteModel, - kaleoDefinitionId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getKaleoInstanceId() { - return _kaleoInstanceId; - } - - @Override - public void setKaleoInstanceId(long kaleoInstanceId) { - _kaleoInstanceId = kaleoInstanceId; - - if (_kaleoTaskAssignmentInstanceRemoteModel != null) { - try { - Class clazz = _kaleoTaskAssignmentInstanceRemoteModel.getClass(); - - Method method = clazz.getMethod("setKaleoInstanceId", long.class); - - method.invoke(_kaleoTaskAssignmentInstanceRemoteModel, - kaleoInstanceId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getKaleoInstanceTokenId() { - return _kaleoInstanceTokenId; - } - - @Override - public void setKaleoInstanceTokenId(long kaleoInstanceTokenId) { - _kaleoInstanceTokenId = kaleoInstanceTokenId; - - if (_kaleoTaskAssignmentInstanceRemoteModel != null) { - try { - Class clazz = _kaleoTaskAssignmentInstanceRemoteModel.getClass(); - - Method method = clazz.getMethod("setKaleoInstanceTokenId", - long.class); - - method.invoke(_kaleoTaskAssignmentInstanceRemoteModel, - kaleoInstanceTokenId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getKaleoTaskInstanceTokenId() { - return _kaleoTaskInstanceTokenId; - } - - @Override - public void setKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId) { - _kaleoTaskInstanceTokenId = kaleoTaskInstanceTokenId; - - if (_kaleoTaskAssignmentInstanceRemoteModel != null) { - try { - Class clazz = _kaleoTaskAssignmentInstanceRemoteModel.getClass(); - - Method method = clazz.getMethod("setKaleoTaskInstanceTokenId", - long.class); - - method.invoke(_kaleoTaskAssignmentInstanceRemoteModel, - kaleoTaskInstanceTokenId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getKaleoTaskId() { - return _kaleoTaskId; - } - - @Override - public void setKaleoTaskId(long kaleoTaskId) { - _kaleoTaskId = kaleoTaskId; - - if (_kaleoTaskAssignmentInstanceRemoteModel != null) { - try { - Class clazz = _kaleoTaskAssignmentInstanceRemoteModel.getClass(); - - Method method = clazz.getMethod("setKaleoTaskId", long.class); - - method.invoke(_kaleoTaskAssignmentInstanceRemoteModel, - kaleoTaskId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getKaleoTaskName() { - return _kaleoTaskName; - } - - @Override - public void setKaleoTaskName(String kaleoTaskName) { - _kaleoTaskName = kaleoTaskName; - - if (_kaleoTaskAssignmentInstanceRemoteModel != null) { - try { - Class clazz = _kaleoTaskAssignmentInstanceRemoteModel.getClass(); - - Method method = clazz.getMethod("setKaleoTaskName", String.class); - - method.invoke(_kaleoTaskAssignmentInstanceRemoteModel, - kaleoTaskName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getAssigneeClassName() { - return _assigneeClassName; - } - - @Override - public void setAssigneeClassName(String assigneeClassName) { - _assigneeClassName = assigneeClassName; - - if (_kaleoTaskAssignmentInstanceRemoteModel != null) { - try { - Class clazz = _kaleoTaskAssignmentInstanceRemoteModel.getClass(); - - Method method = clazz.getMethod("setAssigneeClassName", - String.class); - - method.invoke(_kaleoTaskAssignmentInstanceRemoteModel, - assigneeClassName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getAssigneeClassPK() { - return _assigneeClassPK; - } - - @Override - public void setAssigneeClassPK(long assigneeClassPK) { - _assigneeClassPK = assigneeClassPK; - - if (_kaleoTaskAssignmentInstanceRemoteModel != null) { - try { - Class clazz = _kaleoTaskAssignmentInstanceRemoteModel.getClass(); - - Method method = clazz.getMethod("setAssigneeClassPK", long.class); - - method.invoke(_kaleoTaskAssignmentInstanceRemoteModel, - assigneeClassPK); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getCompleted() { - return _completed; - } - - @Override - public boolean isCompleted() { - return _completed; - } - - @Override - public void setCompleted(boolean completed) { - _completed = completed; - - if (_kaleoTaskAssignmentInstanceRemoteModel != null) { - try { - Class clazz = _kaleoTaskAssignmentInstanceRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompleted", boolean.class); - - method.invoke(_kaleoTaskAssignmentInstanceRemoteModel, completed); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCompletionDate() { - return _completionDate; - } - - @Override - public void setCompletionDate(Date completionDate) { - _completionDate = completionDate; - - if (_kaleoTaskAssignmentInstanceRemoteModel != null) { - try { - Class clazz = _kaleoTaskAssignmentInstanceRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompletionDate", Date.class); - - method.invoke(_kaleoTaskAssignmentInstanceRemoteModel, - completionDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - public BaseModel getKaleoTaskAssignmentInstanceRemoteModel() { - return _kaleoTaskAssignmentInstanceRemoteModel; - } - - public void setKaleoTaskAssignmentInstanceRemoteModel( - BaseModel kaleoTaskAssignmentInstanceRemoteModel) { - _kaleoTaskAssignmentInstanceRemoteModel = kaleoTaskAssignmentInstanceRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _kaleoTaskAssignmentInstanceRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_kaleoTaskAssignmentInstanceRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - KaleoTaskAssignmentInstanceLocalServiceUtil.addKaleoTaskAssignmentInstance(this); - } - else { - KaleoTaskAssignmentInstanceLocalServiceUtil.updateKaleoTaskAssignmentInstance(this); - } - } - - @Override - public KaleoTaskAssignmentInstance toEscapedModel() { - return (KaleoTaskAssignmentInstance)ProxyUtil.newProxyInstance(KaleoTaskAssignmentInstance.class.getClassLoader(), - new Class[] { KaleoTaskAssignmentInstance.class }, - new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - KaleoTaskAssignmentInstanceClp clone = new KaleoTaskAssignmentInstanceClp(); - - clone.setKaleoTaskAssignmentInstanceId(getKaleoTaskAssignmentInstanceId()); - clone.setGroupId(getGroupId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setKaleoDefinitionId(getKaleoDefinitionId()); - clone.setKaleoInstanceId(getKaleoInstanceId()); - clone.setKaleoInstanceTokenId(getKaleoInstanceTokenId()); - clone.setKaleoTaskInstanceTokenId(getKaleoTaskInstanceTokenId()); - clone.setKaleoTaskId(getKaleoTaskId()); - clone.setKaleoTaskName(getKaleoTaskName()); - clone.setAssigneeClassName(getAssigneeClassName()); - clone.setAssigneeClassPK(getAssigneeClassPK()); - clone.setCompleted(getCompleted()); - clone.setCompletionDate(getCompletionDate()); - - return clone; - } - - @Override - public int compareTo( - KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance) { - int value = 0; - - if (getKaleoTaskAssignmentInstanceId() < kaleoTaskAssignmentInstance.getKaleoTaskAssignmentInstanceId()) { - value = -1; - } - else if (getKaleoTaskAssignmentInstanceId() > kaleoTaskAssignmentInstance.getKaleoTaskAssignmentInstanceId()) { - value = 1; - } - else { - value = 0; - } - - if (value != 0) { - return value; - } - - return 0; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof KaleoTaskAssignmentInstanceClp)) { - return false; - } - - KaleoTaskAssignmentInstanceClp kaleoTaskAssignmentInstance = (KaleoTaskAssignmentInstanceClp)obj; - - long primaryKey = kaleoTaskAssignmentInstance.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(35); - - sb.append("{kaleoTaskAssignmentInstanceId="); - sb.append(getKaleoTaskAssignmentInstanceId()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", kaleoDefinitionId="); - sb.append(getKaleoDefinitionId()); - sb.append(", kaleoInstanceId="); - sb.append(getKaleoInstanceId()); - sb.append(", kaleoInstanceTokenId="); - sb.append(getKaleoInstanceTokenId()); - sb.append(", kaleoTaskInstanceTokenId="); - sb.append(getKaleoTaskInstanceTokenId()); - sb.append(", kaleoTaskId="); - sb.append(getKaleoTaskId()); - sb.append(", kaleoTaskName="); - sb.append(getKaleoTaskName()); - sb.append(", assigneeClassName="); - sb.append(getAssigneeClassName()); - sb.append(", assigneeClassPK="); - sb.append(getAssigneeClassPK()); - sb.append(", completed="); - sb.append(getCompleted()); - sb.append(", completionDate="); - sb.append(getCompletionDate()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(55); - - sb.append(""); - sb.append( - "it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance"); - sb.append(""); - - sb.append( - "kaleoTaskAssignmentInstanceId"); - sb.append( - "groupId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "kaleoDefinitionId"); - sb.append( - "kaleoInstanceId"); - sb.append( - "kaleoInstanceTokenId"); - sb.append( - "kaleoTaskInstanceTokenId"); - sb.append( - "kaleoTaskId"); - sb.append( - "kaleoTaskName"); - sb.append( - "assigneeClassName"); - sb.append( - "assigneeClassPK"); - sb.append( - "completed"); - sb.append( - "completionDate"); - - sb.append(""); - - return sb.toString(); - } - - private long _kaleoTaskAssignmentInstanceId; - private long _groupId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _kaleoDefinitionId; - private long _kaleoInstanceId; - private long _kaleoInstanceTokenId; - private long _kaleoTaskInstanceTokenId; - private long _kaleoTaskId; - private String _kaleoTaskName; - private String _assigneeClassName; - private long _assigneeClassPK; - private boolean _completed; - private Date _completionDate; - private BaseModel _kaleoTaskAssignmentInstanceRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.importazione.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskAssignmentInstanceModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskAssignmentInstanceModel.java deleted file mode 100644 index 964610c9..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskAssignmentInstanceModel.java +++ /dev/null @@ -1,400 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.GroupedModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the KaleoTaskAssignmentInstance service. Represents a row in the "kaleotaskassignmentinstance" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceImpl}. - *

- * - * @author 3FC - * @see KaleoTaskAssignmentInstance - * @see it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceImpl - * @see it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl - * @generated - */ -public interface KaleoTaskAssignmentInstanceModel extends BaseModel, - GroupedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a kaleo task assignment instance model instance should use the {@link KaleoTaskAssignmentInstance} interface instead. - */ - - /** - * Returns the primary key of this kaleo task assignment instance. - * - * @return the primary key of this kaleo task assignment instance - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this kaleo task assignment instance. - * - * @param primaryKey the primary key of this kaleo task assignment instance - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the kaleo task assignment instance ID of this kaleo task assignment instance. - * - * @return the kaleo task assignment instance ID of this kaleo task assignment instance - */ - public long getKaleoTaskAssignmentInstanceId(); - - /** - * Sets the kaleo task assignment instance ID of this kaleo task assignment instance. - * - * @param kaleoTaskAssignmentInstanceId the kaleo task assignment instance ID of this kaleo task assignment instance - */ - public void setKaleoTaskAssignmentInstanceId( - long kaleoTaskAssignmentInstanceId); - - /** - * Returns the group ID of this kaleo task assignment instance. - * - * @return the group ID of this kaleo task assignment instance - */ - @Override - public long getGroupId(); - - /** - * Sets the group ID of this kaleo task assignment instance. - * - * @param groupId the group ID of this kaleo task assignment instance - */ - @Override - public void setGroupId(long groupId); - - /** - * Returns the company ID of this kaleo task assignment instance. - * - * @return the company ID of this kaleo task assignment instance - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this kaleo task assignment instance. - * - * @param companyId the company ID of this kaleo task assignment instance - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this kaleo task assignment instance. - * - * @return the user ID of this kaleo task assignment instance - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this kaleo task assignment instance. - * - * @param userId the user ID of this kaleo task assignment instance - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this kaleo task assignment instance. - * - * @return the user uuid of this kaleo task assignment instance - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this kaleo task assignment instance. - * - * @param userUuid the user uuid of this kaleo task assignment instance - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this kaleo task assignment instance. - * - * @return the user name of this kaleo task assignment instance - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this kaleo task assignment instance. - * - * @param userName the user name of this kaleo task assignment instance - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this kaleo task assignment instance. - * - * @return the create date of this kaleo task assignment instance - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this kaleo task assignment instance. - * - * @param createDate the create date of this kaleo task assignment instance - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this kaleo task assignment instance. - * - * @return the modified date of this kaleo task assignment instance - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this kaleo task assignment instance. - * - * @param modifiedDate the modified date of this kaleo task assignment instance - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the kaleo definition ID of this kaleo task assignment instance. - * - * @return the kaleo definition ID of this kaleo task assignment instance - */ - public long getKaleoDefinitionId(); - - /** - * Sets the kaleo definition ID of this kaleo task assignment instance. - * - * @param kaleoDefinitionId the kaleo definition ID of this kaleo task assignment instance - */ - public void setKaleoDefinitionId(long kaleoDefinitionId); - - /** - * Returns the kaleo instance ID of this kaleo task assignment instance. - * - * @return the kaleo instance ID of this kaleo task assignment instance - */ - public long getKaleoInstanceId(); - - /** - * Sets the kaleo instance ID of this kaleo task assignment instance. - * - * @param kaleoInstanceId the kaleo instance ID of this kaleo task assignment instance - */ - public void setKaleoInstanceId(long kaleoInstanceId); - - /** - * Returns the kaleo instance token ID of this kaleo task assignment instance. - * - * @return the kaleo instance token ID of this kaleo task assignment instance - */ - public long getKaleoInstanceTokenId(); - - /** - * Sets the kaleo instance token ID of this kaleo task assignment instance. - * - * @param kaleoInstanceTokenId the kaleo instance token ID of this kaleo task assignment instance - */ - public void setKaleoInstanceTokenId(long kaleoInstanceTokenId); - - /** - * Returns the kaleo task instance token ID of this kaleo task assignment instance. - * - * @return the kaleo task instance token ID of this kaleo task assignment instance - */ - public long getKaleoTaskInstanceTokenId(); - - /** - * Sets the kaleo task instance token ID of this kaleo task assignment instance. - * - * @param kaleoTaskInstanceTokenId the kaleo task instance token ID of this kaleo task assignment instance - */ - public void setKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId); - - /** - * Returns the kaleo task ID of this kaleo task assignment instance. - * - * @return the kaleo task ID of this kaleo task assignment instance - */ - public long getKaleoTaskId(); - - /** - * Sets the kaleo task ID of this kaleo task assignment instance. - * - * @param kaleoTaskId the kaleo task ID of this kaleo task assignment instance - */ - public void setKaleoTaskId(long kaleoTaskId); - - /** - * Returns the kaleo task name of this kaleo task assignment instance. - * - * @return the kaleo task name of this kaleo task assignment instance - */ - @AutoEscape - public String getKaleoTaskName(); - - /** - * Sets the kaleo task name of this kaleo task assignment instance. - * - * @param kaleoTaskName the kaleo task name of this kaleo task assignment instance - */ - public void setKaleoTaskName(String kaleoTaskName); - - /** - * Returns the assignee class name of this kaleo task assignment instance. - * - * @return the assignee class name of this kaleo task assignment instance - */ - @AutoEscape - public String getAssigneeClassName(); - - /** - * Sets the assignee class name of this kaleo task assignment instance. - * - * @param assigneeClassName the assignee class name of this kaleo task assignment instance - */ - public void setAssigneeClassName(String assigneeClassName); - - /** - * Returns the assignee class p k of this kaleo task assignment instance. - * - * @return the assignee class p k of this kaleo task assignment instance - */ - public long getAssigneeClassPK(); - - /** - * Sets the assignee class p k of this kaleo task assignment instance. - * - * @param assigneeClassPK the assignee class p k of this kaleo task assignment instance - */ - public void setAssigneeClassPK(long assigneeClassPK); - - /** - * Returns the completed of this kaleo task assignment instance. - * - * @return the completed of this kaleo task assignment instance - */ - public boolean getCompleted(); - - /** - * Returns true if this kaleo task assignment instance is completed. - * - * @return true if this kaleo task assignment instance is completed; false otherwise - */ - public boolean isCompleted(); - - /** - * Sets whether this kaleo task assignment instance is completed. - * - * @param completed the completed of this kaleo task assignment instance - */ - public void setCompleted(boolean completed); - - /** - * Returns the completion date of this kaleo task assignment instance. - * - * @return the completion date of this kaleo task assignment instance - */ - public Date getCompletionDate(); - - /** - * Sets the completion date of this kaleo task assignment instance. - * - * @param completionDate the completion date of this kaleo task assignment instance - */ - public void setCompletionDate(Date completionDate); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance toEscapedModel(); - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskAssignmentInstanceSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskAssignmentInstanceSoap.java deleted file mode 100644 index a36b8546..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskAssignmentInstanceSoap.java +++ /dev/null @@ -1,264 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author 3FC - * @generated - */ -public class KaleoTaskAssignmentInstanceSoap implements Serializable { - public static KaleoTaskAssignmentInstanceSoap toSoapModel( - KaleoTaskAssignmentInstance model) { - KaleoTaskAssignmentInstanceSoap soapModel = new KaleoTaskAssignmentInstanceSoap(); - - soapModel.setKaleoTaskAssignmentInstanceId(model.getKaleoTaskAssignmentInstanceId()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setKaleoDefinitionId(model.getKaleoDefinitionId()); - soapModel.setKaleoInstanceId(model.getKaleoInstanceId()); - soapModel.setKaleoInstanceTokenId(model.getKaleoInstanceTokenId()); - soapModel.setKaleoTaskInstanceTokenId(model.getKaleoTaskInstanceTokenId()); - soapModel.setKaleoTaskId(model.getKaleoTaskId()); - soapModel.setKaleoTaskName(model.getKaleoTaskName()); - soapModel.setAssigneeClassName(model.getAssigneeClassName()); - soapModel.setAssigneeClassPK(model.getAssigneeClassPK()); - soapModel.setCompleted(model.getCompleted()); - soapModel.setCompletionDate(model.getCompletionDate()); - - return soapModel; - } - - public static KaleoTaskAssignmentInstanceSoap[] toSoapModels( - KaleoTaskAssignmentInstance[] models) { - KaleoTaskAssignmentInstanceSoap[] soapModels = new KaleoTaskAssignmentInstanceSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static KaleoTaskAssignmentInstanceSoap[][] toSoapModels( - KaleoTaskAssignmentInstance[][] models) { - KaleoTaskAssignmentInstanceSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new KaleoTaskAssignmentInstanceSoap[models.length][models[0].length]; - } - else { - soapModels = new KaleoTaskAssignmentInstanceSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static KaleoTaskAssignmentInstanceSoap[] toSoapModels( - List models) { - List soapModels = new ArrayList(models.size()); - - for (KaleoTaskAssignmentInstance model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new KaleoTaskAssignmentInstanceSoap[soapModels.size()]); - } - - public KaleoTaskAssignmentInstanceSoap() { - } - - public long getPrimaryKey() { - return _kaleoTaskAssignmentInstanceId; - } - - public void setPrimaryKey(long pk) { - setKaleoTaskAssignmentInstanceId(pk); - } - - public long getKaleoTaskAssignmentInstanceId() { - return _kaleoTaskAssignmentInstanceId; - } - - public void setKaleoTaskAssignmentInstanceId( - long kaleoTaskAssignmentInstanceId) { - _kaleoTaskAssignmentInstanceId = kaleoTaskAssignmentInstanceId; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public long getKaleoDefinitionId() { - return _kaleoDefinitionId; - } - - public void setKaleoDefinitionId(long kaleoDefinitionId) { - _kaleoDefinitionId = kaleoDefinitionId; - } - - public long getKaleoInstanceId() { - return _kaleoInstanceId; - } - - public void setKaleoInstanceId(long kaleoInstanceId) { - _kaleoInstanceId = kaleoInstanceId; - } - - public long getKaleoInstanceTokenId() { - return _kaleoInstanceTokenId; - } - - public void setKaleoInstanceTokenId(long kaleoInstanceTokenId) { - _kaleoInstanceTokenId = kaleoInstanceTokenId; - } - - public long getKaleoTaskInstanceTokenId() { - return _kaleoTaskInstanceTokenId; - } - - public void setKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId) { - _kaleoTaskInstanceTokenId = kaleoTaskInstanceTokenId; - } - - public long getKaleoTaskId() { - return _kaleoTaskId; - } - - public void setKaleoTaskId(long kaleoTaskId) { - _kaleoTaskId = kaleoTaskId; - } - - public String getKaleoTaskName() { - return _kaleoTaskName; - } - - public void setKaleoTaskName(String kaleoTaskName) { - _kaleoTaskName = kaleoTaskName; - } - - public String getAssigneeClassName() { - return _assigneeClassName; - } - - public void setAssigneeClassName(String assigneeClassName) { - _assigneeClassName = assigneeClassName; - } - - public long getAssigneeClassPK() { - return _assigneeClassPK; - } - - public void setAssigneeClassPK(long assigneeClassPK) { - _assigneeClassPK = assigneeClassPK; - } - - public boolean getCompleted() { - return _completed; - } - - public boolean isCompleted() { - return _completed; - } - - public void setCompleted(boolean completed) { - _completed = completed; - } - - public Date getCompletionDate() { - return _completionDate; - } - - public void setCompletionDate(Date completionDate) { - _completionDate = completionDate; - } - - private long _kaleoTaskAssignmentInstanceId; - private long _groupId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _kaleoDefinitionId; - private long _kaleoInstanceId; - private long _kaleoInstanceTokenId; - private long _kaleoTaskInstanceTokenId; - private long _kaleoTaskId; - private String _kaleoTaskName; - private String _assigneeClassName; - private long _assigneeClassPK; - private boolean _completed; - private Date _completionDate; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskAssignmentInstanceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskAssignmentInstanceWrapper.java deleted file mode 100644 index 995b9418..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskAssignmentInstanceWrapper.java +++ /dev/null @@ -1,720 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link KaleoTaskAssignmentInstance}. - *

- * - * @author 3FC - * @see KaleoTaskAssignmentInstance - * @generated - */ -public class KaleoTaskAssignmentInstanceWrapper - implements KaleoTaskAssignmentInstance, - ModelWrapper { - public KaleoTaskAssignmentInstanceWrapper( - KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance) { - _kaleoTaskAssignmentInstance = kaleoTaskAssignmentInstance; - } - - @Override - public Class getModelClass() { - return KaleoTaskAssignmentInstance.class; - } - - @Override - public String getModelClassName() { - return KaleoTaskAssignmentInstance.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("kaleoTaskAssignmentInstanceId", - getKaleoTaskAssignmentInstanceId()); - attributes.put("groupId", getGroupId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("kaleoDefinitionId", getKaleoDefinitionId()); - attributes.put("kaleoInstanceId", getKaleoInstanceId()); - attributes.put("kaleoInstanceTokenId", getKaleoInstanceTokenId()); - attributes.put("kaleoTaskInstanceTokenId", getKaleoTaskInstanceTokenId()); - attributes.put("kaleoTaskId", getKaleoTaskId()); - attributes.put("kaleoTaskName", getKaleoTaskName()); - attributes.put("assigneeClassName", getAssigneeClassName()); - attributes.put("assigneeClassPK", getAssigneeClassPK()); - attributes.put("completed", getCompleted()); - attributes.put("completionDate", getCompletionDate()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long kaleoTaskAssignmentInstanceId = (Long)attributes.get( - "kaleoTaskAssignmentInstanceId"); - - if (kaleoTaskAssignmentInstanceId != null) { - setKaleoTaskAssignmentInstanceId(kaleoTaskAssignmentInstanceId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long kaleoDefinitionId = (Long)attributes.get("kaleoDefinitionId"); - - if (kaleoDefinitionId != null) { - setKaleoDefinitionId(kaleoDefinitionId); - } - - Long kaleoInstanceId = (Long)attributes.get("kaleoInstanceId"); - - if (kaleoInstanceId != null) { - setKaleoInstanceId(kaleoInstanceId); - } - - Long kaleoInstanceTokenId = (Long)attributes.get("kaleoInstanceTokenId"); - - if (kaleoInstanceTokenId != null) { - setKaleoInstanceTokenId(kaleoInstanceTokenId); - } - - Long kaleoTaskInstanceTokenId = (Long)attributes.get( - "kaleoTaskInstanceTokenId"); - - if (kaleoTaskInstanceTokenId != null) { - setKaleoTaskInstanceTokenId(kaleoTaskInstanceTokenId); - } - - Long kaleoTaskId = (Long)attributes.get("kaleoTaskId"); - - if (kaleoTaskId != null) { - setKaleoTaskId(kaleoTaskId); - } - - String kaleoTaskName = (String)attributes.get("kaleoTaskName"); - - if (kaleoTaskName != null) { - setKaleoTaskName(kaleoTaskName); - } - - String assigneeClassName = (String)attributes.get("assigneeClassName"); - - if (assigneeClassName != null) { - setAssigneeClassName(assigneeClassName); - } - - Long assigneeClassPK = (Long)attributes.get("assigneeClassPK"); - - if (assigneeClassPK != null) { - setAssigneeClassPK(assigneeClassPK); - } - - Boolean completed = (Boolean)attributes.get("completed"); - - if (completed != null) { - setCompleted(completed); - } - - Date completionDate = (Date)attributes.get("completionDate"); - - if (completionDate != null) { - setCompletionDate(completionDate); - } - } - - /** - * Returns the primary key of this kaleo task assignment instance. - * - * @return the primary key of this kaleo task assignment instance - */ - @Override - public long getPrimaryKey() { - return _kaleoTaskAssignmentInstance.getPrimaryKey(); - } - - /** - * Sets the primary key of this kaleo task assignment instance. - * - * @param primaryKey the primary key of this kaleo task assignment instance - */ - @Override - public void setPrimaryKey(long primaryKey) { - _kaleoTaskAssignmentInstance.setPrimaryKey(primaryKey); - } - - /** - * Returns the kaleo task assignment instance ID of this kaleo task assignment instance. - * - * @return the kaleo task assignment instance ID of this kaleo task assignment instance - */ - @Override - public long getKaleoTaskAssignmentInstanceId() { - return _kaleoTaskAssignmentInstance.getKaleoTaskAssignmentInstanceId(); - } - - /** - * Sets the kaleo task assignment instance ID of this kaleo task assignment instance. - * - * @param kaleoTaskAssignmentInstanceId the kaleo task assignment instance ID of this kaleo task assignment instance - */ - @Override - public void setKaleoTaskAssignmentInstanceId( - long kaleoTaskAssignmentInstanceId) { - _kaleoTaskAssignmentInstance.setKaleoTaskAssignmentInstanceId(kaleoTaskAssignmentInstanceId); - } - - /** - * Returns the group ID of this kaleo task assignment instance. - * - * @return the group ID of this kaleo task assignment instance - */ - @Override - public long getGroupId() { - return _kaleoTaskAssignmentInstance.getGroupId(); - } - - /** - * Sets the group ID of this kaleo task assignment instance. - * - * @param groupId the group ID of this kaleo task assignment instance - */ - @Override - public void setGroupId(long groupId) { - _kaleoTaskAssignmentInstance.setGroupId(groupId); - } - - /** - * Returns the company ID of this kaleo task assignment instance. - * - * @return the company ID of this kaleo task assignment instance - */ - @Override - public long getCompanyId() { - return _kaleoTaskAssignmentInstance.getCompanyId(); - } - - /** - * Sets the company ID of this kaleo task assignment instance. - * - * @param companyId the company ID of this kaleo task assignment instance - */ - @Override - public void setCompanyId(long companyId) { - _kaleoTaskAssignmentInstance.setCompanyId(companyId); - } - - /** - * Returns the user ID of this kaleo task assignment instance. - * - * @return the user ID of this kaleo task assignment instance - */ - @Override - public long getUserId() { - return _kaleoTaskAssignmentInstance.getUserId(); - } - - /** - * Sets the user ID of this kaleo task assignment instance. - * - * @param userId the user ID of this kaleo task assignment instance - */ - @Override - public void setUserId(long userId) { - _kaleoTaskAssignmentInstance.setUserId(userId); - } - - /** - * Returns the user uuid of this kaleo task assignment instance. - * - * @return the user uuid of this kaleo task assignment instance - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskAssignmentInstance.getUserUuid(); - } - - /** - * Sets the user uuid of this kaleo task assignment instance. - * - * @param userUuid the user uuid of this kaleo task assignment instance - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _kaleoTaskAssignmentInstance.setUserUuid(userUuid); - } - - /** - * Returns the user name of this kaleo task assignment instance. - * - * @return the user name of this kaleo task assignment instance - */ - @Override - public java.lang.String getUserName() { - return _kaleoTaskAssignmentInstance.getUserName(); - } - - /** - * Sets the user name of this kaleo task assignment instance. - * - * @param userName the user name of this kaleo task assignment instance - */ - @Override - public void setUserName(java.lang.String userName) { - _kaleoTaskAssignmentInstance.setUserName(userName); - } - - /** - * Returns the create date of this kaleo task assignment instance. - * - * @return the create date of this kaleo task assignment instance - */ - @Override - public java.util.Date getCreateDate() { - return _kaleoTaskAssignmentInstance.getCreateDate(); - } - - /** - * Sets the create date of this kaleo task assignment instance. - * - * @param createDate the create date of this kaleo task assignment instance - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _kaleoTaskAssignmentInstance.setCreateDate(createDate); - } - - /** - * Returns the modified date of this kaleo task assignment instance. - * - * @return the modified date of this kaleo task assignment instance - */ - @Override - public java.util.Date getModifiedDate() { - return _kaleoTaskAssignmentInstance.getModifiedDate(); - } - - /** - * Sets the modified date of this kaleo task assignment instance. - * - * @param modifiedDate the modified date of this kaleo task assignment instance - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _kaleoTaskAssignmentInstance.setModifiedDate(modifiedDate); - } - - /** - * Returns the kaleo definition ID of this kaleo task assignment instance. - * - * @return the kaleo definition ID of this kaleo task assignment instance - */ - @Override - public long getKaleoDefinitionId() { - return _kaleoTaskAssignmentInstance.getKaleoDefinitionId(); - } - - /** - * Sets the kaleo definition ID of this kaleo task assignment instance. - * - * @param kaleoDefinitionId the kaleo definition ID of this kaleo task assignment instance - */ - @Override - public void setKaleoDefinitionId(long kaleoDefinitionId) { - _kaleoTaskAssignmentInstance.setKaleoDefinitionId(kaleoDefinitionId); - } - - /** - * Returns the kaleo instance ID of this kaleo task assignment instance. - * - * @return the kaleo instance ID of this kaleo task assignment instance - */ - @Override - public long getKaleoInstanceId() { - return _kaleoTaskAssignmentInstance.getKaleoInstanceId(); - } - - /** - * Sets the kaleo instance ID of this kaleo task assignment instance. - * - * @param kaleoInstanceId the kaleo instance ID of this kaleo task assignment instance - */ - @Override - public void setKaleoInstanceId(long kaleoInstanceId) { - _kaleoTaskAssignmentInstance.setKaleoInstanceId(kaleoInstanceId); - } - - /** - * Returns the kaleo instance token ID of this kaleo task assignment instance. - * - * @return the kaleo instance token ID of this kaleo task assignment instance - */ - @Override - public long getKaleoInstanceTokenId() { - return _kaleoTaskAssignmentInstance.getKaleoInstanceTokenId(); - } - - /** - * Sets the kaleo instance token ID of this kaleo task assignment instance. - * - * @param kaleoInstanceTokenId the kaleo instance token ID of this kaleo task assignment instance - */ - @Override - public void setKaleoInstanceTokenId(long kaleoInstanceTokenId) { - _kaleoTaskAssignmentInstance.setKaleoInstanceTokenId(kaleoInstanceTokenId); - } - - /** - * Returns the kaleo task instance token ID of this kaleo task assignment instance. - * - * @return the kaleo task instance token ID of this kaleo task assignment instance - */ - @Override - public long getKaleoTaskInstanceTokenId() { - return _kaleoTaskAssignmentInstance.getKaleoTaskInstanceTokenId(); - } - - /** - * Sets the kaleo task instance token ID of this kaleo task assignment instance. - * - * @param kaleoTaskInstanceTokenId the kaleo task instance token ID of this kaleo task assignment instance - */ - @Override - public void setKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId) { - _kaleoTaskAssignmentInstance.setKaleoTaskInstanceTokenId(kaleoTaskInstanceTokenId); - } - - /** - * Returns the kaleo task ID of this kaleo task assignment instance. - * - * @return the kaleo task ID of this kaleo task assignment instance - */ - @Override - public long getKaleoTaskId() { - return _kaleoTaskAssignmentInstance.getKaleoTaskId(); - } - - /** - * Sets the kaleo task ID of this kaleo task assignment instance. - * - * @param kaleoTaskId the kaleo task ID of this kaleo task assignment instance - */ - @Override - public void setKaleoTaskId(long kaleoTaskId) { - _kaleoTaskAssignmentInstance.setKaleoTaskId(kaleoTaskId); - } - - /** - * Returns the kaleo task name of this kaleo task assignment instance. - * - * @return the kaleo task name of this kaleo task assignment instance - */ - @Override - public java.lang.String getKaleoTaskName() { - return _kaleoTaskAssignmentInstance.getKaleoTaskName(); - } - - /** - * Sets the kaleo task name of this kaleo task assignment instance. - * - * @param kaleoTaskName the kaleo task name of this kaleo task assignment instance - */ - @Override - public void setKaleoTaskName(java.lang.String kaleoTaskName) { - _kaleoTaskAssignmentInstance.setKaleoTaskName(kaleoTaskName); - } - - /** - * Returns the assignee class name of this kaleo task assignment instance. - * - * @return the assignee class name of this kaleo task assignment instance - */ - @Override - public java.lang.String getAssigneeClassName() { - return _kaleoTaskAssignmentInstance.getAssigneeClassName(); - } - - /** - * Sets the assignee class name of this kaleo task assignment instance. - * - * @param assigneeClassName the assignee class name of this kaleo task assignment instance - */ - @Override - public void setAssigneeClassName(java.lang.String assigneeClassName) { - _kaleoTaskAssignmentInstance.setAssigneeClassName(assigneeClassName); - } - - /** - * Returns the assignee class p k of this kaleo task assignment instance. - * - * @return the assignee class p k of this kaleo task assignment instance - */ - @Override - public long getAssigneeClassPK() { - return _kaleoTaskAssignmentInstance.getAssigneeClassPK(); - } - - /** - * Sets the assignee class p k of this kaleo task assignment instance. - * - * @param assigneeClassPK the assignee class p k of this kaleo task assignment instance - */ - @Override - public void setAssigneeClassPK(long assigneeClassPK) { - _kaleoTaskAssignmentInstance.setAssigneeClassPK(assigneeClassPK); - } - - /** - * Returns the completed of this kaleo task assignment instance. - * - * @return the completed of this kaleo task assignment instance - */ - @Override - public boolean getCompleted() { - return _kaleoTaskAssignmentInstance.getCompleted(); - } - - /** - * Returns true if this kaleo task assignment instance is completed. - * - * @return true if this kaleo task assignment instance is completed; false otherwise - */ - @Override - public boolean isCompleted() { - return _kaleoTaskAssignmentInstance.isCompleted(); - } - - /** - * Sets whether this kaleo task assignment instance is completed. - * - * @param completed the completed of this kaleo task assignment instance - */ - @Override - public void setCompleted(boolean completed) { - _kaleoTaskAssignmentInstance.setCompleted(completed); - } - - /** - * Returns the completion date of this kaleo task assignment instance. - * - * @return the completion date of this kaleo task assignment instance - */ - @Override - public java.util.Date getCompletionDate() { - return _kaleoTaskAssignmentInstance.getCompletionDate(); - } - - /** - * Sets the completion date of this kaleo task assignment instance. - * - * @param completionDate the completion date of this kaleo task assignment instance - */ - @Override - public void setCompletionDate(java.util.Date completionDate) { - _kaleoTaskAssignmentInstance.setCompletionDate(completionDate); - } - - @Override - public boolean isNew() { - return _kaleoTaskAssignmentInstance.isNew(); - } - - @Override - public void setNew(boolean n) { - _kaleoTaskAssignmentInstance.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _kaleoTaskAssignmentInstance.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _kaleoTaskAssignmentInstance.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _kaleoTaskAssignmentInstance.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _kaleoTaskAssignmentInstance.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _kaleoTaskAssignmentInstance.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _kaleoTaskAssignmentInstance.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _kaleoTaskAssignmentInstance.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _kaleoTaskAssignmentInstance.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _kaleoTaskAssignmentInstance.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new KaleoTaskAssignmentInstanceWrapper((KaleoTaskAssignmentInstance)_kaleoTaskAssignmentInstance.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance) { - return _kaleoTaskAssignmentInstance.compareTo(kaleoTaskAssignmentInstance); - } - - @Override - public int hashCode() { - return _kaleoTaskAssignmentInstance.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _kaleoTaskAssignmentInstance.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance toEscapedModel() { - return new KaleoTaskAssignmentInstanceWrapper(_kaleoTaskAssignmentInstance.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance toUnescapedModel() { - return new KaleoTaskAssignmentInstanceWrapper(_kaleoTaskAssignmentInstance.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _kaleoTaskAssignmentInstance.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _kaleoTaskAssignmentInstance.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _kaleoTaskAssignmentInstance.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof KaleoTaskAssignmentInstanceWrapper)) { - return false; - } - - KaleoTaskAssignmentInstanceWrapper kaleoTaskAssignmentInstanceWrapper = (KaleoTaskAssignmentInstanceWrapper)obj; - - if (Validator.equals(_kaleoTaskAssignmentInstance, - kaleoTaskAssignmentInstanceWrapper._kaleoTaskAssignmentInstance)) { - return true; - } - - return false; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public KaleoTaskAssignmentInstance getWrappedKaleoTaskAssignmentInstance() { - return _kaleoTaskAssignmentInstance; - } - - @Override - public KaleoTaskAssignmentInstance getWrappedModel() { - return _kaleoTaskAssignmentInstance; - } - - @Override - public void resetOriginalValues() { - _kaleoTaskAssignmentInstance.resetOriginalValues(); - } - - private KaleoTaskAssignmentInstance _kaleoTaskAssignmentInstance; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskClp.java deleted file mode 100644 index 56b162ef..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskClp.java +++ /dev/null @@ -1,664 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.service.ClpSerializer; -import it.tref.liferay.portos.importazione.service.KaleoTaskLocalServiceUtil; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author 3FC - */ -public class KaleoTaskClp extends BaseModelImpl implements KaleoTask { - public KaleoTaskClp() { - } - - @Override - public Class getModelClass() { - return KaleoTask.class; - } - - @Override - public String getModelClassName() { - return KaleoTask.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _kaleoTaskId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setKaleoTaskId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _kaleoTaskId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("kaleoTaskId", getKaleoTaskId()); - attributes.put("groupId", getGroupId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("kaleoDefinitionId", getKaleoDefinitionId()); - attributes.put("kaleoNodeId", getKaleoNodeId()); - attributes.put("name", getName()); - attributes.put("description", getDescription()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long kaleoTaskId = (Long)attributes.get("kaleoTaskId"); - - if (kaleoTaskId != null) { - setKaleoTaskId(kaleoTaskId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long kaleoDefinitionId = (Long)attributes.get("kaleoDefinitionId"); - - if (kaleoDefinitionId != null) { - setKaleoDefinitionId(kaleoDefinitionId); - } - - Long kaleoNodeId = (Long)attributes.get("kaleoNodeId"); - - if (kaleoNodeId != null) { - setKaleoNodeId(kaleoNodeId); - } - - String name = (String)attributes.get("name"); - - if (name != null) { - setName(name); - } - - String description = (String)attributes.get("description"); - - if (description != null) { - setDescription(description); - } - } - - @Override - public long getKaleoTaskId() { - return _kaleoTaskId; - } - - @Override - public void setKaleoTaskId(long kaleoTaskId) { - _kaleoTaskId = kaleoTaskId; - - if (_kaleoTaskRemoteModel != null) { - try { - Class clazz = _kaleoTaskRemoteModel.getClass(); - - Method method = clazz.getMethod("setKaleoTaskId", long.class); - - method.invoke(_kaleoTaskRemoteModel, kaleoTaskId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_kaleoTaskRemoteModel != null) { - try { - Class clazz = _kaleoTaskRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_kaleoTaskRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_kaleoTaskRemoteModel != null) { - try { - Class clazz = _kaleoTaskRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_kaleoTaskRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_kaleoTaskRemoteModel != null) { - try { - Class clazz = _kaleoTaskRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_kaleoTaskRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_kaleoTaskRemoteModel != null) { - try { - Class clazz = _kaleoTaskRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_kaleoTaskRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_kaleoTaskRemoteModel != null) { - try { - Class clazz = _kaleoTaskRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_kaleoTaskRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_kaleoTaskRemoteModel != null) { - try { - Class clazz = _kaleoTaskRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_kaleoTaskRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getKaleoDefinitionId() { - return _kaleoDefinitionId; - } - - @Override - public void setKaleoDefinitionId(long kaleoDefinitionId) { - _kaleoDefinitionId = kaleoDefinitionId; - - if (_kaleoTaskRemoteModel != null) { - try { - Class clazz = _kaleoTaskRemoteModel.getClass(); - - Method method = clazz.getMethod("setKaleoDefinitionId", - long.class); - - method.invoke(_kaleoTaskRemoteModel, kaleoDefinitionId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getKaleoNodeId() { - return _kaleoNodeId; - } - - @Override - public void setKaleoNodeId(long kaleoNodeId) { - _kaleoNodeId = kaleoNodeId; - - if (_kaleoTaskRemoteModel != null) { - try { - Class clazz = _kaleoTaskRemoteModel.getClass(); - - Method method = clazz.getMethod("setKaleoNodeId", long.class); - - method.invoke(_kaleoTaskRemoteModel, kaleoNodeId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getName() { - return _name; - } - - @Override - public void setName(String name) { - _name = name; - - if (_kaleoTaskRemoteModel != null) { - try { - Class clazz = _kaleoTaskRemoteModel.getClass(); - - Method method = clazz.getMethod("setName", String.class); - - method.invoke(_kaleoTaskRemoteModel, name); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getDescription() { - return _description; - } - - @Override - public void setDescription(String description) { - _description = description; - - if (_kaleoTaskRemoteModel != null) { - try { - Class clazz = _kaleoTaskRemoteModel.getClass(); - - Method method = clazz.getMethod("setDescription", String.class); - - method.invoke(_kaleoTaskRemoteModel, description); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - public BaseModel getKaleoTaskRemoteModel() { - return _kaleoTaskRemoteModel; - } - - public void setKaleoTaskRemoteModel(BaseModel kaleoTaskRemoteModel) { - _kaleoTaskRemoteModel = kaleoTaskRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _kaleoTaskRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_kaleoTaskRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - KaleoTaskLocalServiceUtil.addKaleoTask(this); - } - else { - KaleoTaskLocalServiceUtil.updateKaleoTask(this); - } - } - - @Override - public KaleoTask toEscapedModel() { - return (KaleoTask)ProxyUtil.newProxyInstance(KaleoTask.class.getClassLoader(), - new Class[] { KaleoTask.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - KaleoTaskClp clone = new KaleoTaskClp(); - - clone.setKaleoTaskId(getKaleoTaskId()); - clone.setGroupId(getGroupId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setKaleoDefinitionId(getKaleoDefinitionId()); - clone.setKaleoNodeId(getKaleoNodeId()); - clone.setName(getName()); - clone.setDescription(getDescription()); - - return clone; - } - - @Override - public int compareTo(KaleoTask kaleoTask) { - int value = 0; - - if (getKaleoTaskId() < kaleoTask.getKaleoTaskId()) { - value = -1; - } - else if (getKaleoTaskId() > kaleoTask.getKaleoTaskId()) { - value = 1; - } - else { - value = 0; - } - - if (value != 0) { - return value; - } - - return 0; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof KaleoTaskClp)) { - return false; - } - - KaleoTaskClp kaleoTask = (KaleoTaskClp)obj; - - long primaryKey = kaleoTask.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(23); - - sb.append("{kaleoTaskId="); - sb.append(getKaleoTaskId()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", kaleoDefinitionId="); - sb.append(getKaleoDefinitionId()); - sb.append(", kaleoNodeId="); - sb.append(getKaleoNodeId()); - sb.append(", name="); - sb.append(getName()); - sb.append(", description="); - sb.append(getDescription()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(37); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.KaleoTask"); - sb.append(""); - - sb.append( - "kaleoTaskId"); - sb.append( - "groupId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "kaleoDefinitionId"); - sb.append( - "kaleoNodeId"); - sb.append( - "name"); - sb.append( - "description"); - - sb.append(""); - - return sb.toString(); - } - - private long _kaleoTaskId; - private long _groupId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _kaleoDefinitionId; - private long _kaleoNodeId; - private String _name; - private String _description; - private BaseModel _kaleoTaskRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.importazione.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskInstanceToken.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskInstanceToken.java deleted file mode 100644 index 83b99cab..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskInstanceToken.java +++ /dev/null @@ -1,35 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the KaleoTaskInstanceToken service. Represents a row in the "kaleotaskinstancetoken" database table, with each column mapped to a property of this class. - * - * @author 3FC - * @see KaleoTaskInstanceTokenModel - * @see it.tref.liferay.portos.importazione.model.impl.KaleoTaskInstanceTokenImpl - * @see it.tref.liferay.portos.importazione.model.impl.KaleoTaskInstanceTokenModelImpl - * @generated - */ -public interface KaleoTaskInstanceToken extends KaleoTaskInstanceTokenModel, - PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskInstanceTokenImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskInstanceTokenClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskInstanceTokenClp.java deleted file mode 100644 index 717c1391..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskInstanceTokenClp.java +++ /dev/null @@ -1,1000 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.service.ClpSerializer; -import it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalServiceUtil; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author 3FC - */ -public class KaleoTaskInstanceTokenClp extends BaseModelImpl - implements KaleoTaskInstanceToken { - public KaleoTaskInstanceTokenClp() { - } - - @Override - public Class getModelClass() { - return KaleoTaskInstanceToken.class; - } - - @Override - public String getModelClassName() { - return KaleoTaskInstanceToken.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _kaleoTaskInstanceTokenId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setKaleoTaskInstanceTokenId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _kaleoTaskInstanceTokenId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("kaleoTaskInstanceTokenId", getKaleoTaskInstanceTokenId()); - attributes.put("groupId", getGroupId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("kaleoDefinitionId", getKaleoDefinitionId()); - attributes.put("kaleoInstanceId", getKaleoInstanceId()); - attributes.put("kaleoInstanceTokenId", getKaleoInstanceTokenId()); - attributes.put("kaleoTaskId", getKaleoTaskId()); - attributes.put("kaleoTaskName", getKaleoTaskName()); - attributes.put("className", getClassName()); - attributes.put("classPK", getClassPK()); - attributes.put("completionUserId", getCompletionUserId()); - attributes.put("completed", getCompleted()); - attributes.put("completionDate", getCompletionDate()); - attributes.put("dueDate", getDueDate()); - attributes.put("workflowContext", getWorkflowContext()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long kaleoTaskInstanceTokenId = (Long)attributes.get( - "kaleoTaskInstanceTokenId"); - - if (kaleoTaskInstanceTokenId != null) { - setKaleoTaskInstanceTokenId(kaleoTaskInstanceTokenId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long kaleoDefinitionId = (Long)attributes.get("kaleoDefinitionId"); - - if (kaleoDefinitionId != null) { - setKaleoDefinitionId(kaleoDefinitionId); - } - - Long kaleoInstanceId = (Long)attributes.get("kaleoInstanceId"); - - if (kaleoInstanceId != null) { - setKaleoInstanceId(kaleoInstanceId); - } - - Long kaleoInstanceTokenId = (Long)attributes.get("kaleoInstanceTokenId"); - - if (kaleoInstanceTokenId != null) { - setKaleoInstanceTokenId(kaleoInstanceTokenId); - } - - Long kaleoTaskId = (Long)attributes.get("kaleoTaskId"); - - if (kaleoTaskId != null) { - setKaleoTaskId(kaleoTaskId); - } - - String kaleoTaskName = (String)attributes.get("kaleoTaskName"); - - if (kaleoTaskName != null) { - setKaleoTaskName(kaleoTaskName); - } - - String className = (String)attributes.get("className"); - - if (className != null) { - setClassName(className); - } - - Long classPK = (Long)attributes.get("classPK"); - - if (classPK != null) { - setClassPK(classPK); - } - - Long completionUserId = (Long)attributes.get("completionUserId"); - - if (completionUserId != null) { - setCompletionUserId(completionUserId); - } - - Boolean completed = (Boolean)attributes.get("completed"); - - if (completed != null) { - setCompleted(completed); - } - - Date completionDate = (Date)attributes.get("completionDate"); - - if (completionDate != null) { - setCompletionDate(completionDate); - } - - Date dueDate = (Date)attributes.get("dueDate"); - - if (dueDate != null) { - setDueDate(dueDate); - } - - String workflowContext = (String)attributes.get("workflowContext"); - - if (workflowContext != null) { - setWorkflowContext(workflowContext); - } - } - - @Override - public long getKaleoTaskInstanceTokenId() { - return _kaleoTaskInstanceTokenId; - } - - @Override - public void setKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId) { - _kaleoTaskInstanceTokenId = kaleoTaskInstanceTokenId; - - if (_kaleoTaskInstanceTokenRemoteModel != null) { - try { - Class clazz = _kaleoTaskInstanceTokenRemoteModel.getClass(); - - Method method = clazz.getMethod("setKaleoTaskInstanceTokenId", - long.class); - - method.invoke(_kaleoTaskInstanceTokenRemoteModel, - kaleoTaskInstanceTokenId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_kaleoTaskInstanceTokenRemoteModel != null) { - try { - Class clazz = _kaleoTaskInstanceTokenRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_kaleoTaskInstanceTokenRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_kaleoTaskInstanceTokenRemoteModel != null) { - try { - Class clazz = _kaleoTaskInstanceTokenRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_kaleoTaskInstanceTokenRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_kaleoTaskInstanceTokenRemoteModel != null) { - try { - Class clazz = _kaleoTaskInstanceTokenRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_kaleoTaskInstanceTokenRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_kaleoTaskInstanceTokenRemoteModel != null) { - try { - Class clazz = _kaleoTaskInstanceTokenRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_kaleoTaskInstanceTokenRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_kaleoTaskInstanceTokenRemoteModel != null) { - try { - Class clazz = _kaleoTaskInstanceTokenRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_kaleoTaskInstanceTokenRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_kaleoTaskInstanceTokenRemoteModel != null) { - try { - Class clazz = _kaleoTaskInstanceTokenRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_kaleoTaskInstanceTokenRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getKaleoDefinitionId() { - return _kaleoDefinitionId; - } - - @Override - public void setKaleoDefinitionId(long kaleoDefinitionId) { - _kaleoDefinitionId = kaleoDefinitionId; - - if (_kaleoTaskInstanceTokenRemoteModel != null) { - try { - Class clazz = _kaleoTaskInstanceTokenRemoteModel.getClass(); - - Method method = clazz.getMethod("setKaleoDefinitionId", - long.class); - - method.invoke(_kaleoTaskInstanceTokenRemoteModel, - kaleoDefinitionId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getKaleoInstanceId() { - return _kaleoInstanceId; - } - - @Override - public void setKaleoInstanceId(long kaleoInstanceId) { - _kaleoInstanceId = kaleoInstanceId; - - if (_kaleoTaskInstanceTokenRemoteModel != null) { - try { - Class clazz = _kaleoTaskInstanceTokenRemoteModel.getClass(); - - Method method = clazz.getMethod("setKaleoInstanceId", long.class); - - method.invoke(_kaleoTaskInstanceTokenRemoteModel, - kaleoInstanceId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getKaleoInstanceTokenId() { - return _kaleoInstanceTokenId; - } - - @Override - public void setKaleoInstanceTokenId(long kaleoInstanceTokenId) { - _kaleoInstanceTokenId = kaleoInstanceTokenId; - - if (_kaleoTaskInstanceTokenRemoteModel != null) { - try { - Class clazz = _kaleoTaskInstanceTokenRemoteModel.getClass(); - - Method method = clazz.getMethod("setKaleoInstanceTokenId", - long.class); - - method.invoke(_kaleoTaskInstanceTokenRemoteModel, - kaleoInstanceTokenId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getKaleoTaskId() { - return _kaleoTaskId; - } - - @Override - public void setKaleoTaskId(long kaleoTaskId) { - _kaleoTaskId = kaleoTaskId; - - if (_kaleoTaskInstanceTokenRemoteModel != null) { - try { - Class clazz = _kaleoTaskInstanceTokenRemoteModel.getClass(); - - Method method = clazz.getMethod("setKaleoTaskId", long.class); - - method.invoke(_kaleoTaskInstanceTokenRemoteModel, kaleoTaskId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getKaleoTaskName() { - return _kaleoTaskName; - } - - @Override - public void setKaleoTaskName(String kaleoTaskName) { - _kaleoTaskName = kaleoTaskName; - - if (_kaleoTaskInstanceTokenRemoteModel != null) { - try { - Class clazz = _kaleoTaskInstanceTokenRemoteModel.getClass(); - - Method method = clazz.getMethod("setKaleoTaskName", String.class); - - method.invoke(_kaleoTaskInstanceTokenRemoteModel, kaleoTaskName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getClassName() { - return _className; - } - - @Override - public void setClassName(String className) { - _className = className; - - if (_kaleoTaskInstanceTokenRemoteModel != null) { - try { - Class clazz = _kaleoTaskInstanceTokenRemoteModel.getClass(); - - Method method = clazz.getMethod("setClassName", String.class); - - method.invoke(_kaleoTaskInstanceTokenRemoteModel, className); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getClassPK() { - return _classPK; - } - - @Override - public void setClassPK(long classPK) { - _classPK = classPK; - - if (_kaleoTaskInstanceTokenRemoteModel != null) { - try { - Class clazz = _kaleoTaskInstanceTokenRemoteModel.getClass(); - - Method method = clazz.getMethod("setClassPK", long.class); - - method.invoke(_kaleoTaskInstanceTokenRemoteModel, classPK); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompletionUserId() { - return _completionUserId; - } - - @Override - public void setCompletionUserId(long completionUserId) { - _completionUserId = completionUserId; - - if (_kaleoTaskInstanceTokenRemoteModel != null) { - try { - Class clazz = _kaleoTaskInstanceTokenRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompletionUserId", - long.class); - - method.invoke(_kaleoTaskInstanceTokenRemoteModel, - completionUserId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCompletionUserUuid() throws SystemException { - return PortalUtil.getUserValue(getCompletionUserId(), "uuid", - _completionUserUuid); - } - - @Override - public void setCompletionUserUuid(String completionUserUuid) { - _completionUserUuid = completionUserUuid; - } - - @Override - public boolean getCompleted() { - return _completed; - } - - @Override - public boolean isCompleted() { - return _completed; - } - - @Override - public void setCompleted(boolean completed) { - _completed = completed; - - if (_kaleoTaskInstanceTokenRemoteModel != null) { - try { - Class clazz = _kaleoTaskInstanceTokenRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompleted", boolean.class); - - method.invoke(_kaleoTaskInstanceTokenRemoteModel, completed); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCompletionDate() { - return _completionDate; - } - - @Override - public void setCompletionDate(Date completionDate) { - _completionDate = completionDate; - - if (_kaleoTaskInstanceTokenRemoteModel != null) { - try { - Class clazz = _kaleoTaskInstanceTokenRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompletionDate", Date.class); - - method.invoke(_kaleoTaskInstanceTokenRemoteModel, completionDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDueDate() { - return _dueDate; - } - - @Override - public void setDueDate(Date dueDate) { - _dueDate = dueDate; - - if (_kaleoTaskInstanceTokenRemoteModel != null) { - try { - Class clazz = _kaleoTaskInstanceTokenRemoteModel.getClass(); - - Method method = clazz.getMethod("setDueDate", Date.class); - - method.invoke(_kaleoTaskInstanceTokenRemoteModel, dueDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getWorkflowContext() { - return _workflowContext; - } - - @Override - public void setWorkflowContext(String workflowContext) { - _workflowContext = workflowContext; - - if (_kaleoTaskInstanceTokenRemoteModel != null) { - try { - Class clazz = _kaleoTaskInstanceTokenRemoteModel.getClass(); - - Method method = clazz.getMethod("setWorkflowContext", - String.class); - - method.invoke(_kaleoTaskInstanceTokenRemoteModel, - workflowContext); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - public BaseModel getKaleoTaskInstanceTokenRemoteModel() { - return _kaleoTaskInstanceTokenRemoteModel; - } - - public void setKaleoTaskInstanceTokenRemoteModel( - BaseModel kaleoTaskInstanceTokenRemoteModel) { - _kaleoTaskInstanceTokenRemoteModel = kaleoTaskInstanceTokenRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _kaleoTaskInstanceTokenRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_kaleoTaskInstanceTokenRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - KaleoTaskInstanceTokenLocalServiceUtil.addKaleoTaskInstanceToken(this); - } - else { - KaleoTaskInstanceTokenLocalServiceUtil.updateKaleoTaskInstanceToken(this); - } - } - - @Override - public KaleoTaskInstanceToken toEscapedModel() { - return (KaleoTaskInstanceToken)ProxyUtil.newProxyInstance(KaleoTaskInstanceToken.class.getClassLoader(), - new Class[] { KaleoTaskInstanceToken.class }, - new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - KaleoTaskInstanceTokenClp clone = new KaleoTaskInstanceTokenClp(); - - clone.setKaleoTaskInstanceTokenId(getKaleoTaskInstanceTokenId()); - clone.setGroupId(getGroupId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setKaleoDefinitionId(getKaleoDefinitionId()); - clone.setKaleoInstanceId(getKaleoInstanceId()); - clone.setKaleoInstanceTokenId(getKaleoInstanceTokenId()); - clone.setKaleoTaskId(getKaleoTaskId()); - clone.setKaleoTaskName(getKaleoTaskName()); - clone.setClassName(getClassName()); - clone.setClassPK(getClassPK()); - clone.setCompletionUserId(getCompletionUserId()); - clone.setCompleted(getCompleted()); - clone.setCompletionDate(getCompletionDate()); - clone.setDueDate(getDueDate()); - clone.setWorkflowContext(getWorkflowContext()); - - return clone; - } - - @Override - public int compareTo(KaleoTaskInstanceToken kaleoTaskInstanceToken) { - int value = 0; - - if (getKaleoTaskInstanceTokenId() < kaleoTaskInstanceToken.getKaleoTaskInstanceTokenId()) { - value = -1; - } - else if (getKaleoTaskInstanceTokenId() > kaleoTaskInstanceToken.getKaleoTaskInstanceTokenId()) { - value = 1; - } - else { - value = 0; - } - - if (value != 0) { - return value; - } - - return 0; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof KaleoTaskInstanceTokenClp)) { - return false; - } - - KaleoTaskInstanceTokenClp kaleoTaskInstanceToken = (KaleoTaskInstanceTokenClp)obj; - - long primaryKey = kaleoTaskInstanceToken.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(39); - - sb.append("{kaleoTaskInstanceTokenId="); - sb.append(getKaleoTaskInstanceTokenId()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", kaleoDefinitionId="); - sb.append(getKaleoDefinitionId()); - sb.append(", kaleoInstanceId="); - sb.append(getKaleoInstanceId()); - sb.append(", kaleoInstanceTokenId="); - sb.append(getKaleoInstanceTokenId()); - sb.append(", kaleoTaskId="); - sb.append(getKaleoTaskId()); - sb.append(", kaleoTaskName="); - sb.append(getKaleoTaskName()); - sb.append(", className="); - sb.append(getClassName()); - sb.append(", classPK="); - sb.append(getClassPK()); - sb.append(", completionUserId="); - sb.append(getCompletionUserId()); - sb.append(", completed="); - sb.append(getCompleted()); - sb.append(", completionDate="); - sb.append(getCompletionDate()); - sb.append(", dueDate="); - sb.append(getDueDate()); - sb.append(", workflowContext="); - sb.append(getWorkflowContext()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(61); - - sb.append(""); - sb.append( - "it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken"); - sb.append(""); - - sb.append( - "kaleoTaskInstanceTokenId"); - sb.append( - "groupId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "kaleoDefinitionId"); - sb.append( - "kaleoInstanceId"); - sb.append( - "kaleoInstanceTokenId"); - sb.append( - "kaleoTaskId"); - sb.append( - "kaleoTaskName"); - sb.append( - "className"); - sb.append( - "classPK"); - sb.append( - "completionUserId"); - sb.append( - "completed"); - sb.append( - "completionDate"); - sb.append( - "dueDate"); - sb.append( - "workflowContext"); - - sb.append(""); - - return sb.toString(); - } - - private long _kaleoTaskInstanceTokenId; - private long _groupId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _kaleoDefinitionId; - private long _kaleoInstanceId; - private long _kaleoInstanceTokenId; - private long _kaleoTaskId; - private String _kaleoTaskName; - private String _className; - private long _classPK; - private long _completionUserId; - private String _completionUserUuid; - private boolean _completed; - private Date _completionDate; - private Date _dueDate; - private String _workflowContext; - private BaseModel _kaleoTaskInstanceTokenRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.importazione.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskInstanceTokenModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskInstanceTokenModel.java deleted file mode 100644 index 6c1d1185..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskInstanceTokenModel.java +++ /dev/null @@ -1,443 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.GroupedModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the KaleoTaskInstanceToken service. Represents a row in the "kaleotaskinstancetoken" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskInstanceTokenModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskInstanceTokenImpl}. - *

- * - * @author 3FC - * @see KaleoTaskInstanceToken - * @see it.tref.liferay.portos.importazione.model.impl.KaleoTaskInstanceTokenImpl - * @see it.tref.liferay.portos.importazione.model.impl.KaleoTaskInstanceTokenModelImpl - * @generated - */ -public interface KaleoTaskInstanceTokenModel extends BaseModel, - GroupedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a kaleo task instance token model instance should use the {@link KaleoTaskInstanceToken} interface instead. - */ - - /** - * Returns the primary key of this kaleo task instance token. - * - * @return the primary key of this kaleo task instance token - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this kaleo task instance token. - * - * @param primaryKey the primary key of this kaleo task instance token - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the kaleo task instance token ID of this kaleo task instance token. - * - * @return the kaleo task instance token ID of this kaleo task instance token - */ - public long getKaleoTaskInstanceTokenId(); - - /** - * Sets the kaleo task instance token ID of this kaleo task instance token. - * - * @param kaleoTaskInstanceTokenId the kaleo task instance token ID of this kaleo task instance token - */ - public void setKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId); - - /** - * Returns the group ID of this kaleo task instance token. - * - * @return the group ID of this kaleo task instance token - */ - @Override - public long getGroupId(); - - /** - * Sets the group ID of this kaleo task instance token. - * - * @param groupId the group ID of this kaleo task instance token - */ - @Override - public void setGroupId(long groupId); - - /** - * Returns the company ID of this kaleo task instance token. - * - * @return the company ID of this kaleo task instance token - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this kaleo task instance token. - * - * @param companyId the company ID of this kaleo task instance token - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this kaleo task instance token. - * - * @return the user ID of this kaleo task instance token - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this kaleo task instance token. - * - * @param userId the user ID of this kaleo task instance token - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this kaleo task instance token. - * - * @return the user uuid of this kaleo task instance token - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this kaleo task instance token. - * - * @param userUuid the user uuid of this kaleo task instance token - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this kaleo task instance token. - * - * @return the user name of this kaleo task instance token - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this kaleo task instance token. - * - * @param userName the user name of this kaleo task instance token - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this kaleo task instance token. - * - * @return the create date of this kaleo task instance token - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this kaleo task instance token. - * - * @param createDate the create date of this kaleo task instance token - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this kaleo task instance token. - * - * @return the modified date of this kaleo task instance token - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this kaleo task instance token. - * - * @param modifiedDate the modified date of this kaleo task instance token - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the kaleo definition ID of this kaleo task instance token. - * - * @return the kaleo definition ID of this kaleo task instance token - */ - public long getKaleoDefinitionId(); - - /** - * Sets the kaleo definition ID of this kaleo task instance token. - * - * @param kaleoDefinitionId the kaleo definition ID of this kaleo task instance token - */ - public void setKaleoDefinitionId(long kaleoDefinitionId); - - /** - * Returns the kaleo instance ID of this kaleo task instance token. - * - * @return the kaleo instance ID of this kaleo task instance token - */ - public long getKaleoInstanceId(); - - /** - * Sets the kaleo instance ID of this kaleo task instance token. - * - * @param kaleoInstanceId the kaleo instance ID of this kaleo task instance token - */ - public void setKaleoInstanceId(long kaleoInstanceId); - - /** - * Returns the kaleo instance token ID of this kaleo task instance token. - * - * @return the kaleo instance token ID of this kaleo task instance token - */ - public long getKaleoInstanceTokenId(); - - /** - * Sets the kaleo instance token ID of this kaleo task instance token. - * - * @param kaleoInstanceTokenId the kaleo instance token ID of this kaleo task instance token - */ - public void setKaleoInstanceTokenId(long kaleoInstanceTokenId); - - /** - * Returns the kaleo task ID of this kaleo task instance token. - * - * @return the kaleo task ID of this kaleo task instance token - */ - public long getKaleoTaskId(); - - /** - * Sets the kaleo task ID of this kaleo task instance token. - * - * @param kaleoTaskId the kaleo task ID of this kaleo task instance token - */ - public void setKaleoTaskId(long kaleoTaskId); - - /** - * Returns the kaleo task name of this kaleo task instance token. - * - * @return the kaleo task name of this kaleo task instance token - */ - @AutoEscape - public String getKaleoTaskName(); - - /** - * Sets the kaleo task name of this kaleo task instance token. - * - * @param kaleoTaskName the kaleo task name of this kaleo task instance token - */ - public void setKaleoTaskName(String kaleoTaskName); - - /** - * Returns the class name of this kaleo task instance token. - * - * @return the class name of this kaleo task instance token - */ - @AutoEscape - public String getClassName(); - - /** - * Sets the class name of this kaleo task instance token. - * - * @param className the class name of this kaleo task instance token - */ - public void setClassName(String className); - - /** - * Returns the class p k of this kaleo task instance token. - * - * @return the class p k of this kaleo task instance token - */ - public long getClassPK(); - - /** - * Sets the class p k of this kaleo task instance token. - * - * @param classPK the class p k of this kaleo task instance token - */ - public void setClassPK(long classPK); - - /** - * Returns the completion user ID of this kaleo task instance token. - * - * @return the completion user ID of this kaleo task instance token - */ - public long getCompletionUserId(); - - /** - * Sets the completion user ID of this kaleo task instance token. - * - * @param completionUserId the completion user ID of this kaleo task instance token - */ - public void setCompletionUserId(long completionUserId); - - /** - * Returns the completion user uuid of this kaleo task instance token. - * - * @return the completion user uuid of this kaleo task instance token - * @throws SystemException if a system exception occurred - */ - public String getCompletionUserUuid() throws SystemException; - - /** - * Sets the completion user uuid of this kaleo task instance token. - * - * @param completionUserUuid the completion user uuid of this kaleo task instance token - */ - public void setCompletionUserUuid(String completionUserUuid); - - /** - * Returns the completed of this kaleo task instance token. - * - * @return the completed of this kaleo task instance token - */ - public boolean getCompleted(); - - /** - * Returns true if this kaleo task instance token is completed. - * - * @return true if this kaleo task instance token is completed; false otherwise - */ - public boolean isCompleted(); - - /** - * Sets whether this kaleo task instance token is completed. - * - * @param completed the completed of this kaleo task instance token - */ - public void setCompleted(boolean completed); - - /** - * Returns the completion date of this kaleo task instance token. - * - * @return the completion date of this kaleo task instance token - */ - public Date getCompletionDate(); - - /** - * Sets the completion date of this kaleo task instance token. - * - * @param completionDate the completion date of this kaleo task instance token - */ - public void setCompletionDate(Date completionDate); - - /** - * Returns the due date of this kaleo task instance token. - * - * @return the due date of this kaleo task instance token - */ - public Date getDueDate(); - - /** - * Sets the due date of this kaleo task instance token. - * - * @param dueDate the due date of this kaleo task instance token - */ - public void setDueDate(Date dueDate); - - /** - * Returns the workflow context of this kaleo task instance token. - * - * @return the workflow context of this kaleo task instance token - */ - @AutoEscape - public String getWorkflowContext(); - - /** - * Sets the workflow context of this kaleo task instance token. - * - * @param workflowContext the workflow context of this kaleo task instance token - */ - public void setWorkflowContext(String workflowContext); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken kaleoTaskInstanceToken); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken toEscapedModel(); - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskInstanceTokenSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskInstanceTokenSoap.java deleted file mode 100644 index 5c8da5e1..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskInstanceTokenSoap.java +++ /dev/null @@ -1,283 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author 3FC - * @generated - */ -public class KaleoTaskInstanceTokenSoap implements Serializable { - public static KaleoTaskInstanceTokenSoap toSoapModel( - KaleoTaskInstanceToken model) { - KaleoTaskInstanceTokenSoap soapModel = new KaleoTaskInstanceTokenSoap(); - - soapModel.setKaleoTaskInstanceTokenId(model.getKaleoTaskInstanceTokenId()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setKaleoDefinitionId(model.getKaleoDefinitionId()); - soapModel.setKaleoInstanceId(model.getKaleoInstanceId()); - soapModel.setKaleoInstanceTokenId(model.getKaleoInstanceTokenId()); - soapModel.setKaleoTaskId(model.getKaleoTaskId()); - soapModel.setKaleoTaskName(model.getKaleoTaskName()); - soapModel.setClassName(model.getClassName()); - soapModel.setClassPK(model.getClassPK()); - soapModel.setCompletionUserId(model.getCompletionUserId()); - soapModel.setCompleted(model.getCompleted()); - soapModel.setCompletionDate(model.getCompletionDate()); - soapModel.setDueDate(model.getDueDate()); - soapModel.setWorkflowContext(model.getWorkflowContext()); - - return soapModel; - } - - public static KaleoTaskInstanceTokenSoap[] toSoapModels( - KaleoTaskInstanceToken[] models) { - KaleoTaskInstanceTokenSoap[] soapModels = new KaleoTaskInstanceTokenSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static KaleoTaskInstanceTokenSoap[][] toSoapModels( - KaleoTaskInstanceToken[][] models) { - KaleoTaskInstanceTokenSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new KaleoTaskInstanceTokenSoap[models.length][models[0].length]; - } - else { - soapModels = new KaleoTaskInstanceTokenSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static KaleoTaskInstanceTokenSoap[] toSoapModels( - List models) { - List soapModels = new ArrayList(models.size()); - - for (KaleoTaskInstanceToken model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new KaleoTaskInstanceTokenSoap[soapModels.size()]); - } - - public KaleoTaskInstanceTokenSoap() { - } - - public long getPrimaryKey() { - return _kaleoTaskInstanceTokenId; - } - - public void setPrimaryKey(long pk) { - setKaleoTaskInstanceTokenId(pk); - } - - public long getKaleoTaskInstanceTokenId() { - return _kaleoTaskInstanceTokenId; - } - - public void setKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId) { - _kaleoTaskInstanceTokenId = kaleoTaskInstanceTokenId; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public long getKaleoDefinitionId() { - return _kaleoDefinitionId; - } - - public void setKaleoDefinitionId(long kaleoDefinitionId) { - _kaleoDefinitionId = kaleoDefinitionId; - } - - public long getKaleoInstanceId() { - return _kaleoInstanceId; - } - - public void setKaleoInstanceId(long kaleoInstanceId) { - _kaleoInstanceId = kaleoInstanceId; - } - - public long getKaleoInstanceTokenId() { - return _kaleoInstanceTokenId; - } - - public void setKaleoInstanceTokenId(long kaleoInstanceTokenId) { - _kaleoInstanceTokenId = kaleoInstanceTokenId; - } - - public long getKaleoTaskId() { - return _kaleoTaskId; - } - - public void setKaleoTaskId(long kaleoTaskId) { - _kaleoTaskId = kaleoTaskId; - } - - public String getKaleoTaskName() { - return _kaleoTaskName; - } - - public void setKaleoTaskName(String kaleoTaskName) { - _kaleoTaskName = kaleoTaskName; - } - - public String getClassName() { - return _className; - } - - public void setClassName(String className) { - _className = className; - } - - public long getClassPK() { - return _classPK; - } - - public void setClassPK(long classPK) { - _classPK = classPK; - } - - public long getCompletionUserId() { - return _completionUserId; - } - - public void setCompletionUserId(long completionUserId) { - _completionUserId = completionUserId; - } - - public boolean getCompleted() { - return _completed; - } - - public boolean isCompleted() { - return _completed; - } - - public void setCompleted(boolean completed) { - _completed = completed; - } - - public Date getCompletionDate() { - return _completionDate; - } - - public void setCompletionDate(Date completionDate) { - _completionDate = completionDate; - } - - public Date getDueDate() { - return _dueDate; - } - - public void setDueDate(Date dueDate) { - _dueDate = dueDate; - } - - public String getWorkflowContext() { - return _workflowContext; - } - - public void setWorkflowContext(String workflowContext) { - _workflowContext = workflowContext; - } - - private long _kaleoTaskInstanceTokenId; - private long _groupId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _kaleoDefinitionId; - private long _kaleoInstanceId; - private long _kaleoInstanceTokenId; - private long _kaleoTaskId; - private String _kaleoTaskName; - private String _className; - private long _classPK; - private long _completionUserId; - private boolean _completed; - private Date _completionDate; - private Date _dueDate; - private String _workflowContext; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskInstanceTokenWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskInstanceTokenWrapper.java deleted file mode 100644 index 38798692..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskInstanceTokenWrapper.java +++ /dev/null @@ -1,792 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link KaleoTaskInstanceToken}. - *

- * - * @author 3FC - * @see KaleoTaskInstanceToken - * @generated - */ -public class KaleoTaskInstanceTokenWrapper implements KaleoTaskInstanceToken, - ModelWrapper { - public KaleoTaskInstanceTokenWrapper( - KaleoTaskInstanceToken kaleoTaskInstanceToken) { - _kaleoTaskInstanceToken = kaleoTaskInstanceToken; - } - - @Override - public Class getModelClass() { - return KaleoTaskInstanceToken.class; - } - - @Override - public String getModelClassName() { - return KaleoTaskInstanceToken.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("kaleoTaskInstanceTokenId", getKaleoTaskInstanceTokenId()); - attributes.put("groupId", getGroupId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("kaleoDefinitionId", getKaleoDefinitionId()); - attributes.put("kaleoInstanceId", getKaleoInstanceId()); - attributes.put("kaleoInstanceTokenId", getKaleoInstanceTokenId()); - attributes.put("kaleoTaskId", getKaleoTaskId()); - attributes.put("kaleoTaskName", getKaleoTaskName()); - attributes.put("className", getClassName()); - attributes.put("classPK", getClassPK()); - attributes.put("completionUserId", getCompletionUserId()); - attributes.put("completed", getCompleted()); - attributes.put("completionDate", getCompletionDate()); - attributes.put("dueDate", getDueDate()); - attributes.put("workflowContext", getWorkflowContext()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long kaleoTaskInstanceTokenId = (Long)attributes.get( - "kaleoTaskInstanceTokenId"); - - if (kaleoTaskInstanceTokenId != null) { - setKaleoTaskInstanceTokenId(kaleoTaskInstanceTokenId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long kaleoDefinitionId = (Long)attributes.get("kaleoDefinitionId"); - - if (kaleoDefinitionId != null) { - setKaleoDefinitionId(kaleoDefinitionId); - } - - Long kaleoInstanceId = (Long)attributes.get("kaleoInstanceId"); - - if (kaleoInstanceId != null) { - setKaleoInstanceId(kaleoInstanceId); - } - - Long kaleoInstanceTokenId = (Long)attributes.get("kaleoInstanceTokenId"); - - if (kaleoInstanceTokenId != null) { - setKaleoInstanceTokenId(kaleoInstanceTokenId); - } - - Long kaleoTaskId = (Long)attributes.get("kaleoTaskId"); - - if (kaleoTaskId != null) { - setKaleoTaskId(kaleoTaskId); - } - - String kaleoTaskName = (String)attributes.get("kaleoTaskName"); - - if (kaleoTaskName != null) { - setKaleoTaskName(kaleoTaskName); - } - - String className = (String)attributes.get("className"); - - if (className != null) { - setClassName(className); - } - - Long classPK = (Long)attributes.get("classPK"); - - if (classPK != null) { - setClassPK(classPK); - } - - Long completionUserId = (Long)attributes.get("completionUserId"); - - if (completionUserId != null) { - setCompletionUserId(completionUserId); - } - - Boolean completed = (Boolean)attributes.get("completed"); - - if (completed != null) { - setCompleted(completed); - } - - Date completionDate = (Date)attributes.get("completionDate"); - - if (completionDate != null) { - setCompletionDate(completionDate); - } - - Date dueDate = (Date)attributes.get("dueDate"); - - if (dueDate != null) { - setDueDate(dueDate); - } - - String workflowContext = (String)attributes.get("workflowContext"); - - if (workflowContext != null) { - setWorkflowContext(workflowContext); - } - } - - /** - * Returns the primary key of this kaleo task instance token. - * - * @return the primary key of this kaleo task instance token - */ - @Override - public long getPrimaryKey() { - return _kaleoTaskInstanceToken.getPrimaryKey(); - } - - /** - * Sets the primary key of this kaleo task instance token. - * - * @param primaryKey the primary key of this kaleo task instance token - */ - @Override - public void setPrimaryKey(long primaryKey) { - _kaleoTaskInstanceToken.setPrimaryKey(primaryKey); - } - - /** - * Returns the kaleo task instance token ID of this kaleo task instance token. - * - * @return the kaleo task instance token ID of this kaleo task instance token - */ - @Override - public long getKaleoTaskInstanceTokenId() { - return _kaleoTaskInstanceToken.getKaleoTaskInstanceTokenId(); - } - - /** - * Sets the kaleo task instance token ID of this kaleo task instance token. - * - * @param kaleoTaskInstanceTokenId the kaleo task instance token ID of this kaleo task instance token - */ - @Override - public void setKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId) { - _kaleoTaskInstanceToken.setKaleoTaskInstanceTokenId(kaleoTaskInstanceTokenId); - } - - /** - * Returns the group ID of this kaleo task instance token. - * - * @return the group ID of this kaleo task instance token - */ - @Override - public long getGroupId() { - return _kaleoTaskInstanceToken.getGroupId(); - } - - /** - * Sets the group ID of this kaleo task instance token. - * - * @param groupId the group ID of this kaleo task instance token - */ - @Override - public void setGroupId(long groupId) { - _kaleoTaskInstanceToken.setGroupId(groupId); - } - - /** - * Returns the company ID of this kaleo task instance token. - * - * @return the company ID of this kaleo task instance token - */ - @Override - public long getCompanyId() { - return _kaleoTaskInstanceToken.getCompanyId(); - } - - /** - * Sets the company ID of this kaleo task instance token. - * - * @param companyId the company ID of this kaleo task instance token - */ - @Override - public void setCompanyId(long companyId) { - _kaleoTaskInstanceToken.setCompanyId(companyId); - } - - /** - * Returns the user ID of this kaleo task instance token. - * - * @return the user ID of this kaleo task instance token - */ - @Override - public long getUserId() { - return _kaleoTaskInstanceToken.getUserId(); - } - - /** - * Sets the user ID of this kaleo task instance token. - * - * @param userId the user ID of this kaleo task instance token - */ - @Override - public void setUserId(long userId) { - _kaleoTaskInstanceToken.setUserId(userId); - } - - /** - * Returns the user uuid of this kaleo task instance token. - * - * @return the user uuid of this kaleo task instance token - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskInstanceToken.getUserUuid(); - } - - /** - * Sets the user uuid of this kaleo task instance token. - * - * @param userUuid the user uuid of this kaleo task instance token - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _kaleoTaskInstanceToken.setUserUuid(userUuid); - } - - /** - * Returns the user name of this kaleo task instance token. - * - * @return the user name of this kaleo task instance token - */ - @Override - public java.lang.String getUserName() { - return _kaleoTaskInstanceToken.getUserName(); - } - - /** - * Sets the user name of this kaleo task instance token. - * - * @param userName the user name of this kaleo task instance token - */ - @Override - public void setUserName(java.lang.String userName) { - _kaleoTaskInstanceToken.setUserName(userName); - } - - /** - * Returns the create date of this kaleo task instance token. - * - * @return the create date of this kaleo task instance token - */ - @Override - public java.util.Date getCreateDate() { - return _kaleoTaskInstanceToken.getCreateDate(); - } - - /** - * Sets the create date of this kaleo task instance token. - * - * @param createDate the create date of this kaleo task instance token - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _kaleoTaskInstanceToken.setCreateDate(createDate); - } - - /** - * Returns the modified date of this kaleo task instance token. - * - * @return the modified date of this kaleo task instance token - */ - @Override - public java.util.Date getModifiedDate() { - return _kaleoTaskInstanceToken.getModifiedDate(); - } - - /** - * Sets the modified date of this kaleo task instance token. - * - * @param modifiedDate the modified date of this kaleo task instance token - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _kaleoTaskInstanceToken.setModifiedDate(modifiedDate); - } - - /** - * Returns the kaleo definition ID of this kaleo task instance token. - * - * @return the kaleo definition ID of this kaleo task instance token - */ - @Override - public long getKaleoDefinitionId() { - return _kaleoTaskInstanceToken.getKaleoDefinitionId(); - } - - /** - * Sets the kaleo definition ID of this kaleo task instance token. - * - * @param kaleoDefinitionId the kaleo definition ID of this kaleo task instance token - */ - @Override - public void setKaleoDefinitionId(long kaleoDefinitionId) { - _kaleoTaskInstanceToken.setKaleoDefinitionId(kaleoDefinitionId); - } - - /** - * Returns the kaleo instance ID of this kaleo task instance token. - * - * @return the kaleo instance ID of this kaleo task instance token - */ - @Override - public long getKaleoInstanceId() { - return _kaleoTaskInstanceToken.getKaleoInstanceId(); - } - - /** - * Sets the kaleo instance ID of this kaleo task instance token. - * - * @param kaleoInstanceId the kaleo instance ID of this kaleo task instance token - */ - @Override - public void setKaleoInstanceId(long kaleoInstanceId) { - _kaleoTaskInstanceToken.setKaleoInstanceId(kaleoInstanceId); - } - - /** - * Returns the kaleo instance token ID of this kaleo task instance token. - * - * @return the kaleo instance token ID of this kaleo task instance token - */ - @Override - public long getKaleoInstanceTokenId() { - return _kaleoTaskInstanceToken.getKaleoInstanceTokenId(); - } - - /** - * Sets the kaleo instance token ID of this kaleo task instance token. - * - * @param kaleoInstanceTokenId the kaleo instance token ID of this kaleo task instance token - */ - @Override - public void setKaleoInstanceTokenId(long kaleoInstanceTokenId) { - _kaleoTaskInstanceToken.setKaleoInstanceTokenId(kaleoInstanceTokenId); - } - - /** - * Returns the kaleo task ID of this kaleo task instance token. - * - * @return the kaleo task ID of this kaleo task instance token - */ - @Override - public long getKaleoTaskId() { - return _kaleoTaskInstanceToken.getKaleoTaskId(); - } - - /** - * Sets the kaleo task ID of this kaleo task instance token. - * - * @param kaleoTaskId the kaleo task ID of this kaleo task instance token - */ - @Override - public void setKaleoTaskId(long kaleoTaskId) { - _kaleoTaskInstanceToken.setKaleoTaskId(kaleoTaskId); - } - - /** - * Returns the kaleo task name of this kaleo task instance token. - * - * @return the kaleo task name of this kaleo task instance token - */ - @Override - public java.lang.String getKaleoTaskName() { - return _kaleoTaskInstanceToken.getKaleoTaskName(); - } - - /** - * Sets the kaleo task name of this kaleo task instance token. - * - * @param kaleoTaskName the kaleo task name of this kaleo task instance token - */ - @Override - public void setKaleoTaskName(java.lang.String kaleoTaskName) { - _kaleoTaskInstanceToken.setKaleoTaskName(kaleoTaskName); - } - - /** - * Returns the class name of this kaleo task instance token. - * - * @return the class name of this kaleo task instance token - */ - @Override - public java.lang.String getClassName() { - return _kaleoTaskInstanceToken.getClassName(); - } - - /** - * Sets the class name of this kaleo task instance token. - * - * @param className the class name of this kaleo task instance token - */ - @Override - public void setClassName(java.lang.String className) { - _kaleoTaskInstanceToken.setClassName(className); - } - - /** - * Returns the class p k of this kaleo task instance token. - * - * @return the class p k of this kaleo task instance token - */ - @Override - public long getClassPK() { - return _kaleoTaskInstanceToken.getClassPK(); - } - - /** - * Sets the class p k of this kaleo task instance token. - * - * @param classPK the class p k of this kaleo task instance token - */ - @Override - public void setClassPK(long classPK) { - _kaleoTaskInstanceToken.setClassPK(classPK); - } - - /** - * Returns the completion user ID of this kaleo task instance token. - * - * @return the completion user ID of this kaleo task instance token - */ - @Override - public long getCompletionUserId() { - return _kaleoTaskInstanceToken.getCompletionUserId(); - } - - /** - * Sets the completion user ID of this kaleo task instance token. - * - * @param completionUserId the completion user ID of this kaleo task instance token - */ - @Override - public void setCompletionUserId(long completionUserId) { - _kaleoTaskInstanceToken.setCompletionUserId(completionUserId); - } - - /** - * Returns the completion user uuid of this kaleo task instance token. - * - * @return the completion user uuid of this kaleo task instance token - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getCompletionUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskInstanceToken.getCompletionUserUuid(); - } - - /** - * Sets the completion user uuid of this kaleo task instance token. - * - * @param completionUserUuid the completion user uuid of this kaleo task instance token - */ - @Override - public void setCompletionUserUuid(java.lang.String completionUserUuid) { - _kaleoTaskInstanceToken.setCompletionUserUuid(completionUserUuid); - } - - /** - * Returns the completed of this kaleo task instance token. - * - * @return the completed of this kaleo task instance token - */ - @Override - public boolean getCompleted() { - return _kaleoTaskInstanceToken.getCompleted(); - } - - /** - * Returns true if this kaleo task instance token is completed. - * - * @return true if this kaleo task instance token is completed; false otherwise - */ - @Override - public boolean isCompleted() { - return _kaleoTaskInstanceToken.isCompleted(); - } - - /** - * Sets whether this kaleo task instance token is completed. - * - * @param completed the completed of this kaleo task instance token - */ - @Override - public void setCompleted(boolean completed) { - _kaleoTaskInstanceToken.setCompleted(completed); - } - - /** - * Returns the completion date of this kaleo task instance token. - * - * @return the completion date of this kaleo task instance token - */ - @Override - public java.util.Date getCompletionDate() { - return _kaleoTaskInstanceToken.getCompletionDate(); - } - - /** - * Sets the completion date of this kaleo task instance token. - * - * @param completionDate the completion date of this kaleo task instance token - */ - @Override - public void setCompletionDate(java.util.Date completionDate) { - _kaleoTaskInstanceToken.setCompletionDate(completionDate); - } - - /** - * Returns the due date of this kaleo task instance token. - * - * @return the due date of this kaleo task instance token - */ - @Override - public java.util.Date getDueDate() { - return _kaleoTaskInstanceToken.getDueDate(); - } - - /** - * Sets the due date of this kaleo task instance token. - * - * @param dueDate the due date of this kaleo task instance token - */ - @Override - public void setDueDate(java.util.Date dueDate) { - _kaleoTaskInstanceToken.setDueDate(dueDate); - } - - /** - * Returns the workflow context of this kaleo task instance token. - * - * @return the workflow context of this kaleo task instance token - */ - @Override - public java.lang.String getWorkflowContext() { - return _kaleoTaskInstanceToken.getWorkflowContext(); - } - - /** - * Sets the workflow context of this kaleo task instance token. - * - * @param workflowContext the workflow context of this kaleo task instance token - */ - @Override - public void setWorkflowContext(java.lang.String workflowContext) { - _kaleoTaskInstanceToken.setWorkflowContext(workflowContext); - } - - @Override - public boolean isNew() { - return _kaleoTaskInstanceToken.isNew(); - } - - @Override - public void setNew(boolean n) { - _kaleoTaskInstanceToken.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _kaleoTaskInstanceToken.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _kaleoTaskInstanceToken.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _kaleoTaskInstanceToken.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _kaleoTaskInstanceToken.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _kaleoTaskInstanceToken.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _kaleoTaskInstanceToken.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _kaleoTaskInstanceToken.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _kaleoTaskInstanceToken.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _kaleoTaskInstanceToken.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new KaleoTaskInstanceTokenWrapper((KaleoTaskInstanceToken)_kaleoTaskInstanceToken.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken kaleoTaskInstanceToken) { - return _kaleoTaskInstanceToken.compareTo(kaleoTaskInstanceToken); - } - - @Override - public int hashCode() { - return _kaleoTaskInstanceToken.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _kaleoTaskInstanceToken.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken toEscapedModel() { - return new KaleoTaskInstanceTokenWrapper(_kaleoTaskInstanceToken.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken toUnescapedModel() { - return new KaleoTaskInstanceTokenWrapper(_kaleoTaskInstanceToken.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _kaleoTaskInstanceToken.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _kaleoTaskInstanceToken.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _kaleoTaskInstanceToken.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof KaleoTaskInstanceTokenWrapper)) { - return false; - } - - KaleoTaskInstanceTokenWrapper kaleoTaskInstanceTokenWrapper = (KaleoTaskInstanceTokenWrapper)obj; - - if (Validator.equals(_kaleoTaskInstanceToken, - kaleoTaskInstanceTokenWrapper._kaleoTaskInstanceToken)) { - return true; - } - - return false; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public KaleoTaskInstanceToken getWrappedKaleoTaskInstanceToken() { - return _kaleoTaskInstanceToken; - } - - @Override - public KaleoTaskInstanceToken getWrappedModel() { - return _kaleoTaskInstanceToken; - } - - @Override - public void resetOriginalValues() { - _kaleoTaskInstanceToken.resetOriginalValues(); - } - - private KaleoTaskInstanceToken _kaleoTaskInstanceToken; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskModel.java deleted file mode 100644 index c321c2f1..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskModel.java +++ /dev/null @@ -1,307 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.GroupedModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the KaleoTask service. Represents a row in the "kaleotask" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskImpl}. - *

- * - * @author 3FC - * @see KaleoTask - * @see it.tref.liferay.portos.importazione.model.impl.KaleoTaskImpl - * @see it.tref.liferay.portos.importazione.model.impl.KaleoTaskModelImpl - * @generated - */ -public interface KaleoTaskModel extends BaseModel, GroupedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a kaleo task model instance should use the {@link KaleoTask} interface instead. - */ - - /** - * Returns the primary key of this kaleo task. - * - * @return the primary key of this kaleo task - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this kaleo task. - * - * @param primaryKey the primary key of this kaleo task - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the kaleo task ID of this kaleo task. - * - * @return the kaleo task ID of this kaleo task - */ - public long getKaleoTaskId(); - - /** - * Sets the kaleo task ID of this kaleo task. - * - * @param kaleoTaskId the kaleo task ID of this kaleo task - */ - public void setKaleoTaskId(long kaleoTaskId); - - /** - * Returns the group ID of this kaleo task. - * - * @return the group ID of this kaleo task - */ - @Override - public long getGroupId(); - - /** - * Sets the group ID of this kaleo task. - * - * @param groupId the group ID of this kaleo task - */ - @Override - public void setGroupId(long groupId); - - /** - * Returns the company ID of this kaleo task. - * - * @return the company ID of this kaleo task - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this kaleo task. - * - * @param companyId the company ID of this kaleo task - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this kaleo task. - * - * @return the user ID of this kaleo task - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this kaleo task. - * - * @param userId the user ID of this kaleo task - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this kaleo task. - * - * @return the user uuid of this kaleo task - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this kaleo task. - * - * @param userUuid the user uuid of this kaleo task - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this kaleo task. - * - * @return the user name of this kaleo task - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this kaleo task. - * - * @param userName the user name of this kaleo task - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this kaleo task. - * - * @return the create date of this kaleo task - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this kaleo task. - * - * @param createDate the create date of this kaleo task - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this kaleo task. - * - * @return the modified date of this kaleo task - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this kaleo task. - * - * @param modifiedDate the modified date of this kaleo task - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the kaleo definition ID of this kaleo task. - * - * @return the kaleo definition ID of this kaleo task - */ - public long getKaleoDefinitionId(); - - /** - * Sets the kaleo definition ID of this kaleo task. - * - * @param kaleoDefinitionId the kaleo definition ID of this kaleo task - */ - public void setKaleoDefinitionId(long kaleoDefinitionId); - - /** - * Returns the kaleo node ID of this kaleo task. - * - * @return the kaleo node ID of this kaleo task - */ - public long getKaleoNodeId(); - - /** - * Sets the kaleo node ID of this kaleo task. - * - * @param kaleoNodeId the kaleo node ID of this kaleo task - */ - public void setKaleoNodeId(long kaleoNodeId); - - /** - * Returns the name of this kaleo task. - * - * @return the name of this kaleo task - */ - @AutoEscape - public String getName(); - - /** - * Sets the name of this kaleo task. - * - * @param name the name of this kaleo task - */ - public void setName(String name); - - /** - * Returns the description of this kaleo task. - * - * @return the description of this kaleo task - */ - @AutoEscape - public String getDescription(); - - /** - * Sets the description of this kaleo task. - * - * @param description the description of this kaleo task - */ - public void setDescription(String description); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.KaleoTask kaleoTask); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTask toEscapedModel(); - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTask toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskSoap.java deleted file mode 100644 index 8b514329..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskSoap.java +++ /dev/null @@ -1,195 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author 3FC - * @generated - */ -public class KaleoTaskSoap implements Serializable { - public static KaleoTaskSoap toSoapModel(KaleoTask model) { - KaleoTaskSoap soapModel = new KaleoTaskSoap(); - - soapModel.setKaleoTaskId(model.getKaleoTaskId()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setKaleoDefinitionId(model.getKaleoDefinitionId()); - soapModel.setKaleoNodeId(model.getKaleoNodeId()); - soapModel.setName(model.getName()); - soapModel.setDescription(model.getDescription()); - - return soapModel; - } - - public static KaleoTaskSoap[] toSoapModels(KaleoTask[] models) { - KaleoTaskSoap[] soapModels = new KaleoTaskSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static KaleoTaskSoap[][] toSoapModels(KaleoTask[][] models) { - KaleoTaskSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new KaleoTaskSoap[models.length][models[0].length]; - } - else { - soapModels = new KaleoTaskSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static KaleoTaskSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (KaleoTask model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new KaleoTaskSoap[soapModels.size()]); - } - - public KaleoTaskSoap() { - } - - public long getPrimaryKey() { - return _kaleoTaskId; - } - - public void setPrimaryKey(long pk) { - setKaleoTaskId(pk); - } - - public long getKaleoTaskId() { - return _kaleoTaskId; - } - - public void setKaleoTaskId(long kaleoTaskId) { - _kaleoTaskId = kaleoTaskId; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public long getKaleoDefinitionId() { - return _kaleoDefinitionId; - } - - public void setKaleoDefinitionId(long kaleoDefinitionId) { - _kaleoDefinitionId = kaleoDefinitionId; - } - - public long getKaleoNodeId() { - return _kaleoNodeId; - } - - public void setKaleoNodeId(long kaleoNodeId) { - _kaleoNodeId = kaleoNodeId; - } - - public String getName() { - return _name; - } - - public void setName(String name) { - _name = name; - } - - public String getDescription() { - return _description; - } - - public void setDescription(String description) { - _description = description; - } - - private long _kaleoTaskId; - private long _groupId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _kaleoDefinitionId; - private long _kaleoNodeId; - private String _name; - private String _description; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskWrapper.java deleted file mode 100644 index 1ab0cc9b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/KaleoTaskWrapper.java +++ /dev/null @@ -1,540 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link KaleoTask}. - *

- * - * @author 3FC - * @see KaleoTask - * @generated - */ -public class KaleoTaskWrapper implements KaleoTask, ModelWrapper { - public KaleoTaskWrapper(KaleoTask kaleoTask) { - _kaleoTask = kaleoTask; - } - - @Override - public Class getModelClass() { - return KaleoTask.class; - } - - @Override - public String getModelClassName() { - return KaleoTask.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("kaleoTaskId", getKaleoTaskId()); - attributes.put("groupId", getGroupId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("kaleoDefinitionId", getKaleoDefinitionId()); - attributes.put("kaleoNodeId", getKaleoNodeId()); - attributes.put("name", getName()); - attributes.put("description", getDescription()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long kaleoTaskId = (Long)attributes.get("kaleoTaskId"); - - if (kaleoTaskId != null) { - setKaleoTaskId(kaleoTaskId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long kaleoDefinitionId = (Long)attributes.get("kaleoDefinitionId"); - - if (kaleoDefinitionId != null) { - setKaleoDefinitionId(kaleoDefinitionId); - } - - Long kaleoNodeId = (Long)attributes.get("kaleoNodeId"); - - if (kaleoNodeId != null) { - setKaleoNodeId(kaleoNodeId); - } - - String name = (String)attributes.get("name"); - - if (name != null) { - setName(name); - } - - String description = (String)attributes.get("description"); - - if (description != null) { - setDescription(description); - } - } - - /** - * Returns the primary key of this kaleo task. - * - * @return the primary key of this kaleo task - */ - @Override - public long getPrimaryKey() { - return _kaleoTask.getPrimaryKey(); - } - - /** - * Sets the primary key of this kaleo task. - * - * @param primaryKey the primary key of this kaleo task - */ - @Override - public void setPrimaryKey(long primaryKey) { - _kaleoTask.setPrimaryKey(primaryKey); - } - - /** - * Returns the kaleo task ID of this kaleo task. - * - * @return the kaleo task ID of this kaleo task - */ - @Override - public long getKaleoTaskId() { - return _kaleoTask.getKaleoTaskId(); - } - - /** - * Sets the kaleo task ID of this kaleo task. - * - * @param kaleoTaskId the kaleo task ID of this kaleo task - */ - @Override - public void setKaleoTaskId(long kaleoTaskId) { - _kaleoTask.setKaleoTaskId(kaleoTaskId); - } - - /** - * Returns the group ID of this kaleo task. - * - * @return the group ID of this kaleo task - */ - @Override - public long getGroupId() { - return _kaleoTask.getGroupId(); - } - - /** - * Sets the group ID of this kaleo task. - * - * @param groupId the group ID of this kaleo task - */ - @Override - public void setGroupId(long groupId) { - _kaleoTask.setGroupId(groupId); - } - - /** - * Returns the company ID of this kaleo task. - * - * @return the company ID of this kaleo task - */ - @Override - public long getCompanyId() { - return _kaleoTask.getCompanyId(); - } - - /** - * Sets the company ID of this kaleo task. - * - * @param companyId the company ID of this kaleo task - */ - @Override - public void setCompanyId(long companyId) { - _kaleoTask.setCompanyId(companyId); - } - - /** - * Returns the user ID of this kaleo task. - * - * @return the user ID of this kaleo task - */ - @Override - public long getUserId() { - return _kaleoTask.getUserId(); - } - - /** - * Sets the user ID of this kaleo task. - * - * @param userId the user ID of this kaleo task - */ - @Override - public void setUserId(long userId) { - _kaleoTask.setUserId(userId); - } - - /** - * Returns the user uuid of this kaleo task. - * - * @return the user uuid of this kaleo task - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTask.getUserUuid(); - } - - /** - * Sets the user uuid of this kaleo task. - * - * @param userUuid the user uuid of this kaleo task - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _kaleoTask.setUserUuid(userUuid); - } - - /** - * Returns the user name of this kaleo task. - * - * @return the user name of this kaleo task - */ - @Override - public java.lang.String getUserName() { - return _kaleoTask.getUserName(); - } - - /** - * Sets the user name of this kaleo task. - * - * @param userName the user name of this kaleo task - */ - @Override - public void setUserName(java.lang.String userName) { - _kaleoTask.setUserName(userName); - } - - /** - * Returns the create date of this kaleo task. - * - * @return the create date of this kaleo task - */ - @Override - public java.util.Date getCreateDate() { - return _kaleoTask.getCreateDate(); - } - - /** - * Sets the create date of this kaleo task. - * - * @param createDate the create date of this kaleo task - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _kaleoTask.setCreateDate(createDate); - } - - /** - * Returns the modified date of this kaleo task. - * - * @return the modified date of this kaleo task - */ - @Override - public java.util.Date getModifiedDate() { - return _kaleoTask.getModifiedDate(); - } - - /** - * Sets the modified date of this kaleo task. - * - * @param modifiedDate the modified date of this kaleo task - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _kaleoTask.setModifiedDate(modifiedDate); - } - - /** - * Returns the kaleo definition ID of this kaleo task. - * - * @return the kaleo definition ID of this kaleo task - */ - @Override - public long getKaleoDefinitionId() { - return _kaleoTask.getKaleoDefinitionId(); - } - - /** - * Sets the kaleo definition ID of this kaleo task. - * - * @param kaleoDefinitionId the kaleo definition ID of this kaleo task - */ - @Override - public void setKaleoDefinitionId(long kaleoDefinitionId) { - _kaleoTask.setKaleoDefinitionId(kaleoDefinitionId); - } - - /** - * Returns the kaleo node ID of this kaleo task. - * - * @return the kaleo node ID of this kaleo task - */ - @Override - public long getKaleoNodeId() { - return _kaleoTask.getKaleoNodeId(); - } - - /** - * Sets the kaleo node ID of this kaleo task. - * - * @param kaleoNodeId the kaleo node ID of this kaleo task - */ - @Override - public void setKaleoNodeId(long kaleoNodeId) { - _kaleoTask.setKaleoNodeId(kaleoNodeId); - } - - /** - * Returns the name of this kaleo task. - * - * @return the name of this kaleo task - */ - @Override - public java.lang.String getName() { - return _kaleoTask.getName(); - } - - /** - * Sets the name of this kaleo task. - * - * @param name the name of this kaleo task - */ - @Override - public void setName(java.lang.String name) { - _kaleoTask.setName(name); - } - - /** - * Returns the description of this kaleo task. - * - * @return the description of this kaleo task - */ - @Override - public java.lang.String getDescription() { - return _kaleoTask.getDescription(); - } - - /** - * Sets the description of this kaleo task. - * - * @param description the description of this kaleo task - */ - @Override - public void setDescription(java.lang.String description) { - _kaleoTask.setDescription(description); - } - - @Override - public boolean isNew() { - return _kaleoTask.isNew(); - } - - @Override - public void setNew(boolean n) { - _kaleoTask.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _kaleoTask.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _kaleoTask.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _kaleoTask.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _kaleoTask.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _kaleoTask.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _kaleoTask.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _kaleoTask.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _kaleoTask.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _kaleoTask.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new KaleoTaskWrapper((KaleoTask)_kaleoTask.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.KaleoTask kaleoTask) { - return _kaleoTask.compareTo(kaleoTask); - } - - @Override - public int hashCode() { - return _kaleoTask.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _kaleoTask.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTask toEscapedModel() { - return new KaleoTaskWrapper(_kaleoTask.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTask toUnescapedModel() { - return new KaleoTaskWrapper(_kaleoTask.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _kaleoTask.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _kaleoTask.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _kaleoTask.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof KaleoTaskWrapper)) { - return false; - } - - KaleoTaskWrapper kaleoTaskWrapper = (KaleoTaskWrapper)obj; - - if (Validator.equals(_kaleoTask, kaleoTaskWrapper._kaleoTask)) { - return true; - } - - return false; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public KaleoTask getWrappedKaleoTask() { - return _kaleoTask; - } - - @Override - public KaleoTask getWrappedModel() { - return _kaleoTask; - } - - @Override - public void resetOriginalValues() { - _kaleoTask.resetOriginalValues(); - } - - private KaleoTask _kaleoTask; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldDLFileEntry.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldDLFileEntry.java deleted file mode 100644 index d624a33e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldDLFileEntry.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the OldDLFileEntry service. Represents a row in the "dlfileentry" database table, with each column mapped to a property of this class. - * - * @author 3FC - * @see OldDLFileEntryModel - * @see it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryImpl - * @see it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryModelImpl - * @generated - */ -public interface OldDLFileEntry extends OldDLFileEntryModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldDLFileEntryClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldDLFileEntryClp.java deleted file mode 100644 index 6178c1bb..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldDLFileEntryClp.java +++ /dev/null @@ -1,584 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.service.ClpSerializer; -import it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalServiceUtil; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author 3FC - */ -public class OldDLFileEntryClp extends BaseModelImpl - implements OldDLFileEntry { - public OldDLFileEntryClp() { - } - - @Override - public Class getModelClass() { - return OldDLFileEntry.class; - } - - @Override - public String getModelClassName() { - return OldDLFileEntry.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _fileEntryId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setFileEntryId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _fileEntryId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("fileEntryId", getFileEntryId()); - attributes.put("groupId", getGroupId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("repositoryId", getRepositoryId()); - attributes.put("folderId", getFolderId()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long fileEntryId = (Long)attributes.get("fileEntryId"); - - if (fileEntryId != null) { - setFileEntryId(fileEntryId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long repositoryId = (Long)attributes.get("repositoryId"); - - if (repositoryId != null) { - setRepositoryId(repositoryId); - } - - Long folderId = (Long)attributes.get("folderId"); - - if (folderId != null) { - setFolderId(folderId); - } - } - - @Override - public long getFileEntryId() { - return _fileEntryId; - } - - @Override - public void setFileEntryId(long fileEntryId) { - _fileEntryId = fileEntryId; - - if (_oldDLFileEntryRemoteModel != null) { - try { - Class clazz = _oldDLFileEntryRemoteModel.getClass(); - - Method method = clazz.getMethod("setFileEntryId", long.class); - - method.invoke(_oldDLFileEntryRemoteModel, fileEntryId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_oldDLFileEntryRemoteModel != null) { - try { - Class clazz = _oldDLFileEntryRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_oldDLFileEntryRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_oldDLFileEntryRemoteModel != null) { - try { - Class clazz = _oldDLFileEntryRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_oldDLFileEntryRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_oldDLFileEntryRemoteModel != null) { - try { - Class clazz = _oldDLFileEntryRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_oldDLFileEntryRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_oldDLFileEntryRemoteModel != null) { - try { - Class clazz = _oldDLFileEntryRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_oldDLFileEntryRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_oldDLFileEntryRemoteModel != null) { - try { - Class clazz = _oldDLFileEntryRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_oldDLFileEntryRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_oldDLFileEntryRemoteModel != null) { - try { - Class clazz = _oldDLFileEntryRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_oldDLFileEntryRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getRepositoryId() { - return _repositoryId; - } - - @Override - public void setRepositoryId(long repositoryId) { - _repositoryId = repositoryId; - - if (_oldDLFileEntryRemoteModel != null) { - try { - Class clazz = _oldDLFileEntryRemoteModel.getClass(); - - Method method = clazz.getMethod("setRepositoryId", long.class); - - method.invoke(_oldDLFileEntryRemoteModel, repositoryId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getFolderId() { - return _folderId; - } - - @Override - public void setFolderId(long folderId) { - _folderId = folderId; - - if (_oldDLFileEntryRemoteModel != null) { - try { - Class clazz = _oldDLFileEntryRemoteModel.getClass(); - - Method method = clazz.getMethod("setFolderId", long.class); - - method.invoke(_oldDLFileEntryRemoteModel, folderId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - public BaseModel getOldDLFileEntryRemoteModel() { - return _oldDLFileEntryRemoteModel; - } - - public void setOldDLFileEntryRemoteModel( - BaseModel oldDLFileEntryRemoteModel) { - _oldDLFileEntryRemoteModel = oldDLFileEntryRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _oldDLFileEntryRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_oldDLFileEntryRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - OldDLFileEntryLocalServiceUtil.addOldDLFileEntry(this); - } - else { - OldDLFileEntryLocalServiceUtil.updateOldDLFileEntry(this); - } - } - - @Override - public OldDLFileEntry toEscapedModel() { - return (OldDLFileEntry)ProxyUtil.newProxyInstance(OldDLFileEntry.class.getClassLoader(), - new Class[] { OldDLFileEntry.class }, - new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - OldDLFileEntryClp clone = new OldDLFileEntryClp(); - - clone.setFileEntryId(getFileEntryId()); - clone.setGroupId(getGroupId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setRepositoryId(getRepositoryId()); - clone.setFolderId(getFolderId()); - - return clone; - } - - @Override - public int compareTo(OldDLFileEntry oldDLFileEntry) { - long primaryKey = oldDLFileEntry.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof OldDLFileEntryClp)) { - return false; - } - - OldDLFileEntryClp oldDLFileEntry = (OldDLFileEntryClp)obj; - - long primaryKey = oldDLFileEntry.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(19); - - sb.append("{fileEntryId="); - sb.append(getFileEntryId()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", repositoryId="); - sb.append(getRepositoryId()); - sb.append(", folderId="); - sb.append(getFolderId()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(31); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.OldDLFileEntry"); - sb.append(""); - - sb.append( - "fileEntryId"); - sb.append( - "groupId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "repositoryId"); - sb.append( - "folderId"); - - sb.append(""); - - return sb.toString(); - } - - private long _fileEntryId; - private long _groupId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _repositoryId; - private long _folderId; - private BaseModel _oldDLFileEntryRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.importazione.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldDLFileEntryModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldDLFileEntryModel.java deleted file mode 100644 index c68a5979..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldDLFileEntryModel.java +++ /dev/null @@ -1,278 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.GroupedModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the OldDLFileEntry service. Represents a row in the "dlfileentry" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryImpl}. - *

- * - * @author 3FC - * @see OldDLFileEntry - * @see it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryImpl - * @see it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryModelImpl - * @generated - */ -public interface OldDLFileEntryModel extends BaseModel, - GroupedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a old d l file entry model instance should use the {@link OldDLFileEntry} interface instead. - */ - - /** - * Returns the primary key of this old d l file entry. - * - * @return the primary key of this old d l file entry - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this old d l file entry. - * - * @param primaryKey the primary key of this old d l file entry - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the file entry ID of this old d l file entry. - * - * @return the file entry ID of this old d l file entry - */ - public long getFileEntryId(); - - /** - * Sets the file entry ID of this old d l file entry. - * - * @param fileEntryId the file entry ID of this old d l file entry - */ - public void setFileEntryId(long fileEntryId); - - /** - * Returns the group ID of this old d l file entry. - * - * @return the group ID of this old d l file entry - */ - @Override - public long getGroupId(); - - /** - * Sets the group ID of this old d l file entry. - * - * @param groupId the group ID of this old d l file entry - */ - @Override - public void setGroupId(long groupId); - - /** - * Returns the company ID of this old d l file entry. - * - * @return the company ID of this old d l file entry - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this old d l file entry. - * - * @param companyId the company ID of this old d l file entry - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this old d l file entry. - * - * @return the user ID of this old d l file entry - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this old d l file entry. - * - * @param userId the user ID of this old d l file entry - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this old d l file entry. - * - * @return the user uuid of this old d l file entry - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this old d l file entry. - * - * @param userUuid the user uuid of this old d l file entry - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this old d l file entry. - * - * @return the user name of this old d l file entry - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this old d l file entry. - * - * @param userName the user name of this old d l file entry - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this old d l file entry. - * - * @return the create date of this old d l file entry - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this old d l file entry. - * - * @param createDate the create date of this old d l file entry - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this old d l file entry. - * - * @return the modified date of this old d l file entry - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this old d l file entry. - * - * @param modifiedDate the modified date of this old d l file entry - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the repository ID of this old d l file entry. - * - * @return the repository ID of this old d l file entry - */ - public long getRepositoryId(); - - /** - * Sets the repository ID of this old d l file entry. - * - * @param repositoryId the repository ID of this old d l file entry - */ - public void setRepositoryId(long repositoryId); - - /** - * Returns the folder ID of this old d l file entry. - * - * @return the folder ID of this old d l file entry - */ - public long getFolderId(); - - /** - * Sets the folder ID of this old d l file entry. - * - * @param folderId the folder ID of this old d l file entry - */ - public void setFolderId(long folderId); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.OldDLFileEntry oldDLFileEntry); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.importazione.model.OldDLFileEntry toEscapedModel(); - - @Override - public it.tref.liferay.portos.importazione.model.OldDLFileEntry toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldDLFileEntrySoap.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldDLFileEntrySoap.java deleted file mode 100644 index 12acb36f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldDLFileEntrySoap.java +++ /dev/null @@ -1,175 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author 3FC - * @generated - */ -public class OldDLFileEntrySoap implements Serializable { - public static OldDLFileEntrySoap toSoapModel(OldDLFileEntry model) { - OldDLFileEntrySoap soapModel = new OldDLFileEntrySoap(); - - soapModel.setFileEntryId(model.getFileEntryId()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setRepositoryId(model.getRepositoryId()); - soapModel.setFolderId(model.getFolderId()); - - return soapModel; - } - - public static OldDLFileEntrySoap[] toSoapModels(OldDLFileEntry[] models) { - OldDLFileEntrySoap[] soapModels = new OldDLFileEntrySoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static OldDLFileEntrySoap[][] toSoapModels(OldDLFileEntry[][] models) { - OldDLFileEntrySoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new OldDLFileEntrySoap[models.length][models[0].length]; - } - else { - soapModels = new OldDLFileEntrySoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static OldDLFileEntrySoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (OldDLFileEntry model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new OldDLFileEntrySoap[soapModels.size()]); - } - - public OldDLFileEntrySoap() { - } - - public long getPrimaryKey() { - return _fileEntryId; - } - - public void setPrimaryKey(long pk) { - setFileEntryId(pk); - } - - public long getFileEntryId() { - return _fileEntryId; - } - - public void setFileEntryId(long fileEntryId) { - _fileEntryId = fileEntryId; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public long getRepositoryId() { - return _repositoryId; - } - - public void setRepositoryId(long repositoryId) { - _repositoryId = repositoryId; - } - - public long getFolderId() { - return _folderId; - } - - public void setFolderId(long folderId) { - _folderId = folderId; - } - - private long _fileEntryId; - private long _groupId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _repositoryId; - private long _folderId; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldDLFileEntryWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldDLFileEntryWrapper.java deleted file mode 100644 index d00220d4..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldDLFileEntryWrapper.java +++ /dev/null @@ -1,488 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link OldDLFileEntry}. - *

- * - * @author 3FC - * @see OldDLFileEntry - * @generated - */ -public class OldDLFileEntryWrapper implements OldDLFileEntry, - ModelWrapper { - public OldDLFileEntryWrapper(OldDLFileEntry oldDLFileEntry) { - _oldDLFileEntry = oldDLFileEntry; - } - - @Override - public Class getModelClass() { - return OldDLFileEntry.class; - } - - @Override - public String getModelClassName() { - return OldDLFileEntry.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("fileEntryId", getFileEntryId()); - attributes.put("groupId", getGroupId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("repositoryId", getRepositoryId()); - attributes.put("folderId", getFolderId()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long fileEntryId = (Long)attributes.get("fileEntryId"); - - if (fileEntryId != null) { - setFileEntryId(fileEntryId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long repositoryId = (Long)attributes.get("repositoryId"); - - if (repositoryId != null) { - setRepositoryId(repositoryId); - } - - Long folderId = (Long)attributes.get("folderId"); - - if (folderId != null) { - setFolderId(folderId); - } - } - - /** - * Returns the primary key of this old d l file entry. - * - * @return the primary key of this old d l file entry - */ - @Override - public long getPrimaryKey() { - return _oldDLFileEntry.getPrimaryKey(); - } - - /** - * Sets the primary key of this old d l file entry. - * - * @param primaryKey the primary key of this old d l file entry - */ - @Override - public void setPrimaryKey(long primaryKey) { - _oldDLFileEntry.setPrimaryKey(primaryKey); - } - - /** - * Returns the file entry ID of this old d l file entry. - * - * @return the file entry ID of this old d l file entry - */ - @Override - public long getFileEntryId() { - return _oldDLFileEntry.getFileEntryId(); - } - - /** - * Sets the file entry ID of this old d l file entry. - * - * @param fileEntryId the file entry ID of this old d l file entry - */ - @Override - public void setFileEntryId(long fileEntryId) { - _oldDLFileEntry.setFileEntryId(fileEntryId); - } - - /** - * Returns the group ID of this old d l file entry. - * - * @return the group ID of this old d l file entry - */ - @Override - public long getGroupId() { - return _oldDLFileEntry.getGroupId(); - } - - /** - * Sets the group ID of this old d l file entry. - * - * @param groupId the group ID of this old d l file entry - */ - @Override - public void setGroupId(long groupId) { - _oldDLFileEntry.setGroupId(groupId); - } - - /** - * Returns the company ID of this old d l file entry. - * - * @return the company ID of this old d l file entry - */ - @Override - public long getCompanyId() { - return _oldDLFileEntry.getCompanyId(); - } - - /** - * Sets the company ID of this old d l file entry. - * - * @param companyId the company ID of this old d l file entry - */ - @Override - public void setCompanyId(long companyId) { - _oldDLFileEntry.setCompanyId(companyId); - } - - /** - * Returns the user ID of this old d l file entry. - * - * @return the user ID of this old d l file entry - */ - @Override - public long getUserId() { - return _oldDLFileEntry.getUserId(); - } - - /** - * Sets the user ID of this old d l file entry. - * - * @param userId the user ID of this old d l file entry - */ - @Override - public void setUserId(long userId) { - _oldDLFileEntry.setUserId(userId); - } - - /** - * Returns the user uuid of this old d l file entry. - * - * @return the user uuid of this old d l file entry - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _oldDLFileEntry.getUserUuid(); - } - - /** - * Sets the user uuid of this old d l file entry. - * - * @param userUuid the user uuid of this old d l file entry - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _oldDLFileEntry.setUserUuid(userUuid); - } - - /** - * Returns the user name of this old d l file entry. - * - * @return the user name of this old d l file entry - */ - @Override - public java.lang.String getUserName() { - return _oldDLFileEntry.getUserName(); - } - - /** - * Sets the user name of this old d l file entry. - * - * @param userName the user name of this old d l file entry - */ - @Override - public void setUserName(java.lang.String userName) { - _oldDLFileEntry.setUserName(userName); - } - - /** - * Returns the create date of this old d l file entry. - * - * @return the create date of this old d l file entry - */ - @Override - public java.util.Date getCreateDate() { - return _oldDLFileEntry.getCreateDate(); - } - - /** - * Sets the create date of this old d l file entry. - * - * @param createDate the create date of this old d l file entry - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _oldDLFileEntry.setCreateDate(createDate); - } - - /** - * Returns the modified date of this old d l file entry. - * - * @return the modified date of this old d l file entry - */ - @Override - public java.util.Date getModifiedDate() { - return _oldDLFileEntry.getModifiedDate(); - } - - /** - * Sets the modified date of this old d l file entry. - * - * @param modifiedDate the modified date of this old d l file entry - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _oldDLFileEntry.setModifiedDate(modifiedDate); - } - - /** - * Returns the repository ID of this old d l file entry. - * - * @return the repository ID of this old d l file entry - */ - @Override - public long getRepositoryId() { - return _oldDLFileEntry.getRepositoryId(); - } - - /** - * Sets the repository ID of this old d l file entry. - * - * @param repositoryId the repository ID of this old d l file entry - */ - @Override - public void setRepositoryId(long repositoryId) { - _oldDLFileEntry.setRepositoryId(repositoryId); - } - - /** - * Returns the folder ID of this old d l file entry. - * - * @return the folder ID of this old d l file entry - */ - @Override - public long getFolderId() { - return _oldDLFileEntry.getFolderId(); - } - - /** - * Sets the folder ID of this old d l file entry. - * - * @param folderId the folder ID of this old d l file entry - */ - @Override - public void setFolderId(long folderId) { - _oldDLFileEntry.setFolderId(folderId); - } - - @Override - public boolean isNew() { - return _oldDLFileEntry.isNew(); - } - - @Override - public void setNew(boolean n) { - _oldDLFileEntry.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _oldDLFileEntry.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _oldDLFileEntry.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _oldDLFileEntry.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _oldDLFileEntry.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _oldDLFileEntry.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _oldDLFileEntry.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _oldDLFileEntry.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _oldDLFileEntry.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _oldDLFileEntry.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new OldDLFileEntryWrapper((OldDLFileEntry)_oldDLFileEntry.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.OldDLFileEntry oldDLFileEntry) { - return _oldDLFileEntry.compareTo(oldDLFileEntry); - } - - @Override - public int hashCode() { - return _oldDLFileEntry.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _oldDLFileEntry.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldDLFileEntry toEscapedModel() { - return new OldDLFileEntryWrapper(_oldDLFileEntry.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldDLFileEntry toUnescapedModel() { - return new OldDLFileEntryWrapper(_oldDLFileEntry.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _oldDLFileEntry.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _oldDLFileEntry.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _oldDLFileEntry.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof OldDLFileEntryWrapper)) { - return false; - } - - OldDLFileEntryWrapper oldDLFileEntryWrapper = (OldDLFileEntryWrapper)obj; - - if (Validator.equals(_oldDLFileEntry, - oldDLFileEntryWrapper._oldDLFileEntry)) { - return true; - } - - return false; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public OldDLFileEntry getWrappedOldDLFileEntry() { - return _oldDLFileEntry; - } - - @Override - public OldDLFileEntry getWrappedModel() { - return _oldDLFileEntry; - } - - @Override - public void resetOriginalValues() { - _oldDLFileEntry.resetOriginalValues(); - } - - private OldDLFileEntry _oldDLFileEntry; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldDLFolder.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldDLFolder.java deleted file mode 100644 index ea999602..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldDLFolder.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the OldDLFolder service. Represents a row in the "dlfolder" database table, with each column mapped to a property of this class. - * - * @author 3FC - * @see OldDLFolderModel - * @see it.tref.liferay.portos.importazione.model.impl.OldDLFolderImpl - * @see it.tref.liferay.portos.importazione.model.impl.OldDLFolderModelImpl - * @generated - */ -public interface OldDLFolder extends OldDLFolderModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.importazione.model.impl.OldDLFolderImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldDLFolderClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldDLFolderClp.java deleted file mode 100644 index cddf5edd..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldDLFolderClp.java +++ /dev/null @@ -1,620 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.service.ClpSerializer; -import it.tref.liferay.portos.importazione.service.OldDLFolderLocalServiceUtil; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author 3FC - */ -public class OldDLFolderClp extends BaseModelImpl - implements OldDLFolder { - public OldDLFolderClp() { - } - - @Override - public Class getModelClass() { - return OldDLFolder.class; - } - - @Override - public String getModelClassName() { - return OldDLFolder.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _folderId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setFolderId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _folderId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("folderId", getFolderId()); - attributes.put("groupId", getGroupId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("repositoryId", getRepositoryId()); - attributes.put("parentFolderId", getParentFolderId()); - attributes.put("name", getName()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long folderId = (Long)attributes.get("folderId"); - - if (folderId != null) { - setFolderId(folderId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long repositoryId = (Long)attributes.get("repositoryId"); - - if (repositoryId != null) { - setRepositoryId(repositoryId); - } - - Long parentFolderId = (Long)attributes.get("parentFolderId"); - - if (parentFolderId != null) { - setParentFolderId(parentFolderId); - } - - String name = (String)attributes.get("name"); - - if (name != null) { - setName(name); - } - } - - @Override - public long getFolderId() { - return _folderId; - } - - @Override - public void setFolderId(long folderId) { - _folderId = folderId; - - if (_oldDLFolderRemoteModel != null) { - try { - Class clazz = _oldDLFolderRemoteModel.getClass(); - - Method method = clazz.getMethod("setFolderId", long.class); - - method.invoke(_oldDLFolderRemoteModel, folderId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_oldDLFolderRemoteModel != null) { - try { - Class clazz = _oldDLFolderRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_oldDLFolderRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_oldDLFolderRemoteModel != null) { - try { - Class clazz = _oldDLFolderRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_oldDLFolderRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_oldDLFolderRemoteModel != null) { - try { - Class clazz = _oldDLFolderRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_oldDLFolderRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_oldDLFolderRemoteModel != null) { - try { - Class clazz = _oldDLFolderRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_oldDLFolderRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_oldDLFolderRemoteModel != null) { - try { - Class clazz = _oldDLFolderRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_oldDLFolderRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_oldDLFolderRemoteModel != null) { - try { - Class clazz = _oldDLFolderRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_oldDLFolderRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getRepositoryId() { - return _repositoryId; - } - - @Override - public void setRepositoryId(long repositoryId) { - _repositoryId = repositoryId; - - if (_oldDLFolderRemoteModel != null) { - try { - Class clazz = _oldDLFolderRemoteModel.getClass(); - - Method method = clazz.getMethod("setRepositoryId", long.class); - - method.invoke(_oldDLFolderRemoteModel, repositoryId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getParentFolderId() { - return _parentFolderId; - } - - @Override - public void setParentFolderId(long parentFolderId) { - _parentFolderId = parentFolderId; - - if (_oldDLFolderRemoteModel != null) { - try { - Class clazz = _oldDLFolderRemoteModel.getClass(); - - Method method = clazz.getMethod("setParentFolderId", long.class); - - method.invoke(_oldDLFolderRemoteModel, parentFolderId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getName() { - return _name; - } - - @Override - public void setName(String name) { - _name = name; - - if (_oldDLFolderRemoteModel != null) { - try { - Class clazz = _oldDLFolderRemoteModel.getClass(); - - Method method = clazz.getMethod("setName", String.class); - - method.invoke(_oldDLFolderRemoteModel, name); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - public BaseModel getOldDLFolderRemoteModel() { - return _oldDLFolderRemoteModel; - } - - public void setOldDLFolderRemoteModel(BaseModel oldDLFolderRemoteModel) { - _oldDLFolderRemoteModel = oldDLFolderRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _oldDLFolderRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_oldDLFolderRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - OldDLFolderLocalServiceUtil.addOldDLFolder(this); - } - else { - OldDLFolderLocalServiceUtil.updateOldDLFolder(this); - } - } - - @Override - public OldDLFolder toEscapedModel() { - return (OldDLFolder)ProxyUtil.newProxyInstance(OldDLFolder.class.getClassLoader(), - new Class[] { OldDLFolder.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - OldDLFolderClp clone = new OldDLFolderClp(); - - clone.setFolderId(getFolderId()); - clone.setGroupId(getGroupId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setRepositoryId(getRepositoryId()); - clone.setParentFolderId(getParentFolderId()); - clone.setName(getName()); - - return clone; - } - - @Override - public int compareTo(OldDLFolder oldDLFolder) { - long primaryKey = oldDLFolder.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof OldDLFolderClp)) { - return false; - } - - OldDLFolderClp oldDLFolder = (OldDLFolderClp)obj; - - long primaryKey = oldDLFolder.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(21); - - sb.append("{folderId="); - sb.append(getFolderId()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", repositoryId="); - sb.append(getRepositoryId()); - sb.append(", parentFolderId="); - sb.append(getParentFolderId()); - sb.append(", name="); - sb.append(getName()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(34); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.OldDLFolder"); - sb.append(""); - - sb.append( - "folderId"); - sb.append( - "groupId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "repositoryId"); - sb.append( - "parentFolderId"); - sb.append( - "name"); - - sb.append(""); - - return sb.toString(); - } - - private long _folderId; - private long _groupId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _repositoryId; - private long _parentFolderId; - private String _name; - private BaseModel _oldDLFolderRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.importazione.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldDLFolderModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldDLFolderModel.java deleted file mode 100644 index fa754a25..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldDLFolderModel.java +++ /dev/null @@ -1,292 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.GroupedModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the OldDLFolder service. Represents a row in the "dlfolder" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.importazione.model.impl.OldDLFolderModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.importazione.model.impl.OldDLFolderImpl}. - *

- * - * @author 3FC - * @see OldDLFolder - * @see it.tref.liferay.portos.importazione.model.impl.OldDLFolderImpl - * @see it.tref.liferay.portos.importazione.model.impl.OldDLFolderModelImpl - * @generated - */ -public interface OldDLFolderModel extends BaseModel, GroupedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a old d l folder model instance should use the {@link OldDLFolder} interface instead. - */ - - /** - * Returns the primary key of this old d l folder. - * - * @return the primary key of this old d l folder - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this old d l folder. - * - * @param primaryKey the primary key of this old d l folder - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the folder ID of this old d l folder. - * - * @return the folder ID of this old d l folder - */ - public long getFolderId(); - - /** - * Sets the folder ID of this old d l folder. - * - * @param folderId the folder ID of this old d l folder - */ - public void setFolderId(long folderId); - - /** - * Returns the group ID of this old d l folder. - * - * @return the group ID of this old d l folder - */ - @Override - public long getGroupId(); - - /** - * Sets the group ID of this old d l folder. - * - * @param groupId the group ID of this old d l folder - */ - @Override - public void setGroupId(long groupId); - - /** - * Returns the company ID of this old d l folder. - * - * @return the company ID of this old d l folder - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this old d l folder. - * - * @param companyId the company ID of this old d l folder - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this old d l folder. - * - * @return the user ID of this old d l folder - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this old d l folder. - * - * @param userId the user ID of this old d l folder - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this old d l folder. - * - * @return the user uuid of this old d l folder - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this old d l folder. - * - * @param userUuid the user uuid of this old d l folder - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this old d l folder. - * - * @return the user name of this old d l folder - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this old d l folder. - * - * @param userName the user name of this old d l folder - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this old d l folder. - * - * @return the create date of this old d l folder - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this old d l folder. - * - * @param createDate the create date of this old d l folder - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this old d l folder. - * - * @return the modified date of this old d l folder - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this old d l folder. - * - * @param modifiedDate the modified date of this old d l folder - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the repository ID of this old d l folder. - * - * @return the repository ID of this old d l folder - */ - public long getRepositoryId(); - - /** - * Sets the repository ID of this old d l folder. - * - * @param repositoryId the repository ID of this old d l folder - */ - public void setRepositoryId(long repositoryId); - - /** - * Returns the parent folder ID of this old d l folder. - * - * @return the parent folder ID of this old d l folder - */ - public long getParentFolderId(); - - /** - * Sets the parent folder ID of this old d l folder. - * - * @param parentFolderId the parent folder ID of this old d l folder - */ - public void setParentFolderId(long parentFolderId); - - /** - * Returns the name of this old d l folder. - * - * @return the name of this old d l folder - */ - @AutoEscape - public String getName(); - - /** - * Sets the name of this old d l folder. - * - * @param name the name of this old d l folder - */ - public void setName(String name); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.OldDLFolder oldDLFolder); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.importazione.model.OldDLFolder toEscapedModel(); - - @Override - public it.tref.liferay.portos.importazione.model.OldDLFolder toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldDLFolderSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldDLFolderSoap.java deleted file mode 100644 index dd871058..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldDLFolderSoap.java +++ /dev/null @@ -1,185 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author 3FC - * @generated - */ -public class OldDLFolderSoap implements Serializable { - public static OldDLFolderSoap toSoapModel(OldDLFolder model) { - OldDLFolderSoap soapModel = new OldDLFolderSoap(); - - soapModel.setFolderId(model.getFolderId()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setRepositoryId(model.getRepositoryId()); - soapModel.setParentFolderId(model.getParentFolderId()); - soapModel.setName(model.getName()); - - return soapModel; - } - - public static OldDLFolderSoap[] toSoapModels(OldDLFolder[] models) { - OldDLFolderSoap[] soapModels = new OldDLFolderSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static OldDLFolderSoap[][] toSoapModels(OldDLFolder[][] models) { - OldDLFolderSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new OldDLFolderSoap[models.length][models[0].length]; - } - else { - soapModels = new OldDLFolderSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static OldDLFolderSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (OldDLFolder model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new OldDLFolderSoap[soapModels.size()]); - } - - public OldDLFolderSoap() { - } - - public long getPrimaryKey() { - return _folderId; - } - - public void setPrimaryKey(long pk) { - setFolderId(pk); - } - - public long getFolderId() { - return _folderId; - } - - public void setFolderId(long folderId) { - _folderId = folderId; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public long getRepositoryId() { - return _repositoryId; - } - - public void setRepositoryId(long repositoryId) { - _repositoryId = repositoryId; - } - - public long getParentFolderId() { - return _parentFolderId; - } - - public void setParentFolderId(long parentFolderId) { - _parentFolderId = parentFolderId; - } - - public String getName() { - return _name; - } - - public void setName(String name) { - _name = name; - } - - private long _folderId; - private long _groupId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _repositoryId; - private long _parentFolderId; - private String _name; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldDLFolderWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldDLFolderWrapper.java deleted file mode 100644 index 0cebad96..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldDLFolderWrapper.java +++ /dev/null @@ -1,514 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link OldDLFolder}. - *

- * - * @author 3FC - * @see OldDLFolder - * @generated - */ -public class OldDLFolderWrapper implements OldDLFolder, - ModelWrapper { - public OldDLFolderWrapper(OldDLFolder oldDLFolder) { - _oldDLFolder = oldDLFolder; - } - - @Override - public Class getModelClass() { - return OldDLFolder.class; - } - - @Override - public String getModelClassName() { - return OldDLFolder.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("folderId", getFolderId()); - attributes.put("groupId", getGroupId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("repositoryId", getRepositoryId()); - attributes.put("parentFolderId", getParentFolderId()); - attributes.put("name", getName()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long folderId = (Long)attributes.get("folderId"); - - if (folderId != null) { - setFolderId(folderId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long repositoryId = (Long)attributes.get("repositoryId"); - - if (repositoryId != null) { - setRepositoryId(repositoryId); - } - - Long parentFolderId = (Long)attributes.get("parentFolderId"); - - if (parentFolderId != null) { - setParentFolderId(parentFolderId); - } - - String name = (String)attributes.get("name"); - - if (name != null) { - setName(name); - } - } - - /** - * Returns the primary key of this old d l folder. - * - * @return the primary key of this old d l folder - */ - @Override - public long getPrimaryKey() { - return _oldDLFolder.getPrimaryKey(); - } - - /** - * Sets the primary key of this old d l folder. - * - * @param primaryKey the primary key of this old d l folder - */ - @Override - public void setPrimaryKey(long primaryKey) { - _oldDLFolder.setPrimaryKey(primaryKey); - } - - /** - * Returns the folder ID of this old d l folder. - * - * @return the folder ID of this old d l folder - */ - @Override - public long getFolderId() { - return _oldDLFolder.getFolderId(); - } - - /** - * Sets the folder ID of this old d l folder. - * - * @param folderId the folder ID of this old d l folder - */ - @Override - public void setFolderId(long folderId) { - _oldDLFolder.setFolderId(folderId); - } - - /** - * Returns the group ID of this old d l folder. - * - * @return the group ID of this old d l folder - */ - @Override - public long getGroupId() { - return _oldDLFolder.getGroupId(); - } - - /** - * Sets the group ID of this old d l folder. - * - * @param groupId the group ID of this old d l folder - */ - @Override - public void setGroupId(long groupId) { - _oldDLFolder.setGroupId(groupId); - } - - /** - * Returns the company ID of this old d l folder. - * - * @return the company ID of this old d l folder - */ - @Override - public long getCompanyId() { - return _oldDLFolder.getCompanyId(); - } - - /** - * Sets the company ID of this old d l folder. - * - * @param companyId the company ID of this old d l folder - */ - @Override - public void setCompanyId(long companyId) { - _oldDLFolder.setCompanyId(companyId); - } - - /** - * Returns the user ID of this old d l folder. - * - * @return the user ID of this old d l folder - */ - @Override - public long getUserId() { - return _oldDLFolder.getUserId(); - } - - /** - * Sets the user ID of this old d l folder. - * - * @param userId the user ID of this old d l folder - */ - @Override - public void setUserId(long userId) { - _oldDLFolder.setUserId(userId); - } - - /** - * Returns the user uuid of this old d l folder. - * - * @return the user uuid of this old d l folder - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _oldDLFolder.getUserUuid(); - } - - /** - * Sets the user uuid of this old d l folder. - * - * @param userUuid the user uuid of this old d l folder - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _oldDLFolder.setUserUuid(userUuid); - } - - /** - * Returns the user name of this old d l folder. - * - * @return the user name of this old d l folder - */ - @Override - public java.lang.String getUserName() { - return _oldDLFolder.getUserName(); - } - - /** - * Sets the user name of this old d l folder. - * - * @param userName the user name of this old d l folder - */ - @Override - public void setUserName(java.lang.String userName) { - _oldDLFolder.setUserName(userName); - } - - /** - * Returns the create date of this old d l folder. - * - * @return the create date of this old d l folder - */ - @Override - public java.util.Date getCreateDate() { - return _oldDLFolder.getCreateDate(); - } - - /** - * Sets the create date of this old d l folder. - * - * @param createDate the create date of this old d l folder - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _oldDLFolder.setCreateDate(createDate); - } - - /** - * Returns the modified date of this old d l folder. - * - * @return the modified date of this old d l folder - */ - @Override - public java.util.Date getModifiedDate() { - return _oldDLFolder.getModifiedDate(); - } - - /** - * Sets the modified date of this old d l folder. - * - * @param modifiedDate the modified date of this old d l folder - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _oldDLFolder.setModifiedDate(modifiedDate); - } - - /** - * Returns the repository ID of this old d l folder. - * - * @return the repository ID of this old d l folder - */ - @Override - public long getRepositoryId() { - return _oldDLFolder.getRepositoryId(); - } - - /** - * Sets the repository ID of this old d l folder. - * - * @param repositoryId the repository ID of this old d l folder - */ - @Override - public void setRepositoryId(long repositoryId) { - _oldDLFolder.setRepositoryId(repositoryId); - } - - /** - * Returns the parent folder ID of this old d l folder. - * - * @return the parent folder ID of this old d l folder - */ - @Override - public long getParentFolderId() { - return _oldDLFolder.getParentFolderId(); - } - - /** - * Sets the parent folder ID of this old d l folder. - * - * @param parentFolderId the parent folder ID of this old d l folder - */ - @Override - public void setParentFolderId(long parentFolderId) { - _oldDLFolder.setParentFolderId(parentFolderId); - } - - /** - * Returns the name of this old d l folder. - * - * @return the name of this old d l folder - */ - @Override - public java.lang.String getName() { - return _oldDLFolder.getName(); - } - - /** - * Sets the name of this old d l folder. - * - * @param name the name of this old d l folder - */ - @Override - public void setName(java.lang.String name) { - _oldDLFolder.setName(name); - } - - @Override - public boolean isNew() { - return _oldDLFolder.isNew(); - } - - @Override - public void setNew(boolean n) { - _oldDLFolder.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _oldDLFolder.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _oldDLFolder.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _oldDLFolder.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _oldDLFolder.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _oldDLFolder.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _oldDLFolder.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _oldDLFolder.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _oldDLFolder.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _oldDLFolder.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new OldDLFolderWrapper((OldDLFolder)_oldDLFolder.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.OldDLFolder oldDLFolder) { - return _oldDLFolder.compareTo(oldDLFolder); - } - - @Override - public int hashCode() { - return _oldDLFolder.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _oldDLFolder.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldDLFolder toEscapedModel() { - return new OldDLFolderWrapper(_oldDLFolder.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldDLFolder toUnescapedModel() { - return new OldDLFolderWrapper(_oldDLFolder.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _oldDLFolder.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _oldDLFolder.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _oldDLFolder.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof OldDLFolderWrapper)) { - return false; - } - - OldDLFolderWrapper oldDLFolderWrapper = (OldDLFolderWrapper)obj; - - if (Validator.equals(_oldDLFolder, oldDLFolderWrapper._oldDLFolder)) { - return true; - } - - return false; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public OldDLFolder getWrappedOldDLFolder() { - return _oldDLFolder; - } - - @Override - public OldDLFolder getWrappedModel() { - return _oldDLFolder; - } - - @Override - public void resetOriginalValues() { - _oldDLFolder.resetOriginalValues(); - } - - private OldDLFolder _oldDLFolder; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldGroup.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldGroup.java deleted file mode 100644 index a2feb3a4..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldGroup.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the OldGroup service. Represents a row in the "group_" database table, with each column mapped to a property of this class. - * - * @author 3FC - * @see OldGroupModel - * @see it.tref.liferay.portos.importazione.model.impl.OldGroupImpl - * @see it.tref.liferay.portos.importazione.model.impl.OldGroupModelImpl - * @generated - */ -public interface OldGroup extends OldGroupModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.importazione.model.impl.OldGroupImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldGroupClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldGroupClp.java deleted file mode 100644 index 1fd75f05..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldGroupClp.java +++ /dev/null @@ -1,603 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.service.ClpSerializer; -import it.tref.liferay.portos.importazione.service.OldGroupLocalServiceUtil; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.HashMap; -import java.util.Map; - -/** - * @author 3FC - */ -public class OldGroupClp extends BaseModelImpl implements OldGroup { - public OldGroupClp() { - } - - @Override - public Class getModelClass() { - return OldGroup.class; - } - - @Override - public String getModelClassName() { - return OldGroup.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _groupId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setGroupId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _groupId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("groupId", getGroupId()); - attributes.put("companyId", getCompanyId()); - attributes.put("creatorUserId", getCreatorUserId()); - attributes.put("classNameId", getClassNameId()); - attributes.put("classPK", getClassPK()); - attributes.put("parentGroupId", getParentGroupId()); - attributes.put("liveGroupId", getLiveGroupId()); - attributes.put("name", getName()); - attributes.put("description", getDescription()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long creatorUserId = (Long)attributes.get("creatorUserId"); - - if (creatorUserId != null) { - setCreatorUserId(creatorUserId); - } - - Long classNameId = (Long)attributes.get("classNameId"); - - if (classNameId != null) { - setClassNameId(classNameId); - } - - Long classPK = (Long)attributes.get("classPK"); - - if (classPK != null) { - setClassPK(classPK); - } - - Long parentGroupId = (Long)attributes.get("parentGroupId"); - - if (parentGroupId != null) { - setParentGroupId(parentGroupId); - } - - Long liveGroupId = (Long)attributes.get("liveGroupId"); - - if (liveGroupId != null) { - setLiveGroupId(liveGroupId); - } - - String name = (String)attributes.get("name"); - - if (name != null) { - setName(name); - } - - String description = (String)attributes.get("description"); - - if (description != null) { - setDescription(description); - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_oldGroupRemoteModel != null) { - try { - Class clazz = _oldGroupRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_oldGroupRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_oldGroupRemoteModel != null) { - try { - Class clazz = _oldGroupRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_oldGroupRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCreatorUserId() { - return _creatorUserId; - } - - @Override - public void setCreatorUserId(long creatorUserId) { - _creatorUserId = creatorUserId; - - if (_oldGroupRemoteModel != null) { - try { - Class clazz = _oldGroupRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreatorUserId", long.class); - - method.invoke(_oldGroupRemoteModel, creatorUserId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCreatorUserUuid() throws SystemException { - return PortalUtil.getUserValue(getCreatorUserId(), "uuid", - _creatorUserUuid); - } - - @Override - public void setCreatorUserUuid(String creatorUserUuid) { - _creatorUserUuid = creatorUserUuid; - } - - @Override - public String getClassName() { - if (getClassNameId() <= 0) { - return StringPool.BLANK; - } - - return PortalUtil.getClassName(getClassNameId()); - } - - @Override - public void setClassName(String className) { - long classNameId = 0; - - if (Validator.isNotNull(className)) { - classNameId = PortalUtil.getClassNameId(className); - } - - setClassNameId(classNameId); - } - - @Override - public long getClassNameId() { - return _classNameId; - } - - @Override - public void setClassNameId(long classNameId) { - _classNameId = classNameId; - - if (_oldGroupRemoteModel != null) { - try { - Class clazz = _oldGroupRemoteModel.getClass(); - - Method method = clazz.getMethod("setClassNameId", long.class); - - method.invoke(_oldGroupRemoteModel, classNameId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getClassPK() { - return _classPK; - } - - @Override - public void setClassPK(long classPK) { - _classPK = classPK; - - if (_oldGroupRemoteModel != null) { - try { - Class clazz = _oldGroupRemoteModel.getClass(); - - Method method = clazz.getMethod("setClassPK", long.class); - - method.invoke(_oldGroupRemoteModel, classPK); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getParentGroupId() { - return _parentGroupId; - } - - @Override - public void setParentGroupId(long parentGroupId) { - _parentGroupId = parentGroupId; - - if (_oldGroupRemoteModel != null) { - try { - Class clazz = _oldGroupRemoteModel.getClass(); - - Method method = clazz.getMethod("setParentGroupId", long.class); - - method.invoke(_oldGroupRemoteModel, parentGroupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getLiveGroupId() { - return _liveGroupId; - } - - @Override - public void setLiveGroupId(long liveGroupId) { - _liveGroupId = liveGroupId; - - if (_oldGroupRemoteModel != null) { - try { - Class clazz = _oldGroupRemoteModel.getClass(); - - Method method = clazz.getMethod("setLiveGroupId", long.class); - - method.invoke(_oldGroupRemoteModel, liveGroupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getName() { - return _name; - } - - @Override - public void setName(String name) { - _name = name; - - if (_oldGroupRemoteModel != null) { - try { - Class clazz = _oldGroupRemoteModel.getClass(); - - Method method = clazz.getMethod("setName", String.class); - - method.invoke(_oldGroupRemoteModel, name); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getDescription() { - return _description; - } - - @Override - public void setDescription(String description) { - _description = description; - - if (_oldGroupRemoteModel != null) { - try { - Class clazz = _oldGroupRemoteModel.getClass(); - - Method method = clazz.getMethod("setDescription", String.class); - - method.invoke(_oldGroupRemoteModel, description); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - public BaseModel getOldGroupRemoteModel() { - return _oldGroupRemoteModel; - } - - public void setOldGroupRemoteModel(BaseModel oldGroupRemoteModel) { - _oldGroupRemoteModel = oldGroupRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _oldGroupRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_oldGroupRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - OldGroupLocalServiceUtil.addOldGroup(this); - } - else { - OldGroupLocalServiceUtil.updateOldGroup(this); - } - } - - @Override - public OldGroup toEscapedModel() { - return (OldGroup)ProxyUtil.newProxyInstance(OldGroup.class.getClassLoader(), - new Class[] { OldGroup.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - OldGroupClp clone = new OldGroupClp(); - - clone.setGroupId(getGroupId()); - clone.setCompanyId(getCompanyId()); - clone.setCreatorUserId(getCreatorUserId()); - clone.setClassNameId(getClassNameId()); - clone.setClassPK(getClassPK()); - clone.setParentGroupId(getParentGroupId()); - clone.setLiveGroupId(getLiveGroupId()); - clone.setName(getName()); - clone.setDescription(getDescription()); - - return clone; - } - - @Override - public int compareTo(OldGroup oldGroup) { - long primaryKey = oldGroup.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof OldGroupClp)) { - return false; - } - - OldGroupClp oldGroup = (OldGroupClp)obj; - - long primaryKey = oldGroup.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(19); - - sb.append("{groupId="); - sb.append(getGroupId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", creatorUserId="); - sb.append(getCreatorUserId()); - sb.append(", classNameId="); - sb.append(getClassNameId()); - sb.append(", classPK="); - sb.append(getClassPK()); - sb.append(", parentGroupId="); - sb.append(getParentGroupId()); - sb.append(", liveGroupId="); - sb.append(getLiveGroupId()); - sb.append(", name="); - sb.append(getName()); - sb.append(", description="); - sb.append(getDescription()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(31); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.OldGroup"); - sb.append(""); - - sb.append( - "groupId"); - sb.append( - "companyId"); - sb.append( - "creatorUserId"); - sb.append( - "classNameId"); - sb.append( - "classPK"); - sb.append( - "parentGroupId"); - sb.append( - "liveGroupId"); - sb.append( - "name"); - sb.append( - "description"); - - sb.append(""); - - return sb.toString(); - } - - private long _groupId; - private long _companyId; - private long _creatorUserId; - private String _creatorUserUuid; - private long _classNameId; - private long _classPK; - private long _parentGroupId; - private long _liveGroupId; - private String _name; - private String _description; - private BaseModel _oldGroupRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.importazione.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldGroupModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldGroupModel.java deleted file mode 100644 index 82d91d4a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldGroupModel.java +++ /dev/null @@ -1,276 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.AttachedModel; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -/** - * The base model interface for the OldGroup service. Represents a row in the "group_" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.importazione.model.impl.OldGroupModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.importazione.model.impl.OldGroupImpl}. - *

- * - * @author 3FC - * @see OldGroup - * @see it.tref.liferay.portos.importazione.model.impl.OldGroupImpl - * @see it.tref.liferay.portos.importazione.model.impl.OldGroupModelImpl - * @generated - */ -public interface OldGroupModel extends AttachedModel, BaseModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a old group model instance should use the {@link OldGroup} interface instead. - */ - - /** - * Returns the primary key of this old group. - * - * @return the primary key of this old group - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this old group. - * - * @param primaryKey the primary key of this old group - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the group ID of this old group. - * - * @return the group ID of this old group - */ - public long getGroupId(); - - /** - * Sets the group ID of this old group. - * - * @param groupId the group ID of this old group - */ - public void setGroupId(long groupId); - - /** - * Returns the company ID of this old group. - * - * @return the company ID of this old group - */ - public long getCompanyId(); - - /** - * Sets the company ID of this old group. - * - * @param companyId the company ID of this old group - */ - public void setCompanyId(long companyId); - - /** - * Returns the creator user ID of this old group. - * - * @return the creator user ID of this old group - */ - public long getCreatorUserId(); - - /** - * Sets the creator user ID of this old group. - * - * @param creatorUserId the creator user ID of this old group - */ - public void setCreatorUserId(long creatorUserId); - - /** - * Returns the creator user uuid of this old group. - * - * @return the creator user uuid of this old group - * @throws SystemException if a system exception occurred - */ - public String getCreatorUserUuid() throws SystemException; - - /** - * Sets the creator user uuid of this old group. - * - * @param creatorUserUuid the creator user uuid of this old group - */ - public void setCreatorUserUuid(String creatorUserUuid); - - /** - * Returns the fully qualified class name of this old group. - * - * @return the fully qualified class name of this old group - */ - @Override - public String getClassName(); - - public void setClassName(String className); - - /** - * Returns the class name ID of this old group. - * - * @return the class name ID of this old group - */ - @Override - public long getClassNameId(); - - /** - * Sets the class name ID of this old group. - * - * @param classNameId the class name ID of this old group - */ - @Override - public void setClassNameId(long classNameId); - - /** - * Returns the class p k of this old group. - * - * @return the class p k of this old group - */ - @Override - public long getClassPK(); - - /** - * Sets the class p k of this old group. - * - * @param classPK the class p k of this old group - */ - @Override - public void setClassPK(long classPK); - - /** - * Returns the parent group ID of this old group. - * - * @return the parent group ID of this old group - */ - public long getParentGroupId(); - - /** - * Sets the parent group ID of this old group. - * - * @param parentGroupId the parent group ID of this old group - */ - public void setParentGroupId(long parentGroupId); - - /** - * Returns the live group ID of this old group. - * - * @return the live group ID of this old group - */ - public long getLiveGroupId(); - - /** - * Sets the live group ID of this old group. - * - * @param liveGroupId the live group ID of this old group - */ - public void setLiveGroupId(long liveGroupId); - - /** - * Returns the name of this old group. - * - * @return the name of this old group - */ - @AutoEscape - public String getName(); - - /** - * Sets the name of this old group. - * - * @param name the name of this old group - */ - public void setName(String name); - - /** - * Returns the description of this old group. - * - * @return the description of this old group - */ - @AutoEscape - public String getDescription(); - - /** - * Sets the description of this old group. - * - * @param description the description of this old group - */ - public void setDescription(String description); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.OldGroup oldGroup); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.importazione.model.OldGroup toEscapedModel(); - - @Override - public it.tref.liferay.portos.importazione.model.OldGroup toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldGroupSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldGroupSoap.java deleted file mode 100644 index e8ac9f7d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldGroupSoap.java +++ /dev/null @@ -1,174 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author 3FC - * @generated - */ -public class OldGroupSoap implements Serializable { - public static OldGroupSoap toSoapModel(OldGroup model) { - OldGroupSoap soapModel = new OldGroupSoap(); - - soapModel.setGroupId(model.getGroupId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setCreatorUserId(model.getCreatorUserId()); - soapModel.setClassNameId(model.getClassNameId()); - soapModel.setClassPK(model.getClassPK()); - soapModel.setParentGroupId(model.getParentGroupId()); - soapModel.setLiveGroupId(model.getLiveGroupId()); - soapModel.setName(model.getName()); - soapModel.setDescription(model.getDescription()); - - return soapModel; - } - - public static OldGroupSoap[] toSoapModels(OldGroup[] models) { - OldGroupSoap[] soapModels = new OldGroupSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static OldGroupSoap[][] toSoapModels(OldGroup[][] models) { - OldGroupSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new OldGroupSoap[models.length][models[0].length]; - } - else { - soapModels = new OldGroupSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static OldGroupSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (OldGroup model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new OldGroupSoap[soapModels.size()]); - } - - public OldGroupSoap() { - } - - public long getPrimaryKey() { - return _groupId; - } - - public void setPrimaryKey(long pk) { - setGroupId(pk); - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getCreatorUserId() { - return _creatorUserId; - } - - public void setCreatorUserId(long creatorUserId) { - _creatorUserId = creatorUserId; - } - - public long getClassNameId() { - return _classNameId; - } - - public void setClassNameId(long classNameId) { - _classNameId = classNameId; - } - - public long getClassPK() { - return _classPK; - } - - public void setClassPK(long classPK) { - _classPK = classPK; - } - - public long getParentGroupId() { - return _parentGroupId; - } - - public void setParentGroupId(long parentGroupId) { - _parentGroupId = parentGroupId; - } - - public long getLiveGroupId() { - return _liveGroupId; - } - - public void setLiveGroupId(long liveGroupId) { - _liveGroupId = liveGroupId; - } - - public String getName() { - return _name; - } - - public void setName(String name) { - _name = name; - } - - public String getDescription() { - return _description; - } - - public void setDescription(String description) { - _description = description; - } - - private long _groupId; - private long _companyId; - private long _creatorUserId; - private long _classNameId; - private long _classPK; - private long _parentGroupId; - private long _liveGroupId; - private String _name; - private String _description; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldGroupWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldGroupWrapper.java deleted file mode 100644 index 8febe09b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldGroupWrapper.java +++ /dev/null @@ -1,500 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link OldGroup}. - *

- * - * @author 3FC - * @see OldGroup - * @generated - */ -public class OldGroupWrapper implements OldGroup, ModelWrapper { - public OldGroupWrapper(OldGroup oldGroup) { - _oldGroup = oldGroup; - } - - @Override - public Class getModelClass() { - return OldGroup.class; - } - - @Override - public String getModelClassName() { - return OldGroup.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("groupId", getGroupId()); - attributes.put("companyId", getCompanyId()); - attributes.put("creatorUserId", getCreatorUserId()); - attributes.put("classNameId", getClassNameId()); - attributes.put("classPK", getClassPK()); - attributes.put("parentGroupId", getParentGroupId()); - attributes.put("liveGroupId", getLiveGroupId()); - attributes.put("name", getName()); - attributes.put("description", getDescription()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long creatorUserId = (Long)attributes.get("creatorUserId"); - - if (creatorUserId != null) { - setCreatorUserId(creatorUserId); - } - - Long classNameId = (Long)attributes.get("classNameId"); - - if (classNameId != null) { - setClassNameId(classNameId); - } - - Long classPK = (Long)attributes.get("classPK"); - - if (classPK != null) { - setClassPK(classPK); - } - - Long parentGroupId = (Long)attributes.get("parentGroupId"); - - if (parentGroupId != null) { - setParentGroupId(parentGroupId); - } - - Long liveGroupId = (Long)attributes.get("liveGroupId"); - - if (liveGroupId != null) { - setLiveGroupId(liveGroupId); - } - - String name = (String)attributes.get("name"); - - if (name != null) { - setName(name); - } - - String description = (String)attributes.get("description"); - - if (description != null) { - setDescription(description); - } - } - - /** - * Returns the primary key of this old group. - * - * @return the primary key of this old group - */ - @Override - public long getPrimaryKey() { - return _oldGroup.getPrimaryKey(); - } - - /** - * Sets the primary key of this old group. - * - * @param primaryKey the primary key of this old group - */ - @Override - public void setPrimaryKey(long primaryKey) { - _oldGroup.setPrimaryKey(primaryKey); - } - - /** - * Returns the group ID of this old group. - * - * @return the group ID of this old group - */ - @Override - public long getGroupId() { - return _oldGroup.getGroupId(); - } - - /** - * Sets the group ID of this old group. - * - * @param groupId the group ID of this old group - */ - @Override - public void setGroupId(long groupId) { - _oldGroup.setGroupId(groupId); - } - - /** - * Returns the company ID of this old group. - * - * @return the company ID of this old group - */ - @Override - public long getCompanyId() { - return _oldGroup.getCompanyId(); - } - - /** - * Sets the company ID of this old group. - * - * @param companyId the company ID of this old group - */ - @Override - public void setCompanyId(long companyId) { - _oldGroup.setCompanyId(companyId); - } - - /** - * Returns the creator user ID of this old group. - * - * @return the creator user ID of this old group - */ - @Override - public long getCreatorUserId() { - return _oldGroup.getCreatorUserId(); - } - - /** - * Sets the creator user ID of this old group. - * - * @param creatorUserId the creator user ID of this old group - */ - @Override - public void setCreatorUserId(long creatorUserId) { - _oldGroup.setCreatorUserId(creatorUserId); - } - - /** - * Returns the creator user uuid of this old group. - * - * @return the creator user uuid of this old group - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getCreatorUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _oldGroup.getCreatorUserUuid(); - } - - /** - * Sets the creator user uuid of this old group. - * - * @param creatorUserUuid the creator user uuid of this old group - */ - @Override - public void setCreatorUserUuid(java.lang.String creatorUserUuid) { - _oldGroup.setCreatorUserUuid(creatorUserUuid); - } - - /** - * Returns the fully qualified class name of this old group. - * - * @return the fully qualified class name of this old group - */ - @Override - public java.lang.String getClassName() { - return _oldGroup.getClassName(); - } - - @Override - public void setClassName(java.lang.String className) { - _oldGroup.setClassName(className); - } - - /** - * Returns the class name ID of this old group. - * - * @return the class name ID of this old group - */ - @Override - public long getClassNameId() { - return _oldGroup.getClassNameId(); - } - - /** - * Sets the class name ID of this old group. - * - * @param classNameId the class name ID of this old group - */ - @Override - public void setClassNameId(long classNameId) { - _oldGroup.setClassNameId(classNameId); - } - - /** - * Returns the class p k of this old group. - * - * @return the class p k of this old group - */ - @Override - public long getClassPK() { - return _oldGroup.getClassPK(); - } - - /** - * Sets the class p k of this old group. - * - * @param classPK the class p k of this old group - */ - @Override - public void setClassPK(long classPK) { - _oldGroup.setClassPK(classPK); - } - - /** - * Returns the parent group ID of this old group. - * - * @return the parent group ID of this old group - */ - @Override - public long getParentGroupId() { - return _oldGroup.getParentGroupId(); - } - - /** - * Sets the parent group ID of this old group. - * - * @param parentGroupId the parent group ID of this old group - */ - @Override - public void setParentGroupId(long parentGroupId) { - _oldGroup.setParentGroupId(parentGroupId); - } - - /** - * Returns the live group ID of this old group. - * - * @return the live group ID of this old group - */ - @Override - public long getLiveGroupId() { - return _oldGroup.getLiveGroupId(); - } - - /** - * Sets the live group ID of this old group. - * - * @param liveGroupId the live group ID of this old group - */ - @Override - public void setLiveGroupId(long liveGroupId) { - _oldGroup.setLiveGroupId(liveGroupId); - } - - /** - * Returns the name of this old group. - * - * @return the name of this old group - */ - @Override - public java.lang.String getName() { - return _oldGroup.getName(); - } - - /** - * Sets the name of this old group. - * - * @param name the name of this old group - */ - @Override - public void setName(java.lang.String name) { - _oldGroup.setName(name); - } - - /** - * Returns the description of this old group. - * - * @return the description of this old group - */ - @Override - public java.lang.String getDescription() { - return _oldGroup.getDescription(); - } - - /** - * Sets the description of this old group. - * - * @param description the description of this old group - */ - @Override - public void setDescription(java.lang.String description) { - _oldGroup.setDescription(description); - } - - @Override - public boolean isNew() { - return _oldGroup.isNew(); - } - - @Override - public void setNew(boolean n) { - _oldGroup.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _oldGroup.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _oldGroup.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _oldGroup.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _oldGroup.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _oldGroup.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _oldGroup.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _oldGroup.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _oldGroup.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _oldGroup.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new OldGroupWrapper((OldGroup)_oldGroup.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.OldGroup oldGroup) { - return _oldGroup.compareTo(oldGroup); - } - - @Override - public int hashCode() { - return _oldGroup.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _oldGroup.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldGroup toEscapedModel() { - return new OldGroupWrapper(_oldGroup.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldGroup toUnescapedModel() { - return new OldGroupWrapper(_oldGroup.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _oldGroup.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _oldGroup.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _oldGroup.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof OldGroupWrapper)) { - return false; - } - - OldGroupWrapper oldGroupWrapper = (OldGroupWrapper)obj; - - if (Validator.equals(_oldGroup, oldGroupWrapper._oldGroup)) { - return true; - } - - return false; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public OldGroup getWrappedOldGroup() { - return _oldGroup; - } - - @Override - public OldGroup getWrappedModel() { - return _oldGroup; - } - - @Override - public void resetOriginalValues() { - _oldGroup.resetOriginalValues(); - } - - private OldGroup _oldGroup; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldOrganization.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldOrganization.java deleted file mode 100644 index cb8153e0..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldOrganization.java +++ /dev/null @@ -1,43 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.util.Accessor; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.model.TreeModel; - -/** - * The extended model interface for the OldOrganization service. Represents a row in the "organization_" database table, with each column mapped to a property of this class. - * - * @author 3FC - * @see OldOrganizationModel - * @see it.tref.liferay.portos.importazione.model.impl.OldOrganizationImpl - * @see it.tref.liferay.portos.importazione.model.impl.OldOrganizationModelImpl - * @generated - */ -public interface OldOrganization extends OldOrganizationModel, PersistedModel, - TreeModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.importazione.model.impl.OldOrganizationImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - public static final Accessor NAME_ACCESSOR = new Accessor() { - @Override - public String get(OldOrganization oldOrganization) { - return oldOrganization.getName(); - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldOrganizationClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldOrganizationClp.java deleted file mode 100644 index d48fb3ee..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldOrganizationClp.java +++ /dev/null @@ -1,844 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.service.ClpSerializer; -import it.tref.liferay.portos.importazione.service.OldOrganizationLocalServiceUtil; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author 3FC - */ -public class OldOrganizationClp extends BaseModelImpl - implements OldOrganization { - public OldOrganizationClp() { - } - - @Override - public Class getModelClass() { - return OldOrganization.class; - } - - @Override - public String getModelClassName() { - return OldOrganization.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _organizationId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setOrganizationId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _organizationId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("organizationId", getOrganizationId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("parentOrganizationId", getParentOrganizationId()); - attributes.put("treePath", getTreePath()); - attributes.put("name", getName()); - attributes.put("type", getType()); - attributes.put("recursable", getRecursable()); - attributes.put("regionId", getRegionId()); - attributes.put("countryId", getCountryId()); - attributes.put("statusId", getStatusId()); - attributes.put("comments", getComments()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long organizationId = (Long)attributes.get("organizationId"); - - if (organizationId != null) { - setOrganizationId(organizationId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long parentOrganizationId = (Long)attributes.get("parentOrganizationId"); - - if (parentOrganizationId != null) { - setParentOrganizationId(parentOrganizationId); - } - - String treePath = (String)attributes.get("treePath"); - - if (treePath != null) { - setTreePath(treePath); - } - - String name = (String)attributes.get("name"); - - if (name != null) { - setName(name); - } - - String type = (String)attributes.get("type"); - - if (type != null) { - setType(type); - } - - Boolean recursable = (Boolean)attributes.get("recursable"); - - if (recursable != null) { - setRecursable(recursable); - } - - Long regionId = (Long)attributes.get("regionId"); - - if (regionId != null) { - setRegionId(regionId); - } - - Long countryId = (Long)attributes.get("countryId"); - - if (countryId != null) { - setCountryId(countryId); - } - - Integer statusId = (Integer)attributes.get("statusId"); - - if (statusId != null) { - setStatusId(statusId); - } - - String comments = (String)attributes.get("comments"); - - if (comments != null) { - setComments(comments); - } - } - - @Override - public long getOrganizationId() { - return _organizationId; - } - - @Override - public void setOrganizationId(long organizationId) { - _organizationId = organizationId; - - if (_oldOrganizationRemoteModel != null) { - try { - Class clazz = _oldOrganizationRemoteModel.getClass(); - - Method method = clazz.getMethod("setOrganizationId", long.class); - - method.invoke(_oldOrganizationRemoteModel, organizationId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_oldOrganizationRemoteModel != null) { - try { - Class clazz = _oldOrganizationRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_oldOrganizationRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_oldOrganizationRemoteModel != null) { - try { - Class clazz = _oldOrganizationRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_oldOrganizationRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_oldOrganizationRemoteModel != null) { - try { - Class clazz = _oldOrganizationRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_oldOrganizationRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_oldOrganizationRemoteModel != null) { - try { - Class clazz = _oldOrganizationRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_oldOrganizationRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_oldOrganizationRemoteModel != null) { - try { - Class clazz = _oldOrganizationRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_oldOrganizationRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getParentOrganizationId() { - return _parentOrganizationId; - } - - @Override - public void setParentOrganizationId(long parentOrganizationId) { - _parentOrganizationId = parentOrganizationId; - - if (_oldOrganizationRemoteModel != null) { - try { - Class clazz = _oldOrganizationRemoteModel.getClass(); - - Method method = clazz.getMethod("setParentOrganizationId", - long.class); - - method.invoke(_oldOrganizationRemoteModel, parentOrganizationId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getTreePath() { - return _treePath; - } - - @Override - public void setTreePath(String treePath) { - _treePath = treePath; - - if (_oldOrganizationRemoteModel != null) { - try { - Class clazz = _oldOrganizationRemoteModel.getClass(); - - Method method = clazz.getMethod("setTreePath", String.class); - - method.invoke(_oldOrganizationRemoteModel, treePath); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getName() { - return _name; - } - - @Override - public void setName(String name) { - _name = name; - - if (_oldOrganizationRemoteModel != null) { - try { - Class clazz = _oldOrganizationRemoteModel.getClass(); - - Method method = clazz.getMethod("setName", String.class); - - method.invoke(_oldOrganizationRemoteModel, name); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getType() { - return _type; - } - - @Override - public void setType(String type) { - _type = type; - - if (_oldOrganizationRemoteModel != null) { - try { - Class clazz = _oldOrganizationRemoteModel.getClass(); - - Method method = clazz.getMethod("setType", String.class); - - method.invoke(_oldOrganizationRemoteModel, type); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getRecursable() { - return _recursable; - } - - @Override - public boolean isRecursable() { - return _recursable; - } - - @Override - public void setRecursable(boolean recursable) { - _recursable = recursable; - - if (_oldOrganizationRemoteModel != null) { - try { - Class clazz = _oldOrganizationRemoteModel.getClass(); - - Method method = clazz.getMethod("setRecursable", boolean.class); - - method.invoke(_oldOrganizationRemoteModel, recursable); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getRegionId() { - return _regionId; - } - - @Override - public void setRegionId(long regionId) { - _regionId = regionId; - - if (_oldOrganizationRemoteModel != null) { - try { - Class clazz = _oldOrganizationRemoteModel.getClass(); - - Method method = clazz.getMethod("setRegionId", long.class); - - method.invoke(_oldOrganizationRemoteModel, regionId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCountryId() { - return _countryId; - } - - @Override - public void setCountryId(long countryId) { - _countryId = countryId; - - if (_oldOrganizationRemoteModel != null) { - try { - Class clazz = _oldOrganizationRemoteModel.getClass(); - - Method method = clazz.getMethod("setCountryId", long.class); - - method.invoke(_oldOrganizationRemoteModel, countryId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public int getStatusId() { - return _statusId; - } - - @Override - public void setStatusId(int statusId) { - _statusId = statusId; - - if (_oldOrganizationRemoteModel != null) { - try { - Class clazz = _oldOrganizationRemoteModel.getClass(); - - Method method = clazz.getMethod("setStatusId", int.class); - - method.invoke(_oldOrganizationRemoteModel, statusId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getComments() { - return _comments; - } - - @Override - public void setComments(String comments) { - _comments = comments; - - if (_oldOrganizationRemoteModel != null) { - try { - Class clazz = _oldOrganizationRemoteModel.getClass(); - - Method method = clazz.getMethod("setComments", String.class); - - method.invoke(_oldOrganizationRemoteModel, comments); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - @SuppressWarnings("unused") - public String buildTreePath() throws PortalException { - try { - return (String)invokeOnRemoteModel("buildTreePath", - new Class[0], new Object[0]); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - - @Override - public void updateTreePath(String treePath) { - try { - _treePath = treePath; - - invokeOnRemoteModel("updateTreePath", - new Class[] { String.class }, new Object[] { treePath }); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - - public BaseModel getOldOrganizationRemoteModel() { - return _oldOrganizationRemoteModel; - } - - public void setOldOrganizationRemoteModel( - BaseModel oldOrganizationRemoteModel) { - _oldOrganizationRemoteModel = oldOrganizationRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _oldOrganizationRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_oldOrganizationRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - OldOrganizationLocalServiceUtil.addOldOrganization(this); - } - else { - OldOrganizationLocalServiceUtil.updateOldOrganization(this); - } - } - - @Override - public OldOrganization toEscapedModel() { - return (OldOrganization)ProxyUtil.newProxyInstance(OldOrganization.class.getClassLoader(), - new Class[] { OldOrganization.class }, - new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - OldOrganizationClp clone = new OldOrganizationClp(); - - clone.setOrganizationId(getOrganizationId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setParentOrganizationId(getParentOrganizationId()); - clone.setTreePath(getTreePath()); - clone.setName(getName()); - clone.setType(getType()); - clone.setRecursable(getRecursable()); - clone.setRegionId(getRegionId()); - clone.setCountryId(getCountryId()); - clone.setStatusId(getStatusId()); - clone.setComments(getComments()); - - return clone; - } - - @Override - public int compareTo(OldOrganization oldOrganization) { - long primaryKey = oldOrganization.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof OldOrganizationClp)) { - return false; - } - - OldOrganizationClp oldOrganization = (OldOrganizationClp)obj; - - long primaryKey = oldOrganization.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(31); - - sb.append("{organizationId="); - sb.append(getOrganizationId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", parentOrganizationId="); - sb.append(getParentOrganizationId()); - sb.append(", treePath="); - sb.append(getTreePath()); - sb.append(", name="); - sb.append(getName()); - sb.append(", type="); - sb.append(getType()); - sb.append(", recursable="); - sb.append(getRecursable()); - sb.append(", regionId="); - sb.append(getRegionId()); - sb.append(", countryId="); - sb.append(getCountryId()); - sb.append(", statusId="); - sb.append(getStatusId()); - sb.append(", comments="); - sb.append(getComments()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(49); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.OldOrganization"); - sb.append(""); - - sb.append( - "organizationId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "parentOrganizationId"); - sb.append( - "treePath"); - sb.append( - "name"); - sb.append( - "type"); - sb.append( - "recursable"); - sb.append( - "regionId"); - sb.append( - "countryId"); - sb.append( - "statusId"); - sb.append( - "comments"); - - sb.append(""); - - return sb.toString(); - } - - private long _organizationId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _parentOrganizationId; - private String _treePath; - private String _name; - private String _type; - private boolean _recursable; - private long _regionId; - private long _countryId; - private int _statusId; - private String _comments; - private BaseModel _oldOrganizationRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.importazione.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldOrganizationModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldOrganizationModel.java deleted file mode 100644 index f4f8220b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldOrganizationModel.java +++ /dev/null @@ -1,371 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.AuditedModel; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the OldOrganization service. Represents a row in the "organization_" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.importazione.model.impl.OldOrganizationModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.importazione.model.impl.OldOrganizationImpl}. - *

- * - * @author 3FC - * @see OldOrganization - * @see it.tref.liferay.portos.importazione.model.impl.OldOrganizationImpl - * @see it.tref.liferay.portos.importazione.model.impl.OldOrganizationModelImpl - * @generated - */ -public interface OldOrganizationModel extends AuditedModel, - BaseModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a old organization model instance should use the {@link OldOrganization} interface instead. - */ - - /** - * Returns the primary key of this old organization. - * - * @return the primary key of this old organization - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this old organization. - * - * @param primaryKey the primary key of this old organization - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the organization ID of this old organization. - * - * @return the organization ID of this old organization - */ - public long getOrganizationId(); - - /** - * Sets the organization ID of this old organization. - * - * @param organizationId the organization ID of this old organization - */ - public void setOrganizationId(long organizationId); - - /** - * Returns the company ID of this old organization. - * - * @return the company ID of this old organization - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this old organization. - * - * @param companyId the company ID of this old organization - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this old organization. - * - * @return the user ID of this old organization - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this old organization. - * - * @param userId the user ID of this old organization - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this old organization. - * - * @return the user uuid of this old organization - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this old organization. - * - * @param userUuid the user uuid of this old organization - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this old organization. - * - * @return the user name of this old organization - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this old organization. - * - * @param userName the user name of this old organization - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this old organization. - * - * @return the create date of this old organization - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this old organization. - * - * @param createDate the create date of this old organization - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this old organization. - * - * @return the modified date of this old organization - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this old organization. - * - * @param modifiedDate the modified date of this old organization - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the parent organization ID of this old organization. - * - * @return the parent organization ID of this old organization - */ - public long getParentOrganizationId(); - - /** - * Sets the parent organization ID of this old organization. - * - * @param parentOrganizationId the parent organization ID of this old organization - */ - public void setParentOrganizationId(long parentOrganizationId); - - /** - * Returns the tree path of this old organization. - * - * @return the tree path of this old organization - */ - @AutoEscape - public String getTreePath(); - - /** - * Sets the tree path of this old organization. - * - * @param treePath the tree path of this old organization - */ - public void setTreePath(String treePath); - - /** - * Returns the name of this old organization. - * - * @return the name of this old organization - */ - @AutoEscape - public String getName(); - - /** - * Sets the name of this old organization. - * - * @param name the name of this old organization - */ - public void setName(String name); - - /** - * Returns the type of this old organization. - * - * @return the type of this old organization - */ - @AutoEscape - public String getType(); - - /** - * Sets the type of this old organization. - * - * @param type the type of this old organization - */ - public void setType(String type); - - /** - * Returns the recursable of this old organization. - * - * @return the recursable of this old organization - */ - public boolean getRecursable(); - - /** - * Returns true if this old organization is recursable. - * - * @return true if this old organization is recursable; false otherwise - */ - public boolean isRecursable(); - - /** - * Sets whether this old organization is recursable. - * - * @param recursable the recursable of this old organization - */ - public void setRecursable(boolean recursable); - - /** - * Returns the region ID of this old organization. - * - * @return the region ID of this old organization - */ - public long getRegionId(); - - /** - * Sets the region ID of this old organization. - * - * @param regionId the region ID of this old organization - */ - public void setRegionId(long regionId); - - /** - * Returns the country ID of this old organization. - * - * @return the country ID of this old organization - */ - public long getCountryId(); - - /** - * Sets the country ID of this old organization. - * - * @param countryId the country ID of this old organization - */ - public void setCountryId(long countryId); - - /** - * Returns the status ID of this old organization. - * - * @return the status ID of this old organization - */ - public int getStatusId(); - - /** - * Sets the status ID of this old organization. - * - * @param statusId the status ID of this old organization - */ - public void setStatusId(int statusId); - - /** - * Returns the comments of this old organization. - * - * @return the comments of this old organization - */ - @AutoEscape - public String getComments(); - - /** - * Sets the comments of this old organization. - * - * @param comments the comments of this old organization - */ - public void setComments(String comments); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.OldOrganization oldOrganization); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.importazione.model.OldOrganization toEscapedModel(); - - @Override - public it.tref.liferay.portos.importazione.model.OldOrganization toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldOrganizationSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldOrganizationSoap.java deleted file mode 100644 index a1162f36..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldOrganizationSoap.java +++ /dev/null @@ -1,241 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author 3FC - * @generated - */ -public class OldOrganizationSoap implements Serializable { - public static OldOrganizationSoap toSoapModel(OldOrganization model) { - OldOrganizationSoap soapModel = new OldOrganizationSoap(); - - soapModel.setOrganizationId(model.getOrganizationId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setParentOrganizationId(model.getParentOrganizationId()); - soapModel.setTreePath(model.getTreePath()); - soapModel.setName(model.getName()); - soapModel.setType(model.getType()); - soapModel.setRecursable(model.getRecursable()); - soapModel.setRegionId(model.getRegionId()); - soapModel.setCountryId(model.getCountryId()); - soapModel.setStatusId(model.getStatusId()); - soapModel.setComments(model.getComments()); - - return soapModel; - } - - public static OldOrganizationSoap[] toSoapModels(OldOrganization[] models) { - OldOrganizationSoap[] soapModels = new OldOrganizationSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static OldOrganizationSoap[][] toSoapModels( - OldOrganization[][] models) { - OldOrganizationSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new OldOrganizationSoap[models.length][models[0].length]; - } - else { - soapModels = new OldOrganizationSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static OldOrganizationSoap[] toSoapModels( - List models) { - List soapModels = new ArrayList(models.size()); - - for (OldOrganization model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new OldOrganizationSoap[soapModels.size()]); - } - - public OldOrganizationSoap() { - } - - public long getPrimaryKey() { - return _organizationId; - } - - public void setPrimaryKey(long pk) { - setOrganizationId(pk); - } - - public long getOrganizationId() { - return _organizationId; - } - - public void setOrganizationId(long organizationId) { - _organizationId = organizationId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public long getParentOrganizationId() { - return _parentOrganizationId; - } - - public void setParentOrganizationId(long parentOrganizationId) { - _parentOrganizationId = parentOrganizationId; - } - - public String getTreePath() { - return _treePath; - } - - public void setTreePath(String treePath) { - _treePath = treePath; - } - - public String getName() { - return _name; - } - - public void setName(String name) { - _name = name; - } - - public String getType() { - return _type; - } - - public void setType(String type) { - _type = type; - } - - public boolean getRecursable() { - return _recursable; - } - - public boolean isRecursable() { - return _recursable; - } - - public void setRecursable(boolean recursable) { - _recursable = recursable; - } - - public long getRegionId() { - return _regionId; - } - - public void setRegionId(long regionId) { - _regionId = regionId; - } - - public long getCountryId() { - return _countryId; - } - - public void setCountryId(long countryId) { - _countryId = countryId; - } - - public int getStatusId() { - return _statusId; - } - - public void setStatusId(int statusId) { - _statusId = statusId; - } - - public String getComments() { - return _comments; - } - - public void setComments(String comments) { - _comments = comments; - } - - private long _organizationId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _parentOrganizationId; - private String _treePath; - private String _name; - private String _type; - private boolean _recursable; - private long _regionId; - private long _countryId; - private int _statusId; - private String _comments; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldOrganizationWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldOrganizationWrapper.java deleted file mode 100644 index bd8e80c8..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldOrganizationWrapper.java +++ /dev/null @@ -1,673 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link OldOrganization}. - *

- * - * @author 3FC - * @see OldOrganization - * @generated - */ -public class OldOrganizationWrapper implements OldOrganization, - ModelWrapper { - public OldOrganizationWrapper(OldOrganization oldOrganization) { - _oldOrganization = oldOrganization; - } - - @Override - public Class getModelClass() { - return OldOrganization.class; - } - - @Override - public String getModelClassName() { - return OldOrganization.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("organizationId", getOrganizationId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("parentOrganizationId", getParentOrganizationId()); - attributes.put("treePath", getTreePath()); - attributes.put("name", getName()); - attributes.put("type", getType()); - attributes.put("recursable", getRecursable()); - attributes.put("regionId", getRegionId()); - attributes.put("countryId", getCountryId()); - attributes.put("statusId", getStatusId()); - attributes.put("comments", getComments()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long organizationId = (Long)attributes.get("organizationId"); - - if (organizationId != null) { - setOrganizationId(organizationId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long parentOrganizationId = (Long)attributes.get("parentOrganizationId"); - - if (parentOrganizationId != null) { - setParentOrganizationId(parentOrganizationId); - } - - String treePath = (String)attributes.get("treePath"); - - if (treePath != null) { - setTreePath(treePath); - } - - String name = (String)attributes.get("name"); - - if (name != null) { - setName(name); - } - - String type = (String)attributes.get("type"); - - if (type != null) { - setType(type); - } - - Boolean recursable = (Boolean)attributes.get("recursable"); - - if (recursable != null) { - setRecursable(recursable); - } - - Long regionId = (Long)attributes.get("regionId"); - - if (regionId != null) { - setRegionId(regionId); - } - - Long countryId = (Long)attributes.get("countryId"); - - if (countryId != null) { - setCountryId(countryId); - } - - Integer statusId = (Integer)attributes.get("statusId"); - - if (statusId != null) { - setStatusId(statusId); - } - - String comments = (String)attributes.get("comments"); - - if (comments != null) { - setComments(comments); - } - } - - /** - * Returns the primary key of this old organization. - * - * @return the primary key of this old organization - */ - @Override - public long getPrimaryKey() { - return _oldOrganization.getPrimaryKey(); - } - - /** - * Sets the primary key of this old organization. - * - * @param primaryKey the primary key of this old organization - */ - @Override - public void setPrimaryKey(long primaryKey) { - _oldOrganization.setPrimaryKey(primaryKey); - } - - /** - * Returns the organization ID of this old organization. - * - * @return the organization ID of this old organization - */ - @Override - public long getOrganizationId() { - return _oldOrganization.getOrganizationId(); - } - - /** - * Sets the organization ID of this old organization. - * - * @param organizationId the organization ID of this old organization - */ - @Override - public void setOrganizationId(long organizationId) { - _oldOrganization.setOrganizationId(organizationId); - } - - /** - * Returns the company ID of this old organization. - * - * @return the company ID of this old organization - */ - @Override - public long getCompanyId() { - return _oldOrganization.getCompanyId(); - } - - /** - * Sets the company ID of this old organization. - * - * @param companyId the company ID of this old organization - */ - @Override - public void setCompanyId(long companyId) { - _oldOrganization.setCompanyId(companyId); - } - - /** - * Returns the user ID of this old organization. - * - * @return the user ID of this old organization - */ - @Override - public long getUserId() { - return _oldOrganization.getUserId(); - } - - /** - * Sets the user ID of this old organization. - * - * @param userId the user ID of this old organization - */ - @Override - public void setUserId(long userId) { - _oldOrganization.setUserId(userId); - } - - /** - * Returns the user uuid of this old organization. - * - * @return the user uuid of this old organization - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _oldOrganization.getUserUuid(); - } - - /** - * Sets the user uuid of this old organization. - * - * @param userUuid the user uuid of this old organization - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _oldOrganization.setUserUuid(userUuid); - } - - /** - * Returns the user name of this old organization. - * - * @return the user name of this old organization - */ - @Override - public java.lang.String getUserName() { - return _oldOrganization.getUserName(); - } - - /** - * Sets the user name of this old organization. - * - * @param userName the user name of this old organization - */ - @Override - public void setUserName(java.lang.String userName) { - _oldOrganization.setUserName(userName); - } - - /** - * Returns the create date of this old organization. - * - * @return the create date of this old organization - */ - @Override - public java.util.Date getCreateDate() { - return _oldOrganization.getCreateDate(); - } - - /** - * Sets the create date of this old organization. - * - * @param createDate the create date of this old organization - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _oldOrganization.setCreateDate(createDate); - } - - /** - * Returns the modified date of this old organization. - * - * @return the modified date of this old organization - */ - @Override - public java.util.Date getModifiedDate() { - return _oldOrganization.getModifiedDate(); - } - - /** - * Sets the modified date of this old organization. - * - * @param modifiedDate the modified date of this old organization - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _oldOrganization.setModifiedDate(modifiedDate); - } - - /** - * Returns the parent organization ID of this old organization. - * - * @return the parent organization ID of this old organization - */ - @Override - public long getParentOrganizationId() { - return _oldOrganization.getParentOrganizationId(); - } - - /** - * Sets the parent organization ID of this old organization. - * - * @param parentOrganizationId the parent organization ID of this old organization - */ - @Override - public void setParentOrganizationId(long parentOrganizationId) { - _oldOrganization.setParentOrganizationId(parentOrganizationId); - } - - /** - * Returns the tree path of this old organization. - * - * @return the tree path of this old organization - */ - @Override - public java.lang.String getTreePath() { - return _oldOrganization.getTreePath(); - } - - /** - * Sets the tree path of this old organization. - * - * @param treePath the tree path of this old organization - */ - @Override - public void setTreePath(java.lang.String treePath) { - _oldOrganization.setTreePath(treePath); - } - - /** - * Returns the name of this old organization. - * - * @return the name of this old organization - */ - @Override - public java.lang.String getName() { - return _oldOrganization.getName(); - } - - /** - * Sets the name of this old organization. - * - * @param name the name of this old organization - */ - @Override - public void setName(java.lang.String name) { - _oldOrganization.setName(name); - } - - /** - * Returns the type of this old organization. - * - * @return the type of this old organization - */ - @Override - public java.lang.String getType() { - return _oldOrganization.getType(); - } - - /** - * Sets the type of this old organization. - * - * @param type the type of this old organization - */ - @Override - public void setType(java.lang.String type) { - _oldOrganization.setType(type); - } - - /** - * Returns the recursable of this old organization. - * - * @return the recursable of this old organization - */ - @Override - public boolean getRecursable() { - return _oldOrganization.getRecursable(); - } - - /** - * Returns true if this old organization is recursable. - * - * @return true if this old organization is recursable; false otherwise - */ - @Override - public boolean isRecursable() { - return _oldOrganization.isRecursable(); - } - - /** - * Sets whether this old organization is recursable. - * - * @param recursable the recursable of this old organization - */ - @Override - public void setRecursable(boolean recursable) { - _oldOrganization.setRecursable(recursable); - } - - /** - * Returns the region ID of this old organization. - * - * @return the region ID of this old organization - */ - @Override - public long getRegionId() { - return _oldOrganization.getRegionId(); - } - - /** - * Sets the region ID of this old organization. - * - * @param regionId the region ID of this old organization - */ - @Override - public void setRegionId(long regionId) { - _oldOrganization.setRegionId(regionId); - } - - /** - * Returns the country ID of this old organization. - * - * @return the country ID of this old organization - */ - @Override - public long getCountryId() { - return _oldOrganization.getCountryId(); - } - - /** - * Sets the country ID of this old organization. - * - * @param countryId the country ID of this old organization - */ - @Override - public void setCountryId(long countryId) { - _oldOrganization.setCountryId(countryId); - } - - /** - * Returns the status ID of this old organization. - * - * @return the status ID of this old organization - */ - @Override - public int getStatusId() { - return _oldOrganization.getStatusId(); - } - - /** - * Sets the status ID of this old organization. - * - * @param statusId the status ID of this old organization - */ - @Override - public void setStatusId(int statusId) { - _oldOrganization.setStatusId(statusId); - } - - /** - * Returns the comments of this old organization. - * - * @return the comments of this old organization - */ - @Override - public java.lang.String getComments() { - return _oldOrganization.getComments(); - } - - /** - * Sets the comments of this old organization. - * - * @param comments the comments of this old organization - */ - @Override - public void setComments(java.lang.String comments) { - _oldOrganization.setComments(comments); - } - - @Override - public boolean isNew() { - return _oldOrganization.isNew(); - } - - @Override - public void setNew(boolean n) { - _oldOrganization.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _oldOrganization.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _oldOrganization.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _oldOrganization.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _oldOrganization.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _oldOrganization.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _oldOrganization.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _oldOrganization.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _oldOrganization.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _oldOrganization.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new OldOrganizationWrapper((OldOrganization)_oldOrganization.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.OldOrganization oldOrganization) { - return _oldOrganization.compareTo(oldOrganization); - } - - @Override - public int hashCode() { - return _oldOrganization.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _oldOrganization.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldOrganization toEscapedModel() { - return new OldOrganizationWrapper(_oldOrganization.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldOrganization toUnescapedModel() { - return new OldOrganizationWrapper(_oldOrganization.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _oldOrganization.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _oldOrganization.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _oldOrganization.persist(); - } - - @Override - public java.lang.String buildTreePath() - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _oldOrganization.buildTreePath(); - } - - @Override - public void updateTreePath(java.lang.String treePath) - throws com.liferay.portal.kernel.exception.SystemException { - _oldOrganization.updateTreePath(treePath); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof OldOrganizationWrapper)) { - return false; - } - - OldOrganizationWrapper oldOrganizationWrapper = (OldOrganizationWrapper)obj; - - if (Validator.equals(_oldOrganization, - oldOrganizationWrapper._oldOrganization)) { - return true; - } - - return false; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public OldOrganization getWrappedOldOrganization() { - return _oldOrganization; - } - - @Override - public OldOrganization getWrappedModel() { - return _oldOrganization; - } - - @Override - public void resetOriginalValues() { - _oldOrganization.resetOriginalValues(); - } - - private OldOrganization _oldOrganization; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldRole.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldRole.java deleted file mode 100644 index e22dcff5..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldRole.java +++ /dev/null @@ -1,48 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.util.Accessor; -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the OldRole service. Represents a row in the "role_" database table, with each column mapped to a property of this class. - * - * @author 3FC - * @see OldRoleModel - * @see it.tref.liferay.portos.importazione.model.impl.OldRoleImpl - * @see it.tref.liferay.portos.importazione.model.impl.OldRoleModelImpl - * @generated - */ -public interface OldRole extends OldRoleModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.importazione.model.impl.OldRoleImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - public static final Accessor ROLE_ID_ACCESSOR = new Accessor() { - @Override - public Long get(OldRole oldRole) { - return oldRole.getRoleId(); - } - }; - - public static final Accessor NAME_ACCESSOR = new Accessor() { - @Override - public String get(OldRole oldRole) { - return oldRole.getName(); - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldRoleClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldRoleClp.java deleted file mode 100644 index 8d397f74..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldRoleClp.java +++ /dev/null @@ -1,1041 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.LocaleException; -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.LocaleUtil; -import com.liferay.portal.kernel.util.LocalizationUtil; -import com.liferay.portal.kernel.util.PortalClassLoaderUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.service.ClpSerializer; -import it.tref.liferay.portos.importazione.service.OldRoleLocalServiceUtil; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Locale; -import java.util.Map; -import java.util.Set; -import java.util.TreeSet; - -/** - * @author 3FC - */ -public class OldRoleClp extends BaseModelImpl implements OldRole { - public OldRoleClp() { - } - - @Override - public Class getModelClass() { - return OldRole.class; - } - - @Override - public String getModelClassName() { - return OldRole.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _roleId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setRoleId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _roleId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("roleId", getRoleId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("classNameId", getClassNameId()); - attributes.put("classPK", getClassPK()); - attributes.put("name", getName()); - attributes.put("title", getTitle()); - attributes.put("description", getDescription()); - attributes.put("type", getType()); - attributes.put("subtype", getSubtype()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long roleId = (Long)attributes.get("roleId"); - - if (roleId != null) { - setRoleId(roleId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long classNameId = (Long)attributes.get("classNameId"); - - if (classNameId != null) { - setClassNameId(classNameId); - } - - Long classPK = (Long)attributes.get("classPK"); - - if (classPK != null) { - setClassPK(classPK); - } - - String name = (String)attributes.get("name"); - - if (name != null) { - setName(name); - } - - String title = (String)attributes.get("title"); - - if (title != null) { - setTitle(title); - } - - String description = (String)attributes.get("description"); - - if (description != null) { - setDescription(description); - } - - Integer type = (Integer)attributes.get("type"); - - if (type != null) { - setType(type); - } - - String subtype = (String)attributes.get("subtype"); - - if (subtype != null) { - setSubtype(subtype); - } - } - - @Override - public long getRoleId() { - return _roleId; - } - - @Override - public void setRoleId(long roleId) { - _roleId = roleId; - - if (_oldRoleRemoteModel != null) { - try { - Class clazz = _oldRoleRemoteModel.getClass(); - - Method method = clazz.getMethod("setRoleId", long.class); - - method.invoke(_oldRoleRemoteModel, roleId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_oldRoleRemoteModel != null) { - try { - Class clazz = _oldRoleRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_oldRoleRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_oldRoleRemoteModel != null) { - try { - Class clazz = _oldRoleRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_oldRoleRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_oldRoleRemoteModel != null) { - try { - Class clazz = _oldRoleRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_oldRoleRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_oldRoleRemoteModel != null) { - try { - Class clazz = _oldRoleRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_oldRoleRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_oldRoleRemoteModel != null) { - try { - Class clazz = _oldRoleRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_oldRoleRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getClassName() { - if (getClassNameId() <= 0) { - return StringPool.BLANK; - } - - return PortalUtil.getClassName(getClassNameId()); - } - - @Override - public void setClassName(String className) { - long classNameId = 0; - - if (Validator.isNotNull(className)) { - classNameId = PortalUtil.getClassNameId(className); - } - - setClassNameId(classNameId); - } - - @Override - public long getClassNameId() { - return _classNameId; - } - - @Override - public void setClassNameId(long classNameId) { - _classNameId = classNameId; - - if (_oldRoleRemoteModel != null) { - try { - Class clazz = _oldRoleRemoteModel.getClass(); - - Method method = clazz.getMethod("setClassNameId", long.class); - - method.invoke(_oldRoleRemoteModel, classNameId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getClassPK() { - return _classPK; - } - - @Override - public void setClassPK(long classPK) { - _classPK = classPK; - - if (_oldRoleRemoteModel != null) { - try { - Class clazz = _oldRoleRemoteModel.getClass(); - - Method method = clazz.getMethod("setClassPK", long.class); - - method.invoke(_oldRoleRemoteModel, classPK); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getName() { - return _name; - } - - @Override - public void setName(String name) { - _name = name; - - if (_oldRoleRemoteModel != null) { - try { - Class clazz = _oldRoleRemoteModel.getClass(); - - Method method = clazz.getMethod("setName", String.class); - - method.invoke(_oldRoleRemoteModel, name); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getTitle() { - return _title; - } - - @Override - public String getTitle(Locale locale) { - String languageId = LocaleUtil.toLanguageId(locale); - - return getTitle(languageId); - } - - @Override - public String getTitle(Locale locale, boolean useDefault) { - String languageId = LocaleUtil.toLanguageId(locale); - - return getTitle(languageId, useDefault); - } - - @Override - public String getTitle(String languageId) { - return LocalizationUtil.getLocalization(getTitle(), languageId); - } - - @Override - public String getTitle(String languageId, boolean useDefault) { - return LocalizationUtil.getLocalization(getTitle(), languageId, - useDefault); - } - - @Override - public String getTitleCurrentLanguageId() { - return _titleCurrentLanguageId; - } - - @Override - public String getTitleCurrentValue() { - Locale locale = getLocale(_titleCurrentLanguageId); - - return getTitle(locale); - } - - @Override - public Map getTitleMap() { - return LocalizationUtil.getLocalizationMap(getTitle()); - } - - @Override - public void setTitle(String title) { - _title = title; - - if (_oldRoleRemoteModel != null) { - try { - Class clazz = _oldRoleRemoteModel.getClass(); - - Method method = clazz.getMethod("setTitle", String.class); - - method.invoke(_oldRoleRemoteModel, title); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public void setTitle(String title, Locale locale) { - setTitle(title, locale, LocaleUtil.getDefault()); - } - - @Override - public void setTitle(String title, Locale locale, Locale defaultLocale) { - String languageId = LocaleUtil.toLanguageId(locale); - String defaultLanguageId = LocaleUtil.toLanguageId(defaultLocale); - - if (Validator.isNotNull(title)) { - setTitle(LocalizationUtil.updateLocalization(getTitle(), "Title", - title, languageId, defaultLanguageId)); - } - else { - setTitle(LocalizationUtil.removeLocalization(getTitle(), "Title", - languageId)); - } - } - - @Override - public void setTitleCurrentLanguageId(String languageId) { - _titleCurrentLanguageId = languageId; - } - - @Override - public void setTitleMap(Map titleMap) { - setTitleMap(titleMap, LocaleUtil.getDefault()); - } - - @Override - public void setTitleMap(Map titleMap, Locale defaultLocale) { - if (titleMap == null) { - return; - } - - ClassLoader portalClassLoader = PortalClassLoaderUtil.getClassLoader(); - - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - try { - if (contextClassLoader != portalClassLoader) { - currentThread.setContextClassLoader(portalClassLoader); - } - - setTitle(LocalizationUtil.updateLocalization(titleMap, getTitle(), - "Title", LocaleUtil.toLanguageId(defaultLocale))); - } - finally { - if (contextClassLoader != portalClassLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - @Override - public String getDescription() { - return _description; - } - - @Override - public String getDescription(Locale locale) { - String languageId = LocaleUtil.toLanguageId(locale); - - return getDescription(languageId); - } - - @Override - public String getDescription(Locale locale, boolean useDefault) { - String languageId = LocaleUtil.toLanguageId(locale); - - return getDescription(languageId, useDefault); - } - - @Override - public String getDescription(String languageId) { - return LocalizationUtil.getLocalization(getDescription(), languageId); - } - - @Override - public String getDescription(String languageId, boolean useDefault) { - return LocalizationUtil.getLocalization(getDescription(), languageId, - useDefault); - } - - @Override - public String getDescriptionCurrentLanguageId() { - return _descriptionCurrentLanguageId; - } - - @Override - public String getDescriptionCurrentValue() { - Locale locale = getLocale(_descriptionCurrentLanguageId); - - return getDescription(locale); - } - - @Override - public Map getDescriptionMap() { - return LocalizationUtil.getLocalizationMap(getDescription()); - } - - @Override - public void setDescription(String description) { - _description = description; - - if (_oldRoleRemoteModel != null) { - try { - Class clazz = _oldRoleRemoteModel.getClass(); - - Method method = clazz.getMethod("setDescription", String.class); - - method.invoke(_oldRoleRemoteModel, description); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public void setDescription(String description, Locale locale) { - setDescription(description, locale, LocaleUtil.getDefault()); - } - - @Override - public void setDescription(String description, Locale locale, - Locale defaultLocale) { - String languageId = LocaleUtil.toLanguageId(locale); - String defaultLanguageId = LocaleUtil.toLanguageId(defaultLocale); - - if (Validator.isNotNull(description)) { - setDescription(LocalizationUtil.updateLocalization( - getDescription(), "Description", description, languageId, - defaultLanguageId)); - } - else { - setDescription(LocalizationUtil.removeLocalization( - getDescription(), "Description", languageId)); - } - } - - @Override - public void setDescriptionCurrentLanguageId(String languageId) { - _descriptionCurrentLanguageId = languageId; - } - - @Override - public void setDescriptionMap(Map descriptionMap) { - setDescriptionMap(descriptionMap, LocaleUtil.getDefault()); - } - - @Override - public void setDescriptionMap(Map descriptionMap, - Locale defaultLocale) { - if (descriptionMap == null) { - return; - } - - ClassLoader portalClassLoader = PortalClassLoaderUtil.getClassLoader(); - - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - try { - if (contextClassLoader != portalClassLoader) { - currentThread.setContextClassLoader(portalClassLoader); - } - - setDescription(LocalizationUtil.updateLocalization(descriptionMap, - getDescription(), "Description", - LocaleUtil.toLanguageId(defaultLocale))); - } - finally { - if (contextClassLoader != portalClassLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - @Override - public int getType() { - return _type; - } - - @Override - public void setType(int type) { - _type = type; - - if (_oldRoleRemoteModel != null) { - try { - Class clazz = _oldRoleRemoteModel.getClass(); - - Method method = clazz.getMethod("setType", int.class); - - method.invoke(_oldRoleRemoteModel, type); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getSubtype() { - return _subtype; - } - - @Override - public void setSubtype(String subtype) { - _subtype = subtype; - - if (_oldRoleRemoteModel != null) { - try { - Class clazz = _oldRoleRemoteModel.getClass(); - - Method method = clazz.getMethod("setSubtype", String.class); - - method.invoke(_oldRoleRemoteModel, subtype); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - public BaseModel getOldRoleRemoteModel() { - return _oldRoleRemoteModel; - } - - public void setOldRoleRemoteModel(BaseModel oldRoleRemoteModel) { - _oldRoleRemoteModel = oldRoleRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _oldRoleRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_oldRoleRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - OldRoleLocalServiceUtil.addOldRole(this); - } - else { - OldRoleLocalServiceUtil.updateOldRole(this); - } - } - - @Override - public String[] getAvailableLanguageIds() { - Set availableLanguageIds = new TreeSet(); - - Map titleMap = getTitleMap(); - - for (Map.Entry entry : titleMap.entrySet()) { - Locale locale = entry.getKey(); - String value = entry.getValue(); - - if (Validator.isNotNull(value)) { - availableLanguageIds.add(LocaleUtil.toLanguageId(locale)); - } - } - - Map descriptionMap = getDescriptionMap(); - - for (Map.Entry entry : descriptionMap.entrySet()) { - Locale locale = entry.getKey(); - String value = entry.getValue(); - - if (Validator.isNotNull(value)) { - availableLanguageIds.add(LocaleUtil.toLanguageId(locale)); - } - } - - return availableLanguageIds.toArray(new String[availableLanguageIds.size()]); - } - - @Override - public String getDefaultLanguageId() { - String xml = getTitle(); - - if (xml == null) { - return StringPool.BLANK; - } - - Locale defaultLocale = LocaleUtil.getDefault(); - - return LocalizationUtil.getDefaultLanguageId(xml, defaultLocale); - } - - @Override - public void prepareLocalizedFieldsForImport() throws LocaleException { - prepareLocalizedFieldsForImport(null); - } - - @Override - @SuppressWarnings("unused") - public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) - throws LocaleException { - Locale defaultLocale = LocaleUtil.getDefault(); - - String modelDefaultLanguageId = getDefaultLanguageId(); - - String title = getTitle(defaultLocale); - - if (Validator.isNull(title)) { - setTitle(getTitle(modelDefaultLanguageId), defaultLocale); - } - else { - setTitle(getTitle(defaultLocale), defaultLocale, defaultLocale); - } - - String description = getDescription(defaultLocale); - - if (Validator.isNull(description)) { - setDescription(getDescription(modelDefaultLanguageId), defaultLocale); - } - else { - setDescription(getDescription(defaultLocale), defaultLocale, - defaultLocale); - } - } - - @Override - public OldRole toEscapedModel() { - return (OldRole)ProxyUtil.newProxyInstance(OldRole.class.getClassLoader(), - new Class[] { OldRole.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - OldRoleClp clone = new OldRoleClp(); - - clone.setRoleId(getRoleId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setClassNameId(getClassNameId()); - clone.setClassPK(getClassPK()); - clone.setName(getName()); - clone.setTitle(getTitle()); - clone.setDescription(getDescription()); - clone.setType(getType()); - clone.setSubtype(getSubtype()); - - return clone; - } - - @Override - public int compareTo(OldRole oldRole) { - long primaryKey = oldRole.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof OldRoleClp)) { - return false; - } - - OldRoleClp oldRole = (OldRoleClp)obj; - - long primaryKey = oldRole.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(27); - - sb.append("{roleId="); - sb.append(getRoleId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", classNameId="); - sb.append(getClassNameId()); - sb.append(", classPK="); - sb.append(getClassPK()); - sb.append(", name="); - sb.append(getName()); - sb.append(", title="); - sb.append(getTitle()); - sb.append(", description="); - sb.append(getDescription()); - sb.append(", type="); - sb.append(getType()); - sb.append(", subtype="); - sb.append(getSubtype()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(43); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.OldRole"); - sb.append(""); - - sb.append( - "roleId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "classNameId"); - sb.append( - "classPK"); - sb.append( - "name"); - sb.append( - "title"); - sb.append( - "description"); - sb.append( - "type"); - sb.append( - "subtype"); - - sb.append(""); - - return sb.toString(); - } - - private long _roleId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _classNameId; - private long _classPK; - private String _name; - private String _title; - private String _titleCurrentLanguageId; - private String _description; - private String _descriptionCurrentLanguageId; - private int _type; - private String _subtype; - private BaseModel _oldRoleRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.importazione.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldRoleModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldRoleModel.java deleted file mode 100644 index 71d455b9..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldRoleModel.java +++ /dev/null @@ -1,533 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.LocaleException; -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.AttachedModel; -import com.liferay.portal.model.AuditedModel; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; -import java.util.Locale; -import java.util.Map; - -/** - * The base model interface for the OldRole service. Represents a row in the "role_" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.importazione.model.impl.OldRoleModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.importazione.model.impl.OldRoleImpl}. - *

- * - * @author 3FC - * @see OldRole - * @see it.tref.liferay.portos.importazione.model.impl.OldRoleImpl - * @see it.tref.liferay.portos.importazione.model.impl.OldRoleModelImpl - * @generated - */ -public interface OldRoleModel extends AttachedModel, AuditedModel, - BaseModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a old role model instance should use the {@link OldRole} interface instead. - */ - - /** - * Returns the primary key of this old role. - * - * @return the primary key of this old role - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this old role. - * - * @param primaryKey the primary key of this old role - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the role ID of this old role. - * - * @return the role ID of this old role - */ - public long getRoleId(); - - /** - * Sets the role ID of this old role. - * - * @param roleId the role ID of this old role - */ - public void setRoleId(long roleId); - - /** - * Returns the company ID of this old role. - * - * @return the company ID of this old role - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this old role. - * - * @param companyId the company ID of this old role - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this old role. - * - * @return the user ID of this old role - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this old role. - * - * @param userId the user ID of this old role - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this old role. - * - * @return the user uuid of this old role - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this old role. - * - * @param userUuid the user uuid of this old role - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this old role. - * - * @return the user name of this old role - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this old role. - * - * @param userName the user name of this old role - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this old role. - * - * @return the create date of this old role - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this old role. - * - * @param createDate the create date of this old role - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this old role. - * - * @return the modified date of this old role - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this old role. - * - * @param modifiedDate the modified date of this old role - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the fully qualified class name of this old role. - * - * @return the fully qualified class name of this old role - */ - @Override - public String getClassName(); - - public void setClassName(String className); - - /** - * Returns the class name ID of this old role. - * - * @return the class name ID of this old role - */ - @Override - public long getClassNameId(); - - /** - * Sets the class name ID of this old role. - * - * @param classNameId the class name ID of this old role - */ - @Override - public void setClassNameId(long classNameId); - - /** - * Returns the class p k of this old role. - * - * @return the class p k of this old role - */ - @Override - public long getClassPK(); - - /** - * Sets the class p k of this old role. - * - * @param classPK the class p k of this old role - */ - @Override - public void setClassPK(long classPK); - - /** - * Returns the name of this old role. - * - * @return the name of this old role - */ - @AutoEscape - public String getName(); - - /** - * Sets the name of this old role. - * - * @param name the name of this old role - */ - public void setName(String name); - - /** - * Returns the title of this old role. - * - * @return the title of this old role - */ - public String getTitle(); - - /** - * Returns the localized title of this old role in the language. Uses the default language if no localization exists for the requested language. - * - * @param locale the locale of the language - * @return the localized title of this old role - */ - @AutoEscape - public String getTitle(Locale locale); - - /** - * Returns the localized title of this old role in the language, optionally using the default language if no localization exists for the requested language. - * - * @param locale the local of the language - * @param useDefault whether to use the default language if no localization exists for the requested language - * @return the localized title of this old role. If useDefault is false and no localization exists for the requested language, an empty string will be returned. - */ - @AutoEscape - public String getTitle(Locale locale, boolean useDefault); - - /** - * Returns the localized title of this old role in the language. Uses the default language if no localization exists for the requested language. - * - * @param languageId the ID of the language - * @return the localized title of this old role - */ - @AutoEscape - public String getTitle(String languageId); - - /** - * Returns the localized title of this old role in the language, optionally using the default language if no localization exists for the requested language. - * - * @param languageId the ID of the language - * @param useDefault whether to use the default language if no localization exists for the requested language - * @return the localized title of this old role - */ - @AutoEscape - public String getTitle(String languageId, boolean useDefault); - - @AutoEscape - public String getTitleCurrentLanguageId(); - - @AutoEscape - public String getTitleCurrentValue(); - - /** - * Returns a map of the locales and localized titles of this old role. - * - * @return the locales and localized titles of this old role - */ - public Map getTitleMap(); - - /** - * Sets the title of this old role. - * - * @param title the title of this old role - */ - public void setTitle(String title); - - /** - * Sets the localized title of this old role in the language. - * - * @param title the localized title of this old role - * @param locale the locale of the language - */ - public void setTitle(String title, Locale locale); - - /** - * Sets the localized title of this old role in the language, and sets the default locale. - * - * @param title the localized title of this old role - * @param locale the locale of the language - * @param defaultLocale the default locale - */ - public void setTitle(String title, Locale locale, Locale defaultLocale); - - public void setTitleCurrentLanguageId(String languageId); - - /** - * Sets the localized titles of this old role from the map of locales and localized titles. - * - * @param titleMap the locales and localized titles of this old role - */ - public void setTitleMap(Map titleMap); - - /** - * Sets the localized titles of this old role from the map of locales and localized titles, and sets the default locale. - * - * @param titleMap the locales and localized titles of this old role - * @param defaultLocale the default locale - */ - public void setTitleMap(Map titleMap, Locale defaultLocale); - - /** - * Returns the description of this old role. - * - * @return the description of this old role - */ - public String getDescription(); - - /** - * Returns the localized description of this old role in the language. Uses the default language if no localization exists for the requested language. - * - * @param locale the locale of the language - * @return the localized description of this old role - */ - @AutoEscape - public String getDescription(Locale locale); - - /** - * Returns the localized description of this old role in the language, optionally using the default language if no localization exists for the requested language. - * - * @param locale the local of the language - * @param useDefault whether to use the default language if no localization exists for the requested language - * @return the localized description of this old role. If useDefault is false and no localization exists for the requested language, an empty string will be returned. - */ - @AutoEscape - public String getDescription(Locale locale, boolean useDefault); - - /** - * Returns the localized description of this old role in the language. Uses the default language if no localization exists for the requested language. - * - * @param languageId the ID of the language - * @return the localized description of this old role - */ - @AutoEscape - public String getDescription(String languageId); - - /** - * Returns the localized description of this old role in the language, optionally using the default language if no localization exists for the requested language. - * - * @param languageId the ID of the language - * @param useDefault whether to use the default language if no localization exists for the requested language - * @return the localized description of this old role - */ - @AutoEscape - public String getDescription(String languageId, boolean useDefault); - - @AutoEscape - public String getDescriptionCurrentLanguageId(); - - @AutoEscape - public String getDescriptionCurrentValue(); - - /** - * Returns a map of the locales and localized descriptions of this old role. - * - * @return the locales and localized descriptions of this old role - */ - public Map getDescriptionMap(); - - /** - * Sets the description of this old role. - * - * @param description the description of this old role - */ - public void setDescription(String description); - - /** - * Sets the localized description of this old role in the language. - * - * @param description the localized description of this old role - * @param locale the locale of the language - */ - public void setDescription(String description, Locale locale); - - /** - * Sets the localized description of this old role in the language, and sets the default locale. - * - * @param description the localized description of this old role - * @param locale the locale of the language - * @param defaultLocale the default locale - */ - public void setDescription(String description, Locale locale, - Locale defaultLocale); - - public void setDescriptionCurrentLanguageId(String languageId); - - /** - * Sets the localized descriptions of this old role from the map of locales and localized descriptions. - * - * @param descriptionMap the locales and localized descriptions of this old role - */ - public void setDescriptionMap(Map descriptionMap); - - /** - * Sets the localized descriptions of this old role from the map of locales and localized descriptions, and sets the default locale. - * - * @param descriptionMap the locales and localized descriptions of this old role - * @param defaultLocale the default locale - */ - public void setDescriptionMap(Map descriptionMap, - Locale defaultLocale); - - /** - * Returns the type of this old role. - * - * @return the type of this old role - */ - public int getType(); - - /** - * Sets the type of this old role. - * - * @param type the type of this old role - */ - public void setType(int type); - - /** - * Returns the subtype of this old role. - * - * @return the subtype of this old role - */ - @AutoEscape - public String getSubtype(); - - /** - * Sets the subtype of this old role. - * - * @param subtype the subtype of this old role - */ - public void setSubtype(String subtype); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - public String[] getAvailableLanguageIds(); - - public String getDefaultLanguageId(); - - public void prepareLocalizedFieldsForImport() throws LocaleException; - - public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) - throws LocaleException; - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.OldRole oldRole); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.importazione.model.OldRole toEscapedModel(); - - @Override - public it.tref.liferay.portos.importazione.model.OldRole toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldRoleSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldRoleSoap.java deleted file mode 100644 index 68c0677a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldRoleSoap.java +++ /dev/null @@ -1,215 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author 3FC - * @generated - */ -public class OldRoleSoap implements Serializable { - public static OldRoleSoap toSoapModel(OldRole model) { - OldRoleSoap soapModel = new OldRoleSoap(); - - soapModel.setRoleId(model.getRoleId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setClassNameId(model.getClassNameId()); - soapModel.setClassPK(model.getClassPK()); - soapModel.setName(model.getName()); - soapModel.setTitle(model.getTitle()); - soapModel.setDescription(model.getDescription()); - soapModel.setType(model.getType()); - soapModel.setSubtype(model.getSubtype()); - - return soapModel; - } - - public static OldRoleSoap[] toSoapModels(OldRole[] models) { - OldRoleSoap[] soapModels = new OldRoleSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static OldRoleSoap[][] toSoapModels(OldRole[][] models) { - OldRoleSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new OldRoleSoap[models.length][models[0].length]; - } - else { - soapModels = new OldRoleSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static OldRoleSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (OldRole model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new OldRoleSoap[soapModels.size()]); - } - - public OldRoleSoap() { - } - - public long getPrimaryKey() { - return _roleId; - } - - public void setPrimaryKey(long pk) { - setRoleId(pk); - } - - public long getRoleId() { - return _roleId; - } - - public void setRoleId(long roleId) { - _roleId = roleId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public long getClassNameId() { - return _classNameId; - } - - public void setClassNameId(long classNameId) { - _classNameId = classNameId; - } - - public long getClassPK() { - return _classPK; - } - - public void setClassPK(long classPK) { - _classPK = classPK; - } - - public String getName() { - return _name; - } - - public void setName(String name) { - _name = name; - } - - public String getTitle() { - return _title; - } - - public void setTitle(String title) { - _title = title; - } - - public String getDescription() { - return _description; - } - - public void setDescription(String description) { - _description = description; - } - - public int getType() { - return _type; - } - - public void setType(int type) { - _type = type; - } - - public String getSubtype() { - return _subtype; - } - - public void setSubtype(String subtype) { - _subtype = subtype; - } - - private long _roleId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _classNameId; - private long _classPK; - private String _name; - private String _title; - private String _description; - private int _type; - private String _subtype; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldRoleWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldRoleWrapper.java deleted file mode 100644 index 913a47a4..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldRoleWrapper.java +++ /dev/null @@ -1,874 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link OldRole}. - *

- * - * @author 3FC - * @see OldRole - * @generated - */ -public class OldRoleWrapper implements OldRole, ModelWrapper { - public OldRoleWrapper(OldRole oldRole) { - _oldRole = oldRole; - } - - @Override - public Class getModelClass() { - return OldRole.class; - } - - @Override - public String getModelClassName() { - return OldRole.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("roleId", getRoleId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("classNameId", getClassNameId()); - attributes.put("classPK", getClassPK()); - attributes.put("name", getName()); - attributes.put("title", getTitle()); - attributes.put("description", getDescription()); - attributes.put("type", getType()); - attributes.put("subtype", getSubtype()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long roleId = (Long)attributes.get("roleId"); - - if (roleId != null) { - setRoleId(roleId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long classNameId = (Long)attributes.get("classNameId"); - - if (classNameId != null) { - setClassNameId(classNameId); - } - - Long classPK = (Long)attributes.get("classPK"); - - if (classPK != null) { - setClassPK(classPK); - } - - String name = (String)attributes.get("name"); - - if (name != null) { - setName(name); - } - - String title = (String)attributes.get("title"); - - if (title != null) { - setTitle(title); - } - - String description = (String)attributes.get("description"); - - if (description != null) { - setDescription(description); - } - - Integer type = (Integer)attributes.get("type"); - - if (type != null) { - setType(type); - } - - String subtype = (String)attributes.get("subtype"); - - if (subtype != null) { - setSubtype(subtype); - } - } - - /** - * Returns the primary key of this old role. - * - * @return the primary key of this old role - */ - @Override - public long getPrimaryKey() { - return _oldRole.getPrimaryKey(); - } - - /** - * Sets the primary key of this old role. - * - * @param primaryKey the primary key of this old role - */ - @Override - public void setPrimaryKey(long primaryKey) { - _oldRole.setPrimaryKey(primaryKey); - } - - /** - * Returns the role ID of this old role. - * - * @return the role ID of this old role - */ - @Override - public long getRoleId() { - return _oldRole.getRoleId(); - } - - /** - * Sets the role ID of this old role. - * - * @param roleId the role ID of this old role - */ - @Override - public void setRoleId(long roleId) { - _oldRole.setRoleId(roleId); - } - - /** - * Returns the company ID of this old role. - * - * @return the company ID of this old role - */ - @Override - public long getCompanyId() { - return _oldRole.getCompanyId(); - } - - /** - * Sets the company ID of this old role. - * - * @param companyId the company ID of this old role - */ - @Override - public void setCompanyId(long companyId) { - _oldRole.setCompanyId(companyId); - } - - /** - * Returns the user ID of this old role. - * - * @return the user ID of this old role - */ - @Override - public long getUserId() { - return _oldRole.getUserId(); - } - - /** - * Sets the user ID of this old role. - * - * @param userId the user ID of this old role - */ - @Override - public void setUserId(long userId) { - _oldRole.setUserId(userId); - } - - /** - * Returns the user uuid of this old role. - * - * @return the user uuid of this old role - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _oldRole.getUserUuid(); - } - - /** - * Sets the user uuid of this old role. - * - * @param userUuid the user uuid of this old role - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _oldRole.setUserUuid(userUuid); - } - - /** - * Returns the user name of this old role. - * - * @return the user name of this old role - */ - @Override - public java.lang.String getUserName() { - return _oldRole.getUserName(); - } - - /** - * Sets the user name of this old role. - * - * @param userName the user name of this old role - */ - @Override - public void setUserName(java.lang.String userName) { - _oldRole.setUserName(userName); - } - - /** - * Returns the create date of this old role. - * - * @return the create date of this old role - */ - @Override - public java.util.Date getCreateDate() { - return _oldRole.getCreateDate(); - } - - /** - * Sets the create date of this old role. - * - * @param createDate the create date of this old role - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _oldRole.setCreateDate(createDate); - } - - /** - * Returns the modified date of this old role. - * - * @return the modified date of this old role - */ - @Override - public java.util.Date getModifiedDate() { - return _oldRole.getModifiedDate(); - } - - /** - * Sets the modified date of this old role. - * - * @param modifiedDate the modified date of this old role - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _oldRole.setModifiedDate(modifiedDate); - } - - /** - * Returns the fully qualified class name of this old role. - * - * @return the fully qualified class name of this old role - */ - @Override - public java.lang.String getClassName() { - return _oldRole.getClassName(); - } - - @Override - public void setClassName(java.lang.String className) { - _oldRole.setClassName(className); - } - - /** - * Returns the class name ID of this old role. - * - * @return the class name ID of this old role - */ - @Override - public long getClassNameId() { - return _oldRole.getClassNameId(); - } - - /** - * Sets the class name ID of this old role. - * - * @param classNameId the class name ID of this old role - */ - @Override - public void setClassNameId(long classNameId) { - _oldRole.setClassNameId(classNameId); - } - - /** - * Returns the class p k of this old role. - * - * @return the class p k of this old role - */ - @Override - public long getClassPK() { - return _oldRole.getClassPK(); - } - - /** - * Sets the class p k of this old role. - * - * @param classPK the class p k of this old role - */ - @Override - public void setClassPK(long classPK) { - _oldRole.setClassPK(classPK); - } - - /** - * Returns the name of this old role. - * - * @return the name of this old role - */ - @Override - public java.lang.String getName() { - return _oldRole.getName(); - } - - /** - * Sets the name of this old role. - * - * @param name the name of this old role - */ - @Override - public void setName(java.lang.String name) { - _oldRole.setName(name); - } - - /** - * Returns the title of this old role. - * - * @return the title of this old role - */ - @Override - public java.lang.String getTitle() { - return _oldRole.getTitle(); - } - - /** - * Returns the localized title of this old role in the language. Uses the default language if no localization exists for the requested language. - * - * @param locale the locale of the language - * @return the localized title of this old role - */ - @Override - public java.lang.String getTitle(java.util.Locale locale) { - return _oldRole.getTitle(locale); - } - - /** - * Returns the localized title of this old role in the language, optionally using the default language if no localization exists for the requested language. - * - * @param locale the local of the language - * @param useDefault whether to use the default language if no localization exists for the requested language - * @return the localized title of this old role. If useDefault is false and no localization exists for the requested language, an empty string will be returned. - */ - @Override - public java.lang.String getTitle(java.util.Locale locale, boolean useDefault) { - return _oldRole.getTitle(locale, useDefault); - } - - /** - * Returns the localized title of this old role in the language. Uses the default language if no localization exists for the requested language. - * - * @param languageId the ID of the language - * @return the localized title of this old role - */ - @Override - public java.lang.String getTitle(java.lang.String languageId) { - return _oldRole.getTitle(languageId); - } - - /** - * Returns the localized title of this old role in the language, optionally using the default language if no localization exists for the requested language. - * - * @param languageId the ID of the language - * @param useDefault whether to use the default language if no localization exists for the requested language - * @return the localized title of this old role - */ - @Override - public java.lang.String getTitle(java.lang.String languageId, - boolean useDefault) { - return _oldRole.getTitle(languageId, useDefault); - } - - @Override - public java.lang.String getTitleCurrentLanguageId() { - return _oldRole.getTitleCurrentLanguageId(); - } - - @Override - public java.lang.String getTitleCurrentValue() { - return _oldRole.getTitleCurrentValue(); - } - - /** - * Returns a map of the locales and localized titles of this old role. - * - * @return the locales and localized titles of this old role - */ - @Override - public java.util.Map getTitleMap() { - return _oldRole.getTitleMap(); - } - - /** - * Sets the title of this old role. - * - * @param title the title of this old role - */ - @Override - public void setTitle(java.lang.String title) { - _oldRole.setTitle(title); - } - - /** - * Sets the localized title of this old role in the language. - * - * @param title the localized title of this old role - * @param locale the locale of the language - */ - @Override - public void setTitle(java.lang.String title, java.util.Locale locale) { - _oldRole.setTitle(title, locale); - } - - /** - * Sets the localized title of this old role in the language, and sets the default locale. - * - * @param title the localized title of this old role - * @param locale the locale of the language - * @param defaultLocale the default locale - */ - @Override - public void setTitle(java.lang.String title, java.util.Locale locale, - java.util.Locale defaultLocale) { - _oldRole.setTitle(title, locale, defaultLocale); - } - - @Override - public void setTitleCurrentLanguageId(java.lang.String languageId) { - _oldRole.setTitleCurrentLanguageId(languageId); - } - - /** - * Sets the localized titles of this old role from the map of locales and localized titles. - * - * @param titleMap the locales and localized titles of this old role - */ - @Override - public void setTitleMap( - java.util.Map titleMap) { - _oldRole.setTitleMap(titleMap); - } - - /** - * Sets the localized titles of this old role from the map of locales and localized titles, and sets the default locale. - * - * @param titleMap the locales and localized titles of this old role - * @param defaultLocale the default locale - */ - @Override - public void setTitleMap( - java.util.Map titleMap, - java.util.Locale defaultLocale) { - _oldRole.setTitleMap(titleMap, defaultLocale); - } - - /** - * Returns the description of this old role. - * - * @return the description of this old role - */ - @Override - public java.lang.String getDescription() { - return _oldRole.getDescription(); - } - - /** - * Returns the localized description of this old role in the language. Uses the default language if no localization exists for the requested language. - * - * @param locale the locale of the language - * @return the localized description of this old role - */ - @Override - public java.lang.String getDescription(java.util.Locale locale) { - return _oldRole.getDescription(locale); - } - - /** - * Returns the localized description of this old role in the language, optionally using the default language if no localization exists for the requested language. - * - * @param locale the local of the language - * @param useDefault whether to use the default language if no localization exists for the requested language - * @return the localized description of this old role. If useDefault is false and no localization exists for the requested language, an empty string will be returned. - */ - @Override - public java.lang.String getDescription(java.util.Locale locale, - boolean useDefault) { - return _oldRole.getDescription(locale, useDefault); - } - - /** - * Returns the localized description of this old role in the language. Uses the default language if no localization exists for the requested language. - * - * @param languageId the ID of the language - * @return the localized description of this old role - */ - @Override - public java.lang.String getDescription(java.lang.String languageId) { - return _oldRole.getDescription(languageId); - } - - /** - * Returns the localized description of this old role in the language, optionally using the default language if no localization exists for the requested language. - * - * @param languageId the ID of the language - * @param useDefault whether to use the default language if no localization exists for the requested language - * @return the localized description of this old role - */ - @Override - public java.lang.String getDescription(java.lang.String languageId, - boolean useDefault) { - return _oldRole.getDescription(languageId, useDefault); - } - - @Override - public java.lang.String getDescriptionCurrentLanguageId() { - return _oldRole.getDescriptionCurrentLanguageId(); - } - - @Override - public java.lang.String getDescriptionCurrentValue() { - return _oldRole.getDescriptionCurrentValue(); - } - - /** - * Returns a map of the locales and localized descriptions of this old role. - * - * @return the locales and localized descriptions of this old role - */ - @Override - public java.util.Map getDescriptionMap() { - return _oldRole.getDescriptionMap(); - } - - /** - * Sets the description of this old role. - * - * @param description the description of this old role - */ - @Override - public void setDescription(java.lang.String description) { - _oldRole.setDescription(description); - } - - /** - * Sets the localized description of this old role in the language. - * - * @param description the localized description of this old role - * @param locale the locale of the language - */ - @Override - public void setDescription(java.lang.String description, - java.util.Locale locale) { - _oldRole.setDescription(description, locale); - } - - /** - * Sets the localized description of this old role in the language, and sets the default locale. - * - * @param description the localized description of this old role - * @param locale the locale of the language - * @param defaultLocale the default locale - */ - @Override - public void setDescription(java.lang.String description, - java.util.Locale locale, java.util.Locale defaultLocale) { - _oldRole.setDescription(description, locale, defaultLocale); - } - - @Override - public void setDescriptionCurrentLanguageId(java.lang.String languageId) { - _oldRole.setDescriptionCurrentLanguageId(languageId); - } - - /** - * Sets the localized descriptions of this old role from the map of locales and localized descriptions. - * - * @param descriptionMap the locales and localized descriptions of this old role - */ - @Override - public void setDescriptionMap( - java.util.Map descriptionMap) { - _oldRole.setDescriptionMap(descriptionMap); - } - - /** - * Sets the localized descriptions of this old role from the map of locales and localized descriptions, and sets the default locale. - * - * @param descriptionMap the locales and localized descriptions of this old role - * @param defaultLocale the default locale - */ - @Override - public void setDescriptionMap( - java.util.Map descriptionMap, - java.util.Locale defaultLocale) { - _oldRole.setDescriptionMap(descriptionMap, defaultLocale); - } - - /** - * Returns the type of this old role. - * - * @return the type of this old role - */ - @Override - public int getType() { - return _oldRole.getType(); - } - - /** - * Sets the type of this old role. - * - * @param type the type of this old role - */ - @Override - public void setType(int type) { - _oldRole.setType(type); - } - - /** - * Returns the subtype of this old role. - * - * @return the subtype of this old role - */ - @Override - public java.lang.String getSubtype() { - return _oldRole.getSubtype(); - } - - /** - * Sets the subtype of this old role. - * - * @param subtype the subtype of this old role - */ - @Override - public void setSubtype(java.lang.String subtype) { - _oldRole.setSubtype(subtype); - } - - @Override - public boolean isNew() { - return _oldRole.isNew(); - } - - @Override - public void setNew(boolean n) { - _oldRole.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _oldRole.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _oldRole.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _oldRole.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _oldRole.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _oldRole.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _oldRole.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _oldRole.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _oldRole.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _oldRole.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.String[] getAvailableLanguageIds() { - return _oldRole.getAvailableLanguageIds(); - } - - @Override - public java.lang.String getDefaultLanguageId() { - return _oldRole.getDefaultLanguageId(); - } - - @Override - public void prepareLocalizedFieldsForImport() - throws com.liferay.portal.LocaleException { - _oldRole.prepareLocalizedFieldsForImport(); - } - - @Override - public void prepareLocalizedFieldsForImport( - java.util.Locale defaultImportLocale) - throws com.liferay.portal.LocaleException { - _oldRole.prepareLocalizedFieldsForImport(defaultImportLocale); - } - - @Override - public java.lang.Object clone() { - return new OldRoleWrapper((OldRole)_oldRole.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.OldRole oldRole) { - return _oldRole.compareTo(oldRole); - } - - @Override - public int hashCode() { - return _oldRole.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _oldRole.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldRole toEscapedModel() { - return new OldRoleWrapper(_oldRole.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldRole toUnescapedModel() { - return new OldRoleWrapper(_oldRole.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _oldRole.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _oldRole.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _oldRole.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof OldRoleWrapper)) { - return false; - } - - OldRoleWrapper oldRoleWrapper = (OldRoleWrapper)obj; - - if (Validator.equals(_oldRole, oldRoleWrapper._oldRole)) { - return true; - } - - return false; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public OldRole getWrappedOldRole() { - return _oldRole; - } - - @Override - public OldRole getWrappedModel() { - return _oldRole; - } - - @Override - public void resetOriginalValues() { - _oldRole.resetOriginalValues(); - } - - private OldRole _oldRole; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldUser.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldUser.java deleted file mode 100644 index 76e2abfb..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldUser.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the OldUser service. Represents a row in the "user_" database table, with each column mapped to a property of this class. - * - * @author 3FC - * @see OldUserModel - * @see it.tref.liferay.portos.importazione.model.impl.OldUserImpl - * @see it.tref.liferay.portos.importazione.model.impl.OldUserModelImpl - * @generated - */ -public interface OldUser extends OldUserModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.importazione.model.impl.OldUserImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldUserClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldUserClp.java deleted file mode 100644 index 36cdc07b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldUserClp.java +++ /dev/null @@ -1,1727 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.service.ClpSerializer; -import it.tref.liferay.portos.importazione.service.OldUserLocalServiceUtil; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author 3FC - */ -public class OldUserClp extends BaseModelImpl implements OldUser { - public OldUserClp() { - } - - @Override - public Class getModelClass() { - return OldUser.class; - } - - @Override - public String getModelClassName() { - return OldUser.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _userId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setUserId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _userId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("userId", getUserId()); - attributes.put("companyId", getCompanyId()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("defaultUser", getDefaultUser()); - attributes.put("contactId", getContactId()); - attributes.put("password", getPassword()); - attributes.put("passwordEncrypted", getPasswordEncrypted()); - attributes.put("passwordReset", getPasswordReset()); - attributes.put("passwordModifiedDate", getPasswordModifiedDate()); - attributes.put("digest", getDigest()); - attributes.put("reminderQueryQuestion", getReminderQueryQuestion()); - attributes.put("reminderQueryAnswer", getReminderQueryAnswer()); - attributes.put("graceLoginCount", getGraceLoginCount()); - attributes.put("screenName", getScreenName()); - attributes.put("emailAddress", getEmailAddress()); - attributes.put("facebookId", getFacebookId()); - attributes.put("openId", getOpenId()); - attributes.put("portraitId", getPortraitId()); - attributes.put("languageId", getLanguageId()); - attributes.put("timeZoneId", getTimeZoneId()); - attributes.put("greeting", getGreeting()); - attributes.put("comments", getComments()); - attributes.put("firstName", getFirstName()); - attributes.put("middleName", getMiddleName()); - attributes.put("lastName", getLastName()); - attributes.put("jobTitle", getJobTitle()); - attributes.put("loginDate", getLoginDate()); - attributes.put("loginIP", getLoginIP()); - attributes.put("lastLoginDate", getLastLoginDate()); - attributes.put("lastLoginIP", getLastLoginIP()); - attributes.put("lastFailedLoginDate", getLastFailedLoginDate()); - attributes.put("failedLoginAttempts", getFailedLoginAttempts()); - attributes.put("lockout", getLockout()); - attributes.put("lockoutDate", getLockoutDate()); - attributes.put("agreedToTermsOfUse", getAgreedToTermsOfUse()); - attributes.put("emailAddressVerified", getEmailAddressVerified()); - attributes.put("status", getStatus()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Boolean defaultUser = (Boolean)attributes.get("defaultUser"); - - if (defaultUser != null) { - setDefaultUser(defaultUser); - } - - Long contactId = (Long)attributes.get("contactId"); - - if (contactId != null) { - setContactId(contactId); - } - - String password = (String)attributes.get("password"); - - if (password != null) { - setPassword(password); - } - - Boolean passwordEncrypted = (Boolean)attributes.get("passwordEncrypted"); - - if (passwordEncrypted != null) { - setPasswordEncrypted(passwordEncrypted); - } - - Boolean passwordReset = (Boolean)attributes.get("passwordReset"); - - if (passwordReset != null) { - setPasswordReset(passwordReset); - } - - Date passwordModifiedDate = (Date)attributes.get("passwordModifiedDate"); - - if (passwordModifiedDate != null) { - setPasswordModifiedDate(passwordModifiedDate); - } - - String digest = (String)attributes.get("digest"); - - if (digest != null) { - setDigest(digest); - } - - String reminderQueryQuestion = (String)attributes.get( - "reminderQueryQuestion"); - - if (reminderQueryQuestion != null) { - setReminderQueryQuestion(reminderQueryQuestion); - } - - String reminderQueryAnswer = (String)attributes.get( - "reminderQueryAnswer"); - - if (reminderQueryAnswer != null) { - setReminderQueryAnswer(reminderQueryAnswer); - } - - Integer graceLoginCount = (Integer)attributes.get("graceLoginCount"); - - if (graceLoginCount != null) { - setGraceLoginCount(graceLoginCount); - } - - String screenName = (String)attributes.get("screenName"); - - if (screenName != null) { - setScreenName(screenName); - } - - String emailAddress = (String)attributes.get("emailAddress"); - - if (emailAddress != null) { - setEmailAddress(emailAddress); - } - - Long facebookId = (Long)attributes.get("facebookId"); - - if (facebookId != null) { - setFacebookId(facebookId); - } - - String openId = (String)attributes.get("openId"); - - if (openId != null) { - setOpenId(openId); - } - - Long portraitId = (Long)attributes.get("portraitId"); - - if (portraitId != null) { - setPortraitId(portraitId); - } - - String languageId = (String)attributes.get("languageId"); - - if (languageId != null) { - setLanguageId(languageId); - } - - String timeZoneId = (String)attributes.get("timeZoneId"); - - if (timeZoneId != null) { - setTimeZoneId(timeZoneId); - } - - String greeting = (String)attributes.get("greeting"); - - if (greeting != null) { - setGreeting(greeting); - } - - String comments = (String)attributes.get("comments"); - - if (comments != null) { - setComments(comments); - } - - String firstName = (String)attributes.get("firstName"); - - if (firstName != null) { - setFirstName(firstName); - } - - String middleName = (String)attributes.get("middleName"); - - if (middleName != null) { - setMiddleName(middleName); - } - - String lastName = (String)attributes.get("lastName"); - - if (lastName != null) { - setLastName(lastName); - } - - String jobTitle = (String)attributes.get("jobTitle"); - - if (jobTitle != null) { - setJobTitle(jobTitle); - } - - Date loginDate = (Date)attributes.get("loginDate"); - - if (loginDate != null) { - setLoginDate(loginDate); - } - - String loginIP = (String)attributes.get("loginIP"); - - if (loginIP != null) { - setLoginIP(loginIP); - } - - Date lastLoginDate = (Date)attributes.get("lastLoginDate"); - - if (lastLoginDate != null) { - setLastLoginDate(lastLoginDate); - } - - String lastLoginIP = (String)attributes.get("lastLoginIP"); - - if (lastLoginIP != null) { - setLastLoginIP(lastLoginIP); - } - - Date lastFailedLoginDate = (Date)attributes.get("lastFailedLoginDate"); - - if (lastFailedLoginDate != null) { - setLastFailedLoginDate(lastFailedLoginDate); - } - - Integer failedLoginAttempts = (Integer)attributes.get( - "failedLoginAttempts"); - - if (failedLoginAttempts != null) { - setFailedLoginAttempts(failedLoginAttempts); - } - - Boolean lockout = (Boolean)attributes.get("lockout"); - - if (lockout != null) { - setLockout(lockout); - } - - Date lockoutDate = (Date)attributes.get("lockoutDate"); - - if (lockoutDate != null) { - setLockoutDate(lockoutDate); - } - - Boolean agreedToTermsOfUse = (Boolean)attributes.get( - "agreedToTermsOfUse"); - - if (agreedToTermsOfUse != null) { - setAgreedToTermsOfUse(agreedToTermsOfUse); - } - - Boolean emailAddressVerified = (Boolean)attributes.get( - "emailAddressVerified"); - - if (emailAddressVerified != null) { - setEmailAddressVerified(emailAddressVerified); - } - - Integer status = (Integer)attributes.get("status"); - - if (status != null) { - setStatus(status); - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_oldUserRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_oldUserRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_oldUserRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_oldUserRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getDefaultUser() { - return _defaultUser; - } - - @Override - public boolean isDefaultUser() { - return _defaultUser; - } - - @Override - public void setDefaultUser(boolean defaultUser) { - _defaultUser = defaultUser; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setDefaultUser", boolean.class); - - method.invoke(_oldUserRemoteModel, defaultUser); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getContactId() { - return _contactId; - } - - @Override - public void setContactId(long contactId) { - _contactId = contactId; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setContactId", long.class); - - method.invoke(_oldUserRemoteModel, contactId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getPassword() { - return _password; - } - - @Override - public void setPassword(String password) { - _password = password; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setPassword", String.class); - - method.invoke(_oldUserRemoteModel, password); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getPasswordEncrypted() { - return _passwordEncrypted; - } - - @Override - public boolean isPasswordEncrypted() { - return _passwordEncrypted; - } - - @Override - public void setPasswordEncrypted(boolean passwordEncrypted) { - _passwordEncrypted = passwordEncrypted; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setPasswordEncrypted", - boolean.class); - - method.invoke(_oldUserRemoteModel, passwordEncrypted); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getPasswordReset() { - return _passwordReset; - } - - @Override - public boolean isPasswordReset() { - return _passwordReset; - } - - @Override - public void setPasswordReset(boolean passwordReset) { - _passwordReset = passwordReset; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setPasswordReset", - boolean.class); - - method.invoke(_oldUserRemoteModel, passwordReset); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getPasswordModifiedDate() { - return _passwordModifiedDate; - } - - @Override - public void setPasswordModifiedDate(Date passwordModifiedDate) { - _passwordModifiedDate = passwordModifiedDate; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setPasswordModifiedDate", - Date.class); - - method.invoke(_oldUserRemoteModel, passwordModifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getDigest() { - return _digest; - } - - @Override - public void setDigest(String digest) { - _digest = digest; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setDigest", String.class); - - method.invoke(_oldUserRemoteModel, digest); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getReminderQueryQuestion() { - return _reminderQueryQuestion; - } - - @Override - public void setReminderQueryQuestion(String reminderQueryQuestion) { - _reminderQueryQuestion = reminderQueryQuestion; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setReminderQueryQuestion", - String.class); - - method.invoke(_oldUserRemoteModel, reminderQueryQuestion); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getReminderQueryAnswer() { - return _reminderQueryAnswer; - } - - @Override - public void setReminderQueryAnswer(String reminderQueryAnswer) { - _reminderQueryAnswer = reminderQueryAnswer; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setReminderQueryAnswer", - String.class); - - method.invoke(_oldUserRemoteModel, reminderQueryAnswer); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public int getGraceLoginCount() { - return _graceLoginCount; - } - - @Override - public void setGraceLoginCount(int graceLoginCount) { - _graceLoginCount = graceLoginCount; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setGraceLoginCount", int.class); - - method.invoke(_oldUserRemoteModel, graceLoginCount); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getScreenName() { - return _screenName; - } - - @Override - public void setScreenName(String screenName) { - _screenName = screenName; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setScreenName", String.class); - - method.invoke(_oldUserRemoteModel, screenName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getEmailAddress() { - return _emailAddress; - } - - @Override - public void setEmailAddress(String emailAddress) { - _emailAddress = emailAddress; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setEmailAddress", String.class); - - method.invoke(_oldUserRemoteModel, emailAddress); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getFacebookId() { - return _facebookId; - } - - @Override - public void setFacebookId(long facebookId) { - _facebookId = facebookId; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setFacebookId", long.class); - - method.invoke(_oldUserRemoteModel, facebookId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getOpenId() { - return _openId; - } - - @Override - public void setOpenId(String openId) { - _openId = openId; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setOpenId", String.class); - - method.invoke(_oldUserRemoteModel, openId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getPortraitId() { - return _portraitId; - } - - @Override - public void setPortraitId(long portraitId) { - _portraitId = portraitId; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setPortraitId", long.class); - - method.invoke(_oldUserRemoteModel, portraitId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getLanguageId() { - return _languageId; - } - - @Override - public void setLanguageId(String languageId) { - _languageId = languageId; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setLanguageId", String.class); - - method.invoke(_oldUserRemoteModel, languageId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getTimeZoneId() { - return _timeZoneId; - } - - @Override - public void setTimeZoneId(String timeZoneId) { - _timeZoneId = timeZoneId; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setTimeZoneId", String.class); - - method.invoke(_oldUserRemoteModel, timeZoneId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getGreeting() { - return _greeting; - } - - @Override - public void setGreeting(String greeting) { - _greeting = greeting; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setGreeting", String.class); - - method.invoke(_oldUserRemoteModel, greeting); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getComments() { - return _comments; - } - - @Override - public void setComments(String comments) { - _comments = comments; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setComments", String.class); - - method.invoke(_oldUserRemoteModel, comments); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getFirstName() { - return _firstName; - } - - @Override - public void setFirstName(String firstName) { - _firstName = firstName; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setFirstName", String.class); - - method.invoke(_oldUserRemoteModel, firstName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getMiddleName() { - return _middleName; - } - - @Override - public void setMiddleName(String middleName) { - _middleName = middleName; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setMiddleName", String.class); - - method.invoke(_oldUserRemoteModel, middleName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getLastName() { - return _lastName; - } - - @Override - public void setLastName(String lastName) { - _lastName = lastName; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setLastName", String.class); - - method.invoke(_oldUserRemoteModel, lastName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getJobTitle() { - return _jobTitle; - } - - @Override - public void setJobTitle(String jobTitle) { - _jobTitle = jobTitle; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setJobTitle", String.class); - - method.invoke(_oldUserRemoteModel, jobTitle); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getLoginDate() { - return _loginDate; - } - - @Override - public void setLoginDate(Date loginDate) { - _loginDate = loginDate; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setLoginDate", Date.class); - - method.invoke(_oldUserRemoteModel, loginDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getLoginIP() { - return _loginIP; - } - - @Override - public void setLoginIP(String loginIP) { - _loginIP = loginIP; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setLoginIP", String.class); - - method.invoke(_oldUserRemoteModel, loginIP); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getLastLoginDate() { - return _lastLoginDate; - } - - @Override - public void setLastLoginDate(Date lastLoginDate) { - _lastLoginDate = lastLoginDate; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setLastLoginDate", Date.class); - - method.invoke(_oldUserRemoteModel, lastLoginDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getLastLoginIP() { - return _lastLoginIP; - } - - @Override - public void setLastLoginIP(String lastLoginIP) { - _lastLoginIP = lastLoginIP; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setLastLoginIP", String.class); - - method.invoke(_oldUserRemoteModel, lastLoginIP); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getLastFailedLoginDate() { - return _lastFailedLoginDate; - } - - @Override - public void setLastFailedLoginDate(Date lastFailedLoginDate) { - _lastFailedLoginDate = lastFailedLoginDate; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setLastFailedLoginDate", - Date.class); - - method.invoke(_oldUserRemoteModel, lastFailedLoginDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public int getFailedLoginAttempts() { - return _failedLoginAttempts; - } - - @Override - public void setFailedLoginAttempts(int failedLoginAttempts) { - _failedLoginAttempts = failedLoginAttempts; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setFailedLoginAttempts", - int.class); - - method.invoke(_oldUserRemoteModel, failedLoginAttempts); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getLockout() { - return _lockout; - } - - @Override - public boolean isLockout() { - return _lockout; - } - - @Override - public void setLockout(boolean lockout) { - _lockout = lockout; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setLockout", boolean.class); - - method.invoke(_oldUserRemoteModel, lockout); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getLockoutDate() { - return _lockoutDate; - } - - @Override - public void setLockoutDate(Date lockoutDate) { - _lockoutDate = lockoutDate; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setLockoutDate", Date.class); - - method.invoke(_oldUserRemoteModel, lockoutDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getAgreedToTermsOfUse() { - return _agreedToTermsOfUse; - } - - @Override - public boolean isAgreedToTermsOfUse() { - return _agreedToTermsOfUse; - } - - @Override - public void setAgreedToTermsOfUse(boolean agreedToTermsOfUse) { - _agreedToTermsOfUse = agreedToTermsOfUse; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setAgreedToTermsOfUse", - boolean.class); - - method.invoke(_oldUserRemoteModel, agreedToTermsOfUse); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getEmailAddressVerified() { - return _emailAddressVerified; - } - - @Override - public boolean isEmailAddressVerified() { - return _emailAddressVerified; - } - - @Override - public void setEmailAddressVerified(boolean emailAddressVerified) { - _emailAddressVerified = emailAddressVerified; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setEmailAddressVerified", - boolean.class); - - method.invoke(_oldUserRemoteModel, emailAddressVerified); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public int getStatus() { - return _status; - } - - @Override - public void setStatus(int status) { - _status = status; - - if (_oldUserRemoteModel != null) { - try { - Class clazz = _oldUserRemoteModel.getClass(); - - Method method = clazz.getMethod("setStatus", int.class); - - method.invoke(_oldUserRemoteModel, status); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - public BaseModel getOldUserRemoteModel() { - return _oldUserRemoteModel; - } - - public void setOldUserRemoteModel(BaseModel oldUserRemoteModel) { - _oldUserRemoteModel = oldUserRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _oldUserRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_oldUserRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - OldUserLocalServiceUtil.addOldUser(this); - } - else { - OldUserLocalServiceUtil.updateOldUser(this); - } - } - - @Override - public OldUser toEscapedModel() { - return (OldUser)ProxyUtil.newProxyInstance(OldUser.class.getClassLoader(), - new Class[] { OldUser.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - OldUserClp clone = new OldUserClp(); - - clone.setUserId(getUserId()); - clone.setCompanyId(getCompanyId()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setDefaultUser(getDefaultUser()); - clone.setContactId(getContactId()); - clone.setPassword(getPassword()); - clone.setPasswordEncrypted(getPasswordEncrypted()); - clone.setPasswordReset(getPasswordReset()); - clone.setPasswordModifiedDate(getPasswordModifiedDate()); - clone.setDigest(getDigest()); - clone.setReminderQueryQuestion(getReminderQueryQuestion()); - clone.setReminderQueryAnswer(getReminderQueryAnswer()); - clone.setGraceLoginCount(getGraceLoginCount()); - clone.setScreenName(getScreenName()); - clone.setEmailAddress(getEmailAddress()); - clone.setFacebookId(getFacebookId()); - clone.setOpenId(getOpenId()); - clone.setPortraitId(getPortraitId()); - clone.setLanguageId(getLanguageId()); - clone.setTimeZoneId(getTimeZoneId()); - clone.setGreeting(getGreeting()); - clone.setComments(getComments()); - clone.setFirstName(getFirstName()); - clone.setMiddleName(getMiddleName()); - clone.setLastName(getLastName()); - clone.setJobTitle(getJobTitle()); - clone.setLoginDate(getLoginDate()); - clone.setLoginIP(getLoginIP()); - clone.setLastLoginDate(getLastLoginDate()); - clone.setLastLoginIP(getLastLoginIP()); - clone.setLastFailedLoginDate(getLastFailedLoginDate()); - clone.setFailedLoginAttempts(getFailedLoginAttempts()); - clone.setLockout(getLockout()); - clone.setLockoutDate(getLockoutDate()); - clone.setAgreedToTermsOfUse(getAgreedToTermsOfUse()); - clone.setEmailAddressVerified(getEmailAddressVerified()); - clone.setStatus(getStatus()); - - return clone; - } - - @Override - public int compareTo(OldUser oldUser) { - long primaryKey = oldUser.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof OldUserClp)) { - return false; - } - - OldUserClp oldUser = (OldUserClp)obj; - - long primaryKey = oldUser.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(77); - - sb.append("{userId="); - sb.append(getUserId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", defaultUser="); - sb.append(getDefaultUser()); - sb.append(", contactId="); - sb.append(getContactId()); - sb.append(", password="); - sb.append(getPassword()); - sb.append(", passwordEncrypted="); - sb.append(getPasswordEncrypted()); - sb.append(", passwordReset="); - sb.append(getPasswordReset()); - sb.append(", passwordModifiedDate="); - sb.append(getPasswordModifiedDate()); - sb.append(", digest="); - sb.append(getDigest()); - sb.append(", reminderQueryQuestion="); - sb.append(getReminderQueryQuestion()); - sb.append(", reminderQueryAnswer="); - sb.append(getReminderQueryAnswer()); - sb.append(", graceLoginCount="); - sb.append(getGraceLoginCount()); - sb.append(", screenName="); - sb.append(getScreenName()); - sb.append(", emailAddress="); - sb.append(getEmailAddress()); - sb.append(", facebookId="); - sb.append(getFacebookId()); - sb.append(", openId="); - sb.append(getOpenId()); - sb.append(", portraitId="); - sb.append(getPortraitId()); - sb.append(", languageId="); - sb.append(getLanguageId()); - sb.append(", timeZoneId="); - sb.append(getTimeZoneId()); - sb.append(", greeting="); - sb.append(getGreeting()); - sb.append(", comments="); - sb.append(getComments()); - sb.append(", firstName="); - sb.append(getFirstName()); - sb.append(", middleName="); - sb.append(getMiddleName()); - sb.append(", lastName="); - sb.append(getLastName()); - sb.append(", jobTitle="); - sb.append(getJobTitle()); - sb.append(", loginDate="); - sb.append(getLoginDate()); - sb.append(", loginIP="); - sb.append(getLoginIP()); - sb.append(", lastLoginDate="); - sb.append(getLastLoginDate()); - sb.append(", lastLoginIP="); - sb.append(getLastLoginIP()); - sb.append(", lastFailedLoginDate="); - sb.append(getLastFailedLoginDate()); - sb.append(", failedLoginAttempts="); - sb.append(getFailedLoginAttempts()); - sb.append(", lockout="); - sb.append(getLockout()); - sb.append(", lockoutDate="); - sb.append(getLockoutDate()); - sb.append(", agreedToTermsOfUse="); - sb.append(getAgreedToTermsOfUse()); - sb.append(", emailAddressVerified="); - sb.append(getEmailAddressVerified()); - sb.append(", status="); - sb.append(getStatus()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(118); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.OldUser"); - sb.append(""); - - sb.append( - "userId"); - sb.append( - "companyId"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "defaultUser"); - sb.append( - "contactId"); - sb.append( - "password"); - sb.append( - "passwordEncrypted"); - sb.append( - "passwordReset"); - sb.append( - "passwordModifiedDate"); - sb.append( - "digest"); - sb.append( - "reminderQueryQuestion"); - sb.append( - "reminderQueryAnswer"); - sb.append( - "graceLoginCount"); - sb.append( - "screenName"); - sb.append( - "emailAddress"); - sb.append( - "facebookId"); - sb.append( - "openId"); - sb.append( - "portraitId"); - sb.append( - "languageId"); - sb.append( - "timeZoneId"); - sb.append( - "greeting"); - sb.append( - "comments"); - sb.append( - "firstName"); - sb.append( - "middleName"); - sb.append( - "lastName"); - sb.append( - "jobTitle"); - sb.append( - "loginDate"); - sb.append( - "loginIP"); - sb.append( - "lastLoginDate"); - sb.append( - "lastLoginIP"); - sb.append( - "lastFailedLoginDate"); - sb.append( - "failedLoginAttempts"); - sb.append( - "lockout"); - sb.append( - "lockoutDate"); - sb.append( - "agreedToTermsOfUse"); - sb.append( - "emailAddressVerified"); - sb.append( - "status"); - - sb.append(""); - - return sb.toString(); - } - - private long _userId; - private String _userUuid; - private long _companyId; - private Date _createDate; - private Date _modifiedDate; - private boolean _defaultUser; - private long _contactId; - private String _password; - private boolean _passwordEncrypted; - private boolean _passwordReset; - private Date _passwordModifiedDate; - private String _digest; - private String _reminderQueryQuestion; - private String _reminderQueryAnswer; - private int _graceLoginCount; - private String _screenName; - private String _emailAddress; - private long _facebookId; - private String _openId; - private long _portraitId; - private String _languageId; - private String _timeZoneId; - private String _greeting; - private String _comments; - private String _firstName; - private String _middleName; - private String _lastName; - private String _jobTitle; - private Date _loginDate; - private String _loginIP; - private Date _lastLoginDate; - private String _lastLoginIP; - private Date _lastFailedLoginDate; - private int _failedLoginAttempts; - private boolean _lockout; - private Date _lockoutDate; - private boolean _agreedToTermsOfUse; - private boolean _emailAddressVerified; - private int _status; - private BaseModel _oldUserRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.importazione.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldUserGroup.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldUserGroup.java deleted file mode 100644 index 6e02a262..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldUserGroup.java +++ /dev/null @@ -1,41 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.util.Accessor; -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the OldUserGroup service. Represents a row in the "usergroup" database table, with each column mapped to a property of this class. - * - * @author 3FC - * @see OldUserGroupModel - * @see it.tref.liferay.portos.importazione.model.impl.OldUserGroupImpl - * @see it.tref.liferay.portos.importazione.model.impl.OldUserGroupModelImpl - * @generated - */ -public interface OldUserGroup extends OldUserGroupModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.importazione.model.impl.OldUserGroupImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - public static final Accessor NAME_ACCESSOR = new Accessor() { - @Override - public String get(OldUserGroup oldUserGroup) { - return oldUserGroup.getName(); - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldUserGroupClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldUserGroupClp.java deleted file mode 100644 index bed2926c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldUserGroupClp.java +++ /dev/null @@ -1,418 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; - -import it.tref.liferay.portos.importazione.service.ClpSerializer; -import it.tref.liferay.portos.importazione.service.OldUserGroupLocalServiceUtil; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.HashMap; -import java.util.Map; - -/** - * @author 3FC - */ -public class OldUserGroupClp extends BaseModelImpl - implements OldUserGroup { - public OldUserGroupClp() { - } - - @Override - public Class getModelClass() { - return OldUserGroup.class; - } - - @Override - public String getModelClassName() { - return OldUserGroup.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _userGroupId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setUserGroupId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _userGroupId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("userGroupId", getUserGroupId()); - attributes.put("companyId", getCompanyId()); - attributes.put("parentUserGroupId", getParentUserGroupId()); - attributes.put("name", getName()); - attributes.put("description", getDescription()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long userGroupId = (Long)attributes.get("userGroupId"); - - if (userGroupId != null) { - setUserGroupId(userGroupId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long parentUserGroupId = (Long)attributes.get("parentUserGroupId"); - - if (parentUserGroupId != null) { - setParentUserGroupId(parentUserGroupId); - } - - String name = (String)attributes.get("name"); - - if (name != null) { - setName(name); - } - - String description = (String)attributes.get("description"); - - if (description != null) { - setDescription(description); - } - } - - @Override - public long getUserGroupId() { - return _userGroupId; - } - - @Override - public void setUserGroupId(long userGroupId) { - _userGroupId = userGroupId; - - if (_oldUserGroupRemoteModel != null) { - try { - Class clazz = _oldUserGroupRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserGroupId", long.class); - - method.invoke(_oldUserGroupRemoteModel, userGroupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_oldUserGroupRemoteModel != null) { - try { - Class clazz = _oldUserGroupRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_oldUserGroupRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getParentUserGroupId() { - return _parentUserGroupId; - } - - @Override - public void setParentUserGroupId(long parentUserGroupId) { - _parentUserGroupId = parentUserGroupId; - - if (_oldUserGroupRemoteModel != null) { - try { - Class clazz = _oldUserGroupRemoteModel.getClass(); - - Method method = clazz.getMethod("setParentUserGroupId", - long.class); - - method.invoke(_oldUserGroupRemoteModel, parentUserGroupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getName() { - return _name; - } - - @Override - public void setName(String name) { - _name = name; - - if (_oldUserGroupRemoteModel != null) { - try { - Class clazz = _oldUserGroupRemoteModel.getClass(); - - Method method = clazz.getMethod("setName", String.class); - - method.invoke(_oldUserGroupRemoteModel, name); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getDescription() { - return _description; - } - - @Override - public void setDescription(String description) { - _description = description; - - if (_oldUserGroupRemoteModel != null) { - try { - Class clazz = _oldUserGroupRemoteModel.getClass(); - - Method method = clazz.getMethod("setDescription", String.class); - - method.invoke(_oldUserGroupRemoteModel, description); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - public BaseModel getOldUserGroupRemoteModel() { - return _oldUserGroupRemoteModel; - } - - public void setOldUserGroupRemoteModel(BaseModel oldUserGroupRemoteModel) { - _oldUserGroupRemoteModel = oldUserGroupRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _oldUserGroupRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_oldUserGroupRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - OldUserGroupLocalServiceUtil.addOldUserGroup(this); - } - else { - OldUserGroupLocalServiceUtil.updateOldUserGroup(this); - } - } - - @Override - public OldUserGroup toEscapedModel() { - return (OldUserGroup)ProxyUtil.newProxyInstance(OldUserGroup.class.getClassLoader(), - new Class[] { OldUserGroup.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - OldUserGroupClp clone = new OldUserGroupClp(); - - clone.setUserGroupId(getUserGroupId()); - clone.setCompanyId(getCompanyId()); - clone.setParentUserGroupId(getParentUserGroupId()); - clone.setName(getName()); - clone.setDescription(getDescription()); - - return clone; - } - - @Override - public int compareTo(OldUserGroup oldUserGroup) { - long primaryKey = oldUserGroup.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof OldUserGroupClp)) { - return false; - } - - OldUserGroupClp oldUserGroup = (OldUserGroupClp)obj; - - long primaryKey = oldUserGroup.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(11); - - sb.append("{userGroupId="); - sb.append(getUserGroupId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", parentUserGroupId="); - sb.append(getParentUserGroupId()); - sb.append(", name="); - sb.append(getName()); - sb.append(", description="); - sb.append(getDescription()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(19); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.OldUserGroup"); - sb.append(""); - - sb.append( - "userGroupId"); - sb.append( - "companyId"); - sb.append( - "parentUserGroupId"); - sb.append( - "name"); - sb.append( - "description"); - - sb.append(""); - - return sb.toString(); - } - - private long _userGroupId; - private long _companyId; - private long _parentUserGroupId; - private String _name; - private String _description; - private BaseModel _oldUserGroupRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.importazione.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldUserGroupModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldUserGroupModel.java deleted file mode 100644 index 9bd46880..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldUserGroupModel.java +++ /dev/null @@ -1,189 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -/** - * The base model interface for the OldUserGroup service. Represents a row in the "usergroup" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.importazione.model.impl.OldUserGroupModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.importazione.model.impl.OldUserGroupImpl}. - *

- * - * @author 3FC - * @see OldUserGroup - * @see it.tref.liferay.portos.importazione.model.impl.OldUserGroupImpl - * @see it.tref.liferay.portos.importazione.model.impl.OldUserGroupModelImpl - * @generated - */ -public interface OldUserGroupModel extends BaseModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a old user group model instance should use the {@link OldUserGroup} interface instead. - */ - - /** - * Returns the primary key of this old user group. - * - * @return the primary key of this old user group - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this old user group. - * - * @param primaryKey the primary key of this old user group - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the user group ID of this old user group. - * - * @return the user group ID of this old user group - */ - public long getUserGroupId(); - - /** - * Sets the user group ID of this old user group. - * - * @param userGroupId the user group ID of this old user group - */ - public void setUserGroupId(long userGroupId); - - /** - * Returns the company ID of this old user group. - * - * @return the company ID of this old user group - */ - public long getCompanyId(); - - /** - * Sets the company ID of this old user group. - * - * @param companyId the company ID of this old user group - */ - public void setCompanyId(long companyId); - - /** - * Returns the parent user group ID of this old user group. - * - * @return the parent user group ID of this old user group - */ - public long getParentUserGroupId(); - - /** - * Sets the parent user group ID of this old user group. - * - * @param parentUserGroupId the parent user group ID of this old user group - */ - public void setParentUserGroupId(long parentUserGroupId); - - /** - * Returns the name of this old user group. - * - * @return the name of this old user group - */ - @AutoEscape - public String getName(); - - /** - * Sets the name of this old user group. - * - * @param name the name of this old user group - */ - public void setName(String name); - - /** - * Returns the description of this old user group. - * - * @return the description of this old user group - */ - @AutoEscape - public String getDescription(); - - /** - * Sets the description of this old user group. - * - * @param description the description of this old user group - */ - public void setDescription(String description); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.OldUserGroup oldUserGroup); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.importazione.model.OldUserGroup toEscapedModel(); - - @Override - public it.tref.liferay.portos.importazione.model.OldUserGroup toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldUserGroupSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldUserGroupSoap.java deleted file mode 100644 index 18fbf6f2..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldUserGroupSoap.java +++ /dev/null @@ -1,134 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author 3FC - * @generated - */ -public class OldUserGroupSoap implements Serializable { - public static OldUserGroupSoap toSoapModel(OldUserGroup model) { - OldUserGroupSoap soapModel = new OldUserGroupSoap(); - - soapModel.setUserGroupId(model.getUserGroupId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setParentUserGroupId(model.getParentUserGroupId()); - soapModel.setName(model.getName()); - soapModel.setDescription(model.getDescription()); - - return soapModel; - } - - public static OldUserGroupSoap[] toSoapModels(OldUserGroup[] models) { - OldUserGroupSoap[] soapModels = new OldUserGroupSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static OldUserGroupSoap[][] toSoapModels(OldUserGroup[][] models) { - OldUserGroupSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new OldUserGroupSoap[models.length][models[0].length]; - } - else { - soapModels = new OldUserGroupSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static OldUserGroupSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (OldUserGroup model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new OldUserGroupSoap[soapModels.size()]); - } - - public OldUserGroupSoap() { - } - - public long getPrimaryKey() { - return _userGroupId; - } - - public void setPrimaryKey(long pk) { - setUserGroupId(pk); - } - - public long getUserGroupId() { - return _userGroupId; - } - - public void setUserGroupId(long userGroupId) { - _userGroupId = userGroupId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getParentUserGroupId() { - return _parentUserGroupId; - } - - public void setParentUserGroupId(long parentUserGroupId) { - _parentUserGroupId = parentUserGroupId; - } - - public String getName() { - return _name; - } - - public void setName(String name) { - _name = name; - } - - public String getDescription() { - return _description; - } - - public void setDescription(String description) { - _description = description; - } - - private long _userGroupId; - private long _companyId; - private long _parentUserGroupId; - private String _name; - private String _description; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldUserGroupWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldUserGroupWrapper.java deleted file mode 100644 index 83cc0339..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldUserGroupWrapper.java +++ /dev/null @@ -1,356 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link OldUserGroup}. - *

- * - * @author 3FC - * @see OldUserGroup - * @generated - */ -public class OldUserGroupWrapper implements OldUserGroup, - ModelWrapper { - public OldUserGroupWrapper(OldUserGroup oldUserGroup) { - _oldUserGroup = oldUserGroup; - } - - @Override - public Class getModelClass() { - return OldUserGroup.class; - } - - @Override - public String getModelClassName() { - return OldUserGroup.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("userGroupId", getUserGroupId()); - attributes.put("companyId", getCompanyId()); - attributes.put("parentUserGroupId", getParentUserGroupId()); - attributes.put("name", getName()); - attributes.put("description", getDescription()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long userGroupId = (Long)attributes.get("userGroupId"); - - if (userGroupId != null) { - setUserGroupId(userGroupId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long parentUserGroupId = (Long)attributes.get("parentUserGroupId"); - - if (parentUserGroupId != null) { - setParentUserGroupId(parentUserGroupId); - } - - String name = (String)attributes.get("name"); - - if (name != null) { - setName(name); - } - - String description = (String)attributes.get("description"); - - if (description != null) { - setDescription(description); - } - } - - /** - * Returns the primary key of this old user group. - * - * @return the primary key of this old user group - */ - @Override - public long getPrimaryKey() { - return _oldUserGroup.getPrimaryKey(); - } - - /** - * Sets the primary key of this old user group. - * - * @param primaryKey the primary key of this old user group - */ - @Override - public void setPrimaryKey(long primaryKey) { - _oldUserGroup.setPrimaryKey(primaryKey); - } - - /** - * Returns the user group ID of this old user group. - * - * @return the user group ID of this old user group - */ - @Override - public long getUserGroupId() { - return _oldUserGroup.getUserGroupId(); - } - - /** - * Sets the user group ID of this old user group. - * - * @param userGroupId the user group ID of this old user group - */ - @Override - public void setUserGroupId(long userGroupId) { - _oldUserGroup.setUserGroupId(userGroupId); - } - - /** - * Returns the company ID of this old user group. - * - * @return the company ID of this old user group - */ - @Override - public long getCompanyId() { - return _oldUserGroup.getCompanyId(); - } - - /** - * Sets the company ID of this old user group. - * - * @param companyId the company ID of this old user group - */ - @Override - public void setCompanyId(long companyId) { - _oldUserGroup.setCompanyId(companyId); - } - - /** - * Returns the parent user group ID of this old user group. - * - * @return the parent user group ID of this old user group - */ - @Override - public long getParentUserGroupId() { - return _oldUserGroup.getParentUserGroupId(); - } - - /** - * Sets the parent user group ID of this old user group. - * - * @param parentUserGroupId the parent user group ID of this old user group - */ - @Override - public void setParentUserGroupId(long parentUserGroupId) { - _oldUserGroup.setParentUserGroupId(parentUserGroupId); - } - - /** - * Returns the name of this old user group. - * - * @return the name of this old user group - */ - @Override - public java.lang.String getName() { - return _oldUserGroup.getName(); - } - - /** - * Sets the name of this old user group. - * - * @param name the name of this old user group - */ - @Override - public void setName(java.lang.String name) { - _oldUserGroup.setName(name); - } - - /** - * Returns the description of this old user group. - * - * @return the description of this old user group - */ - @Override - public java.lang.String getDescription() { - return _oldUserGroup.getDescription(); - } - - /** - * Sets the description of this old user group. - * - * @param description the description of this old user group - */ - @Override - public void setDescription(java.lang.String description) { - _oldUserGroup.setDescription(description); - } - - @Override - public boolean isNew() { - return _oldUserGroup.isNew(); - } - - @Override - public void setNew(boolean n) { - _oldUserGroup.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _oldUserGroup.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _oldUserGroup.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _oldUserGroup.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _oldUserGroup.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _oldUserGroup.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _oldUserGroup.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _oldUserGroup.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _oldUserGroup.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _oldUserGroup.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new OldUserGroupWrapper((OldUserGroup)_oldUserGroup.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.OldUserGroup oldUserGroup) { - return _oldUserGroup.compareTo(oldUserGroup); - } - - @Override - public int hashCode() { - return _oldUserGroup.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _oldUserGroup.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldUserGroup toEscapedModel() { - return new OldUserGroupWrapper(_oldUserGroup.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldUserGroup toUnescapedModel() { - return new OldUserGroupWrapper(_oldUserGroup.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _oldUserGroup.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _oldUserGroup.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _oldUserGroup.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof OldUserGroupWrapper)) { - return false; - } - - OldUserGroupWrapper oldUserGroupWrapper = (OldUserGroupWrapper)obj; - - if (Validator.equals(_oldUserGroup, oldUserGroupWrapper._oldUserGroup)) { - return true; - } - - return false; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public OldUserGroup getWrappedOldUserGroup() { - return _oldUserGroup; - } - - @Override - public OldUserGroup getWrappedModel() { - return _oldUserGroup; - } - - @Override - public void resetOriginalValues() { - _oldUserGroup.resetOriginalValues(); - } - - private OldUserGroup _oldUserGroup; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldUserModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldUserModel.java deleted file mode 100644 index 7a290670..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldUserModel.java +++ /dev/null @@ -1,726 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the OldUser service. Represents a row in the "user_" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.importazione.model.impl.OldUserModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.importazione.model.impl.OldUserImpl}. - *

- * - * @author 3FC - * @see OldUser - * @see it.tref.liferay.portos.importazione.model.impl.OldUserImpl - * @see it.tref.liferay.portos.importazione.model.impl.OldUserModelImpl - * @generated - */ -public interface OldUserModel extends BaseModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a old user model instance should use the {@link OldUser} interface instead. - */ - - /** - * Returns the primary key of this old user. - * - * @return the primary key of this old user - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this old user. - * - * @param primaryKey the primary key of this old user - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the user ID of this old user. - * - * @return the user ID of this old user - */ - public long getUserId(); - - /** - * Sets the user ID of this old user. - * - * @param userId the user ID of this old user - */ - public void setUserId(long userId); - - /** - * Returns the user uuid of this old user. - * - * @return the user uuid of this old user - * @throws SystemException if a system exception occurred - */ - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this old user. - * - * @param userUuid the user uuid of this old user - */ - public void setUserUuid(String userUuid); - - /** - * Returns the company ID of this old user. - * - * @return the company ID of this old user - */ - public long getCompanyId(); - - /** - * Sets the company ID of this old user. - * - * @param companyId the company ID of this old user - */ - public void setCompanyId(long companyId); - - /** - * Returns the create date of this old user. - * - * @return the create date of this old user - */ - public Date getCreateDate(); - - /** - * Sets the create date of this old user. - * - * @param createDate the create date of this old user - */ - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this old user. - * - * @return the modified date of this old user - */ - public Date getModifiedDate(); - - /** - * Sets the modified date of this old user. - * - * @param modifiedDate the modified date of this old user - */ - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the default user of this old user. - * - * @return the default user of this old user - */ - public boolean getDefaultUser(); - - /** - * Returns true if this old user is default user. - * - * @return true if this old user is default user; false otherwise - */ - public boolean isDefaultUser(); - - /** - * Sets whether this old user is default user. - * - * @param defaultUser the default user of this old user - */ - public void setDefaultUser(boolean defaultUser); - - /** - * Returns the contact ID of this old user. - * - * @return the contact ID of this old user - */ - public long getContactId(); - - /** - * Sets the contact ID of this old user. - * - * @param contactId the contact ID of this old user - */ - public void setContactId(long contactId); - - /** - * Returns the password of this old user. - * - * @return the password of this old user - */ - @AutoEscape - public String getPassword(); - - /** - * Sets the password of this old user. - * - * @param password the password of this old user - */ - public void setPassword(String password); - - /** - * Returns the password encrypted of this old user. - * - * @return the password encrypted of this old user - */ - public boolean getPasswordEncrypted(); - - /** - * Returns true if this old user is password encrypted. - * - * @return true if this old user is password encrypted; false otherwise - */ - public boolean isPasswordEncrypted(); - - /** - * Sets whether this old user is password encrypted. - * - * @param passwordEncrypted the password encrypted of this old user - */ - public void setPasswordEncrypted(boolean passwordEncrypted); - - /** - * Returns the password reset of this old user. - * - * @return the password reset of this old user - */ - public boolean getPasswordReset(); - - /** - * Returns true if this old user is password reset. - * - * @return true if this old user is password reset; false otherwise - */ - public boolean isPasswordReset(); - - /** - * Sets whether this old user is password reset. - * - * @param passwordReset the password reset of this old user - */ - public void setPasswordReset(boolean passwordReset); - - /** - * Returns the password modified date of this old user. - * - * @return the password modified date of this old user - */ - public Date getPasswordModifiedDate(); - - /** - * Sets the password modified date of this old user. - * - * @param passwordModifiedDate the password modified date of this old user - */ - public void setPasswordModifiedDate(Date passwordModifiedDate); - - /** - * Returns the digest of this old user. - * - * @return the digest of this old user - */ - @AutoEscape - public String getDigest(); - - /** - * Sets the digest of this old user. - * - * @param digest the digest of this old user - */ - public void setDigest(String digest); - - /** - * Returns the reminder query question of this old user. - * - * @return the reminder query question of this old user - */ - @AutoEscape - public String getReminderQueryQuestion(); - - /** - * Sets the reminder query question of this old user. - * - * @param reminderQueryQuestion the reminder query question of this old user - */ - public void setReminderQueryQuestion(String reminderQueryQuestion); - - /** - * Returns the reminder query answer of this old user. - * - * @return the reminder query answer of this old user - */ - @AutoEscape - public String getReminderQueryAnswer(); - - /** - * Sets the reminder query answer of this old user. - * - * @param reminderQueryAnswer the reminder query answer of this old user - */ - public void setReminderQueryAnswer(String reminderQueryAnswer); - - /** - * Returns the grace login count of this old user. - * - * @return the grace login count of this old user - */ - public int getGraceLoginCount(); - - /** - * Sets the grace login count of this old user. - * - * @param graceLoginCount the grace login count of this old user - */ - public void setGraceLoginCount(int graceLoginCount); - - /** - * Returns the screen name of this old user. - * - * @return the screen name of this old user - */ - @AutoEscape - public String getScreenName(); - - /** - * Sets the screen name of this old user. - * - * @param screenName the screen name of this old user - */ - public void setScreenName(String screenName); - - /** - * Returns the email address of this old user. - * - * @return the email address of this old user - */ - @AutoEscape - public String getEmailAddress(); - - /** - * Sets the email address of this old user. - * - * @param emailAddress the email address of this old user - */ - public void setEmailAddress(String emailAddress); - - /** - * Returns the facebook ID of this old user. - * - * @return the facebook ID of this old user - */ - public long getFacebookId(); - - /** - * Sets the facebook ID of this old user. - * - * @param facebookId the facebook ID of this old user - */ - public void setFacebookId(long facebookId); - - /** - * Returns the open ID of this old user. - * - * @return the open ID of this old user - */ - @AutoEscape - public String getOpenId(); - - /** - * Sets the open ID of this old user. - * - * @param openId the open ID of this old user - */ - public void setOpenId(String openId); - - /** - * Returns the portrait ID of this old user. - * - * @return the portrait ID of this old user - */ - public long getPortraitId(); - - /** - * Sets the portrait ID of this old user. - * - * @param portraitId the portrait ID of this old user - */ - public void setPortraitId(long portraitId); - - /** - * Returns the language ID of this old user. - * - * @return the language ID of this old user - */ - @AutoEscape - public String getLanguageId(); - - /** - * Sets the language ID of this old user. - * - * @param languageId the language ID of this old user - */ - public void setLanguageId(String languageId); - - /** - * Returns the time zone ID of this old user. - * - * @return the time zone ID of this old user - */ - @AutoEscape - public String getTimeZoneId(); - - /** - * Sets the time zone ID of this old user. - * - * @param timeZoneId the time zone ID of this old user - */ - public void setTimeZoneId(String timeZoneId); - - /** - * Returns the greeting of this old user. - * - * @return the greeting of this old user - */ - @AutoEscape - public String getGreeting(); - - /** - * Sets the greeting of this old user. - * - * @param greeting the greeting of this old user - */ - public void setGreeting(String greeting); - - /** - * Returns the comments of this old user. - * - * @return the comments of this old user - */ - @AutoEscape - public String getComments(); - - /** - * Sets the comments of this old user. - * - * @param comments the comments of this old user - */ - public void setComments(String comments); - - /** - * Returns the first name of this old user. - * - * @return the first name of this old user - */ - @AutoEscape - public String getFirstName(); - - /** - * Sets the first name of this old user. - * - * @param firstName the first name of this old user - */ - public void setFirstName(String firstName); - - /** - * Returns the middle name of this old user. - * - * @return the middle name of this old user - */ - @AutoEscape - public String getMiddleName(); - - /** - * Sets the middle name of this old user. - * - * @param middleName the middle name of this old user - */ - public void setMiddleName(String middleName); - - /** - * Returns the last name of this old user. - * - * @return the last name of this old user - */ - @AutoEscape - public String getLastName(); - - /** - * Sets the last name of this old user. - * - * @param lastName the last name of this old user - */ - public void setLastName(String lastName); - - /** - * Returns the job title of this old user. - * - * @return the job title of this old user - */ - @AutoEscape - public String getJobTitle(); - - /** - * Sets the job title of this old user. - * - * @param jobTitle the job title of this old user - */ - public void setJobTitle(String jobTitle); - - /** - * Returns the login date of this old user. - * - * @return the login date of this old user - */ - public Date getLoginDate(); - - /** - * Sets the login date of this old user. - * - * @param loginDate the login date of this old user - */ - public void setLoginDate(Date loginDate); - - /** - * Returns the login i p of this old user. - * - * @return the login i p of this old user - */ - @AutoEscape - public String getLoginIP(); - - /** - * Sets the login i p of this old user. - * - * @param loginIP the login i p of this old user - */ - public void setLoginIP(String loginIP); - - /** - * Returns the last login date of this old user. - * - * @return the last login date of this old user - */ - public Date getLastLoginDate(); - - /** - * Sets the last login date of this old user. - * - * @param lastLoginDate the last login date of this old user - */ - public void setLastLoginDate(Date lastLoginDate); - - /** - * Returns the last login i p of this old user. - * - * @return the last login i p of this old user - */ - @AutoEscape - public String getLastLoginIP(); - - /** - * Sets the last login i p of this old user. - * - * @param lastLoginIP the last login i p of this old user - */ - public void setLastLoginIP(String lastLoginIP); - - /** - * Returns the last failed login date of this old user. - * - * @return the last failed login date of this old user - */ - public Date getLastFailedLoginDate(); - - /** - * Sets the last failed login date of this old user. - * - * @param lastFailedLoginDate the last failed login date of this old user - */ - public void setLastFailedLoginDate(Date lastFailedLoginDate); - - /** - * Returns the failed login attempts of this old user. - * - * @return the failed login attempts of this old user - */ - public int getFailedLoginAttempts(); - - /** - * Sets the failed login attempts of this old user. - * - * @param failedLoginAttempts the failed login attempts of this old user - */ - public void setFailedLoginAttempts(int failedLoginAttempts); - - /** - * Returns the lockout of this old user. - * - * @return the lockout of this old user - */ - public boolean getLockout(); - - /** - * Returns true if this old user is lockout. - * - * @return true if this old user is lockout; false otherwise - */ - public boolean isLockout(); - - /** - * Sets whether this old user is lockout. - * - * @param lockout the lockout of this old user - */ - public void setLockout(boolean lockout); - - /** - * Returns the lockout date of this old user. - * - * @return the lockout date of this old user - */ - public Date getLockoutDate(); - - /** - * Sets the lockout date of this old user. - * - * @param lockoutDate the lockout date of this old user - */ - public void setLockoutDate(Date lockoutDate); - - /** - * Returns the agreed to terms of use of this old user. - * - * @return the agreed to terms of use of this old user - */ - public boolean getAgreedToTermsOfUse(); - - /** - * Returns true if this old user is agreed to terms of use. - * - * @return true if this old user is agreed to terms of use; false otherwise - */ - public boolean isAgreedToTermsOfUse(); - - /** - * Sets whether this old user is agreed to terms of use. - * - * @param agreedToTermsOfUse the agreed to terms of use of this old user - */ - public void setAgreedToTermsOfUse(boolean agreedToTermsOfUse); - - /** - * Returns the email address verified of this old user. - * - * @return the email address verified of this old user - */ - public boolean getEmailAddressVerified(); - - /** - * Returns true if this old user is email address verified. - * - * @return true if this old user is email address verified; false otherwise - */ - public boolean isEmailAddressVerified(); - - /** - * Sets whether this old user is email address verified. - * - * @param emailAddressVerified the email address verified of this old user - */ - public void setEmailAddressVerified(boolean emailAddressVerified); - - /** - * Returns the status of this old user. - * - * @return the status of this old user - */ - public int getStatus(); - - /** - * Sets the status of this old user. - * - * @param status the status of this old user - */ - public void setStatus(int status); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.OldUser oldUser); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.importazione.model.OldUser toEscapedModel(); - - @Override - public it.tref.liferay.portos.importazione.model.OldUser toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldUserSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldUserSoap.java deleted file mode 100644 index aa6e1087..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldUserSoap.java +++ /dev/null @@ -1,489 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author 3FC - * @generated - */ -public class OldUserSoap implements Serializable { - public static OldUserSoap toSoapModel(OldUser model) { - OldUserSoap soapModel = new OldUserSoap(); - - soapModel.setUserId(model.getUserId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setDefaultUser(model.getDefaultUser()); - soapModel.setContactId(model.getContactId()); - soapModel.setPassword(model.getPassword()); - soapModel.setPasswordEncrypted(model.getPasswordEncrypted()); - soapModel.setPasswordReset(model.getPasswordReset()); - soapModel.setPasswordModifiedDate(model.getPasswordModifiedDate()); - soapModel.setDigest(model.getDigest()); - soapModel.setReminderQueryQuestion(model.getReminderQueryQuestion()); - soapModel.setReminderQueryAnswer(model.getReminderQueryAnswer()); - soapModel.setGraceLoginCount(model.getGraceLoginCount()); - soapModel.setScreenName(model.getScreenName()); - soapModel.setEmailAddress(model.getEmailAddress()); - soapModel.setFacebookId(model.getFacebookId()); - soapModel.setOpenId(model.getOpenId()); - soapModel.setPortraitId(model.getPortraitId()); - soapModel.setLanguageId(model.getLanguageId()); - soapModel.setTimeZoneId(model.getTimeZoneId()); - soapModel.setGreeting(model.getGreeting()); - soapModel.setComments(model.getComments()); - soapModel.setFirstName(model.getFirstName()); - soapModel.setMiddleName(model.getMiddleName()); - soapModel.setLastName(model.getLastName()); - soapModel.setJobTitle(model.getJobTitle()); - soapModel.setLoginDate(model.getLoginDate()); - soapModel.setLoginIP(model.getLoginIP()); - soapModel.setLastLoginDate(model.getLastLoginDate()); - soapModel.setLastLoginIP(model.getLastLoginIP()); - soapModel.setLastFailedLoginDate(model.getLastFailedLoginDate()); - soapModel.setFailedLoginAttempts(model.getFailedLoginAttempts()); - soapModel.setLockout(model.getLockout()); - soapModel.setLockoutDate(model.getLockoutDate()); - soapModel.setAgreedToTermsOfUse(model.getAgreedToTermsOfUse()); - soapModel.setEmailAddressVerified(model.getEmailAddressVerified()); - soapModel.setStatus(model.getStatus()); - - return soapModel; - } - - public static OldUserSoap[] toSoapModels(OldUser[] models) { - OldUserSoap[] soapModels = new OldUserSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static OldUserSoap[][] toSoapModels(OldUser[][] models) { - OldUserSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new OldUserSoap[models.length][models[0].length]; - } - else { - soapModels = new OldUserSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static OldUserSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (OldUser model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new OldUserSoap[soapModels.size()]); - } - - public OldUserSoap() { - } - - public long getPrimaryKey() { - return _userId; - } - - public void setPrimaryKey(long pk) { - setUserId(pk); - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public boolean getDefaultUser() { - return _defaultUser; - } - - public boolean isDefaultUser() { - return _defaultUser; - } - - public void setDefaultUser(boolean defaultUser) { - _defaultUser = defaultUser; - } - - public long getContactId() { - return _contactId; - } - - public void setContactId(long contactId) { - _contactId = contactId; - } - - public String getPassword() { - return _password; - } - - public void setPassword(String password) { - _password = password; - } - - public boolean getPasswordEncrypted() { - return _passwordEncrypted; - } - - public boolean isPasswordEncrypted() { - return _passwordEncrypted; - } - - public void setPasswordEncrypted(boolean passwordEncrypted) { - _passwordEncrypted = passwordEncrypted; - } - - public boolean getPasswordReset() { - return _passwordReset; - } - - public boolean isPasswordReset() { - return _passwordReset; - } - - public void setPasswordReset(boolean passwordReset) { - _passwordReset = passwordReset; - } - - public Date getPasswordModifiedDate() { - return _passwordModifiedDate; - } - - public void setPasswordModifiedDate(Date passwordModifiedDate) { - _passwordModifiedDate = passwordModifiedDate; - } - - public String getDigest() { - return _digest; - } - - public void setDigest(String digest) { - _digest = digest; - } - - public String getReminderQueryQuestion() { - return _reminderQueryQuestion; - } - - public void setReminderQueryQuestion(String reminderQueryQuestion) { - _reminderQueryQuestion = reminderQueryQuestion; - } - - public String getReminderQueryAnswer() { - return _reminderQueryAnswer; - } - - public void setReminderQueryAnswer(String reminderQueryAnswer) { - _reminderQueryAnswer = reminderQueryAnswer; - } - - public int getGraceLoginCount() { - return _graceLoginCount; - } - - public void setGraceLoginCount(int graceLoginCount) { - _graceLoginCount = graceLoginCount; - } - - public String getScreenName() { - return _screenName; - } - - public void setScreenName(String screenName) { - _screenName = screenName; - } - - public String getEmailAddress() { - return _emailAddress; - } - - public void setEmailAddress(String emailAddress) { - _emailAddress = emailAddress; - } - - public long getFacebookId() { - return _facebookId; - } - - public void setFacebookId(long facebookId) { - _facebookId = facebookId; - } - - public String getOpenId() { - return _openId; - } - - public void setOpenId(String openId) { - _openId = openId; - } - - public long getPortraitId() { - return _portraitId; - } - - public void setPortraitId(long portraitId) { - _portraitId = portraitId; - } - - public String getLanguageId() { - return _languageId; - } - - public void setLanguageId(String languageId) { - _languageId = languageId; - } - - public String getTimeZoneId() { - return _timeZoneId; - } - - public void setTimeZoneId(String timeZoneId) { - _timeZoneId = timeZoneId; - } - - public String getGreeting() { - return _greeting; - } - - public void setGreeting(String greeting) { - _greeting = greeting; - } - - public String getComments() { - return _comments; - } - - public void setComments(String comments) { - _comments = comments; - } - - public String getFirstName() { - return _firstName; - } - - public void setFirstName(String firstName) { - _firstName = firstName; - } - - public String getMiddleName() { - return _middleName; - } - - public void setMiddleName(String middleName) { - _middleName = middleName; - } - - public String getLastName() { - return _lastName; - } - - public void setLastName(String lastName) { - _lastName = lastName; - } - - public String getJobTitle() { - return _jobTitle; - } - - public void setJobTitle(String jobTitle) { - _jobTitle = jobTitle; - } - - public Date getLoginDate() { - return _loginDate; - } - - public void setLoginDate(Date loginDate) { - _loginDate = loginDate; - } - - public String getLoginIP() { - return _loginIP; - } - - public void setLoginIP(String loginIP) { - _loginIP = loginIP; - } - - public Date getLastLoginDate() { - return _lastLoginDate; - } - - public void setLastLoginDate(Date lastLoginDate) { - _lastLoginDate = lastLoginDate; - } - - public String getLastLoginIP() { - return _lastLoginIP; - } - - public void setLastLoginIP(String lastLoginIP) { - _lastLoginIP = lastLoginIP; - } - - public Date getLastFailedLoginDate() { - return _lastFailedLoginDate; - } - - public void setLastFailedLoginDate(Date lastFailedLoginDate) { - _lastFailedLoginDate = lastFailedLoginDate; - } - - public int getFailedLoginAttempts() { - return _failedLoginAttempts; - } - - public void setFailedLoginAttempts(int failedLoginAttempts) { - _failedLoginAttempts = failedLoginAttempts; - } - - public boolean getLockout() { - return _lockout; - } - - public boolean isLockout() { - return _lockout; - } - - public void setLockout(boolean lockout) { - _lockout = lockout; - } - - public Date getLockoutDate() { - return _lockoutDate; - } - - public void setLockoutDate(Date lockoutDate) { - _lockoutDate = lockoutDate; - } - - public boolean getAgreedToTermsOfUse() { - return _agreedToTermsOfUse; - } - - public boolean isAgreedToTermsOfUse() { - return _agreedToTermsOfUse; - } - - public void setAgreedToTermsOfUse(boolean agreedToTermsOfUse) { - _agreedToTermsOfUse = agreedToTermsOfUse; - } - - public boolean getEmailAddressVerified() { - return _emailAddressVerified; - } - - public boolean isEmailAddressVerified() { - return _emailAddressVerified; - } - - public void setEmailAddressVerified(boolean emailAddressVerified) { - _emailAddressVerified = emailAddressVerified; - } - - public int getStatus() { - return _status; - } - - public void setStatus(int status) { - _status = status; - } - - private long _userId; - private long _companyId; - private Date _createDate; - private Date _modifiedDate; - private boolean _defaultUser; - private long _contactId; - private String _password; - private boolean _passwordEncrypted; - private boolean _passwordReset; - private Date _passwordModifiedDate; - private String _digest; - private String _reminderQueryQuestion; - private String _reminderQueryAnswer; - private int _graceLoginCount; - private String _screenName; - private String _emailAddress; - private long _facebookId; - private String _openId; - private long _portraitId; - private String _languageId; - private String _timeZoneId; - private String _greeting; - private String _comments; - private String _firstName; - private String _middleName; - private String _lastName; - private String _jobTitle; - private Date _loginDate; - private String _loginIP; - private Date _lastLoginDate; - private String _lastLoginIP; - private Date _lastFailedLoginDate; - private int _failedLoginAttempts; - private boolean _lockout; - private Date _lockoutDate; - private boolean _agreedToTermsOfUse; - private boolean _emailAddressVerified; - private int _status; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldUserWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldUserWrapper.java deleted file mode 100644 index bbc15e93..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/OldUserWrapper.java +++ /dev/null @@ -1,1334 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link OldUser}. - *

- * - * @author 3FC - * @see OldUser - * @generated - */ -public class OldUserWrapper implements OldUser, ModelWrapper { - public OldUserWrapper(OldUser oldUser) { - _oldUser = oldUser; - } - - @Override - public Class getModelClass() { - return OldUser.class; - } - - @Override - public String getModelClassName() { - return OldUser.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("userId", getUserId()); - attributes.put("companyId", getCompanyId()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("defaultUser", getDefaultUser()); - attributes.put("contactId", getContactId()); - attributes.put("password", getPassword()); - attributes.put("passwordEncrypted", getPasswordEncrypted()); - attributes.put("passwordReset", getPasswordReset()); - attributes.put("passwordModifiedDate", getPasswordModifiedDate()); - attributes.put("digest", getDigest()); - attributes.put("reminderQueryQuestion", getReminderQueryQuestion()); - attributes.put("reminderQueryAnswer", getReminderQueryAnswer()); - attributes.put("graceLoginCount", getGraceLoginCount()); - attributes.put("screenName", getScreenName()); - attributes.put("emailAddress", getEmailAddress()); - attributes.put("facebookId", getFacebookId()); - attributes.put("openId", getOpenId()); - attributes.put("portraitId", getPortraitId()); - attributes.put("languageId", getLanguageId()); - attributes.put("timeZoneId", getTimeZoneId()); - attributes.put("greeting", getGreeting()); - attributes.put("comments", getComments()); - attributes.put("firstName", getFirstName()); - attributes.put("middleName", getMiddleName()); - attributes.put("lastName", getLastName()); - attributes.put("jobTitle", getJobTitle()); - attributes.put("loginDate", getLoginDate()); - attributes.put("loginIP", getLoginIP()); - attributes.put("lastLoginDate", getLastLoginDate()); - attributes.put("lastLoginIP", getLastLoginIP()); - attributes.put("lastFailedLoginDate", getLastFailedLoginDate()); - attributes.put("failedLoginAttempts", getFailedLoginAttempts()); - attributes.put("lockout", getLockout()); - attributes.put("lockoutDate", getLockoutDate()); - attributes.put("agreedToTermsOfUse", getAgreedToTermsOfUse()); - attributes.put("emailAddressVerified", getEmailAddressVerified()); - attributes.put("status", getStatus()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Boolean defaultUser = (Boolean)attributes.get("defaultUser"); - - if (defaultUser != null) { - setDefaultUser(defaultUser); - } - - Long contactId = (Long)attributes.get("contactId"); - - if (contactId != null) { - setContactId(contactId); - } - - String password = (String)attributes.get("password"); - - if (password != null) { - setPassword(password); - } - - Boolean passwordEncrypted = (Boolean)attributes.get("passwordEncrypted"); - - if (passwordEncrypted != null) { - setPasswordEncrypted(passwordEncrypted); - } - - Boolean passwordReset = (Boolean)attributes.get("passwordReset"); - - if (passwordReset != null) { - setPasswordReset(passwordReset); - } - - Date passwordModifiedDate = (Date)attributes.get("passwordModifiedDate"); - - if (passwordModifiedDate != null) { - setPasswordModifiedDate(passwordModifiedDate); - } - - String digest = (String)attributes.get("digest"); - - if (digest != null) { - setDigest(digest); - } - - String reminderQueryQuestion = (String)attributes.get( - "reminderQueryQuestion"); - - if (reminderQueryQuestion != null) { - setReminderQueryQuestion(reminderQueryQuestion); - } - - String reminderQueryAnswer = (String)attributes.get( - "reminderQueryAnswer"); - - if (reminderQueryAnswer != null) { - setReminderQueryAnswer(reminderQueryAnswer); - } - - Integer graceLoginCount = (Integer)attributes.get("graceLoginCount"); - - if (graceLoginCount != null) { - setGraceLoginCount(graceLoginCount); - } - - String screenName = (String)attributes.get("screenName"); - - if (screenName != null) { - setScreenName(screenName); - } - - String emailAddress = (String)attributes.get("emailAddress"); - - if (emailAddress != null) { - setEmailAddress(emailAddress); - } - - Long facebookId = (Long)attributes.get("facebookId"); - - if (facebookId != null) { - setFacebookId(facebookId); - } - - String openId = (String)attributes.get("openId"); - - if (openId != null) { - setOpenId(openId); - } - - Long portraitId = (Long)attributes.get("portraitId"); - - if (portraitId != null) { - setPortraitId(portraitId); - } - - String languageId = (String)attributes.get("languageId"); - - if (languageId != null) { - setLanguageId(languageId); - } - - String timeZoneId = (String)attributes.get("timeZoneId"); - - if (timeZoneId != null) { - setTimeZoneId(timeZoneId); - } - - String greeting = (String)attributes.get("greeting"); - - if (greeting != null) { - setGreeting(greeting); - } - - String comments = (String)attributes.get("comments"); - - if (comments != null) { - setComments(comments); - } - - String firstName = (String)attributes.get("firstName"); - - if (firstName != null) { - setFirstName(firstName); - } - - String middleName = (String)attributes.get("middleName"); - - if (middleName != null) { - setMiddleName(middleName); - } - - String lastName = (String)attributes.get("lastName"); - - if (lastName != null) { - setLastName(lastName); - } - - String jobTitle = (String)attributes.get("jobTitle"); - - if (jobTitle != null) { - setJobTitle(jobTitle); - } - - Date loginDate = (Date)attributes.get("loginDate"); - - if (loginDate != null) { - setLoginDate(loginDate); - } - - String loginIP = (String)attributes.get("loginIP"); - - if (loginIP != null) { - setLoginIP(loginIP); - } - - Date lastLoginDate = (Date)attributes.get("lastLoginDate"); - - if (lastLoginDate != null) { - setLastLoginDate(lastLoginDate); - } - - String lastLoginIP = (String)attributes.get("lastLoginIP"); - - if (lastLoginIP != null) { - setLastLoginIP(lastLoginIP); - } - - Date lastFailedLoginDate = (Date)attributes.get("lastFailedLoginDate"); - - if (lastFailedLoginDate != null) { - setLastFailedLoginDate(lastFailedLoginDate); - } - - Integer failedLoginAttempts = (Integer)attributes.get( - "failedLoginAttempts"); - - if (failedLoginAttempts != null) { - setFailedLoginAttempts(failedLoginAttempts); - } - - Boolean lockout = (Boolean)attributes.get("lockout"); - - if (lockout != null) { - setLockout(lockout); - } - - Date lockoutDate = (Date)attributes.get("lockoutDate"); - - if (lockoutDate != null) { - setLockoutDate(lockoutDate); - } - - Boolean agreedToTermsOfUse = (Boolean)attributes.get( - "agreedToTermsOfUse"); - - if (agreedToTermsOfUse != null) { - setAgreedToTermsOfUse(agreedToTermsOfUse); - } - - Boolean emailAddressVerified = (Boolean)attributes.get( - "emailAddressVerified"); - - if (emailAddressVerified != null) { - setEmailAddressVerified(emailAddressVerified); - } - - Integer status = (Integer)attributes.get("status"); - - if (status != null) { - setStatus(status); - } - } - - /** - * Returns the primary key of this old user. - * - * @return the primary key of this old user - */ - @Override - public long getPrimaryKey() { - return _oldUser.getPrimaryKey(); - } - - /** - * Sets the primary key of this old user. - * - * @param primaryKey the primary key of this old user - */ - @Override - public void setPrimaryKey(long primaryKey) { - _oldUser.setPrimaryKey(primaryKey); - } - - /** - * Returns the user ID of this old user. - * - * @return the user ID of this old user - */ - @Override - public long getUserId() { - return _oldUser.getUserId(); - } - - /** - * Sets the user ID of this old user. - * - * @param userId the user ID of this old user - */ - @Override - public void setUserId(long userId) { - _oldUser.setUserId(userId); - } - - /** - * Returns the user uuid of this old user. - * - * @return the user uuid of this old user - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _oldUser.getUserUuid(); - } - - /** - * Sets the user uuid of this old user. - * - * @param userUuid the user uuid of this old user - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _oldUser.setUserUuid(userUuid); - } - - /** - * Returns the company ID of this old user. - * - * @return the company ID of this old user - */ - @Override - public long getCompanyId() { - return _oldUser.getCompanyId(); - } - - /** - * Sets the company ID of this old user. - * - * @param companyId the company ID of this old user - */ - @Override - public void setCompanyId(long companyId) { - _oldUser.setCompanyId(companyId); - } - - /** - * Returns the create date of this old user. - * - * @return the create date of this old user - */ - @Override - public java.util.Date getCreateDate() { - return _oldUser.getCreateDate(); - } - - /** - * Sets the create date of this old user. - * - * @param createDate the create date of this old user - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _oldUser.setCreateDate(createDate); - } - - /** - * Returns the modified date of this old user. - * - * @return the modified date of this old user - */ - @Override - public java.util.Date getModifiedDate() { - return _oldUser.getModifiedDate(); - } - - /** - * Sets the modified date of this old user. - * - * @param modifiedDate the modified date of this old user - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _oldUser.setModifiedDate(modifiedDate); - } - - /** - * Returns the default user of this old user. - * - * @return the default user of this old user - */ - @Override - public boolean getDefaultUser() { - return _oldUser.getDefaultUser(); - } - - /** - * Returns true if this old user is default user. - * - * @return true if this old user is default user; false otherwise - */ - @Override - public boolean isDefaultUser() { - return _oldUser.isDefaultUser(); - } - - /** - * Sets whether this old user is default user. - * - * @param defaultUser the default user of this old user - */ - @Override - public void setDefaultUser(boolean defaultUser) { - _oldUser.setDefaultUser(defaultUser); - } - - /** - * Returns the contact ID of this old user. - * - * @return the contact ID of this old user - */ - @Override - public long getContactId() { - return _oldUser.getContactId(); - } - - /** - * Sets the contact ID of this old user. - * - * @param contactId the contact ID of this old user - */ - @Override - public void setContactId(long contactId) { - _oldUser.setContactId(contactId); - } - - /** - * Returns the password of this old user. - * - * @return the password of this old user - */ - @Override - public java.lang.String getPassword() { - return _oldUser.getPassword(); - } - - /** - * Sets the password of this old user. - * - * @param password the password of this old user - */ - @Override - public void setPassword(java.lang.String password) { - _oldUser.setPassword(password); - } - - /** - * Returns the password encrypted of this old user. - * - * @return the password encrypted of this old user - */ - @Override - public boolean getPasswordEncrypted() { - return _oldUser.getPasswordEncrypted(); - } - - /** - * Returns true if this old user is password encrypted. - * - * @return true if this old user is password encrypted; false otherwise - */ - @Override - public boolean isPasswordEncrypted() { - return _oldUser.isPasswordEncrypted(); - } - - /** - * Sets whether this old user is password encrypted. - * - * @param passwordEncrypted the password encrypted of this old user - */ - @Override - public void setPasswordEncrypted(boolean passwordEncrypted) { - _oldUser.setPasswordEncrypted(passwordEncrypted); - } - - /** - * Returns the password reset of this old user. - * - * @return the password reset of this old user - */ - @Override - public boolean getPasswordReset() { - return _oldUser.getPasswordReset(); - } - - /** - * Returns true if this old user is password reset. - * - * @return true if this old user is password reset; false otherwise - */ - @Override - public boolean isPasswordReset() { - return _oldUser.isPasswordReset(); - } - - /** - * Sets whether this old user is password reset. - * - * @param passwordReset the password reset of this old user - */ - @Override - public void setPasswordReset(boolean passwordReset) { - _oldUser.setPasswordReset(passwordReset); - } - - /** - * Returns the password modified date of this old user. - * - * @return the password modified date of this old user - */ - @Override - public java.util.Date getPasswordModifiedDate() { - return _oldUser.getPasswordModifiedDate(); - } - - /** - * Sets the password modified date of this old user. - * - * @param passwordModifiedDate the password modified date of this old user - */ - @Override - public void setPasswordModifiedDate(java.util.Date passwordModifiedDate) { - _oldUser.setPasswordModifiedDate(passwordModifiedDate); - } - - /** - * Returns the digest of this old user. - * - * @return the digest of this old user - */ - @Override - public java.lang.String getDigest() { - return _oldUser.getDigest(); - } - - /** - * Sets the digest of this old user. - * - * @param digest the digest of this old user - */ - @Override - public void setDigest(java.lang.String digest) { - _oldUser.setDigest(digest); - } - - /** - * Returns the reminder query question of this old user. - * - * @return the reminder query question of this old user - */ - @Override - public java.lang.String getReminderQueryQuestion() { - return _oldUser.getReminderQueryQuestion(); - } - - /** - * Sets the reminder query question of this old user. - * - * @param reminderQueryQuestion the reminder query question of this old user - */ - @Override - public void setReminderQueryQuestion(java.lang.String reminderQueryQuestion) { - _oldUser.setReminderQueryQuestion(reminderQueryQuestion); - } - - /** - * Returns the reminder query answer of this old user. - * - * @return the reminder query answer of this old user - */ - @Override - public java.lang.String getReminderQueryAnswer() { - return _oldUser.getReminderQueryAnswer(); - } - - /** - * Sets the reminder query answer of this old user. - * - * @param reminderQueryAnswer the reminder query answer of this old user - */ - @Override - public void setReminderQueryAnswer(java.lang.String reminderQueryAnswer) { - _oldUser.setReminderQueryAnswer(reminderQueryAnswer); - } - - /** - * Returns the grace login count of this old user. - * - * @return the grace login count of this old user - */ - @Override - public int getGraceLoginCount() { - return _oldUser.getGraceLoginCount(); - } - - /** - * Sets the grace login count of this old user. - * - * @param graceLoginCount the grace login count of this old user - */ - @Override - public void setGraceLoginCount(int graceLoginCount) { - _oldUser.setGraceLoginCount(graceLoginCount); - } - - /** - * Returns the screen name of this old user. - * - * @return the screen name of this old user - */ - @Override - public java.lang.String getScreenName() { - return _oldUser.getScreenName(); - } - - /** - * Sets the screen name of this old user. - * - * @param screenName the screen name of this old user - */ - @Override - public void setScreenName(java.lang.String screenName) { - _oldUser.setScreenName(screenName); - } - - /** - * Returns the email address of this old user. - * - * @return the email address of this old user - */ - @Override - public java.lang.String getEmailAddress() { - return _oldUser.getEmailAddress(); - } - - /** - * Sets the email address of this old user. - * - * @param emailAddress the email address of this old user - */ - @Override - public void setEmailAddress(java.lang.String emailAddress) { - _oldUser.setEmailAddress(emailAddress); - } - - /** - * Returns the facebook ID of this old user. - * - * @return the facebook ID of this old user - */ - @Override - public long getFacebookId() { - return _oldUser.getFacebookId(); - } - - /** - * Sets the facebook ID of this old user. - * - * @param facebookId the facebook ID of this old user - */ - @Override - public void setFacebookId(long facebookId) { - _oldUser.setFacebookId(facebookId); - } - - /** - * Returns the open ID of this old user. - * - * @return the open ID of this old user - */ - @Override - public java.lang.String getOpenId() { - return _oldUser.getOpenId(); - } - - /** - * Sets the open ID of this old user. - * - * @param openId the open ID of this old user - */ - @Override - public void setOpenId(java.lang.String openId) { - _oldUser.setOpenId(openId); - } - - /** - * Returns the portrait ID of this old user. - * - * @return the portrait ID of this old user - */ - @Override - public long getPortraitId() { - return _oldUser.getPortraitId(); - } - - /** - * Sets the portrait ID of this old user. - * - * @param portraitId the portrait ID of this old user - */ - @Override - public void setPortraitId(long portraitId) { - _oldUser.setPortraitId(portraitId); - } - - /** - * Returns the language ID of this old user. - * - * @return the language ID of this old user - */ - @Override - public java.lang.String getLanguageId() { - return _oldUser.getLanguageId(); - } - - /** - * Sets the language ID of this old user. - * - * @param languageId the language ID of this old user - */ - @Override - public void setLanguageId(java.lang.String languageId) { - _oldUser.setLanguageId(languageId); - } - - /** - * Returns the time zone ID of this old user. - * - * @return the time zone ID of this old user - */ - @Override - public java.lang.String getTimeZoneId() { - return _oldUser.getTimeZoneId(); - } - - /** - * Sets the time zone ID of this old user. - * - * @param timeZoneId the time zone ID of this old user - */ - @Override - public void setTimeZoneId(java.lang.String timeZoneId) { - _oldUser.setTimeZoneId(timeZoneId); - } - - /** - * Returns the greeting of this old user. - * - * @return the greeting of this old user - */ - @Override - public java.lang.String getGreeting() { - return _oldUser.getGreeting(); - } - - /** - * Sets the greeting of this old user. - * - * @param greeting the greeting of this old user - */ - @Override - public void setGreeting(java.lang.String greeting) { - _oldUser.setGreeting(greeting); - } - - /** - * Returns the comments of this old user. - * - * @return the comments of this old user - */ - @Override - public java.lang.String getComments() { - return _oldUser.getComments(); - } - - /** - * Sets the comments of this old user. - * - * @param comments the comments of this old user - */ - @Override - public void setComments(java.lang.String comments) { - _oldUser.setComments(comments); - } - - /** - * Returns the first name of this old user. - * - * @return the first name of this old user - */ - @Override - public java.lang.String getFirstName() { - return _oldUser.getFirstName(); - } - - /** - * Sets the first name of this old user. - * - * @param firstName the first name of this old user - */ - @Override - public void setFirstName(java.lang.String firstName) { - _oldUser.setFirstName(firstName); - } - - /** - * Returns the middle name of this old user. - * - * @return the middle name of this old user - */ - @Override - public java.lang.String getMiddleName() { - return _oldUser.getMiddleName(); - } - - /** - * Sets the middle name of this old user. - * - * @param middleName the middle name of this old user - */ - @Override - public void setMiddleName(java.lang.String middleName) { - _oldUser.setMiddleName(middleName); - } - - /** - * Returns the last name of this old user. - * - * @return the last name of this old user - */ - @Override - public java.lang.String getLastName() { - return _oldUser.getLastName(); - } - - /** - * Sets the last name of this old user. - * - * @param lastName the last name of this old user - */ - @Override - public void setLastName(java.lang.String lastName) { - _oldUser.setLastName(lastName); - } - - /** - * Returns the job title of this old user. - * - * @return the job title of this old user - */ - @Override - public java.lang.String getJobTitle() { - return _oldUser.getJobTitle(); - } - - /** - * Sets the job title of this old user. - * - * @param jobTitle the job title of this old user - */ - @Override - public void setJobTitle(java.lang.String jobTitle) { - _oldUser.setJobTitle(jobTitle); - } - - /** - * Returns the login date of this old user. - * - * @return the login date of this old user - */ - @Override - public java.util.Date getLoginDate() { - return _oldUser.getLoginDate(); - } - - /** - * Sets the login date of this old user. - * - * @param loginDate the login date of this old user - */ - @Override - public void setLoginDate(java.util.Date loginDate) { - _oldUser.setLoginDate(loginDate); - } - - /** - * Returns the login i p of this old user. - * - * @return the login i p of this old user - */ - @Override - public java.lang.String getLoginIP() { - return _oldUser.getLoginIP(); - } - - /** - * Sets the login i p of this old user. - * - * @param loginIP the login i p of this old user - */ - @Override - public void setLoginIP(java.lang.String loginIP) { - _oldUser.setLoginIP(loginIP); - } - - /** - * Returns the last login date of this old user. - * - * @return the last login date of this old user - */ - @Override - public java.util.Date getLastLoginDate() { - return _oldUser.getLastLoginDate(); - } - - /** - * Sets the last login date of this old user. - * - * @param lastLoginDate the last login date of this old user - */ - @Override - public void setLastLoginDate(java.util.Date lastLoginDate) { - _oldUser.setLastLoginDate(lastLoginDate); - } - - /** - * Returns the last login i p of this old user. - * - * @return the last login i p of this old user - */ - @Override - public java.lang.String getLastLoginIP() { - return _oldUser.getLastLoginIP(); - } - - /** - * Sets the last login i p of this old user. - * - * @param lastLoginIP the last login i p of this old user - */ - @Override - public void setLastLoginIP(java.lang.String lastLoginIP) { - _oldUser.setLastLoginIP(lastLoginIP); - } - - /** - * Returns the last failed login date of this old user. - * - * @return the last failed login date of this old user - */ - @Override - public java.util.Date getLastFailedLoginDate() { - return _oldUser.getLastFailedLoginDate(); - } - - /** - * Sets the last failed login date of this old user. - * - * @param lastFailedLoginDate the last failed login date of this old user - */ - @Override - public void setLastFailedLoginDate(java.util.Date lastFailedLoginDate) { - _oldUser.setLastFailedLoginDate(lastFailedLoginDate); - } - - /** - * Returns the failed login attempts of this old user. - * - * @return the failed login attempts of this old user - */ - @Override - public int getFailedLoginAttempts() { - return _oldUser.getFailedLoginAttempts(); - } - - /** - * Sets the failed login attempts of this old user. - * - * @param failedLoginAttempts the failed login attempts of this old user - */ - @Override - public void setFailedLoginAttempts(int failedLoginAttempts) { - _oldUser.setFailedLoginAttempts(failedLoginAttempts); - } - - /** - * Returns the lockout of this old user. - * - * @return the lockout of this old user - */ - @Override - public boolean getLockout() { - return _oldUser.getLockout(); - } - - /** - * Returns true if this old user is lockout. - * - * @return true if this old user is lockout; false otherwise - */ - @Override - public boolean isLockout() { - return _oldUser.isLockout(); - } - - /** - * Sets whether this old user is lockout. - * - * @param lockout the lockout of this old user - */ - @Override - public void setLockout(boolean lockout) { - _oldUser.setLockout(lockout); - } - - /** - * Returns the lockout date of this old user. - * - * @return the lockout date of this old user - */ - @Override - public java.util.Date getLockoutDate() { - return _oldUser.getLockoutDate(); - } - - /** - * Sets the lockout date of this old user. - * - * @param lockoutDate the lockout date of this old user - */ - @Override - public void setLockoutDate(java.util.Date lockoutDate) { - _oldUser.setLockoutDate(lockoutDate); - } - - /** - * Returns the agreed to terms of use of this old user. - * - * @return the agreed to terms of use of this old user - */ - @Override - public boolean getAgreedToTermsOfUse() { - return _oldUser.getAgreedToTermsOfUse(); - } - - /** - * Returns true if this old user is agreed to terms of use. - * - * @return true if this old user is agreed to terms of use; false otherwise - */ - @Override - public boolean isAgreedToTermsOfUse() { - return _oldUser.isAgreedToTermsOfUse(); - } - - /** - * Sets whether this old user is agreed to terms of use. - * - * @param agreedToTermsOfUse the agreed to terms of use of this old user - */ - @Override - public void setAgreedToTermsOfUse(boolean agreedToTermsOfUse) { - _oldUser.setAgreedToTermsOfUse(agreedToTermsOfUse); - } - - /** - * Returns the email address verified of this old user. - * - * @return the email address verified of this old user - */ - @Override - public boolean getEmailAddressVerified() { - return _oldUser.getEmailAddressVerified(); - } - - /** - * Returns true if this old user is email address verified. - * - * @return true if this old user is email address verified; false otherwise - */ - @Override - public boolean isEmailAddressVerified() { - return _oldUser.isEmailAddressVerified(); - } - - /** - * Sets whether this old user is email address verified. - * - * @param emailAddressVerified the email address verified of this old user - */ - @Override - public void setEmailAddressVerified(boolean emailAddressVerified) { - _oldUser.setEmailAddressVerified(emailAddressVerified); - } - - /** - * Returns the status of this old user. - * - * @return the status of this old user - */ - @Override - public int getStatus() { - return _oldUser.getStatus(); - } - - /** - * Sets the status of this old user. - * - * @param status the status of this old user - */ - @Override - public void setStatus(int status) { - _oldUser.setStatus(status); - } - - @Override - public boolean isNew() { - return _oldUser.isNew(); - } - - @Override - public void setNew(boolean n) { - _oldUser.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _oldUser.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _oldUser.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _oldUser.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _oldUser.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _oldUser.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _oldUser.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _oldUser.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _oldUser.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _oldUser.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new OldUserWrapper((OldUser)_oldUser.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.OldUser oldUser) { - return _oldUser.compareTo(oldUser); - } - - @Override - public int hashCode() { - return _oldUser.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _oldUser.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldUser toEscapedModel() { - return new OldUserWrapper(_oldUser.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldUser toUnescapedModel() { - return new OldUserWrapper(_oldUser.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _oldUser.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _oldUser.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _oldUser.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof OldUserWrapper)) { - return false; - } - - OldUserWrapper oldUserWrapper = (OldUserWrapper)obj; - - if (Validator.equals(_oldUser, oldUserWrapper._oldUser)) { - return true; - } - - return false; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public OldUser getWrappedOldUser() { - return _oldUser; - } - - @Override - public OldUser getWrappedModel() { - return _oldUser; - } - - @Override - public void resetOriginalValues() { - _oldUser.resetOriginalValues(); - } - - private OldUser _oldUser; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/ProceduraImportazione.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/ProceduraImportazione.java deleted file mode 100644 index 1f40f760..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/ProceduraImportazione.java +++ /dev/null @@ -1,35 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the ProceduraImportazione service. Represents a row in the "old_portos_ProceduraImportazione" database table, with each column mapped to a property of this class. - * - * @author 3FC - * @see ProceduraImportazioneModel - * @see it.tref.liferay.portos.importazione.model.impl.ProceduraImportazioneImpl - * @see it.tref.liferay.portos.importazione.model.impl.ProceduraImportazioneModelImpl - * @generated - */ -public interface ProceduraImportazione extends ProceduraImportazioneModel, - PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.importazione.model.impl.ProceduraImportazioneImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/ProceduraImportazioneClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/ProceduraImportazioneClp.java deleted file mode 100644 index b870be61..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/ProceduraImportazioneClp.java +++ /dev/null @@ -1,554 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; - -import it.tref.liferay.portos.importazione.service.ClpSerializer; -import it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalServiceUtil; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author 3FC - */ -public class ProceduraImportazioneClp extends BaseModelImpl - implements ProceduraImportazione { - public ProceduraImportazioneClp() { - } - - @Override - public Class getModelClass() { - return ProceduraImportazione.class; - } - - @Override - public String getModelClassName() { - return ProceduraImportazione.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _proceduraImportazioneId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setProceduraImportazioneId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _proceduraImportazioneId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("proceduraImportazioneId", getProceduraImportazioneId()); - attributes.put("queryStartNumber", getQueryStartNumber()); - attributes.put("queryEndNumber", getQueryEndNumber()); - attributes.put("createDate", getCreateDate()); - attributes.put("oldDettPraticaIdsNotProcessed", - getOldDettPraticaIdsNotProcessed()); - attributes.put("dataEffettuazioneProceduraStart", - getDataEffettuazioneProceduraStart()); - attributes.put("dataEffettuazioneProceduraEnd", - getDataEffettuazioneProceduraEnd()); - attributes.put("companyId", getCompanyId()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long proceduraImportazioneId = (Long)attributes.get( - "proceduraImportazioneId"); - - if (proceduraImportazioneId != null) { - setProceduraImportazioneId(proceduraImportazioneId); - } - - Integer queryStartNumber = (Integer)attributes.get("queryStartNumber"); - - if (queryStartNumber != null) { - setQueryStartNumber(queryStartNumber); - } - - Integer queryEndNumber = (Integer)attributes.get("queryEndNumber"); - - if (queryEndNumber != null) { - setQueryEndNumber(queryEndNumber); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - String oldDettPraticaIdsNotProcessed = (String)attributes.get( - "oldDettPraticaIdsNotProcessed"); - - if (oldDettPraticaIdsNotProcessed != null) { - setOldDettPraticaIdsNotProcessed(oldDettPraticaIdsNotProcessed); - } - - Date dataEffettuazioneProceduraStart = (Date)attributes.get( - "dataEffettuazioneProceduraStart"); - - if (dataEffettuazioneProceduraStart != null) { - setDataEffettuazioneProceduraStart(dataEffettuazioneProceduraStart); - } - - Date dataEffettuazioneProceduraEnd = (Date)attributes.get( - "dataEffettuazioneProceduraEnd"); - - if (dataEffettuazioneProceduraEnd != null) { - setDataEffettuazioneProceduraEnd(dataEffettuazioneProceduraEnd); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - } - - @Override - public long getProceduraImportazioneId() { - return _proceduraImportazioneId; - } - - @Override - public void setProceduraImportazioneId(long proceduraImportazioneId) { - _proceduraImportazioneId = proceduraImportazioneId; - - if (_proceduraImportazioneRemoteModel != null) { - try { - Class clazz = _proceduraImportazioneRemoteModel.getClass(); - - Method method = clazz.getMethod("setProceduraImportazioneId", - long.class); - - method.invoke(_proceduraImportazioneRemoteModel, - proceduraImportazioneId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public int getQueryStartNumber() { - return _queryStartNumber; - } - - @Override - public void setQueryStartNumber(int queryStartNumber) { - _queryStartNumber = queryStartNumber; - - if (_proceduraImportazioneRemoteModel != null) { - try { - Class clazz = _proceduraImportazioneRemoteModel.getClass(); - - Method method = clazz.getMethod("setQueryStartNumber", int.class); - - method.invoke(_proceduraImportazioneRemoteModel, - queryStartNumber); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public int getQueryEndNumber() { - return _queryEndNumber; - } - - @Override - public void setQueryEndNumber(int queryEndNumber) { - _queryEndNumber = queryEndNumber; - - if (_proceduraImportazioneRemoteModel != null) { - try { - Class clazz = _proceduraImportazioneRemoteModel.getClass(); - - Method method = clazz.getMethod("setQueryEndNumber", int.class); - - method.invoke(_proceduraImportazioneRemoteModel, queryEndNumber); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_proceduraImportazioneRemoteModel != null) { - try { - Class clazz = _proceduraImportazioneRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_proceduraImportazioneRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getOldDettPraticaIdsNotProcessed() { - return _oldDettPraticaIdsNotProcessed; - } - - @Override - public void setOldDettPraticaIdsNotProcessed( - String oldDettPraticaIdsNotProcessed) { - _oldDettPraticaIdsNotProcessed = oldDettPraticaIdsNotProcessed; - - if (_proceduraImportazioneRemoteModel != null) { - try { - Class clazz = _proceduraImportazioneRemoteModel.getClass(); - - Method method = clazz.getMethod("setOldDettPraticaIdsNotProcessed", - String.class); - - method.invoke(_proceduraImportazioneRemoteModel, - oldDettPraticaIdsNotProcessed); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDataEffettuazioneProceduraStart() { - return _dataEffettuazioneProceduraStart; - } - - @Override - public void setDataEffettuazioneProceduraStart( - Date dataEffettuazioneProceduraStart) { - _dataEffettuazioneProceduraStart = dataEffettuazioneProceduraStart; - - if (_proceduraImportazioneRemoteModel != null) { - try { - Class clazz = _proceduraImportazioneRemoteModel.getClass(); - - Method method = clazz.getMethod("setDataEffettuazioneProceduraStart", - Date.class); - - method.invoke(_proceduraImportazioneRemoteModel, - dataEffettuazioneProceduraStart); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDataEffettuazioneProceduraEnd() { - return _dataEffettuazioneProceduraEnd; - } - - @Override - public void setDataEffettuazioneProceduraEnd( - Date dataEffettuazioneProceduraEnd) { - _dataEffettuazioneProceduraEnd = dataEffettuazioneProceduraEnd; - - if (_proceduraImportazioneRemoteModel != null) { - try { - Class clazz = _proceduraImportazioneRemoteModel.getClass(); - - Method method = clazz.getMethod("setDataEffettuazioneProceduraEnd", - Date.class); - - method.invoke(_proceduraImportazioneRemoteModel, - dataEffettuazioneProceduraEnd); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_proceduraImportazioneRemoteModel != null) { - try { - Class clazz = _proceduraImportazioneRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_proceduraImportazioneRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - public BaseModel getProceduraImportazioneRemoteModel() { - return _proceduraImportazioneRemoteModel; - } - - public void setProceduraImportazioneRemoteModel( - BaseModel proceduraImportazioneRemoteModel) { - _proceduraImportazioneRemoteModel = proceduraImportazioneRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _proceduraImportazioneRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_proceduraImportazioneRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - ProceduraImportazioneLocalServiceUtil.addProceduraImportazione(this); - } - else { - ProceduraImportazioneLocalServiceUtil.updateProceduraImportazione(this); - } - } - - @Override - public ProceduraImportazione toEscapedModel() { - return (ProceduraImportazione)ProxyUtil.newProxyInstance(ProceduraImportazione.class.getClassLoader(), - new Class[] { ProceduraImportazione.class }, - new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - ProceduraImportazioneClp clone = new ProceduraImportazioneClp(); - - clone.setProceduraImportazioneId(getProceduraImportazioneId()); - clone.setQueryStartNumber(getQueryStartNumber()); - clone.setQueryEndNumber(getQueryEndNumber()); - clone.setCreateDate(getCreateDate()); - clone.setOldDettPraticaIdsNotProcessed(getOldDettPraticaIdsNotProcessed()); - clone.setDataEffettuazioneProceduraStart(getDataEffettuazioneProceduraStart()); - clone.setDataEffettuazioneProceduraEnd(getDataEffettuazioneProceduraEnd()); - clone.setCompanyId(getCompanyId()); - - return clone; - } - - @Override - public int compareTo(ProceduraImportazione proceduraImportazione) { - long primaryKey = proceduraImportazione.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof ProceduraImportazioneClp)) { - return false; - } - - ProceduraImportazioneClp proceduraImportazione = (ProceduraImportazioneClp)obj; - - long primaryKey = proceduraImportazione.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(17); - - sb.append("{proceduraImportazioneId="); - sb.append(getProceduraImportazioneId()); - sb.append(", queryStartNumber="); - sb.append(getQueryStartNumber()); - sb.append(", queryEndNumber="); - sb.append(getQueryEndNumber()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", oldDettPraticaIdsNotProcessed="); - sb.append(getOldDettPraticaIdsNotProcessed()); - sb.append(", dataEffettuazioneProceduraStart="); - sb.append(getDataEffettuazioneProceduraStart()); - sb.append(", dataEffettuazioneProceduraEnd="); - sb.append(getDataEffettuazioneProceduraEnd()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(28); - - sb.append(""); - sb.append( - "it.tref.liferay.portos.importazione.model.ProceduraImportazione"); - sb.append(""); - - sb.append( - "proceduraImportazioneId"); - sb.append( - "queryStartNumber"); - sb.append( - "queryEndNumber"); - sb.append( - "createDate"); - sb.append( - "oldDettPraticaIdsNotProcessed"); - sb.append( - "dataEffettuazioneProceduraStart"); - sb.append( - "dataEffettuazioneProceduraEnd"); - sb.append( - "companyId"); - - sb.append(""); - - return sb.toString(); - } - - private long _proceduraImportazioneId; - private int _queryStartNumber; - private int _queryEndNumber; - private Date _createDate; - private String _oldDettPraticaIdsNotProcessed; - private Date _dataEffettuazioneProceduraStart; - private Date _dataEffettuazioneProceduraEnd; - private long _companyId; - private BaseModel _proceduraImportazioneRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.importazione.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/ProceduraImportazioneModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/ProceduraImportazioneModel.java deleted file mode 100644 index 3378b54f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/ProceduraImportazioneModel.java +++ /dev/null @@ -1,235 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the ProceduraImportazione service. Represents a row in the "old_portos_ProceduraImportazione" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.importazione.model.impl.ProceduraImportazioneModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.importazione.model.impl.ProceduraImportazioneImpl}. - *

- * - * @author 3FC - * @see ProceduraImportazione - * @see it.tref.liferay.portos.importazione.model.impl.ProceduraImportazioneImpl - * @see it.tref.liferay.portos.importazione.model.impl.ProceduraImportazioneModelImpl - * @generated - */ -public interface ProceduraImportazioneModel extends BaseModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a procedura importazione model instance should use the {@link ProceduraImportazione} interface instead. - */ - - /** - * Returns the primary key of this procedura importazione. - * - * @return the primary key of this procedura importazione - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this procedura importazione. - * - * @param primaryKey the primary key of this procedura importazione - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the procedura importazione ID of this procedura importazione. - * - * @return the procedura importazione ID of this procedura importazione - */ - public long getProceduraImportazioneId(); - - /** - * Sets the procedura importazione ID of this procedura importazione. - * - * @param proceduraImportazioneId the procedura importazione ID of this procedura importazione - */ - public void setProceduraImportazioneId(long proceduraImportazioneId); - - /** - * Returns the query start number of this procedura importazione. - * - * @return the query start number of this procedura importazione - */ - public int getQueryStartNumber(); - - /** - * Sets the query start number of this procedura importazione. - * - * @param queryStartNumber the query start number of this procedura importazione - */ - public void setQueryStartNumber(int queryStartNumber); - - /** - * Returns the query end number of this procedura importazione. - * - * @return the query end number of this procedura importazione - */ - public int getQueryEndNumber(); - - /** - * Sets the query end number of this procedura importazione. - * - * @param queryEndNumber the query end number of this procedura importazione - */ - public void setQueryEndNumber(int queryEndNumber); - - /** - * Returns the create date of this procedura importazione. - * - * @return the create date of this procedura importazione - */ - public Date getCreateDate(); - - /** - * Sets the create date of this procedura importazione. - * - * @param createDate the create date of this procedura importazione - */ - public void setCreateDate(Date createDate); - - /** - * Returns the old dett pratica IDs not processed of this procedura importazione. - * - * @return the old dett pratica IDs not processed of this procedura importazione - */ - @AutoEscape - public String getOldDettPraticaIdsNotProcessed(); - - /** - * Sets the old dett pratica IDs not processed of this procedura importazione. - * - * @param oldDettPraticaIdsNotProcessed the old dett pratica IDs not processed of this procedura importazione - */ - public void setOldDettPraticaIdsNotProcessed( - String oldDettPraticaIdsNotProcessed); - - /** - * Returns the data effettuazione procedura start of this procedura importazione. - * - * @return the data effettuazione procedura start of this procedura importazione - */ - public Date getDataEffettuazioneProceduraStart(); - - /** - * Sets the data effettuazione procedura start of this procedura importazione. - * - * @param dataEffettuazioneProceduraStart the data effettuazione procedura start of this procedura importazione - */ - public void setDataEffettuazioneProceduraStart( - Date dataEffettuazioneProceduraStart); - - /** - * Returns the data effettuazione procedura end of this procedura importazione. - * - * @return the data effettuazione procedura end of this procedura importazione - */ - public Date getDataEffettuazioneProceduraEnd(); - - /** - * Sets the data effettuazione procedura end of this procedura importazione. - * - * @param dataEffettuazioneProceduraEnd the data effettuazione procedura end of this procedura importazione - */ - public void setDataEffettuazioneProceduraEnd( - Date dataEffettuazioneProceduraEnd); - - /** - * Returns the company ID of this procedura importazione. - * - * @return the company ID of this procedura importazione - */ - public long getCompanyId(); - - /** - * Sets the company ID of this procedura importazione. - * - * @param companyId the company ID of this procedura importazione - */ - public void setCompanyId(long companyId); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.ProceduraImportazione proceduraImportazione); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.importazione.model.ProceduraImportazione toEscapedModel(); - - @Override - public it.tref.liferay.portos.importazione.model.ProceduraImportazione toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/ProceduraImportazioneSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/ProceduraImportazioneSoap.java deleted file mode 100644 index 5f0c1bb3..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/ProceduraImportazioneSoap.java +++ /dev/null @@ -1,172 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author 3FC - * @generated - */ -public class ProceduraImportazioneSoap implements Serializable { - public static ProceduraImportazioneSoap toSoapModel( - ProceduraImportazione model) { - ProceduraImportazioneSoap soapModel = new ProceduraImportazioneSoap(); - - soapModel.setProceduraImportazioneId(model.getProceduraImportazioneId()); - soapModel.setQueryStartNumber(model.getQueryStartNumber()); - soapModel.setQueryEndNumber(model.getQueryEndNumber()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setOldDettPraticaIdsNotProcessed(model.getOldDettPraticaIdsNotProcessed()); - soapModel.setDataEffettuazioneProceduraStart(model.getDataEffettuazioneProceduraStart()); - soapModel.setDataEffettuazioneProceduraEnd(model.getDataEffettuazioneProceduraEnd()); - soapModel.setCompanyId(model.getCompanyId()); - - return soapModel; - } - - public static ProceduraImportazioneSoap[] toSoapModels( - ProceduraImportazione[] models) { - ProceduraImportazioneSoap[] soapModels = new ProceduraImportazioneSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static ProceduraImportazioneSoap[][] toSoapModels( - ProceduraImportazione[][] models) { - ProceduraImportazioneSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new ProceduraImportazioneSoap[models.length][models[0].length]; - } - else { - soapModels = new ProceduraImportazioneSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static ProceduraImportazioneSoap[] toSoapModels( - List models) { - List soapModels = new ArrayList(models.size()); - - for (ProceduraImportazione model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new ProceduraImportazioneSoap[soapModels.size()]); - } - - public ProceduraImportazioneSoap() { - } - - public long getPrimaryKey() { - return _proceduraImportazioneId; - } - - public void setPrimaryKey(long pk) { - setProceduraImportazioneId(pk); - } - - public long getProceduraImportazioneId() { - return _proceduraImportazioneId; - } - - public void setProceduraImportazioneId(long proceduraImportazioneId) { - _proceduraImportazioneId = proceduraImportazioneId; - } - - public int getQueryStartNumber() { - return _queryStartNumber; - } - - public void setQueryStartNumber(int queryStartNumber) { - _queryStartNumber = queryStartNumber; - } - - public int getQueryEndNumber() { - return _queryEndNumber; - } - - public void setQueryEndNumber(int queryEndNumber) { - _queryEndNumber = queryEndNumber; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public String getOldDettPraticaIdsNotProcessed() { - return _oldDettPraticaIdsNotProcessed; - } - - public void setOldDettPraticaIdsNotProcessed( - String oldDettPraticaIdsNotProcessed) { - _oldDettPraticaIdsNotProcessed = oldDettPraticaIdsNotProcessed; - } - - public Date getDataEffettuazioneProceduraStart() { - return _dataEffettuazioneProceduraStart; - } - - public void setDataEffettuazioneProceduraStart( - Date dataEffettuazioneProceduraStart) { - _dataEffettuazioneProceduraStart = dataEffettuazioneProceduraStart; - } - - public Date getDataEffettuazioneProceduraEnd() { - return _dataEffettuazioneProceduraEnd; - } - - public void setDataEffettuazioneProceduraEnd( - Date dataEffettuazioneProceduraEnd) { - _dataEffettuazioneProceduraEnd = dataEffettuazioneProceduraEnd; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - private long _proceduraImportazioneId; - private int _queryStartNumber; - private int _queryEndNumber; - private Date _createDate; - private String _oldDettPraticaIdsNotProcessed; - private Date _dataEffettuazioneProceduraStart; - private Date _dataEffettuazioneProceduraEnd; - private long _companyId; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/ProceduraImportazioneWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/ProceduraImportazioneWrapper.java deleted file mode 100644 index c68920fe..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/ProceduraImportazioneWrapper.java +++ /dev/null @@ -1,450 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link ProceduraImportazione}. - *

- * - * @author 3FC - * @see ProceduraImportazione - * @generated - */ -public class ProceduraImportazioneWrapper implements ProceduraImportazione, - ModelWrapper { - public ProceduraImportazioneWrapper( - ProceduraImportazione proceduraImportazione) { - _proceduraImportazione = proceduraImportazione; - } - - @Override - public Class getModelClass() { - return ProceduraImportazione.class; - } - - @Override - public String getModelClassName() { - return ProceduraImportazione.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("proceduraImportazioneId", getProceduraImportazioneId()); - attributes.put("queryStartNumber", getQueryStartNumber()); - attributes.put("queryEndNumber", getQueryEndNumber()); - attributes.put("createDate", getCreateDate()); - attributes.put("oldDettPraticaIdsNotProcessed", - getOldDettPraticaIdsNotProcessed()); - attributes.put("dataEffettuazioneProceduraStart", - getDataEffettuazioneProceduraStart()); - attributes.put("dataEffettuazioneProceduraEnd", - getDataEffettuazioneProceduraEnd()); - attributes.put("companyId", getCompanyId()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long proceduraImportazioneId = (Long)attributes.get( - "proceduraImportazioneId"); - - if (proceduraImportazioneId != null) { - setProceduraImportazioneId(proceduraImportazioneId); - } - - Integer queryStartNumber = (Integer)attributes.get("queryStartNumber"); - - if (queryStartNumber != null) { - setQueryStartNumber(queryStartNumber); - } - - Integer queryEndNumber = (Integer)attributes.get("queryEndNumber"); - - if (queryEndNumber != null) { - setQueryEndNumber(queryEndNumber); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - String oldDettPraticaIdsNotProcessed = (String)attributes.get( - "oldDettPraticaIdsNotProcessed"); - - if (oldDettPraticaIdsNotProcessed != null) { - setOldDettPraticaIdsNotProcessed(oldDettPraticaIdsNotProcessed); - } - - Date dataEffettuazioneProceduraStart = (Date)attributes.get( - "dataEffettuazioneProceduraStart"); - - if (dataEffettuazioneProceduraStart != null) { - setDataEffettuazioneProceduraStart(dataEffettuazioneProceduraStart); - } - - Date dataEffettuazioneProceduraEnd = (Date)attributes.get( - "dataEffettuazioneProceduraEnd"); - - if (dataEffettuazioneProceduraEnd != null) { - setDataEffettuazioneProceduraEnd(dataEffettuazioneProceduraEnd); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - } - - /** - * Returns the primary key of this procedura importazione. - * - * @return the primary key of this procedura importazione - */ - @Override - public long getPrimaryKey() { - return _proceduraImportazione.getPrimaryKey(); - } - - /** - * Sets the primary key of this procedura importazione. - * - * @param primaryKey the primary key of this procedura importazione - */ - @Override - public void setPrimaryKey(long primaryKey) { - _proceduraImportazione.setPrimaryKey(primaryKey); - } - - /** - * Returns the procedura importazione ID of this procedura importazione. - * - * @return the procedura importazione ID of this procedura importazione - */ - @Override - public long getProceduraImportazioneId() { - return _proceduraImportazione.getProceduraImportazioneId(); - } - - /** - * Sets the procedura importazione ID of this procedura importazione. - * - * @param proceduraImportazioneId the procedura importazione ID of this procedura importazione - */ - @Override - public void setProceduraImportazioneId(long proceduraImportazioneId) { - _proceduraImportazione.setProceduraImportazioneId(proceduraImportazioneId); - } - - /** - * Returns the query start number of this procedura importazione. - * - * @return the query start number of this procedura importazione - */ - @Override - public int getQueryStartNumber() { - return _proceduraImportazione.getQueryStartNumber(); - } - - /** - * Sets the query start number of this procedura importazione. - * - * @param queryStartNumber the query start number of this procedura importazione - */ - @Override - public void setQueryStartNumber(int queryStartNumber) { - _proceduraImportazione.setQueryStartNumber(queryStartNumber); - } - - /** - * Returns the query end number of this procedura importazione. - * - * @return the query end number of this procedura importazione - */ - @Override - public int getQueryEndNumber() { - return _proceduraImportazione.getQueryEndNumber(); - } - - /** - * Sets the query end number of this procedura importazione. - * - * @param queryEndNumber the query end number of this procedura importazione - */ - @Override - public void setQueryEndNumber(int queryEndNumber) { - _proceduraImportazione.setQueryEndNumber(queryEndNumber); - } - - /** - * Returns the create date of this procedura importazione. - * - * @return the create date of this procedura importazione - */ - @Override - public java.util.Date getCreateDate() { - return _proceduraImportazione.getCreateDate(); - } - - /** - * Sets the create date of this procedura importazione. - * - * @param createDate the create date of this procedura importazione - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _proceduraImportazione.setCreateDate(createDate); - } - - /** - * Returns the old dett pratica IDs not processed of this procedura importazione. - * - * @return the old dett pratica IDs not processed of this procedura importazione - */ - @Override - public java.lang.String getOldDettPraticaIdsNotProcessed() { - return _proceduraImportazione.getOldDettPraticaIdsNotProcessed(); - } - - /** - * Sets the old dett pratica IDs not processed of this procedura importazione. - * - * @param oldDettPraticaIdsNotProcessed the old dett pratica IDs not processed of this procedura importazione - */ - @Override - public void setOldDettPraticaIdsNotProcessed( - java.lang.String oldDettPraticaIdsNotProcessed) { - _proceduraImportazione.setOldDettPraticaIdsNotProcessed(oldDettPraticaIdsNotProcessed); - } - - /** - * Returns the data effettuazione procedura start of this procedura importazione. - * - * @return the data effettuazione procedura start of this procedura importazione - */ - @Override - public java.util.Date getDataEffettuazioneProceduraStart() { - return _proceduraImportazione.getDataEffettuazioneProceduraStart(); - } - - /** - * Sets the data effettuazione procedura start of this procedura importazione. - * - * @param dataEffettuazioneProceduraStart the data effettuazione procedura start of this procedura importazione - */ - @Override - public void setDataEffettuazioneProceduraStart( - java.util.Date dataEffettuazioneProceduraStart) { - _proceduraImportazione.setDataEffettuazioneProceduraStart(dataEffettuazioneProceduraStart); - } - - /** - * Returns the data effettuazione procedura end of this procedura importazione. - * - * @return the data effettuazione procedura end of this procedura importazione - */ - @Override - public java.util.Date getDataEffettuazioneProceduraEnd() { - return _proceduraImportazione.getDataEffettuazioneProceduraEnd(); - } - - /** - * Sets the data effettuazione procedura end of this procedura importazione. - * - * @param dataEffettuazioneProceduraEnd the data effettuazione procedura end of this procedura importazione - */ - @Override - public void setDataEffettuazioneProceduraEnd( - java.util.Date dataEffettuazioneProceduraEnd) { - _proceduraImportazione.setDataEffettuazioneProceduraEnd(dataEffettuazioneProceduraEnd); - } - - /** - * Returns the company ID of this procedura importazione. - * - * @return the company ID of this procedura importazione - */ - @Override - public long getCompanyId() { - return _proceduraImportazione.getCompanyId(); - } - - /** - * Sets the company ID of this procedura importazione. - * - * @param companyId the company ID of this procedura importazione - */ - @Override - public void setCompanyId(long companyId) { - _proceduraImportazione.setCompanyId(companyId); - } - - @Override - public boolean isNew() { - return _proceduraImportazione.isNew(); - } - - @Override - public void setNew(boolean n) { - _proceduraImportazione.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _proceduraImportazione.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _proceduraImportazione.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _proceduraImportazione.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _proceduraImportazione.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _proceduraImportazione.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _proceduraImportazione.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _proceduraImportazione.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _proceduraImportazione.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _proceduraImportazione.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new ProceduraImportazioneWrapper((ProceduraImportazione)_proceduraImportazione.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.ProceduraImportazione proceduraImportazione) { - return _proceduraImportazione.compareTo(proceduraImportazione); - } - - @Override - public int hashCode() { - return _proceduraImportazione.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _proceduraImportazione.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.importazione.model.ProceduraImportazione toEscapedModel() { - return new ProceduraImportazioneWrapper(_proceduraImportazione.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.importazione.model.ProceduraImportazione toUnescapedModel() { - return new ProceduraImportazioneWrapper(_proceduraImportazione.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _proceduraImportazione.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _proceduraImportazione.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _proceduraImportazione.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof ProceduraImportazioneWrapper)) { - return false; - } - - ProceduraImportazioneWrapper proceduraImportazioneWrapper = (ProceduraImportazioneWrapper)obj; - - if (Validator.equals(_proceduraImportazione, - proceduraImportazioneWrapper._proceduraImportazione)) { - return true; - } - - return false; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public ProceduraImportazione getWrappedProceduraImportazione() { - return _proceduraImportazione; - } - - @Override - public ProceduraImportazione getWrappedModel() { - return _proceduraImportazione; - } - - @Override - public void resetOriginalValues() { - _proceduraImportazione.resetOriginalValues(); - } - - private ProceduraImportazione _proceduraImportazione; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/StatoImportazione.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/StatoImportazione.java deleted file mode 100644 index 1471c231..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/StatoImportazione.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the StatoImportazione service. Represents a row in the "old_portos_StatoImportazione" database table, with each column mapped to a property of this class. - * - * @author 3FC - * @see StatoImportazioneModel - * @see it.tref.liferay.portos.importazione.model.impl.StatoImportazioneImpl - * @see it.tref.liferay.portos.importazione.model.impl.StatoImportazioneModelImpl - * @generated - */ -public interface StatoImportazione extends StatoImportazioneModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.importazione.model.impl.StatoImportazioneImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/StatoImportazioneClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/StatoImportazioneClp.java deleted file mode 100644 index e2e4c223..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/StatoImportazioneClp.java +++ /dev/null @@ -1,503 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.DateUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; - -import it.tref.liferay.portos.importazione.service.ClpSerializer; -import it.tref.liferay.portos.importazione.service.StatoImportazioneLocalServiceUtil; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author 3FC - */ -public class StatoImportazioneClp extends BaseModelImpl - implements StatoImportazione { - public StatoImportazioneClp() { - } - - @Override - public Class getModelClass() { - return StatoImportazione.class; - } - - @Override - public String getModelClassName() { - return StatoImportazione.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _statoImportazioneId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setStatoImportazioneId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _statoImportazioneId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("statoImportazioneId", getStatoImportazioneId()); - attributes.put("className", getClassName()); - attributes.put("oldPrimaryKey", getOldPrimaryKey()); - attributes.put("newPrimaryKey", getNewPrimaryKey()); - attributes.put("dataImportazione", getDataImportazione()); - attributes.put("esito", getEsito()); - attributes.put("errorMessage", getErrorMessage()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long statoImportazioneId = (Long)attributes.get("statoImportazioneId"); - - if (statoImportazioneId != null) { - setStatoImportazioneId(statoImportazioneId); - } - - String className = (String)attributes.get("className"); - - if (className != null) { - setClassName(className); - } - - String oldPrimaryKey = (String)attributes.get("oldPrimaryKey"); - - if (oldPrimaryKey != null) { - setOldPrimaryKey(oldPrimaryKey); - } - - String newPrimaryKey = (String)attributes.get("newPrimaryKey"); - - if (newPrimaryKey != null) { - setNewPrimaryKey(newPrimaryKey); - } - - Date dataImportazione = (Date)attributes.get("dataImportazione"); - - if (dataImportazione != null) { - setDataImportazione(dataImportazione); - } - - Boolean esito = (Boolean)attributes.get("esito"); - - if (esito != null) { - setEsito(esito); - } - - String errorMessage = (String)attributes.get("errorMessage"); - - if (errorMessage != null) { - setErrorMessage(errorMessage); - } - } - - @Override - public long getStatoImportazioneId() { - return _statoImportazioneId; - } - - @Override - public void setStatoImportazioneId(long statoImportazioneId) { - _statoImportazioneId = statoImportazioneId; - - if (_statoImportazioneRemoteModel != null) { - try { - Class clazz = _statoImportazioneRemoteModel.getClass(); - - Method method = clazz.getMethod("setStatoImportazioneId", - long.class); - - method.invoke(_statoImportazioneRemoteModel, statoImportazioneId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getClassName() { - return _className; - } - - @Override - public void setClassName(String className) { - _className = className; - - if (_statoImportazioneRemoteModel != null) { - try { - Class clazz = _statoImportazioneRemoteModel.getClass(); - - Method method = clazz.getMethod("setClassName", String.class); - - method.invoke(_statoImportazioneRemoteModel, className); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getOldPrimaryKey() { - return _oldPrimaryKey; - } - - @Override - public void setOldPrimaryKey(String oldPrimaryKey) { - _oldPrimaryKey = oldPrimaryKey; - - if (_statoImportazioneRemoteModel != null) { - try { - Class clazz = _statoImportazioneRemoteModel.getClass(); - - Method method = clazz.getMethod("setOldPrimaryKey", String.class); - - method.invoke(_statoImportazioneRemoteModel, oldPrimaryKey); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getNewPrimaryKey() { - return _newPrimaryKey; - } - - @Override - public void setNewPrimaryKey(String newPrimaryKey) { - _newPrimaryKey = newPrimaryKey; - - if (_statoImportazioneRemoteModel != null) { - try { - Class clazz = _statoImportazioneRemoteModel.getClass(); - - Method method = clazz.getMethod("setNewPrimaryKey", String.class); - - method.invoke(_statoImportazioneRemoteModel, newPrimaryKey); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDataImportazione() { - return _dataImportazione; - } - - @Override - public void setDataImportazione(Date dataImportazione) { - _dataImportazione = dataImportazione; - - if (_statoImportazioneRemoteModel != null) { - try { - Class clazz = _statoImportazioneRemoteModel.getClass(); - - Method method = clazz.getMethod("setDataImportazione", - Date.class); - - method.invoke(_statoImportazioneRemoteModel, dataImportazione); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getEsito() { - return _esito; - } - - @Override - public boolean isEsito() { - return _esito; - } - - @Override - public void setEsito(boolean esito) { - _esito = esito; - - if (_statoImportazioneRemoteModel != null) { - try { - Class clazz = _statoImportazioneRemoteModel.getClass(); - - Method method = clazz.getMethod("setEsito", boolean.class); - - method.invoke(_statoImportazioneRemoteModel, esito); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getErrorMessage() { - return _errorMessage; - } - - @Override - public void setErrorMessage(String errorMessage) { - _errorMessage = errorMessage; - - if (_statoImportazioneRemoteModel != null) { - try { - Class clazz = _statoImportazioneRemoteModel.getClass(); - - Method method = clazz.getMethod("setErrorMessage", String.class); - - method.invoke(_statoImportazioneRemoteModel, errorMessage); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - public BaseModel getStatoImportazioneRemoteModel() { - return _statoImportazioneRemoteModel; - } - - public void setStatoImportazioneRemoteModel( - BaseModel statoImportazioneRemoteModel) { - _statoImportazioneRemoteModel = statoImportazioneRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _statoImportazioneRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_statoImportazioneRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - StatoImportazioneLocalServiceUtil.addStatoImportazione(this); - } - else { - StatoImportazioneLocalServiceUtil.updateStatoImportazione(this); - } - } - - @Override - public StatoImportazione toEscapedModel() { - return (StatoImportazione)ProxyUtil.newProxyInstance(StatoImportazione.class.getClassLoader(), - new Class[] { StatoImportazione.class }, - new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - StatoImportazioneClp clone = new StatoImportazioneClp(); - - clone.setStatoImportazioneId(getStatoImportazioneId()); - clone.setClassName(getClassName()); - clone.setOldPrimaryKey(getOldPrimaryKey()); - clone.setNewPrimaryKey(getNewPrimaryKey()); - clone.setDataImportazione(getDataImportazione()); - clone.setEsito(getEsito()); - clone.setErrorMessage(getErrorMessage()); - - return clone; - } - - @Override - public int compareTo(StatoImportazione statoImportazione) { - int value = 0; - - value = DateUtil.compareTo(getDataImportazione(), - statoImportazione.getDataImportazione()); - - if (value != 0) { - return value; - } - - return 0; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof StatoImportazioneClp)) { - return false; - } - - StatoImportazioneClp statoImportazione = (StatoImportazioneClp)obj; - - long primaryKey = statoImportazione.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(15); - - sb.append("{statoImportazioneId="); - sb.append(getStatoImportazioneId()); - sb.append(", className="); - sb.append(getClassName()); - sb.append(", oldPrimaryKey="); - sb.append(getOldPrimaryKey()); - sb.append(", newPrimaryKey="); - sb.append(getNewPrimaryKey()); - sb.append(", dataImportazione="); - sb.append(getDataImportazione()); - sb.append(", esito="); - sb.append(getEsito()); - sb.append(", errorMessage="); - sb.append(getErrorMessage()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(25); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.StatoImportazione"); - sb.append(""); - - sb.append( - "statoImportazioneId"); - sb.append( - "className"); - sb.append( - "oldPrimaryKey"); - sb.append( - "newPrimaryKey"); - sb.append( - "dataImportazione"); - sb.append( - "esito"); - sb.append( - "errorMessage"); - - sb.append(""); - - return sb.toString(); - } - - private long _statoImportazioneId; - private String _className; - private String _oldPrimaryKey; - private String _newPrimaryKey; - private Date _dataImportazione; - private boolean _esito; - private String _errorMessage; - private BaseModel _statoImportazioneRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.importazione.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/StatoImportazioneModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/StatoImportazioneModel.java deleted file mode 100644 index 6176c15f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/StatoImportazioneModel.java +++ /dev/null @@ -1,228 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the StatoImportazione service. Represents a row in the "old_portos_StatoImportazione" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.importazione.model.impl.StatoImportazioneModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.importazione.model.impl.StatoImportazioneImpl}. - *

- * - * @author 3FC - * @see StatoImportazione - * @see it.tref.liferay.portos.importazione.model.impl.StatoImportazioneImpl - * @see it.tref.liferay.portos.importazione.model.impl.StatoImportazioneModelImpl - * @generated - */ -public interface StatoImportazioneModel extends BaseModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a stato importazione model instance should use the {@link StatoImportazione} interface instead. - */ - - /** - * Returns the primary key of this stato importazione. - * - * @return the primary key of this stato importazione - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this stato importazione. - * - * @param primaryKey the primary key of this stato importazione - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the stato importazione ID of this stato importazione. - * - * @return the stato importazione ID of this stato importazione - */ - public long getStatoImportazioneId(); - - /** - * Sets the stato importazione ID of this stato importazione. - * - * @param statoImportazioneId the stato importazione ID of this stato importazione - */ - public void setStatoImportazioneId(long statoImportazioneId); - - /** - * Returns the class name of this stato importazione. - * - * @return the class name of this stato importazione - */ - @AutoEscape - public String getClassName(); - - /** - * Sets the class name of this stato importazione. - * - * @param className the class name of this stato importazione - */ - public void setClassName(String className); - - /** - * Returns the old primary key of this stato importazione. - * - * @return the old primary key of this stato importazione - */ - @AutoEscape - public String getOldPrimaryKey(); - - /** - * Sets the old primary key of this stato importazione. - * - * @param oldPrimaryKey the old primary key of this stato importazione - */ - public void setOldPrimaryKey(String oldPrimaryKey); - - /** - * Returns the new primary key of this stato importazione. - * - * @return the new primary key of this stato importazione - */ - @AutoEscape - public String getNewPrimaryKey(); - - /** - * Sets the new primary key of this stato importazione. - * - * @param newPrimaryKey the new primary key of this stato importazione - */ - public void setNewPrimaryKey(String newPrimaryKey); - - /** - * Returns the data importazione of this stato importazione. - * - * @return the data importazione of this stato importazione - */ - public Date getDataImportazione(); - - /** - * Sets the data importazione of this stato importazione. - * - * @param dataImportazione the data importazione of this stato importazione - */ - public void setDataImportazione(Date dataImportazione); - - /** - * Returns the esito of this stato importazione. - * - * @return the esito of this stato importazione - */ - public boolean getEsito(); - - /** - * Returns true if this stato importazione is esito. - * - * @return true if this stato importazione is esito; false otherwise - */ - public boolean isEsito(); - - /** - * Sets whether this stato importazione is esito. - * - * @param esito the esito of this stato importazione - */ - public void setEsito(boolean esito); - - /** - * Returns the error message of this stato importazione. - * - * @return the error message of this stato importazione - */ - @AutoEscape - public String getErrorMessage(); - - /** - * Sets the error message of this stato importazione. - * - * @param errorMessage the error message of this stato importazione - */ - public void setErrorMessage(String errorMessage); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.StatoImportazione statoImportazione); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.importazione.model.StatoImportazione toEscapedModel(); - - @Override - public it.tref.liferay.portos.importazione.model.StatoImportazione toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/StatoImportazioneSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/StatoImportazioneSoap.java deleted file mode 100644 index 47b8ae09..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/StatoImportazioneSoap.java +++ /dev/null @@ -1,162 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author 3FC - * @generated - */ -public class StatoImportazioneSoap implements Serializable { - public static StatoImportazioneSoap toSoapModel(StatoImportazione model) { - StatoImportazioneSoap soapModel = new StatoImportazioneSoap(); - - soapModel.setStatoImportazioneId(model.getStatoImportazioneId()); - soapModel.setClassName(model.getClassName()); - soapModel.setOldPrimaryKey(model.getOldPrimaryKey()); - soapModel.setNewPrimaryKey(model.getNewPrimaryKey()); - soapModel.setDataImportazione(model.getDataImportazione()); - soapModel.setEsito(model.getEsito()); - soapModel.setErrorMessage(model.getErrorMessage()); - - return soapModel; - } - - public static StatoImportazioneSoap[] toSoapModels( - StatoImportazione[] models) { - StatoImportazioneSoap[] soapModels = new StatoImportazioneSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static StatoImportazioneSoap[][] toSoapModels( - StatoImportazione[][] models) { - StatoImportazioneSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new StatoImportazioneSoap[models.length][models[0].length]; - } - else { - soapModels = new StatoImportazioneSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static StatoImportazioneSoap[] toSoapModels( - List models) { - List soapModels = new ArrayList(models.size()); - - for (StatoImportazione model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new StatoImportazioneSoap[soapModels.size()]); - } - - public StatoImportazioneSoap() { - } - - public long getPrimaryKey() { - return _statoImportazioneId; - } - - public void setPrimaryKey(long pk) { - setStatoImportazioneId(pk); - } - - public long getStatoImportazioneId() { - return _statoImportazioneId; - } - - public void setStatoImportazioneId(long statoImportazioneId) { - _statoImportazioneId = statoImportazioneId; - } - - public String getClassName() { - return _className; - } - - public void setClassName(String className) { - _className = className; - } - - public String getOldPrimaryKey() { - return _oldPrimaryKey; - } - - public void setOldPrimaryKey(String oldPrimaryKey) { - _oldPrimaryKey = oldPrimaryKey; - } - - public String getNewPrimaryKey() { - return _newPrimaryKey; - } - - public void setNewPrimaryKey(String newPrimaryKey) { - _newPrimaryKey = newPrimaryKey; - } - - public Date getDataImportazione() { - return _dataImportazione; - } - - public void setDataImportazione(Date dataImportazione) { - _dataImportazione = dataImportazione; - } - - public boolean getEsito() { - return _esito; - } - - public boolean isEsito() { - return _esito; - } - - public void setEsito(boolean esito) { - _esito = esito; - } - - public String getErrorMessage() { - return _errorMessage; - } - - public void setErrorMessage(String errorMessage) { - _errorMessage = errorMessage; - } - - private long _statoImportazioneId; - private String _className; - private String _oldPrimaryKey; - private String _newPrimaryKey; - private Date _dataImportazione; - private boolean _esito; - private String _errorMessage; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/StatoImportazioneWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/StatoImportazioneWrapper.java deleted file mode 100644 index 2a91eda4..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/model/StatoImportazioneWrapper.java +++ /dev/null @@ -1,422 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model; - -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link StatoImportazione}. - *

- * - * @author 3FC - * @see StatoImportazione - * @generated - */ -public class StatoImportazioneWrapper implements StatoImportazione, - ModelWrapper { - public StatoImportazioneWrapper(StatoImportazione statoImportazione) { - _statoImportazione = statoImportazione; - } - - @Override - public Class getModelClass() { - return StatoImportazione.class; - } - - @Override - public String getModelClassName() { - return StatoImportazione.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("statoImportazioneId", getStatoImportazioneId()); - attributes.put("className", getClassName()); - attributes.put("oldPrimaryKey", getOldPrimaryKey()); - attributes.put("newPrimaryKey", getNewPrimaryKey()); - attributes.put("dataImportazione", getDataImportazione()); - attributes.put("esito", getEsito()); - attributes.put("errorMessage", getErrorMessage()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long statoImportazioneId = (Long)attributes.get("statoImportazioneId"); - - if (statoImportazioneId != null) { - setStatoImportazioneId(statoImportazioneId); - } - - String className = (String)attributes.get("className"); - - if (className != null) { - setClassName(className); - } - - String oldPrimaryKey = (String)attributes.get("oldPrimaryKey"); - - if (oldPrimaryKey != null) { - setOldPrimaryKey(oldPrimaryKey); - } - - String newPrimaryKey = (String)attributes.get("newPrimaryKey"); - - if (newPrimaryKey != null) { - setNewPrimaryKey(newPrimaryKey); - } - - Date dataImportazione = (Date)attributes.get("dataImportazione"); - - if (dataImportazione != null) { - setDataImportazione(dataImportazione); - } - - Boolean esito = (Boolean)attributes.get("esito"); - - if (esito != null) { - setEsito(esito); - } - - String errorMessage = (String)attributes.get("errorMessage"); - - if (errorMessage != null) { - setErrorMessage(errorMessage); - } - } - - /** - * Returns the primary key of this stato importazione. - * - * @return the primary key of this stato importazione - */ - @Override - public long getPrimaryKey() { - return _statoImportazione.getPrimaryKey(); - } - - /** - * Sets the primary key of this stato importazione. - * - * @param primaryKey the primary key of this stato importazione - */ - @Override - public void setPrimaryKey(long primaryKey) { - _statoImportazione.setPrimaryKey(primaryKey); - } - - /** - * Returns the stato importazione ID of this stato importazione. - * - * @return the stato importazione ID of this stato importazione - */ - @Override - public long getStatoImportazioneId() { - return _statoImportazione.getStatoImportazioneId(); - } - - /** - * Sets the stato importazione ID of this stato importazione. - * - * @param statoImportazioneId the stato importazione ID of this stato importazione - */ - @Override - public void setStatoImportazioneId(long statoImportazioneId) { - _statoImportazione.setStatoImportazioneId(statoImportazioneId); - } - - /** - * Returns the class name of this stato importazione. - * - * @return the class name of this stato importazione - */ - @Override - public java.lang.String getClassName() { - return _statoImportazione.getClassName(); - } - - /** - * Sets the class name of this stato importazione. - * - * @param className the class name of this stato importazione - */ - @Override - public void setClassName(java.lang.String className) { - _statoImportazione.setClassName(className); - } - - /** - * Returns the old primary key of this stato importazione. - * - * @return the old primary key of this stato importazione - */ - @Override - public java.lang.String getOldPrimaryKey() { - return _statoImportazione.getOldPrimaryKey(); - } - - /** - * Sets the old primary key of this stato importazione. - * - * @param oldPrimaryKey the old primary key of this stato importazione - */ - @Override - public void setOldPrimaryKey(java.lang.String oldPrimaryKey) { - _statoImportazione.setOldPrimaryKey(oldPrimaryKey); - } - - /** - * Returns the new primary key of this stato importazione. - * - * @return the new primary key of this stato importazione - */ - @Override - public java.lang.String getNewPrimaryKey() { - return _statoImportazione.getNewPrimaryKey(); - } - - /** - * Sets the new primary key of this stato importazione. - * - * @param newPrimaryKey the new primary key of this stato importazione - */ - @Override - public void setNewPrimaryKey(java.lang.String newPrimaryKey) { - _statoImportazione.setNewPrimaryKey(newPrimaryKey); - } - - /** - * Returns the data importazione of this stato importazione. - * - * @return the data importazione of this stato importazione - */ - @Override - public java.util.Date getDataImportazione() { - return _statoImportazione.getDataImportazione(); - } - - /** - * Sets the data importazione of this stato importazione. - * - * @param dataImportazione the data importazione of this stato importazione - */ - @Override - public void setDataImportazione(java.util.Date dataImportazione) { - _statoImportazione.setDataImportazione(dataImportazione); - } - - /** - * Returns the esito of this stato importazione. - * - * @return the esito of this stato importazione - */ - @Override - public boolean getEsito() { - return _statoImportazione.getEsito(); - } - - /** - * Returns true if this stato importazione is esito. - * - * @return true if this stato importazione is esito; false otherwise - */ - @Override - public boolean isEsito() { - return _statoImportazione.isEsito(); - } - - /** - * Sets whether this stato importazione is esito. - * - * @param esito the esito of this stato importazione - */ - @Override - public void setEsito(boolean esito) { - _statoImportazione.setEsito(esito); - } - - /** - * Returns the error message of this stato importazione. - * - * @return the error message of this stato importazione - */ - @Override - public java.lang.String getErrorMessage() { - return _statoImportazione.getErrorMessage(); - } - - /** - * Sets the error message of this stato importazione. - * - * @param errorMessage the error message of this stato importazione - */ - @Override - public void setErrorMessage(java.lang.String errorMessage) { - _statoImportazione.setErrorMessage(errorMessage); - } - - @Override - public boolean isNew() { - return _statoImportazione.isNew(); - } - - @Override - public void setNew(boolean n) { - _statoImportazione.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _statoImportazione.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _statoImportazione.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _statoImportazione.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _statoImportazione.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _statoImportazione.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _statoImportazione.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _statoImportazione.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _statoImportazione.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _statoImportazione.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new StatoImportazioneWrapper((StatoImportazione)_statoImportazione.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.importazione.model.StatoImportazione statoImportazione) { - return _statoImportazione.compareTo(statoImportazione); - } - - @Override - public int hashCode() { - return _statoImportazione.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _statoImportazione.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.importazione.model.StatoImportazione toEscapedModel() { - return new StatoImportazioneWrapper(_statoImportazione.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.importazione.model.StatoImportazione toUnescapedModel() { - return new StatoImportazioneWrapper(_statoImportazione.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _statoImportazione.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _statoImportazione.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _statoImportazione.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof StatoImportazioneWrapper)) { - return false; - } - - StatoImportazioneWrapper statoImportazioneWrapper = (StatoImportazioneWrapper)obj; - - if (Validator.equals(_statoImportazione, - statoImportazioneWrapper._statoImportazione)) { - return true; - } - - return false; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public StatoImportazione getWrappedStatoImportazione() { - return _statoImportazione; - } - - @Override - public StatoImportazione getWrappedModel() { - return _statoImportazione; - } - - @Override - public void resetOriginalValues() { - _statoImportazione.resetOriginalValues(); - } - - private StatoImportazione _statoImportazione; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoArtLeggeLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoArtLeggeLocalService.java deleted file mode 100644 index 20fe4750..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoArtLeggeLocalService.java +++ /dev/null @@ -1,256 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for BoArtLegge. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author 3FC - * @see BoArtLeggeLocalServiceUtil - * @see it.tref.liferay.portos.importazione.service.base.BoArtLeggeLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.BoArtLeggeLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface BoArtLeggeLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoArtLeggeLocalServiceUtil} to access the bo art legge local service. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.BoArtLeggeLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the bo art legge to the database. Also notifies the appropriate model listeners. - * - * @param boArtLegge the bo art legge - * @return the bo art legge that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.BoArtLegge addBoArtLegge( - it.tref.liferay.portos.importazione.model.BoArtLegge boArtLegge) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new bo art legge with the primary key. Does not add the bo art legge to the database. - * - * @param artLeggeId the primary key for the new bo art legge - * @return the new bo art legge - */ - public it.tref.liferay.portos.importazione.model.BoArtLegge createBoArtLegge( - long artLeggeId); - - /** - * Deletes the bo art legge with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param artLeggeId the primary key of the bo art legge - * @return the bo art legge that was removed - * @throws PortalException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.BoArtLegge deleteBoArtLegge( - long artLeggeId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the bo art legge from the database. Also notifies the appropriate model listeners. - * - * @param boArtLegge the bo art legge - * @return the bo art legge that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.BoArtLegge deleteBoArtLegge( - it.tref.liferay.portos.importazione.model.BoArtLegge boArtLegge) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoArtLegge fetchBoArtLegge( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo art legge with the primary key. - * - * @param artLeggeId the primary key of the bo art legge - * @return the bo art legge - * @throws PortalException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoArtLegge getBoArtLegge( - long artLeggeId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo art legges. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo art legges - * @param end the upper bound of the range of bo art legges (not inclusive) - * @return the range of bo art legges - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getBoArtLegges( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo art legges. - * - * @return the number of bo art legges - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getBoArtLeggesCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the bo art legge in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boArtLegge the bo art legge - * @return the bo art legge that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.BoArtLegge updateBoArtLegge( - it.tref.liferay.portos.importazione.model.BoArtLegge boArtLegge) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoArtLeggeLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoArtLeggeLocalServiceClp.java deleted file mode 100644 index 610b382f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoArtLeggeLocalServiceClp.java +++ /dev/null @@ -1,706 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author 3FC - * @generated - */ -public class BoArtLeggeLocalServiceClp implements BoArtLeggeLocalService { - public BoArtLeggeLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addBoArtLegge"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.BoArtLegge" - }; - - _methodName1 = "createBoArtLegge"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoArtLegge"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoArtLegge"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.BoArtLegge" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoArtLegge"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getBoArtLegge"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getBoArtLegges"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getBoArtLeggesCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateBoArtLegge"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.BoArtLegge" - }; - - _methodName16 = "getBeanIdentifier"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "setBeanIdentifier"; - - _methodParameterTypes17 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.importazione.model.BoArtLegge addBoArtLegge( - it.tref.liferay.portos.importazione.model.BoArtLegge boArtLegge) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(boArtLegge) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoArtLegge)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoArtLegge createBoArtLegge( - long artLeggeId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { artLeggeId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoArtLegge)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoArtLegge deleteBoArtLegge( - long artLeggeId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { artLeggeId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoArtLegge)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoArtLegge deleteBoArtLegge( - it.tref.liferay.portos.importazione.model.BoArtLegge boArtLegge) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(boArtLegge) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoArtLegge)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoArtLegge fetchBoArtLegge( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { artLeggeId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoArtLegge)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoArtLegge getBoArtLegge( - long artLeggeId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, new Object[] { artLeggeId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoArtLegge)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getBoArtLegges( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getBoArtLeggesCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoArtLegge updateBoArtLegge( - it.tref.liferay.portos.importazione.model.BoArtLegge boArtLegge) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(boArtLegge) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoArtLegge)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoArtLeggeLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoArtLeggeLocalServiceUtil.java deleted file mode 100644 index f59f9745..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoArtLeggeLocalServiceUtil.java +++ /dev/null @@ -1,308 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for BoArtLegge. This utility wraps - * {@link it.tref.liferay.portos.importazione.service.impl.BoArtLeggeLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author 3FC - * @see BoArtLeggeLocalService - * @see it.tref.liferay.portos.importazione.service.base.BoArtLeggeLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.BoArtLeggeLocalServiceImpl - * @generated - */ -public class BoArtLeggeLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.BoArtLeggeLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the bo art legge to the database. Also notifies the appropriate model listeners. - * - * @param boArtLegge the bo art legge - * @return the bo art legge that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoArtLegge addBoArtLegge( - it.tref.liferay.portos.importazione.model.BoArtLegge boArtLegge) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addBoArtLegge(boArtLegge); - } - - /** - * Creates a new bo art legge with the primary key. Does not add the bo art legge to the database. - * - * @param artLeggeId the primary key for the new bo art legge - * @return the new bo art legge - */ - public static it.tref.liferay.portos.importazione.model.BoArtLegge createBoArtLegge( - long artLeggeId) { - return getService().createBoArtLegge(artLeggeId); - } - - /** - * Deletes the bo art legge with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param artLeggeId the primary key of the bo art legge - * @return the bo art legge that was removed - * @throws PortalException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoArtLegge deleteBoArtLegge( - long artLeggeId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoArtLegge(artLeggeId); - } - - /** - * Deletes the bo art legge from the database. Also notifies the appropriate model listeners. - * - * @param boArtLegge the bo art legge - * @return the bo art legge that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoArtLegge deleteBoArtLegge( - it.tref.liferay.portos.importazione.model.BoArtLegge boArtLegge) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoArtLegge(boArtLegge); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.importazione.model.BoArtLegge fetchBoArtLegge( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoArtLegge(artLeggeId); - } - - /** - * Returns the bo art legge with the primary key. - * - * @param artLeggeId the primary key of the bo art legge - * @return the bo art legge - * @throws PortalException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoArtLegge getBoArtLegge( - long artLeggeId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoArtLegge(artLeggeId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the bo art legges. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo art legges - * @param end the upper bound of the range of bo art legges (not inclusive) - * @return the range of bo art legges - * @throws SystemException if a system exception occurred - */ - public static java.util.List getBoArtLegges( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoArtLegges(start, end); - } - - /** - * Returns the number of bo art legges. - * - * @return the number of bo art legges - * @throws SystemException if a system exception occurred - */ - public static int getBoArtLeggesCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoArtLeggesCount(); - } - - /** - * Updates the bo art legge in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boArtLegge the bo art legge - * @return the bo art legge that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoArtLegge updateBoArtLegge( - it.tref.liferay.portos.importazione.model.BoArtLegge boArtLegge) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateBoArtLegge(boArtLegge); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static BoArtLeggeLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - BoArtLeggeLocalService.class.getName()); - - if (invokableLocalService instanceof BoArtLeggeLocalService) { - _service = (BoArtLeggeLocalService)invokableLocalService; - } - else { - _service = new BoArtLeggeLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(BoArtLeggeLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(BoArtLeggeLocalService service) { - } - - private static BoArtLeggeLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoArtLeggeLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoArtLeggeLocalServiceWrapper.java deleted file mode 100644 index 05fbaca0..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoArtLeggeLocalServiceWrapper.java +++ /dev/null @@ -1,316 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link BoArtLeggeLocalService}. - * - * @author 3FC - * @see BoArtLeggeLocalService - * @generated - */ -public class BoArtLeggeLocalServiceWrapper implements BoArtLeggeLocalService, - ServiceWrapper { - public BoArtLeggeLocalServiceWrapper( - BoArtLeggeLocalService boArtLeggeLocalService) { - _boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Adds the bo art legge to the database. Also notifies the appropriate model listeners. - * - * @param boArtLegge the bo art legge - * @return the bo art legge that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoArtLegge addBoArtLegge( - it.tref.liferay.portos.importazione.model.BoArtLegge boArtLegge) - throws com.liferay.portal.kernel.exception.SystemException { - return _boArtLeggeLocalService.addBoArtLegge(boArtLegge); - } - - /** - * Creates a new bo art legge with the primary key. Does not add the bo art legge to the database. - * - * @param artLeggeId the primary key for the new bo art legge - * @return the new bo art legge - */ - @Override - public it.tref.liferay.portos.importazione.model.BoArtLegge createBoArtLegge( - long artLeggeId) { - return _boArtLeggeLocalService.createBoArtLegge(artLeggeId); - } - - /** - * Deletes the bo art legge with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param artLeggeId the primary key of the bo art legge - * @return the bo art legge that was removed - * @throws PortalException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoArtLegge deleteBoArtLegge( - long artLeggeId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boArtLeggeLocalService.deleteBoArtLegge(artLeggeId); - } - - /** - * Deletes the bo art legge from the database. Also notifies the appropriate model listeners. - * - * @param boArtLegge the bo art legge - * @return the bo art legge that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoArtLegge deleteBoArtLegge( - it.tref.liferay.portos.importazione.model.BoArtLegge boArtLegge) - throws com.liferay.portal.kernel.exception.SystemException { - return _boArtLeggeLocalService.deleteBoArtLegge(boArtLegge); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _boArtLeggeLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boArtLeggeLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _boArtLeggeLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _boArtLeggeLocalService.dynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boArtLeggeLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _boArtLeggeLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoArtLegge fetchBoArtLegge( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boArtLeggeLocalService.fetchBoArtLegge(artLeggeId); - } - - /** - * Returns the bo art legge with the primary key. - * - * @param artLeggeId the primary key of the bo art legge - * @return the bo art legge - * @throws PortalException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoArtLegge getBoArtLegge( - long artLeggeId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boArtLeggeLocalService.getBoArtLegge(artLeggeId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boArtLeggeLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the bo art legges. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo art legges - * @param end the upper bound of the range of bo art legges (not inclusive) - * @return the range of bo art legges - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getBoArtLegges( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _boArtLeggeLocalService.getBoArtLegges(start, end); - } - - /** - * Returns the number of bo art legges. - * - * @return the number of bo art legges - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoArtLeggesCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _boArtLeggeLocalService.getBoArtLeggesCount(); - } - - /** - * Updates the bo art legge in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boArtLegge the bo art legge - * @return the bo art legge that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoArtLegge updateBoArtLegge( - it.tref.liferay.portos.importazione.model.BoArtLegge boArtLegge) - throws com.liferay.portal.kernel.exception.SystemException { - return _boArtLeggeLocalService.updateBoArtLegge(boArtLegge); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _boArtLeggeLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _boArtLeggeLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _boArtLeggeLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public BoArtLeggeLocalService getWrappedBoArtLeggeLocalService() { - return _boArtLeggeLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedBoArtLeggeLocalService( - BoArtLeggeLocalService boArtLeggeLocalService) { - _boArtLeggeLocalService = boArtLeggeLocalService; - } - - @Override - public BoArtLeggeLocalService getWrappedService() { - return _boArtLeggeLocalService; - } - - @Override - public void setWrappedService(BoArtLeggeLocalService boArtLeggeLocalService) { - _boArtLeggeLocalService = boArtLeggeLocalService; - } - - private BoArtLeggeLocalService _boArtLeggeLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoAvvisoLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoAvvisoLocalService.java deleted file mode 100644 index f4cae252..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoAvvisoLocalService.java +++ /dev/null @@ -1,312 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for BoAvviso. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author 3FC - * @see BoAvvisoLocalServiceUtil - * @see it.tref.liferay.portos.importazione.service.base.BoAvvisoLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.BoAvvisoLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface BoAvvisoLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoAvvisoLocalServiceUtil} to access the bo avviso local service. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.BoAvvisoLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the bo avviso to the database. Also notifies the appropriate model listeners. - * - * @param boAvviso the bo avviso - * @return the bo avviso that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.BoAvviso addBoAvviso( - it.tref.liferay.portos.importazione.model.BoAvviso boAvviso) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new bo avviso with the primary key. Does not add the bo avviso to the database. - * - * @param avvisoId the primary key for the new bo avviso - * @return the new bo avviso - */ - public it.tref.liferay.portos.importazione.model.BoAvviso createBoAvviso( - long avvisoId); - - /** - * Deletes the bo avviso with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param avvisoId the primary key of the bo avviso - * @return the bo avviso that was removed - * @throws PortalException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.BoAvviso deleteBoAvviso( - long avvisoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the bo avviso from the database. Also notifies the appropriate model listeners. - * - * @param boAvviso the bo avviso - * @return the bo avviso that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.BoAvviso deleteBoAvviso( - it.tref.liferay.portos.importazione.model.BoAvviso boAvviso) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoAvviso fetchBoAvviso( - long avvisoId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo avviso with the matching UUID and company. - * - * @param uuid the bo avviso's UUID - * @param companyId the primary key of the company - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoAvviso fetchBoAvvisoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo avviso matching the UUID and group. - * - * @param uuid the bo avviso's UUID - * @param groupId the primary key of the group - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoAvviso fetchBoAvvisoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo avviso with the primary key. - * - * @param avvisoId the primary key of the bo avviso - * @return the bo avviso - * @throws PortalException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoAvviso getBoAvviso( - long avvisoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo avviso with the matching UUID and company. - * - * @param uuid the bo avviso's UUID - * @param companyId the primary key of the company - * @return the matching bo avviso - * @throws PortalException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoAvviso getBoAvvisoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo avviso matching the UUID and group. - * - * @param uuid the bo avviso's UUID - * @param groupId the primary key of the group - * @return the matching bo avviso - * @throws PortalException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoAvviso getBoAvvisoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo avvisos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of bo avvisos - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getBoAvvisos( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo avvisos. - * - * @return the number of bo avvisos - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getBoAvvisosCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the bo avviso in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boAvviso the bo avviso - * @return the bo avviso that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.BoAvviso updateBoAvviso( - it.tref.liferay.portos.importazione.model.BoAvviso boAvviso) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoAvvisoLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoAvvisoLocalServiceClp.java deleted file mode 100644 index 31b4e446..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoAvvisoLocalServiceClp.java +++ /dev/null @@ -1,859 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author 3FC - * @generated - */ -public class BoAvvisoLocalServiceClp implements BoAvvisoLocalService { - public BoAvvisoLocalServiceClp(InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addBoAvviso"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.BoAvviso" - }; - - _methodName1 = "createBoAvviso"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoAvviso"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoAvviso"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.BoAvviso" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoAvviso"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchBoAvvisoByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchBoAvvisoByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getBoAvviso"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getBoAvvisoByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getBoAvvisoByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getBoAvvisos"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getBoAvvisosCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateBoAvviso"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.importazione.model.BoAvviso" - }; - - _methodName20 = "getBeanIdentifier"; - - _methodParameterTypes20 = new String[] { }; - - _methodName21 = "setBeanIdentifier"; - - _methodParameterTypes21 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.importazione.model.BoAvviso addBoAvviso( - it.tref.liferay.portos.importazione.model.BoAvviso boAvviso) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(boAvviso) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoAvviso)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoAvviso createBoAvviso( - long avvisoId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { avvisoId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoAvviso)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoAvviso deleteBoAvviso( - long avvisoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { avvisoId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoAvviso)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoAvviso deleteBoAvviso( - it.tref.liferay.portos.importazione.model.BoAvviso boAvviso) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(boAvviso) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoAvviso)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoAvviso fetchBoAvviso( - long avvisoId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { avvisoId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoAvviso)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoAvviso fetchBoAvvisoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoAvviso)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoAvviso fetchBoAvvisoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoAvviso)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoAvviso getBoAvviso( - long avvisoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { avvisoId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoAvviso)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoAvviso getBoAvvisoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoAvviso)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoAvviso getBoAvvisoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoAvviso)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getBoAvvisos( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getBoAvvisosCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName18, - _methodParameterTypes18, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoAvviso updateBoAvviso( - it.tref.liferay.portos.importazione.model.BoAvviso boAvviso) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName19, - _methodParameterTypes19, - new Object[] { ClpSerializer.translateInput(boAvviso) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoAvviso)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName20, - _methodParameterTypes20, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName21, - _methodParameterTypes21, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName20; - private String[] _methodParameterTypes20; - private String _methodName21; - private String[] _methodParameterTypes21; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoAvvisoLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoAvvisoLocalServiceUtil.java deleted file mode 100644 index e27dcabb..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoAvvisoLocalServiceUtil.java +++ /dev/null @@ -1,368 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for BoAvviso. This utility wraps - * {@link it.tref.liferay.portos.importazione.service.impl.BoAvvisoLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author 3FC - * @see BoAvvisoLocalService - * @see it.tref.liferay.portos.importazione.service.base.BoAvvisoLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.BoAvvisoLocalServiceImpl - * @generated - */ -public class BoAvvisoLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.BoAvvisoLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the bo avviso to the database. Also notifies the appropriate model listeners. - * - * @param boAvviso the bo avviso - * @return the bo avviso that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso addBoAvviso( - it.tref.liferay.portos.importazione.model.BoAvviso boAvviso) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addBoAvviso(boAvviso); - } - - /** - * Creates a new bo avviso with the primary key. Does not add the bo avviso to the database. - * - * @param avvisoId the primary key for the new bo avviso - * @return the new bo avviso - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso createBoAvviso( - long avvisoId) { - return getService().createBoAvviso(avvisoId); - } - - /** - * Deletes the bo avviso with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param avvisoId the primary key of the bo avviso - * @return the bo avviso that was removed - * @throws PortalException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso deleteBoAvviso( - long avvisoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoAvviso(avvisoId); - } - - /** - * Deletes the bo avviso from the database. Also notifies the appropriate model listeners. - * - * @param boAvviso the bo avviso - * @return the bo avviso that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso deleteBoAvviso( - it.tref.liferay.portos.importazione.model.BoAvviso boAvviso) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoAvviso(boAvviso); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.importazione.model.BoAvviso fetchBoAvviso( - long avvisoId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoAvviso(avvisoId); - } - - /** - * Returns the bo avviso with the matching UUID and company. - * - * @param uuid the bo avviso's UUID - * @param companyId the primary key of the company - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso fetchBoAvvisoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoAvvisoByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the bo avviso matching the UUID and group. - * - * @param uuid the bo avviso's UUID - * @param groupId the primary key of the group - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso fetchBoAvvisoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoAvvisoByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns the bo avviso with the primary key. - * - * @param avvisoId the primary key of the bo avviso - * @return the bo avviso - * @throws PortalException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso getBoAvviso( - long avvisoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoAvviso(avvisoId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns the bo avviso with the matching UUID and company. - * - * @param uuid the bo avviso's UUID - * @param companyId the primary key of the company - * @return the matching bo avviso - * @throws PortalException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso getBoAvvisoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoAvvisoByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the bo avviso matching the UUID and group. - * - * @param uuid the bo avviso's UUID - * @param groupId the primary key of the group - * @return the matching bo avviso - * @throws PortalException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso getBoAvvisoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoAvvisoByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns a range of all the bo avvisos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List getBoAvvisos( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoAvvisos(start, end); - } - - /** - * Returns the number of bo avvisos. - * - * @return the number of bo avvisos - * @throws SystemException if a system exception occurred - */ - public static int getBoAvvisosCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoAvvisosCount(); - } - - /** - * Updates the bo avviso in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boAvviso the bo avviso - * @return the bo avviso that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso updateBoAvviso( - it.tref.liferay.portos.importazione.model.BoAvviso boAvviso) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateBoAvviso(boAvviso); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static BoAvvisoLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - BoAvvisoLocalService.class.getName()); - - if (invokableLocalService instanceof BoAvvisoLocalService) { - _service = (BoAvvisoLocalService)invokableLocalService; - } - else { - _service = new BoAvvisoLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(BoAvvisoLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(BoAvvisoLocalService service) { - } - - private static BoAvvisoLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoAvvisoLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoAvvisoLocalServiceWrapper.java deleted file mode 100644 index 237a7679..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoAvvisoLocalServiceWrapper.java +++ /dev/null @@ -1,381 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link BoAvvisoLocalService}. - * - * @author 3FC - * @see BoAvvisoLocalService - * @generated - */ -public class BoAvvisoLocalServiceWrapper implements BoAvvisoLocalService, - ServiceWrapper { - public BoAvvisoLocalServiceWrapper( - BoAvvisoLocalService boAvvisoLocalService) { - _boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Adds the bo avviso to the database. Also notifies the appropriate model listeners. - * - * @param boAvviso the bo avviso - * @return the bo avviso that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoAvviso addBoAvviso( - it.tref.liferay.portos.importazione.model.BoAvviso boAvviso) - throws com.liferay.portal.kernel.exception.SystemException { - return _boAvvisoLocalService.addBoAvviso(boAvviso); - } - - /** - * Creates a new bo avviso with the primary key. Does not add the bo avviso to the database. - * - * @param avvisoId the primary key for the new bo avviso - * @return the new bo avviso - */ - @Override - public it.tref.liferay.portos.importazione.model.BoAvviso createBoAvviso( - long avvisoId) { - return _boAvvisoLocalService.createBoAvviso(avvisoId); - } - - /** - * Deletes the bo avviso with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param avvisoId the primary key of the bo avviso - * @return the bo avviso that was removed - * @throws PortalException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoAvviso deleteBoAvviso( - long avvisoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boAvvisoLocalService.deleteBoAvviso(avvisoId); - } - - /** - * Deletes the bo avviso from the database. Also notifies the appropriate model listeners. - * - * @param boAvviso the bo avviso - * @return the bo avviso that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoAvviso deleteBoAvviso( - it.tref.liferay.portos.importazione.model.BoAvviso boAvviso) - throws com.liferay.portal.kernel.exception.SystemException { - return _boAvvisoLocalService.deleteBoAvviso(boAvviso); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _boAvvisoLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boAvvisoLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _boAvvisoLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _boAvvisoLocalService.dynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boAvvisoLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _boAvvisoLocalService.dynamicQueryCount(dynamicQuery, projection); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoAvviso fetchBoAvviso( - long avvisoId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boAvvisoLocalService.fetchBoAvviso(avvisoId); - } - - /** - * Returns the bo avviso with the matching UUID and company. - * - * @param uuid the bo avviso's UUID - * @param companyId the primary key of the company - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoAvviso fetchBoAvvisoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boAvvisoLocalService.fetchBoAvvisoByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the bo avviso matching the UUID and group. - * - * @param uuid the bo avviso's UUID - * @param groupId the primary key of the group - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoAvviso fetchBoAvvisoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boAvvisoLocalService.fetchBoAvvisoByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns the bo avviso with the primary key. - * - * @param avvisoId the primary key of the bo avviso - * @return the bo avviso - * @throws PortalException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoAvviso getBoAvviso( - long avvisoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boAvvisoLocalService.getBoAvviso(avvisoId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boAvvisoLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns the bo avviso with the matching UUID and company. - * - * @param uuid the bo avviso's UUID - * @param companyId the primary key of the company - * @return the matching bo avviso - * @throws PortalException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoAvviso getBoAvvisoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boAvvisoLocalService.getBoAvvisoByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the bo avviso matching the UUID and group. - * - * @param uuid the bo avviso's UUID - * @param groupId the primary key of the group - * @return the matching bo avviso - * @throws PortalException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoAvviso getBoAvvisoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boAvvisoLocalService.getBoAvvisoByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns a range of all the bo avvisos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getBoAvvisos( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _boAvvisoLocalService.getBoAvvisos(start, end); - } - - /** - * Returns the number of bo avvisos. - * - * @return the number of bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoAvvisosCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _boAvvisoLocalService.getBoAvvisosCount(); - } - - /** - * Updates the bo avviso in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boAvviso the bo avviso - * @return the bo avviso that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoAvviso updateBoAvviso( - it.tref.liferay.portos.importazione.model.BoAvviso boAvviso) - throws com.liferay.portal.kernel.exception.SystemException { - return _boAvvisoLocalService.updateBoAvviso(boAvviso); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _boAvvisoLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _boAvvisoLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _boAvvisoLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public BoAvvisoLocalService getWrappedBoAvvisoLocalService() { - return _boAvvisoLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedBoAvvisoLocalService( - BoAvvisoLocalService boAvvisoLocalService) { - _boAvvisoLocalService = boAvvisoLocalService; - } - - @Override - public BoAvvisoLocalService getWrappedService() { - return _boAvvisoLocalService; - } - - @Override - public void setWrappedService(BoAvvisoLocalService boAvvisoLocalService) { - _boAvvisoLocalService = boAvvisoLocalService; - } - - private BoAvvisoLocalService _boAvvisoLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoComuneLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoComuneLocalService.java deleted file mode 100644 index 040bcd3b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoComuneLocalService.java +++ /dev/null @@ -1,256 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for BoComune. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author 3FC - * @see BoComuneLocalServiceUtil - * @see it.tref.liferay.portos.importazione.service.base.BoComuneLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.BoComuneLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface BoComuneLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoComuneLocalServiceUtil} to access the bo comune local service. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.BoComuneLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the bo comune to the database. Also notifies the appropriate model listeners. - * - * @param boComune the bo comune - * @return the bo comune that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.BoComune addBoComune( - it.tref.liferay.portos.importazione.model.BoComune boComune) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new bo comune with the primary key. Does not add the bo comune to the database. - * - * @param comuneId the primary key for the new bo comune - * @return the new bo comune - */ - public it.tref.liferay.portos.importazione.model.BoComune createBoComune( - long comuneId); - - /** - * Deletes the bo comune with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param comuneId the primary key of the bo comune - * @return the bo comune that was removed - * @throws PortalException if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.BoComune deleteBoComune( - long comuneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the bo comune from the database. Also notifies the appropriate model listeners. - * - * @param boComune the bo comune - * @return the bo comune that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.BoComune deleteBoComune( - it.tref.liferay.portos.importazione.model.BoComune boComune) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoComune fetchBoComune( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo comune with the primary key. - * - * @param comuneId the primary key of the bo comune - * @return the bo comune - * @throws PortalException if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoComune getBoComune( - long comuneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo comunes - * @param end the upper bound of the range of bo comunes (not inclusive) - * @return the range of bo comunes - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getBoComunes( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo comunes. - * - * @return the number of bo comunes - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getBoComunesCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the bo comune in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boComune the bo comune - * @return the bo comune that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.BoComune updateBoComune( - it.tref.liferay.portos.importazione.model.BoComune boComune) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoComuneLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoComuneLocalServiceClp.java deleted file mode 100644 index f7a9a37d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoComuneLocalServiceClp.java +++ /dev/null @@ -1,705 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author 3FC - * @generated - */ -public class BoComuneLocalServiceClp implements BoComuneLocalService { - public BoComuneLocalServiceClp(InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addBoComune"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.BoComune" - }; - - _methodName1 = "createBoComune"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoComune"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoComune"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.BoComune" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoComune"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getBoComune"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getBoComunes"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getBoComunesCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateBoComune"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.BoComune" - }; - - _methodName16 = "getBeanIdentifier"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "setBeanIdentifier"; - - _methodParameterTypes17 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.importazione.model.BoComune addBoComune( - it.tref.liferay.portos.importazione.model.BoComune boComune) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(boComune) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoComune)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoComune createBoComune( - long comuneId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { comuneId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoComune)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoComune deleteBoComune( - long comuneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { comuneId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoComune)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoComune deleteBoComune( - it.tref.liferay.portos.importazione.model.BoComune boComune) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(boComune) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoComune)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoComune fetchBoComune( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { comuneId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoComune)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoComune getBoComune( - long comuneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, new Object[] { comuneId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoComune)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getBoComunes( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getBoComunesCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoComune updateBoComune( - it.tref.liferay.portos.importazione.model.BoComune boComune) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(boComune) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoComune)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoComuneLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoComuneLocalServiceUtil.java deleted file mode 100644 index c26aa89c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoComuneLocalServiceUtil.java +++ /dev/null @@ -1,308 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for BoComune. This utility wraps - * {@link it.tref.liferay.portos.importazione.service.impl.BoComuneLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author 3FC - * @see BoComuneLocalService - * @see it.tref.liferay.portos.importazione.service.base.BoComuneLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.BoComuneLocalServiceImpl - * @generated - */ -public class BoComuneLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.BoComuneLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the bo comune to the database. Also notifies the appropriate model listeners. - * - * @param boComune the bo comune - * @return the bo comune that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoComune addBoComune( - it.tref.liferay.portos.importazione.model.BoComune boComune) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addBoComune(boComune); - } - - /** - * Creates a new bo comune with the primary key. Does not add the bo comune to the database. - * - * @param comuneId the primary key for the new bo comune - * @return the new bo comune - */ - public static it.tref.liferay.portos.importazione.model.BoComune createBoComune( - long comuneId) { - return getService().createBoComune(comuneId); - } - - /** - * Deletes the bo comune with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param comuneId the primary key of the bo comune - * @return the bo comune that was removed - * @throws PortalException if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoComune deleteBoComune( - long comuneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoComune(comuneId); - } - - /** - * Deletes the bo comune from the database. Also notifies the appropriate model listeners. - * - * @param boComune the bo comune - * @return the bo comune that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoComune deleteBoComune( - it.tref.liferay.portos.importazione.model.BoComune boComune) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoComune(boComune); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.importazione.model.BoComune fetchBoComune( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoComune(comuneId); - } - - /** - * Returns the bo comune with the primary key. - * - * @param comuneId the primary key of the bo comune - * @return the bo comune - * @throws PortalException if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoComune getBoComune( - long comuneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoComune(comuneId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the bo comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo comunes - * @param end the upper bound of the range of bo comunes (not inclusive) - * @return the range of bo comunes - * @throws SystemException if a system exception occurred - */ - public static java.util.List getBoComunes( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoComunes(start, end); - } - - /** - * Returns the number of bo comunes. - * - * @return the number of bo comunes - * @throws SystemException if a system exception occurred - */ - public static int getBoComunesCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoComunesCount(); - } - - /** - * Updates the bo comune in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boComune the bo comune - * @return the bo comune that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoComune updateBoComune( - it.tref.liferay.portos.importazione.model.BoComune boComune) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateBoComune(boComune); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static BoComuneLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - BoComuneLocalService.class.getName()); - - if (invokableLocalService instanceof BoComuneLocalService) { - _service = (BoComuneLocalService)invokableLocalService; - } - else { - _service = new BoComuneLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(BoComuneLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(BoComuneLocalService service) { - } - - private static BoComuneLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoComuneLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoComuneLocalServiceWrapper.java deleted file mode 100644 index ee6565dc..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoComuneLocalServiceWrapper.java +++ /dev/null @@ -1,315 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link BoComuneLocalService}. - * - * @author 3FC - * @see BoComuneLocalService - * @generated - */ -public class BoComuneLocalServiceWrapper implements BoComuneLocalService, - ServiceWrapper { - public BoComuneLocalServiceWrapper( - BoComuneLocalService boComuneLocalService) { - _boComuneLocalService = boComuneLocalService; - } - - /** - * Adds the bo comune to the database. Also notifies the appropriate model listeners. - * - * @param boComune the bo comune - * @return the bo comune that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoComune addBoComune( - it.tref.liferay.portos.importazione.model.BoComune boComune) - throws com.liferay.portal.kernel.exception.SystemException { - return _boComuneLocalService.addBoComune(boComune); - } - - /** - * Creates a new bo comune with the primary key. Does not add the bo comune to the database. - * - * @param comuneId the primary key for the new bo comune - * @return the new bo comune - */ - @Override - public it.tref.liferay.portos.importazione.model.BoComune createBoComune( - long comuneId) { - return _boComuneLocalService.createBoComune(comuneId); - } - - /** - * Deletes the bo comune with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param comuneId the primary key of the bo comune - * @return the bo comune that was removed - * @throws PortalException if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoComune deleteBoComune( - long comuneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boComuneLocalService.deleteBoComune(comuneId); - } - - /** - * Deletes the bo comune from the database. Also notifies the appropriate model listeners. - * - * @param boComune the bo comune - * @return the bo comune that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoComune deleteBoComune( - it.tref.liferay.portos.importazione.model.BoComune boComune) - throws com.liferay.portal.kernel.exception.SystemException { - return _boComuneLocalService.deleteBoComune(boComune); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _boComuneLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boComuneLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _boComuneLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _boComuneLocalService.dynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boComuneLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _boComuneLocalService.dynamicQueryCount(dynamicQuery, projection); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoComune fetchBoComune( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boComuneLocalService.fetchBoComune(comuneId); - } - - /** - * Returns the bo comune with the primary key. - * - * @param comuneId the primary key of the bo comune - * @return the bo comune - * @throws PortalException if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoComune getBoComune( - long comuneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boComuneLocalService.getBoComune(comuneId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boComuneLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the bo comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo comunes - * @param end the upper bound of the range of bo comunes (not inclusive) - * @return the range of bo comunes - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getBoComunes( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _boComuneLocalService.getBoComunes(start, end); - } - - /** - * Returns the number of bo comunes. - * - * @return the number of bo comunes - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoComunesCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _boComuneLocalService.getBoComunesCount(); - } - - /** - * Updates the bo comune in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boComune the bo comune - * @return the bo comune that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoComune updateBoComune( - it.tref.liferay.portos.importazione.model.BoComune boComune) - throws com.liferay.portal.kernel.exception.SystemException { - return _boComuneLocalService.updateBoComune(boComune); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _boComuneLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _boComuneLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _boComuneLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public BoComuneLocalService getWrappedBoComuneLocalService() { - return _boComuneLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedBoComuneLocalService( - BoComuneLocalService boComuneLocalService) { - _boComuneLocalService = boComuneLocalService; - } - - @Override - public BoComuneLocalService getWrappedService() { - return _boComuneLocalService; - } - - @Override - public void setWrappedService(BoComuneLocalService boComuneLocalService) { - _boComuneLocalService = boComuneLocalService; - } - - private BoComuneLocalService _boComuneLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoConfigurazioneLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoConfigurazioneLocalService.java deleted file mode 100644 index 1ffe7349..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoConfigurazioneLocalService.java +++ /dev/null @@ -1,316 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for BoConfigurazione. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author 3FC - * @see BoConfigurazioneLocalServiceUtil - * @see it.tref.liferay.portos.importazione.service.base.BoConfigurazioneLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.BoConfigurazioneLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface BoConfigurazioneLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoConfigurazioneLocalServiceUtil} to access the bo configurazione local service. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.BoConfigurazioneLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the bo configurazione to the database. Also notifies the appropriate model listeners. - * - * @param boConfigurazione the bo configurazione - * @return the bo configurazione that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.BoConfigurazione addBoConfigurazione( - it.tref.liferay.portos.importazione.model.BoConfigurazione boConfigurazione) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new bo configurazione with the primary key. Does not add the bo configurazione to the database. - * - * @param configurazioneId the primary key for the new bo configurazione - * @return the new bo configurazione - */ - public it.tref.liferay.portos.importazione.model.BoConfigurazione createBoConfigurazione( - long configurazioneId); - - /** - * Deletes the bo configurazione with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param configurazioneId the primary key of the bo configurazione - * @return the bo configurazione that was removed - * @throws PortalException if a bo configurazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.BoConfigurazione deleteBoConfigurazione( - long configurazioneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the bo configurazione from the database. Also notifies the appropriate model listeners. - * - * @param boConfigurazione the bo configurazione - * @return the bo configurazione that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.BoConfigurazione deleteBoConfigurazione( - it.tref.liferay.portos.importazione.model.BoConfigurazione boConfigurazione) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoConfigurazione fetchBoConfigurazione( - long configurazioneId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo configurazione with the matching UUID and company. - * - * @param uuid the bo configurazione's UUID - * @param companyId the primary key of the company - * @return the matching bo configurazione, or null if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoConfigurazione fetchBoConfigurazioneByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo configurazione matching the UUID and group. - * - * @param uuid the bo configurazione's UUID - * @param groupId the primary key of the group - * @return the matching bo configurazione, or null if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoConfigurazione fetchBoConfigurazioneByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo configurazione with the primary key. - * - * @param configurazioneId the primary key of the bo configurazione - * @return the bo configurazione - * @throws PortalException if a bo configurazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoConfigurazione getBoConfigurazione( - long configurazioneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo configurazione with the matching UUID and company. - * - * @param uuid the bo configurazione's UUID - * @param companyId the primary key of the company - * @return the matching bo configurazione - * @throws PortalException if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoConfigurazione getBoConfigurazioneByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo configurazione matching the UUID and group. - * - * @param uuid the bo configurazione's UUID - * @param groupId the primary key of the group - * @return the matching bo configurazione - * @throws PortalException if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoConfigurazione getBoConfigurazioneByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo configuraziones. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo configuraziones - * @param end the upper bound of the range of bo configuraziones (not inclusive) - * @return the range of bo configuraziones - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getBoConfiguraziones( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo configuraziones. - * - * @return the number of bo configuraziones - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getBoConfigurazionesCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the bo configurazione in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boConfigurazione the bo configurazione - * @return the bo configurazione that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.BoConfigurazione updateBoConfigurazione( - it.tref.liferay.portos.importazione.model.BoConfigurazione boConfigurazione) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; - - public long findByC_G_ChiaveLong(long companyId, long groupId, - java.lang.String chiave) - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoConfigurazioneLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoConfigurazioneLocalServiceClp.java deleted file mode 100644 index 2e4c48fc..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoConfigurazioneLocalServiceClp.java +++ /dev/null @@ -1,908 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author 3FC - * @generated - */ -public class BoConfigurazioneLocalServiceClp - implements BoConfigurazioneLocalService { - public BoConfigurazioneLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addBoConfigurazione"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.BoConfigurazione" - }; - - _methodName1 = "createBoConfigurazione"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoConfigurazione"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoConfigurazione"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.BoConfigurazione" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoConfigurazione"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchBoConfigurazioneByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchBoConfigurazioneByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getBoConfigurazione"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getBoConfigurazioneByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getBoConfigurazioneByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getBoConfiguraziones"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getBoConfigurazionesCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateBoConfigurazione"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.importazione.model.BoConfigurazione" - }; - - _methodName20 = "getBeanIdentifier"; - - _methodParameterTypes20 = new String[] { }; - - _methodName21 = "setBeanIdentifier"; - - _methodParameterTypes21 = new String[] { "java.lang.String" }; - - _methodName23 = "findByC_G_ChiaveLong"; - - _methodParameterTypes23 = new String[] { - "long", "long", "java.lang.String" - }; - } - - @Override - public it.tref.liferay.portos.importazione.model.BoConfigurazione addBoConfigurazione( - it.tref.liferay.portos.importazione.model.BoConfigurazione boConfigurazione) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput( - boConfigurazione) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoConfigurazione)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoConfigurazione createBoConfigurazione( - long configurazioneId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { configurazioneId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoConfigurazione)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoConfigurazione deleteBoConfigurazione( - long configurazioneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { configurazioneId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoConfigurazione)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoConfigurazione deleteBoConfigurazione( - it.tref.liferay.portos.importazione.model.BoConfigurazione boConfigurazione) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput( - boConfigurazione) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoConfigurazione)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoConfigurazione fetchBoConfigurazione( - long configurazioneId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { configurazioneId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoConfigurazione)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoConfigurazione fetchBoConfigurazioneByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoConfigurazione)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoConfigurazione fetchBoConfigurazioneByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoConfigurazione)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoConfigurazione getBoConfigurazione( - long configurazioneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { configurazioneId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoConfigurazione)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoConfigurazione getBoConfigurazioneByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoConfigurazione)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoConfigurazione getBoConfigurazioneByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoConfigurazione)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getBoConfiguraziones( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getBoConfigurazionesCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName18, - _methodParameterTypes18, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoConfigurazione updateBoConfigurazione( - it.tref.liferay.portos.importazione.model.BoConfigurazione boConfigurazione) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName19, - _methodParameterTypes19, - new Object[] { ClpSerializer.translateInput( - boConfigurazione) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoConfigurazione)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName20, - _methodParameterTypes20, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName21, - _methodParameterTypes21, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - @Override - public long findByC_G_ChiaveLong(long companyId, long groupId, - java.lang.String chiave) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName23, - _methodParameterTypes23, - new Object[] { - companyId, - - groupId, - - ClpSerializer.translateInput(chiave) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName20; - private String[] _methodParameterTypes20; - private String _methodName21; - private String[] _methodParameterTypes21; - private String _methodName23; - private String[] _methodParameterTypes23; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoConfigurazioneLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoConfigurazioneLocalServiceUtil.java deleted file mode 100644 index 418d311c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoConfigurazioneLocalServiceUtil.java +++ /dev/null @@ -1,376 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for BoConfigurazione. This utility wraps - * {@link it.tref.liferay.portos.importazione.service.impl.BoConfigurazioneLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author 3FC - * @see BoConfigurazioneLocalService - * @see it.tref.liferay.portos.importazione.service.base.BoConfigurazioneLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.BoConfigurazioneLocalServiceImpl - * @generated - */ -public class BoConfigurazioneLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.BoConfigurazioneLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the bo configurazione to the database. Also notifies the appropriate model listeners. - * - * @param boConfigurazione the bo configurazione - * @return the bo configurazione that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoConfigurazione addBoConfigurazione( - it.tref.liferay.portos.importazione.model.BoConfigurazione boConfigurazione) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addBoConfigurazione(boConfigurazione); - } - - /** - * Creates a new bo configurazione with the primary key. Does not add the bo configurazione to the database. - * - * @param configurazioneId the primary key for the new bo configurazione - * @return the new bo configurazione - */ - public static it.tref.liferay.portos.importazione.model.BoConfigurazione createBoConfigurazione( - long configurazioneId) { - return getService().createBoConfigurazione(configurazioneId); - } - - /** - * Deletes the bo configurazione with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param configurazioneId the primary key of the bo configurazione - * @return the bo configurazione that was removed - * @throws PortalException if a bo configurazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoConfigurazione deleteBoConfigurazione( - long configurazioneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoConfigurazione(configurazioneId); - } - - /** - * Deletes the bo configurazione from the database. Also notifies the appropriate model listeners. - * - * @param boConfigurazione the bo configurazione - * @return the bo configurazione that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoConfigurazione deleteBoConfigurazione( - it.tref.liferay.portos.importazione.model.BoConfigurazione boConfigurazione) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoConfigurazione(boConfigurazione); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.importazione.model.BoConfigurazione fetchBoConfigurazione( - long configurazioneId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoConfigurazione(configurazioneId); - } - - /** - * Returns the bo configurazione with the matching UUID and company. - * - * @param uuid the bo configurazione's UUID - * @param companyId the primary key of the company - * @return the matching bo configurazione, or null if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoConfigurazione fetchBoConfigurazioneByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .fetchBoConfigurazioneByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the bo configurazione matching the UUID and group. - * - * @param uuid the bo configurazione's UUID - * @param groupId the primary key of the group - * @return the matching bo configurazione, or null if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoConfigurazione fetchBoConfigurazioneByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoConfigurazioneByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns the bo configurazione with the primary key. - * - * @param configurazioneId the primary key of the bo configurazione - * @return the bo configurazione - * @throws PortalException if a bo configurazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoConfigurazione getBoConfigurazione( - long configurazioneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoConfigurazione(configurazioneId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns the bo configurazione with the matching UUID and company. - * - * @param uuid the bo configurazione's UUID - * @param companyId the primary key of the company - * @return the matching bo configurazione - * @throws PortalException if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoConfigurazione getBoConfigurazioneByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService() - .getBoConfigurazioneByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the bo configurazione matching the UUID and group. - * - * @param uuid the bo configurazione's UUID - * @param groupId the primary key of the group - * @return the matching bo configurazione - * @throws PortalException if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoConfigurazione getBoConfigurazioneByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoConfigurazioneByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns a range of all the bo configuraziones. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo configuraziones - * @param end the upper bound of the range of bo configuraziones (not inclusive) - * @return the range of bo configuraziones - * @throws SystemException if a system exception occurred - */ - public static java.util.List getBoConfiguraziones( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoConfiguraziones(start, end); - } - - /** - * Returns the number of bo configuraziones. - * - * @return the number of bo configuraziones - * @throws SystemException if a system exception occurred - */ - public static int getBoConfigurazionesCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoConfigurazionesCount(); - } - - /** - * Updates the bo configurazione in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boConfigurazione the bo configurazione - * @return the bo configurazione that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoConfigurazione updateBoConfigurazione( - it.tref.liferay.portos.importazione.model.BoConfigurazione boConfigurazione) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateBoConfigurazione(boConfigurazione); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static long findByC_G_ChiaveLong(long companyId, long groupId, - java.lang.String chiave) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().findByC_G_ChiaveLong(companyId, groupId, chiave); - } - - public static void clearService() { - _service = null; - } - - public static BoConfigurazioneLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - BoConfigurazioneLocalService.class.getName()); - - if (invokableLocalService instanceof BoConfigurazioneLocalService) { - _service = (BoConfigurazioneLocalService)invokableLocalService; - } - else { - _service = new BoConfigurazioneLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(BoConfigurazioneLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(BoConfigurazioneLocalService service) { - } - - private static BoConfigurazioneLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoConfigurazioneLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoConfigurazioneLocalServiceWrapper.java deleted file mode 100644 index 8308b3ed..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoConfigurazioneLocalServiceWrapper.java +++ /dev/null @@ -1,395 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link BoConfigurazioneLocalService}. - * - * @author 3FC - * @see BoConfigurazioneLocalService - * @generated - */ -public class BoConfigurazioneLocalServiceWrapper - implements BoConfigurazioneLocalService, - ServiceWrapper { - public BoConfigurazioneLocalServiceWrapper( - BoConfigurazioneLocalService boConfigurazioneLocalService) { - _boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Adds the bo configurazione to the database. Also notifies the appropriate model listeners. - * - * @param boConfigurazione the bo configurazione - * @return the bo configurazione that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoConfigurazione addBoConfigurazione( - it.tref.liferay.portos.importazione.model.BoConfigurazione boConfigurazione) - throws com.liferay.portal.kernel.exception.SystemException { - return _boConfigurazioneLocalService.addBoConfigurazione(boConfigurazione); - } - - /** - * Creates a new bo configurazione with the primary key. Does not add the bo configurazione to the database. - * - * @param configurazioneId the primary key for the new bo configurazione - * @return the new bo configurazione - */ - @Override - public it.tref.liferay.portos.importazione.model.BoConfigurazione createBoConfigurazione( - long configurazioneId) { - return _boConfigurazioneLocalService.createBoConfigurazione(configurazioneId); - } - - /** - * Deletes the bo configurazione with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param configurazioneId the primary key of the bo configurazione - * @return the bo configurazione that was removed - * @throws PortalException if a bo configurazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoConfigurazione deleteBoConfigurazione( - long configurazioneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boConfigurazioneLocalService.deleteBoConfigurazione(configurazioneId); - } - - /** - * Deletes the bo configurazione from the database. Also notifies the appropriate model listeners. - * - * @param boConfigurazione the bo configurazione - * @return the bo configurazione that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoConfigurazione deleteBoConfigurazione( - it.tref.liferay.portos.importazione.model.BoConfigurazione boConfigurazione) - throws com.liferay.portal.kernel.exception.SystemException { - return _boConfigurazioneLocalService.deleteBoConfigurazione(boConfigurazione); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _boConfigurazioneLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boConfigurazioneLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _boConfigurazioneLocalService.dynamicQuery(dynamicQuery, start, - end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _boConfigurazioneLocalService.dynamicQuery(dynamicQuery, start, - end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boConfigurazioneLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _boConfigurazioneLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoConfigurazione fetchBoConfigurazione( - long configurazioneId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boConfigurazioneLocalService.fetchBoConfigurazione(configurazioneId); - } - - /** - * Returns the bo configurazione with the matching UUID and company. - * - * @param uuid the bo configurazione's UUID - * @param companyId the primary key of the company - * @return the matching bo configurazione, or null if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoConfigurazione fetchBoConfigurazioneByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boConfigurazioneLocalService.fetchBoConfigurazioneByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the bo configurazione matching the UUID and group. - * - * @param uuid the bo configurazione's UUID - * @param groupId the primary key of the group - * @return the matching bo configurazione, or null if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoConfigurazione fetchBoConfigurazioneByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boConfigurazioneLocalService.fetchBoConfigurazioneByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns the bo configurazione with the primary key. - * - * @param configurazioneId the primary key of the bo configurazione - * @return the bo configurazione - * @throws PortalException if a bo configurazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoConfigurazione getBoConfigurazione( - long configurazioneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boConfigurazioneLocalService.getBoConfigurazione(configurazioneId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boConfigurazioneLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns the bo configurazione with the matching UUID and company. - * - * @param uuid the bo configurazione's UUID - * @param companyId the primary key of the company - * @return the matching bo configurazione - * @throws PortalException if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoConfigurazione getBoConfigurazioneByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boConfigurazioneLocalService.getBoConfigurazioneByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the bo configurazione matching the UUID and group. - * - * @param uuid the bo configurazione's UUID - * @param groupId the primary key of the group - * @return the matching bo configurazione - * @throws PortalException if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoConfigurazione getBoConfigurazioneByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boConfigurazioneLocalService.getBoConfigurazioneByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns a range of all the bo configuraziones. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo configuraziones - * @param end the upper bound of the range of bo configuraziones (not inclusive) - * @return the range of bo configuraziones - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getBoConfiguraziones( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _boConfigurazioneLocalService.getBoConfiguraziones(start, end); - } - - /** - * Returns the number of bo configuraziones. - * - * @return the number of bo configuraziones - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoConfigurazionesCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _boConfigurazioneLocalService.getBoConfigurazionesCount(); - } - - /** - * Updates the bo configurazione in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boConfigurazione the bo configurazione - * @return the bo configurazione that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoConfigurazione updateBoConfigurazione( - it.tref.liferay.portos.importazione.model.BoConfigurazione boConfigurazione) - throws com.liferay.portal.kernel.exception.SystemException { - return _boConfigurazioneLocalService.updateBoConfigurazione(boConfigurazione); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _boConfigurazioneLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _boConfigurazioneLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _boConfigurazioneLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - @Override - public long findByC_G_ChiaveLong(long companyId, long groupId, - java.lang.String chiave) - throws com.liferay.portal.kernel.exception.SystemException { - return _boConfigurazioneLocalService.findByC_G_ChiaveLong(companyId, - groupId, chiave); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public BoConfigurazioneLocalService getWrappedBoConfigurazioneLocalService() { - return _boConfigurazioneLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedBoConfigurazioneLocalService( - BoConfigurazioneLocalService boConfigurazioneLocalService) { - _boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - @Override - public BoConfigurazioneLocalService getWrappedService() { - return _boConfigurazioneLocalService; - } - - @Override - public void setWrappedService( - BoConfigurazioneLocalService boConfigurazioneLocalService) { - _boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - private BoConfigurazioneLocalService _boConfigurazioneLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoDettPraticaLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoDettPraticaLocalService.java deleted file mode 100644 index 8ffa71be..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoDettPraticaLocalService.java +++ /dev/null @@ -1,312 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for BoDettPratica. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author 3FC - * @see BoDettPraticaLocalServiceUtil - * @see it.tref.liferay.portos.importazione.service.base.BoDettPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.BoDettPraticaLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface BoDettPraticaLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoDettPraticaLocalServiceUtil} to access the bo dett pratica local service. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.BoDettPraticaLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the bo dett pratica to the database. Also notifies the appropriate model listeners. - * - * @param boDettPratica the bo dett pratica - * @return the bo dett pratica that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.BoDettPratica addBoDettPratica( - it.tref.liferay.portos.importazione.model.BoDettPratica boDettPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new bo dett pratica with the primary key. Does not add the bo dett pratica to the database. - * - * @param dettPraticaId the primary key for the new bo dett pratica - * @return the new bo dett pratica - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica createBoDettPratica( - long dettPraticaId); - - /** - * Deletes the bo dett pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param dettPraticaId the primary key of the bo dett pratica - * @return the bo dett pratica that was removed - * @throws PortalException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.BoDettPratica deleteBoDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the bo dett pratica from the database. Also notifies the appropriate model listeners. - * - * @param boDettPratica the bo dett pratica - * @return the bo dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.BoDettPratica deleteBoDettPratica( - it.tref.liferay.portos.importazione.model.BoDettPratica boDettPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoDettPratica fetchBoDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett pratica with the matching UUID and company. - * - * @param uuid the bo dett pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoDettPratica fetchBoDettPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett pratica matching the UUID and group. - * - * @param uuid the bo dett pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoDettPratica fetchBoDettPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett pratica with the primary key. - * - * @param dettPraticaId the primary key of the bo dett pratica - * @return the bo dett pratica - * @throws PortalException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoDettPratica getBoDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett pratica with the matching UUID and company. - * - * @param uuid the bo dett pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo dett pratica - * @throws PortalException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoDettPratica getBoDettPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett pratica matching the UUID and group. - * - * @param uuid the bo dett pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo dett pratica - * @throws PortalException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoDettPratica getBoDettPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getBoDettPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo dett praticas. - * - * @return the number of bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getBoDettPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the bo dett pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boDettPratica the bo dett pratica - * @return the bo dett pratica that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.BoDettPratica updateBoDettPratica( - it.tref.liferay.portos.importazione.model.BoDettPratica boDettPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoDettPraticaLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoDettPraticaLocalServiceClp.java deleted file mode 100644 index 62eea09f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoDettPraticaLocalServiceClp.java +++ /dev/null @@ -1,860 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author 3FC - * @generated - */ -public class BoDettPraticaLocalServiceClp implements BoDettPraticaLocalService { - public BoDettPraticaLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addBoDettPratica"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.BoDettPratica" - }; - - _methodName1 = "createBoDettPratica"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoDettPratica"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoDettPratica"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.BoDettPratica" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoDettPratica"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchBoDettPraticaByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchBoDettPraticaByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getBoDettPratica"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getBoDettPraticaByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getBoDettPraticaByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getBoDettPraticas"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getBoDettPraticasCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateBoDettPratica"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.importazione.model.BoDettPratica" - }; - - _methodName20 = "getBeanIdentifier"; - - _methodParameterTypes20 = new String[] { }; - - _methodName21 = "setBeanIdentifier"; - - _methodParameterTypes21 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.importazione.model.BoDettPratica addBoDettPratica( - it.tref.liferay.portos.importazione.model.BoDettPratica boDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(boDettPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoDettPratica createBoDettPratica( - long dettPraticaId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { dettPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoDettPratica deleteBoDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { dettPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoDettPratica deleteBoDettPratica( - it.tref.liferay.portos.importazione.model.BoDettPratica boDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(boDettPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoDettPratica fetchBoDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { dettPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoDettPratica fetchBoDettPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoDettPratica fetchBoDettPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoDettPratica getBoDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { dettPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoDettPratica getBoDettPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoDettPratica getBoDettPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getBoDettPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getBoDettPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName18, - _methodParameterTypes18, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoDettPratica updateBoDettPratica( - it.tref.liferay.portos.importazione.model.BoDettPratica boDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName19, - _methodParameterTypes19, - new Object[] { ClpSerializer.translateInput(boDettPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName20, - _methodParameterTypes20, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName21, - _methodParameterTypes21, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName20; - private String[] _methodParameterTypes20; - private String _methodName21; - private String[] _methodParameterTypes21; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoDettPraticaLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoDettPraticaLocalServiceUtil.java deleted file mode 100644 index c217bd44..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoDettPraticaLocalServiceUtil.java +++ /dev/null @@ -1,368 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for BoDettPratica. This utility wraps - * {@link it.tref.liferay.portos.importazione.service.impl.BoDettPraticaLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author 3FC - * @see BoDettPraticaLocalService - * @see it.tref.liferay.portos.importazione.service.base.BoDettPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.BoDettPraticaLocalServiceImpl - * @generated - */ -public class BoDettPraticaLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.BoDettPraticaLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the bo dett pratica to the database. Also notifies the appropriate model listeners. - * - * @param boDettPratica the bo dett pratica - * @return the bo dett pratica that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica addBoDettPratica( - it.tref.liferay.portos.importazione.model.BoDettPratica boDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addBoDettPratica(boDettPratica); - } - - /** - * Creates a new bo dett pratica with the primary key. Does not add the bo dett pratica to the database. - * - * @param dettPraticaId the primary key for the new bo dett pratica - * @return the new bo dett pratica - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica createBoDettPratica( - long dettPraticaId) { - return getService().createBoDettPratica(dettPraticaId); - } - - /** - * Deletes the bo dett pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param dettPraticaId the primary key of the bo dett pratica - * @return the bo dett pratica that was removed - * @throws PortalException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica deleteBoDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoDettPratica(dettPraticaId); - } - - /** - * Deletes the bo dett pratica from the database. Also notifies the appropriate model listeners. - * - * @param boDettPratica the bo dett pratica - * @return the bo dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica deleteBoDettPratica( - it.tref.liferay.portos.importazione.model.BoDettPratica boDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoDettPratica(boDettPratica); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.importazione.model.BoDettPratica fetchBoDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoDettPratica(dettPraticaId); - } - - /** - * Returns the bo dett pratica with the matching UUID and company. - * - * @param uuid the bo dett pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica fetchBoDettPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoDettPraticaByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the bo dett pratica matching the UUID and group. - * - * @param uuid the bo dett pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica fetchBoDettPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoDettPraticaByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns the bo dett pratica with the primary key. - * - * @param dettPraticaId the primary key of the bo dett pratica - * @return the bo dett pratica - * @throws PortalException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica getBoDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoDettPratica(dettPraticaId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns the bo dett pratica with the matching UUID and company. - * - * @param uuid the bo dett pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo dett pratica - * @throws PortalException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica getBoDettPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoDettPraticaByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the bo dett pratica matching the UUID and group. - * - * @param uuid the bo dett pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo dett pratica - * @throws PortalException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica getBoDettPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoDettPraticaByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns a range of all the bo dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List getBoDettPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoDettPraticas(start, end); - } - - /** - * Returns the number of bo dett praticas. - * - * @return the number of bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static int getBoDettPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoDettPraticasCount(); - } - - /** - * Updates the bo dett pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boDettPratica the bo dett pratica - * @return the bo dett pratica that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica updateBoDettPratica( - it.tref.liferay.portos.importazione.model.BoDettPratica boDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateBoDettPratica(boDettPratica); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static BoDettPraticaLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - BoDettPraticaLocalService.class.getName()); - - if (invokableLocalService instanceof BoDettPraticaLocalService) { - _service = (BoDettPraticaLocalService)invokableLocalService; - } - else { - _service = new BoDettPraticaLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(BoDettPraticaLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(BoDettPraticaLocalService service) { - } - - private static BoDettPraticaLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoDettPraticaLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoDettPraticaLocalServiceWrapper.java deleted file mode 100644 index c56ddf76..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoDettPraticaLocalServiceWrapper.java +++ /dev/null @@ -1,386 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link BoDettPraticaLocalService}. - * - * @author 3FC - * @see BoDettPraticaLocalService - * @generated - */ -public class BoDettPraticaLocalServiceWrapper - implements BoDettPraticaLocalService, - ServiceWrapper { - public BoDettPraticaLocalServiceWrapper( - BoDettPraticaLocalService boDettPraticaLocalService) { - _boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Adds the bo dett pratica to the database. Also notifies the appropriate model listeners. - * - * @param boDettPratica the bo dett pratica - * @return the bo dett pratica that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoDettPratica addBoDettPratica( - it.tref.liferay.portos.importazione.model.BoDettPratica boDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.addBoDettPratica(boDettPratica); - } - - /** - * Creates a new bo dett pratica with the primary key. Does not add the bo dett pratica to the database. - * - * @param dettPraticaId the primary key for the new bo dett pratica - * @return the new bo dett pratica - */ - @Override - public it.tref.liferay.portos.importazione.model.BoDettPratica createBoDettPratica( - long dettPraticaId) { - return _boDettPraticaLocalService.createBoDettPratica(dettPraticaId); - } - - /** - * Deletes the bo dett pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param dettPraticaId the primary key of the bo dett pratica - * @return the bo dett pratica that was removed - * @throws PortalException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoDettPratica deleteBoDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.deleteBoDettPratica(dettPraticaId); - } - - /** - * Deletes the bo dett pratica from the database. Also notifies the appropriate model listeners. - * - * @param boDettPratica the bo dett pratica - * @return the bo dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoDettPratica deleteBoDettPratica( - it.tref.liferay.portos.importazione.model.BoDettPratica boDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.deleteBoDettPratica(boDettPratica); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _boDettPraticaLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.dynamicQuery(dynamicQuery, start, - end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoDettPratica fetchBoDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.fetchBoDettPratica(dettPraticaId); - } - - /** - * Returns the bo dett pratica with the matching UUID and company. - * - * @param uuid the bo dett pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoDettPratica fetchBoDettPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.fetchBoDettPraticaByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the bo dett pratica matching the UUID and group. - * - * @param uuid the bo dett pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoDettPratica fetchBoDettPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.fetchBoDettPraticaByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns the bo dett pratica with the primary key. - * - * @param dettPraticaId the primary key of the bo dett pratica - * @return the bo dett pratica - * @throws PortalException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoDettPratica getBoDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.getBoDettPratica(dettPraticaId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns the bo dett pratica with the matching UUID and company. - * - * @param uuid the bo dett pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo dett pratica - * @throws PortalException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoDettPratica getBoDettPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.getBoDettPraticaByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the bo dett pratica matching the UUID and group. - * - * @param uuid the bo dett pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo dett pratica - * @throws PortalException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoDettPratica getBoDettPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.getBoDettPraticaByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns a range of all the bo dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getBoDettPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.getBoDettPraticas(start, end); - } - - /** - * Returns the number of bo dett praticas. - * - * @return the number of bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoDettPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.getBoDettPraticasCount(); - } - - /** - * Updates the bo dett pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boDettPratica the bo dett pratica - * @return the bo dett pratica that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoDettPratica updateBoDettPratica( - it.tref.liferay.portos.importazione.model.BoDettPratica boDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.updateBoDettPratica(boDettPratica); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _boDettPraticaLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _boDettPraticaLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _boDettPraticaLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public BoDettPraticaLocalService getWrappedBoDettPraticaLocalService() { - return _boDettPraticaLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedBoDettPraticaLocalService( - BoDettPraticaLocalService boDettPraticaLocalService) { - _boDettPraticaLocalService = boDettPraticaLocalService; - } - - @Override - public BoDettPraticaLocalService getWrappedService() { - return _boDettPraticaLocalService; - } - - @Override - public void setWrappedService( - BoDettPraticaLocalService boDettPraticaLocalService) { - _boDettPraticaLocalService = boDettPraticaLocalService; - } - - private BoDettPraticaLocalService _boDettPraticaLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoDocPraticaLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoDocPraticaLocalService.java deleted file mode 100644 index 7cc9825d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoDocPraticaLocalService.java +++ /dev/null @@ -1,312 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for BoDocPratica. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author 3FC - * @see BoDocPraticaLocalServiceUtil - * @see it.tref.liferay.portos.importazione.service.base.BoDocPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.BoDocPraticaLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface BoDocPraticaLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoDocPraticaLocalServiceUtil} to access the bo doc pratica local service. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.BoDocPraticaLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the bo doc pratica to the database. Also notifies the appropriate model listeners. - * - * @param boDocPratica the bo doc pratica - * @return the bo doc pratica that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.BoDocPratica addBoDocPratica( - it.tref.liferay.portos.importazione.model.BoDocPratica boDocPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new bo doc pratica with the primary key. Does not add the bo doc pratica to the database. - * - * @param docPraticaId the primary key for the new bo doc pratica - * @return the new bo doc pratica - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica createBoDocPratica( - long docPraticaId); - - /** - * Deletes the bo doc pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param docPraticaId the primary key of the bo doc pratica - * @return the bo doc pratica that was removed - * @throws PortalException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.BoDocPratica deleteBoDocPratica( - long docPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the bo doc pratica from the database. Also notifies the appropriate model listeners. - * - * @param boDocPratica the bo doc pratica - * @return the bo doc pratica that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.BoDocPratica deleteBoDocPratica( - it.tref.liferay.portos.importazione.model.BoDocPratica boDocPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoDocPratica fetchBoDocPratica( - long docPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc pratica with the matching UUID and company. - * - * @param uuid the bo doc pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoDocPratica fetchBoDocPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc pratica matching the UUID and group. - * - * @param uuid the bo doc pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoDocPratica fetchBoDocPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc pratica with the primary key. - * - * @param docPraticaId the primary key of the bo doc pratica - * @return the bo doc pratica - * @throws PortalException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoDocPratica getBoDocPratica( - long docPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc pratica with the matching UUID and company. - * - * @param uuid the bo doc pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo doc pratica - * @throws PortalException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoDocPratica getBoDocPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc pratica matching the UUID and group. - * - * @param uuid the bo doc pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo doc pratica - * @throws PortalException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoDocPratica getBoDocPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo doc praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getBoDocPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo doc praticas. - * - * @return the number of bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getBoDocPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the bo doc pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boDocPratica the bo doc pratica - * @return the bo doc pratica that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.BoDocPratica updateBoDocPratica( - it.tref.liferay.portos.importazione.model.BoDocPratica boDocPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoDocPraticaLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoDocPraticaLocalServiceClp.java deleted file mode 100644 index 09aa7eaf..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoDocPraticaLocalServiceClp.java +++ /dev/null @@ -1,860 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author 3FC - * @generated - */ -public class BoDocPraticaLocalServiceClp implements BoDocPraticaLocalService { - public BoDocPraticaLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addBoDocPratica"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.BoDocPratica" - }; - - _methodName1 = "createBoDocPratica"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoDocPratica"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoDocPratica"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.BoDocPratica" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoDocPratica"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchBoDocPraticaByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchBoDocPraticaByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getBoDocPratica"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getBoDocPraticaByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getBoDocPraticaByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getBoDocPraticas"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getBoDocPraticasCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateBoDocPratica"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.importazione.model.BoDocPratica" - }; - - _methodName20 = "getBeanIdentifier"; - - _methodParameterTypes20 = new String[] { }; - - _methodName21 = "setBeanIdentifier"; - - _methodParameterTypes21 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.importazione.model.BoDocPratica addBoDocPratica( - it.tref.liferay.portos.importazione.model.BoDocPratica boDocPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(boDocPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoDocPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoDocPratica createBoDocPratica( - long docPraticaId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { docPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoDocPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoDocPratica deleteBoDocPratica( - long docPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { docPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoDocPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoDocPratica deleteBoDocPratica( - it.tref.liferay.portos.importazione.model.BoDocPratica boDocPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(boDocPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoDocPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoDocPratica fetchBoDocPratica( - long docPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { docPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoDocPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoDocPratica fetchBoDocPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoDocPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoDocPratica fetchBoDocPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoDocPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoDocPratica getBoDocPratica( - long docPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { docPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoDocPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoDocPratica getBoDocPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoDocPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoDocPratica getBoDocPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoDocPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getBoDocPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getBoDocPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName18, - _methodParameterTypes18, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoDocPratica updateBoDocPratica( - it.tref.liferay.portos.importazione.model.BoDocPratica boDocPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName19, - _methodParameterTypes19, - new Object[] { ClpSerializer.translateInput(boDocPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoDocPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName20, - _methodParameterTypes20, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName21, - _methodParameterTypes21, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName20; - private String[] _methodParameterTypes20; - private String _methodName21; - private String[] _methodParameterTypes21; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoDocPraticaLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoDocPraticaLocalServiceUtil.java deleted file mode 100644 index f489e519..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoDocPraticaLocalServiceUtil.java +++ /dev/null @@ -1,368 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for BoDocPratica. This utility wraps - * {@link it.tref.liferay.portos.importazione.service.impl.BoDocPraticaLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author 3FC - * @see BoDocPraticaLocalService - * @see it.tref.liferay.portos.importazione.service.base.BoDocPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.BoDocPraticaLocalServiceImpl - * @generated - */ -public class BoDocPraticaLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.BoDocPraticaLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the bo doc pratica to the database. Also notifies the appropriate model listeners. - * - * @param boDocPratica the bo doc pratica - * @return the bo doc pratica that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica addBoDocPratica( - it.tref.liferay.portos.importazione.model.BoDocPratica boDocPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addBoDocPratica(boDocPratica); - } - - /** - * Creates a new bo doc pratica with the primary key. Does not add the bo doc pratica to the database. - * - * @param docPraticaId the primary key for the new bo doc pratica - * @return the new bo doc pratica - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica createBoDocPratica( - long docPraticaId) { - return getService().createBoDocPratica(docPraticaId); - } - - /** - * Deletes the bo doc pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param docPraticaId the primary key of the bo doc pratica - * @return the bo doc pratica that was removed - * @throws PortalException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica deleteBoDocPratica( - long docPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoDocPratica(docPraticaId); - } - - /** - * Deletes the bo doc pratica from the database. Also notifies the appropriate model listeners. - * - * @param boDocPratica the bo doc pratica - * @return the bo doc pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica deleteBoDocPratica( - it.tref.liferay.portos.importazione.model.BoDocPratica boDocPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoDocPratica(boDocPratica); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.importazione.model.BoDocPratica fetchBoDocPratica( - long docPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoDocPratica(docPraticaId); - } - - /** - * Returns the bo doc pratica with the matching UUID and company. - * - * @param uuid the bo doc pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica fetchBoDocPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoDocPraticaByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the bo doc pratica matching the UUID and group. - * - * @param uuid the bo doc pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica fetchBoDocPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoDocPraticaByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns the bo doc pratica with the primary key. - * - * @param docPraticaId the primary key of the bo doc pratica - * @return the bo doc pratica - * @throws PortalException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica getBoDocPratica( - long docPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoDocPratica(docPraticaId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns the bo doc pratica with the matching UUID and company. - * - * @param uuid the bo doc pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo doc pratica - * @throws PortalException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica getBoDocPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoDocPraticaByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the bo doc pratica matching the UUID and group. - * - * @param uuid the bo doc pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo doc pratica - * @throws PortalException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica getBoDocPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoDocPraticaByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns a range of all the bo doc praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List getBoDocPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoDocPraticas(start, end); - } - - /** - * Returns the number of bo doc praticas. - * - * @return the number of bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static int getBoDocPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoDocPraticasCount(); - } - - /** - * Updates the bo doc pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boDocPratica the bo doc pratica - * @return the bo doc pratica that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica updateBoDocPratica( - it.tref.liferay.portos.importazione.model.BoDocPratica boDocPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateBoDocPratica(boDocPratica); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static BoDocPraticaLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - BoDocPraticaLocalService.class.getName()); - - if (invokableLocalService instanceof BoDocPraticaLocalService) { - _service = (BoDocPraticaLocalService)invokableLocalService; - } - else { - _service = new BoDocPraticaLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(BoDocPraticaLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(BoDocPraticaLocalService service) { - } - - private static BoDocPraticaLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoDocPraticaLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoDocPraticaLocalServiceWrapper.java deleted file mode 100644 index 00bfb937..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoDocPraticaLocalServiceWrapper.java +++ /dev/null @@ -1,385 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link BoDocPraticaLocalService}. - * - * @author 3FC - * @see BoDocPraticaLocalService - * @generated - */ -public class BoDocPraticaLocalServiceWrapper implements BoDocPraticaLocalService, - ServiceWrapper { - public BoDocPraticaLocalServiceWrapper( - BoDocPraticaLocalService boDocPraticaLocalService) { - _boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Adds the bo doc pratica to the database. Also notifies the appropriate model listeners. - * - * @param boDocPratica the bo doc pratica - * @return the bo doc pratica that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoDocPratica addBoDocPratica( - it.tref.liferay.portos.importazione.model.BoDocPratica boDocPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDocPraticaLocalService.addBoDocPratica(boDocPratica); - } - - /** - * Creates a new bo doc pratica with the primary key. Does not add the bo doc pratica to the database. - * - * @param docPraticaId the primary key for the new bo doc pratica - * @return the new bo doc pratica - */ - @Override - public it.tref.liferay.portos.importazione.model.BoDocPratica createBoDocPratica( - long docPraticaId) { - return _boDocPraticaLocalService.createBoDocPratica(docPraticaId); - } - - /** - * Deletes the bo doc pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param docPraticaId the primary key of the bo doc pratica - * @return the bo doc pratica that was removed - * @throws PortalException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoDocPratica deleteBoDocPratica( - long docPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boDocPraticaLocalService.deleteBoDocPratica(docPraticaId); - } - - /** - * Deletes the bo doc pratica from the database. Also notifies the appropriate model listeners. - * - * @param boDocPratica the bo doc pratica - * @return the bo doc pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoDocPratica deleteBoDocPratica( - it.tref.liferay.portos.importazione.model.BoDocPratica boDocPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDocPraticaLocalService.deleteBoDocPratica(boDocPratica); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _boDocPraticaLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDocPraticaLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _boDocPraticaLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDocPraticaLocalService.dynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDocPraticaLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDocPraticaLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoDocPratica fetchBoDocPratica( - long docPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDocPraticaLocalService.fetchBoDocPratica(docPraticaId); - } - - /** - * Returns the bo doc pratica with the matching UUID and company. - * - * @param uuid the bo doc pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoDocPratica fetchBoDocPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDocPraticaLocalService.fetchBoDocPraticaByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the bo doc pratica matching the UUID and group. - * - * @param uuid the bo doc pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoDocPratica fetchBoDocPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDocPraticaLocalService.fetchBoDocPraticaByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns the bo doc pratica with the primary key. - * - * @param docPraticaId the primary key of the bo doc pratica - * @return the bo doc pratica - * @throws PortalException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoDocPratica getBoDocPratica( - long docPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boDocPraticaLocalService.getBoDocPratica(docPraticaId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boDocPraticaLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns the bo doc pratica with the matching UUID and company. - * - * @param uuid the bo doc pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo doc pratica - * @throws PortalException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoDocPratica getBoDocPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boDocPraticaLocalService.getBoDocPraticaByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the bo doc pratica matching the UUID and group. - * - * @param uuid the bo doc pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo doc pratica - * @throws PortalException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoDocPratica getBoDocPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boDocPraticaLocalService.getBoDocPraticaByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns a range of all the bo doc praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getBoDocPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDocPraticaLocalService.getBoDocPraticas(start, end); - } - - /** - * Returns the number of bo doc praticas. - * - * @return the number of bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoDocPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _boDocPraticaLocalService.getBoDocPraticasCount(); - } - - /** - * Updates the bo doc pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boDocPratica the bo doc pratica - * @return the bo doc pratica that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoDocPratica updateBoDocPratica( - it.tref.liferay.portos.importazione.model.BoDocPratica boDocPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDocPraticaLocalService.updateBoDocPratica(boDocPratica); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _boDocPraticaLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _boDocPraticaLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _boDocPraticaLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public BoDocPraticaLocalService getWrappedBoDocPraticaLocalService() { - return _boDocPraticaLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedBoDocPraticaLocalService( - BoDocPraticaLocalService boDocPraticaLocalService) { - _boDocPraticaLocalService = boDocPraticaLocalService; - } - - @Override - public BoDocPraticaLocalService getWrappedService() { - return _boDocPraticaLocalService; - } - - @Override - public void setWrappedService( - BoDocPraticaLocalService boDocPraticaLocalService) { - _boDocPraticaLocalService = boDocPraticaLocalService; - } - - private BoDocPraticaLocalService _boDocPraticaLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoIntPraticaLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoIntPraticaLocalService.java deleted file mode 100644 index be7b699a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoIntPraticaLocalService.java +++ /dev/null @@ -1,312 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for BoIntPratica. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author 3FC - * @see BoIntPraticaLocalServiceUtil - * @see it.tref.liferay.portos.importazione.service.base.BoIntPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.BoIntPraticaLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface BoIntPraticaLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoIntPraticaLocalServiceUtil} to access the bo int pratica local service. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.BoIntPraticaLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the bo int pratica to the database. Also notifies the appropriate model listeners. - * - * @param boIntPratica the bo int pratica - * @return the bo int pratica that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.BoIntPratica addBoIntPratica( - it.tref.liferay.portos.importazione.model.BoIntPratica boIntPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new bo int pratica with the primary key. Does not add the bo int pratica to the database. - * - * @param intPraticaId the primary key for the new bo int pratica - * @return the new bo int pratica - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica createBoIntPratica( - long intPraticaId); - - /** - * Deletes the bo int pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param intPraticaId the primary key of the bo int pratica - * @return the bo int pratica that was removed - * @throws PortalException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.BoIntPratica deleteBoIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the bo int pratica from the database. Also notifies the appropriate model listeners. - * - * @param boIntPratica the bo int pratica - * @return the bo int pratica that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.BoIntPratica deleteBoIntPratica( - it.tref.liferay.portos.importazione.model.BoIntPratica boIntPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoIntPratica fetchBoIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo int pratica with the matching UUID and company. - * - * @param uuid the bo int pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoIntPratica fetchBoIntPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo int pratica matching the UUID and group. - * - * @param uuid the bo int pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoIntPratica fetchBoIntPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo int pratica with the primary key. - * - * @param intPraticaId the primary key of the bo int pratica - * @return the bo int pratica - * @throws PortalException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoIntPratica getBoIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo int pratica with the matching UUID and company. - * - * @param uuid the bo int pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo int pratica - * @throws PortalException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoIntPratica getBoIntPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo int pratica matching the UUID and group. - * - * @param uuid the bo int pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo int pratica - * @throws PortalException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoIntPratica getBoIntPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of bo int praticas - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getBoIntPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo int praticas. - * - * @return the number of bo int praticas - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getBoIntPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the bo int pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boIntPratica the bo int pratica - * @return the bo int pratica that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.BoIntPratica updateBoIntPratica( - it.tref.liferay.portos.importazione.model.BoIntPratica boIntPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoIntPraticaLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoIntPraticaLocalServiceClp.java deleted file mode 100644 index 265f2e23..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoIntPraticaLocalServiceClp.java +++ /dev/null @@ -1,860 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author 3FC - * @generated - */ -public class BoIntPraticaLocalServiceClp implements BoIntPraticaLocalService { - public BoIntPraticaLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addBoIntPratica"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.BoIntPratica" - }; - - _methodName1 = "createBoIntPratica"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoIntPratica"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoIntPratica"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.BoIntPratica" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoIntPratica"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchBoIntPraticaByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchBoIntPraticaByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getBoIntPratica"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getBoIntPraticaByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getBoIntPraticaByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getBoIntPraticas"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getBoIntPraticasCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateBoIntPratica"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.importazione.model.BoIntPratica" - }; - - _methodName20 = "getBeanIdentifier"; - - _methodParameterTypes20 = new String[] { }; - - _methodName21 = "setBeanIdentifier"; - - _methodParameterTypes21 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.importazione.model.BoIntPratica addBoIntPratica( - it.tref.liferay.portos.importazione.model.BoIntPratica boIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(boIntPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoIntPratica createBoIntPratica( - long intPraticaId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { intPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoIntPratica deleteBoIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { intPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoIntPratica deleteBoIntPratica( - it.tref.liferay.portos.importazione.model.BoIntPratica boIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(boIntPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoIntPratica fetchBoIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { intPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoIntPratica fetchBoIntPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoIntPratica fetchBoIntPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoIntPratica getBoIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { intPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoIntPratica getBoIntPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoIntPratica getBoIntPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getBoIntPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getBoIntPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName18, - _methodParameterTypes18, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoIntPratica updateBoIntPratica( - it.tref.liferay.portos.importazione.model.BoIntPratica boIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName19, - _methodParameterTypes19, - new Object[] { ClpSerializer.translateInput(boIntPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName20, - _methodParameterTypes20, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName21, - _methodParameterTypes21, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName20; - private String[] _methodParameterTypes20; - private String _methodName21; - private String[] _methodParameterTypes21; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoIntPraticaLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoIntPraticaLocalServiceUtil.java deleted file mode 100644 index e0bf315b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoIntPraticaLocalServiceUtil.java +++ /dev/null @@ -1,368 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for BoIntPratica. This utility wraps - * {@link it.tref.liferay.portos.importazione.service.impl.BoIntPraticaLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author 3FC - * @see BoIntPraticaLocalService - * @see it.tref.liferay.portos.importazione.service.base.BoIntPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.BoIntPraticaLocalServiceImpl - * @generated - */ -public class BoIntPraticaLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.BoIntPraticaLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the bo int pratica to the database. Also notifies the appropriate model listeners. - * - * @param boIntPratica the bo int pratica - * @return the bo int pratica that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica addBoIntPratica( - it.tref.liferay.portos.importazione.model.BoIntPratica boIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addBoIntPratica(boIntPratica); - } - - /** - * Creates a new bo int pratica with the primary key. Does not add the bo int pratica to the database. - * - * @param intPraticaId the primary key for the new bo int pratica - * @return the new bo int pratica - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica createBoIntPratica( - long intPraticaId) { - return getService().createBoIntPratica(intPraticaId); - } - - /** - * Deletes the bo int pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param intPraticaId the primary key of the bo int pratica - * @return the bo int pratica that was removed - * @throws PortalException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica deleteBoIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoIntPratica(intPraticaId); - } - - /** - * Deletes the bo int pratica from the database. Also notifies the appropriate model listeners. - * - * @param boIntPratica the bo int pratica - * @return the bo int pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica deleteBoIntPratica( - it.tref.liferay.portos.importazione.model.BoIntPratica boIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoIntPratica(boIntPratica); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.importazione.model.BoIntPratica fetchBoIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoIntPratica(intPraticaId); - } - - /** - * Returns the bo int pratica with the matching UUID and company. - * - * @param uuid the bo int pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica fetchBoIntPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoIntPraticaByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the bo int pratica matching the UUID and group. - * - * @param uuid the bo int pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica fetchBoIntPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoIntPraticaByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns the bo int pratica with the primary key. - * - * @param intPraticaId the primary key of the bo int pratica - * @return the bo int pratica - * @throws PortalException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica getBoIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoIntPratica(intPraticaId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns the bo int pratica with the matching UUID and company. - * - * @param uuid the bo int pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo int pratica - * @throws PortalException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica getBoIntPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoIntPraticaByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the bo int pratica matching the UUID and group. - * - * @param uuid the bo int pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo int pratica - * @throws PortalException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica getBoIntPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoIntPraticaByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns a range of all the bo int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List getBoIntPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoIntPraticas(start, end); - } - - /** - * Returns the number of bo int praticas. - * - * @return the number of bo int praticas - * @throws SystemException if a system exception occurred - */ - public static int getBoIntPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoIntPraticasCount(); - } - - /** - * Updates the bo int pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boIntPratica the bo int pratica - * @return the bo int pratica that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica updateBoIntPratica( - it.tref.liferay.portos.importazione.model.BoIntPratica boIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateBoIntPratica(boIntPratica); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static BoIntPraticaLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - BoIntPraticaLocalService.class.getName()); - - if (invokableLocalService instanceof BoIntPraticaLocalService) { - _service = (BoIntPraticaLocalService)invokableLocalService; - } - else { - _service = new BoIntPraticaLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(BoIntPraticaLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(BoIntPraticaLocalService service) { - } - - private static BoIntPraticaLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoIntPraticaLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoIntPraticaLocalServiceWrapper.java deleted file mode 100644 index 1da6b007..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoIntPraticaLocalServiceWrapper.java +++ /dev/null @@ -1,385 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link BoIntPraticaLocalService}. - * - * @author 3FC - * @see BoIntPraticaLocalService - * @generated - */ -public class BoIntPraticaLocalServiceWrapper implements BoIntPraticaLocalService, - ServiceWrapper { - public BoIntPraticaLocalServiceWrapper( - BoIntPraticaLocalService boIntPraticaLocalService) { - _boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Adds the bo int pratica to the database. Also notifies the appropriate model listeners. - * - * @param boIntPratica the bo int pratica - * @return the bo int pratica that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoIntPratica addBoIntPratica( - it.tref.liferay.portos.importazione.model.BoIntPratica boIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boIntPraticaLocalService.addBoIntPratica(boIntPratica); - } - - /** - * Creates a new bo int pratica with the primary key. Does not add the bo int pratica to the database. - * - * @param intPraticaId the primary key for the new bo int pratica - * @return the new bo int pratica - */ - @Override - public it.tref.liferay.portos.importazione.model.BoIntPratica createBoIntPratica( - long intPraticaId) { - return _boIntPraticaLocalService.createBoIntPratica(intPraticaId); - } - - /** - * Deletes the bo int pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param intPraticaId the primary key of the bo int pratica - * @return the bo int pratica that was removed - * @throws PortalException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoIntPratica deleteBoIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boIntPraticaLocalService.deleteBoIntPratica(intPraticaId); - } - - /** - * Deletes the bo int pratica from the database. Also notifies the appropriate model listeners. - * - * @param boIntPratica the bo int pratica - * @return the bo int pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoIntPratica deleteBoIntPratica( - it.tref.liferay.portos.importazione.model.BoIntPratica boIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boIntPraticaLocalService.deleteBoIntPratica(boIntPratica); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _boIntPraticaLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boIntPraticaLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _boIntPraticaLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _boIntPraticaLocalService.dynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boIntPraticaLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _boIntPraticaLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoIntPratica fetchBoIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boIntPraticaLocalService.fetchBoIntPratica(intPraticaId); - } - - /** - * Returns the bo int pratica with the matching UUID and company. - * - * @param uuid the bo int pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoIntPratica fetchBoIntPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boIntPraticaLocalService.fetchBoIntPraticaByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the bo int pratica matching the UUID and group. - * - * @param uuid the bo int pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoIntPratica fetchBoIntPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boIntPraticaLocalService.fetchBoIntPraticaByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns the bo int pratica with the primary key. - * - * @param intPraticaId the primary key of the bo int pratica - * @return the bo int pratica - * @throws PortalException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoIntPratica getBoIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boIntPraticaLocalService.getBoIntPratica(intPraticaId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boIntPraticaLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns the bo int pratica with the matching UUID and company. - * - * @param uuid the bo int pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo int pratica - * @throws PortalException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoIntPratica getBoIntPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boIntPraticaLocalService.getBoIntPraticaByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the bo int pratica matching the UUID and group. - * - * @param uuid the bo int pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo int pratica - * @throws PortalException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoIntPratica getBoIntPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boIntPraticaLocalService.getBoIntPraticaByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns a range of all the bo int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getBoIntPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _boIntPraticaLocalService.getBoIntPraticas(start, end); - } - - /** - * Returns the number of bo int praticas. - * - * @return the number of bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoIntPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _boIntPraticaLocalService.getBoIntPraticasCount(); - } - - /** - * Updates the bo int pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boIntPratica the bo int pratica - * @return the bo int pratica that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoIntPratica updateBoIntPratica( - it.tref.liferay.portos.importazione.model.BoIntPratica boIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boIntPraticaLocalService.updateBoIntPratica(boIntPratica); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _boIntPraticaLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _boIntPraticaLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _boIntPraticaLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public BoIntPraticaLocalService getWrappedBoIntPraticaLocalService() { - return _boIntPraticaLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedBoIntPraticaLocalService( - BoIntPraticaLocalService boIntPraticaLocalService) { - _boIntPraticaLocalService = boIntPraticaLocalService; - } - - @Override - public BoIntPraticaLocalService getWrappedService() { - return _boIntPraticaLocalService; - } - - @Override - public void setWrappedService( - BoIntPraticaLocalService boIntPraticaLocalService) { - _boIntPraticaLocalService = boIntPraticaLocalService; - } - - private BoIntPraticaLocalService _boIntPraticaLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoProblemiPraticaLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoProblemiPraticaLocalService.java deleted file mode 100644 index 60a2e18f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoProblemiPraticaLocalService.java +++ /dev/null @@ -1,256 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for BoProblemiPratica. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author 3FC - * @see BoProblemiPraticaLocalServiceUtil - * @see it.tref.liferay.portos.importazione.service.base.BoProblemiPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.BoProblemiPraticaLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface BoProblemiPraticaLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoProblemiPraticaLocalServiceUtil} to access the bo problemi pratica local service. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.BoProblemiPraticaLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the bo problemi pratica to the database. Also notifies the appropriate model listeners. - * - * @param boProblemiPratica the bo problemi pratica - * @return the bo problemi pratica that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.BoProblemiPratica addBoProblemiPratica( - it.tref.liferay.portos.importazione.model.BoProblemiPratica boProblemiPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new bo problemi pratica with the primary key. Does not add the bo problemi pratica to the database. - * - * @param problemiPraticaId the primary key for the new bo problemi pratica - * @return the new bo problemi pratica - */ - public it.tref.liferay.portos.importazione.model.BoProblemiPratica createBoProblemiPratica( - long problemiPraticaId); - - /** - * Deletes the bo problemi pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param problemiPraticaId the primary key of the bo problemi pratica - * @return the bo problemi pratica that was removed - * @throws PortalException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.BoProblemiPratica deleteBoProblemiPratica( - long problemiPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the bo problemi pratica from the database. Also notifies the appropriate model listeners. - * - * @param boProblemiPratica the bo problemi pratica - * @return the bo problemi pratica that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.BoProblemiPratica deleteBoProblemiPratica( - it.tref.liferay.portos.importazione.model.BoProblemiPratica boProblemiPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoProblemiPratica fetchBoProblemiPratica( - long problemiPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo problemi pratica with the primary key. - * - * @param problemiPraticaId the primary key of the bo problemi pratica - * @return the bo problemi pratica - * @throws PortalException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoProblemiPratica getBoProblemiPratica( - long problemiPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo problemi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @return the range of bo problemi praticas - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getBoProblemiPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo problemi praticas. - * - * @return the number of bo problemi praticas - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getBoProblemiPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the bo problemi pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boProblemiPratica the bo problemi pratica - * @return the bo problemi pratica that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.BoProblemiPratica updateBoProblemiPratica( - it.tref.liferay.portos.importazione.model.BoProblemiPratica boProblemiPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoProblemiPraticaLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoProblemiPraticaLocalServiceClp.java deleted file mode 100644 index c3ceff4d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoProblemiPraticaLocalServiceClp.java +++ /dev/null @@ -1,710 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author 3FC - * @generated - */ -public class BoProblemiPraticaLocalServiceClp - implements BoProblemiPraticaLocalService { - public BoProblemiPraticaLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addBoProblemiPratica"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.BoProblemiPratica" - }; - - _methodName1 = "createBoProblemiPratica"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoProblemiPratica"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoProblemiPratica"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.BoProblemiPratica" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoProblemiPratica"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getBoProblemiPratica"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getBoProblemiPraticas"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getBoProblemiPraticasCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateBoProblemiPratica"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.BoProblemiPratica" - }; - - _methodName16 = "getBeanIdentifier"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "setBeanIdentifier"; - - _methodParameterTypes17 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.importazione.model.BoProblemiPratica addBoProblemiPratica( - it.tref.liferay.portos.importazione.model.BoProblemiPratica boProblemiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput( - boProblemiPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoProblemiPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoProblemiPratica createBoProblemiPratica( - long problemiPraticaId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { problemiPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoProblemiPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoProblemiPratica deleteBoProblemiPratica( - long problemiPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { problemiPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoProblemiPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoProblemiPratica deleteBoProblemiPratica( - it.tref.liferay.portos.importazione.model.BoProblemiPratica boProblemiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput( - boProblemiPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoProblemiPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoProblemiPratica fetchBoProblemiPratica( - long problemiPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { problemiPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoProblemiPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoProblemiPratica getBoProblemiPratica( - long problemiPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, new Object[] { problemiPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoProblemiPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getBoProblemiPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getBoProblemiPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoProblemiPratica updateBoProblemiPratica( - it.tref.liferay.portos.importazione.model.BoProblemiPratica boProblemiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput( - boProblemiPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoProblemiPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoProblemiPraticaLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoProblemiPraticaLocalServiceUtil.java deleted file mode 100644 index 73d025db..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoProblemiPraticaLocalServiceUtil.java +++ /dev/null @@ -1,308 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for BoProblemiPratica. This utility wraps - * {@link it.tref.liferay.portos.importazione.service.impl.BoProblemiPraticaLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author 3FC - * @see BoProblemiPraticaLocalService - * @see it.tref.liferay.portos.importazione.service.base.BoProblemiPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.BoProblemiPraticaLocalServiceImpl - * @generated - */ -public class BoProblemiPraticaLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.BoProblemiPraticaLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the bo problemi pratica to the database. Also notifies the appropriate model listeners. - * - * @param boProblemiPratica the bo problemi pratica - * @return the bo problemi pratica that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoProblemiPratica addBoProblemiPratica( - it.tref.liferay.portos.importazione.model.BoProblemiPratica boProblemiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addBoProblemiPratica(boProblemiPratica); - } - - /** - * Creates a new bo problemi pratica with the primary key. Does not add the bo problemi pratica to the database. - * - * @param problemiPraticaId the primary key for the new bo problemi pratica - * @return the new bo problemi pratica - */ - public static it.tref.liferay.portos.importazione.model.BoProblemiPratica createBoProblemiPratica( - long problemiPraticaId) { - return getService().createBoProblemiPratica(problemiPraticaId); - } - - /** - * Deletes the bo problemi pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param problemiPraticaId the primary key of the bo problemi pratica - * @return the bo problemi pratica that was removed - * @throws PortalException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoProblemiPratica deleteBoProblemiPratica( - long problemiPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoProblemiPratica(problemiPraticaId); - } - - /** - * Deletes the bo problemi pratica from the database. Also notifies the appropriate model listeners. - * - * @param boProblemiPratica the bo problemi pratica - * @return the bo problemi pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoProblemiPratica deleteBoProblemiPratica( - it.tref.liferay.portos.importazione.model.BoProblemiPratica boProblemiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoProblemiPratica(boProblemiPratica); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.importazione.model.BoProblemiPratica fetchBoProblemiPratica( - long problemiPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoProblemiPratica(problemiPraticaId); - } - - /** - * Returns the bo problemi pratica with the primary key. - * - * @param problemiPraticaId the primary key of the bo problemi pratica - * @return the bo problemi pratica - * @throws PortalException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoProblemiPratica getBoProblemiPratica( - long problemiPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoProblemiPratica(problemiPraticaId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the bo problemi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @return the range of bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List getBoProblemiPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoProblemiPraticas(start, end); - } - - /** - * Returns the number of bo problemi praticas. - * - * @return the number of bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public static int getBoProblemiPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoProblemiPraticasCount(); - } - - /** - * Updates the bo problemi pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boProblemiPratica the bo problemi pratica - * @return the bo problemi pratica that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoProblemiPratica updateBoProblemiPratica( - it.tref.liferay.portos.importazione.model.BoProblemiPratica boProblemiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateBoProblemiPratica(boProblemiPratica); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static BoProblemiPraticaLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - BoProblemiPraticaLocalService.class.getName()); - - if (invokableLocalService instanceof BoProblemiPraticaLocalService) { - _service = (BoProblemiPraticaLocalService)invokableLocalService; - } - else { - _service = new BoProblemiPraticaLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(BoProblemiPraticaLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(BoProblemiPraticaLocalService service) { - } - - private static BoProblemiPraticaLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoProblemiPraticaLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoProblemiPraticaLocalServiceWrapper.java deleted file mode 100644 index c3442039..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoProblemiPraticaLocalServiceWrapper.java +++ /dev/null @@ -1,319 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link BoProblemiPraticaLocalService}. - * - * @author 3FC - * @see BoProblemiPraticaLocalService - * @generated - */ -public class BoProblemiPraticaLocalServiceWrapper - implements BoProblemiPraticaLocalService, - ServiceWrapper { - public BoProblemiPraticaLocalServiceWrapper( - BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - _boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Adds the bo problemi pratica to the database. Also notifies the appropriate model listeners. - * - * @param boProblemiPratica the bo problemi pratica - * @return the bo problemi pratica that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoProblemiPratica addBoProblemiPratica( - it.tref.liferay.portos.importazione.model.BoProblemiPratica boProblemiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boProblemiPraticaLocalService.addBoProblemiPratica(boProblemiPratica); - } - - /** - * Creates a new bo problemi pratica with the primary key. Does not add the bo problemi pratica to the database. - * - * @param problemiPraticaId the primary key for the new bo problemi pratica - * @return the new bo problemi pratica - */ - @Override - public it.tref.liferay.portos.importazione.model.BoProblemiPratica createBoProblemiPratica( - long problemiPraticaId) { - return _boProblemiPraticaLocalService.createBoProblemiPratica(problemiPraticaId); - } - - /** - * Deletes the bo problemi pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param problemiPraticaId the primary key of the bo problemi pratica - * @return the bo problemi pratica that was removed - * @throws PortalException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoProblemiPratica deleteBoProblemiPratica( - long problemiPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boProblemiPraticaLocalService.deleteBoProblemiPratica(problemiPraticaId); - } - - /** - * Deletes the bo problemi pratica from the database. Also notifies the appropriate model listeners. - * - * @param boProblemiPratica the bo problemi pratica - * @return the bo problemi pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoProblemiPratica deleteBoProblemiPratica( - it.tref.liferay.portos.importazione.model.BoProblemiPratica boProblemiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boProblemiPraticaLocalService.deleteBoProblemiPratica(boProblemiPratica); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _boProblemiPraticaLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boProblemiPraticaLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _boProblemiPraticaLocalService.dynamicQuery(dynamicQuery, start, - end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _boProblemiPraticaLocalService.dynamicQuery(dynamicQuery, start, - end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boProblemiPraticaLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _boProblemiPraticaLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoProblemiPratica fetchBoProblemiPratica( - long problemiPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boProblemiPraticaLocalService.fetchBoProblemiPratica(problemiPraticaId); - } - - /** - * Returns the bo problemi pratica with the primary key. - * - * @param problemiPraticaId the primary key of the bo problemi pratica - * @return the bo problemi pratica - * @throws PortalException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoProblemiPratica getBoProblemiPratica( - long problemiPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boProblemiPraticaLocalService.getBoProblemiPratica(problemiPraticaId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boProblemiPraticaLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the bo problemi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @return the range of bo problemi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getBoProblemiPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _boProblemiPraticaLocalService.getBoProblemiPraticas(start, end); - } - - /** - * Returns the number of bo problemi praticas. - * - * @return the number of bo problemi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoProblemiPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _boProblemiPraticaLocalService.getBoProblemiPraticasCount(); - } - - /** - * Updates the bo problemi pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boProblemiPratica the bo problemi pratica - * @return the bo problemi pratica that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoProblemiPratica updateBoProblemiPratica( - it.tref.liferay.portos.importazione.model.BoProblemiPratica boProblemiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boProblemiPraticaLocalService.updateBoProblemiPratica(boProblemiPratica); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _boProblemiPraticaLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _boProblemiPraticaLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _boProblemiPraticaLocalService.invokeMethod(name, - parameterTypes, arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public BoProblemiPraticaLocalService getWrappedBoProblemiPraticaLocalService() { - return _boProblemiPraticaLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedBoProblemiPraticaLocalService( - BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - _boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - @Override - public BoProblemiPraticaLocalService getWrappedService() { - return _boProblemiPraticaLocalService; - } - - @Override - public void setWrappedService( - BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - _boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - private BoProblemiPraticaLocalService _boProblemiPraticaLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoRelLeggiPraticaLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoRelLeggiPraticaLocalService.java deleted file mode 100644 index f1961835..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoRelLeggiPraticaLocalService.java +++ /dev/null @@ -1,256 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for BoRelLeggiPratica. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author 3FC - * @see BoRelLeggiPraticaLocalServiceUtil - * @see it.tref.liferay.portos.importazione.service.base.BoRelLeggiPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.BoRelLeggiPraticaLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface BoRelLeggiPraticaLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoRelLeggiPraticaLocalServiceUtil} to access the bo rel leggi pratica local service. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.BoRelLeggiPraticaLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the bo rel leggi pratica to the database. Also notifies the appropriate model listeners. - * - * @param boRelLeggiPratica the bo rel leggi pratica - * @return the bo rel leggi pratica that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica addBoRelLeggiPratica( - it.tref.liferay.portos.importazione.model.BoRelLeggiPratica boRelLeggiPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new bo rel leggi pratica with the primary key. Does not add the bo rel leggi pratica to the database. - * - * @param artLeggeId the primary key for the new bo rel leggi pratica - * @return the new bo rel leggi pratica - */ - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica createBoRelLeggiPratica( - long artLeggeId); - - /** - * Deletes the bo rel leggi pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param artLeggeId the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica that was removed - * @throws PortalException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica deleteBoRelLeggiPratica( - long artLeggeId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the bo rel leggi pratica from the database. Also notifies the appropriate model listeners. - * - * @param boRelLeggiPratica the bo rel leggi pratica - * @return the bo rel leggi pratica that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica deleteBoRelLeggiPratica( - it.tref.liferay.portos.importazione.model.BoRelLeggiPratica boRelLeggiPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica fetchBoRelLeggiPratica( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo rel leggi pratica with the primary key. - * - * @param artLeggeId the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica - * @throws PortalException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica getBoRelLeggiPratica( - long artLeggeId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo rel leggi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @return the range of bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getBoRelLeggiPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo rel leggi praticas. - * - * @return the number of bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getBoRelLeggiPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the bo rel leggi pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boRelLeggiPratica the bo rel leggi pratica - * @return the bo rel leggi pratica that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica updateBoRelLeggiPratica( - it.tref.liferay.portos.importazione.model.BoRelLeggiPratica boRelLeggiPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoRelLeggiPraticaLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoRelLeggiPraticaLocalServiceClp.java deleted file mode 100644 index cbb7f86e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoRelLeggiPraticaLocalServiceClp.java +++ /dev/null @@ -1,710 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author 3FC - * @generated - */ -public class BoRelLeggiPraticaLocalServiceClp - implements BoRelLeggiPraticaLocalService { - public BoRelLeggiPraticaLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addBoRelLeggiPratica"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.BoRelLeggiPratica" - }; - - _methodName1 = "createBoRelLeggiPratica"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoRelLeggiPratica"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoRelLeggiPratica"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.BoRelLeggiPratica" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoRelLeggiPratica"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getBoRelLeggiPratica"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getBoRelLeggiPraticas"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getBoRelLeggiPraticasCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateBoRelLeggiPratica"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.BoRelLeggiPratica" - }; - - _methodName16 = "getBeanIdentifier"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "setBeanIdentifier"; - - _methodParameterTypes17 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica addBoRelLeggiPratica( - it.tref.liferay.portos.importazione.model.BoRelLeggiPratica boRelLeggiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput( - boRelLeggiPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoRelLeggiPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica createBoRelLeggiPratica( - long artLeggeId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { artLeggeId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoRelLeggiPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica deleteBoRelLeggiPratica( - long artLeggeId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { artLeggeId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoRelLeggiPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica deleteBoRelLeggiPratica( - it.tref.liferay.portos.importazione.model.BoRelLeggiPratica boRelLeggiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput( - boRelLeggiPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoRelLeggiPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica fetchBoRelLeggiPratica( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { artLeggeId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoRelLeggiPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica getBoRelLeggiPratica( - long artLeggeId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, new Object[] { artLeggeId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoRelLeggiPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getBoRelLeggiPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getBoRelLeggiPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica updateBoRelLeggiPratica( - it.tref.liferay.portos.importazione.model.BoRelLeggiPratica boRelLeggiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput( - boRelLeggiPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoRelLeggiPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoRelLeggiPraticaLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoRelLeggiPraticaLocalServiceUtil.java deleted file mode 100644 index 63b2f45e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoRelLeggiPraticaLocalServiceUtil.java +++ /dev/null @@ -1,308 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for BoRelLeggiPratica. This utility wraps - * {@link it.tref.liferay.portos.importazione.service.impl.BoRelLeggiPraticaLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author 3FC - * @see BoRelLeggiPraticaLocalService - * @see it.tref.liferay.portos.importazione.service.base.BoRelLeggiPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.BoRelLeggiPraticaLocalServiceImpl - * @generated - */ -public class BoRelLeggiPraticaLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.BoRelLeggiPraticaLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the bo rel leggi pratica to the database. Also notifies the appropriate model listeners. - * - * @param boRelLeggiPratica the bo rel leggi pratica - * @return the bo rel leggi pratica that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoRelLeggiPratica addBoRelLeggiPratica( - it.tref.liferay.portos.importazione.model.BoRelLeggiPratica boRelLeggiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addBoRelLeggiPratica(boRelLeggiPratica); - } - - /** - * Creates a new bo rel leggi pratica with the primary key. Does not add the bo rel leggi pratica to the database. - * - * @param artLeggeId the primary key for the new bo rel leggi pratica - * @return the new bo rel leggi pratica - */ - public static it.tref.liferay.portos.importazione.model.BoRelLeggiPratica createBoRelLeggiPratica( - long artLeggeId) { - return getService().createBoRelLeggiPratica(artLeggeId); - } - - /** - * Deletes the bo rel leggi pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param artLeggeId the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica that was removed - * @throws PortalException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoRelLeggiPratica deleteBoRelLeggiPratica( - long artLeggeId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoRelLeggiPratica(artLeggeId); - } - - /** - * Deletes the bo rel leggi pratica from the database. Also notifies the appropriate model listeners. - * - * @param boRelLeggiPratica the bo rel leggi pratica - * @return the bo rel leggi pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoRelLeggiPratica deleteBoRelLeggiPratica( - it.tref.liferay.portos.importazione.model.BoRelLeggiPratica boRelLeggiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoRelLeggiPratica(boRelLeggiPratica); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.importazione.model.BoRelLeggiPratica fetchBoRelLeggiPratica( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoRelLeggiPratica(artLeggeId); - } - - /** - * Returns the bo rel leggi pratica with the primary key. - * - * @param artLeggeId the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica - * @throws PortalException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoRelLeggiPratica getBoRelLeggiPratica( - long artLeggeId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoRelLeggiPratica(artLeggeId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the bo rel leggi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @return the range of bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List getBoRelLeggiPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoRelLeggiPraticas(start, end); - } - - /** - * Returns the number of bo rel leggi praticas. - * - * @return the number of bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public static int getBoRelLeggiPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoRelLeggiPraticasCount(); - } - - /** - * Updates the bo rel leggi pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boRelLeggiPratica the bo rel leggi pratica - * @return the bo rel leggi pratica that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoRelLeggiPratica updateBoRelLeggiPratica( - it.tref.liferay.portos.importazione.model.BoRelLeggiPratica boRelLeggiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateBoRelLeggiPratica(boRelLeggiPratica); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static BoRelLeggiPraticaLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - BoRelLeggiPraticaLocalService.class.getName()); - - if (invokableLocalService instanceof BoRelLeggiPraticaLocalService) { - _service = (BoRelLeggiPraticaLocalService)invokableLocalService; - } - else { - _service = new BoRelLeggiPraticaLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(BoRelLeggiPraticaLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(BoRelLeggiPraticaLocalService service) { - } - - private static BoRelLeggiPraticaLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoRelLeggiPraticaLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoRelLeggiPraticaLocalServiceWrapper.java deleted file mode 100644 index dfa9deb0..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoRelLeggiPraticaLocalServiceWrapper.java +++ /dev/null @@ -1,319 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link BoRelLeggiPraticaLocalService}. - * - * @author 3FC - * @see BoRelLeggiPraticaLocalService - * @generated - */ -public class BoRelLeggiPraticaLocalServiceWrapper - implements BoRelLeggiPraticaLocalService, - ServiceWrapper { - public BoRelLeggiPraticaLocalServiceWrapper( - BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - _boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Adds the bo rel leggi pratica to the database. Also notifies the appropriate model listeners. - * - * @param boRelLeggiPratica the bo rel leggi pratica - * @return the bo rel leggi pratica that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica addBoRelLeggiPratica( - it.tref.liferay.portos.importazione.model.BoRelLeggiPratica boRelLeggiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boRelLeggiPraticaLocalService.addBoRelLeggiPratica(boRelLeggiPratica); - } - - /** - * Creates a new bo rel leggi pratica with the primary key. Does not add the bo rel leggi pratica to the database. - * - * @param artLeggeId the primary key for the new bo rel leggi pratica - * @return the new bo rel leggi pratica - */ - @Override - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica createBoRelLeggiPratica( - long artLeggeId) { - return _boRelLeggiPraticaLocalService.createBoRelLeggiPratica(artLeggeId); - } - - /** - * Deletes the bo rel leggi pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param artLeggeId the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica that was removed - * @throws PortalException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica deleteBoRelLeggiPratica( - long artLeggeId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boRelLeggiPraticaLocalService.deleteBoRelLeggiPratica(artLeggeId); - } - - /** - * Deletes the bo rel leggi pratica from the database. Also notifies the appropriate model listeners. - * - * @param boRelLeggiPratica the bo rel leggi pratica - * @return the bo rel leggi pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica deleteBoRelLeggiPratica( - it.tref.liferay.portos.importazione.model.BoRelLeggiPratica boRelLeggiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boRelLeggiPraticaLocalService.deleteBoRelLeggiPratica(boRelLeggiPratica); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _boRelLeggiPraticaLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boRelLeggiPraticaLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _boRelLeggiPraticaLocalService.dynamicQuery(dynamicQuery, start, - end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _boRelLeggiPraticaLocalService.dynamicQuery(dynamicQuery, start, - end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boRelLeggiPraticaLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _boRelLeggiPraticaLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica fetchBoRelLeggiPratica( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boRelLeggiPraticaLocalService.fetchBoRelLeggiPratica(artLeggeId); - } - - /** - * Returns the bo rel leggi pratica with the primary key. - * - * @param artLeggeId the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica - * @throws PortalException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica getBoRelLeggiPratica( - long artLeggeId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boRelLeggiPraticaLocalService.getBoRelLeggiPratica(artLeggeId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boRelLeggiPraticaLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the bo rel leggi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @return the range of bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getBoRelLeggiPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _boRelLeggiPraticaLocalService.getBoRelLeggiPraticas(start, end); - } - - /** - * Returns the number of bo rel leggi praticas. - * - * @return the number of bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoRelLeggiPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _boRelLeggiPraticaLocalService.getBoRelLeggiPraticasCount(); - } - - /** - * Updates the bo rel leggi pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boRelLeggiPratica the bo rel leggi pratica - * @return the bo rel leggi pratica that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica updateBoRelLeggiPratica( - it.tref.liferay.portos.importazione.model.BoRelLeggiPratica boRelLeggiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boRelLeggiPraticaLocalService.updateBoRelLeggiPratica(boRelLeggiPratica); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _boRelLeggiPraticaLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _boRelLeggiPraticaLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _boRelLeggiPraticaLocalService.invokeMethod(name, - parameterTypes, arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public BoRelLeggiPraticaLocalService getWrappedBoRelLeggiPraticaLocalService() { - return _boRelLeggiPraticaLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedBoRelLeggiPraticaLocalService( - BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - _boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - @Override - public BoRelLeggiPraticaLocalService getWrappedService() { - return _boRelLeggiPraticaLocalService; - } - - @Override - public void setWrappedService( - BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - _boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - private BoRelLeggiPraticaLocalService _boRelLeggiPraticaLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoSistemaCostruttivoLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoSistemaCostruttivoLocalService.java deleted file mode 100644 index bbeb5108..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoSistemaCostruttivoLocalService.java +++ /dev/null @@ -1,312 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for BoSistemaCostruttivo. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author 3FC - * @see BoSistemaCostruttivoLocalServiceUtil - * @see it.tref.liferay.portos.importazione.service.base.BoSistemaCostruttivoLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.BoSistemaCostruttivoLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface BoSistemaCostruttivoLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoSistemaCostruttivoLocalServiceUtil} to access the bo sistema costruttivo local service. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.BoSistemaCostruttivoLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the bo sistema costruttivo to the database. Also notifies the appropriate model listeners. - * - * @param boSistemaCostruttivo the bo sistema costruttivo - * @return the bo sistema costruttivo that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo addBoSistemaCostruttivo( - it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo boSistemaCostruttivo) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new bo sistema costruttivo with the primary key. Does not add the bo sistema costruttivo to the database. - * - * @param sistemaCostruttivoId the primary key for the new bo sistema costruttivo - * @return the new bo sistema costruttivo - */ - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo createBoSistemaCostruttivo( - long sistemaCostruttivoId); - - /** - * Deletes the bo sistema costruttivo with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param sistemaCostruttivoId the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo that was removed - * @throws PortalException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo deleteBoSistemaCostruttivo( - long sistemaCostruttivoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the bo sistema costruttivo from the database. Also notifies the appropriate model listeners. - * - * @param boSistemaCostruttivo the bo sistema costruttivo - * @return the bo sistema costruttivo that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo deleteBoSistemaCostruttivo( - it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo boSistemaCostruttivo) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo fetchBoSistemaCostruttivo( - long sistemaCostruttivoId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sistema costruttivo with the matching UUID and company. - * - * @param uuid the bo sistema costruttivo's UUID - * @param companyId the primary key of the company - * @return the matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo fetchBoSistemaCostruttivoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sistema costruttivo matching the UUID and group. - * - * @param uuid the bo sistema costruttivo's UUID - * @param groupId the primary key of the group - * @return the matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo fetchBoSistemaCostruttivoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sistema costruttivo with the primary key. - * - * @param sistemaCostruttivoId the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo - * @throws PortalException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo getBoSistemaCostruttivo( - long sistemaCostruttivoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sistema costruttivo with the matching UUID and company. - * - * @param uuid the bo sistema costruttivo's UUID - * @param companyId the primary key of the company - * @return the matching bo sistema costruttivo - * @throws PortalException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo getBoSistemaCostruttivoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sistema costruttivo matching the UUID and group. - * - * @param uuid the bo sistema costruttivo's UUID - * @param groupId the primary key of the group - * @return the matching bo sistema costruttivo - * @throws PortalException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo getBoSistemaCostruttivoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo sistema costruttivos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getBoSistemaCostruttivos( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo sistema costruttivos. - * - * @return the number of bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getBoSistemaCostruttivosCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the bo sistema costruttivo in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boSistemaCostruttivo the bo sistema costruttivo - * @return the bo sistema costruttivo that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo updateBoSistemaCostruttivo( - it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo boSistemaCostruttivo) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoSistemaCostruttivoLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoSistemaCostruttivoLocalServiceClp.java deleted file mode 100644 index 0ea9af62..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoSistemaCostruttivoLocalServiceClp.java +++ /dev/null @@ -1,871 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author 3FC - * @generated - */ -public class BoSistemaCostruttivoLocalServiceClp - implements BoSistemaCostruttivoLocalService { - public BoSistemaCostruttivoLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addBoSistemaCostruttivo"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo" - }; - - _methodName1 = "createBoSistemaCostruttivo"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoSistemaCostruttivo"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoSistemaCostruttivo"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoSistemaCostruttivo"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchBoSistemaCostruttivoByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchBoSistemaCostruttivoByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getBoSistemaCostruttivo"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getBoSistemaCostruttivoByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getBoSistemaCostruttivoByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getBoSistemaCostruttivos"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getBoSistemaCostruttivosCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateBoSistemaCostruttivo"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo" - }; - - _methodName20 = "getBeanIdentifier"; - - _methodParameterTypes20 = new String[] { }; - - _methodName21 = "setBeanIdentifier"; - - _methodParameterTypes21 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo addBoSistemaCostruttivo( - it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo boSistemaCostruttivo) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { - ClpSerializer.translateInput(boSistemaCostruttivo) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo createBoSistemaCostruttivo( - long sistemaCostruttivoId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, - new Object[] { sistemaCostruttivoId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo deleteBoSistemaCostruttivo( - long sistemaCostruttivoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, - new Object[] { sistemaCostruttivoId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo deleteBoSistemaCostruttivo( - it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo boSistemaCostruttivo) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { - ClpSerializer.translateInput(boSistemaCostruttivo) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo fetchBoSistemaCostruttivo( - long sistemaCostruttivoId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, - new Object[] { sistemaCostruttivoId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo fetchBoSistemaCostruttivoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo fetchBoSistemaCostruttivoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo getBoSistemaCostruttivo( - long sistemaCostruttivoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, - new Object[] { sistemaCostruttivoId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo getBoSistemaCostruttivoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo getBoSistemaCostruttivoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getBoSistemaCostruttivos( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getBoSistemaCostruttivosCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName18, - _methodParameterTypes18, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo updateBoSistemaCostruttivo( - it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo boSistemaCostruttivo) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName19, - _methodParameterTypes19, - new Object[] { - ClpSerializer.translateInput(boSistemaCostruttivo) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName20, - _methodParameterTypes20, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName21, - _methodParameterTypes21, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName20; - private String[] _methodParameterTypes20; - private String _methodName21; - private String[] _methodParameterTypes21; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoSistemaCostruttivoLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoSistemaCostruttivoLocalServiceUtil.java deleted file mode 100644 index 5a397884..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoSistemaCostruttivoLocalServiceUtil.java +++ /dev/null @@ -1,372 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for BoSistemaCostruttivo. This utility wraps - * {@link it.tref.liferay.portos.importazione.service.impl.BoSistemaCostruttivoLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author 3FC - * @see BoSistemaCostruttivoLocalService - * @see it.tref.liferay.portos.importazione.service.base.BoSistemaCostruttivoLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.BoSistemaCostruttivoLocalServiceImpl - * @generated - */ -public class BoSistemaCostruttivoLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.BoSistemaCostruttivoLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the bo sistema costruttivo to the database. Also notifies the appropriate model listeners. - * - * @param boSistemaCostruttivo the bo sistema costruttivo - * @return the bo sistema costruttivo that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo addBoSistemaCostruttivo( - it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo boSistemaCostruttivo) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addBoSistemaCostruttivo(boSistemaCostruttivo); - } - - /** - * Creates a new bo sistema costruttivo with the primary key. Does not add the bo sistema costruttivo to the database. - * - * @param sistemaCostruttivoId the primary key for the new bo sistema costruttivo - * @return the new bo sistema costruttivo - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo createBoSistemaCostruttivo( - long sistemaCostruttivoId) { - return getService().createBoSistemaCostruttivo(sistemaCostruttivoId); - } - - /** - * Deletes the bo sistema costruttivo with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param sistemaCostruttivoId the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo that was removed - * @throws PortalException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo deleteBoSistemaCostruttivo( - long sistemaCostruttivoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoSistemaCostruttivo(sistemaCostruttivoId); - } - - /** - * Deletes the bo sistema costruttivo from the database. Also notifies the appropriate model listeners. - * - * @param boSistemaCostruttivo the bo sistema costruttivo - * @return the bo sistema costruttivo that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo deleteBoSistemaCostruttivo( - it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo boSistemaCostruttivo) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoSistemaCostruttivo(boSistemaCostruttivo); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo fetchBoSistemaCostruttivo( - long sistemaCostruttivoId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoSistemaCostruttivo(sistemaCostruttivoId); - } - - /** - * Returns the bo sistema costruttivo with the matching UUID and company. - * - * @param uuid the bo sistema costruttivo's UUID - * @param companyId the primary key of the company - * @return the matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo fetchBoSistemaCostruttivoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .fetchBoSistemaCostruttivoByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the bo sistema costruttivo matching the UUID and group. - * - * @param uuid the bo sistema costruttivo's UUID - * @param groupId the primary key of the group - * @return the matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo fetchBoSistemaCostruttivoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .fetchBoSistemaCostruttivoByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns the bo sistema costruttivo with the primary key. - * - * @param sistemaCostruttivoId the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo - * @throws PortalException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo getBoSistemaCostruttivo( - long sistemaCostruttivoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoSistemaCostruttivo(sistemaCostruttivoId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns the bo sistema costruttivo with the matching UUID and company. - * - * @param uuid the bo sistema costruttivo's UUID - * @param companyId the primary key of the company - * @return the matching bo sistema costruttivo - * @throws PortalException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo getBoSistemaCostruttivoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService() - .getBoSistemaCostruttivoByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the bo sistema costruttivo matching the UUID and group. - * - * @param uuid the bo sistema costruttivo's UUID - * @param groupId the primary key of the group - * @return the matching bo sistema costruttivo - * @throws PortalException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo getBoSistemaCostruttivoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService() - .getBoSistemaCostruttivoByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns a range of all the bo sistema costruttivos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static java.util.List getBoSistemaCostruttivos( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoSistemaCostruttivos(start, end); - } - - /** - * Returns the number of bo sistema costruttivos. - * - * @return the number of bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static int getBoSistemaCostruttivosCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoSistemaCostruttivosCount(); - } - - /** - * Updates the bo sistema costruttivo in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boSistemaCostruttivo the bo sistema costruttivo - * @return the bo sistema costruttivo that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo updateBoSistemaCostruttivo( - it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo boSistemaCostruttivo) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateBoSistemaCostruttivo(boSistemaCostruttivo); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static BoSistemaCostruttivoLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - BoSistemaCostruttivoLocalService.class.getName()); - - if (invokableLocalService instanceof BoSistemaCostruttivoLocalService) { - _service = (BoSistemaCostruttivoLocalService)invokableLocalService; - } - else { - _service = new BoSistemaCostruttivoLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(BoSistemaCostruttivoLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(BoSistemaCostruttivoLocalService service) { - } - - private static BoSistemaCostruttivoLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoSistemaCostruttivoLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoSistemaCostruttivoLocalServiceWrapper.java deleted file mode 100644 index f624bd15..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoSistemaCostruttivoLocalServiceWrapper.java +++ /dev/null @@ -1,388 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link BoSistemaCostruttivoLocalService}. - * - * @author 3FC - * @see BoSistemaCostruttivoLocalService - * @generated - */ -public class BoSistemaCostruttivoLocalServiceWrapper - implements BoSistemaCostruttivoLocalService, - ServiceWrapper { - public BoSistemaCostruttivoLocalServiceWrapper( - BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - _boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Adds the bo sistema costruttivo to the database. Also notifies the appropriate model listeners. - * - * @param boSistemaCostruttivo the bo sistema costruttivo - * @return the bo sistema costruttivo that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo addBoSistemaCostruttivo( - it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo boSistemaCostruttivo) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivoLocalService.addBoSistemaCostruttivo(boSistemaCostruttivo); - } - - /** - * Creates a new bo sistema costruttivo with the primary key. Does not add the bo sistema costruttivo to the database. - * - * @param sistemaCostruttivoId the primary key for the new bo sistema costruttivo - * @return the new bo sistema costruttivo - */ - @Override - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo createBoSistemaCostruttivo( - long sistemaCostruttivoId) { - return _boSistemaCostruttivoLocalService.createBoSistemaCostruttivo(sistemaCostruttivoId); - } - - /** - * Deletes the bo sistema costruttivo with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param sistemaCostruttivoId the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo that was removed - * @throws PortalException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo deleteBoSistemaCostruttivo( - long sistemaCostruttivoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivoLocalService.deleteBoSistemaCostruttivo(sistemaCostruttivoId); - } - - /** - * Deletes the bo sistema costruttivo from the database. Also notifies the appropriate model listeners. - * - * @param boSistemaCostruttivo the bo sistema costruttivo - * @return the bo sistema costruttivo that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo deleteBoSistemaCostruttivo( - it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo boSistemaCostruttivo) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivoLocalService.deleteBoSistemaCostruttivo(boSistemaCostruttivo); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _boSistemaCostruttivoLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivoLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivoLocalService.dynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivoLocalService.dynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivoLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivoLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo fetchBoSistemaCostruttivo( - long sistemaCostruttivoId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivoLocalService.fetchBoSistemaCostruttivo(sistemaCostruttivoId); - } - - /** - * Returns the bo sistema costruttivo with the matching UUID and company. - * - * @param uuid the bo sistema costruttivo's UUID - * @param companyId the primary key of the company - * @return the matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo fetchBoSistemaCostruttivoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivoLocalService.fetchBoSistemaCostruttivoByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the bo sistema costruttivo matching the UUID and group. - * - * @param uuid the bo sistema costruttivo's UUID - * @param groupId the primary key of the group - * @return the matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo fetchBoSistemaCostruttivoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivoLocalService.fetchBoSistemaCostruttivoByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns the bo sistema costruttivo with the primary key. - * - * @param sistemaCostruttivoId the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo - * @throws PortalException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo getBoSistemaCostruttivo( - long sistemaCostruttivoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivoLocalService.getBoSistemaCostruttivo(sistemaCostruttivoId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivoLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns the bo sistema costruttivo with the matching UUID and company. - * - * @param uuid the bo sistema costruttivo's UUID - * @param companyId the primary key of the company - * @return the matching bo sistema costruttivo - * @throws PortalException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo getBoSistemaCostruttivoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivoLocalService.getBoSistemaCostruttivoByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the bo sistema costruttivo matching the UUID and group. - * - * @param uuid the bo sistema costruttivo's UUID - * @param groupId the primary key of the group - * @return the matching bo sistema costruttivo - * @throws PortalException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo getBoSistemaCostruttivoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivoLocalService.getBoSistemaCostruttivoByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns a range of all the bo sistema costruttivos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getBoSistemaCostruttivos( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivoLocalService.getBoSistemaCostruttivos(start, - end); - } - - /** - * Returns the number of bo sistema costruttivos. - * - * @return the number of bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoSistemaCostruttivosCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivoLocalService.getBoSistemaCostruttivosCount(); - } - - /** - * Updates the bo sistema costruttivo in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boSistemaCostruttivo the bo sistema costruttivo - * @return the bo sistema costruttivo that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo updateBoSistemaCostruttivo( - it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo boSistemaCostruttivo) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivoLocalService.updateBoSistemaCostruttivo(boSistemaCostruttivo); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _boSistemaCostruttivoLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _boSistemaCostruttivoLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _boSistemaCostruttivoLocalService.invokeMethod(name, - parameterTypes, arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public BoSistemaCostruttivoLocalService getWrappedBoSistemaCostruttivoLocalService() { - return _boSistemaCostruttivoLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedBoSistemaCostruttivoLocalService( - BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - _boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - @Override - public BoSistemaCostruttivoLocalService getWrappedService() { - return _boSistemaCostruttivoLocalService; - } - - @Override - public void setWrappedService( - BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - _boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - private BoSistemaCostruttivoLocalService _boSistemaCostruttivoLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoSoggettoLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoSoggettoLocalService.java deleted file mode 100644 index e6cbda5a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoSoggettoLocalService.java +++ /dev/null @@ -1,312 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for BoSoggetto. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author 3FC - * @see BoSoggettoLocalServiceUtil - * @see it.tref.liferay.portos.importazione.service.base.BoSoggettoLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.BoSoggettoLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface BoSoggettoLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoSoggettoLocalServiceUtil} to access the bo soggetto local service. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.BoSoggettoLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the bo soggetto to the database. Also notifies the appropriate model listeners. - * - * @param boSoggetto the bo soggetto - * @return the bo soggetto that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.BoSoggetto addBoSoggetto( - it.tref.liferay.portos.importazione.model.BoSoggetto boSoggetto) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new bo soggetto with the primary key. Does not add the bo soggetto to the database. - * - * @param soggettoId the primary key for the new bo soggetto - * @return the new bo soggetto - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto createBoSoggetto( - long soggettoId); - - /** - * Deletes the bo soggetto with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param soggettoId the primary key of the bo soggetto - * @return the bo soggetto that was removed - * @throws PortalException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.BoSoggetto deleteBoSoggetto( - long soggettoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the bo soggetto from the database. Also notifies the appropriate model listeners. - * - * @param boSoggetto the bo soggetto - * @return the bo soggetto that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.BoSoggetto deleteBoSoggetto( - it.tref.liferay.portos.importazione.model.BoSoggetto boSoggetto) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoSoggetto fetchBoSoggetto( - long soggettoId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo soggetto with the matching UUID and company. - * - * @param uuid the bo soggetto's UUID - * @param companyId the primary key of the company - * @return the matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoSoggetto fetchBoSoggettoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo soggetto matching the UUID and group. - * - * @param uuid the bo soggetto's UUID - * @param groupId the primary key of the group - * @return the matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoSoggetto fetchBoSoggettoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo soggetto with the primary key. - * - * @param soggettoId the primary key of the bo soggetto - * @return the bo soggetto - * @throws PortalException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoSoggetto getBoSoggetto( - long soggettoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo soggetto with the matching UUID and company. - * - * @param uuid the bo soggetto's UUID - * @param companyId the primary key of the company - * @return the matching bo soggetto - * @throws PortalException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoSoggetto getBoSoggettoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo soggetto matching the UUID and group. - * - * @param uuid the bo soggetto's UUID - * @param groupId the primary key of the group - * @return the matching bo soggetto - * @throws PortalException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoSoggetto getBoSoggettoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo soggettos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of bo soggettos - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getBoSoggettos( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo soggettos. - * - * @return the number of bo soggettos - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getBoSoggettosCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the bo soggetto in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boSoggetto the bo soggetto - * @return the bo soggetto that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.BoSoggetto updateBoSoggetto( - it.tref.liferay.portos.importazione.model.BoSoggetto boSoggetto) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoSoggettoLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoSoggettoLocalServiceClp.java deleted file mode 100644 index 9e676c48..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoSoggettoLocalServiceClp.java +++ /dev/null @@ -1,860 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author 3FC - * @generated - */ -public class BoSoggettoLocalServiceClp implements BoSoggettoLocalService { - public BoSoggettoLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addBoSoggetto"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.BoSoggetto" - }; - - _methodName1 = "createBoSoggetto"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoSoggetto"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoSoggetto"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.BoSoggetto" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoSoggetto"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchBoSoggettoByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchBoSoggettoByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getBoSoggetto"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getBoSoggettoByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getBoSoggettoByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getBoSoggettos"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getBoSoggettosCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateBoSoggetto"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.importazione.model.BoSoggetto" - }; - - _methodName20 = "getBeanIdentifier"; - - _methodParameterTypes20 = new String[] { }; - - _methodName21 = "setBeanIdentifier"; - - _methodParameterTypes21 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSoggetto addBoSoggetto( - it.tref.liferay.portos.importazione.model.BoSoggetto boSoggetto) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(boSoggetto) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoSoggetto)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSoggetto createBoSoggetto( - long soggettoId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { soggettoId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoSoggetto)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSoggetto deleteBoSoggetto( - long soggettoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { soggettoId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoSoggetto)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSoggetto deleteBoSoggetto( - it.tref.liferay.portos.importazione.model.BoSoggetto boSoggetto) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(boSoggetto) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoSoggetto)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSoggetto fetchBoSoggetto( - long soggettoId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { soggettoId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoSoggetto)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSoggetto fetchBoSoggettoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoSoggetto)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSoggetto fetchBoSoggettoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoSoggetto)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSoggetto getBoSoggetto( - long soggettoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { soggettoId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoSoggetto)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSoggetto getBoSoggettoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoSoggetto)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSoggetto getBoSoggettoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoSoggetto)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getBoSoggettos( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getBoSoggettosCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName18, - _methodParameterTypes18, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSoggetto updateBoSoggetto( - it.tref.liferay.portos.importazione.model.BoSoggetto boSoggetto) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName19, - _methodParameterTypes19, - new Object[] { ClpSerializer.translateInput(boSoggetto) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoSoggetto)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName20, - _methodParameterTypes20, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName21, - _methodParameterTypes21, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName20; - private String[] _methodParameterTypes20; - private String _methodName21; - private String[] _methodParameterTypes21; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoSoggettoLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoSoggettoLocalServiceUtil.java deleted file mode 100644 index bdde578f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoSoggettoLocalServiceUtil.java +++ /dev/null @@ -1,368 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for BoSoggetto. This utility wraps - * {@link it.tref.liferay.portos.importazione.service.impl.BoSoggettoLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author 3FC - * @see BoSoggettoLocalService - * @see it.tref.liferay.portos.importazione.service.base.BoSoggettoLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.BoSoggettoLocalServiceImpl - * @generated - */ -public class BoSoggettoLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.BoSoggettoLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the bo soggetto to the database. Also notifies the appropriate model listeners. - * - * @param boSoggetto the bo soggetto - * @return the bo soggetto that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto addBoSoggetto( - it.tref.liferay.portos.importazione.model.BoSoggetto boSoggetto) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addBoSoggetto(boSoggetto); - } - - /** - * Creates a new bo soggetto with the primary key. Does not add the bo soggetto to the database. - * - * @param soggettoId the primary key for the new bo soggetto - * @return the new bo soggetto - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto createBoSoggetto( - long soggettoId) { - return getService().createBoSoggetto(soggettoId); - } - - /** - * Deletes the bo soggetto with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param soggettoId the primary key of the bo soggetto - * @return the bo soggetto that was removed - * @throws PortalException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto deleteBoSoggetto( - long soggettoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoSoggetto(soggettoId); - } - - /** - * Deletes the bo soggetto from the database. Also notifies the appropriate model listeners. - * - * @param boSoggetto the bo soggetto - * @return the bo soggetto that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto deleteBoSoggetto( - it.tref.liferay.portos.importazione.model.BoSoggetto boSoggetto) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoSoggetto(boSoggetto); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.importazione.model.BoSoggetto fetchBoSoggetto( - long soggettoId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoSoggetto(soggettoId); - } - - /** - * Returns the bo soggetto with the matching UUID and company. - * - * @param uuid the bo soggetto's UUID - * @param companyId the primary key of the company - * @return the matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto fetchBoSoggettoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoSoggettoByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the bo soggetto matching the UUID and group. - * - * @param uuid the bo soggetto's UUID - * @param groupId the primary key of the group - * @return the matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto fetchBoSoggettoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoSoggettoByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns the bo soggetto with the primary key. - * - * @param soggettoId the primary key of the bo soggetto - * @return the bo soggetto - * @throws PortalException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto getBoSoggetto( - long soggettoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoSoggetto(soggettoId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns the bo soggetto with the matching UUID and company. - * - * @param uuid the bo soggetto's UUID - * @param companyId the primary key of the company - * @return the matching bo soggetto - * @throws PortalException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto getBoSoggettoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoSoggettoByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the bo soggetto matching the UUID and group. - * - * @param uuid the bo soggetto's UUID - * @param groupId the primary key of the group - * @return the matching bo soggetto - * @throws PortalException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto getBoSoggettoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoSoggettoByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns a range of all the bo soggettos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List getBoSoggettos( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoSoggettos(start, end); - } - - /** - * Returns the number of bo soggettos. - * - * @return the number of bo soggettos - * @throws SystemException if a system exception occurred - */ - public static int getBoSoggettosCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoSoggettosCount(); - } - - /** - * Updates the bo soggetto in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boSoggetto the bo soggetto - * @return the bo soggetto that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto updateBoSoggetto( - it.tref.liferay.portos.importazione.model.BoSoggetto boSoggetto) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateBoSoggetto(boSoggetto); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static BoSoggettoLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - BoSoggettoLocalService.class.getName()); - - if (invokableLocalService instanceof BoSoggettoLocalService) { - _service = (BoSoggettoLocalService)invokableLocalService; - } - else { - _service = new BoSoggettoLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(BoSoggettoLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(BoSoggettoLocalService service) { - } - - private static BoSoggettoLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoSoggettoLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoSoggettoLocalServiceWrapper.java deleted file mode 100644 index d24b0f1b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoSoggettoLocalServiceWrapper.java +++ /dev/null @@ -1,384 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link BoSoggettoLocalService}. - * - * @author 3FC - * @see BoSoggettoLocalService - * @generated - */ -public class BoSoggettoLocalServiceWrapper implements BoSoggettoLocalService, - ServiceWrapper { - public BoSoggettoLocalServiceWrapper( - BoSoggettoLocalService boSoggettoLocalService) { - _boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Adds the bo soggetto to the database. Also notifies the appropriate model listeners. - * - * @param boSoggetto the bo soggetto - * @return the bo soggetto that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoSoggetto addBoSoggetto( - it.tref.liferay.portos.importazione.model.BoSoggetto boSoggetto) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSoggettoLocalService.addBoSoggetto(boSoggetto); - } - - /** - * Creates a new bo soggetto with the primary key. Does not add the bo soggetto to the database. - * - * @param soggettoId the primary key for the new bo soggetto - * @return the new bo soggetto - */ - @Override - public it.tref.liferay.portos.importazione.model.BoSoggetto createBoSoggetto( - long soggettoId) { - return _boSoggettoLocalService.createBoSoggetto(soggettoId); - } - - /** - * Deletes the bo soggetto with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param soggettoId the primary key of the bo soggetto - * @return the bo soggetto that was removed - * @throws PortalException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoSoggetto deleteBoSoggetto( - long soggettoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boSoggettoLocalService.deleteBoSoggetto(soggettoId); - } - - /** - * Deletes the bo soggetto from the database. Also notifies the appropriate model listeners. - * - * @param boSoggetto the bo soggetto - * @return the bo soggetto that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoSoggetto deleteBoSoggetto( - it.tref.liferay.portos.importazione.model.BoSoggetto boSoggetto) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSoggettoLocalService.deleteBoSoggetto(boSoggetto); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _boSoggettoLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSoggettoLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _boSoggettoLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSoggettoLocalService.dynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSoggettoLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSoggettoLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSoggetto fetchBoSoggetto( - long soggettoId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSoggettoLocalService.fetchBoSoggetto(soggettoId); - } - - /** - * Returns the bo soggetto with the matching UUID and company. - * - * @param uuid the bo soggetto's UUID - * @param companyId the primary key of the company - * @return the matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoSoggetto fetchBoSoggettoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSoggettoLocalService.fetchBoSoggettoByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the bo soggetto matching the UUID and group. - * - * @param uuid the bo soggetto's UUID - * @param groupId the primary key of the group - * @return the matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoSoggetto fetchBoSoggettoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSoggettoLocalService.fetchBoSoggettoByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns the bo soggetto with the primary key. - * - * @param soggettoId the primary key of the bo soggetto - * @return the bo soggetto - * @throws PortalException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoSoggetto getBoSoggetto( - long soggettoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boSoggettoLocalService.getBoSoggetto(soggettoId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boSoggettoLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns the bo soggetto with the matching UUID and company. - * - * @param uuid the bo soggetto's UUID - * @param companyId the primary key of the company - * @return the matching bo soggetto - * @throws PortalException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoSoggetto getBoSoggettoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boSoggettoLocalService.getBoSoggettoByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the bo soggetto matching the UUID and group. - * - * @param uuid the bo soggetto's UUID - * @param groupId the primary key of the group - * @return the matching bo soggetto - * @throws PortalException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoSoggetto getBoSoggettoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boSoggettoLocalService.getBoSoggettoByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns a range of all the bo soggettos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getBoSoggettos( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSoggettoLocalService.getBoSoggettos(start, end); - } - - /** - * Returns the number of bo soggettos. - * - * @return the number of bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoSoggettosCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _boSoggettoLocalService.getBoSoggettosCount(); - } - - /** - * Updates the bo soggetto in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boSoggetto the bo soggetto - * @return the bo soggetto that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoSoggetto updateBoSoggetto( - it.tref.liferay.portos.importazione.model.BoSoggetto boSoggetto) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSoggettoLocalService.updateBoSoggetto(boSoggetto); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _boSoggettoLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _boSoggettoLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _boSoggettoLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public BoSoggettoLocalService getWrappedBoSoggettoLocalService() { - return _boSoggettoLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedBoSoggettoLocalService( - BoSoggettoLocalService boSoggettoLocalService) { - _boSoggettoLocalService = boSoggettoLocalService; - } - - @Override - public BoSoggettoLocalService getWrappedService() { - return _boSoggettoLocalService; - } - - @Override - public void setWrappedService(BoSoggettoLocalService boSoggettoLocalService) { - _boSoggettoLocalService = boSoggettoLocalService; - } - - private BoSoggettoLocalService _boSoggettoLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoSorteggioLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoSorteggioLocalService.java deleted file mode 100644 index 49d4318c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoSorteggioLocalService.java +++ /dev/null @@ -1,312 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for BoSorteggio. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author 3FC - * @see BoSorteggioLocalServiceUtil - * @see it.tref.liferay.portos.importazione.service.base.BoSorteggioLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.BoSorteggioLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface BoSorteggioLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoSorteggioLocalServiceUtil} to access the bo sorteggio local service. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.BoSorteggioLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the bo sorteggio to the database. Also notifies the appropriate model listeners. - * - * @param boSorteggio the bo sorteggio - * @return the bo sorteggio that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.BoSorteggio addBoSorteggio( - it.tref.liferay.portos.importazione.model.BoSorteggio boSorteggio) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new bo sorteggio with the primary key. Does not add the bo sorteggio to the database. - * - * @param sorteggioId the primary key for the new bo sorteggio - * @return the new bo sorteggio - */ - public it.tref.liferay.portos.importazione.model.BoSorteggio createBoSorteggio( - long sorteggioId); - - /** - * Deletes the bo sorteggio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param sorteggioId the primary key of the bo sorteggio - * @return the bo sorteggio that was removed - * @throws PortalException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.BoSorteggio deleteBoSorteggio( - long sorteggioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the bo sorteggio from the database. Also notifies the appropriate model listeners. - * - * @param boSorteggio the bo sorteggio - * @return the bo sorteggio that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.BoSorteggio deleteBoSorteggio( - it.tref.liferay.portos.importazione.model.BoSorteggio boSorteggio) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoSorteggio fetchBoSorteggio( - long sorteggioId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sorteggio with the matching UUID and company. - * - * @param uuid the bo sorteggio's UUID - * @param companyId the primary key of the company - * @return the matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoSorteggio fetchBoSorteggioByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sorteggio matching the UUID and group. - * - * @param uuid the bo sorteggio's UUID - * @param groupId the primary key of the group - * @return the matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoSorteggio fetchBoSorteggioByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sorteggio with the primary key. - * - * @param sorteggioId the primary key of the bo sorteggio - * @return the bo sorteggio - * @throws PortalException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoSorteggio getBoSorteggio( - long sorteggioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sorteggio with the matching UUID and company. - * - * @param uuid the bo sorteggio's UUID - * @param companyId the primary key of the company - * @return the matching bo sorteggio - * @throws PortalException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoSorteggio getBoSorteggioByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sorteggio matching the UUID and group. - * - * @param uuid the bo sorteggio's UUID - * @param groupId the primary key of the group - * @return the matching bo sorteggio - * @throws PortalException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoSorteggio getBoSorteggioByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo sorteggios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getBoSorteggios( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo sorteggios. - * - * @return the number of bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getBoSorteggiosCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the bo sorteggio in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boSorteggio the bo sorteggio - * @return the bo sorteggio that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.BoSorteggio updateBoSorteggio( - it.tref.liferay.portos.importazione.model.BoSorteggio boSorteggio) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoSorteggioLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoSorteggioLocalServiceClp.java deleted file mode 100644 index 5fd35ff0..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoSorteggioLocalServiceClp.java +++ /dev/null @@ -1,860 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author 3FC - * @generated - */ -public class BoSorteggioLocalServiceClp implements BoSorteggioLocalService { - public BoSorteggioLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addBoSorteggio"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.BoSorteggio" - }; - - _methodName1 = "createBoSorteggio"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoSorteggio"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoSorteggio"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.BoSorteggio" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoSorteggio"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchBoSorteggioByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchBoSorteggioByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getBoSorteggio"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getBoSorteggioByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getBoSorteggioByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getBoSorteggios"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getBoSorteggiosCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateBoSorteggio"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.importazione.model.BoSorteggio" - }; - - _methodName20 = "getBeanIdentifier"; - - _methodParameterTypes20 = new String[] { }; - - _methodName21 = "setBeanIdentifier"; - - _methodParameterTypes21 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSorteggio addBoSorteggio( - it.tref.liferay.portos.importazione.model.BoSorteggio boSorteggio) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(boSorteggio) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoSorteggio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSorteggio createBoSorteggio( - long sorteggioId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { sorteggioId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoSorteggio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSorteggio deleteBoSorteggio( - long sorteggioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { sorteggioId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoSorteggio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSorteggio deleteBoSorteggio( - it.tref.liferay.portos.importazione.model.BoSorteggio boSorteggio) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(boSorteggio) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoSorteggio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSorteggio fetchBoSorteggio( - long sorteggioId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { sorteggioId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoSorteggio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSorteggio fetchBoSorteggioByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoSorteggio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSorteggio fetchBoSorteggioByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoSorteggio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSorteggio getBoSorteggio( - long sorteggioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { sorteggioId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoSorteggio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSorteggio getBoSorteggioByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoSorteggio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSorteggio getBoSorteggioByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoSorteggio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getBoSorteggios( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getBoSorteggiosCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName18, - _methodParameterTypes18, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSorteggio updateBoSorteggio( - it.tref.liferay.portos.importazione.model.BoSorteggio boSorteggio) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName19, - _methodParameterTypes19, - new Object[] { ClpSerializer.translateInput(boSorteggio) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoSorteggio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName20, - _methodParameterTypes20, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName21, - _methodParameterTypes21, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName20; - private String[] _methodParameterTypes20; - private String _methodName21; - private String[] _methodParameterTypes21; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoSorteggioLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoSorteggioLocalServiceUtil.java deleted file mode 100644 index c1f5a48e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoSorteggioLocalServiceUtil.java +++ /dev/null @@ -1,368 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for BoSorteggio. This utility wraps - * {@link it.tref.liferay.portos.importazione.service.impl.BoSorteggioLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author 3FC - * @see BoSorteggioLocalService - * @see it.tref.liferay.portos.importazione.service.base.BoSorteggioLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.BoSorteggioLocalServiceImpl - * @generated - */ -public class BoSorteggioLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.BoSorteggioLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the bo sorteggio to the database. Also notifies the appropriate model listeners. - * - * @param boSorteggio the bo sorteggio - * @return the bo sorteggio that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio addBoSorteggio( - it.tref.liferay.portos.importazione.model.BoSorteggio boSorteggio) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addBoSorteggio(boSorteggio); - } - - /** - * Creates a new bo sorteggio with the primary key. Does not add the bo sorteggio to the database. - * - * @param sorteggioId the primary key for the new bo sorteggio - * @return the new bo sorteggio - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio createBoSorteggio( - long sorteggioId) { - return getService().createBoSorteggio(sorteggioId); - } - - /** - * Deletes the bo sorteggio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param sorteggioId the primary key of the bo sorteggio - * @return the bo sorteggio that was removed - * @throws PortalException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio deleteBoSorteggio( - long sorteggioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoSorteggio(sorteggioId); - } - - /** - * Deletes the bo sorteggio from the database. Also notifies the appropriate model listeners. - * - * @param boSorteggio the bo sorteggio - * @return the bo sorteggio that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio deleteBoSorteggio( - it.tref.liferay.portos.importazione.model.BoSorteggio boSorteggio) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoSorteggio(boSorteggio); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.importazione.model.BoSorteggio fetchBoSorteggio( - long sorteggioId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoSorteggio(sorteggioId); - } - - /** - * Returns the bo sorteggio with the matching UUID and company. - * - * @param uuid the bo sorteggio's UUID - * @param companyId the primary key of the company - * @return the matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio fetchBoSorteggioByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoSorteggioByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the bo sorteggio matching the UUID and group. - * - * @param uuid the bo sorteggio's UUID - * @param groupId the primary key of the group - * @return the matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio fetchBoSorteggioByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoSorteggioByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns the bo sorteggio with the primary key. - * - * @param sorteggioId the primary key of the bo sorteggio - * @return the bo sorteggio - * @throws PortalException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio getBoSorteggio( - long sorteggioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoSorteggio(sorteggioId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns the bo sorteggio with the matching UUID and company. - * - * @param uuid the bo sorteggio's UUID - * @param companyId the primary key of the company - * @return the matching bo sorteggio - * @throws PortalException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio getBoSorteggioByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoSorteggioByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the bo sorteggio matching the UUID and group. - * - * @param uuid the bo sorteggio's UUID - * @param groupId the primary key of the group - * @return the matching bo sorteggio - * @throws PortalException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio getBoSorteggioByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoSorteggioByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns a range of all the bo sorteggios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static java.util.List getBoSorteggios( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoSorteggios(start, end); - } - - /** - * Returns the number of bo sorteggios. - * - * @return the number of bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static int getBoSorteggiosCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoSorteggiosCount(); - } - - /** - * Updates the bo sorteggio in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boSorteggio the bo sorteggio - * @return the bo sorteggio that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio updateBoSorteggio( - it.tref.liferay.portos.importazione.model.BoSorteggio boSorteggio) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateBoSorteggio(boSorteggio); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static BoSorteggioLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - BoSorteggioLocalService.class.getName()); - - if (invokableLocalService instanceof BoSorteggioLocalService) { - _service = (BoSorteggioLocalService)invokableLocalService; - } - else { - _service = new BoSorteggioLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(BoSorteggioLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(BoSorteggioLocalService service) { - } - - private static BoSorteggioLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoSorteggioLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoSorteggioLocalServiceWrapper.java deleted file mode 100644 index 48c8c8a6..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoSorteggioLocalServiceWrapper.java +++ /dev/null @@ -1,385 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link BoSorteggioLocalService}. - * - * @author 3FC - * @see BoSorteggioLocalService - * @generated - */ -public class BoSorteggioLocalServiceWrapper implements BoSorteggioLocalService, - ServiceWrapper { - public BoSorteggioLocalServiceWrapper( - BoSorteggioLocalService boSorteggioLocalService) { - _boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Adds the bo sorteggio to the database. Also notifies the appropriate model listeners. - * - * @param boSorteggio the bo sorteggio - * @return the bo sorteggio that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoSorteggio addBoSorteggio( - it.tref.liferay.portos.importazione.model.BoSorteggio boSorteggio) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSorteggioLocalService.addBoSorteggio(boSorteggio); - } - - /** - * Creates a new bo sorteggio with the primary key. Does not add the bo sorteggio to the database. - * - * @param sorteggioId the primary key for the new bo sorteggio - * @return the new bo sorteggio - */ - @Override - public it.tref.liferay.portos.importazione.model.BoSorteggio createBoSorteggio( - long sorteggioId) { - return _boSorteggioLocalService.createBoSorteggio(sorteggioId); - } - - /** - * Deletes the bo sorteggio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param sorteggioId the primary key of the bo sorteggio - * @return the bo sorteggio that was removed - * @throws PortalException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoSorteggio deleteBoSorteggio( - long sorteggioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boSorteggioLocalService.deleteBoSorteggio(sorteggioId); - } - - /** - * Deletes the bo sorteggio from the database. Also notifies the appropriate model listeners. - * - * @param boSorteggio the bo sorteggio - * @return the bo sorteggio that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoSorteggio deleteBoSorteggio( - it.tref.liferay.portos.importazione.model.BoSorteggio boSorteggio) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSorteggioLocalService.deleteBoSorteggio(boSorteggio); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _boSorteggioLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSorteggioLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _boSorteggioLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSorteggioLocalService.dynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSorteggioLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSorteggioLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoSorteggio fetchBoSorteggio( - long sorteggioId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSorteggioLocalService.fetchBoSorteggio(sorteggioId); - } - - /** - * Returns the bo sorteggio with the matching UUID and company. - * - * @param uuid the bo sorteggio's UUID - * @param companyId the primary key of the company - * @return the matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoSorteggio fetchBoSorteggioByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSorteggioLocalService.fetchBoSorteggioByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the bo sorteggio matching the UUID and group. - * - * @param uuid the bo sorteggio's UUID - * @param groupId the primary key of the group - * @return the matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoSorteggio fetchBoSorteggioByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSorteggioLocalService.fetchBoSorteggioByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns the bo sorteggio with the primary key. - * - * @param sorteggioId the primary key of the bo sorteggio - * @return the bo sorteggio - * @throws PortalException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoSorteggio getBoSorteggio( - long sorteggioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boSorteggioLocalService.getBoSorteggio(sorteggioId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boSorteggioLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns the bo sorteggio with the matching UUID and company. - * - * @param uuid the bo sorteggio's UUID - * @param companyId the primary key of the company - * @return the matching bo sorteggio - * @throws PortalException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoSorteggio getBoSorteggioByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boSorteggioLocalService.getBoSorteggioByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the bo sorteggio matching the UUID and group. - * - * @param uuid the bo sorteggio's UUID - * @param groupId the primary key of the group - * @return the matching bo sorteggio - * @throws PortalException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoSorteggio getBoSorteggioByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boSorteggioLocalService.getBoSorteggioByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns a range of all the bo sorteggios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getBoSorteggios( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSorteggioLocalService.getBoSorteggios(start, end); - } - - /** - * Returns the number of bo sorteggios. - * - * @return the number of bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoSorteggiosCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _boSorteggioLocalService.getBoSorteggiosCount(); - } - - /** - * Updates the bo sorteggio in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boSorteggio the bo sorteggio - * @return the bo sorteggio that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoSorteggio updateBoSorteggio( - it.tref.liferay.portos.importazione.model.BoSorteggio boSorteggio) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSorteggioLocalService.updateBoSorteggio(boSorteggio); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _boSorteggioLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _boSorteggioLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _boSorteggioLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public BoSorteggioLocalService getWrappedBoSorteggioLocalService() { - return _boSorteggioLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedBoSorteggioLocalService( - BoSorteggioLocalService boSorteggioLocalService) { - _boSorteggioLocalService = boSorteggioLocalService; - } - - @Override - public BoSorteggioLocalService getWrappedService() { - return _boSorteggioLocalService; - } - - @Override - public void setWrappedService( - BoSorteggioLocalService boSorteggioLocalService) { - _boSorteggioLocalService = boSorteggioLocalService; - } - - private BoSorteggioLocalService _boSorteggioLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoStoricoSoggettoPraticaLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoStoricoSoggettoPraticaLocalService.java deleted file mode 100644 index 61c3270a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoStoricoSoggettoPraticaLocalService.java +++ /dev/null @@ -1,256 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for BoStoricoSoggettoPratica. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author 3FC - * @see BoStoricoSoggettoPraticaLocalServiceUtil - * @see it.tref.liferay.portos.importazione.service.base.BoStoricoSoggettoPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.BoStoricoSoggettoPraticaLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface BoStoricoSoggettoPraticaLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoStoricoSoggettoPraticaLocalServiceUtil} to access the bo storico soggetto pratica local service. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.BoStoricoSoggettoPraticaLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the bo storico soggetto pratica to the database. Also notifies the appropriate model listeners. - * - * @param boStoricoSoggettoPratica the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica addBoStoricoSoggettoPratica( - it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new bo storico soggetto pratica with the primary key. Does not add the bo storico soggetto pratica to the database. - * - * @param storicoSoggettoPraticaId the primary key for the new bo storico soggetto pratica - * @return the new bo storico soggetto pratica - */ - public it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica createBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId); - - /** - * Deletes the bo storico soggetto pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param storicoSoggettoPraticaId the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was removed - * @throws PortalException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica deleteBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the bo storico soggetto pratica from the database. Also notifies the appropriate model listeners. - * - * @param boStoricoSoggettoPratica the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica deleteBoStoricoSoggettoPratica( - it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica fetchBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo storico soggetto pratica with the primary key. - * - * @param storicoSoggettoPraticaId the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica - * @throws PortalException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica getBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo storico soggetto praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo storico soggetto praticas - * @param end the upper bound of the range of bo storico soggetto praticas (not inclusive) - * @return the range of bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getBoStoricoSoggettoPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo storico soggetto praticas. - * - * @return the number of bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getBoStoricoSoggettoPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the bo storico soggetto pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boStoricoSoggettoPratica the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica updateBoStoricoSoggettoPratica( - it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoStoricoSoggettoPraticaLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoStoricoSoggettoPraticaLocalServiceClp.java deleted file mode 100644 index b45c9251..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoStoricoSoggettoPraticaLocalServiceClp.java +++ /dev/null @@ -1,717 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author 3FC - * @generated - */ -public class BoStoricoSoggettoPraticaLocalServiceClp - implements BoStoricoSoggettoPraticaLocalService { - public BoStoricoSoggettoPraticaLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addBoStoricoSoggettoPratica"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica" - }; - - _methodName1 = "createBoStoricoSoggettoPratica"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoStoricoSoggettoPratica"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoStoricoSoggettoPratica"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoStoricoSoggettoPratica"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getBoStoricoSoggettoPratica"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getBoStoricoSoggettoPraticas"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getBoStoricoSoggettoPraticasCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateBoStoricoSoggettoPratica"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica" - }; - - _methodName16 = "getBeanIdentifier"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "setBeanIdentifier"; - - _methodParameterTypes17 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica addBoStoricoSoggettoPratica( - it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { - ClpSerializer.translateInput(boStoricoSoggettoPratica) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica createBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, - new Object[] { storicoSoggettoPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica deleteBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, - new Object[] { storicoSoggettoPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica deleteBoStoricoSoggettoPratica( - it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { - ClpSerializer.translateInput(boStoricoSoggettoPratica) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica fetchBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, - new Object[] { storicoSoggettoPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica getBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, - new Object[] { storicoSoggettoPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getBoStoricoSoggettoPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getBoStoricoSoggettoPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica updateBoStoricoSoggettoPratica( - it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { - ClpSerializer.translateInput(boStoricoSoggettoPratica) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoStoricoSoggettoPraticaLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoStoricoSoggettoPraticaLocalServiceUtil.java deleted file mode 100644 index e598ab88..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoStoricoSoggettoPraticaLocalServiceUtil.java +++ /dev/null @@ -1,313 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for BoStoricoSoggettoPratica. This utility wraps - * {@link it.tref.liferay.portos.importazione.service.impl.BoStoricoSoggettoPraticaLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author 3FC - * @see BoStoricoSoggettoPraticaLocalService - * @see it.tref.liferay.portos.importazione.service.base.BoStoricoSoggettoPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.BoStoricoSoggettoPraticaLocalServiceImpl - * @generated - */ -public class BoStoricoSoggettoPraticaLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.BoStoricoSoggettoPraticaLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the bo storico soggetto pratica to the database. Also notifies the appropriate model listeners. - * - * @param boStoricoSoggettoPratica the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica addBoStoricoSoggettoPratica( - it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addBoStoricoSoggettoPratica(boStoricoSoggettoPratica); - } - - /** - * Creates a new bo storico soggetto pratica with the primary key. Does not add the bo storico soggetto pratica to the database. - * - * @param storicoSoggettoPraticaId the primary key for the new bo storico soggetto pratica - * @return the new bo storico soggetto pratica - */ - public static it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica createBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) { - return getService() - .createBoStoricoSoggettoPratica(storicoSoggettoPraticaId); - } - - /** - * Deletes the bo storico soggetto pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param storicoSoggettoPraticaId the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was removed - * @throws PortalException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica deleteBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService() - .deleteBoStoricoSoggettoPratica(storicoSoggettoPraticaId); - } - - /** - * Deletes the bo storico soggetto pratica from the database. Also notifies the appropriate model listeners. - * - * @param boStoricoSoggettoPratica the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica deleteBoStoricoSoggettoPratica( - it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .deleteBoStoricoSoggettoPratica(boStoricoSoggettoPratica); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica fetchBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .fetchBoStoricoSoggettoPratica(storicoSoggettoPraticaId); - } - - /** - * Returns the bo storico soggetto pratica with the primary key. - * - * @param storicoSoggettoPraticaId the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica - * @throws PortalException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica getBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoStoricoSoggettoPratica(storicoSoggettoPraticaId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the bo storico soggetto praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo storico soggetto praticas - * @param end the upper bound of the range of bo storico soggetto praticas (not inclusive) - * @return the range of bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List getBoStoricoSoggettoPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoStoricoSoggettoPraticas(start, end); - } - - /** - * Returns the number of bo storico soggetto praticas. - * - * @return the number of bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - public static int getBoStoricoSoggettoPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoStoricoSoggettoPraticasCount(); - } - - /** - * Updates the bo storico soggetto pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boStoricoSoggettoPratica the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica updateBoStoricoSoggettoPratica( - it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .updateBoStoricoSoggettoPratica(boStoricoSoggettoPratica); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static BoStoricoSoggettoPraticaLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - BoStoricoSoggettoPraticaLocalService.class.getName()); - - if (invokableLocalService instanceof BoStoricoSoggettoPraticaLocalService) { - _service = (BoStoricoSoggettoPraticaLocalService)invokableLocalService; - } - else { - _service = new BoStoricoSoggettoPraticaLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(BoStoricoSoggettoPraticaLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(BoStoricoSoggettoPraticaLocalService service) { - } - - private static BoStoricoSoggettoPraticaLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoStoricoSoggettoPraticaLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoStoricoSoggettoPraticaLocalServiceWrapper.java deleted file mode 100644 index 2cce5c29..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoStoricoSoggettoPraticaLocalServiceWrapper.java +++ /dev/null @@ -1,320 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link BoStoricoSoggettoPraticaLocalService}. - * - * @author 3FC - * @see BoStoricoSoggettoPraticaLocalService - * @generated - */ -public class BoStoricoSoggettoPraticaLocalServiceWrapper - implements BoStoricoSoggettoPraticaLocalService, - ServiceWrapper { - public BoStoricoSoggettoPraticaLocalServiceWrapper( - BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - _boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Adds the bo storico soggetto pratica to the database. Also notifies the appropriate model listeners. - * - * @param boStoricoSoggettoPratica the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica addBoStoricoSoggettoPratica( - it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boStoricoSoggettoPraticaLocalService.addBoStoricoSoggettoPratica(boStoricoSoggettoPratica); - } - - /** - * Creates a new bo storico soggetto pratica with the primary key. Does not add the bo storico soggetto pratica to the database. - * - * @param storicoSoggettoPraticaId the primary key for the new bo storico soggetto pratica - * @return the new bo storico soggetto pratica - */ - @Override - public it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica createBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) { - return _boStoricoSoggettoPraticaLocalService.createBoStoricoSoggettoPratica(storicoSoggettoPraticaId); - } - - /** - * Deletes the bo storico soggetto pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param storicoSoggettoPraticaId the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was removed - * @throws PortalException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica deleteBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boStoricoSoggettoPraticaLocalService.deleteBoStoricoSoggettoPratica(storicoSoggettoPraticaId); - } - - /** - * Deletes the bo storico soggetto pratica from the database. Also notifies the appropriate model listeners. - * - * @param boStoricoSoggettoPratica the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica deleteBoStoricoSoggettoPratica( - it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boStoricoSoggettoPraticaLocalService.deleteBoStoricoSoggettoPratica(boStoricoSoggettoPratica); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _boStoricoSoggettoPraticaLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boStoricoSoggettoPraticaLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _boStoricoSoggettoPraticaLocalService.dynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _boStoricoSoggettoPraticaLocalService.dynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boStoricoSoggettoPraticaLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _boStoricoSoggettoPraticaLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica fetchBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boStoricoSoggettoPraticaLocalService.fetchBoStoricoSoggettoPratica(storicoSoggettoPraticaId); - } - - /** - * Returns the bo storico soggetto pratica with the primary key. - * - * @param storicoSoggettoPraticaId the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica - * @throws PortalException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica getBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boStoricoSoggettoPraticaLocalService.getBoStoricoSoggettoPratica(storicoSoggettoPraticaId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boStoricoSoggettoPraticaLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the bo storico soggetto praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo storico soggetto praticas - * @param end the upper bound of the range of bo storico soggetto praticas (not inclusive) - * @return the range of bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getBoStoricoSoggettoPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _boStoricoSoggettoPraticaLocalService.getBoStoricoSoggettoPraticas(start, - end); - } - - /** - * Returns the number of bo storico soggetto praticas. - * - * @return the number of bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoStoricoSoggettoPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _boStoricoSoggettoPraticaLocalService.getBoStoricoSoggettoPraticasCount(); - } - - /** - * Updates the bo storico soggetto pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boStoricoSoggettoPratica the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica updateBoStoricoSoggettoPratica( - it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boStoricoSoggettoPraticaLocalService.updateBoStoricoSoggettoPratica(boStoricoSoggettoPratica); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _boStoricoSoggettoPraticaLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _boStoricoSoggettoPraticaLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _boStoricoSoggettoPraticaLocalService.invokeMethod(name, - parameterTypes, arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public BoStoricoSoggettoPraticaLocalService getWrappedBoStoricoSoggettoPraticaLocalService() { - return _boStoricoSoggettoPraticaLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedBoStoricoSoggettoPraticaLocalService( - BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - _boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - @Override - public BoStoricoSoggettoPraticaLocalService getWrappedService() { - return _boStoricoSoggettoPraticaLocalService; - } - - @Override - public void setWrappedService( - BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - _boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - private BoStoricoSoggettoPraticaLocalService _boStoricoSoggettoPraticaLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoTempisticaLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoTempisticaLocalService.java deleted file mode 100644 index 2225bc01..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoTempisticaLocalService.java +++ /dev/null @@ -1,312 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for BoTempistica. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author 3FC - * @see BoTempisticaLocalServiceUtil - * @see it.tref.liferay.portos.importazione.service.base.BoTempisticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.BoTempisticaLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface BoTempisticaLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoTempisticaLocalServiceUtil} to access the bo tempistica local service. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.BoTempisticaLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the bo tempistica to the database. Also notifies the appropriate model listeners. - * - * @param boTempistica the bo tempistica - * @return the bo tempistica that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.BoTempistica addBoTempistica( - it.tref.liferay.portos.importazione.model.BoTempistica boTempistica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new bo tempistica with the primary key. Does not add the bo tempistica to the database. - * - * @param tempisticaId the primary key for the new bo tempistica - * @return the new bo tempistica - */ - public it.tref.liferay.portos.importazione.model.BoTempistica createBoTempistica( - long tempisticaId); - - /** - * Deletes the bo tempistica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param tempisticaId the primary key of the bo tempistica - * @return the bo tempistica that was removed - * @throws PortalException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.BoTempistica deleteBoTempistica( - long tempisticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the bo tempistica from the database. Also notifies the appropriate model listeners. - * - * @param boTempistica the bo tempistica - * @return the bo tempistica that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.BoTempistica deleteBoTempistica( - it.tref.liferay.portos.importazione.model.BoTempistica boTempistica) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoTempistica fetchBoTempistica( - long tempisticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo tempistica with the matching UUID and company. - * - * @param uuid the bo tempistica's UUID - * @param companyId the primary key of the company - * @return the matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoTempistica fetchBoTempisticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo tempistica matching the UUID and group. - * - * @param uuid the bo tempistica's UUID - * @param groupId the primary key of the group - * @return the matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoTempistica fetchBoTempisticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo tempistica with the primary key. - * - * @param tempisticaId the primary key of the bo tempistica - * @return the bo tempistica - * @throws PortalException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoTempistica getBoTempistica( - long tempisticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo tempistica with the matching UUID and company. - * - * @param uuid the bo tempistica's UUID - * @param companyId the primary key of the company - * @return the matching bo tempistica - * @throws PortalException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoTempistica getBoTempisticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo tempistica matching the UUID and group. - * - * @param uuid the bo tempistica's UUID - * @param groupId the primary key of the group - * @return the matching bo tempistica - * @throws PortalException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoTempistica getBoTempisticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo tempisticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @return the range of bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getBoTempisticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo tempisticas. - * - * @return the number of bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getBoTempisticasCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the bo tempistica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boTempistica the bo tempistica - * @return the bo tempistica that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.BoTempistica updateBoTempistica( - it.tref.liferay.portos.importazione.model.BoTempistica boTempistica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoTempisticaLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoTempisticaLocalServiceClp.java deleted file mode 100644 index eda6f3eb..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoTempisticaLocalServiceClp.java +++ /dev/null @@ -1,860 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author 3FC - * @generated - */ -public class BoTempisticaLocalServiceClp implements BoTempisticaLocalService { - public BoTempisticaLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addBoTempistica"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.BoTempistica" - }; - - _methodName1 = "createBoTempistica"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoTempistica"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoTempistica"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.BoTempistica" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoTempistica"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchBoTempisticaByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchBoTempisticaByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getBoTempistica"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getBoTempisticaByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getBoTempisticaByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getBoTempisticas"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getBoTempisticasCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateBoTempistica"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.importazione.model.BoTempistica" - }; - - _methodName20 = "getBeanIdentifier"; - - _methodParameterTypes20 = new String[] { }; - - _methodName21 = "setBeanIdentifier"; - - _methodParameterTypes21 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.importazione.model.BoTempistica addBoTempistica( - it.tref.liferay.portos.importazione.model.BoTempistica boTempistica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(boTempistica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoTempistica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoTempistica createBoTempistica( - long tempisticaId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { tempisticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoTempistica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoTempistica deleteBoTempistica( - long tempisticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { tempisticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoTempistica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoTempistica deleteBoTempistica( - it.tref.liferay.portos.importazione.model.BoTempistica boTempistica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(boTempistica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoTempistica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoTempistica fetchBoTempistica( - long tempisticaId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { tempisticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoTempistica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoTempistica fetchBoTempisticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoTempistica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoTempistica fetchBoTempisticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoTempistica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoTempistica getBoTempistica( - long tempisticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { tempisticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoTempistica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoTempistica getBoTempisticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoTempistica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoTempistica getBoTempisticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoTempistica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getBoTempisticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getBoTempisticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName18, - _methodParameterTypes18, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoTempistica updateBoTempistica( - it.tref.liferay.portos.importazione.model.BoTempistica boTempistica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName19, - _methodParameterTypes19, - new Object[] { ClpSerializer.translateInput(boTempistica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoTempistica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName20, - _methodParameterTypes20, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName21, - _methodParameterTypes21, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName20; - private String[] _methodParameterTypes20; - private String _methodName21; - private String[] _methodParameterTypes21; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoTempisticaLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoTempisticaLocalServiceUtil.java deleted file mode 100644 index f610912e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoTempisticaLocalServiceUtil.java +++ /dev/null @@ -1,368 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for BoTempistica. This utility wraps - * {@link it.tref.liferay.portos.importazione.service.impl.BoTempisticaLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author 3FC - * @see BoTempisticaLocalService - * @see it.tref.liferay.portos.importazione.service.base.BoTempisticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.BoTempisticaLocalServiceImpl - * @generated - */ -public class BoTempisticaLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.BoTempisticaLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the bo tempistica to the database. Also notifies the appropriate model listeners. - * - * @param boTempistica the bo tempistica - * @return the bo tempistica that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTempistica addBoTempistica( - it.tref.liferay.portos.importazione.model.BoTempistica boTempistica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addBoTempistica(boTempistica); - } - - /** - * Creates a new bo tempistica with the primary key. Does not add the bo tempistica to the database. - * - * @param tempisticaId the primary key for the new bo tempistica - * @return the new bo tempistica - */ - public static it.tref.liferay.portos.importazione.model.BoTempistica createBoTempistica( - long tempisticaId) { - return getService().createBoTempistica(tempisticaId); - } - - /** - * Deletes the bo tempistica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param tempisticaId the primary key of the bo tempistica - * @return the bo tempistica that was removed - * @throws PortalException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTempistica deleteBoTempistica( - long tempisticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoTempistica(tempisticaId); - } - - /** - * Deletes the bo tempistica from the database. Also notifies the appropriate model listeners. - * - * @param boTempistica the bo tempistica - * @return the bo tempistica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTempistica deleteBoTempistica( - it.tref.liferay.portos.importazione.model.BoTempistica boTempistica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoTempistica(boTempistica); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.importazione.model.BoTempistica fetchBoTempistica( - long tempisticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoTempistica(tempisticaId); - } - - /** - * Returns the bo tempistica with the matching UUID and company. - * - * @param uuid the bo tempistica's UUID - * @param companyId the primary key of the company - * @return the matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTempistica fetchBoTempisticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoTempisticaByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the bo tempistica matching the UUID and group. - * - * @param uuid the bo tempistica's UUID - * @param groupId the primary key of the group - * @return the matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTempistica fetchBoTempisticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoTempisticaByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns the bo tempistica with the primary key. - * - * @param tempisticaId the primary key of the bo tempistica - * @return the bo tempistica - * @throws PortalException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTempistica getBoTempistica( - long tempisticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoTempistica(tempisticaId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns the bo tempistica with the matching UUID and company. - * - * @param uuid the bo tempistica's UUID - * @param companyId the primary key of the company - * @return the matching bo tempistica - * @throws PortalException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTempistica getBoTempisticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoTempisticaByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the bo tempistica matching the UUID and group. - * - * @param uuid the bo tempistica's UUID - * @param groupId the primary key of the group - * @return the matching bo tempistica - * @throws PortalException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTempistica getBoTempisticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoTempisticaByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns a range of all the bo tempisticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @return the range of bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List getBoTempisticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoTempisticas(start, end); - } - - /** - * Returns the number of bo tempisticas. - * - * @return the number of bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static int getBoTempisticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoTempisticasCount(); - } - - /** - * Updates the bo tempistica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boTempistica the bo tempistica - * @return the bo tempistica that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTempistica updateBoTempistica( - it.tref.liferay.portos.importazione.model.BoTempistica boTempistica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateBoTempistica(boTempistica); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static BoTempisticaLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - BoTempisticaLocalService.class.getName()); - - if (invokableLocalService instanceof BoTempisticaLocalService) { - _service = (BoTempisticaLocalService)invokableLocalService; - } - else { - _service = new BoTempisticaLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(BoTempisticaLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(BoTempisticaLocalService service) { - } - - private static BoTempisticaLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoTempisticaLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoTempisticaLocalServiceWrapper.java deleted file mode 100644 index 4d8e4dca..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoTempisticaLocalServiceWrapper.java +++ /dev/null @@ -1,385 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link BoTempisticaLocalService}. - * - * @author 3FC - * @see BoTempisticaLocalService - * @generated - */ -public class BoTempisticaLocalServiceWrapper implements BoTempisticaLocalService, - ServiceWrapper { - public BoTempisticaLocalServiceWrapper( - BoTempisticaLocalService boTempisticaLocalService) { - _boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Adds the bo tempistica to the database. Also notifies the appropriate model listeners. - * - * @param boTempistica the bo tempistica - * @return the bo tempistica that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoTempistica addBoTempistica( - it.tref.liferay.portos.importazione.model.BoTempistica boTempistica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTempisticaLocalService.addBoTempistica(boTempistica); - } - - /** - * Creates a new bo tempistica with the primary key. Does not add the bo tempistica to the database. - * - * @param tempisticaId the primary key for the new bo tempistica - * @return the new bo tempistica - */ - @Override - public it.tref.liferay.portos.importazione.model.BoTempistica createBoTempistica( - long tempisticaId) { - return _boTempisticaLocalService.createBoTempistica(tempisticaId); - } - - /** - * Deletes the bo tempistica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param tempisticaId the primary key of the bo tempistica - * @return the bo tempistica that was removed - * @throws PortalException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoTempistica deleteBoTempistica( - long tempisticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boTempisticaLocalService.deleteBoTempistica(tempisticaId); - } - - /** - * Deletes the bo tempistica from the database. Also notifies the appropriate model listeners. - * - * @param boTempistica the bo tempistica - * @return the bo tempistica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoTempistica deleteBoTempistica( - it.tref.liferay.portos.importazione.model.BoTempistica boTempistica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTempisticaLocalService.deleteBoTempistica(boTempistica); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _boTempisticaLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTempisticaLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _boTempisticaLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTempisticaLocalService.dynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTempisticaLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTempisticaLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoTempistica fetchBoTempistica( - long tempisticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTempisticaLocalService.fetchBoTempistica(tempisticaId); - } - - /** - * Returns the bo tempistica with the matching UUID and company. - * - * @param uuid the bo tempistica's UUID - * @param companyId the primary key of the company - * @return the matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoTempistica fetchBoTempisticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTempisticaLocalService.fetchBoTempisticaByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the bo tempistica matching the UUID and group. - * - * @param uuid the bo tempistica's UUID - * @param groupId the primary key of the group - * @return the matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoTempistica fetchBoTempisticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTempisticaLocalService.fetchBoTempisticaByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns the bo tempistica with the primary key. - * - * @param tempisticaId the primary key of the bo tempistica - * @return the bo tempistica - * @throws PortalException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoTempistica getBoTempistica( - long tempisticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boTempisticaLocalService.getBoTempistica(tempisticaId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boTempisticaLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns the bo tempistica with the matching UUID and company. - * - * @param uuid the bo tempistica's UUID - * @param companyId the primary key of the company - * @return the matching bo tempistica - * @throws PortalException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoTempistica getBoTempisticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boTempisticaLocalService.getBoTempisticaByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the bo tempistica matching the UUID and group. - * - * @param uuid the bo tempistica's UUID - * @param groupId the primary key of the group - * @return the matching bo tempistica - * @throws PortalException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoTempistica getBoTempisticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boTempisticaLocalService.getBoTempisticaByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns a range of all the bo tempisticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @return the range of bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getBoTempisticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTempisticaLocalService.getBoTempisticas(start, end); - } - - /** - * Returns the number of bo tempisticas. - * - * @return the number of bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoTempisticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _boTempisticaLocalService.getBoTempisticasCount(); - } - - /** - * Updates the bo tempistica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boTempistica the bo tempistica - * @return the bo tempistica that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoTempistica updateBoTempistica( - it.tref.liferay.portos.importazione.model.BoTempistica boTempistica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTempisticaLocalService.updateBoTempistica(boTempistica); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _boTempisticaLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _boTempisticaLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _boTempisticaLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public BoTempisticaLocalService getWrappedBoTempisticaLocalService() { - return _boTempisticaLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedBoTempisticaLocalService( - BoTempisticaLocalService boTempisticaLocalService) { - _boTempisticaLocalService = boTempisticaLocalService; - } - - @Override - public BoTempisticaLocalService getWrappedService() { - return _boTempisticaLocalService; - } - - @Override - public void setWrappedService( - BoTempisticaLocalService boTempisticaLocalService) { - _boTempisticaLocalService = boTempisticaLocalService; - } - - private BoTempisticaLocalService _boTempisticaLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoTerritorioLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoTerritorioLocalService.java deleted file mode 100644 index c4a29586..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoTerritorioLocalService.java +++ /dev/null @@ -1,256 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for BoTerritorio. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author 3FC - * @see BoTerritorioLocalServiceUtil - * @see it.tref.liferay.portos.importazione.service.base.BoTerritorioLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.BoTerritorioLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface BoTerritorioLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoTerritorioLocalServiceUtil} to access the bo territorio local service. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.BoTerritorioLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the bo territorio to the database. Also notifies the appropriate model listeners. - * - * @param boTerritorio the bo territorio - * @return the bo territorio that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.BoTerritorio addBoTerritorio( - it.tref.liferay.portos.importazione.model.BoTerritorio boTerritorio) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new bo territorio with the primary key. Does not add the bo territorio to the database. - * - * @param territorioId the primary key for the new bo territorio - * @return the new bo territorio - */ - public it.tref.liferay.portos.importazione.model.BoTerritorio createBoTerritorio( - long territorioId); - - /** - * Deletes the bo territorio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param territorioId the primary key of the bo territorio - * @return the bo territorio that was removed - * @throws PortalException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.BoTerritorio deleteBoTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the bo territorio from the database. Also notifies the appropriate model listeners. - * - * @param boTerritorio the bo territorio - * @return the bo territorio that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.BoTerritorio deleteBoTerritorio( - it.tref.liferay.portos.importazione.model.BoTerritorio boTerritorio) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoTerritorio fetchBoTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo territorio with the primary key. - * - * @param territorioId the primary key of the bo territorio - * @return the bo territorio - * @throws PortalException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.BoTerritorio getBoTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of bo territorios - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getBoTerritorios( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo territorios. - * - * @return the number of bo territorios - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getBoTerritoriosCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the bo territorio in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boTerritorio the bo territorio - * @return the bo territorio that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.BoTerritorio updateBoTerritorio( - it.tref.liferay.portos.importazione.model.BoTerritorio boTerritorio) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoTerritorioLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoTerritorioLocalServiceClp.java deleted file mode 100644 index 3e4ad752..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoTerritorioLocalServiceClp.java +++ /dev/null @@ -1,706 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author 3FC - * @generated - */ -public class BoTerritorioLocalServiceClp implements BoTerritorioLocalService { - public BoTerritorioLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addBoTerritorio"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.BoTerritorio" - }; - - _methodName1 = "createBoTerritorio"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoTerritorio"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoTerritorio"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.BoTerritorio" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoTerritorio"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getBoTerritorio"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getBoTerritorios"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getBoTerritoriosCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateBoTerritorio"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.BoTerritorio" - }; - - _methodName16 = "getBeanIdentifier"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "setBeanIdentifier"; - - _methodParameterTypes17 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.importazione.model.BoTerritorio addBoTerritorio( - it.tref.liferay.portos.importazione.model.BoTerritorio boTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(boTerritorio) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoTerritorio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoTerritorio createBoTerritorio( - long territorioId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { territorioId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoTerritorio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoTerritorio deleteBoTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { territorioId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoTerritorio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoTerritorio deleteBoTerritorio( - it.tref.liferay.portos.importazione.model.BoTerritorio boTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(boTerritorio) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoTerritorio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoTerritorio fetchBoTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { territorioId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoTerritorio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoTerritorio getBoTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, new Object[] { territorioId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoTerritorio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getBoTerritorios( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getBoTerritoriosCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoTerritorio updateBoTerritorio( - it.tref.liferay.portos.importazione.model.BoTerritorio boTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(boTerritorio) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.BoTerritorio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoTerritorioLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoTerritorioLocalServiceUtil.java deleted file mode 100644 index e97c0ef0..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoTerritorioLocalServiceUtil.java +++ /dev/null @@ -1,308 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for BoTerritorio. This utility wraps - * {@link it.tref.liferay.portos.importazione.service.impl.BoTerritorioLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author 3FC - * @see BoTerritorioLocalService - * @see it.tref.liferay.portos.importazione.service.base.BoTerritorioLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.BoTerritorioLocalServiceImpl - * @generated - */ -public class BoTerritorioLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.BoTerritorioLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the bo territorio to the database. Also notifies the appropriate model listeners. - * - * @param boTerritorio the bo territorio - * @return the bo territorio that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTerritorio addBoTerritorio( - it.tref.liferay.portos.importazione.model.BoTerritorio boTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addBoTerritorio(boTerritorio); - } - - /** - * Creates a new bo territorio with the primary key. Does not add the bo territorio to the database. - * - * @param territorioId the primary key for the new bo territorio - * @return the new bo territorio - */ - public static it.tref.liferay.portos.importazione.model.BoTerritorio createBoTerritorio( - long territorioId) { - return getService().createBoTerritorio(territorioId); - } - - /** - * Deletes the bo territorio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param territorioId the primary key of the bo territorio - * @return the bo territorio that was removed - * @throws PortalException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTerritorio deleteBoTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoTerritorio(territorioId); - } - - /** - * Deletes the bo territorio from the database. Also notifies the appropriate model listeners. - * - * @param boTerritorio the bo territorio - * @return the bo territorio that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTerritorio deleteBoTerritorio( - it.tref.liferay.portos.importazione.model.BoTerritorio boTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoTerritorio(boTerritorio); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.importazione.model.BoTerritorio fetchBoTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoTerritorio(territorioId); - } - - /** - * Returns the bo territorio with the primary key. - * - * @param territorioId the primary key of the bo territorio - * @return the bo territorio - * @throws PortalException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTerritorio getBoTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoTerritorio(territorioId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the bo territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of bo territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List getBoTerritorios( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoTerritorios(start, end); - } - - /** - * Returns the number of bo territorios. - * - * @return the number of bo territorios - * @throws SystemException if a system exception occurred - */ - public static int getBoTerritoriosCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoTerritoriosCount(); - } - - /** - * Updates the bo territorio in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boTerritorio the bo territorio - * @return the bo territorio that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTerritorio updateBoTerritorio( - it.tref.liferay.portos.importazione.model.BoTerritorio boTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateBoTerritorio(boTerritorio); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static BoTerritorioLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - BoTerritorioLocalService.class.getName()); - - if (invokableLocalService instanceof BoTerritorioLocalService) { - _service = (BoTerritorioLocalService)invokableLocalService; - } - else { - _service = new BoTerritorioLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(BoTerritorioLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(BoTerritorioLocalService service) { - } - - private static BoTerritorioLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoTerritorioLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoTerritorioLocalServiceWrapper.java deleted file mode 100644 index 8e5b7cd1..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/BoTerritorioLocalServiceWrapper.java +++ /dev/null @@ -1,317 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link BoTerritorioLocalService}. - * - * @author 3FC - * @see BoTerritorioLocalService - * @generated - */ -public class BoTerritorioLocalServiceWrapper implements BoTerritorioLocalService, - ServiceWrapper { - public BoTerritorioLocalServiceWrapper( - BoTerritorioLocalService boTerritorioLocalService) { - _boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Adds the bo territorio to the database. Also notifies the appropriate model listeners. - * - * @param boTerritorio the bo territorio - * @return the bo territorio that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoTerritorio addBoTerritorio( - it.tref.liferay.portos.importazione.model.BoTerritorio boTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTerritorioLocalService.addBoTerritorio(boTerritorio); - } - - /** - * Creates a new bo territorio with the primary key. Does not add the bo territorio to the database. - * - * @param territorioId the primary key for the new bo territorio - * @return the new bo territorio - */ - @Override - public it.tref.liferay.portos.importazione.model.BoTerritorio createBoTerritorio( - long territorioId) { - return _boTerritorioLocalService.createBoTerritorio(territorioId); - } - - /** - * Deletes the bo territorio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param territorioId the primary key of the bo territorio - * @return the bo territorio that was removed - * @throws PortalException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoTerritorio deleteBoTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boTerritorioLocalService.deleteBoTerritorio(territorioId); - } - - /** - * Deletes the bo territorio from the database. Also notifies the appropriate model listeners. - * - * @param boTerritorio the bo territorio - * @return the bo territorio that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoTerritorio deleteBoTerritorio( - it.tref.liferay.portos.importazione.model.BoTerritorio boTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTerritorioLocalService.deleteBoTerritorio(boTerritorio); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _boTerritorioLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTerritorioLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _boTerritorioLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTerritorioLocalService.dynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTerritorioLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTerritorioLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.importazione.model.BoTerritorio fetchBoTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTerritorioLocalService.fetchBoTerritorio(territorioId); - } - - /** - * Returns the bo territorio with the primary key. - * - * @param territorioId the primary key of the bo territorio - * @return the bo territorio - * @throws PortalException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoTerritorio getBoTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boTerritorioLocalService.getBoTerritorio(territorioId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boTerritorioLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the bo territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getBoTerritorios( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTerritorioLocalService.getBoTerritorios(start, end); - } - - /** - * Returns the number of bo territorios. - * - * @return the number of bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoTerritoriosCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _boTerritorioLocalService.getBoTerritoriosCount(); - } - - /** - * Updates the bo territorio in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boTerritorio the bo territorio - * @return the bo territorio that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.BoTerritorio updateBoTerritorio( - it.tref.liferay.portos.importazione.model.BoTerritorio boTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTerritorioLocalService.updateBoTerritorio(boTerritorio); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _boTerritorioLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _boTerritorioLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _boTerritorioLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public BoTerritorioLocalService getWrappedBoTerritorioLocalService() { - return _boTerritorioLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedBoTerritorioLocalService( - BoTerritorioLocalService boTerritorioLocalService) { - _boTerritorioLocalService = boTerritorioLocalService; - } - - @Override - public BoTerritorioLocalService getWrappedService() { - return _boTerritorioLocalService; - } - - @Override - public void setWrappedService( - BoTerritorioLocalService boTerritorioLocalService) { - _boTerritorioLocalService = boTerritorioLocalService; - } - - private BoTerritorioLocalService _boTerritorioLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/ClpSerializer.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/ClpSerializer.java deleted file mode 100644 index b29a39e8..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/ClpSerializer.java +++ /dev/null @@ -1,2714 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.io.unsync.UnsyncByteArrayInputStream; -import com.liferay.portal.kernel.io.unsync.UnsyncByteArrayOutputStream; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.ClassLoaderObjectInputStream; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.BaseModel; - -import it.tref.liferay.portos.importazione.model.BoArtLeggeClp; -import it.tref.liferay.portos.importazione.model.BoAvvisoClp; -import it.tref.liferay.portos.importazione.model.BoComuneClp; -import it.tref.liferay.portos.importazione.model.BoConfigurazioneClp; -import it.tref.liferay.portos.importazione.model.BoDettPraticaClp; -import it.tref.liferay.portos.importazione.model.BoDocPraticaClp; -import it.tref.liferay.portos.importazione.model.BoIntPraticaClp; -import it.tref.liferay.portos.importazione.model.BoProblemiPraticaClp; -import it.tref.liferay.portos.importazione.model.BoRelLeggiPraticaClp; -import it.tref.liferay.portos.importazione.model.BoSistemaCostruttivoClp; -import it.tref.liferay.portos.importazione.model.BoSoggettoClp; -import it.tref.liferay.portos.importazione.model.BoSorteggioClp; -import it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPraticaClp; -import it.tref.liferay.portos.importazione.model.BoTempisticaClp; -import it.tref.liferay.portos.importazione.model.BoTerritorioClp; -import it.tref.liferay.portos.importazione.model.FeComuneClp; -import it.tref.liferay.portos.importazione.model.FeDettPraticaClp; -import it.tref.liferay.portos.importazione.model.FeIntPraticaClp; -import it.tref.liferay.portos.importazione.model.FePagamentoClp; -import it.tref.liferay.portos.importazione.model.FeProvinciaClp; -import it.tref.liferay.portos.importazione.model.FeTerritorioClp; -import it.tref.liferay.portos.importazione.model.KaleoInstanceClp; -import it.tref.liferay.portos.importazione.model.KaleoInstanceTokenClp; -import it.tref.liferay.portos.importazione.model.KaleoLogClp; -import it.tref.liferay.portos.importazione.model.KaleoNodeClp; -import it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstanceClp; -import it.tref.liferay.portos.importazione.model.KaleoTaskClp; -import it.tref.liferay.portos.importazione.model.KaleoTaskInstanceTokenClp; -import it.tref.liferay.portos.importazione.model.OldDLFileEntryClp; -import it.tref.liferay.portos.importazione.model.OldDLFolderClp; -import it.tref.liferay.portos.importazione.model.OldGroupClp; -import it.tref.liferay.portos.importazione.model.OldOrganizationClp; -import it.tref.liferay.portos.importazione.model.OldRoleClp; -import it.tref.liferay.portos.importazione.model.OldUserClp; -import it.tref.liferay.portos.importazione.model.OldUserGroupClp; -import it.tref.liferay.portos.importazione.model.ProceduraImportazioneClp; -import it.tref.liferay.portos.importazione.model.StatoImportazioneClp; - -import java.io.ObjectInputStream; -import java.io.ObjectOutputStream; - -import java.lang.reflect.Method; - -import java.util.ArrayList; -import java.util.List; - -/** - * @author 3FC - */ -public class ClpSerializer { - public static String getServletContextName() { - if (Validator.isNotNull(_servletContextName)) { - return _servletContextName; - } - - synchronized (ClpSerializer.class) { - if (Validator.isNotNull(_servletContextName)) { - return _servletContextName; - } - - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Class portletPropsClass = classLoader.loadClass( - "com.liferay.util.portlet.PortletProps"); - - Method getMethod = portletPropsClass.getMethod("get", - new Class[] { String.class }); - - String portletPropsServletContextName = (String)getMethod.invoke(null, - "portos-importazione-portlet-deployment-context"); - - if (Validator.isNotNull(portletPropsServletContextName)) { - _servletContextName = portletPropsServletContextName; - } - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info( - "Unable to locate deployment context from portlet properties"); - } - } - - if (Validator.isNull(_servletContextName)) { - try { - String propsUtilServletContextName = PropsUtil.get( - "portos-importazione-portlet-deployment-context"); - - if (Validator.isNotNull(propsUtilServletContextName)) { - _servletContextName = propsUtilServletContextName; - } - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info( - "Unable to locate deployment context from portal properties"); - } - } - } - - if (Validator.isNull(_servletContextName)) { - _servletContextName = "portos-importazione-portlet"; - } - - return _servletContextName; - } - } - - public static Object translateInput(BaseModel oldModel) { - Class oldModelClass = oldModel.getClass(); - - String oldModelClassName = oldModelClass.getName(); - - if (oldModelClassName.equals(BoArtLeggeClp.class.getName())) { - return translateInputBoArtLegge(oldModel); - } - - if (oldModelClassName.equals(BoAvvisoClp.class.getName())) { - return translateInputBoAvviso(oldModel); - } - - if (oldModelClassName.equals(BoComuneClp.class.getName())) { - return translateInputBoComune(oldModel); - } - - if (oldModelClassName.equals(BoConfigurazioneClp.class.getName())) { - return translateInputBoConfigurazione(oldModel); - } - - if (oldModelClassName.equals(BoDettPraticaClp.class.getName())) { - return translateInputBoDettPratica(oldModel); - } - - if (oldModelClassName.equals(BoDocPraticaClp.class.getName())) { - return translateInputBoDocPratica(oldModel); - } - - if (oldModelClassName.equals(BoIntPraticaClp.class.getName())) { - return translateInputBoIntPratica(oldModel); - } - - if (oldModelClassName.equals(BoProblemiPraticaClp.class.getName())) { - return translateInputBoProblemiPratica(oldModel); - } - - if (oldModelClassName.equals(BoRelLeggiPraticaClp.class.getName())) { - return translateInputBoRelLeggiPratica(oldModel); - } - - if (oldModelClassName.equals(BoSistemaCostruttivoClp.class.getName())) { - return translateInputBoSistemaCostruttivo(oldModel); - } - - if (oldModelClassName.equals(BoSoggettoClp.class.getName())) { - return translateInputBoSoggetto(oldModel); - } - - if (oldModelClassName.equals(BoSorteggioClp.class.getName())) { - return translateInputBoSorteggio(oldModel); - } - - if (oldModelClassName.equals( - BoStoricoSoggettoPraticaClp.class.getName())) { - return translateInputBoStoricoSoggettoPratica(oldModel); - } - - if (oldModelClassName.equals(BoTempisticaClp.class.getName())) { - return translateInputBoTempistica(oldModel); - } - - if (oldModelClassName.equals(BoTerritorioClp.class.getName())) { - return translateInputBoTerritorio(oldModel); - } - - if (oldModelClassName.equals(FeComuneClp.class.getName())) { - return translateInputFeComune(oldModel); - } - - if (oldModelClassName.equals(FeDettPraticaClp.class.getName())) { - return translateInputFeDettPratica(oldModel); - } - - if (oldModelClassName.equals(FeIntPraticaClp.class.getName())) { - return translateInputFeIntPratica(oldModel); - } - - if (oldModelClassName.equals(FePagamentoClp.class.getName())) { - return translateInputFePagamento(oldModel); - } - - if (oldModelClassName.equals(FeProvinciaClp.class.getName())) { - return translateInputFeProvincia(oldModel); - } - - if (oldModelClassName.equals(FeTerritorioClp.class.getName())) { - return translateInputFeTerritorio(oldModel); - } - - if (oldModelClassName.equals(KaleoInstanceClp.class.getName())) { - return translateInputKaleoInstance(oldModel); - } - - if (oldModelClassName.equals(KaleoInstanceTokenClp.class.getName())) { - return translateInputKaleoInstanceToken(oldModel); - } - - if (oldModelClassName.equals(KaleoLogClp.class.getName())) { - return translateInputKaleoLog(oldModel); - } - - if (oldModelClassName.equals(KaleoNodeClp.class.getName())) { - return translateInputKaleoNode(oldModel); - } - - if (oldModelClassName.equals(KaleoTaskClp.class.getName())) { - return translateInputKaleoTask(oldModel); - } - - if (oldModelClassName.equals( - KaleoTaskAssignmentInstanceClp.class.getName())) { - return translateInputKaleoTaskAssignmentInstance(oldModel); - } - - if (oldModelClassName.equals(KaleoTaskInstanceTokenClp.class.getName())) { - return translateInputKaleoTaskInstanceToken(oldModel); - } - - if (oldModelClassName.equals(OldDLFileEntryClp.class.getName())) { - return translateInputOldDLFileEntry(oldModel); - } - - if (oldModelClassName.equals(OldDLFolderClp.class.getName())) { - return translateInputOldDLFolder(oldModel); - } - - if (oldModelClassName.equals(OldGroupClp.class.getName())) { - return translateInputOldGroup(oldModel); - } - - if (oldModelClassName.equals(OldOrganizationClp.class.getName())) { - return translateInputOldOrganization(oldModel); - } - - if (oldModelClassName.equals(OldRoleClp.class.getName())) { - return translateInputOldRole(oldModel); - } - - if (oldModelClassName.equals(OldUserClp.class.getName())) { - return translateInputOldUser(oldModel); - } - - if (oldModelClassName.equals(OldUserGroupClp.class.getName())) { - return translateInputOldUserGroup(oldModel); - } - - if (oldModelClassName.equals(ProceduraImportazioneClp.class.getName())) { - return translateInputProceduraImportazione(oldModel); - } - - if (oldModelClassName.equals(StatoImportazioneClp.class.getName())) { - return translateInputStatoImportazione(oldModel); - } - - return oldModel; - } - - public static Object translateInput(List oldList) { - List newList = new ArrayList(oldList.size()); - - for (int i = 0; i < oldList.size(); i++) { - Object curObj = oldList.get(i); - - newList.add(translateInput(curObj)); - } - - return newList; - } - - public static Object translateInputBoArtLegge(BaseModel oldModel) { - BoArtLeggeClp oldClpModel = (BoArtLeggeClp)oldModel; - - BaseModel newModel = oldClpModel.getBoArtLeggeRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputBoAvviso(BaseModel oldModel) { - BoAvvisoClp oldClpModel = (BoAvvisoClp)oldModel; - - BaseModel newModel = oldClpModel.getBoAvvisoRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputBoComune(BaseModel oldModel) { - BoComuneClp oldClpModel = (BoComuneClp)oldModel; - - BaseModel newModel = oldClpModel.getBoComuneRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputBoConfigurazione(BaseModel oldModel) { - BoConfigurazioneClp oldClpModel = (BoConfigurazioneClp)oldModel; - - BaseModel newModel = oldClpModel.getBoConfigurazioneRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputBoDettPratica(BaseModel oldModel) { - BoDettPraticaClp oldClpModel = (BoDettPraticaClp)oldModel; - - BaseModel newModel = oldClpModel.getBoDettPraticaRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputBoDocPratica(BaseModel oldModel) { - BoDocPraticaClp oldClpModel = (BoDocPraticaClp)oldModel; - - BaseModel newModel = oldClpModel.getBoDocPraticaRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputBoIntPratica(BaseModel oldModel) { - BoIntPraticaClp oldClpModel = (BoIntPraticaClp)oldModel; - - BaseModel newModel = oldClpModel.getBoIntPraticaRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputBoProblemiPratica(BaseModel oldModel) { - BoProblemiPraticaClp oldClpModel = (BoProblemiPraticaClp)oldModel; - - BaseModel newModel = oldClpModel.getBoProblemiPraticaRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputBoRelLeggiPratica(BaseModel oldModel) { - BoRelLeggiPraticaClp oldClpModel = (BoRelLeggiPraticaClp)oldModel; - - BaseModel newModel = oldClpModel.getBoRelLeggiPraticaRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputBoSistemaCostruttivo( - BaseModel oldModel) { - BoSistemaCostruttivoClp oldClpModel = (BoSistemaCostruttivoClp)oldModel; - - BaseModel newModel = oldClpModel.getBoSistemaCostruttivoRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputBoSoggetto(BaseModel oldModel) { - BoSoggettoClp oldClpModel = (BoSoggettoClp)oldModel; - - BaseModel newModel = oldClpModel.getBoSoggettoRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputBoSorteggio(BaseModel oldModel) { - BoSorteggioClp oldClpModel = (BoSorteggioClp)oldModel; - - BaseModel newModel = oldClpModel.getBoSorteggioRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputBoStoricoSoggettoPratica( - BaseModel oldModel) { - BoStoricoSoggettoPraticaClp oldClpModel = (BoStoricoSoggettoPraticaClp)oldModel; - - BaseModel newModel = oldClpModel.getBoStoricoSoggettoPraticaRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputBoTempistica(BaseModel oldModel) { - BoTempisticaClp oldClpModel = (BoTempisticaClp)oldModel; - - BaseModel newModel = oldClpModel.getBoTempisticaRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputBoTerritorio(BaseModel oldModel) { - BoTerritorioClp oldClpModel = (BoTerritorioClp)oldModel; - - BaseModel newModel = oldClpModel.getBoTerritorioRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputFeComune(BaseModel oldModel) { - FeComuneClp oldClpModel = (FeComuneClp)oldModel; - - BaseModel newModel = oldClpModel.getFeComuneRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputFeDettPratica(BaseModel oldModel) { - FeDettPraticaClp oldClpModel = (FeDettPraticaClp)oldModel; - - BaseModel newModel = oldClpModel.getFeDettPraticaRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputFeIntPratica(BaseModel oldModel) { - FeIntPraticaClp oldClpModel = (FeIntPraticaClp)oldModel; - - BaseModel newModel = oldClpModel.getFeIntPraticaRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputFePagamento(BaseModel oldModel) { - FePagamentoClp oldClpModel = (FePagamentoClp)oldModel; - - BaseModel newModel = oldClpModel.getFePagamentoRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputFeProvincia(BaseModel oldModel) { - FeProvinciaClp oldClpModel = (FeProvinciaClp)oldModel; - - BaseModel newModel = oldClpModel.getFeProvinciaRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputFeTerritorio(BaseModel oldModel) { - FeTerritorioClp oldClpModel = (FeTerritorioClp)oldModel; - - BaseModel newModel = oldClpModel.getFeTerritorioRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputKaleoInstance(BaseModel oldModel) { - KaleoInstanceClp oldClpModel = (KaleoInstanceClp)oldModel; - - BaseModel newModel = oldClpModel.getKaleoInstanceRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputKaleoInstanceToken(BaseModel oldModel) { - KaleoInstanceTokenClp oldClpModel = (KaleoInstanceTokenClp)oldModel; - - BaseModel newModel = oldClpModel.getKaleoInstanceTokenRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputKaleoLog(BaseModel oldModel) { - KaleoLogClp oldClpModel = (KaleoLogClp)oldModel; - - BaseModel newModel = oldClpModel.getKaleoLogRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputKaleoNode(BaseModel oldModel) { - KaleoNodeClp oldClpModel = (KaleoNodeClp)oldModel; - - BaseModel newModel = oldClpModel.getKaleoNodeRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputKaleoTask(BaseModel oldModel) { - KaleoTaskClp oldClpModel = (KaleoTaskClp)oldModel; - - BaseModel newModel = oldClpModel.getKaleoTaskRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputKaleoTaskAssignmentInstance( - BaseModel oldModel) { - KaleoTaskAssignmentInstanceClp oldClpModel = (KaleoTaskAssignmentInstanceClp)oldModel; - - BaseModel newModel = oldClpModel.getKaleoTaskAssignmentInstanceRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputKaleoTaskInstanceToken( - BaseModel oldModel) { - KaleoTaskInstanceTokenClp oldClpModel = (KaleoTaskInstanceTokenClp)oldModel; - - BaseModel newModel = oldClpModel.getKaleoTaskInstanceTokenRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputOldDLFileEntry(BaseModel oldModel) { - OldDLFileEntryClp oldClpModel = (OldDLFileEntryClp)oldModel; - - BaseModel newModel = oldClpModel.getOldDLFileEntryRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputOldDLFolder(BaseModel oldModel) { - OldDLFolderClp oldClpModel = (OldDLFolderClp)oldModel; - - BaseModel newModel = oldClpModel.getOldDLFolderRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputOldGroup(BaseModel oldModel) { - OldGroupClp oldClpModel = (OldGroupClp)oldModel; - - BaseModel newModel = oldClpModel.getOldGroupRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputOldOrganization(BaseModel oldModel) { - OldOrganizationClp oldClpModel = (OldOrganizationClp)oldModel; - - BaseModel newModel = oldClpModel.getOldOrganizationRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputOldRole(BaseModel oldModel) { - OldRoleClp oldClpModel = (OldRoleClp)oldModel; - - BaseModel newModel = oldClpModel.getOldRoleRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputOldUser(BaseModel oldModel) { - OldUserClp oldClpModel = (OldUserClp)oldModel; - - BaseModel newModel = oldClpModel.getOldUserRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputOldUserGroup(BaseModel oldModel) { - OldUserGroupClp oldClpModel = (OldUserGroupClp)oldModel; - - BaseModel newModel = oldClpModel.getOldUserGroupRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputProceduraImportazione( - BaseModel oldModel) { - ProceduraImportazioneClp oldClpModel = (ProceduraImportazioneClp)oldModel; - - BaseModel newModel = oldClpModel.getProceduraImportazioneRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputStatoImportazione(BaseModel oldModel) { - StatoImportazioneClp oldClpModel = (StatoImportazioneClp)oldModel; - - BaseModel newModel = oldClpModel.getStatoImportazioneRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInput(Object obj) { - if (obj instanceof BaseModel) { - return translateInput((BaseModel)obj); - } - else if (obj instanceof List) { - return translateInput((List)obj); - } - else { - return obj; - } - } - - public static Object translateOutput(BaseModel oldModel) { - Class oldModelClass = oldModel.getClass(); - - String oldModelClassName = oldModelClass.getName(); - - if (oldModelClassName.equals( - "it.tref.liferay.portos.importazione.model.impl.BoArtLeggeImpl")) { - return translateOutputBoArtLegge(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.importazione.model.impl.BoAvvisoImpl")) { - return translateOutputBoAvviso(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.importazione.model.impl.BoComuneImpl")) { - return translateOutputBoComune(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneImpl")) { - return translateOutputBoConfigurazione(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.importazione.model.impl.BoDettPraticaImpl")) { - return translateOutputBoDettPratica(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.importazione.model.impl.BoDocPraticaImpl")) { - return translateOutputBoDocPratica(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.importazione.model.impl.BoIntPraticaImpl")) { - return translateOutputBoIntPratica(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaImpl")) { - return translateOutputBoProblemiPratica(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaImpl")) { - return translateOutputBoRelLeggiPratica(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoImpl")) { - return translateOutputBoSistemaCostruttivo(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.importazione.model.impl.BoSoggettoImpl")) { - return translateOutputBoSoggetto(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.importazione.model.impl.BoSorteggioImpl")) { - return translateOutputBoSorteggio(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.importazione.model.impl.BoStoricoSoggettoPraticaImpl")) { - return translateOutputBoStoricoSoggettoPratica(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.importazione.model.impl.BoTempisticaImpl")) { - return translateOutputBoTempistica(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.importazione.model.impl.BoTerritorioImpl")) { - return translateOutputBoTerritorio(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.importazione.model.impl.FeComuneImpl")) { - return translateOutputFeComune(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.importazione.model.impl.FeDettPraticaImpl")) { - return translateOutputFeDettPratica(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.importazione.model.impl.FeIntPraticaImpl")) { - return translateOutputFeIntPratica(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.importazione.model.impl.FePagamentoImpl")) { - return translateOutputFePagamento(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.importazione.model.impl.FeProvinciaImpl")) { - return translateOutputFeProvincia(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.importazione.model.impl.FeTerritorioImpl")) { - return translateOutputFeTerritorio(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.importazione.model.impl.KaleoInstanceImpl")) { - return translateOutputKaleoInstance(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.importazione.model.impl.KaleoInstanceTokenImpl")) { - return translateOutputKaleoInstanceToken(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.importazione.model.impl.KaleoLogImpl")) { - return translateOutputKaleoLog(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.importazione.model.impl.KaleoNodeImpl")) { - return translateOutputKaleoNode(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.importazione.model.impl.KaleoTaskImpl")) { - return translateOutputKaleoTask(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceImpl")) { - return translateOutputKaleoTaskAssignmentInstance(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.importazione.model.impl.KaleoTaskInstanceTokenImpl")) { - return translateOutputKaleoTaskInstanceToken(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryImpl")) { - return translateOutputOldDLFileEntry(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.importazione.model.impl.OldDLFolderImpl")) { - return translateOutputOldDLFolder(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.importazione.model.impl.OldGroupImpl")) { - return translateOutputOldGroup(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.importazione.model.impl.OldOrganizationImpl")) { - return translateOutputOldOrganization(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.importazione.model.impl.OldRoleImpl")) { - return translateOutputOldRole(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.importazione.model.impl.OldUserImpl")) { - return translateOutputOldUser(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.importazione.model.impl.OldUserGroupImpl")) { - return translateOutputOldUserGroup(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.importazione.model.impl.ProceduraImportazioneImpl")) { - return translateOutputProceduraImportazione(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.importazione.model.impl.StatoImportazioneImpl")) { - return translateOutputStatoImportazione(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - return oldModel; - } - - public static Object translateOutput(List oldList) { - List newList = new ArrayList(oldList.size()); - - for (int i = 0; i < oldList.size(); i++) { - Object curObj = oldList.get(i); - - newList.add(translateOutput(curObj)); - } - - return newList; - } - - public static Object translateOutput(Object obj) { - if (obj instanceof BaseModel) { - return translateOutput((BaseModel)obj); - } - else if (obj instanceof List) { - return translateOutput((List)obj); - } - else { - return obj; - } - } - - public static Throwable translateThrowable(Throwable throwable) { - if (_useReflectionToTranslateThrowable) { - try { - UnsyncByteArrayOutputStream unsyncByteArrayOutputStream = new UnsyncByteArrayOutputStream(); - ObjectOutputStream objectOutputStream = new ObjectOutputStream(unsyncByteArrayOutputStream); - - objectOutputStream.writeObject(throwable); - - objectOutputStream.flush(); - objectOutputStream.close(); - - UnsyncByteArrayInputStream unsyncByteArrayInputStream = new UnsyncByteArrayInputStream(unsyncByteArrayOutputStream.unsafeGetByteArray(), - 0, unsyncByteArrayOutputStream.size()); - - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - ObjectInputStream objectInputStream = new ClassLoaderObjectInputStream(unsyncByteArrayInputStream, - contextClassLoader); - - throwable = (Throwable)objectInputStream.readObject(); - - objectInputStream.close(); - - return throwable; - } - catch (SecurityException se) { - if (_log.isInfoEnabled()) { - _log.info("Do not use reflection to translate throwable"); - } - - _useReflectionToTranslateThrowable = false; - } - catch (Throwable throwable2) { - _log.error(throwable2, throwable2); - - return throwable2; - } - } - - Class clazz = throwable.getClass(); - - String className = clazz.getName(); - - if (className.equals(PortalException.class.getName())) { - return new PortalException(); - } - - if (className.equals(SystemException.class.getName())) { - return new SystemException(); - } - - if (className.equals( - "it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException")) { - return new it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException(); - } - - if (className.equals( - "it.tref.liferay.portos.importazione.NoSuchBoAvvisoException")) { - return new it.tref.liferay.portos.importazione.NoSuchBoAvvisoException(); - } - - if (className.equals( - "it.tref.liferay.portos.importazione.NoSuchBoComuneException")) { - return new it.tref.liferay.portos.importazione.NoSuchBoComuneException(); - } - - if (className.equals( - "it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException")) { - return new it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException(); - } - - if (className.equals( - "it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException")) { - return new it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException(); - } - - if (className.equals( - "it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException")) { - return new it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException(); - } - - if (className.equals( - "it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException")) { - return new it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException(); - } - - if (className.equals( - "it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException")) { - return new it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException(); - } - - if (className.equals( - "it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException")) { - return new it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException(); - } - - if (className.equals( - "it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException")) { - return new it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException(); - } - - if (className.equals( - "it.tref.liferay.portos.importazione.NoSuchBoSoggettoException")) { - return new it.tref.liferay.portos.importazione.NoSuchBoSoggettoException(); - } - - if (className.equals( - "it.tref.liferay.portos.importazione.NoSuchBoSorteggioException")) { - return new it.tref.liferay.portos.importazione.NoSuchBoSorteggioException(); - } - - if (className.equals( - "it.tref.liferay.portos.importazione.NoSuchBoStoricoSoggettoPraticaException")) { - return new it.tref.liferay.portos.importazione.NoSuchBoStoricoSoggettoPraticaException(); - } - - if (className.equals( - "it.tref.liferay.portos.importazione.NoSuchBoTempisticaException")) { - return new it.tref.liferay.portos.importazione.NoSuchBoTempisticaException(); - } - - if (className.equals( - "it.tref.liferay.portos.importazione.NoSuchBoTerritorioException")) { - return new it.tref.liferay.portos.importazione.NoSuchBoTerritorioException(); - } - - if (className.equals( - "it.tref.liferay.portos.importazione.NoSuchFeComuneException")) { - return new it.tref.liferay.portos.importazione.NoSuchFeComuneException(); - } - - if (className.equals( - "it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException")) { - return new it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException(); - } - - if (className.equals( - "it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException")) { - return new it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException(); - } - - if (className.equals( - "it.tref.liferay.portos.importazione.NoSuchFePagamentoException")) { - return new it.tref.liferay.portos.importazione.NoSuchFePagamentoException(); - } - - if (className.equals( - "it.tref.liferay.portos.importazione.NoSuchFeProvinciaException")) { - return new it.tref.liferay.portos.importazione.NoSuchFeProvinciaException(); - } - - if (className.equals( - "it.tref.liferay.portos.importazione.NoSuchFeTerritorioException")) { - return new it.tref.liferay.portos.importazione.NoSuchFeTerritorioException(); - } - - if (className.equals( - "it.tref.liferay.portos.importazione.NoSuchKaleoInstanceException")) { - return new it.tref.liferay.portos.importazione.NoSuchKaleoInstanceException(); - } - - if (className.equals( - "it.tref.liferay.portos.importazione.NoSuchKaleoInstanceTokenException")) { - return new it.tref.liferay.portos.importazione.NoSuchKaleoInstanceTokenException(); - } - - if (className.equals( - "it.tref.liferay.portos.importazione.NoSuchKaleoLogException")) { - return new it.tref.liferay.portos.importazione.NoSuchKaleoLogException(); - } - - if (className.equals( - "it.tref.liferay.portos.importazione.NoSuchKaleoNodeException")) { - return new it.tref.liferay.portos.importazione.NoSuchKaleoNodeException(); - } - - if (className.equals( - "it.tref.liferay.portos.importazione.NoSuchKaleoTaskException")) { - return new it.tref.liferay.portos.importazione.NoSuchKaleoTaskException(); - } - - if (className.equals( - "it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException")) { - return new it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException(); - } - - if (className.equals( - "it.tref.liferay.portos.importazione.NoSuchKaleoTaskInstanceTokenException")) { - return new it.tref.liferay.portos.importazione.NoSuchKaleoTaskInstanceTokenException(); - } - - if (className.equals( - "it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException")) { - return new it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException(); - } - - if (className.equals( - "it.tref.liferay.portos.importazione.NoSuchOldDLFolderException")) { - return new it.tref.liferay.portos.importazione.NoSuchOldDLFolderException(); - } - - if (className.equals( - "it.tref.liferay.portos.importazione.NoSuchOldGroupException")) { - return new it.tref.liferay.portos.importazione.NoSuchOldGroupException(); - } - - if (className.equals( - "it.tref.liferay.portos.importazione.NoSuchOldOrganizationException")) { - return new it.tref.liferay.portos.importazione.NoSuchOldOrganizationException(); - } - - if (className.equals( - "it.tref.liferay.portos.importazione.NoSuchOldRoleException")) { - return new it.tref.liferay.portos.importazione.NoSuchOldRoleException(); - } - - if (className.equals( - "it.tref.liferay.portos.importazione.NoSuchOldUserException")) { - return new it.tref.liferay.portos.importazione.NoSuchOldUserException(); - } - - if (className.equals( - "it.tref.liferay.portos.importazione.NoSuchOldUserGroupException")) { - return new it.tref.liferay.portos.importazione.NoSuchOldUserGroupException(); - } - - if (className.equals( - "it.tref.liferay.portos.importazione.NoSuchProceduraImportazioneException")) { - return new it.tref.liferay.portos.importazione.NoSuchProceduraImportazioneException(); - } - - if (className.equals( - "it.tref.liferay.portos.importazione.NoSuchStatoImportazioneException")) { - return new it.tref.liferay.portos.importazione.NoSuchStatoImportazioneException(); - } - - return throwable; - } - - public static Object translateOutputBoArtLegge(BaseModel oldModel) { - BoArtLeggeClp newModel = new BoArtLeggeClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setBoArtLeggeRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputBoAvviso(BaseModel oldModel) { - BoAvvisoClp newModel = new BoAvvisoClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setBoAvvisoRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputBoComune(BaseModel oldModel) { - BoComuneClp newModel = new BoComuneClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setBoComuneRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputBoConfigurazione(BaseModel oldModel) { - BoConfigurazioneClp newModel = new BoConfigurazioneClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setBoConfigurazioneRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputBoDettPratica(BaseModel oldModel) { - BoDettPraticaClp newModel = new BoDettPraticaClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setBoDettPraticaRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputBoDocPratica(BaseModel oldModel) { - BoDocPraticaClp newModel = new BoDocPraticaClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setBoDocPraticaRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputBoIntPratica(BaseModel oldModel) { - BoIntPraticaClp newModel = new BoIntPraticaClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setBoIntPraticaRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputBoProblemiPratica(BaseModel oldModel) { - BoProblemiPraticaClp newModel = new BoProblemiPraticaClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setBoProblemiPraticaRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputBoRelLeggiPratica(BaseModel oldModel) { - BoRelLeggiPraticaClp newModel = new BoRelLeggiPraticaClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setBoRelLeggiPraticaRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputBoSistemaCostruttivo( - BaseModel oldModel) { - BoSistemaCostruttivoClp newModel = new BoSistemaCostruttivoClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setBoSistemaCostruttivoRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputBoSoggetto(BaseModel oldModel) { - BoSoggettoClp newModel = new BoSoggettoClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setBoSoggettoRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputBoSorteggio(BaseModel oldModel) { - BoSorteggioClp newModel = new BoSorteggioClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setBoSorteggioRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputBoStoricoSoggettoPratica( - BaseModel oldModel) { - BoStoricoSoggettoPraticaClp newModel = new BoStoricoSoggettoPraticaClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setBoStoricoSoggettoPraticaRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputBoTempistica(BaseModel oldModel) { - BoTempisticaClp newModel = new BoTempisticaClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setBoTempisticaRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputBoTerritorio(BaseModel oldModel) { - BoTerritorioClp newModel = new BoTerritorioClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setBoTerritorioRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputFeComune(BaseModel oldModel) { - FeComuneClp newModel = new FeComuneClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setFeComuneRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputFeDettPratica(BaseModel oldModel) { - FeDettPraticaClp newModel = new FeDettPraticaClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setFeDettPraticaRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputFeIntPratica(BaseModel oldModel) { - FeIntPraticaClp newModel = new FeIntPraticaClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setFeIntPraticaRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputFePagamento(BaseModel oldModel) { - FePagamentoClp newModel = new FePagamentoClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setFePagamentoRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputFeProvincia(BaseModel oldModel) { - FeProvinciaClp newModel = new FeProvinciaClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setFeProvinciaRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputFeTerritorio(BaseModel oldModel) { - FeTerritorioClp newModel = new FeTerritorioClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setFeTerritorioRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputKaleoInstance(BaseModel oldModel) { - KaleoInstanceClp newModel = new KaleoInstanceClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setKaleoInstanceRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputKaleoInstanceToken( - BaseModel oldModel) { - KaleoInstanceTokenClp newModel = new KaleoInstanceTokenClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setKaleoInstanceTokenRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputKaleoLog(BaseModel oldModel) { - KaleoLogClp newModel = new KaleoLogClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setKaleoLogRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputKaleoNode(BaseModel oldModel) { - KaleoNodeClp newModel = new KaleoNodeClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setKaleoNodeRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputKaleoTask(BaseModel oldModel) { - KaleoTaskClp newModel = new KaleoTaskClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setKaleoTaskRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputKaleoTaskAssignmentInstance( - BaseModel oldModel) { - KaleoTaskAssignmentInstanceClp newModel = new KaleoTaskAssignmentInstanceClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setKaleoTaskAssignmentInstanceRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputKaleoTaskInstanceToken( - BaseModel oldModel) { - KaleoTaskInstanceTokenClp newModel = new KaleoTaskInstanceTokenClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setKaleoTaskInstanceTokenRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputOldDLFileEntry(BaseModel oldModel) { - OldDLFileEntryClp newModel = new OldDLFileEntryClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setOldDLFileEntryRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputOldDLFolder(BaseModel oldModel) { - OldDLFolderClp newModel = new OldDLFolderClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setOldDLFolderRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputOldGroup(BaseModel oldModel) { - OldGroupClp newModel = new OldGroupClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setOldGroupRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputOldOrganization(BaseModel oldModel) { - OldOrganizationClp newModel = new OldOrganizationClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setOldOrganizationRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputOldRole(BaseModel oldModel) { - OldRoleClp newModel = new OldRoleClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setOldRoleRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputOldUser(BaseModel oldModel) { - OldUserClp newModel = new OldUserClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setOldUserRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputOldUserGroup(BaseModel oldModel) { - OldUserGroupClp newModel = new OldUserGroupClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setOldUserGroupRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputProceduraImportazione( - BaseModel oldModel) { - ProceduraImportazioneClp newModel = new ProceduraImportazioneClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setProceduraImportazioneRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputStatoImportazione(BaseModel oldModel) { - StatoImportazioneClp newModel = new StatoImportazioneClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setStatoImportazioneRemoteModel(oldModel); - - return newModel; - } - - private static Log _log = LogFactoryUtil.getLog(ClpSerializer.class); - private static String _servletContextName; - private static boolean _useReflectionToTranslateThrowable = true; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeComuneLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeComuneLocalService.java deleted file mode 100644 index e8a2fa70..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeComuneLocalService.java +++ /dev/null @@ -1,256 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for FeComune. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author 3FC - * @see FeComuneLocalServiceUtil - * @see it.tref.liferay.portos.importazione.service.base.FeComuneLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.FeComuneLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface FeComuneLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link FeComuneLocalServiceUtil} to access the fe comune local service. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.FeComuneLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the fe comune to the database. Also notifies the appropriate model listeners. - * - * @param feComune the fe comune - * @return the fe comune that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.FeComune addFeComune( - it.tref.liferay.portos.importazione.model.FeComune feComune) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new fe comune with the primary key. Does not add the fe comune to the database. - * - * @param comuneId the primary key for the new fe comune - * @return the new fe comune - */ - public it.tref.liferay.portos.importazione.model.FeComune createFeComune( - long comuneId); - - /** - * Deletes the fe comune with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param comuneId the primary key of the fe comune - * @return the fe comune that was removed - * @throws PortalException if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.FeComune deleteFeComune( - long comuneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the fe comune from the database. Also notifies the appropriate model listeners. - * - * @param feComune the fe comune - * @return the fe comune that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.FeComune deleteFeComune( - it.tref.liferay.portos.importazione.model.FeComune feComune) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.FeComune fetchFeComune( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe comune with the primary key. - * - * @param comuneId the primary key of the fe comune - * @return the fe comune - * @throws PortalException if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.FeComune getFeComune( - long comuneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe comunes - * @param end the upper bound of the range of fe comunes (not inclusive) - * @return the range of fe comunes - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getFeComunes( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe comunes. - * - * @return the number of fe comunes - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getFeComunesCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the fe comune in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param feComune the fe comune - * @return the fe comune that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.FeComune updateFeComune( - it.tref.liferay.portos.importazione.model.FeComune feComune) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeComuneLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeComuneLocalServiceClp.java deleted file mode 100644 index f4e88bb8..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeComuneLocalServiceClp.java +++ /dev/null @@ -1,705 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author 3FC - * @generated - */ -public class FeComuneLocalServiceClp implements FeComuneLocalService { - public FeComuneLocalServiceClp(InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addFeComune"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.FeComune" - }; - - _methodName1 = "createFeComune"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteFeComune"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteFeComune"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.FeComune" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchFeComune"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getFeComune"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getFeComunes"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getFeComunesCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateFeComune"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.FeComune" - }; - - _methodName16 = "getBeanIdentifier"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "setBeanIdentifier"; - - _methodParameterTypes17 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.importazione.model.FeComune addFeComune( - it.tref.liferay.portos.importazione.model.FeComune feComune) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(feComune) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeComune)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeComune createFeComune( - long comuneId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { comuneId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeComune)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeComune deleteFeComune( - long comuneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { comuneId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeComune)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeComune deleteFeComune( - it.tref.liferay.portos.importazione.model.FeComune feComune) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(feComune) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeComune)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeComune fetchFeComune( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { comuneId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeComune)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeComune getFeComune( - long comuneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, new Object[] { comuneId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeComune)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getFeComunes( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getFeComunesCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeComune updateFeComune( - it.tref.liferay.portos.importazione.model.FeComune feComune) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(feComune) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeComune)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeComuneLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeComuneLocalServiceUtil.java deleted file mode 100644 index 99d56578..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeComuneLocalServiceUtil.java +++ /dev/null @@ -1,308 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for FeComune. This utility wraps - * {@link it.tref.liferay.portos.importazione.service.impl.FeComuneLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author 3FC - * @see FeComuneLocalService - * @see it.tref.liferay.portos.importazione.service.base.FeComuneLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.FeComuneLocalServiceImpl - * @generated - */ -public class FeComuneLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.FeComuneLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the fe comune to the database. Also notifies the appropriate model listeners. - * - * @param feComune the fe comune - * @return the fe comune that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeComune addFeComune( - it.tref.liferay.portos.importazione.model.FeComune feComune) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addFeComune(feComune); - } - - /** - * Creates a new fe comune with the primary key. Does not add the fe comune to the database. - * - * @param comuneId the primary key for the new fe comune - * @return the new fe comune - */ - public static it.tref.liferay.portos.importazione.model.FeComune createFeComune( - long comuneId) { - return getService().createFeComune(comuneId); - } - - /** - * Deletes the fe comune with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param comuneId the primary key of the fe comune - * @return the fe comune that was removed - * @throws PortalException if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeComune deleteFeComune( - long comuneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteFeComune(comuneId); - } - - /** - * Deletes the fe comune from the database. Also notifies the appropriate model listeners. - * - * @param feComune the fe comune - * @return the fe comune that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeComune deleteFeComune( - it.tref.liferay.portos.importazione.model.FeComune feComune) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteFeComune(feComune); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.importazione.model.FeComune fetchFeComune( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchFeComune(comuneId); - } - - /** - * Returns the fe comune with the primary key. - * - * @param comuneId the primary key of the fe comune - * @return the fe comune - * @throws PortalException if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeComune getFeComune( - long comuneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getFeComune(comuneId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the fe comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe comunes - * @param end the upper bound of the range of fe comunes (not inclusive) - * @return the range of fe comunes - * @throws SystemException if a system exception occurred - */ - public static java.util.List getFeComunes( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getFeComunes(start, end); - } - - /** - * Returns the number of fe comunes. - * - * @return the number of fe comunes - * @throws SystemException if a system exception occurred - */ - public static int getFeComunesCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getFeComunesCount(); - } - - /** - * Updates the fe comune in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param feComune the fe comune - * @return the fe comune that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeComune updateFeComune( - it.tref.liferay.portos.importazione.model.FeComune feComune) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateFeComune(feComune); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static FeComuneLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - FeComuneLocalService.class.getName()); - - if (invokableLocalService instanceof FeComuneLocalService) { - _service = (FeComuneLocalService)invokableLocalService; - } - else { - _service = new FeComuneLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(FeComuneLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(FeComuneLocalService service) { - } - - private static FeComuneLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeComuneLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeComuneLocalServiceWrapper.java deleted file mode 100644 index 252c62fa..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeComuneLocalServiceWrapper.java +++ /dev/null @@ -1,315 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link FeComuneLocalService}. - * - * @author 3FC - * @see FeComuneLocalService - * @generated - */ -public class FeComuneLocalServiceWrapper implements FeComuneLocalService, - ServiceWrapper { - public FeComuneLocalServiceWrapper( - FeComuneLocalService feComuneLocalService) { - _feComuneLocalService = feComuneLocalService; - } - - /** - * Adds the fe comune to the database. Also notifies the appropriate model listeners. - * - * @param feComune the fe comune - * @return the fe comune that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FeComune addFeComune( - it.tref.liferay.portos.importazione.model.FeComune feComune) - throws com.liferay.portal.kernel.exception.SystemException { - return _feComuneLocalService.addFeComune(feComune); - } - - /** - * Creates a new fe comune with the primary key. Does not add the fe comune to the database. - * - * @param comuneId the primary key for the new fe comune - * @return the new fe comune - */ - @Override - public it.tref.liferay.portos.importazione.model.FeComune createFeComune( - long comuneId) { - return _feComuneLocalService.createFeComune(comuneId); - } - - /** - * Deletes the fe comune with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param comuneId the primary key of the fe comune - * @return the fe comune that was removed - * @throws PortalException if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FeComune deleteFeComune( - long comuneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _feComuneLocalService.deleteFeComune(comuneId); - } - - /** - * Deletes the fe comune from the database. Also notifies the appropriate model listeners. - * - * @param feComune the fe comune - * @return the fe comune that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FeComune deleteFeComune( - it.tref.liferay.portos.importazione.model.FeComune feComune) - throws com.liferay.portal.kernel.exception.SystemException { - return _feComuneLocalService.deleteFeComune(feComune); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _feComuneLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _feComuneLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _feComuneLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _feComuneLocalService.dynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _feComuneLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _feComuneLocalService.dynamicQueryCount(dynamicQuery, projection); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeComune fetchFeComune( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException { - return _feComuneLocalService.fetchFeComune(comuneId); - } - - /** - * Returns the fe comune with the primary key. - * - * @param comuneId the primary key of the fe comune - * @return the fe comune - * @throws PortalException if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FeComune getFeComune( - long comuneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _feComuneLocalService.getFeComune(comuneId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _feComuneLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the fe comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe comunes - * @param end the upper bound of the range of fe comunes (not inclusive) - * @return the range of fe comunes - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getFeComunes( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _feComuneLocalService.getFeComunes(start, end); - } - - /** - * Returns the number of fe comunes. - * - * @return the number of fe comunes - * @throws SystemException if a system exception occurred - */ - @Override - public int getFeComunesCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _feComuneLocalService.getFeComunesCount(); - } - - /** - * Updates the fe comune in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param feComune the fe comune - * @return the fe comune that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FeComune updateFeComune( - it.tref.liferay.portos.importazione.model.FeComune feComune) - throws com.liferay.portal.kernel.exception.SystemException { - return _feComuneLocalService.updateFeComune(feComune); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _feComuneLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _feComuneLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _feComuneLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public FeComuneLocalService getWrappedFeComuneLocalService() { - return _feComuneLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedFeComuneLocalService( - FeComuneLocalService feComuneLocalService) { - _feComuneLocalService = feComuneLocalService; - } - - @Override - public FeComuneLocalService getWrappedService() { - return _feComuneLocalService; - } - - @Override - public void setWrappedService(FeComuneLocalService feComuneLocalService) { - _feComuneLocalService = feComuneLocalService; - } - - private FeComuneLocalService _feComuneLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeDettPraticaLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeDettPraticaLocalService.java deleted file mode 100644 index ab98e9f4..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeDettPraticaLocalService.java +++ /dev/null @@ -1,294 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for FeDettPratica. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author 3FC - * @see FeDettPraticaLocalServiceUtil - * @see it.tref.liferay.portos.importazione.service.base.FeDettPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.FeDettPraticaLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface FeDettPraticaLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link FeDettPraticaLocalServiceUtil} to access the fe dett pratica local service. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.FeDettPraticaLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the fe dett pratica to the database. Also notifies the appropriate model listeners. - * - * @param feDettPratica the fe dett pratica - * @return the fe dett pratica that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.FeDettPratica addFeDettPratica( - it.tref.liferay.portos.importazione.model.FeDettPratica feDettPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new fe dett pratica with the primary key. Does not add the fe dett pratica to the database. - * - * @param dettPraticaId the primary key for the new fe dett pratica - * @return the new fe dett pratica - */ - public it.tref.liferay.portos.importazione.model.FeDettPratica createFeDettPratica( - long dettPraticaId); - - /** - * Deletes the fe dett pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param dettPraticaId the primary key of the fe dett pratica - * @return the fe dett pratica that was removed - * @throws PortalException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.FeDettPratica deleteFeDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the fe dett pratica from the database. Also notifies the appropriate model listeners. - * - * @param feDettPratica the fe dett pratica - * @return the fe dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.FeDettPratica deleteFeDettPratica( - it.tref.liferay.portos.importazione.model.FeDettPratica feDettPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.FeDettPratica fetchFeDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe dett pratica matching the UUID and group. - * - * @param uuid the fe dett pratica's UUID - * @param groupId the primary key of the group - * @return the matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.FeDettPratica fetchFeDettPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe dett pratica with the primary key. - * - * @param dettPraticaId the primary key of the fe dett pratica - * @return the fe dett pratica - * @throws PortalException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.FeDettPratica getFeDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe dett pratica matching the UUID and group. - * - * @param uuid the fe dett pratica's UUID - * @param groupId the primary key of the group - * @return the matching fe dett pratica - * @throws PortalException if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.FeDettPratica getFeDettPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe dett praticas - * @param end the upper bound of the range of fe dett praticas (not inclusive) - * @return the range of fe dett praticas - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getFeDettPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe dett praticas. - * - * @return the number of fe dett praticas - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getFeDettPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the fe dett pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param feDettPratica the fe dett pratica - * @return the fe dett pratica that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.FeDettPratica updateFeDettPratica( - it.tref.liferay.portos.importazione.model.FeDettPratica feDettPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.FeDettPratica fetchByCodPraticaSuap( - java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.FeDettPratica fetchByDettPraticaId( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeDettPraticaLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeDettPraticaLocalServiceClp.java deleted file mode 100644 index ca037412..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeDettPraticaLocalServiceClp.java +++ /dev/null @@ -1,854 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author 3FC - * @generated - */ -public class FeDettPraticaLocalServiceClp implements FeDettPraticaLocalService { - public FeDettPraticaLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addFeDettPratica"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.FeDettPratica" - }; - - _methodName1 = "createFeDettPratica"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteFeDettPratica"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteFeDettPratica"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.FeDettPratica" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchFeDettPratica"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchFeDettPraticaByUuidAndGroupId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "getFeDettPratica"; - - _methodParameterTypes12 = new String[] { "long" }; - - _methodName13 = "getPersistedModel"; - - _methodParameterTypes13 = new String[] { "java.io.Serializable" }; - - _methodName14 = "getFeDettPraticaByUuidAndGroupId"; - - _methodParameterTypes14 = new String[] { "java.lang.String", "long" }; - - _methodName15 = "getFeDettPraticas"; - - _methodParameterTypes15 = new String[] { "int", "int" }; - - _methodName16 = "getFeDettPraticasCount"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "updateFeDettPratica"; - - _methodParameterTypes17 = new String[] { - "it.tref.liferay.portos.importazione.model.FeDettPratica" - }; - - _methodName18 = "getBeanIdentifier"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "setBeanIdentifier"; - - _methodParameterTypes19 = new String[] { "java.lang.String" }; - - _methodName21 = "fetchByCodPraticaSuap"; - - _methodParameterTypes21 = new String[] { "java.lang.String" }; - - _methodName22 = "fetchByDettPraticaId"; - - _methodParameterTypes22 = new String[] { "long" }; - } - - @Override - public it.tref.liferay.portos.importazione.model.FeDettPratica addFeDettPratica( - it.tref.liferay.portos.importazione.model.FeDettPratica feDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(feDettPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeDettPratica createFeDettPratica( - long dettPraticaId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { dettPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeDettPratica deleteFeDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { dettPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeDettPratica deleteFeDettPratica( - it.tref.liferay.portos.importazione.model.FeDettPratica feDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(feDettPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeDettPratica fetchFeDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { dettPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeDettPratica fetchFeDettPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeDettPratica getFeDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, new Object[] { dettPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeDettPratica getFeDettPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getFeDettPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getFeDettPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeDettPratica updateFeDettPratica( - it.tref.liferay.portos.importazione.model.FeDettPratica feDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, - new Object[] { ClpSerializer.translateInput(feDettPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName18, - _methodParameterTypes18, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName19, - _methodParameterTypes19, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeDettPratica fetchByCodPraticaSuap( - java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName21, - _methodParameterTypes21, - new Object[] { ClpSerializer.translateInput(codPraticaSuap) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeDettPratica fetchByDettPraticaId( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName22, - _methodParameterTypes22, new Object[] { dettPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeDettPratica)ClpSerializer.translateOutput(returnObj); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName21; - private String[] _methodParameterTypes21; - private String _methodName22; - private String[] _methodParameterTypes22; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeDettPraticaLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeDettPraticaLocalServiceUtil.java deleted file mode 100644 index adc6ca53..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeDettPraticaLocalServiceUtil.java +++ /dev/null @@ -1,350 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for FeDettPratica. This utility wraps - * {@link it.tref.liferay.portos.importazione.service.impl.FeDettPraticaLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author 3FC - * @see FeDettPraticaLocalService - * @see it.tref.liferay.portos.importazione.service.base.FeDettPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.FeDettPraticaLocalServiceImpl - * @generated - */ -public class FeDettPraticaLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.FeDettPraticaLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the fe dett pratica to the database. Also notifies the appropriate model listeners. - * - * @param feDettPratica the fe dett pratica - * @return the fe dett pratica that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeDettPratica addFeDettPratica( - it.tref.liferay.portos.importazione.model.FeDettPratica feDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addFeDettPratica(feDettPratica); - } - - /** - * Creates a new fe dett pratica with the primary key. Does not add the fe dett pratica to the database. - * - * @param dettPraticaId the primary key for the new fe dett pratica - * @return the new fe dett pratica - */ - public static it.tref.liferay.portos.importazione.model.FeDettPratica createFeDettPratica( - long dettPraticaId) { - return getService().createFeDettPratica(dettPraticaId); - } - - /** - * Deletes the fe dett pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param dettPraticaId the primary key of the fe dett pratica - * @return the fe dett pratica that was removed - * @throws PortalException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeDettPratica deleteFeDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteFeDettPratica(dettPraticaId); - } - - /** - * Deletes the fe dett pratica from the database. Also notifies the appropriate model listeners. - * - * @param feDettPratica the fe dett pratica - * @return the fe dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeDettPratica deleteFeDettPratica( - it.tref.liferay.portos.importazione.model.FeDettPratica feDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteFeDettPratica(feDettPratica); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.importazione.model.FeDettPratica fetchFeDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchFeDettPratica(dettPraticaId); - } - - /** - * Returns the fe dett pratica matching the UUID and group. - * - * @param uuid the fe dett pratica's UUID - * @param groupId the primary key of the group - * @return the matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeDettPratica fetchFeDettPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchFeDettPraticaByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns the fe dett pratica with the primary key. - * - * @param dettPraticaId the primary key of the fe dett pratica - * @return the fe dett pratica - * @throws PortalException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeDettPratica getFeDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getFeDettPratica(dettPraticaId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns the fe dett pratica matching the UUID and group. - * - * @param uuid the fe dett pratica's UUID - * @param groupId the primary key of the group - * @return the matching fe dett pratica - * @throws PortalException if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeDettPratica getFeDettPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getFeDettPraticaByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns a range of all the fe dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe dett praticas - * @param end the upper bound of the range of fe dett praticas (not inclusive) - * @return the range of fe dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List getFeDettPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getFeDettPraticas(start, end); - } - - /** - * Returns the number of fe dett praticas. - * - * @return the number of fe dett praticas - * @throws SystemException if a system exception occurred - */ - public static int getFeDettPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getFeDettPraticasCount(); - } - - /** - * Updates the fe dett pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param feDettPratica the fe dett pratica - * @return the fe dett pratica that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeDettPratica updateFeDettPratica( - it.tref.liferay.portos.importazione.model.FeDettPratica feDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateFeDettPratica(feDettPratica); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static it.tref.liferay.portos.importazione.model.FeDettPratica fetchByCodPraticaSuap( - java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchByCodPraticaSuap(codPraticaSuap); - } - - public static it.tref.liferay.portos.importazione.model.FeDettPratica fetchByDettPraticaId( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchByDettPraticaId(dettPraticaId); - } - - public static void clearService() { - _service = null; - } - - public static FeDettPraticaLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - FeDettPraticaLocalService.class.getName()); - - if (invokableLocalService instanceof FeDettPraticaLocalService) { - _service = (FeDettPraticaLocalService)invokableLocalService; - } - else { - _service = new FeDettPraticaLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(FeDettPraticaLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(FeDettPraticaLocalService service) { - } - - private static FeDettPraticaLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeDettPraticaLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeDettPraticaLocalServiceWrapper.java deleted file mode 100644 index aae09153..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeDettPraticaLocalServiceWrapper.java +++ /dev/null @@ -1,366 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link FeDettPraticaLocalService}. - * - * @author 3FC - * @see FeDettPraticaLocalService - * @generated - */ -public class FeDettPraticaLocalServiceWrapper - implements FeDettPraticaLocalService, - ServiceWrapper { - public FeDettPraticaLocalServiceWrapper( - FeDettPraticaLocalService feDettPraticaLocalService) { - _feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Adds the fe dett pratica to the database. Also notifies the appropriate model listeners. - * - * @param feDettPratica the fe dett pratica - * @return the fe dett pratica that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FeDettPratica addFeDettPratica( - it.tref.liferay.portos.importazione.model.FeDettPratica feDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _feDettPraticaLocalService.addFeDettPratica(feDettPratica); - } - - /** - * Creates a new fe dett pratica with the primary key. Does not add the fe dett pratica to the database. - * - * @param dettPraticaId the primary key for the new fe dett pratica - * @return the new fe dett pratica - */ - @Override - public it.tref.liferay.portos.importazione.model.FeDettPratica createFeDettPratica( - long dettPraticaId) { - return _feDettPraticaLocalService.createFeDettPratica(dettPraticaId); - } - - /** - * Deletes the fe dett pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param dettPraticaId the primary key of the fe dett pratica - * @return the fe dett pratica that was removed - * @throws PortalException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FeDettPratica deleteFeDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _feDettPraticaLocalService.deleteFeDettPratica(dettPraticaId); - } - - /** - * Deletes the fe dett pratica from the database. Also notifies the appropriate model listeners. - * - * @param feDettPratica the fe dett pratica - * @return the fe dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FeDettPratica deleteFeDettPratica( - it.tref.liferay.portos.importazione.model.FeDettPratica feDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _feDettPraticaLocalService.deleteFeDettPratica(feDettPratica); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _feDettPraticaLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _feDettPraticaLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _feDettPraticaLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _feDettPraticaLocalService.dynamicQuery(dynamicQuery, start, - end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _feDettPraticaLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _feDettPraticaLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeDettPratica fetchFeDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return _feDettPraticaLocalService.fetchFeDettPratica(dettPraticaId); - } - - /** - * Returns the fe dett pratica matching the UUID and group. - * - * @param uuid the fe dett pratica's UUID - * @param groupId the primary key of the group - * @return the matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FeDettPratica fetchFeDettPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return _feDettPraticaLocalService.fetchFeDettPraticaByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns the fe dett pratica with the primary key. - * - * @param dettPraticaId the primary key of the fe dett pratica - * @return the fe dett pratica - * @throws PortalException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FeDettPratica getFeDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _feDettPraticaLocalService.getFeDettPratica(dettPraticaId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _feDettPraticaLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns the fe dett pratica matching the UUID and group. - * - * @param uuid the fe dett pratica's UUID - * @param groupId the primary key of the group - * @return the matching fe dett pratica - * @throws PortalException if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FeDettPratica getFeDettPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _feDettPraticaLocalService.getFeDettPraticaByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns a range of all the fe dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe dett praticas - * @param end the upper bound of the range of fe dett praticas (not inclusive) - * @return the range of fe dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getFeDettPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _feDettPraticaLocalService.getFeDettPraticas(start, end); - } - - /** - * Returns the number of fe dett praticas. - * - * @return the number of fe dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int getFeDettPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _feDettPraticaLocalService.getFeDettPraticasCount(); - } - - /** - * Updates the fe dett pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param feDettPratica the fe dett pratica - * @return the fe dett pratica that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FeDettPratica updateFeDettPratica( - it.tref.liferay.portos.importazione.model.FeDettPratica feDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _feDettPraticaLocalService.updateFeDettPratica(feDettPratica); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _feDettPraticaLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _feDettPraticaLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _feDettPraticaLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeDettPratica fetchByCodPraticaSuap( - java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException { - return _feDettPraticaLocalService.fetchByCodPraticaSuap(codPraticaSuap); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeDettPratica fetchByDettPraticaId( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return _feDettPraticaLocalService.fetchByDettPraticaId(dettPraticaId); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public FeDettPraticaLocalService getWrappedFeDettPraticaLocalService() { - return _feDettPraticaLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedFeDettPraticaLocalService( - FeDettPraticaLocalService feDettPraticaLocalService) { - _feDettPraticaLocalService = feDettPraticaLocalService; - } - - @Override - public FeDettPraticaLocalService getWrappedService() { - return _feDettPraticaLocalService; - } - - @Override - public void setWrappedService( - FeDettPraticaLocalService feDettPraticaLocalService) { - _feDettPraticaLocalService = feDettPraticaLocalService; - } - - private FeDettPraticaLocalService _feDettPraticaLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeIntPraticaLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeIntPraticaLocalService.java deleted file mode 100644 index c458a59e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeIntPraticaLocalService.java +++ /dev/null @@ -1,284 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for FeIntPratica. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author 3FC - * @see FeIntPraticaLocalServiceUtil - * @see it.tref.liferay.portos.importazione.service.base.FeIntPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.FeIntPraticaLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface FeIntPraticaLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link FeIntPraticaLocalServiceUtil} to access the fe int pratica local service. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.FeIntPraticaLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the fe int pratica to the database. Also notifies the appropriate model listeners. - * - * @param feIntPratica the fe int pratica - * @return the fe int pratica that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.FeIntPratica addFeIntPratica( - it.tref.liferay.portos.importazione.model.FeIntPratica feIntPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new fe int pratica with the primary key. Does not add the fe int pratica to the database. - * - * @param intPraticaId the primary key for the new fe int pratica - * @return the new fe int pratica - */ - public it.tref.liferay.portos.importazione.model.FeIntPratica createFeIntPratica( - long intPraticaId); - - /** - * Deletes the fe int pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param intPraticaId the primary key of the fe int pratica - * @return the fe int pratica that was removed - * @throws PortalException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.FeIntPratica deleteFeIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the fe int pratica from the database. Also notifies the appropriate model listeners. - * - * @param feIntPratica the fe int pratica - * @return the fe int pratica that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.FeIntPratica deleteFeIntPratica( - it.tref.liferay.portos.importazione.model.FeIntPratica feIntPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.FeIntPratica fetchFeIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe int pratica matching the UUID and group. - * - * @param uuid the fe int pratica's UUID - * @param groupId the primary key of the group - * @return the matching fe int pratica, or null if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.FeIntPratica fetchFeIntPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe int pratica with the primary key. - * - * @param intPraticaId the primary key of the fe int pratica - * @return the fe int pratica - * @throws PortalException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.FeIntPratica getFeIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe int pratica matching the UUID and group. - * - * @param uuid the fe int pratica's UUID - * @param groupId the primary key of the group - * @return the matching fe int pratica - * @throws PortalException if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.FeIntPratica getFeIntPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe int praticas - * @param end the upper bound of the range of fe int praticas (not inclusive) - * @return the range of fe int praticas - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getFeIntPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe int praticas. - * - * @return the number of fe int praticas - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getFeIntPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the fe int pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param feIntPratica the fe int pratica - * @return the fe int pratica that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.FeIntPratica updateFeIntPratica( - it.tref.liferay.portos.importazione.model.FeIntPratica feIntPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeIntPraticaLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeIntPraticaLocalServiceClp.java deleted file mode 100644 index cbaa0d5d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeIntPraticaLocalServiceClp.java +++ /dev/null @@ -1,783 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author 3FC - * @generated - */ -public class FeIntPraticaLocalServiceClp implements FeIntPraticaLocalService { - public FeIntPraticaLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addFeIntPratica"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.FeIntPratica" - }; - - _methodName1 = "createFeIntPratica"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteFeIntPratica"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteFeIntPratica"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.FeIntPratica" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchFeIntPratica"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchFeIntPraticaByUuidAndGroupId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "getFeIntPratica"; - - _methodParameterTypes12 = new String[] { "long" }; - - _methodName13 = "getPersistedModel"; - - _methodParameterTypes13 = new String[] { "java.io.Serializable" }; - - _methodName14 = "getFeIntPraticaByUuidAndGroupId"; - - _methodParameterTypes14 = new String[] { "java.lang.String", "long" }; - - _methodName15 = "getFeIntPraticas"; - - _methodParameterTypes15 = new String[] { "int", "int" }; - - _methodName16 = "getFeIntPraticasCount"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "updateFeIntPratica"; - - _methodParameterTypes17 = new String[] { - "it.tref.liferay.portos.importazione.model.FeIntPratica" - }; - - _methodName18 = "getBeanIdentifier"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "setBeanIdentifier"; - - _methodParameterTypes19 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.importazione.model.FeIntPratica addFeIntPratica( - it.tref.liferay.portos.importazione.model.FeIntPratica feIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(feIntPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeIntPratica createFeIntPratica( - long intPraticaId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { intPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeIntPratica deleteFeIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { intPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeIntPratica deleteFeIntPratica( - it.tref.liferay.portos.importazione.model.FeIntPratica feIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(feIntPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeIntPratica fetchFeIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { intPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeIntPratica fetchFeIntPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeIntPratica getFeIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, new Object[] { intPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeIntPratica getFeIntPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getFeIntPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getFeIntPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeIntPratica updateFeIntPratica( - it.tref.liferay.portos.importazione.model.FeIntPratica feIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, - new Object[] { ClpSerializer.translateInput(feIntPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName18, - _methodParameterTypes18, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName19, - _methodParameterTypes19, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeIntPraticaLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeIntPraticaLocalServiceUtil.java deleted file mode 100644 index e37d9ded..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeIntPraticaLocalServiceUtil.java +++ /dev/null @@ -1,338 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for FeIntPratica. This utility wraps - * {@link it.tref.liferay.portos.importazione.service.impl.FeIntPraticaLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author 3FC - * @see FeIntPraticaLocalService - * @see it.tref.liferay.portos.importazione.service.base.FeIntPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.FeIntPraticaLocalServiceImpl - * @generated - */ -public class FeIntPraticaLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.FeIntPraticaLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the fe int pratica to the database. Also notifies the appropriate model listeners. - * - * @param feIntPratica the fe int pratica - * @return the fe int pratica that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeIntPratica addFeIntPratica( - it.tref.liferay.portos.importazione.model.FeIntPratica feIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addFeIntPratica(feIntPratica); - } - - /** - * Creates a new fe int pratica with the primary key. Does not add the fe int pratica to the database. - * - * @param intPraticaId the primary key for the new fe int pratica - * @return the new fe int pratica - */ - public static it.tref.liferay.portos.importazione.model.FeIntPratica createFeIntPratica( - long intPraticaId) { - return getService().createFeIntPratica(intPraticaId); - } - - /** - * Deletes the fe int pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param intPraticaId the primary key of the fe int pratica - * @return the fe int pratica that was removed - * @throws PortalException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeIntPratica deleteFeIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteFeIntPratica(intPraticaId); - } - - /** - * Deletes the fe int pratica from the database. Also notifies the appropriate model listeners. - * - * @param feIntPratica the fe int pratica - * @return the fe int pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeIntPratica deleteFeIntPratica( - it.tref.liferay.portos.importazione.model.FeIntPratica feIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteFeIntPratica(feIntPratica); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.importazione.model.FeIntPratica fetchFeIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchFeIntPratica(intPraticaId); - } - - /** - * Returns the fe int pratica matching the UUID and group. - * - * @param uuid the fe int pratica's UUID - * @param groupId the primary key of the group - * @return the matching fe int pratica, or null if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeIntPratica fetchFeIntPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchFeIntPraticaByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns the fe int pratica with the primary key. - * - * @param intPraticaId the primary key of the fe int pratica - * @return the fe int pratica - * @throws PortalException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeIntPratica getFeIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getFeIntPratica(intPraticaId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns the fe int pratica matching the UUID and group. - * - * @param uuid the fe int pratica's UUID - * @param groupId the primary key of the group - * @return the matching fe int pratica - * @throws PortalException if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeIntPratica getFeIntPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getFeIntPraticaByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns a range of all the fe int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe int praticas - * @param end the upper bound of the range of fe int praticas (not inclusive) - * @return the range of fe int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List getFeIntPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getFeIntPraticas(start, end); - } - - /** - * Returns the number of fe int praticas. - * - * @return the number of fe int praticas - * @throws SystemException if a system exception occurred - */ - public static int getFeIntPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getFeIntPraticasCount(); - } - - /** - * Updates the fe int pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param feIntPratica the fe int pratica - * @return the fe int pratica that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeIntPratica updateFeIntPratica( - it.tref.liferay.portos.importazione.model.FeIntPratica feIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateFeIntPratica(feIntPratica); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static FeIntPraticaLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - FeIntPraticaLocalService.class.getName()); - - if (invokableLocalService instanceof FeIntPraticaLocalService) { - _service = (FeIntPraticaLocalService)invokableLocalService; - } - else { - _service = new FeIntPraticaLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(FeIntPraticaLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(FeIntPraticaLocalService service) { - } - - private static FeIntPraticaLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeIntPraticaLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeIntPraticaLocalServiceWrapper.java deleted file mode 100644 index ff78744d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeIntPraticaLocalServiceWrapper.java +++ /dev/null @@ -1,351 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link FeIntPraticaLocalService}. - * - * @author 3FC - * @see FeIntPraticaLocalService - * @generated - */ -public class FeIntPraticaLocalServiceWrapper implements FeIntPraticaLocalService, - ServiceWrapper { - public FeIntPraticaLocalServiceWrapper( - FeIntPraticaLocalService feIntPraticaLocalService) { - _feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Adds the fe int pratica to the database. Also notifies the appropriate model listeners. - * - * @param feIntPratica the fe int pratica - * @return the fe int pratica that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FeIntPratica addFeIntPratica( - it.tref.liferay.portos.importazione.model.FeIntPratica feIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _feIntPraticaLocalService.addFeIntPratica(feIntPratica); - } - - /** - * Creates a new fe int pratica with the primary key. Does not add the fe int pratica to the database. - * - * @param intPraticaId the primary key for the new fe int pratica - * @return the new fe int pratica - */ - @Override - public it.tref.liferay.portos.importazione.model.FeIntPratica createFeIntPratica( - long intPraticaId) { - return _feIntPraticaLocalService.createFeIntPratica(intPraticaId); - } - - /** - * Deletes the fe int pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param intPraticaId the primary key of the fe int pratica - * @return the fe int pratica that was removed - * @throws PortalException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FeIntPratica deleteFeIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _feIntPraticaLocalService.deleteFeIntPratica(intPraticaId); - } - - /** - * Deletes the fe int pratica from the database. Also notifies the appropriate model listeners. - * - * @param feIntPratica the fe int pratica - * @return the fe int pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FeIntPratica deleteFeIntPratica( - it.tref.liferay.portos.importazione.model.FeIntPratica feIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _feIntPraticaLocalService.deleteFeIntPratica(feIntPratica); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _feIntPraticaLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _feIntPraticaLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _feIntPraticaLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _feIntPraticaLocalService.dynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _feIntPraticaLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _feIntPraticaLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeIntPratica fetchFeIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return _feIntPraticaLocalService.fetchFeIntPratica(intPraticaId); - } - - /** - * Returns the fe int pratica matching the UUID and group. - * - * @param uuid the fe int pratica's UUID - * @param groupId the primary key of the group - * @return the matching fe int pratica, or null if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FeIntPratica fetchFeIntPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return _feIntPraticaLocalService.fetchFeIntPraticaByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns the fe int pratica with the primary key. - * - * @param intPraticaId the primary key of the fe int pratica - * @return the fe int pratica - * @throws PortalException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FeIntPratica getFeIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _feIntPraticaLocalService.getFeIntPratica(intPraticaId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _feIntPraticaLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns the fe int pratica matching the UUID and group. - * - * @param uuid the fe int pratica's UUID - * @param groupId the primary key of the group - * @return the matching fe int pratica - * @throws PortalException if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FeIntPratica getFeIntPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _feIntPraticaLocalService.getFeIntPraticaByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns a range of all the fe int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe int praticas - * @param end the upper bound of the range of fe int praticas (not inclusive) - * @return the range of fe int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getFeIntPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _feIntPraticaLocalService.getFeIntPraticas(start, end); - } - - /** - * Returns the number of fe int praticas. - * - * @return the number of fe int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int getFeIntPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _feIntPraticaLocalService.getFeIntPraticasCount(); - } - - /** - * Updates the fe int pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param feIntPratica the fe int pratica - * @return the fe int pratica that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FeIntPratica updateFeIntPratica( - it.tref.liferay.portos.importazione.model.FeIntPratica feIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _feIntPraticaLocalService.updateFeIntPratica(feIntPratica); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _feIntPraticaLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _feIntPraticaLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _feIntPraticaLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public FeIntPraticaLocalService getWrappedFeIntPraticaLocalService() { - return _feIntPraticaLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedFeIntPraticaLocalService( - FeIntPraticaLocalService feIntPraticaLocalService) { - _feIntPraticaLocalService = feIntPraticaLocalService; - } - - @Override - public FeIntPraticaLocalService getWrappedService() { - return _feIntPraticaLocalService; - } - - @Override - public void setWrappedService( - FeIntPraticaLocalService feIntPraticaLocalService) { - _feIntPraticaLocalService = feIntPraticaLocalService; - } - - private FeIntPraticaLocalService _feIntPraticaLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FePagamentoLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FePagamentoLocalService.java deleted file mode 100644 index 0e520323..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FePagamentoLocalService.java +++ /dev/null @@ -1,312 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for FePagamento. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author 3FC - * @see FePagamentoLocalServiceUtil - * @see it.tref.liferay.portos.importazione.service.base.FePagamentoLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.FePagamentoLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface FePagamentoLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link FePagamentoLocalServiceUtil} to access the fe pagamento local service. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.FePagamentoLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the fe pagamento to the database. Also notifies the appropriate model listeners. - * - * @param fePagamento the fe pagamento - * @return the fe pagamento that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.FePagamento addFePagamento( - it.tref.liferay.portos.importazione.model.FePagamento fePagamento) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new fe pagamento with the primary key. Does not add the fe pagamento to the database. - * - * @param pagamentoId the primary key for the new fe pagamento - * @return the new fe pagamento - */ - public it.tref.liferay.portos.importazione.model.FePagamento createFePagamento( - long pagamentoId); - - /** - * Deletes the fe pagamento with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param pagamentoId the primary key of the fe pagamento - * @return the fe pagamento that was removed - * @throws PortalException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.FePagamento deleteFePagamento( - long pagamentoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the fe pagamento from the database. Also notifies the appropriate model listeners. - * - * @param fePagamento the fe pagamento - * @return the fe pagamento that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.FePagamento deleteFePagamento( - it.tref.liferay.portos.importazione.model.FePagamento fePagamento) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.FePagamento fetchFePagamento( - long pagamentoId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe pagamento with the matching UUID and company. - * - * @param uuid the fe pagamento's UUID - * @param companyId the primary key of the company - * @return the matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.FePagamento fetchFePagamentoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe pagamento matching the UUID and group. - * - * @param uuid the fe pagamento's UUID - * @param groupId the primary key of the group - * @return the matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.FePagamento fetchFePagamentoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe pagamento with the primary key. - * - * @param pagamentoId the primary key of the fe pagamento - * @return the fe pagamento - * @throws PortalException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.FePagamento getFePagamento( - long pagamentoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe pagamento with the matching UUID and company. - * - * @param uuid the fe pagamento's UUID - * @param companyId the primary key of the company - * @return the matching fe pagamento - * @throws PortalException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.FePagamento getFePagamentoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe pagamento matching the UUID and group. - * - * @param uuid the fe pagamento's UUID - * @param groupId the primary key of the group - * @return the matching fe pagamento - * @throws PortalException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.FePagamento getFePagamentoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe pagamentos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getFePagamentos( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe pagamentos. - * - * @return the number of fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getFePagamentosCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the fe pagamento in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param fePagamento the fe pagamento - * @return the fe pagamento that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.FePagamento updateFePagamento( - it.tref.liferay.portos.importazione.model.FePagamento fePagamento) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FePagamentoLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FePagamentoLocalServiceClp.java deleted file mode 100644 index 30b13112..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FePagamentoLocalServiceClp.java +++ /dev/null @@ -1,860 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author 3FC - * @generated - */ -public class FePagamentoLocalServiceClp implements FePagamentoLocalService { - public FePagamentoLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addFePagamento"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.FePagamento" - }; - - _methodName1 = "createFePagamento"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteFePagamento"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteFePagamento"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.FePagamento" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchFePagamento"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchFePagamentoByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchFePagamentoByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getFePagamento"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getFePagamentoByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getFePagamentoByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getFePagamentos"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getFePagamentosCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateFePagamento"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.importazione.model.FePagamento" - }; - - _methodName20 = "getBeanIdentifier"; - - _methodParameterTypes20 = new String[] { }; - - _methodName21 = "setBeanIdentifier"; - - _methodParameterTypes21 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.importazione.model.FePagamento addFePagamento( - it.tref.liferay.portos.importazione.model.FePagamento fePagamento) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(fePagamento) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FePagamento)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.FePagamento createFePagamento( - long pagamentoId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { pagamentoId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FePagamento)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.FePagamento deleteFePagamento( - long pagamentoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { pagamentoId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FePagamento)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.FePagamento deleteFePagamento( - it.tref.liferay.portos.importazione.model.FePagamento fePagamento) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(fePagamento) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FePagamento)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.FePagamento fetchFePagamento( - long pagamentoId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { pagamentoId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FePagamento)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.FePagamento fetchFePagamentoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FePagamento)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.FePagamento fetchFePagamentoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FePagamento)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.FePagamento getFePagamento( - long pagamentoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { pagamentoId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FePagamento)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.FePagamento getFePagamentoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FePagamento)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.FePagamento getFePagamentoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FePagamento)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getFePagamentos( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getFePagamentosCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName18, - _methodParameterTypes18, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.FePagamento updateFePagamento( - it.tref.liferay.portos.importazione.model.FePagamento fePagamento) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName19, - _methodParameterTypes19, - new Object[] { ClpSerializer.translateInput(fePagamento) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FePagamento)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName20, - _methodParameterTypes20, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName21, - _methodParameterTypes21, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName20; - private String[] _methodParameterTypes20; - private String _methodName21; - private String[] _methodParameterTypes21; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FePagamentoLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FePagamentoLocalServiceUtil.java deleted file mode 100644 index e8b69539..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FePagamentoLocalServiceUtil.java +++ /dev/null @@ -1,368 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for FePagamento. This utility wraps - * {@link it.tref.liferay.portos.importazione.service.impl.FePagamentoLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author 3FC - * @see FePagamentoLocalService - * @see it.tref.liferay.portos.importazione.service.base.FePagamentoLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.FePagamentoLocalServiceImpl - * @generated - */ -public class FePagamentoLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.FePagamentoLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the fe pagamento to the database. Also notifies the appropriate model listeners. - * - * @param fePagamento the fe pagamento - * @return the fe pagamento that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FePagamento addFePagamento( - it.tref.liferay.portos.importazione.model.FePagamento fePagamento) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addFePagamento(fePagamento); - } - - /** - * Creates a new fe pagamento with the primary key. Does not add the fe pagamento to the database. - * - * @param pagamentoId the primary key for the new fe pagamento - * @return the new fe pagamento - */ - public static it.tref.liferay.portos.importazione.model.FePagamento createFePagamento( - long pagamentoId) { - return getService().createFePagamento(pagamentoId); - } - - /** - * Deletes the fe pagamento with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param pagamentoId the primary key of the fe pagamento - * @return the fe pagamento that was removed - * @throws PortalException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FePagamento deleteFePagamento( - long pagamentoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteFePagamento(pagamentoId); - } - - /** - * Deletes the fe pagamento from the database. Also notifies the appropriate model listeners. - * - * @param fePagamento the fe pagamento - * @return the fe pagamento that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FePagamento deleteFePagamento( - it.tref.liferay.portos.importazione.model.FePagamento fePagamento) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteFePagamento(fePagamento); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.importazione.model.FePagamento fetchFePagamento( - long pagamentoId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchFePagamento(pagamentoId); - } - - /** - * Returns the fe pagamento with the matching UUID and company. - * - * @param uuid the fe pagamento's UUID - * @param companyId the primary key of the company - * @return the matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FePagamento fetchFePagamentoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchFePagamentoByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the fe pagamento matching the UUID and group. - * - * @param uuid the fe pagamento's UUID - * @param groupId the primary key of the group - * @return the matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FePagamento fetchFePagamentoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchFePagamentoByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns the fe pagamento with the primary key. - * - * @param pagamentoId the primary key of the fe pagamento - * @return the fe pagamento - * @throws PortalException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FePagamento getFePagamento( - long pagamentoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getFePagamento(pagamentoId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns the fe pagamento with the matching UUID and company. - * - * @param uuid the fe pagamento's UUID - * @param companyId the primary key of the company - * @return the matching fe pagamento - * @throws PortalException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FePagamento getFePagamentoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getFePagamentoByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the fe pagamento matching the UUID and group. - * - * @param uuid the fe pagamento's UUID - * @param groupId the primary key of the group - * @return the matching fe pagamento - * @throws PortalException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FePagamento getFePagamentoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getFePagamentoByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns a range of all the fe pagamentos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static java.util.List getFePagamentos( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getFePagamentos(start, end); - } - - /** - * Returns the number of fe pagamentos. - * - * @return the number of fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static int getFePagamentosCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getFePagamentosCount(); - } - - /** - * Updates the fe pagamento in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param fePagamento the fe pagamento - * @return the fe pagamento that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FePagamento updateFePagamento( - it.tref.liferay.portos.importazione.model.FePagamento fePagamento) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateFePagamento(fePagamento); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static FePagamentoLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - FePagamentoLocalService.class.getName()); - - if (invokableLocalService instanceof FePagamentoLocalService) { - _service = (FePagamentoLocalService)invokableLocalService; - } - else { - _service = new FePagamentoLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(FePagamentoLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(FePagamentoLocalService service) { - } - - private static FePagamentoLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FePagamentoLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FePagamentoLocalServiceWrapper.java deleted file mode 100644 index 5427a4f9..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FePagamentoLocalServiceWrapper.java +++ /dev/null @@ -1,385 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link FePagamentoLocalService}. - * - * @author 3FC - * @see FePagamentoLocalService - * @generated - */ -public class FePagamentoLocalServiceWrapper implements FePagamentoLocalService, - ServiceWrapper { - public FePagamentoLocalServiceWrapper( - FePagamentoLocalService fePagamentoLocalService) { - _fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Adds the fe pagamento to the database. Also notifies the appropriate model listeners. - * - * @param fePagamento the fe pagamento - * @return the fe pagamento that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FePagamento addFePagamento( - it.tref.liferay.portos.importazione.model.FePagamento fePagamento) - throws com.liferay.portal.kernel.exception.SystemException { - return _fePagamentoLocalService.addFePagamento(fePagamento); - } - - /** - * Creates a new fe pagamento with the primary key. Does not add the fe pagamento to the database. - * - * @param pagamentoId the primary key for the new fe pagamento - * @return the new fe pagamento - */ - @Override - public it.tref.liferay.portos.importazione.model.FePagamento createFePagamento( - long pagamentoId) { - return _fePagamentoLocalService.createFePagamento(pagamentoId); - } - - /** - * Deletes the fe pagamento with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param pagamentoId the primary key of the fe pagamento - * @return the fe pagamento that was removed - * @throws PortalException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FePagamento deleteFePagamento( - long pagamentoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _fePagamentoLocalService.deleteFePagamento(pagamentoId); - } - - /** - * Deletes the fe pagamento from the database. Also notifies the appropriate model listeners. - * - * @param fePagamento the fe pagamento - * @return the fe pagamento that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FePagamento deleteFePagamento( - it.tref.liferay.portos.importazione.model.FePagamento fePagamento) - throws com.liferay.portal.kernel.exception.SystemException { - return _fePagamentoLocalService.deleteFePagamento(fePagamento); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _fePagamentoLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _fePagamentoLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _fePagamentoLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _fePagamentoLocalService.dynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _fePagamentoLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _fePagamentoLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.importazione.model.FePagamento fetchFePagamento( - long pagamentoId) - throws com.liferay.portal.kernel.exception.SystemException { - return _fePagamentoLocalService.fetchFePagamento(pagamentoId); - } - - /** - * Returns the fe pagamento with the matching UUID and company. - * - * @param uuid the fe pagamento's UUID - * @param companyId the primary key of the company - * @return the matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FePagamento fetchFePagamentoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return _fePagamentoLocalService.fetchFePagamentoByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the fe pagamento matching the UUID and group. - * - * @param uuid the fe pagamento's UUID - * @param groupId the primary key of the group - * @return the matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FePagamento fetchFePagamentoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return _fePagamentoLocalService.fetchFePagamentoByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns the fe pagamento with the primary key. - * - * @param pagamentoId the primary key of the fe pagamento - * @return the fe pagamento - * @throws PortalException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FePagamento getFePagamento( - long pagamentoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _fePagamentoLocalService.getFePagamento(pagamentoId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _fePagamentoLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns the fe pagamento with the matching UUID and company. - * - * @param uuid the fe pagamento's UUID - * @param companyId the primary key of the company - * @return the matching fe pagamento - * @throws PortalException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FePagamento getFePagamentoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _fePagamentoLocalService.getFePagamentoByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the fe pagamento matching the UUID and group. - * - * @param uuid the fe pagamento's UUID - * @param groupId the primary key of the group - * @return the matching fe pagamento - * @throws PortalException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FePagamento getFePagamentoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _fePagamentoLocalService.getFePagamentoByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns a range of all the fe pagamentos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getFePagamentos( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _fePagamentoLocalService.getFePagamentos(start, end); - } - - /** - * Returns the number of fe pagamentos. - * - * @return the number of fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public int getFePagamentosCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _fePagamentoLocalService.getFePagamentosCount(); - } - - /** - * Updates the fe pagamento in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param fePagamento the fe pagamento - * @return the fe pagamento that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FePagamento updateFePagamento( - it.tref.liferay.portos.importazione.model.FePagamento fePagamento) - throws com.liferay.portal.kernel.exception.SystemException { - return _fePagamentoLocalService.updateFePagamento(fePagamento); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _fePagamentoLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _fePagamentoLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _fePagamentoLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public FePagamentoLocalService getWrappedFePagamentoLocalService() { - return _fePagamentoLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedFePagamentoLocalService( - FePagamentoLocalService fePagamentoLocalService) { - _fePagamentoLocalService = fePagamentoLocalService; - } - - @Override - public FePagamentoLocalService getWrappedService() { - return _fePagamentoLocalService; - } - - @Override - public void setWrappedService( - FePagamentoLocalService fePagamentoLocalService) { - _fePagamentoLocalService = fePagamentoLocalService; - } - - private FePagamentoLocalService _fePagamentoLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeProvinciaLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeProvinciaLocalService.java deleted file mode 100644 index 3c4f0ac8..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeProvinciaLocalService.java +++ /dev/null @@ -1,256 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for FeProvincia. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author 3FC - * @see FeProvinciaLocalServiceUtil - * @see it.tref.liferay.portos.importazione.service.base.FeProvinciaLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.FeProvinciaLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface FeProvinciaLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link FeProvinciaLocalServiceUtil} to access the fe provincia local service. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.FeProvinciaLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the fe provincia to the database. Also notifies the appropriate model listeners. - * - * @param feProvincia the fe provincia - * @return the fe provincia that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.FeProvincia addFeProvincia( - it.tref.liferay.portos.importazione.model.FeProvincia feProvincia) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new fe provincia with the primary key. Does not add the fe provincia to the database. - * - * @param provinciaId the primary key for the new fe provincia - * @return the new fe provincia - */ - public it.tref.liferay.portos.importazione.model.FeProvincia createFeProvincia( - long provinciaId); - - /** - * Deletes the fe provincia with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param provinciaId the primary key of the fe provincia - * @return the fe provincia that was removed - * @throws PortalException if a fe provincia with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.FeProvincia deleteFeProvincia( - long provinciaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the fe provincia from the database. Also notifies the appropriate model listeners. - * - * @param feProvincia the fe provincia - * @return the fe provincia that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.FeProvincia deleteFeProvincia( - it.tref.liferay.portos.importazione.model.FeProvincia feProvincia) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeProvinciaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeProvinciaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.FeProvincia fetchFeProvincia( - long provinciaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe provincia with the primary key. - * - * @param provinciaId the primary key of the fe provincia - * @return the fe provincia - * @throws PortalException if a fe provincia with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.FeProvincia getFeProvincia( - long provinciaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe provincias. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeProvinciaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe provincias - * @param end the upper bound of the range of fe provincias (not inclusive) - * @return the range of fe provincias - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getFeProvincias( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe provincias. - * - * @return the number of fe provincias - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getFeProvinciasCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the fe provincia in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param feProvincia the fe provincia - * @return the fe provincia that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.FeProvincia updateFeProvincia( - it.tref.liferay.portos.importazione.model.FeProvincia feProvincia) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeProvinciaLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeProvinciaLocalServiceClp.java deleted file mode 100644 index d1027d55..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeProvinciaLocalServiceClp.java +++ /dev/null @@ -1,706 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author 3FC - * @generated - */ -public class FeProvinciaLocalServiceClp implements FeProvinciaLocalService { - public FeProvinciaLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addFeProvincia"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.FeProvincia" - }; - - _methodName1 = "createFeProvincia"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteFeProvincia"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteFeProvincia"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.FeProvincia" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchFeProvincia"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getFeProvincia"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getFeProvincias"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getFeProvinciasCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateFeProvincia"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.FeProvincia" - }; - - _methodName16 = "getBeanIdentifier"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "setBeanIdentifier"; - - _methodParameterTypes17 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.importazione.model.FeProvincia addFeProvincia( - it.tref.liferay.portos.importazione.model.FeProvincia feProvincia) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(feProvincia) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeProvincia)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeProvincia createFeProvincia( - long provinciaId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { provinciaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeProvincia)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeProvincia deleteFeProvincia( - long provinciaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { provinciaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeProvincia)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeProvincia deleteFeProvincia( - it.tref.liferay.portos.importazione.model.FeProvincia feProvincia) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(feProvincia) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeProvincia)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeProvincia fetchFeProvincia( - long provinciaId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { provinciaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeProvincia)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeProvincia getFeProvincia( - long provinciaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, new Object[] { provinciaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeProvincia)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getFeProvincias( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getFeProvinciasCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeProvincia updateFeProvincia( - it.tref.liferay.portos.importazione.model.FeProvincia feProvincia) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(feProvincia) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeProvincia)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeProvinciaLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeProvinciaLocalServiceUtil.java deleted file mode 100644 index 4f3ea616..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeProvinciaLocalServiceUtil.java +++ /dev/null @@ -1,308 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for FeProvincia. This utility wraps - * {@link it.tref.liferay.portos.importazione.service.impl.FeProvinciaLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author 3FC - * @see FeProvinciaLocalService - * @see it.tref.liferay.portos.importazione.service.base.FeProvinciaLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.FeProvinciaLocalServiceImpl - * @generated - */ -public class FeProvinciaLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.FeProvinciaLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the fe provincia to the database. Also notifies the appropriate model listeners. - * - * @param feProvincia the fe provincia - * @return the fe provincia that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeProvincia addFeProvincia( - it.tref.liferay.portos.importazione.model.FeProvincia feProvincia) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addFeProvincia(feProvincia); - } - - /** - * Creates a new fe provincia with the primary key. Does not add the fe provincia to the database. - * - * @param provinciaId the primary key for the new fe provincia - * @return the new fe provincia - */ - public static it.tref.liferay.portos.importazione.model.FeProvincia createFeProvincia( - long provinciaId) { - return getService().createFeProvincia(provinciaId); - } - - /** - * Deletes the fe provincia with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param provinciaId the primary key of the fe provincia - * @return the fe provincia that was removed - * @throws PortalException if a fe provincia with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeProvincia deleteFeProvincia( - long provinciaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteFeProvincia(provinciaId); - } - - /** - * Deletes the fe provincia from the database. Also notifies the appropriate model listeners. - * - * @param feProvincia the fe provincia - * @return the fe provincia that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeProvincia deleteFeProvincia( - it.tref.liferay.portos.importazione.model.FeProvincia feProvincia) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteFeProvincia(feProvincia); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeProvinciaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeProvinciaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.importazione.model.FeProvincia fetchFeProvincia( - long provinciaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchFeProvincia(provinciaId); - } - - /** - * Returns the fe provincia with the primary key. - * - * @param provinciaId the primary key of the fe provincia - * @return the fe provincia - * @throws PortalException if a fe provincia with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeProvincia getFeProvincia( - long provinciaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getFeProvincia(provinciaId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the fe provincias. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeProvinciaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe provincias - * @param end the upper bound of the range of fe provincias (not inclusive) - * @return the range of fe provincias - * @throws SystemException if a system exception occurred - */ - public static java.util.List getFeProvincias( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getFeProvincias(start, end); - } - - /** - * Returns the number of fe provincias. - * - * @return the number of fe provincias - * @throws SystemException if a system exception occurred - */ - public static int getFeProvinciasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getFeProvinciasCount(); - } - - /** - * Updates the fe provincia in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param feProvincia the fe provincia - * @return the fe provincia that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeProvincia updateFeProvincia( - it.tref.liferay.portos.importazione.model.FeProvincia feProvincia) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateFeProvincia(feProvincia); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static FeProvinciaLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - FeProvinciaLocalService.class.getName()); - - if (invokableLocalService instanceof FeProvinciaLocalService) { - _service = (FeProvinciaLocalService)invokableLocalService; - } - else { - _service = new FeProvinciaLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(FeProvinciaLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(FeProvinciaLocalService service) { - } - - private static FeProvinciaLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeProvinciaLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeProvinciaLocalServiceWrapper.java deleted file mode 100644 index 0f450670..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeProvinciaLocalServiceWrapper.java +++ /dev/null @@ -1,317 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link FeProvinciaLocalService}. - * - * @author 3FC - * @see FeProvinciaLocalService - * @generated - */ -public class FeProvinciaLocalServiceWrapper implements FeProvinciaLocalService, - ServiceWrapper { - public FeProvinciaLocalServiceWrapper( - FeProvinciaLocalService feProvinciaLocalService) { - _feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Adds the fe provincia to the database. Also notifies the appropriate model listeners. - * - * @param feProvincia the fe provincia - * @return the fe provincia that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FeProvincia addFeProvincia( - it.tref.liferay.portos.importazione.model.FeProvincia feProvincia) - throws com.liferay.portal.kernel.exception.SystemException { - return _feProvinciaLocalService.addFeProvincia(feProvincia); - } - - /** - * Creates a new fe provincia with the primary key. Does not add the fe provincia to the database. - * - * @param provinciaId the primary key for the new fe provincia - * @return the new fe provincia - */ - @Override - public it.tref.liferay.portos.importazione.model.FeProvincia createFeProvincia( - long provinciaId) { - return _feProvinciaLocalService.createFeProvincia(provinciaId); - } - - /** - * Deletes the fe provincia with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param provinciaId the primary key of the fe provincia - * @return the fe provincia that was removed - * @throws PortalException if a fe provincia with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FeProvincia deleteFeProvincia( - long provinciaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _feProvinciaLocalService.deleteFeProvincia(provinciaId); - } - - /** - * Deletes the fe provincia from the database. Also notifies the appropriate model listeners. - * - * @param feProvincia the fe provincia - * @return the fe provincia that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FeProvincia deleteFeProvincia( - it.tref.liferay.portos.importazione.model.FeProvincia feProvincia) - throws com.liferay.portal.kernel.exception.SystemException { - return _feProvinciaLocalService.deleteFeProvincia(feProvincia); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _feProvinciaLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _feProvinciaLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeProvinciaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _feProvinciaLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeProvinciaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _feProvinciaLocalService.dynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _feProvinciaLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _feProvinciaLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeProvincia fetchFeProvincia( - long provinciaId) - throws com.liferay.portal.kernel.exception.SystemException { - return _feProvinciaLocalService.fetchFeProvincia(provinciaId); - } - - /** - * Returns the fe provincia with the primary key. - * - * @param provinciaId the primary key of the fe provincia - * @return the fe provincia - * @throws PortalException if a fe provincia with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FeProvincia getFeProvincia( - long provinciaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _feProvinciaLocalService.getFeProvincia(provinciaId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _feProvinciaLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the fe provincias. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeProvinciaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe provincias - * @param end the upper bound of the range of fe provincias (not inclusive) - * @return the range of fe provincias - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getFeProvincias( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _feProvinciaLocalService.getFeProvincias(start, end); - } - - /** - * Returns the number of fe provincias. - * - * @return the number of fe provincias - * @throws SystemException if a system exception occurred - */ - @Override - public int getFeProvinciasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _feProvinciaLocalService.getFeProvinciasCount(); - } - - /** - * Updates the fe provincia in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param feProvincia the fe provincia - * @return the fe provincia that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FeProvincia updateFeProvincia( - it.tref.liferay.portos.importazione.model.FeProvincia feProvincia) - throws com.liferay.portal.kernel.exception.SystemException { - return _feProvinciaLocalService.updateFeProvincia(feProvincia); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _feProvinciaLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _feProvinciaLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _feProvinciaLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public FeProvinciaLocalService getWrappedFeProvinciaLocalService() { - return _feProvinciaLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedFeProvinciaLocalService( - FeProvinciaLocalService feProvinciaLocalService) { - _feProvinciaLocalService = feProvinciaLocalService; - } - - @Override - public FeProvinciaLocalService getWrappedService() { - return _feProvinciaLocalService; - } - - @Override - public void setWrappedService( - FeProvinciaLocalService feProvinciaLocalService) { - _feProvinciaLocalService = feProvinciaLocalService; - } - - private FeProvinciaLocalService _feProvinciaLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeTerritorioLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeTerritorioLocalService.java deleted file mode 100644 index 41a67995..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeTerritorioLocalService.java +++ /dev/null @@ -1,256 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for FeTerritorio. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author 3FC - * @see FeTerritorioLocalServiceUtil - * @see it.tref.liferay.portos.importazione.service.base.FeTerritorioLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.FeTerritorioLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface FeTerritorioLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link FeTerritorioLocalServiceUtil} to access the fe territorio local service. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.FeTerritorioLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the fe territorio to the database. Also notifies the appropriate model listeners. - * - * @param feTerritorio the fe territorio - * @return the fe territorio that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.FeTerritorio addFeTerritorio( - it.tref.liferay.portos.importazione.model.FeTerritorio feTerritorio) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new fe territorio with the primary key. Does not add the fe territorio to the database. - * - * @param territorioId the primary key for the new fe territorio - * @return the new fe territorio - */ - public it.tref.liferay.portos.importazione.model.FeTerritorio createFeTerritorio( - long territorioId); - - /** - * Deletes the fe territorio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param territorioId the primary key of the fe territorio - * @return the fe territorio that was removed - * @throws PortalException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.FeTerritorio deleteFeTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the fe territorio from the database. Also notifies the appropriate model listeners. - * - * @param feTerritorio the fe territorio - * @return the fe territorio that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.FeTerritorio deleteFeTerritorio( - it.tref.liferay.portos.importazione.model.FeTerritorio feTerritorio) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.FeTerritorio fetchFeTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe territorio with the primary key. - * - * @param territorioId the primary key of the fe territorio - * @return the fe territorio - * @throws PortalException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.FeTerritorio getFeTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of fe territorios - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getFeTerritorios( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe territorios. - * - * @return the number of fe territorios - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getFeTerritoriosCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the fe territorio in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param feTerritorio the fe territorio - * @return the fe territorio that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.FeTerritorio updateFeTerritorio( - it.tref.liferay.portos.importazione.model.FeTerritorio feTerritorio) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeTerritorioLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeTerritorioLocalServiceClp.java deleted file mode 100644 index a0c5e3de..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeTerritorioLocalServiceClp.java +++ /dev/null @@ -1,706 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author 3FC - * @generated - */ -public class FeTerritorioLocalServiceClp implements FeTerritorioLocalService { - public FeTerritorioLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addFeTerritorio"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.FeTerritorio" - }; - - _methodName1 = "createFeTerritorio"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteFeTerritorio"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteFeTerritorio"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.FeTerritorio" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchFeTerritorio"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getFeTerritorio"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getFeTerritorios"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getFeTerritoriosCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateFeTerritorio"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.FeTerritorio" - }; - - _methodName16 = "getBeanIdentifier"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "setBeanIdentifier"; - - _methodParameterTypes17 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.importazione.model.FeTerritorio addFeTerritorio( - it.tref.liferay.portos.importazione.model.FeTerritorio feTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(feTerritorio) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeTerritorio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeTerritorio createFeTerritorio( - long territorioId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { territorioId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeTerritorio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeTerritorio deleteFeTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { territorioId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeTerritorio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeTerritorio deleteFeTerritorio( - it.tref.liferay.portos.importazione.model.FeTerritorio feTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(feTerritorio) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeTerritorio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeTerritorio fetchFeTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { territorioId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeTerritorio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeTerritorio getFeTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, new Object[] { territorioId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeTerritorio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getFeTerritorios( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getFeTerritoriosCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeTerritorio updateFeTerritorio( - it.tref.liferay.portos.importazione.model.FeTerritorio feTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(feTerritorio) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.FeTerritorio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeTerritorioLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeTerritorioLocalServiceUtil.java deleted file mode 100644 index 6418a439..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeTerritorioLocalServiceUtil.java +++ /dev/null @@ -1,308 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for FeTerritorio. This utility wraps - * {@link it.tref.liferay.portos.importazione.service.impl.FeTerritorioLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author 3FC - * @see FeTerritorioLocalService - * @see it.tref.liferay.portos.importazione.service.base.FeTerritorioLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.FeTerritorioLocalServiceImpl - * @generated - */ -public class FeTerritorioLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.FeTerritorioLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the fe territorio to the database. Also notifies the appropriate model listeners. - * - * @param feTerritorio the fe territorio - * @return the fe territorio that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeTerritorio addFeTerritorio( - it.tref.liferay.portos.importazione.model.FeTerritorio feTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addFeTerritorio(feTerritorio); - } - - /** - * Creates a new fe territorio with the primary key. Does not add the fe territorio to the database. - * - * @param territorioId the primary key for the new fe territorio - * @return the new fe territorio - */ - public static it.tref.liferay.portos.importazione.model.FeTerritorio createFeTerritorio( - long territorioId) { - return getService().createFeTerritorio(territorioId); - } - - /** - * Deletes the fe territorio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param territorioId the primary key of the fe territorio - * @return the fe territorio that was removed - * @throws PortalException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeTerritorio deleteFeTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteFeTerritorio(territorioId); - } - - /** - * Deletes the fe territorio from the database. Also notifies the appropriate model listeners. - * - * @param feTerritorio the fe territorio - * @return the fe territorio that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeTerritorio deleteFeTerritorio( - it.tref.liferay.portos.importazione.model.FeTerritorio feTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteFeTerritorio(feTerritorio); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.importazione.model.FeTerritorio fetchFeTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchFeTerritorio(territorioId); - } - - /** - * Returns the fe territorio with the primary key. - * - * @param territorioId the primary key of the fe territorio - * @return the fe territorio - * @throws PortalException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeTerritorio getFeTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getFeTerritorio(territorioId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the fe territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of fe territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List getFeTerritorios( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getFeTerritorios(start, end); - } - - /** - * Returns the number of fe territorios. - * - * @return the number of fe territorios - * @throws SystemException if a system exception occurred - */ - public static int getFeTerritoriosCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getFeTerritoriosCount(); - } - - /** - * Updates the fe territorio in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param feTerritorio the fe territorio - * @return the fe territorio that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeTerritorio updateFeTerritorio( - it.tref.liferay.portos.importazione.model.FeTerritorio feTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateFeTerritorio(feTerritorio); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static FeTerritorioLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - FeTerritorioLocalService.class.getName()); - - if (invokableLocalService instanceof FeTerritorioLocalService) { - _service = (FeTerritorioLocalService)invokableLocalService; - } - else { - _service = new FeTerritorioLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(FeTerritorioLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(FeTerritorioLocalService service) { - } - - private static FeTerritorioLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeTerritorioLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeTerritorioLocalServiceWrapper.java deleted file mode 100644 index 1b13fd12..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/FeTerritorioLocalServiceWrapper.java +++ /dev/null @@ -1,317 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link FeTerritorioLocalService}. - * - * @author 3FC - * @see FeTerritorioLocalService - * @generated - */ -public class FeTerritorioLocalServiceWrapper implements FeTerritorioLocalService, - ServiceWrapper { - public FeTerritorioLocalServiceWrapper( - FeTerritorioLocalService feTerritorioLocalService) { - _feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Adds the fe territorio to the database. Also notifies the appropriate model listeners. - * - * @param feTerritorio the fe territorio - * @return the fe territorio that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FeTerritorio addFeTerritorio( - it.tref.liferay.portos.importazione.model.FeTerritorio feTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - return _feTerritorioLocalService.addFeTerritorio(feTerritorio); - } - - /** - * Creates a new fe territorio with the primary key. Does not add the fe territorio to the database. - * - * @param territorioId the primary key for the new fe territorio - * @return the new fe territorio - */ - @Override - public it.tref.liferay.portos.importazione.model.FeTerritorio createFeTerritorio( - long territorioId) { - return _feTerritorioLocalService.createFeTerritorio(territorioId); - } - - /** - * Deletes the fe territorio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param territorioId the primary key of the fe territorio - * @return the fe territorio that was removed - * @throws PortalException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FeTerritorio deleteFeTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _feTerritorioLocalService.deleteFeTerritorio(territorioId); - } - - /** - * Deletes the fe territorio from the database. Also notifies the appropriate model listeners. - * - * @param feTerritorio the fe territorio - * @return the fe territorio that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FeTerritorio deleteFeTerritorio( - it.tref.liferay.portos.importazione.model.FeTerritorio feTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - return _feTerritorioLocalService.deleteFeTerritorio(feTerritorio); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _feTerritorioLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _feTerritorioLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _feTerritorioLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _feTerritorioLocalService.dynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _feTerritorioLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _feTerritorioLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.importazione.model.FeTerritorio fetchFeTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException { - return _feTerritorioLocalService.fetchFeTerritorio(territorioId); - } - - /** - * Returns the fe territorio with the primary key. - * - * @param territorioId the primary key of the fe territorio - * @return the fe territorio - * @throws PortalException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FeTerritorio getFeTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _feTerritorioLocalService.getFeTerritorio(territorioId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _feTerritorioLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the fe territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getFeTerritorios( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _feTerritorioLocalService.getFeTerritorios(start, end); - } - - /** - * Returns the number of fe territorios. - * - * @return the number of fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public int getFeTerritoriosCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _feTerritorioLocalService.getFeTerritoriosCount(); - } - - /** - * Updates the fe territorio in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param feTerritorio the fe territorio - * @return the fe territorio that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.FeTerritorio updateFeTerritorio( - it.tref.liferay.portos.importazione.model.FeTerritorio feTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - return _feTerritorioLocalService.updateFeTerritorio(feTerritorio); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _feTerritorioLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _feTerritorioLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _feTerritorioLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public FeTerritorioLocalService getWrappedFeTerritorioLocalService() { - return _feTerritorioLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedFeTerritorioLocalService( - FeTerritorioLocalService feTerritorioLocalService) { - _feTerritorioLocalService = feTerritorioLocalService; - } - - @Override - public FeTerritorioLocalService getWrappedService() { - return _feTerritorioLocalService; - } - - @Override - public void setWrappedService( - FeTerritorioLocalService feTerritorioLocalService) { - _feTerritorioLocalService = feTerritorioLocalService; - } - - private FeTerritorioLocalService _feTerritorioLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoInstanceLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoInstanceLocalService.java deleted file mode 100644 index 8c43a0c4..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoInstanceLocalService.java +++ /dev/null @@ -1,261 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for KaleoInstance. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author 3FC - * @see KaleoInstanceLocalServiceUtil - * @see it.tref.liferay.portos.importazione.service.base.KaleoInstanceLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.KaleoInstanceLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface KaleoInstanceLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link KaleoInstanceLocalServiceUtil} to access the kaleo instance local service. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.KaleoInstanceLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the kaleo instance to the database. Also notifies the appropriate model listeners. - * - * @param kaleoInstance the kaleo instance - * @return the kaleo instance that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.KaleoInstance addKaleoInstance( - it.tref.liferay.portos.importazione.model.KaleoInstance kaleoInstance) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new kaleo instance with the primary key. Does not add the kaleo instance to the database. - * - * @param kaleoInstanceId the primary key for the new kaleo instance - * @return the new kaleo instance - */ - public it.tref.liferay.portos.importazione.model.KaleoInstance createKaleoInstance( - long kaleoInstanceId); - - /** - * Deletes the kaleo instance with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoInstanceId the primary key of the kaleo instance - * @return the kaleo instance that was removed - * @throws PortalException if a kaleo instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.KaleoInstance deleteKaleoInstance( - long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the kaleo instance from the database. Also notifies the appropriate model listeners. - * - * @param kaleoInstance the kaleo instance - * @return the kaleo instance that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.KaleoInstance deleteKaleoInstance( - it.tref.liferay.portos.importazione.model.KaleoInstance kaleoInstance) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.KaleoInstance fetchKaleoInstance( - long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the kaleo instance with the primary key. - * - * @param kaleoInstanceId the primary key of the kaleo instance - * @return the kaleo instance - * @throws PortalException if a kaleo instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.KaleoInstance getKaleoInstance( - long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the kaleo instances. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo instances - * @param end the upper bound of the range of kaleo instances (not inclusive) - * @return the range of kaleo instances - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getKaleoInstances( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of kaleo instances. - * - * @return the number of kaleo instances - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getKaleoInstancesCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the kaleo instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param kaleoInstance the kaleo instance - * @return the kaleo instance that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.KaleoInstance updateKaleoInstance( - it.tref.liferay.portos.importazione.model.KaleoInstance kaleoInstance) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.KaleoInstance fetchByClassPk( - long classPK) - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoInstanceLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoInstanceLocalServiceClp.java deleted file mode 100644 index fa224eaf..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoInstanceLocalServiceClp.java +++ /dev/null @@ -1,741 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author 3FC - * @generated - */ -public class KaleoInstanceLocalServiceClp implements KaleoInstanceLocalService { - public KaleoInstanceLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addKaleoInstance"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoInstance" - }; - - _methodName1 = "createKaleoInstance"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteKaleoInstance"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteKaleoInstance"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoInstance" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchKaleoInstance"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getKaleoInstance"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getKaleoInstances"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getKaleoInstancesCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateKaleoInstance"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoInstance" - }; - - _methodName16 = "getBeanIdentifier"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "setBeanIdentifier"; - - _methodParameterTypes17 = new String[] { "java.lang.String" }; - - _methodName19 = "fetchByClassPk"; - - _methodParameterTypes19 = new String[] { "long" }; - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstance addKaleoInstance( - it.tref.liferay.portos.importazione.model.KaleoInstance kaleoInstance) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(kaleoInstance) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoInstance)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstance createKaleoInstance( - long kaleoInstanceId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { kaleoInstanceId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoInstance)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstance deleteKaleoInstance( - long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { kaleoInstanceId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoInstance)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstance deleteKaleoInstance( - it.tref.liferay.portos.importazione.model.KaleoInstance kaleoInstance) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(kaleoInstance) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoInstance)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstance fetchKaleoInstance( - long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { kaleoInstanceId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoInstance)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstance getKaleoInstance( - long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, new Object[] { kaleoInstanceId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoInstance)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getKaleoInstances( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getKaleoInstancesCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstance updateKaleoInstance( - it.tref.liferay.portos.importazione.model.KaleoInstance kaleoInstance) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(kaleoInstance) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoInstance)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstance fetchByClassPk( - long classPK) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName19, - _methodParameterTypes19, new Object[] { classPK }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoInstance)ClpSerializer.translateOutput(returnObj); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName19; - private String[] _methodParameterTypes19; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoInstanceLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoInstanceLocalServiceUtil.java deleted file mode 100644 index 9bc5df44..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoInstanceLocalServiceUtil.java +++ /dev/null @@ -1,314 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for KaleoInstance. This utility wraps - * {@link it.tref.liferay.portos.importazione.service.impl.KaleoInstanceLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author 3FC - * @see KaleoInstanceLocalService - * @see it.tref.liferay.portos.importazione.service.base.KaleoInstanceLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.KaleoInstanceLocalServiceImpl - * @generated - */ -public class KaleoInstanceLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.KaleoInstanceLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the kaleo instance to the database. Also notifies the appropriate model listeners. - * - * @param kaleoInstance the kaleo instance - * @return the kaleo instance that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoInstance addKaleoInstance( - it.tref.liferay.portos.importazione.model.KaleoInstance kaleoInstance) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addKaleoInstance(kaleoInstance); - } - - /** - * Creates a new kaleo instance with the primary key. Does not add the kaleo instance to the database. - * - * @param kaleoInstanceId the primary key for the new kaleo instance - * @return the new kaleo instance - */ - public static it.tref.liferay.portos.importazione.model.KaleoInstance createKaleoInstance( - long kaleoInstanceId) { - return getService().createKaleoInstance(kaleoInstanceId); - } - - /** - * Deletes the kaleo instance with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoInstanceId the primary key of the kaleo instance - * @return the kaleo instance that was removed - * @throws PortalException if a kaleo instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoInstance deleteKaleoInstance( - long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteKaleoInstance(kaleoInstanceId); - } - - /** - * Deletes the kaleo instance from the database. Also notifies the appropriate model listeners. - * - * @param kaleoInstance the kaleo instance - * @return the kaleo instance that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoInstance deleteKaleoInstance( - it.tref.liferay.portos.importazione.model.KaleoInstance kaleoInstance) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteKaleoInstance(kaleoInstance); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.importazione.model.KaleoInstance fetchKaleoInstance( - long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchKaleoInstance(kaleoInstanceId); - } - - /** - * Returns the kaleo instance with the primary key. - * - * @param kaleoInstanceId the primary key of the kaleo instance - * @return the kaleo instance - * @throws PortalException if a kaleo instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoInstance getKaleoInstance( - long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getKaleoInstance(kaleoInstanceId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the kaleo instances. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo instances - * @param end the upper bound of the range of kaleo instances (not inclusive) - * @return the range of kaleo instances - * @throws SystemException if a system exception occurred - */ - public static java.util.List getKaleoInstances( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getKaleoInstances(start, end); - } - - /** - * Returns the number of kaleo instances. - * - * @return the number of kaleo instances - * @throws SystemException if a system exception occurred - */ - public static int getKaleoInstancesCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getKaleoInstancesCount(); - } - - /** - * Updates the kaleo instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param kaleoInstance the kaleo instance - * @return the kaleo instance that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoInstance updateKaleoInstance( - it.tref.liferay.portos.importazione.model.KaleoInstance kaleoInstance) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateKaleoInstance(kaleoInstance); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static it.tref.liferay.portos.importazione.model.KaleoInstance fetchByClassPk( - long classPK) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchByClassPk(classPK); - } - - public static void clearService() { - _service = null; - } - - public static KaleoInstanceLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - KaleoInstanceLocalService.class.getName()); - - if (invokableLocalService instanceof KaleoInstanceLocalService) { - _service = (KaleoInstanceLocalService)invokableLocalService; - } - else { - _service = new KaleoInstanceLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(KaleoInstanceLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(KaleoInstanceLocalService service) { - } - - private static KaleoInstanceLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoInstanceLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoInstanceLocalServiceWrapper.java deleted file mode 100644 index 0242db6a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoInstanceLocalServiceWrapper.java +++ /dev/null @@ -1,325 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link KaleoInstanceLocalService}. - * - * @author 3FC - * @see KaleoInstanceLocalService - * @generated - */ -public class KaleoInstanceLocalServiceWrapper - implements KaleoInstanceLocalService, - ServiceWrapper { - public KaleoInstanceLocalServiceWrapper( - KaleoInstanceLocalService kaleoInstanceLocalService) { - _kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Adds the kaleo instance to the database. Also notifies the appropriate model listeners. - * - * @param kaleoInstance the kaleo instance - * @return the kaleo instance that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstance addKaleoInstance( - it.tref.liferay.portos.importazione.model.KaleoInstance kaleoInstance) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoInstanceLocalService.addKaleoInstance(kaleoInstance); - } - - /** - * Creates a new kaleo instance with the primary key. Does not add the kaleo instance to the database. - * - * @param kaleoInstanceId the primary key for the new kaleo instance - * @return the new kaleo instance - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstance createKaleoInstance( - long kaleoInstanceId) { - return _kaleoInstanceLocalService.createKaleoInstance(kaleoInstanceId); - } - - /** - * Deletes the kaleo instance with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoInstanceId the primary key of the kaleo instance - * @return the kaleo instance that was removed - * @throws PortalException if a kaleo instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstance deleteKaleoInstance( - long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _kaleoInstanceLocalService.deleteKaleoInstance(kaleoInstanceId); - } - - /** - * Deletes the kaleo instance from the database. Also notifies the appropriate model listeners. - * - * @param kaleoInstance the kaleo instance - * @return the kaleo instance that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstance deleteKaleoInstance( - it.tref.liferay.portos.importazione.model.KaleoInstance kaleoInstance) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoInstanceLocalService.deleteKaleoInstance(kaleoInstance); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _kaleoInstanceLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoInstanceLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoInstanceLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoInstanceLocalService.dynamicQuery(dynamicQuery, start, - end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoInstanceLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoInstanceLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstance fetchKaleoInstance( - long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoInstanceLocalService.fetchKaleoInstance(kaleoInstanceId); - } - - /** - * Returns the kaleo instance with the primary key. - * - * @param kaleoInstanceId the primary key of the kaleo instance - * @return the kaleo instance - * @throws PortalException if a kaleo instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstance getKaleoInstance( - long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _kaleoInstanceLocalService.getKaleoInstance(kaleoInstanceId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _kaleoInstanceLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the kaleo instances. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo instances - * @param end the upper bound of the range of kaleo instances (not inclusive) - * @return the range of kaleo instances - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getKaleoInstances( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoInstanceLocalService.getKaleoInstances(start, end); - } - - /** - * Returns the number of kaleo instances. - * - * @return the number of kaleo instances - * @throws SystemException if a system exception occurred - */ - @Override - public int getKaleoInstancesCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoInstanceLocalService.getKaleoInstancesCount(); - } - - /** - * Updates the kaleo instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param kaleoInstance the kaleo instance - * @return the kaleo instance that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstance updateKaleoInstance( - it.tref.liferay.portos.importazione.model.KaleoInstance kaleoInstance) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoInstanceLocalService.updateKaleoInstance(kaleoInstance); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _kaleoInstanceLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _kaleoInstanceLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _kaleoInstanceLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstance fetchByClassPk( - long classPK) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoInstanceLocalService.fetchByClassPk(classPK); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public KaleoInstanceLocalService getWrappedKaleoInstanceLocalService() { - return _kaleoInstanceLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedKaleoInstanceLocalService( - KaleoInstanceLocalService kaleoInstanceLocalService) { - _kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - @Override - public KaleoInstanceLocalService getWrappedService() { - return _kaleoInstanceLocalService; - } - - @Override - public void setWrappedService( - KaleoInstanceLocalService kaleoInstanceLocalService) { - _kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - private KaleoInstanceLocalService _kaleoInstanceLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoInstanceTokenLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoInstanceTokenLocalService.java deleted file mode 100644 index ea581d80..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoInstanceTokenLocalService.java +++ /dev/null @@ -1,261 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for KaleoInstanceToken. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author 3FC - * @see KaleoInstanceTokenLocalServiceUtil - * @see it.tref.liferay.portos.importazione.service.base.KaleoInstanceTokenLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.KaleoInstanceTokenLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface KaleoInstanceTokenLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link KaleoInstanceTokenLocalServiceUtil} to access the kaleo instance token local service. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.KaleoInstanceTokenLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the kaleo instance token to the database. Also notifies the appropriate model listeners. - * - * @param kaleoInstanceToken the kaleo instance token - * @return the kaleo instance token that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.KaleoInstanceToken addKaleoInstanceToken( - it.tref.liferay.portos.importazione.model.KaleoInstanceToken kaleoInstanceToken) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new kaleo instance token with the primary key. Does not add the kaleo instance token to the database. - * - * @param kaleoInstanceTokenId the primary key for the new kaleo instance token - * @return the new kaleo instance token - */ - public it.tref.liferay.portos.importazione.model.KaleoInstanceToken createKaleoInstanceToken( - long kaleoInstanceTokenId); - - /** - * Deletes the kaleo instance token with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoInstanceTokenId the primary key of the kaleo instance token - * @return the kaleo instance token that was removed - * @throws PortalException if a kaleo instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.KaleoInstanceToken deleteKaleoInstanceToken( - long kaleoInstanceTokenId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the kaleo instance token from the database. Also notifies the appropriate model listeners. - * - * @param kaleoInstanceToken the kaleo instance token - * @return the kaleo instance token that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.KaleoInstanceToken deleteKaleoInstanceToken( - it.tref.liferay.portos.importazione.model.KaleoInstanceToken kaleoInstanceToken) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceTokenModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceTokenModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.KaleoInstanceToken fetchKaleoInstanceToken( - long kaleoInstanceTokenId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the kaleo instance token with the primary key. - * - * @param kaleoInstanceTokenId the primary key of the kaleo instance token - * @return the kaleo instance token - * @throws PortalException if a kaleo instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.KaleoInstanceToken getKaleoInstanceToken( - long kaleoInstanceTokenId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the kaleo instance tokens. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceTokenModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo instance tokens - * @param end the upper bound of the range of kaleo instance tokens (not inclusive) - * @return the range of kaleo instance tokens - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getKaleoInstanceTokens( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of kaleo instance tokens. - * - * @return the number of kaleo instance tokens - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getKaleoInstanceTokensCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the kaleo instance token in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param kaleoInstanceToken the kaleo instance token - * @return the kaleo instance token that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.KaleoInstanceToken updateKaleoInstanceToken( - it.tref.liferay.portos.importazione.model.KaleoInstanceToken kaleoInstanceToken) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.KaleoInstanceToken fetchByClassPk( - long classPK) - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoInstanceTokenLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoInstanceTokenLocalServiceClp.java deleted file mode 100644 index 39df5520..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoInstanceTokenLocalServiceClp.java +++ /dev/null @@ -1,752 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author 3FC - * @generated - */ -public class KaleoInstanceTokenLocalServiceClp - implements KaleoInstanceTokenLocalService { - public KaleoInstanceTokenLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addKaleoInstanceToken"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoInstanceToken" - }; - - _methodName1 = "createKaleoInstanceToken"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteKaleoInstanceToken"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteKaleoInstanceToken"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoInstanceToken" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchKaleoInstanceToken"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getKaleoInstanceToken"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getKaleoInstanceTokens"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getKaleoInstanceTokensCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateKaleoInstanceToken"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoInstanceToken" - }; - - _methodName16 = "getBeanIdentifier"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "setBeanIdentifier"; - - _methodParameterTypes17 = new String[] { "java.lang.String" }; - - _methodName19 = "fetchByClassPk"; - - _methodParameterTypes19 = new String[] { "long" }; - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstanceToken addKaleoInstanceToken( - it.tref.liferay.portos.importazione.model.KaleoInstanceToken kaleoInstanceToken) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { - ClpSerializer.translateInput(kaleoInstanceToken) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoInstanceToken)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstanceToken createKaleoInstanceToken( - long kaleoInstanceTokenId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, - new Object[] { kaleoInstanceTokenId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoInstanceToken)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstanceToken deleteKaleoInstanceToken( - long kaleoInstanceTokenId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, - new Object[] { kaleoInstanceTokenId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoInstanceToken)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstanceToken deleteKaleoInstanceToken( - it.tref.liferay.portos.importazione.model.KaleoInstanceToken kaleoInstanceToken) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { - ClpSerializer.translateInput(kaleoInstanceToken) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoInstanceToken)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstanceToken fetchKaleoInstanceToken( - long kaleoInstanceTokenId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, - new Object[] { kaleoInstanceTokenId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoInstanceToken)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstanceToken getKaleoInstanceToken( - long kaleoInstanceTokenId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, - new Object[] { kaleoInstanceTokenId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoInstanceToken)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getKaleoInstanceTokens( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getKaleoInstanceTokensCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstanceToken updateKaleoInstanceToken( - it.tref.liferay.portos.importazione.model.KaleoInstanceToken kaleoInstanceToken) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { - ClpSerializer.translateInput(kaleoInstanceToken) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoInstanceToken)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstanceToken fetchByClassPk( - long classPK) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName19, - _methodParameterTypes19, new Object[] { classPK }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoInstanceToken)ClpSerializer.translateOutput(returnObj); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName19; - private String[] _methodParameterTypes19; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoInstanceTokenLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoInstanceTokenLocalServiceUtil.java deleted file mode 100644 index ad055294..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoInstanceTokenLocalServiceUtil.java +++ /dev/null @@ -1,314 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for KaleoInstanceToken. This utility wraps - * {@link it.tref.liferay.portos.importazione.service.impl.KaleoInstanceTokenLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author 3FC - * @see KaleoInstanceTokenLocalService - * @see it.tref.liferay.portos.importazione.service.base.KaleoInstanceTokenLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.KaleoInstanceTokenLocalServiceImpl - * @generated - */ -public class KaleoInstanceTokenLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.KaleoInstanceTokenLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the kaleo instance token to the database. Also notifies the appropriate model listeners. - * - * @param kaleoInstanceToken the kaleo instance token - * @return the kaleo instance token that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoInstanceToken addKaleoInstanceToken( - it.tref.liferay.portos.importazione.model.KaleoInstanceToken kaleoInstanceToken) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addKaleoInstanceToken(kaleoInstanceToken); - } - - /** - * Creates a new kaleo instance token with the primary key. Does not add the kaleo instance token to the database. - * - * @param kaleoInstanceTokenId the primary key for the new kaleo instance token - * @return the new kaleo instance token - */ - public static it.tref.liferay.portos.importazione.model.KaleoInstanceToken createKaleoInstanceToken( - long kaleoInstanceTokenId) { - return getService().createKaleoInstanceToken(kaleoInstanceTokenId); - } - - /** - * Deletes the kaleo instance token with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoInstanceTokenId the primary key of the kaleo instance token - * @return the kaleo instance token that was removed - * @throws PortalException if a kaleo instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoInstanceToken deleteKaleoInstanceToken( - long kaleoInstanceTokenId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteKaleoInstanceToken(kaleoInstanceTokenId); - } - - /** - * Deletes the kaleo instance token from the database. Also notifies the appropriate model listeners. - * - * @param kaleoInstanceToken the kaleo instance token - * @return the kaleo instance token that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoInstanceToken deleteKaleoInstanceToken( - it.tref.liferay.portos.importazione.model.KaleoInstanceToken kaleoInstanceToken) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteKaleoInstanceToken(kaleoInstanceToken); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceTokenModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceTokenModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.importazione.model.KaleoInstanceToken fetchKaleoInstanceToken( - long kaleoInstanceTokenId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchKaleoInstanceToken(kaleoInstanceTokenId); - } - - /** - * Returns the kaleo instance token with the primary key. - * - * @param kaleoInstanceTokenId the primary key of the kaleo instance token - * @return the kaleo instance token - * @throws PortalException if a kaleo instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoInstanceToken getKaleoInstanceToken( - long kaleoInstanceTokenId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getKaleoInstanceToken(kaleoInstanceTokenId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the kaleo instance tokens. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceTokenModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo instance tokens - * @param end the upper bound of the range of kaleo instance tokens (not inclusive) - * @return the range of kaleo instance tokens - * @throws SystemException if a system exception occurred - */ - public static java.util.List getKaleoInstanceTokens( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getKaleoInstanceTokens(start, end); - } - - /** - * Returns the number of kaleo instance tokens. - * - * @return the number of kaleo instance tokens - * @throws SystemException if a system exception occurred - */ - public static int getKaleoInstanceTokensCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getKaleoInstanceTokensCount(); - } - - /** - * Updates the kaleo instance token in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param kaleoInstanceToken the kaleo instance token - * @return the kaleo instance token that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoInstanceToken updateKaleoInstanceToken( - it.tref.liferay.portos.importazione.model.KaleoInstanceToken kaleoInstanceToken) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateKaleoInstanceToken(kaleoInstanceToken); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static it.tref.liferay.portos.importazione.model.KaleoInstanceToken fetchByClassPk( - long classPK) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchByClassPk(classPK); - } - - public static void clearService() { - _service = null; - } - - public static KaleoInstanceTokenLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - KaleoInstanceTokenLocalService.class.getName()); - - if (invokableLocalService instanceof KaleoInstanceTokenLocalService) { - _service = (KaleoInstanceTokenLocalService)invokableLocalService; - } - else { - _service = new KaleoInstanceTokenLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(KaleoInstanceTokenLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(KaleoInstanceTokenLocalService service) { - } - - private static KaleoInstanceTokenLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoInstanceTokenLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoInstanceTokenLocalServiceWrapper.java deleted file mode 100644 index 0b3722dd..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoInstanceTokenLocalServiceWrapper.java +++ /dev/null @@ -1,326 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link KaleoInstanceTokenLocalService}. - * - * @author 3FC - * @see KaleoInstanceTokenLocalService - * @generated - */ -public class KaleoInstanceTokenLocalServiceWrapper - implements KaleoInstanceTokenLocalService, - ServiceWrapper { - public KaleoInstanceTokenLocalServiceWrapper( - KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - _kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Adds the kaleo instance token to the database. Also notifies the appropriate model listeners. - * - * @param kaleoInstanceToken the kaleo instance token - * @return the kaleo instance token that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstanceToken addKaleoInstanceToken( - it.tref.liferay.portos.importazione.model.KaleoInstanceToken kaleoInstanceToken) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoInstanceTokenLocalService.addKaleoInstanceToken(kaleoInstanceToken); - } - - /** - * Creates a new kaleo instance token with the primary key. Does not add the kaleo instance token to the database. - * - * @param kaleoInstanceTokenId the primary key for the new kaleo instance token - * @return the new kaleo instance token - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstanceToken createKaleoInstanceToken( - long kaleoInstanceTokenId) { - return _kaleoInstanceTokenLocalService.createKaleoInstanceToken(kaleoInstanceTokenId); - } - - /** - * Deletes the kaleo instance token with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoInstanceTokenId the primary key of the kaleo instance token - * @return the kaleo instance token that was removed - * @throws PortalException if a kaleo instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstanceToken deleteKaleoInstanceToken( - long kaleoInstanceTokenId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _kaleoInstanceTokenLocalService.deleteKaleoInstanceToken(kaleoInstanceTokenId); - } - - /** - * Deletes the kaleo instance token from the database. Also notifies the appropriate model listeners. - * - * @param kaleoInstanceToken the kaleo instance token - * @return the kaleo instance token that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstanceToken deleteKaleoInstanceToken( - it.tref.liferay.portos.importazione.model.KaleoInstanceToken kaleoInstanceToken) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoInstanceTokenLocalService.deleteKaleoInstanceToken(kaleoInstanceToken); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _kaleoInstanceTokenLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoInstanceTokenLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceTokenModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoInstanceTokenLocalService.dynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceTokenModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoInstanceTokenLocalService.dynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoInstanceTokenLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoInstanceTokenLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstanceToken fetchKaleoInstanceToken( - long kaleoInstanceTokenId) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoInstanceTokenLocalService.fetchKaleoInstanceToken(kaleoInstanceTokenId); - } - - /** - * Returns the kaleo instance token with the primary key. - * - * @param kaleoInstanceTokenId the primary key of the kaleo instance token - * @return the kaleo instance token - * @throws PortalException if a kaleo instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstanceToken getKaleoInstanceToken( - long kaleoInstanceTokenId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _kaleoInstanceTokenLocalService.getKaleoInstanceToken(kaleoInstanceTokenId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _kaleoInstanceTokenLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the kaleo instance tokens. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceTokenModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo instance tokens - * @param end the upper bound of the range of kaleo instance tokens (not inclusive) - * @return the range of kaleo instance tokens - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getKaleoInstanceTokens( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoInstanceTokenLocalService.getKaleoInstanceTokens(start, end); - } - - /** - * Returns the number of kaleo instance tokens. - * - * @return the number of kaleo instance tokens - * @throws SystemException if a system exception occurred - */ - @Override - public int getKaleoInstanceTokensCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoInstanceTokenLocalService.getKaleoInstanceTokensCount(); - } - - /** - * Updates the kaleo instance token in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param kaleoInstanceToken the kaleo instance token - * @return the kaleo instance token that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstanceToken updateKaleoInstanceToken( - it.tref.liferay.portos.importazione.model.KaleoInstanceToken kaleoInstanceToken) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoInstanceTokenLocalService.updateKaleoInstanceToken(kaleoInstanceToken); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _kaleoInstanceTokenLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _kaleoInstanceTokenLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _kaleoInstanceTokenLocalService.invokeMethod(name, - parameterTypes, arguments); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoInstanceToken fetchByClassPk( - long classPK) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoInstanceTokenLocalService.fetchByClassPk(classPK); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public KaleoInstanceTokenLocalService getWrappedKaleoInstanceTokenLocalService() { - return _kaleoInstanceTokenLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedKaleoInstanceTokenLocalService( - KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - _kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - @Override - public KaleoInstanceTokenLocalService getWrappedService() { - return _kaleoInstanceTokenLocalService; - } - - @Override - public void setWrappedService( - KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - _kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - private KaleoInstanceTokenLocalService _kaleoInstanceTokenLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoLogLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoLogLocalService.java deleted file mode 100644 index 5cc98156..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoLogLocalService.java +++ /dev/null @@ -1,260 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for KaleoLog. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author 3FC - * @see KaleoLogLocalServiceUtil - * @see it.tref.liferay.portos.importazione.service.base.KaleoLogLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.KaleoLogLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface KaleoLogLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link KaleoLogLocalServiceUtil} to access the kaleo log local service. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.KaleoLogLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the kaleo log to the database. Also notifies the appropriate model listeners. - * - * @param kaleoLog the kaleo log - * @return the kaleo log that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.KaleoLog addKaleoLog( - it.tref.liferay.portos.importazione.model.KaleoLog kaleoLog) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new kaleo log with the primary key. Does not add the kaleo log to the database. - * - * @param kaleoLogId the primary key for the new kaleo log - * @return the new kaleo log - */ - public it.tref.liferay.portos.importazione.model.KaleoLog createKaleoLog( - long kaleoLogId); - - /** - * Deletes the kaleo log with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoLogId the primary key of the kaleo log - * @return the kaleo log that was removed - * @throws PortalException if a kaleo log with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.KaleoLog deleteKaleoLog( - long kaleoLogId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the kaleo log from the database. Also notifies the appropriate model listeners. - * - * @param kaleoLog the kaleo log - * @return the kaleo log that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.KaleoLog deleteKaleoLog( - it.tref.liferay.portos.importazione.model.KaleoLog kaleoLog) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.KaleoLog fetchKaleoLog( - long kaleoLogId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the kaleo log with the primary key. - * - * @param kaleoLogId the primary key of the kaleo log - * @return the kaleo log - * @throws PortalException if a kaleo log with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.KaleoLog getKaleoLog( - long kaleoLogId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the kaleo logs. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo logs - * @param end the upper bound of the range of kaleo logs (not inclusive) - * @return the range of kaleo logs - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getKaleoLogs( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of kaleo logs. - * - * @return the number of kaleo logs - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getKaleoLogsCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the kaleo log in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param kaleoLog the kaleo log - * @return the kaleo log that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.KaleoLog updateKaleoLog( - it.tref.liferay.portos.importazione.model.KaleoLog kaleoLog) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; - - public java.util.List findByClassPk( - long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoLogLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoLogLocalServiceClp.java deleted file mode 100644 index fb05f7be..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoLogLocalServiceClp.java +++ /dev/null @@ -1,740 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author 3FC - * @generated - */ -public class KaleoLogLocalServiceClp implements KaleoLogLocalService { - public KaleoLogLocalServiceClp(InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addKaleoLog"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoLog" - }; - - _methodName1 = "createKaleoLog"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteKaleoLog"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteKaleoLog"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoLog" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchKaleoLog"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getKaleoLog"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getKaleoLogs"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getKaleoLogsCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateKaleoLog"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoLog" - }; - - _methodName16 = "getBeanIdentifier"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "setBeanIdentifier"; - - _methodParameterTypes17 = new String[] { "java.lang.String" }; - - _methodName19 = "findByClassPk"; - - _methodParameterTypes19 = new String[] { "long" }; - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoLog addKaleoLog( - it.tref.liferay.portos.importazione.model.KaleoLog kaleoLog) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(kaleoLog) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoLog)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoLog createKaleoLog( - long kaleoLogId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { kaleoLogId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoLog)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoLog deleteKaleoLog( - long kaleoLogId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { kaleoLogId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoLog)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoLog deleteKaleoLog( - it.tref.liferay.portos.importazione.model.KaleoLog kaleoLog) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(kaleoLog) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoLog)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoLog fetchKaleoLog( - long kaleoLogId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { kaleoLogId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoLog)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoLog getKaleoLog( - long kaleoLogId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, new Object[] { kaleoLogId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoLog)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getKaleoLogs( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getKaleoLogsCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoLog updateKaleoLog( - it.tref.liferay.portos.importazione.model.KaleoLog kaleoLog) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(kaleoLog) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoLog)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - @Override - public java.util.List findByClassPk( - long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName19, - _methodParameterTypes19, new Object[] { kaleoInstanceId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName19; - private String[] _methodParameterTypes19; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoLogLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoLogLocalServiceUtil.java deleted file mode 100644 index 625e925f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoLogLocalServiceUtil.java +++ /dev/null @@ -1,314 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for KaleoLog. This utility wraps - * {@link it.tref.liferay.portos.importazione.service.impl.KaleoLogLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author 3FC - * @see KaleoLogLocalService - * @see it.tref.liferay.portos.importazione.service.base.KaleoLogLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.KaleoLogLocalServiceImpl - * @generated - */ -public class KaleoLogLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.KaleoLogLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the kaleo log to the database. Also notifies the appropriate model listeners. - * - * @param kaleoLog the kaleo log - * @return the kaleo log that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoLog addKaleoLog( - it.tref.liferay.portos.importazione.model.KaleoLog kaleoLog) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addKaleoLog(kaleoLog); - } - - /** - * Creates a new kaleo log with the primary key. Does not add the kaleo log to the database. - * - * @param kaleoLogId the primary key for the new kaleo log - * @return the new kaleo log - */ - public static it.tref.liferay.portos.importazione.model.KaleoLog createKaleoLog( - long kaleoLogId) { - return getService().createKaleoLog(kaleoLogId); - } - - /** - * Deletes the kaleo log with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoLogId the primary key of the kaleo log - * @return the kaleo log that was removed - * @throws PortalException if a kaleo log with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoLog deleteKaleoLog( - long kaleoLogId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteKaleoLog(kaleoLogId); - } - - /** - * Deletes the kaleo log from the database. Also notifies the appropriate model listeners. - * - * @param kaleoLog the kaleo log - * @return the kaleo log that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoLog deleteKaleoLog( - it.tref.liferay.portos.importazione.model.KaleoLog kaleoLog) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteKaleoLog(kaleoLog); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.importazione.model.KaleoLog fetchKaleoLog( - long kaleoLogId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchKaleoLog(kaleoLogId); - } - - /** - * Returns the kaleo log with the primary key. - * - * @param kaleoLogId the primary key of the kaleo log - * @return the kaleo log - * @throws PortalException if a kaleo log with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoLog getKaleoLog( - long kaleoLogId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getKaleoLog(kaleoLogId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the kaleo logs. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo logs - * @param end the upper bound of the range of kaleo logs (not inclusive) - * @return the range of kaleo logs - * @throws SystemException if a system exception occurred - */ - public static java.util.List getKaleoLogs( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getKaleoLogs(start, end); - } - - /** - * Returns the number of kaleo logs. - * - * @return the number of kaleo logs - * @throws SystemException if a system exception occurred - */ - public static int getKaleoLogsCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getKaleoLogsCount(); - } - - /** - * Updates the kaleo log in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param kaleoLog the kaleo log - * @return the kaleo log that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoLog updateKaleoLog( - it.tref.liferay.portos.importazione.model.KaleoLog kaleoLog) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateKaleoLog(kaleoLog); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static java.util.List findByClassPk( - long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().findByClassPk(kaleoInstanceId); - } - - public static void clearService() { - _service = null; - } - - public static KaleoLogLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - KaleoLogLocalService.class.getName()); - - if (invokableLocalService instanceof KaleoLogLocalService) { - _service = (KaleoLogLocalService)invokableLocalService; - } - else { - _service = new KaleoLogLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(KaleoLogLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(KaleoLogLocalService service) { - } - - private static KaleoLogLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoLogLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoLogLocalServiceWrapper.java deleted file mode 100644 index 514313eb..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoLogLocalServiceWrapper.java +++ /dev/null @@ -1,322 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link KaleoLogLocalService}. - * - * @author 3FC - * @see KaleoLogLocalService - * @generated - */ -public class KaleoLogLocalServiceWrapper implements KaleoLogLocalService, - ServiceWrapper { - public KaleoLogLocalServiceWrapper( - KaleoLogLocalService kaleoLogLocalService) { - _kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Adds the kaleo log to the database. Also notifies the appropriate model listeners. - * - * @param kaleoLog the kaleo log - * @return the kaleo log that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoLog addKaleoLog( - it.tref.liferay.portos.importazione.model.KaleoLog kaleoLog) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoLogLocalService.addKaleoLog(kaleoLog); - } - - /** - * Creates a new kaleo log with the primary key. Does not add the kaleo log to the database. - * - * @param kaleoLogId the primary key for the new kaleo log - * @return the new kaleo log - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoLog createKaleoLog( - long kaleoLogId) { - return _kaleoLogLocalService.createKaleoLog(kaleoLogId); - } - - /** - * Deletes the kaleo log with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoLogId the primary key of the kaleo log - * @return the kaleo log that was removed - * @throws PortalException if a kaleo log with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoLog deleteKaleoLog( - long kaleoLogId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _kaleoLogLocalService.deleteKaleoLog(kaleoLogId); - } - - /** - * Deletes the kaleo log from the database. Also notifies the appropriate model listeners. - * - * @param kaleoLog the kaleo log - * @return the kaleo log that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoLog deleteKaleoLog( - it.tref.liferay.portos.importazione.model.KaleoLog kaleoLog) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoLogLocalService.deleteKaleoLog(kaleoLog); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _kaleoLogLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoLogLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoLogLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoLogLocalService.dynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoLogLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoLogLocalService.dynamicQueryCount(dynamicQuery, projection); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoLog fetchKaleoLog( - long kaleoLogId) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoLogLocalService.fetchKaleoLog(kaleoLogId); - } - - /** - * Returns the kaleo log with the primary key. - * - * @param kaleoLogId the primary key of the kaleo log - * @return the kaleo log - * @throws PortalException if a kaleo log with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoLog getKaleoLog( - long kaleoLogId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _kaleoLogLocalService.getKaleoLog(kaleoLogId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _kaleoLogLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the kaleo logs. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo logs - * @param end the upper bound of the range of kaleo logs (not inclusive) - * @return the range of kaleo logs - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getKaleoLogs( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoLogLocalService.getKaleoLogs(start, end); - } - - /** - * Returns the number of kaleo logs. - * - * @return the number of kaleo logs - * @throws SystemException if a system exception occurred - */ - @Override - public int getKaleoLogsCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoLogLocalService.getKaleoLogsCount(); - } - - /** - * Updates the kaleo log in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param kaleoLog the kaleo log - * @return the kaleo log that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoLog updateKaleoLog( - it.tref.liferay.portos.importazione.model.KaleoLog kaleoLog) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoLogLocalService.updateKaleoLog(kaleoLog); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _kaleoLogLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _kaleoLogLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _kaleoLogLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - @Override - public java.util.List findByClassPk( - long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoLogLocalService.findByClassPk(kaleoInstanceId); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public KaleoLogLocalService getWrappedKaleoLogLocalService() { - return _kaleoLogLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedKaleoLogLocalService( - KaleoLogLocalService kaleoLogLocalService) { - _kaleoLogLocalService = kaleoLogLocalService; - } - - @Override - public KaleoLogLocalService getWrappedService() { - return _kaleoLogLocalService; - } - - @Override - public void setWrappedService(KaleoLogLocalService kaleoLogLocalService) { - _kaleoLogLocalService = kaleoLogLocalService; - } - - private KaleoLogLocalService _kaleoLogLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoNodeLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoNodeLocalService.java deleted file mode 100644 index f03ba4eb..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoNodeLocalService.java +++ /dev/null @@ -1,256 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for KaleoNode. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author 3FC - * @see KaleoNodeLocalServiceUtil - * @see it.tref.liferay.portos.importazione.service.base.KaleoNodeLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.KaleoNodeLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface KaleoNodeLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link KaleoNodeLocalServiceUtil} to access the kaleo node local service. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.KaleoNodeLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the kaleo node to the database. Also notifies the appropriate model listeners. - * - * @param kaleoNode the kaleo node - * @return the kaleo node that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.KaleoNode addKaleoNode( - it.tref.liferay.portos.importazione.model.KaleoNode kaleoNode) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new kaleo node with the primary key. Does not add the kaleo node to the database. - * - * @param kaleoNodeId the primary key for the new kaleo node - * @return the new kaleo node - */ - public it.tref.liferay.portos.importazione.model.KaleoNode createKaleoNode( - long kaleoNodeId); - - /** - * Deletes the kaleo node with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoNodeId the primary key of the kaleo node - * @return the kaleo node that was removed - * @throws PortalException if a kaleo node with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.KaleoNode deleteKaleoNode( - long kaleoNodeId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the kaleo node from the database. Also notifies the appropriate model listeners. - * - * @param kaleoNode the kaleo node - * @return the kaleo node that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.KaleoNode deleteKaleoNode( - it.tref.liferay.portos.importazione.model.KaleoNode kaleoNode) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoNodeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoNodeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.KaleoNode fetchKaleoNode( - long kaleoNodeId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the kaleo node with the primary key. - * - * @param kaleoNodeId the primary key of the kaleo node - * @return the kaleo node - * @throws PortalException if a kaleo node with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.KaleoNode getKaleoNode( - long kaleoNodeId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the kaleo nodes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoNodeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo nodes - * @param end the upper bound of the range of kaleo nodes (not inclusive) - * @return the range of kaleo nodes - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getKaleoNodes( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of kaleo nodes. - * - * @return the number of kaleo nodes - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getKaleoNodesCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the kaleo node in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param kaleoNode the kaleo node - * @return the kaleo node that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.KaleoNode updateKaleoNode( - it.tref.liferay.portos.importazione.model.KaleoNode kaleoNode) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoNodeLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoNodeLocalServiceClp.java deleted file mode 100644 index 5b2ba93e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoNodeLocalServiceClp.java +++ /dev/null @@ -1,705 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author 3FC - * @generated - */ -public class KaleoNodeLocalServiceClp implements KaleoNodeLocalService { - public KaleoNodeLocalServiceClp(InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addKaleoNode"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoNode" - }; - - _methodName1 = "createKaleoNode"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteKaleoNode"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteKaleoNode"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoNode" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchKaleoNode"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getKaleoNode"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getKaleoNodes"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getKaleoNodesCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateKaleoNode"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoNode" - }; - - _methodName16 = "getBeanIdentifier"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "setBeanIdentifier"; - - _methodParameterTypes17 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoNode addKaleoNode( - it.tref.liferay.portos.importazione.model.KaleoNode kaleoNode) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(kaleoNode) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoNode)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoNode createKaleoNode( - long kaleoNodeId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { kaleoNodeId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoNode)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoNode deleteKaleoNode( - long kaleoNodeId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { kaleoNodeId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoNode)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoNode deleteKaleoNode( - it.tref.liferay.portos.importazione.model.KaleoNode kaleoNode) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(kaleoNode) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoNode)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoNode fetchKaleoNode( - long kaleoNodeId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { kaleoNodeId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoNode)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoNode getKaleoNode( - long kaleoNodeId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, new Object[] { kaleoNodeId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoNode)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getKaleoNodes( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getKaleoNodesCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoNode updateKaleoNode( - it.tref.liferay.portos.importazione.model.KaleoNode kaleoNode) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(kaleoNode) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoNode)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoNodeLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoNodeLocalServiceUtil.java deleted file mode 100644 index 2c35bf64..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoNodeLocalServiceUtil.java +++ /dev/null @@ -1,308 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for KaleoNode. This utility wraps - * {@link it.tref.liferay.portos.importazione.service.impl.KaleoNodeLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author 3FC - * @see KaleoNodeLocalService - * @see it.tref.liferay.portos.importazione.service.base.KaleoNodeLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.KaleoNodeLocalServiceImpl - * @generated - */ -public class KaleoNodeLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.KaleoNodeLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the kaleo node to the database. Also notifies the appropriate model listeners. - * - * @param kaleoNode the kaleo node - * @return the kaleo node that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoNode addKaleoNode( - it.tref.liferay.portos.importazione.model.KaleoNode kaleoNode) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addKaleoNode(kaleoNode); - } - - /** - * Creates a new kaleo node with the primary key. Does not add the kaleo node to the database. - * - * @param kaleoNodeId the primary key for the new kaleo node - * @return the new kaleo node - */ - public static it.tref.liferay.portos.importazione.model.KaleoNode createKaleoNode( - long kaleoNodeId) { - return getService().createKaleoNode(kaleoNodeId); - } - - /** - * Deletes the kaleo node with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoNodeId the primary key of the kaleo node - * @return the kaleo node that was removed - * @throws PortalException if a kaleo node with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoNode deleteKaleoNode( - long kaleoNodeId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteKaleoNode(kaleoNodeId); - } - - /** - * Deletes the kaleo node from the database. Also notifies the appropriate model listeners. - * - * @param kaleoNode the kaleo node - * @return the kaleo node that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoNode deleteKaleoNode( - it.tref.liferay.portos.importazione.model.KaleoNode kaleoNode) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteKaleoNode(kaleoNode); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoNodeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoNodeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.importazione.model.KaleoNode fetchKaleoNode( - long kaleoNodeId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchKaleoNode(kaleoNodeId); - } - - /** - * Returns the kaleo node with the primary key. - * - * @param kaleoNodeId the primary key of the kaleo node - * @return the kaleo node - * @throws PortalException if a kaleo node with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoNode getKaleoNode( - long kaleoNodeId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getKaleoNode(kaleoNodeId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the kaleo nodes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoNodeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo nodes - * @param end the upper bound of the range of kaleo nodes (not inclusive) - * @return the range of kaleo nodes - * @throws SystemException if a system exception occurred - */ - public static java.util.List getKaleoNodes( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getKaleoNodes(start, end); - } - - /** - * Returns the number of kaleo nodes. - * - * @return the number of kaleo nodes - * @throws SystemException if a system exception occurred - */ - public static int getKaleoNodesCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getKaleoNodesCount(); - } - - /** - * Updates the kaleo node in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param kaleoNode the kaleo node - * @return the kaleo node that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoNode updateKaleoNode( - it.tref.liferay.portos.importazione.model.KaleoNode kaleoNode) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateKaleoNode(kaleoNode); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static KaleoNodeLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - KaleoNodeLocalService.class.getName()); - - if (invokableLocalService instanceof KaleoNodeLocalService) { - _service = (KaleoNodeLocalService)invokableLocalService; - } - else { - _service = new KaleoNodeLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(KaleoNodeLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(KaleoNodeLocalService service) { - } - - private static KaleoNodeLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoNodeLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoNodeLocalServiceWrapper.java deleted file mode 100644 index 0ebc5e05..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoNodeLocalServiceWrapper.java +++ /dev/null @@ -1,315 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link KaleoNodeLocalService}. - * - * @author 3FC - * @see KaleoNodeLocalService - * @generated - */ -public class KaleoNodeLocalServiceWrapper implements KaleoNodeLocalService, - ServiceWrapper { - public KaleoNodeLocalServiceWrapper( - KaleoNodeLocalService kaleoNodeLocalService) { - _kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Adds the kaleo node to the database. Also notifies the appropriate model listeners. - * - * @param kaleoNode the kaleo node - * @return the kaleo node that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoNode addKaleoNode( - it.tref.liferay.portos.importazione.model.KaleoNode kaleoNode) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoNodeLocalService.addKaleoNode(kaleoNode); - } - - /** - * Creates a new kaleo node with the primary key. Does not add the kaleo node to the database. - * - * @param kaleoNodeId the primary key for the new kaleo node - * @return the new kaleo node - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoNode createKaleoNode( - long kaleoNodeId) { - return _kaleoNodeLocalService.createKaleoNode(kaleoNodeId); - } - - /** - * Deletes the kaleo node with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoNodeId the primary key of the kaleo node - * @return the kaleo node that was removed - * @throws PortalException if a kaleo node with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoNode deleteKaleoNode( - long kaleoNodeId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _kaleoNodeLocalService.deleteKaleoNode(kaleoNodeId); - } - - /** - * Deletes the kaleo node from the database. Also notifies the appropriate model listeners. - * - * @param kaleoNode the kaleo node - * @return the kaleo node that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoNode deleteKaleoNode( - it.tref.liferay.portos.importazione.model.KaleoNode kaleoNode) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoNodeLocalService.deleteKaleoNode(kaleoNode); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _kaleoNodeLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoNodeLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoNodeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoNodeLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoNodeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoNodeLocalService.dynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoNodeLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoNodeLocalService.dynamicQueryCount(dynamicQuery, projection); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoNode fetchKaleoNode( - long kaleoNodeId) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoNodeLocalService.fetchKaleoNode(kaleoNodeId); - } - - /** - * Returns the kaleo node with the primary key. - * - * @param kaleoNodeId the primary key of the kaleo node - * @return the kaleo node - * @throws PortalException if a kaleo node with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoNode getKaleoNode( - long kaleoNodeId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _kaleoNodeLocalService.getKaleoNode(kaleoNodeId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _kaleoNodeLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the kaleo nodes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoNodeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo nodes - * @param end the upper bound of the range of kaleo nodes (not inclusive) - * @return the range of kaleo nodes - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getKaleoNodes( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoNodeLocalService.getKaleoNodes(start, end); - } - - /** - * Returns the number of kaleo nodes. - * - * @return the number of kaleo nodes - * @throws SystemException if a system exception occurred - */ - @Override - public int getKaleoNodesCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoNodeLocalService.getKaleoNodesCount(); - } - - /** - * Updates the kaleo node in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param kaleoNode the kaleo node - * @return the kaleo node that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoNode updateKaleoNode( - it.tref.liferay.portos.importazione.model.KaleoNode kaleoNode) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoNodeLocalService.updateKaleoNode(kaleoNode); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _kaleoNodeLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _kaleoNodeLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _kaleoNodeLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public KaleoNodeLocalService getWrappedKaleoNodeLocalService() { - return _kaleoNodeLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedKaleoNodeLocalService( - KaleoNodeLocalService kaleoNodeLocalService) { - _kaleoNodeLocalService = kaleoNodeLocalService; - } - - @Override - public KaleoNodeLocalService getWrappedService() { - return _kaleoNodeLocalService; - } - - @Override - public void setWrappedService(KaleoNodeLocalService kaleoNodeLocalService) { - _kaleoNodeLocalService = kaleoNodeLocalService; - } - - private KaleoNodeLocalService _kaleoNodeLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoTaskAssignmentInstanceLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoTaskAssignmentInstanceLocalService.java deleted file mode 100644 index 50c05bc9..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoTaskAssignmentInstanceLocalService.java +++ /dev/null @@ -1,260 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for KaleoTaskAssignmentInstance. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author 3FC - * @see KaleoTaskAssignmentInstanceLocalServiceUtil - * @see it.tref.liferay.portos.importazione.service.base.KaleoTaskAssignmentInstanceLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.KaleoTaskAssignmentInstanceLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface KaleoTaskAssignmentInstanceLocalService - extends BaseLocalService, InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link KaleoTaskAssignmentInstanceLocalServiceUtil} to access the kaleo task assignment instance local service. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.KaleoTaskAssignmentInstanceLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the kaleo task assignment instance to the database. Also notifies the appropriate model listeners. - * - * @param kaleoTaskAssignmentInstance the kaleo task assignment instance - * @return the kaleo task assignment instance that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance addKaleoTaskAssignmentInstance( - it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new kaleo task assignment instance with the primary key. Does not add the kaleo task assignment instance to the database. - * - * @param kaleoTaskAssignmentInstanceId the primary key for the new kaleo task assignment instance - * @return the new kaleo task assignment instance - */ - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance createKaleoTaskAssignmentInstance( - long kaleoTaskAssignmentInstanceId); - - /** - * Deletes the kaleo task assignment instance with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoTaskAssignmentInstanceId the primary key of the kaleo task assignment instance - * @return the kaleo task assignment instance that was removed - * @throws PortalException if a kaleo task assignment instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance deleteKaleoTaskAssignmentInstance( - long kaleoTaskAssignmentInstanceId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the kaleo task assignment instance from the database. Also notifies the appropriate model listeners. - * - * @param kaleoTaskAssignmentInstance the kaleo task assignment instance - * @return the kaleo task assignment instance that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance deleteKaleoTaskAssignmentInstance( - it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance fetchKaleoTaskAssignmentInstance( - long kaleoTaskAssignmentInstanceId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the kaleo task assignment instance with the primary key. - * - * @param kaleoTaskAssignmentInstanceId the primary key of the kaleo task assignment instance - * @return the kaleo task assignment instance - * @throws PortalException if a kaleo task assignment instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance getKaleoTaskAssignmentInstance( - long kaleoTaskAssignmentInstanceId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the kaleo task assignment instances. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo task assignment instances - * @param end the upper bound of the range of kaleo task assignment instances (not inclusive) - * @return the range of kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getKaleoTaskAssignmentInstances( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of kaleo task assignment instances. - * - * @return the number of kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getKaleoTaskAssignmentInstancesCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the kaleo task assignment instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param kaleoTaskAssignmentInstance the kaleo task assignment instance - * @return the kaleo task assignment instance that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance updateKaleoTaskAssignmentInstance( - it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; - - public java.util.List findByKaleoInstanceId( - long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoTaskAssignmentInstanceLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoTaskAssignmentInstanceLocalServiceClp.java deleted file mode 100644 index 81b9fb75..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoTaskAssignmentInstanceLocalServiceClp.java +++ /dev/null @@ -1,755 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author 3FC - * @generated - */ -public class KaleoTaskAssignmentInstanceLocalServiceClp - implements KaleoTaskAssignmentInstanceLocalService { - public KaleoTaskAssignmentInstanceLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addKaleoTaskAssignmentInstance"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance" - }; - - _methodName1 = "createKaleoTaskAssignmentInstance"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteKaleoTaskAssignmentInstance"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteKaleoTaskAssignmentInstance"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchKaleoTaskAssignmentInstance"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getKaleoTaskAssignmentInstance"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getKaleoTaskAssignmentInstances"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getKaleoTaskAssignmentInstancesCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateKaleoTaskAssignmentInstance"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance" - }; - - _methodName16 = "getBeanIdentifier"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "setBeanIdentifier"; - - _methodParameterTypes17 = new String[] { "java.lang.String" }; - - _methodName19 = "findByKaleoInstanceId"; - - _methodParameterTypes19 = new String[] { "long" }; - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance addKaleoTaskAssignmentInstance( - it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { - ClpSerializer.translateInput( - kaleoTaskAssignmentInstance) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance createKaleoTaskAssignmentInstance( - long kaleoTaskAssignmentInstanceId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, - new Object[] { kaleoTaskAssignmentInstanceId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance deleteKaleoTaskAssignmentInstance( - long kaleoTaskAssignmentInstanceId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, - new Object[] { kaleoTaskAssignmentInstanceId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance deleteKaleoTaskAssignmentInstance( - it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { - ClpSerializer.translateInput( - kaleoTaskAssignmentInstance) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance fetchKaleoTaskAssignmentInstance( - long kaleoTaskAssignmentInstanceId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, - new Object[] { kaleoTaskAssignmentInstanceId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance getKaleoTaskAssignmentInstance( - long kaleoTaskAssignmentInstanceId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, - new Object[] { kaleoTaskAssignmentInstanceId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getKaleoTaskAssignmentInstances( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getKaleoTaskAssignmentInstancesCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance updateKaleoTaskAssignmentInstance( - it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { - ClpSerializer.translateInput( - kaleoTaskAssignmentInstance) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - @Override - public java.util.List findByKaleoInstanceId( - long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName19, - _methodParameterTypes19, new Object[] { kaleoInstanceId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName19; - private String[] _methodParameterTypes19; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoTaskAssignmentInstanceLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoTaskAssignmentInstanceLocalServiceUtil.java deleted file mode 100644 index 59f34116..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoTaskAssignmentInstanceLocalServiceUtil.java +++ /dev/null @@ -1,321 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for KaleoTaskAssignmentInstance. This utility wraps - * {@link it.tref.liferay.portos.importazione.service.impl.KaleoTaskAssignmentInstanceLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author 3FC - * @see KaleoTaskAssignmentInstanceLocalService - * @see it.tref.liferay.portos.importazione.service.base.KaleoTaskAssignmentInstanceLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.KaleoTaskAssignmentInstanceLocalServiceImpl - * @generated - */ -public class KaleoTaskAssignmentInstanceLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.KaleoTaskAssignmentInstanceLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the kaleo task assignment instance to the database. Also notifies the appropriate model listeners. - * - * @param kaleoTaskAssignmentInstance the kaleo task assignment instance - * @return the kaleo task assignment instance that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance addKaleoTaskAssignmentInstance( - it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .addKaleoTaskAssignmentInstance(kaleoTaskAssignmentInstance); - } - - /** - * Creates a new kaleo task assignment instance with the primary key. Does not add the kaleo task assignment instance to the database. - * - * @param kaleoTaskAssignmentInstanceId the primary key for the new kaleo task assignment instance - * @return the new kaleo task assignment instance - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance createKaleoTaskAssignmentInstance( - long kaleoTaskAssignmentInstanceId) { - return getService() - .createKaleoTaskAssignmentInstance(kaleoTaskAssignmentInstanceId); - } - - /** - * Deletes the kaleo task assignment instance with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoTaskAssignmentInstanceId the primary key of the kaleo task assignment instance - * @return the kaleo task assignment instance that was removed - * @throws PortalException if a kaleo task assignment instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance deleteKaleoTaskAssignmentInstance( - long kaleoTaskAssignmentInstanceId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService() - .deleteKaleoTaskAssignmentInstance(kaleoTaskAssignmentInstanceId); - } - - /** - * Deletes the kaleo task assignment instance from the database. Also notifies the appropriate model listeners. - * - * @param kaleoTaskAssignmentInstance the kaleo task assignment instance - * @return the kaleo task assignment instance that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance deleteKaleoTaskAssignmentInstance( - it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .deleteKaleoTaskAssignmentInstance(kaleoTaskAssignmentInstance); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance fetchKaleoTaskAssignmentInstance( - long kaleoTaskAssignmentInstanceId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .fetchKaleoTaskAssignmentInstance(kaleoTaskAssignmentInstanceId); - } - - /** - * Returns the kaleo task assignment instance with the primary key. - * - * @param kaleoTaskAssignmentInstanceId the primary key of the kaleo task assignment instance - * @return the kaleo task assignment instance - * @throws PortalException if a kaleo task assignment instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance getKaleoTaskAssignmentInstance( - long kaleoTaskAssignmentInstanceId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService() - .getKaleoTaskAssignmentInstance(kaleoTaskAssignmentInstanceId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the kaleo task assignment instances. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo task assignment instances - * @param end the upper bound of the range of kaleo task assignment instances (not inclusive) - * @return the range of kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - public static java.util.List getKaleoTaskAssignmentInstances( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getKaleoTaskAssignmentInstances(start, end); - } - - /** - * Returns the number of kaleo task assignment instances. - * - * @return the number of kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - public static int getKaleoTaskAssignmentInstancesCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getKaleoTaskAssignmentInstancesCount(); - } - - /** - * Updates the kaleo task assignment instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param kaleoTaskAssignmentInstance the kaleo task assignment instance - * @return the kaleo task assignment instance that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance updateKaleoTaskAssignmentInstance( - it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .updateKaleoTaskAssignmentInstance(kaleoTaskAssignmentInstance); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static java.util.List findByKaleoInstanceId( - long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().findByKaleoInstanceId(kaleoInstanceId); - } - - public static void clearService() { - _service = null; - } - - public static KaleoTaskAssignmentInstanceLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - KaleoTaskAssignmentInstanceLocalService.class.getName()); - - if (invokableLocalService instanceof KaleoTaskAssignmentInstanceLocalService) { - _service = (KaleoTaskAssignmentInstanceLocalService)invokableLocalService; - } - else { - _service = new KaleoTaskAssignmentInstanceLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(KaleoTaskAssignmentInstanceLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(KaleoTaskAssignmentInstanceLocalService service) { - } - - private static KaleoTaskAssignmentInstanceLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoTaskAssignmentInstanceLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoTaskAssignmentInstanceLocalServiceWrapper.java deleted file mode 100644 index 8409cc7b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoTaskAssignmentInstanceLocalServiceWrapper.java +++ /dev/null @@ -1,327 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link KaleoTaskAssignmentInstanceLocalService}. - * - * @author 3FC - * @see KaleoTaskAssignmentInstanceLocalService - * @generated - */ -public class KaleoTaskAssignmentInstanceLocalServiceWrapper - implements KaleoTaskAssignmentInstanceLocalService, - ServiceWrapper { - public KaleoTaskAssignmentInstanceLocalServiceWrapper( - KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - _kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Adds the kaleo task assignment instance to the database. Also notifies the appropriate model listeners. - * - * @param kaleoTaskAssignmentInstance the kaleo task assignment instance - * @return the kaleo task assignment instance that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance addKaleoTaskAssignmentInstance( - it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskAssignmentInstanceLocalService.addKaleoTaskAssignmentInstance(kaleoTaskAssignmentInstance); - } - - /** - * Creates a new kaleo task assignment instance with the primary key. Does not add the kaleo task assignment instance to the database. - * - * @param kaleoTaskAssignmentInstanceId the primary key for the new kaleo task assignment instance - * @return the new kaleo task assignment instance - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance createKaleoTaskAssignmentInstance( - long kaleoTaskAssignmentInstanceId) { - return _kaleoTaskAssignmentInstanceLocalService.createKaleoTaskAssignmentInstance(kaleoTaskAssignmentInstanceId); - } - - /** - * Deletes the kaleo task assignment instance with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoTaskAssignmentInstanceId the primary key of the kaleo task assignment instance - * @return the kaleo task assignment instance that was removed - * @throws PortalException if a kaleo task assignment instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance deleteKaleoTaskAssignmentInstance( - long kaleoTaskAssignmentInstanceId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskAssignmentInstanceLocalService.deleteKaleoTaskAssignmentInstance(kaleoTaskAssignmentInstanceId); - } - - /** - * Deletes the kaleo task assignment instance from the database. Also notifies the appropriate model listeners. - * - * @param kaleoTaskAssignmentInstance the kaleo task assignment instance - * @return the kaleo task assignment instance that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance deleteKaleoTaskAssignmentInstance( - it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskAssignmentInstanceLocalService.deleteKaleoTaskAssignmentInstance(kaleoTaskAssignmentInstance); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _kaleoTaskAssignmentInstanceLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskAssignmentInstanceLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskAssignmentInstanceLocalService.dynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskAssignmentInstanceLocalService.dynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskAssignmentInstanceLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskAssignmentInstanceLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance fetchKaleoTaskAssignmentInstance( - long kaleoTaskAssignmentInstanceId) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskAssignmentInstanceLocalService.fetchKaleoTaskAssignmentInstance(kaleoTaskAssignmentInstanceId); - } - - /** - * Returns the kaleo task assignment instance with the primary key. - * - * @param kaleoTaskAssignmentInstanceId the primary key of the kaleo task assignment instance - * @return the kaleo task assignment instance - * @throws PortalException if a kaleo task assignment instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance getKaleoTaskAssignmentInstance( - long kaleoTaskAssignmentInstanceId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskAssignmentInstanceLocalService.getKaleoTaskAssignmentInstance(kaleoTaskAssignmentInstanceId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskAssignmentInstanceLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the kaleo task assignment instances. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo task assignment instances - * @param end the upper bound of the range of kaleo task assignment instances (not inclusive) - * @return the range of kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getKaleoTaskAssignmentInstances( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskAssignmentInstanceLocalService.getKaleoTaskAssignmentInstances(start, - end); - } - - /** - * Returns the number of kaleo task assignment instances. - * - * @return the number of kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - @Override - public int getKaleoTaskAssignmentInstancesCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskAssignmentInstanceLocalService.getKaleoTaskAssignmentInstancesCount(); - } - - /** - * Updates the kaleo task assignment instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param kaleoTaskAssignmentInstance the kaleo task assignment instance - * @return the kaleo task assignment instance that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance updateKaleoTaskAssignmentInstance( - it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskAssignmentInstanceLocalService.updateKaleoTaskAssignmentInstance(kaleoTaskAssignmentInstance); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _kaleoTaskAssignmentInstanceLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _kaleoTaskAssignmentInstanceLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _kaleoTaskAssignmentInstanceLocalService.invokeMethod(name, - parameterTypes, arguments); - } - - @Override - public java.util.List findByKaleoInstanceId( - long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskAssignmentInstanceLocalService.findByKaleoInstanceId(kaleoInstanceId); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public KaleoTaskAssignmentInstanceLocalService getWrappedKaleoTaskAssignmentInstanceLocalService() { - return _kaleoTaskAssignmentInstanceLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedKaleoTaskAssignmentInstanceLocalService( - KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - _kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - @Override - public KaleoTaskAssignmentInstanceLocalService getWrappedService() { - return _kaleoTaskAssignmentInstanceLocalService; - } - - @Override - public void setWrappedService( - KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - _kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - private KaleoTaskAssignmentInstanceLocalService _kaleoTaskAssignmentInstanceLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoTaskInstanceTokenLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoTaskInstanceTokenLocalService.java deleted file mode 100644 index 26d01bf1..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoTaskInstanceTokenLocalService.java +++ /dev/null @@ -1,261 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for KaleoTaskInstanceToken. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author 3FC - * @see KaleoTaskInstanceTokenLocalServiceUtil - * @see it.tref.liferay.portos.importazione.service.base.KaleoTaskInstanceTokenLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.KaleoTaskInstanceTokenLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface KaleoTaskInstanceTokenLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link KaleoTaskInstanceTokenLocalServiceUtil} to access the kaleo task instance token local service. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.KaleoTaskInstanceTokenLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the kaleo task instance token to the database. Also notifies the appropriate model listeners. - * - * @param kaleoTaskInstanceToken the kaleo task instance token - * @return the kaleo task instance token that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken addKaleoTaskInstanceToken( - it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken kaleoTaskInstanceToken) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new kaleo task instance token with the primary key. Does not add the kaleo task instance token to the database. - * - * @param kaleoTaskInstanceTokenId the primary key for the new kaleo task instance token - * @return the new kaleo task instance token - */ - public it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken createKaleoTaskInstanceToken( - long kaleoTaskInstanceTokenId); - - /** - * Deletes the kaleo task instance token with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoTaskInstanceTokenId the primary key of the kaleo task instance token - * @return the kaleo task instance token that was removed - * @throws PortalException if a kaleo task instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken deleteKaleoTaskInstanceToken( - long kaleoTaskInstanceTokenId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the kaleo task instance token from the database. Also notifies the appropriate model listeners. - * - * @param kaleoTaskInstanceToken the kaleo task instance token - * @return the kaleo task instance token that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken deleteKaleoTaskInstanceToken( - it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken kaleoTaskInstanceToken) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskInstanceTokenModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskInstanceTokenModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken fetchKaleoTaskInstanceToken( - long kaleoTaskInstanceTokenId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the kaleo task instance token with the primary key. - * - * @param kaleoTaskInstanceTokenId the primary key of the kaleo task instance token - * @return the kaleo task instance token - * @throws PortalException if a kaleo task instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken getKaleoTaskInstanceToken( - long kaleoTaskInstanceTokenId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the kaleo task instance tokens. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskInstanceTokenModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo task instance tokens - * @param end the upper bound of the range of kaleo task instance tokens (not inclusive) - * @return the range of kaleo task instance tokens - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getKaleoTaskInstanceTokens( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of kaleo task instance tokens. - * - * @return the number of kaleo task instance tokens - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getKaleoTaskInstanceTokensCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the kaleo task instance token in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param kaleoTaskInstanceToken the kaleo task instance token - * @return the kaleo task instance token that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken updateKaleoTaskInstanceToken( - it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken kaleoTaskInstanceToken) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken fetchByClassPk( - long classPK) - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoTaskInstanceTokenLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoTaskInstanceTokenLocalServiceClp.java deleted file mode 100644 index 9e51aad9..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoTaskInstanceTokenLocalServiceClp.java +++ /dev/null @@ -1,752 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author 3FC - * @generated - */ -public class KaleoTaskInstanceTokenLocalServiceClp - implements KaleoTaskInstanceTokenLocalService { - public KaleoTaskInstanceTokenLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addKaleoTaskInstanceToken"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken" - }; - - _methodName1 = "createKaleoTaskInstanceToken"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteKaleoTaskInstanceToken"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteKaleoTaskInstanceToken"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchKaleoTaskInstanceToken"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getKaleoTaskInstanceToken"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getKaleoTaskInstanceTokens"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getKaleoTaskInstanceTokensCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateKaleoTaskInstanceToken"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken" - }; - - _methodName16 = "getBeanIdentifier"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "setBeanIdentifier"; - - _methodParameterTypes17 = new String[] { "java.lang.String" }; - - _methodName19 = "fetchByClassPk"; - - _methodParameterTypes19 = new String[] { "long" }; - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken addKaleoTaskInstanceToken( - it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken kaleoTaskInstanceToken) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { - ClpSerializer.translateInput(kaleoTaskInstanceToken) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken createKaleoTaskInstanceToken( - long kaleoTaskInstanceTokenId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, - new Object[] { kaleoTaskInstanceTokenId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken deleteKaleoTaskInstanceToken( - long kaleoTaskInstanceTokenId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, - new Object[] { kaleoTaskInstanceTokenId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken deleteKaleoTaskInstanceToken( - it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken kaleoTaskInstanceToken) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { - ClpSerializer.translateInput(kaleoTaskInstanceToken) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken fetchKaleoTaskInstanceToken( - long kaleoTaskInstanceTokenId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, - new Object[] { kaleoTaskInstanceTokenId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken getKaleoTaskInstanceToken( - long kaleoTaskInstanceTokenId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, - new Object[] { kaleoTaskInstanceTokenId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getKaleoTaskInstanceTokens( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getKaleoTaskInstanceTokensCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken updateKaleoTaskInstanceToken( - it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken kaleoTaskInstanceToken) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { - ClpSerializer.translateInput(kaleoTaskInstanceToken) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken fetchByClassPk( - long classPK) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName19, - _methodParameterTypes19, new Object[] { classPK }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken)ClpSerializer.translateOutput(returnObj); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName19; - private String[] _methodParameterTypes19; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoTaskInstanceTokenLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoTaskInstanceTokenLocalServiceUtil.java deleted file mode 100644 index 7ec4f737..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoTaskInstanceTokenLocalServiceUtil.java +++ /dev/null @@ -1,316 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for KaleoTaskInstanceToken. This utility wraps - * {@link it.tref.liferay.portos.importazione.service.impl.KaleoTaskInstanceTokenLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author 3FC - * @see KaleoTaskInstanceTokenLocalService - * @see it.tref.liferay.portos.importazione.service.base.KaleoTaskInstanceTokenLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.KaleoTaskInstanceTokenLocalServiceImpl - * @generated - */ -public class KaleoTaskInstanceTokenLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.KaleoTaskInstanceTokenLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the kaleo task instance token to the database. Also notifies the appropriate model listeners. - * - * @param kaleoTaskInstanceToken the kaleo task instance token - * @return the kaleo task instance token that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken addKaleoTaskInstanceToken( - it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken kaleoTaskInstanceToken) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addKaleoTaskInstanceToken(kaleoTaskInstanceToken); - } - - /** - * Creates a new kaleo task instance token with the primary key. Does not add the kaleo task instance token to the database. - * - * @param kaleoTaskInstanceTokenId the primary key for the new kaleo task instance token - * @return the new kaleo task instance token - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken createKaleoTaskInstanceToken( - long kaleoTaskInstanceTokenId) { - return getService() - .createKaleoTaskInstanceToken(kaleoTaskInstanceTokenId); - } - - /** - * Deletes the kaleo task instance token with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoTaskInstanceTokenId the primary key of the kaleo task instance token - * @return the kaleo task instance token that was removed - * @throws PortalException if a kaleo task instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken deleteKaleoTaskInstanceToken( - long kaleoTaskInstanceTokenId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService() - .deleteKaleoTaskInstanceToken(kaleoTaskInstanceTokenId); - } - - /** - * Deletes the kaleo task instance token from the database. Also notifies the appropriate model listeners. - * - * @param kaleoTaskInstanceToken the kaleo task instance token - * @return the kaleo task instance token that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken deleteKaleoTaskInstanceToken( - it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken kaleoTaskInstanceToken) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteKaleoTaskInstanceToken(kaleoTaskInstanceToken); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskInstanceTokenModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskInstanceTokenModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken fetchKaleoTaskInstanceToken( - long kaleoTaskInstanceTokenId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchKaleoTaskInstanceToken(kaleoTaskInstanceTokenId); - } - - /** - * Returns the kaleo task instance token with the primary key. - * - * @param kaleoTaskInstanceTokenId the primary key of the kaleo task instance token - * @return the kaleo task instance token - * @throws PortalException if a kaleo task instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken getKaleoTaskInstanceToken( - long kaleoTaskInstanceTokenId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getKaleoTaskInstanceToken(kaleoTaskInstanceTokenId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the kaleo task instance tokens. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskInstanceTokenModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo task instance tokens - * @param end the upper bound of the range of kaleo task instance tokens (not inclusive) - * @return the range of kaleo task instance tokens - * @throws SystemException if a system exception occurred - */ - public static java.util.List getKaleoTaskInstanceTokens( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getKaleoTaskInstanceTokens(start, end); - } - - /** - * Returns the number of kaleo task instance tokens. - * - * @return the number of kaleo task instance tokens - * @throws SystemException if a system exception occurred - */ - public static int getKaleoTaskInstanceTokensCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getKaleoTaskInstanceTokensCount(); - } - - /** - * Updates the kaleo task instance token in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param kaleoTaskInstanceToken the kaleo task instance token - * @return the kaleo task instance token that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken updateKaleoTaskInstanceToken( - it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken kaleoTaskInstanceToken) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateKaleoTaskInstanceToken(kaleoTaskInstanceToken); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken fetchByClassPk( - long classPK) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchByClassPk(classPK); - } - - public static void clearService() { - _service = null; - } - - public static KaleoTaskInstanceTokenLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - KaleoTaskInstanceTokenLocalService.class.getName()); - - if (invokableLocalService instanceof KaleoTaskInstanceTokenLocalService) { - _service = (KaleoTaskInstanceTokenLocalService)invokableLocalService; - } - else { - _service = new KaleoTaskInstanceTokenLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(KaleoTaskInstanceTokenLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(KaleoTaskInstanceTokenLocalService service) { - } - - private static KaleoTaskInstanceTokenLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoTaskInstanceTokenLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoTaskInstanceTokenLocalServiceWrapper.java deleted file mode 100644 index 6680f2b2..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoTaskInstanceTokenLocalServiceWrapper.java +++ /dev/null @@ -1,327 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link KaleoTaskInstanceTokenLocalService}. - * - * @author 3FC - * @see KaleoTaskInstanceTokenLocalService - * @generated - */ -public class KaleoTaskInstanceTokenLocalServiceWrapper - implements KaleoTaskInstanceTokenLocalService, - ServiceWrapper { - public KaleoTaskInstanceTokenLocalServiceWrapper( - KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - _kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Adds the kaleo task instance token to the database. Also notifies the appropriate model listeners. - * - * @param kaleoTaskInstanceToken the kaleo task instance token - * @return the kaleo task instance token that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken addKaleoTaskInstanceToken( - it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken kaleoTaskInstanceToken) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskInstanceTokenLocalService.addKaleoTaskInstanceToken(kaleoTaskInstanceToken); - } - - /** - * Creates a new kaleo task instance token with the primary key. Does not add the kaleo task instance token to the database. - * - * @param kaleoTaskInstanceTokenId the primary key for the new kaleo task instance token - * @return the new kaleo task instance token - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken createKaleoTaskInstanceToken( - long kaleoTaskInstanceTokenId) { - return _kaleoTaskInstanceTokenLocalService.createKaleoTaskInstanceToken(kaleoTaskInstanceTokenId); - } - - /** - * Deletes the kaleo task instance token with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoTaskInstanceTokenId the primary key of the kaleo task instance token - * @return the kaleo task instance token that was removed - * @throws PortalException if a kaleo task instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken deleteKaleoTaskInstanceToken( - long kaleoTaskInstanceTokenId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskInstanceTokenLocalService.deleteKaleoTaskInstanceToken(kaleoTaskInstanceTokenId); - } - - /** - * Deletes the kaleo task instance token from the database. Also notifies the appropriate model listeners. - * - * @param kaleoTaskInstanceToken the kaleo task instance token - * @return the kaleo task instance token that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken deleteKaleoTaskInstanceToken( - it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken kaleoTaskInstanceToken) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskInstanceTokenLocalService.deleteKaleoTaskInstanceToken(kaleoTaskInstanceToken); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _kaleoTaskInstanceTokenLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskInstanceTokenLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskInstanceTokenModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskInstanceTokenLocalService.dynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskInstanceTokenModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskInstanceTokenLocalService.dynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskInstanceTokenLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskInstanceTokenLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken fetchKaleoTaskInstanceToken( - long kaleoTaskInstanceTokenId) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskInstanceTokenLocalService.fetchKaleoTaskInstanceToken(kaleoTaskInstanceTokenId); - } - - /** - * Returns the kaleo task instance token with the primary key. - * - * @param kaleoTaskInstanceTokenId the primary key of the kaleo task instance token - * @return the kaleo task instance token - * @throws PortalException if a kaleo task instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken getKaleoTaskInstanceToken( - long kaleoTaskInstanceTokenId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskInstanceTokenLocalService.getKaleoTaskInstanceToken(kaleoTaskInstanceTokenId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskInstanceTokenLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the kaleo task instance tokens. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskInstanceTokenModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo task instance tokens - * @param end the upper bound of the range of kaleo task instance tokens (not inclusive) - * @return the range of kaleo task instance tokens - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getKaleoTaskInstanceTokens( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskInstanceTokenLocalService.getKaleoTaskInstanceTokens(start, - end); - } - - /** - * Returns the number of kaleo task instance tokens. - * - * @return the number of kaleo task instance tokens - * @throws SystemException if a system exception occurred - */ - @Override - public int getKaleoTaskInstanceTokensCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskInstanceTokenLocalService.getKaleoTaskInstanceTokensCount(); - } - - /** - * Updates the kaleo task instance token in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param kaleoTaskInstanceToken the kaleo task instance token - * @return the kaleo task instance token that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken updateKaleoTaskInstanceToken( - it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken kaleoTaskInstanceToken) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskInstanceTokenLocalService.updateKaleoTaskInstanceToken(kaleoTaskInstanceToken); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _kaleoTaskInstanceTokenLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _kaleoTaskInstanceTokenLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _kaleoTaskInstanceTokenLocalService.invokeMethod(name, - parameterTypes, arguments); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken fetchByClassPk( - long classPK) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskInstanceTokenLocalService.fetchByClassPk(classPK); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public KaleoTaskInstanceTokenLocalService getWrappedKaleoTaskInstanceTokenLocalService() { - return _kaleoTaskInstanceTokenLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedKaleoTaskInstanceTokenLocalService( - KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - _kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - @Override - public KaleoTaskInstanceTokenLocalService getWrappedService() { - return _kaleoTaskInstanceTokenLocalService; - } - - @Override - public void setWrappedService( - KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - _kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - private KaleoTaskInstanceTokenLocalService _kaleoTaskInstanceTokenLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoTaskLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoTaskLocalService.java deleted file mode 100644 index e307620b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoTaskLocalService.java +++ /dev/null @@ -1,256 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for KaleoTask. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author 3FC - * @see KaleoTaskLocalServiceUtil - * @see it.tref.liferay.portos.importazione.service.base.KaleoTaskLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.KaleoTaskLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface KaleoTaskLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link KaleoTaskLocalServiceUtil} to access the kaleo task local service. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.KaleoTaskLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the kaleo task to the database. Also notifies the appropriate model listeners. - * - * @param kaleoTask the kaleo task - * @return the kaleo task that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.KaleoTask addKaleoTask( - it.tref.liferay.portos.importazione.model.KaleoTask kaleoTask) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new kaleo task with the primary key. Does not add the kaleo task to the database. - * - * @param kaleoTaskId the primary key for the new kaleo task - * @return the new kaleo task - */ - public it.tref.liferay.portos.importazione.model.KaleoTask createKaleoTask( - long kaleoTaskId); - - /** - * Deletes the kaleo task with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoTaskId the primary key of the kaleo task - * @return the kaleo task that was removed - * @throws PortalException if a kaleo task with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.KaleoTask deleteKaleoTask( - long kaleoTaskId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the kaleo task from the database. Also notifies the appropriate model listeners. - * - * @param kaleoTask the kaleo task - * @return the kaleo task that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.KaleoTask deleteKaleoTask( - it.tref.liferay.portos.importazione.model.KaleoTask kaleoTask) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.KaleoTask fetchKaleoTask( - long kaleoTaskId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the kaleo task with the primary key. - * - * @param kaleoTaskId the primary key of the kaleo task - * @return the kaleo task - * @throws PortalException if a kaleo task with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.KaleoTask getKaleoTask( - long kaleoTaskId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the kaleo tasks. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo tasks - * @param end the upper bound of the range of kaleo tasks (not inclusive) - * @return the range of kaleo tasks - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getKaleoTasks( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of kaleo tasks. - * - * @return the number of kaleo tasks - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getKaleoTasksCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the kaleo task in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param kaleoTask the kaleo task - * @return the kaleo task that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.KaleoTask updateKaleoTask( - it.tref.liferay.portos.importazione.model.KaleoTask kaleoTask) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoTaskLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoTaskLocalServiceClp.java deleted file mode 100644 index dd702d2d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoTaskLocalServiceClp.java +++ /dev/null @@ -1,705 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author 3FC - * @generated - */ -public class KaleoTaskLocalServiceClp implements KaleoTaskLocalService { - public KaleoTaskLocalServiceClp(InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addKaleoTask"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoTask" - }; - - _methodName1 = "createKaleoTask"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteKaleoTask"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteKaleoTask"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoTask" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchKaleoTask"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getKaleoTask"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getKaleoTasks"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getKaleoTasksCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateKaleoTask"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoTask" - }; - - _methodName16 = "getBeanIdentifier"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "setBeanIdentifier"; - - _methodParameterTypes17 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTask addKaleoTask( - it.tref.liferay.portos.importazione.model.KaleoTask kaleoTask) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(kaleoTask) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoTask)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTask createKaleoTask( - long kaleoTaskId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { kaleoTaskId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoTask)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTask deleteKaleoTask( - long kaleoTaskId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { kaleoTaskId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoTask)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTask deleteKaleoTask( - it.tref.liferay.portos.importazione.model.KaleoTask kaleoTask) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(kaleoTask) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoTask)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTask fetchKaleoTask( - long kaleoTaskId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { kaleoTaskId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoTask)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTask getKaleoTask( - long kaleoTaskId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, new Object[] { kaleoTaskId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoTask)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getKaleoTasks( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getKaleoTasksCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTask updateKaleoTask( - it.tref.liferay.portos.importazione.model.KaleoTask kaleoTask) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(kaleoTask) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.KaleoTask)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoTaskLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoTaskLocalServiceUtil.java deleted file mode 100644 index 255a4b0b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoTaskLocalServiceUtil.java +++ /dev/null @@ -1,308 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for KaleoTask. This utility wraps - * {@link it.tref.liferay.portos.importazione.service.impl.KaleoTaskLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author 3FC - * @see KaleoTaskLocalService - * @see it.tref.liferay.portos.importazione.service.base.KaleoTaskLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.KaleoTaskLocalServiceImpl - * @generated - */ -public class KaleoTaskLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.KaleoTaskLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the kaleo task to the database. Also notifies the appropriate model listeners. - * - * @param kaleoTask the kaleo task - * @return the kaleo task that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTask addKaleoTask( - it.tref.liferay.portos.importazione.model.KaleoTask kaleoTask) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addKaleoTask(kaleoTask); - } - - /** - * Creates a new kaleo task with the primary key. Does not add the kaleo task to the database. - * - * @param kaleoTaskId the primary key for the new kaleo task - * @return the new kaleo task - */ - public static it.tref.liferay.portos.importazione.model.KaleoTask createKaleoTask( - long kaleoTaskId) { - return getService().createKaleoTask(kaleoTaskId); - } - - /** - * Deletes the kaleo task with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoTaskId the primary key of the kaleo task - * @return the kaleo task that was removed - * @throws PortalException if a kaleo task with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTask deleteKaleoTask( - long kaleoTaskId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteKaleoTask(kaleoTaskId); - } - - /** - * Deletes the kaleo task from the database. Also notifies the appropriate model listeners. - * - * @param kaleoTask the kaleo task - * @return the kaleo task that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTask deleteKaleoTask( - it.tref.liferay.portos.importazione.model.KaleoTask kaleoTask) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteKaleoTask(kaleoTask); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.importazione.model.KaleoTask fetchKaleoTask( - long kaleoTaskId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchKaleoTask(kaleoTaskId); - } - - /** - * Returns the kaleo task with the primary key. - * - * @param kaleoTaskId the primary key of the kaleo task - * @return the kaleo task - * @throws PortalException if a kaleo task with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTask getKaleoTask( - long kaleoTaskId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getKaleoTask(kaleoTaskId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the kaleo tasks. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo tasks - * @param end the upper bound of the range of kaleo tasks (not inclusive) - * @return the range of kaleo tasks - * @throws SystemException if a system exception occurred - */ - public static java.util.List getKaleoTasks( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getKaleoTasks(start, end); - } - - /** - * Returns the number of kaleo tasks. - * - * @return the number of kaleo tasks - * @throws SystemException if a system exception occurred - */ - public static int getKaleoTasksCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getKaleoTasksCount(); - } - - /** - * Updates the kaleo task in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param kaleoTask the kaleo task - * @return the kaleo task that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTask updateKaleoTask( - it.tref.liferay.portos.importazione.model.KaleoTask kaleoTask) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateKaleoTask(kaleoTask); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static KaleoTaskLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - KaleoTaskLocalService.class.getName()); - - if (invokableLocalService instanceof KaleoTaskLocalService) { - _service = (KaleoTaskLocalService)invokableLocalService; - } - else { - _service = new KaleoTaskLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(KaleoTaskLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(KaleoTaskLocalService service) { - } - - private static KaleoTaskLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoTaskLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoTaskLocalServiceWrapper.java deleted file mode 100644 index 3d4a39f1..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/KaleoTaskLocalServiceWrapper.java +++ /dev/null @@ -1,315 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link KaleoTaskLocalService}. - * - * @author 3FC - * @see KaleoTaskLocalService - * @generated - */ -public class KaleoTaskLocalServiceWrapper implements KaleoTaskLocalService, - ServiceWrapper { - public KaleoTaskLocalServiceWrapper( - KaleoTaskLocalService kaleoTaskLocalService) { - _kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Adds the kaleo task to the database. Also notifies the appropriate model listeners. - * - * @param kaleoTask the kaleo task - * @return the kaleo task that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoTask addKaleoTask( - it.tref.liferay.portos.importazione.model.KaleoTask kaleoTask) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskLocalService.addKaleoTask(kaleoTask); - } - - /** - * Creates a new kaleo task with the primary key. Does not add the kaleo task to the database. - * - * @param kaleoTaskId the primary key for the new kaleo task - * @return the new kaleo task - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoTask createKaleoTask( - long kaleoTaskId) { - return _kaleoTaskLocalService.createKaleoTask(kaleoTaskId); - } - - /** - * Deletes the kaleo task with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoTaskId the primary key of the kaleo task - * @return the kaleo task that was removed - * @throws PortalException if a kaleo task with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoTask deleteKaleoTask( - long kaleoTaskId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskLocalService.deleteKaleoTask(kaleoTaskId); - } - - /** - * Deletes the kaleo task from the database. Also notifies the appropriate model listeners. - * - * @param kaleoTask the kaleo task - * @return the kaleo task that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoTask deleteKaleoTask( - it.tref.liferay.portos.importazione.model.KaleoTask kaleoTask) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskLocalService.deleteKaleoTask(kaleoTask); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _kaleoTaskLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskLocalService.dynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskLocalService.dynamicQueryCount(dynamicQuery, projection); - } - - @Override - public it.tref.liferay.portos.importazione.model.KaleoTask fetchKaleoTask( - long kaleoTaskId) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskLocalService.fetchKaleoTask(kaleoTaskId); - } - - /** - * Returns the kaleo task with the primary key. - * - * @param kaleoTaskId the primary key of the kaleo task - * @return the kaleo task - * @throws PortalException if a kaleo task with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoTask getKaleoTask( - long kaleoTaskId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskLocalService.getKaleoTask(kaleoTaskId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the kaleo tasks. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo tasks - * @param end the upper bound of the range of kaleo tasks (not inclusive) - * @return the range of kaleo tasks - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getKaleoTasks( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskLocalService.getKaleoTasks(start, end); - } - - /** - * Returns the number of kaleo tasks. - * - * @return the number of kaleo tasks - * @throws SystemException if a system exception occurred - */ - @Override - public int getKaleoTasksCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskLocalService.getKaleoTasksCount(); - } - - /** - * Updates the kaleo task in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param kaleoTask the kaleo task - * @return the kaleo task that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.KaleoTask updateKaleoTask( - it.tref.liferay.portos.importazione.model.KaleoTask kaleoTask) - throws com.liferay.portal.kernel.exception.SystemException { - return _kaleoTaskLocalService.updateKaleoTask(kaleoTask); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _kaleoTaskLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _kaleoTaskLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _kaleoTaskLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public KaleoTaskLocalService getWrappedKaleoTaskLocalService() { - return _kaleoTaskLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedKaleoTaskLocalService( - KaleoTaskLocalService kaleoTaskLocalService) { - _kaleoTaskLocalService = kaleoTaskLocalService; - } - - @Override - public KaleoTaskLocalService getWrappedService() { - return _kaleoTaskLocalService; - } - - @Override - public void setWrappedService(KaleoTaskLocalService kaleoTaskLocalService) { - _kaleoTaskLocalService = kaleoTaskLocalService; - } - - private KaleoTaskLocalService _kaleoTaskLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldDLFileEntryLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldDLFileEntryLocalService.java deleted file mode 100644 index 6be8a851..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldDLFileEntryLocalService.java +++ /dev/null @@ -1,264 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for OldDLFileEntry. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author 3FC - * @see OldDLFileEntryLocalServiceUtil - * @see it.tref.liferay.portos.importazione.service.base.OldDLFileEntryLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.OldDLFileEntryLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface OldDLFileEntryLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link OldDLFileEntryLocalServiceUtil} to access the old d l file entry local service. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.OldDLFileEntryLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the old d l file entry to the database. Also notifies the appropriate model listeners. - * - * @param oldDLFileEntry the old d l file entry - * @return the old d l file entry that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.OldDLFileEntry addOldDLFileEntry( - it.tref.liferay.portos.importazione.model.OldDLFileEntry oldDLFileEntry) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new old d l file entry with the primary key. Does not add the old d l file entry to the database. - * - * @param fileEntryId the primary key for the new old d l file entry - * @return the new old d l file entry - */ - public it.tref.liferay.portos.importazione.model.OldDLFileEntry createOldDLFileEntry( - long fileEntryId); - - /** - * Deletes the old d l file entry with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param fileEntryId the primary key of the old d l file entry - * @return the old d l file entry that was removed - * @throws PortalException if a old d l file entry with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.OldDLFileEntry deleteOldDLFileEntry( - long fileEntryId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the old d l file entry from the database. Also notifies the appropriate model listeners. - * - * @param oldDLFileEntry the old d l file entry - * @return the old d l file entry that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.OldDLFileEntry deleteOldDLFileEntry( - it.tref.liferay.portos.importazione.model.OldDLFileEntry oldDLFileEntry) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.OldDLFileEntry fetchOldDLFileEntry( - long fileEntryId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the old d l file entry with the primary key. - * - * @param fileEntryId the primary key of the old d l file entry - * @return the old d l file entry - * @throws PortalException if a old d l file entry with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.OldDLFileEntry getOldDLFileEntry( - long fileEntryId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the old d l file entries. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old d l file entries - * @param end the upper bound of the range of old d l file entries (not inclusive) - * @return the range of old d l file entries - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getOldDLFileEntries( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of old d l file entries. - * - * @return the number of old d l file entries - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getOldDLFileEntriesCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the old d l file entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param oldDLFileEntry the old d l file entry - * @return the old d l file entry that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.OldDLFileEntry updateOldDLFileEntry( - it.tref.liferay.portos.importazione.model.OldDLFileEntry oldDLFileEntry) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; - - public java.util.List findByRepId_ParentId( - long repositoryId, long folderId) - throws com.liferay.portal.kernel.exception.SystemException; - - public java.util.List findByGroupId_FolderId( - long groupId, long folderId) - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldDLFileEntryLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldDLFileEntryLocalServiceClp.java deleted file mode 100644 index ff027bc8..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldDLFileEntryLocalServiceClp.java +++ /dev/null @@ -1,777 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author 3FC - * @generated - */ -public class OldDLFileEntryLocalServiceClp implements OldDLFileEntryLocalService { - public OldDLFileEntryLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addOldDLFileEntry"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.OldDLFileEntry" - }; - - _methodName1 = "createOldDLFileEntry"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteOldDLFileEntry"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteOldDLFileEntry"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.OldDLFileEntry" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchOldDLFileEntry"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getOldDLFileEntry"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getOldDLFileEntries"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getOldDLFileEntriesCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateOldDLFileEntry"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.OldDLFileEntry" - }; - - _methodName16 = "getBeanIdentifier"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "setBeanIdentifier"; - - _methodParameterTypes17 = new String[] { "java.lang.String" }; - - _methodName19 = "findByRepId_ParentId"; - - _methodParameterTypes19 = new String[] { "long", "long" }; - - _methodName20 = "findByGroupId_FolderId"; - - _methodParameterTypes20 = new String[] { "long", "long" }; - } - - @Override - public it.tref.liferay.portos.importazione.model.OldDLFileEntry addOldDLFileEntry( - it.tref.liferay.portos.importazione.model.OldDLFileEntry oldDLFileEntry) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(oldDLFileEntry) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldDLFileEntry)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldDLFileEntry createOldDLFileEntry( - long fileEntryId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { fileEntryId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldDLFileEntry)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldDLFileEntry deleteOldDLFileEntry( - long fileEntryId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { fileEntryId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldDLFileEntry)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldDLFileEntry deleteOldDLFileEntry( - it.tref.liferay.portos.importazione.model.OldDLFileEntry oldDLFileEntry) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(oldDLFileEntry) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldDLFileEntry)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldDLFileEntry fetchOldDLFileEntry( - long fileEntryId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { fileEntryId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldDLFileEntry)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldDLFileEntry getOldDLFileEntry( - long fileEntryId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, new Object[] { fileEntryId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldDLFileEntry)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getOldDLFileEntries( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getOldDLFileEntriesCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldDLFileEntry updateOldDLFileEntry( - it.tref.liferay.portos.importazione.model.OldDLFileEntry oldDLFileEntry) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(oldDLFileEntry) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldDLFileEntry)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - @Override - public java.util.List findByRepId_ParentId( - long repositoryId, long folderId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName19, - _methodParameterTypes19, - new Object[] { repositoryId, folderId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List findByGroupId_FolderId( - long groupId, long folderId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName20, - _methodParameterTypes20, new Object[] { groupId, folderId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName20; - private String[] _methodParameterTypes20; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldDLFileEntryLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldDLFileEntryLocalServiceUtil.java deleted file mode 100644 index eb90babd..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldDLFileEntryLocalServiceUtil.java +++ /dev/null @@ -1,320 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for OldDLFileEntry. This utility wraps - * {@link it.tref.liferay.portos.importazione.service.impl.OldDLFileEntryLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author 3FC - * @see OldDLFileEntryLocalService - * @see it.tref.liferay.portos.importazione.service.base.OldDLFileEntryLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.OldDLFileEntryLocalServiceImpl - * @generated - */ -public class OldDLFileEntryLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.OldDLFileEntryLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the old d l file entry to the database. Also notifies the appropriate model listeners. - * - * @param oldDLFileEntry the old d l file entry - * @return the old d l file entry that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldDLFileEntry addOldDLFileEntry( - it.tref.liferay.portos.importazione.model.OldDLFileEntry oldDLFileEntry) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addOldDLFileEntry(oldDLFileEntry); - } - - /** - * Creates a new old d l file entry with the primary key. Does not add the old d l file entry to the database. - * - * @param fileEntryId the primary key for the new old d l file entry - * @return the new old d l file entry - */ - public static it.tref.liferay.portos.importazione.model.OldDLFileEntry createOldDLFileEntry( - long fileEntryId) { - return getService().createOldDLFileEntry(fileEntryId); - } - - /** - * Deletes the old d l file entry with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param fileEntryId the primary key of the old d l file entry - * @return the old d l file entry that was removed - * @throws PortalException if a old d l file entry with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldDLFileEntry deleteOldDLFileEntry( - long fileEntryId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteOldDLFileEntry(fileEntryId); - } - - /** - * Deletes the old d l file entry from the database. Also notifies the appropriate model listeners. - * - * @param oldDLFileEntry the old d l file entry - * @return the old d l file entry that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldDLFileEntry deleteOldDLFileEntry( - it.tref.liferay.portos.importazione.model.OldDLFileEntry oldDLFileEntry) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteOldDLFileEntry(oldDLFileEntry); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.importazione.model.OldDLFileEntry fetchOldDLFileEntry( - long fileEntryId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchOldDLFileEntry(fileEntryId); - } - - /** - * Returns the old d l file entry with the primary key. - * - * @param fileEntryId the primary key of the old d l file entry - * @return the old d l file entry - * @throws PortalException if a old d l file entry with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldDLFileEntry getOldDLFileEntry( - long fileEntryId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getOldDLFileEntry(fileEntryId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the old d l file entries. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old d l file entries - * @param end the upper bound of the range of old d l file entries (not inclusive) - * @return the range of old d l file entries - * @throws SystemException if a system exception occurred - */ - public static java.util.List getOldDLFileEntries( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getOldDLFileEntries(start, end); - } - - /** - * Returns the number of old d l file entries. - * - * @return the number of old d l file entries - * @throws SystemException if a system exception occurred - */ - public static int getOldDLFileEntriesCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getOldDLFileEntriesCount(); - } - - /** - * Updates the old d l file entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param oldDLFileEntry the old d l file entry - * @return the old d l file entry that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldDLFileEntry updateOldDLFileEntry( - it.tref.liferay.portos.importazione.model.OldDLFileEntry oldDLFileEntry) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateOldDLFileEntry(oldDLFileEntry); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static java.util.List findByRepId_ParentId( - long repositoryId, long folderId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().findByRepId_ParentId(repositoryId, folderId); - } - - public static java.util.List findByGroupId_FolderId( - long groupId, long folderId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().findByGroupId_FolderId(groupId, folderId); - } - - public static void clearService() { - _service = null; - } - - public static OldDLFileEntryLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - OldDLFileEntryLocalService.class.getName()); - - if (invokableLocalService instanceof OldDLFileEntryLocalService) { - _service = (OldDLFileEntryLocalService)invokableLocalService; - } - else { - _service = new OldDLFileEntryLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(OldDLFileEntryLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(OldDLFileEntryLocalService service) { - } - - private static OldDLFileEntryLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldDLFileEntryLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldDLFileEntryLocalServiceWrapper.java deleted file mode 100644 index cd223041..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldDLFileEntryLocalServiceWrapper.java +++ /dev/null @@ -1,334 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link OldDLFileEntryLocalService}. - * - * @author 3FC - * @see OldDLFileEntryLocalService - * @generated - */ -public class OldDLFileEntryLocalServiceWrapper - implements OldDLFileEntryLocalService, - ServiceWrapper { - public OldDLFileEntryLocalServiceWrapper( - OldDLFileEntryLocalService oldDLFileEntryLocalService) { - _oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Adds the old d l file entry to the database. Also notifies the appropriate model listeners. - * - * @param oldDLFileEntry the old d l file entry - * @return the old d l file entry that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.OldDLFileEntry addOldDLFileEntry( - it.tref.liferay.portos.importazione.model.OldDLFileEntry oldDLFileEntry) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldDLFileEntryLocalService.addOldDLFileEntry(oldDLFileEntry); - } - - /** - * Creates a new old d l file entry with the primary key. Does not add the old d l file entry to the database. - * - * @param fileEntryId the primary key for the new old d l file entry - * @return the new old d l file entry - */ - @Override - public it.tref.liferay.portos.importazione.model.OldDLFileEntry createOldDLFileEntry( - long fileEntryId) { - return _oldDLFileEntryLocalService.createOldDLFileEntry(fileEntryId); - } - - /** - * Deletes the old d l file entry with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param fileEntryId the primary key of the old d l file entry - * @return the old d l file entry that was removed - * @throws PortalException if a old d l file entry with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.OldDLFileEntry deleteOldDLFileEntry( - long fileEntryId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _oldDLFileEntryLocalService.deleteOldDLFileEntry(fileEntryId); - } - - /** - * Deletes the old d l file entry from the database. Also notifies the appropriate model listeners. - * - * @param oldDLFileEntry the old d l file entry - * @return the old d l file entry that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.OldDLFileEntry deleteOldDLFileEntry( - it.tref.liferay.portos.importazione.model.OldDLFileEntry oldDLFileEntry) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldDLFileEntryLocalService.deleteOldDLFileEntry(oldDLFileEntry); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _oldDLFileEntryLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldDLFileEntryLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _oldDLFileEntryLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldDLFileEntryLocalService.dynamicQuery(dynamicQuery, start, - end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldDLFileEntryLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldDLFileEntryLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldDLFileEntry fetchOldDLFileEntry( - long fileEntryId) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldDLFileEntryLocalService.fetchOldDLFileEntry(fileEntryId); - } - - /** - * Returns the old d l file entry with the primary key. - * - * @param fileEntryId the primary key of the old d l file entry - * @return the old d l file entry - * @throws PortalException if a old d l file entry with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.OldDLFileEntry getOldDLFileEntry( - long fileEntryId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _oldDLFileEntryLocalService.getOldDLFileEntry(fileEntryId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _oldDLFileEntryLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the old d l file entries. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old d l file entries - * @param end the upper bound of the range of old d l file entries (not inclusive) - * @return the range of old d l file entries - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getOldDLFileEntries( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldDLFileEntryLocalService.getOldDLFileEntries(start, end); - } - - /** - * Returns the number of old d l file entries. - * - * @return the number of old d l file entries - * @throws SystemException if a system exception occurred - */ - @Override - public int getOldDLFileEntriesCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _oldDLFileEntryLocalService.getOldDLFileEntriesCount(); - } - - /** - * Updates the old d l file entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param oldDLFileEntry the old d l file entry - * @return the old d l file entry that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.OldDLFileEntry updateOldDLFileEntry( - it.tref.liferay.portos.importazione.model.OldDLFileEntry oldDLFileEntry) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldDLFileEntryLocalService.updateOldDLFileEntry(oldDLFileEntry); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _oldDLFileEntryLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _oldDLFileEntryLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _oldDLFileEntryLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - @Override - public java.util.List findByRepId_ParentId( - long repositoryId, long folderId) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldDLFileEntryLocalService.findByRepId_ParentId(repositoryId, - folderId); - } - - @Override - public java.util.List findByGroupId_FolderId( - long groupId, long folderId) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldDLFileEntryLocalService.findByGroupId_FolderId(groupId, - folderId); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public OldDLFileEntryLocalService getWrappedOldDLFileEntryLocalService() { - return _oldDLFileEntryLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedOldDLFileEntryLocalService( - OldDLFileEntryLocalService oldDLFileEntryLocalService) { - _oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - @Override - public OldDLFileEntryLocalService getWrappedService() { - return _oldDLFileEntryLocalService; - } - - @Override - public void setWrappedService( - OldDLFileEntryLocalService oldDLFileEntryLocalService) { - _oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - private OldDLFileEntryLocalService _oldDLFileEntryLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldDLFolderLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldDLFolderLocalService.java deleted file mode 100644 index 77773783..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldDLFolderLocalService.java +++ /dev/null @@ -1,261 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for OldDLFolder. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author 3FC - * @see OldDLFolderLocalServiceUtil - * @see it.tref.liferay.portos.importazione.service.base.OldDLFolderLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.OldDLFolderLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface OldDLFolderLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link OldDLFolderLocalServiceUtil} to access the old d l folder local service. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.OldDLFolderLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the old d l folder to the database. Also notifies the appropriate model listeners. - * - * @param oldDLFolder the old d l folder - * @return the old d l folder that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.OldDLFolder addOldDLFolder( - it.tref.liferay.portos.importazione.model.OldDLFolder oldDLFolder) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new old d l folder with the primary key. Does not add the old d l folder to the database. - * - * @param folderId the primary key for the new old d l folder - * @return the new old d l folder - */ - public it.tref.liferay.portos.importazione.model.OldDLFolder createOldDLFolder( - long folderId); - - /** - * Deletes the old d l folder with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param folderId the primary key of the old d l folder - * @return the old d l folder that was removed - * @throws PortalException if a old d l folder with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.OldDLFolder deleteOldDLFolder( - long folderId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the old d l folder from the database. Also notifies the appropriate model listeners. - * - * @param oldDLFolder the old d l folder - * @return the old d l folder that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.OldDLFolder deleteOldDLFolder( - it.tref.liferay.portos.importazione.model.OldDLFolder oldDLFolder) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFolderModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFolderModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.OldDLFolder fetchOldDLFolder( - long folderId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the old d l folder with the primary key. - * - * @param folderId the primary key of the old d l folder - * @return the old d l folder - * @throws PortalException if a old d l folder with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.OldDLFolder getOldDLFolder( - long folderId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the old d l folders. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFolderModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old d l folders - * @param end the upper bound of the range of old d l folders (not inclusive) - * @return the range of old d l folders - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getOldDLFolders( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of old d l folders. - * - * @return the number of old d l folders - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getOldDLFoldersCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the old d l folder in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param oldDLFolder the old d l folder - * @return the old d l folder that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.OldDLFolder updateOldDLFolder( - it.tref.liferay.portos.importazione.model.OldDLFolder oldDLFolder) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.OldDLFolder fetchByRepId_ParentId_Name( - long repositoryId, long parentFolderId, java.lang.String name) - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldDLFolderLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldDLFolderLocalServiceClp.java deleted file mode 100644 index f8569e64..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldDLFolderLocalServiceClp.java +++ /dev/null @@ -1,750 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author 3FC - * @generated - */ -public class OldDLFolderLocalServiceClp implements OldDLFolderLocalService { - public OldDLFolderLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addOldDLFolder"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.OldDLFolder" - }; - - _methodName1 = "createOldDLFolder"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteOldDLFolder"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteOldDLFolder"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.OldDLFolder" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchOldDLFolder"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getOldDLFolder"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getOldDLFolders"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getOldDLFoldersCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateOldDLFolder"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.OldDLFolder" - }; - - _methodName16 = "getBeanIdentifier"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "setBeanIdentifier"; - - _methodParameterTypes17 = new String[] { "java.lang.String" }; - - _methodName19 = "fetchByRepId_ParentId_Name"; - - _methodParameterTypes19 = new String[] { - "long", "long", "java.lang.String" - }; - } - - @Override - public it.tref.liferay.portos.importazione.model.OldDLFolder addOldDLFolder( - it.tref.liferay.portos.importazione.model.OldDLFolder oldDLFolder) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(oldDLFolder) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldDLFolder)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldDLFolder createOldDLFolder( - long folderId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { folderId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldDLFolder)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldDLFolder deleteOldDLFolder( - long folderId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { folderId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldDLFolder)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldDLFolder deleteOldDLFolder( - it.tref.liferay.portos.importazione.model.OldDLFolder oldDLFolder) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(oldDLFolder) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldDLFolder)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldDLFolder fetchOldDLFolder( - long folderId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { folderId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldDLFolder)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldDLFolder getOldDLFolder( - long folderId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, new Object[] { folderId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldDLFolder)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getOldDLFolders( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getOldDLFoldersCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldDLFolder updateOldDLFolder( - it.tref.liferay.portos.importazione.model.OldDLFolder oldDLFolder) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(oldDLFolder) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldDLFolder)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldDLFolder fetchByRepId_ParentId_Name( - long repositoryId, long parentFolderId, java.lang.String name) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName19, - _methodParameterTypes19, - new Object[] { - repositoryId, - - parentFolderId, - - ClpSerializer.translateInput(name) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldDLFolder)ClpSerializer.translateOutput(returnObj); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName19; - private String[] _methodParameterTypes19; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldDLFolderLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldDLFolderLocalServiceUtil.java deleted file mode 100644 index 4a936999..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldDLFolderLocalServiceUtil.java +++ /dev/null @@ -1,316 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for OldDLFolder. This utility wraps - * {@link it.tref.liferay.portos.importazione.service.impl.OldDLFolderLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author 3FC - * @see OldDLFolderLocalService - * @see it.tref.liferay.portos.importazione.service.base.OldDLFolderLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.OldDLFolderLocalServiceImpl - * @generated - */ -public class OldDLFolderLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.OldDLFolderLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the old d l folder to the database. Also notifies the appropriate model listeners. - * - * @param oldDLFolder the old d l folder - * @return the old d l folder that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldDLFolder addOldDLFolder( - it.tref.liferay.portos.importazione.model.OldDLFolder oldDLFolder) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addOldDLFolder(oldDLFolder); - } - - /** - * Creates a new old d l folder with the primary key. Does not add the old d l folder to the database. - * - * @param folderId the primary key for the new old d l folder - * @return the new old d l folder - */ - public static it.tref.liferay.portos.importazione.model.OldDLFolder createOldDLFolder( - long folderId) { - return getService().createOldDLFolder(folderId); - } - - /** - * Deletes the old d l folder with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param folderId the primary key of the old d l folder - * @return the old d l folder that was removed - * @throws PortalException if a old d l folder with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldDLFolder deleteOldDLFolder( - long folderId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteOldDLFolder(folderId); - } - - /** - * Deletes the old d l folder from the database. Also notifies the appropriate model listeners. - * - * @param oldDLFolder the old d l folder - * @return the old d l folder that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldDLFolder deleteOldDLFolder( - it.tref.liferay.portos.importazione.model.OldDLFolder oldDLFolder) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteOldDLFolder(oldDLFolder); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFolderModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFolderModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.importazione.model.OldDLFolder fetchOldDLFolder( - long folderId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchOldDLFolder(folderId); - } - - /** - * Returns the old d l folder with the primary key. - * - * @param folderId the primary key of the old d l folder - * @return the old d l folder - * @throws PortalException if a old d l folder with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldDLFolder getOldDLFolder( - long folderId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getOldDLFolder(folderId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the old d l folders. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFolderModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old d l folders - * @param end the upper bound of the range of old d l folders (not inclusive) - * @return the range of old d l folders - * @throws SystemException if a system exception occurred - */ - public static java.util.List getOldDLFolders( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getOldDLFolders(start, end); - } - - /** - * Returns the number of old d l folders. - * - * @return the number of old d l folders - * @throws SystemException if a system exception occurred - */ - public static int getOldDLFoldersCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getOldDLFoldersCount(); - } - - /** - * Updates the old d l folder in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param oldDLFolder the old d l folder - * @return the old d l folder that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldDLFolder updateOldDLFolder( - it.tref.liferay.portos.importazione.model.OldDLFolder oldDLFolder) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateOldDLFolder(oldDLFolder); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static it.tref.liferay.portos.importazione.model.OldDLFolder fetchByRepId_ParentId_Name( - long repositoryId, long parentFolderId, java.lang.String name) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .fetchByRepId_ParentId_Name(repositoryId, parentFolderId, - name); - } - - public static void clearService() { - _service = null; - } - - public static OldDLFolderLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - OldDLFolderLocalService.class.getName()); - - if (invokableLocalService instanceof OldDLFolderLocalService) { - _service = (OldDLFolderLocalService)invokableLocalService; - } - else { - _service = new OldDLFolderLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(OldDLFolderLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(OldDLFolderLocalService service) { - } - - private static OldDLFolderLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldDLFolderLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldDLFolderLocalServiceWrapper.java deleted file mode 100644 index 8e15d5d0..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldDLFolderLocalServiceWrapper.java +++ /dev/null @@ -1,325 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link OldDLFolderLocalService}. - * - * @author 3FC - * @see OldDLFolderLocalService - * @generated - */ -public class OldDLFolderLocalServiceWrapper implements OldDLFolderLocalService, - ServiceWrapper { - public OldDLFolderLocalServiceWrapper( - OldDLFolderLocalService oldDLFolderLocalService) { - _oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Adds the old d l folder to the database. Also notifies the appropriate model listeners. - * - * @param oldDLFolder the old d l folder - * @return the old d l folder that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.OldDLFolder addOldDLFolder( - it.tref.liferay.portos.importazione.model.OldDLFolder oldDLFolder) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldDLFolderLocalService.addOldDLFolder(oldDLFolder); - } - - /** - * Creates a new old d l folder with the primary key. Does not add the old d l folder to the database. - * - * @param folderId the primary key for the new old d l folder - * @return the new old d l folder - */ - @Override - public it.tref.liferay.portos.importazione.model.OldDLFolder createOldDLFolder( - long folderId) { - return _oldDLFolderLocalService.createOldDLFolder(folderId); - } - - /** - * Deletes the old d l folder with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param folderId the primary key of the old d l folder - * @return the old d l folder that was removed - * @throws PortalException if a old d l folder with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.OldDLFolder deleteOldDLFolder( - long folderId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _oldDLFolderLocalService.deleteOldDLFolder(folderId); - } - - /** - * Deletes the old d l folder from the database. Also notifies the appropriate model listeners. - * - * @param oldDLFolder the old d l folder - * @return the old d l folder that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.OldDLFolder deleteOldDLFolder( - it.tref.liferay.portos.importazione.model.OldDLFolder oldDLFolder) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldDLFolderLocalService.deleteOldDLFolder(oldDLFolder); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _oldDLFolderLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldDLFolderLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFolderModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _oldDLFolderLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFolderModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldDLFolderLocalService.dynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldDLFolderLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldDLFolderLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldDLFolder fetchOldDLFolder( - long folderId) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldDLFolderLocalService.fetchOldDLFolder(folderId); - } - - /** - * Returns the old d l folder with the primary key. - * - * @param folderId the primary key of the old d l folder - * @return the old d l folder - * @throws PortalException if a old d l folder with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.OldDLFolder getOldDLFolder( - long folderId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _oldDLFolderLocalService.getOldDLFolder(folderId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _oldDLFolderLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the old d l folders. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFolderModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old d l folders - * @param end the upper bound of the range of old d l folders (not inclusive) - * @return the range of old d l folders - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getOldDLFolders( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldDLFolderLocalService.getOldDLFolders(start, end); - } - - /** - * Returns the number of old d l folders. - * - * @return the number of old d l folders - * @throws SystemException if a system exception occurred - */ - @Override - public int getOldDLFoldersCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _oldDLFolderLocalService.getOldDLFoldersCount(); - } - - /** - * Updates the old d l folder in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param oldDLFolder the old d l folder - * @return the old d l folder that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.OldDLFolder updateOldDLFolder( - it.tref.liferay.portos.importazione.model.OldDLFolder oldDLFolder) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldDLFolderLocalService.updateOldDLFolder(oldDLFolder); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _oldDLFolderLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _oldDLFolderLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _oldDLFolderLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldDLFolder fetchByRepId_ParentId_Name( - long repositoryId, long parentFolderId, java.lang.String name) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldDLFolderLocalService.fetchByRepId_ParentId_Name(repositoryId, - parentFolderId, name); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public OldDLFolderLocalService getWrappedOldDLFolderLocalService() { - return _oldDLFolderLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedOldDLFolderLocalService( - OldDLFolderLocalService oldDLFolderLocalService) { - _oldDLFolderLocalService = oldDLFolderLocalService; - } - - @Override - public OldDLFolderLocalService getWrappedService() { - return _oldDLFolderLocalService; - } - - @Override - public void setWrappedService( - OldDLFolderLocalService oldDLFolderLocalService) { - _oldDLFolderLocalService = oldDLFolderLocalService; - } - - private OldDLFolderLocalService _oldDLFolderLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldGroupLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldGroupLocalService.java deleted file mode 100644 index 1c51b501..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldGroupLocalService.java +++ /dev/null @@ -1,256 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for OldGroup. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author 3FC - * @see OldGroupLocalServiceUtil - * @see it.tref.liferay.portos.importazione.service.base.OldGroupLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.OldGroupLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface OldGroupLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link OldGroupLocalServiceUtil} to access the old group local service. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.OldGroupLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the old group to the database. Also notifies the appropriate model listeners. - * - * @param oldGroup the old group - * @return the old group that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.OldGroup addOldGroup( - it.tref.liferay.portos.importazione.model.OldGroup oldGroup) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new old group with the primary key. Does not add the old group to the database. - * - * @param groupId the primary key for the new old group - * @return the new old group - */ - public it.tref.liferay.portos.importazione.model.OldGroup createOldGroup( - long groupId); - - /** - * Deletes the old group with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param groupId the primary key of the old group - * @return the old group that was removed - * @throws PortalException if a old group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.OldGroup deleteOldGroup( - long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the old group from the database. Also notifies the appropriate model listeners. - * - * @param oldGroup the old group - * @return the old group that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.OldGroup deleteOldGroup( - it.tref.liferay.portos.importazione.model.OldGroup oldGroup) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldGroupModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldGroupModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.OldGroup fetchOldGroup( - long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the old group with the primary key. - * - * @param groupId the primary key of the old group - * @return the old group - * @throws PortalException if a old group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.OldGroup getOldGroup( - long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the old groups. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldGroupModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old groups - * @param end the upper bound of the range of old groups (not inclusive) - * @return the range of old groups - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getOldGroups( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of old groups. - * - * @return the number of old groups - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getOldGroupsCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the old group in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param oldGroup the old group - * @return the old group that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.OldGroup updateOldGroup( - it.tref.liferay.portos.importazione.model.OldGroup oldGroup) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldGroupLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldGroupLocalServiceClp.java deleted file mode 100644 index 431ec8cf..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldGroupLocalServiceClp.java +++ /dev/null @@ -1,705 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author 3FC - * @generated - */ -public class OldGroupLocalServiceClp implements OldGroupLocalService { - public OldGroupLocalServiceClp(InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addOldGroup"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.OldGroup" - }; - - _methodName1 = "createOldGroup"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteOldGroup"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteOldGroup"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.OldGroup" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchOldGroup"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getOldGroup"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getOldGroups"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getOldGroupsCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateOldGroup"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.OldGroup" - }; - - _methodName16 = "getBeanIdentifier"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "setBeanIdentifier"; - - _methodParameterTypes17 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.importazione.model.OldGroup addOldGroup( - it.tref.liferay.portos.importazione.model.OldGroup oldGroup) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(oldGroup) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldGroup)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldGroup createOldGroup( - long groupId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldGroup)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldGroup deleteOldGroup( - long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldGroup)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldGroup deleteOldGroup( - it.tref.liferay.portos.importazione.model.OldGroup oldGroup) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(oldGroup) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldGroup)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldGroup fetchOldGroup( - long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldGroup)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldGroup getOldGroup( - long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, new Object[] { groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldGroup)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getOldGroups( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getOldGroupsCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldGroup updateOldGroup( - it.tref.liferay.portos.importazione.model.OldGroup oldGroup) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(oldGroup) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldGroup)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldGroupLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldGroupLocalServiceUtil.java deleted file mode 100644 index f219877c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldGroupLocalServiceUtil.java +++ /dev/null @@ -1,308 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for OldGroup. This utility wraps - * {@link it.tref.liferay.portos.importazione.service.impl.OldGroupLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author 3FC - * @see OldGroupLocalService - * @see it.tref.liferay.portos.importazione.service.base.OldGroupLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.OldGroupLocalServiceImpl - * @generated - */ -public class OldGroupLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.OldGroupLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the old group to the database. Also notifies the appropriate model listeners. - * - * @param oldGroup the old group - * @return the old group that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldGroup addOldGroup( - it.tref.liferay.portos.importazione.model.OldGroup oldGroup) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addOldGroup(oldGroup); - } - - /** - * Creates a new old group with the primary key. Does not add the old group to the database. - * - * @param groupId the primary key for the new old group - * @return the new old group - */ - public static it.tref.liferay.portos.importazione.model.OldGroup createOldGroup( - long groupId) { - return getService().createOldGroup(groupId); - } - - /** - * Deletes the old group with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param groupId the primary key of the old group - * @return the old group that was removed - * @throws PortalException if a old group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldGroup deleteOldGroup( - long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteOldGroup(groupId); - } - - /** - * Deletes the old group from the database. Also notifies the appropriate model listeners. - * - * @param oldGroup the old group - * @return the old group that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldGroup deleteOldGroup( - it.tref.liferay.portos.importazione.model.OldGroup oldGroup) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteOldGroup(oldGroup); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldGroupModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldGroupModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.importazione.model.OldGroup fetchOldGroup( - long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchOldGroup(groupId); - } - - /** - * Returns the old group with the primary key. - * - * @param groupId the primary key of the old group - * @return the old group - * @throws PortalException if a old group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldGroup getOldGroup( - long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getOldGroup(groupId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the old groups. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldGroupModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old groups - * @param end the upper bound of the range of old groups (not inclusive) - * @return the range of old groups - * @throws SystemException if a system exception occurred - */ - public static java.util.List getOldGroups( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getOldGroups(start, end); - } - - /** - * Returns the number of old groups. - * - * @return the number of old groups - * @throws SystemException if a system exception occurred - */ - public static int getOldGroupsCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getOldGroupsCount(); - } - - /** - * Updates the old group in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param oldGroup the old group - * @return the old group that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldGroup updateOldGroup( - it.tref.liferay.portos.importazione.model.OldGroup oldGroup) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateOldGroup(oldGroup); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static OldGroupLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - OldGroupLocalService.class.getName()); - - if (invokableLocalService instanceof OldGroupLocalService) { - _service = (OldGroupLocalService)invokableLocalService; - } - else { - _service = new OldGroupLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(OldGroupLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(OldGroupLocalService service) { - } - - private static OldGroupLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldGroupLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldGroupLocalServiceWrapper.java deleted file mode 100644 index a18037fb..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldGroupLocalServiceWrapper.java +++ /dev/null @@ -1,315 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link OldGroupLocalService}. - * - * @author 3FC - * @see OldGroupLocalService - * @generated - */ -public class OldGroupLocalServiceWrapper implements OldGroupLocalService, - ServiceWrapper { - public OldGroupLocalServiceWrapper( - OldGroupLocalService oldGroupLocalService) { - _oldGroupLocalService = oldGroupLocalService; - } - - /** - * Adds the old group to the database. Also notifies the appropriate model listeners. - * - * @param oldGroup the old group - * @return the old group that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.OldGroup addOldGroup( - it.tref.liferay.portos.importazione.model.OldGroup oldGroup) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldGroupLocalService.addOldGroup(oldGroup); - } - - /** - * Creates a new old group with the primary key. Does not add the old group to the database. - * - * @param groupId the primary key for the new old group - * @return the new old group - */ - @Override - public it.tref.liferay.portos.importazione.model.OldGroup createOldGroup( - long groupId) { - return _oldGroupLocalService.createOldGroup(groupId); - } - - /** - * Deletes the old group with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param groupId the primary key of the old group - * @return the old group that was removed - * @throws PortalException if a old group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.OldGroup deleteOldGroup( - long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _oldGroupLocalService.deleteOldGroup(groupId); - } - - /** - * Deletes the old group from the database. Also notifies the appropriate model listeners. - * - * @param oldGroup the old group - * @return the old group that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.OldGroup deleteOldGroup( - it.tref.liferay.portos.importazione.model.OldGroup oldGroup) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldGroupLocalService.deleteOldGroup(oldGroup); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _oldGroupLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldGroupLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldGroupModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _oldGroupLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldGroupModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldGroupLocalService.dynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldGroupLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldGroupLocalService.dynamicQueryCount(dynamicQuery, projection); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldGroup fetchOldGroup( - long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldGroupLocalService.fetchOldGroup(groupId); - } - - /** - * Returns the old group with the primary key. - * - * @param groupId the primary key of the old group - * @return the old group - * @throws PortalException if a old group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.OldGroup getOldGroup( - long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _oldGroupLocalService.getOldGroup(groupId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _oldGroupLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the old groups. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldGroupModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old groups - * @param end the upper bound of the range of old groups (not inclusive) - * @return the range of old groups - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getOldGroups( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldGroupLocalService.getOldGroups(start, end); - } - - /** - * Returns the number of old groups. - * - * @return the number of old groups - * @throws SystemException if a system exception occurred - */ - @Override - public int getOldGroupsCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _oldGroupLocalService.getOldGroupsCount(); - } - - /** - * Updates the old group in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param oldGroup the old group - * @return the old group that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.OldGroup updateOldGroup( - it.tref.liferay.portos.importazione.model.OldGroup oldGroup) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldGroupLocalService.updateOldGroup(oldGroup); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _oldGroupLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _oldGroupLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _oldGroupLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public OldGroupLocalService getWrappedOldGroupLocalService() { - return _oldGroupLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedOldGroupLocalService( - OldGroupLocalService oldGroupLocalService) { - _oldGroupLocalService = oldGroupLocalService; - } - - @Override - public OldGroupLocalService getWrappedService() { - return _oldGroupLocalService; - } - - @Override - public void setWrappedService(OldGroupLocalService oldGroupLocalService) { - _oldGroupLocalService = oldGroupLocalService; - } - - private OldGroupLocalService _oldGroupLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldOrganizationLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldOrganizationLocalService.java deleted file mode 100644 index c27ae2ab..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldOrganizationLocalService.java +++ /dev/null @@ -1,256 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for OldOrganization. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author 3FC - * @see OldOrganizationLocalServiceUtil - * @see it.tref.liferay.portos.importazione.service.base.OldOrganizationLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.OldOrganizationLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface OldOrganizationLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link OldOrganizationLocalServiceUtil} to access the old organization local service. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.OldOrganizationLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the old organization to the database. Also notifies the appropriate model listeners. - * - * @param oldOrganization the old organization - * @return the old organization that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.OldOrganization addOldOrganization( - it.tref.liferay.portos.importazione.model.OldOrganization oldOrganization) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new old organization with the primary key. Does not add the old organization to the database. - * - * @param organizationId the primary key for the new old organization - * @return the new old organization - */ - public it.tref.liferay.portos.importazione.model.OldOrganization createOldOrganization( - long organizationId); - - /** - * Deletes the old organization with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param organizationId the primary key of the old organization - * @return the old organization that was removed - * @throws PortalException if a old organization with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.OldOrganization deleteOldOrganization( - long organizationId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the old organization from the database. Also notifies the appropriate model listeners. - * - * @param oldOrganization the old organization - * @return the old organization that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.OldOrganization deleteOldOrganization( - it.tref.liferay.portos.importazione.model.OldOrganization oldOrganization) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldOrganizationModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldOrganizationModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.OldOrganization fetchOldOrganization( - long organizationId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the old organization with the primary key. - * - * @param organizationId the primary key of the old organization - * @return the old organization - * @throws PortalException if a old organization with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.OldOrganization getOldOrganization( - long organizationId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the old organizations. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldOrganizationModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old organizations - * @param end the upper bound of the range of old organizations (not inclusive) - * @return the range of old organizations - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getOldOrganizations( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of old organizations. - * - * @return the number of old organizations - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getOldOrganizationsCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the old organization in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param oldOrganization the old organization - * @return the old organization that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.OldOrganization updateOldOrganization( - it.tref.liferay.portos.importazione.model.OldOrganization oldOrganization) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldOrganizationLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldOrganizationLocalServiceClp.java deleted file mode 100644 index b4dd122f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldOrganizationLocalServiceClp.java +++ /dev/null @@ -1,707 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author 3FC - * @generated - */ -public class OldOrganizationLocalServiceClp - implements OldOrganizationLocalService { - public OldOrganizationLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addOldOrganization"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.OldOrganization" - }; - - _methodName1 = "createOldOrganization"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteOldOrganization"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteOldOrganization"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.OldOrganization" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchOldOrganization"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getOldOrganization"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getOldOrganizations"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getOldOrganizationsCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateOldOrganization"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.OldOrganization" - }; - - _methodName16 = "getBeanIdentifier"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "setBeanIdentifier"; - - _methodParameterTypes17 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.importazione.model.OldOrganization addOldOrganization( - it.tref.liferay.portos.importazione.model.OldOrganization oldOrganization) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(oldOrganization) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldOrganization)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldOrganization createOldOrganization( - long organizationId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { organizationId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldOrganization)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldOrganization deleteOldOrganization( - long organizationId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { organizationId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldOrganization)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldOrganization deleteOldOrganization( - it.tref.liferay.portos.importazione.model.OldOrganization oldOrganization) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(oldOrganization) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldOrganization)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldOrganization fetchOldOrganization( - long organizationId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { organizationId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldOrganization)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldOrganization getOldOrganization( - long organizationId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, new Object[] { organizationId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldOrganization)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getOldOrganizations( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getOldOrganizationsCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldOrganization updateOldOrganization( - it.tref.liferay.portos.importazione.model.OldOrganization oldOrganization) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(oldOrganization) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldOrganization)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldOrganizationLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldOrganizationLocalServiceUtil.java deleted file mode 100644 index 36ee5f54..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldOrganizationLocalServiceUtil.java +++ /dev/null @@ -1,308 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for OldOrganization. This utility wraps - * {@link it.tref.liferay.portos.importazione.service.impl.OldOrganizationLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author 3FC - * @see OldOrganizationLocalService - * @see it.tref.liferay.portos.importazione.service.base.OldOrganizationLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.OldOrganizationLocalServiceImpl - * @generated - */ -public class OldOrganizationLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.OldOrganizationLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the old organization to the database. Also notifies the appropriate model listeners. - * - * @param oldOrganization the old organization - * @return the old organization that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldOrganization addOldOrganization( - it.tref.liferay.portos.importazione.model.OldOrganization oldOrganization) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addOldOrganization(oldOrganization); - } - - /** - * Creates a new old organization with the primary key. Does not add the old organization to the database. - * - * @param organizationId the primary key for the new old organization - * @return the new old organization - */ - public static it.tref.liferay.portos.importazione.model.OldOrganization createOldOrganization( - long organizationId) { - return getService().createOldOrganization(organizationId); - } - - /** - * Deletes the old organization with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param organizationId the primary key of the old organization - * @return the old organization that was removed - * @throws PortalException if a old organization with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldOrganization deleteOldOrganization( - long organizationId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteOldOrganization(organizationId); - } - - /** - * Deletes the old organization from the database. Also notifies the appropriate model listeners. - * - * @param oldOrganization the old organization - * @return the old organization that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldOrganization deleteOldOrganization( - it.tref.liferay.portos.importazione.model.OldOrganization oldOrganization) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteOldOrganization(oldOrganization); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldOrganizationModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldOrganizationModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.importazione.model.OldOrganization fetchOldOrganization( - long organizationId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchOldOrganization(organizationId); - } - - /** - * Returns the old organization with the primary key. - * - * @param organizationId the primary key of the old organization - * @return the old organization - * @throws PortalException if a old organization with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldOrganization getOldOrganization( - long organizationId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getOldOrganization(organizationId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the old organizations. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldOrganizationModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old organizations - * @param end the upper bound of the range of old organizations (not inclusive) - * @return the range of old organizations - * @throws SystemException if a system exception occurred - */ - public static java.util.List getOldOrganizations( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getOldOrganizations(start, end); - } - - /** - * Returns the number of old organizations. - * - * @return the number of old organizations - * @throws SystemException if a system exception occurred - */ - public static int getOldOrganizationsCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getOldOrganizationsCount(); - } - - /** - * Updates the old organization in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param oldOrganization the old organization - * @return the old organization that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldOrganization updateOldOrganization( - it.tref.liferay.portos.importazione.model.OldOrganization oldOrganization) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateOldOrganization(oldOrganization); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static OldOrganizationLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - OldOrganizationLocalService.class.getName()); - - if (invokableLocalService instanceof OldOrganizationLocalService) { - _service = (OldOrganizationLocalService)invokableLocalService; - } - else { - _service = new OldOrganizationLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(OldOrganizationLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(OldOrganizationLocalService service) { - } - - private static OldOrganizationLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldOrganizationLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldOrganizationLocalServiceWrapper.java deleted file mode 100644 index 421fc19a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldOrganizationLocalServiceWrapper.java +++ /dev/null @@ -1,319 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link OldOrganizationLocalService}. - * - * @author 3FC - * @see OldOrganizationLocalService - * @generated - */ -public class OldOrganizationLocalServiceWrapper - implements OldOrganizationLocalService, - ServiceWrapper { - public OldOrganizationLocalServiceWrapper( - OldOrganizationLocalService oldOrganizationLocalService) { - _oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Adds the old organization to the database. Also notifies the appropriate model listeners. - * - * @param oldOrganization the old organization - * @return the old organization that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.OldOrganization addOldOrganization( - it.tref.liferay.portos.importazione.model.OldOrganization oldOrganization) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldOrganizationLocalService.addOldOrganization(oldOrganization); - } - - /** - * Creates a new old organization with the primary key. Does not add the old organization to the database. - * - * @param organizationId the primary key for the new old organization - * @return the new old organization - */ - @Override - public it.tref.liferay.portos.importazione.model.OldOrganization createOldOrganization( - long organizationId) { - return _oldOrganizationLocalService.createOldOrganization(organizationId); - } - - /** - * Deletes the old organization with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param organizationId the primary key of the old organization - * @return the old organization that was removed - * @throws PortalException if a old organization with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.OldOrganization deleteOldOrganization( - long organizationId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _oldOrganizationLocalService.deleteOldOrganization(organizationId); - } - - /** - * Deletes the old organization from the database. Also notifies the appropriate model listeners. - * - * @param oldOrganization the old organization - * @return the old organization that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.OldOrganization deleteOldOrganization( - it.tref.liferay.portos.importazione.model.OldOrganization oldOrganization) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldOrganizationLocalService.deleteOldOrganization(oldOrganization); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _oldOrganizationLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldOrganizationLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldOrganizationModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _oldOrganizationLocalService.dynamicQuery(dynamicQuery, start, - end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldOrganizationModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldOrganizationLocalService.dynamicQuery(dynamicQuery, start, - end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldOrganizationLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldOrganizationLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldOrganization fetchOldOrganization( - long organizationId) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldOrganizationLocalService.fetchOldOrganization(organizationId); - } - - /** - * Returns the old organization with the primary key. - * - * @param organizationId the primary key of the old organization - * @return the old organization - * @throws PortalException if a old organization with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.OldOrganization getOldOrganization( - long organizationId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _oldOrganizationLocalService.getOldOrganization(organizationId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _oldOrganizationLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the old organizations. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldOrganizationModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old organizations - * @param end the upper bound of the range of old organizations (not inclusive) - * @return the range of old organizations - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getOldOrganizations( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldOrganizationLocalService.getOldOrganizations(start, end); - } - - /** - * Returns the number of old organizations. - * - * @return the number of old organizations - * @throws SystemException if a system exception occurred - */ - @Override - public int getOldOrganizationsCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _oldOrganizationLocalService.getOldOrganizationsCount(); - } - - /** - * Updates the old organization in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param oldOrganization the old organization - * @return the old organization that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.OldOrganization updateOldOrganization( - it.tref.liferay.portos.importazione.model.OldOrganization oldOrganization) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldOrganizationLocalService.updateOldOrganization(oldOrganization); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _oldOrganizationLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _oldOrganizationLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _oldOrganizationLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public OldOrganizationLocalService getWrappedOldOrganizationLocalService() { - return _oldOrganizationLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedOldOrganizationLocalService( - OldOrganizationLocalService oldOrganizationLocalService) { - _oldOrganizationLocalService = oldOrganizationLocalService; - } - - @Override - public OldOrganizationLocalService getWrappedService() { - return _oldOrganizationLocalService; - } - - @Override - public void setWrappedService( - OldOrganizationLocalService oldOrganizationLocalService) { - _oldOrganizationLocalService = oldOrganizationLocalService; - } - - private OldOrganizationLocalService _oldOrganizationLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldRoleLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldRoleLocalService.java deleted file mode 100644 index c696a6aa..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldRoleLocalService.java +++ /dev/null @@ -1,255 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for OldRole. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author 3FC - * @see OldRoleLocalServiceUtil - * @see it.tref.liferay.portos.importazione.service.base.OldRoleLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.OldRoleLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface OldRoleLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link OldRoleLocalServiceUtil} to access the old role local service. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.OldRoleLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the old role to the database. Also notifies the appropriate model listeners. - * - * @param oldRole the old role - * @return the old role that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.OldRole addOldRole( - it.tref.liferay.portos.importazione.model.OldRole oldRole) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new old role with the primary key. Does not add the old role to the database. - * - * @param roleId the primary key for the new old role - * @return the new old role - */ - public it.tref.liferay.portos.importazione.model.OldRole createOldRole( - long roleId); - - /** - * Deletes the old role with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param roleId the primary key of the old role - * @return the old role that was removed - * @throws PortalException if a old role with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.OldRole deleteOldRole( - long roleId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the old role from the database. Also notifies the appropriate model listeners. - * - * @param oldRole the old role - * @return the old role that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.OldRole deleteOldRole( - it.tref.liferay.portos.importazione.model.OldRole oldRole) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldRoleModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldRoleModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.OldRole fetchOldRole( - long roleId) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the old role with the primary key. - * - * @param roleId the primary key of the old role - * @return the old role - * @throws PortalException if a old role with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.OldRole getOldRole( - long roleId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the old roles. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldRoleModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old roles - * @param end the upper bound of the range of old roles (not inclusive) - * @return the range of old roles - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getOldRoles( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of old roles. - * - * @return the number of old roles - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getOldRolesCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the old role in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param oldRole the old role - * @return the old role that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.OldRole updateOldRole( - it.tref.liferay.portos.importazione.model.OldRole oldRole) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldRoleLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldRoleLocalServiceClp.java deleted file mode 100644 index 2ac25a39..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldRoleLocalServiceClp.java +++ /dev/null @@ -1,704 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author 3FC - * @generated - */ -public class OldRoleLocalServiceClp implements OldRoleLocalService { - public OldRoleLocalServiceClp(InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addOldRole"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.OldRole" - }; - - _methodName1 = "createOldRole"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteOldRole"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteOldRole"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.OldRole" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchOldRole"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getOldRole"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getOldRoles"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getOldRolesCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateOldRole"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.OldRole" - }; - - _methodName16 = "getBeanIdentifier"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "setBeanIdentifier"; - - _methodParameterTypes17 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.importazione.model.OldRole addOldRole( - it.tref.liferay.portos.importazione.model.OldRole oldRole) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(oldRole) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldRole)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldRole createOldRole( - long roleId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { roleId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldRole)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldRole deleteOldRole( - long roleId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { roleId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldRole)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldRole deleteOldRole( - it.tref.liferay.portos.importazione.model.OldRole oldRole) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(oldRole) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldRole)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldRole fetchOldRole( - long roleId) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { roleId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldRole)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldRole getOldRole( - long roleId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, new Object[] { roleId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldRole)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getOldRoles( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getOldRolesCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldRole updateOldRole( - it.tref.liferay.portos.importazione.model.OldRole oldRole) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(oldRole) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldRole)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldRoleLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldRoleLocalServiceUtil.java deleted file mode 100644 index b8fdc42c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldRoleLocalServiceUtil.java +++ /dev/null @@ -1,307 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for OldRole. This utility wraps - * {@link it.tref.liferay.portos.importazione.service.impl.OldRoleLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author 3FC - * @see OldRoleLocalService - * @see it.tref.liferay.portos.importazione.service.base.OldRoleLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.OldRoleLocalServiceImpl - * @generated - */ -public class OldRoleLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.OldRoleLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the old role to the database. Also notifies the appropriate model listeners. - * - * @param oldRole the old role - * @return the old role that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldRole addOldRole( - it.tref.liferay.portos.importazione.model.OldRole oldRole) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addOldRole(oldRole); - } - - /** - * Creates a new old role with the primary key. Does not add the old role to the database. - * - * @param roleId the primary key for the new old role - * @return the new old role - */ - public static it.tref.liferay.portos.importazione.model.OldRole createOldRole( - long roleId) { - return getService().createOldRole(roleId); - } - - /** - * Deletes the old role with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param roleId the primary key of the old role - * @return the old role that was removed - * @throws PortalException if a old role with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldRole deleteOldRole( - long roleId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteOldRole(roleId); - } - - /** - * Deletes the old role from the database. Also notifies the appropriate model listeners. - * - * @param oldRole the old role - * @return the old role that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldRole deleteOldRole( - it.tref.liferay.portos.importazione.model.OldRole oldRole) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteOldRole(oldRole); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldRoleModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldRoleModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.importazione.model.OldRole fetchOldRole( - long roleId) throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchOldRole(roleId); - } - - /** - * Returns the old role with the primary key. - * - * @param roleId the primary key of the old role - * @return the old role - * @throws PortalException if a old role with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldRole getOldRole( - long roleId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getOldRole(roleId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the old roles. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldRoleModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old roles - * @param end the upper bound of the range of old roles (not inclusive) - * @return the range of old roles - * @throws SystemException if a system exception occurred - */ - public static java.util.List getOldRoles( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getOldRoles(start, end); - } - - /** - * Returns the number of old roles. - * - * @return the number of old roles - * @throws SystemException if a system exception occurred - */ - public static int getOldRolesCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getOldRolesCount(); - } - - /** - * Updates the old role in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param oldRole the old role - * @return the old role that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldRole updateOldRole( - it.tref.liferay.portos.importazione.model.OldRole oldRole) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateOldRole(oldRole); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static OldRoleLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - OldRoleLocalService.class.getName()); - - if (invokableLocalService instanceof OldRoleLocalService) { - _service = (OldRoleLocalService)invokableLocalService; - } - else { - _service = new OldRoleLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(OldRoleLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(OldRoleLocalService service) { - } - - private static OldRoleLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldRoleLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldRoleLocalServiceWrapper.java deleted file mode 100644 index 8b274ee2..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldRoleLocalServiceWrapper.java +++ /dev/null @@ -1,312 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link OldRoleLocalService}. - * - * @author 3FC - * @see OldRoleLocalService - * @generated - */ -public class OldRoleLocalServiceWrapper implements OldRoleLocalService, - ServiceWrapper { - public OldRoleLocalServiceWrapper(OldRoleLocalService oldRoleLocalService) { - _oldRoleLocalService = oldRoleLocalService; - } - - /** - * Adds the old role to the database. Also notifies the appropriate model listeners. - * - * @param oldRole the old role - * @return the old role that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.OldRole addOldRole( - it.tref.liferay.portos.importazione.model.OldRole oldRole) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldRoleLocalService.addOldRole(oldRole); - } - - /** - * Creates a new old role with the primary key. Does not add the old role to the database. - * - * @param roleId the primary key for the new old role - * @return the new old role - */ - @Override - public it.tref.liferay.portos.importazione.model.OldRole createOldRole( - long roleId) { - return _oldRoleLocalService.createOldRole(roleId); - } - - /** - * Deletes the old role with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param roleId the primary key of the old role - * @return the old role that was removed - * @throws PortalException if a old role with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.OldRole deleteOldRole( - long roleId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _oldRoleLocalService.deleteOldRole(roleId); - } - - /** - * Deletes the old role from the database. Also notifies the appropriate model listeners. - * - * @param oldRole the old role - * @return the old role that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.OldRole deleteOldRole( - it.tref.liferay.portos.importazione.model.OldRole oldRole) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldRoleLocalService.deleteOldRole(oldRole); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _oldRoleLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldRoleLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldRoleModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _oldRoleLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldRoleModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldRoleLocalService.dynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldRoleLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldRoleLocalService.dynamicQueryCount(dynamicQuery, projection); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldRole fetchOldRole( - long roleId) throws com.liferay.portal.kernel.exception.SystemException { - return _oldRoleLocalService.fetchOldRole(roleId); - } - - /** - * Returns the old role with the primary key. - * - * @param roleId the primary key of the old role - * @return the old role - * @throws PortalException if a old role with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.OldRole getOldRole( - long roleId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _oldRoleLocalService.getOldRole(roleId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _oldRoleLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the old roles. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldRoleModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old roles - * @param end the upper bound of the range of old roles (not inclusive) - * @return the range of old roles - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getOldRoles( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldRoleLocalService.getOldRoles(start, end); - } - - /** - * Returns the number of old roles. - * - * @return the number of old roles - * @throws SystemException if a system exception occurred - */ - @Override - public int getOldRolesCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _oldRoleLocalService.getOldRolesCount(); - } - - /** - * Updates the old role in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param oldRole the old role - * @return the old role that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.OldRole updateOldRole( - it.tref.liferay.portos.importazione.model.OldRole oldRole) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldRoleLocalService.updateOldRole(oldRole); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _oldRoleLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _oldRoleLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _oldRoleLocalService.invokeMethod(name, parameterTypes, arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public OldRoleLocalService getWrappedOldRoleLocalService() { - return _oldRoleLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedOldRoleLocalService( - OldRoleLocalService oldRoleLocalService) { - _oldRoleLocalService = oldRoleLocalService; - } - - @Override - public OldRoleLocalService getWrappedService() { - return _oldRoleLocalService; - } - - @Override - public void setWrappedService(OldRoleLocalService oldRoleLocalService) { - _oldRoleLocalService = oldRoleLocalService; - } - - private OldRoleLocalService _oldRoleLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldUserGroupLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldUserGroupLocalService.java deleted file mode 100644 index da1f6ed6..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldUserGroupLocalService.java +++ /dev/null @@ -1,260 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for OldUserGroup. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author 3FC - * @see OldUserGroupLocalServiceUtil - * @see it.tref.liferay.portos.importazione.service.base.OldUserGroupLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.OldUserGroupLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface OldUserGroupLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link OldUserGroupLocalServiceUtil} to access the old user group local service. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.OldUserGroupLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the old user group to the database. Also notifies the appropriate model listeners. - * - * @param oldUserGroup the old user group - * @return the old user group that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.OldUserGroup addOldUserGroup( - it.tref.liferay.portos.importazione.model.OldUserGroup oldUserGroup) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new old user group with the primary key. Does not add the old user group to the database. - * - * @param userGroupId the primary key for the new old user group - * @return the new old user group - */ - public it.tref.liferay.portos.importazione.model.OldUserGroup createOldUserGroup( - long userGroupId); - - /** - * Deletes the old user group with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param userGroupId the primary key of the old user group - * @return the old user group that was removed - * @throws PortalException if a old user group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.OldUserGroup deleteOldUserGroup( - long userGroupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the old user group from the database. Also notifies the appropriate model listeners. - * - * @param oldUserGroup the old user group - * @return the old user group that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.OldUserGroup deleteOldUserGroup( - it.tref.liferay.portos.importazione.model.OldUserGroup oldUserGroup) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldUserGroupModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldUserGroupModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.OldUserGroup fetchOldUserGroup( - long userGroupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the old user group with the primary key. - * - * @param userGroupId the primary key of the old user group - * @return the old user group - * @throws PortalException if a old user group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.OldUserGroup getOldUserGroup( - long userGroupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the old user groups. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldUserGroupModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old user groups - * @param end the upper bound of the range of old user groups (not inclusive) - * @return the range of old user groups - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getOldUserGroups( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of old user groups. - * - * @return the number of old user groups - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getOldUserGroupsCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the old user group in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param oldUserGroup the old user group - * @return the old user group that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.OldUserGroup updateOldUserGroup( - it.tref.liferay.portos.importazione.model.OldUserGroup oldUserGroup) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getOldUserGroupByUserId( - long userId); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldUserGroupLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldUserGroupLocalServiceClp.java deleted file mode 100644 index fd7c9513..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldUserGroupLocalServiceClp.java +++ /dev/null @@ -1,736 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author 3FC - * @generated - */ -public class OldUserGroupLocalServiceClp implements OldUserGroupLocalService { - public OldUserGroupLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addOldUserGroup"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.OldUserGroup" - }; - - _methodName1 = "createOldUserGroup"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteOldUserGroup"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteOldUserGroup"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.OldUserGroup" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchOldUserGroup"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getOldUserGroup"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getOldUserGroups"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getOldUserGroupsCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateOldUserGroup"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.OldUserGroup" - }; - - _methodName16 = "getBeanIdentifier"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "setBeanIdentifier"; - - _methodParameterTypes17 = new String[] { "java.lang.String" }; - - _methodName19 = "getOldUserGroupByUserId"; - - _methodParameterTypes19 = new String[] { "long" }; - } - - @Override - public it.tref.liferay.portos.importazione.model.OldUserGroup addOldUserGroup( - it.tref.liferay.portos.importazione.model.OldUserGroup oldUserGroup) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(oldUserGroup) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldUserGroup)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldUserGroup createOldUserGroup( - long userGroupId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { userGroupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldUserGroup)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldUserGroup deleteOldUserGroup( - long userGroupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { userGroupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldUserGroup)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldUserGroup deleteOldUserGroup( - it.tref.liferay.portos.importazione.model.OldUserGroup oldUserGroup) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(oldUserGroup) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldUserGroup)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldUserGroup fetchOldUserGroup( - long userGroupId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { userGroupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldUserGroup)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldUserGroup getOldUserGroup( - long userGroupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, new Object[] { userGroupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldUserGroup)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getOldUserGroups( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getOldUserGroupsCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldUserGroup updateOldUserGroup( - it.tref.liferay.portos.importazione.model.OldUserGroup oldUserGroup) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(oldUserGroup) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldUserGroup)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - @Override - public java.util.List getOldUserGroupByUserId( - long userId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName19, - _methodParameterTypes19, new Object[] { userId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName19; - private String[] _methodParameterTypes19; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldUserGroupLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldUserGroupLocalServiceUtil.java deleted file mode 100644 index b9e9e137..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldUserGroupLocalServiceUtil.java +++ /dev/null @@ -1,313 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for OldUserGroup. This utility wraps - * {@link it.tref.liferay.portos.importazione.service.impl.OldUserGroupLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author 3FC - * @see OldUserGroupLocalService - * @see it.tref.liferay.portos.importazione.service.base.OldUserGroupLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.OldUserGroupLocalServiceImpl - * @generated - */ -public class OldUserGroupLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.OldUserGroupLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the old user group to the database. Also notifies the appropriate model listeners. - * - * @param oldUserGroup the old user group - * @return the old user group that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldUserGroup addOldUserGroup( - it.tref.liferay.portos.importazione.model.OldUserGroup oldUserGroup) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addOldUserGroup(oldUserGroup); - } - - /** - * Creates a new old user group with the primary key. Does not add the old user group to the database. - * - * @param userGroupId the primary key for the new old user group - * @return the new old user group - */ - public static it.tref.liferay.portos.importazione.model.OldUserGroup createOldUserGroup( - long userGroupId) { - return getService().createOldUserGroup(userGroupId); - } - - /** - * Deletes the old user group with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param userGroupId the primary key of the old user group - * @return the old user group that was removed - * @throws PortalException if a old user group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldUserGroup deleteOldUserGroup( - long userGroupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteOldUserGroup(userGroupId); - } - - /** - * Deletes the old user group from the database. Also notifies the appropriate model listeners. - * - * @param oldUserGroup the old user group - * @return the old user group that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldUserGroup deleteOldUserGroup( - it.tref.liferay.portos.importazione.model.OldUserGroup oldUserGroup) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteOldUserGroup(oldUserGroup); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldUserGroupModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldUserGroupModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.importazione.model.OldUserGroup fetchOldUserGroup( - long userGroupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchOldUserGroup(userGroupId); - } - - /** - * Returns the old user group with the primary key. - * - * @param userGroupId the primary key of the old user group - * @return the old user group - * @throws PortalException if a old user group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldUserGroup getOldUserGroup( - long userGroupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getOldUserGroup(userGroupId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the old user groups. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldUserGroupModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old user groups - * @param end the upper bound of the range of old user groups (not inclusive) - * @return the range of old user groups - * @throws SystemException if a system exception occurred - */ - public static java.util.List getOldUserGroups( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getOldUserGroups(start, end); - } - - /** - * Returns the number of old user groups. - * - * @return the number of old user groups - * @throws SystemException if a system exception occurred - */ - public static int getOldUserGroupsCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getOldUserGroupsCount(); - } - - /** - * Updates the old user group in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param oldUserGroup the old user group - * @return the old user group that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldUserGroup updateOldUserGroup( - it.tref.liferay.portos.importazione.model.OldUserGroup oldUserGroup) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateOldUserGroup(oldUserGroup); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static java.util.List getOldUserGroupByUserId( - long userId) { - return getService().getOldUserGroupByUserId(userId); - } - - public static void clearService() { - _service = null; - } - - public static OldUserGroupLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - OldUserGroupLocalService.class.getName()); - - if (invokableLocalService instanceof OldUserGroupLocalService) { - _service = (OldUserGroupLocalService)invokableLocalService; - } - else { - _service = new OldUserGroupLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(OldUserGroupLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(OldUserGroupLocalService service) { - } - - private static OldUserGroupLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldUserGroupLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldUserGroupLocalServiceWrapper.java deleted file mode 100644 index 241f252e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldUserGroupLocalServiceWrapper.java +++ /dev/null @@ -1,323 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link OldUserGroupLocalService}. - * - * @author 3FC - * @see OldUserGroupLocalService - * @generated - */ -public class OldUserGroupLocalServiceWrapper implements OldUserGroupLocalService, - ServiceWrapper { - public OldUserGroupLocalServiceWrapper( - OldUserGroupLocalService oldUserGroupLocalService) { - _oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Adds the old user group to the database. Also notifies the appropriate model listeners. - * - * @param oldUserGroup the old user group - * @return the old user group that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.OldUserGroup addOldUserGroup( - it.tref.liferay.portos.importazione.model.OldUserGroup oldUserGroup) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldUserGroupLocalService.addOldUserGroup(oldUserGroup); - } - - /** - * Creates a new old user group with the primary key. Does not add the old user group to the database. - * - * @param userGroupId the primary key for the new old user group - * @return the new old user group - */ - @Override - public it.tref.liferay.portos.importazione.model.OldUserGroup createOldUserGroup( - long userGroupId) { - return _oldUserGroupLocalService.createOldUserGroup(userGroupId); - } - - /** - * Deletes the old user group with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param userGroupId the primary key of the old user group - * @return the old user group that was removed - * @throws PortalException if a old user group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.OldUserGroup deleteOldUserGroup( - long userGroupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _oldUserGroupLocalService.deleteOldUserGroup(userGroupId); - } - - /** - * Deletes the old user group from the database. Also notifies the appropriate model listeners. - * - * @param oldUserGroup the old user group - * @return the old user group that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.OldUserGroup deleteOldUserGroup( - it.tref.liferay.portos.importazione.model.OldUserGroup oldUserGroup) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldUserGroupLocalService.deleteOldUserGroup(oldUserGroup); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _oldUserGroupLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldUserGroupLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldUserGroupModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _oldUserGroupLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldUserGroupModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldUserGroupLocalService.dynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldUserGroupLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldUserGroupLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldUserGroup fetchOldUserGroup( - long userGroupId) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldUserGroupLocalService.fetchOldUserGroup(userGroupId); - } - - /** - * Returns the old user group with the primary key. - * - * @param userGroupId the primary key of the old user group - * @return the old user group - * @throws PortalException if a old user group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.OldUserGroup getOldUserGroup( - long userGroupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _oldUserGroupLocalService.getOldUserGroup(userGroupId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _oldUserGroupLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the old user groups. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldUserGroupModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old user groups - * @param end the upper bound of the range of old user groups (not inclusive) - * @return the range of old user groups - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getOldUserGroups( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldUserGroupLocalService.getOldUserGroups(start, end); - } - - /** - * Returns the number of old user groups. - * - * @return the number of old user groups - * @throws SystemException if a system exception occurred - */ - @Override - public int getOldUserGroupsCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _oldUserGroupLocalService.getOldUserGroupsCount(); - } - - /** - * Updates the old user group in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param oldUserGroup the old user group - * @return the old user group that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.OldUserGroup updateOldUserGroup( - it.tref.liferay.portos.importazione.model.OldUserGroup oldUserGroup) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldUserGroupLocalService.updateOldUserGroup(oldUserGroup); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _oldUserGroupLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _oldUserGroupLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _oldUserGroupLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - @Override - public java.util.List getOldUserGroupByUserId( - long userId) { - return _oldUserGroupLocalService.getOldUserGroupByUserId(userId); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public OldUserGroupLocalService getWrappedOldUserGroupLocalService() { - return _oldUserGroupLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedOldUserGroupLocalService( - OldUserGroupLocalService oldUserGroupLocalService) { - _oldUserGroupLocalService = oldUserGroupLocalService; - } - - @Override - public OldUserGroupLocalService getWrappedService() { - return _oldUserGroupLocalService; - } - - @Override - public void setWrappedService( - OldUserGroupLocalService oldUserGroupLocalService) { - _oldUserGroupLocalService = oldUserGroupLocalService; - } - - private OldUserGroupLocalService _oldUserGroupLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldUserLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldUserLocalService.java deleted file mode 100644 index 6ac58e3e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldUserLocalService.java +++ /dev/null @@ -1,255 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for OldUser. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author 3FC - * @see OldUserLocalServiceUtil - * @see it.tref.liferay.portos.importazione.service.base.OldUserLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.OldUserLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface OldUserLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link OldUserLocalServiceUtil} to access the old user local service. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.OldUserLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the old user to the database. Also notifies the appropriate model listeners. - * - * @param oldUser the old user - * @return the old user that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.OldUser addOldUser( - it.tref.liferay.portos.importazione.model.OldUser oldUser) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new old user with the primary key. Does not add the old user to the database. - * - * @param userId the primary key for the new old user - * @return the new old user - */ - public it.tref.liferay.portos.importazione.model.OldUser createOldUser( - long userId); - - /** - * Deletes the old user with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param userId the primary key of the old user - * @return the old user that was removed - * @throws PortalException if a old user with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.OldUser deleteOldUser( - long userId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the old user from the database. Also notifies the appropriate model listeners. - * - * @param oldUser the old user - * @return the old user that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.OldUser deleteOldUser( - it.tref.liferay.portos.importazione.model.OldUser oldUser) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldUserModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldUserModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.OldUser fetchOldUser( - long userId) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the old user with the primary key. - * - * @param userId the primary key of the old user - * @return the old user - * @throws PortalException if a old user with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.OldUser getOldUser( - long userId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the old users. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldUserModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old users - * @param end the upper bound of the range of old users (not inclusive) - * @return the range of old users - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getOldUsers( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of old users. - * - * @return the number of old users - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getOldUsersCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the old user in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param oldUser the old user - * @return the old user that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.OldUser updateOldUser( - it.tref.liferay.portos.importazione.model.OldUser oldUser) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldUserLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldUserLocalServiceClp.java deleted file mode 100644 index 7b03c0bd..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldUserLocalServiceClp.java +++ /dev/null @@ -1,704 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author 3FC - * @generated - */ -public class OldUserLocalServiceClp implements OldUserLocalService { - public OldUserLocalServiceClp(InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addOldUser"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.OldUser" - }; - - _methodName1 = "createOldUser"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteOldUser"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteOldUser"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.OldUser" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchOldUser"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getOldUser"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getOldUsers"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getOldUsersCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateOldUser"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.OldUser" - }; - - _methodName16 = "getBeanIdentifier"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "setBeanIdentifier"; - - _methodParameterTypes17 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.importazione.model.OldUser addOldUser( - it.tref.liferay.portos.importazione.model.OldUser oldUser) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(oldUser) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldUser)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldUser createOldUser( - long userId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { userId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldUser)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldUser deleteOldUser( - long userId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { userId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldUser)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldUser deleteOldUser( - it.tref.liferay.portos.importazione.model.OldUser oldUser) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(oldUser) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldUser)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldUser fetchOldUser( - long userId) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { userId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldUser)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldUser getOldUser( - long userId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, new Object[] { userId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldUser)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getOldUsers( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getOldUsersCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldUser updateOldUser( - it.tref.liferay.portos.importazione.model.OldUser oldUser) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(oldUser) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.OldUser)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldUserLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldUserLocalServiceUtil.java deleted file mode 100644 index e1a68244..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldUserLocalServiceUtil.java +++ /dev/null @@ -1,307 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for OldUser. This utility wraps - * {@link it.tref.liferay.portos.importazione.service.impl.OldUserLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author 3FC - * @see OldUserLocalService - * @see it.tref.liferay.portos.importazione.service.base.OldUserLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.OldUserLocalServiceImpl - * @generated - */ -public class OldUserLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.OldUserLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the old user to the database. Also notifies the appropriate model listeners. - * - * @param oldUser the old user - * @return the old user that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldUser addOldUser( - it.tref.liferay.portos.importazione.model.OldUser oldUser) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addOldUser(oldUser); - } - - /** - * Creates a new old user with the primary key. Does not add the old user to the database. - * - * @param userId the primary key for the new old user - * @return the new old user - */ - public static it.tref.liferay.portos.importazione.model.OldUser createOldUser( - long userId) { - return getService().createOldUser(userId); - } - - /** - * Deletes the old user with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param userId the primary key of the old user - * @return the old user that was removed - * @throws PortalException if a old user with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldUser deleteOldUser( - long userId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteOldUser(userId); - } - - /** - * Deletes the old user from the database. Also notifies the appropriate model listeners. - * - * @param oldUser the old user - * @return the old user that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldUser deleteOldUser( - it.tref.liferay.portos.importazione.model.OldUser oldUser) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteOldUser(oldUser); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldUserModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldUserModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.importazione.model.OldUser fetchOldUser( - long userId) throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchOldUser(userId); - } - - /** - * Returns the old user with the primary key. - * - * @param userId the primary key of the old user - * @return the old user - * @throws PortalException if a old user with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldUser getOldUser( - long userId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getOldUser(userId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the old users. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldUserModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old users - * @param end the upper bound of the range of old users (not inclusive) - * @return the range of old users - * @throws SystemException if a system exception occurred - */ - public static java.util.List getOldUsers( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getOldUsers(start, end); - } - - /** - * Returns the number of old users. - * - * @return the number of old users - * @throws SystemException if a system exception occurred - */ - public static int getOldUsersCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getOldUsersCount(); - } - - /** - * Updates the old user in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param oldUser the old user - * @return the old user that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldUser updateOldUser( - it.tref.liferay.portos.importazione.model.OldUser oldUser) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateOldUser(oldUser); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static OldUserLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - OldUserLocalService.class.getName()); - - if (invokableLocalService instanceof OldUserLocalService) { - _service = (OldUserLocalService)invokableLocalService; - } - else { - _service = new OldUserLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(OldUserLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(OldUserLocalService service) { - } - - private static OldUserLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldUserLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldUserLocalServiceWrapper.java deleted file mode 100644 index 3aa4a2a7..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/OldUserLocalServiceWrapper.java +++ /dev/null @@ -1,312 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link OldUserLocalService}. - * - * @author 3FC - * @see OldUserLocalService - * @generated - */ -public class OldUserLocalServiceWrapper implements OldUserLocalService, - ServiceWrapper { - public OldUserLocalServiceWrapper(OldUserLocalService oldUserLocalService) { - _oldUserLocalService = oldUserLocalService; - } - - /** - * Adds the old user to the database. Also notifies the appropriate model listeners. - * - * @param oldUser the old user - * @return the old user that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.OldUser addOldUser( - it.tref.liferay.portos.importazione.model.OldUser oldUser) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldUserLocalService.addOldUser(oldUser); - } - - /** - * Creates a new old user with the primary key. Does not add the old user to the database. - * - * @param userId the primary key for the new old user - * @return the new old user - */ - @Override - public it.tref.liferay.portos.importazione.model.OldUser createOldUser( - long userId) { - return _oldUserLocalService.createOldUser(userId); - } - - /** - * Deletes the old user with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param userId the primary key of the old user - * @return the old user that was removed - * @throws PortalException if a old user with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.OldUser deleteOldUser( - long userId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _oldUserLocalService.deleteOldUser(userId); - } - - /** - * Deletes the old user from the database. Also notifies the appropriate model listeners. - * - * @param oldUser the old user - * @return the old user that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.OldUser deleteOldUser( - it.tref.liferay.portos.importazione.model.OldUser oldUser) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldUserLocalService.deleteOldUser(oldUser); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _oldUserLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldUserLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldUserModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _oldUserLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldUserModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldUserLocalService.dynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldUserLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldUserLocalService.dynamicQueryCount(dynamicQuery, projection); - } - - @Override - public it.tref.liferay.portos.importazione.model.OldUser fetchOldUser( - long userId) throws com.liferay.portal.kernel.exception.SystemException { - return _oldUserLocalService.fetchOldUser(userId); - } - - /** - * Returns the old user with the primary key. - * - * @param userId the primary key of the old user - * @return the old user - * @throws PortalException if a old user with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.OldUser getOldUser( - long userId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _oldUserLocalService.getOldUser(userId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _oldUserLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the old users. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldUserModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old users - * @param end the upper bound of the range of old users (not inclusive) - * @return the range of old users - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getOldUsers( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldUserLocalService.getOldUsers(start, end); - } - - /** - * Returns the number of old users. - * - * @return the number of old users - * @throws SystemException if a system exception occurred - */ - @Override - public int getOldUsersCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _oldUserLocalService.getOldUsersCount(); - } - - /** - * Updates the old user in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param oldUser the old user - * @return the old user that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.OldUser updateOldUser( - it.tref.liferay.portos.importazione.model.OldUser oldUser) - throws com.liferay.portal.kernel.exception.SystemException { - return _oldUserLocalService.updateOldUser(oldUser); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _oldUserLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _oldUserLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _oldUserLocalService.invokeMethod(name, parameterTypes, arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public OldUserLocalService getWrappedOldUserLocalService() { - return _oldUserLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedOldUserLocalService( - OldUserLocalService oldUserLocalService) { - _oldUserLocalService = oldUserLocalService; - } - - @Override - public OldUserLocalService getWrappedService() { - return _oldUserLocalService; - } - - @Override - public void setWrappedService(OldUserLocalService oldUserLocalService) { - _oldUserLocalService = oldUserLocalService; - } - - private OldUserLocalService _oldUserLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/ProceduraImportazioneLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/ProceduraImportazioneLocalService.java deleted file mode 100644 index 0ff4eb73..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/ProceduraImportazioneLocalService.java +++ /dev/null @@ -1,256 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for ProceduraImportazione. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author 3FC - * @see ProceduraImportazioneLocalServiceUtil - * @see it.tref.liferay.portos.importazione.service.base.ProceduraImportazioneLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.ProceduraImportazioneLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface ProceduraImportazioneLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link ProceduraImportazioneLocalServiceUtil} to access the procedura importazione local service. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.ProceduraImportazioneLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the procedura importazione to the database. Also notifies the appropriate model listeners. - * - * @param proceduraImportazione the procedura importazione - * @return the procedura importazione that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.ProceduraImportazione addProceduraImportazione( - it.tref.liferay.portos.importazione.model.ProceduraImportazione proceduraImportazione) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new procedura importazione with the primary key. Does not add the procedura importazione to the database. - * - * @param proceduraImportazioneId the primary key for the new procedura importazione - * @return the new procedura importazione - */ - public it.tref.liferay.portos.importazione.model.ProceduraImportazione createProceduraImportazione( - long proceduraImportazioneId); - - /** - * Deletes the procedura importazione with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param proceduraImportazioneId the primary key of the procedura importazione - * @return the procedura importazione that was removed - * @throws PortalException if a procedura importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.ProceduraImportazione deleteProceduraImportazione( - long proceduraImportazioneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the procedura importazione from the database. Also notifies the appropriate model listeners. - * - * @param proceduraImportazione the procedura importazione - * @return the procedura importazione that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.ProceduraImportazione deleteProceduraImportazione( - it.tref.liferay.portos.importazione.model.ProceduraImportazione proceduraImportazione) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.ProceduraImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.ProceduraImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.ProceduraImportazione fetchProceduraImportazione( - long proceduraImportazioneId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the procedura importazione with the primary key. - * - * @param proceduraImportazioneId the primary key of the procedura importazione - * @return the procedura importazione - * @throws PortalException if a procedura importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.ProceduraImportazione getProceduraImportazione( - long proceduraImportazioneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the procedura importaziones. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.ProceduraImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of procedura importaziones - * @param end the upper bound of the range of procedura importaziones (not inclusive) - * @return the range of procedura importaziones - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getProceduraImportaziones( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of procedura importaziones. - * - * @return the number of procedura importaziones - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getProceduraImportazionesCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the procedura importazione in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param proceduraImportazione the procedura importazione - * @return the procedura importazione that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.ProceduraImportazione updateProceduraImportazione( - it.tref.liferay.portos.importazione.model.ProceduraImportazione proceduraImportazione) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/ProceduraImportazioneLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/ProceduraImportazioneLocalServiceClp.java deleted file mode 100644 index 3854db0d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/ProceduraImportazioneLocalServiceClp.java +++ /dev/null @@ -1,717 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author 3FC - * @generated - */ -public class ProceduraImportazioneLocalServiceClp - implements ProceduraImportazioneLocalService { - public ProceduraImportazioneLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addProceduraImportazione"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.ProceduraImportazione" - }; - - _methodName1 = "createProceduraImportazione"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteProceduraImportazione"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteProceduraImportazione"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.ProceduraImportazione" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchProceduraImportazione"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getProceduraImportazione"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getProceduraImportaziones"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getProceduraImportazionesCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateProceduraImportazione"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.ProceduraImportazione" - }; - - _methodName16 = "getBeanIdentifier"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "setBeanIdentifier"; - - _methodParameterTypes17 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.importazione.model.ProceduraImportazione addProceduraImportazione( - it.tref.liferay.portos.importazione.model.ProceduraImportazione proceduraImportazione) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { - ClpSerializer.translateInput(proceduraImportazione) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.ProceduraImportazione)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.ProceduraImportazione createProceduraImportazione( - long proceduraImportazioneId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, - new Object[] { proceduraImportazioneId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.ProceduraImportazione)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.ProceduraImportazione deleteProceduraImportazione( - long proceduraImportazioneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, - new Object[] { proceduraImportazioneId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.ProceduraImportazione)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.ProceduraImportazione deleteProceduraImportazione( - it.tref.liferay.portos.importazione.model.ProceduraImportazione proceduraImportazione) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { - ClpSerializer.translateInput(proceduraImportazione) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.ProceduraImportazione)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.ProceduraImportazione fetchProceduraImportazione( - long proceduraImportazioneId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, - new Object[] { proceduraImportazioneId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.ProceduraImportazione)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.ProceduraImportazione getProceduraImportazione( - long proceduraImportazioneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, - new Object[] { proceduraImportazioneId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.ProceduraImportazione)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getProceduraImportaziones( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getProceduraImportazionesCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.ProceduraImportazione updateProceduraImportazione( - it.tref.liferay.portos.importazione.model.ProceduraImportazione proceduraImportazione) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { - ClpSerializer.translateInput(proceduraImportazione) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.ProceduraImportazione)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/ProceduraImportazioneLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/ProceduraImportazioneLocalServiceUtil.java deleted file mode 100644 index 1530821c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/ProceduraImportazioneLocalServiceUtil.java +++ /dev/null @@ -1,308 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for ProceduraImportazione. This utility wraps - * {@link it.tref.liferay.portos.importazione.service.impl.ProceduraImportazioneLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author 3FC - * @see ProceduraImportazioneLocalService - * @see it.tref.liferay.portos.importazione.service.base.ProceduraImportazioneLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.ProceduraImportazioneLocalServiceImpl - * @generated - */ -public class ProceduraImportazioneLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.ProceduraImportazioneLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the procedura importazione to the database. Also notifies the appropriate model listeners. - * - * @param proceduraImportazione the procedura importazione - * @return the procedura importazione that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.ProceduraImportazione addProceduraImportazione( - it.tref.liferay.portos.importazione.model.ProceduraImportazione proceduraImportazione) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addProceduraImportazione(proceduraImportazione); - } - - /** - * Creates a new procedura importazione with the primary key. Does not add the procedura importazione to the database. - * - * @param proceduraImportazioneId the primary key for the new procedura importazione - * @return the new procedura importazione - */ - public static it.tref.liferay.portos.importazione.model.ProceduraImportazione createProceduraImportazione( - long proceduraImportazioneId) { - return getService().createProceduraImportazione(proceduraImportazioneId); - } - - /** - * Deletes the procedura importazione with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param proceduraImportazioneId the primary key of the procedura importazione - * @return the procedura importazione that was removed - * @throws PortalException if a procedura importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.ProceduraImportazione deleteProceduraImportazione( - long proceduraImportazioneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteProceduraImportazione(proceduraImportazioneId); - } - - /** - * Deletes the procedura importazione from the database. Also notifies the appropriate model listeners. - * - * @param proceduraImportazione the procedura importazione - * @return the procedura importazione that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.ProceduraImportazione deleteProceduraImportazione( - it.tref.liferay.portos.importazione.model.ProceduraImportazione proceduraImportazione) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteProceduraImportazione(proceduraImportazione); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.ProceduraImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.ProceduraImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.importazione.model.ProceduraImportazione fetchProceduraImportazione( - long proceduraImportazioneId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchProceduraImportazione(proceduraImportazioneId); - } - - /** - * Returns the procedura importazione with the primary key. - * - * @param proceduraImportazioneId the primary key of the procedura importazione - * @return the procedura importazione - * @throws PortalException if a procedura importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.ProceduraImportazione getProceduraImportazione( - long proceduraImportazioneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getProceduraImportazione(proceduraImportazioneId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the procedura importaziones. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.ProceduraImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of procedura importaziones - * @param end the upper bound of the range of procedura importaziones (not inclusive) - * @return the range of procedura importaziones - * @throws SystemException if a system exception occurred - */ - public static java.util.List getProceduraImportaziones( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getProceduraImportaziones(start, end); - } - - /** - * Returns the number of procedura importaziones. - * - * @return the number of procedura importaziones - * @throws SystemException if a system exception occurred - */ - public static int getProceduraImportazionesCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getProceduraImportazionesCount(); - } - - /** - * Updates the procedura importazione in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param proceduraImportazione the procedura importazione - * @return the procedura importazione that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.ProceduraImportazione updateProceduraImportazione( - it.tref.liferay.portos.importazione.model.ProceduraImportazione proceduraImportazione) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateProceduraImportazione(proceduraImportazione); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static ProceduraImportazioneLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - ProceduraImportazioneLocalService.class.getName()); - - if (invokableLocalService instanceof ProceduraImportazioneLocalService) { - _service = (ProceduraImportazioneLocalService)invokableLocalService; - } - else { - _service = new ProceduraImportazioneLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(ProceduraImportazioneLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(ProceduraImportazioneLocalService service) { - } - - private static ProceduraImportazioneLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/ProceduraImportazioneLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/ProceduraImportazioneLocalServiceWrapper.java deleted file mode 100644 index 52b02d05..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/ProceduraImportazioneLocalServiceWrapper.java +++ /dev/null @@ -1,320 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link ProceduraImportazioneLocalService}. - * - * @author 3FC - * @see ProceduraImportazioneLocalService - * @generated - */ -public class ProceduraImportazioneLocalServiceWrapper - implements ProceduraImportazioneLocalService, - ServiceWrapper { - public ProceduraImportazioneLocalServiceWrapper( - ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - _proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Adds the procedura importazione to the database. Also notifies the appropriate model listeners. - * - * @param proceduraImportazione the procedura importazione - * @return the procedura importazione that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.ProceduraImportazione addProceduraImportazione( - it.tref.liferay.portos.importazione.model.ProceduraImportazione proceduraImportazione) - throws com.liferay.portal.kernel.exception.SystemException { - return _proceduraImportazioneLocalService.addProceduraImportazione(proceduraImportazione); - } - - /** - * Creates a new procedura importazione with the primary key. Does not add the procedura importazione to the database. - * - * @param proceduraImportazioneId the primary key for the new procedura importazione - * @return the new procedura importazione - */ - @Override - public it.tref.liferay.portos.importazione.model.ProceduraImportazione createProceduraImportazione( - long proceduraImportazioneId) { - return _proceduraImportazioneLocalService.createProceduraImportazione(proceduraImportazioneId); - } - - /** - * Deletes the procedura importazione with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param proceduraImportazioneId the primary key of the procedura importazione - * @return the procedura importazione that was removed - * @throws PortalException if a procedura importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.ProceduraImportazione deleteProceduraImportazione( - long proceduraImportazioneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _proceduraImportazioneLocalService.deleteProceduraImportazione(proceduraImportazioneId); - } - - /** - * Deletes the procedura importazione from the database. Also notifies the appropriate model listeners. - * - * @param proceduraImportazione the procedura importazione - * @return the procedura importazione that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.ProceduraImportazione deleteProceduraImportazione( - it.tref.liferay.portos.importazione.model.ProceduraImportazione proceduraImportazione) - throws com.liferay.portal.kernel.exception.SystemException { - return _proceduraImportazioneLocalService.deleteProceduraImportazione(proceduraImportazione); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _proceduraImportazioneLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _proceduraImportazioneLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.ProceduraImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _proceduraImportazioneLocalService.dynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.ProceduraImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _proceduraImportazioneLocalService.dynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _proceduraImportazioneLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _proceduraImportazioneLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.importazione.model.ProceduraImportazione fetchProceduraImportazione( - long proceduraImportazioneId) - throws com.liferay.portal.kernel.exception.SystemException { - return _proceduraImportazioneLocalService.fetchProceduraImportazione(proceduraImportazioneId); - } - - /** - * Returns the procedura importazione with the primary key. - * - * @param proceduraImportazioneId the primary key of the procedura importazione - * @return the procedura importazione - * @throws PortalException if a procedura importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.ProceduraImportazione getProceduraImportazione( - long proceduraImportazioneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _proceduraImportazioneLocalService.getProceduraImportazione(proceduraImportazioneId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _proceduraImportazioneLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the procedura importaziones. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.ProceduraImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of procedura importaziones - * @param end the upper bound of the range of procedura importaziones (not inclusive) - * @return the range of procedura importaziones - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getProceduraImportaziones( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _proceduraImportazioneLocalService.getProceduraImportaziones(start, - end); - } - - /** - * Returns the number of procedura importaziones. - * - * @return the number of procedura importaziones - * @throws SystemException if a system exception occurred - */ - @Override - public int getProceduraImportazionesCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _proceduraImportazioneLocalService.getProceduraImportazionesCount(); - } - - /** - * Updates the procedura importazione in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param proceduraImportazione the procedura importazione - * @return the procedura importazione that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.ProceduraImportazione updateProceduraImportazione( - it.tref.liferay.portos.importazione.model.ProceduraImportazione proceduraImportazione) - throws com.liferay.portal.kernel.exception.SystemException { - return _proceduraImportazioneLocalService.updateProceduraImportazione(proceduraImportazione); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _proceduraImportazioneLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _proceduraImportazioneLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _proceduraImportazioneLocalService.invokeMethod(name, - parameterTypes, arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public ProceduraImportazioneLocalService getWrappedProceduraImportazioneLocalService() { - return _proceduraImportazioneLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedProceduraImportazioneLocalService( - ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - _proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - @Override - public ProceduraImportazioneLocalService getWrappedService() { - return _proceduraImportazioneLocalService; - } - - @Override - public void setWrappedService( - ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - _proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - private ProceduraImportazioneLocalService _proceduraImportazioneLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/StatoImportazioneLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/StatoImportazioneLocalService.java deleted file mode 100644 index aaf89e55..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/StatoImportazioneLocalService.java +++ /dev/null @@ -1,256 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for StatoImportazione. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author 3FC - * @see StatoImportazioneLocalServiceUtil - * @see it.tref.liferay.portos.importazione.service.base.StatoImportazioneLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.StatoImportazioneLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface StatoImportazioneLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link StatoImportazioneLocalServiceUtil} to access the stato importazione local service. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.StatoImportazioneLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the stato importazione to the database. Also notifies the appropriate model listeners. - * - * @param statoImportazione the stato importazione - * @return the stato importazione that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.StatoImportazione addStatoImportazione( - it.tref.liferay.portos.importazione.model.StatoImportazione statoImportazione) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new stato importazione with the primary key. Does not add the stato importazione to the database. - * - * @param statoImportazioneId the primary key for the new stato importazione - * @return the new stato importazione - */ - public it.tref.liferay.portos.importazione.model.StatoImportazione createStatoImportazione( - long statoImportazioneId); - - /** - * Deletes the stato importazione with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param statoImportazioneId the primary key of the stato importazione - * @return the stato importazione that was removed - * @throws PortalException if a stato importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.StatoImportazione deleteStatoImportazione( - long statoImportazioneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the stato importazione from the database. Also notifies the appropriate model listeners. - * - * @param statoImportazione the stato importazione - * @return the stato importazione that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.importazione.model.StatoImportazione deleteStatoImportazione( - it.tref.liferay.portos.importazione.model.StatoImportazione statoImportazione) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.StatoImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.StatoImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.StatoImportazione fetchStatoImportazione( - long statoImportazioneId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the stato importazione with the primary key. - * - * @param statoImportazioneId the primary key of the stato importazione - * @return the stato importazione - * @throws PortalException if a stato importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.importazione.model.StatoImportazione getStatoImportazione( - long statoImportazioneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the stato importaziones. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.StatoImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of stato importaziones - * @param end the upper bound of the range of stato importaziones (not inclusive) - * @return the range of stato importaziones - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getStatoImportaziones( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of stato importaziones. - * - * @return the number of stato importaziones - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getStatoImportazionesCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the stato importazione in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param statoImportazione the stato importazione - * @return the stato importazione that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.importazione.model.StatoImportazione updateStatoImportazione( - it.tref.liferay.portos.importazione.model.StatoImportazione statoImportazione) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/StatoImportazioneLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/StatoImportazioneLocalServiceClp.java deleted file mode 100644 index 108b7f4b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/StatoImportazioneLocalServiceClp.java +++ /dev/null @@ -1,712 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author 3FC - * @generated - */ -public class StatoImportazioneLocalServiceClp - implements StatoImportazioneLocalService { - public StatoImportazioneLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addStatoImportazione"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.StatoImportazione" - }; - - _methodName1 = "createStatoImportazione"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteStatoImportazione"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteStatoImportazione"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.StatoImportazione" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchStatoImportazione"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getStatoImportazione"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getStatoImportaziones"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getStatoImportazionesCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateStatoImportazione"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.StatoImportazione" - }; - - _methodName16 = "getBeanIdentifier"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "setBeanIdentifier"; - - _methodParameterTypes17 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.importazione.model.StatoImportazione addStatoImportazione( - it.tref.liferay.portos.importazione.model.StatoImportazione statoImportazione) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput( - statoImportazione) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.StatoImportazione)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.StatoImportazione createStatoImportazione( - long statoImportazioneId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { statoImportazioneId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.StatoImportazione)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.StatoImportazione deleteStatoImportazione( - long statoImportazioneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { statoImportazioneId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.StatoImportazione)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.StatoImportazione deleteStatoImportazione( - it.tref.liferay.portos.importazione.model.StatoImportazione statoImportazione) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput( - statoImportazione) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.StatoImportazione)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.StatoImportazione fetchStatoImportazione( - long statoImportazioneId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, - new Object[] { statoImportazioneId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.StatoImportazione)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.importazione.model.StatoImportazione getStatoImportazione( - long statoImportazioneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, - new Object[] { statoImportazioneId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.StatoImportazione)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getStatoImportaziones( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getStatoImportazionesCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.importazione.model.StatoImportazione updateStatoImportazione( - it.tref.liferay.portos.importazione.model.StatoImportazione statoImportazione) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput( - statoImportazione) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.importazione.model.StatoImportazione)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/StatoImportazioneLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/StatoImportazioneLocalServiceUtil.java deleted file mode 100644 index 2573c20c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/StatoImportazioneLocalServiceUtil.java +++ /dev/null @@ -1,308 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for StatoImportazione. This utility wraps - * {@link it.tref.liferay.portos.importazione.service.impl.StatoImportazioneLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author 3FC - * @see StatoImportazioneLocalService - * @see it.tref.liferay.portos.importazione.service.base.StatoImportazioneLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.impl.StatoImportazioneLocalServiceImpl - * @generated - */ -public class StatoImportazioneLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.importazione.service.impl.StatoImportazioneLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the stato importazione to the database. Also notifies the appropriate model listeners. - * - * @param statoImportazione the stato importazione - * @return the stato importazione that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.StatoImportazione addStatoImportazione( - it.tref.liferay.portos.importazione.model.StatoImportazione statoImportazione) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addStatoImportazione(statoImportazione); - } - - /** - * Creates a new stato importazione with the primary key. Does not add the stato importazione to the database. - * - * @param statoImportazioneId the primary key for the new stato importazione - * @return the new stato importazione - */ - public static it.tref.liferay.portos.importazione.model.StatoImportazione createStatoImportazione( - long statoImportazioneId) { - return getService().createStatoImportazione(statoImportazioneId); - } - - /** - * Deletes the stato importazione with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param statoImportazioneId the primary key of the stato importazione - * @return the stato importazione that was removed - * @throws PortalException if a stato importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.StatoImportazione deleteStatoImportazione( - long statoImportazioneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteStatoImportazione(statoImportazioneId); - } - - /** - * Deletes the stato importazione from the database. Also notifies the appropriate model listeners. - * - * @param statoImportazione the stato importazione - * @return the stato importazione that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.StatoImportazione deleteStatoImportazione( - it.tref.liferay.portos.importazione.model.StatoImportazione statoImportazione) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteStatoImportazione(statoImportazione); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.StatoImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.StatoImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.importazione.model.StatoImportazione fetchStatoImportazione( - long statoImportazioneId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchStatoImportazione(statoImportazioneId); - } - - /** - * Returns the stato importazione with the primary key. - * - * @param statoImportazioneId the primary key of the stato importazione - * @return the stato importazione - * @throws PortalException if a stato importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.StatoImportazione getStatoImportazione( - long statoImportazioneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getStatoImportazione(statoImportazioneId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the stato importaziones. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.StatoImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of stato importaziones - * @param end the upper bound of the range of stato importaziones (not inclusive) - * @return the range of stato importaziones - * @throws SystemException if a system exception occurred - */ - public static java.util.List getStatoImportaziones( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getStatoImportaziones(start, end); - } - - /** - * Returns the number of stato importaziones. - * - * @return the number of stato importaziones - * @throws SystemException if a system exception occurred - */ - public static int getStatoImportazionesCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getStatoImportazionesCount(); - } - - /** - * Updates the stato importazione in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param statoImportazione the stato importazione - * @return the stato importazione that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.StatoImportazione updateStatoImportazione( - it.tref.liferay.portos.importazione.model.StatoImportazione statoImportazione) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateStatoImportazione(statoImportazione); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static StatoImportazioneLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - StatoImportazioneLocalService.class.getName()); - - if (invokableLocalService instanceof StatoImportazioneLocalService) { - _service = (StatoImportazioneLocalService)invokableLocalService; - } - else { - _service = new StatoImportazioneLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(StatoImportazioneLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(StatoImportazioneLocalService service) { - } - - private static StatoImportazioneLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/StatoImportazioneLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/StatoImportazioneLocalServiceWrapper.java deleted file mode 100644 index 08146266..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/StatoImportazioneLocalServiceWrapper.java +++ /dev/null @@ -1,319 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link StatoImportazioneLocalService}. - * - * @author 3FC - * @see StatoImportazioneLocalService - * @generated - */ -public class StatoImportazioneLocalServiceWrapper - implements StatoImportazioneLocalService, - ServiceWrapper { - public StatoImportazioneLocalServiceWrapper( - StatoImportazioneLocalService statoImportazioneLocalService) { - _statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Adds the stato importazione to the database. Also notifies the appropriate model listeners. - * - * @param statoImportazione the stato importazione - * @return the stato importazione that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.StatoImportazione addStatoImportazione( - it.tref.liferay.portos.importazione.model.StatoImportazione statoImportazione) - throws com.liferay.portal.kernel.exception.SystemException { - return _statoImportazioneLocalService.addStatoImportazione(statoImportazione); - } - - /** - * Creates a new stato importazione with the primary key. Does not add the stato importazione to the database. - * - * @param statoImportazioneId the primary key for the new stato importazione - * @return the new stato importazione - */ - @Override - public it.tref.liferay.portos.importazione.model.StatoImportazione createStatoImportazione( - long statoImportazioneId) { - return _statoImportazioneLocalService.createStatoImportazione(statoImportazioneId); - } - - /** - * Deletes the stato importazione with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param statoImportazioneId the primary key of the stato importazione - * @return the stato importazione that was removed - * @throws PortalException if a stato importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.StatoImportazione deleteStatoImportazione( - long statoImportazioneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _statoImportazioneLocalService.deleteStatoImportazione(statoImportazioneId); - } - - /** - * Deletes the stato importazione from the database. Also notifies the appropriate model listeners. - * - * @param statoImportazione the stato importazione - * @return the stato importazione that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.StatoImportazione deleteStatoImportazione( - it.tref.liferay.portos.importazione.model.StatoImportazione statoImportazione) - throws com.liferay.portal.kernel.exception.SystemException { - return _statoImportazioneLocalService.deleteStatoImportazione(statoImportazione); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _statoImportazioneLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _statoImportazioneLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.StatoImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _statoImportazioneLocalService.dynamicQuery(dynamicQuery, start, - end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.StatoImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _statoImportazioneLocalService.dynamicQuery(dynamicQuery, start, - end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _statoImportazioneLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _statoImportazioneLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.importazione.model.StatoImportazione fetchStatoImportazione( - long statoImportazioneId) - throws com.liferay.portal.kernel.exception.SystemException { - return _statoImportazioneLocalService.fetchStatoImportazione(statoImportazioneId); - } - - /** - * Returns the stato importazione with the primary key. - * - * @param statoImportazioneId the primary key of the stato importazione - * @return the stato importazione - * @throws PortalException if a stato importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.StatoImportazione getStatoImportazione( - long statoImportazioneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _statoImportazioneLocalService.getStatoImportazione(statoImportazioneId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _statoImportazioneLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the stato importaziones. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.StatoImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of stato importaziones - * @param end the upper bound of the range of stato importaziones (not inclusive) - * @return the range of stato importaziones - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getStatoImportaziones( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _statoImportazioneLocalService.getStatoImportaziones(start, end); - } - - /** - * Returns the number of stato importaziones. - * - * @return the number of stato importaziones - * @throws SystemException if a system exception occurred - */ - @Override - public int getStatoImportazionesCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _statoImportazioneLocalService.getStatoImportazionesCount(); - } - - /** - * Updates the stato importazione in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param statoImportazione the stato importazione - * @return the stato importazione that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.importazione.model.StatoImportazione updateStatoImportazione( - it.tref.liferay.portos.importazione.model.StatoImportazione statoImportazione) - throws com.liferay.portal.kernel.exception.SystemException { - return _statoImportazioneLocalService.updateStatoImportazione(statoImportazione); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _statoImportazioneLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _statoImportazioneLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _statoImportazioneLocalService.invokeMethod(name, - parameterTypes, arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public StatoImportazioneLocalService getWrappedStatoImportazioneLocalService() { - return _statoImportazioneLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedStatoImportazioneLocalService( - StatoImportazioneLocalService statoImportazioneLocalService) { - _statoImportazioneLocalService = statoImportazioneLocalService; - } - - @Override - public StatoImportazioneLocalService getWrappedService() { - return _statoImportazioneLocalService; - } - - @Override - public void setWrappedService( - StatoImportazioneLocalService statoImportazioneLocalService) { - _statoImportazioneLocalService = statoImportazioneLocalService; - } - - private StatoImportazioneLocalService _statoImportazioneLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/messaging/ClpMessageListener.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/messaging/ClpMessageListener.java deleted file mode 100644 index 69d81a41..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/messaging/ClpMessageListener.java +++ /dev/null @@ -1,149 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.messaging; - -import com.liferay.portal.kernel.messaging.BaseMessageListener; -import com.liferay.portal.kernel.messaging.Message; - -import it.tref.liferay.portos.importazione.service.BoArtLeggeLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.BoAvvisoLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.BoComuneLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.BoDettPraticaLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.BoDocPraticaLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.BoIntPraticaLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.BoSoggettoLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.BoSorteggioLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.BoTempisticaLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.BoTerritorioLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.ClpSerializer; -import it.tref.liferay.portos.importazione.service.FeComuneLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.FeDettPraticaLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.FeIntPraticaLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.FePagamentoLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.FeProvinciaLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.FeTerritorioLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.KaleoInstanceLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.KaleoLogLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.KaleoNodeLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.KaleoTaskLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.OldDLFolderLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.OldGroupLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.OldOrganizationLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.OldRoleLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.OldUserGroupLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.OldUserLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.StatoImportazioneLocalServiceUtil; - -/** - * @author 3FC - */ -public class ClpMessageListener extends BaseMessageListener { - public static String getServletContextName() { - return ClpSerializer.getServletContextName(); - } - - @Override - protected void doReceive(Message message) throws Exception { - String command = message.getString("command"); - String servletContextName = message.getString("servletContextName"); - - if (command.equals("undeploy") && - servletContextName.equals(getServletContextName())) { - BoArtLeggeLocalServiceUtil.clearService(); - - BoAvvisoLocalServiceUtil.clearService(); - - BoComuneLocalServiceUtil.clearService(); - - BoConfigurazioneLocalServiceUtil.clearService(); - - BoDettPraticaLocalServiceUtil.clearService(); - - BoDocPraticaLocalServiceUtil.clearService(); - - BoIntPraticaLocalServiceUtil.clearService(); - - BoProblemiPraticaLocalServiceUtil.clearService(); - - BoRelLeggiPraticaLocalServiceUtil.clearService(); - - BoSistemaCostruttivoLocalServiceUtil.clearService(); - - BoSoggettoLocalServiceUtil.clearService(); - - BoSorteggioLocalServiceUtil.clearService(); - - BoStoricoSoggettoPraticaLocalServiceUtil.clearService(); - - BoTempisticaLocalServiceUtil.clearService(); - - BoTerritorioLocalServiceUtil.clearService(); - - FeComuneLocalServiceUtil.clearService(); - - FeDettPraticaLocalServiceUtil.clearService(); - - FeIntPraticaLocalServiceUtil.clearService(); - - FePagamentoLocalServiceUtil.clearService(); - - FeProvinciaLocalServiceUtil.clearService(); - - FeTerritorioLocalServiceUtil.clearService(); - - KaleoInstanceLocalServiceUtil.clearService(); - - KaleoInstanceTokenLocalServiceUtil.clearService(); - - KaleoLogLocalServiceUtil.clearService(); - - KaleoNodeLocalServiceUtil.clearService(); - - KaleoTaskLocalServiceUtil.clearService(); - - KaleoTaskAssignmentInstanceLocalServiceUtil.clearService(); - - KaleoTaskInstanceTokenLocalServiceUtil.clearService(); - - OldDLFileEntryLocalServiceUtil.clearService(); - - OldDLFolderLocalServiceUtil.clearService(); - - OldGroupLocalServiceUtil.clearService(); - - OldOrganizationLocalServiceUtil.clearService(); - - OldRoleLocalServiceUtil.clearService(); - - OldUserLocalServiceUtil.clearService(); - - OldUserGroupLocalServiceUtil.clearService(); - - ProceduraImportazioneLocalServiceUtil.clearService(); - - StatoImportazioneLocalServiceUtil.clearService(); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoArtLeggeActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoArtLeggeActionableDynamicQuery.java deleted file mode 100644 index 6dd9b63e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoArtLeggeActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.BoArtLegge; -import it.tref.liferay.portos.importazione.service.BoArtLeggeLocalServiceUtil; - -/** - * @author 3FC - * @generated - */ -public abstract class BoArtLeggeActionableDynamicQuery - extends BaseActionableDynamicQuery { - public BoArtLeggeActionableDynamicQuery() throws SystemException { - setBaseLocalService(BoArtLeggeLocalServiceUtil.getService()); - setClass(BoArtLegge.class); - - setClassLoader(it.tref.liferay.portos.importazione.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("artLeggeId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoArtLeggePersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoArtLeggePersistence.java deleted file mode 100644 index a2b1e12f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoArtLeggePersistence.java +++ /dev/null @@ -1,368 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.importazione.model.BoArtLegge; - -/** - * The persistence interface for the bo art legge service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoArtLeggePersistenceImpl - * @see BoArtLeggeUtil - * @generated - */ -public interface BoArtLeggePersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoArtLeggeUtil} to access the bo art legge persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns the bo art legge where codArtLegge = ? and tipologia = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException} if it could not be found. - * - * @param codArtLegge the cod art legge - * @param tipologia the tipologia - * @return the matching bo art legge - * @throws it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoArtLegge findBycodArtLegge_tipologia( - java.lang.String codArtLegge, java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException; - - /** - * Returns the bo art legge where codArtLegge = ? and tipologia = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codArtLegge the cod art legge - * @param tipologia the tipologia - * @return the matching bo art legge, or null if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoArtLegge fetchBycodArtLegge_tipologia( - java.lang.String codArtLegge, java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo art legge where codArtLegge = ? and tipologia = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codArtLegge the cod art legge - * @param tipologia the tipologia - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo art legge, or null if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoArtLegge fetchBycodArtLegge_tipologia( - java.lang.String codArtLegge, java.lang.String tipologia, - boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo art legge where codArtLegge = ? and tipologia = ? from the database. - * - * @param codArtLegge the cod art legge - * @param tipologia the tipologia - * @return the bo art legge that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoArtLegge removeBycodArtLegge_tipologia( - java.lang.String codArtLegge, java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException; - - /** - * Returns the number of bo art legges where codArtLegge = ? and tipologia = ?. - * - * @param codArtLegge the cod art legge - * @param tipologia the tipologia - * @return the number of matching bo art legges - * @throws SystemException if a system exception occurred - */ - public int countBycodArtLegge_tipologia(java.lang.String codArtLegge, - java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo art legges where tipologia = ?. - * - * @param tipologia the tipologia - * @return the matching bo art legges - * @throws SystemException if a system exception occurred - */ - public java.util.List findBytipologia( - java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo art legges where tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param tipologia the tipologia - * @param start the lower bound of the range of bo art legges - * @param end the upper bound of the range of bo art legges (not inclusive) - * @return the range of matching bo art legges - * @throws SystemException if a system exception occurred - */ - public java.util.List findBytipologia( - java.lang.String tipologia, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo art legges where tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param tipologia the tipologia - * @param start the lower bound of the range of bo art legges - * @param end the upper bound of the range of bo art legges (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo art legges - * @throws SystemException if a system exception occurred - */ - public java.util.List findBytipologia( - java.lang.String tipologia, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo art legge in the ordered set where tipologia = ?. - * - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo art legge - * @throws it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoArtLegge findBytipologia_First( - java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException; - - /** - * Returns the first bo art legge in the ordered set where tipologia = ?. - * - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo art legge, or null if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoArtLegge fetchBytipologia_First( - java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo art legge in the ordered set where tipologia = ?. - * - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo art legge - * @throws it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoArtLegge findBytipologia_Last( - java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException; - - /** - * Returns the last bo art legge in the ordered set where tipologia = ?. - * - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo art legge, or null if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoArtLegge fetchBytipologia_Last( - java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo art legges before and after the current bo art legge in the ordered set where tipologia = ?. - * - * @param artLeggeId the primary key of the current bo art legge - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo art legge - * @throws it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoArtLegge[] findBytipologia_PrevAndNext( - long artLeggeId, java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException; - - /** - * Removes all the bo art legges where tipologia = ? from the database. - * - * @param tipologia the tipologia - * @throws SystemException if a system exception occurred - */ - public void removeBytipologia(java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo art legges where tipologia = ?. - * - * @param tipologia the tipologia - * @return the number of matching bo art legges - * @throws SystemException if a system exception occurred - */ - public int countBytipologia(java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the bo art legge in the entity cache if it is enabled. - * - * @param boArtLegge the bo art legge - */ - public void cacheResult( - it.tref.liferay.portos.importazione.model.BoArtLegge boArtLegge); - - /** - * Caches the bo art legges in the entity cache if it is enabled. - * - * @param boArtLegges the bo art legges - */ - public void cacheResult( - java.util.List boArtLegges); - - /** - * Creates a new bo art legge with the primary key. Does not add the bo art legge to the database. - * - * @param artLeggeId the primary key for the new bo art legge - * @return the new bo art legge - */ - public it.tref.liferay.portos.importazione.model.BoArtLegge create( - long artLeggeId); - - /** - * Removes the bo art legge with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param artLeggeId the primary key of the bo art legge - * @return the bo art legge that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoArtLegge remove( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException; - - public it.tref.liferay.portos.importazione.model.BoArtLegge updateImpl( - it.tref.liferay.portos.importazione.model.BoArtLegge boArtLegge) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo art legge with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException} if it could not be found. - * - * @param artLeggeId the primary key of the bo art legge - * @return the bo art legge - * @throws it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoArtLegge findByPrimaryKey( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException; - - /** - * Returns the bo art legge with the primary key or returns null if it could not be found. - * - * @param artLeggeId the primary key of the bo art legge - * @return the bo art legge, or null if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoArtLegge fetchByPrimaryKey( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo art legges. - * - * @return the bo art legges - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo art legges. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo art legges - * @param end the upper bound of the range of bo art legges (not inclusive) - * @return the range of bo art legges - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo art legges. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo art legges - * @param end the upper bound of the range of bo art legges (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo art legges - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the bo art legges from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo art legges. - * - * @return the number of bo art legges - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoArtLeggeUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoArtLeggeUtil.java deleted file mode 100644 index 31a07ed7..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoArtLeggeUtil.java +++ /dev/null @@ -1,528 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.importazione.model.BoArtLegge; - -import java.util.List; - -/** - * The persistence utility for the bo art legge service. This utility wraps {@link BoArtLeggePersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoArtLeggePersistence - * @see BoArtLeggePersistenceImpl - * @generated - */ -public class BoArtLeggeUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(BoArtLegge boArtLegge) { - getPersistence().clearCache(boArtLegge); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static BoArtLegge update(BoArtLegge boArtLegge) - throws SystemException { - return getPersistence().update(boArtLegge); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static BoArtLegge update(BoArtLegge boArtLegge, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(boArtLegge, serviceContext); - } - - /** - * Returns the bo art legge where codArtLegge = ? and tipologia = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException} if it could not be found. - * - * @param codArtLegge the cod art legge - * @param tipologia the tipologia - * @return the matching bo art legge - * @throws it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoArtLegge findBycodArtLegge_tipologia( - java.lang.String codArtLegge, java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException { - return getPersistence() - .findBycodArtLegge_tipologia(codArtLegge, tipologia); - } - - /** - * Returns the bo art legge where codArtLegge = ? and tipologia = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codArtLegge the cod art legge - * @param tipologia the tipologia - * @return the matching bo art legge, or null if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoArtLegge fetchBycodArtLegge_tipologia( - java.lang.String codArtLegge, java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchBycodArtLegge_tipologia(codArtLegge, tipologia); - } - - /** - * Returns the bo art legge where codArtLegge = ? and tipologia = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codArtLegge the cod art legge - * @param tipologia the tipologia - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo art legge, or null if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoArtLegge fetchBycodArtLegge_tipologia( - java.lang.String codArtLegge, java.lang.String tipologia, - boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchBycodArtLegge_tipologia(codArtLegge, tipologia, - retrieveFromCache); - } - - /** - * Removes the bo art legge where codArtLegge = ? and tipologia = ? from the database. - * - * @param codArtLegge the cod art legge - * @param tipologia the tipologia - * @return the bo art legge that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoArtLegge removeBycodArtLegge_tipologia( - java.lang.String codArtLegge, java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException { - return getPersistence() - .removeBycodArtLegge_tipologia(codArtLegge, tipologia); - } - - /** - * Returns the number of bo art legges where codArtLegge = ? and tipologia = ?. - * - * @param codArtLegge the cod art legge - * @param tipologia the tipologia - * @return the number of matching bo art legges - * @throws SystemException if a system exception occurred - */ - public static int countBycodArtLegge_tipologia( - java.lang.String codArtLegge, java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countBycodArtLegge_tipologia(codArtLegge, tipologia); - } - - /** - * Returns all the bo art legges where tipologia = ?. - * - * @param tipologia the tipologia - * @return the matching bo art legges - * @throws SystemException if a system exception occurred - */ - public static java.util.List findBytipologia( - java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findBytipologia(tipologia); - } - - /** - * Returns a range of all the bo art legges where tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param tipologia the tipologia - * @param start the lower bound of the range of bo art legges - * @param end the upper bound of the range of bo art legges (not inclusive) - * @return the range of matching bo art legges - * @throws SystemException if a system exception occurred - */ - public static java.util.List findBytipologia( - java.lang.String tipologia, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findBytipologia(tipologia, start, end); - } - - /** - * Returns an ordered range of all the bo art legges where tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param tipologia the tipologia - * @param start the lower bound of the range of bo art legges - * @param end the upper bound of the range of bo art legges (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo art legges - * @throws SystemException if a system exception occurred - */ - public static java.util.List findBytipologia( - java.lang.String tipologia, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findBytipologia(tipologia, start, end, orderByComparator); - } - - /** - * Returns the first bo art legge in the ordered set where tipologia = ?. - * - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo art legge - * @throws it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoArtLegge findBytipologia_First( - java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException { - return getPersistence() - .findBytipologia_First(tipologia, orderByComparator); - } - - /** - * Returns the first bo art legge in the ordered set where tipologia = ?. - * - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo art legge, or null if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoArtLegge fetchBytipologia_First( - java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchBytipologia_First(tipologia, orderByComparator); - } - - /** - * Returns the last bo art legge in the ordered set where tipologia = ?. - * - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo art legge - * @throws it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoArtLegge findBytipologia_Last( - java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException { - return getPersistence() - .findBytipologia_Last(tipologia, orderByComparator); - } - - /** - * Returns the last bo art legge in the ordered set where tipologia = ?. - * - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo art legge, or null if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoArtLegge fetchBytipologia_Last( - java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchBytipologia_Last(tipologia, orderByComparator); - } - - /** - * Returns the bo art legges before and after the current bo art legge in the ordered set where tipologia = ?. - * - * @param artLeggeId the primary key of the current bo art legge - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo art legge - * @throws it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoArtLegge[] findBytipologia_PrevAndNext( - long artLeggeId, java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException { - return getPersistence() - .findBytipologia_PrevAndNext(artLeggeId, tipologia, - orderByComparator); - } - - /** - * Removes all the bo art legges where tipologia = ? from the database. - * - * @param tipologia the tipologia - * @throws SystemException if a system exception occurred - */ - public static void removeBytipologia(java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeBytipologia(tipologia); - } - - /** - * Returns the number of bo art legges where tipologia = ?. - * - * @param tipologia the tipologia - * @return the number of matching bo art legges - * @throws SystemException if a system exception occurred - */ - public static int countBytipologia(java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countBytipologia(tipologia); - } - - /** - * Caches the bo art legge in the entity cache if it is enabled. - * - * @param boArtLegge the bo art legge - */ - public static void cacheResult( - it.tref.liferay.portos.importazione.model.BoArtLegge boArtLegge) { - getPersistence().cacheResult(boArtLegge); - } - - /** - * Caches the bo art legges in the entity cache if it is enabled. - * - * @param boArtLegges the bo art legges - */ - public static void cacheResult( - java.util.List boArtLegges) { - getPersistence().cacheResult(boArtLegges); - } - - /** - * Creates a new bo art legge with the primary key. Does not add the bo art legge to the database. - * - * @param artLeggeId the primary key for the new bo art legge - * @return the new bo art legge - */ - public static it.tref.liferay.portos.importazione.model.BoArtLegge create( - long artLeggeId) { - return getPersistence().create(artLeggeId); - } - - /** - * Removes the bo art legge with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param artLeggeId the primary key of the bo art legge - * @return the bo art legge that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoArtLegge remove( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException { - return getPersistence().remove(artLeggeId); - } - - public static it.tref.liferay.portos.importazione.model.BoArtLegge updateImpl( - it.tref.liferay.portos.importazione.model.BoArtLegge boArtLegge) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(boArtLegge); - } - - /** - * Returns the bo art legge with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException} if it could not be found. - * - * @param artLeggeId the primary key of the bo art legge - * @return the bo art legge - * @throws it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoArtLegge findByPrimaryKey( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException { - return getPersistence().findByPrimaryKey(artLeggeId); - } - - /** - * Returns the bo art legge with the primary key or returns null if it could not be found. - * - * @param artLeggeId the primary key of the bo art legge - * @return the bo art legge, or null if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoArtLegge fetchByPrimaryKey( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(artLeggeId); - } - - /** - * Returns all the bo art legges. - * - * @return the bo art legges - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the bo art legges. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo art legges - * @param end the upper bound of the range of bo art legges (not inclusive) - * @return the range of bo art legges - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the bo art legges. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo art legges - * @param end the upper bound of the range of bo art legges (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo art legges - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the bo art legges from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of bo art legges. - * - * @return the number of bo art legges - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static BoArtLeggePersistence getPersistence() { - if (_persistence == null) { - _persistence = (BoArtLeggePersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - BoArtLeggePersistence.class.getName()); - - ReferenceRegistry.registerReference(BoArtLeggeUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(BoArtLeggePersistence persistence) { - } - - private static BoArtLeggePersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoAvvisoActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoAvvisoActionableDynamicQuery.java deleted file mode 100644 index 51f552c6..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoAvvisoActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.BoAvviso; -import it.tref.liferay.portos.importazione.service.BoAvvisoLocalServiceUtil; - -/** - * @author 3FC - * @generated - */ -public abstract class BoAvvisoActionableDynamicQuery - extends BaseActionableDynamicQuery { - public BoAvvisoActionableDynamicQuery() throws SystemException { - setBaseLocalService(BoAvvisoLocalServiceUtil.getService()); - setClass(BoAvviso.class); - - setClassLoader(it.tref.liferay.portos.importazione.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("avvisoId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoAvvisoExportActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoAvvisoExportActionableDynamicQuery.java deleted file mode 100644 index d32dea4f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoAvvisoExportActionableDynamicQuery.java +++ /dev/null @@ -1,85 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.ExportImportHelperUtil; -import com.liferay.portal.kernel.lar.ManifestSummary; -import com.liferay.portal.kernel.lar.PortletDataContext; -import com.liferay.portal.kernel.lar.StagedModelDataHandlerUtil; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.model.BoAvviso; - -/** - * @author 3FC - * @generated - */ -public class BoAvvisoExportActionableDynamicQuery - extends BoAvvisoActionableDynamicQuery { - public BoAvvisoExportActionableDynamicQuery( - PortletDataContext portletDataContext) throws SystemException { - _portletDataContext = portletDataContext; - - setCompanyId(_portletDataContext.getCompanyId()); - - setGroupId(_portletDataContext.getScopeGroupId()); - } - - @Override - public long performCount() throws PortalException, SystemException { - ManifestSummary manifestSummary = _portletDataContext.getManifestSummary(); - - StagedModelType stagedModelType = getStagedModelType(); - - long modelAdditionCount = super.performCount(); - - manifestSummary.addModelAdditionCount(stagedModelType.toString(), - modelAdditionCount); - - long modelDeletionCount = ExportImportHelperUtil.getModelDeletionCount(_portletDataContext, - stagedModelType); - - manifestSummary.addModelDeletionCount(stagedModelType.toString(), - modelDeletionCount); - - return modelAdditionCount; - } - - @Override - protected void addCriteria(DynamicQuery dynamicQuery) { - _portletDataContext.addDateRangeCriteria(dynamicQuery, "modifiedDate"); - } - - protected StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoAvviso.class.getName())); - } - - @Override - @SuppressWarnings("unused") - protected void performAction(Object object) - throws PortalException, SystemException { - BoAvviso stagedModel = (BoAvviso)object; - - StagedModelDataHandlerUtil.exportStagedModel(_portletDataContext, - stagedModel); - } - - private PortletDataContext _portletDataContext; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoAvvisoPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoAvvisoPersistence.java deleted file mode 100644 index 029446de..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoAvvisoPersistence.java +++ /dev/null @@ -1,1089 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.importazione.model.BoAvviso; - -/** - * The persistence interface for the bo avviso service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoAvvisoPersistenceImpl - * @see BoAvvisoUtil - * @generated - */ -public interface BoAvvisoPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoAvvisoUtil} to access the bo avviso persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns all the bo avvisos where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo avvisos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo avvisos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo avviso in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoAvviso findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException; - - /** - * Returns the first bo avviso in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoAvviso fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo avviso in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoAvviso findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException; - - /** - * Returns the last bo avviso in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoAvviso fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo avvisos before and after the current bo avviso in the ordered set where uuid = ?. - * - * @param avvisoId the primary key of the current bo avviso - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoAvviso[] findByUuid_PrevAndNext( - long avvisoId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException; - - /** - * Removes all the bo avvisos where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo avvisos where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo avviso where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoAvvisoException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoAvviso findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException; - - /** - * Returns the bo avviso where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoAvviso fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo avviso where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoAvviso fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo avviso where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo avviso that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoAvviso removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException; - - /** - * Returns the number of bo avvisos where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo avvisos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo avvisos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo avvisos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo avviso in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoAvviso findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException; - - /** - * Returns the first bo avviso in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoAvviso fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo avviso in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoAvviso findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException; - - /** - * Returns the last bo avviso in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoAvviso fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo avvisos before and after the current bo avviso in the ordered set where uuid = ? and companyId = ?. - * - * @param avvisoId the primary key of the current bo avviso - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoAvviso[] findByUuid_C_PrevAndNext( - long avvisoId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException; - - /** - * Removes all the bo avvisos where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo avvisos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @return the matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findBydettPraticaId_tipoDocumento( - long dettPraticaId, java.lang.String tipoDocumento) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findBydettPraticaId_tipoDocumento( - long dettPraticaId, java.lang.String tipoDocumento, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findBydettPraticaId_tipoDocumento( - long dettPraticaId, java.lang.String tipoDocumento, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoAvviso findBydettPraticaId_tipoDocumento_First( - long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException; - - /** - * Returns the first bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoAvviso fetchBydettPraticaId_tipoDocumento_First( - long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoAvviso findBydettPraticaId_tipoDocumento_Last( - long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException; - - /** - * Returns the last bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoAvviso fetchBydettPraticaId_tipoDocumento_Last( - long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo avvisos before and after the current bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param avvisoId the primary key of the current bo avviso - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoAvviso[] findBydettPraticaId_tipoDocumento_PrevAndNext( - long avvisoId, long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException; - - /** - * Removes all the bo avvisos where dettPraticaId = ? and tipoDocumento = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @throws SystemException if a system exception occurred - */ - public void removeBydettPraticaId_tipoDocumento(long dettPraticaId, - java.lang.String tipoDocumento) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public int countBydettPraticaId_tipoDocumento(long dettPraticaId, - java.lang.String tipoDocumento) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @return the matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findBydettPraticaIds_tipoDocumento( - long dettPraticaId, java.lang.String tipoDocumento) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findBydettPraticaIds_tipoDocumento( - long dettPraticaId, java.lang.String tipoDocumento, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findBydettPraticaIds_tipoDocumento( - long dettPraticaId, java.lang.String tipoDocumento, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoAvviso findBydettPraticaIds_tipoDocumento_First( - long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException; - - /** - * Returns the first bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoAvviso fetchBydettPraticaIds_tipoDocumento_First( - long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoAvviso findBydettPraticaIds_tipoDocumento_Last( - long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException; - - /** - * Returns the last bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoAvviso fetchBydettPraticaIds_tipoDocumento_Last( - long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo avvisos before and after the current bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param avvisoId the primary key of the current bo avviso - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoAvviso[] findBydettPraticaIds_tipoDocumento_PrevAndNext( - long avvisoId, long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException; - - /** - * Returns all the bo avvisos where dettPraticaId = any ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaIds the dett pratica IDs - * @param tipoDocumento the tipo documento - * @return the matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findBydettPraticaIds_tipoDocumento( - long[] dettPraticaIds, java.lang.String tipoDocumento) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo avvisos where dettPraticaId = any ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaIds the dett pratica IDs - * @param tipoDocumento the tipo documento - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findBydettPraticaIds_tipoDocumento( - long[] dettPraticaIds, java.lang.String tipoDocumento, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo avvisos where dettPraticaId = any ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaIds the dett pratica IDs - * @param tipoDocumento the tipo documento - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findBydettPraticaIds_tipoDocumento( - long[] dettPraticaIds, java.lang.String tipoDocumento, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the bo avvisos where dettPraticaId = ? and tipoDocumento = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @throws SystemException if a system exception occurred - */ - public void removeBydettPraticaIds_tipoDocumento(long dettPraticaId, - java.lang.String tipoDocumento) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public int countBydettPraticaIds_tipoDocumento(long dettPraticaId, - java.lang.String tipoDocumento) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo avvisos where dettPraticaId = any ? and tipoDocumento = ?. - * - * @param dettPraticaIds the dett pratica IDs - * @param tipoDocumento the tipo documento - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public int countBydettPraticaIds_tipoDocumento(long[] dettPraticaIds, - java.lang.String tipoDocumento) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo avvisos where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo avvisos where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica( - long dettPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo avvisos where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica( - long dettPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo avviso in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoAvviso findByDettPratica_First( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException; - - /** - * Returns the first bo avviso in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoAvviso fetchByDettPratica_First( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo avviso in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoAvviso findByDettPratica_Last( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException; - - /** - * Returns the last bo avviso in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoAvviso fetchByDettPratica_Last( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo avvisos before and after the current bo avviso in the ordered set where dettPraticaId = ?. - * - * @param avvisoId the primary key of the current bo avviso - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoAvviso[] findByDettPratica_PrevAndNext( - long avvisoId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException; - - /** - * Removes all the bo avvisos where dettPraticaId = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - public void removeByDettPratica(long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo avvisos where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public int countByDettPratica(long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo avviso where companyId = ? and groupId = ? and protocollo = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoAvvisoException} if it could not be found. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the matching bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoAvviso findByC_G_Protocollo( - long companyId, long groupId, java.lang.String protocollo) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException; - - /** - * Returns the bo avviso where companyId = ? and groupId = ? and protocollo = ? or returns null if it could not be found. Uses the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoAvviso fetchByC_G_Protocollo( - long companyId, long groupId, java.lang.String protocollo) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo avviso where companyId = ? and groupId = ? and protocollo = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoAvviso fetchByC_G_Protocollo( - long companyId, long groupId, java.lang.String protocollo, - boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo avviso where companyId = ? and groupId = ? and protocollo = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the bo avviso that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoAvviso removeByC_G_Protocollo( - long companyId, long groupId, java.lang.String protocollo) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException; - - /** - * Returns the number of bo avvisos where companyId = ? and groupId = ? and protocollo = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public int countByC_G_Protocollo(long companyId, long groupId, - java.lang.String protocollo) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the bo avviso in the entity cache if it is enabled. - * - * @param boAvviso the bo avviso - */ - public void cacheResult( - it.tref.liferay.portos.importazione.model.BoAvviso boAvviso); - - /** - * Caches the bo avvisos in the entity cache if it is enabled. - * - * @param boAvvisos the bo avvisos - */ - public void cacheResult( - java.util.List boAvvisos); - - /** - * Creates a new bo avviso with the primary key. Does not add the bo avviso to the database. - * - * @param avvisoId the primary key for the new bo avviso - * @return the new bo avviso - */ - public it.tref.liferay.portos.importazione.model.BoAvviso create( - long avvisoId); - - /** - * Removes the bo avviso with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param avvisoId the primary key of the bo avviso - * @return the bo avviso that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoAvviso remove( - long avvisoId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException; - - public it.tref.liferay.portos.importazione.model.BoAvviso updateImpl( - it.tref.liferay.portos.importazione.model.BoAvviso boAvviso) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo avviso with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoAvvisoException} if it could not be found. - * - * @param avvisoId the primary key of the bo avviso - * @return the bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoAvviso findByPrimaryKey( - long avvisoId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException; - - /** - * Returns the bo avviso with the primary key or returns null if it could not be found. - * - * @param avvisoId the primary key of the bo avviso - * @return the bo avviso, or null if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoAvviso fetchByPrimaryKey( - long avvisoId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo avvisos. - * - * @return the bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo avvisos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo avvisos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the bo avvisos from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo avvisos. - * - * @return the number of bo avvisos - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoAvvisoUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoAvvisoUtil.java deleted file mode 100644 index 797e37e9..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoAvvisoUtil.java +++ /dev/null @@ -1,1401 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.importazione.model.BoAvviso; - -import java.util.List; - -/** - * The persistence utility for the bo avviso service. This utility wraps {@link BoAvvisoPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoAvvisoPersistence - * @see BoAvvisoPersistenceImpl - * @generated - */ -public class BoAvvisoUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(BoAvviso boAvviso) { - getPersistence().clearCache(boAvviso); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static BoAvviso update(BoAvviso boAvviso) throws SystemException { - return getPersistence().update(boAvviso); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static BoAvviso update(BoAvviso boAvviso, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(boAvviso, serviceContext); - } - - /** - * Returns all the bo avvisos where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid); - } - - /** - * Returns a range of all the bo avvisos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end); - } - - /** - * Returns an ordered range of all the bo avvisos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end, orderByComparator); - } - - /** - * Returns the first bo avviso in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException { - return getPersistence().findByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the first bo avviso in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the last bo avviso in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException { - return getPersistence().findByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the last bo avviso in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the bo avvisos before and after the current bo avviso in the ordered set where uuid = ?. - * - * @param avvisoId the primary key of the current bo avviso - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso[] findByUuid_PrevAndNext( - long avvisoId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException { - return getPersistence() - .findByUuid_PrevAndNext(avvisoId, uuid, orderByComparator); - } - - /** - * Removes all the bo avvisos where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid(uuid); - } - - /** - * Returns the number of bo avvisos where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid(uuid); - } - - /** - * Returns the bo avviso where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoAvvisoException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException { - return getPersistence().findByUUID_G(uuid, groupId); - } - - /** - * Returns the bo avviso where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the bo avviso where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache); - } - - /** - * Removes the bo avviso where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo avviso that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException { - return getPersistence().removeByUUID_G(uuid, groupId); - } - - /** - * Returns the number of bo avvisos where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUUID_G(uuid, groupId); - } - - /** - * Returns all the bo avvisos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId); - } - - /** - * Returns a range of all the bo avvisos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId, start, end); - } - - /** - * Returns an ordered range of all the bo avvisos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByUuid_C(uuid, companyId, start, end, orderByComparator); - } - - /** - * Returns the first bo avviso in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException { - return getPersistence() - .findByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the first bo avviso in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the last bo avviso in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException { - return getPersistence() - .findByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the last bo avviso in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the bo avvisos before and after the current bo avviso in the ordered set where uuid = ? and companyId = ?. - * - * @param avvisoId the primary key of the current bo avviso - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso[] findByUuid_C_PrevAndNext( - long avvisoId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException { - return getPersistence() - .findByUuid_C_PrevAndNext(avvisoId, uuid, companyId, - orderByComparator); - } - - /** - * Removes all the bo avvisos where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid_C(uuid, companyId); - } - - /** - * Returns the number of bo avvisos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid_C(uuid, companyId); - } - - /** - * Returns all the bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @return the matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findBydettPraticaId_tipoDocumento( - long dettPraticaId, java.lang.String tipoDocumento) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findBydettPraticaId_tipoDocumento(dettPraticaId, - tipoDocumento); - } - - /** - * Returns a range of all the bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findBydettPraticaId_tipoDocumento( - long dettPraticaId, java.lang.String tipoDocumento, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findBydettPraticaId_tipoDocumento(dettPraticaId, - tipoDocumento, start, end); - } - - /** - * Returns an ordered range of all the bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findBydettPraticaId_tipoDocumento( - long dettPraticaId, java.lang.String tipoDocumento, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findBydettPraticaId_tipoDocumento(dettPraticaId, - tipoDocumento, start, end, orderByComparator); - } - - /** - * Returns the first bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso findBydettPraticaId_tipoDocumento_First( - long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException { - return getPersistence() - .findBydettPraticaId_tipoDocumento_First(dettPraticaId, - tipoDocumento, orderByComparator); - } - - /** - * Returns the first bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso fetchBydettPraticaId_tipoDocumento_First( - long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchBydettPraticaId_tipoDocumento_First(dettPraticaId, - tipoDocumento, orderByComparator); - } - - /** - * Returns the last bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso findBydettPraticaId_tipoDocumento_Last( - long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException { - return getPersistence() - .findBydettPraticaId_tipoDocumento_Last(dettPraticaId, - tipoDocumento, orderByComparator); - } - - /** - * Returns the last bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso fetchBydettPraticaId_tipoDocumento_Last( - long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchBydettPraticaId_tipoDocumento_Last(dettPraticaId, - tipoDocumento, orderByComparator); - } - - /** - * Returns the bo avvisos before and after the current bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param avvisoId the primary key of the current bo avviso - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso[] findBydettPraticaId_tipoDocumento_PrevAndNext( - long avvisoId, long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException { - return getPersistence() - .findBydettPraticaId_tipoDocumento_PrevAndNext(avvisoId, - dettPraticaId, tipoDocumento, orderByComparator); - } - - /** - * Removes all the bo avvisos where dettPraticaId = ? and tipoDocumento = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @throws SystemException if a system exception occurred - */ - public static void removeBydettPraticaId_tipoDocumento(long dettPraticaId, - java.lang.String tipoDocumento) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeBydettPraticaId_tipoDocumento(dettPraticaId, tipoDocumento); - } - - /** - * Returns the number of bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static int countBydettPraticaId_tipoDocumento(long dettPraticaId, - java.lang.String tipoDocumento) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countBydettPraticaId_tipoDocumento(dettPraticaId, - tipoDocumento); - } - - /** - * Returns all the bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @return the matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findBydettPraticaIds_tipoDocumento( - long dettPraticaId, java.lang.String tipoDocumento) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findBydettPraticaIds_tipoDocumento(dettPraticaId, - tipoDocumento); - } - - /** - * Returns a range of all the bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findBydettPraticaIds_tipoDocumento( - long dettPraticaId, java.lang.String tipoDocumento, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findBydettPraticaIds_tipoDocumento(dettPraticaId, - tipoDocumento, start, end); - } - - /** - * Returns an ordered range of all the bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findBydettPraticaIds_tipoDocumento( - long dettPraticaId, java.lang.String tipoDocumento, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findBydettPraticaIds_tipoDocumento(dettPraticaId, - tipoDocumento, start, end, orderByComparator); - } - - /** - * Returns the first bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso findBydettPraticaIds_tipoDocumento_First( - long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException { - return getPersistence() - .findBydettPraticaIds_tipoDocumento_First(dettPraticaId, - tipoDocumento, orderByComparator); - } - - /** - * Returns the first bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso fetchBydettPraticaIds_tipoDocumento_First( - long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchBydettPraticaIds_tipoDocumento_First(dettPraticaId, - tipoDocumento, orderByComparator); - } - - /** - * Returns the last bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso findBydettPraticaIds_tipoDocumento_Last( - long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException { - return getPersistence() - .findBydettPraticaIds_tipoDocumento_Last(dettPraticaId, - tipoDocumento, orderByComparator); - } - - /** - * Returns the last bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso fetchBydettPraticaIds_tipoDocumento_Last( - long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchBydettPraticaIds_tipoDocumento_Last(dettPraticaId, - tipoDocumento, orderByComparator); - } - - /** - * Returns the bo avvisos before and after the current bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param avvisoId the primary key of the current bo avviso - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso[] findBydettPraticaIds_tipoDocumento_PrevAndNext( - long avvisoId, long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException { - return getPersistence() - .findBydettPraticaIds_tipoDocumento_PrevAndNext(avvisoId, - dettPraticaId, tipoDocumento, orderByComparator); - } - - /** - * Returns all the bo avvisos where dettPraticaId = any ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaIds the dett pratica IDs - * @param tipoDocumento the tipo documento - * @return the matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findBydettPraticaIds_tipoDocumento( - long[] dettPraticaIds, java.lang.String tipoDocumento) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findBydettPraticaIds_tipoDocumento(dettPraticaIds, - tipoDocumento); - } - - /** - * Returns a range of all the bo avvisos where dettPraticaId = any ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaIds the dett pratica IDs - * @param tipoDocumento the tipo documento - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findBydettPraticaIds_tipoDocumento( - long[] dettPraticaIds, java.lang.String tipoDocumento, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findBydettPraticaIds_tipoDocumento(dettPraticaIds, - tipoDocumento, start, end); - } - - /** - * Returns an ordered range of all the bo avvisos where dettPraticaId = any ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaIds the dett pratica IDs - * @param tipoDocumento the tipo documento - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findBydettPraticaIds_tipoDocumento( - long[] dettPraticaIds, java.lang.String tipoDocumento, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findBydettPraticaIds_tipoDocumento(dettPraticaIds, - tipoDocumento, start, end, orderByComparator); - } - - /** - * Removes all the bo avvisos where dettPraticaId = ? and tipoDocumento = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @throws SystemException if a system exception occurred - */ - public static void removeBydettPraticaIds_tipoDocumento( - long dettPraticaId, java.lang.String tipoDocumento) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeBydettPraticaIds_tipoDocumento(dettPraticaId, tipoDocumento); - } - - /** - * Returns the number of bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static int countBydettPraticaIds_tipoDocumento(long dettPraticaId, - java.lang.String tipoDocumento) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countBydettPraticaIds_tipoDocumento(dettPraticaId, - tipoDocumento); - } - - /** - * Returns the number of bo avvisos where dettPraticaId = any ? and tipoDocumento = ?. - * - * @param dettPraticaIds the dett pratica IDs - * @param tipoDocumento the tipo documento - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static int countBydettPraticaIds_tipoDocumento( - long[] dettPraticaIds, java.lang.String tipoDocumento) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countBydettPraticaIds_tipoDocumento(dettPraticaIds, - tipoDocumento); - } - - /** - * Returns all the bo avvisos where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByDettPratica(dettPraticaId); - } - - /** - * Returns a range of all the bo avvisos where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica( - long dettPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByDettPratica(dettPraticaId, start, end); - } - - /** - * Returns an ordered range of all the bo avvisos where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica( - long dettPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica(dettPraticaId, start, end, - orderByComparator); - } - - /** - * Returns the first bo avviso in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso findByDettPratica_First( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException { - return getPersistence() - .findByDettPratica_First(dettPraticaId, orderByComparator); - } - - /** - * Returns the first bo avviso in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso fetchByDettPratica_First( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPratica_First(dettPraticaId, orderByComparator); - } - - /** - * Returns the last bo avviso in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso findByDettPratica_Last( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException { - return getPersistence() - .findByDettPratica_Last(dettPraticaId, orderByComparator); - } - - /** - * Returns the last bo avviso in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso fetchByDettPratica_Last( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPratica_Last(dettPraticaId, orderByComparator); - } - - /** - * Returns the bo avvisos before and after the current bo avviso in the ordered set where dettPraticaId = ?. - * - * @param avvisoId the primary key of the current bo avviso - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso[] findByDettPratica_PrevAndNext( - long avvisoId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException { - return getPersistence() - .findByDettPratica_PrevAndNext(avvisoId, dettPraticaId, - orderByComparator); - } - - /** - * Removes all the bo avvisos where dettPraticaId = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - public static void removeByDettPratica(long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByDettPratica(dettPraticaId); - } - - /** - * Returns the number of bo avvisos where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static int countByDettPratica(long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByDettPratica(dettPraticaId); - } - - /** - * Returns the bo avviso where companyId = ? and groupId = ? and protocollo = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoAvvisoException} if it could not be found. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the matching bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso findByC_G_Protocollo( - long companyId, long groupId, java.lang.String protocollo) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException { - return getPersistence() - .findByC_G_Protocollo(companyId, groupId, protocollo); - } - - /** - * Returns the bo avviso where companyId = ? and groupId = ? and protocollo = ? or returns null if it could not be found. Uses the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso fetchByC_G_Protocollo( - long companyId, long groupId, java.lang.String protocollo) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_G_Protocollo(companyId, groupId, protocollo); - } - - /** - * Returns the bo avviso where companyId = ? and groupId = ? and protocollo = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso fetchByC_G_Protocollo( - long companyId, long groupId, java.lang.String protocollo, - boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_G_Protocollo(companyId, groupId, protocollo, - retrieveFromCache); - } - - /** - * Removes the bo avviso where companyId = ? and groupId = ? and protocollo = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the bo avviso that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso removeByC_G_Protocollo( - long companyId, long groupId, java.lang.String protocollo) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException { - return getPersistence() - .removeByC_G_Protocollo(companyId, groupId, protocollo); - } - - /** - * Returns the number of bo avvisos where companyId = ? and groupId = ? and protocollo = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static int countByC_G_Protocollo(long companyId, long groupId, - java.lang.String protocollo) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByC_G_Protocollo(companyId, groupId, protocollo); - } - - /** - * Caches the bo avviso in the entity cache if it is enabled. - * - * @param boAvviso the bo avviso - */ - public static void cacheResult( - it.tref.liferay.portos.importazione.model.BoAvviso boAvviso) { - getPersistence().cacheResult(boAvviso); - } - - /** - * Caches the bo avvisos in the entity cache if it is enabled. - * - * @param boAvvisos the bo avvisos - */ - public static void cacheResult( - java.util.List boAvvisos) { - getPersistence().cacheResult(boAvvisos); - } - - /** - * Creates a new bo avviso with the primary key. Does not add the bo avviso to the database. - * - * @param avvisoId the primary key for the new bo avviso - * @return the new bo avviso - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso create( - long avvisoId) { - return getPersistence().create(avvisoId); - } - - /** - * Removes the bo avviso with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param avvisoId the primary key of the bo avviso - * @return the bo avviso that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso remove( - long avvisoId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException { - return getPersistence().remove(avvisoId); - } - - public static it.tref.liferay.portos.importazione.model.BoAvviso updateImpl( - it.tref.liferay.portos.importazione.model.BoAvviso boAvviso) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(boAvviso); - } - - /** - * Returns the bo avviso with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoAvvisoException} if it could not be found. - * - * @param avvisoId the primary key of the bo avviso - * @return the bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso findByPrimaryKey( - long avvisoId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoAvvisoException { - return getPersistence().findByPrimaryKey(avvisoId); - } - - /** - * Returns the bo avviso with the primary key or returns null if it could not be found. - * - * @param avvisoId the primary key of the bo avviso - * @return the bo avviso, or null if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoAvviso fetchByPrimaryKey( - long avvisoId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(avvisoId); - } - - /** - * Returns all the bo avvisos. - * - * @return the bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the bo avvisos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the bo avvisos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the bo avvisos from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of bo avvisos. - * - * @return the number of bo avvisos - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static BoAvvisoPersistence getPersistence() { - if (_persistence == null) { - _persistence = (BoAvvisoPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - BoAvvisoPersistence.class.getName()); - - ReferenceRegistry.registerReference(BoAvvisoUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(BoAvvisoPersistence persistence) { - } - - private static BoAvvisoPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoComuneActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoComuneActionableDynamicQuery.java deleted file mode 100644 index 7c072203..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoComuneActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.BoComune; -import it.tref.liferay.portos.importazione.service.BoComuneLocalServiceUtil; - -/** - * @author 3FC - * @generated - */ -public abstract class BoComuneActionableDynamicQuery - extends BaseActionableDynamicQuery { - public BoComuneActionableDynamicQuery() throws SystemException { - setBaseLocalService(BoComuneLocalServiceUtil.getService()); - setClass(BoComune.class); - - setClassLoader(it.tref.liferay.portos.importazione.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("comuneId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoComunePersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoComunePersistence.java deleted file mode 100644 index 760de811..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoComunePersistence.java +++ /dev/null @@ -1,281 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.importazione.model.BoComune; - -/** - * The persistence interface for the bo comune service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoComunePersistenceImpl - * @see BoComuneUtil - * @generated - */ -public interface BoComunePersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoComuneUtil} to access the bo comune persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns the bo comune where codIstat = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoComuneException} if it could not be found. - * - * @param codIstat the cod istat - * @return the matching bo comune - * @throws it.tref.liferay.portos.importazione.NoSuchBoComuneException if a matching bo comune could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoComune findByCodIstat( - java.lang.String codIstat) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoComuneException; - - /** - * Returns the bo comune where codIstat = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codIstat the cod istat - * @return the matching bo comune, or null if a matching bo comune could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoComune fetchByCodIstat( - java.lang.String codIstat) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo comune where codIstat = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codIstat the cod istat - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo comune, or null if a matching bo comune could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoComune fetchByCodIstat( - java.lang.String codIstat, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo comune where codIstat = ? from the database. - * - * @param codIstat the cod istat - * @return the bo comune that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoComune removeByCodIstat( - java.lang.String codIstat) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoComuneException; - - /** - * Returns the number of bo comunes where codIstat = ?. - * - * @param codIstat the cod istat - * @return the number of matching bo comunes - * @throws SystemException if a system exception occurred - */ - public int countByCodIstat(java.lang.String codIstat) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo comune where codCatastale = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoComuneException} if it could not be found. - * - * @param codCatastale the cod catastale - * @return the matching bo comune - * @throws it.tref.liferay.portos.importazione.NoSuchBoComuneException if a matching bo comune could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoComune findByCodCatastale( - java.lang.String codCatastale) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoComuneException; - - /** - * Returns the bo comune where codCatastale = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codCatastale the cod catastale - * @return the matching bo comune, or null if a matching bo comune could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoComune fetchByCodCatastale( - java.lang.String codCatastale) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo comune where codCatastale = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codCatastale the cod catastale - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo comune, or null if a matching bo comune could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoComune fetchByCodCatastale( - java.lang.String codCatastale, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo comune where codCatastale = ? from the database. - * - * @param codCatastale the cod catastale - * @return the bo comune that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoComune removeByCodCatastale( - java.lang.String codCatastale) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoComuneException; - - /** - * Returns the number of bo comunes where codCatastale = ?. - * - * @param codCatastale the cod catastale - * @return the number of matching bo comunes - * @throws SystemException if a system exception occurred - */ - public int countByCodCatastale(java.lang.String codCatastale) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the bo comune in the entity cache if it is enabled. - * - * @param boComune the bo comune - */ - public void cacheResult( - it.tref.liferay.portos.importazione.model.BoComune boComune); - - /** - * Caches the bo comunes in the entity cache if it is enabled. - * - * @param boComunes the bo comunes - */ - public void cacheResult( - java.util.List boComunes); - - /** - * Creates a new bo comune with the primary key. Does not add the bo comune to the database. - * - * @param comuneId the primary key for the new bo comune - * @return the new bo comune - */ - public it.tref.liferay.portos.importazione.model.BoComune create( - long comuneId); - - /** - * Removes the bo comune with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param comuneId the primary key of the bo comune - * @return the bo comune that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoComuneException if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoComune remove( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoComuneException; - - public it.tref.liferay.portos.importazione.model.BoComune updateImpl( - it.tref.liferay.portos.importazione.model.BoComune boComune) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo comune with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoComuneException} if it could not be found. - * - * @param comuneId the primary key of the bo comune - * @return the bo comune - * @throws it.tref.liferay.portos.importazione.NoSuchBoComuneException if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoComune findByPrimaryKey( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoComuneException; - - /** - * Returns the bo comune with the primary key or returns null if it could not be found. - * - * @param comuneId the primary key of the bo comune - * @return the bo comune, or null if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoComune fetchByPrimaryKey( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo comunes. - * - * @return the bo comunes - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo comunes - * @param end the upper bound of the range of bo comunes (not inclusive) - * @return the range of bo comunes - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo comunes - * @param end the upper bound of the range of bo comunes (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo comunes - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the bo comunes from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo comunes. - * - * @return the number of bo comunes - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoComuneUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoComuneUtil.java deleted file mode 100644 index c4dd5b02..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoComuneUtil.java +++ /dev/null @@ -1,418 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.importazione.model.BoComune; - -import java.util.List; - -/** - * The persistence utility for the bo comune service. This utility wraps {@link BoComunePersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoComunePersistence - * @see BoComunePersistenceImpl - * @generated - */ -public class BoComuneUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(BoComune boComune) { - getPersistence().clearCache(boComune); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static BoComune update(BoComune boComune) throws SystemException { - return getPersistence().update(boComune); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static BoComune update(BoComune boComune, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(boComune, serviceContext); - } - - /** - * Returns the bo comune where codIstat = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoComuneException} if it could not be found. - * - * @param codIstat the cod istat - * @return the matching bo comune - * @throws it.tref.liferay.portos.importazione.NoSuchBoComuneException if a matching bo comune could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoComune findByCodIstat( - java.lang.String codIstat) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoComuneException { - return getPersistence().findByCodIstat(codIstat); - } - - /** - * Returns the bo comune where codIstat = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codIstat the cod istat - * @return the matching bo comune, or null if a matching bo comune could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoComune fetchByCodIstat( - java.lang.String codIstat) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByCodIstat(codIstat); - } - - /** - * Returns the bo comune where codIstat = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codIstat the cod istat - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo comune, or null if a matching bo comune could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoComune fetchByCodIstat( - java.lang.String codIstat, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByCodIstat(codIstat, retrieveFromCache); - } - - /** - * Removes the bo comune where codIstat = ? from the database. - * - * @param codIstat the cod istat - * @return the bo comune that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoComune removeByCodIstat( - java.lang.String codIstat) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoComuneException { - return getPersistence().removeByCodIstat(codIstat); - } - - /** - * Returns the number of bo comunes where codIstat = ?. - * - * @param codIstat the cod istat - * @return the number of matching bo comunes - * @throws SystemException if a system exception occurred - */ - public static int countByCodIstat(java.lang.String codIstat) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByCodIstat(codIstat); - } - - /** - * Returns the bo comune where codCatastale = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoComuneException} if it could not be found. - * - * @param codCatastale the cod catastale - * @return the matching bo comune - * @throws it.tref.liferay.portos.importazione.NoSuchBoComuneException if a matching bo comune could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoComune findByCodCatastale( - java.lang.String codCatastale) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoComuneException { - return getPersistence().findByCodCatastale(codCatastale); - } - - /** - * Returns the bo comune where codCatastale = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codCatastale the cod catastale - * @return the matching bo comune, or null if a matching bo comune could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoComune fetchByCodCatastale( - java.lang.String codCatastale) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByCodCatastale(codCatastale); - } - - /** - * Returns the bo comune where codCatastale = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codCatastale the cod catastale - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo comune, or null if a matching bo comune could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoComune fetchByCodCatastale( - java.lang.String codCatastale, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByCodCatastale(codCatastale, retrieveFromCache); - } - - /** - * Removes the bo comune where codCatastale = ? from the database. - * - * @param codCatastale the cod catastale - * @return the bo comune that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoComune removeByCodCatastale( - java.lang.String codCatastale) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoComuneException { - return getPersistence().removeByCodCatastale(codCatastale); - } - - /** - * Returns the number of bo comunes where codCatastale = ?. - * - * @param codCatastale the cod catastale - * @return the number of matching bo comunes - * @throws SystemException if a system exception occurred - */ - public static int countByCodCatastale(java.lang.String codCatastale) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByCodCatastale(codCatastale); - } - - /** - * Caches the bo comune in the entity cache if it is enabled. - * - * @param boComune the bo comune - */ - public static void cacheResult( - it.tref.liferay.portos.importazione.model.BoComune boComune) { - getPersistence().cacheResult(boComune); - } - - /** - * Caches the bo comunes in the entity cache if it is enabled. - * - * @param boComunes the bo comunes - */ - public static void cacheResult( - java.util.List boComunes) { - getPersistence().cacheResult(boComunes); - } - - /** - * Creates a new bo comune with the primary key. Does not add the bo comune to the database. - * - * @param comuneId the primary key for the new bo comune - * @return the new bo comune - */ - public static it.tref.liferay.portos.importazione.model.BoComune create( - long comuneId) { - return getPersistence().create(comuneId); - } - - /** - * Removes the bo comune with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param comuneId the primary key of the bo comune - * @return the bo comune that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoComuneException if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoComune remove( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoComuneException { - return getPersistence().remove(comuneId); - } - - public static it.tref.liferay.portos.importazione.model.BoComune updateImpl( - it.tref.liferay.portos.importazione.model.BoComune boComune) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(boComune); - } - - /** - * Returns the bo comune with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoComuneException} if it could not be found. - * - * @param comuneId the primary key of the bo comune - * @return the bo comune - * @throws it.tref.liferay.portos.importazione.NoSuchBoComuneException if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoComune findByPrimaryKey( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoComuneException { - return getPersistence().findByPrimaryKey(comuneId); - } - - /** - * Returns the bo comune with the primary key or returns null if it could not be found. - * - * @param comuneId the primary key of the bo comune - * @return the bo comune, or null if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoComune fetchByPrimaryKey( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(comuneId); - } - - /** - * Returns all the bo comunes. - * - * @return the bo comunes - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the bo comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo comunes - * @param end the upper bound of the range of bo comunes (not inclusive) - * @return the range of bo comunes - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the bo comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo comunes - * @param end the upper bound of the range of bo comunes (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo comunes - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the bo comunes from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of bo comunes. - * - * @return the number of bo comunes - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static BoComunePersistence getPersistence() { - if (_persistence == null) { - _persistence = (BoComunePersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - BoComunePersistence.class.getName()); - - ReferenceRegistry.registerReference(BoComuneUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(BoComunePersistence persistence) { - } - - private static BoComunePersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoConfigurazioneActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoConfigurazioneActionableDynamicQuery.java deleted file mode 100644 index 8f3361e2..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoConfigurazioneActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.BoConfigurazione; -import it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalServiceUtil; - -/** - * @author 3FC - * @generated - */ -public abstract class BoConfigurazioneActionableDynamicQuery - extends BaseActionableDynamicQuery { - public BoConfigurazioneActionableDynamicQuery() throws SystemException { - setBaseLocalService(BoConfigurazioneLocalServiceUtil.getService()); - setClass(BoConfigurazione.class); - - setClassLoader(it.tref.liferay.portos.importazione.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("configurazioneId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoConfigurazioneExportActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoConfigurazioneExportActionableDynamicQuery.java deleted file mode 100644 index db13c96e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoConfigurazioneExportActionableDynamicQuery.java +++ /dev/null @@ -1,85 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.ExportImportHelperUtil; -import com.liferay.portal.kernel.lar.ManifestSummary; -import com.liferay.portal.kernel.lar.PortletDataContext; -import com.liferay.portal.kernel.lar.StagedModelDataHandlerUtil; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.model.BoConfigurazione; - -/** - * @author 3FC - * @generated - */ -public class BoConfigurazioneExportActionableDynamicQuery - extends BoConfigurazioneActionableDynamicQuery { - public BoConfigurazioneExportActionableDynamicQuery( - PortletDataContext portletDataContext) throws SystemException { - _portletDataContext = portletDataContext; - - setCompanyId(_portletDataContext.getCompanyId()); - - setGroupId(_portletDataContext.getScopeGroupId()); - } - - @Override - public long performCount() throws PortalException, SystemException { - ManifestSummary manifestSummary = _portletDataContext.getManifestSummary(); - - StagedModelType stagedModelType = getStagedModelType(); - - long modelAdditionCount = super.performCount(); - - manifestSummary.addModelAdditionCount(stagedModelType.toString(), - modelAdditionCount); - - long modelDeletionCount = ExportImportHelperUtil.getModelDeletionCount(_portletDataContext, - stagedModelType); - - manifestSummary.addModelDeletionCount(stagedModelType.toString(), - modelDeletionCount); - - return modelAdditionCount; - } - - @Override - protected void addCriteria(DynamicQuery dynamicQuery) { - _portletDataContext.addDateRangeCriteria(dynamicQuery, "modifiedDate"); - } - - protected StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoConfigurazione.class.getName())); - } - - @Override - @SuppressWarnings("unused") - protected void performAction(Object object) - throws PortalException, SystemException { - BoConfigurazione stagedModel = (BoConfigurazione)object; - - StagedModelDataHandlerUtil.exportStagedModel(_portletDataContext, - stagedModel); - } - - private PortletDataContext _portletDataContext; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoConfigurazionePersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoConfigurazionePersistence.java deleted file mode 100644 index 5da39c8e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoConfigurazionePersistence.java +++ /dev/null @@ -1,584 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.importazione.model.BoConfigurazione; - -/** - * The persistence interface for the bo configurazione service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoConfigurazionePersistenceImpl - * @see BoConfigurazioneUtil - * @generated - */ -public interface BoConfigurazionePersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoConfigurazioneUtil} to access the bo configurazione persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns all the bo configuraziones where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo configuraziones - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo configuraziones where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo configuraziones - * @param end the upper bound of the range of bo configuraziones (not inclusive) - * @return the range of matching bo configuraziones - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo configuraziones where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo configuraziones - * @param end the upper bound of the range of bo configuraziones (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo configuraziones - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo configurazione in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo configurazione - * @throws it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoConfigurazione findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException; - - /** - * Returns the first bo configurazione in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo configurazione, or null if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoConfigurazione fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo configurazione in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo configurazione - * @throws it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoConfigurazione findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException; - - /** - * Returns the last bo configurazione in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo configurazione, or null if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoConfigurazione fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo configuraziones before and after the current bo configurazione in the ordered set where uuid = ?. - * - * @param configurazioneId the primary key of the current bo configurazione - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo configurazione - * @throws it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException if a bo configurazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoConfigurazione[] findByUuid_PrevAndNext( - long configurazioneId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException; - - /** - * Removes all the bo configuraziones where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo configuraziones where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo configuraziones - * @throws SystemException if a system exception occurred - */ - public int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo configurazione where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo configurazione - * @throws it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoConfigurazione findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException; - - /** - * Returns the bo configurazione where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo configurazione, or null if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoConfigurazione fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo configurazione where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo configurazione, or null if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoConfigurazione fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo configurazione where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo configurazione that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoConfigurazione removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException; - - /** - * Returns the number of bo configuraziones where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo configuraziones - * @throws SystemException if a system exception occurred - */ - public int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo configuraziones where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo configuraziones - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo configuraziones where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo configuraziones - * @param end the upper bound of the range of bo configuraziones (not inclusive) - * @return the range of matching bo configuraziones - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo configuraziones where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo configuraziones - * @param end the upper bound of the range of bo configuraziones (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo configuraziones - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo configurazione in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo configurazione - * @throws it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoConfigurazione findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException; - - /** - * Returns the first bo configurazione in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo configurazione, or null if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoConfigurazione fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo configurazione in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo configurazione - * @throws it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoConfigurazione findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException; - - /** - * Returns the last bo configurazione in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo configurazione, or null if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoConfigurazione fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo configuraziones before and after the current bo configurazione in the ordered set where uuid = ? and companyId = ?. - * - * @param configurazioneId the primary key of the current bo configurazione - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo configurazione - * @throws it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException if a bo configurazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoConfigurazione[] findByUuid_C_PrevAndNext( - long configurazioneId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException; - - /** - * Removes all the bo configuraziones where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo configuraziones where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo configuraziones - * @throws SystemException if a system exception occurred - */ - public int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo configurazione where companyId = ? and groupId = ? and chiave = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException} if it could not be found. - * - * @param companyId the company ID - * @param groupId the group ID - * @param chiave the chiave - * @return the matching bo configurazione - * @throws it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoConfigurazione findByC_G_Chiave( - long companyId, long groupId, java.lang.String chiave) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException; - - /** - * Returns the bo configurazione where companyId = ? and groupId = ? and chiave = ? or returns null if it could not be found. Uses the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param chiave the chiave - * @return the matching bo configurazione, or null if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoConfigurazione fetchByC_G_Chiave( - long companyId, long groupId, java.lang.String chiave) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo configurazione where companyId = ? and groupId = ? and chiave = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param chiave the chiave - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo configurazione, or null if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoConfigurazione fetchByC_G_Chiave( - long companyId, long groupId, java.lang.String chiave, - boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo configurazione where companyId = ? and groupId = ? and chiave = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param chiave the chiave - * @return the bo configurazione that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoConfigurazione removeByC_G_Chiave( - long companyId, long groupId, java.lang.String chiave) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException; - - /** - * Returns the number of bo configuraziones where companyId = ? and groupId = ? and chiave = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param chiave the chiave - * @return the number of matching bo configuraziones - * @throws SystemException if a system exception occurred - */ - public int countByC_G_Chiave(long companyId, long groupId, - java.lang.String chiave) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the bo configurazione in the entity cache if it is enabled. - * - * @param boConfigurazione the bo configurazione - */ - public void cacheResult( - it.tref.liferay.portos.importazione.model.BoConfigurazione boConfigurazione); - - /** - * Caches the bo configuraziones in the entity cache if it is enabled. - * - * @param boConfiguraziones the bo configuraziones - */ - public void cacheResult( - java.util.List boConfiguraziones); - - /** - * Creates a new bo configurazione with the primary key. Does not add the bo configurazione to the database. - * - * @param configurazioneId the primary key for the new bo configurazione - * @return the new bo configurazione - */ - public it.tref.liferay.portos.importazione.model.BoConfigurazione create( - long configurazioneId); - - /** - * Removes the bo configurazione with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param configurazioneId the primary key of the bo configurazione - * @return the bo configurazione that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException if a bo configurazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoConfigurazione remove( - long configurazioneId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException; - - public it.tref.liferay.portos.importazione.model.BoConfigurazione updateImpl( - it.tref.liferay.portos.importazione.model.BoConfigurazione boConfigurazione) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo configurazione with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException} if it could not be found. - * - * @param configurazioneId the primary key of the bo configurazione - * @return the bo configurazione - * @throws it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException if a bo configurazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoConfigurazione findByPrimaryKey( - long configurazioneId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException; - - /** - * Returns the bo configurazione with the primary key or returns null if it could not be found. - * - * @param configurazioneId the primary key of the bo configurazione - * @return the bo configurazione, or null if a bo configurazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoConfigurazione fetchByPrimaryKey( - long configurazioneId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo configuraziones. - * - * @return the bo configuraziones - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo configuraziones. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo configuraziones - * @param end the upper bound of the range of bo configuraziones (not inclusive) - * @return the range of bo configuraziones - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo configuraziones. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo configuraziones - * @param end the upper bound of the range of bo configuraziones (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo configuraziones - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the bo configuraziones from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo configuraziones. - * - * @return the number of bo configuraziones - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoConfigurazioneUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoConfigurazioneUtil.java deleted file mode 100644 index 3f82e02b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoConfigurazioneUtil.java +++ /dev/null @@ -1,772 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.importazione.model.BoConfigurazione; - -import java.util.List; - -/** - * The persistence utility for the bo configurazione service. This utility wraps {@link BoConfigurazionePersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoConfigurazionePersistence - * @see BoConfigurazionePersistenceImpl - * @generated - */ -public class BoConfigurazioneUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(BoConfigurazione boConfigurazione) { - getPersistence().clearCache(boConfigurazione); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static BoConfigurazione update(BoConfigurazione boConfigurazione) - throws SystemException { - return getPersistence().update(boConfigurazione); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static BoConfigurazione update(BoConfigurazione boConfigurazione, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(boConfigurazione, serviceContext); - } - - /** - * Returns all the bo configuraziones where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo configuraziones - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid); - } - - /** - * Returns a range of all the bo configuraziones where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo configuraziones - * @param end the upper bound of the range of bo configuraziones (not inclusive) - * @return the range of matching bo configuraziones - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end); - } - - /** - * Returns an ordered range of all the bo configuraziones where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo configuraziones - * @param end the upper bound of the range of bo configuraziones (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo configuraziones - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end, orderByComparator); - } - - /** - * Returns the first bo configurazione in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo configurazione - * @throws it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoConfigurazione findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException { - return getPersistence().findByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the first bo configurazione in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo configurazione, or null if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoConfigurazione fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the last bo configurazione in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo configurazione - * @throws it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoConfigurazione findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException { - return getPersistence().findByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the last bo configurazione in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo configurazione, or null if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoConfigurazione fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the bo configuraziones before and after the current bo configurazione in the ordered set where uuid = ?. - * - * @param configurazioneId the primary key of the current bo configurazione - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo configurazione - * @throws it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException if a bo configurazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoConfigurazione[] findByUuid_PrevAndNext( - long configurazioneId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException { - return getPersistence() - .findByUuid_PrevAndNext(configurazioneId, uuid, - orderByComparator); - } - - /** - * Removes all the bo configuraziones where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid(uuid); - } - - /** - * Returns the number of bo configuraziones where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo configuraziones - * @throws SystemException if a system exception occurred - */ - public static int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid(uuid); - } - - /** - * Returns the bo configurazione where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo configurazione - * @throws it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoConfigurazione findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException { - return getPersistence().findByUUID_G(uuid, groupId); - } - - /** - * Returns the bo configurazione where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo configurazione, or null if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoConfigurazione fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the bo configurazione where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo configurazione, or null if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoConfigurazione fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache); - } - - /** - * Removes the bo configurazione where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo configurazione that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoConfigurazione removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException { - return getPersistence().removeByUUID_G(uuid, groupId); - } - - /** - * Returns the number of bo configuraziones where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo configuraziones - * @throws SystemException if a system exception occurred - */ - public static int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUUID_G(uuid, groupId); - } - - /** - * Returns all the bo configuraziones where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo configuraziones - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId); - } - - /** - * Returns a range of all the bo configuraziones where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo configuraziones - * @param end the upper bound of the range of bo configuraziones (not inclusive) - * @return the range of matching bo configuraziones - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId, start, end); - } - - /** - * Returns an ordered range of all the bo configuraziones where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo configuraziones - * @param end the upper bound of the range of bo configuraziones (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo configuraziones - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByUuid_C(uuid, companyId, start, end, orderByComparator); - } - - /** - * Returns the first bo configurazione in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo configurazione - * @throws it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoConfigurazione findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException { - return getPersistence() - .findByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the first bo configurazione in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo configurazione, or null if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoConfigurazione fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the last bo configurazione in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo configurazione - * @throws it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoConfigurazione findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException { - return getPersistence() - .findByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the last bo configurazione in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo configurazione, or null if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoConfigurazione fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the bo configuraziones before and after the current bo configurazione in the ordered set where uuid = ? and companyId = ?. - * - * @param configurazioneId the primary key of the current bo configurazione - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo configurazione - * @throws it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException if a bo configurazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoConfigurazione[] findByUuid_C_PrevAndNext( - long configurazioneId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException { - return getPersistence() - .findByUuid_C_PrevAndNext(configurazioneId, uuid, companyId, - orderByComparator); - } - - /** - * Removes all the bo configuraziones where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid_C(uuid, companyId); - } - - /** - * Returns the number of bo configuraziones where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo configuraziones - * @throws SystemException if a system exception occurred - */ - public static int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid_C(uuid, companyId); - } - - /** - * Returns the bo configurazione where companyId = ? and groupId = ? and chiave = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException} if it could not be found. - * - * @param companyId the company ID - * @param groupId the group ID - * @param chiave the chiave - * @return the matching bo configurazione - * @throws it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoConfigurazione findByC_G_Chiave( - long companyId, long groupId, java.lang.String chiave) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException { - return getPersistence().findByC_G_Chiave(companyId, groupId, chiave); - } - - /** - * Returns the bo configurazione where companyId = ? and groupId = ? and chiave = ? or returns null if it could not be found. Uses the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param chiave the chiave - * @return the matching bo configurazione, or null if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoConfigurazione fetchByC_G_Chiave( - long companyId, long groupId, java.lang.String chiave) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByC_G_Chiave(companyId, groupId, chiave); - } - - /** - * Returns the bo configurazione where companyId = ? and groupId = ? and chiave = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param chiave the chiave - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo configurazione, or null if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoConfigurazione fetchByC_G_Chiave( - long companyId, long groupId, java.lang.String chiave, - boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_G_Chiave(companyId, groupId, chiave, - retrieveFromCache); - } - - /** - * Removes the bo configurazione where companyId = ? and groupId = ? and chiave = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param chiave the chiave - * @return the bo configurazione that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoConfigurazione removeByC_G_Chiave( - long companyId, long groupId, java.lang.String chiave) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException { - return getPersistence().removeByC_G_Chiave(companyId, groupId, chiave); - } - - /** - * Returns the number of bo configuraziones where companyId = ? and groupId = ? and chiave = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param chiave the chiave - * @return the number of matching bo configuraziones - * @throws SystemException if a system exception occurred - */ - public static int countByC_G_Chiave(long companyId, long groupId, - java.lang.String chiave) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByC_G_Chiave(companyId, groupId, chiave); - } - - /** - * Caches the bo configurazione in the entity cache if it is enabled. - * - * @param boConfigurazione the bo configurazione - */ - public static void cacheResult( - it.tref.liferay.portos.importazione.model.BoConfigurazione boConfigurazione) { - getPersistence().cacheResult(boConfigurazione); - } - - /** - * Caches the bo configuraziones in the entity cache if it is enabled. - * - * @param boConfiguraziones the bo configuraziones - */ - public static void cacheResult( - java.util.List boConfiguraziones) { - getPersistence().cacheResult(boConfiguraziones); - } - - /** - * Creates a new bo configurazione with the primary key. Does not add the bo configurazione to the database. - * - * @param configurazioneId the primary key for the new bo configurazione - * @return the new bo configurazione - */ - public static it.tref.liferay.portos.importazione.model.BoConfigurazione create( - long configurazioneId) { - return getPersistence().create(configurazioneId); - } - - /** - * Removes the bo configurazione with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param configurazioneId the primary key of the bo configurazione - * @return the bo configurazione that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException if a bo configurazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoConfigurazione remove( - long configurazioneId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException { - return getPersistence().remove(configurazioneId); - } - - public static it.tref.liferay.portos.importazione.model.BoConfigurazione updateImpl( - it.tref.liferay.portos.importazione.model.BoConfigurazione boConfigurazione) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(boConfigurazione); - } - - /** - * Returns the bo configurazione with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException} if it could not be found. - * - * @param configurazioneId the primary key of the bo configurazione - * @return the bo configurazione - * @throws it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException if a bo configurazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoConfigurazione findByPrimaryKey( - long configurazioneId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException { - return getPersistence().findByPrimaryKey(configurazioneId); - } - - /** - * Returns the bo configurazione with the primary key or returns null if it could not be found. - * - * @param configurazioneId the primary key of the bo configurazione - * @return the bo configurazione, or null if a bo configurazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoConfigurazione fetchByPrimaryKey( - long configurazioneId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(configurazioneId); - } - - /** - * Returns all the bo configuraziones. - * - * @return the bo configuraziones - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the bo configuraziones. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo configuraziones - * @param end the upper bound of the range of bo configuraziones (not inclusive) - * @return the range of bo configuraziones - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the bo configuraziones. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo configuraziones - * @param end the upper bound of the range of bo configuraziones (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo configuraziones - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the bo configuraziones from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of bo configuraziones. - * - * @return the number of bo configuraziones - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static BoConfigurazionePersistence getPersistence() { - if (_persistence == null) { - _persistence = (BoConfigurazionePersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - BoConfigurazionePersistence.class.getName()); - - ReferenceRegistry.registerReference(BoConfigurazioneUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(BoConfigurazionePersistence persistence) { - } - - private static BoConfigurazionePersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoDettPraticaActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoDettPraticaActionableDynamicQuery.java deleted file mode 100644 index d434bd7c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoDettPraticaActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.BoDettPratica; -import it.tref.liferay.portos.importazione.service.BoDettPraticaLocalServiceUtil; - -/** - * @author 3FC - * @generated - */ -public abstract class BoDettPraticaActionableDynamicQuery - extends BaseActionableDynamicQuery { - public BoDettPraticaActionableDynamicQuery() throws SystemException { - setBaseLocalService(BoDettPraticaLocalServiceUtil.getService()); - setClass(BoDettPratica.class); - - setClassLoader(it.tref.liferay.portos.importazione.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("dettPraticaId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoDettPraticaExportActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoDettPraticaExportActionableDynamicQuery.java deleted file mode 100644 index 38a9cbc3..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoDettPraticaExportActionableDynamicQuery.java +++ /dev/null @@ -1,118 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.Criterion; -import com.liferay.portal.kernel.dao.orm.Disjunction; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.Property; -import com.liferay.portal.kernel.dao.orm.PropertyFactoryUtil; -import com.liferay.portal.kernel.dao.orm.RestrictionsFactoryUtil; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.ExportImportHelperUtil; -import com.liferay.portal.kernel.lar.ManifestSummary; -import com.liferay.portal.kernel.lar.PortletDataContext; -import com.liferay.portal.kernel.lar.StagedModelDataHandler; -import com.liferay.portal.kernel.lar.StagedModelDataHandlerRegistryUtil; -import com.liferay.portal.kernel.lar.StagedModelDataHandlerUtil; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.workflow.WorkflowConstants; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.model.BoDettPratica; - -/** - * @author 3FC - * @generated - */ -public class BoDettPraticaExportActionableDynamicQuery - extends BoDettPraticaActionableDynamicQuery { - public BoDettPraticaExportActionableDynamicQuery( - PortletDataContext portletDataContext) throws SystemException { - _portletDataContext = portletDataContext; - - setCompanyId(_portletDataContext.getCompanyId()); - - setGroupId(_portletDataContext.getScopeGroupId()); - } - - @Override - public long performCount() throws PortalException, SystemException { - ManifestSummary manifestSummary = _portletDataContext.getManifestSummary(); - - StagedModelType stagedModelType = getStagedModelType(); - - long modelAdditionCount = super.performCount(); - - manifestSummary.addModelAdditionCount(stagedModelType.toString(), - modelAdditionCount); - - long modelDeletionCount = ExportImportHelperUtil.getModelDeletionCount(_portletDataContext, - stagedModelType); - - manifestSummary.addModelDeletionCount(stagedModelType.toString(), - modelDeletionCount); - - return modelAdditionCount; - } - - @Override - protected void addCriteria(DynamicQuery dynamicQuery) { - Criterion modifiedDateCriterion = _portletDataContext.getDateRangeCriteria( - "modifiedDate"); - Criterion statusDateCriterion = _portletDataContext.getDateRangeCriteria( - "statusDate"); - - if ((modifiedDateCriterion != null) && (statusDateCriterion != null)) { - Disjunction disjunction = RestrictionsFactoryUtil.disjunction(); - - disjunction.add(modifiedDateCriterion); - disjunction.add(statusDateCriterion); - - dynamicQuery.add(disjunction); - } - - Property workflowStatusProperty = PropertyFactoryUtil.forName("status"); - - if (_portletDataContext.isInitialPublication()) { - dynamicQuery.add(workflowStatusProperty.ne( - WorkflowConstants.STATUS_IN_TRASH)); - } - else { - StagedModelDataHandler stagedModelDataHandler = StagedModelDataHandlerRegistryUtil.getStagedModelDataHandler(BoDettPratica.class.getName()); - - dynamicQuery.add(workflowStatusProperty.in( - stagedModelDataHandler.getExportableStatuses())); - } - } - - protected StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoDettPratica.class.getName())); - } - - @Override - @SuppressWarnings("unused") - protected void performAction(Object object) - throws PortalException, SystemException { - BoDettPratica stagedModel = (BoDettPratica)object; - - StagedModelDataHandlerUtil.exportStagedModel(_portletDataContext, - stagedModel); - } - - private PortletDataContext _portletDataContext; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoDettPraticaPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoDettPraticaPersistence.java deleted file mode 100644 index 275ad9b5..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoDettPraticaPersistence.java +++ /dev/null @@ -1,1638 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.importazione.model.BoDettPratica; - -/** - * The persistence interface for the bo dett pratica service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoDettPraticaPersistenceImpl - * @see BoDettPraticaUtil - * @generated - */ -public interface BoDettPraticaPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoDettPraticaUtil} to access the bo dett pratica persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns all the bo dett praticas where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo dett praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo dett praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException; - - /** - * Returns the first bo dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException; - - /** - * Returns the last bo dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where uuid = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica[] findByUuid_PrevAndNext( - long dettPraticaId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException; - - /** - * Removes all the bo dett praticas where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo dett praticas where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett pratica where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException; - - /** - * Returns the bo dett pratica where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett pratica where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo dett pratica where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException; - - /** - * Returns the number of bo dett praticas where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo dett praticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo dett praticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo dett praticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo dett pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException; - - /** - * Returns the first bo dett pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo dett pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException; - - /** - * Returns the last bo dett pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica[] findByUuid_C_PrevAndNext( - long dettPraticaId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException; - - /** - * Removes all the bo dett praticas where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo dett praticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett pratica where codPraticaSuap = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException} if it could not be found. - * - * @param codPraticaSuap the cod pratica suap - * @return the matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica findByCodPraticaSuap( - java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException; - - /** - * Returns the bo dett pratica where codPraticaSuap = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codPraticaSuap the cod pratica suap - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica fetchByCodPraticaSuap( - java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett pratica where codPraticaSuap = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codPraticaSuap the cod pratica suap - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica fetchByCodPraticaSuap( - java.lang.String codPraticaSuap, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo dett pratica where codPraticaSuap = ? from the database. - * - * @param codPraticaSuap the cod pratica suap - * @return the bo dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica removeByCodPraticaSuap( - java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException; - - /** - * Returns the number of bo dett praticas where codPraticaSuap = ?. - * - * @param codPraticaSuap the cod pratica suap - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public int countByCodPraticaSuap(java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo dett praticas where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByIntPraticaId_integrazione_validata( - long intPraticaId, long integrazione, boolean validata) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo dett praticas where intPraticaId = ? and integrazione = ? and validata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByIntPraticaId_integrazione_validata( - long intPraticaId, long integrazione, boolean validata, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo dett praticas where intPraticaId = ? and integrazione = ? and validata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByIntPraticaId_integrazione_validata( - long intPraticaId, long integrazione, boolean validata, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica findByIntPraticaId_integrazione_validata_First( - long intPraticaId, long integrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException; - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica fetchByIntPraticaId_integrazione_validata_First( - long intPraticaId, long integrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica findByIntPraticaId_integrazione_validata_Last( - long intPraticaId, long integrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException; - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica fetchByIntPraticaId_integrazione_validata_Last( - long intPraticaId, long integrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica[] findByIntPraticaId_integrazione_validata_PrevAndNext( - long dettPraticaId, long intPraticaId, long integrazione, - boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException; - - /** - * Removes all the bo dett praticas where intPraticaId = ? and integrazione = ? and validata = ? from the database. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @throws SystemException if a system exception occurred - */ - public void removeByIntPraticaId_integrazione_validata(long intPraticaId, - long integrazione, boolean validata) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo dett praticas where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public int countByIntPraticaId_integrazione_validata(long intPraticaId, - long integrazione, boolean validata) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByIntPraticaId_tipoIntegrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, boolean validata) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByIntPraticaId_tipoIntegrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, boolean validata, - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByIntPraticaId_tipoIntegrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, boolean validata, - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica findByIntPraticaId_tipoIntegrazione_validata_First( - long intPraticaId, java.lang.String tipoIntegrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException; - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica fetchByIntPraticaId_tipoIntegrazione_validata_First( - long intPraticaId, java.lang.String tipoIntegrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica findByIntPraticaId_tipoIntegrazione_validata_Last( - long intPraticaId, java.lang.String tipoIntegrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException; - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica fetchByIntPraticaId_tipoIntegrazione_validata_Last( - long intPraticaId, java.lang.String tipoIntegrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica[] findByIntPraticaId_tipoIntegrazione_validata_PrevAndNext( - long dettPraticaId, long intPraticaId, - java.lang.String tipoIntegrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException; - - /** - * Removes all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and validata = ? from the database. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @throws SystemException if a system exception occurred - */ - public void removeByIntPraticaId_tipoIntegrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, boolean validata) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public int countByIntPraticaId_tipoIntegrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, boolean validata) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByIntPraticaId_tipoIntegrazione_integrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, - long integrazione, boolean validata) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByIntPraticaId_tipoIntegrazione_integrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, - long integrazione, boolean validata, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByIntPraticaId_tipoIntegrazione_integrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, - long integrazione, boolean validata, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica findByIntPraticaId_tipoIntegrazione_integrazione_validata_First( - long intPraticaId, java.lang.String tipoIntegrazione, - long integrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException; - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica fetchByIntPraticaId_tipoIntegrazione_integrazione_validata_First( - long intPraticaId, java.lang.String tipoIntegrazione, - long integrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica findByIntPraticaId_tipoIntegrazione_integrazione_validata_Last( - long intPraticaId, java.lang.String tipoIntegrazione, - long integrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException; - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica fetchByIntPraticaId_tipoIntegrazione_integrazione_validata_Last( - long intPraticaId, java.lang.String tipoIntegrazione, - long integrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica[] findByIntPraticaId_tipoIntegrazione_integrazione_validata_PrevAndNext( - long dettPraticaId, long intPraticaId, - java.lang.String tipoIntegrazione, long integrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException; - - /** - * Removes all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ? from the database. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @throws SystemException if a system exception occurred - */ - public void removeByIntPraticaId_tipoIntegrazione_integrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, - long integrazione, boolean validata) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public int countByIntPraticaId_tipoIntegrazione_integrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, - long integrazione, boolean validata) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo dett praticas where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByIntPraticaId( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo dett praticas where intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByIntPraticaId( - long intPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo dett praticas where intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByIntPraticaId( - long intPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica findByIntPraticaId_First( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException; - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica fetchByIntPraticaId_First( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica findByIntPraticaId_Last( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException; - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica fetchByIntPraticaId_Last( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where intPraticaId = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica[] findByIntPraticaId_PrevAndNext( - long dettPraticaId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException; - - /** - * Removes all the bo dett praticas where intPraticaId = ? from the database. - * - * @param intPraticaId the int pratica ID - * @throws SystemException if a system exception occurred - */ - public void removeByIntPraticaId(long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo dett praticas where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public int countByIntPraticaId(long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo dett praticas where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_G_CodicePagamento_Validata_Completa( - long companyId, long groupId, java.lang.String codicePagamento, - boolean validata, boolean completa) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo dett praticas where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_G_CodicePagamento_Validata_Completa( - long companyId, long groupId, java.lang.String codicePagamento, - boolean validata, boolean completa, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo dett praticas where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_G_CodicePagamento_Validata_Completa( - long companyId, long groupId, java.lang.String codicePagamento, - boolean validata, boolean completa, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo dett pratica in the ordered set where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica findByC_G_CodicePagamento_Validata_Completa_First( - long companyId, long groupId, java.lang.String codicePagamento, - boolean validata, boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException; - - /** - * Returns the first bo dett pratica in the ordered set where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica fetchByC_G_CodicePagamento_Validata_Completa_First( - long companyId, long groupId, java.lang.String codicePagamento, - boolean validata, boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo dett pratica in the ordered set where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica findByC_G_CodicePagamento_Validata_Completa_Last( - long companyId, long groupId, java.lang.String codicePagamento, - boolean validata, boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException; - - /** - * Returns the last bo dett pratica in the ordered set where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica fetchByC_G_CodicePagamento_Validata_Completa_Last( - long companyId, long groupId, java.lang.String codicePagamento, - boolean validata, boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica[] findByC_G_CodicePagamento_Validata_Completa_PrevAndNext( - long dettPraticaId, long companyId, long groupId, - java.lang.String codicePagamento, boolean validata, boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException; - - /** - * Removes all the bo dett praticas where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @throws SystemException if a system exception occurred - */ - public void removeByC_G_CodicePagamento_Validata_Completa(long companyId, - long groupId, java.lang.String codicePagamento, boolean validata, - boolean completa) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo dett praticas where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public int countByC_G_CodicePagamento_Validata_Completa(long companyId, - long groupId, java.lang.String codicePagamento, boolean validata, - boolean completa) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett pratica where companyId = ? and groupId = ? and protocollo = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException} if it could not be found. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica findByC_G_Protocollo( - long companyId, long groupId, java.lang.String protocollo) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException; - - /** - * Returns the bo dett pratica where companyId = ? and groupId = ? and protocollo = ? or returns null if it could not be found. Uses the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica fetchByC_G_Protocollo( - long companyId, long groupId, java.lang.String protocollo) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett pratica where companyId = ? and groupId = ? and protocollo = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica fetchByC_G_Protocollo( - long companyId, long groupId, java.lang.String protocollo, - boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo dett pratica where companyId = ? and groupId = ? and protocollo = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the bo dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica removeByC_G_Protocollo( - long companyId, long groupId, java.lang.String protocollo) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException; - - /** - * Returns the number of bo dett praticas where companyId = ? and groupId = ? and protocollo = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public int countByC_G_Protocollo(long companyId, long groupId, - java.lang.String protocollo) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo dett praticas where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findBySoggettoSostituitoId_Validata_Completa( - long soggettoSostituitoId, boolean validata, boolean completa) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo dett praticas where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findBySoggettoSostituitoId_Validata_Completa( - long soggettoSostituitoId, boolean validata, boolean completa, - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo dett praticas where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findBySoggettoSostituitoId_Validata_Completa( - long soggettoSostituitoId, boolean validata, boolean completa, - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo dett pratica in the ordered set where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica findBySoggettoSostituitoId_Validata_Completa_First( - long soggettoSostituitoId, boolean validata, boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException; - - /** - * Returns the first bo dett pratica in the ordered set where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica fetchBySoggettoSostituitoId_Validata_Completa_First( - long soggettoSostituitoId, boolean validata, boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo dett pratica in the ordered set where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica findBySoggettoSostituitoId_Validata_Completa_Last( - long soggettoSostituitoId, boolean validata, boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException; - - /** - * Returns the last bo dett pratica in the ordered set where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica fetchBySoggettoSostituitoId_Validata_Completa_Last( - long soggettoSostituitoId, boolean validata, boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica[] findBySoggettoSostituitoId_Validata_Completa_PrevAndNext( - long dettPraticaId, long soggettoSostituitoId, boolean validata, - boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException; - - /** - * Removes all the bo dett praticas where soggettoSostituitoId = ? and validata = ? and completa = ? from the database. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @throws SystemException if a system exception occurred - */ - public void removeBySoggettoSostituitoId_Validata_Completa( - long soggettoSostituitoId, boolean validata, boolean completa) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo dett praticas where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public int countBySoggettoSostituitoId_Validata_Completa( - long soggettoSostituitoId, boolean validata, boolean completa) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the bo dett pratica in the entity cache if it is enabled. - * - * @param boDettPratica the bo dett pratica - */ - public void cacheResult( - it.tref.liferay.portos.importazione.model.BoDettPratica boDettPratica); - - /** - * Caches the bo dett praticas in the entity cache if it is enabled. - * - * @param boDettPraticas the bo dett praticas - */ - public void cacheResult( - java.util.List boDettPraticas); - - /** - * Creates a new bo dett pratica with the primary key. Does not add the bo dett pratica to the database. - * - * @param dettPraticaId the primary key for the new bo dett pratica - * @return the new bo dett pratica - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica create( - long dettPraticaId); - - /** - * Removes the bo dett pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param dettPraticaId the primary key of the bo dett pratica - * @return the bo dett pratica that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica remove( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException; - - public it.tref.liferay.portos.importazione.model.BoDettPratica updateImpl( - it.tref.liferay.portos.importazione.model.BoDettPratica boDettPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett pratica with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException} if it could not be found. - * - * @param dettPraticaId the primary key of the bo dett pratica - * @return the bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica findByPrimaryKey( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException; - - /** - * Returns the bo dett pratica with the primary key or returns null if it could not be found. - * - * @param dettPraticaId the primary key of the bo dett pratica - * @return the bo dett pratica, or null if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDettPratica fetchByPrimaryKey( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo dett praticas. - * - * @return the bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the bo dett praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo dett praticas. - * - * @return the number of bo dett praticas - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoDettPraticaUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoDettPraticaUtil.java deleted file mode 100644 index dbff93cf..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoDettPraticaUtil.java +++ /dev/null @@ -1,2073 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.importazione.model.BoDettPratica; - -import java.util.List; - -/** - * The persistence utility for the bo dett pratica service. This utility wraps {@link BoDettPraticaPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoDettPraticaPersistence - * @see BoDettPraticaPersistenceImpl - * @generated - */ -public class BoDettPraticaUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(BoDettPratica boDettPratica) { - getPersistence().clearCache(boDettPratica); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static BoDettPratica update(BoDettPratica boDettPratica) - throws SystemException { - return getPersistence().update(boDettPratica); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static BoDettPratica update(BoDettPratica boDettPratica, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(boDettPratica, serviceContext); - } - - /** - * Returns all the bo dett praticas where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid); - } - - /** - * Returns a range of all the bo dett praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end); - } - - /** - * Returns an ordered range of all the bo dett praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end, orderByComparator); - } - - /** - * Returns the first bo dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException { - return getPersistence().findByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the first bo dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the last bo dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException { - return getPersistence().findByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the last bo dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where uuid = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica[] findByUuid_PrevAndNext( - long dettPraticaId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException { - return getPersistence() - .findByUuid_PrevAndNext(dettPraticaId, uuid, - orderByComparator); - } - - /** - * Removes all the bo dett praticas where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid(uuid); - } - - /** - * Returns the number of bo dett praticas where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid(uuid); - } - - /** - * Returns the bo dett pratica where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException { - return getPersistence().findByUUID_G(uuid, groupId); - } - - /** - * Returns the bo dett pratica where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the bo dett pratica where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache); - } - - /** - * Removes the bo dett pratica where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException { - return getPersistence().removeByUUID_G(uuid, groupId); - } - - /** - * Returns the number of bo dett praticas where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUUID_G(uuid, groupId); - } - - /** - * Returns all the bo dett praticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId); - } - - /** - * Returns a range of all the bo dett praticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId, start, end); - } - - /** - * Returns an ordered range of all the bo dett praticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByUuid_C(uuid, companyId, start, end, orderByComparator); - } - - /** - * Returns the first bo dett pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException { - return getPersistence() - .findByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the first bo dett pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the last bo dett pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException { - return getPersistence() - .findByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the last bo dett pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica[] findByUuid_C_PrevAndNext( - long dettPraticaId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException { - return getPersistence() - .findByUuid_C_PrevAndNext(dettPraticaId, uuid, companyId, - orderByComparator); - } - - /** - * Removes all the bo dett praticas where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid_C(uuid, companyId); - } - - /** - * Returns the number of bo dett praticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid_C(uuid, companyId); - } - - /** - * Returns the bo dett pratica where codPraticaSuap = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException} if it could not be found. - * - * @param codPraticaSuap the cod pratica suap - * @return the matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica findByCodPraticaSuap( - java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException { - return getPersistence().findByCodPraticaSuap(codPraticaSuap); - } - - /** - * Returns the bo dett pratica where codPraticaSuap = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codPraticaSuap the cod pratica suap - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica fetchByCodPraticaSuap( - java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByCodPraticaSuap(codPraticaSuap); - } - - /** - * Returns the bo dett pratica where codPraticaSuap = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codPraticaSuap the cod pratica suap - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica fetchByCodPraticaSuap( - java.lang.String codPraticaSuap, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByCodPraticaSuap(codPraticaSuap, retrieveFromCache); - } - - /** - * Removes the bo dett pratica where codPraticaSuap = ? from the database. - * - * @param codPraticaSuap the cod pratica suap - * @return the bo dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica removeByCodPraticaSuap( - java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException { - return getPersistence().removeByCodPraticaSuap(codPraticaSuap); - } - - /** - * Returns the number of bo dett praticas where codPraticaSuap = ?. - * - * @param codPraticaSuap the cod pratica suap - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static int countByCodPraticaSuap(java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByCodPraticaSuap(codPraticaSuap); - } - - /** - * Returns all the bo dett praticas where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByIntPraticaId_integrazione_validata( - long intPraticaId, long integrazione, boolean validata) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByIntPraticaId_integrazione_validata(intPraticaId, - integrazione, validata); - } - - /** - * Returns a range of all the bo dett praticas where intPraticaId = ? and integrazione = ? and validata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByIntPraticaId_integrazione_validata( - long intPraticaId, long integrazione, boolean validata, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByIntPraticaId_integrazione_validata(intPraticaId, - integrazione, validata, start, end); - } - - /** - * Returns an ordered range of all the bo dett praticas where intPraticaId = ? and integrazione = ? and validata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByIntPraticaId_integrazione_validata( - long intPraticaId, long integrazione, boolean validata, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByIntPraticaId_integrazione_validata(intPraticaId, - integrazione, validata, start, end, orderByComparator); - } - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica findByIntPraticaId_integrazione_validata_First( - long intPraticaId, long integrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException { - return getPersistence() - .findByIntPraticaId_integrazione_validata_First(intPraticaId, - integrazione, validata, orderByComparator); - } - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica fetchByIntPraticaId_integrazione_validata_First( - long intPraticaId, long integrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByIntPraticaId_integrazione_validata_First(intPraticaId, - integrazione, validata, orderByComparator); - } - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica findByIntPraticaId_integrazione_validata_Last( - long intPraticaId, long integrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException { - return getPersistence() - .findByIntPraticaId_integrazione_validata_Last(intPraticaId, - integrazione, validata, orderByComparator); - } - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica fetchByIntPraticaId_integrazione_validata_Last( - long intPraticaId, long integrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByIntPraticaId_integrazione_validata_Last(intPraticaId, - integrazione, validata, orderByComparator); - } - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica[] findByIntPraticaId_integrazione_validata_PrevAndNext( - long dettPraticaId, long intPraticaId, long integrazione, - boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException { - return getPersistence() - .findByIntPraticaId_integrazione_validata_PrevAndNext(dettPraticaId, - intPraticaId, integrazione, validata, orderByComparator); - } - - /** - * Removes all the bo dett praticas where intPraticaId = ? and integrazione = ? and validata = ? from the database. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @throws SystemException if a system exception occurred - */ - public static void removeByIntPraticaId_integrazione_validata( - long intPraticaId, long integrazione, boolean validata) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeByIntPraticaId_integrazione_validata(intPraticaId, - integrazione, validata); - } - - /** - * Returns the number of bo dett praticas where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static int countByIntPraticaId_integrazione_validata( - long intPraticaId, long integrazione, boolean validata) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByIntPraticaId_integrazione_validata(intPraticaId, - integrazione, validata); - } - - /** - * Returns all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByIntPraticaId_tipoIntegrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, boolean validata) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByIntPraticaId_tipoIntegrazione_validata(intPraticaId, - tipoIntegrazione, validata); - } - - /** - * Returns a range of all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByIntPraticaId_tipoIntegrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, boolean validata, - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByIntPraticaId_tipoIntegrazione_validata(intPraticaId, - tipoIntegrazione, validata, start, end); - } - - /** - * Returns an ordered range of all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByIntPraticaId_tipoIntegrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, boolean validata, - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByIntPraticaId_tipoIntegrazione_validata(intPraticaId, - tipoIntegrazione, validata, start, end, orderByComparator); - } - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica findByIntPraticaId_tipoIntegrazione_validata_First( - long intPraticaId, java.lang.String tipoIntegrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException { - return getPersistence() - .findByIntPraticaId_tipoIntegrazione_validata_First(intPraticaId, - tipoIntegrazione, validata, orderByComparator); - } - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica fetchByIntPraticaId_tipoIntegrazione_validata_First( - long intPraticaId, java.lang.String tipoIntegrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByIntPraticaId_tipoIntegrazione_validata_First(intPraticaId, - tipoIntegrazione, validata, orderByComparator); - } - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica findByIntPraticaId_tipoIntegrazione_validata_Last( - long intPraticaId, java.lang.String tipoIntegrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException { - return getPersistence() - .findByIntPraticaId_tipoIntegrazione_validata_Last(intPraticaId, - tipoIntegrazione, validata, orderByComparator); - } - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica fetchByIntPraticaId_tipoIntegrazione_validata_Last( - long intPraticaId, java.lang.String tipoIntegrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByIntPraticaId_tipoIntegrazione_validata_Last(intPraticaId, - tipoIntegrazione, validata, orderByComparator); - } - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica[] findByIntPraticaId_tipoIntegrazione_validata_PrevAndNext( - long dettPraticaId, long intPraticaId, - java.lang.String tipoIntegrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException { - return getPersistence() - .findByIntPraticaId_tipoIntegrazione_validata_PrevAndNext(dettPraticaId, - intPraticaId, tipoIntegrazione, validata, orderByComparator); - } - - /** - * Removes all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and validata = ? from the database. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @throws SystemException if a system exception occurred - */ - public static void removeByIntPraticaId_tipoIntegrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, boolean validata) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeByIntPraticaId_tipoIntegrazione_validata(intPraticaId, - tipoIntegrazione, validata); - } - - /** - * Returns the number of bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static int countByIntPraticaId_tipoIntegrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, boolean validata) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByIntPraticaId_tipoIntegrazione_validata(intPraticaId, - tipoIntegrazione, validata); - } - - /** - * Returns all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByIntPraticaId_tipoIntegrazione_integrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, - long integrazione, boolean validata) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByIntPraticaId_tipoIntegrazione_integrazione_validata(intPraticaId, - tipoIntegrazione, integrazione, validata); - } - - /** - * Returns a range of all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByIntPraticaId_tipoIntegrazione_integrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, - long integrazione, boolean validata, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByIntPraticaId_tipoIntegrazione_integrazione_validata(intPraticaId, - tipoIntegrazione, integrazione, validata, start, end); - } - - /** - * Returns an ordered range of all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByIntPraticaId_tipoIntegrazione_integrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, - long integrazione, boolean validata, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByIntPraticaId_tipoIntegrazione_integrazione_validata(intPraticaId, - tipoIntegrazione, integrazione, validata, start, end, - orderByComparator); - } - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica findByIntPraticaId_tipoIntegrazione_integrazione_validata_First( - long intPraticaId, java.lang.String tipoIntegrazione, - long integrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException { - return getPersistence() - .findByIntPraticaId_tipoIntegrazione_integrazione_validata_First(intPraticaId, - tipoIntegrazione, integrazione, validata, orderByComparator); - } - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica fetchByIntPraticaId_tipoIntegrazione_integrazione_validata_First( - long intPraticaId, java.lang.String tipoIntegrazione, - long integrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByIntPraticaId_tipoIntegrazione_integrazione_validata_First(intPraticaId, - tipoIntegrazione, integrazione, validata, orderByComparator); - } - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica findByIntPraticaId_tipoIntegrazione_integrazione_validata_Last( - long intPraticaId, java.lang.String tipoIntegrazione, - long integrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException { - return getPersistence() - .findByIntPraticaId_tipoIntegrazione_integrazione_validata_Last(intPraticaId, - tipoIntegrazione, integrazione, validata, orderByComparator); - } - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica fetchByIntPraticaId_tipoIntegrazione_integrazione_validata_Last( - long intPraticaId, java.lang.String tipoIntegrazione, - long integrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByIntPraticaId_tipoIntegrazione_integrazione_validata_Last(intPraticaId, - tipoIntegrazione, integrazione, validata, orderByComparator); - } - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica[] findByIntPraticaId_tipoIntegrazione_integrazione_validata_PrevAndNext( - long dettPraticaId, long intPraticaId, - java.lang.String tipoIntegrazione, long integrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException { - return getPersistence() - .findByIntPraticaId_tipoIntegrazione_integrazione_validata_PrevAndNext(dettPraticaId, - intPraticaId, tipoIntegrazione, integrazione, validata, - orderByComparator); - } - - /** - * Removes all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ? from the database. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @throws SystemException if a system exception occurred - */ - public static void removeByIntPraticaId_tipoIntegrazione_integrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, - long integrazione, boolean validata) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeByIntPraticaId_tipoIntegrazione_integrazione_validata(intPraticaId, - tipoIntegrazione, integrazione, validata); - } - - /** - * Returns the number of bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static int countByIntPraticaId_tipoIntegrazione_integrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, - long integrazione, boolean validata) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByIntPraticaId_tipoIntegrazione_integrazione_validata(intPraticaId, - tipoIntegrazione, integrazione, validata); - } - - /** - * Returns all the bo dett praticas where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByIntPraticaId( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByIntPraticaId(intPraticaId); - } - - /** - * Returns a range of all the bo dett praticas where intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByIntPraticaId( - long intPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByIntPraticaId(intPraticaId, start, end); - } - - /** - * Returns an ordered range of all the bo dett praticas where intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByIntPraticaId( - long intPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByIntPraticaId(intPraticaId, start, end, - orderByComparator); - } - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica findByIntPraticaId_First( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException { - return getPersistence() - .findByIntPraticaId_First(intPraticaId, orderByComparator); - } - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica fetchByIntPraticaId_First( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByIntPraticaId_First(intPraticaId, orderByComparator); - } - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica findByIntPraticaId_Last( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException { - return getPersistence() - .findByIntPraticaId_Last(intPraticaId, orderByComparator); - } - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica fetchByIntPraticaId_Last( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByIntPraticaId_Last(intPraticaId, orderByComparator); - } - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where intPraticaId = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica[] findByIntPraticaId_PrevAndNext( - long dettPraticaId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException { - return getPersistence() - .findByIntPraticaId_PrevAndNext(dettPraticaId, intPraticaId, - orderByComparator); - } - - /** - * Removes all the bo dett praticas where intPraticaId = ? from the database. - * - * @param intPraticaId the int pratica ID - * @throws SystemException if a system exception occurred - */ - public static void removeByIntPraticaId(long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByIntPraticaId(intPraticaId); - } - - /** - * Returns the number of bo dett praticas where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static int countByIntPraticaId(long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByIntPraticaId(intPraticaId); - } - - /** - * Returns all the bo dett praticas where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_G_CodicePagamento_Validata_Completa( - long companyId, long groupId, java.lang.String codicePagamento, - boolean validata, boolean completa) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_G_CodicePagamento_Validata_Completa(companyId, - groupId, codicePagamento, validata, completa); - } - - /** - * Returns a range of all the bo dett praticas where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_G_CodicePagamento_Validata_Completa( - long companyId, long groupId, java.lang.String codicePagamento, - boolean validata, boolean completa, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_G_CodicePagamento_Validata_Completa(companyId, - groupId, codicePagamento, validata, completa, start, end); - } - - /** - * Returns an ordered range of all the bo dett praticas where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_G_CodicePagamento_Validata_Completa( - long companyId, long groupId, java.lang.String codicePagamento, - boolean validata, boolean completa, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_G_CodicePagamento_Validata_Completa(companyId, - groupId, codicePagamento, validata, completa, start, end, - orderByComparator); - } - - /** - * Returns the first bo dett pratica in the ordered set where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica findByC_G_CodicePagamento_Validata_Completa_First( - long companyId, long groupId, java.lang.String codicePagamento, - boolean validata, boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException { - return getPersistence() - .findByC_G_CodicePagamento_Validata_Completa_First(companyId, - groupId, codicePagamento, validata, completa, orderByComparator); - } - - /** - * Returns the first bo dett pratica in the ordered set where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica fetchByC_G_CodicePagamento_Validata_Completa_First( - long companyId, long groupId, java.lang.String codicePagamento, - boolean validata, boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_G_CodicePagamento_Validata_Completa_First(companyId, - groupId, codicePagamento, validata, completa, orderByComparator); - } - - /** - * Returns the last bo dett pratica in the ordered set where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica findByC_G_CodicePagamento_Validata_Completa_Last( - long companyId, long groupId, java.lang.String codicePagamento, - boolean validata, boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException { - return getPersistence() - .findByC_G_CodicePagamento_Validata_Completa_Last(companyId, - groupId, codicePagamento, validata, completa, orderByComparator); - } - - /** - * Returns the last bo dett pratica in the ordered set where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica fetchByC_G_CodicePagamento_Validata_Completa_Last( - long companyId, long groupId, java.lang.String codicePagamento, - boolean validata, boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_G_CodicePagamento_Validata_Completa_Last(companyId, - groupId, codicePagamento, validata, completa, orderByComparator); - } - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica[] findByC_G_CodicePagamento_Validata_Completa_PrevAndNext( - long dettPraticaId, long companyId, long groupId, - java.lang.String codicePagamento, boolean validata, boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException { - return getPersistence() - .findByC_G_CodicePagamento_Validata_Completa_PrevAndNext(dettPraticaId, - companyId, groupId, codicePagamento, validata, completa, - orderByComparator); - } - - /** - * Removes all the bo dett praticas where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @throws SystemException if a system exception occurred - */ - public static void removeByC_G_CodicePagamento_Validata_Completa( - long companyId, long groupId, java.lang.String codicePagamento, - boolean validata, boolean completa) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeByC_G_CodicePagamento_Validata_Completa(companyId, groupId, - codicePagamento, validata, completa); - } - - /** - * Returns the number of bo dett praticas where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static int countByC_G_CodicePagamento_Validata_Completa( - long companyId, long groupId, java.lang.String codicePagamento, - boolean validata, boolean completa) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByC_G_CodicePagamento_Validata_Completa(companyId, - groupId, codicePagamento, validata, completa); - } - - /** - * Returns the bo dett pratica where companyId = ? and groupId = ? and protocollo = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException} if it could not be found. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica findByC_G_Protocollo( - long companyId, long groupId, java.lang.String protocollo) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException { - return getPersistence() - .findByC_G_Protocollo(companyId, groupId, protocollo); - } - - /** - * Returns the bo dett pratica where companyId = ? and groupId = ? and protocollo = ? or returns null if it could not be found. Uses the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica fetchByC_G_Protocollo( - long companyId, long groupId, java.lang.String protocollo) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_G_Protocollo(companyId, groupId, protocollo); - } - - /** - * Returns the bo dett pratica where companyId = ? and groupId = ? and protocollo = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica fetchByC_G_Protocollo( - long companyId, long groupId, java.lang.String protocollo, - boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_G_Protocollo(companyId, groupId, protocollo, - retrieveFromCache); - } - - /** - * Removes the bo dett pratica where companyId = ? and groupId = ? and protocollo = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the bo dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica removeByC_G_Protocollo( - long companyId, long groupId, java.lang.String protocollo) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException { - return getPersistence() - .removeByC_G_Protocollo(companyId, groupId, protocollo); - } - - /** - * Returns the number of bo dett praticas where companyId = ? and groupId = ? and protocollo = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static int countByC_G_Protocollo(long companyId, long groupId, - java.lang.String protocollo) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByC_G_Protocollo(companyId, groupId, protocollo); - } - - /** - * Returns all the bo dett praticas where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findBySoggettoSostituitoId_Validata_Completa( - long soggettoSostituitoId, boolean validata, boolean completa) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findBySoggettoSostituitoId_Validata_Completa(soggettoSostituitoId, - validata, completa); - } - - /** - * Returns a range of all the bo dett praticas where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findBySoggettoSostituitoId_Validata_Completa( - long soggettoSostituitoId, boolean validata, boolean completa, - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findBySoggettoSostituitoId_Validata_Completa(soggettoSostituitoId, - validata, completa, start, end); - } - - /** - * Returns an ordered range of all the bo dett praticas where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findBySoggettoSostituitoId_Validata_Completa( - long soggettoSostituitoId, boolean validata, boolean completa, - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findBySoggettoSostituitoId_Validata_Completa(soggettoSostituitoId, - validata, completa, start, end, orderByComparator); - } - - /** - * Returns the first bo dett pratica in the ordered set where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica findBySoggettoSostituitoId_Validata_Completa_First( - long soggettoSostituitoId, boolean validata, boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException { - return getPersistence() - .findBySoggettoSostituitoId_Validata_Completa_First(soggettoSostituitoId, - validata, completa, orderByComparator); - } - - /** - * Returns the first bo dett pratica in the ordered set where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica fetchBySoggettoSostituitoId_Validata_Completa_First( - long soggettoSostituitoId, boolean validata, boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchBySoggettoSostituitoId_Validata_Completa_First(soggettoSostituitoId, - validata, completa, orderByComparator); - } - - /** - * Returns the last bo dett pratica in the ordered set where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica findBySoggettoSostituitoId_Validata_Completa_Last( - long soggettoSostituitoId, boolean validata, boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException { - return getPersistence() - .findBySoggettoSostituitoId_Validata_Completa_Last(soggettoSostituitoId, - validata, completa, orderByComparator); - } - - /** - * Returns the last bo dett pratica in the ordered set where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica fetchBySoggettoSostituitoId_Validata_Completa_Last( - long soggettoSostituitoId, boolean validata, boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchBySoggettoSostituitoId_Validata_Completa_Last(soggettoSostituitoId, - validata, completa, orderByComparator); - } - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica[] findBySoggettoSostituitoId_Validata_Completa_PrevAndNext( - long dettPraticaId, long soggettoSostituitoId, boolean validata, - boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException { - return getPersistence() - .findBySoggettoSostituitoId_Validata_Completa_PrevAndNext(dettPraticaId, - soggettoSostituitoId, validata, completa, orderByComparator); - } - - /** - * Removes all the bo dett praticas where soggettoSostituitoId = ? and validata = ? and completa = ? from the database. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @throws SystemException if a system exception occurred - */ - public static void removeBySoggettoSostituitoId_Validata_Completa( - long soggettoSostituitoId, boolean validata, boolean completa) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeBySoggettoSostituitoId_Validata_Completa(soggettoSostituitoId, - validata, completa); - } - - /** - * Returns the number of bo dett praticas where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static int countBySoggettoSostituitoId_Validata_Completa( - long soggettoSostituitoId, boolean validata, boolean completa) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countBySoggettoSostituitoId_Validata_Completa(soggettoSostituitoId, - validata, completa); - } - - /** - * Caches the bo dett pratica in the entity cache if it is enabled. - * - * @param boDettPratica the bo dett pratica - */ - public static void cacheResult( - it.tref.liferay.portos.importazione.model.BoDettPratica boDettPratica) { - getPersistence().cacheResult(boDettPratica); - } - - /** - * Caches the bo dett praticas in the entity cache if it is enabled. - * - * @param boDettPraticas the bo dett praticas - */ - public static void cacheResult( - java.util.List boDettPraticas) { - getPersistence().cacheResult(boDettPraticas); - } - - /** - * Creates a new bo dett pratica with the primary key. Does not add the bo dett pratica to the database. - * - * @param dettPraticaId the primary key for the new bo dett pratica - * @return the new bo dett pratica - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica create( - long dettPraticaId) { - return getPersistence().create(dettPraticaId); - } - - /** - * Removes the bo dett pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param dettPraticaId the primary key of the bo dett pratica - * @return the bo dett pratica that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica remove( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException { - return getPersistence().remove(dettPraticaId); - } - - public static it.tref.liferay.portos.importazione.model.BoDettPratica updateImpl( - it.tref.liferay.portos.importazione.model.BoDettPratica boDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(boDettPratica); - } - - /** - * Returns the bo dett pratica with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException} if it could not be found. - * - * @param dettPraticaId the primary key of the bo dett pratica - * @return the bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica findByPrimaryKey( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException { - return getPersistence().findByPrimaryKey(dettPraticaId); - } - - /** - * Returns the bo dett pratica with the primary key or returns null if it could not be found. - * - * @param dettPraticaId the primary key of the bo dett pratica - * @return the bo dett pratica, or null if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDettPratica fetchByPrimaryKey( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(dettPraticaId); - } - - /** - * Returns all the bo dett praticas. - * - * @return the bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the bo dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the bo dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the bo dett praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of bo dett praticas. - * - * @return the number of bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static BoDettPraticaPersistence getPersistence() { - if (_persistence == null) { - _persistence = (BoDettPraticaPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - BoDettPraticaPersistence.class.getName()); - - ReferenceRegistry.registerReference(BoDettPraticaUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(BoDettPraticaPersistence persistence) { - } - - private static BoDettPraticaPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoDocPraticaActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoDocPraticaActionableDynamicQuery.java deleted file mode 100644 index 3d5fa072..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoDocPraticaActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.BoDocPratica; -import it.tref.liferay.portos.importazione.service.BoDocPraticaLocalServiceUtil; - -/** - * @author 3FC - * @generated - */ -public abstract class BoDocPraticaActionableDynamicQuery - extends BaseActionableDynamicQuery { - public BoDocPraticaActionableDynamicQuery() throws SystemException { - setBaseLocalService(BoDocPraticaLocalServiceUtil.getService()); - setClass(BoDocPratica.class); - - setClassLoader(it.tref.liferay.portos.importazione.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("docPraticaId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoDocPraticaExportActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoDocPraticaExportActionableDynamicQuery.java deleted file mode 100644 index 92f3ea9a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoDocPraticaExportActionableDynamicQuery.java +++ /dev/null @@ -1,85 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.ExportImportHelperUtil; -import com.liferay.portal.kernel.lar.ManifestSummary; -import com.liferay.portal.kernel.lar.PortletDataContext; -import com.liferay.portal.kernel.lar.StagedModelDataHandlerUtil; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.model.BoDocPratica; - -/** - * @author 3FC - * @generated - */ -public class BoDocPraticaExportActionableDynamicQuery - extends BoDocPraticaActionableDynamicQuery { - public BoDocPraticaExportActionableDynamicQuery( - PortletDataContext portletDataContext) throws SystemException { - _portletDataContext = portletDataContext; - - setCompanyId(_portletDataContext.getCompanyId()); - - setGroupId(_portletDataContext.getScopeGroupId()); - } - - @Override - public long performCount() throws PortalException, SystemException { - ManifestSummary manifestSummary = _portletDataContext.getManifestSummary(); - - StagedModelType stagedModelType = getStagedModelType(); - - long modelAdditionCount = super.performCount(); - - manifestSummary.addModelAdditionCount(stagedModelType.toString(), - modelAdditionCount); - - long modelDeletionCount = ExportImportHelperUtil.getModelDeletionCount(_portletDataContext, - stagedModelType); - - manifestSummary.addModelDeletionCount(stagedModelType.toString(), - modelDeletionCount); - - return modelAdditionCount; - } - - @Override - protected void addCriteria(DynamicQuery dynamicQuery) { - _portletDataContext.addDateRangeCriteria(dynamicQuery, "modifiedDate"); - } - - protected StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoDocPratica.class.getName())); - } - - @Override - @SuppressWarnings("unused") - protected void performAction(Object object) - throws PortalException, SystemException { - BoDocPratica stagedModel = (BoDocPratica)object; - - StagedModelDataHandlerUtil.exportStagedModel(_portletDataContext, - stagedModel); - } - - private PortletDataContext _portletDataContext; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoDocPraticaPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoDocPraticaPersistence.java deleted file mode 100644 index 20f9aee8..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoDocPraticaPersistence.java +++ /dev/null @@ -1,1372 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.importazione.model.BoDocPratica; - -/** - * The persistence interface for the bo doc pratica service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoDocPraticaPersistenceImpl - * @see BoDocPraticaUtil - * @generated - */ -public interface BoDocPraticaPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoDocPraticaUtil} to access the bo doc pratica persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns all the bo doc praticas where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo doc praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo doc praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo doc pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException; - - /** - * Returns the first bo doc pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo doc pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException; - - /** - * Returns the last bo doc pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc praticas before and after the current bo doc pratica in the ordered set where uuid = ?. - * - * @param docPraticaId the primary key of the current bo doc pratica - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica[] findByUuid_PrevAndNext( - long docPraticaId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException; - - /** - * Removes all the bo doc praticas where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo doc praticas where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc pratica where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException; - - /** - * Returns the bo doc pratica where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc pratica where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo doc pratica where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo doc pratica that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException; - - /** - * Returns the number of bo doc praticas where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo doc praticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo doc praticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo doc praticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo doc pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException; - - /** - * Returns the first bo doc pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo doc pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException; - - /** - * Returns the last bo doc pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc praticas before and after the current bo doc pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param docPraticaId the primary key of the current bo doc pratica - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica[] findByUuid_C_PrevAndNext( - long docPraticaId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException; - - /** - * Removes all the bo doc praticas where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo doc praticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and codFileSuap = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException} if it could not be found. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param codFileSuap the cod file suap - * @return the matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica findByC_Group_DlFileEntry_CodFileSuap( - long companyId, long groupId, long dlFileEntryId, - java.lang.String codFileSuap) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException; - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and codFileSuap = ? or returns null if it could not be found. Uses the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param codFileSuap the cod file suap - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica fetchByC_Group_DlFileEntry_CodFileSuap( - long companyId, long groupId, long dlFileEntryId, - java.lang.String codFileSuap) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and codFileSuap = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param codFileSuap the cod file suap - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica fetchByC_Group_DlFileEntry_CodFileSuap( - long companyId, long groupId, long dlFileEntryId, - java.lang.String codFileSuap, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and codFileSuap = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param codFileSuap the cod file suap - * @return the bo doc pratica that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica removeByC_Group_DlFileEntry_CodFileSuap( - long companyId, long groupId, long dlFileEntryId, - java.lang.String codFileSuap) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException; - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and dlFileEntryId = ? and codFileSuap = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param codFileSuap the cod file suap - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public int countByC_Group_DlFileEntry_CodFileSuap(long companyId, - long groupId, long dlFileEntryId, java.lang.String codFileSuap) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group_DettPratica( - long companyId, long groupId, long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group_DettPratica( - long companyId, long groupId, long dettPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group_DettPratica( - long companyId, long groupId, long dettPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica findByC_Group_DettPratica_First( - long companyId, long groupId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException; - - /** - * Returns the first bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica fetchByC_Group_DettPratica_First( - long companyId, long groupId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica findByC_Group_DettPratica_Last( - long companyId, long groupId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException; - - /** - * Returns the last bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica fetchByC_Group_DettPratica_Last( - long companyId, long groupId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc praticas before and after the current bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param docPraticaId the primary key of the current bo doc pratica - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica[] findByC_Group_DettPratica_PrevAndNext( - long docPraticaId, long companyId, long groupId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException; - - /** - * Returns all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group_DettPratica( - long companyId, long groupId, long[] dettPraticaIds) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group_DettPratica( - long companyId, long groupId, long[] dettPraticaIds, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group_DettPratica( - long companyId, long groupId, long[] dettPraticaIds, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - public void removeByC_Group_DettPratica(long companyId, long groupId, - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public int countByC_Group_DettPratica(long companyId, long groupId, - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public int countByC_Group_DettPratica(long companyId, long groupId, - long[] dettPraticaIds) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group_DettPratica_Tipologia( - long companyId, long groupId, long dettPraticaId, - java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group_DettPratica_Tipologia( - long companyId, long groupId, long dettPraticaId, - java.lang.String tipologia, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group_DettPratica_Tipologia( - long companyId, long groupId, long dettPraticaId, - java.lang.String tipologia, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica findByC_Group_DettPratica_Tipologia_First( - long companyId, long groupId, long dettPraticaId, - java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException; - - /** - * Returns the first bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica fetchByC_Group_DettPratica_Tipologia_First( - long companyId, long groupId, long dettPraticaId, - java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica findByC_Group_DettPratica_Tipologia_Last( - long companyId, long groupId, long dettPraticaId, - java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException; - - /** - * Returns the last bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica fetchByC_Group_DettPratica_Tipologia_Last( - long companyId, long groupId, long dettPraticaId, - java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc praticas before and after the current bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param docPraticaId the primary key of the current bo doc pratica - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica[] findByC_Group_DettPratica_Tipologia_PrevAndNext( - long docPraticaId, long companyId, long groupId, long dettPraticaId, - java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException; - - /** - * Returns all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ? and tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @param tipologia the tipologia - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group_DettPratica_Tipologia( - long companyId, long groupId, long[] dettPraticaIds, - java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ? and tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @param tipologia the tipologia - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group_DettPratica_Tipologia( - long companyId, long groupId, long[] dettPraticaIds, - java.lang.String tipologia, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ? and tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @param tipologia the tipologia - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group_DettPratica_Tipologia( - long companyId, long groupId, long[] dettPraticaIds, - java.lang.String tipologia, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @throws SystemException if a system exception occurred - */ - public void removeByC_Group_DettPratica_Tipologia(long companyId, - long groupId, long dettPraticaId, java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public int countByC_Group_DettPratica_Tipologia(long companyId, - long groupId, long dettPraticaId, java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @param tipologia the tipologia - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public int countByC_Group_DettPratica_Tipologia(long companyId, - long groupId, long[] dettPraticaIds, java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and tipologia = ? and codFileSuap = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException} if it could not be found. - * - * @param companyId the company ID - * @param groupId the group ID - * @param tipologia the tipologia - * @param codFileSuap the cod file suap - * @return the matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica findByC_Group_Tiplogia_CodFileSuap( - long companyId, long groupId, java.lang.String tipologia, - java.lang.String codFileSuap) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException; - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and tipologia = ? and codFileSuap = ? or returns null if it could not be found. Uses the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param tipologia the tipologia - * @param codFileSuap the cod file suap - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica fetchByC_Group_Tiplogia_CodFileSuap( - long companyId, long groupId, java.lang.String tipologia, - java.lang.String codFileSuap) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and tipologia = ? and codFileSuap = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param tipologia the tipologia - * @param codFileSuap the cod file suap - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica fetchByC_Group_Tiplogia_CodFileSuap( - long companyId, long groupId, java.lang.String tipologia, - java.lang.String codFileSuap, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo doc pratica where companyId = ? and groupId = ? and tipologia = ? and codFileSuap = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param tipologia the tipologia - * @param codFileSuap the cod file suap - * @return the bo doc pratica that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica removeByC_Group_Tiplogia_CodFileSuap( - long companyId, long groupId, java.lang.String tipologia, - java.lang.String codFileSuap) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException; - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and tipologia = ? and codFileSuap = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param tipologia the tipologia - * @param codFileSuap the cod file suap - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public int countByC_Group_Tiplogia_CodFileSuap(long companyId, - long groupId, java.lang.String tipologia, java.lang.String codFileSuap) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and version = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException} if it could not be found. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param version the version - * @return the matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica findByC_Group_DlFileEntry_Version( - long companyId, long groupId, long dlFileEntryId, - java.lang.String version) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException; - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and version = ? or returns null if it could not be found. Uses the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param version the version - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica fetchByC_Group_DlFileEntry_Version( - long companyId, long groupId, long dlFileEntryId, - java.lang.String version) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and version = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param version the version - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica fetchByC_Group_DlFileEntry_Version( - long companyId, long groupId, long dlFileEntryId, - java.lang.String version, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and version = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param version the version - * @return the bo doc pratica that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica removeByC_Group_DlFileEntry_Version( - long companyId, long groupId, long dlFileEntryId, - java.lang.String version) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException; - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and dlFileEntryId = ? and version = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param version the version - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public int countByC_Group_DlFileEntry_Version(long companyId, long groupId, - long dlFileEntryId, java.lang.String version) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo doc praticas where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo doc praticas where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica( - long dettPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo doc praticas where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica( - long dettPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo doc pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica findByDettPratica_First( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException; - - /** - * Returns the first bo doc pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica fetchByDettPratica_First( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo doc pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica findByDettPratica_Last( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException; - - /** - * Returns the last bo doc pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica fetchByDettPratica_Last( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc praticas before and after the current bo doc pratica in the ordered set where dettPraticaId = ?. - * - * @param docPraticaId the primary key of the current bo doc pratica - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica[] findByDettPratica_PrevAndNext( - long docPraticaId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException; - - /** - * Removes all the bo doc praticas where dettPraticaId = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - public void removeByDettPratica(long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo doc praticas where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public int countByDettPratica(long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the bo doc pratica in the entity cache if it is enabled. - * - * @param boDocPratica the bo doc pratica - */ - public void cacheResult( - it.tref.liferay.portos.importazione.model.BoDocPratica boDocPratica); - - /** - * Caches the bo doc praticas in the entity cache if it is enabled. - * - * @param boDocPraticas the bo doc praticas - */ - public void cacheResult( - java.util.List boDocPraticas); - - /** - * Creates a new bo doc pratica with the primary key. Does not add the bo doc pratica to the database. - * - * @param docPraticaId the primary key for the new bo doc pratica - * @return the new bo doc pratica - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica create( - long docPraticaId); - - /** - * Removes the bo doc pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param docPraticaId the primary key of the bo doc pratica - * @return the bo doc pratica that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica remove( - long docPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException; - - public it.tref.liferay.portos.importazione.model.BoDocPratica updateImpl( - it.tref.liferay.portos.importazione.model.BoDocPratica boDocPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc pratica with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException} if it could not be found. - * - * @param docPraticaId the primary key of the bo doc pratica - * @return the bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica findByPrimaryKey( - long docPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException; - - /** - * Returns the bo doc pratica with the primary key or returns null if it could not be found. - * - * @param docPraticaId the primary key of the bo doc pratica - * @return the bo doc pratica, or null if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoDocPratica fetchByPrimaryKey( - long docPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo doc praticas. - * - * @return the bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo doc praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo doc praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the bo doc praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo doc praticas. - * - * @return the number of bo doc praticas - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoDocPraticaUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoDocPraticaUtil.java deleted file mode 100644 index ba4d55b6..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoDocPraticaUtil.java +++ /dev/null @@ -1,1743 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.importazione.model.BoDocPratica; - -import java.util.List; - -/** - * The persistence utility for the bo doc pratica service. This utility wraps {@link BoDocPraticaPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoDocPraticaPersistence - * @see BoDocPraticaPersistenceImpl - * @generated - */ -public class BoDocPraticaUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(BoDocPratica boDocPratica) { - getPersistence().clearCache(boDocPratica); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static BoDocPratica update(BoDocPratica boDocPratica) - throws SystemException { - return getPersistence().update(boDocPratica); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static BoDocPratica update(BoDocPratica boDocPratica, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(boDocPratica, serviceContext); - } - - /** - * Returns all the bo doc praticas where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid); - } - - /** - * Returns a range of all the bo doc praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end); - } - - /** - * Returns an ordered range of all the bo doc praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end, orderByComparator); - } - - /** - * Returns the first bo doc pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException { - return getPersistence().findByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the first bo doc pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the last bo doc pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException { - return getPersistence().findByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the last bo doc pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the bo doc praticas before and after the current bo doc pratica in the ordered set where uuid = ?. - * - * @param docPraticaId the primary key of the current bo doc pratica - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica[] findByUuid_PrevAndNext( - long docPraticaId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException { - return getPersistence() - .findByUuid_PrevAndNext(docPraticaId, uuid, orderByComparator); - } - - /** - * Removes all the bo doc praticas where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid(uuid); - } - - /** - * Returns the number of bo doc praticas where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid(uuid); - } - - /** - * Returns the bo doc pratica where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException { - return getPersistence().findByUUID_G(uuid, groupId); - } - - /** - * Returns the bo doc pratica where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the bo doc pratica where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache); - } - - /** - * Removes the bo doc pratica where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo doc pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException { - return getPersistence().removeByUUID_G(uuid, groupId); - } - - /** - * Returns the number of bo doc praticas where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUUID_G(uuid, groupId); - } - - /** - * Returns all the bo doc praticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId); - } - - /** - * Returns a range of all the bo doc praticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId, start, end); - } - - /** - * Returns an ordered range of all the bo doc praticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByUuid_C(uuid, companyId, start, end, orderByComparator); - } - - /** - * Returns the first bo doc pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException { - return getPersistence() - .findByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the first bo doc pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the last bo doc pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException { - return getPersistence() - .findByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the last bo doc pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the bo doc praticas before and after the current bo doc pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param docPraticaId the primary key of the current bo doc pratica - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica[] findByUuid_C_PrevAndNext( - long docPraticaId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException { - return getPersistence() - .findByUuid_C_PrevAndNext(docPraticaId, uuid, companyId, - orderByComparator); - } - - /** - * Removes all the bo doc praticas where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid_C(uuid, companyId); - } - - /** - * Returns the number of bo doc praticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid_C(uuid, companyId); - } - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and codFileSuap = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException} if it could not be found. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param codFileSuap the cod file suap - * @return the matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica findByC_Group_DlFileEntry_CodFileSuap( - long companyId, long groupId, long dlFileEntryId, - java.lang.String codFileSuap) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException { - return getPersistence() - .findByC_Group_DlFileEntry_CodFileSuap(companyId, groupId, - dlFileEntryId, codFileSuap); - } - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and codFileSuap = ? or returns null if it could not be found. Uses the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param codFileSuap the cod file suap - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica fetchByC_Group_DlFileEntry_CodFileSuap( - long companyId, long groupId, long dlFileEntryId, - java.lang.String codFileSuap) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Group_DlFileEntry_CodFileSuap(companyId, groupId, - dlFileEntryId, codFileSuap); - } - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and codFileSuap = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param codFileSuap the cod file suap - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica fetchByC_Group_DlFileEntry_CodFileSuap( - long companyId, long groupId, long dlFileEntryId, - java.lang.String codFileSuap, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Group_DlFileEntry_CodFileSuap(companyId, groupId, - dlFileEntryId, codFileSuap, retrieveFromCache); - } - - /** - * Removes the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and codFileSuap = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param codFileSuap the cod file suap - * @return the bo doc pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica removeByC_Group_DlFileEntry_CodFileSuap( - long companyId, long groupId, long dlFileEntryId, - java.lang.String codFileSuap) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException { - return getPersistence() - .removeByC_Group_DlFileEntry_CodFileSuap(companyId, groupId, - dlFileEntryId, codFileSuap); - } - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and dlFileEntryId = ? and codFileSuap = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param codFileSuap the cod file suap - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static int countByC_Group_DlFileEntry_CodFileSuap(long companyId, - long groupId, long dlFileEntryId, java.lang.String codFileSuap) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByC_Group_DlFileEntry_CodFileSuap(companyId, groupId, - dlFileEntryId, codFileSuap); - } - - /** - * Returns all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group_DettPratica( - long companyId, long groupId, long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Group_DettPratica(companyId, groupId, dettPraticaId); - } - - /** - * Returns a range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group_DettPratica( - long companyId, long groupId, long dettPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Group_DettPratica(companyId, groupId, - dettPraticaId, start, end); - } - - /** - * Returns an ordered range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group_DettPratica( - long companyId, long groupId, long dettPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Group_DettPratica(companyId, groupId, - dettPraticaId, start, end, orderByComparator); - } - - /** - * Returns the first bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica findByC_Group_DettPratica_First( - long companyId, long groupId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException { - return getPersistence() - .findByC_Group_DettPratica_First(companyId, groupId, - dettPraticaId, orderByComparator); - } - - /** - * Returns the first bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica fetchByC_Group_DettPratica_First( - long companyId, long groupId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Group_DettPratica_First(companyId, groupId, - dettPraticaId, orderByComparator); - } - - /** - * Returns the last bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica findByC_Group_DettPratica_Last( - long companyId, long groupId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException { - return getPersistence() - .findByC_Group_DettPratica_Last(companyId, groupId, - dettPraticaId, orderByComparator); - } - - /** - * Returns the last bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica fetchByC_Group_DettPratica_Last( - long companyId, long groupId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Group_DettPratica_Last(companyId, groupId, - dettPraticaId, orderByComparator); - } - - /** - * Returns the bo doc praticas before and after the current bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param docPraticaId the primary key of the current bo doc pratica - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica[] findByC_Group_DettPratica_PrevAndNext( - long docPraticaId, long companyId, long groupId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException { - return getPersistence() - .findByC_Group_DettPratica_PrevAndNext(docPraticaId, - companyId, groupId, dettPraticaId, orderByComparator); - } - - /** - * Returns all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group_DettPratica( - long companyId, long groupId, long[] dettPraticaIds) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Group_DettPratica(companyId, groupId, dettPraticaIds); - } - - /** - * Returns a range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group_DettPratica( - long companyId, long groupId, long[] dettPraticaIds, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Group_DettPratica(companyId, groupId, - dettPraticaIds, start, end); - } - - /** - * Returns an ordered range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group_DettPratica( - long companyId, long groupId, long[] dettPraticaIds, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Group_DettPratica(companyId, groupId, - dettPraticaIds, start, end, orderByComparator); - } - - /** - * Removes all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - public static void removeByC_Group_DettPratica(long companyId, - long groupId, long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeByC_Group_DettPratica(companyId, groupId, dettPraticaId); - } - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static int countByC_Group_DettPratica(long companyId, long groupId, - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByC_Group_DettPratica(companyId, groupId, dettPraticaId); - } - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static int countByC_Group_DettPratica(long companyId, long groupId, - long[] dettPraticaIds) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByC_Group_DettPratica(companyId, groupId, - dettPraticaIds); - } - - /** - * Returns all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group_DettPratica_Tipologia( - long companyId, long groupId, long dettPraticaId, - java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Group_DettPratica_Tipologia(companyId, groupId, - dettPraticaId, tipologia); - } - - /** - * Returns a range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group_DettPratica_Tipologia( - long companyId, long groupId, long dettPraticaId, - java.lang.String tipologia, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Group_DettPratica_Tipologia(companyId, groupId, - dettPraticaId, tipologia, start, end); - } - - /** - * Returns an ordered range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group_DettPratica_Tipologia( - long companyId, long groupId, long dettPraticaId, - java.lang.String tipologia, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Group_DettPratica_Tipologia(companyId, groupId, - dettPraticaId, tipologia, start, end, orderByComparator); - } - - /** - * Returns the first bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica findByC_Group_DettPratica_Tipologia_First( - long companyId, long groupId, long dettPraticaId, - java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException { - return getPersistence() - .findByC_Group_DettPratica_Tipologia_First(companyId, - groupId, dettPraticaId, tipologia, orderByComparator); - } - - /** - * Returns the first bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica fetchByC_Group_DettPratica_Tipologia_First( - long companyId, long groupId, long dettPraticaId, - java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Group_DettPratica_Tipologia_First(companyId, - groupId, dettPraticaId, tipologia, orderByComparator); - } - - /** - * Returns the last bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica findByC_Group_DettPratica_Tipologia_Last( - long companyId, long groupId, long dettPraticaId, - java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException { - return getPersistence() - .findByC_Group_DettPratica_Tipologia_Last(companyId, - groupId, dettPraticaId, tipologia, orderByComparator); - } - - /** - * Returns the last bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica fetchByC_Group_DettPratica_Tipologia_Last( - long companyId, long groupId, long dettPraticaId, - java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Group_DettPratica_Tipologia_Last(companyId, - groupId, dettPraticaId, tipologia, orderByComparator); - } - - /** - * Returns the bo doc praticas before and after the current bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param docPraticaId the primary key of the current bo doc pratica - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica[] findByC_Group_DettPratica_Tipologia_PrevAndNext( - long docPraticaId, long companyId, long groupId, long dettPraticaId, - java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException { - return getPersistence() - .findByC_Group_DettPratica_Tipologia_PrevAndNext(docPraticaId, - companyId, groupId, dettPraticaId, tipologia, orderByComparator); - } - - /** - * Returns all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ? and tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @param tipologia the tipologia - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group_DettPratica_Tipologia( - long companyId, long groupId, long[] dettPraticaIds, - java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Group_DettPratica_Tipologia(companyId, groupId, - dettPraticaIds, tipologia); - } - - /** - * Returns a range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ? and tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @param tipologia the tipologia - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group_DettPratica_Tipologia( - long companyId, long groupId, long[] dettPraticaIds, - java.lang.String tipologia, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Group_DettPratica_Tipologia(companyId, groupId, - dettPraticaIds, tipologia, start, end); - } - - /** - * Returns an ordered range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ? and tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @param tipologia the tipologia - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group_DettPratica_Tipologia( - long companyId, long groupId, long[] dettPraticaIds, - java.lang.String tipologia, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Group_DettPratica_Tipologia(companyId, groupId, - dettPraticaIds, tipologia, start, end, orderByComparator); - } - - /** - * Removes all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @throws SystemException if a system exception occurred - */ - public static void removeByC_Group_DettPratica_Tipologia(long companyId, - long groupId, long dettPraticaId, java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeByC_Group_DettPratica_Tipologia(companyId, groupId, - dettPraticaId, tipologia); - } - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static int countByC_Group_DettPratica_Tipologia(long companyId, - long groupId, long dettPraticaId, java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByC_Group_DettPratica_Tipologia(companyId, groupId, - dettPraticaId, tipologia); - } - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @param tipologia the tipologia - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static int countByC_Group_DettPratica_Tipologia(long companyId, - long groupId, long[] dettPraticaIds, java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByC_Group_DettPratica_Tipologia(companyId, groupId, - dettPraticaIds, tipologia); - } - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and tipologia = ? and codFileSuap = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException} if it could not be found. - * - * @param companyId the company ID - * @param groupId the group ID - * @param tipologia the tipologia - * @param codFileSuap the cod file suap - * @return the matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica findByC_Group_Tiplogia_CodFileSuap( - long companyId, long groupId, java.lang.String tipologia, - java.lang.String codFileSuap) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException { - return getPersistence() - .findByC_Group_Tiplogia_CodFileSuap(companyId, groupId, - tipologia, codFileSuap); - } - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and tipologia = ? and codFileSuap = ? or returns null if it could not be found. Uses the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param tipologia the tipologia - * @param codFileSuap the cod file suap - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica fetchByC_Group_Tiplogia_CodFileSuap( - long companyId, long groupId, java.lang.String tipologia, - java.lang.String codFileSuap) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Group_Tiplogia_CodFileSuap(companyId, groupId, - tipologia, codFileSuap); - } - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and tipologia = ? and codFileSuap = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param tipologia the tipologia - * @param codFileSuap the cod file suap - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica fetchByC_Group_Tiplogia_CodFileSuap( - long companyId, long groupId, java.lang.String tipologia, - java.lang.String codFileSuap, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Group_Tiplogia_CodFileSuap(companyId, groupId, - tipologia, codFileSuap, retrieveFromCache); - } - - /** - * Removes the bo doc pratica where companyId = ? and groupId = ? and tipologia = ? and codFileSuap = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param tipologia the tipologia - * @param codFileSuap the cod file suap - * @return the bo doc pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica removeByC_Group_Tiplogia_CodFileSuap( - long companyId, long groupId, java.lang.String tipologia, - java.lang.String codFileSuap) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException { - return getPersistence() - .removeByC_Group_Tiplogia_CodFileSuap(companyId, groupId, - tipologia, codFileSuap); - } - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and tipologia = ? and codFileSuap = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param tipologia the tipologia - * @param codFileSuap the cod file suap - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static int countByC_Group_Tiplogia_CodFileSuap(long companyId, - long groupId, java.lang.String tipologia, java.lang.String codFileSuap) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByC_Group_Tiplogia_CodFileSuap(companyId, groupId, - tipologia, codFileSuap); - } - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and version = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException} if it could not be found. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param version the version - * @return the matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica findByC_Group_DlFileEntry_Version( - long companyId, long groupId, long dlFileEntryId, - java.lang.String version) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException { - return getPersistence() - .findByC_Group_DlFileEntry_Version(companyId, groupId, - dlFileEntryId, version); - } - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and version = ? or returns null if it could not be found. Uses the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param version the version - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica fetchByC_Group_DlFileEntry_Version( - long companyId, long groupId, long dlFileEntryId, - java.lang.String version) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Group_DlFileEntry_Version(companyId, groupId, - dlFileEntryId, version); - } - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and version = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param version the version - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica fetchByC_Group_DlFileEntry_Version( - long companyId, long groupId, long dlFileEntryId, - java.lang.String version, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Group_DlFileEntry_Version(companyId, groupId, - dlFileEntryId, version, retrieveFromCache); - } - - /** - * Removes the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and version = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param version the version - * @return the bo doc pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica removeByC_Group_DlFileEntry_Version( - long companyId, long groupId, long dlFileEntryId, - java.lang.String version) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException { - return getPersistence() - .removeByC_Group_DlFileEntry_Version(companyId, groupId, - dlFileEntryId, version); - } - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and dlFileEntryId = ? and version = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param version the version - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static int countByC_Group_DlFileEntry_Version(long companyId, - long groupId, long dlFileEntryId, java.lang.String version) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByC_Group_DlFileEntry_Version(companyId, groupId, - dlFileEntryId, version); - } - - /** - * Returns all the bo doc praticas where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByDettPratica(dettPraticaId); - } - - /** - * Returns a range of all the bo doc praticas where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica( - long dettPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByDettPratica(dettPraticaId, start, end); - } - - /** - * Returns an ordered range of all the bo doc praticas where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica( - long dettPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica(dettPraticaId, start, end, - orderByComparator); - } - - /** - * Returns the first bo doc pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica findByDettPratica_First( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException { - return getPersistence() - .findByDettPratica_First(dettPraticaId, orderByComparator); - } - - /** - * Returns the first bo doc pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica fetchByDettPratica_First( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPratica_First(dettPraticaId, orderByComparator); - } - - /** - * Returns the last bo doc pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica findByDettPratica_Last( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException { - return getPersistence() - .findByDettPratica_Last(dettPraticaId, orderByComparator); - } - - /** - * Returns the last bo doc pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica fetchByDettPratica_Last( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPratica_Last(dettPraticaId, orderByComparator); - } - - /** - * Returns the bo doc praticas before and after the current bo doc pratica in the ordered set where dettPraticaId = ?. - * - * @param docPraticaId the primary key of the current bo doc pratica - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica[] findByDettPratica_PrevAndNext( - long docPraticaId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException { - return getPersistence() - .findByDettPratica_PrevAndNext(docPraticaId, dettPraticaId, - orderByComparator); - } - - /** - * Removes all the bo doc praticas where dettPraticaId = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - public static void removeByDettPratica(long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByDettPratica(dettPraticaId); - } - - /** - * Returns the number of bo doc praticas where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static int countByDettPratica(long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByDettPratica(dettPraticaId); - } - - /** - * Caches the bo doc pratica in the entity cache if it is enabled. - * - * @param boDocPratica the bo doc pratica - */ - public static void cacheResult( - it.tref.liferay.portos.importazione.model.BoDocPratica boDocPratica) { - getPersistence().cacheResult(boDocPratica); - } - - /** - * Caches the bo doc praticas in the entity cache if it is enabled. - * - * @param boDocPraticas the bo doc praticas - */ - public static void cacheResult( - java.util.List boDocPraticas) { - getPersistence().cacheResult(boDocPraticas); - } - - /** - * Creates a new bo doc pratica with the primary key. Does not add the bo doc pratica to the database. - * - * @param docPraticaId the primary key for the new bo doc pratica - * @return the new bo doc pratica - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica create( - long docPraticaId) { - return getPersistence().create(docPraticaId); - } - - /** - * Removes the bo doc pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param docPraticaId the primary key of the bo doc pratica - * @return the bo doc pratica that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica remove( - long docPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException { - return getPersistence().remove(docPraticaId); - } - - public static it.tref.liferay.portos.importazione.model.BoDocPratica updateImpl( - it.tref.liferay.portos.importazione.model.BoDocPratica boDocPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(boDocPratica); - } - - /** - * Returns the bo doc pratica with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException} if it could not be found. - * - * @param docPraticaId the primary key of the bo doc pratica - * @return the bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica findByPrimaryKey( - long docPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException { - return getPersistence().findByPrimaryKey(docPraticaId); - } - - /** - * Returns the bo doc pratica with the primary key or returns null if it could not be found. - * - * @param docPraticaId the primary key of the bo doc pratica - * @return the bo doc pratica, or null if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoDocPratica fetchByPrimaryKey( - long docPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(docPraticaId); - } - - /** - * Returns all the bo doc praticas. - * - * @return the bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the bo doc praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the bo doc praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the bo doc praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of bo doc praticas. - * - * @return the number of bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static BoDocPraticaPersistence getPersistence() { - if (_persistence == null) { - _persistence = (BoDocPraticaPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - BoDocPraticaPersistence.class.getName()); - - ReferenceRegistry.registerReference(BoDocPraticaUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(BoDocPraticaPersistence persistence) { - } - - private static BoDocPraticaPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoIntPraticaActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoIntPraticaActionableDynamicQuery.java deleted file mode 100644 index 89b420eb..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoIntPraticaActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.BoIntPratica; -import it.tref.liferay.portos.importazione.service.BoIntPraticaLocalServiceUtil; - -/** - * @author 3FC - * @generated - */ -public abstract class BoIntPraticaActionableDynamicQuery - extends BaseActionableDynamicQuery { - public BoIntPraticaActionableDynamicQuery() throws SystemException { - setBaseLocalService(BoIntPraticaLocalServiceUtil.getService()); - setClass(BoIntPratica.class); - - setClassLoader(it.tref.liferay.portos.importazione.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("intPraticaId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoIntPraticaExportActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoIntPraticaExportActionableDynamicQuery.java deleted file mode 100644 index ca29a042..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoIntPraticaExportActionableDynamicQuery.java +++ /dev/null @@ -1,85 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.ExportImportHelperUtil; -import com.liferay.portal.kernel.lar.ManifestSummary; -import com.liferay.portal.kernel.lar.PortletDataContext; -import com.liferay.portal.kernel.lar.StagedModelDataHandlerUtil; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.model.BoIntPratica; - -/** - * @author 3FC - * @generated - */ -public class BoIntPraticaExportActionableDynamicQuery - extends BoIntPraticaActionableDynamicQuery { - public BoIntPraticaExportActionableDynamicQuery( - PortletDataContext portletDataContext) throws SystemException { - _portletDataContext = portletDataContext; - - setCompanyId(_portletDataContext.getCompanyId()); - - setGroupId(_portletDataContext.getScopeGroupId()); - } - - @Override - public long performCount() throws PortalException, SystemException { - ManifestSummary manifestSummary = _portletDataContext.getManifestSummary(); - - StagedModelType stagedModelType = getStagedModelType(); - - long modelAdditionCount = super.performCount(); - - manifestSummary.addModelAdditionCount(stagedModelType.toString(), - modelAdditionCount); - - long modelDeletionCount = ExportImportHelperUtil.getModelDeletionCount(_portletDataContext, - stagedModelType); - - manifestSummary.addModelDeletionCount(stagedModelType.toString(), - modelDeletionCount); - - return modelAdditionCount; - } - - @Override - protected void addCriteria(DynamicQuery dynamicQuery) { - _portletDataContext.addDateRangeCriteria(dynamicQuery, "modifiedDate"); - } - - protected StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoIntPratica.class.getName())); - } - - @Override - @SuppressWarnings("unused") - protected void performAction(Object object) - throws PortalException, SystemException { - BoIntPratica stagedModel = (BoIntPratica)object; - - StagedModelDataHandlerUtil.exportStagedModel(_portletDataContext, - stagedModel); - } - - private PortletDataContext _portletDataContext; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoIntPraticaPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoIntPraticaPersistence.java deleted file mode 100644 index 39c6ee2d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoIntPraticaPersistence.java +++ /dev/null @@ -1,1215 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.importazione.model.BoIntPratica; - -/** - * The persistence interface for the bo int pratica service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoIntPraticaPersistenceImpl - * @see BoIntPraticaUtil - * @generated - */ -public interface BoIntPraticaPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoIntPraticaUtil} to access the bo int pratica persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns all the bo int praticas where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo int praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo int praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException; - - /** - * Returns the first bo int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException; - - /** - * Returns the last bo int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo int praticas before and after the current bo int pratica in the ordered set where uuid = ?. - * - * @param intPraticaId the primary key of the current bo int pratica - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica[] findByUuid_PrevAndNext( - long intPraticaId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException; - - /** - * Removes all the bo int praticas where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo int praticas where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo int pratica where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException; - - /** - * Returns the bo int pratica where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo int pratica where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo int pratica where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo int pratica that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException; - - /** - * Returns the number of bo int praticas where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo int praticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo int praticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo int praticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo int pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException; - - /** - * Returns the first bo int pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo int pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException; - - /** - * Returns the last bo int pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo int praticas before and after the current bo int pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param intPraticaId the primary key of the current bo int pratica - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica[] findByUuid_C_PrevAndNext( - long intPraticaId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException; - - /** - * Removes all the bo int praticas where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo int praticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo int pratica where territorioId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException} if it could not be found. - * - * @param territorioId the territorio ID - * @return the matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica findByIntPraticaId( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException; - - /** - * Returns the bo int pratica where territorioId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param territorioId the territorio ID - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica fetchByIntPraticaId( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo int pratica where territorioId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param territorioId the territorio ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica fetchByIntPraticaId( - long territorioId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo int pratica where territorioId = ? from the database. - * - * @param territorioId the territorio ID - * @return the bo int pratica that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica removeByIntPraticaId( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException; - - /** - * Returns the number of bo int praticas where territorioId = ?. - * - * @param territorioId the territorio ID - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public int countByIntPraticaId(long territorioId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo int praticas where territorioId = ?. - * - * @param territorioId the territorio ID - * @return the matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByTerritorioId( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo int praticas where territorioId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param territorioId the territorio ID - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByTerritorioId( - long territorioId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo int praticas where territorioId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param territorioId the territorio ID - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByTerritorioId( - long territorioId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo int pratica in the ordered set where territorioId = ?. - * - * @param territorioId the territorio ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica findByTerritorioId_First( - long territorioId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException; - - /** - * Returns the first bo int pratica in the ordered set where territorioId = ?. - * - * @param territorioId the territorio ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica fetchByTerritorioId_First( - long territorioId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo int pratica in the ordered set where territorioId = ?. - * - * @param territorioId the territorio ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica findByTerritorioId_Last( - long territorioId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException; - - /** - * Returns the last bo int pratica in the ordered set where territorioId = ?. - * - * @param territorioId the territorio ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica fetchByTerritorioId_Last( - long territorioId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo int praticas before and after the current bo int pratica in the ordered set where territorioId = ?. - * - * @param intPraticaId the primary key of the current bo int pratica - * @param territorioId the territorio ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica[] findByTerritorioId_PrevAndNext( - long intPraticaId, long territorioId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException; - - /** - * Removes all the bo int praticas where territorioId = ? from the database. - * - * @param territorioId the territorio ID - * @throws SystemException if a system exception occurred - */ - public void removeByTerritorioId(long territorioId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo int praticas where territorioId = ?. - * - * @param territorioId the territorio ID - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public int countByTerritorioId(long territorioId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo int praticas where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @return the matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group( - long companyId, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo int praticas where companyId = ? and groupId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group( - long companyId, long groupId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo int praticas where companyId = ? and groupId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group( - long companyId, long groupId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo int pratica in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica findByC_Group_First( - long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException; - - /** - * Returns the first bo int pratica in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica fetchByC_Group_First( - long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo int pratica in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica findByC_Group_Last( - long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException; - - /** - * Returns the last bo int pratica in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica fetchByC_Group_Last( - long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo int praticas before and after the current bo int pratica in the ordered set where companyId = ? and groupId = ?. - * - * @param intPraticaId the primary key of the current bo int pratica - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica[] findByC_Group_PrevAndNext( - long intPraticaId, long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException; - - /** - * Removes all the bo int praticas where companyId = ? and groupId = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @throws SystemException if a system exception occurred - */ - public void removeByC_Group(long companyId, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo int praticas where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public int countByC_Group(long companyId, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo int praticas where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @return the matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByPratica_da_variare( - long territorioId, boolean validata, java.lang.String numeroProgetto, - long variataDa) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo int praticas where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByPratica_da_variare( - long territorioId, boolean validata, java.lang.String numeroProgetto, - long variataDa, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo int praticas where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByPratica_da_variare( - long territorioId, boolean validata, java.lang.String numeroProgetto, - long variataDa, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo int pratica in the ordered set where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica findByPratica_da_variare_First( - long territorioId, boolean validata, java.lang.String numeroProgetto, - long variataDa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException; - - /** - * Returns the first bo int pratica in the ordered set where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica fetchByPratica_da_variare_First( - long territorioId, boolean validata, java.lang.String numeroProgetto, - long variataDa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo int pratica in the ordered set where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica findByPratica_da_variare_Last( - long territorioId, boolean validata, java.lang.String numeroProgetto, - long variataDa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException; - - /** - * Returns the last bo int pratica in the ordered set where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica fetchByPratica_da_variare_Last( - long territorioId, boolean validata, java.lang.String numeroProgetto, - long variataDa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo int praticas before and after the current bo int pratica in the ordered set where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param intPraticaId the primary key of the current bo int pratica - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica[] findByPratica_da_variare_PrevAndNext( - long intPraticaId, long territorioId, boolean validata, - java.lang.String numeroProgetto, long variataDa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException; - - /** - * Removes all the bo int praticas where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ? from the database. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @throws SystemException if a system exception occurred - */ - public void removeByPratica_da_variare(long territorioId, boolean validata, - java.lang.String numeroProgetto, long variataDa) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo int praticas where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public int countByPratica_da_variare(long territorioId, boolean validata, - java.lang.String numeroProgetto, long variataDa) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo int praticas where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @return the matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByTerritorio_Progetto_Variante_Validata( - long territorioId, boolean validata, long varianteNumero, - java.lang.String numeroProgetto) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo int praticas where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByTerritorio_Progetto_Variante_Validata( - long territorioId, boolean validata, long varianteNumero, - java.lang.String numeroProgetto, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo int praticas where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByTerritorio_Progetto_Variante_Validata( - long territorioId, boolean validata, long varianteNumero, - java.lang.String numeroProgetto, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo int pratica in the ordered set where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica findByTerritorio_Progetto_Variante_Validata_First( - long territorioId, boolean validata, long varianteNumero, - java.lang.String numeroProgetto, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException; - - /** - * Returns the first bo int pratica in the ordered set where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica fetchByTerritorio_Progetto_Variante_Validata_First( - long territorioId, boolean validata, long varianteNumero, - java.lang.String numeroProgetto, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo int pratica in the ordered set where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica findByTerritorio_Progetto_Variante_Validata_Last( - long territorioId, boolean validata, long varianteNumero, - java.lang.String numeroProgetto, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException; - - /** - * Returns the last bo int pratica in the ordered set where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica fetchByTerritorio_Progetto_Variante_Validata_Last( - long territorioId, boolean validata, long varianteNumero, - java.lang.String numeroProgetto, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo int praticas before and after the current bo int pratica in the ordered set where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param intPraticaId the primary key of the current bo int pratica - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica[] findByTerritorio_Progetto_Variante_Validata_PrevAndNext( - long intPraticaId, long territorioId, boolean validata, - long varianteNumero, java.lang.String numeroProgetto, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException; - - /** - * Removes all the bo int praticas where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ? from the database. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @throws SystemException if a system exception occurred - */ - public void removeByTerritorio_Progetto_Variante_Validata( - long territorioId, boolean validata, long varianteNumero, - java.lang.String numeroProgetto) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo int praticas where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public int countByTerritorio_Progetto_Variante_Validata(long territorioId, - boolean validata, long varianteNumero, java.lang.String numeroProgetto) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the bo int pratica in the entity cache if it is enabled. - * - * @param boIntPratica the bo int pratica - */ - public void cacheResult( - it.tref.liferay.portos.importazione.model.BoIntPratica boIntPratica); - - /** - * Caches the bo int praticas in the entity cache if it is enabled. - * - * @param boIntPraticas the bo int praticas - */ - public void cacheResult( - java.util.List boIntPraticas); - - /** - * Creates a new bo int pratica with the primary key. Does not add the bo int pratica to the database. - * - * @param intPraticaId the primary key for the new bo int pratica - * @return the new bo int pratica - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica create( - long intPraticaId); - - /** - * Removes the bo int pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param intPraticaId the primary key of the bo int pratica - * @return the bo int pratica that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica remove( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException; - - public it.tref.liferay.portos.importazione.model.BoIntPratica updateImpl( - it.tref.liferay.portos.importazione.model.BoIntPratica boIntPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo int pratica with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException} if it could not be found. - * - * @param intPraticaId the primary key of the bo int pratica - * @return the bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica findByPrimaryKey( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException; - - /** - * Returns the bo int pratica with the primary key or returns null if it could not be found. - * - * @param intPraticaId the primary key of the bo int pratica - * @return the bo int pratica, or null if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoIntPratica fetchByPrimaryKey( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo int praticas. - * - * @return the bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the bo int praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo int praticas. - * - * @return the number of bo int praticas - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoIntPraticaUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoIntPraticaUtil.java deleted file mode 100644 index 46b7a336..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoIntPraticaUtil.java +++ /dev/null @@ -1,1540 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.importazione.model.BoIntPratica; - -import java.util.List; - -/** - * The persistence utility for the bo int pratica service. This utility wraps {@link BoIntPraticaPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoIntPraticaPersistence - * @see BoIntPraticaPersistenceImpl - * @generated - */ -public class BoIntPraticaUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(BoIntPratica boIntPratica) { - getPersistence().clearCache(boIntPratica); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static BoIntPratica update(BoIntPratica boIntPratica) - throws SystemException { - return getPersistence().update(boIntPratica); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static BoIntPratica update(BoIntPratica boIntPratica, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(boIntPratica, serviceContext); - } - - /** - * Returns all the bo int praticas where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid); - } - - /** - * Returns a range of all the bo int praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end); - } - - /** - * Returns an ordered range of all the bo int praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end, orderByComparator); - } - - /** - * Returns the first bo int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException { - return getPersistence().findByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the first bo int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the last bo int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException { - return getPersistence().findByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the last bo int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the bo int praticas before and after the current bo int pratica in the ordered set where uuid = ?. - * - * @param intPraticaId the primary key of the current bo int pratica - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica[] findByUuid_PrevAndNext( - long intPraticaId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException { - return getPersistence() - .findByUuid_PrevAndNext(intPraticaId, uuid, orderByComparator); - } - - /** - * Removes all the bo int praticas where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid(uuid); - } - - /** - * Returns the number of bo int praticas where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid(uuid); - } - - /** - * Returns the bo int pratica where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException { - return getPersistence().findByUUID_G(uuid, groupId); - } - - /** - * Returns the bo int pratica where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the bo int pratica where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache); - } - - /** - * Removes the bo int pratica where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo int pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException { - return getPersistence().removeByUUID_G(uuid, groupId); - } - - /** - * Returns the number of bo int praticas where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUUID_G(uuid, groupId); - } - - /** - * Returns all the bo int praticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId); - } - - /** - * Returns a range of all the bo int praticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId, start, end); - } - - /** - * Returns an ordered range of all the bo int praticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByUuid_C(uuid, companyId, start, end, orderByComparator); - } - - /** - * Returns the first bo int pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException { - return getPersistence() - .findByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the first bo int pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the last bo int pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException { - return getPersistence() - .findByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the last bo int pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the bo int praticas before and after the current bo int pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param intPraticaId the primary key of the current bo int pratica - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica[] findByUuid_C_PrevAndNext( - long intPraticaId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException { - return getPersistence() - .findByUuid_C_PrevAndNext(intPraticaId, uuid, companyId, - orderByComparator); - } - - /** - * Removes all the bo int praticas where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid_C(uuid, companyId); - } - - /** - * Returns the number of bo int praticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid_C(uuid, companyId); - } - - /** - * Returns the bo int pratica where territorioId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException} if it could not be found. - * - * @param territorioId the territorio ID - * @return the matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica findByIntPraticaId( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException { - return getPersistence().findByIntPraticaId(territorioId); - } - - /** - * Returns the bo int pratica where territorioId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param territorioId the territorio ID - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica fetchByIntPraticaId( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByIntPraticaId(territorioId); - } - - /** - * Returns the bo int pratica where territorioId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param territorioId the territorio ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica fetchByIntPraticaId( - long territorioId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByIntPraticaId(territorioId, retrieveFromCache); - } - - /** - * Removes the bo int pratica where territorioId = ? from the database. - * - * @param territorioId the territorio ID - * @return the bo int pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica removeByIntPraticaId( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException { - return getPersistence().removeByIntPraticaId(territorioId); - } - - /** - * Returns the number of bo int praticas where territorioId = ?. - * - * @param territorioId the territorio ID - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static int countByIntPraticaId(long territorioId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByIntPraticaId(territorioId); - } - - /** - * Returns all the bo int praticas where territorioId = ?. - * - * @param territorioId the territorio ID - * @return the matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByTerritorioId( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByTerritorioId(territorioId); - } - - /** - * Returns a range of all the bo int praticas where territorioId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param territorioId the territorio ID - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByTerritorioId( - long territorioId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByTerritorioId(territorioId, start, end); - } - - /** - * Returns an ordered range of all the bo int praticas where territorioId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param territorioId the territorio ID - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByTerritorioId( - long territorioId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByTerritorioId(territorioId, start, end, - orderByComparator); - } - - /** - * Returns the first bo int pratica in the ordered set where territorioId = ?. - * - * @param territorioId the territorio ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica findByTerritorioId_First( - long territorioId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException { - return getPersistence() - .findByTerritorioId_First(territorioId, orderByComparator); - } - - /** - * Returns the first bo int pratica in the ordered set where territorioId = ?. - * - * @param territorioId the territorio ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica fetchByTerritorioId_First( - long territorioId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByTerritorioId_First(territorioId, orderByComparator); - } - - /** - * Returns the last bo int pratica in the ordered set where territorioId = ?. - * - * @param territorioId the territorio ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica findByTerritorioId_Last( - long territorioId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException { - return getPersistence() - .findByTerritorioId_Last(territorioId, orderByComparator); - } - - /** - * Returns the last bo int pratica in the ordered set where territorioId = ?. - * - * @param territorioId the territorio ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica fetchByTerritorioId_Last( - long territorioId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByTerritorioId_Last(territorioId, orderByComparator); - } - - /** - * Returns the bo int praticas before and after the current bo int pratica in the ordered set where territorioId = ?. - * - * @param intPraticaId the primary key of the current bo int pratica - * @param territorioId the territorio ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica[] findByTerritorioId_PrevAndNext( - long intPraticaId, long territorioId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException { - return getPersistence() - .findByTerritorioId_PrevAndNext(intPraticaId, territorioId, - orderByComparator); - } - - /** - * Removes all the bo int praticas where territorioId = ? from the database. - * - * @param territorioId the territorio ID - * @throws SystemException if a system exception occurred - */ - public static void removeByTerritorioId(long territorioId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByTerritorioId(territorioId); - } - - /** - * Returns the number of bo int praticas where territorioId = ?. - * - * @param territorioId the territorio ID - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static int countByTerritorioId(long territorioId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByTerritorioId(territorioId); - } - - /** - * Returns all the bo int praticas where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @return the matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group( - long companyId, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByC_Group(companyId, groupId); - } - - /** - * Returns a range of all the bo int praticas where companyId = ? and groupId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group( - long companyId, long groupId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByC_Group(companyId, groupId, start, end); - } - - /** - * Returns an ordered range of all the bo int praticas where companyId = ? and groupId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group( - long companyId, long groupId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Group(companyId, groupId, start, end, - orderByComparator); - } - - /** - * Returns the first bo int pratica in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica findByC_Group_First( - long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException { - return getPersistence() - .findByC_Group_First(companyId, groupId, orderByComparator); - } - - /** - * Returns the first bo int pratica in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica fetchByC_Group_First( - long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Group_First(companyId, groupId, orderByComparator); - } - - /** - * Returns the last bo int pratica in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica findByC_Group_Last( - long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException { - return getPersistence() - .findByC_Group_Last(companyId, groupId, orderByComparator); - } - - /** - * Returns the last bo int pratica in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica fetchByC_Group_Last( - long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Group_Last(companyId, groupId, orderByComparator); - } - - /** - * Returns the bo int praticas before and after the current bo int pratica in the ordered set where companyId = ? and groupId = ?. - * - * @param intPraticaId the primary key of the current bo int pratica - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica[] findByC_Group_PrevAndNext( - long intPraticaId, long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException { - return getPersistence() - .findByC_Group_PrevAndNext(intPraticaId, companyId, groupId, - orderByComparator); - } - - /** - * Removes all the bo int praticas where companyId = ? and groupId = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @throws SystemException if a system exception occurred - */ - public static void removeByC_Group(long companyId, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByC_Group(companyId, groupId); - } - - /** - * Returns the number of bo int praticas where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static int countByC_Group(long companyId, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByC_Group(companyId, groupId); - } - - /** - * Returns all the bo int praticas where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @return the matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByPratica_da_variare( - long territorioId, boolean validata, java.lang.String numeroProgetto, - long variataDa) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByPratica_da_variare(territorioId, validata, - numeroProgetto, variataDa); - } - - /** - * Returns a range of all the bo int praticas where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByPratica_da_variare( - long territorioId, boolean validata, java.lang.String numeroProgetto, - long variataDa, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByPratica_da_variare(territorioId, validata, - numeroProgetto, variataDa, start, end); - } - - /** - * Returns an ordered range of all the bo int praticas where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByPratica_da_variare( - long territorioId, boolean validata, java.lang.String numeroProgetto, - long variataDa, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByPratica_da_variare(territorioId, validata, - numeroProgetto, variataDa, start, end, orderByComparator); - } - - /** - * Returns the first bo int pratica in the ordered set where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica findByPratica_da_variare_First( - long territorioId, boolean validata, java.lang.String numeroProgetto, - long variataDa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException { - return getPersistence() - .findByPratica_da_variare_First(territorioId, validata, - numeroProgetto, variataDa, orderByComparator); - } - - /** - * Returns the first bo int pratica in the ordered set where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica fetchByPratica_da_variare_First( - long territorioId, boolean validata, java.lang.String numeroProgetto, - long variataDa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByPratica_da_variare_First(territorioId, validata, - numeroProgetto, variataDa, orderByComparator); - } - - /** - * Returns the last bo int pratica in the ordered set where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica findByPratica_da_variare_Last( - long territorioId, boolean validata, java.lang.String numeroProgetto, - long variataDa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException { - return getPersistence() - .findByPratica_da_variare_Last(territorioId, validata, - numeroProgetto, variataDa, orderByComparator); - } - - /** - * Returns the last bo int pratica in the ordered set where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica fetchByPratica_da_variare_Last( - long territorioId, boolean validata, java.lang.String numeroProgetto, - long variataDa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByPratica_da_variare_Last(territorioId, validata, - numeroProgetto, variataDa, orderByComparator); - } - - /** - * Returns the bo int praticas before and after the current bo int pratica in the ordered set where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param intPraticaId the primary key of the current bo int pratica - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica[] findByPratica_da_variare_PrevAndNext( - long intPraticaId, long territorioId, boolean validata, - java.lang.String numeroProgetto, long variataDa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException { - return getPersistence() - .findByPratica_da_variare_PrevAndNext(intPraticaId, - territorioId, validata, numeroProgetto, variataDa, orderByComparator); - } - - /** - * Removes all the bo int praticas where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ? from the database. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @throws SystemException if a system exception occurred - */ - public static void removeByPratica_da_variare(long territorioId, - boolean validata, java.lang.String numeroProgetto, long variataDa) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeByPratica_da_variare(territorioId, validata, numeroProgetto, - variataDa); - } - - /** - * Returns the number of bo int praticas where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static int countByPratica_da_variare(long territorioId, - boolean validata, java.lang.String numeroProgetto, long variataDa) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByPratica_da_variare(territorioId, validata, - numeroProgetto, variataDa); - } - - /** - * Returns all the bo int praticas where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @return the matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByTerritorio_Progetto_Variante_Validata( - long territorioId, boolean validata, long varianteNumero, - java.lang.String numeroProgetto) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByTerritorio_Progetto_Variante_Validata(territorioId, - validata, varianteNumero, numeroProgetto); - } - - /** - * Returns a range of all the bo int praticas where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByTerritorio_Progetto_Variante_Validata( - long territorioId, boolean validata, long varianteNumero, - java.lang.String numeroProgetto, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByTerritorio_Progetto_Variante_Validata(territorioId, - validata, varianteNumero, numeroProgetto, start, end); - } - - /** - * Returns an ordered range of all the bo int praticas where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByTerritorio_Progetto_Variante_Validata( - long territorioId, boolean validata, long varianteNumero, - java.lang.String numeroProgetto, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByTerritorio_Progetto_Variante_Validata(territorioId, - validata, varianteNumero, numeroProgetto, start, end, - orderByComparator); - } - - /** - * Returns the first bo int pratica in the ordered set where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica findByTerritorio_Progetto_Variante_Validata_First( - long territorioId, boolean validata, long varianteNumero, - java.lang.String numeroProgetto, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException { - return getPersistence() - .findByTerritorio_Progetto_Variante_Validata_First(territorioId, - validata, varianteNumero, numeroProgetto, orderByComparator); - } - - /** - * Returns the first bo int pratica in the ordered set where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica fetchByTerritorio_Progetto_Variante_Validata_First( - long territorioId, boolean validata, long varianteNumero, - java.lang.String numeroProgetto, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByTerritorio_Progetto_Variante_Validata_First(territorioId, - validata, varianteNumero, numeroProgetto, orderByComparator); - } - - /** - * Returns the last bo int pratica in the ordered set where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica findByTerritorio_Progetto_Variante_Validata_Last( - long territorioId, boolean validata, long varianteNumero, - java.lang.String numeroProgetto, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException { - return getPersistence() - .findByTerritorio_Progetto_Variante_Validata_Last(territorioId, - validata, varianteNumero, numeroProgetto, orderByComparator); - } - - /** - * Returns the last bo int pratica in the ordered set where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica fetchByTerritorio_Progetto_Variante_Validata_Last( - long territorioId, boolean validata, long varianteNumero, - java.lang.String numeroProgetto, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByTerritorio_Progetto_Variante_Validata_Last(territorioId, - validata, varianteNumero, numeroProgetto, orderByComparator); - } - - /** - * Returns the bo int praticas before and after the current bo int pratica in the ordered set where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param intPraticaId the primary key of the current bo int pratica - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica[] findByTerritorio_Progetto_Variante_Validata_PrevAndNext( - long intPraticaId, long territorioId, boolean validata, - long varianteNumero, java.lang.String numeroProgetto, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException { - return getPersistence() - .findByTerritorio_Progetto_Variante_Validata_PrevAndNext(intPraticaId, - territorioId, validata, varianteNumero, numeroProgetto, - orderByComparator); - } - - /** - * Removes all the bo int praticas where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ? from the database. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @throws SystemException if a system exception occurred - */ - public static void removeByTerritorio_Progetto_Variante_Validata( - long territorioId, boolean validata, long varianteNumero, - java.lang.String numeroProgetto) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeByTerritorio_Progetto_Variante_Validata(territorioId, - validata, varianteNumero, numeroProgetto); - } - - /** - * Returns the number of bo int praticas where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static int countByTerritorio_Progetto_Variante_Validata( - long territorioId, boolean validata, long varianteNumero, - java.lang.String numeroProgetto) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByTerritorio_Progetto_Variante_Validata(territorioId, - validata, varianteNumero, numeroProgetto); - } - - /** - * Caches the bo int pratica in the entity cache if it is enabled. - * - * @param boIntPratica the bo int pratica - */ - public static void cacheResult( - it.tref.liferay.portos.importazione.model.BoIntPratica boIntPratica) { - getPersistence().cacheResult(boIntPratica); - } - - /** - * Caches the bo int praticas in the entity cache if it is enabled. - * - * @param boIntPraticas the bo int praticas - */ - public static void cacheResult( - java.util.List boIntPraticas) { - getPersistence().cacheResult(boIntPraticas); - } - - /** - * Creates a new bo int pratica with the primary key. Does not add the bo int pratica to the database. - * - * @param intPraticaId the primary key for the new bo int pratica - * @return the new bo int pratica - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica create( - long intPraticaId) { - return getPersistence().create(intPraticaId); - } - - /** - * Removes the bo int pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param intPraticaId the primary key of the bo int pratica - * @return the bo int pratica that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica remove( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException { - return getPersistence().remove(intPraticaId); - } - - public static it.tref.liferay.portos.importazione.model.BoIntPratica updateImpl( - it.tref.liferay.portos.importazione.model.BoIntPratica boIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(boIntPratica); - } - - /** - * Returns the bo int pratica with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException} if it could not be found. - * - * @param intPraticaId the primary key of the bo int pratica - * @return the bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica findByPrimaryKey( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException { - return getPersistence().findByPrimaryKey(intPraticaId); - } - - /** - * Returns the bo int pratica with the primary key or returns null if it could not be found. - * - * @param intPraticaId the primary key of the bo int pratica - * @return the bo int pratica, or null if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoIntPratica fetchByPrimaryKey( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(intPraticaId); - } - - /** - * Returns all the bo int praticas. - * - * @return the bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the bo int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the bo int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the bo int praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of bo int praticas. - * - * @return the number of bo int praticas - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static BoIntPraticaPersistence getPersistence() { - if (_persistence == null) { - _persistence = (BoIntPraticaPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - BoIntPraticaPersistence.class.getName()); - - ReferenceRegistry.registerReference(BoIntPraticaUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(BoIntPraticaPersistence persistence) { - } - - private static BoIntPraticaPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoProblemiPraticaActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoProblemiPraticaActionableDynamicQuery.java deleted file mode 100644 index 559716b3..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoProblemiPraticaActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.BoProblemiPratica; -import it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalServiceUtil; - -/** - * @author 3FC - * @generated - */ -public abstract class BoProblemiPraticaActionableDynamicQuery - extends BaseActionableDynamicQuery { - public BoProblemiPraticaActionableDynamicQuery() throws SystemException { - setBaseLocalService(BoProblemiPraticaLocalServiceUtil.getService()); - setClass(BoProblemiPratica.class); - - setClassLoader(it.tref.liferay.portos.importazione.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("problemiPraticaId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoProblemiPraticaPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoProblemiPraticaPersistence.java deleted file mode 100644 index 45d30de0..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoProblemiPraticaPersistence.java +++ /dev/null @@ -1,464 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.importazione.model.BoProblemiPratica; - -/** - * The persistence interface for the bo problemi pratica service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoProblemiPraticaPersistenceImpl - * @see BoProblemiPraticaUtil - * @generated - */ -public interface BoProblemiPraticaPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoProblemiPraticaUtil} to access the bo problemi pratica persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns all the bo problemi praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @return the matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group_DettPratica( - long companyId, long groupId, long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo problemi praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @return the range of matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group_DettPratica( - long companyId, long groupId, long dettPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo problemi praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group_DettPratica( - long companyId, long groupId, long dettPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo problemi pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo problemi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoProblemiPratica findByC_Group_DettPratica_First( - long companyId, long groupId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException; - - /** - * Returns the first bo problemi pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo problemi pratica, or null if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoProblemiPratica fetchByC_Group_DettPratica_First( - long companyId, long groupId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo problemi pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo problemi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoProblemiPratica findByC_Group_DettPratica_Last( - long companyId, long groupId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException; - - /** - * Returns the last bo problemi pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo problemi pratica, or null if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoProblemiPratica fetchByC_Group_DettPratica_Last( - long companyId, long groupId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo problemi praticas before and after the current bo problemi pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param problemiPraticaId the primary key of the current bo problemi pratica - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo problemi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoProblemiPratica[] findByC_Group_DettPratica_PrevAndNext( - long problemiPraticaId, long companyId, long groupId, - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException; - - /** - * Removes all the bo problemi praticas where companyId = ? and groupId = ? and dettPraticaId = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - public void removeByC_Group_DettPratica(long companyId, long groupId, - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo problemi praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public int countByC_Group_DettPratica(long companyId, long groupId, - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo problemi praticas where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo problemi praticas where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @return the range of matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica( - long dettPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo problemi praticas where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica( - long dettPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo problemi pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo problemi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoProblemiPratica findByDettPratica_First( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException; - - /** - * Returns the first bo problemi pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo problemi pratica, or null if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoProblemiPratica fetchByDettPratica_First( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo problemi pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo problemi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoProblemiPratica findByDettPratica_Last( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException; - - /** - * Returns the last bo problemi pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo problemi pratica, or null if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoProblemiPratica fetchByDettPratica_Last( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo problemi praticas before and after the current bo problemi pratica in the ordered set where dettPraticaId = ?. - * - * @param problemiPraticaId the primary key of the current bo problemi pratica - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo problemi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoProblemiPratica[] findByDettPratica_PrevAndNext( - long problemiPraticaId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException; - - /** - * Removes all the bo problemi praticas where dettPraticaId = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - public void removeByDettPratica(long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo problemi praticas where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public int countByDettPratica(long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the bo problemi pratica in the entity cache if it is enabled. - * - * @param boProblemiPratica the bo problemi pratica - */ - public void cacheResult( - it.tref.liferay.portos.importazione.model.BoProblemiPratica boProblemiPratica); - - /** - * Caches the bo problemi praticas in the entity cache if it is enabled. - * - * @param boProblemiPraticas the bo problemi praticas - */ - public void cacheResult( - java.util.List boProblemiPraticas); - - /** - * Creates a new bo problemi pratica with the primary key. Does not add the bo problemi pratica to the database. - * - * @param problemiPraticaId the primary key for the new bo problemi pratica - * @return the new bo problemi pratica - */ - public it.tref.liferay.portos.importazione.model.BoProblemiPratica create( - long problemiPraticaId); - - /** - * Removes the bo problemi pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param problemiPraticaId the primary key of the bo problemi pratica - * @return the bo problemi pratica that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoProblemiPratica remove( - long problemiPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException; - - public it.tref.liferay.portos.importazione.model.BoProblemiPratica updateImpl( - it.tref.liferay.portos.importazione.model.BoProblemiPratica boProblemiPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo problemi pratica with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException} if it could not be found. - * - * @param problemiPraticaId the primary key of the bo problemi pratica - * @return the bo problemi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoProblemiPratica findByPrimaryKey( - long problemiPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException; - - /** - * Returns the bo problemi pratica with the primary key or returns null if it could not be found. - * - * @param problemiPraticaId the primary key of the bo problemi pratica - * @return the bo problemi pratica, or null if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoProblemiPratica fetchByPrimaryKey( - long problemiPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo problemi praticas. - * - * @return the bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo problemi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @return the range of bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo problemi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the bo problemi praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo problemi praticas. - * - * @return the number of bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoProblemiPraticaUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoProblemiPraticaUtil.java deleted file mode 100644 index 3a22b16b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoProblemiPraticaUtil.java +++ /dev/null @@ -1,647 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.importazione.model.BoProblemiPratica; - -import java.util.List; - -/** - * The persistence utility for the bo problemi pratica service. This utility wraps {@link BoProblemiPraticaPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoProblemiPraticaPersistence - * @see BoProblemiPraticaPersistenceImpl - * @generated - */ -public class BoProblemiPraticaUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(BoProblemiPratica boProblemiPratica) { - getPersistence().clearCache(boProblemiPratica); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static BoProblemiPratica update(BoProblemiPratica boProblemiPratica) - throws SystemException { - return getPersistence().update(boProblemiPratica); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static BoProblemiPratica update( - BoProblemiPratica boProblemiPratica, ServiceContext serviceContext) - throws SystemException { - return getPersistence().update(boProblemiPratica, serviceContext); - } - - /** - * Returns all the bo problemi praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @return the matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group_DettPratica( - long companyId, long groupId, long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Group_DettPratica(companyId, groupId, dettPraticaId); - } - - /** - * Returns a range of all the bo problemi praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @return the range of matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group_DettPratica( - long companyId, long groupId, long dettPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Group_DettPratica(companyId, groupId, - dettPraticaId, start, end); - } - - /** - * Returns an ordered range of all the bo problemi praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group_DettPratica( - long companyId, long groupId, long dettPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Group_DettPratica(companyId, groupId, - dettPraticaId, start, end, orderByComparator); - } - - /** - * Returns the first bo problemi pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo problemi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoProblemiPratica findByC_Group_DettPratica_First( - long companyId, long groupId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException { - return getPersistence() - .findByC_Group_DettPratica_First(companyId, groupId, - dettPraticaId, orderByComparator); - } - - /** - * Returns the first bo problemi pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo problemi pratica, or null if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoProblemiPratica fetchByC_Group_DettPratica_First( - long companyId, long groupId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Group_DettPratica_First(companyId, groupId, - dettPraticaId, orderByComparator); - } - - /** - * Returns the last bo problemi pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo problemi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoProblemiPratica findByC_Group_DettPratica_Last( - long companyId, long groupId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException { - return getPersistence() - .findByC_Group_DettPratica_Last(companyId, groupId, - dettPraticaId, orderByComparator); - } - - /** - * Returns the last bo problemi pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo problemi pratica, or null if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoProblemiPratica fetchByC_Group_DettPratica_Last( - long companyId, long groupId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Group_DettPratica_Last(companyId, groupId, - dettPraticaId, orderByComparator); - } - - /** - * Returns the bo problemi praticas before and after the current bo problemi pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param problemiPraticaId the primary key of the current bo problemi pratica - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo problemi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoProblemiPratica[] findByC_Group_DettPratica_PrevAndNext( - long problemiPraticaId, long companyId, long groupId, - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException { - return getPersistence() - .findByC_Group_DettPratica_PrevAndNext(problemiPraticaId, - companyId, groupId, dettPraticaId, orderByComparator); - } - - /** - * Removes all the bo problemi praticas where companyId = ? and groupId = ? and dettPraticaId = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - public static void removeByC_Group_DettPratica(long companyId, - long groupId, long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeByC_Group_DettPratica(companyId, groupId, dettPraticaId); - } - - /** - * Returns the number of bo problemi praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public static int countByC_Group_DettPratica(long companyId, long groupId, - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByC_Group_DettPratica(companyId, groupId, dettPraticaId); - } - - /** - * Returns all the bo problemi praticas where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByDettPratica(dettPraticaId); - } - - /** - * Returns a range of all the bo problemi praticas where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @return the range of matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica( - long dettPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByDettPratica(dettPraticaId, start, end); - } - - /** - * Returns an ordered range of all the bo problemi praticas where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica( - long dettPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica(dettPraticaId, start, end, - orderByComparator); - } - - /** - * Returns the first bo problemi pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo problemi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoProblemiPratica findByDettPratica_First( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException { - return getPersistence() - .findByDettPratica_First(dettPraticaId, orderByComparator); - } - - /** - * Returns the first bo problemi pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo problemi pratica, or null if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoProblemiPratica fetchByDettPratica_First( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPratica_First(dettPraticaId, orderByComparator); - } - - /** - * Returns the last bo problemi pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo problemi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoProblemiPratica findByDettPratica_Last( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException { - return getPersistence() - .findByDettPratica_Last(dettPraticaId, orderByComparator); - } - - /** - * Returns the last bo problemi pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo problemi pratica, or null if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoProblemiPratica fetchByDettPratica_Last( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPratica_Last(dettPraticaId, orderByComparator); - } - - /** - * Returns the bo problemi praticas before and after the current bo problemi pratica in the ordered set where dettPraticaId = ?. - * - * @param problemiPraticaId the primary key of the current bo problemi pratica - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo problemi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoProblemiPratica[] findByDettPratica_PrevAndNext( - long problemiPraticaId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException { - return getPersistence() - .findByDettPratica_PrevAndNext(problemiPraticaId, - dettPraticaId, orderByComparator); - } - - /** - * Removes all the bo problemi praticas where dettPraticaId = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - public static void removeByDettPratica(long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByDettPratica(dettPraticaId); - } - - /** - * Returns the number of bo problemi praticas where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public static int countByDettPratica(long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByDettPratica(dettPraticaId); - } - - /** - * Caches the bo problemi pratica in the entity cache if it is enabled. - * - * @param boProblemiPratica the bo problemi pratica - */ - public static void cacheResult( - it.tref.liferay.portos.importazione.model.BoProblemiPratica boProblemiPratica) { - getPersistence().cacheResult(boProblemiPratica); - } - - /** - * Caches the bo problemi praticas in the entity cache if it is enabled. - * - * @param boProblemiPraticas the bo problemi praticas - */ - public static void cacheResult( - java.util.List boProblemiPraticas) { - getPersistence().cacheResult(boProblemiPraticas); - } - - /** - * Creates a new bo problemi pratica with the primary key. Does not add the bo problemi pratica to the database. - * - * @param problemiPraticaId the primary key for the new bo problemi pratica - * @return the new bo problemi pratica - */ - public static it.tref.liferay.portos.importazione.model.BoProblemiPratica create( - long problemiPraticaId) { - return getPersistence().create(problemiPraticaId); - } - - /** - * Removes the bo problemi pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param problemiPraticaId the primary key of the bo problemi pratica - * @return the bo problemi pratica that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoProblemiPratica remove( - long problemiPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException { - return getPersistence().remove(problemiPraticaId); - } - - public static it.tref.liferay.portos.importazione.model.BoProblemiPratica updateImpl( - it.tref.liferay.portos.importazione.model.BoProblemiPratica boProblemiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(boProblemiPratica); - } - - /** - * Returns the bo problemi pratica with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException} if it could not be found. - * - * @param problemiPraticaId the primary key of the bo problemi pratica - * @return the bo problemi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoProblemiPratica findByPrimaryKey( - long problemiPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException { - return getPersistence().findByPrimaryKey(problemiPraticaId); - } - - /** - * Returns the bo problemi pratica with the primary key or returns null if it could not be found. - * - * @param problemiPraticaId the primary key of the bo problemi pratica - * @return the bo problemi pratica, or null if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoProblemiPratica fetchByPrimaryKey( - long problemiPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(problemiPraticaId); - } - - /** - * Returns all the bo problemi praticas. - * - * @return the bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the bo problemi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @return the range of bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the bo problemi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the bo problemi praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of bo problemi praticas. - * - * @return the number of bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static BoProblemiPraticaPersistence getPersistence() { - if (_persistence == null) { - _persistence = (BoProblemiPraticaPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - BoProblemiPraticaPersistence.class.getName()); - - ReferenceRegistry.registerReference(BoProblemiPraticaUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(BoProblemiPraticaPersistence persistence) { - } - - private static BoProblemiPraticaPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoRelLeggiPraticaActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoRelLeggiPraticaActionableDynamicQuery.java deleted file mode 100644 index a02bf20b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoRelLeggiPraticaActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.BoRelLeggiPratica; -import it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalServiceUtil; - -/** - * @author 3FC - * @generated - */ -public abstract class BoRelLeggiPraticaActionableDynamicQuery - extends BaseActionableDynamicQuery { - public BoRelLeggiPraticaActionableDynamicQuery() throws SystemException { - setBaseLocalService(BoRelLeggiPraticaLocalServiceUtil.getService()); - setClass(BoRelLeggiPratica.class); - - setClassLoader(it.tref.liferay.portos.importazione.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("artLeggeId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoRelLeggiPraticaPK.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoRelLeggiPraticaPK.java deleted file mode 100644 index 1e1e5378..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoRelLeggiPraticaPK.java +++ /dev/null @@ -1,139 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; - -import java.io.Serializable; - -/** - * @author 3FC - * @generated - */ -public class BoRelLeggiPraticaPK implements Comparable, - Serializable { - public long intPraticaId; - public long artLeggeId; - - public BoRelLeggiPraticaPK() { - } - - public BoRelLeggiPraticaPK(long intPraticaId, long artLeggeId) { - this.intPraticaId = intPraticaId; - this.artLeggeId = artLeggeId; - } - - public long getIntPraticaId() { - return intPraticaId; - } - - public void setIntPraticaId(long intPraticaId) { - this.intPraticaId = intPraticaId; - } - - public long getArtLeggeId() { - return artLeggeId; - } - - public void setArtLeggeId(long artLeggeId) { - this.artLeggeId = artLeggeId; - } - - @Override - public int compareTo(BoRelLeggiPraticaPK pk) { - if (pk == null) { - return -1; - } - - int value = 0; - - if (intPraticaId < pk.intPraticaId) { - value = -1; - } - else if (intPraticaId > pk.intPraticaId) { - value = 1; - } - else { - value = 0; - } - - if (value != 0) { - return value; - } - - if (artLeggeId < pk.artLeggeId) { - value = -1; - } - else if (artLeggeId > pk.artLeggeId) { - value = 1; - } - else { - value = 0; - } - - if (value != 0) { - return value; - } - - return 0; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoRelLeggiPraticaPK)) { - return false; - } - - BoRelLeggiPraticaPK pk = (BoRelLeggiPraticaPK)obj; - - if ((intPraticaId == pk.intPraticaId) && (artLeggeId == pk.artLeggeId)) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (String.valueOf(intPraticaId) + String.valueOf(artLeggeId)).hashCode(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(10); - - sb.append(StringPool.OPEN_CURLY_BRACE); - - sb.append("intPraticaId"); - sb.append(StringPool.EQUAL); - sb.append(intPraticaId); - - sb.append(StringPool.COMMA); - sb.append(StringPool.SPACE); - sb.append("artLeggeId"); - sb.append(StringPool.EQUAL); - sb.append(artLeggeId); - - sb.append(StringPool.CLOSE_CURLY_BRACE); - - return sb.toString(); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoRelLeggiPraticaPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoRelLeggiPraticaPersistence.java deleted file mode 100644 index 2a928353..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoRelLeggiPraticaPersistence.java +++ /dev/null @@ -1,425 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.importazione.model.BoRelLeggiPratica; - -/** - * The persistence interface for the bo rel leggi pratica service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoRelLeggiPraticaPersistenceImpl - * @see BoRelLeggiPraticaUtil - * @generated - */ -public interface BoRelLeggiPraticaPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoRelLeggiPraticaUtil} to access the bo rel leggi pratica persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns all the bo rel leggi praticas where artLeggeId = ?. - * - * @param artLeggeId the art legge ID - * @return the matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByArtLeggeId( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo rel leggi praticas where artLeggeId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param artLeggeId the art legge ID - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @return the range of matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByArtLeggeId( - long artLeggeId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo rel leggi praticas where artLeggeId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param artLeggeId the art legge ID - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByArtLeggeId( - long artLeggeId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo rel leggi pratica in the ordered set where artLeggeId = ?. - * - * @param artLeggeId the art legge ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo rel leggi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica findByArtLeggeId_First( - long artLeggeId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException; - - /** - * Returns the first bo rel leggi pratica in the ordered set where artLeggeId = ?. - * - * @param artLeggeId the art legge ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo rel leggi pratica, or null if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica fetchByArtLeggeId_First( - long artLeggeId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo rel leggi pratica in the ordered set where artLeggeId = ?. - * - * @param artLeggeId the art legge ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo rel leggi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica findByArtLeggeId_Last( - long artLeggeId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException; - - /** - * Returns the last bo rel leggi pratica in the ordered set where artLeggeId = ?. - * - * @param artLeggeId the art legge ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo rel leggi pratica, or null if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica fetchByArtLeggeId_Last( - long artLeggeId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the bo rel leggi praticas where artLeggeId = ? from the database. - * - * @param artLeggeId the art legge ID - * @throws SystemException if a system exception occurred - */ - public void removeByArtLeggeId(long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo rel leggi praticas where artLeggeId = ?. - * - * @param artLeggeId the art legge ID - * @return the number of matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public int countByArtLeggeId(long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo rel leggi praticas where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @return the matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByIntPraticaId( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo rel leggi praticas where intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @return the range of matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByIntPraticaId( - long intPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo rel leggi praticas where intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByIntPraticaId( - long intPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo rel leggi pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo rel leggi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica findByIntPraticaId_First( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException; - - /** - * Returns the first bo rel leggi pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo rel leggi pratica, or null if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica fetchByIntPraticaId_First( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo rel leggi pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo rel leggi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica findByIntPraticaId_Last( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException; - - /** - * Returns the last bo rel leggi pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo rel leggi pratica, or null if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica fetchByIntPraticaId_Last( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo rel leggi praticas before and after the current bo rel leggi pratica in the ordered set where intPraticaId = ?. - * - * @param artLeggeId the primary key of the current bo rel leggi pratica - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo rel leggi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica[] findByIntPraticaId_PrevAndNext( - long artLeggeId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException; - - /** - * Removes all the bo rel leggi praticas where intPraticaId = ? from the database. - * - * @param intPraticaId the int pratica ID - * @throws SystemException if a system exception occurred - */ - public void removeByIntPraticaId(long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo rel leggi praticas where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @return the number of matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public int countByIntPraticaId(long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the bo rel leggi pratica in the entity cache if it is enabled. - * - * @param boRelLeggiPratica the bo rel leggi pratica - */ - public void cacheResult( - it.tref.liferay.portos.importazione.model.BoRelLeggiPratica boRelLeggiPratica); - - /** - * Caches the bo rel leggi praticas in the entity cache if it is enabled. - * - * @param boRelLeggiPraticas the bo rel leggi praticas - */ - public void cacheResult( - java.util.List boRelLeggiPraticas); - - /** - * Creates a new bo rel leggi pratica with the primary key. Does not add the bo rel leggi pratica to the database. - * - * @param artLeggeId the primary key for the new bo rel leggi pratica - * @return the new bo rel leggi pratica - */ - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica create( - long artLeggeId); - - /** - * Removes the bo rel leggi pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param artLeggeId the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica remove( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException; - - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica updateImpl( - it.tref.liferay.portos.importazione.model.BoRelLeggiPratica boRelLeggiPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo rel leggi pratica with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException} if it could not be found. - * - * @param artLeggeId the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica findByPrimaryKey( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException; - - /** - * Returns the bo rel leggi pratica with the primary key or returns null if it could not be found. - * - * @param artLeggeId the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica, or null if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoRelLeggiPratica fetchByPrimaryKey( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo rel leggi praticas. - * - * @return the bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo rel leggi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @return the range of bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo rel leggi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the bo rel leggi praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo rel leggi praticas. - * - * @return the number of bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoRelLeggiPraticaUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoRelLeggiPraticaUtil.java deleted file mode 100644 index 6808e9ba..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoRelLeggiPraticaUtil.java +++ /dev/null @@ -1,594 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.importazione.model.BoRelLeggiPratica; - -import java.util.List; - -/** - * The persistence utility for the bo rel leggi pratica service. This utility wraps {@link BoRelLeggiPraticaPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoRelLeggiPraticaPersistence - * @see BoRelLeggiPraticaPersistenceImpl - * @generated - */ -public class BoRelLeggiPraticaUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(BoRelLeggiPratica boRelLeggiPratica) { - getPersistence().clearCache(boRelLeggiPratica); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static BoRelLeggiPratica update(BoRelLeggiPratica boRelLeggiPratica) - throws SystemException { - return getPersistence().update(boRelLeggiPratica); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static BoRelLeggiPratica update( - BoRelLeggiPratica boRelLeggiPratica, ServiceContext serviceContext) - throws SystemException { - return getPersistence().update(boRelLeggiPratica, serviceContext); - } - - /** - * Returns all the bo rel leggi praticas where artLeggeId = ?. - * - * @param artLeggeId the art legge ID - * @return the matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByArtLeggeId( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByArtLeggeId(artLeggeId); - } - - /** - * Returns a range of all the bo rel leggi praticas where artLeggeId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param artLeggeId the art legge ID - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @return the range of matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByArtLeggeId( - long artLeggeId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByArtLeggeId(artLeggeId, start, end); - } - - /** - * Returns an ordered range of all the bo rel leggi praticas where artLeggeId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param artLeggeId the art legge ID - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByArtLeggeId( - long artLeggeId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByArtLeggeId(artLeggeId, start, end, orderByComparator); - } - - /** - * Returns the first bo rel leggi pratica in the ordered set where artLeggeId = ?. - * - * @param artLeggeId the art legge ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo rel leggi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoRelLeggiPratica findByArtLeggeId_First( - long artLeggeId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException { - return getPersistence() - .findByArtLeggeId_First(artLeggeId, orderByComparator); - } - - /** - * Returns the first bo rel leggi pratica in the ordered set where artLeggeId = ?. - * - * @param artLeggeId the art legge ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo rel leggi pratica, or null if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoRelLeggiPratica fetchByArtLeggeId_First( - long artLeggeId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByArtLeggeId_First(artLeggeId, orderByComparator); - } - - /** - * Returns the last bo rel leggi pratica in the ordered set where artLeggeId = ?. - * - * @param artLeggeId the art legge ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo rel leggi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoRelLeggiPratica findByArtLeggeId_Last( - long artLeggeId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException { - return getPersistence() - .findByArtLeggeId_Last(artLeggeId, orderByComparator); - } - - /** - * Returns the last bo rel leggi pratica in the ordered set where artLeggeId = ?. - * - * @param artLeggeId the art legge ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo rel leggi pratica, or null if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoRelLeggiPratica fetchByArtLeggeId_Last( - long artLeggeId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByArtLeggeId_Last(artLeggeId, orderByComparator); - } - - /** - * Removes all the bo rel leggi praticas where artLeggeId = ? from the database. - * - * @param artLeggeId the art legge ID - * @throws SystemException if a system exception occurred - */ - public static void removeByArtLeggeId(long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByArtLeggeId(artLeggeId); - } - - /** - * Returns the number of bo rel leggi praticas where artLeggeId = ?. - * - * @param artLeggeId the art legge ID - * @return the number of matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public static int countByArtLeggeId(long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByArtLeggeId(artLeggeId); - } - - /** - * Returns all the bo rel leggi praticas where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @return the matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByIntPraticaId( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByIntPraticaId(intPraticaId); - } - - /** - * Returns a range of all the bo rel leggi praticas where intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @return the range of matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByIntPraticaId( - long intPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByIntPraticaId(intPraticaId, start, end); - } - - /** - * Returns an ordered range of all the bo rel leggi praticas where intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByIntPraticaId( - long intPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByIntPraticaId(intPraticaId, start, end, - orderByComparator); - } - - /** - * Returns the first bo rel leggi pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo rel leggi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoRelLeggiPratica findByIntPraticaId_First( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException { - return getPersistence() - .findByIntPraticaId_First(intPraticaId, orderByComparator); - } - - /** - * Returns the first bo rel leggi pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo rel leggi pratica, or null if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoRelLeggiPratica fetchByIntPraticaId_First( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByIntPraticaId_First(intPraticaId, orderByComparator); - } - - /** - * Returns the last bo rel leggi pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo rel leggi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoRelLeggiPratica findByIntPraticaId_Last( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException { - return getPersistence() - .findByIntPraticaId_Last(intPraticaId, orderByComparator); - } - - /** - * Returns the last bo rel leggi pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo rel leggi pratica, or null if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoRelLeggiPratica fetchByIntPraticaId_Last( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByIntPraticaId_Last(intPraticaId, orderByComparator); - } - - /** - * Returns the bo rel leggi praticas before and after the current bo rel leggi pratica in the ordered set where intPraticaId = ?. - * - * @param artLeggeId the primary key of the current bo rel leggi pratica - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo rel leggi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoRelLeggiPratica[] findByIntPraticaId_PrevAndNext( - long artLeggeId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException { - return getPersistence() - .findByIntPraticaId_PrevAndNext(artLeggeId, intPraticaId, - orderByComparator); - } - - /** - * Removes all the bo rel leggi praticas where intPraticaId = ? from the database. - * - * @param intPraticaId the int pratica ID - * @throws SystemException if a system exception occurred - */ - public static void removeByIntPraticaId(long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByIntPraticaId(intPraticaId); - } - - /** - * Returns the number of bo rel leggi praticas where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @return the number of matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public static int countByIntPraticaId(long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByIntPraticaId(intPraticaId); - } - - /** - * Caches the bo rel leggi pratica in the entity cache if it is enabled. - * - * @param boRelLeggiPratica the bo rel leggi pratica - */ - public static void cacheResult( - it.tref.liferay.portos.importazione.model.BoRelLeggiPratica boRelLeggiPratica) { - getPersistence().cacheResult(boRelLeggiPratica); - } - - /** - * Caches the bo rel leggi praticas in the entity cache if it is enabled. - * - * @param boRelLeggiPraticas the bo rel leggi praticas - */ - public static void cacheResult( - java.util.List boRelLeggiPraticas) { - getPersistence().cacheResult(boRelLeggiPraticas); - } - - /** - * Creates a new bo rel leggi pratica with the primary key. Does not add the bo rel leggi pratica to the database. - * - * @param artLeggeId the primary key for the new bo rel leggi pratica - * @return the new bo rel leggi pratica - */ - public static it.tref.liferay.portos.importazione.model.BoRelLeggiPratica create( - long artLeggeId) { - return getPersistence().create(artLeggeId); - } - - /** - * Removes the bo rel leggi pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param artLeggeId the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoRelLeggiPratica remove( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException { - return getPersistence().remove(artLeggeId); - } - - public static it.tref.liferay.portos.importazione.model.BoRelLeggiPratica updateImpl( - it.tref.liferay.portos.importazione.model.BoRelLeggiPratica boRelLeggiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(boRelLeggiPratica); - } - - /** - * Returns the bo rel leggi pratica with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException} if it could not be found. - * - * @param artLeggeId the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoRelLeggiPratica findByPrimaryKey( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException { - return getPersistence().findByPrimaryKey(artLeggeId); - } - - /** - * Returns the bo rel leggi pratica with the primary key or returns null if it could not be found. - * - * @param artLeggeId the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica, or null if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoRelLeggiPratica fetchByPrimaryKey( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(artLeggeId); - } - - /** - * Returns all the bo rel leggi praticas. - * - * @return the bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the bo rel leggi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @return the range of bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the bo rel leggi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the bo rel leggi praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of bo rel leggi praticas. - * - * @return the number of bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static BoRelLeggiPraticaPersistence getPersistence() { - if (_persistence == null) { - _persistence = (BoRelLeggiPraticaPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - BoRelLeggiPraticaPersistence.class.getName()); - - ReferenceRegistry.registerReference(BoRelLeggiPraticaUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(BoRelLeggiPraticaPersistence persistence) { - } - - private static BoRelLeggiPraticaPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoSistemaCostruttivoActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoSistemaCostruttivoActionableDynamicQuery.java deleted file mode 100644 index ec370960..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoSistemaCostruttivoActionableDynamicQuery.java +++ /dev/null @@ -1,38 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo; -import it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalServiceUtil; - -/** - * @author 3FC - * @generated - */ -public abstract class BoSistemaCostruttivoActionableDynamicQuery - extends BaseActionableDynamicQuery { - public BoSistemaCostruttivoActionableDynamicQuery() - throws SystemException { - setBaseLocalService(BoSistemaCostruttivoLocalServiceUtil.getService()); - setClass(BoSistemaCostruttivo.class); - - setClassLoader(it.tref.liferay.portos.importazione.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("sistemaCostruttivoId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoSistemaCostruttivoExportActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoSistemaCostruttivoExportActionableDynamicQuery.java deleted file mode 100644 index 32963295..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoSistemaCostruttivoExportActionableDynamicQuery.java +++ /dev/null @@ -1,85 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.ExportImportHelperUtil; -import com.liferay.portal.kernel.lar.ManifestSummary; -import com.liferay.portal.kernel.lar.PortletDataContext; -import com.liferay.portal.kernel.lar.StagedModelDataHandlerUtil; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo; - -/** - * @author 3FC - * @generated - */ -public class BoSistemaCostruttivoExportActionableDynamicQuery - extends BoSistemaCostruttivoActionableDynamicQuery { - public BoSistemaCostruttivoExportActionableDynamicQuery( - PortletDataContext portletDataContext) throws SystemException { - _portletDataContext = portletDataContext; - - setCompanyId(_portletDataContext.getCompanyId()); - - setGroupId(_portletDataContext.getScopeGroupId()); - } - - @Override - public long performCount() throws PortalException, SystemException { - ManifestSummary manifestSummary = _portletDataContext.getManifestSummary(); - - StagedModelType stagedModelType = getStagedModelType(); - - long modelAdditionCount = super.performCount(); - - manifestSummary.addModelAdditionCount(stagedModelType.toString(), - modelAdditionCount); - - long modelDeletionCount = ExportImportHelperUtil.getModelDeletionCount(_portletDataContext, - stagedModelType); - - manifestSummary.addModelDeletionCount(stagedModelType.toString(), - modelDeletionCount); - - return modelAdditionCount; - } - - @Override - protected void addCriteria(DynamicQuery dynamicQuery) { - _portletDataContext.addDateRangeCriteria(dynamicQuery, "modifiedDate"); - } - - protected StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoSistemaCostruttivo.class.getName())); - } - - @Override - @SuppressWarnings("unused") - protected void performAction(Object object) - throws PortalException, SystemException { - BoSistemaCostruttivo stagedModel = (BoSistemaCostruttivo)object; - - StagedModelDataHandlerUtil.exportStagedModel(_portletDataContext, - stagedModel); - } - - private PortletDataContext _portletDataContext; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoSistemaCostruttivoPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoSistemaCostruttivoPersistence.java deleted file mode 100644 index 162458ec..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoSistemaCostruttivoPersistence.java +++ /dev/null @@ -1,813 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo; - -/** - * The persistence interface for the bo sistema costruttivo service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoSistemaCostruttivoPersistenceImpl - * @see BoSistemaCostruttivoUtil - * @generated - */ -public interface BoSistemaCostruttivoPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoSistemaCostruttivoUtil} to access the bo sistema costruttivo persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns all the bo sistema costruttivos where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo sistema costruttivos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo sistema costruttivos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo sistema costruttivo in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException; - - /** - * Returns the first bo sistema costruttivo in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo sistema costruttivo in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException; - - /** - * Returns the last bo sistema costruttivo in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sistema costruttivos before and after the current bo sistema costruttivo in the ordered set where uuid = ?. - * - * @param sistemaCostruttivoId the primary key of the current bo sistema costruttivo - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo[] findByUuid_PrevAndNext( - long sistemaCostruttivoId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException; - - /** - * Removes all the bo sistema costruttivos where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo sistema costruttivos where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sistema costruttivo where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException; - - /** - * Returns the bo sistema costruttivo where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sistema costruttivo where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo sistema costruttivo where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo sistema costruttivo that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException; - - /** - * Returns the number of bo sistema costruttivos where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo sistema costruttivos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo sistema costruttivos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo sistema costruttivos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo sistema costruttivo in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException; - - /** - * Returns the first bo sistema costruttivo in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo sistema costruttivo in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException; - - /** - * Returns the last bo sistema costruttivo in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sistema costruttivos before and after the current bo sistema costruttivo in the ordered set where uuid = ? and companyId = ?. - * - * @param sistemaCostruttivoId the primary key of the current bo sistema costruttivo - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo[] findByUuid_C_PrevAndNext( - long sistemaCostruttivoId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException; - - /** - * Removes all the bo sistema costruttivos where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo sistema costruttivos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo sistema costruttivos where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @return the matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_G_intPraticaId( - long companyId, long groupId, long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo sistema costruttivos where companyId = ? and groupId = ? and intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_G_intPraticaId( - long companyId, long groupId, long intPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo sistema costruttivos where companyId = ? and groupId = ? and intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_G_intPraticaId( - long companyId, long groupId, long intPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo sistema costruttivo in the ordered set where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo findByC_G_intPraticaId_First( - long companyId, long groupId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException; - - /** - * Returns the first bo sistema costruttivo in the ordered set where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo fetchByC_G_intPraticaId_First( - long companyId, long groupId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo sistema costruttivo in the ordered set where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo findByC_G_intPraticaId_Last( - long companyId, long groupId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException; - - /** - * Returns the last bo sistema costruttivo in the ordered set where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo fetchByC_G_intPraticaId_Last( - long companyId, long groupId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sistema costruttivos before and after the current bo sistema costruttivo in the ordered set where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param sistemaCostruttivoId the primary key of the current bo sistema costruttivo - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo[] findByC_G_intPraticaId_PrevAndNext( - long sistemaCostruttivoId, long companyId, long groupId, - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException; - - /** - * Removes all the bo sistema costruttivos where companyId = ? and groupId = ? and intPraticaId = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @throws SystemException if a system exception occurred - */ - public void removeByC_G_intPraticaId(long companyId, long groupId, - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo sistema costruttivos where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @return the number of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public int countByC_G_intPraticaId(long companyId, long groupId, - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo sistema costruttivos where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @return the matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByintPraticaId( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo sistema costruttivos where intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByintPraticaId( - long intPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo sistema costruttivos where intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByintPraticaId( - long intPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo sistema costruttivo in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo findByintPraticaId_First( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException; - - /** - * Returns the first bo sistema costruttivo in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo fetchByintPraticaId_First( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo sistema costruttivo in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo findByintPraticaId_Last( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException; - - /** - * Returns the last bo sistema costruttivo in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo fetchByintPraticaId_Last( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sistema costruttivos before and after the current bo sistema costruttivo in the ordered set where intPraticaId = ?. - * - * @param sistemaCostruttivoId the primary key of the current bo sistema costruttivo - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo[] findByintPraticaId_PrevAndNext( - long sistemaCostruttivoId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException; - - /** - * Removes all the bo sistema costruttivos where intPraticaId = ? from the database. - * - * @param intPraticaId the int pratica ID - * @throws SystemException if a system exception occurred - */ - public void removeByintPraticaId(long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo sistema costruttivos where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @return the number of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public int countByintPraticaId(long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the bo sistema costruttivo in the entity cache if it is enabled. - * - * @param boSistemaCostruttivo the bo sistema costruttivo - */ - public void cacheResult( - it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo boSistemaCostruttivo); - - /** - * Caches the bo sistema costruttivos in the entity cache if it is enabled. - * - * @param boSistemaCostruttivos the bo sistema costruttivos - */ - public void cacheResult( - java.util.List boSistemaCostruttivos); - - /** - * Creates a new bo sistema costruttivo with the primary key. Does not add the bo sistema costruttivo to the database. - * - * @param sistemaCostruttivoId the primary key for the new bo sistema costruttivo - * @return the new bo sistema costruttivo - */ - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo create( - long sistemaCostruttivoId); - - /** - * Removes the bo sistema costruttivo with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param sistemaCostruttivoId the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo remove( - long sistemaCostruttivoId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException; - - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo updateImpl( - it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo boSistemaCostruttivo) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sistema costruttivo with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException} if it could not be found. - * - * @param sistemaCostruttivoId the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo findByPrimaryKey( - long sistemaCostruttivoId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException; - - /** - * Returns the bo sistema costruttivo with the primary key or returns null if it could not be found. - * - * @param sistemaCostruttivoId the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo, or null if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo fetchByPrimaryKey( - long sistemaCostruttivoId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo sistema costruttivos. - * - * @return the bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo sistema costruttivos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo sistema costruttivos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the bo sistema costruttivos from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo sistema costruttivos. - * - * @return the number of bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoSistemaCostruttivoUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoSistemaCostruttivoUtil.java deleted file mode 100644 index 12009468..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoSistemaCostruttivoUtil.java +++ /dev/null @@ -1,1055 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo; - -import java.util.List; - -/** - * The persistence utility for the bo sistema costruttivo service. This utility wraps {@link BoSistemaCostruttivoPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoSistemaCostruttivoPersistence - * @see BoSistemaCostruttivoPersistenceImpl - * @generated - */ -public class BoSistemaCostruttivoUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(BoSistemaCostruttivo boSistemaCostruttivo) { - getPersistence().clearCache(boSistemaCostruttivo); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static BoSistemaCostruttivo update( - BoSistemaCostruttivo boSistemaCostruttivo) throws SystemException { - return getPersistence().update(boSistemaCostruttivo); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static BoSistemaCostruttivo update( - BoSistemaCostruttivo boSistemaCostruttivo, ServiceContext serviceContext) - throws SystemException { - return getPersistence().update(boSistemaCostruttivo, serviceContext); - } - - /** - * Returns all the bo sistema costruttivos where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid); - } - - /** - * Returns a range of all the bo sistema costruttivos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end); - } - - /** - * Returns an ordered range of all the bo sistema costruttivos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end, orderByComparator); - } - - /** - * Returns the first bo sistema costruttivo in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException { - return getPersistence().findByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the first bo sistema costruttivo in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the last bo sistema costruttivo in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException { - return getPersistence().findByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the last bo sistema costruttivo in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the bo sistema costruttivos before and after the current bo sistema costruttivo in the ordered set where uuid = ?. - * - * @param sistemaCostruttivoId the primary key of the current bo sistema costruttivo - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo[] findByUuid_PrevAndNext( - long sistemaCostruttivoId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException { - return getPersistence() - .findByUuid_PrevAndNext(sistemaCostruttivoId, uuid, - orderByComparator); - } - - /** - * Removes all the bo sistema costruttivos where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid(uuid); - } - - /** - * Returns the number of bo sistema costruttivos where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid(uuid); - } - - /** - * Returns the bo sistema costruttivo where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException { - return getPersistence().findByUUID_G(uuid, groupId); - } - - /** - * Returns the bo sistema costruttivo where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the bo sistema costruttivo where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache); - } - - /** - * Removes the bo sistema costruttivo where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo sistema costruttivo that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException { - return getPersistence().removeByUUID_G(uuid, groupId); - } - - /** - * Returns the number of bo sistema costruttivos where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUUID_G(uuid, groupId); - } - - /** - * Returns all the bo sistema costruttivos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId); - } - - /** - * Returns a range of all the bo sistema costruttivos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId, start, end); - } - - /** - * Returns an ordered range of all the bo sistema costruttivos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByUuid_C(uuid, companyId, start, end, orderByComparator); - } - - /** - * Returns the first bo sistema costruttivo in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException { - return getPersistence() - .findByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the first bo sistema costruttivo in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the last bo sistema costruttivo in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException { - return getPersistence() - .findByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the last bo sistema costruttivo in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the bo sistema costruttivos before and after the current bo sistema costruttivo in the ordered set where uuid = ? and companyId = ?. - * - * @param sistemaCostruttivoId the primary key of the current bo sistema costruttivo - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo[] findByUuid_C_PrevAndNext( - long sistemaCostruttivoId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException { - return getPersistence() - .findByUuid_C_PrevAndNext(sistemaCostruttivoId, uuid, - companyId, orderByComparator); - } - - /** - * Removes all the bo sistema costruttivos where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid_C(uuid, companyId); - } - - /** - * Returns the number of bo sistema costruttivos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid_C(uuid, companyId); - } - - /** - * Returns all the bo sistema costruttivos where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @return the matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_G_intPraticaId( - long companyId, long groupId, long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_G_intPraticaId(companyId, groupId, intPraticaId); - } - - /** - * Returns a range of all the bo sistema costruttivos where companyId = ? and groupId = ? and intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_G_intPraticaId( - long companyId, long groupId, long intPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_G_intPraticaId(companyId, groupId, intPraticaId, - start, end); - } - - /** - * Returns an ordered range of all the bo sistema costruttivos where companyId = ? and groupId = ? and intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_G_intPraticaId( - long companyId, long groupId, long intPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_G_intPraticaId(companyId, groupId, intPraticaId, - start, end, orderByComparator); - } - - /** - * Returns the first bo sistema costruttivo in the ordered set where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo findByC_G_intPraticaId_First( - long companyId, long groupId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException { - return getPersistence() - .findByC_G_intPraticaId_First(companyId, groupId, - intPraticaId, orderByComparator); - } - - /** - * Returns the first bo sistema costruttivo in the ordered set where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo fetchByC_G_intPraticaId_First( - long companyId, long groupId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_G_intPraticaId_First(companyId, groupId, - intPraticaId, orderByComparator); - } - - /** - * Returns the last bo sistema costruttivo in the ordered set where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo findByC_G_intPraticaId_Last( - long companyId, long groupId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException { - return getPersistence() - .findByC_G_intPraticaId_Last(companyId, groupId, - intPraticaId, orderByComparator); - } - - /** - * Returns the last bo sistema costruttivo in the ordered set where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo fetchByC_G_intPraticaId_Last( - long companyId, long groupId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_G_intPraticaId_Last(companyId, groupId, - intPraticaId, orderByComparator); - } - - /** - * Returns the bo sistema costruttivos before and after the current bo sistema costruttivo in the ordered set where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param sistemaCostruttivoId the primary key of the current bo sistema costruttivo - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo[] findByC_G_intPraticaId_PrevAndNext( - long sistemaCostruttivoId, long companyId, long groupId, - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException { - return getPersistence() - .findByC_G_intPraticaId_PrevAndNext(sistemaCostruttivoId, - companyId, groupId, intPraticaId, orderByComparator); - } - - /** - * Removes all the bo sistema costruttivos where companyId = ? and groupId = ? and intPraticaId = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @throws SystemException if a system exception occurred - */ - public static void removeByC_G_intPraticaId(long companyId, long groupId, - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeByC_G_intPraticaId(companyId, groupId, intPraticaId); - } - - /** - * Returns the number of bo sistema costruttivos where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @return the number of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static int countByC_G_intPraticaId(long companyId, long groupId, - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByC_G_intPraticaId(companyId, groupId, intPraticaId); - } - - /** - * Returns all the bo sistema costruttivos where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @return the matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByintPraticaId( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByintPraticaId(intPraticaId); - } - - /** - * Returns a range of all the bo sistema costruttivos where intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByintPraticaId( - long intPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByintPraticaId(intPraticaId, start, end); - } - - /** - * Returns an ordered range of all the bo sistema costruttivos where intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByintPraticaId( - long intPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByintPraticaId(intPraticaId, start, end, - orderByComparator); - } - - /** - * Returns the first bo sistema costruttivo in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo findByintPraticaId_First( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException { - return getPersistence() - .findByintPraticaId_First(intPraticaId, orderByComparator); - } - - /** - * Returns the first bo sistema costruttivo in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo fetchByintPraticaId_First( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByintPraticaId_First(intPraticaId, orderByComparator); - } - - /** - * Returns the last bo sistema costruttivo in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo findByintPraticaId_Last( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException { - return getPersistence() - .findByintPraticaId_Last(intPraticaId, orderByComparator); - } - - /** - * Returns the last bo sistema costruttivo in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo fetchByintPraticaId_Last( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByintPraticaId_Last(intPraticaId, orderByComparator); - } - - /** - * Returns the bo sistema costruttivos before and after the current bo sistema costruttivo in the ordered set where intPraticaId = ?. - * - * @param sistemaCostruttivoId the primary key of the current bo sistema costruttivo - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo[] findByintPraticaId_PrevAndNext( - long sistemaCostruttivoId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException { - return getPersistence() - .findByintPraticaId_PrevAndNext(sistemaCostruttivoId, - intPraticaId, orderByComparator); - } - - /** - * Removes all the bo sistema costruttivos where intPraticaId = ? from the database. - * - * @param intPraticaId the int pratica ID - * @throws SystemException if a system exception occurred - */ - public static void removeByintPraticaId(long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByintPraticaId(intPraticaId); - } - - /** - * Returns the number of bo sistema costruttivos where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @return the number of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static int countByintPraticaId(long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByintPraticaId(intPraticaId); - } - - /** - * Caches the bo sistema costruttivo in the entity cache if it is enabled. - * - * @param boSistemaCostruttivo the bo sistema costruttivo - */ - public static void cacheResult( - it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo boSistemaCostruttivo) { - getPersistence().cacheResult(boSistemaCostruttivo); - } - - /** - * Caches the bo sistema costruttivos in the entity cache if it is enabled. - * - * @param boSistemaCostruttivos the bo sistema costruttivos - */ - public static void cacheResult( - java.util.List boSistemaCostruttivos) { - getPersistence().cacheResult(boSistemaCostruttivos); - } - - /** - * Creates a new bo sistema costruttivo with the primary key. Does not add the bo sistema costruttivo to the database. - * - * @param sistemaCostruttivoId the primary key for the new bo sistema costruttivo - * @return the new bo sistema costruttivo - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo create( - long sistemaCostruttivoId) { - return getPersistence().create(sistemaCostruttivoId); - } - - /** - * Removes the bo sistema costruttivo with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param sistemaCostruttivoId the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo remove( - long sistemaCostruttivoId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException { - return getPersistence().remove(sistemaCostruttivoId); - } - - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo updateImpl( - it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo boSistemaCostruttivo) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(boSistemaCostruttivo); - } - - /** - * Returns the bo sistema costruttivo with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException} if it could not be found. - * - * @param sistemaCostruttivoId the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo findByPrimaryKey( - long sistemaCostruttivoId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException { - return getPersistence().findByPrimaryKey(sistemaCostruttivoId); - } - - /** - * Returns the bo sistema costruttivo with the primary key or returns null if it could not be found. - * - * @param sistemaCostruttivoId the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo, or null if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo fetchByPrimaryKey( - long sistemaCostruttivoId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(sistemaCostruttivoId); - } - - /** - * Returns all the bo sistema costruttivos. - * - * @return the bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the bo sistema costruttivos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the bo sistema costruttivos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the bo sistema costruttivos from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of bo sistema costruttivos. - * - * @return the number of bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static BoSistemaCostruttivoPersistence getPersistence() { - if (_persistence == null) { - _persistence = (BoSistemaCostruttivoPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - BoSistemaCostruttivoPersistence.class.getName()); - - ReferenceRegistry.registerReference(BoSistemaCostruttivoUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(BoSistemaCostruttivoPersistence persistence) { - } - - private static BoSistemaCostruttivoPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoSoggettoActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoSoggettoActionableDynamicQuery.java deleted file mode 100644 index 073c3d36..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoSoggettoActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.BoSoggetto; -import it.tref.liferay.portos.importazione.service.BoSoggettoLocalServiceUtil; - -/** - * @author 3FC - * @generated - */ -public abstract class BoSoggettoActionableDynamicQuery - extends BaseActionableDynamicQuery { - public BoSoggettoActionableDynamicQuery() throws SystemException { - setBaseLocalService(BoSoggettoLocalServiceUtil.getService()); - setClass(BoSoggetto.class); - - setClassLoader(it.tref.liferay.portos.importazione.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("soggettoId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoSoggettoExportActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoSoggettoExportActionableDynamicQuery.java deleted file mode 100644 index 7c69de6a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoSoggettoExportActionableDynamicQuery.java +++ /dev/null @@ -1,85 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.ExportImportHelperUtil; -import com.liferay.portal.kernel.lar.ManifestSummary; -import com.liferay.portal.kernel.lar.PortletDataContext; -import com.liferay.portal.kernel.lar.StagedModelDataHandlerUtil; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.model.BoSoggetto; - -/** - * @author 3FC - * @generated - */ -public class BoSoggettoExportActionableDynamicQuery - extends BoSoggettoActionableDynamicQuery { - public BoSoggettoExportActionableDynamicQuery( - PortletDataContext portletDataContext) throws SystemException { - _portletDataContext = portletDataContext; - - setCompanyId(_portletDataContext.getCompanyId()); - - setGroupId(_portletDataContext.getScopeGroupId()); - } - - @Override - public long performCount() throws PortalException, SystemException { - ManifestSummary manifestSummary = _portletDataContext.getManifestSummary(); - - StagedModelType stagedModelType = getStagedModelType(); - - long modelAdditionCount = super.performCount(); - - manifestSummary.addModelAdditionCount(stagedModelType.toString(), - modelAdditionCount); - - long modelDeletionCount = ExportImportHelperUtil.getModelDeletionCount(_portletDataContext, - stagedModelType); - - manifestSummary.addModelDeletionCount(stagedModelType.toString(), - modelDeletionCount); - - return modelAdditionCount; - } - - @Override - protected void addCriteria(DynamicQuery dynamicQuery) { - _portletDataContext.addDateRangeCriteria(dynamicQuery, "modifiedDate"); - } - - protected StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoSoggetto.class.getName())); - } - - @Override - @SuppressWarnings("unused") - protected void performAction(Object object) - throws PortalException, SystemException { - BoSoggetto stagedModel = (BoSoggetto)object; - - StagedModelDataHandlerUtil.exportStagedModel(_portletDataContext, - stagedModel); - } - - private PortletDataContext _portletDataContext; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoSoggettoPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoSoggettoPersistence.java deleted file mode 100644 index ac3b12e9..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoSoggettoPersistence.java +++ /dev/null @@ -1,1475 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.importazione.model.BoSoggetto; - -/** - * The persistence interface for the bo soggetto service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoSoggettoPersistenceImpl - * @see BoSoggettoUtil - * @generated - */ -public interface BoSoggettoPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoSoggettoUtil} to access the bo soggetto persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns all the bo soggettos where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo soggettos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo soggettos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo soggetto in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException; - - /** - * Returns the first bo soggetto in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo soggetto in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException; - - /** - * Returns the last bo soggetto in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where uuid = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto[] findByUuid_PrevAndNext( - long soggettoId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException; - - /** - * Removes all the bo soggettos where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo soggettos where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo soggetto where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoSoggettoException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException; - - /** - * Returns the bo soggetto where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo soggetto where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo soggetto where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo soggetto that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException; - - /** - * Returns the number of bo soggettos where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo soggettos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo soggettos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo soggettos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo soggetto in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException; - - /** - * Returns the first bo soggetto in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo soggetto in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException; - - /** - * Returns the last bo soggetto in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where uuid = ? and companyId = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto[] findByUuid_C_PrevAndNext( - long soggettoId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException; - - /** - * Removes all the bo soggettos where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo soggettos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo soggettos where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo soggettos where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica( - long dettPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo soggettos where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica( - long dettPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto findByDettPratica_First( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException; - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto fetchByDettPratica_First( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto findByDettPratica_Last( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException; - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto fetchByDettPratica_Last( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where dettPraticaId = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto[] findByDettPratica_PrevAndNext( - long soggettoId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException; - - /** - * Removes all the bo soggettos where dettPraticaId = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - public void removeByDettPratica(long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo soggettos where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public int countByDettPratica(long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo soggettos where dettPraticaId = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica_Sostituito( - long dettPraticaId, boolean sostituito) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo soggettos where dettPraticaId = ? and sostituito = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica_Sostituito( - long dettPraticaId, boolean sostituito, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo soggettos where dettPraticaId = ? and sostituito = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica_Sostituito( - long dettPraticaId, boolean sostituito, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto findByDettPratica_Sostituito_First( - long dettPraticaId, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException; - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto fetchByDettPratica_Sostituito_First( - long dettPraticaId, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto findByDettPratica_Sostituito_Last( - long dettPraticaId, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException; - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto fetchByDettPratica_Sostituito_Last( - long dettPraticaId, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where dettPraticaId = ? and sostituito = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto[] findByDettPratica_Sostituito_PrevAndNext( - long soggettoId, long dettPraticaId, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException; - - /** - * Removes all the bo soggettos where dettPraticaId = ? and sostituito = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @throws SystemException if a system exception occurred - */ - public void removeByDettPratica_Sostituito(long dettPraticaId, - boolean sostituito) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo soggettos where dettPraticaId = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public int countByDettPratica_Sostituito(long dettPraticaId, - boolean sostituito) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica_TipologiaProfessione( - long dettPraticaId, java.lang.String tipologiaProfessione) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica_TipologiaProfessione( - long dettPraticaId, java.lang.String tipologiaProfessione, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica_TipologiaProfessione( - long dettPraticaId, java.lang.String tipologiaProfessione, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto findByDettPratica_TipologiaProfessione_First( - long dettPraticaId, java.lang.String tipologiaProfessione, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException; - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto fetchByDettPratica_TipologiaProfessione_First( - long dettPraticaId, java.lang.String tipologiaProfessione, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto findByDettPratica_TipologiaProfessione_Last( - long dettPraticaId, java.lang.String tipologiaProfessione, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException; - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto fetchByDettPratica_TipologiaProfessione_Last( - long dettPraticaId, java.lang.String tipologiaProfessione, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto[] findByDettPratica_TipologiaProfessione_PrevAndNext( - long soggettoId, long dettPraticaId, - java.lang.String tipologiaProfessione, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException; - - /** - * Removes all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @throws SystemException if a system exception occurred - */ - public void removeByDettPratica_TipologiaProfessione(long dettPraticaId, - java.lang.String tipologiaProfessione) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo soggettos where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public int countByDettPratica_TipologiaProfessione(long dettPraticaId, - java.lang.String tipologiaProfessione) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean sostituito) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean sostituito, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean sostituito, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_First( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException; - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto fetchByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_First( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_Last( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException; - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto fetchByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_Last( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto[] findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_PrevAndNext( - long soggettoId, long dettPraticaId, - java.lang.String tipologiaProfessione, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException; - - /** - * Removes all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @throws SystemException if a system exception occurred - */ - public void removeByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean sostituito) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public int countByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean sostituito) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica_TipologiaProfessione_Aggiuntivo( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica_TipologiaProfessione_Aggiuntivo( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica_TipologiaProfessione_Aggiuntivo( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto findByDettPratica_TipologiaProfessione_Aggiuntivo_First( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException; - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto fetchByDettPratica_TipologiaProfessione_Aggiuntivo_First( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto findByDettPratica_TipologiaProfessione_Aggiuntivo_Last( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException; - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto fetchByDettPratica_TipologiaProfessione_Aggiuntivo_Last( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto[] findByDettPratica_TipologiaProfessione_Aggiuntivo_PrevAndNext( - long soggettoId, long dettPraticaId, - java.lang.String tipologiaProfessione, boolean aggiuntivo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException; - - /** - * Removes all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @throws SystemException if a system exception occurred - */ - public void removeByDettPratica_TipologiaProfessione_Aggiuntivo( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public int countByDettPratica_TipologiaProfessione_Aggiuntivo( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_First( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException; - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto fetchByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_First( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_Last( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException; - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto fetchByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_Last( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto[] findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_PrevAndNext( - long soggettoId, long dettPraticaId, - java.lang.String tipologiaProfessione, boolean aggiuntivo, - boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException; - - /** - * Removes all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @throws SystemException if a system exception occurred - */ - public void removeByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public int countByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the bo soggetto in the entity cache if it is enabled. - * - * @param boSoggetto the bo soggetto - */ - public void cacheResult( - it.tref.liferay.portos.importazione.model.BoSoggetto boSoggetto); - - /** - * Caches the bo soggettos in the entity cache if it is enabled. - * - * @param boSoggettos the bo soggettos - */ - public void cacheResult( - java.util.List boSoggettos); - - /** - * Creates a new bo soggetto with the primary key. Does not add the bo soggetto to the database. - * - * @param soggettoId the primary key for the new bo soggetto - * @return the new bo soggetto - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto create( - long soggettoId); - - /** - * Removes the bo soggetto with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param soggettoId the primary key of the bo soggetto - * @return the bo soggetto that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto remove( - long soggettoId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException; - - public it.tref.liferay.portos.importazione.model.BoSoggetto updateImpl( - it.tref.liferay.portos.importazione.model.BoSoggetto boSoggetto) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo soggetto with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoSoggettoException} if it could not be found. - * - * @param soggettoId the primary key of the bo soggetto - * @return the bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto findByPrimaryKey( - long soggettoId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException; - - /** - * Returns the bo soggetto with the primary key or returns null if it could not be found. - * - * @param soggettoId the primary key of the bo soggetto - * @return the bo soggetto, or null if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSoggetto fetchByPrimaryKey( - long soggettoId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo soggettos. - * - * @return the bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo soggettos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo soggettos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the bo soggettos from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo soggettos. - * - * @return the number of bo soggettos - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoSoggettoUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoSoggettoUtil.java deleted file mode 100644 index 623acd93..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoSoggettoUtil.java +++ /dev/null @@ -1,1877 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.importazione.model.BoSoggetto; - -import java.util.List; - -/** - * The persistence utility for the bo soggetto service. This utility wraps {@link BoSoggettoPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoSoggettoPersistence - * @see BoSoggettoPersistenceImpl - * @generated - */ -public class BoSoggettoUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(BoSoggetto boSoggetto) { - getPersistence().clearCache(boSoggetto); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static BoSoggetto update(BoSoggetto boSoggetto) - throws SystemException { - return getPersistence().update(boSoggetto); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static BoSoggetto update(BoSoggetto boSoggetto, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(boSoggetto, serviceContext); - } - - /** - * Returns all the bo soggettos where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid); - } - - /** - * Returns a range of all the bo soggettos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end); - } - - /** - * Returns an ordered range of all the bo soggettos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end, orderByComparator); - } - - /** - * Returns the first bo soggetto in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException { - return getPersistence().findByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the first bo soggetto in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the last bo soggetto in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException { - return getPersistence().findByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the last bo soggetto in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where uuid = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto[] findByUuid_PrevAndNext( - long soggettoId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException { - return getPersistence() - .findByUuid_PrevAndNext(soggettoId, uuid, orderByComparator); - } - - /** - * Removes all the bo soggettos where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid(uuid); - } - - /** - * Returns the number of bo soggettos where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid(uuid); - } - - /** - * Returns the bo soggetto where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoSoggettoException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException { - return getPersistence().findByUUID_G(uuid, groupId); - } - - /** - * Returns the bo soggetto where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the bo soggetto where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache); - } - - /** - * Removes the bo soggetto where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo soggetto that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException { - return getPersistence().removeByUUID_G(uuid, groupId); - } - - /** - * Returns the number of bo soggettos where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUUID_G(uuid, groupId); - } - - /** - * Returns all the bo soggettos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId); - } - - /** - * Returns a range of all the bo soggettos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId, start, end); - } - - /** - * Returns an ordered range of all the bo soggettos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByUuid_C(uuid, companyId, start, end, orderByComparator); - } - - /** - * Returns the first bo soggetto in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException { - return getPersistence() - .findByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the first bo soggetto in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the last bo soggetto in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException { - return getPersistence() - .findByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the last bo soggetto in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where uuid = ? and companyId = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto[] findByUuid_C_PrevAndNext( - long soggettoId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException { - return getPersistence() - .findByUuid_C_PrevAndNext(soggettoId, uuid, companyId, - orderByComparator); - } - - /** - * Removes all the bo soggettos where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid_C(uuid, companyId); - } - - /** - * Returns the number of bo soggettos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid_C(uuid, companyId); - } - - /** - * Returns all the bo soggettos where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByDettPratica(dettPraticaId); - } - - /** - * Returns a range of all the bo soggettos where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica( - long dettPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByDettPratica(dettPraticaId, start, end); - } - - /** - * Returns an ordered range of all the bo soggettos where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica( - long dettPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica(dettPraticaId, start, end, - orderByComparator); - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto findByDettPratica_First( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException { - return getPersistence() - .findByDettPratica_First(dettPraticaId, orderByComparator); - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto fetchByDettPratica_First( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPratica_First(dettPraticaId, orderByComparator); - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto findByDettPratica_Last( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException { - return getPersistence() - .findByDettPratica_Last(dettPraticaId, orderByComparator); - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto fetchByDettPratica_Last( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPratica_Last(dettPraticaId, orderByComparator); - } - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where dettPraticaId = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto[] findByDettPratica_PrevAndNext( - long soggettoId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException { - return getPersistence() - .findByDettPratica_PrevAndNext(soggettoId, dettPraticaId, - orderByComparator); - } - - /** - * Removes all the bo soggettos where dettPraticaId = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - public static void removeByDettPratica(long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByDettPratica(dettPraticaId); - } - - /** - * Returns the number of bo soggettos where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static int countByDettPratica(long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByDettPratica(dettPraticaId); - } - - /** - * Returns all the bo soggettos where dettPraticaId = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica_Sostituito( - long dettPraticaId, boolean sostituito) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica_Sostituito(dettPraticaId, sostituito); - } - - /** - * Returns a range of all the bo soggettos where dettPraticaId = ? and sostituito = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica_Sostituito( - long dettPraticaId, boolean sostituito, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica_Sostituito(dettPraticaId, sostituito, - start, end); - } - - /** - * Returns an ordered range of all the bo soggettos where dettPraticaId = ? and sostituito = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica_Sostituito( - long dettPraticaId, boolean sostituito, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica_Sostituito(dettPraticaId, sostituito, - start, end, orderByComparator); - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto findByDettPratica_Sostituito_First( - long dettPraticaId, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException { - return getPersistence() - .findByDettPratica_Sostituito_First(dettPraticaId, - sostituito, orderByComparator); - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto fetchByDettPratica_Sostituito_First( - long dettPraticaId, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPratica_Sostituito_First(dettPraticaId, - sostituito, orderByComparator); - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto findByDettPratica_Sostituito_Last( - long dettPraticaId, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException { - return getPersistence() - .findByDettPratica_Sostituito_Last(dettPraticaId, - sostituito, orderByComparator); - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto fetchByDettPratica_Sostituito_Last( - long dettPraticaId, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPratica_Sostituito_Last(dettPraticaId, - sostituito, orderByComparator); - } - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where dettPraticaId = ? and sostituito = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto[] findByDettPratica_Sostituito_PrevAndNext( - long soggettoId, long dettPraticaId, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException { - return getPersistence() - .findByDettPratica_Sostituito_PrevAndNext(soggettoId, - dettPraticaId, sostituito, orderByComparator); - } - - /** - * Removes all the bo soggettos where dettPraticaId = ? and sostituito = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @throws SystemException if a system exception occurred - */ - public static void removeByDettPratica_Sostituito(long dettPraticaId, - boolean sostituito) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeByDettPratica_Sostituito(dettPraticaId, sostituito); - } - - /** - * Returns the number of bo soggettos where dettPraticaId = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static int countByDettPratica_Sostituito(long dettPraticaId, - boolean sostituito) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByDettPratica_Sostituito(dettPraticaId, sostituito); - } - - /** - * Returns all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica_TipologiaProfessione( - long dettPraticaId, java.lang.String tipologiaProfessione) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica_TipologiaProfessione(dettPraticaId, - tipologiaProfessione); - } - - /** - * Returns a range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica_TipologiaProfessione( - long dettPraticaId, java.lang.String tipologiaProfessione, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica_TipologiaProfessione(dettPraticaId, - tipologiaProfessione, start, end); - } - - /** - * Returns an ordered range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica_TipologiaProfessione( - long dettPraticaId, java.lang.String tipologiaProfessione, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica_TipologiaProfessione(dettPraticaId, - tipologiaProfessione, start, end, orderByComparator); - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto findByDettPratica_TipologiaProfessione_First( - long dettPraticaId, java.lang.String tipologiaProfessione, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_First(dettPraticaId, - tipologiaProfessione, orderByComparator); - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto fetchByDettPratica_TipologiaProfessione_First( - long dettPraticaId, java.lang.String tipologiaProfessione, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPratica_TipologiaProfessione_First(dettPraticaId, - tipologiaProfessione, orderByComparator); - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto findByDettPratica_TipologiaProfessione_Last( - long dettPraticaId, java.lang.String tipologiaProfessione, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_Last(dettPraticaId, - tipologiaProfessione, orderByComparator); - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto fetchByDettPratica_TipologiaProfessione_Last( - long dettPraticaId, java.lang.String tipologiaProfessione, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPratica_TipologiaProfessione_Last(dettPraticaId, - tipologiaProfessione, orderByComparator); - } - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto[] findByDettPratica_TipologiaProfessione_PrevAndNext( - long soggettoId, long dettPraticaId, - java.lang.String tipologiaProfessione, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_PrevAndNext(soggettoId, - dettPraticaId, tipologiaProfessione, orderByComparator); - } - - /** - * Removes all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @throws SystemException if a system exception occurred - */ - public static void removeByDettPratica_TipologiaProfessione( - long dettPraticaId, java.lang.String tipologiaProfessione) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeByDettPratica_TipologiaProfessione(dettPraticaId, - tipologiaProfessione); - } - - /** - * Returns the number of bo soggettos where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static int countByDettPratica_TipologiaProfessione( - long dettPraticaId, java.lang.String tipologiaProfessione) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByDettPratica_TipologiaProfessione(dettPraticaId, - tipologiaProfessione); - } - - /** - * Returns all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean sostituito) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito(dettPraticaId, - tipologiaProfessione, sostituito); - } - - /** - * Returns a range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean sostituito, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito(dettPraticaId, - tipologiaProfessione, sostituito, start, end); - } - - /** - * Returns an ordered range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean sostituito, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito(dettPraticaId, - tipologiaProfessione, sostituito, start, end, orderByComparator); - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_First( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_First(dettPraticaId, - tipologiaProfessione, sostituito, orderByComparator); - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto fetchByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_First( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_First(dettPraticaId, - tipologiaProfessione, sostituito, orderByComparator); - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_Last( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_Last(dettPraticaId, - tipologiaProfessione, sostituito, orderByComparator); - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto fetchByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_Last( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_Last(dettPraticaId, - tipologiaProfessione, sostituito, orderByComparator); - } - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto[] findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_PrevAndNext( - long soggettoId, long dettPraticaId, - java.lang.String tipologiaProfessione, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_PrevAndNext(soggettoId, - dettPraticaId, tipologiaProfessione, sostituito, orderByComparator); - } - - /** - * Removes all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @throws SystemException if a system exception occurred - */ - public static void removeByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean sostituito) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito(dettPraticaId, - tipologiaProfessione, sostituito); - } - - /** - * Returns the number of bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static int countByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean sostituito) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito(dettPraticaId, - tipologiaProfessione, sostituito); - } - - /** - * Returns all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica_TipologiaProfessione_Aggiuntivo( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_Aggiuntivo(dettPraticaId, - tipologiaProfessione, aggiuntivo); - } - - /** - * Returns a range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica_TipologiaProfessione_Aggiuntivo( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_Aggiuntivo(dettPraticaId, - tipologiaProfessione, aggiuntivo, start, end); - } - - /** - * Returns an ordered range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica_TipologiaProfessione_Aggiuntivo( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_Aggiuntivo(dettPraticaId, - tipologiaProfessione, aggiuntivo, start, end, orderByComparator); - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto findByDettPratica_TipologiaProfessione_Aggiuntivo_First( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_Aggiuntivo_First(dettPraticaId, - tipologiaProfessione, aggiuntivo, orderByComparator); - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto fetchByDettPratica_TipologiaProfessione_Aggiuntivo_First( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPratica_TipologiaProfessione_Aggiuntivo_First(dettPraticaId, - tipologiaProfessione, aggiuntivo, orderByComparator); - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto findByDettPratica_TipologiaProfessione_Aggiuntivo_Last( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_Aggiuntivo_Last(dettPraticaId, - tipologiaProfessione, aggiuntivo, orderByComparator); - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto fetchByDettPratica_TipologiaProfessione_Aggiuntivo_Last( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPratica_TipologiaProfessione_Aggiuntivo_Last(dettPraticaId, - tipologiaProfessione, aggiuntivo, orderByComparator); - } - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto[] findByDettPratica_TipologiaProfessione_Aggiuntivo_PrevAndNext( - long soggettoId, long dettPraticaId, - java.lang.String tipologiaProfessione, boolean aggiuntivo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_Aggiuntivo_PrevAndNext(soggettoId, - dettPraticaId, tipologiaProfessione, aggiuntivo, orderByComparator); - } - - /** - * Removes all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @throws SystemException if a system exception occurred - */ - public static void removeByDettPratica_TipologiaProfessione_Aggiuntivo( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeByDettPratica_TipologiaProfessione_Aggiuntivo(dettPraticaId, - tipologiaProfessione, aggiuntivo); - } - - /** - * Returns the number of bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static int countByDettPratica_TipologiaProfessione_Aggiuntivo( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByDettPratica_TipologiaProfessione_Aggiuntivo(dettPraticaId, - tipologiaProfessione, aggiuntivo); - } - - /** - * Returns all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito(dettPraticaId, - tipologiaProfessione, aggiuntivo, sostituito); - } - - /** - * Returns a range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito(dettPraticaId, - tipologiaProfessione, aggiuntivo, sostituito, start, end); - } - - /** - * Returns an ordered range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito(dettPraticaId, - tipologiaProfessione, aggiuntivo, sostituito, start, end, - orderByComparator); - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_First( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_First(dettPraticaId, - tipologiaProfessione, aggiuntivo, sostituito, orderByComparator); - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto fetchByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_First( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_First(dettPraticaId, - tipologiaProfessione, aggiuntivo, sostituito, orderByComparator); - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_Last( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_Last(dettPraticaId, - tipologiaProfessione, aggiuntivo, sostituito, orderByComparator); - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto fetchByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_Last( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_Last(dettPraticaId, - tipologiaProfessione, aggiuntivo, sostituito, orderByComparator); - } - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto[] findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_PrevAndNext( - long soggettoId, long dettPraticaId, - java.lang.String tipologiaProfessione, boolean aggiuntivo, - boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_PrevAndNext(soggettoId, - dettPraticaId, tipologiaProfessione, aggiuntivo, sostituito, - orderByComparator); - } - - /** - * Removes all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @throws SystemException if a system exception occurred - */ - public static void removeByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito(dettPraticaId, - tipologiaProfessione, aggiuntivo, sostituito); - } - - /** - * Returns the number of bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static int countByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito(dettPraticaId, - tipologiaProfessione, aggiuntivo, sostituito); - } - - /** - * Caches the bo soggetto in the entity cache if it is enabled. - * - * @param boSoggetto the bo soggetto - */ - public static void cacheResult( - it.tref.liferay.portos.importazione.model.BoSoggetto boSoggetto) { - getPersistence().cacheResult(boSoggetto); - } - - /** - * Caches the bo soggettos in the entity cache if it is enabled. - * - * @param boSoggettos the bo soggettos - */ - public static void cacheResult( - java.util.List boSoggettos) { - getPersistence().cacheResult(boSoggettos); - } - - /** - * Creates a new bo soggetto with the primary key. Does not add the bo soggetto to the database. - * - * @param soggettoId the primary key for the new bo soggetto - * @return the new bo soggetto - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto create( - long soggettoId) { - return getPersistence().create(soggettoId); - } - - /** - * Removes the bo soggetto with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param soggettoId the primary key of the bo soggetto - * @return the bo soggetto that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto remove( - long soggettoId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException { - return getPersistence().remove(soggettoId); - } - - public static it.tref.liferay.portos.importazione.model.BoSoggetto updateImpl( - it.tref.liferay.portos.importazione.model.BoSoggetto boSoggetto) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(boSoggetto); - } - - /** - * Returns the bo soggetto with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoSoggettoException} if it could not be found. - * - * @param soggettoId the primary key of the bo soggetto - * @return the bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto findByPrimaryKey( - long soggettoId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSoggettoException { - return getPersistence().findByPrimaryKey(soggettoId); - } - - /** - * Returns the bo soggetto with the primary key or returns null if it could not be found. - * - * @param soggettoId the primary key of the bo soggetto - * @return the bo soggetto, or null if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSoggetto fetchByPrimaryKey( - long soggettoId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(soggettoId); - } - - /** - * Returns all the bo soggettos. - * - * @return the bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the bo soggettos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the bo soggettos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the bo soggettos from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of bo soggettos. - * - * @return the number of bo soggettos - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static BoSoggettoPersistence getPersistence() { - if (_persistence == null) { - _persistence = (BoSoggettoPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - BoSoggettoPersistence.class.getName()); - - ReferenceRegistry.registerReference(BoSoggettoUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(BoSoggettoPersistence persistence) { - } - - private static BoSoggettoPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoSorteggioActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoSorteggioActionableDynamicQuery.java deleted file mode 100644 index d2e26034..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoSorteggioActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.BoSorteggio; -import it.tref.liferay.portos.importazione.service.BoSorteggioLocalServiceUtil; - -/** - * @author 3FC - * @generated - */ -public abstract class BoSorteggioActionableDynamicQuery - extends BaseActionableDynamicQuery { - public BoSorteggioActionableDynamicQuery() throws SystemException { - setBaseLocalService(BoSorteggioLocalServiceUtil.getService()); - setClass(BoSorteggio.class); - - setClassLoader(it.tref.liferay.portos.importazione.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("sorteggioId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoSorteggioExportActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoSorteggioExportActionableDynamicQuery.java deleted file mode 100644 index d711c733..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoSorteggioExportActionableDynamicQuery.java +++ /dev/null @@ -1,118 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.Criterion; -import com.liferay.portal.kernel.dao.orm.Disjunction; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.Property; -import com.liferay.portal.kernel.dao.orm.PropertyFactoryUtil; -import com.liferay.portal.kernel.dao.orm.RestrictionsFactoryUtil; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.ExportImportHelperUtil; -import com.liferay.portal.kernel.lar.ManifestSummary; -import com.liferay.portal.kernel.lar.PortletDataContext; -import com.liferay.portal.kernel.lar.StagedModelDataHandler; -import com.liferay.portal.kernel.lar.StagedModelDataHandlerRegistryUtil; -import com.liferay.portal.kernel.lar.StagedModelDataHandlerUtil; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.workflow.WorkflowConstants; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.model.BoSorteggio; - -/** - * @author 3FC - * @generated - */ -public class BoSorteggioExportActionableDynamicQuery - extends BoSorteggioActionableDynamicQuery { - public BoSorteggioExportActionableDynamicQuery( - PortletDataContext portletDataContext) throws SystemException { - _portletDataContext = portletDataContext; - - setCompanyId(_portletDataContext.getCompanyId()); - - setGroupId(_portletDataContext.getScopeGroupId()); - } - - @Override - public long performCount() throws PortalException, SystemException { - ManifestSummary manifestSummary = _portletDataContext.getManifestSummary(); - - StagedModelType stagedModelType = getStagedModelType(); - - long modelAdditionCount = super.performCount(); - - manifestSummary.addModelAdditionCount(stagedModelType.toString(), - modelAdditionCount); - - long modelDeletionCount = ExportImportHelperUtil.getModelDeletionCount(_portletDataContext, - stagedModelType); - - manifestSummary.addModelDeletionCount(stagedModelType.toString(), - modelDeletionCount); - - return modelAdditionCount; - } - - @Override - protected void addCriteria(DynamicQuery dynamicQuery) { - Criterion modifiedDateCriterion = _portletDataContext.getDateRangeCriteria( - "modifiedDate"); - Criterion statusDateCriterion = _portletDataContext.getDateRangeCriteria( - "statusDate"); - - if ((modifiedDateCriterion != null) && (statusDateCriterion != null)) { - Disjunction disjunction = RestrictionsFactoryUtil.disjunction(); - - disjunction.add(modifiedDateCriterion); - disjunction.add(statusDateCriterion); - - dynamicQuery.add(disjunction); - } - - Property workflowStatusProperty = PropertyFactoryUtil.forName("status"); - - if (_portletDataContext.isInitialPublication()) { - dynamicQuery.add(workflowStatusProperty.ne( - WorkflowConstants.STATUS_IN_TRASH)); - } - else { - StagedModelDataHandler stagedModelDataHandler = StagedModelDataHandlerRegistryUtil.getStagedModelDataHandler(BoSorteggio.class.getName()); - - dynamicQuery.add(workflowStatusProperty.in( - stagedModelDataHandler.getExportableStatuses())); - } - } - - protected StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoSorteggio.class.getName())); - } - - @Override - @SuppressWarnings("unused") - protected void performAction(Object object) - throws PortalException, SystemException { - BoSorteggio stagedModel = (BoSorteggio)object; - - StagedModelDataHandlerUtil.exportStagedModel(_portletDataContext, - stagedModel); - } - - private PortletDataContext _portletDataContext; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoSorteggioPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoSorteggioPersistence.java deleted file mode 100644 index 3c332d94..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoSorteggioPersistence.java +++ /dev/null @@ -1,824 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.importazione.model.BoSorteggio; - -/** - * The persistence interface for the bo sorteggio service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoSorteggioPersistenceImpl - * @see BoSorteggioUtil - * @generated - */ -public interface BoSorteggioPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoSorteggioUtil} to access the bo sorteggio persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns all the bo sorteggios where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo sorteggios where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo sorteggios where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo sorteggio in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSorteggio findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSorteggioException; - - /** - * Returns the first bo sorteggio in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSorteggio fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo sorteggio in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSorteggio findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSorteggioException; - - /** - * Returns the last bo sorteggio in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSorteggio fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sorteggios before and after the current bo sorteggio in the ordered set where uuid = ?. - * - * @param sorteggioId the primary key of the current bo sorteggio - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSorteggio[] findByUuid_PrevAndNext( - long sorteggioId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSorteggioException; - - /** - * Removes all the bo sorteggios where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo sorteggios where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sorteggio where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoSorteggioException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSorteggio findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSorteggioException; - - /** - * Returns the bo sorteggio where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSorteggio fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sorteggio where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSorteggio fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo sorteggio where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo sorteggio that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSorteggio removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSorteggioException; - - /** - * Returns the number of bo sorteggios where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo sorteggios where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo sorteggios where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo sorteggios where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo sorteggio in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSorteggio findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSorteggioException; - - /** - * Returns the first bo sorteggio in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSorteggio fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo sorteggio in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSorteggio findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSorteggioException; - - /** - * Returns the last bo sorteggio in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSorteggio fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sorteggios before and after the current bo sorteggio in the ordered set where uuid = ? and companyId = ?. - * - * @param sorteggioId the primary key of the current bo sorteggio - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSorteggio[] findByUuid_C_PrevAndNext( - long sorteggioId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSorteggioException; - - /** - * Removes all the bo sorteggios where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo sorteggios where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo sorteggios where companyId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @return the matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_DettPratica( - long companyId, long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo sorteggios where companyId = ? and dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_DettPratica( - long companyId, long dettPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo sorteggios where companyId = ? and dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_DettPratica( - long companyId, long dettPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo sorteggio in the ordered set where companyId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSorteggio findByC_DettPratica_First( - long companyId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSorteggioException; - - /** - * Returns the first bo sorteggio in the ordered set where companyId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSorteggio fetchByC_DettPratica_First( - long companyId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo sorteggio in the ordered set where companyId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSorteggio findByC_DettPratica_Last( - long companyId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSorteggioException; - - /** - * Returns the last bo sorteggio in the ordered set where companyId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSorteggio fetchByC_DettPratica_Last( - long companyId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sorteggios before and after the current bo sorteggio in the ordered set where companyId = ? and dettPraticaId = ?. - * - * @param sorteggioId the primary key of the current bo sorteggio - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSorteggio[] findByC_DettPratica_PrevAndNext( - long sorteggioId, long companyId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSorteggioException; - - /** - * Removes all the bo sorteggios where companyId = ? and dettPraticaId = ? from the database. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - public void removeByC_DettPratica(long companyId, long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo sorteggios where companyId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public int countByC_DettPratica(long companyId, long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo sorteggios where groupId = ? and anno = ? and mese = ?. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @return the matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByGroupId_Anno_Mese( - long groupId, java.lang.String anno, java.lang.String mese) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo sorteggios where groupId = ? and anno = ? and mese = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByGroupId_Anno_Mese( - long groupId, java.lang.String anno, java.lang.String mese, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo sorteggios where groupId = ? and anno = ? and mese = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByGroupId_Anno_Mese( - long groupId, java.lang.String anno, java.lang.String mese, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo sorteggio in the ordered set where groupId = ? and anno = ? and mese = ?. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSorteggio findByGroupId_Anno_Mese_First( - long groupId, java.lang.String anno, java.lang.String mese, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSorteggioException; - - /** - * Returns the first bo sorteggio in the ordered set where groupId = ? and anno = ? and mese = ?. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSorteggio fetchByGroupId_Anno_Mese_First( - long groupId, java.lang.String anno, java.lang.String mese, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo sorteggio in the ordered set where groupId = ? and anno = ? and mese = ?. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSorteggio findByGroupId_Anno_Mese_Last( - long groupId, java.lang.String anno, java.lang.String mese, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSorteggioException; - - /** - * Returns the last bo sorteggio in the ordered set where groupId = ? and anno = ? and mese = ?. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSorteggio fetchByGroupId_Anno_Mese_Last( - long groupId, java.lang.String anno, java.lang.String mese, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sorteggios before and after the current bo sorteggio in the ordered set where groupId = ? and anno = ? and mese = ?. - * - * @param sorteggioId the primary key of the current bo sorteggio - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSorteggio[] findByGroupId_Anno_Mese_PrevAndNext( - long sorteggioId, long groupId, java.lang.String anno, - java.lang.String mese, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSorteggioException; - - /** - * Removes all the bo sorteggios where groupId = ? and anno = ? and mese = ? from the database. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @throws SystemException if a system exception occurred - */ - public void removeByGroupId_Anno_Mese(long groupId, java.lang.String anno, - java.lang.String mese) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo sorteggios where groupId = ? and anno = ? and mese = ?. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @return the number of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public int countByGroupId_Anno_Mese(long groupId, java.lang.String anno, - java.lang.String mese) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the bo sorteggio in the entity cache if it is enabled. - * - * @param boSorteggio the bo sorteggio - */ - public void cacheResult( - it.tref.liferay.portos.importazione.model.BoSorteggio boSorteggio); - - /** - * Caches the bo sorteggios in the entity cache if it is enabled. - * - * @param boSorteggios the bo sorteggios - */ - public void cacheResult( - java.util.List boSorteggios); - - /** - * Creates a new bo sorteggio with the primary key. Does not add the bo sorteggio to the database. - * - * @param sorteggioId the primary key for the new bo sorteggio - * @return the new bo sorteggio - */ - public it.tref.liferay.portos.importazione.model.BoSorteggio create( - long sorteggioId); - - /** - * Removes the bo sorteggio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param sorteggioId the primary key of the bo sorteggio - * @return the bo sorteggio that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSorteggio remove( - long sorteggioId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSorteggioException; - - public it.tref.liferay.portos.importazione.model.BoSorteggio updateImpl( - it.tref.liferay.portos.importazione.model.BoSorteggio boSorteggio) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sorteggio with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoSorteggioException} if it could not be found. - * - * @param sorteggioId the primary key of the bo sorteggio - * @return the bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSorteggio findByPrimaryKey( - long sorteggioId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSorteggioException; - - /** - * Returns the bo sorteggio with the primary key or returns null if it could not be found. - * - * @param sorteggioId the primary key of the bo sorteggio - * @return the bo sorteggio, or null if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoSorteggio fetchByPrimaryKey( - long sorteggioId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo sorteggios. - * - * @return the bo sorteggios - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo sorteggios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of bo sorteggios - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo sorteggios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo sorteggios - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the bo sorteggios from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo sorteggios. - * - * @return the number of bo sorteggios - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoSorteggioUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoSorteggioUtil.java deleted file mode 100644 index 533a8574..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoSorteggioUtil.java +++ /dev/null @@ -1,1065 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.importazione.model.BoSorteggio; - -import java.util.List; - -/** - * The persistence utility for the bo sorteggio service. This utility wraps {@link BoSorteggioPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoSorteggioPersistence - * @see BoSorteggioPersistenceImpl - * @generated - */ -public class BoSorteggioUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(BoSorteggio boSorteggio) { - getPersistence().clearCache(boSorteggio); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static BoSorteggio update(BoSorteggio boSorteggio) - throws SystemException { - return getPersistence().update(boSorteggio); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static BoSorteggio update(BoSorteggio boSorteggio, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(boSorteggio, serviceContext); - } - - /** - * Returns all the bo sorteggios where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid); - } - - /** - * Returns a range of all the bo sorteggios where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end); - } - - /** - * Returns an ordered range of all the bo sorteggios where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end, orderByComparator); - } - - /** - * Returns the first bo sorteggio in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSorteggioException { - return getPersistence().findByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the first bo sorteggio in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the last bo sorteggio in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSorteggioException { - return getPersistence().findByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the last bo sorteggio in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the bo sorteggios before and after the current bo sorteggio in the ordered set where uuid = ?. - * - * @param sorteggioId the primary key of the current bo sorteggio - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio[] findByUuid_PrevAndNext( - long sorteggioId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSorteggioException { - return getPersistence() - .findByUuid_PrevAndNext(sorteggioId, uuid, orderByComparator); - } - - /** - * Removes all the bo sorteggios where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid(uuid); - } - - /** - * Returns the number of bo sorteggios where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid(uuid); - } - - /** - * Returns the bo sorteggio where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoSorteggioException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSorteggioException { - return getPersistence().findByUUID_G(uuid, groupId); - } - - /** - * Returns the bo sorteggio where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the bo sorteggio where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache); - } - - /** - * Removes the bo sorteggio where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo sorteggio that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSorteggioException { - return getPersistence().removeByUUID_G(uuid, groupId); - } - - /** - * Returns the number of bo sorteggios where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUUID_G(uuid, groupId); - } - - /** - * Returns all the bo sorteggios where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId); - } - - /** - * Returns a range of all the bo sorteggios where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId, start, end); - } - - /** - * Returns an ordered range of all the bo sorteggios where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByUuid_C(uuid, companyId, start, end, orderByComparator); - } - - /** - * Returns the first bo sorteggio in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSorteggioException { - return getPersistence() - .findByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the first bo sorteggio in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the last bo sorteggio in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSorteggioException { - return getPersistence() - .findByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the last bo sorteggio in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the bo sorteggios before and after the current bo sorteggio in the ordered set where uuid = ? and companyId = ?. - * - * @param sorteggioId the primary key of the current bo sorteggio - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio[] findByUuid_C_PrevAndNext( - long sorteggioId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSorteggioException { - return getPersistence() - .findByUuid_C_PrevAndNext(sorteggioId, uuid, companyId, - orderByComparator); - } - - /** - * Removes all the bo sorteggios where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid_C(uuid, companyId); - } - - /** - * Returns the number of bo sorteggios where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid_C(uuid, companyId); - } - - /** - * Returns all the bo sorteggios where companyId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @return the matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_DettPratica( - long companyId, long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByC_DettPratica(companyId, dettPraticaId); - } - - /** - * Returns a range of all the bo sorteggios where companyId = ? and dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_DettPratica( - long companyId, long dettPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_DettPratica(companyId, dettPraticaId, start, end); - } - - /** - * Returns an ordered range of all the bo sorteggios where companyId = ? and dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_DettPratica( - long companyId, long dettPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_DettPratica(companyId, dettPraticaId, start, end, - orderByComparator); - } - - /** - * Returns the first bo sorteggio in the ordered set where companyId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio findByC_DettPratica_First( - long companyId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSorteggioException { - return getPersistence() - .findByC_DettPratica_First(companyId, dettPraticaId, - orderByComparator); - } - - /** - * Returns the first bo sorteggio in the ordered set where companyId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio fetchByC_DettPratica_First( - long companyId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_DettPratica_First(companyId, dettPraticaId, - orderByComparator); - } - - /** - * Returns the last bo sorteggio in the ordered set where companyId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio findByC_DettPratica_Last( - long companyId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSorteggioException { - return getPersistence() - .findByC_DettPratica_Last(companyId, dettPraticaId, - orderByComparator); - } - - /** - * Returns the last bo sorteggio in the ordered set where companyId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio fetchByC_DettPratica_Last( - long companyId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_DettPratica_Last(companyId, dettPraticaId, - orderByComparator); - } - - /** - * Returns the bo sorteggios before and after the current bo sorteggio in the ordered set where companyId = ? and dettPraticaId = ?. - * - * @param sorteggioId the primary key of the current bo sorteggio - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio[] findByC_DettPratica_PrevAndNext( - long sorteggioId, long companyId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSorteggioException { - return getPersistence() - .findByC_DettPratica_PrevAndNext(sorteggioId, companyId, - dettPraticaId, orderByComparator); - } - - /** - * Removes all the bo sorteggios where companyId = ? and dettPraticaId = ? from the database. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - public static void removeByC_DettPratica(long companyId, long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByC_DettPratica(companyId, dettPraticaId); - } - - /** - * Returns the number of bo sorteggios where companyId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static int countByC_DettPratica(long companyId, long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByC_DettPratica(companyId, dettPraticaId); - } - - /** - * Returns all the bo sorteggios where groupId = ? and anno = ? and mese = ?. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @return the matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByGroupId_Anno_Mese( - long groupId, java.lang.String anno, java.lang.String mese) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByGroupId_Anno_Mese(groupId, anno, mese); - } - - /** - * Returns a range of all the bo sorteggios where groupId = ? and anno = ? and mese = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByGroupId_Anno_Mese( - long groupId, java.lang.String anno, java.lang.String mese, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByGroupId_Anno_Mese(groupId, anno, mese, start, end); - } - - /** - * Returns an ordered range of all the bo sorteggios where groupId = ? and anno = ? and mese = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByGroupId_Anno_Mese( - long groupId, java.lang.String anno, java.lang.String mese, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByGroupId_Anno_Mese(groupId, anno, mese, start, end, - orderByComparator); - } - - /** - * Returns the first bo sorteggio in the ordered set where groupId = ? and anno = ? and mese = ?. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio findByGroupId_Anno_Mese_First( - long groupId, java.lang.String anno, java.lang.String mese, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSorteggioException { - return getPersistence() - .findByGroupId_Anno_Mese_First(groupId, anno, mese, - orderByComparator); - } - - /** - * Returns the first bo sorteggio in the ordered set where groupId = ? and anno = ? and mese = ?. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio fetchByGroupId_Anno_Mese_First( - long groupId, java.lang.String anno, java.lang.String mese, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByGroupId_Anno_Mese_First(groupId, anno, mese, - orderByComparator); - } - - /** - * Returns the last bo sorteggio in the ordered set where groupId = ? and anno = ? and mese = ?. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio findByGroupId_Anno_Mese_Last( - long groupId, java.lang.String anno, java.lang.String mese, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSorteggioException { - return getPersistence() - .findByGroupId_Anno_Mese_Last(groupId, anno, mese, - orderByComparator); - } - - /** - * Returns the last bo sorteggio in the ordered set where groupId = ? and anno = ? and mese = ?. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio fetchByGroupId_Anno_Mese_Last( - long groupId, java.lang.String anno, java.lang.String mese, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByGroupId_Anno_Mese_Last(groupId, anno, mese, - orderByComparator); - } - - /** - * Returns the bo sorteggios before and after the current bo sorteggio in the ordered set where groupId = ? and anno = ? and mese = ?. - * - * @param sorteggioId the primary key of the current bo sorteggio - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio[] findByGroupId_Anno_Mese_PrevAndNext( - long sorteggioId, long groupId, java.lang.String anno, - java.lang.String mese, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSorteggioException { - return getPersistence() - .findByGroupId_Anno_Mese_PrevAndNext(sorteggioId, groupId, - anno, mese, orderByComparator); - } - - /** - * Removes all the bo sorteggios where groupId = ? and anno = ? and mese = ? from the database. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @throws SystemException if a system exception occurred - */ - public static void removeByGroupId_Anno_Mese(long groupId, - java.lang.String anno, java.lang.String mese) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByGroupId_Anno_Mese(groupId, anno, mese); - } - - /** - * Returns the number of bo sorteggios where groupId = ? and anno = ? and mese = ?. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @return the number of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static int countByGroupId_Anno_Mese(long groupId, - java.lang.String anno, java.lang.String mese) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByGroupId_Anno_Mese(groupId, anno, mese); - } - - /** - * Caches the bo sorteggio in the entity cache if it is enabled. - * - * @param boSorteggio the bo sorteggio - */ - public static void cacheResult( - it.tref.liferay.portos.importazione.model.BoSorteggio boSorteggio) { - getPersistence().cacheResult(boSorteggio); - } - - /** - * Caches the bo sorteggios in the entity cache if it is enabled. - * - * @param boSorteggios the bo sorteggios - */ - public static void cacheResult( - java.util.List boSorteggios) { - getPersistence().cacheResult(boSorteggios); - } - - /** - * Creates a new bo sorteggio with the primary key. Does not add the bo sorteggio to the database. - * - * @param sorteggioId the primary key for the new bo sorteggio - * @return the new bo sorteggio - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio create( - long sorteggioId) { - return getPersistence().create(sorteggioId); - } - - /** - * Removes the bo sorteggio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param sorteggioId the primary key of the bo sorteggio - * @return the bo sorteggio that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio remove( - long sorteggioId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSorteggioException { - return getPersistence().remove(sorteggioId); - } - - public static it.tref.liferay.portos.importazione.model.BoSorteggio updateImpl( - it.tref.liferay.portos.importazione.model.BoSorteggio boSorteggio) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(boSorteggio); - } - - /** - * Returns the bo sorteggio with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoSorteggioException} if it could not be found. - * - * @param sorteggioId the primary key of the bo sorteggio - * @return the bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio findByPrimaryKey( - long sorteggioId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoSorteggioException { - return getPersistence().findByPrimaryKey(sorteggioId); - } - - /** - * Returns the bo sorteggio with the primary key or returns null if it could not be found. - * - * @param sorteggioId the primary key of the bo sorteggio - * @return the bo sorteggio, or null if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoSorteggio fetchByPrimaryKey( - long sorteggioId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(sorteggioId); - } - - /** - * Returns all the bo sorteggios. - * - * @return the bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the bo sorteggios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the bo sorteggios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the bo sorteggios from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of bo sorteggios. - * - * @return the number of bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static BoSorteggioPersistence getPersistence() { - if (_persistence == null) { - _persistence = (BoSorteggioPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - BoSorteggioPersistence.class.getName()); - - ReferenceRegistry.registerReference(BoSorteggioUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(BoSorteggioPersistence persistence) { - } - - private static BoSorteggioPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoStoricoSoggettoPraticaActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoStoricoSoggettoPraticaActionableDynamicQuery.java deleted file mode 100644 index e6fc3d4a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoStoricoSoggettoPraticaActionableDynamicQuery.java +++ /dev/null @@ -1,38 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica; -import it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalServiceUtil; - -/** - * @author 3FC - * @generated - */ -public abstract class BoStoricoSoggettoPraticaActionableDynamicQuery - extends BaseActionableDynamicQuery { - public BoStoricoSoggettoPraticaActionableDynamicQuery() - throws SystemException { - setBaseLocalService(BoStoricoSoggettoPraticaLocalServiceUtil.getService()); - setClass(BoStoricoSoggettoPratica.class); - - setClassLoader(it.tref.liferay.portos.importazione.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("storicoSoggettoPraticaId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoStoricoSoggettoPraticaPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoStoricoSoggettoPraticaPersistence.java deleted file mode 100644 index 2d03e871..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoStoricoSoggettoPraticaPersistence.java +++ /dev/null @@ -1,313 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica; - -/** - * The persistence interface for the bo storico soggetto pratica service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoStoricoSoggettoPraticaPersistenceImpl - * @see BoStoricoSoggettoPraticaUtil - * @generated - */ -public interface BoStoricoSoggettoPraticaPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoStoricoSoggettoPraticaUtil} to access the bo storico soggetto pratica persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns all the bo storico soggetto praticas where companyId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @return the matching bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_IntPratica( - long companyId, long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo storico soggetto praticas where companyId = ? and intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo storico soggetto praticas - * @param end the upper bound of the range of bo storico soggetto praticas (not inclusive) - * @return the range of matching bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_IntPratica( - long companyId, long intPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo storico soggetto praticas where companyId = ? and intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo storico soggetto praticas - * @param end the upper bound of the range of bo storico soggetto praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_IntPratica( - long companyId, long intPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo storico soggetto pratica in the ordered set where companyId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo storico soggetto pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoStoricoSoggettoPraticaException if a matching bo storico soggetto pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica findByC_IntPratica_First( - long companyId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoStoricoSoggettoPraticaException; - - /** - * Returns the first bo storico soggetto pratica in the ordered set where companyId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo storico soggetto pratica, or null if a matching bo storico soggetto pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica fetchByC_IntPratica_First( - long companyId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo storico soggetto pratica in the ordered set where companyId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo storico soggetto pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoStoricoSoggettoPraticaException if a matching bo storico soggetto pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica findByC_IntPratica_Last( - long companyId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoStoricoSoggettoPraticaException; - - /** - * Returns the last bo storico soggetto pratica in the ordered set where companyId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo storico soggetto pratica, or null if a matching bo storico soggetto pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica fetchByC_IntPratica_Last( - long companyId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo storico soggetto praticas before and after the current bo storico soggetto pratica in the ordered set where companyId = ? and intPraticaId = ?. - * - * @param storicoSoggettoPraticaId the primary key of the current bo storico soggetto pratica - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo storico soggetto pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoStoricoSoggettoPraticaException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica[] findByC_IntPratica_PrevAndNext( - long storicoSoggettoPraticaId, long companyId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoStoricoSoggettoPraticaException; - - /** - * Removes all the bo storico soggetto praticas where companyId = ? and intPraticaId = ? from the database. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @throws SystemException if a system exception occurred - */ - public void removeByC_IntPratica(long companyId, long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo storico soggetto praticas where companyId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @return the number of matching bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - public int countByC_IntPratica(long companyId, long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the bo storico soggetto pratica in the entity cache if it is enabled. - * - * @param boStoricoSoggettoPratica the bo storico soggetto pratica - */ - public void cacheResult( - it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica); - - /** - * Caches the bo storico soggetto praticas in the entity cache if it is enabled. - * - * @param boStoricoSoggettoPraticas the bo storico soggetto praticas - */ - public void cacheResult( - java.util.List boStoricoSoggettoPraticas); - - /** - * Creates a new bo storico soggetto pratica with the primary key. Does not add the bo storico soggetto pratica to the database. - * - * @param storicoSoggettoPraticaId the primary key for the new bo storico soggetto pratica - * @return the new bo storico soggetto pratica - */ - public it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica create( - long storicoSoggettoPraticaId); - - /** - * Removes the bo storico soggetto pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param storicoSoggettoPraticaId the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoStoricoSoggettoPraticaException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica remove( - long storicoSoggettoPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoStoricoSoggettoPraticaException; - - public it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica updateImpl( - it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo storico soggetto pratica with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoStoricoSoggettoPraticaException} if it could not be found. - * - * @param storicoSoggettoPraticaId the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoStoricoSoggettoPraticaException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica findByPrimaryKey( - long storicoSoggettoPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoStoricoSoggettoPraticaException; - - /** - * Returns the bo storico soggetto pratica with the primary key or returns null if it could not be found. - * - * @param storicoSoggettoPraticaId the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica, or null if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica fetchByPrimaryKey( - long storicoSoggettoPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo storico soggetto praticas. - * - * @return the bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo storico soggetto praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo storico soggetto praticas - * @param end the upper bound of the range of bo storico soggetto praticas (not inclusive) - * @return the range of bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo storico soggetto praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo storico soggetto praticas - * @param end the upper bound of the range of bo storico soggetto praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the bo storico soggetto praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo storico soggetto praticas. - * - * @return the number of bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoStoricoSoggettoPraticaUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoStoricoSoggettoPraticaUtil.java deleted file mode 100644 index 375472f2..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoStoricoSoggettoPraticaUtil.java +++ /dev/null @@ -1,466 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica; - -import java.util.List; - -/** - * The persistence utility for the bo storico soggetto pratica service. This utility wraps {@link BoStoricoSoggettoPraticaPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoStoricoSoggettoPraticaPersistence - * @see BoStoricoSoggettoPraticaPersistenceImpl - * @generated - */ -public class BoStoricoSoggettoPraticaUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache( - BoStoricoSoggettoPratica boStoricoSoggettoPratica) { - getPersistence().clearCache(boStoricoSoggettoPratica); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static BoStoricoSoggettoPratica update( - BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws SystemException { - return getPersistence().update(boStoricoSoggettoPratica); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static BoStoricoSoggettoPratica update( - BoStoricoSoggettoPratica boStoricoSoggettoPratica, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(boStoricoSoggettoPratica, serviceContext); - } - - /** - * Returns all the bo storico soggetto praticas where companyId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @return the matching bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_IntPratica( - long companyId, long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByC_IntPratica(companyId, intPraticaId); - } - - /** - * Returns a range of all the bo storico soggetto praticas where companyId = ? and intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo storico soggetto praticas - * @param end the upper bound of the range of bo storico soggetto praticas (not inclusive) - * @return the range of matching bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_IntPratica( - long companyId, long intPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_IntPratica(companyId, intPraticaId, start, end); - } - - /** - * Returns an ordered range of all the bo storico soggetto praticas where companyId = ? and intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo storico soggetto praticas - * @param end the upper bound of the range of bo storico soggetto praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_IntPratica( - long companyId, long intPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_IntPratica(companyId, intPraticaId, start, end, - orderByComparator); - } - - /** - * Returns the first bo storico soggetto pratica in the ordered set where companyId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo storico soggetto pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoStoricoSoggettoPraticaException if a matching bo storico soggetto pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica findByC_IntPratica_First( - long companyId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoStoricoSoggettoPraticaException { - return getPersistence() - .findByC_IntPratica_First(companyId, intPraticaId, - orderByComparator); - } - - /** - * Returns the first bo storico soggetto pratica in the ordered set where companyId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo storico soggetto pratica, or null if a matching bo storico soggetto pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica fetchByC_IntPratica_First( - long companyId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_IntPratica_First(companyId, intPraticaId, - orderByComparator); - } - - /** - * Returns the last bo storico soggetto pratica in the ordered set where companyId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo storico soggetto pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoStoricoSoggettoPraticaException if a matching bo storico soggetto pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica findByC_IntPratica_Last( - long companyId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoStoricoSoggettoPraticaException { - return getPersistence() - .findByC_IntPratica_Last(companyId, intPraticaId, - orderByComparator); - } - - /** - * Returns the last bo storico soggetto pratica in the ordered set where companyId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo storico soggetto pratica, or null if a matching bo storico soggetto pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica fetchByC_IntPratica_Last( - long companyId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_IntPratica_Last(companyId, intPraticaId, - orderByComparator); - } - - /** - * Returns the bo storico soggetto praticas before and after the current bo storico soggetto pratica in the ordered set where companyId = ? and intPraticaId = ?. - * - * @param storicoSoggettoPraticaId the primary key of the current bo storico soggetto pratica - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo storico soggetto pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoStoricoSoggettoPraticaException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica[] findByC_IntPratica_PrevAndNext( - long storicoSoggettoPraticaId, long companyId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoStoricoSoggettoPraticaException { - return getPersistence() - .findByC_IntPratica_PrevAndNext(storicoSoggettoPraticaId, - companyId, intPraticaId, orderByComparator); - } - - /** - * Removes all the bo storico soggetto praticas where companyId = ? and intPraticaId = ? from the database. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @throws SystemException if a system exception occurred - */ - public static void removeByC_IntPratica(long companyId, long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByC_IntPratica(companyId, intPraticaId); - } - - /** - * Returns the number of bo storico soggetto praticas where companyId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @return the number of matching bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - public static int countByC_IntPratica(long companyId, long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByC_IntPratica(companyId, intPraticaId); - } - - /** - * Caches the bo storico soggetto pratica in the entity cache if it is enabled. - * - * @param boStoricoSoggettoPratica the bo storico soggetto pratica - */ - public static void cacheResult( - it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica) { - getPersistence().cacheResult(boStoricoSoggettoPratica); - } - - /** - * Caches the bo storico soggetto praticas in the entity cache if it is enabled. - * - * @param boStoricoSoggettoPraticas the bo storico soggetto praticas - */ - public static void cacheResult( - java.util.List boStoricoSoggettoPraticas) { - getPersistence().cacheResult(boStoricoSoggettoPraticas); - } - - /** - * Creates a new bo storico soggetto pratica with the primary key. Does not add the bo storico soggetto pratica to the database. - * - * @param storicoSoggettoPraticaId the primary key for the new bo storico soggetto pratica - * @return the new bo storico soggetto pratica - */ - public static it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica create( - long storicoSoggettoPraticaId) { - return getPersistence().create(storicoSoggettoPraticaId); - } - - /** - * Removes the bo storico soggetto pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param storicoSoggettoPraticaId the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoStoricoSoggettoPraticaException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica remove( - long storicoSoggettoPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoStoricoSoggettoPraticaException { - return getPersistence().remove(storicoSoggettoPraticaId); - } - - public static it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica updateImpl( - it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(boStoricoSoggettoPratica); - } - - /** - * Returns the bo storico soggetto pratica with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoStoricoSoggettoPraticaException} if it could not be found. - * - * @param storicoSoggettoPraticaId the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoStoricoSoggettoPraticaException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica findByPrimaryKey( - long storicoSoggettoPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoStoricoSoggettoPraticaException { - return getPersistence().findByPrimaryKey(storicoSoggettoPraticaId); - } - - /** - * Returns the bo storico soggetto pratica with the primary key or returns null if it could not be found. - * - * @param storicoSoggettoPraticaId the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica, or null if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica fetchByPrimaryKey( - long storicoSoggettoPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(storicoSoggettoPraticaId); - } - - /** - * Returns all the bo storico soggetto praticas. - * - * @return the bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the bo storico soggetto praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo storico soggetto praticas - * @param end the upper bound of the range of bo storico soggetto praticas (not inclusive) - * @return the range of bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the bo storico soggetto praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo storico soggetto praticas - * @param end the upper bound of the range of bo storico soggetto praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the bo storico soggetto praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of bo storico soggetto praticas. - * - * @return the number of bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static BoStoricoSoggettoPraticaPersistence getPersistence() { - if (_persistence == null) { - _persistence = (BoStoricoSoggettoPraticaPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - BoStoricoSoggettoPraticaPersistence.class.getName()); - - ReferenceRegistry.registerReference(BoStoricoSoggettoPraticaUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(BoStoricoSoggettoPraticaPersistence persistence) { - } - - private static BoStoricoSoggettoPraticaPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoTempisticaActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoTempisticaActionableDynamicQuery.java deleted file mode 100644 index ac389a32..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoTempisticaActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.BoTempistica; -import it.tref.liferay.portos.importazione.service.BoTempisticaLocalServiceUtil; - -/** - * @author 3FC - * @generated - */ -public abstract class BoTempisticaActionableDynamicQuery - extends BaseActionableDynamicQuery { - public BoTempisticaActionableDynamicQuery() throws SystemException { - setBaseLocalService(BoTempisticaLocalServiceUtil.getService()); - setClass(BoTempistica.class); - - setClassLoader(it.tref.liferay.portos.importazione.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("tempisticaId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoTempisticaExportActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoTempisticaExportActionableDynamicQuery.java deleted file mode 100644 index 1571c83c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoTempisticaExportActionableDynamicQuery.java +++ /dev/null @@ -1,85 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.ExportImportHelperUtil; -import com.liferay.portal.kernel.lar.ManifestSummary; -import com.liferay.portal.kernel.lar.PortletDataContext; -import com.liferay.portal.kernel.lar.StagedModelDataHandlerUtil; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.model.BoTempistica; - -/** - * @author 3FC - * @generated - */ -public class BoTempisticaExportActionableDynamicQuery - extends BoTempisticaActionableDynamicQuery { - public BoTempisticaExportActionableDynamicQuery( - PortletDataContext portletDataContext) throws SystemException { - _portletDataContext = portletDataContext; - - setCompanyId(_portletDataContext.getCompanyId()); - - setGroupId(_portletDataContext.getScopeGroupId()); - } - - @Override - public long performCount() throws PortalException, SystemException { - ManifestSummary manifestSummary = _portletDataContext.getManifestSummary(); - - StagedModelType stagedModelType = getStagedModelType(); - - long modelAdditionCount = super.performCount(); - - manifestSummary.addModelAdditionCount(stagedModelType.toString(), - modelAdditionCount); - - long modelDeletionCount = ExportImportHelperUtil.getModelDeletionCount(_portletDataContext, - stagedModelType); - - manifestSummary.addModelDeletionCount(stagedModelType.toString(), - modelDeletionCount); - - return modelAdditionCount; - } - - @Override - protected void addCriteria(DynamicQuery dynamicQuery) { - _portletDataContext.addDateRangeCriteria(dynamicQuery, "modifiedDate"); - } - - protected StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoTempistica.class.getName())); - } - - @Override - @SuppressWarnings("unused") - protected void performAction(Object object) - throws PortalException, SystemException { - BoTempistica stagedModel = (BoTempistica)object; - - StagedModelDataHandlerUtil.exportStagedModel(_portletDataContext, - stagedModel); - } - - private PortletDataContext _portletDataContext; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoTempisticaPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoTempisticaPersistence.java deleted file mode 100644 index 50052c79..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoTempisticaPersistence.java +++ /dev/null @@ -1,692 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.importazione.model.BoTempistica; - -/** - * The persistence interface for the bo tempistica service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoTempisticaPersistenceImpl - * @see BoTempisticaUtil - * @generated - */ -public interface BoTempisticaPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoTempisticaUtil} to access the bo tempistica persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns all the bo tempisticas where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo tempisticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @return the range of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo tempisticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo tempistica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo tempistica - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTempistica findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTempisticaException; - - /** - * Returns the first bo tempistica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTempistica fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo tempistica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo tempistica - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTempistica findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTempisticaException; - - /** - * Returns the last bo tempistica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTempistica fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo tempisticas before and after the current bo tempistica in the ordered set where uuid = ?. - * - * @param tempisticaId the primary key of the current bo tempistica - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo tempistica - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTempistica[] findByUuid_PrevAndNext( - long tempisticaId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTempisticaException; - - /** - * Removes all the bo tempisticas where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo tempisticas where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo tempistica where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoTempisticaException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo tempistica - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTempistica findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTempisticaException; - - /** - * Returns the bo tempistica where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTempistica fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo tempistica where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTempistica fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo tempistica where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo tempistica that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTempistica removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTempisticaException; - - /** - * Returns the number of bo tempisticas where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo tempisticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo tempisticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @return the range of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo tempisticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo tempistica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo tempistica - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTempistica findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTempisticaException; - - /** - * Returns the first bo tempistica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTempistica fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo tempistica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo tempistica - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTempistica findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTempisticaException; - - /** - * Returns the last bo tempistica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTempistica fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo tempisticas before and after the current bo tempistica in the ordered set where uuid = ? and companyId = ?. - * - * @param tempisticaId the primary key of the current bo tempistica - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo tempistica - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTempistica[] findByUuid_C_PrevAndNext( - long tempisticaId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTempisticaException; - - /** - * Removes all the bo tempisticas where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo tempisticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo tempisticas where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @return the matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_IntPratica_Tipo_Completo( - long companyId, long intPraticaId, java.lang.String tipo, - boolean completo) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo tempisticas where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @return the range of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_IntPratica_Tipo_Completo( - long companyId, long intPraticaId, java.lang.String tipo, - boolean completo, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo tempisticas where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_IntPratica_Tipo_Completo( - long companyId, long intPraticaId, java.lang.String tipo, - boolean completo, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo tempistica in the ordered set where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo tempistica - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTempistica findByC_IntPratica_Tipo_Completo_First( - long companyId, long intPraticaId, java.lang.String tipo, - boolean completo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTempisticaException; - - /** - * Returns the first bo tempistica in the ordered set where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTempistica fetchByC_IntPratica_Tipo_Completo_First( - long companyId, long intPraticaId, java.lang.String tipo, - boolean completo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo tempistica in the ordered set where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo tempistica - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTempistica findByC_IntPratica_Tipo_Completo_Last( - long companyId, long intPraticaId, java.lang.String tipo, - boolean completo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTempisticaException; - - /** - * Returns the last bo tempistica in the ordered set where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTempistica fetchByC_IntPratica_Tipo_Completo_Last( - long companyId, long intPraticaId, java.lang.String tipo, - boolean completo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo tempisticas before and after the current bo tempistica in the ordered set where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param tempisticaId the primary key of the current bo tempistica - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo tempistica - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTempistica[] findByC_IntPratica_Tipo_Completo_PrevAndNext( - long tempisticaId, long companyId, long intPraticaId, - java.lang.String tipo, boolean completo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTempisticaException; - - /** - * Removes all the bo tempisticas where companyId = ? and intPraticaId = ? and tipo = ? and completo = ? from the database. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @throws SystemException if a system exception occurred - */ - public void removeByC_IntPratica_Tipo_Completo(long companyId, - long intPraticaId, java.lang.String tipo, boolean completo) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo tempisticas where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @return the number of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public int countByC_IntPratica_Tipo_Completo(long companyId, - long intPraticaId, java.lang.String tipo, boolean completo) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the bo tempistica in the entity cache if it is enabled. - * - * @param boTempistica the bo tempistica - */ - public void cacheResult( - it.tref.liferay.portos.importazione.model.BoTempistica boTempistica); - - /** - * Caches the bo tempisticas in the entity cache if it is enabled. - * - * @param boTempisticas the bo tempisticas - */ - public void cacheResult( - java.util.List boTempisticas); - - /** - * Creates a new bo tempistica with the primary key. Does not add the bo tempistica to the database. - * - * @param tempisticaId the primary key for the new bo tempistica - * @return the new bo tempistica - */ - public it.tref.liferay.portos.importazione.model.BoTempistica create( - long tempisticaId); - - /** - * Removes the bo tempistica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param tempisticaId the primary key of the bo tempistica - * @return the bo tempistica that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTempistica remove( - long tempisticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTempisticaException; - - public it.tref.liferay.portos.importazione.model.BoTempistica updateImpl( - it.tref.liferay.portos.importazione.model.BoTempistica boTempistica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo tempistica with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoTempisticaException} if it could not be found. - * - * @param tempisticaId the primary key of the bo tempistica - * @return the bo tempistica - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTempistica findByPrimaryKey( - long tempisticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTempisticaException; - - /** - * Returns the bo tempistica with the primary key or returns null if it could not be found. - * - * @param tempisticaId the primary key of the bo tempistica - * @return the bo tempistica, or null if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTempistica fetchByPrimaryKey( - long tempisticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo tempisticas. - * - * @return the bo tempisticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo tempisticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @return the range of bo tempisticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo tempisticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo tempisticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the bo tempisticas from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo tempisticas. - * - * @return the number of bo tempisticas - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoTempisticaUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoTempisticaUtil.java deleted file mode 100644 index 551413d3..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoTempisticaUtil.java +++ /dev/null @@ -1,907 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.importazione.model.BoTempistica; - -import java.util.List; - -/** - * The persistence utility for the bo tempistica service. This utility wraps {@link BoTempisticaPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoTempisticaPersistence - * @see BoTempisticaPersistenceImpl - * @generated - */ -public class BoTempisticaUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(BoTempistica boTempistica) { - getPersistence().clearCache(boTempistica); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static BoTempistica update(BoTempistica boTempistica) - throws SystemException { - return getPersistence().update(boTempistica); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static BoTempistica update(BoTempistica boTempistica, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(boTempistica, serviceContext); - } - - /** - * Returns all the bo tempisticas where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid); - } - - /** - * Returns a range of all the bo tempisticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @return the range of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end); - } - - /** - * Returns an ordered range of all the bo tempisticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end, orderByComparator); - } - - /** - * Returns the first bo tempistica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo tempistica - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTempistica findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTempisticaException { - return getPersistence().findByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the first bo tempistica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTempistica fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the last bo tempistica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo tempistica - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTempistica findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTempisticaException { - return getPersistence().findByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the last bo tempistica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTempistica fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the bo tempisticas before and after the current bo tempistica in the ordered set where uuid = ?. - * - * @param tempisticaId the primary key of the current bo tempistica - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo tempistica - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTempistica[] findByUuid_PrevAndNext( - long tempisticaId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTempisticaException { - return getPersistence() - .findByUuid_PrevAndNext(tempisticaId, uuid, orderByComparator); - } - - /** - * Removes all the bo tempisticas where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid(uuid); - } - - /** - * Returns the number of bo tempisticas where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid(uuid); - } - - /** - * Returns the bo tempistica where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoTempisticaException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo tempistica - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTempistica findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTempisticaException { - return getPersistence().findByUUID_G(uuid, groupId); - } - - /** - * Returns the bo tempistica where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTempistica fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the bo tempistica where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTempistica fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache); - } - - /** - * Removes the bo tempistica where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo tempistica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTempistica removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTempisticaException { - return getPersistence().removeByUUID_G(uuid, groupId); - } - - /** - * Returns the number of bo tempisticas where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUUID_G(uuid, groupId); - } - - /** - * Returns all the bo tempisticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId); - } - - /** - * Returns a range of all the bo tempisticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @return the range of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId, start, end); - } - - /** - * Returns an ordered range of all the bo tempisticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByUuid_C(uuid, companyId, start, end, orderByComparator); - } - - /** - * Returns the first bo tempistica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo tempistica - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTempistica findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTempisticaException { - return getPersistence() - .findByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the first bo tempistica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTempistica fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the last bo tempistica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo tempistica - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTempistica findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTempisticaException { - return getPersistence() - .findByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the last bo tempistica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTempistica fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the bo tempisticas before and after the current bo tempistica in the ordered set where uuid = ? and companyId = ?. - * - * @param tempisticaId the primary key of the current bo tempistica - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo tempistica - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTempistica[] findByUuid_C_PrevAndNext( - long tempisticaId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTempisticaException { - return getPersistence() - .findByUuid_C_PrevAndNext(tempisticaId, uuid, companyId, - orderByComparator); - } - - /** - * Removes all the bo tempisticas where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid_C(uuid, companyId); - } - - /** - * Returns the number of bo tempisticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid_C(uuid, companyId); - } - - /** - * Returns all the bo tempisticas where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @return the matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_IntPratica_Tipo_Completo( - long companyId, long intPraticaId, java.lang.String tipo, - boolean completo) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_IntPratica_Tipo_Completo(companyId, intPraticaId, - tipo, completo); - } - - /** - * Returns a range of all the bo tempisticas where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @return the range of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_IntPratica_Tipo_Completo( - long companyId, long intPraticaId, java.lang.String tipo, - boolean completo, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_IntPratica_Tipo_Completo(companyId, intPraticaId, - tipo, completo, start, end); - } - - /** - * Returns an ordered range of all the bo tempisticas where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_IntPratica_Tipo_Completo( - long companyId, long intPraticaId, java.lang.String tipo, - boolean completo, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_IntPratica_Tipo_Completo(companyId, intPraticaId, - tipo, completo, start, end, orderByComparator); - } - - /** - * Returns the first bo tempistica in the ordered set where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo tempistica - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTempistica findByC_IntPratica_Tipo_Completo_First( - long companyId, long intPraticaId, java.lang.String tipo, - boolean completo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTempisticaException { - return getPersistence() - .findByC_IntPratica_Tipo_Completo_First(companyId, - intPraticaId, tipo, completo, orderByComparator); - } - - /** - * Returns the first bo tempistica in the ordered set where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTempistica fetchByC_IntPratica_Tipo_Completo_First( - long companyId, long intPraticaId, java.lang.String tipo, - boolean completo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_IntPratica_Tipo_Completo_First(companyId, - intPraticaId, tipo, completo, orderByComparator); - } - - /** - * Returns the last bo tempistica in the ordered set where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo tempistica - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTempistica findByC_IntPratica_Tipo_Completo_Last( - long companyId, long intPraticaId, java.lang.String tipo, - boolean completo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTempisticaException { - return getPersistence() - .findByC_IntPratica_Tipo_Completo_Last(companyId, - intPraticaId, tipo, completo, orderByComparator); - } - - /** - * Returns the last bo tempistica in the ordered set where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTempistica fetchByC_IntPratica_Tipo_Completo_Last( - long companyId, long intPraticaId, java.lang.String tipo, - boolean completo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_IntPratica_Tipo_Completo_Last(companyId, - intPraticaId, tipo, completo, orderByComparator); - } - - /** - * Returns the bo tempisticas before and after the current bo tempistica in the ordered set where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param tempisticaId the primary key of the current bo tempistica - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo tempistica - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTempistica[] findByC_IntPratica_Tipo_Completo_PrevAndNext( - long tempisticaId, long companyId, long intPraticaId, - java.lang.String tipo, boolean completo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTempisticaException { - return getPersistence() - .findByC_IntPratica_Tipo_Completo_PrevAndNext(tempisticaId, - companyId, intPraticaId, tipo, completo, orderByComparator); - } - - /** - * Removes all the bo tempisticas where companyId = ? and intPraticaId = ? and tipo = ? and completo = ? from the database. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @throws SystemException if a system exception occurred - */ - public static void removeByC_IntPratica_Tipo_Completo(long companyId, - long intPraticaId, java.lang.String tipo, boolean completo) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeByC_IntPratica_Tipo_Completo(companyId, intPraticaId, tipo, - completo); - } - - /** - * Returns the number of bo tempisticas where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @return the number of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static int countByC_IntPratica_Tipo_Completo(long companyId, - long intPraticaId, java.lang.String tipo, boolean completo) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByC_IntPratica_Tipo_Completo(companyId, intPraticaId, - tipo, completo); - } - - /** - * Caches the bo tempistica in the entity cache if it is enabled. - * - * @param boTempistica the bo tempistica - */ - public static void cacheResult( - it.tref.liferay.portos.importazione.model.BoTempistica boTempistica) { - getPersistence().cacheResult(boTempistica); - } - - /** - * Caches the bo tempisticas in the entity cache if it is enabled. - * - * @param boTempisticas the bo tempisticas - */ - public static void cacheResult( - java.util.List boTempisticas) { - getPersistence().cacheResult(boTempisticas); - } - - /** - * Creates a new bo tempistica with the primary key. Does not add the bo tempistica to the database. - * - * @param tempisticaId the primary key for the new bo tempistica - * @return the new bo tempistica - */ - public static it.tref.liferay.portos.importazione.model.BoTempistica create( - long tempisticaId) { - return getPersistence().create(tempisticaId); - } - - /** - * Removes the bo tempistica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param tempisticaId the primary key of the bo tempistica - * @return the bo tempistica that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTempistica remove( - long tempisticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTempisticaException { - return getPersistence().remove(tempisticaId); - } - - public static it.tref.liferay.portos.importazione.model.BoTempistica updateImpl( - it.tref.liferay.portos.importazione.model.BoTempistica boTempistica) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(boTempistica); - } - - /** - * Returns the bo tempistica with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoTempisticaException} if it could not be found. - * - * @param tempisticaId the primary key of the bo tempistica - * @return the bo tempistica - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTempistica findByPrimaryKey( - long tempisticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTempisticaException { - return getPersistence().findByPrimaryKey(tempisticaId); - } - - /** - * Returns the bo tempistica with the primary key or returns null if it could not be found. - * - * @param tempisticaId the primary key of the bo tempistica - * @return the bo tempistica, or null if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTempistica fetchByPrimaryKey( - long tempisticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(tempisticaId); - } - - /** - * Returns all the bo tempisticas. - * - * @return the bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the bo tempisticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @return the range of bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the bo tempisticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the bo tempisticas from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of bo tempisticas. - * - * @return the number of bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static BoTempisticaPersistence getPersistence() { - if (_persistence == null) { - _persistence = (BoTempisticaPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - BoTempisticaPersistence.class.getName()); - - ReferenceRegistry.registerReference(BoTempisticaUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(BoTempisticaPersistence persistence) { - } - - private static BoTempisticaPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoTerritorioActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoTerritorioActionableDynamicQuery.java deleted file mode 100644 index 8e13f9a8..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoTerritorioActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.BoTerritorio; -import it.tref.liferay.portos.importazione.service.BoTerritorioLocalServiceUtil; - -/** - * @author 3FC - * @generated - */ -public abstract class BoTerritorioActionableDynamicQuery - extends BaseActionableDynamicQuery { - public BoTerritorioActionableDynamicQuery() throws SystemException { - setBaseLocalService(BoTerritorioLocalServiceUtil.getService()); - setClass(BoTerritorio.class); - - setClassLoader(it.tref.liferay.portos.importazione.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("territorioId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoTerritorioPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoTerritorioPersistence.java deleted file mode 100644 index a1ddeae6..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoTerritorioPersistence.java +++ /dev/null @@ -1,801 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.importazione.model.BoTerritorio; - -/** - * The persistence interface for the bo territorio service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoTerritorioPersistenceImpl - * @see BoTerritorioUtil - * @generated - */ -public interface BoTerritorioPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoTerritorioUtil} to access the bo territorio persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns all the bo territorios where comuneId = ?. - * - * @param comuneId the comune ID - * @return the matching bo territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByComuneId( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo territorios where comuneId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param comuneId the comune ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByComuneId( - long comuneId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo territorios where comuneId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param comuneId the comune ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByComuneId( - long comuneId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTerritorio findByComuneId_First( - long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTerritorioException; - - /** - * Returns the first bo territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTerritorio fetchByComuneId_First( - long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTerritorio findByComuneId_Last( - long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTerritorioException; - - /** - * Returns the last bo territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTerritorio fetchByComuneId_Last( - long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo territorios before and after the current bo territorio in the ordered set where comuneId = ?. - * - * @param territorioId the primary key of the current bo territorio - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTerritorio[] findByComuneId_PrevAndNext( - long territorioId, long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTerritorioException; - - /** - * Removes all the bo territorios where comuneId = ? from the database. - * - * @param comuneId the comune ID - * @throws SystemException if a system exception occurred - */ - public void removeByComuneId(long comuneId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo territorios where comuneId = ?. - * - * @param comuneId the comune ID - * @return the number of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public int countByComuneId(long comuneId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo territorios where zonaId = ?. - * - * @param zonaId the zona ID - * @return the matching bo territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByZonaId( - long zonaId) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo territorios where zonaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param zonaId the zona ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByZonaId( - long zonaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo territorios where zonaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param zonaId the zona ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByZonaId( - long zonaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTerritorio findByZonaId_First( - long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTerritorioException; - - /** - * Returns the first bo territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTerritorio fetchByZonaId_First( - long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTerritorio findByZonaId_Last( - long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTerritorioException; - - /** - * Returns the last bo territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTerritorio fetchByZonaId_Last( - long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo territorios before and after the current bo territorio in the ordered set where zonaId = ?. - * - * @param territorioId the primary key of the current bo territorio - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTerritorio[] findByZonaId_PrevAndNext( - long territorioId, long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTerritorioException; - - /** - * Removes all the bo territorios where zonaId = ? from the database. - * - * @param zonaId the zona ID - * @throws SystemException if a system exception occurred - */ - public void removeByZonaId(long zonaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo territorios where zonaId = ?. - * - * @param zonaId the zona ID - * @return the number of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public int countByZonaId(long zonaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo territorios where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @return the matching bo territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByFasciaId( - long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo territorios where fasciaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param fasciaId the fascia ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByFasciaId( - long fasciaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo territorios where fasciaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param fasciaId the fascia ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByFasciaId( - long fasciaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTerritorio findByFasciaId_First( - long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTerritorioException; - - /** - * Returns the first bo territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTerritorio fetchByFasciaId_First( - long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTerritorio findByFasciaId_Last( - long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTerritorioException; - - /** - * Returns the last bo territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTerritorio fetchByFasciaId_Last( - long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo territorios before and after the current bo territorio in the ordered set where fasciaId = ?. - * - * @param territorioId the primary key of the current bo territorio - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTerritorio[] findByFasciaId_PrevAndNext( - long territorioId, long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTerritorioException; - - /** - * Removes all the bo territorios where fasciaId = ? from the database. - * - * @param fasciaId the fascia ID - * @throws SystemException if a system exception occurred - */ - public void removeByFasciaId(long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo territorios where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @return the number of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public int countByFasciaId(long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoTerritorioException} if it could not be found. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the matching bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTerritorio findByC_Z_F_D( - long comuneId, long zonaId, long fasciaId, java.util.Date dtIni) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTerritorioException; - - /** - * Returns the bo territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? or returns null if it could not be found. Uses the finder cache. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTerritorio fetchByC_Z_F_D( - long comuneId, long zonaId, long fasciaId, java.util.Date dtIni) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTerritorio fetchByC_Z_F_D( - long comuneId, long zonaId, long fasciaId, java.util.Date dtIni, - boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? from the database. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the bo territorio that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTerritorio removeByC_Z_F_D( - long comuneId, long zonaId, long fasciaId, java.util.Date dtIni) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTerritorioException; - - /** - * Returns the number of bo territorios where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the number of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public int countByC_Z_F_D(long comuneId, long zonaId, long fasciaId, - java.util.Date dtIni) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo territorios where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @return the matching bo territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group( - long companyId, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo territorios where companyId = ? and groupId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group( - long companyId, long groupId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo territorios where companyId = ? and groupId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group( - long companyId, long groupId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo territorio in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTerritorio findByC_Group_First( - long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTerritorioException; - - /** - * Returns the first bo territorio in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTerritorio fetchByC_Group_First( - long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo territorio in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTerritorio findByC_Group_Last( - long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTerritorioException; - - /** - * Returns the last bo territorio in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTerritorio fetchByC_Group_Last( - long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo territorios before and after the current bo territorio in the ordered set where companyId = ? and groupId = ?. - * - * @param territorioId the primary key of the current bo territorio - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTerritorio[] findByC_Group_PrevAndNext( - long territorioId, long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTerritorioException; - - /** - * Removes all the bo territorios where companyId = ? and groupId = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @throws SystemException if a system exception occurred - */ - public void removeByC_Group(long companyId, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo territorios where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @return the number of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public int countByC_Group(long companyId, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the bo territorio in the entity cache if it is enabled. - * - * @param boTerritorio the bo territorio - */ - public void cacheResult( - it.tref.liferay.portos.importazione.model.BoTerritorio boTerritorio); - - /** - * Caches the bo territorios in the entity cache if it is enabled. - * - * @param boTerritorios the bo territorios - */ - public void cacheResult( - java.util.List boTerritorios); - - /** - * Creates a new bo territorio with the primary key. Does not add the bo territorio to the database. - * - * @param territorioId the primary key for the new bo territorio - * @return the new bo territorio - */ - public it.tref.liferay.portos.importazione.model.BoTerritorio create( - long territorioId); - - /** - * Removes the bo territorio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param territorioId the primary key of the bo territorio - * @return the bo territorio that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTerritorio remove( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTerritorioException; - - public it.tref.liferay.portos.importazione.model.BoTerritorio updateImpl( - it.tref.liferay.portos.importazione.model.BoTerritorio boTerritorio) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo territorio with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoTerritorioException} if it could not be found. - * - * @param territorioId the primary key of the bo territorio - * @return the bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTerritorio findByPrimaryKey( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTerritorioException; - - /** - * Returns the bo territorio with the primary key or returns null if it could not be found. - * - * @param territorioId the primary key of the bo territorio - * @return the bo territorio, or null if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.BoTerritorio fetchByPrimaryKey( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo territorios. - * - * @return the bo territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of bo territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the bo territorios from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo territorios. - * - * @return the number of bo territorios - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoTerritorioUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoTerritorioUtil.java deleted file mode 100644 index ccb858f9..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/BoTerritorioUtil.java +++ /dev/null @@ -1,1030 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.importazione.model.BoTerritorio; - -import java.util.List; - -/** - * The persistence utility for the bo territorio service. This utility wraps {@link BoTerritorioPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoTerritorioPersistence - * @see BoTerritorioPersistenceImpl - * @generated - */ -public class BoTerritorioUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(BoTerritorio boTerritorio) { - getPersistence().clearCache(boTerritorio); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static BoTerritorio update(BoTerritorio boTerritorio) - throws SystemException { - return getPersistence().update(boTerritorio); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static BoTerritorio update(BoTerritorio boTerritorio, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(boTerritorio, serviceContext); - } - - /** - * Returns all the bo territorios where comuneId = ?. - * - * @param comuneId the comune ID - * @return the matching bo territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByComuneId( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByComuneId(comuneId); - } - - /** - * Returns a range of all the bo territorios where comuneId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param comuneId the comune ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByComuneId( - long comuneId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByComuneId(comuneId, start, end); - } - - /** - * Returns an ordered range of all the bo territorios where comuneId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param comuneId the comune ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByComuneId( - long comuneId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByComuneId(comuneId, start, end, orderByComparator); - } - - /** - * Returns the first bo territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTerritorio findByComuneId_First( - long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTerritorioException { - return getPersistence().findByComuneId_First(comuneId, orderByComparator); - } - - /** - * Returns the first bo territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTerritorio fetchByComuneId_First( - long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByComuneId_First(comuneId, orderByComparator); - } - - /** - * Returns the last bo territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTerritorio findByComuneId_Last( - long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTerritorioException { - return getPersistence().findByComuneId_Last(comuneId, orderByComparator); - } - - /** - * Returns the last bo territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTerritorio fetchByComuneId_Last( - long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByComuneId_Last(comuneId, orderByComparator); - } - - /** - * Returns the bo territorios before and after the current bo territorio in the ordered set where comuneId = ?. - * - * @param territorioId the primary key of the current bo territorio - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTerritorio[] findByComuneId_PrevAndNext( - long territorioId, long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTerritorioException { - return getPersistence() - .findByComuneId_PrevAndNext(territorioId, comuneId, - orderByComparator); - } - - /** - * Removes all the bo territorios where comuneId = ? from the database. - * - * @param comuneId the comune ID - * @throws SystemException if a system exception occurred - */ - public static void removeByComuneId(long comuneId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByComuneId(comuneId); - } - - /** - * Returns the number of bo territorios where comuneId = ?. - * - * @param comuneId the comune ID - * @return the number of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public static int countByComuneId(long comuneId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByComuneId(comuneId); - } - - /** - * Returns all the bo territorios where zonaId = ?. - * - * @param zonaId the zona ID - * @return the matching bo territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByZonaId( - long zonaId) throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByZonaId(zonaId); - } - - /** - * Returns a range of all the bo territorios where zonaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param zonaId the zona ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByZonaId( - long zonaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByZonaId(zonaId, start, end); - } - - /** - * Returns an ordered range of all the bo territorios where zonaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param zonaId the zona ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByZonaId( - long zonaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByZonaId(zonaId, start, end, orderByComparator); - } - - /** - * Returns the first bo territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTerritorio findByZonaId_First( - long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTerritorioException { - return getPersistence().findByZonaId_First(zonaId, orderByComparator); - } - - /** - * Returns the first bo territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTerritorio fetchByZonaId_First( - long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByZonaId_First(zonaId, orderByComparator); - } - - /** - * Returns the last bo territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTerritorio findByZonaId_Last( - long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTerritorioException { - return getPersistence().findByZonaId_Last(zonaId, orderByComparator); - } - - /** - * Returns the last bo territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTerritorio fetchByZonaId_Last( - long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByZonaId_Last(zonaId, orderByComparator); - } - - /** - * Returns the bo territorios before and after the current bo territorio in the ordered set where zonaId = ?. - * - * @param territorioId the primary key of the current bo territorio - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTerritorio[] findByZonaId_PrevAndNext( - long territorioId, long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTerritorioException { - return getPersistence() - .findByZonaId_PrevAndNext(territorioId, zonaId, - orderByComparator); - } - - /** - * Removes all the bo territorios where zonaId = ? from the database. - * - * @param zonaId the zona ID - * @throws SystemException if a system exception occurred - */ - public static void removeByZonaId(long zonaId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByZonaId(zonaId); - } - - /** - * Returns the number of bo territorios where zonaId = ?. - * - * @param zonaId the zona ID - * @return the number of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public static int countByZonaId(long zonaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByZonaId(zonaId); - } - - /** - * Returns all the bo territorios where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @return the matching bo territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByFasciaId( - long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByFasciaId(fasciaId); - } - - /** - * Returns a range of all the bo territorios where fasciaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param fasciaId the fascia ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByFasciaId( - long fasciaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByFasciaId(fasciaId, start, end); - } - - /** - * Returns an ordered range of all the bo territorios where fasciaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param fasciaId the fascia ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByFasciaId( - long fasciaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByFasciaId(fasciaId, start, end, orderByComparator); - } - - /** - * Returns the first bo territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTerritorio findByFasciaId_First( - long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTerritorioException { - return getPersistence().findByFasciaId_First(fasciaId, orderByComparator); - } - - /** - * Returns the first bo territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTerritorio fetchByFasciaId_First( - long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByFasciaId_First(fasciaId, orderByComparator); - } - - /** - * Returns the last bo territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTerritorio findByFasciaId_Last( - long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTerritorioException { - return getPersistence().findByFasciaId_Last(fasciaId, orderByComparator); - } - - /** - * Returns the last bo territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTerritorio fetchByFasciaId_Last( - long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByFasciaId_Last(fasciaId, orderByComparator); - } - - /** - * Returns the bo territorios before and after the current bo territorio in the ordered set where fasciaId = ?. - * - * @param territorioId the primary key of the current bo territorio - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTerritorio[] findByFasciaId_PrevAndNext( - long territorioId, long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTerritorioException { - return getPersistence() - .findByFasciaId_PrevAndNext(territorioId, fasciaId, - orderByComparator); - } - - /** - * Removes all the bo territorios where fasciaId = ? from the database. - * - * @param fasciaId the fascia ID - * @throws SystemException if a system exception occurred - */ - public static void removeByFasciaId(long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByFasciaId(fasciaId); - } - - /** - * Returns the number of bo territorios where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @return the number of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public static int countByFasciaId(long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByFasciaId(fasciaId); - } - - /** - * Returns the bo territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoTerritorioException} if it could not be found. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the matching bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTerritorio findByC_Z_F_D( - long comuneId, long zonaId, long fasciaId, java.util.Date dtIni) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTerritorioException { - return getPersistence().findByC_Z_F_D(comuneId, zonaId, fasciaId, dtIni); - } - - /** - * Returns the bo territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? or returns null if it could not be found. Uses the finder cache. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTerritorio fetchByC_Z_F_D( - long comuneId, long zonaId, long fasciaId, java.util.Date dtIni) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByC_Z_F_D(comuneId, zonaId, fasciaId, dtIni); - } - - /** - * Returns the bo territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTerritorio fetchByC_Z_F_D( - long comuneId, long zonaId, long fasciaId, java.util.Date dtIni, - boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Z_F_D(comuneId, zonaId, fasciaId, dtIni, - retrieveFromCache); - } - - /** - * Removes the bo territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? from the database. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the bo territorio that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTerritorio removeByC_Z_F_D( - long comuneId, long zonaId, long fasciaId, java.util.Date dtIni) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTerritorioException { - return getPersistence() - .removeByC_Z_F_D(comuneId, zonaId, fasciaId, dtIni); - } - - /** - * Returns the number of bo territorios where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the number of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public static int countByC_Z_F_D(long comuneId, long zonaId, long fasciaId, - java.util.Date dtIni) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByC_Z_F_D(comuneId, zonaId, fasciaId, dtIni); - } - - /** - * Returns all the bo territorios where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @return the matching bo territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group( - long companyId, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByC_Group(companyId, groupId); - } - - /** - * Returns a range of all the bo territorios where companyId = ? and groupId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group( - long companyId, long groupId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByC_Group(companyId, groupId, start, end); - } - - /** - * Returns an ordered range of all the bo territorios where companyId = ? and groupId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group( - long companyId, long groupId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Group(companyId, groupId, start, end, - orderByComparator); - } - - /** - * Returns the first bo territorio in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTerritorio findByC_Group_First( - long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTerritorioException { - return getPersistence() - .findByC_Group_First(companyId, groupId, orderByComparator); - } - - /** - * Returns the first bo territorio in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTerritorio fetchByC_Group_First( - long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Group_First(companyId, groupId, orderByComparator); - } - - /** - * Returns the last bo territorio in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTerritorio findByC_Group_Last( - long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTerritorioException { - return getPersistence() - .findByC_Group_Last(companyId, groupId, orderByComparator); - } - - /** - * Returns the last bo territorio in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTerritorio fetchByC_Group_Last( - long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Group_Last(companyId, groupId, orderByComparator); - } - - /** - * Returns the bo territorios before and after the current bo territorio in the ordered set where companyId = ? and groupId = ?. - * - * @param territorioId the primary key of the current bo territorio - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTerritorio[] findByC_Group_PrevAndNext( - long territorioId, long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTerritorioException { - return getPersistence() - .findByC_Group_PrevAndNext(territorioId, companyId, groupId, - orderByComparator); - } - - /** - * Removes all the bo territorios where companyId = ? and groupId = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @throws SystemException if a system exception occurred - */ - public static void removeByC_Group(long companyId, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByC_Group(companyId, groupId); - } - - /** - * Returns the number of bo territorios where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @return the number of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public static int countByC_Group(long companyId, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByC_Group(companyId, groupId); - } - - /** - * Caches the bo territorio in the entity cache if it is enabled. - * - * @param boTerritorio the bo territorio - */ - public static void cacheResult( - it.tref.liferay.portos.importazione.model.BoTerritorio boTerritorio) { - getPersistence().cacheResult(boTerritorio); - } - - /** - * Caches the bo territorios in the entity cache if it is enabled. - * - * @param boTerritorios the bo territorios - */ - public static void cacheResult( - java.util.List boTerritorios) { - getPersistence().cacheResult(boTerritorios); - } - - /** - * Creates a new bo territorio with the primary key. Does not add the bo territorio to the database. - * - * @param territorioId the primary key for the new bo territorio - * @return the new bo territorio - */ - public static it.tref.liferay.portos.importazione.model.BoTerritorio create( - long territorioId) { - return getPersistence().create(territorioId); - } - - /** - * Removes the bo territorio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param territorioId the primary key of the bo territorio - * @return the bo territorio that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTerritorio remove( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTerritorioException { - return getPersistence().remove(territorioId); - } - - public static it.tref.liferay.portos.importazione.model.BoTerritorio updateImpl( - it.tref.liferay.portos.importazione.model.BoTerritorio boTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(boTerritorio); - } - - /** - * Returns the bo territorio with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoTerritorioException} if it could not be found. - * - * @param territorioId the primary key of the bo territorio - * @return the bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTerritorio findByPrimaryKey( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchBoTerritorioException { - return getPersistence().findByPrimaryKey(territorioId); - } - - /** - * Returns the bo territorio with the primary key or returns null if it could not be found. - * - * @param territorioId the primary key of the bo territorio - * @return the bo territorio, or null if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.BoTerritorio fetchByPrimaryKey( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(territorioId); - } - - /** - * Returns all the bo territorios. - * - * @return the bo territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the bo territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of bo territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the bo territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the bo territorios from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of bo territorios. - * - * @return the number of bo territorios - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static BoTerritorioPersistence getPersistence() { - if (_persistence == null) { - _persistence = (BoTerritorioPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - BoTerritorioPersistence.class.getName()); - - ReferenceRegistry.registerReference(BoTerritorioUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(BoTerritorioPersistence persistence) { - } - - private static BoTerritorioPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeComuneActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeComuneActionableDynamicQuery.java deleted file mode 100644 index 6c16794f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeComuneActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.FeComune; -import it.tref.liferay.portos.importazione.service.FeComuneLocalServiceUtil; - -/** - * @author 3FC - * @generated - */ -public abstract class FeComuneActionableDynamicQuery - extends BaseActionableDynamicQuery { - public FeComuneActionableDynamicQuery() throws SystemException { - setBaseLocalService(FeComuneLocalServiceUtil.getService()); - setClass(FeComune.class); - - setClassLoader(it.tref.liferay.portos.importazione.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("comuneId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeComunePersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeComunePersistence.java deleted file mode 100644 index 447aabb6..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeComunePersistence.java +++ /dev/null @@ -1,281 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.importazione.model.FeComune; - -/** - * The persistence interface for the fe comune service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see FeComunePersistenceImpl - * @see FeComuneUtil - * @generated - */ -public interface FeComunePersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link FeComuneUtil} to access the fe comune persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns the fe comune where codIstat = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchFeComuneException} if it could not be found. - * - * @param codIstat the cod istat - * @return the matching fe comune - * @throws it.tref.liferay.portos.importazione.NoSuchFeComuneException if a matching fe comune could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeComune findByCodIstat( - java.lang.String codIstat) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeComuneException; - - /** - * Returns the fe comune where codIstat = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codIstat the cod istat - * @return the matching fe comune, or null if a matching fe comune could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeComune fetchByCodIstat( - java.lang.String codIstat) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe comune where codIstat = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codIstat the cod istat - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe comune, or null if a matching fe comune could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeComune fetchByCodIstat( - java.lang.String codIstat, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the fe comune where codIstat = ? from the database. - * - * @param codIstat the cod istat - * @return the fe comune that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeComune removeByCodIstat( - java.lang.String codIstat) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeComuneException; - - /** - * Returns the number of fe comunes where codIstat = ?. - * - * @param codIstat the cod istat - * @return the number of matching fe comunes - * @throws SystemException if a system exception occurred - */ - public int countByCodIstat(java.lang.String codIstat) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe comune where codCatastale = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchFeComuneException} if it could not be found. - * - * @param codCatastale the cod catastale - * @return the matching fe comune - * @throws it.tref.liferay.portos.importazione.NoSuchFeComuneException if a matching fe comune could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeComune findByCodCatastale( - java.lang.String codCatastale) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeComuneException; - - /** - * Returns the fe comune where codCatastale = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codCatastale the cod catastale - * @return the matching fe comune, or null if a matching fe comune could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeComune fetchByCodCatastale( - java.lang.String codCatastale) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe comune where codCatastale = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codCatastale the cod catastale - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe comune, or null if a matching fe comune could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeComune fetchByCodCatastale( - java.lang.String codCatastale, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the fe comune where codCatastale = ? from the database. - * - * @param codCatastale the cod catastale - * @return the fe comune that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeComune removeByCodCatastale( - java.lang.String codCatastale) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeComuneException; - - /** - * Returns the number of fe comunes where codCatastale = ?. - * - * @param codCatastale the cod catastale - * @return the number of matching fe comunes - * @throws SystemException if a system exception occurred - */ - public int countByCodCatastale(java.lang.String codCatastale) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the fe comune in the entity cache if it is enabled. - * - * @param feComune the fe comune - */ - public void cacheResult( - it.tref.liferay.portos.importazione.model.FeComune feComune); - - /** - * Caches the fe comunes in the entity cache if it is enabled. - * - * @param feComunes the fe comunes - */ - public void cacheResult( - java.util.List feComunes); - - /** - * Creates a new fe comune with the primary key. Does not add the fe comune to the database. - * - * @param comuneId the primary key for the new fe comune - * @return the new fe comune - */ - public it.tref.liferay.portos.importazione.model.FeComune create( - long comuneId); - - /** - * Removes the fe comune with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param comuneId the primary key of the fe comune - * @return the fe comune that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchFeComuneException if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeComune remove( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeComuneException; - - public it.tref.liferay.portos.importazione.model.FeComune updateImpl( - it.tref.liferay.portos.importazione.model.FeComune feComune) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe comune with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchFeComuneException} if it could not be found. - * - * @param comuneId the primary key of the fe comune - * @return the fe comune - * @throws it.tref.liferay.portos.importazione.NoSuchFeComuneException if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeComune findByPrimaryKey( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeComuneException; - - /** - * Returns the fe comune with the primary key or returns null if it could not be found. - * - * @param comuneId the primary key of the fe comune - * @return the fe comune, or null if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeComune fetchByPrimaryKey( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the fe comunes. - * - * @return the fe comunes - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe comunes - * @param end the upper bound of the range of fe comunes (not inclusive) - * @return the range of fe comunes - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the fe comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe comunes - * @param end the upper bound of the range of fe comunes (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of fe comunes - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the fe comunes from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe comunes. - * - * @return the number of fe comunes - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeComuneUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeComuneUtil.java deleted file mode 100644 index b04e0ec1..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeComuneUtil.java +++ /dev/null @@ -1,418 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.importazione.model.FeComune; - -import java.util.List; - -/** - * The persistence utility for the fe comune service. This utility wraps {@link FeComunePersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see FeComunePersistence - * @see FeComunePersistenceImpl - * @generated - */ -public class FeComuneUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(FeComune feComune) { - getPersistence().clearCache(feComune); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static FeComune update(FeComune feComune) throws SystemException { - return getPersistence().update(feComune); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static FeComune update(FeComune feComune, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(feComune, serviceContext); - } - - /** - * Returns the fe comune where codIstat = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchFeComuneException} if it could not be found. - * - * @param codIstat the cod istat - * @return the matching fe comune - * @throws it.tref.liferay.portos.importazione.NoSuchFeComuneException if a matching fe comune could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeComune findByCodIstat( - java.lang.String codIstat) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeComuneException { - return getPersistence().findByCodIstat(codIstat); - } - - /** - * Returns the fe comune where codIstat = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codIstat the cod istat - * @return the matching fe comune, or null if a matching fe comune could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeComune fetchByCodIstat( - java.lang.String codIstat) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByCodIstat(codIstat); - } - - /** - * Returns the fe comune where codIstat = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codIstat the cod istat - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe comune, or null if a matching fe comune could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeComune fetchByCodIstat( - java.lang.String codIstat, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByCodIstat(codIstat, retrieveFromCache); - } - - /** - * Removes the fe comune where codIstat = ? from the database. - * - * @param codIstat the cod istat - * @return the fe comune that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeComune removeByCodIstat( - java.lang.String codIstat) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeComuneException { - return getPersistence().removeByCodIstat(codIstat); - } - - /** - * Returns the number of fe comunes where codIstat = ?. - * - * @param codIstat the cod istat - * @return the number of matching fe comunes - * @throws SystemException if a system exception occurred - */ - public static int countByCodIstat(java.lang.String codIstat) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByCodIstat(codIstat); - } - - /** - * Returns the fe comune where codCatastale = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchFeComuneException} if it could not be found. - * - * @param codCatastale the cod catastale - * @return the matching fe comune - * @throws it.tref.liferay.portos.importazione.NoSuchFeComuneException if a matching fe comune could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeComune findByCodCatastale( - java.lang.String codCatastale) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeComuneException { - return getPersistence().findByCodCatastale(codCatastale); - } - - /** - * Returns the fe comune where codCatastale = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codCatastale the cod catastale - * @return the matching fe comune, or null if a matching fe comune could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeComune fetchByCodCatastale( - java.lang.String codCatastale) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByCodCatastale(codCatastale); - } - - /** - * Returns the fe comune where codCatastale = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codCatastale the cod catastale - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe comune, or null if a matching fe comune could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeComune fetchByCodCatastale( - java.lang.String codCatastale, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByCodCatastale(codCatastale, retrieveFromCache); - } - - /** - * Removes the fe comune where codCatastale = ? from the database. - * - * @param codCatastale the cod catastale - * @return the fe comune that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeComune removeByCodCatastale( - java.lang.String codCatastale) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeComuneException { - return getPersistence().removeByCodCatastale(codCatastale); - } - - /** - * Returns the number of fe comunes where codCatastale = ?. - * - * @param codCatastale the cod catastale - * @return the number of matching fe comunes - * @throws SystemException if a system exception occurred - */ - public static int countByCodCatastale(java.lang.String codCatastale) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByCodCatastale(codCatastale); - } - - /** - * Caches the fe comune in the entity cache if it is enabled. - * - * @param feComune the fe comune - */ - public static void cacheResult( - it.tref.liferay.portos.importazione.model.FeComune feComune) { - getPersistence().cacheResult(feComune); - } - - /** - * Caches the fe comunes in the entity cache if it is enabled. - * - * @param feComunes the fe comunes - */ - public static void cacheResult( - java.util.List feComunes) { - getPersistence().cacheResult(feComunes); - } - - /** - * Creates a new fe comune with the primary key. Does not add the fe comune to the database. - * - * @param comuneId the primary key for the new fe comune - * @return the new fe comune - */ - public static it.tref.liferay.portos.importazione.model.FeComune create( - long comuneId) { - return getPersistence().create(comuneId); - } - - /** - * Removes the fe comune with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param comuneId the primary key of the fe comune - * @return the fe comune that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchFeComuneException if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeComune remove( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeComuneException { - return getPersistence().remove(comuneId); - } - - public static it.tref.liferay.portos.importazione.model.FeComune updateImpl( - it.tref.liferay.portos.importazione.model.FeComune feComune) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(feComune); - } - - /** - * Returns the fe comune with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchFeComuneException} if it could not be found. - * - * @param comuneId the primary key of the fe comune - * @return the fe comune - * @throws it.tref.liferay.portos.importazione.NoSuchFeComuneException if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeComune findByPrimaryKey( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeComuneException { - return getPersistence().findByPrimaryKey(comuneId); - } - - /** - * Returns the fe comune with the primary key or returns null if it could not be found. - * - * @param comuneId the primary key of the fe comune - * @return the fe comune, or null if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeComune fetchByPrimaryKey( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(comuneId); - } - - /** - * Returns all the fe comunes. - * - * @return the fe comunes - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the fe comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe comunes - * @param end the upper bound of the range of fe comunes (not inclusive) - * @return the range of fe comunes - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the fe comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe comunes - * @param end the upper bound of the range of fe comunes (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of fe comunes - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the fe comunes from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of fe comunes. - * - * @return the number of fe comunes - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static FeComunePersistence getPersistence() { - if (_persistence == null) { - _persistence = (FeComunePersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - FeComunePersistence.class.getName()); - - ReferenceRegistry.registerReference(FeComuneUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(FeComunePersistence persistence) { - } - - private static FeComunePersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeDettPraticaActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeDettPraticaActionableDynamicQuery.java deleted file mode 100644 index 3de1cd06..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeDettPraticaActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.FeDettPratica; -import it.tref.liferay.portos.importazione.service.FeDettPraticaLocalServiceUtil; - -/** - * @author 3FC - * @generated - */ -public abstract class FeDettPraticaActionableDynamicQuery - extends BaseActionableDynamicQuery { - public FeDettPraticaActionableDynamicQuery() throws SystemException { - setBaseLocalService(FeDettPraticaLocalServiceUtil.getService()); - setClass(FeDettPratica.class); - - setClassLoader(it.tref.liferay.portos.importazione.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("dettPraticaId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeDettPraticaPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeDettPraticaPersistence.java deleted file mode 100644 index ae680fac..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeDettPraticaPersistence.java +++ /dev/null @@ -1,424 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.importazione.model.FeDettPratica; - -/** - * The persistence interface for the fe dett pratica service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see FeDettPraticaPersistenceImpl - * @see FeDettPraticaUtil - * @generated - */ -public interface FeDettPraticaPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link FeDettPraticaUtil} to access the fe dett pratica persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns all the fe dett praticas where uuid = ?. - * - * @param uuid the uuid - * @return the matching fe dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe dett praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of fe dett praticas - * @param end the upper bound of the range of fe dett praticas (not inclusive) - * @return the range of matching fe dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the fe dett praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of fe dett praticas - * @param end the upper bound of the range of fe dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first fe dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeDettPratica findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException; - - /** - * Returns the first fe dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeDettPratica fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last fe dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeDettPratica findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException; - - /** - * Returns the last fe dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeDettPratica fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe dett praticas before and after the current fe dett pratica in the ordered set where uuid = ?. - * - * @param dettPraticaId the primary key of the current fe dett pratica - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeDettPratica[] findByUuid_PrevAndNext( - long dettPraticaId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException; - - /** - * Removes all the fe dett praticas where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe dett praticas where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching fe dett praticas - * @throws SystemException if a system exception occurred - */ - public int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe dett pratica where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching fe dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeDettPratica findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException; - - /** - * Returns the fe dett pratica where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeDettPratica fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe dett pratica where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeDettPratica fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the fe dett pratica where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the fe dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeDettPratica removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException; - - /** - * Returns the number of fe dett praticas where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching fe dett praticas - * @throws SystemException if a system exception occurred - */ - public int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe dett pratica where codPraticaSuap = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException} if it could not be found. - * - * @param codPraticaSuap the cod pratica suap - * @return the matching fe dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeDettPratica findByCodPraticaSuap( - java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException; - - /** - * Returns the fe dett pratica where codPraticaSuap = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codPraticaSuap the cod pratica suap - * @return the matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeDettPratica fetchByCodPraticaSuap( - java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe dett pratica where codPraticaSuap = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codPraticaSuap the cod pratica suap - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeDettPratica fetchByCodPraticaSuap( - java.lang.String codPraticaSuap, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the fe dett pratica where codPraticaSuap = ? from the database. - * - * @param codPraticaSuap the cod pratica suap - * @return the fe dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeDettPratica removeByCodPraticaSuap( - java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException; - - /** - * Returns the number of fe dett praticas where codPraticaSuap = ?. - * - * @param codPraticaSuap the cod pratica suap - * @return the number of matching fe dett praticas - * @throws SystemException if a system exception occurred - */ - public int countByCodPraticaSuap(java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the fe dett pratica in the entity cache if it is enabled. - * - * @param feDettPratica the fe dett pratica - */ - public void cacheResult( - it.tref.liferay.portos.importazione.model.FeDettPratica feDettPratica); - - /** - * Caches the fe dett praticas in the entity cache if it is enabled. - * - * @param feDettPraticas the fe dett praticas - */ - public void cacheResult( - java.util.List feDettPraticas); - - /** - * Creates a new fe dett pratica with the primary key. Does not add the fe dett pratica to the database. - * - * @param dettPraticaId the primary key for the new fe dett pratica - * @return the new fe dett pratica - */ - public it.tref.liferay.portos.importazione.model.FeDettPratica create( - long dettPraticaId); - - /** - * Removes the fe dett pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param dettPraticaId the primary key of the fe dett pratica - * @return the fe dett pratica that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeDettPratica remove( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException; - - public it.tref.liferay.portos.importazione.model.FeDettPratica updateImpl( - it.tref.liferay.portos.importazione.model.FeDettPratica feDettPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe dett pratica with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException} if it could not be found. - * - * @param dettPraticaId the primary key of the fe dett pratica - * @return the fe dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeDettPratica findByPrimaryKey( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException; - - /** - * Returns the fe dett pratica with the primary key or returns null if it could not be found. - * - * @param dettPraticaId the primary key of the fe dett pratica - * @return the fe dett pratica, or null if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeDettPratica fetchByPrimaryKey( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the fe dett praticas. - * - * @return the fe dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe dett praticas - * @param end the upper bound of the range of fe dett praticas (not inclusive) - * @return the range of fe dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the fe dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe dett praticas - * @param end the upper bound of the range of fe dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of fe dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the fe dett praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe dett praticas. - * - * @return the number of fe dett praticas - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeDettPraticaUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeDettPraticaUtil.java deleted file mode 100644 index d68939e0..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeDettPraticaUtil.java +++ /dev/null @@ -1,584 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.importazione.model.FeDettPratica; - -import java.util.List; - -/** - * The persistence utility for the fe dett pratica service. This utility wraps {@link FeDettPraticaPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see FeDettPraticaPersistence - * @see FeDettPraticaPersistenceImpl - * @generated - */ -public class FeDettPraticaUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(FeDettPratica feDettPratica) { - getPersistence().clearCache(feDettPratica); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static FeDettPratica update(FeDettPratica feDettPratica) - throws SystemException { - return getPersistence().update(feDettPratica); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static FeDettPratica update(FeDettPratica feDettPratica, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(feDettPratica, serviceContext); - } - - /** - * Returns all the fe dett praticas where uuid = ?. - * - * @param uuid the uuid - * @return the matching fe dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid); - } - - /** - * Returns a range of all the fe dett praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of fe dett praticas - * @param end the upper bound of the range of fe dett praticas (not inclusive) - * @return the range of matching fe dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end); - } - - /** - * Returns an ordered range of all the fe dett praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of fe dett praticas - * @param end the upper bound of the range of fe dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end, orderByComparator); - } - - /** - * Returns the first fe dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeDettPratica findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException { - return getPersistence().findByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the first fe dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeDettPratica fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the last fe dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeDettPratica findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException { - return getPersistence().findByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the last fe dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeDettPratica fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the fe dett praticas before and after the current fe dett pratica in the ordered set where uuid = ?. - * - * @param dettPraticaId the primary key of the current fe dett pratica - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeDettPratica[] findByUuid_PrevAndNext( - long dettPraticaId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException { - return getPersistence() - .findByUuid_PrevAndNext(dettPraticaId, uuid, - orderByComparator); - } - - /** - * Removes all the fe dett praticas where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid(uuid); - } - - /** - * Returns the number of fe dett praticas where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching fe dett praticas - * @throws SystemException if a system exception occurred - */ - public static int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid(uuid); - } - - /** - * Returns the fe dett pratica where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching fe dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeDettPratica findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException { - return getPersistence().findByUUID_G(uuid, groupId); - } - - /** - * Returns the fe dett pratica where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeDettPratica fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the fe dett pratica where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeDettPratica fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache); - } - - /** - * Removes the fe dett pratica where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the fe dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeDettPratica removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException { - return getPersistence().removeByUUID_G(uuid, groupId); - } - - /** - * Returns the number of fe dett praticas where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching fe dett praticas - * @throws SystemException if a system exception occurred - */ - public static int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUUID_G(uuid, groupId); - } - - /** - * Returns the fe dett pratica where codPraticaSuap = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException} if it could not be found. - * - * @param codPraticaSuap the cod pratica suap - * @return the matching fe dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeDettPratica findByCodPraticaSuap( - java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException { - return getPersistence().findByCodPraticaSuap(codPraticaSuap); - } - - /** - * Returns the fe dett pratica where codPraticaSuap = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codPraticaSuap the cod pratica suap - * @return the matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeDettPratica fetchByCodPraticaSuap( - java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByCodPraticaSuap(codPraticaSuap); - } - - /** - * Returns the fe dett pratica where codPraticaSuap = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codPraticaSuap the cod pratica suap - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeDettPratica fetchByCodPraticaSuap( - java.lang.String codPraticaSuap, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByCodPraticaSuap(codPraticaSuap, retrieveFromCache); - } - - /** - * Removes the fe dett pratica where codPraticaSuap = ? from the database. - * - * @param codPraticaSuap the cod pratica suap - * @return the fe dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeDettPratica removeByCodPraticaSuap( - java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException { - return getPersistence().removeByCodPraticaSuap(codPraticaSuap); - } - - /** - * Returns the number of fe dett praticas where codPraticaSuap = ?. - * - * @param codPraticaSuap the cod pratica suap - * @return the number of matching fe dett praticas - * @throws SystemException if a system exception occurred - */ - public static int countByCodPraticaSuap(java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByCodPraticaSuap(codPraticaSuap); - } - - /** - * Caches the fe dett pratica in the entity cache if it is enabled. - * - * @param feDettPratica the fe dett pratica - */ - public static void cacheResult( - it.tref.liferay.portos.importazione.model.FeDettPratica feDettPratica) { - getPersistence().cacheResult(feDettPratica); - } - - /** - * Caches the fe dett praticas in the entity cache if it is enabled. - * - * @param feDettPraticas the fe dett praticas - */ - public static void cacheResult( - java.util.List feDettPraticas) { - getPersistence().cacheResult(feDettPraticas); - } - - /** - * Creates a new fe dett pratica with the primary key. Does not add the fe dett pratica to the database. - * - * @param dettPraticaId the primary key for the new fe dett pratica - * @return the new fe dett pratica - */ - public static it.tref.liferay.portos.importazione.model.FeDettPratica create( - long dettPraticaId) { - return getPersistence().create(dettPraticaId); - } - - /** - * Removes the fe dett pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param dettPraticaId the primary key of the fe dett pratica - * @return the fe dett pratica that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeDettPratica remove( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException { - return getPersistence().remove(dettPraticaId); - } - - public static it.tref.liferay.portos.importazione.model.FeDettPratica updateImpl( - it.tref.liferay.portos.importazione.model.FeDettPratica feDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(feDettPratica); - } - - /** - * Returns the fe dett pratica with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException} if it could not be found. - * - * @param dettPraticaId the primary key of the fe dett pratica - * @return the fe dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeDettPratica findByPrimaryKey( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException { - return getPersistence().findByPrimaryKey(dettPraticaId); - } - - /** - * Returns the fe dett pratica with the primary key or returns null if it could not be found. - * - * @param dettPraticaId the primary key of the fe dett pratica - * @return the fe dett pratica, or null if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeDettPratica fetchByPrimaryKey( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(dettPraticaId); - } - - /** - * Returns all the fe dett praticas. - * - * @return the fe dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the fe dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe dett praticas - * @param end the upper bound of the range of fe dett praticas (not inclusive) - * @return the range of fe dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the fe dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe dett praticas - * @param end the upper bound of the range of fe dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of fe dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the fe dett praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of fe dett praticas. - * - * @return the number of fe dett praticas - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static FeDettPraticaPersistence getPersistence() { - if (_persistence == null) { - _persistence = (FeDettPraticaPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - FeDettPraticaPersistence.class.getName()); - - ReferenceRegistry.registerReference(FeDettPraticaUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(FeDettPraticaPersistence persistence) { - } - - private static FeDettPraticaPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeIntPraticaActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeIntPraticaActionableDynamicQuery.java deleted file mode 100644 index 120ebcc9..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeIntPraticaActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.FeIntPratica; -import it.tref.liferay.portos.importazione.service.FeIntPraticaLocalServiceUtil; - -/** - * @author 3FC - * @generated - */ -public abstract class FeIntPraticaActionableDynamicQuery - extends BaseActionableDynamicQuery { - public FeIntPraticaActionableDynamicQuery() throws SystemException { - setBaseLocalService(FeIntPraticaLocalServiceUtil.getService()); - setClass(FeIntPratica.class); - - setClassLoader(it.tref.liferay.portos.importazione.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("intPraticaId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeIntPraticaPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeIntPraticaPersistence.java deleted file mode 100644 index 0ece0b88..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeIntPraticaPersistence.java +++ /dev/null @@ -1,366 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.importazione.model.FeIntPratica; - -/** - * The persistence interface for the fe int pratica service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see FeIntPraticaPersistenceImpl - * @see FeIntPraticaUtil - * @generated - */ -public interface FeIntPraticaPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link FeIntPraticaUtil} to access the fe int pratica persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns all the fe int praticas where uuid = ?. - * - * @param uuid the uuid - * @return the matching fe int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe int praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of fe int praticas - * @param end the upper bound of the range of fe int praticas (not inclusive) - * @return the range of matching fe int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the fe int praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of fe int praticas - * @param end the upper bound of the range of fe int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first fe int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeIntPratica findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException; - - /** - * Returns the first fe int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe int pratica, or null if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeIntPratica fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last fe int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeIntPratica findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException; - - /** - * Returns the last fe int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe int pratica, or null if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeIntPratica fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe int praticas before and after the current fe int pratica in the ordered set where uuid = ?. - * - * @param intPraticaId the primary key of the current fe int pratica - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeIntPratica[] findByUuid_PrevAndNext( - long intPraticaId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException; - - /** - * Removes all the fe int praticas where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe int praticas where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching fe int praticas - * @throws SystemException if a system exception occurred - */ - public int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe int pratica where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching fe int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeIntPratica findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException; - - /** - * Returns the fe int pratica where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching fe int pratica, or null if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeIntPratica fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe int pratica where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe int pratica, or null if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeIntPratica fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the fe int pratica where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the fe int pratica that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeIntPratica removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException; - - /** - * Returns the number of fe int praticas where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching fe int praticas - * @throws SystemException if a system exception occurred - */ - public int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the fe int pratica in the entity cache if it is enabled. - * - * @param feIntPratica the fe int pratica - */ - public void cacheResult( - it.tref.liferay.portos.importazione.model.FeIntPratica feIntPratica); - - /** - * Caches the fe int praticas in the entity cache if it is enabled. - * - * @param feIntPraticas the fe int praticas - */ - public void cacheResult( - java.util.List feIntPraticas); - - /** - * Creates a new fe int pratica with the primary key. Does not add the fe int pratica to the database. - * - * @param intPraticaId the primary key for the new fe int pratica - * @return the new fe int pratica - */ - public it.tref.liferay.portos.importazione.model.FeIntPratica create( - long intPraticaId); - - /** - * Removes the fe int pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param intPraticaId the primary key of the fe int pratica - * @return the fe int pratica that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeIntPratica remove( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException; - - public it.tref.liferay.portos.importazione.model.FeIntPratica updateImpl( - it.tref.liferay.portos.importazione.model.FeIntPratica feIntPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe int pratica with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException} if it could not be found. - * - * @param intPraticaId the primary key of the fe int pratica - * @return the fe int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeIntPratica findByPrimaryKey( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException; - - /** - * Returns the fe int pratica with the primary key or returns null if it could not be found. - * - * @param intPraticaId the primary key of the fe int pratica - * @return the fe int pratica, or null if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeIntPratica fetchByPrimaryKey( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the fe int praticas. - * - * @return the fe int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe int praticas - * @param end the upper bound of the range of fe int praticas (not inclusive) - * @return the range of fe int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the fe int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe int praticas - * @param end the upper bound of the range of fe int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of fe int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the fe int praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe int praticas. - * - * @return the number of fe int praticas - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeIntPraticaUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeIntPraticaUtil.java deleted file mode 100644 index b336c4fb..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeIntPraticaUtil.java +++ /dev/null @@ -1,514 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.importazione.model.FeIntPratica; - -import java.util.List; - -/** - * The persistence utility for the fe int pratica service. This utility wraps {@link FeIntPraticaPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see FeIntPraticaPersistence - * @see FeIntPraticaPersistenceImpl - * @generated - */ -public class FeIntPraticaUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(FeIntPratica feIntPratica) { - getPersistence().clearCache(feIntPratica); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static FeIntPratica update(FeIntPratica feIntPratica) - throws SystemException { - return getPersistence().update(feIntPratica); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static FeIntPratica update(FeIntPratica feIntPratica, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(feIntPratica, serviceContext); - } - - /** - * Returns all the fe int praticas where uuid = ?. - * - * @param uuid the uuid - * @return the matching fe int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid); - } - - /** - * Returns a range of all the fe int praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of fe int praticas - * @param end the upper bound of the range of fe int praticas (not inclusive) - * @return the range of matching fe int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end); - } - - /** - * Returns an ordered range of all the fe int praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of fe int praticas - * @param end the upper bound of the range of fe int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end, orderByComparator); - } - - /** - * Returns the first fe int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeIntPratica findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException { - return getPersistence().findByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the first fe int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe int pratica, or null if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeIntPratica fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the last fe int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeIntPratica findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException { - return getPersistence().findByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the last fe int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe int pratica, or null if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeIntPratica fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the fe int praticas before and after the current fe int pratica in the ordered set where uuid = ?. - * - * @param intPraticaId the primary key of the current fe int pratica - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeIntPratica[] findByUuid_PrevAndNext( - long intPraticaId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException { - return getPersistence() - .findByUuid_PrevAndNext(intPraticaId, uuid, orderByComparator); - } - - /** - * Removes all the fe int praticas where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid(uuid); - } - - /** - * Returns the number of fe int praticas where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching fe int praticas - * @throws SystemException if a system exception occurred - */ - public static int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid(uuid); - } - - /** - * Returns the fe int pratica where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching fe int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeIntPratica findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException { - return getPersistence().findByUUID_G(uuid, groupId); - } - - /** - * Returns the fe int pratica where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching fe int pratica, or null if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeIntPratica fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the fe int pratica where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe int pratica, or null if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeIntPratica fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache); - } - - /** - * Removes the fe int pratica where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the fe int pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeIntPratica removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException { - return getPersistence().removeByUUID_G(uuid, groupId); - } - - /** - * Returns the number of fe int praticas where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching fe int praticas - * @throws SystemException if a system exception occurred - */ - public static int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUUID_G(uuid, groupId); - } - - /** - * Caches the fe int pratica in the entity cache if it is enabled. - * - * @param feIntPratica the fe int pratica - */ - public static void cacheResult( - it.tref.liferay.portos.importazione.model.FeIntPratica feIntPratica) { - getPersistence().cacheResult(feIntPratica); - } - - /** - * Caches the fe int praticas in the entity cache if it is enabled. - * - * @param feIntPraticas the fe int praticas - */ - public static void cacheResult( - java.util.List feIntPraticas) { - getPersistence().cacheResult(feIntPraticas); - } - - /** - * Creates a new fe int pratica with the primary key. Does not add the fe int pratica to the database. - * - * @param intPraticaId the primary key for the new fe int pratica - * @return the new fe int pratica - */ - public static it.tref.liferay.portos.importazione.model.FeIntPratica create( - long intPraticaId) { - return getPersistence().create(intPraticaId); - } - - /** - * Removes the fe int pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param intPraticaId the primary key of the fe int pratica - * @return the fe int pratica that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeIntPratica remove( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException { - return getPersistence().remove(intPraticaId); - } - - public static it.tref.liferay.portos.importazione.model.FeIntPratica updateImpl( - it.tref.liferay.portos.importazione.model.FeIntPratica feIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(feIntPratica); - } - - /** - * Returns the fe int pratica with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException} if it could not be found. - * - * @param intPraticaId the primary key of the fe int pratica - * @return the fe int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeIntPratica findByPrimaryKey( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException { - return getPersistence().findByPrimaryKey(intPraticaId); - } - - /** - * Returns the fe int pratica with the primary key or returns null if it could not be found. - * - * @param intPraticaId the primary key of the fe int pratica - * @return the fe int pratica, or null if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeIntPratica fetchByPrimaryKey( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(intPraticaId); - } - - /** - * Returns all the fe int praticas. - * - * @return the fe int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the fe int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe int praticas - * @param end the upper bound of the range of fe int praticas (not inclusive) - * @return the range of fe int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the fe int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe int praticas - * @param end the upper bound of the range of fe int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of fe int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the fe int praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of fe int praticas. - * - * @return the number of fe int praticas - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static FeIntPraticaPersistence getPersistence() { - if (_persistence == null) { - _persistence = (FeIntPraticaPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - FeIntPraticaPersistence.class.getName()); - - ReferenceRegistry.registerReference(FeIntPraticaUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(FeIntPraticaPersistence persistence) { - } - - private static FeIntPraticaPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FePagamentoActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FePagamentoActionableDynamicQuery.java deleted file mode 100644 index dfa52065..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FePagamentoActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.FePagamento; -import it.tref.liferay.portos.importazione.service.FePagamentoLocalServiceUtil; - -/** - * @author 3FC - * @generated - */ -public abstract class FePagamentoActionableDynamicQuery - extends BaseActionableDynamicQuery { - public FePagamentoActionableDynamicQuery() throws SystemException { - setBaseLocalService(FePagamentoLocalServiceUtil.getService()); - setClass(FePagamento.class); - - setClassLoader(it.tref.liferay.portos.importazione.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("pagamentoId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FePagamentoExportActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FePagamentoExportActionableDynamicQuery.java deleted file mode 100644 index e60e7e84..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FePagamentoExportActionableDynamicQuery.java +++ /dev/null @@ -1,85 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.ExportImportHelperUtil; -import com.liferay.portal.kernel.lar.ManifestSummary; -import com.liferay.portal.kernel.lar.PortletDataContext; -import com.liferay.portal.kernel.lar.StagedModelDataHandlerUtil; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.importazione.model.FePagamento; - -/** - * @author 3FC - * @generated - */ -public class FePagamentoExportActionableDynamicQuery - extends FePagamentoActionableDynamicQuery { - public FePagamentoExportActionableDynamicQuery( - PortletDataContext portletDataContext) throws SystemException { - _portletDataContext = portletDataContext; - - setCompanyId(_portletDataContext.getCompanyId()); - - setGroupId(_portletDataContext.getScopeGroupId()); - } - - @Override - public long performCount() throws PortalException, SystemException { - ManifestSummary manifestSummary = _portletDataContext.getManifestSummary(); - - StagedModelType stagedModelType = getStagedModelType(); - - long modelAdditionCount = super.performCount(); - - manifestSummary.addModelAdditionCount(stagedModelType.toString(), - modelAdditionCount); - - long modelDeletionCount = ExportImportHelperUtil.getModelDeletionCount(_portletDataContext, - stagedModelType); - - manifestSummary.addModelDeletionCount(stagedModelType.toString(), - modelDeletionCount); - - return modelAdditionCount; - } - - @Override - protected void addCriteria(DynamicQuery dynamicQuery) { - _portletDataContext.addDateRangeCriteria(dynamicQuery, "modifiedDate"); - } - - protected StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - FePagamento.class.getName())); - } - - @Override - @SuppressWarnings("unused") - protected void performAction(Object object) - throws PortalException, SystemException { - FePagamento stagedModel = (FePagamento)object; - - StagedModelDataHandlerUtil.exportStagedModel(_portletDataContext, - stagedModel); - } - - private PortletDataContext _portletDataContext; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FePagamentoPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FePagamentoPersistence.java deleted file mode 100644 index 0960d1c0..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FePagamentoPersistence.java +++ /dev/null @@ -1,815 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.importazione.model.FePagamento; - -/** - * The persistence interface for the fe pagamento service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see FePagamentoPersistenceImpl - * @see FePagamentoUtil - * @generated - */ -public interface FePagamentoPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link FePagamentoUtil} to access the fe pagamento persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns all the fe pagamentos where uuid = ?. - * - * @param uuid the uuid - * @return the matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe pagamentos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the fe pagamentos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first fe pagamento in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FePagamento findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFePagamentoException; - - /** - * Returns the first fe pagamento in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FePagamento fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last fe pagamento in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FePagamento findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFePagamentoException; - - /** - * Returns the last fe pagamento in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FePagamento fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe pagamentos before and after the current fe pagamento in the ordered set where uuid = ?. - * - * @param pagamentoId the primary key of the current fe pagamento - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FePagamento[] findByUuid_PrevAndNext( - long pagamentoId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFePagamentoException; - - /** - * Removes all the fe pagamentos where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe pagamentos where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe pagamento where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchFePagamentoException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FePagamento findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFePagamentoException; - - /** - * Returns the fe pagamento where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FePagamento fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe pagamento where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FePagamento fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the fe pagamento where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the fe pagamento that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FePagamento removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFePagamentoException; - - /** - * Returns the number of fe pagamentos where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the fe pagamentos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe pagamentos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the fe pagamentos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first fe pagamento in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FePagamento findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFePagamentoException; - - /** - * Returns the first fe pagamento in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FePagamento fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last fe pagamento in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FePagamento findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFePagamentoException; - - /** - * Returns the last fe pagamento in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FePagamento fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe pagamentos before and after the current fe pagamento in the ordered set where uuid = ? and companyId = ?. - * - * @param pagamentoId the primary key of the current fe pagamento - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FePagamento[] findByUuid_C_PrevAndNext( - long pagamentoId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFePagamentoException; - - /** - * Removes all the fe pagamentos where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe pagamentos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the fe pagamentos where dettPraticaId = ? and mezzo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @return the matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPraticaId_Mezzo( - long dettPraticaId, java.lang.String mezzo) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe pagamentos where dettPraticaId = ? and mezzo = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPraticaId_Mezzo( - long dettPraticaId, java.lang.String mezzo, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the fe pagamentos where dettPraticaId = ? and mezzo = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPraticaId_Mezzo( - long dettPraticaId, java.lang.String mezzo, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first fe pagamento in the ordered set where dettPraticaId = ? and mezzo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FePagamento findByDettPraticaId_Mezzo_First( - long dettPraticaId, java.lang.String mezzo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFePagamentoException; - - /** - * Returns the first fe pagamento in the ordered set where dettPraticaId = ? and mezzo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FePagamento fetchByDettPraticaId_Mezzo_First( - long dettPraticaId, java.lang.String mezzo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last fe pagamento in the ordered set where dettPraticaId = ? and mezzo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FePagamento findByDettPraticaId_Mezzo_Last( - long dettPraticaId, java.lang.String mezzo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFePagamentoException; - - /** - * Returns the last fe pagamento in the ordered set where dettPraticaId = ? and mezzo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FePagamento fetchByDettPraticaId_Mezzo_Last( - long dettPraticaId, java.lang.String mezzo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe pagamentos before and after the current fe pagamento in the ordered set where dettPraticaId = ? and mezzo = ?. - * - * @param pagamentoId the primary key of the current fe pagamento - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FePagamento[] findByDettPraticaId_Mezzo_PrevAndNext( - long pagamentoId, long dettPraticaId, java.lang.String mezzo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFePagamentoException; - - /** - * Removes all the fe pagamentos where dettPraticaId = ? and mezzo = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @throws SystemException if a system exception occurred - */ - public void removeByDettPraticaId_Mezzo(long dettPraticaId, - java.lang.String mezzo) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe pagamentos where dettPraticaId = ? and mezzo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @return the number of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public int countByDettPraticaId_Mezzo(long dettPraticaId, - java.lang.String mezzo) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the fe pagamentos where mezzo = ? and utilizzata = ?. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @return the matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByMezzo_Utilizzata( - java.lang.String mezzo, java.lang.String utilizzata) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe pagamentos where mezzo = ? and utilizzata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByMezzo_Utilizzata( - java.lang.String mezzo, java.lang.String utilizzata, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the fe pagamentos where mezzo = ? and utilizzata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByMezzo_Utilizzata( - java.lang.String mezzo, java.lang.String utilizzata, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first fe pagamento in the ordered set where mezzo = ? and utilizzata = ?. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FePagamento findByMezzo_Utilizzata_First( - java.lang.String mezzo, java.lang.String utilizzata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFePagamentoException; - - /** - * Returns the first fe pagamento in the ordered set where mezzo = ? and utilizzata = ?. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FePagamento fetchByMezzo_Utilizzata_First( - java.lang.String mezzo, java.lang.String utilizzata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last fe pagamento in the ordered set where mezzo = ? and utilizzata = ?. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FePagamento findByMezzo_Utilizzata_Last( - java.lang.String mezzo, java.lang.String utilizzata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFePagamentoException; - - /** - * Returns the last fe pagamento in the ordered set where mezzo = ? and utilizzata = ?. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FePagamento fetchByMezzo_Utilizzata_Last( - java.lang.String mezzo, java.lang.String utilizzata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe pagamentos before and after the current fe pagamento in the ordered set where mezzo = ? and utilizzata = ?. - * - * @param pagamentoId the primary key of the current fe pagamento - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FePagamento[] findByMezzo_Utilizzata_PrevAndNext( - long pagamentoId, java.lang.String mezzo, java.lang.String utilizzata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFePagamentoException; - - /** - * Removes all the fe pagamentos where mezzo = ? and utilizzata = ? from the database. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @throws SystemException if a system exception occurred - */ - public void removeByMezzo_Utilizzata(java.lang.String mezzo, - java.lang.String utilizzata) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe pagamentos where mezzo = ? and utilizzata = ?. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @return the number of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public int countByMezzo_Utilizzata(java.lang.String mezzo, - java.lang.String utilizzata) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the fe pagamento in the entity cache if it is enabled. - * - * @param fePagamento the fe pagamento - */ - public void cacheResult( - it.tref.liferay.portos.importazione.model.FePagamento fePagamento); - - /** - * Caches the fe pagamentos in the entity cache if it is enabled. - * - * @param fePagamentos the fe pagamentos - */ - public void cacheResult( - java.util.List fePagamentos); - - /** - * Creates a new fe pagamento with the primary key. Does not add the fe pagamento to the database. - * - * @param pagamentoId the primary key for the new fe pagamento - * @return the new fe pagamento - */ - public it.tref.liferay.portos.importazione.model.FePagamento create( - long pagamentoId); - - /** - * Removes the fe pagamento with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param pagamentoId the primary key of the fe pagamento - * @return the fe pagamento that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FePagamento remove( - long pagamentoId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFePagamentoException; - - public it.tref.liferay.portos.importazione.model.FePagamento updateImpl( - it.tref.liferay.portos.importazione.model.FePagamento fePagamento) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe pagamento with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchFePagamentoException} if it could not be found. - * - * @param pagamentoId the primary key of the fe pagamento - * @return the fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FePagamento findByPrimaryKey( - long pagamentoId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFePagamentoException; - - /** - * Returns the fe pagamento with the primary key or returns null if it could not be found. - * - * @param pagamentoId the primary key of the fe pagamento - * @return the fe pagamento, or null if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FePagamento fetchByPrimaryKey( - long pagamentoId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the fe pagamentos. - * - * @return the fe pagamentos - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe pagamentos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of fe pagamentos - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the fe pagamentos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of fe pagamentos - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the fe pagamentos from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe pagamentos. - * - * @return the number of fe pagamentos - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FePagamentoUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FePagamentoUtil.java deleted file mode 100644 index ae1f3b65..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FePagamentoUtil.java +++ /dev/null @@ -1,1056 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.importazione.model.FePagamento; - -import java.util.List; - -/** - * The persistence utility for the fe pagamento service. This utility wraps {@link FePagamentoPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see FePagamentoPersistence - * @see FePagamentoPersistenceImpl - * @generated - */ -public class FePagamentoUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(FePagamento fePagamento) { - getPersistence().clearCache(fePagamento); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static FePagamento update(FePagamento fePagamento) - throws SystemException { - return getPersistence().update(fePagamento); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static FePagamento update(FePagamento fePagamento, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(fePagamento, serviceContext); - } - - /** - * Returns all the fe pagamentos where uuid = ?. - * - * @param uuid the uuid - * @return the matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid); - } - - /** - * Returns a range of all the fe pagamentos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end); - } - - /** - * Returns an ordered range of all the fe pagamentos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end, orderByComparator); - } - - /** - * Returns the first fe pagamento in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FePagamento findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFePagamentoException { - return getPersistence().findByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the first fe pagamento in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FePagamento fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the last fe pagamento in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FePagamento findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFePagamentoException { - return getPersistence().findByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the last fe pagamento in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FePagamento fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the fe pagamentos before and after the current fe pagamento in the ordered set where uuid = ?. - * - * @param pagamentoId the primary key of the current fe pagamento - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FePagamento[] findByUuid_PrevAndNext( - long pagamentoId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFePagamentoException { - return getPersistence() - .findByUuid_PrevAndNext(pagamentoId, uuid, orderByComparator); - } - - /** - * Removes all the fe pagamentos where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid(uuid); - } - - /** - * Returns the number of fe pagamentos where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid(uuid); - } - - /** - * Returns the fe pagamento where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchFePagamentoException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FePagamento findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFePagamentoException { - return getPersistence().findByUUID_G(uuid, groupId); - } - - /** - * Returns the fe pagamento where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FePagamento fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the fe pagamento where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FePagamento fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache); - } - - /** - * Removes the fe pagamento where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the fe pagamento that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FePagamento removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFePagamentoException { - return getPersistence().removeByUUID_G(uuid, groupId); - } - - /** - * Returns the number of fe pagamentos where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUUID_G(uuid, groupId); - } - - /** - * Returns all the fe pagamentos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId); - } - - /** - * Returns a range of all the fe pagamentos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId, start, end); - } - - /** - * Returns an ordered range of all the fe pagamentos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByUuid_C(uuid, companyId, start, end, orderByComparator); - } - - /** - * Returns the first fe pagamento in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FePagamento findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFePagamentoException { - return getPersistence() - .findByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the first fe pagamento in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FePagamento fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the last fe pagamento in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FePagamento findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFePagamentoException { - return getPersistence() - .findByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the last fe pagamento in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FePagamento fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the fe pagamentos before and after the current fe pagamento in the ordered set where uuid = ? and companyId = ?. - * - * @param pagamentoId the primary key of the current fe pagamento - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FePagamento[] findByUuid_C_PrevAndNext( - long pagamentoId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFePagamentoException { - return getPersistence() - .findByUuid_C_PrevAndNext(pagamentoId, uuid, companyId, - orderByComparator); - } - - /** - * Removes all the fe pagamentos where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid_C(uuid, companyId); - } - - /** - * Returns the number of fe pagamentos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid_C(uuid, companyId); - } - - /** - * Returns all the fe pagamentos where dettPraticaId = ? and mezzo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @return the matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPraticaId_Mezzo( - long dettPraticaId, java.lang.String mezzo) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByDettPraticaId_Mezzo(dettPraticaId, mezzo); - } - - /** - * Returns a range of all the fe pagamentos where dettPraticaId = ? and mezzo = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPraticaId_Mezzo( - long dettPraticaId, java.lang.String mezzo, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPraticaId_Mezzo(dettPraticaId, mezzo, start, end); - } - - /** - * Returns an ordered range of all the fe pagamentos where dettPraticaId = ? and mezzo = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPraticaId_Mezzo( - long dettPraticaId, java.lang.String mezzo, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPraticaId_Mezzo(dettPraticaId, mezzo, start, end, - orderByComparator); - } - - /** - * Returns the first fe pagamento in the ordered set where dettPraticaId = ? and mezzo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FePagamento findByDettPraticaId_Mezzo_First( - long dettPraticaId, java.lang.String mezzo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFePagamentoException { - return getPersistence() - .findByDettPraticaId_Mezzo_First(dettPraticaId, mezzo, - orderByComparator); - } - - /** - * Returns the first fe pagamento in the ordered set where dettPraticaId = ? and mezzo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FePagamento fetchByDettPraticaId_Mezzo_First( - long dettPraticaId, java.lang.String mezzo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPraticaId_Mezzo_First(dettPraticaId, mezzo, - orderByComparator); - } - - /** - * Returns the last fe pagamento in the ordered set where dettPraticaId = ? and mezzo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FePagamento findByDettPraticaId_Mezzo_Last( - long dettPraticaId, java.lang.String mezzo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFePagamentoException { - return getPersistence() - .findByDettPraticaId_Mezzo_Last(dettPraticaId, mezzo, - orderByComparator); - } - - /** - * Returns the last fe pagamento in the ordered set where dettPraticaId = ? and mezzo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FePagamento fetchByDettPraticaId_Mezzo_Last( - long dettPraticaId, java.lang.String mezzo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPraticaId_Mezzo_Last(dettPraticaId, mezzo, - orderByComparator); - } - - /** - * Returns the fe pagamentos before and after the current fe pagamento in the ordered set where dettPraticaId = ? and mezzo = ?. - * - * @param pagamentoId the primary key of the current fe pagamento - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FePagamento[] findByDettPraticaId_Mezzo_PrevAndNext( - long pagamentoId, long dettPraticaId, java.lang.String mezzo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFePagamentoException { - return getPersistence() - .findByDettPraticaId_Mezzo_PrevAndNext(pagamentoId, - dettPraticaId, mezzo, orderByComparator); - } - - /** - * Removes all the fe pagamentos where dettPraticaId = ? and mezzo = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @throws SystemException if a system exception occurred - */ - public static void removeByDettPraticaId_Mezzo(long dettPraticaId, - java.lang.String mezzo) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByDettPraticaId_Mezzo(dettPraticaId, mezzo); - } - - /** - * Returns the number of fe pagamentos where dettPraticaId = ? and mezzo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @return the number of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static int countByDettPraticaId_Mezzo(long dettPraticaId, - java.lang.String mezzo) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByDettPraticaId_Mezzo(dettPraticaId, mezzo); - } - - /** - * Returns all the fe pagamentos where mezzo = ? and utilizzata = ?. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @return the matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByMezzo_Utilizzata( - java.lang.String mezzo, java.lang.String utilizzata) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByMezzo_Utilizzata(mezzo, utilizzata); - } - - /** - * Returns a range of all the fe pagamentos where mezzo = ? and utilizzata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByMezzo_Utilizzata( - java.lang.String mezzo, java.lang.String utilizzata, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByMezzo_Utilizzata(mezzo, utilizzata, start, end); - } - - /** - * Returns an ordered range of all the fe pagamentos where mezzo = ? and utilizzata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByMezzo_Utilizzata( - java.lang.String mezzo, java.lang.String utilizzata, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByMezzo_Utilizzata(mezzo, utilizzata, start, end, - orderByComparator); - } - - /** - * Returns the first fe pagamento in the ordered set where mezzo = ? and utilizzata = ?. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FePagamento findByMezzo_Utilizzata_First( - java.lang.String mezzo, java.lang.String utilizzata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFePagamentoException { - return getPersistence() - .findByMezzo_Utilizzata_First(mezzo, utilizzata, - orderByComparator); - } - - /** - * Returns the first fe pagamento in the ordered set where mezzo = ? and utilizzata = ?. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FePagamento fetchByMezzo_Utilizzata_First( - java.lang.String mezzo, java.lang.String utilizzata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByMezzo_Utilizzata_First(mezzo, utilizzata, - orderByComparator); - } - - /** - * Returns the last fe pagamento in the ordered set where mezzo = ? and utilizzata = ?. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FePagamento findByMezzo_Utilizzata_Last( - java.lang.String mezzo, java.lang.String utilizzata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFePagamentoException { - return getPersistence() - .findByMezzo_Utilizzata_Last(mezzo, utilizzata, - orderByComparator); - } - - /** - * Returns the last fe pagamento in the ordered set where mezzo = ? and utilizzata = ?. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FePagamento fetchByMezzo_Utilizzata_Last( - java.lang.String mezzo, java.lang.String utilizzata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByMezzo_Utilizzata_Last(mezzo, utilizzata, - orderByComparator); - } - - /** - * Returns the fe pagamentos before and after the current fe pagamento in the ordered set where mezzo = ? and utilizzata = ?. - * - * @param pagamentoId the primary key of the current fe pagamento - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FePagamento[] findByMezzo_Utilizzata_PrevAndNext( - long pagamentoId, java.lang.String mezzo, java.lang.String utilizzata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFePagamentoException { - return getPersistence() - .findByMezzo_Utilizzata_PrevAndNext(pagamentoId, mezzo, - utilizzata, orderByComparator); - } - - /** - * Removes all the fe pagamentos where mezzo = ? and utilizzata = ? from the database. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @throws SystemException if a system exception occurred - */ - public static void removeByMezzo_Utilizzata(java.lang.String mezzo, - java.lang.String utilizzata) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByMezzo_Utilizzata(mezzo, utilizzata); - } - - /** - * Returns the number of fe pagamentos where mezzo = ? and utilizzata = ?. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @return the number of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static int countByMezzo_Utilizzata(java.lang.String mezzo, - java.lang.String utilizzata) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByMezzo_Utilizzata(mezzo, utilizzata); - } - - /** - * Caches the fe pagamento in the entity cache if it is enabled. - * - * @param fePagamento the fe pagamento - */ - public static void cacheResult( - it.tref.liferay.portos.importazione.model.FePagamento fePagamento) { - getPersistence().cacheResult(fePagamento); - } - - /** - * Caches the fe pagamentos in the entity cache if it is enabled. - * - * @param fePagamentos the fe pagamentos - */ - public static void cacheResult( - java.util.List fePagamentos) { - getPersistence().cacheResult(fePagamentos); - } - - /** - * Creates a new fe pagamento with the primary key. Does not add the fe pagamento to the database. - * - * @param pagamentoId the primary key for the new fe pagamento - * @return the new fe pagamento - */ - public static it.tref.liferay.portos.importazione.model.FePagamento create( - long pagamentoId) { - return getPersistence().create(pagamentoId); - } - - /** - * Removes the fe pagamento with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param pagamentoId the primary key of the fe pagamento - * @return the fe pagamento that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FePagamento remove( - long pagamentoId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFePagamentoException { - return getPersistence().remove(pagamentoId); - } - - public static it.tref.liferay.portos.importazione.model.FePagamento updateImpl( - it.tref.liferay.portos.importazione.model.FePagamento fePagamento) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(fePagamento); - } - - /** - * Returns the fe pagamento with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchFePagamentoException} if it could not be found. - * - * @param pagamentoId the primary key of the fe pagamento - * @return the fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FePagamento findByPrimaryKey( - long pagamentoId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFePagamentoException { - return getPersistence().findByPrimaryKey(pagamentoId); - } - - /** - * Returns the fe pagamento with the primary key or returns null if it could not be found. - * - * @param pagamentoId the primary key of the fe pagamento - * @return the fe pagamento, or null if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FePagamento fetchByPrimaryKey( - long pagamentoId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(pagamentoId); - } - - /** - * Returns all the fe pagamentos. - * - * @return the fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the fe pagamentos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the fe pagamentos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the fe pagamentos from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of fe pagamentos. - * - * @return the number of fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static FePagamentoPersistence getPersistence() { - if (_persistence == null) { - _persistence = (FePagamentoPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - FePagamentoPersistence.class.getName()); - - ReferenceRegistry.registerReference(FePagamentoUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(FePagamentoPersistence persistence) { - } - - private static FePagamentoPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeProvinciaActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeProvinciaActionableDynamicQuery.java deleted file mode 100644 index 7a9724ee..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeProvinciaActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.FeProvincia; -import it.tref.liferay.portos.importazione.service.FeProvinciaLocalServiceUtil; - -/** - * @author 3FC - * @generated - */ -public abstract class FeProvinciaActionableDynamicQuery - extends BaseActionableDynamicQuery { - public FeProvinciaActionableDynamicQuery() throws SystemException { - setBaseLocalService(FeProvinciaLocalServiceUtil.getService()); - setClass(FeProvincia.class); - - setClassLoader(it.tref.liferay.portos.importazione.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("provinciaId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeProvinciaPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeProvinciaPersistence.java deleted file mode 100644 index dc0c2cca..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeProvinciaPersistence.java +++ /dev/null @@ -1,165 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.importazione.model.FeProvincia; - -/** - * The persistence interface for the fe provincia service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see FeProvinciaPersistenceImpl - * @see FeProvinciaUtil - * @generated - */ -public interface FeProvinciaPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link FeProvinciaUtil} to access the fe provincia persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Caches the fe provincia in the entity cache if it is enabled. - * - * @param feProvincia the fe provincia - */ - public void cacheResult( - it.tref.liferay.portos.importazione.model.FeProvincia feProvincia); - - /** - * Caches the fe provincias in the entity cache if it is enabled. - * - * @param feProvincias the fe provincias - */ - public void cacheResult( - java.util.List feProvincias); - - /** - * Creates a new fe provincia with the primary key. Does not add the fe provincia to the database. - * - * @param provinciaId the primary key for the new fe provincia - * @return the new fe provincia - */ - public it.tref.liferay.portos.importazione.model.FeProvincia create( - long provinciaId); - - /** - * Removes the fe provincia with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param provinciaId the primary key of the fe provincia - * @return the fe provincia that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchFeProvinciaException if a fe provincia with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeProvincia remove( - long provinciaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeProvinciaException; - - public it.tref.liferay.portos.importazione.model.FeProvincia updateImpl( - it.tref.liferay.portos.importazione.model.FeProvincia feProvincia) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe provincia with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchFeProvinciaException} if it could not be found. - * - * @param provinciaId the primary key of the fe provincia - * @return the fe provincia - * @throws it.tref.liferay.portos.importazione.NoSuchFeProvinciaException if a fe provincia with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeProvincia findByPrimaryKey( - long provinciaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeProvinciaException; - - /** - * Returns the fe provincia with the primary key or returns null if it could not be found. - * - * @param provinciaId the primary key of the fe provincia - * @return the fe provincia, or null if a fe provincia with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeProvincia fetchByPrimaryKey( - long provinciaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the fe provincias. - * - * @return the fe provincias - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe provincias. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeProvinciaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe provincias - * @param end the upper bound of the range of fe provincias (not inclusive) - * @return the range of fe provincias - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the fe provincias. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeProvinciaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe provincias - * @param end the upper bound of the range of fe provincias (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of fe provincias - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the fe provincias from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe provincias. - * - * @return the number of fe provincias - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeProvinciaUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeProvinciaUtil.java deleted file mode 100644 index 4874e06e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeProvinciaUtil.java +++ /dev/null @@ -1,282 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.importazione.model.FeProvincia; - -import java.util.List; - -/** - * The persistence utility for the fe provincia service. This utility wraps {@link FeProvinciaPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see FeProvinciaPersistence - * @see FeProvinciaPersistenceImpl - * @generated - */ -public class FeProvinciaUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(FeProvincia feProvincia) { - getPersistence().clearCache(feProvincia); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static FeProvincia update(FeProvincia feProvincia) - throws SystemException { - return getPersistence().update(feProvincia); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static FeProvincia update(FeProvincia feProvincia, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(feProvincia, serviceContext); - } - - /** - * Caches the fe provincia in the entity cache if it is enabled. - * - * @param feProvincia the fe provincia - */ - public static void cacheResult( - it.tref.liferay.portos.importazione.model.FeProvincia feProvincia) { - getPersistence().cacheResult(feProvincia); - } - - /** - * Caches the fe provincias in the entity cache if it is enabled. - * - * @param feProvincias the fe provincias - */ - public static void cacheResult( - java.util.List feProvincias) { - getPersistence().cacheResult(feProvincias); - } - - /** - * Creates a new fe provincia with the primary key. Does not add the fe provincia to the database. - * - * @param provinciaId the primary key for the new fe provincia - * @return the new fe provincia - */ - public static it.tref.liferay.portos.importazione.model.FeProvincia create( - long provinciaId) { - return getPersistence().create(provinciaId); - } - - /** - * Removes the fe provincia with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param provinciaId the primary key of the fe provincia - * @return the fe provincia that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchFeProvinciaException if a fe provincia with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeProvincia remove( - long provinciaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeProvinciaException { - return getPersistence().remove(provinciaId); - } - - public static it.tref.liferay.portos.importazione.model.FeProvincia updateImpl( - it.tref.liferay.portos.importazione.model.FeProvincia feProvincia) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(feProvincia); - } - - /** - * Returns the fe provincia with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchFeProvinciaException} if it could not be found. - * - * @param provinciaId the primary key of the fe provincia - * @return the fe provincia - * @throws it.tref.liferay.portos.importazione.NoSuchFeProvinciaException if a fe provincia with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeProvincia findByPrimaryKey( - long provinciaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeProvinciaException { - return getPersistence().findByPrimaryKey(provinciaId); - } - - /** - * Returns the fe provincia with the primary key or returns null if it could not be found. - * - * @param provinciaId the primary key of the fe provincia - * @return the fe provincia, or null if a fe provincia with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeProvincia fetchByPrimaryKey( - long provinciaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(provinciaId); - } - - /** - * Returns all the fe provincias. - * - * @return the fe provincias - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the fe provincias. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeProvinciaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe provincias - * @param end the upper bound of the range of fe provincias (not inclusive) - * @return the range of fe provincias - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the fe provincias. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeProvinciaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe provincias - * @param end the upper bound of the range of fe provincias (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of fe provincias - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the fe provincias from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of fe provincias. - * - * @return the number of fe provincias - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static FeProvinciaPersistence getPersistence() { - if (_persistence == null) { - _persistence = (FeProvinciaPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - FeProvinciaPersistence.class.getName()); - - ReferenceRegistry.registerReference(FeProvinciaUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(FeProvinciaPersistence persistence) { - } - - private static FeProvinciaPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeTerritorioActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeTerritorioActionableDynamicQuery.java deleted file mode 100644 index 706d81ab..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeTerritorioActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.FeTerritorio; -import it.tref.liferay.portos.importazione.service.FeTerritorioLocalServiceUtil; - -/** - * @author 3FC - * @generated - */ -public abstract class FeTerritorioActionableDynamicQuery - extends BaseActionableDynamicQuery { - public FeTerritorioActionableDynamicQuery() throws SystemException { - setBaseLocalService(FeTerritorioLocalServiceUtil.getService()); - setClass(FeTerritorio.class); - - setClassLoader(it.tref.liferay.portos.importazione.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("territorioId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeTerritorioPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeTerritorioPersistence.java deleted file mode 100644 index e4890b05..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeTerritorioPersistence.java +++ /dev/null @@ -1,811 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.importazione.model.FeTerritorio; - -/** - * The persistence interface for the fe territorio service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see FeTerritorioPersistenceImpl - * @see FeTerritorioUtil - * @generated - */ -public interface FeTerritorioPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link FeTerritorioUtil} to access the fe territorio persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns all the fe territorios where comuneId = ?. - * - * @param comuneId the comune ID - * @return the matching fe territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByComuneId( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe territorios where comuneId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param comuneId the comune ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByComuneId( - long comuneId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the fe territorios where comuneId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param comuneId the comune ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByComuneId( - long comuneId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first fe territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeTerritorio findByComuneId_First( - long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeTerritorioException; - - /** - * Returns the first fe territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeTerritorio fetchByComuneId_First( - long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last fe territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeTerritorio findByComuneId_Last( - long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeTerritorioException; - - /** - * Returns the last fe territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeTerritorio fetchByComuneId_Last( - long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe territorios before and after the current fe territorio in the ordered set where comuneId = ?. - * - * @param territorioId the primary key of the current fe territorio - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeTerritorio[] findByComuneId_PrevAndNext( - long territorioId, long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeTerritorioException; - - /** - * Removes all the fe territorios where comuneId = ? from the database. - * - * @param comuneId the comune ID - * @throws SystemException if a system exception occurred - */ - public void removeByComuneId(long comuneId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe territorios where comuneId = ?. - * - * @param comuneId the comune ID - * @return the number of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public int countByComuneId(long comuneId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the fe territorios where zonaId = ?. - * - * @param zonaId the zona ID - * @return the matching fe territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByZonaId( - long zonaId) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe territorios where zonaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param zonaId the zona ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByZonaId( - long zonaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the fe territorios where zonaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param zonaId the zona ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByZonaId( - long zonaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first fe territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeTerritorio findByZonaId_First( - long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeTerritorioException; - - /** - * Returns the first fe territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeTerritorio fetchByZonaId_First( - long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last fe territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeTerritorio findByZonaId_Last( - long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeTerritorioException; - - /** - * Returns the last fe territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeTerritorio fetchByZonaId_Last( - long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe territorios before and after the current fe territorio in the ordered set where zonaId = ?. - * - * @param territorioId the primary key of the current fe territorio - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeTerritorio[] findByZonaId_PrevAndNext( - long territorioId, long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeTerritorioException; - - /** - * Removes all the fe territorios where zonaId = ? from the database. - * - * @param zonaId the zona ID - * @throws SystemException if a system exception occurred - */ - public void removeByZonaId(long zonaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe territorios where zonaId = ?. - * - * @param zonaId the zona ID - * @return the number of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public int countByZonaId(long zonaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the fe territorios where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @return the matching fe territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByFasciaId( - long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe territorios where fasciaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param fasciaId the fascia ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByFasciaId( - long fasciaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the fe territorios where fasciaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param fasciaId the fascia ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByFasciaId( - long fasciaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first fe territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeTerritorio findByFasciaId_First( - long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeTerritorioException; - - /** - * Returns the first fe territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeTerritorio fetchByFasciaId_First( - long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last fe territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeTerritorio findByFasciaId_Last( - long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeTerritorioException; - - /** - * Returns the last fe territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeTerritorio fetchByFasciaId_Last( - long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe territorios before and after the current fe territorio in the ordered set where fasciaId = ?. - * - * @param territorioId the primary key of the current fe territorio - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeTerritorio[] findByFasciaId_PrevAndNext( - long territorioId, long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeTerritorioException; - - /** - * Removes all the fe territorios where fasciaId = ? from the database. - * - * @param fasciaId the fascia ID - * @throws SystemException if a system exception occurred - */ - public void removeByFasciaId(long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe territorios where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @return the number of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public int countByFasciaId(long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchFeTerritorioException} if it could not be found. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the matching fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeTerritorio findByC_Z_F_D( - long comuneId, long zonaId, long fasciaId, java.util.Date dtIni) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeTerritorioException; - - /** - * Returns the fe territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? or returns null if it could not be found. Uses the finder cache. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeTerritorio fetchByC_Z_F_D( - long comuneId, long zonaId, long fasciaId, java.util.Date dtIni) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeTerritorio fetchByC_Z_F_D( - long comuneId, long zonaId, long fasciaId, java.util.Date dtIni, - boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the fe territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? from the database. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the fe territorio that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeTerritorio removeByC_Z_F_D( - long comuneId, long zonaId, long fasciaId, java.util.Date dtIni) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeTerritorioException; - - /** - * Returns the number of fe territorios where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the number of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public int countByC_Z_F_D(long comuneId, long zonaId, long fasciaId, - java.util.Date dtIni) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the fe territorios where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @return the matching fe territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Z_F( - long comuneId, long zonaId, long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe territorios where comuneId = ? and zonaId = ? and fasciaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Z_F( - long comuneId, long zonaId, long fasciaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the fe territorios where comuneId = ? and zonaId = ? and fasciaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Z_F( - long comuneId, long zonaId, long fasciaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first fe territorio in the ordered set where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeTerritorio findByC_Z_F_First( - long comuneId, long zonaId, long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeTerritorioException; - - /** - * Returns the first fe territorio in the ordered set where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeTerritorio fetchByC_Z_F_First( - long comuneId, long zonaId, long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last fe territorio in the ordered set where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeTerritorio findByC_Z_F_Last( - long comuneId, long zonaId, long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeTerritorioException; - - /** - * Returns the last fe territorio in the ordered set where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeTerritorio fetchByC_Z_F_Last( - long comuneId, long zonaId, long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe territorios before and after the current fe territorio in the ordered set where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param territorioId the primary key of the current fe territorio - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeTerritorio[] findByC_Z_F_PrevAndNext( - long territorioId, long comuneId, long zonaId, long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeTerritorioException; - - /** - * Removes all the fe territorios where comuneId = ? and zonaId = ? and fasciaId = ? from the database. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @throws SystemException if a system exception occurred - */ - public void removeByC_Z_F(long comuneId, long zonaId, long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe territorios where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @return the number of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public int countByC_Z_F(long comuneId, long zonaId, long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the fe territorio in the entity cache if it is enabled. - * - * @param feTerritorio the fe territorio - */ - public void cacheResult( - it.tref.liferay.portos.importazione.model.FeTerritorio feTerritorio); - - /** - * Caches the fe territorios in the entity cache if it is enabled. - * - * @param feTerritorios the fe territorios - */ - public void cacheResult( - java.util.List feTerritorios); - - /** - * Creates a new fe territorio with the primary key. Does not add the fe territorio to the database. - * - * @param territorioId the primary key for the new fe territorio - * @return the new fe territorio - */ - public it.tref.liferay.portos.importazione.model.FeTerritorio create( - long territorioId); - - /** - * Removes the fe territorio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param territorioId the primary key of the fe territorio - * @return the fe territorio that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeTerritorio remove( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeTerritorioException; - - public it.tref.liferay.portos.importazione.model.FeTerritorio updateImpl( - it.tref.liferay.portos.importazione.model.FeTerritorio feTerritorio) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe territorio with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchFeTerritorioException} if it could not be found. - * - * @param territorioId the primary key of the fe territorio - * @return the fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeTerritorio findByPrimaryKey( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeTerritorioException; - - /** - * Returns the fe territorio with the primary key or returns null if it could not be found. - * - * @param territorioId the primary key of the fe territorio - * @return the fe territorio, or null if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.FeTerritorio fetchByPrimaryKey( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the fe territorios. - * - * @return the fe territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of fe territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the fe territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of fe territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the fe territorios from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe territorios. - * - * @return the number of fe territorios - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeTerritorioUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeTerritorioUtil.java deleted file mode 100644 index 7d6c982b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/FeTerritorioUtil.java +++ /dev/null @@ -1,1045 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.importazione.model.FeTerritorio; - -import java.util.List; - -/** - * The persistence utility for the fe territorio service. This utility wraps {@link FeTerritorioPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see FeTerritorioPersistence - * @see FeTerritorioPersistenceImpl - * @generated - */ -public class FeTerritorioUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(FeTerritorio feTerritorio) { - getPersistence().clearCache(feTerritorio); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static FeTerritorio update(FeTerritorio feTerritorio) - throws SystemException { - return getPersistence().update(feTerritorio); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static FeTerritorio update(FeTerritorio feTerritorio, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(feTerritorio, serviceContext); - } - - /** - * Returns all the fe territorios where comuneId = ?. - * - * @param comuneId the comune ID - * @return the matching fe territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByComuneId( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByComuneId(comuneId); - } - - /** - * Returns a range of all the fe territorios where comuneId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param comuneId the comune ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByComuneId( - long comuneId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByComuneId(comuneId, start, end); - } - - /** - * Returns an ordered range of all the fe territorios where comuneId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param comuneId the comune ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByComuneId( - long comuneId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByComuneId(comuneId, start, end, orderByComparator); - } - - /** - * Returns the first fe territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeTerritorio findByComuneId_First( - long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeTerritorioException { - return getPersistence().findByComuneId_First(comuneId, orderByComparator); - } - - /** - * Returns the first fe territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeTerritorio fetchByComuneId_First( - long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByComuneId_First(comuneId, orderByComparator); - } - - /** - * Returns the last fe territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeTerritorio findByComuneId_Last( - long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeTerritorioException { - return getPersistence().findByComuneId_Last(comuneId, orderByComparator); - } - - /** - * Returns the last fe territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeTerritorio fetchByComuneId_Last( - long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByComuneId_Last(comuneId, orderByComparator); - } - - /** - * Returns the fe territorios before and after the current fe territorio in the ordered set where comuneId = ?. - * - * @param territorioId the primary key of the current fe territorio - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeTerritorio[] findByComuneId_PrevAndNext( - long territorioId, long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeTerritorioException { - return getPersistence() - .findByComuneId_PrevAndNext(territorioId, comuneId, - orderByComparator); - } - - /** - * Removes all the fe territorios where comuneId = ? from the database. - * - * @param comuneId the comune ID - * @throws SystemException if a system exception occurred - */ - public static void removeByComuneId(long comuneId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByComuneId(comuneId); - } - - /** - * Returns the number of fe territorios where comuneId = ?. - * - * @param comuneId the comune ID - * @return the number of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public static int countByComuneId(long comuneId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByComuneId(comuneId); - } - - /** - * Returns all the fe territorios where zonaId = ?. - * - * @param zonaId the zona ID - * @return the matching fe territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByZonaId( - long zonaId) throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByZonaId(zonaId); - } - - /** - * Returns a range of all the fe territorios where zonaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param zonaId the zona ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByZonaId( - long zonaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByZonaId(zonaId, start, end); - } - - /** - * Returns an ordered range of all the fe territorios where zonaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param zonaId the zona ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByZonaId( - long zonaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByZonaId(zonaId, start, end, orderByComparator); - } - - /** - * Returns the first fe territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeTerritorio findByZonaId_First( - long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeTerritorioException { - return getPersistence().findByZonaId_First(zonaId, orderByComparator); - } - - /** - * Returns the first fe territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeTerritorio fetchByZonaId_First( - long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByZonaId_First(zonaId, orderByComparator); - } - - /** - * Returns the last fe territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeTerritorio findByZonaId_Last( - long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeTerritorioException { - return getPersistence().findByZonaId_Last(zonaId, orderByComparator); - } - - /** - * Returns the last fe territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeTerritorio fetchByZonaId_Last( - long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByZonaId_Last(zonaId, orderByComparator); - } - - /** - * Returns the fe territorios before and after the current fe territorio in the ordered set where zonaId = ?. - * - * @param territorioId the primary key of the current fe territorio - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeTerritorio[] findByZonaId_PrevAndNext( - long territorioId, long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeTerritorioException { - return getPersistence() - .findByZonaId_PrevAndNext(territorioId, zonaId, - orderByComparator); - } - - /** - * Removes all the fe territorios where zonaId = ? from the database. - * - * @param zonaId the zona ID - * @throws SystemException if a system exception occurred - */ - public static void removeByZonaId(long zonaId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByZonaId(zonaId); - } - - /** - * Returns the number of fe territorios where zonaId = ?. - * - * @param zonaId the zona ID - * @return the number of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public static int countByZonaId(long zonaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByZonaId(zonaId); - } - - /** - * Returns all the fe territorios where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @return the matching fe territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByFasciaId( - long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByFasciaId(fasciaId); - } - - /** - * Returns a range of all the fe territorios where fasciaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param fasciaId the fascia ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByFasciaId( - long fasciaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByFasciaId(fasciaId, start, end); - } - - /** - * Returns an ordered range of all the fe territorios where fasciaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param fasciaId the fascia ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByFasciaId( - long fasciaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByFasciaId(fasciaId, start, end, orderByComparator); - } - - /** - * Returns the first fe territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeTerritorio findByFasciaId_First( - long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeTerritorioException { - return getPersistence().findByFasciaId_First(fasciaId, orderByComparator); - } - - /** - * Returns the first fe territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeTerritorio fetchByFasciaId_First( - long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByFasciaId_First(fasciaId, orderByComparator); - } - - /** - * Returns the last fe territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeTerritorio findByFasciaId_Last( - long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeTerritorioException { - return getPersistence().findByFasciaId_Last(fasciaId, orderByComparator); - } - - /** - * Returns the last fe territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeTerritorio fetchByFasciaId_Last( - long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByFasciaId_Last(fasciaId, orderByComparator); - } - - /** - * Returns the fe territorios before and after the current fe territorio in the ordered set where fasciaId = ?. - * - * @param territorioId the primary key of the current fe territorio - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeTerritorio[] findByFasciaId_PrevAndNext( - long territorioId, long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeTerritorioException { - return getPersistence() - .findByFasciaId_PrevAndNext(territorioId, fasciaId, - orderByComparator); - } - - /** - * Removes all the fe territorios where fasciaId = ? from the database. - * - * @param fasciaId the fascia ID - * @throws SystemException if a system exception occurred - */ - public static void removeByFasciaId(long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByFasciaId(fasciaId); - } - - /** - * Returns the number of fe territorios where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @return the number of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public static int countByFasciaId(long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByFasciaId(fasciaId); - } - - /** - * Returns the fe territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchFeTerritorioException} if it could not be found. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the matching fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeTerritorio findByC_Z_F_D( - long comuneId, long zonaId, long fasciaId, java.util.Date dtIni) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeTerritorioException { - return getPersistence().findByC_Z_F_D(comuneId, zonaId, fasciaId, dtIni); - } - - /** - * Returns the fe territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? or returns null if it could not be found. Uses the finder cache. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeTerritorio fetchByC_Z_F_D( - long comuneId, long zonaId, long fasciaId, java.util.Date dtIni) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByC_Z_F_D(comuneId, zonaId, fasciaId, dtIni); - } - - /** - * Returns the fe territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeTerritorio fetchByC_Z_F_D( - long comuneId, long zonaId, long fasciaId, java.util.Date dtIni, - boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Z_F_D(comuneId, zonaId, fasciaId, dtIni, - retrieveFromCache); - } - - /** - * Removes the fe territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? from the database. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the fe territorio that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeTerritorio removeByC_Z_F_D( - long comuneId, long zonaId, long fasciaId, java.util.Date dtIni) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeTerritorioException { - return getPersistence() - .removeByC_Z_F_D(comuneId, zonaId, fasciaId, dtIni); - } - - /** - * Returns the number of fe territorios where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the number of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public static int countByC_Z_F_D(long comuneId, long zonaId, long fasciaId, - java.util.Date dtIni) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByC_Z_F_D(comuneId, zonaId, fasciaId, dtIni); - } - - /** - * Returns all the fe territorios where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @return the matching fe territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Z_F( - long comuneId, long zonaId, long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByC_Z_F(comuneId, zonaId, fasciaId); - } - - /** - * Returns a range of all the fe territorios where comuneId = ? and zonaId = ? and fasciaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Z_F( - long comuneId, long zonaId, long fasciaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Z_F(comuneId, zonaId, fasciaId, start, end); - } - - /** - * Returns an ordered range of all the fe territorios where comuneId = ? and zonaId = ? and fasciaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Z_F( - long comuneId, long zonaId, long fasciaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Z_F(comuneId, zonaId, fasciaId, start, end, - orderByComparator); - } - - /** - * Returns the first fe territorio in the ordered set where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeTerritorio findByC_Z_F_First( - long comuneId, long zonaId, long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeTerritorioException { - return getPersistence() - .findByC_Z_F_First(comuneId, zonaId, fasciaId, - orderByComparator); - } - - /** - * Returns the first fe territorio in the ordered set where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeTerritorio fetchByC_Z_F_First( - long comuneId, long zonaId, long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Z_F_First(comuneId, zonaId, fasciaId, - orderByComparator); - } - - /** - * Returns the last fe territorio in the ordered set where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeTerritorio findByC_Z_F_Last( - long comuneId, long zonaId, long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeTerritorioException { - return getPersistence() - .findByC_Z_F_Last(comuneId, zonaId, fasciaId, - orderByComparator); - } - - /** - * Returns the last fe territorio in the ordered set where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeTerritorio fetchByC_Z_F_Last( - long comuneId, long zonaId, long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Z_F_Last(comuneId, zonaId, fasciaId, - orderByComparator); - } - - /** - * Returns the fe territorios before and after the current fe territorio in the ordered set where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param territorioId the primary key of the current fe territorio - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeTerritorio[] findByC_Z_F_PrevAndNext( - long territorioId, long comuneId, long zonaId, long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeTerritorioException { - return getPersistence() - .findByC_Z_F_PrevAndNext(territorioId, comuneId, zonaId, - fasciaId, orderByComparator); - } - - /** - * Removes all the fe territorios where comuneId = ? and zonaId = ? and fasciaId = ? from the database. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @throws SystemException if a system exception occurred - */ - public static void removeByC_Z_F(long comuneId, long zonaId, long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByC_Z_F(comuneId, zonaId, fasciaId); - } - - /** - * Returns the number of fe territorios where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @return the number of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public static int countByC_Z_F(long comuneId, long zonaId, long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByC_Z_F(comuneId, zonaId, fasciaId); - } - - /** - * Caches the fe territorio in the entity cache if it is enabled. - * - * @param feTerritorio the fe territorio - */ - public static void cacheResult( - it.tref.liferay.portos.importazione.model.FeTerritorio feTerritorio) { - getPersistence().cacheResult(feTerritorio); - } - - /** - * Caches the fe territorios in the entity cache if it is enabled. - * - * @param feTerritorios the fe territorios - */ - public static void cacheResult( - java.util.List feTerritorios) { - getPersistence().cacheResult(feTerritorios); - } - - /** - * Creates a new fe territorio with the primary key. Does not add the fe territorio to the database. - * - * @param territorioId the primary key for the new fe territorio - * @return the new fe territorio - */ - public static it.tref.liferay.portos.importazione.model.FeTerritorio create( - long territorioId) { - return getPersistence().create(territorioId); - } - - /** - * Removes the fe territorio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param territorioId the primary key of the fe territorio - * @return the fe territorio that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeTerritorio remove( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeTerritorioException { - return getPersistence().remove(territorioId); - } - - public static it.tref.liferay.portos.importazione.model.FeTerritorio updateImpl( - it.tref.liferay.portos.importazione.model.FeTerritorio feTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(feTerritorio); - } - - /** - * Returns the fe territorio with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchFeTerritorioException} if it could not be found. - * - * @param territorioId the primary key of the fe territorio - * @return the fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeTerritorio findByPrimaryKey( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchFeTerritorioException { - return getPersistence().findByPrimaryKey(territorioId); - } - - /** - * Returns the fe territorio with the primary key or returns null if it could not be found. - * - * @param territorioId the primary key of the fe territorio - * @return the fe territorio, or null if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.FeTerritorio fetchByPrimaryKey( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(territorioId); - } - - /** - * Returns all the fe territorios. - * - * @return the fe territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the fe territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of fe territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the fe territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of fe territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the fe territorios from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of fe territorios. - * - * @return the number of fe territorios - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static FeTerritorioPersistence getPersistence() { - if (_persistence == null) { - _persistence = (FeTerritorioPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - FeTerritorioPersistence.class.getName()); - - ReferenceRegistry.registerReference(FeTerritorioUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(FeTerritorioPersistence persistence) { - } - - private static FeTerritorioPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoInstanceActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoInstanceActionableDynamicQuery.java deleted file mode 100644 index e9b55eef..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoInstanceActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.KaleoInstance; -import it.tref.liferay.portos.importazione.service.KaleoInstanceLocalServiceUtil; - -/** - * @author 3FC - * @generated - */ -public abstract class KaleoInstanceActionableDynamicQuery - extends BaseActionableDynamicQuery { - public KaleoInstanceActionableDynamicQuery() throws SystemException { - setBaseLocalService(KaleoInstanceLocalServiceUtil.getService()); - setClass(KaleoInstance.class); - - setClassLoader(it.tref.liferay.portos.importazione.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("kaleoInstanceId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoInstancePersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoInstancePersistence.java deleted file mode 100644 index e4bd4b59..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoInstancePersistence.java +++ /dev/null @@ -1,223 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.importazione.model.KaleoInstance; - -/** - * The persistence interface for the kaleo instance service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see KaleoInstancePersistenceImpl - * @see KaleoInstanceUtil - * @generated - */ -public interface KaleoInstancePersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link KaleoInstanceUtil} to access the kaleo instance persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns the kaleo instance where classPK = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchKaleoInstanceException} if it could not be found. - * - * @param classPK the class p k - * @return the matching kaleo instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoInstanceException if a matching kaleo instance could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoInstance findByClassPK( - long classPK) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoInstanceException; - - /** - * Returns the kaleo instance where classPK = ? or returns null if it could not be found. Uses the finder cache. - * - * @param classPK the class p k - * @return the matching kaleo instance, or null if a matching kaleo instance could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoInstance fetchByClassPK( - long classPK) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the kaleo instance where classPK = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param classPK the class p k - * @param retrieveFromCache whether to use the finder cache - * @return the matching kaleo instance, or null if a matching kaleo instance could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoInstance fetchByClassPK( - long classPK, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the kaleo instance where classPK = ? from the database. - * - * @param classPK the class p k - * @return the kaleo instance that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoInstance removeByClassPK( - long classPK) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoInstanceException; - - /** - * Returns the number of kaleo instances where classPK = ?. - * - * @param classPK the class p k - * @return the number of matching kaleo instances - * @throws SystemException if a system exception occurred - */ - public int countByClassPK(long classPK) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the kaleo instance in the entity cache if it is enabled. - * - * @param kaleoInstance the kaleo instance - */ - public void cacheResult( - it.tref.liferay.portos.importazione.model.KaleoInstance kaleoInstance); - - /** - * Caches the kaleo instances in the entity cache if it is enabled. - * - * @param kaleoInstances the kaleo instances - */ - public void cacheResult( - java.util.List kaleoInstances); - - /** - * Creates a new kaleo instance with the primary key. Does not add the kaleo instance to the database. - * - * @param kaleoInstanceId the primary key for the new kaleo instance - * @return the new kaleo instance - */ - public it.tref.liferay.portos.importazione.model.KaleoInstance create( - long kaleoInstanceId); - - /** - * Removes the kaleo instance with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoInstanceId the primary key of the kaleo instance - * @return the kaleo instance that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoInstanceException if a kaleo instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoInstance remove( - long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoInstanceException; - - public it.tref.liferay.portos.importazione.model.KaleoInstance updateImpl( - it.tref.liferay.portos.importazione.model.KaleoInstance kaleoInstance) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the kaleo instance with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchKaleoInstanceException} if it could not be found. - * - * @param kaleoInstanceId the primary key of the kaleo instance - * @return the kaleo instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoInstanceException if a kaleo instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoInstance findByPrimaryKey( - long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoInstanceException; - - /** - * Returns the kaleo instance with the primary key or returns null if it could not be found. - * - * @param kaleoInstanceId the primary key of the kaleo instance - * @return the kaleo instance, or null if a kaleo instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoInstance fetchByPrimaryKey( - long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the kaleo instances. - * - * @return the kaleo instances - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the kaleo instances. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo instances - * @param end the upper bound of the range of kaleo instances (not inclusive) - * @return the range of kaleo instances - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the kaleo instances. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo instances - * @param end the upper bound of the range of kaleo instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of kaleo instances - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the kaleo instances from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of kaleo instances. - * - * @return the number of kaleo instances - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoInstanceTokenActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoInstanceTokenActionableDynamicQuery.java deleted file mode 100644 index f953920f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoInstanceTokenActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.KaleoInstanceToken; -import it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalServiceUtil; - -/** - * @author 3FC - * @generated - */ -public abstract class KaleoInstanceTokenActionableDynamicQuery - extends BaseActionableDynamicQuery { - public KaleoInstanceTokenActionableDynamicQuery() throws SystemException { - setBaseLocalService(KaleoInstanceTokenLocalServiceUtil.getService()); - setClass(KaleoInstanceToken.class); - - setClassLoader(it.tref.liferay.portos.importazione.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("kaleoInstanceTokenId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoInstanceTokenPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoInstanceTokenPersistence.java deleted file mode 100644 index d008e042..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoInstanceTokenPersistence.java +++ /dev/null @@ -1,223 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.importazione.model.KaleoInstanceToken; - -/** - * The persistence interface for the kaleo instance token service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see KaleoInstanceTokenPersistenceImpl - * @see KaleoInstanceTokenUtil - * @generated - */ -public interface KaleoInstanceTokenPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link KaleoInstanceTokenUtil} to access the kaleo instance token persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns the kaleo instance token where classPK = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchKaleoInstanceTokenException} if it could not be found. - * - * @param classPK the class p k - * @return the matching kaleo instance token - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoInstanceTokenException if a matching kaleo instance token could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoInstanceToken findByClassPK( - long classPK) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoInstanceTokenException; - - /** - * Returns the kaleo instance token where classPK = ? or returns null if it could not be found. Uses the finder cache. - * - * @param classPK the class p k - * @return the matching kaleo instance token, or null if a matching kaleo instance token could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoInstanceToken fetchByClassPK( - long classPK) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the kaleo instance token where classPK = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param classPK the class p k - * @param retrieveFromCache whether to use the finder cache - * @return the matching kaleo instance token, or null if a matching kaleo instance token could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoInstanceToken fetchByClassPK( - long classPK, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the kaleo instance token where classPK = ? from the database. - * - * @param classPK the class p k - * @return the kaleo instance token that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoInstanceToken removeByClassPK( - long classPK) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoInstanceTokenException; - - /** - * Returns the number of kaleo instance tokens where classPK = ?. - * - * @param classPK the class p k - * @return the number of matching kaleo instance tokens - * @throws SystemException if a system exception occurred - */ - public int countByClassPK(long classPK) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the kaleo instance token in the entity cache if it is enabled. - * - * @param kaleoInstanceToken the kaleo instance token - */ - public void cacheResult( - it.tref.liferay.portos.importazione.model.KaleoInstanceToken kaleoInstanceToken); - - /** - * Caches the kaleo instance tokens in the entity cache if it is enabled. - * - * @param kaleoInstanceTokens the kaleo instance tokens - */ - public void cacheResult( - java.util.List kaleoInstanceTokens); - - /** - * Creates a new kaleo instance token with the primary key. Does not add the kaleo instance token to the database. - * - * @param kaleoInstanceTokenId the primary key for the new kaleo instance token - * @return the new kaleo instance token - */ - public it.tref.liferay.portos.importazione.model.KaleoInstanceToken create( - long kaleoInstanceTokenId); - - /** - * Removes the kaleo instance token with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoInstanceTokenId the primary key of the kaleo instance token - * @return the kaleo instance token that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoInstanceTokenException if a kaleo instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoInstanceToken remove( - long kaleoInstanceTokenId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoInstanceTokenException; - - public it.tref.liferay.portos.importazione.model.KaleoInstanceToken updateImpl( - it.tref.liferay.portos.importazione.model.KaleoInstanceToken kaleoInstanceToken) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the kaleo instance token with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchKaleoInstanceTokenException} if it could not be found. - * - * @param kaleoInstanceTokenId the primary key of the kaleo instance token - * @return the kaleo instance token - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoInstanceTokenException if a kaleo instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoInstanceToken findByPrimaryKey( - long kaleoInstanceTokenId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoInstanceTokenException; - - /** - * Returns the kaleo instance token with the primary key or returns null if it could not be found. - * - * @param kaleoInstanceTokenId the primary key of the kaleo instance token - * @return the kaleo instance token, or null if a kaleo instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoInstanceToken fetchByPrimaryKey( - long kaleoInstanceTokenId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the kaleo instance tokens. - * - * @return the kaleo instance tokens - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the kaleo instance tokens. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceTokenModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo instance tokens - * @param end the upper bound of the range of kaleo instance tokens (not inclusive) - * @return the range of kaleo instance tokens - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the kaleo instance tokens. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceTokenModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo instance tokens - * @param end the upper bound of the range of kaleo instance tokens (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of kaleo instance tokens - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the kaleo instance tokens from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of kaleo instance tokens. - * - * @return the number of kaleo instance tokens - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoInstanceTokenUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoInstanceTokenUtil.java deleted file mode 100644 index 0381ff93..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoInstanceTokenUtil.java +++ /dev/null @@ -1,351 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.importazione.model.KaleoInstanceToken; - -import java.util.List; - -/** - * The persistence utility for the kaleo instance token service. This utility wraps {@link KaleoInstanceTokenPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see KaleoInstanceTokenPersistence - * @see KaleoInstanceTokenPersistenceImpl - * @generated - */ -public class KaleoInstanceTokenUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(KaleoInstanceToken kaleoInstanceToken) { - getPersistence().clearCache(kaleoInstanceToken); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static KaleoInstanceToken update( - KaleoInstanceToken kaleoInstanceToken) throws SystemException { - return getPersistence().update(kaleoInstanceToken); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static KaleoInstanceToken update( - KaleoInstanceToken kaleoInstanceToken, ServiceContext serviceContext) - throws SystemException { - return getPersistence().update(kaleoInstanceToken, serviceContext); - } - - /** - * Returns the kaleo instance token where classPK = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchKaleoInstanceTokenException} if it could not be found. - * - * @param classPK the class p k - * @return the matching kaleo instance token - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoInstanceTokenException if a matching kaleo instance token could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoInstanceToken findByClassPK( - long classPK) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoInstanceTokenException { - return getPersistence().findByClassPK(classPK); - } - - /** - * Returns the kaleo instance token where classPK = ? or returns null if it could not be found. Uses the finder cache. - * - * @param classPK the class p k - * @return the matching kaleo instance token, or null if a matching kaleo instance token could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoInstanceToken fetchByClassPK( - long classPK) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByClassPK(classPK); - } - - /** - * Returns the kaleo instance token where classPK = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param classPK the class p k - * @param retrieveFromCache whether to use the finder cache - * @return the matching kaleo instance token, or null if a matching kaleo instance token could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoInstanceToken fetchByClassPK( - long classPK, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByClassPK(classPK, retrieveFromCache); - } - - /** - * Removes the kaleo instance token where classPK = ? from the database. - * - * @param classPK the class p k - * @return the kaleo instance token that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoInstanceToken removeByClassPK( - long classPK) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoInstanceTokenException { - return getPersistence().removeByClassPK(classPK); - } - - /** - * Returns the number of kaleo instance tokens where classPK = ?. - * - * @param classPK the class p k - * @return the number of matching kaleo instance tokens - * @throws SystemException if a system exception occurred - */ - public static int countByClassPK(long classPK) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByClassPK(classPK); - } - - /** - * Caches the kaleo instance token in the entity cache if it is enabled. - * - * @param kaleoInstanceToken the kaleo instance token - */ - public static void cacheResult( - it.tref.liferay.portos.importazione.model.KaleoInstanceToken kaleoInstanceToken) { - getPersistence().cacheResult(kaleoInstanceToken); - } - - /** - * Caches the kaleo instance tokens in the entity cache if it is enabled. - * - * @param kaleoInstanceTokens the kaleo instance tokens - */ - public static void cacheResult( - java.util.List kaleoInstanceTokens) { - getPersistence().cacheResult(kaleoInstanceTokens); - } - - /** - * Creates a new kaleo instance token with the primary key. Does not add the kaleo instance token to the database. - * - * @param kaleoInstanceTokenId the primary key for the new kaleo instance token - * @return the new kaleo instance token - */ - public static it.tref.liferay.portos.importazione.model.KaleoInstanceToken create( - long kaleoInstanceTokenId) { - return getPersistence().create(kaleoInstanceTokenId); - } - - /** - * Removes the kaleo instance token with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoInstanceTokenId the primary key of the kaleo instance token - * @return the kaleo instance token that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoInstanceTokenException if a kaleo instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoInstanceToken remove( - long kaleoInstanceTokenId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoInstanceTokenException { - return getPersistence().remove(kaleoInstanceTokenId); - } - - public static it.tref.liferay.portos.importazione.model.KaleoInstanceToken updateImpl( - it.tref.liferay.portos.importazione.model.KaleoInstanceToken kaleoInstanceToken) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(kaleoInstanceToken); - } - - /** - * Returns the kaleo instance token with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchKaleoInstanceTokenException} if it could not be found. - * - * @param kaleoInstanceTokenId the primary key of the kaleo instance token - * @return the kaleo instance token - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoInstanceTokenException if a kaleo instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoInstanceToken findByPrimaryKey( - long kaleoInstanceTokenId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoInstanceTokenException { - return getPersistence().findByPrimaryKey(kaleoInstanceTokenId); - } - - /** - * Returns the kaleo instance token with the primary key or returns null if it could not be found. - * - * @param kaleoInstanceTokenId the primary key of the kaleo instance token - * @return the kaleo instance token, or null if a kaleo instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoInstanceToken fetchByPrimaryKey( - long kaleoInstanceTokenId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(kaleoInstanceTokenId); - } - - /** - * Returns all the kaleo instance tokens. - * - * @return the kaleo instance tokens - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the kaleo instance tokens. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceTokenModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo instance tokens - * @param end the upper bound of the range of kaleo instance tokens (not inclusive) - * @return the range of kaleo instance tokens - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the kaleo instance tokens. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceTokenModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo instance tokens - * @param end the upper bound of the range of kaleo instance tokens (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of kaleo instance tokens - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the kaleo instance tokens from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of kaleo instance tokens. - * - * @return the number of kaleo instance tokens - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static KaleoInstanceTokenPersistence getPersistence() { - if (_persistence == null) { - _persistence = (KaleoInstanceTokenPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - KaleoInstanceTokenPersistence.class.getName()); - - ReferenceRegistry.registerReference(KaleoInstanceTokenUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(KaleoInstanceTokenPersistence persistence) { - } - - private static KaleoInstanceTokenPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoInstanceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoInstanceUtil.java deleted file mode 100644 index 1d199f38..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoInstanceUtil.java +++ /dev/null @@ -1,350 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.importazione.model.KaleoInstance; - -import java.util.List; - -/** - * The persistence utility for the kaleo instance service. This utility wraps {@link KaleoInstancePersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see KaleoInstancePersistence - * @see KaleoInstancePersistenceImpl - * @generated - */ -public class KaleoInstanceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(KaleoInstance kaleoInstance) { - getPersistence().clearCache(kaleoInstance); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static KaleoInstance update(KaleoInstance kaleoInstance) - throws SystemException { - return getPersistence().update(kaleoInstance); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static KaleoInstance update(KaleoInstance kaleoInstance, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(kaleoInstance, serviceContext); - } - - /** - * Returns the kaleo instance where classPK = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchKaleoInstanceException} if it could not be found. - * - * @param classPK the class p k - * @return the matching kaleo instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoInstanceException if a matching kaleo instance could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoInstance findByClassPK( - long classPK) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoInstanceException { - return getPersistence().findByClassPK(classPK); - } - - /** - * Returns the kaleo instance where classPK = ? or returns null if it could not be found. Uses the finder cache. - * - * @param classPK the class p k - * @return the matching kaleo instance, or null if a matching kaleo instance could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoInstance fetchByClassPK( - long classPK) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByClassPK(classPK); - } - - /** - * Returns the kaleo instance where classPK = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param classPK the class p k - * @param retrieveFromCache whether to use the finder cache - * @return the matching kaleo instance, or null if a matching kaleo instance could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoInstance fetchByClassPK( - long classPK, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByClassPK(classPK, retrieveFromCache); - } - - /** - * Removes the kaleo instance where classPK = ? from the database. - * - * @param classPK the class p k - * @return the kaleo instance that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoInstance removeByClassPK( - long classPK) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoInstanceException { - return getPersistence().removeByClassPK(classPK); - } - - /** - * Returns the number of kaleo instances where classPK = ?. - * - * @param classPK the class p k - * @return the number of matching kaleo instances - * @throws SystemException if a system exception occurred - */ - public static int countByClassPK(long classPK) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByClassPK(classPK); - } - - /** - * Caches the kaleo instance in the entity cache if it is enabled. - * - * @param kaleoInstance the kaleo instance - */ - public static void cacheResult( - it.tref.liferay.portos.importazione.model.KaleoInstance kaleoInstance) { - getPersistence().cacheResult(kaleoInstance); - } - - /** - * Caches the kaleo instances in the entity cache if it is enabled. - * - * @param kaleoInstances the kaleo instances - */ - public static void cacheResult( - java.util.List kaleoInstances) { - getPersistence().cacheResult(kaleoInstances); - } - - /** - * Creates a new kaleo instance with the primary key. Does not add the kaleo instance to the database. - * - * @param kaleoInstanceId the primary key for the new kaleo instance - * @return the new kaleo instance - */ - public static it.tref.liferay.portos.importazione.model.KaleoInstance create( - long kaleoInstanceId) { - return getPersistence().create(kaleoInstanceId); - } - - /** - * Removes the kaleo instance with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoInstanceId the primary key of the kaleo instance - * @return the kaleo instance that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoInstanceException if a kaleo instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoInstance remove( - long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoInstanceException { - return getPersistence().remove(kaleoInstanceId); - } - - public static it.tref.liferay.portos.importazione.model.KaleoInstance updateImpl( - it.tref.liferay.portos.importazione.model.KaleoInstance kaleoInstance) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(kaleoInstance); - } - - /** - * Returns the kaleo instance with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchKaleoInstanceException} if it could not be found. - * - * @param kaleoInstanceId the primary key of the kaleo instance - * @return the kaleo instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoInstanceException if a kaleo instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoInstance findByPrimaryKey( - long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoInstanceException { - return getPersistence().findByPrimaryKey(kaleoInstanceId); - } - - /** - * Returns the kaleo instance with the primary key or returns null if it could not be found. - * - * @param kaleoInstanceId the primary key of the kaleo instance - * @return the kaleo instance, or null if a kaleo instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoInstance fetchByPrimaryKey( - long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(kaleoInstanceId); - } - - /** - * Returns all the kaleo instances. - * - * @return the kaleo instances - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the kaleo instances. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo instances - * @param end the upper bound of the range of kaleo instances (not inclusive) - * @return the range of kaleo instances - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the kaleo instances. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo instances - * @param end the upper bound of the range of kaleo instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of kaleo instances - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the kaleo instances from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of kaleo instances. - * - * @return the number of kaleo instances - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static KaleoInstancePersistence getPersistence() { - if (_persistence == null) { - _persistence = (KaleoInstancePersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - KaleoInstancePersistence.class.getName()); - - ReferenceRegistry.registerReference(KaleoInstanceUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(KaleoInstancePersistence persistence) { - } - - private static KaleoInstancePersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoLogActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoLogActionableDynamicQuery.java deleted file mode 100644 index 80476220..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoLogActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.KaleoLog; -import it.tref.liferay.portos.importazione.service.KaleoLogLocalServiceUtil; - -/** - * @author 3FC - * @generated - */ -public abstract class KaleoLogActionableDynamicQuery - extends BaseActionableDynamicQuery { - public KaleoLogActionableDynamicQuery() throws SystemException { - setBaseLocalService(KaleoLogLocalServiceUtil.getService()); - setClass(KaleoLog.class); - - setClassLoader(it.tref.liferay.portos.importazione.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("kaleoLogId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoLogPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoLogPersistence.java deleted file mode 100644 index ebd0ff7e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoLogPersistence.java +++ /dev/null @@ -1,579 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.importazione.model.KaleoLog; - -/** - * The persistence interface for the kaleo log service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see KaleoLogPersistenceImpl - * @see KaleoLogUtil - * @generated - */ -public interface KaleoLogPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link KaleoLogUtil} to access the kaleo log persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns all the kaleo logs where companyId = ?. - * - * @param companyId the company ID - * @return the matching kaleo logs - * @throws SystemException if a system exception occurred - */ - public java.util.List findByCompanyId( - long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the kaleo logs where companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param start the lower bound of the range of kaleo logs - * @param end the upper bound of the range of kaleo logs (not inclusive) - * @return the range of matching kaleo logs - * @throws SystemException if a system exception occurred - */ - public java.util.List findByCompanyId( - long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the kaleo logs where companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param start the lower bound of the range of kaleo logs - * @param end the upper bound of the range of kaleo logs (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching kaleo logs - * @throws SystemException if a system exception occurred - */ - public java.util.List findByCompanyId( - long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first kaleo log in the ordered set where companyId = ?. - * - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching kaleo log - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoLogException if a matching kaleo log could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoLog findByCompanyId_First( - long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoLogException; - - /** - * Returns the first kaleo log in the ordered set where companyId = ?. - * - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching kaleo log, or null if a matching kaleo log could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoLog fetchByCompanyId_First( - long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last kaleo log in the ordered set where companyId = ?. - * - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching kaleo log - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoLogException if a matching kaleo log could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoLog findByCompanyId_Last( - long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoLogException; - - /** - * Returns the last kaleo log in the ordered set where companyId = ?. - * - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching kaleo log, or null if a matching kaleo log could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoLog fetchByCompanyId_Last( - long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the kaleo logs before and after the current kaleo log in the ordered set where companyId = ?. - * - * @param kaleoLogId the primary key of the current kaleo log - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next kaleo log - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoLogException if a kaleo log with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoLog[] findByCompanyId_PrevAndNext( - long kaleoLogId, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoLogException; - - /** - * Removes all the kaleo logs where companyId = ? from the database. - * - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public void removeByCompanyId(long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of kaleo logs where companyId = ?. - * - * @param companyId the company ID - * @return the number of matching kaleo logs - * @throws SystemException if a system exception occurred - */ - public int countByCompanyId(long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the kaleo logs where kaleoDefinitionId = ?. - * - * @param kaleoDefinitionId the kaleo definition ID - * @return the matching kaleo logs - * @throws SystemException if a system exception occurred - */ - public java.util.List findByKaleoDefinitionId( - long kaleoDefinitionId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the kaleo logs where kaleoDefinitionId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param kaleoDefinitionId the kaleo definition ID - * @param start the lower bound of the range of kaleo logs - * @param end the upper bound of the range of kaleo logs (not inclusive) - * @return the range of matching kaleo logs - * @throws SystemException if a system exception occurred - */ - public java.util.List findByKaleoDefinitionId( - long kaleoDefinitionId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the kaleo logs where kaleoDefinitionId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param kaleoDefinitionId the kaleo definition ID - * @param start the lower bound of the range of kaleo logs - * @param end the upper bound of the range of kaleo logs (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching kaleo logs - * @throws SystemException if a system exception occurred - */ - public java.util.List findByKaleoDefinitionId( - long kaleoDefinitionId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first kaleo log in the ordered set where kaleoDefinitionId = ?. - * - * @param kaleoDefinitionId the kaleo definition ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching kaleo log - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoLogException if a matching kaleo log could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoLog findByKaleoDefinitionId_First( - long kaleoDefinitionId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoLogException; - - /** - * Returns the first kaleo log in the ordered set where kaleoDefinitionId = ?. - * - * @param kaleoDefinitionId the kaleo definition ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching kaleo log, or null if a matching kaleo log could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoLog fetchByKaleoDefinitionId_First( - long kaleoDefinitionId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last kaleo log in the ordered set where kaleoDefinitionId = ?. - * - * @param kaleoDefinitionId the kaleo definition ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching kaleo log - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoLogException if a matching kaleo log could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoLog findByKaleoDefinitionId_Last( - long kaleoDefinitionId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoLogException; - - /** - * Returns the last kaleo log in the ordered set where kaleoDefinitionId = ?. - * - * @param kaleoDefinitionId the kaleo definition ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching kaleo log, or null if a matching kaleo log could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoLog fetchByKaleoDefinitionId_Last( - long kaleoDefinitionId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the kaleo logs before and after the current kaleo log in the ordered set where kaleoDefinitionId = ?. - * - * @param kaleoLogId the primary key of the current kaleo log - * @param kaleoDefinitionId the kaleo definition ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next kaleo log - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoLogException if a kaleo log with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoLog[] findByKaleoDefinitionId_PrevAndNext( - long kaleoLogId, long kaleoDefinitionId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoLogException; - - /** - * Removes all the kaleo logs where kaleoDefinitionId = ? from the database. - * - * @param kaleoDefinitionId the kaleo definition ID - * @throws SystemException if a system exception occurred - */ - public void removeByKaleoDefinitionId(long kaleoDefinitionId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of kaleo logs where kaleoDefinitionId = ?. - * - * @param kaleoDefinitionId the kaleo definition ID - * @return the number of matching kaleo logs - * @throws SystemException if a system exception occurred - */ - public int countByKaleoDefinitionId(long kaleoDefinitionId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the kaleo logs where kaleoInstanceId = ?. - * - * @param kaleoInstanceId the kaleo instance ID - * @return the matching kaleo logs - * @throws SystemException if a system exception occurred - */ - public java.util.List findByKaleoInstanceId( - long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the kaleo logs where kaleoInstanceId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param kaleoInstanceId the kaleo instance ID - * @param start the lower bound of the range of kaleo logs - * @param end the upper bound of the range of kaleo logs (not inclusive) - * @return the range of matching kaleo logs - * @throws SystemException if a system exception occurred - */ - public java.util.List findByKaleoInstanceId( - long kaleoInstanceId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the kaleo logs where kaleoInstanceId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param kaleoInstanceId the kaleo instance ID - * @param start the lower bound of the range of kaleo logs - * @param end the upper bound of the range of kaleo logs (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching kaleo logs - * @throws SystemException if a system exception occurred - */ - public java.util.List findByKaleoInstanceId( - long kaleoInstanceId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first kaleo log in the ordered set where kaleoInstanceId = ?. - * - * @param kaleoInstanceId the kaleo instance ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching kaleo log - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoLogException if a matching kaleo log could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoLog findByKaleoInstanceId_First( - long kaleoInstanceId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoLogException; - - /** - * Returns the first kaleo log in the ordered set where kaleoInstanceId = ?. - * - * @param kaleoInstanceId the kaleo instance ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching kaleo log, or null if a matching kaleo log could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoLog fetchByKaleoInstanceId_First( - long kaleoInstanceId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last kaleo log in the ordered set where kaleoInstanceId = ?. - * - * @param kaleoInstanceId the kaleo instance ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching kaleo log - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoLogException if a matching kaleo log could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoLog findByKaleoInstanceId_Last( - long kaleoInstanceId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoLogException; - - /** - * Returns the last kaleo log in the ordered set where kaleoInstanceId = ?. - * - * @param kaleoInstanceId the kaleo instance ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching kaleo log, or null if a matching kaleo log could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoLog fetchByKaleoInstanceId_Last( - long kaleoInstanceId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the kaleo logs before and after the current kaleo log in the ordered set where kaleoInstanceId = ?. - * - * @param kaleoLogId the primary key of the current kaleo log - * @param kaleoInstanceId the kaleo instance ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next kaleo log - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoLogException if a kaleo log with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoLog[] findByKaleoInstanceId_PrevAndNext( - long kaleoLogId, long kaleoInstanceId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoLogException; - - /** - * Removes all the kaleo logs where kaleoInstanceId = ? from the database. - * - * @param kaleoInstanceId the kaleo instance ID - * @throws SystemException if a system exception occurred - */ - public void removeByKaleoInstanceId(long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of kaleo logs where kaleoInstanceId = ?. - * - * @param kaleoInstanceId the kaleo instance ID - * @return the number of matching kaleo logs - * @throws SystemException if a system exception occurred - */ - public int countByKaleoInstanceId(long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the kaleo log in the entity cache if it is enabled. - * - * @param kaleoLog the kaleo log - */ - public void cacheResult( - it.tref.liferay.portos.importazione.model.KaleoLog kaleoLog); - - /** - * Caches the kaleo logs in the entity cache if it is enabled. - * - * @param kaleoLogs the kaleo logs - */ - public void cacheResult( - java.util.List kaleoLogs); - - /** - * Creates a new kaleo log with the primary key. Does not add the kaleo log to the database. - * - * @param kaleoLogId the primary key for the new kaleo log - * @return the new kaleo log - */ - public it.tref.liferay.portos.importazione.model.KaleoLog create( - long kaleoLogId); - - /** - * Removes the kaleo log with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoLogId the primary key of the kaleo log - * @return the kaleo log that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoLogException if a kaleo log with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoLog remove( - long kaleoLogId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoLogException; - - public it.tref.liferay.portos.importazione.model.KaleoLog updateImpl( - it.tref.liferay.portos.importazione.model.KaleoLog kaleoLog) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the kaleo log with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchKaleoLogException} if it could not be found. - * - * @param kaleoLogId the primary key of the kaleo log - * @return the kaleo log - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoLogException if a kaleo log with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoLog findByPrimaryKey( - long kaleoLogId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoLogException; - - /** - * Returns the kaleo log with the primary key or returns null if it could not be found. - * - * @param kaleoLogId the primary key of the kaleo log - * @return the kaleo log, or null if a kaleo log with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoLog fetchByPrimaryKey( - long kaleoLogId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the kaleo logs. - * - * @return the kaleo logs - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the kaleo logs. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo logs - * @param end the upper bound of the range of kaleo logs (not inclusive) - * @return the range of kaleo logs - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the kaleo logs. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo logs - * @param end the upper bound of the range of kaleo logs (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of kaleo logs - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the kaleo logs from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of kaleo logs. - * - * @return the number of kaleo logs - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoLogUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoLogUtil.java deleted file mode 100644 index 710314cd..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoLogUtil.java +++ /dev/null @@ -1,788 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.importazione.model.KaleoLog; - -import java.util.List; - -/** - * The persistence utility for the kaleo log service. This utility wraps {@link KaleoLogPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see KaleoLogPersistence - * @see KaleoLogPersistenceImpl - * @generated - */ -public class KaleoLogUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(KaleoLog kaleoLog) { - getPersistence().clearCache(kaleoLog); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static KaleoLog update(KaleoLog kaleoLog) throws SystemException { - return getPersistence().update(kaleoLog); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static KaleoLog update(KaleoLog kaleoLog, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(kaleoLog, serviceContext); - } - - /** - * Returns all the kaleo logs where companyId = ?. - * - * @param companyId the company ID - * @return the matching kaleo logs - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByCompanyId( - long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByCompanyId(companyId); - } - - /** - * Returns a range of all the kaleo logs where companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param start the lower bound of the range of kaleo logs - * @param end the upper bound of the range of kaleo logs (not inclusive) - * @return the range of matching kaleo logs - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByCompanyId( - long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByCompanyId(companyId, start, end); - } - - /** - * Returns an ordered range of all the kaleo logs where companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param start the lower bound of the range of kaleo logs - * @param end the upper bound of the range of kaleo logs (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching kaleo logs - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByCompanyId( - long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByCompanyId(companyId, start, end, orderByComparator); - } - - /** - * Returns the first kaleo log in the ordered set where companyId = ?. - * - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching kaleo log - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoLogException if a matching kaleo log could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoLog findByCompanyId_First( - long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoLogException { - return getPersistence() - .findByCompanyId_First(companyId, orderByComparator); - } - - /** - * Returns the first kaleo log in the ordered set where companyId = ?. - * - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching kaleo log, or null if a matching kaleo log could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoLog fetchByCompanyId_First( - long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByCompanyId_First(companyId, orderByComparator); - } - - /** - * Returns the last kaleo log in the ordered set where companyId = ?. - * - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching kaleo log - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoLogException if a matching kaleo log could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoLog findByCompanyId_Last( - long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoLogException { - return getPersistence() - .findByCompanyId_Last(companyId, orderByComparator); - } - - /** - * Returns the last kaleo log in the ordered set where companyId = ?. - * - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching kaleo log, or null if a matching kaleo log could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoLog fetchByCompanyId_Last( - long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByCompanyId_Last(companyId, orderByComparator); - } - - /** - * Returns the kaleo logs before and after the current kaleo log in the ordered set where companyId = ?. - * - * @param kaleoLogId the primary key of the current kaleo log - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next kaleo log - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoLogException if a kaleo log with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoLog[] findByCompanyId_PrevAndNext( - long kaleoLogId, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoLogException { - return getPersistence() - .findByCompanyId_PrevAndNext(kaleoLogId, companyId, - orderByComparator); - } - - /** - * Removes all the kaleo logs where companyId = ? from the database. - * - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public static void removeByCompanyId(long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByCompanyId(companyId); - } - - /** - * Returns the number of kaleo logs where companyId = ?. - * - * @param companyId the company ID - * @return the number of matching kaleo logs - * @throws SystemException if a system exception occurred - */ - public static int countByCompanyId(long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByCompanyId(companyId); - } - - /** - * Returns all the kaleo logs where kaleoDefinitionId = ?. - * - * @param kaleoDefinitionId the kaleo definition ID - * @return the matching kaleo logs - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByKaleoDefinitionId( - long kaleoDefinitionId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByKaleoDefinitionId(kaleoDefinitionId); - } - - /** - * Returns a range of all the kaleo logs where kaleoDefinitionId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param kaleoDefinitionId the kaleo definition ID - * @param start the lower bound of the range of kaleo logs - * @param end the upper bound of the range of kaleo logs (not inclusive) - * @return the range of matching kaleo logs - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByKaleoDefinitionId( - long kaleoDefinitionId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByKaleoDefinitionId(kaleoDefinitionId, start, end); - } - - /** - * Returns an ordered range of all the kaleo logs where kaleoDefinitionId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param kaleoDefinitionId the kaleo definition ID - * @param start the lower bound of the range of kaleo logs - * @param end the upper bound of the range of kaleo logs (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching kaleo logs - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByKaleoDefinitionId( - long kaleoDefinitionId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByKaleoDefinitionId(kaleoDefinitionId, start, end, - orderByComparator); - } - - /** - * Returns the first kaleo log in the ordered set where kaleoDefinitionId = ?. - * - * @param kaleoDefinitionId the kaleo definition ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching kaleo log - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoLogException if a matching kaleo log could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoLog findByKaleoDefinitionId_First( - long kaleoDefinitionId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoLogException { - return getPersistence() - .findByKaleoDefinitionId_First(kaleoDefinitionId, - orderByComparator); - } - - /** - * Returns the first kaleo log in the ordered set where kaleoDefinitionId = ?. - * - * @param kaleoDefinitionId the kaleo definition ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching kaleo log, or null if a matching kaleo log could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoLog fetchByKaleoDefinitionId_First( - long kaleoDefinitionId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByKaleoDefinitionId_First(kaleoDefinitionId, - orderByComparator); - } - - /** - * Returns the last kaleo log in the ordered set where kaleoDefinitionId = ?. - * - * @param kaleoDefinitionId the kaleo definition ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching kaleo log - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoLogException if a matching kaleo log could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoLog findByKaleoDefinitionId_Last( - long kaleoDefinitionId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoLogException { - return getPersistence() - .findByKaleoDefinitionId_Last(kaleoDefinitionId, - orderByComparator); - } - - /** - * Returns the last kaleo log in the ordered set where kaleoDefinitionId = ?. - * - * @param kaleoDefinitionId the kaleo definition ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching kaleo log, or null if a matching kaleo log could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoLog fetchByKaleoDefinitionId_Last( - long kaleoDefinitionId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByKaleoDefinitionId_Last(kaleoDefinitionId, - orderByComparator); - } - - /** - * Returns the kaleo logs before and after the current kaleo log in the ordered set where kaleoDefinitionId = ?. - * - * @param kaleoLogId the primary key of the current kaleo log - * @param kaleoDefinitionId the kaleo definition ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next kaleo log - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoLogException if a kaleo log with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoLog[] findByKaleoDefinitionId_PrevAndNext( - long kaleoLogId, long kaleoDefinitionId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoLogException { - return getPersistence() - .findByKaleoDefinitionId_PrevAndNext(kaleoLogId, - kaleoDefinitionId, orderByComparator); - } - - /** - * Removes all the kaleo logs where kaleoDefinitionId = ? from the database. - * - * @param kaleoDefinitionId the kaleo definition ID - * @throws SystemException if a system exception occurred - */ - public static void removeByKaleoDefinitionId(long kaleoDefinitionId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByKaleoDefinitionId(kaleoDefinitionId); - } - - /** - * Returns the number of kaleo logs where kaleoDefinitionId = ?. - * - * @param kaleoDefinitionId the kaleo definition ID - * @return the number of matching kaleo logs - * @throws SystemException if a system exception occurred - */ - public static int countByKaleoDefinitionId(long kaleoDefinitionId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByKaleoDefinitionId(kaleoDefinitionId); - } - - /** - * Returns all the kaleo logs where kaleoInstanceId = ?. - * - * @param kaleoInstanceId the kaleo instance ID - * @return the matching kaleo logs - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByKaleoInstanceId( - long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByKaleoInstanceId(kaleoInstanceId); - } - - /** - * Returns a range of all the kaleo logs where kaleoInstanceId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param kaleoInstanceId the kaleo instance ID - * @param start the lower bound of the range of kaleo logs - * @param end the upper bound of the range of kaleo logs (not inclusive) - * @return the range of matching kaleo logs - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByKaleoInstanceId( - long kaleoInstanceId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByKaleoInstanceId(kaleoInstanceId, start, end); - } - - /** - * Returns an ordered range of all the kaleo logs where kaleoInstanceId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param kaleoInstanceId the kaleo instance ID - * @param start the lower bound of the range of kaleo logs - * @param end the upper bound of the range of kaleo logs (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching kaleo logs - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByKaleoInstanceId( - long kaleoInstanceId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByKaleoInstanceId(kaleoInstanceId, start, end, - orderByComparator); - } - - /** - * Returns the first kaleo log in the ordered set where kaleoInstanceId = ?. - * - * @param kaleoInstanceId the kaleo instance ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching kaleo log - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoLogException if a matching kaleo log could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoLog findByKaleoInstanceId_First( - long kaleoInstanceId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoLogException { - return getPersistence() - .findByKaleoInstanceId_First(kaleoInstanceId, - orderByComparator); - } - - /** - * Returns the first kaleo log in the ordered set where kaleoInstanceId = ?. - * - * @param kaleoInstanceId the kaleo instance ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching kaleo log, or null if a matching kaleo log could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoLog fetchByKaleoInstanceId_First( - long kaleoInstanceId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByKaleoInstanceId_First(kaleoInstanceId, - orderByComparator); - } - - /** - * Returns the last kaleo log in the ordered set where kaleoInstanceId = ?. - * - * @param kaleoInstanceId the kaleo instance ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching kaleo log - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoLogException if a matching kaleo log could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoLog findByKaleoInstanceId_Last( - long kaleoInstanceId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoLogException { - return getPersistence() - .findByKaleoInstanceId_Last(kaleoInstanceId, - orderByComparator); - } - - /** - * Returns the last kaleo log in the ordered set where kaleoInstanceId = ?. - * - * @param kaleoInstanceId the kaleo instance ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching kaleo log, or null if a matching kaleo log could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoLog fetchByKaleoInstanceId_Last( - long kaleoInstanceId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByKaleoInstanceId_Last(kaleoInstanceId, - orderByComparator); - } - - /** - * Returns the kaleo logs before and after the current kaleo log in the ordered set where kaleoInstanceId = ?. - * - * @param kaleoLogId the primary key of the current kaleo log - * @param kaleoInstanceId the kaleo instance ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next kaleo log - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoLogException if a kaleo log with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoLog[] findByKaleoInstanceId_PrevAndNext( - long kaleoLogId, long kaleoInstanceId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoLogException { - return getPersistence() - .findByKaleoInstanceId_PrevAndNext(kaleoLogId, - kaleoInstanceId, orderByComparator); - } - - /** - * Removes all the kaleo logs where kaleoInstanceId = ? from the database. - * - * @param kaleoInstanceId the kaleo instance ID - * @throws SystemException if a system exception occurred - */ - public static void removeByKaleoInstanceId(long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByKaleoInstanceId(kaleoInstanceId); - } - - /** - * Returns the number of kaleo logs where kaleoInstanceId = ?. - * - * @param kaleoInstanceId the kaleo instance ID - * @return the number of matching kaleo logs - * @throws SystemException if a system exception occurred - */ - public static int countByKaleoInstanceId(long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByKaleoInstanceId(kaleoInstanceId); - } - - /** - * Caches the kaleo log in the entity cache if it is enabled. - * - * @param kaleoLog the kaleo log - */ - public static void cacheResult( - it.tref.liferay.portos.importazione.model.KaleoLog kaleoLog) { - getPersistence().cacheResult(kaleoLog); - } - - /** - * Caches the kaleo logs in the entity cache if it is enabled. - * - * @param kaleoLogs the kaleo logs - */ - public static void cacheResult( - java.util.List kaleoLogs) { - getPersistence().cacheResult(kaleoLogs); - } - - /** - * Creates a new kaleo log with the primary key. Does not add the kaleo log to the database. - * - * @param kaleoLogId the primary key for the new kaleo log - * @return the new kaleo log - */ - public static it.tref.liferay.portos.importazione.model.KaleoLog create( - long kaleoLogId) { - return getPersistence().create(kaleoLogId); - } - - /** - * Removes the kaleo log with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoLogId the primary key of the kaleo log - * @return the kaleo log that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoLogException if a kaleo log with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoLog remove( - long kaleoLogId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoLogException { - return getPersistence().remove(kaleoLogId); - } - - public static it.tref.liferay.portos.importazione.model.KaleoLog updateImpl( - it.tref.liferay.portos.importazione.model.KaleoLog kaleoLog) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(kaleoLog); - } - - /** - * Returns the kaleo log with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchKaleoLogException} if it could not be found. - * - * @param kaleoLogId the primary key of the kaleo log - * @return the kaleo log - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoLogException if a kaleo log with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoLog findByPrimaryKey( - long kaleoLogId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoLogException { - return getPersistence().findByPrimaryKey(kaleoLogId); - } - - /** - * Returns the kaleo log with the primary key or returns null if it could not be found. - * - * @param kaleoLogId the primary key of the kaleo log - * @return the kaleo log, or null if a kaleo log with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoLog fetchByPrimaryKey( - long kaleoLogId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(kaleoLogId); - } - - /** - * Returns all the kaleo logs. - * - * @return the kaleo logs - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the kaleo logs. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo logs - * @param end the upper bound of the range of kaleo logs (not inclusive) - * @return the range of kaleo logs - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the kaleo logs. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo logs - * @param end the upper bound of the range of kaleo logs (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of kaleo logs - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the kaleo logs from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of kaleo logs. - * - * @return the number of kaleo logs - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static KaleoLogPersistence getPersistence() { - if (_persistence == null) { - _persistence = (KaleoLogPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - KaleoLogPersistence.class.getName()); - - ReferenceRegistry.registerReference(KaleoLogUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(KaleoLogPersistence persistence) { - } - - private static KaleoLogPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoNodeActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoNodeActionableDynamicQuery.java deleted file mode 100644 index c274eeff..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoNodeActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.KaleoNode; -import it.tref.liferay.portos.importazione.service.KaleoNodeLocalServiceUtil; - -/** - * @author 3FC - * @generated - */ -public abstract class KaleoNodeActionableDynamicQuery - extends BaseActionableDynamicQuery { - public KaleoNodeActionableDynamicQuery() throws SystemException { - setBaseLocalService(KaleoNodeLocalServiceUtil.getService()); - setClass(KaleoNode.class); - - setClassLoader(it.tref.liferay.portos.importazione.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("kaleoNodeId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoNodePersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoNodePersistence.java deleted file mode 100644 index d0435fa2..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoNodePersistence.java +++ /dev/null @@ -1,165 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.importazione.model.KaleoNode; - -/** - * The persistence interface for the kaleo node service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see KaleoNodePersistenceImpl - * @see KaleoNodeUtil - * @generated - */ -public interface KaleoNodePersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link KaleoNodeUtil} to access the kaleo node persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Caches the kaleo node in the entity cache if it is enabled. - * - * @param kaleoNode the kaleo node - */ - public void cacheResult( - it.tref.liferay.portos.importazione.model.KaleoNode kaleoNode); - - /** - * Caches the kaleo nodes in the entity cache if it is enabled. - * - * @param kaleoNodes the kaleo nodes - */ - public void cacheResult( - java.util.List kaleoNodes); - - /** - * Creates a new kaleo node with the primary key. Does not add the kaleo node to the database. - * - * @param kaleoNodeId the primary key for the new kaleo node - * @return the new kaleo node - */ - public it.tref.liferay.portos.importazione.model.KaleoNode create( - long kaleoNodeId); - - /** - * Removes the kaleo node with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoNodeId the primary key of the kaleo node - * @return the kaleo node that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoNodeException if a kaleo node with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoNode remove( - long kaleoNodeId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoNodeException; - - public it.tref.liferay.portos.importazione.model.KaleoNode updateImpl( - it.tref.liferay.portos.importazione.model.KaleoNode kaleoNode) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the kaleo node with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchKaleoNodeException} if it could not be found. - * - * @param kaleoNodeId the primary key of the kaleo node - * @return the kaleo node - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoNodeException if a kaleo node with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoNode findByPrimaryKey( - long kaleoNodeId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoNodeException; - - /** - * Returns the kaleo node with the primary key or returns null if it could not be found. - * - * @param kaleoNodeId the primary key of the kaleo node - * @return the kaleo node, or null if a kaleo node with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoNode fetchByPrimaryKey( - long kaleoNodeId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the kaleo nodes. - * - * @return the kaleo nodes - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the kaleo nodes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoNodeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo nodes - * @param end the upper bound of the range of kaleo nodes (not inclusive) - * @return the range of kaleo nodes - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the kaleo nodes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoNodeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo nodes - * @param end the upper bound of the range of kaleo nodes (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of kaleo nodes - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the kaleo nodes from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of kaleo nodes. - * - * @return the number of kaleo nodes - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoNodeUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoNodeUtil.java deleted file mode 100644 index bae41b1d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoNodeUtil.java +++ /dev/null @@ -1,282 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.importazione.model.KaleoNode; - -import java.util.List; - -/** - * The persistence utility for the kaleo node service. This utility wraps {@link KaleoNodePersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see KaleoNodePersistence - * @see KaleoNodePersistenceImpl - * @generated - */ -public class KaleoNodeUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(KaleoNode kaleoNode) { - getPersistence().clearCache(kaleoNode); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static KaleoNode update(KaleoNode kaleoNode) - throws SystemException { - return getPersistence().update(kaleoNode); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static KaleoNode update(KaleoNode kaleoNode, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(kaleoNode, serviceContext); - } - - /** - * Caches the kaleo node in the entity cache if it is enabled. - * - * @param kaleoNode the kaleo node - */ - public static void cacheResult( - it.tref.liferay.portos.importazione.model.KaleoNode kaleoNode) { - getPersistence().cacheResult(kaleoNode); - } - - /** - * Caches the kaleo nodes in the entity cache if it is enabled. - * - * @param kaleoNodes the kaleo nodes - */ - public static void cacheResult( - java.util.List kaleoNodes) { - getPersistence().cacheResult(kaleoNodes); - } - - /** - * Creates a new kaleo node with the primary key. Does not add the kaleo node to the database. - * - * @param kaleoNodeId the primary key for the new kaleo node - * @return the new kaleo node - */ - public static it.tref.liferay.portos.importazione.model.KaleoNode create( - long kaleoNodeId) { - return getPersistence().create(kaleoNodeId); - } - - /** - * Removes the kaleo node with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoNodeId the primary key of the kaleo node - * @return the kaleo node that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoNodeException if a kaleo node with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoNode remove( - long kaleoNodeId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoNodeException { - return getPersistence().remove(kaleoNodeId); - } - - public static it.tref.liferay.portos.importazione.model.KaleoNode updateImpl( - it.tref.liferay.portos.importazione.model.KaleoNode kaleoNode) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(kaleoNode); - } - - /** - * Returns the kaleo node with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchKaleoNodeException} if it could not be found. - * - * @param kaleoNodeId the primary key of the kaleo node - * @return the kaleo node - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoNodeException if a kaleo node with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoNode findByPrimaryKey( - long kaleoNodeId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoNodeException { - return getPersistence().findByPrimaryKey(kaleoNodeId); - } - - /** - * Returns the kaleo node with the primary key or returns null if it could not be found. - * - * @param kaleoNodeId the primary key of the kaleo node - * @return the kaleo node, or null if a kaleo node with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoNode fetchByPrimaryKey( - long kaleoNodeId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(kaleoNodeId); - } - - /** - * Returns all the kaleo nodes. - * - * @return the kaleo nodes - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the kaleo nodes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoNodeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo nodes - * @param end the upper bound of the range of kaleo nodes (not inclusive) - * @return the range of kaleo nodes - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the kaleo nodes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoNodeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo nodes - * @param end the upper bound of the range of kaleo nodes (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of kaleo nodes - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the kaleo nodes from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of kaleo nodes. - * - * @return the number of kaleo nodes - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static KaleoNodePersistence getPersistence() { - if (_persistence == null) { - _persistence = (KaleoNodePersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - KaleoNodePersistence.class.getName()); - - ReferenceRegistry.registerReference(KaleoNodeUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(KaleoNodePersistence persistence) { - } - - private static KaleoNodePersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoTaskActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoTaskActionableDynamicQuery.java deleted file mode 100644 index 4974e9e7..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoTaskActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.KaleoTask; -import it.tref.liferay.portos.importazione.service.KaleoTaskLocalServiceUtil; - -/** - * @author 3FC - * @generated - */ -public abstract class KaleoTaskActionableDynamicQuery - extends BaseActionableDynamicQuery { - public KaleoTaskActionableDynamicQuery() throws SystemException { - setBaseLocalService(KaleoTaskLocalServiceUtil.getService()); - setClass(KaleoTask.class); - - setClassLoader(it.tref.liferay.portos.importazione.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("kaleoTaskId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoTaskAssignmentInstanceActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoTaskAssignmentInstanceActionableDynamicQuery.java deleted file mode 100644 index 7c5d83de..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoTaskAssignmentInstanceActionableDynamicQuery.java +++ /dev/null @@ -1,38 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance; -import it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalServiceUtil; - -/** - * @author 3FC - * @generated - */ -public abstract class KaleoTaskAssignmentInstanceActionableDynamicQuery - extends BaseActionableDynamicQuery { - public KaleoTaskAssignmentInstanceActionableDynamicQuery() - throws SystemException { - setBaseLocalService(KaleoTaskAssignmentInstanceLocalServiceUtil.getService()); - setClass(KaleoTaskAssignmentInstance.class); - - setClassLoader(it.tref.liferay.portos.importazione.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("kaleoTaskAssignmentInstanceId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoTaskAssignmentInstancePersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoTaskAssignmentInstancePersistence.java deleted file mode 100644 index 63c1be00..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoTaskAssignmentInstancePersistence.java +++ /dev/null @@ -1,579 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance; - -/** - * The persistence interface for the kaleo task assignment instance service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see KaleoTaskAssignmentInstancePersistenceImpl - * @see KaleoTaskAssignmentInstanceUtil - * @generated - */ -public interface KaleoTaskAssignmentInstancePersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link KaleoTaskAssignmentInstanceUtil} to access the kaleo task assignment instance persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns all the kaleo task assignment instances where companyId = ?. - * - * @param companyId the company ID - * @return the matching kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - public java.util.List findByCompanyId( - long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the kaleo task assignment instances where companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param start the lower bound of the range of kaleo task assignment instances - * @param end the upper bound of the range of kaleo task assignment instances (not inclusive) - * @return the range of matching kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - public java.util.List findByCompanyId( - long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the kaleo task assignment instances where companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param start the lower bound of the range of kaleo task assignment instances - * @param end the upper bound of the range of kaleo task assignment instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - public java.util.List findByCompanyId( - long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first kaleo task assignment instance in the ordered set where companyId = ?. - * - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching kaleo task assignment instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException if a matching kaleo task assignment instance could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance findByCompanyId_First( - long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException; - - /** - * Returns the first kaleo task assignment instance in the ordered set where companyId = ?. - * - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching kaleo task assignment instance, or null if a matching kaleo task assignment instance could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance fetchByCompanyId_First( - long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last kaleo task assignment instance in the ordered set where companyId = ?. - * - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching kaleo task assignment instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException if a matching kaleo task assignment instance could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance findByCompanyId_Last( - long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException; - - /** - * Returns the last kaleo task assignment instance in the ordered set where companyId = ?. - * - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching kaleo task assignment instance, or null if a matching kaleo task assignment instance could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance fetchByCompanyId_Last( - long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the kaleo task assignment instances before and after the current kaleo task assignment instance in the ordered set where companyId = ?. - * - * @param kaleoTaskAssignmentInstanceId the primary key of the current kaleo task assignment instance - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next kaleo task assignment instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException if a kaleo task assignment instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance[] findByCompanyId_PrevAndNext( - long kaleoTaskAssignmentInstanceId, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException; - - /** - * Removes all the kaleo task assignment instances where companyId = ? from the database. - * - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public void removeByCompanyId(long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of kaleo task assignment instances where companyId = ?. - * - * @param companyId the company ID - * @return the number of matching kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - public int countByCompanyId(long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the kaleo task assignment instances where kaleoDefinitionId = ?. - * - * @param kaleoDefinitionId the kaleo definition ID - * @return the matching kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - public java.util.List findByKaleoDefinitionId( - long kaleoDefinitionId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the kaleo task assignment instances where kaleoDefinitionId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param kaleoDefinitionId the kaleo definition ID - * @param start the lower bound of the range of kaleo task assignment instances - * @param end the upper bound of the range of kaleo task assignment instances (not inclusive) - * @return the range of matching kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - public java.util.List findByKaleoDefinitionId( - long kaleoDefinitionId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the kaleo task assignment instances where kaleoDefinitionId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param kaleoDefinitionId the kaleo definition ID - * @param start the lower bound of the range of kaleo task assignment instances - * @param end the upper bound of the range of kaleo task assignment instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - public java.util.List findByKaleoDefinitionId( - long kaleoDefinitionId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first kaleo task assignment instance in the ordered set where kaleoDefinitionId = ?. - * - * @param kaleoDefinitionId the kaleo definition ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching kaleo task assignment instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException if a matching kaleo task assignment instance could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance findByKaleoDefinitionId_First( - long kaleoDefinitionId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException; - - /** - * Returns the first kaleo task assignment instance in the ordered set where kaleoDefinitionId = ?. - * - * @param kaleoDefinitionId the kaleo definition ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching kaleo task assignment instance, or null if a matching kaleo task assignment instance could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance fetchByKaleoDefinitionId_First( - long kaleoDefinitionId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last kaleo task assignment instance in the ordered set where kaleoDefinitionId = ?. - * - * @param kaleoDefinitionId the kaleo definition ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching kaleo task assignment instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException if a matching kaleo task assignment instance could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance findByKaleoDefinitionId_Last( - long kaleoDefinitionId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException; - - /** - * Returns the last kaleo task assignment instance in the ordered set where kaleoDefinitionId = ?. - * - * @param kaleoDefinitionId the kaleo definition ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching kaleo task assignment instance, or null if a matching kaleo task assignment instance could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance fetchByKaleoDefinitionId_Last( - long kaleoDefinitionId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the kaleo task assignment instances before and after the current kaleo task assignment instance in the ordered set where kaleoDefinitionId = ?. - * - * @param kaleoTaskAssignmentInstanceId the primary key of the current kaleo task assignment instance - * @param kaleoDefinitionId the kaleo definition ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next kaleo task assignment instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException if a kaleo task assignment instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance[] findByKaleoDefinitionId_PrevAndNext( - long kaleoTaskAssignmentInstanceId, long kaleoDefinitionId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException; - - /** - * Removes all the kaleo task assignment instances where kaleoDefinitionId = ? from the database. - * - * @param kaleoDefinitionId the kaleo definition ID - * @throws SystemException if a system exception occurred - */ - public void removeByKaleoDefinitionId(long kaleoDefinitionId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of kaleo task assignment instances where kaleoDefinitionId = ?. - * - * @param kaleoDefinitionId the kaleo definition ID - * @return the number of matching kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - public int countByKaleoDefinitionId(long kaleoDefinitionId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the kaleo task assignment instances where kaleoInstanceId = ?. - * - * @param kaleoInstanceId the kaleo instance ID - * @return the matching kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - public java.util.List findByKaleoInstanceId( - long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the kaleo task assignment instances where kaleoInstanceId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param kaleoInstanceId the kaleo instance ID - * @param start the lower bound of the range of kaleo task assignment instances - * @param end the upper bound of the range of kaleo task assignment instances (not inclusive) - * @return the range of matching kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - public java.util.List findByKaleoInstanceId( - long kaleoInstanceId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the kaleo task assignment instances where kaleoInstanceId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param kaleoInstanceId the kaleo instance ID - * @param start the lower bound of the range of kaleo task assignment instances - * @param end the upper bound of the range of kaleo task assignment instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - public java.util.List findByKaleoInstanceId( - long kaleoInstanceId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first kaleo task assignment instance in the ordered set where kaleoInstanceId = ?. - * - * @param kaleoInstanceId the kaleo instance ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching kaleo task assignment instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException if a matching kaleo task assignment instance could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance findByKaleoInstanceId_First( - long kaleoInstanceId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException; - - /** - * Returns the first kaleo task assignment instance in the ordered set where kaleoInstanceId = ?. - * - * @param kaleoInstanceId the kaleo instance ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching kaleo task assignment instance, or null if a matching kaleo task assignment instance could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance fetchByKaleoInstanceId_First( - long kaleoInstanceId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last kaleo task assignment instance in the ordered set where kaleoInstanceId = ?. - * - * @param kaleoInstanceId the kaleo instance ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching kaleo task assignment instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException if a matching kaleo task assignment instance could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance findByKaleoInstanceId_Last( - long kaleoInstanceId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException; - - /** - * Returns the last kaleo task assignment instance in the ordered set where kaleoInstanceId = ?. - * - * @param kaleoInstanceId the kaleo instance ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching kaleo task assignment instance, or null if a matching kaleo task assignment instance could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance fetchByKaleoInstanceId_Last( - long kaleoInstanceId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the kaleo task assignment instances before and after the current kaleo task assignment instance in the ordered set where kaleoInstanceId = ?. - * - * @param kaleoTaskAssignmentInstanceId the primary key of the current kaleo task assignment instance - * @param kaleoInstanceId the kaleo instance ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next kaleo task assignment instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException if a kaleo task assignment instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance[] findByKaleoInstanceId_PrevAndNext( - long kaleoTaskAssignmentInstanceId, long kaleoInstanceId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException; - - /** - * Removes all the kaleo task assignment instances where kaleoInstanceId = ? from the database. - * - * @param kaleoInstanceId the kaleo instance ID - * @throws SystemException if a system exception occurred - */ - public void removeByKaleoInstanceId(long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of kaleo task assignment instances where kaleoInstanceId = ?. - * - * @param kaleoInstanceId the kaleo instance ID - * @return the number of matching kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - public int countByKaleoInstanceId(long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the kaleo task assignment instance in the entity cache if it is enabled. - * - * @param kaleoTaskAssignmentInstance the kaleo task assignment instance - */ - public void cacheResult( - it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance); - - /** - * Caches the kaleo task assignment instances in the entity cache if it is enabled. - * - * @param kaleoTaskAssignmentInstances the kaleo task assignment instances - */ - public void cacheResult( - java.util.List kaleoTaskAssignmentInstances); - - /** - * Creates a new kaleo task assignment instance with the primary key. Does not add the kaleo task assignment instance to the database. - * - * @param kaleoTaskAssignmentInstanceId the primary key for the new kaleo task assignment instance - * @return the new kaleo task assignment instance - */ - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance create( - long kaleoTaskAssignmentInstanceId); - - /** - * Removes the kaleo task assignment instance with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoTaskAssignmentInstanceId the primary key of the kaleo task assignment instance - * @return the kaleo task assignment instance that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException if a kaleo task assignment instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance remove( - long kaleoTaskAssignmentInstanceId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException; - - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance updateImpl( - it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the kaleo task assignment instance with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException} if it could not be found. - * - * @param kaleoTaskAssignmentInstanceId the primary key of the kaleo task assignment instance - * @return the kaleo task assignment instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException if a kaleo task assignment instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance findByPrimaryKey( - long kaleoTaskAssignmentInstanceId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException; - - /** - * Returns the kaleo task assignment instance with the primary key or returns null if it could not be found. - * - * @param kaleoTaskAssignmentInstanceId the primary key of the kaleo task assignment instance - * @return the kaleo task assignment instance, or null if a kaleo task assignment instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance fetchByPrimaryKey( - long kaleoTaskAssignmentInstanceId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the kaleo task assignment instances. - * - * @return the kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the kaleo task assignment instances. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo task assignment instances - * @param end the upper bound of the range of kaleo task assignment instances (not inclusive) - * @return the range of kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the kaleo task assignment instances. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo task assignment instances - * @param end the upper bound of the range of kaleo task assignment instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the kaleo task assignment instances from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of kaleo task assignment instances. - * - * @return the number of kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoTaskAssignmentInstanceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoTaskAssignmentInstanceUtil.java deleted file mode 100644 index eb70740a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoTaskAssignmentInstanceUtil.java +++ /dev/null @@ -1,794 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance; - -import java.util.List; - -/** - * The persistence utility for the kaleo task assignment instance service. This utility wraps {@link KaleoTaskAssignmentInstancePersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see KaleoTaskAssignmentInstancePersistence - * @see KaleoTaskAssignmentInstancePersistenceImpl - * @generated - */ -public class KaleoTaskAssignmentInstanceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache( - KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance) { - getPersistence().clearCache(kaleoTaskAssignmentInstance); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static KaleoTaskAssignmentInstance update( - KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance) - throws SystemException { - return getPersistence().update(kaleoTaskAssignmentInstance); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static KaleoTaskAssignmentInstance update( - KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance, - ServiceContext serviceContext) throws SystemException { - return getPersistence() - .update(kaleoTaskAssignmentInstance, serviceContext); - } - - /** - * Returns all the kaleo task assignment instances where companyId = ?. - * - * @param companyId the company ID - * @return the matching kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByCompanyId( - long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByCompanyId(companyId); - } - - /** - * Returns a range of all the kaleo task assignment instances where companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param start the lower bound of the range of kaleo task assignment instances - * @param end the upper bound of the range of kaleo task assignment instances (not inclusive) - * @return the range of matching kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByCompanyId( - long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByCompanyId(companyId, start, end); - } - - /** - * Returns an ordered range of all the kaleo task assignment instances where companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param start the lower bound of the range of kaleo task assignment instances - * @param end the upper bound of the range of kaleo task assignment instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByCompanyId( - long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByCompanyId(companyId, start, end, orderByComparator); - } - - /** - * Returns the first kaleo task assignment instance in the ordered set where companyId = ?. - * - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching kaleo task assignment instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException if a matching kaleo task assignment instance could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance findByCompanyId_First( - long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException { - return getPersistence() - .findByCompanyId_First(companyId, orderByComparator); - } - - /** - * Returns the first kaleo task assignment instance in the ordered set where companyId = ?. - * - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching kaleo task assignment instance, or null if a matching kaleo task assignment instance could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance fetchByCompanyId_First( - long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByCompanyId_First(companyId, orderByComparator); - } - - /** - * Returns the last kaleo task assignment instance in the ordered set where companyId = ?. - * - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching kaleo task assignment instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException if a matching kaleo task assignment instance could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance findByCompanyId_Last( - long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException { - return getPersistence() - .findByCompanyId_Last(companyId, orderByComparator); - } - - /** - * Returns the last kaleo task assignment instance in the ordered set where companyId = ?. - * - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching kaleo task assignment instance, or null if a matching kaleo task assignment instance could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance fetchByCompanyId_Last( - long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByCompanyId_Last(companyId, orderByComparator); - } - - /** - * Returns the kaleo task assignment instances before and after the current kaleo task assignment instance in the ordered set where companyId = ?. - * - * @param kaleoTaskAssignmentInstanceId the primary key of the current kaleo task assignment instance - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next kaleo task assignment instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException if a kaleo task assignment instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance[] findByCompanyId_PrevAndNext( - long kaleoTaskAssignmentInstanceId, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException { - return getPersistence() - .findByCompanyId_PrevAndNext(kaleoTaskAssignmentInstanceId, - companyId, orderByComparator); - } - - /** - * Removes all the kaleo task assignment instances where companyId = ? from the database. - * - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public static void removeByCompanyId(long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByCompanyId(companyId); - } - - /** - * Returns the number of kaleo task assignment instances where companyId = ?. - * - * @param companyId the company ID - * @return the number of matching kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - public static int countByCompanyId(long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByCompanyId(companyId); - } - - /** - * Returns all the kaleo task assignment instances where kaleoDefinitionId = ?. - * - * @param kaleoDefinitionId the kaleo definition ID - * @return the matching kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByKaleoDefinitionId( - long kaleoDefinitionId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByKaleoDefinitionId(kaleoDefinitionId); - } - - /** - * Returns a range of all the kaleo task assignment instances where kaleoDefinitionId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param kaleoDefinitionId the kaleo definition ID - * @param start the lower bound of the range of kaleo task assignment instances - * @param end the upper bound of the range of kaleo task assignment instances (not inclusive) - * @return the range of matching kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByKaleoDefinitionId( - long kaleoDefinitionId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByKaleoDefinitionId(kaleoDefinitionId, start, end); - } - - /** - * Returns an ordered range of all the kaleo task assignment instances where kaleoDefinitionId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param kaleoDefinitionId the kaleo definition ID - * @param start the lower bound of the range of kaleo task assignment instances - * @param end the upper bound of the range of kaleo task assignment instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByKaleoDefinitionId( - long kaleoDefinitionId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByKaleoDefinitionId(kaleoDefinitionId, start, end, - orderByComparator); - } - - /** - * Returns the first kaleo task assignment instance in the ordered set where kaleoDefinitionId = ?. - * - * @param kaleoDefinitionId the kaleo definition ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching kaleo task assignment instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException if a matching kaleo task assignment instance could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance findByKaleoDefinitionId_First( - long kaleoDefinitionId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException { - return getPersistence() - .findByKaleoDefinitionId_First(kaleoDefinitionId, - orderByComparator); - } - - /** - * Returns the first kaleo task assignment instance in the ordered set where kaleoDefinitionId = ?. - * - * @param kaleoDefinitionId the kaleo definition ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching kaleo task assignment instance, or null if a matching kaleo task assignment instance could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance fetchByKaleoDefinitionId_First( - long kaleoDefinitionId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByKaleoDefinitionId_First(kaleoDefinitionId, - orderByComparator); - } - - /** - * Returns the last kaleo task assignment instance in the ordered set where kaleoDefinitionId = ?. - * - * @param kaleoDefinitionId the kaleo definition ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching kaleo task assignment instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException if a matching kaleo task assignment instance could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance findByKaleoDefinitionId_Last( - long kaleoDefinitionId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException { - return getPersistence() - .findByKaleoDefinitionId_Last(kaleoDefinitionId, - orderByComparator); - } - - /** - * Returns the last kaleo task assignment instance in the ordered set where kaleoDefinitionId = ?. - * - * @param kaleoDefinitionId the kaleo definition ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching kaleo task assignment instance, or null if a matching kaleo task assignment instance could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance fetchByKaleoDefinitionId_Last( - long kaleoDefinitionId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByKaleoDefinitionId_Last(kaleoDefinitionId, - orderByComparator); - } - - /** - * Returns the kaleo task assignment instances before and after the current kaleo task assignment instance in the ordered set where kaleoDefinitionId = ?. - * - * @param kaleoTaskAssignmentInstanceId the primary key of the current kaleo task assignment instance - * @param kaleoDefinitionId the kaleo definition ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next kaleo task assignment instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException if a kaleo task assignment instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance[] findByKaleoDefinitionId_PrevAndNext( - long kaleoTaskAssignmentInstanceId, long kaleoDefinitionId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException { - return getPersistence() - .findByKaleoDefinitionId_PrevAndNext(kaleoTaskAssignmentInstanceId, - kaleoDefinitionId, orderByComparator); - } - - /** - * Removes all the kaleo task assignment instances where kaleoDefinitionId = ? from the database. - * - * @param kaleoDefinitionId the kaleo definition ID - * @throws SystemException if a system exception occurred - */ - public static void removeByKaleoDefinitionId(long kaleoDefinitionId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByKaleoDefinitionId(kaleoDefinitionId); - } - - /** - * Returns the number of kaleo task assignment instances where kaleoDefinitionId = ?. - * - * @param kaleoDefinitionId the kaleo definition ID - * @return the number of matching kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - public static int countByKaleoDefinitionId(long kaleoDefinitionId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByKaleoDefinitionId(kaleoDefinitionId); - } - - /** - * Returns all the kaleo task assignment instances where kaleoInstanceId = ?. - * - * @param kaleoInstanceId the kaleo instance ID - * @return the matching kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByKaleoInstanceId( - long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByKaleoInstanceId(kaleoInstanceId); - } - - /** - * Returns a range of all the kaleo task assignment instances where kaleoInstanceId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param kaleoInstanceId the kaleo instance ID - * @param start the lower bound of the range of kaleo task assignment instances - * @param end the upper bound of the range of kaleo task assignment instances (not inclusive) - * @return the range of matching kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByKaleoInstanceId( - long kaleoInstanceId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByKaleoInstanceId(kaleoInstanceId, start, end); - } - - /** - * Returns an ordered range of all the kaleo task assignment instances where kaleoInstanceId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param kaleoInstanceId the kaleo instance ID - * @param start the lower bound of the range of kaleo task assignment instances - * @param end the upper bound of the range of kaleo task assignment instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByKaleoInstanceId( - long kaleoInstanceId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByKaleoInstanceId(kaleoInstanceId, start, end, - orderByComparator); - } - - /** - * Returns the first kaleo task assignment instance in the ordered set where kaleoInstanceId = ?. - * - * @param kaleoInstanceId the kaleo instance ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching kaleo task assignment instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException if a matching kaleo task assignment instance could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance findByKaleoInstanceId_First( - long kaleoInstanceId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException { - return getPersistence() - .findByKaleoInstanceId_First(kaleoInstanceId, - orderByComparator); - } - - /** - * Returns the first kaleo task assignment instance in the ordered set where kaleoInstanceId = ?. - * - * @param kaleoInstanceId the kaleo instance ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching kaleo task assignment instance, or null if a matching kaleo task assignment instance could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance fetchByKaleoInstanceId_First( - long kaleoInstanceId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByKaleoInstanceId_First(kaleoInstanceId, - orderByComparator); - } - - /** - * Returns the last kaleo task assignment instance in the ordered set where kaleoInstanceId = ?. - * - * @param kaleoInstanceId the kaleo instance ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching kaleo task assignment instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException if a matching kaleo task assignment instance could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance findByKaleoInstanceId_Last( - long kaleoInstanceId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException { - return getPersistence() - .findByKaleoInstanceId_Last(kaleoInstanceId, - orderByComparator); - } - - /** - * Returns the last kaleo task assignment instance in the ordered set where kaleoInstanceId = ?. - * - * @param kaleoInstanceId the kaleo instance ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching kaleo task assignment instance, or null if a matching kaleo task assignment instance could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance fetchByKaleoInstanceId_Last( - long kaleoInstanceId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByKaleoInstanceId_Last(kaleoInstanceId, - orderByComparator); - } - - /** - * Returns the kaleo task assignment instances before and after the current kaleo task assignment instance in the ordered set where kaleoInstanceId = ?. - * - * @param kaleoTaskAssignmentInstanceId the primary key of the current kaleo task assignment instance - * @param kaleoInstanceId the kaleo instance ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next kaleo task assignment instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException if a kaleo task assignment instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance[] findByKaleoInstanceId_PrevAndNext( - long kaleoTaskAssignmentInstanceId, long kaleoInstanceId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException { - return getPersistence() - .findByKaleoInstanceId_PrevAndNext(kaleoTaskAssignmentInstanceId, - kaleoInstanceId, orderByComparator); - } - - /** - * Removes all the kaleo task assignment instances where kaleoInstanceId = ? from the database. - * - * @param kaleoInstanceId the kaleo instance ID - * @throws SystemException if a system exception occurred - */ - public static void removeByKaleoInstanceId(long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByKaleoInstanceId(kaleoInstanceId); - } - - /** - * Returns the number of kaleo task assignment instances where kaleoInstanceId = ?. - * - * @param kaleoInstanceId the kaleo instance ID - * @return the number of matching kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - public static int countByKaleoInstanceId(long kaleoInstanceId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByKaleoInstanceId(kaleoInstanceId); - } - - /** - * Caches the kaleo task assignment instance in the entity cache if it is enabled. - * - * @param kaleoTaskAssignmentInstance the kaleo task assignment instance - */ - public static void cacheResult( - it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance) { - getPersistence().cacheResult(kaleoTaskAssignmentInstance); - } - - /** - * Caches the kaleo task assignment instances in the entity cache if it is enabled. - * - * @param kaleoTaskAssignmentInstances the kaleo task assignment instances - */ - public static void cacheResult( - java.util.List kaleoTaskAssignmentInstances) { - getPersistence().cacheResult(kaleoTaskAssignmentInstances); - } - - /** - * Creates a new kaleo task assignment instance with the primary key. Does not add the kaleo task assignment instance to the database. - * - * @param kaleoTaskAssignmentInstanceId the primary key for the new kaleo task assignment instance - * @return the new kaleo task assignment instance - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance create( - long kaleoTaskAssignmentInstanceId) { - return getPersistence().create(kaleoTaskAssignmentInstanceId); - } - - /** - * Removes the kaleo task assignment instance with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoTaskAssignmentInstanceId the primary key of the kaleo task assignment instance - * @return the kaleo task assignment instance that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException if a kaleo task assignment instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance remove( - long kaleoTaskAssignmentInstanceId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException { - return getPersistence().remove(kaleoTaskAssignmentInstanceId); - } - - public static it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance updateImpl( - it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(kaleoTaskAssignmentInstance); - } - - /** - * Returns the kaleo task assignment instance with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException} if it could not be found. - * - * @param kaleoTaskAssignmentInstanceId the primary key of the kaleo task assignment instance - * @return the kaleo task assignment instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException if a kaleo task assignment instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance findByPrimaryKey( - long kaleoTaskAssignmentInstanceId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException { - return getPersistence().findByPrimaryKey(kaleoTaskAssignmentInstanceId); - } - - /** - * Returns the kaleo task assignment instance with the primary key or returns null if it could not be found. - * - * @param kaleoTaskAssignmentInstanceId the primary key of the kaleo task assignment instance - * @return the kaleo task assignment instance, or null if a kaleo task assignment instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance fetchByPrimaryKey( - long kaleoTaskAssignmentInstanceId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(kaleoTaskAssignmentInstanceId); - } - - /** - * Returns all the kaleo task assignment instances. - * - * @return the kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the kaleo task assignment instances. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo task assignment instances - * @param end the upper bound of the range of kaleo task assignment instances (not inclusive) - * @return the range of kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the kaleo task assignment instances. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo task assignment instances - * @param end the upper bound of the range of kaleo task assignment instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the kaleo task assignment instances from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of kaleo task assignment instances. - * - * @return the number of kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static KaleoTaskAssignmentInstancePersistence getPersistence() { - if (_persistence == null) { - _persistence = (KaleoTaskAssignmentInstancePersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - KaleoTaskAssignmentInstancePersistence.class.getName()); - - ReferenceRegistry.registerReference(KaleoTaskAssignmentInstanceUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence( - KaleoTaskAssignmentInstancePersistence persistence) { - } - - private static KaleoTaskAssignmentInstancePersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoTaskInstanceTokenActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoTaskInstanceTokenActionableDynamicQuery.java deleted file mode 100644 index 3b179463..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoTaskInstanceTokenActionableDynamicQuery.java +++ /dev/null @@ -1,38 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken; -import it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalServiceUtil; - -/** - * @author 3FC - * @generated - */ -public abstract class KaleoTaskInstanceTokenActionableDynamicQuery - extends BaseActionableDynamicQuery { - public KaleoTaskInstanceTokenActionableDynamicQuery() - throws SystemException { - setBaseLocalService(KaleoTaskInstanceTokenLocalServiceUtil.getService()); - setClass(KaleoTaskInstanceToken.class); - - setClassLoader(it.tref.liferay.portos.importazione.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("kaleoTaskInstanceTokenId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoTaskInstanceTokenPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoTaskInstanceTokenPersistence.java deleted file mode 100644 index e89a68d9..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoTaskInstanceTokenPersistence.java +++ /dev/null @@ -1,223 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken; - -/** - * The persistence interface for the kaleo task instance token service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see KaleoTaskInstanceTokenPersistenceImpl - * @see KaleoTaskInstanceTokenUtil - * @generated - */ -public interface KaleoTaskInstanceTokenPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link KaleoTaskInstanceTokenUtil} to access the kaleo task instance token persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns the kaleo task instance token where classPK = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchKaleoTaskInstanceTokenException} if it could not be found. - * - * @param classPK the class p k - * @return the matching kaleo task instance token - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskInstanceTokenException if a matching kaleo task instance token could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken findByClassPK( - long classPK) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoTaskInstanceTokenException; - - /** - * Returns the kaleo task instance token where classPK = ? or returns null if it could not be found. Uses the finder cache. - * - * @param classPK the class p k - * @return the matching kaleo task instance token, or null if a matching kaleo task instance token could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken fetchByClassPK( - long classPK) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the kaleo task instance token where classPK = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param classPK the class p k - * @param retrieveFromCache whether to use the finder cache - * @return the matching kaleo task instance token, or null if a matching kaleo task instance token could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken fetchByClassPK( - long classPK, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the kaleo task instance token where classPK = ? from the database. - * - * @param classPK the class p k - * @return the kaleo task instance token that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken removeByClassPK( - long classPK) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoTaskInstanceTokenException; - - /** - * Returns the number of kaleo task instance tokens where classPK = ?. - * - * @param classPK the class p k - * @return the number of matching kaleo task instance tokens - * @throws SystemException if a system exception occurred - */ - public int countByClassPK(long classPK) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the kaleo task instance token in the entity cache if it is enabled. - * - * @param kaleoTaskInstanceToken the kaleo task instance token - */ - public void cacheResult( - it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken kaleoTaskInstanceToken); - - /** - * Caches the kaleo task instance tokens in the entity cache if it is enabled. - * - * @param kaleoTaskInstanceTokens the kaleo task instance tokens - */ - public void cacheResult( - java.util.List kaleoTaskInstanceTokens); - - /** - * Creates a new kaleo task instance token with the primary key. Does not add the kaleo task instance token to the database. - * - * @param kaleoTaskInstanceTokenId the primary key for the new kaleo task instance token - * @return the new kaleo task instance token - */ - public it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken create( - long kaleoTaskInstanceTokenId); - - /** - * Removes the kaleo task instance token with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoTaskInstanceTokenId the primary key of the kaleo task instance token - * @return the kaleo task instance token that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskInstanceTokenException if a kaleo task instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken remove( - long kaleoTaskInstanceTokenId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoTaskInstanceTokenException; - - public it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken updateImpl( - it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken kaleoTaskInstanceToken) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the kaleo task instance token with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchKaleoTaskInstanceTokenException} if it could not be found. - * - * @param kaleoTaskInstanceTokenId the primary key of the kaleo task instance token - * @return the kaleo task instance token - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskInstanceTokenException if a kaleo task instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken findByPrimaryKey( - long kaleoTaskInstanceTokenId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoTaskInstanceTokenException; - - /** - * Returns the kaleo task instance token with the primary key or returns null if it could not be found. - * - * @param kaleoTaskInstanceTokenId the primary key of the kaleo task instance token - * @return the kaleo task instance token, or null if a kaleo task instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken fetchByPrimaryKey( - long kaleoTaskInstanceTokenId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the kaleo task instance tokens. - * - * @return the kaleo task instance tokens - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the kaleo task instance tokens. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskInstanceTokenModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo task instance tokens - * @param end the upper bound of the range of kaleo task instance tokens (not inclusive) - * @return the range of kaleo task instance tokens - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the kaleo task instance tokens. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskInstanceTokenModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo task instance tokens - * @param end the upper bound of the range of kaleo task instance tokens (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of kaleo task instance tokens - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the kaleo task instance tokens from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of kaleo task instance tokens. - * - * @return the number of kaleo task instance tokens - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoTaskInstanceTokenUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoTaskInstanceTokenUtil.java deleted file mode 100644 index 7b28eca9..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoTaskInstanceTokenUtil.java +++ /dev/null @@ -1,352 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken; - -import java.util.List; - -/** - * The persistence utility for the kaleo task instance token service. This utility wraps {@link KaleoTaskInstanceTokenPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see KaleoTaskInstanceTokenPersistence - * @see KaleoTaskInstanceTokenPersistenceImpl - * @generated - */ -public class KaleoTaskInstanceTokenUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(KaleoTaskInstanceToken kaleoTaskInstanceToken) { - getPersistence().clearCache(kaleoTaskInstanceToken); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static KaleoTaskInstanceToken update( - KaleoTaskInstanceToken kaleoTaskInstanceToken) - throws SystemException { - return getPersistence().update(kaleoTaskInstanceToken); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static KaleoTaskInstanceToken update( - KaleoTaskInstanceToken kaleoTaskInstanceToken, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(kaleoTaskInstanceToken, serviceContext); - } - - /** - * Returns the kaleo task instance token where classPK = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchKaleoTaskInstanceTokenException} if it could not be found. - * - * @param classPK the class p k - * @return the matching kaleo task instance token - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskInstanceTokenException if a matching kaleo task instance token could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken findByClassPK( - long classPK) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoTaskInstanceTokenException { - return getPersistence().findByClassPK(classPK); - } - - /** - * Returns the kaleo task instance token where classPK = ? or returns null if it could not be found. Uses the finder cache. - * - * @param classPK the class p k - * @return the matching kaleo task instance token, or null if a matching kaleo task instance token could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken fetchByClassPK( - long classPK) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByClassPK(classPK); - } - - /** - * Returns the kaleo task instance token where classPK = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param classPK the class p k - * @param retrieveFromCache whether to use the finder cache - * @return the matching kaleo task instance token, or null if a matching kaleo task instance token could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken fetchByClassPK( - long classPK, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByClassPK(classPK, retrieveFromCache); - } - - /** - * Removes the kaleo task instance token where classPK = ? from the database. - * - * @param classPK the class p k - * @return the kaleo task instance token that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken removeByClassPK( - long classPK) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoTaskInstanceTokenException { - return getPersistence().removeByClassPK(classPK); - } - - /** - * Returns the number of kaleo task instance tokens where classPK = ?. - * - * @param classPK the class p k - * @return the number of matching kaleo task instance tokens - * @throws SystemException if a system exception occurred - */ - public static int countByClassPK(long classPK) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByClassPK(classPK); - } - - /** - * Caches the kaleo task instance token in the entity cache if it is enabled. - * - * @param kaleoTaskInstanceToken the kaleo task instance token - */ - public static void cacheResult( - it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken kaleoTaskInstanceToken) { - getPersistence().cacheResult(kaleoTaskInstanceToken); - } - - /** - * Caches the kaleo task instance tokens in the entity cache if it is enabled. - * - * @param kaleoTaskInstanceTokens the kaleo task instance tokens - */ - public static void cacheResult( - java.util.List kaleoTaskInstanceTokens) { - getPersistence().cacheResult(kaleoTaskInstanceTokens); - } - - /** - * Creates a new kaleo task instance token with the primary key. Does not add the kaleo task instance token to the database. - * - * @param kaleoTaskInstanceTokenId the primary key for the new kaleo task instance token - * @return the new kaleo task instance token - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken create( - long kaleoTaskInstanceTokenId) { - return getPersistence().create(kaleoTaskInstanceTokenId); - } - - /** - * Removes the kaleo task instance token with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoTaskInstanceTokenId the primary key of the kaleo task instance token - * @return the kaleo task instance token that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskInstanceTokenException if a kaleo task instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken remove( - long kaleoTaskInstanceTokenId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoTaskInstanceTokenException { - return getPersistence().remove(kaleoTaskInstanceTokenId); - } - - public static it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken updateImpl( - it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken kaleoTaskInstanceToken) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(kaleoTaskInstanceToken); - } - - /** - * Returns the kaleo task instance token with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchKaleoTaskInstanceTokenException} if it could not be found. - * - * @param kaleoTaskInstanceTokenId the primary key of the kaleo task instance token - * @return the kaleo task instance token - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskInstanceTokenException if a kaleo task instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken findByPrimaryKey( - long kaleoTaskInstanceTokenId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoTaskInstanceTokenException { - return getPersistence().findByPrimaryKey(kaleoTaskInstanceTokenId); - } - - /** - * Returns the kaleo task instance token with the primary key or returns null if it could not be found. - * - * @param kaleoTaskInstanceTokenId the primary key of the kaleo task instance token - * @return the kaleo task instance token, or null if a kaleo task instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken fetchByPrimaryKey( - long kaleoTaskInstanceTokenId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(kaleoTaskInstanceTokenId); - } - - /** - * Returns all the kaleo task instance tokens. - * - * @return the kaleo task instance tokens - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the kaleo task instance tokens. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskInstanceTokenModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo task instance tokens - * @param end the upper bound of the range of kaleo task instance tokens (not inclusive) - * @return the range of kaleo task instance tokens - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the kaleo task instance tokens. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskInstanceTokenModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo task instance tokens - * @param end the upper bound of the range of kaleo task instance tokens (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of kaleo task instance tokens - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the kaleo task instance tokens from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of kaleo task instance tokens. - * - * @return the number of kaleo task instance tokens - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static KaleoTaskInstanceTokenPersistence getPersistence() { - if (_persistence == null) { - _persistence = (KaleoTaskInstanceTokenPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - KaleoTaskInstanceTokenPersistence.class.getName()); - - ReferenceRegistry.registerReference(KaleoTaskInstanceTokenUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(KaleoTaskInstanceTokenPersistence persistence) { - } - - private static KaleoTaskInstanceTokenPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoTaskPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoTaskPersistence.java deleted file mode 100644 index 45e80e8b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoTaskPersistence.java +++ /dev/null @@ -1,165 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.importazione.model.KaleoTask; - -/** - * The persistence interface for the kaleo task service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see KaleoTaskPersistenceImpl - * @see KaleoTaskUtil - * @generated - */ -public interface KaleoTaskPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link KaleoTaskUtil} to access the kaleo task persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Caches the kaleo task in the entity cache if it is enabled. - * - * @param kaleoTask the kaleo task - */ - public void cacheResult( - it.tref.liferay.portos.importazione.model.KaleoTask kaleoTask); - - /** - * Caches the kaleo tasks in the entity cache if it is enabled. - * - * @param kaleoTasks the kaleo tasks - */ - public void cacheResult( - java.util.List kaleoTasks); - - /** - * Creates a new kaleo task with the primary key. Does not add the kaleo task to the database. - * - * @param kaleoTaskId the primary key for the new kaleo task - * @return the new kaleo task - */ - public it.tref.liferay.portos.importazione.model.KaleoTask create( - long kaleoTaskId); - - /** - * Removes the kaleo task with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoTaskId the primary key of the kaleo task - * @return the kaleo task that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskException if a kaleo task with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoTask remove( - long kaleoTaskId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoTaskException; - - public it.tref.liferay.portos.importazione.model.KaleoTask updateImpl( - it.tref.liferay.portos.importazione.model.KaleoTask kaleoTask) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the kaleo task with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchKaleoTaskException} if it could not be found. - * - * @param kaleoTaskId the primary key of the kaleo task - * @return the kaleo task - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskException if a kaleo task with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoTask findByPrimaryKey( - long kaleoTaskId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoTaskException; - - /** - * Returns the kaleo task with the primary key or returns null if it could not be found. - * - * @param kaleoTaskId the primary key of the kaleo task - * @return the kaleo task, or null if a kaleo task with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.KaleoTask fetchByPrimaryKey( - long kaleoTaskId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the kaleo tasks. - * - * @return the kaleo tasks - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the kaleo tasks. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo tasks - * @param end the upper bound of the range of kaleo tasks (not inclusive) - * @return the range of kaleo tasks - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the kaleo tasks. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo tasks - * @param end the upper bound of the range of kaleo tasks (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of kaleo tasks - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the kaleo tasks from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of kaleo tasks. - * - * @return the number of kaleo tasks - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoTaskUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoTaskUtil.java deleted file mode 100644 index cd6416ae..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/KaleoTaskUtil.java +++ /dev/null @@ -1,282 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.importazione.model.KaleoTask; - -import java.util.List; - -/** - * The persistence utility for the kaleo task service. This utility wraps {@link KaleoTaskPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see KaleoTaskPersistence - * @see KaleoTaskPersistenceImpl - * @generated - */ -public class KaleoTaskUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(KaleoTask kaleoTask) { - getPersistence().clearCache(kaleoTask); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static KaleoTask update(KaleoTask kaleoTask) - throws SystemException { - return getPersistence().update(kaleoTask); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static KaleoTask update(KaleoTask kaleoTask, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(kaleoTask, serviceContext); - } - - /** - * Caches the kaleo task in the entity cache if it is enabled. - * - * @param kaleoTask the kaleo task - */ - public static void cacheResult( - it.tref.liferay.portos.importazione.model.KaleoTask kaleoTask) { - getPersistence().cacheResult(kaleoTask); - } - - /** - * Caches the kaleo tasks in the entity cache if it is enabled. - * - * @param kaleoTasks the kaleo tasks - */ - public static void cacheResult( - java.util.List kaleoTasks) { - getPersistence().cacheResult(kaleoTasks); - } - - /** - * Creates a new kaleo task with the primary key. Does not add the kaleo task to the database. - * - * @param kaleoTaskId the primary key for the new kaleo task - * @return the new kaleo task - */ - public static it.tref.liferay.portos.importazione.model.KaleoTask create( - long kaleoTaskId) { - return getPersistence().create(kaleoTaskId); - } - - /** - * Removes the kaleo task with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoTaskId the primary key of the kaleo task - * @return the kaleo task that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskException if a kaleo task with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTask remove( - long kaleoTaskId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoTaskException { - return getPersistence().remove(kaleoTaskId); - } - - public static it.tref.liferay.portos.importazione.model.KaleoTask updateImpl( - it.tref.liferay.portos.importazione.model.KaleoTask kaleoTask) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(kaleoTask); - } - - /** - * Returns the kaleo task with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchKaleoTaskException} if it could not be found. - * - * @param kaleoTaskId the primary key of the kaleo task - * @return the kaleo task - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskException if a kaleo task with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTask findByPrimaryKey( - long kaleoTaskId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchKaleoTaskException { - return getPersistence().findByPrimaryKey(kaleoTaskId); - } - - /** - * Returns the kaleo task with the primary key or returns null if it could not be found. - * - * @param kaleoTaskId the primary key of the kaleo task - * @return the kaleo task, or null if a kaleo task with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.KaleoTask fetchByPrimaryKey( - long kaleoTaskId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(kaleoTaskId); - } - - /** - * Returns all the kaleo tasks. - * - * @return the kaleo tasks - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the kaleo tasks. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo tasks - * @param end the upper bound of the range of kaleo tasks (not inclusive) - * @return the range of kaleo tasks - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the kaleo tasks. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo tasks - * @param end the upper bound of the range of kaleo tasks (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of kaleo tasks - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the kaleo tasks from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of kaleo tasks. - * - * @return the number of kaleo tasks - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static KaleoTaskPersistence getPersistence() { - if (_persistence == null) { - _persistence = (KaleoTaskPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - KaleoTaskPersistence.class.getName()); - - ReferenceRegistry.registerReference(KaleoTaskUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(KaleoTaskPersistence persistence) { - } - - private static KaleoTaskPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldDLFileEntryActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldDLFileEntryActionableDynamicQuery.java deleted file mode 100644 index 92a9bdbb..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldDLFileEntryActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.OldDLFileEntry; -import it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalServiceUtil; - -/** - * @author 3FC - * @generated - */ -public abstract class OldDLFileEntryActionableDynamicQuery - extends BaseActionableDynamicQuery { - public OldDLFileEntryActionableDynamicQuery() throws SystemException { - setBaseLocalService(OldDLFileEntryLocalServiceUtil.getService()); - setClass(OldDLFileEntry.class); - - setClassLoader(it.tref.liferay.portos.importazione.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("fileEntryId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldDLFileEntryPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldDLFileEntryPersistence.java deleted file mode 100644 index 3e3a66a7..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldDLFileEntryPersistence.java +++ /dev/null @@ -1,461 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.importazione.model.OldDLFileEntry; - -/** - * The persistence interface for the old d l file entry service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see OldDLFileEntryPersistenceImpl - * @see OldDLFileEntryUtil - * @generated - */ -public interface OldDLFileEntryPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link OldDLFileEntryUtil} to access the old d l file entry persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns all the old d l file entries where repositoryId = ? and folderId = ?. - * - * @param repositoryId the repository ID - * @param folderId the folder ID - * @return the matching old d l file entries - * @throws SystemException if a system exception occurred - */ - public java.util.List findByRepId_ParentId( - long repositoryId, long folderId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the old d l file entries where repositoryId = ? and folderId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param repositoryId the repository ID - * @param folderId the folder ID - * @param start the lower bound of the range of old d l file entries - * @param end the upper bound of the range of old d l file entries (not inclusive) - * @return the range of matching old d l file entries - * @throws SystemException if a system exception occurred - */ - public java.util.List findByRepId_ParentId( - long repositoryId, long folderId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the old d l file entries where repositoryId = ? and folderId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param repositoryId the repository ID - * @param folderId the folder ID - * @param start the lower bound of the range of old d l file entries - * @param end the upper bound of the range of old d l file entries (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching old d l file entries - * @throws SystemException if a system exception occurred - */ - public java.util.List findByRepId_ParentId( - long repositoryId, long folderId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first old d l file entry in the ordered set where repositoryId = ? and folderId = ?. - * - * @param repositoryId the repository ID - * @param folderId the folder ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching old d l file entry - * @throws it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException if a matching old d l file entry could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.OldDLFileEntry findByRepId_ParentId_First( - long repositoryId, long folderId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException; - - /** - * Returns the first old d l file entry in the ordered set where repositoryId = ? and folderId = ?. - * - * @param repositoryId the repository ID - * @param folderId the folder ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching old d l file entry, or null if a matching old d l file entry could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.OldDLFileEntry fetchByRepId_ParentId_First( - long repositoryId, long folderId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last old d l file entry in the ordered set where repositoryId = ? and folderId = ?. - * - * @param repositoryId the repository ID - * @param folderId the folder ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching old d l file entry - * @throws it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException if a matching old d l file entry could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.OldDLFileEntry findByRepId_ParentId_Last( - long repositoryId, long folderId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException; - - /** - * Returns the last old d l file entry in the ordered set where repositoryId = ? and folderId = ?. - * - * @param repositoryId the repository ID - * @param folderId the folder ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching old d l file entry, or null if a matching old d l file entry could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.OldDLFileEntry fetchByRepId_ParentId_Last( - long repositoryId, long folderId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the old d l file entries before and after the current old d l file entry in the ordered set where repositoryId = ? and folderId = ?. - * - * @param fileEntryId the primary key of the current old d l file entry - * @param repositoryId the repository ID - * @param folderId the folder ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next old d l file entry - * @throws it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException if a old d l file entry with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.OldDLFileEntry[] findByRepId_ParentId_PrevAndNext( - long fileEntryId, long repositoryId, long folderId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException; - - /** - * Removes all the old d l file entries where repositoryId = ? and folderId = ? from the database. - * - * @param repositoryId the repository ID - * @param folderId the folder ID - * @throws SystemException if a system exception occurred - */ - public void removeByRepId_ParentId(long repositoryId, long folderId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of old d l file entries where repositoryId = ? and folderId = ?. - * - * @param repositoryId the repository ID - * @param folderId the folder ID - * @return the number of matching old d l file entries - * @throws SystemException if a system exception occurred - */ - public int countByRepId_ParentId(long repositoryId, long folderId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the old d l file entries where groupId = ? and folderId = ?. - * - * @param groupId the group ID - * @param folderId the folder ID - * @return the matching old d l file entries - * @throws SystemException if a system exception occurred - */ - public java.util.List findByGroupId_FolderId( - long groupId, long folderId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the old d l file entries where groupId = ? and folderId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param groupId the group ID - * @param folderId the folder ID - * @param start the lower bound of the range of old d l file entries - * @param end the upper bound of the range of old d l file entries (not inclusive) - * @return the range of matching old d l file entries - * @throws SystemException if a system exception occurred - */ - public java.util.List findByGroupId_FolderId( - long groupId, long folderId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the old d l file entries where groupId = ? and folderId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param groupId the group ID - * @param folderId the folder ID - * @param start the lower bound of the range of old d l file entries - * @param end the upper bound of the range of old d l file entries (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching old d l file entries - * @throws SystemException if a system exception occurred - */ - public java.util.List findByGroupId_FolderId( - long groupId, long folderId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first old d l file entry in the ordered set where groupId = ? and folderId = ?. - * - * @param groupId the group ID - * @param folderId the folder ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching old d l file entry - * @throws it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException if a matching old d l file entry could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.OldDLFileEntry findByGroupId_FolderId_First( - long groupId, long folderId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException; - - /** - * Returns the first old d l file entry in the ordered set where groupId = ? and folderId = ?. - * - * @param groupId the group ID - * @param folderId the folder ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching old d l file entry, or null if a matching old d l file entry could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.OldDLFileEntry fetchByGroupId_FolderId_First( - long groupId, long folderId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last old d l file entry in the ordered set where groupId = ? and folderId = ?. - * - * @param groupId the group ID - * @param folderId the folder ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching old d l file entry - * @throws it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException if a matching old d l file entry could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.OldDLFileEntry findByGroupId_FolderId_Last( - long groupId, long folderId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException; - - /** - * Returns the last old d l file entry in the ordered set where groupId = ? and folderId = ?. - * - * @param groupId the group ID - * @param folderId the folder ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching old d l file entry, or null if a matching old d l file entry could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.OldDLFileEntry fetchByGroupId_FolderId_Last( - long groupId, long folderId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the old d l file entries before and after the current old d l file entry in the ordered set where groupId = ? and folderId = ?. - * - * @param fileEntryId the primary key of the current old d l file entry - * @param groupId the group ID - * @param folderId the folder ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next old d l file entry - * @throws it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException if a old d l file entry with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.OldDLFileEntry[] findByGroupId_FolderId_PrevAndNext( - long fileEntryId, long groupId, long folderId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException; - - /** - * Removes all the old d l file entries where groupId = ? and folderId = ? from the database. - * - * @param groupId the group ID - * @param folderId the folder ID - * @throws SystemException if a system exception occurred - */ - public void removeByGroupId_FolderId(long groupId, long folderId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of old d l file entries where groupId = ? and folderId = ?. - * - * @param groupId the group ID - * @param folderId the folder ID - * @return the number of matching old d l file entries - * @throws SystemException if a system exception occurred - */ - public int countByGroupId_FolderId(long groupId, long folderId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the old d l file entry in the entity cache if it is enabled. - * - * @param oldDLFileEntry the old d l file entry - */ - public void cacheResult( - it.tref.liferay.portos.importazione.model.OldDLFileEntry oldDLFileEntry); - - /** - * Caches the old d l file entries in the entity cache if it is enabled. - * - * @param oldDLFileEntries the old d l file entries - */ - public void cacheResult( - java.util.List oldDLFileEntries); - - /** - * Creates a new old d l file entry with the primary key. Does not add the old d l file entry to the database. - * - * @param fileEntryId the primary key for the new old d l file entry - * @return the new old d l file entry - */ - public it.tref.liferay.portos.importazione.model.OldDLFileEntry create( - long fileEntryId); - - /** - * Removes the old d l file entry with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param fileEntryId the primary key of the old d l file entry - * @return the old d l file entry that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException if a old d l file entry with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.OldDLFileEntry remove( - long fileEntryId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException; - - public it.tref.liferay.portos.importazione.model.OldDLFileEntry updateImpl( - it.tref.liferay.portos.importazione.model.OldDLFileEntry oldDLFileEntry) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the old d l file entry with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException} if it could not be found. - * - * @param fileEntryId the primary key of the old d l file entry - * @return the old d l file entry - * @throws it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException if a old d l file entry with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.OldDLFileEntry findByPrimaryKey( - long fileEntryId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException; - - /** - * Returns the old d l file entry with the primary key or returns null if it could not be found. - * - * @param fileEntryId the primary key of the old d l file entry - * @return the old d l file entry, or null if a old d l file entry with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.OldDLFileEntry fetchByPrimaryKey( - long fileEntryId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the old d l file entries. - * - * @return the old d l file entries - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the old d l file entries. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old d l file entries - * @param end the upper bound of the range of old d l file entries (not inclusive) - * @return the range of old d l file entries - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the old d l file entries. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old d l file entries - * @param end the upper bound of the range of old d l file entries (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of old d l file entries - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the old d l file entries from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of old d l file entries. - * - * @return the number of old d l file entries - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldDLFileEntryUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldDLFileEntryUtil.java deleted file mode 100644 index f2acf4e7..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldDLFileEntryUtil.java +++ /dev/null @@ -1,644 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.importazione.model.OldDLFileEntry; - -import java.util.List; - -/** - * The persistence utility for the old d l file entry service. This utility wraps {@link OldDLFileEntryPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see OldDLFileEntryPersistence - * @see OldDLFileEntryPersistenceImpl - * @generated - */ -public class OldDLFileEntryUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(OldDLFileEntry oldDLFileEntry) { - getPersistence().clearCache(oldDLFileEntry); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static OldDLFileEntry update(OldDLFileEntry oldDLFileEntry) - throws SystemException { - return getPersistence().update(oldDLFileEntry); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static OldDLFileEntry update(OldDLFileEntry oldDLFileEntry, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(oldDLFileEntry, serviceContext); - } - - /** - * Returns all the old d l file entries where repositoryId = ? and folderId = ?. - * - * @param repositoryId the repository ID - * @param folderId the folder ID - * @return the matching old d l file entries - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByRepId_ParentId( - long repositoryId, long folderId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByRepId_ParentId(repositoryId, folderId); - } - - /** - * Returns a range of all the old d l file entries where repositoryId = ? and folderId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param repositoryId the repository ID - * @param folderId the folder ID - * @param start the lower bound of the range of old d l file entries - * @param end the upper bound of the range of old d l file entries (not inclusive) - * @return the range of matching old d l file entries - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByRepId_ParentId( - long repositoryId, long folderId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByRepId_ParentId(repositoryId, folderId, start, end); - } - - /** - * Returns an ordered range of all the old d l file entries where repositoryId = ? and folderId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param repositoryId the repository ID - * @param folderId the folder ID - * @param start the lower bound of the range of old d l file entries - * @param end the upper bound of the range of old d l file entries (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching old d l file entries - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByRepId_ParentId( - long repositoryId, long folderId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByRepId_ParentId(repositoryId, folderId, start, end, - orderByComparator); - } - - /** - * Returns the first old d l file entry in the ordered set where repositoryId = ? and folderId = ?. - * - * @param repositoryId the repository ID - * @param folderId the folder ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching old d l file entry - * @throws it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException if a matching old d l file entry could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldDLFileEntry findByRepId_ParentId_First( - long repositoryId, long folderId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException { - return getPersistence() - .findByRepId_ParentId_First(repositoryId, folderId, - orderByComparator); - } - - /** - * Returns the first old d l file entry in the ordered set where repositoryId = ? and folderId = ?. - * - * @param repositoryId the repository ID - * @param folderId the folder ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching old d l file entry, or null if a matching old d l file entry could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldDLFileEntry fetchByRepId_ParentId_First( - long repositoryId, long folderId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByRepId_ParentId_First(repositoryId, folderId, - orderByComparator); - } - - /** - * Returns the last old d l file entry in the ordered set where repositoryId = ? and folderId = ?. - * - * @param repositoryId the repository ID - * @param folderId the folder ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching old d l file entry - * @throws it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException if a matching old d l file entry could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldDLFileEntry findByRepId_ParentId_Last( - long repositoryId, long folderId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException { - return getPersistence() - .findByRepId_ParentId_Last(repositoryId, folderId, - orderByComparator); - } - - /** - * Returns the last old d l file entry in the ordered set where repositoryId = ? and folderId = ?. - * - * @param repositoryId the repository ID - * @param folderId the folder ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching old d l file entry, or null if a matching old d l file entry could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldDLFileEntry fetchByRepId_ParentId_Last( - long repositoryId, long folderId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByRepId_ParentId_Last(repositoryId, folderId, - orderByComparator); - } - - /** - * Returns the old d l file entries before and after the current old d l file entry in the ordered set where repositoryId = ? and folderId = ?. - * - * @param fileEntryId the primary key of the current old d l file entry - * @param repositoryId the repository ID - * @param folderId the folder ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next old d l file entry - * @throws it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException if a old d l file entry with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldDLFileEntry[] findByRepId_ParentId_PrevAndNext( - long fileEntryId, long repositoryId, long folderId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException { - return getPersistence() - .findByRepId_ParentId_PrevAndNext(fileEntryId, repositoryId, - folderId, orderByComparator); - } - - /** - * Removes all the old d l file entries where repositoryId = ? and folderId = ? from the database. - * - * @param repositoryId the repository ID - * @param folderId the folder ID - * @throws SystemException if a system exception occurred - */ - public static void removeByRepId_ParentId(long repositoryId, long folderId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByRepId_ParentId(repositoryId, folderId); - } - - /** - * Returns the number of old d l file entries where repositoryId = ? and folderId = ?. - * - * @param repositoryId the repository ID - * @param folderId the folder ID - * @return the number of matching old d l file entries - * @throws SystemException if a system exception occurred - */ - public static int countByRepId_ParentId(long repositoryId, long folderId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByRepId_ParentId(repositoryId, folderId); - } - - /** - * Returns all the old d l file entries where groupId = ? and folderId = ?. - * - * @param groupId the group ID - * @param folderId the folder ID - * @return the matching old d l file entries - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByGroupId_FolderId( - long groupId, long folderId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByGroupId_FolderId(groupId, folderId); - } - - /** - * Returns a range of all the old d l file entries where groupId = ? and folderId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param groupId the group ID - * @param folderId the folder ID - * @param start the lower bound of the range of old d l file entries - * @param end the upper bound of the range of old d l file entries (not inclusive) - * @return the range of matching old d l file entries - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByGroupId_FolderId( - long groupId, long folderId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByGroupId_FolderId(groupId, folderId, start, end); - } - - /** - * Returns an ordered range of all the old d l file entries where groupId = ? and folderId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param groupId the group ID - * @param folderId the folder ID - * @param start the lower bound of the range of old d l file entries - * @param end the upper bound of the range of old d l file entries (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching old d l file entries - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByGroupId_FolderId( - long groupId, long folderId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByGroupId_FolderId(groupId, folderId, start, end, - orderByComparator); - } - - /** - * Returns the first old d l file entry in the ordered set where groupId = ? and folderId = ?. - * - * @param groupId the group ID - * @param folderId the folder ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching old d l file entry - * @throws it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException if a matching old d l file entry could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldDLFileEntry findByGroupId_FolderId_First( - long groupId, long folderId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException { - return getPersistence() - .findByGroupId_FolderId_First(groupId, folderId, - orderByComparator); - } - - /** - * Returns the first old d l file entry in the ordered set where groupId = ? and folderId = ?. - * - * @param groupId the group ID - * @param folderId the folder ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching old d l file entry, or null if a matching old d l file entry could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldDLFileEntry fetchByGroupId_FolderId_First( - long groupId, long folderId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByGroupId_FolderId_First(groupId, folderId, - orderByComparator); - } - - /** - * Returns the last old d l file entry in the ordered set where groupId = ? and folderId = ?. - * - * @param groupId the group ID - * @param folderId the folder ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching old d l file entry - * @throws it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException if a matching old d l file entry could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldDLFileEntry findByGroupId_FolderId_Last( - long groupId, long folderId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException { - return getPersistence() - .findByGroupId_FolderId_Last(groupId, folderId, - orderByComparator); - } - - /** - * Returns the last old d l file entry in the ordered set where groupId = ? and folderId = ?. - * - * @param groupId the group ID - * @param folderId the folder ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching old d l file entry, or null if a matching old d l file entry could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldDLFileEntry fetchByGroupId_FolderId_Last( - long groupId, long folderId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByGroupId_FolderId_Last(groupId, folderId, - orderByComparator); - } - - /** - * Returns the old d l file entries before and after the current old d l file entry in the ordered set where groupId = ? and folderId = ?. - * - * @param fileEntryId the primary key of the current old d l file entry - * @param groupId the group ID - * @param folderId the folder ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next old d l file entry - * @throws it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException if a old d l file entry with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldDLFileEntry[] findByGroupId_FolderId_PrevAndNext( - long fileEntryId, long groupId, long folderId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException { - return getPersistence() - .findByGroupId_FolderId_PrevAndNext(fileEntryId, groupId, - folderId, orderByComparator); - } - - /** - * Removes all the old d l file entries where groupId = ? and folderId = ? from the database. - * - * @param groupId the group ID - * @param folderId the folder ID - * @throws SystemException if a system exception occurred - */ - public static void removeByGroupId_FolderId(long groupId, long folderId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByGroupId_FolderId(groupId, folderId); - } - - /** - * Returns the number of old d l file entries where groupId = ? and folderId = ?. - * - * @param groupId the group ID - * @param folderId the folder ID - * @return the number of matching old d l file entries - * @throws SystemException if a system exception occurred - */ - public static int countByGroupId_FolderId(long groupId, long folderId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByGroupId_FolderId(groupId, folderId); - } - - /** - * Caches the old d l file entry in the entity cache if it is enabled. - * - * @param oldDLFileEntry the old d l file entry - */ - public static void cacheResult( - it.tref.liferay.portos.importazione.model.OldDLFileEntry oldDLFileEntry) { - getPersistence().cacheResult(oldDLFileEntry); - } - - /** - * Caches the old d l file entries in the entity cache if it is enabled. - * - * @param oldDLFileEntries the old d l file entries - */ - public static void cacheResult( - java.util.List oldDLFileEntries) { - getPersistence().cacheResult(oldDLFileEntries); - } - - /** - * Creates a new old d l file entry with the primary key. Does not add the old d l file entry to the database. - * - * @param fileEntryId the primary key for the new old d l file entry - * @return the new old d l file entry - */ - public static it.tref.liferay.portos.importazione.model.OldDLFileEntry create( - long fileEntryId) { - return getPersistence().create(fileEntryId); - } - - /** - * Removes the old d l file entry with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param fileEntryId the primary key of the old d l file entry - * @return the old d l file entry that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException if a old d l file entry with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldDLFileEntry remove( - long fileEntryId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException { - return getPersistence().remove(fileEntryId); - } - - public static it.tref.liferay.portos.importazione.model.OldDLFileEntry updateImpl( - it.tref.liferay.portos.importazione.model.OldDLFileEntry oldDLFileEntry) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(oldDLFileEntry); - } - - /** - * Returns the old d l file entry with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException} if it could not be found. - * - * @param fileEntryId the primary key of the old d l file entry - * @return the old d l file entry - * @throws it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException if a old d l file entry with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldDLFileEntry findByPrimaryKey( - long fileEntryId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException { - return getPersistence().findByPrimaryKey(fileEntryId); - } - - /** - * Returns the old d l file entry with the primary key or returns null if it could not be found. - * - * @param fileEntryId the primary key of the old d l file entry - * @return the old d l file entry, or null if a old d l file entry with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldDLFileEntry fetchByPrimaryKey( - long fileEntryId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(fileEntryId); - } - - /** - * Returns all the old d l file entries. - * - * @return the old d l file entries - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the old d l file entries. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old d l file entries - * @param end the upper bound of the range of old d l file entries (not inclusive) - * @return the range of old d l file entries - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the old d l file entries. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old d l file entries - * @param end the upper bound of the range of old d l file entries (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of old d l file entries - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the old d l file entries from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of old d l file entries. - * - * @return the number of old d l file entries - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static OldDLFileEntryPersistence getPersistence() { - if (_persistence == null) { - _persistence = (OldDLFileEntryPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - OldDLFileEntryPersistence.class.getName()); - - ReferenceRegistry.registerReference(OldDLFileEntryUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(OldDLFileEntryPersistence persistence) { - } - - private static OldDLFileEntryPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldDLFolderActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldDLFolderActionableDynamicQuery.java deleted file mode 100644 index 855e9f48..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldDLFolderActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.OldDLFolder; -import it.tref.liferay.portos.importazione.service.OldDLFolderLocalServiceUtil; - -/** - * @author 3FC - * @generated - */ -public abstract class OldDLFolderActionableDynamicQuery - extends BaseActionableDynamicQuery { - public OldDLFolderActionableDynamicQuery() throws SystemException { - setBaseLocalService(OldDLFolderLocalServiceUtil.getService()); - setClass(OldDLFolder.class); - - setClassLoader(it.tref.liferay.portos.importazione.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("folderId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldDLFolderPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldDLFolderPersistence.java deleted file mode 100644 index d939056c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldDLFolderPersistence.java +++ /dev/null @@ -1,235 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.importazione.model.OldDLFolder; - -/** - * The persistence interface for the old d l folder service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see OldDLFolderPersistenceImpl - * @see OldDLFolderUtil - * @generated - */ -public interface OldDLFolderPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link OldDLFolderUtil} to access the old d l folder persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns the old d l folder where repositoryId = ? and parentFolderId = ? and name = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchOldDLFolderException} if it could not be found. - * - * @param repositoryId the repository ID - * @param parentFolderId the parent folder ID - * @param name the name - * @return the matching old d l folder - * @throws it.tref.liferay.portos.importazione.NoSuchOldDLFolderException if a matching old d l folder could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.OldDLFolder findByByRepId_ParentId_Name( - long repositoryId, long parentFolderId, java.lang.String name) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldDLFolderException; - - /** - * Returns the old d l folder where repositoryId = ? and parentFolderId = ? and name = ? or returns null if it could not be found. Uses the finder cache. - * - * @param repositoryId the repository ID - * @param parentFolderId the parent folder ID - * @param name the name - * @return the matching old d l folder, or null if a matching old d l folder could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.OldDLFolder fetchByByRepId_ParentId_Name( - long repositoryId, long parentFolderId, java.lang.String name) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the old d l folder where repositoryId = ? and parentFolderId = ? and name = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param repositoryId the repository ID - * @param parentFolderId the parent folder ID - * @param name the name - * @param retrieveFromCache whether to use the finder cache - * @return the matching old d l folder, or null if a matching old d l folder could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.OldDLFolder fetchByByRepId_ParentId_Name( - long repositoryId, long parentFolderId, java.lang.String name, - boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the old d l folder where repositoryId = ? and parentFolderId = ? and name = ? from the database. - * - * @param repositoryId the repository ID - * @param parentFolderId the parent folder ID - * @param name the name - * @return the old d l folder that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.OldDLFolder removeByByRepId_ParentId_Name( - long repositoryId, long parentFolderId, java.lang.String name) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldDLFolderException; - - /** - * Returns the number of old d l folders where repositoryId = ? and parentFolderId = ? and name = ?. - * - * @param repositoryId the repository ID - * @param parentFolderId the parent folder ID - * @param name the name - * @return the number of matching old d l folders - * @throws SystemException if a system exception occurred - */ - public int countByByRepId_ParentId_Name(long repositoryId, - long parentFolderId, java.lang.String name) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the old d l folder in the entity cache if it is enabled. - * - * @param oldDLFolder the old d l folder - */ - public void cacheResult( - it.tref.liferay.portos.importazione.model.OldDLFolder oldDLFolder); - - /** - * Caches the old d l folders in the entity cache if it is enabled. - * - * @param oldDLFolders the old d l folders - */ - public void cacheResult( - java.util.List oldDLFolders); - - /** - * Creates a new old d l folder with the primary key. Does not add the old d l folder to the database. - * - * @param folderId the primary key for the new old d l folder - * @return the new old d l folder - */ - public it.tref.liferay.portos.importazione.model.OldDLFolder create( - long folderId); - - /** - * Removes the old d l folder with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param folderId the primary key of the old d l folder - * @return the old d l folder that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchOldDLFolderException if a old d l folder with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.OldDLFolder remove( - long folderId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldDLFolderException; - - public it.tref.liferay.portos.importazione.model.OldDLFolder updateImpl( - it.tref.liferay.portos.importazione.model.OldDLFolder oldDLFolder) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the old d l folder with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchOldDLFolderException} if it could not be found. - * - * @param folderId the primary key of the old d l folder - * @return the old d l folder - * @throws it.tref.liferay.portos.importazione.NoSuchOldDLFolderException if a old d l folder with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.OldDLFolder findByPrimaryKey( - long folderId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldDLFolderException; - - /** - * Returns the old d l folder with the primary key or returns null if it could not be found. - * - * @param folderId the primary key of the old d l folder - * @return the old d l folder, or null if a old d l folder with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.OldDLFolder fetchByPrimaryKey( - long folderId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the old d l folders. - * - * @return the old d l folders - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the old d l folders. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFolderModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old d l folders - * @param end the upper bound of the range of old d l folders (not inclusive) - * @return the range of old d l folders - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the old d l folders. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFolderModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old d l folders - * @param end the upper bound of the range of old d l folders (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of old d l folders - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the old d l folders from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of old d l folders. - * - * @return the number of old d l folders - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldDLFolderUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldDLFolderUtil.java deleted file mode 100644 index f56bcbbd..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldDLFolderUtil.java +++ /dev/null @@ -1,372 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.importazione.model.OldDLFolder; - -import java.util.List; - -/** - * The persistence utility for the old d l folder service. This utility wraps {@link OldDLFolderPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see OldDLFolderPersistence - * @see OldDLFolderPersistenceImpl - * @generated - */ -public class OldDLFolderUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(OldDLFolder oldDLFolder) { - getPersistence().clearCache(oldDLFolder); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static OldDLFolder update(OldDLFolder oldDLFolder) - throws SystemException { - return getPersistence().update(oldDLFolder); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static OldDLFolder update(OldDLFolder oldDLFolder, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(oldDLFolder, serviceContext); - } - - /** - * Returns the old d l folder where repositoryId = ? and parentFolderId = ? and name = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchOldDLFolderException} if it could not be found. - * - * @param repositoryId the repository ID - * @param parentFolderId the parent folder ID - * @param name the name - * @return the matching old d l folder - * @throws it.tref.liferay.portos.importazione.NoSuchOldDLFolderException if a matching old d l folder could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldDLFolder findByByRepId_ParentId_Name( - long repositoryId, long parentFolderId, java.lang.String name) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldDLFolderException { - return getPersistence() - .findByByRepId_ParentId_Name(repositoryId, parentFolderId, - name); - } - - /** - * Returns the old d l folder where repositoryId = ? and parentFolderId = ? and name = ? or returns null if it could not be found. Uses the finder cache. - * - * @param repositoryId the repository ID - * @param parentFolderId the parent folder ID - * @param name the name - * @return the matching old d l folder, or null if a matching old d l folder could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldDLFolder fetchByByRepId_ParentId_Name( - long repositoryId, long parentFolderId, java.lang.String name) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByByRepId_ParentId_Name(repositoryId, parentFolderId, - name); - } - - /** - * Returns the old d l folder where repositoryId = ? and parentFolderId = ? and name = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param repositoryId the repository ID - * @param parentFolderId the parent folder ID - * @param name the name - * @param retrieveFromCache whether to use the finder cache - * @return the matching old d l folder, or null if a matching old d l folder could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldDLFolder fetchByByRepId_ParentId_Name( - long repositoryId, long parentFolderId, java.lang.String name, - boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByByRepId_ParentId_Name(repositoryId, parentFolderId, - name, retrieveFromCache); - } - - /** - * Removes the old d l folder where repositoryId = ? and parentFolderId = ? and name = ? from the database. - * - * @param repositoryId the repository ID - * @param parentFolderId the parent folder ID - * @param name the name - * @return the old d l folder that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldDLFolder removeByByRepId_ParentId_Name( - long repositoryId, long parentFolderId, java.lang.String name) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldDLFolderException { - return getPersistence() - .removeByByRepId_ParentId_Name(repositoryId, parentFolderId, - name); - } - - /** - * Returns the number of old d l folders where repositoryId = ? and parentFolderId = ? and name = ?. - * - * @param repositoryId the repository ID - * @param parentFolderId the parent folder ID - * @param name the name - * @return the number of matching old d l folders - * @throws SystemException if a system exception occurred - */ - public static int countByByRepId_ParentId_Name(long repositoryId, - long parentFolderId, java.lang.String name) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByByRepId_ParentId_Name(repositoryId, parentFolderId, - name); - } - - /** - * Caches the old d l folder in the entity cache if it is enabled. - * - * @param oldDLFolder the old d l folder - */ - public static void cacheResult( - it.tref.liferay.portos.importazione.model.OldDLFolder oldDLFolder) { - getPersistence().cacheResult(oldDLFolder); - } - - /** - * Caches the old d l folders in the entity cache if it is enabled. - * - * @param oldDLFolders the old d l folders - */ - public static void cacheResult( - java.util.List oldDLFolders) { - getPersistence().cacheResult(oldDLFolders); - } - - /** - * Creates a new old d l folder with the primary key. Does not add the old d l folder to the database. - * - * @param folderId the primary key for the new old d l folder - * @return the new old d l folder - */ - public static it.tref.liferay.portos.importazione.model.OldDLFolder create( - long folderId) { - return getPersistence().create(folderId); - } - - /** - * Removes the old d l folder with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param folderId the primary key of the old d l folder - * @return the old d l folder that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchOldDLFolderException if a old d l folder with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldDLFolder remove( - long folderId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldDLFolderException { - return getPersistence().remove(folderId); - } - - public static it.tref.liferay.portos.importazione.model.OldDLFolder updateImpl( - it.tref.liferay.portos.importazione.model.OldDLFolder oldDLFolder) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(oldDLFolder); - } - - /** - * Returns the old d l folder with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchOldDLFolderException} if it could not be found. - * - * @param folderId the primary key of the old d l folder - * @return the old d l folder - * @throws it.tref.liferay.portos.importazione.NoSuchOldDLFolderException if a old d l folder with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldDLFolder findByPrimaryKey( - long folderId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldDLFolderException { - return getPersistence().findByPrimaryKey(folderId); - } - - /** - * Returns the old d l folder with the primary key or returns null if it could not be found. - * - * @param folderId the primary key of the old d l folder - * @return the old d l folder, or null if a old d l folder with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldDLFolder fetchByPrimaryKey( - long folderId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(folderId); - } - - /** - * Returns all the old d l folders. - * - * @return the old d l folders - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the old d l folders. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFolderModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old d l folders - * @param end the upper bound of the range of old d l folders (not inclusive) - * @return the range of old d l folders - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the old d l folders. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFolderModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old d l folders - * @param end the upper bound of the range of old d l folders (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of old d l folders - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the old d l folders from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of old d l folders. - * - * @return the number of old d l folders - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static OldDLFolderPersistence getPersistence() { - if (_persistence == null) { - _persistence = (OldDLFolderPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - OldDLFolderPersistence.class.getName()); - - ReferenceRegistry.registerReference(OldDLFolderUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(OldDLFolderPersistence persistence) { - } - - private static OldDLFolderPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldGroupActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldGroupActionableDynamicQuery.java deleted file mode 100644 index ad07e70b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldGroupActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.OldGroup; -import it.tref.liferay.portos.importazione.service.OldGroupLocalServiceUtil; - -/** - * @author 3FC - * @generated - */ -public abstract class OldGroupActionableDynamicQuery - extends BaseActionableDynamicQuery { - public OldGroupActionableDynamicQuery() throws SystemException { - setBaseLocalService(OldGroupLocalServiceUtil.getService()); - setClass(OldGroup.class); - - setClassLoader(it.tref.liferay.portos.importazione.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("groupId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldGroupPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldGroupPersistence.java deleted file mode 100644 index 943d9cf1..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldGroupPersistence.java +++ /dev/null @@ -1,165 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.importazione.model.OldGroup; - -/** - * The persistence interface for the old group service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see OldGroupPersistenceImpl - * @see OldGroupUtil - * @generated - */ -public interface OldGroupPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link OldGroupUtil} to access the old group persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Caches the old group in the entity cache if it is enabled. - * - * @param oldGroup the old group - */ - public void cacheResult( - it.tref.liferay.portos.importazione.model.OldGroup oldGroup); - - /** - * Caches the old groups in the entity cache if it is enabled. - * - * @param oldGroups the old groups - */ - public void cacheResult( - java.util.List oldGroups); - - /** - * Creates a new old group with the primary key. Does not add the old group to the database. - * - * @param groupId the primary key for the new old group - * @return the new old group - */ - public it.tref.liferay.portos.importazione.model.OldGroup create( - long groupId); - - /** - * Removes the old group with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param groupId the primary key of the old group - * @return the old group that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchOldGroupException if a old group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.OldGroup remove( - long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldGroupException; - - public it.tref.liferay.portos.importazione.model.OldGroup updateImpl( - it.tref.liferay.portos.importazione.model.OldGroup oldGroup) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the old group with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchOldGroupException} if it could not be found. - * - * @param groupId the primary key of the old group - * @return the old group - * @throws it.tref.liferay.portos.importazione.NoSuchOldGroupException if a old group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.OldGroup findByPrimaryKey( - long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldGroupException; - - /** - * Returns the old group with the primary key or returns null if it could not be found. - * - * @param groupId the primary key of the old group - * @return the old group, or null if a old group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.OldGroup fetchByPrimaryKey( - long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the old groups. - * - * @return the old groups - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the old groups. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldGroupModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old groups - * @param end the upper bound of the range of old groups (not inclusive) - * @return the range of old groups - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the old groups. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldGroupModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old groups - * @param end the upper bound of the range of old groups (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of old groups - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the old groups from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of old groups. - * - * @return the number of old groups - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldGroupUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldGroupUtil.java deleted file mode 100644 index 984967e2..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldGroupUtil.java +++ /dev/null @@ -1,281 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.importazione.model.OldGroup; - -import java.util.List; - -/** - * The persistence utility for the old group service. This utility wraps {@link OldGroupPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see OldGroupPersistence - * @see OldGroupPersistenceImpl - * @generated - */ -public class OldGroupUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(OldGroup oldGroup) { - getPersistence().clearCache(oldGroup); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static OldGroup update(OldGroup oldGroup) throws SystemException { - return getPersistence().update(oldGroup); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static OldGroup update(OldGroup oldGroup, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(oldGroup, serviceContext); - } - - /** - * Caches the old group in the entity cache if it is enabled. - * - * @param oldGroup the old group - */ - public static void cacheResult( - it.tref.liferay.portos.importazione.model.OldGroup oldGroup) { - getPersistence().cacheResult(oldGroup); - } - - /** - * Caches the old groups in the entity cache if it is enabled. - * - * @param oldGroups the old groups - */ - public static void cacheResult( - java.util.List oldGroups) { - getPersistence().cacheResult(oldGroups); - } - - /** - * Creates a new old group with the primary key. Does not add the old group to the database. - * - * @param groupId the primary key for the new old group - * @return the new old group - */ - public static it.tref.liferay.portos.importazione.model.OldGroup create( - long groupId) { - return getPersistence().create(groupId); - } - - /** - * Removes the old group with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param groupId the primary key of the old group - * @return the old group that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchOldGroupException if a old group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldGroup remove( - long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldGroupException { - return getPersistence().remove(groupId); - } - - public static it.tref.liferay.portos.importazione.model.OldGroup updateImpl( - it.tref.liferay.portos.importazione.model.OldGroup oldGroup) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(oldGroup); - } - - /** - * Returns the old group with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchOldGroupException} if it could not be found. - * - * @param groupId the primary key of the old group - * @return the old group - * @throws it.tref.liferay.portos.importazione.NoSuchOldGroupException if a old group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldGroup findByPrimaryKey( - long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldGroupException { - return getPersistence().findByPrimaryKey(groupId); - } - - /** - * Returns the old group with the primary key or returns null if it could not be found. - * - * @param groupId the primary key of the old group - * @return the old group, or null if a old group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldGroup fetchByPrimaryKey( - long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(groupId); - } - - /** - * Returns all the old groups. - * - * @return the old groups - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the old groups. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldGroupModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old groups - * @param end the upper bound of the range of old groups (not inclusive) - * @return the range of old groups - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the old groups. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldGroupModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old groups - * @param end the upper bound of the range of old groups (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of old groups - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the old groups from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of old groups. - * - * @return the number of old groups - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static OldGroupPersistence getPersistence() { - if (_persistence == null) { - _persistence = (OldGroupPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - OldGroupPersistence.class.getName()); - - ReferenceRegistry.registerReference(OldGroupUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(OldGroupPersistence persistence) { - } - - private static OldGroupPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldOrganizationActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldOrganizationActionableDynamicQuery.java deleted file mode 100644 index d52083cf..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldOrganizationActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.OldOrganization; -import it.tref.liferay.portos.importazione.service.OldOrganizationLocalServiceUtil; - -/** - * @author 3FC - * @generated - */ -public abstract class OldOrganizationActionableDynamicQuery - extends BaseActionableDynamicQuery { - public OldOrganizationActionableDynamicQuery() throws SystemException { - setBaseLocalService(OldOrganizationLocalServiceUtil.getService()); - setClass(OldOrganization.class); - - setClassLoader(it.tref.liferay.portos.importazione.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("organizationId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldOrganizationPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldOrganizationPersistence.java deleted file mode 100644 index 211bc5a9..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldOrganizationPersistence.java +++ /dev/null @@ -1,165 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.importazione.model.OldOrganization; - -/** - * The persistence interface for the old organization service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see OldOrganizationPersistenceImpl - * @see OldOrganizationUtil - * @generated - */ -public interface OldOrganizationPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link OldOrganizationUtil} to access the old organization persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Caches the old organization in the entity cache if it is enabled. - * - * @param oldOrganization the old organization - */ - public void cacheResult( - it.tref.liferay.portos.importazione.model.OldOrganization oldOrganization); - - /** - * Caches the old organizations in the entity cache if it is enabled. - * - * @param oldOrganizations the old organizations - */ - public void cacheResult( - java.util.List oldOrganizations); - - /** - * Creates a new old organization with the primary key. Does not add the old organization to the database. - * - * @param organizationId the primary key for the new old organization - * @return the new old organization - */ - public it.tref.liferay.portos.importazione.model.OldOrganization create( - long organizationId); - - /** - * Removes the old organization with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param organizationId the primary key of the old organization - * @return the old organization that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchOldOrganizationException if a old organization with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.OldOrganization remove( - long organizationId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldOrganizationException; - - public it.tref.liferay.portos.importazione.model.OldOrganization updateImpl( - it.tref.liferay.portos.importazione.model.OldOrganization oldOrganization) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the old organization with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchOldOrganizationException} if it could not be found. - * - * @param organizationId the primary key of the old organization - * @return the old organization - * @throws it.tref.liferay.portos.importazione.NoSuchOldOrganizationException if a old organization with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.OldOrganization findByPrimaryKey( - long organizationId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldOrganizationException; - - /** - * Returns the old organization with the primary key or returns null if it could not be found. - * - * @param organizationId the primary key of the old organization - * @return the old organization, or null if a old organization with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.OldOrganization fetchByPrimaryKey( - long organizationId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the old organizations. - * - * @return the old organizations - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the old organizations. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldOrganizationModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old organizations - * @param end the upper bound of the range of old organizations (not inclusive) - * @return the range of old organizations - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the old organizations. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldOrganizationModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old organizations - * @param end the upper bound of the range of old organizations (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of old organizations - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the old organizations from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of old organizations. - * - * @return the number of old organizations - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldOrganizationUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldOrganizationUtil.java deleted file mode 100644 index 220267bf..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldOrganizationUtil.java +++ /dev/null @@ -1,282 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.importazione.model.OldOrganization; - -import java.util.List; - -/** - * The persistence utility for the old organization service. This utility wraps {@link OldOrganizationPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see OldOrganizationPersistence - * @see OldOrganizationPersistenceImpl - * @generated - */ -public class OldOrganizationUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(OldOrganization oldOrganization) { - getPersistence().clearCache(oldOrganization); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static OldOrganization update(OldOrganization oldOrganization) - throws SystemException { - return getPersistence().update(oldOrganization); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static OldOrganization update(OldOrganization oldOrganization, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(oldOrganization, serviceContext); - } - - /** - * Caches the old organization in the entity cache if it is enabled. - * - * @param oldOrganization the old organization - */ - public static void cacheResult( - it.tref.liferay.portos.importazione.model.OldOrganization oldOrganization) { - getPersistence().cacheResult(oldOrganization); - } - - /** - * Caches the old organizations in the entity cache if it is enabled. - * - * @param oldOrganizations the old organizations - */ - public static void cacheResult( - java.util.List oldOrganizations) { - getPersistence().cacheResult(oldOrganizations); - } - - /** - * Creates a new old organization with the primary key. Does not add the old organization to the database. - * - * @param organizationId the primary key for the new old organization - * @return the new old organization - */ - public static it.tref.liferay.portos.importazione.model.OldOrganization create( - long organizationId) { - return getPersistence().create(organizationId); - } - - /** - * Removes the old organization with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param organizationId the primary key of the old organization - * @return the old organization that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchOldOrganizationException if a old organization with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldOrganization remove( - long organizationId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldOrganizationException { - return getPersistence().remove(organizationId); - } - - public static it.tref.liferay.portos.importazione.model.OldOrganization updateImpl( - it.tref.liferay.portos.importazione.model.OldOrganization oldOrganization) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(oldOrganization); - } - - /** - * Returns the old organization with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchOldOrganizationException} if it could not be found. - * - * @param organizationId the primary key of the old organization - * @return the old organization - * @throws it.tref.liferay.portos.importazione.NoSuchOldOrganizationException if a old organization with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldOrganization findByPrimaryKey( - long organizationId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldOrganizationException { - return getPersistence().findByPrimaryKey(organizationId); - } - - /** - * Returns the old organization with the primary key or returns null if it could not be found. - * - * @param organizationId the primary key of the old organization - * @return the old organization, or null if a old organization with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldOrganization fetchByPrimaryKey( - long organizationId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(organizationId); - } - - /** - * Returns all the old organizations. - * - * @return the old organizations - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the old organizations. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldOrganizationModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old organizations - * @param end the upper bound of the range of old organizations (not inclusive) - * @return the range of old organizations - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the old organizations. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldOrganizationModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old organizations - * @param end the upper bound of the range of old organizations (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of old organizations - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the old organizations from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of old organizations. - * - * @return the number of old organizations - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static OldOrganizationPersistence getPersistence() { - if (_persistence == null) { - _persistence = (OldOrganizationPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - OldOrganizationPersistence.class.getName()); - - ReferenceRegistry.registerReference(OldOrganizationUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(OldOrganizationPersistence persistence) { - } - - private static OldOrganizationPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldRoleActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldRoleActionableDynamicQuery.java deleted file mode 100644 index 1a5e6c2e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldRoleActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.OldRole; -import it.tref.liferay.portos.importazione.service.OldRoleLocalServiceUtil; - -/** - * @author 3FC - * @generated - */ -public abstract class OldRoleActionableDynamicQuery - extends BaseActionableDynamicQuery { - public OldRoleActionableDynamicQuery() throws SystemException { - setBaseLocalService(OldRoleLocalServiceUtil.getService()); - setClass(OldRole.class); - - setClassLoader(it.tref.liferay.portos.importazione.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("roleId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldRolePersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldRolePersistence.java deleted file mode 100644 index d679a1c9..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldRolePersistence.java +++ /dev/null @@ -1,162 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.importazione.model.OldRole; - -/** - * The persistence interface for the old role service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see OldRolePersistenceImpl - * @see OldRoleUtil - * @generated - */ -public interface OldRolePersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link OldRoleUtil} to access the old role persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Caches the old role in the entity cache if it is enabled. - * - * @param oldRole the old role - */ - public void cacheResult( - it.tref.liferay.portos.importazione.model.OldRole oldRole); - - /** - * Caches the old roles in the entity cache if it is enabled. - * - * @param oldRoles the old roles - */ - public void cacheResult( - java.util.List oldRoles); - - /** - * Creates a new old role with the primary key. Does not add the old role to the database. - * - * @param roleId the primary key for the new old role - * @return the new old role - */ - public it.tref.liferay.portos.importazione.model.OldRole create(long roleId); - - /** - * Removes the old role with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param roleId the primary key of the old role - * @return the old role that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchOldRoleException if a old role with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.OldRole remove(long roleId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldRoleException; - - public it.tref.liferay.portos.importazione.model.OldRole updateImpl( - it.tref.liferay.portos.importazione.model.OldRole oldRole) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the old role with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchOldRoleException} if it could not be found. - * - * @param roleId the primary key of the old role - * @return the old role - * @throws it.tref.liferay.portos.importazione.NoSuchOldRoleException if a old role with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.OldRole findByPrimaryKey( - long roleId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldRoleException; - - /** - * Returns the old role with the primary key or returns null if it could not be found. - * - * @param roleId the primary key of the old role - * @return the old role, or null if a old role with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.OldRole fetchByPrimaryKey( - long roleId) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the old roles. - * - * @return the old roles - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the old roles. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldRoleModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old roles - * @param end the upper bound of the range of old roles (not inclusive) - * @return the range of old roles - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the old roles. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldRoleModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old roles - * @param end the upper bound of the range of old roles (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of old roles - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the old roles from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of old roles. - * - * @return the number of old roles - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldRoleUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldRoleUtil.java deleted file mode 100644 index cb30a5ee..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldRoleUtil.java +++ /dev/null @@ -1,280 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.importazione.model.OldRole; - -import java.util.List; - -/** - * The persistence utility for the old role service. This utility wraps {@link OldRolePersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see OldRolePersistence - * @see OldRolePersistenceImpl - * @generated - */ -public class OldRoleUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(OldRole oldRole) { - getPersistence().clearCache(oldRole); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static OldRole update(OldRole oldRole) throws SystemException { - return getPersistence().update(oldRole); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static OldRole update(OldRole oldRole, ServiceContext serviceContext) - throws SystemException { - return getPersistence().update(oldRole, serviceContext); - } - - /** - * Caches the old role in the entity cache if it is enabled. - * - * @param oldRole the old role - */ - public static void cacheResult( - it.tref.liferay.portos.importazione.model.OldRole oldRole) { - getPersistence().cacheResult(oldRole); - } - - /** - * Caches the old roles in the entity cache if it is enabled. - * - * @param oldRoles the old roles - */ - public static void cacheResult( - java.util.List oldRoles) { - getPersistence().cacheResult(oldRoles); - } - - /** - * Creates a new old role with the primary key. Does not add the old role to the database. - * - * @param roleId the primary key for the new old role - * @return the new old role - */ - public static it.tref.liferay.portos.importazione.model.OldRole create( - long roleId) { - return getPersistence().create(roleId); - } - - /** - * Removes the old role with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param roleId the primary key of the old role - * @return the old role that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchOldRoleException if a old role with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldRole remove( - long roleId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldRoleException { - return getPersistence().remove(roleId); - } - - public static it.tref.liferay.portos.importazione.model.OldRole updateImpl( - it.tref.liferay.portos.importazione.model.OldRole oldRole) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(oldRole); - } - - /** - * Returns the old role with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchOldRoleException} if it could not be found. - * - * @param roleId the primary key of the old role - * @return the old role - * @throws it.tref.liferay.portos.importazione.NoSuchOldRoleException if a old role with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldRole findByPrimaryKey( - long roleId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldRoleException { - return getPersistence().findByPrimaryKey(roleId); - } - - /** - * Returns the old role with the primary key or returns null if it could not be found. - * - * @param roleId the primary key of the old role - * @return the old role, or null if a old role with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldRole fetchByPrimaryKey( - long roleId) throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(roleId); - } - - /** - * Returns all the old roles. - * - * @return the old roles - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the old roles. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldRoleModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old roles - * @param end the upper bound of the range of old roles (not inclusive) - * @return the range of old roles - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the old roles. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldRoleModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old roles - * @param end the upper bound of the range of old roles (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of old roles - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the old roles from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of old roles. - * - * @return the number of old roles - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static OldRolePersistence getPersistence() { - if (_persistence == null) { - _persistence = (OldRolePersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - OldRolePersistence.class.getName()); - - ReferenceRegistry.registerReference(OldRoleUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(OldRolePersistence persistence) { - } - - private static OldRolePersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldUserActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldUserActionableDynamicQuery.java deleted file mode 100644 index 5ac10cf5..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldUserActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.OldUser; -import it.tref.liferay.portos.importazione.service.OldUserLocalServiceUtil; - -/** - * @author 3FC - * @generated - */ -public abstract class OldUserActionableDynamicQuery - extends BaseActionableDynamicQuery { - public OldUserActionableDynamicQuery() throws SystemException { - setBaseLocalService(OldUserLocalServiceUtil.getService()); - setClass(OldUser.class); - - setClassLoader(it.tref.liferay.portos.importazione.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("userId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldUserGroupActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldUserGroupActionableDynamicQuery.java deleted file mode 100644 index 3ad7c806..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldUserGroupActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.OldUserGroup; -import it.tref.liferay.portos.importazione.service.OldUserGroupLocalServiceUtil; - -/** - * @author 3FC - * @generated - */ -public abstract class OldUserGroupActionableDynamicQuery - extends BaseActionableDynamicQuery { - public OldUserGroupActionableDynamicQuery() throws SystemException { - setBaseLocalService(OldUserGroupLocalServiceUtil.getService()); - setClass(OldUserGroup.class); - - setClassLoader(it.tref.liferay.portos.importazione.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("userGroupId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldUserGroupFinder.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldUserGroupFinder.java deleted file mode 100644 index 77fdfeb8..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldUserGroupFinder.java +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -/** - * @author 3FC - */ -public interface OldUserGroupFinder { - public java.util.List getOldUserGroupByUserId( - long userId); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldUserGroupFinderUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldUserGroupFinderUtil.java deleted file mode 100644 index b1eca6b1..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldUserGroupFinderUtil.java +++ /dev/null @@ -1,49 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; - -/** - * @author 3FC - */ -public class OldUserGroupFinderUtil { - public static java.util.List getOldUserGroupByUserId( - long userId) { - return getFinder().getOldUserGroupByUserId(userId); - } - - public static OldUserGroupFinder getFinder() { - if (_finder == null) { - _finder = (OldUserGroupFinder)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - OldUserGroupFinder.class.getName()); - - ReferenceRegistry.registerReference(OldUserGroupFinderUtil.class, - "_finder"); - } - - return _finder; - } - - public void setFinder(OldUserGroupFinder finder) { - _finder = finder; - - ReferenceRegistry.registerReference(OldUserGroupFinderUtil.class, - "_finder"); - } - - private static OldUserGroupFinder _finder; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldUserGroupPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldUserGroupPersistence.java deleted file mode 100644 index 82abe8da..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldUserGroupPersistence.java +++ /dev/null @@ -1,165 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.importazione.model.OldUserGroup; - -/** - * The persistence interface for the old user group service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see OldUserGroupPersistenceImpl - * @see OldUserGroupUtil - * @generated - */ -public interface OldUserGroupPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link OldUserGroupUtil} to access the old user group persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Caches the old user group in the entity cache if it is enabled. - * - * @param oldUserGroup the old user group - */ - public void cacheResult( - it.tref.liferay.portos.importazione.model.OldUserGroup oldUserGroup); - - /** - * Caches the old user groups in the entity cache if it is enabled. - * - * @param oldUserGroups the old user groups - */ - public void cacheResult( - java.util.List oldUserGroups); - - /** - * Creates a new old user group with the primary key. Does not add the old user group to the database. - * - * @param userGroupId the primary key for the new old user group - * @return the new old user group - */ - public it.tref.liferay.portos.importazione.model.OldUserGroup create( - long userGroupId); - - /** - * Removes the old user group with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param userGroupId the primary key of the old user group - * @return the old user group that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchOldUserGroupException if a old user group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.OldUserGroup remove( - long userGroupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldUserGroupException; - - public it.tref.liferay.portos.importazione.model.OldUserGroup updateImpl( - it.tref.liferay.portos.importazione.model.OldUserGroup oldUserGroup) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the old user group with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchOldUserGroupException} if it could not be found. - * - * @param userGroupId the primary key of the old user group - * @return the old user group - * @throws it.tref.liferay.portos.importazione.NoSuchOldUserGroupException if a old user group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.OldUserGroup findByPrimaryKey( - long userGroupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldUserGroupException; - - /** - * Returns the old user group with the primary key or returns null if it could not be found. - * - * @param userGroupId the primary key of the old user group - * @return the old user group, or null if a old user group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.OldUserGroup fetchByPrimaryKey( - long userGroupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the old user groups. - * - * @return the old user groups - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the old user groups. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldUserGroupModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old user groups - * @param end the upper bound of the range of old user groups (not inclusive) - * @return the range of old user groups - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the old user groups. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldUserGroupModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old user groups - * @param end the upper bound of the range of old user groups (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of old user groups - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the old user groups from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of old user groups. - * - * @return the number of old user groups - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldUserGroupUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldUserGroupUtil.java deleted file mode 100644 index a5b91410..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldUserGroupUtil.java +++ /dev/null @@ -1,282 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.importazione.model.OldUserGroup; - -import java.util.List; - -/** - * The persistence utility for the old user group service. This utility wraps {@link OldUserGroupPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see OldUserGroupPersistence - * @see OldUserGroupPersistenceImpl - * @generated - */ -public class OldUserGroupUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(OldUserGroup oldUserGroup) { - getPersistence().clearCache(oldUserGroup); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static OldUserGroup update(OldUserGroup oldUserGroup) - throws SystemException { - return getPersistence().update(oldUserGroup); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static OldUserGroup update(OldUserGroup oldUserGroup, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(oldUserGroup, serviceContext); - } - - /** - * Caches the old user group in the entity cache if it is enabled. - * - * @param oldUserGroup the old user group - */ - public static void cacheResult( - it.tref.liferay.portos.importazione.model.OldUserGroup oldUserGroup) { - getPersistence().cacheResult(oldUserGroup); - } - - /** - * Caches the old user groups in the entity cache if it is enabled. - * - * @param oldUserGroups the old user groups - */ - public static void cacheResult( - java.util.List oldUserGroups) { - getPersistence().cacheResult(oldUserGroups); - } - - /** - * Creates a new old user group with the primary key. Does not add the old user group to the database. - * - * @param userGroupId the primary key for the new old user group - * @return the new old user group - */ - public static it.tref.liferay.portos.importazione.model.OldUserGroup create( - long userGroupId) { - return getPersistence().create(userGroupId); - } - - /** - * Removes the old user group with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param userGroupId the primary key of the old user group - * @return the old user group that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchOldUserGroupException if a old user group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldUserGroup remove( - long userGroupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldUserGroupException { - return getPersistence().remove(userGroupId); - } - - public static it.tref.liferay.portos.importazione.model.OldUserGroup updateImpl( - it.tref.liferay.portos.importazione.model.OldUserGroup oldUserGroup) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(oldUserGroup); - } - - /** - * Returns the old user group with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchOldUserGroupException} if it could not be found. - * - * @param userGroupId the primary key of the old user group - * @return the old user group - * @throws it.tref.liferay.portos.importazione.NoSuchOldUserGroupException if a old user group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldUserGroup findByPrimaryKey( - long userGroupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldUserGroupException { - return getPersistence().findByPrimaryKey(userGroupId); - } - - /** - * Returns the old user group with the primary key or returns null if it could not be found. - * - * @param userGroupId the primary key of the old user group - * @return the old user group, or null if a old user group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldUserGroup fetchByPrimaryKey( - long userGroupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(userGroupId); - } - - /** - * Returns all the old user groups. - * - * @return the old user groups - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the old user groups. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldUserGroupModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old user groups - * @param end the upper bound of the range of old user groups (not inclusive) - * @return the range of old user groups - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the old user groups. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldUserGroupModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old user groups - * @param end the upper bound of the range of old user groups (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of old user groups - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the old user groups from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of old user groups. - * - * @return the number of old user groups - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static OldUserGroupPersistence getPersistence() { - if (_persistence == null) { - _persistence = (OldUserGroupPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - OldUserGroupPersistence.class.getName()); - - ReferenceRegistry.registerReference(OldUserGroupUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(OldUserGroupPersistence persistence) { - } - - private static OldUserGroupPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldUserPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldUserPersistence.java deleted file mode 100644 index b09d12bf..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldUserPersistence.java +++ /dev/null @@ -1,162 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.importazione.model.OldUser; - -/** - * The persistence interface for the old user service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see OldUserPersistenceImpl - * @see OldUserUtil - * @generated - */ -public interface OldUserPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link OldUserUtil} to access the old user persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Caches the old user in the entity cache if it is enabled. - * - * @param oldUser the old user - */ - public void cacheResult( - it.tref.liferay.portos.importazione.model.OldUser oldUser); - - /** - * Caches the old users in the entity cache if it is enabled. - * - * @param oldUsers the old users - */ - public void cacheResult( - java.util.List oldUsers); - - /** - * Creates a new old user with the primary key. Does not add the old user to the database. - * - * @param userId the primary key for the new old user - * @return the new old user - */ - public it.tref.liferay.portos.importazione.model.OldUser create(long userId); - - /** - * Removes the old user with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param userId the primary key of the old user - * @return the old user that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchOldUserException if a old user with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.OldUser remove(long userId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldUserException; - - public it.tref.liferay.portos.importazione.model.OldUser updateImpl( - it.tref.liferay.portos.importazione.model.OldUser oldUser) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the old user with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchOldUserException} if it could not be found. - * - * @param userId the primary key of the old user - * @return the old user - * @throws it.tref.liferay.portos.importazione.NoSuchOldUserException if a old user with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.OldUser findByPrimaryKey( - long userId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldUserException; - - /** - * Returns the old user with the primary key or returns null if it could not be found. - * - * @param userId the primary key of the old user - * @return the old user, or null if a old user with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.OldUser fetchByPrimaryKey( - long userId) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the old users. - * - * @return the old users - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the old users. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldUserModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old users - * @param end the upper bound of the range of old users (not inclusive) - * @return the range of old users - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the old users. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldUserModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old users - * @param end the upper bound of the range of old users (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of old users - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the old users from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of old users. - * - * @return the number of old users - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldUserUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldUserUtil.java deleted file mode 100644 index 8240abdd..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/OldUserUtil.java +++ /dev/null @@ -1,280 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.importazione.model.OldUser; - -import java.util.List; - -/** - * The persistence utility for the old user service. This utility wraps {@link OldUserPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see OldUserPersistence - * @see OldUserPersistenceImpl - * @generated - */ -public class OldUserUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(OldUser oldUser) { - getPersistence().clearCache(oldUser); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static OldUser update(OldUser oldUser) throws SystemException { - return getPersistence().update(oldUser); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static OldUser update(OldUser oldUser, ServiceContext serviceContext) - throws SystemException { - return getPersistence().update(oldUser, serviceContext); - } - - /** - * Caches the old user in the entity cache if it is enabled. - * - * @param oldUser the old user - */ - public static void cacheResult( - it.tref.liferay.portos.importazione.model.OldUser oldUser) { - getPersistence().cacheResult(oldUser); - } - - /** - * Caches the old users in the entity cache if it is enabled. - * - * @param oldUsers the old users - */ - public static void cacheResult( - java.util.List oldUsers) { - getPersistence().cacheResult(oldUsers); - } - - /** - * Creates a new old user with the primary key. Does not add the old user to the database. - * - * @param userId the primary key for the new old user - * @return the new old user - */ - public static it.tref.liferay.portos.importazione.model.OldUser create( - long userId) { - return getPersistence().create(userId); - } - - /** - * Removes the old user with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param userId the primary key of the old user - * @return the old user that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchOldUserException if a old user with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldUser remove( - long userId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldUserException { - return getPersistence().remove(userId); - } - - public static it.tref.liferay.portos.importazione.model.OldUser updateImpl( - it.tref.liferay.portos.importazione.model.OldUser oldUser) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(oldUser); - } - - /** - * Returns the old user with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchOldUserException} if it could not be found. - * - * @param userId the primary key of the old user - * @return the old user - * @throws it.tref.liferay.portos.importazione.NoSuchOldUserException if a old user with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldUser findByPrimaryKey( - long userId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchOldUserException { - return getPersistence().findByPrimaryKey(userId); - } - - /** - * Returns the old user with the primary key or returns null if it could not be found. - * - * @param userId the primary key of the old user - * @return the old user, or null if a old user with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.OldUser fetchByPrimaryKey( - long userId) throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(userId); - } - - /** - * Returns all the old users. - * - * @return the old users - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the old users. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldUserModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old users - * @param end the upper bound of the range of old users (not inclusive) - * @return the range of old users - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the old users. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldUserModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old users - * @param end the upper bound of the range of old users (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of old users - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the old users from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of old users. - * - * @return the number of old users - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static OldUserPersistence getPersistence() { - if (_persistence == null) { - _persistence = (OldUserPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - OldUserPersistence.class.getName()); - - ReferenceRegistry.registerReference(OldUserUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(OldUserPersistence persistence) { - } - - private static OldUserPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/ProceduraImportazioneActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/ProceduraImportazioneActionableDynamicQuery.java deleted file mode 100644 index d0f7c800..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/ProceduraImportazioneActionableDynamicQuery.java +++ /dev/null @@ -1,38 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.ProceduraImportazione; -import it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalServiceUtil; - -/** - * @author 3FC - * @generated - */ -public abstract class ProceduraImportazioneActionableDynamicQuery - extends BaseActionableDynamicQuery { - public ProceduraImportazioneActionableDynamicQuery() - throws SystemException { - setBaseLocalService(ProceduraImportazioneLocalServiceUtil.getService()); - setClass(ProceduraImportazione.class); - - setClassLoader(it.tref.liferay.portos.importazione.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("proceduraImportazioneId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/ProceduraImportazionePersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/ProceduraImportazionePersistence.java deleted file mode 100644 index 9690066a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/ProceduraImportazionePersistence.java +++ /dev/null @@ -1,165 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.importazione.model.ProceduraImportazione; - -/** - * The persistence interface for the procedura importazione service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see ProceduraImportazionePersistenceImpl - * @see ProceduraImportazioneUtil - * @generated - */ -public interface ProceduraImportazionePersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link ProceduraImportazioneUtil} to access the procedura importazione persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Caches the procedura importazione in the entity cache if it is enabled. - * - * @param proceduraImportazione the procedura importazione - */ - public void cacheResult( - it.tref.liferay.portos.importazione.model.ProceduraImportazione proceduraImportazione); - - /** - * Caches the procedura importaziones in the entity cache if it is enabled. - * - * @param proceduraImportaziones the procedura importaziones - */ - public void cacheResult( - java.util.List proceduraImportaziones); - - /** - * Creates a new procedura importazione with the primary key. Does not add the procedura importazione to the database. - * - * @param proceduraImportazioneId the primary key for the new procedura importazione - * @return the new procedura importazione - */ - public it.tref.liferay.portos.importazione.model.ProceduraImportazione create( - long proceduraImportazioneId); - - /** - * Removes the procedura importazione with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param proceduraImportazioneId the primary key of the procedura importazione - * @return the procedura importazione that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchProceduraImportazioneException if a procedura importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.ProceduraImportazione remove( - long proceduraImportazioneId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchProceduraImportazioneException; - - public it.tref.liferay.portos.importazione.model.ProceduraImportazione updateImpl( - it.tref.liferay.portos.importazione.model.ProceduraImportazione proceduraImportazione) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the procedura importazione with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchProceduraImportazioneException} if it could not be found. - * - * @param proceduraImportazioneId the primary key of the procedura importazione - * @return the procedura importazione - * @throws it.tref.liferay.portos.importazione.NoSuchProceduraImportazioneException if a procedura importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.ProceduraImportazione findByPrimaryKey( - long proceduraImportazioneId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchProceduraImportazioneException; - - /** - * Returns the procedura importazione with the primary key or returns null if it could not be found. - * - * @param proceduraImportazioneId the primary key of the procedura importazione - * @return the procedura importazione, or null if a procedura importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.ProceduraImportazione fetchByPrimaryKey( - long proceduraImportazioneId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the procedura importaziones. - * - * @return the procedura importaziones - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the procedura importaziones. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.ProceduraImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of procedura importaziones - * @param end the upper bound of the range of procedura importaziones (not inclusive) - * @return the range of procedura importaziones - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the procedura importaziones. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.ProceduraImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of procedura importaziones - * @param end the upper bound of the range of procedura importaziones (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of procedura importaziones - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the procedura importaziones from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of procedura importaziones. - * - * @return the number of procedura importaziones - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/ProceduraImportazioneUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/ProceduraImportazioneUtil.java deleted file mode 100644 index 948c3748..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/ProceduraImportazioneUtil.java +++ /dev/null @@ -1,283 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.importazione.model.ProceduraImportazione; - -import java.util.List; - -/** - * The persistence utility for the procedura importazione service. This utility wraps {@link ProceduraImportazionePersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see ProceduraImportazionePersistence - * @see ProceduraImportazionePersistenceImpl - * @generated - */ -public class ProceduraImportazioneUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(ProceduraImportazione proceduraImportazione) { - getPersistence().clearCache(proceduraImportazione); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static ProceduraImportazione update( - ProceduraImportazione proceduraImportazione) throws SystemException { - return getPersistence().update(proceduraImportazione); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static ProceduraImportazione update( - ProceduraImportazione proceduraImportazione, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(proceduraImportazione, serviceContext); - } - - /** - * Caches the procedura importazione in the entity cache if it is enabled. - * - * @param proceduraImportazione the procedura importazione - */ - public static void cacheResult( - it.tref.liferay.portos.importazione.model.ProceduraImportazione proceduraImportazione) { - getPersistence().cacheResult(proceduraImportazione); - } - - /** - * Caches the procedura importaziones in the entity cache if it is enabled. - * - * @param proceduraImportaziones the procedura importaziones - */ - public static void cacheResult( - java.util.List proceduraImportaziones) { - getPersistence().cacheResult(proceduraImportaziones); - } - - /** - * Creates a new procedura importazione with the primary key. Does not add the procedura importazione to the database. - * - * @param proceduraImportazioneId the primary key for the new procedura importazione - * @return the new procedura importazione - */ - public static it.tref.liferay.portos.importazione.model.ProceduraImportazione create( - long proceduraImportazioneId) { - return getPersistence().create(proceduraImportazioneId); - } - - /** - * Removes the procedura importazione with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param proceduraImportazioneId the primary key of the procedura importazione - * @return the procedura importazione that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchProceduraImportazioneException if a procedura importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.ProceduraImportazione remove( - long proceduraImportazioneId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchProceduraImportazioneException { - return getPersistence().remove(proceduraImportazioneId); - } - - public static it.tref.liferay.portos.importazione.model.ProceduraImportazione updateImpl( - it.tref.liferay.portos.importazione.model.ProceduraImportazione proceduraImportazione) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(proceduraImportazione); - } - - /** - * Returns the procedura importazione with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchProceduraImportazioneException} if it could not be found. - * - * @param proceduraImportazioneId the primary key of the procedura importazione - * @return the procedura importazione - * @throws it.tref.liferay.portos.importazione.NoSuchProceduraImportazioneException if a procedura importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.ProceduraImportazione findByPrimaryKey( - long proceduraImportazioneId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchProceduraImportazioneException { - return getPersistence().findByPrimaryKey(proceduraImportazioneId); - } - - /** - * Returns the procedura importazione with the primary key or returns null if it could not be found. - * - * @param proceduraImportazioneId the primary key of the procedura importazione - * @return the procedura importazione, or null if a procedura importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.ProceduraImportazione fetchByPrimaryKey( - long proceduraImportazioneId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(proceduraImportazioneId); - } - - /** - * Returns all the procedura importaziones. - * - * @return the procedura importaziones - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the procedura importaziones. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.ProceduraImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of procedura importaziones - * @param end the upper bound of the range of procedura importaziones (not inclusive) - * @return the range of procedura importaziones - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the procedura importaziones. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.ProceduraImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of procedura importaziones - * @param end the upper bound of the range of procedura importaziones (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of procedura importaziones - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the procedura importaziones from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of procedura importaziones. - * - * @return the number of procedura importaziones - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static ProceduraImportazionePersistence getPersistence() { - if (_persistence == null) { - _persistence = (ProceduraImportazionePersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - ProceduraImportazionePersistence.class.getName()); - - ReferenceRegistry.registerReference(ProceduraImportazioneUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(ProceduraImportazionePersistence persistence) { - } - - private static ProceduraImportazionePersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/StatoImportazioneActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/StatoImportazioneActionableDynamicQuery.java deleted file mode 100644 index 9ad9d873..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/StatoImportazioneActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.StatoImportazione; -import it.tref.liferay.portos.importazione.service.StatoImportazioneLocalServiceUtil; - -/** - * @author 3FC - * @generated - */ -public abstract class StatoImportazioneActionableDynamicQuery - extends BaseActionableDynamicQuery { - public StatoImportazioneActionableDynamicQuery() throws SystemException { - setBaseLocalService(StatoImportazioneLocalServiceUtil.getService()); - setClass(StatoImportazione.class); - - setClassLoader(it.tref.liferay.portos.importazione.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("statoImportazioneId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/StatoImportazionePersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/StatoImportazionePersistence.java deleted file mode 100644 index 96cade44..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/StatoImportazionePersistence.java +++ /dev/null @@ -1,303 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.importazione.model.StatoImportazione; - -/** - * The persistence interface for the stato importazione service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see StatoImportazionePersistenceImpl - * @see StatoImportazioneUtil - * @generated - */ -public interface StatoImportazionePersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link StatoImportazioneUtil} to access the stato importazione persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns all the stato importaziones where className = ?. - * - * @param className the class name - * @return the matching stato importaziones - * @throws SystemException if a system exception occurred - */ - public java.util.List findByClassName( - java.lang.String className) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the stato importaziones where className = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.StatoImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param className the class name - * @param start the lower bound of the range of stato importaziones - * @param end the upper bound of the range of stato importaziones (not inclusive) - * @return the range of matching stato importaziones - * @throws SystemException if a system exception occurred - */ - public java.util.List findByClassName( - java.lang.String className, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the stato importaziones where className = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.StatoImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param className the class name - * @param start the lower bound of the range of stato importaziones - * @param end the upper bound of the range of stato importaziones (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching stato importaziones - * @throws SystemException if a system exception occurred - */ - public java.util.List findByClassName( - java.lang.String className, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first stato importazione in the ordered set where className = ?. - * - * @param className the class name - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching stato importazione - * @throws it.tref.liferay.portos.importazione.NoSuchStatoImportazioneException if a matching stato importazione could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.StatoImportazione findByClassName_First( - java.lang.String className, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchStatoImportazioneException; - - /** - * Returns the first stato importazione in the ordered set where className = ?. - * - * @param className the class name - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching stato importazione, or null if a matching stato importazione could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.StatoImportazione fetchByClassName_First( - java.lang.String className, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last stato importazione in the ordered set where className = ?. - * - * @param className the class name - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching stato importazione - * @throws it.tref.liferay.portos.importazione.NoSuchStatoImportazioneException if a matching stato importazione could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.StatoImportazione findByClassName_Last( - java.lang.String className, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchStatoImportazioneException; - - /** - * Returns the last stato importazione in the ordered set where className = ?. - * - * @param className the class name - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching stato importazione, or null if a matching stato importazione could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.StatoImportazione fetchByClassName_Last( - java.lang.String className, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the stato importaziones before and after the current stato importazione in the ordered set where className = ?. - * - * @param statoImportazioneId the primary key of the current stato importazione - * @param className the class name - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next stato importazione - * @throws it.tref.liferay.portos.importazione.NoSuchStatoImportazioneException if a stato importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.StatoImportazione[] findByClassName_PrevAndNext( - long statoImportazioneId, java.lang.String className, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchStatoImportazioneException; - - /** - * Removes all the stato importaziones where className = ? from the database. - * - * @param className the class name - * @throws SystemException if a system exception occurred - */ - public void removeByClassName(java.lang.String className) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of stato importaziones where className = ?. - * - * @param className the class name - * @return the number of matching stato importaziones - * @throws SystemException if a system exception occurred - */ - public int countByClassName(java.lang.String className) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the stato importazione in the entity cache if it is enabled. - * - * @param statoImportazione the stato importazione - */ - public void cacheResult( - it.tref.liferay.portos.importazione.model.StatoImportazione statoImportazione); - - /** - * Caches the stato importaziones in the entity cache if it is enabled. - * - * @param statoImportaziones the stato importaziones - */ - public void cacheResult( - java.util.List statoImportaziones); - - /** - * Creates a new stato importazione with the primary key. Does not add the stato importazione to the database. - * - * @param statoImportazioneId the primary key for the new stato importazione - * @return the new stato importazione - */ - public it.tref.liferay.portos.importazione.model.StatoImportazione create( - long statoImportazioneId); - - /** - * Removes the stato importazione with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param statoImportazioneId the primary key of the stato importazione - * @return the stato importazione that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchStatoImportazioneException if a stato importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.StatoImportazione remove( - long statoImportazioneId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchStatoImportazioneException; - - public it.tref.liferay.portos.importazione.model.StatoImportazione updateImpl( - it.tref.liferay.portos.importazione.model.StatoImportazione statoImportazione) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the stato importazione with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchStatoImportazioneException} if it could not be found. - * - * @param statoImportazioneId the primary key of the stato importazione - * @return the stato importazione - * @throws it.tref.liferay.portos.importazione.NoSuchStatoImportazioneException if a stato importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.StatoImportazione findByPrimaryKey( - long statoImportazioneId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchStatoImportazioneException; - - /** - * Returns the stato importazione with the primary key or returns null if it could not be found. - * - * @param statoImportazioneId the primary key of the stato importazione - * @return the stato importazione, or null if a stato importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.importazione.model.StatoImportazione fetchByPrimaryKey( - long statoImportazioneId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the stato importaziones. - * - * @return the stato importaziones - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the stato importaziones. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.StatoImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of stato importaziones - * @param end the upper bound of the range of stato importaziones (not inclusive) - * @return the range of stato importaziones - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the stato importaziones. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.StatoImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of stato importaziones - * @param end the upper bound of the range of stato importaziones (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of stato importaziones - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the stato importaziones from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of stato importaziones. - * - * @return the number of stato importaziones - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/StatoImportazioneUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/StatoImportazioneUtil.java deleted file mode 100644 index 659d5efe..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/importazione/service/persistence/StatoImportazioneUtil.java +++ /dev/null @@ -1,448 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.importazione.model.StatoImportazione; - -import java.util.List; - -/** - * The persistence utility for the stato importazione service. This utility wraps {@link StatoImportazionePersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see StatoImportazionePersistence - * @see StatoImportazionePersistenceImpl - * @generated - */ -public class StatoImportazioneUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(StatoImportazione statoImportazione) { - getPersistence().clearCache(statoImportazione); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static StatoImportazione update(StatoImportazione statoImportazione) - throws SystemException { - return getPersistence().update(statoImportazione); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static StatoImportazione update( - StatoImportazione statoImportazione, ServiceContext serviceContext) - throws SystemException { - return getPersistence().update(statoImportazione, serviceContext); - } - - /** - * Returns all the stato importaziones where className = ?. - * - * @param className the class name - * @return the matching stato importaziones - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByClassName( - java.lang.String className) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByClassName(className); - } - - /** - * Returns a range of all the stato importaziones where className = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.StatoImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param className the class name - * @param start the lower bound of the range of stato importaziones - * @param end the upper bound of the range of stato importaziones (not inclusive) - * @return the range of matching stato importaziones - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByClassName( - java.lang.String className, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByClassName(className, start, end); - } - - /** - * Returns an ordered range of all the stato importaziones where className = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.StatoImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param className the class name - * @param start the lower bound of the range of stato importaziones - * @param end the upper bound of the range of stato importaziones (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching stato importaziones - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByClassName( - java.lang.String className, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByClassName(className, start, end, orderByComparator); - } - - /** - * Returns the first stato importazione in the ordered set where className = ?. - * - * @param className the class name - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching stato importazione - * @throws it.tref.liferay.portos.importazione.NoSuchStatoImportazioneException if a matching stato importazione could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.StatoImportazione findByClassName_First( - java.lang.String className, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchStatoImportazioneException { - return getPersistence() - .findByClassName_First(className, orderByComparator); - } - - /** - * Returns the first stato importazione in the ordered set where className = ?. - * - * @param className the class name - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching stato importazione, or null if a matching stato importazione could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.StatoImportazione fetchByClassName_First( - java.lang.String className, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByClassName_First(className, orderByComparator); - } - - /** - * Returns the last stato importazione in the ordered set where className = ?. - * - * @param className the class name - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching stato importazione - * @throws it.tref.liferay.portos.importazione.NoSuchStatoImportazioneException if a matching stato importazione could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.StatoImportazione findByClassName_Last( - java.lang.String className, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchStatoImportazioneException { - return getPersistence() - .findByClassName_Last(className, orderByComparator); - } - - /** - * Returns the last stato importazione in the ordered set where className = ?. - * - * @param className the class name - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching stato importazione, or null if a matching stato importazione could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.StatoImportazione fetchByClassName_Last( - java.lang.String className, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByClassName_Last(className, orderByComparator); - } - - /** - * Returns the stato importaziones before and after the current stato importazione in the ordered set where className = ?. - * - * @param statoImportazioneId the primary key of the current stato importazione - * @param className the class name - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next stato importazione - * @throws it.tref.liferay.portos.importazione.NoSuchStatoImportazioneException if a stato importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.StatoImportazione[] findByClassName_PrevAndNext( - long statoImportazioneId, java.lang.String className, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchStatoImportazioneException { - return getPersistence() - .findByClassName_PrevAndNext(statoImportazioneId, className, - orderByComparator); - } - - /** - * Removes all the stato importaziones where className = ? from the database. - * - * @param className the class name - * @throws SystemException if a system exception occurred - */ - public static void removeByClassName(java.lang.String className) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByClassName(className); - } - - /** - * Returns the number of stato importaziones where className = ?. - * - * @param className the class name - * @return the number of matching stato importaziones - * @throws SystemException if a system exception occurred - */ - public static int countByClassName(java.lang.String className) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByClassName(className); - } - - /** - * Caches the stato importazione in the entity cache if it is enabled. - * - * @param statoImportazione the stato importazione - */ - public static void cacheResult( - it.tref.liferay.portos.importazione.model.StatoImportazione statoImportazione) { - getPersistence().cacheResult(statoImportazione); - } - - /** - * Caches the stato importaziones in the entity cache if it is enabled. - * - * @param statoImportaziones the stato importaziones - */ - public static void cacheResult( - java.util.List statoImportaziones) { - getPersistence().cacheResult(statoImportaziones); - } - - /** - * Creates a new stato importazione with the primary key. Does not add the stato importazione to the database. - * - * @param statoImportazioneId the primary key for the new stato importazione - * @return the new stato importazione - */ - public static it.tref.liferay.portos.importazione.model.StatoImportazione create( - long statoImportazioneId) { - return getPersistence().create(statoImportazioneId); - } - - /** - * Removes the stato importazione with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param statoImportazioneId the primary key of the stato importazione - * @return the stato importazione that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchStatoImportazioneException if a stato importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.StatoImportazione remove( - long statoImportazioneId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchStatoImportazioneException { - return getPersistence().remove(statoImportazioneId); - } - - public static it.tref.liferay.portos.importazione.model.StatoImportazione updateImpl( - it.tref.liferay.portos.importazione.model.StatoImportazione statoImportazione) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(statoImportazione); - } - - /** - * Returns the stato importazione with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchStatoImportazioneException} if it could not be found. - * - * @param statoImportazioneId the primary key of the stato importazione - * @return the stato importazione - * @throws it.tref.liferay.portos.importazione.NoSuchStatoImportazioneException if a stato importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.StatoImportazione findByPrimaryKey( - long statoImportazioneId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.importazione.NoSuchStatoImportazioneException { - return getPersistence().findByPrimaryKey(statoImportazioneId); - } - - /** - * Returns the stato importazione with the primary key or returns null if it could not be found. - * - * @param statoImportazioneId the primary key of the stato importazione - * @return the stato importazione, or null if a stato importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.importazione.model.StatoImportazione fetchByPrimaryKey( - long statoImportazioneId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(statoImportazioneId); - } - - /** - * Returns all the stato importaziones. - * - * @return the stato importaziones - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the stato importaziones. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.StatoImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of stato importaziones - * @param end the upper bound of the range of stato importaziones (not inclusive) - * @return the range of stato importaziones - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the stato importaziones. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.StatoImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of stato importaziones - * @param end the upper bound of the range of stato importaziones (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of stato importaziones - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the stato importaziones from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of stato importaziones. - * - * @return the number of stato importaziones - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static StatoImportazionePersistence getPersistence() { - if (_persistence == null) { - _persistence = (StatoImportazionePersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), - StatoImportazionePersistence.class.getName()); - - ReferenceRegistry.registerReference(StatoImportazioneUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(StatoImportazionePersistence persistence) { - } - - private static StatoImportazionePersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/sql/indexes.properties b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/sql/indexes.properties deleted file mode 100644 index b897b0bc..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/sql/indexes.properties +++ /dev/null @@ -1,15 +0,0 @@ -IX_4052E28=kaleoinstance.ClassPK - -IX_DD3686D9=kaleoinstancetoken.ClassPK - -IX_391060DE=kaleolog.CompanyId -IX_169323D4=kaleolog.KaleoDefinitionId -IX_56A01716=kaleolog.KaleoInstanceId - -IX_5D4AA65B=kaleotaskassignmentinstance.CompanyId -IX_38229C51=kaleotaskassignmentinstance.KaleoDefinitionId -IX_C9BD8AD3=kaleotaskassignmentinstance.KaleoInstanceId - -IX_3E673D5E=kaleotaskinstancetoken.ClassPK - -IX_B0DF1B79=old_portos_StatoImportazione.ClassName \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/sql/indexes.sql b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/sql/indexes.sql deleted file mode 100644 index 4b859ade..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/sql/indexes.sql +++ /dev/null @@ -1,15 +0,0 @@ -create index IX_4052E28 on kaleoinstance (classPK); - -create index IX_DD3686D9 on kaleoinstancetoken (classPK); - -create index IX_391060DE on kaleolog (companyId); -create index IX_169323D4 on kaleolog (kaleoDefinitionId); -create index IX_56A01716 on kaleolog (kaleoInstanceId); - -create index IX_5D4AA65B on kaleotaskassignmentinstance (companyId); -create index IX_38229C51 on kaleotaskassignmentinstance (kaleoDefinitionId); -create index IX_C9BD8AD3 on kaleotaskassignmentinstance (kaleoInstanceId); - -create index IX_3E673D5E on kaleotaskinstancetoken (classPK); - -create index IX_B0DF1B79 on old_portos_StatoImportazione (className); \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/sql/sequences.sql b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/sql/sequences.sql deleted file mode 100644 index e69de29b..00000000 diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/sql/tables.sql b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/sql/tables.sql deleted file mode 100644 index 1abef9c8..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/sql/tables.sql +++ /dev/null @@ -1,164 +0,0 @@ -create table kaleoinstance ( - kaleoInstanceId LONG not null primary key, - groupId LONG, - companyId LONG, - userId LONG, - userName VARCHAR(200) null, - createDate DATE null, - modifiedDate DATE null, - kaleoDefinitionId LONG, - kaleoDefinitionName VARCHAR(200) null, - kaleoDefinitionVersion INTEGER, - rootKaleoInstanceTokenId LONG, - className VARCHAR(200) null, - classPK LONG, - completed BOOLEAN, - completionDate DATE null, - workflowContext TEXT null -); - -create table kaleoinstancetoken ( - kaleoInstanceTokenId LONG not null primary key, - groupId LONG, - companyId LONG, - userId LONG, - userName VARCHAR(200) null, - createDate DATE null, - modifiedDate DATE null, - kaleoDefinitionId LONG, - kaleoInstanceId LONG, - parentKaleoInstanceTokenId LONG, - currentKaleoNodeId LONG, - currentKaleoNodeName VARCHAR(200) null, - className VARCHAR(200) null, - classPK LONG, - completed BOOLEAN, - completionDate DATE null -); - -create table kaleolog ( - kaleoLogId LONG not null primary key, - groupId LONG, - companyId LONG, - userId LONG, - userName VARCHAR(200) null, - createDate DATE null, - modifiedDate DATE null, - kaleoClassName VARCHAR(200) null, - kaleoClassPK LONG, - kaleoDefinitionId LONG, - kaleoInstanceId LONG, - kaleoInstanceTokenId LONG, - kaleoTaskInstanceTokenId LONG, - kaleoNodeName VARCHAR(200) null, - terminalKaleoNode BOOLEAN, - kaleoActionId LONG, - kaleoActionName VARCHAR(200) null, - kaleoActionDescription VARCHAR(200) null, - previousKaleoNodeId LONG, - previousKaleoNodeName VARCHAR(200) null, - previousAssigneeClassName VARCHAR(200) null, - previousAssigneeClassPK LONG, - currentAssigneeClassName VARCHAR(200) null, - currentAssigneeClassPK LONG, - type_ VARCHAR(200) null, - comment_ STRING null, - startDate DATE null, - endDate DATE null, - duration LONG, - workflowContext TEXT null -); - -create table kaleonode ( - kaleoNodeId LONG not null primary key, - groupId LONG, - companyId LONG, - userId LONG, - userName VARCHAR(200) null, - createDate DATE null, - modifiedDate DATE null, - kaleoDefinitionId LONG, - name VARCHAR(200) null, - metadata STRING null, - description STRING null, - type_ VARCHAR(20) null, - initial_ BOOLEAN, - terminal BOOLEAN -); - -create table kaleotask ( - kaleoTaskId LONG not null primary key, - groupId LONG, - companyId LONG, - userId LONG, - userName VARCHAR(200) null, - createDate DATE null, - modifiedDate DATE null, - kaleoDefinitionId LONG, - kaleoNodeId LONG, - name VARCHAR(200) null, - description STRING null -); - -create table kaleotaskassignmentinstance ( - kaleoTaskAssignmentInstanceId LONG not null primary key, - groupId LONG, - companyId LONG, - userId LONG, - userName VARCHAR(200) null, - createDate DATE null, - modifiedDate DATE null, - kaleoDefinitionId LONG, - kaleoInstanceId LONG, - kaleoInstanceTokenId LONG, - kaleoTaskInstanceTokenId LONG, - kaleoTaskId LONG, - kaleoTaskName VARCHAR(200) null, - assigneeClassName VARCHAR(200) null, - assigneeClassPK LONG, - completed BOOLEAN, - completionDate DATE null -); - -create table kaleotaskinstancetoken ( - kaleoTaskInstanceTokenId LONG not null primary key, - groupId LONG, - companyId LONG, - userId LONG, - userName VARCHAR(200) null, - createDate DATE null, - modifiedDate DATE null, - kaleoDefinitionId LONG, - kaleoInstanceId LONG, - kaleoInstanceTokenId LONG, - kaleoTaskId LONG, - kaleoTaskName VARCHAR(200) null, - className VARCHAR(200) null, - classPK LONG, - completionUserId LONG, - completed BOOLEAN, - completionDate DATE null, - dueDate DATE null, - workflowContext TEXT null -); - -create table old_portos_ProceduraImportazione ( - proceduraImportazioneId LONG not null primary key, - queryStartNumber INTEGER, - queryEndNumber INTEGER, - createDate DATE null, - oldDettPraticaIdsNotProcessed STRING null, - dataEffettuazioneProceduraStart DATE null, - dataEffettuazioneProceduraEnd DATE null, - companyId LONG -); - -create table old_portos_StatoImportazione ( - statoImportazioneId LONG not null primary key, - className VARCHAR(75) null, - oldPrimaryKey VARCHAR(75) null, - newPrimaryKey VARCHAR(75) null, - dataImportazione DATE null, - esito BOOLEAN, - errorMessage VARCHAR(200) null -); \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/META-INF/base-spring.xml b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/META-INF/base-spring.xml deleted file mode 100644 index 8e5edbab..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/META-INF/base-spring.xml +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/META-INF/cluster-spring.xml b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/META-INF/cluster-spring.xml deleted file mode 100644 index cd5219ba..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/META-INF/cluster-spring.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/META-INF/ext-spring.xml b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/META-INF/ext-spring.xml deleted file mode 100644 index 78b321f0..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/META-INF/ext-spring.xml +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/META-INF/hibernate-spring.xml b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/META-INF/hibernate-spring.xml deleted file mode 100644 index 27564a2f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/META-INF/hibernate-spring.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/META-INF/infrastructure-spring.xml b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/META-INF/infrastructure-spring.xml deleted file mode 100644 index 380d6975..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/META-INF/infrastructure-spring.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/META-INF/portlet-hbm.xml b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/META-INF/portlet-hbm.xml deleted file mode 100644 index 90f3c4a8..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/META-INF/portlet-hbm.xml +++ /dev/null @@ -1,835 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/META-INF/portlet-model-hints.xml b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/META-INF/portlet-model-hints.xml deleted file mode 100644 index dfd1436c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/META-INF/portlet-model-hints.xml +++ /dev/null @@ -1,758 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 200 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 200 - - - - - - 200 - - - - - 200 - - - - - - - - - - - - - - - 200 - - - - - - - - - 200 - - - 200 - - - - - - - - - - - - 200 - - - - - 200 - - - - - - - - 200 - - - - - 200 - - - 200 - - - - 200 - - - 200 - - - - 200 - - - - 200 - - - - - - - - - - - - - - - - - - 200 - - - - - - 200 - - - - - - - - - 20 - - - - - - - - - - - 200 - - - - - - - 200 - - - - - - - - - - - - 200 - - - - - - - - - - 200 - - - 200 - - - - - - - - - - - - 200 - - - - - - - - - 200 - - - 200 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 4000 - - - - - - - - - - - - - - 200 - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/META-INF/portlet-orm.xml b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/META-INF/portlet-orm.xml deleted file mode 100644 index 0e18862a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/META-INF/portlet-orm.xml +++ /dev/null @@ -1,1297 +0,0 @@ - - - - - - - PROPERTY - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - TIMESTAMP - - - - - - - - - TIMESTAMP - - - - - - - - - TIMESTAMP - - - - - - TIMESTAMP - - - - TIMESTAMP - - - - TIMESTAMP - - - - TIMESTAMP - - - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - - - - - - - - - TIMESTAMP - - - - - - - - TIMESTAMP - - - - - - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - - - - - - TIMESTAMP - - - - TIMESTAMP - - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - - - - - TIMESTAMP - - - - - - - - - - - - - TIMESTAMP - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - TIMESTAMP - - - - - TIMESTAMP - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - TIMESTAMP - - - - - - - - - - - - - - - - - - TIMESTAMP - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - TIMESTAMP - - - - - - - TIMESTAMP - - - - - - - - - - - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - TIMESTAMP - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - - TIMESTAMP - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - - - TIMESTAMP - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - TIMESTAMP - - - - - - - - - - - - - - - - - - - - TIMESTAMP - - - - TIMESTAMP - - - - TIMESTAMP - - - - - TIMESTAMP - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TIMESTAMP - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - - - - - - TIMESTAMP - - - - - - - - - - - - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/META-INF/portlet-spring.xml b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/META-INF/portlet-spring.xml deleted file mode 100644 index a8ed133b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/META-INF/portlet-spring.xml +++ /dev/null @@ -1,166 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/META-INF/shard-data-source-spring.xml b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/META-INF/shard-data-source-spring.xml deleted file mode 100644 index fe293f42..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/META-INF/shard-data-source-spring.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/custom-sql/default.xml b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/custom-sql/default.xml deleted file mode 100644 index 89801418..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/custom-sql/default.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/custom-sql/importazione.xml b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/custom-sql/importazione.xml deleted file mode 100644 index 6ccd2839..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/custom-sql/importazione.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/listener/ImportazioneDBMessageListener.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/listener/ImportazioneDBMessageListener.java deleted file mode 100644 index 7600f660..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/listener/ImportazioneDBMessageListener.java +++ /dev/null @@ -1,183 +0,0 @@ -package it.tref.liferay.portos.importazione.listener; - -import it.tref.liferay.portos.bo.model.DettPratica; -import it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil; -import it.tref.liferay.portos.importazione.model.BoDettPratica; -import it.tref.liferay.portos.importazione.model.ProceduraImportazione; -import it.tref.liferay.portos.importazione.service.BoDettPraticaLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalServiceUtil; -import it.tref.liferay.portos.importazione.util.PraticaImporter; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -import com.liferay.counter.service.CounterLocalServiceUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Order; -import com.liferay.portal.kernel.dao.orm.OrderFactoryUtil; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.RestrictionsFactoryUtil; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.messaging.Message; -import com.liferay.portal.kernel.messaging.MessageListener; -import com.liferay.portal.kernel.messaging.MessageListenerException; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.Company; -import com.liferay.portal.service.CompanyLocalServiceUtil; - -public class ImportazioneDBMessageListener implements MessageListener { - - private static Log _log = LogFactoryUtil.getLog(ImportazioneDBMessageListener.class); - - @Override - public void receive(Message message) throws MessageListenerException { - - Company company = null; - - int counter = 0; - - long oldDettPraticaIdWithError = 0l; - - List oldIdsDaProcessarePoi = new ArrayList(); - int start = 0; - int end = 0; - - Date startDate = new Date(); - - - try { - - // Company company = - // CompanyLocalServiceUtil.getCompanyByMx(PropsUtil.get(PropsKeys.COMPANY_DEFAULT_WEB_ID)); - company = CompanyLocalServiceUtil.getCompany(20155); - // company = CompanyLocalServiceUtil.getCompany(20404); - - - DynamicQuery query = DynamicQueryFactoryUtil.forClass(ProceduraImportazione.class); - - Order defaultOrder = OrderFactoryUtil.desc("createDate"); - query.addOrder(defaultOrder); - - List proceduraImportaziones = - ProceduraImportazioneLocalServiceUtil.dynamicQuery(query, QueryUtil.ALL_POS, QueryUtil.ALL_POS); - - if (proceduraImportaziones != null && !proceduraImportaziones.isEmpty()) { - ProceduraImportazione importazionePast = proceduraImportaziones.get(0); - start = Integer.valueOf(importazionePast.getQueryEndNumber()) + 1; - end = start + 500; - - } else { - end = 500; - } - - - DynamicQuery queryOldDettPratica = DynamicQueryFactoryUtil.forClass(BoDettPratica.class); - queryOldDettPratica.add(RestrictionsFactoryUtil.eq("integrazione", 0l)); - queryOldDettPratica.add(RestrictionsFactoryUtil.eq("validata", true)); - - // Calendar calendar = Calendar.getInstance(); - // Date nowDate = calendar.getTime(); - // - // calendar.set(Calendar.YEAR, 2017); - // calendar.set(Calendar.MONTH, 10); - // calendar.set(Calendar.DAY_OF_MONTH, 1); - // Date fromDate = calendar.getTime(); - - // Property createDateProperty = PropertyFactoryUtil.forName("createDate"); - // queryOldDettPratica.add(createDateProperty.between(fromDate, nowDate)); - - - Order defaultOrderDettPrtatica = OrderFactoryUtil.asc("createDate"); - queryOldDettPratica.addOrder(defaultOrderDettPrtatica); - - List lista = BoDettPraticaLocalServiceUtil.dynamicQuery(queryOldDettPratica, start, end); - - if (lista != null && !lista.isEmpty()) { - _log.info("Inzio importazione di " + (end - start) + " pratiche..."); - for (BoDettPratica boDettPratica : lista) { - DettPratica dettPratica = - DettPraticaLocalServiceUtil.fetchByOldDettPraticaId(boDettPratica.getDettPraticaId()); - if (Validator.isNull(dettPratica)) { - if (boDettPratica.getStatus() != 1) { // DA verificare con scuti, nel - // caso sono in IN vanno messe - // da parte..salvato l id e - // processato in un secondo - // momento - oldDettPraticaIdWithError = boDettPratica.getDettPraticaId(); - PraticaImporter.importaPratica(boDettPratica, company.getCompanyId()); - } else { - oldIdsDaProcessarePoi.add(boDettPratica.getDettPraticaId()); - } - } - counter++; - } - - // Aggiungo al db le info - Date endDate = new Date(); - - ProceduraImportazione importazione = - ProceduraImportazioneLocalServiceUtil.createProceduraImportazione(CounterLocalServiceUtil.increment(ProceduraImportazione.class.getName())); - - importazione.setOldDettPraticaIdsNotProcessed(oldIdsDaProcessarePoi.toString()); - importazione.setCreateDate(new Date()); - importazione.setQueryStartNumber(start); - importazione.setQueryEndNumber(end); - importazione.setCompanyId(company.getCompanyId()); - importazione.setDataEffettuazioneProceduraStart(startDate); - importazione.setDataEffettuazioneProceduraEnd(endDate); - - ProceduraImportazioneLocalServiceUtil.updateProceduraImportazione(importazione); - - _log.info("Fine importazione..."); - } - - - } catch (SystemException e) { - oldIdsDaProcessarePoi.add(oldDettPraticaIdWithError); - updateForError(oldIdsDaProcessarePoi, start, company, startDate, counter); - _log.error(e, e); - } catch (PortalException e) { - oldIdsDaProcessarePoi.add(oldDettPraticaIdWithError); - updateForError(oldIdsDaProcessarePoi, start, company, startDate, counter); - _log.error(e, e); - } catch (Exception e) { - oldIdsDaProcessarePoi.add(oldDettPraticaIdWithError); - updateForError(oldIdsDaProcessarePoi, start, company, startDate, counter); - _log.error(e, e); - } - } - - private static void updateForError(List oldIdsDaProcessarePoi, int start, Company company, Date startDate, - int counter) { - - try { - - Date endDate = new Date(); - - int end = start + counter; - - ProceduraImportazione importazione = - ProceduraImportazioneLocalServiceUtil.createProceduraImportazione(CounterLocalServiceUtil.increment(ProceduraImportazione.class.getName())); - - importazione.setOldDettPraticaIdsNotProcessed(oldIdsDaProcessarePoi.toString()); - importazione.setCreateDate(new Date()); - importazione.setQueryStartNumber(start); - importazione.setQueryEndNumber(end); - importazione.setCompanyId(company.getCompanyId()); - importazione.setDataEffettuazioneProceduraStart(startDate); - importazione.setDataEffettuazioneProceduraEnd(endDate); - - ProceduraImportazioneLocalServiceUtil.updateProceduraImportazione(importazione); - - } catch (SystemException e) { - _log.error(e, e); - } - - } - -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/listener/ImportazioneFilesMessageListener.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/listener/ImportazioneFilesMessageListener.java deleted file mode 100644 index d231e9b0..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/listener/ImportazioneFilesMessageListener.java +++ /dev/null @@ -1,82 +0,0 @@ -package it.tref.liferay.portos.importazione.listener; - -import it.tref.liferay.portos.bo.model.Collaudo; -import it.tref.liferay.portos.bo.model.DettPratica; -import it.tref.liferay.portos.bo.model.FineLavori; -import it.tref.liferay.portos.bo.model.IntPratica; -import it.tref.liferay.portos.bo.service.CollaudoLocalServiceUtil; -import it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.FineLavoriLocalServiceUtil; -import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil; -import it.tref.liferay.portos.bo.util.FilesImporter; - -import java.util.List; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.messaging.Message; -import com.liferay.portal.kernel.messaging.MessageListener; -import com.liferay.portal.kernel.messaging.MessageListenerException; - -public class ImportazioneFilesMessageListener implements MessageListener { - - private static Log _log = LogFactoryUtil.getLog(ImportazioneFilesMessageListener.class); - - @Override - public void receive(Message message) throws MessageListenerException { - - - try { - - List listaInt = IntPraticaLocalServiceUtil.importaVecchiFilesFascicolo(0l, 1, 100); - - if (listaInt != null && !listaInt.isEmpty()) { - - for (IntPratica intPratica : listaInt) { - - _log.debug("************** START FASCICOLO : " + intPratica.getIntPraticaId()); - - List listaDet = DettPraticaLocalServiceUtil.findByIntPraticaId(intPratica.getIntPraticaId()); - for (DettPratica dettPratica : listaDet) { - FilesImporter.importaFilesFascicolo(dettPratica.getDettPraticaId(), DettPratica.class.getName()); - } - - List listaFine = - FineLavoriLocalServiceUtil.findByIntPraticaId(intPratica.getIntPraticaId(), -1, -1, null); - for (FineLavori fineLavori : listaFine) { - FilesImporter.importaFilesFascicolo(fineLavori.getFineLavoriId(), FineLavori.class.getName()); - } - - List listaColl = - CollaudoLocalServiceUtil.findByIntPraticaId(intPratica.getIntPraticaId(), -1, -1, null); - for (Collaudo collaudo : listaColl) { - FilesImporter.importaFilesFascicolo(collaudo.getCollaudoId(), Collaudo.class.getName()); - } - - _log.debug("************** END FASCICOLO : " + intPratica.getIntPraticaId()); - - } - } - - - } catch (SystemException e) { - _log.error(e, e); - } catch (PortalException e) { - _log.error(e, e); - } - - // - // Calendar calEnd = Calendar.getInstance(); - // calEnd.setTime(new Date()); - // calEnd.add(Calendar.HOUR_OF_DAY, 6); - // - // try { - // FilesImporter.importaFiles(calEnd); - // } catch (SystemException e) { - // _log.error(e, e); - // } - - } -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoArtLeggeBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoArtLeggeBaseImpl.java deleted file mode 100644 index 6effd8be..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoArtLeggeBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.BoArtLegge; -import it.tref.liferay.portos.importazione.service.BoArtLeggeLocalServiceUtil; - -/** - * The extended model base implementation for the BoArtLegge service. Represents a row in the "gc_artlegge" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoArtLeggeImpl}. - *

- * - * @author 3FC - * @see BoArtLeggeImpl - * @see it.tref.liferay.portos.importazione.model.BoArtLegge - * @generated - */ -public abstract class BoArtLeggeBaseImpl extends BoArtLeggeModelImpl - implements BoArtLegge { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo art legge model instance should use the {@link BoArtLegge} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoArtLeggeLocalServiceUtil.addBoArtLegge(this); - } - else { - BoArtLeggeLocalServiceUtil.updateBoArtLegge(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoArtLeggeCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoArtLeggeCacheModel.java deleted file mode 100644 index 03e53077..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoArtLeggeCacheModel.java +++ /dev/null @@ -1,182 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.importazione.model.BoArtLegge; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing BoArtLegge in entity cache. - * - * @author 3FC - * @see BoArtLegge - * @generated - */ -public class BoArtLeggeCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(19); - - sb.append("{artLeggeId="); - sb.append(artLeggeId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", codArtLegge="); - sb.append(codArtLegge); - sb.append(", tipologia="); - sb.append(tipologia); - sb.append(", descLong="); - sb.append(descLong); - sb.append("}"); - - return sb.toString(); - } - - @Override - public BoArtLegge toEntityModel() { - BoArtLeggeImpl boArtLeggeImpl = new BoArtLeggeImpl(); - - boArtLeggeImpl.setArtLeggeId(artLeggeId); - boArtLeggeImpl.setCompanyId(companyId); - boArtLeggeImpl.setUserId(userId); - - if (userName == null) { - boArtLeggeImpl.setUserName(StringPool.BLANK); - } - else { - boArtLeggeImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - boArtLeggeImpl.setCreateDate(null); - } - else { - boArtLeggeImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - boArtLeggeImpl.setModifiedDate(null); - } - else { - boArtLeggeImpl.setModifiedDate(new Date(modifiedDate)); - } - - if (codArtLegge == null) { - boArtLeggeImpl.setCodArtLegge(StringPool.BLANK); - } - else { - boArtLeggeImpl.setCodArtLegge(codArtLegge); - } - - if (tipologia == null) { - boArtLeggeImpl.setTipologia(StringPool.BLANK); - } - else { - boArtLeggeImpl.setTipologia(tipologia); - } - - if (descLong == null) { - boArtLeggeImpl.setDescLong(StringPool.BLANK); - } - else { - boArtLeggeImpl.setDescLong(descLong); - } - - boArtLeggeImpl.resetOriginalValues(); - - return boArtLeggeImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - artLeggeId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - codArtLegge = objectInput.readUTF(); - tipologia = objectInput.readUTF(); - descLong = objectInput.readUTF(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - objectOutput.writeLong(artLeggeId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - - if (codArtLegge == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codArtLegge); - } - - if (tipologia == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(tipologia); - } - - if (descLong == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(descLong); - } - } - - public long artLeggeId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public String codArtLegge; - public String tipologia; - public String descLong; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoArtLeggeImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoArtLeggeImpl.java deleted file mode 100644 index b300caa4..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoArtLeggeImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -/** - * The extended model implementation for the BoArtLegge service. Represents a row in the "gc_artlegge" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.model.BoArtLegge} interface. - *

- * - * @author 3FC - */ -public class BoArtLeggeImpl extends BoArtLeggeBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a bo art legge model instance should use the {@link it.tref.liferay.portos.importazione.model.BoArtLegge} interface instead. - */ - public BoArtLeggeImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoArtLeggeModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoArtLeggeModelImpl.java deleted file mode 100644 index dfa53d2d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoArtLeggeModelImpl.java +++ /dev/null @@ -1,597 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.importazione.model.BoArtLegge; -import it.tref.liferay.portos.importazione.model.BoArtLeggeModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the BoArtLegge service. Represents a row in the "gc_artlegge" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.importazione.model.BoArtLeggeModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoArtLeggeImpl}. - *

- * - * @author 3FC - * @see BoArtLeggeImpl - * @see it.tref.liferay.portos.importazione.model.BoArtLegge - * @see it.tref.liferay.portos.importazione.model.BoArtLeggeModel - * @generated - */ -public class BoArtLeggeModelImpl extends BaseModelImpl - implements BoArtLeggeModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo art legge model instance should use the {@link it.tref.liferay.portos.importazione.model.BoArtLegge} interface instead. - */ - public static final String TABLE_NAME = "gc_artlegge"; - public static final Object[][] TABLE_COLUMNS = { - { "artLeggeId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "codArtLegge", Types.VARCHAR }, - { "tipologia", Types.VARCHAR }, - { "descLong", Types.VARCHAR } - }; - public static final String TABLE_SQL_CREATE = "create table gc_artlegge (artLeggeId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,codArtLegge VARCHAR(75) null,tipologia VARCHAR(75) null,descLong VARCHAR(75) null)"; - public static final String TABLE_SQL_DROP = "drop table gc_artlegge"; - public static final String ORDER_BY_JPQL = " ORDER BY boArtLegge.codArtLegge ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gc_artlegge.codArtLegge ASC"; - public static final String DATA_SOURCE = "datiPortos1DbDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.importazione.model.BoArtLegge"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.importazione.model.BoArtLegge"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.importazione.model.BoArtLegge"), - true); - public static long CODARTLEGGE_COLUMN_BITMASK = 1L; - public static long TIPOLOGIA_COLUMN_BITMASK = 2L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.importazione.model.BoArtLegge")); - - public BoArtLeggeModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _artLeggeId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setArtLeggeId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _artLeggeId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return BoArtLegge.class; - } - - @Override - public String getModelClassName() { - return BoArtLegge.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("artLeggeId", getArtLeggeId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("codArtLegge", getCodArtLegge()); - attributes.put("tipologia", getTipologia()); - attributes.put("descLong", getDescLong()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long artLeggeId = (Long)attributes.get("artLeggeId"); - - if (artLeggeId != null) { - setArtLeggeId(artLeggeId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - String codArtLegge = (String)attributes.get("codArtLegge"); - - if (codArtLegge != null) { - setCodArtLegge(codArtLegge); - } - - String tipologia = (String)attributes.get("tipologia"); - - if (tipologia != null) { - setTipologia(tipologia); - } - - String descLong = (String)attributes.get("descLong"); - - if (descLong != null) { - setDescLong(descLong); - } - } - - @Override - public long getArtLeggeId() { - return _artLeggeId; - } - - @Override - public void setArtLeggeId(long artLeggeId) { - _artLeggeId = artLeggeId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public String getCodArtLegge() { - if (_codArtLegge == null) { - return StringPool.BLANK; - } - else { - return _codArtLegge; - } - } - - @Override - public void setCodArtLegge(String codArtLegge) { - _columnBitmask = -1L; - - if (_originalCodArtLegge == null) { - _originalCodArtLegge = _codArtLegge; - } - - _codArtLegge = codArtLegge; - } - - public String getOriginalCodArtLegge() { - return GetterUtil.getString(_originalCodArtLegge); - } - - @Override - public String getTipologia() { - if (_tipologia == null) { - return StringPool.BLANK; - } - else { - return _tipologia; - } - } - - @Override - public void setTipologia(String tipologia) { - _columnBitmask |= TIPOLOGIA_COLUMN_BITMASK; - - if (_originalTipologia == null) { - _originalTipologia = _tipologia; - } - - _tipologia = tipologia; - } - - public String getOriginalTipologia() { - return GetterUtil.getString(_originalTipologia); - } - - @Override - public String getDescLong() { - if (_descLong == null) { - return StringPool.BLANK; - } - else { - return _descLong; - } - } - - @Override - public void setDescLong(String descLong) { - _descLong = descLong; - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - BoArtLegge.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public BoArtLegge toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (BoArtLegge)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - BoArtLeggeImpl boArtLeggeImpl = new BoArtLeggeImpl(); - - boArtLeggeImpl.setArtLeggeId(getArtLeggeId()); - boArtLeggeImpl.setCompanyId(getCompanyId()); - boArtLeggeImpl.setUserId(getUserId()); - boArtLeggeImpl.setUserName(getUserName()); - boArtLeggeImpl.setCreateDate(getCreateDate()); - boArtLeggeImpl.setModifiedDate(getModifiedDate()); - boArtLeggeImpl.setCodArtLegge(getCodArtLegge()); - boArtLeggeImpl.setTipologia(getTipologia()); - boArtLeggeImpl.setDescLong(getDescLong()); - - boArtLeggeImpl.resetOriginalValues(); - - return boArtLeggeImpl; - } - - @Override - public int compareTo(BoArtLegge boArtLegge) { - int value = 0; - - value = getCodArtLegge().compareTo(boArtLegge.getCodArtLegge()); - - if (value != 0) { - return value; - } - - return 0; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoArtLegge)) { - return false; - } - - BoArtLegge boArtLegge = (BoArtLegge)obj; - - long primaryKey = boArtLegge.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - BoArtLeggeModelImpl boArtLeggeModelImpl = this; - - boArtLeggeModelImpl._originalCodArtLegge = boArtLeggeModelImpl._codArtLegge; - - boArtLeggeModelImpl._originalTipologia = boArtLeggeModelImpl._tipologia; - - boArtLeggeModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - BoArtLeggeCacheModel boArtLeggeCacheModel = new BoArtLeggeCacheModel(); - - boArtLeggeCacheModel.artLeggeId = getArtLeggeId(); - - boArtLeggeCacheModel.companyId = getCompanyId(); - - boArtLeggeCacheModel.userId = getUserId(); - - boArtLeggeCacheModel.userName = getUserName(); - - String userName = boArtLeggeCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - boArtLeggeCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - boArtLeggeCacheModel.createDate = createDate.getTime(); - } - else { - boArtLeggeCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - boArtLeggeCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - boArtLeggeCacheModel.modifiedDate = Long.MIN_VALUE; - } - - boArtLeggeCacheModel.codArtLegge = getCodArtLegge(); - - String codArtLegge = boArtLeggeCacheModel.codArtLegge; - - if ((codArtLegge != null) && (codArtLegge.length() == 0)) { - boArtLeggeCacheModel.codArtLegge = null; - } - - boArtLeggeCacheModel.tipologia = getTipologia(); - - String tipologia = boArtLeggeCacheModel.tipologia; - - if ((tipologia != null) && (tipologia.length() == 0)) { - boArtLeggeCacheModel.tipologia = null; - } - - boArtLeggeCacheModel.descLong = getDescLong(); - - String descLong = boArtLeggeCacheModel.descLong; - - if ((descLong != null) && (descLong.length() == 0)) { - boArtLeggeCacheModel.descLong = null; - } - - return boArtLeggeCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(19); - - sb.append("{artLeggeId="); - sb.append(getArtLeggeId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", codArtLegge="); - sb.append(getCodArtLegge()); - sb.append(", tipologia="); - sb.append(getTipologia()); - sb.append(", descLong="); - sb.append(getDescLong()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(31); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.BoArtLegge"); - sb.append(""); - - sb.append( - "artLeggeId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "codArtLegge"); - sb.append( - "tipologia"); - sb.append( - "descLong"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = BoArtLegge.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - BoArtLegge.class - }; - private long _artLeggeId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private String _codArtLegge; - private String _originalCodArtLegge; - private String _tipologia; - private String _originalTipologia; - private String _descLong; - private long _columnBitmask; - private BoArtLegge _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoAvvisoBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoAvvisoBaseImpl.java deleted file mode 100644 index 0e440594..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoAvvisoBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.BoAvviso; -import it.tref.liferay.portos.importazione.service.BoAvvisoLocalServiceUtil; - -/** - * The extended model base implementation for the BoAvviso service. Represents a row in the "gc_avviso" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoAvvisoImpl}. - *

- * - * @author 3FC - * @see BoAvvisoImpl - * @see it.tref.liferay.portos.importazione.model.BoAvviso - * @generated - */ -public abstract class BoAvvisoBaseImpl extends BoAvvisoModelImpl - implements BoAvviso { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo avviso model instance should use the {@link BoAvviso} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoAvvisoLocalServiceUtil.addBoAvviso(this); - } - else { - BoAvvisoLocalServiceUtil.updateBoAvviso(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoAvvisoCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoAvvisoCacheModel.java deleted file mode 100644 index 147618d2..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoAvvisoCacheModel.java +++ /dev/null @@ -1,494 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.importazione.model.BoAvviso; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing BoAvviso in entity cache. - * - * @author 3FC - * @see BoAvviso - * @generated - */ -public class BoAvvisoCacheModel implements CacheModel, Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(77); - - sb.append("{uuid="); - sb.append(uuid); - sb.append(", avvisoId="); - sb.append(avvisoId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", descLong="); - sb.append(descLong); - sb.append(", dtAvviso="); - sb.append(dtAvviso); - sb.append(", tipoAvviso="); - sb.append(tipoAvviso); - sb.append(", tipoDocumento="); - sb.append(tipoDocumento); - sb.append(", fileEntryIdTemplate="); - sb.append(fileEntryIdTemplate); - sb.append(", fileEntryIdBase="); - sb.append(fileEntryIdBase); - sb.append(", fileEntryIdFirma="); - sb.append(fileEntryIdFirma); - sb.append(", fileEntryIdInvio="); - sb.append(fileEntryIdInvio); - sb.append(", dtCreateFileEntryInvio="); - sb.append(dtCreateFileEntryInvio); - sb.append(", userIdPrimaFirma="); - sb.append(userIdPrimaFirma); - sb.append(", userIdSecondaFirma="); - sb.append(userIdSecondaFirma); - sb.append(", firmaInCorso="); - sb.append(firmaInCorso); - sb.append(", transactionIdPrimaFirma="); - sb.append(transactionIdPrimaFirma); - sb.append(", transactionIdSecondaFirma="); - sb.append(transactionIdSecondaFirma); - sb.append(", inviato="); - sb.append(inviato); - sb.append(", dtInvio="); - sb.append(dtInvio); - sb.append(", annullato="); - sb.append(annullato); - sb.append(", errore="); - sb.append(errore); - sb.append(", signal="); - sb.append(signal); - sb.append(", dtInvioSignal="); - sb.append(dtInvioSignal); - sb.append(", tempistica="); - sb.append(tempistica); - sb.append(", dtTempistica="); - sb.append(dtTempistica); - sb.append(", daxId="); - sb.append(daxId); - sb.append(", dtInvioDax="); - sb.append(dtInvioDax); - sb.append(", erroreDax="); - sb.append(erroreDax); - sb.append(", dtErroreDax="); - sb.append(dtErroreDax); - sb.append(", jsonParameters="); - sb.append(jsonParameters); - sb.append(", protocollo="); - sb.append(protocollo); - sb.append(", inviatoTecnico="); - sb.append(inviatoTecnico); - sb.append(", dettPraticaId="); - sb.append(dettPraticaId); - sb.append("}"); - - return sb.toString(); - } - - @Override - public BoAvviso toEntityModel() { - BoAvvisoImpl boAvvisoImpl = new BoAvvisoImpl(); - - if (uuid == null) { - boAvvisoImpl.setUuid(StringPool.BLANK); - } - else { - boAvvisoImpl.setUuid(uuid); - } - - boAvvisoImpl.setAvvisoId(avvisoId); - boAvvisoImpl.setCompanyId(companyId); - boAvvisoImpl.setUserId(userId); - - if (userName == null) { - boAvvisoImpl.setUserName(StringPool.BLANK); - } - else { - boAvvisoImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - boAvvisoImpl.setCreateDate(null); - } - else { - boAvvisoImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - boAvvisoImpl.setModifiedDate(null); - } - else { - boAvvisoImpl.setModifiedDate(new Date(modifiedDate)); - } - - boAvvisoImpl.setGroupId(groupId); - - if (descLong == null) { - boAvvisoImpl.setDescLong(StringPool.BLANK); - } - else { - boAvvisoImpl.setDescLong(descLong); - } - - if (dtAvviso == Long.MIN_VALUE) { - boAvvisoImpl.setDtAvviso(null); - } - else { - boAvvisoImpl.setDtAvviso(new Date(dtAvviso)); - } - - if (tipoAvviso == null) { - boAvvisoImpl.setTipoAvviso(StringPool.BLANK); - } - else { - boAvvisoImpl.setTipoAvviso(tipoAvviso); - } - - if (tipoDocumento == null) { - boAvvisoImpl.setTipoDocumento(StringPool.BLANK); - } - else { - boAvvisoImpl.setTipoDocumento(tipoDocumento); - } - - boAvvisoImpl.setFileEntryIdTemplate(fileEntryIdTemplate); - boAvvisoImpl.setFileEntryIdBase(fileEntryIdBase); - boAvvisoImpl.setFileEntryIdFirma(fileEntryIdFirma); - boAvvisoImpl.setFileEntryIdInvio(fileEntryIdInvio); - - if (dtCreateFileEntryInvio == Long.MIN_VALUE) { - boAvvisoImpl.setDtCreateFileEntryInvio(null); - } - else { - boAvvisoImpl.setDtCreateFileEntryInvio(new Date( - dtCreateFileEntryInvio)); - } - - boAvvisoImpl.setUserIdPrimaFirma(userIdPrimaFirma); - boAvvisoImpl.setUserIdSecondaFirma(userIdSecondaFirma); - boAvvisoImpl.setFirmaInCorso(firmaInCorso); - - if (transactionIdPrimaFirma == null) { - boAvvisoImpl.setTransactionIdPrimaFirma(StringPool.BLANK); - } - else { - boAvvisoImpl.setTransactionIdPrimaFirma(transactionIdPrimaFirma); - } - - if (transactionIdSecondaFirma == null) { - boAvvisoImpl.setTransactionIdSecondaFirma(StringPool.BLANK); - } - else { - boAvvisoImpl.setTransactionIdSecondaFirma(transactionIdSecondaFirma); - } - - if (inviato == null) { - boAvvisoImpl.setInviato(StringPool.BLANK); - } - else { - boAvvisoImpl.setInviato(inviato); - } - - if (dtInvio == Long.MIN_VALUE) { - boAvvisoImpl.setDtInvio(null); - } - else { - boAvvisoImpl.setDtInvio(new Date(dtInvio)); - } - - boAvvisoImpl.setAnnullato(annullato); - boAvvisoImpl.setErrore(errore); - boAvvisoImpl.setSignal(signal); - - if (dtInvioSignal == Long.MIN_VALUE) { - boAvvisoImpl.setDtInvioSignal(null); - } - else { - boAvvisoImpl.setDtInvioSignal(new Date(dtInvioSignal)); - } - - boAvvisoImpl.setTempistica(tempistica); - - if (dtTempistica == Long.MIN_VALUE) { - boAvvisoImpl.setDtTempistica(null); - } - else { - boAvvisoImpl.setDtTempistica(new Date(dtTempistica)); - } - - boAvvisoImpl.setDaxId(daxId); - - if (dtInvioDax == Long.MIN_VALUE) { - boAvvisoImpl.setDtInvioDax(null); - } - else { - boAvvisoImpl.setDtInvioDax(new Date(dtInvioDax)); - } - - if (erroreDax == null) { - boAvvisoImpl.setErroreDax(StringPool.BLANK); - } - else { - boAvvisoImpl.setErroreDax(erroreDax); - } - - if (dtErroreDax == Long.MIN_VALUE) { - boAvvisoImpl.setDtErroreDax(null); - } - else { - boAvvisoImpl.setDtErroreDax(new Date(dtErroreDax)); - } - - if (jsonParameters == null) { - boAvvisoImpl.setJsonParameters(StringPool.BLANK); - } - else { - boAvvisoImpl.setJsonParameters(jsonParameters); - } - - if (protocollo == null) { - boAvvisoImpl.setProtocollo(StringPool.BLANK); - } - else { - boAvvisoImpl.setProtocollo(protocollo); - } - - boAvvisoImpl.setInviatoTecnico(inviatoTecnico); - boAvvisoImpl.setDettPraticaId(dettPraticaId); - - boAvvisoImpl.resetOriginalValues(); - - return boAvvisoImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - uuid = objectInput.readUTF(); - avvisoId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - groupId = objectInput.readLong(); - descLong = objectInput.readUTF(); - dtAvviso = objectInput.readLong(); - tipoAvviso = objectInput.readUTF(); - tipoDocumento = objectInput.readUTF(); - fileEntryIdTemplate = objectInput.readLong(); - fileEntryIdBase = objectInput.readLong(); - fileEntryIdFirma = objectInput.readLong(); - fileEntryIdInvio = objectInput.readLong(); - dtCreateFileEntryInvio = objectInput.readLong(); - userIdPrimaFirma = objectInput.readLong(); - userIdSecondaFirma = objectInput.readLong(); - firmaInCorso = objectInput.readBoolean(); - transactionIdPrimaFirma = objectInput.readUTF(); - transactionIdSecondaFirma = objectInput.readUTF(); - inviato = objectInput.readUTF(); - dtInvio = objectInput.readLong(); - annullato = objectInput.readBoolean(); - errore = objectInput.readBoolean(); - signal = objectInput.readBoolean(); - dtInvioSignal = objectInput.readLong(); - tempistica = objectInput.readBoolean(); - dtTempistica = objectInput.readLong(); - daxId = objectInput.readLong(); - dtInvioDax = objectInput.readLong(); - erroreDax = objectInput.readUTF(); - dtErroreDax = objectInput.readLong(); - jsonParameters = objectInput.readUTF(); - protocollo = objectInput.readUTF(); - inviatoTecnico = objectInput.readBoolean(); - dettPraticaId = objectInput.readLong(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - if (uuid == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(uuid); - } - - objectOutput.writeLong(avvisoId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeLong(groupId); - - if (descLong == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(descLong); - } - - objectOutput.writeLong(dtAvviso); - - if (tipoAvviso == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(tipoAvviso); - } - - if (tipoDocumento == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(tipoDocumento); - } - - objectOutput.writeLong(fileEntryIdTemplate); - objectOutput.writeLong(fileEntryIdBase); - objectOutput.writeLong(fileEntryIdFirma); - objectOutput.writeLong(fileEntryIdInvio); - objectOutput.writeLong(dtCreateFileEntryInvio); - objectOutput.writeLong(userIdPrimaFirma); - objectOutput.writeLong(userIdSecondaFirma); - objectOutput.writeBoolean(firmaInCorso); - - if (transactionIdPrimaFirma == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(transactionIdPrimaFirma); - } - - if (transactionIdSecondaFirma == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(transactionIdSecondaFirma); - } - - if (inviato == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(inviato); - } - - objectOutput.writeLong(dtInvio); - objectOutput.writeBoolean(annullato); - objectOutput.writeBoolean(errore); - objectOutput.writeBoolean(signal); - objectOutput.writeLong(dtInvioSignal); - objectOutput.writeBoolean(tempistica); - objectOutput.writeLong(dtTempistica); - objectOutput.writeLong(daxId); - objectOutput.writeLong(dtInvioDax); - - if (erroreDax == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(erroreDax); - } - - objectOutput.writeLong(dtErroreDax); - - if (jsonParameters == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(jsonParameters); - } - - if (protocollo == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(protocollo); - } - - objectOutput.writeBoolean(inviatoTecnico); - objectOutput.writeLong(dettPraticaId); - } - - public String uuid; - public long avvisoId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public long groupId; - public String descLong; - public long dtAvviso; - public String tipoAvviso; - public String tipoDocumento; - public long fileEntryIdTemplate; - public long fileEntryIdBase; - public long fileEntryIdFirma; - public long fileEntryIdInvio; - public long dtCreateFileEntryInvio; - public long userIdPrimaFirma; - public long userIdSecondaFirma; - public boolean firmaInCorso; - public String transactionIdPrimaFirma; - public String transactionIdSecondaFirma; - public String inviato; - public long dtInvio; - public boolean annullato; - public boolean errore; - public boolean signal; - public long dtInvioSignal; - public boolean tempistica; - public long dtTempistica; - public long daxId; - public long dtInvioDax; - public String erroreDax; - public long dtErroreDax; - public String jsonParameters; - public String protocollo; - public boolean inviatoTecnico; - public long dettPraticaId; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoAvvisoImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoAvvisoImpl.java deleted file mode 100644 index 104bee36..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoAvvisoImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -/** - * The extended model implementation for the BoAvviso service. Represents a row in the "gc_avviso" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.model.BoAvviso} interface. - *

- * - * @author 3FC - */ -public class BoAvvisoImpl extends BoAvvisoBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a bo avviso model instance should use the {@link it.tref.liferay.portos.importazione.model.BoAvviso} interface instead. - */ - public BoAvvisoImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoAvvisoModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoAvvisoModelImpl.java deleted file mode 100644 index ca124ce6..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoAvvisoModelImpl.java +++ /dev/null @@ -1,1653 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.DateUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.importazione.model.BoAvviso; -import it.tref.liferay.portos.importazione.model.BoAvvisoModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the BoAvviso service. Represents a row in the "gc_avviso" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.importazione.model.BoAvvisoModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoAvvisoImpl}. - *

- * - * @author 3FC - * @see BoAvvisoImpl - * @see it.tref.liferay.portos.importazione.model.BoAvviso - * @see it.tref.liferay.portos.importazione.model.BoAvvisoModel - * @generated - */ -public class BoAvvisoModelImpl extends BaseModelImpl - implements BoAvvisoModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo avviso model instance should use the {@link it.tref.liferay.portos.importazione.model.BoAvviso} interface instead. - */ - public static final String TABLE_NAME = "gc_avviso"; - public static final Object[][] TABLE_COLUMNS = { - { "uuid_", Types.VARCHAR }, - { "avvisoId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "groupId", Types.BIGINT }, - { "descLong", Types.VARCHAR }, - { "dtAvviso", Types.TIMESTAMP }, - { "tipoAvviso", Types.VARCHAR }, - { "tipoDocumento", Types.VARCHAR }, - { "fileEntryIdTemplate", Types.BIGINT }, - { "fileEntryIdBase", Types.BIGINT }, - { "fileEntryIdFirma", Types.BIGINT }, - { "fileEntryIdInvio", Types.BIGINT }, - { "dtCreateFileEntryInvio", Types.TIMESTAMP }, - { "userIdPrimaFirma", Types.BIGINT }, - { "userIdSecondaFirma", Types.BIGINT }, - { "firmaInCorso", Types.BOOLEAN }, - { "transactionIdPrimaFirma", Types.VARCHAR }, - { "transactionIdSecondaFirma", Types.VARCHAR }, - { "inviato", Types.VARCHAR }, - { "dtInvio", Types.TIMESTAMP }, - { "annullato", Types.BOOLEAN }, - { "errore", Types.BOOLEAN }, - { "signal", Types.BOOLEAN }, - { "dtInvioSignal", Types.TIMESTAMP }, - { "tempistica", Types.BOOLEAN }, - { "dtTempistica", Types.TIMESTAMP }, - { "daxId", Types.BIGINT }, - { "dtInvioDax", Types.TIMESTAMP }, - { "erroreDax", Types.VARCHAR }, - { "dtErroreDax", Types.TIMESTAMP }, - { "jsonParameters", Types.VARCHAR }, - { "protocollo", Types.VARCHAR }, - { "inviatoTecnico", Types.BOOLEAN }, - { "dettPraticaId", Types.BIGINT } - }; - public static final String TABLE_SQL_CREATE = "create table gc_avviso (uuid_ VARCHAR(75) null,avvisoId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,descLong VARCHAR(75) null,dtAvviso DATE null,tipoAvviso VARCHAR(75) null,tipoDocumento VARCHAR(75) null,fileEntryIdTemplate LONG,fileEntryIdBase LONG,fileEntryIdFirma LONG,fileEntryIdInvio LONG,dtCreateFileEntryInvio DATE null,userIdPrimaFirma LONG,userIdSecondaFirma LONG,firmaInCorso BOOLEAN,transactionIdPrimaFirma VARCHAR(75) null,transactionIdSecondaFirma VARCHAR(75) null,inviato VARCHAR(75) null,dtInvio DATE null,annullato BOOLEAN,errore BOOLEAN,signal BOOLEAN,dtInvioSignal DATE null,tempistica BOOLEAN,dtTempistica DATE null,daxId LONG,dtInvioDax DATE null,erroreDax VARCHAR(75) null,dtErroreDax DATE null,jsonParameters VARCHAR(75) null,protocollo VARCHAR(75) null,inviatoTecnico BOOLEAN,dettPraticaId LONG)"; - public static final String TABLE_SQL_DROP = "drop table gc_avviso"; - public static final String ORDER_BY_JPQL = " ORDER BY boAvviso.dtAvviso DESC"; - public static final String ORDER_BY_SQL = " ORDER BY gc_avviso.dtAvviso DESC"; - public static final String DATA_SOURCE = "datiPortos1DbDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.importazione.model.BoAvviso"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.importazione.model.BoAvviso"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.importazione.model.BoAvviso"), - true); - public static long COMPANYID_COLUMN_BITMASK = 1L; - public static long DETTPRATICAID_COLUMN_BITMASK = 2L; - public static long GROUPID_COLUMN_BITMASK = 4L; - public static long PROTOCOLLO_COLUMN_BITMASK = 8L; - public static long TIPODOCUMENTO_COLUMN_BITMASK = 16L; - public static long UUID_COLUMN_BITMASK = 32L; - public static long DTAVVISO_COLUMN_BITMASK = 64L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.importazione.model.BoAvviso")); - - public BoAvvisoModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _avvisoId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setAvvisoId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _avvisoId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return BoAvviso.class; - } - - @Override - public String getModelClassName() { - return BoAvviso.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("avvisoId", getAvvisoId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("descLong", getDescLong()); - attributes.put("dtAvviso", getDtAvviso()); - attributes.put("tipoAvviso", getTipoAvviso()); - attributes.put("tipoDocumento", getTipoDocumento()); - attributes.put("fileEntryIdTemplate", getFileEntryIdTemplate()); - attributes.put("fileEntryIdBase", getFileEntryIdBase()); - attributes.put("fileEntryIdFirma", getFileEntryIdFirma()); - attributes.put("fileEntryIdInvio", getFileEntryIdInvio()); - attributes.put("dtCreateFileEntryInvio", getDtCreateFileEntryInvio()); - attributes.put("userIdPrimaFirma", getUserIdPrimaFirma()); - attributes.put("userIdSecondaFirma", getUserIdSecondaFirma()); - attributes.put("firmaInCorso", getFirmaInCorso()); - attributes.put("transactionIdPrimaFirma", getTransactionIdPrimaFirma()); - attributes.put("transactionIdSecondaFirma", - getTransactionIdSecondaFirma()); - attributes.put("inviato", getInviato()); - attributes.put("dtInvio", getDtInvio()); - attributes.put("annullato", getAnnullato()); - attributes.put("errore", getErrore()); - attributes.put("signal", getSignal()); - attributes.put("dtInvioSignal", getDtInvioSignal()); - attributes.put("tempistica", getTempistica()); - attributes.put("dtTempistica", getDtTempistica()); - attributes.put("daxId", getDaxId()); - attributes.put("dtInvioDax", getDtInvioDax()); - attributes.put("erroreDax", getErroreDax()); - attributes.put("dtErroreDax", getDtErroreDax()); - attributes.put("jsonParameters", getJsonParameters()); - attributes.put("protocollo", getProtocollo()); - attributes.put("inviatoTecnico", getInviatoTecnico()); - attributes.put("dettPraticaId", getDettPraticaId()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long avvisoId = (Long)attributes.get("avvisoId"); - - if (avvisoId != null) { - setAvvisoId(avvisoId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - String descLong = (String)attributes.get("descLong"); - - if (descLong != null) { - setDescLong(descLong); - } - - Date dtAvviso = (Date)attributes.get("dtAvviso"); - - if (dtAvviso != null) { - setDtAvviso(dtAvviso); - } - - String tipoAvviso = (String)attributes.get("tipoAvviso"); - - if (tipoAvviso != null) { - setTipoAvviso(tipoAvviso); - } - - String tipoDocumento = (String)attributes.get("tipoDocumento"); - - if (tipoDocumento != null) { - setTipoDocumento(tipoDocumento); - } - - Long fileEntryIdTemplate = (Long)attributes.get("fileEntryIdTemplate"); - - if (fileEntryIdTemplate != null) { - setFileEntryIdTemplate(fileEntryIdTemplate); - } - - Long fileEntryIdBase = (Long)attributes.get("fileEntryIdBase"); - - if (fileEntryIdBase != null) { - setFileEntryIdBase(fileEntryIdBase); - } - - Long fileEntryIdFirma = (Long)attributes.get("fileEntryIdFirma"); - - if (fileEntryIdFirma != null) { - setFileEntryIdFirma(fileEntryIdFirma); - } - - Long fileEntryIdInvio = (Long)attributes.get("fileEntryIdInvio"); - - if (fileEntryIdInvio != null) { - setFileEntryIdInvio(fileEntryIdInvio); - } - - Date dtCreateFileEntryInvio = (Date)attributes.get( - "dtCreateFileEntryInvio"); - - if (dtCreateFileEntryInvio != null) { - setDtCreateFileEntryInvio(dtCreateFileEntryInvio); - } - - Long userIdPrimaFirma = (Long)attributes.get("userIdPrimaFirma"); - - if (userIdPrimaFirma != null) { - setUserIdPrimaFirma(userIdPrimaFirma); - } - - Long userIdSecondaFirma = (Long)attributes.get("userIdSecondaFirma"); - - if (userIdSecondaFirma != null) { - setUserIdSecondaFirma(userIdSecondaFirma); - } - - Boolean firmaInCorso = (Boolean)attributes.get("firmaInCorso"); - - if (firmaInCorso != null) { - setFirmaInCorso(firmaInCorso); - } - - String transactionIdPrimaFirma = (String)attributes.get( - "transactionIdPrimaFirma"); - - if (transactionIdPrimaFirma != null) { - setTransactionIdPrimaFirma(transactionIdPrimaFirma); - } - - String transactionIdSecondaFirma = (String)attributes.get( - "transactionIdSecondaFirma"); - - if (transactionIdSecondaFirma != null) { - setTransactionIdSecondaFirma(transactionIdSecondaFirma); - } - - String inviato = (String)attributes.get("inviato"); - - if (inviato != null) { - setInviato(inviato); - } - - Date dtInvio = (Date)attributes.get("dtInvio"); - - if (dtInvio != null) { - setDtInvio(dtInvio); - } - - Boolean annullato = (Boolean)attributes.get("annullato"); - - if (annullato != null) { - setAnnullato(annullato); - } - - Boolean errore = (Boolean)attributes.get("errore"); - - if (errore != null) { - setErrore(errore); - } - - Boolean signal = (Boolean)attributes.get("signal"); - - if (signal != null) { - setSignal(signal); - } - - Date dtInvioSignal = (Date)attributes.get("dtInvioSignal"); - - if (dtInvioSignal != null) { - setDtInvioSignal(dtInvioSignal); - } - - Boolean tempistica = (Boolean)attributes.get("tempistica"); - - if (tempistica != null) { - setTempistica(tempistica); - } - - Date dtTempistica = (Date)attributes.get("dtTempistica"); - - if (dtTempistica != null) { - setDtTempistica(dtTempistica); - } - - Long daxId = (Long)attributes.get("daxId"); - - if (daxId != null) { - setDaxId(daxId); - } - - Date dtInvioDax = (Date)attributes.get("dtInvioDax"); - - if (dtInvioDax != null) { - setDtInvioDax(dtInvioDax); - } - - String erroreDax = (String)attributes.get("erroreDax"); - - if (erroreDax != null) { - setErroreDax(erroreDax); - } - - Date dtErroreDax = (Date)attributes.get("dtErroreDax"); - - if (dtErroreDax != null) { - setDtErroreDax(dtErroreDax); - } - - String jsonParameters = (String)attributes.get("jsonParameters"); - - if (jsonParameters != null) { - setJsonParameters(jsonParameters); - } - - String protocollo = (String)attributes.get("protocollo"); - - if (protocollo != null) { - setProtocollo(protocollo); - } - - Boolean inviatoTecnico = (Boolean)attributes.get("inviatoTecnico"); - - if (inviatoTecnico != null) { - setInviatoTecnico(inviatoTecnico); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - } - - @Override - public String getUuid() { - if (_uuid == null) { - return StringPool.BLANK; - } - else { - return _uuid; - } - } - - @Override - public void setUuid(String uuid) { - if (_originalUuid == null) { - _originalUuid = _uuid; - } - - _uuid = uuid; - } - - public String getOriginalUuid() { - return GetterUtil.getString(_originalUuid); - } - - @Override - public long getAvvisoId() { - return _avvisoId; - } - - @Override - public void setAvvisoId(long avvisoId) { - _avvisoId = avvisoId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _columnBitmask |= COMPANYID_COLUMN_BITMASK; - - if (!_setOriginalCompanyId) { - _setOriginalCompanyId = true; - - _originalCompanyId = _companyId; - } - - _companyId = companyId; - } - - public long getOriginalCompanyId() { - return _originalCompanyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _columnBitmask |= GROUPID_COLUMN_BITMASK; - - if (!_setOriginalGroupId) { - _setOriginalGroupId = true; - - _originalGroupId = _groupId; - } - - _groupId = groupId; - } - - public long getOriginalGroupId() { - return _originalGroupId; - } - - @Override - public String getDescLong() { - if (_descLong == null) { - return StringPool.BLANK; - } - else { - return _descLong; - } - } - - @Override - public void setDescLong(String descLong) { - _descLong = descLong; - } - - @Override - public Date getDtAvviso() { - return _dtAvviso; - } - - @Override - public void setDtAvviso(Date dtAvviso) { - _columnBitmask = -1L; - - _dtAvviso = dtAvviso; - } - - @Override - public String getTipoAvviso() { - if (_tipoAvviso == null) { - return StringPool.BLANK; - } - else { - return _tipoAvviso; - } - } - - @Override - public void setTipoAvviso(String tipoAvviso) { - _tipoAvviso = tipoAvviso; - } - - @Override - public String getTipoDocumento() { - if (_tipoDocumento == null) { - return StringPool.BLANK; - } - else { - return _tipoDocumento; - } - } - - @Override - public void setTipoDocumento(String tipoDocumento) { - _columnBitmask |= TIPODOCUMENTO_COLUMN_BITMASK; - - if (_originalTipoDocumento == null) { - _originalTipoDocumento = _tipoDocumento; - } - - _tipoDocumento = tipoDocumento; - } - - public String getOriginalTipoDocumento() { - return GetterUtil.getString(_originalTipoDocumento); - } - - @Override - public long getFileEntryIdTemplate() { - return _fileEntryIdTemplate; - } - - @Override - public void setFileEntryIdTemplate(long fileEntryIdTemplate) { - _fileEntryIdTemplate = fileEntryIdTemplate; - } - - @Override - public long getFileEntryIdBase() { - return _fileEntryIdBase; - } - - @Override - public void setFileEntryIdBase(long fileEntryIdBase) { - _fileEntryIdBase = fileEntryIdBase; - } - - @Override - public long getFileEntryIdFirma() { - return _fileEntryIdFirma; - } - - @Override - public void setFileEntryIdFirma(long fileEntryIdFirma) { - _fileEntryIdFirma = fileEntryIdFirma; - } - - @Override - public long getFileEntryIdInvio() { - return _fileEntryIdInvio; - } - - @Override - public void setFileEntryIdInvio(long fileEntryIdInvio) { - _fileEntryIdInvio = fileEntryIdInvio; - } - - @Override - public Date getDtCreateFileEntryInvio() { - return _dtCreateFileEntryInvio; - } - - @Override - public void setDtCreateFileEntryInvio(Date dtCreateFileEntryInvio) { - _dtCreateFileEntryInvio = dtCreateFileEntryInvio; - } - - @Override - public long getUserIdPrimaFirma() { - return _userIdPrimaFirma; - } - - @Override - public void setUserIdPrimaFirma(long userIdPrimaFirma) { - _userIdPrimaFirma = userIdPrimaFirma; - } - - @Override - public long getUserIdSecondaFirma() { - return _userIdSecondaFirma; - } - - @Override - public void setUserIdSecondaFirma(long userIdSecondaFirma) { - _userIdSecondaFirma = userIdSecondaFirma; - } - - @Override - public boolean getFirmaInCorso() { - return _firmaInCorso; - } - - @Override - public boolean isFirmaInCorso() { - return _firmaInCorso; - } - - @Override - public void setFirmaInCorso(boolean firmaInCorso) { - _firmaInCorso = firmaInCorso; - } - - @Override - public String getTransactionIdPrimaFirma() { - if (_transactionIdPrimaFirma == null) { - return StringPool.BLANK; - } - else { - return _transactionIdPrimaFirma; - } - } - - @Override - public void setTransactionIdPrimaFirma(String transactionIdPrimaFirma) { - _transactionIdPrimaFirma = transactionIdPrimaFirma; - } - - @Override - public String getTransactionIdSecondaFirma() { - if (_transactionIdSecondaFirma == null) { - return StringPool.BLANK; - } - else { - return _transactionIdSecondaFirma; - } - } - - @Override - public void setTransactionIdSecondaFirma(String transactionIdSecondaFirma) { - _transactionIdSecondaFirma = transactionIdSecondaFirma; - } - - @Override - public String getInviato() { - if (_inviato == null) { - return StringPool.BLANK; - } - else { - return _inviato; - } - } - - @Override - public void setInviato(String inviato) { - _inviato = inviato; - } - - @Override - public Date getDtInvio() { - return _dtInvio; - } - - @Override - public void setDtInvio(Date dtInvio) { - _dtInvio = dtInvio; - } - - @Override - public boolean getAnnullato() { - return _annullato; - } - - @Override - public boolean isAnnullato() { - return _annullato; - } - - @Override - public void setAnnullato(boolean annullato) { - _annullato = annullato; - } - - @Override - public boolean getErrore() { - return _errore; - } - - @Override - public boolean isErrore() { - return _errore; - } - - @Override - public void setErrore(boolean errore) { - _errore = errore; - } - - @Override - public boolean getSignal() { - return _signal; - } - - @Override - public boolean isSignal() { - return _signal; - } - - @Override - public void setSignal(boolean signal) { - _signal = signal; - } - - @Override - public Date getDtInvioSignal() { - return _dtInvioSignal; - } - - @Override - public void setDtInvioSignal(Date dtInvioSignal) { - _dtInvioSignal = dtInvioSignal; - } - - @Override - public boolean getTempistica() { - return _tempistica; - } - - @Override - public boolean isTempistica() { - return _tempistica; - } - - @Override - public void setTempistica(boolean tempistica) { - _tempistica = tempistica; - } - - @Override - public Date getDtTempistica() { - return _dtTempistica; - } - - @Override - public void setDtTempistica(Date dtTempistica) { - _dtTempistica = dtTempistica; - } - - @Override - public long getDaxId() { - return _daxId; - } - - @Override - public void setDaxId(long daxId) { - _daxId = daxId; - } - - @Override - public Date getDtInvioDax() { - return _dtInvioDax; - } - - @Override - public void setDtInvioDax(Date dtInvioDax) { - _dtInvioDax = dtInvioDax; - } - - @Override - public String getErroreDax() { - if (_erroreDax == null) { - return StringPool.BLANK; - } - else { - return _erroreDax; - } - } - - @Override - public void setErroreDax(String erroreDax) { - _erroreDax = erroreDax; - } - - @Override - public Date getDtErroreDax() { - return _dtErroreDax; - } - - @Override - public void setDtErroreDax(Date dtErroreDax) { - _dtErroreDax = dtErroreDax; - } - - @Override - public String getJsonParameters() { - if (_jsonParameters == null) { - return StringPool.BLANK; - } - else { - return _jsonParameters; - } - } - - @Override - public void setJsonParameters(String jsonParameters) { - _jsonParameters = jsonParameters; - } - - @Override - public String getProtocollo() { - if (_protocollo == null) { - return StringPool.BLANK; - } - else { - return _protocollo; - } - } - - @Override - public void setProtocollo(String protocollo) { - _columnBitmask |= PROTOCOLLO_COLUMN_BITMASK; - - if (_originalProtocollo == null) { - _originalProtocollo = _protocollo; - } - - _protocollo = protocollo; - } - - public String getOriginalProtocollo() { - return GetterUtil.getString(_originalProtocollo); - } - - @Override - public boolean getInviatoTecnico() { - return _inviatoTecnico; - } - - @Override - public boolean isInviatoTecnico() { - return _inviatoTecnico; - } - - @Override - public void setInviatoTecnico(boolean inviatoTecnico) { - _inviatoTecnico = inviatoTecnico; - } - - @Override - public long getDettPraticaId() { - return _dettPraticaId; - } - - @Override - public void setDettPraticaId(long dettPraticaId) { - _columnBitmask |= DETTPRATICAID_COLUMN_BITMASK; - - if (!_setOriginalDettPraticaId) { - _setOriginalDettPraticaId = true; - - _originalDettPraticaId = _dettPraticaId; - } - - _dettPraticaId = dettPraticaId; - } - - public long getOriginalDettPraticaId() { - return _originalDettPraticaId; - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoAvviso.class.getName())); - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - BoAvviso.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public BoAvviso toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (BoAvviso)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - BoAvvisoImpl boAvvisoImpl = new BoAvvisoImpl(); - - boAvvisoImpl.setUuid(getUuid()); - boAvvisoImpl.setAvvisoId(getAvvisoId()); - boAvvisoImpl.setCompanyId(getCompanyId()); - boAvvisoImpl.setUserId(getUserId()); - boAvvisoImpl.setUserName(getUserName()); - boAvvisoImpl.setCreateDate(getCreateDate()); - boAvvisoImpl.setModifiedDate(getModifiedDate()); - boAvvisoImpl.setGroupId(getGroupId()); - boAvvisoImpl.setDescLong(getDescLong()); - boAvvisoImpl.setDtAvviso(getDtAvviso()); - boAvvisoImpl.setTipoAvviso(getTipoAvviso()); - boAvvisoImpl.setTipoDocumento(getTipoDocumento()); - boAvvisoImpl.setFileEntryIdTemplate(getFileEntryIdTemplate()); - boAvvisoImpl.setFileEntryIdBase(getFileEntryIdBase()); - boAvvisoImpl.setFileEntryIdFirma(getFileEntryIdFirma()); - boAvvisoImpl.setFileEntryIdInvio(getFileEntryIdInvio()); - boAvvisoImpl.setDtCreateFileEntryInvio(getDtCreateFileEntryInvio()); - boAvvisoImpl.setUserIdPrimaFirma(getUserIdPrimaFirma()); - boAvvisoImpl.setUserIdSecondaFirma(getUserIdSecondaFirma()); - boAvvisoImpl.setFirmaInCorso(getFirmaInCorso()); - boAvvisoImpl.setTransactionIdPrimaFirma(getTransactionIdPrimaFirma()); - boAvvisoImpl.setTransactionIdSecondaFirma(getTransactionIdSecondaFirma()); - boAvvisoImpl.setInviato(getInviato()); - boAvvisoImpl.setDtInvio(getDtInvio()); - boAvvisoImpl.setAnnullato(getAnnullato()); - boAvvisoImpl.setErrore(getErrore()); - boAvvisoImpl.setSignal(getSignal()); - boAvvisoImpl.setDtInvioSignal(getDtInvioSignal()); - boAvvisoImpl.setTempistica(getTempistica()); - boAvvisoImpl.setDtTempistica(getDtTempistica()); - boAvvisoImpl.setDaxId(getDaxId()); - boAvvisoImpl.setDtInvioDax(getDtInvioDax()); - boAvvisoImpl.setErroreDax(getErroreDax()); - boAvvisoImpl.setDtErroreDax(getDtErroreDax()); - boAvvisoImpl.setJsonParameters(getJsonParameters()); - boAvvisoImpl.setProtocollo(getProtocollo()); - boAvvisoImpl.setInviatoTecnico(getInviatoTecnico()); - boAvvisoImpl.setDettPraticaId(getDettPraticaId()); - - boAvvisoImpl.resetOriginalValues(); - - return boAvvisoImpl; - } - - @Override - public int compareTo(BoAvviso boAvviso) { - int value = 0; - - value = DateUtil.compareTo(getDtAvviso(), boAvviso.getDtAvviso()); - - value = value * -1; - - if (value != 0) { - return value; - } - - return 0; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoAvviso)) { - return false; - } - - BoAvviso boAvviso = (BoAvviso)obj; - - long primaryKey = boAvviso.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - BoAvvisoModelImpl boAvvisoModelImpl = this; - - boAvvisoModelImpl._originalUuid = boAvvisoModelImpl._uuid; - - boAvvisoModelImpl._originalCompanyId = boAvvisoModelImpl._companyId; - - boAvvisoModelImpl._setOriginalCompanyId = false; - - boAvvisoModelImpl._originalGroupId = boAvvisoModelImpl._groupId; - - boAvvisoModelImpl._setOriginalGroupId = false; - - boAvvisoModelImpl._originalTipoDocumento = boAvvisoModelImpl._tipoDocumento; - - boAvvisoModelImpl._originalProtocollo = boAvvisoModelImpl._protocollo; - - boAvvisoModelImpl._originalDettPraticaId = boAvvisoModelImpl._dettPraticaId; - - boAvvisoModelImpl._setOriginalDettPraticaId = false; - - boAvvisoModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - BoAvvisoCacheModel boAvvisoCacheModel = new BoAvvisoCacheModel(); - - boAvvisoCacheModel.uuid = getUuid(); - - String uuid = boAvvisoCacheModel.uuid; - - if ((uuid != null) && (uuid.length() == 0)) { - boAvvisoCacheModel.uuid = null; - } - - boAvvisoCacheModel.avvisoId = getAvvisoId(); - - boAvvisoCacheModel.companyId = getCompanyId(); - - boAvvisoCacheModel.userId = getUserId(); - - boAvvisoCacheModel.userName = getUserName(); - - String userName = boAvvisoCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - boAvvisoCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - boAvvisoCacheModel.createDate = createDate.getTime(); - } - else { - boAvvisoCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - boAvvisoCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - boAvvisoCacheModel.modifiedDate = Long.MIN_VALUE; - } - - boAvvisoCacheModel.groupId = getGroupId(); - - boAvvisoCacheModel.descLong = getDescLong(); - - String descLong = boAvvisoCacheModel.descLong; - - if ((descLong != null) && (descLong.length() == 0)) { - boAvvisoCacheModel.descLong = null; - } - - Date dtAvviso = getDtAvviso(); - - if (dtAvviso != null) { - boAvvisoCacheModel.dtAvviso = dtAvviso.getTime(); - } - else { - boAvvisoCacheModel.dtAvviso = Long.MIN_VALUE; - } - - boAvvisoCacheModel.tipoAvviso = getTipoAvviso(); - - String tipoAvviso = boAvvisoCacheModel.tipoAvviso; - - if ((tipoAvviso != null) && (tipoAvviso.length() == 0)) { - boAvvisoCacheModel.tipoAvviso = null; - } - - boAvvisoCacheModel.tipoDocumento = getTipoDocumento(); - - String tipoDocumento = boAvvisoCacheModel.tipoDocumento; - - if ((tipoDocumento != null) && (tipoDocumento.length() == 0)) { - boAvvisoCacheModel.tipoDocumento = null; - } - - boAvvisoCacheModel.fileEntryIdTemplate = getFileEntryIdTemplate(); - - boAvvisoCacheModel.fileEntryIdBase = getFileEntryIdBase(); - - boAvvisoCacheModel.fileEntryIdFirma = getFileEntryIdFirma(); - - boAvvisoCacheModel.fileEntryIdInvio = getFileEntryIdInvio(); - - Date dtCreateFileEntryInvio = getDtCreateFileEntryInvio(); - - if (dtCreateFileEntryInvio != null) { - boAvvisoCacheModel.dtCreateFileEntryInvio = dtCreateFileEntryInvio.getTime(); - } - else { - boAvvisoCacheModel.dtCreateFileEntryInvio = Long.MIN_VALUE; - } - - boAvvisoCacheModel.userIdPrimaFirma = getUserIdPrimaFirma(); - - boAvvisoCacheModel.userIdSecondaFirma = getUserIdSecondaFirma(); - - boAvvisoCacheModel.firmaInCorso = getFirmaInCorso(); - - boAvvisoCacheModel.transactionIdPrimaFirma = getTransactionIdPrimaFirma(); - - String transactionIdPrimaFirma = boAvvisoCacheModel.transactionIdPrimaFirma; - - if ((transactionIdPrimaFirma != null) && - (transactionIdPrimaFirma.length() == 0)) { - boAvvisoCacheModel.transactionIdPrimaFirma = null; - } - - boAvvisoCacheModel.transactionIdSecondaFirma = getTransactionIdSecondaFirma(); - - String transactionIdSecondaFirma = boAvvisoCacheModel.transactionIdSecondaFirma; - - if ((transactionIdSecondaFirma != null) && - (transactionIdSecondaFirma.length() == 0)) { - boAvvisoCacheModel.transactionIdSecondaFirma = null; - } - - boAvvisoCacheModel.inviato = getInviato(); - - String inviato = boAvvisoCacheModel.inviato; - - if ((inviato != null) && (inviato.length() == 0)) { - boAvvisoCacheModel.inviato = null; - } - - Date dtInvio = getDtInvio(); - - if (dtInvio != null) { - boAvvisoCacheModel.dtInvio = dtInvio.getTime(); - } - else { - boAvvisoCacheModel.dtInvio = Long.MIN_VALUE; - } - - boAvvisoCacheModel.annullato = getAnnullato(); - - boAvvisoCacheModel.errore = getErrore(); - - boAvvisoCacheModel.signal = getSignal(); - - Date dtInvioSignal = getDtInvioSignal(); - - if (dtInvioSignal != null) { - boAvvisoCacheModel.dtInvioSignal = dtInvioSignal.getTime(); - } - else { - boAvvisoCacheModel.dtInvioSignal = Long.MIN_VALUE; - } - - boAvvisoCacheModel.tempistica = getTempistica(); - - Date dtTempistica = getDtTempistica(); - - if (dtTempistica != null) { - boAvvisoCacheModel.dtTempistica = dtTempistica.getTime(); - } - else { - boAvvisoCacheModel.dtTempistica = Long.MIN_VALUE; - } - - boAvvisoCacheModel.daxId = getDaxId(); - - Date dtInvioDax = getDtInvioDax(); - - if (dtInvioDax != null) { - boAvvisoCacheModel.dtInvioDax = dtInvioDax.getTime(); - } - else { - boAvvisoCacheModel.dtInvioDax = Long.MIN_VALUE; - } - - boAvvisoCacheModel.erroreDax = getErroreDax(); - - String erroreDax = boAvvisoCacheModel.erroreDax; - - if ((erroreDax != null) && (erroreDax.length() == 0)) { - boAvvisoCacheModel.erroreDax = null; - } - - Date dtErroreDax = getDtErroreDax(); - - if (dtErroreDax != null) { - boAvvisoCacheModel.dtErroreDax = dtErroreDax.getTime(); - } - else { - boAvvisoCacheModel.dtErroreDax = Long.MIN_VALUE; - } - - boAvvisoCacheModel.jsonParameters = getJsonParameters(); - - String jsonParameters = boAvvisoCacheModel.jsonParameters; - - if ((jsonParameters != null) && (jsonParameters.length() == 0)) { - boAvvisoCacheModel.jsonParameters = null; - } - - boAvvisoCacheModel.protocollo = getProtocollo(); - - String protocollo = boAvvisoCacheModel.protocollo; - - if ((protocollo != null) && (protocollo.length() == 0)) { - boAvvisoCacheModel.protocollo = null; - } - - boAvvisoCacheModel.inviatoTecnico = getInviatoTecnico(); - - boAvvisoCacheModel.dettPraticaId = getDettPraticaId(); - - return boAvvisoCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(77); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", avvisoId="); - sb.append(getAvvisoId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", descLong="); - sb.append(getDescLong()); - sb.append(", dtAvviso="); - sb.append(getDtAvviso()); - sb.append(", tipoAvviso="); - sb.append(getTipoAvviso()); - sb.append(", tipoDocumento="); - sb.append(getTipoDocumento()); - sb.append(", fileEntryIdTemplate="); - sb.append(getFileEntryIdTemplate()); - sb.append(", fileEntryIdBase="); - sb.append(getFileEntryIdBase()); - sb.append(", fileEntryIdFirma="); - sb.append(getFileEntryIdFirma()); - sb.append(", fileEntryIdInvio="); - sb.append(getFileEntryIdInvio()); - sb.append(", dtCreateFileEntryInvio="); - sb.append(getDtCreateFileEntryInvio()); - sb.append(", userIdPrimaFirma="); - sb.append(getUserIdPrimaFirma()); - sb.append(", userIdSecondaFirma="); - sb.append(getUserIdSecondaFirma()); - sb.append(", firmaInCorso="); - sb.append(getFirmaInCorso()); - sb.append(", transactionIdPrimaFirma="); - sb.append(getTransactionIdPrimaFirma()); - sb.append(", transactionIdSecondaFirma="); - sb.append(getTransactionIdSecondaFirma()); - sb.append(", inviato="); - sb.append(getInviato()); - sb.append(", dtInvio="); - sb.append(getDtInvio()); - sb.append(", annullato="); - sb.append(getAnnullato()); - sb.append(", errore="); - sb.append(getErrore()); - sb.append(", signal="); - sb.append(getSignal()); - sb.append(", dtInvioSignal="); - sb.append(getDtInvioSignal()); - sb.append(", tempistica="); - sb.append(getTempistica()); - sb.append(", dtTempistica="); - sb.append(getDtTempistica()); - sb.append(", daxId="); - sb.append(getDaxId()); - sb.append(", dtInvioDax="); - sb.append(getDtInvioDax()); - sb.append(", erroreDax="); - sb.append(getErroreDax()); - sb.append(", dtErroreDax="); - sb.append(getDtErroreDax()); - sb.append(", jsonParameters="); - sb.append(getJsonParameters()); - sb.append(", protocollo="); - sb.append(getProtocollo()); - sb.append(", inviatoTecnico="); - sb.append(getInviatoTecnico()); - sb.append(", dettPraticaId="); - sb.append(getDettPraticaId()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(118); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.BoAvviso"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "avvisoId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "descLong"); - sb.append( - "dtAvviso"); - sb.append( - "tipoAvviso"); - sb.append( - "tipoDocumento"); - sb.append( - "fileEntryIdTemplate"); - sb.append( - "fileEntryIdBase"); - sb.append( - "fileEntryIdFirma"); - sb.append( - "fileEntryIdInvio"); - sb.append( - "dtCreateFileEntryInvio"); - sb.append( - "userIdPrimaFirma"); - sb.append( - "userIdSecondaFirma"); - sb.append( - "firmaInCorso"); - sb.append( - "transactionIdPrimaFirma"); - sb.append( - "transactionIdSecondaFirma"); - sb.append( - "inviato"); - sb.append( - "dtInvio"); - sb.append( - "annullato"); - sb.append( - "errore"); - sb.append( - "signal"); - sb.append( - "dtInvioSignal"); - sb.append( - "tempistica"); - sb.append( - "dtTempistica"); - sb.append( - "daxId"); - sb.append( - "dtInvioDax"); - sb.append( - "erroreDax"); - sb.append( - "dtErroreDax"); - sb.append( - "jsonParameters"); - sb.append( - "protocollo"); - sb.append( - "inviatoTecnico"); - sb.append( - "dettPraticaId"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = BoAvviso.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - BoAvviso.class - }; - private String _uuid; - private String _originalUuid; - private long _avvisoId; - private long _companyId; - private long _originalCompanyId; - private boolean _setOriginalCompanyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _originalGroupId; - private boolean _setOriginalGroupId; - private String _descLong; - private Date _dtAvviso; - private String _tipoAvviso; - private String _tipoDocumento; - private String _originalTipoDocumento; - private long _fileEntryIdTemplate; - private long _fileEntryIdBase; - private long _fileEntryIdFirma; - private long _fileEntryIdInvio; - private Date _dtCreateFileEntryInvio; - private long _userIdPrimaFirma; - private long _userIdSecondaFirma; - private boolean _firmaInCorso; - private String _transactionIdPrimaFirma; - private String _transactionIdSecondaFirma; - private String _inviato; - private Date _dtInvio; - private boolean _annullato; - private boolean _errore; - private boolean _signal; - private Date _dtInvioSignal; - private boolean _tempistica; - private Date _dtTempistica; - private long _daxId; - private Date _dtInvioDax; - private String _erroreDax; - private Date _dtErroreDax; - private String _jsonParameters; - private String _protocollo; - private String _originalProtocollo; - private boolean _inviatoTecnico; - private long _dettPraticaId; - private long _originalDettPraticaId; - private boolean _setOriginalDettPraticaId; - private long _columnBitmask; - private BoAvviso _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoComuneBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoComuneBaseImpl.java deleted file mode 100644 index df8bef5a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoComuneBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.BoComune; -import it.tref.liferay.portos.importazione.service.BoComuneLocalServiceUtil; - -/** - * The extended model base implementation for the BoComune service. Represents a row in the "gc_comune" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoComuneImpl}. - *

- * - * @author 3FC - * @see BoComuneImpl - * @see it.tref.liferay.portos.importazione.model.BoComune - * @generated - */ -public abstract class BoComuneBaseImpl extends BoComuneModelImpl - implements BoComune { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo comune model instance should use the {@link BoComune} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoComuneLocalServiceUtil.addBoComune(this); - } - else { - BoComuneLocalServiceUtil.updateBoComune(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoComuneCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoComuneCacheModel.java deleted file mode 100644 index 7c92077a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoComuneCacheModel.java +++ /dev/null @@ -1,188 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.importazione.model.BoComune; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing BoComune in entity cache. - * - * @author 3FC - * @see BoComune - * @generated - */ -public class BoComuneCacheModel implements CacheModel, Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(21); - - sb.append("{comuneId="); - sb.append(comuneId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", provinciaId="); - sb.append(provinciaId); - sb.append(", codIstat="); - sb.append(codIstat); - sb.append(", codCatastale="); - sb.append(codCatastale); - sb.append(", descLong="); - sb.append(descLong); - sb.append("}"); - - return sb.toString(); - } - - @Override - public BoComune toEntityModel() { - BoComuneImpl boComuneImpl = new BoComuneImpl(); - - boComuneImpl.setComuneId(comuneId); - boComuneImpl.setCompanyId(companyId); - boComuneImpl.setUserId(userId); - - if (userName == null) { - boComuneImpl.setUserName(StringPool.BLANK); - } - else { - boComuneImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - boComuneImpl.setCreateDate(null); - } - else { - boComuneImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - boComuneImpl.setModifiedDate(null); - } - else { - boComuneImpl.setModifiedDate(new Date(modifiedDate)); - } - - boComuneImpl.setProvinciaId(provinciaId); - - if (codIstat == null) { - boComuneImpl.setCodIstat(StringPool.BLANK); - } - else { - boComuneImpl.setCodIstat(codIstat); - } - - if (codCatastale == null) { - boComuneImpl.setCodCatastale(StringPool.BLANK); - } - else { - boComuneImpl.setCodCatastale(codCatastale); - } - - if (descLong == null) { - boComuneImpl.setDescLong(StringPool.BLANK); - } - else { - boComuneImpl.setDescLong(descLong); - } - - boComuneImpl.resetOriginalValues(); - - return boComuneImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - comuneId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - provinciaId = objectInput.readLong(); - codIstat = objectInput.readUTF(); - codCatastale = objectInput.readUTF(); - descLong = objectInput.readUTF(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - objectOutput.writeLong(comuneId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeLong(provinciaId); - - if (codIstat == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codIstat); - } - - if (codCatastale == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codCatastale); - } - - if (descLong == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(descLong); - } - } - - public long comuneId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public long provinciaId; - public String codIstat; - public String codCatastale; - public String descLong; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoComuneImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoComuneImpl.java deleted file mode 100644 index a6bca1a6..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoComuneImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -/** - * The extended model implementation for the BoComune service. Represents a row in the "gc_comune" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.model.BoComune} interface. - *

- * - * @author 3FC - */ -public class BoComuneImpl extends BoComuneBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a bo comune model instance should use the {@link it.tref.liferay.portos.importazione.model.BoComune} interface instead. - */ - public BoComuneImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoComuneModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoComuneModelImpl.java deleted file mode 100644 index b98ae77a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoComuneModelImpl.java +++ /dev/null @@ -1,628 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.importazione.model.BoComune; -import it.tref.liferay.portos.importazione.model.BoComuneModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the BoComune service. Represents a row in the "gc_comune" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.importazione.model.BoComuneModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoComuneImpl}. - *

- * - * @author 3FC - * @see BoComuneImpl - * @see it.tref.liferay.portos.importazione.model.BoComune - * @see it.tref.liferay.portos.importazione.model.BoComuneModel - * @generated - */ -public class BoComuneModelImpl extends BaseModelImpl - implements BoComuneModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo comune model instance should use the {@link it.tref.liferay.portos.importazione.model.BoComune} interface instead. - */ - public static final String TABLE_NAME = "gc_comune"; - public static final Object[][] TABLE_COLUMNS = { - { "comuneId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "provinciaId", Types.BIGINT }, - { "codIstat", Types.VARCHAR }, - { "codCatastale", Types.VARCHAR }, - { "descLong", Types.VARCHAR } - }; - public static final String TABLE_SQL_CREATE = "create table gc_comune (comuneId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,provinciaId LONG,codIstat VARCHAR(75) null,codCatastale VARCHAR(75) null,descLong VARCHAR(75) null)"; - public static final String TABLE_SQL_DROP = "drop table gc_comune"; - public static final String ORDER_BY_JPQL = " ORDER BY boComune.descLong ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gc_comune.descLong ASC"; - public static final String DATA_SOURCE = "datiPortos1DbDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.importazione.model.BoComune"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.importazione.model.BoComune"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.importazione.model.BoComune"), - true); - public static long CODCATASTALE_COLUMN_BITMASK = 1L; - public static long CODISTAT_COLUMN_BITMASK = 2L; - public static long DESCLONG_COLUMN_BITMASK = 4L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.importazione.model.BoComune")); - - public BoComuneModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _comuneId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setComuneId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _comuneId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return BoComune.class; - } - - @Override - public String getModelClassName() { - return BoComune.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("comuneId", getComuneId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("provinciaId", getProvinciaId()); - attributes.put("codIstat", getCodIstat()); - attributes.put("codCatastale", getCodCatastale()); - attributes.put("descLong", getDescLong()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long comuneId = (Long)attributes.get("comuneId"); - - if (comuneId != null) { - setComuneId(comuneId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long provinciaId = (Long)attributes.get("provinciaId"); - - if (provinciaId != null) { - setProvinciaId(provinciaId); - } - - String codIstat = (String)attributes.get("codIstat"); - - if (codIstat != null) { - setCodIstat(codIstat); - } - - String codCatastale = (String)attributes.get("codCatastale"); - - if (codCatastale != null) { - setCodCatastale(codCatastale); - } - - String descLong = (String)attributes.get("descLong"); - - if (descLong != null) { - setDescLong(descLong); - } - } - - @Override - public long getComuneId() { - return _comuneId; - } - - @Override - public void setComuneId(long comuneId) { - _comuneId = comuneId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public long getProvinciaId() { - return _provinciaId; - } - - @Override - public void setProvinciaId(long provinciaId) { - _provinciaId = provinciaId; - } - - @Override - public String getCodIstat() { - if (_codIstat == null) { - return StringPool.BLANK; - } - else { - return _codIstat; - } - } - - @Override - public void setCodIstat(String codIstat) { - _columnBitmask |= CODISTAT_COLUMN_BITMASK; - - if (_originalCodIstat == null) { - _originalCodIstat = _codIstat; - } - - _codIstat = codIstat; - } - - public String getOriginalCodIstat() { - return GetterUtil.getString(_originalCodIstat); - } - - @Override - public String getCodCatastale() { - if (_codCatastale == null) { - return StringPool.BLANK; - } - else { - return _codCatastale; - } - } - - @Override - public void setCodCatastale(String codCatastale) { - _columnBitmask |= CODCATASTALE_COLUMN_BITMASK; - - if (_originalCodCatastale == null) { - _originalCodCatastale = _codCatastale; - } - - _codCatastale = codCatastale; - } - - public String getOriginalCodCatastale() { - return GetterUtil.getString(_originalCodCatastale); - } - - @Override - public String getDescLong() { - if (_descLong == null) { - return StringPool.BLANK; - } - else { - return _descLong; - } - } - - @Override - public void setDescLong(String descLong) { - _columnBitmask = -1L; - - _descLong = descLong; - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - BoComune.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public BoComune toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (BoComune)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - BoComuneImpl boComuneImpl = new BoComuneImpl(); - - boComuneImpl.setComuneId(getComuneId()); - boComuneImpl.setCompanyId(getCompanyId()); - boComuneImpl.setUserId(getUserId()); - boComuneImpl.setUserName(getUserName()); - boComuneImpl.setCreateDate(getCreateDate()); - boComuneImpl.setModifiedDate(getModifiedDate()); - boComuneImpl.setProvinciaId(getProvinciaId()); - boComuneImpl.setCodIstat(getCodIstat()); - boComuneImpl.setCodCatastale(getCodCatastale()); - boComuneImpl.setDescLong(getDescLong()); - - boComuneImpl.resetOriginalValues(); - - return boComuneImpl; - } - - @Override - public int compareTo(BoComune boComune) { - int value = 0; - - value = getDescLong().compareTo(boComune.getDescLong()); - - if (value != 0) { - return value; - } - - return 0; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoComune)) { - return false; - } - - BoComune boComune = (BoComune)obj; - - long primaryKey = boComune.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - BoComuneModelImpl boComuneModelImpl = this; - - boComuneModelImpl._originalCodIstat = boComuneModelImpl._codIstat; - - boComuneModelImpl._originalCodCatastale = boComuneModelImpl._codCatastale; - - boComuneModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - BoComuneCacheModel boComuneCacheModel = new BoComuneCacheModel(); - - boComuneCacheModel.comuneId = getComuneId(); - - boComuneCacheModel.companyId = getCompanyId(); - - boComuneCacheModel.userId = getUserId(); - - boComuneCacheModel.userName = getUserName(); - - String userName = boComuneCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - boComuneCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - boComuneCacheModel.createDate = createDate.getTime(); - } - else { - boComuneCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - boComuneCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - boComuneCacheModel.modifiedDate = Long.MIN_VALUE; - } - - boComuneCacheModel.provinciaId = getProvinciaId(); - - boComuneCacheModel.codIstat = getCodIstat(); - - String codIstat = boComuneCacheModel.codIstat; - - if ((codIstat != null) && (codIstat.length() == 0)) { - boComuneCacheModel.codIstat = null; - } - - boComuneCacheModel.codCatastale = getCodCatastale(); - - String codCatastale = boComuneCacheModel.codCatastale; - - if ((codCatastale != null) && (codCatastale.length() == 0)) { - boComuneCacheModel.codCatastale = null; - } - - boComuneCacheModel.descLong = getDescLong(); - - String descLong = boComuneCacheModel.descLong; - - if ((descLong != null) && (descLong.length() == 0)) { - boComuneCacheModel.descLong = null; - } - - return boComuneCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(21); - - sb.append("{comuneId="); - sb.append(getComuneId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", provinciaId="); - sb.append(getProvinciaId()); - sb.append(", codIstat="); - sb.append(getCodIstat()); - sb.append(", codCatastale="); - sb.append(getCodCatastale()); - sb.append(", descLong="); - sb.append(getDescLong()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(34); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.BoComune"); - sb.append(""); - - sb.append( - "comuneId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "provinciaId"); - sb.append( - "codIstat"); - sb.append( - "codCatastale"); - sb.append( - "descLong"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = BoComune.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - BoComune.class - }; - private long _comuneId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _provinciaId; - private String _codIstat; - private String _originalCodIstat; - private String _codCatastale; - private String _originalCodCatastale; - private String _descLong; - private long _columnBitmask; - private BoComune _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoConfigurazioneBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoConfigurazioneBaseImpl.java deleted file mode 100644 index b359a3e5..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoConfigurazioneBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.BoConfigurazione; -import it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalServiceUtil; - -/** - * The extended model base implementation for the BoConfigurazione service. Represents a row in the "gc_configurazione" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoConfigurazioneImpl}. - *

- * - * @author 3FC - * @see BoConfigurazioneImpl - * @see it.tref.liferay.portos.importazione.model.BoConfigurazione - * @generated - */ -public abstract class BoConfigurazioneBaseImpl extends BoConfigurazioneModelImpl - implements BoConfigurazione { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo configurazione model instance should use the {@link BoConfigurazione} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoConfigurazioneLocalServiceUtil.addBoConfigurazione(this); - } - else { - BoConfigurazioneLocalServiceUtil.updateBoConfigurazione(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoConfigurazioneCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoConfigurazioneCacheModel.java deleted file mode 100644 index 21d859b9..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoConfigurazioneCacheModel.java +++ /dev/null @@ -1,189 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.importazione.model.BoConfigurazione; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing BoConfigurazione in entity cache. - * - * @author 3FC - * @see BoConfigurazione - * @generated - */ -public class BoConfigurazioneCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(21); - - sb.append("{uuid="); - sb.append(uuid); - sb.append(", configurazioneId="); - sb.append(configurazioneId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", chiave="); - sb.append(chiave); - sb.append(", valore="); - sb.append(valore); - sb.append("}"); - - return sb.toString(); - } - - @Override - public BoConfigurazione toEntityModel() { - BoConfigurazioneImpl boConfigurazioneImpl = new BoConfigurazioneImpl(); - - if (uuid == null) { - boConfigurazioneImpl.setUuid(StringPool.BLANK); - } - else { - boConfigurazioneImpl.setUuid(uuid); - } - - boConfigurazioneImpl.setConfigurazioneId(configurazioneId); - boConfigurazioneImpl.setCompanyId(companyId); - boConfigurazioneImpl.setUserId(userId); - - if (userName == null) { - boConfigurazioneImpl.setUserName(StringPool.BLANK); - } - else { - boConfigurazioneImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - boConfigurazioneImpl.setCreateDate(null); - } - else { - boConfigurazioneImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - boConfigurazioneImpl.setModifiedDate(null); - } - else { - boConfigurazioneImpl.setModifiedDate(new Date(modifiedDate)); - } - - boConfigurazioneImpl.setGroupId(groupId); - - if (chiave == null) { - boConfigurazioneImpl.setChiave(StringPool.BLANK); - } - else { - boConfigurazioneImpl.setChiave(chiave); - } - - if (valore == null) { - boConfigurazioneImpl.setValore(StringPool.BLANK); - } - else { - boConfigurazioneImpl.setValore(valore); - } - - boConfigurazioneImpl.resetOriginalValues(); - - return boConfigurazioneImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - uuid = objectInput.readUTF(); - configurazioneId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - groupId = objectInput.readLong(); - chiave = objectInput.readUTF(); - valore = objectInput.readUTF(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - if (uuid == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(uuid); - } - - objectOutput.writeLong(configurazioneId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeLong(groupId); - - if (chiave == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(chiave); - } - - if (valore == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(valore); - } - } - - public String uuid; - public long configurazioneId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public long groupId; - public String chiave; - public String valore; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoConfigurazioneImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoConfigurazioneImpl.java deleted file mode 100644 index 88b66cf4..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoConfigurazioneImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -/** - * The extended model implementation for the BoConfigurazione service. Represents a row in the "gc_configurazione" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.model.BoConfigurazione} interface. - *

- * - * @author 3FC - */ -public class BoConfigurazioneImpl extends BoConfigurazioneBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a bo configurazione model instance should use the {@link it.tref.liferay.portos.importazione.model.BoConfigurazione} interface instead. - */ - public BoConfigurazioneImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoConfigurazioneModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoConfigurazioneModelImpl.java deleted file mode 100644 index e4552ae8..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoConfigurazioneModelImpl.java +++ /dev/null @@ -1,671 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.importazione.model.BoConfigurazione; -import it.tref.liferay.portos.importazione.model.BoConfigurazioneModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the BoConfigurazione service. Represents a row in the "gc_configurazione" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.importazione.model.BoConfigurazioneModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoConfigurazioneImpl}. - *

- * - * @author 3FC - * @see BoConfigurazioneImpl - * @see it.tref.liferay.portos.importazione.model.BoConfigurazione - * @see it.tref.liferay.portos.importazione.model.BoConfigurazioneModel - * @generated - */ -public class BoConfigurazioneModelImpl extends BaseModelImpl - implements BoConfigurazioneModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo configurazione model instance should use the {@link it.tref.liferay.portos.importazione.model.BoConfigurazione} interface instead. - */ - public static final String TABLE_NAME = "gc_configurazione"; - public static final Object[][] TABLE_COLUMNS = { - { "uuid_", Types.VARCHAR }, - { "configurazioneId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "groupId", Types.BIGINT }, - { "chiave", Types.VARCHAR }, - { "valore", Types.VARCHAR } - }; - public static final String TABLE_SQL_CREATE = "create table gc_configurazione (uuid_ VARCHAR(75) null,configurazioneId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,chiave VARCHAR(75) null,valore VARCHAR(75) null)"; - public static final String TABLE_SQL_DROP = "drop table gc_configurazione"; - public static final String ORDER_BY_JPQL = " ORDER BY boConfigurazione.configurazioneId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gc_configurazione.configurazioneId ASC"; - public static final String DATA_SOURCE = "datiPortos1DbDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.importazione.model.BoConfigurazione"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.importazione.model.BoConfigurazione"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.importazione.model.BoConfigurazione"), - true); - public static long CHIAVE_COLUMN_BITMASK = 1L; - public static long COMPANYID_COLUMN_BITMASK = 2L; - public static long GROUPID_COLUMN_BITMASK = 4L; - public static long UUID_COLUMN_BITMASK = 8L; - public static long CONFIGURAZIONEID_COLUMN_BITMASK = 16L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.importazione.model.BoConfigurazione")); - - public BoConfigurazioneModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _configurazioneId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setConfigurazioneId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _configurazioneId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return BoConfigurazione.class; - } - - @Override - public String getModelClassName() { - return BoConfigurazione.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("configurazioneId", getConfigurazioneId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("chiave", getChiave()); - attributes.put("valore", getValore()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long configurazioneId = (Long)attributes.get("configurazioneId"); - - if (configurazioneId != null) { - setConfigurazioneId(configurazioneId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - String chiave = (String)attributes.get("chiave"); - - if (chiave != null) { - setChiave(chiave); - } - - String valore = (String)attributes.get("valore"); - - if (valore != null) { - setValore(valore); - } - } - - @Override - public String getUuid() { - if (_uuid == null) { - return StringPool.BLANK; - } - else { - return _uuid; - } - } - - @Override - public void setUuid(String uuid) { - if (_originalUuid == null) { - _originalUuid = _uuid; - } - - _uuid = uuid; - } - - public String getOriginalUuid() { - return GetterUtil.getString(_originalUuid); - } - - @Override - public long getConfigurazioneId() { - return _configurazioneId; - } - - @Override - public void setConfigurazioneId(long configurazioneId) { - _configurazioneId = configurazioneId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _columnBitmask |= COMPANYID_COLUMN_BITMASK; - - if (!_setOriginalCompanyId) { - _setOriginalCompanyId = true; - - _originalCompanyId = _companyId; - } - - _companyId = companyId; - } - - public long getOriginalCompanyId() { - return _originalCompanyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _columnBitmask |= GROUPID_COLUMN_BITMASK; - - if (!_setOriginalGroupId) { - _setOriginalGroupId = true; - - _originalGroupId = _groupId; - } - - _groupId = groupId; - } - - public long getOriginalGroupId() { - return _originalGroupId; - } - - @Override - public String getChiave() { - if (_chiave == null) { - return StringPool.BLANK; - } - else { - return _chiave; - } - } - - @Override - public void setChiave(String chiave) { - _columnBitmask |= CHIAVE_COLUMN_BITMASK; - - if (_originalChiave == null) { - _originalChiave = _chiave; - } - - _chiave = chiave; - } - - public String getOriginalChiave() { - return GetterUtil.getString(_originalChiave); - } - - @Override - public String getValore() { - if (_valore == null) { - return StringPool.BLANK; - } - else { - return _valore; - } - } - - @Override - public void setValore(String valore) { - _valore = valore; - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoConfigurazione.class.getName())); - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - BoConfigurazione.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public BoConfigurazione toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (BoConfigurazione)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - BoConfigurazioneImpl boConfigurazioneImpl = new BoConfigurazioneImpl(); - - boConfigurazioneImpl.setUuid(getUuid()); - boConfigurazioneImpl.setConfigurazioneId(getConfigurazioneId()); - boConfigurazioneImpl.setCompanyId(getCompanyId()); - boConfigurazioneImpl.setUserId(getUserId()); - boConfigurazioneImpl.setUserName(getUserName()); - boConfigurazioneImpl.setCreateDate(getCreateDate()); - boConfigurazioneImpl.setModifiedDate(getModifiedDate()); - boConfigurazioneImpl.setGroupId(getGroupId()); - boConfigurazioneImpl.setChiave(getChiave()); - boConfigurazioneImpl.setValore(getValore()); - - boConfigurazioneImpl.resetOriginalValues(); - - return boConfigurazioneImpl; - } - - @Override - public int compareTo(BoConfigurazione boConfigurazione) { - long primaryKey = boConfigurazione.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoConfigurazione)) { - return false; - } - - BoConfigurazione boConfigurazione = (BoConfigurazione)obj; - - long primaryKey = boConfigurazione.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - BoConfigurazioneModelImpl boConfigurazioneModelImpl = this; - - boConfigurazioneModelImpl._originalUuid = boConfigurazioneModelImpl._uuid; - - boConfigurazioneModelImpl._originalCompanyId = boConfigurazioneModelImpl._companyId; - - boConfigurazioneModelImpl._setOriginalCompanyId = false; - - boConfigurazioneModelImpl._originalGroupId = boConfigurazioneModelImpl._groupId; - - boConfigurazioneModelImpl._setOriginalGroupId = false; - - boConfigurazioneModelImpl._originalChiave = boConfigurazioneModelImpl._chiave; - - boConfigurazioneModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - BoConfigurazioneCacheModel boConfigurazioneCacheModel = new BoConfigurazioneCacheModel(); - - boConfigurazioneCacheModel.uuid = getUuid(); - - String uuid = boConfigurazioneCacheModel.uuid; - - if ((uuid != null) && (uuid.length() == 0)) { - boConfigurazioneCacheModel.uuid = null; - } - - boConfigurazioneCacheModel.configurazioneId = getConfigurazioneId(); - - boConfigurazioneCacheModel.companyId = getCompanyId(); - - boConfigurazioneCacheModel.userId = getUserId(); - - boConfigurazioneCacheModel.userName = getUserName(); - - String userName = boConfigurazioneCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - boConfigurazioneCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - boConfigurazioneCacheModel.createDate = createDate.getTime(); - } - else { - boConfigurazioneCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - boConfigurazioneCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - boConfigurazioneCacheModel.modifiedDate = Long.MIN_VALUE; - } - - boConfigurazioneCacheModel.groupId = getGroupId(); - - boConfigurazioneCacheModel.chiave = getChiave(); - - String chiave = boConfigurazioneCacheModel.chiave; - - if ((chiave != null) && (chiave.length() == 0)) { - boConfigurazioneCacheModel.chiave = null; - } - - boConfigurazioneCacheModel.valore = getValore(); - - String valore = boConfigurazioneCacheModel.valore; - - if ((valore != null) && (valore.length() == 0)) { - boConfigurazioneCacheModel.valore = null; - } - - return boConfigurazioneCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(21); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", configurazioneId="); - sb.append(getConfigurazioneId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", chiave="); - sb.append(getChiave()); - sb.append(", valore="); - sb.append(getValore()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(34); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.BoConfigurazione"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "configurazioneId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "chiave"); - sb.append( - "valore"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = BoConfigurazione.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - BoConfigurazione.class - }; - private String _uuid; - private String _originalUuid; - private long _configurazioneId; - private long _companyId; - private long _originalCompanyId; - private boolean _setOriginalCompanyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _originalGroupId; - private boolean _setOriginalGroupId; - private String _chiave; - private String _originalChiave; - private String _valore; - private long _columnBitmask; - private BoConfigurazione _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoDettPraticaBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoDettPraticaBaseImpl.java deleted file mode 100644 index 87ca67e8..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoDettPraticaBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.BoDettPratica; -import it.tref.liferay.portos.importazione.service.BoDettPraticaLocalServiceUtil; - -/** - * The extended model base implementation for the BoDettPratica service. Represents a row in the "gc_dettpratica" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoDettPraticaImpl}. - *

- * - * @author 3FC - * @see BoDettPraticaImpl - * @see it.tref.liferay.portos.importazione.model.BoDettPratica - * @generated - */ -public abstract class BoDettPraticaBaseImpl extends BoDettPraticaModelImpl - implements BoDettPratica { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo dett pratica model instance should use the {@link BoDettPratica} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoDettPraticaLocalServiceUtil.addBoDettPratica(this); - } - else { - BoDettPraticaLocalServiceUtil.updateBoDettPratica(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoDettPraticaCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoDettPraticaCacheModel.java deleted file mode 100644 index 024dea67..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoDettPraticaCacheModel.java +++ /dev/null @@ -1,437 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.importazione.model.BoDettPratica; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing BoDettPratica in entity cache. - * - * @author 3FC - * @see BoDettPratica - * @generated - */ -public class BoDettPraticaCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(65); - - sb.append("{uuid="); - sb.append(uuid); - sb.append(", dettPraticaId="); - sb.append(dettPraticaId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", intPraticaId="); - sb.append(intPraticaId); - sb.append(", integrazione="); - sb.append(integrazione); - sb.append(", suapCode="); - sb.append(suapCode); - sb.append(", validata="); - sb.append(validata); - sb.append(", codPraticaSuap="); - sb.append(codPraticaSuap); - sb.append(", protocollo="); - sb.append(protocollo); - sb.append(", tipoIntegrazione="); - sb.append(tipoIntegrazione); - sb.append(", completa="); - sb.append(completa); - sb.append(", gestita="); - sb.append(gestita); - sb.append(", codicePagamento="); - sb.append(codicePagamento); - sb.append(", causalePagamento="); - sb.append(causalePagamento); - sb.append(", mezzoPagamento="); - sb.append(mezzoPagamento); - sb.append(", importoBolli="); - sb.append(importoBolli); - sb.append(", importoSpeseIstruttoria="); - sb.append(importoSpeseIstruttoria); - sb.append(", dataEffettuazione="); - sb.append(dataEffettuazione); - sb.append(", esenzioneBolli="); - sb.append(esenzioneBolli); - sb.append(", esenzioneSpeseIstruttoria="); - sb.append(esenzioneSpeseIstruttoria); - sb.append(", status="); - sb.append(status); - sb.append(", statusByUserId="); - sb.append(statusByUserId); - sb.append(", statusByUserName="); - sb.append(statusByUserName); - sb.append(", statusDate="); - sb.append(statusDate); - sb.append(", statusTask="); - sb.append(statusTask); - sb.append(", workflowForzato="); - sb.append(workflowForzato); - sb.append(", soggettoSostituitoId="); - sb.append(soggettoSostituitoId); - sb.append("}"); - - return sb.toString(); - } - - @Override - public BoDettPratica toEntityModel() { - BoDettPraticaImpl boDettPraticaImpl = new BoDettPraticaImpl(); - - if (uuid == null) { - boDettPraticaImpl.setUuid(StringPool.BLANK); - } - else { - boDettPraticaImpl.setUuid(uuid); - } - - boDettPraticaImpl.setDettPraticaId(dettPraticaId); - boDettPraticaImpl.setCompanyId(companyId); - boDettPraticaImpl.setUserId(userId); - - if (userName == null) { - boDettPraticaImpl.setUserName(StringPool.BLANK); - } - else { - boDettPraticaImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - boDettPraticaImpl.setCreateDate(null); - } - else { - boDettPraticaImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - boDettPraticaImpl.setModifiedDate(null); - } - else { - boDettPraticaImpl.setModifiedDate(new Date(modifiedDate)); - } - - boDettPraticaImpl.setGroupId(groupId); - boDettPraticaImpl.setIntPraticaId(intPraticaId); - boDettPraticaImpl.setIntegrazione(integrazione); - - if (suapCode == null) { - boDettPraticaImpl.setSuapCode(StringPool.BLANK); - } - else { - boDettPraticaImpl.setSuapCode(suapCode); - } - - boDettPraticaImpl.setValidata(validata); - - if (codPraticaSuap == null) { - boDettPraticaImpl.setCodPraticaSuap(StringPool.BLANK); - } - else { - boDettPraticaImpl.setCodPraticaSuap(codPraticaSuap); - } - - if (protocollo == null) { - boDettPraticaImpl.setProtocollo(StringPool.BLANK); - } - else { - boDettPraticaImpl.setProtocollo(protocollo); - } - - if (tipoIntegrazione == null) { - boDettPraticaImpl.setTipoIntegrazione(StringPool.BLANK); - } - else { - boDettPraticaImpl.setTipoIntegrazione(tipoIntegrazione); - } - - boDettPraticaImpl.setCompleta(completa); - boDettPraticaImpl.setGestita(gestita); - - if (codicePagamento == null) { - boDettPraticaImpl.setCodicePagamento(StringPool.BLANK); - } - else { - boDettPraticaImpl.setCodicePagamento(codicePagamento); - } - - if (causalePagamento == null) { - boDettPraticaImpl.setCausalePagamento(StringPool.BLANK); - } - else { - boDettPraticaImpl.setCausalePagamento(causalePagamento); - } - - if (mezzoPagamento == null) { - boDettPraticaImpl.setMezzoPagamento(StringPool.BLANK); - } - else { - boDettPraticaImpl.setMezzoPagamento(mezzoPagamento); - } - - if (importoBolli == null) { - boDettPraticaImpl.setImportoBolli(StringPool.BLANK); - } - else { - boDettPraticaImpl.setImportoBolli(importoBolli); - } - - if (importoSpeseIstruttoria == null) { - boDettPraticaImpl.setImportoSpeseIstruttoria(StringPool.BLANK); - } - else { - boDettPraticaImpl.setImportoSpeseIstruttoria(importoSpeseIstruttoria); - } - - if (dataEffettuazione == Long.MIN_VALUE) { - boDettPraticaImpl.setDataEffettuazione(null); - } - else { - boDettPraticaImpl.setDataEffettuazione(new Date(dataEffettuazione)); - } - - boDettPraticaImpl.setEsenzioneBolli(esenzioneBolli); - boDettPraticaImpl.setEsenzioneSpeseIstruttoria(esenzioneSpeseIstruttoria); - boDettPraticaImpl.setStatus(status); - boDettPraticaImpl.setStatusByUserId(statusByUserId); - - if (statusByUserName == null) { - boDettPraticaImpl.setStatusByUserName(StringPool.BLANK); - } - else { - boDettPraticaImpl.setStatusByUserName(statusByUserName); - } - - if (statusDate == Long.MIN_VALUE) { - boDettPraticaImpl.setStatusDate(null); - } - else { - boDettPraticaImpl.setStatusDate(new Date(statusDate)); - } - - boDettPraticaImpl.setStatusTask(statusTask); - boDettPraticaImpl.setWorkflowForzato(workflowForzato); - boDettPraticaImpl.setSoggettoSostituitoId(soggettoSostituitoId); - - boDettPraticaImpl.resetOriginalValues(); - - return boDettPraticaImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - uuid = objectInput.readUTF(); - dettPraticaId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - groupId = objectInput.readLong(); - intPraticaId = objectInput.readLong(); - integrazione = objectInput.readLong(); - suapCode = objectInput.readUTF(); - validata = objectInput.readBoolean(); - codPraticaSuap = objectInput.readUTF(); - protocollo = objectInput.readUTF(); - tipoIntegrazione = objectInput.readUTF(); - completa = objectInput.readBoolean(); - gestita = objectInput.readBoolean(); - codicePagamento = objectInput.readUTF(); - causalePagamento = objectInput.readUTF(); - mezzoPagamento = objectInput.readUTF(); - importoBolli = objectInput.readUTF(); - importoSpeseIstruttoria = objectInput.readUTF(); - dataEffettuazione = objectInput.readLong(); - esenzioneBolli = objectInput.readBoolean(); - esenzioneSpeseIstruttoria = objectInput.readBoolean(); - status = objectInput.readInt(); - statusByUserId = objectInput.readLong(); - statusByUserName = objectInput.readUTF(); - statusDate = objectInput.readLong(); - statusTask = objectInput.readInt(); - workflowForzato = objectInput.readBoolean(); - soggettoSostituitoId = objectInput.readLong(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - if (uuid == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(uuid); - } - - objectOutput.writeLong(dettPraticaId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeLong(groupId); - objectOutput.writeLong(intPraticaId); - objectOutput.writeLong(integrazione); - - if (suapCode == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(suapCode); - } - - objectOutput.writeBoolean(validata); - - if (codPraticaSuap == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codPraticaSuap); - } - - if (protocollo == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(protocollo); - } - - if (tipoIntegrazione == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(tipoIntegrazione); - } - - objectOutput.writeBoolean(completa); - objectOutput.writeBoolean(gestita); - - if (codicePagamento == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codicePagamento); - } - - if (causalePagamento == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(causalePagamento); - } - - if (mezzoPagamento == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(mezzoPagamento); - } - - if (importoBolli == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(importoBolli); - } - - if (importoSpeseIstruttoria == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(importoSpeseIstruttoria); - } - - objectOutput.writeLong(dataEffettuazione); - objectOutput.writeBoolean(esenzioneBolli); - objectOutput.writeBoolean(esenzioneSpeseIstruttoria); - objectOutput.writeInt(status); - objectOutput.writeLong(statusByUserId); - - if (statusByUserName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(statusByUserName); - } - - objectOutput.writeLong(statusDate); - objectOutput.writeInt(statusTask); - objectOutput.writeBoolean(workflowForzato); - objectOutput.writeLong(soggettoSostituitoId); - } - - public String uuid; - public long dettPraticaId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public long groupId; - public long intPraticaId; - public long integrazione; - public String suapCode; - public boolean validata; - public String codPraticaSuap; - public String protocollo; - public String tipoIntegrazione; - public boolean completa; - public boolean gestita; - public String codicePagamento; - public String causalePagamento; - public String mezzoPagamento; - public String importoBolli; - public String importoSpeseIstruttoria; - public long dataEffettuazione; - public boolean esenzioneBolli; - public boolean esenzioneSpeseIstruttoria; - public int status; - public long statusByUserId; - public String statusByUserName; - public long statusDate; - public int statusTask; - public boolean workflowForzato; - public long soggettoSostituitoId; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoDettPraticaImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoDettPraticaImpl.java deleted file mode 100644 index 37506d0d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoDettPraticaImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -/** - * The extended model implementation for the BoDettPratica service. Represents a row in the "gc_dettpratica" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.model.BoDettPratica} interface. - *

- * - * @author 3FC - */ -public class BoDettPraticaImpl extends BoDettPraticaBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a bo dett pratica model instance should use the {@link it.tref.liferay.portos.importazione.model.BoDettPratica} interface instead. - */ - public BoDettPraticaImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoDettPraticaModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoDettPraticaModelImpl.java deleted file mode 100644 index f376f558..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoDettPraticaModelImpl.java +++ /dev/null @@ -1,1661 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.workflow.WorkflowConstants; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.importazione.model.BoDettPratica; -import it.tref.liferay.portos.importazione.model.BoDettPraticaModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the BoDettPratica service. Represents a row in the "gc_dettpratica" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.importazione.model.BoDettPraticaModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoDettPraticaImpl}. - *

- * - * @author 3FC - * @see BoDettPraticaImpl - * @see it.tref.liferay.portos.importazione.model.BoDettPratica - * @see it.tref.liferay.portos.importazione.model.BoDettPraticaModel - * @generated - */ -public class BoDettPraticaModelImpl extends BaseModelImpl - implements BoDettPraticaModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo dett pratica model instance should use the {@link it.tref.liferay.portos.importazione.model.BoDettPratica} interface instead. - */ - public static final String TABLE_NAME = "gc_dettpratica"; - public static final Object[][] TABLE_COLUMNS = { - { "uuid_", Types.VARCHAR }, - { "dettPraticaId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "groupId", Types.BIGINT }, - { "intPraticaId", Types.BIGINT }, - { "integrazione", Types.BIGINT }, - { "suapCode", Types.VARCHAR }, - { "validata", Types.BOOLEAN }, - { "codPraticaSuap", Types.VARCHAR }, - { "protocollo", Types.VARCHAR }, - { "tipoIntegrazione", Types.VARCHAR }, - { "completa", Types.BOOLEAN }, - { "gestita", Types.BOOLEAN }, - { "codicePagamento", Types.VARCHAR }, - { "causalePagamento", Types.VARCHAR }, - { "mezzoPagamento", Types.VARCHAR }, - { "importoBolli", Types.VARCHAR }, - { "importoSpeseIstruttoria", Types.VARCHAR }, - { "dataEffettuazione", Types.TIMESTAMP }, - { "esenzioneBolli", Types.BOOLEAN }, - { "esenzioneSpeseIstruttoria", Types.BOOLEAN }, - { "status", Types.INTEGER }, - { "statusByUserId", Types.BIGINT }, - { "statusByUserName", Types.VARCHAR }, - { "statusDate", Types.TIMESTAMP }, - { "statusTask", Types.INTEGER }, - { "workflowForzato", Types.BOOLEAN }, - { "soggettoSostituitoId", Types.BIGINT } - }; - public static final String TABLE_SQL_CREATE = "create table gc_dettpratica (uuid_ VARCHAR(75) null,dettPraticaId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,intPraticaId LONG,integrazione LONG,suapCode VARCHAR(75) null,validata BOOLEAN,codPraticaSuap VARCHAR(75) null,protocollo VARCHAR(75) null,tipoIntegrazione VARCHAR(75) null,completa BOOLEAN,gestita BOOLEAN,codicePagamento VARCHAR(75) null,causalePagamento VARCHAR(75) null,mezzoPagamento VARCHAR(75) null,importoBolli VARCHAR(75) null,importoSpeseIstruttoria VARCHAR(75) null,dataEffettuazione DATE null,esenzioneBolli BOOLEAN,esenzioneSpeseIstruttoria BOOLEAN,status INTEGER,statusByUserId LONG,statusByUserName VARCHAR(75) null,statusDate DATE null,statusTask INTEGER,workflowForzato BOOLEAN,soggettoSostituitoId LONG)"; - public static final String TABLE_SQL_DROP = "drop table gc_dettpratica"; - public static final String ORDER_BY_JPQL = " ORDER BY boDettPratica.dettPraticaId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gc_dettpratica.dettPraticaId ASC"; - public static final String DATA_SOURCE = "datiPortos1DbDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.importazione.model.BoDettPratica"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.importazione.model.BoDettPratica"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.importazione.model.BoDettPratica"), - true); - public static long CODPRATICASUAP_COLUMN_BITMASK = 1L; - public static long CODICEPAGAMENTO_COLUMN_BITMASK = 2L; - public static long COMPANYID_COLUMN_BITMASK = 4L; - public static long COMPLETA_COLUMN_BITMASK = 8L; - public static long GROUPID_COLUMN_BITMASK = 16L; - public static long INTPRATICAID_COLUMN_BITMASK = 32L; - public static long INTEGRAZIONE_COLUMN_BITMASK = 64L; - public static long PROTOCOLLO_COLUMN_BITMASK = 128L; - public static long SOGGETTOSOSTITUITOID_COLUMN_BITMASK = 256L; - public static long TIPOINTEGRAZIONE_COLUMN_BITMASK = 512L; - public static long UUID_COLUMN_BITMASK = 1024L; - public static long VALIDATA_COLUMN_BITMASK = 2048L; - public static long DETTPRATICAID_COLUMN_BITMASK = 4096L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.importazione.model.BoDettPratica")); - - public BoDettPraticaModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _dettPraticaId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setDettPraticaId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _dettPraticaId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return BoDettPratica.class; - } - - @Override - public String getModelClassName() { - return BoDettPratica.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("integrazione", getIntegrazione()); - attributes.put("suapCode", getSuapCode()); - attributes.put("validata", getValidata()); - attributes.put("codPraticaSuap", getCodPraticaSuap()); - attributes.put("protocollo", getProtocollo()); - attributes.put("tipoIntegrazione", getTipoIntegrazione()); - attributes.put("completa", getCompleta()); - attributes.put("gestita", getGestita()); - attributes.put("codicePagamento", getCodicePagamento()); - attributes.put("causalePagamento", getCausalePagamento()); - attributes.put("mezzoPagamento", getMezzoPagamento()); - attributes.put("importoBolli", getImportoBolli()); - attributes.put("importoSpeseIstruttoria", getImportoSpeseIstruttoria()); - attributes.put("dataEffettuazione", getDataEffettuazione()); - attributes.put("esenzioneBolli", getEsenzioneBolli()); - attributes.put("esenzioneSpeseIstruttoria", - getEsenzioneSpeseIstruttoria()); - attributes.put("status", getStatus()); - attributes.put("statusByUserId", getStatusByUserId()); - attributes.put("statusByUserName", getStatusByUserName()); - attributes.put("statusDate", getStatusDate()); - attributes.put("statusTask", getStatusTask()); - attributes.put("workflowForzato", getWorkflowForzato()); - attributes.put("soggettoSostituitoId", getSoggettoSostituitoId()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - Long integrazione = (Long)attributes.get("integrazione"); - - if (integrazione != null) { - setIntegrazione(integrazione); - } - - String suapCode = (String)attributes.get("suapCode"); - - if (suapCode != null) { - setSuapCode(suapCode); - } - - Boolean validata = (Boolean)attributes.get("validata"); - - if (validata != null) { - setValidata(validata); - } - - String codPraticaSuap = (String)attributes.get("codPraticaSuap"); - - if (codPraticaSuap != null) { - setCodPraticaSuap(codPraticaSuap); - } - - String protocollo = (String)attributes.get("protocollo"); - - if (protocollo != null) { - setProtocollo(protocollo); - } - - String tipoIntegrazione = (String)attributes.get("tipoIntegrazione"); - - if (tipoIntegrazione != null) { - setTipoIntegrazione(tipoIntegrazione); - } - - Boolean completa = (Boolean)attributes.get("completa"); - - if (completa != null) { - setCompleta(completa); - } - - Boolean gestita = (Boolean)attributes.get("gestita"); - - if (gestita != null) { - setGestita(gestita); - } - - String codicePagamento = (String)attributes.get("codicePagamento"); - - if (codicePagamento != null) { - setCodicePagamento(codicePagamento); - } - - String causalePagamento = (String)attributes.get("causalePagamento"); - - if (causalePagamento != null) { - setCausalePagamento(causalePagamento); - } - - String mezzoPagamento = (String)attributes.get("mezzoPagamento"); - - if (mezzoPagamento != null) { - setMezzoPagamento(mezzoPagamento); - } - - String importoBolli = (String)attributes.get("importoBolli"); - - if (importoBolli != null) { - setImportoBolli(importoBolli); - } - - String importoSpeseIstruttoria = (String)attributes.get( - "importoSpeseIstruttoria"); - - if (importoSpeseIstruttoria != null) { - setImportoSpeseIstruttoria(importoSpeseIstruttoria); - } - - Date dataEffettuazione = (Date)attributes.get("dataEffettuazione"); - - if (dataEffettuazione != null) { - setDataEffettuazione(dataEffettuazione); - } - - Boolean esenzioneBolli = (Boolean)attributes.get("esenzioneBolli"); - - if (esenzioneBolli != null) { - setEsenzioneBolli(esenzioneBolli); - } - - Boolean esenzioneSpeseIstruttoria = (Boolean)attributes.get( - "esenzioneSpeseIstruttoria"); - - if (esenzioneSpeseIstruttoria != null) { - setEsenzioneSpeseIstruttoria(esenzioneSpeseIstruttoria); - } - - Integer status = (Integer)attributes.get("status"); - - if (status != null) { - setStatus(status); - } - - Long statusByUserId = (Long)attributes.get("statusByUserId"); - - if (statusByUserId != null) { - setStatusByUserId(statusByUserId); - } - - String statusByUserName = (String)attributes.get("statusByUserName"); - - if (statusByUserName != null) { - setStatusByUserName(statusByUserName); - } - - Date statusDate = (Date)attributes.get("statusDate"); - - if (statusDate != null) { - setStatusDate(statusDate); - } - - Integer statusTask = (Integer)attributes.get("statusTask"); - - if (statusTask != null) { - setStatusTask(statusTask); - } - - Boolean workflowForzato = (Boolean)attributes.get("workflowForzato"); - - if (workflowForzato != null) { - setWorkflowForzato(workflowForzato); - } - - Long soggettoSostituitoId = (Long)attributes.get("soggettoSostituitoId"); - - if (soggettoSostituitoId != null) { - setSoggettoSostituitoId(soggettoSostituitoId); - } - } - - @Override - public String getUuid() { - if (_uuid == null) { - return StringPool.BLANK; - } - else { - return _uuid; - } - } - - @Override - public void setUuid(String uuid) { - if (_originalUuid == null) { - _originalUuid = _uuid; - } - - _uuid = uuid; - } - - public String getOriginalUuid() { - return GetterUtil.getString(_originalUuid); - } - - @Override - public long getDettPraticaId() { - return _dettPraticaId; - } - - @Override - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _columnBitmask |= COMPANYID_COLUMN_BITMASK; - - if (!_setOriginalCompanyId) { - _setOriginalCompanyId = true; - - _originalCompanyId = _companyId; - } - - _companyId = companyId; - } - - public long getOriginalCompanyId() { - return _originalCompanyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _columnBitmask |= GROUPID_COLUMN_BITMASK; - - if (!_setOriginalGroupId) { - _setOriginalGroupId = true; - - _originalGroupId = _groupId; - } - - _groupId = groupId; - } - - public long getOriginalGroupId() { - return _originalGroupId; - } - - @Override - public long getIntPraticaId() { - return _intPraticaId; - } - - @Override - public void setIntPraticaId(long intPraticaId) { - _columnBitmask |= INTPRATICAID_COLUMN_BITMASK; - - if (!_setOriginalIntPraticaId) { - _setOriginalIntPraticaId = true; - - _originalIntPraticaId = _intPraticaId; - } - - _intPraticaId = intPraticaId; - } - - public long getOriginalIntPraticaId() { - return _originalIntPraticaId; - } - - @Override - public long getIntegrazione() { - return _integrazione; - } - - @Override - public void setIntegrazione(long integrazione) { - _columnBitmask |= INTEGRAZIONE_COLUMN_BITMASK; - - if (!_setOriginalIntegrazione) { - _setOriginalIntegrazione = true; - - _originalIntegrazione = _integrazione; - } - - _integrazione = integrazione; - } - - public long getOriginalIntegrazione() { - return _originalIntegrazione; - } - - @Override - public String getSuapCode() { - if (_suapCode == null) { - return StringPool.BLANK; - } - else { - return _suapCode; - } - } - - @Override - public void setSuapCode(String suapCode) { - _suapCode = suapCode; - } - - @Override - public boolean getValidata() { - return _validata; - } - - @Override - public boolean isValidata() { - return _validata; - } - - @Override - public void setValidata(boolean validata) { - _columnBitmask |= VALIDATA_COLUMN_BITMASK; - - if (!_setOriginalValidata) { - _setOriginalValidata = true; - - _originalValidata = _validata; - } - - _validata = validata; - } - - public boolean getOriginalValidata() { - return _originalValidata; - } - - @Override - public String getCodPraticaSuap() { - if (_codPraticaSuap == null) { - return StringPool.BLANK; - } - else { - return _codPraticaSuap; - } - } - - @Override - public void setCodPraticaSuap(String codPraticaSuap) { - _columnBitmask |= CODPRATICASUAP_COLUMN_BITMASK; - - if (_originalCodPraticaSuap == null) { - _originalCodPraticaSuap = _codPraticaSuap; - } - - _codPraticaSuap = codPraticaSuap; - } - - public String getOriginalCodPraticaSuap() { - return GetterUtil.getString(_originalCodPraticaSuap); - } - - @Override - public String getProtocollo() { - if (_protocollo == null) { - return StringPool.BLANK; - } - else { - return _protocollo; - } - } - - @Override - public void setProtocollo(String protocollo) { - _columnBitmask |= PROTOCOLLO_COLUMN_BITMASK; - - if (_originalProtocollo == null) { - _originalProtocollo = _protocollo; - } - - _protocollo = protocollo; - } - - public String getOriginalProtocollo() { - return GetterUtil.getString(_originalProtocollo); - } - - @Override - public String getTipoIntegrazione() { - if (_tipoIntegrazione == null) { - return StringPool.BLANK; - } - else { - return _tipoIntegrazione; - } - } - - @Override - public void setTipoIntegrazione(String tipoIntegrazione) { - _columnBitmask |= TIPOINTEGRAZIONE_COLUMN_BITMASK; - - if (_originalTipoIntegrazione == null) { - _originalTipoIntegrazione = _tipoIntegrazione; - } - - _tipoIntegrazione = tipoIntegrazione; - } - - public String getOriginalTipoIntegrazione() { - return GetterUtil.getString(_originalTipoIntegrazione); - } - - @Override - public boolean getCompleta() { - return _completa; - } - - @Override - public boolean isCompleta() { - return _completa; - } - - @Override - public void setCompleta(boolean completa) { - _columnBitmask |= COMPLETA_COLUMN_BITMASK; - - if (!_setOriginalCompleta) { - _setOriginalCompleta = true; - - _originalCompleta = _completa; - } - - _completa = completa; - } - - public boolean getOriginalCompleta() { - return _originalCompleta; - } - - @Override - public boolean getGestita() { - return _gestita; - } - - @Override - public boolean isGestita() { - return _gestita; - } - - @Override - public void setGestita(boolean gestita) { - _gestita = gestita; - } - - @Override - public String getCodicePagamento() { - if (_codicePagamento == null) { - return StringPool.BLANK; - } - else { - return _codicePagamento; - } - } - - @Override - public void setCodicePagamento(String codicePagamento) { - _columnBitmask |= CODICEPAGAMENTO_COLUMN_BITMASK; - - if (_originalCodicePagamento == null) { - _originalCodicePagamento = _codicePagamento; - } - - _codicePagamento = codicePagamento; - } - - public String getOriginalCodicePagamento() { - return GetterUtil.getString(_originalCodicePagamento); - } - - @Override - public String getCausalePagamento() { - if (_causalePagamento == null) { - return StringPool.BLANK; - } - else { - return _causalePagamento; - } - } - - @Override - public void setCausalePagamento(String causalePagamento) { - _causalePagamento = causalePagamento; - } - - @Override - public String getMezzoPagamento() { - if (_mezzoPagamento == null) { - return StringPool.BLANK; - } - else { - return _mezzoPagamento; - } - } - - @Override - public void setMezzoPagamento(String mezzoPagamento) { - _mezzoPagamento = mezzoPagamento; - } - - @Override - public String getImportoBolli() { - if (_importoBolli == null) { - return StringPool.BLANK; - } - else { - return _importoBolli; - } - } - - @Override - public void setImportoBolli(String importoBolli) { - _importoBolli = importoBolli; - } - - @Override - public String getImportoSpeseIstruttoria() { - if (_importoSpeseIstruttoria == null) { - return StringPool.BLANK; - } - else { - return _importoSpeseIstruttoria; - } - } - - @Override - public void setImportoSpeseIstruttoria(String importoSpeseIstruttoria) { - _importoSpeseIstruttoria = importoSpeseIstruttoria; - } - - @Override - public Date getDataEffettuazione() { - return _dataEffettuazione; - } - - @Override - public void setDataEffettuazione(Date dataEffettuazione) { - _dataEffettuazione = dataEffettuazione; - } - - @Override - public boolean getEsenzioneBolli() { - return _esenzioneBolli; - } - - @Override - public boolean isEsenzioneBolli() { - return _esenzioneBolli; - } - - @Override - public void setEsenzioneBolli(boolean esenzioneBolli) { - _esenzioneBolli = esenzioneBolli; - } - - @Override - public boolean getEsenzioneSpeseIstruttoria() { - return _esenzioneSpeseIstruttoria; - } - - @Override - public boolean isEsenzioneSpeseIstruttoria() { - return _esenzioneSpeseIstruttoria; - } - - @Override - public void setEsenzioneSpeseIstruttoria(boolean esenzioneSpeseIstruttoria) { - _esenzioneSpeseIstruttoria = esenzioneSpeseIstruttoria; - } - - @Override - public int getStatus() { - return _status; - } - - @Override - public void setStatus(int status) { - _status = status; - } - - @Override - public long getStatusByUserId() { - return _statusByUserId; - } - - @Override - public void setStatusByUserId(long statusByUserId) { - _statusByUserId = statusByUserId; - } - - @Override - public String getStatusByUserUuid() throws SystemException { - return PortalUtil.getUserValue(getStatusByUserId(), "uuid", - _statusByUserUuid); - } - - @Override - public void setStatusByUserUuid(String statusByUserUuid) { - _statusByUserUuid = statusByUserUuid; - } - - @Override - public String getStatusByUserName() { - if (_statusByUserName == null) { - return StringPool.BLANK; - } - else { - return _statusByUserName; - } - } - - @Override - public void setStatusByUserName(String statusByUserName) { - _statusByUserName = statusByUserName; - } - - @Override - public Date getStatusDate() { - return _statusDate; - } - - @Override - public void setStatusDate(Date statusDate) { - _statusDate = statusDate; - } - - @Override - public int getStatusTask() { - return _statusTask; - } - - @Override - public void setStatusTask(int statusTask) { - _statusTask = statusTask; - } - - @Override - public boolean getWorkflowForzato() { - return _workflowForzato; - } - - @Override - public boolean isWorkflowForzato() { - return _workflowForzato; - } - - @Override - public void setWorkflowForzato(boolean workflowForzato) { - _workflowForzato = workflowForzato; - } - - @Override - public long getSoggettoSostituitoId() { - return _soggettoSostituitoId; - } - - @Override - public void setSoggettoSostituitoId(long soggettoSostituitoId) { - _columnBitmask |= SOGGETTOSOSTITUITOID_COLUMN_BITMASK; - - if (!_setOriginalSoggettoSostituitoId) { - _setOriginalSoggettoSostituitoId = true; - - _originalSoggettoSostituitoId = _soggettoSostituitoId; - } - - _soggettoSostituitoId = soggettoSostituitoId; - } - - public long getOriginalSoggettoSostituitoId() { - return _originalSoggettoSostituitoId; - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoDettPratica.class.getName())); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #isApproved} - */ - @Override - public boolean getApproved() { - return isApproved(); - } - - @Override - public boolean isApproved() { - if (getStatus() == WorkflowConstants.STATUS_APPROVED) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isDenied() { - if (getStatus() == WorkflowConstants.STATUS_DENIED) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isDraft() { - if (getStatus() == WorkflowConstants.STATUS_DRAFT) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isExpired() { - if (getStatus() == WorkflowConstants.STATUS_EXPIRED) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isInactive() { - if (getStatus() == WorkflowConstants.STATUS_INACTIVE) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isIncomplete() { - if (getStatus() == WorkflowConstants.STATUS_INCOMPLETE) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isPending() { - if (getStatus() == WorkflowConstants.STATUS_PENDING) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isScheduled() { - if (getStatus() == WorkflowConstants.STATUS_SCHEDULED) { - return true; - } - else { - return false; - } - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - BoDettPratica.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public BoDettPratica toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (BoDettPratica)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - BoDettPraticaImpl boDettPraticaImpl = new BoDettPraticaImpl(); - - boDettPraticaImpl.setUuid(getUuid()); - boDettPraticaImpl.setDettPraticaId(getDettPraticaId()); - boDettPraticaImpl.setCompanyId(getCompanyId()); - boDettPraticaImpl.setUserId(getUserId()); - boDettPraticaImpl.setUserName(getUserName()); - boDettPraticaImpl.setCreateDate(getCreateDate()); - boDettPraticaImpl.setModifiedDate(getModifiedDate()); - boDettPraticaImpl.setGroupId(getGroupId()); - boDettPraticaImpl.setIntPraticaId(getIntPraticaId()); - boDettPraticaImpl.setIntegrazione(getIntegrazione()); - boDettPraticaImpl.setSuapCode(getSuapCode()); - boDettPraticaImpl.setValidata(getValidata()); - boDettPraticaImpl.setCodPraticaSuap(getCodPraticaSuap()); - boDettPraticaImpl.setProtocollo(getProtocollo()); - boDettPraticaImpl.setTipoIntegrazione(getTipoIntegrazione()); - boDettPraticaImpl.setCompleta(getCompleta()); - boDettPraticaImpl.setGestita(getGestita()); - boDettPraticaImpl.setCodicePagamento(getCodicePagamento()); - boDettPraticaImpl.setCausalePagamento(getCausalePagamento()); - boDettPraticaImpl.setMezzoPagamento(getMezzoPagamento()); - boDettPraticaImpl.setImportoBolli(getImportoBolli()); - boDettPraticaImpl.setImportoSpeseIstruttoria(getImportoSpeseIstruttoria()); - boDettPraticaImpl.setDataEffettuazione(getDataEffettuazione()); - boDettPraticaImpl.setEsenzioneBolli(getEsenzioneBolli()); - boDettPraticaImpl.setEsenzioneSpeseIstruttoria(getEsenzioneSpeseIstruttoria()); - boDettPraticaImpl.setStatus(getStatus()); - boDettPraticaImpl.setStatusByUserId(getStatusByUserId()); - boDettPraticaImpl.setStatusByUserName(getStatusByUserName()); - boDettPraticaImpl.setStatusDate(getStatusDate()); - boDettPraticaImpl.setStatusTask(getStatusTask()); - boDettPraticaImpl.setWorkflowForzato(getWorkflowForzato()); - boDettPraticaImpl.setSoggettoSostituitoId(getSoggettoSostituitoId()); - - boDettPraticaImpl.resetOriginalValues(); - - return boDettPraticaImpl; - } - - @Override - public int compareTo(BoDettPratica boDettPratica) { - long primaryKey = boDettPratica.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoDettPratica)) { - return false; - } - - BoDettPratica boDettPratica = (BoDettPratica)obj; - - long primaryKey = boDettPratica.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - BoDettPraticaModelImpl boDettPraticaModelImpl = this; - - boDettPraticaModelImpl._originalUuid = boDettPraticaModelImpl._uuid; - - boDettPraticaModelImpl._originalCompanyId = boDettPraticaModelImpl._companyId; - - boDettPraticaModelImpl._setOriginalCompanyId = false; - - boDettPraticaModelImpl._originalGroupId = boDettPraticaModelImpl._groupId; - - boDettPraticaModelImpl._setOriginalGroupId = false; - - boDettPraticaModelImpl._originalIntPraticaId = boDettPraticaModelImpl._intPraticaId; - - boDettPraticaModelImpl._setOriginalIntPraticaId = false; - - boDettPraticaModelImpl._originalIntegrazione = boDettPraticaModelImpl._integrazione; - - boDettPraticaModelImpl._setOriginalIntegrazione = false; - - boDettPraticaModelImpl._originalValidata = boDettPraticaModelImpl._validata; - - boDettPraticaModelImpl._setOriginalValidata = false; - - boDettPraticaModelImpl._originalCodPraticaSuap = boDettPraticaModelImpl._codPraticaSuap; - - boDettPraticaModelImpl._originalProtocollo = boDettPraticaModelImpl._protocollo; - - boDettPraticaModelImpl._originalTipoIntegrazione = boDettPraticaModelImpl._tipoIntegrazione; - - boDettPraticaModelImpl._originalCompleta = boDettPraticaModelImpl._completa; - - boDettPraticaModelImpl._setOriginalCompleta = false; - - boDettPraticaModelImpl._originalCodicePagamento = boDettPraticaModelImpl._codicePagamento; - - boDettPraticaModelImpl._originalSoggettoSostituitoId = boDettPraticaModelImpl._soggettoSostituitoId; - - boDettPraticaModelImpl._setOriginalSoggettoSostituitoId = false; - - boDettPraticaModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - BoDettPraticaCacheModel boDettPraticaCacheModel = new BoDettPraticaCacheModel(); - - boDettPraticaCacheModel.uuid = getUuid(); - - String uuid = boDettPraticaCacheModel.uuid; - - if ((uuid != null) && (uuid.length() == 0)) { - boDettPraticaCacheModel.uuid = null; - } - - boDettPraticaCacheModel.dettPraticaId = getDettPraticaId(); - - boDettPraticaCacheModel.companyId = getCompanyId(); - - boDettPraticaCacheModel.userId = getUserId(); - - boDettPraticaCacheModel.userName = getUserName(); - - String userName = boDettPraticaCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - boDettPraticaCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - boDettPraticaCacheModel.createDate = createDate.getTime(); - } - else { - boDettPraticaCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - boDettPraticaCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - boDettPraticaCacheModel.modifiedDate = Long.MIN_VALUE; - } - - boDettPraticaCacheModel.groupId = getGroupId(); - - boDettPraticaCacheModel.intPraticaId = getIntPraticaId(); - - boDettPraticaCacheModel.integrazione = getIntegrazione(); - - boDettPraticaCacheModel.suapCode = getSuapCode(); - - String suapCode = boDettPraticaCacheModel.suapCode; - - if ((suapCode != null) && (suapCode.length() == 0)) { - boDettPraticaCacheModel.suapCode = null; - } - - boDettPraticaCacheModel.validata = getValidata(); - - boDettPraticaCacheModel.codPraticaSuap = getCodPraticaSuap(); - - String codPraticaSuap = boDettPraticaCacheModel.codPraticaSuap; - - if ((codPraticaSuap != null) && (codPraticaSuap.length() == 0)) { - boDettPraticaCacheModel.codPraticaSuap = null; - } - - boDettPraticaCacheModel.protocollo = getProtocollo(); - - String protocollo = boDettPraticaCacheModel.protocollo; - - if ((protocollo != null) && (protocollo.length() == 0)) { - boDettPraticaCacheModel.protocollo = null; - } - - boDettPraticaCacheModel.tipoIntegrazione = getTipoIntegrazione(); - - String tipoIntegrazione = boDettPraticaCacheModel.tipoIntegrazione; - - if ((tipoIntegrazione != null) && (tipoIntegrazione.length() == 0)) { - boDettPraticaCacheModel.tipoIntegrazione = null; - } - - boDettPraticaCacheModel.completa = getCompleta(); - - boDettPraticaCacheModel.gestita = getGestita(); - - boDettPraticaCacheModel.codicePagamento = getCodicePagamento(); - - String codicePagamento = boDettPraticaCacheModel.codicePagamento; - - if ((codicePagamento != null) && (codicePagamento.length() == 0)) { - boDettPraticaCacheModel.codicePagamento = null; - } - - boDettPraticaCacheModel.causalePagamento = getCausalePagamento(); - - String causalePagamento = boDettPraticaCacheModel.causalePagamento; - - if ((causalePagamento != null) && (causalePagamento.length() == 0)) { - boDettPraticaCacheModel.causalePagamento = null; - } - - boDettPraticaCacheModel.mezzoPagamento = getMezzoPagamento(); - - String mezzoPagamento = boDettPraticaCacheModel.mezzoPagamento; - - if ((mezzoPagamento != null) && (mezzoPagamento.length() == 0)) { - boDettPraticaCacheModel.mezzoPagamento = null; - } - - boDettPraticaCacheModel.importoBolli = getImportoBolli(); - - String importoBolli = boDettPraticaCacheModel.importoBolli; - - if ((importoBolli != null) && (importoBolli.length() == 0)) { - boDettPraticaCacheModel.importoBolli = null; - } - - boDettPraticaCacheModel.importoSpeseIstruttoria = getImportoSpeseIstruttoria(); - - String importoSpeseIstruttoria = boDettPraticaCacheModel.importoSpeseIstruttoria; - - if ((importoSpeseIstruttoria != null) && - (importoSpeseIstruttoria.length() == 0)) { - boDettPraticaCacheModel.importoSpeseIstruttoria = null; - } - - Date dataEffettuazione = getDataEffettuazione(); - - if (dataEffettuazione != null) { - boDettPraticaCacheModel.dataEffettuazione = dataEffettuazione.getTime(); - } - else { - boDettPraticaCacheModel.dataEffettuazione = Long.MIN_VALUE; - } - - boDettPraticaCacheModel.esenzioneBolli = getEsenzioneBolli(); - - boDettPraticaCacheModel.esenzioneSpeseIstruttoria = getEsenzioneSpeseIstruttoria(); - - boDettPraticaCacheModel.status = getStatus(); - - boDettPraticaCacheModel.statusByUserId = getStatusByUserId(); - - boDettPraticaCacheModel.statusByUserName = getStatusByUserName(); - - String statusByUserName = boDettPraticaCacheModel.statusByUserName; - - if ((statusByUserName != null) && (statusByUserName.length() == 0)) { - boDettPraticaCacheModel.statusByUserName = null; - } - - Date statusDate = getStatusDate(); - - if (statusDate != null) { - boDettPraticaCacheModel.statusDate = statusDate.getTime(); - } - else { - boDettPraticaCacheModel.statusDate = Long.MIN_VALUE; - } - - boDettPraticaCacheModel.statusTask = getStatusTask(); - - boDettPraticaCacheModel.workflowForzato = getWorkflowForzato(); - - boDettPraticaCacheModel.soggettoSostituitoId = getSoggettoSostituitoId(); - - return boDettPraticaCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(65); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", dettPraticaId="); - sb.append(getDettPraticaId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", intPraticaId="); - sb.append(getIntPraticaId()); - sb.append(", integrazione="); - sb.append(getIntegrazione()); - sb.append(", suapCode="); - sb.append(getSuapCode()); - sb.append(", validata="); - sb.append(getValidata()); - sb.append(", codPraticaSuap="); - sb.append(getCodPraticaSuap()); - sb.append(", protocollo="); - sb.append(getProtocollo()); - sb.append(", tipoIntegrazione="); - sb.append(getTipoIntegrazione()); - sb.append(", completa="); - sb.append(getCompleta()); - sb.append(", gestita="); - sb.append(getGestita()); - sb.append(", codicePagamento="); - sb.append(getCodicePagamento()); - sb.append(", causalePagamento="); - sb.append(getCausalePagamento()); - sb.append(", mezzoPagamento="); - sb.append(getMezzoPagamento()); - sb.append(", importoBolli="); - sb.append(getImportoBolli()); - sb.append(", importoSpeseIstruttoria="); - sb.append(getImportoSpeseIstruttoria()); - sb.append(", dataEffettuazione="); - sb.append(getDataEffettuazione()); - sb.append(", esenzioneBolli="); - sb.append(getEsenzioneBolli()); - sb.append(", esenzioneSpeseIstruttoria="); - sb.append(getEsenzioneSpeseIstruttoria()); - sb.append(", status="); - sb.append(getStatus()); - sb.append(", statusByUserId="); - sb.append(getStatusByUserId()); - sb.append(", statusByUserName="); - sb.append(getStatusByUserName()); - sb.append(", statusDate="); - sb.append(getStatusDate()); - sb.append(", statusTask="); - sb.append(getStatusTask()); - sb.append(", workflowForzato="); - sb.append(getWorkflowForzato()); - sb.append(", soggettoSostituitoId="); - sb.append(getSoggettoSostituitoId()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(100); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.BoDettPratica"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "dettPraticaId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "intPraticaId"); - sb.append( - "integrazione"); - sb.append( - "suapCode"); - sb.append( - "validata"); - sb.append( - "codPraticaSuap"); - sb.append( - "protocollo"); - sb.append( - "tipoIntegrazione"); - sb.append( - "completa"); - sb.append( - "gestita"); - sb.append( - "codicePagamento"); - sb.append( - "causalePagamento"); - sb.append( - "mezzoPagamento"); - sb.append( - "importoBolli"); - sb.append( - "importoSpeseIstruttoria"); - sb.append( - "dataEffettuazione"); - sb.append( - "esenzioneBolli"); - sb.append( - "esenzioneSpeseIstruttoria"); - sb.append( - "status"); - sb.append( - "statusByUserId"); - sb.append( - "statusByUserName"); - sb.append( - "statusDate"); - sb.append( - "statusTask"); - sb.append( - "workflowForzato"); - sb.append( - "soggettoSostituitoId"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = BoDettPratica.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - BoDettPratica.class - }; - private String _uuid; - private String _originalUuid; - private long _dettPraticaId; - private long _companyId; - private long _originalCompanyId; - private boolean _setOriginalCompanyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _originalGroupId; - private boolean _setOriginalGroupId; - private long _intPraticaId; - private long _originalIntPraticaId; - private boolean _setOriginalIntPraticaId; - private long _integrazione; - private long _originalIntegrazione; - private boolean _setOriginalIntegrazione; - private String _suapCode; - private boolean _validata; - private boolean _originalValidata; - private boolean _setOriginalValidata; - private String _codPraticaSuap; - private String _originalCodPraticaSuap; - private String _protocollo; - private String _originalProtocollo; - private String _tipoIntegrazione; - private String _originalTipoIntegrazione; - private boolean _completa; - private boolean _originalCompleta; - private boolean _setOriginalCompleta; - private boolean _gestita; - private String _codicePagamento; - private String _originalCodicePagamento; - private String _causalePagamento; - private String _mezzoPagamento; - private String _importoBolli; - private String _importoSpeseIstruttoria; - private Date _dataEffettuazione; - private boolean _esenzioneBolli; - private boolean _esenzioneSpeseIstruttoria; - private int _status; - private long _statusByUserId; - private String _statusByUserUuid; - private String _statusByUserName; - private Date _statusDate; - private int _statusTask; - private boolean _workflowForzato; - private long _soggettoSostituitoId; - private long _originalSoggettoSostituitoId; - private boolean _setOriginalSoggettoSostituitoId; - private long _columnBitmask; - private BoDettPratica _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoDocPraticaBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoDocPraticaBaseImpl.java deleted file mode 100644 index d06629ef..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoDocPraticaBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.BoDocPratica; -import it.tref.liferay.portos.importazione.service.BoDocPraticaLocalServiceUtil; - -/** - * The extended model base implementation for the BoDocPratica service. Represents a row in the "gc_docpratica" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoDocPraticaImpl}. - *

- * - * @author 3FC - * @see BoDocPraticaImpl - * @see it.tref.liferay.portos.importazione.model.BoDocPratica - * @generated - */ -public abstract class BoDocPraticaBaseImpl extends BoDocPraticaModelImpl - implements BoDocPratica { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo doc pratica model instance should use the {@link BoDocPratica} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoDocPraticaLocalServiceUtil.addBoDocPratica(this); - } - else { - BoDocPraticaLocalServiceUtil.updateBoDocPratica(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoDocPraticaCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoDocPraticaCacheModel.java deleted file mode 100644 index 85b49bed..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoDocPraticaCacheModel.java +++ /dev/null @@ -1,340 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.importazione.model.BoDocPratica; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing BoDocPratica in entity cache. - * - * @author 3FC - * @see BoDocPratica - * @generated - */ -public class BoDocPraticaCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(45); - - sb.append("{uuid="); - sb.append(uuid); - sb.append(", docPraticaId="); - sb.append(docPraticaId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", dettPraticaId="); - sb.append(dettPraticaId); - sb.append(", dlFileEntryId="); - sb.append(dlFileEntryId); - sb.append(", version="); - sb.append(version); - sb.append(", praticaValidata="); - sb.append(praticaValidata); - sb.append(", descLong="); - sb.append(descLong); - sb.append(", codFileSuap="); - sb.append(codFileSuap); - sb.append(", tipologia="); - sb.append(tipologia); - sb.append(", md5="); - sb.append(md5); - sb.append(", aggiornato="); - sb.append(aggiornato); - sb.append(", jsonFirmatari="); - sb.append(jsonFirmatari); - sb.append(", daxId="); - sb.append(daxId); - sb.append(", dtInvioDax="); - sb.append(dtInvioDax); - sb.append(", erroreDax="); - sb.append(erroreDax); - sb.append(", dtErroreDax="); - sb.append(dtErroreDax); - sb.append("}"); - - return sb.toString(); - } - - @Override - public BoDocPratica toEntityModel() { - BoDocPraticaImpl boDocPraticaImpl = new BoDocPraticaImpl(); - - if (uuid == null) { - boDocPraticaImpl.setUuid(StringPool.BLANK); - } - else { - boDocPraticaImpl.setUuid(uuid); - } - - boDocPraticaImpl.setDocPraticaId(docPraticaId); - boDocPraticaImpl.setCompanyId(companyId); - boDocPraticaImpl.setUserId(userId); - - if (userName == null) { - boDocPraticaImpl.setUserName(StringPool.BLANK); - } - else { - boDocPraticaImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - boDocPraticaImpl.setCreateDate(null); - } - else { - boDocPraticaImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - boDocPraticaImpl.setModifiedDate(null); - } - else { - boDocPraticaImpl.setModifiedDate(new Date(modifiedDate)); - } - - boDocPraticaImpl.setGroupId(groupId); - boDocPraticaImpl.setDettPraticaId(dettPraticaId); - boDocPraticaImpl.setDlFileEntryId(dlFileEntryId); - - if (version == null) { - boDocPraticaImpl.setVersion(StringPool.BLANK); - } - else { - boDocPraticaImpl.setVersion(version); - } - - boDocPraticaImpl.setPraticaValidata(praticaValidata); - - if (descLong == null) { - boDocPraticaImpl.setDescLong(StringPool.BLANK); - } - else { - boDocPraticaImpl.setDescLong(descLong); - } - - if (codFileSuap == null) { - boDocPraticaImpl.setCodFileSuap(StringPool.BLANK); - } - else { - boDocPraticaImpl.setCodFileSuap(codFileSuap); - } - - if (tipologia == null) { - boDocPraticaImpl.setTipologia(StringPool.BLANK); - } - else { - boDocPraticaImpl.setTipologia(tipologia); - } - - if (md5 == null) { - boDocPraticaImpl.setMd5(StringPool.BLANK); - } - else { - boDocPraticaImpl.setMd5(md5); - } - - boDocPraticaImpl.setAggiornato(aggiornato); - - if (jsonFirmatari == null) { - boDocPraticaImpl.setJsonFirmatari(StringPool.BLANK); - } - else { - boDocPraticaImpl.setJsonFirmatari(jsonFirmatari); - } - - boDocPraticaImpl.setDaxId(daxId); - - if (dtInvioDax == Long.MIN_VALUE) { - boDocPraticaImpl.setDtInvioDax(null); - } - else { - boDocPraticaImpl.setDtInvioDax(new Date(dtInvioDax)); - } - - if (erroreDax == null) { - boDocPraticaImpl.setErroreDax(StringPool.BLANK); - } - else { - boDocPraticaImpl.setErroreDax(erroreDax); - } - - if (dtErroreDax == Long.MIN_VALUE) { - boDocPraticaImpl.setDtErroreDax(null); - } - else { - boDocPraticaImpl.setDtErroreDax(new Date(dtErroreDax)); - } - - boDocPraticaImpl.resetOriginalValues(); - - return boDocPraticaImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - uuid = objectInput.readUTF(); - docPraticaId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - groupId = objectInput.readLong(); - dettPraticaId = objectInput.readLong(); - dlFileEntryId = objectInput.readLong(); - version = objectInput.readUTF(); - praticaValidata = objectInput.readBoolean(); - descLong = objectInput.readUTF(); - codFileSuap = objectInput.readUTF(); - tipologia = objectInput.readUTF(); - md5 = objectInput.readUTF(); - aggiornato = objectInput.readBoolean(); - jsonFirmatari = objectInput.readUTF(); - daxId = objectInput.readLong(); - dtInvioDax = objectInput.readLong(); - erroreDax = objectInput.readUTF(); - dtErroreDax = objectInput.readLong(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - if (uuid == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(uuid); - } - - objectOutput.writeLong(docPraticaId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeLong(groupId); - objectOutput.writeLong(dettPraticaId); - objectOutput.writeLong(dlFileEntryId); - - if (version == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(version); - } - - objectOutput.writeBoolean(praticaValidata); - - if (descLong == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(descLong); - } - - if (codFileSuap == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codFileSuap); - } - - if (tipologia == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(tipologia); - } - - if (md5 == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(md5); - } - - objectOutput.writeBoolean(aggiornato); - - if (jsonFirmatari == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(jsonFirmatari); - } - - objectOutput.writeLong(daxId); - objectOutput.writeLong(dtInvioDax); - - if (erroreDax == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(erroreDax); - } - - objectOutput.writeLong(dtErroreDax); - } - - public String uuid; - public long docPraticaId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public long groupId; - public long dettPraticaId; - public long dlFileEntryId; - public String version; - public boolean praticaValidata; - public String descLong; - public String codFileSuap; - public String tipologia; - public String md5; - public boolean aggiornato; - public String jsonFirmatari; - public long daxId; - public long dtInvioDax; - public String erroreDax; - public long dtErroreDax; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoDocPraticaImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoDocPraticaImpl.java deleted file mode 100644 index d207cbff..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoDocPraticaImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -/** - * The extended model implementation for the BoDocPratica service. Represents a row in the "gc_docpratica" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.model.BoDocPratica} interface. - *

- * - * @author 3FC - */ -public class BoDocPraticaImpl extends BoDocPraticaBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a bo doc pratica model instance should use the {@link it.tref.liferay.portos.importazione.model.BoDocPratica} interface instead. - */ - public BoDocPraticaImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoDocPraticaModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoDocPraticaModelImpl.java deleted file mode 100644 index f08aa5f0..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoDocPraticaModelImpl.java +++ /dev/null @@ -1,1152 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.importazione.model.BoDocPratica; -import it.tref.liferay.portos.importazione.model.BoDocPraticaModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the BoDocPratica service. Represents a row in the "gc_docpratica" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.importazione.model.BoDocPraticaModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoDocPraticaImpl}. - *

- * - * @author 3FC - * @see BoDocPraticaImpl - * @see it.tref.liferay.portos.importazione.model.BoDocPratica - * @see it.tref.liferay.portos.importazione.model.BoDocPraticaModel - * @generated - */ -public class BoDocPraticaModelImpl extends BaseModelImpl - implements BoDocPraticaModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo doc pratica model instance should use the {@link it.tref.liferay.portos.importazione.model.BoDocPratica} interface instead. - */ - public static final String TABLE_NAME = "gc_docpratica"; - public static final Object[][] TABLE_COLUMNS = { - { "uuid_", Types.VARCHAR }, - { "docPraticaId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "groupId", Types.BIGINT }, - { "dettPraticaId", Types.BIGINT }, - { "dlFileEntryId", Types.BIGINT }, - { "version", Types.VARCHAR }, - { "praticaValidata", Types.BOOLEAN }, - { "descLong", Types.VARCHAR }, - { "codFileSuap", Types.VARCHAR }, - { "tipologia", Types.VARCHAR }, - { "md5", Types.VARCHAR }, - { "aggiornato", Types.BOOLEAN }, - { "jsonFirmatari", Types.VARCHAR }, - { "daxId", Types.BIGINT }, - { "dtInvioDax", Types.TIMESTAMP }, - { "erroreDax", Types.VARCHAR }, - { "dtErroreDax", Types.TIMESTAMP } - }; - public static final String TABLE_SQL_CREATE = "create table gc_docpratica (uuid_ VARCHAR(75) null,docPraticaId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,dettPraticaId LONG,dlFileEntryId LONG,version VARCHAR(75) null,praticaValidata BOOLEAN,descLong VARCHAR(75) null,codFileSuap VARCHAR(75) null,tipologia VARCHAR(75) null,md5 VARCHAR(75) null,aggiornato BOOLEAN,jsonFirmatari VARCHAR(75) null,daxId LONG,dtInvioDax DATE null,erroreDax VARCHAR(75) null,dtErroreDax DATE null)"; - public static final String TABLE_SQL_DROP = "drop table gc_docpratica"; - public static final String ORDER_BY_JPQL = " ORDER BY boDocPratica.docPraticaId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gc_docpratica.docPraticaId ASC"; - public static final String DATA_SOURCE = "datiPortos1DbDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.importazione.model.BoDocPratica"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.importazione.model.BoDocPratica"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.importazione.model.BoDocPratica"), - true); - public static long CODFILESUAP_COLUMN_BITMASK = 1L; - public static long COMPANYID_COLUMN_BITMASK = 2L; - public static long DETTPRATICAID_COLUMN_BITMASK = 4L; - public static long DLFILEENTRYID_COLUMN_BITMASK = 8L; - public static long GROUPID_COLUMN_BITMASK = 16L; - public static long TIPOLOGIA_COLUMN_BITMASK = 32L; - public static long UUID_COLUMN_BITMASK = 64L; - public static long VERSION_COLUMN_BITMASK = 128L; - public static long DOCPRATICAID_COLUMN_BITMASK = 256L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.importazione.model.BoDocPratica")); - - public BoDocPraticaModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _docPraticaId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setDocPraticaId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _docPraticaId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return BoDocPratica.class; - } - - @Override - public String getModelClassName() { - return BoDocPratica.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("docPraticaId", getDocPraticaId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("dlFileEntryId", getDlFileEntryId()); - attributes.put("version", getVersion()); - attributes.put("praticaValidata", getPraticaValidata()); - attributes.put("descLong", getDescLong()); - attributes.put("codFileSuap", getCodFileSuap()); - attributes.put("tipologia", getTipologia()); - attributes.put("md5", getMd5()); - attributes.put("aggiornato", getAggiornato()); - attributes.put("jsonFirmatari", getJsonFirmatari()); - attributes.put("daxId", getDaxId()); - attributes.put("dtInvioDax", getDtInvioDax()); - attributes.put("erroreDax", getErroreDax()); - attributes.put("dtErroreDax", getDtErroreDax()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long docPraticaId = (Long)attributes.get("docPraticaId"); - - if (docPraticaId != null) { - setDocPraticaId(docPraticaId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - Long dlFileEntryId = (Long)attributes.get("dlFileEntryId"); - - if (dlFileEntryId != null) { - setDlFileEntryId(dlFileEntryId); - } - - String version = (String)attributes.get("version"); - - if (version != null) { - setVersion(version); - } - - Boolean praticaValidata = (Boolean)attributes.get("praticaValidata"); - - if (praticaValidata != null) { - setPraticaValidata(praticaValidata); - } - - String descLong = (String)attributes.get("descLong"); - - if (descLong != null) { - setDescLong(descLong); - } - - String codFileSuap = (String)attributes.get("codFileSuap"); - - if (codFileSuap != null) { - setCodFileSuap(codFileSuap); - } - - String tipologia = (String)attributes.get("tipologia"); - - if (tipologia != null) { - setTipologia(tipologia); - } - - String md5 = (String)attributes.get("md5"); - - if (md5 != null) { - setMd5(md5); - } - - Boolean aggiornato = (Boolean)attributes.get("aggiornato"); - - if (aggiornato != null) { - setAggiornato(aggiornato); - } - - String jsonFirmatari = (String)attributes.get("jsonFirmatari"); - - if (jsonFirmatari != null) { - setJsonFirmatari(jsonFirmatari); - } - - Long daxId = (Long)attributes.get("daxId"); - - if (daxId != null) { - setDaxId(daxId); - } - - Date dtInvioDax = (Date)attributes.get("dtInvioDax"); - - if (dtInvioDax != null) { - setDtInvioDax(dtInvioDax); - } - - String erroreDax = (String)attributes.get("erroreDax"); - - if (erroreDax != null) { - setErroreDax(erroreDax); - } - - Date dtErroreDax = (Date)attributes.get("dtErroreDax"); - - if (dtErroreDax != null) { - setDtErroreDax(dtErroreDax); - } - } - - @Override - public String getUuid() { - if (_uuid == null) { - return StringPool.BLANK; - } - else { - return _uuid; - } - } - - @Override - public void setUuid(String uuid) { - if (_originalUuid == null) { - _originalUuid = _uuid; - } - - _uuid = uuid; - } - - public String getOriginalUuid() { - return GetterUtil.getString(_originalUuid); - } - - @Override - public long getDocPraticaId() { - return _docPraticaId; - } - - @Override - public void setDocPraticaId(long docPraticaId) { - _docPraticaId = docPraticaId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _columnBitmask |= COMPANYID_COLUMN_BITMASK; - - if (!_setOriginalCompanyId) { - _setOriginalCompanyId = true; - - _originalCompanyId = _companyId; - } - - _companyId = companyId; - } - - public long getOriginalCompanyId() { - return _originalCompanyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _columnBitmask |= GROUPID_COLUMN_BITMASK; - - if (!_setOriginalGroupId) { - _setOriginalGroupId = true; - - _originalGroupId = _groupId; - } - - _groupId = groupId; - } - - public long getOriginalGroupId() { - return _originalGroupId; - } - - @Override - public long getDettPraticaId() { - return _dettPraticaId; - } - - @Override - public void setDettPraticaId(long dettPraticaId) { - _columnBitmask |= DETTPRATICAID_COLUMN_BITMASK; - - if (!_setOriginalDettPraticaId) { - _setOriginalDettPraticaId = true; - - _originalDettPraticaId = _dettPraticaId; - } - - _dettPraticaId = dettPraticaId; - } - - public long getOriginalDettPraticaId() { - return _originalDettPraticaId; - } - - @Override - public long getDlFileEntryId() { - return _dlFileEntryId; - } - - @Override - public void setDlFileEntryId(long dlFileEntryId) { - _columnBitmask |= DLFILEENTRYID_COLUMN_BITMASK; - - if (!_setOriginalDlFileEntryId) { - _setOriginalDlFileEntryId = true; - - _originalDlFileEntryId = _dlFileEntryId; - } - - _dlFileEntryId = dlFileEntryId; - } - - public long getOriginalDlFileEntryId() { - return _originalDlFileEntryId; - } - - @Override - public String getVersion() { - if (_version == null) { - return StringPool.BLANK; - } - else { - return _version; - } - } - - @Override - public void setVersion(String version) { - _columnBitmask |= VERSION_COLUMN_BITMASK; - - if (_originalVersion == null) { - _originalVersion = _version; - } - - _version = version; - } - - public String getOriginalVersion() { - return GetterUtil.getString(_originalVersion); - } - - @Override - public boolean getPraticaValidata() { - return _praticaValidata; - } - - @Override - public boolean isPraticaValidata() { - return _praticaValidata; - } - - @Override - public void setPraticaValidata(boolean praticaValidata) { - _praticaValidata = praticaValidata; - } - - @Override - public String getDescLong() { - if (_descLong == null) { - return StringPool.BLANK; - } - else { - return _descLong; - } - } - - @Override - public void setDescLong(String descLong) { - _descLong = descLong; - } - - @Override - public String getCodFileSuap() { - if (_codFileSuap == null) { - return StringPool.BLANK; - } - else { - return _codFileSuap; - } - } - - @Override - public void setCodFileSuap(String codFileSuap) { - _columnBitmask |= CODFILESUAP_COLUMN_BITMASK; - - if (_originalCodFileSuap == null) { - _originalCodFileSuap = _codFileSuap; - } - - _codFileSuap = codFileSuap; - } - - public String getOriginalCodFileSuap() { - return GetterUtil.getString(_originalCodFileSuap); - } - - @Override - public String getTipologia() { - if (_tipologia == null) { - return StringPool.BLANK; - } - else { - return _tipologia; - } - } - - @Override - public void setTipologia(String tipologia) { - _columnBitmask |= TIPOLOGIA_COLUMN_BITMASK; - - if (_originalTipologia == null) { - _originalTipologia = _tipologia; - } - - _tipologia = tipologia; - } - - public String getOriginalTipologia() { - return GetterUtil.getString(_originalTipologia); - } - - @Override - public String getMd5() { - if (_md5 == null) { - return StringPool.BLANK; - } - else { - return _md5; - } - } - - @Override - public void setMd5(String md5) { - _md5 = md5; - } - - @Override - public boolean getAggiornato() { - return _aggiornato; - } - - @Override - public boolean isAggiornato() { - return _aggiornato; - } - - @Override - public void setAggiornato(boolean aggiornato) { - _aggiornato = aggiornato; - } - - @Override - public String getJsonFirmatari() { - if (_jsonFirmatari == null) { - return StringPool.BLANK; - } - else { - return _jsonFirmatari; - } - } - - @Override - public void setJsonFirmatari(String jsonFirmatari) { - _jsonFirmatari = jsonFirmatari; - } - - @Override - public long getDaxId() { - return _daxId; - } - - @Override - public void setDaxId(long daxId) { - _daxId = daxId; - } - - @Override - public Date getDtInvioDax() { - return _dtInvioDax; - } - - @Override - public void setDtInvioDax(Date dtInvioDax) { - _dtInvioDax = dtInvioDax; - } - - @Override - public String getErroreDax() { - if (_erroreDax == null) { - return StringPool.BLANK; - } - else { - return _erroreDax; - } - } - - @Override - public void setErroreDax(String erroreDax) { - _erroreDax = erroreDax; - } - - @Override - public Date getDtErroreDax() { - return _dtErroreDax; - } - - @Override - public void setDtErroreDax(Date dtErroreDax) { - _dtErroreDax = dtErroreDax; - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoDocPratica.class.getName())); - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - BoDocPratica.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public BoDocPratica toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (BoDocPratica)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - BoDocPraticaImpl boDocPraticaImpl = new BoDocPraticaImpl(); - - boDocPraticaImpl.setUuid(getUuid()); - boDocPraticaImpl.setDocPraticaId(getDocPraticaId()); - boDocPraticaImpl.setCompanyId(getCompanyId()); - boDocPraticaImpl.setUserId(getUserId()); - boDocPraticaImpl.setUserName(getUserName()); - boDocPraticaImpl.setCreateDate(getCreateDate()); - boDocPraticaImpl.setModifiedDate(getModifiedDate()); - boDocPraticaImpl.setGroupId(getGroupId()); - boDocPraticaImpl.setDettPraticaId(getDettPraticaId()); - boDocPraticaImpl.setDlFileEntryId(getDlFileEntryId()); - boDocPraticaImpl.setVersion(getVersion()); - boDocPraticaImpl.setPraticaValidata(getPraticaValidata()); - boDocPraticaImpl.setDescLong(getDescLong()); - boDocPraticaImpl.setCodFileSuap(getCodFileSuap()); - boDocPraticaImpl.setTipologia(getTipologia()); - boDocPraticaImpl.setMd5(getMd5()); - boDocPraticaImpl.setAggiornato(getAggiornato()); - boDocPraticaImpl.setJsonFirmatari(getJsonFirmatari()); - boDocPraticaImpl.setDaxId(getDaxId()); - boDocPraticaImpl.setDtInvioDax(getDtInvioDax()); - boDocPraticaImpl.setErroreDax(getErroreDax()); - boDocPraticaImpl.setDtErroreDax(getDtErroreDax()); - - boDocPraticaImpl.resetOriginalValues(); - - return boDocPraticaImpl; - } - - @Override - public int compareTo(BoDocPratica boDocPratica) { - long primaryKey = boDocPratica.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoDocPratica)) { - return false; - } - - BoDocPratica boDocPratica = (BoDocPratica)obj; - - long primaryKey = boDocPratica.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - BoDocPraticaModelImpl boDocPraticaModelImpl = this; - - boDocPraticaModelImpl._originalUuid = boDocPraticaModelImpl._uuid; - - boDocPraticaModelImpl._originalCompanyId = boDocPraticaModelImpl._companyId; - - boDocPraticaModelImpl._setOriginalCompanyId = false; - - boDocPraticaModelImpl._originalGroupId = boDocPraticaModelImpl._groupId; - - boDocPraticaModelImpl._setOriginalGroupId = false; - - boDocPraticaModelImpl._originalDettPraticaId = boDocPraticaModelImpl._dettPraticaId; - - boDocPraticaModelImpl._setOriginalDettPraticaId = false; - - boDocPraticaModelImpl._originalDlFileEntryId = boDocPraticaModelImpl._dlFileEntryId; - - boDocPraticaModelImpl._setOriginalDlFileEntryId = false; - - boDocPraticaModelImpl._originalVersion = boDocPraticaModelImpl._version; - - boDocPraticaModelImpl._originalCodFileSuap = boDocPraticaModelImpl._codFileSuap; - - boDocPraticaModelImpl._originalTipologia = boDocPraticaModelImpl._tipologia; - - boDocPraticaModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - BoDocPraticaCacheModel boDocPraticaCacheModel = new BoDocPraticaCacheModel(); - - boDocPraticaCacheModel.uuid = getUuid(); - - String uuid = boDocPraticaCacheModel.uuid; - - if ((uuid != null) && (uuid.length() == 0)) { - boDocPraticaCacheModel.uuid = null; - } - - boDocPraticaCacheModel.docPraticaId = getDocPraticaId(); - - boDocPraticaCacheModel.companyId = getCompanyId(); - - boDocPraticaCacheModel.userId = getUserId(); - - boDocPraticaCacheModel.userName = getUserName(); - - String userName = boDocPraticaCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - boDocPraticaCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - boDocPraticaCacheModel.createDate = createDate.getTime(); - } - else { - boDocPraticaCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - boDocPraticaCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - boDocPraticaCacheModel.modifiedDate = Long.MIN_VALUE; - } - - boDocPraticaCacheModel.groupId = getGroupId(); - - boDocPraticaCacheModel.dettPraticaId = getDettPraticaId(); - - boDocPraticaCacheModel.dlFileEntryId = getDlFileEntryId(); - - boDocPraticaCacheModel.version = getVersion(); - - String version = boDocPraticaCacheModel.version; - - if ((version != null) && (version.length() == 0)) { - boDocPraticaCacheModel.version = null; - } - - boDocPraticaCacheModel.praticaValidata = getPraticaValidata(); - - boDocPraticaCacheModel.descLong = getDescLong(); - - String descLong = boDocPraticaCacheModel.descLong; - - if ((descLong != null) && (descLong.length() == 0)) { - boDocPraticaCacheModel.descLong = null; - } - - boDocPraticaCacheModel.codFileSuap = getCodFileSuap(); - - String codFileSuap = boDocPraticaCacheModel.codFileSuap; - - if ((codFileSuap != null) && (codFileSuap.length() == 0)) { - boDocPraticaCacheModel.codFileSuap = null; - } - - boDocPraticaCacheModel.tipologia = getTipologia(); - - String tipologia = boDocPraticaCacheModel.tipologia; - - if ((tipologia != null) && (tipologia.length() == 0)) { - boDocPraticaCacheModel.tipologia = null; - } - - boDocPraticaCacheModel.md5 = getMd5(); - - String md5 = boDocPraticaCacheModel.md5; - - if ((md5 != null) && (md5.length() == 0)) { - boDocPraticaCacheModel.md5 = null; - } - - boDocPraticaCacheModel.aggiornato = getAggiornato(); - - boDocPraticaCacheModel.jsonFirmatari = getJsonFirmatari(); - - String jsonFirmatari = boDocPraticaCacheModel.jsonFirmatari; - - if ((jsonFirmatari != null) && (jsonFirmatari.length() == 0)) { - boDocPraticaCacheModel.jsonFirmatari = null; - } - - boDocPraticaCacheModel.daxId = getDaxId(); - - Date dtInvioDax = getDtInvioDax(); - - if (dtInvioDax != null) { - boDocPraticaCacheModel.dtInvioDax = dtInvioDax.getTime(); - } - else { - boDocPraticaCacheModel.dtInvioDax = Long.MIN_VALUE; - } - - boDocPraticaCacheModel.erroreDax = getErroreDax(); - - String erroreDax = boDocPraticaCacheModel.erroreDax; - - if ((erroreDax != null) && (erroreDax.length() == 0)) { - boDocPraticaCacheModel.erroreDax = null; - } - - Date dtErroreDax = getDtErroreDax(); - - if (dtErroreDax != null) { - boDocPraticaCacheModel.dtErroreDax = dtErroreDax.getTime(); - } - else { - boDocPraticaCacheModel.dtErroreDax = Long.MIN_VALUE; - } - - return boDocPraticaCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(45); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", docPraticaId="); - sb.append(getDocPraticaId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", dettPraticaId="); - sb.append(getDettPraticaId()); - sb.append(", dlFileEntryId="); - sb.append(getDlFileEntryId()); - sb.append(", version="); - sb.append(getVersion()); - sb.append(", praticaValidata="); - sb.append(getPraticaValidata()); - sb.append(", descLong="); - sb.append(getDescLong()); - sb.append(", codFileSuap="); - sb.append(getCodFileSuap()); - sb.append(", tipologia="); - sb.append(getTipologia()); - sb.append(", md5="); - sb.append(getMd5()); - sb.append(", aggiornato="); - sb.append(getAggiornato()); - sb.append(", jsonFirmatari="); - sb.append(getJsonFirmatari()); - sb.append(", daxId="); - sb.append(getDaxId()); - sb.append(", dtInvioDax="); - sb.append(getDtInvioDax()); - sb.append(", erroreDax="); - sb.append(getErroreDax()); - sb.append(", dtErroreDax="); - sb.append(getDtErroreDax()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(70); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.BoDocPratica"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "docPraticaId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "dettPraticaId"); - sb.append( - "dlFileEntryId"); - sb.append( - "version"); - sb.append( - "praticaValidata"); - sb.append( - "descLong"); - sb.append( - "codFileSuap"); - sb.append( - "tipologia"); - sb.append( - "md5"); - sb.append( - "aggiornato"); - sb.append( - "jsonFirmatari"); - sb.append( - "daxId"); - sb.append( - "dtInvioDax"); - sb.append( - "erroreDax"); - sb.append( - "dtErroreDax"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = BoDocPratica.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - BoDocPratica.class - }; - private String _uuid; - private String _originalUuid; - private long _docPraticaId; - private long _companyId; - private long _originalCompanyId; - private boolean _setOriginalCompanyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _originalGroupId; - private boolean _setOriginalGroupId; - private long _dettPraticaId; - private long _originalDettPraticaId; - private boolean _setOriginalDettPraticaId; - private long _dlFileEntryId; - private long _originalDlFileEntryId; - private boolean _setOriginalDlFileEntryId; - private String _version; - private String _originalVersion; - private boolean _praticaValidata; - private String _descLong; - private String _codFileSuap; - private String _originalCodFileSuap; - private String _tipologia; - private String _originalTipologia; - private String _md5; - private boolean _aggiornato; - private String _jsonFirmatari; - private long _daxId; - private Date _dtInvioDax; - private String _erroreDax; - private Date _dtErroreDax; - private long _columnBitmask; - private BoDocPratica _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoIntPraticaBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoIntPraticaBaseImpl.java deleted file mode 100644 index 5d13ac4a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoIntPraticaBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.BoIntPratica; -import it.tref.liferay.portos.importazione.service.BoIntPraticaLocalServiceUtil; - -/** - * The extended model base implementation for the BoIntPratica service. Represents a row in the "gc_intpratica" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoIntPraticaImpl}. - *

- * - * @author 3FC - * @see BoIntPraticaImpl - * @see it.tref.liferay.portos.importazione.model.BoIntPratica - * @generated - */ -public abstract class BoIntPraticaBaseImpl extends BoIntPraticaModelImpl - implements BoIntPratica { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo int pratica model instance should use the {@link BoIntPratica} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoIntPraticaLocalServiceUtil.addBoIntPratica(this); - } - else { - BoIntPraticaLocalServiceUtil.updateBoIntPratica(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoIntPraticaCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoIntPraticaCacheModel.java deleted file mode 100644 index 4833674e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoIntPraticaCacheModel.java +++ /dev/null @@ -1,641 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.importazione.model.BoIntPratica; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing BoIntPratica in entity cache. - * - * @author 3FC - * @see BoIntPratica - * @generated - */ -public class BoIntPraticaCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(95); - - sb.append("{uuid="); - sb.append(uuid); - sb.append(", intPraticaId="); - sb.append(intPraticaId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", tipoPraticaId="); - sb.append(tipoPraticaId); - sb.append(", territorioId="); - sb.append(territorioId); - sb.append(", destinazione="); - sb.append(destinazione); - sb.append(", tipologiaSistemaCostruttivo="); - sb.append(tipologiaSistemaCostruttivo); - sb.append(", ag="); - sb.append(ag); - sb.append(", descLongIntervento="); - sb.append(descLongIntervento); - sb.append(", via="); - sb.append(via); - sb.append(", localita="); - sb.append(localita); - sb.append(", estremiCatastali="); - sb.append(estremiCatastali); - sb.append(", estremiPratCom="); - sb.append(estremiPratCom); - sb.append(", dtSorteggio="); - sb.append(dtSorteggio); - sb.append(", statoPratica="); - sb.append(statoPratica); - sb.append(", numeroProgetto="); - sb.append(numeroProgetto); - sb.append(", validata="); - sb.append(validata); - sb.append(", variataDa="); - sb.append(variataDa); - sb.append(", varianteNumero="); - sb.append(varianteNumero); - sb.append(", varianteSostanziale="); - sb.append(varianteSostanziale); - sb.append(", operaConforme="); - sb.append(operaConforme); - sb.append(", tipoPraticaIdSanatoria="); - sb.append(tipoPraticaIdSanatoria); - sb.append(", status="); - sb.append(status); - sb.append(", statusByUserId="); - sb.append(statusByUserId); - sb.append(", statusDate="); - sb.append(statusDate); - sb.append(", statoPraticaWorkflow="); - sb.append(statoPraticaWorkflow); - sb.append(", esitoControllo="); - sb.append(esitoControllo); - sb.append(", collaudoStatico="); - sb.append(collaudoStatico); - sb.append(", collaudoStaticoAgtSanatoria="); - sb.append(collaudoStaticoAgtSanatoria); - sb.append(", codiceFiscaleDelegato="); - sb.append(codiceFiscaleDelegato); - sb.append(", codiceRuoloDelegato="); - sb.append(codiceRuoloDelegato); - sb.append(", lavoriInEconomiaCommittente="); - sb.append(lavoriInEconomiaCommittente); - sb.append(", nomeUtenteSuap="); - sb.append(nomeUtenteSuap); - sb.append(", cognomeUtenteSuap="); - sb.append(cognomeUtenteSuap); - sb.append(", codiceFiscaleUtenteSuap="); - sb.append(codiceFiscaleUtenteSuap); - sb.append(", inizioLavoriContestualeOpera="); - sb.append(inizioLavoriContestualeOpera); - sb.append(", dataInizioLavoriOpera="); - sb.append(dataInizioLavoriOpera); - sb.append(", dataInizioEsecuzioneOpera="); - sb.append(dataInizioEsecuzioneOpera); - sb.append(", dataFineEsecuzioneOpera="); - sb.append(dataFineEsecuzioneOpera); - sb.append(", metratura="); - sb.append(metratura); - sb.append(", lavoriPubblici="); - sb.append(lavoriPubblici); - sb.append(", dtPratica="); - sb.append(dtPratica); - sb.append("}"); - - return sb.toString(); - } - - @Override - public BoIntPratica toEntityModel() { - BoIntPraticaImpl boIntPraticaImpl = new BoIntPraticaImpl(); - - if (uuid == null) { - boIntPraticaImpl.setUuid(StringPool.BLANK); - } - else { - boIntPraticaImpl.setUuid(uuid); - } - - boIntPraticaImpl.setIntPraticaId(intPraticaId); - boIntPraticaImpl.setCompanyId(companyId); - boIntPraticaImpl.setUserId(userId); - - if (userName == null) { - boIntPraticaImpl.setUserName(StringPool.BLANK); - } - else { - boIntPraticaImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - boIntPraticaImpl.setCreateDate(null); - } - else { - boIntPraticaImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - boIntPraticaImpl.setModifiedDate(null); - } - else { - boIntPraticaImpl.setModifiedDate(new Date(modifiedDate)); - } - - boIntPraticaImpl.setGroupId(groupId); - boIntPraticaImpl.setTipoPraticaId(tipoPraticaId); - boIntPraticaImpl.setTerritorioId(territorioId); - - if (destinazione == null) { - boIntPraticaImpl.setDestinazione(StringPool.BLANK); - } - else { - boIntPraticaImpl.setDestinazione(destinazione); - } - - if (tipologiaSistemaCostruttivo == null) { - boIntPraticaImpl.setTipologiaSistemaCostruttivo(StringPool.BLANK); - } - else { - boIntPraticaImpl.setTipologiaSistemaCostruttivo(tipologiaSistemaCostruttivo); - } - - if (ag == null) { - boIntPraticaImpl.setAg(StringPool.BLANK); - } - else { - boIntPraticaImpl.setAg(ag); - } - - if (descLongIntervento == null) { - boIntPraticaImpl.setDescLongIntervento(StringPool.BLANK); - } - else { - boIntPraticaImpl.setDescLongIntervento(descLongIntervento); - } - - if (via == null) { - boIntPraticaImpl.setVia(StringPool.BLANK); - } - else { - boIntPraticaImpl.setVia(via); - } - - if (localita == null) { - boIntPraticaImpl.setLocalita(StringPool.BLANK); - } - else { - boIntPraticaImpl.setLocalita(localita); - } - - if (estremiCatastali == null) { - boIntPraticaImpl.setEstremiCatastali(StringPool.BLANK); - } - else { - boIntPraticaImpl.setEstremiCatastali(estremiCatastali); - } - - if (estremiPratCom == null) { - boIntPraticaImpl.setEstremiPratCom(StringPool.BLANK); - } - else { - boIntPraticaImpl.setEstremiPratCom(estremiPratCom); - } - - if (dtSorteggio == Long.MIN_VALUE) { - boIntPraticaImpl.setDtSorteggio(null); - } - else { - boIntPraticaImpl.setDtSorteggio(new Date(dtSorteggio)); - } - - if (statoPratica == null) { - boIntPraticaImpl.setStatoPratica(StringPool.BLANK); - } - else { - boIntPraticaImpl.setStatoPratica(statoPratica); - } - - if (numeroProgetto == null) { - boIntPraticaImpl.setNumeroProgetto(StringPool.BLANK); - } - else { - boIntPraticaImpl.setNumeroProgetto(numeroProgetto); - } - - boIntPraticaImpl.setValidata(validata); - boIntPraticaImpl.setVariataDa(variataDa); - boIntPraticaImpl.setVarianteNumero(varianteNumero); - boIntPraticaImpl.setVarianteSostanziale(varianteSostanziale); - boIntPraticaImpl.setOperaConforme(operaConforme); - boIntPraticaImpl.setTipoPraticaIdSanatoria(tipoPraticaIdSanatoria); - boIntPraticaImpl.setStatus(status); - boIntPraticaImpl.setStatusByUserId(statusByUserId); - - if (statusDate == Long.MIN_VALUE) { - boIntPraticaImpl.setStatusDate(null); - } - else { - boIntPraticaImpl.setStatusDate(new Date(statusDate)); - } - - if (statoPraticaWorkflow == null) { - boIntPraticaImpl.setStatoPraticaWorkflow(StringPool.BLANK); - } - else { - boIntPraticaImpl.setStatoPraticaWorkflow(statoPraticaWorkflow); - } - - boIntPraticaImpl.setEsitoControllo(esitoControllo); - boIntPraticaImpl.setCollaudoStatico(collaudoStatico); - boIntPraticaImpl.setCollaudoStaticoAgtSanatoria(collaudoStaticoAgtSanatoria); - - if (codiceFiscaleDelegato == null) { - boIntPraticaImpl.setCodiceFiscaleDelegato(StringPool.BLANK); - } - else { - boIntPraticaImpl.setCodiceFiscaleDelegato(codiceFiscaleDelegato); - } - - if (codiceRuoloDelegato == null) { - boIntPraticaImpl.setCodiceRuoloDelegato(StringPool.BLANK); - } - else { - boIntPraticaImpl.setCodiceRuoloDelegato(codiceRuoloDelegato); - } - - boIntPraticaImpl.setLavoriInEconomiaCommittente(lavoriInEconomiaCommittente); - - if (nomeUtenteSuap == null) { - boIntPraticaImpl.setNomeUtenteSuap(StringPool.BLANK); - } - else { - boIntPraticaImpl.setNomeUtenteSuap(nomeUtenteSuap); - } - - if (cognomeUtenteSuap == null) { - boIntPraticaImpl.setCognomeUtenteSuap(StringPool.BLANK); - } - else { - boIntPraticaImpl.setCognomeUtenteSuap(cognomeUtenteSuap); - } - - if (codiceFiscaleUtenteSuap == null) { - boIntPraticaImpl.setCodiceFiscaleUtenteSuap(StringPool.BLANK); - } - else { - boIntPraticaImpl.setCodiceFiscaleUtenteSuap(codiceFiscaleUtenteSuap); - } - - boIntPraticaImpl.setInizioLavoriContestualeOpera(inizioLavoriContestualeOpera); - - if (dataInizioLavoriOpera == Long.MIN_VALUE) { - boIntPraticaImpl.setDataInizioLavoriOpera(null); - } - else { - boIntPraticaImpl.setDataInizioLavoriOpera(new Date( - dataInizioLavoriOpera)); - } - - if (dataInizioEsecuzioneOpera == Long.MIN_VALUE) { - boIntPraticaImpl.setDataInizioEsecuzioneOpera(null); - } - else { - boIntPraticaImpl.setDataInizioEsecuzioneOpera(new Date( - dataInizioEsecuzioneOpera)); - } - - if (dataFineEsecuzioneOpera == Long.MIN_VALUE) { - boIntPraticaImpl.setDataFineEsecuzioneOpera(null); - } - else { - boIntPraticaImpl.setDataFineEsecuzioneOpera(new Date( - dataFineEsecuzioneOpera)); - } - - if (metratura == null) { - boIntPraticaImpl.setMetratura(StringPool.BLANK); - } - else { - boIntPraticaImpl.setMetratura(metratura); - } - - boIntPraticaImpl.setLavoriPubblici(lavoriPubblici); - - if (dtPratica == Long.MIN_VALUE) { - boIntPraticaImpl.setDtPratica(null); - } - else { - boIntPraticaImpl.setDtPratica(new Date(dtPratica)); - } - - boIntPraticaImpl.resetOriginalValues(); - - return boIntPraticaImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - uuid = objectInput.readUTF(); - intPraticaId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - groupId = objectInput.readLong(); - tipoPraticaId = objectInput.readLong(); - territorioId = objectInput.readLong(); - destinazione = objectInput.readUTF(); - tipologiaSistemaCostruttivo = objectInput.readUTF(); - ag = objectInput.readUTF(); - descLongIntervento = objectInput.readUTF(); - via = objectInput.readUTF(); - localita = objectInput.readUTF(); - estremiCatastali = objectInput.readUTF(); - estremiPratCom = objectInput.readUTF(); - dtSorteggio = objectInput.readLong(); - statoPratica = objectInput.readUTF(); - numeroProgetto = objectInput.readUTF(); - validata = objectInput.readBoolean(); - variataDa = objectInput.readLong(); - varianteNumero = objectInput.readLong(); - varianteSostanziale = objectInput.readBoolean(); - operaConforme = objectInput.readBoolean(); - tipoPraticaIdSanatoria = objectInput.readLong(); - status = objectInput.readInt(); - statusByUserId = objectInput.readLong(); - statusDate = objectInput.readLong(); - statoPraticaWorkflow = objectInput.readUTF(); - esitoControllo = objectInput.readInt(); - collaudoStatico = objectInput.readBoolean(); - collaudoStaticoAgtSanatoria = objectInput.readBoolean(); - codiceFiscaleDelegato = objectInput.readUTF(); - codiceRuoloDelegato = objectInput.readUTF(); - lavoriInEconomiaCommittente = objectInput.readBoolean(); - nomeUtenteSuap = objectInput.readUTF(); - cognomeUtenteSuap = objectInput.readUTF(); - codiceFiscaleUtenteSuap = objectInput.readUTF(); - inizioLavoriContestualeOpera = objectInput.readBoolean(); - dataInizioLavoriOpera = objectInput.readLong(); - dataInizioEsecuzioneOpera = objectInput.readLong(); - dataFineEsecuzioneOpera = objectInput.readLong(); - metratura = objectInput.readUTF(); - lavoriPubblici = objectInput.readBoolean(); - dtPratica = objectInput.readLong(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - if (uuid == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(uuid); - } - - objectOutput.writeLong(intPraticaId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeLong(groupId); - objectOutput.writeLong(tipoPraticaId); - objectOutput.writeLong(territorioId); - - if (destinazione == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(destinazione); - } - - if (tipologiaSistemaCostruttivo == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(tipologiaSistemaCostruttivo); - } - - if (ag == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(ag); - } - - if (descLongIntervento == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(descLongIntervento); - } - - if (via == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(via); - } - - if (localita == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(localita); - } - - if (estremiCatastali == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(estremiCatastali); - } - - if (estremiPratCom == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(estremiPratCom); - } - - objectOutput.writeLong(dtSorteggio); - - if (statoPratica == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(statoPratica); - } - - if (numeroProgetto == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(numeroProgetto); - } - - objectOutput.writeBoolean(validata); - objectOutput.writeLong(variataDa); - objectOutput.writeLong(varianteNumero); - objectOutput.writeBoolean(varianteSostanziale); - objectOutput.writeBoolean(operaConforme); - objectOutput.writeLong(tipoPraticaIdSanatoria); - objectOutput.writeInt(status); - objectOutput.writeLong(statusByUserId); - objectOutput.writeLong(statusDate); - - if (statoPraticaWorkflow == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(statoPraticaWorkflow); - } - - objectOutput.writeInt(esitoControllo); - objectOutput.writeBoolean(collaudoStatico); - objectOutput.writeBoolean(collaudoStaticoAgtSanatoria); - - if (codiceFiscaleDelegato == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codiceFiscaleDelegato); - } - - if (codiceRuoloDelegato == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codiceRuoloDelegato); - } - - objectOutput.writeBoolean(lavoriInEconomiaCommittente); - - if (nomeUtenteSuap == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(nomeUtenteSuap); - } - - if (cognomeUtenteSuap == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(cognomeUtenteSuap); - } - - if (codiceFiscaleUtenteSuap == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codiceFiscaleUtenteSuap); - } - - objectOutput.writeBoolean(inizioLavoriContestualeOpera); - objectOutput.writeLong(dataInizioLavoriOpera); - objectOutput.writeLong(dataInizioEsecuzioneOpera); - objectOutput.writeLong(dataFineEsecuzioneOpera); - - if (metratura == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(metratura); - } - - objectOutput.writeBoolean(lavoriPubblici); - objectOutput.writeLong(dtPratica); - } - - public String uuid; - public long intPraticaId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public long groupId; - public long tipoPraticaId; - public long territorioId; - public String destinazione; - public String tipologiaSistemaCostruttivo; - public String ag; - public String descLongIntervento; - public String via; - public String localita; - public String estremiCatastali; - public String estremiPratCom; - public long dtSorteggio; - public String statoPratica; - public String numeroProgetto; - public boolean validata; - public long variataDa; - public long varianteNumero; - public boolean varianteSostanziale; - public boolean operaConforme; - public long tipoPraticaIdSanatoria; - public int status; - public long statusByUserId; - public long statusDate; - public String statoPraticaWorkflow; - public int esitoControllo; - public boolean collaudoStatico; - public boolean collaudoStaticoAgtSanatoria; - public String codiceFiscaleDelegato; - public String codiceRuoloDelegato; - public boolean lavoriInEconomiaCommittente; - public String nomeUtenteSuap; - public String cognomeUtenteSuap; - public String codiceFiscaleUtenteSuap; - public boolean inizioLavoriContestualeOpera; - public long dataInizioLavoriOpera; - public long dataInizioEsecuzioneOpera; - public long dataFineEsecuzioneOpera; - public String metratura; - public boolean lavoriPubblici; - public long dtPratica; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoIntPraticaImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoIntPraticaImpl.java deleted file mode 100644 index 5b243666..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoIntPraticaImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -/** - * The extended model implementation for the BoIntPratica service. Represents a row in the "gc_intpratica" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.model.BoIntPratica} interface. - *

- * - * @author 3FC - */ -public class BoIntPraticaImpl extends BoIntPraticaBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a bo int pratica model instance should use the {@link it.tref.liferay.portos.importazione.model.BoIntPratica} interface instead. - */ - public BoIntPraticaImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoIntPraticaModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoIntPraticaModelImpl.java deleted file mode 100644 index e9aaeb3f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoIntPraticaModelImpl.java +++ /dev/null @@ -1,2069 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.importazione.model.BoIntPratica; -import it.tref.liferay.portos.importazione.model.BoIntPraticaModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the BoIntPratica service. Represents a row in the "gc_intpratica" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.importazione.model.BoIntPraticaModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoIntPraticaImpl}. - *

- * - * @author 3FC - * @see BoIntPraticaImpl - * @see it.tref.liferay.portos.importazione.model.BoIntPratica - * @see it.tref.liferay.portos.importazione.model.BoIntPraticaModel - * @generated - */ -public class BoIntPraticaModelImpl extends BaseModelImpl - implements BoIntPraticaModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo int pratica model instance should use the {@link it.tref.liferay.portos.importazione.model.BoIntPratica} interface instead. - */ - public static final String TABLE_NAME = "gc_intpratica"; - public static final Object[][] TABLE_COLUMNS = { - { "uuid_", Types.VARCHAR }, - { "intPraticaId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "groupId", Types.BIGINT }, - { "tipoPraticaId", Types.BIGINT }, - { "territorioId", Types.BIGINT }, - { "destinazione", Types.VARCHAR }, - { "tipologiaSistemaCostruttivo", Types.VARCHAR }, - { "ag", Types.VARCHAR }, - { "descLongIntervento", Types.VARCHAR }, - { "via", Types.VARCHAR }, - { "localita", Types.VARCHAR }, - { "estremiCatastali", Types.VARCHAR }, - { "estremiPratCom", Types.VARCHAR }, - { "dtSorteggio", Types.TIMESTAMP }, - { "statoPratica", Types.VARCHAR }, - { "numeroProgetto", Types.VARCHAR }, - { "validata", Types.BOOLEAN }, - { "variataDa", Types.BIGINT }, - { "varianteNumero", Types.BIGINT }, - { "varianteSostanziale", Types.BOOLEAN }, - { "operaConforme", Types.BOOLEAN }, - { "tipoPraticaIdSanatoria", Types.BIGINT }, - { "status", Types.INTEGER }, - { "statusByUserId", Types.BIGINT }, - { "statusDate", Types.TIMESTAMP }, - { "statoPraticaWorkflow", Types.VARCHAR }, - { "esitoControllo", Types.INTEGER }, - { "collaudoStatico", Types.BOOLEAN }, - { "collaudoStaticoAgtSanatoria", Types.BOOLEAN }, - { "codiceFiscaleDelegato", Types.VARCHAR }, - { "codiceRuoloDelegato", Types.VARCHAR }, - { "lavoriInEconomiaCommittente", Types.BOOLEAN }, - { "nomeUtenteSuap", Types.VARCHAR }, - { "cognomeUtenteSuap", Types.VARCHAR }, - { "codiceFiscaleUtenteSuap", Types.VARCHAR }, - { "inizioLavoriContestualeOpera", Types.BOOLEAN }, - { "dataInizioLavoriOpera", Types.TIMESTAMP }, - { "dataInizioEsecuzioneOpera", Types.TIMESTAMP }, - { "dataFineEsecuzioneOpera", Types.TIMESTAMP }, - { "metratura", Types.VARCHAR }, - { "lavoriPubblici", Types.BOOLEAN }, - { "dtPratica", Types.TIMESTAMP } - }; - public static final String TABLE_SQL_CREATE = "create table gc_intpratica (uuid_ VARCHAR(75) null,intPraticaId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,tipoPraticaId LONG,territorioId LONG,destinazione VARCHAR(75) null,tipologiaSistemaCostruttivo VARCHAR(75) null,ag VARCHAR(75) null,descLongIntervento VARCHAR(75) null,via VARCHAR(75) null,localita VARCHAR(75) null,estremiCatastali VARCHAR(75) null,estremiPratCom VARCHAR(75) null,dtSorteggio DATE null,statoPratica VARCHAR(75) null,numeroProgetto VARCHAR(75) null,validata BOOLEAN,variataDa LONG,varianteNumero LONG,varianteSostanziale BOOLEAN,operaConforme BOOLEAN,tipoPraticaIdSanatoria LONG,status INTEGER,statusByUserId LONG,statusDate DATE null,statoPraticaWorkflow VARCHAR(75) null,esitoControllo INTEGER,collaudoStatico BOOLEAN,collaudoStaticoAgtSanatoria BOOLEAN,codiceFiscaleDelegato VARCHAR(75) null,codiceRuoloDelegato VARCHAR(75) null,lavoriInEconomiaCommittente BOOLEAN,nomeUtenteSuap VARCHAR(75) null,cognomeUtenteSuap VARCHAR(75) null,codiceFiscaleUtenteSuap VARCHAR(75) null,inizioLavoriContestualeOpera BOOLEAN,dataInizioLavoriOpera DATE null,dataInizioEsecuzioneOpera DATE null,dataFineEsecuzioneOpera DATE null,metratura VARCHAR(75) null,lavoriPubblici BOOLEAN,dtPratica DATE null)"; - public static final String TABLE_SQL_DROP = "drop table gc_intpratica"; - public static final String ORDER_BY_JPQL = " ORDER BY boIntPratica.intPraticaId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gc_intpratica.intPraticaId ASC"; - public static final String DATA_SOURCE = "datiPortos1DbDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.importazione.model.BoIntPratica"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.importazione.model.BoIntPratica"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.importazione.model.BoIntPratica"), - true); - public static long COMPANYID_COLUMN_BITMASK = 1L; - public static long GROUPID_COLUMN_BITMASK = 2L; - public static long NUMEROPROGETTO_COLUMN_BITMASK = 4L; - public static long TERRITORIOID_COLUMN_BITMASK = 8L; - public static long UUID_COLUMN_BITMASK = 16L; - public static long VALIDATA_COLUMN_BITMASK = 32L; - public static long VARIANTENUMERO_COLUMN_BITMASK = 64L; - public static long VARIATADA_COLUMN_BITMASK = 128L; - public static long INTPRATICAID_COLUMN_BITMASK = 256L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.importazione.model.BoIntPratica")); - - public BoIntPraticaModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _intPraticaId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setIntPraticaId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _intPraticaId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return BoIntPratica.class; - } - - @Override - public String getModelClassName() { - return BoIntPratica.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("tipoPraticaId", getTipoPraticaId()); - attributes.put("territorioId", getTerritorioId()); - attributes.put("destinazione", getDestinazione()); - attributes.put("tipologiaSistemaCostruttivo", - getTipologiaSistemaCostruttivo()); - attributes.put("ag", getAg()); - attributes.put("descLongIntervento", getDescLongIntervento()); - attributes.put("via", getVia()); - attributes.put("localita", getLocalita()); - attributes.put("estremiCatastali", getEstremiCatastali()); - attributes.put("estremiPratCom", getEstremiPratCom()); - attributes.put("dtSorteggio", getDtSorteggio()); - attributes.put("statoPratica", getStatoPratica()); - attributes.put("numeroProgetto", getNumeroProgetto()); - attributes.put("validata", getValidata()); - attributes.put("variataDa", getVariataDa()); - attributes.put("varianteNumero", getVarianteNumero()); - attributes.put("varianteSostanziale", getVarianteSostanziale()); - attributes.put("operaConforme", getOperaConforme()); - attributes.put("tipoPraticaIdSanatoria", getTipoPraticaIdSanatoria()); - attributes.put("status", getStatus()); - attributes.put("statusByUserId", getStatusByUserId()); - attributes.put("statusDate", getStatusDate()); - attributes.put("statoPraticaWorkflow", getStatoPraticaWorkflow()); - attributes.put("esitoControllo", getEsitoControllo()); - attributes.put("collaudoStatico", getCollaudoStatico()); - attributes.put("collaudoStaticoAgtSanatoria", - getCollaudoStaticoAgtSanatoria()); - attributes.put("codiceFiscaleDelegato", getCodiceFiscaleDelegato()); - attributes.put("codiceRuoloDelegato", getCodiceRuoloDelegato()); - attributes.put("lavoriInEconomiaCommittente", - getLavoriInEconomiaCommittente()); - attributes.put("nomeUtenteSuap", getNomeUtenteSuap()); - attributes.put("cognomeUtenteSuap", getCognomeUtenteSuap()); - attributes.put("codiceFiscaleUtenteSuap", getCodiceFiscaleUtenteSuap()); - attributes.put("inizioLavoriContestualeOpera", - getInizioLavoriContestualeOpera()); - attributes.put("dataInizioLavoriOpera", getDataInizioLavoriOpera()); - attributes.put("dataInizioEsecuzioneOpera", - getDataInizioEsecuzioneOpera()); - attributes.put("dataFineEsecuzioneOpera", getDataFineEsecuzioneOpera()); - attributes.put("metratura", getMetratura()); - attributes.put("lavoriPubblici", getLavoriPubblici()); - attributes.put("dtPratica", getDtPratica()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long tipoPraticaId = (Long)attributes.get("tipoPraticaId"); - - if (tipoPraticaId != null) { - setTipoPraticaId(tipoPraticaId); - } - - Long territorioId = (Long)attributes.get("territorioId"); - - if (territorioId != null) { - setTerritorioId(territorioId); - } - - String destinazione = (String)attributes.get("destinazione"); - - if (destinazione != null) { - setDestinazione(destinazione); - } - - String tipologiaSistemaCostruttivo = (String)attributes.get( - "tipologiaSistemaCostruttivo"); - - if (tipologiaSistemaCostruttivo != null) { - setTipologiaSistemaCostruttivo(tipologiaSistemaCostruttivo); - } - - String ag = (String)attributes.get("ag"); - - if (ag != null) { - setAg(ag); - } - - String descLongIntervento = (String)attributes.get("descLongIntervento"); - - if (descLongIntervento != null) { - setDescLongIntervento(descLongIntervento); - } - - String via = (String)attributes.get("via"); - - if (via != null) { - setVia(via); - } - - String localita = (String)attributes.get("localita"); - - if (localita != null) { - setLocalita(localita); - } - - String estremiCatastali = (String)attributes.get("estremiCatastali"); - - if (estremiCatastali != null) { - setEstremiCatastali(estremiCatastali); - } - - String estremiPratCom = (String)attributes.get("estremiPratCom"); - - if (estremiPratCom != null) { - setEstremiPratCom(estremiPratCom); - } - - Date dtSorteggio = (Date)attributes.get("dtSorteggio"); - - if (dtSorteggio != null) { - setDtSorteggio(dtSorteggio); - } - - String statoPratica = (String)attributes.get("statoPratica"); - - if (statoPratica != null) { - setStatoPratica(statoPratica); - } - - String numeroProgetto = (String)attributes.get("numeroProgetto"); - - if (numeroProgetto != null) { - setNumeroProgetto(numeroProgetto); - } - - Boolean validata = (Boolean)attributes.get("validata"); - - if (validata != null) { - setValidata(validata); - } - - Long variataDa = (Long)attributes.get("variataDa"); - - if (variataDa != null) { - setVariataDa(variataDa); - } - - Long varianteNumero = (Long)attributes.get("varianteNumero"); - - if (varianteNumero != null) { - setVarianteNumero(varianteNumero); - } - - Boolean varianteSostanziale = (Boolean)attributes.get( - "varianteSostanziale"); - - if (varianteSostanziale != null) { - setVarianteSostanziale(varianteSostanziale); - } - - Boolean operaConforme = (Boolean)attributes.get("operaConforme"); - - if (operaConforme != null) { - setOperaConforme(operaConforme); - } - - Long tipoPraticaIdSanatoria = (Long)attributes.get( - "tipoPraticaIdSanatoria"); - - if (tipoPraticaIdSanatoria != null) { - setTipoPraticaIdSanatoria(tipoPraticaIdSanatoria); - } - - Integer status = (Integer)attributes.get("status"); - - if (status != null) { - setStatus(status); - } - - Long statusByUserId = (Long)attributes.get("statusByUserId"); - - if (statusByUserId != null) { - setStatusByUserId(statusByUserId); - } - - Date statusDate = (Date)attributes.get("statusDate"); - - if (statusDate != null) { - setStatusDate(statusDate); - } - - String statoPraticaWorkflow = (String)attributes.get( - "statoPraticaWorkflow"); - - if (statoPraticaWorkflow != null) { - setStatoPraticaWorkflow(statoPraticaWorkflow); - } - - Integer esitoControllo = (Integer)attributes.get("esitoControllo"); - - if (esitoControllo != null) { - setEsitoControllo(esitoControllo); - } - - Boolean collaudoStatico = (Boolean)attributes.get("collaudoStatico"); - - if (collaudoStatico != null) { - setCollaudoStatico(collaudoStatico); - } - - Boolean collaudoStaticoAgtSanatoria = (Boolean)attributes.get( - "collaudoStaticoAgtSanatoria"); - - if (collaudoStaticoAgtSanatoria != null) { - setCollaudoStaticoAgtSanatoria(collaudoStaticoAgtSanatoria); - } - - String codiceFiscaleDelegato = (String)attributes.get( - "codiceFiscaleDelegato"); - - if (codiceFiscaleDelegato != null) { - setCodiceFiscaleDelegato(codiceFiscaleDelegato); - } - - String codiceRuoloDelegato = (String)attributes.get( - "codiceRuoloDelegato"); - - if (codiceRuoloDelegato != null) { - setCodiceRuoloDelegato(codiceRuoloDelegato); - } - - Boolean lavoriInEconomiaCommittente = (Boolean)attributes.get( - "lavoriInEconomiaCommittente"); - - if (lavoriInEconomiaCommittente != null) { - setLavoriInEconomiaCommittente(lavoriInEconomiaCommittente); - } - - String nomeUtenteSuap = (String)attributes.get("nomeUtenteSuap"); - - if (nomeUtenteSuap != null) { - setNomeUtenteSuap(nomeUtenteSuap); - } - - String cognomeUtenteSuap = (String)attributes.get("cognomeUtenteSuap"); - - if (cognomeUtenteSuap != null) { - setCognomeUtenteSuap(cognomeUtenteSuap); - } - - String codiceFiscaleUtenteSuap = (String)attributes.get( - "codiceFiscaleUtenteSuap"); - - if (codiceFiscaleUtenteSuap != null) { - setCodiceFiscaleUtenteSuap(codiceFiscaleUtenteSuap); - } - - Boolean inizioLavoriContestualeOpera = (Boolean)attributes.get( - "inizioLavoriContestualeOpera"); - - if (inizioLavoriContestualeOpera != null) { - setInizioLavoriContestualeOpera(inizioLavoriContestualeOpera); - } - - Date dataInizioLavoriOpera = (Date)attributes.get( - "dataInizioLavoriOpera"); - - if (dataInizioLavoriOpera != null) { - setDataInizioLavoriOpera(dataInizioLavoriOpera); - } - - Date dataInizioEsecuzioneOpera = (Date)attributes.get( - "dataInizioEsecuzioneOpera"); - - if (dataInizioEsecuzioneOpera != null) { - setDataInizioEsecuzioneOpera(dataInizioEsecuzioneOpera); - } - - Date dataFineEsecuzioneOpera = (Date)attributes.get( - "dataFineEsecuzioneOpera"); - - if (dataFineEsecuzioneOpera != null) { - setDataFineEsecuzioneOpera(dataFineEsecuzioneOpera); - } - - String metratura = (String)attributes.get("metratura"); - - if (metratura != null) { - setMetratura(metratura); - } - - Boolean lavoriPubblici = (Boolean)attributes.get("lavoriPubblici"); - - if (lavoriPubblici != null) { - setLavoriPubblici(lavoriPubblici); - } - - Date dtPratica = (Date)attributes.get("dtPratica"); - - if (dtPratica != null) { - setDtPratica(dtPratica); - } - } - - @Override - public String getUuid() { - if (_uuid == null) { - return StringPool.BLANK; - } - else { - return _uuid; - } - } - - @Override - public void setUuid(String uuid) { - if (_originalUuid == null) { - _originalUuid = _uuid; - } - - _uuid = uuid; - } - - public String getOriginalUuid() { - return GetterUtil.getString(_originalUuid); - } - - @Override - public long getIntPraticaId() { - return _intPraticaId; - } - - @Override - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _columnBitmask |= COMPANYID_COLUMN_BITMASK; - - if (!_setOriginalCompanyId) { - _setOriginalCompanyId = true; - - _originalCompanyId = _companyId; - } - - _companyId = companyId; - } - - public long getOriginalCompanyId() { - return _originalCompanyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _columnBitmask |= GROUPID_COLUMN_BITMASK; - - if (!_setOriginalGroupId) { - _setOriginalGroupId = true; - - _originalGroupId = _groupId; - } - - _groupId = groupId; - } - - public long getOriginalGroupId() { - return _originalGroupId; - } - - @Override - public long getTipoPraticaId() { - return _tipoPraticaId; - } - - @Override - public void setTipoPraticaId(long tipoPraticaId) { - _tipoPraticaId = tipoPraticaId; - } - - @Override - public long getTerritorioId() { - return _territorioId; - } - - @Override - public void setTerritorioId(long territorioId) { - _columnBitmask |= TERRITORIOID_COLUMN_BITMASK; - - if (!_setOriginalTerritorioId) { - _setOriginalTerritorioId = true; - - _originalTerritorioId = _territorioId; - } - - _territorioId = territorioId; - } - - public long getOriginalTerritorioId() { - return _originalTerritorioId; - } - - @Override - public String getDestinazione() { - if (_destinazione == null) { - return StringPool.BLANK; - } - else { - return _destinazione; - } - } - - @Override - public void setDestinazione(String destinazione) { - _destinazione = destinazione; - } - - @Override - public String getTipologiaSistemaCostruttivo() { - if (_tipologiaSistemaCostruttivo == null) { - return StringPool.BLANK; - } - else { - return _tipologiaSistemaCostruttivo; - } - } - - @Override - public void setTipologiaSistemaCostruttivo( - String tipologiaSistemaCostruttivo) { - _tipologiaSistemaCostruttivo = tipologiaSistemaCostruttivo; - } - - @Override - public String getAg() { - if (_ag == null) { - return StringPool.BLANK; - } - else { - return _ag; - } - } - - @Override - public void setAg(String ag) { - _ag = ag; - } - - @Override - public String getDescLongIntervento() { - if (_descLongIntervento == null) { - return StringPool.BLANK; - } - else { - return _descLongIntervento; - } - } - - @Override - public void setDescLongIntervento(String descLongIntervento) { - _descLongIntervento = descLongIntervento; - } - - @Override - public String getVia() { - if (_via == null) { - return StringPool.BLANK; - } - else { - return _via; - } - } - - @Override - public void setVia(String via) { - _via = via; - } - - @Override - public String getLocalita() { - if (_localita == null) { - return StringPool.BLANK; - } - else { - return _localita; - } - } - - @Override - public void setLocalita(String localita) { - _localita = localita; - } - - @Override - public String getEstremiCatastali() { - if (_estremiCatastali == null) { - return StringPool.BLANK; - } - else { - return _estremiCatastali; - } - } - - @Override - public void setEstremiCatastali(String estremiCatastali) { - _estremiCatastali = estremiCatastali; - } - - @Override - public String getEstremiPratCom() { - if (_estremiPratCom == null) { - return StringPool.BLANK; - } - else { - return _estremiPratCom; - } - } - - @Override - public void setEstremiPratCom(String estremiPratCom) { - _estremiPratCom = estremiPratCom; - } - - @Override - public Date getDtSorteggio() { - return _dtSorteggio; - } - - @Override - public void setDtSorteggio(Date dtSorteggio) { - _dtSorteggio = dtSorteggio; - } - - @Override - public String getStatoPratica() { - if (_statoPratica == null) { - return StringPool.BLANK; - } - else { - return _statoPratica; - } - } - - @Override - public void setStatoPratica(String statoPratica) { - _statoPratica = statoPratica; - } - - @Override - public String getNumeroProgetto() { - if (_numeroProgetto == null) { - return StringPool.BLANK; - } - else { - return _numeroProgetto; - } - } - - @Override - public void setNumeroProgetto(String numeroProgetto) { - _columnBitmask |= NUMEROPROGETTO_COLUMN_BITMASK; - - if (_originalNumeroProgetto == null) { - _originalNumeroProgetto = _numeroProgetto; - } - - _numeroProgetto = numeroProgetto; - } - - public String getOriginalNumeroProgetto() { - return GetterUtil.getString(_originalNumeroProgetto); - } - - @Override - public boolean getValidata() { - return _validata; - } - - @Override - public boolean isValidata() { - return _validata; - } - - @Override - public void setValidata(boolean validata) { - _columnBitmask |= VALIDATA_COLUMN_BITMASK; - - if (!_setOriginalValidata) { - _setOriginalValidata = true; - - _originalValidata = _validata; - } - - _validata = validata; - } - - public boolean getOriginalValidata() { - return _originalValidata; - } - - @Override - public long getVariataDa() { - return _variataDa; - } - - @Override - public void setVariataDa(long variataDa) { - _columnBitmask |= VARIATADA_COLUMN_BITMASK; - - if (!_setOriginalVariataDa) { - _setOriginalVariataDa = true; - - _originalVariataDa = _variataDa; - } - - _variataDa = variataDa; - } - - public long getOriginalVariataDa() { - return _originalVariataDa; - } - - @Override - public long getVarianteNumero() { - return _varianteNumero; - } - - @Override - public void setVarianteNumero(long varianteNumero) { - _columnBitmask |= VARIANTENUMERO_COLUMN_BITMASK; - - if (!_setOriginalVarianteNumero) { - _setOriginalVarianteNumero = true; - - _originalVarianteNumero = _varianteNumero; - } - - _varianteNumero = varianteNumero; - } - - public long getOriginalVarianteNumero() { - return _originalVarianteNumero; - } - - @Override - public boolean getVarianteSostanziale() { - return _varianteSostanziale; - } - - @Override - public boolean isVarianteSostanziale() { - return _varianteSostanziale; - } - - @Override - public void setVarianteSostanziale(boolean varianteSostanziale) { - _varianteSostanziale = varianteSostanziale; - } - - @Override - public boolean getOperaConforme() { - return _operaConforme; - } - - @Override - public boolean isOperaConforme() { - return _operaConforme; - } - - @Override - public void setOperaConforme(boolean operaConforme) { - _operaConforme = operaConforme; - } - - @Override - public long getTipoPraticaIdSanatoria() { - return _tipoPraticaIdSanatoria; - } - - @Override - public void setTipoPraticaIdSanatoria(long tipoPraticaIdSanatoria) { - _tipoPraticaIdSanatoria = tipoPraticaIdSanatoria; - } - - @Override - public int getStatus() { - return _status; - } - - @Override - public void setStatus(int status) { - _status = status; - } - - @Override - public long getStatusByUserId() { - return _statusByUserId; - } - - @Override - public void setStatusByUserId(long statusByUserId) { - _statusByUserId = statusByUserId; - } - - @Override - public String getStatusByUserUuid() throws SystemException { - return PortalUtil.getUserValue(getStatusByUserId(), "uuid", - _statusByUserUuid); - } - - @Override - public void setStatusByUserUuid(String statusByUserUuid) { - _statusByUserUuid = statusByUserUuid; - } - - @Override - public Date getStatusDate() { - return _statusDate; - } - - @Override - public void setStatusDate(Date statusDate) { - _statusDate = statusDate; - } - - @Override - public String getStatoPraticaWorkflow() { - if (_statoPraticaWorkflow == null) { - return StringPool.BLANK; - } - else { - return _statoPraticaWorkflow; - } - } - - @Override - public void setStatoPraticaWorkflow(String statoPraticaWorkflow) { - _statoPraticaWorkflow = statoPraticaWorkflow; - } - - @Override - public int getEsitoControllo() { - return _esitoControllo; - } - - @Override - public void setEsitoControllo(int esitoControllo) { - _esitoControllo = esitoControllo; - } - - @Override - public boolean getCollaudoStatico() { - return _collaudoStatico; - } - - @Override - public boolean isCollaudoStatico() { - return _collaudoStatico; - } - - @Override - public void setCollaudoStatico(boolean collaudoStatico) { - _collaudoStatico = collaudoStatico; - } - - @Override - public boolean getCollaudoStaticoAgtSanatoria() { - return _collaudoStaticoAgtSanatoria; - } - - @Override - public boolean isCollaudoStaticoAgtSanatoria() { - return _collaudoStaticoAgtSanatoria; - } - - @Override - public void setCollaudoStaticoAgtSanatoria( - boolean collaudoStaticoAgtSanatoria) { - _collaudoStaticoAgtSanatoria = collaudoStaticoAgtSanatoria; - } - - @Override - public String getCodiceFiscaleDelegato() { - if (_codiceFiscaleDelegato == null) { - return StringPool.BLANK; - } - else { - return _codiceFiscaleDelegato; - } - } - - @Override - public void setCodiceFiscaleDelegato(String codiceFiscaleDelegato) { - _codiceFiscaleDelegato = codiceFiscaleDelegato; - } - - @Override - public String getCodiceRuoloDelegato() { - if (_codiceRuoloDelegato == null) { - return StringPool.BLANK; - } - else { - return _codiceRuoloDelegato; - } - } - - @Override - public void setCodiceRuoloDelegato(String codiceRuoloDelegato) { - _codiceRuoloDelegato = codiceRuoloDelegato; - } - - @Override - public boolean getLavoriInEconomiaCommittente() { - return _lavoriInEconomiaCommittente; - } - - @Override - public boolean isLavoriInEconomiaCommittente() { - return _lavoriInEconomiaCommittente; - } - - @Override - public void setLavoriInEconomiaCommittente( - boolean lavoriInEconomiaCommittente) { - _lavoriInEconomiaCommittente = lavoriInEconomiaCommittente; - } - - @Override - public String getNomeUtenteSuap() { - if (_nomeUtenteSuap == null) { - return StringPool.BLANK; - } - else { - return _nomeUtenteSuap; - } - } - - @Override - public void setNomeUtenteSuap(String nomeUtenteSuap) { - _nomeUtenteSuap = nomeUtenteSuap; - } - - @Override - public String getCognomeUtenteSuap() { - if (_cognomeUtenteSuap == null) { - return StringPool.BLANK; - } - else { - return _cognomeUtenteSuap; - } - } - - @Override - public void setCognomeUtenteSuap(String cognomeUtenteSuap) { - _cognomeUtenteSuap = cognomeUtenteSuap; - } - - @Override - public String getCodiceFiscaleUtenteSuap() { - if (_codiceFiscaleUtenteSuap == null) { - return StringPool.BLANK; - } - else { - return _codiceFiscaleUtenteSuap; - } - } - - @Override - public void setCodiceFiscaleUtenteSuap(String codiceFiscaleUtenteSuap) { - _codiceFiscaleUtenteSuap = codiceFiscaleUtenteSuap; - } - - @Override - public boolean getInizioLavoriContestualeOpera() { - return _inizioLavoriContestualeOpera; - } - - @Override - public boolean isInizioLavoriContestualeOpera() { - return _inizioLavoriContestualeOpera; - } - - @Override - public void setInizioLavoriContestualeOpera( - boolean inizioLavoriContestualeOpera) { - _inizioLavoriContestualeOpera = inizioLavoriContestualeOpera; - } - - @Override - public Date getDataInizioLavoriOpera() { - return _dataInizioLavoriOpera; - } - - @Override - public void setDataInizioLavoriOpera(Date dataInizioLavoriOpera) { - _dataInizioLavoriOpera = dataInizioLavoriOpera; - } - - @Override - public Date getDataInizioEsecuzioneOpera() { - return _dataInizioEsecuzioneOpera; - } - - @Override - public void setDataInizioEsecuzioneOpera(Date dataInizioEsecuzioneOpera) { - _dataInizioEsecuzioneOpera = dataInizioEsecuzioneOpera; - } - - @Override - public Date getDataFineEsecuzioneOpera() { - return _dataFineEsecuzioneOpera; - } - - @Override - public void setDataFineEsecuzioneOpera(Date dataFineEsecuzioneOpera) { - _dataFineEsecuzioneOpera = dataFineEsecuzioneOpera; - } - - @Override - public String getMetratura() { - if (_metratura == null) { - return StringPool.BLANK; - } - else { - return _metratura; - } - } - - @Override - public void setMetratura(String metratura) { - _metratura = metratura; - } - - @Override - public boolean getLavoriPubblici() { - return _lavoriPubblici; - } - - @Override - public boolean isLavoriPubblici() { - return _lavoriPubblici; - } - - @Override - public void setLavoriPubblici(boolean lavoriPubblici) { - _lavoriPubblici = lavoriPubblici; - } - - @Override - public Date getDtPratica() { - return _dtPratica; - } - - @Override - public void setDtPratica(Date dtPratica) { - _dtPratica = dtPratica; - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoIntPratica.class.getName())); - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - BoIntPratica.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public BoIntPratica toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (BoIntPratica)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - BoIntPraticaImpl boIntPraticaImpl = new BoIntPraticaImpl(); - - boIntPraticaImpl.setUuid(getUuid()); - boIntPraticaImpl.setIntPraticaId(getIntPraticaId()); - boIntPraticaImpl.setCompanyId(getCompanyId()); - boIntPraticaImpl.setUserId(getUserId()); - boIntPraticaImpl.setUserName(getUserName()); - boIntPraticaImpl.setCreateDate(getCreateDate()); - boIntPraticaImpl.setModifiedDate(getModifiedDate()); - boIntPraticaImpl.setGroupId(getGroupId()); - boIntPraticaImpl.setTipoPraticaId(getTipoPraticaId()); - boIntPraticaImpl.setTerritorioId(getTerritorioId()); - boIntPraticaImpl.setDestinazione(getDestinazione()); - boIntPraticaImpl.setTipologiaSistemaCostruttivo(getTipologiaSistemaCostruttivo()); - boIntPraticaImpl.setAg(getAg()); - boIntPraticaImpl.setDescLongIntervento(getDescLongIntervento()); - boIntPraticaImpl.setVia(getVia()); - boIntPraticaImpl.setLocalita(getLocalita()); - boIntPraticaImpl.setEstremiCatastali(getEstremiCatastali()); - boIntPraticaImpl.setEstremiPratCom(getEstremiPratCom()); - boIntPraticaImpl.setDtSorteggio(getDtSorteggio()); - boIntPraticaImpl.setStatoPratica(getStatoPratica()); - boIntPraticaImpl.setNumeroProgetto(getNumeroProgetto()); - boIntPraticaImpl.setValidata(getValidata()); - boIntPraticaImpl.setVariataDa(getVariataDa()); - boIntPraticaImpl.setVarianteNumero(getVarianteNumero()); - boIntPraticaImpl.setVarianteSostanziale(getVarianteSostanziale()); - boIntPraticaImpl.setOperaConforme(getOperaConforme()); - boIntPraticaImpl.setTipoPraticaIdSanatoria(getTipoPraticaIdSanatoria()); - boIntPraticaImpl.setStatus(getStatus()); - boIntPraticaImpl.setStatusByUserId(getStatusByUserId()); - boIntPraticaImpl.setStatusDate(getStatusDate()); - boIntPraticaImpl.setStatoPraticaWorkflow(getStatoPraticaWorkflow()); - boIntPraticaImpl.setEsitoControllo(getEsitoControllo()); - boIntPraticaImpl.setCollaudoStatico(getCollaudoStatico()); - boIntPraticaImpl.setCollaudoStaticoAgtSanatoria(getCollaudoStaticoAgtSanatoria()); - boIntPraticaImpl.setCodiceFiscaleDelegato(getCodiceFiscaleDelegato()); - boIntPraticaImpl.setCodiceRuoloDelegato(getCodiceRuoloDelegato()); - boIntPraticaImpl.setLavoriInEconomiaCommittente(getLavoriInEconomiaCommittente()); - boIntPraticaImpl.setNomeUtenteSuap(getNomeUtenteSuap()); - boIntPraticaImpl.setCognomeUtenteSuap(getCognomeUtenteSuap()); - boIntPraticaImpl.setCodiceFiscaleUtenteSuap(getCodiceFiscaleUtenteSuap()); - boIntPraticaImpl.setInizioLavoriContestualeOpera(getInizioLavoriContestualeOpera()); - boIntPraticaImpl.setDataInizioLavoriOpera(getDataInizioLavoriOpera()); - boIntPraticaImpl.setDataInizioEsecuzioneOpera(getDataInizioEsecuzioneOpera()); - boIntPraticaImpl.setDataFineEsecuzioneOpera(getDataFineEsecuzioneOpera()); - boIntPraticaImpl.setMetratura(getMetratura()); - boIntPraticaImpl.setLavoriPubblici(getLavoriPubblici()); - boIntPraticaImpl.setDtPratica(getDtPratica()); - - boIntPraticaImpl.resetOriginalValues(); - - return boIntPraticaImpl; - } - - @Override - public int compareTo(BoIntPratica boIntPratica) { - long primaryKey = boIntPratica.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoIntPratica)) { - return false; - } - - BoIntPratica boIntPratica = (BoIntPratica)obj; - - long primaryKey = boIntPratica.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - BoIntPraticaModelImpl boIntPraticaModelImpl = this; - - boIntPraticaModelImpl._originalUuid = boIntPraticaModelImpl._uuid; - - boIntPraticaModelImpl._originalCompanyId = boIntPraticaModelImpl._companyId; - - boIntPraticaModelImpl._setOriginalCompanyId = false; - - boIntPraticaModelImpl._originalGroupId = boIntPraticaModelImpl._groupId; - - boIntPraticaModelImpl._setOriginalGroupId = false; - - boIntPraticaModelImpl._originalTerritorioId = boIntPraticaModelImpl._territorioId; - - boIntPraticaModelImpl._setOriginalTerritorioId = false; - - boIntPraticaModelImpl._originalNumeroProgetto = boIntPraticaModelImpl._numeroProgetto; - - boIntPraticaModelImpl._originalValidata = boIntPraticaModelImpl._validata; - - boIntPraticaModelImpl._setOriginalValidata = false; - - boIntPraticaModelImpl._originalVariataDa = boIntPraticaModelImpl._variataDa; - - boIntPraticaModelImpl._setOriginalVariataDa = false; - - boIntPraticaModelImpl._originalVarianteNumero = boIntPraticaModelImpl._varianteNumero; - - boIntPraticaModelImpl._setOriginalVarianteNumero = false; - - boIntPraticaModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - BoIntPraticaCacheModel boIntPraticaCacheModel = new BoIntPraticaCacheModel(); - - boIntPraticaCacheModel.uuid = getUuid(); - - String uuid = boIntPraticaCacheModel.uuid; - - if ((uuid != null) && (uuid.length() == 0)) { - boIntPraticaCacheModel.uuid = null; - } - - boIntPraticaCacheModel.intPraticaId = getIntPraticaId(); - - boIntPraticaCacheModel.companyId = getCompanyId(); - - boIntPraticaCacheModel.userId = getUserId(); - - boIntPraticaCacheModel.userName = getUserName(); - - String userName = boIntPraticaCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - boIntPraticaCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - boIntPraticaCacheModel.createDate = createDate.getTime(); - } - else { - boIntPraticaCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - boIntPraticaCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - boIntPraticaCacheModel.modifiedDate = Long.MIN_VALUE; - } - - boIntPraticaCacheModel.groupId = getGroupId(); - - boIntPraticaCacheModel.tipoPraticaId = getTipoPraticaId(); - - boIntPraticaCacheModel.territorioId = getTerritorioId(); - - boIntPraticaCacheModel.destinazione = getDestinazione(); - - String destinazione = boIntPraticaCacheModel.destinazione; - - if ((destinazione != null) && (destinazione.length() == 0)) { - boIntPraticaCacheModel.destinazione = null; - } - - boIntPraticaCacheModel.tipologiaSistemaCostruttivo = getTipologiaSistemaCostruttivo(); - - String tipologiaSistemaCostruttivo = boIntPraticaCacheModel.tipologiaSistemaCostruttivo; - - if ((tipologiaSistemaCostruttivo != null) && - (tipologiaSistemaCostruttivo.length() == 0)) { - boIntPraticaCacheModel.tipologiaSistemaCostruttivo = null; - } - - boIntPraticaCacheModel.ag = getAg(); - - String ag = boIntPraticaCacheModel.ag; - - if ((ag != null) && (ag.length() == 0)) { - boIntPraticaCacheModel.ag = null; - } - - boIntPraticaCacheModel.descLongIntervento = getDescLongIntervento(); - - String descLongIntervento = boIntPraticaCacheModel.descLongIntervento; - - if ((descLongIntervento != null) && (descLongIntervento.length() == 0)) { - boIntPraticaCacheModel.descLongIntervento = null; - } - - boIntPraticaCacheModel.via = getVia(); - - String via = boIntPraticaCacheModel.via; - - if ((via != null) && (via.length() == 0)) { - boIntPraticaCacheModel.via = null; - } - - boIntPraticaCacheModel.localita = getLocalita(); - - String localita = boIntPraticaCacheModel.localita; - - if ((localita != null) && (localita.length() == 0)) { - boIntPraticaCacheModel.localita = null; - } - - boIntPraticaCacheModel.estremiCatastali = getEstremiCatastali(); - - String estremiCatastali = boIntPraticaCacheModel.estremiCatastali; - - if ((estremiCatastali != null) && (estremiCatastali.length() == 0)) { - boIntPraticaCacheModel.estremiCatastali = null; - } - - boIntPraticaCacheModel.estremiPratCom = getEstremiPratCom(); - - String estremiPratCom = boIntPraticaCacheModel.estremiPratCom; - - if ((estremiPratCom != null) && (estremiPratCom.length() == 0)) { - boIntPraticaCacheModel.estremiPratCom = null; - } - - Date dtSorteggio = getDtSorteggio(); - - if (dtSorteggio != null) { - boIntPraticaCacheModel.dtSorteggio = dtSorteggio.getTime(); - } - else { - boIntPraticaCacheModel.dtSorteggio = Long.MIN_VALUE; - } - - boIntPraticaCacheModel.statoPratica = getStatoPratica(); - - String statoPratica = boIntPraticaCacheModel.statoPratica; - - if ((statoPratica != null) && (statoPratica.length() == 0)) { - boIntPraticaCacheModel.statoPratica = null; - } - - boIntPraticaCacheModel.numeroProgetto = getNumeroProgetto(); - - String numeroProgetto = boIntPraticaCacheModel.numeroProgetto; - - if ((numeroProgetto != null) && (numeroProgetto.length() == 0)) { - boIntPraticaCacheModel.numeroProgetto = null; - } - - boIntPraticaCacheModel.validata = getValidata(); - - boIntPraticaCacheModel.variataDa = getVariataDa(); - - boIntPraticaCacheModel.varianteNumero = getVarianteNumero(); - - boIntPraticaCacheModel.varianteSostanziale = getVarianteSostanziale(); - - boIntPraticaCacheModel.operaConforme = getOperaConforme(); - - boIntPraticaCacheModel.tipoPraticaIdSanatoria = getTipoPraticaIdSanatoria(); - - boIntPraticaCacheModel.status = getStatus(); - - boIntPraticaCacheModel.statusByUserId = getStatusByUserId(); - - Date statusDate = getStatusDate(); - - if (statusDate != null) { - boIntPraticaCacheModel.statusDate = statusDate.getTime(); - } - else { - boIntPraticaCacheModel.statusDate = Long.MIN_VALUE; - } - - boIntPraticaCacheModel.statoPraticaWorkflow = getStatoPraticaWorkflow(); - - String statoPraticaWorkflow = boIntPraticaCacheModel.statoPraticaWorkflow; - - if ((statoPraticaWorkflow != null) && - (statoPraticaWorkflow.length() == 0)) { - boIntPraticaCacheModel.statoPraticaWorkflow = null; - } - - boIntPraticaCacheModel.esitoControllo = getEsitoControllo(); - - boIntPraticaCacheModel.collaudoStatico = getCollaudoStatico(); - - boIntPraticaCacheModel.collaudoStaticoAgtSanatoria = getCollaudoStaticoAgtSanatoria(); - - boIntPraticaCacheModel.codiceFiscaleDelegato = getCodiceFiscaleDelegato(); - - String codiceFiscaleDelegato = boIntPraticaCacheModel.codiceFiscaleDelegato; - - if ((codiceFiscaleDelegato != null) && - (codiceFiscaleDelegato.length() == 0)) { - boIntPraticaCacheModel.codiceFiscaleDelegato = null; - } - - boIntPraticaCacheModel.codiceRuoloDelegato = getCodiceRuoloDelegato(); - - String codiceRuoloDelegato = boIntPraticaCacheModel.codiceRuoloDelegato; - - if ((codiceRuoloDelegato != null) && - (codiceRuoloDelegato.length() == 0)) { - boIntPraticaCacheModel.codiceRuoloDelegato = null; - } - - boIntPraticaCacheModel.lavoriInEconomiaCommittente = getLavoriInEconomiaCommittente(); - - boIntPraticaCacheModel.nomeUtenteSuap = getNomeUtenteSuap(); - - String nomeUtenteSuap = boIntPraticaCacheModel.nomeUtenteSuap; - - if ((nomeUtenteSuap != null) && (nomeUtenteSuap.length() == 0)) { - boIntPraticaCacheModel.nomeUtenteSuap = null; - } - - boIntPraticaCacheModel.cognomeUtenteSuap = getCognomeUtenteSuap(); - - String cognomeUtenteSuap = boIntPraticaCacheModel.cognomeUtenteSuap; - - if ((cognomeUtenteSuap != null) && (cognomeUtenteSuap.length() == 0)) { - boIntPraticaCacheModel.cognomeUtenteSuap = null; - } - - boIntPraticaCacheModel.codiceFiscaleUtenteSuap = getCodiceFiscaleUtenteSuap(); - - String codiceFiscaleUtenteSuap = boIntPraticaCacheModel.codiceFiscaleUtenteSuap; - - if ((codiceFiscaleUtenteSuap != null) && - (codiceFiscaleUtenteSuap.length() == 0)) { - boIntPraticaCacheModel.codiceFiscaleUtenteSuap = null; - } - - boIntPraticaCacheModel.inizioLavoriContestualeOpera = getInizioLavoriContestualeOpera(); - - Date dataInizioLavoriOpera = getDataInizioLavoriOpera(); - - if (dataInizioLavoriOpera != null) { - boIntPraticaCacheModel.dataInizioLavoriOpera = dataInizioLavoriOpera.getTime(); - } - else { - boIntPraticaCacheModel.dataInizioLavoriOpera = Long.MIN_VALUE; - } - - Date dataInizioEsecuzioneOpera = getDataInizioEsecuzioneOpera(); - - if (dataInizioEsecuzioneOpera != null) { - boIntPraticaCacheModel.dataInizioEsecuzioneOpera = dataInizioEsecuzioneOpera.getTime(); - } - else { - boIntPraticaCacheModel.dataInizioEsecuzioneOpera = Long.MIN_VALUE; - } - - Date dataFineEsecuzioneOpera = getDataFineEsecuzioneOpera(); - - if (dataFineEsecuzioneOpera != null) { - boIntPraticaCacheModel.dataFineEsecuzioneOpera = dataFineEsecuzioneOpera.getTime(); - } - else { - boIntPraticaCacheModel.dataFineEsecuzioneOpera = Long.MIN_VALUE; - } - - boIntPraticaCacheModel.metratura = getMetratura(); - - String metratura = boIntPraticaCacheModel.metratura; - - if ((metratura != null) && (metratura.length() == 0)) { - boIntPraticaCacheModel.metratura = null; - } - - boIntPraticaCacheModel.lavoriPubblici = getLavoriPubblici(); - - Date dtPratica = getDtPratica(); - - if (dtPratica != null) { - boIntPraticaCacheModel.dtPratica = dtPratica.getTime(); - } - else { - boIntPraticaCacheModel.dtPratica = Long.MIN_VALUE; - } - - return boIntPraticaCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(95); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", intPraticaId="); - sb.append(getIntPraticaId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", tipoPraticaId="); - sb.append(getTipoPraticaId()); - sb.append(", territorioId="); - sb.append(getTerritorioId()); - sb.append(", destinazione="); - sb.append(getDestinazione()); - sb.append(", tipologiaSistemaCostruttivo="); - sb.append(getTipologiaSistemaCostruttivo()); - sb.append(", ag="); - sb.append(getAg()); - sb.append(", descLongIntervento="); - sb.append(getDescLongIntervento()); - sb.append(", via="); - sb.append(getVia()); - sb.append(", localita="); - sb.append(getLocalita()); - sb.append(", estremiCatastali="); - sb.append(getEstremiCatastali()); - sb.append(", estremiPratCom="); - sb.append(getEstremiPratCom()); - sb.append(", dtSorteggio="); - sb.append(getDtSorteggio()); - sb.append(", statoPratica="); - sb.append(getStatoPratica()); - sb.append(", numeroProgetto="); - sb.append(getNumeroProgetto()); - sb.append(", validata="); - sb.append(getValidata()); - sb.append(", variataDa="); - sb.append(getVariataDa()); - sb.append(", varianteNumero="); - sb.append(getVarianteNumero()); - sb.append(", varianteSostanziale="); - sb.append(getVarianteSostanziale()); - sb.append(", operaConforme="); - sb.append(getOperaConforme()); - sb.append(", tipoPraticaIdSanatoria="); - sb.append(getTipoPraticaIdSanatoria()); - sb.append(", status="); - sb.append(getStatus()); - sb.append(", statusByUserId="); - sb.append(getStatusByUserId()); - sb.append(", statusDate="); - sb.append(getStatusDate()); - sb.append(", statoPraticaWorkflow="); - sb.append(getStatoPraticaWorkflow()); - sb.append(", esitoControllo="); - sb.append(getEsitoControllo()); - sb.append(", collaudoStatico="); - sb.append(getCollaudoStatico()); - sb.append(", collaudoStaticoAgtSanatoria="); - sb.append(getCollaudoStaticoAgtSanatoria()); - sb.append(", codiceFiscaleDelegato="); - sb.append(getCodiceFiscaleDelegato()); - sb.append(", codiceRuoloDelegato="); - sb.append(getCodiceRuoloDelegato()); - sb.append(", lavoriInEconomiaCommittente="); - sb.append(getLavoriInEconomiaCommittente()); - sb.append(", nomeUtenteSuap="); - sb.append(getNomeUtenteSuap()); - sb.append(", cognomeUtenteSuap="); - sb.append(getCognomeUtenteSuap()); - sb.append(", codiceFiscaleUtenteSuap="); - sb.append(getCodiceFiscaleUtenteSuap()); - sb.append(", inizioLavoriContestualeOpera="); - sb.append(getInizioLavoriContestualeOpera()); - sb.append(", dataInizioLavoriOpera="); - sb.append(getDataInizioLavoriOpera()); - sb.append(", dataInizioEsecuzioneOpera="); - sb.append(getDataInizioEsecuzioneOpera()); - sb.append(", dataFineEsecuzioneOpera="); - sb.append(getDataFineEsecuzioneOpera()); - sb.append(", metratura="); - sb.append(getMetratura()); - sb.append(", lavoriPubblici="); - sb.append(getLavoriPubblici()); - sb.append(", dtPratica="); - sb.append(getDtPratica()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(145); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.BoIntPratica"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "intPraticaId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "tipoPraticaId"); - sb.append( - "territorioId"); - sb.append( - "destinazione"); - sb.append( - "tipologiaSistemaCostruttivo"); - sb.append( - "ag"); - sb.append( - "descLongIntervento"); - sb.append( - "via"); - sb.append( - "localita"); - sb.append( - "estremiCatastali"); - sb.append( - "estremiPratCom"); - sb.append( - "dtSorteggio"); - sb.append( - "statoPratica"); - sb.append( - "numeroProgetto"); - sb.append( - "validata"); - sb.append( - "variataDa"); - sb.append( - "varianteNumero"); - sb.append( - "varianteSostanziale"); - sb.append( - "operaConforme"); - sb.append( - "tipoPraticaIdSanatoria"); - sb.append( - "status"); - sb.append( - "statusByUserId"); - sb.append( - "statusDate"); - sb.append( - "statoPraticaWorkflow"); - sb.append( - "esitoControllo"); - sb.append( - "collaudoStatico"); - sb.append( - "collaudoStaticoAgtSanatoria"); - sb.append( - "codiceFiscaleDelegato"); - sb.append( - "codiceRuoloDelegato"); - sb.append( - "lavoriInEconomiaCommittente"); - sb.append( - "nomeUtenteSuap"); - sb.append( - "cognomeUtenteSuap"); - sb.append( - "codiceFiscaleUtenteSuap"); - sb.append( - "inizioLavoriContestualeOpera"); - sb.append( - "dataInizioLavoriOpera"); - sb.append( - "dataInizioEsecuzioneOpera"); - sb.append( - "dataFineEsecuzioneOpera"); - sb.append( - "metratura"); - sb.append( - "lavoriPubblici"); - sb.append( - "dtPratica"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = BoIntPratica.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - BoIntPratica.class - }; - private String _uuid; - private String _originalUuid; - private long _intPraticaId; - private long _companyId; - private long _originalCompanyId; - private boolean _setOriginalCompanyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _originalGroupId; - private boolean _setOriginalGroupId; - private long _tipoPraticaId; - private long _territorioId; - private long _originalTerritorioId; - private boolean _setOriginalTerritorioId; - private String _destinazione; - private String _tipologiaSistemaCostruttivo; - private String _ag; - private String _descLongIntervento; - private String _via; - private String _localita; - private String _estremiCatastali; - private String _estremiPratCom; - private Date _dtSorteggio; - private String _statoPratica; - private String _numeroProgetto; - private String _originalNumeroProgetto; - private boolean _validata; - private boolean _originalValidata; - private boolean _setOriginalValidata; - private long _variataDa; - private long _originalVariataDa; - private boolean _setOriginalVariataDa; - private long _varianteNumero; - private long _originalVarianteNumero; - private boolean _setOriginalVarianteNumero; - private boolean _varianteSostanziale; - private boolean _operaConforme; - private long _tipoPraticaIdSanatoria; - private int _status; - private long _statusByUserId; - private String _statusByUserUuid; - private Date _statusDate; - private String _statoPraticaWorkflow; - private int _esitoControllo; - private boolean _collaudoStatico; - private boolean _collaudoStaticoAgtSanatoria; - private String _codiceFiscaleDelegato; - private String _codiceRuoloDelegato; - private boolean _lavoriInEconomiaCommittente; - private String _nomeUtenteSuap; - private String _cognomeUtenteSuap; - private String _codiceFiscaleUtenteSuap; - private boolean _inizioLavoriContestualeOpera; - private Date _dataInizioLavoriOpera; - private Date _dataInizioEsecuzioneOpera; - private Date _dataFineEsecuzioneOpera; - private String _metratura; - private boolean _lavoriPubblici; - private Date _dtPratica; - private long _columnBitmask; - private BoIntPratica _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoProblemiPraticaBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoProblemiPraticaBaseImpl.java deleted file mode 100644 index b85f5512..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoProblemiPraticaBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.BoProblemiPratica; -import it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalServiceUtil; - -/** - * The extended model base implementation for the BoProblemiPratica service. Represents a row in the "gc_problemipratica" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoProblemiPraticaImpl}. - *

- * - * @author 3FC - * @see BoProblemiPraticaImpl - * @see it.tref.liferay.portos.importazione.model.BoProblemiPratica - * @generated - */ -public abstract class BoProblemiPraticaBaseImpl - extends BoProblemiPraticaModelImpl implements BoProblemiPratica { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo problemi pratica model instance should use the {@link BoProblemiPratica} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoProblemiPraticaLocalServiceUtil.addBoProblemiPratica(this); - } - else { - BoProblemiPraticaLocalServiceUtil.updateBoProblemiPratica(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoProblemiPraticaCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoProblemiPraticaCacheModel.java deleted file mode 100644 index 04b09da6..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoProblemiPraticaCacheModel.java +++ /dev/null @@ -1,159 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.importazione.model.BoProblemiPratica; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing BoProblemiPratica in entity cache. - * - * @author 3FC - * @see BoProblemiPratica - * @generated - */ -public class BoProblemiPraticaCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(19); - - sb.append("{problemiPraticaId="); - sb.append(problemiPraticaId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", dettPraticaId="); - sb.append(dettPraticaId); - sb.append(", jsonError="); - sb.append(jsonError); - sb.append("}"); - - return sb.toString(); - } - - @Override - public BoProblemiPratica toEntityModel() { - BoProblemiPraticaImpl boProblemiPraticaImpl = new BoProblemiPraticaImpl(); - - boProblemiPraticaImpl.setProblemiPraticaId(problemiPraticaId); - boProblemiPraticaImpl.setCompanyId(companyId); - boProblemiPraticaImpl.setUserId(userId); - - if (userName == null) { - boProblemiPraticaImpl.setUserName(StringPool.BLANK); - } - else { - boProblemiPraticaImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - boProblemiPraticaImpl.setCreateDate(null); - } - else { - boProblemiPraticaImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - boProblemiPraticaImpl.setModifiedDate(null); - } - else { - boProblemiPraticaImpl.setModifiedDate(new Date(modifiedDate)); - } - - boProblemiPraticaImpl.setGroupId(groupId); - boProblemiPraticaImpl.setDettPraticaId(dettPraticaId); - - if (jsonError == null) { - boProblemiPraticaImpl.setJsonError(StringPool.BLANK); - } - else { - boProblemiPraticaImpl.setJsonError(jsonError); - } - - boProblemiPraticaImpl.resetOriginalValues(); - - return boProblemiPraticaImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - problemiPraticaId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - groupId = objectInput.readLong(); - dettPraticaId = objectInput.readLong(); - jsonError = objectInput.readUTF(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - objectOutput.writeLong(problemiPraticaId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeLong(groupId); - objectOutput.writeLong(dettPraticaId); - - if (jsonError == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(jsonError); - } - } - - public long problemiPraticaId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public long groupId; - public long dettPraticaId; - public String jsonError; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoProblemiPraticaImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoProblemiPraticaImpl.java deleted file mode 100644 index fca0bf7d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoProblemiPraticaImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -/** - * The extended model implementation for the BoProblemiPratica service. Represents a row in the "gc_problemipratica" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.model.BoProblemiPratica} interface. - *

- * - * @author 3FC - */ -public class BoProblemiPraticaImpl extends BoProblemiPraticaBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a bo problemi pratica model instance should use the {@link it.tref.liferay.portos.importazione.model.BoProblemiPratica} interface instead. - */ - public BoProblemiPraticaImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoProblemiPraticaModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoProblemiPraticaModelImpl.java deleted file mode 100644 index 51f6f74c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoProblemiPraticaModelImpl.java +++ /dev/null @@ -1,607 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.importazione.model.BoProblemiPratica; -import it.tref.liferay.portos.importazione.model.BoProblemiPraticaModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the BoProblemiPratica service. Represents a row in the "gc_problemipratica" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.importazione.model.BoProblemiPraticaModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoProblemiPraticaImpl}. - *

- * - * @author 3FC - * @see BoProblemiPraticaImpl - * @see it.tref.liferay.portos.importazione.model.BoProblemiPratica - * @see it.tref.liferay.portos.importazione.model.BoProblemiPraticaModel - * @generated - */ -public class BoProblemiPraticaModelImpl extends BaseModelImpl - implements BoProblemiPraticaModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo problemi pratica model instance should use the {@link it.tref.liferay.portos.importazione.model.BoProblemiPratica} interface instead. - */ - public static final String TABLE_NAME = "gc_problemipratica"; - public static final Object[][] TABLE_COLUMNS = { - { "problemiPraticaId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "groupId", Types.BIGINT }, - { "dettPraticaId", Types.BIGINT }, - { "jsonError", Types.VARCHAR } - }; - public static final String TABLE_SQL_CREATE = "create table gc_problemipratica (problemiPraticaId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,dettPraticaId LONG,jsonError VARCHAR(75) null)"; - public static final String TABLE_SQL_DROP = "drop table gc_problemipratica"; - public static final String ORDER_BY_JPQL = " ORDER BY boProblemiPratica.problemiPraticaId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gc_problemipratica.problemiPraticaId ASC"; - public static final String DATA_SOURCE = "datiPortos1DbDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.importazione.model.BoProblemiPratica"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.importazione.model.BoProblemiPratica"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.importazione.model.BoProblemiPratica"), - true); - public static long COMPANYID_COLUMN_BITMASK = 1L; - public static long DETTPRATICAID_COLUMN_BITMASK = 2L; - public static long GROUPID_COLUMN_BITMASK = 4L; - public static long PROBLEMIPRATICAID_COLUMN_BITMASK = 8L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.importazione.model.BoProblemiPratica")); - - public BoProblemiPraticaModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _problemiPraticaId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setProblemiPraticaId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _problemiPraticaId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return BoProblemiPratica.class; - } - - @Override - public String getModelClassName() { - return BoProblemiPratica.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("problemiPraticaId", getProblemiPraticaId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("jsonError", getJsonError()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long problemiPraticaId = (Long)attributes.get("problemiPraticaId"); - - if (problemiPraticaId != null) { - setProblemiPraticaId(problemiPraticaId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - String jsonError = (String)attributes.get("jsonError"); - - if (jsonError != null) { - setJsonError(jsonError); - } - } - - @Override - public long getProblemiPraticaId() { - return _problemiPraticaId; - } - - @Override - public void setProblemiPraticaId(long problemiPraticaId) { - _problemiPraticaId = problemiPraticaId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _columnBitmask |= COMPANYID_COLUMN_BITMASK; - - if (!_setOriginalCompanyId) { - _setOriginalCompanyId = true; - - _originalCompanyId = _companyId; - } - - _companyId = companyId; - } - - public long getOriginalCompanyId() { - return _originalCompanyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _columnBitmask |= GROUPID_COLUMN_BITMASK; - - if (!_setOriginalGroupId) { - _setOriginalGroupId = true; - - _originalGroupId = _groupId; - } - - _groupId = groupId; - } - - public long getOriginalGroupId() { - return _originalGroupId; - } - - @Override - public long getDettPraticaId() { - return _dettPraticaId; - } - - @Override - public void setDettPraticaId(long dettPraticaId) { - _columnBitmask |= DETTPRATICAID_COLUMN_BITMASK; - - if (!_setOriginalDettPraticaId) { - _setOriginalDettPraticaId = true; - - _originalDettPraticaId = _dettPraticaId; - } - - _dettPraticaId = dettPraticaId; - } - - public long getOriginalDettPraticaId() { - return _originalDettPraticaId; - } - - @Override - public String getJsonError() { - if (_jsonError == null) { - return StringPool.BLANK; - } - else { - return _jsonError; - } - } - - @Override - public void setJsonError(String jsonError) { - _jsonError = jsonError; - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - BoProblemiPratica.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public BoProblemiPratica toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (BoProblemiPratica)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - BoProblemiPraticaImpl boProblemiPraticaImpl = new BoProblemiPraticaImpl(); - - boProblemiPraticaImpl.setProblemiPraticaId(getProblemiPraticaId()); - boProblemiPraticaImpl.setCompanyId(getCompanyId()); - boProblemiPraticaImpl.setUserId(getUserId()); - boProblemiPraticaImpl.setUserName(getUserName()); - boProblemiPraticaImpl.setCreateDate(getCreateDate()); - boProblemiPraticaImpl.setModifiedDate(getModifiedDate()); - boProblemiPraticaImpl.setGroupId(getGroupId()); - boProblemiPraticaImpl.setDettPraticaId(getDettPraticaId()); - boProblemiPraticaImpl.setJsonError(getJsonError()); - - boProblemiPraticaImpl.resetOriginalValues(); - - return boProblemiPraticaImpl; - } - - @Override - public int compareTo(BoProblemiPratica boProblemiPratica) { - long primaryKey = boProblemiPratica.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoProblemiPratica)) { - return false; - } - - BoProblemiPratica boProblemiPratica = (BoProblemiPratica)obj; - - long primaryKey = boProblemiPratica.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - BoProblemiPraticaModelImpl boProblemiPraticaModelImpl = this; - - boProblemiPraticaModelImpl._originalCompanyId = boProblemiPraticaModelImpl._companyId; - - boProblemiPraticaModelImpl._setOriginalCompanyId = false; - - boProblemiPraticaModelImpl._originalGroupId = boProblemiPraticaModelImpl._groupId; - - boProblemiPraticaModelImpl._setOriginalGroupId = false; - - boProblemiPraticaModelImpl._originalDettPraticaId = boProblemiPraticaModelImpl._dettPraticaId; - - boProblemiPraticaModelImpl._setOriginalDettPraticaId = false; - - boProblemiPraticaModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - BoProblemiPraticaCacheModel boProblemiPraticaCacheModel = new BoProblemiPraticaCacheModel(); - - boProblemiPraticaCacheModel.problemiPraticaId = getProblemiPraticaId(); - - boProblemiPraticaCacheModel.companyId = getCompanyId(); - - boProblemiPraticaCacheModel.userId = getUserId(); - - boProblemiPraticaCacheModel.userName = getUserName(); - - String userName = boProblemiPraticaCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - boProblemiPraticaCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - boProblemiPraticaCacheModel.createDate = createDate.getTime(); - } - else { - boProblemiPraticaCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - boProblemiPraticaCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - boProblemiPraticaCacheModel.modifiedDate = Long.MIN_VALUE; - } - - boProblemiPraticaCacheModel.groupId = getGroupId(); - - boProblemiPraticaCacheModel.dettPraticaId = getDettPraticaId(); - - boProblemiPraticaCacheModel.jsonError = getJsonError(); - - String jsonError = boProblemiPraticaCacheModel.jsonError; - - if ((jsonError != null) && (jsonError.length() == 0)) { - boProblemiPraticaCacheModel.jsonError = null; - } - - return boProblemiPraticaCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(19); - - sb.append("{problemiPraticaId="); - sb.append(getProblemiPraticaId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", dettPraticaId="); - sb.append(getDettPraticaId()); - sb.append(", jsonError="); - sb.append(getJsonError()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(31); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.BoProblemiPratica"); - sb.append(""); - - sb.append( - "problemiPraticaId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "dettPraticaId"); - sb.append( - "jsonError"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = BoProblemiPratica.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - BoProblemiPratica.class - }; - private long _problemiPraticaId; - private long _companyId; - private long _originalCompanyId; - private boolean _setOriginalCompanyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _originalGroupId; - private boolean _setOriginalGroupId; - private long _dettPraticaId; - private long _originalDettPraticaId; - private boolean _setOriginalDettPraticaId; - private String _jsonError; - private long _columnBitmask; - private BoProblemiPratica _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoRelLeggiPraticaBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoRelLeggiPraticaBaseImpl.java deleted file mode 100644 index 8b132838..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoRelLeggiPraticaBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.BoRelLeggiPratica; -import it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalServiceUtil; - -/** - * The extended model base implementation for the BoRelLeggiPratica service. Represents a row in the "gc_relleggipratica" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoRelLeggiPraticaImpl}. - *

- * - * @author 3FC - * @see BoRelLeggiPraticaImpl - * @see it.tref.liferay.portos.importazione.model.BoRelLeggiPratica - * @generated - */ -public abstract class BoRelLeggiPraticaBaseImpl - extends BoRelLeggiPraticaModelImpl implements BoRelLeggiPratica { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo rel leggi pratica model instance should use the {@link BoRelLeggiPratica} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoRelLeggiPraticaLocalServiceUtil.addBoRelLeggiPratica(this); - } - else { - BoRelLeggiPraticaLocalServiceUtil.updateBoRelLeggiPratica(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoRelLeggiPraticaCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoRelLeggiPraticaCacheModel.java deleted file mode 100644 index 77727839..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoRelLeggiPraticaCacheModel.java +++ /dev/null @@ -1,101 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.importazione.model.BoRelLeggiPratica; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -/** - * The cache model class for representing BoRelLeggiPratica in entity cache. - * - * @author 3FC - * @see BoRelLeggiPratica - * @generated - */ -public class BoRelLeggiPraticaCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(9); - - sb.append("{artLeggeId="); - sb.append(artLeggeId); - sb.append(", intPraticaId="); - sb.append(intPraticaId); - sb.append(", selezionato="); - sb.append(selezionato); - sb.append(", valore="); - sb.append(valore); - sb.append("}"); - - return sb.toString(); - } - - @Override - public BoRelLeggiPratica toEntityModel() { - BoRelLeggiPraticaImpl boRelLeggiPraticaImpl = new BoRelLeggiPraticaImpl(); - - boRelLeggiPraticaImpl.setArtLeggeId(artLeggeId); - boRelLeggiPraticaImpl.setIntPraticaId(intPraticaId); - boRelLeggiPraticaImpl.setSelezionato(selezionato); - - if (valore == null) { - boRelLeggiPraticaImpl.setValore(StringPool.BLANK); - } - else { - boRelLeggiPraticaImpl.setValore(valore); - } - - boRelLeggiPraticaImpl.resetOriginalValues(); - - return boRelLeggiPraticaImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - artLeggeId = objectInput.readLong(); - intPraticaId = objectInput.readLong(); - selezionato = objectInput.readBoolean(); - valore = objectInput.readUTF(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - objectOutput.writeLong(artLeggeId); - objectOutput.writeLong(intPraticaId); - objectOutput.writeBoolean(selezionato); - - if (valore == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(valore); - } - } - - public long artLeggeId; - public long intPraticaId; - public boolean selezionato; - public String valore; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoRelLeggiPraticaImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoRelLeggiPraticaImpl.java deleted file mode 100644 index 639ea211..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoRelLeggiPraticaImpl.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under the terms of the - * GNU Lesser General Public License as published by the Free Software Foundation; either version - * 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without - * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -/** - * The extended model implementation for the BoRelLeggiPratica service. Represents a row in the - * "gc_relleggipratica" database table, with each column mapped to a property of this - * class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, - * rerun ServiceBuilder to copy their definitions into the - * {@link it.tref.liferay.portos.importazione.model.BoRelLeggiPratica} interface. - *

- * - * @author 3FC - */ -public class BoRelLeggiPraticaImpl extends BoRelLeggiPraticaBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a bo rel leggi pratica model - * instance should use the {@link it.tref.liferay.portos.importazione.model.BoRelLeggiPratica} - * interface instead. - */ - public BoRelLeggiPraticaImpl() {} -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoRelLeggiPraticaModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoRelLeggiPraticaModelImpl.java deleted file mode 100644 index e0f801da..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoRelLeggiPraticaModelImpl.java +++ /dev/null @@ -1,413 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.importazione.model.BoRelLeggiPratica; -import it.tref.liferay.portos.importazione.model.BoRelLeggiPraticaModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the BoRelLeggiPratica service. Represents a row in the "gc_relleggipratica" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.importazione.model.BoRelLeggiPraticaModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoRelLeggiPraticaImpl}. - *

- * - * @author 3FC - * @see BoRelLeggiPraticaImpl - * @see it.tref.liferay.portos.importazione.model.BoRelLeggiPratica - * @see it.tref.liferay.portos.importazione.model.BoRelLeggiPraticaModel - * @generated - */ -public class BoRelLeggiPraticaModelImpl extends BaseModelImpl - implements BoRelLeggiPraticaModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo rel leggi pratica model instance should use the {@link it.tref.liferay.portos.importazione.model.BoRelLeggiPratica} interface instead. - */ - public static final String TABLE_NAME = "gc_relleggipratica"; - public static final Object[][] TABLE_COLUMNS = { - { "artLeggeId", Types.BIGINT }, - { "intPraticaId", Types.BIGINT }, - { "selezionato", Types.BOOLEAN }, - { "valore", Types.VARCHAR } - }; - public static final String TABLE_SQL_CREATE = "create table gc_relleggipratica (artLeggeId LONG not null primary key,intPraticaId LONG,selezionato BOOLEAN,valore VARCHAR(200) null)"; - public static final String TABLE_SQL_DROP = "drop table gc_relleggipratica"; - public static final String ORDER_BY_JPQL = " ORDER BY boRelLeggiPratica.artLeggeId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gc_relleggipratica.artLeggeId ASC"; - public static final String DATA_SOURCE = "datiPortos1DbDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.importazione.model.BoRelLeggiPratica"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.importazione.model.BoRelLeggiPratica"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.importazione.model.BoRelLeggiPratica"), - true); - public static long ARTLEGGEID_COLUMN_BITMASK = 1L; - public static long INTPRATICAID_COLUMN_BITMASK = 2L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.importazione.model.BoRelLeggiPratica")); - - public BoRelLeggiPraticaModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _artLeggeId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setArtLeggeId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _artLeggeId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return BoRelLeggiPratica.class; - } - - @Override - public String getModelClassName() { - return BoRelLeggiPratica.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("artLeggeId", getArtLeggeId()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("selezionato", getSelezionato()); - attributes.put("valore", getValore()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long artLeggeId = (Long)attributes.get("artLeggeId"); - - if (artLeggeId != null) { - setArtLeggeId(artLeggeId); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - Boolean selezionato = (Boolean)attributes.get("selezionato"); - - if (selezionato != null) { - setSelezionato(selezionato); - } - - String valore = (String)attributes.get("valore"); - - if (valore != null) { - setValore(valore); - } - } - - @Override - public long getArtLeggeId() { - return _artLeggeId; - } - - @Override - public void setArtLeggeId(long artLeggeId) { - _columnBitmask |= ARTLEGGEID_COLUMN_BITMASK; - - if (!_setOriginalArtLeggeId) { - _setOriginalArtLeggeId = true; - - _originalArtLeggeId = _artLeggeId; - } - - _artLeggeId = artLeggeId; - } - - public long getOriginalArtLeggeId() { - return _originalArtLeggeId; - } - - @Override - public long getIntPraticaId() { - return _intPraticaId; - } - - @Override - public void setIntPraticaId(long intPraticaId) { - _columnBitmask |= INTPRATICAID_COLUMN_BITMASK; - - if (!_setOriginalIntPraticaId) { - _setOriginalIntPraticaId = true; - - _originalIntPraticaId = _intPraticaId; - } - - _intPraticaId = intPraticaId; - } - - public long getOriginalIntPraticaId() { - return _originalIntPraticaId; - } - - @Override - public boolean getSelezionato() { - return _selezionato; - } - - @Override - public boolean isSelezionato() { - return _selezionato; - } - - @Override - public void setSelezionato(boolean selezionato) { - _selezionato = selezionato; - } - - @Override - public String getValore() { - if (_valore == null) { - return StringPool.BLANK; - } - else { - return _valore; - } - } - - @Override - public void setValore(String valore) { - _valore = valore; - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(0, - BoRelLeggiPratica.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public BoRelLeggiPratica toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (BoRelLeggiPratica)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - BoRelLeggiPraticaImpl boRelLeggiPraticaImpl = new BoRelLeggiPraticaImpl(); - - boRelLeggiPraticaImpl.setArtLeggeId(getArtLeggeId()); - boRelLeggiPraticaImpl.setIntPraticaId(getIntPraticaId()); - boRelLeggiPraticaImpl.setSelezionato(getSelezionato()); - boRelLeggiPraticaImpl.setValore(getValore()); - - boRelLeggiPraticaImpl.resetOriginalValues(); - - return boRelLeggiPraticaImpl; - } - - @Override - public int compareTo(BoRelLeggiPratica boRelLeggiPratica) { - long primaryKey = boRelLeggiPratica.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoRelLeggiPratica)) { - return false; - } - - BoRelLeggiPratica boRelLeggiPratica = (BoRelLeggiPratica)obj; - - long primaryKey = boRelLeggiPratica.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - BoRelLeggiPraticaModelImpl boRelLeggiPraticaModelImpl = this; - - boRelLeggiPraticaModelImpl._originalArtLeggeId = boRelLeggiPraticaModelImpl._artLeggeId; - - boRelLeggiPraticaModelImpl._setOriginalArtLeggeId = false; - - boRelLeggiPraticaModelImpl._originalIntPraticaId = boRelLeggiPraticaModelImpl._intPraticaId; - - boRelLeggiPraticaModelImpl._setOriginalIntPraticaId = false; - - boRelLeggiPraticaModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - BoRelLeggiPraticaCacheModel boRelLeggiPraticaCacheModel = new BoRelLeggiPraticaCacheModel(); - - boRelLeggiPraticaCacheModel.artLeggeId = getArtLeggeId(); - - boRelLeggiPraticaCacheModel.intPraticaId = getIntPraticaId(); - - boRelLeggiPraticaCacheModel.selezionato = getSelezionato(); - - boRelLeggiPraticaCacheModel.valore = getValore(); - - String valore = boRelLeggiPraticaCacheModel.valore; - - if ((valore != null) && (valore.length() == 0)) { - boRelLeggiPraticaCacheModel.valore = null; - } - - return boRelLeggiPraticaCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(9); - - sb.append("{artLeggeId="); - sb.append(getArtLeggeId()); - sb.append(", intPraticaId="); - sb.append(getIntPraticaId()); - sb.append(", selezionato="); - sb.append(getSelezionato()); - sb.append(", valore="); - sb.append(getValore()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(16); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.BoRelLeggiPratica"); - sb.append(""); - - sb.append( - "artLeggeId"); - sb.append( - "intPraticaId"); - sb.append( - "selezionato"); - sb.append( - "valore"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = BoRelLeggiPratica.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - BoRelLeggiPratica.class - }; - private long _artLeggeId; - private long _originalArtLeggeId; - private boolean _setOriginalArtLeggeId; - private long _intPraticaId; - private long _originalIntPraticaId; - private boolean _setOriginalIntPraticaId; - private boolean _selezionato; - private String _valore; - private long _columnBitmask; - private BoRelLeggiPratica _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoSistemaCostruttivoBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoSistemaCostruttivoBaseImpl.java deleted file mode 100644 index 9c2b6c1a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoSistemaCostruttivoBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo; -import it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalServiceUtil; - -/** - * The extended model base implementation for the BoSistemaCostruttivo service. Represents a row in the "gc_sistemacostruttivo" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoSistemaCostruttivoImpl}. - *

- * - * @author 3FC - * @see BoSistemaCostruttivoImpl - * @see it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo - * @generated - */ -public abstract class BoSistemaCostruttivoBaseImpl - extends BoSistemaCostruttivoModelImpl implements BoSistemaCostruttivo { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo sistema costruttivo model instance should use the {@link BoSistemaCostruttivo} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoSistemaCostruttivoLocalServiceUtil.addBoSistemaCostruttivo(this); - } - else { - BoSistemaCostruttivoLocalServiceUtil.updateBoSistemaCostruttivo(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoSistemaCostruttivoCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoSistemaCostruttivoCacheModel.java deleted file mode 100644 index 27744d93..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoSistemaCostruttivoCacheModel.java +++ /dev/null @@ -1,177 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing BoSistemaCostruttivo in entity cache. - * - * @author 3FC - * @see BoSistemaCostruttivo - * @generated - */ -public class BoSistemaCostruttivoCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(21); - - sb.append("{uuid="); - sb.append(uuid); - sb.append(", sistemaCostruttivoId="); - sb.append(sistemaCostruttivoId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", intPraticaId="); - sb.append(intPraticaId); - sb.append(", codSistemaCostruttivo="); - sb.append(codSistemaCostruttivo); - sb.append("}"); - - return sb.toString(); - } - - @Override - public BoSistemaCostruttivo toEntityModel() { - BoSistemaCostruttivoImpl boSistemaCostruttivoImpl = new BoSistemaCostruttivoImpl(); - - if (uuid == null) { - boSistemaCostruttivoImpl.setUuid(StringPool.BLANK); - } - else { - boSistemaCostruttivoImpl.setUuid(uuid); - } - - boSistemaCostruttivoImpl.setSistemaCostruttivoId(sistemaCostruttivoId); - boSistemaCostruttivoImpl.setCompanyId(companyId); - boSistemaCostruttivoImpl.setUserId(userId); - - if (userName == null) { - boSistemaCostruttivoImpl.setUserName(StringPool.BLANK); - } - else { - boSistemaCostruttivoImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - boSistemaCostruttivoImpl.setCreateDate(null); - } - else { - boSistemaCostruttivoImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - boSistemaCostruttivoImpl.setModifiedDate(null); - } - else { - boSistemaCostruttivoImpl.setModifiedDate(new Date(modifiedDate)); - } - - boSistemaCostruttivoImpl.setGroupId(groupId); - boSistemaCostruttivoImpl.setIntPraticaId(intPraticaId); - - if (codSistemaCostruttivo == null) { - boSistemaCostruttivoImpl.setCodSistemaCostruttivo(StringPool.BLANK); - } - else { - boSistemaCostruttivoImpl.setCodSistemaCostruttivo(codSistemaCostruttivo); - } - - boSistemaCostruttivoImpl.resetOriginalValues(); - - return boSistemaCostruttivoImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - uuid = objectInput.readUTF(); - sistemaCostruttivoId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - groupId = objectInput.readLong(); - intPraticaId = objectInput.readLong(); - codSistemaCostruttivo = objectInput.readUTF(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - if (uuid == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(uuid); - } - - objectOutput.writeLong(sistemaCostruttivoId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeLong(groupId); - objectOutput.writeLong(intPraticaId); - - if (codSistemaCostruttivo == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codSistemaCostruttivo); - } - } - - public String uuid; - public long sistemaCostruttivoId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public long groupId; - public long intPraticaId; - public String codSistemaCostruttivo; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoSistemaCostruttivoImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoSistemaCostruttivoImpl.java deleted file mode 100644 index 3fb2e059..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoSistemaCostruttivoImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -/** - * The extended model implementation for the BoSistemaCostruttivo service. Represents a row in the "gc_sistemacostruttivo" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo} interface. - *

- * - * @author 3FC - */ -public class BoSistemaCostruttivoImpl extends BoSistemaCostruttivoBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a bo sistema costruttivo model instance should use the {@link it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo} interface instead. - */ - public BoSistemaCostruttivoImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoSistemaCostruttivoModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoSistemaCostruttivoModelImpl.java deleted file mode 100644 index 28dbed71..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoSistemaCostruttivoModelImpl.java +++ /dev/null @@ -1,668 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo; -import it.tref.liferay.portos.importazione.model.BoSistemaCostruttivoModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the BoSistemaCostruttivo service. Represents a row in the "gc_sistemacostruttivo" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.importazione.model.BoSistemaCostruttivoModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoSistemaCostruttivoImpl}. - *

- * - * @author 3FC - * @see BoSistemaCostruttivoImpl - * @see it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo - * @see it.tref.liferay.portos.importazione.model.BoSistemaCostruttivoModel - * @generated - */ -public class BoSistemaCostruttivoModelImpl extends BaseModelImpl - implements BoSistemaCostruttivoModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo sistema costruttivo model instance should use the {@link it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo} interface instead. - */ - public static final String TABLE_NAME = "gc_sistemacostruttivo"; - public static final Object[][] TABLE_COLUMNS = { - { "uuid_", Types.VARCHAR }, - { "sistemaCostruttivoId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "groupId", Types.BIGINT }, - { "intPraticaId", Types.BIGINT }, - { "codSistemaCostruttivo", Types.VARCHAR } - }; - public static final String TABLE_SQL_CREATE = "create table gc_sistemacostruttivo (uuid_ VARCHAR(75) null,sistemaCostruttivoId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,intPraticaId LONG,codSistemaCostruttivo VARCHAR(75) null)"; - public static final String TABLE_SQL_DROP = "drop table gc_sistemacostruttivo"; - public static final String ORDER_BY_JPQL = " ORDER BY boSistemaCostruttivo.sistemaCostruttivoId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gc_sistemacostruttivo.sistemaCostruttivoId ASC"; - public static final String DATA_SOURCE = "datiPortos1DbDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo"), - true); - public static long COMPANYID_COLUMN_BITMASK = 1L; - public static long GROUPID_COLUMN_BITMASK = 2L; - public static long INTPRATICAID_COLUMN_BITMASK = 4L; - public static long UUID_COLUMN_BITMASK = 8L; - public static long SISTEMACOSTRUTTIVOID_COLUMN_BITMASK = 16L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo")); - - public BoSistemaCostruttivoModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _sistemaCostruttivoId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setSistemaCostruttivoId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _sistemaCostruttivoId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return BoSistemaCostruttivo.class; - } - - @Override - public String getModelClassName() { - return BoSistemaCostruttivo.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("sistemaCostruttivoId", getSistemaCostruttivoId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("codSistemaCostruttivo", getCodSistemaCostruttivo()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long sistemaCostruttivoId = (Long)attributes.get("sistemaCostruttivoId"); - - if (sistemaCostruttivoId != null) { - setSistemaCostruttivoId(sistemaCostruttivoId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - String codSistemaCostruttivo = (String)attributes.get( - "codSistemaCostruttivo"); - - if (codSistemaCostruttivo != null) { - setCodSistemaCostruttivo(codSistemaCostruttivo); - } - } - - @Override - public String getUuid() { - if (_uuid == null) { - return StringPool.BLANK; - } - else { - return _uuid; - } - } - - @Override - public void setUuid(String uuid) { - if (_originalUuid == null) { - _originalUuid = _uuid; - } - - _uuid = uuid; - } - - public String getOriginalUuid() { - return GetterUtil.getString(_originalUuid); - } - - @Override - public long getSistemaCostruttivoId() { - return _sistemaCostruttivoId; - } - - @Override - public void setSistemaCostruttivoId(long sistemaCostruttivoId) { - _sistemaCostruttivoId = sistemaCostruttivoId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _columnBitmask |= COMPANYID_COLUMN_BITMASK; - - if (!_setOriginalCompanyId) { - _setOriginalCompanyId = true; - - _originalCompanyId = _companyId; - } - - _companyId = companyId; - } - - public long getOriginalCompanyId() { - return _originalCompanyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _columnBitmask |= GROUPID_COLUMN_BITMASK; - - if (!_setOriginalGroupId) { - _setOriginalGroupId = true; - - _originalGroupId = _groupId; - } - - _groupId = groupId; - } - - public long getOriginalGroupId() { - return _originalGroupId; - } - - @Override - public long getIntPraticaId() { - return _intPraticaId; - } - - @Override - public void setIntPraticaId(long intPraticaId) { - _columnBitmask |= INTPRATICAID_COLUMN_BITMASK; - - if (!_setOriginalIntPraticaId) { - _setOriginalIntPraticaId = true; - - _originalIntPraticaId = _intPraticaId; - } - - _intPraticaId = intPraticaId; - } - - public long getOriginalIntPraticaId() { - return _originalIntPraticaId; - } - - @Override - public String getCodSistemaCostruttivo() { - if (_codSistemaCostruttivo == null) { - return StringPool.BLANK; - } - else { - return _codSistemaCostruttivo; - } - } - - @Override - public void setCodSistemaCostruttivo(String codSistemaCostruttivo) { - _codSistemaCostruttivo = codSistemaCostruttivo; - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoSistemaCostruttivo.class.getName())); - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - BoSistemaCostruttivo.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public BoSistemaCostruttivo toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (BoSistemaCostruttivo)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - BoSistemaCostruttivoImpl boSistemaCostruttivoImpl = new BoSistemaCostruttivoImpl(); - - boSistemaCostruttivoImpl.setUuid(getUuid()); - boSistemaCostruttivoImpl.setSistemaCostruttivoId(getSistemaCostruttivoId()); - boSistemaCostruttivoImpl.setCompanyId(getCompanyId()); - boSistemaCostruttivoImpl.setUserId(getUserId()); - boSistemaCostruttivoImpl.setUserName(getUserName()); - boSistemaCostruttivoImpl.setCreateDate(getCreateDate()); - boSistemaCostruttivoImpl.setModifiedDate(getModifiedDate()); - boSistemaCostruttivoImpl.setGroupId(getGroupId()); - boSistemaCostruttivoImpl.setIntPraticaId(getIntPraticaId()); - boSistemaCostruttivoImpl.setCodSistemaCostruttivo(getCodSistemaCostruttivo()); - - boSistemaCostruttivoImpl.resetOriginalValues(); - - return boSistemaCostruttivoImpl; - } - - @Override - public int compareTo(BoSistemaCostruttivo boSistemaCostruttivo) { - long primaryKey = boSistemaCostruttivo.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoSistemaCostruttivo)) { - return false; - } - - BoSistemaCostruttivo boSistemaCostruttivo = (BoSistemaCostruttivo)obj; - - long primaryKey = boSistemaCostruttivo.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - BoSistemaCostruttivoModelImpl boSistemaCostruttivoModelImpl = this; - - boSistemaCostruttivoModelImpl._originalUuid = boSistemaCostruttivoModelImpl._uuid; - - boSistemaCostruttivoModelImpl._originalCompanyId = boSistemaCostruttivoModelImpl._companyId; - - boSistemaCostruttivoModelImpl._setOriginalCompanyId = false; - - boSistemaCostruttivoModelImpl._originalGroupId = boSistemaCostruttivoModelImpl._groupId; - - boSistemaCostruttivoModelImpl._setOriginalGroupId = false; - - boSistemaCostruttivoModelImpl._originalIntPraticaId = boSistemaCostruttivoModelImpl._intPraticaId; - - boSistemaCostruttivoModelImpl._setOriginalIntPraticaId = false; - - boSistemaCostruttivoModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - BoSistemaCostruttivoCacheModel boSistemaCostruttivoCacheModel = new BoSistemaCostruttivoCacheModel(); - - boSistemaCostruttivoCacheModel.uuid = getUuid(); - - String uuid = boSistemaCostruttivoCacheModel.uuid; - - if ((uuid != null) && (uuid.length() == 0)) { - boSistemaCostruttivoCacheModel.uuid = null; - } - - boSistemaCostruttivoCacheModel.sistemaCostruttivoId = getSistemaCostruttivoId(); - - boSistemaCostruttivoCacheModel.companyId = getCompanyId(); - - boSistemaCostruttivoCacheModel.userId = getUserId(); - - boSistemaCostruttivoCacheModel.userName = getUserName(); - - String userName = boSistemaCostruttivoCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - boSistemaCostruttivoCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - boSistemaCostruttivoCacheModel.createDate = createDate.getTime(); - } - else { - boSistemaCostruttivoCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - boSistemaCostruttivoCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - boSistemaCostruttivoCacheModel.modifiedDate = Long.MIN_VALUE; - } - - boSistemaCostruttivoCacheModel.groupId = getGroupId(); - - boSistemaCostruttivoCacheModel.intPraticaId = getIntPraticaId(); - - boSistemaCostruttivoCacheModel.codSistemaCostruttivo = getCodSistemaCostruttivo(); - - String codSistemaCostruttivo = boSistemaCostruttivoCacheModel.codSistemaCostruttivo; - - if ((codSistemaCostruttivo != null) && - (codSistemaCostruttivo.length() == 0)) { - boSistemaCostruttivoCacheModel.codSistemaCostruttivo = null; - } - - return boSistemaCostruttivoCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(21); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", sistemaCostruttivoId="); - sb.append(getSistemaCostruttivoId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", intPraticaId="); - sb.append(getIntPraticaId()); - sb.append(", codSistemaCostruttivo="); - sb.append(getCodSistemaCostruttivo()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(34); - - sb.append(""); - sb.append( - "it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "sistemaCostruttivoId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "intPraticaId"); - sb.append( - "codSistemaCostruttivo"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = BoSistemaCostruttivo.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - BoSistemaCostruttivo.class - }; - private String _uuid; - private String _originalUuid; - private long _sistemaCostruttivoId; - private long _companyId; - private long _originalCompanyId; - private boolean _setOriginalCompanyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _originalGroupId; - private boolean _setOriginalGroupId; - private long _intPraticaId; - private long _originalIntPraticaId; - private boolean _setOriginalIntPraticaId; - private String _codSistemaCostruttivo; - private long _columnBitmask; - private BoSistemaCostruttivo _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoSoggettoBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoSoggettoBaseImpl.java deleted file mode 100644 index 51979080..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoSoggettoBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.BoSoggetto; -import it.tref.liferay.portos.importazione.service.BoSoggettoLocalServiceUtil; - -/** - * The extended model base implementation for the BoSoggetto service. Represents a row in the "gc_soggetto" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoSoggettoImpl}. - *

- * - * @author 3FC - * @see BoSoggettoImpl - * @see it.tref.liferay.portos.importazione.model.BoSoggetto - * @generated - */ -public abstract class BoSoggettoBaseImpl extends BoSoggettoModelImpl - implements BoSoggetto { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo soggetto model instance should use the {@link BoSoggetto} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoSoggettoLocalServiceUtil.addBoSoggetto(this); - } - else { - BoSoggettoLocalServiceUtil.updateBoSoggetto(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoSoggettoCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoSoggettoCacheModel.java deleted file mode 100644 index df6603e5..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoSoggettoCacheModel.java +++ /dev/null @@ -1,811 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.importazione.model.BoSoggetto; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing BoSoggetto in entity cache. - * - * @author 3FC - * @see BoSoggetto - * @generated - */ -public class BoSoggettoCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(95); - - sb.append("{uuid="); - sb.append(uuid); - sb.append(", soggettoId="); - sb.append(soggettoId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", dettPraticaId="); - sb.append(dettPraticaId); - sb.append(", nome="); - sb.append(nome); - sb.append(", cognome="); - sb.append(cognome); - sb.append(", codiceFiscale="); - sb.append(codiceFiscale); - sb.append(", codiceFiscaleDelegato="); - sb.append(codiceFiscaleDelegato); - sb.append(", dataNascita="); - sb.append(dataNascita); - sb.append(", comuneNascita="); - sb.append(comuneNascita); - sb.append(", comuneDomicilio="); - sb.append(comuneDomicilio); - sb.append(", provinciaDomicilio="); - sb.append(provinciaDomicilio); - sb.append(", viaDomicilio="); - sb.append(viaDomicilio); - sb.append(", numeroCivicoDomicilio="); - sb.append(numeroCivicoDomicilio); - sb.append(", capDomicilio="); - sb.append(capDomicilio); - sb.append(", domicilioExtra="); - sb.append(domicilioExtra); - sb.append(", comune="); - sb.append(comune); - sb.append(", provincia="); - sb.append(provincia); - sb.append(", via="); - sb.append(via); - sb.append(", numeroCivico="); - sb.append(numeroCivico); - sb.append(", cap="); - sb.append(cap); - sb.append(", denominazione="); - sb.append(denominazione); - sb.append(", sedeLegale="); - sb.append(sedeLegale); - sb.append(", legaleRap="); - sb.append(legaleRap); - sb.append(", dataNascitaRap="); - sb.append(dataNascitaRap); - sb.append(", comuneNascitaRap="); - sb.append(comuneNascitaRap); - sb.append(", viaRap="); - sb.append(viaRap); - sb.append(", numeroCivicoRap="); - sb.append(numeroCivicoRap); - sb.append(", capRap="); - sb.append(capRap); - sb.append(", provinciaRap="); - sb.append(provinciaRap); - sb.append(", comuneRap="); - sb.append(comuneRap); - sb.append(", albo="); - sb.append(albo); - sb.append(", regAlbo="); - sb.append(regAlbo); - sb.append(", provAlbo="); - sb.append(provAlbo); - sb.append(", numIscrAlbo="); - sb.append(numIscrAlbo); - sb.append(", telefono="); - sb.append(telefono); - sb.append(", fax="); - sb.append(fax); - sb.append(", email="); - sb.append(email); - sb.append(", tipologiaSoggetto="); - sb.append(tipologiaSoggetto); - sb.append(", tipologiaProfessione="); - sb.append(tipologiaProfessione); - sb.append(", aggiuntivo="); - sb.append(aggiuntivo); - sb.append(", sostituito="); - sb.append(sostituito); - sb.append("}"); - - return sb.toString(); - } - - @Override - public BoSoggetto toEntityModel() { - BoSoggettoImpl boSoggettoImpl = new BoSoggettoImpl(); - - if (uuid == null) { - boSoggettoImpl.setUuid(StringPool.BLANK); - } - else { - boSoggettoImpl.setUuid(uuid); - } - - boSoggettoImpl.setSoggettoId(soggettoId); - boSoggettoImpl.setCompanyId(companyId); - boSoggettoImpl.setUserId(userId); - - if (userName == null) { - boSoggettoImpl.setUserName(StringPool.BLANK); - } - else { - boSoggettoImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - boSoggettoImpl.setCreateDate(null); - } - else { - boSoggettoImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - boSoggettoImpl.setModifiedDate(null); - } - else { - boSoggettoImpl.setModifiedDate(new Date(modifiedDate)); - } - - boSoggettoImpl.setGroupId(groupId); - boSoggettoImpl.setDettPraticaId(dettPraticaId); - - if (nome == null) { - boSoggettoImpl.setNome(StringPool.BLANK); - } - else { - boSoggettoImpl.setNome(nome); - } - - if (cognome == null) { - boSoggettoImpl.setCognome(StringPool.BLANK); - } - else { - boSoggettoImpl.setCognome(cognome); - } - - if (codiceFiscale == null) { - boSoggettoImpl.setCodiceFiscale(StringPool.BLANK); - } - else { - boSoggettoImpl.setCodiceFiscale(codiceFiscale); - } - - if (codiceFiscaleDelegato == null) { - boSoggettoImpl.setCodiceFiscaleDelegato(StringPool.BLANK); - } - else { - boSoggettoImpl.setCodiceFiscaleDelegato(codiceFiscaleDelegato); - } - - if (dataNascita == Long.MIN_VALUE) { - boSoggettoImpl.setDataNascita(null); - } - else { - boSoggettoImpl.setDataNascita(new Date(dataNascita)); - } - - if (comuneNascita == null) { - boSoggettoImpl.setComuneNascita(StringPool.BLANK); - } - else { - boSoggettoImpl.setComuneNascita(comuneNascita); - } - - if (comuneDomicilio == null) { - boSoggettoImpl.setComuneDomicilio(StringPool.BLANK); - } - else { - boSoggettoImpl.setComuneDomicilio(comuneDomicilio); - } - - if (provinciaDomicilio == null) { - boSoggettoImpl.setProvinciaDomicilio(StringPool.BLANK); - } - else { - boSoggettoImpl.setProvinciaDomicilio(provinciaDomicilio); - } - - if (viaDomicilio == null) { - boSoggettoImpl.setViaDomicilio(StringPool.BLANK); - } - else { - boSoggettoImpl.setViaDomicilio(viaDomicilio); - } - - if (numeroCivicoDomicilio == null) { - boSoggettoImpl.setNumeroCivicoDomicilio(StringPool.BLANK); - } - else { - boSoggettoImpl.setNumeroCivicoDomicilio(numeroCivicoDomicilio); - } - - if (capDomicilio == null) { - boSoggettoImpl.setCapDomicilio(StringPool.BLANK); - } - else { - boSoggettoImpl.setCapDomicilio(capDomicilio); - } - - if (domicilioExtra == null) { - boSoggettoImpl.setDomicilioExtra(StringPool.BLANK); - } - else { - boSoggettoImpl.setDomicilioExtra(domicilioExtra); - } - - if (comune == null) { - boSoggettoImpl.setComune(StringPool.BLANK); - } - else { - boSoggettoImpl.setComune(comune); - } - - if (provincia == null) { - boSoggettoImpl.setProvincia(StringPool.BLANK); - } - else { - boSoggettoImpl.setProvincia(provincia); - } - - if (via == null) { - boSoggettoImpl.setVia(StringPool.BLANK); - } - else { - boSoggettoImpl.setVia(via); - } - - if (numeroCivico == null) { - boSoggettoImpl.setNumeroCivico(StringPool.BLANK); - } - else { - boSoggettoImpl.setNumeroCivico(numeroCivico); - } - - if (cap == null) { - boSoggettoImpl.setCap(StringPool.BLANK); - } - else { - boSoggettoImpl.setCap(cap); - } - - if (denominazione == null) { - boSoggettoImpl.setDenominazione(StringPool.BLANK); - } - else { - boSoggettoImpl.setDenominazione(denominazione); - } - - if (sedeLegale == null) { - boSoggettoImpl.setSedeLegale(StringPool.BLANK); - } - else { - boSoggettoImpl.setSedeLegale(sedeLegale); - } - - if (legaleRap == null) { - boSoggettoImpl.setLegaleRap(StringPool.BLANK); - } - else { - boSoggettoImpl.setLegaleRap(legaleRap); - } - - if (dataNascitaRap == Long.MIN_VALUE) { - boSoggettoImpl.setDataNascitaRap(null); - } - else { - boSoggettoImpl.setDataNascitaRap(new Date(dataNascitaRap)); - } - - if (comuneNascitaRap == null) { - boSoggettoImpl.setComuneNascitaRap(StringPool.BLANK); - } - else { - boSoggettoImpl.setComuneNascitaRap(comuneNascitaRap); - } - - if (viaRap == null) { - boSoggettoImpl.setViaRap(StringPool.BLANK); - } - else { - boSoggettoImpl.setViaRap(viaRap); - } - - if (numeroCivicoRap == null) { - boSoggettoImpl.setNumeroCivicoRap(StringPool.BLANK); - } - else { - boSoggettoImpl.setNumeroCivicoRap(numeroCivicoRap); - } - - if (capRap == null) { - boSoggettoImpl.setCapRap(StringPool.BLANK); - } - else { - boSoggettoImpl.setCapRap(capRap); - } - - if (provinciaRap == null) { - boSoggettoImpl.setProvinciaRap(StringPool.BLANK); - } - else { - boSoggettoImpl.setProvinciaRap(provinciaRap); - } - - if (comuneRap == null) { - boSoggettoImpl.setComuneRap(StringPool.BLANK); - } - else { - boSoggettoImpl.setComuneRap(comuneRap); - } - - if (albo == null) { - boSoggettoImpl.setAlbo(StringPool.BLANK); - } - else { - boSoggettoImpl.setAlbo(albo); - } - - if (regAlbo == null) { - boSoggettoImpl.setRegAlbo(StringPool.BLANK); - } - else { - boSoggettoImpl.setRegAlbo(regAlbo); - } - - if (provAlbo == null) { - boSoggettoImpl.setProvAlbo(StringPool.BLANK); - } - else { - boSoggettoImpl.setProvAlbo(provAlbo); - } - - if (numIscrAlbo == null) { - boSoggettoImpl.setNumIscrAlbo(StringPool.BLANK); - } - else { - boSoggettoImpl.setNumIscrAlbo(numIscrAlbo); - } - - if (telefono == null) { - boSoggettoImpl.setTelefono(StringPool.BLANK); - } - else { - boSoggettoImpl.setTelefono(telefono); - } - - if (fax == null) { - boSoggettoImpl.setFax(StringPool.BLANK); - } - else { - boSoggettoImpl.setFax(fax); - } - - if (email == null) { - boSoggettoImpl.setEmail(StringPool.BLANK); - } - else { - boSoggettoImpl.setEmail(email); - } - - if (tipologiaSoggetto == null) { - boSoggettoImpl.setTipologiaSoggetto(StringPool.BLANK); - } - else { - boSoggettoImpl.setTipologiaSoggetto(tipologiaSoggetto); - } - - if (tipologiaProfessione == null) { - boSoggettoImpl.setTipologiaProfessione(StringPool.BLANK); - } - else { - boSoggettoImpl.setTipologiaProfessione(tipologiaProfessione); - } - - boSoggettoImpl.setAggiuntivo(aggiuntivo); - boSoggettoImpl.setSostituito(sostituito); - - boSoggettoImpl.resetOriginalValues(); - - return boSoggettoImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - uuid = objectInput.readUTF(); - soggettoId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - groupId = objectInput.readLong(); - dettPraticaId = objectInput.readLong(); - nome = objectInput.readUTF(); - cognome = objectInput.readUTF(); - codiceFiscale = objectInput.readUTF(); - codiceFiscaleDelegato = objectInput.readUTF(); - dataNascita = objectInput.readLong(); - comuneNascita = objectInput.readUTF(); - comuneDomicilio = objectInput.readUTF(); - provinciaDomicilio = objectInput.readUTF(); - viaDomicilio = objectInput.readUTF(); - numeroCivicoDomicilio = objectInput.readUTF(); - capDomicilio = objectInput.readUTF(); - domicilioExtra = objectInput.readUTF(); - comune = objectInput.readUTF(); - provincia = objectInput.readUTF(); - via = objectInput.readUTF(); - numeroCivico = objectInput.readUTF(); - cap = objectInput.readUTF(); - denominazione = objectInput.readUTF(); - sedeLegale = objectInput.readUTF(); - legaleRap = objectInput.readUTF(); - dataNascitaRap = objectInput.readLong(); - comuneNascitaRap = objectInput.readUTF(); - viaRap = objectInput.readUTF(); - numeroCivicoRap = objectInput.readUTF(); - capRap = objectInput.readUTF(); - provinciaRap = objectInput.readUTF(); - comuneRap = objectInput.readUTF(); - albo = objectInput.readUTF(); - regAlbo = objectInput.readUTF(); - provAlbo = objectInput.readUTF(); - numIscrAlbo = objectInput.readUTF(); - telefono = objectInput.readUTF(); - fax = objectInput.readUTF(); - email = objectInput.readUTF(); - tipologiaSoggetto = objectInput.readUTF(); - tipologiaProfessione = objectInput.readUTF(); - aggiuntivo = objectInput.readBoolean(); - sostituito = objectInput.readBoolean(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - if (uuid == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(uuid); - } - - objectOutput.writeLong(soggettoId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeLong(groupId); - objectOutput.writeLong(dettPraticaId); - - if (nome == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(nome); - } - - if (cognome == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(cognome); - } - - if (codiceFiscale == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codiceFiscale); - } - - if (codiceFiscaleDelegato == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codiceFiscaleDelegato); - } - - objectOutput.writeLong(dataNascita); - - if (comuneNascita == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(comuneNascita); - } - - if (comuneDomicilio == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(comuneDomicilio); - } - - if (provinciaDomicilio == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(provinciaDomicilio); - } - - if (viaDomicilio == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(viaDomicilio); - } - - if (numeroCivicoDomicilio == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(numeroCivicoDomicilio); - } - - if (capDomicilio == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(capDomicilio); - } - - if (domicilioExtra == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(domicilioExtra); - } - - if (comune == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(comune); - } - - if (provincia == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(provincia); - } - - if (via == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(via); - } - - if (numeroCivico == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(numeroCivico); - } - - if (cap == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(cap); - } - - if (denominazione == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(denominazione); - } - - if (sedeLegale == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(sedeLegale); - } - - if (legaleRap == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(legaleRap); - } - - objectOutput.writeLong(dataNascitaRap); - - if (comuneNascitaRap == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(comuneNascitaRap); - } - - if (viaRap == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(viaRap); - } - - if (numeroCivicoRap == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(numeroCivicoRap); - } - - if (capRap == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(capRap); - } - - if (provinciaRap == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(provinciaRap); - } - - if (comuneRap == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(comuneRap); - } - - if (albo == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(albo); - } - - if (regAlbo == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(regAlbo); - } - - if (provAlbo == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(provAlbo); - } - - if (numIscrAlbo == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(numIscrAlbo); - } - - if (telefono == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(telefono); - } - - if (fax == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(fax); - } - - if (email == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(email); - } - - if (tipologiaSoggetto == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(tipologiaSoggetto); - } - - if (tipologiaProfessione == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(tipologiaProfessione); - } - - objectOutput.writeBoolean(aggiuntivo); - objectOutput.writeBoolean(sostituito); - } - - public String uuid; - public long soggettoId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public long groupId; - public long dettPraticaId; - public String nome; - public String cognome; - public String codiceFiscale; - public String codiceFiscaleDelegato; - public long dataNascita; - public String comuneNascita; - public String comuneDomicilio; - public String provinciaDomicilio; - public String viaDomicilio; - public String numeroCivicoDomicilio; - public String capDomicilio; - public String domicilioExtra; - public String comune; - public String provincia; - public String via; - public String numeroCivico; - public String cap; - public String denominazione; - public String sedeLegale; - public String legaleRap; - public long dataNascitaRap; - public String comuneNascitaRap; - public String viaRap; - public String numeroCivicoRap; - public String capRap; - public String provinciaRap; - public String comuneRap; - public String albo; - public String regAlbo; - public String provAlbo; - public String numIscrAlbo; - public String telefono; - public String fax; - public String email; - public String tipologiaSoggetto; - public String tipologiaProfessione; - public boolean aggiuntivo; - public boolean sostituito; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoSoggettoImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoSoggettoImpl.java deleted file mode 100644 index d1f548bf..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoSoggettoImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -/** - * The extended model implementation for the BoSoggetto service. Represents a row in the "gc_soggetto" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.model.BoSoggetto} interface. - *

- * - * @author 3FC - */ -public class BoSoggettoImpl extends BoSoggettoBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a bo soggetto model instance should use the {@link it.tref.liferay.portos.importazione.model.BoSoggetto} interface instead. - */ - public BoSoggettoImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoSoggettoModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoSoggettoModelImpl.java deleted file mode 100644 index b165c0ad..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoSoggettoModelImpl.java +++ /dev/null @@ -1,2146 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.importazione.model.BoSoggetto; -import it.tref.liferay.portos.importazione.model.BoSoggettoModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the BoSoggetto service. Represents a row in the "gc_soggetto" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.importazione.model.BoSoggettoModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoSoggettoImpl}. - *

- * - * @author 3FC - * @see BoSoggettoImpl - * @see it.tref.liferay.portos.importazione.model.BoSoggetto - * @see it.tref.liferay.portos.importazione.model.BoSoggettoModel - * @generated - */ -public class BoSoggettoModelImpl extends BaseModelImpl - implements BoSoggettoModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo soggetto model instance should use the {@link it.tref.liferay.portos.importazione.model.BoSoggetto} interface instead. - */ - public static final String TABLE_NAME = "gc_soggetto"; - public static final Object[][] TABLE_COLUMNS = { - { "uuid_", Types.VARCHAR }, - { "soggettoId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "groupId", Types.BIGINT }, - { "dettPraticaId", Types.BIGINT }, - { "nome", Types.VARCHAR }, - { "cognome", Types.VARCHAR }, - { "codiceFiscale", Types.VARCHAR }, - { "codiceFiscaleDelegato", Types.VARCHAR }, - { "dataNascita", Types.TIMESTAMP }, - { "comuneNascita", Types.VARCHAR }, - { "comuneDomicilio", Types.VARCHAR }, - { "provinciaDomicilio", Types.VARCHAR }, - { "viaDomicilio", Types.VARCHAR }, - { "numeroCivicoDomicilio", Types.VARCHAR }, - { "capDomicilio", Types.VARCHAR }, - { "domicilioExtra", Types.VARCHAR }, - { "comune", Types.VARCHAR }, - { "provincia", Types.VARCHAR }, - { "via", Types.VARCHAR }, - { "numeroCivico", Types.VARCHAR }, - { "cap", Types.VARCHAR }, - { "denominazione", Types.VARCHAR }, - { "sedeLegale", Types.VARCHAR }, - { "legaleRap", Types.VARCHAR }, - { "dataNascitaRap", Types.TIMESTAMP }, - { "comuneNascitaRap", Types.VARCHAR }, - { "viaRap", Types.VARCHAR }, - { "numeroCivicoRap", Types.VARCHAR }, - { "capRap", Types.VARCHAR }, - { "provinciaRap", Types.VARCHAR }, - { "comuneRap", Types.VARCHAR }, - { "albo", Types.VARCHAR }, - { "regAlbo", Types.VARCHAR }, - { "provAlbo", Types.VARCHAR }, - { "numIscrAlbo", Types.VARCHAR }, - { "telefono", Types.VARCHAR }, - { "fax", Types.VARCHAR }, - { "email", Types.VARCHAR }, - { "tipologiaSoggetto", Types.VARCHAR }, - { "tipologiaProfessione", Types.VARCHAR }, - { "aggiuntivo", Types.BOOLEAN }, - { "sostituito", Types.BOOLEAN } - }; - public static final String TABLE_SQL_CREATE = "create table gc_soggetto (uuid_ VARCHAR(75) null,soggettoId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,dettPraticaId LONG,nome VARCHAR(75) null,cognome VARCHAR(75) null,codiceFiscale VARCHAR(75) null,codiceFiscaleDelegato VARCHAR(75) null,dataNascita DATE null,comuneNascita VARCHAR(75) null,comuneDomicilio VARCHAR(75) null,provinciaDomicilio VARCHAR(75) null,viaDomicilio VARCHAR(75) null,numeroCivicoDomicilio VARCHAR(75) null,capDomicilio VARCHAR(75) null,domicilioExtra VARCHAR(75) null,comune VARCHAR(75) null,provincia VARCHAR(75) null,via VARCHAR(75) null,numeroCivico VARCHAR(75) null,cap VARCHAR(75) null,denominazione VARCHAR(75) null,sedeLegale VARCHAR(75) null,legaleRap VARCHAR(75) null,dataNascitaRap DATE null,comuneNascitaRap VARCHAR(75) null,viaRap VARCHAR(75) null,numeroCivicoRap VARCHAR(75) null,capRap VARCHAR(75) null,provinciaRap VARCHAR(75) null,comuneRap VARCHAR(75) null,albo VARCHAR(75) null,regAlbo VARCHAR(75) null,provAlbo VARCHAR(75) null,numIscrAlbo VARCHAR(75) null,telefono VARCHAR(75) null,fax VARCHAR(75) null,email VARCHAR(75) null,tipologiaSoggetto VARCHAR(75) null,tipologiaProfessione VARCHAR(75) null,aggiuntivo BOOLEAN,sostituito BOOLEAN)"; - public static final String TABLE_SQL_DROP = "drop table gc_soggetto"; - public static final String ORDER_BY_JPQL = " ORDER BY boSoggetto.soggettoId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gc_soggetto.soggettoId ASC"; - public static final String DATA_SOURCE = "datiPortos1DbDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.importazione.model.BoSoggetto"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.importazione.model.BoSoggetto"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.importazione.model.BoSoggetto"), - true); - public static long AGGIUNTIVO_COLUMN_BITMASK = 1L; - public static long COMPANYID_COLUMN_BITMASK = 2L; - public static long DETTPRATICAID_COLUMN_BITMASK = 4L; - public static long GROUPID_COLUMN_BITMASK = 8L; - public static long SOSTITUITO_COLUMN_BITMASK = 16L; - public static long TIPOLOGIAPROFESSIONE_COLUMN_BITMASK = 32L; - public static long UUID_COLUMN_BITMASK = 64L; - public static long SOGGETTOID_COLUMN_BITMASK = 128L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.importazione.model.BoSoggetto")); - - public BoSoggettoModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _soggettoId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setSoggettoId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _soggettoId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return BoSoggetto.class; - } - - @Override - public String getModelClassName() { - return BoSoggetto.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("soggettoId", getSoggettoId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("nome", getNome()); - attributes.put("cognome", getCognome()); - attributes.put("codiceFiscale", getCodiceFiscale()); - attributes.put("codiceFiscaleDelegato", getCodiceFiscaleDelegato()); - attributes.put("dataNascita", getDataNascita()); - attributes.put("comuneNascita", getComuneNascita()); - attributes.put("comuneDomicilio", getComuneDomicilio()); - attributes.put("provinciaDomicilio", getProvinciaDomicilio()); - attributes.put("viaDomicilio", getViaDomicilio()); - attributes.put("numeroCivicoDomicilio", getNumeroCivicoDomicilio()); - attributes.put("capDomicilio", getCapDomicilio()); - attributes.put("domicilioExtra", getDomicilioExtra()); - attributes.put("comune", getComune()); - attributes.put("provincia", getProvincia()); - attributes.put("via", getVia()); - attributes.put("numeroCivico", getNumeroCivico()); - attributes.put("cap", getCap()); - attributes.put("denominazione", getDenominazione()); - attributes.put("sedeLegale", getSedeLegale()); - attributes.put("legaleRap", getLegaleRap()); - attributes.put("dataNascitaRap", getDataNascitaRap()); - attributes.put("comuneNascitaRap", getComuneNascitaRap()); - attributes.put("viaRap", getViaRap()); - attributes.put("numeroCivicoRap", getNumeroCivicoRap()); - attributes.put("capRap", getCapRap()); - attributes.put("provinciaRap", getProvinciaRap()); - attributes.put("comuneRap", getComuneRap()); - attributes.put("albo", getAlbo()); - attributes.put("regAlbo", getRegAlbo()); - attributes.put("provAlbo", getProvAlbo()); - attributes.put("numIscrAlbo", getNumIscrAlbo()); - attributes.put("telefono", getTelefono()); - attributes.put("fax", getFax()); - attributes.put("email", getEmail()); - attributes.put("tipologiaSoggetto", getTipologiaSoggetto()); - attributes.put("tipologiaProfessione", getTipologiaProfessione()); - attributes.put("aggiuntivo", getAggiuntivo()); - attributes.put("sostituito", getSostituito()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long soggettoId = (Long)attributes.get("soggettoId"); - - if (soggettoId != null) { - setSoggettoId(soggettoId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - String nome = (String)attributes.get("nome"); - - if (nome != null) { - setNome(nome); - } - - String cognome = (String)attributes.get("cognome"); - - if (cognome != null) { - setCognome(cognome); - } - - String codiceFiscale = (String)attributes.get("codiceFiscale"); - - if (codiceFiscale != null) { - setCodiceFiscale(codiceFiscale); - } - - String codiceFiscaleDelegato = (String)attributes.get( - "codiceFiscaleDelegato"); - - if (codiceFiscaleDelegato != null) { - setCodiceFiscaleDelegato(codiceFiscaleDelegato); - } - - Date dataNascita = (Date)attributes.get("dataNascita"); - - if (dataNascita != null) { - setDataNascita(dataNascita); - } - - String comuneNascita = (String)attributes.get("comuneNascita"); - - if (comuneNascita != null) { - setComuneNascita(comuneNascita); - } - - String comuneDomicilio = (String)attributes.get("comuneDomicilio"); - - if (comuneDomicilio != null) { - setComuneDomicilio(comuneDomicilio); - } - - String provinciaDomicilio = (String)attributes.get("provinciaDomicilio"); - - if (provinciaDomicilio != null) { - setProvinciaDomicilio(provinciaDomicilio); - } - - String viaDomicilio = (String)attributes.get("viaDomicilio"); - - if (viaDomicilio != null) { - setViaDomicilio(viaDomicilio); - } - - String numeroCivicoDomicilio = (String)attributes.get( - "numeroCivicoDomicilio"); - - if (numeroCivicoDomicilio != null) { - setNumeroCivicoDomicilio(numeroCivicoDomicilio); - } - - String capDomicilio = (String)attributes.get("capDomicilio"); - - if (capDomicilio != null) { - setCapDomicilio(capDomicilio); - } - - String domicilioExtra = (String)attributes.get("domicilioExtra"); - - if (domicilioExtra != null) { - setDomicilioExtra(domicilioExtra); - } - - String comune = (String)attributes.get("comune"); - - if (comune != null) { - setComune(comune); - } - - String provincia = (String)attributes.get("provincia"); - - if (provincia != null) { - setProvincia(provincia); - } - - String via = (String)attributes.get("via"); - - if (via != null) { - setVia(via); - } - - String numeroCivico = (String)attributes.get("numeroCivico"); - - if (numeroCivico != null) { - setNumeroCivico(numeroCivico); - } - - String cap = (String)attributes.get("cap"); - - if (cap != null) { - setCap(cap); - } - - String denominazione = (String)attributes.get("denominazione"); - - if (denominazione != null) { - setDenominazione(denominazione); - } - - String sedeLegale = (String)attributes.get("sedeLegale"); - - if (sedeLegale != null) { - setSedeLegale(sedeLegale); - } - - String legaleRap = (String)attributes.get("legaleRap"); - - if (legaleRap != null) { - setLegaleRap(legaleRap); - } - - Date dataNascitaRap = (Date)attributes.get("dataNascitaRap"); - - if (dataNascitaRap != null) { - setDataNascitaRap(dataNascitaRap); - } - - String comuneNascitaRap = (String)attributes.get("comuneNascitaRap"); - - if (comuneNascitaRap != null) { - setComuneNascitaRap(comuneNascitaRap); - } - - String viaRap = (String)attributes.get("viaRap"); - - if (viaRap != null) { - setViaRap(viaRap); - } - - String numeroCivicoRap = (String)attributes.get("numeroCivicoRap"); - - if (numeroCivicoRap != null) { - setNumeroCivicoRap(numeroCivicoRap); - } - - String capRap = (String)attributes.get("capRap"); - - if (capRap != null) { - setCapRap(capRap); - } - - String provinciaRap = (String)attributes.get("provinciaRap"); - - if (provinciaRap != null) { - setProvinciaRap(provinciaRap); - } - - String comuneRap = (String)attributes.get("comuneRap"); - - if (comuneRap != null) { - setComuneRap(comuneRap); - } - - String albo = (String)attributes.get("albo"); - - if (albo != null) { - setAlbo(albo); - } - - String regAlbo = (String)attributes.get("regAlbo"); - - if (regAlbo != null) { - setRegAlbo(regAlbo); - } - - String provAlbo = (String)attributes.get("provAlbo"); - - if (provAlbo != null) { - setProvAlbo(provAlbo); - } - - String numIscrAlbo = (String)attributes.get("numIscrAlbo"); - - if (numIscrAlbo != null) { - setNumIscrAlbo(numIscrAlbo); - } - - String telefono = (String)attributes.get("telefono"); - - if (telefono != null) { - setTelefono(telefono); - } - - String fax = (String)attributes.get("fax"); - - if (fax != null) { - setFax(fax); - } - - String email = (String)attributes.get("email"); - - if (email != null) { - setEmail(email); - } - - String tipologiaSoggetto = (String)attributes.get("tipologiaSoggetto"); - - if (tipologiaSoggetto != null) { - setTipologiaSoggetto(tipologiaSoggetto); - } - - String tipologiaProfessione = (String)attributes.get( - "tipologiaProfessione"); - - if (tipologiaProfessione != null) { - setTipologiaProfessione(tipologiaProfessione); - } - - Boolean aggiuntivo = (Boolean)attributes.get("aggiuntivo"); - - if (aggiuntivo != null) { - setAggiuntivo(aggiuntivo); - } - - Boolean sostituito = (Boolean)attributes.get("sostituito"); - - if (sostituito != null) { - setSostituito(sostituito); - } - } - - @Override - public String getUuid() { - if (_uuid == null) { - return StringPool.BLANK; - } - else { - return _uuid; - } - } - - @Override - public void setUuid(String uuid) { - if (_originalUuid == null) { - _originalUuid = _uuid; - } - - _uuid = uuid; - } - - public String getOriginalUuid() { - return GetterUtil.getString(_originalUuid); - } - - @Override - public long getSoggettoId() { - return _soggettoId; - } - - @Override - public void setSoggettoId(long soggettoId) { - _soggettoId = soggettoId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _columnBitmask |= COMPANYID_COLUMN_BITMASK; - - if (!_setOriginalCompanyId) { - _setOriginalCompanyId = true; - - _originalCompanyId = _companyId; - } - - _companyId = companyId; - } - - public long getOriginalCompanyId() { - return _originalCompanyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _columnBitmask |= GROUPID_COLUMN_BITMASK; - - if (!_setOriginalGroupId) { - _setOriginalGroupId = true; - - _originalGroupId = _groupId; - } - - _groupId = groupId; - } - - public long getOriginalGroupId() { - return _originalGroupId; - } - - @Override - public long getDettPraticaId() { - return _dettPraticaId; - } - - @Override - public void setDettPraticaId(long dettPraticaId) { - _columnBitmask |= DETTPRATICAID_COLUMN_BITMASK; - - if (!_setOriginalDettPraticaId) { - _setOriginalDettPraticaId = true; - - _originalDettPraticaId = _dettPraticaId; - } - - _dettPraticaId = dettPraticaId; - } - - public long getOriginalDettPraticaId() { - return _originalDettPraticaId; - } - - @Override - public String getNome() { - if (_nome == null) { - return StringPool.BLANK; - } - else { - return _nome; - } - } - - @Override - public void setNome(String nome) { - _nome = nome; - } - - @Override - public String getCognome() { - if (_cognome == null) { - return StringPool.BLANK; - } - else { - return _cognome; - } - } - - @Override - public void setCognome(String cognome) { - _cognome = cognome; - } - - @Override - public String getCodiceFiscale() { - if (_codiceFiscale == null) { - return StringPool.BLANK; - } - else { - return _codiceFiscale; - } - } - - @Override - public void setCodiceFiscale(String codiceFiscale) { - _codiceFiscale = codiceFiscale; - } - - @Override - public String getCodiceFiscaleDelegato() { - if (_codiceFiscaleDelegato == null) { - return StringPool.BLANK; - } - else { - return _codiceFiscaleDelegato; - } - } - - @Override - public void setCodiceFiscaleDelegato(String codiceFiscaleDelegato) { - _codiceFiscaleDelegato = codiceFiscaleDelegato; - } - - @Override - public Date getDataNascita() { - return _dataNascita; - } - - @Override - public void setDataNascita(Date dataNascita) { - _dataNascita = dataNascita; - } - - @Override - public String getComuneNascita() { - if (_comuneNascita == null) { - return StringPool.BLANK; - } - else { - return _comuneNascita; - } - } - - @Override - public void setComuneNascita(String comuneNascita) { - _comuneNascita = comuneNascita; - } - - @Override - public String getComuneDomicilio() { - if (_comuneDomicilio == null) { - return StringPool.BLANK; - } - else { - return _comuneDomicilio; - } - } - - @Override - public void setComuneDomicilio(String comuneDomicilio) { - _comuneDomicilio = comuneDomicilio; - } - - @Override - public String getProvinciaDomicilio() { - if (_provinciaDomicilio == null) { - return StringPool.BLANK; - } - else { - return _provinciaDomicilio; - } - } - - @Override - public void setProvinciaDomicilio(String provinciaDomicilio) { - _provinciaDomicilio = provinciaDomicilio; - } - - @Override - public String getViaDomicilio() { - if (_viaDomicilio == null) { - return StringPool.BLANK; - } - else { - return _viaDomicilio; - } - } - - @Override - public void setViaDomicilio(String viaDomicilio) { - _viaDomicilio = viaDomicilio; - } - - @Override - public String getNumeroCivicoDomicilio() { - if (_numeroCivicoDomicilio == null) { - return StringPool.BLANK; - } - else { - return _numeroCivicoDomicilio; - } - } - - @Override - public void setNumeroCivicoDomicilio(String numeroCivicoDomicilio) { - _numeroCivicoDomicilio = numeroCivicoDomicilio; - } - - @Override - public String getCapDomicilio() { - if (_capDomicilio == null) { - return StringPool.BLANK; - } - else { - return _capDomicilio; - } - } - - @Override - public void setCapDomicilio(String capDomicilio) { - _capDomicilio = capDomicilio; - } - - @Override - public String getDomicilioExtra() { - if (_domicilioExtra == null) { - return StringPool.BLANK; - } - else { - return _domicilioExtra; - } - } - - @Override - public void setDomicilioExtra(String domicilioExtra) { - _domicilioExtra = domicilioExtra; - } - - @Override - public String getComune() { - if (_comune == null) { - return StringPool.BLANK; - } - else { - return _comune; - } - } - - @Override - public void setComune(String comune) { - _comune = comune; - } - - @Override - public String getProvincia() { - if (_provincia == null) { - return StringPool.BLANK; - } - else { - return _provincia; - } - } - - @Override - public void setProvincia(String provincia) { - _provincia = provincia; - } - - @Override - public String getVia() { - if (_via == null) { - return StringPool.BLANK; - } - else { - return _via; - } - } - - @Override - public void setVia(String via) { - _via = via; - } - - @Override - public String getNumeroCivico() { - if (_numeroCivico == null) { - return StringPool.BLANK; - } - else { - return _numeroCivico; - } - } - - @Override - public void setNumeroCivico(String numeroCivico) { - _numeroCivico = numeroCivico; - } - - @Override - public String getCap() { - if (_cap == null) { - return StringPool.BLANK; - } - else { - return _cap; - } - } - - @Override - public void setCap(String cap) { - _cap = cap; - } - - @Override - public String getDenominazione() { - if (_denominazione == null) { - return StringPool.BLANK; - } - else { - return _denominazione; - } - } - - @Override - public void setDenominazione(String denominazione) { - _denominazione = denominazione; - } - - @Override - public String getSedeLegale() { - if (_sedeLegale == null) { - return StringPool.BLANK; - } - else { - return _sedeLegale; - } - } - - @Override - public void setSedeLegale(String sedeLegale) { - _sedeLegale = sedeLegale; - } - - @Override - public String getLegaleRap() { - if (_legaleRap == null) { - return StringPool.BLANK; - } - else { - return _legaleRap; - } - } - - @Override - public void setLegaleRap(String legaleRap) { - _legaleRap = legaleRap; - } - - @Override - public Date getDataNascitaRap() { - return _dataNascitaRap; - } - - @Override - public void setDataNascitaRap(Date dataNascitaRap) { - _dataNascitaRap = dataNascitaRap; - } - - @Override - public String getComuneNascitaRap() { - if (_comuneNascitaRap == null) { - return StringPool.BLANK; - } - else { - return _comuneNascitaRap; - } - } - - @Override - public void setComuneNascitaRap(String comuneNascitaRap) { - _comuneNascitaRap = comuneNascitaRap; - } - - @Override - public String getViaRap() { - if (_viaRap == null) { - return StringPool.BLANK; - } - else { - return _viaRap; - } - } - - @Override - public void setViaRap(String viaRap) { - _viaRap = viaRap; - } - - @Override - public String getNumeroCivicoRap() { - if (_numeroCivicoRap == null) { - return StringPool.BLANK; - } - else { - return _numeroCivicoRap; - } - } - - @Override - public void setNumeroCivicoRap(String numeroCivicoRap) { - _numeroCivicoRap = numeroCivicoRap; - } - - @Override - public String getCapRap() { - if (_capRap == null) { - return StringPool.BLANK; - } - else { - return _capRap; - } - } - - @Override - public void setCapRap(String capRap) { - _capRap = capRap; - } - - @Override - public String getProvinciaRap() { - if (_provinciaRap == null) { - return StringPool.BLANK; - } - else { - return _provinciaRap; - } - } - - @Override - public void setProvinciaRap(String provinciaRap) { - _provinciaRap = provinciaRap; - } - - @Override - public String getComuneRap() { - if (_comuneRap == null) { - return StringPool.BLANK; - } - else { - return _comuneRap; - } - } - - @Override - public void setComuneRap(String comuneRap) { - _comuneRap = comuneRap; - } - - @Override - public String getAlbo() { - if (_albo == null) { - return StringPool.BLANK; - } - else { - return _albo; - } - } - - @Override - public void setAlbo(String albo) { - _albo = albo; - } - - @Override - public String getRegAlbo() { - if (_regAlbo == null) { - return StringPool.BLANK; - } - else { - return _regAlbo; - } - } - - @Override - public void setRegAlbo(String regAlbo) { - _regAlbo = regAlbo; - } - - @Override - public String getProvAlbo() { - if (_provAlbo == null) { - return StringPool.BLANK; - } - else { - return _provAlbo; - } - } - - @Override - public void setProvAlbo(String provAlbo) { - _provAlbo = provAlbo; - } - - @Override - public String getNumIscrAlbo() { - if (_numIscrAlbo == null) { - return StringPool.BLANK; - } - else { - return _numIscrAlbo; - } - } - - @Override - public void setNumIscrAlbo(String numIscrAlbo) { - _numIscrAlbo = numIscrAlbo; - } - - @Override - public String getTelefono() { - if (_telefono == null) { - return StringPool.BLANK; - } - else { - return _telefono; - } - } - - @Override - public void setTelefono(String telefono) { - _telefono = telefono; - } - - @Override - public String getFax() { - if (_fax == null) { - return StringPool.BLANK; - } - else { - return _fax; - } - } - - @Override - public void setFax(String fax) { - _fax = fax; - } - - @Override - public String getEmail() { - if (_email == null) { - return StringPool.BLANK; - } - else { - return _email; - } - } - - @Override - public void setEmail(String email) { - _email = email; - } - - @Override - public String getTipologiaSoggetto() { - if (_tipologiaSoggetto == null) { - return StringPool.BLANK; - } - else { - return _tipologiaSoggetto; - } - } - - @Override - public void setTipologiaSoggetto(String tipologiaSoggetto) { - _tipologiaSoggetto = tipologiaSoggetto; - } - - @Override - public String getTipologiaProfessione() { - if (_tipologiaProfessione == null) { - return StringPool.BLANK; - } - else { - return _tipologiaProfessione; - } - } - - @Override - public void setTipologiaProfessione(String tipologiaProfessione) { - _columnBitmask |= TIPOLOGIAPROFESSIONE_COLUMN_BITMASK; - - if (_originalTipologiaProfessione == null) { - _originalTipologiaProfessione = _tipologiaProfessione; - } - - _tipologiaProfessione = tipologiaProfessione; - } - - public String getOriginalTipologiaProfessione() { - return GetterUtil.getString(_originalTipologiaProfessione); - } - - @Override - public boolean getAggiuntivo() { - return _aggiuntivo; - } - - @Override - public boolean isAggiuntivo() { - return _aggiuntivo; - } - - @Override - public void setAggiuntivo(boolean aggiuntivo) { - _columnBitmask |= AGGIUNTIVO_COLUMN_BITMASK; - - if (!_setOriginalAggiuntivo) { - _setOriginalAggiuntivo = true; - - _originalAggiuntivo = _aggiuntivo; - } - - _aggiuntivo = aggiuntivo; - } - - public boolean getOriginalAggiuntivo() { - return _originalAggiuntivo; - } - - @Override - public boolean getSostituito() { - return _sostituito; - } - - @Override - public boolean isSostituito() { - return _sostituito; - } - - @Override - public void setSostituito(boolean sostituito) { - _columnBitmask |= SOSTITUITO_COLUMN_BITMASK; - - if (!_setOriginalSostituito) { - _setOriginalSostituito = true; - - _originalSostituito = _sostituito; - } - - _sostituito = sostituito; - } - - public boolean getOriginalSostituito() { - return _originalSostituito; - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoSoggetto.class.getName())); - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - BoSoggetto.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public BoSoggetto toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (BoSoggetto)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - BoSoggettoImpl boSoggettoImpl = new BoSoggettoImpl(); - - boSoggettoImpl.setUuid(getUuid()); - boSoggettoImpl.setSoggettoId(getSoggettoId()); - boSoggettoImpl.setCompanyId(getCompanyId()); - boSoggettoImpl.setUserId(getUserId()); - boSoggettoImpl.setUserName(getUserName()); - boSoggettoImpl.setCreateDate(getCreateDate()); - boSoggettoImpl.setModifiedDate(getModifiedDate()); - boSoggettoImpl.setGroupId(getGroupId()); - boSoggettoImpl.setDettPraticaId(getDettPraticaId()); - boSoggettoImpl.setNome(getNome()); - boSoggettoImpl.setCognome(getCognome()); - boSoggettoImpl.setCodiceFiscale(getCodiceFiscale()); - boSoggettoImpl.setCodiceFiscaleDelegato(getCodiceFiscaleDelegato()); - boSoggettoImpl.setDataNascita(getDataNascita()); - boSoggettoImpl.setComuneNascita(getComuneNascita()); - boSoggettoImpl.setComuneDomicilio(getComuneDomicilio()); - boSoggettoImpl.setProvinciaDomicilio(getProvinciaDomicilio()); - boSoggettoImpl.setViaDomicilio(getViaDomicilio()); - boSoggettoImpl.setNumeroCivicoDomicilio(getNumeroCivicoDomicilio()); - boSoggettoImpl.setCapDomicilio(getCapDomicilio()); - boSoggettoImpl.setDomicilioExtra(getDomicilioExtra()); - boSoggettoImpl.setComune(getComune()); - boSoggettoImpl.setProvincia(getProvincia()); - boSoggettoImpl.setVia(getVia()); - boSoggettoImpl.setNumeroCivico(getNumeroCivico()); - boSoggettoImpl.setCap(getCap()); - boSoggettoImpl.setDenominazione(getDenominazione()); - boSoggettoImpl.setSedeLegale(getSedeLegale()); - boSoggettoImpl.setLegaleRap(getLegaleRap()); - boSoggettoImpl.setDataNascitaRap(getDataNascitaRap()); - boSoggettoImpl.setComuneNascitaRap(getComuneNascitaRap()); - boSoggettoImpl.setViaRap(getViaRap()); - boSoggettoImpl.setNumeroCivicoRap(getNumeroCivicoRap()); - boSoggettoImpl.setCapRap(getCapRap()); - boSoggettoImpl.setProvinciaRap(getProvinciaRap()); - boSoggettoImpl.setComuneRap(getComuneRap()); - boSoggettoImpl.setAlbo(getAlbo()); - boSoggettoImpl.setRegAlbo(getRegAlbo()); - boSoggettoImpl.setProvAlbo(getProvAlbo()); - boSoggettoImpl.setNumIscrAlbo(getNumIscrAlbo()); - boSoggettoImpl.setTelefono(getTelefono()); - boSoggettoImpl.setFax(getFax()); - boSoggettoImpl.setEmail(getEmail()); - boSoggettoImpl.setTipologiaSoggetto(getTipologiaSoggetto()); - boSoggettoImpl.setTipologiaProfessione(getTipologiaProfessione()); - boSoggettoImpl.setAggiuntivo(getAggiuntivo()); - boSoggettoImpl.setSostituito(getSostituito()); - - boSoggettoImpl.resetOriginalValues(); - - return boSoggettoImpl; - } - - @Override - public int compareTo(BoSoggetto boSoggetto) { - long primaryKey = boSoggetto.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoSoggetto)) { - return false; - } - - BoSoggetto boSoggetto = (BoSoggetto)obj; - - long primaryKey = boSoggetto.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - BoSoggettoModelImpl boSoggettoModelImpl = this; - - boSoggettoModelImpl._originalUuid = boSoggettoModelImpl._uuid; - - boSoggettoModelImpl._originalCompanyId = boSoggettoModelImpl._companyId; - - boSoggettoModelImpl._setOriginalCompanyId = false; - - boSoggettoModelImpl._originalGroupId = boSoggettoModelImpl._groupId; - - boSoggettoModelImpl._setOriginalGroupId = false; - - boSoggettoModelImpl._originalDettPraticaId = boSoggettoModelImpl._dettPraticaId; - - boSoggettoModelImpl._setOriginalDettPraticaId = false; - - boSoggettoModelImpl._originalTipologiaProfessione = boSoggettoModelImpl._tipologiaProfessione; - - boSoggettoModelImpl._originalAggiuntivo = boSoggettoModelImpl._aggiuntivo; - - boSoggettoModelImpl._setOriginalAggiuntivo = false; - - boSoggettoModelImpl._originalSostituito = boSoggettoModelImpl._sostituito; - - boSoggettoModelImpl._setOriginalSostituito = false; - - boSoggettoModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - BoSoggettoCacheModel boSoggettoCacheModel = new BoSoggettoCacheModel(); - - boSoggettoCacheModel.uuid = getUuid(); - - String uuid = boSoggettoCacheModel.uuid; - - if ((uuid != null) && (uuid.length() == 0)) { - boSoggettoCacheModel.uuid = null; - } - - boSoggettoCacheModel.soggettoId = getSoggettoId(); - - boSoggettoCacheModel.companyId = getCompanyId(); - - boSoggettoCacheModel.userId = getUserId(); - - boSoggettoCacheModel.userName = getUserName(); - - String userName = boSoggettoCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - boSoggettoCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - boSoggettoCacheModel.createDate = createDate.getTime(); - } - else { - boSoggettoCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - boSoggettoCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - boSoggettoCacheModel.modifiedDate = Long.MIN_VALUE; - } - - boSoggettoCacheModel.groupId = getGroupId(); - - boSoggettoCacheModel.dettPraticaId = getDettPraticaId(); - - boSoggettoCacheModel.nome = getNome(); - - String nome = boSoggettoCacheModel.nome; - - if ((nome != null) && (nome.length() == 0)) { - boSoggettoCacheModel.nome = null; - } - - boSoggettoCacheModel.cognome = getCognome(); - - String cognome = boSoggettoCacheModel.cognome; - - if ((cognome != null) && (cognome.length() == 0)) { - boSoggettoCacheModel.cognome = null; - } - - boSoggettoCacheModel.codiceFiscale = getCodiceFiscale(); - - String codiceFiscale = boSoggettoCacheModel.codiceFiscale; - - if ((codiceFiscale != null) && (codiceFiscale.length() == 0)) { - boSoggettoCacheModel.codiceFiscale = null; - } - - boSoggettoCacheModel.codiceFiscaleDelegato = getCodiceFiscaleDelegato(); - - String codiceFiscaleDelegato = boSoggettoCacheModel.codiceFiscaleDelegato; - - if ((codiceFiscaleDelegato != null) && - (codiceFiscaleDelegato.length() == 0)) { - boSoggettoCacheModel.codiceFiscaleDelegato = null; - } - - Date dataNascita = getDataNascita(); - - if (dataNascita != null) { - boSoggettoCacheModel.dataNascita = dataNascita.getTime(); - } - else { - boSoggettoCacheModel.dataNascita = Long.MIN_VALUE; - } - - boSoggettoCacheModel.comuneNascita = getComuneNascita(); - - String comuneNascita = boSoggettoCacheModel.comuneNascita; - - if ((comuneNascita != null) && (comuneNascita.length() == 0)) { - boSoggettoCacheModel.comuneNascita = null; - } - - boSoggettoCacheModel.comuneDomicilio = getComuneDomicilio(); - - String comuneDomicilio = boSoggettoCacheModel.comuneDomicilio; - - if ((comuneDomicilio != null) && (comuneDomicilio.length() == 0)) { - boSoggettoCacheModel.comuneDomicilio = null; - } - - boSoggettoCacheModel.provinciaDomicilio = getProvinciaDomicilio(); - - String provinciaDomicilio = boSoggettoCacheModel.provinciaDomicilio; - - if ((provinciaDomicilio != null) && (provinciaDomicilio.length() == 0)) { - boSoggettoCacheModel.provinciaDomicilio = null; - } - - boSoggettoCacheModel.viaDomicilio = getViaDomicilio(); - - String viaDomicilio = boSoggettoCacheModel.viaDomicilio; - - if ((viaDomicilio != null) && (viaDomicilio.length() == 0)) { - boSoggettoCacheModel.viaDomicilio = null; - } - - boSoggettoCacheModel.numeroCivicoDomicilio = getNumeroCivicoDomicilio(); - - String numeroCivicoDomicilio = boSoggettoCacheModel.numeroCivicoDomicilio; - - if ((numeroCivicoDomicilio != null) && - (numeroCivicoDomicilio.length() == 0)) { - boSoggettoCacheModel.numeroCivicoDomicilio = null; - } - - boSoggettoCacheModel.capDomicilio = getCapDomicilio(); - - String capDomicilio = boSoggettoCacheModel.capDomicilio; - - if ((capDomicilio != null) && (capDomicilio.length() == 0)) { - boSoggettoCacheModel.capDomicilio = null; - } - - boSoggettoCacheModel.domicilioExtra = getDomicilioExtra(); - - String domicilioExtra = boSoggettoCacheModel.domicilioExtra; - - if ((domicilioExtra != null) && (domicilioExtra.length() == 0)) { - boSoggettoCacheModel.domicilioExtra = null; - } - - boSoggettoCacheModel.comune = getComune(); - - String comune = boSoggettoCacheModel.comune; - - if ((comune != null) && (comune.length() == 0)) { - boSoggettoCacheModel.comune = null; - } - - boSoggettoCacheModel.provincia = getProvincia(); - - String provincia = boSoggettoCacheModel.provincia; - - if ((provincia != null) && (provincia.length() == 0)) { - boSoggettoCacheModel.provincia = null; - } - - boSoggettoCacheModel.via = getVia(); - - String via = boSoggettoCacheModel.via; - - if ((via != null) && (via.length() == 0)) { - boSoggettoCacheModel.via = null; - } - - boSoggettoCacheModel.numeroCivico = getNumeroCivico(); - - String numeroCivico = boSoggettoCacheModel.numeroCivico; - - if ((numeroCivico != null) && (numeroCivico.length() == 0)) { - boSoggettoCacheModel.numeroCivico = null; - } - - boSoggettoCacheModel.cap = getCap(); - - String cap = boSoggettoCacheModel.cap; - - if ((cap != null) && (cap.length() == 0)) { - boSoggettoCacheModel.cap = null; - } - - boSoggettoCacheModel.denominazione = getDenominazione(); - - String denominazione = boSoggettoCacheModel.denominazione; - - if ((denominazione != null) && (denominazione.length() == 0)) { - boSoggettoCacheModel.denominazione = null; - } - - boSoggettoCacheModel.sedeLegale = getSedeLegale(); - - String sedeLegale = boSoggettoCacheModel.sedeLegale; - - if ((sedeLegale != null) && (sedeLegale.length() == 0)) { - boSoggettoCacheModel.sedeLegale = null; - } - - boSoggettoCacheModel.legaleRap = getLegaleRap(); - - String legaleRap = boSoggettoCacheModel.legaleRap; - - if ((legaleRap != null) && (legaleRap.length() == 0)) { - boSoggettoCacheModel.legaleRap = null; - } - - Date dataNascitaRap = getDataNascitaRap(); - - if (dataNascitaRap != null) { - boSoggettoCacheModel.dataNascitaRap = dataNascitaRap.getTime(); - } - else { - boSoggettoCacheModel.dataNascitaRap = Long.MIN_VALUE; - } - - boSoggettoCacheModel.comuneNascitaRap = getComuneNascitaRap(); - - String comuneNascitaRap = boSoggettoCacheModel.comuneNascitaRap; - - if ((comuneNascitaRap != null) && (comuneNascitaRap.length() == 0)) { - boSoggettoCacheModel.comuneNascitaRap = null; - } - - boSoggettoCacheModel.viaRap = getViaRap(); - - String viaRap = boSoggettoCacheModel.viaRap; - - if ((viaRap != null) && (viaRap.length() == 0)) { - boSoggettoCacheModel.viaRap = null; - } - - boSoggettoCacheModel.numeroCivicoRap = getNumeroCivicoRap(); - - String numeroCivicoRap = boSoggettoCacheModel.numeroCivicoRap; - - if ((numeroCivicoRap != null) && (numeroCivicoRap.length() == 0)) { - boSoggettoCacheModel.numeroCivicoRap = null; - } - - boSoggettoCacheModel.capRap = getCapRap(); - - String capRap = boSoggettoCacheModel.capRap; - - if ((capRap != null) && (capRap.length() == 0)) { - boSoggettoCacheModel.capRap = null; - } - - boSoggettoCacheModel.provinciaRap = getProvinciaRap(); - - String provinciaRap = boSoggettoCacheModel.provinciaRap; - - if ((provinciaRap != null) && (provinciaRap.length() == 0)) { - boSoggettoCacheModel.provinciaRap = null; - } - - boSoggettoCacheModel.comuneRap = getComuneRap(); - - String comuneRap = boSoggettoCacheModel.comuneRap; - - if ((comuneRap != null) && (comuneRap.length() == 0)) { - boSoggettoCacheModel.comuneRap = null; - } - - boSoggettoCacheModel.albo = getAlbo(); - - String albo = boSoggettoCacheModel.albo; - - if ((albo != null) && (albo.length() == 0)) { - boSoggettoCacheModel.albo = null; - } - - boSoggettoCacheModel.regAlbo = getRegAlbo(); - - String regAlbo = boSoggettoCacheModel.regAlbo; - - if ((regAlbo != null) && (regAlbo.length() == 0)) { - boSoggettoCacheModel.regAlbo = null; - } - - boSoggettoCacheModel.provAlbo = getProvAlbo(); - - String provAlbo = boSoggettoCacheModel.provAlbo; - - if ((provAlbo != null) && (provAlbo.length() == 0)) { - boSoggettoCacheModel.provAlbo = null; - } - - boSoggettoCacheModel.numIscrAlbo = getNumIscrAlbo(); - - String numIscrAlbo = boSoggettoCacheModel.numIscrAlbo; - - if ((numIscrAlbo != null) && (numIscrAlbo.length() == 0)) { - boSoggettoCacheModel.numIscrAlbo = null; - } - - boSoggettoCacheModel.telefono = getTelefono(); - - String telefono = boSoggettoCacheModel.telefono; - - if ((telefono != null) && (telefono.length() == 0)) { - boSoggettoCacheModel.telefono = null; - } - - boSoggettoCacheModel.fax = getFax(); - - String fax = boSoggettoCacheModel.fax; - - if ((fax != null) && (fax.length() == 0)) { - boSoggettoCacheModel.fax = null; - } - - boSoggettoCacheModel.email = getEmail(); - - String email = boSoggettoCacheModel.email; - - if ((email != null) && (email.length() == 0)) { - boSoggettoCacheModel.email = null; - } - - boSoggettoCacheModel.tipologiaSoggetto = getTipologiaSoggetto(); - - String tipologiaSoggetto = boSoggettoCacheModel.tipologiaSoggetto; - - if ((tipologiaSoggetto != null) && (tipologiaSoggetto.length() == 0)) { - boSoggettoCacheModel.tipologiaSoggetto = null; - } - - boSoggettoCacheModel.tipologiaProfessione = getTipologiaProfessione(); - - String tipologiaProfessione = boSoggettoCacheModel.tipologiaProfessione; - - if ((tipologiaProfessione != null) && - (tipologiaProfessione.length() == 0)) { - boSoggettoCacheModel.tipologiaProfessione = null; - } - - boSoggettoCacheModel.aggiuntivo = getAggiuntivo(); - - boSoggettoCacheModel.sostituito = getSostituito(); - - return boSoggettoCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(95); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", soggettoId="); - sb.append(getSoggettoId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", dettPraticaId="); - sb.append(getDettPraticaId()); - sb.append(", nome="); - sb.append(getNome()); - sb.append(", cognome="); - sb.append(getCognome()); - sb.append(", codiceFiscale="); - sb.append(getCodiceFiscale()); - sb.append(", codiceFiscaleDelegato="); - sb.append(getCodiceFiscaleDelegato()); - sb.append(", dataNascita="); - sb.append(getDataNascita()); - sb.append(", comuneNascita="); - sb.append(getComuneNascita()); - sb.append(", comuneDomicilio="); - sb.append(getComuneDomicilio()); - sb.append(", provinciaDomicilio="); - sb.append(getProvinciaDomicilio()); - sb.append(", viaDomicilio="); - sb.append(getViaDomicilio()); - sb.append(", numeroCivicoDomicilio="); - sb.append(getNumeroCivicoDomicilio()); - sb.append(", capDomicilio="); - sb.append(getCapDomicilio()); - sb.append(", domicilioExtra="); - sb.append(getDomicilioExtra()); - sb.append(", comune="); - sb.append(getComune()); - sb.append(", provincia="); - sb.append(getProvincia()); - sb.append(", via="); - sb.append(getVia()); - sb.append(", numeroCivico="); - sb.append(getNumeroCivico()); - sb.append(", cap="); - sb.append(getCap()); - sb.append(", denominazione="); - sb.append(getDenominazione()); - sb.append(", sedeLegale="); - sb.append(getSedeLegale()); - sb.append(", legaleRap="); - sb.append(getLegaleRap()); - sb.append(", dataNascitaRap="); - sb.append(getDataNascitaRap()); - sb.append(", comuneNascitaRap="); - sb.append(getComuneNascitaRap()); - sb.append(", viaRap="); - sb.append(getViaRap()); - sb.append(", numeroCivicoRap="); - sb.append(getNumeroCivicoRap()); - sb.append(", capRap="); - sb.append(getCapRap()); - sb.append(", provinciaRap="); - sb.append(getProvinciaRap()); - sb.append(", comuneRap="); - sb.append(getComuneRap()); - sb.append(", albo="); - sb.append(getAlbo()); - sb.append(", regAlbo="); - sb.append(getRegAlbo()); - sb.append(", provAlbo="); - sb.append(getProvAlbo()); - sb.append(", numIscrAlbo="); - sb.append(getNumIscrAlbo()); - sb.append(", telefono="); - sb.append(getTelefono()); - sb.append(", fax="); - sb.append(getFax()); - sb.append(", email="); - sb.append(getEmail()); - sb.append(", tipologiaSoggetto="); - sb.append(getTipologiaSoggetto()); - sb.append(", tipologiaProfessione="); - sb.append(getTipologiaProfessione()); - sb.append(", aggiuntivo="); - sb.append(getAggiuntivo()); - sb.append(", sostituito="); - sb.append(getSostituito()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(145); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.BoSoggetto"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "soggettoId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "dettPraticaId"); - sb.append( - "nome"); - sb.append( - "cognome"); - sb.append( - "codiceFiscale"); - sb.append( - "codiceFiscaleDelegato"); - sb.append( - "dataNascita"); - sb.append( - "comuneNascita"); - sb.append( - "comuneDomicilio"); - sb.append( - "provinciaDomicilio"); - sb.append( - "viaDomicilio"); - sb.append( - "numeroCivicoDomicilio"); - sb.append( - "capDomicilio"); - sb.append( - "domicilioExtra"); - sb.append( - "comune"); - sb.append( - "provincia"); - sb.append( - "via"); - sb.append( - "numeroCivico"); - sb.append( - "cap"); - sb.append( - "denominazione"); - sb.append( - "sedeLegale"); - sb.append( - "legaleRap"); - sb.append( - "dataNascitaRap"); - sb.append( - "comuneNascitaRap"); - sb.append( - "viaRap"); - sb.append( - "numeroCivicoRap"); - sb.append( - "capRap"); - sb.append( - "provinciaRap"); - sb.append( - "comuneRap"); - sb.append( - "albo"); - sb.append( - "regAlbo"); - sb.append( - "provAlbo"); - sb.append( - "numIscrAlbo"); - sb.append( - "telefono"); - sb.append( - "fax"); - sb.append( - "email"); - sb.append( - "tipologiaSoggetto"); - sb.append( - "tipologiaProfessione"); - sb.append( - "aggiuntivo"); - sb.append( - "sostituito"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = BoSoggetto.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - BoSoggetto.class - }; - private String _uuid; - private String _originalUuid; - private long _soggettoId; - private long _companyId; - private long _originalCompanyId; - private boolean _setOriginalCompanyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _originalGroupId; - private boolean _setOriginalGroupId; - private long _dettPraticaId; - private long _originalDettPraticaId; - private boolean _setOriginalDettPraticaId; - private String _nome; - private String _cognome; - private String _codiceFiscale; - private String _codiceFiscaleDelegato; - private Date _dataNascita; - private String _comuneNascita; - private String _comuneDomicilio; - private String _provinciaDomicilio; - private String _viaDomicilio; - private String _numeroCivicoDomicilio; - private String _capDomicilio; - private String _domicilioExtra; - private String _comune; - private String _provincia; - private String _via; - private String _numeroCivico; - private String _cap; - private String _denominazione; - private String _sedeLegale; - private String _legaleRap; - private Date _dataNascitaRap; - private String _comuneNascitaRap; - private String _viaRap; - private String _numeroCivicoRap; - private String _capRap; - private String _provinciaRap; - private String _comuneRap; - private String _albo; - private String _regAlbo; - private String _provAlbo; - private String _numIscrAlbo; - private String _telefono; - private String _fax; - private String _email; - private String _tipologiaSoggetto; - private String _tipologiaProfessione; - private String _originalTipologiaProfessione; - private boolean _aggiuntivo; - private boolean _originalAggiuntivo; - private boolean _setOriginalAggiuntivo; - private boolean _sostituito; - private boolean _originalSostituito; - private boolean _setOriginalSostituito; - private long _columnBitmask; - private BoSoggetto _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoSorteggioBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoSorteggioBaseImpl.java deleted file mode 100644 index ab148e58..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoSorteggioBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.BoSorteggio; -import it.tref.liferay.portos.importazione.service.BoSorteggioLocalServiceUtil; - -/** - * The extended model base implementation for the BoSorteggio service. Represents a row in the "gc_sorteggio" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoSorteggioImpl}. - *

- * - * @author 3FC - * @see BoSorteggioImpl - * @see it.tref.liferay.portos.importazione.model.BoSorteggio - * @generated - */ -public abstract class BoSorteggioBaseImpl extends BoSorteggioModelImpl - implements BoSorteggio { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo sorteggio model instance should use the {@link BoSorteggio} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoSorteggioLocalServiceUtil.addBoSorteggio(this); - } - else { - BoSorteggioLocalServiceUtil.updateBoSorteggio(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoSorteggioCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoSorteggioCacheModel.java deleted file mode 100644 index 974d42c5..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoSorteggioCacheModel.java +++ /dev/null @@ -1,436 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.importazione.model.BoSorteggio; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing BoSorteggio in entity cache. - * - * @author 3FC - * @see BoSorteggio - * @generated - */ -public class BoSorteggioCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(57); - - sb.append("{uuid="); - sb.append(uuid); - sb.append(", sorteggioId="); - sb.append(sorteggioId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", status="); - sb.append(status); - sb.append(", statusByUserId="); - sb.append(statusByUserId); - sb.append(", statusByUserName="); - sb.append(statusByUserName); - sb.append(", statusDate="); - sb.append(statusDate); - sb.append(", dettPraticaId="); - sb.append(dettPraticaId); - sb.append(", note="); - sb.append(note); - sb.append(", anno="); - sb.append(anno); - sb.append(", mese="); - sb.append(mese); - sb.append(", dtSorteggio="); - sb.append(dtSorteggio); - sb.append(", stato="); - sb.append(stato); - sb.append(", dettagli="); - sb.append(dettagli); - sb.append(", numeroEstrazione="); - sb.append(numeroEstrazione); - sb.append(", pratica="); - sb.append(pratica); - sb.append(", committente="); - sb.append(committente); - sb.append(", comune="); - sb.append(comune); - sb.append(", provincia="); - sb.append(provincia); - sb.append(", tecnico="); - sb.append(tecnico); - sb.append(", mesePrecedente="); - sb.append(mesePrecedente); - sb.append(", esterna="); - sb.append(esterna); - sb.append(", praticaEsternaId="); - sb.append(praticaEsternaId); - sb.append("}"); - - return sb.toString(); - } - - @Override - public BoSorteggio toEntityModel() { - BoSorteggioImpl boSorteggioImpl = new BoSorteggioImpl(); - - if (uuid == null) { - boSorteggioImpl.setUuid(StringPool.BLANK); - } - else { - boSorteggioImpl.setUuid(uuid); - } - - boSorteggioImpl.setSorteggioId(sorteggioId); - boSorteggioImpl.setCompanyId(companyId); - boSorteggioImpl.setUserId(userId); - - if (userName == null) { - boSorteggioImpl.setUserName(StringPool.BLANK); - } - else { - boSorteggioImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - boSorteggioImpl.setCreateDate(null); - } - else { - boSorteggioImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - boSorteggioImpl.setModifiedDate(null); - } - else { - boSorteggioImpl.setModifiedDate(new Date(modifiedDate)); - } - - boSorteggioImpl.setGroupId(groupId); - boSorteggioImpl.setStatus(status); - boSorteggioImpl.setStatusByUserId(statusByUserId); - - if (statusByUserName == null) { - boSorteggioImpl.setStatusByUserName(StringPool.BLANK); - } - else { - boSorteggioImpl.setStatusByUserName(statusByUserName); - } - - if (statusDate == Long.MIN_VALUE) { - boSorteggioImpl.setStatusDate(null); - } - else { - boSorteggioImpl.setStatusDate(new Date(statusDate)); - } - - boSorteggioImpl.setDettPraticaId(dettPraticaId); - - if (note == null) { - boSorteggioImpl.setNote(StringPool.BLANK); - } - else { - boSorteggioImpl.setNote(note); - } - - if (anno == null) { - boSorteggioImpl.setAnno(StringPool.BLANK); - } - else { - boSorteggioImpl.setAnno(anno); - } - - if (mese == null) { - boSorteggioImpl.setMese(StringPool.BLANK); - } - else { - boSorteggioImpl.setMese(mese); - } - - if (dtSorteggio == Long.MIN_VALUE) { - boSorteggioImpl.setDtSorteggio(null); - } - else { - boSorteggioImpl.setDtSorteggio(new Date(dtSorteggio)); - } - - if (stato == null) { - boSorteggioImpl.setStato(StringPool.BLANK); - } - else { - boSorteggioImpl.setStato(stato); - } - - if (dettagli == null) { - boSorteggioImpl.setDettagli(StringPool.BLANK); - } - else { - boSorteggioImpl.setDettagli(dettagli); - } - - boSorteggioImpl.setNumeroEstrazione(numeroEstrazione); - - if (pratica == null) { - boSorteggioImpl.setPratica(StringPool.BLANK); - } - else { - boSorteggioImpl.setPratica(pratica); - } - - if (committente == null) { - boSorteggioImpl.setCommittente(StringPool.BLANK); - } - else { - boSorteggioImpl.setCommittente(committente); - } - - if (comune == null) { - boSorteggioImpl.setComune(StringPool.BLANK); - } - else { - boSorteggioImpl.setComune(comune); - } - - if (provincia == null) { - boSorteggioImpl.setProvincia(StringPool.BLANK); - } - else { - boSorteggioImpl.setProvincia(provincia); - } - - if (tecnico == null) { - boSorteggioImpl.setTecnico(StringPool.BLANK); - } - else { - boSorteggioImpl.setTecnico(tecnico); - } - - if (mesePrecedente == null) { - boSorteggioImpl.setMesePrecedente(StringPool.BLANK); - } - else { - boSorteggioImpl.setMesePrecedente(mesePrecedente); - } - - boSorteggioImpl.setEsterna(esterna); - boSorteggioImpl.setPraticaEsternaId(praticaEsternaId); - - boSorteggioImpl.resetOriginalValues(); - - return boSorteggioImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - uuid = objectInput.readUTF(); - sorteggioId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - groupId = objectInput.readLong(); - status = objectInput.readInt(); - statusByUserId = objectInput.readLong(); - statusByUserName = objectInput.readUTF(); - statusDate = objectInput.readLong(); - dettPraticaId = objectInput.readLong(); - note = objectInput.readUTF(); - anno = objectInput.readUTF(); - mese = objectInput.readUTF(); - dtSorteggio = objectInput.readLong(); - stato = objectInput.readUTF(); - dettagli = objectInput.readUTF(); - numeroEstrazione = objectInput.readLong(); - pratica = objectInput.readUTF(); - committente = objectInput.readUTF(); - comune = objectInput.readUTF(); - provincia = objectInput.readUTF(); - tecnico = objectInput.readUTF(); - mesePrecedente = objectInput.readUTF(); - esterna = objectInput.readBoolean(); - praticaEsternaId = objectInput.readLong(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - if (uuid == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(uuid); - } - - objectOutput.writeLong(sorteggioId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeLong(groupId); - objectOutput.writeInt(status); - objectOutput.writeLong(statusByUserId); - - if (statusByUserName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(statusByUserName); - } - - objectOutput.writeLong(statusDate); - objectOutput.writeLong(dettPraticaId); - - if (note == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(note); - } - - if (anno == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(anno); - } - - if (mese == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(mese); - } - - objectOutput.writeLong(dtSorteggio); - - if (stato == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(stato); - } - - if (dettagli == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(dettagli); - } - - objectOutput.writeLong(numeroEstrazione); - - if (pratica == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(pratica); - } - - if (committente == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(committente); - } - - if (comune == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(comune); - } - - if (provincia == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(provincia); - } - - if (tecnico == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(tecnico); - } - - if (mesePrecedente == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(mesePrecedente); - } - - objectOutput.writeBoolean(esterna); - objectOutput.writeLong(praticaEsternaId); - } - - public String uuid; - public long sorteggioId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public long groupId; - public int status; - public long statusByUserId; - public String statusByUserName; - public long statusDate; - public long dettPraticaId; - public String note; - public String anno; - public String mese; - public long dtSorteggio; - public String stato; - public String dettagli; - public long numeroEstrazione; - public String pratica; - public String committente; - public String comune; - public String provincia; - public String tecnico; - public String mesePrecedente; - public boolean esterna; - public long praticaEsternaId; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoSorteggioImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoSorteggioImpl.java deleted file mode 100644 index 09bde0ab..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoSorteggioImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -/** - * The extended model implementation for the BoSorteggio service. Represents a row in the "gc_sorteggio" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.model.BoSorteggio} interface. - *

- * - * @author 3FC - */ -public class BoSorteggioImpl extends BoSorteggioBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a bo sorteggio model instance should use the {@link it.tref.liferay.portos.importazione.model.BoSorteggio} interface instead. - */ - public BoSorteggioImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoSorteggioModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoSorteggioModelImpl.java deleted file mode 100644 index 40affe2a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoSorteggioModelImpl.java +++ /dev/null @@ -1,1438 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.workflow.WorkflowConstants; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.importazione.model.BoSorteggio; -import it.tref.liferay.portos.importazione.model.BoSorteggioModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the BoSorteggio service. Represents a row in the "gc_sorteggio" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.importazione.model.BoSorteggioModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoSorteggioImpl}. - *

- * - * @author 3FC - * @see BoSorteggioImpl - * @see it.tref.liferay.portos.importazione.model.BoSorteggio - * @see it.tref.liferay.portos.importazione.model.BoSorteggioModel - * @generated - */ -public class BoSorteggioModelImpl extends BaseModelImpl - implements BoSorteggioModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo sorteggio model instance should use the {@link it.tref.liferay.portos.importazione.model.BoSorteggio} interface instead. - */ - public static final String TABLE_NAME = "gc_sorteggio"; - public static final Object[][] TABLE_COLUMNS = { - { "uuid_", Types.VARCHAR }, - { "sorteggioId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "groupId", Types.BIGINT }, - { "status", Types.INTEGER }, - { "statusByUserId", Types.BIGINT }, - { "statusByUserName", Types.VARCHAR }, - { "statusDate", Types.TIMESTAMP }, - { "dettPraticaId", Types.BIGINT }, - { "note", Types.VARCHAR }, - { "anno", Types.VARCHAR }, - { "mese", Types.VARCHAR }, - { "dtSorteggio", Types.TIMESTAMP }, - { "stato", Types.VARCHAR }, - { "dettagli", Types.VARCHAR }, - { "numeroEstrazione", Types.BIGINT }, - { "pratica", Types.VARCHAR }, - { "committente", Types.VARCHAR }, - { "comune", Types.VARCHAR }, - { "provincia", Types.VARCHAR }, - { "tecnico", Types.VARCHAR }, - { "mesePrecedente", Types.VARCHAR }, - { "esterna", Types.BOOLEAN }, - { "praticaEsternaId", Types.BIGINT } - }; - public static final String TABLE_SQL_CREATE = "create table gc_sorteggio (uuid_ VARCHAR(75) null,sorteggioId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,status INTEGER,statusByUserId LONG,statusByUserName VARCHAR(75) null,statusDate DATE null,dettPraticaId LONG,note VARCHAR(75) null,anno VARCHAR(75) null,mese VARCHAR(75) null,dtSorteggio DATE null,stato VARCHAR(75) null,dettagli VARCHAR(75) null,numeroEstrazione LONG,pratica VARCHAR(75) null,committente VARCHAR(75) null,comune VARCHAR(75) null,provincia VARCHAR(75) null,tecnico VARCHAR(75) null,mesePrecedente VARCHAR(75) null,esterna BOOLEAN,praticaEsternaId LONG)"; - public static final String TABLE_SQL_DROP = "drop table gc_sorteggio"; - public static final String ORDER_BY_JPQL = " ORDER BY boSorteggio.sorteggioId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gc_sorteggio.sorteggioId ASC"; - public static final String DATA_SOURCE = "datiPortos1DbDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.importazione.model.BoSorteggio"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.importazione.model.BoSorteggio"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.importazione.model.BoSorteggio"), - true); - public static long ANNO_COLUMN_BITMASK = 1L; - public static long COMPANYID_COLUMN_BITMASK = 2L; - public static long DETTPRATICAID_COLUMN_BITMASK = 4L; - public static long GROUPID_COLUMN_BITMASK = 8L; - public static long MESE_COLUMN_BITMASK = 16L; - public static long UUID_COLUMN_BITMASK = 32L; - public static long SORTEGGIOID_COLUMN_BITMASK = 64L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.importazione.model.BoSorteggio")); - - public BoSorteggioModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _sorteggioId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setSorteggioId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _sorteggioId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return BoSorteggio.class; - } - - @Override - public String getModelClassName() { - return BoSorteggio.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("sorteggioId", getSorteggioId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("status", getStatus()); - attributes.put("statusByUserId", getStatusByUserId()); - attributes.put("statusByUserName", getStatusByUserName()); - attributes.put("statusDate", getStatusDate()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("note", getNote()); - attributes.put("anno", getAnno()); - attributes.put("mese", getMese()); - attributes.put("dtSorteggio", getDtSorteggio()); - attributes.put("stato", getStato()); - attributes.put("dettagli", getDettagli()); - attributes.put("numeroEstrazione", getNumeroEstrazione()); - attributes.put("pratica", getPratica()); - attributes.put("committente", getCommittente()); - attributes.put("comune", getComune()); - attributes.put("provincia", getProvincia()); - attributes.put("tecnico", getTecnico()); - attributes.put("mesePrecedente", getMesePrecedente()); - attributes.put("esterna", getEsterna()); - attributes.put("praticaEsternaId", getPraticaEsternaId()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long sorteggioId = (Long)attributes.get("sorteggioId"); - - if (sorteggioId != null) { - setSorteggioId(sorteggioId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Integer status = (Integer)attributes.get("status"); - - if (status != null) { - setStatus(status); - } - - Long statusByUserId = (Long)attributes.get("statusByUserId"); - - if (statusByUserId != null) { - setStatusByUserId(statusByUserId); - } - - String statusByUserName = (String)attributes.get("statusByUserName"); - - if (statusByUserName != null) { - setStatusByUserName(statusByUserName); - } - - Date statusDate = (Date)attributes.get("statusDate"); - - if (statusDate != null) { - setStatusDate(statusDate); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - String note = (String)attributes.get("note"); - - if (note != null) { - setNote(note); - } - - String anno = (String)attributes.get("anno"); - - if (anno != null) { - setAnno(anno); - } - - String mese = (String)attributes.get("mese"); - - if (mese != null) { - setMese(mese); - } - - Date dtSorteggio = (Date)attributes.get("dtSorteggio"); - - if (dtSorteggio != null) { - setDtSorteggio(dtSorteggio); - } - - String stato = (String)attributes.get("stato"); - - if (stato != null) { - setStato(stato); - } - - String dettagli = (String)attributes.get("dettagli"); - - if (dettagli != null) { - setDettagli(dettagli); - } - - Long numeroEstrazione = (Long)attributes.get("numeroEstrazione"); - - if (numeroEstrazione != null) { - setNumeroEstrazione(numeroEstrazione); - } - - String pratica = (String)attributes.get("pratica"); - - if (pratica != null) { - setPratica(pratica); - } - - String committente = (String)attributes.get("committente"); - - if (committente != null) { - setCommittente(committente); - } - - String comune = (String)attributes.get("comune"); - - if (comune != null) { - setComune(comune); - } - - String provincia = (String)attributes.get("provincia"); - - if (provincia != null) { - setProvincia(provincia); - } - - String tecnico = (String)attributes.get("tecnico"); - - if (tecnico != null) { - setTecnico(tecnico); - } - - String mesePrecedente = (String)attributes.get("mesePrecedente"); - - if (mesePrecedente != null) { - setMesePrecedente(mesePrecedente); - } - - Boolean esterna = (Boolean)attributes.get("esterna"); - - if (esterna != null) { - setEsterna(esterna); - } - - Long praticaEsternaId = (Long)attributes.get("praticaEsternaId"); - - if (praticaEsternaId != null) { - setPraticaEsternaId(praticaEsternaId); - } - } - - @Override - public String getUuid() { - if (_uuid == null) { - return StringPool.BLANK; - } - else { - return _uuid; - } - } - - @Override - public void setUuid(String uuid) { - if (_originalUuid == null) { - _originalUuid = _uuid; - } - - _uuid = uuid; - } - - public String getOriginalUuid() { - return GetterUtil.getString(_originalUuid); - } - - @Override - public long getSorteggioId() { - return _sorteggioId; - } - - @Override - public void setSorteggioId(long sorteggioId) { - _sorteggioId = sorteggioId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _columnBitmask |= COMPANYID_COLUMN_BITMASK; - - if (!_setOriginalCompanyId) { - _setOriginalCompanyId = true; - - _originalCompanyId = _companyId; - } - - _companyId = companyId; - } - - public long getOriginalCompanyId() { - return _originalCompanyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _columnBitmask |= GROUPID_COLUMN_BITMASK; - - if (!_setOriginalGroupId) { - _setOriginalGroupId = true; - - _originalGroupId = _groupId; - } - - _groupId = groupId; - } - - public long getOriginalGroupId() { - return _originalGroupId; - } - - @Override - public int getStatus() { - return _status; - } - - @Override - public void setStatus(int status) { - _status = status; - } - - @Override - public long getStatusByUserId() { - return _statusByUserId; - } - - @Override - public void setStatusByUserId(long statusByUserId) { - _statusByUserId = statusByUserId; - } - - @Override - public String getStatusByUserUuid() throws SystemException { - return PortalUtil.getUserValue(getStatusByUserId(), "uuid", - _statusByUserUuid); - } - - @Override - public void setStatusByUserUuid(String statusByUserUuid) { - _statusByUserUuid = statusByUserUuid; - } - - @Override - public String getStatusByUserName() { - if (_statusByUserName == null) { - return StringPool.BLANK; - } - else { - return _statusByUserName; - } - } - - @Override - public void setStatusByUserName(String statusByUserName) { - _statusByUserName = statusByUserName; - } - - @Override - public Date getStatusDate() { - return _statusDate; - } - - @Override - public void setStatusDate(Date statusDate) { - _statusDate = statusDate; - } - - @Override - public long getDettPraticaId() { - return _dettPraticaId; - } - - @Override - public void setDettPraticaId(long dettPraticaId) { - _columnBitmask |= DETTPRATICAID_COLUMN_BITMASK; - - if (!_setOriginalDettPraticaId) { - _setOriginalDettPraticaId = true; - - _originalDettPraticaId = _dettPraticaId; - } - - _dettPraticaId = dettPraticaId; - } - - public long getOriginalDettPraticaId() { - return _originalDettPraticaId; - } - - @Override - public String getNote() { - if (_note == null) { - return StringPool.BLANK; - } - else { - return _note; - } - } - - @Override - public void setNote(String note) { - _note = note; - } - - @Override - public String getAnno() { - if (_anno == null) { - return StringPool.BLANK; - } - else { - return _anno; - } - } - - @Override - public void setAnno(String anno) { - _columnBitmask |= ANNO_COLUMN_BITMASK; - - if (_originalAnno == null) { - _originalAnno = _anno; - } - - _anno = anno; - } - - public String getOriginalAnno() { - return GetterUtil.getString(_originalAnno); - } - - @Override - public String getMese() { - if (_mese == null) { - return StringPool.BLANK; - } - else { - return _mese; - } - } - - @Override - public void setMese(String mese) { - _columnBitmask |= MESE_COLUMN_BITMASK; - - if (_originalMese == null) { - _originalMese = _mese; - } - - _mese = mese; - } - - public String getOriginalMese() { - return GetterUtil.getString(_originalMese); - } - - @Override - public Date getDtSorteggio() { - return _dtSorteggio; - } - - @Override - public void setDtSorteggio(Date dtSorteggio) { - _dtSorteggio = dtSorteggio; - } - - @Override - public String getStato() { - if (_stato == null) { - return StringPool.BLANK; - } - else { - return _stato; - } - } - - @Override - public void setStato(String stato) { - _stato = stato; - } - - @Override - public String getDettagli() { - if (_dettagli == null) { - return StringPool.BLANK; - } - else { - return _dettagli; - } - } - - @Override - public void setDettagli(String dettagli) { - _dettagli = dettagli; - } - - @Override - public long getNumeroEstrazione() { - return _numeroEstrazione; - } - - @Override - public void setNumeroEstrazione(long numeroEstrazione) { - _numeroEstrazione = numeroEstrazione; - } - - @Override - public String getPratica() { - if (_pratica == null) { - return StringPool.BLANK; - } - else { - return _pratica; - } - } - - @Override - public void setPratica(String pratica) { - _pratica = pratica; - } - - @Override - public String getCommittente() { - if (_committente == null) { - return StringPool.BLANK; - } - else { - return _committente; - } - } - - @Override - public void setCommittente(String committente) { - _committente = committente; - } - - @Override - public String getComune() { - if (_comune == null) { - return StringPool.BLANK; - } - else { - return _comune; - } - } - - @Override - public void setComune(String comune) { - _comune = comune; - } - - @Override - public String getProvincia() { - if (_provincia == null) { - return StringPool.BLANK; - } - else { - return _provincia; - } - } - - @Override - public void setProvincia(String provincia) { - _provincia = provincia; - } - - @Override - public String getTecnico() { - if (_tecnico == null) { - return StringPool.BLANK; - } - else { - return _tecnico; - } - } - - @Override - public void setTecnico(String tecnico) { - _tecnico = tecnico; - } - - @Override - public String getMesePrecedente() { - if (_mesePrecedente == null) { - return StringPool.BLANK; - } - else { - return _mesePrecedente; - } - } - - @Override - public void setMesePrecedente(String mesePrecedente) { - _mesePrecedente = mesePrecedente; - } - - @Override - public boolean getEsterna() { - return _esterna; - } - - @Override - public boolean isEsterna() { - return _esterna; - } - - @Override - public void setEsterna(boolean esterna) { - _esterna = esterna; - } - - @Override - public long getPraticaEsternaId() { - return _praticaEsternaId; - } - - @Override - public void setPraticaEsternaId(long praticaEsternaId) { - _praticaEsternaId = praticaEsternaId; - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoSorteggio.class.getName())); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #isApproved} - */ - @Override - public boolean getApproved() { - return isApproved(); - } - - @Override - public boolean isApproved() { - if (getStatus() == WorkflowConstants.STATUS_APPROVED) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isDenied() { - if (getStatus() == WorkflowConstants.STATUS_DENIED) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isDraft() { - if (getStatus() == WorkflowConstants.STATUS_DRAFT) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isExpired() { - if (getStatus() == WorkflowConstants.STATUS_EXPIRED) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isInactive() { - if (getStatus() == WorkflowConstants.STATUS_INACTIVE) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isIncomplete() { - if (getStatus() == WorkflowConstants.STATUS_INCOMPLETE) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isPending() { - if (getStatus() == WorkflowConstants.STATUS_PENDING) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isScheduled() { - if (getStatus() == WorkflowConstants.STATUS_SCHEDULED) { - return true; - } - else { - return false; - } - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - BoSorteggio.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public BoSorteggio toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (BoSorteggio)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - BoSorteggioImpl boSorteggioImpl = new BoSorteggioImpl(); - - boSorteggioImpl.setUuid(getUuid()); - boSorteggioImpl.setSorteggioId(getSorteggioId()); - boSorteggioImpl.setCompanyId(getCompanyId()); - boSorteggioImpl.setUserId(getUserId()); - boSorteggioImpl.setUserName(getUserName()); - boSorteggioImpl.setCreateDate(getCreateDate()); - boSorteggioImpl.setModifiedDate(getModifiedDate()); - boSorteggioImpl.setGroupId(getGroupId()); - boSorteggioImpl.setStatus(getStatus()); - boSorteggioImpl.setStatusByUserId(getStatusByUserId()); - boSorteggioImpl.setStatusByUserName(getStatusByUserName()); - boSorteggioImpl.setStatusDate(getStatusDate()); - boSorteggioImpl.setDettPraticaId(getDettPraticaId()); - boSorteggioImpl.setNote(getNote()); - boSorteggioImpl.setAnno(getAnno()); - boSorteggioImpl.setMese(getMese()); - boSorteggioImpl.setDtSorteggio(getDtSorteggio()); - boSorteggioImpl.setStato(getStato()); - boSorteggioImpl.setDettagli(getDettagli()); - boSorteggioImpl.setNumeroEstrazione(getNumeroEstrazione()); - boSorteggioImpl.setPratica(getPratica()); - boSorteggioImpl.setCommittente(getCommittente()); - boSorteggioImpl.setComune(getComune()); - boSorteggioImpl.setProvincia(getProvincia()); - boSorteggioImpl.setTecnico(getTecnico()); - boSorteggioImpl.setMesePrecedente(getMesePrecedente()); - boSorteggioImpl.setEsterna(getEsterna()); - boSorteggioImpl.setPraticaEsternaId(getPraticaEsternaId()); - - boSorteggioImpl.resetOriginalValues(); - - return boSorteggioImpl; - } - - @Override - public int compareTo(BoSorteggio boSorteggio) { - long primaryKey = boSorteggio.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoSorteggio)) { - return false; - } - - BoSorteggio boSorteggio = (BoSorteggio)obj; - - long primaryKey = boSorteggio.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - BoSorteggioModelImpl boSorteggioModelImpl = this; - - boSorteggioModelImpl._originalUuid = boSorteggioModelImpl._uuid; - - boSorteggioModelImpl._originalCompanyId = boSorteggioModelImpl._companyId; - - boSorteggioModelImpl._setOriginalCompanyId = false; - - boSorteggioModelImpl._originalGroupId = boSorteggioModelImpl._groupId; - - boSorteggioModelImpl._setOriginalGroupId = false; - - boSorteggioModelImpl._originalDettPraticaId = boSorteggioModelImpl._dettPraticaId; - - boSorteggioModelImpl._setOriginalDettPraticaId = false; - - boSorteggioModelImpl._originalAnno = boSorteggioModelImpl._anno; - - boSorteggioModelImpl._originalMese = boSorteggioModelImpl._mese; - - boSorteggioModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - BoSorteggioCacheModel boSorteggioCacheModel = new BoSorteggioCacheModel(); - - boSorteggioCacheModel.uuid = getUuid(); - - String uuid = boSorteggioCacheModel.uuid; - - if ((uuid != null) && (uuid.length() == 0)) { - boSorteggioCacheModel.uuid = null; - } - - boSorteggioCacheModel.sorteggioId = getSorteggioId(); - - boSorteggioCacheModel.companyId = getCompanyId(); - - boSorteggioCacheModel.userId = getUserId(); - - boSorteggioCacheModel.userName = getUserName(); - - String userName = boSorteggioCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - boSorteggioCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - boSorteggioCacheModel.createDate = createDate.getTime(); - } - else { - boSorteggioCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - boSorteggioCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - boSorteggioCacheModel.modifiedDate = Long.MIN_VALUE; - } - - boSorteggioCacheModel.groupId = getGroupId(); - - boSorteggioCacheModel.status = getStatus(); - - boSorteggioCacheModel.statusByUserId = getStatusByUserId(); - - boSorteggioCacheModel.statusByUserName = getStatusByUserName(); - - String statusByUserName = boSorteggioCacheModel.statusByUserName; - - if ((statusByUserName != null) && (statusByUserName.length() == 0)) { - boSorteggioCacheModel.statusByUserName = null; - } - - Date statusDate = getStatusDate(); - - if (statusDate != null) { - boSorteggioCacheModel.statusDate = statusDate.getTime(); - } - else { - boSorteggioCacheModel.statusDate = Long.MIN_VALUE; - } - - boSorteggioCacheModel.dettPraticaId = getDettPraticaId(); - - boSorteggioCacheModel.note = getNote(); - - String note = boSorteggioCacheModel.note; - - if ((note != null) && (note.length() == 0)) { - boSorteggioCacheModel.note = null; - } - - boSorteggioCacheModel.anno = getAnno(); - - String anno = boSorteggioCacheModel.anno; - - if ((anno != null) && (anno.length() == 0)) { - boSorteggioCacheModel.anno = null; - } - - boSorteggioCacheModel.mese = getMese(); - - String mese = boSorteggioCacheModel.mese; - - if ((mese != null) && (mese.length() == 0)) { - boSorteggioCacheModel.mese = null; - } - - Date dtSorteggio = getDtSorteggio(); - - if (dtSorteggio != null) { - boSorteggioCacheModel.dtSorteggio = dtSorteggio.getTime(); - } - else { - boSorteggioCacheModel.dtSorteggio = Long.MIN_VALUE; - } - - boSorteggioCacheModel.stato = getStato(); - - String stato = boSorteggioCacheModel.stato; - - if ((stato != null) && (stato.length() == 0)) { - boSorteggioCacheModel.stato = null; - } - - boSorteggioCacheModel.dettagli = getDettagli(); - - String dettagli = boSorteggioCacheModel.dettagli; - - if ((dettagli != null) && (dettagli.length() == 0)) { - boSorteggioCacheModel.dettagli = null; - } - - boSorteggioCacheModel.numeroEstrazione = getNumeroEstrazione(); - - boSorteggioCacheModel.pratica = getPratica(); - - String pratica = boSorteggioCacheModel.pratica; - - if ((pratica != null) && (pratica.length() == 0)) { - boSorteggioCacheModel.pratica = null; - } - - boSorteggioCacheModel.committente = getCommittente(); - - String committente = boSorteggioCacheModel.committente; - - if ((committente != null) && (committente.length() == 0)) { - boSorteggioCacheModel.committente = null; - } - - boSorteggioCacheModel.comune = getComune(); - - String comune = boSorteggioCacheModel.comune; - - if ((comune != null) && (comune.length() == 0)) { - boSorteggioCacheModel.comune = null; - } - - boSorteggioCacheModel.provincia = getProvincia(); - - String provincia = boSorteggioCacheModel.provincia; - - if ((provincia != null) && (provincia.length() == 0)) { - boSorteggioCacheModel.provincia = null; - } - - boSorteggioCacheModel.tecnico = getTecnico(); - - String tecnico = boSorteggioCacheModel.tecnico; - - if ((tecnico != null) && (tecnico.length() == 0)) { - boSorteggioCacheModel.tecnico = null; - } - - boSorteggioCacheModel.mesePrecedente = getMesePrecedente(); - - String mesePrecedente = boSorteggioCacheModel.mesePrecedente; - - if ((mesePrecedente != null) && (mesePrecedente.length() == 0)) { - boSorteggioCacheModel.mesePrecedente = null; - } - - boSorteggioCacheModel.esterna = getEsterna(); - - boSorteggioCacheModel.praticaEsternaId = getPraticaEsternaId(); - - return boSorteggioCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(57); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", sorteggioId="); - sb.append(getSorteggioId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", status="); - sb.append(getStatus()); - sb.append(", statusByUserId="); - sb.append(getStatusByUserId()); - sb.append(", statusByUserName="); - sb.append(getStatusByUserName()); - sb.append(", statusDate="); - sb.append(getStatusDate()); - sb.append(", dettPraticaId="); - sb.append(getDettPraticaId()); - sb.append(", note="); - sb.append(getNote()); - sb.append(", anno="); - sb.append(getAnno()); - sb.append(", mese="); - sb.append(getMese()); - sb.append(", dtSorteggio="); - sb.append(getDtSorteggio()); - sb.append(", stato="); - sb.append(getStato()); - sb.append(", dettagli="); - sb.append(getDettagli()); - sb.append(", numeroEstrazione="); - sb.append(getNumeroEstrazione()); - sb.append(", pratica="); - sb.append(getPratica()); - sb.append(", committente="); - sb.append(getCommittente()); - sb.append(", comune="); - sb.append(getComune()); - sb.append(", provincia="); - sb.append(getProvincia()); - sb.append(", tecnico="); - sb.append(getTecnico()); - sb.append(", mesePrecedente="); - sb.append(getMesePrecedente()); - sb.append(", esterna="); - sb.append(getEsterna()); - sb.append(", praticaEsternaId="); - sb.append(getPraticaEsternaId()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(88); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.BoSorteggio"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "sorteggioId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "status"); - sb.append( - "statusByUserId"); - sb.append( - "statusByUserName"); - sb.append( - "statusDate"); - sb.append( - "dettPraticaId"); - sb.append( - "note"); - sb.append( - "anno"); - sb.append( - "mese"); - sb.append( - "dtSorteggio"); - sb.append( - "stato"); - sb.append( - "dettagli"); - sb.append( - "numeroEstrazione"); - sb.append( - "pratica"); - sb.append( - "committente"); - sb.append( - "comune"); - sb.append( - "provincia"); - sb.append( - "tecnico"); - sb.append( - "mesePrecedente"); - sb.append( - "esterna"); - sb.append( - "praticaEsternaId"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = BoSorteggio.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - BoSorteggio.class - }; - private String _uuid; - private String _originalUuid; - private long _sorteggioId; - private long _companyId; - private long _originalCompanyId; - private boolean _setOriginalCompanyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _originalGroupId; - private boolean _setOriginalGroupId; - private int _status; - private long _statusByUserId; - private String _statusByUserUuid; - private String _statusByUserName; - private Date _statusDate; - private long _dettPraticaId; - private long _originalDettPraticaId; - private boolean _setOriginalDettPraticaId; - private String _note; - private String _anno; - private String _originalAnno; - private String _mese; - private String _originalMese; - private Date _dtSorteggio; - private String _stato; - private String _dettagli; - private long _numeroEstrazione; - private String _pratica; - private String _committente; - private String _comune; - private String _provincia; - private String _tecnico; - private String _mesePrecedente; - private boolean _esterna; - private long _praticaEsternaId; - private long _columnBitmask; - private BoSorteggio _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoStoricoSoggettoPraticaBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoStoricoSoggettoPraticaBaseImpl.java deleted file mode 100644 index f86dcbd7..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoStoricoSoggettoPraticaBaseImpl.java +++ /dev/null @@ -1,51 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica; -import it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalServiceUtil; - -/** - * The extended model base implementation for the BoStoricoSoggettoPratica service. Represents a row in the "gc_storicosoggettopratica" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoStoricoSoggettoPraticaImpl}. - *

- * - * @author 3FC - * @see BoStoricoSoggettoPraticaImpl - * @see it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica - * @generated - */ -public abstract class BoStoricoSoggettoPraticaBaseImpl - extends BoStoricoSoggettoPraticaModelImpl - implements BoStoricoSoggettoPratica { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo storico soggetto pratica model instance should use the {@link BoStoricoSoggettoPratica} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoStoricoSoggettoPraticaLocalServiceUtil.addBoStoricoSoggettoPratica(this); - } - else { - BoStoricoSoggettoPraticaLocalServiceUtil.updateBoStoricoSoggettoPratica(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoStoricoSoggettoPraticaCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoStoricoSoggettoPraticaCacheModel.java deleted file mode 100644 index d4692f41..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoStoricoSoggettoPraticaCacheModel.java +++ /dev/null @@ -1,195 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing BoStoricoSoggettoPratica in entity cache. - * - * @author 3FC - * @see BoStoricoSoggettoPratica - * @generated - */ -public class BoStoricoSoggettoPraticaCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(23); - - sb.append("{storicoSoggettoPraticaId="); - sb.append(storicoSoggettoPraticaId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", intPraticaId="); - sb.append(intPraticaId); - sb.append(", nome="); - sb.append(nome); - sb.append(", cognome="); - sb.append(cognome); - sb.append(", codiceFiscale="); - sb.append(codiceFiscale); - sb.append("}"); - - return sb.toString(); - } - - @Override - public BoStoricoSoggettoPratica toEntityModel() { - BoStoricoSoggettoPraticaImpl boStoricoSoggettoPraticaImpl = new BoStoricoSoggettoPraticaImpl(); - - boStoricoSoggettoPraticaImpl.setStoricoSoggettoPraticaId(storicoSoggettoPraticaId); - boStoricoSoggettoPraticaImpl.setCompanyId(companyId); - boStoricoSoggettoPraticaImpl.setUserId(userId); - - if (userName == null) { - boStoricoSoggettoPraticaImpl.setUserName(StringPool.BLANK); - } - else { - boStoricoSoggettoPraticaImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - boStoricoSoggettoPraticaImpl.setCreateDate(null); - } - else { - boStoricoSoggettoPraticaImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - boStoricoSoggettoPraticaImpl.setModifiedDate(null); - } - else { - boStoricoSoggettoPraticaImpl.setModifiedDate(new Date(modifiedDate)); - } - - boStoricoSoggettoPraticaImpl.setGroupId(groupId); - boStoricoSoggettoPraticaImpl.setIntPraticaId(intPraticaId); - - if (nome == null) { - boStoricoSoggettoPraticaImpl.setNome(StringPool.BLANK); - } - else { - boStoricoSoggettoPraticaImpl.setNome(nome); - } - - if (cognome == null) { - boStoricoSoggettoPraticaImpl.setCognome(StringPool.BLANK); - } - else { - boStoricoSoggettoPraticaImpl.setCognome(cognome); - } - - if (codiceFiscale == null) { - boStoricoSoggettoPraticaImpl.setCodiceFiscale(StringPool.BLANK); - } - else { - boStoricoSoggettoPraticaImpl.setCodiceFiscale(codiceFiscale); - } - - boStoricoSoggettoPraticaImpl.resetOriginalValues(); - - return boStoricoSoggettoPraticaImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - storicoSoggettoPraticaId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - groupId = objectInput.readLong(); - intPraticaId = objectInput.readLong(); - nome = objectInput.readUTF(); - cognome = objectInput.readUTF(); - codiceFiscale = objectInput.readUTF(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - objectOutput.writeLong(storicoSoggettoPraticaId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeLong(groupId); - objectOutput.writeLong(intPraticaId); - - if (nome == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(nome); - } - - if (cognome == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(cognome); - } - - if (codiceFiscale == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codiceFiscale); - } - } - - public long storicoSoggettoPraticaId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public long groupId; - public long intPraticaId; - public String nome; - public String cognome; - public String codiceFiscale; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoStoricoSoggettoPraticaImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoStoricoSoggettoPraticaImpl.java deleted file mode 100644 index 48f67658..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoStoricoSoggettoPraticaImpl.java +++ /dev/null @@ -1,35 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -/** - * The extended model implementation for the BoStoricoSoggettoPratica service. Represents a row in the "gc_storicosoggettopratica" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica} interface. - *

- * - * @author 3FC - */ -public class BoStoricoSoggettoPraticaImpl - extends BoStoricoSoggettoPraticaBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a bo storico soggetto pratica model instance should use the {@link it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica} interface instead. - */ - public BoStoricoSoggettoPraticaImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoStoricoSoggettoPraticaModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoStoricoSoggettoPraticaModelImpl.java deleted file mode 100644 index 0c54c3f5..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoStoricoSoggettoPraticaModelImpl.java +++ /dev/null @@ -1,670 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.DateUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica; -import it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPraticaModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the BoStoricoSoggettoPratica service. Represents a row in the "gc_storicosoggettopratica" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPraticaModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoStoricoSoggettoPraticaImpl}. - *

- * - * @author 3FC - * @see BoStoricoSoggettoPraticaImpl - * @see it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica - * @see it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPraticaModel - * @generated - */ -public class BoStoricoSoggettoPraticaModelImpl extends BaseModelImpl - implements BoStoricoSoggettoPraticaModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo storico soggetto pratica model instance should use the {@link it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica} interface instead. - */ - public static final String TABLE_NAME = "gc_storicosoggettopratica"; - public static final Object[][] TABLE_COLUMNS = { - { "storicoSoggettoPraticaId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "groupId", Types.BIGINT }, - { "intPraticaId", Types.BIGINT }, - { "nome", Types.VARCHAR }, - { "cognome", Types.VARCHAR }, - { "codiceFiscale", Types.VARCHAR } - }; - public static final String TABLE_SQL_CREATE = "create table gc_storicosoggettopratica (storicoSoggettoPraticaId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,intPraticaId LONG,nome VARCHAR(75) null,cognome VARCHAR(75) null,codiceFiscale VARCHAR(75) null)"; - public static final String TABLE_SQL_DROP = "drop table gc_storicosoggettopratica"; - public static final String ORDER_BY_JPQL = " ORDER BY boStoricoSoggettoPratica.createDate ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gc_storicosoggettopratica.createDate ASC"; - public static final String DATA_SOURCE = "datiPortos1DbDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica"), - true); - public static long COMPANYID_COLUMN_BITMASK = 1L; - public static long INTPRATICAID_COLUMN_BITMASK = 2L; - public static long CREATEDATE_COLUMN_BITMASK = 4L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica")); - - public BoStoricoSoggettoPraticaModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _storicoSoggettoPraticaId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setStoricoSoggettoPraticaId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _storicoSoggettoPraticaId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return BoStoricoSoggettoPratica.class; - } - - @Override - public String getModelClassName() { - return BoStoricoSoggettoPratica.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("storicoSoggettoPraticaId", getStoricoSoggettoPraticaId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("nome", getNome()); - attributes.put("cognome", getCognome()); - attributes.put("codiceFiscale", getCodiceFiscale()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long storicoSoggettoPraticaId = (Long)attributes.get( - "storicoSoggettoPraticaId"); - - if (storicoSoggettoPraticaId != null) { - setStoricoSoggettoPraticaId(storicoSoggettoPraticaId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - String nome = (String)attributes.get("nome"); - - if (nome != null) { - setNome(nome); - } - - String cognome = (String)attributes.get("cognome"); - - if (cognome != null) { - setCognome(cognome); - } - - String codiceFiscale = (String)attributes.get("codiceFiscale"); - - if (codiceFiscale != null) { - setCodiceFiscale(codiceFiscale); - } - } - - @Override - public long getStoricoSoggettoPraticaId() { - return _storicoSoggettoPraticaId; - } - - @Override - public void setStoricoSoggettoPraticaId(long storicoSoggettoPraticaId) { - _storicoSoggettoPraticaId = storicoSoggettoPraticaId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _columnBitmask |= COMPANYID_COLUMN_BITMASK; - - if (!_setOriginalCompanyId) { - _setOriginalCompanyId = true; - - _originalCompanyId = _companyId; - } - - _companyId = companyId; - } - - public long getOriginalCompanyId() { - return _originalCompanyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _columnBitmask = -1L; - - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - } - - @Override - public long getIntPraticaId() { - return _intPraticaId; - } - - @Override - public void setIntPraticaId(long intPraticaId) { - _columnBitmask |= INTPRATICAID_COLUMN_BITMASK; - - if (!_setOriginalIntPraticaId) { - _setOriginalIntPraticaId = true; - - _originalIntPraticaId = _intPraticaId; - } - - _intPraticaId = intPraticaId; - } - - public long getOriginalIntPraticaId() { - return _originalIntPraticaId; - } - - @Override - public String getNome() { - if (_nome == null) { - return StringPool.BLANK; - } - else { - return _nome; - } - } - - @Override - public void setNome(String nome) { - _nome = nome; - } - - @Override - public String getCognome() { - if (_cognome == null) { - return StringPool.BLANK; - } - else { - return _cognome; - } - } - - @Override - public void setCognome(String cognome) { - _cognome = cognome; - } - - @Override - public String getCodiceFiscale() { - if (_codiceFiscale == null) { - return StringPool.BLANK; - } - else { - return _codiceFiscale; - } - } - - @Override - public void setCodiceFiscale(String codiceFiscale) { - _codiceFiscale = codiceFiscale; - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - BoStoricoSoggettoPratica.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public BoStoricoSoggettoPratica toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (BoStoricoSoggettoPratica)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - BoStoricoSoggettoPraticaImpl boStoricoSoggettoPraticaImpl = new BoStoricoSoggettoPraticaImpl(); - - boStoricoSoggettoPraticaImpl.setStoricoSoggettoPraticaId(getStoricoSoggettoPraticaId()); - boStoricoSoggettoPraticaImpl.setCompanyId(getCompanyId()); - boStoricoSoggettoPraticaImpl.setUserId(getUserId()); - boStoricoSoggettoPraticaImpl.setUserName(getUserName()); - boStoricoSoggettoPraticaImpl.setCreateDate(getCreateDate()); - boStoricoSoggettoPraticaImpl.setModifiedDate(getModifiedDate()); - boStoricoSoggettoPraticaImpl.setGroupId(getGroupId()); - boStoricoSoggettoPraticaImpl.setIntPraticaId(getIntPraticaId()); - boStoricoSoggettoPraticaImpl.setNome(getNome()); - boStoricoSoggettoPraticaImpl.setCognome(getCognome()); - boStoricoSoggettoPraticaImpl.setCodiceFiscale(getCodiceFiscale()); - - boStoricoSoggettoPraticaImpl.resetOriginalValues(); - - return boStoricoSoggettoPraticaImpl; - } - - @Override - public int compareTo(BoStoricoSoggettoPratica boStoricoSoggettoPratica) { - int value = 0; - - value = DateUtil.compareTo(getCreateDate(), - boStoricoSoggettoPratica.getCreateDate()); - - if (value != 0) { - return value; - } - - return 0; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoStoricoSoggettoPratica)) { - return false; - } - - BoStoricoSoggettoPratica boStoricoSoggettoPratica = (BoStoricoSoggettoPratica)obj; - - long primaryKey = boStoricoSoggettoPratica.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - BoStoricoSoggettoPraticaModelImpl boStoricoSoggettoPraticaModelImpl = this; - - boStoricoSoggettoPraticaModelImpl._originalCompanyId = boStoricoSoggettoPraticaModelImpl._companyId; - - boStoricoSoggettoPraticaModelImpl._setOriginalCompanyId = false; - - boStoricoSoggettoPraticaModelImpl._originalIntPraticaId = boStoricoSoggettoPraticaModelImpl._intPraticaId; - - boStoricoSoggettoPraticaModelImpl._setOriginalIntPraticaId = false; - - boStoricoSoggettoPraticaModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - BoStoricoSoggettoPraticaCacheModel boStoricoSoggettoPraticaCacheModel = new BoStoricoSoggettoPraticaCacheModel(); - - boStoricoSoggettoPraticaCacheModel.storicoSoggettoPraticaId = getStoricoSoggettoPraticaId(); - - boStoricoSoggettoPraticaCacheModel.companyId = getCompanyId(); - - boStoricoSoggettoPraticaCacheModel.userId = getUserId(); - - boStoricoSoggettoPraticaCacheModel.userName = getUserName(); - - String userName = boStoricoSoggettoPraticaCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - boStoricoSoggettoPraticaCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - boStoricoSoggettoPraticaCacheModel.createDate = createDate.getTime(); - } - else { - boStoricoSoggettoPraticaCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - boStoricoSoggettoPraticaCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - boStoricoSoggettoPraticaCacheModel.modifiedDate = Long.MIN_VALUE; - } - - boStoricoSoggettoPraticaCacheModel.groupId = getGroupId(); - - boStoricoSoggettoPraticaCacheModel.intPraticaId = getIntPraticaId(); - - boStoricoSoggettoPraticaCacheModel.nome = getNome(); - - String nome = boStoricoSoggettoPraticaCacheModel.nome; - - if ((nome != null) && (nome.length() == 0)) { - boStoricoSoggettoPraticaCacheModel.nome = null; - } - - boStoricoSoggettoPraticaCacheModel.cognome = getCognome(); - - String cognome = boStoricoSoggettoPraticaCacheModel.cognome; - - if ((cognome != null) && (cognome.length() == 0)) { - boStoricoSoggettoPraticaCacheModel.cognome = null; - } - - boStoricoSoggettoPraticaCacheModel.codiceFiscale = getCodiceFiscale(); - - String codiceFiscale = boStoricoSoggettoPraticaCacheModel.codiceFiscale; - - if ((codiceFiscale != null) && (codiceFiscale.length() == 0)) { - boStoricoSoggettoPraticaCacheModel.codiceFiscale = null; - } - - return boStoricoSoggettoPraticaCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(23); - - sb.append("{storicoSoggettoPraticaId="); - sb.append(getStoricoSoggettoPraticaId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", intPraticaId="); - sb.append(getIntPraticaId()); - sb.append(", nome="); - sb.append(getNome()); - sb.append(", cognome="); - sb.append(getCognome()); - sb.append(", codiceFiscale="); - sb.append(getCodiceFiscale()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(37); - - sb.append(""); - sb.append( - "it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica"); - sb.append(""); - - sb.append( - "storicoSoggettoPraticaId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "intPraticaId"); - sb.append( - "nome"); - sb.append( - "cognome"); - sb.append( - "codiceFiscale"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = BoStoricoSoggettoPratica.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - BoStoricoSoggettoPratica.class - }; - private long _storicoSoggettoPraticaId; - private long _companyId; - private long _originalCompanyId; - private boolean _setOriginalCompanyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _intPraticaId; - private long _originalIntPraticaId; - private boolean _setOriginalIntPraticaId; - private String _nome; - private String _cognome; - private String _codiceFiscale; - private long _columnBitmask; - private BoStoricoSoggettoPratica _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoTempisticaBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoTempisticaBaseImpl.java deleted file mode 100644 index 9b04d8e5..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoTempisticaBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.BoTempistica; -import it.tref.liferay.portos.importazione.service.BoTempisticaLocalServiceUtil; - -/** - * The extended model base implementation for the BoTempistica service. Represents a row in the "gc_tempistica" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoTempisticaImpl}. - *

- * - * @author 3FC - * @see BoTempisticaImpl - * @see it.tref.liferay.portos.importazione.model.BoTempistica - * @generated - */ -public abstract class BoTempisticaBaseImpl extends BoTempisticaModelImpl - implements BoTempistica { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo tempistica model instance should use the {@link BoTempistica} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoTempisticaLocalServiceUtil.addBoTempistica(this); - } - else { - BoTempisticaLocalServiceUtil.updateBoTempistica(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoTempisticaCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoTempisticaCacheModel.java deleted file mode 100644 index 5bb54255..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoTempisticaCacheModel.java +++ /dev/null @@ -1,209 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.importazione.model.BoTempistica; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing BoTempistica in entity cache. - * - * @author 3FC - * @see BoTempistica - * @generated - */ -public class BoTempisticaCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(31); - - sb.append("{uuid="); - sb.append(uuid); - sb.append(", tempisticaId="); - sb.append(tempisticaId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", intPraticaId="); - sb.append(intPraticaId); - sb.append(", dettPraticaId="); - sb.append(dettPraticaId); - sb.append(", tipo="); - sb.append(tipo); - sb.append(", start="); - sb.append(start); - sb.append(", stop="); - sb.append(stop); - sb.append(", wait="); - sb.append(wait); - sb.append(", completo="); - sb.append(completo); - sb.append("}"); - - return sb.toString(); - } - - @Override - public BoTempistica toEntityModel() { - BoTempisticaImpl boTempisticaImpl = new BoTempisticaImpl(); - - if (uuid == null) { - boTempisticaImpl.setUuid(StringPool.BLANK); - } - else { - boTempisticaImpl.setUuid(uuid); - } - - boTempisticaImpl.setTempisticaId(tempisticaId); - boTempisticaImpl.setCompanyId(companyId); - boTempisticaImpl.setUserId(userId); - - if (userName == null) { - boTempisticaImpl.setUserName(StringPool.BLANK); - } - else { - boTempisticaImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - boTempisticaImpl.setCreateDate(null); - } - else { - boTempisticaImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - boTempisticaImpl.setModifiedDate(null); - } - else { - boTempisticaImpl.setModifiedDate(new Date(modifiedDate)); - } - - boTempisticaImpl.setGroupId(groupId); - boTempisticaImpl.setIntPraticaId(intPraticaId); - boTempisticaImpl.setDettPraticaId(dettPraticaId); - - if (tipo == null) { - boTempisticaImpl.setTipo(StringPool.BLANK); - } - else { - boTempisticaImpl.setTipo(tipo); - } - - boTempisticaImpl.setStart(start); - boTempisticaImpl.setStop(stop); - boTempisticaImpl.setWait(wait); - boTempisticaImpl.setCompleto(completo); - - boTempisticaImpl.resetOriginalValues(); - - return boTempisticaImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - uuid = objectInput.readUTF(); - tempisticaId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - groupId = objectInput.readLong(); - intPraticaId = objectInput.readLong(); - dettPraticaId = objectInput.readLong(); - tipo = objectInput.readUTF(); - start = objectInput.readLong(); - stop = objectInput.readLong(); - wait = objectInput.readLong(); - completo = objectInput.readBoolean(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - if (uuid == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(uuid); - } - - objectOutput.writeLong(tempisticaId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeLong(groupId); - objectOutput.writeLong(intPraticaId); - objectOutput.writeLong(dettPraticaId); - - if (tipo == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(tipo); - } - - objectOutput.writeLong(start); - objectOutput.writeLong(stop); - objectOutput.writeLong(wait); - objectOutput.writeBoolean(completo); - } - - public String uuid; - public long tempisticaId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public long groupId; - public long intPraticaId; - public long dettPraticaId; - public String tipo; - public long start; - public long stop; - public long wait; - public boolean completo; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoTempisticaImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoTempisticaImpl.java deleted file mode 100644 index 0d69deea..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoTempisticaImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -/** - * The extended model implementation for the BoTempistica service. Represents a row in the "gc_tempistica" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.model.BoTempistica} interface. - *

- * - * @author 3FC - */ -public class BoTempisticaImpl extends BoTempisticaBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a bo tempistica model instance should use the {@link it.tref.liferay.portos.importazione.model.BoTempistica} interface instead. - */ - public BoTempisticaImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoTempisticaModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoTempisticaModelImpl.java deleted file mode 100644 index 7fdc7e74..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoTempisticaModelImpl.java +++ /dev/null @@ -1,843 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.importazione.model.BoTempistica; -import it.tref.liferay.portos.importazione.model.BoTempisticaModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the BoTempistica service. Represents a row in the "gc_tempistica" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.importazione.model.BoTempisticaModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoTempisticaImpl}. - *

- * - * @author 3FC - * @see BoTempisticaImpl - * @see it.tref.liferay.portos.importazione.model.BoTempistica - * @see it.tref.liferay.portos.importazione.model.BoTempisticaModel - * @generated - */ -public class BoTempisticaModelImpl extends BaseModelImpl - implements BoTempisticaModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo tempistica model instance should use the {@link it.tref.liferay.portos.importazione.model.BoTempistica} interface instead. - */ - public static final String TABLE_NAME = "gc_tempistica"; - public static final Object[][] TABLE_COLUMNS = { - { "uuid_", Types.VARCHAR }, - { "tempisticaId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "groupId", Types.BIGINT }, - { "intPraticaId", Types.BIGINT }, - { "dettPraticaId", Types.BIGINT }, - { "tipo", Types.VARCHAR }, - { "start_", Types.BIGINT }, - { "stop", Types.BIGINT }, - { "wait", Types.BIGINT }, - { "completo", Types.BOOLEAN } - }; - public static final String TABLE_SQL_CREATE = "create table gc_tempistica (uuid_ VARCHAR(75) null,tempisticaId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,intPraticaId LONG,dettPraticaId LONG,tipo VARCHAR(75) null,start_ LONG,stop LONG,wait LONG,completo BOOLEAN)"; - public static final String TABLE_SQL_DROP = "drop table gc_tempistica"; - public static final String ORDER_BY_JPQL = " ORDER BY boTempistica.tempisticaId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gc_tempistica.tempisticaId ASC"; - public static final String DATA_SOURCE = "datiPortos1DbDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.importazione.model.BoTempistica"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.importazione.model.BoTempistica"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.importazione.model.BoTempistica"), - true); - public static long COMPANYID_COLUMN_BITMASK = 1L; - public static long COMPLETO_COLUMN_BITMASK = 2L; - public static long GROUPID_COLUMN_BITMASK = 4L; - public static long INTPRATICAID_COLUMN_BITMASK = 8L; - public static long TIPO_COLUMN_BITMASK = 16L; - public static long UUID_COLUMN_BITMASK = 32L; - public static long TEMPISTICAID_COLUMN_BITMASK = 64L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.importazione.model.BoTempistica")); - - public BoTempisticaModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _tempisticaId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setTempisticaId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _tempisticaId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return BoTempistica.class; - } - - @Override - public String getModelClassName() { - return BoTempistica.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("tempisticaId", getTempisticaId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("tipo", getTipo()); - attributes.put("start", getStart()); - attributes.put("stop", getStop()); - attributes.put("wait", getWait()); - attributes.put("completo", getCompleto()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long tempisticaId = (Long)attributes.get("tempisticaId"); - - if (tempisticaId != null) { - setTempisticaId(tempisticaId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - String tipo = (String)attributes.get("tipo"); - - if (tipo != null) { - setTipo(tipo); - } - - Long start = (Long)attributes.get("start"); - - if (start != null) { - setStart(start); - } - - Long stop = (Long)attributes.get("stop"); - - if (stop != null) { - setStop(stop); - } - - Long wait = (Long)attributes.get("wait"); - - if (wait != null) { - setWait(wait); - } - - Boolean completo = (Boolean)attributes.get("completo"); - - if (completo != null) { - setCompleto(completo); - } - } - - @Override - public String getUuid() { - if (_uuid == null) { - return StringPool.BLANK; - } - else { - return _uuid; - } - } - - @Override - public void setUuid(String uuid) { - if (_originalUuid == null) { - _originalUuid = _uuid; - } - - _uuid = uuid; - } - - public String getOriginalUuid() { - return GetterUtil.getString(_originalUuid); - } - - @Override - public long getTempisticaId() { - return _tempisticaId; - } - - @Override - public void setTempisticaId(long tempisticaId) { - _tempisticaId = tempisticaId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _columnBitmask |= COMPANYID_COLUMN_BITMASK; - - if (!_setOriginalCompanyId) { - _setOriginalCompanyId = true; - - _originalCompanyId = _companyId; - } - - _companyId = companyId; - } - - public long getOriginalCompanyId() { - return _originalCompanyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _columnBitmask |= GROUPID_COLUMN_BITMASK; - - if (!_setOriginalGroupId) { - _setOriginalGroupId = true; - - _originalGroupId = _groupId; - } - - _groupId = groupId; - } - - public long getOriginalGroupId() { - return _originalGroupId; - } - - @Override - public long getIntPraticaId() { - return _intPraticaId; - } - - @Override - public void setIntPraticaId(long intPraticaId) { - _columnBitmask |= INTPRATICAID_COLUMN_BITMASK; - - if (!_setOriginalIntPraticaId) { - _setOriginalIntPraticaId = true; - - _originalIntPraticaId = _intPraticaId; - } - - _intPraticaId = intPraticaId; - } - - public long getOriginalIntPraticaId() { - return _originalIntPraticaId; - } - - @Override - public long getDettPraticaId() { - return _dettPraticaId; - } - - @Override - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - } - - @Override - public String getTipo() { - if (_tipo == null) { - return StringPool.BLANK; - } - else { - return _tipo; - } - } - - @Override - public void setTipo(String tipo) { - _columnBitmask |= TIPO_COLUMN_BITMASK; - - if (_originalTipo == null) { - _originalTipo = _tipo; - } - - _tipo = tipo; - } - - public String getOriginalTipo() { - return GetterUtil.getString(_originalTipo); - } - - @Override - public long getStart() { - return _start; - } - - @Override - public void setStart(long start) { - _start = start; - } - - @Override - public long getStop() { - return _stop; - } - - @Override - public void setStop(long stop) { - _stop = stop; - } - - @Override - public long getWait() { - return _wait; - } - - @Override - public void setWait(long wait) { - _wait = wait; - } - - @Override - public boolean getCompleto() { - return _completo; - } - - @Override - public boolean isCompleto() { - return _completo; - } - - @Override - public void setCompleto(boolean completo) { - _columnBitmask |= COMPLETO_COLUMN_BITMASK; - - if (!_setOriginalCompleto) { - _setOriginalCompleto = true; - - _originalCompleto = _completo; - } - - _completo = completo; - } - - public boolean getOriginalCompleto() { - return _originalCompleto; - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoTempistica.class.getName())); - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - BoTempistica.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public BoTempistica toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (BoTempistica)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - BoTempisticaImpl boTempisticaImpl = new BoTempisticaImpl(); - - boTempisticaImpl.setUuid(getUuid()); - boTempisticaImpl.setTempisticaId(getTempisticaId()); - boTempisticaImpl.setCompanyId(getCompanyId()); - boTempisticaImpl.setUserId(getUserId()); - boTempisticaImpl.setUserName(getUserName()); - boTempisticaImpl.setCreateDate(getCreateDate()); - boTempisticaImpl.setModifiedDate(getModifiedDate()); - boTempisticaImpl.setGroupId(getGroupId()); - boTempisticaImpl.setIntPraticaId(getIntPraticaId()); - boTempisticaImpl.setDettPraticaId(getDettPraticaId()); - boTempisticaImpl.setTipo(getTipo()); - boTempisticaImpl.setStart(getStart()); - boTempisticaImpl.setStop(getStop()); - boTempisticaImpl.setWait(getWait()); - boTempisticaImpl.setCompleto(getCompleto()); - - boTempisticaImpl.resetOriginalValues(); - - return boTempisticaImpl; - } - - @Override - public int compareTo(BoTempistica boTempistica) { - long primaryKey = boTempistica.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoTempistica)) { - return false; - } - - BoTempistica boTempistica = (BoTempistica)obj; - - long primaryKey = boTempistica.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - BoTempisticaModelImpl boTempisticaModelImpl = this; - - boTempisticaModelImpl._originalUuid = boTempisticaModelImpl._uuid; - - boTempisticaModelImpl._originalCompanyId = boTempisticaModelImpl._companyId; - - boTempisticaModelImpl._setOriginalCompanyId = false; - - boTempisticaModelImpl._originalGroupId = boTempisticaModelImpl._groupId; - - boTempisticaModelImpl._setOriginalGroupId = false; - - boTempisticaModelImpl._originalIntPraticaId = boTempisticaModelImpl._intPraticaId; - - boTempisticaModelImpl._setOriginalIntPraticaId = false; - - boTempisticaModelImpl._originalTipo = boTempisticaModelImpl._tipo; - - boTempisticaModelImpl._originalCompleto = boTempisticaModelImpl._completo; - - boTempisticaModelImpl._setOriginalCompleto = false; - - boTempisticaModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - BoTempisticaCacheModel boTempisticaCacheModel = new BoTempisticaCacheModel(); - - boTempisticaCacheModel.uuid = getUuid(); - - String uuid = boTempisticaCacheModel.uuid; - - if ((uuid != null) && (uuid.length() == 0)) { - boTempisticaCacheModel.uuid = null; - } - - boTempisticaCacheModel.tempisticaId = getTempisticaId(); - - boTempisticaCacheModel.companyId = getCompanyId(); - - boTempisticaCacheModel.userId = getUserId(); - - boTempisticaCacheModel.userName = getUserName(); - - String userName = boTempisticaCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - boTempisticaCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - boTempisticaCacheModel.createDate = createDate.getTime(); - } - else { - boTempisticaCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - boTempisticaCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - boTempisticaCacheModel.modifiedDate = Long.MIN_VALUE; - } - - boTempisticaCacheModel.groupId = getGroupId(); - - boTempisticaCacheModel.intPraticaId = getIntPraticaId(); - - boTempisticaCacheModel.dettPraticaId = getDettPraticaId(); - - boTempisticaCacheModel.tipo = getTipo(); - - String tipo = boTempisticaCacheModel.tipo; - - if ((tipo != null) && (tipo.length() == 0)) { - boTempisticaCacheModel.tipo = null; - } - - boTempisticaCacheModel.start = getStart(); - - boTempisticaCacheModel.stop = getStop(); - - boTempisticaCacheModel.wait = getWait(); - - boTempisticaCacheModel.completo = getCompleto(); - - return boTempisticaCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(31); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", tempisticaId="); - sb.append(getTempisticaId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", intPraticaId="); - sb.append(getIntPraticaId()); - sb.append(", dettPraticaId="); - sb.append(getDettPraticaId()); - sb.append(", tipo="); - sb.append(getTipo()); - sb.append(", start="); - sb.append(getStart()); - sb.append(", stop="); - sb.append(getStop()); - sb.append(", wait="); - sb.append(getWait()); - sb.append(", completo="); - sb.append(getCompleto()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(49); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.BoTempistica"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "tempisticaId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "intPraticaId"); - sb.append( - "dettPraticaId"); - sb.append( - "tipo"); - sb.append( - "start"); - sb.append( - "stop"); - sb.append( - "wait"); - sb.append( - "completo"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = BoTempistica.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - BoTempistica.class - }; - private String _uuid; - private String _originalUuid; - private long _tempisticaId; - private long _companyId; - private long _originalCompanyId; - private boolean _setOriginalCompanyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _originalGroupId; - private boolean _setOriginalGroupId; - private long _intPraticaId; - private long _originalIntPraticaId; - private boolean _setOriginalIntPraticaId; - private long _dettPraticaId; - private String _tipo; - private String _originalTipo; - private long _start; - private long _stop; - private long _wait; - private boolean _completo; - private boolean _originalCompleto; - private boolean _setOriginalCompleto; - private long _columnBitmask; - private BoTempistica _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoTerritorioBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoTerritorioBaseImpl.java deleted file mode 100644 index 6a89c37a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoTerritorioBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.BoTerritorio; -import it.tref.liferay.portos.importazione.service.BoTerritorioLocalServiceUtil; - -/** - * The extended model base implementation for the BoTerritorio service. Represents a row in the "gc_territorio" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoTerritorioImpl}. - *

- * - * @author 3FC - * @see BoTerritorioImpl - * @see it.tref.liferay.portos.importazione.model.BoTerritorio - * @generated - */ -public abstract class BoTerritorioBaseImpl extends BoTerritorioModelImpl - implements BoTerritorio { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo territorio model instance should use the {@link BoTerritorio} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoTerritorioLocalServiceUtil.addBoTerritorio(this); - } - else { - BoTerritorioLocalServiceUtil.updateBoTerritorio(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoTerritorioCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoTerritorioCacheModel.java deleted file mode 100644 index 0f581849..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoTerritorioCacheModel.java +++ /dev/null @@ -1,177 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.importazione.model.BoTerritorio; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing BoTerritorio in entity cache. - * - * @author 3FC - * @see BoTerritorio - * @generated - */ -public class BoTerritorioCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(25); - - sb.append("{territorioId="); - sb.append(territorioId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", zonaId="); - sb.append(zonaId); - sb.append(", fasciaId="); - sb.append(fasciaId); - sb.append(", comuneId="); - sb.append(comuneId); - sb.append(", dtIni="); - sb.append(dtIni); - sb.append(", dtFin="); - sb.append(dtFin); - sb.append("}"); - - return sb.toString(); - } - - @Override - public BoTerritorio toEntityModel() { - BoTerritorioImpl boTerritorioImpl = new BoTerritorioImpl(); - - boTerritorioImpl.setTerritorioId(territorioId); - boTerritorioImpl.setCompanyId(companyId); - boTerritorioImpl.setUserId(userId); - - if (userName == null) { - boTerritorioImpl.setUserName(StringPool.BLANK); - } - else { - boTerritorioImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - boTerritorioImpl.setCreateDate(null); - } - else { - boTerritorioImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - boTerritorioImpl.setModifiedDate(null); - } - else { - boTerritorioImpl.setModifiedDate(new Date(modifiedDate)); - } - - boTerritorioImpl.setGroupId(groupId); - boTerritorioImpl.setZonaId(zonaId); - boTerritorioImpl.setFasciaId(fasciaId); - boTerritorioImpl.setComuneId(comuneId); - - if (dtIni == Long.MIN_VALUE) { - boTerritorioImpl.setDtIni(null); - } - else { - boTerritorioImpl.setDtIni(new Date(dtIni)); - } - - if (dtFin == Long.MIN_VALUE) { - boTerritorioImpl.setDtFin(null); - } - else { - boTerritorioImpl.setDtFin(new Date(dtFin)); - } - - boTerritorioImpl.resetOriginalValues(); - - return boTerritorioImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - territorioId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - groupId = objectInput.readLong(); - zonaId = objectInput.readLong(); - fasciaId = objectInput.readLong(); - comuneId = objectInput.readLong(); - dtIni = objectInput.readLong(); - dtFin = objectInput.readLong(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - objectOutput.writeLong(territorioId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeLong(groupId); - objectOutput.writeLong(zonaId); - objectOutput.writeLong(fasciaId); - objectOutput.writeLong(comuneId); - objectOutput.writeLong(dtIni); - objectOutput.writeLong(dtFin); - } - - public long territorioId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public long groupId; - public long zonaId; - public long fasciaId; - public long comuneId; - public long dtIni; - public long dtFin; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoTerritorioImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoTerritorioImpl.java deleted file mode 100644 index 276cf9b2..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoTerritorioImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -/** - * The extended model implementation for the BoTerritorio service. Represents a row in the "gc_territorio" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.model.BoTerritorio} interface. - *

- * - * @author 3FC - */ -public class BoTerritorioImpl extends BoTerritorioBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a bo territorio model instance should use the {@link it.tref.liferay.portos.importazione.model.BoTerritorio} interface instead. - */ - public BoTerritorioImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoTerritorioModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoTerritorioModelImpl.java deleted file mode 100644 index f7cdf476..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/BoTerritorioModelImpl.java +++ /dev/null @@ -1,746 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.importazione.model.BoTerritorio; -import it.tref.liferay.portos.importazione.model.BoTerritorioModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the BoTerritorio service. Represents a row in the "gc_territorio" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.importazione.model.BoTerritorioModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoTerritorioImpl}. - *

- * - * @author 3FC - * @see BoTerritorioImpl - * @see it.tref.liferay.portos.importazione.model.BoTerritorio - * @see it.tref.liferay.portos.importazione.model.BoTerritorioModel - * @generated - */ -public class BoTerritorioModelImpl extends BaseModelImpl - implements BoTerritorioModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo territorio model instance should use the {@link it.tref.liferay.portos.importazione.model.BoTerritorio} interface instead. - */ - public static final String TABLE_NAME = "gc_territorio"; - public static final Object[][] TABLE_COLUMNS = { - { "territorioId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "groupId", Types.BIGINT }, - { "zonaId", Types.BIGINT }, - { "fasciaId", Types.BIGINT }, - { "comuneId", Types.BIGINT }, - { "dtIni", Types.TIMESTAMP }, - { "dtFin", Types.TIMESTAMP } - }; - public static final String TABLE_SQL_CREATE = "create table gc_territorio (territorioId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,zonaId LONG,fasciaId LONG,comuneId LONG,dtIni DATE null,dtFin DATE null)"; - public static final String TABLE_SQL_DROP = "drop table gc_territorio"; - public static final String ORDER_BY_JPQL = " ORDER BY boTerritorio.territorioId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gc_territorio.territorioId ASC"; - public static final String DATA_SOURCE = "datiPortos1DbDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.importazione.model.BoTerritorio"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.importazione.model.BoTerritorio"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.importazione.model.BoTerritorio"), - true); - public static long COMPANYID_COLUMN_BITMASK = 1L; - public static long COMUNEID_COLUMN_BITMASK = 2L; - public static long DTINI_COLUMN_BITMASK = 4L; - public static long FASCIAID_COLUMN_BITMASK = 8L; - public static long GROUPID_COLUMN_BITMASK = 16L; - public static long ZONAID_COLUMN_BITMASK = 32L; - public static long TERRITORIOID_COLUMN_BITMASK = 64L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.importazione.model.BoTerritorio")); - - public BoTerritorioModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _territorioId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setTerritorioId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _territorioId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return BoTerritorio.class; - } - - @Override - public String getModelClassName() { - return BoTerritorio.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("territorioId", getTerritorioId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("zonaId", getZonaId()); - attributes.put("fasciaId", getFasciaId()); - attributes.put("comuneId", getComuneId()); - attributes.put("dtIni", getDtIni()); - attributes.put("dtFin", getDtFin()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long territorioId = (Long)attributes.get("territorioId"); - - if (territorioId != null) { - setTerritorioId(territorioId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long zonaId = (Long)attributes.get("zonaId"); - - if (zonaId != null) { - setZonaId(zonaId); - } - - Long fasciaId = (Long)attributes.get("fasciaId"); - - if (fasciaId != null) { - setFasciaId(fasciaId); - } - - Long comuneId = (Long)attributes.get("comuneId"); - - if (comuneId != null) { - setComuneId(comuneId); - } - - Date dtIni = (Date)attributes.get("dtIni"); - - if (dtIni != null) { - setDtIni(dtIni); - } - - Date dtFin = (Date)attributes.get("dtFin"); - - if (dtFin != null) { - setDtFin(dtFin); - } - } - - @Override - public long getTerritorioId() { - return _territorioId; - } - - @Override - public void setTerritorioId(long territorioId) { - _territorioId = territorioId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _columnBitmask |= COMPANYID_COLUMN_BITMASK; - - if (!_setOriginalCompanyId) { - _setOriginalCompanyId = true; - - _originalCompanyId = _companyId; - } - - _companyId = companyId; - } - - public long getOriginalCompanyId() { - return _originalCompanyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _columnBitmask |= GROUPID_COLUMN_BITMASK; - - if (!_setOriginalGroupId) { - _setOriginalGroupId = true; - - _originalGroupId = _groupId; - } - - _groupId = groupId; - } - - public long getOriginalGroupId() { - return _originalGroupId; - } - - @Override - public long getZonaId() { - return _zonaId; - } - - @Override - public void setZonaId(long zonaId) { - _columnBitmask |= ZONAID_COLUMN_BITMASK; - - if (!_setOriginalZonaId) { - _setOriginalZonaId = true; - - _originalZonaId = _zonaId; - } - - _zonaId = zonaId; - } - - public long getOriginalZonaId() { - return _originalZonaId; - } - - @Override - public long getFasciaId() { - return _fasciaId; - } - - @Override - public void setFasciaId(long fasciaId) { - _columnBitmask |= FASCIAID_COLUMN_BITMASK; - - if (!_setOriginalFasciaId) { - _setOriginalFasciaId = true; - - _originalFasciaId = _fasciaId; - } - - _fasciaId = fasciaId; - } - - public long getOriginalFasciaId() { - return _originalFasciaId; - } - - @Override - public long getComuneId() { - return _comuneId; - } - - @Override - public void setComuneId(long comuneId) { - _columnBitmask |= COMUNEID_COLUMN_BITMASK; - - if (!_setOriginalComuneId) { - _setOriginalComuneId = true; - - _originalComuneId = _comuneId; - } - - _comuneId = comuneId; - } - - public long getOriginalComuneId() { - return _originalComuneId; - } - - @Override - public Date getDtIni() { - return _dtIni; - } - - @Override - public void setDtIni(Date dtIni) { - _columnBitmask |= DTINI_COLUMN_BITMASK; - - if (_originalDtIni == null) { - _originalDtIni = _dtIni; - } - - _dtIni = dtIni; - } - - public Date getOriginalDtIni() { - return _originalDtIni; - } - - @Override - public Date getDtFin() { - return _dtFin; - } - - @Override - public void setDtFin(Date dtFin) { - _dtFin = dtFin; - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - BoTerritorio.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public BoTerritorio toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (BoTerritorio)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - BoTerritorioImpl boTerritorioImpl = new BoTerritorioImpl(); - - boTerritorioImpl.setTerritorioId(getTerritorioId()); - boTerritorioImpl.setCompanyId(getCompanyId()); - boTerritorioImpl.setUserId(getUserId()); - boTerritorioImpl.setUserName(getUserName()); - boTerritorioImpl.setCreateDate(getCreateDate()); - boTerritorioImpl.setModifiedDate(getModifiedDate()); - boTerritorioImpl.setGroupId(getGroupId()); - boTerritorioImpl.setZonaId(getZonaId()); - boTerritorioImpl.setFasciaId(getFasciaId()); - boTerritorioImpl.setComuneId(getComuneId()); - boTerritorioImpl.setDtIni(getDtIni()); - boTerritorioImpl.setDtFin(getDtFin()); - - boTerritorioImpl.resetOriginalValues(); - - return boTerritorioImpl; - } - - @Override - public int compareTo(BoTerritorio boTerritorio) { - long primaryKey = boTerritorio.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoTerritorio)) { - return false; - } - - BoTerritorio boTerritorio = (BoTerritorio)obj; - - long primaryKey = boTerritorio.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - BoTerritorioModelImpl boTerritorioModelImpl = this; - - boTerritorioModelImpl._originalCompanyId = boTerritorioModelImpl._companyId; - - boTerritorioModelImpl._setOriginalCompanyId = false; - - boTerritorioModelImpl._originalGroupId = boTerritorioModelImpl._groupId; - - boTerritorioModelImpl._setOriginalGroupId = false; - - boTerritorioModelImpl._originalZonaId = boTerritorioModelImpl._zonaId; - - boTerritorioModelImpl._setOriginalZonaId = false; - - boTerritorioModelImpl._originalFasciaId = boTerritorioModelImpl._fasciaId; - - boTerritorioModelImpl._setOriginalFasciaId = false; - - boTerritorioModelImpl._originalComuneId = boTerritorioModelImpl._comuneId; - - boTerritorioModelImpl._setOriginalComuneId = false; - - boTerritorioModelImpl._originalDtIni = boTerritorioModelImpl._dtIni; - - boTerritorioModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - BoTerritorioCacheModel boTerritorioCacheModel = new BoTerritorioCacheModel(); - - boTerritorioCacheModel.territorioId = getTerritorioId(); - - boTerritorioCacheModel.companyId = getCompanyId(); - - boTerritorioCacheModel.userId = getUserId(); - - boTerritorioCacheModel.userName = getUserName(); - - String userName = boTerritorioCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - boTerritorioCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - boTerritorioCacheModel.createDate = createDate.getTime(); - } - else { - boTerritorioCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - boTerritorioCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - boTerritorioCacheModel.modifiedDate = Long.MIN_VALUE; - } - - boTerritorioCacheModel.groupId = getGroupId(); - - boTerritorioCacheModel.zonaId = getZonaId(); - - boTerritorioCacheModel.fasciaId = getFasciaId(); - - boTerritorioCacheModel.comuneId = getComuneId(); - - Date dtIni = getDtIni(); - - if (dtIni != null) { - boTerritorioCacheModel.dtIni = dtIni.getTime(); - } - else { - boTerritorioCacheModel.dtIni = Long.MIN_VALUE; - } - - Date dtFin = getDtFin(); - - if (dtFin != null) { - boTerritorioCacheModel.dtFin = dtFin.getTime(); - } - else { - boTerritorioCacheModel.dtFin = Long.MIN_VALUE; - } - - return boTerritorioCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(25); - - sb.append("{territorioId="); - sb.append(getTerritorioId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", zonaId="); - sb.append(getZonaId()); - sb.append(", fasciaId="); - sb.append(getFasciaId()); - sb.append(", comuneId="); - sb.append(getComuneId()); - sb.append(", dtIni="); - sb.append(getDtIni()); - sb.append(", dtFin="); - sb.append(getDtFin()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(40); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.BoTerritorio"); - sb.append(""); - - sb.append( - "territorioId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "zonaId"); - sb.append( - "fasciaId"); - sb.append( - "comuneId"); - sb.append( - "dtIni"); - sb.append( - "dtFin"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = BoTerritorio.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - BoTerritorio.class - }; - private long _territorioId; - private long _companyId; - private long _originalCompanyId; - private boolean _setOriginalCompanyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _originalGroupId; - private boolean _setOriginalGroupId; - private long _zonaId; - private long _originalZonaId; - private boolean _setOriginalZonaId; - private long _fasciaId; - private long _originalFasciaId; - private boolean _setOriginalFasciaId; - private long _comuneId; - private long _originalComuneId; - private boolean _setOriginalComuneId; - private Date _dtIni; - private Date _originalDtIni; - private Date _dtFin; - private long _columnBitmask; - private BoTerritorio _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeComuneBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeComuneBaseImpl.java deleted file mode 100644 index 4c1912bd..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeComuneBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.FeComune; -import it.tref.liferay.portos.importazione.service.FeComuneLocalServiceUtil; - -/** - * The extended model base implementation for the FeComune service. Represents a row in the "gcfe_comune" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link FeComuneImpl}. - *

- * - * @author 3FC - * @see FeComuneImpl - * @see it.tref.liferay.portos.importazione.model.FeComune - * @generated - */ -public abstract class FeComuneBaseImpl extends FeComuneModelImpl - implements FeComune { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a fe comune model instance should use the {@link FeComune} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - FeComuneLocalServiceUtil.addFeComune(this); - } - else { - FeComuneLocalServiceUtil.updateFeComune(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeComuneCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeComuneCacheModel.java deleted file mode 100644 index 072e349e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeComuneCacheModel.java +++ /dev/null @@ -1,148 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.importazione.model.FeComune; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -/** - * The cache model class for representing FeComune in entity cache. - * - * @author 3FC - * @see FeComune - * @generated - */ -public class FeComuneCacheModel implements CacheModel, Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(13); - - sb.append("{comuneId="); - sb.append(comuneId); - sb.append(", provinciaId="); - sb.append(provinciaId); - sb.append(", codIstat="); - sb.append(codIstat); - sb.append(", codCatastale="); - sb.append(codCatastale); - sb.append(", descLong="); - sb.append(descLong); - sb.append(", emailSuap="); - sb.append(emailSuap); - sb.append("}"); - - return sb.toString(); - } - - @Override - public FeComune toEntityModel() { - FeComuneImpl feComuneImpl = new FeComuneImpl(); - - feComuneImpl.setComuneId(comuneId); - feComuneImpl.setProvinciaId(provinciaId); - - if (codIstat == null) { - feComuneImpl.setCodIstat(StringPool.BLANK); - } - else { - feComuneImpl.setCodIstat(codIstat); - } - - if (codCatastale == null) { - feComuneImpl.setCodCatastale(StringPool.BLANK); - } - else { - feComuneImpl.setCodCatastale(codCatastale); - } - - if (descLong == null) { - feComuneImpl.setDescLong(StringPool.BLANK); - } - else { - feComuneImpl.setDescLong(descLong); - } - - if (emailSuap == null) { - feComuneImpl.setEmailSuap(StringPool.BLANK); - } - else { - feComuneImpl.setEmailSuap(emailSuap); - } - - feComuneImpl.resetOriginalValues(); - - return feComuneImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - comuneId = objectInput.readLong(); - provinciaId = objectInput.readLong(); - codIstat = objectInput.readUTF(); - codCatastale = objectInput.readUTF(); - descLong = objectInput.readUTF(); - emailSuap = objectInput.readUTF(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - objectOutput.writeLong(comuneId); - objectOutput.writeLong(provinciaId); - - if (codIstat == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codIstat); - } - - if (codCatastale == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codCatastale); - } - - if (descLong == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(descLong); - } - - if (emailSuap == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(emailSuap); - } - } - - public long comuneId; - public long provinciaId; - public String codIstat; - public String codCatastale; - public String descLong; - public String emailSuap; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeComuneImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeComuneImpl.java deleted file mode 100644 index 3d3b02ed..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeComuneImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -/** - * The extended model implementation for the FeComune service. Represents a row in the "gcfe_comune" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.model.FeComune} interface. - *

- * - * @author 3FC - */ -public class FeComuneImpl extends FeComuneBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a fe comune model instance should use the {@link it.tref.liferay.portos.importazione.model.FeComune} interface instead. - */ - public FeComuneImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeComuneModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeComuneModelImpl.java deleted file mode 100644 index accd595a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeComuneModelImpl.java +++ /dev/null @@ -1,488 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.importazione.model.FeComune; -import it.tref.liferay.portos.importazione.model.FeComuneModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the FeComune service. Represents a row in the "gcfe_comune" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.importazione.model.FeComuneModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link FeComuneImpl}. - *

- * - * @author 3FC - * @see FeComuneImpl - * @see it.tref.liferay.portos.importazione.model.FeComune - * @see it.tref.liferay.portos.importazione.model.FeComuneModel - * @generated - */ -public class FeComuneModelImpl extends BaseModelImpl - implements FeComuneModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a fe comune model instance should use the {@link it.tref.liferay.portos.importazione.model.FeComune} interface instead. - */ - public static final String TABLE_NAME = "gcfe_comune"; - public static final Object[][] TABLE_COLUMNS = { - { "comuneId", Types.BIGINT }, - { "provinciaId", Types.BIGINT }, - { "codIstat", Types.VARCHAR }, - { "codCatastale", Types.VARCHAR }, - { "descLong", Types.VARCHAR }, - { "emailSuap", Types.VARCHAR } - }; - public static final String TABLE_SQL_CREATE = "create table gcfe_comune (comuneId LONG not null primary key,provinciaId LONG,codIstat VARCHAR(75) null,codCatastale VARCHAR(75) null,descLong VARCHAR(75) null,emailSuap VARCHAR(75) null)"; - public static final String TABLE_SQL_DROP = "drop table gcfe_comune"; - public static final String ORDER_BY_JPQL = " ORDER BY feComune.comuneId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gcfe_comune.comuneId ASC"; - public static final String DATA_SOURCE = "datiPortos1DbFeDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbFeSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbFeTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.importazione.model.FeComune"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.importazione.model.FeComune"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.importazione.model.FeComune"), - true); - public static long CODCATASTALE_COLUMN_BITMASK = 1L; - public static long CODISTAT_COLUMN_BITMASK = 2L; - public static long COMUNEID_COLUMN_BITMASK = 4L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.importazione.model.FeComune")); - - public FeComuneModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _comuneId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setComuneId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _comuneId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return FeComune.class; - } - - @Override - public String getModelClassName() { - return FeComune.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("comuneId", getComuneId()); - attributes.put("provinciaId", getProvinciaId()); - attributes.put("codIstat", getCodIstat()); - attributes.put("codCatastale", getCodCatastale()); - attributes.put("descLong", getDescLong()); - attributes.put("emailSuap", getEmailSuap()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long comuneId = (Long)attributes.get("comuneId"); - - if (comuneId != null) { - setComuneId(comuneId); - } - - Long provinciaId = (Long)attributes.get("provinciaId"); - - if (provinciaId != null) { - setProvinciaId(provinciaId); - } - - String codIstat = (String)attributes.get("codIstat"); - - if (codIstat != null) { - setCodIstat(codIstat); - } - - String codCatastale = (String)attributes.get("codCatastale"); - - if (codCatastale != null) { - setCodCatastale(codCatastale); - } - - String descLong = (String)attributes.get("descLong"); - - if (descLong != null) { - setDescLong(descLong); - } - - String emailSuap = (String)attributes.get("emailSuap"); - - if (emailSuap != null) { - setEmailSuap(emailSuap); - } - } - - @Override - public long getComuneId() { - return _comuneId; - } - - @Override - public void setComuneId(long comuneId) { - _comuneId = comuneId; - } - - @Override - public long getProvinciaId() { - return _provinciaId; - } - - @Override - public void setProvinciaId(long provinciaId) { - _provinciaId = provinciaId; - } - - @Override - public String getCodIstat() { - if (_codIstat == null) { - return StringPool.BLANK; - } - else { - return _codIstat; - } - } - - @Override - public void setCodIstat(String codIstat) { - _columnBitmask |= CODISTAT_COLUMN_BITMASK; - - if (_originalCodIstat == null) { - _originalCodIstat = _codIstat; - } - - _codIstat = codIstat; - } - - public String getOriginalCodIstat() { - return GetterUtil.getString(_originalCodIstat); - } - - @Override - public String getCodCatastale() { - if (_codCatastale == null) { - return StringPool.BLANK; - } - else { - return _codCatastale; - } - } - - @Override - public void setCodCatastale(String codCatastale) { - _columnBitmask |= CODCATASTALE_COLUMN_BITMASK; - - if (_originalCodCatastale == null) { - _originalCodCatastale = _codCatastale; - } - - _codCatastale = codCatastale; - } - - public String getOriginalCodCatastale() { - return GetterUtil.getString(_originalCodCatastale); - } - - @Override - public String getDescLong() { - if (_descLong == null) { - return StringPool.BLANK; - } - else { - return _descLong; - } - } - - @Override - public void setDescLong(String descLong) { - _descLong = descLong; - } - - @Override - public String getEmailSuap() { - if (_emailSuap == null) { - return StringPool.BLANK; - } - else { - return _emailSuap; - } - } - - @Override - public void setEmailSuap(String emailSuap) { - _emailSuap = emailSuap; - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(0, - FeComune.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public FeComune toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (FeComune)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - FeComuneImpl feComuneImpl = new FeComuneImpl(); - - feComuneImpl.setComuneId(getComuneId()); - feComuneImpl.setProvinciaId(getProvinciaId()); - feComuneImpl.setCodIstat(getCodIstat()); - feComuneImpl.setCodCatastale(getCodCatastale()); - feComuneImpl.setDescLong(getDescLong()); - feComuneImpl.setEmailSuap(getEmailSuap()); - - feComuneImpl.resetOriginalValues(); - - return feComuneImpl; - } - - @Override - public int compareTo(FeComune feComune) { - long primaryKey = feComune.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof FeComune)) { - return false; - } - - FeComune feComune = (FeComune)obj; - - long primaryKey = feComune.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - FeComuneModelImpl feComuneModelImpl = this; - - feComuneModelImpl._originalCodIstat = feComuneModelImpl._codIstat; - - feComuneModelImpl._originalCodCatastale = feComuneModelImpl._codCatastale; - - feComuneModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - FeComuneCacheModel feComuneCacheModel = new FeComuneCacheModel(); - - feComuneCacheModel.comuneId = getComuneId(); - - feComuneCacheModel.provinciaId = getProvinciaId(); - - feComuneCacheModel.codIstat = getCodIstat(); - - String codIstat = feComuneCacheModel.codIstat; - - if ((codIstat != null) && (codIstat.length() == 0)) { - feComuneCacheModel.codIstat = null; - } - - feComuneCacheModel.codCatastale = getCodCatastale(); - - String codCatastale = feComuneCacheModel.codCatastale; - - if ((codCatastale != null) && (codCatastale.length() == 0)) { - feComuneCacheModel.codCatastale = null; - } - - feComuneCacheModel.descLong = getDescLong(); - - String descLong = feComuneCacheModel.descLong; - - if ((descLong != null) && (descLong.length() == 0)) { - feComuneCacheModel.descLong = null; - } - - feComuneCacheModel.emailSuap = getEmailSuap(); - - String emailSuap = feComuneCacheModel.emailSuap; - - if ((emailSuap != null) && (emailSuap.length() == 0)) { - feComuneCacheModel.emailSuap = null; - } - - return feComuneCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(13); - - sb.append("{comuneId="); - sb.append(getComuneId()); - sb.append(", provinciaId="); - sb.append(getProvinciaId()); - sb.append(", codIstat="); - sb.append(getCodIstat()); - sb.append(", codCatastale="); - sb.append(getCodCatastale()); - sb.append(", descLong="); - sb.append(getDescLong()); - sb.append(", emailSuap="); - sb.append(getEmailSuap()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(22); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.FeComune"); - sb.append(""); - - sb.append( - "comuneId"); - sb.append( - "provinciaId"); - sb.append( - "codIstat"); - sb.append( - "codCatastale"); - sb.append( - "descLong"); - sb.append( - "emailSuap"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = FeComune.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - FeComune.class - }; - private long _comuneId; - private long _provinciaId; - private String _codIstat; - private String _originalCodIstat; - private String _codCatastale; - private String _originalCodCatastale; - private String _descLong; - private String _emailSuap; - private long _columnBitmask; - private FeComune _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeDettPraticaBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeDettPraticaBaseImpl.java deleted file mode 100644 index 587bda0c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeDettPraticaBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.FeDettPratica; -import it.tref.liferay.portos.importazione.service.FeDettPraticaLocalServiceUtil; - -/** - * The extended model base implementation for the FeDettPratica service. Represents a row in the "gcfe_dettpratica" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link FeDettPraticaImpl}. - *

- * - * @author 3FC - * @see FeDettPraticaImpl - * @see it.tref.liferay.portos.importazione.model.FeDettPratica - * @generated - */ -public abstract class FeDettPraticaBaseImpl extends FeDettPraticaModelImpl - implements FeDettPratica { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a fe dett pratica model instance should use the {@link FeDettPratica} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - FeDettPraticaLocalServiceUtil.addFeDettPratica(this); - } - else { - FeDettPraticaLocalServiceUtil.updateFeDettPratica(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeDettPraticaCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeDettPraticaCacheModel.java deleted file mode 100644 index c6afb253..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeDettPraticaCacheModel.java +++ /dev/null @@ -1,163 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.importazione.model.FeDettPratica; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -/** - * The cache model class for representing FeDettPratica in entity cache. - * - * @author 3FC - * @see FeDettPratica - * @generated - */ -public class FeDettPraticaCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(25); - - sb.append("{uuid="); - sb.append(uuid); - sb.append(", dettPraticaId="); - sb.append(dettPraticaId); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", intPraticaId="); - sb.append(intPraticaId); - sb.append(", codPraticaSuap="); - sb.append(codPraticaSuap); - sb.append(", fineLavoriSceltaPrelievo="); - sb.append(fineLavoriSceltaPrelievo); - sb.append(", fPrelievoCalcestruzzo="); - sb.append(fPrelievoCalcestruzzo); - sb.append(", fPrelievoAcciaio="); - sb.append(fPrelievoAcciaio); - sb.append(", fPrelievoAltro="); - sb.append(fPrelievoAltro); - sb.append(", fineLavoriAlletiUlteriori="); - sb.append(fineLavoriAlletiUlteriori); - sb.append(", fNoCollaudoStatico="); - sb.append(fNoCollaudoStatico); - sb.append(", pagamentoId="); - sb.append(pagamentoId); - sb.append("}"); - - return sb.toString(); - } - - @Override - public FeDettPratica toEntityModel() { - FeDettPraticaImpl feDettPraticaImpl = new FeDettPraticaImpl(); - - if (uuid == null) { - feDettPraticaImpl.setUuid(StringPool.BLANK); - } - else { - feDettPraticaImpl.setUuid(uuid); - } - - feDettPraticaImpl.setDettPraticaId(dettPraticaId); - feDettPraticaImpl.setGroupId(groupId); - feDettPraticaImpl.setIntPraticaId(intPraticaId); - - if (codPraticaSuap == null) { - feDettPraticaImpl.setCodPraticaSuap(StringPool.BLANK); - } - else { - feDettPraticaImpl.setCodPraticaSuap(codPraticaSuap); - } - - feDettPraticaImpl.setFineLavoriSceltaPrelievo(fineLavoriSceltaPrelievo); - feDettPraticaImpl.setFPrelievoCalcestruzzo(fPrelievoCalcestruzzo); - feDettPraticaImpl.setFPrelievoAcciaio(fPrelievoAcciaio); - feDettPraticaImpl.setFPrelievoAltro(fPrelievoAltro); - feDettPraticaImpl.setFineLavoriAlletiUlteriori(fineLavoriAlletiUlteriori); - feDettPraticaImpl.setFNoCollaudoStatico(fNoCollaudoStatico); - feDettPraticaImpl.setPagamentoId(pagamentoId); - - feDettPraticaImpl.resetOriginalValues(); - - return feDettPraticaImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - uuid = objectInput.readUTF(); - dettPraticaId = objectInput.readLong(); - groupId = objectInput.readLong(); - intPraticaId = objectInput.readLong(); - codPraticaSuap = objectInput.readUTF(); - fineLavoriSceltaPrelievo = objectInput.readBoolean(); - fPrelievoCalcestruzzo = objectInput.readBoolean(); - fPrelievoAcciaio = objectInput.readBoolean(); - fPrelievoAltro = objectInput.readBoolean(); - fineLavoriAlletiUlteriori = objectInput.readBoolean(); - fNoCollaudoStatico = objectInput.readBoolean(); - pagamentoId = objectInput.readLong(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - if (uuid == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(uuid); - } - - objectOutput.writeLong(dettPraticaId); - objectOutput.writeLong(groupId); - objectOutput.writeLong(intPraticaId); - - if (codPraticaSuap == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codPraticaSuap); - } - - objectOutput.writeBoolean(fineLavoriSceltaPrelievo); - objectOutput.writeBoolean(fPrelievoCalcestruzzo); - objectOutput.writeBoolean(fPrelievoAcciaio); - objectOutput.writeBoolean(fPrelievoAltro); - objectOutput.writeBoolean(fineLavoriAlletiUlteriori); - objectOutput.writeBoolean(fNoCollaudoStatico); - objectOutput.writeLong(pagamentoId); - } - - public String uuid; - public long dettPraticaId; - public long groupId; - public long intPraticaId; - public String codPraticaSuap; - public boolean fineLavoriSceltaPrelievo; - public boolean fPrelievoCalcestruzzo; - public boolean fPrelievoAcciaio; - public boolean fPrelievoAltro; - public boolean fineLavoriAlletiUlteriori; - public boolean fNoCollaudoStatico; - public long pagamentoId; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeDettPraticaImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeDettPraticaImpl.java deleted file mode 100644 index 967aeb78..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeDettPraticaImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -/** - * The extended model implementation for the FeDettPratica service. Represents a row in the "gcfe_dettpratica" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.model.FeDettPratica} interface. - *

- * - * @author 3FC - */ -public class FeDettPraticaImpl extends FeDettPraticaBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a fe dett pratica model instance should use the {@link it.tref.liferay.portos.importazione.model.FeDettPratica} interface instead. - */ - public FeDettPraticaImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeDettPraticaModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeDettPraticaModelImpl.java deleted file mode 100644 index a0824b69..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeDettPraticaModelImpl.java +++ /dev/null @@ -1,686 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.importazione.model.FeDettPratica; -import it.tref.liferay.portos.importazione.model.FeDettPraticaModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the FeDettPratica service. Represents a row in the "gcfe_dettpratica" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.importazione.model.FeDettPraticaModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link FeDettPraticaImpl}. - *

- * - * @author 3FC - * @see FeDettPraticaImpl - * @see it.tref.liferay.portos.importazione.model.FeDettPratica - * @see it.tref.liferay.portos.importazione.model.FeDettPraticaModel - * @generated - */ -public class FeDettPraticaModelImpl extends BaseModelImpl - implements FeDettPraticaModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a fe dett pratica model instance should use the {@link it.tref.liferay.portos.importazione.model.FeDettPratica} interface instead. - */ - public static final String TABLE_NAME = "gcfe_dettpratica"; - public static final Object[][] TABLE_COLUMNS = { - { "uuid_", Types.VARCHAR }, - { "dettPraticaId", Types.BIGINT }, - { "groupId", Types.BIGINT }, - { "intPraticaId", Types.BIGINT }, - { "codPraticaSuap", Types.VARCHAR }, - { "fineLavoriSceltaPrelievo", Types.BOOLEAN }, - { "fPrelievoCalcestruzzo", Types.BOOLEAN }, - { "fPrelievoAcciaio", Types.BOOLEAN }, - { "fPrelievoAltro", Types.BOOLEAN }, - { "fineLavoriAlletiUlteriori", Types.BOOLEAN }, - { "fNoCollaudoStatico", Types.BOOLEAN }, - { "pagamentoId", Types.BIGINT } - }; - public static final String TABLE_SQL_CREATE = "create table gcfe_dettpratica (uuid_ VARCHAR(75) null,dettPraticaId LONG not null primary key,groupId LONG,intPraticaId LONG,codPraticaSuap VARCHAR(75) null,fineLavoriSceltaPrelievo BOOLEAN,fPrelievoCalcestruzzo BOOLEAN,fPrelievoAcciaio BOOLEAN,fPrelievoAltro BOOLEAN,fineLavoriAlletiUlteriori BOOLEAN,fNoCollaudoStatico BOOLEAN,pagamentoId LONG)"; - public static final String TABLE_SQL_DROP = "drop table gcfe_dettpratica"; - public static final String ORDER_BY_JPQL = " ORDER BY feDettPratica.dettPraticaId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gcfe_dettpratica.dettPraticaId ASC"; - public static final String DATA_SOURCE = "datiPortos1DbFeDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbFeSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbFeTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.importazione.model.FeDettPratica"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.importazione.model.FeDettPratica"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.importazione.model.FeDettPratica"), - true); - public static long CODPRATICASUAP_COLUMN_BITMASK = 1L; - public static long GROUPID_COLUMN_BITMASK = 2L; - public static long UUID_COLUMN_BITMASK = 4L; - public static long DETTPRATICAID_COLUMN_BITMASK = 8L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.importazione.model.FeDettPratica")); - - public FeDettPraticaModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _dettPraticaId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setDettPraticaId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _dettPraticaId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return FeDettPratica.class; - } - - @Override - public String getModelClassName() { - return FeDettPratica.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("groupId", getGroupId()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("codPraticaSuap", getCodPraticaSuap()); - attributes.put("fineLavoriSceltaPrelievo", getFineLavoriSceltaPrelievo()); - attributes.put("fPrelievoCalcestruzzo", getFPrelievoCalcestruzzo()); - attributes.put("fPrelievoAcciaio", getFPrelievoAcciaio()); - attributes.put("fPrelievoAltro", getFPrelievoAltro()); - attributes.put("fineLavoriAlletiUlteriori", - getFineLavoriAlletiUlteriori()); - attributes.put("fNoCollaudoStatico", getFNoCollaudoStatico()); - attributes.put("pagamentoId", getPagamentoId()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - String codPraticaSuap = (String)attributes.get("codPraticaSuap"); - - if (codPraticaSuap != null) { - setCodPraticaSuap(codPraticaSuap); - } - - Boolean fineLavoriSceltaPrelievo = (Boolean)attributes.get( - "fineLavoriSceltaPrelievo"); - - if (fineLavoriSceltaPrelievo != null) { - setFineLavoriSceltaPrelievo(fineLavoriSceltaPrelievo); - } - - Boolean fPrelievoCalcestruzzo = (Boolean)attributes.get( - "fPrelievoCalcestruzzo"); - - if (fPrelievoCalcestruzzo != null) { - setFPrelievoCalcestruzzo(fPrelievoCalcestruzzo); - } - - Boolean fPrelievoAcciaio = (Boolean)attributes.get("fPrelievoAcciaio"); - - if (fPrelievoAcciaio != null) { - setFPrelievoAcciaio(fPrelievoAcciaio); - } - - Boolean fPrelievoAltro = (Boolean)attributes.get("fPrelievoAltro"); - - if (fPrelievoAltro != null) { - setFPrelievoAltro(fPrelievoAltro); - } - - Boolean fineLavoriAlletiUlteriori = (Boolean)attributes.get( - "fineLavoriAlletiUlteriori"); - - if (fineLavoriAlletiUlteriori != null) { - setFineLavoriAlletiUlteriori(fineLavoriAlletiUlteriori); - } - - Boolean fNoCollaudoStatico = (Boolean)attributes.get( - "fNoCollaudoStatico"); - - if (fNoCollaudoStatico != null) { - setFNoCollaudoStatico(fNoCollaudoStatico); - } - - Long pagamentoId = (Long)attributes.get("pagamentoId"); - - if (pagamentoId != null) { - setPagamentoId(pagamentoId); - } - } - - @Override - public String getUuid() { - if (_uuid == null) { - return StringPool.BLANK; - } - else { - return _uuid; - } - } - - @Override - public void setUuid(String uuid) { - if (_originalUuid == null) { - _originalUuid = _uuid; - } - - _uuid = uuid; - } - - public String getOriginalUuid() { - return GetterUtil.getString(_originalUuid); - } - - @Override - public long getDettPraticaId() { - return _dettPraticaId; - } - - @Override - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _columnBitmask |= GROUPID_COLUMN_BITMASK; - - if (!_setOriginalGroupId) { - _setOriginalGroupId = true; - - _originalGroupId = _groupId; - } - - _groupId = groupId; - } - - public long getOriginalGroupId() { - return _originalGroupId; - } - - @Override - public long getIntPraticaId() { - return _intPraticaId; - } - - @Override - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - } - - @Override - public String getCodPraticaSuap() { - if (_codPraticaSuap == null) { - return StringPool.BLANK; - } - else { - return _codPraticaSuap; - } - } - - @Override - public void setCodPraticaSuap(String codPraticaSuap) { - _columnBitmask |= CODPRATICASUAP_COLUMN_BITMASK; - - if (_originalCodPraticaSuap == null) { - _originalCodPraticaSuap = _codPraticaSuap; - } - - _codPraticaSuap = codPraticaSuap; - } - - public String getOriginalCodPraticaSuap() { - return GetterUtil.getString(_originalCodPraticaSuap); - } - - @Override - public boolean getFineLavoriSceltaPrelievo() { - return _fineLavoriSceltaPrelievo; - } - - @Override - public boolean isFineLavoriSceltaPrelievo() { - return _fineLavoriSceltaPrelievo; - } - - @Override - public void setFineLavoriSceltaPrelievo(boolean fineLavoriSceltaPrelievo) { - _fineLavoriSceltaPrelievo = fineLavoriSceltaPrelievo; - } - - @Override - public boolean getFPrelievoCalcestruzzo() { - return _fPrelievoCalcestruzzo; - } - - @Override - public boolean isFPrelievoCalcestruzzo() { - return _fPrelievoCalcestruzzo; - } - - @Override - public void setFPrelievoCalcestruzzo(boolean fPrelievoCalcestruzzo) { - _fPrelievoCalcestruzzo = fPrelievoCalcestruzzo; - } - - @Override - public boolean getFPrelievoAcciaio() { - return _fPrelievoAcciaio; - } - - @Override - public boolean isFPrelievoAcciaio() { - return _fPrelievoAcciaio; - } - - @Override - public void setFPrelievoAcciaio(boolean fPrelievoAcciaio) { - _fPrelievoAcciaio = fPrelievoAcciaio; - } - - @Override - public boolean getFPrelievoAltro() { - return _fPrelievoAltro; - } - - @Override - public boolean isFPrelievoAltro() { - return _fPrelievoAltro; - } - - @Override - public void setFPrelievoAltro(boolean fPrelievoAltro) { - _fPrelievoAltro = fPrelievoAltro; - } - - @Override - public boolean getFineLavoriAlletiUlteriori() { - return _fineLavoriAlletiUlteriori; - } - - @Override - public boolean isFineLavoriAlletiUlteriori() { - return _fineLavoriAlletiUlteriori; - } - - @Override - public void setFineLavoriAlletiUlteriori(boolean fineLavoriAlletiUlteriori) { - _fineLavoriAlletiUlteriori = fineLavoriAlletiUlteriori; - } - - @Override - public boolean getFNoCollaudoStatico() { - return _fNoCollaudoStatico; - } - - @Override - public boolean isFNoCollaudoStatico() { - return _fNoCollaudoStatico; - } - - @Override - public void setFNoCollaudoStatico(boolean fNoCollaudoStatico) { - _fNoCollaudoStatico = fNoCollaudoStatico; - } - - @Override - public long getPagamentoId() { - return _pagamentoId; - } - - @Override - public void setPagamentoId(long pagamentoId) { - _pagamentoId = pagamentoId; - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(0, - FeDettPratica.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public FeDettPratica toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (FeDettPratica)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - FeDettPraticaImpl feDettPraticaImpl = new FeDettPraticaImpl(); - - feDettPraticaImpl.setUuid(getUuid()); - feDettPraticaImpl.setDettPraticaId(getDettPraticaId()); - feDettPraticaImpl.setGroupId(getGroupId()); - feDettPraticaImpl.setIntPraticaId(getIntPraticaId()); - feDettPraticaImpl.setCodPraticaSuap(getCodPraticaSuap()); - feDettPraticaImpl.setFineLavoriSceltaPrelievo(getFineLavoriSceltaPrelievo()); - feDettPraticaImpl.setFPrelievoCalcestruzzo(getFPrelievoCalcestruzzo()); - feDettPraticaImpl.setFPrelievoAcciaio(getFPrelievoAcciaio()); - feDettPraticaImpl.setFPrelievoAltro(getFPrelievoAltro()); - feDettPraticaImpl.setFineLavoriAlletiUlteriori(getFineLavoriAlletiUlteriori()); - feDettPraticaImpl.setFNoCollaudoStatico(getFNoCollaudoStatico()); - feDettPraticaImpl.setPagamentoId(getPagamentoId()); - - feDettPraticaImpl.resetOriginalValues(); - - return feDettPraticaImpl; - } - - @Override - public int compareTo(FeDettPratica feDettPratica) { - long primaryKey = feDettPratica.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof FeDettPratica)) { - return false; - } - - FeDettPratica feDettPratica = (FeDettPratica)obj; - - long primaryKey = feDettPratica.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - FeDettPraticaModelImpl feDettPraticaModelImpl = this; - - feDettPraticaModelImpl._originalUuid = feDettPraticaModelImpl._uuid; - - feDettPraticaModelImpl._originalGroupId = feDettPraticaModelImpl._groupId; - - feDettPraticaModelImpl._setOriginalGroupId = false; - - feDettPraticaModelImpl._originalCodPraticaSuap = feDettPraticaModelImpl._codPraticaSuap; - - feDettPraticaModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - FeDettPraticaCacheModel feDettPraticaCacheModel = new FeDettPraticaCacheModel(); - - feDettPraticaCacheModel.uuid = getUuid(); - - String uuid = feDettPraticaCacheModel.uuid; - - if ((uuid != null) && (uuid.length() == 0)) { - feDettPraticaCacheModel.uuid = null; - } - - feDettPraticaCacheModel.dettPraticaId = getDettPraticaId(); - - feDettPraticaCacheModel.groupId = getGroupId(); - - feDettPraticaCacheModel.intPraticaId = getIntPraticaId(); - - feDettPraticaCacheModel.codPraticaSuap = getCodPraticaSuap(); - - String codPraticaSuap = feDettPraticaCacheModel.codPraticaSuap; - - if ((codPraticaSuap != null) && (codPraticaSuap.length() == 0)) { - feDettPraticaCacheModel.codPraticaSuap = null; - } - - feDettPraticaCacheModel.fineLavoriSceltaPrelievo = getFineLavoriSceltaPrelievo(); - - feDettPraticaCacheModel.fPrelievoCalcestruzzo = getFPrelievoCalcestruzzo(); - - feDettPraticaCacheModel.fPrelievoAcciaio = getFPrelievoAcciaio(); - - feDettPraticaCacheModel.fPrelievoAltro = getFPrelievoAltro(); - - feDettPraticaCacheModel.fineLavoriAlletiUlteriori = getFineLavoriAlletiUlteriori(); - - feDettPraticaCacheModel.fNoCollaudoStatico = getFNoCollaudoStatico(); - - feDettPraticaCacheModel.pagamentoId = getPagamentoId(); - - return feDettPraticaCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(25); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", dettPraticaId="); - sb.append(getDettPraticaId()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", intPraticaId="); - sb.append(getIntPraticaId()); - sb.append(", codPraticaSuap="); - sb.append(getCodPraticaSuap()); - sb.append(", fineLavoriSceltaPrelievo="); - sb.append(getFineLavoriSceltaPrelievo()); - sb.append(", fPrelievoCalcestruzzo="); - sb.append(getFPrelievoCalcestruzzo()); - sb.append(", fPrelievoAcciaio="); - sb.append(getFPrelievoAcciaio()); - sb.append(", fPrelievoAltro="); - sb.append(getFPrelievoAltro()); - sb.append(", fineLavoriAlletiUlteriori="); - sb.append(getFineLavoriAlletiUlteriori()); - sb.append(", fNoCollaudoStatico="); - sb.append(getFNoCollaudoStatico()); - sb.append(", pagamentoId="); - sb.append(getPagamentoId()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(40); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.FeDettPratica"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "dettPraticaId"); - sb.append( - "groupId"); - sb.append( - "intPraticaId"); - sb.append( - "codPraticaSuap"); - sb.append( - "fineLavoriSceltaPrelievo"); - sb.append( - "fPrelievoCalcestruzzo"); - sb.append( - "fPrelievoAcciaio"); - sb.append( - "fPrelievoAltro"); - sb.append( - "fineLavoriAlletiUlteriori"); - sb.append( - "fNoCollaudoStatico"); - sb.append( - "pagamentoId"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = FeDettPratica.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - FeDettPratica.class - }; - private String _uuid; - private String _originalUuid; - private long _dettPraticaId; - private long _groupId; - private long _originalGroupId; - private boolean _setOriginalGroupId; - private long _intPraticaId; - private String _codPraticaSuap; - private String _originalCodPraticaSuap; - private boolean _fineLavoriSceltaPrelievo; - private boolean _fPrelievoCalcestruzzo; - private boolean _fPrelievoAcciaio; - private boolean _fPrelievoAltro; - private boolean _fineLavoriAlletiUlteriori; - private boolean _fNoCollaudoStatico; - private long _pagamentoId; - private long _columnBitmask; - private FeDettPratica _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeIntPraticaBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeIntPraticaBaseImpl.java deleted file mode 100644 index 6f5355d0..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeIntPraticaBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.FeIntPratica; -import it.tref.liferay.portos.importazione.service.FeIntPraticaLocalServiceUtil; - -/** - * The extended model base implementation for the FeIntPratica service. Represents a row in the "gcfe_intpratica" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link FeIntPraticaImpl}. - *

- * - * @author 3FC - * @see FeIntPraticaImpl - * @see it.tref.liferay.portos.importazione.model.FeIntPratica - * @generated - */ -public abstract class FeIntPraticaBaseImpl extends FeIntPraticaModelImpl - implements FeIntPratica { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a fe int pratica model instance should use the {@link FeIntPratica} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - FeIntPraticaLocalServiceUtil.addFeIntPratica(this); - } - else { - FeIntPraticaLocalServiceUtil.updateFeIntPratica(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeIntPraticaCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeIntPraticaCacheModel.java deleted file mode 100644 index b305ada0..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeIntPraticaCacheModel.java +++ /dev/null @@ -1,249 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.importazione.model.FeIntPratica; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -/** - * The cache model class for representing FeIntPratica in entity cache. - * - * @author 3FC - * @see FeIntPratica - * @generated - */ -public class FeIntPraticaCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(41); - - sb.append("{uuid="); - sb.append(uuid); - sb.append(", intPraticaId="); - sb.append(intPraticaId); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", tipoPraticaId="); - sb.append(tipoPraticaId); - sb.append(", territorioId="); - sb.append(territorioId); - sb.append(", edificiOrdinari="); - sb.append(edificiOrdinari); - sb.append(", noCollaudoStatico="); - sb.append(noCollaudoStatico); - sb.append(", noCollaudoStaticoInterLocale="); - sb.append(noCollaudoStaticoInterLocale); - sb.append(", codTipoIntervento="); - sb.append(codTipoIntervento); - sb.append(", sottoTipoPraticaCod="); - sb.append(sottoTipoPraticaCod); - sb.append(", statoOpere="); - sb.append(statoOpere); - sb.append(", inizioLavoriImmediato="); - sb.append(inizioLavoriImmediato); - sb.append(", relazioneGeologicaA5Check="); - sb.append(relazioneGeologicaA5Check); - sb.append(", relazioneGeotecnicaA6Check="); - sb.append(relazioneGeotecnicaA6Check); - sb.append(", relazioneSulleFondazioniA7Check="); - sb.append(relazioneSulleFondazioniA7Check); - sb.append(", fascicoloDeiCalcoliA9Check="); - sb.append(fascicoloDeiCalcoliA9Check); - sb.append(", schedaSinteticaGeologoA14Check="); - sb.append(schedaSinteticaGeologoA14Check); - sb.append(", idSoggettoDelegato="); - sb.append(idSoggettoDelegato); - sb.append(", statoPerecedente="); - sb.append(statoPerecedente); - sb.append(", checkTipologiaG="); - sb.append(checkTipologiaG); - sb.append("}"); - - return sb.toString(); - } - - @Override - public FeIntPratica toEntityModel() { - FeIntPraticaImpl feIntPraticaImpl = new FeIntPraticaImpl(); - - if (uuid == null) { - feIntPraticaImpl.setUuid(StringPool.BLANK); - } - else { - feIntPraticaImpl.setUuid(uuid); - } - - feIntPraticaImpl.setIntPraticaId(intPraticaId); - feIntPraticaImpl.setGroupId(groupId); - feIntPraticaImpl.setTipoPraticaId(tipoPraticaId); - feIntPraticaImpl.setTerritorioId(territorioId); - feIntPraticaImpl.setEdificiOrdinari(edificiOrdinari); - feIntPraticaImpl.setNoCollaudoStatico(noCollaudoStatico); - feIntPraticaImpl.setNoCollaudoStaticoInterLocale(noCollaudoStaticoInterLocale); - - if (codTipoIntervento == null) { - feIntPraticaImpl.setCodTipoIntervento(StringPool.BLANK); - } - else { - feIntPraticaImpl.setCodTipoIntervento(codTipoIntervento); - } - - if (sottoTipoPraticaCod == null) { - feIntPraticaImpl.setSottoTipoPraticaCod(StringPool.BLANK); - } - else { - feIntPraticaImpl.setSottoTipoPraticaCod(sottoTipoPraticaCod); - } - - if (statoOpere == null) { - feIntPraticaImpl.setStatoOpere(StringPool.BLANK); - } - else { - feIntPraticaImpl.setStatoOpere(statoOpere); - } - - feIntPraticaImpl.setInizioLavoriImmediato(inizioLavoriImmediato); - feIntPraticaImpl.setRelazioneGeologicaA5Check(relazioneGeologicaA5Check); - feIntPraticaImpl.setRelazioneGeotecnicaA6Check(relazioneGeotecnicaA6Check); - feIntPraticaImpl.setRelazioneSulleFondazioniA7Check(relazioneSulleFondazioniA7Check); - feIntPraticaImpl.setFascicoloDeiCalcoliA9Check(fascicoloDeiCalcoliA9Check); - feIntPraticaImpl.setSchedaSinteticaGeologoA14Check(schedaSinteticaGeologoA14Check); - feIntPraticaImpl.setIdSoggettoDelegato(idSoggettoDelegato); - - if (statoPerecedente == null) { - feIntPraticaImpl.setStatoPerecedente(StringPool.BLANK); - } - else { - feIntPraticaImpl.setStatoPerecedente(statoPerecedente); - } - - feIntPraticaImpl.setCheckTipologiaG(checkTipologiaG); - - feIntPraticaImpl.resetOriginalValues(); - - return feIntPraticaImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - uuid = objectInput.readUTF(); - intPraticaId = objectInput.readLong(); - groupId = objectInput.readLong(); - tipoPraticaId = objectInput.readLong(); - territorioId = objectInput.readLong(); - edificiOrdinari = objectInput.readBoolean(); - noCollaudoStatico = objectInput.readBoolean(); - noCollaudoStaticoInterLocale = objectInput.readBoolean(); - codTipoIntervento = objectInput.readUTF(); - sottoTipoPraticaCod = objectInput.readUTF(); - statoOpere = objectInput.readUTF(); - inizioLavoriImmediato = objectInput.readBoolean(); - relazioneGeologicaA5Check = objectInput.readBoolean(); - relazioneGeotecnicaA6Check = objectInput.readBoolean(); - relazioneSulleFondazioniA7Check = objectInput.readBoolean(); - fascicoloDeiCalcoliA9Check = objectInput.readBoolean(); - schedaSinteticaGeologoA14Check = objectInput.readBoolean(); - idSoggettoDelegato = objectInput.readLong(); - statoPerecedente = objectInput.readUTF(); - checkTipologiaG = objectInput.readBoolean(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - if (uuid == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(uuid); - } - - objectOutput.writeLong(intPraticaId); - objectOutput.writeLong(groupId); - objectOutput.writeLong(tipoPraticaId); - objectOutput.writeLong(territorioId); - objectOutput.writeBoolean(edificiOrdinari); - objectOutput.writeBoolean(noCollaudoStatico); - objectOutput.writeBoolean(noCollaudoStaticoInterLocale); - - if (codTipoIntervento == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codTipoIntervento); - } - - if (sottoTipoPraticaCod == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(sottoTipoPraticaCod); - } - - if (statoOpere == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(statoOpere); - } - - objectOutput.writeBoolean(inizioLavoriImmediato); - objectOutput.writeBoolean(relazioneGeologicaA5Check); - objectOutput.writeBoolean(relazioneGeotecnicaA6Check); - objectOutput.writeBoolean(relazioneSulleFondazioniA7Check); - objectOutput.writeBoolean(fascicoloDeiCalcoliA9Check); - objectOutput.writeBoolean(schedaSinteticaGeologoA14Check); - objectOutput.writeLong(idSoggettoDelegato); - - if (statoPerecedente == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(statoPerecedente); - } - - objectOutput.writeBoolean(checkTipologiaG); - } - - public String uuid; - public long intPraticaId; - public long groupId; - public long tipoPraticaId; - public long territorioId; - public boolean edificiOrdinari; - public boolean noCollaudoStatico; - public boolean noCollaudoStaticoInterLocale; - public String codTipoIntervento; - public String sottoTipoPraticaCod; - public String statoOpere; - public boolean inizioLavoriImmediato; - public boolean relazioneGeologicaA5Check; - public boolean relazioneGeotecnicaA6Check; - public boolean relazioneSulleFondazioniA7Check; - public boolean fascicoloDeiCalcoliA9Check; - public boolean schedaSinteticaGeologoA14Check; - public long idSoggettoDelegato; - public String statoPerecedente; - public boolean checkTipologiaG; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeIntPraticaImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeIntPraticaImpl.java deleted file mode 100644 index cec3dcfd..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeIntPraticaImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -/** - * The extended model implementation for the FeIntPratica service. Represents a row in the "gcfe_intpratica" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.model.FeIntPratica} interface. - *

- * - * @author 3FC - */ -public class FeIntPraticaImpl extends FeIntPraticaBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a fe int pratica model instance should use the {@link it.tref.liferay.portos.importazione.model.FeIntPratica} interface instead. - */ - public FeIntPraticaImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeIntPraticaModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeIntPraticaModelImpl.java deleted file mode 100644 index b42eff58..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeIntPraticaModelImpl.java +++ /dev/null @@ -1,964 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.importazione.model.FeIntPratica; -import it.tref.liferay.portos.importazione.model.FeIntPraticaModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the FeIntPratica service. Represents a row in the "gcfe_intpratica" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.importazione.model.FeIntPraticaModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link FeIntPraticaImpl}. - *

- * - * @author 3FC - * @see FeIntPraticaImpl - * @see it.tref.liferay.portos.importazione.model.FeIntPratica - * @see it.tref.liferay.portos.importazione.model.FeIntPraticaModel - * @generated - */ -public class FeIntPraticaModelImpl extends BaseModelImpl - implements FeIntPraticaModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a fe int pratica model instance should use the {@link it.tref.liferay.portos.importazione.model.FeIntPratica} interface instead. - */ - public static final String TABLE_NAME = "gcfe_intpratica"; - public static final Object[][] TABLE_COLUMNS = { - { "uuid_", Types.VARCHAR }, - { "intPraticaId", Types.BIGINT }, - { "groupId", Types.BIGINT }, - { "tipoPraticaId", Types.BIGINT }, - { "territorioId", Types.BIGINT }, - { "edificiOrdinari", Types.BOOLEAN }, - { "noCollaudoStatico", Types.BOOLEAN }, - { "noCollaudoStaticoInterLocale", Types.BOOLEAN }, - { "codTipoIntervento", Types.VARCHAR }, - { "sottoTipoPraticaCod", Types.VARCHAR }, - { "statoOpere", Types.VARCHAR }, - { "inizioLavoriImmediato", Types.BOOLEAN }, - { "relazioneGeologicaA5Check", Types.BOOLEAN }, - { "relazioneGeotecnicaA6Check", Types.BOOLEAN }, - { "relazioneSulleFondazioniA7Check", Types.BOOLEAN }, - { "fascicoloDeiCalcoliA9Check", Types.BOOLEAN }, - { "schedaSinteticaGeologoA14Check", Types.BOOLEAN }, - { "idSoggettoDelegato", Types.BIGINT }, - { "statoPerecedente", Types.VARCHAR }, - { "checkTipologiaG", Types.BOOLEAN } - }; - public static final String TABLE_SQL_CREATE = "create table gcfe_intpratica (uuid_ VARCHAR(75) null,intPraticaId LONG not null primary key,groupId LONG,tipoPraticaId LONG,territorioId LONG,edificiOrdinari BOOLEAN,noCollaudoStatico BOOLEAN,noCollaudoStaticoInterLocale BOOLEAN,codTipoIntervento VARCHAR(75) null,sottoTipoPraticaCod VARCHAR(75) null,statoOpere VARCHAR(75) null,inizioLavoriImmediato BOOLEAN,relazioneGeologicaA5Check BOOLEAN,relazioneGeotecnicaA6Check BOOLEAN,relazioneSulleFondazioniA7Check BOOLEAN,fascicoloDeiCalcoliA9Check BOOLEAN,schedaSinteticaGeologoA14Check BOOLEAN,idSoggettoDelegato LONG,statoPerecedente VARCHAR(75) null,checkTipologiaG BOOLEAN)"; - public static final String TABLE_SQL_DROP = "drop table gcfe_intpratica"; - public static final String ORDER_BY_JPQL = " ORDER BY feIntPratica.intPraticaId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gcfe_intpratica.intPraticaId ASC"; - public static final String DATA_SOURCE = "datiPortos1DbFeDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbFeSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbFeTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.importazione.model.FeIntPratica"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.importazione.model.FeIntPratica"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.importazione.model.FeIntPratica"), - true); - public static long GROUPID_COLUMN_BITMASK = 1L; - public static long UUID_COLUMN_BITMASK = 2L; - public static long INTPRATICAID_COLUMN_BITMASK = 4L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.importazione.model.FeIntPratica")); - - public FeIntPraticaModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _intPraticaId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setIntPraticaId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _intPraticaId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return FeIntPratica.class; - } - - @Override - public String getModelClassName() { - return FeIntPratica.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("groupId", getGroupId()); - attributes.put("tipoPraticaId", getTipoPraticaId()); - attributes.put("territorioId", getTerritorioId()); - attributes.put("edificiOrdinari", getEdificiOrdinari()); - attributes.put("noCollaudoStatico", getNoCollaudoStatico()); - attributes.put("noCollaudoStaticoInterLocale", - getNoCollaudoStaticoInterLocale()); - attributes.put("codTipoIntervento", getCodTipoIntervento()); - attributes.put("sottoTipoPraticaCod", getSottoTipoPraticaCod()); - attributes.put("statoOpere", getStatoOpere()); - attributes.put("inizioLavoriImmediato", getInizioLavoriImmediato()); - attributes.put("relazioneGeologicaA5Check", - getRelazioneGeologicaA5Check()); - attributes.put("relazioneGeotecnicaA6Check", - getRelazioneGeotecnicaA6Check()); - attributes.put("relazioneSulleFondazioniA7Check", - getRelazioneSulleFondazioniA7Check()); - attributes.put("fascicoloDeiCalcoliA9Check", - getFascicoloDeiCalcoliA9Check()); - attributes.put("schedaSinteticaGeologoA14Check", - getSchedaSinteticaGeologoA14Check()); - attributes.put("idSoggettoDelegato", getIdSoggettoDelegato()); - attributes.put("statoPerecedente", getStatoPerecedente()); - attributes.put("checkTipologiaG", getCheckTipologiaG()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long tipoPraticaId = (Long)attributes.get("tipoPraticaId"); - - if (tipoPraticaId != null) { - setTipoPraticaId(tipoPraticaId); - } - - Long territorioId = (Long)attributes.get("territorioId"); - - if (territorioId != null) { - setTerritorioId(territorioId); - } - - Boolean edificiOrdinari = (Boolean)attributes.get("edificiOrdinari"); - - if (edificiOrdinari != null) { - setEdificiOrdinari(edificiOrdinari); - } - - Boolean noCollaudoStatico = (Boolean)attributes.get("noCollaudoStatico"); - - if (noCollaudoStatico != null) { - setNoCollaudoStatico(noCollaudoStatico); - } - - Boolean noCollaudoStaticoInterLocale = (Boolean)attributes.get( - "noCollaudoStaticoInterLocale"); - - if (noCollaudoStaticoInterLocale != null) { - setNoCollaudoStaticoInterLocale(noCollaudoStaticoInterLocale); - } - - String codTipoIntervento = (String)attributes.get("codTipoIntervento"); - - if (codTipoIntervento != null) { - setCodTipoIntervento(codTipoIntervento); - } - - String sottoTipoPraticaCod = (String)attributes.get( - "sottoTipoPraticaCod"); - - if (sottoTipoPraticaCod != null) { - setSottoTipoPraticaCod(sottoTipoPraticaCod); - } - - String statoOpere = (String)attributes.get("statoOpere"); - - if (statoOpere != null) { - setStatoOpere(statoOpere); - } - - Boolean inizioLavoriImmediato = (Boolean)attributes.get( - "inizioLavoriImmediato"); - - if (inizioLavoriImmediato != null) { - setInizioLavoriImmediato(inizioLavoriImmediato); - } - - Boolean relazioneGeologicaA5Check = (Boolean)attributes.get( - "relazioneGeologicaA5Check"); - - if (relazioneGeologicaA5Check != null) { - setRelazioneGeologicaA5Check(relazioneGeologicaA5Check); - } - - Boolean relazioneGeotecnicaA6Check = (Boolean)attributes.get( - "relazioneGeotecnicaA6Check"); - - if (relazioneGeotecnicaA6Check != null) { - setRelazioneGeotecnicaA6Check(relazioneGeotecnicaA6Check); - } - - Boolean relazioneSulleFondazioniA7Check = (Boolean)attributes.get( - "relazioneSulleFondazioniA7Check"); - - if (relazioneSulleFondazioniA7Check != null) { - setRelazioneSulleFondazioniA7Check(relazioneSulleFondazioniA7Check); - } - - Boolean fascicoloDeiCalcoliA9Check = (Boolean)attributes.get( - "fascicoloDeiCalcoliA9Check"); - - if (fascicoloDeiCalcoliA9Check != null) { - setFascicoloDeiCalcoliA9Check(fascicoloDeiCalcoliA9Check); - } - - Boolean schedaSinteticaGeologoA14Check = (Boolean)attributes.get( - "schedaSinteticaGeologoA14Check"); - - if (schedaSinteticaGeologoA14Check != null) { - setSchedaSinteticaGeologoA14Check(schedaSinteticaGeologoA14Check); - } - - Long idSoggettoDelegato = (Long)attributes.get("idSoggettoDelegato"); - - if (idSoggettoDelegato != null) { - setIdSoggettoDelegato(idSoggettoDelegato); - } - - String statoPerecedente = (String)attributes.get("statoPerecedente"); - - if (statoPerecedente != null) { - setStatoPerecedente(statoPerecedente); - } - - Boolean checkTipologiaG = (Boolean)attributes.get("checkTipologiaG"); - - if (checkTipologiaG != null) { - setCheckTipologiaG(checkTipologiaG); - } - } - - @Override - public String getUuid() { - if (_uuid == null) { - return StringPool.BLANK; - } - else { - return _uuid; - } - } - - @Override - public void setUuid(String uuid) { - if (_originalUuid == null) { - _originalUuid = _uuid; - } - - _uuid = uuid; - } - - public String getOriginalUuid() { - return GetterUtil.getString(_originalUuid); - } - - @Override - public long getIntPraticaId() { - return _intPraticaId; - } - - @Override - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _columnBitmask |= GROUPID_COLUMN_BITMASK; - - if (!_setOriginalGroupId) { - _setOriginalGroupId = true; - - _originalGroupId = _groupId; - } - - _groupId = groupId; - } - - public long getOriginalGroupId() { - return _originalGroupId; - } - - @Override - public long getTipoPraticaId() { - return _tipoPraticaId; - } - - @Override - public void setTipoPraticaId(long tipoPraticaId) { - _tipoPraticaId = tipoPraticaId; - } - - @Override - public long getTerritorioId() { - return _territorioId; - } - - @Override - public void setTerritorioId(long territorioId) { - _territorioId = territorioId; - } - - @Override - public boolean getEdificiOrdinari() { - return _edificiOrdinari; - } - - @Override - public boolean isEdificiOrdinari() { - return _edificiOrdinari; - } - - @Override - public void setEdificiOrdinari(boolean edificiOrdinari) { - _edificiOrdinari = edificiOrdinari; - } - - @Override - public boolean getNoCollaudoStatico() { - return _noCollaudoStatico; - } - - @Override - public boolean isNoCollaudoStatico() { - return _noCollaudoStatico; - } - - @Override - public void setNoCollaudoStatico(boolean noCollaudoStatico) { - _noCollaudoStatico = noCollaudoStatico; - } - - @Override - public boolean getNoCollaudoStaticoInterLocale() { - return _noCollaudoStaticoInterLocale; - } - - @Override - public boolean isNoCollaudoStaticoInterLocale() { - return _noCollaudoStaticoInterLocale; - } - - @Override - public void setNoCollaudoStaticoInterLocale( - boolean noCollaudoStaticoInterLocale) { - _noCollaudoStaticoInterLocale = noCollaudoStaticoInterLocale; - } - - @Override - public String getCodTipoIntervento() { - if (_codTipoIntervento == null) { - return StringPool.BLANK; - } - else { - return _codTipoIntervento; - } - } - - @Override - public void setCodTipoIntervento(String codTipoIntervento) { - _codTipoIntervento = codTipoIntervento; - } - - @Override - public String getSottoTipoPraticaCod() { - if (_sottoTipoPraticaCod == null) { - return StringPool.BLANK; - } - else { - return _sottoTipoPraticaCod; - } - } - - @Override - public void setSottoTipoPraticaCod(String sottoTipoPraticaCod) { - _sottoTipoPraticaCod = sottoTipoPraticaCod; - } - - @Override - public String getStatoOpere() { - if (_statoOpere == null) { - return StringPool.BLANK; - } - else { - return _statoOpere; - } - } - - @Override - public void setStatoOpere(String statoOpere) { - _statoOpere = statoOpere; - } - - @Override - public boolean getInizioLavoriImmediato() { - return _inizioLavoriImmediato; - } - - @Override - public boolean isInizioLavoriImmediato() { - return _inizioLavoriImmediato; - } - - @Override - public void setInizioLavoriImmediato(boolean inizioLavoriImmediato) { - _inizioLavoriImmediato = inizioLavoriImmediato; - } - - @Override - public boolean getRelazioneGeologicaA5Check() { - return _relazioneGeologicaA5Check; - } - - @Override - public boolean isRelazioneGeologicaA5Check() { - return _relazioneGeologicaA5Check; - } - - @Override - public void setRelazioneGeologicaA5Check(boolean relazioneGeologicaA5Check) { - _relazioneGeologicaA5Check = relazioneGeologicaA5Check; - } - - @Override - public boolean getRelazioneGeotecnicaA6Check() { - return _relazioneGeotecnicaA6Check; - } - - @Override - public boolean isRelazioneGeotecnicaA6Check() { - return _relazioneGeotecnicaA6Check; - } - - @Override - public void setRelazioneGeotecnicaA6Check( - boolean relazioneGeotecnicaA6Check) { - _relazioneGeotecnicaA6Check = relazioneGeotecnicaA6Check; - } - - @Override - public boolean getRelazioneSulleFondazioniA7Check() { - return _relazioneSulleFondazioniA7Check; - } - - @Override - public boolean isRelazioneSulleFondazioniA7Check() { - return _relazioneSulleFondazioniA7Check; - } - - @Override - public void setRelazioneSulleFondazioniA7Check( - boolean relazioneSulleFondazioniA7Check) { - _relazioneSulleFondazioniA7Check = relazioneSulleFondazioniA7Check; - } - - @Override - public boolean getFascicoloDeiCalcoliA9Check() { - return _fascicoloDeiCalcoliA9Check; - } - - @Override - public boolean isFascicoloDeiCalcoliA9Check() { - return _fascicoloDeiCalcoliA9Check; - } - - @Override - public void setFascicoloDeiCalcoliA9Check( - boolean fascicoloDeiCalcoliA9Check) { - _fascicoloDeiCalcoliA9Check = fascicoloDeiCalcoliA9Check; - } - - @Override - public boolean getSchedaSinteticaGeologoA14Check() { - return _schedaSinteticaGeologoA14Check; - } - - @Override - public boolean isSchedaSinteticaGeologoA14Check() { - return _schedaSinteticaGeologoA14Check; - } - - @Override - public void setSchedaSinteticaGeologoA14Check( - boolean schedaSinteticaGeologoA14Check) { - _schedaSinteticaGeologoA14Check = schedaSinteticaGeologoA14Check; - } - - @Override - public long getIdSoggettoDelegato() { - return _idSoggettoDelegato; - } - - @Override - public void setIdSoggettoDelegato(long idSoggettoDelegato) { - _idSoggettoDelegato = idSoggettoDelegato; - } - - @Override - public String getStatoPerecedente() { - if (_statoPerecedente == null) { - return StringPool.BLANK; - } - else { - return _statoPerecedente; - } - } - - @Override - public void setStatoPerecedente(String statoPerecedente) { - _statoPerecedente = statoPerecedente; - } - - @Override - public boolean getCheckTipologiaG() { - return _checkTipologiaG; - } - - @Override - public boolean isCheckTipologiaG() { - return _checkTipologiaG; - } - - @Override - public void setCheckTipologiaG(boolean checkTipologiaG) { - _checkTipologiaG = checkTipologiaG; - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(0, - FeIntPratica.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public FeIntPratica toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (FeIntPratica)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - FeIntPraticaImpl feIntPraticaImpl = new FeIntPraticaImpl(); - - feIntPraticaImpl.setUuid(getUuid()); - feIntPraticaImpl.setIntPraticaId(getIntPraticaId()); - feIntPraticaImpl.setGroupId(getGroupId()); - feIntPraticaImpl.setTipoPraticaId(getTipoPraticaId()); - feIntPraticaImpl.setTerritorioId(getTerritorioId()); - feIntPraticaImpl.setEdificiOrdinari(getEdificiOrdinari()); - feIntPraticaImpl.setNoCollaudoStatico(getNoCollaudoStatico()); - feIntPraticaImpl.setNoCollaudoStaticoInterLocale(getNoCollaudoStaticoInterLocale()); - feIntPraticaImpl.setCodTipoIntervento(getCodTipoIntervento()); - feIntPraticaImpl.setSottoTipoPraticaCod(getSottoTipoPraticaCod()); - feIntPraticaImpl.setStatoOpere(getStatoOpere()); - feIntPraticaImpl.setInizioLavoriImmediato(getInizioLavoriImmediato()); - feIntPraticaImpl.setRelazioneGeologicaA5Check(getRelazioneGeologicaA5Check()); - feIntPraticaImpl.setRelazioneGeotecnicaA6Check(getRelazioneGeotecnicaA6Check()); - feIntPraticaImpl.setRelazioneSulleFondazioniA7Check(getRelazioneSulleFondazioniA7Check()); - feIntPraticaImpl.setFascicoloDeiCalcoliA9Check(getFascicoloDeiCalcoliA9Check()); - feIntPraticaImpl.setSchedaSinteticaGeologoA14Check(getSchedaSinteticaGeologoA14Check()); - feIntPraticaImpl.setIdSoggettoDelegato(getIdSoggettoDelegato()); - feIntPraticaImpl.setStatoPerecedente(getStatoPerecedente()); - feIntPraticaImpl.setCheckTipologiaG(getCheckTipologiaG()); - - feIntPraticaImpl.resetOriginalValues(); - - return feIntPraticaImpl; - } - - @Override - public int compareTo(FeIntPratica feIntPratica) { - long primaryKey = feIntPratica.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof FeIntPratica)) { - return false; - } - - FeIntPratica feIntPratica = (FeIntPratica)obj; - - long primaryKey = feIntPratica.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - FeIntPraticaModelImpl feIntPraticaModelImpl = this; - - feIntPraticaModelImpl._originalUuid = feIntPraticaModelImpl._uuid; - - feIntPraticaModelImpl._originalGroupId = feIntPraticaModelImpl._groupId; - - feIntPraticaModelImpl._setOriginalGroupId = false; - - feIntPraticaModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - FeIntPraticaCacheModel feIntPraticaCacheModel = new FeIntPraticaCacheModel(); - - feIntPraticaCacheModel.uuid = getUuid(); - - String uuid = feIntPraticaCacheModel.uuid; - - if ((uuid != null) && (uuid.length() == 0)) { - feIntPraticaCacheModel.uuid = null; - } - - feIntPraticaCacheModel.intPraticaId = getIntPraticaId(); - - feIntPraticaCacheModel.groupId = getGroupId(); - - feIntPraticaCacheModel.tipoPraticaId = getTipoPraticaId(); - - feIntPraticaCacheModel.territorioId = getTerritorioId(); - - feIntPraticaCacheModel.edificiOrdinari = getEdificiOrdinari(); - - feIntPraticaCacheModel.noCollaudoStatico = getNoCollaudoStatico(); - - feIntPraticaCacheModel.noCollaudoStaticoInterLocale = getNoCollaudoStaticoInterLocale(); - - feIntPraticaCacheModel.codTipoIntervento = getCodTipoIntervento(); - - String codTipoIntervento = feIntPraticaCacheModel.codTipoIntervento; - - if ((codTipoIntervento != null) && (codTipoIntervento.length() == 0)) { - feIntPraticaCacheModel.codTipoIntervento = null; - } - - feIntPraticaCacheModel.sottoTipoPraticaCod = getSottoTipoPraticaCod(); - - String sottoTipoPraticaCod = feIntPraticaCacheModel.sottoTipoPraticaCod; - - if ((sottoTipoPraticaCod != null) && - (sottoTipoPraticaCod.length() == 0)) { - feIntPraticaCacheModel.sottoTipoPraticaCod = null; - } - - feIntPraticaCacheModel.statoOpere = getStatoOpere(); - - String statoOpere = feIntPraticaCacheModel.statoOpere; - - if ((statoOpere != null) && (statoOpere.length() == 0)) { - feIntPraticaCacheModel.statoOpere = null; - } - - feIntPraticaCacheModel.inizioLavoriImmediato = getInizioLavoriImmediato(); - - feIntPraticaCacheModel.relazioneGeologicaA5Check = getRelazioneGeologicaA5Check(); - - feIntPraticaCacheModel.relazioneGeotecnicaA6Check = getRelazioneGeotecnicaA6Check(); - - feIntPraticaCacheModel.relazioneSulleFondazioniA7Check = getRelazioneSulleFondazioniA7Check(); - - feIntPraticaCacheModel.fascicoloDeiCalcoliA9Check = getFascicoloDeiCalcoliA9Check(); - - feIntPraticaCacheModel.schedaSinteticaGeologoA14Check = getSchedaSinteticaGeologoA14Check(); - - feIntPraticaCacheModel.idSoggettoDelegato = getIdSoggettoDelegato(); - - feIntPraticaCacheModel.statoPerecedente = getStatoPerecedente(); - - String statoPerecedente = feIntPraticaCacheModel.statoPerecedente; - - if ((statoPerecedente != null) && (statoPerecedente.length() == 0)) { - feIntPraticaCacheModel.statoPerecedente = null; - } - - feIntPraticaCacheModel.checkTipologiaG = getCheckTipologiaG(); - - return feIntPraticaCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(41); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", intPraticaId="); - sb.append(getIntPraticaId()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", tipoPraticaId="); - sb.append(getTipoPraticaId()); - sb.append(", territorioId="); - sb.append(getTerritorioId()); - sb.append(", edificiOrdinari="); - sb.append(getEdificiOrdinari()); - sb.append(", noCollaudoStatico="); - sb.append(getNoCollaudoStatico()); - sb.append(", noCollaudoStaticoInterLocale="); - sb.append(getNoCollaudoStaticoInterLocale()); - sb.append(", codTipoIntervento="); - sb.append(getCodTipoIntervento()); - sb.append(", sottoTipoPraticaCod="); - sb.append(getSottoTipoPraticaCod()); - sb.append(", statoOpere="); - sb.append(getStatoOpere()); - sb.append(", inizioLavoriImmediato="); - sb.append(getInizioLavoriImmediato()); - sb.append(", relazioneGeologicaA5Check="); - sb.append(getRelazioneGeologicaA5Check()); - sb.append(", relazioneGeotecnicaA6Check="); - sb.append(getRelazioneGeotecnicaA6Check()); - sb.append(", relazioneSulleFondazioniA7Check="); - sb.append(getRelazioneSulleFondazioniA7Check()); - sb.append(", fascicoloDeiCalcoliA9Check="); - sb.append(getFascicoloDeiCalcoliA9Check()); - sb.append(", schedaSinteticaGeologoA14Check="); - sb.append(getSchedaSinteticaGeologoA14Check()); - sb.append(", idSoggettoDelegato="); - sb.append(getIdSoggettoDelegato()); - sb.append(", statoPerecedente="); - sb.append(getStatoPerecedente()); - sb.append(", checkTipologiaG="); - sb.append(getCheckTipologiaG()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(64); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.FeIntPratica"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "intPraticaId"); - sb.append( - "groupId"); - sb.append( - "tipoPraticaId"); - sb.append( - "territorioId"); - sb.append( - "edificiOrdinari"); - sb.append( - "noCollaudoStatico"); - sb.append( - "noCollaudoStaticoInterLocale"); - sb.append( - "codTipoIntervento"); - sb.append( - "sottoTipoPraticaCod"); - sb.append( - "statoOpere"); - sb.append( - "inizioLavoriImmediato"); - sb.append( - "relazioneGeologicaA5Check"); - sb.append( - "relazioneGeotecnicaA6Check"); - sb.append( - "relazioneSulleFondazioniA7Check"); - sb.append( - "fascicoloDeiCalcoliA9Check"); - sb.append( - "schedaSinteticaGeologoA14Check"); - sb.append( - "idSoggettoDelegato"); - sb.append( - "statoPerecedente"); - sb.append( - "checkTipologiaG"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = FeIntPratica.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - FeIntPratica.class - }; - private String _uuid; - private String _originalUuid; - private long _intPraticaId; - private long _groupId; - private long _originalGroupId; - private boolean _setOriginalGroupId; - private long _tipoPraticaId; - private long _territorioId; - private boolean _edificiOrdinari; - private boolean _noCollaudoStatico; - private boolean _noCollaudoStaticoInterLocale; - private String _codTipoIntervento; - private String _sottoTipoPraticaCod; - private String _statoOpere; - private boolean _inizioLavoriImmediato; - private boolean _relazioneGeologicaA5Check; - private boolean _relazioneGeotecnicaA6Check; - private boolean _relazioneSulleFondazioniA7Check; - private boolean _fascicoloDeiCalcoliA9Check; - private boolean _schedaSinteticaGeologoA14Check; - private long _idSoggettoDelegato; - private String _statoPerecedente; - private boolean _checkTipologiaG; - private long _columnBitmask; - private FeIntPratica _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FePagamentoBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FePagamentoBaseImpl.java deleted file mode 100644 index c5ee49a3..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FePagamentoBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.FePagamento; -import it.tref.liferay.portos.importazione.service.FePagamentoLocalServiceUtil; - -/** - * The extended model base implementation for the FePagamento service. Represents a row in the "gcfe_pagamento" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link FePagamentoImpl}. - *

- * - * @author 3FC - * @see FePagamentoImpl - * @see it.tref.liferay.portos.importazione.model.FePagamento - * @generated - */ -public abstract class FePagamentoBaseImpl extends FePagamentoModelImpl - implements FePagamento { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a fe pagamento model instance should use the {@link FePagamento} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - FePagamentoLocalServiceUtil.addFePagamento(this); - } - else { - FePagamentoLocalServiceUtil.updateFePagamento(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FePagamentoCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FePagamentoCacheModel.java deleted file mode 100644 index 29e91f45..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FePagamentoCacheModel.java +++ /dev/null @@ -1,293 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.importazione.model.FePagamento; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing FePagamento in entity cache. - * - * @author 3FC - * @see FePagamento - * @generated - */ -public class FePagamentoCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(35); - - sb.append("{uuid="); - sb.append(uuid); - sb.append(", pagamentoId="); - sb.append(pagamentoId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", dettPraticaId="); - sb.append(dettPraticaId); - sb.append(", codice="); - sb.append(codice); - sb.append(", causale="); - sb.append(causale); - sb.append(", mezzo="); - sb.append(mezzo); - sb.append(", codiceFiscaleCommittente="); - sb.append(codiceFiscaleCommittente); - sb.append(", importoBolli="); - sb.append(importoBolli); - sb.append(", importoSpeseIstruttoria="); - sb.append(importoSpeseIstruttoria); - sb.append(", utilizzata="); - sb.append(utilizzata); - sb.append(", emailPending="); - sb.append(emailPending); - sb.append("}"); - - return sb.toString(); - } - - @Override - public FePagamento toEntityModel() { - FePagamentoImpl fePagamentoImpl = new FePagamentoImpl(); - - if (uuid == null) { - fePagamentoImpl.setUuid(StringPool.BLANK); - } - else { - fePagamentoImpl.setUuid(uuid); - } - - fePagamentoImpl.setPagamentoId(pagamentoId); - fePagamentoImpl.setCompanyId(companyId); - fePagamentoImpl.setUserId(userId); - - if (userName == null) { - fePagamentoImpl.setUserName(StringPool.BLANK); - } - else { - fePagamentoImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - fePagamentoImpl.setCreateDate(null); - } - else { - fePagamentoImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - fePagamentoImpl.setModifiedDate(null); - } - else { - fePagamentoImpl.setModifiedDate(new Date(modifiedDate)); - } - - fePagamentoImpl.setGroupId(groupId); - fePagamentoImpl.setDettPraticaId(dettPraticaId); - - if (codice == null) { - fePagamentoImpl.setCodice(StringPool.BLANK); - } - else { - fePagamentoImpl.setCodice(codice); - } - - if (causale == null) { - fePagamentoImpl.setCausale(StringPool.BLANK); - } - else { - fePagamentoImpl.setCausale(causale); - } - - if (mezzo == null) { - fePagamentoImpl.setMezzo(StringPool.BLANK); - } - else { - fePagamentoImpl.setMezzo(mezzo); - } - - if (codiceFiscaleCommittente == null) { - fePagamentoImpl.setCodiceFiscaleCommittente(StringPool.BLANK); - } - else { - fePagamentoImpl.setCodiceFiscaleCommittente(codiceFiscaleCommittente); - } - - if (importoBolli == null) { - fePagamentoImpl.setImportoBolli(StringPool.BLANK); - } - else { - fePagamentoImpl.setImportoBolli(importoBolli); - } - - if (importoSpeseIstruttoria == null) { - fePagamentoImpl.setImportoSpeseIstruttoria(StringPool.BLANK); - } - else { - fePagamentoImpl.setImportoSpeseIstruttoria(importoSpeseIstruttoria); - } - - if (utilizzata == null) { - fePagamentoImpl.setUtilizzata(StringPool.BLANK); - } - else { - fePagamentoImpl.setUtilizzata(utilizzata); - } - - fePagamentoImpl.setEmailPending(emailPending); - - fePagamentoImpl.resetOriginalValues(); - - return fePagamentoImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - uuid = objectInput.readUTF(); - pagamentoId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - groupId = objectInput.readLong(); - dettPraticaId = objectInput.readLong(); - codice = objectInput.readUTF(); - causale = objectInput.readUTF(); - mezzo = objectInput.readUTF(); - codiceFiscaleCommittente = objectInput.readUTF(); - importoBolli = objectInput.readUTF(); - importoSpeseIstruttoria = objectInput.readUTF(); - utilizzata = objectInput.readUTF(); - emailPending = objectInput.readBoolean(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - if (uuid == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(uuid); - } - - objectOutput.writeLong(pagamentoId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeLong(groupId); - objectOutput.writeLong(dettPraticaId); - - if (codice == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codice); - } - - if (causale == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(causale); - } - - if (mezzo == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(mezzo); - } - - if (codiceFiscaleCommittente == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codiceFiscaleCommittente); - } - - if (importoBolli == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(importoBolli); - } - - if (importoSpeseIstruttoria == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(importoSpeseIstruttoria); - } - - if (utilizzata == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(utilizzata); - } - - objectOutput.writeBoolean(emailPending); - } - - public String uuid; - public long pagamentoId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public long groupId; - public long dettPraticaId; - public String codice; - public String causale; - public String mezzo; - public String codiceFiscaleCommittente; - public String importoBolli; - public String importoSpeseIstruttoria; - public String utilizzata; - public boolean emailPending; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FePagamentoImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FePagamentoImpl.java deleted file mode 100644 index d1c6e5da..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FePagamentoImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -/** - * The extended model implementation for the FePagamento service. Represents a row in the "gcfe_pagamento" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.model.FePagamento} interface. - *

- * - * @author 3FC - */ -public class FePagamentoImpl extends FePagamentoBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a fe pagamento model instance should use the {@link it.tref.liferay.portos.importazione.model.FePagamento} interface instead. - */ - public FePagamentoImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FePagamentoModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FePagamentoModelImpl.java deleted file mode 100644 index f23f3607..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FePagamentoModelImpl.java +++ /dev/null @@ -1,964 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.importazione.model.FePagamento; -import it.tref.liferay.portos.importazione.model.FePagamentoModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the FePagamento service. Represents a row in the "gcfe_pagamento" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.importazione.model.FePagamentoModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link FePagamentoImpl}. - *

- * - * @author 3FC - * @see FePagamentoImpl - * @see it.tref.liferay.portos.importazione.model.FePagamento - * @see it.tref.liferay.portos.importazione.model.FePagamentoModel - * @generated - */ -public class FePagamentoModelImpl extends BaseModelImpl - implements FePagamentoModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a fe pagamento model instance should use the {@link it.tref.liferay.portos.importazione.model.FePagamento} interface instead. - */ - public static final String TABLE_NAME = "gcfe_pagamento"; - public static final Object[][] TABLE_COLUMNS = { - { "uuid_", Types.VARCHAR }, - { "pagamentoId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "groupId", Types.BIGINT }, - { "dettPraticaId", Types.BIGINT }, - { "codice", Types.VARCHAR }, - { "causale", Types.VARCHAR }, - { "mezzo", Types.VARCHAR }, - { "codiceFiscaleCommittente", Types.VARCHAR }, - { "importoBolli", Types.VARCHAR }, - { "importoSpeseIstruttoria", Types.VARCHAR }, - { "utilizzata", Types.VARCHAR }, - { "emailPending", Types.BOOLEAN } - }; - public static final String TABLE_SQL_CREATE = "create table gcfe_pagamento (uuid_ VARCHAR(75) null,pagamentoId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,dettPraticaId LONG,codice VARCHAR(75) null,causale VARCHAR(75) null,mezzo VARCHAR(75) null,codiceFiscaleCommittente VARCHAR(75) null,importoBolli VARCHAR(75) null,importoSpeseIstruttoria VARCHAR(75) null,utilizzata VARCHAR(75) null,emailPending BOOLEAN)"; - public static final String TABLE_SQL_DROP = "drop table gcfe_pagamento"; - public static final String ORDER_BY_JPQL = " ORDER BY fePagamento.pagamentoId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gcfe_pagamento.pagamentoId ASC"; - public static final String DATA_SOURCE = "datiPortos1DbFeDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbFeSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbFeTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.importazione.model.FePagamento"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.importazione.model.FePagamento"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.importazione.model.FePagamento"), - true); - public static long COMPANYID_COLUMN_BITMASK = 1L; - public static long DETTPRATICAID_COLUMN_BITMASK = 2L; - public static long GROUPID_COLUMN_BITMASK = 4L; - public static long MEZZO_COLUMN_BITMASK = 8L; - public static long UTILIZZATA_COLUMN_BITMASK = 16L; - public static long UUID_COLUMN_BITMASK = 32L; - public static long PAGAMENTOID_COLUMN_BITMASK = 64L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.importazione.model.FePagamento")); - - public FePagamentoModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _pagamentoId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setPagamentoId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _pagamentoId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return FePagamento.class; - } - - @Override - public String getModelClassName() { - return FePagamento.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("pagamentoId", getPagamentoId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("codice", getCodice()); - attributes.put("causale", getCausale()); - attributes.put("mezzo", getMezzo()); - attributes.put("codiceFiscaleCommittente", getCodiceFiscaleCommittente()); - attributes.put("importoBolli", getImportoBolli()); - attributes.put("importoSpeseIstruttoria", getImportoSpeseIstruttoria()); - attributes.put("utilizzata", getUtilizzata()); - attributes.put("emailPending", getEmailPending()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long pagamentoId = (Long)attributes.get("pagamentoId"); - - if (pagamentoId != null) { - setPagamentoId(pagamentoId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - String codice = (String)attributes.get("codice"); - - if (codice != null) { - setCodice(codice); - } - - String causale = (String)attributes.get("causale"); - - if (causale != null) { - setCausale(causale); - } - - String mezzo = (String)attributes.get("mezzo"); - - if (mezzo != null) { - setMezzo(mezzo); - } - - String codiceFiscaleCommittente = (String)attributes.get( - "codiceFiscaleCommittente"); - - if (codiceFiscaleCommittente != null) { - setCodiceFiscaleCommittente(codiceFiscaleCommittente); - } - - String importoBolli = (String)attributes.get("importoBolli"); - - if (importoBolli != null) { - setImportoBolli(importoBolli); - } - - String importoSpeseIstruttoria = (String)attributes.get( - "importoSpeseIstruttoria"); - - if (importoSpeseIstruttoria != null) { - setImportoSpeseIstruttoria(importoSpeseIstruttoria); - } - - String utilizzata = (String)attributes.get("utilizzata"); - - if (utilizzata != null) { - setUtilizzata(utilizzata); - } - - Boolean emailPending = (Boolean)attributes.get("emailPending"); - - if (emailPending != null) { - setEmailPending(emailPending); - } - } - - @Override - public String getUuid() { - if (_uuid == null) { - return StringPool.BLANK; - } - else { - return _uuid; - } - } - - @Override - public void setUuid(String uuid) { - if (_originalUuid == null) { - _originalUuid = _uuid; - } - - _uuid = uuid; - } - - public String getOriginalUuid() { - return GetterUtil.getString(_originalUuid); - } - - @Override - public long getPagamentoId() { - return _pagamentoId; - } - - @Override - public void setPagamentoId(long pagamentoId) { - _pagamentoId = pagamentoId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _columnBitmask |= COMPANYID_COLUMN_BITMASK; - - if (!_setOriginalCompanyId) { - _setOriginalCompanyId = true; - - _originalCompanyId = _companyId; - } - - _companyId = companyId; - } - - public long getOriginalCompanyId() { - return _originalCompanyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _columnBitmask |= GROUPID_COLUMN_BITMASK; - - if (!_setOriginalGroupId) { - _setOriginalGroupId = true; - - _originalGroupId = _groupId; - } - - _groupId = groupId; - } - - public long getOriginalGroupId() { - return _originalGroupId; - } - - @Override - public long getDettPraticaId() { - return _dettPraticaId; - } - - @Override - public void setDettPraticaId(long dettPraticaId) { - _columnBitmask |= DETTPRATICAID_COLUMN_BITMASK; - - if (!_setOriginalDettPraticaId) { - _setOriginalDettPraticaId = true; - - _originalDettPraticaId = _dettPraticaId; - } - - _dettPraticaId = dettPraticaId; - } - - public long getOriginalDettPraticaId() { - return _originalDettPraticaId; - } - - @Override - public String getCodice() { - if (_codice == null) { - return StringPool.BLANK; - } - else { - return _codice; - } - } - - @Override - public void setCodice(String codice) { - _codice = codice; - } - - @Override - public String getCausale() { - if (_causale == null) { - return StringPool.BLANK; - } - else { - return _causale; - } - } - - @Override - public void setCausale(String causale) { - _causale = causale; - } - - @Override - public String getMezzo() { - if (_mezzo == null) { - return StringPool.BLANK; - } - else { - return _mezzo; - } - } - - @Override - public void setMezzo(String mezzo) { - _columnBitmask |= MEZZO_COLUMN_BITMASK; - - if (_originalMezzo == null) { - _originalMezzo = _mezzo; - } - - _mezzo = mezzo; - } - - public String getOriginalMezzo() { - return GetterUtil.getString(_originalMezzo); - } - - @Override - public String getCodiceFiscaleCommittente() { - if (_codiceFiscaleCommittente == null) { - return StringPool.BLANK; - } - else { - return _codiceFiscaleCommittente; - } - } - - @Override - public void setCodiceFiscaleCommittente(String codiceFiscaleCommittente) { - _codiceFiscaleCommittente = codiceFiscaleCommittente; - } - - @Override - public String getImportoBolli() { - if (_importoBolli == null) { - return StringPool.BLANK; - } - else { - return _importoBolli; - } - } - - @Override - public void setImportoBolli(String importoBolli) { - _importoBolli = importoBolli; - } - - @Override - public String getImportoSpeseIstruttoria() { - if (_importoSpeseIstruttoria == null) { - return StringPool.BLANK; - } - else { - return _importoSpeseIstruttoria; - } - } - - @Override - public void setImportoSpeseIstruttoria(String importoSpeseIstruttoria) { - _importoSpeseIstruttoria = importoSpeseIstruttoria; - } - - @Override - public String getUtilizzata() { - if (_utilizzata == null) { - return StringPool.BLANK; - } - else { - return _utilizzata; - } - } - - @Override - public void setUtilizzata(String utilizzata) { - _columnBitmask |= UTILIZZATA_COLUMN_BITMASK; - - if (_originalUtilizzata == null) { - _originalUtilizzata = _utilizzata; - } - - _utilizzata = utilizzata; - } - - public String getOriginalUtilizzata() { - return GetterUtil.getString(_originalUtilizzata); - } - - @Override - public boolean getEmailPending() { - return _emailPending; - } - - @Override - public boolean isEmailPending() { - return _emailPending; - } - - @Override - public void setEmailPending(boolean emailPending) { - _emailPending = emailPending; - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - FePagamento.class.getName())); - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - FePagamento.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public FePagamento toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (FePagamento)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - FePagamentoImpl fePagamentoImpl = new FePagamentoImpl(); - - fePagamentoImpl.setUuid(getUuid()); - fePagamentoImpl.setPagamentoId(getPagamentoId()); - fePagamentoImpl.setCompanyId(getCompanyId()); - fePagamentoImpl.setUserId(getUserId()); - fePagamentoImpl.setUserName(getUserName()); - fePagamentoImpl.setCreateDate(getCreateDate()); - fePagamentoImpl.setModifiedDate(getModifiedDate()); - fePagamentoImpl.setGroupId(getGroupId()); - fePagamentoImpl.setDettPraticaId(getDettPraticaId()); - fePagamentoImpl.setCodice(getCodice()); - fePagamentoImpl.setCausale(getCausale()); - fePagamentoImpl.setMezzo(getMezzo()); - fePagamentoImpl.setCodiceFiscaleCommittente(getCodiceFiscaleCommittente()); - fePagamentoImpl.setImportoBolli(getImportoBolli()); - fePagamentoImpl.setImportoSpeseIstruttoria(getImportoSpeseIstruttoria()); - fePagamentoImpl.setUtilizzata(getUtilizzata()); - fePagamentoImpl.setEmailPending(getEmailPending()); - - fePagamentoImpl.resetOriginalValues(); - - return fePagamentoImpl; - } - - @Override - public int compareTo(FePagamento fePagamento) { - long primaryKey = fePagamento.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof FePagamento)) { - return false; - } - - FePagamento fePagamento = (FePagamento)obj; - - long primaryKey = fePagamento.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - FePagamentoModelImpl fePagamentoModelImpl = this; - - fePagamentoModelImpl._originalUuid = fePagamentoModelImpl._uuid; - - fePagamentoModelImpl._originalCompanyId = fePagamentoModelImpl._companyId; - - fePagamentoModelImpl._setOriginalCompanyId = false; - - fePagamentoModelImpl._originalGroupId = fePagamentoModelImpl._groupId; - - fePagamentoModelImpl._setOriginalGroupId = false; - - fePagamentoModelImpl._originalDettPraticaId = fePagamentoModelImpl._dettPraticaId; - - fePagamentoModelImpl._setOriginalDettPraticaId = false; - - fePagamentoModelImpl._originalMezzo = fePagamentoModelImpl._mezzo; - - fePagamentoModelImpl._originalUtilizzata = fePagamentoModelImpl._utilizzata; - - fePagamentoModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - FePagamentoCacheModel fePagamentoCacheModel = new FePagamentoCacheModel(); - - fePagamentoCacheModel.uuid = getUuid(); - - String uuid = fePagamentoCacheModel.uuid; - - if ((uuid != null) && (uuid.length() == 0)) { - fePagamentoCacheModel.uuid = null; - } - - fePagamentoCacheModel.pagamentoId = getPagamentoId(); - - fePagamentoCacheModel.companyId = getCompanyId(); - - fePagamentoCacheModel.userId = getUserId(); - - fePagamentoCacheModel.userName = getUserName(); - - String userName = fePagamentoCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - fePagamentoCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - fePagamentoCacheModel.createDate = createDate.getTime(); - } - else { - fePagamentoCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - fePagamentoCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - fePagamentoCacheModel.modifiedDate = Long.MIN_VALUE; - } - - fePagamentoCacheModel.groupId = getGroupId(); - - fePagamentoCacheModel.dettPraticaId = getDettPraticaId(); - - fePagamentoCacheModel.codice = getCodice(); - - String codice = fePagamentoCacheModel.codice; - - if ((codice != null) && (codice.length() == 0)) { - fePagamentoCacheModel.codice = null; - } - - fePagamentoCacheModel.causale = getCausale(); - - String causale = fePagamentoCacheModel.causale; - - if ((causale != null) && (causale.length() == 0)) { - fePagamentoCacheModel.causale = null; - } - - fePagamentoCacheModel.mezzo = getMezzo(); - - String mezzo = fePagamentoCacheModel.mezzo; - - if ((mezzo != null) && (mezzo.length() == 0)) { - fePagamentoCacheModel.mezzo = null; - } - - fePagamentoCacheModel.codiceFiscaleCommittente = getCodiceFiscaleCommittente(); - - String codiceFiscaleCommittente = fePagamentoCacheModel.codiceFiscaleCommittente; - - if ((codiceFiscaleCommittente != null) && - (codiceFiscaleCommittente.length() == 0)) { - fePagamentoCacheModel.codiceFiscaleCommittente = null; - } - - fePagamentoCacheModel.importoBolli = getImportoBolli(); - - String importoBolli = fePagamentoCacheModel.importoBolli; - - if ((importoBolli != null) && (importoBolli.length() == 0)) { - fePagamentoCacheModel.importoBolli = null; - } - - fePagamentoCacheModel.importoSpeseIstruttoria = getImportoSpeseIstruttoria(); - - String importoSpeseIstruttoria = fePagamentoCacheModel.importoSpeseIstruttoria; - - if ((importoSpeseIstruttoria != null) && - (importoSpeseIstruttoria.length() == 0)) { - fePagamentoCacheModel.importoSpeseIstruttoria = null; - } - - fePagamentoCacheModel.utilizzata = getUtilizzata(); - - String utilizzata = fePagamentoCacheModel.utilizzata; - - if ((utilizzata != null) && (utilizzata.length() == 0)) { - fePagamentoCacheModel.utilizzata = null; - } - - fePagamentoCacheModel.emailPending = getEmailPending(); - - return fePagamentoCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(35); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", pagamentoId="); - sb.append(getPagamentoId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", dettPraticaId="); - sb.append(getDettPraticaId()); - sb.append(", codice="); - sb.append(getCodice()); - sb.append(", causale="); - sb.append(getCausale()); - sb.append(", mezzo="); - sb.append(getMezzo()); - sb.append(", codiceFiscaleCommittente="); - sb.append(getCodiceFiscaleCommittente()); - sb.append(", importoBolli="); - sb.append(getImportoBolli()); - sb.append(", importoSpeseIstruttoria="); - sb.append(getImportoSpeseIstruttoria()); - sb.append(", utilizzata="); - sb.append(getUtilizzata()); - sb.append(", emailPending="); - sb.append(getEmailPending()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(55); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.FePagamento"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "pagamentoId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "dettPraticaId"); - sb.append( - "codice"); - sb.append( - "causale"); - sb.append( - "mezzo"); - sb.append( - "codiceFiscaleCommittente"); - sb.append( - "importoBolli"); - sb.append( - "importoSpeseIstruttoria"); - sb.append( - "utilizzata"); - sb.append( - "emailPending"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = FePagamento.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - FePagamento.class - }; - private String _uuid; - private String _originalUuid; - private long _pagamentoId; - private long _companyId; - private long _originalCompanyId; - private boolean _setOriginalCompanyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _originalGroupId; - private boolean _setOriginalGroupId; - private long _dettPraticaId; - private long _originalDettPraticaId; - private boolean _setOriginalDettPraticaId; - private String _codice; - private String _causale; - private String _mezzo; - private String _originalMezzo; - private String _codiceFiscaleCommittente; - private String _importoBolli; - private String _importoSpeseIstruttoria; - private String _utilizzata; - private String _originalUtilizzata; - private boolean _emailPending; - private long _columnBitmask; - private FePagamento _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeProvinciaBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeProvinciaBaseImpl.java deleted file mode 100644 index 2794f82e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeProvinciaBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.FeProvincia; -import it.tref.liferay.portos.importazione.service.FeProvinciaLocalServiceUtil; - -/** - * The extended model base implementation for the FeProvincia service. Represents a row in the "gcfe_provincia" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link FeProvinciaImpl}. - *

- * - * @author 3FC - * @see FeProvinciaImpl - * @see it.tref.liferay.portos.importazione.model.FeProvincia - * @generated - */ -public abstract class FeProvinciaBaseImpl extends FeProvinciaModelImpl - implements FeProvincia { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a fe provincia model instance should use the {@link FeProvincia} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - FeProvinciaLocalServiceUtil.addFeProvincia(this); - } - else { - FeProvinciaLocalServiceUtil.updateFeProvincia(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeProvinciaCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeProvinciaCacheModel.java deleted file mode 100644 index 3a17e682..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeProvinciaCacheModel.java +++ /dev/null @@ -1,107 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.importazione.model.FeProvincia; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -/** - * The cache model class for representing FeProvincia in entity cache. - * - * @author 3FC - * @see FeProvincia - * @generated - */ -public class FeProvinciaCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(7); - - sb.append("{provinciaId="); - sb.append(provinciaId); - sb.append(", codProvincia="); - sb.append(codProvincia); - sb.append(", descLong="); - sb.append(descLong); - sb.append("}"); - - return sb.toString(); - } - - @Override - public FeProvincia toEntityModel() { - FeProvinciaImpl feProvinciaImpl = new FeProvinciaImpl(); - - feProvinciaImpl.setProvinciaId(provinciaId); - - if (codProvincia == null) { - feProvinciaImpl.setCodProvincia(StringPool.BLANK); - } - else { - feProvinciaImpl.setCodProvincia(codProvincia); - } - - if (descLong == null) { - feProvinciaImpl.setDescLong(StringPool.BLANK); - } - else { - feProvinciaImpl.setDescLong(descLong); - } - - feProvinciaImpl.resetOriginalValues(); - - return feProvinciaImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - provinciaId = objectInput.readLong(); - codProvincia = objectInput.readUTF(); - descLong = objectInput.readUTF(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - objectOutput.writeLong(provinciaId); - - if (codProvincia == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codProvincia); - } - - if (descLong == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(descLong); - } - } - - public long provinciaId; - public String codProvincia; - public String descLong; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeProvinciaImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeProvinciaImpl.java deleted file mode 100644 index 5e88f608..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeProvinciaImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -/** - * The extended model implementation for the FeProvincia service. Represents a row in the "gcfe_provincia" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.model.FeProvincia} interface. - *

- * - * @author 3FC - */ -public class FeProvinciaImpl extends FeProvinciaBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a fe provincia model instance should use the {@link it.tref.liferay.portos.importazione.model.FeProvincia} interface instead. - */ - public FeProvinciaImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeProvinciaModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeProvinciaModelImpl.java deleted file mode 100644 index bbb2498e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeProvinciaModelImpl.java +++ /dev/null @@ -1,343 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.importazione.model.FeProvincia; -import it.tref.liferay.portos.importazione.model.FeProvinciaModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the FeProvincia service. Represents a row in the "gcfe_provincia" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.importazione.model.FeProvinciaModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link FeProvinciaImpl}. - *

- * - * @author 3FC - * @see FeProvinciaImpl - * @see it.tref.liferay.portos.importazione.model.FeProvincia - * @see it.tref.liferay.portos.importazione.model.FeProvinciaModel - * @generated - */ -public class FeProvinciaModelImpl extends BaseModelImpl - implements FeProvinciaModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a fe provincia model instance should use the {@link it.tref.liferay.portos.importazione.model.FeProvincia} interface instead. - */ - public static final String TABLE_NAME = "gcfe_provincia"; - public static final Object[][] TABLE_COLUMNS = { - { "provinciaId", Types.BIGINT }, - { "codProvincia", Types.VARCHAR }, - { "descLong", Types.VARCHAR } - }; - public static final String TABLE_SQL_CREATE = "create table gcfe_provincia (provinciaId LONG not null primary key,codProvincia VARCHAR(75) null,descLong VARCHAR(75) null)"; - public static final String TABLE_SQL_DROP = "drop table gcfe_provincia"; - public static final String ORDER_BY_JPQL = " ORDER BY feProvincia.provinciaId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gcfe_provincia.provinciaId ASC"; - public static final String DATA_SOURCE = "datiPortos1DbFeDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbFeSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbFeTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.importazione.model.FeProvincia"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.importazione.model.FeProvincia"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = false; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.importazione.model.FeProvincia")); - - public FeProvinciaModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _provinciaId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setProvinciaId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _provinciaId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return FeProvincia.class; - } - - @Override - public String getModelClassName() { - return FeProvincia.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("provinciaId", getProvinciaId()); - attributes.put("codProvincia", getCodProvincia()); - attributes.put("descLong", getDescLong()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long provinciaId = (Long)attributes.get("provinciaId"); - - if (provinciaId != null) { - setProvinciaId(provinciaId); - } - - String codProvincia = (String)attributes.get("codProvincia"); - - if (codProvincia != null) { - setCodProvincia(codProvincia); - } - - String descLong = (String)attributes.get("descLong"); - - if (descLong != null) { - setDescLong(descLong); - } - } - - @Override - public long getProvinciaId() { - return _provinciaId; - } - - @Override - public void setProvinciaId(long provinciaId) { - _provinciaId = provinciaId; - } - - @Override - public String getCodProvincia() { - if (_codProvincia == null) { - return StringPool.BLANK; - } - else { - return _codProvincia; - } - } - - @Override - public void setCodProvincia(String codProvincia) { - _codProvincia = codProvincia; - } - - @Override - public String getDescLong() { - if (_descLong == null) { - return StringPool.BLANK; - } - else { - return _descLong; - } - } - - @Override - public void setDescLong(String descLong) { - _descLong = descLong; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(0, - FeProvincia.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public FeProvincia toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (FeProvincia)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - FeProvinciaImpl feProvinciaImpl = new FeProvinciaImpl(); - - feProvinciaImpl.setProvinciaId(getProvinciaId()); - feProvinciaImpl.setCodProvincia(getCodProvincia()); - feProvinciaImpl.setDescLong(getDescLong()); - - feProvinciaImpl.resetOriginalValues(); - - return feProvinciaImpl; - } - - @Override - public int compareTo(FeProvincia feProvincia) { - long primaryKey = feProvincia.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof FeProvincia)) { - return false; - } - - FeProvincia feProvincia = (FeProvincia)obj; - - long primaryKey = feProvincia.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - } - - @Override - public CacheModel toCacheModel() { - FeProvinciaCacheModel feProvinciaCacheModel = new FeProvinciaCacheModel(); - - feProvinciaCacheModel.provinciaId = getProvinciaId(); - - feProvinciaCacheModel.codProvincia = getCodProvincia(); - - String codProvincia = feProvinciaCacheModel.codProvincia; - - if ((codProvincia != null) && (codProvincia.length() == 0)) { - feProvinciaCacheModel.codProvincia = null; - } - - feProvinciaCacheModel.descLong = getDescLong(); - - String descLong = feProvinciaCacheModel.descLong; - - if ((descLong != null) && (descLong.length() == 0)) { - feProvinciaCacheModel.descLong = null; - } - - return feProvinciaCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(7); - - sb.append("{provinciaId="); - sb.append(getProvinciaId()); - sb.append(", codProvincia="); - sb.append(getCodProvincia()); - sb.append(", descLong="); - sb.append(getDescLong()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(13); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.FeProvincia"); - sb.append(""); - - sb.append( - "provinciaId"); - sb.append( - "codProvincia"); - sb.append( - "descLong"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = FeProvincia.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - FeProvincia.class - }; - private long _provinciaId; - private String _codProvincia; - private String _descLong; - private FeProvincia _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeTerritorioBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeTerritorioBaseImpl.java deleted file mode 100644 index 06477b7b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeTerritorioBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.FeTerritorio; -import it.tref.liferay.portos.importazione.service.FeTerritorioLocalServiceUtil; - -/** - * The extended model base implementation for the FeTerritorio service. Represents a row in the "gcfe_territorio" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link FeTerritorioImpl}. - *

- * - * @author 3FC - * @see FeTerritorioImpl - * @see it.tref.liferay.portos.importazione.model.FeTerritorio - * @generated - */ -public abstract class FeTerritorioBaseImpl extends FeTerritorioModelImpl - implements FeTerritorio { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a fe territorio model instance should use the {@link FeTerritorio} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - FeTerritorioLocalServiceUtil.addFeTerritorio(this); - } - else { - FeTerritorioLocalServiceUtil.updateFeTerritorio(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeTerritorioCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeTerritorioCacheModel.java deleted file mode 100644 index 4c8f48e5..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeTerritorioCacheModel.java +++ /dev/null @@ -1,157 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.importazione.model.FeTerritorio; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing FeTerritorio in entity cache. - * - * @author 3FC - * @see FeTerritorio - * @generated - */ -public class FeTerritorioCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(19); - - sb.append("{territorioId="); - sb.append(territorioId); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", zonaId="); - sb.append(zonaId); - sb.append(", fasciaId="); - sb.append(fasciaId); - sb.append(", comuneId="); - sb.append(comuneId); - sb.append(", dtIni="); - sb.append(dtIni); - sb.append(", dtFin="); - sb.append(dtFin); - sb.append(", agMin="); - sb.append(agMin); - sb.append(", agMax="); - sb.append(agMax); - sb.append("}"); - - return sb.toString(); - } - - @Override - public FeTerritorio toEntityModel() { - FeTerritorioImpl feTerritorioImpl = new FeTerritorioImpl(); - - feTerritorioImpl.setTerritorioId(territorioId); - feTerritorioImpl.setGroupId(groupId); - feTerritorioImpl.setZonaId(zonaId); - feTerritorioImpl.setFasciaId(fasciaId); - feTerritorioImpl.setComuneId(comuneId); - - if (dtIni == Long.MIN_VALUE) { - feTerritorioImpl.setDtIni(null); - } - else { - feTerritorioImpl.setDtIni(new Date(dtIni)); - } - - if (dtFin == Long.MIN_VALUE) { - feTerritorioImpl.setDtFin(null); - } - else { - feTerritorioImpl.setDtFin(new Date(dtFin)); - } - - if (agMin == null) { - feTerritorioImpl.setAgMin(StringPool.BLANK); - } - else { - feTerritorioImpl.setAgMin(agMin); - } - - if (agMax == null) { - feTerritorioImpl.setAgMax(StringPool.BLANK); - } - else { - feTerritorioImpl.setAgMax(agMax); - } - - feTerritorioImpl.resetOriginalValues(); - - return feTerritorioImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - territorioId = objectInput.readLong(); - groupId = objectInput.readLong(); - zonaId = objectInput.readLong(); - fasciaId = objectInput.readLong(); - comuneId = objectInput.readLong(); - dtIni = objectInput.readLong(); - dtFin = objectInput.readLong(); - agMin = objectInput.readUTF(); - agMax = objectInput.readUTF(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - objectOutput.writeLong(territorioId); - objectOutput.writeLong(groupId); - objectOutput.writeLong(zonaId); - objectOutput.writeLong(fasciaId); - objectOutput.writeLong(comuneId); - objectOutput.writeLong(dtIni); - objectOutput.writeLong(dtFin); - - if (agMin == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(agMin); - } - - if (agMax == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(agMax); - } - } - - public long territorioId; - public long groupId; - public long zonaId; - public long fasciaId; - public long comuneId; - public long dtIni; - public long dtFin; - public String agMin; - public String agMax; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeTerritorioImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeTerritorioImpl.java deleted file mode 100644 index 1b25e87b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeTerritorioImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -/** - * The extended model implementation for the FeTerritorio service. Represents a row in the "gcfe_territorio" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.model.FeTerritorio} interface. - *

- * - * @author 3FC - */ -public class FeTerritorioImpl extends FeTerritorioBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a fe territorio model instance should use the {@link it.tref.liferay.portos.importazione.model.FeTerritorio} interface instead. - */ - public FeTerritorioImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeTerritorioModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeTerritorioModelImpl.java deleted file mode 100644 index 111d71e2..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/FeTerritorioModelImpl.java +++ /dev/null @@ -1,608 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.importazione.model.FeTerritorio; -import it.tref.liferay.portos.importazione.model.FeTerritorioModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the FeTerritorio service. Represents a row in the "gcfe_territorio" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.importazione.model.FeTerritorioModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link FeTerritorioImpl}. - *

- * - * @author 3FC - * @see FeTerritorioImpl - * @see it.tref.liferay.portos.importazione.model.FeTerritorio - * @see it.tref.liferay.portos.importazione.model.FeTerritorioModel - * @generated - */ -public class FeTerritorioModelImpl extends BaseModelImpl - implements FeTerritorioModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a fe territorio model instance should use the {@link it.tref.liferay.portos.importazione.model.FeTerritorio} interface instead. - */ - public static final String TABLE_NAME = "gcfe_territorio"; - public static final Object[][] TABLE_COLUMNS = { - { "territorioId", Types.BIGINT }, - { "groupId", Types.BIGINT }, - { "zonaId", Types.BIGINT }, - { "fasciaId", Types.BIGINT }, - { "comuneId", Types.BIGINT }, - { "dtIni", Types.TIMESTAMP }, - { "dtFin", Types.TIMESTAMP }, - { "agMin", Types.VARCHAR }, - { "agMax", Types.VARCHAR } - }; - public static final String TABLE_SQL_CREATE = "create table gcfe_territorio (territorioId LONG not null primary key,groupId LONG,zonaId LONG,fasciaId LONG,comuneId LONG,dtIni DATE null,dtFin DATE null,agMin VARCHAR(75) null,agMax VARCHAR(75) null)"; - public static final String TABLE_SQL_DROP = "drop table gcfe_territorio"; - public static final String ORDER_BY_JPQL = " ORDER BY feTerritorio.territorioId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gcfe_territorio.territorioId ASC"; - public static final String DATA_SOURCE = "datiPortos1DbFeDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbFeSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbFeTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.importazione.model.FeTerritorio"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.importazione.model.FeTerritorio"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.importazione.model.FeTerritorio"), - true); - public static long COMUNEID_COLUMN_BITMASK = 1L; - public static long DTINI_COLUMN_BITMASK = 2L; - public static long FASCIAID_COLUMN_BITMASK = 4L; - public static long ZONAID_COLUMN_BITMASK = 8L; - public static long TERRITORIOID_COLUMN_BITMASK = 16L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.importazione.model.FeTerritorio")); - - public FeTerritorioModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _territorioId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setTerritorioId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _territorioId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return FeTerritorio.class; - } - - @Override - public String getModelClassName() { - return FeTerritorio.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("territorioId", getTerritorioId()); - attributes.put("groupId", getGroupId()); - attributes.put("zonaId", getZonaId()); - attributes.put("fasciaId", getFasciaId()); - attributes.put("comuneId", getComuneId()); - attributes.put("dtIni", getDtIni()); - attributes.put("dtFin", getDtFin()); - attributes.put("agMin", getAgMin()); - attributes.put("agMax", getAgMax()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long territorioId = (Long)attributes.get("territorioId"); - - if (territorioId != null) { - setTerritorioId(territorioId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long zonaId = (Long)attributes.get("zonaId"); - - if (zonaId != null) { - setZonaId(zonaId); - } - - Long fasciaId = (Long)attributes.get("fasciaId"); - - if (fasciaId != null) { - setFasciaId(fasciaId); - } - - Long comuneId = (Long)attributes.get("comuneId"); - - if (comuneId != null) { - setComuneId(comuneId); - } - - Date dtIni = (Date)attributes.get("dtIni"); - - if (dtIni != null) { - setDtIni(dtIni); - } - - Date dtFin = (Date)attributes.get("dtFin"); - - if (dtFin != null) { - setDtFin(dtFin); - } - - String agMin = (String)attributes.get("agMin"); - - if (agMin != null) { - setAgMin(agMin); - } - - String agMax = (String)attributes.get("agMax"); - - if (agMax != null) { - setAgMax(agMax); - } - } - - @Override - public long getTerritorioId() { - return _territorioId; - } - - @Override - public void setTerritorioId(long territorioId) { - _territorioId = territorioId; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - } - - @Override - public long getZonaId() { - return _zonaId; - } - - @Override - public void setZonaId(long zonaId) { - _columnBitmask |= ZONAID_COLUMN_BITMASK; - - if (!_setOriginalZonaId) { - _setOriginalZonaId = true; - - _originalZonaId = _zonaId; - } - - _zonaId = zonaId; - } - - public long getOriginalZonaId() { - return _originalZonaId; - } - - @Override - public long getFasciaId() { - return _fasciaId; - } - - @Override - public void setFasciaId(long fasciaId) { - _columnBitmask |= FASCIAID_COLUMN_BITMASK; - - if (!_setOriginalFasciaId) { - _setOriginalFasciaId = true; - - _originalFasciaId = _fasciaId; - } - - _fasciaId = fasciaId; - } - - public long getOriginalFasciaId() { - return _originalFasciaId; - } - - @Override - public long getComuneId() { - return _comuneId; - } - - @Override - public void setComuneId(long comuneId) { - _columnBitmask |= COMUNEID_COLUMN_BITMASK; - - if (!_setOriginalComuneId) { - _setOriginalComuneId = true; - - _originalComuneId = _comuneId; - } - - _comuneId = comuneId; - } - - public long getOriginalComuneId() { - return _originalComuneId; - } - - @Override - public Date getDtIni() { - return _dtIni; - } - - @Override - public void setDtIni(Date dtIni) { - _columnBitmask |= DTINI_COLUMN_BITMASK; - - if (_originalDtIni == null) { - _originalDtIni = _dtIni; - } - - _dtIni = dtIni; - } - - public Date getOriginalDtIni() { - return _originalDtIni; - } - - @Override - public Date getDtFin() { - return _dtFin; - } - - @Override - public void setDtFin(Date dtFin) { - _dtFin = dtFin; - } - - @Override - public String getAgMin() { - if (_agMin == null) { - return StringPool.BLANK; - } - else { - return _agMin; - } - } - - @Override - public void setAgMin(String agMin) { - _agMin = agMin; - } - - @Override - public String getAgMax() { - if (_agMax == null) { - return StringPool.BLANK; - } - else { - return _agMax; - } - } - - @Override - public void setAgMax(String agMax) { - _agMax = agMax; - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(0, - FeTerritorio.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public FeTerritorio toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (FeTerritorio)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - FeTerritorioImpl feTerritorioImpl = new FeTerritorioImpl(); - - feTerritorioImpl.setTerritorioId(getTerritorioId()); - feTerritorioImpl.setGroupId(getGroupId()); - feTerritorioImpl.setZonaId(getZonaId()); - feTerritorioImpl.setFasciaId(getFasciaId()); - feTerritorioImpl.setComuneId(getComuneId()); - feTerritorioImpl.setDtIni(getDtIni()); - feTerritorioImpl.setDtFin(getDtFin()); - feTerritorioImpl.setAgMin(getAgMin()); - feTerritorioImpl.setAgMax(getAgMax()); - - feTerritorioImpl.resetOriginalValues(); - - return feTerritorioImpl; - } - - @Override - public int compareTo(FeTerritorio feTerritorio) { - long primaryKey = feTerritorio.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof FeTerritorio)) { - return false; - } - - FeTerritorio feTerritorio = (FeTerritorio)obj; - - long primaryKey = feTerritorio.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - FeTerritorioModelImpl feTerritorioModelImpl = this; - - feTerritorioModelImpl._originalZonaId = feTerritorioModelImpl._zonaId; - - feTerritorioModelImpl._setOriginalZonaId = false; - - feTerritorioModelImpl._originalFasciaId = feTerritorioModelImpl._fasciaId; - - feTerritorioModelImpl._setOriginalFasciaId = false; - - feTerritorioModelImpl._originalComuneId = feTerritorioModelImpl._comuneId; - - feTerritorioModelImpl._setOriginalComuneId = false; - - feTerritorioModelImpl._originalDtIni = feTerritorioModelImpl._dtIni; - - feTerritorioModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - FeTerritorioCacheModel feTerritorioCacheModel = new FeTerritorioCacheModel(); - - feTerritorioCacheModel.territorioId = getTerritorioId(); - - feTerritorioCacheModel.groupId = getGroupId(); - - feTerritorioCacheModel.zonaId = getZonaId(); - - feTerritorioCacheModel.fasciaId = getFasciaId(); - - feTerritorioCacheModel.comuneId = getComuneId(); - - Date dtIni = getDtIni(); - - if (dtIni != null) { - feTerritorioCacheModel.dtIni = dtIni.getTime(); - } - else { - feTerritorioCacheModel.dtIni = Long.MIN_VALUE; - } - - Date dtFin = getDtFin(); - - if (dtFin != null) { - feTerritorioCacheModel.dtFin = dtFin.getTime(); - } - else { - feTerritorioCacheModel.dtFin = Long.MIN_VALUE; - } - - feTerritorioCacheModel.agMin = getAgMin(); - - String agMin = feTerritorioCacheModel.agMin; - - if ((agMin != null) && (agMin.length() == 0)) { - feTerritorioCacheModel.agMin = null; - } - - feTerritorioCacheModel.agMax = getAgMax(); - - String agMax = feTerritorioCacheModel.agMax; - - if ((agMax != null) && (agMax.length() == 0)) { - feTerritorioCacheModel.agMax = null; - } - - return feTerritorioCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(19); - - sb.append("{territorioId="); - sb.append(getTerritorioId()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", zonaId="); - sb.append(getZonaId()); - sb.append(", fasciaId="); - sb.append(getFasciaId()); - sb.append(", comuneId="); - sb.append(getComuneId()); - sb.append(", dtIni="); - sb.append(getDtIni()); - sb.append(", dtFin="); - sb.append(getDtFin()); - sb.append(", agMin="); - sb.append(getAgMin()); - sb.append(", agMax="); - sb.append(getAgMax()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(31); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.FeTerritorio"); - sb.append(""); - - sb.append( - "territorioId"); - sb.append( - "groupId"); - sb.append( - "zonaId"); - sb.append( - "fasciaId"); - sb.append( - "comuneId"); - sb.append( - "dtIni"); - sb.append( - "dtFin"); - sb.append( - "agMin"); - sb.append( - "agMax"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = FeTerritorio.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - FeTerritorio.class - }; - private long _territorioId; - private long _groupId; - private long _zonaId; - private long _originalZonaId; - private boolean _setOriginalZonaId; - private long _fasciaId; - private long _originalFasciaId; - private boolean _setOriginalFasciaId; - private long _comuneId; - private long _originalComuneId; - private boolean _setOriginalComuneId; - private Date _dtIni; - private Date _originalDtIni; - private Date _dtFin; - private String _agMin; - private String _agMax; - private long _columnBitmask; - private FeTerritorio _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoInstanceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoInstanceBaseImpl.java deleted file mode 100644 index bd656529..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoInstanceBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.KaleoInstance; -import it.tref.liferay.portos.importazione.service.KaleoInstanceLocalServiceUtil; - -/** - * The extended model base implementation for the KaleoInstance service. Represents a row in the "kaleoinstance" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link KaleoInstanceImpl}. - *

- * - * @author 3FC - * @see KaleoInstanceImpl - * @see it.tref.liferay.portos.importazione.model.KaleoInstance - * @generated - */ -public abstract class KaleoInstanceBaseImpl extends KaleoInstanceModelImpl - implements KaleoInstance { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a kaleo instance model instance should use the {@link KaleoInstance} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - KaleoInstanceLocalServiceUtil.addKaleoInstance(this); - } - else { - KaleoInstanceLocalServiceUtil.updateKaleoInstance(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoInstanceCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoInstanceCacheModel.java deleted file mode 100644 index 60c32450..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoInstanceCacheModel.java +++ /dev/null @@ -1,235 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.importazione.model.KaleoInstance; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing KaleoInstance in entity cache. - * - * @author 3FC - * @see KaleoInstance - * @generated - */ -public class KaleoInstanceCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(33); - - sb.append("{kaleoInstanceId="); - sb.append(kaleoInstanceId); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", kaleoDefinitionId="); - sb.append(kaleoDefinitionId); - sb.append(", kaleoDefinitionName="); - sb.append(kaleoDefinitionName); - sb.append(", kaleoDefinitionVersion="); - sb.append(kaleoDefinitionVersion); - sb.append(", rootKaleoInstanceTokenId="); - sb.append(rootKaleoInstanceTokenId); - sb.append(", className="); - sb.append(className); - sb.append(", classPK="); - sb.append(classPK); - sb.append(", completed="); - sb.append(completed); - sb.append(", completionDate="); - sb.append(completionDate); - sb.append(", workflowContext="); - sb.append(workflowContext); - sb.append("}"); - - return sb.toString(); - } - - @Override - public KaleoInstance toEntityModel() { - KaleoInstanceImpl kaleoInstanceImpl = new KaleoInstanceImpl(); - - kaleoInstanceImpl.setKaleoInstanceId(kaleoInstanceId); - kaleoInstanceImpl.setGroupId(groupId); - kaleoInstanceImpl.setCompanyId(companyId); - kaleoInstanceImpl.setUserId(userId); - - if (userName == null) { - kaleoInstanceImpl.setUserName(StringPool.BLANK); - } - else { - kaleoInstanceImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - kaleoInstanceImpl.setCreateDate(null); - } - else { - kaleoInstanceImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - kaleoInstanceImpl.setModifiedDate(null); - } - else { - kaleoInstanceImpl.setModifiedDate(new Date(modifiedDate)); - } - - kaleoInstanceImpl.setKaleoDefinitionId(kaleoDefinitionId); - - if (kaleoDefinitionName == null) { - kaleoInstanceImpl.setKaleoDefinitionName(StringPool.BLANK); - } - else { - kaleoInstanceImpl.setKaleoDefinitionName(kaleoDefinitionName); - } - - kaleoInstanceImpl.setKaleoDefinitionVersion(kaleoDefinitionVersion); - kaleoInstanceImpl.setRootKaleoInstanceTokenId(rootKaleoInstanceTokenId); - - if (className == null) { - kaleoInstanceImpl.setClassName(StringPool.BLANK); - } - else { - kaleoInstanceImpl.setClassName(className); - } - - kaleoInstanceImpl.setClassPK(classPK); - kaleoInstanceImpl.setCompleted(completed); - - if (completionDate == Long.MIN_VALUE) { - kaleoInstanceImpl.setCompletionDate(null); - } - else { - kaleoInstanceImpl.setCompletionDate(new Date(completionDate)); - } - - if (workflowContext == null) { - kaleoInstanceImpl.setWorkflowContext(StringPool.BLANK); - } - else { - kaleoInstanceImpl.setWorkflowContext(workflowContext); - } - - kaleoInstanceImpl.resetOriginalValues(); - - return kaleoInstanceImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - kaleoInstanceId = objectInput.readLong(); - groupId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - kaleoDefinitionId = objectInput.readLong(); - kaleoDefinitionName = objectInput.readUTF(); - kaleoDefinitionVersion = objectInput.readInt(); - rootKaleoInstanceTokenId = objectInput.readLong(); - className = objectInput.readUTF(); - classPK = objectInput.readLong(); - completed = objectInput.readBoolean(); - completionDate = objectInput.readLong(); - workflowContext = objectInput.readUTF(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - objectOutput.writeLong(kaleoInstanceId); - objectOutput.writeLong(groupId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeLong(kaleoDefinitionId); - - if (kaleoDefinitionName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(kaleoDefinitionName); - } - - objectOutput.writeInt(kaleoDefinitionVersion); - objectOutput.writeLong(rootKaleoInstanceTokenId); - - if (className == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(className); - } - - objectOutput.writeLong(classPK); - objectOutput.writeBoolean(completed); - objectOutput.writeLong(completionDate); - - if (workflowContext == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(workflowContext); - } - } - - public long kaleoInstanceId; - public long groupId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public long kaleoDefinitionId; - public String kaleoDefinitionName; - public int kaleoDefinitionVersion; - public long rootKaleoInstanceTokenId; - public String className; - public long classPK; - public boolean completed; - public long completionDate; - public String workflowContext; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoInstanceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoInstanceImpl.java deleted file mode 100644 index dabd314a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoInstanceImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -/** - * The extended model implementation for the KaleoInstance service. Represents a row in the "kaleoinstance" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.model.KaleoInstance} interface. - *

- * - * @author 3FC - */ -public class KaleoInstanceImpl extends KaleoInstanceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a kaleo instance model instance should use the {@link it.tref.liferay.portos.importazione.model.KaleoInstance} interface instead. - */ - public KaleoInstanceImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoInstanceModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoInstanceModelImpl.java deleted file mode 100644 index 79c7bf38..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoInstanceModelImpl.java +++ /dev/null @@ -1,811 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.importazione.model.KaleoInstance; -import it.tref.liferay.portos.importazione.model.KaleoInstanceModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the KaleoInstance service. Represents a row in the "kaleoinstance" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.importazione.model.KaleoInstanceModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link KaleoInstanceImpl}. - *

- * - * @author 3FC - * @see KaleoInstanceImpl - * @see it.tref.liferay.portos.importazione.model.KaleoInstance - * @see it.tref.liferay.portos.importazione.model.KaleoInstanceModel - * @generated - */ -public class KaleoInstanceModelImpl extends BaseModelImpl - implements KaleoInstanceModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a kaleo instance model instance should use the {@link it.tref.liferay.portos.importazione.model.KaleoInstance} interface instead. - */ - public static final String TABLE_NAME = "kaleoinstance"; - public static final Object[][] TABLE_COLUMNS = { - { "kaleoInstanceId", Types.BIGINT }, - { "groupId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "kaleoDefinitionId", Types.BIGINT }, - { "kaleoDefinitionName", Types.VARCHAR }, - { "kaleoDefinitionVersion", Types.INTEGER }, - { "rootKaleoInstanceTokenId", Types.BIGINT }, - { "className", Types.VARCHAR }, - { "classPK", Types.BIGINT }, - { "completed", Types.BOOLEAN }, - { "completionDate", Types.TIMESTAMP }, - { "workflowContext", Types.CLOB } - }; - public static final String TABLE_SQL_CREATE = "create table kaleoinstance (kaleoInstanceId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(200) null,createDate DATE null,modifiedDate DATE null,kaleoDefinitionId LONG,kaleoDefinitionName VARCHAR(200) null,kaleoDefinitionVersion INTEGER,rootKaleoInstanceTokenId LONG,className VARCHAR(200) null,classPK LONG,completed BOOLEAN,completionDate DATE null,workflowContext TEXT null)"; - public static final String TABLE_SQL_DROP = "drop table kaleoinstance"; - public static final String ORDER_BY_JPQL = " ORDER BY kaleoInstance.kaleoInstanceId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY kaleoinstance.kaleoInstanceId ASC"; - public static final String DATA_SOURCE = "liferayDataSource"; - public static final String SESSION_FACTORY = "liferaySessionFactory"; - public static final String TX_MANAGER = "liferayTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.importazione.model.KaleoInstance"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.importazione.model.KaleoInstance"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.importazione.model.KaleoInstance"), - true); - public static long CLASSPK_COLUMN_BITMASK = 1L; - public static long KALEOINSTANCEID_COLUMN_BITMASK = 2L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.importazione.model.KaleoInstance")); - - public KaleoInstanceModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _kaleoInstanceId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setKaleoInstanceId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _kaleoInstanceId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return KaleoInstance.class; - } - - @Override - public String getModelClassName() { - return KaleoInstance.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("kaleoInstanceId", getKaleoInstanceId()); - attributes.put("groupId", getGroupId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("kaleoDefinitionId", getKaleoDefinitionId()); - attributes.put("kaleoDefinitionName", getKaleoDefinitionName()); - attributes.put("kaleoDefinitionVersion", getKaleoDefinitionVersion()); - attributes.put("rootKaleoInstanceTokenId", getRootKaleoInstanceTokenId()); - attributes.put("className", getClassName()); - attributes.put("classPK", getClassPK()); - attributes.put("completed", getCompleted()); - attributes.put("completionDate", getCompletionDate()); - attributes.put("workflowContext", getWorkflowContext()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long kaleoInstanceId = (Long)attributes.get("kaleoInstanceId"); - - if (kaleoInstanceId != null) { - setKaleoInstanceId(kaleoInstanceId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long kaleoDefinitionId = (Long)attributes.get("kaleoDefinitionId"); - - if (kaleoDefinitionId != null) { - setKaleoDefinitionId(kaleoDefinitionId); - } - - String kaleoDefinitionName = (String)attributes.get( - "kaleoDefinitionName"); - - if (kaleoDefinitionName != null) { - setKaleoDefinitionName(kaleoDefinitionName); - } - - Integer kaleoDefinitionVersion = (Integer)attributes.get( - "kaleoDefinitionVersion"); - - if (kaleoDefinitionVersion != null) { - setKaleoDefinitionVersion(kaleoDefinitionVersion); - } - - Long rootKaleoInstanceTokenId = (Long)attributes.get( - "rootKaleoInstanceTokenId"); - - if (rootKaleoInstanceTokenId != null) { - setRootKaleoInstanceTokenId(rootKaleoInstanceTokenId); - } - - String className = (String)attributes.get("className"); - - if (className != null) { - setClassName(className); - } - - Long classPK = (Long)attributes.get("classPK"); - - if (classPK != null) { - setClassPK(classPK); - } - - Boolean completed = (Boolean)attributes.get("completed"); - - if (completed != null) { - setCompleted(completed); - } - - Date completionDate = (Date)attributes.get("completionDate"); - - if (completionDate != null) { - setCompletionDate(completionDate); - } - - String workflowContext = (String)attributes.get("workflowContext"); - - if (workflowContext != null) { - setWorkflowContext(workflowContext); - } - } - - @Override - public long getKaleoInstanceId() { - return _kaleoInstanceId; - } - - @Override - public void setKaleoInstanceId(long kaleoInstanceId) { - _columnBitmask = -1L; - - _kaleoInstanceId = kaleoInstanceId; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public long getKaleoDefinitionId() { - return _kaleoDefinitionId; - } - - @Override - public void setKaleoDefinitionId(long kaleoDefinitionId) { - _kaleoDefinitionId = kaleoDefinitionId; - } - - @Override - public String getKaleoDefinitionName() { - if (_kaleoDefinitionName == null) { - return StringPool.BLANK; - } - else { - return _kaleoDefinitionName; - } - } - - @Override - public void setKaleoDefinitionName(String kaleoDefinitionName) { - _kaleoDefinitionName = kaleoDefinitionName; - } - - @Override - public int getKaleoDefinitionVersion() { - return _kaleoDefinitionVersion; - } - - @Override - public void setKaleoDefinitionVersion(int kaleoDefinitionVersion) { - _kaleoDefinitionVersion = kaleoDefinitionVersion; - } - - @Override - public long getRootKaleoInstanceTokenId() { - return _rootKaleoInstanceTokenId; - } - - @Override - public void setRootKaleoInstanceTokenId(long rootKaleoInstanceTokenId) { - _rootKaleoInstanceTokenId = rootKaleoInstanceTokenId; - } - - @Override - public String getClassName() { - if (_className == null) { - return StringPool.BLANK; - } - else { - return _className; - } - } - - @Override - public void setClassName(String className) { - _className = className; - } - - @Override - public long getClassPK() { - return _classPK; - } - - @Override - public void setClassPK(long classPK) { - _columnBitmask |= CLASSPK_COLUMN_BITMASK; - - if (!_setOriginalClassPK) { - _setOriginalClassPK = true; - - _originalClassPK = _classPK; - } - - _classPK = classPK; - } - - public long getOriginalClassPK() { - return _originalClassPK; - } - - @Override - public boolean getCompleted() { - return _completed; - } - - @Override - public boolean isCompleted() { - return _completed; - } - - @Override - public void setCompleted(boolean completed) { - _completed = completed; - } - - @Override - public Date getCompletionDate() { - return _completionDate; - } - - @Override - public void setCompletionDate(Date completionDate) { - _completionDate = completionDate; - } - - @Override - public String getWorkflowContext() { - if (_workflowContext == null) { - return StringPool.BLANK; - } - else { - return _workflowContext; - } - } - - @Override - public void setWorkflowContext(String workflowContext) { - _workflowContext = workflowContext; - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - KaleoInstance.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public KaleoInstance toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (KaleoInstance)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - KaleoInstanceImpl kaleoInstanceImpl = new KaleoInstanceImpl(); - - kaleoInstanceImpl.setKaleoInstanceId(getKaleoInstanceId()); - kaleoInstanceImpl.setGroupId(getGroupId()); - kaleoInstanceImpl.setCompanyId(getCompanyId()); - kaleoInstanceImpl.setUserId(getUserId()); - kaleoInstanceImpl.setUserName(getUserName()); - kaleoInstanceImpl.setCreateDate(getCreateDate()); - kaleoInstanceImpl.setModifiedDate(getModifiedDate()); - kaleoInstanceImpl.setKaleoDefinitionId(getKaleoDefinitionId()); - kaleoInstanceImpl.setKaleoDefinitionName(getKaleoDefinitionName()); - kaleoInstanceImpl.setKaleoDefinitionVersion(getKaleoDefinitionVersion()); - kaleoInstanceImpl.setRootKaleoInstanceTokenId(getRootKaleoInstanceTokenId()); - kaleoInstanceImpl.setClassName(getClassName()); - kaleoInstanceImpl.setClassPK(getClassPK()); - kaleoInstanceImpl.setCompleted(getCompleted()); - kaleoInstanceImpl.setCompletionDate(getCompletionDate()); - kaleoInstanceImpl.setWorkflowContext(getWorkflowContext()); - - kaleoInstanceImpl.resetOriginalValues(); - - return kaleoInstanceImpl; - } - - @Override - public int compareTo(KaleoInstance kaleoInstance) { - int value = 0; - - if (getKaleoInstanceId() < kaleoInstance.getKaleoInstanceId()) { - value = -1; - } - else if (getKaleoInstanceId() > kaleoInstance.getKaleoInstanceId()) { - value = 1; - } - else { - value = 0; - } - - if (value != 0) { - return value; - } - - return 0; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof KaleoInstance)) { - return false; - } - - KaleoInstance kaleoInstance = (KaleoInstance)obj; - - long primaryKey = kaleoInstance.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - KaleoInstanceModelImpl kaleoInstanceModelImpl = this; - - kaleoInstanceModelImpl._originalClassPK = kaleoInstanceModelImpl._classPK; - - kaleoInstanceModelImpl._setOriginalClassPK = false; - - kaleoInstanceModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - KaleoInstanceCacheModel kaleoInstanceCacheModel = new KaleoInstanceCacheModel(); - - kaleoInstanceCacheModel.kaleoInstanceId = getKaleoInstanceId(); - - kaleoInstanceCacheModel.groupId = getGroupId(); - - kaleoInstanceCacheModel.companyId = getCompanyId(); - - kaleoInstanceCacheModel.userId = getUserId(); - - kaleoInstanceCacheModel.userName = getUserName(); - - String userName = kaleoInstanceCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - kaleoInstanceCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - kaleoInstanceCacheModel.createDate = createDate.getTime(); - } - else { - kaleoInstanceCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - kaleoInstanceCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - kaleoInstanceCacheModel.modifiedDate = Long.MIN_VALUE; - } - - kaleoInstanceCacheModel.kaleoDefinitionId = getKaleoDefinitionId(); - - kaleoInstanceCacheModel.kaleoDefinitionName = getKaleoDefinitionName(); - - String kaleoDefinitionName = kaleoInstanceCacheModel.kaleoDefinitionName; - - if ((kaleoDefinitionName != null) && - (kaleoDefinitionName.length() == 0)) { - kaleoInstanceCacheModel.kaleoDefinitionName = null; - } - - kaleoInstanceCacheModel.kaleoDefinitionVersion = getKaleoDefinitionVersion(); - - kaleoInstanceCacheModel.rootKaleoInstanceTokenId = getRootKaleoInstanceTokenId(); - - kaleoInstanceCacheModel.className = getClassName(); - - String className = kaleoInstanceCacheModel.className; - - if ((className != null) && (className.length() == 0)) { - kaleoInstanceCacheModel.className = null; - } - - kaleoInstanceCacheModel.classPK = getClassPK(); - - kaleoInstanceCacheModel.completed = getCompleted(); - - Date completionDate = getCompletionDate(); - - if (completionDate != null) { - kaleoInstanceCacheModel.completionDate = completionDate.getTime(); - } - else { - kaleoInstanceCacheModel.completionDate = Long.MIN_VALUE; - } - - kaleoInstanceCacheModel.workflowContext = getWorkflowContext(); - - String workflowContext = kaleoInstanceCacheModel.workflowContext; - - if ((workflowContext != null) && (workflowContext.length() == 0)) { - kaleoInstanceCacheModel.workflowContext = null; - } - - return kaleoInstanceCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(33); - - sb.append("{kaleoInstanceId="); - sb.append(getKaleoInstanceId()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", kaleoDefinitionId="); - sb.append(getKaleoDefinitionId()); - sb.append(", kaleoDefinitionName="); - sb.append(getKaleoDefinitionName()); - sb.append(", kaleoDefinitionVersion="); - sb.append(getKaleoDefinitionVersion()); - sb.append(", rootKaleoInstanceTokenId="); - sb.append(getRootKaleoInstanceTokenId()); - sb.append(", className="); - sb.append(getClassName()); - sb.append(", classPK="); - sb.append(getClassPK()); - sb.append(", completed="); - sb.append(getCompleted()); - sb.append(", completionDate="); - sb.append(getCompletionDate()); - sb.append(", workflowContext="); - sb.append(getWorkflowContext()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(52); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.KaleoInstance"); - sb.append(""); - - sb.append( - "kaleoInstanceId"); - sb.append( - "groupId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "kaleoDefinitionId"); - sb.append( - "kaleoDefinitionName"); - sb.append( - "kaleoDefinitionVersion"); - sb.append( - "rootKaleoInstanceTokenId"); - sb.append( - "className"); - sb.append( - "classPK"); - sb.append( - "completed"); - sb.append( - "completionDate"); - sb.append( - "workflowContext"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = KaleoInstance.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - KaleoInstance.class - }; - private long _kaleoInstanceId; - private long _groupId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _kaleoDefinitionId; - private String _kaleoDefinitionName; - private int _kaleoDefinitionVersion; - private long _rootKaleoInstanceTokenId; - private String _className; - private long _classPK; - private long _originalClassPK; - private boolean _setOriginalClassPK; - private boolean _completed; - private Date _completionDate; - private String _workflowContext; - private long _columnBitmask; - private KaleoInstance _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoInstanceTokenBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoInstanceTokenBaseImpl.java deleted file mode 100644 index eada15bd..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoInstanceTokenBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.KaleoInstanceToken; -import it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalServiceUtil; - -/** - * The extended model base implementation for the KaleoInstanceToken service. Represents a row in the "kaleoinstancetoken" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link KaleoInstanceTokenImpl}. - *

- * - * @author 3FC - * @see KaleoInstanceTokenImpl - * @see it.tref.liferay.portos.importazione.model.KaleoInstanceToken - * @generated - */ -public abstract class KaleoInstanceTokenBaseImpl - extends KaleoInstanceTokenModelImpl implements KaleoInstanceToken { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a kaleo instance token model instance should use the {@link KaleoInstanceToken} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - KaleoInstanceTokenLocalServiceUtil.addKaleoInstanceToken(this); - } - else { - KaleoInstanceTokenLocalServiceUtil.updateKaleoInstanceToken(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoInstanceTokenCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoInstanceTokenCacheModel.java deleted file mode 100644 index ffdd0e46..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoInstanceTokenCacheModel.java +++ /dev/null @@ -1,221 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.importazione.model.KaleoInstanceToken; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing KaleoInstanceToken in entity cache. - * - * @author 3FC - * @see KaleoInstanceToken - * @generated - */ -public class KaleoInstanceTokenCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(33); - - sb.append("{kaleoInstanceTokenId="); - sb.append(kaleoInstanceTokenId); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", kaleoDefinitionId="); - sb.append(kaleoDefinitionId); - sb.append(", kaleoInstanceId="); - sb.append(kaleoInstanceId); - sb.append(", parentKaleoInstanceTokenId="); - sb.append(parentKaleoInstanceTokenId); - sb.append(", currentKaleoNodeId="); - sb.append(currentKaleoNodeId); - sb.append(", currentKaleoNodeName="); - sb.append(currentKaleoNodeName); - sb.append(", className="); - sb.append(className); - sb.append(", classPK="); - sb.append(classPK); - sb.append(", completed="); - sb.append(completed); - sb.append(", completionDate="); - sb.append(completionDate); - sb.append("}"); - - return sb.toString(); - } - - @Override - public KaleoInstanceToken toEntityModel() { - KaleoInstanceTokenImpl kaleoInstanceTokenImpl = new KaleoInstanceTokenImpl(); - - kaleoInstanceTokenImpl.setKaleoInstanceTokenId(kaleoInstanceTokenId); - kaleoInstanceTokenImpl.setGroupId(groupId); - kaleoInstanceTokenImpl.setCompanyId(companyId); - kaleoInstanceTokenImpl.setUserId(userId); - - if (userName == null) { - kaleoInstanceTokenImpl.setUserName(StringPool.BLANK); - } - else { - kaleoInstanceTokenImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - kaleoInstanceTokenImpl.setCreateDate(null); - } - else { - kaleoInstanceTokenImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - kaleoInstanceTokenImpl.setModifiedDate(null); - } - else { - kaleoInstanceTokenImpl.setModifiedDate(new Date(modifiedDate)); - } - - kaleoInstanceTokenImpl.setKaleoDefinitionId(kaleoDefinitionId); - kaleoInstanceTokenImpl.setKaleoInstanceId(kaleoInstanceId); - kaleoInstanceTokenImpl.setParentKaleoInstanceTokenId(parentKaleoInstanceTokenId); - kaleoInstanceTokenImpl.setCurrentKaleoNodeId(currentKaleoNodeId); - - if (currentKaleoNodeName == null) { - kaleoInstanceTokenImpl.setCurrentKaleoNodeName(StringPool.BLANK); - } - else { - kaleoInstanceTokenImpl.setCurrentKaleoNodeName(currentKaleoNodeName); - } - - if (className == null) { - kaleoInstanceTokenImpl.setClassName(StringPool.BLANK); - } - else { - kaleoInstanceTokenImpl.setClassName(className); - } - - kaleoInstanceTokenImpl.setClassPK(classPK); - kaleoInstanceTokenImpl.setCompleted(completed); - - if (completionDate == Long.MIN_VALUE) { - kaleoInstanceTokenImpl.setCompletionDate(null); - } - else { - kaleoInstanceTokenImpl.setCompletionDate(new Date(completionDate)); - } - - kaleoInstanceTokenImpl.resetOriginalValues(); - - return kaleoInstanceTokenImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - kaleoInstanceTokenId = objectInput.readLong(); - groupId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - kaleoDefinitionId = objectInput.readLong(); - kaleoInstanceId = objectInput.readLong(); - parentKaleoInstanceTokenId = objectInput.readLong(); - currentKaleoNodeId = objectInput.readLong(); - currentKaleoNodeName = objectInput.readUTF(); - className = objectInput.readUTF(); - classPK = objectInput.readLong(); - completed = objectInput.readBoolean(); - completionDate = objectInput.readLong(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - objectOutput.writeLong(kaleoInstanceTokenId); - objectOutput.writeLong(groupId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeLong(kaleoDefinitionId); - objectOutput.writeLong(kaleoInstanceId); - objectOutput.writeLong(parentKaleoInstanceTokenId); - objectOutput.writeLong(currentKaleoNodeId); - - if (currentKaleoNodeName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(currentKaleoNodeName); - } - - if (className == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(className); - } - - objectOutput.writeLong(classPK); - objectOutput.writeBoolean(completed); - objectOutput.writeLong(completionDate); - } - - public long kaleoInstanceTokenId; - public long groupId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public long kaleoDefinitionId; - public long kaleoInstanceId; - public long parentKaleoInstanceTokenId; - public long currentKaleoNodeId; - public String currentKaleoNodeName; - public String className; - public long classPK; - public boolean completed; - public long completionDate; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoInstanceTokenImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoInstanceTokenImpl.java deleted file mode 100644 index df8664aa..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoInstanceTokenImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -/** - * The extended model implementation for the KaleoInstanceToken service. Represents a row in the "kaleoinstancetoken" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.model.KaleoInstanceToken} interface. - *

- * - * @author 3FC - */ -public class KaleoInstanceTokenImpl extends KaleoInstanceTokenBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a kaleo instance token model instance should use the {@link it.tref.liferay.portos.importazione.model.KaleoInstanceToken} interface instead. - */ - public KaleoInstanceTokenImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoInstanceTokenModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoInstanceTokenModelImpl.java deleted file mode 100644 index ccf63772..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoInstanceTokenModelImpl.java +++ /dev/null @@ -1,801 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.importazione.model.KaleoInstanceToken; -import it.tref.liferay.portos.importazione.model.KaleoInstanceTokenModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the KaleoInstanceToken service. Represents a row in the "kaleoinstancetoken" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.importazione.model.KaleoInstanceTokenModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link KaleoInstanceTokenImpl}. - *

- * - * @author 3FC - * @see KaleoInstanceTokenImpl - * @see it.tref.liferay.portos.importazione.model.KaleoInstanceToken - * @see it.tref.liferay.portos.importazione.model.KaleoInstanceTokenModel - * @generated - */ -public class KaleoInstanceTokenModelImpl extends BaseModelImpl - implements KaleoInstanceTokenModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a kaleo instance token model instance should use the {@link it.tref.liferay.portos.importazione.model.KaleoInstanceToken} interface instead. - */ - public static final String TABLE_NAME = "kaleoinstancetoken"; - public static final Object[][] TABLE_COLUMNS = { - { "kaleoInstanceTokenId", Types.BIGINT }, - { "groupId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "kaleoDefinitionId", Types.BIGINT }, - { "kaleoInstanceId", Types.BIGINT }, - { "parentKaleoInstanceTokenId", Types.BIGINT }, - { "currentKaleoNodeId", Types.BIGINT }, - { "currentKaleoNodeName", Types.VARCHAR }, - { "className", Types.VARCHAR }, - { "classPK", Types.BIGINT }, - { "completed", Types.BOOLEAN }, - { "completionDate", Types.TIMESTAMP } - }; - public static final String TABLE_SQL_CREATE = "create table kaleoinstancetoken (kaleoInstanceTokenId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(200) null,createDate DATE null,modifiedDate DATE null,kaleoDefinitionId LONG,kaleoInstanceId LONG,parentKaleoInstanceTokenId LONG,currentKaleoNodeId LONG,currentKaleoNodeName VARCHAR(200) null,className VARCHAR(200) null,classPK LONG,completed BOOLEAN,completionDate DATE null)"; - public static final String TABLE_SQL_DROP = "drop table kaleoinstancetoken"; - public static final String ORDER_BY_JPQL = " ORDER BY kaleoInstanceToken.kaleoInstanceTokenId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY kaleoinstancetoken.kaleoInstanceTokenId ASC"; - public static final String DATA_SOURCE = "liferayDataSource"; - public static final String SESSION_FACTORY = "liferaySessionFactory"; - public static final String TX_MANAGER = "liferayTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.importazione.model.KaleoInstanceToken"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.importazione.model.KaleoInstanceToken"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.importazione.model.KaleoInstanceToken"), - true); - public static long CLASSPK_COLUMN_BITMASK = 1L; - public static long KALEOINSTANCETOKENID_COLUMN_BITMASK = 2L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.importazione.model.KaleoInstanceToken")); - - public KaleoInstanceTokenModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _kaleoInstanceTokenId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setKaleoInstanceTokenId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _kaleoInstanceTokenId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return KaleoInstanceToken.class; - } - - @Override - public String getModelClassName() { - return KaleoInstanceToken.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("kaleoInstanceTokenId", getKaleoInstanceTokenId()); - attributes.put("groupId", getGroupId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("kaleoDefinitionId", getKaleoDefinitionId()); - attributes.put("kaleoInstanceId", getKaleoInstanceId()); - attributes.put("parentKaleoInstanceTokenId", - getParentKaleoInstanceTokenId()); - attributes.put("currentKaleoNodeId", getCurrentKaleoNodeId()); - attributes.put("currentKaleoNodeName", getCurrentKaleoNodeName()); - attributes.put("className", getClassName()); - attributes.put("classPK", getClassPK()); - attributes.put("completed", getCompleted()); - attributes.put("completionDate", getCompletionDate()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long kaleoInstanceTokenId = (Long)attributes.get("kaleoInstanceTokenId"); - - if (kaleoInstanceTokenId != null) { - setKaleoInstanceTokenId(kaleoInstanceTokenId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long kaleoDefinitionId = (Long)attributes.get("kaleoDefinitionId"); - - if (kaleoDefinitionId != null) { - setKaleoDefinitionId(kaleoDefinitionId); - } - - Long kaleoInstanceId = (Long)attributes.get("kaleoInstanceId"); - - if (kaleoInstanceId != null) { - setKaleoInstanceId(kaleoInstanceId); - } - - Long parentKaleoInstanceTokenId = (Long)attributes.get( - "parentKaleoInstanceTokenId"); - - if (parentKaleoInstanceTokenId != null) { - setParentKaleoInstanceTokenId(parentKaleoInstanceTokenId); - } - - Long currentKaleoNodeId = (Long)attributes.get("currentKaleoNodeId"); - - if (currentKaleoNodeId != null) { - setCurrentKaleoNodeId(currentKaleoNodeId); - } - - String currentKaleoNodeName = (String)attributes.get( - "currentKaleoNodeName"); - - if (currentKaleoNodeName != null) { - setCurrentKaleoNodeName(currentKaleoNodeName); - } - - String className = (String)attributes.get("className"); - - if (className != null) { - setClassName(className); - } - - Long classPK = (Long)attributes.get("classPK"); - - if (classPK != null) { - setClassPK(classPK); - } - - Boolean completed = (Boolean)attributes.get("completed"); - - if (completed != null) { - setCompleted(completed); - } - - Date completionDate = (Date)attributes.get("completionDate"); - - if (completionDate != null) { - setCompletionDate(completionDate); - } - } - - @Override - public long getKaleoInstanceTokenId() { - return _kaleoInstanceTokenId; - } - - @Override - public void setKaleoInstanceTokenId(long kaleoInstanceTokenId) { - _columnBitmask = -1L; - - _kaleoInstanceTokenId = kaleoInstanceTokenId; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public long getKaleoDefinitionId() { - return _kaleoDefinitionId; - } - - @Override - public void setKaleoDefinitionId(long kaleoDefinitionId) { - _kaleoDefinitionId = kaleoDefinitionId; - } - - @Override - public long getKaleoInstanceId() { - return _kaleoInstanceId; - } - - @Override - public void setKaleoInstanceId(long kaleoInstanceId) { - _kaleoInstanceId = kaleoInstanceId; - } - - @Override - public long getParentKaleoInstanceTokenId() { - return _parentKaleoInstanceTokenId; - } - - @Override - public void setParentKaleoInstanceTokenId(long parentKaleoInstanceTokenId) { - _parentKaleoInstanceTokenId = parentKaleoInstanceTokenId; - } - - @Override - public long getCurrentKaleoNodeId() { - return _currentKaleoNodeId; - } - - @Override - public void setCurrentKaleoNodeId(long currentKaleoNodeId) { - _currentKaleoNodeId = currentKaleoNodeId; - } - - @Override - public String getCurrentKaleoNodeName() { - if (_currentKaleoNodeName == null) { - return StringPool.BLANK; - } - else { - return _currentKaleoNodeName; - } - } - - @Override - public void setCurrentKaleoNodeName(String currentKaleoNodeName) { - _currentKaleoNodeName = currentKaleoNodeName; - } - - @Override - public String getClassName() { - if (_className == null) { - return StringPool.BLANK; - } - else { - return _className; - } - } - - @Override - public void setClassName(String className) { - _className = className; - } - - @Override - public long getClassPK() { - return _classPK; - } - - @Override - public void setClassPK(long classPK) { - _columnBitmask |= CLASSPK_COLUMN_BITMASK; - - if (!_setOriginalClassPK) { - _setOriginalClassPK = true; - - _originalClassPK = _classPK; - } - - _classPK = classPK; - } - - public long getOriginalClassPK() { - return _originalClassPK; - } - - @Override - public boolean getCompleted() { - return _completed; - } - - @Override - public boolean isCompleted() { - return _completed; - } - - @Override - public void setCompleted(boolean completed) { - _completed = completed; - } - - @Override - public Date getCompletionDate() { - return _completionDate; - } - - @Override - public void setCompletionDate(Date completionDate) { - _completionDate = completionDate; - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - KaleoInstanceToken.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public KaleoInstanceToken toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (KaleoInstanceToken)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - KaleoInstanceTokenImpl kaleoInstanceTokenImpl = new KaleoInstanceTokenImpl(); - - kaleoInstanceTokenImpl.setKaleoInstanceTokenId(getKaleoInstanceTokenId()); - kaleoInstanceTokenImpl.setGroupId(getGroupId()); - kaleoInstanceTokenImpl.setCompanyId(getCompanyId()); - kaleoInstanceTokenImpl.setUserId(getUserId()); - kaleoInstanceTokenImpl.setUserName(getUserName()); - kaleoInstanceTokenImpl.setCreateDate(getCreateDate()); - kaleoInstanceTokenImpl.setModifiedDate(getModifiedDate()); - kaleoInstanceTokenImpl.setKaleoDefinitionId(getKaleoDefinitionId()); - kaleoInstanceTokenImpl.setKaleoInstanceId(getKaleoInstanceId()); - kaleoInstanceTokenImpl.setParentKaleoInstanceTokenId(getParentKaleoInstanceTokenId()); - kaleoInstanceTokenImpl.setCurrentKaleoNodeId(getCurrentKaleoNodeId()); - kaleoInstanceTokenImpl.setCurrentKaleoNodeName(getCurrentKaleoNodeName()); - kaleoInstanceTokenImpl.setClassName(getClassName()); - kaleoInstanceTokenImpl.setClassPK(getClassPK()); - kaleoInstanceTokenImpl.setCompleted(getCompleted()); - kaleoInstanceTokenImpl.setCompletionDate(getCompletionDate()); - - kaleoInstanceTokenImpl.resetOriginalValues(); - - return kaleoInstanceTokenImpl; - } - - @Override - public int compareTo(KaleoInstanceToken kaleoInstanceToken) { - int value = 0; - - if (getKaleoInstanceTokenId() < kaleoInstanceToken.getKaleoInstanceTokenId()) { - value = -1; - } - else if (getKaleoInstanceTokenId() > kaleoInstanceToken.getKaleoInstanceTokenId()) { - value = 1; - } - else { - value = 0; - } - - if (value != 0) { - return value; - } - - return 0; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof KaleoInstanceToken)) { - return false; - } - - KaleoInstanceToken kaleoInstanceToken = (KaleoInstanceToken)obj; - - long primaryKey = kaleoInstanceToken.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - KaleoInstanceTokenModelImpl kaleoInstanceTokenModelImpl = this; - - kaleoInstanceTokenModelImpl._originalClassPK = kaleoInstanceTokenModelImpl._classPK; - - kaleoInstanceTokenModelImpl._setOriginalClassPK = false; - - kaleoInstanceTokenModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - KaleoInstanceTokenCacheModel kaleoInstanceTokenCacheModel = new KaleoInstanceTokenCacheModel(); - - kaleoInstanceTokenCacheModel.kaleoInstanceTokenId = getKaleoInstanceTokenId(); - - kaleoInstanceTokenCacheModel.groupId = getGroupId(); - - kaleoInstanceTokenCacheModel.companyId = getCompanyId(); - - kaleoInstanceTokenCacheModel.userId = getUserId(); - - kaleoInstanceTokenCacheModel.userName = getUserName(); - - String userName = kaleoInstanceTokenCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - kaleoInstanceTokenCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - kaleoInstanceTokenCacheModel.createDate = createDate.getTime(); - } - else { - kaleoInstanceTokenCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - kaleoInstanceTokenCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - kaleoInstanceTokenCacheModel.modifiedDate = Long.MIN_VALUE; - } - - kaleoInstanceTokenCacheModel.kaleoDefinitionId = getKaleoDefinitionId(); - - kaleoInstanceTokenCacheModel.kaleoInstanceId = getKaleoInstanceId(); - - kaleoInstanceTokenCacheModel.parentKaleoInstanceTokenId = getParentKaleoInstanceTokenId(); - - kaleoInstanceTokenCacheModel.currentKaleoNodeId = getCurrentKaleoNodeId(); - - kaleoInstanceTokenCacheModel.currentKaleoNodeName = getCurrentKaleoNodeName(); - - String currentKaleoNodeName = kaleoInstanceTokenCacheModel.currentKaleoNodeName; - - if ((currentKaleoNodeName != null) && - (currentKaleoNodeName.length() == 0)) { - kaleoInstanceTokenCacheModel.currentKaleoNodeName = null; - } - - kaleoInstanceTokenCacheModel.className = getClassName(); - - String className = kaleoInstanceTokenCacheModel.className; - - if ((className != null) && (className.length() == 0)) { - kaleoInstanceTokenCacheModel.className = null; - } - - kaleoInstanceTokenCacheModel.classPK = getClassPK(); - - kaleoInstanceTokenCacheModel.completed = getCompleted(); - - Date completionDate = getCompletionDate(); - - if (completionDate != null) { - kaleoInstanceTokenCacheModel.completionDate = completionDate.getTime(); - } - else { - kaleoInstanceTokenCacheModel.completionDate = Long.MIN_VALUE; - } - - return kaleoInstanceTokenCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(33); - - sb.append("{kaleoInstanceTokenId="); - sb.append(getKaleoInstanceTokenId()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", kaleoDefinitionId="); - sb.append(getKaleoDefinitionId()); - sb.append(", kaleoInstanceId="); - sb.append(getKaleoInstanceId()); - sb.append(", parentKaleoInstanceTokenId="); - sb.append(getParentKaleoInstanceTokenId()); - sb.append(", currentKaleoNodeId="); - sb.append(getCurrentKaleoNodeId()); - sb.append(", currentKaleoNodeName="); - sb.append(getCurrentKaleoNodeName()); - sb.append(", className="); - sb.append(getClassName()); - sb.append(", classPK="); - sb.append(getClassPK()); - sb.append(", completed="); - sb.append(getCompleted()); - sb.append(", completionDate="); - sb.append(getCompletionDate()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(52); - - sb.append(""); - sb.append( - "it.tref.liferay.portos.importazione.model.KaleoInstanceToken"); - sb.append(""); - - sb.append( - "kaleoInstanceTokenId"); - sb.append( - "groupId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "kaleoDefinitionId"); - sb.append( - "kaleoInstanceId"); - sb.append( - "parentKaleoInstanceTokenId"); - sb.append( - "currentKaleoNodeId"); - sb.append( - "currentKaleoNodeName"); - sb.append( - "className"); - sb.append( - "classPK"); - sb.append( - "completed"); - sb.append( - "completionDate"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = KaleoInstanceToken.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - KaleoInstanceToken.class - }; - private long _kaleoInstanceTokenId; - private long _groupId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _kaleoDefinitionId; - private long _kaleoInstanceId; - private long _parentKaleoInstanceTokenId; - private long _currentKaleoNodeId; - private String _currentKaleoNodeName; - private String _className; - private long _classPK; - private long _originalClassPK; - private boolean _setOriginalClassPK; - private boolean _completed; - private Date _completionDate; - private long _columnBitmask; - private KaleoInstanceToken _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoLogBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoLogBaseImpl.java deleted file mode 100644 index 9ff57218..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoLogBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.KaleoLog; -import it.tref.liferay.portos.importazione.service.KaleoLogLocalServiceUtil; - -/** - * The extended model base implementation for the KaleoLog service. Represents a row in the "kaleolog" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link KaleoLogImpl}. - *

- * - * @author 3FC - * @see KaleoLogImpl - * @see it.tref.liferay.portos.importazione.model.KaleoLog - * @generated - */ -public abstract class KaleoLogBaseImpl extends KaleoLogModelImpl - implements KaleoLog { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a kaleo log model instance should use the {@link KaleoLog} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - KaleoLogLocalServiceUtil.addKaleoLog(this); - } - else { - KaleoLogLocalServiceUtil.updateKaleoLog(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoLogCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoLogCacheModel.java deleted file mode 100644 index 0f2642e6..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoLogCacheModel.java +++ /dev/null @@ -1,415 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.importazione.model.KaleoLog; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing KaleoLog in entity cache. - * - * @author 3FC - * @see KaleoLog - * @generated - */ -public class KaleoLogCacheModel implements CacheModel, Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(61); - - sb.append("{kaleoLogId="); - sb.append(kaleoLogId); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", kaleoClassName="); - sb.append(kaleoClassName); - sb.append(", kaleoClassPK="); - sb.append(kaleoClassPK); - sb.append(", kaleoDefinitionId="); - sb.append(kaleoDefinitionId); - sb.append(", kaleoInstanceId="); - sb.append(kaleoInstanceId); - sb.append(", kaleoInstanceTokenId="); - sb.append(kaleoInstanceTokenId); - sb.append(", kaleoTaskInstanceTokenId="); - sb.append(kaleoTaskInstanceTokenId); - sb.append(", kaleoNodeName="); - sb.append(kaleoNodeName); - sb.append(", terminalKaleoNode="); - sb.append(terminalKaleoNode); - sb.append(", kaleoActionId="); - sb.append(kaleoActionId); - sb.append(", kaleoActionName="); - sb.append(kaleoActionName); - sb.append(", kaleoActionDescription="); - sb.append(kaleoActionDescription); - sb.append(", previousKaleoNodeId="); - sb.append(previousKaleoNodeId); - sb.append(", previousKaleoNodeName="); - sb.append(previousKaleoNodeName); - sb.append(", previousAssigneeClassName="); - sb.append(previousAssigneeClassName); - sb.append(", previousAssigneeClassPK="); - sb.append(previousAssigneeClassPK); - sb.append(", currentAssigneeClassName="); - sb.append(currentAssigneeClassName); - sb.append(", currentAssigneeClassPK="); - sb.append(currentAssigneeClassPK); - sb.append(", type="); - sb.append(type); - sb.append(", comment="); - sb.append(comment); - sb.append(", startDate="); - sb.append(startDate); - sb.append(", endDate="); - sb.append(endDate); - sb.append(", duration="); - sb.append(duration); - sb.append(", workflowContext="); - sb.append(workflowContext); - sb.append("}"); - - return sb.toString(); - } - - @Override - public KaleoLog toEntityModel() { - KaleoLogImpl kaleoLogImpl = new KaleoLogImpl(); - - kaleoLogImpl.setKaleoLogId(kaleoLogId); - kaleoLogImpl.setGroupId(groupId); - kaleoLogImpl.setCompanyId(companyId); - kaleoLogImpl.setUserId(userId); - - if (userName == null) { - kaleoLogImpl.setUserName(StringPool.BLANK); - } - else { - kaleoLogImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - kaleoLogImpl.setCreateDate(null); - } - else { - kaleoLogImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - kaleoLogImpl.setModifiedDate(null); - } - else { - kaleoLogImpl.setModifiedDate(new Date(modifiedDate)); - } - - if (kaleoClassName == null) { - kaleoLogImpl.setKaleoClassName(StringPool.BLANK); - } - else { - kaleoLogImpl.setKaleoClassName(kaleoClassName); - } - - kaleoLogImpl.setKaleoClassPK(kaleoClassPK); - kaleoLogImpl.setKaleoDefinitionId(kaleoDefinitionId); - kaleoLogImpl.setKaleoInstanceId(kaleoInstanceId); - kaleoLogImpl.setKaleoInstanceTokenId(kaleoInstanceTokenId); - kaleoLogImpl.setKaleoTaskInstanceTokenId(kaleoTaskInstanceTokenId); - - if (kaleoNodeName == null) { - kaleoLogImpl.setKaleoNodeName(StringPool.BLANK); - } - else { - kaleoLogImpl.setKaleoNodeName(kaleoNodeName); - } - - kaleoLogImpl.setTerminalKaleoNode(terminalKaleoNode); - kaleoLogImpl.setKaleoActionId(kaleoActionId); - - if (kaleoActionName == null) { - kaleoLogImpl.setKaleoActionName(StringPool.BLANK); - } - else { - kaleoLogImpl.setKaleoActionName(kaleoActionName); - } - - if (kaleoActionDescription == null) { - kaleoLogImpl.setKaleoActionDescription(StringPool.BLANK); - } - else { - kaleoLogImpl.setKaleoActionDescription(kaleoActionDescription); - } - - kaleoLogImpl.setPreviousKaleoNodeId(previousKaleoNodeId); - - if (previousKaleoNodeName == null) { - kaleoLogImpl.setPreviousKaleoNodeName(StringPool.BLANK); - } - else { - kaleoLogImpl.setPreviousKaleoNodeName(previousKaleoNodeName); - } - - if (previousAssigneeClassName == null) { - kaleoLogImpl.setPreviousAssigneeClassName(StringPool.BLANK); - } - else { - kaleoLogImpl.setPreviousAssigneeClassName(previousAssigneeClassName); - } - - kaleoLogImpl.setPreviousAssigneeClassPK(previousAssigneeClassPK); - - if (currentAssigneeClassName == null) { - kaleoLogImpl.setCurrentAssigneeClassName(StringPool.BLANK); - } - else { - kaleoLogImpl.setCurrentAssigneeClassName(currentAssigneeClassName); - } - - kaleoLogImpl.setCurrentAssigneeClassPK(currentAssigneeClassPK); - - if (type == null) { - kaleoLogImpl.setType(StringPool.BLANK); - } - else { - kaleoLogImpl.setType(type); - } - - if (comment == null) { - kaleoLogImpl.setComment(StringPool.BLANK); - } - else { - kaleoLogImpl.setComment(comment); - } - - if (startDate == Long.MIN_VALUE) { - kaleoLogImpl.setStartDate(null); - } - else { - kaleoLogImpl.setStartDate(new Date(startDate)); - } - - if (endDate == Long.MIN_VALUE) { - kaleoLogImpl.setEndDate(null); - } - else { - kaleoLogImpl.setEndDate(new Date(endDate)); - } - - kaleoLogImpl.setDuration(duration); - - if (workflowContext == null) { - kaleoLogImpl.setWorkflowContext(StringPool.BLANK); - } - else { - kaleoLogImpl.setWorkflowContext(workflowContext); - } - - kaleoLogImpl.resetOriginalValues(); - - return kaleoLogImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - kaleoLogId = objectInput.readLong(); - groupId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - kaleoClassName = objectInput.readUTF(); - kaleoClassPK = objectInput.readLong(); - kaleoDefinitionId = objectInput.readLong(); - kaleoInstanceId = objectInput.readLong(); - kaleoInstanceTokenId = objectInput.readLong(); - kaleoTaskInstanceTokenId = objectInput.readLong(); - kaleoNodeName = objectInput.readUTF(); - terminalKaleoNode = objectInput.readBoolean(); - kaleoActionId = objectInput.readLong(); - kaleoActionName = objectInput.readUTF(); - kaleoActionDescription = objectInput.readUTF(); - previousKaleoNodeId = objectInput.readLong(); - previousKaleoNodeName = objectInput.readUTF(); - previousAssigneeClassName = objectInput.readUTF(); - previousAssigneeClassPK = objectInput.readLong(); - currentAssigneeClassName = objectInput.readUTF(); - currentAssigneeClassPK = objectInput.readLong(); - type = objectInput.readUTF(); - comment = objectInput.readUTF(); - startDate = objectInput.readLong(); - endDate = objectInput.readLong(); - duration = objectInput.readLong(); - workflowContext = objectInput.readUTF(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - objectOutput.writeLong(kaleoLogId); - objectOutput.writeLong(groupId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - - if (kaleoClassName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(kaleoClassName); - } - - objectOutput.writeLong(kaleoClassPK); - objectOutput.writeLong(kaleoDefinitionId); - objectOutput.writeLong(kaleoInstanceId); - objectOutput.writeLong(kaleoInstanceTokenId); - objectOutput.writeLong(kaleoTaskInstanceTokenId); - - if (kaleoNodeName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(kaleoNodeName); - } - - objectOutput.writeBoolean(terminalKaleoNode); - objectOutput.writeLong(kaleoActionId); - - if (kaleoActionName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(kaleoActionName); - } - - if (kaleoActionDescription == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(kaleoActionDescription); - } - - objectOutput.writeLong(previousKaleoNodeId); - - if (previousKaleoNodeName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(previousKaleoNodeName); - } - - if (previousAssigneeClassName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(previousAssigneeClassName); - } - - objectOutput.writeLong(previousAssigneeClassPK); - - if (currentAssigneeClassName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(currentAssigneeClassName); - } - - objectOutput.writeLong(currentAssigneeClassPK); - - if (type == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(type); - } - - if (comment == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(comment); - } - - objectOutput.writeLong(startDate); - objectOutput.writeLong(endDate); - objectOutput.writeLong(duration); - - if (workflowContext == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(workflowContext); - } - } - - public long kaleoLogId; - public long groupId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public String kaleoClassName; - public long kaleoClassPK; - public long kaleoDefinitionId; - public long kaleoInstanceId; - public long kaleoInstanceTokenId; - public long kaleoTaskInstanceTokenId; - public String kaleoNodeName; - public boolean terminalKaleoNode; - public long kaleoActionId; - public String kaleoActionName; - public String kaleoActionDescription; - public long previousKaleoNodeId; - public String previousKaleoNodeName; - public String previousAssigneeClassName; - public long previousAssigneeClassPK; - public String currentAssigneeClassName; - public long currentAssigneeClassPK; - public String type; - public String comment; - public long startDate; - public long endDate; - public long duration; - public String workflowContext; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoLogImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoLogImpl.java deleted file mode 100644 index ca860d9d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoLogImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -/** - * The extended model implementation for the KaleoLog service. Represents a row in the "kaleolog" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.model.KaleoLog} interface. - *

- * - * @author 3FC - */ -public class KaleoLogImpl extends KaleoLogBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a kaleo log model instance should use the {@link it.tref.liferay.portos.importazione.model.KaleoLog} interface instead. - */ - public KaleoLogImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoLogModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoLogModelImpl.java deleted file mode 100644 index d32c83f1..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoLogModelImpl.java +++ /dev/null @@ -1,1333 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.importazione.model.KaleoLog; -import it.tref.liferay.portos.importazione.model.KaleoLogModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the KaleoLog service. Represents a row in the "kaleolog" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.importazione.model.KaleoLogModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link KaleoLogImpl}. - *

- * - * @author 3FC - * @see KaleoLogImpl - * @see it.tref.liferay.portos.importazione.model.KaleoLog - * @see it.tref.liferay.portos.importazione.model.KaleoLogModel - * @generated - */ -public class KaleoLogModelImpl extends BaseModelImpl - implements KaleoLogModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a kaleo log model instance should use the {@link it.tref.liferay.portos.importazione.model.KaleoLog} interface instead. - */ - public static final String TABLE_NAME = "kaleolog"; - public static final Object[][] TABLE_COLUMNS = { - { "kaleoLogId", Types.BIGINT }, - { "groupId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "kaleoClassName", Types.VARCHAR }, - { "kaleoClassPK", Types.BIGINT }, - { "kaleoDefinitionId", Types.BIGINT }, - { "kaleoInstanceId", Types.BIGINT }, - { "kaleoInstanceTokenId", Types.BIGINT }, - { "kaleoTaskInstanceTokenId", Types.BIGINT }, - { "kaleoNodeName", Types.VARCHAR }, - { "terminalKaleoNode", Types.BOOLEAN }, - { "kaleoActionId", Types.BIGINT }, - { "kaleoActionName", Types.VARCHAR }, - { "kaleoActionDescription", Types.VARCHAR }, - { "previousKaleoNodeId", Types.BIGINT }, - { "previousKaleoNodeName", Types.VARCHAR }, - { "previousAssigneeClassName", Types.VARCHAR }, - { "previousAssigneeClassPK", Types.BIGINT }, - { "currentAssigneeClassName", Types.VARCHAR }, - { "currentAssigneeClassPK", Types.BIGINT }, - { "type_", Types.VARCHAR }, - { "comment_", Types.VARCHAR }, - { "startDate", Types.TIMESTAMP }, - { "endDate", Types.TIMESTAMP }, - { "duration", Types.BIGINT }, - { "workflowContext", Types.CLOB } - }; - public static final String TABLE_SQL_CREATE = "create table kaleolog (kaleoLogId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(200) null,createDate DATE null,modifiedDate DATE null,kaleoClassName VARCHAR(200) null,kaleoClassPK LONG,kaleoDefinitionId LONG,kaleoInstanceId LONG,kaleoInstanceTokenId LONG,kaleoTaskInstanceTokenId LONG,kaleoNodeName VARCHAR(200) null,terminalKaleoNode BOOLEAN,kaleoActionId LONG,kaleoActionName VARCHAR(200) null,kaleoActionDescription VARCHAR(200) null,previousKaleoNodeId LONG,previousKaleoNodeName VARCHAR(200) null,previousAssigneeClassName VARCHAR(200) null,previousAssigneeClassPK LONG,currentAssigneeClassName VARCHAR(200) null,currentAssigneeClassPK LONG,type_ VARCHAR(200) null,comment_ STRING null,startDate DATE null,endDate DATE null,duration LONG,workflowContext TEXT null)"; - public static final String TABLE_SQL_DROP = "drop table kaleolog"; - public static final String ORDER_BY_JPQL = " ORDER BY kaleoLog.kaleoLogId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY kaleolog.kaleoLogId ASC"; - public static final String DATA_SOURCE = "liferayDataSource"; - public static final String SESSION_FACTORY = "liferaySessionFactory"; - public static final String TX_MANAGER = "liferayTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.importazione.model.KaleoLog"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.importazione.model.KaleoLog"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.importazione.model.KaleoLog"), - true); - public static long COMPANYID_COLUMN_BITMASK = 1L; - public static long KALEODEFINITIONID_COLUMN_BITMASK = 2L; - public static long KALEOINSTANCEID_COLUMN_BITMASK = 4L; - public static long KALEOLOGID_COLUMN_BITMASK = 8L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.importazione.model.KaleoLog")); - - public KaleoLogModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _kaleoLogId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setKaleoLogId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _kaleoLogId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return KaleoLog.class; - } - - @Override - public String getModelClassName() { - return KaleoLog.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("kaleoLogId", getKaleoLogId()); - attributes.put("groupId", getGroupId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("kaleoClassName", getKaleoClassName()); - attributes.put("kaleoClassPK", getKaleoClassPK()); - attributes.put("kaleoDefinitionId", getKaleoDefinitionId()); - attributes.put("kaleoInstanceId", getKaleoInstanceId()); - attributes.put("kaleoInstanceTokenId", getKaleoInstanceTokenId()); - attributes.put("kaleoTaskInstanceTokenId", getKaleoTaskInstanceTokenId()); - attributes.put("kaleoNodeName", getKaleoNodeName()); - attributes.put("terminalKaleoNode", getTerminalKaleoNode()); - attributes.put("kaleoActionId", getKaleoActionId()); - attributes.put("kaleoActionName", getKaleoActionName()); - attributes.put("kaleoActionDescription", getKaleoActionDescription()); - attributes.put("previousKaleoNodeId", getPreviousKaleoNodeId()); - attributes.put("previousKaleoNodeName", getPreviousKaleoNodeName()); - attributes.put("previousAssigneeClassName", - getPreviousAssigneeClassName()); - attributes.put("previousAssigneeClassPK", getPreviousAssigneeClassPK()); - attributes.put("currentAssigneeClassName", getCurrentAssigneeClassName()); - attributes.put("currentAssigneeClassPK", getCurrentAssigneeClassPK()); - attributes.put("type", getType()); - attributes.put("comment", getComment()); - attributes.put("startDate", getStartDate()); - attributes.put("endDate", getEndDate()); - attributes.put("duration", getDuration()); - attributes.put("workflowContext", getWorkflowContext()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long kaleoLogId = (Long)attributes.get("kaleoLogId"); - - if (kaleoLogId != null) { - setKaleoLogId(kaleoLogId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - String kaleoClassName = (String)attributes.get("kaleoClassName"); - - if (kaleoClassName != null) { - setKaleoClassName(kaleoClassName); - } - - Long kaleoClassPK = (Long)attributes.get("kaleoClassPK"); - - if (kaleoClassPK != null) { - setKaleoClassPK(kaleoClassPK); - } - - Long kaleoDefinitionId = (Long)attributes.get("kaleoDefinitionId"); - - if (kaleoDefinitionId != null) { - setKaleoDefinitionId(kaleoDefinitionId); - } - - Long kaleoInstanceId = (Long)attributes.get("kaleoInstanceId"); - - if (kaleoInstanceId != null) { - setKaleoInstanceId(kaleoInstanceId); - } - - Long kaleoInstanceTokenId = (Long)attributes.get("kaleoInstanceTokenId"); - - if (kaleoInstanceTokenId != null) { - setKaleoInstanceTokenId(kaleoInstanceTokenId); - } - - Long kaleoTaskInstanceTokenId = (Long)attributes.get( - "kaleoTaskInstanceTokenId"); - - if (kaleoTaskInstanceTokenId != null) { - setKaleoTaskInstanceTokenId(kaleoTaskInstanceTokenId); - } - - String kaleoNodeName = (String)attributes.get("kaleoNodeName"); - - if (kaleoNodeName != null) { - setKaleoNodeName(kaleoNodeName); - } - - Boolean terminalKaleoNode = (Boolean)attributes.get("terminalKaleoNode"); - - if (terminalKaleoNode != null) { - setTerminalKaleoNode(terminalKaleoNode); - } - - Long kaleoActionId = (Long)attributes.get("kaleoActionId"); - - if (kaleoActionId != null) { - setKaleoActionId(kaleoActionId); - } - - String kaleoActionName = (String)attributes.get("kaleoActionName"); - - if (kaleoActionName != null) { - setKaleoActionName(kaleoActionName); - } - - String kaleoActionDescription = (String)attributes.get( - "kaleoActionDescription"); - - if (kaleoActionDescription != null) { - setKaleoActionDescription(kaleoActionDescription); - } - - Long previousKaleoNodeId = (Long)attributes.get("previousKaleoNodeId"); - - if (previousKaleoNodeId != null) { - setPreviousKaleoNodeId(previousKaleoNodeId); - } - - String previousKaleoNodeName = (String)attributes.get( - "previousKaleoNodeName"); - - if (previousKaleoNodeName != null) { - setPreviousKaleoNodeName(previousKaleoNodeName); - } - - String previousAssigneeClassName = (String)attributes.get( - "previousAssigneeClassName"); - - if (previousAssigneeClassName != null) { - setPreviousAssigneeClassName(previousAssigneeClassName); - } - - Long previousAssigneeClassPK = (Long)attributes.get( - "previousAssigneeClassPK"); - - if (previousAssigneeClassPK != null) { - setPreviousAssigneeClassPK(previousAssigneeClassPK); - } - - String currentAssigneeClassName = (String)attributes.get( - "currentAssigneeClassName"); - - if (currentAssigneeClassName != null) { - setCurrentAssigneeClassName(currentAssigneeClassName); - } - - Long currentAssigneeClassPK = (Long)attributes.get( - "currentAssigneeClassPK"); - - if (currentAssigneeClassPK != null) { - setCurrentAssigneeClassPK(currentAssigneeClassPK); - } - - String type = (String)attributes.get("type"); - - if (type != null) { - setType(type); - } - - String comment = (String)attributes.get("comment"); - - if (comment != null) { - setComment(comment); - } - - Date startDate = (Date)attributes.get("startDate"); - - if (startDate != null) { - setStartDate(startDate); - } - - Date endDate = (Date)attributes.get("endDate"); - - if (endDate != null) { - setEndDate(endDate); - } - - Long duration = (Long)attributes.get("duration"); - - if (duration != null) { - setDuration(duration); - } - - String workflowContext = (String)attributes.get("workflowContext"); - - if (workflowContext != null) { - setWorkflowContext(workflowContext); - } - } - - @Override - public long getKaleoLogId() { - return _kaleoLogId; - } - - @Override - public void setKaleoLogId(long kaleoLogId) { - _columnBitmask = -1L; - - _kaleoLogId = kaleoLogId; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _columnBitmask |= COMPANYID_COLUMN_BITMASK; - - if (!_setOriginalCompanyId) { - _setOriginalCompanyId = true; - - _originalCompanyId = _companyId; - } - - _companyId = companyId; - } - - public long getOriginalCompanyId() { - return _originalCompanyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public String getKaleoClassName() { - if (_kaleoClassName == null) { - return StringPool.BLANK; - } - else { - return _kaleoClassName; - } - } - - @Override - public void setKaleoClassName(String kaleoClassName) { - _kaleoClassName = kaleoClassName; - } - - @Override - public long getKaleoClassPK() { - return _kaleoClassPK; - } - - @Override - public void setKaleoClassPK(long kaleoClassPK) { - _kaleoClassPK = kaleoClassPK; - } - - @Override - public long getKaleoDefinitionId() { - return _kaleoDefinitionId; - } - - @Override - public void setKaleoDefinitionId(long kaleoDefinitionId) { - _columnBitmask |= KALEODEFINITIONID_COLUMN_BITMASK; - - if (!_setOriginalKaleoDefinitionId) { - _setOriginalKaleoDefinitionId = true; - - _originalKaleoDefinitionId = _kaleoDefinitionId; - } - - _kaleoDefinitionId = kaleoDefinitionId; - } - - public long getOriginalKaleoDefinitionId() { - return _originalKaleoDefinitionId; - } - - @Override - public long getKaleoInstanceId() { - return _kaleoInstanceId; - } - - @Override - public void setKaleoInstanceId(long kaleoInstanceId) { - _columnBitmask |= KALEOINSTANCEID_COLUMN_BITMASK; - - if (!_setOriginalKaleoInstanceId) { - _setOriginalKaleoInstanceId = true; - - _originalKaleoInstanceId = _kaleoInstanceId; - } - - _kaleoInstanceId = kaleoInstanceId; - } - - public long getOriginalKaleoInstanceId() { - return _originalKaleoInstanceId; - } - - @Override - public long getKaleoInstanceTokenId() { - return _kaleoInstanceTokenId; - } - - @Override - public void setKaleoInstanceTokenId(long kaleoInstanceTokenId) { - _kaleoInstanceTokenId = kaleoInstanceTokenId; - } - - @Override - public long getKaleoTaskInstanceTokenId() { - return _kaleoTaskInstanceTokenId; - } - - @Override - public void setKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId) { - _kaleoTaskInstanceTokenId = kaleoTaskInstanceTokenId; - } - - @Override - public String getKaleoNodeName() { - if (_kaleoNodeName == null) { - return StringPool.BLANK; - } - else { - return _kaleoNodeName; - } - } - - @Override - public void setKaleoNodeName(String kaleoNodeName) { - _kaleoNodeName = kaleoNodeName; - } - - @Override - public boolean getTerminalKaleoNode() { - return _terminalKaleoNode; - } - - @Override - public boolean isTerminalKaleoNode() { - return _terminalKaleoNode; - } - - @Override - public void setTerminalKaleoNode(boolean terminalKaleoNode) { - _terminalKaleoNode = terminalKaleoNode; - } - - @Override - public long getKaleoActionId() { - return _kaleoActionId; - } - - @Override - public void setKaleoActionId(long kaleoActionId) { - _kaleoActionId = kaleoActionId; - } - - @Override - public String getKaleoActionName() { - if (_kaleoActionName == null) { - return StringPool.BLANK; - } - else { - return _kaleoActionName; - } - } - - @Override - public void setKaleoActionName(String kaleoActionName) { - _kaleoActionName = kaleoActionName; - } - - @Override - public String getKaleoActionDescription() { - if (_kaleoActionDescription == null) { - return StringPool.BLANK; - } - else { - return _kaleoActionDescription; - } - } - - @Override - public void setKaleoActionDescription(String kaleoActionDescription) { - _kaleoActionDescription = kaleoActionDescription; - } - - @Override - public long getPreviousKaleoNodeId() { - return _previousKaleoNodeId; - } - - @Override - public void setPreviousKaleoNodeId(long previousKaleoNodeId) { - _previousKaleoNodeId = previousKaleoNodeId; - } - - @Override - public String getPreviousKaleoNodeName() { - if (_previousKaleoNodeName == null) { - return StringPool.BLANK; - } - else { - return _previousKaleoNodeName; - } - } - - @Override - public void setPreviousKaleoNodeName(String previousKaleoNodeName) { - _previousKaleoNodeName = previousKaleoNodeName; - } - - @Override - public String getPreviousAssigneeClassName() { - if (_previousAssigneeClassName == null) { - return StringPool.BLANK; - } - else { - return _previousAssigneeClassName; - } - } - - @Override - public void setPreviousAssigneeClassName(String previousAssigneeClassName) { - _previousAssigneeClassName = previousAssigneeClassName; - } - - @Override - public long getPreviousAssigneeClassPK() { - return _previousAssigneeClassPK; - } - - @Override - public void setPreviousAssigneeClassPK(long previousAssigneeClassPK) { - _previousAssigneeClassPK = previousAssigneeClassPK; - } - - @Override - public String getCurrentAssigneeClassName() { - if (_currentAssigneeClassName == null) { - return StringPool.BLANK; - } - else { - return _currentAssigneeClassName; - } - } - - @Override - public void setCurrentAssigneeClassName(String currentAssigneeClassName) { - _currentAssigneeClassName = currentAssigneeClassName; - } - - @Override - public long getCurrentAssigneeClassPK() { - return _currentAssigneeClassPK; - } - - @Override - public void setCurrentAssigneeClassPK(long currentAssigneeClassPK) { - _currentAssigneeClassPK = currentAssigneeClassPK; - } - - @Override - public String getType() { - if (_type == null) { - return StringPool.BLANK; - } - else { - return _type; - } - } - - @Override - public void setType(String type) { - _type = type; - } - - @Override - public String getComment() { - if (_comment == null) { - return StringPool.BLANK; - } - else { - return _comment; - } - } - - @Override - public void setComment(String comment) { - _comment = comment; - } - - @Override - public Date getStartDate() { - return _startDate; - } - - @Override - public void setStartDate(Date startDate) { - _startDate = startDate; - } - - @Override - public Date getEndDate() { - return _endDate; - } - - @Override - public void setEndDate(Date endDate) { - _endDate = endDate; - } - - @Override - public long getDuration() { - return _duration; - } - - @Override - public void setDuration(long duration) { - _duration = duration; - } - - @Override - public String getWorkflowContext() { - if (_workflowContext == null) { - return StringPool.BLANK; - } - else { - return _workflowContext; - } - } - - @Override - public void setWorkflowContext(String workflowContext) { - _workflowContext = workflowContext; - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - KaleoLog.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public KaleoLog toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (KaleoLog)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - KaleoLogImpl kaleoLogImpl = new KaleoLogImpl(); - - kaleoLogImpl.setKaleoLogId(getKaleoLogId()); - kaleoLogImpl.setGroupId(getGroupId()); - kaleoLogImpl.setCompanyId(getCompanyId()); - kaleoLogImpl.setUserId(getUserId()); - kaleoLogImpl.setUserName(getUserName()); - kaleoLogImpl.setCreateDate(getCreateDate()); - kaleoLogImpl.setModifiedDate(getModifiedDate()); - kaleoLogImpl.setKaleoClassName(getKaleoClassName()); - kaleoLogImpl.setKaleoClassPK(getKaleoClassPK()); - kaleoLogImpl.setKaleoDefinitionId(getKaleoDefinitionId()); - kaleoLogImpl.setKaleoInstanceId(getKaleoInstanceId()); - kaleoLogImpl.setKaleoInstanceTokenId(getKaleoInstanceTokenId()); - kaleoLogImpl.setKaleoTaskInstanceTokenId(getKaleoTaskInstanceTokenId()); - kaleoLogImpl.setKaleoNodeName(getKaleoNodeName()); - kaleoLogImpl.setTerminalKaleoNode(getTerminalKaleoNode()); - kaleoLogImpl.setKaleoActionId(getKaleoActionId()); - kaleoLogImpl.setKaleoActionName(getKaleoActionName()); - kaleoLogImpl.setKaleoActionDescription(getKaleoActionDescription()); - kaleoLogImpl.setPreviousKaleoNodeId(getPreviousKaleoNodeId()); - kaleoLogImpl.setPreviousKaleoNodeName(getPreviousKaleoNodeName()); - kaleoLogImpl.setPreviousAssigneeClassName(getPreviousAssigneeClassName()); - kaleoLogImpl.setPreviousAssigneeClassPK(getPreviousAssigneeClassPK()); - kaleoLogImpl.setCurrentAssigneeClassName(getCurrentAssigneeClassName()); - kaleoLogImpl.setCurrentAssigneeClassPK(getCurrentAssigneeClassPK()); - kaleoLogImpl.setType(getType()); - kaleoLogImpl.setComment(getComment()); - kaleoLogImpl.setStartDate(getStartDate()); - kaleoLogImpl.setEndDate(getEndDate()); - kaleoLogImpl.setDuration(getDuration()); - kaleoLogImpl.setWorkflowContext(getWorkflowContext()); - - kaleoLogImpl.resetOriginalValues(); - - return kaleoLogImpl; - } - - @Override - public int compareTo(KaleoLog kaleoLog) { - int value = 0; - - if (getKaleoLogId() < kaleoLog.getKaleoLogId()) { - value = -1; - } - else if (getKaleoLogId() > kaleoLog.getKaleoLogId()) { - value = 1; - } - else { - value = 0; - } - - if (value != 0) { - return value; - } - - return 0; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof KaleoLog)) { - return false; - } - - KaleoLog kaleoLog = (KaleoLog)obj; - - long primaryKey = kaleoLog.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - KaleoLogModelImpl kaleoLogModelImpl = this; - - kaleoLogModelImpl._originalCompanyId = kaleoLogModelImpl._companyId; - - kaleoLogModelImpl._setOriginalCompanyId = false; - - kaleoLogModelImpl._originalKaleoDefinitionId = kaleoLogModelImpl._kaleoDefinitionId; - - kaleoLogModelImpl._setOriginalKaleoDefinitionId = false; - - kaleoLogModelImpl._originalKaleoInstanceId = kaleoLogModelImpl._kaleoInstanceId; - - kaleoLogModelImpl._setOriginalKaleoInstanceId = false; - - kaleoLogModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - KaleoLogCacheModel kaleoLogCacheModel = new KaleoLogCacheModel(); - - kaleoLogCacheModel.kaleoLogId = getKaleoLogId(); - - kaleoLogCacheModel.groupId = getGroupId(); - - kaleoLogCacheModel.companyId = getCompanyId(); - - kaleoLogCacheModel.userId = getUserId(); - - kaleoLogCacheModel.userName = getUserName(); - - String userName = kaleoLogCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - kaleoLogCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - kaleoLogCacheModel.createDate = createDate.getTime(); - } - else { - kaleoLogCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - kaleoLogCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - kaleoLogCacheModel.modifiedDate = Long.MIN_VALUE; - } - - kaleoLogCacheModel.kaleoClassName = getKaleoClassName(); - - String kaleoClassName = kaleoLogCacheModel.kaleoClassName; - - if ((kaleoClassName != null) && (kaleoClassName.length() == 0)) { - kaleoLogCacheModel.kaleoClassName = null; - } - - kaleoLogCacheModel.kaleoClassPK = getKaleoClassPK(); - - kaleoLogCacheModel.kaleoDefinitionId = getKaleoDefinitionId(); - - kaleoLogCacheModel.kaleoInstanceId = getKaleoInstanceId(); - - kaleoLogCacheModel.kaleoInstanceTokenId = getKaleoInstanceTokenId(); - - kaleoLogCacheModel.kaleoTaskInstanceTokenId = getKaleoTaskInstanceTokenId(); - - kaleoLogCacheModel.kaleoNodeName = getKaleoNodeName(); - - String kaleoNodeName = kaleoLogCacheModel.kaleoNodeName; - - if ((kaleoNodeName != null) && (kaleoNodeName.length() == 0)) { - kaleoLogCacheModel.kaleoNodeName = null; - } - - kaleoLogCacheModel.terminalKaleoNode = getTerminalKaleoNode(); - - kaleoLogCacheModel.kaleoActionId = getKaleoActionId(); - - kaleoLogCacheModel.kaleoActionName = getKaleoActionName(); - - String kaleoActionName = kaleoLogCacheModel.kaleoActionName; - - if ((kaleoActionName != null) && (kaleoActionName.length() == 0)) { - kaleoLogCacheModel.kaleoActionName = null; - } - - kaleoLogCacheModel.kaleoActionDescription = getKaleoActionDescription(); - - String kaleoActionDescription = kaleoLogCacheModel.kaleoActionDescription; - - if ((kaleoActionDescription != null) && - (kaleoActionDescription.length() == 0)) { - kaleoLogCacheModel.kaleoActionDescription = null; - } - - kaleoLogCacheModel.previousKaleoNodeId = getPreviousKaleoNodeId(); - - kaleoLogCacheModel.previousKaleoNodeName = getPreviousKaleoNodeName(); - - String previousKaleoNodeName = kaleoLogCacheModel.previousKaleoNodeName; - - if ((previousKaleoNodeName != null) && - (previousKaleoNodeName.length() == 0)) { - kaleoLogCacheModel.previousKaleoNodeName = null; - } - - kaleoLogCacheModel.previousAssigneeClassName = getPreviousAssigneeClassName(); - - String previousAssigneeClassName = kaleoLogCacheModel.previousAssigneeClassName; - - if ((previousAssigneeClassName != null) && - (previousAssigneeClassName.length() == 0)) { - kaleoLogCacheModel.previousAssigneeClassName = null; - } - - kaleoLogCacheModel.previousAssigneeClassPK = getPreviousAssigneeClassPK(); - - kaleoLogCacheModel.currentAssigneeClassName = getCurrentAssigneeClassName(); - - String currentAssigneeClassName = kaleoLogCacheModel.currentAssigneeClassName; - - if ((currentAssigneeClassName != null) && - (currentAssigneeClassName.length() == 0)) { - kaleoLogCacheModel.currentAssigneeClassName = null; - } - - kaleoLogCacheModel.currentAssigneeClassPK = getCurrentAssigneeClassPK(); - - kaleoLogCacheModel.type = getType(); - - String type = kaleoLogCacheModel.type; - - if ((type != null) && (type.length() == 0)) { - kaleoLogCacheModel.type = null; - } - - kaleoLogCacheModel.comment = getComment(); - - String comment = kaleoLogCacheModel.comment; - - if ((comment != null) && (comment.length() == 0)) { - kaleoLogCacheModel.comment = null; - } - - Date startDate = getStartDate(); - - if (startDate != null) { - kaleoLogCacheModel.startDate = startDate.getTime(); - } - else { - kaleoLogCacheModel.startDate = Long.MIN_VALUE; - } - - Date endDate = getEndDate(); - - if (endDate != null) { - kaleoLogCacheModel.endDate = endDate.getTime(); - } - else { - kaleoLogCacheModel.endDate = Long.MIN_VALUE; - } - - kaleoLogCacheModel.duration = getDuration(); - - kaleoLogCacheModel.workflowContext = getWorkflowContext(); - - String workflowContext = kaleoLogCacheModel.workflowContext; - - if ((workflowContext != null) && (workflowContext.length() == 0)) { - kaleoLogCacheModel.workflowContext = null; - } - - return kaleoLogCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(61); - - sb.append("{kaleoLogId="); - sb.append(getKaleoLogId()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", kaleoClassName="); - sb.append(getKaleoClassName()); - sb.append(", kaleoClassPK="); - sb.append(getKaleoClassPK()); - sb.append(", kaleoDefinitionId="); - sb.append(getKaleoDefinitionId()); - sb.append(", kaleoInstanceId="); - sb.append(getKaleoInstanceId()); - sb.append(", kaleoInstanceTokenId="); - sb.append(getKaleoInstanceTokenId()); - sb.append(", kaleoTaskInstanceTokenId="); - sb.append(getKaleoTaskInstanceTokenId()); - sb.append(", kaleoNodeName="); - sb.append(getKaleoNodeName()); - sb.append(", terminalKaleoNode="); - sb.append(getTerminalKaleoNode()); - sb.append(", kaleoActionId="); - sb.append(getKaleoActionId()); - sb.append(", kaleoActionName="); - sb.append(getKaleoActionName()); - sb.append(", kaleoActionDescription="); - sb.append(getKaleoActionDescription()); - sb.append(", previousKaleoNodeId="); - sb.append(getPreviousKaleoNodeId()); - sb.append(", previousKaleoNodeName="); - sb.append(getPreviousKaleoNodeName()); - sb.append(", previousAssigneeClassName="); - sb.append(getPreviousAssigneeClassName()); - sb.append(", previousAssigneeClassPK="); - sb.append(getPreviousAssigneeClassPK()); - sb.append(", currentAssigneeClassName="); - sb.append(getCurrentAssigneeClassName()); - sb.append(", currentAssigneeClassPK="); - sb.append(getCurrentAssigneeClassPK()); - sb.append(", type="); - sb.append(getType()); - sb.append(", comment="); - sb.append(getComment()); - sb.append(", startDate="); - sb.append(getStartDate()); - sb.append(", endDate="); - sb.append(getEndDate()); - sb.append(", duration="); - sb.append(getDuration()); - sb.append(", workflowContext="); - sb.append(getWorkflowContext()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(94); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.KaleoLog"); - sb.append(""); - - sb.append( - "kaleoLogId"); - sb.append( - "groupId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "kaleoClassName"); - sb.append( - "kaleoClassPK"); - sb.append( - "kaleoDefinitionId"); - sb.append( - "kaleoInstanceId"); - sb.append( - "kaleoInstanceTokenId"); - sb.append( - "kaleoTaskInstanceTokenId"); - sb.append( - "kaleoNodeName"); - sb.append( - "terminalKaleoNode"); - sb.append( - "kaleoActionId"); - sb.append( - "kaleoActionName"); - sb.append( - "kaleoActionDescription"); - sb.append( - "previousKaleoNodeId"); - sb.append( - "previousKaleoNodeName"); - sb.append( - "previousAssigneeClassName"); - sb.append( - "previousAssigneeClassPK"); - sb.append( - "currentAssigneeClassName"); - sb.append( - "currentAssigneeClassPK"); - sb.append( - "type"); - sb.append( - "comment"); - sb.append( - "startDate"); - sb.append( - "endDate"); - sb.append( - "duration"); - sb.append( - "workflowContext"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = KaleoLog.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - KaleoLog.class - }; - private long _kaleoLogId; - private long _groupId; - private long _companyId; - private long _originalCompanyId; - private boolean _setOriginalCompanyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private String _kaleoClassName; - private long _kaleoClassPK; - private long _kaleoDefinitionId; - private long _originalKaleoDefinitionId; - private boolean _setOriginalKaleoDefinitionId; - private long _kaleoInstanceId; - private long _originalKaleoInstanceId; - private boolean _setOriginalKaleoInstanceId; - private long _kaleoInstanceTokenId; - private long _kaleoTaskInstanceTokenId; - private String _kaleoNodeName; - private boolean _terminalKaleoNode; - private long _kaleoActionId; - private String _kaleoActionName; - private String _kaleoActionDescription; - private long _previousKaleoNodeId; - private String _previousKaleoNodeName; - private String _previousAssigneeClassName; - private long _previousAssigneeClassPK; - private String _currentAssigneeClassName; - private long _currentAssigneeClassPK; - private String _type; - private String _comment; - private Date _startDate; - private Date _endDate; - private long _duration; - private String _workflowContext; - private long _columnBitmask; - private KaleoLog _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoNodeBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoNodeBaseImpl.java deleted file mode 100644 index 26c4e3a9..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoNodeBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.KaleoNode; -import it.tref.liferay.portos.importazione.service.KaleoNodeLocalServiceUtil; - -/** - * The extended model base implementation for the KaleoNode service. Represents a row in the "kaleonode" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link KaleoNodeImpl}. - *

- * - * @author 3FC - * @see KaleoNodeImpl - * @see it.tref.liferay.portos.importazione.model.KaleoNode - * @generated - */ -public abstract class KaleoNodeBaseImpl extends KaleoNodeModelImpl - implements KaleoNode { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a kaleo node model instance should use the {@link KaleoNode} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - KaleoNodeLocalServiceUtil.addKaleoNode(this); - } - else { - KaleoNodeLocalServiceUtil.updateKaleoNode(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoNodeCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoNodeCacheModel.java deleted file mode 100644 index cc2a0935..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoNodeCacheModel.java +++ /dev/null @@ -1,227 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.importazione.model.KaleoNode; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing KaleoNode in entity cache. - * - * @author 3FC - * @see KaleoNode - * @generated - */ -public class KaleoNodeCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(29); - - sb.append("{kaleoNodeId="); - sb.append(kaleoNodeId); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", kaleoDefinitionId="); - sb.append(kaleoDefinitionId); - sb.append(", name="); - sb.append(name); - sb.append(", metadata="); - sb.append(metadata); - sb.append(", description="); - sb.append(description); - sb.append(", type="); - sb.append(type); - sb.append(", initial="); - sb.append(initial); - sb.append(", terminal="); - sb.append(terminal); - sb.append("}"); - - return sb.toString(); - } - - @Override - public KaleoNode toEntityModel() { - KaleoNodeImpl kaleoNodeImpl = new KaleoNodeImpl(); - - kaleoNodeImpl.setKaleoNodeId(kaleoNodeId); - kaleoNodeImpl.setGroupId(groupId); - kaleoNodeImpl.setCompanyId(companyId); - kaleoNodeImpl.setUserId(userId); - - if (userName == null) { - kaleoNodeImpl.setUserName(StringPool.BLANK); - } - else { - kaleoNodeImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - kaleoNodeImpl.setCreateDate(null); - } - else { - kaleoNodeImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - kaleoNodeImpl.setModifiedDate(null); - } - else { - kaleoNodeImpl.setModifiedDate(new Date(modifiedDate)); - } - - kaleoNodeImpl.setKaleoDefinitionId(kaleoDefinitionId); - - if (name == null) { - kaleoNodeImpl.setName(StringPool.BLANK); - } - else { - kaleoNodeImpl.setName(name); - } - - if (metadata == null) { - kaleoNodeImpl.setMetadata(StringPool.BLANK); - } - else { - kaleoNodeImpl.setMetadata(metadata); - } - - if (description == null) { - kaleoNodeImpl.setDescription(StringPool.BLANK); - } - else { - kaleoNodeImpl.setDescription(description); - } - - if (type == null) { - kaleoNodeImpl.setType(StringPool.BLANK); - } - else { - kaleoNodeImpl.setType(type); - } - - kaleoNodeImpl.setInitial(initial); - kaleoNodeImpl.setTerminal(terminal); - - kaleoNodeImpl.resetOriginalValues(); - - return kaleoNodeImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - kaleoNodeId = objectInput.readLong(); - groupId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - kaleoDefinitionId = objectInput.readLong(); - name = objectInput.readUTF(); - metadata = objectInput.readUTF(); - description = objectInput.readUTF(); - type = objectInput.readUTF(); - initial = objectInput.readBoolean(); - terminal = objectInput.readBoolean(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - objectOutput.writeLong(kaleoNodeId); - objectOutput.writeLong(groupId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeLong(kaleoDefinitionId); - - if (name == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(name); - } - - if (metadata == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(metadata); - } - - if (description == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(description); - } - - if (type == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(type); - } - - objectOutput.writeBoolean(initial); - objectOutput.writeBoolean(terminal); - } - - public long kaleoNodeId; - public long groupId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public long kaleoDefinitionId; - public String name; - public String metadata; - public String description; - public String type; - public boolean initial; - public boolean terminal; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoNodeImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoNodeImpl.java deleted file mode 100644 index 2ac24b2c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoNodeImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -/** - * The extended model implementation for the KaleoNode service. Represents a row in the "kaleonode" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.model.KaleoNode} interface. - *

- * - * @author 3FC - */ -public class KaleoNodeImpl extends KaleoNodeBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a kaleo node model instance should use the {@link it.tref.liferay.portos.importazione.model.KaleoNode} interface instead. - */ - public KaleoNodeImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoNodeModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoNodeModelImpl.java deleted file mode 100644 index 2623fc13..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoNodeModelImpl.java +++ /dev/null @@ -1,728 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.importazione.model.KaleoNode; -import it.tref.liferay.portos.importazione.model.KaleoNodeModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the KaleoNode service. Represents a row in the "kaleonode" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.importazione.model.KaleoNodeModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link KaleoNodeImpl}. - *

- * - * @author 3FC - * @see KaleoNodeImpl - * @see it.tref.liferay.portos.importazione.model.KaleoNode - * @see it.tref.liferay.portos.importazione.model.KaleoNodeModel - * @generated - */ -public class KaleoNodeModelImpl extends BaseModelImpl - implements KaleoNodeModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a kaleo node model instance should use the {@link it.tref.liferay.portos.importazione.model.KaleoNode} interface instead. - */ - public static final String TABLE_NAME = "kaleonode"; - public static final Object[][] TABLE_COLUMNS = { - { "kaleoNodeId", Types.BIGINT }, - { "groupId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "kaleoDefinitionId", Types.BIGINT }, - { "name", Types.VARCHAR }, - { "metadata", Types.VARCHAR }, - { "description", Types.VARCHAR }, - { "type_", Types.VARCHAR }, - { "initial_", Types.BOOLEAN }, - { "terminal", Types.BOOLEAN } - }; - public static final String TABLE_SQL_CREATE = "create table kaleonode (kaleoNodeId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(200) null,createDate DATE null,modifiedDate DATE null,kaleoDefinitionId LONG,name VARCHAR(200) null,metadata STRING null,description STRING null,type_ VARCHAR(20) null,initial_ BOOLEAN,terminal BOOLEAN)"; - public static final String TABLE_SQL_DROP = "drop table kaleonode"; - public static final String ORDER_BY_JPQL = " ORDER BY kaleoNode.kaleoNodeId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY kaleonode.kaleoNodeId ASC"; - public static final String DATA_SOURCE = "liferayDataSource"; - public static final String SESSION_FACTORY = "liferaySessionFactory"; - public static final String TX_MANAGER = "liferayTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.importazione.model.KaleoNode"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.importazione.model.KaleoNode"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = false; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.importazione.model.KaleoNode")); - - public KaleoNodeModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _kaleoNodeId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setKaleoNodeId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _kaleoNodeId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return KaleoNode.class; - } - - @Override - public String getModelClassName() { - return KaleoNode.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("kaleoNodeId", getKaleoNodeId()); - attributes.put("groupId", getGroupId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("kaleoDefinitionId", getKaleoDefinitionId()); - attributes.put("name", getName()); - attributes.put("metadata", getMetadata()); - attributes.put("description", getDescription()); - attributes.put("type", getType()); - attributes.put("initial", getInitial()); - attributes.put("terminal", getTerminal()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long kaleoNodeId = (Long)attributes.get("kaleoNodeId"); - - if (kaleoNodeId != null) { - setKaleoNodeId(kaleoNodeId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long kaleoDefinitionId = (Long)attributes.get("kaleoDefinitionId"); - - if (kaleoDefinitionId != null) { - setKaleoDefinitionId(kaleoDefinitionId); - } - - String name = (String)attributes.get("name"); - - if (name != null) { - setName(name); - } - - String metadata = (String)attributes.get("metadata"); - - if (metadata != null) { - setMetadata(metadata); - } - - String description = (String)attributes.get("description"); - - if (description != null) { - setDescription(description); - } - - String type = (String)attributes.get("type"); - - if (type != null) { - setType(type); - } - - Boolean initial = (Boolean)attributes.get("initial"); - - if (initial != null) { - setInitial(initial); - } - - Boolean terminal = (Boolean)attributes.get("terminal"); - - if (terminal != null) { - setTerminal(terminal); - } - } - - @Override - public long getKaleoNodeId() { - return _kaleoNodeId; - } - - @Override - public void setKaleoNodeId(long kaleoNodeId) { - _kaleoNodeId = kaleoNodeId; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public long getKaleoDefinitionId() { - return _kaleoDefinitionId; - } - - @Override - public void setKaleoDefinitionId(long kaleoDefinitionId) { - _kaleoDefinitionId = kaleoDefinitionId; - } - - @Override - public String getName() { - if (_name == null) { - return StringPool.BLANK; - } - else { - return _name; - } - } - - @Override - public void setName(String name) { - _name = name; - } - - @Override - public String getMetadata() { - if (_metadata == null) { - return StringPool.BLANK; - } - else { - return _metadata; - } - } - - @Override - public void setMetadata(String metadata) { - _metadata = metadata; - } - - @Override - public String getDescription() { - if (_description == null) { - return StringPool.BLANK; - } - else { - return _description; - } - } - - @Override - public void setDescription(String description) { - _description = description; - } - - @Override - public String getType() { - if (_type == null) { - return StringPool.BLANK; - } - else { - return _type; - } - } - - @Override - public void setType(String type) { - _type = type; - } - - @Override - public boolean getInitial() { - return _initial; - } - - @Override - public boolean isInitial() { - return _initial; - } - - @Override - public void setInitial(boolean initial) { - _initial = initial; - } - - @Override - public boolean getTerminal() { - return _terminal; - } - - @Override - public boolean isTerminal() { - return _terminal; - } - - @Override - public void setTerminal(boolean terminal) { - _terminal = terminal; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - KaleoNode.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public KaleoNode toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (KaleoNode)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - KaleoNodeImpl kaleoNodeImpl = new KaleoNodeImpl(); - - kaleoNodeImpl.setKaleoNodeId(getKaleoNodeId()); - kaleoNodeImpl.setGroupId(getGroupId()); - kaleoNodeImpl.setCompanyId(getCompanyId()); - kaleoNodeImpl.setUserId(getUserId()); - kaleoNodeImpl.setUserName(getUserName()); - kaleoNodeImpl.setCreateDate(getCreateDate()); - kaleoNodeImpl.setModifiedDate(getModifiedDate()); - kaleoNodeImpl.setKaleoDefinitionId(getKaleoDefinitionId()); - kaleoNodeImpl.setName(getName()); - kaleoNodeImpl.setMetadata(getMetadata()); - kaleoNodeImpl.setDescription(getDescription()); - kaleoNodeImpl.setType(getType()); - kaleoNodeImpl.setInitial(getInitial()); - kaleoNodeImpl.setTerminal(getTerminal()); - - kaleoNodeImpl.resetOriginalValues(); - - return kaleoNodeImpl; - } - - @Override - public int compareTo(KaleoNode kaleoNode) { - int value = 0; - - if (getKaleoNodeId() < kaleoNode.getKaleoNodeId()) { - value = -1; - } - else if (getKaleoNodeId() > kaleoNode.getKaleoNodeId()) { - value = 1; - } - else { - value = 0; - } - - if (value != 0) { - return value; - } - - return 0; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof KaleoNode)) { - return false; - } - - KaleoNode kaleoNode = (KaleoNode)obj; - - long primaryKey = kaleoNode.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - } - - @Override - public CacheModel toCacheModel() { - KaleoNodeCacheModel kaleoNodeCacheModel = new KaleoNodeCacheModel(); - - kaleoNodeCacheModel.kaleoNodeId = getKaleoNodeId(); - - kaleoNodeCacheModel.groupId = getGroupId(); - - kaleoNodeCacheModel.companyId = getCompanyId(); - - kaleoNodeCacheModel.userId = getUserId(); - - kaleoNodeCacheModel.userName = getUserName(); - - String userName = kaleoNodeCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - kaleoNodeCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - kaleoNodeCacheModel.createDate = createDate.getTime(); - } - else { - kaleoNodeCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - kaleoNodeCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - kaleoNodeCacheModel.modifiedDate = Long.MIN_VALUE; - } - - kaleoNodeCacheModel.kaleoDefinitionId = getKaleoDefinitionId(); - - kaleoNodeCacheModel.name = getName(); - - String name = kaleoNodeCacheModel.name; - - if ((name != null) && (name.length() == 0)) { - kaleoNodeCacheModel.name = null; - } - - kaleoNodeCacheModel.metadata = getMetadata(); - - String metadata = kaleoNodeCacheModel.metadata; - - if ((metadata != null) && (metadata.length() == 0)) { - kaleoNodeCacheModel.metadata = null; - } - - kaleoNodeCacheModel.description = getDescription(); - - String description = kaleoNodeCacheModel.description; - - if ((description != null) && (description.length() == 0)) { - kaleoNodeCacheModel.description = null; - } - - kaleoNodeCacheModel.type = getType(); - - String type = kaleoNodeCacheModel.type; - - if ((type != null) && (type.length() == 0)) { - kaleoNodeCacheModel.type = null; - } - - kaleoNodeCacheModel.initial = getInitial(); - - kaleoNodeCacheModel.terminal = getTerminal(); - - return kaleoNodeCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(29); - - sb.append("{kaleoNodeId="); - sb.append(getKaleoNodeId()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", kaleoDefinitionId="); - sb.append(getKaleoDefinitionId()); - sb.append(", name="); - sb.append(getName()); - sb.append(", metadata="); - sb.append(getMetadata()); - sb.append(", description="); - sb.append(getDescription()); - sb.append(", type="); - sb.append(getType()); - sb.append(", initial="); - sb.append(getInitial()); - sb.append(", terminal="); - sb.append(getTerminal()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(46); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.KaleoNode"); - sb.append(""); - - sb.append( - "kaleoNodeId"); - sb.append( - "groupId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "kaleoDefinitionId"); - sb.append( - "name"); - sb.append( - "metadata"); - sb.append( - "description"); - sb.append( - "type"); - sb.append( - "initial"); - sb.append( - "terminal"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = KaleoNode.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - KaleoNode.class - }; - private long _kaleoNodeId; - private long _groupId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _kaleoDefinitionId; - private String _name; - private String _metadata; - private String _description; - private String _type; - private boolean _initial; - private boolean _terminal; - private KaleoNode _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoTaskAssignmentInstanceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoTaskAssignmentInstanceBaseImpl.java deleted file mode 100644 index 6460a455..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoTaskAssignmentInstanceBaseImpl.java +++ /dev/null @@ -1,51 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance; -import it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalServiceUtil; - -/** - * The extended model base implementation for the KaleoTaskAssignmentInstance service. Represents a row in the "kaleotaskassignmentinstance" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link KaleoTaskAssignmentInstanceImpl}. - *

- * - * @author 3FC - * @see KaleoTaskAssignmentInstanceImpl - * @see it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance - * @generated - */ -public abstract class KaleoTaskAssignmentInstanceBaseImpl - extends KaleoTaskAssignmentInstanceModelImpl - implements KaleoTaskAssignmentInstance { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a kaleo task assignment instance model instance should use the {@link KaleoTaskAssignmentInstance} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - KaleoTaskAssignmentInstanceLocalServiceUtil.addKaleoTaskAssignmentInstance(this); - } - else { - KaleoTaskAssignmentInstanceLocalServiceUtil.updateKaleoTaskAssignmentInstance(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoTaskAssignmentInstanceCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoTaskAssignmentInstanceCacheModel.java deleted file mode 100644 index 0be26abc..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoTaskAssignmentInstanceCacheModel.java +++ /dev/null @@ -1,229 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing KaleoTaskAssignmentInstance in entity cache. - * - * @author 3FC - * @see KaleoTaskAssignmentInstance - * @generated - */ -public class KaleoTaskAssignmentInstanceCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(35); - - sb.append("{kaleoTaskAssignmentInstanceId="); - sb.append(kaleoTaskAssignmentInstanceId); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", kaleoDefinitionId="); - sb.append(kaleoDefinitionId); - sb.append(", kaleoInstanceId="); - sb.append(kaleoInstanceId); - sb.append(", kaleoInstanceTokenId="); - sb.append(kaleoInstanceTokenId); - sb.append(", kaleoTaskInstanceTokenId="); - sb.append(kaleoTaskInstanceTokenId); - sb.append(", kaleoTaskId="); - sb.append(kaleoTaskId); - sb.append(", kaleoTaskName="); - sb.append(kaleoTaskName); - sb.append(", assigneeClassName="); - sb.append(assigneeClassName); - sb.append(", assigneeClassPK="); - sb.append(assigneeClassPK); - sb.append(", completed="); - sb.append(completed); - sb.append(", completionDate="); - sb.append(completionDate); - sb.append("}"); - - return sb.toString(); - } - - @Override - public KaleoTaskAssignmentInstance toEntityModel() { - KaleoTaskAssignmentInstanceImpl kaleoTaskAssignmentInstanceImpl = new KaleoTaskAssignmentInstanceImpl(); - - kaleoTaskAssignmentInstanceImpl.setKaleoTaskAssignmentInstanceId(kaleoTaskAssignmentInstanceId); - kaleoTaskAssignmentInstanceImpl.setGroupId(groupId); - kaleoTaskAssignmentInstanceImpl.setCompanyId(companyId); - kaleoTaskAssignmentInstanceImpl.setUserId(userId); - - if (userName == null) { - kaleoTaskAssignmentInstanceImpl.setUserName(StringPool.BLANK); - } - else { - kaleoTaskAssignmentInstanceImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - kaleoTaskAssignmentInstanceImpl.setCreateDate(null); - } - else { - kaleoTaskAssignmentInstanceImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - kaleoTaskAssignmentInstanceImpl.setModifiedDate(null); - } - else { - kaleoTaskAssignmentInstanceImpl.setModifiedDate(new Date( - modifiedDate)); - } - - kaleoTaskAssignmentInstanceImpl.setKaleoDefinitionId(kaleoDefinitionId); - kaleoTaskAssignmentInstanceImpl.setKaleoInstanceId(kaleoInstanceId); - kaleoTaskAssignmentInstanceImpl.setKaleoInstanceTokenId(kaleoInstanceTokenId); - kaleoTaskAssignmentInstanceImpl.setKaleoTaskInstanceTokenId(kaleoTaskInstanceTokenId); - kaleoTaskAssignmentInstanceImpl.setKaleoTaskId(kaleoTaskId); - - if (kaleoTaskName == null) { - kaleoTaskAssignmentInstanceImpl.setKaleoTaskName(StringPool.BLANK); - } - else { - kaleoTaskAssignmentInstanceImpl.setKaleoTaskName(kaleoTaskName); - } - - if (assigneeClassName == null) { - kaleoTaskAssignmentInstanceImpl.setAssigneeClassName(StringPool.BLANK); - } - else { - kaleoTaskAssignmentInstanceImpl.setAssigneeClassName(assigneeClassName); - } - - kaleoTaskAssignmentInstanceImpl.setAssigneeClassPK(assigneeClassPK); - kaleoTaskAssignmentInstanceImpl.setCompleted(completed); - - if (completionDate == Long.MIN_VALUE) { - kaleoTaskAssignmentInstanceImpl.setCompletionDate(null); - } - else { - kaleoTaskAssignmentInstanceImpl.setCompletionDate(new Date( - completionDate)); - } - - kaleoTaskAssignmentInstanceImpl.resetOriginalValues(); - - return kaleoTaskAssignmentInstanceImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - kaleoTaskAssignmentInstanceId = objectInput.readLong(); - groupId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - kaleoDefinitionId = objectInput.readLong(); - kaleoInstanceId = objectInput.readLong(); - kaleoInstanceTokenId = objectInput.readLong(); - kaleoTaskInstanceTokenId = objectInput.readLong(); - kaleoTaskId = objectInput.readLong(); - kaleoTaskName = objectInput.readUTF(); - assigneeClassName = objectInput.readUTF(); - assigneeClassPK = objectInput.readLong(); - completed = objectInput.readBoolean(); - completionDate = objectInput.readLong(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - objectOutput.writeLong(kaleoTaskAssignmentInstanceId); - objectOutput.writeLong(groupId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeLong(kaleoDefinitionId); - objectOutput.writeLong(kaleoInstanceId); - objectOutput.writeLong(kaleoInstanceTokenId); - objectOutput.writeLong(kaleoTaskInstanceTokenId); - objectOutput.writeLong(kaleoTaskId); - - if (kaleoTaskName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(kaleoTaskName); - } - - if (assigneeClassName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(assigneeClassName); - } - - objectOutput.writeLong(assigneeClassPK); - objectOutput.writeBoolean(completed); - objectOutput.writeLong(completionDate); - } - - public long kaleoTaskAssignmentInstanceId; - public long groupId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public long kaleoDefinitionId; - public long kaleoInstanceId; - public long kaleoInstanceTokenId; - public long kaleoTaskInstanceTokenId; - public long kaleoTaskId; - public String kaleoTaskName; - public String assigneeClassName; - public long assigneeClassPK; - public boolean completed; - public long completionDate; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoTaskAssignmentInstanceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoTaskAssignmentInstanceImpl.java deleted file mode 100644 index 2f277cec..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoTaskAssignmentInstanceImpl.java +++ /dev/null @@ -1,35 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -/** - * The extended model implementation for the KaleoTaskAssignmentInstance service. Represents a row in the "kaleotaskassignmentinstance" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance} interface. - *

- * - * @author 3FC - */ -public class KaleoTaskAssignmentInstanceImpl - extends KaleoTaskAssignmentInstanceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a kaleo task assignment instance model instance should use the {@link it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance} interface instead. - */ - public KaleoTaskAssignmentInstanceImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoTaskAssignmentInstanceModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoTaskAssignmentInstanceModelImpl.java deleted file mode 100644 index 1c626afe..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoTaskAssignmentInstanceModelImpl.java +++ /dev/null @@ -1,870 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance; -import it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstanceModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the KaleoTaskAssignmentInstance service. Represents a row in the "kaleotaskassignmentinstance" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstanceModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link KaleoTaskAssignmentInstanceImpl}. - *

- * - * @author 3FC - * @see KaleoTaskAssignmentInstanceImpl - * @see it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance - * @see it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstanceModel - * @generated - */ -public class KaleoTaskAssignmentInstanceModelImpl extends BaseModelImpl - implements KaleoTaskAssignmentInstanceModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a kaleo task assignment instance model instance should use the {@link it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance} interface instead. - */ - public static final String TABLE_NAME = "kaleotaskassignmentinstance"; - public static final Object[][] TABLE_COLUMNS = { - { "kaleoTaskAssignmentInstanceId", Types.BIGINT }, - { "groupId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "kaleoDefinitionId", Types.BIGINT }, - { "kaleoInstanceId", Types.BIGINT }, - { "kaleoInstanceTokenId", Types.BIGINT }, - { "kaleoTaskInstanceTokenId", Types.BIGINT }, - { "kaleoTaskId", Types.BIGINT }, - { "kaleoTaskName", Types.VARCHAR }, - { "assigneeClassName", Types.VARCHAR }, - { "assigneeClassPK", Types.BIGINT }, - { "completed", Types.BOOLEAN }, - { "completionDate", Types.TIMESTAMP } - }; - public static final String TABLE_SQL_CREATE = "create table kaleotaskassignmentinstance (kaleoTaskAssignmentInstanceId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(200) null,createDate DATE null,modifiedDate DATE null,kaleoDefinitionId LONG,kaleoInstanceId LONG,kaleoInstanceTokenId LONG,kaleoTaskInstanceTokenId LONG,kaleoTaskId LONG,kaleoTaskName VARCHAR(200) null,assigneeClassName VARCHAR(200) null,assigneeClassPK LONG,completed BOOLEAN,completionDate DATE null)"; - public static final String TABLE_SQL_DROP = "drop table kaleotaskassignmentinstance"; - public static final String ORDER_BY_JPQL = " ORDER BY kaleoTaskAssignmentInstance.kaleoTaskAssignmentInstanceId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY kaleotaskassignmentinstance.kaleoTaskAssignmentInstanceId ASC"; - public static final String DATA_SOURCE = "liferayDataSource"; - public static final String SESSION_FACTORY = "liferaySessionFactory"; - public static final String TX_MANAGER = "liferayTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance"), - true); - public static long COMPANYID_COLUMN_BITMASK = 1L; - public static long KALEODEFINITIONID_COLUMN_BITMASK = 2L; - public static long KALEOINSTANCEID_COLUMN_BITMASK = 4L; - public static long KALEOTASKASSIGNMENTINSTANCEID_COLUMN_BITMASK = 8L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance")); - - public KaleoTaskAssignmentInstanceModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _kaleoTaskAssignmentInstanceId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setKaleoTaskAssignmentInstanceId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _kaleoTaskAssignmentInstanceId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return KaleoTaskAssignmentInstance.class; - } - - @Override - public String getModelClassName() { - return KaleoTaskAssignmentInstance.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("kaleoTaskAssignmentInstanceId", - getKaleoTaskAssignmentInstanceId()); - attributes.put("groupId", getGroupId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("kaleoDefinitionId", getKaleoDefinitionId()); - attributes.put("kaleoInstanceId", getKaleoInstanceId()); - attributes.put("kaleoInstanceTokenId", getKaleoInstanceTokenId()); - attributes.put("kaleoTaskInstanceTokenId", getKaleoTaskInstanceTokenId()); - attributes.put("kaleoTaskId", getKaleoTaskId()); - attributes.put("kaleoTaskName", getKaleoTaskName()); - attributes.put("assigneeClassName", getAssigneeClassName()); - attributes.put("assigneeClassPK", getAssigneeClassPK()); - attributes.put("completed", getCompleted()); - attributes.put("completionDate", getCompletionDate()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long kaleoTaskAssignmentInstanceId = (Long)attributes.get( - "kaleoTaskAssignmentInstanceId"); - - if (kaleoTaskAssignmentInstanceId != null) { - setKaleoTaskAssignmentInstanceId(kaleoTaskAssignmentInstanceId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long kaleoDefinitionId = (Long)attributes.get("kaleoDefinitionId"); - - if (kaleoDefinitionId != null) { - setKaleoDefinitionId(kaleoDefinitionId); - } - - Long kaleoInstanceId = (Long)attributes.get("kaleoInstanceId"); - - if (kaleoInstanceId != null) { - setKaleoInstanceId(kaleoInstanceId); - } - - Long kaleoInstanceTokenId = (Long)attributes.get("kaleoInstanceTokenId"); - - if (kaleoInstanceTokenId != null) { - setKaleoInstanceTokenId(kaleoInstanceTokenId); - } - - Long kaleoTaskInstanceTokenId = (Long)attributes.get( - "kaleoTaskInstanceTokenId"); - - if (kaleoTaskInstanceTokenId != null) { - setKaleoTaskInstanceTokenId(kaleoTaskInstanceTokenId); - } - - Long kaleoTaskId = (Long)attributes.get("kaleoTaskId"); - - if (kaleoTaskId != null) { - setKaleoTaskId(kaleoTaskId); - } - - String kaleoTaskName = (String)attributes.get("kaleoTaskName"); - - if (kaleoTaskName != null) { - setKaleoTaskName(kaleoTaskName); - } - - String assigneeClassName = (String)attributes.get("assigneeClassName"); - - if (assigneeClassName != null) { - setAssigneeClassName(assigneeClassName); - } - - Long assigneeClassPK = (Long)attributes.get("assigneeClassPK"); - - if (assigneeClassPK != null) { - setAssigneeClassPK(assigneeClassPK); - } - - Boolean completed = (Boolean)attributes.get("completed"); - - if (completed != null) { - setCompleted(completed); - } - - Date completionDate = (Date)attributes.get("completionDate"); - - if (completionDate != null) { - setCompletionDate(completionDate); - } - } - - @Override - public long getKaleoTaskAssignmentInstanceId() { - return _kaleoTaskAssignmentInstanceId; - } - - @Override - public void setKaleoTaskAssignmentInstanceId( - long kaleoTaskAssignmentInstanceId) { - _columnBitmask = -1L; - - _kaleoTaskAssignmentInstanceId = kaleoTaskAssignmentInstanceId; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _columnBitmask |= COMPANYID_COLUMN_BITMASK; - - if (!_setOriginalCompanyId) { - _setOriginalCompanyId = true; - - _originalCompanyId = _companyId; - } - - _companyId = companyId; - } - - public long getOriginalCompanyId() { - return _originalCompanyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public long getKaleoDefinitionId() { - return _kaleoDefinitionId; - } - - @Override - public void setKaleoDefinitionId(long kaleoDefinitionId) { - _columnBitmask |= KALEODEFINITIONID_COLUMN_BITMASK; - - if (!_setOriginalKaleoDefinitionId) { - _setOriginalKaleoDefinitionId = true; - - _originalKaleoDefinitionId = _kaleoDefinitionId; - } - - _kaleoDefinitionId = kaleoDefinitionId; - } - - public long getOriginalKaleoDefinitionId() { - return _originalKaleoDefinitionId; - } - - @Override - public long getKaleoInstanceId() { - return _kaleoInstanceId; - } - - @Override - public void setKaleoInstanceId(long kaleoInstanceId) { - _columnBitmask |= KALEOINSTANCEID_COLUMN_BITMASK; - - if (!_setOriginalKaleoInstanceId) { - _setOriginalKaleoInstanceId = true; - - _originalKaleoInstanceId = _kaleoInstanceId; - } - - _kaleoInstanceId = kaleoInstanceId; - } - - public long getOriginalKaleoInstanceId() { - return _originalKaleoInstanceId; - } - - @Override - public long getKaleoInstanceTokenId() { - return _kaleoInstanceTokenId; - } - - @Override - public void setKaleoInstanceTokenId(long kaleoInstanceTokenId) { - _kaleoInstanceTokenId = kaleoInstanceTokenId; - } - - @Override - public long getKaleoTaskInstanceTokenId() { - return _kaleoTaskInstanceTokenId; - } - - @Override - public void setKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId) { - _kaleoTaskInstanceTokenId = kaleoTaskInstanceTokenId; - } - - @Override - public long getKaleoTaskId() { - return _kaleoTaskId; - } - - @Override - public void setKaleoTaskId(long kaleoTaskId) { - _kaleoTaskId = kaleoTaskId; - } - - @Override - public String getKaleoTaskName() { - if (_kaleoTaskName == null) { - return StringPool.BLANK; - } - else { - return _kaleoTaskName; - } - } - - @Override - public void setKaleoTaskName(String kaleoTaskName) { - _kaleoTaskName = kaleoTaskName; - } - - @Override - public String getAssigneeClassName() { - if (_assigneeClassName == null) { - return StringPool.BLANK; - } - else { - return _assigneeClassName; - } - } - - @Override - public void setAssigneeClassName(String assigneeClassName) { - _assigneeClassName = assigneeClassName; - } - - @Override - public long getAssigneeClassPK() { - return _assigneeClassPK; - } - - @Override - public void setAssigneeClassPK(long assigneeClassPK) { - _assigneeClassPK = assigneeClassPK; - } - - @Override - public boolean getCompleted() { - return _completed; - } - - @Override - public boolean isCompleted() { - return _completed; - } - - @Override - public void setCompleted(boolean completed) { - _completed = completed; - } - - @Override - public Date getCompletionDate() { - return _completionDate; - } - - @Override - public void setCompletionDate(Date completionDate) { - _completionDate = completionDate; - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - KaleoTaskAssignmentInstance.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public KaleoTaskAssignmentInstance toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (KaleoTaskAssignmentInstance)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - KaleoTaskAssignmentInstanceImpl kaleoTaskAssignmentInstanceImpl = new KaleoTaskAssignmentInstanceImpl(); - - kaleoTaskAssignmentInstanceImpl.setKaleoTaskAssignmentInstanceId(getKaleoTaskAssignmentInstanceId()); - kaleoTaskAssignmentInstanceImpl.setGroupId(getGroupId()); - kaleoTaskAssignmentInstanceImpl.setCompanyId(getCompanyId()); - kaleoTaskAssignmentInstanceImpl.setUserId(getUserId()); - kaleoTaskAssignmentInstanceImpl.setUserName(getUserName()); - kaleoTaskAssignmentInstanceImpl.setCreateDate(getCreateDate()); - kaleoTaskAssignmentInstanceImpl.setModifiedDate(getModifiedDate()); - kaleoTaskAssignmentInstanceImpl.setKaleoDefinitionId(getKaleoDefinitionId()); - kaleoTaskAssignmentInstanceImpl.setKaleoInstanceId(getKaleoInstanceId()); - kaleoTaskAssignmentInstanceImpl.setKaleoInstanceTokenId(getKaleoInstanceTokenId()); - kaleoTaskAssignmentInstanceImpl.setKaleoTaskInstanceTokenId(getKaleoTaskInstanceTokenId()); - kaleoTaskAssignmentInstanceImpl.setKaleoTaskId(getKaleoTaskId()); - kaleoTaskAssignmentInstanceImpl.setKaleoTaskName(getKaleoTaskName()); - kaleoTaskAssignmentInstanceImpl.setAssigneeClassName(getAssigneeClassName()); - kaleoTaskAssignmentInstanceImpl.setAssigneeClassPK(getAssigneeClassPK()); - kaleoTaskAssignmentInstanceImpl.setCompleted(getCompleted()); - kaleoTaskAssignmentInstanceImpl.setCompletionDate(getCompletionDate()); - - kaleoTaskAssignmentInstanceImpl.resetOriginalValues(); - - return kaleoTaskAssignmentInstanceImpl; - } - - @Override - public int compareTo( - KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance) { - int value = 0; - - if (getKaleoTaskAssignmentInstanceId() < kaleoTaskAssignmentInstance.getKaleoTaskAssignmentInstanceId()) { - value = -1; - } - else if (getKaleoTaskAssignmentInstanceId() > kaleoTaskAssignmentInstance.getKaleoTaskAssignmentInstanceId()) { - value = 1; - } - else { - value = 0; - } - - if (value != 0) { - return value; - } - - return 0; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof KaleoTaskAssignmentInstance)) { - return false; - } - - KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance = (KaleoTaskAssignmentInstance)obj; - - long primaryKey = kaleoTaskAssignmentInstance.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - KaleoTaskAssignmentInstanceModelImpl kaleoTaskAssignmentInstanceModelImpl = - this; - - kaleoTaskAssignmentInstanceModelImpl._originalCompanyId = kaleoTaskAssignmentInstanceModelImpl._companyId; - - kaleoTaskAssignmentInstanceModelImpl._setOriginalCompanyId = false; - - kaleoTaskAssignmentInstanceModelImpl._originalKaleoDefinitionId = kaleoTaskAssignmentInstanceModelImpl._kaleoDefinitionId; - - kaleoTaskAssignmentInstanceModelImpl._setOriginalKaleoDefinitionId = false; - - kaleoTaskAssignmentInstanceModelImpl._originalKaleoInstanceId = kaleoTaskAssignmentInstanceModelImpl._kaleoInstanceId; - - kaleoTaskAssignmentInstanceModelImpl._setOriginalKaleoInstanceId = false; - - kaleoTaskAssignmentInstanceModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - KaleoTaskAssignmentInstanceCacheModel kaleoTaskAssignmentInstanceCacheModel = - new KaleoTaskAssignmentInstanceCacheModel(); - - kaleoTaskAssignmentInstanceCacheModel.kaleoTaskAssignmentInstanceId = getKaleoTaskAssignmentInstanceId(); - - kaleoTaskAssignmentInstanceCacheModel.groupId = getGroupId(); - - kaleoTaskAssignmentInstanceCacheModel.companyId = getCompanyId(); - - kaleoTaskAssignmentInstanceCacheModel.userId = getUserId(); - - kaleoTaskAssignmentInstanceCacheModel.userName = getUserName(); - - String userName = kaleoTaskAssignmentInstanceCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - kaleoTaskAssignmentInstanceCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - kaleoTaskAssignmentInstanceCacheModel.createDate = createDate.getTime(); - } - else { - kaleoTaskAssignmentInstanceCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - kaleoTaskAssignmentInstanceCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - kaleoTaskAssignmentInstanceCacheModel.modifiedDate = Long.MIN_VALUE; - } - - kaleoTaskAssignmentInstanceCacheModel.kaleoDefinitionId = getKaleoDefinitionId(); - - kaleoTaskAssignmentInstanceCacheModel.kaleoInstanceId = getKaleoInstanceId(); - - kaleoTaskAssignmentInstanceCacheModel.kaleoInstanceTokenId = getKaleoInstanceTokenId(); - - kaleoTaskAssignmentInstanceCacheModel.kaleoTaskInstanceTokenId = getKaleoTaskInstanceTokenId(); - - kaleoTaskAssignmentInstanceCacheModel.kaleoTaskId = getKaleoTaskId(); - - kaleoTaskAssignmentInstanceCacheModel.kaleoTaskName = getKaleoTaskName(); - - String kaleoTaskName = kaleoTaskAssignmentInstanceCacheModel.kaleoTaskName; - - if ((kaleoTaskName != null) && (kaleoTaskName.length() == 0)) { - kaleoTaskAssignmentInstanceCacheModel.kaleoTaskName = null; - } - - kaleoTaskAssignmentInstanceCacheModel.assigneeClassName = getAssigneeClassName(); - - String assigneeClassName = kaleoTaskAssignmentInstanceCacheModel.assigneeClassName; - - if ((assigneeClassName != null) && (assigneeClassName.length() == 0)) { - kaleoTaskAssignmentInstanceCacheModel.assigneeClassName = null; - } - - kaleoTaskAssignmentInstanceCacheModel.assigneeClassPK = getAssigneeClassPK(); - - kaleoTaskAssignmentInstanceCacheModel.completed = getCompleted(); - - Date completionDate = getCompletionDate(); - - if (completionDate != null) { - kaleoTaskAssignmentInstanceCacheModel.completionDate = completionDate.getTime(); - } - else { - kaleoTaskAssignmentInstanceCacheModel.completionDate = Long.MIN_VALUE; - } - - return kaleoTaskAssignmentInstanceCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(35); - - sb.append("{kaleoTaskAssignmentInstanceId="); - sb.append(getKaleoTaskAssignmentInstanceId()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", kaleoDefinitionId="); - sb.append(getKaleoDefinitionId()); - sb.append(", kaleoInstanceId="); - sb.append(getKaleoInstanceId()); - sb.append(", kaleoInstanceTokenId="); - sb.append(getKaleoInstanceTokenId()); - sb.append(", kaleoTaskInstanceTokenId="); - sb.append(getKaleoTaskInstanceTokenId()); - sb.append(", kaleoTaskId="); - sb.append(getKaleoTaskId()); - sb.append(", kaleoTaskName="); - sb.append(getKaleoTaskName()); - sb.append(", assigneeClassName="); - sb.append(getAssigneeClassName()); - sb.append(", assigneeClassPK="); - sb.append(getAssigneeClassPK()); - sb.append(", completed="); - sb.append(getCompleted()); - sb.append(", completionDate="); - sb.append(getCompletionDate()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(55); - - sb.append(""); - sb.append( - "it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance"); - sb.append(""); - - sb.append( - "kaleoTaskAssignmentInstanceId"); - sb.append( - "groupId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "kaleoDefinitionId"); - sb.append( - "kaleoInstanceId"); - sb.append( - "kaleoInstanceTokenId"); - sb.append( - "kaleoTaskInstanceTokenId"); - sb.append( - "kaleoTaskId"); - sb.append( - "kaleoTaskName"); - sb.append( - "assigneeClassName"); - sb.append( - "assigneeClassPK"); - sb.append( - "completed"); - sb.append( - "completionDate"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = KaleoTaskAssignmentInstance.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - KaleoTaskAssignmentInstance.class - }; - private long _kaleoTaskAssignmentInstanceId; - private long _groupId; - private long _companyId; - private long _originalCompanyId; - private boolean _setOriginalCompanyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _kaleoDefinitionId; - private long _originalKaleoDefinitionId; - private boolean _setOriginalKaleoDefinitionId; - private long _kaleoInstanceId; - private long _originalKaleoInstanceId; - private boolean _setOriginalKaleoInstanceId; - private long _kaleoInstanceTokenId; - private long _kaleoTaskInstanceTokenId; - private long _kaleoTaskId; - private String _kaleoTaskName; - private String _assigneeClassName; - private long _assigneeClassPK; - private boolean _completed; - private Date _completionDate; - private long _columnBitmask; - private KaleoTaskAssignmentInstance _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoTaskBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoTaskBaseImpl.java deleted file mode 100644 index 803c33f2..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoTaskBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.KaleoTask; -import it.tref.liferay.portos.importazione.service.KaleoTaskLocalServiceUtil; - -/** - * The extended model base implementation for the KaleoTask service. Represents a row in the "kaleotask" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link KaleoTaskImpl}. - *

- * - * @author 3FC - * @see KaleoTaskImpl - * @see it.tref.liferay.portos.importazione.model.KaleoTask - * @generated - */ -public abstract class KaleoTaskBaseImpl extends KaleoTaskModelImpl - implements KaleoTask { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a kaleo task model instance should use the {@link KaleoTask} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - KaleoTaskLocalServiceUtil.addKaleoTask(this); - } - else { - KaleoTaskLocalServiceUtil.updateKaleoTask(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoTaskCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoTaskCacheModel.java deleted file mode 100644 index f74079a7..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoTaskCacheModel.java +++ /dev/null @@ -1,183 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.importazione.model.KaleoTask; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing KaleoTask in entity cache. - * - * @author 3FC - * @see KaleoTask - * @generated - */ -public class KaleoTaskCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(23); - - sb.append("{kaleoTaskId="); - sb.append(kaleoTaskId); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", kaleoDefinitionId="); - sb.append(kaleoDefinitionId); - sb.append(", kaleoNodeId="); - sb.append(kaleoNodeId); - sb.append(", name="); - sb.append(name); - sb.append(", description="); - sb.append(description); - sb.append("}"); - - return sb.toString(); - } - - @Override - public KaleoTask toEntityModel() { - KaleoTaskImpl kaleoTaskImpl = new KaleoTaskImpl(); - - kaleoTaskImpl.setKaleoTaskId(kaleoTaskId); - kaleoTaskImpl.setGroupId(groupId); - kaleoTaskImpl.setCompanyId(companyId); - kaleoTaskImpl.setUserId(userId); - - if (userName == null) { - kaleoTaskImpl.setUserName(StringPool.BLANK); - } - else { - kaleoTaskImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - kaleoTaskImpl.setCreateDate(null); - } - else { - kaleoTaskImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - kaleoTaskImpl.setModifiedDate(null); - } - else { - kaleoTaskImpl.setModifiedDate(new Date(modifiedDate)); - } - - kaleoTaskImpl.setKaleoDefinitionId(kaleoDefinitionId); - kaleoTaskImpl.setKaleoNodeId(kaleoNodeId); - - if (name == null) { - kaleoTaskImpl.setName(StringPool.BLANK); - } - else { - kaleoTaskImpl.setName(name); - } - - if (description == null) { - kaleoTaskImpl.setDescription(StringPool.BLANK); - } - else { - kaleoTaskImpl.setDescription(description); - } - - kaleoTaskImpl.resetOriginalValues(); - - return kaleoTaskImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - kaleoTaskId = objectInput.readLong(); - groupId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - kaleoDefinitionId = objectInput.readLong(); - kaleoNodeId = objectInput.readLong(); - name = objectInput.readUTF(); - description = objectInput.readUTF(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - objectOutput.writeLong(kaleoTaskId); - objectOutput.writeLong(groupId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeLong(kaleoDefinitionId); - objectOutput.writeLong(kaleoNodeId); - - if (name == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(name); - } - - if (description == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(description); - } - } - - public long kaleoTaskId; - public long groupId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public long kaleoDefinitionId; - public long kaleoNodeId; - public String name; - public String description; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoTaskImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoTaskImpl.java deleted file mode 100644 index 9b74ae1c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoTaskImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -/** - * The extended model implementation for the KaleoTask service. Represents a row in the "kaleotask" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.model.KaleoTask} interface. - *

- * - * @author 3FC - */ -public class KaleoTaskImpl extends KaleoTaskBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a kaleo task model instance should use the {@link it.tref.liferay.portos.importazione.model.KaleoTask} interface instead. - */ - public KaleoTaskImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoTaskInstanceTokenBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoTaskInstanceTokenBaseImpl.java deleted file mode 100644 index fbebb599..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoTaskInstanceTokenBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken; -import it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalServiceUtil; - -/** - * The extended model base implementation for the KaleoTaskInstanceToken service. Represents a row in the "kaleotaskinstancetoken" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link KaleoTaskInstanceTokenImpl}. - *

- * - * @author 3FC - * @see KaleoTaskInstanceTokenImpl - * @see it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken - * @generated - */ -public abstract class KaleoTaskInstanceTokenBaseImpl - extends KaleoTaskInstanceTokenModelImpl implements KaleoTaskInstanceToken { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a kaleo task instance token model instance should use the {@link KaleoTaskInstanceToken} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - KaleoTaskInstanceTokenLocalServiceUtil.addKaleoTaskInstanceToken(this); - } - else { - KaleoTaskInstanceTokenLocalServiceUtil.updateKaleoTaskInstanceToken(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoTaskInstanceTokenCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoTaskInstanceTokenCacheModel.java deleted file mode 100644 index ec5fe7cf..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoTaskInstanceTokenCacheModel.java +++ /dev/null @@ -1,258 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing KaleoTaskInstanceToken in entity cache. - * - * @author 3FC - * @see KaleoTaskInstanceToken - * @generated - */ -public class KaleoTaskInstanceTokenCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(39); - - sb.append("{kaleoTaskInstanceTokenId="); - sb.append(kaleoTaskInstanceTokenId); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", kaleoDefinitionId="); - sb.append(kaleoDefinitionId); - sb.append(", kaleoInstanceId="); - sb.append(kaleoInstanceId); - sb.append(", kaleoInstanceTokenId="); - sb.append(kaleoInstanceTokenId); - sb.append(", kaleoTaskId="); - sb.append(kaleoTaskId); - sb.append(", kaleoTaskName="); - sb.append(kaleoTaskName); - sb.append(", className="); - sb.append(className); - sb.append(", classPK="); - sb.append(classPK); - sb.append(", completionUserId="); - sb.append(completionUserId); - sb.append(", completed="); - sb.append(completed); - sb.append(", completionDate="); - sb.append(completionDate); - sb.append(", dueDate="); - sb.append(dueDate); - sb.append(", workflowContext="); - sb.append(workflowContext); - sb.append("}"); - - return sb.toString(); - } - - @Override - public KaleoTaskInstanceToken toEntityModel() { - KaleoTaskInstanceTokenImpl kaleoTaskInstanceTokenImpl = new KaleoTaskInstanceTokenImpl(); - - kaleoTaskInstanceTokenImpl.setKaleoTaskInstanceTokenId(kaleoTaskInstanceTokenId); - kaleoTaskInstanceTokenImpl.setGroupId(groupId); - kaleoTaskInstanceTokenImpl.setCompanyId(companyId); - kaleoTaskInstanceTokenImpl.setUserId(userId); - - if (userName == null) { - kaleoTaskInstanceTokenImpl.setUserName(StringPool.BLANK); - } - else { - kaleoTaskInstanceTokenImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - kaleoTaskInstanceTokenImpl.setCreateDate(null); - } - else { - kaleoTaskInstanceTokenImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - kaleoTaskInstanceTokenImpl.setModifiedDate(null); - } - else { - kaleoTaskInstanceTokenImpl.setModifiedDate(new Date(modifiedDate)); - } - - kaleoTaskInstanceTokenImpl.setKaleoDefinitionId(kaleoDefinitionId); - kaleoTaskInstanceTokenImpl.setKaleoInstanceId(kaleoInstanceId); - kaleoTaskInstanceTokenImpl.setKaleoInstanceTokenId(kaleoInstanceTokenId); - kaleoTaskInstanceTokenImpl.setKaleoTaskId(kaleoTaskId); - - if (kaleoTaskName == null) { - kaleoTaskInstanceTokenImpl.setKaleoTaskName(StringPool.BLANK); - } - else { - kaleoTaskInstanceTokenImpl.setKaleoTaskName(kaleoTaskName); - } - - if (className == null) { - kaleoTaskInstanceTokenImpl.setClassName(StringPool.BLANK); - } - else { - kaleoTaskInstanceTokenImpl.setClassName(className); - } - - kaleoTaskInstanceTokenImpl.setClassPK(classPK); - kaleoTaskInstanceTokenImpl.setCompletionUserId(completionUserId); - kaleoTaskInstanceTokenImpl.setCompleted(completed); - - if (completionDate == Long.MIN_VALUE) { - kaleoTaskInstanceTokenImpl.setCompletionDate(null); - } - else { - kaleoTaskInstanceTokenImpl.setCompletionDate(new Date( - completionDate)); - } - - if (dueDate == Long.MIN_VALUE) { - kaleoTaskInstanceTokenImpl.setDueDate(null); - } - else { - kaleoTaskInstanceTokenImpl.setDueDate(new Date(dueDate)); - } - - if (workflowContext == null) { - kaleoTaskInstanceTokenImpl.setWorkflowContext(StringPool.BLANK); - } - else { - kaleoTaskInstanceTokenImpl.setWorkflowContext(workflowContext); - } - - kaleoTaskInstanceTokenImpl.resetOriginalValues(); - - return kaleoTaskInstanceTokenImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - kaleoTaskInstanceTokenId = objectInput.readLong(); - groupId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - kaleoDefinitionId = objectInput.readLong(); - kaleoInstanceId = objectInput.readLong(); - kaleoInstanceTokenId = objectInput.readLong(); - kaleoTaskId = objectInput.readLong(); - kaleoTaskName = objectInput.readUTF(); - className = objectInput.readUTF(); - classPK = objectInput.readLong(); - completionUserId = objectInput.readLong(); - completed = objectInput.readBoolean(); - completionDate = objectInput.readLong(); - dueDate = objectInput.readLong(); - workflowContext = objectInput.readUTF(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - objectOutput.writeLong(kaleoTaskInstanceTokenId); - objectOutput.writeLong(groupId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeLong(kaleoDefinitionId); - objectOutput.writeLong(kaleoInstanceId); - objectOutput.writeLong(kaleoInstanceTokenId); - objectOutput.writeLong(kaleoTaskId); - - if (kaleoTaskName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(kaleoTaskName); - } - - if (className == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(className); - } - - objectOutput.writeLong(classPK); - objectOutput.writeLong(completionUserId); - objectOutput.writeBoolean(completed); - objectOutput.writeLong(completionDate); - objectOutput.writeLong(dueDate); - - if (workflowContext == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(workflowContext); - } - } - - public long kaleoTaskInstanceTokenId; - public long groupId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public long kaleoDefinitionId; - public long kaleoInstanceId; - public long kaleoInstanceTokenId; - public long kaleoTaskId; - public String kaleoTaskName; - public String className; - public long classPK; - public long completionUserId; - public boolean completed; - public long completionDate; - public long dueDate; - public String workflowContext; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoTaskInstanceTokenImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoTaskInstanceTokenImpl.java deleted file mode 100644 index 6197b07c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoTaskInstanceTokenImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -/** - * The extended model implementation for the KaleoTaskInstanceToken service. Represents a row in the "kaleotaskinstancetoken" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken} interface. - *

- * - * @author 3FC - */ -public class KaleoTaskInstanceTokenImpl extends KaleoTaskInstanceTokenBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a kaleo task instance token model instance should use the {@link it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken} interface instead. - */ - public KaleoTaskInstanceTokenImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoTaskInstanceTokenModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoTaskInstanceTokenModelImpl.java deleted file mode 100644 index e90b4fb7..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoTaskInstanceTokenModelImpl.java +++ /dev/null @@ -1,912 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken; -import it.tref.liferay.portos.importazione.model.KaleoTaskInstanceTokenModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the KaleoTaskInstanceToken service. Represents a row in the "kaleotaskinstancetoken" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.importazione.model.KaleoTaskInstanceTokenModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link KaleoTaskInstanceTokenImpl}. - *

- * - * @author 3FC - * @see KaleoTaskInstanceTokenImpl - * @see it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken - * @see it.tref.liferay.portos.importazione.model.KaleoTaskInstanceTokenModel - * @generated - */ -public class KaleoTaskInstanceTokenModelImpl extends BaseModelImpl - implements KaleoTaskInstanceTokenModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a kaleo task instance token model instance should use the {@link it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken} interface instead. - */ - public static final String TABLE_NAME = "kaleotaskinstancetoken"; - public static final Object[][] TABLE_COLUMNS = { - { "kaleoTaskInstanceTokenId", Types.BIGINT }, - { "groupId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "kaleoDefinitionId", Types.BIGINT }, - { "kaleoInstanceId", Types.BIGINT }, - { "kaleoInstanceTokenId", Types.BIGINT }, - { "kaleoTaskId", Types.BIGINT }, - { "kaleoTaskName", Types.VARCHAR }, - { "className", Types.VARCHAR }, - { "classPK", Types.BIGINT }, - { "completionUserId", Types.BIGINT }, - { "completed", Types.BOOLEAN }, - { "completionDate", Types.TIMESTAMP }, - { "dueDate", Types.TIMESTAMP }, - { "workflowContext", Types.CLOB } - }; - public static final String TABLE_SQL_CREATE = "create table kaleotaskinstancetoken (kaleoTaskInstanceTokenId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(200) null,createDate DATE null,modifiedDate DATE null,kaleoDefinitionId LONG,kaleoInstanceId LONG,kaleoInstanceTokenId LONG,kaleoTaskId LONG,kaleoTaskName VARCHAR(200) null,className VARCHAR(200) null,classPK LONG,completionUserId LONG,completed BOOLEAN,completionDate DATE null,dueDate DATE null,workflowContext TEXT null)"; - public static final String TABLE_SQL_DROP = "drop table kaleotaskinstancetoken"; - public static final String ORDER_BY_JPQL = " ORDER BY kaleoTaskInstanceToken.kaleoTaskInstanceTokenId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY kaleotaskinstancetoken.kaleoTaskInstanceTokenId ASC"; - public static final String DATA_SOURCE = "liferayDataSource"; - public static final String SESSION_FACTORY = "liferaySessionFactory"; - public static final String TX_MANAGER = "liferayTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken"), - true); - public static long CLASSPK_COLUMN_BITMASK = 1L; - public static long KALEOTASKINSTANCETOKENID_COLUMN_BITMASK = 2L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken")); - - public KaleoTaskInstanceTokenModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _kaleoTaskInstanceTokenId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setKaleoTaskInstanceTokenId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _kaleoTaskInstanceTokenId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return KaleoTaskInstanceToken.class; - } - - @Override - public String getModelClassName() { - return KaleoTaskInstanceToken.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("kaleoTaskInstanceTokenId", getKaleoTaskInstanceTokenId()); - attributes.put("groupId", getGroupId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("kaleoDefinitionId", getKaleoDefinitionId()); - attributes.put("kaleoInstanceId", getKaleoInstanceId()); - attributes.put("kaleoInstanceTokenId", getKaleoInstanceTokenId()); - attributes.put("kaleoTaskId", getKaleoTaskId()); - attributes.put("kaleoTaskName", getKaleoTaskName()); - attributes.put("className", getClassName()); - attributes.put("classPK", getClassPK()); - attributes.put("completionUserId", getCompletionUserId()); - attributes.put("completed", getCompleted()); - attributes.put("completionDate", getCompletionDate()); - attributes.put("dueDate", getDueDate()); - attributes.put("workflowContext", getWorkflowContext()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long kaleoTaskInstanceTokenId = (Long)attributes.get( - "kaleoTaskInstanceTokenId"); - - if (kaleoTaskInstanceTokenId != null) { - setKaleoTaskInstanceTokenId(kaleoTaskInstanceTokenId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long kaleoDefinitionId = (Long)attributes.get("kaleoDefinitionId"); - - if (kaleoDefinitionId != null) { - setKaleoDefinitionId(kaleoDefinitionId); - } - - Long kaleoInstanceId = (Long)attributes.get("kaleoInstanceId"); - - if (kaleoInstanceId != null) { - setKaleoInstanceId(kaleoInstanceId); - } - - Long kaleoInstanceTokenId = (Long)attributes.get("kaleoInstanceTokenId"); - - if (kaleoInstanceTokenId != null) { - setKaleoInstanceTokenId(kaleoInstanceTokenId); - } - - Long kaleoTaskId = (Long)attributes.get("kaleoTaskId"); - - if (kaleoTaskId != null) { - setKaleoTaskId(kaleoTaskId); - } - - String kaleoTaskName = (String)attributes.get("kaleoTaskName"); - - if (kaleoTaskName != null) { - setKaleoTaskName(kaleoTaskName); - } - - String className = (String)attributes.get("className"); - - if (className != null) { - setClassName(className); - } - - Long classPK = (Long)attributes.get("classPK"); - - if (classPK != null) { - setClassPK(classPK); - } - - Long completionUserId = (Long)attributes.get("completionUserId"); - - if (completionUserId != null) { - setCompletionUserId(completionUserId); - } - - Boolean completed = (Boolean)attributes.get("completed"); - - if (completed != null) { - setCompleted(completed); - } - - Date completionDate = (Date)attributes.get("completionDate"); - - if (completionDate != null) { - setCompletionDate(completionDate); - } - - Date dueDate = (Date)attributes.get("dueDate"); - - if (dueDate != null) { - setDueDate(dueDate); - } - - String workflowContext = (String)attributes.get("workflowContext"); - - if (workflowContext != null) { - setWorkflowContext(workflowContext); - } - } - - @Override - public long getKaleoTaskInstanceTokenId() { - return _kaleoTaskInstanceTokenId; - } - - @Override - public void setKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId) { - _columnBitmask = -1L; - - _kaleoTaskInstanceTokenId = kaleoTaskInstanceTokenId; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public long getKaleoDefinitionId() { - return _kaleoDefinitionId; - } - - @Override - public void setKaleoDefinitionId(long kaleoDefinitionId) { - _kaleoDefinitionId = kaleoDefinitionId; - } - - @Override - public long getKaleoInstanceId() { - return _kaleoInstanceId; - } - - @Override - public void setKaleoInstanceId(long kaleoInstanceId) { - _kaleoInstanceId = kaleoInstanceId; - } - - @Override - public long getKaleoInstanceTokenId() { - return _kaleoInstanceTokenId; - } - - @Override - public void setKaleoInstanceTokenId(long kaleoInstanceTokenId) { - _kaleoInstanceTokenId = kaleoInstanceTokenId; - } - - @Override - public long getKaleoTaskId() { - return _kaleoTaskId; - } - - @Override - public void setKaleoTaskId(long kaleoTaskId) { - _kaleoTaskId = kaleoTaskId; - } - - @Override - public String getKaleoTaskName() { - if (_kaleoTaskName == null) { - return StringPool.BLANK; - } - else { - return _kaleoTaskName; - } - } - - @Override - public void setKaleoTaskName(String kaleoTaskName) { - _kaleoTaskName = kaleoTaskName; - } - - @Override - public String getClassName() { - if (_className == null) { - return StringPool.BLANK; - } - else { - return _className; - } - } - - @Override - public void setClassName(String className) { - _className = className; - } - - @Override - public long getClassPK() { - return _classPK; - } - - @Override - public void setClassPK(long classPK) { - _columnBitmask |= CLASSPK_COLUMN_BITMASK; - - if (!_setOriginalClassPK) { - _setOriginalClassPK = true; - - _originalClassPK = _classPK; - } - - _classPK = classPK; - } - - public long getOriginalClassPK() { - return _originalClassPK; - } - - @Override - public long getCompletionUserId() { - return _completionUserId; - } - - @Override - public void setCompletionUserId(long completionUserId) { - _completionUserId = completionUserId; - } - - @Override - public String getCompletionUserUuid() throws SystemException { - return PortalUtil.getUserValue(getCompletionUserId(), "uuid", - _completionUserUuid); - } - - @Override - public void setCompletionUserUuid(String completionUserUuid) { - _completionUserUuid = completionUserUuid; - } - - @Override - public boolean getCompleted() { - return _completed; - } - - @Override - public boolean isCompleted() { - return _completed; - } - - @Override - public void setCompleted(boolean completed) { - _completed = completed; - } - - @Override - public Date getCompletionDate() { - return _completionDate; - } - - @Override - public void setCompletionDate(Date completionDate) { - _completionDate = completionDate; - } - - @Override - public Date getDueDate() { - return _dueDate; - } - - @Override - public void setDueDate(Date dueDate) { - _dueDate = dueDate; - } - - @Override - public String getWorkflowContext() { - if (_workflowContext == null) { - return StringPool.BLANK; - } - else { - return _workflowContext; - } - } - - @Override - public void setWorkflowContext(String workflowContext) { - _workflowContext = workflowContext; - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - KaleoTaskInstanceToken.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public KaleoTaskInstanceToken toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (KaleoTaskInstanceToken)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - KaleoTaskInstanceTokenImpl kaleoTaskInstanceTokenImpl = new KaleoTaskInstanceTokenImpl(); - - kaleoTaskInstanceTokenImpl.setKaleoTaskInstanceTokenId(getKaleoTaskInstanceTokenId()); - kaleoTaskInstanceTokenImpl.setGroupId(getGroupId()); - kaleoTaskInstanceTokenImpl.setCompanyId(getCompanyId()); - kaleoTaskInstanceTokenImpl.setUserId(getUserId()); - kaleoTaskInstanceTokenImpl.setUserName(getUserName()); - kaleoTaskInstanceTokenImpl.setCreateDate(getCreateDate()); - kaleoTaskInstanceTokenImpl.setModifiedDate(getModifiedDate()); - kaleoTaskInstanceTokenImpl.setKaleoDefinitionId(getKaleoDefinitionId()); - kaleoTaskInstanceTokenImpl.setKaleoInstanceId(getKaleoInstanceId()); - kaleoTaskInstanceTokenImpl.setKaleoInstanceTokenId(getKaleoInstanceTokenId()); - kaleoTaskInstanceTokenImpl.setKaleoTaskId(getKaleoTaskId()); - kaleoTaskInstanceTokenImpl.setKaleoTaskName(getKaleoTaskName()); - kaleoTaskInstanceTokenImpl.setClassName(getClassName()); - kaleoTaskInstanceTokenImpl.setClassPK(getClassPK()); - kaleoTaskInstanceTokenImpl.setCompletionUserId(getCompletionUserId()); - kaleoTaskInstanceTokenImpl.setCompleted(getCompleted()); - kaleoTaskInstanceTokenImpl.setCompletionDate(getCompletionDate()); - kaleoTaskInstanceTokenImpl.setDueDate(getDueDate()); - kaleoTaskInstanceTokenImpl.setWorkflowContext(getWorkflowContext()); - - kaleoTaskInstanceTokenImpl.resetOriginalValues(); - - return kaleoTaskInstanceTokenImpl; - } - - @Override - public int compareTo(KaleoTaskInstanceToken kaleoTaskInstanceToken) { - int value = 0; - - if (getKaleoTaskInstanceTokenId() < kaleoTaskInstanceToken.getKaleoTaskInstanceTokenId()) { - value = -1; - } - else if (getKaleoTaskInstanceTokenId() > kaleoTaskInstanceToken.getKaleoTaskInstanceTokenId()) { - value = 1; - } - else { - value = 0; - } - - if (value != 0) { - return value; - } - - return 0; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof KaleoTaskInstanceToken)) { - return false; - } - - KaleoTaskInstanceToken kaleoTaskInstanceToken = (KaleoTaskInstanceToken)obj; - - long primaryKey = kaleoTaskInstanceToken.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - KaleoTaskInstanceTokenModelImpl kaleoTaskInstanceTokenModelImpl = this; - - kaleoTaskInstanceTokenModelImpl._originalClassPK = kaleoTaskInstanceTokenModelImpl._classPK; - - kaleoTaskInstanceTokenModelImpl._setOriginalClassPK = false; - - kaleoTaskInstanceTokenModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - KaleoTaskInstanceTokenCacheModel kaleoTaskInstanceTokenCacheModel = new KaleoTaskInstanceTokenCacheModel(); - - kaleoTaskInstanceTokenCacheModel.kaleoTaskInstanceTokenId = getKaleoTaskInstanceTokenId(); - - kaleoTaskInstanceTokenCacheModel.groupId = getGroupId(); - - kaleoTaskInstanceTokenCacheModel.companyId = getCompanyId(); - - kaleoTaskInstanceTokenCacheModel.userId = getUserId(); - - kaleoTaskInstanceTokenCacheModel.userName = getUserName(); - - String userName = kaleoTaskInstanceTokenCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - kaleoTaskInstanceTokenCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - kaleoTaskInstanceTokenCacheModel.createDate = createDate.getTime(); - } - else { - kaleoTaskInstanceTokenCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - kaleoTaskInstanceTokenCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - kaleoTaskInstanceTokenCacheModel.modifiedDate = Long.MIN_VALUE; - } - - kaleoTaskInstanceTokenCacheModel.kaleoDefinitionId = getKaleoDefinitionId(); - - kaleoTaskInstanceTokenCacheModel.kaleoInstanceId = getKaleoInstanceId(); - - kaleoTaskInstanceTokenCacheModel.kaleoInstanceTokenId = getKaleoInstanceTokenId(); - - kaleoTaskInstanceTokenCacheModel.kaleoTaskId = getKaleoTaskId(); - - kaleoTaskInstanceTokenCacheModel.kaleoTaskName = getKaleoTaskName(); - - String kaleoTaskName = kaleoTaskInstanceTokenCacheModel.kaleoTaskName; - - if ((kaleoTaskName != null) && (kaleoTaskName.length() == 0)) { - kaleoTaskInstanceTokenCacheModel.kaleoTaskName = null; - } - - kaleoTaskInstanceTokenCacheModel.className = getClassName(); - - String className = kaleoTaskInstanceTokenCacheModel.className; - - if ((className != null) && (className.length() == 0)) { - kaleoTaskInstanceTokenCacheModel.className = null; - } - - kaleoTaskInstanceTokenCacheModel.classPK = getClassPK(); - - kaleoTaskInstanceTokenCacheModel.completionUserId = getCompletionUserId(); - - kaleoTaskInstanceTokenCacheModel.completed = getCompleted(); - - Date completionDate = getCompletionDate(); - - if (completionDate != null) { - kaleoTaskInstanceTokenCacheModel.completionDate = completionDate.getTime(); - } - else { - kaleoTaskInstanceTokenCacheModel.completionDate = Long.MIN_VALUE; - } - - Date dueDate = getDueDate(); - - if (dueDate != null) { - kaleoTaskInstanceTokenCacheModel.dueDate = dueDate.getTime(); - } - else { - kaleoTaskInstanceTokenCacheModel.dueDate = Long.MIN_VALUE; - } - - kaleoTaskInstanceTokenCacheModel.workflowContext = getWorkflowContext(); - - String workflowContext = kaleoTaskInstanceTokenCacheModel.workflowContext; - - if ((workflowContext != null) && (workflowContext.length() == 0)) { - kaleoTaskInstanceTokenCacheModel.workflowContext = null; - } - - return kaleoTaskInstanceTokenCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(39); - - sb.append("{kaleoTaskInstanceTokenId="); - sb.append(getKaleoTaskInstanceTokenId()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", kaleoDefinitionId="); - sb.append(getKaleoDefinitionId()); - sb.append(", kaleoInstanceId="); - sb.append(getKaleoInstanceId()); - sb.append(", kaleoInstanceTokenId="); - sb.append(getKaleoInstanceTokenId()); - sb.append(", kaleoTaskId="); - sb.append(getKaleoTaskId()); - sb.append(", kaleoTaskName="); - sb.append(getKaleoTaskName()); - sb.append(", className="); - sb.append(getClassName()); - sb.append(", classPK="); - sb.append(getClassPK()); - sb.append(", completionUserId="); - sb.append(getCompletionUserId()); - sb.append(", completed="); - sb.append(getCompleted()); - sb.append(", completionDate="); - sb.append(getCompletionDate()); - sb.append(", dueDate="); - sb.append(getDueDate()); - sb.append(", workflowContext="); - sb.append(getWorkflowContext()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(61); - - sb.append(""); - sb.append( - "it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken"); - sb.append(""); - - sb.append( - "kaleoTaskInstanceTokenId"); - sb.append( - "groupId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "kaleoDefinitionId"); - sb.append( - "kaleoInstanceId"); - sb.append( - "kaleoInstanceTokenId"); - sb.append( - "kaleoTaskId"); - sb.append( - "kaleoTaskName"); - sb.append( - "className"); - sb.append( - "classPK"); - sb.append( - "completionUserId"); - sb.append( - "completed"); - sb.append( - "completionDate"); - sb.append( - "dueDate"); - sb.append( - "workflowContext"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = KaleoTaskInstanceToken.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - KaleoTaskInstanceToken.class - }; - private long _kaleoTaskInstanceTokenId; - private long _groupId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _kaleoDefinitionId; - private long _kaleoInstanceId; - private long _kaleoInstanceTokenId; - private long _kaleoTaskId; - private String _kaleoTaskName; - private String _className; - private long _classPK; - private long _originalClassPK; - private boolean _setOriginalClassPK; - private long _completionUserId; - private String _completionUserUuid; - private boolean _completed; - private Date _completionDate; - private Date _dueDate; - private String _workflowContext; - private long _columnBitmask; - private KaleoTaskInstanceToken _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoTaskModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoTaskModelImpl.java deleted file mode 100644 index aea7fc47..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/KaleoTaskModelImpl.java +++ /dev/null @@ -1,612 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.importazione.model.KaleoTask; -import it.tref.liferay.portos.importazione.model.KaleoTaskModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the KaleoTask service. Represents a row in the "kaleotask" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.importazione.model.KaleoTaskModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link KaleoTaskImpl}. - *

- * - * @author 3FC - * @see KaleoTaskImpl - * @see it.tref.liferay.portos.importazione.model.KaleoTask - * @see it.tref.liferay.portos.importazione.model.KaleoTaskModel - * @generated - */ -public class KaleoTaskModelImpl extends BaseModelImpl - implements KaleoTaskModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a kaleo task model instance should use the {@link it.tref.liferay.portos.importazione.model.KaleoTask} interface instead. - */ - public static final String TABLE_NAME = "kaleotask"; - public static final Object[][] TABLE_COLUMNS = { - { "kaleoTaskId", Types.BIGINT }, - { "groupId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "kaleoDefinitionId", Types.BIGINT }, - { "kaleoNodeId", Types.BIGINT }, - { "name", Types.VARCHAR }, - { "description", Types.VARCHAR } - }; - public static final String TABLE_SQL_CREATE = "create table kaleotask (kaleoTaskId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(200) null,createDate DATE null,modifiedDate DATE null,kaleoDefinitionId LONG,kaleoNodeId LONG,name VARCHAR(200) null,description STRING null)"; - public static final String TABLE_SQL_DROP = "drop table kaleotask"; - public static final String ORDER_BY_JPQL = " ORDER BY kaleoTask.kaleoTaskId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY kaleotask.kaleoTaskId ASC"; - public static final String DATA_SOURCE = "liferayDataSource"; - public static final String SESSION_FACTORY = "liferaySessionFactory"; - public static final String TX_MANAGER = "liferayTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.importazione.model.KaleoTask"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.importazione.model.KaleoTask"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = false; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.importazione.model.KaleoTask")); - - public KaleoTaskModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _kaleoTaskId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setKaleoTaskId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _kaleoTaskId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return KaleoTask.class; - } - - @Override - public String getModelClassName() { - return KaleoTask.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("kaleoTaskId", getKaleoTaskId()); - attributes.put("groupId", getGroupId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("kaleoDefinitionId", getKaleoDefinitionId()); - attributes.put("kaleoNodeId", getKaleoNodeId()); - attributes.put("name", getName()); - attributes.put("description", getDescription()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long kaleoTaskId = (Long)attributes.get("kaleoTaskId"); - - if (kaleoTaskId != null) { - setKaleoTaskId(kaleoTaskId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long kaleoDefinitionId = (Long)attributes.get("kaleoDefinitionId"); - - if (kaleoDefinitionId != null) { - setKaleoDefinitionId(kaleoDefinitionId); - } - - Long kaleoNodeId = (Long)attributes.get("kaleoNodeId"); - - if (kaleoNodeId != null) { - setKaleoNodeId(kaleoNodeId); - } - - String name = (String)attributes.get("name"); - - if (name != null) { - setName(name); - } - - String description = (String)attributes.get("description"); - - if (description != null) { - setDescription(description); - } - } - - @Override - public long getKaleoTaskId() { - return _kaleoTaskId; - } - - @Override - public void setKaleoTaskId(long kaleoTaskId) { - _kaleoTaskId = kaleoTaskId; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public long getKaleoDefinitionId() { - return _kaleoDefinitionId; - } - - @Override - public void setKaleoDefinitionId(long kaleoDefinitionId) { - _kaleoDefinitionId = kaleoDefinitionId; - } - - @Override - public long getKaleoNodeId() { - return _kaleoNodeId; - } - - @Override - public void setKaleoNodeId(long kaleoNodeId) { - _kaleoNodeId = kaleoNodeId; - } - - @Override - public String getName() { - if (_name == null) { - return StringPool.BLANK; - } - else { - return _name; - } - } - - @Override - public void setName(String name) { - _name = name; - } - - @Override - public String getDescription() { - if (_description == null) { - return StringPool.BLANK; - } - else { - return _description; - } - } - - @Override - public void setDescription(String description) { - _description = description; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - KaleoTask.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public KaleoTask toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (KaleoTask)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - KaleoTaskImpl kaleoTaskImpl = new KaleoTaskImpl(); - - kaleoTaskImpl.setKaleoTaskId(getKaleoTaskId()); - kaleoTaskImpl.setGroupId(getGroupId()); - kaleoTaskImpl.setCompanyId(getCompanyId()); - kaleoTaskImpl.setUserId(getUserId()); - kaleoTaskImpl.setUserName(getUserName()); - kaleoTaskImpl.setCreateDate(getCreateDate()); - kaleoTaskImpl.setModifiedDate(getModifiedDate()); - kaleoTaskImpl.setKaleoDefinitionId(getKaleoDefinitionId()); - kaleoTaskImpl.setKaleoNodeId(getKaleoNodeId()); - kaleoTaskImpl.setName(getName()); - kaleoTaskImpl.setDescription(getDescription()); - - kaleoTaskImpl.resetOriginalValues(); - - return kaleoTaskImpl; - } - - @Override - public int compareTo(KaleoTask kaleoTask) { - int value = 0; - - if (getKaleoTaskId() < kaleoTask.getKaleoTaskId()) { - value = -1; - } - else if (getKaleoTaskId() > kaleoTask.getKaleoTaskId()) { - value = 1; - } - else { - value = 0; - } - - if (value != 0) { - return value; - } - - return 0; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof KaleoTask)) { - return false; - } - - KaleoTask kaleoTask = (KaleoTask)obj; - - long primaryKey = kaleoTask.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - } - - @Override - public CacheModel toCacheModel() { - KaleoTaskCacheModel kaleoTaskCacheModel = new KaleoTaskCacheModel(); - - kaleoTaskCacheModel.kaleoTaskId = getKaleoTaskId(); - - kaleoTaskCacheModel.groupId = getGroupId(); - - kaleoTaskCacheModel.companyId = getCompanyId(); - - kaleoTaskCacheModel.userId = getUserId(); - - kaleoTaskCacheModel.userName = getUserName(); - - String userName = kaleoTaskCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - kaleoTaskCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - kaleoTaskCacheModel.createDate = createDate.getTime(); - } - else { - kaleoTaskCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - kaleoTaskCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - kaleoTaskCacheModel.modifiedDate = Long.MIN_VALUE; - } - - kaleoTaskCacheModel.kaleoDefinitionId = getKaleoDefinitionId(); - - kaleoTaskCacheModel.kaleoNodeId = getKaleoNodeId(); - - kaleoTaskCacheModel.name = getName(); - - String name = kaleoTaskCacheModel.name; - - if ((name != null) && (name.length() == 0)) { - kaleoTaskCacheModel.name = null; - } - - kaleoTaskCacheModel.description = getDescription(); - - String description = kaleoTaskCacheModel.description; - - if ((description != null) && (description.length() == 0)) { - kaleoTaskCacheModel.description = null; - } - - return kaleoTaskCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(23); - - sb.append("{kaleoTaskId="); - sb.append(getKaleoTaskId()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", kaleoDefinitionId="); - sb.append(getKaleoDefinitionId()); - sb.append(", kaleoNodeId="); - sb.append(getKaleoNodeId()); - sb.append(", name="); - sb.append(getName()); - sb.append(", description="); - sb.append(getDescription()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(37); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.KaleoTask"); - sb.append(""); - - sb.append( - "kaleoTaskId"); - sb.append( - "groupId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "kaleoDefinitionId"); - sb.append( - "kaleoNodeId"); - sb.append( - "name"); - sb.append( - "description"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = KaleoTask.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - KaleoTask.class - }; - private long _kaleoTaskId; - private long _groupId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _kaleoDefinitionId; - private long _kaleoNodeId; - private String _name; - private String _description; - private KaleoTask _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldDLFileEntryBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldDLFileEntryBaseImpl.java deleted file mode 100644 index 900e1713..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldDLFileEntryBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.OldDLFileEntry; -import it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalServiceUtil; - -/** - * The extended model base implementation for the OldDLFileEntry service. Represents a row in the "dlfileentry" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link OldDLFileEntryImpl}. - *

- * - * @author 3FC - * @see OldDLFileEntryImpl - * @see it.tref.liferay.portos.importazione.model.OldDLFileEntry - * @generated - */ -public abstract class OldDLFileEntryBaseImpl extends OldDLFileEntryModelImpl - implements OldDLFileEntry { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a old d l file entry model instance should use the {@link OldDLFileEntry} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - OldDLFileEntryLocalServiceUtil.addOldDLFileEntry(this); - } - else { - OldDLFileEntryLocalServiceUtil.updateOldDLFileEntry(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldDLFileEntryCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldDLFileEntryCacheModel.java deleted file mode 100644 index 6f07a9f9..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldDLFileEntryCacheModel.java +++ /dev/null @@ -1,147 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.importazione.model.OldDLFileEntry; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing OldDLFileEntry in entity cache. - * - * @author 3FC - * @see OldDLFileEntry - * @generated - */ -public class OldDLFileEntryCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(19); - - sb.append("{fileEntryId="); - sb.append(fileEntryId); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", repositoryId="); - sb.append(repositoryId); - sb.append(", folderId="); - sb.append(folderId); - sb.append("}"); - - return sb.toString(); - } - - @Override - public OldDLFileEntry toEntityModel() { - OldDLFileEntryImpl oldDLFileEntryImpl = new OldDLFileEntryImpl(); - - oldDLFileEntryImpl.setFileEntryId(fileEntryId); - oldDLFileEntryImpl.setGroupId(groupId); - oldDLFileEntryImpl.setCompanyId(companyId); - oldDLFileEntryImpl.setUserId(userId); - - if (userName == null) { - oldDLFileEntryImpl.setUserName(StringPool.BLANK); - } - else { - oldDLFileEntryImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - oldDLFileEntryImpl.setCreateDate(null); - } - else { - oldDLFileEntryImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - oldDLFileEntryImpl.setModifiedDate(null); - } - else { - oldDLFileEntryImpl.setModifiedDate(new Date(modifiedDate)); - } - - oldDLFileEntryImpl.setRepositoryId(repositoryId); - oldDLFileEntryImpl.setFolderId(folderId); - - oldDLFileEntryImpl.resetOriginalValues(); - - return oldDLFileEntryImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - fileEntryId = objectInput.readLong(); - groupId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - repositoryId = objectInput.readLong(); - folderId = objectInput.readLong(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - objectOutput.writeLong(fileEntryId); - objectOutput.writeLong(groupId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeLong(repositoryId); - objectOutput.writeLong(folderId); - } - - public long fileEntryId; - public long groupId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public long repositoryId; - public long folderId; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldDLFileEntryImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldDLFileEntryImpl.java deleted file mode 100644 index 637c4aae..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldDLFileEntryImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -/** - * The extended model implementation for the OldDLFileEntry service. Represents a row in the "dlfileentry" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.model.OldDLFileEntry} interface. - *

- * - * @author 3FC - */ -public class OldDLFileEntryImpl extends OldDLFileEntryBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a old d l file entry model instance should use the {@link it.tref.liferay.portos.importazione.model.OldDLFileEntry} interface instead. - */ - public OldDLFileEntryImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldDLFileEntryModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldDLFileEntryModelImpl.java deleted file mode 100644 index 850742dd..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldDLFileEntryModelImpl.java +++ /dev/null @@ -1,596 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.importazione.model.OldDLFileEntry; -import it.tref.liferay.portos.importazione.model.OldDLFileEntryModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the OldDLFileEntry service. Represents a row in the "dlfileentry" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.importazione.model.OldDLFileEntryModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link OldDLFileEntryImpl}. - *

- * - * @author 3FC - * @see OldDLFileEntryImpl - * @see it.tref.liferay.portos.importazione.model.OldDLFileEntry - * @see it.tref.liferay.portos.importazione.model.OldDLFileEntryModel - * @generated - */ -public class OldDLFileEntryModelImpl extends BaseModelImpl - implements OldDLFileEntryModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a old d l file entry model instance should use the {@link it.tref.liferay.portos.importazione.model.OldDLFileEntry} interface instead. - */ - public static final String TABLE_NAME = "dlfileentry"; - public static final Object[][] TABLE_COLUMNS = { - { "fileEntryId", Types.BIGINT }, - { "groupId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "repositoryId", Types.BIGINT }, - { "folderId", Types.BIGINT } - }; - public static final String TABLE_SQL_CREATE = "create table dlfileentry (fileEntryId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,repositoryId LONG,folderId LONG)"; - public static final String TABLE_SQL_DROP = "drop table dlfileentry"; - public static final String ORDER_BY_JPQL = " ORDER BY oldDLFileEntry.fileEntryId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY dlfileentry.fileEntryId ASC"; - public static final String DATA_SOURCE = "utentiPortos1DbDataSource"; - public static final String SESSION_FACTORY = "utentiPortos1DbSessionFactory"; - public static final String TX_MANAGER = "utentiPortos1DbTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.importazione.model.OldDLFileEntry"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.importazione.model.OldDLFileEntry"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.importazione.model.OldDLFileEntry"), - true); - public static long FOLDERID_COLUMN_BITMASK = 1L; - public static long GROUPID_COLUMN_BITMASK = 2L; - public static long REPOSITORYID_COLUMN_BITMASK = 4L; - public static long FILEENTRYID_COLUMN_BITMASK = 8L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.importazione.model.OldDLFileEntry")); - - public OldDLFileEntryModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _fileEntryId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setFileEntryId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _fileEntryId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return OldDLFileEntry.class; - } - - @Override - public String getModelClassName() { - return OldDLFileEntry.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("fileEntryId", getFileEntryId()); - attributes.put("groupId", getGroupId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("repositoryId", getRepositoryId()); - attributes.put("folderId", getFolderId()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long fileEntryId = (Long)attributes.get("fileEntryId"); - - if (fileEntryId != null) { - setFileEntryId(fileEntryId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long repositoryId = (Long)attributes.get("repositoryId"); - - if (repositoryId != null) { - setRepositoryId(repositoryId); - } - - Long folderId = (Long)attributes.get("folderId"); - - if (folderId != null) { - setFolderId(folderId); - } - } - - @Override - public long getFileEntryId() { - return _fileEntryId; - } - - @Override - public void setFileEntryId(long fileEntryId) { - _fileEntryId = fileEntryId; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _columnBitmask |= GROUPID_COLUMN_BITMASK; - - if (!_setOriginalGroupId) { - _setOriginalGroupId = true; - - _originalGroupId = _groupId; - } - - _groupId = groupId; - } - - public long getOriginalGroupId() { - return _originalGroupId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public long getRepositoryId() { - return _repositoryId; - } - - @Override - public void setRepositoryId(long repositoryId) { - _columnBitmask |= REPOSITORYID_COLUMN_BITMASK; - - if (!_setOriginalRepositoryId) { - _setOriginalRepositoryId = true; - - _originalRepositoryId = _repositoryId; - } - - _repositoryId = repositoryId; - } - - public long getOriginalRepositoryId() { - return _originalRepositoryId; - } - - @Override - public long getFolderId() { - return _folderId; - } - - @Override - public void setFolderId(long folderId) { - _columnBitmask |= FOLDERID_COLUMN_BITMASK; - - if (!_setOriginalFolderId) { - _setOriginalFolderId = true; - - _originalFolderId = _folderId; - } - - _folderId = folderId; - } - - public long getOriginalFolderId() { - return _originalFolderId; - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - OldDLFileEntry.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public OldDLFileEntry toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (OldDLFileEntry)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - OldDLFileEntryImpl oldDLFileEntryImpl = new OldDLFileEntryImpl(); - - oldDLFileEntryImpl.setFileEntryId(getFileEntryId()); - oldDLFileEntryImpl.setGroupId(getGroupId()); - oldDLFileEntryImpl.setCompanyId(getCompanyId()); - oldDLFileEntryImpl.setUserId(getUserId()); - oldDLFileEntryImpl.setUserName(getUserName()); - oldDLFileEntryImpl.setCreateDate(getCreateDate()); - oldDLFileEntryImpl.setModifiedDate(getModifiedDate()); - oldDLFileEntryImpl.setRepositoryId(getRepositoryId()); - oldDLFileEntryImpl.setFolderId(getFolderId()); - - oldDLFileEntryImpl.resetOriginalValues(); - - return oldDLFileEntryImpl; - } - - @Override - public int compareTo(OldDLFileEntry oldDLFileEntry) { - long primaryKey = oldDLFileEntry.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof OldDLFileEntry)) { - return false; - } - - OldDLFileEntry oldDLFileEntry = (OldDLFileEntry)obj; - - long primaryKey = oldDLFileEntry.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - OldDLFileEntryModelImpl oldDLFileEntryModelImpl = this; - - oldDLFileEntryModelImpl._originalGroupId = oldDLFileEntryModelImpl._groupId; - - oldDLFileEntryModelImpl._setOriginalGroupId = false; - - oldDLFileEntryModelImpl._originalRepositoryId = oldDLFileEntryModelImpl._repositoryId; - - oldDLFileEntryModelImpl._setOriginalRepositoryId = false; - - oldDLFileEntryModelImpl._originalFolderId = oldDLFileEntryModelImpl._folderId; - - oldDLFileEntryModelImpl._setOriginalFolderId = false; - - oldDLFileEntryModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - OldDLFileEntryCacheModel oldDLFileEntryCacheModel = new OldDLFileEntryCacheModel(); - - oldDLFileEntryCacheModel.fileEntryId = getFileEntryId(); - - oldDLFileEntryCacheModel.groupId = getGroupId(); - - oldDLFileEntryCacheModel.companyId = getCompanyId(); - - oldDLFileEntryCacheModel.userId = getUserId(); - - oldDLFileEntryCacheModel.userName = getUserName(); - - String userName = oldDLFileEntryCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - oldDLFileEntryCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - oldDLFileEntryCacheModel.createDate = createDate.getTime(); - } - else { - oldDLFileEntryCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - oldDLFileEntryCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - oldDLFileEntryCacheModel.modifiedDate = Long.MIN_VALUE; - } - - oldDLFileEntryCacheModel.repositoryId = getRepositoryId(); - - oldDLFileEntryCacheModel.folderId = getFolderId(); - - return oldDLFileEntryCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(19); - - sb.append("{fileEntryId="); - sb.append(getFileEntryId()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", repositoryId="); - sb.append(getRepositoryId()); - sb.append(", folderId="); - sb.append(getFolderId()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(31); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.OldDLFileEntry"); - sb.append(""); - - sb.append( - "fileEntryId"); - sb.append( - "groupId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "repositoryId"); - sb.append( - "folderId"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = OldDLFileEntry.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - OldDLFileEntry.class - }; - private long _fileEntryId; - private long _groupId; - private long _originalGroupId; - private boolean _setOriginalGroupId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _repositoryId; - private long _originalRepositoryId; - private boolean _setOriginalRepositoryId; - private long _folderId; - private long _originalFolderId; - private boolean _setOriginalFolderId; - private long _columnBitmask; - private OldDLFileEntry _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldDLFolderBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldDLFolderBaseImpl.java deleted file mode 100644 index 6e33a4b5..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldDLFolderBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.OldDLFolder; -import it.tref.liferay.portos.importazione.service.OldDLFolderLocalServiceUtil; - -/** - * The extended model base implementation for the OldDLFolder service. Represents a row in the "dlfolder" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link OldDLFolderImpl}. - *

- * - * @author 3FC - * @see OldDLFolderImpl - * @see it.tref.liferay.portos.importazione.model.OldDLFolder - * @generated - */ -public abstract class OldDLFolderBaseImpl extends OldDLFolderModelImpl - implements OldDLFolder { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a old d l folder model instance should use the {@link OldDLFolder} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - OldDLFolderLocalServiceUtil.addOldDLFolder(this); - } - else { - OldDLFolderLocalServiceUtil.updateOldDLFolder(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldDLFolderCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldDLFolderCacheModel.java deleted file mode 100644 index 43d48211..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldDLFolderCacheModel.java +++ /dev/null @@ -1,165 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.importazione.model.OldDLFolder; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing OldDLFolder in entity cache. - * - * @author 3FC - * @see OldDLFolder - * @generated - */ -public class OldDLFolderCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(21); - - sb.append("{folderId="); - sb.append(folderId); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", repositoryId="); - sb.append(repositoryId); - sb.append(", parentFolderId="); - sb.append(parentFolderId); - sb.append(", name="); - sb.append(name); - sb.append("}"); - - return sb.toString(); - } - - @Override - public OldDLFolder toEntityModel() { - OldDLFolderImpl oldDLFolderImpl = new OldDLFolderImpl(); - - oldDLFolderImpl.setFolderId(folderId); - oldDLFolderImpl.setGroupId(groupId); - oldDLFolderImpl.setCompanyId(companyId); - oldDLFolderImpl.setUserId(userId); - - if (userName == null) { - oldDLFolderImpl.setUserName(StringPool.BLANK); - } - else { - oldDLFolderImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - oldDLFolderImpl.setCreateDate(null); - } - else { - oldDLFolderImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - oldDLFolderImpl.setModifiedDate(null); - } - else { - oldDLFolderImpl.setModifiedDate(new Date(modifiedDate)); - } - - oldDLFolderImpl.setRepositoryId(repositoryId); - oldDLFolderImpl.setParentFolderId(parentFolderId); - - if (name == null) { - oldDLFolderImpl.setName(StringPool.BLANK); - } - else { - oldDLFolderImpl.setName(name); - } - - oldDLFolderImpl.resetOriginalValues(); - - return oldDLFolderImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - folderId = objectInput.readLong(); - groupId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - repositoryId = objectInput.readLong(); - parentFolderId = objectInput.readLong(); - name = objectInput.readUTF(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - objectOutput.writeLong(folderId); - objectOutput.writeLong(groupId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeLong(repositoryId); - objectOutput.writeLong(parentFolderId); - - if (name == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(name); - } - } - - public long folderId; - public long groupId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public long repositoryId; - public long parentFolderId; - public String name; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldDLFolderImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldDLFolderImpl.java deleted file mode 100644 index 63d4a323..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldDLFolderImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -/** - * The extended model implementation for the OldDLFolder service. Represents a row in the "dlfolder" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.model.OldDLFolder} interface. - *

- * - * @author 3FC - */ -public class OldDLFolderImpl extends OldDLFolderBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a old d l folder model instance should use the {@link it.tref.liferay.portos.importazione.model.OldDLFolder} interface instead. - */ - public OldDLFolderImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldDLFolderModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldDLFolderModelImpl.java deleted file mode 100644 index 446c705a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldDLFolderModelImpl.java +++ /dev/null @@ -1,630 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.importazione.model.OldDLFolder; -import it.tref.liferay.portos.importazione.model.OldDLFolderModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the OldDLFolder service. Represents a row in the "dlfolder" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.importazione.model.OldDLFolderModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link OldDLFolderImpl}. - *

- * - * @author 3FC - * @see OldDLFolderImpl - * @see it.tref.liferay.portos.importazione.model.OldDLFolder - * @see it.tref.liferay.portos.importazione.model.OldDLFolderModel - * @generated - */ -public class OldDLFolderModelImpl extends BaseModelImpl - implements OldDLFolderModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a old d l folder model instance should use the {@link it.tref.liferay.portos.importazione.model.OldDLFolder} interface instead. - */ - public static final String TABLE_NAME = "dlfolder"; - public static final Object[][] TABLE_COLUMNS = { - { "folderId", Types.BIGINT }, - { "groupId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "repositoryId", Types.BIGINT }, - { "parentFolderId", Types.BIGINT }, - { "name", Types.VARCHAR } - }; - public static final String TABLE_SQL_CREATE = "create table dlfolder (folderId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,repositoryId LONG,parentFolderId LONG,name VARCHAR(75) null)"; - public static final String TABLE_SQL_DROP = "drop table dlfolder"; - public static final String ORDER_BY_JPQL = " ORDER BY oldDLFolder.folderId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY dlfolder.folderId ASC"; - public static final String DATA_SOURCE = "utentiPortos1DbDataSource"; - public static final String SESSION_FACTORY = "utentiPortos1DbSessionFactory"; - public static final String TX_MANAGER = "utentiPortos1DbTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.importazione.model.OldDLFolder"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.importazione.model.OldDLFolder"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.importazione.model.OldDLFolder"), - true); - public static long NAME_COLUMN_BITMASK = 1L; - public static long PARENTFOLDERID_COLUMN_BITMASK = 2L; - public static long REPOSITORYID_COLUMN_BITMASK = 4L; - public static long FOLDERID_COLUMN_BITMASK = 8L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.importazione.model.OldDLFolder")); - - public OldDLFolderModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _folderId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setFolderId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _folderId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return OldDLFolder.class; - } - - @Override - public String getModelClassName() { - return OldDLFolder.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("folderId", getFolderId()); - attributes.put("groupId", getGroupId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("repositoryId", getRepositoryId()); - attributes.put("parentFolderId", getParentFolderId()); - attributes.put("name", getName()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long folderId = (Long)attributes.get("folderId"); - - if (folderId != null) { - setFolderId(folderId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long repositoryId = (Long)attributes.get("repositoryId"); - - if (repositoryId != null) { - setRepositoryId(repositoryId); - } - - Long parentFolderId = (Long)attributes.get("parentFolderId"); - - if (parentFolderId != null) { - setParentFolderId(parentFolderId); - } - - String name = (String)attributes.get("name"); - - if (name != null) { - setName(name); - } - } - - @Override - public long getFolderId() { - return _folderId; - } - - @Override - public void setFolderId(long folderId) { - _folderId = folderId; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public long getRepositoryId() { - return _repositoryId; - } - - @Override - public void setRepositoryId(long repositoryId) { - _columnBitmask |= REPOSITORYID_COLUMN_BITMASK; - - if (!_setOriginalRepositoryId) { - _setOriginalRepositoryId = true; - - _originalRepositoryId = _repositoryId; - } - - _repositoryId = repositoryId; - } - - public long getOriginalRepositoryId() { - return _originalRepositoryId; - } - - @Override - public long getParentFolderId() { - return _parentFolderId; - } - - @Override - public void setParentFolderId(long parentFolderId) { - _columnBitmask |= PARENTFOLDERID_COLUMN_BITMASK; - - if (!_setOriginalParentFolderId) { - _setOriginalParentFolderId = true; - - _originalParentFolderId = _parentFolderId; - } - - _parentFolderId = parentFolderId; - } - - public long getOriginalParentFolderId() { - return _originalParentFolderId; - } - - @Override - public String getName() { - if (_name == null) { - return StringPool.BLANK; - } - else { - return _name; - } - } - - @Override - public void setName(String name) { - _columnBitmask |= NAME_COLUMN_BITMASK; - - if (_originalName == null) { - _originalName = _name; - } - - _name = name; - } - - public String getOriginalName() { - return GetterUtil.getString(_originalName); - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - OldDLFolder.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public OldDLFolder toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (OldDLFolder)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - OldDLFolderImpl oldDLFolderImpl = new OldDLFolderImpl(); - - oldDLFolderImpl.setFolderId(getFolderId()); - oldDLFolderImpl.setGroupId(getGroupId()); - oldDLFolderImpl.setCompanyId(getCompanyId()); - oldDLFolderImpl.setUserId(getUserId()); - oldDLFolderImpl.setUserName(getUserName()); - oldDLFolderImpl.setCreateDate(getCreateDate()); - oldDLFolderImpl.setModifiedDate(getModifiedDate()); - oldDLFolderImpl.setRepositoryId(getRepositoryId()); - oldDLFolderImpl.setParentFolderId(getParentFolderId()); - oldDLFolderImpl.setName(getName()); - - oldDLFolderImpl.resetOriginalValues(); - - return oldDLFolderImpl; - } - - @Override - public int compareTo(OldDLFolder oldDLFolder) { - long primaryKey = oldDLFolder.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof OldDLFolder)) { - return false; - } - - OldDLFolder oldDLFolder = (OldDLFolder)obj; - - long primaryKey = oldDLFolder.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - OldDLFolderModelImpl oldDLFolderModelImpl = this; - - oldDLFolderModelImpl._originalRepositoryId = oldDLFolderModelImpl._repositoryId; - - oldDLFolderModelImpl._setOriginalRepositoryId = false; - - oldDLFolderModelImpl._originalParentFolderId = oldDLFolderModelImpl._parentFolderId; - - oldDLFolderModelImpl._setOriginalParentFolderId = false; - - oldDLFolderModelImpl._originalName = oldDLFolderModelImpl._name; - - oldDLFolderModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - OldDLFolderCacheModel oldDLFolderCacheModel = new OldDLFolderCacheModel(); - - oldDLFolderCacheModel.folderId = getFolderId(); - - oldDLFolderCacheModel.groupId = getGroupId(); - - oldDLFolderCacheModel.companyId = getCompanyId(); - - oldDLFolderCacheModel.userId = getUserId(); - - oldDLFolderCacheModel.userName = getUserName(); - - String userName = oldDLFolderCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - oldDLFolderCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - oldDLFolderCacheModel.createDate = createDate.getTime(); - } - else { - oldDLFolderCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - oldDLFolderCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - oldDLFolderCacheModel.modifiedDate = Long.MIN_VALUE; - } - - oldDLFolderCacheModel.repositoryId = getRepositoryId(); - - oldDLFolderCacheModel.parentFolderId = getParentFolderId(); - - oldDLFolderCacheModel.name = getName(); - - String name = oldDLFolderCacheModel.name; - - if ((name != null) && (name.length() == 0)) { - oldDLFolderCacheModel.name = null; - } - - return oldDLFolderCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(21); - - sb.append("{folderId="); - sb.append(getFolderId()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", repositoryId="); - sb.append(getRepositoryId()); - sb.append(", parentFolderId="); - sb.append(getParentFolderId()); - sb.append(", name="); - sb.append(getName()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(34); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.OldDLFolder"); - sb.append(""); - - sb.append( - "folderId"); - sb.append( - "groupId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "repositoryId"); - sb.append( - "parentFolderId"); - sb.append( - "name"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = OldDLFolder.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - OldDLFolder.class - }; - private long _folderId; - private long _groupId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _repositoryId; - private long _originalRepositoryId; - private boolean _setOriginalRepositoryId; - private long _parentFolderId; - private long _originalParentFolderId; - private boolean _setOriginalParentFolderId; - private String _name; - private String _originalName; - private long _columnBitmask; - private OldDLFolder _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldGroupBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldGroupBaseImpl.java deleted file mode 100644 index 568beecf..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldGroupBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.OldGroup; -import it.tref.liferay.portos.importazione.service.OldGroupLocalServiceUtil; - -/** - * The extended model base implementation for the OldGroup service. Represents a row in the "group_" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link OldGroupImpl}. - *

- * - * @author 3FC - * @see OldGroupImpl - * @see it.tref.liferay.portos.importazione.model.OldGroup - * @generated - */ -public abstract class OldGroupBaseImpl extends OldGroupModelImpl - implements OldGroup { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a old group model instance should use the {@link OldGroup} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - OldGroupLocalServiceUtil.addOldGroup(this); - } - else { - OldGroupLocalServiceUtil.updateOldGroup(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldGroupCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldGroupCacheModel.java deleted file mode 100644 index 0fad55b3..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldGroupCacheModel.java +++ /dev/null @@ -1,142 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.importazione.model.OldGroup; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -/** - * The cache model class for representing OldGroup in entity cache. - * - * @author 3FC - * @see OldGroup - * @generated - */ -public class OldGroupCacheModel implements CacheModel, Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(19); - - sb.append("{groupId="); - sb.append(groupId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", creatorUserId="); - sb.append(creatorUserId); - sb.append(", classNameId="); - sb.append(classNameId); - sb.append(", classPK="); - sb.append(classPK); - sb.append(", parentGroupId="); - sb.append(parentGroupId); - sb.append(", liveGroupId="); - sb.append(liveGroupId); - sb.append(", name="); - sb.append(name); - sb.append(", description="); - sb.append(description); - sb.append("}"); - - return sb.toString(); - } - - @Override - public OldGroup toEntityModel() { - OldGroupImpl oldGroupImpl = new OldGroupImpl(); - - oldGroupImpl.setGroupId(groupId); - oldGroupImpl.setCompanyId(companyId); - oldGroupImpl.setCreatorUserId(creatorUserId); - oldGroupImpl.setClassNameId(classNameId); - oldGroupImpl.setClassPK(classPK); - oldGroupImpl.setParentGroupId(parentGroupId); - oldGroupImpl.setLiveGroupId(liveGroupId); - - if (name == null) { - oldGroupImpl.setName(StringPool.BLANK); - } - else { - oldGroupImpl.setName(name); - } - - if (description == null) { - oldGroupImpl.setDescription(StringPool.BLANK); - } - else { - oldGroupImpl.setDescription(description); - } - - oldGroupImpl.resetOriginalValues(); - - return oldGroupImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - groupId = objectInput.readLong(); - companyId = objectInput.readLong(); - creatorUserId = objectInput.readLong(); - classNameId = objectInput.readLong(); - classPK = objectInput.readLong(); - parentGroupId = objectInput.readLong(); - liveGroupId = objectInput.readLong(); - name = objectInput.readUTF(); - description = objectInput.readUTF(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - objectOutput.writeLong(groupId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(creatorUserId); - objectOutput.writeLong(classNameId); - objectOutput.writeLong(classPK); - objectOutput.writeLong(parentGroupId); - objectOutput.writeLong(liveGroupId); - - if (name == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(name); - } - - if (description == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(description); - } - } - - public long groupId; - public long companyId; - public long creatorUserId; - public long classNameId; - public long classPK; - public long parentGroupId; - public long liveGroupId; - public String name; - public String description; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldGroupImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldGroupImpl.java deleted file mode 100644 index 22ec7b79..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldGroupImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -/** - * The extended model implementation for the OldGroup service. Represents a row in the "group_" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.model.OldGroup} interface. - *

- * - * @author 3FC - */ -public class OldGroupImpl extends OldGroupBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a old group model instance should use the {@link it.tref.liferay.portos.importazione.model.OldGroup} interface instead. - */ - public OldGroupImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldGroupModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldGroupModelImpl.java deleted file mode 100644 index 7aeaaf4a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldGroupModelImpl.java +++ /dev/null @@ -1,546 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.importazione.model.OldGroup; -import it.tref.liferay.portos.importazione.model.OldGroupModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the OldGroup service. Represents a row in the "group_" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.importazione.model.OldGroupModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link OldGroupImpl}. - *

- * - * @author 3FC - * @see OldGroupImpl - * @see it.tref.liferay.portos.importazione.model.OldGroup - * @see it.tref.liferay.portos.importazione.model.OldGroupModel - * @generated - */ -public class OldGroupModelImpl extends BaseModelImpl - implements OldGroupModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a old group model instance should use the {@link it.tref.liferay.portos.importazione.model.OldGroup} interface instead. - */ - public static final String TABLE_NAME = "group_"; - public static final Object[][] TABLE_COLUMNS = { - { "groupId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "creatorUserId", Types.BIGINT }, - { "classNameId", Types.BIGINT }, - { "classPK", Types.BIGINT }, - { "parentGroupId", Types.BIGINT }, - { "liveGroupId", Types.BIGINT }, - { "name", Types.VARCHAR }, - { "description", Types.VARCHAR } - }; - public static final String TABLE_SQL_CREATE = "create table group_ (groupId LONG not null primary key,companyId LONG,creatorUserId LONG,classNameId LONG,classPK LONG,parentGroupId LONG,liveGroupId LONG,name VARCHAR(75) null,description VARCHAR(75) null)"; - public static final String TABLE_SQL_DROP = "drop table group_"; - public static final String ORDER_BY_JPQL = " ORDER BY oldGroup.groupId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY group_.groupId ASC"; - public static final String DATA_SOURCE = "utentiPortos1DbDataSource"; - public static final String SESSION_FACTORY = "utentiPortos1DbSessionFactory"; - public static final String TX_MANAGER = "utentiPortos1DbTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.importazione.model.OldGroup"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.importazione.model.OldGroup"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = false; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.importazione.model.OldGroup")); - - public OldGroupModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _groupId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setGroupId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _groupId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return OldGroup.class; - } - - @Override - public String getModelClassName() { - return OldGroup.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("groupId", getGroupId()); - attributes.put("companyId", getCompanyId()); - attributes.put("creatorUserId", getCreatorUserId()); - attributes.put("classNameId", getClassNameId()); - attributes.put("classPK", getClassPK()); - attributes.put("parentGroupId", getParentGroupId()); - attributes.put("liveGroupId", getLiveGroupId()); - attributes.put("name", getName()); - attributes.put("description", getDescription()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long creatorUserId = (Long)attributes.get("creatorUserId"); - - if (creatorUserId != null) { - setCreatorUserId(creatorUserId); - } - - Long classNameId = (Long)attributes.get("classNameId"); - - if (classNameId != null) { - setClassNameId(classNameId); - } - - Long classPK = (Long)attributes.get("classPK"); - - if (classPK != null) { - setClassPK(classPK); - } - - Long parentGroupId = (Long)attributes.get("parentGroupId"); - - if (parentGroupId != null) { - setParentGroupId(parentGroupId); - } - - Long liveGroupId = (Long)attributes.get("liveGroupId"); - - if (liveGroupId != null) { - setLiveGroupId(liveGroupId); - } - - String name = (String)attributes.get("name"); - - if (name != null) { - setName(name); - } - - String description = (String)attributes.get("description"); - - if (description != null) { - setDescription(description); - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - @Override - public long getCreatorUserId() { - return _creatorUserId; - } - - @Override - public void setCreatorUserId(long creatorUserId) { - _creatorUserId = creatorUserId; - } - - @Override - public String getCreatorUserUuid() throws SystemException { - return PortalUtil.getUserValue(getCreatorUserId(), "uuid", - _creatorUserUuid); - } - - @Override - public void setCreatorUserUuid(String creatorUserUuid) { - _creatorUserUuid = creatorUserUuid; - } - - @Override - public String getClassName() { - if (getClassNameId() <= 0) { - return StringPool.BLANK; - } - - return PortalUtil.getClassName(getClassNameId()); - } - - @Override - public void setClassName(String className) { - long classNameId = 0; - - if (Validator.isNotNull(className)) { - classNameId = PortalUtil.getClassNameId(className); - } - - setClassNameId(classNameId); - } - - @Override - public long getClassNameId() { - return _classNameId; - } - - @Override - public void setClassNameId(long classNameId) { - _classNameId = classNameId; - } - - @Override - public long getClassPK() { - return _classPK; - } - - @Override - public void setClassPK(long classPK) { - _classPK = classPK; - } - - @Override - public long getParentGroupId() { - return _parentGroupId; - } - - @Override - public void setParentGroupId(long parentGroupId) { - _parentGroupId = parentGroupId; - } - - @Override - public long getLiveGroupId() { - return _liveGroupId; - } - - @Override - public void setLiveGroupId(long liveGroupId) { - _liveGroupId = liveGroupId; - } - - @Override - public String getName() { - if (_name == null) { - return StringPool.BLANK; - } - else { - return _name; - } - } - - @Override - public void setName(String name) { - _name = name; - } - - @Override - public String getDescription() { - if (_description == null) { - return StringPool.BLANK; - } - else { - return _description; - } - } - - @Override - public void setDescription(String description) { - _description = description; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - OldGroup.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public OldGroup toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (OldGroup)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - OldGroupImpl oldGroupImpl = new OldGroupImpl(); - - oldGroupImpl.setGroupId(getGroupId()); - oldGroupImpl.setCompanyId(getCompanyId()); - oldGroupImpl.setCreatorUserId(getCreatorUserId()); - oldGroupImpl.setClassNameId(getClassNameId()); - oldGroupImpl.setClassPK(getClassPK()); - oldGroupImpl.setParentGroupId(getParentGroupId()); - oldGroupImpl.setLiveGroupId(getLiveGroupId()); - oldGroupImpl.setName(getName()); - oldGroupImpl.setDescription(getDescription()); - - oldGroupImpl.resetOriginalValues(); - - return oldGroupImpl; - } - - @Override - public int compareTo(OldGroup oldGroup) { - long primaryKey = oldGroup.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof OldGroup)) { - return false; - } - - OldGroup oldGroup = (OldGroup)obj; - - long primaryKey = oldGroup.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - } - - @Override - public CacheModel toCacheModel() { - OldGroupCacheModel oldGroupCacheModel = new OldGroupCacheModel(); - - oldGroupCacheModel.groupId = getGroupId(); - - oldGroupCacheModel.companyId = getCompanyId(); - - oldGroupCacheModel.creatorUserId = getCreatorUserId(); - - oldGroupCacheModel.classNameId = getClassNameId(); - - oldGroupCacheModel.classPK = getClassPK(); - - oldGroupCacheModel.parentGroupId = getParentGroupId(); - - oldGroupCacheModel.liveGroupId = getLiveGroupId(); - - oldGroupCacheModel.name = getName(); - - String name = oldGroupCacheModel.name; - - if ((name != null) && (name.length() == 0)) { - oldGroupCacheModel.name = null; - } - - oldGroupCacheModel.description = getDescription(); - - String description = oldGroupCacheModel.description; - - if ((description != null) && (description.length() == 0)) { - oldGroupCacheModel.description = null; - } - - return oldGroupCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(19); - - sb.append("{groupId="); - sb.append(getGroupId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", creatorUserId="); - sb.append(getCreatorUserId()); - sb.append(", classNameId="); - sb.append(getClassNameId()); - sb.append(", classPK="); - sb.append(getClassPK()); - sb.append(", parentGroupId="); - sb.append(getParentGroupId()); - sb.append(", liveGroupId="); - sb.append(getLiveGroupId()); - sb.append(", name="); - sb.append(getName()); - sb.append(", description="); - sb.append(getDescription()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(31); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.OldGroup"); - sb.append(""); - - sb.append( - "groupId"); - sb.append( - "companyId"); - sb.append( - "creatorUserId"); - sb.append( - "classNameId"); - sb.append( - "classPK"); - sb.append( - "parentGroupId"); - sb.append( - "liveGroupId"); - sb.append( - "name"); - sb.append( - "description"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = OldGroup.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - OldGroup.class - }; - private long _groupId; - private long _companyId; - private long _creatorUserId; - private String _creatorUserUuid; - private long _classNameId; - private long _classPK; - private long _parentGroupId; - private long _liveGroupId; - private String _name; - private String _description; - private OldGroup _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldOrganizationBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldOrganizationBaseImpl.java deleted file mode 100644 index 5a78e092..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldOrganizationBaseImpl.java +++ /dev/null @@ -1,92 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; - -import it.tref.liferay.portos.importazione.model.OldOrganization; -import it.tref.liferay.portos.importazione.service.OldOrganizationLocalServiceUtil; - -import java.util.ArrayList; -import java.util.List; - -/** - * The extended model base implementation for the OldOrganization service. Represents a row in the "organization_" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link OldOrganizationImpl}. - *

- * - * @author 3FC - * @see OldOrganizationImpl - * @see it.tref.liferay.portos.importazione.model.OldOrganization - * @generated - */ -public abstract class OldOrganizationBaseImpl extends OldOrganizationModelImpl - implements OldOrganization { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a old organization model instance should use the {@link OldOrganization} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - OldOrganizationLocalServiceUtil.addOldOrganization(this); - } - else { - OldOrganizationLocalServiceUtil.updateOldOrganization(this); - } - } - - @Override - @SuppressWarnings("unused") - public String buildTreePath() throws PortalException, SystemException { - List oldOrganizations = new ArrayList(); - - OldOrganization oldOrganization = this; - - while (oldOrganization != null) { - oldOrganizations.add(oldOrganization); - - oldOrganization = OldOrganizationLocalServiceUtil.fetchOldOrganization(oldOrganization.getParentOrganizationId()); - } - - StringBundler sb = new StringBundler((oldOrganizations.size() * 2) + 1); - - sb.append(StringPool.SLASH); - - for (int i = oldOrganizations.size() - 1; i >= 0; i--) { - oldOrganization = oldOrganizations.get(i); - - sb.append(oldOrganization.getOrganizationId()); - sb.append(StringPool.SLASH); - } - - return sb.toString(); - } - - @Override - public void updateTreePath(String treePath) throws SystemException { - OldOrganization oldOrganization = this; - - oldOrganization.setTreePath(treePath); - - OldOrganizationLocalServiceUtil.updateOldOrganization(oldOrganization); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldOrganizationCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldOrganizationCacheModel.java deleted file mode 100644 index e4b7017a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldOrganizationCacheModel.java +++ /dev/null @@ -1,233 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.importazione.model.OldOrganization; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing OldOrganization in entity cache. - * - * @author 3FC - * @see OldOrganization - * @generated - */ -public class OldOrganizationCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(31); - - sb.append("{organizationId="); - sb.append(organizationId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", parentOrganizationId="); - sb.append(parentOrganizationId); - sb.append(", treePath="); - sb.append(treePath); - sb.append(", name="); - sb.append(name); - sb.append(", type="); - sb.append(type); - sb.append(", recursable="); - sb.append(recursable); - sb.append(", regionId="); - sb.append(regionId); - sb.append(", countryId="); - sb.append(countryId); - sb.append(", statusId="); - sb.append(statusId); - sb.append(", comments="); - sb.append(comments); - sb.append("}"); - - return sb.toString(); - } - - @Override - public OldOrganization toEntityModel() { - OldOrganizationImpl oldOrganizationImpl = new OldOrganizationImpl(); - - oldOrganizationImpl.setOrganizationId(organizationId); - oldOrganizationImpl.setCompanyId(companyId); - oldOrganizationImpl.setUserId(userId); - - if (userName == null) { - oldOrganizationImpl.setUserName(StringPool.BLANK); - } - else { - oldOrganizationImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - oldOrganizationImpl.setCreateDate(null); - } - else { - oldOrganizationImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - oldOrganizationImpl.setModifiedDate(null); - } - else { - oldOrganizationImpl.setModifiedDate(new Date(modifiedDate)); - } - - oldOrganizationImpl.setParentOrganizationId(parentOrganizationId); - - if (treePath == null) { - oldOrganizationImpl.setTreePath(StringPool.BLANK); - } - else { - oldOrganizationImpl.setTreePath(treePath); - } - - if (name == null) { - oldOrganizationImpl.setName(StringPool.BLANK); - } - else { - oldOrganizationImpl.setName(name); - } - - if (type == null) { - oldOrganizationImpl.setType(StringPool.BLANK); - } - else { - oldOrganizationImpl.setType(type); - } - - oldOrganizationImpl.setRecursable(recursable); - oldOrganizationImpl.setRegionId(regionId); - oldOrganizationImpl.setCountryId(countryId); - oldOrganizationImpl.setStatusId(statusId); - - if (comments == null) { - oldOrganizationImpl.setComments(StringPool.BLANK); - } - else { - oldOrganizationImpl.setComments(comments); - } - - oldOrganizationImpl.resetOriginalValues(); - - return oldOrganizationImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - organizationId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - parentOrganizationId = objectInput.readLong(); - treePath = objectInput.readUTF(); - name = objectInput.readUTF(); - type = objectInput.readUTF(); - recursable = objectInput.readBoolean(); - regionId = objectInput.readLong(); - countryId = objectInput.readLong(); - statusId = objectInput.readInt(); - comments = objectInput.readUTF(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - objectOutput.writeLong(organizationId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeLong(parentOrganizationId); - - if (treePath == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(treePath); - } - - if (name == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(name); - } - - if (type == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(type); - } - - objectOutput.writeBoolean(recursable); - objectOutput.writeLong(regionId); - objectOutput.writeLong(countryId); - objectOutput.writeInt(statusId); - - if (comments == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(comments); - } - } - - public long organizationId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public long parentOrganizationId; - public String treePath; - public String name; - public String type; - public boolean recursable; - public long regionId; - public long countryId; - public int statusId; - public String comments; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldOrganizationImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldOrganizationImpl.java deleted file mode 100644 index ec91e805..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldOrganizationImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -/** - * The extended model implementation for the OldOrganization service. Represents a row in the "organization_" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.model.OldOrganization} interface. - *

- * - * @author 3FC - */ -public class OldOrganizationImpl extends OldOrganizationBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a old organization model instance should use the {@link it.tref.liferay.portos.importazione.model.OldOrganization} interface instead. - */ - public OldOrganizationImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldOrganizationModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldOrganizationModelImpl.java deleted file mode 100644 index bceb3d19..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldOrganizationModelImpl.java +++ /dev/null @@ -1,745 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.importazione.model.OldOrganization; -import it.tref.liferay.portos.importazione.model.OldOrganizationModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the OldOrganization service. Represents a row in the "organization_" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.importazione.model.OldOrganizationModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link OldOrganizationImpl}. - *

- * - * @author 3FC - * @see OldOrganizationImpl - * @see it.tref.liferay.portos.importazione.model.OldOrganization - * @see it.tref.liferay.portos.importazione.model.OldOrganizationModel - * @generated - */ -public class OldOrganizationModelImpl extends BaseModelImpl - implements OldOrganizationModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a old organization model instance should use the {@link it.tref.liferay.portos.importazione.model.OldOrganization} interface instead. - */ - public static final String TABLE_NAME = "organization_"; - public static final Object[][] TABLE_COLUMNS = { - { "organizationId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "parentOrganizationId", Types.BIGINT }, - { "treePath", Types.VARCHAR }, - { "name", Types.VARCHAR }, - { "type_", Types.VARCHAR }, - { "recursable", Types.BOOLEAN }, - { "regionId", Types.BIGINT }, - { "countryId", Types.BIGINT }, - { "statusId", Types.INTEGER }, - { "comments", Types.VARCHAR } - }; - public static final String TABLE_SQL_CREATE = "create table organization_ (organizationId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,parentOrganizationId LONG,treePath VARCHAR(75) null,name VARCHAR(75) null,type_ VARCHAR(75) null,recursable BOOLEAN,regionId LONG,countryId LONG,statusId INTEGER,comments VARCHAR(75) null)"; - public static final String TABLE_SQL_DROP = "drop table organization_"; - public static final String ORDER_BY_JPQL = " ORDER BY oldOrganization.organizationId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY organization_.organizationId ASC"; - public static final String DATA_SOURCE = "utentiPortos1DbDataSource"; - public static final String SESSION_FACTORY = "utentiPortos1DbSessionFactory"; - public static final String TX_MANAGER = "utentiPortos1DbTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.importazione.model.OldOrganization"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.importazione.model.OldOrganization"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = false; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.importazione.model.OldOrganization")); - - public OldOrganizationModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _organizationId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setOrganizationId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _organizationId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return OldOrganization.class; - } - - @Override - public String getModelClassName() { - return OldOrganization.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("organizationId", getOrganizationId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("parentOrganizationId", getParentOrganizationId()); - attributes.put("treePath", getTreePath()); - attributes.put("name", getName()); - attributes.put("type", getType()); - attributes.put("recursable", getRecursable()); - attributes.put("regionId", getRegionId()); - attributes.put("countryId", getCountryId()); - attributes.put("statusId", getStatusId()); - attributes.put("comments", getComments()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long organizationId = (Long)attributes.get("organizationId"); - - if (organizationId != null) { - setOrganizationId(organizationId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long parentOrganizationId = (Long)attributes.get("parentOrganizationId"); - - if (parentOrganizationId != null) { - setParentOrganizationId(parentOrganizationId); - } - - String treePath = (String)attributes.get("treePath"); - - if (treePath != null) { - setTreePath(treePath); - } - - String name = (String)attributes.get("name"); - - if (name != null) { - setName(name); - } - - String type = (String)attributes.get("type"); - - if (type != null) { - setType(type); - } - - Boolean recursable = (Boolean)attributes.get("recursable"); - - if (recursable != null) { - setRecursable(recursable); - } - - Long regionId = (Long)attributes.get("regionId"); - - if (regionId != null) { - setRegionId(regionId); - } - - Long countryId = (Long)attributes.get("countryId"); - - if (countryId != null) { - setCountryId(countryId); - } - - Integer statusId = (Integer)attributes.get("statusId"); - - if (statusId != null) { - setStatusId(statusId); - } - - String comments = (String)attributes.get("comments"); - - if (comments != null) { - setComments(comments); - } - } - - @Override - public long getOrganizationId() { - return _organizationId; - } - - @Override - public void setOrganizationId(long organizationId) { - _organizationId = organizationId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public long getParentOrganizationId() { - return _parentOrganizationId; - } - - @Override - public void setParentOrganizationId(long parentOrganizationId) { - _parentOrganizationId = parentOrganizationId; - } - - @Override - public String getTreePath() { - if (_treePath == null) { - return StringPool.BLANK; - } - else { - return _treePath; - } - } - - @Override - public void setTreePath(String treePath) { - _treePath = treePath; - } - - @Override - public String getName() { - if (_name == null) { - return StringPool.BLANK; - } - else { - return _name; - } - } - - @Override - public void setName(String name) { - _name = name; - } - - @Override - public String getType() { - if (_type == null) { - return StringPool.BLANK; - } - else { - return _type; - } - } - - @Override - public void setType(String type) { - _type = type; - } - - @Override - public boolean getRecursable() { - return _recursable; - } - - @Override - public boolean isRecursable() { - return _recursable; - } - - @Override - public void setRecursable(boolean recursable) { - _recursable = recursable; - } - - @Override - public long getRegionId() { - return _regionId; - } - - @Override - public void setRegionId(long regionId) { - _regionId = regionId; - } - - @Override - public long getCountryId() { - return _countryId; - } - - @Override - public void setCountryId(long countryId) { - _countryId = countryId; - } - - @Override - public int getStatusId() { - return _statusId; - } - - @Override - public void setStatusId(int statusId) { - _statusId = statusId; - } - - @Override - public String getComments() { - if (_comments == null) { - return StringPool.BLANK; - } - else { - return _comments; - } - } - - @Override - public void setComments(String comments) { - _comments = comments; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - OldOrganization.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public OldOrganization toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (OldOrganization)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - OldOrganizationImpl oldOrganizationImpl = new OldOrganizationImpl(); - - oldOrganizationImpl.setOrganizationId(getOrganizationId()); - oldOrganizationImpl.setCompanyId(getCompanyId()); - oldOrganizationImpl.setUserId(getUserId()); - oldOrganizationImpl.setUserName(getUserName()); - oldOrganizationImpl.setCreateDate(getCreateDate()); - oldOrganizationImpl.setModifiedDate(getModifiedDate()); - oldOrganizationImpl.setParentOrganizationId(getParentOrganizationId()); - oldOrganizationImpl.setTreePath(getTreePath()); - oldOrganizationImpl.setName(getName()); - oldOrganizationImpl.setType(getType()); - oldOrganizationImpl.setRecursable(getRecursable()); - oldOrganizationImpl.setRegionId(getRegionId()); - oldOrganizationImpl.setCountryId(getCountryId()); - oldOrganizationImpl.setStatusId(getStatusId()); - oldOrganizationImpl.setComments(getComments()); - - oldOrganizationImpl.resetOriginalValues(); - - return oldOrganizationImpl; - } - - @Override - public int compareTo(OldOrganization oldOrganization) { - long primaryKey = oldOrganization.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof OldOrganization)) { - return false; - } - - OldOrganization oldOrganization = (OldOrganization)obj; - - long primaryKey = oldOrganization.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - } - - @Override - public CacheModel toCacheModel() { - OldOrganizationCacheModel oldOrganizationCacheModel = new OldOrganizationCacheModel(); - - oldOrganizationCacheModel.organizationId = getOrganizationId(); - - oldOrganizationCacheModel.companyId = getCompanyId(); - - oldOrganizationCacheModel.userId = getUserId(); - - oldOrganizationCacheModel.userName = getUserName(); - - String userName = oldOrganizationCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - oldOrganizationCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - oldOrganizationCacheModel.createDate = createDate.getTime(); - } - else { - oldOrganizationCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - oldOrganizationCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - oldOrganizationCacheModel.modifiedDate = Long.MIN_VALUE; - } - - oldOrganizationCacheModel.parentOrganizationId = getParentOrganizationId(); - - oldOrganizationCacheModel.treePath = getTreePath(); - - String treePath = oldOrganizationCacheModel.treePath; - - if ((treePath != null) && (treePath.length() == 0)) { - oldOrganizationCacheModel.treePath = null; - } - - oldOrganizationCacheModel.name = getName(); - - String name = oldOrganizationCacheModel.name; - - if ((name != null) && (name.length() == 0)) { - oldOrganizationCacheModel.name = null; - } - - oldOrganizationCacheModel.type = getType(); - - String type = oldOrganizationCacheModel.type; - - if ((type != null) && (type.length() == 0)) { - oldOrganizationCacheModel.type = null; - } - - oldOrganizationCacheModel.recursable = getRecursable(); - - oldOrganizationCacheModel.regionId = getRegionId(); - - oldOrganizationCacheModel.countryId = getCountryId(); - - oldOrganizationCacheModel.statusId = getStatusId(); - - oldOrganizationCacheModel.comments = getComments(); - - String comments = oldOrganizationCacheModel.comments; - - if ((comments != null) && (comments.length() == 0)) { - oldOrganizationCacheModel.comments = null; - } - - return oldOrganizationCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(31); - - sb.append("{organizationId="); - sb.append(getOrganizationId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", parentOrganizationId="); - sb.append(getParentOrganizationId()); - sb.append(", treePath="); - sb.append(getTreePath()); - sb.append(", name="); - sb.append(getName()); - sb.append(", type="); - sb.append(getType()); - sb.append(", recursable="); - sb.append(getRecursable()); - sb.append(", regionId="); - sb.append(getRegionId()); - sb.append(", countryId="); - sb.append(getCountryId()); - sb.append(", statusId="); - sb.append(getStatusId()); - sb.append(", comments="); - sb.append(getComments()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(49); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.OldOrganization"); - sb.append(""); - - sb.append( - "organizationId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "parentOrganizationId"); - sb.append( - "treePath"); - sb.append( - "name"); - sb.append( - "type"); - sb.append( - "recursable"); - sb.append( - "regionId"); - sb.append( - "countryId"); - sb.append( - "statusId"); - sb.append( - "comments"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = OldOrganization.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - OldOrganization.class - }; - private long _organizationId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _parentOrganizationId; - private String _treePath; - private String _name; - private String _type; - private boolean _recursable; - private long _regionId; - private long _countryId; - private int _statusId; - private String _comments; - private OldOrganization _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldRoleBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldRoleBaseImpl.java deleted file mode 100644 index 32ebf36d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldRoleBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.OldRole; -import it.tref.liferay.portos.importazione.service.OldRoleLocalServiceUtil; - -/** - * The extended model base implementation for the OldRole service. Represents a row in the "role_" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link OldRoleImpl}. - *

- * - * @author 3FC - * @see OldRoleImpl - * @see it.tref.liferay.portos.importazione.model.OldRole - * @generated - */ -public abstract class OldRoleBaseImpl extends OldRoleModelImpl - implements OldRole { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a old role model instance should use the {@link OldRole} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - OldRoleLocalServiceUtil.addOldRole(this); - } - else { - OldRoleLocalServiceUtil.updateOldRole(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldRoleCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldRoleCacheModel.java deleted file mode 100644 index 57311b71..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldRoleCacheModel.java +++ /dev/null @@ -1,220 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.importazione.model.OldRole; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing OldRole in entity cache. - * - * @author 3FC - * @see OldRole - * @generated - */ -public class OldRoleCacheModel implements CacheModel, Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(27); - - sb.append("{roleId="); - sb.append(roleId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", classNameId="); - sb.append(classNameId); - sb.append(", classPK="); - sb.append(classPK); - sb.append(", name="); - sb.append(name); - sb.append(", title="); - sb.append(title); - sb.append(", description="); - sb.append(description); - sb.append(", type="); - sb.append(type); - sb.append(", subtype="); - sb.append(subtype); - sb.append("}"); - - return sb.toString(); - } - - @Override - public OldRole toEntityModel() { - OldRoleImpl oldRoleImpl = new OldRoleImpl(); - - oldRoleImpl.setRoleId(roleId); - oldRoleImpl.setCompanyId(companyId); - oldRoleImpl.setUserId(userId); - - if (userName == null) { - oldRoleImpl.setUserName(StringPool.BLANK); - } - else { - oldRoleImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - oldRoleImpl.setCreateDate(null); - } - else { - oldRoleImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - oldRoleImpl.setModifiedDate(null); - } - else { - oldRoleImpl.setModifiedDate(new Date(modifiedDate)); - } - - oldRoleImpl.setClassNameId(classNameId); - oldRoleImpl.setClassPK(classPK); - - if (name == null) { - oldRoleImpl.setName(StringPool.BLANK); - } - else { - oldRoleImpl.setName(name); - } - - if (title == null) { - oldRoleImpl.setTitle(StringPool.BLANK); - } - else { - oldRoleImpl.setTitle(title); - } - - if (description == null) { - oldRoleImpl.setDescription(StringPool.BLANK); - } - else { - oldRoleImpl.setDescription(description); - } - - oldRoleImpl.setType(type); - - if (subtype == null) { - oldRoleImpl.setSubtype(StringPool.BLANK); - } - else { - oldRoleImpl.setSubtype(subtype); - } - - oldRoleImpl.resetOriginalValues(); - - return oldRoleImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - roleId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - classNameId = objectInput.readLong(); - classPK = objectInput.readLong(); - name = objectInput.readUTF(); - title = objectInput.readUTF(); - description = objectInput.readUTF(); - type = objectInput.readInt(); - subtype = objectInput.readUTF(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - objectOutput.writeLong(roleId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeLong(classNameId); - objectOutput.writeLong(classPK); - - if (name == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(name); - } - - if (title == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(title); - } - - if (description == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(description); - } - - objectOutput.writeInt(type); - - if (subtype == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(subtype); - } - } - - public long roleId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public long classNameId; - public long classPK; - public String name; - public String title; - public String description; - public int type; - public String subtype; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldRoleImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldRoleImpl.java deleted file mode 100644 index f21a8617..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldRoleImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -/** - * The extended model implementation for the OldRole service. Represents a row in the "role_" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.model.OldRole} interface. - *

- * - * @author 3FC - */ -public class OldRoleImpl extends OldRoleBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a old role model instance should use the {@link it.tref.liferay.portos.importazione.model.OldRole} interface instead. - */ - public OldRoleImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldRoleModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldRoleModelImpl.java deleted file mode 100644 index 7ab65eee..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldRoleModelImpl.java +++ /dev/null @@ -1,959 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.LocaleException; -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.json.JSON; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.LocaleUtil; -import com.liferay.portal.kernel.util.LocalizationUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.importazione.model.OldRole; -import it.tref.liferay.portos.importazione.model.OldRoleModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Locale; -import java.util.Map; -import java.util.Set; -import java.util.TreeSet; - -/** - * The base model implementation for the OldRole service. Represents a row in the "role_" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.importazione.model.OldRoleModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link OldRoleImpl}. - *

- * - * @author 3FC - * @see OldRoleImpl - * @see it.tref.liferay.portos.importazione.model.OldRole - * @see it.tref.liferay.portos.importazione.model.OldRoleModel - * @generated - */ -public class OldRoleModelImpl extends BaseModelImpl - implements OldRoleModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a old role model instance should use the {@link it.tref.liferay.portos.importazione.model.OldRole} interface instead. - */ - public static final String TABLE_NAME = "role_"; - public static final Object[][] TABLE_COLUMNS = { - { "roleId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "classNameId", Types.BIGINT }, - { "classPK", Types.BIGINT }, - { "name", Types.VARCHAR }, - { "title", Types.VARCHAR }, - { "description", Types.VARCHAR }, - { "type_", Types.INTEGER }, - { "subtype", Types.VARCHAR } - }; - public static final String TABLE_SQL_CREATE = "create table role_ (roleId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,classNameId LONG,classPK LONG,name VARCHAR(75) null,title STRING null,description STRING null,type_ INTEGER,subtype VARCHAR(75) null)"; - public static final String TABLE_SQL_DROP = "drop table role_"; - public static final String ORDER_BY_JPQL = " ORDER BY oldRole.roleId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY role_.roleId ASC"; - public static final String DATA_SOURCE = "utentiPortos1DbDataSource"; - public static final String SESSION_FACTORY = "utentiPortos1DbSessionFactory"; - public static final String TX_MANAGER = "utentiPortos1DbTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.importazione.model.OldRole"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.importazione.model.OldRole"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = false; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.importazione.model.OldRole")); - - public OldRoleModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _roleId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setRoleId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _roleId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return OldRole.class; - } - - @Override - public String getModelClassName() { - return OldRole.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("roleId", getRoleId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("classNameId", getClassNameId()); - attributes.put("classPK", getClassPK()); - attributes.put("name", getName()); - attributes.put("title", getTitle()); - attributes.put("description", getDescription()); - attributes.put("type", getType()); - attributes.put("subtype", getSubtype()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long roleId = (Long)attributes.get("roleId"); - - if (roleId != null) { - setRoleId(roleId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long classNameId = (Long)attributes.get("classNameId"); - - if (classNameId != null) { - setClassNameId(classNameId); - } - - Long classPK = (Long)attributes.get("classPK"); - - if (classPK != null) { - setClassPK(classPK); - } - - String name = (String)attributes.get("name"); - - if (name != null) { - setName(name); - } - - String title = (String)attributes.get("title"); - - if (title != null) { - setTitle(title); - } - - String description = (String)attributes.get("description"); - - if (description != null) { - setDescription(description); - } - - Integer type = (Integer)attributes.get("type"); - - if (type != null) { - setType(type); - } - - String subtype = (String)attributes.get("subtype"); - - if (subtype != null) { - setSubtype(subtype); - } - } - - @Override - public long getRoleId() { - return _roleId; - } - - @Override - public void setRoleId(long roleId) { - _roleId = roleId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public String getClassName() { - if (getClassNameId() <= 0) { - return StringPool.BLANK; - } - - return PortalUtil.getClassName(getClassNameId()); - } - - @Override - public void setClassName(String className) { - long classNameId = 0; - - if (Validator.isNotNull(className)) { - classNameId = PortalUtil.getClassNameId(className); - } - - setClassNameId(classNameId); - } - - @Override - public long getClassNameId() { - return _classNameId; - } - - @Override - public void setClassNameId(long classNameId) { - _classNameId = classNameId; - } - - @Override - public long getClassPK() { - return _classPK; - } - - @Override - public void setClassPK(long classPK) { - _classPK = classPK; - } - - @Override - public String getName() { - if (_name == null) { - return StringPool.BLANK; - } - else { - return _name; - } - } - - @Override - public void setName(String name) { - _name = name; - } - - @Override - public String getTitle() { - if (_title == null) { - return StringPool.BLANK; - } - else { - return _title; - } - } - - @Override - public String getTitle(Locale locale) { - String languageId = LocaleUtil.toLanguageId(locale); - - return getTitle(languageId); - } - - @Override - public String getTitle(Locale locale, boolean useDefault) { - String languageId = LocaleUtil.toLanguageId(locale); - - return getTitle(languageId, useDefault); - } - - @Override - public String getTitle(String languageId) { - return LocalizationUtil.getLocalization(getTitle(), languageId); - } - - @Override - public String getTitle(String languageId, boolean useDefault) { - return LocalizationUtil.getLocalization(getTitle(), languageId, - useDefault); - } - - @Override - public String getTitleCurrentLanguageId() { - return _titleCurrentLanguageId; - } - - @JSON - @Override - public String getTitleCurrentValue() { - Locale locale = getLocale(_titleCurrentLanguageId); - - return getTitle(locale); - } - - @Override - public Map getTitleMap() { - return LocalizationUtil.getLocalizationMap(getTitle()); - } - - @Override - public void setTitle(String title) { - _title = title; - } - - @Override - public void setTitle(String title, Locale locale) { - setTitle(title, locale, LocaleUtil.getDefault()); - } - - @Override - public void setTitle(String title, Locale locale, Locale defaultLocale) { - String languageId = LocaleUtil.toLanguageId(locale); - String defaultLanguageId = LocaleUtil.toLanguageId(defaultLocale); - - if (Validator.isNotNull(title)) { - setTitle(LocalizationUtil.updateLocalization(getTitle(), "Title", - title, languageId, defaultLanguageId)); - } - else { - setTitle(LocalizationUtil.removeLocalization(getTitle(), "Title", - languageId)); - } - } - - @Override - public void setTitleCurrentLanguageId(String languageId) { - _titleCurrentLanguageId = languageId; - } - - @Override - public void setTitleMap(Map titleMap) { - setTitleMap(titleMap, LocaleUtil.getDefault()); - } - - @Override - public void setTitleMap(Map titleMap, Locale defaultLocale) { - if (titleMap == null) { - return; - } - - setTitle(LocalizationUtil.updateLocalization(titleMap, getTitle(), - "Title", LocaleUtil.toLanguageId(defaultLocale))); - } - - @Override - public String getDescription() { - if (_description == null) { - return StringPool.BLANK; - } - else { - return _description; - } - } - - @Override - public String getDescription(Locale locale) { - String languageId = LocaleUtil.toLanguageId(locale); - - return getDescription(languageId); - } - - @Override - public String getDescription(Locale locale, boolean useDefault) { - String languageId = LocaleUtil.toLanguageId(locale); - - return getDescription(languageId, useDefault); - } - - @Override - public String getDescription(String languageId) { - return LocalizationUtil.getLocalization(getDescription(), languageId); - } - - @Override - public String getDescription(String languageId, boolean useDefault) { - return LocalizationUtil.getLocalization(getDescription(), languageId, - useDefault); - } - - @Override - public String getDescriptionCurrentLanguageId() { - return _descriptionCurrentLanguageId; - } - - @JSON - @Override - public String getDescriptionCurrentValue() { - Locale locale = getLocale(_descriptionCurrentLanguageId); - - return getDescription(locale); - } - - @Override - public Map getDescriptionMap() { - return LocalizationUtil.getLocalizationMap(getDescription()); - } - - @Override - public void setDescription(String description) { - _description = description; - } - - @Override - public void setDescription(String description, Locale locale) { - setDescription(description, locale, LocaleUtil.getDefault()); - } - - @Override - public void setDescription(String description, Locale locale, - Locale defaultLocale) { - String languageId = LocaleUtil.toLanguageId(locale); - String defaultLanguageId = LocaleUtil.toLanguageId(defaultLocale); - - if (Validator.isNotNull(description)) { - setDescription(LocalizationUtil.updateLocalization( - getDescription(), "Description", description, languageId, - defaultLanguageId)); - } - else { - setDescription(LocalizationUtil.removeLocalization( - getDescription(), "Description", languageId)); - } - } - - @Override - public void setDescriptionCurrentLanguageId(String languageId) { - _descriptionCurrentLanguageId = languageId; - } - - @Override - public void setDescriptionMap(Map descriptionMap) { - setDescriptionMap(descriptionMap, LocaleUtil.getDefault()); - } - - @Override - public void setDescriptionMap(Map descriptionMap, - Locale defaultLocale) { - if (descriptionMap == null) { - return; - } - - setDescription(LocalizationUtil.updateLocalization(descriptionMap, - getDescription(), "Description", - LocaleUtil.toLanguageId(defaultLocale))); - } - - @Override - public int getType() { - return _type; - } - - @Override - public void setType(int type) { - _type = type; - } - - @Override - public String getSubtype() { - if (_subtype == null) { - return StringPool.BLANK; - } - else { - return _subtype; - } - } - - @Override - public void setSubtype(String subtype) { - _subtype = subtype; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - OldRole.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public String[] getAvailableLanguageIds() { - Set availableLanguageIds = new TreeSet(); - - Map titleMap = getTitleMap(); - - for (Map.Entry entry : titleMap.entrySet()) { - Locale locale = entry.getKey(); - String value = entry.getValue(); - - if (Validator.isNotNull(value)) { - availableLanguageIds.add(LocaleUtil.toLanguageId(locale)); - } - } - - Map descriptionMap = getDescriptionMap(); - - for (Map.Entry entry : descriptionMap.entrySet()) { - Locale locale = entry.getKey(); - String value = entry.getValue(); - - if (Validator.isNotNull(value)) { - availableLanguageIds.add(LocaleUtil.toLanguageId(locale)); - } - } - - return availableLanguageIds.toArray(new String[availableLanguageIds.size()]); - } - - @Override - public String getDefaultLanguageId() { - String xml = getTitle(); - - if (xml == null) { - return StringPool.BLANK; - } - - Locale defaultLocale = LocaleUtil.getDefault(); - - return LocalizationUtil.getDefaultLanguageId(xml, defaultLocale); - } - - @Override - public void prepareLocalizedFieldsForImport() throws LocaleException { - prepareLocalizedFieldsForImport(null); - } - - @Override - @SuppressWarnings("unused") - public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) - throws LocaleException { - Locale defaultLocale = LocaleUtil.getDefault(); - - String modelDefaultLanguageId = getDefaultLanguageId(); - - String title = getTitle(defaultLocale); - - if (Validator.isNull(title)) { - setTitle(getTitle(modelDefaultLanguageId), defaultLocale); - } - else { - setTitle(getTitle(defaultLocale), defaultLocale, defaultLocale); - } - - String description = getDescription(defaultLocale); - - if (Validator.isNull(description)) { - setDescription(getDescription(modelDefaultLanguageId), defaultLocale); - } - else { - setDescription(getDescription(defaultLocale), defaultLocale, - defaultLocale); - } - } - - @Override - public OldRole toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (OldRole)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - OldRoleImpl oldRoleImpl = new OldRoleImpl(); - - oldRoleImpl.setRoleId(getRoleId()); - oldRoleImpl.setCompanyId(getCompanyId()); - oldRoleImpl.setUserId(getUserId()); - oldRoleImpl.setUserName(getUserName()); - oldRoleImpl.setCreateDate(getCreateDate()); - oldRoleImpl.setModifiedDate(getModifiedDate()); - oldRoleImpl.setClassNameId(getClassNameId()); - oldRoleImpl.setClassPK(getClassPK()); - oldRoleImpl.setName(getName()); - oldRoleImpl.setTitle(getTitle()); - oldRoleImpl.setDescription(getDescription()); - oldRoleImpl.setType(getType()); - oldRoleImpl.setSubtype(getSubtype()); - - oldRoleImpl.resetOriginalValues(); - - return oldRoleImpl; - } - - @Override - public int compareTo(OldRole oldRole) { - long primaryKey = oldRole.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof OldRole)) { - return false; - } - - OldRole oldRole = (OldRole)obj; - - long primaryKey = oldRole.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - } - - @Override - public CacheModel toCacheModel() { - OldRoleCacheModel oldRoleCacheModel = new OldRoleCacheModel(); - - oldRoleCacheModel.roleId = getRoleId(); - - oldRoleCacheModel.companyId = getCompanyId(); - - oldRoleCacheModel.userId = getUserId(); - - oldRoleCacheModel.userName = getUserName(); - - String userName = oldRoleCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - oldRoleCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - oldRoleCacheModel.createDate = createDate.getTime(); - } - else { - oldRoleCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - oldRoleCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - oldRoleCacheModel.modifiedDate = Long.MIN_VALUE; - } - - oldRoleCacheModel.classNameId = getClassNameId(); - - oldRoleCacheModel.classPK = getClassPK(); - - oldRoleCacheModel.name = getName(); - - String name = oldRoleCacheModel.name; - - if ((name != null) && (name.length() == 0)) { - oldRoleCacheModel.name = null; - } - - oldRoleCacheModel.title = getTitle(); - - String title = oldRoleCacheModel.title; - - if ((title != null) && (title.length() == 0)) { - oldRoleCacheModel.title = null; - } - - oldRoleCacheModel.description = getDescription(); - - String description = oldRoleCacheModel.description; - - if ((description != null) && (description.length() == 0)) { - oldRoleCacheModel.description = null; - } - - oldRoleCacheModel.type = getType(); - - oldRoleCacheModel.subtype = getSubtype(); - - String subtype = oldRoleCacheModel.subtype; - - if ((subtype != null) && (subtype.length() == 0)) { - oldRoleCacheModel.subtype = null; - } - - return oldRoleCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(27); - - sb.append("{roleId="); - sb.append(getRoleId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", classNameId="); - sb.append(getClassNameId()); - sb.append(", classPK="); - sb.append(getClassPK()); - sb.append(", name="); - sb.append(getName()); - sb.append(", title="); - sb.append(getTitle()); - sb.append(", description="); - sb.append(getDescription()); - sb.append(", type="); - sb.append(getType()); - sb.append(", subtype="); - sb.append(getSubtype()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(43); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.OldRole"); - sb.append(""); - - sb.append( - "roleId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "classNameId"); - sb.append( - "classPK"); - sb.append( - "name"); - sb.append( - "title"); - sb.append( - "description"); - sb.append( - "type"); - sb.append( - "subtype"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = OldRole.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - OldRole.class - }; - private long _roleId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _classNameId; - private long _classPK; - private String _name; - private String _title; - private String _titleCurrentLanguageId; - private String _description; - private String _descriptionCurrentLanguageId; - private int _type; - private String _subtype; - private OldRole _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldUserBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldUserBaseImpl.java deleted file mode 100644 index 81075486..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldUserBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.OldUser; -import it.tref.liferay.portos.importazione.service.OldUserLocalServiceUtil; - -/** - * The extended model base implementation for the OldUser service. Represents a row in the "user_" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link OldUserImpl}. - *

- * - * @author 3FC - * @see OldUserImpl - * @see it.tref.liferay.portos.importazione.model.OldUser - * @generated - */ -public abstract class OldUserBaseImpl extends OldUserModelImpl - implements OldUser { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a old user model instance should use the {@link OldUser} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - OldUserLocalServiceUtil.addOldUser(this); - } - else { - OldUserLocalServiceUtil.updateOldUser(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldUserCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldUserCacheModel.java deleted file mode 100644 index 9785aef3..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldUserCacheModel.java +++ /dev/null @@ -1,554 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.importazione.model.OldUser; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing OldUser in entity cache. - * - * @author 3FC - * @see OldUser - * @generated - */ -public class OldUserCacheModel implements CacheModel, Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(77); - - sb.append("{userId="); - sb.append(userId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", defaultUser="); - sb.append(defaultUser); - sb.append(", contactId="); - sb.append(contactId); - sb.append(", password="); - sb.append(password); - sb.append(", passwordEncrypted="); - sb.append(passwordEncrypted); - sb.append(", passwordReset="); - sb.append(passwordReset); - sb.append(", passwordModifiedDate="); - sb.append(passwordModifiedDate); - sb.append(", digest="); - sb.append(digest); - sb.append(", reminderQueryQuestion="); - sb.append(reminderQueryQuestion); - sb.append(", reminderQueryAnswer="); - sb.append(reminderQueryAnswer); - sb.append(", graceLoginCount="); - sb.append(graceLoginCount); - sb.append(", screenName="); - sb.append(screenName); - sb.append(", emailAddress="); - sb.append(emailAddress); - sb.append(", facebookId="); - sb.append(facebookId); - sb.append(", openId="); - sb.append(openId); - sb.append(", portraitId="); - sb.append(portraitId); - sb.append(", languageId="); - sb.append(languageId); - sb.append(", timeZoneId="); - sb.append(timeZoneId); - sb.append(", greeting="); - sb.append(greeting); - sb.append(", comments="); - sb.append(comments); - sb.append(", firstName="); - sb.append(firstName); - sb.append(", middleName="); - sb.append(middleName); - sb.append(", lastName="); - sb.append(lastName); - sb.append(", jobTitle="); - sb.append(jobTitle); - sb.append(", loginDate="); - sb.append(loginDate); - sb.append(", loginIP="); - sb.append(loginIP); - sb.append(", lastLoginDate="); - sb.append(lastLoginDate); - sb.append(", lastLoginIP="); - sb.append(lastLoginIP); - sb.append(", lastFailedLoginDate="); - sb.append(lastFailedLoginDate); - sb.append(", failedLoginAttempts="); - sb.append(failedLoginAttempts); - sb.append(", lockout="); - sb.append(lockout); - sb.append(", lockoutDate="); - sb.append(lockoutDate); - sb.append(", agreedToTermsOfUse="); - sb.append(agreedToTermsOfUse); - sb.append(", emailAddressVerified="); - sb.append(emailAddressVerified); - sb.append(", status="); - sb.append(status); - sb.append("}"); - - return sb.toString(); - } - - @Override - public OldUser toEntityModel() { - OldUserImpl oldUserImpl = new OldUserImpl(); - - oldUserImpl.setUserId(userId); - oldUserImpl.setCompanyId(companyId); - - if (createDate == Long.MIN_VALUE) { - oldUserImpl.setCreateDate(null); - } - else { - oldUserImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - oldUserImpl.setModifiedDate(null); - } - else { - oldUserImpl.setModifiedDate(new Date(modifiedDate)); - } - - oldUserImpl.setDefaultUser(defaultUser); - oldUserImpl.setContactId(contactId); - - if (password == null) { - oldUserImpl.setPassword(StringPool.BLANK); - } - else { - oldUserImpl.setPassword(password); - } - - oldUserImpl.setPasswordEncrypted(passwordEncrypted); - oldUserImpl.setPasswordReset(passwordReset); - - if (passwordModifiedDate == Long.MIN_VALUE) { - oldUserImpl.setPasswordModifiedDate(null); - } - else { - oldUserImpl.setPasswordModifiedDate(new Date(passwordModifiedDate)); - } - - if (digest == null) { - oldUserImpl.setDigest(StringPool.BLANK); - } - else { - oldUserImpl.setDigest(digest); - } - - if (reminderQueryQuestion == null) { - oldUserImpl.setReminderQueryQuestion(StringPool.BLANK); - } - else { - oldUserImpl.setReminderQueryQuestion(reminderQueryQuestion); - } - - if (reminderQueryAnswer == null) { - oldUserImpl.setReminderQueryAnswer(StringPool.BLANK); - } - else { - oldUserImpl.setReminderQueryAnswer(reminderQueryAnswer); - } - - oldUserImpl.setGraceLoginCount(graceLoginCount); - - if (screenName == null) { - oldUserImpl.setScreenName(StringPool.BLANK); - } - else { - oldUserImpl.setScreenName(screenName); - } - - if (emailAddress == null) { - oldUserImpl.setEmailAddress(StringPool.BLANK); - } - else { - oldUserImpl.setEmailAddress(emailAddress); - } - - oldUserImpl.setFacebookId(facebookId); - - if (openId == null) { - oldUserImpl.setOpenId(StringPool.BLANK); - } - else { - oldUserImpl.setOpenId(openId); - } - - oldUserImpl.setPortraitId(portraitId); - - if (languageId == null) { - oldUserImpl.setLanguageId(StringPool.BLANK); - } - else { - oldUserImpl.setLanguageId(languageId); - } - - if (timeZoneId == null) { - oldUserImpl.setTimeZoneId(StringPool.BLANK); - } - else { - oldUserImpl.setTimeZoneId(timeZoneId); - } - - if (greeting == null) { - oldUserImpl.setGreeting(StringPool.BLANK); - } - else { - oldUserImpl.setGreeting(greeting); - } - - if (comments == null) { - oldUserImpl.setComments(StringPool.BLANK); - } - else { - oldUserImpl.setComments(comments); - } - - if (firstName == null) { - oldUserImpl.setFirstName(StringPool.BLANK); - } - else { - oldUserImpl.setFirstName(firstName); - } - - if (middleName == null) { - oldUserImpl.setMiddleName(StringPool.BLANK); - } - else { - oldUserImpl.setMiddleName(middleName); - } - - if (lastName == null) { - oldUserImpl.setLastName(StringPool.BLANK); - } - else { - oldUserImpl.setLastName(lastName); - } - - if (jobTitle == null) { - oldUserImpl.setJobTitle(StringPool.BLANK); - } - else { - oldUserImpl.setJobTitle(jobTitle); - } - - if (loginDate == Long.MIN_VALUE) { - oldUserImpl.setLoginDate(null); - } - else { - oldUserImpl.setLoginDate(new Date(loginDate)); - } - - if (loginIP == null) { - oldUserImpl.setLoginIP(StringPool.BLANK); - } - else { - oldUserImpl.setLoginIP(loginIP); - } - - if (lastLoginDate == Long.MIN_VALUE) { - oldUserImpl.setLastLoginDate(null); - } - else { - oldUserImpl.setLastLoginDate(new Date(lastLoginDate)); - } - - if (lastLoginIP == null) { - oldUserImpl.setLastLoginIP(StringPool.BLANK); - } - else { - oldUserImpl.setLastLoginIP(lastLoginIP); - } - - if (lastFailedLoginDate == Long.MIN_VALUE) { - oldUserImpl.setLastFailedLoginDate(null); - } - else { - oldUserImpl.setLastFailedLoginDate(new Date(lastFailedLoginDate)); - } - - oldUserImpl.setFailedLoginAttempts(failedLoginAttempts); - oldUserImpl.setLockout(lockout); - - if (lockoutDate == Long.MIN_VALUE) { - oldUserImpl.setLockoutDate(null); - } - else { - oldUserImpl.setLockoutDate(new Date(lockoutDate)); - } - - oldUserImpl.setAgreedToTermsOfUse(agreedToTermsOfUse); - oldUserImpl.setEmailAddressVerified(emailAddressVerified); - oldUserImpl.setStatus(status); - - oldUserImpl.resetOriginalValues(); - - return oldUserImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - userId = objectInput.readLong(); - companyId = objectInput.readLong(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - defaultUser = objectInput.readBoolean(); - contactId = objectInput.readLong(); - password = objectInput.readUTF(); - passwordEncrypted = objectInput.readBoolean(); - passwordReset = objectInput.readBoolean(); - passwordModifiedDate = objectInput.readLong(); - digest = objectInput.readUTF(); - reminderQueryQuestion = objectInput.readUTF(); - reminderQueryAnswer = objectInput.readUTF(); - graceLoginCount = objectInput.readInt(); - screenName = objectInput.readUTF(); - emailAddress = objectInput.readUTF(); - facebookId = objectInput.readLong(); - openId = objectInput.readUTF(); - portraitId = objectInput.readLong(); - languageId = objectInput.readUTF(); - timeZoneId = objectInput.readUTF(); - greeting = objectInput.readUTF(); - comments = objectInput.readUTF(); - firstName = objectInput.readUTF(); - middleName = objectInput.readUTF(); - lastName = objectInput.readUTF(); - jobTitle = objectInput.readUTF(); - loginDate = objectInput.readLong(); - loginIP = objectInput.readUTF(); - lastLoginDate = objectInput.readLong(); - lastLoginIP = objectInput.readUTF(); - lastFailedLoginDate = objectInput.readLong(); - failedLoginAttempts = objectInput.readInt(); - lockout = objectInput.readBoolean(); - lockoutDate = objectInput.readLong(); - agreedToTermsOfUse = objectInput.readBoolean(); - emailAddressVerified = objectInput.readBoolean(); - status = objectInput.readInt(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - objectOutput.writeLong(userId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeBoolean(defaultUser); - objectOutput.writeLong(contactId); - - if (password == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(password); - } - - objectOutput.writeBoolean(passwordEncrypted); - objectOutput.writeBoolean(passwordReset); - objectOutput.writeLong(passwordModifiedDate); - - if (digest == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(digest); - } - - if (reminderQueryQuestion == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(reminderQueryQuestion); - } - - if (reminderQueryAnswer == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(reminderQueryAnswer); - } - - objectOutput.writeInt(graceLoginCount); - - if (screenName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(screenName); - } - - if (emailAddress == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(emailAddress); - } - - objectOutput.writeLong(facebookId); - - if (openId == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(openId); - } - - objectOutput.writeLong(portraitId); - - if (languageId == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(languageId); - } - - if (timeZoneId == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(timeZoneId); - } - - if (greeting == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(greeting); - } - - if (comments == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(comments); - } - - if (firstName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(firstName); - } - - if (middleName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(middleName); - } - - if (lastName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(lastName); - } - - if (jobTitle == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(jobTitle); - } - - objectOutput.writeLong(loginDate); - - if (loginIP == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(loginIP); - } - - objectOutput.writeLong(lastLoginDate); - - if (lastLoginIP == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(lastLoginIP); - } - - objectOutput.writeLong(lastFailedLoginDate); - objectOutput.writeInt(failedLoginAttempts); - objectOutput.writeBoolean(lockout); - objectOutput.writeLong(lockoutDate); - objectOutput.writeBoolean(agreedToTermsOfUse); - objectOutput.writeBoolean(emailAddressVerified); - objectOutput.writeInt(status); - } - - public long userId; - public long companyId; - public long createDate; - public long modifiedDate; - public boolean defaultUser; - public long contactId; - public String password; - public boolean passwordEncrypted; - public boolean passwordReset; - public long passwordModifiedDate; - public String digest; - public String reminderQueryQuestion; - public String reminderQueryAnswer; - public int graceLoginCount; - public String screenName; - public String emailAddress; - public long facebookId; - public String openId; - public long portraitId; - public String languageId; - public String timeZoneId; - public String greeting; - public String comments; - public String firstName; - public String middleName; - public String lastName; - public String jobTitle; - public long loginDate; - public String loginIP; - public long lastLoginDate; - public String lastLoginIP; - public long lastFailedLoginDate; - public int failedLoginAttempts; - public boolean lockout; - public long lockoutDate; - public boolean agreedToTermsOfUse; - public boolean emailAddressVerified; - public int status; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldUserGroupBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldUserGroupBaseImpl.java deleted file mode 100644 index 6b571c7a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldUserGroupBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.OldUserGroup; -import it.tref.liferay.portos.importazione.service.OldUserGroupLocalServiceUtil; - -/** - * The extended model base implementation for the OldUserGroup service. Represents a row in the "usergroup" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link OldUserGroupImpl}. - *

- * - * @author 3FC - * @see OldUserGroupImpl - * @see it.tref.liferay.portos.importazione.model.OldUserGroup - * @generated - */ -public abstract class OldUserGroupBaseImpl extends OldUserGroupModelImpl - implements OldUserGroup { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a old user group model instance should use the {@link OldUserGroup} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - OldUserGroupLocalServiceUtil.addOldUserGroup(this); - } - else { - OldUserGroupLocalServiceUtil.updateOldUserGroup(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldUserGroupCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldUserGroupCacheModel.java deleted file mode 100644 index f77c0e6b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldUserGroupCacheModel.java +++ /dev/null @@ -1,119 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.importazione.model.OldUserGroup; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -/** - * The cache model class for representing OldUserGroup in entity cache. - * - * @author 3FC - * @see OldUserGroup - * @generated - */ -public class OldUserGroupCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(11); - - sb.append("{userGroupId="); - sb.append(userGroupId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", parentUserGroupId="); - sb.append(parentUserGroupId); - sb.append(", name="); - sb.append(name); - sb.append(", description="); - sb.append(description); - sb.append("}"); - - return sb.toString(); - } - - @Override - public OldUserGroup toEntityModel() { - OldUserGroupImpl oldUserGroupImpl = new OldUserGroupImpl(); - - oldUserGroupImpl.setUserGroupId(userGroupId); - oldUserGroupImpl.setCompanyId(companyId); - oldUserGroupImpl.setParentUserGroupId(parentUserGroupId); - - if (name == null) { - oldUserGroupImpl.setName(StringPool.BLANK); - } - else { - oldUserGroupImpl.setName(name); - } - - if (description == null) { - oldUserGroupImpl.setDescription(StringPool.BLANK); - } - else { - oldUserGroupImpl.setDescription(description); - } - - oldUserGroupImpl.resetOriginalValues(); - - return oldUserGroupImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - userGroupId = objectInput.readLong(); - companyId = objectInput.readLong(); - parentUserGroupId = objectInput.readLong(); - name = objectInput.readUTF(); - description = objectInput.readUTF(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - objectOutput.writeLong(userGroupId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(parentUserGroupId); - - if (name == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(name); - } - - if (description == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(description); - } - } - - public long userGroupId; - public long companyId; - public long parentUserGroupId; - public String name; - public String description; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldUserGroupImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldUserGroupImpl.java deleted file mode 100644 index 3eea9d3a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldUserGroupImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -/** - * The extended model implementation for the OldUserGroup service. Represents a row in the "usergroup" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.model.OldUserGroup} interface. - *

- * - * @author 3FC - */ -public class OldUserGroupImpl extends OldUserGroupBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a old user group model instance should use the {@link it.tref.liferay.portos.importazione.model.OldUserGroup} interface instead. - */ - public OldUserGroupImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldUserGroupModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldUserGroupModelImpl.java deleted file mode 100644 index 8e4ae86b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldUserGroupModelImpl.java +++ /dev/null @@ -1,399 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.importazione.model.OldUserGroup; -import it.tref.liferay.portos.importazione.model.OldUserGroupModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the OldUserGroup service. Represents a row in the "usergroup" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.importazione.model.OldUserGroupModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link OldUserGroupImpl}. - *

- * - * @author 3FC - * @see OldUserGroupImpl - * @see it.tref.liferay.portos.importazione.model.OldUserGroup - * @see it.tref.liferay.portos.importazione.model.OldUserGroupModel - * @generated - */ -public class OldUserGroupModelImpl extends BaseModelImpl - implements OldUserGroupModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a old user group model instance should use the {@link it.tref.liferay.portos.importazione.model.OldUserGroup} interface instead. - */ - public static final String TABLE_NAME = "usergroup"; - public static final Object[][] TABLE_COLUMNS = { - { "userGroupId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "parentUserGroupId", Types.BIGINT }, - { "name", Types.VARCHAR }, - { "description", Types.VARCHAR } - }; - public static final String TABLE_SQL_CREATE = "create table usergroup (userGroupId LONG not null primary key,companyId LONG,parentUserGroupId LONG,name VARCHAR(75) null,description VARCHAR(75) null)"; - public static final String TABLE_SQL_DROP = "drop table usergroup"; - public static final String ORDER_BY_JPQL = " ORDER BY oldUserGroup.userGroupId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY usergroup.userGroupId ASC"; - public static final String DATA_SOURCE = "utentiPortos1DbDataSource"; - public static final String SESSION_FACTORY = "utentiPortos1DbSessionFactory"; - public static final String TX_MANAGER = "utentiPortos1DbTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.importazione.model.OldUserGroup"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.importazione.model.OldUserGroup"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = false; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.importazione.model.OldUserGroup")); - - public OldUserGroupModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _userGroupId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setUserGroupId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _userGroupId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return OldUserGroup.class; - } - - @Override - public String getModelClassName() { - return OldUserGroup.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("userGroupId", getUserGroupId()); - attributes.put("companyId", getCompanyId()); - attributes.put("parentUserGroupId", getParentUserGroupId()); - attributes.put("name", getName()); - attributes.put("description", getDescription()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long userGroupId = (Long)attributes.get("userGroupId"); - - if (userGroupId != null) { - setUserGroupId(userGroupId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long parentUserGroupId = (Long)attributes.get("parentUserGroupId"); - - if (parentUserGroupId != null) { - setParentUserGroupId(parentUserGroupId); - } - - String name = (String)attributes.get("name"); - - if (name != null) { - setName(name); - } - - String description = (String)attributes.get("description"); - - if (description != null) { - setDescription(description); - } - } - - @Override - public long getUserGroupId() { - return _userGroupId; - } - - @Override - public void setUserGroupId(long userGroupId) { - _userGroupId = userGroupId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - @Override - public long getParentUserGroupId() { - return _parentUserGroupId; - } - - @Override - public void setParentUserGroupId(long parentUserGroupId) { - _parentUserGroupId = parentUserGroupId; - } - - @Override - public String getName() { - if (_name == null) { - return StringPool.BLANK; - } - else { - return _name; - } - } - - @Override - public void setName(String name) { - _name = name; - } - - @Override - public String getDescription() { - if (_description == null) { - return StringPool.BLANK; - } - else { - return _description; - } - } - - @Override - public void setDescription(String description) { - _description = description; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - OldUserGroup.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public OldUserGroup toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (OldUserGroup)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - OldUserGroupImpl oldUserGroupImpl = new OldUserGroupImpl(); - - oldUserGroupImpl.setUserGroupId(getUserGroupId()); - oldUserGroupImpl.setCompanyId(getCompanyId()); - oldUserGroupImpl.setParentUserGroupId(getParentUserGroupId()); - oldUserGroupImpl.setName(getName()); - oldUserGroupImpl.setDescription(getDescription()); - - oldUserGroupImpl.resetOriginalValues(); - - return oldUserGroupImpl; - } - - @Override - public int compareTo(OldUserGroup oldUserGroup) { - long primaryKey = oldUserGroup.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof OldUserGroup)) { - return false; - } - - OldUserGroup oldUserGroup = (OldUserGroup)obj; - - long primaryKey = oldUserGroup.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - } - - @Override - public CacheModel toCacheModel() { - OldUserGroupCacheModel oldUserGroupCacheModel = new OldUserGroupCacheModel(); - - oldUserGroupCacheModel.userGroupId = getUserGroupId(); - - oldUserGroupCacheModel.companyId = getCompanyId(); - - oldUserGroupCacheModel.parentUserGroupId = getParentUserGroupId(); - - oldUserGroupCacheModel.name = getName(); - - String name = oldUserGroupCacheModel.name; - - if ((name != null) && (name.length() == 0)) { - oldUserGroupCacheModel.name = null; - } - - oldUserGroupCacheModel.description = getDescription(); - - String description = oldUserGroupCacheModel.description; - - if ((description != null) && (description.length() == 0)) { - oldUserGroupCacheModel.description = null; - } - - return oldUserGroupCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(11); - - sb.append("{userGroupId="); - sb.append(getUserGroupId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", parentUserGroupId="); - sb.append(getParentUserGroupId()); - sb.append(", name="); - sb.append(getName()); - sb.append(", description="); - sb.append(getDescription()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(19); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.OldUserGroup"); - sb.append(""); - - sb.append( - "userGroupId"); - sb.append( - "companyId"); - sb.append( - "parentUserGroupId"); - sb.append( - "name"); - sb.append( - "description"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = OldUserGroup.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - OldUserGroup.class - }; - private long _userGroupId; - private long _companyId; - private long _parentUserGroupId; - private String _name; - private String _description; - private OldUserGroup _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldUserImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldUserImpl.java deleted file mode 100644 index 75ef2126..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldUserImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -/** - * The extended model implementation for the OldUser service. Represents a row in the "user_" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.model.OldUser} interface. - *

- * - * @author 3FC - */ -public class OldUserImpl extends OldUserBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a old user model instance should use the {@link it.tref.liferay.portos.importazione.model.OldUser} interface instead. - */ - public OldUserImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldUserModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldUserModelImpl.java deleted file mode 100644 index ac7e8108..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/OldUserModelImpl.java +++ /dev/null @@ -1,1588 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.importazione.model.OldUser; -import it.tref.liferay.portos.importazione.model.OldUserModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the OldUser service. Represents a row in the "user_" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.importazione.model.OldUserModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link OldUserImpl}. - *

- * - * @author 3FC - * @see OldUserImpl - * @see it.tref.liferay.portos.importazione.model.OldUser - * @see it.tref.liferay.portos.importazione.model.OldUserModel - * @generated - */ -public class OldUserModelImpl extends BaseModelImpl - implements OldUserModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a old user model instance should use the {@link it.tref.liferay.portos.importazione.model.OldUser} interface instead. - */ - public static final String TABLE_NAME = "user_"; - public static final Object[][] TABLE_COLUMNS = { - { "userId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "defaultUser", Types.BOOLEAN }, - { "contactId", Types.BIGINT }, - { "password_", Types.VARCHAR }, - { "passwordEncrypted", Types.BOOLEAN }, - { "passwordReset", Types.BOOLEAN }, - { "passwordModifiedDate", Types.TIMESTAMP }, - { "digest", Types.VARCHAR }, - { "reminderQueryQuestion", Types.VARCHAR }, - { "reminderQueryAnswer", Types.VARCHAR }, - { "graceLoginCount", Types.INTEGER }, - { "screenName", Types.VARCHAR }, - { "emailAddress", Types.VARCHAR }, - { "facebookId", Types.BIGINT }, - { "openId", Types.VARCHAR }, - { "portraitId", Types.BIGINT }, - { "languageId", Types.VARCHAR }, - { "timeZoneId", Types.VARCHAR }, - { "greeting", Types.VARCHAR }, - { "comments", Types.VARCHAR }, - { "firstName", Types.VARCHAR }, - { "middleName", Types.VARCHAR }, - { "lastName", Types.VARCHAR }, - { "jobTitle", Types.VARCHAR }, - { "loginDate", Types.TIMESTAMP }, - { "loginIP", Types.VARCHAR }, - { "lastLoginDate", Types.TIMESTAMP }, - { "lastLoginIP", Types.VARCHAR }, - { "lastFailedLoginDate", Types.TIMESTAMP }, - { "failedLoginAttempts", Types.INTEGER }, - { "lockout", Types.BOOLEAN }, - { "lockoutDate", Types.TIMESTAMP }, - { "agreedToTermsOfUse", Types.BOOLEAN }, - { "emailAddressVerified", Types.BOOLEAN }, - { "status", Types.INTEGER } - }; - public static final String TABLE_SQL_CREATE = "create table user_ (userId LONG not null primary key,companyId LONG,createDate DATE null,modifiedDate DATE null,defaultUser BOOLEAN,contactId LONG,password_ VARCHAR(75) null,passwordEncrypted BOOLEAN,passwordReset BOOLEAN,passwordModifiedDate DATE null,digest VARCHAR(75) null,reminderQueryQuestion VARCHAR(75) null,reminderQueryAnswer VARCHAR(75) null,graceLoginCount INTEGER,screenName VARCHAR(75) null,emailAddress VARCHAR(75) null,facebookId LONG,openId VARCHAR(75) null,portraitId LONG,languageId VARCHAR(75) null,timeZoneId VARCHAR(75) null,greeting VARCHAR(75) null,comments VARCHAR(75) null,firstName VARCHAR(75) null,middleName VARCHAR(75) null,lastName VARCHAR(75) null,jobTitle VARCHAR(75) null,loginDate DATE null,loginIP VARCHAR(75) null,lastLoginDate DATE null,lastLoginIP VARCHAR(75) null,lastFailedLoginDate DATE null,failedLoginAttempts INTEGER,lockout BOOLEAN,lockoutDate DATE null,agreedToTermsOfUse BOOLEAN,emailAddressVerified BOOLEAN,status INTEGER)"; - public static final String TABLE_SQL_DROP = "drop table user_"; - public static final String ORDER_BY_JPQL = " ORDER BY oldUser.userId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY user_.userId ASC"; - public static final String DATA_SOURCE = "utentiPortos1DbDataSource"; - public static final String SESSION_FACTORY = "utentiPortos1DbSessionFactory"; - public static final String TX_MANAGER = "utentiPortos1DbTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.importazione.model.OldUser"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.importazione.model.OldUser"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = false; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.importazione.model.OldUser")); - - public OldUserModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _userId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setUserId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _userId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return OldUser.class; - } - - @Override - public String getModelClassName() { - return OldUser.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("userId", getUserId()); - attributes.put("companyId", getCompanyId()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("defaultUser", getDefaultUser()); - attributes.put("contactId", getContactId()); - attributes.put("password", getPassword()); - attributes.put("passwordEncrypted", getPasswordEncrypted()); - attributes.put("passwordReset", getPasswordReset()); - attributes.put("passwordModifiedDate", getPasswordModifiedDate()); - attributes.put("digest", getDigest()); - attributes.put("reminderQueryQuestion", getReminderQueryQuestion()); - attributes.put("reminderQueryAnswer", getReminderQueryAnswer()); - attributes.put("graceLoginCount", getGraceLoginCount()); - attributes.put("screenName", getScreenName()); - attributes.put("emailAddress", getEmailAddress()); - attributes.put("facebookId", getFacebookId()); - attributes.put("openId", getOpenId()); - attributes.put("portraitId", getPortraitId()); - attributes.put("languageId", getLanguageId()); - attributes.put("timeZoneId", getTimeZoneId()); - attributes.put("greeting", getGreeting()); - attributes.put("comments", getComments()); - attributes.put("firstName", getFirstName()); - attributes.put("middleName", getMiddleName()); - attributes.put("lastName", getLastName()); - attributes.put("jobTitle", getJobTitle()); - attributes.put("loginDate", getLoginDate()); - attributes.put("loginIP", getLoginIP()); - attributes.put("lastLoginDate", getLastLoginDate()); - attributes.put("lastLoginIP", getLastLoginIP()); - attributes.put("lastFailedLoginDate", getLastFailedLoginDate()); - attributes.put("failedLoginAttempts", getFailedLoginAttempts()); - attributes.put("lockout", getLockout()); - attributes.put("lockoutDate", getLockoutDate()); - attributes.put("agreedToTermsOfUse", getAgreedToTermsOfUse()); - attributes.put("emailAddressVerified", getEmailAddressVerified()); - attributes.put("status", getStatus()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Boolean defaultUser = (Boolean)attributes.get("defaultUser"); - - if (defaultUser != null) { - setDefaultUser(defaultUser); - } - - Long contactId = (Long)attributes.get("contactId"); - - if (contactId != null) { - setContactId(contactId); - } - - String password = (String)attributes.get("password"); - - if (password != null) { - setPassword(password); - } - - Boolean passwordEncrypted = (Boolean)attributes.get("passwordEncrypted"); - - if (passwordEncrypted != null) { - setPasswordEncrypted(passwordEncrypted); - } - - Boolean passwordReset = (Boolean)attributes.get("passwordReset"); - - if (passwordReset != null) { - setPasswordReset(passwordReset); - } - - Date passwordModifiedDate = (Date)attributes.get("passwordModifiedDate"); - - if (passwordModifiedDate != null) { - setPasswordModifiedDate(passwordModifiedDate); - } - - String digest = (String)attributes.get("digest"); - - if (digest != null) { - setDigest(digest); - } - - String reminderQueryQuestion = (String)attributes.get( - "reminderQueryQuestion"); - - if (reminderQueryQuestion != null) { - setReminderQueryQuestion(reminderQueryQuestion); - } - - String reminderQueryAnswer = (String)attributes.get( - "reminderQueryAnswer"); - - if (reminderQueryAnswer != null) { - setReminderQueryAnswer(reminderQueryAnswer); - } - - Integer graceLoginCount = (Integer)attributes.get("graceLoginCount"); - - if (graceLoginCount != null) { - setGraceLoginCount(graceLoginCount); - } - - String screenName = (String)attributes.get("screenName"); - - if (screenName != null) { - setScreenName(screenName); - } - - String emailAddress = (String)attributes.get("emailAddress"); - - if (emailAddress != null) { - setEmailAddress(emailAddress); - } - - Long facebookId = (Long)attributes.get("facebookId"); - - if (facebookId != null) { - setFacebookId(facebookId); - } - - String openId = (String)attributes.get("openId"); - - if (openId != null) { - setOpenId(openId); - } - - Long portraitId = (Long)attributes.get("portraitId"); - - if (portraitId != null) { - setPortraitId(portraitId); - } - - String languageId = (String)attributes.get("languageId"); - - if (languageId != null) { - setLanguageId(languageId); - } - - String timeZoneId = (String)attributes.get("timeZoneId"); - - if (timeZoneId != null) { - setTimeZoneId(timeZoneId); - } - - String greeting = (String)attributes.get("greeting"); - - if (greeting != null) { - setGreeting(greeting); - } - - String comments = (String)attributes.get("comments"); - - if (comments != null) { - setComments(comments); - } - - String firstName = (String)attributes.get("firstName"); - - if (firstName != null) { - setFirstName(firstName); - } - - String middleName = (String)attributes.get("middleName"); - - if (middleName != null) { - setMiddleName(middleName); - } - - String lastName = (String)attributes.get("lastName"); - - if (lastName != null) { - setLastName(lastName); - } - - String jobTitle = (String)attributes.get("jobTitle"); - - if (jobTitle != null) { - setJobTitle(jobTitle); - } - - Date loginDate = (Date)attributes.get("loginDate"); - - if (loginDate != null) { - setLoginDate(loginDate); - } - - String loginIP = (String)attributes.get("loginIP"); - - if (loginIP != null) { - setLoginIP(loginIP); - } - - Date lastLoginDate = (Date)attributes.get("lastLoginDate"); - - if (lastLoginDate != null) { - setLastLoginDate(lastLoginDate); - } - - String lastLoginIP = (String)attributes.get("lastLoginIP"); - - if (lastLoginIP != null) { - setLastLoginIP(lastLoginIP); - } - - Date lastFailedLoginDate = (Date)attributes.get("lastFailedLoginDate"); - - if (lastFailedLoginDate != null) { - setLastFailedLoginDate(lastFailedLoginDate); - } - - Integer failedLoginAttempts = (Integer)attributes.get( - "failedLoginAttempts"); - - if (failedLoginAttempts != null) { - setFailedLoginAttempts(failedLoginAttempts); - } - - Boolean lockout = (Boolean)attributes.get("lockout"); - - if (lockout != null) { - setLockout(lockout); - } - - Date lockoutDate = (Date)attributes.get("lockoutDate"); - - if (lockoutDate != null) { - setLockoutDate(lockoutDate); - } - - Boolean agreedToTermsOfUse = (Boolean)attributes.get( - "agreedToTermsOfUse"); - - if (agreedToTermsOfUse != null) { - setAgreedToTermsOfUse(agreedToTermsOfUse); - } - - Boolean emailAddressVerified = (Boolean)attributes.get( - "emailAddressVerified"); - - if (emailAddressVerified != null) { - setEmailAddressVerified(emailAddressVerified); - } - - Integer status = (Integer)attributes.get("status"); - - if (status != null) { - setStatus(status); - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public boolean getDefaultUser() { - return _defaultUser; - } - - @Override - public boolean isDefaultUser() { - return _defaultUser; - } - - @Override - public void setDefaultUser(boolean defaultUser) { - _defaultUser = defaultUser; - } - - @Override - public long getContactId() { - return _contactId; - } - - @Override - public void setContactId(long contactId) { - _contactId = contactId; - } - - @Override - public String getPassword() { - if (_password == null) { - return StringPool.BLANK; - } - else { - return _password; - } - } - - @Override - public void setPassword(String password) { - _password = password; - } - - @Override - public boolean getPasswordEncrypted() { - return _passwordEncrypted; - } - - @Override - public boolean isPasswordEncrypted() { - return _passwordEncrypted; - } - - @Override - public void setPasswordEncrypted(boolean passwordEncrypted) { - _passwordEncrypted = passwordEncrypted; - } - - @Override - public boolean getPasswordReset() { - return _passwordReset; - } - - @Override - public boolean isPasswordReset() { - return _passwordReset; - } - - @Override - public void setPasswordReset(boolean passwordReset) { - _passwordReset = passwordReset; - } - - @Override - public Date getPasswordModifiedDate() { - return _passwordModifiedDate; - } - - @Override - public void setPasswordModifiedDate(Date passwordModifiedDate) { - _passwordModifiedDate = passwordModifiedDate; - } - - @Override - public String getDigest() { - if (_digest == null) { - return StringPool.BLANK; - } - else { - return _digest; - } - } - - @Override - public void setDigest(String digest) { - _digest = digest; - } - - @Override - public String getReminderQueryQuestion() { - if (_reminderQueryQuestion == null) { - return StringPool.BLANK; - } - else { - return _reminderQueryQuestion; - } - } - - @Override - public void setReminderQueryQuestion(String reminderQueryQuestion) { - _reminderQueryQuestion = reminderQueryQuestion; - } - - @Override - public String getReminderQueryAnswer() { - if (_reminderQueryAnswer == null) { - return StringPool.BLANK; - } - else { - return _reminderQueryAnswer; - } - } - - @Override - public void setReminderQueryAnswer(String reminderQueryAnswer) { - _reminderQueryAnswer = reminderQueryAnswer; - } - - @Override - public int getGraceLoginCount() { - return _graceLoginCount; - } - - @Override - public void setGraceLoginCount(int graceLoginCount) { - _graceLoginCount = graceLoginCount; - } - - @Override - public String getScreenName() { - if (_screenName == null) { - return StringPool.BLANK; - } - else { - return _screenName; - } - } - - @Override - public void setScreenName(String screenName) { - _screenName = screenName; - } - - @Override - public String getEmailAddress() { - if (_emailAddress == null) { - return StringPool.BLANK; - } - else { - return _emailAddress; - } - } - - @Override - public void setEmailAddress(String emailAddress) { - _emailAddress = emailAddress; - } - - @Override - public long getFacebookId() { - return _facebookId; - } - - @Override - public void setFacebookId(long facebookId) { - _facebookId = facebookId; - } - - @Override - public String getOpenId() { - if (_openId == null) { - return StringPool.BLANK; - } - else { - return _openId; - } - } - - @Override - public void setOpenId(String openId) { - _openId = openId; - } - - @Override - public long getPortraitId() { - return _portraitId; - } - - @Override - public void setPortraitId(long portraitId) { - _portraitId = portraitId; - } - - @Override - public String getLanguageId() { - if (_languageId == null) { - return StringPool.BLANK; - } - else { - return _languageId; - } - } - - @Override - public void setLanguageId(String languageId) { - _languageId = languageId; - } - - @Override - public String getTimeZoneId() { - if (_timeZoneId == null) { - return StringPool.BLANK; - } - else { - return _timeZoneId; - } - } - - @Override - public void setTimeZoneId(String timeZoneId) { - _timeZoneId = timeZoneId; - } - - @Override - public String getGreeting() { - if (_greeting == null) { - return StringPool.BLANK; - } - else { - return _greeting; - } - } - - @Override - public void setGreeting(String greeting) { - _greeting = greeting; - } - - @Override - public String getComments() { - if (_comments == null) { - return StringPool.BLANK; - } - else { - return _comments; - } - } - - @Override - public void setComments(String comments) { - _comments = comments; - } - - @Override - public String getFirstName() { - if (_firstName == null) { - return StringPool.BLANK; - } - else { - return _firstName; - } - } - - @Override - public void setFirstName(String firstName) { - _firstName = firstName; - } - - @Override - public String getMiddleName() { - if (_middleName == null) { - return StringPool.BLANK; - } - else { - return _middleName; - } - } - - @Override - public void setMiddleName(String middleName) { - _middleName = middleName; - } - - @Override - public String getLastName() { - if (_lastName == null) { - return StringPool.BLANK; - } - else { - return _lastName; - } - } - - @Override - public void setLastName(String lastName) { - _lastName = lastName; - } - - @Override - public String getJobTitle() { - if (_jobTitle == null) { - return StringPool.BLANK; - } - else { - return _jobTitle; - } - } - - @Override - public void setJobTitle(String jobTitle) { - _jobTitle = jobTitle; - } - - @Override - public Date getLoginDate() { - return _loginDate; - } - - @Override - public void setLoginDate(Date loginDate) { - _loginDate = loginDate; - } - - @Override - public String getLoginIP() { - if (_loginIP == null) { - return StringPool.BLANK; - } - else { - return _loginIP; - } - } - - @Override - public void setLoginIP(String loginIP) { - _loginIP = loginIP; - } - - @Override - public Date getLastLoginDate() { - return _lastLoginDate; - } - - @Override - public void setLastLoginDate(Date lastLoginDate) { - _lastLoginDate = lastLoginDate; - } - - @Override - public String getLastLoginIP() { - if (_lastLoginIP == null) { - return StringPool.BLANK; - } - else { - return _lastLoginIP; - } - } - - @Override - public void setLastLoginIP(String lastLoginIP) { - _lastLoginIP = lastLoginIP; - } - - @Override - public Date getLastFailedLoginDate() { - return _lastFailedLoginDate; - } - - @Override - public void setLastFailedLoginDate(Date lastFailedLoginDate) { - _lastFailedLoginDate = lastFailedLoginDate; - } - - @Override - public int getFailedLoginAttempts() { - return _failedLoginAttempts; - } - - @Override - public void setFailedLoginAttempts(int failedLoginAttempts) { - _failedLoginAttempts = failedLoginAttempts; - } - - @Override - public boolean getLockout() { - return _lockout; - } - - @Override - public boolean isLockout() { - return _lockout; - } - - @Override - public void setLockout(boolean lockout) { - _lockout = lockout; - } - - @Override - public Date getLockoutDate() { - return _lockoutDate; - } - - @Override - public void setLockoutDate(Date lockoutDate) { - _lockoutDate = lockoutDate; - } - - @Override - public boolean getAgreedToTermsOfUse() { - return _agreedToTermsOfUse; - } - - @Override - public boolean isAgreedToTermsOfUse() { - return _agreedToTermsOfUse; - } - - @Override - public void setAgreedToTermsOfUse(boolean agreedToTermsOfUse) { - _agreedToTermsOfUse = agreedToTermsOfUse; - } - - @Override - public boolean getEmailAddressVerified() { - return _emailAddressVerified; - } - - @Override - public boolean isEmailAddressVerified() { - return _emailAddressVerified; - } - - @Override - public void setEmailAddressVerified(boolean emailAddressVerified) { - _emailAddressVerified = emailAddressVerified; - } - - @Override - public int getStatus() { - return _status; - } - - @Override - public void setStatus(int status) { - _status = status; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - OldUser.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public OldUser toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (OldUser)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - OldUserImpl oldUserImpl = new OldUserImpl(); - - oldUserImpl.setUserId(getUserId()); - oldUserImpl.setCompanyId(getCompanyId()); - oldUserImpl.setCreateDate(getCreateDate()); - oldUserImpl.setModifiedDate(getModifiedDate()); - oldUserImpl.setDefaultUser(getDefaultUser()); - oldUserImpl.setContactId(getContactId()); - oldUserImpl.setPassword(getPassword()); - oldUserImpl.setPasswordEncrypted(getPasswordEncrypted()); - oldUserImpl.setPasswordReset(getPasswordReset()); - oldUserImpl.setPasswordModifiedDate(getPasswordModifiedDate()); - oldUserImpl.setDigest(getDigest()); - oldUserImpl.setReminderQueryQuestion(getReminderQueryQuestion()); - oldUserImpl.setReminderQueryAnswer(getReminderQueryAnswer()); - oldUserImpl.setGraceLoginCount(getGraceLoginCount()); - oldUserImpl.setScreenName(getScreenName()); - oldUserImpl.setEmailAddress(getEmailAddress()); - oldUserImpl.setFacebookId(getFacebookId()); - oldUserImpl.setOpenId(getOpenId()); - oldUserImpl.setPortraitId(getPortraitId()); - oldUserImpl.setLanguageId(getLanguageId()); - oldUserImpl.setTimeZoneId(getTimeZoneId()); - oldUserImpl.setGreeting(getGreeting()); - oldUserImpl.setComments(getComments()); - oldUserImpl.setFirstName(getFirstName()); - oldUserImpl.setMiddleName(getMiddleName()); - oldUserImpl.setLastName(getLastName()); - oldUserImpl.setJobTitle(getJobTitle()); - oldUserImpl.setLoginDate(getLoginDate()); - oldUserImpl.setLoginIP(getLoginIP()); - oldUserImpl.setLastLoginDate(getLastLoginDate()); - oldUserImpl.setLastLoginIP(getLastLoginIP()); - oldUserImpl.setLastFailedLoginDate(getLastFailedLoginDate()); - oldUserImpl.setFailedLoginAttempts(getFailedLoginAttempts()); - oldUserImpl.setLockout(getLockout()); - oldUserImpl.setLockoutDate(getLockoutDate()); - oldUserImpl.setAgreedToTermsOfUse(getAgreedToTermsOfUse()); - oldUserImpl.setEmailAddressVerified(getEmailAddressVerified()); - oldUserImpl.setStatus(getStatus()); - - oldUserImpl.resetOriginalValues(); - - return oldUserImpl; - } - - @Override - public int compareTo(OldUser oldUser) { - long primaryKey = oldUser.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof OldUser)) { - return false; - } - - OldUser oldUser = (OldUser)obj; - - long primaryKey = oldUser.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - } - - @Override - public CacheModel toCacheModel() { - OldUserCacheModel oldUserCacheModel = new OldUserCacheModel(); - - oldUserCacheModel.userId = getUserId(); - - oldUserCacheModel.companyId = getCompanyId(); - - Date createDate = getCreateDate(); - - if (createDate != null) { - oldUserCacheModel.createDate = createDate.getTime(); - } - else { - oldUserCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - oldUserCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - oldUserCacheModel.modifiedDate = Long.MIN_VALUE; - } - - oldUserCacheModel.defaultUser = getDefaultUser(); - - oldUserCacheModel.contactId = getContactId(); - - oldUserCacheModel.password = getPassword(); - - String password = oldUserCacheModel.password; - - if ((password != null) && (password.length() == 0)) { - oldUserCacheModel.password = null; - } - - oldUserCacheModel.passwordEncrypted = getPasswordEncrypted(); - - oldUserCacheModel.passwordReset = getPasswordReset(); - - Date passwordModifiedDate = getPasswordModifiedDate(); - - if (passwordModifiedDate != null) { - oldUserCacheModel.passwordModifiedDate = passwordModifiedDate.getTime(); - } - else { - oldUserCacheModel.passwordModifiedDate = Long.MIN_VALUE; - } - - oldUserCacheModel.digest = getDigest(); - - String digest = oldUserCacheModel.digest; - - if ((digest != null) && (digest.length() == 0)) { - oldUserCacheModel.digest = null; - } - - oldUserCacheModel.reminderQueryQuestion = getReminderQueryQuestion(); - - String reminderQueryQuestion = oldUserCacheModel.reminderQueryQuestion; - - if ((reminderQueryQuestion != null) && - (reminderQueryQuestion.length() == 0)) { - oldUserCacheModel.reminderQueryQuestion = null; - } - - oldUserCacheModel.reminderQueryAnswer = getReminderQueryAnswer(); - - String reminderQueryAnswer = oldUserCacheModel.reminderQueryAnswer; - - if ((reminderQueryAnswer != null) && - (reminderQueryAnswer.length() == 0)) { - oldUserCacheModel.reminderQueryAnswer = null; - } - - oldUserCacheModel.graceLoginCount = getGraceLoginCount(); - - oldUserCacheModel.screenName = getScreenName(); - - String screenName = oldUserCacheModel.screenName; - - if ((screenName != null) && (screenName.length() == 0)) { - oldUserCacheModel.screenName = null; - } - - oldUserCacheModel.emailAddress = getEmailAddress(); - - String emailAddress = oldUserCacheModel.emailAddress; - - if ((emailAddress != null) && (emailAddress.length() == 0)) { - oldUserCacheModel.emailAddress = null; - } - - oldUserCacheModel.facebookId = getFacebookId(); - - oldUserCacheModel.openId = getOpenId(); - - String openId = oldUserCacheModel.openId; - - if ((openId != null) && (openId.length() == 0)) { - oldUserCacheModel.openId = null; - } - - oldUserCacheModel.portraitId = getPortraitId(); - - oldUserCacheModel.languageId = getLanguageId(); - - String languageId = oldUserCacheModel.languageId; - - if ((languageId != null) && (languageId.length() == 0)) { - oldUserCacheModel.languageId = null; - } - - oldUserCacheModel.timeZoneId = getTimeZoneId(); - - String timeZoneId = oldUserCacheModel.timeZoneId; - - if ((timeZoneId != null) && (timeZoneId.length() == 0)) { - oldUserCacheModel.timeZoneId = null; - } - - oldUserCacheModel.greeting = getGreeting(); - - String greeting = oldUserCacheModel.greeting; - - if ((greeting != null) && (greeting.length() == 0)) { - oldUserCacheModel.greeting = null; - } - - oldUserCacheModel.comments = getComments(); - - String comments = oldUserCacheModel.comments; - - if ((comments != null) && (comments.length() == 0)) { - oldUserCacheModel.comments = null; - } - - oldUserCacheModel.firstName = getFirstName(); - - String firstName = oldUserCacheModel.firstName; - - if ((firstName != null) && (firstName.length() == 0)) { - oldUserCacheModel.firstName = null; - } - - oldUserCacheModel.middleName = getMiddleName(); - - String middleName = oldUserCacheModel.middleName; - - if ((middleName != null) && (middleName.length() == 0)) { - oldUserCacheModel.middleName = null; - } - - oldUserCacheModel.lastName = getLastName(); - - String lastName = oldUserCacheModel.lastName; - - if ((lastName != null) && (lastName.length() == 0)) { - oldUserCacheModel.lastName = null; - } - - oldUserCacheModel.jobTitle = getJobTitle(); - - String jobTitle = oldUserCacheModel.jobTitle; - - if ((jobTitle != null) && (jobTitle.length() == 0)) { - oldUserCacheModel.jobTitle = null; - } - - Date loginDate = getLoginDate(); - - if (loginDate != null) { - oldUserCacheModel.loginDate = loginDate.getTime(); - } - else { - oldUserCacheModel.loginDate = Long.MIN_VALUE; - } - - oldUserCacheModel.loginIP = getLoginIP(); - - String loginIP = oldUserCacheModel.loginIP; - - if ((loginIP != null) && (loginIP.length() == 0)) { - oldUserCacheModel.loginIP = null; - } - - Date lastLoginDate = getLastLoginDate(); - - if (lastLoginDate != null) { - oldUserCacheModel.lastLoginDate = lastLoginDate.getTime(); - } - else { - oldUserCacheModel.lastLoginDate = Long.MIN_VALUE; - } - - oldUserCacheModel.lastLoginIP = getLastLoginIP(); - - String lastLoginIP = oldUserCacheModel.lastLoginIP; - - if ((lastLoginIP != null) && (lastLoginIP.length() == 0)) { - oldUserCacheModel.lastLoginIP = null; - } - - Date lastFailedLoginDate = getLastFailedLoginDate(); - - if (lastFailedLoginDate != null) { - oldUserCacheModel.lastFailedLoginDate = lastFailedLoginDate.getTime(); - } - else { - oldUserCacheModel.lastFailedLoginDate = Long.MIN_VALUE; - } - - oldUserCacheModel.failedLoginAttempts = getFailedLoginAttempts(); - - oldUserCacheModel.lockout = getLockout(); - - Date lockoutDate = getLockoutDate(); - - if (lockoutDate != null) { - oldUserCacheModel.lockoutDate = lockoutDate.getTime(); - } - else { - oldUserCacheModel.lockoutDate = Long.MIN_VALUE; - } - - oldUserCacheModel.agreedToTermsOfUse = getAgreedToTermsOfUse(); - - oldUserCacheModel.emailAddressVerified = getEmailAddressVerified(); - - oldUserCacheModel.status = getStatus(); - - return oldUserCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(77); - - sb.append("{userId="); - sb.append(getUserId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", defaultUser="); - sb.append(getDefaultUser()); - sb.append(", contactId="); - sb.append(getContactId()); - sb.append(", password="); - sb.append(getPassword()); - sb.append(", passwordEncrypted="); - sb.append(getPasswordEncrypted()); - sb.append(", passwordReset="); - sb.append(getPasswordReset()); - sb.append(", passwordModifiedDate="); - sb.append(getPasswordModifiedDate()); - sb.append(", digest="); - sb.append(getDigest()); - sb.append(", reminderQueryQuestion="); - sb.append(getReminderQueryQuestion()); - sb.append(", reminderQueryAnswer="); - sb.append(getReminderQueryAnswer()); - sb.append(", graceLoginCount="); - sb.append(getGraceLoginCount()); - sb.append(", screenName="); - sb.append(getScreenName()); - sb.append(", emailAddress="); - sb.append(getEmailAddress()); - sb.append(", facebookId="); - sb.append(getFacebookId()); - sb.append(", openId="); - sb.append(getOpenId()); - sb.append(", portraitId="); - sb.append(getPortraitId()); - sb.append(", languageId="); - sb.append(getLanguageId()); - sb.append(", timeZoneId="); - sb.append(getTimeZoneId()); - sb.append(", greeting="); - sb.append(getGreeting()); - sb.append(", comments="); - sb.append(getComments()); - sb.append(", firstName="); - sb.append(getFirstName()); - sb.append(", middleName="); - sb.append(getMiddleName()); - sb.append(", lastName="); - sb.append(getLastName()); - sb.append(", jobTitle="); - sb.append(getJobTitle()); - sb.append(", loginDate="); - sb.append(getLoginDate()); - sb.append(", loginIP="); - sb.append(getLoginIP()); - sb.append(", lastLoginDate="); - sb.append(getLastLoginDate()); - sb.append(", lastLoginIP="); - sb.append(getLastLoginIP()); - sb.append(", lastFailedLoginDate="); - sb.append(getLastFailedLoginDate()); - sb.append(", failedLoginAttempts="); - sb.append(getFailedLoginAttempts()); - sb.append(", lockout="); - sb.append(getLockout()); - sb.append(", lockoutDate="); - sb.append(getLockoutDate()); - sb.append(", agreedToTermsOfUse="); - sb.append(getAgreedToTermsOfUse()); - sb.append(", emailAddressVerified="); - sb.append(getEmailAddressVerified()); - sb.append(", status="); - sb.append(getStatus()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(118); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.OldUser"); - sb.append(""); - - sb.append( - "userId"); - sb.append( - "companyId"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "defaultUser"); - sb.append( - "contactId"); - sb.append( - "password"); - sb.append( - "passwordEncrypted"); - sb.append( - "passwordReset"); - sb.append( - "passwordModifiedDate"); - sb.append( - "digest"); - sb.append( - "reminderQueryQuestion"); - sb.append( - "reminderQueryAnswer"); - sb.append( - "graceLoginCount"); - sb.append( - "screenName"); - sb.append( - "emailAddress"); - sb.append( - "facebookId"); - sb.append( - "openId"); - sb.append( - "portraitId"); - sb.append( - "languageId"); - sb.append( - "timeZoneId"); - sb.append( - "greeting"); - sb.append( - "comments"); - sb.append( - "firstName"); - sb.append( - "middleName"); - sb.append( - "lastName"); - sb.append( - "jobTitle"); - sb.append( - "loginDate"); - sb.append( - "loginIP"); - sb.append( - "lastLoginDate"); - sb.append( - "lastLoginIP"); - sb.append( - "lastFailedLoginDate"); - sb.append( - "failedLoginAttempts"); - sb.append( - "lockout"); - sb.append( - "lockoutDate"); - sb.append( - "agreedToTermsOfUse"); - sb.append( - "emailAddressVerified"); - sb.append( - "status"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = OldUser.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - OldUser.class - }; - private long _userId; - private String _userUuid; - private long _companyId; - private Date _createDate; - private Date _modifiedDate; - private boolean _defaultUser; - private long _contactId; - private String _password; - private boolean _passwordEncrypted; - private boolean _passwordReset; - private Date _passwordModifiedDate; - private String _digest; - private String _reminderQueryQuestion; - private String _reminderQueryAnswer; - private int _graceLoginCount; - private String _screenName; - private String _emailAddress; - private long _facebookId; - private String _openId; - private long _portraitId; - private String _languageId; - private String _timeZoneId; - private String _greeting; - private String _comments; - private String _firstName; - private String _middleName; - private String _lastName; - private String _jobTitle; - private Date _loginDate; - private String _loginIP; - private Date _lastLoginDate; - private String _lastLoginIP; - private Date _lastFailedLoginDate; - private int _failedLoginAttempts; - private boolean _lockout; - private Date _lockoutDate; - private boolean _agreedToTermsOfUse; - private boolean _emailAddressVerified; - private int _status; - private OldUser _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/ProceduraImportazioneBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/ProceduraImportazioneBaseImpl.java deleted file mode 100644 index db0b8a3f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/ProceduraImportazioneBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.ProceduraImportazione; -import it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalServiceUtil; - -/** - * The extended model base implementation for the ProceduraImportazione service. Represents a row in the "old_portos_ProceduraImportazione" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link ProceduraImportazioneImpl}. - *

- * - * @author 3FC - * @see ProceduraImportazioneImpl - * @see it.tref.liferay.portos.importazione.model.ProceduraImportazione - * @generated - */ -public abstract class ProceduraImportazioneBaseImpl - extends ProceduraImportazioneModelImpl implements ProceduraImportazione { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a procedura importazione model instance should use the {@link ProceduraImportazione} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - ProceduraImportazioneLocalServiceUtil.addProceduraImportazione(this); - } - else { - ProceduraImportazioneLocalServiceUtil.updateProceduraImportazione(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/ProceduraImportazioneCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/ProceduraImportazioneCacheModel.java deleted file mode 100644 index dad93b9c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/ProceduraImportazioneCacheModel.java +++ /dev/null @@ -1,149 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.importazione.model.ProceduraImportazione; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing ProceduraImportazione in entity cache. - * - * @author 3FC - * @see ProceduraImportazione - * @generated - */ -public class ProceduraImportazioneCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(17); - - sb.append("{proceduraImportazioneId="); - sb.append(proceduraImportazioneId); - sb.append(", queryStartNumber="); - sb.append(queryStartNumber); - sb.append(", queryEndNumber="); - sb.append(queryEndNumber); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", oldDettPraticaIdsNotProcessed="); - sb.append(oldDettPraticaIdsNotProcessed); - sb.append(", dataEffettuazioneProceduraStart="); - sb.append(dataEffettuazioneProceduraStart); - sb.append(", dataEffettuazioneProceduraEnd="); - sb.append(dataEffettuazioneProceduraEnd); - sb.append(", companyId="); - sb.append(companyId); - sb.append("}"); - - return sb.toString(); - } - - @Override - public ProceduraImportazione toEntityModel() { - ProceduraImportazioneImpl proceduraImportazioneImpl = new ProceduraImportazioneImpl(); - - proceduraImportazioneImpl.setProceduraImportazioneId(proceduraImportazioneId); - proceduraImportazioneImpl.setQueryStartNumber(queryStartNumber); - proceduraImportazioneImpl.setQueryEndNumber(queryEndNumber); - - if (createDate == Long.MIN_VALUE) { - proceduraImportazioneImpl.setCreateDate(null); - } - else { - proceduraImportazioneImpl.setCreateDate(new Date(createDate)); - } - - if (oldDettPraticaIdsNotProcessed == null) { - proceduraImportazioneImpl.setOldDettPraticaIdsNotProcessed(StringPool.BLANK); - } - else { - proceduraImportazioneImpl.setOldDettPraticaIdsNotProcessed(oldDettPraticaIdsNotProcessed); - } - - if (dataEffettuazioneProceduraStart == Long.MIN_VALUE) { - proceduraImportazioneImpl.setDataEffettuazioneProceduraStart(null); - } - else { - proceduraImportazioneImpl.setDataEffettuazioneProceduraStart(new Date( - dataEffettuazioneProceduraStart)); - } - - if (dataEffettuazioneProceduraEnd == Long.MIN_VALUE) { - proceduraImportazioneImpl.setDataEffettuazioneProceduraEnd(null); - } - else { - proceduraImportazioneImpl.setDataEffettuazioneProceduraEnd(new Date( - dataEffettuazioneProceduraEnd)); - } - - proceduraImportazioneImpl.setCompanyId(companyId); - - proceduraImportazioneImpl.resetOriginalValues(); - - return proceduraImportazioneImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - proceduraImportazioneId = objectInput.readLong(); - queryStartNumber = objectInput.readInt(); - queryEndNumber = objectInput.readInt(); - createDate = objectInput.readLong(); - oldDettPraticaIdsNotProcessed = objectInput.readUTF(); - dataEffettuazioneProceduraStart = objectInput.readLong(); - dataEffettuazioneProceduraEnd = objectInput.readLong(); - companyId = objectInput.readLong(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - objectOutput.writeLong(proceduraImportazioneId); - objectOutput.writeInt(queryStartNumber); - objectOutput.writeInt(queryEndNumber); - objectOutput.writeLong(createDate); - - if (oldDettPraticaIdsNotProcessed == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(oldDettPraticaIdsNotProcessed); - } - - objectOutput.writeLong(dataEffettuazioneProceduraStart); - objectOutput.writeLong(dataEffettuazioneProceduraEnd); - objectOutput.writeLong(companyId); - } - - public long proceduraImportazioneId; - public int queryStartNumber; - public int queryEndNumber; - public long createDate; - public String oldDettPraticaIdsNotProcessed; - public long dataEffettuazioneProceduraStart; - public long dataEffettuazioneProceduraEnd; - public long companyId; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/ProceduraImportazioneImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/ProceduraImportazioneImpl.java deleted file mode 100644 index 7b1bed31..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/ProceduraImportazioneImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -/** - * The extended model implementation for the ProceduraImportazione service. Represents a row in the "old_portos_ProceduraImportazione" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.model.ProceduraImportazione} interface. - *

- * - * @author 3FC - */ -public class ProceduraImportazioneImpl extends ProceduraImportazioneBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a procedura importazione model instance should use the {@link it.tref.liferay.portos.importazione.model.ProceduraImportazione} interface instead. - */ - public ProceduraImportazioneImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/ProceduraImportazioneModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/ProceduraImportazioneModelImpl.java deleted file mode 100644 index a1ebf95c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/ProceduraImportazioneModelImpl.java +++ /dev/null @@ -1,506 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.importazione.model.ProceduraImportazione; -import it.tref.liferay.portos.importazione.model.ProceduraImportazioneModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the ProceduraImportazione service. Represents a row in the "old_portos_ProceduraImportazione" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.importazione.model.ProceduraImportazioneModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link ProceduraImportazioneImpl}. - *

- * - * @author 3FC - * @see ProceduraImportazioneImpl - * @see it.tref.liferay.portos.importazione.model.ProceduraImportazione - * @see it.tref.liferay.portos.importazione.model.ProceduraImportazioneModel - * @generated - */ -public class ProceduraImportazioneModelImpl extends BaseModelImpl - implements ProceduraImportazioneModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a procedura importazione model instance should use the {@link it.tref.liferay.portos.importazione.model.ProceduraImportazione} interface instead. - */ - public static final String TABLE_NAME = "old_portos_ProceduraImportazione"; - public static final Object[][] TABLE_COLUMNS = { - { "proceduraImportazioneId", Types.BIGINT }, - { "queryStartNumber", Types.INTEGER }, - { "queryEndNumber", Types.INTEGER }, - { "createDate", Types.TIMESTAMP }, - { "oldDettPraticaIdsNotProcessed", Types.VARCHAR }, - { "dataEffettuazioneProceduraStart", Types.TIMESTAMP }, - { "dataEffettuazioneProceduraEnd", Types.TIMESTAMP }, - { "companyId", Types.BIGINT } - }; - public static final String TABLE_SQL_CREATE = "create table old_portos_ProceduraImportazione (proceduraImportazioneId LONG not null primary key,queryStartNumber INTEGER,queryEndNumber INTEGER,createDate DATE null,oldDettPraticaIdsNotProcessed STRING null,dataEffettuazioneProceduraStart DATE null,dataEffettuazioneProceduraEnd DATE null,companyId LONG)"; - public static final String TABLE_SQL_DROP = "drop table old_portos_ProceduraImportazione"; - public static final String ORDER_BY_JPQL = " ORDER BY proceduraImportazione.proceduraImportazioneId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY old_portos_ProceduraImportazione.proceduraImportazioneId ASC"; - public static final String DATA_SOURCE = "liferayDataSource"; - public static final String SESSION_FACTORY = "liferaySessionFactory"; - public static final String TX_MANAGER = "liferayTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.importazione.model.ProceduraImportazione"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.importazione.model.ProceduraImportazione"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = false; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.importazione.model.ProceduraImportazione")); - - public ProceduraImportazioneModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _proceduraImportazioneId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setProceduraImportazioneId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _proceduraImportazioneId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return ProceduraImportazione.class; - } - - @Override - public String getModelClassName() { - return ProceduraImportazione.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("proceduraImportazioneId", getProceduraImportazioneId()); - attributes.put("queryStartNumber", getQueryStartNumber()); - attributes.put("queryEndNumber", getQueryEndNumber()); - attributes.put("createDate", getCreateDate()); - attributes.put("oldDettPraticaIdsNotProcessed", - getOldDettPraticaIdsNotProcessed()); - attributes.put("dataEffettuazioneProceduraStart", - getDataEffettuazioneProceduraStart()); - attributes.put("dataEffettuazioneProceduraEnd", - getDataEffettuazioneProceduraEnd()); - attributes.put("companyId", getCompanyId()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long proceduraImportazioneId = (Long)attributes.get( - "proceduraImportazioneId"); - - if (proceduraImportazioneId != null) { - setProceduraImportazioneId(proceduraImportazioneId); - } - - Integer queryStartNumber = (Integer)attributes.get("queryStartNumber"); - - if (queryStartNumber != null) { - setQueryStartNumber(queryStartNumber); - } - - Integer queryEndNumber = (Integer)attributes.get("queryEndNumber"); - - if (queryEndNumber != null) { - setQueryEndNumber(queryEndNumber); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - String oldDettPraticaIdsNotProcessed = (String)attributes.get( - "oldDettPraticaIdsNotProcessed"); - - if (oldDettPraticaIdsNotProcessed != null) { - setOldDettPraticaIdsNotProcessed(oldDettPraticaIdsNotProcessed); - } - - Date dataEffettuazioneProceduraStart = (Date)attributes.get( - "dataEffettuazioneProceduraStart"); - - if (dataEffettuazioneProceduraStart != null) { - setDataEffettuazioneProceduraStart(dataEffettuazioneProceduraStart); - } - - Date dataEffettuazioneProceduraEnd = (Date)attributes.get( - "dataEffettuazioneProceduraEnd"); - - if (dataEffettuazioneProceduraEnd != null) { - setDataEffettuazioneProceduraEnd(dataEffettuazioneProceduraEnd); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - } - - @Override - public long getProceduraImportazioneId() { - return _proceduraImportazioneId; - } - - @Override - public void setProceduraImportazioneId(long proceduraImportazioneId) { - _proceduraImportazioneId = proceduraImportazioneId; - } - - @Override - public int getQueryStartNumber() { - return _queryStartNumber; - } - - @Override - public void setQueryStartNumber(int queryStartNumber) { - _queryStartNumber = queryStartNumber; - } - - @Override - public int getQueryEndNumber() { - return _queryEndNumber; - } - - @Override - public void setQueryEndNumber(int queryEndNumber) { - _queryEndNumber = queryEndNumber; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public String getOldDettPraticaIdsNotProcessed() { - if (_oldDettPraticaIdsNotProcessed == null) { - return StringPool.BLANK; - } - else { - return _oldDettPraticaIdsNotProcessed; - } - } - - @Override - public void setOldDettPraticaIdsNotProcessed( - String oldDettPraticaIdsNotProcessed) { - _oldDettPraticaIdsNotProcessed = oldDettPraticaIdsNotProcessed; - } - - @Override - public Date getDataEffettuazioneProceduraStart() { - return _dataEffettuazioneProceduraStart; - } - - @Override - public void setDataEffettuazioneProceduraStart( - Date dataEffettuazioneProceduraStart) { - _dataEffettuazioneProceduraStart = dataEffettuazioneProceduraStart; - } - - @Override - public Date getDataEffettuazioneProceduraEnd() { - return _dataEffettuazioneProceduraEnd; - } - - @Override - public void setDataEffettuazioneProceduraEnd( - Date dataEffettuazioneProceduraEnd) { - _dataEffettuazioneProceduraEnd = dataEffettuazioneProceduraEnd; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - ProceduraImportazione.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public ProceduraImportazione toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (ProceduraImportazione)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - ProceduraImportazioneImpl proceduraImportazioneImpl = new ProceduraImportazioneImpl(); - - proceduraImportazioneImpl.setProceduraImportazioneId(getProceduraImportazioneId()); - proceduraImportazioneImpl.setQueryStartNumber(getQueryStartNumber()); - proceduraImportazioneImpl.setQueryEndNumber(getQueryEndNumber()); - proceduraImportazioneImpl.setCreateDate(getCreateDate()); - proceduraImportazioneImpl.setOldDettPraticaIdsNotProcessed(getOldDettPraticaIdsNotProcessed()); - proceduraImportazioneImpl.setDataEffettuazioneProceduraStart(getDataEffettuazioneProceduraStart()); - proceduraImportazioneImpl.setDataEffettuazioneProceduraEnd(getDataEffettuazioneProceduraEnd()); - proceduraImportazioneImpl.setCompanyId(getCompanyId()); - - proceduraImportazioneImpl.resetOriginalValues(); - - return proceduraImportazioneImpl; - } - - @Override - public int compareTo(ProceduraImportazione proceduraImportazione) { - long primaryKey = proceduraImportazione.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof ProceduraImportazione)) { - return false; - } - - ProceduraImportazione proceduraImportazione = (ProceduraImportazione)obj; - - long primaryKey = proceduraImportazione.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - } - - @Override - public CacheModel toCacheModel() { - ProceduraImportazioneCacheModel proceduraImportazioneCacheModel = new ProceduraImportazioneCacheModel(); - - proceduraImportazioneCacheModel.proceduraImportazioneId = getProceduraImportazioneId(); - - proceduraImportazioneCacheModel.queryStartNumber = getQueryStartNumber(); - - proceduraImportazioneCacheModel.queryEndNumber = getQueryEndNumber(); - - Date createDate = getCreateDate(); - - if (createDate != null) { - proceduraImportazioneCacheModel.createDate = createDate.getTime(); - } - else { - proceduraImportazioneCacheModel.createDate = Long.MIN_VALUE; - } - - proceduraImportazioneCacheModel.oldDettPraticaIdsNotProcessed = getOldDettPraticaIdsNotProcessed(); - - String oldDettPraticaIdsNotProcessed = proceduraImportazioneCacheModel.oldDettPraticaIdsNotProcessed; - - if ((oldDettPraticaIdsNotProcessed != null) && - (oldDettPraticaIdsNotProcessed.length() == 0)) { - proceduraImportazioneCacheModel.oldDettPraticaIdsNotProcessed = null; - } - - Date dataEffettuazioneProceduraStart = getDataEffettuazioneProceduraStart(); - - if (dataEffettuazioneProceduraStart != null) { - proceduraImportazioneCacheModel.dataEffettuazioneProceduraStart = dataEffettuazioneProceduraStart.getTime(); - } - else { - proceduraImportazioneCacheModel.dataEffettuazioneProceduraStart = Long.MIN_VALUE; - } - - Date dataEffettuazioneProceduraEnd = getDataEffettuazioneProceduraEnd(); - - if (dataEffettuazioneProceduraEnd != null) { - proceduraImportazioneCacheModel.dataEffettuazioneProceduraEnd = dataEffettuazioneProceduraEnd.getTime(); - } - else { - proceduraImportazioneCacheModel.dataEffettuazioneProceduraEnd = Long.MIN_VALUE; - } - - proceduraImportazioneCacheModel.companyId = getCompanyId(); - - return proceduraImportazioneCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(17); - - sb.append("{proceduraImportazioneId="); - sb.append(getProceduraImportazioneId()); - sb.append(", queryStartNumber="); - sb.append(getQueryStartNumber()); - sb.append(", queryEndNumber="); - sb.append(getQueryEndNumber()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", oldDettPraticaIdsNotProcessed="); - sb.append(getOldDettPraticaIdsNotProcessed()); - sb.append(", dataEffettuazioneProceduraStart="); - sb.append(getDataEffettuazioneProceduraStart()); - sb.append(", dataEffettuazioneProceduraEnd="); - sb.append(getDataEffettuazioneProceduraEnd()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(28); - - sb.append(""); - sb.append( - "it.tref.liferay.portos.importazione.model.ProceduraImportazione"); - sb.append(""); - - sb.append( - "proceduraImportazioneId"); - sb.append( - "queryStartNumber"); - sb.append( - "queryEndNumber"); - sb.append( - "createDate"); - sb.append( - "oldDettPraticaIdsNotProcessed"); - sb.append( - "dataEffettuazioneProceduraStart"); - sb.append( - "dataEffettuazioneProceduraEnd"); - sb.append( - "companyId"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = ProceduraImportazione.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - ProceduraImportazione.class - }; - private long _proceduraImportazioneId; - private int _queryStartNumber; - private int _queryEndNumber; - private Date _createDate; - private String _oldDettPraticaIdsNotProcessed; - private Date _dataEffettuazioneProceduraStart; - private Date _dataEffettuazioneProceduraEnd; - private long _companyId; - private ProceduraImportazione _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/StatoImportazioneBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/StatoImportazioneBaseImpl.java deleted file mode 100644 index a5606dd2..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/StatoImportazioneBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.importazione.model.StatoImportazione; -import it.tref.liferay.portos.importazione.service.StatoImportazioneLocalServiceUtil; - -/** - * The extended model base implementation for the StatoImportazione service. Represents a row in the "old_portos_StatoImportazione" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link StatoImportazioneImpl}. - *

- * - * @author 3FC - * @see StatoImportazioneImpl - * @see it.tref.liferay.portos.importazione.model.StatoImportazione - * @generated - */ -public abstract class StatoImportazioneBaseImpl - extends StatoImportazioneModelImpl implements StatoImportazione { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a stato importazione model instance should use the {@link StatoImportazione} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - StatoImportazioneLocalServiceUtil.addStatoImportazione(this); - } - else { - StatoImportazioneLocalServiceUtil.updateStatoImportazione(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/StatoImportazioneCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/StatoImportazioneCacheModel.java deleted file mode 100644 index e2510afd..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/StatoImportazioneCacheModel.java +++ /dev/null @@ -1,165 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.importazione.model.StatoImportazione; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing StatoImportazione in entity cache. - * - * @author 3FC - * @see StatoImportazione - * @generated - */ -public class StatoImportazioneCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(15); - - sb.append("{statoImportazioneId="); - sb.append(statoImportazioneId); - sb.append(", className="); - sb.append(className); - sb.append(", oldPrimaryKey="); - sb.append(oldPrimaryKey); - sb.append(", newPrimaryKey="); - sb.append(newPrimaryKey); - sb.append(", dataImportazione="); - sb.append(dataImportazione); - sb.append(", esito="); - sb.append(esito); - sb.append(", errorMessage="); - sb.append(errorMessage); - sb.append("}"); - - return sb.toString(); - } - - @Override - public StatoImportazione toEntityModel() { - StatoImportazioneImpl statoImportazioneImpl = new StatoImportazioneImpl(); - - statoImportazioneImpl.setStatoImportazioneId(statoImportazioneId); - - if (className == null) { - statoImportazioneImpl.setClassName(StringPool.BLANK); - } - else { - statoImportazioneImpl.setClassName(className); - } - - if (oldPrimaryKey == null) { - statoImportazioneImpl.setOldPrimaryKey(StringPool.BLANK); - } - else { - statoImportazioneImpl.setOldPrimaryKey(oldPrimaryKey); - } - - if (newPrimaryKey == null) { - statoImportazioneImpl.setNewPrimaryKey(StringPool.BLANK); - } - else { - statoImportazioneImpl.setNewPrimaryKey(newPrimaryKey); - } - - if (dataImportazione == Long.MIN_VALUE) { - statoImportazioneImpl.setDataImportazione(null); - } - else { - statoImportazioneImpl.setDataImportazione(new Date(dataImportazione)); - } - - statoImportazioneImpl.setEsito(esito); - - if (errorMessage == null) { - statoImportazioneImpl.setErrorMessage(StringPool.BLANK); - } - else { - statoImportazioneImpl.setErrorMessage(errorMessage); - } - - statoImportazioneImpl.resetOriginalValues(); - - return statoImportazioneImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - statoImportazioneId = objectInput.readLong(); - className = objectInput.readUTF(); - oldPrimaryKey = objectInput.readUTF(); - newPrimaryKey = objectInput.readUTF(); - dataImportazione = objectInput.readLong(); - esito = objectInput.readBoolean(); - errorMessage = objectInput.readUTF(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - objectOutput.writeLong(statoImportazioneId); - - if (className == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(className); - } - - if (oldPrimaryKey == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(oldPrimaryKey); - } - - if (newPrimaryKey == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(newPrimaryKey); - } - - objectOutput.writeLong(dataImportazione); - objectOutput.writeBoolean(esito); - - if (errorMessage == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(errorMessage); - } - } - - public long statoImportazioneId; - public String className; - public String oldPrimaryKey; - public String newPrimaryKey; - public long dataImportazione; - public boolean esito; - public String errorMessage; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/StatoImportazioneImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/StatoImportazioneImpl.java deleted file mode 100644 index 3b261b57..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/StatoImportazioneImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -/** - * The extended model implementation for the StatoImportazione service. Represents a row in the "old_portos_StatoImportazione" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.model.StatoImportazione} interface. - *

- * - * @author 3FC - */ -public class StatoImportazioneImpl extends StatoImportazioneBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a stato importazione model instance should use the {@link it.tref.liferay.portos.importazione.model.StatoImportazione} interface instead. - */ - public StatoImportazioneImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/StatoImportazioneModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/StatoImportazioneModelImpl.java deleted file mode 100644 index 38c2bc7a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/model/impl/StatoImportazioneModelImpl.java +++ /dev/null @@ -1,517 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.util.DateUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.importazione.model.StatoImportazione; -import it.tref.liferay.portos.importazione.model.StatoImportazioneModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the StatoImportazione service. Represents a row in the "old_portos_StatoImportazione" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.importazione.model.StatoImportazioneModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link StatoImportazioneImpl}. - *

- * - * @author 3FC - * @see StatoImportazioneImpl - * @see it.tref.liferay.portos.importazione.model.StatoImportazione - * @see it.tref.liferay.portos.importazione.model.StatoImportazioneModel - * @generated - */ -public class StatoImportazioneModelImpl extends BaseModelImpl - implements StatoImportazioneModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a stato importazione model instance should use the {@link it.tref.liferay.portos.importazione.model.StatoImportazione} interface instead. - */ - public static final String TABLE_NAME = "old_portos_StatoImportazione"; - public static final Object[][] TABLE_COLUMNS = { - { "statoImportazioneId", Types.BIGINT }, - { "className", Types.VARCHAR }, - { "oldPrimaryKey", Types.VARCHAR }, - { "newPrimaryKey", Types.VARCHAR }, - { "dataImportazione", Types.TIMESTAMP }, - { "esito", Types.BOOLEAN }, - { "errorMessage", Types.VARCHAR } - }; - public static final String TABLE_SQL_CREATE = "create table old_portos_StatoImportazione (statoImportazioneId LONG not null primary key,className VARCHAR(75) null,oldPrimaryKey VARCHAR(75) null,newPrimaryKey VARCHAR(75) null,dataImportazione DATE null,esito BOOLEAN,errorMessage VARCHAR(200) null)"; - public static final String TABLE_SQL_DROP = "drop table old_portos_StatoImportazione"; - public static final String ORDER_BY_JPQL = " ORDER BY statoImportazione.dataImportazione ASC"; - public static final String ORDER_BY_SQL = " ORDER BY old_portos_StatoImportazione.dataImportazione ASC"; - public static final String DATA_SOURCE = "liferayDataSource"; - public static final String SESSION_FACTORY = "liferaySessionFactory"; - public static final String TX_MANAGER = "liferayTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.importazione.model.StatoImportazione"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.importazione.model.StatoImportazione"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.importazione.model.StatoImportazione"), - true); - public static long CLASSNAME_COLUMN_BITMASK = 1L; - public static long DATAIMPORTAZIONE_COLUMN_BITMASK = 2L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.importazione.model.StatoImportazione")); - - public StatoImportazioneModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _statoImportazioneId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setStatoImportazioneId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _statoImportazioneId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return StatoImportazione.class; - } - - @Override - public String getModelClassName() { - return StatoImportazione.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("statoImportazioneId", getStatoImportazioneId()); - attributes.put("className", getClassName()); - attributes.put("oldPrimaryKey", getOldPrimaryKey()); - attributes.put("newPrimaryKey", getNewPrimaryKey()); - attributes.put("dataImportazione", getDataImportazione()); - attributes.put("esito", getEsito()); - attributes.put("errorMessage", getErrorMessage()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long statoImportazioneId = (Long)attributes.get("statoImportazioneId"); - - if (statoImportazioneId != null) { - setStatoImportazioneId(statoImportazioneId); - } - - String className = (String)attributes.get("className"); - - if (className != null) { - setClassName(className); - } - - String oldPrimaryKey = (String)attributes.get("oldPrimaryKey"); - - if (oldPrimaryKey != null) { - setOldPrimaryKey(oldPrimaryKey); - } - - String newPrimaryKey = (String)attributes.get("newPrimaryKey"); - - if (newPrimaryKey != null) { - setNewPrimaryKey(newPrimaryKey); - } - - Date dataImportazione = (Date)attributes.get("dataImportazione"); - - if (dataImportazione != null) { - setDataImportazione(dataImportazione); - } - - Boolean esito = (Boolean)attributes.get("esito"); - - if (esito != null) { - setEsito(esito); - } - - String errorMessage = (String)attributes.get("errorMessage"); - - if (errorMessage != null) { - setErrorMessage(errorMessage); - } - } - - @Override - public long getStatoImportazioneId() { - return _statoImportazioneId; - } - - @Override - public void setStatoImportazioneId(long statoImportazioneId) { - _statoImportazioneId = statoImportazioneId; - } - - @Override - public String getClassName() { - if (_className == null) { - return StringPool.BLANK; - } - else { - return _className; - } - } - - @Override - public void setClassName(String className) { - _columnBitmask |= CLASSNAME_COLUMN_BITMASK; - - if (_originalClassName == null) { - _originalClassName = _className; - } - - _className = className; - } - - public String getOriginalClassName() { - return GetterUtil.getString(_originalClassName); - } - - @Override - public String getOldPrimaryKey() { - if (_oldPrimaryKey == null) { - return StringPool.BLANK; - } - else { - return _oldPrimaryKey; - } - } - - @Override - public void setOldPrimaryKey(String oldPrimaryKey) { - _oldPrimaryKey = oldPrimaryKey; - } - - @Override - public String getNewPrimaryKey() { - if (_newPrimaryKey == null) { - return StringPool.BLANK; - } - else { - return _newPrimaryKey; - } - } - - @Override - public void setNewPrimaryKey(String newPrimaryKey) { - _newPrimaryKey = newPrimaryKey; - } - - @Override - public Date getDataImportazione() { - return _dataImportazione; - } - - @Override - public void setDataImportazione(Date dataImportazione) { - _columnBitmask = -1L; - - _dataImportazione = dataImportazione; - } - - @Override - public boolean getEsito() { - return _esito; - } - - @Override - public boolean isEsito() { - return _esito; - } - - @Override - public void setEsito(boolean esito) { - _esito = esito; - } - - @Override - public String getErrorMessage() { - if (_errorMessage == null) { - return StringPool.BLANK; - } - else { - return _errorMessage; - } - } - - @Override - public void setErrorMessage(String errorMessage) { - _errorMessage = errorMessage; - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(0, - StatoImportazione.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public StatoImportazione toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (StatoImportazione)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - StatoImportazioneImpl statoImportazioneImpl = new StatoImportazioneImpl(); - - statoImportazioneImpl.setStatoImportazioneId(getStatoImportazioneId()); - statoImportazioneImpl.setClassName(getClassName()); - statoImportazioneImpl.setOldPrimaryKey(getOldPrimaryKey()); - statoImportazioneImpl.setNewPrimaryKey(getNewPrimaryKey()); - statoImportazioneImpl.setDataImportazione(getDataImportazione()); - statoImportazioneImpl.setEsito(getEsito()); - statoImportazioneImpl.setErrorMessage(getErrorMessage()); - - statoImportazioneImpl.resetOriginalValues(); - - return statoImportazioneImpl; - } - - @Override - public int compareTo(StatoImportazione statoImportazione) { - int value = 0; - - value = DateUtil.compareTo(getDataImportazione(), - statoImportazione.getDataImportazione()); - - if (value != 0) { - return value; - } - - return 0; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof StatoImportazione)) { - return false; - } - - StatoImportazione statoImportazione = (StatoImportazione)obj; - - long primaryKey = statoImportazione.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - StatoImportazioneModelImpl statoImportazioneModelImpl = this; - - statoImportazioneModelImpl._originalClassName = statoImportazioneModelImpl._className; - - statoImportazioneModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - StatoImportazioneCacheModel statoImportazioneCacheModel = new StatoImportazioneCacheModel(); - - statoImportazioneCacheModel.statoImportazioneId = getStatoImportazioneId(); - - statoImportazioneCacheModel.className = getClassName(); - - String className = statoImportazioneCacheModel.className; - - if ((className != null) && (className.length() == 0)) { - statoImportazioneCacheModel.className = null; - } - - statoImportazioneCacheModel.oldPrimaryKey = getOldPrimaryKey(); - - String oldPrimaryKey = statoImportazioneCacheModel.oldPrimaryKey; - - if ((oldPrimaryKey != null) && (oldPrimaryKey.length() == 0)) { - statoImportazioneCacheModel.oldPrimaryKey = null; - } - - statoImportazioneCacheModel.newPrimaryKey = getNewPrimaryKey(); - - String newPrimaryKey = statoImportazioneCacheModel.newPrimaryKey; - - if ((newPrimaryKey != null) && (newPrimaryKey.length() == 0)) { - statoImportazioneCacheModel.newPrimaryKey = null; - } - - Date dataImportazione = getDataImportazione(); - - if (dataImportazione != null) { - statoImportazioneCacheModel.dataImportazione = dataImportazione.getTime(); - } - else { - statoImportazioneCacheModel.dataImportazione = Long.MIN_VALUE; - } - - statoImportazioneCacheModel.esito = getEsito(); - - statoImportazioneCacheModel.errorMessage = getErrorMessage(); - - String errorMessage = statoImportazioneCacheModel.errorMessage; - - if ((errorMessage != null) && (errorMessage.length() == 0)) { - statoImportazioneCacheModel.errorMessage = null; - } - - return statoImportazioneCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(15); - - sb.append("{statoImportazioneId="); - sb.append(getStatoImportazioneId()); - sb.append(", className="); - sb.append(getClassName()); - sb.append(", oldPrimaryKey="); - sb.append(getOldPrimaryKey()); - sb.append(", newPrimaryKey="); - sb.append(getNewPrimaryKey()); - sb.append(", dataImportazione="); - sb.append(getDataImportazione()); - sb.append(", esito="); - sb.append(getEsito()); - sb.append(", errorMessage="); - sb.append(getErrorMessage()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(25); - - sb.append(""); - sb.append("it.tref.liferay.portos.importazione.model.StatoImportazione"); - sb.append(""); - - sb.append( - "statoImportazioneId"); - sb.append( - "className"); - sb.append( - "oldPrimaryKey"); - sb.append( - "newPrimaryKey"); - sb.append( - "dataImportazione"); - sb.append( - "esito"); - sb.append( - "errorMessage"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = StatoImportazione.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - StatoImportazione.class - }; - private long _statoImportazioneId; - private String _className; - private String _originalClassName; - private String _oldPrimaryKey; - private String _newPrimaryKey; - private Date _dataImportazione; - private boolean _esito; - private String _errorMessage; - private long _columnBitmask; - private StatoImportazione _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/portlet/ImportazioneCPPortlet.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/portlet/ImportazioneCPPortlet.java deleted file mode 100644 index aeb09072..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/portlet/ImportazioneCPPortlet.java +++ /dev/null @@ -1,198 +0,0 @@ -package it.tref.liferay.portos.importazione.portlet; - -import it.tref.liferay.portos.bo.model.Collaudo; -import it.tref.liferay.portos.bo.model.DettPratica; -import it.tref.liferay.portos.bo.model.FineLavori; -import it.tref.liferay.portos.bo.model.IntPratica; -import it.tref.liferay.portos.bo.service.CollaudoLocalServiceUtil; -import it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.FineLavoriLocalServiceUtil; -import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil; -import it.tref.liferay.portos.bo.util.FilesImporter; -import it.tref.liferay.portos.importazione.util.PraticaImporter; - -import java.util.ArrayList; -import java.util.Calendar; -import java.util.Date; -import java.util.List; - -import javax.portlet.ActionRequest; -import javax.portlet.ActionResponse; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.ParamUtil; -import com.liferay.portal.kernel.util.WebKeys; -import com.liferay.portal.theme.ThemeDisplay; -import com.liferay.util.bridges.mvc.MVCPortlet; - -/** - * Portlet implementation class ImportazioneCPPortlet - */ -public class ImportazioneCPPortlet extends MVCPortlet { - - private static Log _log = LogFactoryUtil.getLog(ImportazioneCPPortlet.class); - - - public void importSingleOldDettPratica(ActionRequest actionRequest, ActionResponse actionResponse) { - - ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); - - Long oldDettPraticaId = ParamUtil.getLong(actionRequest, "oldDettPraticaId"); - - PraticaImporter.importaSingolaPratica(oldDettPraticaId, themeDisplay.getCompanyId()); - - } - - public void deleteSingleFascicolo(ActionRequest actionRequest, ActionResponse actionResponse) { - - Long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId"); - - try { - IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId); - IntPraticaLocalServiceUtil.deleteIntPratica(intPratica, true); - } catch (PortalException | SystemException e) { - _log.error(e, e); - } - - } - - public void importFilesPortos1(ActionRequest actionRequest, ActionResponse actionResponse) { - - Calendar calEnd = Calendar.getInstance(); - calEnd.setTime(new Date()); - calEnd.add(Calendar.HOUR_OF_DAY, 8); - - try { - FilesImporter.importaFiles(calEnd); - } catch (SystemException e) { - _log.error(e, e); - } - - } - - public void importSingleFilesFascicolo(ActionRequest actionRequest, ActionResponse actionResponse) - throws SystemException, PortalException { - - ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); - - Long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId"); - - IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId); - - // List listaInt = IntPraticaLocalServiceUtil.importaVecchiFilesFascicolo(0l, 1, - // 1400); - - if (intPratica != null) { - - // for (IntPratica intPratica : listaInt) { - - _log.debug("************** START FASCICOLO : " + intPratica.getIntPraticaId()); - - List listaDet = DettPraticaLocalServiceUtil.findByIntPraticaId(intPratica.getIntPraticaId()); - for (DettPratica dettPratica : listaDet) { - FilesImporter.importaFilesFascicolo(dettPratica.getDettPraticaId(), DettPratica.class.getName()); - } - - List listaFine = - FineLavoriLocalServiceUtil.findByIntPraticaId(intPratica.getIntPraticaId(), -1, -1, null); - for (FineLavori fineLavori : listaFine) { - FilesImporter.importaFilesFascicolo(fineLavori.getFineLavoriId(), FineLavori.class.getName()); - } - - List listaColl = - CollaudoLocalServiceUtil.findByIntPraticaId(intPratica.getIntPraticaId(), -1, -1, null); - for (Collaudo collaudo : listaColl) { - FilesImporter.importaFilesFascicolo(collaudo.getCollaudoId(), Collaudo.class.getName()); - } - - _log.debug("************** END FASCICOLO : " + intPratica.getIntPraticaId()); - - // } - } - - - } - - public void importSlotFilesFascicolo(ActionRequest actionRequest, ActionResponse actionResponse) - throws SystemException, PortalException { - - ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); - - int numero = ParamUtil.getInteger(actionRequest, "numeroDiPraticheDaProcessare"); - - - List listaInt = IntPraticaLocalServiceUtil.importaVecchiFilesFascicolo(0l, 1, numero); - - if (listaInt != null && !listaInt.isEmpty()) { - - for (IntPratica intPratica : listaInt) { - - _log.debug("************** START FASCICOLO : " + intPratica.getIntPraticaId()); - - List listaDet = DettPraticaLocalServiceUtil.findByIntPraticaId(intPratica.getIntPraticaId()); - for (DettPratica dettPratica : listaDet) { - FilesImporter.importaFilesFascicolo(dettPratica.getDettPraticaId(), DettPratica.class.getName()); - } - - List listaFine = - FineLavoriLocalServiceUtil.findByIntPraticaId(intPratica.getIntPraticaId(), -1, -1, null); - for (FineLavori fineLavori : listaFine) { - FilesImporter.importaFilesFascicolo(fineLavori.getFineLavoriId(), FineLavori.class.getName()); - } - - List listaColl = - CollaudoLocalServiceUtil.findByIntPraticaId(intPratica.getIntPraticaId(), -1, -1, null); - for (Collaudo collaudo : listaColl) { - FilesImporter.importaFilesFascicolo(collaudo.getCollaudoId(), Collaudo.class.getName()); - } - - _log.debug("************** END FASCICOLO : " + intPratica.getIntPraticaId()); - - } - } - - - } - - public void correggiPraticheWorkflow(ActionRequest actionRequest, ActionResponse actionResponse) { - - ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); - try { - PraticaImporter.attivaWorkflowPerPraticheAnomale(); - } catch (PortalException | SystemException e) { - _log.error(e, e); - } - - } - - public void pulisciERiemportaNumeroProgetto(ActionRequest actionRequest, ActionResponse actionResponse) { - - ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); - - String intPraticaIds = ParamUtil.getString(actionRequest, "numeroProgettos"); - - long companyId = themeDisplay.getCompanyId(); - - List ids = new ArrayList<>(); - for (String id : intPraticaIds.split(";")) { - String numeroProgetto = id; - - _log.info("Importing " + ids.toString()); - - try { - - PraticaImporter.cleanPraticheDoppie(numeroProgetto, companyId); - - } catch (Exception e) { - _log.error("Errore nella gestione della intPraticaId = " + ids.toString(), e); - } - - } - - } - - -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/portlet/ImportazioneVecchioSistemaPortlet.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/portlet/ImportazioneVecchioSistemaPortlet.java deleted file mode 100644 index 7d0b96ab..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/portlet/ImportazioneVecchioSistemaPortlet.java +++ /dev/null @@ -1,583 +0,0 @@ -package it.tref.liferay.portos.importazione.portlet; - -import it.tref.liferay.portos.bo.CSVFileNotFoundException; -import it.tref.liferay.portos.bo.NoSuchTerritorioException; -import it.tref.liferay.portos.bo.model.ControlloPratica; -import it.tref.liferay.portos.bo.model.IntPratica; -import it.tref.liferay.portos.bo.service.ClpSerializer; -import it.tref.liferay.portos.bo.service.ControlloPraticaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil; -import it.tref.liferay.portos.bo.util.FilesImporter; -import it.tref.liferay.portos.importazione.model.KaleoInstance; -import it.tref.liferay.portos.importazione.model.KaleoInstanceToken; -import it.tref.liferay.portos.importazione.model.KaleoLog; -import it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance; -import it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken; -import it.tref.liferay.portos.importazione.service.KaleoInstanceLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.KaleoLogLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalServiceUtil; -import it.tref.liferay.portos.importazione.util.CleanPratiche; -import it.tref.liferay.portos.importazione.util.CleanSorteggi; -import it.tref.liferay.portos.importazione.util.PraticaImporter; -import it.tref.liferay.portos.importazione.util.ProtocolloImportResult; -import it.tref.liferay.portos.importazione.util.ProtocolloImporter; -import it.tref.liferay.portos.importazione.util.SorteggioImporter; -import it.tref.liferay.portos.importazione.util.TempisticheImporter; -import it.tref.liferay.portos.importazione.util.TerritorioImporter; -import it.tref.liferay.portos.importazione.util.UserImporter; -import it.tref.liferay.portos.importazione.util.UtilImporter; - -import java.io.File; -import java.util.ArrayList; -import java.util.Calendar; -import java.util.Date; -import java.util.List; - -import javax.portlet.ActionRequest; -import javax.portlet.ActionResponse; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.RestrictionsFactoryUtil; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.servlet.SessionErrors; -import com.liferay.portal.kernel.upload.UploadPortletRequest; -import com.liferay.portal.kernel.util.ParamUtil; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.kernel.util.WebKeys; -import com.liferay.portal.model.WorkflowInstanceLink; -import com.liferay.portal.service.WorkflowInstanceLinkLocalServiceUtil; -import com.liferay.portal.theme.ThemeDisplay; -import com.liferay.portal.util.PortalUtil; -import com.liferay.util.bridges.mvc.MVCPortlet; - -/** - * Portlet implementation class ImportazioneVecchioSistemaPortlet - */ -public class ImportazioneVecchioSistemaPortlet extends MVCPortlet { - - private static Log _log = LogFactoryUtil.getLog(ImportazioneVecchioSistemaPortlet.class); - - - // @Override - // public void render(RenderRequest arg0, RenderResponse arg1) throws PortletException, - // IOException { - // - // ClassLoader classLoader = - // (ClassLoader) PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - // "portletClassLoader"); - // - // Date startDate = new Date(); - // - // DynamicQuery queryOldDettPratica = DynamicQueryFactoryUtil.forClass(IntPratica.class, - // classLoader); - // queryOldDettPratica.add(RestrictionsFactoryUtil.eq("tipoPratica", "01")); - // queryOldDettPratica.add(RestrictionsFactoryUtil.eq("validata", true)); - // - // Calendar calendar = Calendar.getInstance(); - // calendar.set(Calendar.YEAR, 2018); - // calendar.set(Calendar.MONTH, 1); - // calendar.set(Calendar.DAY_OF_MONTH, 1); - // Date fromDate = calendar.getTime(); - // - // - // // Calendar calendarTo = Calendar.getInstance(); - // // calendarTo.set(Calendar.YEAR, 2017); - // // calendarTo.set(Calendar.MONTH, 12); - // // calendar.set(Calendar.DAY_OF_MONTH, 31); - // // Date toDate = calendarTo.getTime(); - // - // Property createDateProperty = PropertyFactoryUtil.forName("createDate"); - // queryOldDettPratica.add(createDateProperty.between(fromDate, new Date())); - // - // - // Order defaultOrderDettPrtatica = OrderFactoryUtil.asc("createDate"); - // queryOldDettPratica.addOrder(defaultOrderDettPrtatica); - // - // try { - // List lista = IntPraticaLocalServiceUtil.dynamicQuery(queryOldDettPratica, -1, -1); - // - // System.out.println(lista.size()); - // } catch (SystemException e) { - // // TODO Auto-generated catch block - // e.printStackTrace(); - // } - // - // - // } - - public void importOldUsers(ActionRequest actionRequest, ActionResponse actionResponse) { - - ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); - UserImporter.importaUtenti(themeDisplay.getCompanyId()); - - } - - public void importOldTerritori(ActionRequest actionRequest, ActionResponse actionResponse) { - - ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); - TerritorioImporter.importaTerritori(themeDisplay.getCompanyId(), themeDisplay.getScopeGroupId()); - - } - - public void importOldSingleTerritori(ActionRequest actionRequest, ActionResponse actionResponse) { - - ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); - - Long oldTerritorioId = ParamUtil.getLong(actionRequest, "oldTerritorioId"); - - try { - TerritorioImporter.importaTerritorio(oldTerritorioId,themeDisplay.getCompanyId(), themeDisplay.getScopeGroupId()); - } catch (NoSuchTerritorioException e) { - _log.error(e,e); - } catch (SystemException e) { - _log.error(e,e); - } - - - } - - public void importOldSorteggi(ActionRequest actionRequest, ActionResponse actionResponse) { - - ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); - SorteggioImporter.importaSorteggi(themeDisplay.getCompanyId()); - - } - - public void importaOldProtocolli(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { - - - UploadPortletRequest uploadPortletRequest = PortalUtil.getUploadPortletRequest(actionRequest); - ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); - - File fileProtocollo = uploadPortletRequest.getFile("file_protocollo"); - File fileRegProtocollo = uploadPortletRequest.getFile("file_reg_protocollo"); - File fileGruppi = uploadPortletRequest.getFile("file_gruppi"); - boolean continueOnError = Boolean.parseBoolean(uploadPortletRequest.getParameter("continueOnError")); - - if (Validator.isNull(fileProtocollo) || Validator.isNull(fileRegProtocollo) || Validator.isNull(fileGruppi)) { - - CSVFileNotFoundException e = new CSVFileNotFoundException("Files can't be null"); - - SessionErrors.add(actionRequest, "error-csvMissing"); - actionResponse.setRenderParameter("errorMessage", e.getMessage()); - - return; - } - - try { - _log.info("Inizio importazione protocollo.."); - - long start = System.currentTimeMillis(); - - List results = - ProtocolloImporter.importaFile(fileProtocollo, fileRegProtocollo, fileGruppi, themeDisplay.getCompanyId(), - themeDisplay.getScopeGroupId(), continueOnError); - - _log.info("Processati " + results.size() + " protocolli"); - - long stop = System.currentTimeMillis(); - - for (ProtocolloImportResult result : results) { - _log.info(result.toString()); - } - - _log.info("Importazione province terminata in " + (stop - start) + "ms"); - - // } catch (NoSuchAvvisoException e) { - // SessionErrors.add(actionRequest, "error-import-avviso-missing"); - // actionResponse.setRenderParameter("errorMessage", e.getMessage()); - // } catch (FileNotFoundException e) { - // SessionErrors.add(actionRequest, "error-import-file-missing"); - // actionResponse.setRenderParameter("errorMessage", e.getMessage()); - } catch (Exception e) { - // SessionErrors.add(actionRequest, "error-import-generic"); - // actionResponse.setRenderParameter("errorMessage", e.getMessage()); - _log.error(e, e); - } - } - - public void importOldSorteggiFiles(ActionRequest actionRequest, ActionResponse actionResponse) - throws PortalException, SystemException { - - ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); - SorteggioImporter.importOldFileEntySorteggi(themeDisplay.getCompanyId()); - - } - - public void importOldDettPratica(ActionRequest actionRequest, ActionResponse actionResponse) { - - ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); - PraticaImporter.importazioneStarterForce(themeDisplay.getCompanyId()); - - } - - public void importOldTempistiche(ActionRequest actionRequest, ActionResponse actionResponse) { - - ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); - TempisticheImporter.importaTempistiche(themeDisplay.getCompanyId()); - - } - - public void importSingleOldDettPratica(ActionRequest actionRequest, ActionResponse actionResponse) { - - ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); - - Long oldDettPraticaId = ParamUtil.getLong(actionRequest, "oldDettPraticaId"); - - PraticaImporter.importaSingolaPratica(oldDettPraticaId, themeDisplay.getCompanyId()); - - } - - public void importSingoloUtente(ActionRequest actionRequest, ActionResponse actionResponse) { - - ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); - - Long oldUserId = ParamUtil.getLong(actionRequest, "oldUserId"); - - UserImporter.importaSingoloUtente(oldUserId, themeDisplay.getCompanyId()); - - } - - public void importBundleOldDettPratica(ActionRequest actionRequest, ActionResponse actionResponse) { - - ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); - - String oldDettPraticaIds = ParamUtil.getString(actionRequest, "oldDettPraticaIds"); - List ids = new ArrayList<>(); - for (String id : oldDettPraticaIds.split(";")) { - ids.add(Long.parseLong(id)); - } - - PraticaImporter.importaBundle(ids, themeDisplay.getCompanyId()); - - } - - public void pulisciSorteggioAprileWorkflow(ActionRequest actionRequest, ActionResponse actionResponse) throws NumberFormatException, SystemException, PortalException { - - ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); - - String oldControlloPraticaIds = ParamUtil.getString(actionRequest, "oldControlloPraticaIds"); - List ids = new ArrayList<>(); - for (String id : oldControlloPraticaIds.split(";")) { - ids.add(Long.parseLong(id)); - } - - CleanSorteggi.pulisciSorteggioAprileWorkflow(ids, themeDisplay.getCompanyId()); - - } - - public void deleteSingleFascicolo(ActionRequest actionRequest, ActionResponse actionResponse) { - - ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); - - Long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId"); - - long companyId = themeDisplay.getCompanyId(); - - try { - - ClassLoader classLoader = - (ClassLoader) PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), "portletClassLoader"); - - - IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId); - - DynamicQuery queryControlo = DynamicQueryFactoryUtil.forClass(ControlloPratica.class, classLoader); - queryControlo.add(RestrictionsFactoryUtil.eq("intPraticaId", intPratica.getIntPraticaId())); - - List listaControl = - ControlloPraticaLocalServiceUtil.dynamicQuery(queryControlo, QueryUtil.ALL_POS, QueryUtil.ALL_POS); - if (listaControl != null && !listaControl.isEmpty()) { - for (ControlloPratica controlloPratica : listaControl) { - - ControlloPratica controAPp = - ControlloPraticaLocalServiceUtil.fetchControlloPratica(controlloPratica.getControlloPraticaId()); - if (controAPp != null) { - - KaleoInstance kaleoInstance = - KaleoInstanceLocalServiceUtil.fetchByClassPk(controAPp.getControlloPraticaId()); - if (kaleoInstance != null) { - - // Pulisco KaleoLog - List listaLog = KaleoLogLocalServiceUtil.findByClassPk(kaleoInstance.getKaleoInstanceId()); - if (listaLog != null && !listaLog.isEmpty()) { - for (KaleoLog kaleoLog : listaLog) { - KaleoLog kaleoLogApp = KaleoLogLocalServiceUtil.fetchKaleoLog(kaleoLog.getKaleoLogId()); - - KaleoLogLocalServiceUtil.deleteKaleoLog(kaleoLogApp.getKaleoLogId()); - } - } - - // Pulisco KaleoTaskAssignmentInstance - List listaKaleoTaskAssignmentInstance = - KaleoTaskAssignmentInstanceLocalServiceUtil.findByKaleoInstanceId(kaleoInstance.getKaleoInstanceId()); - if (listaKaleoTaskAssignmentInstance != null && !listaKaleoTaskAssignmentInstance.isEmpty()) { - for (KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance : listaKaleoTaskAssignmentInstance) { - KaleoTaskAssignmentInstance kaleoTaskAssignmentInstanceApp = - KaleoTaskAssignmentInstanceLocalServiceUtil.fetchKaleoTaskAssignmentInstance(kaleoTaskAssignmentInstance.getKaleoTaskAssignmentInstanceId()); - - KaleoTaskAssignmentInstanceLocalServiceUtil.deleteKaleoTaskAssignmentInstance(kaleoTaskAssignmentInstanceApp.getKaleoTaskAssignmentInstanceId()); - } - - - } - - KaleoInstanceLocalServiceUtil.deleteKaleoInstance(kaleoInstance); - } - - - // KaleoInstanceToken - KaleoInstanceToken kaleoInstanceToken = - KaleoInstanceTokenLocalServiceUtil.fetchByClassPk(controAPp.getControlloPraticaId()); - if (kaleoInstanceToken != null) { - KaleoInstanceTokenLocalServiceUtil.deleteKaleoInstanceToken(kaleoInstanceToken.getKaleoInstanceTokenId()); - } - - // KaleoTaskInstanceToken - KaleoTaskInstanceToken kaleoTaskInstanceToken = - KaleoTaskInstanceTokenLocalServiceUtil.fetchByClassPk(controAPp.getControlloPraticaId()); - if (kaleoTaskInstanceToken != null) { - KaleoTaskInstanceTokenLocalServiceUtil.deleteKaleoTaskInstanceToken(kaleoTaskInstanceToken.getKaleoTaskInstanceTokenId()); - } - - WorkflowInstanceLink workflowInstanceLink = - WorkflowInstanceLinkLocalServiceUtil.fetchWorkflowInstanceLink(companyId, intPratica.getGroupId(), - "it.tref.liferay.portos.bo.model.ControlloPratica", controlloPratica.getControlloPraticaId()); - - if (workflowInstanceLink != null) { - WorkflowInstanceLinkLocalServiceUtil.deleteWorkflowInstanceLink(workflowInstanceLink.getWorkflowInstanceLinkId()); - } - - } - - - } - } - - IntPraticaLocalServiceUtil.deleteIntPratica(intPratica, true); - } catch (PortalException | SystemException e) { - _log.error(e, e); - } - - } - - public void importFilesPortos1(ActionRequest actionRequest, ActionResponse actionResponse) { - - Calendar calEnd = Calendar.getInstance(); - calEnd.setTime(new Date()); - calEnd.add(Calendar.HOUR_OF_DAY, 8); - - try { - FilesImporter.importaFiles(calEnd); - } catch (SystemException e) { - _log.error(e, e); - } - - } - - public void importFilesPortos1Manuali(ActionRequest actionRequest, ActionResponse actionResponse) { - - - // try { - // - // _log.info("************ Importazione Files iniziata ************"); - // - // ClassLoader classLoader = - // (ClassLoader) PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - // "portletClassLoader"); - // - // DynamicQuery queryDocPratica = DynamicQueryFactoryUtil.forClass(DocPratica.class, - // classLoader); - // queryDocPratica.add(PropertyFactoryUtil.forName("oldDlFileEntryId").ne(0L)); - // queryDocPratica.addOrder(OrderFactoryUtil.desc("oldDlFileEntryId")); - // - // _log.info("************ Importazione DocPratica inziata ************"); - // // Gestione DocPratica - // List listaDocPratica = DocPraticaLocalServiceUtil.dynamicQuery(queryDocPratica, - // 0, 5000); - // - // if (Validator.isNotNull(listaDocPratica) && listaDocPratica.size() > 0) { - // for (DocPratica docPratica : listaDocPratica) { - // if (docPratica.getDlFileEntryId() == 0L && docPratica.getOldDlFileEntryId() != 0L) { - // FilesImporter.handleFileImportDocPratica(docPratica); - // } - // } - // } - // _log.info("************ Importazione DocPratica conclusa ************"); - // _log.info("************ Importazione Files conclusa ************"); - // - // - // } catch (SystemException e) { - // _log.error(e, e); - // } - - } - - - public void importPratichePreProduzione(ActionRequest actionRequest, ActionResponse actionResponse) { - - ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); - PraticaImporter.importaPerPreProd(themeDisplay.getCompanyId()); - - } - - public void pulisciPraticheSorteggio(ActionRequest actionRequest, ActionResponse actionResponse) { - - ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); - CleanSorteggi.cleanSorteggiErrore(themeDisplay.getCompanyId()); - - } - - public void importaEmailSuap(ActionRequest actionRequest, ActionResponse actionResponse) { - - ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); - UtilImporter.importaEmailSuap(themeDisplay.getCompanyId()); - - } - - public void pulisciERiemporta(ActionRequest actionRequest, ActionResponse actionResponse) { - - ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); - - String intPraticaIds = ParamUtil.getString(actionRequest, "intPraticaIds"); - - long companyId = themeDisplay.getCompanyId(); - - List ids = new ArrayList<>(); - for (String id : intPraticaIds.split(";")) { - long idLong = Long.parseLong(id); - - _log.info("Importing " + ids.toString()); - - try { - - PraticaImporter.cleanPraticheDoppie(idLong, companyId); - - } catch (Exception e) { - _log.error("Errore nella gestione della intPraticaId = " + ids.toString(), e); - } - - } - - } - - public void pulisciERiemportaNumeroProgetto(ActionRequest actionRequest, ActionResponse actionResponse) { - - ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); - - String intPraticaIds = ParamUtil.getString(actionRequest, "numeroProgettos"); - - long companyId = themeDisplay.getCompanyId(); - - List ids = new ArrayList<>(); - for (String id : intPraticaIds.split(";")) { - String numeroProgetto = id; - - _log.info("Importing " + ids.toString()); - - try { - - PraticaImporter.cleanPraticheDoppie(numeroProgetto, companyId); - - } catch (Exception e) { - _log.error("Errore nella gestione della intPraticaId = " + ids.toString(), e); - } - - } - - } - - public void cleanSoggettoDigitale(ActionRequest actionRequest, ActionResponse actionResponse) { - - ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); - PraticaImporter.cleanSoggettoDigitale(themeDisplay.getCompanyId()); - - } - - public void cleanIntPraticaNotExist(ActionRequest actionRequest, ActionResponse actionResponse) throws PortalException { - - ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); - PraticaImporter.cleanIntPraticaNotExist(themeDisplay.getCompanyId()); - - } - - public void cleanPratichePerse(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { - - ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); - - Long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId"); - - PraticaImporter.cleanPratichePerse(intPraticaId, themeDisplay.getCompanyId()); - - } - - public void cleanTempisticheMancanti(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { - - ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); - - CleanPratiche.cleanTempistiche(themeDisplay.getCompanyId()); - - } - - - public void reIndexAll(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { - - ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); - - List lista = IntPraticaLocalServiceUtil.getIntPraticas(-1, -1); - for (IntPratica intPratica : lista) { - IntPraticaLocalServiceUtil.reIndexFasciolo(intPratica.getIntPraticaId(), themeDisplay.getCompanyId()); - } - - } - - public void riparaWorkflow(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { - - PraticaImporter.riparaWorkflow(); - - } - - public void pulisciDoppioni(ActionRequest actionRequest, ActionResponse actionResponse) throws SystemException { - - ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); - - List numeroProgettos = IntPraticaLocalServiceUtil.trovaDoppioni(); - - long companyId = themeDisplay.getCompanyId(); - - List ids = new ArrayList<>(); - for (String id : numeroProgettos) { - String numeroProgetto = id; - - _log.info("Importing " + ids.toString()); - - try { - - PraticaImporter.cleanPraticheDoppie(numeroProgetto, companyId); - - } catch (Exception e) { - _log.error("Errore nella gestione della intPraticaId = " + ids.toString(), e); - } - - } - - } - - public void riparaGroupId(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { - - ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); - - CleanPratiche.riparaGroupId(themeDisplay.getCompanyId()); - - } - - -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoArtLeggeLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoArtLeggeLocalServiceBaseImpl.java deleted file mode 100644 index 641b28e9..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoArtLeggeLocalServiceBaseImpl.java +++ /dev/null @@ -1,2076 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.importazione.model.BoArtLegge; -import it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinder; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the bo art legge local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.importazione.service.impl.BoArtLeggeLocalServiceImpl}. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.impl.BoArtLeggeLocalServiceImpl - * @see it.tref.liferay.portos.importazione.service.BoArtLeggeLocalServiceUtil - * @generated - */ -public abstract class BoArtLeggeLocalServiceBaseImpl - extends BaseLocalServiceImpl implements BoArtLeggeLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.importazione.service.BoArtLeggeLocalServiceUtil} to access the bo art legge local service. - */ - - /** - * Adds the bo art legge to the database. Also notifies the appropriate model listeners. - * - * @param boArtLegge the bo art legge - * @return the bo art legge that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoArtLegge addBoArtLegge(BoArtLegge boArtLegge) - throws SystemException { - boArtLegge.setNew(true); - - return boArtLeggePersistence.update(boArtLegge); - } - - /** - * Creates a new bo art legge with the primary key. Does not add the bo art legge to the database. - * - * @param artLeggeId the primary key for the new bo art legge - * @return the new bo art legge - */ - @Override - public BoArtLegge createBoArtLegge(long artLeggeId) { - return boArtLeggePersistence.create(artLeggeId); - } - - /** - * Deletes the bo art legge with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param artLeggeId the primary key of the bo art legge - * @return the bo art legge that was removed - * @throws PortalException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoArtLegge deleteBoArtLegge(long artLeggeId) - throws PortalException, SystemException { - return boArtLeggePersistence.remove(artLeggeId); - } - - /** - * Deletes the bo art legge from the database. Also notifies the appropriate model listeners. - * - * @param boArtLegge the bo art legge - * @return the bo art legge that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoArtLegge deleteBoArtLegge(BoArtLegge boArtLegge) - throws SystemException { - return boArtLeggePersistence.remove(boArtLegge); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(BoArtLegge.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return boArtLeggePersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return boArtLeggePersistence.findWithDynamicQuery(dynamicQuery, start, - end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return boArtLeggePersistence.findWithDynamicQuery(dynamicQuery, start, - end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return boArtLeggePersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return boArtLeggePersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public BoArtLegge fetchBoArtLegge(long artLeggeId) - throws SystemException { - return boArtLeggePersistence.fetchByPrimaryKey(artLeggeId); - } - - /** - * Returns the bo art legge with the primary key. - * - * @param artLeggeId the primary key of the bo art legge - * @return the bo art legge - * @throws PortalException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoArtLegge getBoArtLegge(long artLeggeId) - throws PortalException, SystemException { - return boArtLeggePersistence.findByPrimaryKey(artLeggeId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return boArtLeggePersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns a range of all the bo art legges. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo art legges - * @param end the upper bound of the range of bo art legges (not inclusive) - * @return the range of bo art legges - * @throws SystemException if a system exception occurred - */ - @Override - public List getBoArtLegges(int start, int end) - throws SystemException { - return boArtLeggePersistence.findAll(start, end); - } - - /** - * Returns the number of bo art legges. - * - * @return the number of bo art legges - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoArtLeggesCount() throws SystemException { - return boArtLeggePersistence.countAll(); - } - - /** - * Updates the bo art legge in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boArtLegge the bo art legge - * @return the bo art legge that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoArtLegge updateBoArtLegge(BoArtLegge boArtLegge) - throws SystemException { - return boArtLeggePersistence.update(boArtLegge); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.importazione.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.importazione.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo configurazione local service. - * - * @return the bo configurazione local service - */ - public it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService getBoConfigurazioneLocalService() { - return boConfigurazioneLocalService; - } - - /** - * Sets the bo configurazione local service. - * - * @param boConfigurazioneLocalService the bo configurazione local service - */ - public void setBoConfigurazioneLocalService( - it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService) { - this.boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Returns the bo configurazione persistence. - * - * @return the bo configurazione persistence - */ - public BoConfigurazionePersistence getBoConfigurazionePersistence() { - return boConfigurazionePersistence; - } - - /** - * Sets the bo configurazione persistence. - * - * @param boConfigurazionePersistence the bo configurazione persistence - */ - public void setBoConfigurazionePersistence( - BoConfigurazionePersistence boConfigurazionePersistence) { - this.boConfigurazionePersistence = boConfigurazionePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.importazione.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.importazione.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.importazione.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.importazione.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.importazione.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.importazione.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe provincia local service. - * - * @return the fe provincia local service - */ - public it.tref.liferay.portos.importazione.service.FeProvinciaLocalService getFeProvinciaLocalService() { - return feProvinciaLocalService; - } - - /** - * Sets the fe provincia local service. - * - * @param feProvinciaLocalService the fe provincia local service - */ - public void setFeProvinciaLocalService( - it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService) { - this.feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Returns the fe provincia persistence. - * - * @return the fe provincia persistence - */ - public FeProvinciaPersistence getFeProvinciaPersistence() { - return feProvinciaPersistence; - } - - /** - * Sets the fe provincia persistence. - * - * @param feProvinciaPersistence the fe provincia persistence - */ - public void setFeProvinciaPersistence( - FeProvinciaPersistence feProvinciaPersistence) { - this.feProvinciaPersistence = feProvinciaPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.importazione.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the kaleo instance local service. - * - * @return the kaleo instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService getKaleoInstanceLocalService() { - return kaleoInstanceLocalService; - } - - /** - * Sets the kaleo instance local service. - * - * @param kaleoInstanceLocalService the kaleo instance local service - */ - public void setKaleoInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService) { - this.kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Returns the kaleo instance persistence. - * - * @return the kaleo instance persistence - */ - public KaleoInstancePersistence getKaleoInstancePersistence() { - return kaleoInstancePersistence; - } - - /** - * Sets the kaleo instance persistence. - * - * @param kaleoInstancePersistence the kaleo instance persistence - */ - public void setKaleoInstancePersistence( - KaleoInstancePersistence kaleoInstancePersistence) { - this.kaleoInstancePersistence = kaleoInstancePersistence; - } - - /** - * Returns the kaleo instance token local service. - * - * @return the kaleo instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService getKaleoInstanceTokenLocalService() { - return kaleoInstanceTokenLocalService; - } - - /** - * Sets the kaleo instance token local service. - * - * @param kaleoInstanceTokenLocalService the kaleo instance token local service - */ - public void setKaleoInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - this.kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Returns the kaleo instance token persistence. - * - * @return the kaleo instance token persistence - */ - public KaleoInstanceTokenPersistence getKaleoInstanceTokenPersistence() { - return kaleoInstanceTokenPersistence; - } - - /** - * Sets the kaleo instance token persistence. - * - * @param kaleoInstanceTokenPersistence the kaleo instance token persistence - */ - public void setKaleoInstanceTokenPersistence( - KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence) { - this.kaleoInstanceTokenPersistence = kaleoInstanceTokenPersistence; - } - - /** - * Returns the kaleo log local service. - * - * @return the kaleo log local service - */ - public it.tref.liferay.portos.importazione.service.KaleoLogLocalService getKaleoLogLocalService() { - return kaleoLogLocalService; - } - - /** - * Sets the kaleo log local service. - * - * @param kaleoLogLocalService the kaleo log local service - */ - public void setKaleoLogLocalService( - it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService) { - this.kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Returns the kaleo log persistence. - * - * @return the kaleo log persistence - */ - public KaleoLogPersistence getKaleoLogPersistence() { - return kaleoLogPersistence; - } - - /** - * Sets the kaleo log persistence. - * - * @param kaleoLogPersistence the kaleo log persistence - */ - public void setKaleoLogPersistence(KaleoLogPersistence kaleoLogPersistence) { - this.kaleoLogPersistence = kaleoLogPersistence; - } - - /** - * Returns the kaleo node local service. - * - * @return the kaleo node local service - */ - public it.tref.liferay.portos.importazione.service.KaleoNodeLocalService getKaleoNodeLocalService() { - return kaleoNodeLocalService; - } - - /** - * Sets the kaleo node local service. - * - * @param kaleoNodeLocalService the kaleo node local service - */ - public void setKaleoNodeLocalService( - it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService) { - this.kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Returns the kaleo node persistence. - * - * @return the kaleo node persistence - */ - public KaleoNodePersistence getKaleoNodePersistence() { - return kaleoNodePersistence; - } - - /** - * Sets the kaleo node persistence. - * - * @param kaleoNodePersistence the kaleo node persistence - */ - public void setKaleoNodePersistence( - KaleoNodePersistence kaleoNodePersistence) { - this.kaleoNodePersistence = kaleoNodePersistence; - } - - /** - * Returns the kaleo task local service. - * - * @return the kaleo task local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskLocalService getKaleoTaskLocalService() { - return kaleoTaskLocalService; - } - - /** - * Sets the kaleo task local service. - * - * @param kaleoTaskLocalService the kaleo task local service - */ - public void setKaleoTaskLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService) { - this.kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Returns the kaleo task persistence. - * - * @return the kaleo task persistence - */ - public KaleoTaskPersistence getKaleoTaskPersistence() { - return kaleoTaskPersistence; - } - - /** - * Sets the kaleo task persistence. - * - * @param kaleoTaskPersistence the kaleo task persistence - */ - public void setKaleoTaskPersistence( - KaleoTaskPersistence kaleoTaskPersistence) { - this.kaleoTaskPersistence = kaleoTaskPersistence; - } - - /** - * Returns the kaleo task assignment instance local service. - * - * @return the kaleo task assignment instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService getKaleoTaskAssignmentInstanceLocalService() { - return kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Sets the kaleo task assignment instance local service. - * - * @param kaleoTaskAssignmentInstanceLocalService the kaleo task assignment instance local service - */ - public void setKaleoTaskAssignmentInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - this.kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Returns the kaleo task assignment instance persistence. - * - * @return the kaleo task assignment instance persistence - */ - public KaleoTaskAssignmentInstancePersistence getKaleoTaskAssignmentInstancePersistence() { - return kaleoTaskAssignmentInstancePersistence; - } - - /** - * Sets the kaleo task assignment instance persistence. - * - * @param kaleoTaskAssignmentInstancePersistence the kaleo task assignment instance persistence - */ - public void setKaleoTaskAssignmentInstancePersistence( - KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence) { - this.kaleoTaskAssignmentInstancePersistence = kaleoTaskAssignmentInstancePersistence; - } - - /** - * Returns the kaleo task instance token local service. - * - * @return the kaleo task instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService getKaleoTaskInstanceTokenLocalService() { - return kaleoTaskInstanceTokenLocalService; - } - - /** - * Sets the kaleo task instance token local service. - * - * @param kaleoTaskInstanceTokenLocalService the kaleo task instance token local service - */ - public void setKaleoTaskInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - this.kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Returns the kaleo task instance token persistence. - * - * @return the kaleo task instance token persistence - */ - public KaleoTaskInstanceTokenPersistence getKaleoTaskInstanceTokenPersistence() { - return kaleoTaskInstanceTokenPersistence; - } - - /** - * Sets the kaleo task instance token persistence. - * - * @param kaleoTaskInstanceTokenPersistence the kaleo task instance token persistence - */ - public void setKaleoTaskInstanceTokenPersistence( - KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence) { - this.kaleoTaskInstanceTokenPersistence = kaleoTaskInstanceTokenPersistence; - } - - /** - * Returns the old d l file entry local service. - * - * @return the old d l file entry local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService getOldDLFileEntryLocalService() { - return oldDLFileEntryLocalService; - } - - /** - * Sets the old d l file entry local service. - * - * @param oldDLFileEntryLocalService the old d l file entry local service - */ - public void setOldDLFileEntryLocalService( - it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService) { - this.oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Returns the old d l file entry persistence. - * - * @return the old d l file entry persistence - */ - public OldDLFileEntryPersistence getOldDLFileEntryPersistence() { - return oldDLFileEntryPersistence; - } - - /** - * Sets the old d l file entry persistence. - * - * @param oldDLFileEntryPersistence the old d l file entry persistence - */ - public void setOldDLFileEntryPersistence( - OldDLFileEntryPersistence oldDLFileEntryPersistence) { - this.oldDLFileEntryPersistence = oldDLFileEntryPersistence; - } - - /** - * Returns the old d l folder local service. - * - * @return the old d l folder local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFolderLocalService getOldDLFolderLocalService() { - return oldDLFolderLocalService; - } - - /** - * Sets the old d l folder local service. - * - * @param oldDLFolderLocalService the old d l folder local service - */ - public void setOldDLFolderLocalService( - it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService) { - this.oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Returns the old d l folder persistence. - * - * @return the old d l folder persistence - */ - public OldDLFolderPersistence getOldDLFolderPersistence() { - return oldDLFolderPersistence; - } - - /** - * Sets the old d l folder persistence. - * - * @param oldDLFolderPersistence the old d l folder persistence - */ - public void setOldDLFolderPersistence( - OldDLFolderPersistence oldDLFolderPersistence) { - this.oldDLFolderPersistence = oldDLFolderPersistence; - } - - /** - * Returns the old group local service. - * - * @return the old group local service - */ - public it.tref.liferay.portos.importazione.service.OldGroupLocalService getOldGroupLocalService() { - return oldGroupLocalService; - } - - /** - * Sets the old group local service. - * - * @param oldGroupLocalService the old group local service - */ - public void setOldGroupLocalService( - it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService) { - this.oldGroupLocalService = oldGroupLocalService; - } - - /** - * Returns the old group persistence. - * - * @return the old group persistence - */ - public OldGroupPersistence getOldGroupPersistence() { - return oldGroupPersistence; - } - - /** - * Sets the old group persistence. - * - * @param oldGroupPersistence the old group persistence - */ - public void setOldGroupPersistence(OldGroupPersistence oldGroupPersistence) { - this.oldGroupPersistence = oldGroupPersistence; - } - - /** - * Returns the old organization local service. - * - * @return the old organization local service - */ - public it.tref.liferay.portos.importazione.service.OldOrganizationLocalService getOldOrganizationLocalService() { - return oldOrganizationLocalService; - } - - /** - * Sets the old organization local service. - * - * @param oldOrganizationLocalService the old organization local service - */ - public void setOldOrganizationLocalService( - it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService) { - this.oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Returns the old organization persistence. - * - * @return the old organization persistence - */ - public OldOrganizationPersistence getOldOrganizationPersistence() { - return oldOrganizationPersistence; - } - - /** - * Sets the old organization persistence. - * - * @param oldOrganizationPersistence the old organization persistence - */ - public void setOldOrganizationPersistence( - OldOrganizationPersistence oldOrganizationPersistence) { - this.oldOrganizationPersistence = oldOrganizationPersistence; - } - - /** - * Returns the old role local service. - * - * @return the old role local service - */ - public it.tref.liferay.portos.importazione.service.OldRoleLocalService getOldRoleLocalService() { - return oldRoleLocalService; - } - - /** - * Sets the old role local service. - * - * @param oldRoleLocalService the old role local service - */ - public void setOldRoleLocalService( - it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService) { - this.oldRoleLocalService = oldRoleLocalService; - } - - /** - * Returns the old role persistence. - * - * @return the old role persistence - */ - public OldRolePersistence getOldRolePersistence() { - return oldRolePersistence; - } - - /** - * Sets the old role persistence. - * - * @param oldRolePersistence the old role persistence - */ - public void setOldRolePersistence(OldRolePersistence oldRolePersistence) { - this.oldRolePersistence = oldRolePersistence; - } - - /** - * Returns the old user local service. - * - * @return the old user local service - */ - public it.tref.liferay.portos.importazione.service.OldUserLocalService getOldUserLocalService() { - return oldUserLocalService; - } - - /** - * Sets the old user local service. - * - * @param oldUserLocalService the old user local service - */ - public void setOldUserLocalService( - it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService) { - this.oldUserLocalService = oldUserLocalService; - } - - /** - * Returns the old user persistence. - * - * @return the old user persistence - */ - public OldUserPersistence getOldUserPersistence() { - return oldUserPersistence; - } - - /** - * Sets the old user persistence. - * - * @param oldUserPersistence the old user persistence - */ - public void setOldUserPersistence(OldUserPersistence oldUserPersistence) { - this.oldUserPersistence = oldUserPersistence; - } - - /** - * Returns the old user group local service. - * - * @return the old user group local service - */ - public it.tref.liferay.portos.importazione.service.OldUserGroupLocalService getOldUserGroupLocalService() { - return oldUserGroupLocalService; - } - - /** - * Sets the old user group local service. - * - * @param oldUserGroupLocalService the old user group local service - */ - public void setOldUserGroupLocalService( - it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService) { - this.oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Returns the old user group persistence. - * - * @return the old user group persistence - */ - public OldUserGroupPersistence getOldUserGroupPersistence() { - return oldUserGroupPersistence; - } - - /** - * Sets the old user group persistence. - * - * @param oldUserGroupPersistence the old user group persistence - */ - public void setOldUserGroupPersistence( - OldUserGroupPersistence oldUserGroupPersistence) { - this.oldUserGroupPersistence = oldUserGroupPersistence; - } - - /** - * Returns the old user group finder. - * - * @return the old user group finder - */ - public OldUserGroupFinder getOldUserGroupFinder() { - return oldUserGroupFinder; - } - - /** - * Sets the old user group finder. - * - * @param oldUserGroupFinder the old user group finder - */ - public void setOldUserGroupFinder(OldUserGroupFinder oldUserGroupFinder) { - this.oldUserGroupFinder = oldUserGroupFinder; - } - - /** - * Returns the procedura importazione local service. - * - * @return the procedura importazione local service - */ - public it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService getProceduraImportazioneLocalService() { - return proceduraImportazioneLocalService; - } - - /** - * Sets the procedura importazione local service. - * - * @param proceduraImportazioneLocalService the procedura importazione local service - */ - public void setProceduraImportazioneLocalService( - it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - this.proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Returns the procedura importazione persistence. - * - * @return the procedura importazione persistence - */ - public ProceduraImportazionePersistence getProceduraImportazionePersistence() { - return proceduraImportazionePersistence; - } - - /** - * Sets the procedura importazione persistence. - * - * @param proceduraImportazionePersistence the procedura importazione persistence - */ - public void setProceduraImportazionePersistence( - ProceduraImportazionePersistence proceduraImportazionePersistence) { - this.proceduraImportazionePersistence = proceduraImportazionePersistence; - } - - /** - * Returns the stato importazione local service. - * - * @return the stato importazione local service - */ - public it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService getStatoImportazioneLocalService() { - return statoImportazioneLocalService; - } - - /** - * Sets the stato importazione local service. - * - * @param statoImportazioneLocalService the stato importazione local service - */ - public void setStatoImportazioneLocalService( - it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService) { - this.statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Returns the stato importazione persistence. - * - * @return the stato importazione persistence - */ - public StatoImportazionePersistence getStatoImportazionePersistence() { - return statoImportazionePersistence; - } - - /** - * Sets the stato importazione persistence. - * - * @param statoImportazionePersistence the stato importazione persistence - */ - public void setStatoImportazionePersistence( - StatoImportazionePersistence statoImportazionePersistence) { - this.statoImportazionePersistence = statoImportazionePersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.importazione.model.BoArtLegge", - boArtLeggeLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.importazione.model.BoArtLegge"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return BoArtLegge.class; - } - - protected String getModelClassName() { - return BoArtLegge.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = boArtLeggePersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService; - @BeanReference(type = BoConfigurazionePersistence.class) - protected BoConfigurazionePersistence boConfigurazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeProvinciaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService; - @BeanReference(type = FeProvinciaPersistence.class) - protected FeProvinciaPersistence feProvinciaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService; - @BeanReference(type = KaleoInstancePersistence.class) - protected KaleoInstancePersistence kaleoInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService; - @BeanReference(type = KaleoInstanceTokenPersistence.class) - protected KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoLogLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService; - @BeanReference(type = KaleoLogPersistence.class) - protected KaleoLogPersistence kaleoLogPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoNodeLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService; - @BeanReference(type = KaleoNodePersistence.class) - protected KaleoNodePersistence kaleoNodePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService; - @BeanReference(type = KaleoTaskPersistence.class) - protected KaleoTaskPersistence kaleoTaskPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService; - @BeanReference(type = KaleoTaskAssignmentInstancePersistence.class) - protected KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService; - @BeanReference(type = KaleoTaskInstanceTokenPersistence.class) - protected KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService; - @BeanReference(type = OldDLFileEntryPersistence.class) - protected OldDLFileEntryPersistence oldDLFileEntryPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFolderLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService; - @BeanReference(type = OldDLFolderPersistence.class) - protected OldDLFolderPersistence oldDLFolderPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService; - @BeanReference(type = OldGroupPersistence.class) - protected OldGroupPersistence oldGroupPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldOrganizationLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService; - @BeanReference(type = OldOrganizationPersistence.class) - protected OldOrganizationPersistence oldOrganizationPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldRoleLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService; - @BeanReference(type = OldRolePersistence.class) - protected OldRolePersistence oldRolePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService; - @BeanReference(type = OldUserPersistence.class) - protected OldUserPersistence oldUserPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService; - @BeanReference(type = OldUserGroupPersistence.class) - protected OldUserGroupPersistence oldUserGroupPersistence; - @BeanReference(type = OldUserGroupFinder.class) - protected OldUserGroupFinder oldUserGroupFinder; - @BeanReference(type = it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService; - @BeanReference(type = ProceduraImportazionePersistence.class) - protected ProceduraImportazionePersistence proceduraImportazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService; - @BeanReference(type = StatoImportazionePersistence.class) - protected StatoImportazionePersistence statoImportazionePersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private BoArtLeggeLocalServiceClpInvoker _clpInvoker = new BoArtLeggeLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoArtLeggeLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoArtLeggeLocalServiceClpInvoker.java deleted file mode 100644 index e04249e5..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoArtLeggeLocalServiceClpInvoker.java +++ /dev/null @@ -1,258 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import it.tref.liferay.portos.importazione.service.BoArtLeggeLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author 3FC - * @generated - */ -public class BoArtLeggeLocalServiceClpInvoker { - public BoArtLeggeLocalServiceClpInvoker() { - _methodName0 = "addBoArtLegge"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.BoArtLegge" - }; - - _methodName1 = "createBoArtLegge"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoArtLegge"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoArtLegge"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.BoArtLegge" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoArtLegge"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getBoArtLegge"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getBoArtLegges"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getBoArtLeggesCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateBoArtLegge"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.BoArtLegge" - }; - - _methodName178 = "getBeanIdentifier"; - - _methodParameterTypes178 = new String[] { }; - - _methodName179 = "setBeanIdentifier"; - - _methodParameterTypes179 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return BoArtLeggeLocalServiceUtil.addBoArtLegge((it.tref.liferay.portos.importazione.model.BoArtLegge)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return BoArtLeggeLocalServiceUtil.createBoArtLegge(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return BoArtLeggeLocalServiceUtil.deleteBoArtLegge(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return BoArtLeggeLocalServiceUtil.deleteBoArtLegge((it.tref.liferay.portos.importazione.model.BoArtLegge)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return BoArtLeggeLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return BoArtLeggeLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return BoArtLeggeLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return BoArtLeggeLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return BoArtLeggeLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return BoArtLeggeLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return BoArtLeggeLocalServiceUtil.fetchBoArtLegge(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return BoArtLeggeLocalServiceUtil.getBoArtLegge(((Long)arguments[0]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return BoArtLeggeLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return BoArtLeggeLocalServiceUtil.getBoArtLegges(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return BoArtLeggeLocalServiceUtil.getBoArtLeggesCount(); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return BoArtLeggeLocalServiceUtil.updateBoArtLegge((it.tref.liferay.portos.importazione.model.BoArtLegge)arguments[0]); - } - - if (_methodName178.equals(name) && - Arrays.deepEquals(_methodParameterTypes178, parameterTypes)) { - return BoArtLeggeLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName179.equals(name) && - Arrays.deepEquals(_methodParameterTypes179, parameterTypes)) { - BoArtLeggeLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName178; - private String[] _methodParameterTypes178; - private String _methodName179; - private String[] _methodParameterTypes179; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoAvvisoLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoAvvisoLocalServiceBaseImpl.java deleted file mode 100644 index 9210d2f2..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoAvvisoLocalServiceBaseImpl.java +++ /dev/null @@ -1,2128 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.importazione.model.BoAvviso; -import it.tref.liferay.portos.importazione.service.BoAvvisoLocalService; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinder; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the bo avviso local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.importazione.service.impl.BoAvvisoLocalServiceImpl}. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.impl.BoAvvisoLocalServiceImpl - * @see it.tref.liferay.portos.importazione.service.BoAvvisoLocalServiceUtil - * @generated - */ -public abstract class BoAvvisoLocalServiceBaseImpl extends BaseLocalServiceImpl - implements BoAvvisoLocalService, IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.importazione.service.BoAvvisoLocalServiceUtil} to access the bo avviso local service. - */ - - /** - * Adds the bo avviso to the database. Also notifies the appropriate model listeners. - * - * @param boAvviso the bo avviso - * @return the bo avviso that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoAvviso addBoAvviso(BoAvviso boAvviso) throws SystemException { - boAvviso.setNew(true); - - return boAvvisoPersistence.update(boAvviso); - } - - /** - * Creates a new bo avviso with the primary key. Does not add the bo avviso to the database. - * - * @param avvisoId the primary key for the new bo avviso - * @return the new bo avviso - */ - @Override - public BoAvviso createBoAvviso(long avvisoId) { - return boAvvisoPersistence.create(avvisoId); - } - - /** - * Deletes the bo avviso with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param avvisoId the primary key of the bo avviso - * @return the bo avviso that was removed - * @throws PortalException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoAvviso deleteBoAvviso(long avvisoId) - throws PortalException, SystemException { - return boAvvisoPersistence.remove(avvisoId); - } - - /** - * Deletes the bo avviso from the database. Also notifies the appropriate model listeners. - * - * @param boAvviso the bo avviso - * @return the bo avviso that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoAvviso deleteBoAvviso(BoAvviso boAvviso) throws SystemException { - return boAvvisoPersistence.remove(boAvviso); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(BoAvviso.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return boAvvisoPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return boAvvisoPersistence.findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return boAvvisoPersistence.findWithDynamicQuery(dynamicQuery, start, - end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return boAvvisoPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return boAvvisoPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public BoAvviso fetchBoAvviso(long avvisoId) throws SystemException { - return boAvvisoPersistence.fetchByPrimaryKey(avvisoId); - } - - /** - * Returns the bo avviso with the matching UUID and company. - * - * @param uuid the bo avviso's UUID - * @param companyId the primary key of the company - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso fetchBoAvvisoByUuidAndCompanyId(String uuid, long companyId) - throws SystemException { - return boAvvisoPersistence.fetchByUuid_C_First(uuid, companyId, null); - } - - /** - * Returns the bo avviso matching the UUID and group. - * - * @param uuid the bo avviso's UUID - * @param groupId the primary key of the group - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso fetchBoAvvisoByUuidAndGroupId(String uuid, long groupId) - throws SystemException { - return boAvvisoPersistence.fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the bo avviso with the primary key. - * - * @param avvisoId the primary key of the bo avviso - * @return the bo avviso - * @throws PortalException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso getBoAvviso(long avvisoId) - throws PortalException, SystemException { - return boAvvisoPersistence.findByPrimaryKey(avvisoId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return boAvvisoPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns the bo avviso with the matching UUID and company. - * - * @param uuid the bo avviso's UUID - * @param companyId the primary key of the company - * @return the matching bo avviso - * @throws PortalException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso getBoAvvisoByUuidAndCompanyId(String uuid, long companyId) - throws PortalException, SystemException { - return boAvvisoPersistence.findByUuid_C_First(uuid, companyId, null); - } - - /** - * Returns the bo avviso matching the UUID and group. - * - * @param uuid the bo avviso's UUID - * @param groupId the primary key of the group - * @return the matching bo avviso - * @throws PortalException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso getBoAvvisoByUuidAndGroupId(String uuid, long groupId) - throws PortalException, SystemException { - return boAvvisoPersistence.findByUUID_G(uuid, groupId); - } - - /** - * Returns a range of all the bo avvisos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List getBoAvvisos(int start, int end) - throws SystemException { - return boAvvisoPersistence.findAll(start, end); - } - - /** - * Returns the number of bo avvisos. - * - * @return the number of bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoAvvisosCount() throws SystemException { - return boAvvisoPersistence.countAll(); - } - - /** - * Updates the bo avviso in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boAvviso the bo avviso - * @return the bo avviso that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoAvviso updateBoAvviso(BoAvviso boAvviso) throws SystemException { - return boAvvisoPersistence.update(boAvviso); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.importazione.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.importazione.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo configurazione local service. - * - * @return the bo configurazione local service - */ - public it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService getBoConfigurazioneLocalService() { - return boConfigurazioneLocalService; - } - - /** - * Sets the bo configurazione local service. - * - * @param boConfigurazioneLocalService the bo configurazione local service - */ - public void setBoConfigurazioneLocalService( - it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService) { - this.boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Returns the bo configurazione persistence. - * - * @return the bo configurazione persistence - */ - public BoConfigurazionePersistence getBoConfigurazionePersistence() { - return boConfigurazionePersistence; - } - - /** - * Sets the bo configurazione persistence. - * - * @param boConfigurazionePersistence the bo configurazione persistence - */ - public void setBoConfigurazionePersistence( - BoConfigurazionePersistence boConfigurazionePersistence) { - this.boConfigurazionePersistence = boConfigurazionePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.importazione.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.importazione.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.importazione.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.importazione.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.importazione.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.importazione.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe provincia local service. - * - * @return the fe provincia local service - */ - public it.tref.liferay.portos.importazione.service.FeProvinciaLocalService getFeProvinciaLocalService() { - return feProvinciaLocalService; - } - - /** - * Sets the fe provincia local service. - * - * @param feProvinciaLocalService the fe provincia local service - */ - public void setFeProvinciaLocalService( - it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService) { - this.feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Returns the fe provincia persistence. - * - * @return the fe provincia persistence - */ - public FeProvinciaPersistence getFeProvinciaPersistence() { - return feProvinciaPersistence; - } - - /** - * Sets the fe provincia persistence. - * - * @param feProvinciaPersistence the fe provincia persistence - */ - public void setFeProvinciaPersistence( - FeProvinciaPersistence feProvinciaPersistence) { - this.feProvinciaPersistence = feProvinciaPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.importazione.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the kaleo instance local service. - * - * @return the kaleo instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService getKaleoInstanceLocalService() { - return kaleoInstanceLocalService; - } - - /** - * Sets the kaleo instance local service. - * - * @param kaleoInstanceLocalService the kaleo instance local service - */ - public void setKaleoInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService) { - this.kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Returns the kaleo instance persistence. - * - * @return the kaleo instance persistence - */ - public KaleoInstancePersistence getKaleoInstancePersistence() { - return kaleoInstancePersistence; - } - - /** - * Sets the kaleo instance persistence. - * - * @param kaleoInstancePersistence the kaleo instance persistence - */ - public void setKaleoInstancePersistence( - KaleoInstancePersistence kaleoInstancePersistence) { - this.kaleoInstancePersistence = kaleoInstancePersistence; - } - - /** - * Returns the kaleo instance token local service. - * - * @return the kaleo instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService getKaleoInstanceTokenLocalService() { - return kaleoInstanceTokenLocalService; - } - - /** - * Sets the kaleo instance token local service. - * - * @param kaleoInstanceTokenLocalService the kaleo instance token local service - */ - public void setKaleoInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - this.kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Returns the kaleo instance token persistence. - * - * @return the kaleo instance token persistence - */ - public KaleoInstanceTokenPersistence getKaleoInstanceTokenPersistence() { - return kaleoInstanceTokenPersistence; - } - - /** - * Sets the kaleo instance token persistence. - * - * @param kaleoInstanceTokenPersistence the kaleo instance token persistence - */ - public void setKaleoInstanceTokenPersistence( - KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence) { - this.kaleoInstanceTokenPersistence = kaleoInstanceTokenPersistence; - } - - /** - * Returns the kaleo log local service. - * - * @return the kaleo log local service - */ - public it.tref.liferay.portos.importazione.service.KaleoLogLocalService getKaleoLogLocalService() { - return kaleoLogLocalService; - } - - /** - * Sets the kaleo log local service. - * - * @param kaleoLogLocalService the kaleo log local service - */ - public void setKaleoLogLocalService( - it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService) { - this.kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Returns the kaleo log persistence. - * - * @return the kaleo log persistence - */ - public KaleoLogPersistence getKaleoLogPersistence() { - return kaleoLogPersistence; - } - - /** - * Sets the kaleo log persistence. - * - * @param kaleoLogPersistence the kaleo log persistence - */ - public void setKaleoLogPersistence(KaleoLogPersistence kaleoLogPersistence) { - this.kaleoLogPersistence = kaleoLogPersistence; - } - - /** - * Returns the kaleo node local service. - * - * @return the kaleo node local service - */ - public it.tref.liferay.portos.importazione.service.KaleoNodeLocalService getKaleoNodeLocalService() { - return kaleoNodeLocalService; - } - - /** - * Sets the kaleo node local service. - * - * @param kaleoNodeLocalService the kaleo node local service - */ - public void setKaleoNodeLocalService( - it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService) { - this.kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Returns the kaleo node persistence. - * - * @return the kaleo node persistence - */ - public KaleoNodePersistence getKaleoNodePersistence() { - return kaleoNodePersistence; - } - - /** - * Sets the kaleo node persistence. - * - * @param kaleoNodePersistence the kaleo node persistence - */ - public void setKaleoNodePersistence( - KaleoNodePersistence kaleoNodePersistence) { - this.kaleoNodePersistence = kaleoNodePersistence; - } - - /** - * Returns the kaleo task local service. - * - * @return the kaleo task local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskLocalService getKaleoTaskLocalService() { - return kaleoTaskLocalService; - } - - /** - * Sets the kaleo task local service. - * - * @param kaleoTaskLocalService the kaleo task local service - */ - public void setKaleoTaskLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService) { - this.kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Returns the kaleo task persistence. - * - * @return the kaleo task persistence - */ - public KaleoTaskPersistence getKaleoTaskPersistence() { - return kaleoTaskPersistence; - } - - /** - * Sets the kaleo task persistence. - * - * @param kaleoTaskPersistence the kaleo task persistence - */ - public void setKaleoTaskPersistence( - KaleoTaskPersistence kaleoTaskPersistence) { - this.kaleoTaskPersistence = kaleoTaskPersistence; - } - - /** - * Returns the kaleo task assignment instance local service. - * - * @return the kaleo task assignment instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService getKaleoTaskAssignmentInstanceLocalService() { - return kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Sets the kaleo task assignment instance local service. - * - * @param kaleoTaskAssignmentInstanceLocalService the kaleo task assignment instance local service - */ - public void setKaleoTaskAssignmentInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - this.kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Returns the kaleo task assignment instance persistence. - * - * @return the kaleo task assignment instance persistence - */ - public KaleoTaskAssignmentInstancePersistence getKaleoTaskAssignmentInstancePersistence() { - return kaleoTaskAssignmentInstancePersistence; - } - - /** - * Sets the kaleo task assignment instance persistence. - * - * @param kaleoTaskAssignmentInstancePersistence the kaleo task assignment instance persistence - */ - public void setKaleoTaskAssignmentInstancePersistence( - KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence) { - this.kaleoTaskAssignmentInstancePersistence = kaleoTaskAssignmentInstancePersistence; - } - - /** - * Returns the kaleo task instance token local service. - * - * @return the kaleo task instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService getKaleoTaskInstanceTokenLocalService() { - return kaleoTaskInstanceTokenLocalService; - } - - /** - * Sets the kaleo task instance token local service. - * - * @param kaleoTaskInstanceTokenLocalService the kaleo task instance token local service - */ - public void setKaleoTaskInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - this.kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Returns the kaleo task instance token persistence. - * - * @return the kaleo task instance token persistence - */ - public KaleoTaskInstanceTokenPersistence getKaleoTaskInstanceTokenPersistence() { - return kaleoTaskInstanceTokenPersistence; - } - - /** - * Sets the kaleo task instance token persistence. - * - * @param kaleoTaskInstanceTokenPersistence the kaleo task instance token persistence - */ - public void setKaleoTaskInstanceTokenPersistence( - KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence) { - this.kaleoTaskInstanceTokenPersistence = kaleoTaskInstanceTokenPersistence; - } - - /** - * Returns the old d l file entry local service. - * - * @return the old d l file entry local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService getOldDLFileEntryLocalService() { - return oldDLFileEntryLocalService; - } - - /** - * Sets the old d l file entry local service. - * - * @param oldDLFileEntryLocalService the old d l file entry local service - */ - public void setOldDLFileEntryLocalService( - it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService) { - this.oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Returns the old d l file entry persistence. - * - * @return the old d l file entry persistence - */ - public OldDLFileEntryPersistence getOldDLFileEntryPersistence() { - return oldDLFileEntryPersistence; - } - - /** - * Sets the old d l file entry persistence. - * - * @param oldDLFileEntryPersistence the old d l file entry persistence - */ - public void setOldDLFileEntryPersistence( - OldDLFileEntryPersistence oldDLFileEntryPersistence) { - this.oldDLFileEntryPersistence = oldDLFileEntryPersistence; - } - - /** - * Returns the old d l folder local service. - * - * @return the old d l folder local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFolderLocalService getOldDLFolderLocalService() { - return oldDLFolderLocalService; - } - - /** - * Sets the old d l folder local service. - * - * @param oldDLFolderLocalService the old d l folder local service - */ - public void setOldDLFolderLocalService( - it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService) { - this.oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Returns the old d l folder persistence. - * - * @return the old d l folder persistence - */ - public OldDLFolderPersistence getOldDLFolderPersistence() { - return oldDLFolderPersistence; - } - - /** - * Sets the old d l folder persistence. - * - * @param oldDLFolderPersistence the old d l folder persistence - */ - public void setOldDLFolderPersistence( - OldDLFolderPersistence oldDLFolderPersistence) { - this.oldDLFolderPersistence = oldDLFolderPersistence; - } - - /** - * Returns the old group local service. - * - * @return the old group local service - */ - public it.tref.liferay.portos.importazione.service.OldGroupLocalService getOldGroupLocalService() { - return oldGroupLocalService; - } - - /** - * Sets the old group local service. - * - * @param oldGroupLocalService the old group local service - */ - public void setOldGroupLocalService( - it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService) { - this.oldGroupLocalService = oldGroupLocalService; - } - - /** - * Returns the old group persistence. - * - * @return the old group persistence - */ - public OldGroupPersistence getOldGroupPersistence() { - return oldGroupPersistence; - } - - /** - * Sets the old group persistence. - * - * @param oldGroupPersistence the old group persistence - */ - public void setOldGroupPersistence(OldGroupPersistence oldGroupPersistence) { - this.oldGroupPersistence = oldGroupPersistence; - } - - /** - * Returns the old organization local service. - * - * @return the old organization local service - */ - public it.tref.liferay.portos.importazione.service.OldOrganizationLocalService getOldOrganizationLocalService() { - return oldOrganizationLocalService; - } - - /** - * Sets the old organization local service. - * - * @param oldOrganizationLocalService the old organization local service - */ - public void setOldOrganizationLocalService( - it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService) { - this.oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Returns the old organization persistence. - * - * @return the old organization persistence - */ - public OldOrganizationPersistence getOldOrganizationPersistence() { - return oldOrganizationPersistence; - } - - /** - * Sets the old organization persistence. - * - * @param oldOrganizationPersistence the old organization persistence - */ - public void setOldOrganizationPersistence( - OldOrganizationPersistence oldOrganizationPersistence) { - this.oldOrganizationPersistence = oldOrganizationPersistence; - } - - /** - * Returns the old role local service. - * - * @return the old role local service - */ - public it.tref.liferay.portos.importazione.service.OldRoleLocalService getOldRoleLocalService() { - return oldRoleLocalService; - } - - /** - * Sets the old role local service. - * - * @param oldRoleLocalService the old role local service - */ - public void setOldRoleLocalService( - it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService) { - this.oldRoleLocalService = oldRoleLocalService; - } - - /** - * Returns the old role persistence. - * - * @return the old role persistence - */ - public OldRolePersistence getOldRolePersistence() { - return oldRolePersistence; - } - - /** - * Sets the old role persistence. - * - * @param oldRolePersistence the old role persistence - */ - public void setOldRolePersistence(OldRolePersistence oldRolePersistence) { - this.oldRolePersistence = oldRolePersistence; - } - - /** - * Returns the old user local service. - * - * @return the old user local service - */ - public it.tref.liferay.portos.importazione.service.OldUserLocalService getOldUserLocalService() { - return oldUserLocalService; - } - - /** - * Sets the old user local service. - * - * @param oldUserLocalService the old user local service - */ - public void setOldUserLocalService( - it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService) { - this.oldUserLocalService = oldUserLocalService; - } - - /** - * Returns the old user persistence. - * - * @return the old user persistence - */ - public OldUserPersistence getOldUserPersistence() { - return oldUserPersistence; - } - - /** - * Sets the old user persistence. - * - * @param oldUserPersistence the old user persistence - */ - public void setOldUserPersistence(OldUserPersistence oldUserPersistence) { - this.oldUserPersistence = oldUserPersistence; - } - - /** - * Returns the old user group local service. - * - * @return the old user group local service - */ - public it.tref.liferay.portos.importazione.service.OldUserGroupLocalService getOldUserGroupLocalService() { - return oldUserGroupLocalService; - } - - /** - * Sets the old user group local service. - * - * @param oldUserGroupLocalService the old user group local service - */ - public void setOldUserGroupLocalService( - it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService) { - this.oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Returns the old user group persistence. - * - * @return the old user group persistence - */ - public OldUserGroupPersistence getOldUserGroupPersistence() { - return oldUserGroupPersistence; - } - - /** - * Sets the old user group persistence. - * - * @param oldUserGroupPersistence the old user group persistence - */ - public void setOldUserGroupPersistence( - OldUserGroupPersistence oldUserGroupPersistence) { - this.oldUserGroupPersistence = oldUserGroupPersistence; - } - - /** - * Returns the old user group finder. - * - * @return the old user group finder - */ - public OldUserGroupFinder getOldUserGroupFinder() { - return oldUserGroupFinder; - } - - /** - * Sets the old user group finder. - * - * @param oldUserGroupFinder the old user group finder - */ - public void setOldUserGroupFinder(OldUserGroupFinder oldUserGroupFinder) { - this.oldUserGroupFinder = oldUserGroupFinder; - } - - /** - * Returns the procedura importazione local service. - * - * @return the procedura importazione local service - */ - public it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService getProceduraImportazioneLocalService() { - return proceduraImportazioneLocalService; - } - - /** - * Sets the procedura importazione local service. - * - * @param proceduraImportazioneLocalService the procedura importazione local service - */ - public void setProceduraImportazioneLocalService( - it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - this.proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Returns the procedura importazione persistence. - * - * @return the procedura importazione persistence - */ - public ProceduraImportazionePersistence getProceduraImportazionePersistence() { - return proceduraImportazionePersistence; - } - - /** - * Sets the procedura importazione persistence. - * - * @param proceduraImportazionePersistence the procedura importazione persistence - */ - public void setProceduraImportazionePersistence( - ProceduraImportazionePersistence proceduraImportazionePersistence) { - this.proceduraImportazionePersistence = proceduraImportazionePersistence; - } - - /** - * Returns the stato importazione local service. - * - * @return the stato importazione local service - */ - public it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService getStatoImportazioneLocalService() { - return statoImportazioneLocalService; - } - - /** - * Sets the stato importazione local service. - * - * @param statoImportazioneLocalService the stato importazione local service - */ - public void setStatoImportazioneLocalService( - it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService) { - this.statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Returns the stato importazione persistence. - * - * @return the stato importazione persistence - */ - public StatoImportazionePersistence getStatoImportazionePersistence() { - return statoImportazionePersistence; - } - - /** - * Sets the stato importazione persistence. - * - * @param statoImportazionePersistence the stato importazione persistence - */ - public void setStatoImportazionePersistence( - StatoImportazionePersistence statoImportazionePersistence) { - this.statoImportazionePersistence = statoImportazionePersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.importazione.model.BoAvviso", - boAvvisoLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.importazione.model.BoAvviso"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return BoAvviso.class; - } - - protected String getModelClassName() { - return BoAvviso.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = boAvvisoPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService; - @BeanReference(type = BoConfigurazionePersistence.class) - protected BoConfigurazionePersistence boConfigurazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeProvinciaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService; - @BeanReference(type = FeProvinciaPersistence.class) - protected FeProvinciaPersistence feProvinciaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService; - @BeanReference(type = KaleoInstancePersistence.class) - protected KaleoInstancePersistence kaleoInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService; - @BeanReference(type = KaleoInstanceTokenPersistence.class) - protected KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoLogLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService; - @BeanReference(type = KaleoLogPersistence.class) - protected KaleoLogPersistence kaleoLogPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoNodeLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService; - @BeanReference(type = KaleoNodePersistence.class) - protected KaleoNodePersistence kaleoNodePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService; - @BeanReference(type = KaleoTaskPersistence.class) - protected KaleoTaskPersistence kaleoTaskPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService; - @BeanReference(type = KaleoTaskAssignmentInstancePersistence.class) - protected KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService; - @BeanReference(type = KaleoTaskInstanceTokenPersistence.class) - protected KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService; - @BeanReference(type = OldDLFileEntryPersistence.class) - protected OldDLFileEntryPersistence oldDLFileEntryPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFolderLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService; - @BeanReference(type = OldDLFolderPersistence.class) - protected OldDLFolderPersistence oldDLFolderPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService; - @BeanReference(type = OldGroupPersistence.class) - protected OldGroupPersistence oldGroupPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldOrganizationLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService; - @BeanReference(type = OldOrganizationPersistence.class) - protected OldOrganizationPersistence oldOrganizationPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldRoleLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService; - @BeanReference(type = OldRolePersistence.class) - protected OldRolePersistence oldRolePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService; - @BeanReference(type = OldUserPersistence.class) - protected OldUserPersistence oldUserPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService; - @BeanReference(type = OldUserGroupPersistence.class) - protected OldUserGroupPersistence oldUserGroupPersistence; - @BeanReference(type = OldUserGroupFinder.class) - protected OldUserGroupFinder oldUserGroupFinder; - @BeanReference(type = it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService; - @BeanReference(type = ProceduraImportazionePersistence.class) - protected ProceduraImportazionePersistence proceduraImportazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService; - @BeanReference(type = StatoImportazionePersistence.class) - protected StatoImportazionePersistence statoImportazionePersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private BoAvvisoLocalServiceClpInvoker _clpInvoker = new BoAvvisoLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoAvvisoLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoAvvisoLocalServiceClpInvoker.java deleted file mode 100644 index e5b2575c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoAvvisoLocalServiceClpInvoker.java +++ /dev/null @@ -1,306 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import it.tref.liferay.portos.importazione.service.BoAvvisoLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author 3FC - * @generated - */ -public class BoAvvisoLocalServiceClpInvoker { - public BoAvvisoLocalServiceClpInvoker() { - _methodName0 = "addBoAvviso"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.BoAvviso" - }; - - _methodName1 = "createBoAvviso"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoAvviso"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoAvviso"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.BoAvviso" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoAvviso"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchBoAvvisoByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchBoAvvisoByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getBoAvviso"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getBoAvvisoByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getBoAvvisoByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getBoAvvisos"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getBoAvvisosCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateBoAvviso"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.importazione.model.BoAvviso" - }; - - _methodName182 = "getBeanIdentifier"; - - _methodParameterTypes182 = new String[] { }; - - _methodName183 = "setBeanIdentifier"; - - _methodParameterTypes183 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return BoAvvisoLocalServiceUtil.addBoAvviso((it.tref.liferay.portos.importazione.model.BoAvviso)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return BoAvvisoLocalServiceUtil.createBoAvviso(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return BoAvvisoLocalServiceUtil.deleteBoAvviso(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return BoAvvisoLocalServiceUtil.deleteBoAvviso((it.tref.liferay.portos.importazione.model.BoAvviso)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return BoAvvisoLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return BoAvvisoLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return BoAvvisoLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return BoAvvisoLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return BoAvvisoLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return BoAvvisoLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return BoAvvisoLocalServiceUtil.fetchBoAvviso(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return BoAvvisoLocalServiceUtil.fetchBoAvvisoByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return BoAvvisoLocalServiceUtil.fetchBoAvvisoByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return BoAvvisoLocalServiceUtil.getBoAvviso(((Long)arguments[0]).longValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return BoAvvisoLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return BoAvvisoLocalServiceUtil.getBoAvvisoByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName16.equals(name) && - Arrays.deepEquals(_methodParameterTypes16, parameterTypes)) { - return BoAvvisoLocalServiceUtil.getBoAvvisoByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName17.equals(name) && - Arrays.deepEquals(_methodParameterTypes17, parameterTypes)) { - return BoAvvisoLocalServiceUtil.getBoAvvisos(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName18.equals(name) && - Arrays.deepEquals(_methodParameterTypes18, parameterTypes)) { - return BoAvvisoLocalServiceUtil.getBoAvvisosCount(); - } - - if (_methodName19.equals(name) && - Arrays.deepEquals(_methodParameterTypes19, parameterTypes)) { - return BoAvvisoLocalServiceUtil.updateBoAvviso((it.tref.liferay.portos.importazione.model.BoAvviso)arguments[0]); - } - - if (_methodName182.equals(name) && - Arrays.deepEquals(_methodParameterTypes182, parameterTypes)) { - return BoAvvisoLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName183.equals(name) && - Arrays.deepEquals(_methodParameterTypes183, parameterTypes)) { - BoAvvisoLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName182; - private String[] _methodParameterTypes182; - private String _methodName183; - private String[] _methodParameterTypes183; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoComuneLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoComuneLocalServiceBaseImpl.java deleted file mode 100644 index b15a10ed..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoComuneLocalServiceBaseImpl.java +++ /dev/null @@ -1,2070 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.importazione.model.BoComune; -import it.tref.liferay.portos.importazione.service.BoComuneLocalService; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinder; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the bo comune local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.importazione.service.impl.BoComuneLocalServiceImpl}. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.impl.BoComuneLocalServiceImpl - * @see it.tref.liferay.portos.importazione.service.BoComuneLocalServiceUtil - * @generated - */ -public abstract class BoComuneLocalServiceBaseImpl extends BaseLocalServiceImpl - implements BoComuneLocalService, IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.importazione.service.BoComuneLocalServiceUtil} to access the bo comune local service. - */ - - /** - * Adds the bo comune to the database. Also notifies the appropriate model listeners. - * - * @param boComune the bo comune - * @return the bo comune that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoComune addBoComune(BoComune boComune) throws SystemException { - boComune.setNew(true); - - return boComunePersistence.update(boComune); - } - - /** - * Creates a new bo comune with the primary key. Does not add the bo comune to the database. - * - * @param comuneId the primary key for the new bo comune - * @return the new bo comune - */ - @Override - public BoComune createBoComune(long comuneId) { - return boComunePersistence.create(comuneId); - } - - /** - * Deletes the bo comune with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param comuneId the primary key of the bo comune - * @return the bo comune that was removed - * @throws PortalException if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoComune deleteBoComune(long comuneId) - throws PortalException, SystemException { - return boComunePersistence.remove(comuneId); - } - - /** - * Deletes the bo comune from the database. Also notifies the appropriate model listeners. - * - * @param boComune the bo comune - * @return the bo comune that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoComune deleteBoComune(BoComune boComune) throws SystemException { - return boComunePersistence.remove(boComune); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(BoComune.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return boComunePersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return boComunePersistence.findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return boComunePersistence.findWithDynamicQuery(dynamicQuery, start, - end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return boComunePersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return boComunePersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public BoComune fetchBoComune(long comuneId) throws SystemException { - return boComunePersistence.fetchByPrimaryKey(comuneId); - } - - /** - * Returns the bo comune with the primary key. - * - * @param comuneId the primary key of the bo comune - * @return the bo comune - * @throws PortalException if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoComune getBoComune(long comuneId) - throws PortalException, SystemException { - return boComunePersistence.findByPrimaryKey(comuneId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return boComunePersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns a range of all the bo comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo comunes - * @param end the upper bound of the range of bo comunes (not inclusive) - * @return the range of bo comunes - * @throws SystemException if a system exception occurred - */ - @Override - public List getBoComunes(int start, int end) - throws SystemException { - return boComunePersistence.findAll(start, end); - } - - /** - * Returns the number of bo comunes. - * - * @return the number of bo comunes - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoComunesCount() throws SystemException { - return boComunePersistence.countAll(); - } - - /** - * Updates the bo comune in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boComune the bo comune - * @return the bo comune that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoComune updateBoComune(BoComune boComune) throws SystemException { - return boComunePersistence.update(boComune); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.importazione.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.importazione.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo configurazione local service. - * - * @return the bo configurazione local service - */ - public it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService getBoConfigurazioneLocalService() { - return boConfigurazioneLocalService; - } - - /** - * Sets the bo configurazione local service. - * - * @param boConfigurazioneLocalService the bo configurazione local service - */ - public void setBoConfigurazioneLocalService( - it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService) { - this.boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Returns the bo configurazione persistence. - * - * @return the bo configurazione persistence - */ - public BoConfigurazionePersistence getBoConfigurazionePersistence() { - return boConfigurazionePersistence; - } - - /** - * Sets the bo configurazione persistence. - * - * @param boConfigurazionePersistence the bo configurazione persistence - */ - public void setBoConfigurazionePersistence( - BoConfigurazionePersistence boConfigurazionePersistence) { - this.boConfigurazionePersistence = boConfigurazionePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.importazione.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.importazione.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.importazione.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.importazione.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.importazione.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.importazione.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe provincia local service. - * - * @return the fe provincia local service - */ - public it.tref.liferay.portos.importazione.service.FeProvinciaLocalService getFeProvinciaLocalService() { - return feProvinciaLocalService; - } - - /** - * Sets the fe provincia local service. - * - * @param feProvinciaLocalService the fe provincia local service - */ - public void setFeProvinciaLocalService( - it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService) { - this.feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Returns the fe provincia persistence. - * - * @return the fe provincia persistence - */ - public FeProvinciaPersistence getFeProvinciaPersistence() { - return feProvinciaPersistence; - } - - /** - * Sets the fe provincia persistence. - * - * @param feProvinciaPersistence the fe provincia persistence - */ - public void setFeProvinciaPersistence( - FeProvinciaPersistence feProvinciaPersistence) { - this.feProvinciaPersistence = feProvinciaPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.importazione.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the kaleo instance local service. - * - * @return the kaleo instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService getKaleoInstanceLocalService() { - return kaleoInstanceLocalService; - } - - /** - * Sets the kaleo instance local service. - * - * @param kaleoInstanceLocalService the kaleo instance local service - */ - public void setKaleoInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService) { - this.kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Returns the kaleo instance persistence. - * - * @return the kaleo instance persistence - */ - public KaleoInstancePersistence getKaleoInstancePersistence() { - return kaleoInstancePersistence; - } - - /** - * Sets the kaleo instance persistence. - * - * @param kaleoInstancePersistence the kaleo instance persistence - */ - public void setKaleoInstancePersistence( - KaleoInstancePersistence kaleoInstancePersistence) { - this.kaleoInstancePersistence = kaleoInstancePersistence; - } - - /** - * Returns the kaleo instance token local service. - * - * @return the kaleo instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService getKaleoInstanceTokenLocalService() { - return kaleoInstanceTokenLocalService; - } - - /** - * Sets the kaleo instance token local service. - * - * @param kaleoInstanceTokenLocalService the kaleo instance token local service - */ - public void setKaleoInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - this.kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Returns the kaleo instance token persistence. - * - * @return the kaleo instance token persistence - */ - public KaleoInstanceTokenPersistence getKaleoInstanceTokenPersistence() { - return kaleoInstanceTokenPersistence; - } - - /** - * Sets the kaleo instance token persistence. - * - * @param kaleoInstanceTokenPersistence the kaleo instance token persistence - */ - public void setKaleoInstanceTokenPersistence( - KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence) { - this.kaleoInstanceTokenPersistence = kaleoInstanceTokenPersistence; - } - - /** - * Returns the kaleo log local service. - * - * @return the kaleo log local service - */ - public it.tref.liferay.portos.importazione.service.KaleoLogLocalService getKaleoLogLocalService() { - return kaleoLogLocalService; - } - - /** - * Sets the kaleo log local service. - * - * @param kaleoLogLocalService the kaleo log local service - */ - public void setKaleoLogLocalService( - it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService) { - this.kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Returns the kaleo log persistence. - * - * @return the kaleo log persistence - */ - public KaleoLogPersistence getKaleoLogPersistence() { - return kaleoLogPersistence; - } - - /** - * Sets the kaleo log persistence. - * - * @param kaleoLogPersistence the kaleo log persistence - */ - public void setKaleoLogPersistence(KaleoLogPersistence kaleoLogPersistence) { - this.kaleoLogPersistence = kaleoLogPersistence; - } - - /** - * Returns the kaleo node local service. - * - * @return the kaleo node local service - */ - public it.tref.liferay.portos.importazione.service.KaleoNodeLocalService getKaleoNodeLocalService() { - return kaleoNodeLocalService; - } - - /** - * Sets the kaleo node local service. - * - * @param kaleoNodeLocalService the kaleo node local service - */ - public void setKaleoNodeLocalService( - it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService) { - this.kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Returns the kaleo node persistence. - * - * @return the kaleo node persistence - */ - public KaleoNodePersistence getKaleoNodePersistence() { - return kaleoNodePersistence; - } - - /** - * Sets the kaleo node persistence. - * - * @param kaleoNodePersistence the kaleo node persistence - */ - public void setKaleoNodePersistence( - KaleoNodePersistence kaleoNodePersistence) { - this.kaleoNodePersistence = kaleoNodePersistence; - } - - /** - * Returns the kaleo task local service. - * - * @return the kaleo task local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskLocalService getKaleoTaskLocalService() { - return kaleoTaskLocalService; - } - - /** - * Sets the kaleo task local service. - * - * @param kaleoTaskLocalService the kaleo task local service - */ - public void setKaleoTaskLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService) { - this.kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Returns the kaleo task persistence. - * - * @return the kaleo task persistence - */ - public KaleoTaskPersistence getKaleoTaskPersistence() { - return kaleoTaskPersistence; - } - - /** - * Sets the kaleo task persistence. - * - * @param kaleoTaskPersistence the kaleo task persistence - */ - public void setKaleoTaskPersistence( - KaleoTaskPersistence kaleoTaskPersistence) { - this.kaleoTaskPersistence = kaleoTaskPersistence; - } - - /** - * Returns the kaleo task assignment instance local service. - * - * @return the kaleo task assignment instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService getKaleoTaskAssignmentInstanceLocalService() { - return kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Sets the kaleo task assignment instance local service. - * - * @param kaleoTaskAssignmentInstanceLocalService the kaleo task assignment instance local service - */ - public void setKaleoTaskAssignmentInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - this.kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Returns the kaleo task assignment instance persistence. - * - * @return the kaleo task assignment instance persistence - */ - public KaleoTaskAssignmentInstancePersistence getKaleoTaskAssignmentInstancePersistence() { - return kaleoTaskAssignmentInstancePersistence; - } - - /** - * Sets the kaleo task assignment instance persistence. - * - * @param kaleoTaskAssignmentInstancePersistence the kaleo task assignment instance persistence - */ - public void setKaleoTaskAssignmentInstancePersistence( - KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence) { - this.kaleoTaskAssignmentInstancePersistence = kaleoTaskAssignmentInstancePersistence; - } - - /** - * Returns the kaleo task instance token local service. - * - * @return the kaleo task instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService getKaleoTaskInstanceTokenLocalService() { - return kaleoTaskInstanceTokenLocalService; - } - - /** - * Sets the kaleo task instance token local service. - * - * @param kaleoTaskInstanceTokenLocalService the kaleo task instance token local service - */ - public void setKaleoTaskInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - this.kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Returns the kaleo task instance token persistence. - * - * @return the kaleo task instance token persistence - */ - public KaleoTaskInstanceTokenPersistence getKaleoTaskInstanceTokenPersistence() { - return kaleoTaskInstanceTokenPersistence; - } - - /** - * Sets the kaleo task instance token persistence. - * - * @param kaleoTaskInstanceTokenPersistence the kaleo task instance token persistence - */ - public void setKaleoTaskInstanceTokenPersistence( - KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence) { - this.kaleoTaskInstanceTokenPersistence = kaleoTaskInstanceTokenPersistence; - } - - /** - * Returns the old d l file entry local service. - * - * @return the old d l file entry local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService getOldDLFileEntryLocalService() { - return oldDLFileEntryLocalService; - } - - /** - * Sets the old d l file entry local service. - * - * @param oldDLFileEntryLocalService the old d l file entry local service - */ - public void setOldDLFileEntryLocalService( - it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService) { - this.oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Returns the old d l file entry persistence. - * - * @return the old d l file entry persistence - */ - public OldDLFileEntryPersistence getOldDLFileEntryPersistence() { - return oldDLFileEntryPersistence; - } - - /** - * Sets the old d l file entry persistence. - * - * @param oldDLFileEntryPersistence the old d l file entry persistence - */ - public void setOldDLFileEntryPersistence( - OldDLFileEntryPersistence oldDLFileEntryPersistence) { - this.oldDLFileEntryPersistence = oldDLFileEntryPersistence; - } - - /** - * Returns the old d l folder local service. - * - * @return the old d l folder local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFolderLocalService getOldDLFolderLocalService() { - return oldDLFolderLocalService; - } - - /** - * Sets the old d l folder local service. - * - * @param oldDLFolderLocalService the old d l folder local service - */ - public void setOldDLFolderLocalService( - it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService) { - this.oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Returns the old d l folder persistence. - * - * @return the old d l folder persistence - */ - public OldDLFolderPersistence getOldDLFolderPersistence() { - return oldDLFolderPersistence; - } - - /** - * Sets the old d l folder persistence. - * - * @param oldDLFolderPersistence the old d l folder persistence - */ - public void setOldDLFolderPersistence( - OldDLFolderPersistence oldDLFolderPersistence) { - this.oldDLFolderPersistence = oldDLFolderPersistence; - } - - /** - * Returns the old group local service. - * - * @return the old group local service - */ - public it.tref.liferay.portos.importazione.service.OldGroupLocalService getOldGroupLocalService() { - return oldGroupLocalService; - } - - /** - * Sets the old group local service. - * - * @param oldGroupLocalService the old group local service - */ - public void setOldGroupLocalService( - it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService) { - this.oldGroupLocalService = oldGroupLocalService; - } - - /** - * Returns the old group persistence. - * - * @return the old group persistence - */ - public OldGroupPersistence getOldGroupPersistence() { - return oldGroupPersistence; - } - - /** - * Sets the old group persistence. - * - * @param oldGroupPersistence the old group persistence - */ - public void setOldGroupPersistence(OldGroupPersistence oldGroupPersistence) { - this.oldGroupPersistence = oldGroupPersistence; - } - - /** - * Returns the old organization local service. - * - * @return the old organization local service - */ - public it.tref.liferay.portos.importazione.service.OldOrganizationLocalService getOldOrganizationLocalService() { - return oldOrganizationLocalService; - } - - /** - * Sets the old organization local service. - * - * @param oldOrganizationLocalService the old organization local service - */ - public void setOldOrganizationLocalService( - it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService) { - this.oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Returns the old organization persistence. - * - * @return the old organization persistence - */ - public OldOrganizationPersistence getOldOrganizationPersistence() { - return oldOrganizationPersistence; - } - - /** - * Sets the old organization persistence. - * - * @param oldOrganizationPersistence the old organization persistence - */ - public void setOldOrganizationPersistence( - OldOrganizationPersistence oldOrganizationPersistence) { - this.oldOrganizationPersistence = oldOrganizationPersistence; - } - - /** - * Returns the old role local service. - * - * @return the old role local service - */ - public it.tref.liferay.portos.importazione.service.OldRoleLocalService getOldRoleLocalService() { - return oldRoleLocalService; - } - - /** - * Sets the old role local service. - * - * @param oldRoleLocalService the old role local service - */ - public void setOldRoleLocalService( - it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService) { - this.oldRoleLocalService = oldRoleLocalService; - } - - /** - * Returns the old role persistence. - * - * @return the old role persistence - */ - public OldRolePersistence getOldRolePersistence() { - return oldRolePersistence; - } - - /** - * Sets the old role persistence. - * - * @param oldRolePersistence the old role persistence - */ - public void setOldRolePersistence(OldRolePersistence oldRolePersistence) { - this.oldRolePersistence = oldRolePersistence; - } - - /** - * Returns the old user local service. - * - * @return the old user local service - */ - public it.tref.liferay.portos.importazione.service.OldUserLocalService getOldUserLocalService() { - return oldUserLocalService; - } - - /** - * Sets the old user local service. - * - * @param oldUserLocalService the old user local service - */ - public void setOldUserLocalService( - it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService) { - this.oldUserLocalService = oldUserLocalService; - } - - /** - * Returns the old user persistence. - * - * @return the old user persistence - */ - public OldUserPersistence getOldUserPersistence() { - return oldUserPersistence; - } - - /** - * Sets the old user persistence. - * - * @param oldUserPersistence the old user persistence - */ - public void setOldUserPersistence(OldUserPersistence oldUserPersistence) { - this.oldUserPersistence = oldUserPersistence; - } - - /** - * Returns the old user group local service. - * - * @return the old user group local service - */ - public it.tref.liferay.portos.importazione.service.OldUserGroupLocalService getOldUserGroupLocalService() { - return oldUserGroupLocalService; - } - - /** - * Sets the old user group local service. - * - * @param oldUserGroupLocalService the old user group local service - */ - public void setOldUserGroupLocalService( - it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService) { - this.oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Returns the old user group persistence. - * - * @return the old user group persistence - */ - public OldUserGroupPersistence getOldUserGroupPersistence() { - return oldUserGroupPersistence; - } - - /** - * Sets the old user group persistence. - * - * @param oldUserGroupPersistence the old user group persistence - */ - public void setOldUserGroupPersistence( - OldUserGroupPersistence oldUserGroupPersistence) { - this.oldUserGroupPersistence = oldUserGroupPersistence; - } - - /** - * Returns the old user group finder. - * - * @return the old user group finder - */ - public OldUserGroupFinder getOldUserGroupFinder() { - return oldUserGroupFinder; - } - - /** - * Sets the old user group finder. - * - * @param oldUserGroupFinder the old user group finder - */ - public void setOldUserGroupFinder(OldUserGroupFinder oldUserGroupFinder) { - this.oldUserGroupFinder = oldUserGroupFinder; - } - - /** - * Returns the procedura importazione local service. - * - * @return the procedura importazione local service - */ - public it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService getProceduraImportazioneLocalService() { - return proceduraImportazioneLocalService; - } - - /** - * Sets the procedura importazione local service. - * - * @param proceduraImportazioneLocalService the procedura importazione local service - */ - public void setProceduraImportazioneLocalService( - it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - this.proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Returns the procedura importazione persistence. - * - * @return the procedura importazione persistence - */ - public ProceduraImportazionePersistence getProceduraImportazionePersistence() { - return proceduraImportazionePersistence; - } - - /** - * Sets the procedura importazione persistence. - * - * @param proceduraImportazionePersistence the procedura importazione persistence - */ - public void setProceduraImportazionePersistence( - ProceduraImportazionePersistence proceduraImportazionePersistence) { - this.proceduraImportazionePersistence = proceduraImportazionePersistence; - } - - /** - * Returns the stato importazione local service. - * - * @return the stato importazione local service - */ - public it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService getStatoImportazioneLocalService() { - return statoImportazioneLocalService; - } - - /** - * Sets the stato importazione local service. - * - * @param statoImportazioneLocalService the stato importazione local service - */ - public void setStatoImportazioneLocalService( - it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService) { - this.statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Returns the stato importazione persistence. - * - * @return the stato importazione persistence - */ - public StatoImportazionePersistence getStatoImportazionePersistence() { - return statoImportazionePersistence; - } - - /** - * Sets the stato importazione persistence. - * - * @param statoImportazionePersistence the stato importazione persistence - */ - public void setStatoImportazionePersistence( - StatoImportazionePersistence statoImportazionePersistence) { - this.statoImportazionePersistence = statoImportazionePersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.importazione.model.BoComune", - boComuneLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.importazione.model.BoComune"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return BoComune.class; - } - - protected String getModelClassName() { - return BoComune.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = boComunePersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService; - @BeanReference(type = BoConfigurazionePersistence.class) - protected BoConfigurazionePersistence boConfigurazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeProvinciaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService; - @BeanReference(type = FeProvinciaPersistence.class) - protected FeProvinciaPersistence feProvinciaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService; - @BeanReference(type = KaleoInstancePersistence.class) - protected KaleoInstancePersistence kaleoInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService; - @BeanReference(type = KaleoInstanceTokenPersistence.class) - protected KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoLogLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService; - @BeanReference(type = KaleoLogPersistence.class) - protected KaleoLogPersistence kaleoLogPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoNodeLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService; - @BeanReference(type = KaleoNodePersistence.class) - protected KaleoNodePersistence kaleoNodePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService; - @BeanReference(type = KaleoTaskPersistence.class) - protected KaleoTaskPersistence kaleoTaskPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService; - @BeanReference(type = KaleoTaskAssignmentInstancePersistence.class) - protected KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService; - @BeanReference(type = KaleoTaskInstanceTokenPersistence.class) - protected KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService; - @BeanReference(type = OldDLFileEntryPersistence.class) - protected OldDLFileEntryPersistence oldDLFileEntryPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFolderLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService; - @BeanReference(type = OldDLFolderPersistence.class) - protected OldDLFolderPersistence oldDLFolderPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService; - @BeanReference(type = OldGroupPersistence.class) - protected OldGroupPersistence oldGroupPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldOrganizationLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService; - @BeanReference(type = OldOrganizationPersistence.class) - protected OldOrganizationPersistence oldOrganizationPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldRoleLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService; - @BeanReference(type = OldRolePersistence.class) - protected OldRolePersistence oldRolePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService; - @BeanReference(type = OldUserPersistence.class) - protected OldUserPersistence oldUserPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService; - @BeanReference(type = OldUserGroupPersistence.class) - protected OldUserGroupPersistence oldUserGroupPersistence; - @BeanReference(type = OldUserGroupFinder.class) - protected OldUserGroupFinder oldUserGroupFinder; - @BeanReference(type = it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService; - @BeanReference(type = ProceduraImportazionePersistence.class) - protected ProceduraImportazionePersistence proceduraImportazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService; - @BeanReference(type = StatoImportazionePersistence.class) - protected StatoImportazionePersistence statoImportazionePersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private BoComuneLocalServiceClpInvoker _clpInvoker = new BoComuneLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoComuneLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoComuneLocalServiceClpInvoker.java deleted file mode 100644 index e52b6b0a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoComuneLocalServiceClpInvoker.java +++ /dev/null @@ -1,258 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import it.tref.liferay.portos.importazione.service.BoComuneLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author 3FC - * @generated - */ -public class BoComuneLocalServiceClpInvoker { - public BoComuneLocalServiceClpInvoker() { - _methodName0 = "addBoComune"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.BoComune" - }; - - _methodName1 = "createBoComune"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoComune"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoComune"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.BoComune" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoComune"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getBoComune"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getBoComunes"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getBoComunesCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateBoComune"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.BoComune" - }; - - _methodName178 = "getBeanIdentifier"; - - _methodParameterTypes178 = new String[] { }; - - _methodName179 = "setBeanIdentifier"; - - _methodParameterTypes179 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return BoComuneLocalServiceUtil.addBoComune((it.tref.liferay.portos.importazione.model.BoComune)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return BoComuneLocalServiceUtil.createBoComune(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return BoComuneLocalServiceUtil.deleteBoComune(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return BoComuneLocalServiceUtil.deleteBoComune((it.tref.liferay.portos.importazione.model.BoComune)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return BoComuneLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return BoComuneLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return BoComuneLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return BoComuneLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return BoComuneLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return BoComuneLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return BoComuneLocalServiceUtil.fetchBoComune(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return BoComuneLocalServiceUtil.getBoComune(((Long)arguments[0]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return BoComuneLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return BoComuneLocalServiceUtil.getBoComunes(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return BoComuneLocalServiceUtil.getBoComunesCount(); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return BoComuneLocalServiceUtil.updateBoComune((it.tref.liferay.portos.importazione.model.BoComune)arguments[0]); - } - - if (_methodName178.equals(name) && - Arrays.deepEquals(_methodParameterTypes178, parameterTypes)) { - return BoComuneLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName179.equals(name) && - Arrays.deepEquals(_methodParameterTypes179, parameterTypes)) { - BoComuneLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName178; - private String[] _methodParameterTypes178; - private String _methodName179; - private String[] _methodParameterTypes179; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoConfigurazioneLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoConfigurazioneLocalServiceBaseImpl.java deleted file mode 100644 index 5e0aca17..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoConfigurazioneLocalServiceBaseImpl.java +++ /dev/null @@ -1,2136 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.importazione.model.BoConfigurazione; -import it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinder; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the bo configurazione local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.importazione.service.impl.BoConfigurazioneLocalServiceImpl}. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.impl.BoConfigurazioneLocalServiceImpl - * @see it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalServiceUtil - * @generated - */ -public abstract class BoConfigurazioneLocalServiceBaseImpl - extends BaseLocalServiceImpl implements BoConfigurazioneLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalServiceUtil} to access the bo configurazione local service. - */ - - /** - * Adds the bo configurazione to the database. Also notifies the appropriate model listeners. - * - * @param boConfigurazione the bo configurazione - * @return the bo configurazione that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoConfigurazione addBoConfigurazione( - BoConfigurazione boConfigurazione) throws SystemException { - boConfigurazione.setNew(true); - - return boConfigurazionePersistence.update(boConfigurazione); - } - - /** - * Creates a new bo configurazione with the primary key. Does not add the bo configurazione to the database. - * - * @param configurazioneId the primary key for the new bo configurazione - * @return the new bo configurazione - */ - @Override - public BoConfigurazione createBoConfigurazione(long configurazioneId) { - return boConfigurazionePersistence.create(configurazioneId); - } - - /** - * Deletes the bo configurazione with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param configurazioneId the primary key of the bo configurazione - * @return the bo configurazione that was removed - * @throws PortalException if a bo configurazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoConfigurazione deleteBoConfigurazione(long configurazioneId) - throws PortalException, SystemException { - return boConfigurazionePersistence.remove(configurazioneId); - } - - /** - * Deletes the bo configurazione from the database. Also notifies the appropriate model listeners. - * - * @param boConfigurazione the bo configurazione - * @return the bo configurazione that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoConfigurazione deleteBoConfigurazione( - BoConfigurazione boConfigurazione) throws SystemException { - return boConfigurazionePersistence.remove(boConfigurazione); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(BoConfigurazione.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return boConfigurazionePersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return boConfigurazionePersistence.findWithDynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return boConfigurazionePersistence.findWithDynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return boConfigurazionePersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return boConfigurazionePersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public BoConfigurazione fetchBoConfigurazione(long configurazioneId) - throws SystemException { - return boConfigurazionePersistence.fetchByPrimaryKey(configurazioneId); - } - - /** - * Returns the bo configurazione with the matching UUID and company. - * - * @param uuid the bo configurazione's UUID - * @param companyId the primary key of the company - * @return the matching bo configurazione, or null if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoConfigurazione fetchBoConfigurazioneByUuidAndCompanyId( - String uuid, long companyId) throws SystemException { - return boConfigurazionePersistence.fetchByUuid_C_First(uuid, companyId, - null); - } - - /** - * Returns the bo configurazione matching the UUID and group. - * - * @param uuid the bo configurazione's UUID - * @param groupId the primary key of the group - * @return the matching bo configurazione, or null if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoConfigurazione fetchBoConfigurazioneByUuidAndGroupId(String uuid, - long groupId) throws SystemException { - return boConfigurazionePersistence.fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the bo configurazione with the primary key. - * - * @param configurazioneId the primary key of the bo configurazione - * @return the bo configurazione - * @throws PortalException if a bo configurazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoConfigurazione getBoConfigurazione(long configurazioneId) - throws PortalException, SystemException { - return boConfigurazionePersistence.findByPrimaryKey(configurazioneId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return boConfigurazionePersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns the bo configurazione with the matching UUID and company. - * - * @param uuid the bo configurazione's UUID - * @param companyId the primary key of the company - * @return the matching bo configurazione - * @throws PortalException if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoConfigurazione getBoConfigurazioneByUuidAndCompanyId(String uuid, - long companyId) throws PortalException, SystemException { - return boConfigurazionePersistence.findByUuid_C_First(uuid, companyId, - null); - } - - /** - * Returns the bo configurazione matching the UUID and group. - * - * @param uuid the bo configurazione's UUID - * @param groupId the primary key of the group - * @return the matching bo configurazione - * @throws PortalException if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoConfigurazione getBoConfigurazioneByUuidAndGroupId(String uuid, - long groupId) throws PortalException, SystemException { - return boConfigurazionePersistence.findByUUID_G(uuid, groupId); - } - - /** - * Returns a range of all the bo configuraziones. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo configuraziones - * @param end the upper bound of the range of bo configuraziones (not inclusive) - * @return the range of bo configuraziones - * @throws SystemException if a system exception occurred - */ - @Override - public List getBoConfiguraziones(int start, int end) - throws SystemException { - return boConfigurazionePersistence.findAll(start, end); - } - - /** - * Returns the number of bo configuraziones. - * - * @return the number of bo configuraziones - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoConfigurazionesCount() throws SystemException { - return boConfigurazionePersistence.countAll(); - } - - /** - * Updates the bo configurazione in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boConfigurazione the bo configurazione - * @return the bo configurazione that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoConfigurazione updateBoConfigurazione( - BoConfigurazione boConfigurazione) throws SystemException { - return boConfigurazionePersistence.update(boConfigurazione); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.importazione.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.importazione.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo configurazione local service. - * - * @return the bo configurazione local service - */ - public it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService getBoConfigurazioneLocalService() { - return boConfigurazioneLocalService; - } - - /** - * Sets the bo configurazione local service. - * - * @param boConfigurazioneLocalService the bo configurazione local service - */ - public void setBoConfigurazioneLocalService( - it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService) { - this.boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Returns the bo configurazione persistence. - * - * @return the bo configurazione persistence - */ - public BoConfigurazionePersistence getBoConfigurazionePersistence() { - return boConfigurazionePersistence; - } - - /** - * Sets the bo configurazione persistence. - * - * @param boConfigurazionePersistence the bo configurazione persistence - */ - public void setBoConfigurazionePersistence( - BoConfigurazionePersistence boConfigurazionePersistence) { - this.boConfigurazionePersistence = boConfigurazionePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.importazione.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.importazione.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.importazione.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.importazione.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.importazione.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.importazione.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe provincia local service. - * - * @return the fe provincia local service - */ - public it.tref.liferay.portos.importazione.service.FeProvinciaLocalService getFeProvinciaLocalService() { - return feProvinciaLocalService; - } - - /** - * Sets the fe provincia local service. - * - * @param feProvinciaLocalService the fe provincia local service - */ - public void setFeProvinciaLocalService( - it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService) { - this.feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Returns the fe provincia persistence. - * - * @return the fe provincia persistence - */ - public FeProvinciaPersistence getFeProvinciaPersistence() { - return feProvinciaPersistence; - } - - /** - * Sets the fe provincia persistence. - * - * @param feProvinciaPersistence the fe provincia persistence - */ - public void setFeProvinciaPersistence( - FeProvinciaPersistence feProvinciaPersistence) { - this.feProvinciaPersistence = feProvinciaPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.importazione.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the kaleo instance local service. - * - * @return the kaleo instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService getKaleoInstanceLocalService() { - return kaleoInstanceLocalService; - } - - /** - * Sets the kaleo instance local service. - * - * @param kaleoInstanceLocalService the kaleo instance local service - */ - public void setKaleoInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService) { - this.kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Returns the kaleo instance persistence. - * - * @return the kaleo instance persistence - */ - public KaleoInstancePersistence getKaleoInstancePersistence() { - return kaleoInstancePersistence; - } - - /** - * Sets the kaleo instance persistence. - * - * @param kaleoInstancePersistence the kaleo instance persistence - */ - public void setKaleoInstancePersistence( - KaleoInstancePersistence kaleoInstancePersistence) { - this.kaleoInstancePersistence = kaleoInstancePersistence; - } - - /** - * Returns the kaleo instance token local service. - * - * @return the kaleo instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService getKaleoInstanceTokenLocalService() { - return kaleoInstanceTokenLocalService; - } - - /** - * Sets the kaleo instance token local service. - * - * @param kaleoInstanceTokenLocalService the kaleo instance token local service - */ - public void setKaleoInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - this.kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Returns the kaleo instance token persistence. - * - * @return the kaleo instance token persistence - */ - public KaleoInstanceTokenPersistence getKaleoInstanceTokenPersistence() { - return kaleoInstanceTokenPersistence; - } - - /** - * Sets the kaleo instance token persistence. - * - * @param kaleoInstanceTokenPersistence the kaleo instance token persistence - */ - public void setKaleoInstanceTokenPersistence( - KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence) { - this.kaleoInstanceTokenPersistence = kaleoInstanceTokenPersistence; - } - - /** - * Returns the kaleo log local service. - * - * @return the kaleo log local service - */ - public it.tref.liferay.portos.importazione.service.KaleoLogLocalService getKaleoLogLocalService() { - return kaleoLogLocalService; - } - - /** - * Sets the kaleo log local service. - * - * @param kaleoLogLocalService the kaleo log local service - */ - public void setKaleoLogLocalService( - it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService) { - this.kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Returns the kaleo log persistence. - * - * @return the kaleo log persistence - */ - public KaleoLogPersistence getKaleoLogPersistence() { - return kaleoLogPersistence; - } - - /** - * Sets the kaleo log persistence. - * - * @param kaleoLogPersistence the kaleo log persistence - */ - public void setKaleoLogPersistence(KaleoLogPersistence kaleoLogPersistence) { - this.kaleoLogPersistence = kaleoLogPersistence; - } - - /** - * Returns the kaleo node local service. - * - * @return the kaleo node local service - */ - public it.tref.liferay.portos.importazione.service.KaleoNodeLocalService getKaleoNodeLocalService() { - return kaleoNodeLocalService; - } - - /** - * Sets the kaleo node local service. - * - * @param kaleoNodeLocalService the kaleo node local service - */ - public void setKaleoNodeLocalService( - it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService) { - this.kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Returns the kaleo node persistence. - * - * @return the kaleo node persistence - */ - public KaleoNodePersistence getKaleoNodePersistence() { - return kaleoNodePersistence; - } - - /** - * Sets the kaleo node persistence. - * - * @param kaleoNodePersistence the kaleo node persistence - */ - public void setKaleoNodePersistence( - KaleoNodePersistence kaleoNodePersistence) { - this.kaleoNodePersistence = kaleoNodePersistence; - } - - /** - * Returns the kaleo task local service. - * - * @return the kaleo task local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskLocalService getKaleoTaskLocalService() { - return kaleoTaskLocalService; - } - - /** - * Sets the kaleo task local service. - * - * @param kaleoTaskLocalService the kaleo task local service - */ - public void setKaleoTaskLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService) { - this.kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Returns the kaleo task persistence. - * - * @return the kaleo task persistence - */ - public KaleoTaskPersistence getKaleoTaskPersistence() { - return kaleoTaskPersistence; - } - - /** - * Sets the kaleo task persistence. - * - * @param kaleoTaskPersistence the kaleo task persistence - */ - public void setKaleoTaskPersistence( - KaleoTaskPersistence kaleoTaskPersistence) { - this.kaleoTaskPersistence = kaleoTaskPersistence; - } - - /** - * Returns the kaleo task assignment instance local service. - * - * @return the kaleo task assignment instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService getKaleoTaskAssignmentInstanceLocalService() { - return kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Sets the kaleo task assignment instance local service. - * - * @param kaleoTaskAssignmentInstanceLocalService the kaleo task assignment instance local service - */ - public void setKaleoTaskAssignmentInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - this.kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Returns the kaleo task assignment instance persistence. - * - * @return the kaleo task assignment instance persistence - */ - public KaleoTaskAssignmentInstancePersistence getKaleoTaskAssignmentInstancePersistence() { - return kaleoTaskAssignmentInstancePersistence; - } - - /** - * Sets the kaleo task assignment instance persistence. - * - * @param kaleoTaskAssignmentInstancePersistence the kaleo task assignment instance persistence - */ - public void setKaleoTaskAssignmentInstancePersistence( - KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence) { - this.kaleoTaskAssignmentInstancePersistence = kaleoTaskAssignmentInstancePersistence; - } - - /** - * Returns the kaleo task instance token local service. - * - * @return the kaleo task instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService getKaleoTaskInstanceTokenLocalService() { - return kaleoTaskInstanceTokenLocalService; - } - - /** - * Sets the kaleo task instance token local service. - * - * @param kaleoTaskInstanceTokenLocalService the kaleo task instance token local service - */ - public void setKaleoTaskInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - this.kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Returns the kaleo task instance token persistence. - * - * @return the kaleo task instance token persistence - */ - public KaleoTaskInstanceTokenPersistence getKaleoTaskInstanceTokenPersistence() { - return kaleoTaskInstanceTokenPersistence; - } - - /** - * Sets the kaleo task instance token persistence. - * - * @param kaleoTaskInstanceTokenPersistence the kaleo task instance token persistence - */ - public void setKaleoTaskInstanceTokenPersistence( - KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence) { - this.kaleoTaskInstanceTokenPersistence = kaleoTaskInstanceTokenPersistence; - } - - /** - * Returns the old d l file entry local service. - * - * @return the old d l file entry local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService getOldDLFileEntryLocalService() { - return oldDLFileEntryLocalService; - } - - /** - * Sets the old d l file entry local service. - * - * @param oldDLFileEntryLocalService the old d l file entry local service - */ - public void setOldDLFileEntryLocalService( - it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService) { - this.oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Returns the old d l file entry persistence. - * - * @return the old d l file entry persistence - */ - public OldDLFileEntryPersistence getOldDLFileEntryPersistence() { - return oldDLFileEntryPersistence; - } - - /** - * Sets the old d l file entry persistence. - * - * @param oldDLFileEntryPersistence the old d l file entry persistence - */ - public void setOldDLFileEntryPersistence( - OldDLFileEntryPersistence oldDLFileEntryPersistence) { - this.oldDLFileEntryPersistence = oldDLFileEntryPersistence; - } - - /** - * Returns the old d l folder local service. - * - * @return the old d l folder local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFolderLocalService getOldDLFolderLocalService() { - return oldDLFolderLocalService; - } - - /** - * Sets the old d l folder local service. - * - * @param oldDLFolderLocalService the old d l folder local service - */ - public void setOldDLFolderLocalService( - it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService) { - this.oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Returns the old d l folder persistence. - * - * @return the old d l folder persistence - */ - public OldDLFolderPersistence getOldDLFolderPersistence() { - return oldDLFolderPersistence; - } - - /** - * Sets the old d l folder persistence. - * - * @param oldDLFolderPersistence the old d l folder persistence - */ - public void setOldDLFolderPersistence( - OldDLFolderPersistence oldDLFolderPersistence) { - this.oldDLFolderPersistence = oldDLFolderPersistence; - } - - /** - * Returns the old group local service. - * - * @return the old group local service - */ - public it.tref.liferay.portos.importazione.service.OldGroupLocalService getOldGroupLocalService() { - return oldGroupLocalService; - } - - /** - * Sets the old group local service. - * - * @param oldGroupLocalService the old group local service - */ - public void setOldGroupLocalService( - it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService) { - this.oldGroupLocalService = oldGroupLocalService; - } - - /** - * Returns the old group persistence. - * - * @return the old group persistence - */ - public OldGroupPersistence getOldGroupPersistence() { - return oldGroupPersistence; - } - - /** - * Sets the old group persistence. - * - * @param oldGroupPersistence the old group persistence - */ - public void setOldGroupPersistence(OldGroupPersistence oldGroupPersistence) { - this.oldGroupPersistence = oldGroupPersistence; - } - - /** - * Returns the old organization local service. - * - * @return the old organization local service - */ - public it.tref.liferay.portos.importazione.service.OldOrganizationLocalService getOldOrganizationLocalService() { - return oldOrganizationLocalService; - } - - /** - * Sets the old organization local service. - * - * @param oldOrganizationLocalService the old organization local service - */ - public void setOldOrganizationLocalService( - it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService) { - this.oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Returns the old organization persistence. - * - * @return the old organization persistence - */ - public OldOrganizationPersistence getOldOrganizationPersistence() { - return oldOrganizationPersistence; - } - - /** - * Sets the old organization persistence. - * - * @param oldOrganizationPersistence the old organization persistence - */ - public void setOldOrganizationPersistence( - OldOrganizationPersistence oldOrganizationPersistence) { - this.oldOrganizationPersistence = oldOrganizationPersistence; - } - - /** - * Returns the old role local service. - * - * @return the old role local service - */ - public it.tref.liferay.portos.importazione.service.OldRoleLocalService getOldRoleLocalService() { - return oldRoleLocalService; - } - - /** - * Sets the old role local service. - * - * @param oldRoleLocalService the old role local service - */ - public void setOldRoleLocalService( - it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService) { - this.oldRoleLocalService = oldRoleLocalService; - } - - /** - * Returns the old role persistence. - * - * @return the old role persistence - */ - public OldRolePersistence getOldRolePersistence() { - return oldRolePersistence; - } - - /** - * Sets the old role persistence. - * - * @param oldRolePersistence the old role persistence - */ - public void setOldRolePersistence(OldRolePersistence oldRolePersistence) { - this.oldRolePersistence = oldRolePersistence; - } - - /** - * Returns the old user local service. - * - * @return the old user local service - */ - public it.tref.liferay.portos.importazione.service.OldUserLocalService getOldUserLocalService() { - return oldUserLocalService; - } - - /** - * Sets the old user local service. - * - * @param oldUserLocalService the old user local service - */ - public void setOldUserLocalService( - it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService) { - this.oldUserLocalService = oldUserLocalService; - } - - /** - * Returns the old user persistence. - * - * @return the old user persistence - */ - public OldUserPersistence getOldUserPersistence() { - return oldUserPersistence; - } - - /** - * Sets the old user persistence. - * - * @param oldUserPersistence the old user persistence - */ - public void setOldUserPersistence(OldUserPersistence oldUserPersistence) { - this.oldUserPersistence = oldUserPersistence; - } - - /** - * Returns the old user group local service. - * - * @return the old user group local service - */ - public it.tref.liferay.portos.importazione.service.OldUserGroupLocalService getOldUserGroupLocalService() { - return oldUserGroupLocalService; - } - - /** - * Sets the old user group local service. - * - * @param oldUserGroupLocalService the old user group local service - */ - public void setOldUserGroupLocalService( - it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService) { - this.oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Returns the old user group persistence. - * - * @return the old user group persistence - */ - public OldUserGroupPersistence getOldUserGroupPersistence() { - return oldUserGroupPersistence; - } - - /** - * Sets the old user group persistence. - * - * @param oldUserGroupPersistence the old user group persistence - */ - public void setOldUserGroupPersistence( - OldUserGroupPersistence oldUserGroupPersistence) { - this.oldUserGroupPersistence = oldUserGroupPersistence; - } - - /** - * Returns the old user group finder. - * - * @return the old user group finder - */ - public OldUserGroupFinder getOldUserGroupFinder() { - return oldUserGroupFinder; - } - - /** - * Sets the old user group finder. - * - * @param oldUserGroupFinder the old user group finder - */ - public void setOldUserGroupFinder(OldUserGroupFinder oldUserGroupFinder) { - this.oldUserGroupFinder = oldUserGroupFinder; - } - - /** - * Returns the procedura importazione local service. - * - * @return the procedura importazione local service - */ - public it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService getProceduraImportazioneLocalService() { - return proceduraImportazioneLocalService; - } - - /** - * Sets the procedura importazione local service. - * - * @param proceduraImportazioneLocalService the procedura importazione local service - */ - public void setProceduraImportazioneLocalService( - it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - this.proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Returns the procedura importazione persistence. - * - * @return the procedura importazione persistence - */ - public ProceduraImportazionePersistence getProceduraImportazionePersistence() { - return proceduraImportazionePersistence; - } - - /** - * Sets the procedura importazione persistence. - * - * @param proceduraImportazionePersistence the procedura importazione persistence - */ - public void setProceduraImportazionePersistence( - ProceduraImportazionePersistence proceduraImportazionePersistence) { - this.proceduraImportazionePersistence = proceduraImportazionePersistence; - } - - /** - * Returns the stato importazione local service. - * - * @return the stato importazione local service - */ - public it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService getStatoImportazioneLocalService() { - return statoImportazioneLocalService; - } - - /** - * Sets the stato importazione local service. - * - * @param statoImportazioneLocalService the stato importazione local service - */ - public void setStatoImportazioneLocalService( - it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService) { - this.statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Returns the stato importazione persistence. - * - * @return the stato importazione persistence - */ - public StatoImportazionePersistence getStatoImportazionePersistence() { - return statoImportazionePersistence; - } - - /** - * Sets the stato importazione persistence. - * - * @param statoImportazionePersistence the stato importazione persistence - */ - public void setStatoImportazionePersistence( - StatoImportazionePersistence statoImportazionePersistence) { - this.statoImportazionePersistence = statoImportazionePersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.importazione.model.BoConfigurazione", - boConfigurazioneLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.importazione.model.BoConfigurazione"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return BoConfigurazione.class; - } - - protected String getModelClassName() { - return BoConfigurazione.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = boConfigurazionePersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService; - @BeanReference(type = BoConfigurazionePersistence.class) - protected BoConfigurazionePersistence boConfigurazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeProvinciaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService; - @BeanReference(type = FeProvinciaPersistence.class) - protected FeProvinciaPersistence feProvinciaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService; - @BeanReference(type = KaleoInstancePersistence.class) - protected KaleoInstancePersistence kaleoInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService; - @BeanReference(type = KaleoInstanceTokenPersistence.class) - protected KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoLogLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService; - @BeanReference(type = KaleoLogPersistence.class) - protected KaleoLogPersistence kaleoLogPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoNodeLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService; - @BeanReference(type = KaleoNodePersistence.class) - protected KaleoNodePersistence kaleoNodePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService; - @BeanReference(type = KaleoTaskPersistence.class) - protected KaleoTaskPersistence kaleoTaskPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService; - @BeanReference(type = KaleoTaskAssignmentInstancePersistence.class) - protected KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService; - @BeanReference(type = KaleoTaskInstanceTokenPersistence.class) - protected KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService; - @BeanReference(type = OldDLFileEntryPersistence.class) - protected OldDLFileEntryPersistence oldDLFileEntryPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFolderLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService; - @BeanReference(type = OldDLFolderPersistence.class) - protected OldDLFolderPersistence oldDLFolderPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService; - @BeanReference(type = OldGroupPersistence.class) - protected OldGroupPersistence oldGroupPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldOrganizationLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService; - @BeanReference(type = OldOrganizationPersistence.class) - protected OldOrganizationPersistence oldOrganizationPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldRoleLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService; - @BeanReference(type = OldRolePersistence.class) - protected OldRolePersistence oldRolePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService; - @BeanReference(type = OldUserPersistence.class) - protected OldUserPersistence oldUserPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService; - @BeanReference(type = OldUserGroupPersistence.class) - protected OldUserGroupPersistence oldUserGroupPersistence; - @BeanReference(type = OldUserGroupFinder.class) - protected OldUserGroupFinder oldUserGroupFinder; - @BeanReference(type = it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService; - @BeanReference(type = ProceduraImportazionePersistence.class) - protected ProceduraImportazionePersistence proceduraImportazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService; - @BeanReference(type = StatoImportazionePersistence.class) - protected StatoImportazionePersistence statoImportazionePersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private BoConfigurazioneLocalServiceClpInvoker _clpInvoker = new BoConfigurazioneLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoConfigurazioneLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoConfigurazioneLocalServiceClpInvoker.java deleted file mode 100644 index 0f98d48b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoConfigurazioneLocalServiceClpInvoker.java +++ /dev/null @@ -1,320 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author 3FC - * @generated - */ -public class BoConfigurazioneLocalServiceClpInvoker { - public BoConfigurazioneLocalServiceClpInvoker() { - _methodName0 = "addBoConfigurazione"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.BoConfigurazione" - }; - - _methodName1 = "createBoConfigurazione"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoConfigurazione"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoConfigurazione"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.BoConfigurazione" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoConfigurazione"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchBoConfigurazioneByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchBoConfigurazioneByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getBoConfigurazione"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getBoConfigurazioneByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getBoConfigurazioneByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getBoConfiguraziones"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getBoConfigurazionesCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateBoConfigurazione"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.importazione.model.BoConfigurazione" - }; - - _methodName182 = "getBeanIdentifier"; - - _methodParameterTypes182 = new String[] { }; - - _methodName183 = "setBeanIdentifier"; - - _methodParameterTypes183 = new String[] { "java.lang.String" }; - - _methodName188 = "findByC_G_ChiaveLong"; - - _methodParameterTypes188 = new String[] { - "long", "long", "java.lang.String" - }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return BoConfigurazioneLocalServiceUtil.addBoConfigurazione((it.tref.liferay.portos.importazione.model.BoConfigurazione)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return BoConfigurazioneLocalServiceUtil.createBoConfigurazione(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return BoConfigurazioneLocalServiceUtil.deleteBoConfigurazione(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return BoConfigurazioneLocalServiceUtil.deleteBoConfigurazione((it.tref.liferay.portos.importazione.model.BoConfigurazione)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return BoConfigurazioneLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return BoConfigurazioneLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return BoConfigurazioneLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return BoConfigurazioneLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return BoConfigurazioneLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return BoConfigurazioneLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return BoConfigurazioneLocalServiceUtil.fetchBoConfigurazione(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return BoConfigurazioneLocalServiceUtil.fetchBoConfigurazioneByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return BoConfigurazioneLocalServiceUtil.fetchBoConfigurazioneByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return BoConfigurazioneLocalServiceUtil.getBoConfigurazione(((Long)arguments[0]).longValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return BoConfigurazioneLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return BoConfigurazioneLocalServiceUtil.getBoConfigurazioneByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName16.equals(name) && - Arrays.deepEquals(_methodParameterTypes16, parameterTypes)) { - return BoConfigurazioneLocalServiceUtil.getBoConfigurazioneByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName17.equals(name) && - Arrays.deepEquals(_methodParameterTypes17, parameterTypes)) { - return BoConfigurazioneLocalServiceUtil.getBoConfiguraziones(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName18.equals(name) && - Arrays.deepEquals(_methodParameterTypes18, parameterTypes)) { - return BoConfigurazioneLocalServiceUtil.getBoConfigurazionesCount(); - } - - if (_methodName19.equals(name) && - Arrays.deepEquals(_methodParameterTypes19, parameterTypes)) { - return BoConfigurazioneLocalServiceUtil.updateBoConfigurazione((it.tref.liferay.portos.importazione.model.BoConfigurazione)arguments[0]); - } - - if (_methodName182.equals(name) && - Arrays.deepEquals(_methodParameterTypes182, parameterTypes)) { - return BoConfigurazioneLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName183.equals(name) && - Arrays.deepEquals(_methodParameterTypes183, parameterTypes)) { - BoConfigurazioneLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - if (_methodName188.equals(name) && - Arrays.deepEquals(_methodParameterTypes188, parameterTypes)) { - return BoConfigurazioneLocalServiceUtil.findByC_G_ChiaveLong(((Long)arguments[0]).longValue(), - ((Long)arguments[1]).longValue(), (java.lang.String)arguments[2]); - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName182; - private String[] _methodParameterTypes182; - private String _methodName183; - private String[] _methodParameterTypes183; - private String _methodName188; - private String[] _methodParameterTypes188; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoDettPraticaLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoDettPraticaLocalServiceBaseImpl.java deleted file mode 100644 index ebf6f750..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoDettPraticaLocalServiceBaseImpl.java +++ /dev/null @@ -1,2328 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence; -import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence; -import com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence; - -import it.tref.liferay.portos.importazione.model.BoDettPratica; -import it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinder; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the bo dett pratica local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.importazione.service.impl.BoDettPraticaLocalServiceImpl}. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.impl.BoDettPraticaLocalServiceImpl - * @see it.tref.liferay.portos.importazione.service.BoDettPraticaLocalServiceUtil - * @generated - */ -public abstract class BoDettPraticaLocalServiceBaseImpl - extends BaseLocalServiceImpl implements BoDettPraticaLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.importazione.service.BoDettPraticaLocalServiceUtil} to access the bo dett pratica local service. - */ - - /** - * Adds the bo dett pratica to the database. Also notifies the appropriate model listeners. - * - * @param boDettPratica the bo dett pratica - * @return the bo dett pratica that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoDettPratica addBoDettPratica(BoDettPratica boDettPratica) - throws SystemException { - boDettPratica.setNew(true); - - return boDettPraticaPersistence.update(boDettPratica); - } - - /** - * Creates a new bo dett pratica with the primary key. Does not add the bo dett pratica to the database. - * - * @param dettPraticaId the primary key for the new bo dett pratica - * @return the new bo dett pratica - */ - @Override - public BoDettPratica createBoDettPratica(long dettPraticaId) { - return boDettPraticaPersistence.create(dettPraticaId); - } - - /** - * Deletes the bo dett pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param dettPraticaId the primary key of the bo dett pratica - * @return the bo dett pratica that was removed - * @throws PortalException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoDettPratica deleteBoDettPratica(long dettPraticaId) - throws PortalException, SystemException { - return boDettPraticaPersistence.remove(dettPraticaId); - } - - /** - * Deletes the bo dett pratica from the database. Also notifies the appropriate model listeners. - * - * @param boDettPratica the bo dett pratica - * @return the bo dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoDettPratica deleteBoDettPratica(BoDettPratica boDettPratica) - throws SystemException { - return boDettPraticaPersistence.remove(boDettPratica); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(BoDettPratica.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return boDettPraticaPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return boDettPraticaPersistence.findWithDynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return boDettPraticaPersistence.findWithDynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return boDettPraticaPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return boDettPraticaPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public BoDettPratica fetchBoDettPratica(long dettPraticaId) - throws SystemException { - return boDettPraticaPersistence.fetchByPrimaryKey(dettPraticaId); - } - - /** - * Returns the bo dett pratica with the matching UUID and company. - * - * @param uuid the bo dett pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchBoDettPraticaByUuidAndCompanyId(String uuid, - long companyId) throws SystemException { - return boDettPraticaPersistence.fetchByUuid_C_First(uuid, companyId, - null); - } - - /** - * Returns the bo dett pratica matching the UUID and group. - * - * @param uuid the bo dett pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchBoDettPraticaByUuidAndGroupId(String uuid, - long groupId) throws SystemException { - return boDettPraticaPersistence.fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the bo dett pratica with the primary key. - * - * @param dettPraticaId the primary key of the bo dett pratica - * @return the bo dett pratica - * @throws PortalException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica getBoDettPratica(long dettPraticaId) - throws PortalException, SystemException { - return boDettPraticaPersistence.findByPrimaryKey(dettPraticaId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return boDettPraticaPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns the bo dett pratica with the matching UUID and company. - * - * @param uuid the bo dett pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo dett pratica - * @throws PortalException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica getBoDettPraticaByUuidAndCompanyId(String uuid, - long companyId) throws PortalException, SystemException { - return boDettPraticaPersistence.findByUuid_C_First(uuid, companyId, null); - } - - /** - * Returns the bo dett pratica matching the UUID and group. - * - * @param uuid the bo dett pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo dett pratica - * @throws PortalException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica getBoDettPraticaByUuidAndGroupId(String uuid, - long groupId) throws PortalException, SystemException { - return boDettPraticaPersistence.findByUUID_G(uuid, groupId); - } - - /** - * Returns a range of all the bo dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List getBoDettPraticas(int start, int end) - throws SystemException { - return boDettPraticaPersistence.findAll(start, end); - } - - /** - * Returns the number of bo dett praticas. - * - * @return the number of bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoDettPraticasCount() throws SystemException { - return boDettPraticaPersistence.countAll(); - } - - /** - * Updates the bo dett pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boDettPratica the bo dett pratica - * @return the bo dett pratica that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoDettPratica updateBoDettPratica(BoDettPratica boDettPratica) - throws SystemException { - return boDettPraticaPersistence.update(boDettPratica); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.importazione.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.importazione.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo configurazione local service. - * - * @return the bo configurazione local service - */ - public it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService getBoConfigurazioneLocalService() { - return boConfigurazioneLocalService; - } - - /** - * Sets the bo configurazione local service. - * - * @param boConfigurazioneLocalService the bo configurazione local service - */ - public void setBoConfigurazioneLocalService( - it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService) { - this.boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Returns the bo configurazione persistence. - * - * @return the bo configurazione persistence - */ - public BoConfigurazionePersistence getBoConfigurazionePersistence() { - return boConfigurazionePersistence; - } - - /** - * Sets the bo configurazione persistence. - * - * @param boConfigurazionePersistence the bo configurazione persistence - */ - public void setBoConfigurazionePersistence( - BoConfigurazionePersistence boConfigurazionePersistence) { - this.boConfigurazionePersistence = boConfigurazionePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.importazione.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.importazione.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.importazione.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.importazione.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.importazione.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.importazione.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe provincia local service. - * - * @return the fe provincia local service - */ - public it.tref.liferay.portos.importazione.service.FeProvinciaLocalService getFeProvinciaLocalService() { - return feProvinciaLocalService; - } - - /** - * Sets the fe provincia local service. - * - * @param feProvinciaLocalService the fe provincia local service - */ - public void setFeProvinciaLocalService( - it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService) { - this.feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Returns the fe provincia persistence. - * - * @return the fe provincia persistence - */ - public FeProvinciaPersistence getFeProvinciaPersistence() { - return feProvinciaPersistence; - } - - /** - * Sets the fe provincia persistence. - * - * @param feProvinciaPersistence the fe provincia persistence - */ - public void setFeProvinciaPersistence( - FeProvinciaPersistence feProvinciaPersistence) { - this.feProvinciaPersistence = feProvinciaPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.importazione.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the kaleo instance local service. - * - * @return the kaleo instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService getKaleoInstanceLocalService() { - return kaleoInstanceLocalService; - } - - /** - * Sets the kaleo instance local service. - * - * @param kaleoInstanceLocalService the kaleo instance local service - */ - public void setKaleoInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService) { - this.kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Returns the kaleo instance persistence. - * - * @return the kaleo instance persistence - */ - public KaleoInstancePersistence getKaleoInstancePersistence() { - return kaleoInstancePersistence; - } - - /** - * Sets the kaleo instance persistence. - * - * @param kaleoInstancePersistence the kaleo instance persistence - */ - public void setKaleoInstancePersistence( - KaleoInstancePersistence kaleoInstancePersistence) { - this.kaleoInstancePersistence = kaleoInstancePersistence; - } - - /** - * Returns the kaleo instance token local service. - * - * @return the kaleo instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService getKaleoInstanceTokenLocalService() { - return kaleoInstanceTokenLocalService; - } - - /** - * Sets the kaleo instance token local service. - * - * @param kaleoInstanceTokenLocalService the kaleo instance token local service - */ - public void setKaleoInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - this.kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Returns the kaleo instance token persistence. - * - * @return the kaleo instance token persistence - */ - public KaleoInstanceTokenPersistence getKaleoInstanceTokenPersistence() { - return kaleoInstanceTokenPersistence; - } - - /** - * Sets the kaleo instance token persistence. - * - * @param kaleoInstanceTokenPersistence the kaleo instance token persistence - */ - public void setKaleoInstanceTokenPersistence( - KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence) { - this.kaleoInstanceTokenPersistence = kaleoInstanceTokenPersistence; - } - - /** - * Returns the kaleo log local service. - * - * @return the kaleo log local service - */ - public it.tref.liferay.portos.importazione.service.KaleoLogLocalService getKaleoLogLocalService() { - return kaleoLogLocalService; - } - - /** - * Sets the kaleo log local service. - * - * @param kaleoLogLocalService the kaleo log local service - */ - public void setKaleoLogLocalService( - it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService) { - this.kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Returns the kaleo log persistence. - * - * @return the kaleo log persistence - */ - public KaleoLogPersistence getKaleoLogPersistence() { - return kaleoLogPersistence; - } - - /** - * Sets the kaleo log persistence. - * - * @param kaleoLogPersistence the kaleo log persistence - */ - public void setKaleoLogPersistence(KaleoLogPersistence kaleoLogPersistence) { - this.kaleoLogPersistence = kaleoLogPersistence; - } - - /** - * Returns the kaleo node local service. - * - * @return the kaleo node local service - */ - public it.tref.liferay.portos.importazione.service.KaleoNodeLocalService getKaleoNodeLocalService() { - return kaleoNodeLocalService; - } - - /** - * Sets the kaleo node local service. - * - * @param kaleoNodeLocalService the kaleo node local service - */ - public void setKaleoNodeLocalService( - it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService) { - this.kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Returns the kaleo node persistence. - * - * @return the kaleo node persistence - */ - public KaleoNodePersistence getKaleoNodePersistence() { - return kaleoNodePersistence; - } - - /** - * Sets the kaleo node persistence. - * - * @param kaleoNodePersistence the kaleo node persistence - */ - public void setKaleoNodePersistence( - KaleoNodePersistence kaleoNodePersistence) { - this.kaleoNodePersistence = kaleoNodePersistence; - } - - /** - * Returns the kaleo task local service. - * - * @return the kaleo task local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskLocalService getKaleoTaskLocalService() { - return kaleoTaskLocalService; - } - - /** - * Sets the kaleo task local service. - * - * @param kaleoTaskLocalService the kaleo task local service - */ - public void setKaleoTaskLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService) { - this.kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Returns the kaleo task persistence. - * - * @return the kaleo task persistence - */ - public KaleoTaskPersistence getKaleoTaskPersistence() { - return kaleoTaskPersistence; - } - - /** - * Sets the kaleo task persistence. - * - * @param kaleoTaskPersistence the kaleo task persistence - */ - public void setKaleoTaskPersistence( - KaleoTaskPersistence kaleoTaskPersistence) { - this.kaleoTaskPersistence = kaleoTaskPersistence; - } - - /** - * Returns the kaleo task assignment instance local service. - * - * @return the kaleo task assignment instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService getKaleoTaskAssignmentInstanceLocalService() { - return kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Sets the kaleo task assignment instance local service. - * - * @param kaleoTaskAssignmentInstanceLocalService the kaleo task assignment instance local service - */ - public void setKaleoTaskAssignmentInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - this.kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Returns the kaleo task assignment instance persistence. - * - * @return the kaleo task assignment instance persistence - */ - public KaleoTaskAssignmentInstancePersistence getKaleoTaskAssignmentInstancePersistence() { - return kaleoTaskAssignmentInstancePersistence; - } - - /** - * Sets the kaleo task assignment instance persistence. - * - * @param kaleoTaskAssignmentInstancePersistence the kaleo task assignment instance persistence - */ - public void setKaleoTaskAssignmentInstancePersistence( - KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence) { - this.kaleoTaskAssignmentInstancePersistence = kaleoTaskAssignmentInstancePersistence; - } - - /** - * Returns the kaleo task instance token local service. - * - * @return the kaleo task instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService getKaleoTaskInstanceTokenLocalService() { - return kaleoTaskInstanceTokenLocalService; - } - - /** - * Sets the kaleo task instance token local service. - * - * @param kaleoTaskInstanceTokenLocalService the kaleo task instance token local service - */ - public void setKaleoTaskInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - this.kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Returns the kaleo task instance token persistence. - * - * @return the kaleo task instance token persistence - */ - public KaleoTaskInstanceTokenPersistence getKaleoTaskInstanceTokenPersistence() { - return kaleoTaskInstanceTokenPersistence; - } - - /** - * Sets the kaleo task instance token persistence. - * - * @param kaleoTaskInstanceTokenPersistence the kaleo task instance token persistence - */ - public void setKaleoTaskInstanceTokenPersistence( - KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence) { - this.kaleoTaskInstanceTokenPersistence = kaleoTaskInstanceTokenPersistence; - } - - /** - * Returns the old d l file entry local service. - * - * @return the old d l file entry local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService getOldDLFileEntryLocalService() { - return oldDLFileEntryLocalService; - } - - /** - * Sets the old d l file entry local service. - * - * @param oldDLFileEntryLocalService the old d l file entry local service - */ - public void setOldDLFileEntryLocalService( - it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService) { - this.oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Returns the old d l file entry persistence. - * - * @return the old d l file entry persistence - */ - public OldDLFileEntryPersistence getOldDLFileEntryPersistence() { - return oldDLFileEntryPersistence; - } - - /** - * Sets the old d l file entry persistence. - * - * @param oldDLFileEntryPersistence the old d l file entry persistence - */ - public void setOldDLFileEntryPersistence( - OldDLFileEntryPersistence oldDLFileEntryPersistence) { - this.oldDLFileEntryPersistence = oldDLFileEntryPersistence; - } - - /** - * Returns the old d l folder local service. - * - * @return the old d l folder local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFolderLocalService getOldDLFolderLocalService() { - return oldDLFolderLocalService; - } - - /** - * Sets the old d l folder local service. - * - * @param oldDLFolderLocalService the old d l folder local service - */ - public void setOldDLFolderLocalService( - it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService) { - this.oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Returns the old d l folder persistence. - * - * @return the old d l folder persistence - */ - public OldDLFolderPersistence getOldDLFolderPersistence() { - return oldDLFolderPersistence; - } - - /** - * Sets the old d l folder persistence. - * - * @param oldDLFolderPersistence the old d l folder persistence - */ - public void setOldDLFolderPersistence( - OldDLFolderPersistence oldDLFolderPersistence) { - this.oldDLFolderPersistence = oldDLFolderPersistence; - } - - /** - * Returns the old group local service. - * - * @return the old group local service - */ - public it.tref.liferay.portos.importazione.service.OldGroupLocalService getOldGroupLocalService() { - return oldGroupLocalService; - } - - /** - * Sets the old group local service. - * - * @param oldGroupLocalService the old group local service - */ - public void setOldGroupLocalService( - it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService) { - this.oldGroupLocalService = oldGroupLocalService; - } - - /** - * Returns the old group persistence. - * - * @return the old group persistence - */ - public OldGroupPersistence getOldGroupPersistence() { - return oldGroupPersistence; - } - - /** - * Sets the old group persistence. - * - * @param oldGroupPersistence the old group persistence - */ - public void setOldGroupPersistence(OldGroupPersistence oldGroupPersistence) { - this.oldGroupPersistence = oldGroupPersistence; - } - - /** - * Returns the old organization local service. - * - * @return the old organization local service - */ - public it.tref.liferay.portos.importazione.service.OldOrganizationLocalService getOldOrganizationLocalService() { - return oldOrganizationLocalService; - } - - /** - * Sets the old organization local service. - * - * @param oldOrganizationLocalService the old organization local service - */ - public void setOldOrganizationLocalService( - it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService) { - this.oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Returns the old organization persistence. - * - * @return the old organization persistence - */ - public OldOrganizationPersistence getOldOrganizationPersistence() { - return oldOrganizationPersistence; - } - - /** - * Sets the old organization persistence. - * - * @param oldOrganizationPersistence the old organization persistence - */ - public void setOldOrganizationPersistence( - OldOrganizationPersistence oldOrganizationPersistence) { - this.oldOrganizationPersistence = oldOrganizationPersistence; - } - - /** - * Returns the old role local service. - * - * @return the old role local service - */ - public it.tref.liferay.portos.importazione.service.OldRoleLocalService getOldRoleLocalService() { - return oldRoleLocalService; - } - - /** - * Sets the old role local service. - * - * @param oldRoleLocalService the old role local service - */ - public void setOldRoleLocalService( - it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService) { - this.oldRoleLocalService = oldRoleLocalService; - } - - /** - * Returns the old role persistence. - * - * @return the old role persistence - */ - public OldRolePersistence getOldRolePersistence() { - return oldRolePersistence; - } - - /** - * Sets the old role persistence. - * - * @param oldRolePersistence the old role persistence - */ - public void setOldRolePersistence(OldRolePersistence oldRolePersistence) { - this.oldRolePersistence = oldRolePersistence; - } - - /** - * Returns the old user local service. - * - * @return the old user local service - */ - public it.tref.liferay.portos.importazione.service.OldUserLocalService getOldUserLocalService() { - return oldUserLocalService; - } - - /** - * Sets the old user local service. - * - * @param oldUserLocalService the old user local service - */ - public void setOldUserLocalService( - it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService) { - this.oldUserLocalService = oldUserLocalService; - } - - /** - * Returns the old user persistence. - * - * @return the old user persistence - */ - public OldUserPersistence getOldUserPersistence() { - return oldUserPersistence; - } - - /** - * Sets the old user persistence. - * - * @param oldUserPersistence the old user persistence - */ - public void setOldUserPersistence(OldUserPersistence oldUserPersistence) { - this.oldUserPersistence = oldUserPersistence; - } - - /** - * Returns the old user group local service. - * - * @return the old user group local service - */ - public it.tref.liferay.portos.importazione.service.OldUserGroupLocalService getOldUserGroupLocalService() { - return oldUserGroupLocalService; - } - - /** - * Sets the old user group local service. - * - * @param oldUserGroupLocalService the old user group local service - */ - public void setOldUserGroupLocalService( - it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService) { - this.oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Returns the old user group persistence. - * - * @return the old user group persistence - */ - public OldUserGroupPersistence getOldUserGroupPersistence() { - return oldUserGroupPersistence; - } - - /** - * Sets the old user group persistence. - * - * @param oldUserGroupPersistence the old user group persistence - */ - public void setOldUserGroupPersistence( - OldUserGroupPersistence oldUserGroupPersistence) { - this.oldUserGroupPersistence = oldUserGroupPersistence; - } - - /** - * Returns the old user group finder. - * - * @return the old user group finder - */ - public OldUserGroupFinder getOldUserGroupFinder() { - return oldUserGroupFinder; - } - - /** - * Sets the old user group finder. - * - * @param oldUserGroupFinder the old user group finder - */ - public void setOldUserGroupFinder(OldUserGroupFinder oldUserGroupFinder) { - this.oldUserGroupFinder = oldUserGroupFinder; - } - - /** - * Returns the procedura importazione local service. - * - * @return the procedura importazione local service - */ - public it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService getProceduraImportazioneLocalService() { - return proceduraImportazioneLocalService; - } - - /** - * Sets the procedura importazione local service. - * - * @param proceduraImportazioneLocalService the procedura importazione local service - */ - public void setProceduraImportazioneLocalService( - it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - this.proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Returns the procedura importazione persistence. - * - * @return the procedura importazione persistence - */ - public ProceduraImportazionePersistence getProceduraImportazionePersistence() { - return proceduraImportazionePersistence; - } - - /** - * Sets the procedura importazione persistence. - * - * @param proceduraImportazionePersistence the procedura importazione persistence - */ - public void setProceduraImportazionePersistence( - ProceduraImportazionePersistence proceduraImportazionePersistence) { - this.proceduraImportazionePersistence = proceduraImportazionePersistence; - } - - /** - * Returns the stato importazione local service. - * - * @return the stato importazione local service - */ - public it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService getStatoImportazioneLocalService() { - return statoImportazioneLocalService; - } - - /** - * Sets the stato importazione local service. - * - * @param statoImportazioneLocalService the stato importazione local service - */ - public void setStatoImportazioneLocalService( - it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService) { - this.statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Returns the stato importazione persistence. - * - * @return the stato importazione persistence - */ - public StatoImportazionePersistence getStatoImportazionePersistence() { - return statoImportazionePersistence; - } - - /** - * Sets the stato importazione persistence. - * - * @param statoImportazionePersistence the stato importazione persistence - */ - public void setStatoImportazionePersistence( - StatoImportazionePersistence statoImportazionePersistence) { - this.statoImportazionePersistence = statoImportazionePersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - /** - * Returns the asset category local service. - * - * @return the asset category local service - */ - public com.liferay.portlet.asset.service.AssetCategoryLocalService getAssetCategoryLocalService() { - return assetCategoryLocalService; - } - - /** - * Sets the asset category local service. - * - * @param assetCategoryLocalService the asset category local service - */ - public void setAssetCategoryLocalService( - com.liferay.portlet.asset.service.AssetCategoryLocalService assetCategoryLocalService) { - this.assetCategoryLocalService = assetCategoryLocalService; - } - - /** - * Returns the asset category remote service. - * - * @return the asset category remote service - */ - public com.liferay.portlet.asset.service.AssetCategoryService getAssetCategoryService() { - return assetCategoryService; - } - - /** - * Sets the asset category remote service. - * - * @param assetCategoryService the asset category remote service - */ - public void setAssetCategoryService( - com.liferay.portlet.asset.service.AssetCategoryService assetCategoryService) { - this.assetCategoryService = assetCategoryService; - } - - /** - * Returns the asset category persistence. - * - * @return the asset category persistence - */ - public AssetCategoryPersistence getAssetCategoryPersistence() { - return assetCategoryPersistence; - } - - /** - * Sets the asset category persistence. - * - * @param assetCategoryPersistence the asset category persistence - */ - public void setAssetCategoryPersistence( - AssetCategoryPersistence assetCategoryPersistence) { - this.assetCategoryPersistence = assetCategoryPersistence; - } - - /** - * Returns the asset entry local service. - * - * @return the asset entry local service - */ - public com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService() { - return assetEntryLocalService; - } - - /** - * Sets the asset entry local service. - * - * @param assetEntryLocalService the asset entry local service - */ - public void setAssetEntryLocalService( - com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService) { - this.assetEntryLocalService = assetEntryLocalService; - } - - /** - * Returns the asset entry remote service. - * - * @return the asset entry remote service - */ - public com.liferay.portlet.asset.service.AssetEntryService getAssetEntryService() { - return assetEntryService; - } - - /** - * Sets the asset entry remote service. - * - * @param assetEntryService the asset entry remote service - */ - public void setAssetEntryService( - com.liferay.portlet.asset.service.AssetEntryService assetEntryService) { - this.assetEntryService = assetEntryService; - } - - /** - * Returns the asset entry persistence. - * - * @return the asset entry persistence - */ - public AssetEntryPersistence getAssetEntryPersistence() { - return assetEntryPersistence; - } - - /** - * Sets the asset entry persistence. - * - * @param assetEntryPersistence the asset entry persistence - */ - public void setAssetEntryPersistence( - AssetEntryPersistence assetEntryPersistence) { - this.assetEntryPersistence = assetEntryPersistence; - } - - /** - * Returns the asset vocabulary local service. - * - * @return the asset vocabulary local service - */ - public com.liferay.portlet.asset.service.AssetVocabularyLocalService getAssetVocabularyLocalService() { - return assetVocabularyLocalService; - } - - /** - * Sets the asset vocabulary local service. - * - * @param assetVocabularyLocalService the asset vocabulary local service - */ - public void setAssetVocabularyLocalService( - com.liferay.portlet.asset.service.AssetVocabularyLocalService assetVocabularyLocalService) { - this.assetVocabularyLocalService = assetVocabularyLocalService; - } - - /** - * Returns the asset vocabulary remote service. - * - * @return the asset vocabulary remote service - */ - public com.liferay.portlet.asset.service.AssetVocabularyService getAssetVocabularyService() { - return assetVocabularyService; - } - - /** - * Sets the asset vocabulary remote service. - * - * @param assetVocabularyService the asset vocabulary remote service - */ - public void setAssetVocabularyService( - com.liferay.portlet.asset.service.AssetVocabularyService assetVocabularyService) { - this.assetVocabularyService = assetVocabularyService; - } - - /** - * Returns the asset vocabulary persistence. - * - * @return the asset vocabulary persistence - */ - public AssetVocabularyPersistence getAssetVocabularyPersistence() { - return assetVocabularyPersistence; - } - - /** - * Sets the asset vocabulary persistence. - * - * @param assetVocabularyPersistence the asset vocabulary persistence - */ - public void setAssetVocabularyPersistence( - AssetVocabularyPersistence assetVocabularyPersistence) { - this.assetVocabularyPersistence = assetVocabularyPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.importazione.model.BoDettPratica", - boDettPraticaLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.importazione.model.BoDettPratica"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return BoDettPratica.class; - } - - protected String getModelClassName() { - return BoDettPratica.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = boDettPraticaPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService; - @BeanReference(type = BoConfigurazionePersistence.class) - protected BoConfigurazionePersistence boConfigurazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeProvinciaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService; - @BeanReference(type = FeProvinciaPersistence.class) - protected FeProvinciaPersistence feProvinciaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService; - @BeanReference(type = KaleoInstancePersistence.class) - protected KaleoInstancePersistence kaleoInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService; - @BeanReference(type = KaleoInstanceTokenPersistence.class) - protected KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoLogLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService; - @BeanReference(type = KaleoLogPersistence.class) - protected KaleoLogPersistence kaleoLogPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoNodeLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService; - @BeanReference(type = KaleoNodePersistence.class) - protected KaleoNodePersistence kaleoNodePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService; - @BeanReference(type = KaleoTaskPersistence.class) - protected KaleoTaskPersistence kaleoTaskPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService; - @BeanReference(type = KaleoTaskAssignmentInstancePersistence.class) - protected KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService; - @BeanReference(type = KaleoTaskInstanceTokenPersistence.class) - protected KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService; - @BeanReference(type = OldDLFileEntryPersistence.class) - protected OldDLFileEntryPersistence oldDLFileEntryPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFolderLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService; - @BeanReference(type = OldDLFolderPersistence.class) - protected OldDLFolderPersistence oldDLFolderPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService; - @BeanReference(type = OldGroupPersistence.class) - protected OldGroupPersistence oldGroupPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldOrganizationLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService; - @BeanReference(type = OldOrganizationPersistence.class) - protected OldOrganizationPersistence oldOrganizationPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldRoleLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService; - @BeanReference(type = OldRolePersistence.class) - protected OldRolePersistence oldRolePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService; - @BeanReference(type = OldUserPersistence.class) - protected OldUserPersistence oldUserPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService; - @BeanReference(type = OldUserGroupPersistence.class) - protected OldUserGroupPersistence oldUserGroupPersistence; - @BeanReference(type = OldUserGroupFinder.class) - protected OldUserGroupFinder oldUserGroupFinder; - @BeanReference(type = it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService; - @BeanReference(type = ProceduraImportazionePersistence.class) - protected ProceduraImportazionePersistence proceduraImportazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService; - @BeanReference(type = StatoImportazionePersistence.class) - protected StatoImportazionePersistence statoImportazionePersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - @BeanReference(type = com.liferay.portlet.asset.service.AssetCategoryLocalService.class) - protected com.liferay.portlet.asset.service.AssetCategoryLocalService assetCategoryLocalService; - @BeanReference(type = com.liferay.portlet.asset.service.AssetCategoryService.class) - protected com.liferay.portlet.asset.service.AssetCategoryService assetCategoryService; - @BeanReference(type = AssetCategoryPersistence.class) - protected AssetCategoryPersistence assetCategoryPersistence; - @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryLocalService.class) - protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService; - @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryService.class) - protected com.liferay.portlet.asset.service.AssetEntryService assetEntryService; - @BeanReference(type = AssetEntryPersistence.class) - protected AssetEntryPersistence assetEntryPersistence; - @BeanReference(type = com.liferay.portlet.asset.service.AssetVocabularyLocalService.class) - protected com.liferay.portlet.asset.service.AssetVocabularyLocalService assetVocabularyLocalService; - @BeanReference(type = com.liferay.portlet.asset.service.AssetVocabularyService.class) - protected com.liferay.portlet.asset.service.AssetVocabularyService assetVocabularyService; - @BeanReference(type = AssetVocabularyPersistence.class) - protected AssetVocabularyPersistence assetVocabularyPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private BoDettPraticaLocalServiceClpInvoker _clpInvoker = new BoDettPraticaLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoDettPraticaLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoDettPraticaLocalServiceClpInvoker.java deleted file mode 100644 index 1780761d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoDettPraticaLocalServiceClpInvoker.java +++ /dev/null @@ -1,306 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import it.tref.liferay.portos.importazione.service.BoDettPraticaLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author 3FC - * @generated - */ -public class BoDettPraticaLocalServiceClpInvoker { - public BoDettPraticaLocalServiceClpInvoker() { - _methodName0 = "addBoDettPratica"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.BoDettPratica" - }; - - _methodName1 = "createBoDettPratica"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoDettPratica"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoDettPratica"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.BoDettPratica" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoDettPratica"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchBoDettPraticaByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchBoDettPraticaByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getBoDettPratica"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getBoDettPraticaByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getBoDettPraticaByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getBoDettPraticas"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getBoDettPraticasCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateBoDettPratica"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.importazione.model.BoDettPratica" - }; - - _methodName200 = "getBeanIdentifier"; - - _methodParameterTypes200 = new String[] { }; - - _methodName201 = "setBeanIdentifier"; - - _methodParameterTypes201 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.addBoDettPratica((it.tref.liferay.portos.importazione.model.BoDettPratica)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.createBoDettPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.deleteBoDettPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.deleteBoDettPratica((it.tref.liferay.portos.importazione.model.BoDettPratica)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.fetchBoDettPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.fetchBoDettPraticaByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.fetchBoDettPraticaByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.getBoDettPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.getBoDettPraticaByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName16.equals(name) && - Arrays.deepEquals(_methodParameterTypes16, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.getBoDettPraticaByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName17.equals(name) && - Arrays.deepEquals(_methodParameterTypes17, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.getBoDettPraticas(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName18.equals(name) && - Arrays.deepEquals(_methodParameterTypes18, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.getBoDettPraticasCount(); - } - - if (_methodName19.equals(name) && - Arrays.deepEquals(_methodParameterTypes19, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.updateBoDettPratica((it.tref.liferay.portos.importazione.model.BoDettPratica)arguments[0]); - } - - if (_methodName200.equals(name) && - Arrays.deepEquals(_methodParameterTypes200, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName201.equals(name) && - Arrays.deepEquals(_methodParameterTypes201, parameterTypes)) { - BoDettPraticaLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName200; - private String[] _methodParameterTypes200; - private String _methodName201; - private String[] _methodParameterTypes201; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoDocPraticaLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoDocPraticaLocalServiceBaseImpl.java deleted file mode 100644 index ca064a78..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoDocPraticaLocalServiceBaseImpl.java +++ /dev/null @@ -1,2134 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.importazione.model.BoDocPratica; -import it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinder; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the bo doc pratica local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.importazione.service.impl.BoDocPraticaLocalServiceImpl}. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.impl.BoDocPraticaLocalServiceImpl - * @see it.tref.liferay.portos.importazione.service.BoDocPraticaLocalServiceUtil - * @generated - */ -public abstract class BoDocPraticaLocalServiceBaseImpl - extends BaseLocalServiceImpl implements BoDocPraticaLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.importazione.service.BoDocPraticaLocalServiceUtil} to access the bo doc pratica local service. - */ - - /** - * Adds the bo doc pratica to the database. Also notifies the appropriate model listeners. - * - * @param boDocPratica the bo doc pratica - * @return the bo doc pratica that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoDocPratica addBoDocPratica(BoDocPratica boDocPratica) - throws SystemException { - boDocPratica.setNew(true); - - return boDocPraticaPersistence.update(boDocPratica); - } - - /** - * Creates a new bo doc pratica with the primary key. Does not add the bo doc pratica to the database. - * - * @param docPraticaId the primary key for the new bo doc pratica - * @return the new bo doc pratica - */ - @Override - public BoDocPratica createBoDocPratica(long docPraticaId) { - return boDocPraticaPersistence.create(docPraticaId); - } - - /** - * Deletes the bo doc pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param docPraticaId the primary key of the bo doc pratica - * @return the bo doc pratica that was removed - * @throws PortalException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoDocPratica deleteBoDocPratica(long docPraticaId) - throws PortalException, SystemException { - return boDocPraticaPersistence.remove(docPraticaId); - } - - /** - * Deletes the bo doc pratica from the database. Also notifies the appropriate model listeners. - * - * @param boDocPratica the bo doc pratica - * @return the bo doc pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoDocPratica deleteBoDocPratica(BoDocPratica boDocPratica) - throws SystemException { - return boDocPraticaPersistence.remove(boDocPratica); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(BoDocPratica.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return boDocPraticaPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return boDocPraticaPersistence.findWithDynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return boDocPraticaPersistence.findWithDynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return boDocPraticaPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return boDocPraticaPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public BoDocPratica fetchBoDocPratica(long docPraticaId) - throws SystemException { - return boDocPraticaPersistence.fetchByPrimaryKey(docPraticaId); - } - - /** - * Returns the bo doc pratica with the matching UUID and company. - * - * @param uuid the bo doc pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchBoDocPraticaByUuidAndCompanyId(String uuid, - long companyId) throws SystemException { - return boDocPraticaPersistence.fetchByUuid_C_First(uuid, companyId, null); - } - - /** - * Returns the bo doc pratica matching the UUID and group. - * - * @param uuid the bo doc pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchBoDocPraticaByUuidAndGroupId(String uuid, - long groupId) throws SystemException { - return boDocPraticaPersistence.fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the bo doc pratica with the primary key. - * - * @param docPraticaId the primary key of the bo doc pratica - * @return the bo doc pratica - * @throws PortalException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica getBoDocPratica(long docPraticaId) - throws PortalException, SystemException { - return boDocPraticaPersistence.findByPrimaryKey(docPraticaId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return boDocPraticaPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns the bo doc pratica with the matching UUID and company. - * - * @param uuid the bo doc pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo doc pratica - * @throws PortalException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica getBoDocPraticaByUuidAndCompanyId(String uuid, - long companyId) throws PortalException, SystemException { - return boDocPraticaPersistence.findByUuid_C_First(uuid, companyId, null); - } - - /** - * Returns the bo doc pratica matching the UUID and group. - * - * @param uuid the bo doc pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo doc pratica - * @throws PortalException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica getBoDocPraticaByUuidAndGroupId(String uuid, - long groupId) throws PortalException, SystemException { - return boDocPraticaPersistence.findByUUID_G(uuid, groupId); - } - - /** - * Returns a range of all the bo doc praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List getBoDocPraticas(int start, int end) - throws SystemException { - return boDocPraticaPersistence.findAll(start, end); - } - - /** - * Returns the number of bo doc praticas. - * - * @return the number of bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoDocPraticasCount() throws SystemException { - return boDocPraticaPersistence.countAll(); - } - - /** - * Updates the bo doc pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boDocPratica the bo doc pratica - * @return the bo doc pratica that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoDocPratica updateBoDocPratica(BoDocPratica boDocPratica) - throws SystemException { - return boDocPraticaPersistence.update(boDocPratica); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.importazione.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.importazione.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo configurazione local service. - * - * @return the bo configurazione local service - */ - public it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService getBoConfigurazioneLocalService() { - return boConfigurazioneLocalService; - } - - /** - * Sets the bo configurazione local service. - * - * @param boConfigurazioneLocalService the bo configurazione local service - */ - public void setBoConfigurazioneLocalService( - it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService) { - this.boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Returns the bo configurazione persistence. - * - * @return the bo configurazione persistence - */ - public BoConfigurazionePersistence getBoConfigurazionePersistence() { - return boConfigurazionePersistence; - } - - /** - * Sets the bo configurazione persistence. - * - * @param boConfigurazionePersistence the bo configurazione persistence - */ - public void setBoConfigurazionePersistence( - BoConfigurazionePersistence boConfigurazionePersistence) { - this.boConfigurazionePersistence = boConfigurazionePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.importazione.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.importazione.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.importazione.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.importazione.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.importazione.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.importazione.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe provincia local service. - * - * @return the fe provincia local service - */ - public it.tref.liferay.portos.importazione.service.FeProvinciaLocalService getFeProvinciaLocalService() { - return feProvinciaLocalService; - } - - /** - * Sets the fe provincia local service. - * - * @param feProvinciaLocalService the fe provincia local service - */ - public void setFeProvinciaLocalService( - it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService) { - this.feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Returns the fe provincia persistence. - * - * @return the fe provincia persistence - */ - public FeProvinciaPersistence getFeProvinciaPersistence() { - return feProvinciaPersistence; - } - - /** - * Sets the fe provincia persistence. - * - * @param feProvinciaPersistence the fe provincia persistence - */ - public void setFeProvinciaPersistence( - FeProvinciaPersistence feProvinciaPersistence) { - this.feProvinciaPersistence = feProvinciaPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.importazione.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the kaleo instance local service. - * - * @return the kaleo instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService getKaleoInstanceLocalService() { - return kaleoInstanceLocalService; - } - - /** - * Sets the kaleo instance local service. - * - * @param kaleoInstanceLocalService the kaleo instance local service - */ - public void setKaleoInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService) { - this.kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Returns the kaleo instance persistence. - * - * @return the kaleo instance persistence - */ - public KaleoInstancePersistence getKaleoInstancePersistence() { - return kaleoInstancePersistence; - } - - /** - * Sets the kaleo instance persistence. - * - * @param kaleoInstancePersistence the kaleo instance persistence - */ - public void setKaleoInstancePersistence( - KaleoInstancePersistence kaleoInstancePersistence) { - this.kaleoInstancePersistence = kaleoInstancePersistence; - } - - /** - * Returns the kaleo instance token local service. - * - * @return the kaleo instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService getKaleoInstanceTokenLocalService() { - return kaleoInstanceTokenLocalService; - } - - /** - * Sets the kaleo instance token local service. - * - * @param kaleoInstanceTokenLocalService the kaleo instance token local service - */ - public void setKaleoInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - this.kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Returns the kaleo instance token persistence. - * - * @return the kaleo instance token persistence - */ - public KaleoInstanceTokenPersistence getKaleoInstanceTokenPersistence() { - return kaleoInstanceTokenPersistence; - } - - /** - * Sets the kaleo instance token persistence. - * - * @param kaleoInstanceTokenPersistence the kaleo instance token persistence - */ - public void setKaleoInstanceTokenPersistence( - KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence) { - this.kaleoInstanceTokenPersistence = kaleoInstanceTokenPersistence; - } - - /** - * Returns the kaleo log local service. - * - * @return the kaleo log local service - */ - public it.tref.liferay.portos.importazione.service.KaleoLogLocalService getKaleoLogLocalService() { - return kaleoLogLocalService; - } - - /** - * Sets the kaleo log local service. - * - * @param kaleoLogLocalService the kaleo log local service - */ - public void setKaleoLogLocalService( - it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService) { - this.kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Returns the kaleo log persistence. - * - * @return the kaleo log persistence - */ - public KaleoLogPersistence getKaleoLogPersistence() { - return kaleoLogPersistence; - } - - /** - * Sets the kaleo log persistence. - * - * @param kaleoLogPersistence the kaleo log persistence - */ - public void setKaleoLogPersistence(KaleoLogPersistence kaleoLogPersistence) { - this.kaleoLogPersistence = kaleoLogPersistence; - } - - /** - * Returns the kaleo node local service. - * - * @return the kaleo node local service - */ - public it.tref.liferay.portos.importazione.service.KaleoNodeLocalService getKaleoNodeLocalService() { - return kaleoNodeLocalService; - } - - /** - * Sets the kaleo node local service. - * - * @param kaleoNodeLocalService the kaleo node local service - */ - public void setKaleoNodeLocalService( - it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService) { - this.kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Returns the kaleo node persistence. - * - * @return the kaleo node persistence - */ - public KaleoNodePersistence getKaleoNodePersistence() { - return kaleoNodePersistence; - } - - /** - * Sets the kaleo node persistence. - * - * @param kaleoNodePersistence the kaleo node persistence - */ - public void setKaleoNodePersistence( - KaleoNodePersistence kaleoNodePersistence) { - this.kaleoNodePersistence = kaleoNodePersistence; - } - - /** - * Returns the kaleo task local service. - * - * @return the kaleo task local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskLocalService getKaleoTaskLocalService() { - return kaleoTaskLocalService; - } - - /** - * Sets the kaleo task local service. - * - * @param kaleoTaskLocalService the kaleo task local service - */ - public void setKaleoTaskLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService) { - this.kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Returns the kaleo task persistence. - * - * @return the kaleo task persistence - */ - public KaleoTaskPersistence getKaleoTaskPersistence() { - return kaleoTaskPersistence; - } - - /** - * Sets the kaleo task persistence. - * - * @param kaleoTaskPersistence the kaleo task persistence - */ - public void setKaleoTaskPersistence( - KaleoTaskPersistence kaleoTaskPersistence) { - this.kaleoTaskPersistence = kaleoTaskPersistence; - } - - /** - * Returns the kaleo task assignment instance local service. - * - * @return the kaleo task assignment instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService getKaleoTaskAssignmentInstanceLocalService() { - return kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Sets the kaleo task assignment instance local service. - * - * @param kaleoTaskAssignmentInstanceLocalService the kaleo task assignment instance local service - */ - public void setKaleoTaskAssignmentInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - this.kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Returns the kaleo task assignment instance persistence. - * - * @return the kaleo task assignment instance persistence - */ - public KaleoTaskAssignmentInstancePersistence getKaleoTaskAssignmentInstancePersistence() { - return kaleoTaskAssignmentInstancePersistence; - } - - /** - * Sets the kaleo task assignment instance persistence. - * - * @param kaleoTaskAssignmentInstancePersistence the kaleo task assignment instance persistence - */ - public void setKaleoTaskAssignmentInstancePersistence( - KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence) { - this.kaleoTaskAssignmentInstancePersistence = kaleoTaskAssignmentInstancePersistence; - } - - /** - * Returns the kaleo task instance token local service. - * - * @return the kaleo task instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService getKaleoTaskInstanceTokenLocalService() { - return kaleoTaskInstanceTokenLocalService; - } - - /** - * Sets the kaleo task instance token local service. - * - * @param kaleoTaskInstanceTokenLocalService the kaleo task instance token local service - */ - public void setKaleoTaskInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - this.kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Returns the kaleo task instance token persistence. - * - * @return the kaleo task instance token persistence - */ - public KaleoTaskInstanceTokenPersistence getKaleoTaskInstanceTokenPersistence() { - return kaleoTaskInstanceTokenPersistence; - } - - /** - * Sets the kaleo task instance token persistence. - * - * @param kaleoTaskInstanceTokenPersistence the kaleo task instance token persistence - */ - public void setKaleoTaskInstanceTokenPersistence( - KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence) { - this.kaleoTaskInstanceTokenPersistence = kaleoTaskInstanceTokenPersistence; - } - - /** - * Returns the old d l file entry local service. - * - * @return the old d l file entry local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService getOldDLFileEntryLocalService() { - return oldDLFileEntryLocalService; - } - - /** - * Sets the old d l file entry local service. - * - * @param oldDLFileEntryLocalService the old d l file entry local service - */ - public void setOldDLFileEntryLocalService( - it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService) { - this.oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Returns the old d l file entry persistence. - * - * @return the old d l file entry persistence - */ - public OldDLFileEntryPersistence getOldDLFileEntryPersistence() { - return oldDLFileEntryPersistence; - } - - /** - * Sets the old d l file entry persistence. - * - * @param oldDLFileEntryPersistence the old d l file entry persistence - */ - public void setOldDLFileEntryPersistence( - OldDLFileEntryPersistence oldDLFileEntryPersistence) { - this.oldDLFileEntryPersistence = oldDLFileEntryPersistence; - } - - /** - * Returns the old d l folder local service. - * - * @return the old d l folder local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFolderLocalService getOldDLFolderLocalService() { - return oldDLFolderLocalService; - } - - /** - * Sets the old d l folder local service. - * - * @param oldDLFolderLocalService the old d l folder local service - */ - public void setOldDLFolderLocalService( - it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService) { - this.oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Returns the old d l folder persistence. - * - * @return the old d l folder persistence - */ - public OldDLFolderPersistence getOldDLFolderPersistence() { - return oldDLFolderPersistence; - } - - /** - * Sets the old d l folder persistence. - * - * @param oldDLFolderPersistence the old d l folder persistence - */ - public void setOldDLFolderPersistence( - OldDLFolderPersistence oldDLFolderPersistence) { - this.oldDLFolderPersistence = oldDLFolderPersistence; - } - - /** - * Returns the old group local service. - * - * @return the old group local service - */ - public it.tref.liferay.portos.importazione.service.OldGroupLocalService getOldGroupLocalService() { - return oldGroupLocalService; - } - - /** - * Sets the old group local service. - * - * @param oldGroupLocalService the old group local service - */ - public void setOldGroupLocalService( - it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService) { - this.oldGroupLocalService = oldGroupLocalService; - } - - /** - * Returns the old group persistence. - * - * @return the old group persistence - */ - public OldGroupPersistence getOldGroupPersistence() { - return oldGroupPersistence; - } - - /** - * Sets the old group persistence. - * - * @param oldGroupPersistence the old group persistence - */ - public void setOldGroupPersistence(OldGroupPersistence oldGroupPersistence) { - this.oldGroupPersistence = oldGroupPersistence; - } - - /** - * Returns the old organization local service. - * - * @return the old organization local service - */ - public it.tref.liferay.portos.importazione.service.OldOrganizationLocalService getOldOrganizationLocalService() { - return oldOrganizationLocalService; - } - - /** - * Sets the old organization local service. - * - * @param oldOrganizationLocalService the old organization local service - */ - public void setOldOrganizationLocalService( - it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService) { - this.oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Returns the old organization persistence. - * - * @return the old organization persistence - */ - public OldOrganizationPersistence getOldOrganizationPersistence() { - return oldOrganizationPersistence; - } - - /** - * Sets the old organization persistence. - * - * @param oldOrganizationPersistence the old organization persistence - */ - public void setOldOrganizationPersistence( - OldOrganizationPersistence oldOrganizationPersistence) { - this.oldOrganizationPersistence = oldOrganizationPersistence; - } - - /** - * Returns the old role local service. - * - * @return the old role local service - */ - public it.tref.liferay.portos.importazione.service.OldRoleLocalService getOldRoleLocalService() { - return oldRoleLocalService; - } - - /** - * Sets the old role local service. - * - * @param oldRoleLocalService the old role local service - */ - public void setOldRoleLocalService( - it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService) { - this.oldRoleLocalService = oldRoleLocalService; - } - - /** - * Returns the old role persistence. - * - * @return the old role persistence - */ - public OldRolePersistence getOldRolePersistence() { - return oldRolePersistence; - } - - /** - * Sets the old role persistence. - * - * @param oldRolePersistence the old role persistence - */ - public void setOldRolePersistence(OldRolePersistence oldRolePersistence) { - this.oldRolePersistence = oldRolePersistence; - } - - /** - * Returns the old user local service. - * - * @return the old user local service - */ - public it.tref.liferay.portos.importazione.service.OldUserLocalService getOldUserLocalService() { - return oldUserLocalService; - } - - /** - * Sets the old user local service. - * - * @param oldUserLocalService the old user local service - */ - public void setOldUserLocalService( - it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService) { - this.oldUserLocalService = oldUserLocalService; - } - - /** - * Returns the old user persistence. - * - * @return the old user persistence - */ - public OldUserPersistence getOldUserPersistence() { - return oldUserPersistence; - } - - /** - * Sets the old user persistence. - * - * @param oldUserPersistence the old user persistence - */ - public void setOldUserPersistence(OldUserPersistence oldUserPersistence) { - this.oldUserPersistence = oldUserPersistence; - } - - /** - * Returns the old user group local service. - * - * @return the old user group local service - */ - public it.tref.liferay.portos.importazione.service.OldUserGroupLocalService getOldUserGroupLocalService() { - return oldUserGroupLocalService; - } - - /** - * Sets the old user group local service. - * - * @param oldUserGroupLocalService the old user group local service - */ - public void setOldUserGroupLocalService( - it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService) { - this.oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Returns the old user group persistence. - * - * @return the old user group persistence - */ - public OldUserGroupPersistence getOldUserGroupPersistence() { - return oldUserGroupPersistence; - } - - /** - * Sets the old user group persistence. - * - * @param oldUserGroupPersistence the old user group persistence - */ - public void setOldUserGroupPersistence( - OldUserGroupPersistence oldUserGroupPersistence) { - this.oldUserGroupPersistence = oldUserGroupPersistence; - } - - /** - * Returns the old user group finder. - * - * @return the old user group finder - */ - public OldUserGroupFinder getOldUserGroupFinder() { - return oldUserGroupFinder; - } - - /** - * Sets the old user group finder. - * - * @param oldUserGroupFinder the old user group finder - */ - public void setOldUserGroupFinder(OldUserGroupFinder oldUserGroupFinder) { - this.oldUserGroupFinder = oldUserGroupFinder; - } - - /** - * Returns the procedura importazione local service. - * - * @return the procedura importazione local service - */ - public it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService getProceduraImportazioneLocalService() { - return proceduraImportazioneLocalService; - } - - /** - * Sets the procedura importazione local service. - * - * @param proceduraImportazioneLocalService the procedura importazione local service - */ - public void setProceduraImportazioneLocalService( - it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - this.proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Returns the procedura importazione persistence. - * - * @return the procedura importazione persistence - */ - public ProceduraImportazionePersistence getProceduraImportazionePersistence() { - return proceduraImportazionePersistence; - } - - /** - * Sets the procedura importazione persistence. - * - * @param proceduraImportazionePersistence the procedura importazione persistence - */ - public void setProceduraImportazionePersistence( - ProceduraImportazionePersistence proceduraImportazionePersistence) { - this.proceduraImportazionePersistence = proceduraImportazionePersistence; - } - - /** - * Returns the stato importazione local service. - * - * @return the stato importazione local service - */ - public it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService getStatoImportazioneLocalService() { - return statoImportazioneLocalService; - } - - /** - * Sets the stato importazione local service. - * - * @param statoImportazioneLocalService the stato importazione local service - */ - public void setStatoImportazioneLocalService( - it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService) { - this.statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Returns the stato importazione persistence. - * - * @return the stato importazione persistence - */ - public StatoImportazionePersistence getStatoImportazionePersistence() { - return statoImportazionePersistence; - } - - /** - * Sets the stato importazione persistence. - * - * @param statoImportazionePersistence the stato importazione persistence - */ - public void setStatoImportazionePersistence( - StatoImportazionePersistence statoImportazionePersistence) { - this.statoImportazionePersistence = statoImportazionePersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.importazione.model.BoDocPratica", - boDocPraticaLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.importazione.model.BoDocPratica"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return BoDocPratica.class; - } - - protected String getModelClassName() { - return BoDocPratica.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = boDocPraticaPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService; - @BeanReference(type = BoConfigurazionePersistence.class) - protected BoConfigurazionePersistence boConfigurazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeProvinciaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService; - @BeanReference(type = FeProvinciaPersistence.class) - protected FeProvinciaPersistence feProvinciaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService; - @BeanReference(type = KaleoInstancePersistence.class) - protected KaleoInstancePersistence kaleoInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService; - @BeanReference(type = KaleoInstanceTokenPersistence.class) - protected KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoLogLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService; - @BeanReference(type = KaleoLogPersistence.class) - protected KaleoLogPersistence kaleoLogPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoNodeLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService; - @BeanReference(type = KaleoNodePersistence.class) - protected KaleoNodePersistence kaleoNodePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService; - @BeanReference(type = KaleoTaskPersistence.class) - protected KaleoTaskPersistence kaleoTaskPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService; - @BeanReference(type = KaleoTaskAssignmentInstancePersistence.class) - protected KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService; - @BeanReference(type = KaleoTaskInstanceTokenPersistence.class) - protected KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService; - @BeanReference(type = OldDLFileEntryPersistence.class) - protected OldDLFileEntryPersistence oldDLFileEntryPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFolderLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService; - @BeanReference(type = OldDLFolderPersistence.class) - protected OldDLFolderPersistence oldDLFolderPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService; - @BeanReference(type = OldGroupPersistence.class) - protected OldGroupPersistence oldGroupPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldOrganizationLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService; - @BeanReference(type = OldOrganizationPersistence.class) - protected OldOrganizationPersistence oldOrganizationPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldRoleLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService; - @BeanReference(type = OldRolePersistence.class) - protected OldRolePersistence oldRolePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService; - @BeanReference(type = OldUserPersistence.class) - protected OldUserPersistence oldUserPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService; - @BeanReference(type = OldUserGroupPersistence.class) - protected OldUserGroupPersistence oldUserGroupPersistence; - @BeanReference(type = OldUserGroupFinder.class) - protected OldUserGroupFinder oldUserGroupFinder; - @BeanReference(type = it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService; - @BeanReference(type = ProceduraImportazionePersistence.class) - protected ProceduraImportazionePersistence proceduraImportazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService; - @BeanReference(type = StatoImportazionePersistence.class) - protected StatoImportazionePersistence statoImportazionePersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private BoDocPraticaLocalServiceClpInvoker _clpInvoker = new BoDocPraticaLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoDocPraticaLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoDocPraticaLocalServiceClpInvoker.java deleted file mode 100644 index 42de1a91..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoDocPraticaLocalServiceClpInvoker.java +++ /dev/null @@ -1,306 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import it.tref.liferay.portos.importazione.service.BoDocPraticaLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author 3FC - * @generated - */ -public class BoDocPraticaLocalServiceClpInvoker { - public BoDocPraticaLocalServiceClpInvoker() { - _methodName0 = "addBoDocPratica"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.BoDocPratica" - }; - - _methodName1 = "createBoDocPratica"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoDocPratica"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoDocPratica"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.BoDocPratica" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoDocPratica"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchBoDocPraticaByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchBoDocPraticaByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getBoDocPratica"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getBoDocPraticaByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getBoDocPraticaByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getBoDocPraticas"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getBoDocPraticasCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateBoDocPratica"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.importazione.model.BoDocPratica" - }; - - _methodName182 = "getBeanIdentifier"; - - _methodParameterTypes182 = new String[] { }; - - _methodName183 = "setBeanIdentifier"; - - _methodParameterTypes183 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.addBoDocPratica((it.tref.liferay.portos.importazione.model.BoDocPratica)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.createBoDocPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.deleteBoDocPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.deleteBoDocPratica((it.tref.liferay.portos.importazione.model.BoDocPratica)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.fetchBoDocPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.fetchBoDocPraticaByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.fetchBoDocPraticaByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.getBoDocPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.getBoDocPraticaByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName16.equals(name) && - Arrays.deepEquals(_methodParameterTypes16, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.getBoDocPraticaByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName17.equals(name) && - Arrays.deepEquals(_methodParameterTypes17, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.getBoDocPraticas(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName18.equals(name) && - Arrays.deepEquals(_methodParameterTypes18, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.getBoDocPraticasCount(); - } - - if (_methodName19.equals(name) && - Arrays.deepEquals(_methodParameterTypes19, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.updateBoDocPratica((it.tref.liferay.portos.importazione.model.BoDocPratica)arguments[0]); - } - - if (_methodName182.equals(name) && - Arrays.deepEquals(_methodParameterTypes182, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName183.equals(name) && - Arrays.deepEquals(_methodParameterTypes183, parameterTypes)) { - BoDocPraticaLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName182; - private String[] _methodParameterTypes182; - private String _methodName183; - private String[] _methodParameterTypes183; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoIntPraticaLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoIntPraticaLocalServiceBaseImpl.java deleted file mode 100644 index 307b0a94..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoIntPraticaLocalServiceBaseImpl.java +++ /dev/null @@ -1,2134 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.importazione.model.BoIntPratica; -import it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinder; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the bo int pratica local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.importazione.service.impl.BoIntPraticaLocalServiceImpl}. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.impl.BoIntPraticaLocalServiceImpl - * @see it.tref.liferay.portos.importazione.service.BoIntPraticaLocalServiceUtil - * @generated - */ -public abstract class BoIntPraticaLocalServiceBaseImpl - extends BaseLocalServiceImpl implements BoIntPraticaLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.importazione.service.BoIntPraticaLocalServiceUtil} to access the bo int pratica local service. - */ - - /** - * Adds the bo int pratica to the database. Also notifies the appropriate model listeners. - * - * @param boIntPratica the bo int pratica - * @return the bo int pratica that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoIntPratica addBoIntPratica(BoIntPratica boIntPratica) - throws SystemException { - boIntPratica.setNew(true); - - return boIntPraticaPersistence.update(boIntPratica); - } - - /** - * Creates a new bo int pratica with the primary key. Does not add the bo int pratica to the database. - * - * @param intPraticaId the primary key for the new bo int pratica - * @return the new bo int pratica - */ - @Override - public BoIntPratica createBoIntPratica(long intPraticaId) { - return boIntPraticaPersistence.create(intPraticaId); - } - - /** - * Deletes the bo int pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param intPraticaId the primary key of the bo int pratica - * @return the bo int pratica that was removed - * @throws PortalException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoIntPratica deleteBoIntPratica(long intPraticaId) - throws PortalException, SystemException { - return boIntPraticaPersistence.remove(intPraticaId); - } - - /** - * Deletes the bo int pratica from the database. Also notifies the appropriate model listeners. - * - * @param boIntPratica the bo int pratica - * @return the bo int pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoIntPratica deleteBoIntPratica(BoIntPratica boIntPratica) - throws SystemException { - return boIntPraticaPersistence.remove(boIntPratica); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(BoIntPratica.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return boIntPraticaPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return boIntPraticaPersistence.findWithDynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return boIntPraticaPersistence.findWithDynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return boIntPraticaPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return boIntPraticaPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public BoIntPratica fetchBoIntPratica(long intPraticaId) - throws SystemException { - return boIntPraticaPersistence.fetchByPrimaryKey(intPraticaId); - } - - /** - * Returns the bo int pratica with the matching UUID and company. - * - * @param uuid the bo int pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchBoIntPraticaByUuidAndCompanyId(String uuid, - long companyId) throws SystemException { - return boIntPraticaPersistence.fetchByUuid_C_First(uuid, companyId, null); - } - - /** - * Returns the bo int pratica matching the UUID and group. - * - * @param uuid the bo int pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchBoIntPraticaByUuidAndGroupId(String uuid, - long groupId) throws SystemException { - return boIntPraticaPersistence.fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the bo int pratica with the primary key. - * - * @param intPraticaId the primary key of the bo int pratica - * @return the bo int pratica - * @throws PortalException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica getBoIntPratica(long intPraticaId) - throws PortalException, SystemException { - return boIntPraticaPersistence.findByPrimaryKey(intPraticaId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return boIntPraticaPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns the bo int pratica with the matching UUID and company. - * - * @param uuid the bo int pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo int pratica - * @throws PortalException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica getBoIntPraticaByUuidAndCompanyId(String uuid, - long companyId) throws PortalException, SystemException { - return boIntPraticaPersistence.findByUuid_C_First(uuid, companyId, null); - } - - /** - * Returns the bo int pratica matching the UUID and group. - * - * @param uuid the bo int pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo int pratica - * @throws PortalException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica getBoIntPraticaByUuidAndGroupId(String uuid, - long groupId) throws PortalException, SystemException { - return boIntPraticaPersistence.findByUUID_G(uuid, groupId); - } - - /** - * Returns a range of all the bo int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List getBoIntPraticas(int start, int end) - throws SystemException { - return boIntPraticaPersistence.findAll(start, end); - } - - /** - * Returns the number of bo int praticas. - * - * @return the number of bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoIntPraticasCount() throws SystemException { - return boIntPraticaPersistence.countAll(); - } - - /** - * Updates the bo int pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boIntPratica the bo int pratica - * @return the bo int pratica that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoIntPratica updateBoIntPratica(BoIntPratica boIntPratica) - throws SystemException { - return boIntPraticaPersistence.update(boIntPratica); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.importazione.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.importazione.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo configurazione local service. - * - * @return the bo configurazione local service - */ - public it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService getBoConfigurazioneLocalService() { - return boConfigurazioneLocalService; - } - - /** - * Sets the bo configurazione local service. - * - * @param boConfigurazioneLocalService the bo configurazione local service - */ - public void setBoConfigurazioneLocalService( - it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService) { - this.boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Returns the bo configurazione persistence. - * - * @return the bo configurazione persistence - */ - public BoConfigurazionePersistence getBoConfigurazionePersistence() { - return boConfigurazionePersistence; - } - - /** - * Sets the bo configurazione persistence. - * - * @param boConfigurazionePersistence the bo configurazione persistence - */ - public void setBoConfigurazionePersistence( - BoConfigurazionePersistence boConfigurazionePersistence) { - this.boConfigurazionePersistence = boConfigurazionePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.importazione.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.importazione.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.importazione.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.importazione.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.importazione.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.importazione.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe provincia local service. - * - * @return the fe provincia local service - */ - public it.tref.liferay.portos.importazione.service.FeProvinciaLocalService getFeProvinciaLocalService() { - return feProvinciaLocalService; - } - - /** - * Sets the fe provincia local service. - * - * @param feProvinciaLocalService the fe provincia local service - */ - public void setFeProvinciaLocalService( - it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService) { - this.feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Returns the fe provincia persistence. - * - * @return the fe provincia persistence - */ - public FeProvinciaPersistence getFeProvinciaPersistence() { - return feProvinciaPersistence; - } - - /** - * Sets the fe provincia persistence. - * - * @param feProvinciaPersistence the fe provincia persistence - */ - public void setFeProvinciaPersistence( - FeProvinciaPersistence feProvinciaPersistence) { - this.feProvinciaPersistence = feProvinciaPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.importazione.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the kaleo instance local service. - * - * @return the kaleo instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService getKaleoInstanceLocalService() { - return kaleoInstanceLocalService; - } - - /** - * Sets the kaleo instance local service. - * - * @param kaleoInstanceLocalService the kaleo instance local service - */ - public void setKaleoInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService) { - this.kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Returns the kaleo instance persistence. - * - * @return the kaleo instance persistence - */ - public KaleoInstancePersistence getKaleoInstancePersistence() { - return kaleoInstancePersistence; - } - - /** - * Sets the kaleo instance persistence. - * - * @param kaleoInstancePersistence the kaleo instance persistence - */ - public void setKaleoInstancePersistence( - KaleoInstancePersistence kaleoInstancePersistence) { - this.kaleoInstancePersistence = kaleoInstancePersistence; - } - - /** - * Returns the kaleo instance token local service. - * - * @return the kaleo instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService getKaleoInstanceTokenLocalService() { - return kaleoInstanceTokenLocalService; - } - - /** - * Sets the kaleo instance token local service. - * - * @param kaleoInstanceTokenLocalService the kaleo instance token local service - */ - public void setKaleoInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - this.kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Returns the kaleo instance token persistence. - * - * @return the kaleo instance token persistence - */ - public KaleoInstanceTokenPersistence getKaleoInstanceTokenPersistence() { - return kaleoInstanceTokenPersistence; - } - - /** - * Sets the kaleo instance token persistence. - * - * @param kaleoInstanceTokenPersistence the kaleo instance token persistence - */ - public void setKaleoInstanceTokenPersistence( - KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence) { - this.kaleoInstanceTokenPersistence = kaleoInstanceTokenPersistence; - } - - /** - * Returns the kaleo log local service. - * - * @return the kaleo log local service - */ - public it.tref.liferay.portos.importazione.service.KaleoLogLocalService getKaleoLogLocalService() { - return kaleoLogLocalService; - } - - /** - * Sets the kaleo log local service. - * - * @param kaleoLogLocalService the kaleo log local service - */ - public void setKaleoLogLocalService( - it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService) { - this.kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Returns the kaleo log persistence. - * - * @return the kaleo log persistence - */ - public KaleoLogPersistence getKaleoLogPersistence() { - return kaleoLogPersistence; - } - - /** - * Sets the kaleo log persistence. - * - * @param kaleoLogPersistence the kaleo log persistence - */ - public void setKaleoLogPersistence(KaleoLogPersistence kaleoLogPersistence) { - this.kaleoLogPersistence = kaleoLogPersistence; - } - - /** - * Returns the kaleo node local service. - * - * @return the kaleo node local service - */ - public it.tref.liferay.portos.importazione.service.KaleoNodeLocalService getKaleoNodeLocalService() { - return kaleoNodeLocalService; - } - - /** - * Sets the kaleo node local service. - * - * @param kaleoNodeLocalService the kaleo node local service - */ - public void setKaleoNodeLocalService( - it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService) { - this.kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Returns the kaleo node persistence. - * - * @return the kaleo node persistence - */ - public KaleoNodePersistence getKaleoNodePersistence() { - return kaleoNodePersistence; - } - - /** - * Sets the kaleo node persistence. - * - * @param kaleoNodePersistence the kaleo node persistence - */ - public void setKaleoNodePersistence( - KaleoNodePersistence kaleoNodePersistence) { - this.kaleoNodePersistence = kaleoNodePersistence; - } - - /** - * Returns the kaleo task local service. - * - * @return the kaleo task local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskLocalService getKaleoTaskLocalService() { - return kaleoTaskLocalService; - } - - /** - * Sets the kaleo task local service. - * - * @param kaleoTaskLocalService the kaleo task local service - */ - public void setKaleoTaskLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService) { - this.kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Returns the kaleo task persistence. - * - * @return the kaleo task persistence - */ - public KaleoTaskPersistence getKaleoTaskPersistence() { - return kaleoTaskPersistence; - } - - /** - * Sets the kaleo task persistence. - * - * @param kaleoTaskPersistence the kaleo task persistence - */ - public void setKaleoTaskPersistence( - KaleoTaskPersistence kaleoTaskPersistence) { - this.kaleoTaskPersistence = kaleoTaskPersistence; - } - - /** - * Returns the kaleo task assignment instance local service. - * - * @return the kaleo task assignment instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService getKaleoTaskAssignmentInstanceLocalService() { - return kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Sets the kaleo task assignment instance local service. - * - * @param kaleoTaskAssignmentInstanceLocalService the kaleo task assignment instance local service - */ - public void setKaleoTaskAssignmentInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - this.kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Returns the kaleo task assignment instance persistence. - * - * @return the kaleo task assignment instance persistence - */ - public KaleoTaskAssignmentInstancePersistence getKaleoTaskAssignmentInstancePersistence() { - return kaleoTaskAssignmentInstancePersistence; - } - - /** - * Sets the kaleo task assignment instance persistence. - * - * @param kaleoTaskAssignmentInstancePersistence the kaleo task assignment instance persistence - */ - public void setKaleoTaskAssignmentInstancePersistence( - KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence) { - this.kaleoTaskAssignmentInstancePersistence = kaleoTaskAssignmentInstancePersistence; - } - - /** - * Returns the kaleo task instance token local service. - * - * @return the kaleo task instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService getKaleoTaskInstanceTokenLocalService() { - return kaleoTaskInstanceTokenLocalService; - } - - /** - * Sets the kaleo task instance token local service. - * - * @param kaleoTaskInstanceTokenLocalService the kaleo task instance token local service - */ - public void setKaleoTaskInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - this.kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Returns the kaleo task instance token persistence. - * - * @return the kaleo task instance token persistence - */ - public KaleoTaskInstanceTokenPersistence getKaleoTaskInstanceTokenPersistence() { - return kaleoTaskInstanceTokenPersistence; - } - - /** - * Sets the kaleo task instance token persistence. - * - * @param kaleoTaskInstanceTokenPersistence the kaleo task instance token persistence - */ - public void setKaleoTaskInstanceTokenPersistence( - KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence) { - this.kaleoTaskInstanceTokenPersistence = kaleoTaskInstanceTokenPersistence; - } - - /** - * Returns the old d l file entry local service. - * - * @return the old d l file entry local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService getOldDLFileEntryLocalService() { - return oldDLFileEntryLocalService; - } - - /** - * Sets the old d l file entry local service. - * - * @param oldDLFileEntryLocalService the old d l file entry local service - */ - public void setOldDLFileEntryLocalService( - it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService) { - this.oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Returns the old d l file entry persistence. - * - * @return the old d l file entry persistence - */ - public OldDLFileEntryPersistence getOldDLFileEntryPersistence() { - return oldDLFileEntryPersistence; - } - - /** - * Sets the old d l file entry persistence. - * - * @param oldDLFileEntryPersistence the old d l file entry persistence - */ - public void setOldDLFileEntryPersistence( - OldDLFileEntryPersistence oldDLFileEntryPersistence) { - this.oldDLFileEntryPersistence = oldDLFileEntryPersistence; - } - - /** - * Returns the old d l folder local service. - * - * @return the old d l folder local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFolderLocalService getOldDLFolderLocalService() { - return oldDLFolderLocalService; - } - - /** - * Sets the old d l folder local service. - * - * @param oldDLFolderLocalService the old d l folder local service - */ - public void setOldDLFolderLocalService( - it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService) { - this.oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Returns the old d l folder persistence. - * - * @return the old d l folder persistence - */ - public OldDLFolderPersistence getOldDLFolderPersistence() { - return oldDLFolderPersistence; - } - - /** - * Sets the old d l folder persistence. - * - * @param oldDLFolderPersistence the old d l folder persistence - */ - public void setOldDLFolderPersistence( - OldDLFolderPersistence oldDLFolderPersistence) { - this.oldDLFolderPersistence = oldDLFolderPersistence; - } - - /** - * Returns the old group local service. - * - * @return the old group local service - */ - public it.tref.liferay.portos.importazione.service.OldGroupLocalService getOldGroupLocalService() { - return oldGroupLocalService; - } - - /** - * Sets the old group local service. - * - * @param oldGroupLocalService the old group local service - */ - public void setOldGroupLocalService( - it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService) { - this.oldGroupLocalService = oldGroupLocalService; - } - - /** - * Returns the old group persistence. - * - * @return the old group persistence - */ - public OldGroupPersistence getOldGroupPersistence() { - return oldGroupPersistence; - } - - /** - * Sets the old group persistence. - * - * @param oldGroupPersistence the old group persistence - */ - public void setOldGroupPersistence(OldGroupPersistence oldGroupPersistence) { - this.oldGroupPersistence = oldGroupPersistence; - } - - /** - * Returns the old organization local service. - * - * @return the old organization local service - */ - public it.tref.liferay.portos.importazione.service.OldOrganizationLocalService getOldOrganizationLocalService() { - return oldOrganizationLocalService; - } - - /** - * Sets the old organization local service. - * - * @param oldOrganizationLocalService the old organization local service - */ - public void setOldOrganizationLocalService( - it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService) { - this.oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Returns the old organization persistence. - * - * @return the old organization persistence - */ - public OldOrganizationPersistence getOldOrganizationPersistence() { - return oldOrganizationPersistence; - } - - /** - * Sets the old organization persistence. - * - * @param oldOrganizationPersistence the old organization persistence - */ - public void setOldOrganizationPersistence( - OldOrganizationPersistence oldOrganizationPersistence) { - this.oldOrganizationPersistence = oldOrganizationPersistence; - } - - /** - * Returns the old role local service. - * - * @return the old role local service - */ - public it.tref.liferay.portos.importazione.service.OldRoleLocalService getOldRoleLocalService() { - return oldRoleLocalService; - } - - /** - * Sets the old role local service. - * - * @param oldRoleLocalService the old role local service - */ - public void setOldRoleLocalService( - it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService) { - this.oldRoleLocalService = oldRoleLocalService; - } - - /** - * Returns the old role persistence. - * - * @return the old role persistence - */ - public OldRolePersistence getOldRolePersistence() { - return oldRolePersistence; - } - - /** - * Sets the old role persistence. - * - * @param oldRolePersistence the old role persistence - */ - public void setOldRolePersistence(OldRolePersistence oldRolePersistence) { - this.oldRolePersistence = oldRolePersistence; - } - - /** - * Returns the old user local service. - * - * @return the old user local service - */ - public it.tref.liferay.portos.importazione.service.OldUserLocalService getOldUserLocalService() { - return oldUserLocalService; - } - - /** - * Sets the old user local service. - * - * @param oldUserLocalService the old user local service - */ - public void setOldUserLocalService( - it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService) { - this.oldUserLocalService = oldUserLocalService; - } - - /** - * Returns the old user persistence. - * - * @return the old user persistence - */ - public OldUserPersistence getOldUserPersistence() { - return oldUserPersistence; - } - - /** - * Sets the old user persistence. - * - * @param oldUserPersistence the old user persistence - */ - public void setOldUserPersistence(OldUserPersistence oldUserPersistence) { - this.oldUserPersistence = oldUserPersistence; - } - - /** - * Returns the old user group local service. - * - * @return the old user group local service - */ - public it.tref.liferay.portos.importazione.service.OldUserGroupLocalService getOldUserGroupLocalService() { - return oldUserGroupLocalService; - } - - /** - * Sets the old user group local service. - * - * @param oldUserGroupLocalService the old user group local service - */ - public void setOldUserGroupLocalService( - it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService) { - this.oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Returns the old user group persistence. - * - * @return the old user group persistence - */ - public OldUserGroupPersistence getOldUserGroupPersistence() { - return oldUserGroupPersistence; - } - - /** - * Sets the old user group persistence. - * - * @param oldUserGroupPersistence the old user group persistence - */ - public void setOldUserGroupPersistence( - OldUserGroupPersistence oldUserGroupPersistence) { - this.oldUserGroupPersistence = oldUserGroupPersistence; - } - - /** - * Returns the old user group finder. - * - * @return the old user group finder - */ - public OldUserGroupFinder getOldUserGroupFinder() { - return oldUserGroupFinder; - } - - /** - * Sets the old user group finder. - * - * @param oldUserGroupFinder the old user group finder - */ - public void setOldUserGroupFinder(OldUserGroupFinder oldUserGroupFinder) { - this.oldUserGroupFinder = oldUserGroupFinder; - } - - /** - * Returns the procedura importazione local service. - * - * @return the procedura importazione local service - */ - public it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService getProceduraImportazioneLocalService() { - return proceduraImportazioneLocalService; - } - - /** - * Sets the procedura importazione local service. - * - * @param proceduraImportazioneLocalService the procedura importazione local service - */ - public void setProceduraImportazioneLocalService( - it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - this.proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Returns the procedura importazione persistence. - * - * @return the procedura importazione persistence - */ - public ProceduraImportazionePersistence getProceduraImportazionePersistence() { - return proceduraImportazionePersistence; - } - - /** - * Sets the procedura importazione persistence. - * - * @param proceduraImportazionePersistence the procedura importazione persistence - */ - public void setProceduraImportazionePersistence( - ProceduraImportazionePersistence proceduraImportazionePersistence) { - this.proceduraImportazionePersistence = proceduraImportazionePersistence; - } - - /** - * Returns the stato importazione local service. - * - * @return the stato importazione local service - */ - public it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService getStatoImportazioneLocalService() { - return statoImportazioneLocalService; - } - - /** - * Sets the stato importazione local service. - * - * @param statoImportazioneLocalService the stato importazione local service - */ - public void setStatoImportazioneLocalService( - it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService) { - this.statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Returns the stato importazione persistence. - * - * @return the stato importazione persistence - */ - public StatoImportazionePersistence getStatoImportazionePersistence() { - return statoImportazionePersistence; - } - - /** - * Sets the stato importazione persistence. - * - * @param statoImportazionePersistence the stato importazione persistence - */ - public void setStatoImportazionePersistence( - StatoImportazionePersistence statoImportazionePersistence) { - this.statoImportazionePersistence = statoImportazionePersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.importazione.model.BoIntPratica", - boIntPraticaLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.importazione.model.BoIntPratica"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return BoIntPratica.class; - } - - protected String getModelClassName() { - return BoIntPratica.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = boIntPraticaPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService; - @BeanReference(type = BoConfigurazionePersistence.class) - protected BoConfigurazionePersistence boConfigurazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeProvinciaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService; - @BeanReference(type = FeProvinciaPersistence.class) - protected FeProvinciaPersistence feProvinciaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService; - @BeanReference(type = KaleoInstancePersistence.class) - protected KaleoInstancePersistence kaleoInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService; - @BeanReference(type = KaleoInstanceTokenPersistence.class) - protected KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoLogLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService; - @BeanReference(type = KaleoLogPersistence.class) - protected KaleoLogPersistence kaleoLogPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoNodeLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService; - @BeanReference(type = KaleoNodePersistence.class) - protected KaleoNodePersistence kaleoNodePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService; - @BeanReference(type = KaleoTaskPersistence.class) - protected KaleoTaskPersistence kaleoTaskPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService; - @BeanReference(type = KaleoTaskAssignmentInstancePersistence.class) - protected KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService; - @BeanReference(type = KaleoTaskInstanceTokenPersistence.class) - protected KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService; - @BeanReference(type = OldDLFileEntryPersistence.class) - protected OldDLFileEntryPersistence oldDLFileEntryPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFolderLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService; - @BeanReference(type = OldDLFolderPersistence.class) - protected OldDLFolderPersistence oldDLFolderPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService; - @BeanReference(type = OldGroupPersistence.class) - protected OldGroupPersistence oldGroupPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldOrganizationLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService; - @BeanReference(type = OldOrganizationPersistence.class) - protected OldOrganizationPersistence oldOrganizationPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldRoleLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService; - @BeanReference(type = OldRolePersistence.class) - protected OldRolePersistence oldRolePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService; - @BeanReference(type = OldUserPersistence.class) - protected OldUserPersistence oldUserPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService; - @BeanReference(type = OldUserGroupPersistence.class) - protected OldUserGroupPersistence oldUserGroupPersistence; - @BeanReference(type = OldUserGroupFinder.class) - protected OldUserGroupFinder oldUserGroupFinder; - @BeanReference(type = it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService; - @BeanReference(type = ProceduraImportazionePersistence.class) - protected ProceduraImportazionePersistence proceduraImportazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService; - @BeanReference(type = StatoImportazionePersistence.class) - protected StatoImportazionePersistence statoImportazionePersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private BoIntPraticaLocalServiceClpInvoker _clpInvoker = new BoIntPraticaLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoIntPraticaLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoIntPraticaLocalServiceClpInvoker.java deleted file mode 100644 index aecbc18b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoIntPraticaLocalServiceClpInvoker.java +++ /dev/null @@ -1,306 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import it.tref.liferay.portos.importazione.service.BoIntPraticaLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author 3FC - * @generated - */ -public class BoIntPraticaLocalServiceClpInvoker { - public BoIntPraticaLocalServiceClpInvoker() { - _methodName0 = "addBoIntPratica"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.BoIntPratica" - }; - - _methodName1 = "createBoIntPratica"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoIntPratica"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoIntPratica"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.BoIntPratica" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoIntPratica"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchBoIntPraticaByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchBoIntPraticaByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getBoIntPratica"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getBoIntPraticaByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getBoIntPraticaByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getBoIntPraticas"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getBoIntPraticasCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateBoIntPratica"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.importazione.model.BoIntPratica" - }; - - _methodName182 = "getBeanIdentifier"; - - _methodParameterTypes182 = new String[] { }; - - _methodName183 = "setBeanIdentifier"; - - _methodParameterTypes183 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.addBoIntPratica((it.tref.liferay.portos.importazione.model.BoIntPratica)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.createBoIntPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.deleteBoIntPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.deleteBoIntPratica((it.tref.liferay.portos.importazione.model.BoIntPratica)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.fetchBoIntPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.fetchBoIntPraticaByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.fetchBoIntPraticaByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.getBoIntPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.getBoIntPraticaByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName16.equals(name) && - Arrays.deepEquals(_methodParameterTypes16, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.getBoIntPraticaByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName17.equals(name) && - Arrays.deepEquals(_methodParameterTypes17, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.getBoIntPraticas(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName18.equals(name) && - Arrays.deepEquals(_methodParameterTypes18, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.getBoIntPraticasCount(); - } - - if (_methodName19.equals(name) && - Arrays.deepEquals(_methodParameterTypes19, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.updateBoIntPratica((it.tref.liferay.portos.importazione.model.BoIntPratica)arguments[0]); - } - - if (_methodName182.equals(name) && - Arrays.deepEquals(_methodParameterTypes182, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName183.equals(name) && - Arrays.deepEquals(_methodParameterTypes183, parameterTypes)) { - BoIntPraticaLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName182; - private String[] _methodParameterTypes182; - private String _methodName183; - private String[] _methodParameterTypes183; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoProblemiPraticaLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoProblemiPraticaLocalServiceBaseImpl.java deleted file mode 100644 index 922af0af..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoProblemiPraticaLocalServiceBaseImpl.java +++ /dev/null @@ -1,2076 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.importazione.model.BoProblemiPratica; -import it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinder; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the bo problemi pratica local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.importazione.service.impl.BoProblemiPraticaLocalServiceImpl}. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.impl.BoProblemiPraticaLocalServiceImpl - * @see it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalServiceUtil - * @generated - */ -public abstract class BoProblemiPraticaLocalServiceBaseImpl - extends BaseLocalServiceImpl implements BoProblemiPraticaLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalServiceUtil} to access the bo problemi pratica local service. - */ - - /** - * Adds the bo problemi pratica to the database. Also notifies the appropriate model listeners. - * - * @param boProblemiPratica the bo problemi pratica - * @return the bo problemi pratica that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoProblemiPratica addBoProblemiPratica( - BoProblemiPratica boProblemiPratica) throws SystemException { - boProblemiPratica.setNew(true); - - return boProblemiPraticaPersistence.update(boProblemiPratica); - } - - /** - * Creates a new bo problemi pratica with the primary key. Does not add the bo problemi pratica to the database. - * - * @param problemiPraticaId the primary key for the new bo problemi pratica - * @return the new bo problemi pratica - */ - @Override - public BoProblemiPratica createBoProblemiPratica(long problemiPraticaId) { - return boProblemiPraticaPersistence.create(problemiPraticaId); - } - - /** - * Deletes the bo problemi pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param problemiPraticaId the primary key of the bo problemi pratica - * @return the bo problemi pratica that was removed - * @throws PortalException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoProblemiPratica deleteBoProblemiPratica(long problemiPraticaId) - throws PortalException, SystemException { - return boProblemiPraticaPersistence.remove(problemiPraticaId); - } - - /** - * Deletes the bo problemi pratica from the database. Also notifies the appropriate model listeners. - * - * @param boProblemiPratica the bo problemi pratica - * @return the bo problemi pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoProblemiPratica deleteBoProblemiPratica( - BoProblemiPratica boProblemiPratica) throws SystemException { - return boProblemiPraticaPersistence.remove(boProblemiPratica); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(BoProblemiPratica.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return boProblemiPraticaPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return boProblemiPraticaPersistence.findWithDynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return boProblemiPraticaPersistence.findWithDynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return boProblemiPraticaPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return boProblemiPraticaPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public BoProblemiPratica fetchBoProblemiPratica(long problemiPraticaId) - throws SystemException { - return boProblemiPraticaPersistence.fetchByPrimaryKey(problemiPraticaId); - } - - /** - * Returns the bo problemi pratica with the primary key. - * - * @param problemiPraticaId the primary key of the bo problemi pratica - * @return the bo problemi pratica - * @throws PortalException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoProblemiPratica getBoProblemiPratica(long problemiPraticaId) - throws PortalException, SystemException { - return boProblemiPraticaPersistence.findByPrimaryKey(problemiPraticaId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return boProblemiPraticaPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns a range of all the bo problemi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @return the range of bo problemi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List getBoProblemiPraticas(int start, int end) - throws SystemException { - return boProblemiPraticaPersistence.findAll(start, end); - } - - /** - * Returns the number of bo problemi praticas. - * - * @return the number of bo problemi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoProblemiPraticasCount() throws SystemException { - return boProblemiPraticaPersistence.countAll(); - } - - /** - * Updates the bo problemi pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boProblemiPratica the bo problemi pratica - * @return the bo problemi pratica that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoProblemiPratica updateBoProblemiPratica( - BoProblemiPratica boProblemiPratica) throws SystemException { - return boProblemiPraticaPersistence.update(boProblemiPratica); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.importazione.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.importazione.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo configurazione local service. - * - * @return the bo configurazione local service - */ - public it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService getBoConfigurazioneLocalService() { - return boConfigurazioneLocalService; - } - - /** - * Sets the bo configurazione local service. - * - * @param boConfigurazioneLocalService the bo configurazione local service - */ - public void setBoConfigurazioneLocalService( - it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService) { - this.boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Returns the bo configurazione persistence. - * - * @return the bo configurazione persistence - */ - public BoConfigurazionePersistence getBoConfigurazionePersistence() { - return boConfigurazionePersistence; - } - - /** - * Sets the bo configurazione persistence. - * - * @param boConfigurazionePersistence the bo configurazione persistence - */ - public void setBoConfigurazionePersistence( - BoConfigurazionePersistence boConfigurazionePersistence) { - this.boConfigurazionePersistence = boConfigurazionePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.importazione.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.importazione.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.importazione.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.importazione.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.importazione.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.importazione.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe provincia local service. - * - * @return the fe provincia local service - */ - public it.tref.liferay.portos.importazione.service.FeProvinciaLocalService getFeProvinciaLocalService() { - return feProvinciaLocalService; - } - - /** - * Sets the fe provincia local service. - * - * @param feProvinciaLocalService the fe provincia local service - */ - public void setFeProvinciaLocalService( - it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService) { - this.feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Returns the fe provincia persistence. - * - * @return the fe provincia persistence - */ - public FeProvinciaPersistence getFeProvinciaPersistence() { - return feProvinciaPersistence; - } - - /** - * Sets the fe provincia persistence. - * - * @param feProvinciaPersistence the fe provincia persistence - */ - public void setFeProvinciaPersistence( - FeProvinciaPersistence feProvinciaPersistence) { - this.feProvinciaPersistence = feProvinciaPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.importazione.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the kaleo instance local service. - * - * @return the kaleo instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService getKaleoInstanceLocalService() { - return kaleoInstanceLocalService; - } - - /** - * Sets the kaleo instance local service. - * - * @param kaleoInstanceLocalService the kaleo instance local service - */ - public void setKaleoInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService) { - this.kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Returns the kaleo instance persistence. - * - * @return the kaleo instance persistence - */ - public KaleoInstancePersistence getKaleoInstancePersistence() { - return kaleoInstancePersistence; - } - - /** - * Sets the kaleo instance persistence. - * - * @param kaleoInstancePersistence the kaleo instance persistence - */ - public void setKaleoInstancePersistence( - KaleoInstancePersistence kaleoInstancePersistence) { - this.kaleoInstancePersistence = kaleoInstancePersistence; - } - - /** - * Returns the kaleo instance token local service. - * - * @return the kaleo instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService getKaleoInstanceTokenLocalService() { - return kaleoInstanceTokenLocalService; - } - - /** - * Sets the kaleo instance token local service. - * - * @param kaleoInstanceTokenLocalService the kaleo instance token local service - */ - public void setKaleoInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - this.kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Returns the kaleo instance token persistence. - * - * @return the kaleo instance token persistence - */ - public KaleoInstanceTokenPersistence getKaleoInstanceTokenPersistence() { - return kaleoInstanceTokenPersistence; - } - - /** - * Sets the kaleo instance token persistence. - * - * @param kaleoInstanceTokenPersistence the kaleo instance token persistence - */ - public void setKaleoInstanceTokenPersistence( - KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence) { - this.kaleoInstanceTokenPersistence = kaleoInstanceTokenPersistence; - } - - /** - * Returns the kaleo log local service. - * - * @return the kaleo log local service - */ - public it.tref.liferay.portos.importazione.service.KaleoLogLocalService getKaleoLogLocalService() { - return kaleoLogLocalService; - } - - /** - * Sets the kaleo log local service. - * - * @param kaleoLogLocalService the kaleo log local service - */ - public void setKaleoLogLocalService( - it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService) { - this.kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Returns the kaleo log persistence. - * - * @return the kaleo log persistence - */ - public KaleoLogPersistence getKaleoLogPersistence() { - return kaleoLogPersistence; - } - - /** - * Sets the kaleo log persistence. - * - * @param kaleoLogPersistence the kaleo log persistence - */ - public void setKaleoLogPersistence(KaleoLogPersistence kaleoLogPersistence) { - this.kaleoLogPersistence = kaleoLogPersistence; - } - - /** - * Returns the kaleo node local service. - * - * @return the kaleo node local service - */ - public it.tref.liferay.portos.importazione.service.KaleoNodeLocalService getKaleoNodeLocalService() { - return kaleoNodeLocalService; - } - - /** - * Sets the kaleo node local service. - * - * @param kaleoNodeLocalService the kaleo node local service - */ - public void setKaleoNodeLocalService( - it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService) { - this.kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Returns the kaleo node persistence. - * - * @return the kaleo node persistence - */ - public KaleoNodePersistence getKaleoNodePersistence() { - return kaleoNodePersistence; - } - - /** - * Sets the kaleo node persistence. - * - * @param kaleoNodePersistence the kaleo node persistence - */ - public void setKaleoNodePersistence( - KaleoNodePersistence kaleoNodePersistence) { - this.kaleoNodePersistence = kaleoNodePersistence; - } - - /** - * Returns the kaleo task local service. - * - * @return the kaleo task local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskLocalService getKaleoTaskLocalService() { - return kaleoTaskLocalService; - } - - /** - * Sets the kaleo task local service. - * - * @param kaleoTaskLocalService the kaleo task local service - */ - public void setKaleoTaskLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService) { - this.kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Returns the kaleo task persistence. - * - * @return the kaleo task persistence - */ - public KaleoTaskPersistence getKaleoTaskPersistence() { - return kaleoTaskPersistence; - } - - /** - * Sets the kaleo task persistence. - * - * @param kaleoTaskPersistence the kaleo task persistence - */ - public void setKaleoTaskPersistence( - KaleoTaskPersistence kaleoTaskPersistence) { - this.kaleoTaskPersistence = kaleoTaskPersistence; - } - - /** - * Returns the kaleo task assignment instance local service. - * - * @return the kaleo task assignment instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService getKaleoTaskAssignmentInstanceLocalService() { - return kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Sets the kaleo task assignment instance local service. - * - * @param kaleoTaskAssignmentInstanceLocalService the kaleo task assignment instance local service - */ - public void setKaleoTaskAssignmentInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - this.kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Returns the kaleo task assignment instance persistence. - * - * @return the kaleo task assignment instance persistence - */ - public KaleoTaskAssignmentInstancePersistence getKaleoTaskAssignmentInstancePersistence() { - return kaleoTaskAssignmentInstancePersistence; - } - - /** - * Sets the kaleo task assignment instance persistence. - * - * @param kaleoTaskAssignmentInstancePersistence the kaleo task assignment instance persistence - */ - public void setKaleoTaskAssignmentInstancePersistence( - KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence) { - this.kaleoTaskAssignmentInstancePersistence = kaleoTaskAssignmentInstancePersistence; - } - - /** - * Returns the kaleo task instance token local service. - * - * @return the kaleo task instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService getKaleoTaskInstanceTokenLocalService() { - return kaleoTaskInstanceTokenLocalService; - } - - /** - * Sets the kaleo task instance token local service. - * - * @param kaleoTaskInstanceTokenLocalService the kaleo task instance token local service - */ - public void setKaleoTaskInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - this.kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Returns the kaleo task instance token persistence. - * - * @return the kaleo task instance token persistence - */ - public KaleoTaskInstanceTokenPersistence getKaleoTaskInstanceTokenPersistence() { - return kaleoTaskInstanceTokenPersistence; - } - - /** - * Sets the kaleo task instance token persistence. - * - * @param kaleoTaskInstanceTokenPersistence the kaleo task instance token persistence - */ - public void setKaleoTaskInstanceTokenPersistence( - KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence) { - this.kaleoTaskInstanceTokenPersistence = kaleoTaskInstanceTokenPersistence; - } - - /** - * Returns the old d l file entry local service. - * - * @return the old d l file entry local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService getOldDLFileEntryLocalService() { - return oldDLFileEntryLocalService; - } - - /** - * Sets the old d l file entry local service. - * - * @param oldDLFileEntryLocalService the old d l file entry local service - */ - public void setOldDLFileEntryLocalService( - it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService) { - this.oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Returns the old d l file entry persistence. - * - * @return the old d l file entry persistence - */ - public OldDLFileEntryPersistence getOldDLFileEntryPersistence() { - return oldDLFileEntryPersistence; - } - - /** - * Sets the old d l file entry persistence. - * - * @param oldDLFileEntryPersistence the old d l file entry persistence - */ - public void setOldDLFileEntryPersistence( - OldDLFileEntryPersistence oldDLFileEntryPersistence) { - this.oldDLFileEntryPersistence = oldDLFileEntryPersistence; - } - - /** - * Returns the old d l folder local service. - * - * @return the old d l folder local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFolderLocalService getOldDLFolderLocalService() { - return oldDLFolderLocalService; - } - - /** - * Sets the old d l folder local service. - * - * @param oldDLFolderLocalService the old d l folder local service - */ - public void setOldDLFolderLocalService( - it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService) { - this.oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Returns the old d l folder persistence. - * - * @return the old d l folder persistence - */ - public OldDLFolderPersistence getOldDLFolderPersistence() { - return oldDLFolderPersistence; - } - - /** - * Sets the old d l folder persistence. - * - * @param oldDLFolderPersistence the old d l folder persistence - */ - public void setOldDLFolderPersistence( - OldDLFolderPersistence oldDLFolderPersistence) { - this.oldDLFolderPersistence = oldDLFolderPersistence; - } - - /** - * Returns the old group local service. - * - * @return the old group local service - */ - public it.tref.liferay.portos.importazione.service.OldGroupLocalService getOldGroupLocalService() { - return oldGroupLocalService; - } - - /** - * Sets the old group local service. - * - * @param oldGroupLocalService the old group local service - */ - public void setOldGroupLocalService( - it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService) { - this.oldGroupLocalService = oldGroupLocalService; - } - - /** - * Returns the old group persistence. - * - * @return the old group persistence - */ - public OldGroupPersistence getOldGroupPersistence() { - return oldGroupPersistence; - } - - /** - * Sets the old group persistence. - * - * @param oldGroupPersistence the old group persistence - */ - public void setOldGroupPersistence(OldGroupPersistence oldGroupPersistence) { - this.oldGroupPersistence = oldGroupPersistence; - } - - /** - * Returns the old organization local service. - * - * @return the old organization local service - */ - public it.tref.liferay.portos.importazione.service.OldOrganizationLocalService getOldOrganizationLocalService() { - return oldOrganizationLocalService; - } - - /** - * Sets the old organization local service. - * - * @param oldOrganizationLocalService the old organization local service - */ - public void setOldOrganizationLocalService( - it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService) { - this.oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Returns the old organization persistence. - * - * @return the old organization persistence - */ - public OldOrganizationPersistence getOldOrganizationPersistence() { - return oldOrganizationPersistence; - } - - /** - * Sets the old organization persistence. - * - * @param oldOrganizationPersistence the old organization persistence - */ - public void setOldOrganizationPersistence( - OldOrganizationPersistence oldOrganizationPersistence) { - this.oldOrganizationPersistence = oldOrganizationPersistence; - } - - /** - * Returns the old role local service. - * - * @return the old role local service - */ - public it.tref.liferay.portos.importazione.service.OldRoleLocalService getOldRoleLocalService() { - return oldRoleLocalService; - } - - /** - * Sets the old role local service. - * - * @param oldRoleLocalService the old role local service - */ - public void setOldRoleLocalService( - it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService) { - this.oldRoleLocalService = oldRoleLocalService; - } - - /** - * Returns the old role persistence. - * - * @return the old role persistence - */ - public OldRolePersistence getOldRolePersistence() { - return oldRolePersistence; - } - - /** - * Sets the old role persistence. - * - * @param oldRolePersistence the old role persistence - */ - public void setOldRolePersistence(OldRolePersistence oldRolePersistence) { - this.oldRolePersistence = oldRolePersistence; - } - - /** - * Returns the old user local service. - * - * @return the old user local service - */ - public it.tref.liferay.portos.importazione.service.OldUserLocalService getOldUserLocalService() { - return oldUserLocalService; - } - - /** - * Sets the old user local service. - * - * @param oldUserLocalService the old user local service - */ - public void setOldUserLocalService( - it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService) { - this.oldUserLocalService = oldUserLocalService; - } - - /** - * Returns the old user persistence. - * - * @return the old user persistence - */ - public OldUserPersistence getOldUserPersistence() { - return oldUserPersistence; - } - - /** - * Sets the old user persistence. - * - * @param oldUserPersistence the old user persistence - */ - public void setOldUserPersistence(OldUserPersistence oldUserPersistence) { - this.oldUserPersistence = oldUserPersistence; - } - - /** - * Returns the old user group local service. - * - * @return the old user group local service - */ - public it.tref.liferay.portos.importazione.service.OldUserGroupLocalService getOldUserGroupLocalService() { - return oldUserGroupLocalService; - } - - /** - * Sets the old user group local service. - * - * @param oldUserGroupLocalService the old user group local service - */ - public void setOldUserGroupLocalService( - it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService) { - this.oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Returns the old user group persistence. - * - * @return the old user group persistence - */ - public OldUserGroupPersistence getOldUserGroupPersistence() { - return oldUserGroupPersistence; - } - - /** - * Sets the old user group persistence. - * - * @param oldUserGroupPersistence the old user group persistence - */ - public void setOldUserGroupPersistence( - OldUserGroupPersistence oldUserGroupPersistence) { - this.oldUserGroupPersistence = oldUserGroupPersistence; - } - - /** - * Returns the old user group finder. - * - * @return the old user group finder - */ - public OldUserGroupFinder getOldUserGroupFinder() { - return oldUserGroupFinder; - } - - /** - * Sets the old user group finder. - * - * @param oldUserGroupFinder the old user group finder - */ - public void setOldUserGroupFinder(OldUserGroupFinder oldUserGroupFinder) { - this.oldUserGroupFinder = oldUserGroupFinder; - } - - /** - * Returns the procedura importazione local service. - * - * @return the procedura importazione local service - */ - public it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService getProceduraImportazioneLocalService() { - return proceduraImportazioneLocalService; - } - - /** - * Sets the procedura importazione local service. - * - * @param proceduraImportazioneLocalService the procedura importazione local service - */ - public void setProceduraImportazioneLocalService( - it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - this.proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Returns the procedura importazione persistence. - * - * @return the procedura importazione persistence - */ - public ProceduraImportazionePersistence getProceduraImportazionePersistence() { - return proceduraImportazionePersistence; - } - - /** - * Sets the procedura importazione persistence. - * - * @param proceduraImportazionePersistence the procedura importazione persistence - */ - public void setProceduraImportazionePersistence( - ProceduraImportazionePersistence proceduraImportazionePersistence) { - this.proceduraImportazionePersistence = proceduraImportazionePersistence; - } - - /** - * Returns the stato importazione local service. - * - * @return the stato importazione local service - */ - public it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService getStatoImportazioneLocalService() { - return statoImportazioneLocalService; - } - - /** - * Sets the stato importazione local service. - * - * @param statoImportazioneLocalService the stato importazione local service - */ - public void setStatoImportazioneLocalService( - it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService) { - this.statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Returns the stato importazione persistence. - * - * @return the stato importazione persistence - */ - public StatoImportazionePersistence getStatoImportazionePersistence() { - return statoImportazionePersistence; - } - - /** - * Sets the stato importazione persistence. - * - * @param statoImportazionePersistence the stato importazione persistence - */ - public void setStatoImportazionePersistence( - StatoImportazionePersistence statoImportazionePersistence) { - this.statoImportazionePersistence = statoImportazionePersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.importazione.model.BoProblemiPratica", - boProblemiPraticaLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.importazione.model.BoProblemiPratica"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return BoProblemiPratica.class; - } - - protected String getModelClassName() { - return BoProblemiPratica.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = boProblemiPraticaPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService; - @BeanReference(type = BoConfigurazionePersistence.class) - protected BoConfigurazionePersistence boConfigurazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeProvinciaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService; - @BeanReference(type = FeProvinciaPersistence.class) - protected FeProvinciaPersistence feProvinciaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService; - @BeanReference(type = KaleoInstancePersistence.class) - protected KaleoInstancePersistence kaleoInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService; - @BeanReference(type = KaleoInstanceTokenPersistence.class) - protected KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoLogLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService; - @BeanReference(type = KaleoLogPersistence.class) - protected KaleoLogPersistence kaleoLogPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoNodeLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService; - @BeanReference(type = KaleoNodePersistence.class) - protected KaleoNodePersistence kaleoNodePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService; - @BeanReference(type = KaleoTaskPersistence.class) - protected KaleoTaskPersistence kaleoTaskPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService; - @BeanReference(type = KaleoTaskAssignmentInstancePersistence.class) - protected KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService; - @BeanReference(type = KaleoTaskInstanceTokenPersistence.class) - protected KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService; - @BeanReference(type = OldDLFileEntryPersistence.class) - protected OldDLFileEntryPersistence oldDLFileEntryPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFolderLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService; - @BeanReference(type = OldDLFolderPersistence.class) - protected OldDLFolderPersistence oldDLFolderPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService; - @BeanReference(type = OldGroupPersistence.class) - protected OldGroupPersistence oldGroupPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldOrganizationLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService; - @BeanReference(type = OldOrganizationPersistence.class) - protected OldOrganizationPersistence oldOrganizationPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldRoleLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService; - @BeanReference(type = OldRolePersistence.class) - protected OldRolePersistence oldRolePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService; - @BeanReference(type = OldUserPersistence.class) - protected OldUserPersistence oldUserPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService; - @BeanReference(type = OldUserGroupPersistence.class) - protected OldUserGroupPersistence oldUserGroupPersistence; - @BeanReference(type = OldUserGroupFinder.class) - protected OldUserGroupFinder oldUserGroupFinder; - @BeanReference(type = it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService; - @BeanReference(type = ProceduraImportazionePersistence.class) - protected ProceduraImportazionePersistence proceduraImportazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService; - @BeanReference(type = StatoImportazionePersistence.class) - protected StatoImportazionePersistence statoImportazionePersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private BoProblemiPraticaLocalServiceClpInvoker _clpInvoker = new BoProblemiPraticaLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoProblemiPraticaLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoProblemiPraticaLocalServiceClpInvoker.java deleted file mode 100644 index 730a5f43..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoProblemiPraticaLocalServiceClpInvoker.java +++ /dev/null @@ -1,258 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author 3FC - * @generated - */ -public class BoProblemiPraticaLocalServiceClpInvoker { - public BoProblemiPraticaLocalServiceClpInvoker() { - _methodName0 = "addBoProblemiPratica"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.BoProblemiPratica" - }; - - _methodName1 = "createBoProblemiPratica"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoProblemiPratica"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoProblemiPratica"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.BoProblemiPratica" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoProblemiPratica"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getBoProblemiPratica"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getBoProblemiPraticas"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getBoProblemiPraticasCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateBoProblemiPratica"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.BoProblemiPratica" - }; - - _methodName178 = "getBeanIdentifier"; - - _methodParameterTypes178 = new String[] { }; - - _methodName179 = "setBeanIdentifier"; - - _methodParameterTypes179 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return BoProblemiPraticaLocalServiceUtil.addBoProblemiPratica((it.tref.liferay.portos.importazione.model.BoProblemiPratica)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return BoProblemiPraticaLocalServiceUtil.createBoProblemiPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return BoProblemiPraticaLocalServiceUtil.deleteBoProblemiPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return BoProblemiPraticaLocalServiceUtil.deleteBoProblemiPratica((it.tref.liferay.portos.importazione.model.BoProblemiPratica)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return BoProblemiPraticaLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return BoProblemiPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return BoProblemiPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return BoProblemiPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return BoProblemiPraticaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return BoProblemiPraticaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return BoProblemiPraticaLocalServiceUtil.fetchBoProblemiPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return BoProblemiPraticaLocalServiceUtil.getBoProblemiPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return BoProblemiPraticaLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return BoProblemiPraticaLocalServiceUtil.getBoProblemiPraticas(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return BoProblemiPraticaLocalServiceUtil.getBoProblemiPraticasCount(); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return BoProblemiPraticaLocalServiceUtil.updateBoProblemiPratica((it.tref.liferay.portos.importazione.model.BoProblemiPratica)arguments[0]); - } - - if (_methodName178.equals(name) && - Arrays.deepEquals(_methodParameterTypes178, parameterTypes)) { - return BoProblemiPraticaLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName179.equals(name) && - Arrays.deepEquals(_methodParameterTypes179, parameterTypes)) { - BoProblemiPraticaLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName178; - private String[] _methodParameterTypes178; - private String _methodName179; - private String[] _methodParameterTypes179; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoRelLeggiPraticaLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoRelLeggiPraticaLocalServiceBaseImpl.java deleted file mode 100644 index df76c5dd..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoRelLeggiPraticaLocalServiceBaseImpl.java +++ /dev/null @@ -1,2076 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.importazione.model.BoRelLeggiPratica; -import it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinder; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the bo rel leggi pratica local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.importazione.service.impl.BoRelLeggiPraticaLocalServiceImpl}. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.impl.BoRelLeggiPraticaLocalServiceImpl - * @see it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalServiceUtil - * @generated - */ -public abstract class BoRelLeggiPraticaLocalServiceBaseImpl - extends BaseLocalServiceImpl implements BoRelLeggiPraticaLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalServiceUtil} to access the bo rel leggi pratica local service. - */ - - /** - * Adds the bo rel leggi pratica to the database. Also notifies the appropriate model listeners. - * - * @param boRelLeggiPratica the bo rel leggi pratica - * @return the bo rel leggi pratica that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoRelLeggiPratica addBoRelLeggiPratica( - BoRelLeggiPratica boRelLeggiPratica) throws SystemException { - boRelLeggiPratica.setNew(true); - - return boRelLeggiPraticaPersistence.update(boRelLeggiPratica); - } - - /** - * Creates a new bo rel leggi pratica with the primary key. Does not add the bo rel leggi pratica to the database. - * - * @param artLeggeId the primary key for the new bo rel leggi pratica - * @return the new bo rel leggi pratica - */ - @Override - public BoRelLeggiPratica createBoRelLeggiPratica(long artLeggeId) { - return boRelLeggiPraticaPersistence.create(artLeggeId); - } - - /** - * Deletes the bo rel leggi pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param artLeggeId the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica that was removed - * @throws PortalException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoRelLeggiPratica deleteBoRelLeggiPratica(long artLeggeId) - throws PortalException, SystemException { - return boRelLeggiPraticaPersistence.remove(artLeggeId); - } - - /** - * Deletes the bo rel leggi pratica from the database. Also notifies the appropriate model listeners. - * - * @param boRelLeggiPratica the bo rel leggi pratica - * @return the bo rel leggi pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoRelLeggiPratica deleteBoRelLeggiPratica( - BoRelLeggiPratica boRelLeggiPratica) throws SystemException { - return boRelLeggiPraticaPersistence.remove(boRelLeggiPratica); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(BoRelLeggiPratica.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return boRelLeggiPraticaPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return boRelLeggiPraticaPersistence.findWithDynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return boRelLeggiPraticaPersistence.findWithDynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return boRelLeggiPraticaPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return boRelLeggiPraticaPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public BoRelLeggiPratica fetchBoRelLeggiPratica(long artLeggeId) - throws SystemException { - return boRelLeggiPraticaPersistence.fetchByPrimaryKey(artLeggeId); - } - - /** - * Returns the bo rel leggi pratica with the primary key. - * - * @param artLeggeId the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica - * @throws PortalException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoRelLeggiPratica getBoRelLeggiPratica(long artLeggeId) - throws PortalException, SystemException { - return boRelLeggiPraticaPersistence.findByPrimaryKey(artLeggeId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return boRelLeggiPraticaPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns a range of all the bo rel leggi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @return the range of bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List getBoRelLeggiPraticas(int start, int end) - throws SystemException { - return boRelLeggiPraticaPersistence.findAll(start, end); - } - - /** - * Returns the number of bo rel leggi praticas. - * - * @return the number of bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoRelLeggiPraticasCount() throws SystemException { - return boRelLeggiPraticaPersistence.countAll(); - } - - /** - * Updates the bo rel leggi pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boRelLeggiPratica the bo rel leggi pratica - * @return the bo rel leggi pratica that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoRelLeggiPratica updateBoRelLeggiPratica( - BoRelLeggiPratica boRelLeggiPratica) throws SystemException { - return boRelLeggiPraticaPersistence.update(boRelLeggiPratica); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.importazione.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.importazione.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo configurazione local service. - * - * @return the bo configurazione local service - */ - public it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService getBoConfigurazioneLocalService() { - return boConfigurazioneLocalService; - } - - /** - * Sets the bo configurazione local service. - * - * @param boConfigurazioneLocalService the bo configurazione local service - */ - public void setBoConfigurazioneLocalService( - it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService) { - this.boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Returns the bo configurazione persistence. - * - * @return the bo configurazione persistence - */ - public BoConfigurazionePersistence getBoConfigurazionePersistence() { - return boConfigurazionePersistence; - } - - /** - * Sets the bo configurazione persistence. - * - * @param boConfigurazionePersistence the bo configurazione persistence - */ - public void setBoConfigurazionePersistence( - BoConfigurazionePersistence boConfigurazionePersistence) { - this.boConfigurazionePersistence = boConfigurazionePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.importazione.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.importazione.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.importazione.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.importazione.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.importazione.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.importazione.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe provincia local service. - * - * @return the fe provincia local service - */ - public it.tref.liferay.portos.importazione.service.FeProvinciaLocalService getFeProvinciaLocalService() { - return feProvinciaLocalService; - } - - /** - * Sets the fe provincia local service. - * - * @param feProvinciaLocalService the fe provincia local service - */ - public void setFeProvinciaLocalService( - it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService) { - this.feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Returns the fe provincia persistence. - * - * @return the fe provincia persistence - */ - public FeProvinciaPersistence getFeProvinciaPersistence() { - return feProvinciaPersistence; - } - - /** - * Sets the fe provincia persistence. - * - * @param feProvinciaPersistence the fe provincia persistence - */ - public void setFeProvinciaPersistence( - FeProvinciaPersistence feProvinciaPersistence) { - this.feProvinciaPersistence = feProvinciaPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.importazione.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the kaleo instance local service. - * - * @return the kaleo instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService getKaleoInstanceLocalService() { - return kaleoInstanceLocalService; - } - - /** - * Sets the kaleo instance local service. - * - * @param kaleoInstanceLocalService the kaleo instance local service - */ - public void setKaleoInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService) { - this.kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Returns the kaleo instance persistence. - * - * @return the kaleo instance persistence - */ - public KaleoInstancePersistence getKaleoInstancePersistence() { - return kaleoInstancePersistence; - } - - /** - * Sets the kaleo instance persistence. - * - * @param kaleoInstancePersistence the kaleo instance persistence - */ - public void setKaleoInstancePersistence( - KaleoInstancePersistence kaleoInstancePersistence) { - this.kaleoInstancePersistence = kaleoInstancePersistence; - } - - /** - * Returns the kaleo instance token local service. - * - * @return the kaleo instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService getKaleoInstanceTokenLocalService() { - return kaleoInstanceTokenLocalService; - } - - /** - * Sets the kaleo instance token local service. - * - * @param kaleoInstanceTokenLocalService the kaleo instance token local service - */ - public void setKaleoInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - this.kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Returns the kaleo instance token persistence. - * - * @return the kaleo instance token persistence - */ - public KaleoInstanceTokenPersistence getKaleoInstanceTokenPersistence() { - return kaleoInstanceTokenPersistence; - } - - /** - * Sets the kaleo instance token persistence. - * - * @param kaleoInstanceTokenPersistence the kaleo instance token persistence - */ - public void setKaleoInstanceTokenPersistence( - KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence) { - this.kaleoInstanceTokenPersistence = kaleoInstanceTokenPersistence; - } - - /** - * Returns the kaleo log local service. - * - * @return the kaleo log local service - */ - public it.tref.liferay.portos.importazione.service.KaleoLogLocalService getKaleoLogLocalService() { - return kaleoLogLocalService; - } - - /** - * Sets the kaleo log local service. - * - * @param kaleoLogLocalService the kaleo log local service - */ - public void setKaleoLogLocalService( - it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService) { - this.kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Returns the kaleo log persistence. - * - * @return the kaleo log persistence - */ - public KaleoLogPersistence getKaleoLogPersistence() { - return kaleoLogPersistence; - } - - /** - * Sets the kaleo log persistence. - * - * @param kaleoLogPersistence the kaleo log persistence - */ - public void setKaleoLogPersistence(KaleoLogPersistence kaleoLogPersistence) { - this.kaleoLogPersistence = kaleoLogPersistence; - } - - /** - * Returns the kaleo node local service. - * - * @return the kaleo node local service - */ - public it.tref.liferay.portos.importazione.service.KaleoNodeLocalService getKaleoNodeLocalService() { - return kaleoNodeLocalService; - } - - /** - * Sets the kaleo node local service. - * - * @param kaleoNodeLocalService the kaleo node local service - */ - public void setKaleoNodeLocalService( - it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService) { - this.kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Returns the kaleo node persistence. - * - * @return the kaleo node persistence - */ - public KaleoNodePersistence getKaleoNodePersistence() { - return kaleoNodePersistence; - } - - /** - * Sets the kaleo node persistence. - * - * @param kaleoNodePersistence the kaleo node persistence - */ - public void setKaleoNodePersistence( - KaleoNodePersistence kaleoNodePersistence) { - this.kaleoNodePersistence = kaleoNodePersistence; - } - - /** - * Returns the kaleo task local service. - * - * @return the kaleo task local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskLocalService getKaleoTaskLocalService() { - return kaleoTaskLocalService; - } - - /** - * Sets the kaleo task local service. - * - * @param kaleoTaskLocalService the kaleo task local service - */ - public void setKaleoTaskLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService) { - this.kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Returns the kaleo task persistence. - * - * @return the kaleo task persistence - */ - public KaleoTaskPersistence getKaleoTaskPersistence() { - return kaleoTaskPersistence; - } - - /** - * Sets the kaleo task persistence. - * - * @param kaleoTaskPersistence the kaleo task persistence - */ - public void setKaleoTaskPersistence( - KaleoTaskPersistence kaleoTaskPersistence) { - this.kaleoTaskPersistence = kaleoTaskPersistence; - } - - /** - * Returns the kaleo task assignment instance local service. - * - * @return the kaleo task assignment instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService getKaleoTaskAssignmentInstanceLocalService() { - return kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Sets the kaleo task assignment instance local service. - * - * @param kaleoTaskAssignmentInstanceLocalService the kaleo task assignment instance local service - */ - public void setKaleoTaskAssignmentInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - this.kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Returns the kaleo task assignment instance persistence. - * - * @return the kaleo task assignment instance persistence - */ - public KaleoTaskAssignmentInstancePersistence getKaleoTaskAssignmentInstancePersistence() { - return kaleoTaskAssignmentInstancePersistence; - } - - /** - * Sets the kaleo task assignment instance persistence. - * - * @param kaleoTaskAssignmentInstancePersistence the kaleo task assignment instance persistence - */ - public void setKaleoTaskAssignmentInstancePersistence( - KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence) { - this.kaleoTaskAssignmentInstancePersistence = kaleoTaskAssignmentInstancePersistence; - } - - /** - * Returns the kaleo task instance token local service. - * - * @return the kaleo task instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService getKaleoTaskInstanceTokenLocalService() { - return kaleoTaskInstanceTokenLocalService; - } - - /** - * Sets the kaleo task instance token local service. - * - * @param kaleoTaskInstanceTokenLocalService the kaleo task instance token local service - */ - public void setKaleoTaskInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - this.kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Returns the kaleo task instance token persistence. - * - * @return the kaleo task instance token persistence - */ - public KaleoTaskInstanceTokenPersistence getKaleoTaskInstanceTokenPersistence() { - return kaleoTaskInstanceTokenPersistence; - } - - /** - * Sets the kaleo task instance token persistence. - * - * @param kaleoTaskInstanceTokenPersistence the kaleo task instance token persistence - */ - public void setKaleoTaskInstanceTokenPersistence( - KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence) { - this.kaleoTaskInstanceTokenPersistence = kaleoTaskInstanceTokenPersistence; - } - - /** - * Returns the old d l file entry local service. - * - * @return the old d l file entry local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService getOldDLFileEntryLocalService() { - return oldDLFileEntryLocalService; - } - - /** - * Sets the old d l file entry local service. - * - * @param oldDLFileEntryLocalService the old d l file entry local service - */ - public void setOldDLFileEntryLocalService( - it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService) { - this.oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Returns the old d l file entry persistence. - * - * @return the old d l file entry persistence - */ - public OldDLFileEntryPersistence getOldDLFileEntryPersistence() { - return oldDLFileEntryPersistence; - } - - /** - * Sets the old d l file entry persistence. - * - * @param oldDLFileEntryPersistence the old d l file entry persistence - */ - public void setOldDLFileEntryPersistence( - OldDLFileEntryPersistence oldDLFileEntryPersistence) { - this.oldDLFileEntryPersistence = oldDLFileEntryPersistence; - } - - /** - * Returns the old d l folder local service. - * - * @return the old d l folder local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFolderLocalService getOldDLFolderLocalService() { - return oldDLFolderLocalService; - } - - /** - * Sets the old d l folder local service. - * - * @param oldDLFolderLocalService the old d l folder local service - */ - public void setOldDLFolderLocalService( - it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService) { - this.oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Returns the old d l folder persistence. - * - * @return the old d l folder persistence - */ - public OldDLFolderPersistence getOldDLFolderPersistence() { - return oldDLFolderPersistence; - } - - /** - * Sets the old d l folder persistence. - * - * @param oldDLFolderPersistence the old d l folder persistence - */ - public void setOldDLFolderPersistence( - OldDLFolderPersistence oldDLFolderPersistence) { - this.oldDLFolderPersistence = oldDLFolderPersistence; - } - - /** - * Returns the old group local service. - * - * @return the old group local service - */ - public it.tref.liferay.portos.importazione.service.OldGroupLocalService getOldGroupLocalService() { - return oldGroupLocalService; - } - - /** - * Sets the old group local service. - * - * @param oldGroupLocalService the old group local service - */ - public void setOldGroupLocalService( - it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService) { - this.oldGroupLocalService = oldGroupLocalService; - } - - /** - * Returns the old group persistence. - * - * @return the old group persistence - */ - public OldGroupPersistence getOldGroupPersistence() { - return oldGroupPersistence; - } - - /** - * Sets the old group persistence. - * - * @param oldGroupPersistence the old group persistence - */ - public void setOldGroupPersistence(OldGroupPersistence oldGroupPersistence) { - this.oldGroupPersistence = oldGroupPersistence; - } - - /** - * Returns the old organization local service. - * - * @return the old organization local service - */ - public it.tref.liferay.portos.importazione.service.OldOrganizationLocalService getOldOrganizationLocalService() { - return oldOrganizationLocalService; - } - - /** - * Sets the old organization local service. - * - * @param oldOrganizationLocalService the old organization local service - */ - public void setOldOrganizationLocalService( - it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService) { - this.oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Returns the old organization persistence. - * - * @return the old organization persistence - */ - public OldOrganizationPersistence getOldOrganizationPersistence() { - return oldOrganizationPersistence; - } - - /** - * Sets the old organization persistence. - * - * @param oldOrganizationPersistence the old organization persistence - */ - public void setOldOrganizationPersistence( - OldOrganizationPersistence oldOrganizationPersistence) { - this.oldOrganizationPersistence = oldOrganizationPersistence; - } - - /** - * Returns the old role local service. - * - * @return the old role local service - */ - public it.tref.liferay.portos.importazione.service.OldRoleLocalService getOldRoleLocalService() { - return oldRoleLocalService; - } - - /** - * Sets the old role local service. - * - * @param oldRoleLocalService the old role local service - */ - public void setOldRoleLocalService( - it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService) { - this.oldRoleLocalService = oldRoleLocalService; - } - - /** - * Returns the old role persistence. - * - * @return the old role persistence - */ - public OldRolePersistence getOldRolePersistence() { - return oldRolePersistence; - } - - /** - * Sets the old role persistence. - * - * @param oldRolePersistence the old role persistence - */ - public void setOldRolePersistence(OldRolePersistence oldRolePersistence) { - this.oldRolePersistence = oldRolePersistence; - } - - /** - * Returns the old user local service. - * - * @return the old user local service - */ - public it.tref.liferay.portos.importazione.service.OldUserLocalService getOldUserLocalService() { - return oldUserLocalService; - } - - /** - * Sets the old user local service. - * - * @param oldUserLocalService the old user local service - */ - public void setOldUserLocalService( - it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService) { - this.oldUserLocalService = oldUserLocalService; - } - - /** - * Returns the old user persistence. - * - * @return the old user persistence - */ - public OldUserPersistence getOldUserPersistence() { - return oldUserPersistence; - } - - /** - * Sets the old user persistence. - * - * @param oldUserPersistence the old user persistence - */ - public void setOldUserPersistence(OldUserPersistence oldUserPersistence) { - this.oldUserPersistence = oldUserPersistence; - } - - /** - * Returns the old user group local service. - * - * @return the old user group local service - */ - public it.tref.liferay.portos.importazione.service.OldUserGroupLocalService getOldUserGroupLocalService() { - return oldUserGroupLocalService; - } - - /** - * Sets the old user group local service. - * - * @param oldUserGroupLocalService the old user group local service - */ - public void setOldUserGroupLocalService( - it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService) { - this.oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Returns the old user group persistence. - * - * @return the old user group persistence - */ - public OldUserGroupPersistence getOldUserGroupPersistence() { - return oldUserGroupPersistence; - } - - /** - * Sets the old user group persistence. - * - * @param oldUserGroupPersistence the old user group persistence - */ - public void setOldUserGroupPersistence( - OldUserGroupPersistence oldUserGroupPersistence) { - this.oldUserGroupPersistence = oldUserGroupPersistence; - } - - /** - * Returns the old user group finder. - * - * @return the old user group finder - */ - public OldUserGroupFinder getOldUserGroupFinder() { - return oldUserGroupFinder; - } - - /** - * Sets the old user group finder. - * - * @param oldUserGroupFinder the old user group finder - */ - public void setOldUserGroupFinder(OldUserGroupFinder oldUserGroupFinder) { - this.oldUserGroupFinder = oldUserGroupFinder; - } - - /** - * Returns the procedura importazione local service. - * - * @return the procedura importazione local service - */ - public it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService getProceduraImportazioneLocalService() { - return proceduraImportazioneLocalService; - } - - /** - * Sets the procedura importazione local service. - * - * @param proceduraImportazioneLocalService the procedura importazione local service - */ - public void setProceduraImportazioneLocalService( - it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - this.proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Returns the procedura importazione persistence. - * - * @return the procedura importazione persistence - */ - public ProceduraImportazionePersistence getProceduraImportazionePersistence() { - return proceduraImportazionePersistence; - } - - /** - * Sets the procedura importazione persistence. - * - * @param proceduraImportazionePersistence the procedura importazione persistence - */ - public void setProceduraImportazionePersistence( - ProceduraImportazionePersistence proceduraImportazionePersistence) { - this.proceduraImportazionePersistence = proceduraImportazionePersistence; - } - - /** - * Returns the stato importazione local service. - * - * @return the stato importazione local service - */ - public it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService getStatoImportazioneLocalService() { - return statoImportazioneLocalService; - } - - /** - * Sets the stato importazione local service. - * - * @param statoImportazioneLocalService the stato importazione local service - */ - public void setStatoImportazioneLocalService( - it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService) { - this.statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Returns the stato importazione persistence. - * - * @return the stato importazione persistence - */ - public StatoImportazionePersistence getStatoImportazionePersistence() { - return statoImportazionePersistence; - } - - /** - * Sets the stato importazione persistence. - * - * @param statoImportazionePersistence the stato importazione persistence - */ - public void setStatoImportazionePersistence( - StatoImportazionePersistence statoImportazionePersistence) { - this.statoImportazionePersistence = statoImportazionePersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.importazione.model.BoRelLeggiPratica", - boRelLeggiPraticaLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.importazione.model.BoRelLeggiPratica"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return BoRelLeggiPratica.class; - } - - protected String getModelClassName() { - return BoRelLeggiPratica.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = boRelLeggiPraticaPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService; - @BeanReference(type = BoConfigurazionePersistence.class) - protected BoConfigurazionePersistence boConfigurazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeProvinciaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService; - @BeanReference(type = FeProvinciaPersistence.class) - protected FeProvinciaPersistence feProvinciaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService; - @BeanReference(type = KaleoInstancePersistence.class) - protected KaleoInstancePersistence kaleoInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService; - @BeanReference(type = KaleoInstanceTokenPersistence.class) - protected KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoLogLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService; - @BeanReference(type = KaleoLogPersistence.class) - protected KaleoLogPersistence kaleoLogPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoNodeLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService; - @BeanReference(type = KaleoNodePersistence.class) - protected KaleoNodePersistence kaleoNodePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService; - @BeanReference(type = KaleoTaskPersistence.class) - protected KaleoTaskPersistence kaleoTaskPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService; - @BeanReference(type = KaleoTaskAssignmentInstancePersistence.class) - protected KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService; - @BeanReference(type = KaleoTaskInstanceTokenPersistence.class) - protected KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService; - @BeanReference(type = OldDLFileEntryPersistence.class) - protected OldDLFileEntryPersistence oldDLFileEntryPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFolderLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService; - @BeanReference(type = OldDLFolderPersistence.class) - protected OldDLFolderPersistence oldDLFolderPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService; - @BeanReference(type = OldGroupPersistence.class) - protected OldGroupPersistence oldGroupPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldOrganizationLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService; - @BeanReference(type = OldOrganizationPersistence.class) - protected OldOrganizationPersistence oldOrganizationPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldRoleLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService; - @BeanReference(type = OldRolePersistence.class) - protected OldRolePersistence oldRolePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService; - @BeanReference(type = OldUserPersistence.class) - protected OldUserPersistence oldUserPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService; - @BeanReference(type = OldUserGroupPersistence.class) - protected OldUserGroupPersistence oldUserGroupPersistence; - @BeanReference(type = OldUserGroupFinder.class) - protected OldUserGroupFinder oldUserGroupFinder; - @BeanReference(type = it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService; - @BeanReference(type = ProceduraImportazionePersistence.class) - protected ProceduraImportazionePersistence proceduraImportazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService; - @BeanReference(type = StatoImportazionePersistence.class) - protected StatoImportazionePersistence statoImportazionePersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private BoRelLeggiPraticaLocalServiceClpInvoker _clpInvoker = new BoRelLeggiPraticaLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoRelLeggiPraticaLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoRelLeggiPraticaLocalServiceClpInvoker.java deleted file mode 100644 index 971eb923..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoRelLeggiPraticaLocalServiceClpInvoker.java +++ /dev/null @@ -1,258 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author 3FC - * @generated - */ -public class BoRelLeggiPraticaLocalServiceClpInvoker { - public BoRelLeggiPraticaLocalServiceClpInvoker() { - _methodName0 = "addBoRelLeggiPratica"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.BoRelLeggiPratica" - }; - - _methodName1 = "createBoRelLeggiPratica"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoRelLeggiPratica"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoRelLeggiPratica"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.BoRelLeggiPratica" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoRelLeggiPratica"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getBoRelLeggiPratica"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getBoRelLeggiPraticas"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getBoRelLeggiPraticasCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateBoRelLeggiPratica"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.BoRelLeggiPratica" - }; - - _methodName178 = "getBeanIdentifier"; - - _methodParameterTypes178 = new String[] { }; - - _methodName179 = "setBeanIdentifier"; - - _methodParameterTypes179 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return BoRelLeggiPraticaLocalServiceUtil.addBoRelLeggiPratica((it.tref.liferay.portos.importazione.model.BoRelLeggiPratica)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return BoRelLeggiPraticaLocalServiceUtil.createBoRelLeggiPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return BoRelLeggiPraticaLocalServiceUtil.deleteBoRelLeggiPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return BoRelLeggiPraticaLocalServiceUtil.deleteBoRelLeggiPratica((it.tref.liferay.portos.importazione.model.BoRelLeggiPratica)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return BoRelLeggiPraticaLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return BoRelLeggiPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return BoRelLeggiPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return BoRelLeggiPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return BoRelLeggiPraticaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return BoRelLeggiPraticaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return BoRelLeggiPraticaLocalServiceUtil.fetchBoRelLeggiPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return BoRelLeggiPraticaLocalServiceUtil.getBoRelLeggiPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return BoRelLeggiPraticaLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return BoRelLeggiPraticaLocalServiceUtil.getBoRelLeggiPraticas(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return BoRelLeggiPraticaLocalServiceUtil.getBoRelLeggiPraticasCount(); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return BoRelLeggiPraticaLocalServiceUtil.updateBoRelLeggiPratica((it.tref.liferay.portos.importazione.model.BoRelLeggiPratica)arguments[0]); - } - - if (_methodName178.equals(name) && - Arrays.deepEquals(_methodParameterTypes178, parameterTypes)) { - return BoRelLeggiPraticaLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName179.equals(name) && - Arrays.deepEquals(_methodParameterTypes179, parameterTypes)) { - BoRelLeggiPraticaLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName178; - private String[] _methodParameterTypes178; - private String _methodName179; - private String[] _methodParameterTypes179; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoSistemaCostruttivoLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoSistemaCostruttivoLocalServiceBaseImpl.java deleted file mode 100644 index dcdc0d03..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoSistemaCostruttivoLocalServiceBaseImpl.java +++ /dev/null @@ -1,2137 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo; -import it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinder; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the bo sistema costruttivo local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.importazione.service.impl.BoSistemaCostruttivoLocalServiceImpl}. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.impl.BoSistemaCostruttivoLocalServiceImpl - * @see it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalServiceUtil - * @generated - */ -public abstract class BoSistemaCostruttivoLocalServiceBaseImpl - extends BaseLocalServiceImpl implements BoSistemaCostruttivoLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalServiceUtil} to access the bo sistema costruttivo local service. - */ - - /** - * Adds the bo sistema costruttivo to the database. Also notifies the appropriate model listeners. - * - * @param boSistemaCostruttivo the bo sistema costruttivo - * @return the bo sistema costruttivo that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoSistemaCostruttivo addBoSistemaCostruttivo( - BoSistemaCostruttivo boSistemaCostruttivo) throws SystemException { - boSistemaCostruttivo.setNew(true); - - return boSistemaCostruttivoPersistence.update(boSistemaCostruttivo); - } - - /** - * Creates a new bo sistema costruttivo with the primary key. Does not add the bo sistema costruttivo to the database. - * - * @param sistemaCostruttivoId the primary key for the new bo sistema costruttivo - * @return the new bo sistema costruttivo - */ - @Override - public BoSistemaCostruttivo createBoSistemaCostruttivo( - long sistemaCostruttivoId) { - return boSistemaCostruttivoPersistence.create(sistemaCostruttivoId); - } - - /** - * Deletes the bo sistema costruttivo with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param sistemaCostruttivoId the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo that was removed - * @throws PortalException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoSistemaCostruttivo deleteBoSistemaCostruttivo( - long sistemaCostruttivoId) throws PortalException, SystemException { - return boSistemaCostruttivoPersistence.remove(sistemaCostruttivoId); - } - - /** - * Deletes the bo sistema costruttivo from the database. Also notifies the appropriate model listeners. - * - * @param boSistemaCostruttivo the bo sistema costruttivo - * @return the bo sistema costruttivo that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoSistemaCostruttivo deleteBoSistemaCostruttivo( - BoSistemaCostruttivo boSistemaCostruttivo) throws SystemException { - return boSistemaCostruttivoPersistence.remove(boSistemaCostruttivo); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(BoSistemaCostruttivo.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return boSistemaCostruttivoPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return boSistemaCostruttivoPersistence.findWithDynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return boSistemaCostruttivoPersistence.findWithDynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return boSistemaCostruttivoPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return boSistemaCostruttivoPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public BoSistemaCostruttivo fetchBoSistemaCostruttivo( - long sistemaCostruttivoId) throws SystemException { - return boSistemaCostruttivoPersistence.fetchByPrimaryKey(sistemaCostruttivoId); - } - - /** - * Returns the bo sistema costruttivo with the matching UUID and company. - * - * @param uuid the bo sistema costruttivo's UUID - * @param companyId the primary key of the company - * @return the matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo fetchBoSistemaCostruttivoByUuidAndCompanyId( - String uuid, long companyId) throws SystemException { - return boSistemaCostruttivoPersistence.fetchByUuid_C_First(uuid, - companyId, null); - } - - /** - * Returns the bo sistema costruttivo matching the UUID and group. - * - * @param uuid the bo sistema costruttivo's UUID - * @param groupId the primary key of the group - * @return the matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo fetchBoSistemaCostruttivoByUuidAndGroupId( - String uuid, long groupId) throws SystemException { - return boSistemaCostruttivoPersistence.fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the bo sistema costruttivo with the primary key. - * - * @param sistemaCostruttivoId the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo - * @throws PortalException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo getBoSistemaCostruttivo( - long sistemaCostruttivoId) throws PortalException, SystemException { - return boSistemaCostruttivoPersistence.findByPrimaryKey(sistemaCostruttivoId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return boSistemaCostruttivoPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns the bo sistema costruttivo with the matching UUID and company. - * - * @param uuid the bo sistema costruttivo's UUID - * @param companyId the primary key of the company - * @return the matching bo sistema costruttivo - * @throws PortalException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo getBoSistemaCostruttivoByUuidAndCompanyId( - String uuid, long companyId) throws PortalException, SystemException { - return boSistemaCostruttivoPersistence.findByUuid_C_First(uuid, - companyId, null); - } - - /** - * Returns the bo sistema costruttivo matching the UUID and group. - * - * @param uuid the bo sistema costruttivo's UUID - * @param groupId the primary key of the group - * @return the matching bo sistema costruttivo - * @throws PortalException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo getBoSistemaCostruttivoByUuidAndGroupId( - String uuid, long groupId) throws PortalException, SystemException { - return boSistemaCostruttivoPersistence.findByUUID_G(uuid, groupId); - } - - /** - * Returns a range of all the bo sistema costruttivos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public List getBoSistemaCostruttivos(int start, - int end) throws SystemException { - return boSistemaCostruttivoPersistence.findAll(start, end); - } - - /** - * Returns the number of bo sistema costruttivos. - * - * @return the number of bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoSistemaCostruttivosCount() throws SystemException { - return boSistemaCostruttivoPersistence.countAll(); - } - - /** - * Updates the bo sistema costruttivo in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boSistemaCostruttivo the bo sistema costruttivo - * @return the bo sistema costruttivo that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoSistemaCostruttivo updateBoSistemaCostruttivo( - BoSistemaCostruttivo boSistemaCostruttivo) throws SystemException { - return boSistemaCostruttivoPersistence.update(boSistemaCostruttivo); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.importazione.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.importazione.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo configurazione local service. - * - * @return the bo configurazione local service - */ - public it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService getBoConfigurazioneLocalService() { - return boConfigurazioneLocalService; - } - - /** - * Sets the bo configurazione local service. - * - * @param boConfigurazioneLocalService the bo configurazione local service - */ - public void setBoConfigurazioneLocalService( - it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService) { - this.boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Returns the bo configurazione persistence. - * - * @return the bo configurazione persistence - */ - public BoConfigurazionePersistence getBoConfigurazionePersistence() { - return boConfigurazionePersistence; - } - - /** - * Sets the bo configurazione persistence. - * - * @param boConfigurazionePersistence the bo configurazione persistence - */ - public void setBoConfigurazionePersistence( - BoConfigurazionePersistence boConfigurazionePersistence) { - this.boConfigurazionePersistence = boConfigurazionePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.importazione.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.importazione.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.importazione.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.importazione.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.importazione.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.importazione.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe provincia local service. - * - * @return the fe provincia local service - */ - public it.tref.liferay.portos.importazione.service.FeProvinciaLocalService getFeProvinciaLocalService() { - return feProvinciaLocalService; - } - - /** - * Sets the fe provincia local service. - * - * @param feProvinciaLocalService the fe provincia local service - */ - public void setFeProvinciaLocalService( - it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService) { - this.feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Returns the fe provincia persistence. - * - * @return the fe provincia persistence - */ - public FeProvinciaPersistence getFeProvinciaPersistence() { - return feProvinciaPersistence; - } - - /** - * Sets the fe provincia persistence. - * - * @param feProvinciaPersistence the fe provincia persistence - */ - public void setFeProvinciaPersistence( - FeProvinciaPersistence feProvinciaPersistence) { - this.feProvinciaPersistence = feProvinciaPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.importazione.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the kaleo instance local service. - * - * @return the kaleo instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService getKaleoInstanceLocalService() { - return kaleoInstanceLocalService; - } - - /** - * Sets the kaleo instance local service. - * - * @param kaleoInstanceLocalService the kaleo instance local service - */ - public void setKaleoInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService) { - this.kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Returns the kaleo instance persistence. - * - * @return the kaleo instance persistence - */ - public KaleoInstancePersistence getKaleoInstancePersistence() { - return kaleoInstancePersistence; - } - - /** - * Sets the kaleo instance persistence. - * - * @param kaleoInstancePersistence the kaleo instance persistence - */ - public void setKaleoInstancePersistence( - KaleoInstancePersistence kaleoInstancePersistence) { - this.kaleoInstancePersistence = kaleoInstancePersistence; - } - - /** - * Returns the kaleo instance token local service. - * - * @return the kaleo instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService getKaleoInstanceTokenLocalService() { - return kaleoInstanceTokenLocalService; - } - - /** - * Sets the kaleo instance token local service. - * - * @param kaleoInstanceTokenLocalService the kaleo instance token local service - */ - public void setKaleoInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - this.kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Returns the kaleo instance token persistence. - * - * @return the kaleo instance token persistence - */ - public KaleoInstanceTokenPersistence getKaleoInstanceTokenPersistence() { - return kaleoInstanceTokenPersistence; - } - - /** - * Sets the kaleo instance token persistence. - * - * @param kaleoInstanceTokenPersistence the kaleo instance token persistence - */ - public void setKaleoInstanceTokenPersistence( - KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence) { - this.kaleoInstanceTokenPersistence = kaleoInstanceTokenPersistence; - } - - /** - * Returns the kaleo log local service. - * - * @return the kaleo log local service - */ - public it.tref.liferay.portos.importazione.service.KaleoLogLocalService getKaleoLogLocalService() { - return kaleoLogLocalService; - } - - /** - * Sets the kaleo log local service. - * - * @param kaleoLogLocalService the kaleo log local service - */ - public void setKaleoLogLocalService( - it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService) { - this.kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Returns the kaleo log persistence. - * - * @return the kaleo log persistence - */ - public KaleoLogPersistence getKaleoLogPersistence() { - return kaleoLogPersistence; - } - - /** - * Sets the kaleo log persistence. - * - * @param kaleoLogPersistence the kaleo log persistence - */ - public void setKaleoLogPersistence(KaleoLogPersistence kaleoLogPersistence) { - this.kaleoLogPersistence = kaleoLogPersistence; - } - - /** - * Returns the kaleo node local service. - * - * @return the kaleo node local service - */ - public it.tref.liferay.portos.importazione.service.KaleoNodeLocalService getKaleoNodeLocalService() { - return kaleoNodeLocalService; - } - - /** - * Sets the kaleo node local service. - * - * @param kaleoNodeLocalService the kaleo node local service - */ - public void setKaleoNodeLocalService( - it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService) { - this.kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Returns the kaleo node persistence. - * - * @return the kaleo node persistence - */ - public KaleoNodePersistence getKaleoNodePersistence() { - return kaleoNodePersistence; - } - - /** - * Sets the kaleo node persistence. - * - * @param kaleoNodePersistence the kaleo node persistence - */ - public void setKaleoNodePersistence( - KaleoNodePersistence kaleoNodePersistence) { - this.kaleoNodePersistence = kaleoNodePersistence; - } - - /** - * Returns the kaleo task local service. - * - * @return the kaleo task local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskLocalService getKaleoTaskLocalService() { - return kaleoTaskLocalService; - } - - /** - * Sets the kaleo task local service. - * - * @param kaleoTaskLocalService the kaleo task local service - */ - public void setKaleoTaskLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService) { - this.kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Returns the kaleo task persistence. - * - * @return the kaleo task persistence - */ - public KaleoTaskPersistence getKaleoTaskPersistence() { - return kaleoTaskPersistence; - } - - /** - * Sets the kaleo task persistence. - * - * @param kaleoTaskPersistence the kaleo task persistence - */ - public void setKaleoTaskPersistence( - KaleoTaskPersistence kaleoTaskPersistence) { - this.kaleoTaskPersistence = kaleoTaskPersistence; - } - - /** - * Returns the kaleo task assignment instance local service. - * - * @return the kaleo task assignment instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService getKaleoTaskAssignmentInstanceLocalService() { - return kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Sets the kaleo task assignment instance local service. - * - * @param kaleoTaskAssignmentInstanceLocalService the kaleo task assignment instance local service - */ - public void setKaleoTaskAssignmentInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - this.kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Returns the kaleo task assignment instance persistence. - * - * @return the kaleo task assignment instance persistence - */ - public KaleoTaskAssignmentInstancePersistence getKaleoTaskAssignmentInstancePersistence() { - return kaleoTaskAssignmentInstancePersistence; - } - - /** - * Sets the kaleo task assignment instance persistence. - * - * @param kaleoTaskAssignmentInstancePersistence the kaleo task assignment instance persistence - */ - public void setKaleoTaskAssignmentInstancePersistence( - KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence) { - this.kaleoTaskAssignmentInstancePersistence = kaleoTaskAssignmentInstancePersistence; - } - - /** - * Returns the kaleo task instance token local service. - * - * @return the kaleo task instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService getKaleoTaskInstanceTokenLocalService() { - return kaleoTaskInstanceTokenLocalService; - } - - /** - * Sets the kaleo task instance token local service. - * - * @param kaleoTaskInstanceTokenLocalService the kaleo task instance token local service - */ - public void setKaleoTaskInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - this.kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Returns the kaleo task instance token persistence. - * - * @return the kaleo task instance token persistence - */ - public KaleoTaskInstanceTokenPersistence getKaleoTaskInstanceTokenPersistence() { - return kaleoTaskInstanceTokenPersistence; - } - - /** - * Sets the kaleo task instance token persistence. - * - * @param kaleoTaskInstanceTokenPersistence the kaleo task instance token persistence - */ - public void setKaleoTaskInstanceTokenPersistence( - KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence) { - this.kaleoTaskInstanceTokenPersistence = kaleoTaskInstanceTokenPersistence; - } - - /** - * Returns the old d l file entry local service. - * - * @return the old d l file entry local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService getOldDLFileEntryLocalService() { - return oldDLFileEntryLocalService; - } - - /** - * Sets the old d l file entry local service. - * - * @param oldDLFileEntryLocalService the old d l file entry local service - */ - public void setOldDLFileEntryLocalService( - it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService) { - this.oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Returns the old d l file entry persistence. - * - * @return the old d l file entry persistence - */ - public OldDLFileEntryPersistence getOldDLFileEntryPersistence() { - return oldDLFileEntryPersistence; - } - - /** - * Sets the old d l file entry persistence. - * - * @param oldDLFileEntryPersistence the old d l file entry persistence - */ - public void setOldDLFileEntryPersistence( - OldDLFileEntryPersistence oldDLFileEntryPersistence) { - this.oldDLFileEntryPersistence = oldDLFileEntryPersistence; - } - - /** - * Returns the old d l folder local service. - * - * @return the old d l folder local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFolderLocalService getOldDLFolderLocalService() { - return oldDLFolderLocalService; - } - - /** - * Sets the old d l folder local service. - * - * @param oldDLFolderLocalService the old d l folder local service - */ - public void setOldDLFolderLocalService( - it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService) { - this.oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Returns the old d l folder persistence. - * - * @return the old d l folder persistence - */ - public OldDLFolderPersistence getOldDLFolderPersistence() { - return oldDLFolderPersistence; - } - - /** - * Sets the old d l folder persistence. - * - * @param oldDLFolderPersistence the old d l folder persistence - */ - public void setOldDLFolderPersistence( - OldDLFolderPersistence oldDLFolderPersistence) { - this.oldDLFolderPersistence = oldDLFolderPersistence; - } - - /** - * Returns the old group local service. - * - * @return the old group local service - */ - public it.tref.liferay.portos.importazione.service.OldGroupLocalService getOldGroupLocalService() { - return oldGroupLocalService; - } - - /** - * Sets the old group local service. - * - * @param oldGroupLocalService the old group local service - */ - public void setOldGroupLocalService( - it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService) { - this.oldGroupLocalService = oldGroupLocalService; - } - - /** - * Returns the old group persistence. - * - * @return the old group persistence - */ - public OldGroupPersistence getOldGroupPersistence() { - return oldGroupPersistence; - } - - /** - * Sets the old group persistence. - * - * @param oldGroupPersistence the old group persistence - */ - public void setOldGroupPersistence(OldGroupPersistence oldGroupPersistence) { - this.oldGroupPersistence = oldGroupPersistence; - } - - /** - * Returns the old organization local service. - * - * @return the old organization local service - */ - public it.tref.liferay.portos.importazione.service.OldOrganizationLocalService getOldOrganizationLocalService() { - return oldOrganizationLocalService; - } - - /** - * Sets the old organization local service. - * - * @param oldOrganizationLocalService the old organization local service - */ - public void setOldOrganizationLocalService( - it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService) { - this.oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Returns the old organization persistence. - * - * @return the old organization persistence - */ - public OldOrganizationPersistence getOldOrganizationPersistence() { - return oldOrganizationPersistence; - } - - /** - * Sets the old organization persistence. - * - * @param oldOrganizationPersistence the old organization persistence - */ - public void setOldOrganizationPersistence( - OldOrganizationPersistence oldOrganizationPersistence) { - this.oldOrganizationPersistence = oldOrganizationPersistence; - } - - /** - * Returns the old role local service. - * - * @return the old role local service - */ - public it.tref.liferay.portos.importazione.service.OldRoleLocalService getOldRoleLocalService() { - return oldRoleLocalService; - } - - /** - * Sets the old role local service. - * - * @param oldRoleLocalService the old role local service - */ - public void setOldRoleLocalService( - it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService) { - this.oldRoleLocalService = oldRoleLocalService; - } - - /** - * Returns the old role persistence. - * - * @return the old role persistence - */ - public OldRolePersistence getOldRolePersistence() { - return oldRolePersistence; - } - - /** - * Sets the old role persistence. - * - * @param oldRolePersistence the old role persistence - */ - public void setOldRolePersistence(OldRolePersistence oldRolePersistence) { - this.oldRolePersistence = oldRolePersistence; - } - - /** - * Returns the old user local service. - * - * @return the old user local service - */ - public it.tref.liferay.portos.importazione.service.OldUserLocalService getOldUserLocalService() { - return oldUserLocalService; - } - - /** - * Sets the old user local service. - * - * @param oldUserLocalService the old user local service - */ - public void setOldUserLocalService( - it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService) { - this.oldUserLocalService = oldUserLocalService; - } - - /** - * Returns the old user persistence. - * - * @return the old user persistence - */ - public OldUserPersistence getOldUserPersistence() { - return oldUserPersistence; - } - - /** - * Sets the old user persistence. - * - * @param oldUserPersistence the old user persistence - */ - public void setOldUserPersistence(OldUserPersistence oldUserPersistence) { - this.oldUserPersistence = oldUserPersistence; - } - - /** - * Returns the old user group local service. - * - * @return the old user group local service - */ - public it.tref.liferay.portos.importazione.service.OldUserGroupLocalService getOldUserGroupLocalService() { - return oldUserGroupLocalService; - } - - /** - * Sets the old user group local service. - * - * @param oldUserGroupLocalService the old user group local service - */ - public void setOldUserGroupLocalService( - it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService) { - this.oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Returns the old user group persistence. - * - * @return the old user group persistence - */ - public OldUserGroupPersistence getOldUserGroupPersistence() { - return oldUserGroupPersistence; - } - - /** - * Sets the old user group persistence. - * - * @param oldUserGroupPersistence the old user group persistence - */ - public void setOldUserGroupPersistence( - OldUserGroupPersistence oldUserGroupPersistence) { - this.oldUserGroupPersistence = oldUserGroupPersistence; - } - - /** - * Returns the old user group finder. - * - * @return the old user group finder - */ - public OldUserGroupFinder getOldUserGroupFinder() { - return oldUserGroupFinder; - } - - /** - * Sets the old user group finder. - * - * @param oldUserGroupFinder the old user group finder - */ - public void setOldUserGroupFinder(OldUserGroupFinder oldUserGroupFinder) { - this.oldUserGroupFinder = oldUserGroupFinder; - } - - /** - * Returns the procedura importazione local service. - * - * @return the procedura importazione local service - */ - public it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService getProceduraImportazioneLocalService() { - return proceduraImportazioneLocalService; - } - - /** - * Sets the procedura importazione local service. - * - * @param proceduraImportazioneLocalService the procedura importazione local service - */ - public void setProceduraImportazioneLocalService( - it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - this.proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Returns the procedura importazione persistence. - * - * @return the procedura importazione persistence - */ - public ProceduraImportazionePersistence getProceduraImportazionePersistence() { - return proceduraImportazionePersistence; - } - - /** - * Sets the procedura importazione persistence. - * - * @param proceduraImportazionePersistence the procedura importazione persistence - */ - public void setProceduraImportazionePersistence( - ProceduraImportazionePersistence proceduraImportazionePersistence) { - this.proceduraImportazionePersistence = proceduraImportazionePersistence; - } - - /** - * Returns the stato importazione local service. - * - * @return the stato importazione local service - */ - public it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService getStatoImportazioneLocalService() { - return statoImportazioneLocalService; - } - - /** - * Sets the stato importazione local service. - * - * @param statoImportazioneLocalService the stato importazione local service - */ - public void setStatoImportazioneLocalService( - it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService) { - this.statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Returns the stato importazione persistence. - * - * @return the stato importazione persistence - */ - public StatoImportazionePersistence getStatoImportazionePersistence() { - return statoImportazionePersistence; - } - - /** - * Sets the stato importazione persistence. - * - * @param statoImportazionePersistence the stato importazione persistence - */ - public void setStatoImportazionePersistence( - StatoImportazionePersistence statoImportazionePersistence) { - this.statoImportazionePersistence = statoImportazionePersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo", - boSistemaCostruttivoLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return BoSistemaCostruttivo.class; - } - - protected String getModelClassName() { - return BoSistemaCostruttivo.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = boSistemaCostruttivoPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService; - @BeanReference(type = BoConfigurazionePersistence.class) - protected BoConfigurazionePersistence boConfigurazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeProvinciaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService; - @BeanReference(type = FeProvinciaPersistence.class) - protected FeProvinciaPersistence feProvinciaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService; - @BeanReference(type = KaleoInstancePersistence.class) - protected KaleoInstancePersistence kaleoInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService; - @BeanReference(type = KaleoInstanceTokenPersistence.class) - protected KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoLogLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService; - @BeanReference(type = KaleoLogPersistence.class) - protected KaleoLogPersistence kaleoLogPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoNodeLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService; - @BeanReference(type = KaleoNodePersistence.class) - protected KaleoNodePersistence kaleoNodePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService; - @BeanReference(type = KaleoTaskPersistence.class) - protected KaleoTaskPersistence kaleoTaskPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService; - @BeanReference(type = KaleoTaskAssignmentInstancePersistence.class) - protected KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService; - @BeanReference(type = KaleoTaskInstanceTokenPersistence.class) - protected KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService; - @BeanReference(type = OldDLFileEntryPersistence.class) - protected OldDLFileEntryPersistence oldDLFileEntryPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFolderLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService; - @BeanReference(type = OldDLFolderPersistence.class) - protected OldDLFolderPersistence oldDLFolderPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService; - @BeanReference(type = OldGroupPersistence.class) - protected OldGroupPersistence oldGroupPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldOrganizationLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService; - @BeanReference(type = OldOrganizationPersistence.class) - protected OldOrganizationPersistence oldOrganizationPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldRoleLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService; - @BeanReference(type = OldRolePersistence.class) - protected OldRolePersistence oldRolePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService; - @BeanReference(type = OldUserPersistence.class) - protected OldUserPersistence oldUserPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService; - @BeanReference(type = OldUserGroupPersistence.class) - protected OldUserGroupPersistence oldUserGroupPersistence; - @BeanReference(type = OldUserGroupFinder.class) - protected OldUserGroupFinder oldUserGroupFinder; - @BeanReference(type = it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService; - @BeanReference(type = ProceduraImportazionePersistence.class) - protected ProceduraImportazionePersistence proceduraImportazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService; - @BeanReference(type = StatoImportazionePersistence.class) - protected StatoImportazionePersistence statoImportazionePersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private BoSistemaCostruttivoLocalServiceClpInvoker _clpInvoker = new BoSistemaCostruttivoLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoSistemaCostruttivoLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoSistemaCostruttivoLocalServiceClpInvoker.java deleted file mode 100644 index 4155ebbe..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoSistemaCostruttivoLocalServiceClpInvoker.java +++ /dev/null @@ -1,306 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author 3FC - * @generated - */ -public class BoSistemaCostruttivoLocalServiceClpInvoker { - public BoSistemaCostruttivoLocalServiceClpInvoker() { - _methodName0 = "addBoSistemaCostruttivo"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo" - }; - - _methodName1 = "createBoSistemaCostruttivo"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoSistemaCostruttivo"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoSistemaCostruttivo"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoSistemaCostruttivo"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchBoSistemaCostruttivoByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchBoSistemaCostruttivoByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getBoSistemaCostruttivo"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getBoSistemaCostruttivoByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getBoSistemaCostruttivoByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getBoSistemaCostruttivos"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getBoSistemaCostruttivosCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateBoSistemaCostruttivo"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo" - }; - - _methodName182 = "getBeanIdentifier"; - - _methodParameterTypes182 = new String[] { }; - - _methodName183 = "setBeanIdentifier"; - - _methodParameterTypes183 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.addBoSistemaCostruttivo((it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.createBoSistemaCostruttivo(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.deleteBoSistemaCostruttivo(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.deleteBoSistemaCostruttivo((it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.fetchBoSistemaCostruttivo(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.fetchBoSistemaCostruttivoByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.fetchBoSistemaCostruttivoByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.getBoSistemaCostruttivo(((Long)arguments[0]).longValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.getBoSistemaCostruttivoByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName16.equals(name) && - Arrays.deepEquals(_methodParameterTypes16, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.getBoSistemaCostruttivoByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName17.equals(name) && - Arrays.deepEquals(_methodParameterTypes17, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.getBoSistemaCostruttivos(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName18.equals(name) && - Arrays.deepEquals(_methodParameterTypes18, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.getBoSistemaCostruttivosCount(); - } - - if (_methodName19.equals(name) && - Arrays.deepEquals(_methodParameterTypes19, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.updateBoSistemaCostruttivo((it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo)arguments[0]); - } - - if (_methodName182.equals(name) && - Arrays.deepEquals(_methodParameterTypes182, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName183.equals(name) && - Arrays.deepEquals(_methodParameterTypes183, parameterTypes)) { - BoSistemaCostruttivoLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName182; - private String[] _methodParameterTypes182; - private String _methodName183; - private String[] _methodParameterTypes183; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoSoggettoLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoSoggettoLocalServiceBaseImpl.java deleted file mode 100644 index b4727f26..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoSoggettoLocalServiceBaseImpl.java +++ /dev/null @@ -1,2134 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.importazione.model.BoSoggetto; -import it.tref.liferay.portos.importazione.service.BoSoggettoLocalService; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinder; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the bo soggetto local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.importazione.service.impl.BoSoggettoLocalServiceImpl}. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.impl.BoSoggettoLocalServiceImpl - * @see it.tref.liferay.portos.importazione.service.BoSoggettoLocalServiceUtil - * @generated - */ -public abstract class BoSoggettoLocalServiceBaseImpl - extends BaseLocalServiceImpl implements BoSoggettoLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.importazione.service.BoSoggettoLocalServiceUtil} to access the bo soggetto local service. - */ - - /** - * Adds the bo soggetto to the database. Also notifies the appropriate model listeners. - * - * @param boSoggetto the bo soggetto - * @return the bo soggetto that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoSoggetto addBoSoggetto(BoSoggetto boSoggetto) - throws SystemException { - boSoggetto.setNew(true); - - return boSoggettoPersistence.update(boSoggetto); - } - - /** - * Creates a new bo soggetto with the primary key. Does not add the bo soggetto to the database. - * - * @param soggettoId the primary key for the new bo soggetto - * @return the new bo soggetto - */ - @Override - public BoSoggetto createBoSoggetto(long soggettoId) { - return boSoggettoPersistence.create(soggettoId); - } - - /** - * Deletes the bo soggetto with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param soggettoId the primary key of the bo soggetto - * @return the bo soggetto that was removed - * @throws PortalException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoSoggetto deleteBoSoggetto(long soggettoId) - throws PortalException, SystemException { - return boSoggettoPersistence.remove(soggettoId); - } - - /** - * Deletes the bo soggetto from the database. Also notifies the appropriate model listeners. - * - * @param boSoggetto the bo soggetto - * @return the bo soggetto that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoSoggetto deleteBoSoggetto(BoSoggetto boSoggetto) - throws SystemException { - return boSoggettoPersistence.remove(boSoggetto); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(BoSoggetto.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return boSoggettoPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return boSoggettoPersistence.findWithDynamicQuery(dynamicQuery, start, - end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return boSoggettoPersistence.findWithDynamicQuery(dynamicQuery, start, - end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return boSoggettoPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return boSoggettoPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public BoSoggetto fetchBoSoggetto(long soggettoId) - throws SystemException { - return boSoggettoPersistence.fetchByPrimaryKey(soggettoId); - } - - /** - * Returns the bo soggetto with the matching UUID and company. - * - * @param uuid the bo soggetto's UUID - * @param companyId the primary key of the company - * @return the matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchBoSoggettoByUuidAndCompanyId(String uuid, - long companyId) throws SystemException { - return boSoggettoPersistence.fetchByUuid_C_First(uuid, companyId, null); - } - - /** - * Returns the bo soggetto matching the UUID and group. - * - * @param uuid the bo soggetto's UUID - * @param groupId the primary key of the group - * @return the matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchBoSoggettoByUuidAndGroupId(String uuid, long groupId) - throws SystemException { - return boSoggettoPersistence.fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the bo soggetto with the primary key. - * - * @param soggettoId the primary key of the bo soggetto - * @return the bo soggetto - * @throws PortalException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto getBoSoggetto(long soggettoId) - throws PortalException, SystemException { - return boSoggettoPersistence.findByPrimaryKey(soggettoId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return boSoggettoPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns the bo soggetto with the matching UUID and company. - * - * @param uuid the bo soggetto's UUID - * @param companyId the primary key of the company - * @return the matching bo soggetto - * @throws PortalException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto getBoSoggettoByUuidAndCompanyId(String uuid, - long companyId) throws PortalException, SystemException { - return boSoggettoPersistence.findByUuid_C_First(uuid, companyId, null); - } - - /** - * Returns the bo soggetto matching the UUID and group. - * - * @param uuid the bo soggetto's UUID - * @param groupId the primary key of the group - * @return the matching bo soggetto - * @throws PortalException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto getBoSoggettoByUuidAndGroupId(String uuid, long groupId) - throws PortalException, SystemException { - return boSoggettoPersistence.findByUUID_G(uuid, groupId); - } - - /** - * Returns a range of all the bo soggettos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List getBoSoggettos(int start, int end) - throws SystemException { - return boSoggettoPersistence.findAll(start, end); - } - - /** - * Returns the number of bo soggettos. - * - * @return the number of bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoSoggettosCount() throws SystemException { - return boSoggettoPersistence.countAll(); - } - - /** - * Updates the bo soggetto in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boSoggetto the bo soggetto - * @return the bo soggetto that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoSoggetto updateBoSoggetto(BoSoggetto boSoggetto) - throws SystemException { - return boSoggettoPersistence.update(boSoggetto); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.importazione.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.importazione.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo configurazione local service. - * - * @return the bo configurazione local service - */ - public it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService getBoConfigurazioneLocalService() { - return boConfigurazioneLocalService; - } - - /** - * Sets the bo configurazione local service. - * - * @param boConfigurazioneLocalService the bo configurazione local service - */ - public void setBoConfigurazioneLocalService( - it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService) { - this.boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Returns the bo configurazione persistence. - * - * @return the bo configurazione persistence - */ - public BoConfigurazionePersistence getBoConfigurazionePersistence() { - return boConfigurazionePersistence; - } - - /** - * Sets the bo configurazione persistence. - * - * @param boConfigurazionePersistence the bo configurazione persistence - */ - public void setBoConfigurazionePersistence( - BoConfigurazionePersistence boConfigurazionePersistence) { - this.boConfigurazionePersistence = boConfigurazionePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.importazione.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.importazione.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.importazione.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.importazione.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.importazione.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.importazione.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe provincia local service. - * - * @return the fe provincia local service - */ - public it.tref.liferay.portos.importazione.service.FeProvinciaLocalService getFeProvinciaLocalService() { - return feProvinciaLocalService; - } - - /** - * Sets the fe provincia local service. - * - * @param feProvinciaLocalService the fe provincia local service - */ - public void setFeProvinciaLocalService( - it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService) { - this.feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Returns the fe provincia persistence. - * - * @return the fe provincia persistence - */ - public FeProvinciaPersistence getFeProvinciaPersistence() { - return feProvinciaPersistence; - } - - /** - * Sets the fe provincia persistence. - * - * @param feProvinciaPersistence the fe provincia persistence - */ - public void setFeProvinciaPersistence( - FeProvinciaPersistence feProvinciaPersistence) { - this.feProvinciaPersistence = feProvinciaPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.importazione.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the kaleo instance local service. - * - * @return the kaleo instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService getKaleoInstanceLocalService() { - return kaleoInstanceLocalService; - } - - /** - * Sets the kaleo instance local service. - * - * @param kaleoInstanceLocalService the kaleo instance local service - */ - public void setKaleoInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService) { - this.kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Returns the kaleo instance persistence. - * - * @return the kaleo instance persistence - */ - public KaleoInstancePersistence getKaleoInstancePersistence() { - return kaleoInstancePersistence; - } - - /** - * Sets the kaleo instance persistence. - * - * @param kaleoInstancePersistence the kaleo instance persistence - */ - public void setKaleoInstancePersistence( - KaleoInstancePersistence kaleoInstancePersistence) { - this.kaleoInstancePersistence = kaleoInstancePersistence; - } - - /** - * Returns the kaleo instance token local service. - * - * @return the kaleo instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService getKaleoInstanceTokenLocalService() { - return kaleoInstanceTokenLocalService; - } - - /** - * Sets the kaleo instance token local service. - * - * @param kaleoInstanceTokenLocalService the kaleo instance token local service - */ - public void setKaleoInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - this.kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Returns the kaleo instance token persistence. - * - * @return the kaleo instance token persistence - */ - public KaleoInstanceTokenPersistence getKaleoInstanceTokenPersistence() { - return kaleoInstanceTokenPersistence; - } - - /** - * Sets the kaleo instance token persistence. - * - * @param kaleoInstanceTokenPersistence the kaleo instance token persistence - */ - public void setKaleoInstanceTokenPersistence( - KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence) { - this.kaleoInstanceTokenPersistence = kaleoInstanceTokenPersistence; - } - - /** - * Returns the kaleo log local service. - * - * @return the kaleo log local service - */ - public it.tref.liferay.portos.importazione.service.KaleoLogLocalService getKaleoLogLocalService() { - return kaleoLogLocalService; - } - - /** - * Sets the kaleo log local service. - * - * @param kaleoLogLocalService the kaleo log local service - */ - public void setKaleoLogLocalService( - it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService) { - this.kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Returns the kaleo log persistence. - * - * @return the kaleo log persistence - */ - public KaleoLogPersistence getKaleoLogPersistence() { - return kaleoLogPersistence; - } - - /** - * Sets the kaleo log persistence. - * - * @param kaleoLogPersistence the kaleo log persistence - */ - public void setKaleoLogPersistence(KaleoLogPersistence kaleoLogPersistence) { - this.kaleoLogPersistence = kaleoLogPersistence; - } - - /** - * Returns the kaleo node local service. - * - * @return the kaleo node local service - */ - public it.tref.liferay.portos.importazione.service.KaleoNodeLocalService getKaleoNodeLocalService() { - return kaleoNodeLocalService; - } - - /** - * Sets the kaleo node local service. - * - * @param kaleoNodeLocalService the kaleo node local service - */ - public void setKaleoNodeLocalService( - it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService) { - this.kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Returns the kaleo node persistence. - * - * @return the kaleo node persistence - */ - public KaleoNodePersistence getKaleoNodePersistence() { - return kaleoNodePersistence; - } - - /** - * Sets the kaleo node persistence. - * - * @param kaleoNodePersistence the kaleo node persistence - */ - public void setKaleoNodePersistence( - KaleoNodePersistence kaleoNodePersistence) { - this.kaleoNodePersistence = kaleoNodePersistence; - } - - /** - * Returns the kaleo task local service. - * - * @return the kaleo task local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskLocalService getKaleoTaskLocalService() { - return kaleoTaskLocalService; - } - - /** - * Sets the kaleo task local service. - * - * @param kaleoTaskLocalService the kaleo task local service - */ - public void setKaleoTaskLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService) { - this.kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Returns the kaleo task persistence. - * - * @return the kaleo task persistence - */ - public KaleoTaskPersistence getKaleoTaskPersistence() { - return kaleoTaskPersistence; - } - - /** - * Sets the kaleo task persistence. - * - * @param kaleoTaskPersistence the kaleo task persistence - */ - public void setKaleoTaskPersistence( - KaleoTaskPersistence kaleoTaskPersistence) { - this.kaleoTaskPersistence = kaleoTaskPersistence; - } - - /** - * Returns the kaleo task assignment instance local service. - * - * @return the kaleo task assignment instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService getKaleoTaskAssignmentInstanceLocalService() { - return kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Sets the kaleo task assignment instance local service. - * - * @param kaleoTaskAssignmentInstanceLocalService the kaleo task assignment instance local service - */ - public void setKaleoTaskAssignmentInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - this.kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Returns the kaleo task assignment instance persistence. - * - * @return the kaleo task assignment instance persistence - */ - public KaleoTaskAssignmentInstancePersistence getKaleoTaskAssignmentInstancePersistence() { - return kaleoTaskAssignmentInstancePersistence; - } - - /** - * Sets the kaleo task assignment instance persistence. - * - * @param kaleoTaskAssignmentInstancePersistence the kaleo task assignment instance persistence - */ - public void setKaleoTaskAssignmentInstancePersistence( - KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence) { - this.kaleoTaskAssignmentInstancePersistence = kaleoTaskAssignmentInstancePersistence; - } - - /** - * Returns the kaleo task instance token local service. - * - * @return the kaleo task instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService getKaleoTaskInstanceTokenLocalService() { - return kaleoTaskInstanceTokenLocalService; - } - - /** - * Sets the kaleo task instance token local service. - * - * @param kaleoTaskInstanceTokenLocalService the kaleo task instance token local service - */ - public void setKaleoTaskInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - this.kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Returns the kaleo task instance token persistence. - * - * @return the kaleo task instance token persistence - */ - public KaleoTaskInstanceTokenPersistence getKaleoTaskInstanceTokenPersistence() { - return kaleoTaskInstanceTokenPersistence; - } - - /** - * Sets the kaleo task instance token persistence. - * - * @param kaleoTaskInstanceTokenPersistence the kaleo task instance token persistence - */ - public void setKaleoTaskInstanceTokenPersistence( - KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence) { - this.kaleoTaskInstanceTokenPersistence = kaleoTaskInstanceTokenPersistence; - } - - /** - * Returns the old d l file entry local service. - * - * @return the old d l file entry local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService getOldDLFileEntryLocalService() { - return oldDLFileEntryLocalService; - } - - /** - * Sets the old d l file entry local service. - * - * @param oldDLFileEntryLocalService the old d l file entry local service - */ - public void setOldDLFileEntryLocalService( - it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService) { - this.oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Returns the old d l file entry persistence. - * - * @return the old d l file entry persistence - */ - public OldDLFileEntryPersistence getOldDLFileEntryPersistence() { - return oldDLFileEntryPersistence; - } - - /** - * Sets the old d l file entry persistence. - * - * @param oldDLFileEntryPersistence the old d l file entry persistence - */ - public void setOldDLFileEntryPersistence( - OldDLFileEntryPersistence oldDLFileEntryPersistence) { - this.oldDLFileEntryPersistence = oldDLFileEntryPersistence; - } - - /** - * Returns the old d l folder local service. - * - * @return the old d l folder local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFolderLocalService getOldDLFolderLocalService() { - return oldDLFolderLocalService; - } - - /** - * Sets the old d l folder local service. - * - * @param oldDLFolderLocalService the old d l folder local service - */ - public void setOldDLFolderLocalService( - it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService) { - this.oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Returns the old d l folder persistence. - * - * @return the old d l folder persistence - */ - public OldDLFolderPersistence getOldDLFolderPersistence() { - return oldDLFolderPersistence; - } - - /** - * Sets the old d l folder persistence. - * - * @param oldDLFolderPersistence the old d l folder persistence - */ - public void setOldDLFolderPersistence( - OldDLFolderPersistence oldDLFolderPersistence) { - this.oldDLFolderPersistence = oldDLFolderPersistence; - } - - /** - * Returns the old group local service. - * - * @return the old group local service - */ - public it.tref.liferay.portos.importazione.service.OldGroupLocalService getOldGroupLocalService() { - return oldGroupLocalService; - } - - /** - * Sets the old group local service. - * - * @param oldGroupLocalService the old group local service - */ - public void setOldGroupLocalService( - it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService) { - this.oldGroupLocalService = oldGroupLocalService; - } - - /** - * Returns the old group persistence. - * - * @return the old group persistence - */ - public OldGroupPersistence getOldGroupPersistence() { - return oldGroupPersistence; - } - - /** - * Sets the old group persistence. - * - * @param oldGroupPersistence the old group persistence - */ - public void setOldGroupPersistence(OldGroupPersistence oldGroupPersistence) { - this.oldGroupPersistence = oldGroupPersistence; - } - - /** - * Returns the old organization local service. - * - * @return the old organization local service - */ - public it.tref.liferay.portos.importazione.service.OldOrganizationLocalService getOldOrganizationLocalService() { - return oldOrganizationLocalService; - } - - /** - * Sets the old organization local service. - * - * @param oldOrganizationLocalService the old organization local service - */ - public void setOldOrganizationLocalService( - it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService) { - this.oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Returns the old organization persistence. - * - * @return the old organization persistence - */ - public OldOrganizationPersistence getOldOrganizationPersistence() { - return oldOrganizationPersistence; - } - - /** - * Sets the old organization persistence. - * - * @param oldOrganizationPersistence the old organization persistence - */ - public void setOldOrganizationPersistence( - OldOrganizationPersistence oldOrganizationPersistence) { - this.oldOrganizationPersistence = oldOrganizationPersistence; - } - - /** - * Returns the old role local service. - * - * @return the old role local service - */ - public it.tref.liferay.portos.importazione.service.OldRoleLocalService getOldRoleLocalService() { - return oldRoleLocalService; - } - - /** - * Sets the old role local service. - * - * @param oldRoleLocalService the old role local service - */ - public void setOldRoleLocalService( - it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService) { - this.oldRoleLocalService = oldRoleLocalService; - } - - /** - * Returns the old role persistence. - * - * @return the old role persistence - */ - public OldRolePersistence getOldRolePersistence() { - return oldRolePersistence; - } - - /** - * Sets the old role persistence. - * - * @param oldRolePersistence the old role persistence - */ - public void setOldRolePersistence(OldRolePersistence oldRolePersistence) { - this.oldRolePersistence = oldRolePersistence; - } - - /** - * Returns the old user local service. - * - * @return the old user local service - */ - public it.tref.liferay.portos.importazione.service.OldUserLocalService getOldUserLocalService() { - return oldUserLocalService; - } - - /** - * Sets the old user local service. - * - * @param oldUserLocalService the old user local service - */ - public void setOldUserLocalService( - it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService) { - this.oldUserLocalService = oldUserLocalService; - } - - /** - * Returns the old user persistence. - * - * @return the old user persistence - */ - public OldUserPersistence getOldUserPersistence() { - return oldUserPersistence; - } - - /** - * Sets the old user persistence. - * - * @param oldUserPersistence the old user persistence - */ - public void setOldUserPersistence(OldUserPersistence oldUserPersistence) { - this.oldUserPersistence = oldUserPersistence; - } - - /** - * Returns the old user group local service. - * - * @return the old user group local service - */ - public it.tref.liferay.portos.importazione.service.OldUserGroupLocalService getOldUserGroupLocalService() { - return oldUserGroupLocalService; - } - - /** - * Sets the old user group local service. - * - * @param oldUserGroupLocalService the old user group local service - */ - public void setOldUserGroupLocalService( - it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService) { - this.oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Returns the old user group persistence. - * - * @return the old user group persistence - */ - public OldUserGroupPersistence getOldUserGroupPersistence() { - return oldUserGroupPersistence; - } - - /** - * Sets the old user group persistence. - * - * @param oldUserGroupPersistence the old user group persistence - */ - public void setOldUserGroupPersistence( - OldUserGroupPersistence oldUserGroupPersistence) { - this.oldUserGroupPersistence = oldUserGroupPersistence; - } - - /** - * Returns the old user group finder. - * - * @return the old user group finder - */ - public OldUserGroupFinder getOldUserGroupFinder() { - return oldUserGroupFinder; - } - - /** - * Sets the old user group finder. - * - * @param oldUserGroupFinder the old user group finder - */ - public void setOldUserGroupFinder(OldUserGroupFinder oldUserGroupFinder) { - this.oldUserGroupFinder = oldUserGroupFinder; - } - - /** - * Returns the procedura importazione local service. - * - * @return the procedura importazione local service - */ - public it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService getProceduraImportazioneLocalService() { - return proceduraImportazioneLocalService; - } - - /** - * Sets the procedura importazione local service. - * - * @param proceduraImportazioneLocalService the procedura importazione local service - */ - public void setProceduraImportazioneLocalService( - it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - this.proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Returns the procedura importazione persistence. - * - * @return the procedura importazione persistence - */ - public ProceduraImportazionePersistence getProceduraImportazionePersistence() { - return proceduraImportazionePersistence; - } - - /** - * Sets the procedura importazione persistence. - * - * @param proceduraImportazionePersistence the procedura importazione persistence - */ - public void setProceduraImportazionePersistence( - ProceduraImportazionePersistence proceduraImportazionePersistence) { - this.proceduraImportazionePersistence = proceduraImportazionePersistence; - } - - /** - * Returns the stato importazione local service. - * - * @return the stato importazione local service - */ - public it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService getStatoImportazioneLocalService() { - return statoImportazioneLocalService; - } - - /** - * Sets the stato importazione local service. - * - * @param statoImportazioneLocalService the stato importazione local service - */ - public void setStatoImportazioneLocalService( - it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService) { - this.statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Returns the stato importazione persistence. - * - * @return the stato importazione persistence - */ - public StatoImportazionePersistence getStatoImportazionePersistence() { - return statoImportazionePersistence; - } - - /** - * Sets the stato importazione persistence. - * - * @param statoImportazionePersistence the stato importazione persistence - */ - public void setStatoImportazionePersistence( - StatoImportazionePersistence statoImportazionePersistence) { - this.statoImportazionePersistence = statoImportazionePersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.importazione.model.BoSoggetto", - boSoggettoLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.importazione.model.BoSoggetto"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return BoSoggetto.class; - } - - protected String getModelClassName() { - return BoSoggetto.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = boSoggettoPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService; - @BeanReference(type = BoConfigurazionePersistence.class) - protected BoConfigurazionePersistence boConfigurazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeProvinciaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService; - @BeanReference(type = FeProvinciaPersistence.class) - protected FeProvinciaPersistence feProvinciaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService; - @BeanReference(type = KaleoInstancePersistence.class) - protected KaleoInstancePersistence kaleoInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService; - @BeanReference(type = KaleoInstanceTokenPersistence.class) - protected KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoLogLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService; - @BeanReference(type = KaleoLogPersistence.class) - protected KaleoLogPersistence kaleoLogPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoNodeLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService; - @BeanReference(type = KaleoNodePersistence.class) - protected KaleoNodePersistence kaleoNodePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService; - @BeanReference(type = KaleoTaskPersistence.class) - protected KaleoTaskPersistence kaleoTaskPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService; - @BeanReference(type = KaleoTaskAssignmentInstancePersistence.class) - protected KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService; - @BeanReference(type = KaleoTaskInstanceTokenPersistence.class) - protected KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService; - @BeanReference(type = OldDLFileEntryPersistence.class) - protected OldDLFileEntryPersistence oldDLFileEntryPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFolderLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService; - @BeanReference(type = OldDLFolderPersistence.class) - protected OldDLFolderPersistence oldDLFolderPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService; - @BeanReference(type = OldGroupPersistence.class) - protected OldGroupPersistence oldGroupPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldOrganizationLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService; - @BeanReference(type = OldOrganizationPersistence.class) - protected OldOrganizationPersistence oldOrganizationPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldRoleLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService; - @BeanReference(type = OldRolePersistence.class) - protected OldRolePersistence oldRolePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService; - @BeanReference(type = OldUserPersistence.class) - protected OldUserPersistence oldUserPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService; - @BeanReference(type = OldUserGroupPersistence.class) - protected OldUserGroupPersistence oldUserGroupPersistence; - @BeanReference(type = OldUserGroupFinder.class) - protected OldUserGroupFinder oldUserGroupFinder; - @BeanReference(type = it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService; - @BeanReference(type = ProceduraImportazionePersistence.class) - protected ProceduraImportazionePersistence proceduraImportazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService; - @BeanReference(type = StatoImportazionePersistence.class) - protected StatoImportazionePersistence statoImportazionePersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private BoSoggettoLocalServiceClpInvoker _clpInvoker = new BoSoggettoLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoSoggettoLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoSoggettoLocalServiceClpInvoker.java deleted file mode 100644 index e5330a78..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoSoggettoLocalServiceClpInvoker.java +++ /dev/null @@ -1,306 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import it.tref.liferay.portos.importazione.service.BoSoggettoLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author 3FC - * @generated - */ -public class BoSoggettoLocalServiceClpInvoker { - public BoSoggettoLocalServiceClpInvoker() { - _methodName0 = "addBoSoggetto"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.BoSoggetto" - }; - - _methodName1 = "createBoSoggetto"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoSoggetto"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoSoggetto"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.BoSoggetto" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoSoggetto"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchBoSoggettoByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchBoSoggettoByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getBoSoggetto"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getBoSoggettoByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getBoSoggettoByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getBoSoggettos"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getBoSoggettosCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateBoSoggetto"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.importazione.model.BoSoggetto" - }; - - _methodName182 = "getBeanIdentifier"; - - _methodParameterTypes182 = new String[] { }; - - _methodName183 = "setBeanIdentifier"; - - _methodParameterTypes183 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return BoSoggettoLocalServiceUtil.addBoSoggetto((it.tref.liferay.portos.importazione.model.BoSoggetto)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return BoSoggettoLocalServiceUtil.createBoSoggetto(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return BoSoggettoLocalServiceUtil.deleteBoSoggetto(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return BoSoggettoLocalServiceUtil.deleteBoSoggetto((it.tref.liferay.portos.importazione.model.BoSoggetto)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return BoSoggettoLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return BoSoggettoLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return BoSoggettoLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return BoSoggettoLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return BoSoggettoLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return BoSoggettoLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return BoSoggettoLocalServiceUtil.fetchBoSoggetto(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return BoSoggettoLocalServiceUtil.fetchBoSoggettoByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return BoSoggettoLocalServiceUtil.fetchBoSoggettoByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return BoSoggettoLocalServiceUtil.getBoSoggetto(((Long)arguments[0]).longValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return BoSoggettoLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return BoSoggettoLocalServiceUtil.getBoSoggettoByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName16.equals(name) && - Arrays.deepEquals(_methodParameterTypes16, parameterTypes)) { - return BoSoggettoLocalServiceUtil.getBoSoggettoByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName17.equals(name) && - Arrays.deepEquals(_methodParameterTypes17, parameterTypes)) { - return BoSoggettoLocalServiceUtil.getBoSoggettos(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName18.equals(name) && - Arrays.deepEquals(_methodParameterTypes18, parameterTypes)) { - return BoSoggettoLocalServiceUtil.getBoSoggettosCount(); - } - - if (_methodName19.equals(name) && - Arrays.deepEquals(_methodParameterTypes19, parameterTypes)) { - return BoSoggettoLocalServiceUtil.updateBoSoggetto((it.tref.liferay.portos.importazione.model.BoSoggetto)arguments[0]); - } - - if (_methodName182.equals(name) && - Arrays.deepEquals(_methodParameterTypes182, parameterTypes)) { - return BoSoggettoLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName183.equals(name) && - Arrays.deepEquals(_methodParameterTypes183, parameterTypes)) { - BoSoggettoLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName182; - private String[] _methodParameterTypes182; - private String _methodName183; - private String[] _methodParameterTypes183; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoSorteggioLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoSorteggioLocalServiceBaseImpl.java deleted file mode 100644 index 61ba4408..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoSorteggioLocalServiceBaseImpl.java +++ /dev/null @@ -1,2134 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.importazione.model.BoSorteggio; -import it.tref.liferay.portos.importazione.service.BoSorteggioLocalService; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinder; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the bo sorteggio local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.importazione.service.impl.BoSorteggioLocalServiceImpl}. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.impl.BoSorteggioLocalServiceImpl - * @see it.tref.liferay.portos.importazione.service.BoSorteggioLocalServiceUtil - * @generated - */ -public abstract class BoSorteggioLocalServiceBaseImpl - extends BaseLocalServiceImpl implements BoSorteggioLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.importazione.service.BoSorteggioLocalServiceUtil} to access the bo sorteggio local service. - */ - - /** - * Adds the bo sorteggio to the database. Also notifies the appropriate model listeners. - * - * @param boSorteggio the bo sorteggio - * @return the bo sorteggio that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoSorteggio addBoSorteggio(BoSorteggio boSorteggio) - throws SystemException { - boSorteggio.setNew(true); - - return boSorteggioPersistence.update(boSorteggio); - } - - /** - * Creates a new bo sorteggio with the primary key. Does not add the bo sorteggio to the database. - * - * @param sorteggioId the primary key for the new bo sorteggio - * @return the new bo sorteggio - */ - @Override - public BoSorteggio createBoSorteggio(long sorteggioId) { - return boSorteggioPersistence.create(sorteggioId); - } - - /** - * Deletes the bo sorteggio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param sorteggioId the primary key of the bo sorteggio - * @return the bo sorteggio that was removed - * @throws PortalException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoSorteggio deleteBoSorteggio(long sorteggioId) - throws PortalException, SystemException { - return boSorteggioPersistence.remove(sorteggioId); - } - - /** - * Deletes the bo sorteggio from the database. Also notifies the appropriate model listeners. - * - * @param boSorteggio the bo sorteggio - * @return the bo sorteggio that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoSorteggio deleteBoSorteggio(BoSorteggio boSorteggio) - throws SystemException { - return boSorteggioPersistence.remove(boSorteggio); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(BoSorteggio.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return boSorteggioPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return boSorteggioPersistence.findWithDynamicQuery(dynamicQuery, start, - end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return boSorteggioPersistence.findWithDynamicQuery(dynamicQuery, start, - end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return boSorteggioPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return boSorteggioPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public BoSorteggio fetchBoSorteggio(long sorteggioId) - throws SystemException { - return boSorteggioPersistence.fetchByPrimaryKey(sorteggioId); - } - - /** - * Returns the bo sorteggio with the matching UUID and company. - * - * @param uuid the bo sorteggio's UUID - * @param companyId the primary key of the company - * @return the matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio fetchBoSorteggioByUuidAndCompanyId(String uuid, - long companyId) throws SystemException { - return boSorteggioPersistence.fetchByUuid_C_First(uuid, companyId, null); - } - - /** - * Returns the bo sorteggio matching the UUID and group. - * - * @param uuid the bo sorteggio's UUID - * @param groupId the primary key of the group - * @return the matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio fetchBoSorteggioByUuidAndGroupId(String uuid, - long groupId) throws SystemException { - return boSorteggioPersistence.fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the bo sorteggio with the primary key. - * - * @param sorteggioId the primary key of the bo sorteggio - * @return the bo sorteggio - * @throws PortalException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio getBoSorteggio(long sorteggioId) - throws PortalException, SystemException { - return boSorteggioPersistence.findByPrimaryKey(sorteggioId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return boSorteggioPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns the bo sorteggio with the matching UUID and company. - * - * @param uuid the bo sorteggio's UUID - * @param companyId the primary key of the company - * @return the matching bo sorteggio - * @throws PortalException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio getBoSorteggioByUuidAndCompanyId(String uuid, - long companyId) throws PortalException, SystemException { - return boSorteggioPersistence.findByUuid_C_First(uuid, companyId, null); - } - - /** - * Returns the bo sorteggio matching the UUID and group. - * - * @param uuid the bo sorteggio's UUID - * @param groupId the primary key of the group - * @return the matching bo sorteggio - * @throws PortalException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio getBoSorteggioByUuidAndGroupId(String uuid, long groupId) - throws PortalException, SystemException { - return boSorteggioPersistence.findByUUID_G(uuid, groupId); - } - - /** - * Returns a range of all the bo sorteggios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public List getBoSorteggios(int start, int end) - throws SystemException { - return boSorteggioPersistence.findAll(start, end); - } - - /** - * Returns the number of bo sorteggios. - * - * @return the number of bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoSorteggiosCount() throws SystemException { - return boSorteggioPersistence.countAll(); - } - - /** - * Updates the bo sorteggio in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boSorteggio the bo sorteggio - * @return the bo sorteggio that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoSorteggio updateBoSorteggio(BoSorteggio boSorteggio) - throws SystemException { - return boSorteggioPersistence.update(boSorteggio); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.importazione.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.importazione.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo configurazione local service. - * - * @return the bo configurazione local service - */ - public it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService getBoConfigurazioneLocalService() { - return boConfigurazioneLocalService; - } - - /** - * Sets the bo configurazione local service. - * - * @param boConfigurazioneLocalService the bo configurazione local service - */ - public void setBoConfigurazioneLocalService( - it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService) { - this.boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Returns the bo configurazione persistence. - * - * @return the bo configurazione persistence - */ - public BoConfigurazionePersistence getBoConfigurazionePersistence() { - return boConfigurazionePersistence; - } - - /** - * Sets the bo configurazione persistence. - * - * @param boConfigurazionePersistence the bo configurazione persistence - */ - public void setBoConfigurazionePersistence( - BoConfigurazionePersistence boConfigurazionePersistence) { - this.boConfigurazionePersistence = boConfigurazionePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.importazione.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.importazione.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.importazione.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.importazione.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.importazione.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.importazione.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe provincia local service. - * - * @return the fe provincia local service - */ - public it.tref.liferay.portos.importazione.service.FeProvinciaLocalService getFeProvinciaLocalService() { - return feProvinciaLocalService; - } - - /** - * Sets the fe provincia local service. - * - * @param feProvinciaLocalService the fe provincia local service - */ - public void setFeProvinciaLocalService( - it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService) { - this.feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Returns the fe provincia persistence. - * - * @return the fe provincia persistence - */ - public FeProvinciaPersistence getFeProvinciaPersistence() { - return feProvinciaPersistence; - } - - /** - * Sets the fe provincia persistence. - * - * @param feProvinciaPersistence the fe provincia persistence - */ - public void setFeProvinciaPersistence( - FeProvinciaPersistence feProvinciaPersistence) { - this.feProvinciaPersistence = feProvinciaPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.importazione.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the kaleo instance local service. - * - * @return the kaleo instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService getKaleoInstanceLocalService() { - return kaleoInstanceLocalService; - } - - /** - * Sets the kaleo instance local service. - * - * @param kaleoInstanceLocalService the kaleo instance local service - */ - public void setKaleoInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService) { - this.kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Returns the kaleo instance persistence. - * - * @return the kaleo instance persistence - */ - public KaleoInstancePersistence getKaleoInstancePersistence() { - return kaleoInstancePersistence; - } - - /** - * Sets the kaleo instance persistence. - * - * @param kaleoInstancePersistence the kaleo instance persistence - */ - public void setKaleoInstancePersistence( - KaleoInstancePersistence kaleoInstancePersistence) { - this.kaleoInstancePersistence = kaleoInstancePersistence; - } - - /** - * Returns the kaleo instance token local service. - * - * @return the kaleo instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService getKaleoInstanceTokenLocalService() { - return kaleoInstanceTokenLocalService; - } - - /** - * Sets the kaleo instance token local service. - * - * @param kaleoInstanceTokenLocalService the kaleo instance token local service - */ - public void setKaleoInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - this.kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Returns the kaleo instance token persistence. - * - * @return the kaleo instance token persistence - */ - public KaleoInstanceTokenPersistence getKaleoInstanceTokenPersistence() { - return kaleoInstanceTokenPersistence; - } - - /** - * Sets the kaleo instance token persistence. - * - * @param kaleoInstanceTokenPersistence the kaleo instance token persistence - */ - public void setKaleoInstanceTokenPersistence( - KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence) { - this.kaleoInstanceTokenPersistence = kaleoInstanceTokenPersistence; - } - - /** - * Returns the kaleo log local service. - * - * @return the kaleo log local service - */ - public it.tref.liferay.portos.importazione.service.KaleoLogLocalService getKaleoLogLocalService() { - return kaleoLogLocalService; - } - - /** - * Sets the kaleo log local service. - * - * @param kaleoLogLocalService the kaleo log local service - */ - public void setKaleoLogLocalService( - it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService) { - this.kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Returns the kaleo log persistence. - * - * @return the kaleo log persistence - */ - public KaleoLogPersistence getKaleoLogPersistence() { - return kaleoLogPersistence; - } - - /** - * Sets the kaleo log persistence. - * - * @param kaleoLogPersistence the kaleo log persistence - */ - public void setKaleoLogPersistence(KaleoLogPersistence kaleoLogPersistence) { - this.kaleoLogPersistence = kaleoLogPersistence; - } - - /** - * Returns the kaleo node local service. - * - * @return the kaleo node local service - */ - public it.tref.liferay.portos.importazione.service.KaleoNodeLocalService getKaleoNodeLocalService() { - return kaleoNodeLocalService; - } - - /** - * Sets the kaleo node local service. - * - * @param kaleoNodeLocalService the kaleo node local service - */ - public void setKaleoNodeLocalService( - it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService) { - this.kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Returns the kaleo node persistence. - * - * @return the kaleo node persistence - */ - public KaleoNodePersistence getKaleoNodePersistence() { - return kaleoNodePersistence; - } - - /** - * Sets the kaleo node persistence. - * - * @param kaleoNodePersistence the kaleo node persistence - */ - public void setKaleoNodePersistence( - KaleoNodePersistence kaleoNodePersistence) { - this.kaleoNodePersistence = kaleoNodePersistence; - } - - /** - * Returns the kaleo task local service. - * - * @return the kaleo task local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskLocalService getKaleoTaskLocalService() { - return kaleoTaskLocalService; - } - - /** - * Sets the kaleo task local service. - * - * @param kaleoTaskLocalService the kaleo task local service - */ - public void setKaleoTaskLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService) { - this.kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Returns the kaleo task persistence. - * - * @return the kaleo task persistence - */ - public KaleoTaskPersistence getKaleoTaskPersistence() { - return kaleoTaskPersistence; - } - - /** - * Sets the kaleo task persistence. - * - * @param kaleoTaskPersistence the kaleo task persistence - */ - public void setKaleoTaskPersistence( - KaleoTaskPersistence kaleoTaskPersistence) { - this.kaleoTaskPersistence = kaleoTaskPersistence; - } - - /** - * Returns the kaleo task assignment instance local service. - * - * @return the kaleo task assignment instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService getKaleoTaskAssignmentInstanceLocalService() { - return kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Sets the kaleo task assignment instance local service. - * - * @param kaleoTaskAssignmentInstanceLocalService the kaleo task assignment instance local service - */ - public void setKaleoTaskAssignmentInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - this.kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Returns the kaleo task assignment instance persistence. - * - * @return the kaleo task assignment instance persistence - */ - public KaleoTaskAssignmentInstancePersistence getKaleoTaskAssignmentInstancePersistence() { - return kaleoTaskAssignmentInstancePersistence; - } - - /** - * Sets the kaleo task assignment instance persistence. - * - * @param kaleoTaskAssignmentInstancePersistence the kaleo task assignment instance persistence - */ - public void setKaleoTaskAssignmentInstancePersistence( - KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence) { - this.kaleoTaskAssignmentInstancePersistence = kaleoTaskAssignmentInstancePersistence; - } - - /** - * Returns the kaleo task instance token local service. - * - * @return the kaleo task instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService getKaleoTaskInstanceTokenLocalService() { - return kaleoTaskInstanceTokenLocalService; - } - - /** - * Sets the kaleo task instance token local service. - * - * @param kaleoTaskInstanceTokenLocalService the kaleo task instance token local service - */ - public void setKaleoTaskInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - this.kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Returns the kaleo task instance token persistence. - * - * @return the kaleo task instance token persistence - */ - public KaleoTaskInstanceTokenPersistence getKaleoTaskInstanceTokenPersistence() { - return kaleoTaskInstanceTokenPersistence; - } - - /** - * Sets the kaleo task instance token persistence. - * - * @param kaleoTaskInstanceTokenPersistence the kaleo task instance token persistence - */ - public void setKaleoTaskInstanceTokenPersistence( - KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence) { - this.kaleoTaskInstanceTokenPersistence = kaleoTaskInstanceTokenPersistence; - } - - /** - * Returns the old d l file entry local service. - * - * @return the old d l file entry local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService getOldDLFileEntryLocalService() { - return oldDLFileEntryLocalService; - } - - /** - * Sets the old d l file entry local service. - * - * @param oldDLFileEntryLocalService the old d l file entry local service - */ - public void setOldDLFileEntryLocalService( - it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService) { - this.oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Returns the old d l file entry persistence. - * - * @return the old d l file entry persistence - */ - public OldDLFileEntryPersistence getOldDLFileEntryPersistence() { - return oldDLFileEntryPersistence; - } - - /** - * Sets the old d l file entry persistence. - * - * @param oldDLFileEntryPersistence the old d l file entry persistence - */ - public void setOldDLFileEntryPersistence( - OldDLFileEntryPersistence oldDLFileEntryPersistence) { - this.oldDLFileEntryPersistence = oldDLFileEntryPersistence; - } - - /** - * Returns the old d l folder local service. - * - * @return the old d l folder local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFolderLocalService getOldDLFolderLocalService() { - return oldDLFolderLocalService; - } - - /** - * Sets the old d l folder local service. - * - * @param oldDLFolderLocalService the old d l folder local service - */ - public void setOldDLFolderLocalService( - it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService) { - this.oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Returns the old d l folder persistence. - * - * @return the old d l folder persistence - */ - public OldDLFolderPersistence getOldDLFolderPersistence() { - return oldDLFolderPersistence; - } - - /** - * Sets the old d l folder persistence. - * - * @param oldDLFolderPersistence the old d l folder persistence - */ - public void setOldDLFolderPersistence( - OldDLFolderPersistence oldDLFolderPersistence) { - this.oldDLFolderPersistence = oldDLFolderPersistence; - } - - /** - * Returns the old group local service. - * - * @return the old group local service - */ - public it.tref.liferay.portos.importazione.service.OldGroupLocalService getOldGroupLocalService() { - return oldGroupLocalService; - } - - /** - * Sets the old group local service. - * - * @param oldGroupLocalService the old group local service - */ - public void setOldGroupLocalService( - it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService) { - this.oldGroupLocalService = oldGroupLocalService; - } - - /** - * Returns the old group persistence. - * - * @return the old group persistence - */ - public OldGroupPersistence getOldGroupPersistence() { - return oldGroupPersistence; - } - - /** - * Sets the old group persistence. - * - * @param oldGroupPersistence the old group persistence - */ - public void setOldGroupPersistence(OldGroupPersistence oldGroupPersistence) { - this.oldGroupPersistence = oldGroupPersistence; - } - - /** - * Returns the old organization local service. - * - * @return the old organization local service - */ - public it.tref.liferay.portos.importazione.service.OldOrganizationLocalService getOldOrganizationLocalService() { - return oldOrganizationLocalService; - } - - /** - * Sets the old organization local service. - * - * @param oldOrganizationLocalService the old organization local service - */ - public void setOldOrganizationLocalService( - it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService) { - this.oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Returns the old organization persistence. - * - * @return the old organization persistence - */ - public OldOrganizationPersistence getOldOrganizationPersistence() { - return oldOrganizationPersistence; - } - - /** - * Sets the old organization persistence. - * - * @param oldOrganizationPersistence the old organization persistence - */ - public void setOldOrganizationPersistence( - OldOrganizationPersistence oldOrganizationPersistence) { - this.oldOrganizationPersistence = oldOrganizationPersistence; - } - - /** - * Returns the old role local service. - * - * @return the old role local service - */ - public it.tref.liferay.portos.importazione.service.OldRoleLocalService getOldRoleLocalService() { - return oldRoleLocalService; - } - - /** - * Sets the old role local service. - * - * @param oldRoleLocalService the old role local service - */ - public void setOldRoleLocalService( - it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService) { - this.oldRoleLocalService = oldRoleLocalService; - } - - /** - * Returns the old role persistence. - * - * @return the old role persistence - */ - public OldRolePersistence getOldRolePersistence() { - return oldRolePersistence; - } - - /** - * Sets the old role persistence. - * - * @param oldRolePersistence the old role persistence - */ - public void setOldRolePersistence(OldRolePersistence oldRolePersistence) { - this.oldRolePersistence = oldRolePersistence; - } - - /** - * Returns the old user local service. - * - * @return the old user local service - */ - public it.tref.liferay.portos.importazione.service.OldUserLocalService getOldUserLocalService() { - return oldUserLocalService; - } - - /** - * Sets the old user local service. - * - * @param oldUserLocalService the old user local service - */ - public void setOldUserLocalService( - it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService) { - this.oldUserLocalService = oldUserLocalService; - } - - /** - * Returns the old user persistence. - * - * @return the old user persistence - */ - public OldUserPersistence getOldUserPersistence() { - return oldUserPersistence; - } - - /** - * Sets the old user persistence. - * - * @param oldUserPersistence the old user persistence - */ - public void setOldUserPersistence(OldUserPersistence oldUserPersistence) { - this.oldUserPersistence = oldUserPersistence; - } - - /** - * Returns the old user group local service. - * - * @return the old user group local service - */ - public it.tref.liferay.portos.importazione.service.OldUserGroupLocalService getOldUserGroupLocalService() { - return oldUserGroupLocalService; - } - - /** - * Sets the old user group local service. - * - * @param oldUserGroupLocalService the old user group local service - */ - public void setOldUserGroupLocalService( - it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService) { - this.oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Returns the old user group persistence. - * - * @return the old user group persistence - */ - public OldUserGroupPersistence getOldUserGroupPersistence() { - return oldUserGroupPersistence; - } - - /** - * Sets the old user group persistence. - * - * @param oldUserGroupPersistence the old user group persistence - */ - public void setOldUserGroupPersistence( - OldUserGroupPersistence oldUserGroupPersistence) { - this.oldUserGroupPersistence = oldUserGroupPersistence; - } - - /** - * Returns the old user group finder. - * - * @return the old user group finder - */ - public OldUserGroupFinder getOldUserGroupFinder() { - return oldUserGroupFinder; - } - - /** - * Sets the old user group finder. - * - * @param oldUserGroupFinder the old user group finder - */ - public void setOldUserGroupFinder(OldUserGroupFinder oldUserGroupFinder) { - this.oldUserGroupFinder = oldUserGroupFinder; - } - - /** - * Returns the procedura importazione local service. - * - * @return the procedura importazione local service - */ - public it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService getProceduraImportazioneLocalService() { - return proceduraImportazioneLocalService; - } - - /** - * Sets the procedura importazione local service. - * - * @param proceduraImportazioneLocalService the procedura importazione local service - */ - public void setProceduraImportazioneLocalService( - it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - this.proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Returns the procedura importazione persistence. - * - * @return the procedura importazione persistence - */ - public ProceduraImportazionePersistence getProceduraImportazionePersistence() { - return proceduraImportazionePersistence; - } - - /** - * Sets the procedura importazione persistence. - * - * @param proceduraImportazionePersistence the procedura importazione persistence - */ - public void setProceduraImportazionePersistence( - ProceduraImportazionePersistence proceduraImportazionePersistence) { - this.proceduraImportazionePersistence = proceduraImportazionePersistence; - } - - /** - * Returns the stato importazione local service. - * - * @return the stato importazione local service - */ - public it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService getStatoImportazioneLocalService() { - return statoImportazioneLocalService; - } - - /** - * Sets the stato importazione local service. - * - * @param statoImportazioneLocalService the stato importazione local service - */ - public void setStatoImportazioneLocalService( - it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService) { - this.statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Returns the stato importazione persistence. - * - * @return the stato importazione persistence - */ - public StatoImportazionePersistence getStatoImportazionePersistence() { - return statoImportazionePersistence; - } - - /** - * Sets the stato importazione persistence. - * - * @param statoImportazionePersistence the stato importazione persistence - */ - public void setStatoImportazionePersistence( - StatoImportazionePersistence statoImportazionePersistence) { - this.statoImportazionePersistence = statoImportazionePersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.importazione.model.BoSorteggio", - boSorteggioLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.importazione.model.BoSorteggio"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return BoSorteggio.class; - } - - protected String getModelClassName() { - return BoSorteggio.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = boSorteggioPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService; - @BeanReference(type = BoConfigurazionePersistence.class) - protected BoConfigurazionePersistence boConfigurazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeProvinciaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService; - @BeanReference(type = FeProvinciaPersistence.class) - protected FeProvinciaPersistence feProvinciaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService; - @BeanReference(type = KaleoInstancePersistence.class) - protected KaleoInstancePersistence kaleoInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService; - @BeanReference(type = KaleoInstanceTokenPersistence.class) - protected KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoLogLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService; - @BeanReference(type = KaleoLogPersistence.class) - protected KaleoLogPersistence kaleoLogPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoNodeLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService; - @BeanReference(type = KaleoNodePersistence.class) - protected KaleoNodePersistence kaleoNodePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService; - @BeanReference(type = KaleoTaskPersistence.class) - protected KaleoTaskPersistence kaleoTaskPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService; - @BeanReference(type = KaleoTaskAssignmentInstancePersistence.class) - protected KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService; - @BeanReference(type = KaleoTaskInstanceTokenPersistence.class) - protected KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService; - @BeanReference(type = OldDLFileEntryPersistence.class) - protected OldDLFileEntryPersistence oldDLFileEntryPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFolderLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService; - @BeanReference(type = OldDLFolderPersistence.class) - protected OldDLFolderPersistence oldDLFolderPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService; - @BeanReference(type = OldGroupPersistence.class) - protected OldGroupPersistence oldGroupPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldOrganizationLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService; - @BeanReference(type = OldOrganizationPersistence.class) - protected OldOrganizationPersistence oldOrganizationPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldRoleLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService; - @BeanReference(type = OldRolePersistence.class) - protected OldRolePersistence oldRolePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService; - @BeanReference(type = OldUserPersistence.class) - protected OldUserPersistence oldUserPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService; - @BeanReference(type = OldUserGroupPersistence.class) - protected OldUserGroupPersistence oldUserGroupPersistence; - @BeanReference(type = OldUserGroupFinder.class) - protected OldUserGroupFinder oldUserGroupFinder; - @BeanReference(type = it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService; - @BeanReference(type = ProceduraImportazionePersistence.class) - protected ProceduraImportazionePersistence proceduraImportazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService; - @BeanReference(type = StatoImportazionePersistence.class) - protected StatoImportazionePersistence statoImportazionePersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private BoSorteggioLocalServiceClpInvoker _clpInvoker = new BoSorteggioLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoSorteggioLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoSorteggioLocalServiceClpInvoker.java deleted file mode 100644 index 2189fca7..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoSorteggioLocalServiceClpInvoker.java +++ /dev/null @@ -1,306 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import it.tref.liferay.portos.importazione.service.BoSorteggioLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author 3FC - * @generated - */ -public class BoSorteggioLocalServiceClpInvoker { - public BoSorteggioLocalServiceClpInvoker() { - _methodName0 = "addBoSorteggio"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.BoSorteggio" - }; - - _methodName1 = "createBoSorteggio"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoSorteggio"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoSorteggio"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.BoSorteggio" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoSorteggio"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchBoSorteggioByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchBoSorteggioByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getBoSorteggio"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getBoSorteggioByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getBoSorteggioByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getBoSorteggios"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getBoSorteggiosCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateBoSorteggio"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.importazione.model.BoSorteggio" - }; - - _methodName182 = "getBeanIdentifier"; - - _methodParameterTypes182 = new String[] { }; - - _methodName183 = "setBeanIdentifier"; - - _methodParameterTypes183 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return BoSorteggioLocalServiceUtil.addBoSorteggio((it.tref.liferay.portos.importazione.model.BoSorteggio)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return BoSorteggioLocalServiceUtil.createBoSorteggio(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return BoSorteggioLocalServiceUtil.deleteBoSorteggio(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return BoSorteggioLocalServiceUtil.deleteBoSorteggio((it.tref.liferay.portos.importazione.model.BoSorteggio)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return BoSorteggioLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return BoSorteggioLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return BoSorteggioLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return BoSorteggioLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return BoSorteggioLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return BoSorteggioLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return BoSorteggioLocalServiceUtil.fetchBoSorteggio(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return BoSorteggioLocalServiceUtil.fetchBoSorteggioByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return BoSorteggioLocalServiceUtil.fetchBoSorteggioByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return BoSorteggioLocalServiceUtil.getBoSorteggio(((Long)arguments[0]).longValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return BoSorteggioLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return BoSorteggioLocalServiceUtil.getBoSorteggioByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName16.equals(name) && - Arrays.deepEquals(_methodParameterTypes16, parameterTypes)) { - return BoSorteggioLocalServiceUtil.getBoSorteggioByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName17.equals(name) && - Arrays.deepEquals(_methodParameterTypes17, parameterTypes)) { - return BoSorteggioLocalServiceUtil.getBoSorteggios(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName18.equals(name) && - Arrays.deepEquals(_methodParameterTypes18, parameterTypes)) { - return BoSorteggioLocalServiceUtil.getBoSorteggiosCount(); - } - - if (_methodName19.equals(name) && - Arrays.deepEquals(_methodParameterTypes19, parameterTypes)) { - return BoSorteggioLocalServiceUtil.updateBoSorteggio((it.tref.liferay.portos.importazione.model.BoSorteggio)arguments[0]); - } - - if (_methodName182.equals(name) && - Arrays.deepEquals(_methodParameterTypes182, parameterTypes)) { - return BoSorteggioLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName183.equals(name) && - Arrays.deepEquals(_methodParameterTypes183, parameterTypes)) { - BoSorteggioLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName182; - private String[] _methodParameterTypes182; - private String _methodName183; - private String[] _methodParameterTypes183; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoStoricoSoggettoPraticaLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoStoricoSoggettoPraticaLocalServiceBaseImpl.java deleted file mode 100644 index 283b2f35..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoStoricoSoggettoPraticaLocalServiceBaseImpl.java +++ /dev/null @@ -1,2080 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica; -import it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinder; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the bo storico soggetto pratica local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.importazione.service.impl.BoStoricoSoggettoPraticaLocalServiceImpl}. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.impl.BoStoricoSoggettoPraticaLocalServiceImpl - * @see it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalServiceUtil - * @generated - */ -public abstract class BoStoricoSoggettoPraticaLocalServiceBaseImpl - extends BaseLocalServiceImpl implements BoStoricoSoggettoPraticaLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalServiceUtil} to access the bo storico soggetto pratica local service. - */ - - /** - * Adds the bo storico soggetto pratica to the database. Also notifies the appropriate model listeners. - * - * @param boStoricoSoggettoPratica the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoStoricoSoggettoPratica addBoStoricoSoggettoPratica( - BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws SystemException { - boStoricoSoggettoPratica.setNew(true); - - return boStoricoSoggettoPraticaPersistence.update(boStoricoSoggettoPratica); - } - - /** - * Creates a new bo storico soggetto pratica with the primary key. Does not add the bo storico soggetto pratica to the database. - * - * @param storicoSoggettoPraticaId the primary key for the new bo storico soggetto pratica - * @return the new bo storico soggetto pratica - */ - @Override - public BoStoricoSoggettoPratica createBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) { - return boStoricoSoggettoPraticaPersistence.create(storicoSoggettoPraticaId); - } - - /** - * Deletes the bo storico soggetto pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param storicoSoggettoPraticaId the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was removed - * @throws PortalException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoStoricoSoggettoPratica deleteBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) throws PortalException, SystemException { - return boStoricoSoggettoPraticaPersistence.remove(storicoSoggettoPraticaId); - } - - /** - * Deletes the bo storico soggetto pratica from the database. Also notifies the appropriate model listeners. - * - * @param boStoricoSoggettoPratica the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoStoricoSoggettoPratica deleteBoStoricoSoggettoPratica( - BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws SystemException { - return boStoricoSoggettoPraticaPersistence.remove(boStoricoSoggettoPratica); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(BoStoricoSoggettoPratica.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return boStoricoSoggettoPraticaPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return boStoricoSoggettoPraticaPersistence.findWithDynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return boStoricoSoggettoPraticaPersistence.findWithDynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return boStoricoSoggettoPraticaPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return boStoricoSoggettoPraticaPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public BoStoricoSoggettoPratica fetchBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) throws SystemException { - return boStoricoSoggettoPraticaPersistence.fetchByPrimaryKey(storicoSoggettoPraticaId); - } - - /** - * Returns the bo storico soggetto pratica with the primary key. - * - * @param storicoSoggettoPraticaId the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica - * @throws PortalException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoStoricoSoggettoPratica getBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) throws PortalException, SystemException { - return boStoricoSoggettoPraticaPersistence.findByPrimaryKey(storicoSoggettoPraticaId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return boStoricoSoggettoPraticaPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns a range of all the bo storico soggetto praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo storico soggetto praticas - * @param end the upper bound of the range of bo storico soggetto praticas (not inclusive) - * @return the range of bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List getBoStoricoSoggettoPraticas( - int start, int end) throws SystemException { - return boStoricoSoggettoPraticaPersistence.findAll(start, end); - } - - /** - * Returns the number of bo storico soggetto praticas. - * - * @return the number of bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoStoricoSoggettoPraticasCount() throws SystemException { - return boStoricoSoggettoPraticaPersistence.countAll(); - } - - /** - * Updates the bo storico soggetto pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boStoricoSoggettoPratica the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoStoricoSoggettoPratica updateBoStoricoSoggettoPratica( - BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws SystemException { - return boStoricoSoggettoPraticaPersistence.update(boStoricoSoggettoPratica); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.importazione.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.importazione.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo configurazione local service. - * - * @return the bo configurazione local service - */ - public it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService getBoConfigurazioneLocalService() { - return boConfigurazioneLocalService; - } - - /** - * Sets the bo configurazione local service. - * - * @param boConfigurazioneLocalService the bo configurazione local service - */ - public void setBoConfigurazioneLocalService( - it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService) { - this.boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Returns the bo configurazione persistence. - * - * @return the bo configurazione persistence - */ - public BoConfigurazionePersistence getBoConfigurazionePersistence() { - return boConfigurazionePersistence; - } - - /** - * Sets the bo configurazione persistence. - * - * @param boConfigurazionePersistence the bo configurazione persistence - */ - public void setBoConfigurazionePersistence( - BoConfigurazionePersistence boConfigurazionePersistence) { - this.boConfigurazionePersistence = boConfigurazionePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.importazione.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.importazione.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.importazione.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.importazione.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.importazione.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.importazione.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe provincia local service. - * - * @return the fe provincia local service - */ - public it.tref.liferay.portos.importazione.service.FeProvinciaLocalService getFeProvinciaLocalService() { - return feProvinciaLocalService; - } - - /** - * Sets the fe provincia local service. - * - * @param feProvinciaLocalService the fe provincia local service - */ - public void setFeProvinciaLocalService( - it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService) { - this.feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Returns the fe provincia persistence. - * - * @return the fe provincia persistence - */ - public FeProvinciaPersistence getFeProvinciaPersistence() { - return feProvinciaPersistence; - } - - /** - * Sets the fe provincia persistence. - * - * @param feProvinciaPersistence the fe provincia persistence - */ - public void setFeProvinciaPersistence( - FeProvinciaPersistence feProvinciaPersistence) { - this.feProvinciaPersistence = feProvinciaPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.importazione.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the kaleo instance local service. - * - * @return the kaleo instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService getKaleoInstanceLocalService() { - return kaleoInstanceLocalService; - } - - /** - * Sets the kaleo instance local service. - * - * @param kaleoInstanceLocalService the kaleo instance local service - */ - public void setKaleoInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService) { - this.kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Returns the kaleo instance persistence. - * - * @return the kaleo instance persistence - */ - public KaleoInstancePersistence getKaleoInstancePersistence() { - return kaleoInstancePersistence; - } - - /** - * Sets the kaleo instance persistence. - * - * @param kaleoInstancePersistence the kaleo instance persistence - */ - public void setKaleoInstancePersistence( - KaleoInstancePersistence kaleoInstancePersistence) { - this.kaleoInstancePersistence = kaleoInstancePersistence; - } - - /** - * Returns the kaleo instance token local service. - * - * @return the kaleo instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService getKaleoInstanceTokenLocalService() { - return kaleoInstanceTokenLocalService; - } - - /** - * Sets the kaleo instance token local service. - * - * @param kaleoInstanceTokenLocalService the kaleo instance token local service - */ - public void setKaleoInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - this.kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Returns the kaleo instance token persistence. - * - * @return the kaleo instance token persistence - */ - public KaleoInstanceTokenPersistence getKaleoInstanceTokenPersistence() { - return kaleoInstanceTokenPersistence; - } - - /** - * Sets the kaleo instance token persistence. - * - * @param kaleoInstanceTokenPersistence the kaleo instance token persistence - */ - public void setKaleoInstanceTokenPersistence( - KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence) { - this.kaleoInstanceTokenPersistence = kaleoInstanceTokenPersistence; - } - - /** - * Returns the kaleo log local service. - * - * @return the kaleo log local service - */ - public it.tref.liferay.portos.importazione.service.KaleoLogLocalService getKaleoLogLocalService() { - return kaleoLogLocalService; - } - - /** - * Sets the kaleo log local service. - * - * @param kaleoLogLocalService the kaleo log local service - */ - public void setKaleoLogLocalService( - it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService) { - this.kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Returns the kaleo log persistence. - * - * @return the kaleo log persistence - */ - public KaleoLogPersistence getKaleoLogPersistence() { - return kaleoLogPersistence; - } - - /** - * Sets the kaleo log persistence. - * - * @param kaleoLogPersistence the kaleo log persistence - */ - public void setKaleoLogPersistence(KaleoLogPersistence kaleoLogPersistence) { - this.kaleoLogPersistence = kaleoLogPersistence; - } - - /** - * Returns the kaleo node local service. - * - * @return the kaleo node local service - */ - public it.tref.liferay.portos.importazione.service.KaleoNodeLocalService getKaleoNodeLocalService() { - return kaleoNodeLocalService; - } - - /** - * Sets the kaleo node local service. - * - * @param kaleoNodeLocalService the kaleo node local service - */ - public void setKaleoNodeLocalService( - it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService) { - this.kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Returns the kaleo node persistence. - * - * @return the kaleo node persistence - */ - public KaleoNodePersistence getKaleoNodePersistence() { - return kaleoNodePersistence; - } - - /** - * Sets the kaleo node persistence. - * - * @param kaleoNodePersistence the kaleo node persistence - */ - public void setKaleoNodePersistence( - KaleoNodePersistence kaleoNodePersistence) { - this.kaleoNodePersistence = kaleoNodePersistence; - } - - /** - * Returns the kaleo task local service. - * - * @return the kaleo task local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskLocalService getKaleoTaskLocalService() { - return kaleoTaskLocalService; - } - - /** - * Sets the kaleo task local service. - * - * @param kaleoTaskLocalService the kaleo task local service - */ - public void setKaleoTaskLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService) { - this.kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Returns the kaleo task persistence. - * - * @return the kaleo task persistence - */ - public KaleoTaskPersistence getKaleoTaskPersistence() { - return kaleoTaskPersistence; - } - - /** - * Sets the kaleo task persistence. - * - * @param kaleoTaskPersistence the kaleo task persistence - */ - public void setKaleoTaskPersistence( - KaleoTaskPersistence kaleoTaskPersistence) { - this.kaleoTaskPersistence = kaleoTaskPersistence; - } - - /** - * Returns the kaleo task assignment instance local service. - * - * @return the kaleo task assignment instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService getKaleoTaskAssignmentInstanceLocalService() { - return kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Sets the kaleo task assignment instance local service. - * - * @param kaleoTaskAssignmentInstanceLocalService the kaleo task assignment instance local service - */ - public void setKaleoTaskAssignmentInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - this.kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Returns the kaleo task assignment instance persistence. - * - * @return the kaleo task assignment instance persistence - */ - public KaleoTaskAssignmentInstancePersistence getKaleoTaskAssignmentInstancePersistence() { - return kaleoTaskAssignmentInstancePersistence; - } - - /** - * Sets the kaleo task assignment instance persistence. - * - * @param kaleoTaskAssignmentInstancePersistence the kaleo task assignment instance persistence - */ - public void setKaleoTaskAssignmentInstancePersistence( - KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence) { - this.kaleoTaskAssignmentInstancePersistence = kaleoTaskAssignmentInstancePersistence; - } - - /** - * Returns the kaleo task instance token local service. - * - * @return the kaleo task instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService getKaleoTaskInstanceTokenLocalService() { - return kaleoTaskInstanceTokenLocalService; - } - - /** - * Sets the kaleo task instance token local service. - * - * @param kaleoTaskInstanceTokenLocalService the kaleo task instance token local service - */ - public void setKaleoTaskInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - this.kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Returns the kaleo task instance token persistence. - * - * @return the kaleo task instance token persistence - */ - public KaleoTaskInstanceTokenPersistence getKaleoTaskInstanceTokenPersistence() { - return kaleoTaskInstanceTokenPersistence; - } - - /** - * Sets the kaleo task instance token persistence. - * - * @param kaleoTaskInstanceTokenPersistence the kaleo task instance token persistence - */ - public void setKaleoTaskInstanceTokenPersistence( - KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence) { - this.kaleoTaskInstanceTokenPersistence = kaleoTaskInstanceTokenPersistence; - } - - /** - * Returns the old d l file entry local service. - * - * @return the old d l file entry local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService getOldDLFileEntryLocalService() { - return oldDLFileEntryLocalService; - } - - /** - * Sets the old d l file entry local service. - * - * @param oldDLFileEntryLocalService the old d l file entry local service - */ - public void setOldDLFileEntryLocalService( - it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService) { - this.oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Returns the old d l file entry persistence. - * - * @return the old d l file entry persistence - */ - public OldDLFileEntryPersistence getOldDLFileEntryPersistence() { - return oldDLFileEntryPersistence; - } - - /** - * Sets the old d l file entry persistence. - * - * @param oldDLFileEntryPersistence the old d l file entry persistence - */ - public void setOldDLFileEntryPersistence( - OldDLFileEntryPersistence oldDLFileEntryPersistence) { - this.oldDLFileEntryPersistence = oldDLFileEntryPersistence; - } - - /** - * Returns the old d l folder local service. - * - * @return the old d l folder local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFolderLocalService getOldDLFolderLocalService() { - return oldDLFolderLocalService; - } - - /** - * Sets the old d l folder local service. - * - * @param oldDLFolderLocalService the old d l folder local service - */ - public void setOldDLFolderLocalService( - it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService) { - this.oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Returns the old d l folder persistence. - * - * @return the old d l folder persistence - */ - public OldDLFolderPersistence getOldDLFolderPersistence() { - return oldDLFolderPersistence; - } - - /** - * Sets the old d l folder persistence. - * - * @param oldDLFolderPersistence the old d l folder persistence - */ - public void setOldDLFolderPersistence( - OldDLFolderPersistence oldDLFolderPersistence) { - this.oldDLFolderPersistence = oldDLFolderPersistence; - } - - /** - * Returns the old group local service. - * - * @return the old group local service - */ - public it.tref.liferay.portos.importazione.service.OldGroupLocalService getOldGroupLocalService() { - return oldGroupLocalService; - } - - /** - * Sets the old group local service. - * - * @param oldGroupLocalService the old group local service - */ - public void setOldGroupLocalService( - it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService) { - this.oldGroupLocalService = oldGroupLocalService; - } - - /** - * Returns the old group persistence. - * - * @return the old group persistence - */ - public OldGroupPersistence getOldGroupPersistence() { - return oldGroupPersistence; - } - - /** - * Sets the old group persistence. - * - * @param oldGroupPersistence the old group persistence - */ - public void setOldGroupPersistence(OldGroupPersistence oldGroupPersistence) { - this.oldGroupPersistence = oldGroupPersistence; - } - - /** - * Returns the old organization local service. - * - * @return the old organization local service - */ - public it.tref.liferay.portos.importazione.service.OldOrganizationLocalService getOldOrganizationLocalService() { - return oldOrganizationLocalService; - } - - /** - * Sets the old organization local service. - * - * @param oldOrganizationLocalService the old organization local service - */ - public void setOldOrganizationLocalService( - it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService) { - this.oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Returns the old organization persistence. - * - * @return the old organization persistence - */ - public OldOrganizationPersistence getOldOrganizationPersistence() { - return oldOrganizationPersistence; - } - - /** - * Sets the old organization persistence. - * - * @param oldOrganizationPersistence the old organization persistence - */ - public void setOldOrganizationPersistence( - OldOrganizationPersistence oldOrganizationPersistence) { - this.oldOrganizationPersistence = oldOrganizationPersistence; - } - - /** - * Returns the old role local service. - * - * @return the old role local service - */ - public it.tref.liferay.portos.importazione.service.OldRoleLocalService getOldRoleLocalService() { - return oldRoleLocalService; - } - - /** - * Sets the old role local service. - * - * @param oldRoleLocalService the old role local service - */ - public void setOldRoleLocalService( - it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService) { - this.oldRoleLocalService = oldRoleLocalService; - } - - /** - * Returns the old role persistence. - * - * @return the old role persistence - */ - public OldRolePersistence getOldRolePersistence() { - return oldRolePersistence; - } - - /** - * Sets the old role persistence. - * - * @param oldRolePersistence the old role persistence - */ - public void setOldRolePersistence(OldRolePersistence oldRolePersistence) { - this.oldRolePersistence = oldRolePersistence; - } - - /** - * Returns the old user local service. - * - * @return the old user local service - */ - public it.tref.liferay.portos.importazione.service.OldUserLocalService getOldUserLocalService() { - return oldUserLocalService; - } - - /** - * Sets the old user local service. - * - * @param oldUserLocalService the old user local service - */ - public void setOldUserLocalService( - it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService) { - this.oldUserLocalService = oldUserLocalService; - } - - /** - * Returns the old user persistence. - * - * @return the old user persistence - */ - public OldUserPersistence getOldUserPersistence() { - return oldUserPersistence; - } - - /** - * Sets the old user persistence. - * - * @param oldUserPersistence the old user persistence - */ - public void setOldUserPersistence(OldUserPersistence oldUserPersistence) { - this.oldUserPersistence = oldUserPersistence; - } - - /** - * Returns the old user group local service. - * - * @return the old user group local service - */ - public it.tref.liferay.portos.importazione.service.OldUserGroupLocalService getOldUserGroupLocalService() { - return oldUserGroupLocalService; - } - - /** - * Sets the old user group local service. - * - * @param oldUserGroupLocalService the old user group local service - */ - public void setOldUserGroupLocalService( - it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService) { - this.oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Returns the old user group persistence. - * - * @return the old user group persistence - */ - public OldUserGroupPersistence getOldUserGroupPersistence() { - return oldUserGroupPersistence; - } - - /** - * Sets the old user group persistence. - * - * @param oldUserGroupPersistence the old user group persistence - */ - public void setOldUserGroupPersistence( - OldUserGroupPersistence oldUserGroupPersistence) { - this.oldUserGroupPersistence = oldUserGroupPersistence; - } - - /** - * Returns the old user group finder. - * - * @return the old user group finder - */ - public OldUserGroupFinder getOldUserGroupFinder() { - return oldUserGroupFinder; - } - - /** - * Sets the old user group finder. - * - * @param oldUserGroupFinder the old user group finder - */ - public void setOldUserGroupFinder(OldUserGroupFinder oldUserGroupFinder) { - this.oldUserGroupFinder = oldUserGroupFinder; - } - - /** - * Returns the procedura importazione local service. - * - * @return the procedura importazione local service - */ - public it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService getProceduraImportazioneLocalService() { - return proceduraImportazioneLocalService; - } - - /** - * Sets the procedura importazione local service. - * - * @param proceduraImportazioneLocalService the procedura importazione local service - */ - public void setProceduraImportazioneLocalService( - it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - this.proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Returns the procedura importazione persistence. - * - * @return the procedura importazione persistence - */ - public ProceduraImportazionePersistence getProceduraImportazionePersistence() { - return proceduraImportazionePersistence; - } - - /** - * Sets the procedura importazione persistence. - * - * @param proceduraImportazionePersistence the procedura importazione persistence - */ - public void setProceduraImportazionePersistence( - ProceduraImportazionePersistence proceduraImportazionePersistence) { - this.proceduraImportazionePersistence = proceduraImportazionePersistence; - } - - /** - * Returns the stato importazione local service. - * - * @return the stato importazione local service - */ - public it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService getStatoImportazioneLocalService() { - return statoImportazioneLocalService; - } - - /** - * Sets the stato importazione local service. - * - * @param statoImportazioneLocalService the stato importazione local service - */ - public void setStatoImportazioneLocalService( - it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService) { - this.statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Returns the stato importazione persistence. - * - * @return the stato importazione persistence - */ - public StatoImportazionePersistence getStatoImportazionePersistence() { - return statoImportazionePersistence; - } - - /** - * Sets the stato importazione persistence. - * - * @param statoImportazionePersistence the stato importazione persistence - */ - public void setStatoImportazionePersistence( - StatoImportazionePersistence statoImportazionePersistence) { - this.statoImportazionePersistence = statoImportazionePersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica", - boStoricoSoggettoPraticaLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return BoStoricoSoggettoPratica.class; - } - - protected String getModelClassName() { - return BoStoricoSoggettoPratica.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = boStoricoSoggettoPraticaPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService; - @BeanReference(type = BoConfigurazionePersistence.class) - protected BoConfigurazionePersistence boConfigurazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeProvinciaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService; - @BeanReference(type = FeProvinciaPersistence.class) - protected FeProvinciaPersistence feProvinciaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService; - @BeanReference(type = KaleoInstancePersistence.class) - protected KaleoInstancePersistence kaleoInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService; - @BeanReference(type = KaleoInstanceTokenPersistence.class) - protected KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoLogLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService; - @BeanReference(type = KaleoLogPersistence.class) - protected KaleoLogPersistence kaleoLogPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoNodeLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService; - @BeanReference(type = KaleoNodePersistence.class) - protected KaleoNodePersistence kaleoNodePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService; - @BeanReference(type = KaleoTaskPersistence.class) - protected KaleoTaskPersistence kaleoTaskPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService; - @BeanReference(type = KaleoTaskAssignmentInstancePersistence.class) - protected KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService; - @BeanReference(type = KaleoTaskInstanceTokenPersistence.class) - protected KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService; - @BeanReference(type = OldDLFileEntryPersistence.class) - protected OldDLFileEntryPersistence oldDLFileEntryPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFolderLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService; - @BeanReference(type = OldDLFolderPersistence.class) - protected OldDLFolderPersistence oldDLFolderPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService; - @BeanReference(type = OldGroupPersistence.class) - protected OldGroupPersistence oldGroupPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldOrganizationLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService; - @BeanReference(type = OldOrganizationPersistence.class) - protected OldOrganizationPersistence oldOrganizationPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldRoleLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService; - @BeanReference(type = OldRolePersistence.class) - protected OldRolePersistence oldRolePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService; - @BeanReference(type = OldUserPersistence.class) - protected OldUserPersistence oldUserPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService; - @BeanReference(type = OldUserGroupPersistence.class) - protected OldUserGroupPersistence oldUserGroupPersistence; - @BeanReference(type = OldUserGroupFinder.class) - protected OldUserGroupFinder oldUserGroupFinder; - @BeanReference(type = it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService; - @BeanReference(type = ProceduraImportazionePersistence.class) - protected ProceduraImportazionePersistence proceduraImportazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService; - @BeanReference(type = StatoImportazionePersistence.class) - protected StatoImportazionePersistence statoImportazionePersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private BoStoricoSoggettoPraticaLocalServiceClpInvoker _clpInvoker = new BoStoricoSoggettoPraticaLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoStoricoSoggettoPraticaLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoStoricoSoggettoPraticaLocalServiceClpInvoker.java deleted file mode 100644 index 0ed51bd5..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoStoricoSoggettoPraticaLocalServiceClpInvoker.java +++ /dev/null @@ -1,258 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author 3FC - * @generated - */ -public class BoStoricoSoggettoPraticaLocalServiceClpInvoker { - public BoStoricoSoggettoPraticaLocalServiceClpInvoker() { - _methodName0 = "addBoStoricoSoggettoPratica"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica" - }; - - _methodName1 = "createBoStoricoSoggettoPratica"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoStoricoSoggettoPratica"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoStoricoSoggettoPratica"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoStoricoSoggettoPratica"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getBoStoricoSoggettoPratica"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getBoStoricoSoggettoPraticas"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getBoStoricoSoggettoPraticasCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateBoStoricoSoggettoPratica"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica" - }; - - _methodName178 = "getBeanIdentifier"; - - _methodParameterTypes178 = new String[] { }; - - _methodName179 = "setBeanIdentifier"; - - _methodParameterTypes179 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return BoStoricoSoggettoPraticaLocalServiceUtil.addBoStoricoSoggettoPratica((it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return BoStoricoSoggettoPraticaLocalServiceUtil.createBoStoricoSoggettoPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return BoStoricoSoggettoPraticaLocalServiceUtil.deleteBoStoricoSoggettoPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return BoStoricoSoggettoPraticaLocalServiceUtil.deleteBoStoricoSoggettoPratica((it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return BoStoricoSoggettoPraticaLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return BoStoricoSoggettoPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return BoStoricoSoggettoPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return BoStoricoSoggettoPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return BoStoricoSoggettoPraticaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return BoStoricoSoggettoPraticaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return BoStoricoSoggettoPraticaLocalServiceUtil.fetchBoStoricoSoggettoPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return BoStoricoSoggettoPraticaLocalServiceUtil.getBoStoricoSoggettoPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return BoStoricoSoggettoPraticaLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return BoStoricoSoggettoPraticaLocalServiceUtil.getBoStoricoSoggettoPraticas(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return BoStoricoSoggettoPraticaLocalServiceUtil.getBoStoricoSoggettoPraticasCount(); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return BoStoricoSoggettoPraticaLocalServiceUtil.updateBoStoricoSoggettoPratica((it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica)arguments[0]); - } - - if (_methodName178.equals(name) && - Arrays.deepEquals(_methodParameterTypes178, parameterTypes)) { - return BoStoricoSoggettoPraticaLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName179.equals(name) && - Arrays.deepEquals(_methodParameterTypes179, parameterTypes)) { - BoStoricoSoggettoPraticaLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName178; - private String[] _methodParameterTypes178; - private String _methodName179; - private String[] _methodParameterTypes179; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoTempisticaLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoTempisticaLocalServiceBaseImpl.java deleted file mode 100644 index 9d4a8fc7..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoTempisticaLocalServiceBaseImpl.java +++ /dev/null @@ -1,2134 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.importazione.model.BoTempistica; -import it.tref.liferay.portos.importazione.service.BoTempisticaLocalService; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinder; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the bo tempistica local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.importazione.service.impl.BoTempisticaLocalServiceImpl}. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.impl.BoTempisticaLocalServiceImpl - * @see it.tref.liferay.portos.importazione.service.BoTempisticaLocalServiceUtil - * @generated - */ -public abstract class BoTempisticaLocalServiceBaseImpl - extends BaseLocalServiceImpl implements BoTempisticaLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.importazione.service.BoTempisticaLocalServiceUtil} to access the bo tempistica local service. - */ - - /** - * Adds the bo tempistica to the database. Also notifies the appropriate model listeners. - * - * @param boTempistica the bo tempistica - * @return the bo tempistica that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoTempistica addBoTempistica(BoTempistica boTempistica) - throws SystemException { - boTempistica.setNew(true); - - return boTempisticaPersistence.update(boTempistica); - } - - /** - * Creates a new bo tempistica with the primary key. Does not add the bo tempistica to the database. - * - * @param tempisticaId the primary key for the new bo tempistica - * @return the new bo tempistica - */ - @Override - public BoTempistica createBoTempistica(long tempisticaId) { - return boTempisticaPersistence.create(tempisticaId); - } - - /** - * Deletes the bo tempistica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param tempisticaId the primary key of the bo tempistica - * @return the bo tempistica that was removed - * @throws PortalException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoTempistica deleteBoTempistica(long tempisticaId) - throws PortalException, SystemException { - return boTempisticaPersistence.remove(tempisticaId); - } - - /** - * Deletes the bo tempistica from the database. Also notifies the appropriate model listeners. - * - * @param boTempistica the bo tempistica - * @return the bo tempistica that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoTempistica deleteBoTempistica(BoTempistica boTempistica) - throws SystemException { - return boTempisticaPersistence.remove(boTempistica); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(BoTempistica.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return boTempisticaPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return boTempisticaPersistence.findWithDynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return boTempisticaPersistence.findWithDynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return boTempisticaPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return boTempisticaPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public BoTempistica fetchBoTempistica(long tempisticaId) - throws SystemException { - return boTempisticaPersistence.fetchByPrimaryKey(tempisticaId); - } - - /** - * Returns the bo tempistica with the matching UUID and company. - * - * @param uuid the bo tempistica's UUID - * @param companyId the primary key of the company - * @return the matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica fetchBoTempisticaByUuidAndCompanyId(String uuid, - long companyId) throws SystemException { - return boTempisticaPersistence.fetchByUuid_C_First(uuid, companyId, null); - } - - /** - * Returns the bo tempistica matching the UUID and group. - * - * @param uuid the bo tempistica's UUID - * @param groupId the primary key of the group - * @return the matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica fetchBoTempisticaByUuidAndGroupId(String uuid, - long groupId) throws SystemException { - return boTempisticaPersistence.fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the bo tempistica with the primary key. - * - * @param tempisticaId the primary key of the bo tempistica - * @return the bo tempistica - * @throws PortalException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica getBoTempistica(long tempisticaId) - throws PortalException, SystemException { - return boTempisticaPersistence.findByPrimaryKey(tempisticaId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return boTempisticaPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns the bo tempistica with the matching UUID and company. - * - * @param uuid the bo tempistica's UUID - * @param companyId the primary key of the company - * @return the matching bo tempistica - * @throws PortalException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica getBoTempisticaByUuidAndCompanyId(String uuid, - long companyId) throws PortalException, SystemException { - return boTempisticaPersistence.findByUuid_C_First(uuid, companyId, null); - } - - /** - * Returns the bo tempistica matching the UUID and group. - * - * @param uuid the bo tempistica's UUID - * @param groupId the primary key of the group - * @return the matching bo tempistica - * @throws PortalException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica getBoTempisticaByUuidAndGroupId(String uuid, - long groupId) throws PortalException, SystemException { - return boTempisticaPersistence.findByUUID_G(uuid, groupId); - } - - /** - * Returns a range of all the bo tempisticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @return the range of bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public List getBoTempisticas(int start, int end) - throws SystemException { - return boTempisticaPersistence.findAll(start, end); - } - - /** - * Returns the number of bo tempisticas. - * - * @return the number of bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoTempisticasCount() throws SystemException { - return boTempisticaPersistence.countAll(); - } - - /** - * Updates the bo tempistica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boTempistica the bo tempistica - * @return the bo tempistica that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoTempistica updateBoTempistica(BoTempistica boTempistica) - throws SystemException { - return boTempisticaPersistence.update(boTempistica); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.importazione.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.importazione.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo configurazione local service. - * - * @return the bo configurazione local service - */ - public it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService getBoConfigurazioneLocalService() { - return boConfigurazioneLocalService; - } - - /** - * Sets the bo configurazione local service. - * - * @param boConfigurazioneLocalService the bo configurazione local service - */ - public void setBoConfigurazioneLocalService( - it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService) { - this.boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Returns the bo configurazione persistence. - * - * @return the bo configurazione persistence - */ - public BoConfigurazionePersistence getBoConfigurazionePersistence() { - return boConfigurazionePersistence; - } - - /** - * Sets the bo configurazione persistence. - * - * @param boConfigurazionePersistence the bo configurazione persistence - */ - public void setBoConfigurazionePersistence( - BoConfigurazionePersistence boConfigurazionePersistence) { - this.boConfigurazionePersistence = boConfigurazionePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.importazione.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.importazione.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.importazione.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.importazione.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.importazione.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.importazione.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe provincia local service. - * - * @return the fe provincia local service - */ - public it.tref.liferay.portos.importazione.service.FeProvinciaLocalService getFeProvinciaLocalService() { - return feProvinciaLocalService; - } - - /** - * Sets the fe provincia local service. - * - * @param feProvinciaLocalService the fe provincia local service - */ - public void setFeProvinciaLocalService( - it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService) { - this.feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Returns the fe provincia persistence. - * - * @return the fe provincia persistence - */ - public FeProvinciaPersistence getFeProvinciaPersistence() { - return feProvinciaPersistence; - } - - /** - * Sets the fe provincia persistence. - * - * @param feProvinciaPersistence the fe provincia persistence - */ - public void setFeProvinciaPersistence( - FeProvinciaPersistence feProvinciaPersistence) { - this.feProvinciaPersistence = feProvinciaPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.importazione.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the kaleo instance local service. - * - * @return the kaleo instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService getKaleoInstanceLocalService() { - return kaleoInstanceLocalService; - } - - /** - * Sets the kaleo instance local service. - * - * @param kaleoInstanceLocalService the kaleo instance local service - */ - public void setKaleoInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService) { - this.kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Returns the kaleo instance persistence. - * - * @return the kaleo instance persistence - */ - public KaleoInstancePersistence getKaleoInstancePersistence() { - return kaleoInstancePersistence; - } - - /** - * Sets the kaleo instance persistence. - * - * @param kaleoInstancePersistence the kaleo instance persistence - */ - public void setKaleoInstancePersistence( - KaleoInstancePersistence kaleoInstancePersistence) { - this.kaleoInstancePersistence = kaleoInstancePersistence; - } - - /** - * Returns the kaleo instance token local service. - * - * @return the kaleo instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService getKaleoInstanceTokenLocalService() { - return kaleoInstanceTokenLocalService; - } - - /** - * Sets the kaleo instance token local service. - * - * @param kaleoInstanceTokenLocalService the kaleo instance token local service - */ - public void setKaleoInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - this.kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Returns the kaleo instance token persistence. - * - * @return the kaleo instance token persistence - */ - public KaleoInstanceTokenPersistence getKaleoInstanceTokenPersistence() { - return kaleoInstanceTokenPersistence; - } - - /** - * Sets the kaleo instance token persistence. - * - * @param kaleoInstanceTokenPersistence the kaleo instance token persistence - */ - public void setKaleoInstanceTokenPersistence( - KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence) { - this.kaleoInstanceTokenPersistence = kaleoInstanceTokenPersistence; - } - - /** - * Returns the kaleo log local service. - * - * @return the kaleo log local service - */ - public it.tref.liferay.portos.importazione.service.KaleoLogLocalService getKaleoLogLocalService() { - return kaleoLogLocalService; - } - - /** - * Sets the kaleo log local service. - * - * @param kaleoLogLocalService the kaleo log local service - */ - public void setKaleoLogLocalService( - it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService) { - this.kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Returns the kaleo log persistence. - * - * @return the kaleo log persistence - */ - public KaleoLogPersistence getKaleoLogPersistence() { - return kaleoLogPersistence; - } - - /** - * Sets the kaleo log persistence. - * - * @param kaleoLogPersistence the kaleo log persistence - */ - public void setKaleoLogPersistence(KaleoLogPersistence kaleoLogPersistence) { - this.kaleoLogPersistence = kaleoLogPersistence; - } - - /** - * Returns the kaleo node local service. - * - * @return the kaleo node local service - */ - public it.tref.liferay.portos.importazione.service.KaleoNodeLocalService getKaleoNodeLocalService() { - return kaleoNodeLocalService; - } - - /** - * Sets the kaleo node local service. - * - * @param kaleoNodeLocalService the kaleo node local service - */ - public void setKaleoNodeLocalService( - it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService) { - this.kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Returns the kaleo node persistence. - * - * @return the kaleo node persistence - */ - public KaleoNodePersistence getKaleoNodePersistence() { - return kaleoNodePersistence; - } - - /** - * Sets the kaleo node persistence. - * - * @param kaleoNodePersistence the kaleo node persistence - */ - public void setKaleoNodePersistence( - KaleoNodePersistence kaleoNodePersistence) { - this.kaleoNodePersistence = kaleoNodePersistence; - } - - /** - * Returns the kaleo task local service. - * - * @return the kaleo task local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskLocalService getKaleoTaskLocalService() { - return kaleoTaskLocalService; - } - - /** - * Sets the kaleo task local service. - * - * @param kaleoTaskLocalService the kaleo task local service - */ - public void setKaleoTaskLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService) { - this.kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Returns the kaleo task persistence. - * - * @return the kaleo task persistence - */ - public KaleoTaskPersistence getKaleoTaskPersistence() { - return kaleoTaskPersistence; - } - - /** - * Sets the kaleo task persistence. - * - * @param kaleoTaskPersistence the kaleo task persistence - */ - public void setKaleoTaskPersistence( - KaleoTaskPersistence kaleoTaskPersistence) { - this.kaleoTaskPersistence = kaleoTaskPersistence; - } - - /** - * Returns the kaleo task assignment instance local service. - * - * @return the kaleo task assignment instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService getKaleoTaskAssignmentInstanceLocalService() { - return kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Sets the kaleo task assignment instance local service. - * - * @param kaleoTaskAssignmentInstanceLocalService the kaleo task assignment instance local service - */ - public void setKaleoTaskAssignmentInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - this.kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Returns the kaleo task assignment instance persistence. - * - * @return the kaleo task assignment instance persistence - */ - public KaleoTaskAssignmentInstancePersistence getKaleoTaskAssignmentInstancePersistence() { - return kaleoTaskAssignmentInstancePersistence; - } - - /** - * Sets the kaleo task assignment instance persistence. - * - * @param kaleoTaskAssignmentInstancePersistence the kaleo task assignment instance persistence - */ - public void setKaleoTaskAssignmentInstancePersistence( - KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence) { - this.kaleoTaskAssignmentInstancePersistence = kaleoTaskAssignmentInstancePersistence; - } - - /** - * Returns the kaleo task instance token local service. - * - * @return the kaleo task instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService getKaleoTaskInstanceTokenLocalService() { - return kaleoTaskInstanceTokenLocalService; - } - - /** - * Sets the kaleo task instance token local service. - * - * @param kaleoTaskInstanceTokenLocalService the kaleo task instance token local service - */ - public void setKaleoTaskInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - this.kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Returns the kaleo task instance token persistence. - * - * @return the kaleo task instance token persistence - */ - public KaleoTaskInstanceTokenPersistence getKaleoTaskInstanceTokenPersistence() { - return kaleoTaskInstanceTokenPersistence; - } - - /** - * Sets the kaleo task instance token persistence. - * - * @param kaleoTaskInstanceTokenPersistence the kaleo task instance token persistence - */ - public void setKaleoTaskInstanceTokenPersistence( - KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence) { - this.kaleoTaskInstanceTokenPersistence = kaleoTaskInstanceTokenPersistence; - } - - /** - * Returns the old d l file entry local service. - * - * @return the old d l file entry local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService getOldDLFileEntryLocalService() { - return oldDLFileEntryLocalService; - } - - /** - * Sets the old d l file entry local service. - * - * @param oldDLFileEntryLocalService the old d l file entry local service - */ - public void setOldDLFileEntryLocalService( - it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService) { - this.oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Returns the old d l file entry persistence. - * - * @return the old d l file entry persistence - */ - public OldDLFileEntryPersistence getOldDLFileEntryPersistence() { - return oldDLFileEntryPersistence; - } - - /** - * Sets the old d l file entry persistence. - * - * @param oldDLFileEntryPersistence the old d l file entry persistence - */ - public void setOldDLFileEntryPersistence( - OldDLFileEntryPersistence oldDLFileEntryPersistence) { - this.oldDLFileEntryPersistence = oldDLFileEntryPersistence; - } - - /** - * Returns the old d l folder local service. - * - * @return the old d l folder local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFolderLocalService getOldDLFolderLocalService() { - return oldDLFolderLocalService; - } - - /** - * Sets the old d l folder local service. - * - * @param oldDLFolderLocalService the old d l folder local service - */ - public void setOldDLFolderLocalService( - it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService) { - this.oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Returns the old d l folder persistence. - * - * @return the old d l folder persistence - */ - public OldDLFolderPersistence getOldDLFolderPersistence() { - return oldDLFolderPersistence; - } - - /** - * Sets the old d l folder persistence. - * - * @param oldDLFolderPersistence the old d l folder persistence - */ - public void setOldDLFolderPersistence( - OldDLFolderPersistence oldDLFolderPersistence) { - this.oldDLFolderPersistence = oldDLFolderPersistence; - } - - /** - * Returns the old group local service. - * - * @return the old group local service - */ - public it.tref.liferay.portos.importazione.service.OldGroupLocalService getOldGroupLocalService() { - return oldGroupLocalService; - } - - /** - * Sets the old group local service. - * - * @param oldGroupLocalService the old group local service - */ - public void setOldGroupLocalService( - it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService) { - this.oldGroupLocalService = oldGroupLocalService; - } - - /** - * Returns the old group persistence. - * - * @return the old group persistence - */ - public OldGroupPersistence getOldGroupPersistence() { - return oldGroupPersistence; - } - - /** - * Sets the old group persistence. - * - * @param oldGroupPersistence the old group persistence - */ - public void setOldGroupPersistence(OldGroupPersistence oldGroupPersistence) { - this.oldGroupPersistence = oldGroupPersistence; - } - - /** - * Returns the old organization local service. - * - * @return the old organization local service - */ - public it.tref.liferay.portos.importazione.service.OldOrganizationLocalService getOldOrganizationLocalService() { - return oldOrganizationLocalService; - } - - /** - * Sets the old organization local service. - * - * @param oldOrganizationLocalService the old organization local service - */ - public void setOldOrganizationLocalService( - it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService) { - this.oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Returns the old organization persistence. - * - * @return the old organization persistence - */ - public OldOrganizationPersistence getOldOrganizationPersistence() { - return oldOrganizationPersistence; - } - - /** - * Sets the old organization persistence. - * - * @param oldOrganizationPersistence the old organization persistence - */ - public void setOldOrganizationPersistence( - OldOrganizationPersistence oldOrganizationPersistence) { - this.oldOrganizationPersistence = oldOrganizationPersistence; - } - - /** - * Returns the old role local service. - * - * @return the old role local service - */ - public it.tref.liferay.portos.importazione.service.OldRoleLocalService getOldRoleLocalService() { - return oldRoleLocalService; - } - - /** - * Sets the old role local service. - * - * @param oldRoleLocalService the old role local service - */ - public void setOldRoleLocalService( - it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService) { - this.oldRoleLocalService = oldRoleLocalService; - } - - /** - * Returns the old role persistence. - * - * @return the old role persistence - */ - public OldRolePersistence getOldRolePersistence() { - return oldRolePersistence; - } - - /** - * Sets the old role persistence. - * - * @param oldRolePersistence the old role persistence - */ - public void setOldRolePersistence(OldRolePersistence oldRolePersistence) { - this.oldRolePersistence = oldRolePersistence; - } - - /** - * Returns the old user local service. - * - * @return the old user local service - */ - public it.tref.liferay.portos.importazione.service.OldUserLocalService getOldUserLocalService() { - return oldUserLocalService; - } - - /** - * Sets the old user local service. - * - * @param oldUserLocalService the old user local service - */ - public void setOldUserLocalService( - it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService) { - this.oldUserLocalService = oldUserLocalService; - } - - /** - * Returns the old user persistence. - * - * @return the old user persistence - */ - public OldUserPersistence getOldUserPersistence() { - return oldUserPersistence; - } - - /** - * Sets the old user persistence. - * - * @param oldUserPersistence the old user persistence - */ - public void setOldUserPersistence(OldUserPersistence oldUserPersistence) { - this.oldUserPersistence = oldUserPersistence; - } - - /** - * Returns the old user group local service. - * - * @return the old user group local service - */ - public it.tref.liferay.portos.importazione.service.OldUserGroupLocalService getOldUserGroupLocalService() { - return oldUserGroupLocalService; - } - - /** - * Sets the old user group local service. - * - * @param oldUserGroupLocalService the old user group local service - */ - public void setOldUserGroupLocalService( - it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService) { - this.oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Returns the old user group persistence. - * - * @return the old user group persistence - */ - public OldUserGroupPersistence getOldUserGroupPersistence() { - return oldUserGroupPersistence; - } - - /** - * Sets the old user group persistence. - * - * @param oldUserGroupPersistence the old user group persistence - */ - public void setOldUserGroupPersistence( - OldUserGroupPersistence oldUserGroupPersistence) { - this.oldUserGroupPersistence = oldUserGroupPersistence; - } - - /** - * Returns the old user group finder. - * - * @return the old user group finder - */ - public OldUserGroupFinder getOldUserGroupFinder() { - return oldUserGroupFinder; - } - - /** - * Sets the old user group finder. - * - * @param oldUserGroupFinder the old user group finder - */ - public void setOldUserGroupFinder(OldUserGroupFinder oldUserGroupFinder) { - this.oldUserGroupFinder = oldUserGroupFinder; - } - - /** - * Returns the procedura importazione local service. - * - * @return the procedura importazione local service - */ - public it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService getProceduraImportazioneLocalService() { - return proceduraImportazioneLocalService; - } - - /** - * Sets the procedura importazione local service. - * - * @param proceduraImportazioneLocalService the procedura importazione local service - */ - public void setProceduraImportazioneLocalService( - it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - this.proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Returns the procedura importazione persistence. - * - * @return the procedura importazione persistence - */ - public ProceduraImportazionePersistence getProceduraImportazionePersistence() { - return proceduraImportazionePersistence; - } - - /** - * Sets the procedura importazione persistence. - * - * @param proceduraImportazionePersistence the procedura importazione persistence - */ - public void setProceduraImportazionePersistence( - ProceduraImportazionePersistence proceduraImportazionePersistence) { - this.proceduraImportazionePersistence = proceduraImportazionePersistence; - } - - /** - * Returns the stato importazione local service. - * - * @return the stato importazione local service - */ - public it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService getStatoImportazioneLocalService() { - return statoImportazioneLocalService; - } - - /** - * Sets the stato importazione local service. - * - * @param statoImportazioneLocalService the stato importazione local service - */ - public void setStatoImportazioneLocalService( - it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService) { - this.statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Returns the stato importazione persistence. - * - * @return the stato importazione persistence - */ - public StatoImportazionePersistence getStatoImportazionePersistence() { - return statoImportazionePersistence; - } - - /** - * Sets the stato importazione persistence. - * - * @param statoImportazionePersistence the stato importazione persistence - */ - public void setStatoImportazionePersistence( - StatoImportazionePersistence statoImportazionePersistence) { - this.statoImportazionePersistence = statoImportazionePersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.importazione.model.BoTempistica", - boTempisticaLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.importazione.model.BoTempistica"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return BoTempistica.class; - } - - protected String getModelClassName() { - return BoTempistica.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = boTempisticaPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService; - @BeanReference(type = BoConfigurazionePersistence.class) - protected BoConfigurazionePersistence boConfigurazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeProvinciaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService; - @BeanReference(type = FeProvinciaPersistence.class) - protected FeProvinciaPersistence feProvinciaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService; - @BeanReference(type = KaleoInstancePersistence.class) - protected KaleoInstancePersistence kaleoInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService; - @BeanReference(type = KaleoInstanceTokenPersistence.class) - protected KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoLogLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService; - @BeanReference(type = KaleoLogPersistence.class) - protected KaleoLogPersistence kaleoLogPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoNodeLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService; - @BeanReference(type = KaleoNodePersistence.class) - protected KaleoNodePersistence kaleoNodePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService; - @BeanReference(type = KaleoTaskPersistence.class) - protected KaleoTaskPersistence kaleoTaskPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService; - @BeanReference(type = KaleoTaskAssignmentInstancePersistence.class) - protected KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService; - @BeanReference(type = KaleoTaskInstanceTokenPersistence.class) - protected KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService; - @BeanReference(type = OldDLFileEntryPersistence.class) - protected OldDLFileEntryPersistence oldDLFileEntryPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFolderLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService; - @BeanReference(type = OldDLFolderPersistence.class) - protected OldDLFolderPersistence oldDLFolderPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService; - @BeanReference(type = OldGroupPersistence.class) - protected OldGroupPersistence oldGroupPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldOrganizationLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService; - @BeanReference(type = OldOrganizationPersistence.class) - protected OldOrganizationPersistence oldOrganizationPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldRoleLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService; - @BeanReference(type = OldRolePersistence.class) - protected OldRolePersistence oldRolePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService; - @BeanReference(type = OldUserPersistence.class) - protected OldUserPersistence oldUserPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService; - @BeanReference(type = OldUserGroupPersistence.class) - protected OldUserGroupPersistence oldUserGroupPersistence; - @BeanReference(type = OldUserGroupFinder.class) - protected OldUserGroupFinder oldUserGroupFinder; - @BeanReference(type = it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService; - @BeanReference(type = ProceduraImportazionePersistence.class) - protected ProceduraImportazionePersistence proceduraImportazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService; - @BeanReference(type = StatoImportazionePersistence.class) - protected StatoImportazionePersistence statoImportazionePersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private BoTempisticaLocalServiceClpInvoker _clpInvoker = new BoTempisticaLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoTempisticaLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoTempisticaLocalServiceClpInvoker.java deleted file mode 100644 index 1cba1ca4..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoTempisticaLocalServiceClpInvoker.java +++ /dev/null @@ -1,306 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import it.tref.liferay.portos.importazione.service.BoTempisticaLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author 3FC - * @generated - */ -public class BoTempisticaLocalServiceClpInvoker { - public BoTempisticaLocalServiceClpInvoker() { - _methodName0 = "addBoTempistica"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.BoTempistica" - }; - - _methodName1 = "createBoTempistica"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoTempistica"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoTempistica"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.BoTempistica" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoTempistica"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchBoTempisticaByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchBoTempisticaByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getBoTempistica"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getBoTempisticaByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getBoTempisticaByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getBoTempisticas"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getBoTempisticasCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateBoTempistica"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.importazione.model.BoTempistica" - }; - - _methodName182 = "getBeanIdentifier"; - - _methodParameterTypes182 = new String[] { }; - - _methodName183 = "setBeanIdentifier"; - - _methodParameterTypes183 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return BoTempisticaLocalServiceUtil.addBoTempistica((it.tref.liferay.portos.importazione.model.BoTempistica)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return BoTempisticaLocalServiceUtil.createBoTempistica(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return BoTempisticaLocalServiceUtil.deleteBoTempistica(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return BoTempisticaLocalServiceUtil.deleteBoTempistica((it.tref.liferay.portos.importazione.model.BoTempistica)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return BoTempisticaLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return BoTempisticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return BoTempisticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return BoTempisticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return BoTempisticaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return BoTempisticaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return BoTempisticaLocalServiceUtil.fetchBoTempistica(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return BoTempisticaLocalServiceUtil.fetchBoTempisticaByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return BoTempisticaLocalServiceUtil.fetchBoTempisticaByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return BoTempisticaLocalServiceUtil.getBoTempistica(((Long)arguments[0]).longValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return BoTempisticaLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return BoTempisticaLocalServiceUtil.getBoTempisticaByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName16.equals(name) && - Arrays.deepEquals(_methodParameterTypes16, parameterTypes)) { - return BoTempisticaLocalServiceUtil.getBoTempisticaByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName17.equals(name) && - Arrays.deepEquals(_methodParameterTypes17, parameterTypes)) { - return BoTempisticaLocalServiceUtil.getBoTempisticas(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName18.equals(name) && - Arrays.deepEquals(_methodParameterTypes18, parameterTypes)) { - return BoTempisticaLocalServiceUtil.getBoTempisticasCount(); - } - - if (_methodName19.equals(name) && - Arrays.deepEquals(_methodParameterTypes19, parameterTypes)) { - return BoTempisticaLocalServiceUtil.updateBoTempistica((it.tref.liferay.portos.importazione.model.BoTempistica)arguments[0]); - } - - if (_methodName182.equals(name) && - Arrays.deepEquals(_methodParameterTypes182, parameterTypes)) { - return BoTempisticaLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName183.equals(name) && - Arrays.deepEquals(_methodParameterTypes183, parameterTypes)) { - BoTempisticaLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName182; - private String[] _methodParameterTypes182; - private String _methodName183; - private String[] _methodParameterTypes183; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoTerritorioLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoTerritorioLocalServiceBaseImpl.java deleted file mode 100644 index 01649e9f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoTerritorioLocalServiceBaseImpl.java +++ /dev/null @@ -1,2076 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.importazione.model.BoTerritorio; -import it.tref.liferay.portos.importazione.service.BoTerritorioLocalService; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinder; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the bo territorio local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.importazione.service.impl.BoTerritorioLocalServiceImpl}. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.impl.BoTerritorioLocalServiceImpl - * @see it.tref.liferay.portos.importazione.service.BoTerritorioLocalServiceUtil - * @generated - */ -public abstract class BoTerritorioLocalServiceBaseImpl - extends BaseLocalServiceImpl implements BoTerritorioLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.importazione.service.BoTerritorioLocalServiceUtil} to access the bo territorio local service. - */ - - /** - * Adds the bo territorio to the database. Also notifies the appropriate model listeners. - * - * @param boTerritorio the bo territorio - * @return the bo territorio that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoTerritorio addBoTerritorio(BoTerritorio boTerritorio) - throws SystemException { - boTerritorio.setNew(true); - - return boTerritorioPersistence.update(boTerritorio); - } - - /** - * Creates a new bo territorio with the primary key. Does not add the bo territorio to the database. - * - * @param territorioId the primary key for the new bo territorio - * @return the new bo territorio - */ - @Override - public BoTerritorio createBoTerritorio(long territorioId) { - return boTerritorioPersistence.create(territorioId); - } - - /** - * Deletes the bo territorio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param territorioId the primary key of the bo territorio - * @return the bo territorio that was removed - * @throws PortalException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoTerritorio deleteBoTerritorio(long territorioId) - throws PortalException, SystemException { - return boTerritorioPersistence.remove(territorioId); - } - - /** - * Deletes the bo territorio from the database. Also notifies the appropriate model listeners. - * - * @param boTerritorio the bo territorio - * @return the bo territorio that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoTerritorio deleteBoTerritorio(BoTerritorio boTerritorio) - throws SystemException { - return boTerritorioPersistence.remove(boTerritorio); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(BoTerritorio.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return boTerritorioPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return boTerritorioPersistence.findWithDynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return boTerritorioPersistence.findWithDynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return boTerritorioPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return boTerritorioPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public BoTerritorio fetchBoTerritorio(long territorioId) - throws SystemException { - return boTerritorioPersistence.fetchByPrimaryKey(territorioId); - } - - /** - * Returns the bo territorio with the primary key. - * - * @param territorioId the primary key of the bo territorio - * @return the bo territorio - * @throws PortalException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio getBoTerritorio(long territorioId) - throws PortalException, SystemException { - return boTerritorioPersistence.findByPrimaryKey(territorioId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return boTerritorioPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns a range of all the bo territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List getBoTerritorios(int start, int end) - throws SystemException { - return boTerritorioPersistence.findAll(start, end); - } - - /** - * Returns the number of bo territorios. - * - * @return the number of bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoTerritoriosCount() throws SystemException { - return boTerritorioPersistence.countAll(); - } - - /** - * Updates the bo territorio in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boTerritorio the bo territorio - * @return the bo territorio that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoTerritorio updateBoTerritorio(BoTerritorio boTerritorio) - throws SystemException { - return boTerritorioPersistence.update(boTerritorio); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.importazione.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.importazione.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo configurazione local service. - * - * @return the bo configurazione local service - */ - public it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService getBoConfigurazioneLocalService() { - return boConfigurazioneLocalService; - } - - /** - * Sets the bo configurazione local service. - * - * @param boConfigurazioneLocalService the bo configurazione local service - */ - public void setBoConfigurazioneLocalService( - it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService) { - this.boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Returns the bo configurazione persistence. - * - * @return the bo configurazione persistence - */ - public BoConfigurazionePersistence getBoConfigurazionePersistence() { - return boConfigurazionePersistence; - } - - /** - * Sets the bo configurazione persistence. - * - * @param boConfigurazionePersistence the bo configurazione persistence - */ - public void setBoConfigurazionePersistence( - BoConfigurazionePersistence boConfigurazionePersistence) { - this.boConfigurazionePersistence = boConfigurazionePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.importazione.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.importazione.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.importazione.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.importazione.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.importazione.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.importazione.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe provincia local service. - * - * @return the fe provincia local service - */ - public it.tref.liferay.portos.importazione.service.FeProvinciaLocalService getFeProvinciaLocalService() { - return feProvinciaLocalService; - } - - /** - * Sets the fe provincia local service. - * - * @param feProvinciaLocalService the fe provincia local service - */ - public void setFeProvinciaLocalService( - it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService) { - this.feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Returns the fe provincia persistence. - * - * @return the fe provincia persistence - */ - public FeProvinciaPersistence getFeProvinciaPersistence() { - return feProvinciaPersistence; - } - - /** - * Sets the fe provincia persistence. - * - * @param feProvinciaPersistence the fe provincia persistence - */ - public void setFeProvinciaPersistence( - FeProvinciaPersistence feProvinciaPersistence) { - this.feProvinciaPersistence = feProvinciaPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.importazione.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the kaleo instance local service. - * - * @return the kaleo instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService getKaleoInstanceLocalService() { - return kaleoInstanceLocalService; - } - - /** - * Sets the kaleo instance local service. - * - * @param kaleoInstanceLocalService the kaleo instance local service - */ - public void setKaleoInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService) { - this.kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Returns the kaleo instance persistence. - * - * @return the kaleo instance persistence - */ - public KaleoInstancePersistence getKaleoInstancePersistence() { - return kaleoInstancePersistence; - } - - /** - * Sets the kaleo instance persistence. - * - * @param kaleoInstancePersistence the kaleo instance persistence - */ - public void setKaleoInstancePersistence( - KaleoInstancePersistence kaleoInstancePersistence) { - this.kaleoInstancePersistence = kaleoInstancePersistence; - } - - /** - * Returns the kaleo instance token local service. - * - * @return the kaleo instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService getKaleoInstanceTokenLocalService() { - return kaleoInstanceTokenLocalService; - } - - /** - * Sets the kaleo instance token local service. - * - * @param kaleoInstanceTokenLocalService the kaleo instance token local service - */ - public void setKaleoInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - this.kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Returns the kaleo instance token persistence. - * - * @return the kaleo instance token persistence - */ - public KaleoInstanceTokenPersistence getKaleoInstanceTokenPersistence() { - return kaleoInstanceTokenPersistence; - } - - /** - * Sets the kaleo instance token persistence. - * - * @param kaleoInstanceTokenPersistence the kaleo instance token persistence - */ - public void setKaleoInstanceTokenPersistence( - KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence) { - this.kaleoInstanceTokenPersistence = kaleoInstanceTokenPersistence; - } - - /** - * Returns the kaleo log local service. - * - * @return the kaleo log local service - */ - public it.tref.liferay.portos.importazione.service.KaleoLogLocalService getKaleoLogLocalService() { - return kaleoLogLocalService; - } - - /** - * Sets the kaleo log local service. - * - * @param kaleoLogLocalService the kaleo log local service - */ - public void setKaleoLogLocalService( - it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService) { - this.kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Returns the kaleo log persistence. - * - * @return the kaleo log persistence - */ - public KaleoLogPersistence getKaleoLogPersistence() { - return kaleoLogPersistence; - } - - /** - * Sets the kaleo log persistence. - * - * @param kaleoLogPersistence the kaleo log persistence - */ - public void setKaleoLogPersistence(KaleoLogPersistence kaleoLogPersistence) { - this.kaleoLogPersistence = kaleoLogPersistence; - } - - /** - * Returns the kaleo node local service. - * - * @return the kaleo node local service - */ - public it.tref.liferay.portos.importazione.service.KaleoNodeLocalService getKaleoNodeLocalService() { - return kaleoNodeLocalService; - } - - /** - * Sets the kaleo node local service. - * - * @param kaleoNodeLocalService the kaleo node local service - */ - public void setKaleoNodeLocalService( - it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService) { - this.kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Returns the kaleo node persistence. - * - * @return the kaleo node persistence - */ - public KaleoNodePersistence getKaleoNodePersistence() { - return kaleoNodePersistence; - } - - /** - * Sets the kaleo node persistence. - * - * @param kaleoNodePersistence the kaleo node persistence - */ - public void setKaleoNodePersistence( - KaleoNodePersistence kaleoNodePersistence) { - this.kaleoNodePersistence = kaleoNodePersistence; - } - - /** - * Returns the kaleo task local service. - * - * @return the kaleo task local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskLocalService getKaleoTaskLocalService() { - return kaleoTaskLocalService; - } - - /** - * Sets the kaleo task local service. - * - * @param kaleoTaskLocalService the kaleo task local service - */ - public void setKaleoTaskLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService) { - this.kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Returns the kaleo task persistence. - * - * @return the kaleo task persistence - */ - public KaleoTaskPersistence getKaleoTaskPersistence() { - return kaleoTaskPersistence; - } - - /** - * Sets the kaleo task persistence. - * - * @param kaleoTaskPersistence the kaleo task persistence - */ - public void setKaleoTaskPersistence( - KaleoTaskPersistence kaleoTaskPersistence) { - this.kaleoTaskPersistence = kaleoTaskPersistence; - } - - /** - * Returns the kaleo task assignment instance local service. - * - * @return the kaleo task assignment instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService getKaleoTaskAssignmentInstanceLocalService() { - return kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Sets the kaleo task assignment instance local service. - * - * @param kaleoTaskAssignmentInstanceLocalService the kaleo task assignment instance local service - */ - public void setKaleoTaskAssignmentInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - this.kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Returns the kaleo task assignment instance persistence. - * - * @return the kaleo task assignment instance persistence - */ - public KaleoTaskAssignmentInstancePersistence getKaleoTaskAssignmentInstancePersistence() { - return kaleoTaskAssignmentInstancePersistence; - } - - /** - * Sets the kaleo task assignment instance persistence. - * - * @param kaleoTaskAssignmentInstancePersistence the kaleo task assignment instance persistence - */ - public void setKaleoTaskAssignmentInstancePersistence( - KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence) { - this.kaleoTaskAssignmentInstancePersistence = kaleoTaskAssignmentInstancePersistence; - } - - /** - * Returns the kaleo task instance token local service. - * - * @return the kaleo task instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService getKaleoTaskInstanceTokenLocalService() { - return kaleoTaskInstanceTokenLocalService; - } - - /** - * Sets the kaleo task instance token local service. - * - * @param kaleoTaskInstanceTokenLocalService the kaleo task instance token local service - */ - public void setKaleoTaskInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - this.kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Returns the kaleo task instance token persistence. - * - * @return the kaleo task instance token persistence - */ - public KaleoTaskInstanceTokenPersistence getKaleoTaskInstanceTokenPersistence() { - return kaleoTaskInstanceTokenPersistence; - } - - /** - * Sets the kaleo task instance token persistence. - * - * @param kaleoTaskInstanceTokenPersistence the kaleo task instance token persistence - */ - public void setKaleoTaskInstanceTokenPersistence( - KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence) { - this.kaleoTaskInstanceTokenPersistence = kaleoTaskInstanceTokenPersistence; - } - - /** - * Returns the old d l file entry local service. - * - * @return the old d l file entry local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService getOldDLFileEntryLocalService() { - return oldDLFileEntryLocalService; - } - - /** - * Sets the old d l file entry local service. - * - * @param oldDLFileEntryLocalService the old d l file entry local service - */ - public void setOldDLFileEntryLocalService( - it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService) { - this.oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Returns the old d l file entry persistence. - * - * @return the old d l file entry persistence - */ - public OldDLFileEntryPersistence getOldDLFileEntryPersistence() { - return oldDLFileEntryPersistence; - } - - /** - * Sets the old d l file entry persistence. - * - * @param oldDLFileEntryPersistence the old d l file entry persistence - */ - public void setOldDLFileEntryPersistence( - OldDLFileEntryPersistence oldDLFileEntryPersistence) { - this.oldDLFileEntryPersistence = oldDLFileEntryPersistence; - } - - /** - * Returns the old d l folder local service. - * - * @return the old d l folder local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFolderLocalService getOldDLFolderLocalService() { - return oldDLFolderLocalService; - } - - /** - * Sets the old d l folder local service. - * - * @param oldDLFolderLocalService the old d l folder local service - */ - public void setOldDLFolderLocalService( - it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService) { - this.oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Returns the old d l folder persistence. - * - * @return the old d l folder persistence - */ - public OldDLFolderPersistence getOldDLFolderPersistence() { - return oldDLFolderPersistence; - } - - /** - * Sets the old d l folder persistence. - * - * @param oldDLFolderPersistence the old d l folder persistence - */ - public void setOldDLFolderPersistence( - OldDLFolderPersistence oldDLFolderPersistence) { - this.oldDLFolderPersistence = oldDLFolderPersistence; - } - - /** - * Returns the old group local service. - * - * @return the old group local service - */ - public it.tref.liferay.portos.importazione.service.OldGroupLocalService getOldGroupLocalService() { - return oldGroupLocalService; - } - - /** - * Sets the old group local service. - * - * @param oldGroupLocalService the old group local service - */ - public void setOldGroupLocalService( - it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService) { - this.oldGroupLocalService = oldGroupLocalService; - } - - /** - * Returns the old group persistence. - * - * @return the old group persistence - */ - public OldGroupPersistence getOldGroupPersistence() { - return oldGroupPersistence; - } - - /** - * Sets the old group persistence. - * - * @param oldGroupPersistence the old group persistence - */ - public void setOldGroupPersistence(OldGroupPersistence oldGroupPersistence) { - this.oldGroupPersistence = oldGroupPersistence; - } - - /** - * Returns the old organization local service. - * - * @return the old organization local service - */ - public it.tref.liferay.portos.importazione.service.OldOrganizationLocalService getOldOrganizationLocalService() { - return oldOrganizationLocalService; - } - - /** - * Sets the old organization local service. - * - * @param oldOrganizationLocalService the old organization local service - */ - public void setOldOrganizationLocalService( - it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService) { - this.oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Returns the old organization persistence. - * - * @return the old organization persistence - */ - public OldOrganizationPersistence getOldOrganizationPersistence() { - return oldOrganizationPersistence; - } - - /** - * Sets the old organization persistence. - * - * @param oldOrganizationPersistence the old organization persistence - */ - public void setOldOrganizationPersistence( - OldOrganizationPersistence oldOrganizationPersistence) { - this.oldOrganizationPersistence = oldOrganizationPersistence; - } - - /** - * Returns the old role local service. - * - * @return the old role local service - */ - public it.tref.liferay.portos.importazione.service.OldRoleLocalService getOldRoleLocalService() { - return oldRoleLocalService; - } - - /** - * Sets the old role local service. - * - * @param oldRoleLocalService the old role local service - */ - public void setOldRoleLocalService( - it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService) { - this.oldRoleLocalService = oldRoleLocalService; - } - - /** - * Returns the old role persistence. - * - * @return the old role persistence - */ - public OldRolePersistence getOldRolePersistence() { - return oldRolePersistence; - } - - /** - * Sets the old role persistence. - * - * @param oldRolePersistence the old role persistence - */ - public void setOldRolePersistence(OldRolePersistence oldRolePersistence) { - this.oldRolePersistence = oldRolePersistence; - } - - /** - * Returns the old user local service. - * - * @return the old user local service - */ - public it.tref.liferay.portos.importazione.service.OldUserLocalService getOldUserLocalService() { - return oldUserLocalService; - } - - /** - * Sets the old user local service. - * - * @param oldUserLocalService the old user local service - */ - public void setOldUserLocalService( - it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService) { - this.oldUserLocalService = oldUserLocalService; - } - - /** - * Returns the old user persistence. - * - * @return the old user persistence - */ - public OldUserPersistence getOldUserPersistence() { - return oldUserPersistence; - } - - /** - * Sets the old user persistence. - * - * @param oldUserPersistence the old user persistence - */ - public void setOldUserPersistence(OldUserPersistence oldUserPersistence) { - this.oldUserPersistence = oldUserPersistence; - } - - /** - * Returns the old user group local service. - * - * @return the old user group local service - */ - public it.tref.liferay.portos.importazione.service.OldUserGroupLocalService getOldUserGroupLocalService() { - return oldUserGroupLocalService; - } - - /** - * Sets the old user group local service. - * - * @param oldUserGroupLocalService the old user group local service - */ - public void setOldUserGroupLocalService( - it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService) { - this.oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Returns the old user group persistence. - * - * @return the old user group persistence - */ - public OldUserGroupPersistence getOldUserGroupPersistence() { - return oldUserGroupPersistence; - } - - /** - * Sets the old user group persistence. - * - * @param oldUserGroupPersistence the old user group persistence - */ - public void setOldUserGroupPersistence( - OldUserGroupPersistence oldUserGroupPersistence) { - this.oldUserGroupPersistence = oldUserGroupPersistence; - } - - /** - * Returns the old user group finder. - * - * @return the old user group finder - */ - public OldUserGroupFinder getOldUserGroupFinder() { - return oldUserGroupFinder; - } - - /** - * Sets the old user group finder. - * - * @param oldUserGroupFinder the old user group finder - */ - public void setOldUserGroupFinder(OldUserGroupFinder oldUserGroupFinder) { - this.oldUserGroupFinder = oldUserGroupFinder; - } - - /** - * Returns the procedura importazione local service. - * - * @return the procedura importazione local service - */ - public it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService getProceduraImportazioneLocalService() { - return proceduraImportazioneLocalService; - } - - /** - * Sets the procedura importazione local service. - * - * @param proceduraImportazioneLocalService the procedura importazione local service - */ - public void setProceduraImportazioneLocalService( - it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - this.proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Returns the procedura importazione persistence. - * - * @return the procedura importazione persistence - */ - public ProceduraImportazionePersistence getProceduraImportazionePersistence() { - return proceduraImportazionePersistence; - } - - /** - * Sets the procedura importazione persistence. - * - * @param proceduraImportazionePersistence the procedura importazione persistence - */ - public void setProceduraImportazionePersistence( - ProceduraImportazionePersistence proceduraImportazionePersistence) { - this.proceduraImportazionePersistence = proceduraImportazionePersistence; - } - - /** - * Returns the stato importazione local service. - * - * @return the stato importazione local service - */ - public it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService getStatoImportazioneLocalService() { - return statoImportazioneLocalService; - } - - /** - * Sets the stato importazione local service. - * - * @param statoImportazioneLocalService the stato importazione local service - */ - public void setStatoImportazioneLocalService( - it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService) { - this.statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Returns the stato importazione persistence. - * - * @return the stato importazione persistence - */ - public StatoImportazionePersistence getStatoImportazionePersistence() { - return statoImportazionePersistence; - } - - /** - * Sets the stato importazione persistence. - * - * @param statoImportazionePersistence the stato importazione persistence - */ - public void setStatoImportazionePersistence( - StatoImportazionePersistence statoImportazionePersistence) { - this.statoImportazionePersistence = statoImportazionePersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.importazione.model.BoTerritorio", - boTerritorioLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.importazione.model.BoTerritorio"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return BoTerritorio.class; - } - - protected String getModelClassName() { - return BoTerritorio.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = boTerritorioPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService; - @BeanReference(type = BoConfigurazionePersistence.class) - protected BoConfigurazionePersistence boConfigurazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeProvinciaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService; - @BeanReference(type = FeProvinciaPersistence.class) - protected FeProvinciaPersistence feProvinciaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService; - @BeanReference(type = KaleoInstancePersistence.class) - protected KaleoInstancePersistence kaleoInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService; - @BeanReference(type = KaleoInstanceTokenPersistence.class) - protected KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoLogLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService; - @BeanReference(type = KaleoLogPersistence.class) - protected KaleoLogPersistence kaleoLogPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoNodeLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService; - @BeanReference(type = KaleoNodePersistence.class) - protected KaleoNodePersistence kaleoNodePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService; - @BeanReference(type = KaleoTaskPersistence.class) - protected KaleoTaskPersistence kaleoTaskPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService; - @BeanReference(type = KaleoTaskAssignmentInstancePersistence.class) - protected KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService; - @BeanReference(type = KaleoTaskInstanceTokenPersistence.class) - protected KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService; - @BeanReference(type = OldDLFileEntryPersistence.class) - protected OldDLFileEntryPersistence oldDLFileEntryPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFolderLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService; - @BeanReference(type = OldDLFolderPersistence.class) - protected OldDLFolderPersistence oldDLFolderPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService; - @BeanReference(type = OldGroupPersistence.class) - protected OldGroupPersistence oldGroupPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldOrganizationLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService; - @BeanReference(type = OldOrganizationPersistence.class) - protected OldOrganizationPersistence oldOrganizationPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldRoleLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService; - @BeanReference(type = OldRolePersistence.class) - protected OldRolePersistence oldRolePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService; - @BeanReference(type = OldUserPersistence.class) - protected OldUserPersistence oldUserPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService; - @BeanReference(type = OldUserGroupPersistence.class) - protected OldUserGroupPersistence oldUserGroupPersistence; - @BeanReference(type = OldUserGroupFinder.class) - protected OldUserGroupFinder oldUserGroupFinder; - @BeanReference(type = it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService; - @BeanReference(type = ProceduraImportazionePersistence.class) - protected ProceduraImportazionePersistence proceduraImportazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService; - @BeanReference(type = StatoImportazionePersistence.class) - protected StatoImportazionePersistence statoImportazionePersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private BoTerritorioLocalServiceClpInvoker _clpInvoker = new BoTerritorioLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoTerritorioLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoTerritorioLocalServiceClpInvoker.java deleted file mode 100644 index 23d00bd2..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/BoTerritorioLocalServiceClpInvoker.java +++ /dev/null @@ -1,258 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import it.tref.liferay.portos.importazione.service.BoTerritorioLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author 3FC - * @generated - */ -public class BoTerritorioLocalServiceClpInvoker { - public BoTerritorioLocalServiceClpInvoker() { - _methodName0 = "addBoTerritorio"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.BoTerritorio" - }; - - _methodName1 = "createBoTerritorio"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoTerritorio"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoTerritorio"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.BoTerritorio" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoTerritorio"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getBoTerritorio"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getBoTerritorios"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getBoTerritoriosCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateBoTerritorio"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.BoTerritorio" - }; - - _methodName178 = "getBeanIdentifier"; - - _methodParameterTypes178 = new String[] { }; - - _methodName179 = "setBeanIdentifier"; - - _methodParameterTypes179 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return BoTerritorioLocalServiceUtil.addBoTerritorio((it.tref.liferay.portos.importazione.model.BoTerritorio)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return BoTerritorioLocalServiceUtil.createBoTerritorio(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return BoTerritorioLocalServiceUtil.deleteBoTerritorio(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return BoTerritorioLocalServiceUtil.deleteBoTerritorio((it.tref.liferay.portos.importazione.model.BoTerritorio)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return BoTerritorioLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return BoTerritorioLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return BoTerritorioLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return BoTerritorioLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return BoTerritorioLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return BoTerritorioLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return BoTerritorioLocalServiceUtil.fetchBoTerritorio(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return BoTerritorioLocalServiceUtil.getBoTerritorio(((Long)arguments[0]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return BoTerritorioLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return BoTerritorioLocalServiceUtil.getBoTerritorios(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return BoTerritorioLocalServiceUtil.getBoTerritoriosCount(); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return BoTerritorioLocalServiceUtil.updateBoTerritorio((it.tref.liferay.portos.importazione.model.BoTerritorio)arguments[0]); - } - - if (_methodName178.equals(name) && - Arrays.deepEquals(_methodParameterTypes178, parameterTypes)) { - return BoTerritorioLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName179.equals(name) && - Arrays.deepEquals(_methodParameterTypes179, parameterTypes)) { - BoTerritorioLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName178; - private String[] _methodParameterTypes178; - private String _methodName179; - private String[] _methodParameterTypes179; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/FeComuneLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/FeComuneLocalServiceBaseImpl.java deleted file mode 100644 index 1146ed89..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/FeComuneLocalServiceBaseImpl.java +++ /dev/null @@ -1,2070 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.importazione.model.FeComune; -import it.tref.liferay.portos.importazione.service.FeComuneLocalService; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinder; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the fe comune local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.importazione.service.impl.FeComuneLocalServiceImpl}. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.impl.FeComuneLocalServiceImpl - * @see it.tref.liferay.portos.importazione.service.FeComuneLocalServiceUtil - * @generated - */ -public abstract class FeComuneLocalServiceBaseImpl extends BaseLocalServiceImpl - implements FeComuneLocalService, IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.importazione.service.FeComuneLocalServiceUtil} to access the fe comune local service. - */ - - /** - * Adds the fe comune to the database. Also notifies the appropriate model listeners. - * - * @param feComune the fe comune - * @return the fe comune that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public FeComune addFeComune(FeComune feComune) throws SystemException { - feComune.setNew(true); - - return feComunePersistence.update(feComune); - } - - /** - * Creates a new fe comune with the primary key. Does not add the fe comune to the database. - * - * @param comuneId the primary key for the new fe comune - * @return the new fe comune - */ - @Override - public FeComune createFeComune(long comuneId) { - return feComunePersistence.create(comuneId); - } - - /** - * Deletes the fe comune with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param comuneId the primary key of the fe comune - * @return the fe comune that was removed - * @throws PortalException if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public FeComune deleteFeComune(long comuneId) - throws PortalException, SystemException { - return feComunePersistence.remove(comuneId); - } - - /** - * Deletes the fe comune from the database. Also notifies the appropriate model listeners. - * - * @param feComune the fe comune - * @return the fe comune that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public FeComune deleteFeComune(FeComune feComune) throws SystemException { - return feComunePersistence.remove(feComune); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(FeComune.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return feComunePersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return feComunePersistence.findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return feComunePersistence.findWithDynamicQuery(dynamicQuery, start, - end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return feComunePersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return feComunePersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public FeComune fetchFeComune(long comuneId) throws SystemException { - return feComunePersistence.fetchByPrimaryKey(comuneId); - } - - /** - * Returns the fe comune with the primary key. - * - * @param comuneId the primary key of the fe comune - * @return the fe comune - * @throws PortalException if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeComune getFeComune(long comuneId) - throws PortalException, SystemException { - return feComunePersistence.findByPrimaryKey(comuneId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return feComunePersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns a range of all the fe comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe comunes - * @param end the upper bound of the range of fe comunes (not inclusive) - * @return the range of fe comunes - * @throws SystemException if a system exception occurred - */ - @Override - public List getFeComunes(int start, int end) - throws SystemException { - return feComunePersistence.findAll(start, end); - } - - /** - * Returns the number of fe comunes. - * - * @return the number of fe comunes - * @throws SystemException if a system exception occurred - */ - @Override - public int getFeComunesCount() throws SystemException { - return feComunePersistence.countAll(); - } - - /** - * Updates the fe comune in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param feComune the fe comune - * @return the fe comune that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public FeComune updateFeComune(FeComune feComune) throws SystemException { - return feComunePersistence.update(feComune); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.importazione.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.importazione.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo configurazione local service. - * - * @return the bo configurazione local service - */ - public it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService getBoConfigurazioneLocalService() { - return boConfigurazioneLocalService; - } - - /** - * Sets the bo configurazione local service. - * - * @param boConfigurazioneLocalService the bo configurazione local service - */ - public void setBoConfigurazioneLocalService( - it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService) { - this.boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Returns the bo configurazione persistence. - * - * @return the bo configurazione persistence - */ - public BoConfigurazionePersistence getBoConfigurazionePersistence() { - return boConfigurazionePersistence; - } - - /** - * Sets the bo configurazione persistence. - * - * @param boConfigurazionePersistence the bo configurazione persistence - */ - public void setBoConfigurazionePersistence( - BoConfigurazionePersistence boConfigurazionePersistence) { - this.boConfigurazionePersistence = boConfigurazionePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.importazione.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.importazione.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.importazione.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.importazione.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.importazione.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.importazione.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe provincia local service. - * - * @return the fe provincia local service - */ - public it.tref.liferay.portos.importazione.service.FeProvinciaLocalService getFeProvinciaLocalService() { - return feProvinciaLocalService; - } - - /** - * Sets the fe provincia local service. - * - * @param feProvinciaLocalService the fe provincia local service - */ - public void setFeProvinciaLocalService( - it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService) { - this.feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Returns the fe provincia persistence. - * - * @return the fe provincia persistence - */ - public FeProvinciaPersistence getFeProvinciaPersistence() { - return feProvinciaPersistence; - } - - /** - * Sets the fe provincia persistence. - * - * @param feProvinciaPersistence the fe provincia persistence - */ - public void setFeProvinciaPersistence( - FeProvinciaPersistence feProvinciaPersistence) { - this.feProvinciaPersistence = feProvinciaPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.importazione.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the kaleo instance local service. - * - * @return the kaleo instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService getKaleoInstanceLocalService() { - return kaleoInstanceLocalService; - } - - /** - * Sets the kaleo instance local service. - * - * @param kaleoInstanceLocalService the kaleo instance local service - */ - public void setKaleoInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService) { - this.kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Returns the kaleo instance persistence. - * - * @return the kaleo instance persistence - */ - public KaleoInstancePersistence getKaleoInstancePersistence() { - return kaleoInstancePersistence; - } - - /** - * Sets the kaleo instance persistence. - * - * @param kaleoInstancePersistence the kaleo instance persistence - */ - public void setKaleoInstancePersistence( - KaleoInstancePersistence kaleoInstancePersistence) { - this.kaleoInstancePersistence = kaleoInstancePersistence; - } - - /** - * Returns the kaleo instance token local service. - * - * @return the kaleo instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService getKaleoInstanceTokenLocalService() { - return kaleoInstanceTokenLocalService; - } - - /** - * Sets the kaleo instance token local service. - * - * @param kaleoInstanceTokenLocalService the kaleo instance token local service - */ - public void setKaleoInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - this.kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Returns the kaleo instance token persistence. - * - * @return the kaleo instance token persistence - */ - public KaleoInstanceTokenPersistence getKaleoInstanceTokenPersistence() { - return kaleoInstanceTokenPersistence; - } - - /** - * Sets the kaleo instance token persistence. - * - * @param kaleoInstanceTokenPersistence the kaleo instance token persistence - */ - public void setKaleoInstanceTokenPersistence( - KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence) { - this.kaleoInstanceTokenPersistence = kaleoInstanceTokenPersistence; - } - - /** - * Returns the kaleo log local service. - * - * @return the kaleo log local service - */ - public it.tref.liferay.portos.importazione.service.KaleoLogLocalService getKaleoLogLocalService() { - return kaleoLogLocalService; - } - - /** - * Sets the kaleo log local service. - * - * @param kaleoLogLocalService the kaleo log local service - */ - public void setKaleoLogLocalService( - it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService) { - this.kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Returns the kaleo log persistence. - * - * @return the kaleo log persistence - */ - public KaleoLogPersistence getKaleoLogPersistence() { - return kaleoLogPersistence; - } - - /** - * Sets the kaleo log persistence. - * - * @param kaleoLogPersistence the kaleo log persistence - */ - public void setKaleoLogPersistence(KaleoLogPersistence kaleoLogPersistence) { - this.kaleoLogPersistence = kaleoLogPersistence; - } - - /** - * Returns the kaleo node local service. - * - * @return the kaleo node local service - */ - public it.tref.liferay.portos.importazione.service.KaleoNodeLocalService getKaleoNodeLocalService() { - return kaleoNodeLocalService; - } - - /** - * Sets the kaleo node local service. - * - * @param kaleoNodeLocalService the kaleo node local service - */ - public void setKaleoNodeLocalService( - it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService) { - this.kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Returns the kaleo node persistence. - * - * @return the kaleo node persistence - */ - public KaleoNodePersistence getKaleoNodePersistence() { - return kaleoNodePersistence; - } - - /** - * Sets the kaleo node persistence. - * - * @param kaleoNodePersistence the kaleo node persistence - */ - public void setKaleoNodePersistence( - KaleoNodePersistence kaleoNodePersistence) { - this.kaleoNodePersistence = kaleoNodePersistence; - } - - /** - * Returns the kaleo task local service. - * - * @return the kaleo task local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskLocalService getKaleoTaskLocalService() { - return kaleoTaskLocalService; - } - - /** - * Sets the kaleo task local service. - * - * @param kaleoTaskLocalService the kaleo task local service - */ - public void setKaleoTaskLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService) { - this.kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Returns the kaleo task persistence. - * - * @return the kaleo task persistence - */ - public KaleoTaskPersistence getKaleoTaskPersistence() { - return kaleoTaskPersistence; - } - - /** - * Sets the kaleo task persistence. - * - * @param kaleoTaskPersistence the kaleo task persistence - */ - public void setKaleoTaskPersistence( - KaleoTaskPersistence kaleoTaskPersistence) { - this.kaleoTaskPersistence = kaleoTaskPersistence; - } - - /** - * Returns the kaleo task assignment instance local service. - * - * @return the kaleo task assignment instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService getKaleoTaskAssignmentInstanceLocalService() { - return kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Sets the kaleo task assignment instance local service. - * - * @param kaleoTaskAssignmentInstanceLocalService the kaleo task assignment instance local service - */ - public void setKaleoTaskAssignmentInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - this.kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Returns the kaleo task assignment instance persistence. - * - * @return the kaleo task assignment instance persistence - */ - public KaleoTaskAssignmentInstancePersistence getKaleoTaskAssignmentInstancePersistence() { - return kaleoTaskAssignmentInstancePersistence; - } - - /** - * Sets the kaleo task assignment instance persistence. - * - * @param kaleoTaskAssignmentInstancePersistence the kaleo task assignment instance persistence - */ - public void setKaleoTaskAssignmentInstancePersistence( - KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence) { - this.kaleoTaskAssignmentInstancePersistence = kaleoTaskAssignmentInstancePersistence; - } - - /** - * Returns the kaleo task instance token local service. - * - * @return the kaleo task instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService getKaleoTaskInstanceTokenLocalService() { - return kaleoTaskInstanceTokenLocalService; - } - - /** - * Sets the kaleo task instance token local service. - * - * @param kaleoTaskInstanceTokenLocalService the kaleo task instance token local service - */ - public void setKaleoTaskInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - this.kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Returns the kaleo task instance token persistence. - * - * @return the kaleo task instance token persistence - */ - public KaleoTaskInstanceTokenPersistence getKaleoTaskInstanceTokenPersistence() { - return kaleoTaskInstanceTokenPersistence; - } - - /** - * Sets the kaleo task instance token persistence. - * - * @param kaleoTaskInstanceTokenPersistence the kaleo task instance token persistence - */ - public void setKaleoTaskInstanceTokenPersistence( - KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence) { - this.kaleoTaskInstanceTokenPersistence = kaleoTaskInstanceTokenPersistence; - } - - /** - * Returns the old d l file entry local service. - * - * @return the old d l file entry local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService getOldDLFileEntryLocalService() { - return oldDLFileEntryLocalService; - } - - /** - * Sets the old d l file entry local service. - * - * @param oldDLFileEntryLocalService the old d l file entry local service - */ - public void setOldDLFileEntryLocalService( - it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService) { - this.oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Returns the old d l file entry persistence. - * - * @return the old d l file entry persistence - */ - public OldDLFileEntryPersistence getOldDLFileEntryPersistence() { - return oldDLFileEntryPersistence; - } - - /** - * Sets the old d l file entry persistence. - * - * @param oldDLFileEntryPersistence the old d l file entry persistence - */ - public void setOldDLFileEntryPersistence( - OldDLFileEntryPersistence oldDLFileEntryPersistence) { - this.oldDLFileEntryPersistence = oldDLFileEntryPersistence; - } - - /** - * Returns the old d l folder local service. - * - * @return the old d l folder local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFolderLocalService getOldDLFolderLocalService() { - return oldDLFolderLocalService; - } - - /** - * Sets the old d l folder local service. - * - * @param oldDLFolderLocalService the old d l folder local service - */ - public void setOldDLFolderLocalService( - it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService) { - this.oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Returns the old d l folder persistence. - * - * @return the old d l folder persistence - */ - public OldDLFolderPersistence getOldDLFolderPersistence() { - return oldDLFolderPersistence; - } - - /** - * Sets the old d l folder persistence. - * - * @param oldDLFolderPersistence the old d l folder persistence - */ - public void setOldDLFolderPersistence( - OldDLFolderPersistence oldDLFolderPersistence) { - this.oldDLFolderPersistence = oldDLFolderPersistence; - } - - /** - * Returns the old group local service. - * - * @return the old group local service - */ - public it.tref.liferay.portos.importazione.service.OldGroupLocalService getOldGroupLocalService() { - return oldGroupLocalService; - } - - /** - * Sets the old group local service. - * - * @param oldGroupLocalService the old group local service - */ - public void setOldGroupLocalService( - it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService) { - this.oldGroupLocalService = oldGroupLocalService; - } - - /** - * Returns the old group persistence. - * - * @return the old group persistence - */ - public OldGroupPersistence getOldGroupPersistence() { - return oldGroupPersistence; - } - - /** - * Sets the old group persistence. - * - * @param oldGroupPersistence the old group persistence - */ - public void setOldGroupPersistence(OldGroupPersistence oldGroupPersistence) { - this.oldGroupPersistence = oldGroupPersistence; - } - - /** - * Returns the old organization local service. - * - * @return the old organization local service - */ - public it.tref.liferay.portos.importazione.service.OldOrganizationLocalService getOldOrganizationLocalService() { - return oldOrganizationLocalService; - } - - /** - * Sets the old organization local service. - * - * @param oldOrganizationLocalService the old organization local service - */ - public void setOldOrganizationLocalService( - it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService) { - this.oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Returns the old organization persistence. - * - * @return the old organization persistence - */ - public OldOrganizationPersistence getOldOrganizationPersistence() { - return oldOrganizationPersistence; - } - - /** - * Sets the old organization persistence. - * - * @param oldOrganizationPersistence the old organization persistence - */ - public void setOldOrganizationPersistence( - OldOrganizationPersistence oldOrganizationPersistence) { - this.oldOrganizationPersistence = oldOrganizationPersistence; - } - - /** - * Returns the old role local service. - * - * @return the old role local service - */ - public it.tref.liferay.portos.importazione.service.OldRoleLocalService getOldRoleLocalService() { - return oldRoleLocalService; - } - - /** - * Sets the old role local service. - * - * @param oldRoleLocalService the old role local service - */ - public void setOldRoleLocalService( - it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService) { - this.oldRoleLocalService = oldRoleLocalService; - } - - /** - * Returns the old role persistence. - * - * @return the old role persistence - */ - public OldRolePersistence getOldRolePersistence() { - return oldRolePersistence; - } - - /** - * Sets the old role persistence. - * - * @param oldRolePersistence the old role persistence - */ - public void setOldRolePersistence(OldRolePersistence oldRolePersistence) { - this.oldRolePersistence = oldRolePersistence; - } - - /** - * Returns the old user local service. - * - * @return the old user local service - */ - public it.tref.liferay.portos.importazione.service.OldUserLocalService getOldUserLocalService() { - return oldUserLocalService; - } - - /** - * Sets the old user local service. - * - * @param oldUserLocalService the old user local service - */ - public void setOldUserLocalService( - it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService) { - this.oldUserLocalService = oldUserLocalService; - } - - /** - * Returns the old user persistence. - * - * @return the old user persistence - */ - public OldUserPersistence getOldUserPersistence() { - return oldUserPersistence; - } - - /** - * Sets the old user persistence. - * - * @param oldUserPersistence the old user persistence - */ - public void setOldUserPersistence(OldUserPersistence oldUserPersistence) { - this.oldUserPersistence = oldUserPersistence; - } - - /** - * Returns the old user group local service. - * - * @return the old user group local service - */ - public it.tref.liferay.portos.importazione.service.OldUserGroupLocalService getOldUserGroupLocalService() { - return oldUserGroupLocalService; - } - - /** - * Sets the old user group local service. - * - * @param oldUserGroupLocalService the old user group local service - */ - public void setOldUserGroupLocalService( - it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService) { - this.oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Returns the old user group persistence. - * - * @return the old user group persistence - */ - public OldUserGroupPersistence getOldUserGroupPersistence() { - return oldUserGroupPersistence; - } - - /** - * Sets the old user group persistence. - * - * @param oldUserGroupPersistence the old user group persistence - */ - public void setOldUserGroupPersistence( - OldUserGroupPersistence oldUserGroupPersistence) { - this.oldUserGroupPersistence = oldUserGroupPersistence; - } - - /** - * Returns the old user group finder. - * - * @return the old user group finder - */ - public OldUserGroupFinder getOldUserGroupFinder() { - return oldUserGroupFinder; - } - - /** - * Sets the old user group finder. - * - * @param oldUserGroupFinder the old user group finder - */ - public void setOldUserGroupFinder(OldUserGroupFinder oldUserGroupFinder) { - this.oldUserGroupFinder = oldUserGroupFinder; - } - - /** - * Returns the procedura importazione local service. - * - * @return the procedura importazione local service - */ - public it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService getProceduraImportazioneLocalService() { - return proceduraImportazioneLocalService; - } - - /** - * Sets the procedura importazione local service. - * - * @param proceduraImportazioneLocalService the procedura importazione local service - */ - public void setProceduraImportazioneLocalService( - it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - this.proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Returns the procedura importazione persistence. - * - * @return the procedura importazione persistence - */ - public ProceduraImportazionePersistence getProceduraImportazionePersistence() { - return proceduraImportazionePersistence; - } - - /** - * Sets the procedura importazione persistence. - * - * @param proceduraImportazionePersistence the procedura importazione persistence - */ - public void setProceduraImportazionePersistence( - ProceduraImportazionePersistence proceduraImportazionePersistence) { - this.proceduraImportazionePersistence = proceduraImportazionePersistence; - } - - /** - * Returns the stato importazione local service. - * - * @return the stato importazione local service - */ - public it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService getStatoImportazioneLocalService() { - return statoImportazioneLocalService; - } - - /** - * Sets the stato importazione local service. - * - * @param statoImportazioneLocalService the stato importazione local service - */ - public void setStatoImportazioneLocalService( - it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService) { - this.statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Returns the stato importazione persistence. - * - * @return the stato importazione persistence - */ - public StatoImportazionePersistence getStatoImportazionePersistence() { - return statoImportazionePersistence; - } - - /** - * Sets the stato importazione persistence. - * - * @param statoImportazionePersistence the stato importazione persistence - */ - public void setStatoImportazionePersistence( - StatoImportazionePersistence statoImportazionePersistence) { - this.statoImportazionePersistence = statoImportazionePersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.importazione.model.FeComune", - feComuneLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.importazione.model.FeComune"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return FeComune.class; - } - - protected String getModelClassName() { - return FeComune.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = feComunePersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService; - @BeanReference(type = BoConfigurazionePersistence.class) - protected BoConfigurazionePersistence boConfigurazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeProvinciaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService; - @BeanReference(type = FeProvinciaPersistence.class) - protected FeProvinciaPersistence feProvinciaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService; - @BeanReference(type = KaleoInstancePersistence.class) - protected KaleoInstancePersistence kaleoInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService; - @BeanReference(type = KaleoInstanceTokenPersistence.class) - protected KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoLogLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService; - @BeanReference(type = KaleoLogPersistence.class) - protected KaleoLogPersistence kaleoLogPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoNodeLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService; - @BeanReference(type = KaleoNodePersistence.class) - protected KaleoNodePersistence kaleoNodePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService; - @BeanReference(type = KaleoTaskPersistence.class) - protected KaleoTaskPersistence kaleoTaskPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService; - @BeanReference(type = KaleoTaskAssignmentInstancePersistence.class) - protected KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService; - @BeanReference(type = KaleoTaskInstanceTokenPersistence.class) - protected KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService; - @BeanReference(type = OldDLFileEntryPersistence.class) - protected OldDLFileEntryPersistence oldDLFileEntryPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFolderLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService; - @BeanReference(type = OldDLFolderPersistence.class) - protected OldDLFolderPersistence oldDLFolderPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService; - @BeanReference(type = OldGroupPersistence.class) - protected OldGroupPersistence oldGroupPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldOrganizationLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService; - @BeanReference(type = OldOrganizationPersistence.class) - protected OldOrganizationPersistence oldOrganizationPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldRoleLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService; - @BeanReference(type = OldRolePersistence.class) - protected OldRolePersistence oldRolePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService; - @BeanReference(type = OldUserPersistence.class) - protected OldUserPersistence oldUserPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService; - @BeanReference(type = OldUserGroupPersistence.class) - protected OldUserGroupPersistence oldUserGroupPersistence; - @BeanReference(type = OldUserGroupFinder.class) - protected OldUserGroupFinder oldUserGroupFinder; - @BeanReference(type = it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService; - @BeanReference(type = ProceduraImportazionePersistence.class) - protected ProceduraImportazionePersistence proceduraImportazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService; - @BeanReference(type = StatoImportazionePersistence.class) - protected StatoImportazionePersistence statoImportazionePersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private FeComuneLocalServiceClpInvoker _clpInvoker = new FeComuneLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/FeComuneLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/FeComuneLocalServiceClpInvoker.java deleted file mode 100644 index bc8e4f4d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/FeComuneLocalServiceClpInvoker.java +++ /dev/null @@ -1,258 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import it.tref.liferay.portos.importazione.service.FeComuneLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author 3FC - * @generated - */ -public class FeComuneLocalServiceClpInvoker { - public FeComuneLocalServiceClpInvoker() { - _methodName0 = "addFeComune"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.FeComune" - }; - - _methodName1 = "createFeComune"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteFeComune"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteFeComune"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.FeComune" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchFeComune"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getFeComune"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getFeComunes"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getFeComunesCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateFeComune"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.FeComune" - }; - - _methodName178 = "getBeanIdentifier"; - - _methodParameterTypes178 = new String[] { }; - - _methodName179 = "setBeanIdentifier"; - - _methodParameterTypes179 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return FeComuneLocalServiceUtil.addFeComune((it.tref.liferay.portos.importazione.model.FeComune)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return FeComuneLocalServiceUtil.createFeComune(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return FeComuneLocalServiceUtil.deleteFeComune(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return FeComuneLocalServiceUtil.deleteFeComune((it.tref.liferay.portos.importazione.model.FeComune)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return FeComuneLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return FeComuneLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return FeComuneLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return FeComuneLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return FeComuneLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return FeComuneLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return FeComuneLocalServiceUtil.fetchFeComune(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return FeComuneLocalServiceUtil.getFeComune(((Long)arguments[0]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return FeComuneLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return FeComuneLocalServiceUtil.getFeComunes(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return FeComuneLocalServiceUtil.getFeComunesCount(); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return FeComuneLocalServiceUtil.updateFeComune((it.tref.liferay.portos.importazione.model.FeComune)arguments[0]); - } - - if (_methodName178.equals(name) && - Arrays.deepEquals(_methodParameterTypes178, parameterTypes)) { - return FeComuneLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName179.equals(name) && - Arrays.deepEquals(_methodParameterTypes179, parameterTypes)) { - FeComuneLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName178; - private String[] _methodParameterTypes178; - private String _methodName179; - private String[] _methodParameterTypes179; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/FeDettPraticaLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/FeDettPraticaLocalServiceBaseImpl.java deleted file mode 100644 index 8168af68..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/FeDettPraticaLocalServiceBaseImpl.java +++ /dev/null @@ -1,2105 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.importazione.model.FeDettPratica; -import it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinder; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the fe dett pratica local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.importazione.service.impl.FeDettPraticaLocalServiceImpl}. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.impl.FeDettPraticaLocalServiceImpl - * @see it.tref.liferay.portos.importazione.service.FeDettPraticaLocalServiceUtil - * @generated - */ -public abstract class FeDettPraticaLocalServiceBaseImpl - extends BaseLocalServiceImpl implements FeDettPraticaLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.importazione.service.FeDettPraticaLocalServiceUtil} to access the fe dett pratica local service. - */ - - /** - * Adds the fe dett pratica to the database. Also notifies the appropriate model listeners. - * - * @param feDettPratica the fe dett pratica - * @return the fe dett pratica that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public FeDettPratica addFeDettPratica(FeDettPratica feDettPratica) - throws SystemException { - feDettPratica.setNew(true); - - return feDettPraticaPersistence.update(feDettPratica); - } - - /** - * Creates a new fe dett pratica with the primary key. Does not add the fe dett pratica to the database. - * - * @param dettPraticaId the primary key for the new fe dett pratica - * @return the new fe dett pratica - */ - @Override - public FeDettPratica createFeDettPratica(long dettPraticaId) { - return feDettPraticaPersistence.create(dettPraticaId); - } - - /** - * Deletes the fe dett pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param dettPraticaId the primary key of the fe dett pratica - * @return the fe dett pratica that was removed - * @throws PortalException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public FeDettPratica deleteFeDettPratica(long dettPraticaId) - throws PortalException, SystemException { - return feDettPraticaPersistence.remove(dettPraticaId); - } - - /** - * Deletes the fe dett pratica from the database. Also notifies the appropriate model listeners. - * - * @param feDettPratica the fe dett pratica - * @return the fe dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public FeDettPratica deleteFeDettPratica(FeDettPratica feDettPratica) - throws SystemException { - return feDettPraticaPersistence.remove(feDettPratica); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(FeDettPratica.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return feDettPraticaPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return feDettPraticaPersistence.findWithDynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return feDettPraticaPersistence.findWithDynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return feDettPraticaPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return feDettPraticaPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public FeDettPratica fetchFeDettPratica(long dettPraticaId) - throws SystemException { - return feDettPraticaPersistence.fetchByPrimaryKey(dettPraticaId); - } - - /** - * Returns the fe dett pratica matching the UUID and group. - * - * @param uuid the fe dett pratica's UUID - * @param groupId the primary key of the group - * @return the matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica fetchFeDettPraticaByUuidAndGroupId(String uuid, - long groupId) throws SystemException { - return feDettPraticaPersistence.fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the fe dett pratica with the primary key. - * - * @param dettPraticaId the primary key of the fe dett pratica - * @return the fe dett pratica - * @throws PortalException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica getFeDettPratica(long dettPraticaId) - throws PortalException, SystemException { - return feDettPraticaPersistence.findByPrimaryKey(dettPraticaId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return feDettPraticaPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns the fe dett pratica matching the UUID and group. - * - * @param uuid the fe dett pratica's UUID - * @param groupId the primary key of the group - * @return the matching fe dett pratica - * @throws PortalException if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica getFeDettPraticaByUuidAndGroupId(String uuid, - long groupId) throws PortalException, SystemException { - return feDettPraticaPersistence.findByUUID_G(uuid, groupId); - } - - /** - * Returns a range of all the fe dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe dett praticas - * @param end the upper bound of the range of fe dett praticas (not inclusive) - * @return the range of fe dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List getFeDettPraticas(int start, int end) - throws SystemException { - return feDettPraticaPersistence.findAll(start, end); - } - - /** - * Returns the number of fe dett praticas. - * - * @return the number of fe dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int getFeDettPraticasCount() throws SystemException { - return feDettPraticaPersistence.countAll(); - } - - /** - * Updates the fe dett pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param feDettPratica the fe dett pratica - * @return the fe dett pratica that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public FeDettPratica updateFeDettPratica(FeDettPratica feDettPratica) - throws SystemException { - return feDettPraticaPersistence.update(feDettPratica); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.importazione.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.importazione.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo configurazione local service. - * - * @return the bo configurazione local service - */ - public it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService getBoConfigurazioneLocalService() { - return boConfigurazioneLocalService; - } - - /** - * Sets the bo configurazione local service. - * - * @param boConfigurazioneLocalService the bo configurazione local service - */ - public void setBoConfigurazioneLocalService( - it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService) { - this.boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Returns the bo configurazione persistence. - * - * @return the bo configurazione persistence - */ - public BoConfigurazionePersistence getBoConfigurazionePersistence() { - return boConfigurazionePersistence; - } - - /** - * Sets the bo configurazione persistence. - * - * @param boConfigurazionePersistence the bo configurazione persistence - */ - public void setBoConfigurazionePersistence( - BoConfigurazionePersistence boConfigurazionePersistence) { - this.boConfigurazionePersistence = boConfigurazionePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.importazione.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.importazione.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.importazione.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.importazione.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.importazione.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.importazione.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe provincia local service. - * - * @return the fe provincia local service - */ - public it.tref.liferay.portos.importazione.service.FeProvinciaLocalService getFeProvinciaLocalService() { - return feProvinciaLocalService; - } - - /** - * Sets the fe provincia local service. - * - * @param feProvinciaLocalService the fe provincia local service - */ - public void setFeProvinciaLocalService( - it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService) { - this.feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Returns the fe provincia persistence. - * - * @return the fe provincia persistence - */ - public FeProvinciaPersistence getFeProvinciaPersistence() { - return feProvinciaPersistence; - } - - /** - * Sets the fe provincia persistence. - * - * @param feProvinciaPersistence the fe provincia persistence - */ - public void setFeProvinciaPersistence( - FeProvinciaPersistence feProvinciaPersistence) { - this.feProvinciaPersistence = feProvinciaPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.importazione.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the kaleo instance local service. - * - * @return the kaleo instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService getKaleoInstanceLocalService() { - return kaleoInstanceLocalService; - } - - /** - * Sets the kaleo instance local service. - * - * @param kaleoInstanceLocalService the kaleo instance local service - */ - public void setKaleoInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService) { - this.kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Returns the kaleo instance persistence. - * - * @return the kaleo instance persistence - */ - public KaleoInstancePersistence getKaleoInstancePersistence() { - return kaleoInstancePersistence; - } - - /** - * Sets the kaleo instance persistence. - * - * @param kaleoInstancePersistence the kaleo instance persistence - */ - public void setKaleoInstancePersistence( - KaleoInstancePersistence kaleoInstancePersistence) { - this.kaleoInstancePersistence = kaleoInstancePersistence; - } - - /** - * Returns the kaleo instance token local service. - * - * @return the kaleo instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService getKaleoInstanceTokenLocalService() { - return kaleoInstanceTokenLocalService; - } - - /** - * Sets the kaleo instance token local service. - * - * @param kaleoInstanceTokenLocalService the kaleo instance token local service - */ - public void setKaleoInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - this.kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Returns the kaleo instance token persistence. - * - * @return the kaleo instance token persistence - */ - public KaleoInstanceTokenPersistence getKaleoInstanceTokenPersistence() { - return kaleoInstanceTokenPersistence; - } - - /** - * Sets the kaleo instance token persistence. - * - * @param kaleoInstanceTokenPersistence the kaleo instance token persistence - */ - public void setKaleoInstanceTokenPersistence( - KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence) { - this.kaleoInstanceTokenPersistence = kaleoInstanceTokenPersistence; - } - - /** - * Returns the kaleo log local service. - * - * @return the kaleo log local service - */ - public it.tref.liferay.portos.importazione.service.KaleoLogLocalService getKaleoLogLocalService() { - return kaleoLogLocalService; - } - - /** - * Sets the kaleo log local service. - * - * @param kaleoLogLocalService the kaleo log local service - */ - public void setKaleoLogLocalService( - it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService) { - this.kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Returns the kaleo log persistence. - * - * @return the kaleo log persistence - */ - public KaleoLogPersistence getKaleoLogPersistence() { - return kaleoLogPersistence; - } - - /** - * Sets the kaleo log persistence. - * - * @param kaleoLogPersistence the kaleo log persistence - */ - public void setKaleoLogPersistence(KaleoLogPersistence kaleoLogPersistence) { - this.kaleoLogPersistence = kaleoLogPersistence; - } - - /** - * Returns the kaleo node local service. - * - * @return the kaleo node local service - */ - public it.tref.liferay.portos.importazione.service.KaleoNodeLocalService getKaleoNodeLocalService() { - return kaleoNodeLocalService; - } - - /** - * Sets the kaleo node local service. - * - * @param kaleoNodeLocalService the kaleo node local service - */ - public void setKaleoNodeLocalService( - it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService) { - this.kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Returns the kaleo node persistence. - * - * @return the kaleo node persistence - */ - public KaleoNodePersistence getKaleoNodePersistence() { - return kaleoNodePersistence; - } - - /** - * Sets the kaleo node persistence. - * - * @param kaleoNodePersistence the kaleo node persistence - */ - public void setKaleoNodePersistence( - KaleoNodePersistence kaleoNodePersistence) { - this.kaleoNodePersistence = kaleoNodePersistence; - } - - /** - * Returns the kaleo task local service. - * - * @return the kaleo task local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskLocalService getKaleoTaskLocalService() { - return kaleoTaskLocalService; - } - - /** - * Sets the kaleo task local service. - * - * @param kaleoTaskLocalService the kaleo task local service - */ - public void setKaleoTaskLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService) { - this.kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Returns the kaleo task persistence. - * - * @return the kaleo task persistence - */ - public KaleoTaskPersistence getKaleoTaskPersistence() { - return kaleoTaskPersistence; - } - - /** - * Sets the kaleo task persistence. - * - * @param kaleoTaskPersistence the kaleo task persistence - */ - public void setKaleoTaskPersistence( - KaleoTaskPersistence kaleoTaskPersistence) { - this.kaleoTaskPersistence = kaleoTaskPersistence; - } - - /** - * Returns the kaleo task assignment instance local service. - * - * @return the kaleo task assignment instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService getKaleoTaskAssignmentInstanceLocalService() { - return kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Sets the kaleo task assignment instance local service. - * - * @param kaleoTaskAssignmentInstanceLocalService the kaleo task assignment instance local service - */ - public void setKaleoTaskAssignmentInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - this.kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Returns the kaleo task assignment instance persistence. - * - * @return the kaleo task assignment instance persistence - */ - public KaleoTaskAssignmentInstancePersistence getKaleoTaskAssignmentInstancePersistence() { - return kaleoTaskAssignmentInstancePersistence; - } - - /** - * Sets the kaleo task assignment instance persistence. - * - * @param kaleoTaskAssignmentInstancePersistence the kaleo task assignment instance persistence - */ - public void setKaleoTaskAssignmentInstancePersistence( - KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence) { - this.kaleoTaskAssignmentInstancePersistence = kaleoTaskAssignmentInstancePersistence; - } - - /** - * Returns the kaleo task instance token local service. - * - * @return the kaleo task instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService getKaleoTaskInstanceTokenLocalService() { - return kaleoTaskInstanceTokenLocalService; - } - - /** - * Sets the kaleo task instance token local service. - * - * @param kaleoTaskInstanceTokenLocalService the kaleo task instance token local service - */ - public void setKaleoTaskInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - this.kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Returns the kaleo task instance token persistence. - * - * @return the kaleo task instance token persistence - */ - public KaleoTaskInstanceTokenPersistence getKaleoTaskInstanceTokenPersistence() { - return kaleoTaskInstanceTokenPersistence; - } - - /** - * Sets the kaleo task instance token persistence. - * - * @param kaleoTaskInstanceTokenPersistence the kaleo task instance token persistence - */ - public void setKaleoTaskInstanceTokenPersistence( - KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence) { - this.kaleoTaskInstanceTokenPersistence = kaleoTaskInstanceTokenPersistence; - } - - /** - * Returns the old d l file entry local service. - * - * @return the old d l file entry local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService getOldDLFileEntryLocalService() { - return oldDLFileEntryLocalService; - } - - /** - * Sets the old d l file entry local service. - * - * @param oldDLFileEntryLocalService the old d l file entry local service - */ - public void setOldDLFileEntryLocalService( - it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService) { - this.oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Returns the old d l file entry persistence. - * - * @return the old d l file entry persistence - */ - public OldDLFileEntryPersistence getOldDLFileEntryPersistence() { - return oldDLFileEntryPersistence; - } - - /** - * Sets the old d l file entry persistence. - * - * @param oldDLFileEntryPersistence the old d l file entry persistence - */ - public void setOldDLFileEntryPersistence( - OldDLFileEntryPersistence oldDLFileEntryPersistence) { - this.oldDLFileEntryPersistence = oldDLFileEntryPersistence; - } - - /** - * Returns the old d l folder local service. - * - * @return the old d l folder local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFolderLocalService getOldDLFolderLocalService() { - return oldDLFolderLocalService; - } - - /** - * Sets the old d l folder local service. - * - * @param oldDLFolderLocalService the old d l folder local service - */ - public void setOldDLFolderLocalService( - it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService) { - this.oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Returns the old d l folder persistence. - * - * @return the old d l folder persistence - */ - public OldDLFolderPersistence getOldDLFolderPersistence() { - return oldDLFolderPersistence; - } - - /** - * Sets the old d l folder persistence. - * - * @param oldDLFolderPersistence the old d l folder persistence - */ - public void setOldDLFolderPersistence( - OldDLFolderPersistence oldDLFolderPersistence) { - this.oldDLFolderPersistence = oldDLFolderPersistence; - } - - /** - * Returns the old group local service. - * - * @return the old group local service - */ - public it.tref.liferay.portos.importazione.service.OldGroupLocalService getOldGroupLocalService() { - return oldGroupLocalService; - } - - /** - * Sets the old group local service. - * - * @param oldGroupLocalService the old group local service - */ - public void setOldGroupLocalService( - it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService) { - this.oldGroupLocalService = oldGroupLocalService; - } - - /** - * Returns the old group persistence. - * - * @return the old group persistence - */ - public OldGroupPersistence getOldGroupPersistence() { - return oldGroupPersistence; - } - - /** - * Sets the old group persistence. - * - * @param oldGroupPersistence the old group persistence - */ - public void setOldGroupPersistence(OldGroupPersistence oldGroupPersistence) { - this.oldGroupPersistence = oldGroupPersistence; - } - - /** - * Returns the old organization local service. - * - * @return the old organization local service - */ - public it.tref.liferay.portos.importazione.service.OldOrganizationLocalService getOldOrganizationLocalService() { - return oldOrganizationLocalService; - } - - /** - * Sets the old organization local service. - * - * @param oldOrganizationLocalService the old organization local service - */ - public void setOldOrganizationLocalService( - it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService) { - this.oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Returns the old organization persistence. - * - * @return the old organization persistence - */ - public OldOrganizationPersistence getOldOrganizationPersistence() { - return oldOrganizationPersistence; - } - - /** - * Sets the old organization persistence. - * - * @param oldOrganizationPersistence the old organization persistence - */ - public void setOldOrganizationPersistence( - OldOrganizationPersistence oldOrganizationPersistence) { - this.oldOrganizationPersistence = oldOrganizationPersistence; - } - - /** - * Returns the old role local service. - * - * @return the old role local service - */ - public it.tref.liferay.portos.importazione.service.OldRoleLocalService getOldRoleLocalService() { - return oldRoleLocalService; - } - - /** - * Sets the old role local service. - * - * @param oldRoleLocalService the old role local service - */ - public void setOldRoleLocalService( - it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService) { - this.oldRoleLocalService = oldRoleLocalService; - } - - /** - * Returns the old role persistence. - * - * @return the old role persistence - */ - public OldRolePersistence getOldRolePersistence() { - return oldRolePersistence; - } - - /** - * Sets the old role persistence. - * - * @param oldRolePersistence the old role persistence - */ - public void setOldRolePersistence(OldRolePersistence oldRolePersistence) { - this.oldRolePersistence = oldRolePersistence; - } - - /** - * Returns the old user local service. - * - * @return the old user local service - */ - public it.tref.liferay.portos.importazione.service.OldUserLocalService getOldUserLocalService() { - return oldUserLocalService; - } - - /** - * Sets the old user local service. - * - * @param oldUserLocalService the old user local service - */ - public void setOldUserLocalService( - it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService) { - this.oldUserLocalService = oldUserLocalService; - } - - /** - * Returns the old user persistence. - * - * @return the old user persistence - */ - public OldUserPersistence getOldUserPersistence() { - return oldUserPersistence; - } - - /** - * Sets the old user persistence. - * - * @param oldUserPersistence the old user persistence - */ - public void setOldUserPersistence(OldUserPersistence oldUserPersistence) { - this.oldUserPersistence = oldUserPersistence; - } - - /** - * Returns the old user group local service. - * - * @return the old user group local service - */ - public it.tref.liferay.portos.importazione.service.OldUserGroupLocalService getOldUserGroupLocalService() { - return oldUserGroupLocalService; - } - - /** - * Sets the old user group local service. - * - * @param oldUserGroupLocalService the old user group local service - */ - public void setOldUserGroupLocalService( - it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService) { - this.oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Returns the old user group persistence. - * - * @return the old user group persistence - */ - public OldUserGroupPersistence getOldUserGroupPersistence() { - return oldUserGroupPersistence; - } - - /** - * Sets the old user group persistence. - * - * @param oldUserGroupPersistence the old user group persistence - */ - public void setOldUserGroupPersistence( - OldUserGroupPersistence oldUserGroupPersistence) { - this.oldUserGroupPersistence = oldUserGroupPersistence; - } - - /** - * Returns the old user group finder. - * - * @return the old user group finder - */ - public OldUserGroupFinder getOldUserGroupFinder() { - return oldUserGroupFinder; - } - - /** - * Sets the old user group finder. - * - * @param oldUserGroupFinder the old user group finder - */ - public void setOldUserGroupFinder(OldUserGroupFinder oldUserGroupFinder) { - this.oldUserGroupFinder = oldUserGroupFinder; - } - - /** - * Returns the procedura importazione local service. - * - * @return the procedura importazione local service - */ - public it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService getProceduraImportazioneLocalService() { - return proceduraImportazioneLocalService; - } - - /** - * Sets the procedura importazione local service. - * - * @param proceduraImportazioneLocalService the procedura importazione local service - */ - public void setProceduraImportazioneLocalService( - it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - this.proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Returns the procedura importazione persistence. - * - * @return the procedura importazione persistence - */ - public ProceduraImportazionePersistence getProceduraImportazionePersistence() { - return proceduraImportazionePersistence; - } - - /** - * Sets the procedura importazione persistence. - * - * @param proceduraImportazionePersistence the procedura importazione persistence - */ - public void setProceduraImportazionePersistence( - ProceduraImportazionePersistence proceduraImportazionePersistence) { - this.proceduraImportazionePersistence = proceduraImportazionePersistence; - } - - /** - * Returns the stato importazione local service. - * - * @return the stato importazione local service - */ - public it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService getStatoImportazioneLocalService() { - return statoImportazioneLocalService; - } - - /** - * Sets the stato importazione local service. - * - * @param statoImportazioneLocalService the stato importazione local service - */ - public void setStatoImportazioneLocalService( - it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService) { - this.statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Returns the stato importazione persistence. - * - * @return the stato importazione persistence - */ - public StatoImportazionePersistence getStatoImportazionePersistence() { - return statoImportazionePersistence; - } - - /** - * Sets the stato importazione persistence. - * - * @param statoImportazionePersistence the stato importazione persistence - */ - public void setStatoImportazionePersistence( - StatoImportazionePersistence statoImportazionePersistence) { - this.statoImportazionePersistence = statoImportazionePersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.importazione.model.FeDettPratica", - feDettPraticaLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.importazione.model.FeDettPratica"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return FeDettPratica.class; - } - - protected String getModelClassName() { - return FeDettPratica.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = feDettPraticaPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService; - @BeanReference(type = BoConfigurazionePersistence.class) - protected BoConfigurazionePersistence boConfigurazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeProvinciaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService; - @BeanReference(type = FeProvinciaPersistence.class) - protected FeProvinciaPersistence feProvinciaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService; - @BeanReference(type = KaleoInstancePersistence.class) - protected KaleoInstancePersistence kaleoInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService; - @BeanReference(type = KaleoInstanceTokenPersistence.class) - protected KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoLogLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService; - @BeanReference(type = KaleoLogPersistence.class) - protected KaleoLogPersistence kaleoLogPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoNodeLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService; - @BeanReference(type = KaleoNodePersistence.class) - protected KaleoNodePersistence kaleoNodePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService; - @BeanReference(type = KaleoTaskPersistence.class) - protected KaleoTaskPersistence kaleoTaskPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService; - @BeanReference(type = KaleoTaskAssignmentInstancePersistence.class) - protected KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService; - @BeanReference(type = KaleoTaskInstanceTokenPersistence.class) - protected KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService; - @BeanReference(type = OldDLFileEntryPersistence.class) - protected OldDLFileEntryPersistence oldDLFileEntryPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFolderLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService; - @BeanReference(type = OldDLFolderPersistence.class) - protected OldDLFolderPersistence oldDLFolderPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService; - @BeanReference(type = OldGroupPersistence.class) - protected OldGroupPersistence oldGroupPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldOrganizationLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService; - @BeanReference(type = OldOrganizationPersistence.class) - protected OldOrganizationPersistence oldOrganizationPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldRoleLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService; - @BeanReference(type = OldRolePersistence.class) - protected OldRolePersistence oldRolePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService; - @BeanReference(type = OldUserPersistence.class) - protected OldUserPersistence oldUserPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService; - @BeanReference(type = OldUserGroupPersistence.class) - protected OldUserGroupPersistence oldUserGroupPersistence; - @BeanReference(type = OldUserGroupFinder.class) - protected OldUserGroupFinder oldUserGroupFinder; - @BeanReference(type = it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService; - @BeanReference(type = ProceduraImportazionePersistence.class) - protected ProceduraImportazionePersistence proceduraImportazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService; - @BeanReference(type = StatoImportazionePersistence.class) - protected StatoImportazionePersistence statoImportazionePersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private FeDettPraticaLocalServiceClpInvoker _clpInvoker = new FeDettPraticaLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/FeDettPraticaLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/FeDettPraticaLocalServiceClpInvoker.java deleted file mode 100644 index 04aabd4a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/FeDettPraticaLocalServiceClpInvoker.java +++ /dev/null @@ -1,304 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import it.tref.liferay.portos.importazione.service.FeDettPraticaLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author 3FC - * @generated - */ -public class FeDettPraticaLocalServiceClpInvoker { - public FeDettPraticaLocalServiceClpInvoker() { - _methodName0 = "addFeDettPratica"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.FeDettPratica" - }; - - _methodName1 = "createFeDettPratica"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteFeDettPratica"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteFeDettPratica"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.FeDettPratica" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchFeDettPratica"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchFeDettPraticaByUuidAndGroupId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "getFeDettPratica"; - - _methodParameterTypes12 = new String[] { "long" }; - - _methodName13 = "getPersistedModel"; - - _methodParameterTypes13 = new String[] { "java.io.Serializable" }; - - _methodName14 = "getFeDettPraticaByUuidAndGroupId"; - - _methodParameterTypes14 = new String[] { "java.lang.String", "long" }; - - _methodName15 = "getFeDettPraticas"; - - _methodParameterTypes15 = new String[] { "int", "int" }; - - _methodName16 = "getFeDettPraticasCount"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "updateFeDettPratica"; - - _methodParameterTypes17 = new String[] { - "it.tref.liferay.portos.importazione.model.FeDettPratica" - }; - - _methodName180 = "getBeanIdentifier"; - - _methodParameterTypes180 = new String[] { }; - - _methodName181 = "setBeanIdentifier"; - - _methodParameterTypes181 = new String[] { "java.lang.String" }; - - _methodName186 = "fetchByCodPraticaSuap"; - - _methodParameterTypes186 = new String[] { "java.lang.String" }; - - _methodName187 = "fetchByDettPraticaId"; - - _methodParameterTypes187 = new String[] { "long" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.addFeDettPratica((it.tref.liferay.portos.importazione.model.FeDettPratica)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.createFeDettPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.deleteFeDettPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.deleteFeDettPratica((it.tref.liferay.portos.importazione.model.FeDettPratica)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.fetchFeDettPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.fetchFeDettPraticaByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.getFeDettPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.getFeDettPraticaByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.getFeDettPraticas(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName16.equals(name) && - Arrays.deepEquals(_methodParameterTypes16, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.getFeDettPraticasCount(); - } - - if (_methodName17.equals(name) && - Arrays.deepEquals(_methodParameterTypes17, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.updateFeDettPratica((it.tref.liferay.portos.importazione.model.FeDettPratica)arguments[0]); - } - - if (_methodName180.equals(name) && - Arrays.deepEquals(_methodParameterTypes180, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName181.equals(name) && - Arrays.deepEquals(_methodParameterTypes181, parameterTypes)) { - FeDettPraticaLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - if (_methodName186.equals(name) && - Arrays.deepEquals(_methodParameterTypes186, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.fetchByCodPraticaSuap((java.lang.String)arguments[0]); - } - - if (_methodName187.equals(name) && - Arrays.deepEquals(_methodParameterTypes187, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.fetchByDettPraticaId(((Long)arguments[0]).longValue()); - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName180; - private String[] _methodParameterTypes180; - private String _methodName181; - private String[] _methodParameterTypes181; - private String _methodName186; - private String[] _methodParameterTypes186; - private String _methodName187; - private String[] _methodParameterTypes187; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/FeIntPraticaLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/FeIntPraticaLocalServiceBaseImpl.java deleted file mode 100644 index d449382f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/FeIntPraticaLocalServiceBaseImpl.java +++ /dev/null @@ -1,2105 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.importazione.model.FeIntPratica; -import it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinder; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the fe int pratica local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.importazione.service.impl.FeIntPraticaLocalServiceImpl}. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.impl.FeIntPraticaLocalServiceImpl - * @see it.tref.liferay.portos.importazione.service.FeIntPraticaLocalServiceUtil - * @generated - */ -public abstract class FeIntPraticaLocalServiceBaseImpl - extends BaseLocalServiceImpl implements FeIntPraticaLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.importazione.service.FeIntPraticaLocalServiceUtil} to access the fe int pratica local service. - */ - - /** - * Adds the fe int pratica to the database. Also notifies the appropriate model listeners. - * - * @param feIntPratica the fe int pratica - * @return the fe int pratica that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public FeIntPratica addFeIntPratica(FeIntPratica feIntPratica) - throws SystemException { - feIntPratica.setNew(true); - - return feIntPraticaPersistence.update(feIntPratica); - } - - /** - * Creates a new fe int pratica with the primary key. Does not add the fe int pratica to the database. - * - * @param intPraticaId the primary key for the new fe int pratica - * @return the new fe int pratica - */ - @Override - public FeIntPratica createFeIntPratica(long intPraticaId) { - return feIntPraticaPersistence.create(intPraticaId); - } - - /** - * Deletes the fe int pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param intPraticaId the primary key of the fe int pratica - * @return the fe int pratica that was removed - * @throws PortalException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public FeIntPratica deleteFeIntPratica(long intPraticaId) - throws PortalException, SystemException { - return feIntPraticaPersistence.remove(intPraticaId); - } - - /** - * Deletes the fe int pratica from the database. Also notifies the appropriate model listeners. - * - * @param feIntPratica the fe int pratica - * @return the fe int pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public FeIntPratica deleteFeIntPratica(FeIntPratica feIntPratica) - throws SystemException { - return feIntPraticaPersistence.remove(feIntPratica); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(FeIntPratica.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return feIntPraticaPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return feIntPraticaPersistence.findWithDynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return feIntPraticaPersistence.findWithDynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return feIntPraticaPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return feIntPraticaPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public FeIntPratica fetchFeIntPratica(long intPraticaId) - throws SystemException { - return feIntPraticaPersistence.fetchByPrimaryKey(intPraticaId); - } - - /** - * Returns the fe int pratica matching the UUID and group. - * - * @param uuid the fe int pratica's UUID - * @param groupId the primary key of the group - * @return the matching fe int pratica, or null if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeIntPratica fetchFeIntPraticaByUuidAndGroupId(String uuid, - long groupId) throws SystemException { - return feIntPraticaPersistence.fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the fe int pratica with the primary key. - * - * @param intPraticaId the primary key of the fe int pratica - * @return the fe int pratica - * @throws PortalException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeIntPratica getFeIntPratica(long intPraticaId) - throws PortalException, SystemException { - return feIntPraticaPersistence.findByPrimaryKey(intPraticaId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return feIntPraticaPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns the fe int pratica matching the UUID and group. - * - * @param uuid the fe int pratica's UUID - * @param groupId the primary key of the group - * @return the matching fe int pratica - * @throws PortalException if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeIntPratica getFeIntPraticaByUuidAndGroupId(String uuid, - long groupId) throws PortalException, SystemException { - return feIntPraticaPersistence.findByUUID_G(uuid, groupId); - } - - /** - * Returns a range of all the fe int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe int praticas - * @param end the upper bound of the range of fe int praticas (not inclusive) - * @return the range of fe int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List getFeIntPraticas(int start, int end) - throws SystemException { - return feIntPraticaPersistence.findAll(start, end); - } - - /** - * Returns the number of fe int praticas. - * - * @return the number of fe int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int getFeIntPraticasCount() throws SystemException { - return feIntPraticaPersistence.countAll(); - } - - /** - * Updates the fe int pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param feIntPratica the fe int pratica - * @return the fe int pratica that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public FeIntPratica updateFeIntPratica(FeIntPratica feIntPratica) - throws SystemException { - return feIntPraticaPersistence.update(feIntPratica); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.importazione.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.importazione.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo configurazione local service. - * - * @return the bo configurazione local service - */ - public it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService getBoConfigurazioneLocalService() { - return boConfigurazioneLocalService; - } - - /** - * Sets the bo configurazione local service. - * - * @param boConfigurazioneLocalService the bo configurazione local service - */ - public void setBoConfigurazioneLocalService( - it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService) { - this.boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Returns the bo configurazione persistence. - * - * @return the bo configurazione persistence - */ - public BoConfigurazionePersistence getBoConfigurazionePersistence() { - return boConfigurazionePersistence; - } - - /** - * Sets the bo configurazione persistence. - * - * @param boConfigurazionePersistence the bo configurazione persistence - */ - public void setBoConfigurazionePersistence( - BoConfigurazionePersistence boConfigurazionePersistence) { - this.boConfigurazionePersistence = boConfigurazionePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.importazione.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.importazione.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.importazione.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.importazione.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.importazione.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.importazione.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe provincia local service. - * - * @return the fe provincia local service - */ - public it.tref.liferay.portos.importazione.service.FeProvinciaLocalService getFeProvinciaLocalService() { - return feProvinciaLocalService; - } - - /** - * Sets the fe provincia local service. - * - * @param feProvinciaLocalService the fe provincia local service - */ - public void setFeProvinciaLocalService( - it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService) { - this.feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Returns the fe provincia persistence. - * - * @return the fe provincia persistence - */ - public FeProvinciaPersistence getFeProvinciaPersistence() { - return feProvinciaPersistence; - } - - /** - * Sets the fe provincia persistence. - * - * @param feProvinciaPersistence the fe provincia persistence - */ - public void setFeProvinciaPersistence( - FeProvinciaPersistence feProvinciaPersistence) { - this.feProvinciaPersistence = feProvinciaPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.importazione.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the kaleo instance local service. - * - * @return the kaleo instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService getKaleoInstanceLocalService() { - return kaleoInstanceLocalService; - } - - /** - * Sets the kaleo instance local service. - * - * @param kaleoInstanceLocalService the kaleo instance local service - */ - public void setKaleoInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService) { - this.kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Returns the kaleo instance persistence. - * - * @return the kaleo instance persistence - */ - public KaleoInstancePersistence getKaleoInstancePersistence() { - return kaleoInstancePersistence; - } - - /** - * Sets the kaleo instance persistence. - * - * @param kaleoInstancePersistence the kaleo instance persistence - */ - public void setKaleoInstancePersistence( - KaleoInstancePersistence kaleoInstancePersistence) { - this.kaleoInstancePersistence = kaleoInstancePersistence; - } - - /** - * Returns the kaleo instance token local service. - * - * @return the kaleo instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService getKaleoInstanceTokenLocalService() { - return kaleoInstanceTokenLocalService; - } - - /** - * Sets the kaleo instance token local service. - * - * @param kaleoInstanceTokenLocalService the kaleo instance token local service - */ - public void setKaleoInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - this.kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Returns the kaleo instance token persistence. - * - * @return the kaleo instance token persistence - */ - public KaleoInstanceTokenPersistence getKaleoInstanceTokenPersistence() { - return kaleoInstanceTokenPersistence; - } - - /** - * Sets the kaleo instance token persistence. - * - * @param kaleoInstanceTokenPersistence the kaleo instance token persistence - */ - public void setKaleoInstanceTokenPersistence( - KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence) { - this.kaleoInstanceTokenPersistence = kaleoInstanceTokenPersistence; - } - - /** - * Returns the kaleo log local service. - * - * @return the kaleo log local service - */ - public it.tref.liferay.portos.importazione.service.KaleoLogLocalService getKaleoLogLocalService() { - return kaleoLogLocalService; - } - - /** - * Sets the kaleo log local service. - * - * @param kaleoLogLocalService the kaleo log local service - */ - public void setKaleoLogLocalService( - it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService) { - this.kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Returns the kaleo log persistence. - * - * @return the kaleo log persistence - */ - public KaleoLogPersistence getKaleoLogPersistence() { - return kaleoLogPersistence; - } - - /** - * Sets the kaleo log persistence. - * - * @param kaleoLogPersistence the kaleo log persistence - */ - public void setKaleoLogPersistence(KaleoLogPersistence kaleoLogPersistence) { - this.kaleoLogPersistence = kaleoLogPersistence; - } - - /** - * Returns the kaleo node local service. - * - * @return the kaleo node local service - */ - public it.tref.liferay.portos.importazione.service.KaleoNodeLocalService getKaleoNodeLocalService() { - return kaleoNodeLocalService; - } - - /** - * Sets the kaleo node local service. - * - * @param kaleoNodeLocalService the kaleo node local service - */ - public void setKaleoNodeLocalService( - it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService) { - this.kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Returns the kaleo node persistence. - * - * @return the kaleo node persistence - */ - public KaleoNodePersistence getKaleoNodePersistence() { - return kaleoNodePersistence; - } - - /** - * Sets the kaleo node persistence. - * - * @param kaleoNodePersistence the kaleo node persistence - */ - public void setKaleoNodePersistence( - KaleoNodePersistence kaleoNodePersistence) { - this.kaleoNodePersistence = kaleoNodePersistence; - } - - /** - * Returns the kaleo task local service. - * - * @return the kaleo task local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskLocalService getKaleoTaskLocalService() { - return kaleoTaskLocalService; - } - - /** - * Sets the kaleo task local service. - * - * @param kaleoTaskLocalService the kaleo task local service - */ - public void setKaleoTaskLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService) { - this.kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Returns the kaleo task persistence. - * - * @return the kaleo task persistence - */ - public KaleoTaskPersistence getKaleoTaskPersistence() { - return kaleoTaskPersistence; - } - - /** - * Sets the kaleo task persistence. - * - * @param kaleoTaskPersistence the kaleo task persistence - */ - public void setKaleoTaskPersistence( - KaleoTaskPersistence kaleoTaskPersistence) { - this.kaleoTaskPersistence = kaleoTaskPersistence; - } - - /** - * Returns the kaleo task assignment instance local service. - * - * @return the kaleo task assignment instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService getKaleoTaskAssignmentInstanceLocalService() { - return kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Sets the kaleo task assignment instance local service. - * - * @param kaleoTaskAssignmentInstanceLocalService the kaleo task assignment instance local service - */ - public void setKaleoTaskAssignmentInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - this.kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Returns the kaleo task assignment instance persistence. - * - * @return the kaleo task assignment instance persistence - */ - public KaleoTaskAssignmentInstancePersistence getKaleoTaskAssignmentInstancePersistence() { - return kaleoTaskAssignmentInstancePersistence; - } - - /** - * Sets the kaleo task assignment instance persistence. - * - * @param kaleoTaskAssignmentInstancePersistence the kaleo task assignment instance persistence - */ - public void setKaleoTaskAssignmentInstancePersistence( - KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence) { - this.kaleoTaskAssignmentInstancePersistence = kaleoTaskAssignmentInstancePersistence; - } - - /** - * Returns the kaleo task instance token local service. - * - * @return the kaleo task instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService getKaleoTaskInstanceTokenLocalService() { - return kaleoTaskInstanceTokenLocalService; - } - - /** - * Sets the kaleo task instance token local service. - * - * @param kaleoTaskInstanceTokenLocalService the kaleo task instance token local service - */ - public void setKaleoTaskInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - this.kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Returns the kaleo task instance token persistence. - * - * @return the kaleo task instance token persistence - */ - public KaleoTaskInstanceTokenPersistence getKaleoTaskInstanceTokenPersistence() { - return kaleoTaskInstanceTokenPersistence; - } - - /** - * Sets the kaleo task instance token persistence. - * - * @param kaleoTaskInstanceTokenPersistence the kaleo task instance token persistence - */ - public void setKaleoTaskInstanceTokenPersistence( - KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence) { - this.kaleoTaskInstanceTokenPersistence = kaleoTaskInstanceTokenPersistence; - } - - /** - * Returns the old d l file entry local service. - * - * @return the old d l file entry local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService getOldDLFileEntryLocalService() { - return oldDLFileEntryLocalService; - } - - /** - * Sets the old d l file entry local service. - * - * @param oldDLFileEntryLocalService the old d l file entry local service - */ - public void setOldDLFileEntryLocalService( - it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService) { - this.oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Returns the old d l file entry persistence. - * - * @return the old d l file entry persistence - */ - public OldDLFileEntryPersistence getOldDLFileEntryPersistence() { - return oldDLFileEntryPersistence; - } - - /** - * Sets the old d l file entry persistence. - * - * @param oldDLFileEntryPersistence the old d l file entry persistence - */ - public void setOldDLFileEntryPersistence( - OldDLFileEntryPersistence oldDLFileEntryPersistence) { - this.oldDLFileEntryPersistence = oldDLFileEntryPersistence; - } - - /** - * Returns the old d l folder local service. - * - * @return the old d l folder local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFolderLocalService getOldDLFolderLocalService() { - return oldDLFolderLocalService; - } - - /** - * Sets the old d l folder local service. - * - * @param oldDLFolderLocalService the old d l folder local service - */ - public void setOldDLFolderLocalService( - it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService) { - this.oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Returns the old d l folder persistence. - * - * @return the old d l folder persistence - */ - public OldDLFolderPersistence getOldDLFolderPersistence() { - return oldDLFolderPersistence; - } - - /** - * Sets the old d l folder persistence. - * - * @param oldDLFolderPersistence the old d l folder persistence - */ - public void setOldDLFolderPersistence( - OldDLFolderPersistence oldDLFolderPersistence) { - this.oldDLFolderPersistence = oldDLFolderPersistence; - } - - /** - * Returns the old group local service. - * - * @return the old group local service - */ - public it.tref.liferay.portos.importazione.service.OldGroupLocalService getOldGroupLocalService() { - return oldGroupLocalService; - } - - /** - * Sets the old group local service. - * - * @param oldGroupLocalService the old group local service - */ - public void setOldGroupLocalService( - it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService) { - this.oldGroupLocalService = oldGroupLocalService; - } - - /** - * Returns the old group persistence. - * - * @return the old group persistence - */ - public OldGroupPersistence getOldGroupPersistence() { - return oldGroupPersistence; - } - - /** - * Sets the old group persistence. - * - * @param oldGroupPersistence the old group persistence - */ - public void setOldGroupPersistence(OldGroupPersistence oldGroupPersistence) { - this.oldGroupPersistence = oldGroupPersistence; - } - - /** - * Returns the old organization local service. - * - * @return the old organization local service - */ - public it.tref.liferay.portos.importazione.service.OldOrganizationLocalService getOldOrganizationLocalService() { - return oldOrganizationLocalService; - } - - /** - * Sets the old organization local service. - * - * @param oldOrganizationLocalService the old organization local service - */ - public void setOldOrganizationLocalService( - it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService) { - this.oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Returns the old organization persistence. - * - * @return the old organization persistence - */ - public OldOrganizationPersistence getOldOrganizationPersistence() { - return oldOrganizationPersistence; - } - - /** - * Sets the old organization persistence. - * - * @param oldOrganizationPersistence the old organization persistence - */ - public void setOldOrganizationPersistence( - OldOrganizationPersistence oldOrganizationPersistence) { - this.oldOrganizationPersistence = oldOrganizationPersistence; - } - - /** - * Returns the old role local service. - * - * @return the old role local service - */ - public it.tref.liferay.portos.importazione.service.OldRoleLocalService getOldRoleLocalService() { - return oldRoleLocalService; - } - - /** - * Sets the old role local service. - * - * @param oldRoleLocalService the old role local service - */ - public void setOldRoleLocalService( - it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService) { - this.oldRoleLocalService = oldRoleLocalService; - } - - /** - * Returns the old role persistence. - * - * @return the old role persistence - */ - public OldRolePersistence getOldRolePersistence() { - return oldRolePersistence; - } - - /** - * Sets the old role persistence. - * - * @param oldRolePersistence the old role persistence - */ - public void setOldRolePersistence(OldRolePersistence oldRolePersistence) { - this.oldRolePersistence = oldRolePersistence; - } - - /** - * Returns the old user local service. - * - * @return the old user local service - */ - public it.tref.liferay.portos.importazione.service.OldUserLocalService getOldUserLocalService() { - return oldUserLocalService; - } - - /** - * Sets the old user local service. - * - * @param oldUserLocalService the old user local service - */ - public void setOldUserLocalService( - it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService) { - this.oldUserLocalService = oldUserLocalService; - } - - /** - * Returns the old user persistence. - * - * @return the old user persistence - */ - public OldUserPersistence getOldUserPersistence() { - return oldUserPersistence; - } - - /** - * Sets the old user persistence. - * - * @param oldUserPersistence the old user persistence - */ - public void setOldUserPersistence(OldUserPersistence oldUserPersistence) { - this.oldUserPersistence = oldUserPersistence; - } - - /** - * Returns the old user group local service. - * - * @return the old user group local service - */ - public it.tref.liferay.portos.importazione.service.OldUserGroupLocalService getOldUserGroupLocalService() { - return oldUserGroupLocalService; - } - - /** - * Sets the old user group local service. - * - * @param oldUserGroupLocalService the old user group local service - */ - public void setOldUserGroupLocalService( - it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService) { - this.oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Returns the old user group persistence. - * - * @return the old user group persistence - */ - public OldUserGroupPersistence getOldUserGroupPersistence() { - return oldUserGroupPersistence; - } - - /** - * Sets the old user group persistence. - * - * @param oldUserGroupPersistence the old user group persistence - */ - public void setOldUserGroupPersistence( - OldUserGroupPersistence oldUserGroupPersistence) { - this.oldUserGroupPersistence = oldUserGroupPersistence; - } - - /** - * Returns the old user group finder. - * - * @return the old user group finder - */ - public OldUserGroupFinder getOldUserGroupFinder() { - return oldUserGroupFinder; - } - - /** - * Sets the old user group finder. - * - * @param oldUserGroupFinder the old user group finder - */ - public void setOldUserGroupFinder(OldUserGroupFinder oldUserGroupFinder) { - this.oldUserGroupFinder = oldUserGroupFinder; - } - - /** - * Returns the procedura importazione local service. - * - * @return the procedura importazione local service - */ - public it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService getProceduraImportazioneLocalService() { - return proceduraImportazioneLocalService; - } - - /** - * Sets the procedura importazione local service. - * - * @param proceduraImportazioneLocalService the procedura importazione local service - */ - public void setProceduraImportazioneLocalService( - it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - this.proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Returns the procedura importazione persistence. - * - * @return the procedura importazione persistence - */ - public ProceduraImportazionePersistence getProceduraImportazionePersistence() { - return proceduraImportazionePersistence; - } - - /** - * Sets the procedura importazione persistence. - * - * @param proceduraImportazionePersistence the procedura importazione persistence - */ - public void setProceduraImportazionePersistence( - ProceduraImportazionePersistence proceduraImportazionePersistence) { - this.proceduraImportazionePersistence = proceduraImportazionePersistence; - } - - /** - * Returns the stato importazione local service. - * - * @return the stato importazione local service - */ - public it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService getStatoImportazioneLocalService() { - return statoImportazioneLocalService; - } - - /** - * Sets the stato importazione local service. - * - * @param statoImportazioneLocalService the stato importazione local service - */ - public void setStatoImportazioneLocalService( - it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService) { - this.statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Returns the stato importazione persistence. - * - * @return the stato importazione persistence - */ - public StatoImportazionePersistence getStatoImportazionePersistence() { - return statoImportazionePersistence; - } - - /** - * Sets the stato importazione persistence. - * - * @param statoImportazionePersistence the stato importazione persistence - */ - public void setStatoImportazionePersistence( - StatoImportazionePersistence statoImportazionePersistence) { - this.statoImportazionePersistence = statoImportazionePersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.importazione.model.FeIntPratica", - feIntPraticaLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.importazione.model.FeIntPratica"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return FeIntPratica.class; - } - - protected String getModelClassName() { - return FeIntPratica.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = feIntPraticaPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService; - @BeanReference(type = BoConfigurazionePersistence.class) - protected BoConfigurazionePersistence boConfigurazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeProvinciaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService; - @BeanReference(type = FeProvinciaPersistence.class) - protected FeProvinciaPersistence feProvinciaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService; - @BeanReference(type = KaleoInstancePersistence.class) - protected KaleoInstancePersistence kaleoInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService; - @BeanReference(type = KaleoInstanceTokenPersistence.class) - protected KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoLogLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService; - @BeanReference(type = KaleoLogPersistence.class) - protected KaleoLogPersistence kaleoLogPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoNodeLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService; - @BeanReference(type = KaleoNodePersistence.class) - protected KaleoNodePersistence kaleoNodePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService; - @BeanReference(type = KaleoTaskPersistence.class) - protected KaleoTaskPersistence kaleoTaskPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService; - @BeanReference(type = KaleoTaskAssignmentInstancePersistence.class) - protected KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService; - @BeanReference(type = KaleoTaskInstanceTokenPersistence.class) - protected KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService; - @BeanReference(type = OldDLFileEntryPersistence.class) - protected OldDLFileEntryPersistence oldDLFileEntryPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFolderLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService; - @BeanReference(type = OldDLFolderPersistence.class) - protected OldDLFolderPersistence oldDLFolderPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService; - @BeanReference(type = OldGroupPersistence.class) - protected OldGroupPersistence oldGroupPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldOrganizationLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService; - @BeanReference(type = OldOrganizationPersistence.class) - protected OldOrganizationPersistence oldOrganizationPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldRoleLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService; - @BeanReference(type = OldRolePersistence.class) - protected OldRolePersistence oldRolePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService; - @BeanReference(type = OldUserPersistence.class) - protected OldUserPersistence oldUserPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService; - @BeanReference(type = OldUserGroupPersistence.class) - protected OldUserGroupPersistence oldUserGroupPersistence; - @BeanReference(type = OldUserGroupFinder.class) - protected OldUserGroupFinder oldUserGroupFinder; - @BeanReference(type = it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService; - @BeanReference(type = ProceduraImportazionePersistence.class) - protected ProceduraImportazionePersistence proceduraImportazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService; - @BeanReference(type = StatoImportazionePersistence.class) - protected StatoImportazionePersistence statoImportazionePersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private FeIntPraticaLocalServiceClpInvoker _clpInvoker = new FeIntPraticaLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/FeIntPraticaLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/FeIntPraticaLocalServiceClpInvoker.java deleted file mode 100644 index 0f83341f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/FeIntPraticaLocalServiceClpInvoker.java +++ /dev/null @@ -1,282 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import it.tref.liferay.portos.importazione.service.FeIntPraticaLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author 3FC - * @generated - */ -public class FeIntPraticaLocalServiceClpInvoker { - public FeIntPraticaLocalServiceClpInvoker() { - _methodName0 = "addFeIntPratica"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.FeIntPratica" - }; - - _methodName1 = "createFeIntPratica"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteFeIntPratica"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteFeIntPratica"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.FeIntPratica" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchFeIntPratica"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchFeIntPraticaByUuidAndGroupId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "getFeIntPratica"; - - _methodParameterTypes12 = new String[] { "long" }; - - _methodName13 = "getPersistedModel"; - - _methodParameterTypes13 = new String[] { "java.io.Serializable" }; - - _methodName14 = "getFeIntPraticaByUuidAndGroupId"; - - _methodParameterTypes14 = new String[] { "java.lang.String", "long" }; - - _methodName15 = "getFeIntPraticas"; - - _methodParameterTypes15 = new String[] { "int", "int" }; - - _methodName16 = "getFeIntPraticasCount"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "updateFeIntPratica"; - - _methodParameterTypes17 = new String[] { - "it.tref.liferay.portos.importazione.model.FeIntPratica" - }; - - _methodName180 = "getBeanIdentifier"; - - _methodParameterTypes180 = new String[] { }; - - _methodName181 = "setBeanIdentifier"; - - _methodParameterTypes181 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.addFeIntPratica((it.tref.liferay.portos.importazione.model.FeIntPratica)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.createFeIntPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.deleteFeIntPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.deleteFeIntPratica((it.tref.liferay.portos.importazione.model.FeIntPratica)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.fetchFeIntPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.fetchFeIntPraticaByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.getFeIntPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.getFeIntPraticaByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.getFeIntPraticas(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName16.equals(name) && - Arrays.deepEquals(_methodParameterTypes16, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.getFeIntPraticasCount(); - } - - if (_methodName17.equals(name) && - Arrays.deepEquals(_methodParameterTypes17, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.updateFeIntPratica((it.tref.liferay.portos.importazione.model.FeIntPratica)arguments[0]); - } - - if (_methodName180.equals(name) && - Arrays.deepEquals(_methodParameterTypes180, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName181.equals(name) && - Arrays.deepEquals(_methodParameterTypes181, parameterTypes)) { - FeIntPraticaLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName180; - private String[] _methodParameterTypes180; - private String _methodName181; - private String[] _methodParameterTypes181; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/FePagamentoLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/FePagamentoLocalServiceBaseImpl.java deleted file mode 100644 index 26e3b4e4..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/FePagamentoLocalServiceBaseImpl.java +++ /dev/null @@ -1,2134 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.importazione.model.FePagamento; -import it.tref.liferay.portos.importazione.service.FePagamentoLocalService; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinder; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the fe pagamento local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.importazione.service.impl.FePagamentoLocalServiceImpl}. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.impl.FePagamentoLocalServiceImpl - * @see it.tref.liferay.portos.importazione.service.FePagamentoLocalServiceUtil - * @generated - */ -public abstract class FePagamentoLocalServiceBaseImpl - extends BaseLocalServiceImpl implements FePagamentoLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.importazione.service.FePagamentoLocalServiceUtil} to access the fe pagamento local service. - */ - - /** - * Adds the fe pagamento to the database. Also notifies the appropriate model listeners. - * - * @param fePagamento the fe pagamento - * @return the fe pagamento that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public FePagamento addFePagamento(FePagamento fePagamento) - throws SystemException { - fePagamento.setNew(true); - - return fePagamentoPersistence.update(fePagamento); - } - - /** - * Creates a new fe pagamento with the primary key. Does not add the fe pagamento to the database. - * - * @param pagamentoId the primary key for the new fe pagamento - * @return the new fe pagamento - */ - @Override - public FePagamento createFePagamento(long pagamentoId) { - return fePagamentoPersistence.create(pagamentoId); - } - - /** - * Deletes the fe pagamento with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param pagamentoId the primary key of the fe pagamento - * @return the fe pagamento that was removed - * @throws PortalException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public FePagamento deleteFePagamento(long pagamentoId) - throws PortalException, SystemException { - return fePagamentoPersistence.remove(pagamentoId); - } - - /** - * Deletes the fe pagamento from the database. Also notifies the appropriate model listeners. - * - * @param fePagamento the fe pagamento - * @return the fe pagamento that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public FePagamento deleteFePagamento(FePagamento fePagamento) - throws SystemException { - return fePagamentoPersistence.remove(fePagamento); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(FePagamento.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return fePagamentoPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return fePagamentoPersistence.findWithDynamicQuery(dynamicQuery, start, - end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return fePagamentoPersistence.findWithDynamicQuery(dynamicQuery, start, - end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return fePagamentoPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return fePagamentoPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public FePagamento fetchFePagamento(long pagamentoId) - throws SystemException { - return fePagamentoPersistence.fetchByPrimaryKey(pagamentoId); - } - - /** - * Returns the fe pagamento with the matching UUID and company. - * - * @param uuid the fe pagamento's UUID - * @param companyId the primary key of the company - * @return the matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento fetchFePagamentoByUuidAndCompanyId(String uuid, - long companyId) throws SystemException { - return fePagamentoPersistence.fetchByUuid_C_First(uuid, companyId, null); - } - - /** - * Returns the fe pagamento matching the UUID and group. - * - * @param uuid the fe pagamento's UUID - * @param groupId the primary key of the group - * @return the matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento fetchFePagamentoByUuidAndGroupId(String uuid, - long groupId) throws SystemException { - return fePagamentoPersistence.fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the fe pagamento with the primary key. - * - * @param pagamentoId the primary key of the fe pagamento - * @return the fe pagamento - * @throws PortalException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento getFePagamento(long pagamentoId) - throws PortalException, SystemException { - return fePagamentoPersistence.findByPrimaryKey(pagamentoId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return fePagamentoPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns the fe pagamento with the matching UUID and company. - * - * @param uuid the fe pagamento's UUID - * @param companyId the primary key of the company - * @return the matching fe pagamento - * @throws PortalException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento getFePagamentoByUuidAndCompanyId(String uuid, - long companyId) throws PortalException, SystemException { - return fePagamentoPersistence.findByUuid_C_First(uuid, companyId, null); - } - - /** - * Returns the fe pagamento matching the UUID and group. - * - * @param uuid the fe pagamento's UUID - * @param groupId the primary key of the group - * @return the matching fe pagamento - * @throws PortalException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento getFePagamentoByUuidAndGroupId(String uuid, long groupId) - throws PortalException, SystemException { - return fePagamentoPersistence.findByUUID_G(uuid, groupId); - } - - /** - * Returns a range of all the fe pagamentos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public List getFePagamentos(int start, int end) - throws SystemException { - return fePagamentoPersistence.findAll(start, end); - } - - /** - * Returns the number of fe pagamentos. - * - * @return the number of fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public int getFePagamentosCount() throws SystemException { - return fePagamentoPersistence.countAll(); - } - - /** - * Updates the fe pagamento in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param fePagamento the fe pagamento - * @return the fe pagamento that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public FePagamento updateFePagamento(FePagamento fePagamento) - throws SystemException { - return fePagamentoPersistence.update(fePagamento); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.importazione.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.importazione.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo configurazione local service. - * - * @return the bo configurazione local service - */ - public it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService getBoConfigurazioneLocalService() { - return boConfigurazioneLocalService; - } - - /** - * Sets the bo configurazione local service. - * - * @param boConfigurazioneLocalService the bo configurazione local service - */ - public void setBoConfigurazioneLocalService( - it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService) { - this.boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Returns the bo configurazione persistence. - * - * @return the bo configurazione persistence - */ - public BoConfigurazionePersistence getBoConfigurazionePersistence() { - return boConfigurazionePersistence; - } - - /** - * Sets the bo configurazione persistence. - * - * @param boConfigurazionePersistence the bo configurazione persistence - */ - public void setBoConfigurazionePersistence( - BoConfigurazionePersistence boConfigurazionePersistence) { - this.boConfigurazionePersistence = boConfigurazionePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.importazione.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.importazione.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.importazione.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.importazione.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.importazione.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.importazione.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe provincia local service. - * - * @return the fe provincia local service - */ - public it.tref.liferay.portos.importazione.service.FeProvinciaLocalService getFeProvinciaLocalService() { - return feProvinciaLocalService; - } - - /** - * Sets the fe provincia local service. - * - * @param feProvinciaLocalService the fe provincia local service - */ - public void setFeProvinciaLocalService( - it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService) { - this.feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Returns the fe provincia persistence. - * - * @return the fe provincia persistence - */ - public FeProvinciaPersistence getFeProvinciaPersistence() { - return feProvinciaPersistence; - } - - /** - * Sets the fe provincia persistence. - * - * @param feProvinciaPersistence the fe provincia persistence - */ - public void setFeProvinciaPersistence( - FeProvinciaPersistence feProvinciaPersistence) { - this.feProvinciaPersistence = feProvinciaPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.importazione.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the kaleo instance local service. - * - * @return the kaleo instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService getKaleoInstanceLocalService() { - return kaleoInstanceLocalService; - } - - /** - * Sets the kaleo instance local service. - * - * @param kaleoInstanceLocalService the kaleo instance local service - */ - public void setKaleoInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService) { - this.kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Returns the kaleo instance persistence. - * - * @return the kaleo instance persistence - */ - public KaleoInstancePersistence getKaleoInstancePersistence() { - return kaleoInstancePersistence; - } - - /** - * Sets the kaleo instance persistence. - * - * @param kaleoInstancePersistence the kaleo instance persistence - */ - public void setKaleoInstancePersistence( - KaleoInstancePersistence kaleoInstancePersistence) { - this.kaleoInstancePersistence = kaleoInstancePersistence; - } - - /** - * Returns the kaleo instance token local service. - * - * @return the kaleo instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService getKaleoInstanceTokenLocalService() { - return kaleoInstanceTokenLocalService; - } - - /** - * Sets the kaleo instance token local service. - * - * @param kaleoInstanceTokenLocalService the kaleo instance token local service - */ - public void setKaleoInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - this.kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Returns the kaleo instance token persistence. - * - * @return the kaleo instance token persistence - */ - public KaleoInstanceTokenPersistence getKaleoInstanceTokenPersistence() { - return kaleoInstanceTokenPersistence; - } - - /** - * Sets the kaleo instance token persistence. - * - * @param kaleoInstanceTokenPersistence the kaleo instance token persistence - */ - public void setKaleoInstanceTokenPersistence( - KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence) { - this.kaleoInstanceTokenPersistence = kaleoInstanceTokenPersistence; - } - - /** - * Returns the kaleo log local service. - * - * @return the kaleo log local service - */ - public it.tref.liferay.portos.importazione.service.KaleoLogLocalService getKaleoLogLocalService() { - return kaleoLogLocalService; - } - - /** - * Sets the kaleo log local service. - * - * @param kaleoLogLocalService the kaleo log local service - */ - public void setKaleoLogLocalService( - it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService) { - this.kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Returns the kaleo log persistence. - * - * @return the kaleo log persistence - */ - public KaleoLogPersistence getKaleoLogPersistence() { - return kaleoLogPersistence; - } - - /** - * Sets the kaleo log persistence. - * - * @param kaleoLogPersistence the kaleo log persistence - */ - public void setKaleoLogPersistence(KaleoLogPersistence kaleoLogPersistence) { - this.kaleoLogPersistence = kaleoLogPersistence; - } - - /** - * Returns the kaleo node local service. - * - * @return the kaleo node local service - */ - public it.tref.liferay.portos.importazione.service.KaleoNodeLocalService getKaleoNodeLocalService() { - return kaleoNodeLocalService; - } - - /** - * Sets the kaleo node local service. - * - * @param kaleoNodeLocalService the kaleo node local service - */ - public void setKaleoNodeLocalService( - it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService) { - this.kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Returns the kaleo node persistence. - * - * @return the kaleo node persistence - */ - public KaleoNodePersistence getKaleoNodePersistence() { - return kaleoNodePersistence; - } - - /** - * Sets the kaleo node persistence. - * - * @param kaleoNodePersistence the kaleo node persistence - */ - public void setKaleoNodePersistence( - KaleoNodePersistence kaleoNodePersistence) { - this.kaleoNodePersistence = kaleoNodePersistence; - } - - /** - * Returns the kaleo task local service. - * - * @return the kaleo task local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskLocalService getKaleoTaskLocalService() { - return kaleoTaskLocalService; - } - - /** - * Sets the kaleo task local service. - * - * @param kaleoTaskLocalService the kaleo task local service - */ - public void setKaleoTaskLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService) { - this.kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Returns the kaleo task persistence. - * - * @return the kaleo task persistence - */ - public KaleoTaskPersistence getKaleoTaskPersistence() { - return kaleoTaskPersistence; - } - - /** - * Sets the kaleo task persistence. - * - * @param kaleoTaskPersistence the kaleo task persistence - */ - public void setKaleoTaskPersistence( - KaleoTaskPersistence kaleoTaskPersistence) { - this.kaleoTaskPersistence = kaleoTaskPersistence; - } - - /** - * Returns the kaleo task assignment instance local service. - * - * @return the kaleo task assignment instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService getKaleoTaskAssignmentInstanceLocalService() { - return kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Sets the kaleo task assignment instance local service. - * - * @param kaleoTaskAssignmentInstanceLocalService the kaleo task assignment instance local service - */ - public void setKaleoTaskAssignmentInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - this.kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Returns the kaleo task assignment instance persistence. - * - * @return the kaleo task assignment instance persistence - */ - public KaleoTaskAssignmentInstancePersistence getKaleoTaskAssignmentInstancePersistence() { - return kaleoTaskAssignmentInstancePersistence; - } - - /** - * Sets the kaleo task assignment instance persistence. - * - * @param kaleoTaskAssignmentInstancePersistence the kaleo task assignment instance persistence - */ - public void setKaleoTaskAssignmentInstancePersistence( - KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence) { - this.kaleoTaskAssignmentInstancePersistence = kaleoTaskAssignmentInstancePersistence; - } - - /** - * Returns the kaleo task instance token local service. - * - * @return the kaleo task instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService getKaleoTaskInstanceTokenLocalService() { - return kaleoTaskInstanceTokenLocalService; - } - - /** - * Sets the kaleo task instance token local service. - * - * @param kaleoTaskInstanceTokenLocalService the kaleo task instance token local service - */ - public void setKaleoTaskInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - this.kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Returns the kaleo task instance token persistence. - * - * @return the kaleo task instance token persistence - */ - public KaleoTaskInstanceTokenPersistence getKaleoTaskInstanceTokenPersistence() { - return kaleoTaskInstanceTokenPersistence; - } - - /** - * Sets the kaleo task instance token persistence. - * - * @param kaleoTaskInstanceTokenPersistence the kaleo task instance token persistence - */ - public void setKaleoTaskInstanceTokenPersistence( - KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence) { - this.kaleoTaskInstanceTokenPersistence = kaleoTaskInstanceTokenPersistence; - } - - /** - * Returns the old d l file entry local service. - * - * @return the old d l file entry local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService getOldDLFileEntryLocalService() { - return oldDLFileEntryLocalService; - } - - /** - * Sets the old d l file entry local service. - * - * @param oldDLFileEntryLocalService the old d l file entry local service - */ - public void setOldDLFileEntryLocalService( - it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService) { - this.oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Returns the old d l file entry persistence. - * - * @return the old d l file entry persistence - */ - public OldDLFileEntryPersistence getOldDLFileEntryPersistence() { - return oldDLFileEntryPersistence; - } - - /** - * Sets the old d l file entry persistence. - * - * @param oldDLFileEntryPersistence the old d l file entry persistence - */ - public void setOldDLFileEntryPersistence( - OldDLFileEntryPersistence oldDLFileEntryPersistence) { - this.oldDLFileEntryPersistence = oldDLFileEntryPersistence; - } - - /** - * Returns the old d l folder local service. - * - * @return the old d l folder local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFolderLocalService getOldDLFolderLocalService() { - return oldDLFolderLocalService; - } - - /** - * Sets the old d l folder local service. - * - * @param oldDLFolderLocalService the old d l folder local service - */ - public void setOldDLFolderLocalService( - it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService) { - this.oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Returns the old d l folder persistence. - * - * @return the old d l folder persistence - */ - public OldDLFolderPersistence getOldDLFolderPersistence() { - return oldDLFolderPersistence; - } - - /** - * Sets the old d l folder persistence. - * - * @param oldDLFolderPersistence the old d l folder persistence - */ - public void setOldDLFolderPersistence( - OldDLFolderPersistence oldDLFolderPersistence) { - this.oldDLFolderPersistence = oldDLFolderPersistence; - } - - /** - * Returns the old group local service. - * - * @return the old group local service - */ - public it.tref.liferay.portos.importazione.service.OldGroupLocalService getOldGroupLocalService() { - return oldGroupLocalService; - } - - /** - * Sets the old group local service. - * - * @param oldGroupLocalService the old group local service - */ - public void setOldGroupLocalService( - it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService) { - this.oldGroupLocalService = oldGroupLocalService; - } - - /** - * Returns the old group persistence. - * - * @return the old group persistence - */ - public OldGroupPersistence getOldGroupPersistence() { - return oldGroupPersistence; - } - - /** - * Sets the old group persistence. - * - * @param oldGroupPersistence the old group persistence - */ - public void setOldGroupPersistence(OldGroupPersistence oldGroupPersistence) { - this.oldGroupPersistence = oldGroupPersistence; - } - - /** - * Returns the old organization local service. - * - * @return the old organization local service - */ - public it.tref.liferay.portos.importazione.service.OldOrganizationLocalService getOldOrganizationLocalService() { - return oldOrganizationLocalService; - } - - /** - * Sets the old organization local service. - * - * @param oldOrganizationLocalService the old organization local service - */ - public void setOldOrganizationLocalService( - it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService) { - this.oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Returns the old organization persistence. - * - * @return the old organization persistence - */ - public OldOrganizationPersistence getOldOrganizationPersistence() { - return oldOrganizationPersistence; - } - - /** - * Sets the old organization persistence. - * - * @param oldOrganizationPersistence the old organization persistence - */ - public void setOldOrganizationPersistence( - OldOrganizationPersistence oldOrganizationPersistence) { - this.oldOrganizationPersistence = oldOrganizationPersistence; - } - - /** - * Returns the old role local service. - * - * @return the old role local service - */ - public it.tref.liferay.portos.importazione.service.OldRoleLocalService getOldRoleLocalService() { - return oldRoleLocalService; - } - - /** - * Sets the old role local service. - * - * @param oldRoleLocalService the old role local service - */ - public void setOldRoleLocalService( - it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService) { - this.oldRoleLocalService = oldRoleLocalService; - } - - /** - * Returns the old role persistence. - * - * @return the old role persistence - */ - public OldRolePersistence getOldRolePersistence() { - return oldRolePersistence; - } - - /** - * Sets the old role persistence. - * - * @param oldRolePersistence the old role persistence - */ - public void setOldRolePersistence(OldRolePersistence oldRolePersistence) { - this.oldRolePersistence = oldRolePersistence; - } - - /** - * Returns the old user local service. - * - * @return the old user local service - */ - public it.tref.liferay.portos.importazione.service.OldUserLocalService getOldUserLocalService() { - return oldUserLocalService; - } - - /** - * Sets the old user local service. - * - * @param oldUserLocalService the old user local service - */ - public void setOldUserLocalService( - it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService) { - this.oldUserLocalService = oldUserLocalService; - } - - /** - * Returns the old user persistence. - * - * @return the old user persistence - */ - public OldUserPersistence getOldUserPersistence() { - return oldUserPersistence; - } - - /** - * Sets the old user persistence. - * - * @param oldUserPersistence the old user persistence - */ - public void setOldUserPersistence(OldUserPersistence oldUserPersistence) { - this.oldUserPersistence = oldUserPersistence; - } - - /** - * Returns the old user group local service. - * - * @return the old user group local service - */ - public it.tref.liferay.portos.importazione.service.OldUserGroupLocalService getOldUserGroupLocalService() { - return oldUserGroupLocalService; - } - - /** - * Sets the old user group local service. - * - * @param oldUserGroupLocalService the old user group local service - */ - public void setOldUserGroupLocalService( - it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService) { - this.oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Returns the old user group persistence. - * - * @return the old user group persistence - */ - public OldUserGroupPersistence getOldUserGroupPersistence() { - return oldUserGroupPersistence; - } - - /** - * Sets the old user group persistence. - * - * @param oldUserGroupPersistence the old user group persistence - */ - public void setOldUserGroupPersistence( - OldUserGroupPersistence oldUserGroupPersistence) { - this.oldUserGroupPersistence = oldUserGroupPersistence; - } - - /** - * Returns the old user group finder. - * - * @return the old user group finder - */ - public OldUserGroupFinder getOldUserGroupFinder() { - return oldUserGroupFinder; - } - - /** - * Sets the old user group finder. - * - * @param oldUserGroupFinder the old user group finder - */ - public void setOldUserGroupFinder(OldUserGroupFinder oldUserGroupFinder) { - this.oldUserGroupFinder = oldUserGroupFinder; - } - - /** - * Returns the procedura importazione local service. - * - * @return the procedura importazione local service - */ - public it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService getProceduraImportazioneLocalService() { - return proceduraImportazioneLocalService; - } - - /** - * Sets the procedura importazione local service. - * - * @param proceduraImportazioneLocalService the procedura importazione local service - */ - public void setProceduraImportazioneLocalService( - it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - this.proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Returns the procedura importazione persistence. - * - * @return the procedura importazione persistence - */ - public ProceduraImportazionePersistence getProceduraImportazionePersistence() { - return proceduraImportazionePersistence; - } - - /** - * Sets the procedura importazione persistence. - * - * @param proceduraImportazionePersistence the procedura importazione persistence - */ - public void setProceduraImportazionePersistence( - ProceduraImportazionePersistence proceduraImportazionePersistence) { - this.proceduraImportazionePersistence = proceduraImportazionePersistence; - } - - /** - * Returns the stato importazione local service. - * - * @return the stato importazione local service - */ - public it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService getStatoImportazioneLocalService() { - return statoImportazioneLocalService; - } - - /** - * Sets the stato importazione local service. - * - * @param statoImportazioneLocalService the stato importazione local service - */ - public void setStatoImportazioneLocalService( - it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService) { - this.statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Returns the stato importazione persistence. - * - * @return the stato importazione persistence - */ - public StatoImportazionePersistence getStatoImportazionePersistence() { - return statoImportazionePersistence; - } - - /** - * Sets the stato importazione persistence. - * - * @param statoImportazionePersistence the stato importazione persistence - */ - public void setStatoImportazionePersistence( - StatoImportazionePersistence statoImportazionePersistence) { - this.statoImportazionePersistence = statoImportazionePersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.importazione.model.FePagamento", - fePagamentoLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.importazione.model.FePagamento"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return FePagamento.class; - } - - protected String getModelClassName() { - return FePagamento.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = fePagamentoPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService; - @BeanReference(type = BoConfigurazionePersistence.class) - protected BoConfigurazionePersistence boConfigurazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeProvinciaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService; - @BeanReference(type = FeProvinciaPersistence.class) - protected FeProvinciaPersistence feProvinciaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService; - @BeanReference(type = KaleoInstancePersistence.class) - protected KaleoInstancePersistence kaleoInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService; - @BeanReference(type = KaleoInstanceTokenPersistence.class) - protected KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoLogLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService; - @BeanReference(type = KaleoLogPersistence.class) - protected KaleoLogPersistence kaleoLogPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoNodeLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService; - @BeanReference(type = KaleoNodePersistence.class) - protected KaleoNodePersistence kaleoNodePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService; - @BeanReference(type = KaleoTaskPersistence.class) - protected KaleoTaskPersistence kaleoTaskPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService; - @BeanReference(type = KaleoTaskAssignmentInstancePersistence.class) - protected KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService; - @BeanReference(type = KaleoTaskInstanceTokenPersistence.class) - protected KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService; - @BeanReference(type = OldDLFileEntryPersistence.class) - protected OldDLFileEntryPersistence oldDLFileEntryPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFolderLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService; - @BeanReference(type = OldDLFolderPersistence.class) - protected OldDLFolderPersistence oldDLFolderPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService; - @BeanReference(type = OldGroupPersistence.class) - protected OldGroupPersistence oldGroupPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldOrganizationLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService; - @BeanReference(type = OldOrganizationPersistence.class) - protected OldOrganizationPersistence oldOrganizationPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldRoleLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService; - @BeanReference(type = OldRolePersistence.class) - protected OldRolePersistence oldRolePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService; - @BeanReference(type = OldUserPersistence.class) - protected OldUserPersistence oldUserPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService; - @BeanReference(type = OldUserGroupPersistence.class) - protected OldUserGroupPersistence oldUserGroupPersistence; - @BeanReference(type = OldUserGroupFinder.class) - protected OldUserGroupFinder oldUserGroupFinder; - @BeanReference(type = it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService; - @BeanReference(type = ProceduraImportazionePersistence.class) - protected ProceduraImportazionePersistence proceduraImportazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService; - @BeanReference(type = StatoImportazionePersistence.class) - protected StatoImportazionePersistence statoImportazionePersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private FePagamentoLocalServiceClpInvoker _clpInvoker = new FePagamentoLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/FePagamentoLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/FePagamentoLocalServiceClpInvoker.java deleted file mode 100644 index 035fa5c0..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/FePagamentoLocalServiceClpInvoker.java +++ /dev/null @@ -1,306 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import it.tref.liferay.portos.importazione.service.FePagamentoLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author 3FC - * @generated - */ -public class FePagamentoLocalServiceClpInvoker { - public FePagamentoLocalServiceClpInvoker() { - _methodName0 = "addFePagamento"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.FePagamento" - }; - - _methodName1 = "createFePagamento"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteFePagamento"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteFePagamento"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.FePagamento" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchFePagamento"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchFePagamentoByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchFePagamentoByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getFePagamento"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getFePagamentoByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getFePagamentoByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getFePagamentos"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getFePagamentosCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateFePagamento"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.importazione.model.FePagamento" - }; - - _methodName182 = "getBeanIdentifier"; - - _methodParameterTypes182 = new String[] { }; - - _methodName183 = "setBeanIdentifier"; - - _methodParameterTypes183 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return FePagamentoLocalServiceUtil.addFePagamento((it.tref.liferay.portos.importazione.model.FePagamento)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return FePagamentoLocalServiceUtil.createFePagamento(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return FePagamentoLocalServiceUtil.deleteFePagamento(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return FePagamentoLocalServiceUtil.deleteFePagamento((it.tref.liferay.portos.importazione.model.FePagamento)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return FePagamentoLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return FePagamentoLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return FePagamentoLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return FePagamentoLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return FePagamentoLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return FePagamentoLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return FePagamentoLocalServiceUtil.fetchFePagamento(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return FePagamentoLocalServiceUtil.fetchFePagamentoByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return FePagamentoLocalServiceUtil.fetchFePagamentoByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return FePagamentoLocalServiceUtil.getFePagamento(((Long)arguments[0]).longValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return FePagamentoLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return FePagamentoLocalServiceUtil.getFePagamentoByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName16.equals(name) && - Arrays.deepEquals(_methodParameterTypes16, parameterTypes)) { - return FePagamentoLocalServiceUtil.getFePagamentoByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName17.equals(name) && - Arrays.deepEquals(_methodParameterTypes17, parameterTypes)) { - return FePagamentoLocalServiceUtil.getFePagamentos(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName18.equals(name) && - Arrays.deepEquals(_methodParameterTypes18, parameterTypes)) { - return FePagamentoLocalServiceUtil.getFePagamentosCount(); - } - - if (_methodName19.equals(name) && - Arrays.deepEquals(_methodParameterTypes19, parameterTypes)) { - return FePagamentoLocalServiceUtil.updateFePagamento((it.tref.liferay.portos.importazione.model.FePagamento)arguments[0]); - } - - if (_methodName182.equals(name) && - Arrays.deepEquals(_methodParameterTypes182, parameterTypes)) { - return FePagamentoLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName183.equals(name) && - Arrays.deepEquals(_methodParameterTypes183, parameterTypes)) { - FePagamentoLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName182; - private String[] _methodParameterTypes182; - private String _methodName183; - private String[] _methodParameterTypes183; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/FeProvinciaLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/FeProvinciaLocalServiceBaseImpl.java deleted file mode 100644 index e42a649b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/FeProvinciaLocalServiceBaseImpl.java +++ /dev/null @@ -1,2076 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.importazione.model.FeProvincia; -import it.tref.liferay.portos.importazione.service.FeProvinciaLocalService; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinder; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the fe provincia local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.importazione.service.impl.FeProvinciaLocalServiceImpl}. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.impl.FeProvinciaLocalServiceImpl - * @see it.tref.liferay.portos.importazione.service.FeProvinciaLocalServiceUtil - * @generated - */ -public abstract class FeProvinciaLocalServiceBaseImpl - extends BaseLocalServiceImpl implements FeProvinciaLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.importazione.service.FeProvinciaLocalServiceUtil} to access the fe provincia local service. - */ - - /** - * Adds the fe provincia to the database. Also notifies the appropriate model listeners. - * - * @param feProvincia the fe provincia - * @return the fe provincia that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public FeProvincia addFeProvincia(FeProvincia feProvincia) - throws SystemException { - feProvincia.setNew(true); - - return feProvinciaPersistence.update(feProvincia); - } - - /** - * Creates a new fe provincia with the primary key. Does not add the fe provincia to the database. - * - * @param provinciaId the primary key for the new fe provincia - * @return the new fe provincia - */ - @Override - public FeProvincia createFeProvincia(long provinciaId) { - return feProvinciaPersistence.create(provinciaId); - } - - /** - * Deletes the fe provincia with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param provinciaId the primary key of the fe provincia - * @return the fe provincia that was removed - * @throws PortalException if a fe provincia with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public FeProvincia deleteFeProvincia(long provinciaId) - throws PortalException, SystemException { - return feProvinciaPersistence.remove(provinciaId); - } - - /** - * Deletes the fe provincia from the database. Also notifies the appropriate model listeners. - * - * @param feProvincia the fe provincia - * @return the fe provincia that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public FeProvincia deleteFeProvincia(FeProvincia feProvincia) - throws SystemException { - return feProvinciaPersistence.remove(feProvincia); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(FeProvincia.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return feProvinciaPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeProvinciaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return feProvinciaPersistence.findWithDynamicQuery(dynamicQuery, start, - end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeProvinciaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return feProvinciaPersistence.findWithDynamicQuery(dynamicQuery, start, - end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return feProvinciaPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return feProvinciaPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public FeProvincia fetchFeProvincia(long provinciaId) - throws SystemException { - return feProvinciaPersistence.fetchByPrimaryKey(provinciaId); - } - - /** - * Returns the fe provincia with the primary key. - * - * @param provinciaId the primary key of the fe provincia - * @return the fe provincia - * @throws PortalException if a fe provincia with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeProvincia getFeProvincia(long provinciaId) - throws PortalException, SystemException { - return feProvinciaPersistence.findByPrimaryKey(provinciaId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return feProvinciaPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns a range of all the fe provincias. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeProvinciaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe provincias - * @param end the upper bound of the range of fe provincias (not inclusive) - * @return the range of fe provincias - * @throws SystemException if a system exception occurred - */ - @Override - public List getFeProvincias(int start, int end) - throws SystemException { - return feProvinciaPersistence.findAll(start, end); - } - - /** - * Returns the number of fe provincias. - * - * @return the number of fe provincias - * @throws SystemException if a system exception occurred - */ - @Override - public int getFeProvinciasCount() throws SystemException { - return feProvinciaPersistence.countAll(); - } - - /** - * Updates the fe provincia in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param feProvincia the fe provincia - * @return the fe provincia that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public FeProvincia updateFeProvincia(FeProvincia feProvincia) - throws SystemException { - return feProvinciaPersistence.update(feProvincia); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.importazione.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.importazione.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo configurazione local service. - * - * @return the bo configurazione local service - */ - public it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService getBoConfigurazioneLocalService() { - return boConfigurazioneLocalService; - } - - /** - * Sets the bo configurazione local service. - * - * @param boConfigurazioneLocalService the bo configurazione local service - */ - public void setBoConfigurazioneLocalService( - it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService) { - this.boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Returns the bo configurazione persistence. - * - * @return the bo configurazione persistence - */ - public BoConfigurazionePersistence getBoConfigurazionePersistence() { - return boConfigurazionePersistence; - } - - /** - * Sets the bo configurazione persistence. - * - * @param boConfigurazionePersistence the bo configurazione persistence - */ - public void setBoConfigurazionePersistence( - BoConfigurazionePersistence boConfigurazionePersistence) { - this.boConfigurazionePersistence = boConfigurazionePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.importazione.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.importazione.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.importazione.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.importazione.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.importazione.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.importazione.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe provincia local service. - * - * @return the fe provincia local service - */ - public it.tref.liferay.portos.importazione.service.FeProvinciaLocalService getFeProvinciaLocalService() { - return feProvinciaLocalService; - } - - /** - * Sets the fe provincia local service. - * - * @param feProvinciaLocalService the fe provincia local service - */ - public void setFeProvinciaLocalService( - it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService) { - this.feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Returns the fe provincia persistence. - * - * @return the fe provincia persistence - */ - public FeProvinciaPersistence getFeProvinciaPersistence() { - return feProvinciaPersistence; - } - - /** - * Sets the fe provincia persistence. - * - * @param feProvinciaPersistence the fe provincia persistence - */ - public void setFeProvinciaPersistence( - FeProvinciaPersistence feProvinciaPersistence) { - this.feProvinciaPersistence = feProvinciaPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.importazione.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the kaleo instance local service. - * - * @return the kaleo instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService getKaleoInstanceLocalService() { - return kaleoInstanceLocalService; - } - - /** - * Sets the kaleo instance local service. - * - * @param kaleoInstanceLocalService the kaleo instance local service - */ - public void setKaleoInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService) { - this.kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Returns the kaleo instance persistence. - * - * @return the kaleo instance persistence - */ - public KaleoInstancePersistence getKaleoInstancePersistence() { - return kaleoInstancePersistence; - } - - /** - * Sets the kaleo instance persistence. - * - * @param kaleoInstancePersistence the kaleo instance persistence - */ - public void setKaleoInstancePersistence( - KaleoInstancePersistence kaleoInstancePersistence) { - this.kaleoInstancePersistence = kaleoInstancePersistence; - } - - /** - * Returns the kaleo instance token local service. - * - * @return the kaleo instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService getKaleoInstanceTokenLocalService() { - return kaleoInstanceTokenLocalService; - } - - /** - * Sets the kaleo instance token local service. - * - * @param kaleoInstanceTokenLocalService the kaleo instance token local service - */ - public void setKaleoInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - this.kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Returns the kaleo instance token persistence. - * - * @return the kaleo instance token persistence - */ - public KaleoInstanceTokenPersistence getKaleoInstanceTokenPersistence() { - return kaleoInstanceTokenPersistence; - } - - /** - * Sets the kaleo instance token persistence. - * - * @param kaleoInstanceTokenPersistence the kaleo instance token persistence - */ - public void setKaleoInstanceTokenPersistence( - KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence) { - this.kaleoInstanceTokenPersistence = kaleoInstanceTokenPersistence; - } - - /** - * Returns the kaleo log local service. - * - * @return the kaleo log local service - */ - public it.tref.liferay.portos.importazione.service.KaleoLogLocalService getKaleoLogLocalService() { - return kaleoLogLocalService; - } - - /** - * Sets the kaleo log local service. - * - * @param kaleoLogLocalService the kaleo log local service - */ - public void setKaleoLogLocalService( - it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService) { - this.kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Returns the kaleo log persistence. - * - * @return the kaleo log persistence - */ - public KaleoLogPersistence getKaleoLogPersistence() { - return kaleoLogPersistence; - } - - /** - * Sets the kaleo log persistence. - * - * @param kaleoLogPersistence the kaleo log persistence - */ - public void setKaleoLogPersistence(KaleoLogPersistence kaleoLogPersistence) { - this.kaleoLogPersistence = kaleoLogPersistence; - } - - /** - * Returns the kaleo node local service. - * - * @return the kaleo node local service - */ - public it.tref.liferay.portos.importazione.service.KaleoNodeLocalService getKaleoNodeLocalService() { - return kaleoNodeLocalService; - } - - /** - * Sets the kaleo node local service. - * - * @param kaleoNodeLocalService the kaleo node local service - */ - public void setKaleoNodeLocalService( - it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService) { - this.kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Returns the kaleo node persistence. - * - * @return the kaleo node persistence - */ - public KaleoNodePersistence getKaleoNodePersistence() { - return kaleoNodePersistence; - } - - /** - * Sets the kaleo node persistence. - * - * @param kaleoNodePersistence the kaleo node persistence - */ - public void setKaleoNodePersistence( - KaleoNodePersistence kaleoNodePersistence) { - this.kaleoNodePersistence = kaleoNodePersistence; - } - - /** - * Returns the kaleo task local service. - * - * @return the kaleo task local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskLocalService getKaleoTaskLocalService() { - return kaleoTaskLocalService; - } - - /** - * Sets the kaleo task local service. - * - * @param kaleoTaskLocalService the kaleo task local service - */ - public void setKaleoTaskLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService) { - this.kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Returns the kaleo task persistence. - * - * @return the kaleo task persistence - */ - public KaleoTaskPersistence getKaleoTaskPersistence() { - return kaleoTaskPersistence; - } - - /** - * Sets the kaleo task persistence. - * - * @param kaleoTaskPersistence the kaleo task persistence - */ - public void setKaleoTaskPersistence( - KaleoTaskPersistence kaleoTaskPersistence) { - this.kaleoTaskPersistence = kaleoTaskPersistence; - } - - /** - * Returns the kaleo task assignment instance local service. - * - * @return the kaleo task assignment instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService getKaleoTaskAssignmentInstanceLocalService() { - return kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Sets the kaleo task assignment instance local service. - * - * @param kaleoTaskAssignmentInstanceLocalService the kaleo task assignment instance local service - */ - public void setKaleoTaskAssignmentInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - this.kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Returns the kaleo task assignment instance persistence. - * - * @return the kaleo task assignment instance persistence - */ - public KaleoTaskAssignmentInstancePersistence getKaleoTaskAssignmentInstancePersistence() { - return kaleoTaskAssignmentInstancePersistence; - } - - /** - * Sets the kaleo task assignment instance persistence. - * - * @param kaleoTaskAssignmentInstancePersistence the kaleo task assignment instance persistence - */ - public void setKaleoTaskAssignmentInstancePersistence( - KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence) { - this.kaleoTaskAssignmentInstancePersistence = kaleoTaskAssignmentInstancePersistence; - } - - /** - * Returns the kaleo task instance token local service. - * - * @return the kaleo task instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService getKaleoTaskInstanceTokenLocalService() { - return kaleoTaskInstanceTokenLocalService; - } - - /** - * Sets the kaleo task instance token local service. - * - * @param kaleoTaskInstanceTokenLocalService the kaleo task instance token local service - */ - public void setKaleoTaskInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - this.kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Returns the kaleo task instance token persistence. - * - * @return the kaleo task instance token persistence - */ - public KaleoTaskInstanceTokenPersistence getKaleoTaskInstanceTokenPersistence() { - return kaleoTaskInstanceTokenPersistence; - } - - /** - * Sets the kaleo task instance token persistence. - * - * @param kaleoTaskInstanceTokenPersistence the kaleo task instance token persistence - */ - public void setKaleoTaskInstanceTokenPersistence( - KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence) { - this.kaleoTaskInstanceTokenPersistence = kaleoTaskInstanceTokenPersistence; - } - - /** - * Returns the old d l file entry local service. - * - * @return the old d l file entry local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService getOldDLFileEntryLocalService() { - return oldDLFileEntryLocalService; - } - - /** - * Sets the old d l file entry local service. - * - * @param oldDLFileEntryLocalService the old d l file entry local service - */ - public void setOldDLFileEntryLocalService( - it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService) { - this.oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Returns the old d l file entry persistence. - * - * @return the old d l file entry persistence - */ - public OldDLFileEntryPersistence getOldDLFileEntryPersistence() { - return oldDLFileEntryPersistence; - } - - /** - * Sets the old d l file entry persistence. - * - * @param oldDLFileEntryPersistence the old d l file entry persistence - */ - public void setOldDLFileEntryPersistence( - OldDLFileEntryPersistence oldDLFileEntryPersistence) { - this.oldDLFileEntryPersistence = oldDLFileEntryPersistence; - } - - /** - * Returns the old d l folder local service. - * - * @return the old d l folder local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFolderLocalService getOldDLFolderLocalService() { - return oldDLFolderLocalService; - } - - /** - * Sets the old d l folder local service. - * - * @param oldDLFolderLocalService the old d l folder local service - */ - public void setOldDLFolderLocalService( - it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService) { - this.oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Returns the old d l folder persistence. - * - * @return the old d l folder persistence - */ - public OldDLFolderPersistence getOldDLFolderPersistence() { - return oldDLFolderPersistence; - } - - /** - * Sets the old d l folder persistence. - * - * @param oldDLFolderPersistence the old d l folder persistence - */ - public void setOldDLFolderPersistence( - OldDLFolderPersistence oldDLFolderPersistence) { - this.oldDLFolderPersistence = oldDLFolderPersistence; - } - - /** - * Returns the old group local service. - * - * @return the old group local service - */ - public it.tref.liferay.portos.importazione.service.OldGroupLocalService getOldGroupLocalService() { - return oldGroupLocalService; - } - - /** - * Sets the old group local service. - * - * @param oldGroupLocalService the old group local service - */ - public void setOldGroupLocalService( - it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService) { - this.oldGroupLocalService = oldGroupLocalService; - } - - /** - * Returns the old group persistence. - * - * @return the old group persistence - */ - public OldGroupPersistence getOldGroupPersistence() { - return oldGroupPersistence; - } - - /** - * Sets the old group persistence. - * - * @param oldGroupPersistence the old group persistence - */ - public void setOldGroupPersistence(OldGroupPersistence oldGroupPersistence) { - this.oldGroupPersistence = oldGroupPersistence; - } - - /** - * Returns the old organization local service. - * - * @return the old organization local service - */ - public it.tref.liferay.portos.importazione.service.OldOrganizationLocalService getOldOrganizationLocalService() { - return oldOrganizationLocalService; - } - - /** - * Sets the old organization local service. - * - * @param oldOrganizationLocalService the old organization local service - */ - public void setOldOrganizationLocalService( - it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService) { - this.oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Returns the old organization persistence. - * - * @return the old organization persistence - */ - public OldOrganizationPersistence getOldOrganizationPersistence() { - return oldOrganizationPersistence; - } - - /** - * Sets the old organization persistence. - * - * @param oldOrganizationPersistence the old organization persistence - */ - public void setOldOrganizationPersistence( - OldOrganizationPersistence oldOrganizationPersistence) { - this.oldOrganizationPersistence = oldOrganizationPersistence; - } - - /** - * Returns the old role local service. - * - * @return the old role local service - */ - public it.tref.liferay.portos.importazione.service.OldRoleLocalService getOldRoleLocalService() { - return oldRoleLocalService; - } - - /** - * Sets the old role local service. - * - * @param oldRoleLocalService the old role local service - */ - public void setOldRoleLocalService( - it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService) { - this.oldRoleLocalService = oldRoleLocalService; - } - - /** - * Returns the old role persistence. - * - * @return the old role persistence - */ - public OldRolePersistence getOldRolePersistence() { - return oldRolePersistence; - } - - /** - * Sets the old role persistence. - * - * @param oldRolePersistence the old role persistence - */ - public void setOldRolePersistence(OldRolePersistence oldRolePersistence) { - this.oldRolePersistence = oldRolePersistence; - } - - /** - * Returns the old user local service. - * - * @return the old user local service - */ - public it.tref.liferay.portos.importazione.service.OldUserLocalService getOldUserLocalService() { - return oldUserLocalService; - } - - /** - * Sets the old user local service. - * - * @param oldUserLocalService the old user local service - */ - public void setOldUserLocalService( - it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService) { - this.oldUserLocalService = oldUserLocalService; - } - - /** - * Returns the old user persistence. - * - * @return the old user persistence - */ - public OldUserPersistence getOldUserPersistence() { - return oldUserPersistence; - } - - /** - * Sets the old user persistence. - * - * @param oldUserPersistence the old user persistence - */ - public void setOldUserPersistence(OldUserPersistence oldUserPersistence) { - this.oldUserPersistence = oldUserPersistence; - } - - /** - * Returns the old user group local service. - * - * @return the old user group local service - */ - public it.tref.liferay.portos.importazione.service.OldUserGroupLocalService getOldUserGroupLocalService() { - return oldUserGroupLocalService; - } - - /** - * Sets the old user group local service. - * - * @param oldUserGroupLocalService the old user group local service - */ - public void setOldUserGroupLocalService( - it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService) { - this.oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Returns the old user group persistence. - * - * @return the old user group persistence - */ - public OldUserGroupPersistence getOldUserGroupPersistence() { - return oldUserGroupPersistence; - } - - /** - * Sets the old user group persistence. - * - * @param oldUserGroupPersistence the old user group persistence - */ - public void setOldUserGroupPersistence( - OldUserGroupPersistence oldUserGroupPersistence) { - this.oldUserGroupPersistence = oldUserGroupPersistence; - } - - /** - * Returns the old user group finder. - * - * @return the old user group finder - */ - public OldUserGroupFinder getOldUserGroupFinder() { - return oldUserGroupFinder; - } - - /** - * Sets the old user group finder. - * - * @param oldUserGroupFinder the old user group finder - */ - public void setOldUserGroupFinder(OldUserGroupFinder oldUserGroupFinder) { - this.oldUserGroupFinder = oldUserGroupFinder; - } - - /** - * Returns the procedura importazione local service. - * - * @return the procedura importazione local service - */ - public it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService getProceduraImportazioneLocalService() { - return proceduraImportazioneLocalService; - } - - /** - * Sets the procedura importazione local service. - * - * @param proceduraImportazioneLocalService the procedura importazione local service - */ - public void setProceduraImportazioneLocalService( - it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - this.proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Returns the procedura importazione persistence. - * - * @return the procedura importazione persistence - */ - public ProceduraImportazionePersistence getProceduraImportazionePersistence() { - return proceduraImportazionePersistence; - } - - /** - * Sets the procedura importazione persistence. - * - * @param proceduraImportazionePersistence the procedura importazione persistence - */ - public void setProceduraImportazionePersistence( - ProceduraImportazionePersistence proceduraImportazionePersistence) { - this.proceduraImportazionePersistence = proceduraImportazionePersistence; - } - - /** - * Returns the stato importazione local service. - * - * @return the stato importazione local service - */ - public it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService getStatoImportazioneLocalService() { - return statoImportazioneLocalService; - } - - /** - * Sets the stato importazione local service. - * - * @param statoImportazioneLocalService the stato importazione local service - */ - public void setStatoImportazioneLocalService( - it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService) { - this.statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Returns the stato importazione persistence. - * - * @return the stato importazione persistence - */ - public StatoImportazionePersistence getStatoImportazionePersistence() { - return statoImportazionePersistence; - } - - /** - * Sets the stato importazione persistence. - * - * @param statoImportazionePersistence the stato importazione persistence - */ - public void setStatoImportazionePersistence( - StatoImportazionePersistence statoImportazionePersistence) { - this.statoImportazionePersistence = statoImportazionePersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.importazione.model.FeProvincia", - feProvinciaLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.importazione.model.FeProvincia"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return FeProvincia.class; - } - - protected String getModelClassName() { - return FeProvincia.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = feProvinciaPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService; - @BeanReference(type = BoConfigurazionePersistence.class) - protected BoConfigurazionePersistence boConfigurazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeProvinciaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService; - @BeanReference(type = FeProvinciaPersistence.class) - protected FeProvinciaPersistence feProvinciaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService; - @BeanReference(type = KaleoInstancePersistence.class) - protected KaleoInstancePersistence kaleoInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService; - @BeanReference(type = KaleoInstanceTokenPersistence.class) - protected KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoLogLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService; - @BeanReference(type = KaleoLogPersistence.class) - protected KaleoLogPersistence kaleoLogPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoNodeLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService; - @BeanReference(type = KaleoNodePersistence.class) - protected KaleoNodePersistence kaleoNodePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService; - @BeanReference(type = KaleoTaskPersistence.class) - protected KaleoTaskPersistence kaleoTaskPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService; - @BeanReference(type = KaleoTaskAssignmentInstancePersistence.class) - protected KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService; - @BeanReference(type = KaleoTaskInstanceTokenPersistence.class) - protected KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService; - @BeanReference(type = OldDLFileEntryPersistence.class) - protected OldDLFileEntryPersistence oldDLFileEntryPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFolderLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService; - @BeanReference(type = OldDLFolderPersistence.class) - protected OldDLFolderPersistence oldDLFolderPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService; - @BeanReference(type = OldGroupPersistence.class) - protected OldGroupPersistence oldGroupPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldOrganizationLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService; - @BeanReference(type = OldOrganizationPersistence.class) - protected OldOrganizationPersistence oldOrganizationPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldRoleLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService; - @BeanReference(type = OldRolePersistence.class) - protected OldRolePersistence oldRolePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService; - @BeanReference(type = OldUserPersistence.class) - protected OldUserPersistence oldUserPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService; - @BeanReference(type = OldUserGroupPersistence.class) - protected OldUserGroupPersistence oldUserGroupPersistence; - @BeanReference(type = OldUserGroupFinder.class) - protected OldUserGroupFinder oldUserGroupFinder; - @BeanReference(type = it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService; - @BeanReference(type = ProceduraImportazionePersistence.class) - protected ProceduraImportazionePersistence proceduraImportazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService; - @BeanReference(type = StatoImportazionePersistence.class) - protected StatoImportazionePersistence statoImportazionePersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private FeProvinciaLocalServiceClpInvoker _clpInvoker = new FeProvinciaLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/FeProvinciaLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/FeProvinciaLocalServiceClpInvoker.java deleted file mode 100644 index 64a20794..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/FeProvinciaLocalServiceClpInvoker.java +++ /dev/null @@ -1,258 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import it.tref.liferay.portos.importazione.service.FeProvinciaLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author 3FC - * @generated - */ -public class FeProvinciaLocalServiceClpInvoker { - public FeProvinciaLocalServiceClpInvoker() { - _methodName0 = "addFeProvincia"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.FeProvincia" - }; - - _methodName1 = "createFeProvincia"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteFeProvincia"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteFeProvincia"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.FeProvincia" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchFeProvincia"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getFeProvincia"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getFeProvincias"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getFeProvinciasCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateFeProvincia"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.FeProvincia" - }; - - _methodName178 = "getBeanIdentifier"; - - _methodParameterTypes178 = new String[] { }; - - _methodName179 = "setBeanIdentifier"; - - _methodParameterTypes179 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return FeProvinciaLocalServiceUtil.addFeProvincia((it.tref.liferay.portos.importazione.model.FeProvincia)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return FeProvinciaLocalServiceUtil.createFeProvincia(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return FeProvinciaLocalServiceUtil.deleteFeProvincia(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return FeProvinciaLocalServiceUtil.deleteFeProvincia((it.tref.liferay.portos.importazione.model.FeProvincia)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return FeProvinciaLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return FeProvinciaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return FeProvinciaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return FeProvinciaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return FeProvinciaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return FeProvinciaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return FeProvinciaLocalServiceUtil.fetchFeProvincia(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return FeProvinciaLocalServiceUtil.getFeProvincia(((Long)arguments[0]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return FeProvinciaLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return FeProvinciaLocalServiceUtil.getFeProvincias(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return FeProvinciaLocalServiceUtil.getFeProvinciasCount(); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return FeProvinciaLocalServiceUtil.updateFeProvincia((it.tref.liferay.portos.importazione.model.FeProvincia)arguments[0]); - } - - if (_methodName178.equals(name) && - Arrays.deepEquals(_methodParameterTypes178, parameterTypes)) { - return FeProvinciaLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName179.equals(name) && - Arrays.deepEquals(_methodParameterTypes179, parameterTypes)) { - FeProvinciaLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName178; - private String[] _methodParameterTypes178; - private String _methodName179; - private String[] _methodParameterTypes179; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/FeTerritorioLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/FeTerritorioLocalServiceBaseImpl.java deleted file mode 100644 index 8f9af771..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/FeTerritorioLocalServiceBaseImpl.java +++ /dev/null @@ -1,2076 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.importazione.model.FeTerritorio; -import it.tref.liferay.portos.importazione.service.FeTerritorioLocalService; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinder; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the fe territorio local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.importazione.service.impl.FeTerritorioLocalServiceImpl}. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.impl.FeTerritorioLocalServiceImpl - * @see it.tref.liferay.portos.importazione.service.FeTerritorioLocalServiceUtil - * @generated - */ -public abstract class FeTerritorioLocalServiceBaseImpl - extends BaseLocalServiceImpl implements FeTerritorioLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.importazione.service.FeTerritorioLocalServiceUtil} to access the fe territorio local service. - */ - - /** - * Adds the fe territorio to the database. Also notifies the appropriate model listeners. - * - * @param feTerritorio the fe territorio - * @return the fe territorio that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public FeTerritorio addFeTerritorio(FeTerritorio feTerritorio) - throws SystemException { - feTerritorio.setNew(true); - - return feTerritorioPersistence.update(feTerritorio); - } - - /** - * Creates a new fe territorio with the primary key. Does not add the fe territorio to the database. - * - * @param territorioId the primary key for the new fe territorio - * @return the new fe territorio - */ - @Override - public FeTerritorio createFeTerritorio(long territorioId) { - return feTerritorioPersistence.create(territorioId); - } - - /** - * Deletes the fe territorio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param territorioId the primary key of the fe territorio - * @return the fe territorio that was removed - * @throws PortalException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public FeTerritorio deleteFeTerritorio(long territorioId) - throws PortalException, SystemException { - return feTerritorioPersistence.remove(territorioId); - } - - /** - * Deletes the fe territorio from the database. Also notifies the appropriate model listeners. - * - * @param feTerritorio the fe territorio - * @return the fe territorio that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public FeTerritorio deleteFeTerritorio(FeTerritorio feTerritorio) - throws SystemException { - return feTerritorioPersistence.remove(feTerritorio); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(FeTerritorio.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return feTerritorioPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return feTerritorioPersistence.findWithDynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return feTerritorioPersistence.findWithDynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return feTerritorioPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return feTerritorioPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public FeTerritorio fetchFeTerritorio(long territorioId) - throws SystemException { - return feTerritorioPersistence.fetchByPrimaryKey(territorioId); - } - - /** - * Returns the fe territorio with the primary key. - * - * @param territorioId the primary key of the fe territorio - * @return the fe territorio - * @throws PortalException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio getFeTerritorio(long territorioId) - throws PortalException, SystemException { - return feTerritorioPersistence.findByPrimaryKey(territorioId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return feTerritorioPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns a range of all the fe territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List getFeTerritorios(int start, int end) - throws SystemException { - return feTerritorioPersistence.findAll(start, end); - } - - /** - * Returns the number of fe territorios. - * - * @return the number of fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public int getFeTerritoriosCount() throws SystemException { - return feTerritorioPersistence.countAll(); - } - - /** - * Updates the fe territorio in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param feTerritorio the fe territorio - * @return the fe territorio that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public FeTerritorio updateFeTerritorio(FeTerritorio feTerritorio) - throws SystemException { - return feTerritorioPersistence.update(feTerritorio); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.importazione.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.importazione.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo configurazione local service. - * - * @return the bo configurazione local service - */ - public it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService getBoConfigurazioneLocalService() { - return boConfigurazioneLocalService; - } - - /** - * Sets the bo configurazione local service. - * - * @param boConfigurazioneLocalService the bo configurazione local service - */ - public void setBoConfigurazioneLocalService( - it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService) { - this.boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Returns the bo configurazione persistence. - * - * @return the bo configurazione persistence - */ - public BoConfigurazionePersistence getBoConfigurazionePersistence() { - return boConfigurazionePersistence; - } - - /** - * Sets the bo configurazione persistence. - * - * @param boConfigurazionePersistence the bo configurazione persistence - */ - public void setBoConfigurazionePersistence( - BoConfigurazionePersistence boConfigurazionePersistence) { - this.boConfigurazionePersistence = boConfigurazionePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.importazione.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.importazione.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.importazione.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.importazione.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.importazione.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.importazione.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe provincia local service. - * - * @return the fe provincia local service - */ - public it.tref.liferay.portos.importazione.service.FeProvinciaLocalService getFeProvinciaLocalService() { - return feProvinciaLocalService; - } - - /** - * Sets the fe provincia local service. - * - * @param feProvinciaLocalService the fe provincia local service - */ - public void setFeProvinciaLocalService( - it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService) { - this.feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Returns the fe provincia persistence. - * - * @return the fe provincia persistence - */ - public FeProvinciaPersistence getFeProvinciaPersistence() { - return feProvinciaPersistence; - } - - /** - * Sets the fe provincia persistence. - * - * @param feProvinciaPersistence the fe provincia persistence - */ - public void setFeProvinciaPersistence( - FeProvinciaPersistence feProvinciaPersistence) { - this.feProvinciaPersistence = feProvinciaPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.importazione.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the kaleo instance local service. - * - * @return the kaleo instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService getKaleoInstanceLocalService() { - return kaleoInstanceLocalService; - } - - /** - * Sets the kaleo instance local service. - * - * @param kaleoInstanceLocalService the kaleo instance local service - */ - public void setKaleoInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService) { - this.kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Returns the kaleo instance persistence. - * - * @return the kaleo instance persistence - */ - public KaleoInstancePersistence getKaleoInstancePersistence() { - return kaleoInstancePersistence; - } - - /** - * Sets the kaleo instance persistence. - * - * @param kaleoInstancePersistence the kaleo instance persistence - */ - public void setKaleoInstancePersistence( - KaleoInstancePersistence kaleoInstancePersistence) { - this.kaleoInstancePersistence = kaleoInstancePersistence; - } - - /** - * Returns the kaleo instance token local service. - * - * @return the kaleo instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService getKaleoInstanceTokenLocalService() { - return kaleoInstanceTokenLocalService; - } - - /** - * Sets the kaleo instance token local service. - * - * @param kaleoInstanceTokenLocalService the kaleo instance token local service - */ - public void setKaleoInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - this.kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Returns the kaleo instance token persistence. - * - * @return the kaleo instance token persistence - */ - public KaleoInstanceTokenPersistence getKaleoInstanceTokenPersistence() { - return kaleoInstanceTokenPersistence; - } - - /** - * Sets the kaleo instance token persistence. - * - * @param kaleoInstanceTokenPersistence the kaleo instance token persistence - */ - public void setKaleoInstanceTokenPersistence( - KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence) { - this.kaleoInstanceTokenPersistence = kaleoInstanceTokenPersistence; - } - - /** - * Returns the kaleo log local service. - * - * @return the kaleo log local service - */ - public it.tref.liferay.portos.importazione.service.KaleoLogLocalService getKaleoLogLocalService() { - return kaleoLogLocalService; - } - - /** - * Sets the kaleo log local service. - * - * @param kaleoLogLocalService the kaleo log local service - */ - public void setKaleoLogLocalService( - it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService) { - this.kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Returns the kaleo log persistence. - * - * @return the kaleo log persistence - */ - public KaleoLogPersistence getKaleoLogPersistence() { - return kaleoLogPersistence; - } - - /** - * Sets the kaleo log persistence. - * - * @param kaleoLogPersistence the kaleo log persistence - */ - public void setKaleoLogPersistence(KaleoLogPersistence kaleoLogPersistence) { - this.kaleoLogPersistence = kaleoLogPersistence; - } - - /** - * Returns the kaleo node local service. - * - * @return the kaleo node local service - */ - public it.tref.liferay.portos.importazione.service.KaleoNodeLocalService getKaleoNodeLocalService() { - return kaleoNodeLocalService; - } - - /** - * Sets the kaleo node local service. - * - * @param kaleoNodeLocalService the kaleo node local service - */ - public void setKaleoNodeLocalService( - it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService) { - this.kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Returns the kaleo node persistence. - * - * @return the kaleo node persistence - */ - public KaleoNodePersistence getKaleoNodePersistence() { - return kaleoNodePersistence; - } - - /** - * Sets the kaleo node persistence. - * - * @param kaleoNodePersistence the kaleo node persistence - */ - public void setKaleoNodePersistence( - KaleoNodePersistence kaleoNodePersistence) { - this.kaleoNodePersistence = kaleoNodePersistence; - } - - /** - * Returns the kaleo task local service. - * - * @return the kaleo task local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskLocalService getKaleoTaskLocalService() { - return kaleoTaskLocalService; - } - - /** - * Sets the kaleo task local service. - * - * @param kaleoTaskLocalService the kaleo task local service - */ - public void setKaleoTaskLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService) { - this.kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Returns the kaleo task persistence. - * - * @return the kaleo task persistence - */ - public KaleoTaskPersistence getKaleoTaskPersistence() { - return kaleoTaskPersistence; - } - - /** - * Sets the kaleo task persistence. - * - * @param kaleoTaskPersistence the kaleo task persistence - */ - public void setKaleoTaskPersistence( - KaleoTaskPersistence kaleoTaskPersistence) { - this.kaleoTaskPersistence = kaleoTaskPersistence; - } - - /** - * Returns the kaleo task assignment instance local service. - * - * @return the kaleo task assignment instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService getKaleoTaskAssignmentInstanceLocalService() { - return kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Sets the kaleo task assignment instance local service. - * - * @param kaleoTaskAssignmentInstanceLocalService the kaleo task assignment instance local service - */ - public void setKaleoTaskAssignmentInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - this.kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Returns the kaleo task assignment instance persistence. - * - * @return the kaleo task assignment instance persistence - */ - public KaleoTaskAssignmentInstancePersistence getKaleoTaskAssignmentInstancePersistence() { - return kaleoTaskAssignmentInstancePersistence; - } - - /** - * Sets the kaleo task assignment instance persistence. - * - * @param kaleoTaskAssignmentInstancePersistence the kaleo task assignment instance persistence - */ - public void setKaleoTaskAssignmentInstancePersistence( - KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence) { - this.kaleoTaskAssignmentInstancePersistence = kaleoTaskAssignmentInstancePersistence; - } - - /** - * Returns the kaleo task instance token local service. - * - * @return the kaleo task instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService getKaleoTaskInstanceTokenLocalService() { - return kaleoTaskInstanceTokenLocalService; - } - - /** - * Sets the kaleo task instance token local service. - * - * @param kaleoTaskInstanceTokenLocalService the kaleo task instance token local service - */ - public void setKaleoTaskInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - this.kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Returns the kaleo task instance token persistence. - * - * @return the kaleo task instance token persistence - */ - public KaleoTaskInstanceTokenPersistence getKaleoTaskInstanceTokenPersistence() { - return kaleoTaskInstanceTokenPersistence; - } - - /** - * Sets the kaleo task instance token persistence. - * - * @param kaleoTaskInstanceTokenPersistence the kaleo task instance token persistence - */ - public void setKaleoTaskInstanceTokenPersistence( - KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence) { - this.kaleoTaskInstanceTokenPersistence = kaleoTaskInstanceTokenPersistence; - } - - /** - * Returns the old d l file entry local service. - * - * @return the old d l file entry local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService getOldDLFileEntryLocalService() { - return oldDLFileEntryLocalService; - } - - /** - * Sets the old d l file entry local service. - * - * @param oldDLFileEntryLocalService the old d l file entry local service - */ - public void setOldDLFileEntryLocalService( - it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService) { - this.oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Returns the old d l file entry persistence. - * - * @return the old d l file entry persistence - */ - public OldDLFileEntryPersistence getOldDLFileEntryPersistence() { - return oldDLFileEntryPersistence; - } - - /** - * Sets the old d l file entry persistence. - * - * @param oldDLFileEntryPersistence the old d l file entry persistence - */ - public void setOldDLFileEntryPersistence( - OldDLFileEntryPersistence oldDLFileEntryPersistence) { - this.oldDLFileEntryPersistence = oldDLFileEntryPersistence; - } - - /** - * Returns the old d l folder local service. - * - * @return the old d l folder local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFolderLocalService getOldDLFolderLocalService() { - return oldDLFolderLocalService; - } - - /** - * Sets the old d l folder local service. - * - * @param oldDLFolderLocalService the old d l folder local service - */ - public void setOldDLFolderLocalService( - it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService) { - this.oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Returns the old d l folder persistence. - * - * @return the old d l folder persistence - */ - public OldDLFolderPersistence getOldDLFolderPersistence() { - return oldDLFolderPersistence; - } - - /** - * Sets the old d l folder persistence. - * - * @param oldDLFolderPersistence the old d l folder persistence - */ - public void setOldDLFolderPersistence( - OldDLFolderPersistence oldDLFolderPersistence) { - this.oldDLFolderPersistence = oldDLFolderPersistence; - } - - /** - * Returns the old group local service. - * - * @return the old group local service - */ - public it.tref.liferay.portos.importazione.service.OldGroupLocalService getOldGroupLocalService() { - return oldGroupLocalService; - } - - /** - * Sets the old group local service. - * - * @param oldGroupLocalService the old group local service - */ - public void setOldGroupLocalService( - it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService) { - this.oldGroupLocalService = oldGroupLocalService; - } - - /** - * Returns the old group persistence. - * - * @return the old group persistence - */ - public OldGroupPersistence getOldGroupPersistence() { - return oldGroupPersistence; - } - - /** - * Sets the old group persistence. - * - * @param oldGroupPersistence the old group persistence - */ - public void setOldGroupPersistence(OldGroupPersistence oldGroupPersistence) { - this.oldGroupPersistence = oldGroupPersistence; - } - - /** - * Returns the old organization local service. - * - * @return the old organization local service - */ - public it.tref.liferay.portos.importazione.service.OldOrganizationLocalService getOldOrganizationLocalService() { - return oldOrganizationLocalService; - } - - /** - * Sets the old organization local service. - * - * @param oldOrganizationLocalService the old organization local service - */ - public void setOldOrganizationLocalService( - it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService) { - this.oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Returns the old organization persistence. - * - * @return the old organization persistence - */ - public OldOrganizationPersistence getOldOrganizationPersistence() { - return oldOrganizationPersistence; - } - - /** - * Sets the old organization persistence. - * - * @param oldOrganizationPersistence the old organization persistence - */ - public void setOldOrganizationPersistence( - OldOrganizationPersistence oldOrganizationPersistence) { - this.oldOrganizationPersistence = oldOrganizationPersistence; - } - - /** - * Returns the old role local service. - * - * @return the old role local service - */ - public it.tref.liferay.portos.importazione.service.OldRoleLocalService getOldRoleLocalService() { - return oldRoleLocalService; - } - - /** - * Sets the old role local service. - * - * @param oldRoleLocalService the old role local service - */ - public void setOldRoleLocalService( - it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService) { - this.oldRoleLocalService = oldRoleLocalService; - } - - /** - * Returns the old role persistence. - * - * @return the old role persistence - */ - public OldRolePersistence getOldRolePersistence() { - return oldRolePersistence; - } - - /** - * Sets the old role persistence. - * - * @param oldRolePersistence the old role persistence - */ - public void setOldRolePersistence(OldRolePersistence oldRolePersistence) { - this.oldRolePersistence = oldRolePersistence; - } - - /** - * Returns the old user local service. - * - * @return the old user local service - */ - public it.tref.liferay.portos.importazione.service.OldUserLocalService getOldUserLocalService() { - return oldUserLocalService; - } - - /** - * Sets the old user local service. - * - * @param oldUserLocalService the old user local service - */ - public void setOldUserLocalService( - it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService) { - this.oldUserLocalService = oldUserLocalService; - } - - /** - * Returns the old user persistence. - * - * @return the old user persistence - */ - public OldUserPersistence getOldUserPersistence() { - return oldUserPersistence; - } - - /** - * Sets the old user persistence. - * - * @param oldUserPersistence the old user persistence - */ - public void setOldUserPersistence(OldUserPersistence oldUserPersistence) { - this.oldUserPersistence = oldUserPersistence; - } - - /** - * Returns the old user group local service. - * - * @return the old user group local service - */ - public it.tref.liferay.portos.importazione.service.OldUserGroupLocalService getOldUserGroupLocalService() { - return oldUserGroupLocalService; - } - - /** - * Sets the old user group local service. - * - * @param oldUserGroupLocalService the old user group local service - */ - public void setOldUserGroupLocalService( - it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService) { - this.oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Returns the old user group persistence. - * - * @return the old user group persistence - */ - public OldUserGroupPersistence getOldUserGroupPersistence() { - return oldUserGroupPersistence; - } - - /** - * Sets the old user group persistence. - * - * @param oldUserGroupPersistence the old user group persistence - */ - public void setOldUserGroupPersistence( - OldUserGroupPersistence oldUserGroupPersistence) { - this.oldUserGroupPersistence = oldUserGroupPersistence; - } - - /** - * Returns the old user group finder. - * - * @return the old user group finder - */ - public OldUserGroupFinder getOldUserGroupFinder() { - return oldUserGroupFinder; - } - - /** - * Sets the old user group finder. - * - * @param oldUserGroupFinder the old user group finder - */ - public void setOldUserGroupFinder(OldUserGroupFinder oldUserGroupFinder) { - this.oldUserGroupFinder = oldUserGroupFinder; - } - - /** - * Returns the procedura importazione local service. - * - * @return the procedura importazione local service - */ - public it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService getProceduraImportazioneLocalService() { - return proceduraImportazioneLocalService; - } - - /** - * Sets the procedura importazione local service. - * - * @param proceduraImportazioneLocalService the procedura importazione local service - */ - public void setProceduraImportazioneLocalService( - it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - this.proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Returns the procedura importazione persistence. - * - * @return the procedura importazione persistence - */ - public ProceduraImportazionePersistence getProceduraImportazionePersistence() { - return proceduraImportazionePersistence; - } - - /** - * Sets the procedura importazione persistence. - * - * @param proceduraImportazionePersistence the procedura importazione persistence - */ - public void setProceduraImportazionePersistence( - ProceduraImportazionePersistence proceduraImportazionePersistence) { - this.proceduraImportazionePersistence = proceduraImportazionePersistence; - } - - /** - * Returns the stato importazione local service. - * - * @return the stato importazione local service - */ - public it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService getStatoImportazioneLocalService() { - return statoImportazioneLocalService; - } - - /** - * Sets the stato importazione local service. - * - * @param statoImportazioneLocalService the stato importazione local service - */ - public void setStatoImportazioneLocalService( - it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService) { - this.statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Returns the stato importazione persistence. - * - * @return the stato importazione persistence - */ - public StatoImportazionePersistence getStatoImportazionePersistence() { - return statoImportazionePersistence; - } - - /** - * Sets the stato importazione persistence. - * - * @param statoImportazionePersistence the stato importazione persistence - */ - public void setStatoImportazionePersistence( - StatoImportazionePersistence statoImportazionePersistence) { - this.statoImportazionePersistence = statoImportazionePersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.importazione.model.FeTerritorio", - feTerritorioLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.importazione.model.FeTerritorio"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return FeTerritorio.class; - } - - protected String getModelClassName() { - return FeTerritorio.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = feTerritorioPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService; - @BeanReference(type = BoConfigurazionePersistence.class) - protected BoConfigurazionePersistence boConfigurazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeProvinciaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService; - @BeanReference(type = FeProvinciaPersistence.class) - protected FeProvinciaPersistence feProvinciaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService; - @BeanReference(type = KaleoInstancePersistence.class) - protected KaleoInstancePersistence kaleoInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService; - @BeanReference(type = KaleoInstanceTokenPersistence.class) - protected KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoLogLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService; - @BeanReference(type = KaleoLogPersistence.class) - protected KaleoLogPersistence kaleoLogPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoNodeLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService; - @BeanReference(type = KaleoNodePersistence.class) - protected KaleoNodePersistence kaleoNodePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService; - @BeanReference(type = KaleoTaskPersistence.class) - protected KaleoTaskPersistence kaleoTaskPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService; - @BeanReference(type = KaleoTaskAssignmentInstancePersistence.class) - protected KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService; - @BeanReference(type = KaleoTaskInstanceTokenPersistence.class) - protected KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService; - @BeanReference(type = OldDLFileEntryPersistence.class) - protected OldDLFileEntryPersistence oldDLFileEntryPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFolderLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService; - @BeanReference(type = OldDLFolderPersistence.class) - protected OldDLFolderPersistence oldDLFolderPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService; - @BeanReference(type = OldGroupPersistence.class) - protected OldGroupPersistence oldGroupPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldOrganizationLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService; - @BeanReference(type = OldOrganizationPersistence.class) - protected OldOrganizationPersistence oldOrganizationPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldRoleLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService; - @BeanReference(type = OldRolePersistence.class) - protected OldRolePersistence oldRolePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService; - @BeanReference(type = OldUserPersistence.class) - protected OldUserPersistence oldUserPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService; - @BeanReference(type = OldUserGroupPersistence.class) - protected OldUserGroupPersistence oldUserGroupPersistence; - @BeanReference(type = OldUserGroupFinder.class) - protected OldUserGroupFinder oldUserGroupFinder; - @BeanReference(type = it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService; - @BeanReference(type = ProceduraImportazionePersistence.class) - protected ProceduraImportazionePersistence proceduraImportazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService; - @BeanReference(type = StatoImportazionePersistence.class) - protected StatoImportazionePersistence statoImportazionePersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private FeTerritorioLocalServiceClpInvoker _clpInvoker = new FeTerritorioLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/FeTerritorioLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/FeTerritorioLocalServiceClpInvoker.java deleted file mode 100644 index 42d75b29..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/FeTerritorioLocalServiceClpInvoker.java +++ /dev/null @@ -1,258 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import it.tref.liferay.portos.importazione.service.FeTerritorioLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author 3FC - * @generated - */ -public class FeTerritorioLocalServiceClpInvoker { - public FeTerritorioLocalServiceClpInvoker() { - _methodName0 = "addFeTerritorio"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.FeTerritorio" - }; - - _methodName1 = "createFeTerritorio"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteFeTerritorio"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteFeTerritorio"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.FeTerritorio" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchFeTerritorio"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getFeTerritorio"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getFeTerritorios"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getFeTerritoriosCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateFeTerritorio"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.FeTerritorio" - }; - - _methodName178 = "getBeanIdentifier"; - - _methodParameterTypes178 = new String[] { }; - - _methodName179 = "setBeanIdentifier"; - - _methodParameterTypes179 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return FeTerritorioLocalServiceUtil.addFeTerritorio((it.tref.liferay.portos.importazione.model.FeTerritorio)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return FeTerritorioLocalServiceUtil.createFeTerritorio(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return FeTerritorioLocalServiceUtil.deleteFeTerritorio(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return FeTerritorioLocalServiceUtil.deleteFeTerritorio((it.tref.liferay.portos.importazione.model.FeTerritorio)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return FeTerritorioLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return FeTerritorioLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return FeTerritorioLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return FeTerritorioLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return FeTerritorioLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return FeTerritorioLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return FeTerritorioLocalServiceUtil.fetchFeTerritorio(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return FeTerritorioLocalServiceUtil.getFeTerritorio(((Long)arguments[0]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return FeTerritorioLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return FeTerritorioLocalServiceUtil.getFeTerritorios(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return FeTerritorioLocalServiceUtil.getFeTerritoriosCount(); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return FeTerritorioLocalServiceUtil.updateFeTerritorio((it.tref.liferay.portos.importazione.model.FeTerritorio)arguments[0]); - } - - if (_methodName178.equals(name) && - Arrays.deepEquals(_methodParameterTypes178, parameterTypes)) { - return FeTerritorioLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName179.equals(name) && - Arrays.deepEquals(_methodParameterTypes179, parameterTypes)) { - FeTerritorioLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName178; - private String[] _methodParameterTypes178; - private String _methodName179; - private String[] _methodParameterTypes179; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoInstanceLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoInstanceLocalServiceBaseImpl.java deleted file mode 100644 index c8f59bef..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoInstanceLocalServiceBaseImpl.java +++ /dev/null @@ -1,2076 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.importazione.model.KaleoInstance; -import it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinder; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the kaleo instance local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.importazione.service.impl.KaleoInstanceLocalServiceImpl}. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.impl.KaleoInstanceLocalServiceImpl - * @see it.tref.liferay.portos.importazione.service.KaleoInstanceLocalServiceUtil - * @generated - */ -public abstract class KaleoInstanceLocalServiceBaseImpl - extends BaseLocalServiceImpl implements KaleoInstanceLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.importazione.service.KaleoInstanceLocalServiceUtil} to access the kaleo instance local service. - */ - - /** - * Adds the kaleo instance to the database. Also notifies the appropriate model listeners. - * - * @param kaleoInstance the kaleo instance - * @return the kaleo instance that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public KaleoInstance addKaleoInstance(KaleoInstance kaleoInstance) - throws SystemException { - kaleoInstance.setNew(true); - - return kaleoInstancePersistence.update(kaleoInstance); - } - - /** - * Creates a new kaleo instance with the primary key. Does not add the kaleo instance to the database. - * - * @param kaleoInstanceId the primary key for the new kaleo instance - * @return the new kaleo instance - */ - @Override - public KaleoInstance createKaleoInstance(long kaleoInstanceId) { - return kaleoInstancePersistence.create(kaleoInstanceId); - } - - /** - * Deletes the kaleo instance with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoInstanceId the primary key of the kaleo instance - * @return the kaleo instance that was removed - * @throws PortalException if a kaleo instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public KaleoInstance deleteKaleoInstance(long kaleoInstanceId) - throws PortalException, SystemException { - return kaleoInstancePersistence.remove(kaleoInstanceId); - } - - /** - * Deletes the kaleo instance from the database. Also notifies the appropriate model listeners. - * - * @param kaleoInstance the kaleo instance - * @return the kaleo instance that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public KaleoInstance deleteKaleoInstance(KaleoInstance kaleoInstance) - throws SystemException { - return kaleoInstancePersistence.remove(kaleoInstance); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(KaleoInstance.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return kaleoInstancePersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return kaleoInstancePersistence.findWithDynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return kaleoInstancePersistence.findWithDynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return kaleoInstancePersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return kaleoInstancePersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public KaleoInstance fetchKaleoInstance(long kaleoInstanceId) - throws SystemException { - return kaleoInstancePersistence.fetchByPrimaryKey(kaleoInstanceId); - } - - /** - * Returns the kaleo instance with the primary key. - * - * @param kaleoInstanceId the primary key of the kaleo instance - * @return the kaleo instance - * @throws PortalException if a kaleo instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoInstance getKaleoInstance(long kaleoInstanceId) - throws PortalException, SystemException { - return kaleoInstancePersistence.findByPrimaryKey(kaleoInstanceId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return kaleoInstancePersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns a range of all the kaleo instances. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo instances - * @param end the upper bound of the range of kaleo instances (not inclusive) - * @return the range of kaleo instances - * @throws SystemException if a system exception occurred - */ - @Override - public List getKaleoInstances(int start, int end) - throws SystemException { - return kaleoInstancePersistence.findAll(start, end); - } - - /** - * Returns the number of kaleo instances. - * - * @return the number of kaleo instances - * @throws SystemException if a system exception occurred - */ - @Override - public int getKaleoInstancesCount() throws SystemException { - return kaleoInstancePersistence.countAll(); - } - - /** - * Updates the kaleo instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param kaleoInstance the kaleo instance - * @return the kaleo instance that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public KaleoInstance updateKaleoInstance(KaleoInstance kaleoInstance) - throws SystemException { - return kaleoInstancePersistence.update(kaleoInstance); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.importazione.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.importazione.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo configurazione local service. - * - * @return the bo configurazione local service - */ - public it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService getBoConfigurazioneLocalService() { - return boConfigurazioneLocalService; - } - - /** - * Sets the bo configurazione local service. - * - * @param boConfigurazioneLocalService the bo configurazione local service - */ - public void setBoConfigurazioneLocalService( - it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService) { - this.boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Returns the bo configurazione persistence. - * - * @return the bo configurazione persistence - */ - public BoConfigurazionePersistence getBoConfigurazionePersistence() { - return boConfigurazionePersistence; - } - - /** - * Sets the bo configurazione persistence. - * - * @param boConfigurazionePersistence the bo configurazione persistence - */ - public void setBoConfigurazionePersistence( - BoConfigurazionePersistence boConfigurazionePersistence) { - this.boConfigurazionePersistence = boConfigurazionePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.importazione.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.importazione.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.importazione.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.importazione.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.importazione.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.importazione.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe provincia local service. - * - * @return the fe provincia local service - */ - public it.tref.liferay.portos.importazione.service.FeProvinciaLocalService getFeProvinciaLocalService() { - return feProvinciaLocalService; - } - - /** - * Sets the fe provincia local service. - * - * @param feProvinciaLocalService the fe provincia local service - */ - public void setFeProvinciaLocalService( - it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService) { - this.feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Returns the fe provincia persistence. - * - * @return the fe provincia persistence - */ - public FeProvinciaPersistence getFeProvinciaPersistence() { - return feProvinciaPersistence; - } - - /** - * Sets the fe provincia persistence. - * - * @param feProvinciaPersistence the fe provincia persistence - */ - public void setFeProvinciaPersistence( - FeProvinciaPersistence feProvinciaPersistence) { - this.feProvinciaPersistence = feProvinciaPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.importazione.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the kaleo instance local service. - * - * @return the kaleo instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService getKaleoInstanceLocalService() { - return kaleoInstanceLocalService; - } - - /** - * Sets the kaleo instance local service. - * - * @param kaleoInstanceLocalService the kaleo instance local service - */ - public void setKaleoInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService) { - this.kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Returns the kaleo instance persistence. - * - * @return the kaleo instance persistence - */ - public KaleoInstancePersistence getKaleoInstancePersistence() { - return kaleoInstancePersistence; - } - - /** - * Sets the kaleo instance persistence. - * - * @param kaleoInstancePersistence the kaleo instance persistence - */ - public void setKaleoInstancePersistence( - KaleoInstancePersistence kaleoInstancePersistence) { - this.kaleoInstancePersistence = kaleoInstancePersistence; - } - - /** - * Returns the kaleo instance token local service. - * - * @return the kaleo instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService getKaleoInstanceTokenLocalService() { - return kaleoInstanceTokenLocalService; - } - - /** - * Sets the kaleo instance token local service. - * - * @param kaleoInstanceTokenLocalService the kaleo instance token local service - */ - public void setKaleoInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - this.kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Returns the kaleo instance token persistence. - * - * @return the kaleo instance token persistence - */ - public KaleoInstanceTokenPersistence getKaleoInstanceTokenPersistence() { - return kaleoInstanceTokenPersistence; - } - - /** - * Sets the kaleo instance token persistence. - * - * @param kaleoInstanceTokenPersistence the kaleo instance token persistence - */ - public void setKaleoInstanceTokenPersistence( - KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence) { - this.kaleoInstanceTokenPersistence = kaleoInstanceTokenPersistence; - } - - /** - * Returns the kaleo log local service. - * - * @return the kaleo log local service - */ - public it.tref.liferay.portos.importazione.service.KaleoLogLocalService getKaleoLogLocalService() { - return kaleoLogLocalService; - } - - /** - * Sets the kaleo log local service. - * - * @param kaleoLogLocalService the kaleo log local service - */ - public void setKaleoLogLocalService( - it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService) { - this.kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Returns the kaleo log persistence. - * - * @return the kaleo log persistence - */ - public KaleoLogPersistence getKaleoLogPersistence() { - return kaleoLogPersistence; - } - - /** - * Sets the kaleo log persistence. - * - * @param kaleoLogPersistence the kaleo log persistence - */ - public void setKaleoLogPersistence(KaleoLogPersistence kaleoLogPersistence) { - this.kaleoLogPersistence = kaleoLogPersistence; - } - - /** - * Returns the kaleo node local service. - * - * @return the kaleo node local service - */ - public it.tref.liferay.portos.importazione.service.KaleoNodeLocalService getKaleoNodeLocalService() { - return kaleoNodeLocalService; - } - - /** - * Sets the kaleo node local service. - * - * @param kaleoNodeLocalService the kaleo node local service - */ - public void setKaleoNodeLocalService( - it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService) { - this.kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Returns the kaleo node persistence. - * - * @return the kaleo node persistence - */ - public KaleoNodePersistence getKaleoNodePersistence() { - return kaleoNodePersistence; - } - - /** - * Sets the kaleo node persistence. - * - * @param kaleoNodePersistence the kaleo node persistence - */ - public void setKaleoNodePersistence( - KaleoNodePersistence kaleoNodePersistence) { - this.kaleoNodePersistence = kaleoNodePersistence; - } - - /** - * Returns the kaleo task local service. - * - * @return the kaleo task local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskLocalService getKaleoTaskLocalService() { - return kaleoTaskLocalService; - } - - /** - * Sets the kaleo task local service. - * - * @param kaleoTaskLocalService the kaleo task local service - */ - public void setKaleoTaskLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService) { - this.kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Returns the kaleo task persistence. - * - * @return the kaleo task persistence - */ - public KaleoTaskPersistence getKaleoTaskPersistence() { - return kaleoTaskPersistence; - } - - /** - * Sets the kaleo task persistence. - * - * @param kaleoTaskPersistence the kaleo task persistence - */ - public void setKaleoTaskPersistence( - KaleoTaskPersistence kaleoTaskPersistence) { - this.kaleoTaskPersistence = kaleoTaskPersistence; - } - - /** - * Returns the kaleo task assignment instance local service. - * - * @return the kaleo task assignment instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService getKaleoTaskAssignmentInstanceLocalService() { - return kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Sets the kaleo task assignment instance local service. - * - * @param kaleoTaskAssignmentInstanceLocalService the kaleo task assignment instance local service - */ - public void setKaleoTaskAssignmentInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - this.kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Returns the kaleo task assignment instance persistence. - * - * @return the kaleo task assignment instance persistence - */ - public KaleoTaskAssignmentInstancePersistence getKaleoTaskAssignmentInstancePersistence() { - return kaleoTaskAssignmentInstancePersistence; - } - - /** - * Sets the kaleo task assignment instance persistence. - * - * @param kaleoTaskAssignmentInstancePersistence the kaleo task assignment instance persistence - */ - public void setKaleoTaskAssignmentInstancePersistence( - KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence) { - this.kaleoTaskAssignmentInstancePersistence = kaleoTaskAssignmentInstancePersistence; - } - - /** - * Returns the kaleo task instance token local service. - * - * @return the kaleo task instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService getKaleoTaskInstanceTokenLocalService() { - return kaleoTaskInstanceTokenLocalService; - } - - /** - * Sets the kaleo task instance token local service. - * - * @param kaleoTaskInstanceTokenLocalService the kaleo task instance token local service - */ - public void setKaleoTaskInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - this.kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Returns the kaleo task instance token persistence. - * - * @return the kaleo task instance token persistence - */ - public KaleoTaskInstanceTokenPersistence getKaleoTaskInstanceTokenPersistence() { - return kaleoTaskInstanceTokenPersistence; - } - - /** - * Sets the kaleo task instance token persistence. - * - * @param kaleoTaskInstanceTokenPersistence the kaleo task instance token persistence - */ - public void setKaleoTaskInstanceTokenPersistence( - KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence) { - this.kaleoTaskInstanceTokenPersistence = kaleoTaskInstanceTokenPersistence; - } - - /** - * Returns the old d l file entry local service. - * - * @return the old d l file entry local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService getOldDLFileEntryLocalService() { - return oldDLFileEntryLocalService; - } - - /** - * Sets the old d l file entry local service. - * - * @param oldDLFileEntryLocalService the old d l file entry local service - */ - public void setOldDLFileEntryLocalService( - it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService) { - this.oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Returns the old d l file entry persistence. - * - * @return the old d l file entry persistence - */ - public OldDLFileEntryPersistence getOldDLFileEntryPersistence() { - return oldDLFileEntryPersistence; - } - - /** - * Sets the old d l file entry persistence. - * - * @param oldDLFileEntryPersistence the old d l file entry persistence - */ - public void setOldDLFileEntryPersistence( - OldDLFileEntryPersistence oldDLFileEntryPersistence) { - this.oldDLFileEntryPersistence = oldDLFileEntryPersistence; - } - - /** - * Returns the old d l folder local service. - * - * @return the old d l folder local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFolderLocalService getOldDLFolderLocalService() { - return oldDLFolderLocalService; - } - - /** - * Sets the old d l folder local service. - * - * @param oldDLFolderLocalService the old d l folder local service - */ - public void setOldDLFolderLocalService( - it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService) { - this.oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Returns the old d l folder persistence. - * - * @return the old d l folder persistence - */ - public OldDLFolderPersistence getOldDLFolderPersistence() { - return oldDLFolderPersistence; - } - - /** - * Sets the old d l folder persistence. - * - * @param oldDLFolderPersistence the old d l folder persistence - */ - public void setOldDLFolderPersistence( - OldDLFolderPersistence oldDLFolderPersistence) { - this.oldDLFolderPersistence = oldDLFolderPersistence; - } - - /** - * Returns the old group local service. - * - * @return the old group local service - */ - public it.tref.liferay.portos.importazione.service.OldGroupLocalService getOldGroupLocalService() { - return oldGroupLocalService; - } - - /** - * Sets the old group local service. - * - * @param oldGroupLocalService the old group local service - */ - public void setOldGroupLocalService( - it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService) { - this.oldGroupLocalService = oldGroupLocalService; - } - - /** - * Returns the old group persistence. - * - * @return the old group persistence - */ - public OldGroupPersistence getOldGroupPersistence() { - return oldGroupPersistence; - } - - /** - * Sets the old group persistence. - * - * @param oldGroupPersistence the old group persistence - */ - public void setOldGroupPersistence(OldGroupPersistence oldGroupPersistence) { - this.oldGroupPersistence = oldGroupPersistence; - } - - /** - * Returns the old organization local service. - * - * @return the old organization local service - */ - public it.tref.liferay.portos.importazione.service.OldOrganizationLocalService getOldOrganizationLocalService() { - return oldOrganizationLocalService; - } - - /** - * Sets the old organization local service. - * - * @param oldOrganizationLocalService the old organization local service - */ - public void setOldOrganizationLocalService( - it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService) { - this.oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Returns the old organization persistence. - * - * @return the old organization persistence - */ - public OldOrganizationPersistence getOldOrganizationPersistence() { - return oldOrganizationPersistence; - } - - /** - * Sets the old organization persistence. - * - * @param oldOrganizationPersistence the old organization persistence - */ - public void setOldOrganizationPersistence( - OldOrganizationPersistence oldOrganizationPersistence) { - this.oldOrganizationPersistence = oldOrganizationPersistence; - } - - /** - * Returns the old role local service. - * - * @return the old role local service - */ - public it.tref.liferay.portos.importazione.service.OldRoleLocalService getOldRoleLocalService() { - return oldRoleLocalService; - } - - /** - * Sets the old role local service. - * - * @param oldRoleLocalService the old role local service - */ - public void setOldRoleLocalService( - it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService) { - this.oldRoleLocalService = oldRoleLocalService; - } - - /** - * Returns the old role persistence. - * - * @return the old role persistence - */ - public OldRolePersistence getOldRolePersistence() { - return oldRolePersistence; - } - - /** - * Sets the old role persistence. - * - * @param oldRolePersistence the old role persistence - */ - public void setOldRolePersistence(OldRolePersistence oldRolePersistence) { - this.oldRolePersistence = oldRolePersistence; - } - - /** - * Returns the old user local service. - * - * @return the old user local service - */ - public it.tref.liferay.portos.importazione.service.OldUserLocalService getOldUserLocalService() { - return oldUserLocalService; - } - - /** - * Sets the old user local service. - * - * @param oldUserLocalService the old user local service - */ - public void setOldUserLocalService( - it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService) { - this.oldUserLocalService = oldUserLocalService; - } - - /** - * Returns the old user persistence. - * - * @return the old user persistence - */ - public OldUserPersistence getOldUserPersistence() { - return oldUserPersistence; - } - - /** - * Sets the old user persistence. - * - * @param oldUserPersistence the old user persistence - */ - public void setOldUserPersistence(OldUserPersistence oldUserPersistence) { - this.oldUserPersistence = oldUserPersistence; - } - - /** - * Returns the old user group local service. - * - * @return the old user group local service - */ - public it.tref.liferay.portos.importazione.service.OldUserGroupLocalService getOldUserGroupLocalService() { - return oldUserGroupLocalService; - } - - /** - * Sets the old user group local service. - * - * @param oldUserGroupLocalService the old user group local service - */ - public void setOldUserGroupLocalService( - it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService) { - this.oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Returns the old user group persistence. - * - * @return the old user group persistence - */ - public OldUserGroupPersistence getOldUserGroupPersistence() { - return oldUserGroupPersistence; - } - - /** - * Sets the old user group persistence. - * - * @param oldUserGroupPersistence the old user group persistence - */ - public void setOldUserGroupPersistence( - OldUserGroupPersistence oldUserGroupPersistence) { - this.oldUserGroupPersistence = oldUserGroupPersistence; - } - - /** - * Returns the old user group finder. - * - * @return the old user group finder - */ - public OldUserGroupFinder getOldUserGroupFinder() { - return oldUserGroupFinder; - } - - /** - * Sets the old user group finder. - * - * @param oldUserGroupFinder the old user group finder - */ - public void setOldUserGroupFinder(OldUserGroupFinder oldUserGroupFinder) { - this.oldUserGroupFinder = oldUserGroupFinder; - } - - /** - * Returns the procedura importazione local service. - * - * @return the procedura importazione local service - */ - public it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService getProceduraImportazioneLocalService() { - return proceduraImportazioneLocalService; - } - - /** - * Sets the procedura importazione local service. - * - * @param proceduraImportazioneLocalService the procedura importazione local service - */ - public void setProceduraImportazioneLocalService( - it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - this.proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Returns the procedura importazione persistence. - * - * @return the procedura importazione persistence - */ - public ProceduraImportazionePersistence getProceduraImportazionePersistence() { - return proceduraImportazionePersistence; - } - - /** - * Sets the procedura importazione persistence. - * - * @param proceduraImportazionePersistence the procedura importazione persistence - */ - public void setProceduraImportazionePersistence( - ProceduraImportazionePersistence proceduraImportazionePersistence) { - this.proceduraImportazionePersistence = proceduraImportazionePersistence; - } - - /** - * Returns the stato importazione local service. - * - * @return the stato importazione local service - */ - public it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService getStatoImportazioneLocalService() { - return statoImportazioneLocalService; - } - - /** - * Sets the stato importazione local service. - * - * @param statoImportazioneLocalService the stato importazione local service - */ - public void setStatoImportazioneLocalService( - it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService) { - this.statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Returns the stato importazione persistence. - * - * @return the stato importazione persistence - */ - public StatoImportazionePersistence getStatoImportazionePersistence() { - return statoImportazionePersistence; - } - - /** - * Sets the stato importazione persistence. - * - * @param statoImportazionePersistence the stato importazione persistence - */ - public void setStatoImportazionePersistence( - StatoImportazionePersistence statoImportazionePersistence) { - this.statoImportazionePersistence = statoImportazionePersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.importazione.model.KaleoInstance", - kaleoInstanceLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.importazione.model.KaleoInstance"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return KaleoInstance.class; - } - - protected String getModelClassName() { - return KaleoInstance.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = kaleoInstancePersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService; - @BeanReference(type = BoConfigurazionePersistence.class) - protected BoConfigurazionePersistence boConfigurazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeProvinciaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService; - @BeanReference(type = FeProvinciaPersistence.class) - protected FeProvinciaPersistence feProvinciaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService; - @BeanReference(type = KaleoInstancePersistence.class) - protected KaleoInstancePersistence kaleoInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService; - @BeanReference(type = KaleoInstanceTokenPersistence.class) - protected KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoLogLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService; - @BeanReference(type = KaleoLogPersistence.class) - protected KaleoLogPersistence kaleoLogPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoNodeLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService; - @BeanReference(type = KaleoNodePersistence.class) - protected KaleoNodePersistence kaleoNodePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService; - @BeanReference(type = KaleoTaskPersistence.class) - protected KaleoTaskPersistence kaleoTaskPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService; - @BeanReference(type = KaleoTaskAssignmentInstancePersistence.class) - protected KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService; - @BeanReference(type = KaleoTaskInstanceTokenPersistence.class) - protected KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService; - @BeanReference(type = OldDLFileEntryPersistence.class) - protected OldDLFileEntryPersistence oldDLFileEntryPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFolderLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService; - @BeanReference(type = OldDLFolderPersistence.class) - protected OldDLFolderPersistence oldDLFolderPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService; - @BeanReference(type = OldGroupPersistence.class) - protected OldGroupPersistence oldGroupPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldOrganizationLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService; - @BeanReference(type = OldOrganizationPersistence.class) - protected OldOrganizationPersistence oldOrganizationPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldRoleLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService; - @BeanReference(type = OldRolePersistence.class) - protected OldRolePersistence oldRolePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService; - @BeanReference(type = OldUserPersistence.class) - protected OldUserPersistence oldUserPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService; - @BeanReference(type = OldUserGroupPersistence.class) - protected OldUserGroupPersistence oldUserGroupPersistence; - @BeanReference(type = OldUserGroupFinder.class) - protected OldUserGroupFinder oldUserGroupFinder; - @BeanReference(type = it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService; - @BeanReference(type = ProceduraImportazionePersistence.class) - protected ProceduraImportazionePersistence proceduraImportazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService; - @BeanReference(type = StatoImportazionePersistence.class) - protected StatoImportazionePersistence statoImportazionePersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private KaleoInstanceLocalServiceClpInvoker _clpInvoker = new KaleoInstanceLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoInstanceLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoInstanceLocalServiceClpInvoker.java deleted file mode 100644 index 70159d99..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoInstanceLocalServiceClpInvoker.java +++ /dev/null @@ -1,269 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import it.tref.liferay.portos.importazione.service.KaleoInstanceLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author 3FC - * @generated - */ -public class KaleoInstanceLocalServiceClpInvoker { - public KaleoInstanceLocalServiceClpInvoker() { - _methodName0 = "addKaleoInstance"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoInstance" - }; - - _methodName1 = "createKaleoInstance"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteKaleoInstance"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteKaleoInstance"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoInstance" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchKaleoInstance"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getKaleoInstance"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getKaleoInstances"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getKaleoInstancesCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateKaleoInstance"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoInstance" - }; - - _methodName178 = "getBeanIdentifier"; - - _methodParameterTypes178 = new String[] { }; - - _methodName179 = "setBeanIdentifier"; - - _methodParameterTypes179 = new String[] { "java.lang.String" }; - - _methodName184 = "fetchByClassPk"; - - _methodParameterTypes184 = new String[] { "long" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return KaleoInstanceLocalServiceUtil.addKaleoInstance((it.tref.liferay.portos.importazione.model.KaleoInstance)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return KaleoInstanceLocalServiceUtil.createKaleoInstance(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return KaleoInstanceLocalServiceUtil.deleteKaleoInstance(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return KaleoInstanceLocalServiceUtil.deleteKaleoInstance((it.tref.liferay.portos.importazione.model.KaleoInstance)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return KaleoInstanceLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return KaleoInstanceLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return KaleoInstanceLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return KaleoInstanceLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return KaleoInstanceLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return KaleoInstanceLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return KaleoInstanceLocalServiceUtil.fetchKaleoInstance(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return KaleoInstanceLocalServiceUtil.getKaleoInstance(((Long)arguments[0]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return KaleoInstanceLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return KaleoInstanceLocalServiceUtil.getKaleoInstances(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return KaleoInstanceLocalServiceUtil.getKaleoInstancesCount(); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return KaleoInstanceLocalServiceUtil.updateKaleoInstance((it.tref.liferay.portos.importazione.model.KaleoInstance)arguments[0]); - } - - if (_methodName178.equals(name) && - Arrays.deepEquals(_methodParameterTypes178, parameterTypes)) { - return KaleoInstanceLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName179.equals(name) && - Arrays.deepEquals(_methodParameterTypes179, parameterTypes)) { - KaleoInstanceLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - if (_methodName184.equals(name) && - Arrays.deepEquals(_methodParameterTypes184, parameterTypes)) { - return KaleoInstanceLocalServiceUtil.fetchByClassPk(((Long)arguments[0]).longValue()); - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName178; - private String[] _methodParameterTypes178; - private String _methodName179; - private String[] _methodParameterTypes179; - private String _methodName184; - private String[] _methodParameterTypes184; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoInstanceTokenLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoInstanceTokenLocalServiceBaseImpl.java deleted file mode 100644 index 138e495b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoInstanceTokenLocalServiceBaseImpl.java +++ /dev/null @@ -1,2077 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.importazione.model.KaleoInstanceToken; -import it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinder; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the kaleo instance token local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.importazione.service.impl.KaleoInstanceTokenLocalServiceImpl}. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.impl.KaleoInstanceTokenLocalServiceImpl - * @see it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalServiceUtil - * @generated - */ -public abstract class KaleoInstanceTokenLocalServiceBaseImpl - extends BaseLocalServiceImpl implements KaleoInstanceTokenLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalServiceUtil} to access the kaleo instance token local service. - */ - - /** - * Adds the kaleo instance token to the database. Also notifies the appropriate model listeners. - * - * @param kaleoInstanceToken the kaleo instance token - * @return the kaleo instance token that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public KaleoInstanceToken addKaleoInstanceToken( - KaleoInstanceToken kaleoInstanceToken) throws SystemException { - kaleoInstanceToken.setNew(true); - - return kaleoInstanceTokenPersistence.update(kaleoInstanceToken); - } - - /** - * Creates a new kaleo instance token with the primary key. Does not add the kaleo instance token to the database. - * - * @param kaleoInstanceTokenId the primary key for the new kaleo instance token - * @return the new kaleo instance token - */ - @Override - public KaleoInstanceToken createKaleoInstanceToken( - long kaleoInstanceTokenId) { - return kaleoInstanceTokenPersistence.create(kaleoInstanceTokenId); - } - - /** - * Deletes the kaleo instance token with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoInstanceTokenId the primary key of the kaleo instance token - * @return the kaleo instance token that was removed - * @throws PortalException if a kaleo instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public KaleoInstanceToken deleteKaleoInstanceToken( - long kaleoInstanceTokenId) throws PortalException, SystemException { - return kaleoInstanceTokenPersistence.remove(kaleoInstanceTokenId); - } - - /** - * Deletes the kaleo instance token from the database. Also notifies the appropriate model listeners. - * - * @param kaleoInstanceToken the kaleo instance token - * @return the kaleo instance token that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public KaleoInstanceToken deleteKaleoInstanceToken( - KaleoInstanceToken kaleoInstanceToken) throws SystemException { - return kaleoInstanceTokenPersistence.remove(kaleoInstanceToken); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(KaleoInstanceToken.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return kaleoInstanceTokenPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceTokenModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return kaleoInstanceTokenPersistence.findWithDynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceTokenModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return kaleoInstanceTokenPersistence.findWithDynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return kaleoInstanceTokenPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return kaleoInstanceTokenPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public KaleoInstanceToken fetchKaleoInstanceToken(long kaleoInstanceTokenId) - throws SystemException { - return kaleoInstanceTokenPersistence.fetchByPrimaryKey(kaleoInstanceTokenId); - } - - /** - * Returns the kaleo instance token with the primary key. - * - * @param kaleoInstanceTokenId the primary key of the kaleo instance token - * @return the kaleo instance token - * @throws PortalException if a kaleo instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoInstanceToken getKaleoInstanceToken(long kaleoInstanceTokenId) - throws PortalException, SystemException { - return kaleoInstanceTokenPersistence.findByPrimaryKey(kaleoInstanceTokenId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return kaleoInstanceTokenPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns a range of all the kaleo instance tokens. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceTokenModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo instance tokens - * @param end the upper bound of the range of kaleo instance tokens (not inclusive) - * @return the range of kaleo instance tokens - * @throws SystemException if a system exception occurred - */ - @Override - public List getKaleoInstanceTokens(int start, int end) - throws SystemException { - return kaleoInstanceTokenPersistence.findAll(start, end); - } - - /** - * Returns the number of kaleo instance tokens. - * - * @return the number of kaleo instance tokens - * @throws SystemException if a system exception occurred - */ - @Override - public int getKaleoInstanceTokensCount() throws SystemException { - return kaleoInstanceTokenPersistence.countAll(); - } - - /** - * Updates the kaleo instance token in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param kaleoInstanceToken the kaleo instance token - * @return the kaleo instance token that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public KaleoInstanceToken updateKaleoInstanceToken( - KaleoInstanceToken kaleoInstanceToken) throws SystemException { - return kaleoInstanceTokenPersistence.update(kaleoInstanceToken); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.importazione.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.importazione.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo configurazione local service. - * - * @return the bo configurazione local service - */ - public it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService getBoConfigurazioneLocalService() { - return boConfigurazioneLocalService; - } - - /** - * Sets the bo configurazione local service. - * - * @param boConfigurazioneLocalService the bo configurazione local service - */ - public void setBoConfigurazioneLocalService( - it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService) { - this.boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Returns the bo configurazione persistence. - * - * @return the bo configurazione persistence - */ - public BoConfigurazionePersistence getBoConfigurazionePersistence() { - return boConfigurazionePersistence; - } - - /** - * Sets the bo configurazione persistence. - * - * @param boConfigurazionePersistence the bo configurazione persistence - */ - public void setBoConfigurazionePersistence( - BoConfigurazionePersistence boConfigurazionePersistence) { - this.boConfigurazionePersistence = boConfigurazionePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.importazione.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.importazione.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.importazione.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.importazione.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.importazione.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.importazione.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe provincia local service. - * - * @return the fe provincia local service - */ - public it.tref.liferay.portos.importazione.service.FeProvinciaLocalService getFeProvinciaLocalService() { - return feProvinciaLocalService; - } - - /** - * Sets the fe provincia local service. - * - * @param feProvinciaLocalService the fe provincia local service - */ - public void setFeProvinciaLocalService( - it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService) { - this.feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Returns the fe provincia persistence. - * - * @return the fe provincia persistence - */ - public FeProvinciaPersistence getFeProvinciaPersistence() { - return feProvinciaPersistence; - } - - /** - * Sets the fe provincia persistence. - * - * @param feProvinciaPersistence the fe provincia persistence - */ - public void setFeProvinciaPersistence( - FeProvinciaPersistence feProvinciaPersistence) { - this.feProvinciaPersistence = feProvinciaPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.importazione.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the kaleo instance local service. - * - * @return the kaleo instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService getKaleoInstanceLocalService() { - return kaleoInstanceLocalService; - } - - /** - * Sets the kaleo instance local service. - * - * @param kaleoInstanceLocalService the kaleo instance local service - */ - public void setKaleoInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService) { - this.kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Returns the kaleo instance persistence. - * - * @return the kaleo instance persistence - */ - public KaleoInstancePersistence getKaleoInstancePersistence() { - return kaleoInstancePersistence; - } - - /** - * Sets the kaleo instance persistence. - * - * @param kaleoInstancePersistence the kaleo instance persistence - */ - public void setKaleoInstancePersistence( - KaleoInstancePersistence kaleoInstancePersistence) { - this.kaleoInstancePersistence = kaleoInstancePersistence; - } - - /** - * Returns the kaleo instance token local service. - * - * @return the kaleo instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService getKaleoInstanceTokenLocalService() { - return kaleoInstanceTokenLocalService; - } - - /** - * Sets the kaleo instance token local service. - * - * @param kaleoInstanceTokenLocalService the kaleo instance token local service - */ - public void setKaleoInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - this.kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Returns the kaleo instance token persistence. - * - * @return the kaleo instance token persistence - */ - public KaleoInstanceTokenPersistence getKaleoInstanceTokenPersistence() { - return kaleoInstanceTokenPersistence; - } - - /** - * Sets the kaleo instance token persistence. - * - * @param kaleoInstanceTokenPersistence the kaleo instance token persistence - */ - public void setKaleoInstanceTokenPersistence( - KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence) { - this.kaleoInstanceTokenPersistence = kaleoInstanceTokenPersistence; - } - - /** - * Returns the kaleo log local service. - * - * @return the kaleo log local service - */ - public it.tref.liferay.portos.importazione.service.KaleoLogLocalService getKaleoLogLocalService() { - return kaleoLogLocalService; - } - - /** - * Sets the kaleo log local service. - * - * @param kaleoLogLocalService the kaleo log local service - */ - public void setKaleoLogLocalService( - it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService) { - this.kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Returns the kaleo log persistence. - * - * @return the kaleo log persistence - */ - public KaleoLogPersistence getKaleoLogPersistence() { - return kaleoLogPersistence; - } - - /** - * Sets the kaleo log persistence. - * - * @param kaleoLogPersistence the kaleo log persistence - */ - public void setKaleoLogPersistence(KaleoLogPersistence kaleoLogPersistence) { - this.kaleoLogPersistence = kaleoLogPersistence; - } - - /** - * Returns the kaleo node local service. - * - * @return the kaleo node local service - */ - public it.tref.liferay.portos.importazione.service.KaleoNodeLocalService getKaleoNodeLocalService() { - return kaleoNodeLocalService; - } - - /** - * Sets the kaleo node local service. - * - * @param kaleoNodeLocalService the kaleo node local service - */ - public void setKaleoNodeLocalService( - it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService) { - this.kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Returns the kaleo node persistence. - * - * @return the kaleo node persistence - */ - public KaleoNodePersistence getKaleoNodePersistence() { - return kaleoNodePersistence; - } - - /** - * Sets the kaleo node persistence. - * - * @param kaleoNodePersistence the kaleo node persistence - */ - public void setKaleoNodePersistence( - KaleoNodePersistence kaleoNodePersistence) { - this.kaleoNodePersistence = kaleoNodePersistence; - } - - /** - * Returns the kaleo task local service. - * - * @return the kaleo task local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskLocalService getKaleoTaskLocalService() { - return kaleoTaskLocalService; - } - - /** - * Sets the kaleo task local service. - * - * @param kaleoTaskLocalService the kaleo task local service - */ - public void setKaleoTaskLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService) { - this.kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Returns the kaleo task persistence. - * - * @return the kaleo task persistence - */ - public KaleoTaskPersistence getKaleoTaskPersistence() { - return kaleoTaskPersistence; - } - - /** - * Sets the kaleo task persistence. - * - * @param kaleoTaskPersistence the kaleo task persistence - */ - public void setKaleoTaskPersistence( - KaleoTaskPersistence kaleoTaskPersistence) { - this.kaleoTaskPersistence = kaleoTaskPersistence; - } - - /** - * Returns the kaleo task assignment instance local service. - * - * @return the kaleo task assignment instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService getKaleoTaskAssignmentInstanceLocalService() { - return kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Sets the kaleo task assignment instance local service. - * - * @param kaleoTaskAssignmentInstanceLocalService the kaleo task assignment instance local service - */ - public void setKaleoTaskAssignmentInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - this.kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Returns the kaleo task assignment instance persistence. - * - * @return the kaleo task assignment instance persistence - */ - public KaleoTaskAssignmentInstancePersistence getKaleoTaskAssignmentInstancePersistence() { - return kaleoTaskAssignmentInstancePersistence; - } - - /** - * Sets the kaleo task assignment instance persistence. - * - * @param kaleoTaskAssignmentInstancePersistence the kaleo task assignment instance persistence - */ - public void setKaleoTaskAssignmentInstancePersistence( - KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence) { - this.kaleoTaskAssignmentInstancePersistence = kaleoTaskAssignmentInstancePersistence; - } - - /** - * Returns the kaleo task instance token local service. - * - * @return the kaleo task instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService getKaleoTaskInstanceTokenLocalService() { - return kaleoTaskInstanceTokenLocalService; - } - - /** - * Sets the kaleo task instance token local service. - * - * @param kaleoTaskInstanceTokenLocalService the kaleo task instance token local service - */ - public void setKaleoTaskInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - this.kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Returns the kaleo task instance token persistence. - * - * @return the kaleo task instance token persistence - */ - public KaleoTaskInstanceTokenPersistence getKaleoTaskInstanceTokenPersistence() { - return kaleoTaskInstanceTokenPersistence; - } - - /** - * Sets the kaleo task instance token persistence. - * - * @param kaleoTaskInstanceTokenPersistence the kaleo task instance token persistence - */ - public void setKaleoTaskInstanceTokenPersistence( - KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence) { - this.kaleoTaskInstanceTokenPersistence = kaleoTaskInstanceTokenPersistence; - } - - /** - * Returns the old d l file entry local service. - * - * @return the old d l file entry local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService getOldDLFileEntryLocalService() { - return oldDLFileEntryLocalService; - } - - /** - * Sets the old d l file entry local service. - * - * @param oldDLFileEntryLocalService the old d l file entry local service - */ - public void setOldDLFileEntryLocalService( - it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService) { - this.oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Returns the old d l file entry persistence. - * - * @return the old d l file entry persistence - */ - public OldDLFileEntryPersistence getOldDLFileEntryPersistence() { - return oldDLFileEntryPersistence; - } - - /** - * Sets the old d l file entry persistence. - * - * @param oldDLFileEntryPersistence the old d l file entry persistence - */ - public void setOldDLFileEntryPersistence( - OldDLFileEntryPersistence oldDLFileEntryPersistence) { - this.oldDLFileEntryPersistence = oldDLFileEntryPersistence; - } - - /** - * Returns the old d l folder local service. - * - * @return the old d l folder local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFolderLocalService getOldDLFolderLocalService() { - return oldDLFolderLocalService; - } - - /** - * Sets the old d l folder local service. - * - * @param oldDLFolderLocalService the old d l folder local service - */ - public void setOldDLFolderLocalService( - it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService) { - this.oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Returns the old d l folder persistence. - * - * @return the old d l folder persistence - */ - public OldDLFolderPersistence getOldDLFolderPersistence() { - return oldDLFolderPersistence; - } - - /** - * Sets the old d l folder persistence. - * - * @param oldDLFolderPersistence the old d l folder persistence - */ - public void setOldDLFolderPersistence( - OldDLFolderPersistence oldDLFolderPersistence) { - this.oldDLFolderPersistence = oldDLFolderPersistence; - } - - /** - * Returns the old group local service. - * - * @return the old group local service - */ - public it.tref.liferay.portos.importazione.service.OldGroupLocalService getOldGroupLocalService() { - return oldGroupLocalService; - } - - /** - * Sets the old group local service. - * - * @param oldGroupLocalService the old group local service - */ - public void setOldGroupLocalService( - it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService) { - this.oldGroupLocalService = oldGroupLocalService; - } - - /** - * Returns the old group persistence. - * - * @return the old group persistence - */ - public OldGroupPersistence getOldGroupPersistence() { - return oldGroupPersistence; - } - - /** - * Sets the old group persistence. - * - * @param oldGroupPersistence the old group persistence - */ - public void setOldGroupPersistence(OldGroupPersistence oldGroupPersistence) { - this.oldGroupPersistence = oldGroupPersistence; - } - - /** - * Returns the old organization local service. - * - * @return the old organization local service - */ - public it.tref.liferay.portos.importazione.service.OldOrganizationLocalService getOldOrganizationLocalService() { - return oldOrganizationLocalService; - } - - /** - * Sets the old organization local service. - * - * @param oldOrganizationLocalService the old organization local service - */ - public void setOldOrganizationLocalService( - it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService) { - this.oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Returns the old organization persistence. - * - * @return the old organization persistence - */ - public OldOrganizationPersistence getOldOrganizationPersistence() { - return oldOrganizationPersistence; - } - - /** - * Sets the old organization persistence. - * - * @param oldOrganizationPersistence the old organization persistence - */ - public void setOldOrganizationPersistence( - OldOrganizationPersistence oldOrganizationPersistence) { - this.oldOrganizationPersistence = oldOrganizationPersistence; - } - - /** - * Returns the old role local service. - * - * @return the old role local service - */ - public it.tref.liferay.portos.importazione.service.OldRoleLocalService getOldRoleLocalService() { - return oldRoleLocalService; - } - - /** - * Sets the old role local service. - * - * @param oldRoleLocalService the old role local service - */ - public void setOldRoleLocalService( - it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService) { - this.oldRoleLocalService = oldRoleLocalService; - } - - /** - * Returns the old role persistence. - * - * @return the old role persistence - */ - public OldRolePersistence getOldRolePersistence() { - return oldRolePersistence; - } - - /** - * Sets the old role persistence. - * - * @param oldRolePersistence the old role persistence - */ - public void setOldRolePersistence(OldRolePersistence oldRolePersistence) { - this.oldRolePersistence = oldRolePersistence; - } - - /** - * Returns the old user local service. - * - * @return the old user local service - */ - public it.tref.liferay.portos.importazione.service.OldUserLocalService getOldUserLocalService() { - return oldUserLocalService; - } - - /** - * Sets the old user local service. - * - * @param oldUserLocalService the old user local service - */ - public void setOldUserLocalService( - it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService) { - this.oldUserLocalService = oldUserLocalService; - } - - /** - * Returns the old user persistence. - * - * @return the old user persistence - */ - public OldUserPersistence getOldUserPersistence() { - return oldUserPersistence; - } - - /** - * Sets the old user persistence. - * - * @param oldUserPersistence the old user persistence - */ - public void setOldUserPersistence(OldUserPersistence oldUserPersistence) { - this.oldUserPersistence = oldUserPersistence; - } - - /** - * Returns the old user group local service. - * - * @return the old user group local service - */ - public it.tref.liferay.portos.importazione.service.OldUserGroupLocalService getOldUserGroupLocalService() { - return oldUserGroupLocalService; - } - - /** - * Sets the old user group local service. - * - * @param oldUserGroupLocalService the old user group local service - */ - public void setOldUserGroupLocalService( - it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService) { - this.oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Returns the old user group persistence. - * - * @return the old user group persistence - */ - public OldUserGroupPersistence getOldUserGroupPersistence() { - return oldUserGroupPersistence; - } - - /** - * Sets the old user group persistence. - * - * @param oldUserGroupPersistence the old user group persistence - */ - public void setOldUserGroupPersistence( - OldUserGroupPersistence oldUserGroupPersistence) { - this.oldUserGroupPersistence = oldUserGroupPersistence; - } - - /** - * Returns the old user group finder. - * - * @return the old user group finder - */ - public OldUserGroupFinder getOldUserGroupFinder() { - return oldUserGroupFinder; - } - - /** - * Sets the old user group finder. - * - * @param oldUserGroupFinder the old user group finder - */ - public void setOldUserGroupFinder(OldUserGroupFinder oldUserGroupFinder) { - this.oldUserGroupFinder = oldUserGroupFinder; - } - - /** - * Returns the procedura importazione local service. - * - * @return the procedura importazione local service - */ - public it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService getProceduraImportazioneLocalService() { - return proceduraImportazioneLocalService; - } - - /** - * Sets the procedura importazione local service. - * - * @param proceduraImportazioneLocalService the procedura importazione local service - */ - public void setProceduraImportazioneLocalService( - it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - this.proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Returns the procedura importazione persistence. - * - * @return the procedura importazione persistence - */ - public ProceduraImportazionePersistence getProceduraImportazionePersistence() { - return proceduraImportazionePersistence; - } - - /** - * Sets the procedura importazione persistence. - * - * @param proceduraImportazionePersistence the procedura importazione persistence - */ - public void setProceduraImportazionePersistence( - ProceduraImportazionePersistence proceduraImportazionePersistence) { - this.proceduraImportazionePersistence = proceduraImportazionePersistence; - } - - /** - * Returns the stato importazione local service. - * - * @return the stato importazione local service - */ - public it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService getStatoImportazioneLocalService() { - return statoImportazioneLocalService; - } - - /** - * Sets the stato importazione local service. - * - * @param statoImportazioneLocalService the stato importazione local service - */ - public void setStatoImportazioneLocalService( - it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService) { - this.statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Returns the stato importazione persistence. - * - * @return the stato importazione persistence - */ - public StatoImportazionePersistence getStatoImportazionePersistence() { - return statoImportazionePersistence; - } - - /** - * Sets the stato importazione persistence. - * - * @param statoImportazionePersistence the stato importazione persistence - */ - public void setStatoImportazionePersistence( - StatoImportazionePersistence statoImportazionePersistence) { - this.statoImportazionePersistence = statoImportazionePersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.importazione.model.KaleoInstanceToken", - kaleoInstanceTokenLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.importazione.model.KaleoInstanceToken"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return KaleoInstanceToken.class; - } - - protected String getModelClassName() { - return KaleoInstanceToken.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = kaleoInstanceTokenPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService; - @BeanReference(type = BoConfigurazionePersistence.class) - protected BoConfigurazionePersistence boConfigurazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeProvinciaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService; - @BeanReference(type = FeProvinciaPersistence.class) - protected FeProvinciaPersistence feProvinciaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService; - @BeanReference(type = KaleoInstancePersistence.class) - protected KaleoInstancePersistence kaleoInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService; - @BeanReference(type = KaleoInstanceTokenPersistence.class) - protected KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoLogLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService; - @BeanReference(type = KaleoLogPersistence.class) - protected KaleoLogPersistence kaleoLogPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoNodeLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService; - @BeanReference(type = KaleoNodePersistence.class) - protected KaleoNodePersistence kaleoNodePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService; - @BeanReference(type = KaleoTaskPersistence.class) - protected KaleoTaskPersistence kaleoTaskPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService; - @BeanReference(type = KaleoTaskAssignmentInstancePersistence.class) - protected KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService; - @BeanReference(type = KaleoTaskInstanceTokenPersistence.class) - protected KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService; - @BeanReference(type = OldDLFileEntryPersistence.class) - protected OldDLFileEntryPersistence oldDLFileEntryPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFolderLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService; - @BeanReference(type = OldDLFolderPersistence.class) - protected OldDLFolderPersistence oldDLFolderPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService; - @BeanReference(type = OldGroupPersistence.class) - protected OldGroupPersistence oldGroupPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldOrganizationLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService; - @BeanReference(type = OldOrganizationPersistence.class) - protected OldOrganizationPersistence oldOrganizationPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldRoleLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService; - @BeanReference(type = OldRolePersistence.class) - protected OldRolePersistence oldRolePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService; - @BeanReference(type = OldUserPersistence.class) - protected OldUserPersistence oldUserPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService; - @BeanReference(type = OldUserGroupPersistence.class) - protected OldUserGroupPersistence oldUserGroupPersistence; - @BeanReference(type = OldUserGroupFinder.class) - protected OldUserGroupFinder oldUserGroupFinder; - @BeanReference(type = it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService; - @BeanReference(type = ProceduraImportazionePersistence.class) - protected ProceduraImportazionePersistence proceduraImportazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService; - @BeanReference(type = StatoImportazionePersistence.class) - protected StatoImportazionePersistence statoImportazionePersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private KaleoInstanceTokenLocalServiceClpInvoker _clpInvoker = new KaleoInstanceTokenLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoInstanceTokenLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoInstanceTokenLocalServiceClpInvoker.java deleted file mode 100644 index c19bc5ea..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoInstanceTokenLocalServiceClpInvoker.java +++ /dev/null @@ -1,269 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author 3FC - * @generated - */ -public class KaleoInstanceTokenLocalServiceClpInvoker { - public KaleoInstanceTokenLocalServiceClpInvoker() { - _methodName0 = "addKaleoInstanceToken"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoInstanceToken" - }; - - _methodName1 = "createKaleoInstanceToken"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteKaleoInstanceToken"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteKaleoInstanceToken"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoInstanceToken" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchKaleoInstanceToken"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getKaleoInstanceToken"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getKaleoInstanceTokens"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getKaleoInstanceTokensCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateKaleoInstanceToken"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoInstanceToken" - }; - - _methodName178 = "getBeanIdentifier"; - - _methodParameterTypes178 = new String[] { }; - - _methodName179 = "setBeanIdentifier"; - - _methodParameterTypes179 = new String[] { "java.lang.String" }; - - _methodName184 = "fetchByClassPk"; - - _methodParameterTypes184 = new String[] { "long" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return KaleoInstanceTokenLocalServiceUtil.addKaleoInstanceToken((it.tref.liferay.portos.importazione.model.KaleoInstanceToken)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return KaleoInstanceTokenLocalServiceUtil.createKaleoInstanceToken(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return KaleoInstanceTokenLocalServiceUtil.deleteKaleoInstanceToken(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return KaleoInstanceTokenLocalServiceUtil.deleteKaleoInstanceToken((it.tref.liferay.portos.importazione.model.KaleoInstanceToken)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return KaleoInstanceTokenLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return KaleoInstanceTokenLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return KaleoInstanceTokenLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return KaleoInstanceTokenLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return KaleoInstanceTokenLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return KaleoInstanceTokenLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return KaleoInstanceTokenLocalServiceUtil.fetchKaleoInstanceToken(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return KaleoInstanceTokenLocalServiceUtil.getKaleoInstanceToken(((Long)arguments[0]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return KaleoInstanceTokenLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return KaleoInstanceTokenLocalServiceUtil.getKaleoInstanceTokens(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return KaleoInstanceTokenLocalServiceUtil.getKaleoInstanceTokensCount(); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return KaleoInstanceTokenLocalServiceUtil.updateKaleoInstanceToken((it.tref.liferay.portos.importazione.model.KaleoInstanceToken)arguments[0]); - } - - if (_methodName178.equals(name) && - Arrays.deepEquals(_methodParameterTypes178, parameterTypes)) { - return KaleoInstanceTokenLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName179.equals(name) && - Arrays.deepEquals(_methodParameterTypes179, parameterTypes)) { - KaleoInstanceTokenLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - if (_methodName184.equals(name) && - Arrays.deepEquals(_methodParameterTypes184, parameterTypes)) { - return KaleoInstanceTokenLocalServiceUtil.fetchByClassPk(((Long)arguments[0]).longValue()); - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName178; - private String[] _methodParameterTypes178; - private String _methodName179; - private String[] _methodParameterTypes179; - private String _methodName184; - private String[] _methodParameterTypes184; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoLogLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoLogLocalServiceBaseImpl.java deleted file mode 100644 index 093a804f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoLogLocalServiceBaseImpl.java +++ /dev/null @@ -1,2070 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.importazione.model.KaleoLog; -import it.tref.liferay.portos.importazione.service.KaleoLogLocalService; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinder; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the kaleo log local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.importazione.service.impl.KaleoLogLocalServiceImpl}. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.impl.KaleoLogLocalServiceImpl - * @see it.tref.liferay.portos.importazione.service.KaleoLogLocalServiceUtil - * @generated - */ -public abstract class KaleoLogLocalServiceBaseImpl extends BaseLocalServiceImpl - implements KaleoLogLocalService, IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.importazione.service.KaleoLogLocalServiceUtil} to access the kaleo log local service. - */ - - /** - * Adds the kaleo log to the database. Also notifies the appropriate model listeners. - * - * @param kaleoLog the kaleo log - * @return the kaleo log that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public KaleoLog addKaleoLog(KaleoLog kaleoLog) throws SystemException { - kaleoLog.setNew(true); - - return kaleoLogPersistence.update(kaleoLog); - } - - /** - * Creates a new kaleo log with the primary key. Does not add the kaleo log to the database. - * - * @param kaleoLogId the primary key for the new kaleo log - * @return the new kaleo log - */ - @Override - public KaleoLog createKaleoLog(long kaleoLogId) { - return kaleoLogPersistence.create(kaleoLogId); - } - - /** - * Deletes the kaleo log with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoLogId the primary key of the kaleo log - * @return the kaleo log that was removed - * @throws PortalException if a kaleo log with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public KaleoLog deleteKaleoLog(long kaleoLogId) - throws PortalException, SystemException { - return kaleoLogPersistence.remove(kaleoLogId); - } - - /** - * Deletes the kaleo log from the database. Also notifies the appropriate model listeners. - * - * @param kaleoLog the kaleo log - * @return the kaleo log that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public KaleoLog deleteKaleoLog(KaleoLog kaleoLog) throws SystemException { - return kaleoLogPersistence.remove(kaleoLog); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(KaleoLog.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return kaleoLogPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return kaleoLogPersistence.findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return kaleoLogPersistence.findWithDynamicQuery(dynamicQuery, start, - end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return kaleoLogPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return kaleoLogPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public KaleoLog fetchKaleoLog(long kaleoLogId) throws SystemException { - return kaleoLogPersistence.fetchByPrimaryKey(kaleoLogId); - } - - /** - * Returns the kaleo log with the primary key. - * - * @param kaleoLogId the primary key of the kaleo log - * @return the kaleo log - * @throws PortalException if a kaleo log with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoLog getKaleoLog(long kaleoLogId) - throws PortalException, SystemException { - return kaleoLogPersistence.findByPrimaryKey(kaleoLogId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return kaleoLogPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns a range of all the kaleo logs. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo logs - * @param end the upper bound of the range of kaleo logs (not inclusive) - * @return the range of kaleo logs - * @throws SystemException if a system exception occurred - */ - @Override - public List getKaleoLogs(int start, int end) - throws SystemException { - return kaleoLogPersistence.findAll(start, end); - } - - /** - * Returns the number of kaleo logs. - * - * @return the number of kaleo logs - * @throws SystemException if a system exception occurred - */ - @Override - public int getKaleoLogsCount() throws SystemException { - return kaleoLogPersistence.countAll(); - } - - /** - * Updates the kaleo log in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param kaleoLog the kaleo log - * @return the kaleo log that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public KaleoLog updateKaleoLog(KaleoLog kaleoLog) throws SystemException { - return kaleoLogPersistence.update(kaleoLog); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.importazione.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.importazione.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo configurazione local service. - * - * @return the bo configurazione local service - */ - public it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService getBoConfigurazioneLocalService() { - return boConfigurazioneLocalService; - } - - /** - * Sets the bo configurazione local service. - * - * @param boConfigurazioneLocalService the bo configurazione local service - */ - public void setBoConfigurazioneLocalService( - it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService) { - this.boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Returns the bo configurazione persistence. - * - * @return the bo configurazione persistence - */ - public BoConfigurazionePersistence getBoConfigurazionePersistence() { - return boConfigurazionePersistence; - } - - /** - * Sets the bo configurazione persistence. - * - * @param boConfigurazionePersistence the bo configurazione persistence - */ - public void setBoConfigurazionePersistence( - BoConfigurazionePersistence boConfigurazionePersistence) { - this.boConfigurazionePersistence = boConfigurazionePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.importazione.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.importazione.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.importazione.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.importazione.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.importazione.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.importazione.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe provincia local service. - * - * @return the fe provincia local service - */ - public it.tref.liferay.portos.importazione.service.FeProvinciaLocalService getFeProvinciaLocalService() { - return feProvinciaLocalService; - } - - /** - * Sets the fe provincia local service. - * - * @param feProvinciaLocalService the fe provincia local service - */ - public void setFeProvinciaLocalService( - it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService) { - this.feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Returns the fe provincia persistence. - * - * @return the fe provincia persistence - */ - public FeProvinciaPersistence getFeProvinciaPersistence() { - return feProvinciaPersistence; - } - - /** - * Sets the fe provincia persistence. - * - * @param feProvinciaPersistence the fe provincia persistence - */ - public void setFeProvinciaPersistence( - FeProvinciaPersistence feProvinciaPersistence) { - this.feProvinciaPersistence = feProvinciaPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.importazione.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the kaleo instance local service. - * - * @return the kaleo instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService getKaleoInstanceLocalService() { - return kaleoInstanceLocalService; - } - - /** - * Sets the kaleo instance local service. - * - * @param kaleoInstanceLocalService the kaleo instance local service - */ - public void setKaleoInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService) { - this.kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Returns the kaleo instance persistence. - * - * @return the kaleo instance persistence - */ - public KaleoInstancePersistence getKaleoInstancePersistence() { - return kaleoInstancePersistence; - } - - /** - * Sets the kaleo instance persistence. - * - * @param kaleoInstancePersistence the kaleo instance persistence - */ - public void setKaleoInstancePersistence( - KaleoInstancePersistence kaleoInstancePersistence) { - this.kaleoInstancePersistence = kaleoInstancePersistence; - } - - /** - * Returns the kaleo instance token local service. - * - * @return the kaleo instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService getKaleoInstanceTokenLocalService() { - return kaleoInstanceTokenLocalService; - } - - /** - * Sets the kaleo instance token local service. - * - * @param kaleoInstanceTokenLocalService the kaleo instance token local service - */ - public void setKaleoInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - this.kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Returns the kaleo instance token persistence. - * - * @return the kaleo instance token persistence - */ - public KaleoInstanceTokenPersistence getKaleoInstanceTokenPersistence() { - return kaleoInstanceTokenPersistence; - } - - /** - * Sets the kaleo instance token persistence. - * - * @param kaleoInstanceTokenPersistence the kaleo instance token persistence - */ - public void setKaleoInstanceTokenPersistence( - KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence) { - this.kaleoInstanceTokenPersistence = kaleoInstanceTokenPersistence; - } - - /** - * Returns the kaleo log local service. - * - * @return the kaleo log local service - */ - public it.tref.liferay.portos.importazione.service.KaleoLogLocalService getKaleoLogLocalService() { - return kaleoLogLocalService; - } - - /** - * Sets the kaleo log local service. - * - * @param kaleoLogLocalService the kaleo log local service - */ - public void setKaleoLogLocalService( - it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService) { - this.kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Returns the kaleo log persistence. - * - * @return the kaleo log persistence - */ - public KaleoLogPersistence getKaleoLogPersistence() { - return kaleoLogPersistence; - } - - /** - * Sets the kaleo log persistence. - * - * @param kaleoLogPersistence the kaleo log persistence - */ - public void setKaleoLogPersistence(KaleoLogPersistence kaleoLogPersistence) { - this.kaleoLogPersistence = kaleoLogPersistence; - } - - /** - * Returns the kaleo node local service. - * - * @return the kaleo node local service - */ - public it.tref.liferay.portos.importazione.service.KaleoNodeLocalService getKaleoNodeLocalService() { - return kaleoNodeLocalService; - } - - /** - * Sets the kaleo node local service. - * - * @param kaleoNodeLocalService the kaleo node local service - */ - public void setKaleoNodeLocalService( - it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService) { - this.kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Returns the kaleo node persistence. - * - * @return the kaleo node persistence - */ - public KaleoNodePersistence getKaleoNodePersistence() { - return kaleoNodePersistence; - } - - /** - * Sets the kaleo node persistence. - * - * @param kaleoNodePersistence the kaleo node persistence - */ - public void setKaleoNodePersistence( - KaleoNodePersistence kaleoNodePersistence) { - this.kaleoNodePersistence = kaleoNodePersistence; - } - - /** - * Returns the kaleo task local service. - * - * @return the kaleo task local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskLocalService getKaleoTaskLocalService() { - return kaleoTaskLocalService; - } - - /** - * Sets the kaleo task local service. - * - * @param kaleoTaskLocalService the kaleo task local service - */ - public void setKaleoTaskLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService) { - this.kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Returns the kaleo task persistence. - * - * @return the kaleo task persistence - */ - public KaleoTaskPersistence getKaleoTaskPersistence() { - return kaleoTaskPersistence; - } - - /** - * Sets the kaleo task persistence. - * - * @param kaleoTaskPersistence the kaleo task persistence - */ - public void setKaleoTaskPersistence( - KaleoTaskPersistence kaleoTaskPersistence) { - this.kaleoTaskPersistence = kaleoTaskPersistence; - } - - /** - * Returns the kaleo task assignment instance local service. - * - * @return the kaleo task assignment instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService getKaleoTaskAssignmentInstanceLocalService() { - return kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Sets the kaleo task assignment instance local service. - * - * @param kaleoTaskAssignmentInstanceLocalService the kaleo task assignment instance local service - */ - public void setKaleoTaskAssignmentInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - this.kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Returns the kaleo task assignment instance persistence. - * - * @return the kaleo task assignment instance persistence - */ - public KaleoTaskAssignmentInstancePersistence getKaleoTaskAssignmentInstancePersistence() { - return kaleoTaskAssignmentInstancePersistence; - } - - /** - * Sets the kaleo task assignment instance persistence. - * - * @param kaleoTaskAssignmentInstancePersistence the kaleo task assignment instance persistence - */ - public void setKaleoTaskAssignmentInstancePersistence( - KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence) { - this.kaleoTaskAssignmentInstancePersistence = kaleoTaskAssignmentInstancePersistence; - } - - /** - * Returns the kaleo task instance token local service. - * - * @return the kaleo task instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService getKaleoTaskInstanceTokenLocalService() { - return kaleoTaskInstanceTokenLocalService; - } - - /** - * Sets the kaleo task instance token local service. - * - * @param kaleoTaskInstanceTokenLocalService the kaleo task instance token local service - */ - public void setKaleoTaskInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - this.kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Returns the kaleo task instance token persistence. - * - * @return the kaleo task instance token persistence - */ - public KaleoTaskInstanceTokenPersistence getKaleoTaskInstanceTokenPersistence() { - return kaleoTaskInstanceTokenPersistence; - } - - /** - * Sets the kaleo task instance token persistence. - * - * @param kaleoTaskInstanceTokenPersistence the kaleo task instance token persistence - */ - public void setKaleoTaskInstanceTokenPersistence( - KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence) { - this.kaleoTaskInstanceTokenPersistence = kaleoTaskInstanceTokenPersistence; - } - - /** - * Returns the old d l file entry local service. - * - * @return the old d l file entry local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService getOldDLFileEntryLocalService() { - return oldDLFileEntryLocalService; - } - - /** - * Sets the old d l file entry local service. - * - * @param oldDLFileEntryLocalService the old d l file entry local service - */ - public void setOldDLFileEntryLocalService( - it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService) { - this.oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Returns the old d l file entry persistence. - * - * @return the old d l file entry persistence - */ - public OldDLFileEntryPersistence getOldDLFileEntryPersistence() { - return oldDLFileEntryPersistence; - } - - /** - * Sets the old d l file entry persistence. - * - * @param oldDLFileEntryPersistence the old d l file entry persistence - */ - public void setOldDLFileEntryPersistence( - OldDLFileEntryPersistence oldDLFileEntryPersistence) { - this.oldDLFileEntryPersistence = oldDLFileEntryPersistence; - } - - /** - * Returns the old d l folder local service. - * - * @return the old d l folder local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFolderLocalService getOldDLFolderLocalService() { - return oldDLFolderLocalService; - } - - /** - * Sets the old d l folder local service. - * - * @param oldDLFolderLocalService the old d l folder local service - */ - public void setOldDLFolderLocalService( - it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService) { - this.oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Returns the old d l folder persistence. - * - * @return the old d l folder persistence - */ - public OldDLFolderPersistence getOldDLFolderPersistence() { - return oldDLFolderPersistence; - } - - /** - * Sets the old d l folder persistence. - * - * @param oldDLFolderPersistence the old d l folder persistence - */ - public void setOldDLFolderPersistence( - OldDLFolderPersistence oldDLFolderPersistence) { - this.oldDLFolderPersistence = oldDLFolderPersistence; - } - - /** - * Returns the old group local service. - * - * @return the old group local service - */ - public it.tref.liferay.portos.importazione.service.OldGroupLocalService getOldGroupLocalService() { - return oldGroupLocalService; - } - - /** - * Sets the old group local service. - * - * @param oldGroupLocalService the old group local service - */ - public void setOldGroupLocalService( - it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService) { - this.oldGroupLocalService = oldGroupLocalService; - } - - /** - * Returns the old group persistence. - * - * @return the old group persistence - */ - public OldGroupPersistence getOldGroupPersistence() { - return oldGroupPersistence; - } - - /** - * Sets the old group persistence. - * - * @param oldGroupPersistence the old group persistence - */ - public void setOldGroupPersistence(OldGroupPersistence oldGroupPersistence) { - this.oldGroupPersistence = oldGroupPersistence; - } - - /** - * Returns the old organization local service. - * - * @return the old organization local service - */ - public it.tref.liferay.portos.importazione.service.OldOrganizationLocalService getOldOrganizationLocalService() { - return oldOrganizationLocalService; - } - - /** - * Sets the old organization local service. - * - * @param oldOrganizationLocalService the old organization local service - */ - public void setOldOrganizationLocalService( - it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService) { - this.oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Returns the old organization persistence. - * - * @return the old organization persistence - */ - public OldOrganizationPersistence getOldOrganizationPersistence() { - return oldOrganizationPersistence; - } - - /** - * Sets the old organization persistence. - * - * @param oldOrganizationPersistence the old organization persistence - */ - public void setOldOrganizationPersistence( - OldOrganizationPersistence oldOrganizationPersistence) { - this.oldOrganizationPersistence = oldOrganizationPersistence; - } - - /** - * Returns the old role local service. - * - * @return the old role local service - */ - public it.tref.liferay.portos.importazione.service.OldRoleLocalService getOldRoleLocalService() { - return oldRoleLocalService; - } - - /** - * Sets the old role local service. - * - * @param oldRoleLocalService the old role local service - */ - public void setOldRoleLocalService( - it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService) { - this.oldRoleLocalService = oldRoleLocalService; - } - - /** - * Returns the old role persistence. - * - * @return the old role persistence - */ - public OldRolePersistence getOldRolePersistence() { - return oldRolePersistence; - } - - /** - * Sets the old role persistence. - * - * @param oldRolePersistence the old role persistence - */ - public void setOldRolePersistence(OldRolePersistence oldRolePersistence) { - this.oldRolePersistence = oldRolePersistence; - } - - /** - * Returns the old user local service. - * - * @return the old user local service - */ - public it.tref.liferay.portos.importazione.service.OldUserLocalService getOldUserLocalService() { - return oldUserLocalService; - } - - /** - * Sets the old user local service. - * - * @param oldUserLocalService the old user local service - */ - public void setOldUserLocalService( - it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService) { - this.oldUserLocalService = oldUserLocalService; - } - - /** - * Returns the old user persistence. - * - * @return the old user persistence - */ - public OldUserPersistence getOldUserPersistence() { - return oldUserPersistence; - } - - /** - * Sets the old user persistence. - * - * @param oldUserPersistence the old user persistence - */ - public void setOldUserPersistence(OldUserPersistence oldUserPersistence) { - this.oldUserPersistence = oldUserPersistence; - } - - /** - * Returns the old user group local service. - * - * @return the old user group local service - */ - public it.tref.liferay.portos.importazione.service.OldUserGroupLocalService getOldUserGroupLocalService() { - return oldUserGroupLocalService; - } - - /** - * Sets the old user group local service. - * - * @param oldUserGroupLocalService the old user group local service - */ - public void setOldUserGroupLocalService( - it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService) { - this.oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Returns the old user group persistence. - * - * @return the old user group persistence - */ - public OldUserGroupPersistence getOldUserGroupPersistence() { - return oldUserGroupPersistence; - } - - /** - * Sets the old user group persistence. - * - * @param oldUserGroupPersistence the old user group persistence - */ - public void setOldUserGroupPersistence( - OldUserGroupPersistence oldUserGroupPersistence) { - this.oldUserGroupPersistence = oldUserGroupPersistence; - } - - /** - * Returns the old user group finder. - * - * @return the old user group finder - */ - public OldUserGroupFinder getOldUserGroupFinder() { - return oldUserGroupFinder; - } - - /** - * Sets the old user group finder. - * - * @param oldUserGroupFinder the old user group finder - */ - public void setOldUserGroupFinder(OldUserGroupFinder oldUserGroupFinder) { - this.oldUserGroupFinder = oldUserGroupFinder; - } - - /** - * Returns the procedura importazione local service. - * - * @return the procedura importazione local service - */ - public it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService getProceduraImportazioneLocalService() { - return proceduraImportazioneLocalService; - } - - /** - * Sets the procedura importazione local service. - * - * @param proceduraImportazioneLocalService the procedura importazione local service - */ - public void setProceduraImportazioneLocalService( - it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - this.proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Returns the procedura importazione persistence. - * - * @return the procedura importazione persistence - */ - public ProceduraImportazionePersistence getProceduraImportazionePersistence() { - return proceduraImportazionePersistence; - } - - /** - * Sets the procedura importazione persistence. - * - * @param proceduraImportazionePersistence the procedura importazione persistence - */ - public void setProceduraImportazionePersistence( - ProceduraImportazionePersistence proceduraImportazionePersistence) { - this.proceduraImportazionePersistence = proceduraImportazionePersistence; - } - - /** - * Returns the stato importazione local service. - * - * @return the stato importazione local service - */ - public it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService getStatoImportazioneLocalService() { - return statoImportazioneLocalService; - } - - /** - * Sets the stato importazione local service. - * - * @param statoImportazioneLocalService the stato importazione local service - */ - public void setStatoImportazioneLocalService( - it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService) { - this.statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Returns the stato importazione persistence. - * - * @return the stato importazione persistence - */ - public StatoImportazionePersistence getStatoImportazionePersistence() { - return statoImportazionePersistence; - } - - /** - * Sets the stato importazione persistence. - * - * @param statoImportazionePersistence the stato importazione persistence - */ - public void setStatoImportazionePersistence( - StatoImportazionePersistence statoImportazionePersistence) { - this.statoImportazionePersistence = statoImportazionePersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.importazione.model.KaleoLog", - kaleoLogLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.importazione.model.KaleoLog"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return KaleoLog.class; - } - - protected String getModelClassName() { - return KaleoLog.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = kaleoLogPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService; - @BeanReference(type = BoConfigurazionePersistence.class) - protected BoConfigurazionePersistence boConfigurazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeProvinciaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService; - @BeanReference(type = FeProvinciaPersistence.class) - protected FeProvinciaPersistence feProvinciaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService; - @BeanReference(type = KaleoInstancePersistence.class) - protected KaleoInstancePersistence kaleoInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService; - @BeanReference(type = KaleoInstanceTokenPersistence.class) - protected KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoLogLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService; - @BeanReference(type = KaleoLogPersistence.class) - protected KaleoLogPersistence kaleoLogPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoNodeLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService; - @BeanReference(type = KaleoNodePersistence.class) - protected KaleoNodePersistence kaleoNodePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService; - @BeanReference(type = KaleoTaskPersistence.class) - protected KaleoTaskPersistence kaleoTaskPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService; - @BeanReference(type = KaleoTaskAssignmentInstancePersistence.class) - protected KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService; - @BeanReference(type = KaleoTaskInstanceTokenPersistence.class) - protected KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService; - @BeanReference(type = OldDLFileEntryPersistence.class) - protected OldDLFileEntryPersistence oldDLFileEntryPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFolderLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService; - @BeanReference(type = OldDLFolderPersistence.class) - protected OldDLFolderPersistence oldDLFolderPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService; - @BeanReference(type = OldGroupPersistence.class) - protected OldGroupPersistence oldGroupPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldOrganizationLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService; - @BeanReference(type = OldOrganizationPersistence.class) - protected OldOrganizationPersistence oldOrganizationPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldRoleLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService; - @BeanReference(type = OldRolePersistence.class) - protected OldRolePersistence oldRolePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService; - @BeanReference(type = OldUserPersistence.class) - protected OldUserPersistence oldUserPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService; - @BeanReference(type = OldUserGroupPersistence.class) - protected OldUserGroupPersistence oldUserGroupPersistence; - @BeanReference(type = OldUserGroupFinder.class) - protected OldUserGroupFinder oldUserGroupFinder; - @BeanReference(type = it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService; - @BeanReference(type = ProceduraImportazionePersistence.class) - protected ProceduraImportazionePersistence proceduraImportazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService; - @BeanReference(type = StatoImportazionePersistence.class) - protected StatoImportazionePersistence statoImportazionePersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private KaleoLogLocalServiceClpInvoker _clpInvoker = new KaleoLogLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoLogLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoLogLocalServiceClpInvoker.java deleted file mode 100644 index bd57ee9f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoLogLocalServiceClpInvoker.java +++ /dev/null @@ -1,269 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import it.tref.liferay.portos.importazione.service.KaleoLogLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author 3FC - * @generated - */ -public class KaleoLogLocalServiceClpInvoker { - public KaleoLogLocalServiceClpInvoker() { - _methodName0 = "addKaleoLog"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoLog" - }; - - _methodName1 = "createKaleoLog"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteKaleoLog"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteKaleoLog"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoLog" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchKaleoLog"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getKaleoLog"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getKaleoLogs"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getKaleoLogsCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateKaleoLog"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoLog" - }; - - _methodName178 = "getBeanIdentifier"; - - _methodParameterTypes178 = new String[] { }; - - _methodName179 = "setBeanIdentifier"; - - _methodParameterTypes179 = new String[] { "java.lang.String" }; - - _methodName184 = "findByClassPk"; - - _methodParameterTypes184 = new String[] { "long" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return KaleoLogLocalServiceUtil.addKaleoLog((it.tref.liferay.portos.importazione.model.KaleoLog)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return KaleoLogLocalServiceUtil.createKaleoLog(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return KaleoLogLocalServiceUtil.deleteKaleoLog(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return KaleoLogLocalServiceUtil.deleteKaleoLog((it.tref.liferay.portos.importazione.model.KaleoLog)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return KaleoLogLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return KaleoLogLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return KaleoLogLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return KaleoLogLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return KaleoLogLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return KaleoLogLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return KaleoLogLocalServiceUtil.fetchKaleoLog(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return KaleoLogLocalServiceUtil.getKaleoLog(((Long)arguments[0]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return KaleoLogLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return KaleoLogLocalServiceUtil.getKaleoLogs(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return KaleoLogLocalServiceUtil.getKaleoLogsCount(); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return KaleoLogLocalServiceUtil.updateKaleoLog((it.tref.liferay.portos.importazione.model.KaleoLog)arguments[0]); - } - - if (_methodName178.equals(name) && - Arrays.deepEquals(_methodParameterTypes178, parameterTypes)) { - return KaleoLogLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName179.equals(name) && - Arrays.deepEquals(_methodParameterTypes179, parameterTypes)) { - KaleoLogLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - if (_methodName184.equals(name) && - Arrays.deepEquals(_methodParameterTypes184, parameterTypes)) { - return KaleoLogLocalServiceUtil.findByClassPk(((Long)arguments[0]).longValue()); - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName178; - private String[] _methodParameterTypes178; - private String _methodName179; - private String[] _methodParameterTypes179; - private String _methodName184; - private String[] _methodParameterTypes184; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoNodeLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoNodeLocalServiceBaseImpl.java deleted file mode 100644 index 39aebabc..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoNodeLocalServiceBaseImpl.java +++ /dev/null @@ -1,2074 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.importazione.model.KaleoNode; -import it.tref.liferay.portos.importazione.service.KaleoNodeLocalService; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinder; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the kaleo node local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.importazione.service.impl.KaleoNodeLocalServiceImpl}. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.impl.KaleoNodeLocalServiceImpl - * @see it.tref.liferay.portos.importazione.service.KaleoNodeLocalServiceUtil - * @generated - */ -public abstract class KaleoNodeLocalServiceBaseImpl extends BaseLocalServiceImpl - implements KaleoNodeLocalService, IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.importazione.service.KaleoNodeLocalServiceUtil} to access the kaleo node local service. - */ - - /** - * Adds the kaleo node to the database. Also notifies the appropriate model listeners. - * - * @param kaleoNode the kaleo node - * @return the kaleo node that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public KaleoNode addKaleoNode(KaleoNode kaleoNode) - throws SystemException { - kaleoNode.setNew(true); - - return kaleoNodePersistence.update(kaleoNode); - } - - /** - * Creates a new kaleo node with the primary key. Does not add the kaleo node to the database. - * - * @param kaleoNodeId the primary key for the new kaleo node - * @return the new kaleo node - */ - @Override - public KaleoNode createKaleoNode(long kaleoNodeId) { - return kaleoNodePersistence.create(kaleoNodeId); - } - - /** - * Deletes the kaleo node with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoNodeId the primary key of the kaleo node - * @return the kaleo node that was removed - * @throws PortalException if a kaleo node with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public KaleoNode deleteKaleoNode(long kaleoNodeId) - throws PortalException, SystemException { - return kaleoNodePersistence.remove(kaleoNodeId); - } - - /** - * Deletes the kaleo node from the database. Also notifies the appropriate model listeners. - * - * @param kaleoNode the kaleo node - * @return the kaleo node that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public KaleoNode deleteKaleoNode(KaleoNode kaleoNode) - throws SystemException { - return kaleoNodePersistence.remove(kaleoNode); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(KaleoNode.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return kaleoNodePersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoNodeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return kaleoNodePersistence.findWithDynamicQuery(dynamicQuery, start, - end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoNodeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return kaleoNodePersistence.findWithDynamicQuery(dynamicQuery, start, - end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return kaleoNodePersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return kaleoNodePersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public KaleoNode fetchKaleoNode(long kaleoNodeId) throws SystemException { - return kaleoNodePersistence.fetchByPrimaryKey(kaleoNodeId); - } - - /** - * Returns the kaleo node with the primary key. - * - * @param kaleoNodeId the primary key of the kaleo node - * @return the kaleo node - * @throws PortalException if a kaleo node with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoNode getKaleoNode(long kaleoNodeId) - throws PortalException, SystemException { - return kaleoNodePersistence.findByPrimaryKey(kaleoNodeId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return kaleoNodePersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns a range of all the kaleo nodes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoNodeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo nodes - * @param end the upper bound of the range of kaleo nodes (not inclusive) - * @return the range of kaleo nodes - * @throws SystemException if a system exception occurred - */ - @Override - public List getKaleoNodes(int start, int end) - throws SystemException { - return kaleoNodePersistence.findAll(start, end); - } - - /** - * Returns the number of kaleo nodes. - * - * @return the number of kaleo nodes - * @throws SystemException if a system exception occurred - */ - @Override - public int getKaleoNodesCount() throws SystemException { - return kaleoNodePersistence.countAll(); - } - - /** - * Updates the kaleo node in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param kaleoNode the kaleo node - * @return the kaleo node that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public KaleoNode updateKaleoNode(KaleoNode kaleoNode) - throws SystemException { - return kaleoNodePersistence.update(kaleoNode); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.importazione.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.importazione.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo configurazione local service. - * - * @return the bo configurazione local service - */ - public it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService getBoConfigurazioneLocalService() { - return boConfigurazioneLocalService; - } - - /** - * Sets the bo configurazione local service. - * - * @param boConfigurazioneLocalService the bo configurazione local service - */ - public void setBoConfigurazioneLocalService( - it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService) { - this.boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Returns the bo configurazione persistence. - * - * @return the bo configurazione persistence - */ - public BoConfigurazionePersistence getBoConfigurazionePersistence() { - return boConfigurazionePersistence; - } - - /** - * Sets the bo configurazione persistence. - * - * @param boConfigurazionePersistence the bo configurazione persistence - */ - public void setBoConfigurazionePersistence( - BoConfigurazionePersistence boConfigurazionePersistence) { - this.boConfigurazionePersistence = boConfigurazionePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.importazione.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.importazione.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.importazione.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.importazione.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.importazione.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.importazione.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe provincia local service. - * - * @return the fe provincia local service - */ - public it.tref.liferay.portos.importazione.service.FeProvinciaLocalService getFeProvinciaLocalService() { - return feProvinciaLocalService; - } - - /** - * Sets the fe provincia local service. - * - * @param feProvinciaLocalService the fe provincia local service - */ - public void setFeProvinciaLocalService( - it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService) { - this.feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Returns the fe provincia persistence. - * - * @return the fe provincia persistence - */ - public FeProvinciaPersistence getFeProvinciaPersistence() { - return feProvinciaPersistence; - } - - /** - * Sets the fe provincia persistence. - * - * @param feProvinciaPersistence the fe provincia persistence - */ - public void setFeProvinciaPersistence( - FeProvinciaPersistence feProvinciaPersistence) { - this.feProvinciaPersistence = feProvinciaPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.importazione.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the kaleo instance local service. - * - * @return the kaleo instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService getKaleoInstanceLocalService() { - return kaleoInstanceLocalService; - } - - /** - * Sets the kaleo instance local service. - * - * @param kaleoInstanceLocalService the kaleo instance local service - */ - public void setKaleoInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService) { - this.kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Returns the kaleo instance persistence. - * - * @return the kaleo instance persistence - */ - public KaleoInstancePersistence getKaleoInstancePersistence() { - return kaleoInstancePersistence; - } - - /** - * Sets the kaleo instance persistence. - * - * @param kaleoInstancePersistence the kaleo instance persistence - */ - public void setKaleoInstancePersistence( - KaleoInstancePersistence kaleoInstancePersistence) { - this.kaleoInstancePersistence = kaleoInstancePersistence; - } - - /** - * Returns the kaleo instance token local service. - * - * @return the kaleo instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService getKaleoInstanceTokenLocalService() { - return kaleoInstanceTokenLocalService; - } - - /** - * Sets the kaleo instance token local service. - * - * @param kaleoInstanceTokenLocalService the kaleo instance token local service - */ - public void setKaleoInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - this.kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Returns the kaleo instance token persistence. - * - * @return the kaleo instance token persistence - */ - public KaleoInstanceTokenPersistence getKaleoInstanceTokenPersistence() { - return kaleoInstanceTokenPersistence; - } - - /** - * Sets the kaleo instance token persistence. - * - * @param kaleoInstanceTokenPersistence the kaleo instance token persistence - */ - public void setKaleoInstanceTokenPersistence( - KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence) { - this.kaleoInstanceTokenPersistence = kaleoInstanceTokenPersistence; - } - - /** - * Returns the kaleo log local service. - * - * @return the kaleo log local service - */ - public it.tref.liferay.portos.importazione.service.KaleoLogLocalService getKaleoLogLocalService() { - return kaleoLogLocalService; - } - - /** - * Sets the kaleo log local service. - * - * @param kaleoLogLocalService the kaleo log local service - */ - public void setKaleoLogLocalService( - it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService) { - this.kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Returns the kaleo log persistence. - * - * @return the kaleo log persistence - */ - public KaleoLogPersistence getKaleoLogPersistence() { - return kaleoLogPersistence; - } - - /** - * Sets the kaleo log persistence. - * - * @param kaleoLogPersistence the kaleo log persistence - */ - public void setKaleoLogPersistence(KaleoLogPersistence kaleoLogPersistence) { - this.kaleoLogPersistence = kaleoLogPersistence; - } - - /** - * Returns the kaleo node local service. - * - * @return the kaleo node local service - */ - public it.tref.liferay.portos.importazione.service.KaleoNodeLocalService getKaleoNodeLocalService() { - return kaleoNodeLocalService; - } - - /** - * Sets the kaleo node local service. - * - * @param kaleoNodeLocalService the kaleo node local service - */ - public void setKaleoNodeLocalService( - it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService) { - this.kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Returns the kaleo node persistence. - * - * @return the kaleo node persistence - */ - public KaleoNodePersistence getKaleoNodePersistence() { - return kaleoNodePersistence; - } - - /** - * Sets the kaleo node persistence. - * - * @param kaleoNodePersistence the kaleo node persistence - */ - public void setKaleoNodePersistence( - KaleoNodePersistence kaleoNodePersistence) { - this.kaleoNodePersistence = kaleoNodePersistence; - } - - /** - * Returns the kaleo task local service. - * - * @return the kaleo task local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskLocalService getKaleoTaskLocalService() { - return kaleoTaskLocalService; - } - - /** - * Sets the kaleo task local service. - * - * @param kaleoTaskLocalService the kaleo task local service - */ - public void setKaleoTaskLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService) { - this.kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Returns the kaleo task persistence. - * - * @return the kaleo task persistence - */ - public KaleoTaskPersistence getKaleoTaskPersistence() { - return kaleoTaskPersistence; - } - - /** - * Sets the kaleo task persistence. - * - * @param kaleoTaskPersistence the kaleo task persistence - */ - public void setKaleoTaskPersistence( - KaleoTaskPersistence kaleoTaskPersistence) { - this.kaleoTaskPersistence = kaleoTaskPersistence; - } - - /** - * Returns the kaleo task assignment instance local service. - * - * @return the kaleo task assignment instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService getKaleoTaskAssignmentInstanceLocalService() { - return kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Sets the kaleo task assignment instance local service. - * - * @param kaleoTaskAssignmentInstanceLocalService the kaleo task assignment instance local service - */ - public void setKaleoTaskAssignmentInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - this.kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Returns the kaleo task assignment instance persistence. - * - * @return the kaleo task assignment instance persistence - */ - public KaleoTaskAssignmentInstancePersistence getKaleoTaskAssignmentInstancePersistence() { - return kaleoTaskAssignmentInstancePersistence; - } - - /** - * Sets the kaleo task assignment instance persistence. - * - * @param kaleoTaskAssignmentInstancePersistence the kaleo task assignment instance persistence - */ - public void setKaleoTaskAssignmentInstancePersistence( - KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence) { - this.kaleoTaskAssignmentInstancePersistence = kaleoTaskAssignmentInstancePersistence; - } - - /** - * Returns the kaleo task instance token local service. - * - * @return the kaleo task instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService getKaleoTaskInstanceTokenLocalService() { - return kaleoTaskInstanceTokenLocalService; - } - - /** - * Sets the kaleo task instance token local service. - * - * @param kaleoTaskInstanceTokenLocalService the kaleo task instance token local service - */ - public void setKaleoTaskInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - this.kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Returns the kaleo task instance token persistence. - * - * @return the kaleo task instance token persistence - */ - public KaleoTaskInstanceTokenPersistence getKaleoTaskInstanceTokenPersistence() { - return kaleoTaskInstanceTokenPersistence; - } - - /** - * Sets the kaleo task instance token persistence. - * - * @param kaleoTaskInstanceTokenPersistence the kaleo task instance token persistence - */ - public void setKaleoTaskInstanceTokenPersistence( - KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence) { - this.kaleoTaskInstanceTokenPersistence = kaleoTaskInstanceTokenPersistence; - } - - /** - * Returns the old d l file entry local service. - * - * @return the old d l file entry local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService getOldDLFileEntryLocalService() { - return oldDLFileEntryLocalService; - } - - /** - * Sets the old d l file entry local service. - * - * @param oldDLFileEntryLocalService the old d l file entry local service - */ - public void setOldDLFileEntryLocalService( - it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService) { - this.oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Returns the old d l file entry persistence. - * - * @return the old d l file entry persistence - */ - public OldDLFileEntryPersistence getOldDLFileEntryPersistence() { - return oldDLFileEntryPersistence; - } - - /** - * Sets the old d l file entry persistence. - * - * @param oldDLFileEntryPersistence the old d l file entry persistence - */ - public void setOldDLFileEntryPersistence( - OldDLFileEntryPersistence oldDLFileEntryPersistence) { - this.oldDLFileEntryPersistence = oldDLFileEntryPersistence; - } - - /** - * Returns the old d l folder local service. - * - * @return the old d l folder local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFolderLocalService getOldDLFolderLocalService() { - return oldDLFolderLocalService; - } - - /** - * Sets the old d l folder local service. - * - * @param oldDLFolderLocalService the old d l folder local service - */ - public void setOldDLFolderLocalService( - it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService) { - this.oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Returns the old d l folder persistence. - * - * @return the old d l folder persistence - */ - public OldDLFolderPersistence getOldDLFolderPersistence() { - return oldDLFolderPersistence; - } - - /** - * Sets the old d l folder persistence. - * - * @param oldDLFolderPersistence the old d l folder persistence - */ - public void setOldDLFolderPersistence( - OldDLFolderPersistence oldDLFolderPersistence) { - this.oldDLFolderPersistence = oldDLFolderPersistence; - } - - /** - * Returns the old group local service. - * - * @return the old group local service - */ - public it.tref.liferay.portos.importazione.service.OldGroupLocalService getOldGroupLocalService() { - return oldGroupLocalService; - } - - /** - * Sets the old group local service. - * - * @param oldGroupLocalService the old group local service - */ - public void setOldGroupLocalService( - it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService) { - this.oldGroupLocalService = oldGroupLocalService; - } - - /** - * Returns the old group persistence. - * - * @return the old group persistence - */ - public OldGroupPersistence getOldGroupPersistence() { - return oldGroupPersistence; - } - - /** - * Sets the old group persistence. - * - * @param oldGroupPersistence the old group persistence - */ - public void setOldGroupPersistence(OldGroupPersistence oldGroupPersistence) { - this.oldGroupPersistence = oldGroupPersistence; - } - - /** - * Returns the old organization local service. - * - * @return the old organization local service - */ - public it.tref.liferay.portos.importazione.service.OldOrganizationLocalService getOldOrganizationLocalService() { - return oldOrganizationLocalService; - } - - /** - * Sets the old organization local service. - * - * @param oldOrganizationLocalService the old organization local service - */ - public void setOldOrganizationLocalService( - it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService) { - this.oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Returns the old organization persistence. - * - * @return the old organization persistence - */ - public OldOrganizationPersistence getOldOrganizationPersistence() { - return oldOrganizationPersistence; - } - - /** - * Sets the old organization persistence. - * - * @param oldOrganizationPersistence the old organization persistence - */ - public void setOldOrganizationPersistence( - OldOrganizationPersistence oldOrganizationPersistence) { - this.oldOrganizationPersistence = oldOrganizationPersistence; - } - - /** - * Returns the old role local service. - * - * @return the old role local service - */ - public it.tref.liferay.portos.importazione.service.OldRoleLocalService getOldRoleLocalService() { - return oldRoleLocalService; - } - - /** - * Sets the old role local service. - * - * @param oldRoleLocalService the old role local service - */ - public void setOldRoleLocalService( - it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService) { - this.oldRoleLocalService = oldRoleLocalService; - } - - /** - * Returns the old role persistence. - * - * @return the old role persistence - */ - public OldRolePersistence getOldRolePersistence() { - return oldRolePersistence; - } - - /** - * Sets the old role persistence. - * - * @param oldRolePersistence the old role persistence - */ - public void setOldRolePersistence(OldRolePersistence oldRolePersistence) { - this.oldRolePersistence = oldRolePersistence; - } - - /** - * Returns the old user local service. - * - * @return the old user local service - */ - public it.tref.liferay.portos.importazione.service.OldUserLocalService getOldUserLocalService() { - return oldUserLocalService; - } - - /** - * Sets the old user local service. - * - * @param oldUserLocalService the old user local service - */ - public void setOldUserLocalService( - it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService) { - this.oldUserLocalService = oldUserLocalService; - } - - /** - * Returns the old user persistence. - * - * @return the old user persistence - */ - public OldUserPersistence getOldUserPersistence() { - return oldUserPersistence; - } - - /** - * Sets the old user persistence. - * - * @param oldUserPersistence the old user persistence - */ - public void setOldUserPersistence(OldUserPersistence oldUserPersistence) { - this.oldUserPersistence = oldUserPersistence; - } - - /** - * Returns the old user group local service. - * - * @return the old user group local service - */ - public it.tref.liferay.portos.importazione.service.OldUserGroupLocalService getOldUserGroupLocalService() { - return oldUserGroupLocalService; - } - - /** - * Sets the old user group local service. - * - * @param oldUserGroupLocalService the old user group local service - */ - public void setOldUserGroupLocalService( - it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService) { - this.oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Returns the old user group persistence. - * - * @return the old user group persistence - */ - public OldUserGroupPersistence getOldUserGroupPersistence() { - return oldUserGroupPersistence; - } - - /** - * Sets the old user group persistence. - * - * @param oldUserGroupPersistence the old user group persistence - */ - public void setOldUserGroupPersistence( - OldUserGroupPersistence oldUserGroupPersistence) { - this.oldUserGroupPersistence = oldUserGroupPersistence; - } - - /** - * Returns the old user group finder. - * - * @return the old user group finder - */ - public OldUserGroupFinder getOldUserGroupFinder() { - return oldUserGroupFinder; - } - - /** - * Sets the old user group finder. - * - * @param oldUserGroupFinder the old user group finder - */ - public void setOldUserGroupFinder(OldUserGroupFinder oldUserGroupFinder) { - this.oldUserGroupFinder = oldUserGroupFinder; - } - - /** - * Returns the procedura importazione local service. - * - * @return the procedura importazione local service - */ - public it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService getProceduraImportazioneLocalService() { - return proceduraImportazioneLocalService; - } - - /** - * Sets the procedura importazione local service. - * - * @param proceduraImportazioneLocalService the procedura importazione local service - */ - public void setProceduraImportazioneLocalService( - it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - this.proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Returns the procedura importazione persistence. - * - * @return the procedura importazione persistence - */ - public ProceduraImportazionePersistence getProceduraImportazionePersistence() { - return proceduraImportazionePersistence; - } - - /** - * Sets the procedura importazione persistence. - * - * @param proceduraImportazionePersistence the procedura importazione persistence - */ - public void setProceduraImportazionePersistence( - ProceduraImportazionePersistence proceduraImportazionePersistence) { - this.proceduraImportazionePersistence = proceduraImportazionePersistence; - } - - /** - * Returns the stato importazione local service. - * - * @return the stato importazione local service - */ - public it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService getStatoImportazioneLocalService() { - return statoImportazioneLocalService; - } - - /** - * Sets the stato importazione local service. - * - * @param statoImportazioneLocalService the stato importazione local service - */ - public void setStatoImportazioneLocalService( - it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService) { - this.statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Returns the stato importazione persistence. - * - * @return the stato importazione persistence - */ - public StatoImportazionePersistence getStatoImportazionePersistence() { - return statoImportazionePersistence; - } - - /** - * Sets the stato importazione persistence. - * - * @param statoImportazionePersistence the stato importazione persistence - */ - public void setStatoImportazionePersistence( - StatoImportazionePersistence statoImportazionePersistence) { - this.statoImportazionePersistence = statoImportazionePersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.importazione.model.KaleoNode", - kaleoNodeLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.importazione.model.KaleoNode"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return KaleoNode.class; - } - - protected String getModelClassName() { - return KaleoNode.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = kaleoNodePersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService; - @BeanReference(type = BoConfigurazionePersistence.class) - protected BoConfigurazionePersistence boConfigurazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeProvinciaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService; - @BeanReference(type = FeProvinciaPersistence.class) - protected FeProvinciaPersistence feProvinciaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService; - @BeanReference(type = KaleoInstancePersistence.class) - protected KaleoInstancePersistence kaleoInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService; - @BeanReference(type = KaleoInstanceTokenPersistence.class) - protected KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoLogLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService; - @BeanReference(type = KaleoLogPersistence.class) - protected KaleoLogPersistence kaleoLogPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoNodeLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService; - @BeanReference(type = KaleoNodePersistence.class) - protected KaleoNodePersistence kaleoNodePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService; - @BeanReference(type = KaleoTaskPersistence.class) - protected KaleoTaskPersistence kaleoTaskPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService; - @BeanReference(type = KaleoTaskAssignmentInstancePersistence.class) - protected KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService; - @BeanReference(type = KaleoTaskInstanceTokenPersistence.class) - protected KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService; - @BeanReference(type = OldDLFileEntryPersistence.class) - protected OldDLFileEntryPersistence oldDLFileEntryPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFolderLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService; - @BeanReference(type = OldDLFolderPersistence.class) - protected OldDLFolderPersistence oldDLFolderPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService; - @BeanReference(type = OldGroupPersistence.class) - protected OldGroupPersistence oldGroupPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldOrganizationLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService; - @BeanReference(type = OldOrganizationPersistence.class) - protected OldOrganizationPersistence oldOrganizationPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldRoleLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService; - @BeanReference(type = OldRolePersistence.class) - protected OldRolePersistence oldRolePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService; - @BeanReference(type = OldUserPersistence.class) - protected OldUserPersistence oldUserPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService; - @BeanReference(type = OldUserGroupPersistence.class) - protected OldUserGroupPersistence oldUserGroupPersistence; - @BeanReference(type = OldUserGroupFinder.class) - protected OldUserGroupFinder oldUserGroupFinder; - @BeanReference(type = it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService; - @BeanReference(type = ProceduraImportazionePersistence.class) - protected ProceduraImportazionePersistence proceduraImportazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService; - @BeanReference(type = StatoImportazionePersistence.class) - protected StatoImportazionePersistence statoImportazionePersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private KaleoNodeLocalServiceClpInvoker _clpInvoker = new KaleoNodeLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoNodeLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoNodeLocalServiceClpInvoker.java deleted file mode 100644 index 9a8eba38..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoNodeLocalServiceClpInvoker.java +++ /dev/null @@ -1,258 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import it.tref.liferay.portos.importazione.service.KaleoNodeLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author 3FC - * @generated - */ -public class KaleoNodeLocalServiceClpInvoker { - public KaleoNodeLocalServiceClpInvoker() { - _methodName0 = "addKaleoNode"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoNode" - }; - - _methodName1 = "createKaleoNode"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteKaleoNode"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteKaleoNode"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoNode" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchKaleoNode"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getKaleoNode"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getKaleoNodes"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getKaleoNodesCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateKaleoNode"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoNode" - }; - - _methodName178 = "getBeanIdentifier"; - - _methodParameterTypes178 = new String[] { }; - - _methodName179 = "setBeanIdentifier"; - - _methodParameterTypes179 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return KaleoNodeLocalServiceUtil.addKaleoNode((it.tref.liferay.portos.importazione.model.KaleoNode)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return KaleoNodeLocalServiceUtil.createKaleoNode(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return KaleoNodeLocalServiceUtil.deleteKaleoNode(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return KaleoNodeLocalServiceUtil.deleteKaleoNode((it.tref.liferay.portos.importazione.model.KaleoNode)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return KaleoNodeLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return KaleoNodeLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return KaleoNodeLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return KaleoNodeLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return KaleoNodeLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return KaleoNodeLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return KaleoNodeLocalServiceUtil.fetchKaleoNode(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return KaleoNodeLocalServiceUtil.getKaleoNode(((Long)arguments[0]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return KaleoNodeLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return KaleoNodeLocalServiceUtil.getKaleoNodes(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return KaleoNodeLocalServiceUtil.getKaleoNodesCount(); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return KaleoNodeLocalServiceUtil.updateKaleoNode((it.tref.liferay.portos.importazione.model.KaleoNode)arguments[0]); - } - - if (_methodName178.equals(name) && - Arrays.deepEquals(_methodParameterTypes178, parameterTypes)) { - return KaleoNodeLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName179.equals(name) && - Arrays.deepEquals(_methodParameterTypes179, parameterTypes)) { - KaleoNodeLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName178; - private String[] _methodParameterTypes178; - private String _methodName179; - private String[] _methodParameterTypes179; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoTaskAssignmentInstanceLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoTaskAssignmentInstanceLocalServiceBaseImpl.java deleted file mode 100644 index 77975553..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoTaskAssignmentInstanceLocalServiceBaseImpl.java +++ /dev/null @@ -1,2082 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance; -import it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinder; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the kaleo task assignment instance local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.importazione.service.impl.KaleoTaskAssignmentInstanceLocalServiceImpl}. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.impl.KaleoTaskAssignmentInstanceLocalServiceImpl - * @see it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalServiceUtil - * @generated - */ -public abstract class KaleoTaskAssignmentInstanceLocalServiceBaseImpl - extends BaseLocalServiceImpl - implements KaleoTaskAssignmentInstanceLocalService, IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalServiceUtil} to access the kaleo task assignment instance local service. - */ - - /** - * Adds the kaleo task assignment instance to the database. Also notifies the appropriate model listeners. - * - * @param kaleoTaskAssignmentInstance the kaleo task assignment instance - * @return the kaleo task assignment instance that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public KaleoTaskAssignmentInstance addKaleoTaskAssignmentInstance( - KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance) - throws SystemException { - kaleoTaskAssignmentInstance.setNew(true); - - return kaleoTaskAssignmentInstancePersistence.update(kaleoTaskAssignmentInstance); - } - - /** - * Creates a new kaleo task assignment instance with the primary key. Does not add the kaleo task assignment instance to the database. - * - * @param kaleoTaskAssignmentInstanceId the primary key for the new kaleo task assignment instance - * @return the new kaleo task assignment instance - */ - @Override - public KaleoTaskAssignmentInstance createKaleoTaskAssignmentInstance( - long kaleoTaskAssignmentInstanceId) { - return kaleoTaskAssignmentInstancePersistence.create(kaleoTaskAssignmentInstanceId); - } - - /** - * Deletes the kaleo task assignment instance with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoTaskAssignmentInstanceId the primary key of the kaleo task assignment instance - * @return the kaleo task assignment instance that was removed - * @throws PortalException if a kaleo task assignment instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public KaleoTaskAssignmentInstance deleteKaleoTaskAssignmentInstance( - long kaleoTaskAssignmentInstanceId) - throws PortalException, SystemException { - return kaleoTaskAssignmentInstancePersistence.remove(kaleoTaskAssignmentInstanceId); - } - - /** - * Deletes the kaleo task assignment instance from the database. Also notifies the appropriate model listeners. - * - * @param kaleoTaskAssignmentInstance the kaleo task assignment instance - * @return the kaleo task assignment instance that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public KaleoTaskAssignmentInstance deleteKaleoTaskAssignmentInstance( - KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance) - throws SystemException { - return kaleoTaskAssignmentInstancePersistence.remove(kaleoTaskAssignmentInstance); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(KaleoTaskAssignmentInstance.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return kaleoTaskAssignmentInstancePersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return kaleoTaskAssignmentInstancePersistence.findWithDynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return kaleoTaskAssignmentInstancePersistence.findWithDynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return kaleoTaskAssignmentInstancePersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return kaleoTaskAssignmentInstancePersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public KaleoTaskAssignmentInstance fetchKaleoTaskAssignmentInstance( - long kaleoTaskAssignmentInstanceId) throws SystemException { - return kaleoTaskAssignmentInstancePersistence.fetchByPrimaryKey(kaleoTaskAssignmentInstanceId); - } - - /** - * Returns the kaleo task assignment instance with the primary key. - * - * @param kaleoTaskAssignmentInstanceId the primary key of the kaleo task assignment instance - * @return the kaleo task assignment instance - * @throws PortalException if a kaleo task assignment instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTaskAssignmentInstance getKaleoTaskAssignmentInstance( - long kaleoTaskAssignmentInstanceId) - throws PortalException, SystemException { - return kaleoTaskAssignmentInstancePersistence.findByPrimaryKey(kaleoTaskAssignmentInstanceId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return kaleoTaskAssignmentInstancePersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns a range of all the kaleo task assignment instances. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo task assignment instances - * @param end the upper bound of the range of kaleo task assignment instances (not inclusive) - * @return the range of kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - @Override - public List getKaleoTaskAssignmentInstances( - int start, int end) throws SystemException { - return kaleoTaskAssignmentInstancePersistence.findAll(start, end); - } - - /** - * Returns the number of kaleo task assignment instances. - * - * @return the number of kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - @Override - public int getKaleoTaskAssignmentInstancesCount() throws SystemException { - return kaleoTaskAssignmentInstancePersistence.countAll(); - } - - /** - * Updates the kaleo task assignment instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param kaleoTaskAssignmentInstance the kaleo task assignment instance - * @return the kaleo task assignment instance that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public KaleoTaskAssignmentInstance updateKaleoTaskAssignmentInstance( - KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance) - throws SystemException { - return kaleoTaskAssignmentInstancePersistence.update(kaleoTaskAssignmentInstance); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.importazione.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.importazione.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo configurazione local service. - * - * @return the bo configurazione local service - */ - public it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService getBoConfigurazioneLocalService() { - return boConfigurazioneLocalService; - } - - /** - * Sets the bo configurazione local service. - * - * @param boConfigurazioneLocalService the bo configurazione local service - */ - public void setBoConfigurazioneLocalService( - it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService) { - this.boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Returns the bo configurazione persistence. - * - * @return the bo configurazione persistence - */ - public BoConfigurazionePersistence getBoConfigurazionePersistence() { - return boConfigurazionePersistence; - } - - /** - * Sets the bo configurazione persistence. - * - * @param boConfigurazionePersistence the bo configurazione persistence - */ - public void setBoConfigurazionePersistence( - BoConfigurazionePersistence boConfigurazionePersistence) { - this.boConfigurazionePersistence = boConfigurazionePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.importazione.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.importazione.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.importazione.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.importazione.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.importazione.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.importazione.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe provincia local service. - * - * @return the fe provincia local service - */ - public it.tref.liferay.portos.importazione.service.FeProvinciaLocalService getFeProvinciaLocalService() { - return feProvinciaLocalService; - } - - /** - * Sets the fe provincia local service. - * - * @param feProvinciaLocalService the fe provincia local service - */ - public void setFeProvinciaLocalService( - it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService) { - this.feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Returns the fe provincia persistence. - * - * @return the fe provincia persistence - */ - public FeProvinciaPersistence getFeProvinciaPersistence() { - return feProvinciaPersistence; - } - - /** - * Sets the fe provincia persistence. - * - * @param feProvinciaPersistence the fe provincia persistence - */ - public void setFeProvinciaPersistence( - FeProvinciaPersistence feProvinciaPersistence) { - this.feProvinciaPersistence = feProvinciaPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.importazione.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the kaleo instance local service. - * - * @return the kaleo instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService getKaleoInstanceLocalService() { - return kaleoInstanceLocalService; - } - - /** - * Sets the kaleo instance local service. - * - * @param kaleoInstanceLocalService the kaleo instance local service - */ - public void setKaleoInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService) { - this.kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Returns the kaleo instance persistence. - * - * @return the kaleo instance persistence - */ - public KaleoInstancePersistence getKaleoInstancePersistence() { - return kaleoInstancePersistence; - } - - /** - * Sets the kaleo instance persistence. - * - * @param kaleoInstancePersistence the kaleo instance persistence - */ - public void setKaleoInstancePersistence( - KaleoInstancePersistence kaleoInstancePersistence) { - this.kaleoInstancePersistence = kaleoInstancePersistence; - } - - /** - * Returns the kaleo instance token local service. - * - * @return the kaleo instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService getKaleoInstanceTokenLocalService() { - return kaleoInstanceTokenLocalService; - } - - /** - * Sets the kaleo instance token local service. - * - * @param kaleoInstanceTokenLocalService the kaleo instance token local service - */ - public void setKaleoInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - this.kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Returns the kaleo instance token persistence. - * - * @return the kaleo instance token persistence - */ - public KaleoInstanceTokenPersistence getKaleoInstanceTokenPersistence() { - return kaleoInstanceTokenPersistence; - } - - /** - * Sets the kaleo instance token persistence. - * - * @param kaleoInstanceTokenPersistence the kaleo instance token persistence - */ - public void setKaleoInstanceTokenPersistence( - KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence) { - this.kaleoInstanceTokenPersistence = kaleoInstanceTokenPersistence; - } - - /** - * Returns the kaleo log local service. - * - * @return the kaleo log local service - */ - public it.tref.liferay.portos.importazione.service.KaleoLogLocalService getKaleoLogLocalService() { - return kaleoLogLocalService; - } - - /** - * Sets the kaleo log local service. - * - * @param kaleoLogLocalService the kaleo log local service - */ - public void setKaleoLogLocalService( - it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService) { - this.kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Returns the kaleo log persistence. - * - * @return the kaleo log persistence - */ - public KaleoLogPersistence getKaleoLogPersistence() { - return kaleoLogPersistence; - } - - /** - * Sets the kaleo log persistence. - * - * @param kaleoLogPersistence the kaleo log persistence - */ - public void setKaleoLogPersistence(KaleoLogPersistence kaleoLogPersistence) { - this.kaleoLogPersistence = kaleoLogPersistence; - } - - /** - * Returns the kaleo node local service. - * - * @return the kaleo node local service - */ - public it.tref.liferay.portos.importazione.service.KaleoNodeLocalService getKaleoNodeLocalService() { - return kaleoNodeLocalService; - } - - /** - * Sets the kaleo node local service. - * - * @param kaleoNodeLocalService the kaleo node local service - */ - public void setKaleoNodeLocalService( - it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService) { - this.kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Returns the kaleo node persistence. - * - * @return the kaleo node persistence - */ - public KaleoNodePersistence getKaleoNodePersistence() { - return kaleoNodePersistence; - } - - /** - * Sets the kaleo node persistence. - * - * @param kaleoNodePersistence the kaleo node persistence - */ - public void setKaleoNodePersistence( - KaleoNodePersistence kaleoNodePersistence) { - this.kaleoNodePersistence = kaleoNodePersistence; - } - - /** - * Returns the kaleo task local service. - * - * @return the kaleo task local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskLocalService getKaleoTaskLocalService() { - return kaleoTaskLocalService; - } - - /** - * Sets the kaleo task local service. - * - * @param kaleoTaskLocalService the kaleo task local service - */ - public void setKaleoTaskLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService) { - this.kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Returns the kaleo task persistence. - * - * @return the kaleo task persistence - */ - public KaleoTaskPersistence getKaleoTaskPersistence() { - return kaleoTaskPersistence; - } - - /** - * Sets the kaleo task persistence. - * - * @param kaleoTaskPersistence the kaleo task persistence - */ - public void setKaleoTaskPersistence( - KaleoTaskPersistence kaleoTaskPersistence) { - this.kaleoTaskPersistence = kaleoTaskPersistence; - } - - /** - * Returns the kaleo task assignment instance local service. - * - * @return the kaleo task assignment instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService getKaleoTaskAssignmentInstanceLocalService() { - return kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Sets the kaleo task assignment instance local service. - * - * @param kaleoTaskAssignmentInstanceLocalService the kaleo task assignment instance local service - */ - public void setKaleoTaskAssignmentInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - this.kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Returns the kaleo task assignment instance persistence. - * - * @return the kaleo task assignment instance persistence - */ - public KaleoTaskAssignmentInstancePersistence getKaleoTaskAssignmentInstancePersistence() { - return kaleoTaskAssignmentInstancePersistence; - } - - /** - * Sets the kaleo task assignment instance persistence. - * - * @param kaleoTaskAssignmentInstancePersistence the kaleo task assignment instance persistence - */ - public void setKaleoTaskAssignmentInstancePersistence( - KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence) { - this.kaleoTaskAssignmentInstancePersistence = kaleoTaskAssignmentInstancePersistence; - } - - /** - * Returns the kaleo task instance token local service. - * - * @return the kaleo task instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService getKaleoTaskInstanceTokenLocalService() { - return kaleoTaskInstanceTokenLocalService; - } - - /** - * Sets the kaleo task instance token local service. - * - * @param kaleoTaskInstanceTokenLocalService the kaleo task instance token local service - */ - public void setKaleoTaskInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - this.kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Returns the kaleo task instance token persistence. - * - * @return the kaleo task instance token persistence - */ - public KaleoTaskInstanceTokenPersistence getKaleoTaskInstanceTokenPersistence() { - return kaleoTaskInstanceTokenPersistence; - } - - /** - * Sets the kaleo task instance token persistence. - * - * @param kaleoTaskInstanceTokenPersistence the kaleo task instance token persistence - */ - public void setKaleoTaskInstanceTokenPersistence( - KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence) { - this.kaleoTaskInstanceTokenPersistence = kaleoTaskInstanceTokenPersistence; - } - - /** - * Returns the old d l file entry local service. - * - * @return the old d l file entry local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService getOldDLFileEntryLocalService() { - return oldDLFileEntryLocalService; - } - - /** - * Sets the old d l file entry local service. - * - * @param oldDLFileEntryLocalService the old d l file entry local service - */ - public void setOldDLFileEntryLocalService( - it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService) { - this.oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Returns the old d l file entry persistence. - * - * @return the old d l file entry persistence - */ - public OldDLFileEntryPersistence getOldDLFileEntryPersistence() { - return oldDLFileEntryPersistence; - } - - /** - * Sets the old d l file entry persistence. - * - * @param oldDLFileEntryPersistence the old d l file entry persistence - */ - public void setOldDLFileEntryPersistence( - OldDLFileEntryPersistence oldDLFileEntryPersistence) { - this.oldDLFileEntryPersistence = oldDLFileEntryPersistence; - } - - /** - * Returns the old d l folder local service. - * - * @return the old d l folder local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFolderLocalService getOldDLFolderLocalService() { - return oldDLFolderLocalService; - } - - /** - * Sets the old d l folder local service. - * - * @param oldDLFolderLocalService the old d l folder local service - */ - public void setOldDLFolderLocalService( - it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService) { - this.oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Returns the old d l folder persistence. - * - * @return the old d l folder persistence - */ - public OldDLFolderPersistence getOldDLFolderPersistence() { - return oldDLFolderPersistence; - } - - /** - * Sets the old d l folder persistence. - * - * @param oldDLFolderPersistence the old d l folder persistence - */ - public void setOldDLFolderPersistence( - OldDLFolderPersistence oldDLFolderPersistence) { - this.oldDLFolderPersistence = oldDLFolderPersistence; - } - - /** - * Returns the old group local service. - * - * @return the old group local service - */ - public it.tref.liferay.portos.importazione.service.OldGroupLocalService getOldGroupLocalService() { - return oldGroupLocalService; - } - - /** - * Sets the old group local service. - * - * @param oldGroupLocalService the old group local service - */ - public void setOldGroupLocalService( - it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService) { - this.oldGroupLocalService = oldGroupLocalService; - } - - /** - * Returns the old group persistence. - * - * @return the old group persistence - */ - public OldGroupPersistence getOldGroupPersistence() { - return oldGroupPersistence; - } - - /** - * Sets the old group persistence. - * - * @param oldGroupPersistence the old group persistence - */ - public void setOldGroupPersistence(OldGroupPersistence oldGroupPersistence) { - this.oldGroupPersistence = oldGroupPersistence; - } - - /** - * Returns the old organization local service. - * - * @return the old organization local service - */ - public it.tref.liferay.portos.importazione.service.OldOrganizationLocalService getOldOrganizationLocalService() { - return oldOrganizationLocalService; - } - - /** - * Sets the old organization local service. - * - * @param oldOrganizationLocalService the old organization local service - */ - public void setOldOrganizationLocalService( - it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService) { - this.oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Returns the old organization persistence. - * - * @return the old organization persistence - */ - public OldOrganizationPersistence getOldOrganizationPersistence() { - return oldOrganizationPersistence; - } - - /** - * Sets the old organization persistence. - * - * @param oldOrganizationPersistence the old organization persistence - */ - public void setOldOrganizationPersistence( - OldOrganizationPersistence oldOrganizationPersistence) { - this.oldOrganizationPersistence = oldOrganizationPersistence; - } - - /** - * Returns the old role local service. - * - * @return the old role local service - */ - public it.tref.liferay.portos.importazione.service.OldRoleLocalService getOldRoleLocalService() { - return oldRoleLocalService; - } - - /** - * Sets the old role local service. - * - * @param oldRoleLocalService the old role local service - */ - public void setOldRoleLocalService( - it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService) { - this.oldRoleLocalService = oldRoleLocalService; - } - - /** - * Returns the old role persistence. - * - * @return the old role persistence - */ - public OldRolePersistence getOldRolePersistence() { - return oldRolePersistence; - } - - /** - * Sets the old role persistence. - * - * @param oldRolePersistence the old role persistence - */ - public void setOldRolePersistence(OldRolePersistence oldRolePersistence) { - this.oldRolePersistence = oldRolePersistence; - } - - /** - * Returns the old user local service. - * - * @return the old user local service - */ - public it.tref.liferay.portos.importazione.service.OldUserLocalService getOldUserLocalService() { - return oldUserLocalService; - } - - /** - * Sets the old user local service. - * - * @param oldUserLocalService the old user local service - */ - public void setOldUserLocalService( - it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService) { - this.oldUserLocalService = oldUserLocalService; - } - - /** - * Returns the old user persistence. - * - * @return the old user persistence - */ - public OldUserPersistence getOldUserPersistence() { - return oldUserPersistence; - } - - /** - * Sets the old user persistence. - * - * @param oldUserPersistence the old user persistence - */ - public void setOldUserPersistence(OldUserPersistence oldUserPersistence) { - this.oldUserPersistence = oldUserPersistence; - } - - /** - * Returns the old user group local service. - * - * @return the old user group local service - */ - public it.tref.liferay.portos.importazione.service.OldUserGroupLocalService getOldUserGroupLocalService() { - return oldUserGroupLocalService; - } - - /** - * Sets the old user group local service. - * - * @param oldUserGroupLocalService the old user group local service - */ - public void setOldUserGroupLocalService( - it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService) { - this.oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Returns the old user group persistence. - * - * @return the old user group persistence - */ - public OldUserGroupPersistence getOldUserGroupPersistence() { - return oldUserGroupPersistence; - } - - /** - * Sets the old user group persistence. - * - * @param oldUserGroupPersistence the old user group persistence - */ - public void setOldUserGroupPersistence( - OldUserGroupPersistence oldUserGroupPersistence) { - this.oldUserGroupPersistence = oldUserGroupPersistence; - } - - /** - * Returns the old user group finder. - * - * @return the old user group finder - */ - public OldUserGroupFinder getOldUserGroupFinder() { - return oldUserGroupFinder; - } - - /** - * Sets the old user group finder. - * - * @param oldUserGroupFinder the old user group finder - */ - public void setOldUserGroupFinder(OldUserGroupFinder oldUserGroupFinder) { - this.oldUserGroupFinder = oldUserGroupFinder; - } - - /** - * Returns the procedura importazione local service. - * - * @return the procedura importazione local service - */ - public it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService getProceduraImportazioneLocalService() { - return proceduraImportazioneLocalService; - } - - /** - * Sets the procedura importazione local service. - * - * @param proceduraImportazioneLocalService the procedura importazione local service - */ - public void setProceduraImportazioneLocalService( - it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - this.proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Returns the procedura importazione persistence. - * - * @return the procedura importazione persistence - */ - public ProceduraImportazionePersistence getProceduraImportazionePersistence() { - return proceduraImportazionePersistence; - } - - /** - * Sets the procedura importazione persistence. - * - * @param proceduraImportazionePersistence the procedura importazione persistence - */ - public void setProceduraImportazionePersistence( - ProceduraImportazionePersistence proceduraImportazionePersistence) { - this.proceduraImportazionePersistence = proceduraImportazionePersistence; - } - - /** - * Returns the stato importazione local service. - * - * @return the stato importazione local service - */ - public it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService getStatoImportazioneLocalService() { - return statoImportazioneLocalService; - } - - /** - * Sets the stato importazione local service. - * - * @param statoImportazioneLocalService the stato importazione local service - */ - public void setStatoImportazioneLocalService( - it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService) { - this.statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Returns the stato importazione persistence. - * - * @return the stato importazione persistence - */ - public StatoImportazionePersistence getStatoImportazionePersistence() { - return statoImportazionePersistence; - } - - /** - * Sets the stato importazione persistence. - * - * @param statoImportazionePersistence the stato importazione persistence - */ - public void setStatoImportazionePersistence( - StatoImportazionePersistence statoImportazionePersistence) { - this.statoImportazionePersistence = statoImportazionePersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance", - kaleoTaskAssignmentInstanceLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return KaleoTaskAssignmentInstance.class; - } - - protected String getModelClassName() { - return KaleoTaskAssignmentInstance.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = kaleoTaskAssignmentInstancePersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService; - @BeanReference(type = BoConfigurazionePersistence.class) - protected BoConfigurazionePersistence boConfigurazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeProvinciaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService; - @BeanReference(type = FeProvinciaPersistence.class) - protected FeProvinciaPersistence feProvinciaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService; - @BeanReference(type = KaleoInstancePersistence.class) - protected KaleoInstancePersistence kaleoInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService; - @BeanReference(type = KaleoInstanceTokenPersistence.class) - protected KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoLogLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService; - @BeanReference(type = KaleoLogPersistence.class) - protected KaleoLogPersistence kaleoLogPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoNodeLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService; - @BeanReference(type = KaleoNodePersistence.class) - protected KaleoNodePersistence kaleoNodePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService; - @BeanReference(type = KaleoTaskPersistence.class) - protected KaleoTaskPersistence kaleoTaskPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService; - @BeanReference(type = KaleoTaskAssignmentInstancePersistence.class) - protected KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService; - @BeanReference(type = KaleoTaskInstanceTokenPersistence.class) - protected KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService; - @BeanReference(type = OldDLFileEntryPersistence.class) - protected OldDLFileEntryPersistence oldDLFileEntryPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFolderLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService; - @BeanReference(type = OldDLFolderPersistence.class) - protected OldDLFolderPersistence oldDLFolderPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService; - @BeanReference(type = OldGroupPersistence.class) - protected OldGroupPersistence oldGroupPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldOrganizationLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService; - @BeanReference(type = OldOrganizationPersistence.class) - protected OldOrganizationPersistence oldOrganizationPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldRoleLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService; - @BeanReference(type = OldRolePersistence.class) - protected OldRolePersistence oldRolePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService; - @BeanReference(type = OldUserPersistence.class) - protected OldUserPersistence oldUserPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService; - @BeanReference(type = OldUserGroupPersistence.class) - protected OldUserGroupPersistence oldUserGroupPersistence; - @BeanReference(type = OldUserGroupFinder.class) - protected OldUserGroupFinder oldUserGroupFinder; - @BeanReference(type = it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService; - @BeanReference(type = ProceduraImportazionePersistence.class) - protected ProceduraImportazionePersistence proceduraImportazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService; - @BeanReference(type = StatoImportazionePersistence.class) - protected StatoImportazionePersistence statoImportazionePersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private KaleoTaskAssignmentInstanceLocalServiceClpInvoker _clpInvoker = new KaleoTaskAssignmentInstanceLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoTaskAssignmentInstanceLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoTaskAssignmentInstanceLocalServiceClpInvoker.java deleted file mode 100644 index c0f599f4..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoTaskAssignmentInstanceLocalServiceClpInvoker.java +++ /dev/null @@ -1,269 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author 3FC - * @generated - */ -public class KaleoTaskAssignmentInstanceLocalServiceClpInvoker { - public KaleoTaskAssignmentInstanceLocalServiceClpInvoker() { - _methodName0 = "addKaleoTaskAssignmentInstance"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance" - }; - - _methodName1 = "createKaleoTaskAssignmentInstance"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteKaleoTaskAssignmentInstance"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteKaleoTaskAssignmentInstance"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchKaleoTaskAssignmentInstance"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getKaleoTaskAssignmentInstance"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getKaleoTaskAssignmentInstances"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getKaleoTaskAssignmentInstancesCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateKaleoTaskAssignmentInstance"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance" - }; - - _methodName178 = "getBeanIdentifier"; - - _methodParameterTypes178 = new String[] { }; - - _methodName179 = "setBeanIdentifier"; - - _methodParameterTypes179 = new String[] { "java.lang.String" }; - - _methodName184 = "findByKaleoInstanceId"; - - _methodParameterTypes184 = new String[] { "long" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return KaleoTaskAssignmentInstanceLocalServiceUtil.addKaleoTaskAssignmentInstance((it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return KaleoTaskAssignmentInstanceLocalServiceUtil.createKaleoTaskAssignmentInstance(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return KaleoTaskAssignmentInstanceLocalServiceUtil.deleteKaleoTaskAssignmentInstance(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return KaleoTaskAssignmentInstanceLocalServiceUtil.deleteKaleoTaskAssignmentInstance((it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return KaleoTaskAssignmentInstanceLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return KaleoTaskAssignmentInstanceLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return KaleoTaskAssignmentInstanceLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return KaleoTaskAssignmentInstanceLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return KaleoTaskAssignmentInstanceLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return KaleoTaskAssignmentInstanceLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return KaleoTaskAssignmentInstanceLocalServiceUtil.fetchKaleoTaskAssignmentInstance(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return KaleoTaskAssignmentInstanceLocalServiceUtil.getKaleoTaskAssignmentInstance(((Long)arguments[0]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return KaleoTaskAssignmentInstanceLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return KaleoTaskAssignmentInstanceLocalServiceUtil.getKaleoTaskAssignmentInstances(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return KaleoTaskAssignmentInstanceLocalServiceUtil.getKaleoTaskAssignmentInstancesCount(); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return KaleoTaskAssignmentInstanceLocalServiceUtil.updateKaleoTaskAssignmentInstance((it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance)arguments[0]); - } - - if (_methodName178.equals(name) && - Arrays.deepEquals(_methodParameterTypes178, parameterTypes)) { - return KaleoTaskAssignmentInstanceLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName179.equals(name) && - Arrays.deepEquals(_methodParameterTypes179, parameterTypes)) { - KaleoTaskAssignmentInstanceLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - if (_methodName184.equals(name) && - Arrays.deepEquals(_methodParameterTypes184, parameterTypes)) { - return KaleoTaskAssignmentInstanceLocalServiceUtil.findByKaleoInstanceId(((Long)arguments[0]).longValue()); - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName178; - private String[] _methodParameterTypes178; - private String _methodName179; - private String[] _methodParameterTypes179; - private String _methodName184; - private String[] _methodParameterTypes184; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoTaskInstanceTokenLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoTaskInstanceTokenLocalServiceBaseImpl.java deleted file mode 100644 index 864a6bd4..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoTaskInstanceTokenLocalServiceBaseImpl.java +++ /dev/null @@ -1,2080 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken; -import it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinder; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the kaleo task instance token local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.importazione.service.impl.KaleoTaskInstanceTokenLocalServiceImpl}. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.impl.KaleoTaskInstanceTokenLocalServiceImpl - * @see it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalServiceUtil - * @generated - */ -public abstract class KaleoTaskInstanceTokenLocalServiceBaseImpl - extends BaseLocalServiceImpl implements KaleoTaskInstanceTokenLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalServiceUtil} to access the kaleo task instance token local service. - */ - - /** - * Adds the kaleo task instance token to the database. Also notifies the appropriate model listeners. - * - * @param kaleoTaskInstanceToken the kaleo task instance token - * @return the kaleo task instance token that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public KaleoTaskInstanceToken addKaleoTaskInstanceToken( - KaleoTaskInstanceToken kaleoTaskInstanceToken) - throws SystemException { - kaleoTaskInstanceToken.setNew(true); - - return kaleoTaskInstanceTokenPersistence.update(kaleoTaskInstanceToken); - } - - /** - * Creates a new kaleo task instance token with the primary key. Does not add the kaleo task instance token to the database. - * - * @param kaleoTaskInstanceTokenId the primary key for the new kaleo task instance token - * @return the new kaleo task instance token - */ - @Override - public KaleoTaskInstanceToken createKaleoTaskInstanceToken( - long kaleoTaskInstanceTokenId) { - return kaleoTaskInstanceTokenPersistence.create(kaleoTaskInstanceTokenId); - } - - /** - * Deletes the kaleo task instance token with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoTaskInstanceTokenId the primary key of the kaleo task instance token - * @return the kaleo task instance token that was removed - * @throws PortalException if a kaleo task instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public KaleoTaskInstanceToken deleteKaleoTaskInstanceToken( - long kaleoTaskInstanceTokenId) throws PortalException, SystemException { - return kaleoTaskInstanceTokenPersistence.remove(kaleoTaskInstanceTokenId); - } - - /** - * Deletes the kaleo task instance token from the database. Also notifies the appropriate model listeners. - * - * @param kaleoTaskInstanceToken the kaleo task instance token - * @return the kaleo task instance token that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public KaleoTaskInstanceToken deleteKaleoTaskInstanceToken( - KaleoTaskInstanceToken kaleoTaskInstanceToken) - throws SystemException { - return kaleoTaskInstanceTokenPersistence.remove(kaleoTaskInstanceToken); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(KaleoTaskInstanceToken.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return kaleoTaskInstanceTokenPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskInstanceTokenModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return kaleoTaskInstanceTokenPersistence.findWithDynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskInstanceTokenModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return kaleoTaskInstanceTokenPersistence.findWithDynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return kaleoTaskInstanceTokenPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return kaleoTaskInstanceTokenPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public KaleoTaskInstanceToken fetchKaleoTaskInstanceToken( - long kaleoTaskInstanceTokenId) throws SystemException { - return kaleoTaskInstanceTokenPersistence.fetchByPrimaryKey(kaleoTaskInstanceTokenId); - } - - /** - * Returns the kaleo task instance token with the primary key. - * - * @param kaleoTaskInstanceTokenId the primary key of the kaleo task instance token - * @return the kaleo task instance token - * @throws PortalException if a kaleo task instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTaskInstanceToken getKaleoTaskInstanceToken( - long kaleoTaskInstanceTokenId) throws PortalException, SystemException { - return kaleoTaskInstanceTokenPersistence.findByPrimaryKey(kaleoTaskInstanceTokenId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return kaleoTaskInstanceTokenPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns a range of all the kaleo task instance tokens. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskInstanceTokenModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo task instance tokens - * @param end the upper bound of the range of kaleo task instance tokens (not inclusive) - * @return the range of kaleo task instance tokens - * @throws SystemException if a system exception occurred - */ - @Override - public List getKaleoTaskInstanceTokens(int start, - int end) throws SystemException { - return kaleoTaskInstanceTokenPersistence.findAll(start, end); - } - - /** - * Returns the number of kaleo task instance tokens. - * - * @return the number of kaleo task instance tokens - * @throws SystemException if a system exception occurred - */ - @Override - public int getKaleoTaskInstanceTokensCount() throws SystemException { - return kaleoTaskInstanceTokenPersistence.countAll(); - } - - /** - * Updates the kaleo task instance token in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param kaleoTaskInstanceToken the kaleo task instance token - * @return the kaleo task instance token that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public KaleoTaskInstanceToken updateKaleoTaskInstanceToken( - KaleoTaskInstanceToken kaleoTaskInstanceToken) - throws SystemException { - return kaleoTaskInstanceTokenPersistence.update(kaleoTaskInstanceToken); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.importazione.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.importazione.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo configurazione local service. - * - * @return the bo configurazione local service - */ - public it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService getBoConfigurazioneLocalService() { - return boConfigurazioneLocalService; - } - - /** - * Sets the bo configurazione local service. - * - * @param boConfigurazioneLocalService the bo configurazione local service - */ - public void setBoConfigurazioneLocalService( - it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService) { - this.boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Returns the bo configurazione persistence. - * - * @return the bo configurazione persistence - */ - public BoConfigurazionePersistence getBoConfigurazionePersistence() { - return boConfigurazionePersistence; - } - - /** - * Sets the bo configurazione persistence. - * - * @param boConfigurazionePersistence the bo configurazione persistence - */ - public void setBoConfigurazionePersistence( - BoConfigurazionePersistence boConfigurazionePersistence) { - this.boConfigurazionePersistence = boConfigurazionePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.importazione.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.importazione.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.importazione.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.importazione.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.importazione.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.importazione.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe provincia local service. - * - * @return the fe provincia local service - */ - public it.tref.liferay.portos.importazione.service.FeProvinciaLocalService getFeProvinciaLocalService() { - return feProvinciaLocalService; - } - - /** - * Sets the fe provincia local service. - * - * @param feProvinciaLocalService the fe provincia local service - */ - public void setFeProvinciaLocalService( - it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService) { - this.feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Returns the fe provincia persistence. - * - * @return the fe provincia persistence - */ - public FeProvinciaPersistence getFeProvinciaPersistence() { - return feProvinciaPersistence; - } - - /** - * Sets the fe provincia persistence. - * - * @param feProvinciaPersistence the fe provincia persistence - */ - public void setFeProvinciaPersistence( - FeProvinciaPersistence feProvinciaPersistence) { - this.feProvinciaPersistence = feProvinciaPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.importazione.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the kaleo instance local service. - * - * @return the kaleo instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService getKaleoInstanceLocalService() { - return kaleoInstanceLocalService; - } - - /** - * Sets the kaleo instance local service. - * - * @param kaleoInstanceLocalService the kaleo instance local service - */ - public void setKaleoInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService) { - this.kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Returns the kaleo instance persistence. - * - * @return the kaleo instance persistence - */ - public KaleoInstancePersistence getKaleoInstancePersistence() { - return kaleoInstancePersistence; - } - - /** - * Sets the kaleo instance persistence. - * - * @param kaleoInstancePersistence the kaleo instance persistence - */ - public void setKaleoInstancePersistence( - KaleoInstancePersistence kaleoInstancePersistence) { - this.kaleoInstancePersistence = kaleoInstancePersistence; - } - - /** - * Returns the kaleo instance token local service. - * - * @return the kaleo instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService getKaleoInstanceTokenLocalService() { - return kaleoInstanceTokenLocalService; - } - - /** - * Sets the kaleo instance token local service. - * - * @param kaleoInstanceTokenLocalService the kaleo instance token local service - */ - public void setKaleoInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - this.kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Returns the kaleo instance token persistence. - * - * @return the kaleo instance token persistence - */ - public KaleoInstanceTokenPersistence getKaleoInstanceTokenPersistence() { - return kaleoInstanceTokenPersistence; - } - - /** - * Sets the kaleo instance token persistence. - * - * @param kaleoInstanceTokenPersistence the kaleo instance token persistence - */ - public void setKaleoInstanceTokenPersistence( - KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence) { - this.kaleoInstanceTokenPersistence = kaleoInstanceTokenPersistence; - } - - /** - * Returns the kaleo log local service. - * - * @return the kaleo log local service - */ - public it.tref.liferay.portos.importazione.service.KaleoLogLocalService getKaleoLogLocalService() { - return kaleoLogLocalService; - } - - /** - * Sets the kaleo log local service. - * - * @param kaleoLogLocalService the kaleo log local service - */ - public void setKaleoLogLocalService( - it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService) { - this.kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Returns the kaleo log persistence. - * - * @return the kaleo log persistence - */ - public KaleoLogPersistence getKaleoLogPersistence() { - return kaleoLogPersistence; - } - - /** - * Sets the kaleo log persistence. - * - * @param kaleoLogPersistence the kaleo log persistence - */ - public void setKaleoLogPersistence(KaleoLogPersistence kaleoLogPersistence) { - this.kaleoLogPersistence = kaleoLogPersistence; - } - - /** - * Returns the kaleo node local service. - * - * @return the kaleo node local service - */ - public it.tref.liferay.portos.importazione.service.KaleoNodeLocalService getKaleoNodeLocalService() { - return kaleoNodeLocalService; - } - - /** - * Sets the kaleo node local service. - * - * @param kaleoNodeLocalService the kaleo node local service - */ - public void setKaleoNodeLocalService( - it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService) { - this.kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Returns the kaleo node persistence. - * - * @return the kaleo node persistence - */ - public KaleoNodePersistence getKaleoNodePersistence() { - return kaleoNodePersistence; - } - - /** - * Sets the kaleo node persistence. - * - * @param kaleoNodePersistence the kaleo node persistence - */ - public void setKaleoNodePersistence( - KaleoNodePersistence kaleoNodePersistence) { - this.kaleoNodePersistence = kaleoNodePersistence; - } - - /** - * Returns the kaleo task local service. - * - * @return the kaleo task local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskLocalService getKaleoTaskLocalService() { - return kaleoTaskLocalService; - } - - /** - * Sets the kaleo task local service. - * - * @param kaleoTaskLocalService the kaleo task local service - */ - public void setKaleoTaskLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService) { - this.kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Returns the kaleo task persistence. - * - * @return the kaleo task persistence - */ - public KaleoTaskPersistence getKaleoTaskPersistence() { - return kaleoTaskPersistence; - } - - /** - * Sets the kaleo task persistence. - * - * @param kaleoTaskPersistence the kaleo task persistence - */ - public void setKaleoTaskPersistence( - KaleoTaskPersistence kaleoTaskPersistence) { - this.kaleoTaskPersistence = kaleoTaskPersistence; - } - - /** - * Returns the kaleo task assignment instance local service. - * - * @return the kaleo task assignment instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService getKaleoTaskAssignmentInstanceLocalService() { - return kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Sets the kaleo task assignment instance local service. - * - * @param kaleoTaskAssignmentInstanceLocalService the kaleo task assignment instance local service - */ - public void setKaleoTaskAssignmentInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - this.kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Returns the kaleo task assignment instance persistence. - * - * @return the kaleo task assignment instance persistence - */ - public KaleoTaskAssignmentInstancePersistence getKaleoTaskAssignmentInstancePersistence() { - return kaleoTaskAssignmentInstancePersistence; - } - - /** - * Sets the kaleo task assignment instance persistence. - * - * @param kaleoTaskAssignmentInstancePersistence the kaleo task assignment instance persistence - */ - public void setKaleoTaskAssignmentInstancePersistence( - KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence) { - this.kaleoTaskAssignmentInstancePersistence = kaleoTaskAssignmentInstancePersistence; - } - - /** - * Returns the kaleo task instance token local service. - * - * @return the kaleo task instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService getKaleoTaskInstanceTokenLocalService() { - return kaleoTaskInstanceTokenLocalService; - } - - /** - * Sets the kaleo task instance token local service. - * - * @param kaleoTaskInstanceTokenLocalService the kaleo task instance token local service - */ - public void setKaleoTaskInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - this.kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Returns the kaleo task instance token persistence. - * - * @return the kaleo task instance token persistence - */ - public KaleoTaskInstanceTokenPersistence getKaleoTaskInstanceTokenPersistence() { - return kaleoTaskInstanceTokenPersistence; - } - - /** - * Sets the kaleo task instance token persistence. - * - * @param kaleoTaskInstanceTokenPersistence the kaleo task instance token persistence - */ - public void setKaleoTaskInstanceTokenPersistence( - KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence) { - this.kaleoTaskInstanceTokenPersistence = kaleoTaskInstanceTokenPersistence; - } - - /** - * Returns the old d l file entry local service. - * - * @return the old d l file entry local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService getOldDLFileEntryLocalService() { - return oldDLFileEntryLocalService; - } - - /** - * Sets the old d l file entry local service. - * - * @param oldDLFileEntryLocalService the old d l file entry local service - */ - public void setOldDLFileEntryLocalService( - it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService) { - this.oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Returns the old d l file entry persistence. - * - * @return the old d l file entry persistence - */ - public OldDLFileEntryPersistence getOldDLFileEntryPersistence() { - return oldDLFileEntryPersistence; - } - - /** - * Sets the old d l file entry persistence. - * - * @param oldDLFileEntryPersistence the old d l file entry persistence - */ - public void setOldDLFileEntryPersistence( - OldDLFileEntryPersistence oldDLFileEntryPersistence) { - this.oldDLFileEntryPersistence = oldDLFileEntryPersistence; - } - - /** - * Returns the old d l folder local service. - * - * @return the old d l folder local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFolderLocalService getOldDLFolderLocalService() { - return oldDLFolderLocalService; - } - - /** - * Sets the old d l folder local service. - * - * @param oldDLFolderLocalService the old d l folder local service - */ - public void setOldDLFolderLocalService( - it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService) { - this.oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Returns the old d l folder persistence. - * - * @return the old d l folder persistence - */ - public OldDLFolderPersistence getOldDLFolderPersistence() { - return oldDLFolderPersistence; - } - - /** - * Sets the old d l folder persistence. - * - * @param oldDLFolderPersistence the old d l folder persistence - */ - public void setOldDLFolderPersistence( - OldDLFolderPersistence oldDLFolderPersistence) { - this.oldDLFolderPersistence = oldDLFolderPersistence; - } - - /** - * Returns the old group local service. - * - * @return the old group local service - */ - public it.tref.liferay.portos.importazione.service.OldGroupLocalService getOldGroupLocalService() { - return oldGroupLocalService; - } - - /** - * Sets the old group local service. - * - * @param oldGroupLocalService the old group local service - */ - public void setOldGroupLocalService( - it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService) { - this.oldGroupLocalService = oldGroupLocalService; - } - - /** - * Returns the old group persistence. - * - * @return the old group persistence - */ - public OldGroupPersistence getOldGroupPersistence() { - return oldGroupPersistence; - } - - /** - * Sets the old group persistence. - * - * @param oldGroupPersistence the old group persistence - */ - public void setOldGroupPersistence(OldGroupPersistence oldGroupPersistence) { - this.oldGroupPersistence = oldGroupPersistence; - } - - /** - * Returns the old organization local service. - * - * @return the old organization local service - */ - public it.tref.liferay.portos.importazione.service.OldOrganizationLocalService getOldOrganizationLocalService() { - return oldOrganizationLocalService; - } - - /** - * Sets the old organization local service. - * - * @param oldOrganizationLocalService the old organization local service - */ - public void setOldOrganizationLocalService( - it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService) { - this.oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Returns the old organization persistence. - * - * @return the old organization persistence - */ - public OldOrganizationPersistence getOldOrganizationPersistence() { - return oldOrganizationPersistence; - } - - /** - * Sets the old organization persistence. - * - * @param oldOrganizationPersistence the old organization persistence - */ - public void setOldOrganizationPersistence( - OldOrganizationPersistence oldOrganizationPersistence) { - this.oldOrganizationPersistence = oldOrganizationPersistence; - } - - /** - * Returns the old role local service. - * - * @return the old role local service - */ - public it.tref.liferay.portos.importazione.service.OldRoleLocalService getOldRoleLocalService() { - return oldRoleLocalService; - } - - /** - * Sets the old role local service. - * - * @param oldRoleLocalService the old role local service - */ - public void setOldRoleLocalService( - it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService) { - this.oldRoleLocalService = oldRoleLocalService; - } - - /** - * Returns the old role persistence. - * - * @return the old role persistence - */ - public OldRolePersistence getOldRolePersistence() { - return oldRolePersistence; - } - - /** - * Sets the old role persistence. - * - * @param oldRolePersistence the old role persistence - */ - public void setOldRolePersistence(OldRolePersistence oldRolePersistence) { - this.oldRolePersistence = oldRolePersistence; - } - - /** - * Returns the old user local service. - * - * @return the old user local service - */ - public it.tref.liferay.portos.importazione.service.OldUserLocalService getOldUserLocalService() { - return oldUserLocalService; - } - - /** - * Sets the old user local service. - * - * @param oldUserLocalService the old user local service - */ - public void setOldUserLocalService( - it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService) { - this.oldUserLocalService = oldUserLocalService; - } - - /** - * Returns the old user persistence. - * - * @return the old user persistence - */ - public OldUserPersistence getOldUserPersistence() { - return oldUserPersistence; - } - - /** - * Sets the old user persistence. - * - * @param oldUserPersistence the old user persistence - */ - public void setOldUserPersistence(OldUserPersistence oldUserPersistence) { - this.oldUserPersistence = oldUserPersistence; - } - - /** - * Returns the old user group local service. - * - * @return the old user group local service - */ - public it.tref.liferay.portos.importazione.service.OldUserGroupLocalService getOldUserGroupLocalService() { - return oldUserGroupLocalService; - } - - /** - * Sets the old user group local service. - * - * @param oldUserGroupLocalService the old user group local service - */ - public void setOldUserGroupLocalService( - it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService) { - this.oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Returns the old user group persistence. - * - * @return the old user group persistence - */ - public OldUserGroupPersistence getOldUserGroupPersistence() { - return oldUserGroupPersistence; - } - - /** - * Sets the old user group persistence. - * - * @param oldUserGroupPersistence the old user group persistence - */ - public void setOldUserGroupPersistence( - OldUserGroupPersistence oldUserGroupPersistence) { - this.oldUserGroupPersistence = oldUserGroupPersistence; - } - - /** - * Returns the old user group finder. - * - * @return the old user group finder - */ - public OldUserGroupFinder getOldUserGroupFinder() { - return oldUserGroupFinder; - } - - /** - * Sets the old user group finder. - * - * @param oldUserGroupFinder the old user group finder - */ - public void setOldUserGroupFinder(OldUserGroupFinder oldUserGroupFinder) { - this.oldUserGroupFinder = oldUserGroupFinder; - } - - /** - * Returns the procedura importazione local service. - * - * @return the procedura importazione local service - */ - public it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService getProceduraImportazioneLocalService() { - return proceduraImportazioneLocalService; - } - - /** - * Sets the procedura importazione local service. - * - * @param proceduraImportazioneLocalService the procedura importazione local service - */ - public void setProceduraImportazioneLocalService( - it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - this.proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Returns the procedura importazione persistence. - * - * @return the procedura importazione persistence - */ - public ProceduraImportazionePersistence getProceduraImportazionePersistence() { - return proceduraImportazionePersistence; - } - - /** - * Sets the procedura importazione persistence. - * - * @param proceduraImportazionePersistence the procedura importazione persistence - */ - public void setProceduraImportazionePersistence( - ProceduraImportazionePersistence proceduraImportazionePersistence) { - this.proceduraImportazionePersistence = proceduraImportazionePersistence; - } - - /** - * Returns the stato importazione local service. - * - * @return the stato importazione local service - */ - public it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService getStatoImportazioneLocalService() { - return statoImportazioneLocalService; - } - - /** - * Sets the stato importazione local service. - * - * @param statoImportazioneLocalService the stato importazione local service - */ - public void setStatoImportazioneLocalService( - it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService) { - this.statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Returns the stato importazione persistence. - * - * @return the stato importazione persistence - */ - public StatoImportazionePersistence getStatoImportazionePersistence() { - return statoImportazionePersistence; - } - - /** - * Sets the stato importazione persistence. - * - * @param statoImportazionePersistence the stato importazione persistence - */ - public void setStatoImportazionePersistence( - StatoImportazionePersistence statoImportazionePersistence) { - this.statoImportazionePersistence = statoImportazionePersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken", - kaleoTaskInstanceTokenLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return KaleoTaskInstanceToken.class; - } - - protected String getModelClassName() { - return KaleoTaskInstanceToken.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = kaleoTaskInstanceTokenPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService; - @BeanReference(type = BoConfigurazionePersistence.class) - protected BoConfigurazionePersistence boConfigurazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeProvinciaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService; - @BeanReference(type = FeProvinciaPersistence.class) - protected FeProvinciaPersistence feProvinciaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService; - @BeanReference(type = KaleoInstancePersistence.class) - protected KaleoInstancePersistence kaleoInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService; - @BeanReference(type = KaleoInstanceTokenPersistence.class) - protected KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoLogLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService; - @BeanReference(type = KaleoLogPersistence.class) - protected KaleoLogPersistence kaleoLogPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoNodeLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService; - @BeanReference(type = KaleoNodePersistence.class) - protected KaleoNodePersistence kaleoNodePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService; - @BeanReference(type = KaleoTaskPersistence.class) - protected KaleoTaskPersistence kaleoTaskPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService; - @BeanReference(type = KaleoTaskAssignmentInstancePersistence.class) - protected KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService; - @BeanReference(type = KaleoTaskInstanceTokenPersistence.class) - protected KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService; - @BeanReference(type = OldDLFileEntryPersistence.class) - protected OldDLFileEntryPersistence oldDLFileEntryPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFolderLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService; - @BeanReference(type = OldDLFolderPersistence.class) - protected OldDLFolderPersistence oldDLFolderPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService; - @BeanReference(type = OldGroupPersistence.class) - protected OldGroupPersistence oldGroupPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldOrganizationLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService; - @BeanReference(type = OldOrganizationPersistence.class) - protected OldOrganizationPersistence oldOrganizationPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldRoleLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService; - @BeanReference(type = OldRolePersistence.class) - protected OldRolePersistence oldRolePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService; - @BeanReference(type = OldUserPersistence.class) - protected OldUserPersistence oldUserPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService; - @BeanReference(type = OldUserGroupPersistence.class) - protected OldUserGroupPersistence oldUserGroupPersistence; - @BeanReference(type = OldUserGroupFinder.class) - protected OldUserGroupFinder oldUserGroupFinder; - @BeanReference(type = it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService; - @BeanReference(type = ProceduraImportazionePersistence.class) - protected ProceduraImportazionePersistence proceduraImportazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService; - @BeanReference(type = StatoImportazionePersistence.class) - protected StatoImportazionePersistence statoImportazionePersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private KaleoTaskInstanceTokenLocalServiceClpInvoker _clpInvoker = new KaleoTaskInstanceTokenLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoTaskInstanceTokenLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoTaskInstanceTokenLocalServiceClpInvoker.java deleted file mode 100644 index 9e0298da..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoTaskInstanceTokenLocalServiceClpInvoker.java +++ /dev/null @@ -1,269 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author 3FC - * @generated - */ -public class KaleoTaskInstanceTokenLocalServiceClpInvoker { - public KaleoTaskInstanceTokenLocalServiceClpInvoker() { - _methodName0 = "addKaleoTaskInstanceToken"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken" - }; - - _methodName1 = "createKaleoTaskInstanceToken"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteKaleoTaskInstanceToken"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteKaleoTaskInstanceToken"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchKaleoTaskInstanceToken"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getKaleoTaskInstanceToken"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getKaleoTaskInstanceTokens"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getKaleoTaskInstanceTokensCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateKaleoTaskInstanceToken"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken" - }; - - _methodName178 = "getBeanIdentifier"; - - _methodParameterTypes178 = new String[] { }; - - _methodName179 = "setBeanIdentifier"; - - _methodParameterTypes179 = new String[] { "java.lang.String" }; - - _methodName184 = "fetchByClassPk"; - - _methodParameterTypes184 = new String[] { "long" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return KaleoTaskInstanceTokenLocalServiceUtil.addKaleoTaskInstanceToken((it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return KaleoTaskInstanceTokenLocalServiceUtil.createKaleoTaskInstanceToken(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return KaleoTaskInstanceTokenLocalServiceUtil.deleteKaleoTaskInstanceToken(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return KaleoTaskInstanceTokenLocalServiceUtil.deleteKaleoTaskInstanceToken((it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return KaleoTaskInstanceTokenLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return KaleoTaskInstanceTokenLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return KaleoTaskInstanceTokenLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return KaleoTaskInstanceTokenLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return KaleoTaskInstanceTokenLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return KaleoTaskInstanceTokenLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return KaleoTaskInstanceTokenLocalServiceUtil.fetchKaleoTaskInstanceToken(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return KaleoTaskInstanceTokenLocalServiceUtil.getKaleoTaskInstanceToken(((Long)arguments[0]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return KaleoTaskInstanceTokenLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return KaleoTaskInstanceTokenLocalServiceUtil.getKaleoTaskInstanceTokens(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return KaleoTaskInstanceTokenLocalServiceUtil.getKaleoTaskInstanceTokensCount(); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return KaleoTaskInstanceTokenLocalServiceUtil.updateKaleoTaskInstanceToken((it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken)arguments[0]); - } - - if (_methodName178.equals(name) && - Arrays.deepEquals(_methodParameterTypes178, parameterTypes)) { - return KaleoTaskInstanceTokenLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName179.equals(name) && - Arrays.deepEquals(_methodParameterTypes179, parameterTypes)) { - KaleoTaskInstanceTokenLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - if (_methodName184.equals(name) && - Arrays.deepEquals(_methodParameterTypes184, parameterTypes)) { - return KaleoTaskInstanceTokenLocalServiceUtil.fetchByClassPk(((Long)arguments[0]).longValue()); - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName178; - private String[] _methodParameterTypes178; - private String _methodName179; - private String[] _methodParameterTypes179; - private String _methodName184; - private String[] _methodParameterTypes184; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoTaskLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoTaskLocalServiceBaseImpl.java deleted file mode 100644 index 2700b373..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoTaskLocalServiceBaseImpl.java +++ /dev/null @@ -1,2074 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.importazione.model.KaleoTask; -import it.tref.liferay.portos.importazione.service.KaleoTaskLocalService; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinder; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the kaleo task local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.importazione.service.impl.KaleoTaskLocalServiceImpl}. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.impl.KaleoTaskLocalServiceImpl - * @see it.tref.liferay.portos.importazione.service.KaleoTaskLocalServiceUtil - * @generated - */ -public abstract class KaleoTaskLocalServiceBaseImpl extends BaseLocalServiceImpl - implements KaleoTaskLocalService, IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.importazione.service.KaleoTaskLocalServiceUtil} to access the kaleo task local service. - */ - - /** - * Adds the kaleo task to the database. Also notifies the appropriate model listeners. - * - * @param kaleoTask the kaleo task - * @return the kaleo task that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public KaleoTask addKaleoTask(KaleoTask kaleoTask) - throws SystemException { - kaleoTask.setNew(true); - - return kaleoTaskPersistence.update(kaleoTask); - } - - /** - * Creates a new kaleo task with the primary key. Does not add the kaleo task to the database. - * - * @param kaleoTaskId the primary key for the new kaleo task - * @return the new kaleo task - */ - @Override - public KaleoTask createKaleoTask(long kaleoTaskId) { - return kaleoTaskPersistence.create(kaleoTaskId); - } - - /** - * Deletes the kaleo task with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoTaskId the primary key of the kaleo task - * @return the kaleo task that was removed - * @throws PortalException if a kaleo task with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public KaleoTask deleteKaleoTask(long kaleoTaskId) - throws PortalException, SystemException { - return kaleoTaskPersistence.remove(kaleoTaskId); - } - - /** - * Deletes the kaleo task from the database. Also notifies the appropriate model listeners. - * - * @param kaleoTask the kaleo task - * @return the kaleo task that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public KaleoTask deleteKaleoTask(KaleoTask kaleoTask) - throws SystemException { - return kaleoTaskPersistence.remove(kaleoTask); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(KaleoTask.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return kaleoTaskPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return kaleoTaskPersistence.findWithDynamicQuery(dynamicQuery, start, - end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return kaleoTaskPersistence.findWithDynamicQuery(dynamicQuery, start, - end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return kaleoTaskPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return kaleoTaskPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public KaleoTask fetchKaleoTask(long kaleoTaskId) throws SystemException { - return kaleoTaskPersistence.fetchByPrimaryKey(kaleoTaskId); - } - - /** - * Returns the kaleo task with the primary key. - * - * @param kaleoTaskId the primary key of the kaleo task - * @return the kaleo task - * @throws PortalException if a kaleo task with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTask getKaleoTask(long kaleoTaskId) - throws PortalException, SystemException { - return kaleoTaskPersistence.findByPrimaryKey(kaleoTaskId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return kaleoTaskPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns a range of all the kaleo tasks. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo tasks - * @param end the upper bound of the range of kaleo tasks (not inclusive) - * @return the range of kaleo tasks - * @throws SystemException if a system exception occurred - */ - @Override - public List getKaleoTasks(int start, int end) - throws SystemException { - return kaleoTaskPersistence.findAll(start, end); - } - - /** - * Returns the number of kaleo tasks. - * - * @return the number of kaleo tasks - * @throws SystemException if a system exception occurred - */ - @Override - public int getKaleoTasksCount() throws SystemException { - return kaleoTaskPersistence.countAll(); - } - - /** - * Updates the kaleo task in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param kaleoTask the kaleo task - * @return the kaleo task that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public KaleoTask updateKaleoTask(KaleoTask kaleoTask) - throws SystemException { - return kaleoTaskPersistence.update(kaleoTask); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.importazione.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.importazione.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo configurazione local service. - * - * @return the bo configurazione local service - */ - public it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService getBoConfigurazioneLocalService() { - return boConfigurazioneLocalService; - } - - /** - * Sets the bo configurazione local service. - * - * @param boConfigurazioneLocalService the bo configurazione local service - */ - public void setBoConfigurazioneLocalService( - it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService) { - this.boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Returns the bo configurazione persistence. - * - * @return the bo configurazione persistence - */ - public BoConfigurazionePersistence getBoConfigurazionePersistence() { - return boConfigurazionePersistence; - } - - /** - * Sets the bo configurazione persistence. - * - * @param boConfigurazionePersistence the bo configurazione persistence - */ - public void setBoConfigurazionePersistence( - BoConfigurazionePersistence boConfigurazionePersistence) { - this.boConfigurazionePersistence = boConfigurazionePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.importazione.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.importazione.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.importazione.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.importazione.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.importazione.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.importazione.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe provincia local service. - * - * @return the fe provincia local service - */ - public it.tref.liferay.portos.importazione.service.FeProvinciaLocalService getFeProvinciaLocalService() { - return feProvinciaLocalService; - } - - /** - * Sets the fe provincia local service. - * - * @param feProvinciaLocalService the fe provincia local service - */ - public void setFeProvinciaLocalService( - it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService) { - this.feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Returns the fe provincia persistence. - * - * @return the fe provincia persistence - */ - public FeProvinciaPersistence getFeProvinciaPersistence() { - return feProvinciaPersistence; - } - - /** - * Sets the fe provincia persistence. - * - * @param feProvinciaPersistence the fe provincia persistence - */ - public void setFeProvinciaPersistence( - FeProvinciaPersistence feProvinciaPersistence) { - this.feProvinciaPersistence = feProvinciaPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.importazione.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the kaleo instance local service. - * - * @return the kaleo instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService getKaleoInstanceLocalService() { - return kaleoInstanceLocalService; - } - - /** - * Sets the kaleo instance local service. - * - * @param kaleoInstanceLocalService the kaleo instance local service - */ - public void setKaleoInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService) { - this.kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Returns the kaleo instance persistence. - * - * @return the kaleo instance persistence - */ - public KaleoInstancePersistence getKaleoInstancePersistence() { - return kaleoInstancePersistence; - } - - /** - * Sets the kaleo instance persistence. - * - * @param kaleoInstancePersistence the kaleo instance persistence - */ - public void setKaleoInstancePersistence( - KaleoInstancePersistence kaleoInstancePersistence) { - this.kaleoInstancePersistence = kaleoInstancePersistence; - } - - /** - * Returns the kaleo instance token local service. - * - * @return the kaleo instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService getKaleoInstanceTokenLocalService() { - return kaleoInstanceTokenLocalService; - } - - /** - * Sets the kaleo instance token local service. - * - * @param kaleoInstanceTokenLocalService the kaleo instance token local service - */ - public void setKaleoInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - this.kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Returns the kaleo instance token persistence. - * - * @return the kaleo instance token persistence - */ - public KaleoInstanceTokenPersistence getKaleoInstanceTokenPersistence() { - return kaleoInstanceTokenPersistence; - } - - /** - * Sets the kaleo instance token persistence. - * - * @param kaleoInstanceTokenPersistence the kaleo instance token persistence - */ - public void setKaleoInstanceTokenPersistence( - KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence) { - this.kaleoInstanceTokenPersistence = kaleoInstanceTokenPersistence; - } - - /** - * Returns the kaleo log local service. - * - * @return the kaleo log local service - */ - public it.tref.liferay.portos.importazione.service.KaleoLogLocalService getKaleoLogLocalService() { - return kaleoLogLocalService; - } - - /** - * Sets the kaleo log local service. - * - * @param kaleoLogLocalService the kaleo log local service - */ - public void setKaleoLogLocalService( - it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService) { - this.kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Returns the kaleo log persistence. - * - * @return the kaleo log persistence - */ - public KaleoLogPersistence getKaleoLogPersistence() { - return kaleoLogPersistence; - } - - /** - * Sets the kaleo log persistence. - * - * @param kaleoLogPersistence the kaleo log persistence - */ - public void setKaleoLogPersistence(KaleoLogPersistence kaleoLogPersistence) { - this.kaleoLogPersistence = kaleoLogPersistence; - } - - /** - * Returns the kaleo node local service. - * - * @return the kaleo node local service - */ - public it.tref.liferay.portos.importazione.service.KaleoNodeLocalService getKaleoNodeLocalService() { - return kaleoNodeLocalService; - } - - /** - * Sets the kaleo node local service. - * - * @param kaleoNodeLocalService the kaleo node local service - */ - public void setKaleoNodeLocalService( - it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService) { - this.kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Returns the kaleo node persistence. - * - * @return the kaleo node persistence - */ - public KaleoNodePersistence getKaleoNodePersistence() { - return kaleoNodePersistence; - } - - /** - * Sets the kaleo node persistence. - * - * @param kaleoNodePersistence the kaleo node persistence - */ - public void setKaleoNodePersistence( - KaleoNodePersistence kaleoNodePersistence) { - this.kaleoNodePersistence = kaleoNodePersistence; - } - - /** - * Returns the kaleo task local service. - * - * @return the kaleo task local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskLocalService getKaleoTaskLocalService() { - return kaleoTaskLocalService; - } - - /** - * Sets the kaleo task local service. - * - * @param kaleoTaskLocalService the kaleo task local service - */ - public void setKaleoTaskLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService) { - this.kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Returns the kaleo task persistence. - * - * @return the kaleo task persistence - */ - public KaleoTaskPersistence getKaleoTaskPersistence() { - return kaleoTaskPersistence; - } - - /** - * Sets the kaleo task persistence. - * - * @param kaleoTaskPersistence the kaleo task persistence - */ - public void setKaleoTaskPersistence( - KaleoTaskPersistence kaleoTaskPersistence) { - this.kaleoTaskPersistence = kaleoTaskPersistence; - } - - /** - * Returns the kaleo task assignment instance local service. - * - * @return the kaleo task assignment instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService getKaleoTaskAssignmentInstanceLocalService() { - return kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Sets the kaleo task assignment instance local service. - * - * @param kaleoTaskAssignmentInstanceLocalService the kaleo task assignment instance local service - */ - public void setKaleoTaskAssignmentInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - this.kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Returns the kaleo task assignment instance persistence. - * - * @return the kaleo task assignment instance persistence - */ - public KaleoTaskAssignmentInstancePersistence getKaleoTaskAssignmentInstancePersistence() { - return kaleoTaskAssignmentInstancePersistence; - } - - /** - * Sets the kaleo task assignment instance persistence. - * - * @param kaleoTaskAssignmentInstancePersistence the kaleo task assignment instance persistence - */ - public void setKaleoTaskAssignmentInstancePersistence( - KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence) { - this.kaleoTaskAssignmentInstancePersistence = kaleoTaskAssignmentInstancePersistence; - } - - /** - * Returns the kaleo task instance token local service. - * - * @return the kaleo task instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService getKaleoTaskInstanceTokenLocalService() { - return kaleoTaskInstanceTokenLocalService; - } - - /** - * Sets the kaleo task instance token local service. - * - * @param kaleoTaskInstanceTokenLocalService the kaleo task instance token local service - */ - public void setKaleoTaskInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - this.kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Returns the kaleo task instance token persistence. - * - * @return the kaleo task instance token persistence - */ - public KaleoTaskInstanceTokenPersistence getKaleoTaskInstanceTokenPersistence() { - return kaleoTaskInstanceTokenPersistence; - } - - /** - * Sets the kaleo task instance token persistence. - * - * @param kaleoTaskInstanceTokenPersistence the kaleo task instance token persistence - */ - public void setKaleoTaskInstanceTokenPersistence( - KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence) { - this.kaleoTaskInstanceTokenPersistence = kaleoTaskInstanceTokenPersistence; - } - - /** - * Returns the old d l file entry local service. - * - * @return the old d l file entry local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService getOldDLFileEntryLocalService() { - return oldDLFileEntryLocalService; - } - - /** - * Sets the old d l file entry local service. - * - * @param oldDLFileEntryLocalService the old d l file entry local service - */ - public void setOldDLFileEntryLocalService( - it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService) { - this.oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Returns the old d l file entry persistence. - * - * @return the old d l file entry persistence - */ - public OldDLFileEntryPersistence getOldDLFileEntryPersistence() { - return oldDLFileEntryPersistence; - } - - /** - * Sets the old d l file entry persistence. - * - * @param oldDLFileEntryPersistence the old d l file entry persistence - */ - public void setOldDLFileEntryPersistence( - OldDLFileEntryPersistence oldDLFileEntryPersistence) { - this.oldDLFileEntryPersistence = oldDLFileEntryPersistence; - } - - /** - * Returns the old d l folder local service. - * - * @return the old d l folder local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFolderLocalService getOldDLFolderLocalService() { - return oldDLFolderLocalService; - } - - /** - * Sets the old d l folder local service. - * - * @param oldDLFolderLocalService the old d l folder local service - */ - public void setOldDLFolderLocalService( - it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService) { - this.oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Returns the old d l folder persistence. - * - * @return the old d l folder persistence - */ - public OldDLFolderPersistence getOldDLFolderPersistence() { - return oldDLFolderPersistence; - } - - /** - * Sets the old d l folder persistence. - * - * @param oldDLFolderPersistence the old d l folder persistence - */ - public void setOldDLFolderPersistence( - OldDLFolderPersistence oldDLFolderPersistence) { - this.oldDLFolderPersistence = oldDLFolderPersistence; - } - - /** - * Returns the old group local service. - * - * @return the old group local service - */ - public it.tref.liferay.portos.importazione.service.OldGroupLocalService getOldGroupLocalService() { - return oldGroupLocalService; - } - - /** - * Sets the old group local service. - * - * @param oldGroupLocalService the old group local service - */ - public void setOldGroupLocalService( - it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService) { - this.oldGroupLocalService = oldGroupLocalService; - } - - /** - * Returns the old group persistence. - * - * @return the old group persistence - */ - public OldGroupPersistence getOldGroupPersistence() { - return oldGroupPersistence; - } - - /** - * Sets the old group persistence. - * - * @param oldGroupPersistence the old group persistence - */ - public void setOldGroupPersistence(OldGroupPersistence oldGroupPersistence) { - this.oldGroupPersistence = oldGroupPersistence; - } - - /** - * Returns the old organization local service. - * - * @return the old organization local service - */ - public it.tref.liferay.portos.importazione.service.OldOrganizationLocalService getOldOrganizationLocalService() { - return oldOrganizationLocalService; - } - - /** - * Sets the old organization local service. - * - * @param oldOrganizationLocalService the old organization local service - */ - public void setOldOrganizationLocalService( - it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService) { - this.oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Returns the old organization persistence. - * - * @return the old organization persistence - */ - public OldOrganizationPersistence getOldOrganizationPersistence() { - return oldOrganizationPersistence; - } - - /** - * Sets the old organization persistence. - * - * @param oldOrganizationPersistence the old organization persistence - */ - public void setOldOrganizationPersistence( - OldOrganizationPersistence oldOrganizationPersistence) { - this.oldOrganizationPersistence = oldOrganizationPersistence; - } - - /** - * Returns the old role local service. - * - * @return the old role local service - */ - public it.tref.liferay.portos.importazione.service.OldRoleLocalService getOldRoleLocalService() { - return oldRoleLocalService; - } - - /** - * Sets the old role local service. - * - * @param oldRoleLocalService the old role local service - */ - public void setOldRoleLocalService( - it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService) { - this.oldRoleLocalService = oldRoleLocalService; - } - - /** - * Returns the old role persistence. - * - * @return the old role persistence - */ - public OldRolePersistence getOldRolePersistence() { - return oldRolePersistence; - } - - /** - * Sets the old role persistence. - * - * @param oldRolePersistence the old role persistence - */ - public void setOldRolePersistence(OldRolePersistence oldRolePersistence) { - this.oldRolePersistence = oldRolePersistence; - } - - /** - * Returns the old user local service. - * - * @return the old user local service - */ - public it.tref.liferay.portos.importazione.service.OldUserLocalService getOldUserLocalService() { - return oldUserLocalService; - } - - /** - * Sets the old user local service. - * - * @param oldUserLocalService the old user local service - */ - public void setOldUserLocalService( - it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService) { - this.oldUserLocalService = oldUserLocalService; - } - - /** - * Returns the old user persistence. - * - * @return the old user persistence - */ - public OldUserPersistence getOldUserPersistence() { - return oldUserPersistence; - } - - /** - * Sets the old user persistence. - * - * @param oldUserPersistence the old user persistence - */ - public void setOldUserPersistence(OldUserPersistence oldUserPersistence) { - this.oldUserPersistence = oldUserPersistence; - } - - /** - * Returns the old user group local service. - * - * @return the old user group local service - */ - public it.tref.liferay.portos.importazione.service.OldUserGroupLocalService getOldUserGroupLocalService() { - return oldUserGroupLocalService; - } - - /** - * Sets the old user group local service. - * - * @param oldUserGroupLocalService the old user group local service - */ - public void setOldUserGroupLocalService( - it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService) { - this.oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Returns the old user group persistence. - * - * @return the old user group persistence - */ - public OldUserGroupPersistence getOldUserGroupPersistence() { - return oldUserGroupPersistence; - } - - /** - * Sets the old user group persistence. - * - * @param oldUserGroupPersistence the old user group persistence - */ - public void setOldUserGroupPersistence( - OldUserGroupPersistence oldUserGroupPersistence) { - this.oldUserGroupPersistence = oldUserGroupPersistence; - } - - /** - * Returns the old user group finder. - * - * @return the old user group finder - */ - public OldUserGroupFinder getOldUserGroupFinder() { - return oldUserGroupFinder; - } - - /** - * Sets the old user group finder. - * - * @param oldUserGroupFinder the old user group finder - */ - public void setOldUserGroupFinder(OldUserGroupFinder oldUserGroupFinder) { - this.oldUserGroupFinder = oldUserGroupFinder; - } - - /** - * Returns the procedura importazione local service. - * - * @return the procedura importazione local service - */ - public it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService getProceduraImportazioneLocalService() { - return proceduraImportazioneLocalService; - } - - /** - * Sets the procedura importazione local service. - * - * @param proceduraImportazioneLocalService the procedura importazione local service - */ - public void setProceduraImportazioneLocalService( - it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - this.proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Returns the procedura importazione persistence. - * - * @return the procedura importazione persistence - */ - public ProceduraImportazionePersistence getProceduraImportazionePersistence() { - return proceduraImportazionePersistence; - } - - /** - * Sets the procedura importazione persistence. - * - * @param proceduraImportazionePersistence the procedura importazione persistence - */ - public void setProceduraImportazionePersistence( - ProceduraImportazionePersistence proceduraImportazionePersistence) { - this.proceduraImportazionePersistence = proceduraImportazionePersistence; - } - - /** - * Returns the stato importazione local service. - * - * @return the stato importazione local service - */ - public it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService getStatoImportazioneLocalService() { - return statoImportazioneLocalService; - } - - /** - * Sets the stato importazione local service. - * - * @param statoImportazioneLocalService the stato importazione local service - */ - public void setStatoImportazioneLocalService( - it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService) { - this.statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Returns the stato importazione persistence. - * - * @return the stato importazione persistence - */ - public StatoImportazionePersistence getStatoImportazionePersistence() { - return statoImportazionePersistence; - } - - /** - * Sets the stato importazione persistence. - * - * @param statoImportazionePersistence the stato importazione persistence - */ - public void setStatoImportazionePersistence( - StatoImportazionePersistence statoImportazionePersistence) { - this.statoImportazionePersistence = statoImportazionePersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.importazione.model.KaleoTask", - kaleoTaskLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.importazione.model.KaleoTask"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return KaleoTask.class; - } - - protected String getModelClassName() { - return KaleoTask.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = kaleoTaskPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService; - @BeanReference(type = BoConfigurazionePersistence.class) - protected BoConfigurazionePersistence boConfigurazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeProvinciaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService; - @BeanReference(type = FeProvinciaPersistence.class) - protected FeProvinciaPersistence feProvinciaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService; - @BeanReference(type = KaleoInstancePersistence.class) - protected KaleoInstancePersistence kaleoInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService; - @BeanReference(type = KaleoInstanceTokenPersistence.class) - protected KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoLogLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService; - @BeanReference(type = KaleoLogPersistence.class) - protected KaleoLogPersistence kaleoLogPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoNodeLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService; - @BeanReference(type = KaleoNodePersistence.class) - protected KaleoNodePersistence kaleoNodePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService; - @BeanReference(type = KaleoTaskPersistence.class) - protected KaleoTaskPersistence kaleoTaskPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService; - @BeanReference(type = KaleoTaskAssignmentInstancePersistence.class) - protected KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService; - @BeanReference(type = KaleoTaskInstanceTokenPersistence.class) - protected KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService; - @BeanReference(type = OldDLFileEntryPersistence.class) - protected OldDLFileEntryPersistence oldDLFileEntryPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFolderLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService; - @BeanReference(type = OldDLFolderPersistence.class) - protected OldDLFolderPersistence oldDLFolderPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService; - @BeanReference(type = OldGroupPersistence.class) - protected OldGroupPersistence oldGroupPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldOrganizationLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService; - @BeanReference(type = OldOrganizationPersistence.class) - protected OldOrganizationPersistence oldOrganizationPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldRoleLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService; - @BeanReference(type = OldRolePersistence.class) - protected OldRolePersistence oldRolePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService; - @BeanReference(type = OldUserPersistence.class) - protected OldUserPersistence oldUserPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService; - @BeanReference(type = OldUserGroupPersistence.class) - protected OldUserGroupPersistence oldUserGroupPersistence; - @BeanReference(type = OldUserGroupFinder.class) - protected OldUserGroupFinder oldUserGroupFinder; - @BeanReference(type = it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService; - @BeanReference(type = ProceduraImportazionePersistence.class) - protected ProceduraImportazionePersistence proceduraImportazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService; - @BeanReference(type = StatoImportazionePersistence.class) - protected StatoImportazionePersistence statoImportazionePersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private KaleoTaskLocalServiceClpInvoker _clpInvoker = new KaleoTaskLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoTaskLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoTaskLocalServiceClpInvoker.java deleted file mode 100644 index a1b4ae9e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/KaleoTaskLocalServiceClpInvoker.java +++ /dev/null @@ -1,258 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import it.tref.liferay.portos.importazione.service.KaleoTaskLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author 3FC - * @generated - */ -public class KaleoTaskLocalServiceClpInvoker { - public KaleoTaskLocalServiceClpInvoker() { - _methodName0 = "addKaleoTask"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoTask" - }; - - _methodName1 = "createKaleoTask"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteKaleoTask"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteKaleoTask"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoTask" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchKaleoTask"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getKaleoTask"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getKaleoTasks"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getKaleoTasksCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateKaleoTask"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.KaleoTask" - }; - - _methodName178 = "getBeanIdentifier"; - - _methodParameterTypes178 = new String[] { }; - - _methodName179 = "setBeanIdentifier"; - - _methodParameterTypes179 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return KaleoTaskLocalServiceUtil.addKaleoTask((it.tref.liferay.portos.importazione.model.KaleoTask)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return KaleoTaskLocalServiceUtil.createKaleoTask(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return KaleoTaskLocalServiceUtil.deleteKaleoTask(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return KaleoTaskLocalServiceUtil.deleteKaleoTask((it.tref.liferay.portos.importazione.model.KaleoTask)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return KaleoTaskLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return KaleoTaskLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return KaleoTaskLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return KaleoTaskLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return KaleoTaskLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return KaleoTaskLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return KaleoTaskLocalServiceUtil.fetchKaleoTask(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return KaleoTaskLocalServiceUtil.getKaleoTask(((Long)arguments[0]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return KaleoTaskLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return KaleoTaskLocalServiceUtil.getKaleoTasks(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return KaleoTaskLocalServiceUtil.getKaleoTasksCount(); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return KaleoTaskLocalServiceUtil.updateKaleoTask((it.tref.liferay.portos.importazione.model.KaleoTask)arguments[0]); - } - - if (_methodName178.equals(name) && - Arrays.deepEquals(_methodParameterTypes178, parameterTypes)) { - return KaleoTaskLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName179.equals(name) && - Arrays.deepEquals(_methodParameterTypes179, parameterTypes)) { - KaleoTaskLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName178; - private String[] _methodParameterTypes178; - private String _methodName179; - private String[] _methodParameterTypes179; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldDLFileEntryLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldDLFileEntryLocalServiceBaseImpl.java deleted file mode 100644 index 2c2e8de4..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldDLFileEntryLocalServiceBaseImpl.java +++ /dev/null @@ -1,2076 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.importazione.model.OldDLFileEntry; -import it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinder; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the old d l file entry local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.importazione.service.impl.OldDLFileEntryLocalServiceImpl}. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.impl.OldDLFileEntryLocalServiceImpl - * @see it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalServiceUtil - * @generated - */ -public abstract class OldDLFileEntryLocalServiceBaseImpl - extends BaseLocalServiceImpl implements OldDLFileEntryLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalServiceUtil} to access the old d l file entry local service. - */ - - /** - * Adds the old d l file entry to the database. Also notifies the appropriate model listeners. - * - * @param oldDLFileEntry the old d l file entry - * @return the old d l file entry that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public OldDLFileEntry addOldDLFileEntry(OldDLFileEntry oldDLFileEntry) - throws SystemException { - oldDLFileEntry.setNew(true); - - return oldDLFileEntryPersistence.update(oldDLFileEntry); - } - - /** - * Creates a new old d l file entry with the primary key. Does not add the old d l file entry to the database. - * - * @param fileEntryId the primary key for the new old d l file entry - * @return the new old d l file entry - */ - @Override - public OldDLFileEntry createOldDLFileEntry(long fileEntryId) { - return oldDLFileEntryPersistence.create(fileEntryId); - } - - /** - * Deletes the old d l file entry with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param fileEntryId the primary key of the old d l file entry - * @return the old d l file entry that was removed - * @throws PortalException if a old d l file entry with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public OldDLFileEntry deleteOldDLFileEntry(long fileEntryId) - throws PortalException, SystemException { - return oldDLFileEntryPersistence.remove(fileEntryId); - } - - /** - * Deletes the old d l file entry from the database. Also notifies the appropriate model listeners. - * - * @param oldDLFileEntry the old d l file entry - * @return the old d l file entry that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public OldDLFileEntry deleteOldDLFileEntry(OldDLFileEntry oldDLFileEntry) - throws SystemException { - return oldDLFileEntryPersistence.remove(oldDLFileEntry); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(OldDLFileEntry.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return oldDLFileEntryPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return oldDLFileEntryPersistence.findWithDynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return oldDLFileEntryPersistence.findWithDynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return oldDLFileEntryPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return oldDLFileEntryPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public OldDLFileEntry fetchOldDLFileEntry(long fileEntryId) - throws SystemException { - return oldDLFileEntryPersistence.fetchByPrimaryKey(fileEntryId); - } - - /** - * Returns the old d l file entry with the primary key. - * - * @param fileEntryId the primary key of the old d l file entry - * @return the old d l file entry - * @throws PortalException if a old d l file entry with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldDLFileEntry getOldDLFileEntry(long fileEntryId) - throws PortalException, SystemException { - return oldDLFileEntryPersistence.findByPrimaryKey(fileEntryId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return oldDLFileEntryPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns a range of all the old d l file entries. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old d l file entries - * @param end the upper bound of the range of old d l file entries (not inclusive) - * @return the range of old d l file entries - * @throws SystemException if a system exception occurred - */ - @Override - public List getOldDLFileEntries(int start, int end) - throws SystemException { - return oldDLFileEntryPersistence.findAll(start, end); - } - - /** - * Returns the number of old d l file entries. - * - * @return the number of old d l file entries - * @throws SystemException if a system exception occurred - */ - @Override - public int getOldDLFileEntriesCount() throws SystemException { - return oldDLFileEntryPersistence.countAll(); - } - - /** - * Updates the old d l file entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param oldDLFileEntry the old d l file entry - * @return the old d l file entry that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public OldDLFileEntry updateOldDLFileEntry(OldDLFileEntry oldDLFileEntry) - throws SystemException { - return oldDLFileEntryPersistence.update(oldDLFileEntry); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.importazione.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.importazione.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo configurazione local service. - * - * @return the bo configurazione local service - */ - public it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService getBoConfigurazioneLocalService() { - return boConfigurazioneLocalService; - } - - /** - * Sets the bo configurazione local service. - * - * @param boConfigurazioneLocalService the bo configurazione local service - */ - public void setBoConfigurazioneLocalService( - it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService) { - this.boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Returns the bo configurazione persistence. - * - * @return the bo configurazione persistence - */ - public BoConfigurazionePersistence getBoConfigurazionePersistence() { - return boConfigurazionePersistence; - } - - /** - * Sets the bo configurazione persistence. - * - * @param boConfigurazionePersistence the bo configurazione persistence - */ - public void setBoConfigurazionePersistence( - BoConfigurazionePersistence boConfigurazionePersistence) { - this.boConfigurazionePersistence = boConfigurazionePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.importazione.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.importazione.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.importazione.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.importazione.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.importazione.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.importazione.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe provincia local service. - * - * @return the fe provincia local service - */ - public it.tref.liferay.portos.importazione.service.FeProvinciaLocalService getFeProvinciaLocalService() { - return feProvinciaLocalService; - } - - /** - * Sets the fe provincia local service. - * - * @param feProvinciaLocalService the fe provincia local service - */ - public void setFeProvinciaLocalService( - it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService) { - this.feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Returns the fe provincia persistence. - * - * @return the fe provincia persistence - */ - public FeProvinciaPersistence getFeProvinciaPersistence() { - return feProvinciaPersistence; - } - - /** - * Sets the fe provincia persistence. - * - * @param feProvinciaPersistence the fe provincia persistence - */ - public void setFeProvinciaPersistence( - FeProvinciaPersistence feProvinciaPersistence) { - this.feProvinciaPersistence = feProvinciaPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.importazione.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the kaleo instance local service. - * - * @return the kaleo instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService getKaleoInstanceLocalService() { - return kaleoInstanceLocalService; - } - - /** - * Sets the kaleo instance local service. - * - * @param kaleoInstanceLocalService the kaleo instance local service - */ - public void setKaleoInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService) { - this.kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Returns the kaleo instance persistence. - * - * @return the kaleo instance persistence - */ - public KaleoInstancePersistence getKaleoInstancePersistence() { - return kaleoInstancePersistence; - } - - /** - * Sets the kaleo instance persistence. - * - * @param kaleoInstancePersistence the kaleo instance persistence - */ - public void setKaleoInstancePersistence( - KaleoInstancePersistence kaleoInstancePersistence) { - this.kaleoInstancePersistence = kaleoInstancePersistence; - } - - /** - * Returns the kaleo instance token local service. - * - * @return the kaleo instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService getKaleoInstanceTokenLocalService() { - return kaleoInstanceTokenLocalService; - } - - /** - * Sets the kaleo instance token local service. - * - * @param kaleoInstanceTokenLocalService the kaleo instance token local service - */ - public void setKaleoInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - this.kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Returns the kaleo instance token persistence. - * - * @return the kaleo instance token persistence - */ - public KaleoInstanceTokenPersistence getKaleoInstanceTokenPersistence() { - return kaleoInstanceTokenPersistence; - } - - /** - * Sets the kaleo instance token persistence. - * - * @param kaleoInstanceTokenPersistence the kaleo instance token persistence - */ - public void setKaleoInstanceTokenPersistence( - KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence) { - this.kaleoInstanceTokenPersistence = kaleoInstanceTokenPersistence; - } - - /** - * Returns the kaleo log local service. - * - * @return the kaleo log local service - */ - public it.tref.liferay.portos.importazione.service.KaleoLogLocalService getKaleoLogLocalService() { - return kaleoLogLocalService; - } - - /** - * Sets the kaleo log local service. - * - * @param kaleoLogLocalService the kaleo log local service - */ - public void setKaleoLogLocalService( - it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService) { - this.kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Returns the kaleo log persistence. - * - * @return the kaleo log persistence - */ - public KaleoLogPersistence getKaleoLogPersistence() { - return kaleoLogPersistence; - } - - /** - * Sets the kaleo log persistence. - * - * @param kaleoLogPersistence the kaleo log persistence - */ - public void setKaleoLogPersistence(KaleoLogPersistence kaleoLogPersistence) { - this.kaleoLogPersistence = kaleoLogPersistence; - } - - /** - * Returns the kaleo node local service. - * - * @return the kaleo node local service - */ - public it.tref.liferay.portos.importazione.service.KaleoNodeLocalService getKaleoNodeLocalService() { - return kaleoNodeLocalService; - } - - /** - * Sets the kaleo node local service. - * - * @param kaleoNodeLocalService the kaleo node local service - */ - public void setKaleoNodeLocalService( - it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService) { - this.kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Returns the kaleo node persistence. - * - * @return the kaleo node persistence - */ - public KaleoNodePersistence getKaleoNodePersistence() { - return kaleoNodePersistence; - } - - /** - * Sets the kaleo node persistence. - * - * @param kaleoNodePersistence the kaleo node persistence - */ - public void setKaleoNodePersistence( - KaleoNodePersistence kaleoNodePersistence) { - this.kaleoNodePersistence = kaleoNodePersistence; - } - - /** - * Returns the kaleo task local service. - * - * @return the kaleo task local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskLocalService getKaleoTaskLocalService() { - return kaleoTaskLocalService; - } - - /** - * Sets the kaleo task local service. - * - * @param kaleoTaskLocalService the kaleo task local service - */ - public void setKaleoTaskLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService) { - this.kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Returns the kaleo task persistence. - * - * @return the kaleo task persistence - */ - public KaleoTaskPersistence getKaleoTaskPersistence() { - return kaleoTaskPersistence; - } - - /** - * Sets the kaleo task persistence. - * - * @param kaleoTaskPersistence the kaleo task persistence - */ - public void setKaleoTaskPersistence( - KaleoTaskPersistence kaleoTaskPersistence) { - this.kaleoTaskPersistence = kaleoTaskPersistence; - } - - /** - * Returns the kaleo task assignment instance local service. - * - * @return the kaleo task assignment instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService getKaleoTaskAssignmentInstanceLocalService() { - return kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Sets the kaleo task assignment instance local service. - * - * @param kaleoTaskAssignmentInstanceLocalService the kaleo task assignment instance local service - */ - public void setKaleoTaskAssignmentInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - this.kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Returns the kaleo task assignment instance persistence. - * - * @return the kaleo task assignment instance persistence - */ - public KaleoTaskAssignmentInstancePersistence getKaleoTaskAssignmentInstancePersistence() { - return kaleoTaskAssignmentInstancePersistence; - } - - /** - * Sets the kaleo task assignment instance persistence. - * - * @param kaleoTaskAssignmentInstancePersistence the kaleo task assignment instance persistence - */ - public void setKaleoTaskAssignmentInstancePersistence( - KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence) { - this.kaleoTaskAssignmentInstancePersistence = kaleoTaskAssignmentInstancePersistence; - } - - /** - * Returns the kaleo task instance token local service. - * - * @return the kaleo task instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService getKaleoTaskInstanceTokenLocalService() { - return kaleoTaskInstanceTokenLocalService; - } - - /** - * Sets the kaleo task instance token local service. - * - * @param kaleoTaskInstanceTokenLocalService the kaleo task instance token local service - */ - public void setKaleoTaskInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - this.kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Returns the kaleo task instance token persistence. - * - * @return the kaleo task instance token persistence - */ - public KaleoTaskInstanceTokenPersistence getKaleoTaskInstanceTokenPersistence() { - return kaleoTaskInstanceTokenPersistence; - } - - /** - * Sets the kaleo task instance token persistence. - * - * @param kaleoTaskInstanceTokenPersistence the kaleo task instance token persistence - */ - public void setKaleoTaskInstanceTokenPersistence( - KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence) { - this.kaleoTaskInstanceTokenPersistence = kaleoTaskInstanceTokenPersistence; - } - - /** - * Returns the old d l file entry local service. - * - * @return the old d l file entry local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService getOldDLFileEntryLocalService() { - return oldDLFileEntryLocalService; - } - - /** - * Sets the old d l file entry local service. - * - * @param oldDLFileEntryLocalService the old d l file entry local service - */ - public void setOldDLFileEntryLocalService( - it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService) { - this.oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Returns the old d l file entry persistence. - * - * @return the old d l file entry persistence - */ - public OldDLFileEntryPersistence getOldDLFileEntryPersistence() { - return oldDLFileEntryPersistence; - } - - /** - * Sets the old d l file entry persistence. - * - * @param oldDLFileEntryPersistence the old d l file entry persistence - */ - public void setOldDLFileEntryPersistence( - OldDLFileEntryPersistence oldDLFileEntryPersistence) { - this.oldDLFileEntryPersistence = oldDLFileEntryPersistence; - } - - /** - * Returns the old d l folder local service. - * - * @return the old d l folder local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFolderLocalService getOldDLFolderLocalService() { - return oldDLFolderLocalService; - } - - /** - * Sets the old d l folder local service. - * - * @param oldDLFolderLocalService the old d l folder local service - */ - public void setOldDLFolderLocalService( - it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService) { - this.oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Returns the old d l folder persistence. - * - * @return the old d l folder persistence - */ - public OldDLFolderPersistence getOldDLFolderPersistence() { - return oldDLFolderPersistence; - } - - /** - * Sets the old d l folder persistence. - * - * @param oldDLFolderPersistence the old d l folder persistence - */ - public void setOldDLFolderPersistence( - OldDLFolderPersistence oldDLFolderPersistence) { - this.oldDLFolderPersistence = oldDLFolderPersistence; - } - - /** - * Returns the old group local service. - * - * @return the old group local service - */ - public it.tref.liferay.portos.importazione.service.OldGroupLocalService getOldGroupLocalService() { - return oldGroupLocalService; - } - - /** - * Sets the old group local service. - * - * @param oldGroupLocalService the old group local service - */ - public void setOldGroupLocalService( - it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService) { - this.oldGroupLocalService = oldGroupLocalService; - } - - /** - * Returns the old group persistence. - * - * @return the old group persistence - */ - public OldGroupPersistence getOldGroupPersistence() { - return oldGroupPersistence; - } - - /** - * Sets the old group persistence. - * - * @param oldGroupPersistence the old group persistence - */ - public void setOldGroupPersistence(OldGroupPersistence oldGroupPersistence) { - this.oldGroupPersistence = oldGroupPersistence; - } - - /** - * Returns the old organization local service. - * - * @return the old organization local service - */ - public it.tref.liferay.portos.importazione.service.OldOrganizationLocalService getOldOrganizationLocalService() { - return oldOrganizationLocalService; - } - - /** - * Sets the old organization local service. - * - * @param oldOrganizationLocalService the old organization local service - */ - public void setOldOrganizationLocalService( - it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService) { - this.oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Returns the old organization persistence. - * - * @return the old organization persistence - */ - public OldOrganizationPersistence getOldOrganizationPersistence() { - return oldOrganizationPersistence; - } - - /** - * Sets the old organization persistence. - * - * @param oldOrganizationPersistence the old organization persistence - */ - public void setOldOrganizationPersistence( - OldOrganizationPersistence oldOrganizationPersistence) { - this.oldOrganizationPersistence = oldOrganizationPersistence; - } - - /** - * Returns the old role local service. - * - * @return the old role local service - */ - public it.tref.liferay.portos.importazione.service.OldRoleLocalService getOldRoleLocalService() { - return oldRoleLocalService; - } - - /** - * Sets the old role local service. - * - * @param oldRoleLocalService the old role local service - */ - public void setOldRoleLocalService( - it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService) { - this.oldRoleLocalService = oldRoleLocalService; - } - - /** - * Returns the old role persistence. - * - * @return the old role persistence - */ - public OldRolePersistence getOldRolePersistence() { - return oldRolePersistence; - } - - /** - * Sets the old role persistence. - * - * @param oldRolePersistence the old role persistence - */ - public void setOldRolePersistence(OldRolePersistence oldRolePersistence) { - this.oldRolePersistence = oldRolePersistence; - } - - /** - * Returns the old user local service. - * - * @return the old user local service - */ - public it.tref.liferay.portos.importazione.service.OldUserLocalService getOldUserLocalService() { - return oldUserLocalService; - } - - /** - * Sets the old user local service. - * - * @param oldUserLocalService the old user local service - */ - public void setOldUserLocalService( - it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService) { - this.oldUserLocalService = oldUserLocalService; - } - - /** - * Returns the old user persistence. - * - * @return the old user persistence - */ - public OldUserPersistence getOldUserPersistence() { - return oldUserPersistence; - } - - /** - * Sets the old user persistence. - * - * @param oldUserPersistence the old user persistence - */ - public void setOldUserPersistence(OldUserPersistence oldUserPersistence) { - this.oldUserPersistence = oldUserPersistence; - } - - /** - * Returns the old user group local service. - * - * @return the old user group local service - */ - public it.tref.liferay.portos.importazione.service.OldUserGroupLocalService getOldUserGroupLocalService() { - return oldUserGroupLocalService; - } - - /** - * Sets the old user group local service. - * - * @param oldUserGroupLocalService the old user group local service - */ - public void setOldUserGroupLocalService( - it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService) { - this.oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Returns the old user group persistence. - * - * @return the old user group persistence - */ - public OldUserGroupPersistence getOldUserGroupPersistence() { - return oldUserGroupPersistence; - } - - /** - * Sets the old user group persistence. - * - * @param oldUserGroupPersistence the old user group persistence - */ - public void setOldUserGroupPersistence( - OldUserGroupPersistence oldUserGroupPersistence) { - this.oldUserGroupPersistence = oldUserGroupPersistence; - } - - /** - * Returns the old user group finder. - * - * @return the old user group finder - */ - public OldUserGroupFinder getOldUserGroupFinder() { - return oldUserGroupFinder; - } - - /** - * Sets the old user group finder. - * - * @param oldUserGroupFinder the old user group finder - */ - public void setOldUserGroupFinder(OldUserGroupFinder oldUserGroupFinder) { - this.oldUserGroupFinder = oldUserGroupFinder; - } - - /** - * Returns the procedura importazione local service. - * - * @return the procedura importazione local service - */ - public it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService getProceduraImportazioneLocalService() { - return proceduraImportazioneLocalService; - } - - /** - * Sets the procedura importazione local service. - * - * @param proceduraImportazioneLocalService the procedura importazione local service - */ - public void setProceduraImportazioneLocalService( - it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - this.proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Returns the procedura importazione persistence. - * - * @return the procedura importazione persistence - */ - public ProceduraImportazionePersistence getProceduraImportazionePersistence() { - return proceduraImportazionePersistence; - } - - /** - * Sets the procedura importazione persistence. - * - * @param proceduraImportazionePersistence the procedura importazione persistence - */ - public void setProceduraImportazionePersistence( - ProceduraImportazionePersistence proceduraImportazionePersistence) { - this.proceduraImportazionePersistence = proceduraImportazionePersistence; - } - - /** - * Returns the stato importazione local service. - * - * @return the stato importazione local service - */ - public it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService getStatoImportazioneLocalService() { - return statoImportazioneLocalService; - } - - /** - * Sets the stato importazione local service. - * - * @param statoImportazioneLocalService the stato importazione local service - */ - public void setStatoImportazioneLocalService( - it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService) { - this.statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Returns the stato importazione persistence. - * - * @return the stato importazione persistence - */ - public StatoImportazionePersistence getStatoImportazionePersistence() { - return statoImportazionePersistence; - } - - /** - * Sets the stato importazione persistence. - * - * @param statoImportazionePersistence the stato importazione persistence - */ - public void setStatoImportazionePersistence( - StatoImportazionePersistence statoImportazionePersistence) { - this.statoImportazionePersistence = statoImportazionePersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.importazione.model.OldDLFileEntry", - oldDLFileEntryLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.importazione.model.OldDLFileEntry"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return OldDLFileEntry.class; - } - - protected String getModelClassName() { - return OldDLFileEntry.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = oldDLFileEntryPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService; - @BeanReference(type = BoConfigurazionePersistence.class) - protected BoConfigurazionePersistence boConfigurazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeProvinciaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService; - @BeanReference(type = FeProvinciaPersistence.class) - protected FeProvinciaPersistence feProvinciaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService; - @BeanReference(type = KaleoInstancePersistence.class) - protected KaleoInstancePersistence kaleoInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService; - @BeanReference(type = KaleoInstanceTokenPersistence.class) - protected KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoLogLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService; - @BeanReference(type = KaleoLogPersistence.class) - protected KaleoLogPersistence kaleoLogPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoNodeLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService; - @BeanReference(type = KaleoNodePersistence.class) - protected KaleoNodePersistence kaleoNodePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService; - @BeanReference(type = KaleoTaskPersistence.class) - protected KaleoTaskPersistence kaleoTaskPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService; - @BeanReference(type = KaleoTaskAssignmentInstancePersistence.class) - protected KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService; - @BeanReference(type = KaleoTaskInstanceTokenPersistence.class) - protected KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService; - @BeanReference(type = OldDLFileEntryPersistence.class) - protected OldDLFileEntryPersistence oldDLFileEntryPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFolderLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService; - @BeanReference(type = OldDLFolderPersistence.class) - protected OldDLFolderPersistence oldDLFolderPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService; - @BeanReference(type = OldGroupPersistence.class) - protected OldGroupPersistence oldGroupPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldOrganizationLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService; - @BeanReference(type = OldOrganizationPersistence.class) - protected OldOrganizationPersistence oldOrganizationPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldRoleLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService; - @BeanReference(type = OldRolePersistence.class) - protected OldRolePersistence oldRolePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService; - @BeanReference(type = OldUserPersistence.class) - protected OldUserPersistence oldUserPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService; - @BeanReference(type = OldUserGroupPersistence.class) - protected OldUserGroupPersistence oldUserGroupPersistence; - @BeanReference(type = OldUserGroupFinder.class) - protected OldUserGroupFinder oldUserGroupFinder; - @BeanReference(type = it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService; - @BeanReference(type = ProceduraImportazionePersistence.class) - protected ProceduraImportazionePersistence proceduraImportazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService; - @BeanReference(type = StatoImportazionePersistence.class) - protected StatoImportazionePersistence statoImportazionePersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private OldDLFileEntryLocalServiceClpInvoker _clpInvoker = new OldDLFileEntryLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldDLFileEntryLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldDLFileEntryLocalServiceClpInvoker.java deleted file mode 100644 index 6c786a37..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldDLFileEntryLocalServiceClpInvoker.java +++ /dev/null @@ -1,282 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author 3FC - * @generated - */ -public class OldDLFileEntryLocalServiceClpInvoker { - public OldDLFileEntryLocalServiceClpInvoker() { - _methodName0 = "addOldDLFileEntry"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.OldDLFileEntry" - }; - - _methodName1 = "createOldDLFileEntry"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteOldDLFileEntry"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteOldDLFileEntry"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.OldDLFileEntry" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchOldDLFileEntry"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getOldDLFileEntry"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getOldDLFileEntries"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getOldDLFileEntriesCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateOldDLFileEntry"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.OldDLFileEntry" - }; - - _methodName178 = "getBeanIdentifier"; - - _methodParameterTypes178 = new String[] { }; - - _methodName179 = "setBeanIdentifier"; - - _methodParameterTypes179 = new String[] { "java.lang.String" }; - - _methodName184 = "findByRepId_ParentId"; - - _methodParameterTypes184 = new String[] { "long", "long" }; - - _methodName185 = "findByGroupId_FolderId"; - - _methodParameterTypes185 = new String[] { "long", "long" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return OldDLFileEntryLocalServiceUtil.addOldDLFileEntry((it.tref.liferay.portos.importazione.model.OldDLFileEntry)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return OldDLFileEntryLocalServiceUtil.createOldDLFileEntry(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return OldDLFileEntryLocalServiceUtil.deleteOldDLFileEntry(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return OldDLFileEntryLocalServiceUtil.deleteOldDLFileEntry((it.tref.liferay.portos.importazione.model.OldDLFileEntry)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return OldDLFileEntryLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return OldDLFileEntryLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return OldDLFileEntryLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return OldDLFileEntryLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return OldDLFileEntryLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return OldDLFileEntryLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return OldDLFileEntryLocalServiceUtil.fetchOldDLFileEntry(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return OldDLFileEntryLocalServiceUtil.getOldDLFileEntry(((Long)arguments[0]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return OldDLFileEntryLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return OldDLFileEntryLocalServiceUtil.getOldDLFileEntries(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return OldDLFileEntryLocalServiceUtil.getOldDLFileEntriesCount(); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return OldDLFileEntryLocalServiceUtil.updateOldDLFileEntry((it.tref.liferay.portos.importazione.model.OldDLFileEntry)arguments[0]); - } - - if (_methodName178.equals(name) && - Arrays.deepEquals(_methodParameterTypes178, parameterTypes)) { - return OldDLFileEntryLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName179.equals(name) && - Arrays.deepEquals(_methodParameterTypes179, parameterTypes)) { - OldDLFileEntryLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - if (_methodName184.equals(name) && - Arrays.deepEquals(_methodParameterTypes184, parameterTypes)) { - return OldDLFileEntryLocalServiceUtil.findByRepId_ParentId(((Long)arguments[0]).longValue(), - ((Long)arguments[1]).longValue()); - } - - if (_methodName185.equals(name) && - Arrays.deepEquals(_methodParameterTypes185, parameterTypes)) { - return OldDLFileEntryLocalServiceUtil.findByGroupId_FolderId(((Long)arguments[0]).longValue(), - ((Long)arguments[1]).longValue()); - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName178; - private String[] _methodParameterTypes178; - private String _methodName179; - private String[] _methodParameterTypes179; - private String _methodName184; - private String[] _methodParameterTypes184; - private String _methodName185; - private String[] _methodParameterTypes185; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldDLFolderLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldDLFolderLocalServiceBaseImpl.java deleted file mode 100644 index b79bcdc6..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldDLFolderLocalServiceBaseImpl.java +++ /dev/null @@ -1,2076 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.importazione.model.OldDLFolder; -import it.tref.liferay.portos.importazione.service.OldDLFolderLocalService; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinder; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the old d l folder local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.importazione.service.impl.OldDLFolderLocalServiceImpl}. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.impl.OldDLFolderLocalServiceImpl - * @see it.tref.liferay.portos.importazione.service.OldDLFolderLocalServiceUtil - * @generated - */ -public abstract class OldDLFolderLocalServiceBaseImpl - extends BaseLocalServiceImpl implements OldDLFolderLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.importazione.service.OldDLFolderLocalServiceUtil} to access the old d l folder local service. - */ - - /** - * Adds the old d l folder to the database. Also notifies the appropriate model listeners. - * - * @param oldDLFolder the old d l folder - * @return the old d l folder that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public OldDLFolder addOldDLFolder(OldDLFolder oldDLFolder) - throws SystemException { - oldDLFolder.setNew(true); - - return oldDLFolderPersistence.update(oldDLFolder); - } - - /** - * Creates a new old d l folder with the primary key. Does not add the old d l folder to the database. - * - * @param folderId the primary key for the new old d l folder - * @return the new old d l folder - */ - @Override - public OldDLFolder createOldDLFolder(long folderId) { - return oldDLFolderPersistence.create(folderId); - } - - /** - * Deletes the old d l folder with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param folderId the primary key of the old d l folder - * @return the old d l folder that was removed - * @throws PortalException if a old d l folder with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public OldDLFolder deleteOldDLFolder(long folderId) - throws PortalException, SystemException { - return oldDLFolderPersistence.remove(folderId); - } - - /** - * Deletes the old d l folder from the database. Also notifies the appropriate model listeners. - * - * @param oldDLFolder the old d l folder - * @return the old d l folder that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public OldDLFolder deleteOldDLFolder(OldDLFolder oldDLFolder) - throws SystemException { - return oldDLFolderPersistence.remove(oldDLFolder); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(OldDLFolder.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return oldDLFolderPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFolderModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return oldDLFolderPersistence.findWithDynamicQuery(dynamicQuery, start, - end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFolderModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return oldDLFolderPersistence.findWithDynamicQuery(dynamicQuery, start, - end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return oldDLFolderPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return oldDLFolderPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public OldDLFolder fetchOldDLFolder(long folderId) - throws SystemException { - return oldDLFolderPersistence.fetchByPrimaryKey(folderId); - } - - /** - * Returns the old d l folder with the primary key. - * - * @param folderId the primary key of the old d l folder - * @return the old d l folder - * @throws PortalException if a old d l folder with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldDLFolder getOldDLFolder(long folderId) - throws PortalException, SystemException { - return oldDLFolderPersistence.findByPrimaryKey(folderId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return oldDLFolderPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns a range of all the old d l folders. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFolderModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old d l folders - * @param end the upper bound of the range of old d l folders (not inclusive) - * @return the range of old d l folders - * @throws SystemException if a system exception occurred - */ - @Override - public List getOldDLFolders(int start, int end) - throws SystemException { - return oldDLFolderPersistence.findAll(start, end); - } - - /** - * Returns the number of old d l folders. - * - * @return the number of old d l folders - * @throws SystemException if a system exception occurred - */ - @Override - public int getOldDLFoldersCount() throws SystemException { - return oldDLFolderPersistence.countAll(); - } - - /** - * Updates the old d l folder in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param oldDLFolder the old d l folder - * @return the old d l folder that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public OldDLFolder updateOldDLFolder(OldDLFolder oldDLFolder) - throws SystemException { - return oldDLFolderPersistence.update(oldDLFolder); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.importazione.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.importazione.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo configurazione local service. - * - * @return the bo configurazione local service - */ - public it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService getBoConfigurazioneLocalService() { - return boConfigurazioneLocalService; - } - - /** - * Sets the bo configurazione local service. - * - * @param boConfigurazioneLocalService the bo configurazione local service - */ - public void setBoConfigurazioneLocalService( - it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService) { - this.boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Returns the bo configurazione persistence. - * - * @return the bo configurazione persistence - */ - public BoConfigurazionePersistence getBoConfigurazionePersistence() { - return boConfigurazionePersistence; - } - - /** - * Sets the bo configurazione persistence. - * - * @param boConfigurazionePersistence the bo configurazione persistence - */ - public void setBoConfigurazionePersistence( - BoConfigurazionePersistence boConfigurazionePersistence) { - this.boConfigurazionePersistence = boConfigurazionePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.importazione.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.importazione.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.importazione.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.importazione.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.importazione.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.importazione.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe provincia local service. - * - * @return the fe provincia local service - */ - public it.tref.liferay.portos.importazione.service.FeProvinciaLocalService getFeProvinciaLocalService() { - return feProvinciaLocalService; - } - - /** - * Sets the fe provincia local service. - * - * @param feProvinciaLocalService the fe provincia local service - */ - public void setFeProvinciaLocalService( - it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService) { - this.feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Returns the fe provincia persistence. - * - * @return the fe provincia persistence - */ - public FeProvinciaPersistence getFeProvinciaPersistence() { - return feProvinciaPersistence; - } - - /** - * Sets the fe provincia persistence. - * - * @param feProvinciaPersistence the fe provincia persistence - */ - public void setFeProvinciaPersistence( - FeProvinciaPersistence feProvinciaPersistence) { - this.feProvinciaPersistence = feProvinciaPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.importazione.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the kaleo instance local service. - * - * @return the kaleo instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService getKaleoInstanceLocalService() { - return kaleoInstanceLocalService; - } - - /** - * Sets the kaleo instance local service. - * - * @param kaleoInstanceLocalService the kaleo instance local service - */ - public void setKaleoInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService) { - this.kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Returns the kaleo instance persistence. - * - * @return the kaleo instance persistence - */ - public KaleoInstancePersistence getKaleoInstancePersistence() { - return kaleoInstancePersistence; - } - - /** - * Sets the kaleo instance persistence. - * - * @param kaleoInstancePersistence the kaleo instance persistence - */ - public void setKaleoInstancePersistence( - KaleoInstancePersistence kaleoInstancePersistence) { - this.kaleoInstancePersistence = kaleoInstancePersistence; - } - - /** - * Returns the kaleo instance token local service. - * - * @return the kaleo instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService getKaleoInstanceTokenLocalService() { - return kaleoInstanceTokenLocalService; - } - - /** - * Sets the kaleo instance token local service. - * - * @param kaleoInstanceTokenLocalService the kaleo instance token local service - */ - public void setKaleoInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - this.kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Returns the kaleo instance token persistence. - * - * @return the kaleo instance token persistence - */ - public KaleoInstanceTokenPersistence getKaleoInstanceTokenPersistence() { - return kaleoInstanceTokenPersistence; - } - - /** - * Sets the kaleo instance token persistence. - * - * @param kaleoInstanceTokenPersistence the kaleo instance token persistence - */ - public void setKaleoInstanceTokenPersistence( - KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence) { - this.kaleoInstanceTokenPersistence = kaleoInstanceTokenPersistence; - } - - /** - * Returns the kaleo log local service. - * - * @return the kaleo log local service - */ - public it.tref.liferay.portos.importazione.service.KaleoLogLocalService getKaleoLogLocalService() { - return kaleoLogLocalService; - } - - /** - * Sets the kaleo log local service. - * - * @param kaleoLogLocalService the kaleo log local service - */ - public void setKaleoLogLocalService( - it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService) { - this.kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Returns the kaleo log persistence. - * - * @return the kaleo log persistence - */ - public KaleoLogPersistence getKaleoLogPersistence() { - return kaleoLogPersistence; - } - - /** - * Sets the kaleo log persistence. - * - * @param kaleoLogPersistence the kaleo log persistence - */ - public void setKaleoLogPersistence(KaleoLogPersistence kaleoLogPersistence) { - this.kaleoLogPersistence = kaleoLogPersistence; - } - - /** - * Returns the kaleo node local service. - * - * @return the kaleo node local service - */ - public it.tref.liferay.portos.importazione.service.KaleoNodeLocalService getKaleoNodeLocalService() { - return kaleoNodeLocalService; - } - - /** - * Sets the kaleo node local service. - * - * @param kaleoNodeLocalService the kaleo node local service - */ - public void setKaleoNodeLocalService( - it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService) { - this.kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Returns the kaleo node persistence. - * - * @return the kaleo node persistence - */ - public KaleoNodePersistence getKaleoNodePersistence() { - return kaleoNodePersistence; - } - - /** - * Sets the kaleo node persistence. - * - * @param kaleoNodePersistence the kaleo node persistence - */ - public void setKaleoNodePersistence( - KaleoNodePersistence kaleoNodePersistence) { - this.kaleoNodePersistence = kaleoNodePersistence; - } - - /** - * Returns the kaleo task local service. - * - * @return the kaleo task local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskLocalService getKaleoTaskLocalService() { - return kaleoTaskLocalService; - } - - /** - * Sets the kaleo task local service. - * - * @param kaleoTaskLocalService the kaleo task local service - */ - public void setKaleoTaskLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService) { - this.kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Returns the kaleo task persistence. - * - * @return the kaleo task persistence - */ - public KaleoTaskPersistence getKaleoTaskPersistence() { - return kaleoTaskPersistence; - } - - /** - * Sets the kaleo task persistence. - * - * @param kaleoTaskPersistence the kaleo task persistence - */ - public void setKaleoTaskPersistence( - KaleoTaskPersistence kaleoTaskPersistence) { - this.kaleoTaskPersistence = kaleoTaskPersistence; - } - - /** - * Returns the kaleo task assignment instance local service. - * - * @return the kaleo task assignment instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService getKaleoTaskAssignmentInstanceLocalService() { - return kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Sets the kaleo task assignment instance local service. - * - * @param kaleoTaskAssignmentInstanceLocalService the kaleo task assignment instance local service - */ - public void setKaleoTaskAssignmentInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - this.kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Returns the kaleo task assignment instance persistence. - * - * @return the kaleo task assignment instance persistence - */ - public KaleoTaskAssignmentInstancePersistence getKaleoTaskAssignmentInstancePersistence() { - return kaleoTaskAssignmentInstancePersistence; - } - - /** - * Sets the kaleo task assignment instance persistence. - * - * @param kaleoTaskAssignmentInstancePersistence the kaleo task assignment instance persistence - */ - public void setKaleoTaskAssignmentInstancePersistence( - KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence) { - this.kaleoTaskAssignmentInstancePersistence = kaleoTaskAssignmentInstancePersistence; - } - - /** - * Returns the kaleo task instance token local service. - * - * @return the kaleo task instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService getKaleoTaskInstanceTokenLocalService() { - return kaleoTaskInstanceTokenLocalService; - } - - /** - * Sets the kaleo task instance token local service. - * - * @param kaleoTaskInstanceTokenLocalService the kaleo task instance token local service - */ - public void setKaleoTaskInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - this.kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Returns the kaleo task instance token persistence. - * - * @return the kaleo task instance token persistence - */ - public KaleoTaskInstanceTokenPersistence getKaleoTaskInstanceTokenPersistence() { - return kaleoTaskInstanceTokenPersistence; - } - - /** - * Sets the kaleo task instance token persistence. - * - * @param kaleoTaskInstanceTokenPersistence the kaleo task instance token persistence - */ - public void setKaleoTaskInstanceTokenPersistence( - KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence) { - this.kaleoTaskInstanceTokenPersistence = kaleoTaskInstanceTokenPersistence; - } - - /** - * Returns the old d l file entry local service. - * - * @return the old d l file entry local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService getOldDLFileEntryLocalService() { - return oldDLFileEntryLocalService; - } - - /** - * Sets the old d l file entry local service. - * - * @param oldDLFileEntryLocalService the old d l file entry local service - */ - public void setOldDLFileEntryLocalService( - it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService) { - this.oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Returns the old d l file entry persistence. - * - * @return the old d l file entry persistence - */ - public OldDLFileEntryPersistence getOldDLFileEntryPersistence() { - return oldDLFileEntryPersistence; - } - - /** - * Sets the old d l file entry persistence. - * - * @param oldDLFileEntryPersistence the old d l file entry persistence - */ - public void setOldDLFileEntryPersistence( - OldDLFileEntryPersistence oldDLFileEntryPersistence) { - this.oldDLFileEntryPersistence = oldDLFileEntryPersistence; - } - - /** - * Returns the old d l folder local service. - * - * @return the old d l folder local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFolderLocalService getOldDLFolderLocalService() { - return oldDLFolderLocalService; - } - - /** - * Sets the old d l folder local service. - * - * @param oldDLFolderLocalService the old d l folder local service - */ - public void setOldDLFolderLocalService( - it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService) { - this.oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Returns the old d l folder persistence. - * - * @return the old d l folder persistence - */ - public OldDLFolderPersistence getOldDLFolderPersistence() { - return oldDLFolderPersistence; - } - - /** - * Sets the old d l folder persistence. - * - * @param oldDLFolderPersistence the old d l folder persistence - */ - public void setOldDLFolderPersistence( - OldDLFolderPersistence oldDLFolderPersistence) { - this.oldDLFolderPersistence = oldDLFolderPersistence; - } - - /** - * Returns the old group local service. - * - * @return the old group local service - */ - public it.tref.liferay.portos.importazione.service.OldGroupLocalService getOldGroupLocalService() { - return oldGroupLocalService; - } - - /** - * Sets the old group local service. - * - * @param oldGroupLocalService the old group local service - */ - public void setOldGroupLocalService( - it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService) { - this.oldGroupLocalService = oldGroupLocalService; - } - - /** - * Returns the old group persistence. - * - * @return the old group persistence - */ - public OldGroupPersistence getOldGroupPersistence() { - return oldGroupPersistence; - } - - /** - * Sets the old group persistence. - * - * @param oldGroupPersistence the old group persistence - */ - public void setOldGroupPersistence(OldGroupPersistence oldGroupPersistence) { - this.oldGroupPersistence = oldGroupPersistence; - } - - /** - * Returns the old organization local service. - * - * @return the old organization local service - */ - public it.tref.liferay.portos.importazione.service.OldOrganizationLocalService getOldOrganizationLocalService() { - return oldOrganizationLocalService; - } - - /** - * Sets the old organization local service. - * - * @param oldOrganizationLocalService the old organization local service - */ - public void setOldOrganizationLocalService( - it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService) { - this.oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Returns the old organization persistence. - * - * @return the old organization persistence - */ - public OldOrganizationPersistence getOldOrganizationPersistence() { - return oldOrganizationPersistence; - } - - /** - * Sets the old organization persistence. - * - * @param oldOrganizationPersistence the old organization persistence - */ - public void setOldOrganizationPersistence( - OldOrganizationPersistence oldOrganizationPersistence) { - this.oldOrganizationPersistence = oldOrganizationPersistence; - } - - /** - * Returns the old role local service. - * - * @return the old role local service - */ - public it.tref.liferay.portos.importazione.service.OldRoleLocalService getOldRoleLocalService() { - return oldRoleLocalService; - } - - /** - * Sets the old role local service. - * - * @param oldRoleLocalService the old role local service - */ - public void setOldRoleLocalService( - it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService) { - this.oldRoleLocalService = oldRoleLocalService; - } - - /** - * Returns the old role persistence. - * - * @return the old role persistence - */ - public OldRolePersistence getOldRolePersistence() { - return oldRolePersistence; - } - - /** - * Sets the old role persistence. - * - * @param oldRolePersistence the old role persistence - */ - public void setOldRolePersistence(OldRolePersistence oldRolePersistence) { - this.oldRolePersistence = oldRolePersistence; - } - - /** - * Returns the old user local service. - * - * @return the old user local service - */ - public it.tref.liferay.portos.importazione.service.OldUserLocalService getOldUserLocalService() { - return oldUserLocalService; - } - - /** - * Sets the old user local service. - * - * @param oldUserLocalService the old user local service - */ - public void setOldUserLocalService( - it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService) { - this.oldUserLocalService = oldUserLocalService; - } - - /** - * Returns the old user persistence. - * - * @return the old user persistence - */ - public OldUserPersistence getOldUserPersistence() { - return oldUserPersistence; - } - - /** - * Sets the old user persistence. - * - * @param oldUserPersistence the old user persistence - */ - public void setOldUserPersistence(OldUserPersistence oldUserPersistence) { - this.oldUserPersistence = oldUserPersistence; - } - - /** - * Returns the old user group local service. - * - * @return the old user group local service - */ - public it.tref.liferay.portos.importazione.service.OldUserGroupLocalService getOldUserGroupLocalService() { - return oldUserGroupLocalService; - } - - /** - * Sets the old user group local service. - * - * @param oldUserGroupLocalService the old user group local service - */ - public void setOldUserGroupLocalService( - it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService) { - this.oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Returns the old user group persistence. - * - * @return the old user group persistence - */ - public OldUserGroupPersistence getOldUserGroupPersistence() { - return oldUserGroupPersistence; - } - - /** - * Sets the old user group persistence. - * - * @param oldUserGroupPersistence the old user group persistence - */ - public void setOldUserGroupPersistence( - OldUserGroupPersistence oldUserGroupPersistence) { - this.oldUserGroupPersistence = oldUserGroupPersistence; - } - - /** - * Returns the old user group finder. - * - * @return the old user group finder - */ - public OldUserGroupFinder getOldUserGroupFinder() { - return oldUserGroupFinder; - } - - /** - * Sets the old user group finder. - * - * @param oldUserGroupFinder the old user group finder - */ - public void setOldUserGroupFinder(OldUserGroupFinder oldUserGroupFinder) { - this.oldUserGroupFinder = oldUserGroupFinder; - } - - /** - * Returns the procedura importazione local service. - * - * @return the procedura importazione local service - */ - public it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService getProceduraImportazioneLocalService() { - return proceduraImportazioneLocalService; - } - - /** - * Sets the procedura importazione local service. - * - * @param proceduraImportazioneLocalService the procedura importazione local service - */ - public void setProceduraImportazioneLocalService( - it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - this.proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Returns the procedura importazione persistence. - * - * @return the procedura importazione persistence - */ - public ProceduraImportazionePersistence getProceduraImportazionePersistence() { - return proceduraImportazionePersistence; - } - - /** - * Sets the procedura importazione persistence. - * - * @param proceduraImportazionePersistence the procedura importazione persistence - */ - public void setProceduraImportazionePersistence( - ProceduraImportazionePersistence proceduraImportazionePersistence) { - this.proceduraImportazionePersistence = proceduraImportazionePersistence; - } - - /** - * Returns the stato importazione local service. - * - * @return the stato importazione local service - */ - public it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService getStatoImportazioneLocalService() { - return statoImportazioneLocalService; - } - - /** - * Sets the stato importazione local service. - * - * @param statoImportazioneLocalService the stato importazione local service - */ - public void setStatoImportazioneLocalService( - it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService) { - this.statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Returns the stato importazione persistence. - * - * @return the stato importazione persistence - */ - public StatoImportazionePersistence getStatoImportazionePersistence() { - return statoImportazionePersistence; - } - - /** - * Sets the stato importazione persistence. - * - * @param statoImportazionePersistence the stato importazione persistence - */ - public void setStatoImportazionePersistence( - StatoImportazionePersistence statoImportazionePersistence) { - this.statoImportazionePersistence = statoImportazionePersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.importazione.model.OldDLFolder", - oldDLFolderLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.importazione.model.OldDLFolder"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return OldDLFolder.class; - } - - protected String getModelClassName() { - return OldDLFolder.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = oldDLFolderPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService; - @BeanReference(type = BoConfigurazionePersistence.class) - protected BoConfigurazionePersistence boConfigurazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeProvinciaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService; - @BeanReference(type = FeProvinciaPersistence.class) - protected FeProvinciaPersistence feProvinciaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService; - @BeanReference(type = KaleoInstancePersistence.class) - protected KaleoInstancePersistence kaleoInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService; - @BeanReference(type = KaleoInstanceTokenPersistence.class) - protected KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoLogLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService; - @BeanReference(type = KaleoLogPersistence.class) - protected KaleoLogPersistence kaleoLogPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoNodeLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService; - @BeanReference(type = KaleoNodePersistence.class) - protected KaleoNodePersistence kaleoNodePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService; - @BeanReference(type = KaleoTaskPersistence.class) - protected KaleoTaskPersistence kaleoTaskPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService; - @BeanReference(type = KaleoTaskAssignmentInstancePersistence.class) - protected KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService; - @BeanReference(type = KaleoTaskInstanceTokenPersistence.class) - protected KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService; - @BeanReference(type = OldDLFileEntryPersistence.class) - protected OldDLFileEntryPersistence oldDLFileEntryPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFolderLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService; - @BeanReference(type = OldDLFolderPersistence.class) - protected OldDLFolderPersistence oldDLFolderPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService; - @BeanReference(type = OldGroupPersistence.class) - protected OldGroupPersistence oldGroupPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldOrganizationLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService; - @BeanReference(type = OldOrganizationPersistence.class) - protected OldOrganizationPersistence oldOrganizationPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldRoleLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService; - @BeanReference(type = OldRolePersistence.class) - protected OldRolePersistence oldRolePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService; - @BeanReference(type = OldUserPersistence.class) - protected OldUserPersistence oldUserPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService; - @BeanReference(type = OldUserGroupPersistence.class) - protected OldUserGroupPersistence oldUserGroupPersistence; - @BeanReference(type = OldUserGroupFinder.class) - protected OldUserGroupFinder oldUserGroupFinder; - @BeanReference(type = it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService; - @BeanReference(type = ProceduraImportazionePersistence.class) - protected ProceduraImportazionePersistence proceduraImportazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService; - @BeanReference(type = StatoImportazionePersistence.class) - protected StatoImportazionePersistence statoImportazionePersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private OldDLFolderLocalServiceClpInvoker _clpInvoker = new OldDLFolderLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldDLFolderLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldDLFolderLocalServiceClpInvoker.java deleted file mode 100644 index 2e30001c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldDLFolderLocalServiceClpInvoker.java +++ /dev/null @@ -1,272 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import it.tref.liferay.portos.importazione.service.OldDLFolderLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author 3FC - * @generated - */ -public class OldDLFolderLocalServiceClpInvoker { - public OldDLFolderLocalServiceClpInvoker() { - _methodName0 = "addOldDLFolder"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.OldDLFolder" - }; - - _methodName1 = "createOldDLFolder"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteOldDLFolder"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteOldDLFolder"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.OldDLFolder" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchOldDLFolder"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getOldDLFolder"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getOldDLFolders"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getOldDLFoldersCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateOldDLFolder"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.OldDLFolder" - }; - - _methodName178 = "getBeanIdentifier"; - - _methodParameterTypes178 = new String[] { }; - - _methodName179 = "setBeanIdentifier"; - - _methodParameterTypes179 = new String[] { "java.lang.String" }; - - _methodName184 = "fetchByRepId_ParentId_Name"; - - _methodParameterTypes184 = new String[] { - "long", "long", "java.lang.String" - }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return OldDLFolderLocalServiceUtil.addOldDLFolder((it.tref.liferay.portos.importazione.model.OldDLFolder)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return OldDLFolderLocalServiceUtil.createOldDLFolder(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return OldDLFolderLocalServiceUtil.deleteOldDLFolder(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return OldDLFolderLocalServiceUtil.deleteOldDLFolder((it.tref.liferay.portos.importazione.model.OldDLFolder)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return OldDLFolderLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return OldDLFolderLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return OldDLFolderLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return OldDLFolderLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return OldDLFolderLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return OldDLFolderLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return OldDLFolderLocalServiceUtil.fetchOldDLFolder(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return OldDLFolderLocalServiceUtil.getOldDLFolder(((Long)arguments[0]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return OldDLFolderLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return OldDLFolderLocalServiceUtil.getOldDLFolders(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return OldDLFolderLocalServiceUtil.getOldDLFoldersCount(); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return OldDLFolderLocalServiceUtil.updateOldDLFolder((it.tref.liferay.portos.importazione.model.OldDLFolder)arguments[0]); - } - - if (_methodName178.equals(name) && - Arrays.deepEquals(_methodParameterTypes178, parameterTypes)) { - return OldDLFolderLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName179.equals(name) && - Arrays.deepEquals(_methodParameterTypes179, parameterTypes)) { - OldDLFolderLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - if (_methodName184.equals(name) && - Arrays.deepEquals(_methodParameterTypes184, parameterTypes)) { - return OldDLFolderLocalServiceUtil.fetchByRepId_ParentId_Name(((Long)arguments[0]).longValue(), - ((Long)arguments[1]).longValue(), (java.lang.String)arguments[2]); - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName178; - private String[] _methodParameterTypes178; - private String _methodName179; - private String[] _methodParameterTypes179; - private String _methodName184; - private String[] _methodParameterTypes184; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldGroupLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldGroupLocalServiceBaseImpl.java deleted file mode 100644 index ab95e4b4..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldGroupLocalServiceBaseImpl.java +++ /dev/null @@ -1,2070 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.importazione.model.OldGroup; -import it.tref.liferay.portos.importazione.service.OldGroupLocalService; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinder; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the old group local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.importazione.service.impl.OldGroupLocalServiceImpl}. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.impl.OldGroupLocalServiceImpl - * @see it.tref.liferay.portos.importazione.service.OldGroupLocalServiceUtil - * @generated - */ -public abstract class OldGroupLocalServiceBaseImpl extends BaseLocalServiceImpl - implements OldGroupLocalService, IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.importazione.service.OldGroupLocalServiceUtil} to access the old group local service. - */ - - /** - * Adds the old group to the database. Also notifies the appropriate model listeners. - * - * @param oldGroup the old group - * @return the old group that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public OldGroup addOldGroup(OldGroup oldGroup) throws SystemException { - oldGroup.setNew(true); - - return oldGroupPersistence.update(oldGroup); - } - - /** - * Creates a new old group with the primary key. Does not add the old group to the database. - * - * @param groupId the primary key for the new old group - * @return the new old group - */ - @Override - public OldGroup createOldGroup(long groupId) { - return oldGroupPersistence.create(groupId); - } - - /** - * Deletes the old group with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param groupId the primary key of the old group - * @return the old group that was removed - * @throws PortalException if a old group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public OldGroup deleteOldGroup(long groupId) - throws PortalException, SystemException { - return oldGroupPersistence.remove(groupId); - } - - /** - * Deletes the old group from the database. Also notifies the appropriate model listeners. - * - * @param oldGroup the old group - * @return the old group that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public OldGroup deleteOldGroup(OldGroup oldGroup) throws SystemException { - return oldGroupPersistence.remove(oldGroup); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(OldGroup.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return oldGroupPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldGroupModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return oldGroupPersistence.findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldGroupModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return oldGroupPersistence.findWithDynamicQuery(dynamicQuery, start, - end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return oldGroupPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return oldGroupPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public OldGroup fetchOldGroup(long groupId) throws SystemException { - return oldGroupPersistence.fetchByPrimaryKey(groupId); - } - - /** - * Returns the old group with the primary key. - * - * @param groupId the primary key of the old group - * @return the old group - * @throws PortalException if a old group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldGroup getOldGroup(long groupId) - throws PortalException, SystemException { - return oldGroupPersistence.findByPrimaryKey(groupId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return oldGroupPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns a range of all the old groups. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldGroupModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old groups - * @param end the upper bound of the range of old groups (not inclusive) - * @return the range of old groups - * @throws SystemException if a system exception occurred - */ - @Override - public List getOldGroups(int start, int end) - throws SystemException { - return oldGroupPersistence.findAll(start, end); - } - - /** - * Returns the number of old groups. - * - * @return the number of old groups - * @throws SystemException if a system exception occurred - */ - @Override - public int getOldGroupsCount() throws SystemException { - return oldGroupPersistence.countAll(); - } - - /** - * Updates the old group in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param oldGroup the old group - * @return the old group that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public OldGroup updateOldGroup(OldGroup oldGroup) throws SystemException { - return oldGroupPersistence.update(oldGroup); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.importazione.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.importazione.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo configurazione local service. - * - * @return the bo configurazione local service - */ - public it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService getBoConfigurazioneLocalService() { - return boConfigurazioneLocalService; - } - - /** - * Sets the bo configurazione local service. - * - * @param boConfigurazioneLocalService the bo configurazione local service - */ - public void setBoConfigurazioneLocalService( - it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService) { - this.boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Returns the bo configurazione persistence. - * - * @return the bo configurazione persistence - */ - public BoConfigurazionePersistence getBoConfigurazionePersistence() { - return boConfigurazionePersistence; - } - - /** - * Sets the bo configurazione persistence. - * - * @param boConfigurazionePersistence the bo configurazione persistence - */ - public void setBoConfigurazionePersistence( - BoConfigurazionePersistence boConfigurazionePersistence) { - this.boConfigurazionePersistence = boConfigurazionePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.importazione.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.importazione.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.importazione.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.importazione.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.importazione.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.importazione.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe provincia local service. - * - * @return the fe provincia local service - */ - public it.tref.liferay.portos.importazione.service.FeProvinciaLocalService getFeProvinciaLocalService() { - return feProvinciaLocalService; - } - - /** - * Sets the fe provincia local service. - * - * @param feProvinciaLocalService the fe provincia local service - */ - public void setFeProvinciaLocalService( - it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService) { - this.feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Returns the fe provincia persistence. - * - * @return the fe provincia persistence - */ - public FeProvinciaPersistence getFeProvinciaPersistence() { - return feProvinciaPersistence; - } - - /** - * Sets the fe provincia persistence. - * - * @param feProvinciaPersistence the fe provincia persistence - */ - public void setFeProvinciaPersistence( - FeProvinciaPersistence feProvinciaPersistence) { - this.feProvinciaPersistence = feProvinciaPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.importazione.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the kaleo instance local service. - * - * @return the kaleo instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService getKaleoInstanceLocalService() { - return kaleoInstanceLocalService; - } - - /** - * Sets the kaleo instance local service. - * - * @param kaleoInstanceLocalService the kaleo instance local service - */ - public void setKaleoInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService) { - this.kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Returns the kaleo instance persistence. - * - * @return the kaleo instance persistence - */ - public KaleoInstancePersistence getKaleoInstancePersistence() { - return kaleoInstancePersistence; - } - - /** - * Sets the kaleo instance persistence. - * - * @param kaleoInstancePersistence the kaleo instance persistence - */ - public void setKaleoInstancePersistence( - KaleoInstancePersistence kaleoInstancePersistence) { - this.kaleoInstancePersistence = kaleoInstancePersistence; - } - - /** - * Returns the kaleo instance token local service. - * - * @return the kaleo instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService getKaleoInstanceTokenLocalService() { - return kaleoInstanceTokenLocalService; - } - - /** - * Sets the kaleo instance token local service. - * - * @param kaleoInstanceTokenLocalService the kaleo instance token local service - */ - public void setKaleoInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - this.kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Returns the kaleo instance token persistence. - * - * @return the kaleo instance token persistence - */ - public KaleoInstanceTokenPersistence getKaleoInstanceTokenPersistence() { - return kaleoInstanceTokenPersistence; - } - - /** - * Sets the kaleo instance token persistence. - * - * @param kaleoInstanceTokenPersistence the kaleo instance token persistence - */ - public void setKaleoInstanceTokenPersistence( - KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence) { - this.kaleoInstanceTokenPersistence = kaleoInstanceTokenPersistence; - } - - /** - * Returns the kaleo log local service. - * - * @return the kaleo log local service - */ - public it.tref.liferay.portos.importazione.service.KaleoLogLocalService getKaleoLogLocalService() { - return kaleoLogLocalService; - } - - /** - * Sets the kaleo log local service. - * - * @param kaleoLogLocalService the kaleo log local service - */ - public void setKaleoLogLocalService( - it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService) { - this.kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Returns the kaleo log persistence. - * - * @return the kaleo log persistence - */ - public KaleoLogPersistence getKaleoLogPersistence() { - return kaleoLogPersistence; - } - - /** - * Sets the kaleo log persistence. - * - * @param kaleoLogPersistence the kaleo log persistence - */ - public void setKaleoLogPersistence(KaleoLogPersistence kaleoLogPersistence) { - this.kaleoLogPersistence = kaleoLogPersistence; - } - - /** - * Returns the kaleo node local service. - * - * @return the kaleo node local service - */ - public it.tref.liferay.portos.importazione.service.KaleoNodeLocalService getKaleoNodeLocalService() { - return kaleoNodeLocalService; - } - - /** - * Sets the kaleo node local service. - * - * @param kaleoNodeLocalService the kaleo node local service - */ - public void setKaleoNodeLocalService( - it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService) { - this.kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Returns the kaleo node persistence. - * - * @return the kaleo node persistence - */ - public KaleoNodePersistence getKaleoNodePersistence() { - return kaleoNodePersistence; - } - - /** - * Sets the kaleo node persistence. - * - * @param kaleoNodePersistence the kaleo node persistence - */ - public void setKaleoNodePersistence( - KaleoNodePersistence kaleoNodePersistence) { - this.kaleoNodePersistence = kaleoNodePersistence; - } - - /** - * Returns the kaleo task local service. - * - * @return the kaleo task local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskLocalService getKaleoTaskLocalService() { - return kaleoTaskLocalService; - } - - /** - * Sets the kaleo task local service. - * - * @param kaleoTaskLocalService the kaleo task local service - */ - public void setKaleoTaskLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService) { - this.kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Returns the kaleo task persistence. - * - * @return the kaleo task persistence - */ - public KaleoTaskPersistence getKaleoTaskPersistence() { - return kaleoTaskPersistence; - } - - /** - * Sets the kaleo task persistence. - * - * @param kaleoTaskPersistence the kaleo task persistence - */ - public void setKaleoTaskPersistence( - KaleoTaskPersistence kaleoTaskPersistence) { - this.kaleoTaskPersistence = kaleoTaskPersistence; - } - - /** - * Returns the kaleo task assignment instance local service. - * - * @return the kaleo task assignment instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService getKaleoTaskAssignmentInstanceLocalService() { - return kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Sets the kaleo task assignment instance local service. - * - * @param kaleoTaskAssignmentInstanceLocalService the kaleo task assignment instance local service - */ - public void setKaleoTaskAssignmentInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - this.kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Returns the kaleo task assignment instance persistence. - * - * @return the kaleo task assignment instance persistence - */ - public KaleoTaskAssignmentInstancePersistence getKaleoTaskAssignmentInstancePersistence() { - return kaleoTaskAssignmentInstancePersistence; - } - - /** - * Sets the kaleo task assignment instance persistence. - * - * @param kaleoTaskAssignmentInstancePersistence the kaleo task assignment instance persistence - */ - public void setKaleoTaskAssignmentInstancePersistence( - KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence) { - this.kaleoTaskAssignmentInstancePersistence = kaleoTaskAssignmentInstancePersistence; - } - - /** - * Returns the kaleo task instance token local service. - * - * @return the kaleo task instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService getKaleoTaskInstanceTokenLocalService() { - return kaleoTaskInstanceTokenLocalService; - } - - /** - * Sets the kaleo task instance token local service. - * - * @param kaleoTaskInstanceTokenLocalService the kaleo task instance token local service - */ - public void setKaleoTaskInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - this.kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Returns the kaleo task instance token persistence. - * - * @return the kaleo task instance token persistence - */ - public KaleoTaskInstanceTokenPersistence getKaleoTaskInstanceTokenPersistence() { - return kaleoTaskInstanceTokenPersistence; - } - - /** - * Sets the kaleo task instance token persistence. - * - * @param kaleoTaskInstanceTokenPersistence the kaleo task instance token persistence - */ - public void setKaleoTaskInstanceTokenPersistence( - KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence) { - this.kaleoTaskInstanceTokenPersistence = kaleoTaskInstanceTokenPersistence; - } - - /** - * Returns the old d l file entry local service. - * - * @return the old d l file entry local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService getOldDLFileEntryLocalService() { - return oldDLFileEntryLocalService; - } - - /** - * Sets the old d l file entry local service. - * - * @param oldDLFileEntryLocalService the old d l file entry local service - */ - public void setOldDLFileEntryLocalService( - it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService) { - this.oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Returns the old d l file entry persistence. - * - * @return the old d l file entry persistence - */ - public OldDLFileEntryPersistence getOldDLFileEntryPersistence() { - return oldDLFileEntryPersistence; - } - - /** - * Sets the old d l file entry persistence. - * - * @param oldDLFileEntryPersistence the old d l file entry persistence - */ - public void setOldDLFileEntryPersistence( - OldDLFileEntryPersistence oldDLFileEntryPersistence) { - this.oldDLFileEntryPersistence = oldDLFileEntryPersistence; - } - - /** - * Returns the old d l folder local service. - * - * @return the old d l folder local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFolderLocalService getOldDLFolderLocalService() { - return oldDLFolderLocalService; - } - - /** - * Sets the old d l folder local service. - * - * @param oldDLFolderLocalService the old d l folder local service - */ - public void setOldDLFolderLocalService( - it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService) { - this.oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Returns the old d l folder persistence. - * - * @return the old d l folder persistence - */ - public OldDLFolderPersistence getOldDLFolderPersistence() { - return oldDLFolderPersistence; - } - - /** - * Sets the old d l folder persistence. - * - * @param oldDLFolderPersistence the old d l folder persistence - */ - public void setOldDLFolderPersistence( - OldDLFolderPersistence oldDLFolderPersistence) { - this.oldDLFolderPersistence = oldDLFolderPersistence; - } - - /** - * Returns the old group local service. - * - * @return the old group local service - */ - public it.tref.liferay.portos.importazione.service.OldGroupLocalService getOldGroupLocalService() { - return oldGroupLocalService; - } - - /** - * Sets the old group local service. - * - * @param oldGroupLocalService the old group local service - */ - public void setOldGroupLocalService( - it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService) { - this.oldGroupLocalService = oldGroupLocalService; - } - - /** - * Returns the old group persistence. - * - * @return the old group persistence - */ - public OldGroupPersistence getOldGroupPersistence() { - return oldGroupPersistence; - } - - /** - * Sets the old group persistence. - * - * @param oldGroupPersistence the old group persistence - */ - public void setOldGroupPersistence(OldGroupPersistence oldGroupPersistence) { - this.oldGroupPersistence = oldGroupPersistence; - } - - /** - * Returns the old organization local service. - * - * @return the old organization local service - */ - public it.tref.liferay.portos.importazione.service.OldOrganizationLocalService getOldOrganizationLocalService() { - return oldOrganizationLocalService; - } - - /** - * Sets the old organization local service. - * - * @param oldOrganizationLocalService the old organization local service - */ - public void setOldOrganizationLocalService( - it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService) { - this.oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Returns the old organization persistence. - * - * @return the old organization persistence - */ - public OldOrganizationPersistence getOldOrganizationPersistence() { - return oldOrganizationPersistence; - } - - /** - * Sets the old organization persistence. - * - * @param oldOrganizationPersistence the old organization persistence - */ - public void setOldOrganizationPersistence( - OldOrganizationPersistence oldOrganizationPersistence) { - this.oldOrganizationPersistence = oldOrganizationPersistence; - } - - /** - * Returns the old role local service. - * - * @return the old role local service - */ - public it.tref.liferay.portos.importazione.service.OldRoleLocalService getOldRoleLocalService() { - return oldRoleLocalService; - } - - /** - * Sets the old role local service. - * - * @param oldRoleLocalService the old role local service - */ - public void setOldRoleLocalService( - it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService) { - this.oldRoleLocalService = oldRoleLocalService; - } - - /** - * Returns the old role persistence. - * - * @return the old role persistence - */ - public OldRolePersistence getOldRolePersistence() { - return oldRolePersistence; - } - - /** - * Sets the old role persistence. - * - * @param oldRolePersistence the old role persistence - */ - public void setOldRolePersistence(OldRolePersistence oldRolePersistence) { - this.oldRolePersistence = oldRolePersistence; - } - - /** - * Returns the old user local service. - * - * @return the old user local service - */ - public it.tref.liferay.portos.importazione.service.OldUserLocalService getOldUserLocalService() { - return oldUserLocalService; - } - - /** - * Sets the old user local service. - * - * @param oldUserLocalService the old user local service - */ - public void setOldUserLocalService( - it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService) { - this.oldUserLocalService = oldUserLocalService; - } - - /** - * Returns the old user persistence. - * - * @return the old user persistence - */ - public OldUserPersistence getOldUserPersistence() { - return oldUserPersistence; - } - - /** - * Sets the old user persistence. - * - * @param oldUserPersistence the old user persistence - */ - public void setOldUserPersistence(OldUserPersistence oldUserPersistence) { - this.oldUserPersistence = oldUserPersistence; - } - - /** - * Returns the old user group local service. - * - * @return the old user group local service - */ - public it.tref.liferay.portos.importazione.service.OldUserGroupLocalService getOldUserGroupLocalService() { - return oldUserGroupLocalService; - } - - /** - * Sets the old user group local service. - * - * @param oldUserGroupLocalService the old user group local service - */ - public void setOldUserGroupLocalService( - it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService) { - this.oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Returns the old user group persistence. - * - * @return the old user group persistence - */ - public OldUserGroupPersistence getOldUserGroupPersistence() { - return oldUserGroupPersistence; - } - - /** - * Sets the old user group persistence. - * - * @param oldUserGroupPersistence the old user group persistence - */ - public void setOldUserGroupPersistence( - OldUserGroupPersistence oldUserGroupPersistence) { - this.oldUserGroupPersistence = oldUserGroupPersistence; - } - - /** - * Returns the old user group finder. - * - * @return the old user group finder - */ - public OldUserGroupFinder getOldUserGroupFinder() { - return oldUserGroupFinder; - } - - /** - * Sets the old user group finder. - * - * @param oldUserGroupFinder the old user group finder - */ - public void setOldUserGroupFinder(OldUserGroupFinder oldUserGroupFinder) { - this.oldUserGroupFinder = oldUserGroupFinder; - } - - /** - * Returns the procedura importazione local service. - * - * @return the procedura importazione local service - */ - public it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService getProceduraImportazioneLocalService() { - return proceduraImportazioneLocalService; - } - - /** - * Sets the procedura importazione local service. - * - * @param proceduraImportazioneLocalService the procedura importazione local service - */ - public void setProceduraImportazioneLocalService( - it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - this.proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Returns the procedura importazione persistence. - * - * @return the procedura importazione persistence - */ - public ProceduraImportazionePersistence getProceduraImportazionePersistence() { - return proceduraImportazionePersistence; - } - - /** - * Sets the procedura importazione persistence. - * - * @param proceduraImportazionePersistence the procedura importazione persistence - */ - public void setProceduraImportazionePersistence( - ProceduraImportazionePersistence proceduraImportazionePersistence) { - this.proceduraImportazionePersistence = proceduraImportazionePersistence; - } - - /** - * Returns the stato importazione local service. - * - * @return the stato importazione local service - */ - public it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService getStatoImportazioneLocalService() { - return statoImportazioneLocalService; - } - - /** - * Sets the stato importazione local service. - * - * @param statoImportazioneLocalService the stato importazione local service - */ - public void setStatoImportazioneLocalService( - it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService) { - this.statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Returns the stato importazione persistence. - * - * @return the stato importazione persistence - */ - public StatoImportazionePersistence getStatoImportazionePersistence() { - return statoImportazionePersistence; - } - - /** - * Sets the stato importazione persistence. - * - * @param statoImportazionePersistence the stato importazione persistence - */ - public void setStatoImportazionePersistence( - StatoImportazionePersistence statoImportazionePersistence) { - this.statoImportazionePersistence = statoImportazionePersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.importazione.model.OldGroup", - oldGroupLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.importazione.model.OldGroup"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return OldGroup.class; - } - - protected String getModelClassName() { - return OldGroup.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = oldGroupPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService; - @BeanReference(type = BoConfigurazionePersistence.class) - protected BoConfigurazionePersistence boConfigurazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeProvinciaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService; - @BeanReference(type = FeProvinciaPersistence.class) - protected FeProvinciaPersistence feProvinciaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService; - @BeanReference(type = KaleoInstancePersistence.class) - protected KaleoInstancePersistence kaleoInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService; - @BeanReference(type = KaleoInstanceTokenPersistence.class) - protected KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoLogLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService; - @BeanReference(type = KaleoLogPersistence.class) - protected KaleoLogPersistence kaleoLogPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoNodeLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService; - @BeanReference(type = KaleoNodePersistence.class) - protected KaleoNodePersistence kaleoNodePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService; - @BeanReference(type = KaleoTaskPersistence.class) - protected KaleoTaskPersistence kaleoTaskPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService; - @BeanReference(type = KaleoTaskAssignmentInstancePersistence.class) - protected KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService; - @BeanReference(type = KaleoTaskInstanceTokenPersistence.class) - protected KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService; - @BeanReference(type = OldDLFileEntryPersistence.class) - protected OldDLFileEntryPersistence oldDLFileEntryPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFolderLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService; - @BeanReference(type = OldDLFolderPersistence.class) - protected OldDLFolderPersistence oldDLFolderPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService; - @BeanReference(type = OldGroupPersistence.class) - protected OldGroupPersistence oldGroupPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldOrganizationLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService; - @BeanReference(type = OldOrganizationPersistence.class) - protected OldOrganizationPersistence oldOrganizationPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldRoleLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService; - @BeanReference(type = OldRolePersistence.class) - protected OldRolePersistence oldRolePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService; - @BeanReference(type = OldUserPersistence.class) - protected OldUserPersistence oldUserPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService; - @BeanReference(type = OldUserGroupPersistence.class) - protected OldUserGroupPersistence oldUserGroupPersistence; - @BeanReference(type = OldUserGroupFinder.class) - protected OldUserGroupFinder oldUserGroupFinder; - @BeanReference(type = it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService; - @BeanReference(type = ProceduraImportazionePersistence.class) - protected ProceduraImportazionePersistence proceduraImportazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService; - @BeanReference(type = StatoImportazionePersistence.class) - protected StatoImportazionePersistence statoImportazionePersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private OldGroupLocalServiceClpInvoker _clpInvoker = new OldGroupLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldGroupLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldGroupLocalServiceClpInvoker.java deleted file mode 100644 index 23bf98a1..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldGroupLocalServiceClpInvoker.java +++ /dev/null @@ -1,258 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import it.tref.liferay.portos.importazione.service.OldGroupLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author 3FC - * @generated - */ -public class OldGroupLocalServiceClpInvoker { - public OldGroupLocalServiceClpInvoker() { - _methodName0 = "addOldGroup"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.OldGroup" - }; - - _methodName1 = "createOldGroup"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteOldGroup"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteOldGroup"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.OldGroup" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchOldGroup"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getOldGroup"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getOldGroups"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getOldGroupsCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateOldGroup"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.OldGroup" - }; - - _methodName178 = "getBeanIdentifier"; - - _methodParameterTypes178 = new String[] { }; - - _methodName179 = "setBeanIdentifier"; - - _methodParameterTypes179 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return OldGroupLocalServiceUtil.addOldGroup((it.tref.liferay.portos.importazione.model.OldGroup)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return OldGroupLocalServiceUtil.createOldGroup(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return OldGroupLocalServiceUtil.deleteOldGroup(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return OldGroupLocalServiceUtil.deleteOldGroup((it.tref.liferay.portos.importazione.model.OldGroup)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return OldGroupLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return OldGroupLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return OldGroupLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return OldGroupLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return OldGroupLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return OldGroupLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return OldGroupLocalServiceUtil.fetchOldGroup(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return OldGroupLocalServiceUtil.getOldGroup(((Long)arguments[0]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return OldGroupLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return OldGroupLocalServiceUtil.getOldGroups(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return OldGroupLocalServiceUtil.getOldGroupsCount(); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return OldGroupLocalServiceUtil.updateOldGroup((it.tref.liferay.portos.importazione.model.OldGroup)arguments[0]); - } - - if (_methodName178.equals(name) && - Arrays.deepEquals(_methodParameterTypes178, parameterTypes)) { - return OldGroupLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName179.equals(name) && - Arrays.deepEquals(_methodParameterTypes179, parameterTypes)) { - OldGroupLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName178; - private String[] _methodParameterTypes178; - private String _methodName179; - private String[] _methodParameterTypes179; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldOrganizationLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldOrganizationLocalServiceBaseImpl.java deleted file mode 100644 index 23862ffb..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldOrganizationLocalServiceBaseImpl.java +++ /dev/null @@ -1,2076 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.importazione.model.OldOrganization; -import it.tref.liferay.portos.importazione.service.OldOrganizationLocalService; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinder; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the old organization local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.importazione.service.impl.OldOrganizationLocalServiceImpl}. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.impl.OldOrganizationLocalServiceImpl - * @see it.tref.liferay.portos.importazione.service.OldOrganizationLocalServiceUtil - * @generated - */ -public abstract class OldOrganizationLocalServiceBaseImpl - extends BaseLocalServiceImpl implements OldOrganizationLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.importazione.service.OldOrganizationLocalServiceUtil} to access the old organization local service. - */ - - /** - * Adds the old organization to the database. Also notifies the appropriate model listeners. - * - * @param oldOrganization the old organization - * @return the old organization that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public OldOrganization addOldOrganization(OldOrganization oldOrganization) - throws SystemException { - oldOrganization.setNew(true); - - return oldOrganizationPersistence.update(oldOrganization); - } - - /** - * Creates a new old organization with the primary key. Does not add the old organization to the database. - * - * @param organizationId the primary key for the new old organization - * @return the new old organization - */ - @Override - public OldOrganization createOldOrganization(long organizationId) { - return oldOrganizationPersistence.create(organizationId); - } - - /** - * Deletes the old organization with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param organizationId the primary key of the old organization - * @return the old organization that was removed - * @throws PortalException if a old organization with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public OldOrganization deleteOldOrganization(long organizationId) - throws PortalException, SystemException { - return oldOrganizationPersistence.remove(organizationId); - } - - /** - * Deletes the old organization from the database. Also notifies the appropriate model listeners. - * - * @param oldOrganization the old organization - * @return the old organization that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public OldOrganization deleteOldOrganization( - OldOrganization oldOrganization) throws SystemException { - return oldOrganizationPersistence.remove(oldOrganization); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(OldOrganization.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return oldOrganizationPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldOrganizationModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return oldOrganizationPersistence.findWithDynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldOrganizationModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return oldOrganizationPersistence.findWithDynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return oldOrganizationPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return oldOrganizationPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public OldOrganization fetchOldOrganization(long organizationId) - throws SystemException { - return oldOrganizationPersistence.fetchByPrimaryKey(organizationId); - } - - /** - * Returns the old organization with the primary key. - * - * @param organizationId the primary key of the old organization - * @return the old organization - * @throws PortalException if a old organization with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldOrganization getOldOrganization(long organizationId) - throws PortalException, SystemException { - return oldOrganizationPersistence.findByPrimaryKey(organizationId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return oldOrganizationPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns a range of all the old organizations. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldOrganizationModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old organizations - * @param end the upper bound of the range of old organizations (not inclusive) - * @return the range of old organizations - * @throws SystemException if a system exception occurred - */ - @Override - public List getOldOrganizations(int start, int end) - throws SystemException { - return oldOrganizationPersistence.findAll(start, end); - } - - /** - * Returns the number of old organizations. - * - * @return the number of old organizations - * @throws SystemException if a system exception occurred - */ - @Override - public int getOldOrganizationsCount() throws SystemException { - return oldOrganizationPersistence.countAll(); - } - - /** - * Updates the old organization in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param oldOrganization the old organization - * @return the old organization that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public OldOrganization updateOldOrganization( - OldOrganization oldOrganization) throws SystemException { - return oldOrganizationPersistence.update(oldOrganization); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.importazione.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.importazione.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo configurazione local service. - * - * @return the bo configurazione local service - */ - public it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService getBoConfigurazioneLocalService() { - return boConfigurazioneLocalService; - } - - /** - * Sets the bo configurazione local service. - * - * @param boConfigurazioneLocalService the bo configurazione local service - */ - public void setBoConfigurazioneLocalService( - it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService) { - this.boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Returns the bo configurazione persistence. - * - * @return the bo configurazione persistence - */ - public BoConfigurazionePersistence getBoConfigurazionePersistence() { - return boConfigurazionePersistence; - } - - /** - * Sets the bo configurazione persistence. - * - * @param boConfigurazionePersistence the bo configurazione persistence - */ - public void setBoConfigurazionePersistence( - BoConfigurazionePersistence boConfigurazionePersistence) { - this.boConfigurazionePersistence = boConfigurazionePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.importazione.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.importazione.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.importazione.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.importazione.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.importazione.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.importazione.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe provincia local service. - * - * @return the fe provincia local service - */ - public it.tref.liferay.portos.importazione.service.FeProvinciaLocalService getFeProvinciaLocalService() { - return feProvinciaLocalService; - } - - /** - * Sets the fe provincia local service. - * - * @param feProvinciaLocalService the fe provincia local service - */ - public void setFeProvinciaLocalService( - it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService) { - this.feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Returns the fe provincia persistence. - * - * @return the fe provincia persistence - */ - public FeProvinciaPersistence getFeProvinciaPersistence() { - return feProvinciaPersistence; - } - - /** - * Sets the fe provincia persistence. - * - * @param feProvinciaPersistence the fe provincia persistence - */ - public void setFeProvinciaPersistence( - FeProvinciaPersistence feProvinciaPersistence) { - this.feProvinciaPersistence = feProvinciaPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.importazione.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the kaleo instance local service. - * - * @return the kaleo instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService getKaleoInstanceLocalService() { - return kaleoInstanceLocalService; - } - - /** - * Sets the kaleo instance local service. - * - * @param kaleoInstanceLocalService the kaleo instance local service - */ - public void setKaleoInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService) { - this.kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Returns the kaleo instance persistence. - * - * @return the kaleo instance persistence - */ - public KaleoInstancePersistence getKaleoInstancePersistence() { - return kaleoInstancePersistence; - } - - /** - * Sets the kaleo instance persistence. - * - * @param kaleoInstancePersistence the kaleo instance persistence - */ - public void setKaleoInstancePersistence( - KaleoInstancePersistence kaleoInstancePersistence) { - this.kaleoInstancePersistence = kaleoInstancePersistence; - } - - /** - * Returns the kaleo instance token local service. - * - * @return the kaleo instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService getKaleoInstanceTokenLocalService() { - return kaleoInstanceTokenLocalService; - } - - /** - * Sets the kaleo instance token local service. - * - * @param kaleoInstanceTokenLocalService the kaleo instance token local service - */ - public void setKaleoInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - this.kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Returns the kaleo instance token persistence. - * - * @return the kaleo instance token persistence - */ - public KaleoInstanceTokenPersistence getKaleoInstanceTokenPersistence() { - return kaleoInstanceTokenPersistence; - } - - /** - * Sets the kaleo instance token persistence. - * - * @param kaleoInstanceTokenPersistence the kaleo instance token persistence - */ - public void setKaleoInstanceTokenPersistence( - KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence) { - this.kaleoInstanceTokenPersistence = kaleoInstanceTokenPersistence; - } - - /** - * Returns the kaleo log local service. - * - * @return the kaleo log local service - */ - public it.tref.liferay.portos.importazione.service.KaleoLogLocalService getKaleoLogLocalService() { - return kaleoLogLocalService; - } - - /** - * Sets the kaleo log local service. - * - * @param kaleoLogLocalService the kaleo log local service - */ - public void setKaleoLogLocalService( - it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService) { - this.kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Returns the kaleo log persistence. - * - * @return the kaleo log persistence - */ - public KaleoLogPersistence getKaleoLogPersistence() { - return kaleoLogPersistence; - } - - /** - * Sets the kaleo log persistence. - * - * @param kaleoLogPersistence the kaleo log persistence - */ - public void setKaleoLogPersistence(KaleoLogPersistence kaleoLogPersistence) { - this.kaleoLogPersistence = kaleoLogPersistence; - } - - /** - * Returns the kaleo node local service. - * - * @return the kaleo node local service - */ - public it.tref.liferay.portos.importazione.service.KaleoNodeLocalService getKaleoNodeLocalService() { - return kaleoNodeLocalService; - } - - /** - * Sets the kaleo node local service. - * - * @param kaleoNodeLocalService the kaleo node local service - */ - public void setKaleoNodeLocalService( - it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService) { - this.kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Returns the kaleo node persistence. - * - * @return the kaleo node persistence - */ - public KaleoNodePersistence getKaleoNodePersistence() { - return kaleoNodePersistence; - } - - /** - * Sets the kaleo node persistence. - * - * @param kaleoNodePersistence the kaleo node persistence - */ - public void setKaleoNodePersistence( - KaleoNodePersistence kaleoNodePersistence) { - this.kaleoNodePersistence = kaleoNodePersistence; - } - - /** - * Returns the kaleo task local service. - * - * @return the kaleo task local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskLocalService getKaleoTaskLocalService() { - return kaleoTaskLocalService; - } - - /** - * Sets the kaleo task local service. - * - * @param kaleoTaskLocalService the kaleo task local service - */ - public void setKaleoTaskLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService) { - this.kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Returns the kaleo task persistence. - * - * @return the kaleo task persistence - */ - public KaleoTaskPersistence getKaleoTaskPersistence() { - return kaleoTaskPersistence; - } - - /** - * Sets the kaleo task persistence. - * - * @param kaleoTaskPersistence the kaleo task persistence - */ - public void setKaleoTaskPersistence( - KaleoTaskPersistence kaleoTaskPersistence) { - this.kaleoTaskPersistence = kaleoTaskPersistence; - } - - /** - * Returns the kaleo task assignment instance local service. - * - * @return the kaleo task assignment instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService getKaleoTaskAssignmentInstanceLocalService() { - return kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Sets the kaleo task assignment instance local service. - * - * @param kaleoTaskAssignmentInstanceLocalService the kaleo task assignment instance local service - */ - public void setKaleoTaskAssignmentInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - this.kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Returns the kaleo task assignment instance persistence. - * - * @return the kaleo task assignment instance persistence - */ - public KaleoTaskAssignmentInstancePersistence getKaleoTaskAssignmentInstancePersistence() { - return kaleoTaskAssignmentInstancePersistence; - } - - /** - * Sets the kaleo task assignment instance persistence. - * - * @param kaleoTaskAssignmentInstancePersistence the kaleo task assignment instance persistence - */ - public void setKaleoTaskAssignmentInstancePersistence( - KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence) { - this.kaleoTaskAssignmentInstancePersistence = kaleoTaskAssignmentInstancePersistence; - } - - /** - * Returns the kaleo task instance token local service. - * - * @return the kaleo task instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService getKaleoTaskInstanceTokenLocalService() { - return kaleoTaskInstanceTokenLocalService; - } - - /** - * Sets the kaleo task instance token local service. - * - * @param kaleoTaskInstanceTokenLocalService the kaleo task instance token local service - */ - public void setKaleoTaskInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - this.kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Returns the kaleo task instance token persistence. - * - * @return the kaleo task instance token persistence - */ - public KaleoTaskInstanceTokenPersistence getKaleoTaskInstanceTokenPersistence() { - return kaleoTaskInstanceTokenPersistence; - } - - /** - * Sets the kaleo task instance token persistence. - * - * @param kaleoTaskInstanceTokenPersistence the kaleo task instance token persistence - */ - public void setKaleoTaskInstanceTokenPersistence( - KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence) { - this.kaleoTaskInstanceTokenPersistence = kaleoTaskInstanceTokenPersistence; - } - - /** - * Returns the old d l file entry local service. - * - * @return the old d l file entry local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService getOldDLFileEntryLocalService() { - return oldDLFileEntryLocalService; - } - - /** - * Sets the old d l file entry local service. - * - * @param oldDLFileEntryLocalService the old d l file entry local service - */ - public void setOldDLFileEntryLocalService( - it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService) { - this.oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Returns the old d l file entry persistence. - * - * @return the old d l file entry persistence - */ - public OldDLFileEntryPersistence getOldDLFileEntryPersistence() { - return oldDLFileEntryPersistence; - } - - /** - * Sets the old d l file entry persistence. - * - * @param oldDLFileEntryPersistence the old d l file entry persistence - */ - public void setOldDLFileEntryPersistence( - OldDLFileEntryPersistence oldDLFileEntryPersistence) { - this.oldDLFileEntryPersistence = oldDLFileEntryPersistence; - } - - /** - * Returns the old d l folder local service. - * - * @return the old d l folder local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFolderLocalService getOldDLFolderLocalService() { - return oldDLFolderLocalService; - } - - /** - * Sets the old d l folder local service. - * - * @param oldDLFolderLocalService the old d l folder local service - */ - public void setOldDLFolderLocalService( - it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService) { - this.oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Returns the old d l folder persistence. - * - * @return the old d l folder persistence - */ - public OldDLFolderPersistence getOldDLFolderPersistence() { - return oldDLFolderPersistence; - } - - /** - * Sets the old d l folder persistence. - * - * @param oldDLFolderPersistence the old d l folder persistence - */ - public void setOldDLFolderPersistence( - OldDLFolderPersistence oldDLFolderPersistence) { - this.oldDLFolderPersistence = oldDLFolderPersistence; - } - - /** - * Returns the old group local service. - * - * @return the old group local service - */ - public it.tref.liferay.portos.importazione.service.OldGroupLocalService getOldGroupLocalService() { - return oldGroupLocalService; - } - - /** - * Sets the old group local service. - * - * @param oldGroupLocalService the old group local service - */ - public void setOldGroupLocalService( - it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService) { - this.oldGroupLocalService = oldGroupLocalService; - } - - /** - * Returns the old group persistence. - * - * @return the old group persistence - */ - public OldGroupPersistence getOldGroupPersistence() { - return oldGroupPersistence; - } - - /** - * Sets the old group persistence. - * - * @param oldGroupPersistence the old group persistence - */ - public void setOldGroupPersistence(OldGroupPersistence oldGroupPersistence) { - this.oldGroupPersistence = oldGroupPersistence; - } - - /** - * Returns the old organization local service. - * - * @return the old organization local service - */ - public it.tref.liferay.portos.importazione.service.OldOrganizationLocalService getOldOrganizationLocalService() { - return oldOrganizationLocalService; - } - - /** - * Sets the old organization local service. - * - * @param oldOrganizationLocalService the old organization local service - */ - public void setOldOrganizationLocalService( - it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService) { - this.oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Returns the old organization persistence. - * - * @return the old organization persistence - */ - public OldOrganizationPersistence getOldOrganizationPersistence() { - return oldOrganizationPersistence; - } - - /** - * Sets the old organization persistence. - * - * @param oldOrganizationPersistence the old organization persistence - */ - public void setOldOrganizationPersistence( - OldOrganizationPersistence oldOrganizationPersistence) { - this.oldOrganizationPersistence = oldOrganizationPersistence; - } - - /** - * Returns the old role local service. - * - * @return the old role local service - */ - public it.tref.liferay.portos.importazione.service.OldRoleLocalService getOldRoleLocalService() { - return oldRoleLocalService; - } - - /** - * Sets the old role local service. - * - * @param oldRoleLocalService the old role local service - */ - public void setOldRoleLocalService( - it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService) { - this.oldRoleLocalService = oldRoleLocalService; - } - - /** - * Returns the old role persistence. - * - * @return the old role persistence - */ - public OldRolePersistence getOldRolePersistence() { - return oldRolePersistence; - } - - /** - * Sets the old role persistence. - * - * @param oldRolePersistence the old role persistence - */ - public void setOldRolePersistence(OldRolePersistence oldRolePersistence) { - this.oldRolePersistence = oldRolePersistence; - } - - /** - * Returns the old user local service. - * - * @return the old user local service - */ - public it.tref.liferay.portos.importazione.service.OldUserLocalService getOldUserLocalService() { - return oldUserLocalService; - } - - /** - * Sets the old user local service. - * - * @param oldUserLocalService the old user local service - */ - public void setOldUserLocalService( - it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService) { - this.oldUserLocalService = oldUserLocalService; - } - - /** - * Returns the old user persistence. - * - * @return the old user persistence - */ - public OldUserPersistence getOldUserPersistence() { - return oldUserPersistence; - } - - /** - * Sets the old user persistence. - * - * @param oldUserPersistence the old user persistence - */ - public void setOldUserPersistence(OldUserPersistence oldUserPersistence) { - this.oldUserPersistence = oldUserPersistence; - } - - /** - * Returns the old user group local service. - * - * @return the old user group local service - */ - public it.tref.liferay.portos.importazione.service.OldUserGroupLocalService getOldUserGroupLocalService() { - return oldUserGroupLocalService; - } - - /** - * Sets the old user group local service. - * - * @param oldUserGroupLocalService the old user group local service - */ - public void setOldUserGroupLocalService( - it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService) { - this.oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Returns the old user group persistence. - * - * @return the old user group persistence - */ - public OldUserGroupPersistence getOldUserGroupPersistence() { - return oldUserGroupPersistence; - } - - /** - * Sets the old user group persistence. - * - * @param oldUserGroupPersistence the old user group persistence - */ - public void setOldUserGroupPersistence( - OldUserGroupPersistence oldUserGroupPersistence) { - this.oldUserGroupPersistence = oldUserGroupPersistence; - } - - /** - * Returns the old user group finder. - * - * @return the old user group finder - */ - public OldUserGroupFinder getOldUserGroupFinder() { - return oldUserGroupFinder; - } - - /** - * Sets the old user group finder. - * - * @param oldUserGroupFinder the old user group finder - */ - public void setOldUserGroupFinder(OldUserGroupFinder oldUserGroupFinder) { - this.oldUserGroupFinder = oldUserGroupFinder; - } - - /** - * Returns the procedura importazione local service. - * - * @return the procedura importazione local service - */ - public it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService getProceduraImportazioneLocalService() { - return proceduraImportazioneLocalService; - } - - /** - * Sets the procedura importazione local service. - * - * @param proceduraImportazioneLocalService the procedura importazione local service - */ - public void setProceduraImportazioneLocalService( - it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - this.proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Returns the procedura importazione persistence. - * - * @return the procedura importazione persistence - */ - public ProceduraImportazionePersistence getProceduraImportazionePersistence() { - return proceduraImportazionePersistence; - } - - /** - * Sets the procedura importazione persistence. - * - * @param proceduraImportazionePersistence the procedura importazione persistence - */ - public void setProceduraImportazionePersistence( - ProceduraImportazionePersistence proceduraImportazionePersistence) { - this.proceduraImportazionePersistence = proceduraImportazionePersistence; - } - - /** - * Returns the stato importazione local service. - * - * @return the stato importazione local service - */ - public it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService getStatoImportazioneLocalService() { - return statoImportazioneLocalService; - } - - /** - * Sets the stato importazione local service. - * - * @param statoImportazioneLocalService the stato importazione local service - */ - public void setStatoImportazioneLocalService( - it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService) { - this.statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Returns the stato importazione persistence. - * - * @return the stato importazione persistence - */ - public StatoImportazionePersistence getStatoImportazionePersistence() { - return statoImportazionePersistence; - } - - /** - * Sets the stato importazione persistence. - * - * @param statoImportazionePersistence the stato importazione persistence - */ - public void setStatoImportazionePersistence( - StatoImportazionePersistence statoImportazionePersistence) { - this.statoImportazionePersistence = statoImportazionePersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.importazione.model.OldOrganization", - oldOrganizationLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.importazione.model.OldOrganization"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return OldOrganization.class; - } - - protected String getModelClassName() { - return OldOrganization.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = oldOrganizationPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService; - @BeanReference(type = BoConfigurazionePersistence.class) - protected BoConfigurazionePersistence boConfigurazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeProvinciaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService; - @BeanReference(type = FeProvinciaPersistence.class) - protected FeProvinciaPersistence feProvinciaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService; - @BeanReference(type = KaleoInstancePersistence.class) - protected KaleoInstancePersistence kaleoInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService; - @BeanReference(type = KaleoInstanceTokenPersistence.class) - protected KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoLogLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService; - @BeanReference(type = KaleoLogPersistence.class) - protected KaleoLogPersistence kaleoLogPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoNodeLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService; - @BeanReference(type = KaleoNodePersistence.class) - protected KaleoNodePersistence kaleoNodePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService; - @BeanReference(type = KaleoTaskPersistence.class) - protected KaleoTaskPersistence kaleoTaskPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService; - @BeanReference(type = KaleoTaskAssignmentInstancePersistence.class) - protected KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService; - @BeanReference(type = KaleoTaskInstanceTokenPersistence.class) - protected KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService; - @BeanReference(type = OldDLFileEntryPersistence.class) - protected OldDLFileEntryPersistence oldDLFileEntryPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFolderLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService; - @BeanReference(type = OldDLFolderPersistence.class) - protected OldDLFolderPersistence oldDLFolderPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService; - @BeanReference(type = OldGroupPersistence.class) - protected OldGroupPersistence oldGroupPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldOrganizationLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService; - @BeanReference(type = OldOrganizationPersistence.class) - protected OldOrganizationPersistence oldOrganizationPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldRoleLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService; - @BeanReference(type = OldRolePersistence.class) - protected OldRolePersistence oldRolePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService; - @BeanReference(type = OldUserPersistence.class) - protected OldUserPersistence oldUserPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService; - @BeanReference(type = OldUserGroupPersistence.class) - protected OldUserGroupPersistence oldUserGroupPersistence; - @BeanReference(type = OldUserGroupFinder.class) - protected OldUserGroupFinder oldUserGroupFinder; - @BeanReference(type = it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService; - @BeanReference(type = ProceduraImportazionePersistence.class) - protected ProceduraImportazionePersistence proceduraImportazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService; - @BeanReference(type = StatoImportazionePersistence.class) - protected StatoImportazionePersistence statoImportazionePersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private OldOrganizationLocalServiceClpInvoker _clpInvoker = new OldOrganizationLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldOrganizationLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldOrganizationLocalServiceClpInvoker.java deleted file mode 100644 index 72c0cb9e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldOrganizationLocalServiceClpInvoker.java +++ /dev/null @@ -1,258 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import it.tref.liferay.portos.importazione.service.OldOrganizationLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author 3FC - * @generated - */ -public class OldOrganizationLocalServiceClpInvoker { - public OldOrganizationLocalServiceClpInvoker() { - _methodName0 = "addOldOrganization"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.OldOrganization" - }; - - _methodName1 = "createOldOrganization"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteOldOrganization"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteOldOrganization"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.OldOrganization" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchOldOrganization"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getOldOrganization"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getOldOrganizations"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getOldOrganizationsCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateOldOrganization"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.OldOrganization" - }; - - _methodName178 = "getBeanIdentifier"; - - _methodParameterTypes178 = new String[] { }; - - _methodName179 = "setBeanIdentifier"; - - _methodParameterTypes179 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return OldOrganizationLocalServiceUtil.addOldOrganization((it.tref.liferay.portos.importazione.model.OldOrganization)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return OldOrganizationLocalServiceUtil.createOldOrganization(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return OldOrganizationLocalServiceUtil.deleteOldOrganization(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return OldOrganizationLocalServiceUtil.deleteOldOrganization((it.tref.liferay.portos.importazione.model.OldOrganization)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return OldOrganizationLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return OldOrganizationLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return OldOrganizationLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return OldOrganizationLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return OldOrganizationLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return OldOrganizationLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return OldOrganizationLocalServiceUtil.fetchOldOrganization(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return OldOrganizationLocalServiceUtil.getOldOrganization(((Long)arguments[0]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return OldOrganizationLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return OldOrganizationLocalServiceUtil.getOldOrganizations(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return OldOrganizationLocalServiceUtil.getOldOrganizationsCount(); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return OldOrganizationLocalServiceUtil.updateOldOrganization((it.tref.liferay.portos.importazione.model.OldOrganization)arguments[0]); - } - - if (_methodName178.equals(name) && - Arrays.deepEquals(_methodParameterTypes178, parameterTypes)) { - return OldOrganizationLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName179.equals(name) && - Arrays.deepEquals(_methodParameterTypes179, parameterTypes)) { - OldOrganizationLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName178; - private String[] _methodParameterTypes178; - private String _methodName179; - private String[] _methodParameterTypes179; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldRoleLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldRoleLocalServiceBaseImpl.java deleted file mode 100644 index b99aed0f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldRoleLocalServiceBaseImpl.java +++ /dev/null @@ -1,2069 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.importazione.model.OldRole; -import it.tref.liferay.portos.importazione.service.OldRoleLocalService; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinder; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the old role local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.importazione.service.impl.OldRoleLocalServiceImpl}. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.impl.OldRoleLocalServiceImpl - * @see it.tref.liferay.portos.importazione.service.OldRoleLocalServiceUtil - * @generated - */ -public abstract class OldRoleLocalServiceBaseImpl extends BaseLocalServiceImpl - implements OldRoleLocalService, IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.importazione.service.OldRoleLocalServiceUtil} to access the old role local service. - */ - - /** - * Adds the old role to the database. Also notifies the appropriate model listeners. - * - * @param oldRole the old role - * @return the old role that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public OldRole addOldRole(OldRole oldRole) throws SystemException { - oldRole.setNew(true); - - return oldRolePersistence.update(oldRole); - } - - /** - * Creates a new old role with the primary key. Does not add the old role to the database. - * - * @param roleId the primary key for the new old role - * @return the new old role - */ - @Override - public OldRole createOldRole(long roleId) { - return oldRolePersistence.create(roleId); - } - - /** - * Deletes the old role with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param roleId the primary key of the old role - * @return the old role that was removed - * @throws PortalException if a old role with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public OldRole deleteOldRole(long roleId) - throws PortalException, SystemException { - return oldRolePersistence.remove(roleId); - } - - /** - * Deletes the old role from the database. Also notifies the appropriate model listeners. - * - * @param oldRole the old role - * @return the old role that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public OldRole deleteOldRole(OldRole oldRole) throws SystemException { - return oldRolePersistence.remove(oldRole); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(OldRole.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return oldRolePersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldRoleModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return oldRolePersistence.findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldRoleModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return oldRolePersistence.findWithDynamicQuery(dynamicQuery, start, - end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return oldRolePersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return oldRolePersistence.countWithDynamicQuery(dynamicQuery, projection); - } - - @Override - public OldRole fetchOldRole(long roleId) throws SystemException { - return oldRolePersistence.fetchByPrimaryKey(roleId); - } - - /** - * Returns the old role with the primary key. - * - * @param roleId the primary key of the old role - * @return the old role - * @throws PortalException if a old role with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldRole getOldRole(long roleId) - throws PortalException, SystemException { - return oldRolePersistence.findByPrimaryKey(roleId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return oldRolePersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns a range of all the old roles. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldRoleModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old roles - * @param end the upper bound of the range of old roles (not inclusive) - * @return the range of old roles - * @throws SystemException if a system exception occurred - */ - @Override - public List getOldRoles(int start, int end) - throws SystemException { - return oldRolePersistence.findAll(start, end); - } - - /** - * Returns the number of old roles. - * - * @return the number of old roles - * @throws SystemException if a system exception occurred - */ - @Override - public int getOldRolesCount() throws SystemException { - return oldRolePersistence.countAll(); - } - - /** - * Updates the old role in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param oldRole the old role - * @return the old role that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public OldRole updateOldRole(OldRole oldRole) throws SystemException { - return oldRolePersistence.update(oldRole); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.importazione.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.importazione.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo configurazione local service. - * - * @return the bo configurazione local service - */ - public it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService getBoConfigurazioneLocalService() { - return boConfigurazioneLocalService; - } - - /** - * Sets the bo configurazione local service. - * - * @param boConfigurazioneLocalService the bo configurazione local service - */ - public void setBoConfigurazioneLocalService( - it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService) { - this.boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Returns the bo configurazione persistence. - * - * @return the bo configurazione persistence - */ - public BoConfigurazionePersistence getBoConfigurazionePersistence() { - return boConfigurazionePersistence; - } - - /** - * Sets the bo configurazione persistence. - * - * @param boConfigurazionePersistence the bo configurazione persistence - */ - public void setBoConfigurazionePersistence( - BoConfigurazionePersistence boConfigurazionePersistence) { - this.boConfigurazionePersistence = boConfigurazionePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.importazione.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.importazione.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.importazione.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.importazione.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.importazione.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.importazione.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe provincia local service. - * - * @return the fe provincia local service - */ - public it.tref.liferay.portos.importazione.service.FeProvinciaLocalService getFeProvinciaLocalService() { - return feProvinciaLocalService; - } - - /** - * Sets the fe provincia local service. - * - * @param feProvinciaLocalService the fe provincia local service - */ - public void setFeProvinciaLocalService( - it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService) { - this.feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Returns the fe provincia persistence. - * - * @return the fe provincia persistence - */ - public FeProvinciaPersistence getFeProvinciaPersistence() { - return feProvinciaPersistence; - } - - /** - * Sets the fe provincia persistence. - * - * @param feProvinciaPersistence the fe provincia persistence - */ - public void setFeProvinciaPersistence( - FeProvinciaPersistence feProvinciaPersistence) { - this.feProvinciaPersistence = feProvinciaPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.importazione.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the kaleo instance local service. - * - * @return the kaleo instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService getKaleoInstanceLocalService() { - return kaleoInstanceLocalService; - } - - /** - * Sets the kaleo instance local service. - * - * @param kaleoInstanceLocalService the kaleo instance local service - */ - public void setKaleoInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService) { - this.kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Returns the kaleo instance persistence. - * - * @return the kaleo instance persistence - */ - public KaleoInstancePersistence getKaleoInstancePersistence() { - return kaleoInstancePersistence; - } - - /** - * Sets the kaleo instance persistence. - * - * @param kaleoInstancePersistence the kaleo instance persistence - */ - public void setKaleoInstancePersistence( - KaleoInstancePersistence kaleoInstancePersistence) { - this.kaleoInstancePersistence = kaleoInstancePersistence; - } - - /** - * Returns the kaleo instance token local service. - * - * @return the kaleo instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService getKaleoInstanceTokenLocalService() { - return kaleoInstanceTokenLocalService; - } - - /** - * Sets the kaleo instance token local service. - * - * @param kaleoInstanceTokenLocalService the kaleo instance token local service - */ - public void setKaleoInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - this.kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Returns the kaleo instance token persistence. - * - * @return the kaleo instance token persistence - */ - public KaleoInstanceTokenPersistence getKaleoInstanceTokenPersistence() { - return kaleoInstanceTokenPersistence; - } - - /** - * Sets the kaleo instance token persistence. - * - * @param kaleoInstanceTokenPersistence the kaleo instance token persistence - */ - public void setKaleoInstanceTokenPersistence( - KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence) { - this.kaleoInstanceTokenPersistence = kaleoInstanceTokenPersistence; - } - - /** - * Returns the kaleo log local service. - * - * @return the kaleo log local service - */ - public it.tref.liferay.portos.importazione.service.KaleoLogLocalService getKaleoLogLocalService() { - return kaleoLogLocalService; - } - - /** - * Sets the kaleo log local service. - * - * @param kaleoLogLocalService the kaleo log local service - */ - public void setKaleoLogLocalService( - it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService) { - this.kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Returns the kaleo log persistence. - * - * @return the kaleo log persistence - */ - public KaleoLogPersistence getKaleoLogPersistence() { - return kaleoLogPersistence; - } - - /** - * Sets the kaleo log persistence. - * - * @param kaleoLogPersistence the kaleo log persistence - */ - public void setKaleoLogPersistence(KaleoLogPersistence kaleoLogPersistence) { - this.kaleoLogPersistence = kaleoLogPersistence; - } - - /** - * Returns the kaleo node local service. - * - * @return the kaleo node local service - */ - public it.tref.liferay.portos.importazione.service.KaleoNodeLocalService getKaleoNodeLocalService() { - return kaleoNodeLocalService; - } - - /** - * Sets the kaleo node local service. - * - * @param kaleoNodeLocalService the kaleo node local service - */ - public void setKaleoNodeLocalService( - it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService) { - this.kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Returns the kaleo node persistence. - * - * @return the kaleo node persistence - */ - public KaleoNodePersistence getKaleoNodePersistence() { - return kaleoNodePersistence; - } - - /** - * Sets the kaleo node persistence. - * - * @param kaleoNodePersistence the kaleo node persistence - */ - public void setKaleoNodePersistence( - KaleoNodePersistence kaleoNodePersistence) { - this.kaleoNodePersistence = kaleoNodePersistence; - } - - /** - * Returns the kaleo task local service. - * - * @return the kaleo task local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskLocalService getKaleoTaskLocalService() { - return kaleoTaskLocalService; - } - - /** - * Sets the kaleo task local service. - * - * @param kaleoTaskLocalService the kaleo task local service - */ - public void setKaleoTaskLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService) { - this.kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Returns the kaleo task persistence. - * - * @return the kaleo task persistence - */ - public KaleoTaskPersistence getKaleoTaskPersistence() { - return kaleoTaskPersistence; - } - - /** - * Sets the kaleo task persistence. - * - * @param kaleoTaskPersistence the kaleo task persistence - */ - public void setKaleoTaskPersistence( - KaleoTaskPersistence kaleoTaskPersistence) { - this.kaleoTaskPersistence = kaleoTaskPersistence; - } - - /** - * Returns the kaleo task assignment instance local service. - * - * @return the kaleo task assignment instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService getKaleoTaskAssignmentInstanceLocalService() { - return kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Sets the kaleo task assignment instance local service. - * - * @param kaleoTaskAssignmentInstanceLocalService the kaleo task assignment instance local service - */ - public void setKaleoTaskAssignmentInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - this.kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Returns the kaleo task assignment instance persistence. - * - * @return the kaleo task assignment instance persistence - */ - public KaleoTaskAssignmentInstancePersistence getKaleoTaskAssignmentInstancePersistence() { - return kaleoTaskAssignmentInstancePersistence; - } - - /** - * Sets the kaleo task assignment instance persistence. - * - * @param kaleoTaskAssignmentInstancePersistence the kaleo task assignment instance persistence - */ - public void setKaleoTaskAssignmentInstancePersistence( - KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence) { - this.kaleoTaskAssignmentInstancePersistence = kaleoTaskAssignmentInstancePersistence; - } - - /** - * Returns the kaleo task instance token local service. - * - * @return the kaleo task instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService getKaleoTaskInstanceTokenLocalService() { - return kaleoTaskInstanceTokenLocalService; - } - - /** - * Sets the kaleo task instance token local service. - * - * @param kaleoTaskInstanceTokenLocalService the kaleo task instance token local service - */ - public void setKaleoTaskInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - this.kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Returns the kaleo task instance token persistence. - * - * @return the kaleo task instance token persistence - */ - public KaleoTaskInstanceTokenPersistence getKaleoTaskInstanceTokenPersistence() { - return kaleoTaskInstanceTokenPersistence; - } - - /** - * Sets the kaleo task instance token persistence. - * - * @param kaleoTaskInstanceTokenPersistence the kaleo task instance token persistence - */ - public void setKaleoTaskInstanceTokenPersistence( - KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence) { - this.kaleoTaskInstanceTokenPersistence = kaleoTaskInstanceTokenPersistence; - } - - /** - * Returns the old d l file entry local service. - * - * @return the old d l file entry local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService getOldDLFileEntryLocalService() { - return oldDLFileEntryLocalService; - } - - /** - * Sets the old d l file entry local service. - * - * @param oldDLFileEntryLocalService the old d l file entry local service - */ - public void setOldDLFileEntryLocalService( - it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService) { - this.oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Returns the old d l file entry persistence. - * - * @return the old d l file entry persistence - */ - public OldDLFileEntryPersistence getOldDLFileEntryPersistence() { - return oldDLFileEntryPersistence; - } - - /** - * Sets the old d l file entry persistence. - * - * @param oldDLFileEntryPersistence the old d l file entry persistence - */ - public void setOldDLFileEntryPersistence( - OldDLFileEntryPersistence oldDLFileEntryPersistence) { - this.oldDLFileEntryPersistence = oldDLFileEntryPersistence; - } - - /** - * Returns the old d l folder local service. - * - * @return the old d l folder local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFolderLocalService getOldDLFolderLocalService() { - return oldDLFolderLocalService; - } - - /** - * Sets the old d l folder local service. - * - * @param oldDLFolderLocalService the old d l folder local service - */ - public void setOldDLFolderLocalService( - it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService) { - this.oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Returns the old d l folder persistence. - * - * @return the old d l folder persistence - */ - public OldDLFolderPersistence getOldDLFolderPersistence() { - return oldDLFolderPersistence; - } - - /** - * Sets the old d l folder persistence. - * - * @param oldDLFolderPersistence the old d l folder persistence - */ - public void setOldDLFolderPersistence( - OldDLFolderPersistence oldDLFolderPersistence) { - this.oldDLFolderPersistence = oldDLFolderPersistence; - } - - /** - * Returns the old group local service. - * - * @return the old group local service - */ - public it.tref.liferay.portos.importazione.service.OldGroupLocalService getOldGroupLocalService() { - return oldGroupLocalService; - } - - /** - * Sets the old group local service. - * - * @param oldGroupLocalService the old group local service - */ - public void setOldGroupLocalService( - it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService) { - this.oldGroupLocalService = oldGroupLocalService; - } - - /** - * Returns the old group persistence. - * - * @return the old group persistence - */ - public OldGroupPersistence getOldGroupPersistence() { - return oldGroupPersistence; - } - - /** - * Sets the old group persistence. - * - * @param oldGroupPersistence the old group persistence - */ - public void setOldGroupPersistence(OldGroupPersistence oldGroupPersistence) { - this.oldGroupPersistence = oldGroupPersistence; - } - - /** - * Returns the old organization local service. - * - * @return the old organization local service - */ - public it.tref.liferay.portos.importazione.service.OldOrganizationLocalService getOldOrganizationLocalService() { - return oldOrganizationLocalService; - } - - /** - * Sets the old organization local service. - * - * @param oldOrganizationLocalService the old organization local service - */ - public void setOldOrganizationLocalService( - it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService) { - this.oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Returns the old organization persistence. - * - * @return the old organization persistence - */ - public OldOrganizationPersistence getOldOrganizationPersistence() { - return oldOrganizationPersistence; - } - - /** - * Sets the old organization persistence. - * - * @param oldOrganizationPersistence the old organization persistence - */ - public void setOldOrganizationPersistence( - OldOrganizationPersistence oldOrganizationPersistence) { - this.oldOrganizationPersistence = oldOrganizationPersistence; - } - - /** - * Returns the old role local service. - * - * @return the old role local service - */ - public it.tref.liferay.portos.importazione.service.OldRoleLocalService getOldRoleLocalService() { - return oldRoleLocalService; - } - - /** - * Sets the old role local service. - * - * @param oldRoleLocalService the old role local service - */ - public void setOldRoleLocalService( - it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService) { - this.oldRoleLocalService = oldRoleLocalService; - } - - /** - * Returns the old role persistence. - * - * @return the old role persistence - */ - public OldRolePersistence getOldRolePersistence() { - return oldRolePersistence; - } - - /** - * Sets the old role persistence. - * - * @param oldRolePersistence the old role persistence - */ - public void setOldRolePersistence(OldRolePersistence oldRolePersistence) { - this.oldRolePersistence = oldRolePersistence; - } - - /** - * Returns the old user local service. - * - * @return the old user local service - */ - public it.tref.liferay.portos.importazione.service.OldUserLocalService getOldUserLocalService() { - return oldUserLocalService; - } - - /** - * Sets the old user local service. - * - * @param oldUserLocalService the old user local service - */ - public void setOldUserLocalService( - it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService) { - this.oldUserLocalService = oldUserLocalService; - } - - /** - * Returns the old user persistence. - * - * @return the old user persistence - */ - public OldUserPersistence getOldUserPersistence() { - return oldUserPersistence; - } - - /** - * Sets the old user persistence. - * - * @param oldUserPersistence the old user persistence - */ - public void setOldUserPersistence(OldUserPersistence oldUserPersistence) { - this.oldUserPersistence = oldUserPersistence; - } - - /** - * Returns the old user group local service. - * - * @return the old user group local service - */ - public it.tref.liferay.portos.importazione.service.OldUserGroupLocalService getOldUserGroupLocalService() { - return oldUserGroupLocalService; - } - - /** - * Sets the old user group local service. - * - * @param oldUserGroupLocalService the old user group local service - */ - public void setOldUserGroupLocalService( - it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService) { - this.oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Returns the old user group persistence. - * - * @return the old user group persistence - */ - public OldUserGroupPersistence getOldUserGroupPersistence() { - return oldUserGroupPersistence; - } - - /** - * Sets the old user group persistence. - * - * @param oldUserGroupPersistence the old user group persistence - */ - public void setOldUserGroupPersistence( - OldUserGroupPersistence oldUserGroupPersistence) { - this.oldUserGroupPersistence = oldUserGroupPersistence; - } - - /** - * Returns the old user group finder. - * - * @return the old user group finder - */ - public OldUserGroupFinder getOldUserGroupFinder() { - return oldUserGroupFinder; - } - - /** - * Sets the old user group finder. - * - * @param oldUserGroupFinder the old user group finder - */ - public void setOldUserGroupFinder(OldUserGroupFinder oldUserGroupFinder) { - this.oldUserGroupFinder = oldUserGroupFinder; - } - - /** - * Returns the procedura importazione local service. - * - * @return the procedura importazione local service - */ - public it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService getProceduraImportazioneLocalService() { - return proceduraImportazioneLocalService; - } - - /** - * Sets the procedura importazione local service. - * - * @param proceduraImportazioneLocalService the procedura importazione local service - */ - public void setProceduraImportazioneLocalService( - it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - this.proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Returns the procedura importazione persistence. - * - * @return the procedura importazione persistence - */ - public ProceduraImportazionePersistence getProceduraImportazionePersistence() { - return proceduraImportazionePersistence; - } - - /** - * Sets the procedura importazione persistence. - * - * @param proceduraImportazionePersistence the procedura importazione persistence - */ - public void setProceduraImportazionePersistence( - ProceduraImportazionePersistence proceduraImportazionePersistence) { - this.proceduraImportazionePersistence = proceduraImportazionePersistence; - } - - /** - * Returns the stato importazione local service. - * - * @return the stato importazione local service - */ - public it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService getStatoImportazioneLocalService() { - return statoImportazioneLocalService; - } - - /** - * Sets the stato importazione local service. - * - * @param statoImportazioneLocalService the stato importazione local service - */ - public void setStatoImportazioneLocalService( - it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService) { - this.statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Returns the stato importazione persistence. - * - * @return the stato importazione persistence - */ - public StatoImportazionePersistence getStatoImportazionePersistence() { - return statoImportazionePersistence; - } - - /** - * Sets the stato importazione persistence. - * - * @param statoImportazionePersistence the stato importazione persistence - */ - public void setStatoImportazionePersistence( - StatoImportazionePersistence statoImportazionePersistence) { - this.statoImportazionePersistence = statoImportazionePersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.importazione.model.OldRole", - oldRoleLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.importazione.model.OldRole"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return OldRole.class; - } - - protected String getModelClassName() { - return OldRole.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = oldRolePersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService; - @BeanReference(type = BoConfigurazionePersistence.class) - protected BoConfigurazionePersistence boConfigurazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeProvinciaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService; - @BeanReference(type = FeProvinciaPersistence.class) - protected FeProvinciaPersistence feProvinciaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService; - @BeanReference(type = KaleoInstancePersistence.class) - protected KaleoInstancePersistence kaleoInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService; - @BeanReference(type = KaleoInstanceTokenPersistence.class) - protected KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoLogLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService; - @BeanReference(type = KaleoLogPersistence.class) - protected KaleoLogPersistence kaleoLogPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoNodeLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService; - @BeanReference(type = KaleoNodePersistence.class) - protected KaleoNodePersistence kaleoNodePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService; - @BeanReference(type = KaleoTaskPersistence.class) - protected KaleoTaskPersistence kaleoTaskPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService; - @BeanReference(type = KaleoTaskAssignmentInstancePersistence.class) - protected KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService; - @BeanReference(type = KaleoTaskInstanceTokenPersistence.class) - protected KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService; - @BeanReference(type = OldDLFileEntryPersistence.class) - protected OldDLFileEntryPersistence oldDLFileEntryPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFolderLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService; - @BeanReference(type = OldDLFolderPersistence.class) - protected OldDLFolderPersistence oldDLFolderPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService; - @BeanReference(type = OldGroupPersistence.class) - protected OldGroupPersistence oldGroupPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldOrganizationLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService; - @BeanReference(type = OldOrganizationPersistence.class) - protected OldOrganizationPersistence oldOrganizationPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldRoleLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService; - @BeanReference(type = OldRolePersistence.class) - protected OldRolePersistence oldRolePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService; - @BeanReference(type = OldUserPersistence.class) - protected OldUserPersistence oldUserPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService; - @BeanReference(type = OldUserGroupPersistence.class) - protected OldUserGroupPersistence oldUserGroupPersistence; - @BeanReference(type = OldUserGroupFinder.class) - protected OldUserGroupFinder oldUserGroupFinder; - @BeanReference(type = it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService; - @BeanReference(type = ProceduraImportazionePersistence.class) - protected ProceduraImportazionePersistence proceduraImportazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService; - @BeanReference(type = StatoImportazionePersistence.class) - protected StatoImportazionePersistence statoImportazionePersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private OldRoleLocalServiceClpInvoker _clpInvoker = new OldRoleLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldRoleLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldRoleLocalServiceClpInvoker.java deleted file mode 100644 index c092adba..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldRoleLocalServiceClpInvoker.java +++ /dev/null @@ -1,258 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import it.tref.liferay.portos.importazione.service.OldRoleLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author 3FC - * @generated - */ -public class OldRoleLocalServiceClpInvoker { - public OldRoleLocalServiceClpInvoker() { - _methodName0 = "addOldRole"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.OldRole" - }; - - _methodName1 = "createOldRole"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteOldRole"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteOldRole"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.OldRole" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchOldRole"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getOldRole"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getOldRoles"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getOldRolesCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateOldRole"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.OldRole" - }; - - _methodName178 = "getBeanIdentifier"; - - _methodParameterTypes178 = new String[] { }; - - _methodName179 = "setBeanIdentifier"; - - _methodParameterTypes179 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return OldRoleLocalServiceUtil.addOldRole((it.tref.liferay.portos.importazione.model.OldRole)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return OldRoleLocalServiceUtil.createOldRole(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return OldRoleLocalServiceUtil.deleteOldRole(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return OldRoleLocalServiceUtil.deleteOldRole((it.tref.liferay.portos.importazione.model.OldRole)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return OldRoleLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return OldRoleLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return OldRoleLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return OldRoleLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return OldRoleLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return OldRoleLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return OldRoleLocalServiceUtil.fetchOldRole(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return OldRoleLocalServiceUtil.getOldRole(((Long)arguments[0]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return OldRoleLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return OldRoleLocalServiceUtil.getOldRoles(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return OldRoleLocalServiceUtil.getOldRolesCount(); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return OldRoleLocalServiceUtil.updateOldRole((it.tref.liferay.portos.importazione.model.OldRole)arguments[0]); - } - - if (_methodName178.equals(name) && - Arrays.deepEquals(_methodParameterTypes178, parameterTypes)) { - return OldRoleLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName179.equals(name) && - Arrays.deepEquals(_methodParameterTypes179, parameterTypes)) { - OldRoleLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName178; - private String[] _methodParameterTypes178; - private String _methodName179; - private String[] _methodParameterTypes179; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldUserGroupLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldUserGroupLocalServiceBaseImpl.java deleted file mode 100644 index 806bb0e1..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldUserGroupLocalServiceBaseImpl.java +++ /dev/null @@ -1,2076 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.importazione.model.OldUserGroup; -import it.tref.liferay.portos.importazione.service.OldUserGroupLocalService; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinder; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the old user group local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.importazione.service.impl.OldUserGroupLocalServiceImpl}. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.impl.OldUserGroupLocalServiceImpl - * @see it.tref.liferay.portos.importazione.service.OldUserGroupLocalServiceUtil - * @generated - */ -public abstract class OldUserGroupLocalServiceBaseImpl - extends BaseLocalServiceImpl implements OldUserGroupLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.importazione.service.OldUserGroupLocalServiceUtil} to access the old user group local service. - */ - - /** - * Adds the old user group to the database. Also notifies the appropriate model listeners. - * - * @param oldUserGroup the old user group - * @return the old user group that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public OldUserGroup addOldUserGroup(OldUserGroup oldUserGroup) - throws SystemException { - oldUserGroup.setNew(true); - - return oldUserGroupPersistence.update(oldUserGroup); - } - - /** - * Creates a new old user group with the primary key. Does not add the old user group to the database. - * - * @param userGroupId the primary key for the new old user group - * @return the new old user group - */ - @Override - public OldUserGroup createOldUserGroup(long userGroupId) { - return oldUserGroupPersistence.create(userGroupId); - } - - /** - * Deletes the old user group with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param userGroupId the primary key of the old user group - * @return the old user group that was removed - * @throws PortalException if a old user group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public OldUserGroup deleteOldUserGroup(long userGroupId) - throws PortalException, SystemException { - return oldUserGroupPersistence.remove(userGroupId); - } - - /** - * Deletes the old user group from the database. Also notifies the appropriate model listeners. - * - * @param oldUserGroup the old user group - * @return the old user group that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public OldUserGroup deleteOldUserGroup(OldUserGroup oldUserGroup) - throws SystemException { - return oldUserGroupPersistence.remove(oldUserGroup); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(OldUserGroup.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return oldUserGroupPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldUserGroupModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return oldUserGroupPersistence.findWithDynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldUserGroupModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return oldUserGroupPersistence.findWithDynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return oldUserGroupPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return oldUserGroupPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public OldUserGroup fetchOldUserGroup(long userGroupId) - throws SystemException { - return oldUserGroupPersistence.fetchByPrimaryKey(userGroupId); - } - - /** - * Returns the old user group with the primary key. - * - * @param userGroupId the primary key of the old user group - * @return the old user group - * @throws PortalException if a old user group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldUserGroup getOldUserGroup(long userGroupId) - throws PortalException, SystemException { - return oldUserGroupPersistence.findByPrimaryKey(userGroupId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return oldUserGroupPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns a range of all the old user groups. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldUserGroupModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old user groups - * @param end the upper bound of the range of old user groups (not inclusive) - * @return the range of old user groups - * @throws SystemException if a system exception occurred - */ - @Override - public List getOldUserGroups(int start, int end) - throws SystemException { - return oldUserGroupPersistence.findAll(start, end); - } - - /** - * Returns the number of old user groups. - * - * @return the number of old user groups - * @throws SystemException if a system exception occurred - */ - @Override - public int getOldUserGroupsCount() throws SystemException { - return oldUserGroupPersistence.countAll(); - } - - /** - * Updates the old user group in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param oldUserGroup the old user group - * @return the old user group that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public OldUserGroup updateOldUserGroup(OldUserGroup oldUserGroup) - throws SystemException { - return oldUserGroupPersistence.update(oldUserGroup); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.importazione.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.importazione.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo configurazione local service. - * - * @return the bo configurazione local service - */ - public it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService getBoConfigurazioneLocalService() { - return boConfigurazioneLocalService; - } - - /** - * Sets the bo configurazione local service. - * - * @param boConfigurazioneLocalService the bo configurazione local service - */ - public void setBoConfigurazioneLocalService( - it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService) { - this.boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Returns the bo configurazione persistence. - * - * @return the bo configurazione persistence - */ - public BoConfigurazionePersistence getBoConfigurazionePersistence() { - return boConfigurazionePersistence; - } - - /** - * Sets the bo configurazione persistence. - * - * @param boConfigurazionePersistence the bo configurazione persistence - */ - public void setBoConfigurazionePersistence( - BoConfigurazionePersistence boConfigurazionePersistence) { - this.boConfigurazionePersistence = boConfigurazionePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.importazione.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.importazione.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.importazione.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.importazione.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.importazione.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.importazione.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe provincia local service. - * - * @return the fe provincia local service - */ - public it.tref.liferay.portos.importazione.service.FeProvinciaLocalService getFeProvinciaLocalService() { - return feProvinciaLocalService; - } - - /** - * Sets the fe provincia local service. - * - * @param feProvinciaLocalService the fe provincia local service - */ - public void setFeProvinciaLocalService( - it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService) { - this.feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Returns the fe provincia persistence. - * - * @return the fe provincia persistence - */ - public FeProvinciaPersistence getFeProvinciaPersistence() { - return feProvinciaPersistence; - } - - /** - * Sets the fe provincia persistence. - * - * @param feProvinciaPersistence the fe provincia persistence - */ - public void setFeProvinciaPersistence( - FeProvinciaPersistence feProvinciaPersistence) { - this.feProvinciaPersistence = feProvinciaPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.importazione.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the kaleo instance local service. - * - * @return the kaleo instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService getKaleoInstanceLocalService() { - return kaleoInstanceLocalService; - } - - /** - * Sets the kaleo instance local service. - * - * @param kaleoInstanceLocalService the kaleo instance local service - */ - public void setKaleoInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService) { - this.kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Returns the kaleo instance persistence. - * - * @return the kaleo instance persistence - */ - public KaleoInstancePersistence getKaleoInstancePersistence() { - return kaleoInstancePersistence; - } - - /** - * Sets the kaleo instance persistence. - * - * @param kaleoInstancePersistence the kaleo instance persistence - */ - public void setKaleoInstancePersistence( - KaleoInstancePersistence kaleoInstancePersistence) { - this.kaleoInstancePersistence = kaleoInstancePersistence; - } - - /** - * Returns the kaleo instance token local service. - * - * @return the kaleo instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService getKaleoInstanceTokenLocalService() { - return kaleoInstanceTokenLocalService; - } - - /** - * Sets the kaleo instance token local service. - * - * @param kaleoInstanceTokenLocalService the kaleo instance token local service - */ - public void setKaleoInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - this.kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Returns the kaleo instance token persistence. - * - * @return the kaleo instance token persistence - */ - public KaleoInstanceTokenPersistence getKaleoInstanceTokenPersistence() { - return kaleoInstanceTokenPersistence; - } - - /** - * Sets the kaleo instance token persistence. - * - * @param kaleoInstanceTokenPersistence the kaleo instance token persistence - */ - public void setKaleoInstanceTokenPersistence( - KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence) { - this.kaleoInstanceTokenPersistence = kaleoInstanceTokenPersistence; - } - - /** - * Returns the kaleo log local service. - * - * @return the kaleo log local service - */ - public it.tref.liferay.portos.importazione.service.KaleoLogLocalService getKaleoLogLocalService() { - return kaleoLogLocalService; - } - - /** - * Sets the kaleo log local service. - * - * @param kaleoLogLocalService the kaleo log local service - */ - public void setKaleoLogLocalService( - it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService) { - this.kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Returns the kaleo log persistence. - * - * @return the kaleo log persistence - */ - public KaleoLogPersistence getKaleoLogPersistence() { - return kaleoLogPersistence; - } - - /** - * Sets the kaleo log persistence. - * - * @param kaleoLogPersistence the kaleo log persistence - */ - public void setKaleoLogPersistence(KaleoLogPersistence kaleoLogPersistence) { - this.kaleoLogPersistence = kaleoLogPersistence; - } - - /** - * Returns the kaleo node local service. - * - * @return the kaleo node local service - */ - public it.tref.liferay.portos.importazione.service.KaleoNodeLocalService getKaleoNodeLocalService() { - return kaleoNodeLocalService; - } - - /** - * Sets the kaleo node local service. - * - * @param kaleoNodeLocalService the kaleo node local service - */ - public void setKaleoNodeLocalService( - it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService) { - this.kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Returns the kaleo node persistence. - * - * @return the kaleo node persistence - */ - public KaleoNodePersistence getKaleoNodePersistence() { - return kaleoNodePersistence; - } - - /** - * Sets the kaleo node persistence. - * - * @param kaleoNodePersistence the kaleo node persistence - */ - public void setKaleoNodePersistence( - KaleoNodePersistence kaleoNodePersistence) { - this.kaleoNodePersistence = kaleoNodePersistence; - } - - /** - * Returns the kaleo task local service. - * - * @return the kaleo task local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskLocalService getKaleoTaskLocalService() { - return kaleoTaskLocalService; - } - - /** - * Sets the kaleo task local service. - * - * @param kaleoTaskLocalService the kaleo task local service - */ - public void setKaleoTaskLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService) { - this.kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Returns the kaleo task persistence. - * - * @return the kaleo task persistence - */ - public KaleoTaskPersistence getKaleoTaskPersistence() { - return kaleoTaskPersistence; - } - - /** - * Sets the kaleo task persistence. - * - * @param kaleoTaskPersistence the kaleo task persistence - */ - public void setKaleoTaskPersistence( - KaleoTaskPersistence kaleoTaskPersistence) { - this.kaleoTaskPersistence = kaleoTaskPersistence; - } - - /** - * Returns the kaleo task assignment instance local service. - * - * @return the kaleo task assignment instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService getKaleoTaskAssignmentInstanceLocalService() { - return kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Sets the kaleo task assignment instance local service. - * - * @param kaleoTaskAssignmentInstanceLocalService the kaleo task assignment instance local service - */ - public void setKaleoTaskAssignmentInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - this.kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Returns the kaleo task assignment instance persistence. - * - * @return the kaleo task assignment instance persistence - */ - public KaleoTaskAssignmentInstancePersistence getKaleoTaskAssignmentInstancePersistence() { - return kaleoTaskAssignmentInstancePersistence; - } - - /** - * Sets the kaleo task assignment instance persistence. - * - * @param kaleoTaskAssignmentInstancePersistence the kaleo task assignment instance persistence - */ - public void setKaleoTaskAssignmentInstancePersistence( - KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence) { - this.kaleoTaskAssignmentInstancePersistence = kaleoTaskAssignmentInstancePersistence; - } - - /** - * Returns the kaleo task instance token local service. - * - * @return the kaleo task instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService getKaleoTaskInstanceTokenLocalService() { - return kaleoTaskInstanceTokenLocalService; - } - - /** - * Sets the kaleo task instance token local service. - * - * @param kaleoTaskInstanceTokenLocalService the kaleo task instance token local service - */ - public void setKaleoTaskInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - this.kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Returns the kaleo task instance token persistence. - * - * @return the kaleo task instance token persistence - */ - public KaleoTaskInstanceTokenPersistence getKaleoTaskInstanceTokenPersistence() { - return kaleoTaskInstanceTokenPersistence; - } - - /** - * Sets the kaleo task instance token persistence. - * - * @param kaleoTaskInstanceTokenPersistence the kaleo task instance token persistence - */ - public void setKaleoTaskInstanceTokenPersistence( - KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence) { - this.kaleoTaskInstanceTokenPersistence = kaleoTaskInstanceTokenPersistence; - } - - /** - * Returns the old d l file entry local service. - * - * @return the old d l file entry local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService getOldDLFileEntryLocalService() { - return oldDLFileEntryLocalService; - } - - /** - * Sets the old d l file entry local service. - * - * @param oldDLFileEntryLocalService the old d l file entry local service - */ - public void setOldDLFileEntryLocalService( - it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService) { - this.oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Returns the old d l file entry persistence. - * - * @return the old d l file entry persistence - */ - public OldDLFileEntryPersistence getOldDLFileEntryPersistence() { - return oldDLFileEntryPersistence; - } - - /** - * Sets the old d l file entry persistence. - * - * @param oldDLFileEntryPersistence the old d l file entry persistence - */ - public void setOldDLFileEntryPersistence( - OldDLFileEntryPersistence oldDLFileEntryPersistence) { - this.oldDLFileEntryPersistence = oldDLFileEntryPersistence; - } - - /** - * Returns the old d l folder local service. - * - * @return the old d l folder local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFolderLocalService getOldDLFolderLocalService() { - return oldDLFolderLocalService; - } - - /** - * Sets the old d l folder local service. - * - * @param oldDLFolderLocalService the old d l folder local service - */ - public void setOldDLFolderLocalService( - it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService) { - this.oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Returns the old d l folder persistence. - * - * @return the old d l folder persistence - */ - public OldDLFolderPersistence getOldDLFolderPersistence() { - return oldDLFolderPersistence; - } - - /** - * Sets the old d l folder persistence. - * - * @param oldDLFolderPersistence the old d l folder persistence - */ - public void setOldDLFolderPersistence( - OldDLFolderPersistence oldDLFolderPersistence) { - this.oldDLFolderPersistence = oldDLFolderPersistence; - } - - /** - * Returns the old group local service. - * - * @return the old group local service - */ - public it.tref.liferay.portos.importazione.service.OldGroupLocalService getOldGroupLocalService() { - return oldGroupLocalService; - } - - /** - * Sets the old group local service. - * - * @param oldGroupLocalService the old group local service - */ - public void setOldGroupLocalService( - it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService) { - this.oldGroupLocalService = oldGroupLocalService; - } - - /** - * Returns the old group persistence. - * - * @return the old group persistence - */ - public OldGroupPersistence getOldGroupPersistence() { - return oldGroupPersistence; - } - - /** - * Sets the old group persistence. - * - * @param oldGroupPersistence the old group persistence - */ - public void setOldGroupPersistence(OldGroupPersistence oldGroupPersistence) { - this.oldGroupPersistence = oldGroupPersistence; - } - - /** - * Returns the old organization local service. - * - * @return the old organization local service - */ - public it.tref.liferay.portos.importazione.service.OldOrganizationLocalService getOldOrganizationLocalService() { - return oldOrganizationLocalService; - } - - /** - * Sets the old organization local service. - * - * @param oldOrganizationLocalService the old organization local service - */ - public void setOldOrganizationLocalService( - it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService) { - this.oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Returns the old organization persistence. - * - * @return the old organization persistence - */ - public OldOrganizationPersistence getOldOrganizationPersistence() { - return oldOrganizationPersistence; - } - - /** - * Sets the old organization persistence. - * - * @param oldOrganizationPersistence the old organization persistence - */ - public void setOldOrganizationPersistence( - OldOrganizationPersistence oldOrganizationPersistence) { - this.oldOrganizationPersistence = oldOrganizationPersistence; - } - - /** - * Returns the old role local service. - * - * @return the old role local service - */ - public it.tref.liferay.portos.importazione.service.OldRoleLocalService getOldRoleLocalService() { - return oldRoleLocalService; - } - - /** - * Sets the old role local service. - * - * @param oldRoleLocalService the old role local service - */ - public void setOldRoleLocalService( - it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService) { - this.oldRoleLocalService = oldRoleLocalService; - } - - /** - * Returns the old role persistence. - * - * @return the old role persistence - */ - public OldRolePersistence getOldRolePersistence() { - return oldRolePersistence; - } - - /** - * Sets the old role persistence. - * - * @param oldRolePersistence the old role persistence - */ - public void setOldRolePersistence(OldRolePersistence oldRolePersistence) { - this.oldRolePersistence = oldRolePersistence; - } - - /** - * Returns the old user local service. - * - * @return the old user local service - */ - public it.tref.liferay.portos.importazione.service.OldUserLocalService getOldUserLocalService() { - return oldUserLocalService; - } - - /** - * Sets the old user local service. - * - * @param oldUserLocalService the old user local service - */ - public void setOldUserLocalService( - it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService) { - this.oldUserLocalService = oldUserLocalService; - } - - /** - * Returns the old user persistence. - * - * @return the old user persistence - */ - public OldUserPersistence getOldUserPersistence() { - return oldUserPersistence; - } - - /** - * Sets the old user persistence. - * - * @param oldUserPersistence the old user persistence - */ - public void setOldUserPersistence(OldUserPersistence oldUserPersistence) { - this.oldUserPersistence = oldUserPersistence; - } - - /** - * Returns the old user group local service. - * - * @return the old user group local service - */ - public it.tref.liferay.portos.importazione.service.OldUserGroupLocalService getOldUserGroupLocalService() { - return oldUserGroupLocalService; - } - - /** - * Sets the old user group local service. - * - * @param oldUserGroupLocalService the old user group local service - */ - public void setOldUserGroupLocalService( - it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService) { - this.oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Returns the old user group persistence. - * - * @return the old user group persistence - */ - public OldUserGroupPersistence getOldUserGroupPersistence() { - return oldUserGroupPersistence; - } - - /** - * Sets the old user group persistence. - * - * @param oldUserGroupPersistence the old user group persistence - */ - public void setOldUserGroupPersistence( - OldUserGroupPersistence oldUserGroupPersistence) { - this.oldUserGroupPersistence = oldUserGroupPersistence; - } - - /** - * Returns the old user group finder. - * - * @return the old user group finder - */ - public OldUserGroupFinder getOldUserGroupFinder() { - return oldUserGroupFinder; - } - - /** - * Sets the old user group finder. - * - * @param oldUserGroupFinder the old user group finder - */ - public void setOldUserGroupFinder(OldUserGroupFinder oldUserGroupFinder) { - this.oldUserGroupFinder = oldUserGroupFinder; - } - - /** - * Returns the procedura importazione local service. - * - * @return the procedura importazione local service - */ - public it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService getProceduraImportazioneLocalService() { - return proceduraImportazioneLocalService; - } - - /** - * Sets the procedura importazione local service. - * - * @param proceduraImportazioneLocalService the procedura importazione local service - */ - public void setProceduraImportazioneLocalService( - it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - this.proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Returns the procedura importazione persistence. - * - * @return the procedura importazione persistence - */ - public ProceduraImportazionePersistence getProceduraImportazionePersistence() { - return proceduraImportazionePersistence; - } - - /** - * Sets the procedura importazione persistence. - * - * @param proceduraImportazionePersistence the procedura importazione persistence - */ - public void setProceduraImportazionePersistence( - ProceduraImportazionePersistence proceduraImportazionePersistence) { - this.proceduraImportazionePersistence = proceduraImportazionePersistence; - } - - /** - * Returns the stato importazione local service. - * - * @return the stato importazione local service - */ - public it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService getStatoImportazioneLocalService() { - return statoImportazioneLocalService; - } - - /** - * Sets the stato importazione local service. - * - * @param statoImportazioneLocalService the stato importazione local service - */ - public void setStatoImportazioneLocalService( - it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService) { - this.statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Returns the stato importazione persistence. - * - * @return the stato importazione persistence - */ - public StatoImportazionePersistence getStatoImportazionePersistence() { - return statoImportazionePersistence; - } - - /** - * Sets the stato importazione persistence. - * - * @param statoImportazionePersistence the stato importazione persistence - */ - public void setStatoImportazionePersistence( - StatoImportazionePersistence statoImportazionePersistence) { - this.statoImportazionePersistence = statoImportazionePersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.importazione.model.OldUserGroup", - oldUserGroupLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.importazione.model.OldUserGroup"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return OldUserGroup.class; - } - - protected String getModelClassName() { - return OldUserGroup.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = oldUserGroupPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService; - @BeanReference(type = BoConfigurazionePersistence.class) - protected BoConfigurazionePersistence boConfigurazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeProvinciaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService; - @BeanReference(type = FeProvinciaPersistence.class) - protected FeProvinciaPersistence feProvinciaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService; - @BeanReference(type = KaleoInstancePersistence.class) - protected KaleoInstancePersistence kaleoInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService; - @BeanReference(type = KaleoInstanceTokenPersistence.class) - protected KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoLogLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService; - @BeanReference(type = KaleoLogPersistence.class) - protected KaleoLogPersistence kaleoLogPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoNodeLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService; - @BeanReference(type = KaleoNodePersistence.class) - protected KaleoNodePersistence kaleoNodePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService; - @BeanReference(type = KaleoTaskPersistence.class) - protected KaleoTaskPersistence kaleoTaskPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService; - @BeanReference(type = KaleoTaskAssignmentInstancePersistence.class) - protected KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService; - @BeanReference(type = KaleoTaskInstanceTokenPersistence.class) - protected KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService; - @BeanReference(type = OldDLFileEntryPersistence.class) - protected OldDLFileEntryPersistence oldDLFileEntryPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFolderLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService; - @BeanReference(type = OldDLFolderPersistence.class) - protected OldDLFolderPersistence oldDLFolderPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService; - @BeanReference(type = OldGroupPersistence.class) - protected OldGroupPersistence oldGroupPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldOrganizationLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService; - @BeanReference(type = OldOrganizationPersistence.class) - protected OldOrganizationPersistence oldOrganizationPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldRoleLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService; - @BeanReference(type = OldRolePersistence.class) - protected OldRolePersistence oldRolePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService; - @BeanReference(type = OldUserPersistence.class) - protected OldUserPersistence oldUserPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService; - @BeanReference(type = OldUserGroupPersistence.class) - protected OldUserGroupPersistence oldUserGroupPersistence; - @BeanReference(type = OldUserGroupFinder.class) - protected OldUserGroupFinder oldUserGroupFinder; - @BeanReference(type = it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService; - @BeanReference(type = ProceduraImportazionePersistence.class) - protected ProceduraImportazionePersistence proceduraImportazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService; - @BeanReference(type = StatoImportazionePersistence.class) - protected StatoImportazionePersistence statoImportazionePersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private OldUserGroupLocalServiceClpInvoker _clpInvoker = new OldUserGroupLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldUserGroupLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldUserGroupLocalServiceClpInvoker.java deleted file mode 100644 index 49c14faa..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldUserGroupLocalServiceClpInvoker.java +++ /dev/null @@ -1,269 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import it.tref.liferay.portos.importazione.service.OldUserGroupLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author 3FC - * @generated - */ -public class OldUserGroupLocalServiceClpInvoker { - public OldUserGroupLocalServiceClpInvoker() { - _methodName0 = "addOldUserGroup"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.OldUserGroup" - }; - - _methodName1 = "createOldUserGroup"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteOldUserGroup"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteOldUserGroup"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.OldUserGroup" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchOldUserGroup"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getOldUserGroup"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getOldUserGroups"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getOldUserGroupsCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateOldUserGroup"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.OldUserGroup" - }; - - _methodName178 = "getBeanIdentifier"; - - _methodParameterTypes178 = new String[] { }; - - _methodName179 = "setBeanIdentifier"; - - _methodParameterTypes179 = new String[] { "java.lang.String" }; - - _methodName184 = "getOldUserGroupByUserId"; - - _methodParameterTypes184 = new String[] { "long" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return OldUserGroupLocalServiceUtil.addOldUserGroup((it.tref.liferay.portos.importazione.model.OldUserGroup)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return OldUserGroupLocalServiceUtil.createOldUserGroup(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return OldUserGroupLocalServiceUtil.deleteOldUserGroup(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return OldUserGroupLocalServiceUtil.deleteOldUserGroup((it.tref.liferay.portos.importazione.model.OldUserGroup)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return OldUserGroupLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return OldUserGroupLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return OldUserGroupLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return OldUserGroupLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return OldUserGroupLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return OldUserGroupLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return OldUserGroupLocalServiceUtil.fetchOldUserGroup(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return OldUserGroupLocalServiceUtil.getOldUserGroup(((Long)arguments[0]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return OldUserGroupLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return OldUserGroupLocalServiceUtil.getOldUserGroups(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return OldUserGroupLocalServiceUtil.getOldUserGroupsCount(); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return OldUserGroupLocalServiceUtil.updateOldUserGroup((it.tref.liferay.portos.importazione.model.OldUserGroup)arguments[0]); - } - - if (_methodName178.equals(name) && - Arrays.deepEquals(_methodParameterTypes178, parameterTypes)) { - return OldUserGroupLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName179.equals(name) && - Arrays.deepEquals(_methodParameterTypes179, parameterTypes)) { - OldUserGroupLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - if (_methodName184.equals(name) && - Arrays.deepEquals(_methodParameterTypes184, parameterTypes)) { - return OldUserGroupLocalServiceUtil.getOldUserGroupByUserId(((Long)arguments[0]).longValue()); - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName178; - private String[] _methodParameterTypes178; - private String _methodName179; - private String[] _methodParameterTypes179; - private String _methodName184; - private String[] _methodParameterTypes184; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldUserLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldUserLocalServiceBaseImpl.java deleted file mode 100644 index 53a20f1b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldUserLocalServiceBaseImpl.java +++ /dev/null @@ -1,2069 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.importazione.model.OldUser; -import it.tref.liferay.portos.importazione.service.OldUserLocalService; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinder; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the old user local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.importazione.service.impl.OldUserLocalServiceImpl}. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.impl.OldUserLocalServiceImpl - * @see it.tref.liferay.portos.importazione.service.OldUserLocalServiceUtil - * @generated - */ -public abstract class OldUserLocalServiceBaseImpl extends BaseLocalServiceImpl - implements OldUserLocalService, IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.importazione.service.OldUserLocalServiceUtil} to access the old user local service. - */ - - /** - * Adds the old user to the database. Also notifies the appropriate model listeners. - * - * @param oldUser the old user - * @return the old user that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public OldUser addOldUser(OldUser oldUser) throws SystemException { - oldUser.setNew(true); - - return oldUserPersistence.update(oldUser); - } - - /** - * Creates a new old user with the primary key. Does not add the old user to the database. - * - * @param userId the primary key for the new old user - * @return the new old user - */ - @Override - public OldUser createOldUser(long userId) { - return oldUserPersistence.create(userId); - } - - /** - * Deletes the old user with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param userId the primary key of the old user - * @return the old user that was removed - * @throws PortalException if a old user with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public OldUser deleteOldUser(long userId) - throws PortalException, SystemException { - return oldUserPersistence.remove(userId); - } - - /** - * Deletes the old user from the database. Also notifies the appropriate model listeners. - * - * @param oldUser the old user - * @return the old user that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public OldUser deleteOldUser(OldUser oldUser) throws SystemException { - return oldUserPersistence.remove(oldUser); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(OldUser.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return oldUserPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldUserModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return oldUserPersistence.findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldUserModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return oldUserPersistence.findWithDynamicQuery(dynamicQuery, start, - end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return oldUserPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return oldUserPersistence.countWithDynamicQuery(dynamicQuery, projection); - } - - @Override - public OldUser fetchOldUser(long userId) throws SystemException { - return oldUserPersistence.fetchByPrimaryKey(userId); - } - - /** - * Returns the old user with the primary key. - * - * @param userId the primary key of the old user - * @return the old user - * @throws PortalException if a old user with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldUser getOldUser(long userId) - throws PortalException, SystemException { - return oldUserPersistence.findByPrimaryKey(userId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return oldUserPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns a range of all the old users. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldUserModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old users - * @param end the upper bound of the range of old users (not inclusive) - * @return the range of old users - * @throws SystemException if a system exception occurred - */ - @Override - public List getOldUsers(int start, int end) - throws SystemException { - return oldUserPersistence.findAll(start, end); - } - - /** - * Returns the number of old users. - * - * @return the number of old users - * @throws SystemException if a system exception occurred - */ - @Override - public int getOldUsersCount() throws SystemException { - return oldUserPersistence.countAll(); - } - - /** - * Updates the old user in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param oldUser the old user - * @return the old user that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public OldUser updateOldUser(OldUser oldUser) throws SystemException { - return oldUserPersistence.update(oldUser); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.importazione.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.importazione.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo configurazione local service. - * - * @return the bo configurazione local service - */ - public it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService getBoConfigurazioneLocalService() { - return boConfigurazioneLocalService; - } - - /** - * Sets the bo configurazione local service. - * - * @param boConfigurazioneLocalService the bo configurazione local service - */ - public void setBoConfigurazioneLocalService( - it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService) { - this.boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Returns the bo configurazione persistence. - * - * @return the bo configurazione persistence - */ - public BoConfigurazionePersistence getBoConfigurazionePersistence() { - return boConfigurazionePersistence; - } - - /** - * Sets the bo configurazione persistence. - * - * @param boConfigurazionePersistence the bo configurazione persistence - */ - public void setBoConfigurazionePersistence( - BoConfigurazionePersistence boConfigurazionePersistence) { - this.boConfigurazionePersistence = boConfigurazionePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.importazione.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.importazione.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.importazione.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.importazione.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.importazione.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.importazione.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe provincia local service. - * - * @return the fe provincia local service - */ - public it.tref.liferay.portos.importazione.service.FeProvinciaLocalService getFeProvinciaLocalService() { - return feProvinciaLocalService; - } - - /** - * Sets the fe provincia local service. - * - * @param feProvinciaLocalService the fe provincia local service - */ - public void setFeProvinciaLocalService( - it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService) { - this.feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Returns the fe provincia persistence. - * - * @return the fe provincia persistence - */ - public FeProvinciaPersistence getFeProvinciaPersistence() { - return feProvinciaPersistence; - } - - /** - * Sets the fe provincia persistence. - * - * @param feProvinciaPersistence the fe provincia persistence - */ - public void setFeProvinciaPersistence( - FeProvinciaPersistence feProvinciaPersistence) { - this.feProvinciaPersistence = feProvinciaPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.importazione.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the kaleo instance local service. - * - * @return the kaleo instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService getKaleoInstanceLocalService() { - return kaleoInstanceLocalService; - } - - /** - * Sets the kaleo instance local service. - * - * @param kaleoInstanceLocalService the kaleo instance local service - */ - public void setKaleoInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService) { - this.kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Returns the kaleo instance persistence. - * - * @return the kaleo instance persistence - */ - public KaleoInstancePersistence getKaleoInstancePersistence() { - return kaleoInstancePersistence; - } - - /** - * Sets the kaleo instance persistence. - * - * @param kaleoInstancePersistence the kaleo instance persistence - */ - public void setKaleoInstancePersistence( - KaleoInstancePersistence kaleoInstancePersistence) { - this.kaleoInstancePersistence = kaleoInstancePersistence; - } - - /** - * Returns the kaleo instance token local service. - * - * @return the kaleo instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService getKaleoInstanceTokenLocalService() { - return kaleoInstanceTokenLocalService; - } - - /** - * Sets the kaleo instance token local service. - * - * @param kaleoInstanceTokenLocalService the kaleo instance token local service - */ - public void setKaleoInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - this.kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Returns the kaleo instance token persistence. - * - * @return the kaleo instance token persistence - */ - public KaleoInstanceTokenPersistence getKaleoInstanceTokenPersistence() { - return kaleoInstanceTokenPersistence; - } - - /** - * Sets the kaleo instance token persistence. - * - * @param kaleoInstanceTokenPersistence the kaleo instance token persistence - */ - public void setKaleoInstanceTokenPersistence( - KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence) { - this.kaleoInstanceTokenPersistence = kaleoInstanceTokenPersistence; - } - - /** - * Returns the kaleo log local service. - * - * @return the kaleo log local service - */ - public it.tref.liferay.portos.importazione.service.KaleoLogLocalService getKaleoLogLocalService() { - return kaleoLogLocalService; - } - - /** - * Sets the kaleo log local service. - * - * @param kaleoLogLocalService the kaleo log local service - */ - public void setKaleoLogLocalService( - it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService) { - this.kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Returns the kaleo log persistence. - * - * @return the kaleo log persistence - */ - public KaleoLogPersistence getKaleoLogPersistence() { - return kaleoLogPersistence; - } - - /** - * Sets the kaleo log persistence. - * - * @param kaleoLogPersistence the kaleo log persistence - */ - public void setKaleoLogPersistence(KaleoLogPersistence kaleoLogPersistence) { - this.kaleoLogPersistence = kaleoLogPersistence; - } - - /** - * Returns the kaleo node local service. - * - * @return the kaleo node local service - */ - public it.tref.liferay.portos.importazione.service.KaleoNodeLocalService getKaleoNodeLocalService() { - return kaleoNodeLocalService; - } - - /** - * Sets the kaleo node local service. - * - * @param kaleoNodeLocalService the kaleo node local service - */ - public void setKaleoNodeLocalService( - it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService) { - this.kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Returns the kaleo node persistence. - * - * @return the kaleo node persistence - */ - public KaleoNodePersistence getKaleoNodePersistence() { - return kaleoNodePersistence; - } - - /** - * Sets the kaleo node persistence. - * - * @param kaleoNodePersistence the kaleo node persistence - */ - public void setKaleoNodePersistence( - KaleoNodePersistence kaleoNodePersistence) { - this.kaleoNodePersistence = kaleoNodePersistence; - } - - /** - * Returns the kaleo task local service. - * - * @return the kaleo task local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskLocalService getKaleoTaskLocalService() { - return kaleoTaskLocalService; - } - - /** - * Sets the kaleo task local service. - * - * @param kaleoTaskLocalService the kaleo task local service - */ - public void setKaleoTaskLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService) { - this.kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Returns the kaleo task persistence. - * - * @return the kaleo task persistence - */ - public KaleoTaskPersistence getKaleoTaskPersistence() { - return kaleoTaskPersistence; - } - - /** - * Sets the kaleo task persistence. - * - * @param kaleoTaskPersistence the kaleo task persistence - */ - public void setKaleoTaskPersistence( - KaleoTaskPersistence kaleoTaskPersistence) { - this.kaleoTaskPersistence = kaleoTaskPersistence; - } - - /** - * Returns the kaleo task assignment instance local service. - * - * @return the kaleo task assignment instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService getKaleoTaskAssignmentInstanceLocalService() { - return kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Sets the kaleo task assignment instance local service. - * - * @param kaleoTaskAssignmentInstanceLocalService the kaleo task assignment instance local service - */ - public void setKaleoTaskAssignmentInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - this.kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Returns the kaleo task assignment instance persistence. - * - * @return the kaleo task assignment instance persistence - */ - public KaleoTaskAssignmentInstancePersistence getKaleoTaskAssignmentInstancePersistence() { - return kaleoTaskAssignmentInstancePersistence; - } - - /** - * Sets the kaleo task assignment instance persistence. - * - * @param kaleoTaskAssignmentInstancePersistence the kaleo task assignment instance persistence - */ - public void setKaleoTaskAssignmentInstancePersistence( - KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence) { - this.kaleoTaskAssignmentInstancePersistence = kaleoTaskAssignmentInstancePersistence; - } - - /** - * Returns the kaleo task instance token local service. - * - * @return the kaleo task instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService getKaleoTaskInstanceTokenLocalService() { - return kaleoTaskInstanceTokenLocalService; - } - - /** - * Sets the kaleo task instance token local service. - * - * @param kaleoTaskInstanceTokenLocalService the kaleo task instance token local service - */ - public void setKaleoTaskInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - this.kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Returns the kaleo task instance token persistence. - * - * @return the kaleo task instance token persistence - */ - public KaleoTaskInstanceTokenPersistence getKaleoTaskInstanceTokenPersistence() { - return kaleoTaskInstanceTokenPersistence; - } - - /** - * Sets the kaleo task instance token persistence. - * - * @param kaleoTaskInstanceTokenPersistence the kaleo task instance token persistence - */ - public void setKaleoTaskInstanceTokenPersistence( - KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence) { - this.kaleoTaskInstanceTokenPersistence = kaleoTaskInstanceTokenPersistence; - } - - /** - * Returns the old d l file entry local service. - * - * @return the old d l file entry local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService getOldDLFileEntryLocalService() { - return oldDLFileEntryLocalService; - } - - /** - * Sets the old d l file entry local service. - * - * @param oldDLFileEntryLocalService the old d l file entry local service - */ - public void setOldDLFileEntryLocalService( - it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService) { - this.oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Returns the old d l file entry persistence. - * - * @return the old d l file entry persistence - */ - public OldDLFileEntryPersistence getOldDLFileEntryPersistence() { - return oldDLFileEntryPersistence; - } - - /** - * Sets the old d l file entry persistence. - * - * @param oldDLFileEntryPersistence the old d l file entry persistence - */ - public void setOldDLFileEntryPersistence( - OldDLFileEntryPersistence oldDLFileEntryPersistence) { - this.oldDLFileEntryPersistence = oldDLFileEntryPersistence; - } - - /** - * Returns the old d l folder local service. - * - * @return the old d l folder local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFolderLocalService getOldDLFolderLocalService() { - return oldDLFolderLocalService; - } - - /** - * Sets the old d l folder local service. - * - * @param oldDLFolderLocalService the old d l folder local service - */ - public void setOldDLFolderLocalService( - it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService) { - this.oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Returns the old d l folder persistence. - * - * @return the old d l folder persistence - */ - public OldDLFolderPersistence getOldDLFolderPersistence() { - return oldDLFolderPersistence; - } - - /** - * Sets the old d l folder persistence. - * - * @param oldDLFolderPersistence the old d l folder persistence - */ - public void setOldDLFolderPersistence( - OldDLFolderPersistence oldDLFolderPersistence) { - this.oldDLFolderPersistence = oldDLFolderPersistence; - } - - /** - * Returns the old group local service. - * - * @return the old group local service - */ - public it.tref.liferay.portos.importazione.service.OldGroupLocalService getOldGroupLocalService() { - return oldGroupLocalService; - } - - /** - * Sets the old group local service. - * - * @param oldGroupLocalService the old group local service - */ - public void setOldGroupLocalService( - it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService) { - this.oldGroupLocalService = oldGroupLocalService; - } - - /** - * Returns the old group persistence. - * - * @return the old group persistence - */ - public OldGroupPersistence getOldGroupPersistence() { - return oldGroupPersistence; - } - - /** - * Sets the old group persistence. - * - * @param oldGroupPersistence the old group persistence - */ - public void setOldGroupPersistence(OldGroupPersistence oldGroupPersistence) { - this.oldGroupPersistence = oldGroupPersistence; - } - - /** - * Returns the old organization local service. - * - * @return the old organization local service - */ - public it.tref.liferay.portos.importazione.service.OldOrganizationLocalService getOldOrganizationLocalService() { - return oldOrganizationLocalService; - } - - /** - * Sets the old organization local service. - * - * @param oldOrganizationLocalService the old organization local service - */ - public void setOldOrganizationLocalService( - it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService) { - this.oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Returns the old organization persistence. - * - * @return the old organization persistence - */ - public OldOrganizationPersistence getOldOrganizationPersistence() { - return oldOrganizationPersistence; - } - - /** - * Sets the old organization persistence. - * - * @param oldOrganizationPersistence the old organization persistence - */ - public void setOldOrganizationPersistence( - OldOrganizationPersistence oldOrganizationPersistence) { - this.oldOrganizationPersistence = oldOrganizationPersistence; - } - - /** - * Returns the old role local service. - * - * @return the old role local service - */ - public it.tref.liferay.portos.importazione.service.OldRoleLocalService getOldRoleLocalService() { - return oldRoleLocalService; - } - - /** - * Sets the old role local service. - * - * @param oldRoleLocalService the old role local service - */ - public void setOldRoleLocalService( - it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService) { - this.oldRoleLocalService = oldRoleLocalService; - } - - /** - * Returns the old role persistence. - * - * @return the old role persistence - */ - public OldRolePersistence getOldRolePersistence() { - return oldRolePersistence; - } - - /** - * Sets the old role persistence. - * - * @param oldRolePersistence the old role persistence - */ - public void setOldRolePersistence(OldRolePersistence oldRolePersistence) { - this.oldRolePersistence = oldRolePersistence; - } - - /** - * Returns the old user local service. - * - * @return the old user local service - */ - public it.tref.liferay.portos.importazione.service.OldUserLocalService getOldUserLocalService() { - return oldUserLocalService; - } - - /** - * Sets the old user local service. - * - * @param oldUserLocalService the old user local service - */ - public void setOldUserLocalService( - it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService) { - this.oldUserLocalService = oldUserLocalService; - } - - /** - * Returns the old user persistence. - * - * @return the old user persistence - */ - public OldUserPersistence getOldUserPersistence() { - return oldUserPersistence; - } - - /** - * Sets the old user persistence. - * - * @param oldUserPersistence the old user persistence - */ - public void setOldUserPersistence(OldUserPersistence oldUserPersistence) { - this.oldUserPersistence = oldUserPersistence; - } - - /** - * Returns the old user group local service. - * - * @return the old user group local service - */ - public it.tref.liferay.portos.importazione.service.OldUserGroupLocalService getOldUserGroupLocalService() { - return oldUserGroupLocalService; - } - - /** - * Sets the old user group local service. - * - * @param oldUserGroupLocalService the old user group local service - */ - public void setOldUserGroupLocalService( - it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService) { - this.oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Returns the old user group persistence. - * - * @return the old user group persistence - */ - public OldUserGroupPersistence getOldUserGroupPersistence() { - return oldUserGroupPersistence; - } - - /** - * Sets the old user group persistence. - * - * @param oldUserGroupPersistence the old user group persistence - */ - public void setOldUserGroupPersistence( - OldUserGroupPersistence oldUserGroupPersistence) { - this.oldUserGroupPersistence = oldUserGroupPersistence; - } - - /** - * Returns the old user group finder. - * - * @return the old user group finder - */ - public OldUserGroupFinder getOldUserGroupFinder() { - return oldUserGroupFinder; - } - - /** - * Sets the old user group finder. - * - * @param oldUserGroupFinder the old user group finder - */ - public void setOldUserGroupFinder(OldUserGroupFinder oldUserGroupFinder) { - this.oldUserGroupFinder = oldUserGroupFinder; - } - - /** - * Returns the procedura importazione local service. - * - * @return the procedura importazione local service - */ - public it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService getProceduraImportazioneLocalService() { - return proceduraImportazioneLocalService; - } - - /** - * Sets the procedura importazione local service. - * - * @param proceduraImportazioneLocalService the procedura importazione local service - */ - public void setProceduraImportazioneLocalService( - it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - this.proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Returns the procedura importazione persistence. - * - * @return the procedura importazione persistence - */ - public ProceduraImportazionePersistence getProceduraImportazionePersistence() { - return proceduraImportazionePersistence; - } - - /** - * Sets the procedura importazione persistence. - * - * @param proceduraImportazionePersistence the procedura importazione persistence - */ - public void setProceduraImportazionePersistence( - ProceduraImportazionePersistence proceduraImportazionePersistence) { - this.proceduraImportazionePersistence = proceduraImportazionePersistence; - } - - /** - * Returns the stato importazione local service. - * - * @return the stato importazione local service - */ - public it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService getStatoImportazioneLocalService() { - return statoImportazioneLocalService; - } - - /** - * Sets the stato importazione local service. - * - * @param statoImportazioneLocalService the stato importazione local service - */ - public void setStatoImportazioneLocalService( - it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService) { - this.statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Returns the stato importazione persistence. - * - * @return the stato importazione persistence - */ - public StatoImportazionePersistence getStatoImportazionePersistence() { - return statoImportazionePersistence; - } - - /** - * Sets the stato importazione persistence. - * - * @param statoImportazionePersistence the stato importazione persistence - */ - public void setStatoImportazionePersistence( - StatoImportazionePersistence statoImportazionePersistence) { - this.statoImportazionePersistence = statoImportazionePersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.importazione.model.OldUser", - oldUserLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.importazione.model.OldUser"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return OldUser.class; - } - - protected String getModelClassName() { - return OldUser.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = oldUserPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService; - @BeanReference(type = BoConfigurazionePersistence.class) - protected BoConfigurazionePersistence boConfigurazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeProvinciaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService; - @BeanReference(type = FeProvinciaPersistence.class) - protected FeProvinciaPersistence feProvinciaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService; - @BeanReference(type = KaleoInstancePersistence.class) - protected KaleoInstancePersistence kaleoInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService; - @BeanReference(type = KaleoInstanceTokenPersistence.class) - protected KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoLogLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService; - @BeanReference(type = KaleoLogPersistence.class) - protected KaleoLogPersistence kaleoLogPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoNodeLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService; - @BeanReference(type = KaleoNodePersistence.class) - protected KaleoNodePersistence kaleoNodePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService; - @BeanReference(type = KaleoTaskPersistence.class) - protected KaleoTaskPersistence kaleoTaskPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService; - @BeanReference(type = KaleoTaskAssignmentInstancePersistence.class) - protected KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService; - @BeanReference(type = KaleoTaskInstanceTokenPersistence.class) - protected KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService; - @BeanReference(type = OldDLFileEntryPersistence.class) - protected OldDLFileEntryPersistence oldDLFileEntryPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFolderLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService; - @BeanReference(type = OldDLFolderPersistence.class) - protected OldDLFolderPersistence oldDLFolderPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService; - @BeanReference(type = OldGroupPersistence.class) - protected OldGroupPersistence oldGroupPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldOrganizationLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService; - @BeanReference(type = OldOrganizationPersistence.class) - protected OldOrganizationPersistence oldOrganizationPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldRoleLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService; - @BeanReference(type = OldRolePersistence.class) - protected OldRolePersistence oldRolePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService; - @BeanReference(type = OldUserPersistence.class) - protected OldUserPersistence oldUserPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService; - @BeanReference(type = OldUserGroupPersistence.class) - protected OldUserGroupPersistence oldUserGroupPersistence; - @BeanReference(type = OldUserGroupFinder.class) - protected OldUserGroupFinder oldUserGroupFinder; - @BeanReference(type = it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService; - @BeanReference(type = ProceduraImportazionePersistence.class) - protected ProceduraImportazionePersistence proceduraImportazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService; - @BeanReference(type = StatoImportazionePersistence.class) - protected StatoImportazionePersistence statoImportazionePersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private OldUserLocalServiceClpInvoker _clpInvoker = new OldUserLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldUserLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldUserLocalServiceClpInvoker.java deleted file mode 100644 index b60dcce9..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/OldUserLocalServiceClpInvoker.java +++ /dev/null @@ -1,258 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import it.tref.liferay.portos.importazione.service.OldUserLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author 3FC - * @generated - */ -public class OldUserLocalServiceClpInvoker { - public OldUserLocalServiceClpInvoker() { - _methodName0 = "addOldUser"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.OldUser" - }; - - _methodName1 = "createOldUser"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteOldUser"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteOldUser"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.OldUser" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchOldUser"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getOldUser"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getOldUsers"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getOldUsersCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateOldUser"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.OldUser" - }; - - _methodName178 = "getBeanIdentifier"; - - _methodParameterTypes178 = new String[] { }; - - _methodName179 = "setBeanIdentifier"; - - _methodParameterTypes179 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return OldUserLocalServiceUtil.addOldUser((it.tref.liferay.portos.importazione.model.OldUser)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return OldUserLocalServiceUtil.createOldUser(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return OldUserLocalServiceUtil.deleteOldUser(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return OldUserLocalServiceUtil.deleteOldUser((it.tref.liferay.portos.importazione.model.OldUser)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return OldUserLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return OldUserLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return OldUserLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return OldUserLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return OldUserLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return OldUserLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return OldUserLocalServiceUtil.fetchOldUser(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return OldUserLocalServiceUtil.getOldUser(((Long)arguments[0]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return OldUserLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return OldUserLocalServiceUtil.getOldUsers(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return OldUserLocalServiceUtil.getOldUsersCount(); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return OldUserLocalServiceUtil.updateOldUser((it.tref.liferay.portos.importazione.model.OldUser)arguments[0]); - } - - if (_methodName178.equals(name) && - Arrays.deepEquals(_methodParameterTypes178, parameterTypes)) { - return OldUserLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName179.equals(name) && - Arrays.deepEquals(_methodParameterTypes179, parameterTypes)) { - OldUserLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName178; - private String[] _methodParameterTypes178; - private String _methodName179; - private String[] _methodParameterTypes179; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/ProceduraImportazioneLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/ProceduraImportazioneLocalServiceBaseImpl.java deleted file mode 100644 index 4b442dd4..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/ProceduraImportazioneLocalServiceBaseImpl.java +++ /dev/null @@ -1,2077 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.importazione.model.ProceduraImportazione; -import it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinder; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the procedura importazione local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.importazione.service.impl.ProceduraImportazioneLocalServiceImpl}. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.impl.ProceduraImportazioneLocalServiceImpl - * @see it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalServiceUtil - * @generated - */ -public abstract class ProceduraImportazioneLocalServiceBaseImpl - extends BaseLocalServiceImpl implements ProceduraImportazioneLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalServiceUtil} to access the procedura importazione local service. - */ - - /** - * Adds the procedura importazione to the database. Also notifies the appropriate model listeners. - * - * @param proceduraImportazione the procedura importazione - * @return the procedura importazione that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public ProceduraImportazione addProceduraImportazione( - ProceduraImportazione proceduraImportazione) throws SystemException { - proceduraImportazione.setNew(true); - - return proceduraImportazionePersistence.update(proceduraImportazione); - } - - /** - * Creates a new procedura importazione with the primary key. Does not add the procedura importazione to the database. - * - * @param proceduraImportazioneId the primary key for the new procedura importazione - * @return the new procedura importazione - */ - @Override - public ProceduraImportazione createProceduraImportazione( - long proceduraImportazioneId) { - return proceduraImportazionePersistence.create(proceduraImportazioneId); - } - - /** - * Deletes the procedura importazione with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param proceduraImportazioneId the primary key of the procedura importazione - * @return the procedura importazione that was removed - * @throws PortalException if a procedura importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public ProceduraImportazione deleteProceduraImportazione( - long proceduraImportazioneId) throws PortalException, SystemException { - return proceduraImportazionePersistence.remove(proceduraImportazioneId); - } - - /** - * Deletes the procedura importazione from the database. Also notifies the appropriate model listeners. - * - * @param proceduraImportazione the procedura importazione - * @return the procedura importazione that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public ProceduraImportazione deleteProceduraImportazione( - ProceduraImportazione proceduraImportazione) throws SystemException { - return proceduraImportazionePersistence.remove(proceduraImportazione); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(ProceduraImportazione.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return proceduraImportazionePersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.ProceduraImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return proceduraImportazionePersistence.findWithDynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.ProceduraImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return proceduraImportazionePersistence.findWithDynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return proceduraImportazionePersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return proceduraImportazionePersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public ProceduraImportazione fetchProceduraImportazione( - long proceduraImportazioneId) throws SystemException { - return proceduraImportazionePersistence.fetchByPrimaryKey(proceduraImportazioneId); - } - - /** - * Returns the procedura importazione with the primary key. - * - * @param proceduraImportazioneId the primary key of the procedura importazione - * @return the procedura importazione - * @throws PortalException if a procedura importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public ProceduraImportazione getProceduraImportazione( - long proceduraImportazioneId) throws PortalException, SystemException { - return proceduraImportazionePersistence.findByPrimaryKey(proceduraImportazioneId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return proceduraImportazionePersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns a range of all the procedura importaziones. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.ProceduraImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of procedura importaziones - * @param end the upper bound of the range of procedura importaziones (not inclusive) - * @return the range of procedura importaziones - * @throws SystemException if a system exception occurred - */ - @Override - public List getProceduraImportaziones(int start, - int end) throws SystemException { - return proceduraImportazionePersistence.findAll(start, end); - } - - /** - * Returns the number of procedura importaziones. - * - * @return the number of procedura importaziones - * @throws SystemException if a system exception occurred - */ - @Override - public int getProceduraImportazionesCount() throws SystemException { - return proceduraImportazionePersistence.countAll(); - } - - /** - * Updates the procedura importazione in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param proceduraImportazione the procedura importazione - * @return the procedura importazione that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public ProceduraImportazione updateProceduraImportazione( - ProceduraImportazione proceduraImportazione) throws SystemException { - return proceduraImportazionePersistence.update(proceduraImportazione); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.importazione.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.importazione.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo configurazione local service. - * - * @return the bo configurazione local service - */ - public it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService getBoConfigurazioneLocalService() { - return boConfigurazioneLocalService; - } - - /** - * Sets the bo configurazione local service. - * - * @param boConfigurazioneLocalService the bo configurazione local service - */ - public void setBoConfigurazioneLocalService( - it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService) { - this.boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Returns the bo configurazione persistence. - * - * @return the bo configurazione persistence - */ - public BoConfigurazionePersistence getBoConfigurazionePersistence() { - return boConfigurazionePersistence; - } - - /** - * Sets the bo configurazione persistence. - * - * @param boConfigurazionePersistence the bo configurazione persistence - */ - public void setBoConfigurazionePersistence( - BoConfigurazionePersistence boConfigurazionePersistence) { - this.boConfigurazionePersistence = boConfigurazionePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.importazione.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.importazione.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.importazione.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.importazione.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.importazione.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.importazione.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe provincia local service. - * - * @return the fe provincia local service - */ - public it.tref.liferay.portos.importazione.service.FeProvinciaLocalService getFeProvinciaLocalService() { - return feProvinciaLocalService; - } - - /** - * Sets the fe provincia local service. - * - * @param feProvinciaLocalService the fe provincia local service - */ - public void setFeProvinciaLocalService( - it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService) { - this.feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Returns the fe provincia persistence. - * - * @return the fe provincia persistence - */ - public FeProvinciaPersistence getFeProvinciaPersistence() { - return feProvinciaPersistence; - } - - /** - * Sets the fe provincia persistence. - * - * @param feProvinciaPersistence the fe provincia persistence - */ - public void setFeProvinciaPersistence( - FeProvinciaPersistence feProvinciaPersistence) { - this.feProvinciaPersistence = feProvinciaPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.importazione.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the kaleo instance local service. - * - * @return the kaleo instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService getKaleoInstanceLocalService() { - return kaleoInstanceLocalService; - } - - /** - * Sets the kaleo instance local service. - * - * @param kaleoInstanceLocalService the kaleo instance local service - */ - public void setKaleoInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService) { - this.kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Returns the kaleo instance persistence. - * - * @return the kaleo instance persistence - */ - public KaleoInstancePersistence getKaleoInstancePersistence() { - return kaleoInstancePersistence; - } - - /** - * Sets the kaleo instance persistence. - * - * @param kaleoInstancePersistence the kaleo instance persistence - */ - public void setKaleoInstancePersistence( - KaleoInstancePersistence kaleoInstancePersistence) { - this.kaleoInstancePersistence = kaleoInstancePersistence; - } - - /** - * Returns the kaleo instance token local service. - * - * @return the kaleo instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService getKaleoInstanceTokenLocalService() { - return kaleoInstanceTokenLocalService; - } - - /** - * Sets the kaleo instance token local service. - * - * @param kaleoInstanceTokenLocalService the kaleo instance token local service - */ - public void setKaleoInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - this.kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Returns the kaleo instance token persistence. - * - * @return the kaleo instance token persistence - */ - public KaleoInstanceTokenPersistence getKaleoInstanceTokenPersistence() { - return kaleoInstanceTokenPersistence; - } - - /** - * Sets the kaleo instance token persistence. - * - * @param kaleoInstanceTokenPersistence the kaleo instance token persistence - */ - public void setKaleoInstanceTokenPersistence( - KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence) { - this.kaleoInstanceTokenPersistence = kaleoInstanceTokenPersistence; - } - - /** - * Returns the kaleo log local service. - * - * @return the kaleo log local service - */ - public it.tref.liferay.portos.importazione.service.KaleoLogLocalService getKaleoLogLocalService() { - return kaleoLogLocalService; - } - - /** - * Sets the kaleo log local service. - * - * @param kaleoLogLocalService the kaleo log local service - */ - public void setKaleoLogLocalService( - it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService) { - this.kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Returns the kaleo log persistence. - * - * @return the kaleo log persistence - */ - public KaleoLogPersistence getKaleoLogPersistence() { - return kaleoLogPersistence; - } - - /** - * Sets the kaleo log persistence. - * - * @param kaleoLogPersistence the kaleo log persistence - */ - public void setKaleoLogPersistence(KaleoLogPersistence kaleoLogPersistence) { - this.kaleoLogPersistence = kaleoLogPersistence; - } - - /** - * Returns the kaleo node local service. - * - * @return the kaleo node local service - */ - public it.tref.liferay.portos.importazione.service.KaleoNodeLocalService getKaleoNodeLocalService() { - return kaleoNodeLocalService; - } - - /** - * Sets the kaleo node local service. - * - * @param kaleoNodeLocalService the kaleo node local service - */ - public void setKaleoNodeLocalService( - it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService) { - this.kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Returns the kaleo node persistence. - * - * @return the kaleo node persistence - */ - public KaleoNodePersistence getKaleoNodePersistence() { - return kaleoNodePersistence; - } - - /** - * Sets the kaleo node persistence. - * - * @param kaleoNodePersistence the kaleo node persistence - */ - public void setKaleoNodePersistence( - KaleoNodePersistence kaleoNodePersistence) { - this.kaleoNodePersistence = kaleoNodePersistence; - } - - /** - * Returns the kaleo task local service. - * - * @return the kaleo task local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskLocalService getKaleoTaskLocalService() { - return kaleoTaskLocalService; - } - - /** - * Sets the kaleo task local service. - * - * @param kaleoTaskLocalService the kaleo task local service - */ - public void setKaleoTaskLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService) { - this.kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Returns the kaleo task persistence. - * - * @return the kaleo task persistence - */ - public KaleoTaskPersistence getKaleoTaskPersistence() { - return kaleoTaskPersistence; - } - - /** - * Sets the kaleo task persistence. - * - * @param kaleoTaskPersistence the kaleo task persistence - */ - public void setKaleoTaskPersistence( - KaleoTaskPersistence kaleoTaskPersistence) { - this.kaleoTaskPersistence = kaleoTaskPersistence; - } - - /** - * Returns the kaleo task assignment instance local service. - * - * @return the kaleo task assignment instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService getKaleoTaskAssignmentInstanceLocalService() { - return kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Sets the kaleo task assignment instance local service. - * - * @param kaleoTaskAssignmentInstanceLocalService the kaleo task assignment instance local service - */ - public void setKaleoTaskAssignmentInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - this.kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Returns the kaleo task assignment instance persistence. - * - * @return the kaleo task assignment instance persistence - */ - public KaleoTaskAssignmentInstancePersistence getKaleoTaskAssignmentInstancePersistence() { - return kaleoTaskAssignmentInstancePersistence; - } - - /** - * Sets the kaleo task assignment instance persistence. - * - * @param kaleoTaskAssignmentInstancePersistence the kaleo task assignment instance persistence - */ - public void setKaleoTaskAssignmentInstancePersistence( - KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence) { - this.kaleoTaskAssignmentInstancePersistence = kaleoTaskAssignmentInstancePersistence; - } - - /** - * Returns the kaleo task instance token local service. - * - * @return the kaleo task instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService getKaleoTaskInstanceTokenLocalService() { - return kaleoTaskInstanceTokenLocalService; - } - - /** - * Sets the kaleo task instance token local service. - * - * @param kaleoTaskInstanceTokenLocalService the kaleo task instance token local service - */ - public void setKaleoTaskInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - this.kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Returns the kaleo task instance token persistence. - * - * @return the kaleo task instance token persistence - */ - public KaleoTaskInstanceTokenPersistence getKaleoTaskInstanceTokenPersistence() { - return kaleoTaskInstanceTokenPersistence; - } - - /** - * Sets the kaleo task instance token persistence. - * - * @param kaleoTaskInstanceTokenPersistence the kaleo task instance token persistence - */ - public void setKaleoTaskInstanceTokenPersistence( - KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence) { - this.kaleoTaskInstanceTokenPersistence = kaleoTaskInstanceTokenPersistence; - } - - /** - * Returns the old d l file entry local service. - * - * @return the old d l file entry local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService getOldDLFileEntryLocalService() { - return oldDLFileEntryLocalService; - } - - /** - * Sets the old d l file entry local service. - * - * @param oldDLFileEntryLocalService the old d l file entry local service - */ - public void setOldDLFileEntryLocalService( - it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService) { - this.oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Returns the old d l file entry persistence. - * - * @return the old d l file entry persistence - */ - public OldDLFileEntryPersistence getOldDLFileEntryPersistence() { - return oldDLFileEntryPersistence; - } - - /** - * Sets the old d l file entry persistence. - * - * @param oldDLFileEntryPersistence the old d l file entry persistence - */ - public void setOldDLFileEntryPersistence( - OldDLFileEntryPersistence oldDLFileEntryPersistence) { - this.oldDLFileEntryPersistence = oldDLFileEntryPersistence; - } - - /** - * Returns the old d l folder local service. - * - * @return the old d l folder local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFolderLocalService getOldDLFolderLocalService() { - return oldDLFolderLocalService; - } - - /** - * Sets the old d l folder local service. - * - * @param oldDLFolderLocalService the old d l folder local service - */ - public void setOldDLFolderLocalService( - it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService) { - this.oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Returns the old d l folder persistence. - * - * @return the old d l folder persistence - */ - public OldDLFolderPersistence getOldDLFolderPersistence() { - return oldDLFolderPersistence; - } - - /** - * Sets the old d l folder persistence. - * - * @param oldDLFolderPersistence the old d l folder persistence - */ - public void setOldDLFolderPersistence( - OldDLFolderPersistence oldDLFolderPersistence) { - this.oldDLFolderPersistence = oldDLFolderPersistence; - } - - /** - * Returns the old group local service. - * - * @return the old group local service - */ - public it.tref.liferay.portos.importazione.service.OldGroupLocalService getOldGroupLocalService() { - return oldGroupLocalService; - } - - /** - * Sets the old group local service. - * - * @param oldGroupLocalService the old group local service - */ - public void setOldGroupLocalService( - it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService) { - this.oldGroupLocalService = oldGroupLocalService; - } - - /** - * Returns the old group persistence. - * - * @return the old group persistence - */ - public OldGroupPersistence getOldGroupPersistence() { - return oldGroupPersistence; - } - - /** - * Sets the old group persistence. - * - * @param oldGroupPersistence the old group persistence - */ - public void setOldGroupPersistence(OldGroupPersistence oldGroupPersistence) { - this.oldGroupPersistence = oldGroupPersistence; - } - - /** - * Returns the old organization local service. - * - * @return the old organization local service - */ - public it.tref.liferay.portos.importazione.service.OldOrganizationLocalService getOldOrganizationLocalService() { - return oldOrganizationLocalService; - } - - /** - * Sets the old organization local service. - * - * @param oldOrganizationLocalService the old organization local service - */ - public void setOldOrganizationLocalService( - it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService) { - this.oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Returns the old organization persistence. - * - * @return the old organization persistence - */ - public OldOrganizationPersistence getOldOrganizationPersistence() { - return oldOrganizationPersistence; - } - - /** - * Sets the old organization persistence. - * - * @param oldOrganizationPersistence the old organization persistence - */ - public void setOldOrganizationPersistence( - OldOrganizationPersistence oldOrganizationPersistence) { - this.oldOrganizationPersistence = oldOrganizationPersistence; - } - - /** - * Returns the old role local service. - * - * @return the old role local service - */ - public it.tref.liferay.portos.importazione.service.OldRoleLocalService getOldRoleLocalService() { - return oldRoleLocalService; - } - - /** - * Sets the old role local service. - * - * @param oldRoleLocalService the old role local service - */ - public void setOldRoleLocalService( - it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService) { - this.oldRoleLocalService = oldRoleLocalService; - } - - /** - * Returns the old role persistence. - * - * @return the old role persistence - */ - public OldRolePersistence getOldRolePersistence() { - return oldRolePersistence; - } - - /** - * Sets the old role persistence. - * - * @param oldRolePersistence the old role persistence - */ - public void setOldRolePersistence(OldRolePersistence oldRolePersistence) { - this.oldRolePersistence = oldRolePersistence; - } - - /** - * Returns the old user local service. - * - * @return the old user local service - */ - public it.tref.liferay.portos.importazione.service.OldUserLocalService getOldUserLocalService() { - return oldUserLocalService; - } - - /** - * Sets the old user local service. - * - * @param oldUserLocalService the old user local service - */ - public void setOldUserLocalService( - it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService) { - this.oldUserLocalService = oldUserLocalService; - } - - /** - * Returns the old user persistence. - * - * @return the old user persistence - */ - public OldUserPersistence getOldUserPersistence() { - return oldUserPersistence; - } - - /** - * Sets the old user persistence. - * - * @param oldUserPersistence the old user persistence - */ - public void setOldUserPersistence(OldUserPersistence oldUserPersistence) { - this.oldUserPersistence = oldUserPersistence; - } - - /** - * Returns the old user group local service. - * - * @return the old user group local service - */ - public it.tref.liferay.portos.importazione.service.OldUserGroupLocalService getOldUserGroupLocalService() { - return oldUserGroupLocalService; - } - - /** - * Sets the old user group local service. - * - * @param oldUserGroupLocalService the old user group local service - */ - public void setOldUserGroupLocalService( - it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService) { - this.oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Returns the old user group persistence. - * - * @return the old user group persistence - */ - public OldUserGroupPersistence getOldUserGroupPersistence() { - return oldUserGroupPersistence; - } - - /** - * Sets the old user group persistence. - * - * @param oldUserGroupPersistence the old user group persistence - */ - public void setOldUserGroupPersistence( - OldUserGroupPersistence oldUserGroupPersistence) { - this.oldUserGroupPersistence = oldUserGroupPersistence; - } - - /** - * Returns the old user group finder. - * - * @return the old user group finder - */ - public OldUserGroupFinder getOldUserGroupFinder() { - return oldUserGroupFinder; - } - - /** - * Sets the old user group finder. - * - * @param oldUserGroupFinder the old user group finder - */ - public void setOldUserGroupFinder(OldUserGroupFinder oldUserGroupFinder) { - this.oldUserGroupFinder = oldUserGroupFinder; - } - - /** - * Returns the procedura importazione local service. - * - * @return the procedura importazione local service - */ - public it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService getProceduraImportazioneLocalService() { - return proceduraImportazioneLocalService; - } - - /** - * Sets the procedura importazione local service. - * - * @param proceduraImportazioneLocalService the procedura importazione local service - */ - public void setProceduraImportazioneLocalService( - it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - this.proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Returns the procedura importazione persistence. - * - * @return the procedura importazione persistence - */ - public ProceduraImportazionePersistence getProceduraImportazionePersistence() { - return proceduraImportazionePersistence; - } - - /** - * Sets the procedura importazione persistence. - * - * @param proceduraImportazionePersistence the procedura importazione persistence - */ - public void setProceduraImportazionePersistence( - ProceduraImportazionePersistence proceduraImportazionePersistence) { - this.proceduraImportazionePersistence = proceduraImportazionePersistence; - } - - /** - * Returns the stato importazione local service. - * - * @return the stato importazione local service - */ - public it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService getStatoImportazioneLocalService() { - return statoImportazioneLocalService; - } - - /** - * Sets the stato importazione local service. - * - * @param statoImportazioneLocalService the stato importazione local service - */ - public void setStatoImportazioneLocalService( - it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService) { - this.statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Returns the stato importazione persistence. - * - * @return the stato importazione persistence - */ - public StatoImportazionePersistence getStatoImportazionePersistence() { - return statoImportazionePersistence; - } - - /** - * Sets the stato importazione persistence. - * - * @param statoImportazionePersistence the stato importazione persistence - */ - public void setStatoImportazionePersistence( - StatoImportazionePersistence statoImportazionePersistence) { - this.statoImportazionePersistence = statoImportazionePersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.importazione.model.ProceduraImportazione", - proceduraImportazioneLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.importazione.model.ProceduraImportazione"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return ProceduraImportazione.class; - } - - protected String getModelClassName() { - return ProceduraImportazione.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = proceduraImportazionePersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService; - @BeanReference(type = BoConfigurazionePersistence.class) - protected BoConfigurazionePersistence boConfigurazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeProvinciaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService; - @BeanReference(type = FeProvinciaPersistence.class) - protected FeProvinciaPersistence feProvinciaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService; - @BeanReference(type = KaleoInstancePersistence.class) - protected KaleoInstancePersistence kaleoInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService; - @BeanReference(type = KaleoInstanceTokenPersistence.class) - protected KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoLogLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService; - @BeanReference(type = KaleoLogPersistence.class) - protected KaleoLogPersistence kaleoLogPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoNodeLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService; - @BeanReference(type = KaleoNodePersistence.class) - protected KaleoNodePersistence kaleoNodePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService; - @BeanReference(type = KaleoTaskPersistence.class) - protected KaleoTaskPersistence kaleoTaskPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService; - @BeanReference(type = KaleoTaskAssignmentInstancePersistence.class) - protected KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService; - @BeanReference(type = KaleoTaskInstanceTokenPersistence.class) - protected KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService; - @BeanReference(type = OldDLFileEntryPersistence.class) - protected OldDLFileEntryPersistence oldDLFileEntryPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFolderLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService; - @BeanReference(type = OldDLFolderPersistence.class) - protected OldDLFolderPersistence oldDLFolderPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService; - @BeanReference(type = OldGroupPersistence.class) - protected OldGroupPersistence oldGroupPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldOrganizationLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService; - @BeanReference(type = OldOrganizationPersistence.class) - protected OldOrganizationPersistence oldOrganizationPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldRoleLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService; - @BeanReference(type = OldRolePersistence.class) - protected OldRolePersistence oldRolePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService; - @BeanReference(type = OldUserPersistence.class) - protected OldUserPersistence oldUserPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService; - @BeanReference(type = OldUserGroupPersistence.class) - protected OldUserGroupPersistence oldUserGroupPersistence; - @BeanReference(type = OldUserGroupFinder.class) - protected OldUserGroupFinder oldUserGroupFinder; - @BeanReference(type = it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService; - @BeanReference(type = ProceduraImportazionePersistence.class) - protected ProceduraImportazionePersistence proceduraImportazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService; - @BeanReference(type = StatoImportazionePersistence.class) - protected StatoImportazionePersistence statoImportazionePersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private ProceduraImportazioneLocalServiceClpInvoker _clpInvoker = new ProceduraImportazioneLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/ProceduraImportazioneLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/ProceduraImportazioneLocalServiceClpInvoker.java deleted file mode 100644 index 692a25e3..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/ProceduraImportazioneLocalServiceClpInvoker.java +++ /dev/null @@ -1,258 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author 3FC - * @generated - */ -public class ProceduraImportazioneLocalServiceClpInvoker { - public ProceduraImportazioneLocalServiceClpInvoker() { - _methodName0 = "addProceduraImportazione"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.ProceduraImportazione" - }; - - _methodName1 = "createProceduraImportazione"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteProceduraImportazione"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteProceduraImportazione"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.ProceduraImportazione" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchProceduraImportazione"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getProceduraImportazione"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getProceduraImportaziones"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getProceduraImportazionesCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateProceduraImportazione"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.ProceduraImportazione" - }; - - _methodName178 = "getBeanIdentifier"; - - _methodParameterTypes178 = new String[] { }; - - _methodName179 = "setBeanIdentifier"; - - _methodParameterTypes179 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return ProceduraImportazioneLocalServiceUtil.addProceduraImportazione((it.tref.liferay.portos.importazione.model.ProceduraImportazione)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return ProceduraImportazioneLocalServiceUtil.createProceduraImportazione(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return ProceduraImportazioneLocalServiceUtil.deleteProceduraImportazione(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return ProceduraImportazioneLocalServiceUtil.deleteProceduraImportazione((it.tref.liferay.portos.importazione.model.ProceduraImportazione)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return ProceduraImportazioneLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return ProceduraImportazioneLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return ProceduraImportazioneLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return ProceduraImportazioneLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return ProceduraImportazioneLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return ProceduraImportazioneLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return ProceduraImportazioneLocalServiceUtil.fetchProceduraImportazione(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return ProceduraImportazioneLocalServiceUtil.getProceduraImportazione(((Long)arguments[0]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return ProceduraImportazioneLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return ProceduraImportazioneLocalServiceUtil.getProceduraImportaziones(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return ProceduraImportazioneLocalServiceUtil.getProceduraImportazionesCount(); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return ProceduraImportazioneLocalServiceUtil.updateProceduraImportazione((it.tref.liferay.portos.importazione.model.ProceduraImportazione)arguments[0]); - } - - if (_methodName178.equals(name) && - Arrays.deepEquals(_methodParameterTypes178, parameterTypes)) { - return ProceduraImportazioneLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName179.equals(name) && - Arrays.deepEquals(_methodParameterTypes179, parameterTypes)) { - ProceduraImportazioneLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName178; - private String[] _methodParameterTypes178; - private String _methodName179; - private String[] _methodParameterTypes179; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/StatoImportazioneLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/StatoImportazioneLocalServiceBaseImpl.java deleted file mode 100644 index 2db062f1..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/StatoImportazioneLocalServiceBaseImpl.java +++ /dev/null @@ -1,2076 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.importazione.model.StatoImportazione; -import it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinder; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the stato importazione local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.importazione.service.impl.StatoImportazioneLocalServiceImpl}. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.impl.StatoImportazioneLocalServiceImpl - * @see it.tref.liferay.portos.importazione.service.StatoImportazioneLocalServiceUtil - * @generated - */ -public abstract class StatoImportazioneLocalServiceBaseImpl - extends BaseLocalServiceImpl implements StatoImportazioneLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.importazione.service.StatoImportazioneLocalServiceUtil} to access the stato importazione local service. - */ - - /** - * Adds the stato importazione to the database. Also notifies the appropriate model listeners. - * - * @param statoImportazione the stato importazione - * @return the stato importazione that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public StatoImportazione addStatoImportazione( - StatoImportazione statoImportazione) throws SystemException { - statoImportazione.setNew(true); - - return statoImportazionePersistence.update(statoImportazione); - } - - /** - * Creates a new stato importazione with the primary key. Does not add the stato importazione to the database. - * - * @param statoImportazioneId the primary key for the new stato importazione - * @return the new stato importazione - */ - @Override - public StatoImportazione createStatoImportazione(long statoImportazioneId) { - return statoImportazionePersistence.create(statoImportazioneId); - } - - /** - * Deletes the stato importazione with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param statoImportazioneId the primary key of the stato importazione - * @return the stato importazione that was removed - * @throws PortalException if a stato importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public StatoImportazione deleteStatoImportazione(long statoImportazioneId) - throws PortalException, SystemException { - return statoImportazionePersistence.remove(statoImportazioneId); - } - - /** - * Deletes the stato importazione from the database. Also notifies the appropriate model listeners. - * - * @param statoImportazione the stato importazione - * @return the stato importazione that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public StatoImportazione deleteStatoImportazione( - StatoImportazione statoImportazione) throws SystemException { - return statoImportazionePersistence.remove(statoImportazione); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(StatoImportazione.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return statoImportazionePersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.StatoImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return statoImportazionePersistence.findWithDynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.StatoImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return statoImportazionePersistence.findWithDynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return statoImportazionePersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return statoImportazionePersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public StatoImportazione fetchStatoImportazione(long statoImportazioneId) - throws SystemException { - return statoImportazionePersistence.fetchByPrimaryKey(statoImportazioneId); - } - - /** - * Returns the stato importazione with the primary key. - * - * @param statoImportazioneId the primary key of the stato importazione - * @return the stato importazione - * @throws PortalException if a stato importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public StatoImportazione getStatoImportazione(long statoImportazioneId) - throws PortalException, SystemException { - return statoImportazionePersistence.findByPrimaryKey(statoImportazioneId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return statoImportazionePersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns a range of all the stato importaziones. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.StatoImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of stato importaziones - * @param end the upper bound of the range of stato importaziones (not inclusive) - * @return the range of stato importaziones - * @throws SystemException if a system exception occurred - */ - @Override - public List getStatoImportaziones(int start, int end) - throws SystemException { - return statoImportazionePersistence.findAll(start, end); - } - - /** - * Returns the number of stato importaziones. - * - * @return the number of stato importaziones - * @throws SystemException if a system exception occurred - */ - @Override - public int getStatoImportazionesCount() throws SystemException { - return statoImportazionePersistence.countAll(); - } - - /** - * Updates the stato importazione in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param statoImportazione the stato importazione - * @return the stato importazione that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public StatoImportazione updateStatoImportazione( - StatoImportazione statoImportazione) throws SystemException { - return statoImportazionePersistence.update(statoImportazione); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.importazione.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.importazione.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo configurazione local service. - * - * @return the bo configurazione local service - */ - public it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService getBoConfigurazioneLocalService() { - return boConfigurazioneLocalService; - } - - /** - * Sets the bo configurazione local service. - * - * @param boConfigurazioneLocalService the bo configurazione local service - */ - public void setBoConfigurazioneLocalService( - it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService) { - this.boConfigurazioneLocalService = boConfigurazioneLocalService; - } - - /** - * Returns the bo configurazione persistence. - * - * @return the bo configurazione persistence - */ - public BoConfigurazionePersistence getBoConfigurazionePersistence() { - return boConfigurazionePersistence; - } - - /** - * Sets the bo configurazione persistence. - * - * @param boConfigurazionePersistence the bo configurazione persistence - */ - public void setBoConfigurazionePersistence( - BoConfigurazionePersistence boConfigurazionePersistence) { - this.boConfigurazionePersistence = boConfigurazionePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.importazione.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.importazione.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.importazione.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.importazione.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.importazione.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.importazione.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe provincia local service. - * - * @return the fe provincia local service - */ - public it.tref.liferay.portos.importazione.service.FeProvinciaLocalService getFeProvinciaLocalService() { - return feProvinciaLocalService; - } - - /** - * Sets the fe provincia local service. - * - * @param feProvinciaLocalService the fe provincia local service - */ - public void setFeProvinciaLocalService( - it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService) { - this.feProvinciaLocalService = feProvinciaLocalService; - } - - /** - * Returns the fe provincia persistence. - * - * @return the fe provincia persistence - */ - public FeProvinciaPersistence getFeProvinciaPersistence() { - return feProvinciaPersistence; - } - - /** - * Sets the fe provincia persistence. - * - * @param feProvinciaPersistence the fe provincia persistence - */ - public void setFeProvinciaPersistence( - FeProvinciaPersistence feProvinciaPersistence) { - this.feProvinciaPersistence = feProvinciaPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.importazione.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the kaleo instance local service. - * - * @return the kaleo instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService getKaleoInstanceLocalService() { - return kaleoInstanceLocalService; - } - - /** - * Sets the kaleo instance local service. - * - * @param kaleoInstanceLocalService the kaleo instance local service - */ - public void setKaleoInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService) { - this.kaleoInstanceLocalService = kaleoInstanceLocalService; - } - - /** - * Returns the kaleo instance persistence. - * - * @return the kaleo instance persistence - */ - public KaleoInstancePersistence getKaleoInstancePersistence() { - return kaleoInstancePersistence; - } - - /** - * Sets the kaleo instance persistence. - * - * @param kaleoInstancePersistence the kaleo instance persistence - */ - public void setKaleoInstancePersistence( - KaleoInstancePersistence kaleoInstancePersistence) { - this.kaleoInstancePersistence = kaleoInstancePersistence; - } - - /** - * Returns the kaleo instance token local service. - * - * @return the kaleo instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService getKaleoInstanceTokenLocalService() { - return kaleoInstanceTokenLocalService; - } - - /** - * Sets the kaleo instance token local service. - * - * @param kaleoInstanceTokenLocalService the kaleo instance token local service - */ - public void setKaleoInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService) { - this.kaleoInstanceTokenLocalService = kaleoInstanceTokenLocalService; - } - - /** - * Returns the kaleo instance token persistence. - * - * @return the kaleo instance token persistence - */ - public KaleoInstanceTokenPersistence getKaleoInstanceTokenPersistence() { - return kaleoInstanceTokenPersistence; - } - - /** - * Sets the kaleo instance token persistence. - * - * @param kaleoInstanceTokenPersistence the kaleo instance token persistence - */ - public void setKaleoInstanceTokenPersistence( - KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence) { - this.kaleoInstanceTokenPersistence = kaleoInstanceTokenPersistence; - } - - /** - * Returns the kaleo log local service. - * - * @return the kaleo log local service - */ - public it.tref.liferay.portos.importazione.service.KaleoLogLocalService getKaleoLogLocalService() { - return kaleoLogLocalService; - } - - /** - * Sets the kaleo log local service. - * - * @param kaleoLogLocalService the kaleo log local service - */ - public void setKaleoLogLocalService( - it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService) { - this.kaleoLogLocalService = kaleoLogLocalService; - } - - /** - * Returns the kaleo log persistence. - * - * @return the kaleo log persistence - */ - public KaleoLogPersistence getKaleoLogPersistence() { - return kaleoLogPersistence; - } - - /** - * Sets the kaleo log persistence. - * - * @param kaleoLogPersistence the kaleo log persistence - */ - public void setKaleoLogPersistence(KaleoLogPersistence kaleoLogPersistence) { - this.kaleoLogPersistence = kaleoLogPersistence; - } - - /** - * Returns the kaleo node local service. - * - * @return the kaleo node local service - */ - public it.tref.liferay.portos.importazione.service.KaleoNodeLocalService getKaleoNodeLocalService() { - return kaleoNodeLocalService; - } - - /** - * Sets the kaleo node local service. - * - * @param kaleoNodeLocalService the kaleo node local service - */ - public void setKaleoNodeLocalService( - it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService) { - this.kaleoNodeLocalService = kaleoNodeLocalService; - } - - /** - * Returns the kaleo node persistence. - * - * @return the kaleo node persistence - */ - public KaleoNodePersistence getKaleoNodePersistence() { - return kaleoNodePersistence; - } - - /** - * Sets the kaleo node persistence. - * - * @param kaleoNodePersistence the kaleo node persistence - */ - public void setKaleoNodePersistence( - KaleoNodePersistence kaleoNodePersistence) { - this.kaleoNodePersistence = kaleoNodePersistence; - } - - /** - * Returns the kaleo task local service. - * - * @return the kaleo task local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskLocalService getKaleoTaskLocalService() { - return kaleoTaskLocalService; - } - - /** - * Sets the kaleo task local service. - * - * @param kaleoTaskLocalService the kaleo task local service - */ - public void setKaleoTaskLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService) { - this.kaleoTaskLocalService = kaleoTaskLocalService; - } - - /** - * Returns the kaleo task persistence. - * - * @return the kaleo task persistence - */ - public KaleoTaskPersistence getKaleoTaskPersistence() { - return kaleoTaskPersistence; - } - - /** - * Sets the kaleo task persistence. - * - * @param kaleoTaskPersistence the kaleo task persistence - */ - public void setKaleoTaskPersistence( - KaleoTaskPersistence kaleoTaskPersistence) { - this.kaleoTaskPersistence = kaleoTaskPersistence; - } - - /** - * Returns the kaleo task assignment instance local service. - * - * @return the kaleo task assignment instance local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService getKaleoTaskAssignmentInstanceLocalService() { - return kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Sets the kaleo task assignment instance local service. - * - * @param kaleoTaskAssignmentInstanceLocalService the kaleo task assignment instance local service - */ - public void setKaleoTaskAssignmentInstanceLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService) { - this.kaleoTaskAssignmentInstanceLocalService = kaleoTaskAssignmentInstanceLocalService; - } - - /** - * Returns the kaleo task assignment instance persistence. - * - * @return the kaleo task assignment instance persistence - */ - public KaleoTaskAssignmentInstancePersistence getKaleoTaskAssignmentInstancePersistence() { - return kaleoTaskAssignmentInstancePersistence; - } - - /** - * Sets the kaleo task assignment instance persistence. - * - * @param kaleoTaskAssignmentInstancePersistence the kaleo task assignment instance persistence - */ - public void setKaleoTaskAssignmentInstancePersistence( - KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence) { - this.kaleoTaskAssignmentInstancePersistence = kaleoTaskAssignmentInstancePersistence; - } - - /** - * Returns the kaleo task instance token local service. - * - * @return the kaleo task instance token local service - */ - public it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService getKaleoTaskInstanceTokenLocalService() { - return kaleoTaskInstanceTokenLocalService; - } - - /** - * Sets the kaleo task instance token local service. - * - * @param kaleoTaskInstanceTokenLocalService the kaleo task instance token local service - */ - public void setKaleoTaskInstanceTokenLocalService( - it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService) { - this.kaleoTaskInstanceTokenLocalService = kaleoTaskInstanceTokenLocalService; - } - - /** - * Returns the kaleo task instance token persistence. - * - * @return the kaleo task instance token persistence - */ - public KaleoTaskInstanceTokenPersistence getKaleoTaskInstanceTokenPersistence() { - return kaleoTaskInstanceTokenPersistence; - } - - /** - * Sets the kaleo task instance token persistence. - * - * @param kaleoTaskInstanceTokenPersistence the kaleo task instance token persistence - */ - public void setKaleoTaskInstanceTokenPersistence( - KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence) { - this.kaleoTaskInstanceTokenPersistence = kaleoTaskInstanceTokenPersistence; - } - - /** - * Returns the old d l file entry local service. - * - * @return the old d l file entry local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService getOldDLFileEntryLocalService() { - return oldDLFileEntryLocalService; - } - - /** - * Sets the old d l file entry local service. - * - * @param oldDLFileEntryLocalService the old d l file entry local service - */ - public void setOldDLFileEntryLocalService( - it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService) { - this.oldDLFileEntryLocalService = oldDLFileEntryLocalService; - } - - /** - * Returns the old d l file entry persistence. - * - * @return the old d l file entry persistence - */ - public OldDLFileEntryPersistence getOldDLFileEntryPersistence() { - return oldDLFileEntryPersistence; - } - - /** - * Sets the old d l file entry persistence. - * - * @param oldDLFileEntryPersistence the old d l file entry persistence - */ - public void setOldDLFileEntryPersistence( - OldDLFileEntryPersistence oldDLFileEntryPersistence) { - this.oldDLFileEntryPersistence = oldDLFileEntryPersistence; - } - - /** - * Returns the old d l folder local service. - * - * @return the old d l folder local service - */ - public it.tref.liferay.portos.importazione.service.OldDLFolderLocalService getOldDLFolderLocalService() { - return oldDLFolderLocalService; - } - - /** - * Sets the old d l folder local service. - * - * @param oldDLFolderLocalService the old d l folder local service - */ - public void setOldDLFolderLocalService( - it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService) { - this.oldDLFolderLocalService = oldDLFolderLocalService; - } - - /** - * Returns the old d l folder persistence. - * - * @return the old d l folder persistence - */ - public OldDLFolderPersistence getOldDLFolderPersistence() { - return oldDLFolderPersistence; - } - - /** - * Sets the old d l folder persistence. - * - * @param oldDLFolderPersistence the old d l folder persistence - */ - public void setOldDLFolderPersistence( - OldDLFolderPersistence oldDLFolderPersistence) { - this.oldDLFolderPersistence = oldDLFolderPersistence; - } - - /** - * Returns the old group local service. - * - * @return the old group local service - */ - public it.tref.liferay.portos.importazione.service.OldGroupLocalService getOldGroupLocalService() { - return oldGroupLocalService; - } - - /** - * Sets the old group local service. - * - * @param oldGroupLocalService the old group local service - */ - public void setOldGroupLocalService( - it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService) { - this.oldGroupLocalService = oldGroupLocalService; - } - - /** - * Returns the old group persistence. - * - * @return the old group persistence - */ - public OldGroupPersistence getOldGroupPersistence() { - return oldGroupPersistence; - } - - /** - * Sets the old group persistence. - * - * @param oldGroupPersistence the old group persistence - */ - public void setOldGroupPersistence(OldGroupPersistence oldGroupPersistence) { - this.oldGroupPersistence = oldGroupPersistence; - } - - /** - * Returns the old organization local service. - * - * @return the old organization local service - */ - public it.tref.liferay.portos.importazione.service.OldOrganizationLocalService getOldOrganizationLocalService() { - return oldOrganizationLocalService; - } - - /** - * Sets the old organization local service. - * - * @param oldOrganizationLocalService the old organization local service - */ - public void setOldOrganizationLocalService( - it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService) { - this.oldOrganizationLocalService = oldOrganizationLocalService; - } - - /** - * Returns the old organization persistence. - * - * @return the old organization persistence - */ - public OldOrganizationPersistence getOldOrganizationPersistence() { - return oldOrganizationPersistence; - } - - /** - * Sets the old organization persistence. - * - * @param oldOrganizationPersistence the old organization persistence - */ - public void setOldOrganizationPersistence( - OldOrganizationPersistence oldOrganizationPersistence) { - this.oldOrganizationPersistence = oldOrganizationPersistence; - } - - /** - * Returns the old role local service. - * - * @return the old role local service - */ - public it.tref.liferay.portos.importazione.service.OldRoleLocalService getOldRoleLocalService() { - return oldRoleLocalService; - } - - /** - * Sets the old role local service. - * - * @param oldRoleLocalService the old role local service - */ - public void setOldRoleLocalService( - it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService) { - this.oldRoleLocalService = oldRoleLocalService; - } - - /** - * Returns the old role persistence. - * - * @return the old role persistence - */ - public OldRolePersistence getOldRolePersistence() { - return oldRolePersistence; - } - - /** - * Sets the old role persistence. - * - * @param oldRolePersistence the old role persistence - */ - public void setOldRolePersistence(OldRolePersistence oldRolePersistence) { - this.oldRolePersistence = oldRolePersistence; - } - - /** - * Returns the old user local service. - * - * @return the old user local service - */ - public it.tref.liferay.portos.importazione.service.OldUserLocalService getOldUserLocalService() { - return oldUserLocalService; - } - - /** - * Sets the old user local service. - * - * @param oldUserLocalService the old user local service - */ - public void setOldUserLocalService( - it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService) { - this.oldUserLocalService = oldUserLocalService; - } - - /** - * Returns the old user persistence. - * - * @return the old user persistence - */ - public OldUserPersistence getOldUserPersistence() { - return oldUserPersistence; - } - - /** - * Sets the old user persistence. - * - * @param oldUserPersistence the old user persistence - */ - public void setOldUserPersistence(OldUserPersistence oldUserPersistence) { - this.oldUserPersistence = oldUserPersistence; - } - - /** - * Returns the old user group local service. - * - * @return the old user group local service - */ - public it.tref.liferay.portos.importazione.service.OldUserGroupLocalService getOldUserGroupLocalService() { - return oldUserGroupLocalService; - } - - /** - * Sets the old user group local service. - * - * @param oldUserGroupLocalService the old user group local service - */ - public void setOldUserGroupLocalService( - it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService) { - this.oldUserGroupLocalService = oldUserGroupLocalService; - } - - /** - * Returns the old user group persistence. - * - * @return the old user group persistence - */ - public OldUserGroupPersistence getOldUserGroupPersistence() { - return oldUserGroupPersistence; - } - - /** - * Sets the old user group persistence. - * - * @param oldUserGroupPersistence the old user group persistence - */ - public void setOldUserGroupPersistence( - OldUserGroupPersistence oldUserGroupPersistence) { - this.oldUserGroupPersistence = oldUserGroupPersistence; - } - - /** - * Returns the old user group finder. - * - * @return the old user group finder - */ - public OldUserGroupFinder getOldUserGroupFinder() { - return oldUserGroupFinder; - } - - /** - * Sets the old user group finder. - * - * @param oldUserGroupFinder the old user group finder - */ - public void setOldUserGroupFinder(OldUserGroupFinder oldUserGroupFinder) { - this.oldUserGroupFinder = oldUserGroupFinder; - } - - /** - * Returns the procedura importazione local service. - * - * @return the procedura importazione local service - */ - public it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService getProceduraImportazioneLocalService() { - return proceduraImportazioneLocalService; - } - - /** - * Sets the procedura importazione local service. - * - * @param proceduraImportazioneLocalService the procedura importazione local service - */ - public void setProceduraImportazioneLocalService( - it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService) { - this.proceduraImportazioneLocalService = proceduraImportazioneLocalService; - } - - /** - * Returns the procedura importazione persistence. - * - * @return the procedura importazione persistence - */ - public ProceduraImportazionePersistence getProceduraImportazionePersistence() { - return proceduraImportazionePersistence; - } - - /** - * Sets the procedura importazione persistence. - * - * @param proceduraImportazionePersistence the procedura importazione persistence - */ - public void setProceduraImportazionePersistence( - ProceduraImportazionePersistence proceduraImportazionePersistence) { - this.proceduraImportazionePersistence = proceduraImportazionePersistence; - } - - /** - * Returns the stato importazione local service. - * - * @return the stato importazione local service - */ - public it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService getStatoImportazioneLocalService() { - return statoImportazioneLocalService; - } - - /** - * Sets the stato importazione local service. - * - * @param statoImportazioneLocalService the stato importazione local service - */ - public void setStatoImportazioneLocalService( - it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService) { - this.statoImportazioneLocalService = statoImportazioneLocalService; - } - - /** - * Returns the stato importazione persistence. - * - * @return the stato importazione persistence - */ - public StatoImportazionePersistence getStatoImportazionePersistence() { - return statoImportazionePersistence; - } - - /** - * Sets the stato importazione persistence. - * - * @param statoImportazionePersistence the stato importazione persistence - */ - public void setStatoImportazionePersistence( - StatoImportazionePersistence statoImportazionePersistence) { - this.statoImportazionePersistence = statoImportazionePersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.importazione.model.StatoImportazione", - statoImportazioneLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.importazione.model.StatoImportazione"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return StatoImportazione.class; - } - - protected String getModelClassName() { - return StatoImportazione.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = statoImportazionePersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService boConfigurazioneLocalService; - @BeanReference(type = BoConfigurazionePersistence.class) - protected BoConfigurazionePersistence boConfigurazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.importazione.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeProvinciaLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeProvinciaLocalService feProvinciaLocalService; - @BeanReference(type = FeProvinciaPersistence.class) - protected FeProvinciaPersistence feProvinciaPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.importazione.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService kaleoInstanceLocalService; - @BeanReference(type = KaleoInstancePersistence.class) - protected KaleoInstancePersistence kaleoInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService kaleoInstanceTokenLocalService; - @BeanReference(type = KaleoInstanceTokenPersistence.class) - protected KaleoInstanceTokenPersistence kaleoInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoLogLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoLogLocalService kaleoLogLocalService; - @BeanReference(type = KaleoLogPersistence.class) - protected KaleoLogPersistence kaleoLogPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoNodeLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoNodeLocalService kaleoNodeLocalService; - @BeanReference(type = KaleoNodePersistence.class) - protected KaleoNodePersistence kaleoNodePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskLocalService kaleoTaskLocalService; - @BeanReference(type = KaleoTaskPersistence.class) - protected KaleoTaskPersistence kaleoTaskPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService kaleoTaskAssignmentInstanceLocalService; - @BeanReference(type = KaleoTaskAssignmentInstancePersistence.class) - protected KaleoTaskAssignmentInstancePersistence kaleoTaskAssignmentInstancePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService.class) - protected it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService kaleoTaskInstanceTokenLocalService; - @BeanReference(type = KaleoTaskInstanceTokenPersistence.class) - protected KaleoTaskInstanceTokenPersistence kaleoTaskInstanceTokenPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService oldDLFileEntryLocalService; - @BeanReference(type = OldDLFileEntryPersistence.class) - protected OldDLFileEntryPersistence oldDLFileEntryPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldDLFolderLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldDLFolderLocalService oldDLFolderLocalService; - @BeanReference(type = OldDLFolderPersistence.class) - protected OldDLFolderPersistence oldDLFolderPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldGroupLocalService oldGroupLocalService; - @BeanReference(type = OldGroupPersistence.class) - protected OldGroupPersistence oldGroupPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldOrganizationLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldOrganizationLocalService oldOrganizationLocalService; - @BeanReference(type = OldOrganizationPersistence.class) - protected OldOrganizationPersistence oldOrganizationPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldRoleLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldRoleLocalService oldRoleLocalService; - @BeanReference(type = OldRolePersistence.class) - protected OldRolePersistence oldRolePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserLocalService oldUserLocalService; - @BeanReference(type = OldUserPersistence.class) - protected OldUserPersistence oldUserPersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.OldUserGroupLocalService.class) - protected it.tref.liferay.portos.importazione.service.OldUserGroupLocalService oldUserGroupLocalService; - @BeanReference(type = OldUserGroupPersistence.class) - protected OldUserGroupPersistence oldUserGroupPersistence; - @BeanReference(type = OldUserGroupFinder.class) - protected OldUserGroupFinder oldUserGroupFinder; - @BeanReference(type = it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService proceduraImportazioneLocalService; - @BeanReference(type = ProceduraImportazionePersistence.class) - protected ProceduraImportazionePersistence proceduraImportazionePersistence; - @BeanReference(type = it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService.class) - protected it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService statoImportazioneLocalService; - @BeanReference(type = StatoImportazionePersistence.class) - protected StatoImportazionePersistence statoImportazionePersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private StatoImportazioneLocalServiceClpInvoker _clpInvoker = new StatoImportazioneLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/StatoImportazioneLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/StatoImportazioneLocalServiceClpInvoker.java deleted file mode 100644 index 9ecba2cc..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/base/StatoImportazioneLocalServiceClpInvoker.java +++ /dev/null @@ -1,258 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.base; - -import it.tref.liferay.portos.importazione.service.StatoImportazioneLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author 3FC - * @generated - */ -public class StatoImportazioneLocalServiceClpInvoker { - public StatoImportazioneLocalServiceClpInvoker() { - _methodName0 = "addStatoImportazione"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.importazione.model.StatoImportazione" - }; - - _methodName1 = "createStatoImportazione"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteStatoImportazione"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteStatoImportazione"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.importazione.model.StatoImportazione" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchStatoImportazione"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getStatoImportazione"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getStatoImportaziones"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getStatoImportazionesCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateStatoImportazione"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.importazione.model.StatoImportazione" - }; - - _methodName178 = "getBeanIdentifier"; - - _methodParameterTypes178 = new String[] { }; - - _methodName179 = "setBeanIdentifier"; - - _methodParameterTypes179 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return StatoImportazioneLocalServiceUtil.addStatoImportazione((it.tref.liferay.portos.importazione.model.StatoImportazione)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return StatoImportazioneLocalServiceUtil.createStatoImportazione(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return StatoImportazioneLocalServiceUtil.deleteStatoImportazione(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return StatoImportazioneLocalServiceUtil.deleteStatoImportazione((it.tref.liferay.portos.importazione.model.StatoImportazione)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return StatoImportazioneLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return StatoImportazioneLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return StatoImportazioneLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return StatoImportazioneLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return StatoImportazioneLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return StatoImportazioneLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return StatoImportazioneLocalServiceUtil.fetchStatoImportazione(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return StatoImportazioneLocalServiceUtil.getStatoImportazione(((Long)arguments[0]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return StatoImportazioneLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return StatoImportazioneLocalServiceUtil.getStatoImportaziones(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return StatoImportazioneLocalServiceUtil.getStatoImportazionesCount(); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return StatoImportazioneLocalServiceUtil.updateStatoImportazione((it.tref.liferay.portos.importazione.model.StatoImportazione)arguments[0]); - } - - if (_methodName178.equals(name) && - Arrays.deepEquals(_methodParameterTypes178, parameterTypes)) { - return StatoImportazioneLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName179.equals(name) && - Arrays.deepEquals(_methodParameterTypes179, parameterTypes)) { - StatoImportazioneLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName178; - private String[] _methodParameterTypes178; - private String _methodName179; - private String[] _methodParameterTypes179; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoArtLeggeLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoArtLeggeLocalServiceImpl.java deleted file mode 100644 index 0092074b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoArtLeggeLocalServiceImpl.java +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.impl; - -import it.tref.liferay.portos.importazione.service.base.BoArtLeggeLocalServiceBaseImpl; - -/** - * The implementation of the bo art legge local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.service.BoArtLeggeLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.base.BoArtLeggeLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.BoArtLeggeLocalServiceUtil - */ -public class BoArtLeggeLocalServiceImpl extends BoArtLeggeLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.importazione.service.BoArtLeggeLocalServiceUtil} to access the bo art legge local service. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoAvvisoLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoAvvisoLocalServiceImpl.java deleted file mode 100644 index f25b4fec..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoAvvisoLocalServiceImpl.java +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.impl; - -import it.tref.liferay.portos.importazione.service.base.BoAvvisoLocalServiceBaseImpl; - -/** - * The implementation of the bo avviso local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.service.BoAvvisoLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.base.BoAvvisoLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.BoAvvisoLocalServiceUtil - */ -public class BoAvvisoLocalServiceImpl extends BoAvvisoLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.importazione.service.BoAvvisoLocalServiceUtil} to access the bo avviso local service. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoComuneLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoComuneLocalServiceImpl.java deleted file mode 100644 index 5f1fb616..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoComuneLocalServiceImpl.java +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.impl; - -import it.tref.liferay.portos.importazione.service.base.BoComuneLocalServiceBaseImpl; - -/** - * The implementation of the bo comune local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.service.BoComuneLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.base.BoComuneLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.BoComuneLocalServiceUtil - */ -public class BoComuneLocalServiceImpl extends BoComuneLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.importazione.service.BoComuneLocalServiceUtil} to access the bo comune local service. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoConfigurazioneLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoConfigurazioneLocalServiceImpl.java deleted file mode 100644 index a32fb1e5..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoConfigurazioneLocalServiceImpl.java +++ /dev/null @@ -1,58 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.impl; - -import it.tref.liferay.portos.importazione.model.BoConfigurazione; -import it.tref.liferay.portos.importazione.service.base.BoConfigurazioneLocalServiceBaseImpl; - -import com.liferay.portal.kernel.exception.SystemException; - -/** - * The implementation of the bo configurazione local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun - * ServiceBuilder to copy their definitions into the - * {@link it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the - * propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.base.BoConfigurazioneLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalServiceUtil - */ -public class BoConfigurazioneLocalServiceImpl extends BoConfigurazioneLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: Never reference this interface directly. Always use {@link - * it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalServiceUtil} to access the bo - * configurazione local service. - */ - - public long findByC_G_ChiaveLong(long companyId, long groupId, String chiave) throws SystemException { - - try { - BoConfigurazione configurazione = boConfigurazionePersistence.fetchByC_G_Chiave(companyId, groupId, chiave); - if (configurazione == null) { - return 0L; - } - return Long.parseLong(configurazione.getValore()); - } catch (NumberFormatException e) { - return 0L; - } - } -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoDettPraticaLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoDettPraticaLocalServiceImpl.java deleted file mode 100644 index e63cf56c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoDettPraticaLocalServiceImpl.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.impl; - -import it.tref.liferay.portos.importazione.service.base.BoDettPraticaLocalServiceBaseImpl; - -/** - * The implementation of the bo dett pratica local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.service.BoDettPraticaLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.base.BoDettPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.BoDettPraticaLocalServiceUtil - */ -public class BoDettPraticaLocalServiceImpl - extends BoDettPraticaLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.importazione.service.BoDettPraticaLocalServiceUtil} to access the bo dett pratica local service. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoDocPraticaLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoDocPraticaLocalServiceImpl.java deleted file mode 100644 index ca8b49de..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoDocPraticaLocalServiceImpl.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.impl; - -import it.tref.liferay.portos.importazione.service.base.BoDocPraticaLocalServiceBaseImpl; - -/** - * The implementation of the bo doc pratica local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.service.BoDocPraticaLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.base.BoDocPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.BoDocPraticaLocalServiceUtil - */ -public class BoDocPraticaLocalServiceImpl - extends BoDocPraticaLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.importazione.service.BoDocPraticaLocalServiceUtil} to access the bo doc pratica local service. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoIntPraticaLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoIntPraticaLocalServiceImpl.java deleted file mode 100644 index d9782f68..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoIntPraticaLocalServiceImpl.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.impl; - -import it.tref.liferay.portos.importazione.service.base.BoIntPraticaLocalServiceBaseImpl; - -/** - * The implementation of the bo int pratica local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.service.BoIntPraticaLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.base.BoIntPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.BoIntPraticaLocalServiceUtil - */ -public class BoIntPraticaLocalServiceImpl - extends BoIntPraticaLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.importazione.service.BoIntPraticaLocalServiceUtil} to access the bo int pratica local service. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoProblemiPraticaLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoProblemiPraticaLocalServiceImpl.java deleted file mode 100644 index 4416f140..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoProblemiPraticaLocalServiceImpl.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.impl; - -import it.tref.liferay.portos.importazione.service.base.BoProblemiPraticaLocalServiceBaseImpl; - -/** - * The implementation of the bo problemi pratica local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.base.BoProblemiPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalServiceUtil - */ -public class BoProblemiPraticaLocalServiceImpl - extends BoProblemiPraticaLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.importazione.service.BoProblemiPraticaLocalServiceUtil} to access the bo problemi pratica local service. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoRelLeggiPraticaLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoRelLeggiPraticaLocalServiceImpl.java deleted file mode 100644 index 6bf6557a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoRelLeggiPraticaLocalServiceImpl.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.impl; - -import it.tref.liferay.portos.importazione.service.base.BoRelLeggiPraticaLocalServiceBaseImpl; - -/** - * The implementation of the bo rel leggi pratica local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.base.BoRelLeggiPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalServiceUtil - */ -public class BoRelLeggiPraticaLocalServiceImpl - extends BoRelLeggiPraticaLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalServiceUtil} to access the bo rel leggi pratica local service. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoSistemaCostruttivoLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoSistemaCostruttivoLocalServiceImpl.java deleted file mode 100644 index 518df905..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoSistemaCostruttivoLocalServiceImpl.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.impl; - -import it.tref.liferay.portos.importazione.service.base.BoSistemaCostruttivoLocalServiceBaseImpl; - -/** - * The implementation of the bo sistema costruttivo local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.base.BoSistemaCostruttivoLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalServiceUtil - */ -public class BoSistemaCostruttivoLocalServiceImpl - extends BoSistemaCostruttivoLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalServiceUtil} to access the bo sistema costruttivo local service. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoSoggettoLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoSoggettoLocalServiceImpl.java deleted file mode 100644 index 1ce31c4a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoSoggettoLocalServiceImpl.java +++ /dev/null @@ -1,43 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.impl; - -import it.tref.liferay.portos.importazione.service.base.BoSoggettoLocalServiceBaseImpl; - -/** - * The implementation of the bo soggetto local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun - * ServiceBuilder to copy their definitions into the - * {@link it.tref.liferay.portos.importazione.service.BoSoggettoLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the - * propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.base.BoSoggettoLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.BoSoggettoLocalServiceUtil - */ -public class BoSoggettoLocalServiceImpl extends BoSoggettoLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: Never reference this interface directly. Always use {@link - * it.tref.liferay.portos.importazione.service.BoSoggettoLocalServiceUtil} to access the bo - * soggetto local service. - */ - -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoSorteggioLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoSorteggioLocalServiceImpl.java deleted file mode 100644 index d6359f6d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoSorteggioLocalServiceImpl.java +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.impl; - -import it.tref.liferay.portos.importazione.service.base.BoSorteggioLocalServiceBaseImpl; - -/** - * The implementation of the bo sorteggio local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.service.BoSorteggioLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.base.BoSorteggioLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.BoSorteggioLocalServiceUtil - */ -public class BoSorteggioLocalServiceImpl extends BoSorteggioLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.importazione.service.BoSorteggioLocalServiceUtil} to access the bo sorteggio local service. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoStoricoSoggettoPraticaLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoStoricoSoggettoPraticaLocalServiceImpl.java deleted file mode 100644 index 480a3710..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoStoricoSoggettoPraticaLocalServiceImpl.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.impl; - -import it.tref.liferay.portos.importazione.service.base.BoStoricoSoggettoPraticaLocalServiceBaseImpl; - -/** - * The implementation of the bo storico soggetto pratica local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.base.BoStoricoSoggettoPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalServiceUtil - */ -public class BoStoricoSoggettoPraticaLocalServiceImpl - extends BoStoricoSoggettoPraticaLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalServiceUtil} to access the bo storico soggetto pratica local service. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoTempisticaLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoTempisticaLocalServiceImpl.java deleted file mode 100644 index 3c0f010d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoTempisticaLocalServiceImpl.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.impl; - -import it.tref.liferay.portos.importazione.service.base.BoTempisticaLocalServiceBaseImpl; - -/** - * The implementation of the bo tempistica local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.service.BoTempisticaLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.base.BoTempisticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.BoTempisticaLocalServiceUtil - */ -public class BoTempisticaLocalServiceImpl - extends BoTempisticaLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.importazione.service.BoTempisticaLocalServiceUtil} to access the bo tempistica local service. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoTerritorioLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoTerritorioLocalServiceImpl.java deleted file mode 100644 index 3290cd98..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/BoTerritorioLocalServiceImpl.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.impl; - -import it.tref.liferay.portos.importazione.service.base.BoTerritorioLocalServiceBaseImpl; - -/** - * The implementation of the bo territorio local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.service.BoTerritorioLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.base.BoTerritorioLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.BoTerritorioLocalServiceUtil - */ -public class BoTerritorioLocalServiceImpl - extends BoTerritorioLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.importazione.service.BoTerritorioLocalServiceUtil} to access the bo territorio local service. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/FeComuneLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/FeComuneLocalServiceImpl.java deleted file mode 100644 index 957595b7..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/FeComuneLocalServiceImpl.java +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.impl; - -import it.tref.liferay.portos.importazione.service.base.FeComuneLocalServiceBaseImpl; - -/** - * The implementation of the fe comune local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.service.FeComuneLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.base.FeComuneLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.FeComuneLocalServiceUtil - */ -public class FeComuneLocalServiceImpl extends FeComuneLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.importazione.service.FeComuneLocalServiceUtil} to access the fe comune local service. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/FeDettPraticaLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/FeDettPraticaLocalServiceImpl.java deleted file mode 100644 index 6a74eb64..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/FeDettPraticaLocalServiceImpl.java +++ /dev/null @@ -1,55 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.impl; - -import it.tref.liferay.portos.importazione.model.FeDettPratica; -import it.tref.liferay.portos.importazione.service.base.FeDettPraticaLocalServiceBaseImpl; - -import com.liferay.portal.kernel.exception.SystemException; - -/** - * The implementation of the fe dett pratica local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun - * ServiceBuilder to copy their definitions into the - * {@link it.tref.liferay.portos.importazione.service.FeDettPraticaLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the - * propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.base.FeDettPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.FeDettPraticaLocalServiceUtil - */ -public class FeDettPraticaLocalServiceImpl extends FeDettPraticaLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: Never reference this interface directly. Always use {@link - * it.tref.liferay.portos.importazione.service.FeDettPraticaLocalServiceUtil} to access the fe - * dett pratica local service. - */ - - public FeDettPratica fetchByCodPraticaSuap(String codPraticaSuap) throws SystemException { - - return feDettPraticaPersistence.fetchByCodPraticaSuap(codPraticaSuap); - } - - public FeDettPratica fetchByDettPraticaId(long dettPraticaId) throws SystemException { - - return feDettPraticaPersistence.fetchByPrimaryKey(dettPraticaId); - } -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/FeIntPraticaLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/FeIntPraticaLocalServiceImpl.java deleted file mode 100644 index 10aa5a90..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/FeIntPraticaLocalServiceImpl.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.impl; - -import it.tref.liferay.portos.importazione.service.base.FeIntPraticaLocalServiceBaseImpl; - -/** - * The implementation of the fe int pratica local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.service.FeIntPraticaLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.base.FeIntPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.FeIntPraticaLocalServiceUtil - */ -public class FeIntPraticaLocalServiceImpl - extends FeIntPraticaLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.importazione.service.FeIntPraticaLocalServiceUtil} to access the fe int pratica local service. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/FePagamentoLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/FePagamentoLocalServiceImpl.java deleted file mode 100644 index ef3ea649..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/FePagamentoLocalServiceImpl.java +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.impl; - -import it.tref.liferay.portos.importazione.service.base.FePagamentoLocalServiceBaseImpl; - -/** - * The implementation of the fe pagamento local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.service.FePagamentoLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.base.FePagamentoLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.FePagamentoLocalServiceUtil - */ -public class FePagamentoLocalServiceImpl extends FePagamentoLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.importazione.service.FePagamentoLocalServiceUtil} to access the fe pagamento local service. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/FeProvinciaLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/FeProvinciaLocalServiceImpl.java deleted file mode 100644 index 6fd194b3..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/FeProvinciaLocalServiceImpl.java +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.impl; - -import it.tref.liferay.portos.importazione.service.base.FeProvinciaLocalServiceBaseImpl; - -/** - * The implementation of the fe provincia local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.service.FeProvinciaLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.base.FeProvinciaLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.FeProvinciaLocalServiceUtil - */ -public class FeProvinciaLocalServiceImpl extends FeProvinciaLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.importazione.service.FeProvinciaLocalServiceUtil} to access the fe provincia local service. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/FeTerritorioLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/FeTerritorioLocalServiceImpl.java deleted file mode 100644 index a8537de9..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/FeTerritorioLocalServiceImpl.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.impl; - -import it.tref.liferay.portos.importazione.service.base.FeTerritorioLocalServiceBaseImpl; - -/** - * The implementation of the fe territorio local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.service.FeTerritorioLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.base.FeTerritorioLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.FeTerritorioLocalServiceUtil - */ -public class FeTerritorioLocalServiceImpl - extends FeTerritorioLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.importazione.service.FeTerritorioLocalServiceUtil} to access the fe territorio local service. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/KaleoInstanceLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/KaleoInstanceLocalServiceImpl.java deleted file mode 100644 index aa63d2f6..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/KaleoInstanceLocalServiceImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.impl; - -import it.tref.liferay.portos.importazione.model.KaleoInstance; -import it.tref.liferay.portos.importazione.service.base.KaleoInstanceLocalServiceBaseImpl; - -import com.liferay.portal.kernel.exception.SystemException; - -/** - * The implementation of the kaleo instance local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun - * ServiceBuilder to copy their definitions into the - * {@link it.tref.liferay.portos.importazione.service.KaleoInstanceLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the - * propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.base.KaleoInstanceLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.KaleoInstanceLocalServiceUtil - */ -public class KaleoInstanceLocalServiceImpl extends KaleoInstanceLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: Never reference this interface directly. Always use {@link - * it.tref.liferay.portos.importazione.service.KaleoInstanceLocalServiceUtil} to access the kaleo - * instance local service. - */ - - public KaleoInstance fetchByClassPk(long classPK) throws SystemException { - - return kaleoInstancePersistence.fetchByClassPK(classPK); - } -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/KaleoInstanceTokenLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/KaleoInstanceTokenLocalServiceImpl.java deleted file mode 100644 index 75c968f2..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/KaleoInstanceTokenLocalServiceImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.impl; - -import it.tref.liferay.portos.importazione.model.KaleoInstanceToken; -import it.tref.liferay.portos.importazione.service.base.KaleoInstanceTokenLocalServiceBaseImpl; - -import com.liferay.portal.kernel.exception.SystemException; - -/** - * The implementation of the kaleo instance token local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun - * ServiceBuilder to copy their definitions into the - * {@link it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the - * propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.base.KaleoInstanceTokenLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalServiceUtil - */ -public class KaleoInstanceTokenLocalServiceImpl extends KaleoInstanceTokenLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: Never reference this interface directly. Always use {@link - * it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalServiceUtil} to access the - * kaleo instance token local service. - */ - - public KaleoInstanceToken fetchByClassPk(long classPK) throws SystemException { - - return kaleoInstanceTokenPersistence.fetchByClassPK(classPK); - } -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/KaleoLogLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/KaleoLogLocalServiceImpl.java deleted file mode 100644 index de6f0140..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/KaleoLogLocalServiceImpl.java +++ /dev/null @@ -1,52 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.impl; - -import it.tref.liferay.portos.importazione.model.KaleoLog; -import it.tref.liferay.portos.importazione.service.base.KaleoLogLocalServiceBaseImpl; - -import java.util.List; - -import com.liferay.portal.kernel.exception.SystemException; - -/** - * The implementation of the kaleo log local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun - * ServiceBuilder to copy their definitions into the - * {@link it.tref.liferay.portos.importazione.service.KaleoLogLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the - * propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.base.KaleoLogLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.KaleoLogLocalServiceUtil - */ -public class KaleoLogLocalServiceImpl extends KaleoLogLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: Never reference this interface directly. Always use {@link - * it.tref.liferay.portos.importazione.service.KaleoLogLocalServiceUtil} to access the kaleo log - * local service. - */ - - public List findByClassPk(long kaleoInstanceId) throws SystemException { - - return kaleoLogPersistence.findByKaleoInstanceId(kaleoInstanceId); - } -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/KaleoNodeLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/KaleoNodeLocalServiceImpl.java deleted file mode 100644 index 1362b9cc..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/KaleoNodeLocalServiceImpl.java +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.impl; - -import it.tref.liferay.portos.importazione.service.base.KaleoNodeLocalServiceBaseImpl; - -/** - * The implementation of the kaleo node local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.service.KaleoNodeLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.base.KaleoNodeLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.KaleoNodeLocalServiceUtil - */ -public class KaleoNodeLocalServiceImpl extends KaleoNodeLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.importazione.service.KaleoNodeLocalServiceUtil} to access the kaleo node local service. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/KaleoTaskAssignmentInstanceLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/KaleoTaskAssignmentInstanceLocalServiceImpl.java deleted file mode 100644 index b80a28b4..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/KaleoTaskAssignmentInstanceLocalServiceImpl.java +++ /dev/null @@ -1,52 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.impl; - -import it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance; -import it.tref.liferay.portos.importazione.service.base.KaleoTaskAssignmentInstanceLocalServiceBaseImpl; - -import java.util.List; - -import com.liferay.portal.kernel.exception.SystemException; - -/** - * The implementation of the kaleo task assignment instance local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun - * ServiceBuilder to copy their definitions into the - * {@link it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalService} - * interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the - * propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.base.KaleoTaskAssignmentInstanceLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalServiceUtil - */ -public class KaleoTaskAssignmentInstanceLocalServiceImpl extends KaleoTaskAssignmentInstanceLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: Never reference this interface directly. Always use {@link - * it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalServiceUtil} to - * access the kaleo task assignment instance local service. - */ - public List findByKaleoInstanceId(long kaleoInstanceId) throws SystemException { - - return kaleoTaskAssignmentInstancePersistence.findByKaleoInstanceId(kaleoInstanceId); - } -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/KaleoTaskInstanceTokenLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/KaleoTaskInstanceTokenLocalServiceImpl.java deleted file mode 100644 index 6190aa3f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/KaleoTaskInstanceTokenLocalServiceImpl.java +++ /dev/null @@ -1,49 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.impl; - -import it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken; -import it.tref.liferay.portos.importazione.service.base.KaleoTaskInstanceTokenLocalServiceBaseImpl; - -import com.liferay.portal.kernel.exception.SystemException; - -/** - * The implementation of the kaleo task instance token local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun - * ServiceBuilder to copy their definitions into the - * {@link it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the - * propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.base.KaleoTaskInstanceTokenLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalServiceUtil - */ -public class KaleoTaskInstanceTokenLocalServiceImpl extends KaleoTaskInstanceTokenLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: Never reference this interface directly. Always use {@link - * it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalServiceUtil} to access - * the kaleo task instance token local service. - */ - public KaleoTaskInstanceToken fetchByClassPk(long classPK) throws SystemException { - - return kaleoTaskInstanceTokenPersistence.fetchByClassPK(classPK); - } -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/KaleoTaskLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/KaleoTaskLocalServiceImpl.java deleted file mode 100644 index 02e00fed..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/KaleoTaskLocalServiceImpl.java +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.impl; - -import it.tref.liferay.portos.importazione.service.base.KaleoTaskLocalServiceBaseImpl; - -/** - * The implementation of the kaleo task local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.service.KaleoTaskLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.base.KaleoTaskLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.KaleoTaskLocalServiceUtil - */ -public class KaleoTaskLocalServiceImpl extends KaleoTaskLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.importazione.service.KaleoTaskLocalServiceUtil} to access the kaleo task local service. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/OldDLFileEntryLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/OldDLFileEntryLocalServiceImpl.java deleted file mode 100644 index 7dcb2f34..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/OldDLFileEntryLocalServiceImpl.java +++ /dev/null @@ -1,58 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.impl; - -import it.tref.liferay.portos.importazione.model.OldDLFileEntry; -import it.tref.liferay.portos.importazione.service.base.OldDLFileEntryLocalServiceBaseImpl; - -import java.util.List; - -import com.liferay.portal.kernel.exception.SystemException; - -/** - * The implementation of the old d l file entry local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun - * ServiceBuilder to copy their definitions into the - * {@link it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the - * propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.base.OldDLFileEntryLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalServiceUtil - */ -public class OldDLFileEntryLocalServiceImpl extends OldDLFileEntryLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: Never reference this interface directly. Always use {@link - * it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalServiceUtil} to access the old d - * l file entry local service. - */ - - public List findByRepId_ParentId(long repositoryId, long folderId) throws SystemException { - - return oldDLFileEntryPersistence.findByRepId_ParentId(repositoryId, folderId); - } - - public List findByGroupId_FolderId(long groupId, long folderId) throws SystemException { - - return oldDLFileEntryPersistence.findByGroupId_FolderId(groupId, folderId); - } - -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/OldDLFolderLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/OldDLFolderLocalServiceImpl.java deleted file mode 100644 index d60aed1a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/OldDLFolderLocalServiceImpl.java +++ /dev/null @@ -1,51 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.impl; - -import it.tref.liferay.portos.importazione.model.OldDLFolder; -import it.tref.liferay.portos.importazione.service.base.OldDLFolderLocalServiceBaseImpl; - -import com.liferay.portal.kernel.exception.SystemException; - -/** - * The implementation of the old d l folder local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun - * ServiceBuilder to copy their definitions into the - * {@link it.tref.liferay.portos.importazione.service.OldDLFolderLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the - * propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.base.OldDLFolderLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.OldDLFolderLocalServiceUtil - */ -public class OldDLFolderLocalServiceImpl extends OldDLFolderLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: Never reference this interface directly. Always use {@link - * it.tref.liferay.portos.importazione.service.OldDLFolderLocalServiceUtil} to access the old d l - * folder local service. - */ - - public OldDLFolder fetchByRepId_ParentId_Name(long repositoryId, long parentFolderId, String name) - throws SystemException { - - return oldDLFolderPersistence.fetchByByRepId_ParentId_Name(repositoryId, parentFolderId, name); - } -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/OldGroupLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/OldGroupLocalServiceImpl.java deleted file mode 100644 index d6127394..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/OldGroupLocalServiceImpl.java +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.impl; - -import it.tref.liferay.portos.importazione.service.base.OldGroupLocalServiceBaseImpl; - -/** - * The implementation of the old group local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.service.OldGroupLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.base.OldGroupLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.OldGroupLocalServiceUtil - */ -public class OldGroupLocalServiceImpl extends OldGroupLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.importazione.service.OldGroupLocalServiceUtil} to access the old group local service. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/OldOrganizationLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/OldOrganizationLocalServiceImpl.java deleted file mode 100644 index c2e82719..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/OldOrganizationLocalServiceImpl.java +++ /dev/null @@ -1,44 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.impl; - -import it.tref.liferay.portos.importazione.service.base.OldOrganizationLocalServiceBaseImpl; - -/** - * The implementation of the old organization local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun - * ServiceBuilder to copy their definitions into the - * {@link it.tref.liferay.portos.importazione.service.OldOrganizationLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the - * propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.base.OldOrganizationLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.OldOrganizationLocalServiceUtil - */ -public class OldOrganizationLocalServiceImpl extends OldOrganizationLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: Never reference this interface directly. Always use {@link - * it.tref.liferay.portos.importazione.service.OldOrganizationLocalServiceUtil} to access the old - * organization local service. - */ - - -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/OldRoleLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/OldRoleLocalServiceImpl.java deleted file mode 100644 index 1df01c56..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/OldRoleLocalServiceImpl.java +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.impl; - -import it.tref.liferay.portos.importazione.service.base.OldRoleLocalServiceBaseImpl; - -/** - * The implementation of the old role local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.service.OldRoleLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.base.OldRoleLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.OldRoleLocalServiceUtil - */ -public class OldRoleLocalServiceImpl extends OldRoleLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.importazione.service.OldRoleLocalServiceUtil} to access the old role local service. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/OldUserGroupLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/OldUserGroupLocalServiceImpl.java deleted file mode 100644 index e5e5cb66..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/OldUserGroupLocalServiceImpl.java +++ /dev/null @@ -1,51 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.impl; - -import it.tref.liferay.portos.importazione.model.OldUserGroup; -import it.tref.liferay.portos.importazione.service.base.OldUserGroupLocalServiceBaseImpl; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupFinderUtil; - -import java.util.List; - -/** - * The implementation of the old user group local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun - * ServiceBuilder to copy their definitions into the - * {@link it.tref.liferay.portos.importazione.service.OldUserGroupLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the - * propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.base.OldUserGroupLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.OldUserGroupLocalServiceUtil - */ -public class OldUserGroupLocalServiceImpl extends OldUserGroupLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: Never reference this interface directly. Always use {@link - * it.tref.liferay.portos.importazione.service.OldUserGroupLocalServiceUtil} to access the old - * user group local service. - */ - - public List getOldUserGroupByUserId(long userId) { - - return OldUserGroupFinderUtil.getOldUserGroupByUserId(userId); - } -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/OldUserLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/OldUserLocalServiceImpl.java deleted file mode 100644 index c91d6451..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/OldUserLocalServiceImpl.java +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.impl; - -import it.tref.liferay.portos.importazione.service.base.OldUserLocalServiceBaseImpl; - -/** - * The implementation of the old user local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.service.OldUserLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.base.OldUserLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.OldUserLocalServiceUtil - */ -public class OldUserLocalServiceImpl extends OldUserLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.importazione.service.OldUserLocalServiceUtil} to access the old user local service. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/ProceduraImportazioneLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/ProceduraImportazioneLocalServiceImpl.java deleted file mode 100644 index 4a0df4b6..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/ProceduraImportazioneLocalServiceImpl.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.impl; - -import it.tref.liferay.portos.importazione.service.base.ProceduraImportazioneLocalServiceBaseImpl; - -/** - * The implementation of the procedura importazione local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.base.ProceduraImportazioneLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalServiceUtil - */ -public class ProceduraImportazioneLocalServiceImpl - extends ProceduraImportazioneLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.importazione.service.ProceduraImportazioneLocalServiceUtil} to access the procedura importazione local service. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/StatoImportazioneLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/StatoImportazioneLocalServiceImpl.java deleted file mode 100644 index f4faab0d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/impl/StatoImportazioneLocalServiceImpl.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.impl; - -import it.tref.liferay.portos.importazione.service.base.StatoImportazioneLocalServiceBaseImpl; - -/** - * The implementation of the stato importazione local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.importazione.service.StatoImportazioneLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author 3FC - * @see it.tref.liferay.portos.importazione.service.base.StatoImportazioneLocalServiceBaseImpl - * @see it.tref.liferay.portos.importazione.service.StatoImportazioneLocalServiceUtil - */ -public class StatoImportazioneLocalServiceImpl - extends StatoImportazioneLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.importazione.service.StatoImportazioneLocalServiceUtil} to access the stato importazione local service. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoArtLeggePersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoArtLeggePersistenceImpl.java deleted file mode 100644 index 0a013737..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoArtLeggePersistenceImpl.java +++ /dev/null @@ -1,1600 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException; -import it.tref.liferay.portos.importazione.model.BoArtLegge; -import it.tref.liferay.portos.importazione.model.impl.BoArtLeggeImpl; -import it.tref.liferay.portos.importazione.model.impl.BoArtLeggeModelImpl; -import it.tref.liferay.portos.importazione.service.persistence.BoArtLeggePersistence; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -/** - * The persistence implementation for the bo art legge service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoArtLeggePersistence - * @see BoArtLeggeUtil - * @generated - */ -public class BoArtLeggePersistenceImpl extends BasePersistenceImpl - implements BoArtLeggePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link BoArtLeggeUtil} to access the bo art legge persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = BoArtLeggeImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(BoArtLeggeModelImpl.ENTITY_CACHE_ENABLED, - BoArtLeggeModelImpl.FINDER_CACHE_ENABLED, BoArtLeggeImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(BoArtLeggeModelImpl.ENTITY_CACHE_ENABLED, - BoArtLeggeModelImpl.FINDER_CACHE_ENABLED, BoArtLeggeImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(BoArtLeggeModelImpl.ENTITY_CACHE_ENABLED, - BoArtLeggeModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_FETCH_BY_CODARTLEGGE_TIPOLOGIA = new FinderPath(BoArtLeggeModelImpl.ENTITY_CACHE_ENABLED, - BoArtLeggeModelImpl.FINDER_CACHE_ENABLED, BoArtLeggeImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchBycodArtLegge_tipologia", - new String[] { String.class.getName(), String.class.getName() }, - BoArtLeggeModelImpl.CODARTLEGGE_COLUMN_BITMASK | - BoArtLeggeModelImpl.TIPOLOGIA_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_CODARTLEGGE_TIPOLOGIA = new FinderPath(BoArtLeggeModelImpl.ENTITY_CACHE_ENABLED, - BoArtLeggeModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countBycodArtLegge_tipologia", - new String[] { String.class.getName(), String.class.getName() }); - - /** - * Returns the bo art legge where codArtLegge = ? and tipologia = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException} if it could not be found. - * - * @param codArtLegge the cod art legge - * @param tipologia the tipologia - * @return the matching bo art legge - * @throws it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoArtLegge findBycodArtLegge_tipologia(String codArtLegge, - String tipologia) throws NoSuchBoArtLeggeException, SystemException { - BoArtLegge boArtLegge = fetchBycodArtLegge_tipologia(codArtLegge, - tipologia); - - if (boArtLegge == null) { - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("codArtLegge="); - msg.append(codArtLegge); - - msg.append(", tipologia="); - msg.append(tipologia); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoArtLeggeException(msg.toString()); - } - - return boArtLegge; - } - - /** - * Returns the bo art legge where codArtLegge = ? and tipologia = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codArtLegge the cod art legge - * @param tipologia the tipologia - * @return the matching bo art legge, or null if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoArtLegge fetchBycodArtLegge_tipologia(String codArtLegge, - String tipologia) throws SystemException { - return fetchBycodArtLegge_tipologia(codArtLegge, tipologia, true); - } - - /** - * Returns the bo art legge where codArtLegge = ? and tipologia = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codArtLegge the cod art legge - * @param tipologia the tipologia - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo art legge, or null if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoArtLegge fetchBycodArtLegge_tipologia(String codArtLegge, - String tipologia, boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { codArtLegge, tipologia }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_CODARTLEGGE_TIPOLOGIA, - finderArgs, this); - } - - if (result instanceof BoArtLegge) { - BoArtLegge boArtLegge = (BoArtLegge)result; - - if (!Validator.equals(codArtLegge, boArtLegge.getCodArtLegge()) || - !Validator.equals(tipologia, boArtLegge.getTipologia())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_SELECT_BOARTLEGGE_WHERE); - - boolean bindCodArtLegge = false; - - if (codArtLegge == null) { - query.append(_FINDER_COLUMN_CODARTLEGGE_TIPOLOGIA_CODARTLEGGE_1); - } - else if (codArtLegge.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_CODARTLEGGE_TIPOLOGIA_CODARTLEGGE_3); - } - else { - bindCodArtLegge = true; - - query.append(_FINDER_COLUMN_CODARTLEGGE_TIPOLOGIA_CODARTLEGGE_2); - } - - boolean bindTipologia = false; - - if (tipologia == null) { - query.append(_FINDER_COLUMN_CODARTLEGGE_TIPOLOGIA_TIPOLOGIA_1); - } - else if (tipologia.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_CODARTLEGGE_TIPOLOGIA_TIPOLOGIA_3); - } - else { - bindTipologia = true; - - query.append(_FINDER_COLUMN_CODARTLEGGE_TIPOLOGIA_TIPOLOGIA_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindCodArtLegge) { - qPos.add(codArtLegge); - } - - if (bindTipologia) { - qPos.add(tipologia); - } - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODARTLEGGE_TIPOLOGIA, - finderArgs, list); - } - else { - BoArtLegge boArtLegge = list.get(0); - - result = boArtLegge; - - cacheResult(boArtLegge); - - if ((boArtLegge.getCodArtLegge() == null) || - !boArtLegge.getCodArtLegge().equals(codArtLegge) || - (boArtLegge.getTipologia() == null) || - !boArtLegge.getTipologia().equals(tipologia)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODARTLEGGE_TIPOLOGIA, - finderArgs, boArtLegge); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODARTLEGGE_TIPOLOGIA, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoArtLegge)result; - } - } - - /** - * Removes the bo art legge where codArtLegge = ? and tipologia = ? from the database. - * - * @param codArtLegge the cod art legge - * @param tipologia the tipologia - * @return the bo art legge that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoArtLegge removeBycodArtLegge_tipologia(String codArtLegge, - String tipologia) throws NoSuchBoArtLeggeException, SystemException { - BoArtLegge boArtLegge = findBycodArtLegge_tipologia(codArtLegge, - tipologia); - - return remove(boArtLegge); - } - - /** - * Returns the number of bo art legges where codArtLegge = ? and tipologia = ?. - * - * @param codArtLegge the cod art legge - * @param tipologia the tipologia - * @return the number of matching bo art legges - * @throws SystemException if a system exception occurred - */ - @Override - public int countBycodArtLegge_tipologia(String codArtLegge, String tipologia) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_CODARTLEGGE_TIPOLOGIA; - - Object[] finderArgs = new Object[] { codArtLegge, tipologia }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOARTLEGGE_WHERE); - - boolean bindCodArtLegge = false; - - if (codArtLegge == null) { - query.append(_FINDER_COLUMN_CODARTLEGGE_TIPOLOGIA_CODARTLEGGE_1); - } - else if (codArtLegge.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_CODARTLEGGE_TIPOLOGIA_CODARTLEGGE_3); - } - else { - bindCodArtLegge = true; - - query.append(_FINDER_COLUMN_CODARTLEGGE_TIPOLOGIA_CODARTLEGGE_2); - } - - boolean bindTipologia = false; - - if (tipologia == null) { - query.append(_FINDER_COLUMN_CODARTLEGGE_TIPOLOGIA_TIPOLOGIA_1); - } - else if (tipologia.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_CODARTLEGGE_TIPOLOGIA_TIPOLOGIA_3); - } - else { - bindTipologia = true; - - query.append(_FINDER_COLUMN_CODARTLEGGE_TIPOLOGIA_TIPOLOGIA_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindCodArtLegge) { - qPos.add(codArtLegge); - } - - if (bindTipologia) { - qPos.add(tipologia); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_CODARTLEGGE_TIPOLOGIA_CODARTLEGGE_1 = - "boArtLegge.codArtLegge IS NULL AND "; - private static final String _FINDER_COLUMN_CODARTLEGGE_TIPOLOGIA_CODARTLEGGE_2 = - "boArtLegge.codArtLegge = ? AND "; - private static final String _FINDER_COLUMN_CODARTLEGGE_TIPOLOGIA_CODARTLEGGE_3 = - "(boArtLegge.codArtLegge IS NULL OR boArtLegge.codArtLegge = '') AND "; - private static final String _FINDER_COLUMN_CODARTLEGGE_TIPOLOGIA_TIPOLOGIA_1 = - "boArtLegge.tipologia IS NULL"; - private static final String _FINDER_COLUMN_CODARTLEGGE_TIPOLOGIA_TIPOLOGIA_2 = - "boArtLegge.tipologia = ?"; - private static final String _FINDER_COLUMN_CODARTLEGGE_TIPOLOGIA_TIPOLOGIA_3 = - "(boArtLegge.tipologia IS NULL OR boArtLegge.tipologia = '')"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_TIPOLOGIA = - new FinderPath(BoArtLeggeModelImpl.ENTITY_CACHE_ENABLED, - BoArtLeggeModelImpl.FINDER_CACHE_ENABLED, BoArtLeggeImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findBytipologia", - new String[] { - String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TIPOLOGIA = - new FinderPath(BoArtLeggeModelImpl.ENTITY_CACHE_ENABLED, - BoArtLeggeModelImpl.FINDER_CACHE_ENABLED, BoArtLeggeImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findBytipologia", - new String[] { String.class.getName() }, - BoArtLeggeModelImpl.TIPOLOGIA_COLUMN_BITMASK | - BoArtLeggeModelImpl.CODARTLEGGE_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_TIPOLOGIA = new FinderPath(BoArtLeggeModelImpl.ENTITY_CACHE_ENABLED, - BoArtLeggeModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countBytipologia", - new String[] { String.class.getName() }); - - /** - * Returns all the bo art legges where tipologia = ?. - * - * @param tipologia the tipologia - * @return the matching bo art legges - * @throws SystemException if a system exception occurred - */ - @Override - public List findBytipologia(String tipologia) - throws SystemException { - return findBytipologia(tipologia, QueryUtil.ALL_POS, QueryUtil.ALL_POS, - null); - } - - /** - * Returns a range of all the bo art legges where tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param tipologia the tipologia - * @param start the lower bound of the range of bo art legges - * @param end the upper bound of the range of bo art legges (not inclusive) - * @return the range of matching bo art legges - * @throws SystemException if a system exception occurred - */ - @Override - public List findBytipologia(String tipologia, int start, int end) - throws SystemException { - return findBytipologia(tipologia, start, end, null); - } - - /** - * Returns an ordered range of all the bo art legges where tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param tipologia the tipologia - * @param start the lower bound of the range of bo art legges - * @param end the upper bound of the range of bo art legges (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo art legges - * @throws SystemException if a system exception occurred - */ - @Override - public List findBytipologia(String tipologia, int start, - int end, OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TIPOLOGIA; - finderArgs = new Object[] { tipologia }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_TIPOLOGIA; - finderArgs = new Object[] { tipologia, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoArtLegge boArtLegge : list) { - if (!Validator.equals(tipologia, boArtLegge.getTipologia())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOARTLEGGE_WHERE); - - boolean bindTipologia = false; - - if (tipologia == null) { - query.append(_FINDER_COLUMN_TIPOLOGIA_TIPOLOGIA_1); - } - else if (tipologia.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_TIPOLOGIA_TIPOLOGIA_3); - } - else { - bindTipologia = true; - - query.append(_FINDER_COLUMN_TIPOLOGIA_TIPOLOGIA_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoArtLeggeModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindTipologia) { - qPos.add(tipologia); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo art legge in the ordered set where tipologia = ?. - * - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo art legge - * @throws it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoArtLegge findBytipologia_First(String tipologia, - OrderByComparator orderByComparator) - throws NoSuchBoArtLeggeException, SystemException { - BoArtLegge boArtLegge = fetchBytipologia_First(tipologia, - orderByComparator); - - if (boArtLegge != null) { - return boArtLegge; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("tipologia="); - msg.append(tipologia); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoArtLeggeException(msg.toString()); - } - - /** - * Returns the first bo art legge in the ordered set where tipologia = ?. - * - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo art legge, or null if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoArtLegge fetchBytipologia_First(String tipologia, - OrderByComparator orderByComparator) throws SystemException { - List list = findBytipologia(tipologia, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo art legge in the ordered set where tipologia = ?. - * - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo art legge - * @throws it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoArtLegge findBytipologia_Last(String tipologia, - OrderByComparator orderByComparator) - throws NoSuchBoArtLeggeException, SystemException { - BoArtLegge boArtLegge = fetchBytipologia_Last(tipologia, - orderByComparator); - - if (boArtLegge != null) { - return boArtLegge; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("tipologia="); - msg.append(tipologia); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoArtLeggeException(msg.toString()); - } - - /** - * Returns the last bo art legge in the ordered set where tipologia = ?. - * - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo art legge, or null if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoArtLegge fetchBytipologia_Last(String tipologia, - OrderByComparator orderByComparator) throws SystemException { - int count = countBytipologia(tipologia); - - if (count == 0) { - return null; - } - - List list = findBytipologia(tipologia, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo art legges before and after the current bo art legge in the ordered set where tipologia = ?. - * - * @param artLeggeId the primary key of the current bo art legge - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo art legge - * @throws it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoArtLegge[] findBytipologia_PrevAndNext(long artLeggeId, - String tipologia, OrderByComparator orderByComparator) - throws NoSuchBoArtLeggeException, SystemException { - BoArtLegge boArtLegge = findByPrimaryKey(artLeggeId); - - Session session = null; - - try { - session = openSession(); - - BoArtLegge[] array = new BoArtLeggeImpl[3]; - - array[0] = getBytipologia_PrevAndNext(session, boArtLegge, - tipologia, orderByComparator, true); - - array[1] = boArtLegge; - - array[2] = getBytipologia_PrevAndNext(session, boArtLegge, - tipologia, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoArtLegge getBytipologia_PrevAndNext(Session session, - BoArtLegge boArtLegge, String tipologia, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOARTLEGGE_WHERE); - - boolean bindTipologia = false; - - if (tipologia == null) { - query.append(_FINDER_COLUMN_TIPOLOGIA_TIPOLOGIA_1); - } - else if (tipologia.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_TIPOLOGIA_TIPOLOGIA_3); - } - else { - bindTipologia = true; - - query.append(_FINDER_COLUMN_TIPOLOGIA_TIPOLOGIA_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoArtLeggeModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindTipologia) { - qPos.add(tipologia); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boArtLegge); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo art legges where tipologia = ? from the database. - * - * @param tipologia the tipologia - * @throws SystemException if a system exception occurred - */ - @Override - public void removeBytipologia(String tipologia) throws SystemException { - for (BoArtLegge boArtLegge : findBytipologia(tipologia, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boArtLegge); - } - } - - /** - * Returns the number of bo art legges where tipologia = ?. - * - * @param tipologia the tipologia - * @return the number of matching bo art legges - * @throws SystemException if a system exception occurred - */ - @Override - public int countBytipologia(String tipologia) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_TIPOLOGIA; - - Object[] finderArgs = new Object[] { tipologia }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BOARTLEGGE_WHERE); - - boolean bindTipologia = false; - - if (tipologia == null) { - query.append(_FINDER_COLUMN_TIPOLOGIA_TIPOLOGIA_1); - } - else if (tipologia.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_TIPOLOGIA_TIPOLOGIA_3); - } - else { - bindTipologia = true; - - query.append(_FINDER_COLUMN_TIPOLOGIA_TIPOLOGIA_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindTipologia) { - qPos.add(tipologia); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_TIPOLOGIA_TIPOLOGIA_1 = "boArtLegge.tipologia IS NULL"; - private static final String _FINDER_COLUMN_TIPOLOGIA_TIPOLOGIA_2 = "boArtLegge.tipologia = ?"; - private static final String _FINDER_COLUMN_TIPOLOGIA_TIPOLOGIA_3 = "(boArtLegge.tipologia IS NULL OR boArtLegge.tipologia = '')"; - - public BoArtLeggePersistenceImpl() { - setModelClass(BoArtLegge.class); - } - - /** - * Caches the bo art legge in the entity cache if it is enabled. - * - * @param boArtLegge the bo art legge - */ - @Override - public void cacheResult(BoArtLegge boArtLegge) { - EntityCacheUtil.putResult(BoArtLeggeModelImpl.ENTITY_CACHE_ENABLED, - BoArtLeggeImpl.class, boArtLegge.getPrimaryKey(), boArtLegge); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODARTLEGGE_TIPOLOGIA, - new Object[] { boArtLegge.getCodArtLegge(), boArtLegge.getTipologia() }, - boArtLegge); - - boArtLegge.resetOriginalValues(); - } - - /** - * Caches the bo art legges in the entity cache if it is enabled. - * - * @param boArtLegges the bo art legges - */ - @Override - public void cacheResult(List boArtLegges) { - for (BoArtLegge boArtLegge : boArtLegges) { - if (EntityCacheUtil.getResult( - BoArtLeggeModelImpl.ENTITY_CACHE_ENABLED, - BoArtLeggeImpl.class, boArtLegge.getPrimaryKey()) == null) { - cacheResult(boArtLegge); - } - else { - boArtLegge.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all bo art legges. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(BoArtLeggeImpl.class.getName()); - } - - EntityCacheUtil.clearCache(BoArtLeggeImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the bo art legge. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(BoArtLegge boArtLegge) { - EntityCacheUtil.removeResult(BoArtLeggeModelImpl.ENTITY_CACHE_ENABLED, - BoArtLeggeImpl.class, boArtLegge.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(boArtLegge); - } - - @Override - public void clearCache(List boArtLegges) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (BoArtLegge boArtLegge : boArtLegges) { - EntityCacheUtil.removeResult(BoArtLeggeModelImpl.ENTITY_CACHE_ENABLED, - BoArtLeggeImpl.class, boArtLegge.getPrimaryKey()); - - clearUniqueFindersCache(boArtLegge); - } - } - - protected void cacheUniqueFindersCache(BoArtLegge boArtLegge) { - if (boArtLegge.isNew()) { - Object[] args = new Object[] { - boArtLegge.getCodArtLegge(), boArtLegge.getTipologia() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_CODARTLEGGE_TIPOLOGIA, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODARTLEGGE_TIPOLOGIA, - args, boArtLegge); - } - else { - BoArtLeggeModelImpl boArtLeggeModelImpl = (BoArtLeggeModelImpl)boArtLegge; - - if ((boArtLeggeModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_CODARTLEGGE_TIPOLOGIA.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boArtLegge.getCodArtLegge(), boArtLegge.getTipologia() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_CODARTLEGGE_TIPOLOGIA, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODARTLEGGE_TIPOLOGIA, - args, boArtLegge); - } - } - } - - protected void clearUniqueFindersCache(BoArtLegge boArtLegge) { - BoArtLeggeModelImpl boArtLeggeModelImpl = (BoArtLeggeModelImpl)boArtLegge; - - Object[] args = new Object[] { - boArtLegge.getCodArtLegge(), boArtLegge.getTipologia() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CODARTLEGGE_TIPOLOGIA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODARTLEGGE_TIPOLOGIA, - args); - - if ((boArtLeggeModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_CODARTLEGGE_TIPOLOGIA.getColumnBitmask()) != 0) { - args = new Object[] { - boArtLeggeModelImpl.getOriginalCodArtLegge(), - boArtLeggeModelImpl.getOriginalTipologia() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CODARTLEGGE_TIPOLOGIA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODARTLEGGE_TIPOLOGIA, - args); - } - } - - /** - * Creates a new bo art legge with the primary key. Does not add the bo art legge to the database. - * - * @param artLeggeId the primary key for the new bo art legge - * @return the new bo art legge - */ - @Override - public BoArtLegge create(long artLeggeId) { - BoArtLegge boArtLegge = new BoArtLeggeImpl(); - - boArtLegge.setNew(true); - boArtLegge.setPrimaryKey(artLeggeId); - - return boArtLegge; - } - - /** - * Removes the bo art legge with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param artLeggeId the primary key of the bo art legge - * @return the bo art legge that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoArtLegge remove(long artLeggeId) - throws NoSuchBoArtLeggeException, SystemException { - return remove((Serializable)artLeggeId); - } - - /** - * Removes the bo art legge with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the bo art legge - * @return the bo art legge that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoArtLegge remove(Serializable primaryKey) - throws NoSuchBoArtLeggeException, SystemException { - Session session = null; - - try { - session = openSession(); - - BoArtLegge boArtLegge = (BoArtLegge)session.get(BoArtLeggeImpl.class, - primaryKey); - - if (boArtLegge == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoArtLeggeException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(boArtLegge); - } - catch (NoSuchBoArtLeggeException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected BoArtLegge removeImpl(BoArtLegge boArtLegge) - throws SystemException { - boArtLegge = toUnwrappedModel(boArtLegge); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(boArtLegge)) { - boArtLegge = (BoArtLegge)session.get(BoArtLeggeImpl.class, - boArtLegge.getPrimaryKeyObj()); - } - - if (boArtLegge != null) { - session.delete(boArtLegge); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (boArtLegge != null) { - clearCache(boArtLegge); - } - - return boArtLegge; - } - - @Override - public BoArtLegge updateImpl( - it.tref.liferay.portos.importazione.model.BoArtLegge boArtLegge) - throws SystemException { - boArtLegge = toUnwrappedModel(boArtLegge); - - boolean isNew = boArtLegge.isNew(); - - BoArtLeggeModelImpl boArtLeggeModelImpl = (BoArtLeggeModelImpl)boArtLegge; - - Session session = null; - - try { - session = openSession(); - - if (boArtLegge.isNew()) { - session.save(boArtLegge); - - boArtLegge.setNew(false); - } - else { - session.merge(boArtLegge); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !BoArtLeggeModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((boArtLeggeModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TIPOLOGIA.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boArtLeggeModelImpl.getOriginalTipologia() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_TIPOLOGIA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TIPOLOGIA, - args); - - args = new Object[] { boArtLeggeModelImpl.getTipologia() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_TIPOLOGIA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TIPOLOGIA, - args); - } - } - - EntityCacheUtil.putResult(BoArtLeggeModelImpl.ENTITY_CACHE_ENABLED, - BoArtLeggeImpl.class, boArtLegge.getPrimaryKey(), boArtLegge); - - clearUniqueFindersCache(boArtLegge); - cacheUniqueFindersCache(boArtLegge); - - return boArtLegge; - } - - protected BoArtLegge toUnwrappedModel(BoArtLegge boArtLegge) { - if (boArtLegge instanceof BoArtLeggeImpl) { - return boArtLegge; - } - - BoArtLeggeImpl boArtLeggeImpl = new BoArtLeggeImpl(); - - boArtLeggeImpl.setNew(boArtLegge.isNew()); - boArtLeggeImpl.setPrimaryKey(boArtLegge.getPrimaryKey()); - - boArtLeggeImpl.setArtLeggeId(boArtLegge.getArtLeggeId()); - boArtLeggeImpl.setCompanyId(boArtLegge.getCompanyId()); - boArtLeggeImpl.setUserId(boArtLegge.getUserId()); - boArtLeggeImpl.setUserName(boArtLegge.getUserName()); - boArtLeggeImpl.setCreateDate(boArtLegge.getCreateDate()); - boArtLeggeImpl.setModifiedDate(boArtLegge.getModifiedDate()); - boArtLeggeImpl.setCodArtLegge(boArtLegge.getCodArtLegge()); - boArtLeggeImpl.setTipologia(boArtLegge.getTipologia()); - boArtLeggeImpl.setDescLong(boArtLegge.getDescLong()); - - return boArtLeggeImpl; - } - - /** - * Returns the bo art legge with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the bo art legge - * @return the bo art legge - * @throws it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoArtLegge findByPrimaryKey(Serializable primaryKey) - throws NoSuchBoArtLeggeException, SystemException { - BoArtLegge boArtLegge = fetchByPrimaryKey(primaryKey); - - if (boArtLegge == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoArtLeggeException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return boArtLegge; - } - - /** - * Returns the bo art legge with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException} if it could not be found. - * - * @param artLeggeId the primary key of the bo art legge - * @return the bo art legge - * @throws it.tref.liferay.portos.importazione.NoSuchBoArtLeggeException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoArtLegge findByPrimaryKey(long artLeggeId) - throws NoSuchBoArtLeggeException, SystemException { - return findByPrimaryKey((Serializable)artLeggeId); - } - - /** - * Returns the bo art legge with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the bo art legge - * @return the bo art legge, or null if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoArtLegge fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - BoArtLegge boArtLegge = (BoArtLegge)EntityCacheUtil.getResult(BoArtLeggeModelImpl.ENTITY_CACHE_ENABLED, - BoArtLeggeImpl.class, primaryKey); - - if (boArtLegge == _nullBoArtLegge) { - return null; - } - - if (boArtLegge == null) { - Session session = null; - - try { - session = openSession(); - - boArtLegge = (BoArtLegge)session.get(BoArtLeggeImpl.class, - primaryKey); - - if (boArtLegge != null) { - cacheResult(boArtLegge); - } - else { - EntityCacheUtil.putResult(BoArtLeggeModelImpl.ENTITY_CACHE_ENABLED, - BoArtLeggeImpl.class, primaryKey, _nullBoArtLegge); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(BoArtLeggeModelImpl.ENTITY_CACHE_ENABLED, - BoArtLeggeImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return boArtLegge; - } - - /** - * Returns the bo art legge with the primary key or returns null if it could not be found. - * - * @param artLeggeId the primary key of the bo art legge - * @return the bo art legge, or null if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoArtLegge fetchByPrimaryKey(long artLeggeId) - throws SystemException { - return fetchByPrimaryKey((Serializable)artLeggeId); - } - - /** - * Returns all the bo art legges. - * - * @return the bo art legges - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo art legges. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo art legges - * @param end the upper bound of the range of bo art legges (not inclusive) - * @return the range of bo art legges - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the bo art legges. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo art legges - * @param end the upper bound of the range of bo art legges (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo art legges - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_BOARTLEGGE); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_BOARTLEGGE; - - if (pagination) { - sql = sql.concat(BoArtLeggeModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the bo art legges from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (BoArtLegge boArtLegge : findAll()) { - remove(boArtLegge); - } - } - - /** - * Returns the number of bo art legges. - * - * @return the number of bo art legges - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_BOARTLEGGE); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - /** - * Initializes the bo art legge persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.importazione.model.BoArtLegge"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(BoArtLeggeImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_BOARTLEGGE = "SELECT boArtLegge FROM BoArtLegge boArtLegge"; - private static final String _SQL_SELECT_BOARTLEGGE_WHERE = "SELECT boArtLegge FROM BoArtLegge boArtLegge WHERE "; - private static final String _SQL_COUNT_BOARTLEGGE = "SELECT COUNT(boArtLegge) FROM BoArtLegge boArtLegge"; - private static final String _SQL_COUNT_BOARTLEGGE_WHERE = "SELECT COUNT(boArtLegge) FROM BoArtLegge boArtLegge WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "boArtLegge."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No BoArtLegge exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No BoArtLegge exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(BoArtLeggePersistenceImpl.class); - private static BoArtLegge _nullBoArtLegge = new BoArtLeggeImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullBoArtLeggeCacheModel; - } - }; - - private static CacheModel _nullBoArtLeggeCacheModel = new CacheModel() { - @Override - public BoArtLegge toEntityModel() { - return _nullBoArtLegge; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoAvvisoPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoAvvisoPersistenceImpl.java deleted file mode 100644 index cca346f3..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoAvvisoPersistenceImpl.java +++ /dev/null @@ -1,4615 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.ArrayUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.SetUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.kernel.uuid.PortalUUIDUtil; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.importazione.NoSuchBoAvvisoException; -import it.tref.liferay.portos.importazione.model.BoAvviso; -import it.tref.liferay.portos.importazione.model.impl.BoAvvisoImpl; -import it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl; -import it.tref.liferay.portos.importazione.service.persistence.BoAvvisoPersistence; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Set; - -/** - * The persistence implementation for the bo avviso service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoAvvisoPersistence - * @see BoAvvisoUtil - * @generated - */ -public class BoAvvisoPersistenceImpl extends BasePersistenceImpl - implements BoAvvisoPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link BoAvvisoUtil} to access the bo avviso persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = BoAvvisoImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, BoAvvisoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, BoAvvisoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID = new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, BoAvvisoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByUuid", - new String[] { - String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID = new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, BoAvvisoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByUuid", - new String[] { String.class.getName() }, - BoAvvisoModelImpl.UUID_COLUMN_BITMASK | - BoAvvisoModelImpl.DTAVVISO_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID = new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid", - new String[] { String.class.getName() }); - - /** - * Returns all the bo avvisos where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid) throws SystemException { - return findByUuid(uuid, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo avvisos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end) - throws SystemException { - return findByUuid(uuid, start, end, null); - } - - /** - * Returns an ordered range of all the bo avvisos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoAvviso boAvviso : list) { - if (!Validator.equals(uuid, boAvviso.getUuid())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOAVVISO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoAvvisoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo avviso in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso findByUuid_First(String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = fetchByUuid_First(uuid, orderByComparator); - - if (boAvviso != null) { - return boAvviso; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoAvvisoException(msg.toString()); - } - - /** - * Returns the first bo avviso in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso fetchByUuid_First(String uuid, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid(uuid, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo avviso in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso findByUuid_Last(String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = fetchByUuid_Last(uuid, orderByComparator); - - if (boAvviso != null) { - return boAvviso; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoAvvisoException(msg.toString()); - } - - /** - * Returns the last bo avviso in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso fetchByUuid_Last(String uuid, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid(uuid); - - if (count == 0) { - return null; - } - - List list = findByUuid(uuid, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo avvisos before and after the current bo avviso in the ordered set where uuid = ?. - * - * @param avvisoId the primary key of the current bo avviso - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso[] findByUuid_PrevAndNext(long avvisoId, String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = findByPrimaryKey(avvisoId); - - Session session = null; - - try { - session = openSession(); - - BoAvviso[] array = new BoAvvisoImpl[3]; - - array[0] = getByUuid_PrevAndNext(session, boAvviso, uuid, - orderByComparator, true); - - array[1] = boAvviso; - - array[2] = getByUuid_PrevAndNext(session, boAvviso, uuid, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoAvviso getByUuid_PrevAndNext(Session session, - BoAvviso boAvviso, String uuid, OrderByComparator orderByComparator, - boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOAVVISO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoAvvisoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boAvviso); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo avvisos where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid(String uuid) throws SystemException { - for (BoAvviso boAvviso : findByUuid(uuid, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(boAvviso); - } - } - - /** - * Returns the number of bo avvisos where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid(String uuid) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID; - - Object[] finderArgs = new Object[] { uuid }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BOAVVISO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_UUID_1 = "boAvviso.uuid IS NULL"; - private static final String _FINDER_COLUMN_UUID_UUID_2 = "boAvviso.uuid = ?"; - private static final String _FINDER_COLUMN_UUID_UUID_3 = "(boAvviso.uuid IS NULL OR boAvviso.uuid = '')"; - public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G = new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, BoAvvisoImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }, - BoAvvisoModelImpl.UUID_COLUMN_BITMASK | - BoAvvisoModelImpl.GROUPID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G = new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns the bo avviso where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoAvvisoException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso findByUUID_G(String uuid, long groupId) - throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = fetchByUUID_G(uuid, groupId); - - if (boAvviso == null) { - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoAvvisoException(msg.toString()); - } - - return boAvviso; - } - - /** - * Returns the bo avviso where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso fetchByUUID_G(String uuid, long groupId) - throws SystemException { - return fetchByUUID_G(uuid, groupId, true); - } - - /** - * Returns the bo avviso where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso fetchByUUID_G(String uuid, long groupId, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { uuid, groupId }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, this); - } - - if (result instanceof BoAvviso) { - BoAvviso boAvviso = (BoAvviso)result; - - if (!Validator.equals(uuid, boAvviso.getUuid()) || - (groupId != boAvviso.getGroupId())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_SELECT_BOAVVISO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, list); - } - else { - BoAvviso boAvviso = list.get(0); - - result = boAvviso; - - cacheResult(boAvviso); - - if ((boAvviso.getUuid() == null) || - !boAvviso.getUuid().equals(uuid) || - (boAvviso.getGroupId() != groupId)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, boAvviso); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoAvviso)result; - } - } - - /** - * Removes the bo avviso where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo avviso that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso removeByUUID_G(String uuid, long groupId) - throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = findByUUID_G(uuid, groupId); - - return remove(boAvviso); - } - - /** - * Returns the number of bo avvisos where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUUID_G(String uuid, long groupId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_G; - - Object[] finderArgs = new Object[] { uuid, groupId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOAVVISO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_G_UUID_1 = "boAvviso.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_2 = "boAvviso.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_3 = "(boAvviso.uuid IS NULL OR boAvviso.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_G_GROUPID_2 = "boAvviso.groupId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C = new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, BoAvvisoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByUuid_C", - new String[] { - String.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C = - new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, BoAvvisoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }, - BoAvvisoModelImpl.UUID_COLUMN_BITMASK | - BoAvvisoModelImpl.COMPANYID_COLUMN_BITMASK | - BoAvvisoModelImpl.DTAVVISO_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C = new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns all the bo avvisos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId) - throws SystemException { - return findByUuid_C(uuid, companyId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo avvisos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, int start, - int end) throws SystemException { - return findByUuid_C(uuid, companyId, start, end, null); - } - - /** - * Returns an ordered range of all the bo avvisos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, int start, - int end, OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { uuid, companyId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { - uuid, companyId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoAvviso boAvviso : list) { - if (!Validator.equals(uuid, boAvviso.getUuid()) || - (companyId != boAvviso.getCompanyId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_BOAVVISO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoAvvisoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo avviso in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso findByUuid_C_First(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = fetchByUuid_C_First(uuid, companyId, - orderByComparator); - - if (boAvviso != null) { - return boAvviso; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoAvvisoException(msg.toString()); - } - - /** - * Returns the first bo avviso in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso fetchByUuid_C_First(String uuid, long companyId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid_C(uuid, companyId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo avviso in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso findByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = fetchByUuid_C_Last(uuid, companyId, - orderByComparator); - - if (boAvviso != null) { - return boAvviso; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoAvvisoException(msg.toString()); - } - - /** - * Returns the last bo avviso in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso fetchByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid_C(uuid, companyId); - - if (count == 0) { - return null; - } - - List list = findByUuid_C(uuid, companyId, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo avvisos before and after the current bo avviso in the ordered set where uuid = ? and companyId = ?. - * - * @param avvisoId the primary key of the current bo avviso - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso[] findByUuid_C_PrevAndNext(long avvisoId, String uuid, - long companyId, OrderByComparator orderByComparator) - throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = findByPrimaryKey(avvisoId); - - Session session = null; - - try { - session = openSession(); - - BoAvviso[] array = new BoAvvisoImpl[3]; - - array[0] = getByUuid_C_PrevAndNext(session, boAvviso, uuid, - companyId, orderByComparator, true); - - array[1] = boAvviso; - - array[2] = getByUuid_C_PrevAndNext(session, boAvviso, uuid, - companyId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoAvviso getByUuid_C_PrevAndNext(Session session, - BoAvviso boAvviso, String uuid, long companyId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOAVVISO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoAvvisoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boAvviso); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo avvisos where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid_C(String uuid, long companyId) - throws SystemException { - for (BoAvviso boAvviso : findByUuid_C(uuid, companyId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boAvviso); - } - } - - /** - * Returns the number of bo avvisos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid_C(String uuid, long companyId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_C; - - Object[] finderArgs = new Object[] { uuid, companyId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOAVVISO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_C_UUID_1 = "boAvviso.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_2 = "boAvviso.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_3 = "(boAvviso.uuid IS NULL OR boAvviso.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_C_COMPANYID_2 = "boAvviso.companyId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICAID_TIPODOCUMENTO = - new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, BoAvvisoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findBydettPraticaId_tipoDocumento", - new String[] { - Long.class.getName(), String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICAID_TIPODOCUMENTO = - new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, BoAvvisoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findBydettPraticaId_tipoDocumento", - new String[] { Long.class.getName(), String.class.getName() }, - BoAvvisoModelImpl.DETTPRATICAID_COLUMN_BITMASK | - BoAvvisoModelImpl.TIPODOCUMENTO_COLUMN_BITMASK | - BoAvvisoModelImpl.DTAVVISO_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_DETTPRATICAID_TIPODOCUMENTO = - new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countBydettPraticaId_tipoDocumento", - new String[] { Long.class.getName(), String.class.getName() }); - - /** - * Returns all the bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @return the matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findBydettPraticaId_tipoDocumento( - long dettPraticaId, String tipoDocumento) throws SystemException { - return findBydettPraticaId_tipoDocumento(dettPraticaId, tipoDocumento, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findBydettPraticaId_tipoDocumento( - long dettPraticaId, String tipoDocumento, int start, int end) - throws SystemException { - return findBydettPraticaId_tipoDocumento(dettPraticaId, tipoDocumento, - start, end, null); - } - - /** - * Returns an ordered range of all the bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findBydettPraticaId_tipoDocumento( - long dettPraticaId, String tipoDocumento, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICAID_TIPODOCUMENTO; - finderArgs = new Object[] { dettPraticaId, tipoDocumento }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICAID_TIPODOCUMENTO; - finderArgs = new Object[] { - dettPraticaId, tipoDocumento, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoAvviso boAvviso : list) { - if ((dettPraticaId != boAvviso.getDettPraticaId()) || - !Validator.equals(tipoDocumento, - boAvviso.getTipoDocumento())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_BOAVVISO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICAID_TIPODOCUMENTO_DETTPRATICAID_2); - - boolean bindTipoDocumento = false; - - if (tipoDocumento == null) { - query.append(_FINDER_COLUMN_DETTPRATICAID_TIPODOCUMENTO_TIPODOCUMENTO_1); - } - else if (tipoDocumento.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICAID_TIPODOCUMENTO_TIPODOCUMENTO_3); - } - else { - bindTipoDocumento = true; - - query.append(_FINDER_COLUMN_DETTPRATICAID_TIPODOCUMENTO_TIPODOCUMENTO_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoAvvisoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindTipoDocumento) { - qPos.add(tipoDocumento); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso findBydettPraticaId_tipoDocumento_First( - long dettPraticaId, String tipoDocumento, - OrderByComparator orderByComparator) - throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = fetchBydettPraticaId_tipoDocumento_First(dettPraticaId, - tipoDocumento, orderByComparator); - - if (boAvviso != null) { - return boAvviso; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(", tipoDocumento="); - msg.append(tipoDocumento); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoAvvisoException(msg.toString()); - } - - /** - * Returns the first bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso fetchBydettPraticaId_tipoDocumento_First( - long dettPraticaId, String tipoDocumento, - OrderByComparator orderByComparator) throws SystemException { - List list = findBydettPraticaId_tipoDocumento(dettPraticaId, - tipoDocumento, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso findBydettPraticaId_tipoDocumento_Last(long dettPraticaId, - String tipoDocumento, OrderByComparator orderByComparator) - throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = fetchBydettPraticaId_tipoDocumento_Last(dettPraticaId, - tipoDocumento, orderByComparator); - - if (boAvviso != null) { - return boAvviso; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(", tipoDocumento="); - msg.append(tipoDocumento); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoAvvisoException(msg.toString()); - } - - /** - * Returns the last bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso fetchBydettPraticaId_tipoDocumento_Last( - long dettPraticaId, String tipoDocumento, - OrderByComparator orderByComparator) throws SystemException { - int count = countBydettPraticaId_tipoDocumento(dettPraticaId, - tipoDocumento); - - if (count == 0) { - return null; - } - - List list = findBydettPraticaId_tipoDocumento(dettPraticaId, - tipoDocumento, count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo avvisos before and after the current bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param avvisoId the primary key of the current bo avviso - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso[] findBydettPraticaId_tipoDocumento_PrevAndNext( - long avvisoId, long dettPraticaId, String tipoDocumento, - OrderByComparator orderByComparator) - throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = findByPrimaryKey(avvisoId); - - Session session = null; - - try { - session = openSession(); - - BoAvviso[] array = new BoAvvisoImpl[3]; - - array[0] = getBydettPraticaId_tipoDocumento_PrevAndNext(session, - boAvviso, dettPraticaId, tipoDocumento, orderByComparator, - true); - - array[1] = boAvviso; - - array[2] = getBydettPraticaId_tipoDocumento_PrevAndNext(session, - boAvviso, dettPraticaId, tipoDocumento, orderByComparator, - false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoAvviso getBydettPraticaId_tipoDocumento_PrevAndNext( - Session session, BoAvviso boAvviso, long dettPraticaId, - String tipoDocumento, OrderByComparator orderByComparator, - boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOAVVISO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICAID_TIPODOCUMENTO_DETTPRATICAID_2); - - boolean bindTipoDocumento = false; - - if (tipoDocumento == null) { - query.append(_FINDER_COLUMN_DETTPRATICAID_TIPODOCUMENTO_TIPODOCUMENTO_1); - } - else if (tipoDocumento.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICAID_TIPODOCUMENTO_TIPODOCUMENTO_3); - } - else { - bindTipoDocumento = true; - - query.append(_FINDER_COLUMN_DETTPRATICAID_TIPODOCUMENTO_TIPODOCUMENTO_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoAvvisoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindTipoDocumento) { - qPos.add(tipoDocumento); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boAvviso); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo avvisos where dettPraticaId = ? and tipoDocumento = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @throws SystemException if a system exception occurred - */ - @Override - public void removeBydettPraticaId_tipoDocumento(long dettPraticaId, - String tipoDocumento) throws SystemException { - for (BoAvviso boAvviso : findBydettPraticaId_tipoDocumento( - dettPraticaId, tipoDocumento, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(boAvviso); - } - } - - /** - * Returns the number of bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public int countBydettPraticaId_tipoDocumento(long dettPraticaId, - String tipoDocumento) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_DETTPRATICAID_TIPODOCUMENTO; - - Object[] finderArgs = new Object[] { dettPraticaId, tipoDocumento }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOAVVISO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICAID_TIPODOCUMENTO_DETTPRATICAID_2); - - boolean bindTipoDocumento = false; - - if (tipoDocumento == null) { - query.append(_FINDER_COLUMN_DETTPRATICAID_TIPODOCUMENTO_TIPODOCUMENTO_1); - } - else if (tipoDocumento.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICAID_TIPODOCUMENTO_TIPODOCUMENTO_3); - } - else { - bindTipoDocumento = true; - - query.append(_FINDER_COLUMN_DETTPRATICAID_TIPODOCUMENTO_TIPODOCUMENTO_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindTipoDocumento) { - qPos.add(tipoDocumento); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_DETTPRATICAID_TIPODOCUMENTO_DETTPRATICAID_2 = - "boAvviso.dettPraticaId = ? AND "; - private static final String _FINDER_COLUMN_DETTPRATICAID_TIPODOCUMENTO_TIPODOCUMENTO_1 = - "boAvviso.tipoDocumento IS NULL"; - private static final String _FINDER_COLUMN_DETTPRATICAID_TIPODOCUMENTO_TIPODOCUMENTO_2 = - "boAvviso.tipoDocumento = ?"; - private static final String _FINDER_COLUMN_DETTPRATICAID_TIPODOCUMENTO_TIPODOCUMENTO_3 = - "(boAvviso.tipoDocumento IS NULL OR boAvviso.tipoDocumento = '')"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICAIDS_TIPODOCUMENTO = - new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, BoAvvisoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findBydettPraticaIds_tipoDocumento", - new String[] { - Long.class.getName(), String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICAIDS_TIPODOCUMENTO = - new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, BoAvvisoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findBydettPraticaIds_tipoDocumento", - new String[] { Long.class.getName(), String.class.getName() }, - BoAvvisoModelImpl.DETTPRATICAID_COLUMN_BITMASK | - BoAvvisoModelImpl.TIPODOCUMENTO_COLUMN_BITMASK | - BoAvvisoModelImpl.DTAVVISO_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_DETTPRATICAIDS_TIPODOCUMENTO = - new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countBydettPraticaIds_tipoDocumento", - new String[] { Long.class.getName(), String.class.getName() }); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_DETTPRATICAIDS_TIPODOCUMENTO = - new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "countBydettPraticaIds_tipoDocumento", - new String[] { Long.class.getName(), String.class.getName() }); - - /** - * Returns all the bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @return the matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findBydettPraticaIds_tipoDocumento( - long dettPraticaId, String tipoDocumento) throws SystemException { - return findBydettPraticaIds_tipoDocumento(dettPraticaId, tipoDocumento, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findBydettPraticaIds_tipoDocumento( - long dettPraticaId, String tipoDocumento, int start, int end) - throws SystemException { - return findBydettPraticaIds_tipoDocumento(dettPraticaId, tipoDocumento, - start, end, null); - } - - /** - * Returns an ordered range of all the bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findBydettPraticaIds_tipoDocumento( - long dettPraticaId, String tipoDocumento, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICAIDS_TIPODOCUMENTO; - finderArgs = new Object[] { dettPraticaId, tipoDocumento }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICAIDS_TIPODOCUMENTO; - finderArgs = new Object[] { - dettPraticaId, tipoDocumento, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoAvviso boAvviso : list) { - if ((dettPraticaId != boAvviso.getDettPraticaId()) || - !Validator.equals(tipoDocumento, - boAvviso.getTipoDocumento())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_BOAVVISO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_DETTPRATICAID_2); - - boolean bindTipoDocumento = false; - - if (tipoDocumento == null) { - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_1); - } - else if (tipoDocumento.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_3); - } - else { - bindTipoDocumento = true; - - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoAvvisoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindTipoDocumento) { - qPos.add(tipoDocumento); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso findBydettPraticaIds_tipoDocumento_First( - long dettPraticaId, String tipoDocumento, - OrderByComparator orderByComparator) - throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = fetchBydettPraticaIds_tipoDocumento_First(dettPraticaId, - tipoDocumento, orderByComparator); - - if (boAvviso != null) { - return boAvviso; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(", tipoDocumento="); - msg.append(tipoDocumento); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoAvvisoException(msg.toString()); - } - - /** - * Returns the first bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso fetchBydettPraticaIds_tipoDocumento_First( - long dettPraticaId, String tipoDocumento, - OrderByComparator orderByComparator) throws SystemException { - List list = findBydettPraticaIds_tipoDocumento(dettPraticaId, - tipoDocumento, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso findBydettPraticaIds_tipoDocumento_Last( - long dettPraticaId, String tipoDocumento, - OrderByComparator orderByComparator) - throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = fetchBydettPraticaIds_tipoDocumento_Last(dettPraticaId, - tipoDocumento, orderByComparator); - - if (boAvviso != null) { - return boAvviso; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(", tipoDocumento="); - msg.append(tipoDocumento); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoAvvisoException(msg.toString()); - } - - /** - * Returns the last bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso fetchBydettPraticaIds_tipoDocumento_Last( - long dettPraticaId, String tipoDocumento, - OrderByComparator orderByComparator) throws SystemException { - int count = countBydettPraticaIds_tipoDocumento(dettPraticaId, - tipoDocumento); - - if (count == 0) { - return null; - } - - List list = findBydettPraticaIds_tipoDocumento(dettPraticaId, - tipoDocumento, count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo avvisos before and after the current bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param avvisoId the primary key of the current bo avviso - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso[] findBydettPraticaIds_tipoDocumento_PrevAndNext( - long avvisoId, long dettPraticaId, String tipoDocumento, - OrderByComparator orderByComparator) - throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = findByPrimaryKey(avvisoId); - - Session session = null; - - try { - session = openSession(); - - BoAvviso[] array = new BoAvvisoImpl[3]; - - array[0] = getBydettPraticaIds_tipoDocumento_PrevAndNext(session, - boAvviso, dettPraticaId, tipoDocumento, orderByComparator, - true); - - array[1] = boAvviso; - - array[2] = getBydettPraticaIds_tipoDocumento_PrevAndNext(session, - boAvviso, dettPraticaId, tipoDocumento, orderByComparator, - false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoAvviso getBydettPraticaIds_tipoDocumento_PrevAndNext( - Session session, BoAvviso boAvviso, long dettPraticaId, - String tipoDocumento, OrderByComparator orderByComparator, - boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOAVVISO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_DETTPRATICAID_2); - - boolean bindTipoDocumento = false; - - if (tipoDocumento == null) { - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_1); - } - else if (tipoDocumento.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_3); - } - else { - bindTipoDocumento = true; - - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoAvvisoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindTipoDocumento) { - qPos.add(tipoDocumento); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boAvviso); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Returns all the bo avvisos where dettPraticaId = any ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaIds the dett pratica IDs - * @param tipoDocumento the tipo documento - * @return the matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findBydettPraticaIds_tipoDocumento( - long[] dettPraticaIds, String tipoDocumento) throws SystemException { - return findBydettPraticaIds_tipoDocumento(dettPraticaIds, - tipoDocumento, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo avvisos where dettPraticaId = any ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaIds the dett pratica IDs - * @param tipoDocumento the tipo documento - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findBydettPraticaIds_tipoDocumento( - long[] dettPraticaIds, String tipoDocumento, int start, int end) - throws SystemException { - return findBydettPraticaIds_tipoDocumento(dettPraticaIds, - tipoDocumento, start, end, null); - } - - /** - * Returns an ordered range of all the bo avvisos where dettPraticaId = any ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaIds the dett pratica IDs - * @param tipoDocumento the tipo documento - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findBydettPraticaIds_tipoDocumento( - long[] dettPraticaIds, String tipoDocumento, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - if ((dettPraticaIds != null) && (dettPraticaIds.length == 1)) { - return findBydettPraticaIds_tipoDocumento(dettPraticaIds[0], - tipoDocumento, start, end, orderByComparator); - } - - boolean pagination = true; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderArgs = new Object[] { - StringUtil.merge(dettPraticaIds), tipoDocumento - }; - } - else { - finderArgs = new Object[] { - StringUtil.merge(dettPraticaIds), tipoDocumento, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICAIDS_TIPODOCUMENTO, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoAvviso boAvviso : list) { - if (!ArrayUtil.contains(dettPraticaIds, - boAvviso.getDettPraticaId()) || - !Validator.equals(tipoDocumento, - boAvviso.getTipoDocumento())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = new StringBundler(); - - query.append(_SQL_SELECT_BOAVVISO_WHERE); - - boolean conjunctionable = false; - - if ((dettPraticaIds == null) || (dettPraticaIds.length > 0)) { - if (conjunctionable) { - query.append(WHERE_AND); - } - - query.append(StringPool.OPEN_PARENTHESIS); - - for (int i = 0; i < dettPraticaIds.length; i++) { - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_DETTPRATICAID_5); - - if ((i + 1) < dettPraticaIds.length) { - query.append(WHERE_OR); - } - } - - query.append(StringPool.CLOSE_PARENTHESIS); - - conjunctionable = true; - } - - if (conjunctionable) { - query.append(WHERE_AND); - } - - boolean bindTipoDocumento = false; - - if (tipoDocumento == null) { - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_4); - } - else if (tipoDocumento.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_6); - } - else { - bindTipoDocumento = true; - - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_5); - } - - conjunctionable = true; - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoAvvisoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (dettPraticaIds != null) { - qPos.add(dettPraticaIds); - } - - if (bindTipoDocumento) { - qPos.add(tipoDocumento); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICAIDS_TIPODOCUMENTO, - finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICAIDS_TIPODOCUMENTO, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the bo avvisos where dettPraticaId = ? and tipoDocumento = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @throws SystemException if a system exception occurred - */ - @Override - public void removeBydettPraticaIds_tipoDocumento(long dettPraticaId, - String tipoDocumento) throws SystemException { - for (BoAvviso boAvviso : findBydettPraticaIds_tipoDocumento( - dettPraticaId, tipoDocumento, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(boAvviso); - } - } - - /** - * Returns the number of bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public int countBydettPraticaIds_tipoDocumento(long dettPraticaId, - String tipoDocumento) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_DETTPRATICAIDS_TIPODOCUMENTO; - - Object[] finderArgs = new Object[] { dettPraticaId, tipoDocumento }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOAVVISO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_DETTPRATICAID_2); - - boolean bindTipoDocumento = false; - - if (tipoDocumento == null) { - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_1); - } - else if (tipoDocumento.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_3); - } - else { - bindTipoDocumento = true; - - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindTipoDocumento) { - qPos.add(tipoDocumento); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - /** - * Returns the number of bo avvisos where dettPraticaId = any ? and tipoDocumento = ?. - * - * @param dettPraticaIds the dett pratica IDs - * @param tipoDocumento the tipo documento - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public int countBydettPraticaIds_tipoDocumento(long[] dettPraticaIds, - String tipoDocumento) throws SystemException { - Object[] finderArgs = new Object[] { - StringUtil.merge(dettPraticaIds), tipoDocumento - }; - - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_WITH_PAGINATION_COUNT_BY_DETTPRATICAIDS_TIPODOCUMENTO, - finderArgs, this); - - if (count == null) { - StringBundler query = new StringBundler(); - - query.append(_SQL_COUNT_BOAVVISO_WHERE); - - boolean conjunctionable = false; - - if ((dettPraticaIds == null) || (dettPraticaIds.length > 0)) { - if (conjunctionable) { - query.append(WHERE_AND); - } - - query.append(StringPool.OPEN_PARENTHESIS); - - for (int i = 0; i < dettPraticaIds.length; i++) { - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_DETTPRATICAID_5); - - if ((i + 1) < dettPraticaIds.length) { - query.append(WHERE_OR); - } - } - - query.append(StringPool.CLOSE_PARENTHESIS); - - conjunctionable = true; - } - - if (conjunctionable) { - query.append(WHERE_AND); - } - - boolean bindTipoDocumento = false; - - if (tipoDocumento == null) { - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_4); - } - else if (tipoDocumento.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_6); - } - else { - bindTipoDocumento = true; - - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_5); - } - - conjunctionable = true; - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (dettPraticaIds != null) { - qPos.add(dettPraticaIds); - } - - if (bindTipoDocumento) { - qPos.add(tipoDocumento); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_WITH_PAGINATION_COUNT_BY_DETTPRATICAIDS_TIPODOCUMENTO, - finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_WITH_PAGINATION_COUNT_BY_DETTPRATICAIDS_TIPODOCUMENTO, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_DETTPRATICAID_2 = - "boAvviso.dettPraticaId = ? AND "; - private static final String _FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_DETTPRATICAID_5 = - "(" + - removeConjunction(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_DETTPRATICAID_2) + - ")"; - private static final String _FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_1 = - "boAvviso.tipoDocumento IS NULL"; - private static final String _FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_2 = - "boAvviso.tipoDocumento = ?"; - private static final String _FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_3 = - "(boAvviso.tipoDocumento IS NULL OR boAvviso.tipoDocumento = '')"; - private static final String _FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_4 = - "(" + - removeConjunction(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_1) + - ")"; - private static final String _FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_5 = - "(" + - removeConjunction(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_2) + - ")"; - private static final String _FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_6 = - "(" + - removeConjunction(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_3) + - ")"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICA = - new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, BoAvvisoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByDettPratica", - new String[] { - Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA = - new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, BoAvvisoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByDettPratica", - new String[] { Long.class.getName() }, - BoAvvisoModelImpl.DETTPRATICAID_COLUMN_BITMASK | - BoAvvisoModelImpl.DTAVVISO_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_DETTPRATICA = new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByDettPratica", - new String[] { Long.class.getName() }); - - /** - * Returns all the bo avvisos where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica(long dettPraticaId) - throws SystemException { - return findByDettPratica(dettPraticaId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo avvisos where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica(long dettPraticaId, int start, - int end) throws SystemException { - return findByDettPratica(dettPraticaId, start, end, null); - } - - /** - * Returns an ordered range of all the bo avvisos where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica(long dettPraticaId, int start, - int end, OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA; - finderArgs = new Object[] { dettPraticaId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICA; - finderArgs = new Object[] { - dettPraticaId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoAvviso boAvviso : list) { - if ((dettPraticaId != boAvviso.getDettPraticaId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOAVVISO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_DETTPRATICAID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoAvvisoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo avviso in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso findByDettPratica_First(long dettPraticaId, - OrderByComparator orderByComparator) - throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = fetchByDettPratica_First(dettPraticaId, - orderByComparator); - - if (boAvviso != null) { - return boAvviso; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoAvvisoException(msg.toString()); - } - - /** - * Returns the first bo avviso in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso fetchByDettPratica_First(long dettPraticaId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByDettPratica(dettPraticaId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo avviso in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso findByDettPratica_Last(long dettPraticaId, - OrderByComparator orderByComparator) - throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = fetchByDettPratica_Last(dettPraticaId, - orderByComparator); - - if (boAvviso != null) { - return boAvviso; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoAvvisoException(msg.toString()); - } - - /** - * Returns the last bo avviso in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso fetchByDettPratica_Last(long dettPraticaId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByDettPratica(dettPraticaId); - - if (count == 0) { - return null; - } - - List list = findByDettPratica(dettPraticaId, count - 1, - count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo avvisos before and after the current bo avviso in the ordered set where dettPraticaId = ?. - * - * @param avvisoId the primary key of the current bo avviso - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso[] findByDettPratica_PrevAndNext(long avvisoId, - long dettPraticaId, OrderByComparator orderByComparator) - throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = findByPrimaryKey(avvisoId); - - Session session = null; - - try { - session = openSession(); - - BoAvviso[] array = new BoAvvisoImpl[3]; - - array[0] = getByDettPratica_PrevAndNext(session, boAvviso, - dettPraticaId, orderByComparator, true); - - array[1] = boAvviso; - - array[2] = getByDettPratica_PrevAndNext(session, boAvviso, - dettPraticaId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoAvviso getByDettPratica_PrevAndNext(Session session, - BoAvviso boAvviso, long dettPraticaId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOAVVISO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_DETTPRATICAID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoAvvisoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boAvviso); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo avvisos where dettPraticaId = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByDettPratica(long dettPraticaId) - throws SystemException { - for (BoAvviso boAvviso : findByDettPratica(dettPraticaId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boAvviso); - } - } - - /** - * Returns the number of bo avvisos where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByDettPratica(long dettPraticaId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_DETTPRATICA; - - Object[] finderArgs = new Object[] { dettPraticaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BOAVVISO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_DETTPRATICAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_DETTPRATICA_DETTPRATICAID_2 = "boAvviso.dettPraticaId = ?"; - public static final FinderPath FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO = new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, BoAvvisoImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByC_G_Protocollo", - new String[] { - Long.class.getName(), Long.class.getName(), - String.class.getName() - }, - BoAvvisoModelImpl.COMPANYID_COLUMN_BITMASK | - BoAvvisoModelImpl.GROUPID_COLUMN_BITMASK | - BoAvvisoModelImpl.PROTOCOLLO_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_C_G_PROTOCOLLO = new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByC_G_Protocollo", - new String[] { - Long.class.getName(), Long.class.getName(), - String.class.getName() - }); - - /** - * Returns the bo avviso where companyId = ? and groupId = ? and protocollo = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoAvvisoException} if it could not be found. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the matching bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso findByC_G_Protocollo(long companyId, long groupId, - String protocollo) throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = fetchByC_G_Protocollo(companyId, groupId, protocollo); - - if (boAvviso == null) { - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(", protocollo="); - msg.append(protocollo); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoAvvisoException(msg.toString()); - } - - return boAvviso; - } - - /** - * Returns the bo avviso where companyId = ? and groupId = ? and protocollo = ? or returns null if it could not be found. Uses the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso fetchByC_G_Protocollo(long companyId, long groupId, - String protocollo) throws SystemException { - return fetchByC_G_Protocollo(companyId, groupId, protocollo, true); - } - - /** - * Returns the bo avviso where companyId = ? and groupId = ? and protocollo = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso fetchByC_G_Protocollo(long companyId, long groupId, - String protocollo, boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { companyId, groupId, protocollo }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, - finderArgs, this); - } - - if (result instanceof BoAvviso) { - BoAvviso boAvviso = (BoAvviso)result; - - if ((companyId != boAvviso.getCompanyId()) || - (groupId != boAvviso.getGroupId()) || - !Validator.equals(protocollo, boAvviso.getProtocollo())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(5); - - query.append(_SQL_SELECT_BOAVVISO_WHERE); - - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_GROUPID_2); - - boolean bindProtocollo = false; - - if (protocollo == null) { - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_1); - } - else if (protocollo.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_3); - } - else { - bindProtocollo = true; - - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - if (bindProtocollo) { - qPos.add(protocollo); - } - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, - finderArgs, list); - } - else { - if ((list.size() > 1) && _log.isWarnEnabled()) { - _log.warn( - "BoAvvisoPersistenceImpl.fetchByC_G_Protocollo(long, long, String, boolean) with parameters (" + - StringUtil.merge(finderArgs) + - ") yields a result set with more than 1 result. This violates the logical unique restriction. There is no order guarantee on which result is returned by this finder."); - } - - BoAvviso boAvviso = list.get(0); - - result = boAvviso; - - cacheResult(boAvviso); - - if ((boAvviso.getCompanyId() != companyId) || - (boAvviso.getGroupId() != groupId) || - (boAvviso.getProtocollo() == null) || - !boAvviso.getProtocollo().equals(protocollo)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, - finderArgs, boAvviso); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoAvviso)result; - } - } - - /** - * Removes the bo avviso where companyId = ? and groupId = ? and protocollo = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the bo avviso that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso removeByC_G_Protocollo(long companyId, long groupId, - String protocollo) throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = findByC_G_Protocollo(companyId, groupId, protocollo); - - return remove(boAvviso); - } - - /** - * Returns the number of bo avvisos where companyId = ? and groupId = ? and protocollo = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_G_Protocollo(long companyId, long groupId, - String protocollo) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_C_G_PROTOCOLLO; - - Object[] finderArgs = new Object[] { companyId, groupId, protocollo }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_COUNT_BOAVVISO_WHERE); - - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_GROUPID_2); - - boolean bindProtocollo = false; - - if (protocollo == null) { - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_1); - } - else if (protocollo.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_3); - } - else { - bindProtocollo = true; - - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - if (bindProtocollo) { - qPos.add(protocollo); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_C_G_PROTOCOLLO_COMPANYID_2 = "boAvviso.companyId = ? AND "; - private static final String _FINDER_COLUMN_C_G_PROTOCOLLO_GROUPID_2 = "boAvviso.groupId = ? AND "; - private static final String _FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_1 = "boAvviso.protocollo IS NULL"; - private static final String _FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_2 = "boAvviso.protocollo = ?"; - private static final String _FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_3 = "(boAvviso.protocollo IS NULL OR boAvviso.protocollo = '')"; - - public BoAvvisoPersistenceImpl() { - setModelClass(BoAvviso.class); - } - - /** - * Caches the bo avviso in the entity cache if it is enabled. - * - * @param boAvviso the bo avviso - */ - @Override - public void cacheResult(BoAvviso boAvviso) { - EntityCacheUtil.putResult(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoImpl.class, boAvviso.getPrimaryKey(), boAvviso); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - new Object[] { boAvviso.getUuid(), boAvviso.getGroupId() }, boAvviso); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, - new Object[] { - boAvviso.getCompanyId(), boAvviso.getGroupId(), - boAvviso.getProtocollo() - }, boAvviso); - - boAvviso.resetOriginalValues(); - } - - /** - * Caches the bo avvisos in the entity cache if it is enabled. - * - * @param boAvvisos the bo avvisos - */ - @Override - public void cacheResult(List boAvvisos) { - for (BoAvviso boAvviso : boAvvisos) { - if (EntityCacheUtil.getResult( - BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoImpl.class, boAvviso.getPrimaryKey()) == null) { - cacheResult(boAvviso); - } - else { - boAvviso.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all bo avvisos. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(BoAvvisoImpl.class.getName()); - } - - EntityCacheUtil.clearCache(BoAvvisoImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the bo avviso. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(BoAvviso boAvviso) { - EntityCacheUtil.removeResult(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoImpl.class, boAvviso.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(boAvviso); - } - - @Override - public void clearCache(List boAvvisos) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (BoAvviso boAvviso : boAvvisos) { - EntityCacheUtil.removeResult(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoImpl.class, boAvviso.getPrimaryKey()); - - clearUniqueFindersCache(boAvviso); - } - } - - protected void cacheUniqueFindersCache(BoAvviso boAvviso) { - if (boAvviso.isNew()) { - Object[] args = new Object[] { - boAvviso.getUuid(), boAvviso.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - boAvviso); - - args = new Object[] { - boAvviso.getCompanyId(), boAvviso.getGroupId(), - boAvviso.getProtocollo() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_C_G_PROTOCOLLO, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, - args, boAvviso); - } - else { - BoAvvisoModelImpl boAvvisoModelImpl = (BoAvvisoModelImpl)boAvviso; - - if ((boAvvisoModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boAvviso.getUuid(), boAvviso.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - boAvviso); - } - - if ((boAvvisoModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boAvviso.getCompanyId(), boAvviso.getGroupId(), - boAvviso.getProtocollo() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_C_G_PROTOCOLLO, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, - args, boAvviso); - } - } - } - - protected void clearUniqueFindersCache(BoAvviso boAvviso) { - BoAvvisoModelImpl boAvvisoModelImpl = (BoAvvisoModelImpl)boAvviso; - - Object[] args = new Object[] { boAvviso.getUuid(), boAvviso.getGroupId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - - if ((boAvvisoModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - args = new Object[] { - boAvvisoModelImpl.getOriginalUuid(), - boAvvisoModelImpl.getOriginalGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - } - - args = new Object[] { - boAvviso.getCompanyId(), boAvviso.getGroupId(), - boAvviso.getProtocollo() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_G_PROTOCOLLO, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, args); - - if ((boAvvisoModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO.getColumnBitmask()) != 0) { - args = new Object[] { - boAvvisoModelImpl.getOriginalCompanyId(), - boAvvisoModelImpl.getOriginalGroupId(), - boAvvisoModelImpl.getOriginalProtocollo() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_G_PROTOCOLLO, - args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, - args); - } - } - - /** - * Creates a new bo avviso with the primary key. Does not add the bo avviso to the database. - * - * @param avvisoId the primary key for the new bo avviso - * @return the new bo avviso - */ - @Override - public BoAvviso create(long avvisoId) { - BoAvviso boAvviso = new BoAvvisoImpl(); - - boAvviso.setNew(true); - boAvviso.setPrimaryKey(avvisoId); - - String uuid = PortalUUIDUtil.generate(); - - boAvviso.setUuid(uuid); - - return boAvviso; - } - - /** - * Removes the bo avviso with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param avvisoId the primary key of the bo avviso - * @return the bo avviso that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso remove(long avvisoId) - throws NoSuchBoAvvisoException, SystemException { - return remove((Serializable)avvisoId); - } - - /** - * Removes the bo avviso with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the bo avviso - * @return the bo avviso that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso remove(Serializable primaryKey) - throws NoSuchBoAvvisoException, SystemException { - Session session = null; - - try { - session = openSession(); - - BoAvviso boAvviso = (BoAvviso)session.get(BoAvvisoImpl.class, - primaryKey); - - if (boAvviso == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoAvvisoException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(boAvviso); - } - catch (NoSuchBoAvvisoException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected BoAvviso removeImpl(BoAvviso boAvviso) throws SystemException { - boAvviso = toUnwrappedModel(boAvviso); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(boAvviso)) { - boAvviso = (BoAvviso)session.get(BoAvvisoImpl.class, - boAvviso.getPrimaryKeyObj()); - } - - if (boAvviso != null) { - session.delete(boAvviso); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (boAvviso != null) { - clearCache(boAvviso); - } - - return boAvviso; - } - - @Override - public BoAvviso updateImpl( - it.tref.liferay.portos.importazione.model.BoAvviso boAvviso) - throws SystemException { - boAvviso = toUnwrappedModel(boAvviso); - - boolean isNew = boAvviso.isNew(); - - BoAvvisoModelImpl boAvvisoModelImpl = (BoAvvisoModelImpl)boAvviso; - - if (Validator.isNull(boAvviso.getUuid())) { - String uuid = PortalUUIDUtil.generate(); - - boAvviso.setUuid(uuid); - } - - Session session = null; - - try { - session = openSession(); - - if (boAvviso.isNew()) { - session.save(boAvviso); - - boAvviso.setNew(false); - } - else { - session.merge(boAvviso); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !BoAvvisoModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((boAvvisoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { boAvvisoModelImpl.getOriginalUuid() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - - args = new Object[] { boAvvisoModelImpl.getUuid() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - } - - if ((boAvvisoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boAvvisoModelImpl.getOriginalUuid(), - boAvvisoModelImpl.getOriginalCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - - args = new Object[] { - boAvvisoModelImpl.getUuid(), - boAvvisoModelImpl.getCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - } - - if ((boAvvisoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICAID_TIPODOCUMENTO.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boAvvisoModelImpl.getOriginalDettPraticaId(), - boAvvisoModelImpl.getOriginalTipoDocumento() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICAID_TIPODOCUMENTO, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICAID_TIPODOCUMENTO, - args); - - args = new Object[] { - boAvvisoModelImpl.getDettPraticaId(), - boAvvisoModelImpl.getTipoDocumento() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICAID_TIPODOCUMENTO, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICAID_TIPODOCUMENTO, - args); - } - - if ((boAvvisoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICAIDS_TIPODOCUMENTO.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boAvvisoModelImpl.getOriginalDettPraticaId(), - boAvvisoModelImpl.getOriginalTipoDocumento() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICAIDS_TIPODOCUMENTO, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICAIDS_TIPODOCUMENTO, - args); - - args = new Object[] { - boAvvisoModelImpl.getDettPraticaId(), - boAvvisoModelImpl.getTipoDocumento() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICAIDS_TIPODOCUMENTO, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICAIDS_TIPODOCUMENTO, - args); - } - - if ((boAvvisoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boAvvisoModelImpl.getOriginalDettPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA, - args); - - args = new Object[] { boAvvisoModelImpl.getDettPraticaId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA, - args); - } - } - - EntityCacheUtil.putResult(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoImpl.class, boAvviso.getPrimaryKey(), boAvviso); - - clearUniqueFindersCache(boAvviso); - cacheUniqueFindersCache(boAvviso); - - return boAvviso; - } - - protected BoAvviso toUnwrappedModel(BoAvviso boAvviso) { - if (boAvviso instanceof BoAvvisoImpl) { - return boAvviso; - } - - BoAvvisoImpl boAvvisoImpl = new BoAvvisoImpl(); - - boAvvisoImpl.setNew(boAvviso.isNew()); - boAvvisoImpl.setPrimaryKey(boAvviso.getPrimaryKey()); - - boAvvisoImpl.setUuid(boAvviso.getUuid()); - boAvvisoImpl.setAvvisoId(boAvviso.getAvvisoId()); - boAvvisoImpl.setCompanyId(boAvviso.getCompanyId()); - boAvvisoImpl.setUserId(boAvviso.getUserId()); - boAvvisoImpl.setUserName(boAvviso.getUserName()); - boAvvisoImpl.setCreateDate(boAvviso.getCreateDate()); - boAvvisoImpl.setModifiedDate(boAvviso.getModifiedDate()); - boAvvisoImpl.setGroupId(boAvviso.getGroupId()); - boAvvisoImpl.setDescLong(boAvviso.getDescLong()); - boAvvisoImpl.setDtAvviso(boAvviso.getDtAvviso()); - boAvvisoImpl.setTipoAvviso(boAvviso.getTipoAvviso()); - boAvvisoImpl.setTipoDocumento(boAvviso.getTipoDocumento()); - boAvvisoImpl.setFileEntryIdTemplate(boAvviso.getFileEntryIdTemplate()); - boAvvisoImpl.setFileEntryIdBase(boAvviso.getFileEntryIdBase()); - boAvvisoImpl.setFileEntryIdFirma(boAvviso.getFileEntryIdFirma()); - boAvvisoImpl.setFileEntryIdInvio(boAvviso.getFileEntryIdInvio()); - boAvvisoImpl.setDtCreateFileEntryInvio(boAvviso.getDtCreateFileEntryInvio()); - boAvvisoImpl.setUserIdPrimaFirma(boAvviso.getUserIdPrimaFirma()); - boAvvisoImpl.setUserIdSecondaFirma(boAvviso.getUserIdSecondaFirma()); - boAvvisoImpl.setFirmaInCorso(boAvviso.isFirmaInCorso()); - boAvvisoImpl.setTransactionIdPrimaFirma(boAvviso.getTransactionIdPrimaFirma()); - boAvvisoImpl.setTransactionIdSecondaFirma(boAvviso.getTransactionIdSecondaFirma()); - boAvvisoImpl.setInviato(boAvviso.getInviato()); - boAvvisoImpl.setDtInvio(boAvviso.getDtInvio()); - boAvvisoImpl.setAnnullato(boAvviso.isAnnullato()); - boAvvisoImpl.setErrore(boAvviso.isErrore()); - boAvvisoImpl.setSignal(boAvviso.isSignal()); - boAvvisoImpl.setDtInvioSignal(boAvviso.getDtInvioSignal()); - boAvvisoImpl.setTempistica(boAvviso.isTempistica()); - boAvvisoImpl.setDtTempistica(boAvviso.getDtTempistica()); - boAvvisoImpl.setDaxId(boAvviso.getDaxId()); - boAvvisoImpl.setDtInvioDax(boAvviso.getDtInvioDax()); - boAvvisoImpl.setErroreDax(boAvviso.getErroreDax()); - boAvvisoImpl.setDtErroreDax(boAvviso.getDtErroreDax()); - boAvvisoImpl.setJsonParameters(boAvviso.getJsonParameters()); - boAvvisoImpl.setProtocollo(boAvviso.getProtocollo()); - boAvvisoImpl.setInviatoTecnico(boAvviso.isInviatoTecnico()); - boAvvisoImpl.setDettPraticaId(boAvviso.getDettPraticaId()); - - return boAvvisoImpl; - } - - /** - * Returns the bo avviso with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the bo avviso - * @return the bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso findByPrimaryKey(Serializable primaryKey) - throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = fetchByPrimaryKey(primaryKey); - - if (boAvviso == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoAvvisoException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return boAvviso; - } - - /** - * Returns the bo avviso with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoAvvisoException} if it could not be found. - * - * @param avvisoId the primary key of the bo avviso - * @return the bo avviso - * @throws it.tref.liferay.portos.importazione.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso findByPrimaryKey(long avvisoId) - throws NoSuchBoAvvisoException, SystemException { - return findByPrimaryKey((Serializable)avvisoId); - } - - /** - * Returns the bo avviso with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the bo avviso - * @return the bo avviso, or null if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - BoAvviso boAvviso = (BoAvviso)EntityCacheUtil.getResult(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoImpl.class, primaryKey); - - if (boAvviso == _nullBoAvviso) { - return null; - } - - if (boAvviso == null) { - Session session = null; - - try { - session = openSession(); - - boAvviso = (BoAvviso)session.get(BoAvvisoImpl.class, primaryKey); - - if (boAvviso != null) { - cacheResult(boAvviso); - } - else { - EntityCacheUtil.putResult(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoImpl.class, primaryKey, _nullBoAvviso); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return boAvviso; - } - - /** - * Returns the bo avviso with the primary key or returns null if it could not be found. - * - * @param avvisoId the primary key of the bo avviso - * @return the bo avviso, or null if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso fetchByPrimaryKey(long avvisoId) throws SystemException { - return fetchByPrimaryKey((Serializable)avvisoId); - } - - /** - * Returns all the bo avvisos. - * - * @return the bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo avvisos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the bo avvisos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_BOAVVISO); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_BOAVVISO; - - if (pagination) { - sql = sql.concat(BoAvvisoModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the bo avvisos from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (BoAvviso boAvviso : findAll()) { - remove(boAvviso); - } - } - - /** - * Returns the number of bo avvisos. - * - * @return the number of bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_BOAVVISO); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - @Override - protected Set getBadColumnNames() { - return _badColumnNames; - } - - /** - * Initializes the bo avviso persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.importazione.model.BoAvviso"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(BoAvvisoImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_BOAVVISO = "SELECT boAvviso FROM BoAvviso boAvviso"; - private static final String _SQL_SELECT_BOAVVISO_WHERE = "SELECT boAvviso FROM BoAvviso boAvviso WHERE "; - private static final String _SQL_COUNT_BOAVVISO = "SELECT COUNT(boAvviso) FROM BoAvviso boAvviso"; - private static final String _SQL_COUNT_BOAVVISO_WHERE = "SELECT COUNT(boAvviso) FROM BoAvviso boAvviso WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "boAvviso."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No BoAvviso exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No BoAvviso exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(BoAvvisoPersistenceImpl.class); - private static Set _badColumnNames = SetUtil.fromArray(new String[] { - "uuid" - }); - private static BoAvviso _nullBoAvviso = new BoAvvisoImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullBoAvvisoCacheModel; - } - }; - - private static CacheModel _nullBoAvvisoCacheModel = new CacheModel() { - @Override - public BoAvviso toEntityModel() { - return _nullBoAvviso; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoComunePersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoComunePersistenceImpl.java deleted file mode 100644 index f93e0858..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoComunePersistenceImpl.java +++ /dev/null @@ -1,1237 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.importazione.NoSuchBoComuneException; -import it.tref.liferay.portos.importazione.model.BoComune; -import it.tref.liferay.portos.importazione.model.impl.BoComuneImpl; -import it.tref.liferay.portos.importazione.model.impl.BoComuneModelImpl; -import it.tref.liferay.portos.importazione.service.persistence.BoComunePersistence; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -/** - * The persistence implementation for the bo comune service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoComunePersistence - * @see BoComuneUtil - * @generated - */ -public class BoComunePersistenceImpl extends BasePersistenceImpl - implements BoComunePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link BoComuneUtil} to access the bo comune persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = BoComuneImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(BoComuneModelImpl.ENTITY_CACHE_ENABLED, - BoComuneModelImpl.FINDER_CACHE_ENABLED, BoComuneImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(BoComuneModelImpl.ENTITY_CACHE_ENABLED, - BoComuneModelImpl.FINDER_CACHE_ENABLED, BoComuneImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(BoComuneModelImpl.ENTITY_CACHE_ENABLED, - BoComuneModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_FETCH_BY_CODISTAT = new FinderPath(BoComuneModelImpl.ENTITY_CACHE_ENABLED, - BoComuneModelImpl.FINDER_CACHE_ENABLED, BoComuneImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByCodIstat", - new String[] { String.class.getName() }, - BoComuneModelImpl.CODISTAT_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_CODISTAT = new FinderPath(BoComuneModelImpl.ENTITY_CACHE_ENABLED, - BoComuneModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByCodIstat", - new String[] { String.class.getName() }); - - /** - * Returns the bo comune where codIstat = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoComuneException} if it could not be found. - * - * @param codIstat the cod istat - * @return the matching bo comune - * @throws it.tref.liferay.portos.importazione.NoSuchBoComuneException if a matching bo comune could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoComune findByCodIstat(String codIstat) - throws NoSuchBoComuneException, SystemException { - BoComune boComune = fetchByCodIstat(codIstat); - - if (boComune == null) { - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("codIstat="); - msg.append(codIstat); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoComuneException(msg.toString()); - } - - return boComune; - } - - /** - * Returns the bo comune where codIstat = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codIstat the cod istat - * @return the matching bo comune, or null if a matching bo comune could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoComune fetchByCodIstat(String codIstat) throws SystemException { - return fetchByCodIstat(codIstat, true); - } - - /** - * Returns the bo comune where codIstat = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codIstat the cod istat - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo comune, or null if a matching bo comune could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoComune fetchByCodIstat(String codIstat, boolean retrieveFromCache) - throws SystemException { - Object[] finderArgs = new Object[] { codIstat }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_CODISTAT, - finderArgs, this); - } - - if (result instanceof BoComune) { - BoComune boComune = (BoComune)result; - - if (!Validator.equals(codIstat, boComune.getCodIstat())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_SELECT_BOCOMUNE_WHERE); - - boolean bindCodIstat = false; - - if (codIstat == null) { - query.append(_FINDER_COLUMN_CODISTAT_CODISTAT_1); - } - else if (codIstat.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_CODISTAT_CODISTAT_3); - } - else { - bindCodIstat = true; - - query.append(_FINDER_COLUMN_CODISTAT_CODISTAT_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindCodIstat) { - qPos.add(codIstat); - } - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODISTAT, - finderArgs, list); - } - else { - BoComune boComune = list.get(0); - - result = boComune; - - cacheResult(boComune); - - if ((boComune.getCodIstat() == null) || - !boComune.getCodIstat().equals(codIstat)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODISTAT, - finderArgs, boComune); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODISTAT, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoComune)result; - } - } - - /** - * Removes the bo comune where codIstat = ? from the database. - * - * @param codIstat the cod istat - * @return the bo comune that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoComune removeByCodIstat(String codIstat) - throws NoSuchBoComuneException, SystemException { - BoComune boComune = findByCodIstat(codIstat); - - return remove(boComune); - } - - /** - * Returns the number of bo comunes where codIstat = ?. - * - * @param codIstat the cod istat - * @return the number of matching bo comunes - * @throws SystemException if a system exception occurred - */ - @Override - public int countByCodIstat(String codIstat) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_CODISTAT; - - Object[] finderArgs = new Object[] { codIstat }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BOCOMUNE_WHERE); - - boolean bindCodIstat = false; - - if (codIstat == null) { - query.append(_FINDER_COLUMN_CODISTAT_CODISTAT_1); - } - else if (codIstat.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_CODISTAT_CODISTAT_3); - } - else { - bindCodIstat = true; - - query.append(_FINDER_COLUMN_CODISTAT_CODISTAT_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindCodIstat) { - qPos.add(codIstat); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_CODISTAT_CODISTAT_1 = "boComune.codIstat IS NULL"; - private static final String _FINDER_COLUMN_CODISTAT_CODISTAT_2 = "boComune.codIstat = ?"; - private static final String _FINDER_COLUMN_CODISTAT_CODISTAT_3 = "(boComune.codIstat IS NULL OR boComune.codIstat = '')"; - public static final FinderPath FINDER_PATH_FETCH_BY_CODCATASTALE = new FinderPath(BoComuneModelImpl.ENTITY_CACHE_ENABLED, - BoComuneModelImpl.FINDER_CACHE_ENABLED, BoComuneImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByCodCatastale", - new String[] { String.class.getName() }, - BoComuneModelImpl.CODCATASTALE_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_CODCATASTALE = new FinderPath(BoComuneModelImpl.ENTITY_CACHE_ENABLED, - BoComuneModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByCodCatastale", - new String[] { String.class.getName() }); - - /** - * Returns the bo comune where codCatastale = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoComuneException} if it could not be found. - * - * @param codCatastale the cod catastale - * @return the matching bo comune - * @throws it.tref.liferay.portos.importazione.NoSuchBoComuneException if a matching bo comune could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoComune findByCodCatastale(String codCatastale) - throws NoSuchBoComuneException, SystemException { - BoComune boComune = fetchByCodCatastale(codCatastale); - - if (boComune == null) { - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("codCatastale="); - msg.append(codCatastale); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoComuneException(msg.toString()); - } - - return boComune; - } - - /** - * Returns the bo comune where codCatastale = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codCatastale the cod catastale - * @return the matching bo comune, or null if a matching bo comune could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoComune fetchByCodCatastale(String codCatastale) - throws SystemException { - return fetchByCodCatastale(codCatastale, true); - } - - /** - * Returns the bo comune where codCatastale = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codCatastale the cod catastale - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo comune, or null if a matching bo comune could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoComune fetchByCodCatastale(String codCatastale, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { codCatastale }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_CODCATASTALE, - finderArgs, this); - } - - if (result instanceof BoComune) { - BoComune boComune = (BoComune)result; - - if (!Validator.equals(codCatastale, boComune.getCodCatastale())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_SELECT_BOCOMUNE_WHERE); - - boolean bindCodCatastale = false; - - if (codCatastale == null) { - query.append(_FINDER_COLUMN_CODCATASTALE_CODCATASTALE_1); - } - else if (codCatastale.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_CODCATASTALE_CODCATASTALE_3); - } - else { - bindCodCatastale = true; - - query.append(_FINDER_COLUMN_CODCATASTALE_CODCATASTALE_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindCodCatastale) { - qPos.add(codCatastale); - } - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODCATASTALE, - finderArgs, list); - } - else { - BoComune boComune = list.get(0); - - result = boComune; - - cacheResult(boComune); - - if ((boComune.getCodCatastale() == null) || - !boComune.getCodCatastale().equals(codCatastale)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODCATASTALE, - finderArgs, boComune); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODCATASTALE, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoComune)result; - } - } - - /** - * Removes the bo comune where codCatastale = ? from the database. - * - * @param codCatastale the cod catastale - * @return the bo comune that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoComune removeByCodCatastale(String codCatastale) - throws NoSuchBoComuneException, SystemException { - BoComune boComune = findByCodCatastale(codCatastale); - - return remove(boComune); - } - - /** - * Returns the number of bo comunes where codCatastale = ?. - * - * @param codCatastale the cod catastale - * @return the number of matching bo comunes - * @throws SystemException if a system exception occurred - */ - @Override - public int countByCodCatastale(String codCatastale) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_CODCATASTALE; - - Object[] finderArgs = new Object[] { codCatastale }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BOCOMUNE_WHERE); - - boolean bindCodCatastale = false; - - if (codCatastale == null) { - query.append(_FINDER_COLUMN_CODCATASTALE_CODCATASTALE_1); - } - else if (codCatastale.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_CODCATASTALE_CODCATASTALE_3); - } - else { - bindCodCatastale = true; - - query.append(_FINDER_COLUMN_CODCATASTALE_CODCATASTALE_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindCodCatastale) { - qPos.add(codCatastale); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_CODCATASTALE_CODCATASTALE_1 = "boComune.codCatastale IS NULL"; - private static final String _FINDER_COLUMN_CODCATASTALE_CODCATASTALE_2 = "boComune.codCatastale = ?"; - private static final String _FINDER_COLUMN_CODCATASTALE_CODCATASTALE_3 = "(boComune.codCatastale IS NULL OR boComune.codCatastale = '')"; - - public BoComunePersistenceImpl() { - setModelClass(BoComune.class); - } - - /** - * Caches the bo comune in the entity cache if it is enabled. - * - * @param boComune the bo comune - */ - @Override - public void cacheResult(BoComune boComune) { - EntityCacheUtil.putResult(BoComuneModelImpl.ENTITY_CACHE_ENABLED, - BoComuneImpl.class, boComune.getPrimaryKey(), boComune); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODISTAT, - new Object[] { boComune.getCodIstat() }, boComune); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODCATASTALE, - new Object[] { boComune.getCodCatastale() }, boComune); - - boComune.resetOriginalValues(); - } - - /** - * Caches the bo comunes in the entity cache if it is enabled. - * - * @param boComunes the bo comunes - */ - @Override - public void cacheResult(List boComunes) { - for (BoComune boComune : boComunes) { - if (EntityCacheUtil.getResult( - BoComuneModelImpl.ENTITY_CACHE_ENABLED, - BoComuneImpl.class, boComune.getPrimaryKey()) == null) { - cacheResult(boComune); - } - else { - boComune.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all bo comunes. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(BoComuneImpl.class.getName()); - } - - EntityCacheUtil.clearCache(BoComuneImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the bo comune. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(BoComune boComune) { - EntityCacheUtil.removeResult(BoComuneModelImpl.ENTITY_CACHE_ENABLED, - BoComuneImpl.class, boComune.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(boComune); - } - - @Override - public void clearCache(List boComunes) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (BoComune boComune : boComunes) { - EntityCacheUtil.removeResult(BoComuneModelImpl.ENTITY_CACHE_ENABLED, - BoComuneImpl.class, boComune.getPrimaryKey()); - - clearUniqueFindersCache(boComune); - } - } - - protected void cacheUniqueFindersCache(BoComune boComune) { - if (boComune.isNew()) { - Object[] args = new Object[] { boComune.getCodIstat() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_CODISTAT, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODISTAT, args, - boComune); - - args = new Object[] { boComune.getCodCatastale() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_CODCATASTALE, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODCATASTALE, args, - boComune); - } - else { - BoComuneModelImpl boComuneModelImpl = (BoComuneModelImpl)boComune; - - if ((boComuneModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_CODISTAT.getColumnBitmask()) != 0) { - Object[] args = new Object[] { boComune.getCodIstat() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_CODISTAT, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODISTAT, args, - boComune); - } - - if ((boComuneModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_CODCATASTALE.getColumnBitmask()) != 0) { - Object[] args = new Object[] { boComune.getCodCatastale() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_CODCATASTALE, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODCATASTALE, - args, boComune); - } - } - } - - protected void clearUniqueFindersCache(BoComune boComune) { - BoComuneModelImpl boComuneModelImpl = (BoComuneModelImpl)boComune; - - Object[] args = new Object[] { boComune.getCodIstat() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CODISTAT, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODISTAT, args); - - if ((boComuneModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_CODISTAT.getColumnBitmask()) != 0) { - args = new Object[] { boComuneModelImpl.getOriginalCodIstat() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CODISTAT, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODISTAT, args); - } - - args = new Object[] { boComune.getCodCatastale() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CODCATASTALE, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODCATASTALE, args); - - if ((boComuneModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_CODCATASTALE.getColumnBitmask()) != 0) { - args = new Object[] { boComuneModelImpl.getOriginalCodCatastale() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CODCATASTALE, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODCATASTALE, args); - } - } - - /** - * Creates a new bo comune with the primary key. Does not add the bo comune to the database. - * - * @param comuneId the primary key for the new bo comune - * @return the new bo comune - */ - @Override - public BoComune create(long comuneId) { - BoComune boComune = new BoComuneImpl(); - - boComune.setNew(true); - boComune.setPrimaryKey(comuneId); - - return boComune; - } - - /** - * Removes the bo comune with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param comuneId the primary key of the bo comune - * @return the bo comune that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoComuneException if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoComune remove(long comuneId) - throws NoSuchBoComuneException, SystemException { - return remove((Serializable)comuneId); - } - - /** - * Removes the bo comune with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the bo comune - * @return the bo comune that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoComuneException if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoComune remove(Serializable primaryKey) - throws NoSuchBoComuneException, SystemException { - Session session = null; - - try { - session = openSession(); - - BoComune boComune = (BoComune)session.get(BoComuneImpl.class, - primaryKey); - - if (boComune == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoComuneException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(boComune); - } - catch (NoSuchBoComuneException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected BoComune removeImpl(BoComune boComune) throws SystemException { - boComune = toUnwrappedModel(boComune); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(boComune)) { - boComune = (BoComune)session.get(BoComuneImpl.class, - boComune.getPrimaryKeyObj()); - } - - if (boComune != null) { - session.delete(boComune); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (boComune != null) { - clearCache(boComune); - } - - return boComune; - } - - @Override - public BoComune updateImpl( - it.tref.liferay.portos.importazione.model.BoComune boComune) - throws SystemException { - boComune = toUnwrappedModel(boComune); - - boolean isNew = boComune.isNew(); - - Session session = null; - - try { - session = openSession(); - - if (boComune.isNew()) { - session.save(boComune); - - boComune.setNew(false); - } - else { - session.merge(boComune); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !BoComuneModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - EntityCacheUtil.putResult(BoComuneModelImpl.ENTITY_CACHE_ENABLED, - BoComuneImpl.class, boComune.getPrimaryKey(), boComune); - - clearUniqueFindersCache(boComune); - cacheUniqueFindersCache(boComune); - - return boComune; - } - - protected BoComune toUnwrappedModel(BoComune boComune) { - if (boComune instanceof BoComuneImpl) { - return boComune; - } - - BoComuneImpl boComuneImpl = new BoComuneImpl(); - - boComuneImpl.setNew(boComune.isNew()); - boComuneImpl.setPrimaryKey(boComune.getPrimaryKey()); - - boComuneImpl.setComuneId(boComune.getComuneId()); - boComuneImpl.setCompanyId(boComune.getCompanyId()); - boComuneImpl.setUserId(boComune.getUserId()); - boComuneImpl.setUserName(boComune.getUserName()); - boComuneImpl.setCreateDate(boComune.getCreateDate()); - boComuneImpl.setModifiedDate(boComune.getModifiedDate()); - boComuneImpl.setProvinciaId(boComune.getProvinciaId()); - boComuneImpl.setCodIstat(boComune.getCodIstat()); - boComuneImpl.setCodCatastale(boComune.getCodCatastale()); - boComuneImpl.setDescLong(boComune.getDescLong()); - - return boComuneImpl; - } - - /** - * Returns the bo comune with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the bo comune - * @return the bo comune - * @throws it.tref.liferay.portos.importazione.NoSuchBoComuneException if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoComune findByPrimaryKey(Serializable primaryKey) - throws NoSuchBoComuneException, SystemException { - BoComune boComune = fetchByPrimaryKey(primaryKey); - - if (boComune == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoComuneException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return boComune; - } - - /** - * Returns the bo comune with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoComuneException} if it could not be found. - * - * @param comuneId the primary key of the bo comune - * @return the bo comune - * @throws it.tref.liferay.portos.importazione.NoSuchBoComuneException if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoComune findByPrimaryKey(long comuneId) - throws NoSuchBoComuneException, SystemException { - return findByPrimaryKey((Serializable)comuneId); - } - - /** - * Returns the bo comune with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the bo comune - * @return the bo comune, or null if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoComune fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - BoComune boComune = (BoComune)EntityCacheUtil.getResult(BoComuneModelImpl.ENTITY_CACHE_ENABLED, - BoComuneImpl.class, primaryKey); - - if (boComune == _nullBoComune) { - return null; - } - - if (boComune == null) { - Session session = null; - - try { - session = openSession(); - - boComune = (BoComune)session.get(BoComuneImpl.class, primaryKey); - - if (boComune != null) { - cacheResult(boComune); - } - else { - EntityCacheUtil.putResult(BoComuneModelImpl.ENTITY_CACHE_ENABLED, - BoComuneImpl.class, primaryKey, _nullBoComune); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(BoComuneModelImpl.ENTITY_CACHE_ENABLED, - BoComuneImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return boComune; - } - - /** - * Returns the bo comune with the primary key or returns null if it could not be found. - * - * @param comuneId the primary key of the bo comune - * @return the bo comune, or null if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoComune fetchByPrimaryKey(long comuneId) throws SystemException { - return fetchByPrimaryKey((Serializable)comuneId); - } - - /** - * Returns all the bo comunes. - * - * @return the bo comunes - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo comunes - * @param end the upper bound of the range of bo comunes (not inclusive) - * @return the range of bo comunes - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the bo comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo comunes - * @param end the upper bound of the range of bo comunes (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo comunes - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_BOCOMUNE); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_BOCOMUNE; - - if (pagination) { - sql = sql.concat(BoComuneModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the bo comunes from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (BoComune boComune : findAll()) { - remove(boComune); - } - } - - /** - * Returns the number of bo comunes. - * - * @return the number of bo comunes - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_BOCOMUNE); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - /** - * Initializes the bo comune persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.importazione.model.BoComune"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(BoComuneImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_BOCOMUNE = "SELECT boComune FROM BoComune boComune"; - private static final String _SQL_SELECT_BOCOMUNE_WHERE = "SELECT boComune FROM BoComune boComune WHERE "; - private static final String _SQL_COUNT_BOCOMUNE = "SELECT COUNT(boComune) FROM BoComune boComune"; - private static final String _SQL_COUNT_BOCOMUNE_WHERE = "SELECT COUNT(boComune) FROM BoComune boComune WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "boComune."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No BoComune exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No BoComune exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(BoComunePersistenceImpl.class); - private static BoComune _nullBoComune = new BoComuneImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullBoComuneCacheModel; - } - }; - - private static CacheModel _nullBoComuneCacheModel = new CacheModel() { - @Override - public BoComune toEntityModel() { - return _nullBoComune; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoConfigurazionePersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoConfigurazionePersistenceImpl.java deleted file mode 100644 index f4170e00..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoConfigurazionePersistenceImpl.java +++ /dev/null @@ -1,2521 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.SetUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.kernel.uuid.PortalUUIDUtil; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException; -import it.tref.liferay.portos.importazione.model.BoConfigurazione; -import it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneImpl; -import it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneModelImpl; -import it.tref.liferay.portos.importazione.service.persistence.BoConfigurazionePersistence; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Set; - -/** - * The persistence implementation for the bo configurazione service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoConfigurazionePersistence - * @see BoConfigurazioneUtil - * @generated - */ -public class BoConfigurazionePersistenceImpl extends BasePersistenceImpl - implements BoConfigurazionePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link BoConfigurazioneUtil} to access the bo configurazione persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = BoConfigurazioneImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(BoConfigurazioneModelImpl.ENTITY_CACHE_ENABLED, - BoConfigurazioneModelImpl.FINDER_CACHE_ENABLED, - BoConfigurazioneImpl.class, FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(BoConfigurazioneModelImpl.ENTITY_CACHE_ENABLED, - BoConfigurazioneModelImpl.FINDER_CACHE_ENABLED, - BoConfigurazioneImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(BoConfigurazioneModelImpl.ENTITY_CACHE_ENABLED, - BoConfigurazioneModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID = new FinderPath(BoConfigurazioneModelImpl.ENTITY_CACHE_ENABLED, - BoConfigurazioneModelImpl.FINDER_CACHE_ENABLED, - BoConfigurazioneImpl.class, FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByUuid", - new String[] { - String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID = new FinderPath(BoConfigurazioneModelImpl.ENTITY_CACHE_ENABLED, - BoConfigurazioneModelImpl.FINDER_CACHE_ENABLED, - BoConfigurazioneImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByUuid", - new String[] { String.class.getName() }, - BoConfigurazioneModelImpl.UUID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID = new FinderPath(BoConfigurazioneModelImpl.ENTITY_CACHE_ENABLED, - BoConfigurazioneModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid", - new String[] { String.class.getName() }); - - /** - * Returns all the bo configuraziones where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo configuraziones - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid) - throws SystemException { - return findByUuid(uuid, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo configuraziones where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo configuraziones - * @param end the upper bound of the range of bo configuraziones (not inclusive) - * @return the range of matching bo configuraziones - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end) - throws SystemException { - return findByUuid(uuid, start, end, null); - } - - /** - * Returns an ordered range of all the bo configuraziones where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo configuraziones - * @param end the upper bound of the range of bo configuraziones (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo configuraziones - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoConfigurazione boConfigurazione : list) { - if (!Validator.equals(uuid, boConfigurazione.getUuid())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOCONFIGURAZIONE_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoConfigurazioneModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo configurazione in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo configurazione - * @throws it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoConfigurazione findByUuid_First(String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoConfigurazioneException, SystemException { - BoConfigurazione boConfigurazione = fetchByUuid_First(uuid, - orderByComparator); - - if (boConfigurazione != null) { - return boConfigurazione; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoConfigurazioneException(msg.toString()); - } - - /** - * Returns the first bo configurazione in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo configurazione, or null if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoConfigurazione fetchByUuid_First(String uuid, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid(uuid, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo configurazione in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo configurazione - * @throws it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoConfigurazione findByUuid_Last(String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoConfigurazioneException, SystemException { - BoConfigurazione boConfigurazione = fetchByUuid_Last(uuid, - orderByComparator); - - if (boConfigurazione != null) { - return boConfigurazione; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoConfigurazioneException(msg.toString()); - } - - /** - * Returns the last bo configurazione in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo configurazione, or null if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoConfigurazione fetchByUuid_Last(String uuid, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid(uuid); - - if (count == 0) { - return null; - } - - List list = findByUuid(uuid, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo configuraziones before and after the current bo configurazione in the ordered set where uuid = ?. - * - * @param configurazioneId the primary key of the current bo configurazione - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo configurazione - * @throws it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException if a bo configurazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoConfigurazione[] findByUuid_PrevAndNext(long configurazioneId, - String uuid, OrderByComparator orderByComparator) - throws NoSuchBoConfigurazioneException, SystemException { - BoConfigurazione boConfigurazione = findByPrimaryKey(configurazioneId); - - Session session = null; - - try { - session = openSession(); - - BoConfigurazione[] array = new BoConfigurazioneImpl[3]; - - array[0] = getByUuid_PrevAndNext(session, boConfigurazione, uuid, - orderByComparator, true); - - array[1] = boConfigurazione; - - array[2] = getByUuid_PrevAndNext(session, boConfigurazione, uuid, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoConfigurazione getByUuid_PrevAndNext(Session session, - BoConfigurazione boConfigurazione, String uuid, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOCONFIGURAZIONE_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoConfigurazioneModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boConfigurazione); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo configuraziones where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid(String uuid) throws SystemException { - for (BoConfigurazione boConfigurazione : findByUuid(uuid, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boConfigurazione); - } - } - - /** - * Returns the number of bo configuraziones where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo configuraziones - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid(String uuid) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID; - - Object[] finderArgs = new Object[] { uuid }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BOCONFIGURAZIONE_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_UUID_1 = "boConfigurazione.uuid IS NULL"; - private static final String _FINDER_COLUMN_UUID_UUID_2 = "boConfigurazione.uuid = ?"; - private static final String _FINDER_COLUMN_UUID_UUID_3 = "(boConfigurazione.uuid IS NULL OR boConfigurazione.uuid = '')"; - public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G = new FinderPath(BoConfigurazioneModelImpl.ENTITY_CACHE_ENABLED, - BoConfigurazioneModelImpl.FINDER_CACHE_ENABLED, - BoConfigurazioneImpl.class, FINDER_CLASS_NAME_ENTITY, - "fetchByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }, - BoConfigurazioneModelImpl.UUID_COLUMN_BITMASK | - BoConfigurazioneModelImpl.GROUPID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G = new FinderPath(BoConfigurazioneModelImpl.ENTITY_CACHE_ENABLED, - BoConfigurazioneModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns the bo configurazione where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo configurazione - * @throws it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoConfigurazione findByUUID_G(String uuid, long groupId) - throws NoSuchBoConfigurazioneException, SystemException { - BoConfigurazione boConfigurazione = fetchByUUID_G(uuid, groupId); - - if (boConfigurazione == null) { - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoConfigurazioneException(msg.toString()); - } - - return boConfigurazione; - } - - /** - * Returns the bo configurazione where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo configurazione, or null if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoConfigurazione fetchByUUID_G(String uuid, long groupId) - throws SystemException { - return fetchByUUID_G(uuid, groupId, true); - } - - /** - * Returns the bo configurazione where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo configurazione, or null if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoConfigurazione fetchByUUID_G(String uuid, long groupId, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { uuid, groupId }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, this); - } - - if (result instanceof BoConfigurazione) { - BoConfigurazione boConfigurazione = (BoConfigurazione)result; - - if (!Validator.equals(uuid, boConfigurazione.getUuid()) || - (groupId != boConfigurazione.getGroupId())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_SELECT_BOCONFIGURAZIONE_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, list); - } - else { - BoConfigurazione boConfigurazione = list.get(0); - - result = boConfigurazione; - - cacheResult(boConfigurazione); - - if ((boConfigurazione.getUuid() == null) || - !boConfigurazione.getUuid().equals(uuid) || - (boConfigurazione.getGroupId() != groupId)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, boConfigurazione); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoConfigurazione)result; - } - } - - /** - * Removes the bo configurazione where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo configurazione that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoConfigurazione removeByUUID_G(String uuid, long groupId) - throws NoSuchBoConfigurazioneException, SystemException { - BoConfigurazione boConfigurazione = findByUUID_G(uuid, groupId); - - return remove(boConfigurazione); - } - - /** - * Returns the number of bo configuraziones where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo configuraziones - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUUID_G(String uuid, long groupId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_G; - - Object[] finderArgs = new Object[] { uuid, groupId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOCONFIGURAZIONE_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_G_UUID_1 = "boConfigurazione.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_2 = "boConfigurazione.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_3 = "(boConfigurazione.uuid IS NULL OR boConfigurazione.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_G_GROUPID_2 = "boConfigurazione.groupId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C = new FinderPath(BoConfigurazioneModelImpl.ENTITY_CACHE_ENABLED, - BoConfigurazioneModelImpl.FINDER_CACHE_ENABLED, - BoConfigurazioneImpl.class, FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByUuid_C", - new String[] { - String.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C = - new FinderPath(BoConfigurazioneModelImpl.ENTITY_CACHE_ENABLED, - BoConfigurazioneModelImpl.FINDER_CACHE_ENABLED, - BoConfigurazioneImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }, - BoConfigurazioneModelImpl.UUID_COLUMN_BITMASK | - BoConfigurazioneModelImpl.COMPANYID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C = new FinderPath(BoConfigurazioneModelImpl.ENTITY_CACHE_ENABLED, - BoConfigurazioneModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns all the bo configuraziones where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo configuraziones - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId) - throws SystemException { - return findByUuid_C(uuid, companyId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo configuraziones where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo configuraziones - * @param end the upper bound of the range of bo configuraziones (not inclusive) - * @return the range of matching bo configuraziones - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, - int start, int end) throws SystemException { - return findByUuid_C(uuid, companyId, start, end, null); - } - - /** - * Returns an ordered range of all the bo configuraziones where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo configuraziones - * @param end the upper bound of the range of bo configuraziones (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo configuraziones - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { uuid, companyId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { - uuid, companyId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoConfigurazione boConfigurazione : list) { - if (!Validator.equals(uuid, boConfigurazione.getUuid()) || - (companyId != boConfigurazione.getCompanyId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_BOCONFIGURAZIONE_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoConfigurazioneModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo configurazione in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo configurazione - * @throws it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoConfigurazione findByUuid_C_First(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchBoConfigurazioneException, SystemException { - BoConfigurazione boConfigurazione = fetchByUuid_C_First(uuid, - companyId, orderByComparator); - - if (boConfigurazione != null) { - return boConfigurazione; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoConfigurazioneException(msg.toString()); - } - - /** - * Returns the first bo configurazione in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo configurazione, or null if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoConfigurazione fetchByUuid_C_First(String uuid, long companyId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid_C(uuid, companyId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo configurazione in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo configurazione - * @throws it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoConfigurazione findByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchBoConfigurazioneException, SystemException { - BoConfigurazione boConfigurazione = fetchByUuid_C_Last(uuid, companyId, - orderByComparator); - - if (boConfigurazione != null) { - return boConfigurazione; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoConfigurazioneException(msg.toString()); - } - - /** - * Returns the last bo configurazione in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo configurazione, or null if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoConfigurazione fetchByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid_C(uuid, companyId); - - if (count == 0) { - return null; - } - - List list = findByUuid_C(uuid, companyId, count - 1, - count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo configuraziones before and after the current bo configurazione in the ordered set where uuid = ? and companyId = ?. - * - * @param configurazioneId the primary key of the current bo configurazione - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo configurazione - * @throws it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException if a bo configurazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoConfigurazione[] findByUuid_C_PrevAndNext(long configurazioneId, - String uuid, long companyId, OrderByComparator orderByComparator) - throws NoSuchBoConfigurazioneException, SystemException { - BoConfigurazione boConfigurazione = findByPrimaryKey(configurazioneId); - - Session session = null; - - try { - session = openSession(); - - BoConfigurazione[] array = new BoConfigurazioneImpl[3]; - - array[0] = getByUuid_C_PrevAndNext(session, boConfigurazione, uuid, - companyId, orderByComparator, true); - - array[1] = boConfigurazione; - - array[2] = getByUuid_C_PrevAndNext(session, boConfigurazione, uuid, - companyId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoConfigurazione getByUuid_C_PrevAndNext(Session session, - BoConfigurazione boConfigurazione, String uuid, long companyId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOCONFIGURAZIONE_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoConfigurazioneModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boConfigurazione); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo configuraziones where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid_C(String uuid, long companyId) - throws SystemException { - for (BoConfigurazione boConfigurazione : findByUuid_C(uuid, companyId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boConfigurazione); - } - } - - /** - * Returns the number of bo configuraziones where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo configuraziones - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid_C(String uuid, long companyId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_C; - - Object[] finderArgs = new Object[] { uuid, companyId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOCONFIGURAZIONE_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_C_UUID_1 = "boConfigurazione.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_2 = "boConfigurazione.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_3 = "(boConfigurazione.uuid IS NULL OR boConfigurazione.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_C_COMPANYID_2 = "boConfigurazione.companyId = ?"; - public static final FinderPath FINDER_PATH_FETCH_BY_C_G_CHIAVE = new FinderPath(BoConfigurazioneModelImpl.ENTITY_CACHE_ENABLED, - BoConfigurazioneModelImpl.FINDER_CACHE_ENABLED, - BoConfigurazioneImpl.class, FINDER_CLASS_NAME_ENTITY, - "fetchByC_G_Chiave", - new String[] { - Long.class.getName(), Long.class.getName(), - String.class.getName() - }, - BoConfigurazioneModelImpl.COMPANYID_COLUMN_BITMASK | - BoConfigurazioneModelImpl.GROUPID_COLUMN_BITMASK | - BoConfigurazioneModelImpl.CHIAVE_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_C_G_CHIAVE = new FinderPath(BoConfigurazioneModelImpl.ENTITY_CACHE_ENABLED, - BoConfigurazioneModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByC_G_Chiave", - new String[] { - Long.class.getName(), Long.class.getName(), - String.class.getName() - }); - - /** - * Returns the bo configurazione where companyId = ? and groupId = ? and chiave = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException} if it could not be found. - * - * @param companyId the company ID - * @param groupId the group ID - * @param chiave the chiave - * @return the matching bo configurazione - * @throws it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoConfigurazione findByC_G_Chiave(long companyId, long groupId, - String chiave) throws NoSuchBoConfigurazioneException, SystemException { - BoConfigurazione boConfigurazione = fetchByC_G_Chiave(companyId, - groupId, chiave); - - if (boConfigurazione == null) { - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(", chiave="); - msg.append(chiave); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoConfigurazioneException(msg.toString()); - } - - return boConfigurazione; - } - - /** - * Returns the bo configurazione where companyId = ? and groupId = ? and chiave = ? or returns null if it could not be found. Uses the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param chiave the chiave - * @return the matching bo configurazione, or null if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoConfigurazione fetchByC_G_Chiave(long companyId, long groupId, - String chiave) throws SystemException { - return fetchByC_G_Chiave(companyId, groupId, chiave, true); - } - - /** - * Returns the bo configurazione where companyId = ? and groupId = ? and chiave = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param chiave the chiave - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo configurazione, or null if a matching bo configurazione could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoConfigurazione fetchByC_G_Chiave(long companyId, long groupId, - String chiave, boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { companyId, groupId, chiave }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_C_G_CHIAVE, - finderArgs, this); - } - - if (result instanceof BoConfigurazione) { - BoConfigurazione boConfigurazione = (BoConfigurazione)result; - - if ((companyId != boConfigurazione.getCompanyId()) || - (groupId != boConfigurazione.getGroupId()) || - !Validator.equals(chiave, boConfigurazione.getChiave())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(5); - - query.append(_SQL_SELECT_BOCONFIGURAZIONE_WHERE); - - query.append(_FINDER_COLUMN_C_G_CHIAVE_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_G_CHIAVE_GROUPID_2); - - boolean bindChiave = false; - - if (chiave == null) { - query.append(_FINDER_COLUMN_C_G_CHIAVE_CHIAVE_1); - } - else if (chiave.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_G_CHIAVE_CHIAVE_3); - } - else { - bindChiave = true; - - query.append(_FINDER_COLUMN_C_G_CHIAVE_CHIAVE_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - if (bindChiave) { - qPos.add(chiave); - } - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_G_CHIAVE, - finderArgs, list); - } - else { - BoConfigurazione boConfigurazione = list.get(0); - - result = boConfigurazione; - - cacheResult(boConfigurazione); - - if ((boConfigurazione.getCompanyId() != companyId) || - (boConfigurazione.getGroupId() != groupId) || - (boConfigurazione.getChiave() == null) || - !boConfigurazione.getChiave().equals(chiave)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_G_CHIAVE, - finderArgs, boConfigurazione); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_G_CHIAVE, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoConfigurazione)result; - } - } - - /** - * Removes the bo configurazione where companyId = ? and groupId = ? and chiave = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param chiave the chiave - * @return the bo configurazione that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoConfigurazione removeByC_G_Chiave(long companyId, long groupId, - String chiave) throws NoSuchBoConfigurazioneException, SystemException { - BoConfigurazione boConfigurazione = findByC_G_Chiave(companyId, - groupId, chiave); - - return remove(boConfigurazione); - } - - /** - * Returns the number of bo configuraziones where companyId = ? and groupId = ? and chiave = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param chiave the chiave - * @return the number of matching bo configuraziones - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_G_Chiave(long companyId, long groupId, String chiave) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_C_G_CHIAVE; - - Object[] finderArgs = new Object[] { companyId, groupId, chiave }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_COUNT_BOCONFIGURAZIONE_WHERE); - - query.append(_FINDER_COLUMN_C_G_CHIAVE_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_G_CHIAVE_GROUPID_2); - - boolean bindChiave = false; - - if (chiave == null) { - query.append(_FINDER_COLUMN_C_G_CHIAVE_CHIAVE_1); - } - else if (chiave.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_G_CHIAVE_CHIAVE_3); - } - else { - bindChiave = true; - - query.append(_FINDER_COLUMN_C_G_CHIAVE_CHIAVE_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - if (bindChiave) { - qPos.add(chiave); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_C_G_CHIAVE_COMPANYID_2 = "boConfigurazione.companyId = ? AND "; - private static final String _FINDER_COLUMN_C_G_CHIAVE_GROUPID_2 = "boConfigurazione.groupId = ? AND "; - private static final String _FINDER_COLUMN_C_G_CHIAVE_CHIAVE_1 = "boConfigurazione.chiave IS NULL"; - private static final String _FINDER_COLUMN_C_G_CHIAVE_CHIAVE_2 = "boConfigurazione.chiave = ?"; - private static final String _FINDER_COLUMN_C_G_CHIAVE_CHIAVE_3 = "(boConfigurazione.chiave IS NULL OR boConfigurazione.chiave = '')"; - - public BoConfigurazionePersistenceImpl() { - setModelClass(BoConfigurazione.class); - } - - /** - * Caches the bo configurazione in the entity cache if it is enabled. - * - * @param boConfigurazione the bo configurazione - */ - @Override - public void cacheResult(BoConfigurazione boConfigurazione) { - EntityCacheUtil.putResult(BoConfigurazioneModelImpl.ENTITY_CACHE_ENABLED, - BoConfigurazioneImpl.class, boConfigurazione.getPrimaryKey(), - boConfigurazione); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - new Object[] { - boConfigurazione.getUuid(), boConfigurazione.getGroupId() - }, boConfigurazione); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_G_CHIAVE, - new Object[] { - boConfigurazione.getCompanyId(), boConfigurazione.getGroupId(), - boConfigurazione.getChiave() - }, boConfigurazione); - - boConfigurazione.resetOriginalValues(); - } - - /** - * Caches the bo configuraziones in the entity cache if it is enabled. - * - * @param boConfiguraziones the bo configuraziones - */ - @Override - public void cacheResult(List boConfiguraziones) { - for (BoConfigurazione boConfigurazione : boConfiguraziones) { - if (EntityCacheUtil.getResult( - BoConfigurazioneModelImpl.ENTITY_CACHE_ENABLED, - BoConfigurazioneImpl.class, - boConfigurazione.getPrimaryKey()) == null) { - cacheResult(boConfigurazione); - } - else { - boConfigurazione.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all bo configuraziones. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(BoConfigurazioneImpl.class.getName()); - } - - EntityCacheUtil.clearCache(BoConfigurazioneImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the bo configurazione. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(BoConfigurazione boConfigurazione) { - EntityCacheUtil.removeResult(BoConfigurazioneModelImpl.ENTITY_CACHE_ENABLED, - BoConfigurazioneImpl.class, boConfigurazione.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(boConfigurazione); - } - - @Override - public void clearCache(List boConfiguraziones) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (BoConfigurazione boConfigurazione : boConfiguraziones) { - EntityCacheUtil.removeResult(BoConfigurazioneModelImpl.ENTITY_CACHE_ENABLED, - BoConfigurazioneImpl.class, boConfigurazione.getPrimaryKey()); - - clearUniqueFindersCache(boConfigurazione); - } - } - - protected void cacheUniqueFindersCache(BoConfigurazione boConfigurazione) { - if (boConfigurazione.isNew()) { - Object[] args = new Object[] { - boConfigurazione.getUuid(), boConfigurazione.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - boConfigurazione); - - args = new Object[] { - boConfigurazione.getCompanyId(), - boConfigurazione.getGroupId(), boConfigurazione.getChiave() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_C_G_CHIAVE, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_G_CHIAVE, args, - boConfigurazione); - } - else { - BoConfigurazioneModelImpl boConfigurazioneModelImpl = (BoConfigurazioneModelImpl)boConfigurazione; - - if ((boConfigurazioneModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boConfigurazione.getUuid(), - boConfigurazione.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - boConfigurazione); - } - - if ((boConfigurazioneModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_C_G_CHIAVE.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boConfigurazione.getCompanyId(), - boConfigurazione.getGroupId(), - boConfigurazione.getChiave() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_C_G_CHIAVE, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_G_CHIAVE, - args, boConfigurazione); - } - } - } - - protected void clearUniqueFindersCache(BoConfigurazione boConfigurazione) { - BoConfigurazioneModelImpl boConfigurazioneModelImpl = (BoConfigurazioneModelImpl)boConfigurazione; - - Object[] args = new Object[] { - boConfigurazione.getUuid(), boConfigurazione.getGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - - if ((boConfigurazioneModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - args = new Object[] { - boConfigurazioneModelImpl.getOriginalUuid(), - boConfigurazioneModelImpl.getOriginalGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - } - - args = new Object[] { - boConfigurazione.getCompanyId(), boConfigurazione.getGroupId(), - boConfigurazione.getChiave() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_G_CHIAVE, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_G_CHIAVE, args); - - if ((boConfigurazioneModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_C_G_CHIAVE.getColumnBitmask()) != 0) { - args = new Object[] { - boConfigurazioneModelImpl.getOriginalCompanyId(), - boConfigurazioneModelImpl.getOriginalGroupId(), - boConfigurazioneModelImpl.getOriginalChiave() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_G_CHIAVE, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_G_CHIAVE, args); - } - } - - /** - * Creates a new bo configurazione with the primary key. Does not add the bo configurazione to the database. - * - * @param configurazioneId the primary key for the new bo configurazione - * @return the new bo configurazione - */ - @Override - public BoConfigurazione create(long configurazioneId) { - BoConfigurazione boConfigurazione = new BoConfigurazioneImpl(); - - boConfigurazione.setNew(true); - boConfigurazione.setPrimaryKey(configurazioneId); - - String uuid = PortalUUIDUtil.generate(); - - boConfigurazione.setUuid(uuid); - - return boConfigurazione; - } - - /** - * Removes the bo configurazione with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param configurazioneId the primary key of the bo configurazione - * @return the bo configurazione that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException if a bo configurazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoConfigurazione remove(long configurazioneId) - throws NoSuchBoConfigurazioneException, SystemException { - return remove((Serializable)configurazioneId); - } - - /** - * Removes the bo configurazione with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the bo configurazione - * @return the bo configurazione that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException if a bo configurazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoConfigurazione remove(Serializable primaryKey) - throws NoSuchBoConfigurazioneException, SystemException { - Session session = null; - - try { - session = openSession(); - - BoConfigurazione boConfigurazione = (BoConfigurazione)session.get(BoConfigurazioneImpl.class, - primaryKey); - - if (boConfigurazione == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoConfigurazioneException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(boConfigurazione); - } - catch (NoSuchBoConfigurazioneException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected BoConfigurazione removeImpl(BoConfigurazione boConfigurazione) - throws SystemException { - boConfigurazione = toUnwrappedModel(boConfigurazione); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(boConfigurazione)) { - boConfigurazione = (BoConfigurazione)session.get(BoConfigurazioneImpl.class, - boConfigurazione.getPrimaryKeyObj()); - } - - if (boConfigurazione != null) { - session.delete(boConfigurazione); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (boConfigurazione != null) { - clearCache(boConfigurazione); - } - - return boConfigurazione; - } - - @Override - public BoConfigurazione updateImpl( - it.tref.liferay.portos.importazione.model.BoConfigurazione boConfigurazione) - throws SystemException { - boConfigurazione = toUnwrappedModel(boConfigurazione); - - boolean isNew = boConfigurazione.isNew(); - - BoConfigurazioneModelImpl boConfigurazioneModelImpl = (BoConfigurazioneModelImpl)boConfigurazione; - - if (Validator.isNull(boConfigurazione.getUuid())) { - String uuid = PortalUUIDUtil.generate(); - - boConfigurazione.setUuid(uuid); - } - - Session session = null; - - try { - session = openSession(); - - if (boConfigurazione.isNew()) { - session.save(boConfigurazione); - - boConfigurazione.setNew(false); - } - else { - session.merge(boConfigurazione); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !BoConfigurazioneModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((boConfigurazioneModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boConfigurazioneModelImpl.getOriginalUuid() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - - args = new Object[] { boConfigurazioneModelImpl.getUuid() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - } - - if ((boConfigurazioneModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boConfigurazioneModelImpl.getOriginalUuid(), - boConfigurazioneModelImpl.getOriginalCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - - args = new Object[] { - boConfigurazioneModelImpl.getUuid(), - boConfigurazioneModelImpl.getCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - } - } - - EntityCacheUtil.putResult(BoConfigurazioneModelImpl.ENTITY_CACHE_ENABLED, - BoConfigurazioneImpl.class, boConfigurazione.getPrimaryKey(), - boConfigurazione); - - clearUniqueFindersCache(boConfigurazione); - cacheUniqueFindersCache(boConfigurazione); - - return boConfigurazione; - } - - protected BoConfigurazione toUnwrappedModel( - BoConfigurazione boConfigurazione) { - if (boConfigurazione instanceof BoConfigurazioneImpl) { - return boConfigurazione; - } - - BoConfigurazioneImpl boConfigurazioneImpl = new BoConfigurazioneImpl(); - - boConfigurazioneImpl.setNew(boConfigurazione.isNew()); - boConfigurazioneImpl.setPrimaryKey(boConfigurazione.getPrimaryKey()); - - boConfigurazioneImpl.setUuid(boConfigurazione.getUuid()); - boConfigurazioneImpl.setConfigurazioneId(boConfigurazione.getConfigurazioneId()); - boConfigurazioneImpl.setCompanyId(boConfigurazione.getCompanyId()); - boConfigurazioneImpl.setUserId(boConfigurazione.getUserId()); - boConfigurazioneImpl.setUserName(boConfigurazione.getUserName()); - boConfigurazioneImpl.setCreateDate(boConfigurazione.getCreateDate()); - boConfigurazioneImpl.setModifiedDate(boConfigurazione.getModifiedDate()); - boConfigurazioneImpl.setGroupId(boConfigurazione.getGroupId()); - boConfigurazioneImpl.setChiave(boConfigurazione.getChiave()); - boConfigurazioneImpl.setValore(boConfigurazione.getValore()); - - return boConfigurazioneImpl; - } - - /** - * Returns the bo configurazione with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the bo configurazione - * @return the bo configurazione - * @throws it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException if a bo configurazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoConfigurazione findByPrimaryKey(Serializable primaryKey) - throws NoSuchBoConfigurazioneException, SystemException { - BoConfigurazione boConfigurazione = fetchByPrimaryKey(primaryKey); - - if (boConfigurazione == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoConfigurazioneException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return boConfigurazione; - } - - /** - * Returns the bo configurazione with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException} if it could not be found. - * - * @param configurazioneId the primary key of the bo configurazione - * @return the bo configurazione - * @throws it.tref.liferay.portos.importazione.NoSuchBoConfigurazioneException if a bo configurazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoConfigurazione findByPrimaryKey(long configurazioneId) - throws NoSuchBoConfigurazioneException, SystemException { - return findByPrimaryKey((Serializable)configurazioneId); - } - - /** - * Returns the bo configurazione with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the bo configurazione - * @return the bo configurazione, or null if a bo configurazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoConfigurazione fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - BoConfigurazione boConfigurazione = (BoConfigurazione)EntityCacheUtil.getResult(BoConfigurazioneModelImpl.ENTITY_CACHE_ENABLED, - BoConfigurazioneImpl.class, primaryKey); - - if (boConfigurazione == _nullBoConfigurazione) { - return null; - } - - if (boConfigurazione == null) { - Session session = null; - - try { - session = openSession(); - - boConfigurazione = (BoConfigurazione)session.get(BoConfigurazioneImpl.class, - primaryKey); - - if (boConfigurazione != null) { - cacheResult(boConfigurazione); - } - else { - EntityCacheUtil.putResult(BoConfigurazioneModelImpl.ENTITY_CACHE_ENABLED, - BoConfigurazioneImpl.class, primaryKey, - _nullBoConfigurazione); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(BoConfigurazioneModelImpl.ENTITY_CACHE_ENABLED, - BoConfigurazioneImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return boConfigurazione; - } - - /** - * Returns the bo configurazione with the primary key or returns null if it could not be found. - * - * @param configurazioneId the primary key of the bo configurazione - * @return the bo configurazione, or null if a bo configurazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoConfigurazione fetchByPrimaryKey(long configurazioneId) - throws SystemException { - return fetchByPrimaryKey((Serializable)configurazioneId); - } - - /** - * Returns all the bo configuraziones. - * - * @return the bo configuraziones - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo configuraziones. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo configuraziones - * @param end the upper bound of the range of bo configuraziones (not inclusive) - * @return the range of bo configuraziones - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the bo configuraziones. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoConfigurazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo configuraziones - * @param end the upper bound of the range of bo configuraziones (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo configuraziones - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_BOCONFIGURAZIONE); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_BOCONFIGURAZIONE; - - if (pagination) { - sql = sql.concat(BoConfigurazioneModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the bo configuraziones from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (BoConfigurazione boConfigurazione : findAll()) { - remove(boConfigurazione); - } - } - - /** - * Returns the number of bo configuraziones. - * - * @return the number of bo configuraziones - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_BOCONFIGURAZIONE); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - @Override - protected Set getBadColumnNames() { - return _badColumnNames; - } - - /** - * Initializes the bo configurazione persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.importazione.model.BoConfigurazione"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(BoConfigurazioneImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_BOCONFIGURAZIONE = "SELECT boConfigurazione FROM BoConfigurazione boConfigurazione"; - private static final String _SQL_SELECT_BOCONFIGURAZIONE_WHERE = "SELECT boConfigurazione FROM BoConfigurazione boConfigurazione WHERE "; - private static final String _SQL_COUNT_BOCONFIGURAZIONE = "SELECT COUNT(boConfigurazione) FROM BoConfigurazione boConfigurazione"; - private static final String _SQL_COUNT_BOCONFIGURAZIONE_WHERE = "SELECT COUNT(boConfigurazione) FROM BoConfigurazione boConfigurazione WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "boConfigurazione."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No BoConfigurazione exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No BoConfigurazione exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(BoConfigurazionePersistenceImpl.class); - private static Set _badColumnNames = SetUtil.fromArray(new String[] { - "uuid" - }); - private static BoConfigurazione _nullBoConfigurazione = new BoConfigurazioneImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullBoConfigurazioneCacheModel; - } - }; - - private static CacheModel _nullBoConfigurazioneCacheModel = new CacheModel() { - @Override - public BoConfigurazione toEntityModel() { - return _nullBoConfigurazione; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoDettPraticaPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoDettPraticaPersistenceImpl.java deleted file mode 100644 index 0426ff95..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoDettPraticaPersistenceImpl.java +++ /dev/null @@ -1,6688 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.SetUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.kernel.uuid.PortalUUIDUtil; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException; -import it.tref.liferay.portos.importazione.model.BoDettPratica; -import it.tref.liferay.portos.importazione.model.impl.BoDettPraticaImpl; -import it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl; -import it.tref.liferay.portos.importazione.service.persistence.BoDettPraticaPersistence; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Set; - -/** - * The persistence implementation for the bo dett pratica service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoDettPraticaPersistence - * @see BoDettPraticaUtil - * @generated - */ -public class BoDettPraticaPersistenceImpl extends BasePersistenceImpl - implements BoDettPraticaPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link BoDettPraticaUtil} to access the bo dett pratica persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = BoDettPraticaImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID = new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByUuid", - new String[] { - String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID = new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByUuid", new String[] { String.class.getName() }, - BoDettPraticaModelImpl.UUID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID = new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid", - new String[] { String.class.getName() }); - - /** - * Returns all the bo dett praticas where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid) - throws SystemException { - return findByUuid(uuid, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo dett praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end) - throws SystemException { - return findByUuid(uuid, start, end, null); - } - - /** - * Returns an ordered range of all the bo dett praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoDettPratica boDettPratica : list) { - if (!Validator.equals(uuid, boDettPratica.getUuid())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoDettPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByUuid_First(String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchByUuid_First(uuid, orderByComparator); - - if (boDettPratica != null) { - return boDettPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - /** - * Returns the first bo dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByUuid_First(String uuid, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid(uuid, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByUuid_Last(String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchByUuid_Last(uuid, orderByComparator); - - if (boDettPratica != null) { - return boDettPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - /** - * Returns the last bo dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByUuid_Last(String uuid, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid(uuid); - - if (count == 0) { - return null; - } - - List list = findByUuid(uuid, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where uuid = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica[] findByUuid_PrevAndNext(long dettPraticaId, - String uuid, OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = findByPrimaryKey(dettPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoDettPratica[] array = new BoDettPraticaImpl[3]; - - array[0] = getByUuid_PrevAndNext(session, boDettPratica, uuid, - orderByComparator, true); - - array[1] = boDettPratica; - - array[2] = getByUuid_PrevAndNext(session, boDettPratica, uuid, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoDettPratica getByUuid_PrevAndNext(Session session, - BoDettPratica boDettPratica, String uuid, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoDettPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boDettPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo dett praticas where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid(String uuid) throws SystemException { - for (BoDettPratica boDettPratica : findByUuid(uuid, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(boDettPratica); - } - } - - /** - * Returns the number of bo dett praticas where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid(String uuid) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID; - - Object[] finderArgs = new Object[] { uuid }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BODETTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_UUID_1 = "boDettPratica.uuid IS NULL"; - private static final String _FINDER_COLUMN_UUID_UUID_2 = "boDettPratica.uuid = ?"; - private static final String _FINDER_COLUMN_UUID_UUID_3 = "(boDettPratica.uuid IS NULL OR boDettPratica.uuid = '')"; - public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G = new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_ENTITY, "fetchByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }, - BoDettPraticaModelImpl.UUID_COLUMN_BITMASK | - BoDettPraticaModelImpl.GROUPID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G = new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns the bo dett pratica where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByUUID_G(String uuid, long groupId) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchByUUID_G(uuid, groupId); - - if (boDettPratica == null) { - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - return boDettPratica; - } - - /** - * Returns the bo dett pratica where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByUUID_G(String uuid, long groupId) - throws SystemException { - return fetchByUUID_G(uuid, groupId, true); - } - - /** - * Returns the bo dett pratica where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByUUID_G(String uuid, long groupId, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { uuid, groupId }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, this); - } - - if (result instanceof BoDettPratica) { - BoDettPratica boDettPratica = (BoDettPratica)result; - - if (!Validator.equals(uuid, boDettPratica.getUuid()) || - (groupId != boDettPratica.getGroupId())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, list); - } - else { - BoDettPratica boDettPratica = list.get(0); - - result = boDettPratica; - - cacheResult(boDettPratica); - - if ((boDettPratica.getUuid() == null) || - !boDettPratica.getUuid().equals(uuid) || - (boDettPratica.getGroupId() != groupId)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, boDettPratica); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoDettPratica)result; - } - } - - /** - * Removes the bo dett pratica where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica removeByUUID_G(String uuid, long groupId) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = findByUUID_G(uuid, groupId); - - return remove(boDettPratica); - } - - /** - * Returns the number of bo dett praticas where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUUID_G(String uuid, long groupId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_G; - - Object[] finderArgs = new Object[] { uuid, groupId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BODETTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_G_UUID_1 = "boDettPratica.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_2 = "boDettPratica.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_3 = "(boDettPratica.uuid IS NULL OR boDettPratica.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_G_GROUPID_2 = "boDettPratica.groupId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C = new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByUuid_C", - new String[] { - String.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C = - new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }, - BoDettPraticaModelImpl.UUID_COLUMN_BITMASK | - BoDettPraticaModelImpl.COMPANYID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C = new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns all the bo dett praticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId) - throws SystemException { - return findByUuid_C(uuid, companyId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo dett praticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, - int start, int end) throws SystemException { - return findByUuid_C(uuid, companyId, start, end, null); - } - - /** - * Returns an ordered range of all the bo dett praticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { uuid, companyId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { - uuid, companyId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoDettPratica boDettPratica : list) { - if (!Validator.equals(uuid, boDettPratica.getUuid()) || - (companyId != boDettPratica.getCompanyId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoDettPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo dett pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByUuid_C_First(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchByUuid_C_First(uuid, companyId, - orderByComparator); - - if (boDettPratica != null) { - return boDettPratica; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - /** - * Returns the first bo dett pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByUuid_C_First(String uuid, long companyId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid_C(uuid, companyId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo dett pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchByUuid_C_Last(uuid, companyId, - orderByComparator); - - if (boDettPratica != null) { - return boDettPratica; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - /** - * Returns the last bo dett pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid_C(uuid, companyId); - - if (count == 0) { - return null; - } - - List list = findByUuid_C(uuid, companyId, count - 1, - count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica[] findByUuid_C_PrevAndNext(long dettPraticaId, - String uuid, long companyId, OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = findByPrimaryKey(dettPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoDettPratica[] array = new BoDettPraticaImpl[3]; - - array[0] = getByUuid_C_PrevAndNext(session, boDettPratica, uuid, - companyId, orderByComparator, true); - - array[1] = boDettPratica; - - array[2] = getByUuid_C_PrevAndNext(session, boDettPratica, uuid, - companyId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoDettPratica getByUuid_C_PrevAndNext(Session session, - BoDettPratica boDettPratica, String uuid, long companyId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoDettPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boDettPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo dett praticas where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid_C(String uuid, long companyId) - throws SystemException { - for (BoDettPratica boDettPratica : findByUuid_C(uuid, companyId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boDettPratica); - } - } - - /** - * Returns the number of bo dett praticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid_C(String uuid, long companyId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_C; - - Object[] finderArgs = new Object[] { uuid, companyId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BODETTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_C_UUID_1 = "boDettPratica.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_2 = "boDettPratica.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_3 = "(boDettPratica.uuid IS NULL OR boDettPratica.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_C_COMPANYID_2 = "boDettPratica.companyId = ?"; - public static final FinderPath FINDER_PATH_FETCH_BY_CODPRATICASUAP = new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_ENTITY, - "fetchByCodPraticaSuap", new String[] { String.class.getName() }, - BoDettPraticaModelImpl.CODPRATICASUAP_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_CODPRATICASUAP = new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByCodPraticaSuap", - new String[] { String.class.getName() }); - - /** - * Returns the bo dett pratica where codPraticaSuap = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException} if it could not be found. - * - * @param codPraticaSuap the cod pratica suap - * @return the matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByCodPraticaSuap(String codPraticaSuap) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchByCodPraticaSuap(codPraticaSuap); - - if (boDettPratica == null) { - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("codPraticaSuap="); - msg.append(codPraticaSuap); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - return boDettPratica; - } - - /** - * Returns the bo dett pratica where codPraticaSuap = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codPraticaSuap the cod pratica suap - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByCodPraticaSuap(String codPraticaSuap) - throws SystemException { - return fetchByCodPraticaSuap(codPraticaSuap, true); - } - - /** - * Returns the bo dett pratica where codPraticaSuap = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codPraticaSuap the cod pratica suap - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByCodPraticaSuap(String codPraticaSuap, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { codPraticaSuap }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_CODPRATICASUAP, - finderArgs, this); - } - - if (result instanceof BoDettPratica) { - BoDettPratica boDettPratica = (BoDettPratica)result; - - if (!Validator.equals(codPraticaSuap, - boDettPratica.getCodPraticaSuap())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - boolean bindCodPraticaSuap = false; - - if (codPraticaSuap == null) { - query.append(_FINDER_COLUMN_CODPRATICASUAP_CODPRATICASUAP_1); - } - else if (codPraticaSuap.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_CODPRATICASUAP_CODPRATICASUAP_3); - } - else { - bindCodPraticaSuap = true; - - query.append(_FINDER_COLUMN_CODPRATICASUAP_CODPRATICASUAP_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindCodPraticaSuap) { - qPos.add(codPraticaSuap); - } - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODPRATICASUAP, - finderArgs, list); - } - else { - BoDettPratica boDettPratica = list.get(0); - - result = boDettPratica; - - cacheResult(boDettPratica); - - if ((boDettPratica.getCodPraticaSuap() == null) || - !boDettPratica.getCodPraticaSuap() - .equals(codPraticaSuap)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODPRATICASUAP, - finderArgs, boDettPratica); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODPRATICASUAP, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoDettPratica)result; - } - } - - /** - * Removes the bo dett pratica where codPraticaSuap = ? from the database. - * - * @param codPraticaSuap the cod pratica suap - * @return the bo dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica removeByCodPraticaSuap(String codPraticaSuap) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = findByCodPraticaSuap(codPraticaSuap); - - return remove(boDettPratica); - } - - /** - * Returns the number of bo dett praticas where codPraticaSuap = ?. - * - * @param codPraticaSuap the cod pratica suap - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByCodPraticaSuap(String codPraticaSuap) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_CODPRATICASUAP; - - Object[] finderArgs = new Object[] { codPraticaSuap }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BODETTPRATICA_WHERE); - - boolean bindCodPraticaSuap = false; - - if (codPraticaSuap == null) { - query.append(_FINDER_COLUMN_CODPRATICASUAP_CODPRATICASUAP_1); - } - else if (codPraticaSuap.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_CODPRATICASUAP_CODPRATICASUAP_3); - } - else { - bindCodPraticaSuap = true; - - query.append(_FINDER_COLUMN_CODPRATICASUAP_CODPRATICASUAP_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindCodPraticaSuap) { - qPos.add(codPraticaSuap); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_CODPRATICASUAP_CODPRATICASUAP_1 = "boDettPratica.codPraticaSuap IS NULL"; - private static final String _FINDER_COLUMN_CODPRATICASUAP_CODPRATICASUAP_2 = "boDettPratica.codPraticaSuap = ?"; - private static final String _FINDER_COLUMN_CODPRATICASUAP_CODPRATICASUAP_3 = "(boDettPratica.codPraticaSuap IS NULL OR boDettPratica.codPraticaSuap = '')"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_INTPRATICAID_INTEGRAZIONE_VALIDATA = - new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByIntPraticaId_integrazione_validata", - new String[] { - Long.class.getName(), Long.class.getName(), - Boolean.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID_INTEGRAZIONE_VALIDATA = - new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByIntPraticaId_integrazione_validata", - new String[] { - Long.class.getName(), Long.class.getName(), - Boolean.class.getName() - }, - BoDettPraticaModelImpl.INTPRATICAID_COLUMN_BITMASK | - BoDettPraticaModelImpl.INTEGRAZIONE_COLUMN_BITMASK | - BoDettPraticaModelImpl.VALIDATA_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_INTPRATICAID_INTEGRAZIONE_VALIDATA = - new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByIntPraticaId_integrazione_validata", - new String[] { - Long.class.getName(), Long.class.getName(), - Boolean.class.getName() - }); - - /** - * Returns all the bo dett praticas where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByIntPraticaId_integrazione_validata( - long intPraticaId, long integrazione, boolean validata) - throws SystemException { - return findByIntPraticaId_integrazione_validata(intPraticaId, - integrazione, validata, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo dett praticas where intPraticaId = ? and integrazione = ? and validata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByIntPraticaId_integrazione_validata( - long intPraticaId, long integrazione, boolean validata, int start, - int end) throws SystemException { - return findByIntPraticaId_integrazione_validata(intPraticaId, - integrazione, validata, start, end, null); - } - - /** - * Returns an ordered range of all the bo dett praticas where intPraticaId = ? and integrazione = ? and validata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByIntPraticaId_integrazione_validata( - long intPraticaId, long integrazione, boolean validata, int start, - int end, OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID_INTEGRAZIONE_VALIDATA; - finderArgs = new Object[] { intPraticaId, integrazione, validata }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_INTPRATICAID_INTEGRAZIONE_VALIDATA; - finderArgs = new Object[] { - intPraticaId, integrazione, validata, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoDettPratica boDettPratica : list) { - if ((intPraticaId != boDettPratica.getIntPraticaId()) || - (integrazione != boDettPratica.getIntegrazione()) || - (validata != boDettPratica.getValidata())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(5 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(5); - } - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_INTEGRAZIONE_VALIDATA_INTPRATICAID_2); - - query.append(_FINDER_COLUMN_INTPRATICAID_INTEGRAZIONE_VALIDATA_INTEGRAZIONE_2); - - query.append(_FINDER_COLUMN_INTPRATICAID_INTEGRAZIONE_VALIDATA_VALIDATA_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoDettPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(intPraticaId); - - qPos.add(integrazione); - - qPos.add(validata); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByIntPraticaId_integrazione_validata_First( - long intPraticaId, long integrazione, boolean validata, - OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchByIntPraticaId_integrazione_validata_First(intPraticaId, - integrazione, validata, orderByComparator); - - if (boDettPratica != null) { - return boDettPratica; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("intPraticaId="); - msg.append(intPraticaId); - - msg.append(", integrazione="); - msg.append(integrazione); - - msg.append(", validata="); - msg.append(validata); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByIntPraticaId_integrazione_validata_First( - long intPraticaId, long integrazione, boolean validata, - OrderByComparator orderByComparator) throws SystemException { - List list = findByIntPraticaId_integrazione_validata(intPraticaId, - integrazione, validata, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByIntPraticaId_integrazione_validata_Last( - long intPraticaId, long integrazione, boolean validata, - OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchByIntPraticaId_integrazione_validata_Last(intPraticaId, - integrazione, validata, orderByComparator); - - if (boDettPratica != null) { - return boDettPratica; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("intPraticaId="); - msg.append(intPraticaId); - - msg.append(", integrazione="); - msg.append(integrazione); - - msg.append(", validata="); - msg.append(validata); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByIntPraticaId_integrazione_validata_Last( - long intPraticaId, long integrazione, boolean validata, - OrderByComparator orderByComparator) throws SystemException { - int count = countByIntPraticaId_integrazione_validata(intPraticaId, - integrazione, validata); - - if (count == 0) { - return null; - } - - List list = findByIntPraticaId_integrazione_validata(intPraticaId, - integrazione, validata, count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica[] findByIntPraticaId_integrazione_validata_PrevAndNext( - long dettPraticaId, long intPraticaId, long integrazione, - boolean validata, OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = findByPrimaryKey(dettPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoDettPratica[] array = new BoDettPraticaImpl[3]; - - array[0] = getByIntPraticaId_integrazione_validata_PrevAndNext(session, - boDettPratica, intPraticaId, integrazione, validata, - orderByComparator, true); - - array[1] = boDettPratica; - - array[2] = getByIntPraticaId_integrazione_validata_PrevAndNext(session, - boDettPratica, intPraticaId, integrazione, validata, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoDettPratica getByIntPraticaId_integrazione_validata_PrevAndNext( - Session session, BoDettPratica boDettPratica, long intPraticaId, - long integrazione, boolean validata, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_INTEGRAZIONE_VALIDATA_INTPRATICAID_2); - - query.append(_FINDER_COLUMN_INTPRATICAID_INTEGRAZIONE_VALIDATA_INTEGRAZIONE_2); - - query.append(_FINDER_COLUMN_INTPRATICAID_INTEGRAZIONE_VALIDATA_VALIDATA_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoDettPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(intPraticaId); - - qPos.add(integrazione); - - qPos.add(validata); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boDettPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo dett praticas where intPraticaId = ? and integrazione = ? and validata = ? from the database. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByIntPraticaId_integrazione_validata(long intPraticaId, - long integrazione, boolean validata) throws SystemException { - for (BoDettPratica boDettPratica : findByIntPraticaId_integrazione_validata( - intPraticaId, integrazione, validata, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(boDettPratica); - } - } - - /** - * Returns the number of bo dett praticas where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByIntPraticaId_integrazione_validata(long intPraticaId, - long integrazione, boolean validata) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_INTPRATICAID_INTEGRAZIONE_VALIDATA; - - Object[] finderArgs = new Object[] { intPraticaId, integrazione, validata }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_COUNT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_INTEGRAZIONE_VALIDATA_INTPRATICAID_2); - - query.append(_FINDER_COLUMN_INTPRATICAID_INTEGRAZIONE_VALIDATA_INTEGRAZIONE_2); - - query.append(_FINDER_COLUMN_INTPRATICAID_INTEGRAZIONE_VALIDATA_VALIDATA_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(intPraticaId); - - qPos.add(integrazione); - - qPos.add(validata); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_INTPRATICAID_INTEGRAZIONE_VALIDATA_INTPRATICAID_2 = - "boDettPratica.intPraticaId = ? AND "; - private static final String _FINDER_COLUMN_INTPRATICAID_INTEGRAZIONE_VALIDATA_INTEGRAZIONE_2 = - "boDettPratica.integrazione = ? AND "; - private static final String _FINDER_COLUMN_INTPRATICAID_INTEGRAZIONE_VALIDATA_VALIDATA_2 = - "boDettPratica.validata = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA = - new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByIntPraticaId_tipoIntegrazione_validata", - new String[] { - Long.class.getName(), String.class.getName(), - Boolean.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA = - new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByIntPraticaId_tipoIntegrazione_validata", - new String[] { - Long.class.getName(), String.class.getName(), - Boolean.class.getName() - }, - BoDettPraticaModelImpl.INTPRATICAID_COLUMN_BITMASK | - BoDettPraticaModelImpl.TIPOINTEGRAZIONE_COLUMN_BITMASK | - BoDettPraticaModelImpl.VALIDATA_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA = - new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByIntPraticaId_tipoIntegrazione_validata", - new String[] { - Long.class.getName(), String.class.getName(), - Boolean.class.getName() - }); - - /** - * Returns all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByIntPraticaId_tipoIntegrazione_validata( - long intPraticaId, String tipoIntegrazione, boolean validata) - throws SystemException { - return findByIntPraticaId_tipoIntegrazione_validata(intPraticaId, - tipoIntegrazione, validata, QueryUtil.ALL_POS, QueryUtil.ALL_POS, - null); - } - - /** - * Returns a range of all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByIntPraticaId_tipoIntegrazione_validata( - long intPraticaId, String tipoIntegrazione, boolean validata, - int start, int end) throws SystemException { - return findByIntPraticaId_tipoIntegrazione_validata(intPraticaId, - tipoIntegrazione, validata, start, end, null); - } - - /** - * Returns an ordered range of all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByIntPraticaId_tipoIntegrazione_validata( - long intPraticaId, String tipoIntegrazione, boolean validata, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA; - finderArgs = new Object[] { intPraticaId, tipoIntegrazione, validata }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA; - finderArgs = new Object[] { - intPraticaId, tipoIntegrazione, validata, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoDettPratica boDettPratica : list) { - if ((intPraticaId != boDettPratica.getIntPraticaId()) || - !Validator.equals(tipoIntegrazione, - boDettPratica.getTipoIntegrazione()) || - (validata != boDettPratica.getValidata())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(5 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(5); - } - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_INTPRATICAID_2); - - boolean bindTipoIntegrazione = false; - - if (tipoIntegrazione == null) { - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_1); - } - else if (tipoIntegrazione.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_3); - } - else { - bindTipoIntegrazione = true; - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_2); - } - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_VALIDATA_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoDettPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(intPraticaId); - - if (bindTipoIntegrazione) { - qPos.add(tipoIntegrazione); - } - - qPos.add(validata); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByIntPraticaId_tipoIntegrazione_validata_First( - long intPraticaId, String tipoIntegrazione, boolean validata, - OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchByIntPraticaId_tipoIntegrazione_validata_First(intPraticaId, - tipoIntegrazione, validata, orderByComparator); - - if (boDettPratica != null) { - return boDettPratica; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("intPraticaId="); - msg.append(intPraticaId); - - msg.append(", tipoIntegrazione="); - msg.append(tipoIntegrazione); - - msg.append(", validata="); - msg.append(validata); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByIntPraticaId_tipoIntegrazione_validata_First( - long intPraticaId, String tipoIntegrazione, boolean validata, - OrderByComparator orderByComparator) throws SystemException { - List list = findByIntPraticaId_tipoIntegrazione_validata(intPraticaId, - tipoIntegrazione, validata, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByIntPraticaId_tipoIntegrazione_validata_Last( - long intPraticaId, String tipoIntegrazione, boolean validata, - OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchByIntPraticaId_tipoIntegrazione_validata_Last(intPraticaId, - tipoIntegrazione, validata, orderByComparator); - - if (boDettPratica != null) { - return boDettPratica; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("intPraticaId="); - msg.append(intPraticaId); - - msg.append(", tipoIntegrazione="); - msg.append(tipoIntegrazione); - - msg.append(", validata="); - msg.append(validata); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByIntPraticaId_tipoIntegrazione_validata_Last( - long intPraticaId, String tipoIntegrazione, boolean validata, - OrderByComparator orderByComparator) throws SystemException { - int count = countByIntPraticaId_tipoIntegrazione_validata(intPraticaId, - tipoIntegrazione, validata); - - if (count == 0) { - return null; - } - - List list = findByIntPraticaId_tipoIntegrazione_validata(intPraticaId, - tipoIntegrazione, validata, count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica[] findByIntPraticaId_tipoIntegrazione_validata_PrevAndNext( - long dettPraticaId, long intPraticaId, String tipoIntegrazione, - boolean validata, OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = findByPrimaryKey(dettPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoDettPratica[] array = new BoDettPraticaImpl[3]; - - array[0] = getByIntPraticaId_tipoIntegrazione_validata_PrevAndNext(session, - boDettPratica, intPraticaId, tipoIntegrazione, validata, - orderByComparator, true); - - array[1] = boDettPratica; - - array[2] = getByIntPraticaId_tipoIntegrazione_validata_PrevAndNext(session, - boDettPratica, intPraticaId, tipoIntegrazione, validata, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoDettPratica getByIntPraticaId_tipoIntegrazione_validata_PrevAndNext( - Session session, BoDettPratica boDettPratica, long intPraticaId, - String tipoIntegrazione, boolean validata, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_INTPRATICAID_2); - - boolean bindTipoIntegrazione = false; - - if (tipoIntegrazione == null) { - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_1); - } - else if (tipoIntegrazione.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_3); - } - else { - bindTipoIntegrazione = true; - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_2); - } - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_VALIDATA_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoDettPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(intPraticaId); - - if (bindTipoIntegrazione) { - qPos.add(tipoIntegrazione); - } - - qPos.add(validata); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boDettPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and validata = ? from the database. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByIntPraticaId_tipoIntegrazione_validata( - long intPraticaId, String tipoIntegrazione, boolean validata) - throws SystemException { - for (BoDettPratica boDettPratica : findByIntPraticaId_tipoIntegrazione_validata( - intPraticaId, tipoIntegrazione, validata, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(boDettPratica); - } - } - - /** - * Returns the number of bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByIntPraticaId_tipoIntegrazione_validata( - long intPraticaId, String tipoIntegrazione, boolean validata) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA; - - Object[] finderArgs = new Object[] { - intPraticaId, tipoIntegrazione, validata - }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_COUNT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_INTPRATICAID_2); - - boolean bindTipoIntegrazione = false; - - if (tipoIntegrazione == null) { - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_1); - } - else if (tipoIntegrazione.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_3); - } - else { - bindTipoIntegrazione = true; - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_2); - } - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_VALIDATA_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(intPraticaId); - - if (bindTipoIntegrazione) { - qPos.add(tipoIntegrazione); - } - - qPos.add(validata); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_INTPRATICAID_2 = - "boDettPratica.intPraticaId = ? AND "; - private static final String _FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_1 = - "boDettPratica.tipoIntegrazione IS NULL AND "; - private static final String _FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_2 = - "boDettPratica.tipoIntegrazione = ? AND "; - private static final String _FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_3 = - "(boDettPratica.tipoIntegrazione IS NULL OR boDettPratica.tipoIntegrazione = '') AND "; - private static final String _FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_VALIDATA_2 = - "boDettPratica.validata = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA = - new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByIntPraticaId_tipoIntegrazione_integrazione_validata", - new String[] { - Long.class.getName(), String.class.getName(), - Long.class.getName(), Boolean.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA = - new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByIntPraticaId_tipoIntegrazione_integrazione_validata", - new String[] { - Long.class.getName(), String.class.getName(), - Long.class.getName(), Boolean.class.getName() - }, - BoDettPraticaModelImpl.INTPRATICAID_COLUMN_BITMASK | - BoDettPraticaModelImpl.TIPOINTEGRAZIONE_COLUMN_BITMASK | - BoDettPraticaModelImpl.INTEGRAZIONE_COLUMN_BITMASK | - BoDettPraticaModelImpl.VALIDATA_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA = - new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByIntPraticaId_tipoIntegrazione_integrazione_validata", - new String[] { - Long.class.getName(), String.class.getName(), - Long.class.getName(), Boolean.class.getName() - }); - - /** - * Returns all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByIntPraticaId_tipoIntegrazione_integrazione_validata( - long intPraticaId, String tipoIntegrazione, long integrazione, - boolean validata) throws SystemException { - return findByIntPraticaId_tipoIntegrazione_integrazione_validata(intPraticaId, - tipoIntegrazione, integrazione, validata, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByIntPraticaId_tipoIntegrazione_integrazione_validata( - long intPraticaId, String tipoIntegrazione, long integrazione, - boolean validata, int start, int end) throws SystemException { - return findByIntPraticaId_tipoIntegrazione_integrazione_validata(intPraticaId, - tipoIntegrazione, integrazione, validata, start, end, null); - } - - /** - * Returns an ordered range of all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByIntPraticaId_tipoIntegrazione_integrazione_validata( - long intPraticaId, String tipoIntegrazione, long integrazione, - boolean validata, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA; - finderArgs = new Object[] { - intPraticaId, tipoIntegrazione, integrazione, validata - }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA; - finderArgs = new Object[] { - intPraticaId, tipoIntegrazione, integrazione, validata, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoDettPratica boDettPratica : list) { - if ((intPraticaId != boDettPratica.getIntPraticaId()) || - !Validator.equals(tipoIntegrazione, - boDettPratica.getTipoIntegrazione()) || - (integrazione != boDettPratica.getIntegrazione()) || - (validata != boDettPratica.getValidata())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(6); - } - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_INTPRATICAID_2); - - boolean bindTipoIntegrazione = false; - - if (tipoIntegrazione == null) { - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_1); - } - else if (tipoIntegrazione.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_3); - } - else { - bindTipoIntegrazione = true; - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_2); - } - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_INTEGRAZIONE_2); - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_VALIDATA_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoDettPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(intPraticaId); - - if (bindTipoIntegrazione) { - qPos.add(tipoIntegrazione); - } - - qPos.add(integrazione); - - qPos.add(validata); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByIntPraticaId_tipoIntegrazione_integrazione_validata_First( - long intPraticaId, String tipoIntegrazione, long integrazione, - boolean validata, OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchByIntPraticaId_tipoIntegrazione_integrazione_validata_First(intPraticaId, - tipoIntegrazione, integrazione, validata, orderByComparator); - - if (boDettPratica != null) { - return boDettPratica; - } - - StringBundler msg = new StringBundler(10); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("intPraticaId="); - msg.append(intPraticaId); - - msg.append(", tipoIntegrazione="); - msg.append(tipoIntegrazione); - - msg.append(", integrazione="); - msg.append(integrazione); - - msg.append(", validata="); - msg.append(validata); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByIntPraticaId_tipoIntegrazione_integrazione_validata_First( - long intPraticaId, String tipoIntegrazione, long integrazione, - boolean validata, OrderByComparator orderByComparator) - throws SystemException { - List list = findByIntPraticaId_tipoIntegrazione_integrazione_validata(intPraticaId, - tipoIntegrazione, integrazione, validata, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByIntPraticaId_tipoIntegrazione_integrazione_validata_Last( - long intPraticaId, String tipoIntegrazione, long integrazione, - boolean validata, OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchByIntPraticaId_tipoIntegrazione_integrazione_validata_Last(intPraticaId, - tipoIntegrazione, integrazione, validata, orderByComparator); - - if (boDettPratica != null) { - return boDettPratica; - } - - StringBundler msg = new StringBundler(10); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("intPraticaId="); - msg.append(intPraticaId); - - msg.append(", tipoIntegrazione="); - msg.append(tipoIntegrazione); - - msg.append(", integrazione="); - msg.append(integrazione); - - msg.append(", validata="); - msg.append(validata); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByIntPraticaId_tipoIntegrazione_integrazione_validata_Last( - long intPraticaId, String tipoIntegrazione, long integrazione, - boolean validata, OrderByComparator orderByComparator) - throws SystemException { - int count = countByIntPraticaId_tipoIntegrazione_integrazione_validata(intPraticaId, - tipoIntegrazione, integrazione, validata); - - if (count == 0) { - return null; - } - - List list = findByIntPraticaId_tipoIntegrazione_integrazione_validata(intPraticaId, - tipoIntegrazione, integrazione, validata, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica[] findByIntPraticaId_tipoIntegrazione_integrazione_validata_PrevAndNext( - long dettPraticaId, long intPraticaId, String tipoIntegrazione, - long integrazione, boolean validata, OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = findByPrimaryKey(dettPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoDettPratica[] array = new BoDettPraticaImpl[3]; - - array[0] = getByIntPraticaId_tipoIntegrazione_integrazione_validata_PrevAndNext(session, - boDettPratica, intPraticaId, tipoIntegrazione, - integrazione, validata, orderByComparator, true); - - array[1] = boDettPratica; - - array[2] = getByIntPraticaId_tipoIntegrazione_integrazione_validata_PrevAndNext(session, - boDettPratica, intPraticaId, tipoIntegrazione, - integrazione, validata, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoDettPratica getByIntPraticaId_tipoIntegrazione_integrazione_validata_PrevAndNext( - Session session, BoDettPratica boDettPratica, long intPraticaId, - String tipoIntegrazione, long integrazione, boolean validata, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_INTPRATICAID_2); - - boolean bindTipoIntegrazione = false; - - if (tipoIntegrazione == null) { - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_1); - } - else if (tipoIntegrazione.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_3); - } - else { - bindTipoIntegrazione = true; - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_2); - } - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_INTEGRAZIONE_2); - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_VALIDATA_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoDettPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(intPraticaId); - - if (bindTipoIntegrazione) { - qPos.add(tipoIntegrazione); - } - - qPos.add(integrazione); - - qPos.add(validata); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boDettPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ? from the database. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByIntPraticaId_tipoIntegrazione_integrazione_validata( - long intPraticaId, String tipoIntegrazione, long integrazione, - boolean validata) throws SystemException { - for (BoDettPratica boDettPratica : findByIntPraticaId_tipoIntegrazione_integrazione_validata( - intPraticaId, tipoIntegrazione, integrazione, validata, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boDettPratica); - } - } - - /** - * Returns the number of bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByIntPraticaId_tipoIntegrazione_integrazione_validata( - long intPraticaId, String tipoIntegrazione, long integrazione, - boolean validata) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA; - - Object[] finderArgs = new Object[] { - intPraticaId, tipoIntegrazione, integrazione, validata - }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(5); - - query.append(_SQL_COUNT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_INTPRATICAID_2); - - boolean bindTipoIntegrazione = false; - - if (tipoIntegrazione == null) { - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_1); - } - else if (tipoIntegrazione.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_3); - } - else { - bindTipoIntegrazione = true; - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_2); - } - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_INTEGRAZIONE_2); - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_VALIDATA_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(intPraticaId); - - if (bindTipoIntegrazione) { - qPos.add(tipoIntegrazione); - } - - qPos.add(integrazione); - - qPos.add(validata); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_INTPRATICAID_2 = - "boDettPratica.intPraticaId = ? AND "; - private static final String _FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_1 = - "boDettPratica.tipoIntegrazione IS NULL AND "; - private static final String _FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_2 = - "boDettPratica.tipoIntegrazione = ? AND "; - private static final String _FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_3 = - "(boDettPratica.tipoIntegrazione IS NULL OR boDettPratica.tipoIntegrazione = '') AND "; - private static final String _FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_INTEGRAZIONE_2 = - "boDettPratica.integrazione = ? AND "; - private static final String _FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_VALIDATA_2 = - "boDettPratica.validata = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_INTPRATICAID = - new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByIntPraticaId", - new String[] { - Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID = - new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByIntPraticaId", new String[] { Long.class.getName() }, - BoDettPraticaModelImpl.INTPRATICAID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_INTPRATICAID = new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByIntPraticaId", - new String[] { Long.class.getName() }); - - /** - * Returns all the bo dett praticas where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByIntPraticaId(long intPraticaId) - throws SystemException { - return findByIntPraticaId(intPraticaId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo dett praticas where intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByIntPraticaId(long intPraticaId, int start, - int end) throws SystemException { - return findByIntPraticaId(intPraticaId, start, end, null); - } - - /** - * Returns an ordered range of all the bo dett praticas where intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByIntPraticaId(long intPraticaId, int start, - int end, OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID; - finderArgs = new Object[] { intPraticaId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_INTPRATICAID; - finderArgs = new Object[] { - intPraticaId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoDettPratica boDettPratica : list) { - if ((intPraticaId != boDettPratica.getIntPraticaId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_INTPRATICAID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoDettPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(intPraticaId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByIntPraticaId_First(long intPraticaId, - OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchByIntPraticaId_First(intPraticaId, - orderByComparator); - - if (boDettPratica != null) { - return boDettPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("intPraticaId="); - msg.append(intPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByIntPraticaId_First(long intPraticaId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByIntPraticaId(intPraticaId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByIntPraticaId_Last(long intPraticaId, - OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchByIntPraticaId_Last(intPraticaId, - orderByComparator); - - if (boDettPratica != null) { - return boDettPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("intPraticaId="); - msg.append(intPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByIntPraticaId_Last(long intPraticaId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByIntPraticaId(intPraticaId); - - if (count == 0) { - return null; - } - - List list = findByIntPraticaId(intPraticaId, count - 1, - count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where intPraticaId = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica[] findByIntPraticaId_PrevAndNext(long dettPraticaId, - long intPraticaId, OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = findByPrimaryKey(dettPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoDettPratica[] array = new BoDettPraticaImpl[3]; - - array[0] = getByIntPraticaId_PrevAndNext(session, boDettPratica, - intPraticaId, orderByComparator, true); - - array[1] = boDettPratica; - - array[2] = getByIntPraticaId_PrevAndNext(session, boDettPratica, - intPraticaId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoDettPratica getByIntPraticaId_PrevAndNext(Session session, - BoDettPratica boDettPratica, long intPraticaId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_INTPRATICAID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoDettPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(intPraticaId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boDettPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo dett praticas where intPraticaId = ? from the database. - * - * @param intPraticaId the int pratica ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByIntPraticaId(long intPraticaId) - throws SystemException { - for (BoDettPratica boDettPratica : findByIntPraticaId(intPraticaId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boDettPratica); - } - } - - /** - * Returns the number of bo dett praticas where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByIntPraticaId(long intPraticaId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_INTPRATICAID; - - Object[] finderArgs = new Object[] { intPraticaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_INTPRATICAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(intPraticaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_INTPRATICAID_INTPRATICAID_2 = "boDettPratica.intPraticaId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA = - new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByC_G_CodicePagamento_Validata_Completa", - new String[] { - Long.class.getName(), Long.class.getName(), - String.class.getName(), Boolean.class.getName(), - Boolean.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA = - new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByC_G_CodicePagamento_Validata_Completa", - new String[] { - Long.class.getName(), Long.class.getName(), - String.class.getName(), Boolean.class.getName(), - Boolean.class.getName() - }, - BoDettPraticaModelImpl.COMPANYID_COLUMN_BITMASK | - BoDettPraticaModelImpl.GROUPID_COLUMN_BITMASK | - BoDettPraticaModelImpl.CODICEPAGAMENTO_COLUMN_BITMASK | - BoDettPraticaModelImpl.VALIDATA_COLUMN_BITMASK | - BoDettPraticaModelImpl.COMPLETA_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA = - new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByC_G_CodicePagamento_Validata_Completa", - new String[] { - Long.class.getName(), Long.class.getName(), - String.class.getName(), Boolean.class.getName(), - Boolean.class.getName() - }); - - /** - * Returns all the bo dett praticas where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_G_CodicePagamento_Validata_Completa( - long companyId, long groupId, String codicePagamento, boolean validata, - boolean completa) throws SystemException { - return findByC_G_CodicePagamento_Validata_Completa(companyId, groupId, - codicePagamento, validata, completa, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo dett praticas where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_G_CodicePagamento_Validata_Completa( - long companyId, long groupId, String codicePagamento, boolean validata, - boolean completa, int start, int end) throws SystemException { - return findByC_G_CodicePagamento_Validata_Completa(companyId, groupId, - codicePagamento, validata, completa, start, end, null); - } - - /** - * Returns an ordered range of all the bo dett praticas where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_G_CodicePagamento_Validata_Completa( - long companyId, long groupId, String codicePagamento, boolean validata, - boolean completa, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA; - finderArgs = new Object[] { - companyId, groupId, codicePagamento, validata, completa - }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA; - finderArgs = new Object[] { - companyId, groupId, codicePagamento, validata, completa, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoDettPratica boDettPratica : list) { - if ((companyId != boDettPratica.getCompanyId()) || - (groupId != boDettPratica.getGroupId()) || - !Validator.equals(codicePagamento, - boDettPratica.getCodicePagamento()) || - (validata != boDettPratica.getValidata()) || - (completa != boDettPratica.getCompleta())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(7 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(7); - } - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_GROUPID_2); - - boolean bindCodicePagamento = false; - - if (codicePagamento == null) { - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_CODICEPAGAMENTO_1); - } - else if (codicePagamento.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_CODICEPAGAMENTO_3); - } - else { - bindCodicePagamento = true; - - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_CODICEPAGAMENTO_2); - } - - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_VALIDATA_2); - - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_COMPLETA_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoDettPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - if (bindCodicePagamento) { - qPos.add(codicePagamento); - } - - qPos.add(validata); - - qPos.add(completa); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo dett pratica in the ordered set where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByC_G_CodicePagamento_Validata_Completa_First( - long companyId, long groupId, String codicePagamento, boolean validata, - boolean completa, OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchByC_G_CodicePagamento_Validata_Completa_First(companyId, - groupId, codicePagamento, validata, completa, orderByComparator); - - if (boDettPratica != null) { - return boDettPratica; - } - - StringBundler msg = new StringBundler(12); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(", codicePagamento="); - msg.append(codicePagamento); - - msg.append(", validata="); - msg.append(validata); - - msg.append(", completa="); - msg.append(completa); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - /** - * Returns the first bo dett pratica in the ordered set where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByC_G_CodicePagamento_Validata_Completa_First( - long companyId, long groupId, String codicePagamento, boolean validata, - boolean completa, OrderByComparator orderByComparator) - throws SystemException { - List list = findByC_G_CodicePagamento_Validata_Completa(companyId, - groupId, codicePagamento, validata, completa, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo dett pratica in the ordered set where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByC_G_CodicePagamento_Validata_Completa_Last( - long companyId, long groupId, String codicePagamento, boolean validata, - boolean completa, OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchByC_G_CodicePagamento_Validata_Completa_Last(companyId, - groupId, codicePagamento, validata, completa, orderByComparator); - - if (boDettPratica != null) { - return boDettPratica; - } - - StringBundler msg = new StringBundler(12); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(", codicePagamento="); - msg.append(codicePagamento); - - msg.append(", validata="); - msg.append(validata); - - msg.append(", completa="); - msg.append(completa); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - /** - * Returns the last bo dett pratica in the ordered set where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByC_G_CodicePagamento_Validata_Completa_Last( - long companyId, long groupId, String codicePagamento, boolean validata, - boolean completa, OrderByComparator orderByComparator) - throws SystemException { - int count = countByC_G_CodicePagamento_Validata_Completa(companyId, - groupId, codicePagamento, validata, completa); - - if (count == 0) { - return null; - } - - List list = findByC_G_CodicePagamento_Validata_Completa(companyId, - groupId, codicePagamento, validata, completa, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica[] findByC_G_CodicePagamento_Validata_Completa_PrevAndNext( - long dettPraticaId, long companyId, long groupId, - String codicePagamento, boolean validata, boolean completa, - OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = findByPrimaryKey(dettPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoDettPratica[] array = new BoDettPraticaImpl[3]; - - array[0] = getByC_G_CodicePagamento_Validata_Completa_PrevAndNext(session, - boDettPratica, companyId, groupId, codicePagamento, - validata, completa, orderByComparator, true); - - array[1] = boDettPratica; - - array[2] = getByC_G_CodicePagamento_Validata_Completa_PrevAndNext(session, - boDettPratica, companyId, groupId, codicePagamento, - validata, completa, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoDettPratica getByC_G_CodicePagamento_Validata_Completa_PrevAndNext( - Session session, BoDettPratica boDettPratica, long companyId, - long groupId, String codicePagamento, boolean validata, - boolean completa, OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_GROUPID_2); - - boolean bindCodicePagamento = false; - - if (codicePagamento == null) { - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_CODICEPAGAMENTO_1); - } - else if (codicePagamento.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_CODICEPAGAMENTO_3); - } - else { - bindCodicePagamento = true; - - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_CODICEPAGAMENTO_2); - } - - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_VALIDATA_2); - - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_COMPLETA_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoDettPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - if (bindCodicePagamento) { - qPos.add(codicePagamento); - } - - qPos.add(validata); - - qPos.add(completa); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boDettPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo dett praticas where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByC_G_CodicePagamento_Validata_Completa(long companyId, - long groupId, String codicePagamento, boolean validata, boolean completa) - throws SystemException { - for (BoDettPratica boDettPratica : findByC_G_CodicePagamento_Validata_Completa( - companyId, groupId, codicePagamento, validata, completa, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boDettPratica); - } - } - - /** - * Returns the number of bo dett praticas where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_G_CodicePagamento_Validata_Completa(long companyId, - long groupId, String codicePagamento, boolean validata, boolean completa) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA; - - Object[] finderArgs = new Object[] { - companyId, groupId, codicePagamento, validata, completa - }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(6); - - query.append(_SQL_COUNT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_GROUPID_2); - - boolean bindCodicePagamento = false; - - if (codicePagamento == null) { - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_CODICEPAGAMENTO_1); - } - else if (codicePagamento.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_CODICEPAGAMENTO_3); - } - else { - bindCodicePagamento = true; - - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_CODICEPAGAMENTO_2); - } - - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_VALIDATA_2); - - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_COMPLETA_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - if (bindCodicePagamento) { - qPos.add(codicePagamento); - } - - qPos.add(validata); - - qPos.add(completa); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_COMPANYID_2 = - "boDettPratica.companyId = ? AND "; - private static final String _FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_GROUPID_2 = - "boDettPratica.groupId = ? AND "; - private static final String _FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_CODICEPAGAMENTO_1 = - "boDettPratica.codicePagamento IS NULL AND "; - private static final String _FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_CODICEPAGAMENTO_2 = - "boDettPratica.codicePagamento = ? AND "; - private static final String _FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_CODICEPAGAMENTO_3 = - "(boDettPratica.codicePagamento IS NULL OR boDettPratica.codicePagamento = '') AND "; - private static final String _FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_VALIDATA_2 = - "boDettPratica.validata = ? AND "; - private static final String _FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_COMPLETA_2 = - "boDettPratica.completa = ?"; - public static final FinderPath FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO = new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_ENTITY, - "fetchByC_G_Protocollo", - new String[] { - Long.class.getName(), Long.class.getName(), - String.class.getName() - }, - BoDettPraticaModelImpl.COMPANYID_COLUMN_BITMASK | - BoDettPraticaModelImpl.GROUPID_COLUMN_BITMASK | - BoDettPraticaModelImpl.PROTOCOLLO_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_C_G_PROTOCOLLO = new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByC_G_Protocollo", - new String[] { - Long.class.getName(), Long.class.getName(), - String.class.getName() - }); - - /** - * Returns the bo dett pratica where companyId = ? and groupId = ? and protocollo = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException} if it could not be found. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByC_G_Protocollo(long companyId, long groupId, - String protocollo) throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchByC_G_Protocollo(companyId, groupId, - protocollo); - - if (boDettPratica == null) { - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(", protocollo="); - msg.append(protocollo); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - return boDettPratica; - } - - /** - * Returns the bo dett pratica where companyId = ? and groupId = ? and protocollo = ? or returns null if it could not be found. Uses the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByC_G_Protocollo(long companyId, long groupId, - String protocollo) throws SystemException { - return fetchByC_G_Protocollo(companyId, groupId, protocollo, true); - } - - /** - * Returns the bo dett pratica where companyId = ? and groupId = ? and protocollo = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByC_G_Protocollo(long companyId, long groupId, - String protocollo, boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { companyId, groupId, protocollo }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, - finderArgs, this); - } - - if (result instanceof BoDettPratica) { - BoDettPratica boDettPratica = (BoDettPratica)result; - - if ((companyId != boDettPratica.getCompanyId()) || - (groupId != boDettPratica.getGroupId()) || - !Validator.equals(protocollo, boDettPratica.getProtocollo())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(5); - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_GROUPID_2); - - boolean bindProtocollo = false; - - if (protocollo == null) { - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_1); - } - else if (protocollo.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_3); - } - else { - bindProtocollo = true; - - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - if (bindProtocollo) { - qPos.add(protocollo); - } - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, - finderArgs, list); - } - else { - if ((list.size() > 1) && _log.isWarnEnabled()) { - _log.warn( - "BoDettPraticaPersistenceImpl.fetchByC_G_Protocollo(long, long, String, boolean) with parameters (" + - StringUtil.merge(finderArgs) + - ") yields a result set with more than 1 result. This violates the logical unique restriction. There is no order guarantee on which result is returned by this finder."); - } - - BoDettPratica boDettPratica = list.get(0); - - result = boDettPratica; - - cacheResult(boDettPratica); - - if ((boDettPratica.getCompanyId() != companyId) || - (boDettPratica.getGroupId() != groupId) || - (boDettPratica.getProtocollo() == null) || - !boDettPratica.getProtocollo().equals(protocollo)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, - finderArgs, boDettPratica); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoDettPratica)result; - } - } - - /** - * Removes the bo dett pratica where companyId = ? and groupId = ? and protocollo = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the bo dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica removeByC_G_Protocollo(long companyId, long groupId, - String protocollo) throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = findByC_G_Protocollo(companyId, groupId, - protocollo); - - return remove(boDettPratica); - } - - /** - * Returns the number of bo dett praticas where companyId = ? and groupId = ? and protocollo = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_G_Protocollo(long companyId, long groupId, - String protocollo) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_C_G_PROTOCOLLO; - - Object[] finderArgs = new Object[] { companyId, groupId, protocollo }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_COUNT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_GROUPID_2); - - boolean bindProtocollo = false; - - if (protocollo == null) { - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_1); - } - else if (protocollo.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_3); - } - else { - bindProtocollo = true; - - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - if (bindProtocollo) { - qPos.add(protocollo); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_C_G_PROTOCOLLO_COMPANYID_2 = "boDettPratica.companyId = ? AND "; - private static final String _FINDER_COLUMN_C_G_PROTOCOLLO_GROUPID_2 = "boDettPratica.groupId = ? AND "; - private static final String _FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_1 = "boDettPratica.protocollo IS NULL"; - private static final String _FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_2 = "boDettPratica.protocollo = ?"; - private static final String _FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_3 = "(boDettPratica.protocollo IS NULL OR boDettPratica.protocollo = '')"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA = - new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findBySoggettoSostituitoId_Validata_Completa", - new String[] { - Long.class.getName(), Boolean.class.getName(), - Boolean.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA = - new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findBySoggettoSostituitoId_Validata_Completa", - new String[] { - Long.class.getName(), Boolean.class.getName(), - Boolean.class.getName() - }, - BoDettPraticaModelImpl.SOGGETTOSOSTITUITOID_COLUMN_BITMASK | - BoDettPraticaModelImpl.VALIDATA_COLUMN_BITMASK | - BoDettPraticaModelImpl.COMPLETA_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA = - new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countBySoggettoSostituitoId_Validata_Completa", - new String[] { - Long.class.getName(), Boolean.class.getName(), - Boolean.class.getName() - }); - - /** - * Returns all the bo dett praticas where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findBySoggettoSostituitoId_Validata_Completa( - long soggettoSostituitoId, boolean validata, boolean completa) - throws SystemException { - return findBySoggettoSostituitoId_Validata_Completa(soggettoSostituitoId, - validata, completa, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo dett praticas where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findBySoggettoSostituitoId_Validata_Completa( - long soggettoSostituitoId, boolean validata, boolean completa, - int start, int end) throws SystemException { - return findBySoggettoSostituitoId_Validata_Completa(soggettoSostituitoId, - validata, completa, start, end, null); - } - - /** - * Returns an ordered range of all the bo dett praticas where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findBySoggettoSostituitoId_Validata_Completa( - long soggettoSostituitoId, boolean validata, boolean completa, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA; - finderArgs = new Object[] { soggettoSostituitoId, validata, completa }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA; - finderArgs = new Object[] { - soggettoSostituitoId, validata, completa, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoDettPratica boDettPratica : list) { - if ((soggettoSostituitoId != boDettPratica.getSoggettoSostituitoId()) || - (validata != boDettPratica.getValidata()) || - (completa != boDettPratica.getCompleta())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(5 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(5); - } - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA_SOGGETTOSOSTITUITOID_2); - - query.append(_FINDER_COLUMN_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA_VALIDATA_2); - - query.append(_FINDER_COLUMN_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA_COMPLETA_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoDettPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(soggettoSostituitoId); - - qPos.add(validata); - - qPos.add(completa); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo dett pratica in the ordered set where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findBySoggettoSostituitoId_Validata_Completa_First( - long soggettoSostituitoId, boolean validata, boolean completa, - OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchBySoggettoSostituitoId_Validata_Completa_First(soggettoSostituitoId, - validata, completa, orderByComparator); - - if (boDettPratica != null) { - return boDettPratica; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("soggettoSostituitoId="); - msg.append(soggettoSostituitoId); - - msg.append(", validata="); - msg.append(validata); - - msg.append(", completa="); - msg.append(completa); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - /** - * Returns the first bo dett pratica in the ordered set where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchBySoggettoSostituitoId_Validata_Completa_First( - long soggettoSostituitoId, boolean validata, boolean completa, - OrderByComparator orderByComparator) throws SystemException { - List list = findBySoggettoSostituitoId_Validata_Completa(soggettoSostituitoId, - validata, completa, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo dett pratica in the ordered set where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findBySoggettoSostituitoId_Validata_Completa_Last( - long soggettoSostituitoId, boolean validata, boolean completa, - OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchBySoggettoSostituitoId_Validata_Completa_Last(soggettoSostituitoId, - validata, completa, orderByComparator); - - if (boDettPratica != null) { - return boDettPratica; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("soggettoSostituitoId="); - msg.append(soggettoSostituitoId); - - msg.append(", validata="); - msg.append(validata); - - msg.append(", completa="); - msg.append(completa); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - /** - * Returns the last bo dett pratica in the ordered set where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchBySoggettoSostituitoId_Validata_Completa_Last( - long soggettoSostituitoId, boolean validata, boolean completa, - OrderByComparator orderByComparator) throws SystemException { - int count = countBySoggettoSostituitoId_Validata_Completa(soggettoSostituitoId, - validata, completa); - - if (count == 0) { - return null; - } - - List list = findBySoggettoSostituitoId_Validata_Completa(soggettoSostituitoId, - validata, completa, count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica[] findBySoggettoSostituitoId_Validata_Completa_PrevAndNext( - long dettPraticaId, long soggettoSostituitoId, boolean validata, - boolean completa, OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = findByPrimaryKey(dettPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoDettPratica[] array = new BoDettPraticaImpl[3]; - - array[0] = getBySoggettoSostituitoId_Validata_Completa_PrevAndNext(session, - boDettPratica, soggettoSostituitoId, validata, completa, - orderByComparator, true); - - array[1] = boDettPratica; - - array[2] = getBySoggettoSostituitoId_Validata_Completa_PrevAndNext(session, - boDettPratica, soggettoSostituitoId, validata, completa, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoDettPratica getBySoggettoSostituitoId_Validata_Completa_PrevAndNext( - Session session, BoDettPratica boDettPratica, - long soggettoSostituitoId, boolean validata, boolean completa, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA_SOGGETTOSOSTITUITOID_2); - - query.append(_FINDER_COLUMN_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA_VALIDATA_2); - - query.append(_FINDER_COLUMN_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA_COMPLETA_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoDettPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(soggettoSostituitoId); - - qPos.add(validata); - - qPos.add(completa); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boDettPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo dett praticas where soggettoSostituitoId = ? and validata = ? and completa = ? from the database. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @throws SystemException if a system exception occurred - */ - @Override - public void removeBySoggettoSostituitoId_Validata_Completa( - long soggettoSostituitoId, boolean validata, boolean completa) - throws SystemException { - for (BoDettPratica boDettPratica : findBySoggettoSostituitoId_Validata_Completa( - soggettoSostituitoId, validata, completa, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(boDettPratica); - } - } - - /** - * Returns the number of bo dett praticas where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countBySoggettoSostituitoId_Validata_Completa( - long soggettoSostituitoId, boolean validata, boolean completa) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA; - - Object[] finderArgs = new Object[] { - soggettoSostituitoId, validata, completa - }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_COUNT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA_SOGGETTOSOSTITUITOID_2); - - query.append(_FINDER_COLUMN_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA_VALIDATA_2); - - query.append(_FINDER_COLUMN_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA_COMPLETA_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(soggettoSostituitoId); - - qPos.add(validata); - - qPos.add(completa); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA_SOGGETTOSOSTITUITOID_2 = - "boDettPratica.soggettoSostituitoId = ? AND "; - private static final String _FINDER_COLUMN_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA_VALIDATA_2 = - "boDettPratica.validata = ? AND "; - private static final String _FINDER_COLUMN_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA_COMPLETA_2 = - "boDettPratica.completa = ?"; - - public BoDettPraticaPersistenceImpl() { - setModelClass(BoDettPratica.class); - } - - /** - * Caches the bo dett pratica in the entity cache if it is enabled. - * - * @param boDettPratica the bo dett pratica - */ - @Override - public void cacheResult(BoDettPratica boDettPratica) { - EntityCacheUtil.putResult(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaImpl.class, boDettPratica.getPrimaryKey(), - boDettPratica); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - new Object[] { boDettPratica.getUuid(), boDettPratica.getGroupId() }, - boDettPratica); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODPRATICASUAP, - new Object[] { boDettPratica.getCodPraticaSuap() }, boDettPratica); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, - new Object[] { - boDettPratica.getCompanyId(), boDettPratica.getGroupId(), - boDettPratica.getProtocollo() - }, boDettPratica); - - boDettPratica.resetOriginalValues(); - } - - /** - * Caches the bo dett praticas in the entity cache if it is enabled. - * - * @param boDettPraticas the bo dett praticas - */ - @Override - public void cacheResult(List boDettPraticas) { - for (BoDettPratica boDettPratica : boDettPraticas) { - if (EntityCacheUtil.getResult( - BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaImpl.class, boDettPratica.getPrimaryKey()) == null) { - cacheResult(boDettPratica); - } - else { - boDettPratica.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all bo dett praticas. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(BoDettPraticaImpl.class.getName()); - } - - EntityCacheUtil.clearCache(BoDettPraticaImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the bo dett pratica. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(BoDettPratica boDettPratica) { - EntityCacheUtil.removeResult(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaImpl.class, boDettPratica.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(boDettPratica); - } - - @Override - public void clearCache(List boDettPraticas) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (BoDettPratica boDettPratica : boDettPraticas) { - EntityCacheUtil.removeResult(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaImpl.class, boDettPratica.getPrimaryKey()); - - clearUniqueFindersCache(boDettPratica); - } - } - - protected void cacheUniqueFindersCache(BoDettPratica boDettPratica) { - if (boDettPratica.isNew()) { - Object[] args = new Object[] { - boDettPratica.getUuid(), boDettPratica.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - boDettPratica); - - args = new Object[] { boDettPratica.getCodPraticaSuap() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_CODPRATICASUAP, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODPRATICASUAP, - args, boDettPratica); - - args = new Object[] { - boDettPratica.getCompanyId(), boDettPratica.getGroupId(), - boDettPratica.getProtocollo() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_C_G_PROTOCOLLO, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, - args, boDettPratica); - } - else { - BoDettPraticaModelImpl boDettPraticaModelImpl = (BoDettPraticaModelImpl)boDettPratica; - - if ((boDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDettPratica.getUuid(), boDettPratica.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - boDettPratica); - } - - if ((boDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_CODPRATICASUAP.getColumnBitmask()) != 0) { - Object[] args = new Object[] { boDettPratica.getCodPraticaSuap() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_CODPRATICASUAP, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODPRATICASUAP, - args, boDettPratica); - } - - if ((boDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDettPratica.getCompanyId(), boDettPratica.getGroupId(), - boDettPratica.getProtocollo() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_C_G_PROTOCOLLO, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, - args, boDettPratica); - } - } - } - - protected void clearUniqueFindersCache(BoDettPratica boDettPratica) { - BoDettPraticaModelImpl boDettPraticaModelImpl = (BoDettPraticaModelImpl)boDettPratica; - - Object[] args = new Object[] { - boDettPratica.getUuid(), boDettPratica.getGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - - if ((boDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - args = new Object[] { - boDettPraticaModelImpl.getOriginalUuid(), - boDettPraticaModelImpl.getOriginalGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - } - - args = new Object[] { boDettPratica.getCodPraticaSuap() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CODPRATICASUAP, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODPRATICASUAP, args); - - if ((boDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_CODPRATICASUAP.getColumnBitmask()) != 0) { - args = new Object[] { - boDettPraticaModelImpl.getOriginalCodPraticaSuap() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CODPRATICASUAP, - args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODPRATICASUAP, - args); - } - - args = new Object[] { - boDettPratica.getCompanyId(), boDettPratica.getGroupId(), - boDettPratica.getProtocollo() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_G_PROTOCOLLO, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, args); - - if ((boDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO.getColumnBitmask()) != 0) { - args = new Object[] { - boDettPraticaModelImpl.getOriginalCompanyId(), - boDettPraticaModelImpl.getOriginalGroupId(), - boDettPraticaModelImpl.getOriginalProtocollo() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_G_PROTOCOLLO, - args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, - args); - } - } - - /** - * Creates a new bo dett pratica with the primary key. Does not add the bo dett pratica to the database. - * - * @param dettPraticaId the primary key for the new bo dett pratica - * @return the new bo dett pratica - */ - @Override - public BoDettPratica create(long dettPraticaId) { - BoDettPratica boDettPratica = new BoDettPraticaImpl(); - - boDettPratica.setNew(true); - boDettPratica.setPrimaryKey(dettPraticaId); - - String uuid = PortalUUIDUtil.generate(); - - boDettPratica.setUuid(uuid); - - return boDettPratica; - } - - /** - * Removes the bo dett pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param dettPraticaId the primary key of the bo dett pratica - * @return the bo dett pratica that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica remove(long dettPraticaId) - throws NoSuchBoDettPraticaException, SystemException { - return remove((Serializable)dettPraticaId); - } - - /** - * Removes the bo dett pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the bo dett pratica - * @return the bo dett pratica that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica remove(Serializable primaryKey) - throws NoSuchBoDettPraticaException, SystemException { - Session session = null; - - try { - session = openSession(); - - BoDettPratica boDettPratica = (BoDettPratica)session.get(BoDettPraticaImpl.class, - primaryKey); - - if (boDettPratica == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoDettPraticaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(boDettPratica); - } - catch (NoSuchBoDettPraticaException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected BoDettPratica removeImpl(BoDettPratica boDettPratica) - throws SystemException { - boDettPratica = toUnwrappedModel(boDettPratica); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(boDettPratica)) { - boDettPratica = (BoDettPratica)session.get(BoDettPraticaImpl.class, - boDettPratica.getPrimaryKeyObj()); - } - - if (boDettPratica != null) { - session.delete(boDettPratica); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (boDettPratica != null) { - clearCache(boDettPratica); - } - - return boDettPratica; - } - - @Override - public BoDettPratica updateImpl( - it.tref.liferay.portos.importazione.model.BoDettPratica boDettPratica) - throws SystemException { - boDettPratica = toUnwrappedModel(boDettPratica); - - boolean isNew = boDettPratica.isNew(); - - BoDettPraticaModelImpl boDettPraticaModelImpl = (BoDettPraticaModelImpl)boDettPratica; - - if (Validator.isNull(boDettPratica.getUuid())) { - String uuid = PortalUUIDUtil.generate(); - - boDettPratica.setUuid(uuid); - } - - Session session = null; - - try { - session = openSession(); - - if (boDettPratica.isNew()) { - session.save(boDettPratica); - - boDettPratica.setNew(false); - } - else { - session.merge(boDettPratica); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !BoDettPraticaModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((boDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDettPraticaModelImpl.getOriginalUuid() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - - args = new Object[] { boDettPraticaModelImpl.getUuid() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - } - - if ((boDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDettPraticaModelImpl.getOriginalUuid(), - boDettPraticaModelImpl.getOriginalCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - - args = new Object[] { - boDettPraticaModelImpl.getUuid(), - boDettPraticaModelImpl.getCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - } - - if ((boDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID_INTEGRAZIONE_VALIDATA.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDettPraticaModelImpl.getOriginalIntPraticaId(), - boDettPraticaModelImpl.getOriginalIntegrazione(), - boDettPraticaModelImpl.getOriginalValidata() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_INTPRATICAID_INTEGRAZIONE_VALIDATA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID_INTEGRAZIONE_VALIDATA, - args); - - args = new Object[] { - boDettPraticaModelImpl.getIntPraticaId(), - boDettPraticaModelImpl.getIntegrazione(), - boDettPraticaModelImpl.getValidata() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_INTPRATICAID_INTEGRAZIONE_VALIDATA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID_INTEGRAZIONE_VALIDATA, - args); - } - - if ((boDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDettPraticaModelImpl.getOriginalIntPraticaId(), - boDettPraticaModelImpl.getOriginalTipoIntegrazione(), - boDettPraticaModelImpl.getOriginalValidata() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA, - args); - - args = new Object[] { - boDettPraticaModelImpl.getIntPraticaId(), - boDettPraticaModelImpl.getTipoIntegrazione(), - boDettPraticaModelImpl.getValidata() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA, - args); - } - - if ((boDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDettPraticaModelImpl.getOriginalIntPraticaId(), - boDettPraticaModelImpl.getOriginalTipoIntegrazione(), - boDettPraticaModelImpl.getOriginalIntegrazione(), - boDettPraticaModelImpl.getOriginalValidata() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA, - args); - - args = new Object[] { - boDettPraticaModelImpl.getIntPraticaId(), - boDettPraticaModelImpl.getTipoIntegrazione(), - boDettPraticaModelImpl.getIntegrazione(), - boDettPraticaModelImpl.getValidata() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA, - args); - } - - if ((boDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDettPraticaModelImpl.getOriginalIntPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_INTPRATICAID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID, - args); - - args = new Object[] { boDettPraticaModelImpl.getIntPraticaId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_INTPRATICAID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID, - args); - } - - if ((boDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDettPraticaModelImpl.getOriginalCompanyId(), - boDettPraticaModelImpl.getOriginalGroupId(), - boDettPraticaModelImpl.getOriginalCodicePagamento(), - boDettPraticaModelImpl.getOriginalValidata(), - boDettPraticaModelImpl.getOriginalCompleta() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA, - args); - - args = new Object[] { - boDettPraticaModelImpl.getCompanyId(), - boDettPraticaModelImpl.getGroupId(), - boDettPraticaModelImpl.getCodicePagamento(), - boDettPraticaModelImpl.getValidata(), - boDettPraticaModelImpl.getCompleta() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA, - args); - } - - if ((boDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDettPraticaModelImpl.getOriginalSoggettoSostituitoId(), - boDettPraticaModelImpl.getOriginalValidata(), - boDettPraticaModelImpl.getOriginalCompleta() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA, - args); - - args = new Object[] { - boDettPraticaModelImpl.getSoggettoSostituitoId(), - boDettPraticaModelImpl.getValidata(), - boDettPraticaModelImpl.getCompleta() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA, - args); - } - } - - EntityCacheUtil.putResult(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaImpl.class, boDettPratica.getPrimaryKey(), - boDettPratica); - - clearUniqueFindersCache(boDettPratica); - cacheUniqueFindersCache(boDettPratica); - - return boDettPratica; - } - - protected BoDettPratica toUnwrappedModel(BoDettPratica boDettPratica) { - if (boDettPratica instanceof BoDettPraticaImpl) { - return boDettPratica; - } - - BoDettPraticaImpl boDettPraticaImpl = new BoDettPraticaImpl(); - - boDettPraticaImpl.setNew(boDettPratica.isNew()); - boDettPraticaImpl.setPrimaryKey(boDettPratica.getPrimaryKey()); - - boDettPraticaImpl.setUuid(boDettPratica.getUuid()); - boDettPraticaImpl.setDettPraticaId(boDettPratica.getDettPraticaId()); - boDettPraticaImpl.setCompanyId(boDettPratica.getCompanyId()); - boDettPraticaImpl.setUserId(boDettPratica.getUserId()); - boDettPraticaImpl.setUserName(boDettPratica.getUserName()); - boDettPraticaImpl.setCreateDate(boDettPratica.getCreateDate()); - boDettPraticaImpl.setModifiedDate(boDettPratica.getModifiedDate()); - boDettPraticaImpl.setGroupId(boDettPratica.getGroupId()); - boDettPraticaImpl.setIntPraticaId(boDettPratica.getIntPraticaId()); - boDettPraticaImpl.setIntegrazione(boDettPratica.getIntegrazione()); - boDettPraticaImpl.setSuapCode(boDettPratica.getSuapCode()); - boDettPraticaImpl.setValidata(boDettPratica.isValidata()); - boDettPraticaImpl.setCodPraticaSuap(boDettPratica.getCodPraticaSuap()); - boDettPraticaImpl.setProtocollo(boDettPratica.getProtocollo()); - boDettPraticaImpl.setTipoIntegrazione(boDettPratica.getTipoIntegrazione()); - boDettPraticaImpl.setCompleta(boDettPratica.isCompleta()); - boDettPraticaImpl.setGestita(boDettPratica.isGestita()); - boDettPraticaImpl.setCodicePagamento(boDettPratica.getCodicePagamento()); - boDettPraticaImpl.setCausalePagamento(boDettPratica.getCausalePagamento()); - boDettPraticaImpl.setMezzoPagamento(boDettPratica.getMezzoPagamento()); - boDettPraticaImpl.setImportoBolli(boDettPratica.getImportoBolli()); - boDettPraticaImpl.setImportoSpeseIstruttoria(boDettPratica.getImportoSpeseIstruttoria()); - boDettPraticaImpl.setDataEffettuazione(boDettPratica.getDataEffettuazione()); - boDettPraticaImpl.setEsenzioneBolli(boDettPratica.isEsenzioneBolli()); - boDettPraticaImpl.setEsenzioneSpeseIstruttoria(boDettPratica.isEsenzioneSpeseIstruttoria()); - boDettPraticaImpl.setStatus(boDettPratica.getStatus()); - boDettPraticaImpl.setStatusByUserId(boDettPratica.getStatusByUserId()); - boDettPraticaImpl.setStatusByUserName(boDettPratica.getStatusByUserName()); - boDettPraticaImpl.setStatusDate(boDettPratica.getStatusDate()); - boDettPraticaImpl.setStatusTask(boDettPratica.getStatusTask()); - boDettPraticaImpl.setWorkflowForzato(boDettPratica.isWorkflowForzato()); - boDettPraticaImpl.setSoggettoSostituitoId(boDettPratica.getSoggettoSostituitoId()); - - return boDettPraticaImpl; - } - - /** - * Returns the bo dett pratica with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the bo dett pratica - * @return the bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByPrimaryKey(Serializable primaryKey) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchByPrimaryKey(primaryKey); - - if (boDettPratica == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoDettPraticaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return boDettPratica; - } - - /** - * Returns the bo dett pratica with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException} if it could not be found. - * - * @param dettPraticaId the primary key of the bo dett pratica - * @return the bo dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByPrimaryKey(long dettPraticaId) - throws NoSuchBoDettPraticaException, SystemException { - return findByPrimaryKey((Serializable)dettPraticaId); - } - - /** - * Returns the bo dett pratica with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the bo dett pratica - * @return the bo dett pratica, or null if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - BoDettPratica boDettPratica = (BoDettPratica)EntityCacheUtil.getResult(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaImpl.class, primaryKey); - - if (boDettPratica == _nullBoDettPratica) { - return null; - } - - if (boDettPratica == null) { - Session session = null; - - try { - session = openSession(); - - boDettPratica = (BoDettPratica)session.get(BoDettPraticaImpl.class, - primaryKey); - - if (boDettPratica != null) { - cacheResult(boDettPratica); - } - else { - EntityCacheUtil.putResult(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaImpl.class, primaryKey, _nullBoDettPratica); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return boDettPratica; - } - - /** - * Returns the bo dett pratica with the primary key or returns null if it could not be found. - * - * @param dettPraticaId the primary key of the bo dett pratica - * @return the bo dett pratica, or null if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByPrimaryKey(long dettPraticaId) - throws SystemException { - return fetchByPrimaryKey((Serializable)dettPraticaId); - } - - /** - * Returns all the bo dett praticas. - * - * @return the bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the bo dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_BODETTPRATICA); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_BODETTPRATICA; - - if (pagination) { - sql = sql.concat(BoDettPraticaModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the bo dett praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (BoDettPratica boDettPratica : findAll()) { - remove(boDettPratica); - } - } - - /** - * Returns the number of bo dett praticas. - * - * @return the number of bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_BODETTPRATICA); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - @Override - protected Set getBadColumnNames() { - return _badColumnNames; - } - - /** - * Initializes the bo dett pratica persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.importazione.model.BoDettPratica"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(BoDettPraticaImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_BODETTPRATICA = "SELECT boDettPratica FROM BoDettPratica boDettPratica"; - private static final String _SQL_SELECT_BODETTPRATICA_WHERE = "SELECT boDettPratica FROM BoDettPratica boDettPratica WHERE "; - private static final String _SQL_COUNT_BODETTPRATICA = "SELECT COUNT(boDettPratica) FROM BoDettPratica boDettPratica"; - private static final String _SQL_COUNT_BODETTPRATICA_WHERE = "SELECT COUNT(boDettPratica) FROM BoDettPratica boDettPratica WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "boDettPratica."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No BoDettPratica exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No BoDettPratica exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(BoDettPraticaPersistenceImpl.class); - private static Set _badColumnNames = SetUtil.fromArray(new String[] { - "uuid" - }); - private static BoDettPratica _nullBoDettPratica = new BoDettPraticaImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullBoDettPraticaCacheModel; - } - }; - - private static CacheModel _nullBoDettPraticaCacheModel = new CacheModel() { - @Override - public BoDettPratica toEntityModel() { - return _nullBoDettPratica; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoDocPraticaPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoDocPraticaPersistenceImpl.java deleted file mode 100644 index efa3a687..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoDocPraticaPersistenceImpl.java +++ /dev/null @@ -1,5923 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.ArrayUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.SetUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.kernel.uuid.PortalUUIDUtil; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException; -import it.tref.liferay.portos.importazione.model.BoDocPratica; -import it.tref.liferay.portos.importazione.model.impl.BoDocPraticaImpl; -import it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl; -import it.tref.liferay.portos.importazione.service.persistence.BoDocPraticaPersistence; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Set; - -/** - * The persistence implementation for the bo doc pratica service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoDocPraticaPersistence - * @see BoDocPraticaUtil - * @generated - */ -public class BoDocPraticaPersistenceImpl extends BasePersistenceImpl - implements BoDocPraticaPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link BoDocPraticaUtil} to access the bo doc pratica persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = BoDocPraticaImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, BoDocPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, BoDocPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID = new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, BoDocPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByUuid", - new String[] { - String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID = new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, BoDocPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByUuid", - new String[] { String.class.getName() }, - BoDocPraticaModelImpl.UUID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID = new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid", - new String[] { String.class.getName() }); - - /** - * Returns all the bo doc praticas where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid) throws SystemException { - return findByUuid(uuid, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo doc praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end) - throws SystemException { - return findByUuid(uuid, start, end, null); - } - - /** - * Returns an ordered range of all the bo doc praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoDocPratica boDocPratica : list) { - if (!Validator.equals(uuid, boDocPratica.getUuid())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BODOCPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoDocPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo doc pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica findByUuid_First(String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = fetchByUuid_First(uuid, orderByComparator); - - if (boDocPratica != null) { - return boDocPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDocPraticaException(msg.toString()); - } - - /** - * Returns the first bo doc pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByUuid_First(String uuid, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid(uuid, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo doc pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica findByUuid_Last(String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = fetchByUuid_Last(uuid, orderByComparator); - - if (boDocPratica != null) { - return boDocPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDocPraticaException(msg.toString()); - } - - /** - * Returns the last bo doc pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByUuid_Last(String uuid, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid(uuid); - - if (count == 0) { - return null; - } - - List list = findByUuid(uuid, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo doc praticas before and after the current bo doc pratica in the ordered set where uuid = ?. - * - * @param docPraticaId the primary key of the current bo doc pratica - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica[] findByUuid_PrevAndNext(long docPraticaId, - String uuid, OrderByComparator orderByComparator) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = findByPrimaryKey(docPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoDocPratica[] array = new BoDocPraticaImpl[3]; - - array[0] = getByUuid_PrevAndNext(session, boDocPratica, uuid, - orderByComparator, true); - - array[1] = boDocPratica; - - array[2] = getByUuid_PrevAndNext(session, boDocPratica, uuid, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoDocPratica getByUuid_PrevAndNext(Session session, - BoDocPratica boDocPratica, String uuid, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BODOCPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoDocPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boDocPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo doc praticas where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid(String uuid) throws SystemException { - for (BoDocPratica boDocPratica : findByUuid(uuid, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(boDocPratica); - } - } - - /** - * Returns the number of bo doc praticas where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid(String uuid) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID; - - Object[] finderArgs = new Object[] { uuid }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BODOCPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_UUID_1 = "boDocPratica.uuid IS NULL"; - private static final String _FINDER_COLUMN_UUID_UUID_2 = "boDocPratica.uuid = ?"; - private static final String _FINDER_COLUMN_UUID_UUID_3 = "(boDocPratica.uuid IS NULL OR boDocPratica.uuid = '')"; - public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G = new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, BoDocPraticaImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }, - BoDocPraticaModelImpl.UUID_COLUMN_BITMASK | - BoDocPraticaModelImpl.GROUPID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G = new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns the bo doc pratica where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica findByUUID_G(String uuid, long groupId) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = fetchByUUID_G(uuid, groupId); - - if (boDocPratica == null) { - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoDocPraticaException(msg.toString()); - } - - return boDocPratica; - } - - /** - * Returns the bo doc pratica where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByUUID_G(String uuid, long groupId) - throws SystemException { - return fetchByUUID_G(uuid, groupId, true); - } - - /** - * Returns the bo doc pratica where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByUUID_G(String uuid, long groupId, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { uuid, groupId }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, this); - } - - if (result instanceof BoDocPratica) { - BoDocPratica boDocPratica = (BoDocPratica)result; - - if (!Validator.equals(uuid, boDocPratica.getUuid()) || - (groupId != boDocPratica.getGroupId())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_SELECT_BODOCPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, list); - } - else { - BoDocPratica boDocPratica = list.get(0); - - result = boDocPratica; - - cacheResult(boDocPratica); - - if ((boDocPratica.getUuid() == null) || - !boDocPratica.getUuid().equals(uuid) || - (boDocPratica.getGroupId() != groupId)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, boDocPratica); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoDocPratica)result; - } - } - - /** - * Removes the bo doc pratica where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo doc pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica removeByUUID_G(String uuid, long groupId) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = findByUUID_G(uuid, groupId); - - return remove(boDocPratica); - } - - /** - * Returns the number of bo doc praticas where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUUID_G(String uuid, long groupId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_G; - - Object[] finderArgs = new Object[] { uuid, groupId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BODOCPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_G_UUID_1 = "boDocPratica.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_2 = "boDocPratica.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_3 = "(boDocPratica.uuid IS NULL OR boDocPratica.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_G_GROUPID_2 = "boDocPratica.groupId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C = new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, BoDocPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByUuid_C", - new String[] { - String.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C = - new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, BoDocPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }, - BoDocPraticaModelImpl.UUID_COLUMN_BITMASK | - BoDocPraticaModelImpl.COMPANYID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C = new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns all the bo doc praticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId) - throws SystemException { - return findByUuid_C(uuid, companyId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo doc praticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, - int start, int end) throws SystemException { - return findByUuid_C(uuid, companyId, start, end, null); - } - - /** - * Returns an ordered range of all the bo doc praticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { uuid, companyId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { - uuid, companyId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoDocPratica boDocPratica : list) { - if (!Validator.equals(uuid, boDocPratica.getUuid()) || - (companyId != boDocPratica.getCompanyId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_BODOCPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoDocPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo doc pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica findByUuid_C_First(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = fetchByUuid_C_First(uuid, companyId, - orderByComparator); - - if (boDocPratica != null) { - return boDocPratica; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDocPraticaException(msg.toString()); - } - - /** - * Returns the first bo doc pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByUuid_C_First(String uuid, long companyId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid_C(uuid, companyId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo doc pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica findByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = fetchByUuid_C_Last(uuid, companyId, - orderByComparator); - - if (boDocPratica != null) { - return boDocPratica; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDocPraticaException(msg.toString()); - } - - /** - * Returns the last bo doc pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid_C(uuid, companyId); - - if (count == 0) { - return null; - } - - List list = findByUuid_C(uuid, companyId, count - 1, - count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo doc praticas before and after the current bo doc pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param docPraticaId the primary key of the current bo doc pratica - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica[] findByUuid_C_PrevAndNext(long docPraticaId, - String uuid, long companyId, OrderByComparator orderByComparator) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = findByPrimaryKey(docPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoDocPratica[] array = new BoDocPraticaImpl[3]; - - array[0] = getByUuid_C_PrevAndNext(session, boDocPratica, uuid, - companyId, orderByComparator, true); - - array[1] = boDocPratica; - - array[2] = getByUuid_C_PrevAndNext(session, boDocPratica, uuid, - companyId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoDocPratica getByUuid_C_PrevAndNext(Session session, - BoDocPratica boDocPratica, String uuid, long companyId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BODOCPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoDocPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boDocPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo doc praticas where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid_C(String uuid, long companyId) - throws SystemException { - for (BoDocPratica boDocPratica : findByUuid_C(uuid, companyId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boDocPratica); - } - } - - /** - * Returns the number of bo doc praticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid_C(String uuid, long companyId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_C; - - Object[] finderArgs = new Object[] { uuid, companyId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BODOCPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_C_UUID_1 = "boDocPratica.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_2 = "boDocPratica.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_3 = "(boDocPratica.uuid IS NULL OR boDocPratica.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_C_COMPANYID_2 = "boDocPratica.companyId = ?"; - public static final FinderPath FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_CODFILESUAP = - new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, BoDocPraticaImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByC_Group_DlFileEntry_CodFileSuap", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName(), - String.class.getName() - }, - BoDocPraticaModelImpl.COMPANYID_COLUMN_BITMASK | - BoDocPraticaModelImpl.GROUPID_COLUMN_BITMASK | - BoDocPraticaModelImpl.DLFILEENTRYID_COLUMN_BITMASK | - BoDocPraticaModelImpl.CODFILESUAP_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_C_GROUP_DLFILEENTRY_CODFILESUAP = - new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByC_Group_DlFileEntry_CodFileSuap", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName(), - String.class.getName() - }); - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and codFileSuap = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException} if it could not be found. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param codFileSuap the cod file suap - * @return the matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica findByC_Group_DlFileEntry_CodFileSuap(long companyId, - long groupId, long dlFileEntryId, String codFileSuap) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = fetchByC_Group_DlFileEntry_CodFileSuap(companyId, - groupId, dlFileEntryId, codFileSuap); - - if (boDocPratica == null) { - StringBundler msg = new StringBundler(10); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(", dlFileEntryId="); - msg.append(dlFileEntryId); - - msg.append(", codFileSuap="); - msg.append(codFileSuap); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoDocPraticaException(msg.toString()); - } - - return boDocPratica; - } - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and codFileSuap = ? or returns null if it could not be found. Uses the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param codFileSuap the cod file suap - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByC_Group_DlFileEntry_CodFileSuap(long companyId, - long groupId, long dlFileEntryId, String codFileSuap) - throws SystemException { - return fetchByC_Group_DlFileEntry_CodFileSuap(companyId, groupId, - dlFileEntryId, codFileSuap, true); - } - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and codFileSuap = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param codFileSuap the cod file suap - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByC_Group_DlFileEntry_CodFileSuap(long companyId, - long groupId, long dlFileEntryId, String codFileSuap, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { - companyId, groupId, dlFileEntryId, codFileSuap - }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_CODFILESUAP, - finderArgs, this); - } - - if (result instanceof BoDocPratica) { - BoDocPratica boDocPratica = (BoDocPratica)result; - - if ((companyId != boDocPratica.getCompanyId()) || - (groupId != boDocPratica.getGroupId()) || - (dlFileEntryId != boDocPratica.getDlFileEntryId()) || - !Validator.equals(codFileSuap, boDocPratica.getCodFileSuap())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(6); - - query.append(_SQL_SELECT_BODOCPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_CODFILESUAP_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_CODFILESUAP_GROUPID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_CODFILESUAP_DLFILEENTRYID_2); - - boolean bindCodFileSuap = false; - - if (codFileSuap == null) { - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_CODFILESUAP_CODFILESUAP_1); - } - else if (codFileSuap.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_CODFILESUAP_CODFILESUAP_3); - } - else { - bindCodFileSuap = true; - - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_CODFILESUAP_CODFILESUAP_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - qPos.add(dlFileEntryId); - - if (bindCodFileSuap) { - qPos.add(codFileSuap); - } - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_CODFILESUAP, - finderArgs, list); - } - else { - if ((list.size() > 1) && _log.isWarnEnabled()) { - _log.warn( - "BoDocPraticaPersistenceImpl.fetchByC_Group_DlFileEntry_CodFileSuap(long, long, long, String, boolean) with parameters (" + - StringUtil.merge(finderArgs) + - ") yields a result set with more than 1 result. This violates the logical unique restriction. There is no order guarantee on which result is returned by this finder."); - } - - BoDocPratica boDocPratica = list.get(0); - - result = boDocPratica; - - cacheResult(boDocPratica); - - if ((boDocPratica.getCompanyId() != companyId) || - (boDocPratica.getGroupId() != groupId) || - (boDocPratica.getDlFileEntryId() != dlFileEntryId) || - (boDocPratica.getCodFileSuap() == null) || - !boDocPratica.getCodFileSuap().equals(codFileSuap)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_CODFILESUAP, - finderArgs, boDocPratica); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_CODFILESUAP, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoDocPratica)result; - } - } - - /** - * Removes the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and codFileSuap = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param codFileSuap the cod file suap - * @return the bo doc pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica removeByC_Group_DlFileEntry_CodFileSuap( - long companyId, long groupId, long dlFileEntryId, String codFileSuap) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = findByC_Group_DlFileEntry_CodFileSuap(companyId, - groupId, dlFileEntryId, codFileSuap); - - return remove(boDocPratica); - } - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and dlFileEntryId = ? and codFileSuap = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param codFileSuap the cod file suap - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_Group_DlFileEntry_CodFileSuap(long companyId, - long groupId, long dlFileEntryId, String codFileSuap) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_C_GROUP_DLFILEENTRY_CODFILESUAP; - - Object[] finderArgs = new Object[] { - companyId, groupId, dlFileEntryId, codFileSuap - }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(5); - - query.append(_SQL_COUNT_BODOCPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_CODFILESUAP_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_CODFILESUAP_GROUPID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_CODFILESUAP_DLFILEENTRYID_2); - - boolean bindCodFileSuap = false; - - if (codFileSuap == null) { - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_CODFILESUAP_CODFILESUAP_1); - } - else if (codFileSuap.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_CODFILESUAP_CODFILESUAP_3); - } - else { - bindCodFileSuap = true; - - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_CODFILESUAP_CODFILESUAP_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - qPos.add(dlFileEntryId); - - if (bindCodFileSuap) { - qPos.add(codFileSuap); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_C_GROUP_DLFILEENTRY_CODFILESUAP_COMPANYID_2 = - "boDocPratica.companyId = ? AND "; - private static final String _FINDER_COLUMN_C_GROUP_DLFILEENTRY_CODFILESUAP_GROUPID_2 = - "boDocPratica.groupId = ? AND "; - private static final String _FINDER_COLUMN_C_GROUP_DLFILEENTRY_CODFILESUAP_DLFILEENTRYID_2 = - "boDocPratica.dlFileEntryId = ? AND "; - private static final String _FINDER_COLUMN_C_GROUP_DLFILEENTRY_CODFILESUAP_CODFILESUAP_1 = - "boDocPratica.codFileSuap IS NULL"; - private static final String _FINDER_COLUMN_C_GROUP_DLFILEENTRY_CODFILESUAP_CODFILESUAP_2 = - "boDocPratica.codFileSuap = ?"; - private static final String _FINDER_COLUMN_C_GROUP_DLFILEENTRY_CODFILESUAP_CODFILESUAP_3 = - "(boDocPratica.codFileSuap IS NULL OR boDocPratica.codFileSuap = '')"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA = - new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, BoDocPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByC_Group_DettPratica", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA = - new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, BoDocPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByC_Group_DettPratica", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName() - }, - BoDocPraticaModelImpl.COMPANYID_COLUMN_BITMASK | - BoDocPraticaModelImpl.GROUPID_COLUMN_BITMASK | - BoDocPraticaModelImpl.DETTPRATICAID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_C_GROUP_DETTPRATICA = new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByC_Group_DettPratica", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName() - }); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_C_GROUP_DETTPRATICA = - new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "countByC_Group_DettPratica", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName() - }); - - /** - * Returns all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group_DettPratica(long companyId, - long groupId, long dettPraticaId) throws SystemException { - return findByC_Group_DettPratica(companyId, groupId, dettPraticaId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group_DettPratica(long companyId, - long groupId, long dettPraticaId, int start, int end) - throws SystemException { - return findByC_Group_DettPratica(companyId, groupId, dettPraticaId, - start, end, null); - } - - /** - * Returns an ordered range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group_DettPratica(long companyId, - long groupId, long dettPraticaId, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA; - finderArgs = new Object[] { companyId, groupId, dettPraticaId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA; - finderArgs = new Object[] { - companyId, groupId, dettPraticaId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoDocPratica boDocPratica : list) { - if ((companyId != boDocPratica.getCompanyId()) || - (groupId != boDocPratica.getGroupId()) || - (dettPraticaId != boDocPratica.getDettPraticaId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(5 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(5); - } - - query.append(_SQL_SELECT_BODOCPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_GROUPID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_DETTPRATICAID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoDocPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - qPos.add(dettPraticaId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica findByC_Group_DettPratica_First(long companyId, - long groupId, long dettPraticaId, OrderByComparator orderByComparator) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = fetchByC_Group_DettPratica_First(companyId, - groupId, dettPraticaId, orderByComparator); - - if (boDocPratica != null) { - return boDocPratica; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(", dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDocPraticaException(msg.toString()); - } - - /** - * Returns the first bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByC_Group_DettPratica_First(long companyId, - long groupId, long dettPraticaId, OrderByComparator orderByComparator) - throws SystemException { - List list = findByC_Group_DettPratica(companyId, groupId, - dettPraticaId, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica findByC_Group_DettPratica_Last(long companyId, - long groupId, long dettPraticaId, OrderByComparator orderByComparator) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = fetchByC_Group_DettPratica_Last(companyId, - groupId, dettPraticaId, orderByComparator); - - if (boDocPratica != null) { - return boDocPratica; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(", dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDocPraticaException(msg.toString()); - } - - /** - * Returns the last bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByC_Group_DettPratica_Last(long companyId, - long groupId, long dettPraticaId, OrderByComparator orderByComparator) - throws SystemException { - int count = countByC_Group_DettPratica(companyId, groupId, dettPraticaId); - - if (count == 0) { - return null; - } - - List list = findByC_Group_DettPratica(companyId, groupId, - dettPraticaId, count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo doc praticas before and after the current bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param docPraticaId the primary key of the current bo doc pratica - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica[] findByC_Group_DettPratica_PrevAndNext( - long docPraticaId, long companyId, long groupId, long dettPraticaId, - OrderByComparator orderByComparator) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = findByPrimaryKey(docPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoDocPratica[] array = new BoDocPraticaImpl[3]; - - array[0] = getByC_Group_DettPratica_PrevAndNext(session, - boDocPratica, companyId, groupId, dettPraticaId, - orderByComparator, true); - - array[1] = boDocPratica; - - array[2] = getByC_Group_DettPratica_PrevAndNext(session, - boDocPratica, companyId, groupId, dettPraticaId, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoDocPratica getByC_Group_DettPratica_PrevAndNext( - Session session, BoDocPratica boDocPratica, long companyId, - long groupId, long dettPraticaId, OrderByComparator orderByComparator, - boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BODOCPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_GROUPID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_DETTPRATICAID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoDocPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - qPos.add(dettPraticaId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boDocPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Returns all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group_DettPratica(long companyId, - long groupId, long[] dettPraticaIds) throws SystemException { - return findByC_Group_DettPratica(companyId, groupId, dettPraticaIds, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group_DettPratica(long companyId, - long groupId, long[] dettPraticaIds, int start, int end) - throws SystemException { - return findByC_Group_DettPratica(companyId, groupId, dettPraticaIds, - start, end, null); - } - - /** - * Returns an ordered range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group_DettPratica(long companyId, - long groupId, long[] dettPraticaIds, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - if ((dettPraticaIds != null) && (dettPraticaIds.length == 1)) { - return findByC_Group_DettPratica(companyId, groupId, - dettPraticaIds[0], start, end, orderByComparator); - } - - boolean pagination = true; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderArgs = new Object[] { - companyId, groupId, StringUtil.merge(dettPraticaIds) - }; - } - else { - finderArgs = new Object[] { - companyId, groupId, StringUtil.merge(dettPraticaIds), - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(FINDER_PATH_WITH_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoDocPratica boDocPratica : list) { - if ((companyId != boDocPratica.getCompanyId()) || - (groupId != boDocPratica.getGroupId()) || - !ArrayUtil.contains(dettPraticaIds, - boDocPratica.getDettPraticaId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = new StringBundler(); - - query.append(_SQL_SELECT_BODOCPRATICA_WHERE); - - boolean conjunctionable = false; - - if (conjunctionable) { - query.append(WHERE_AND); - } - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_COMPANYID_5); - - conjunctionable = true; - - if (conjunctionable) { - query.append(WHERE_AND); - } - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_GROUPID_5); - - conjunctionable = true; - - if ((dettPraticaIds == null) || (dettPraticaIds.length > 0)) { - if (conjunctionable) { - query.append(WHERE_AND); - } - - query.append(StringPool.OPEN_PARENTHESIS); - - for (int i = 0; i < dettPraticaIds.length; i++) { - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_DETTPRATICAID_5); - - if ((i + 1) < dettPraticaIds.length) { - query.append(WHERE_OR); - } - } - - query.append(StringPool.CLOSE_PARENTHESIS); - - conjunctionable = true; - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoDocPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - if (dettPraticaIds != null) { - qPos.add(dettPraticaIds); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(FINDER_PATH_WITH_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA, - finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_WITH_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByC_Group_DettPratica(long companyId, long groupId, - long dettPraticaId) throws SystemException { - for (BoDocPratica boDocPratica : findByC_Group_DettPratica(companyId, - groupId, dettPraticaId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, - null)) { - remove(boDocPratica); - } - } - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_Group_DettPratica(long companyId, long groupId, - long dettPraticaId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_C_GROUP_DETTPRATICA; - - Object[] finderArgs = new Object[] { companyId, groupId, dettPraticaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_COUNT_BODOCPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_GROUPID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_DETTPRATICAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - qPos.add(dettPraticaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_Group_DettPratica(long companyId, long groupId, - long[] dettPraticaIds) throws SystemException { - Object[] finderArgs = new Object[] { - companyId, groupId, StringUtil.merge(dettPraticaIds) - }; - - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_WITH_PAGINATION_COUNT_BY_C_GROUP_DETTPRATICA, - finderArgs, this); - - if (count == null) { - StringBundler query = new StringBundler(); - - query.append(_SQL_COUNT_BODOCPRATICA_WHERE); - - boolean conjunctionable = false; - - if (conjunctionable) { - query.append(WHERE_AND); - } - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_COMPANYID_5); - - conjunctionable = true; - - if (conjunctionable) { - query.append(WHERE_AND); - } - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_GROUPID_5); - - conjunctionable = true; - - if ((dettPraticaIds == null) || (dettPraticaIds.length > 0)) { - if (conjunctionable) { - query.append(WHERE_AND); - } - - query.append(StringPool.OPEN_PARENTHESIS); - - for (int i = 0; i < dettPraticaIds.length; i++) { - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_DETTPRATICAID_5); - - if ((i + 1) < dettPraticaIds.length) { - query.append(WHERE_OR); - } - } - - query.append(StringPool.CLOSE_PARENTHESIS); - - conjunctionable = true; - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - if (dettPraticaIds != null) { - qPos.add(dettPraticaIds); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_WITH_PAGINATION_COUNT_BY_C_GROUP_DETTPRATICA, - finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_WITH_PAGINATION_COUNT_BY_C_GROUP_DETTPRATICA, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_COMPANYID_2 = "boDocPratica.companyId = ? AND "; - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_COMPANYID_5 = "(" + - removeConjunction(_FINDER_COLUMN_C_GROUP_DETTPRATICA_COMPANYID_2) + - ")"; - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_GROUPID_2 = "boDocPratica.groupId = ? AND "; - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_GROUPID_5 = "(" + - removeConjunction(_FINDER_COLUMN_C_GROUP_DETTPRATICA_GROUPID_2) + ")"; - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_DETTPRATICAID_2 = - "boDocPratica.dettPraticaId = ?"; - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_DETTPRATICAID_5 = - "(" + - removeConjunction(_FINDER_COLUMN_C_GROUP_DETTPRATICA_DETTPRATICAID_2) + - ")"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA_TIPOLOGIA = - new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, BoDocPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByC_Group_DettPratica_Tipologia", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName(), - String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA_TIPOLOGIA = - new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, BoDocPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByC_Group_DettPratica_Tipologia", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName(), - String.class.getName() - }, - BoDocPraticaModelImpl.COMPANYID_COLUMN_BITMASK | - BoDocPraticaModelImpl.GROUPID_COLUMN_BITMASK | - BoDocPraticaModelImpl.DETTPRATICAID_COLUMN_BITMASK | - BoDocPraticaModelImpl.TIPOLOGIA_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_C_GROUP_DETTPRATICA_TIPOLOGIA = - new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByC_Group_DettPratica_Tipologia", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName(), - String.class.getName() - }); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_C_GROUP_DETTPRATICA_TIPOLOGIA = - new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "countByC_Group_DettPratica_Tipologia", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName(), - String.class.getName() - }); - - /** - * Returns all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group_DettPratica_Tipologia( - long companyId, long groupId, long dettPraticaId, String tipologia) - throws SystemException { - return findByC_Group_DettPratica_Tipologia(companyId, groupId, - dettPraticaId, tipologia, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group_DettPratica_Tipologia( - long companyId, long groupId, long dettPraticaId, String tipologia, - int start, int end) throws SystemException { - return findByC_Group_DettPratica_Tipologia(companyId, groupId, - dettPraticaId, tipologia, start, end, null); - } - - /** - * Returns an ordered range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group_DettPratica_Tipologia( - long companyId, long groupId, long dettPraticaId, String tipologia, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA_TIPOLOGIA; - finderArgs = new Object[] { - companyId, groupId, dettPraticaId, tipologia - }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA_TIPOLOGIA; - finderArgs = new Object[] { - companyId, groupId, dettPraticaId, tipologia, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoDocPratica boDocPratica : list) { - if ((companyId != boDocPratica.getCompanyId()) || - (groupId != boDocPratica.getGroupId()) || - (dettPraticaId != boDocPratica.getDettPraticaId()) || - !Validator.equals(tipologia, boDocPratica.getTipologia())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(6); - } - - query.append(_SQL_SELECT_BODOCPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_GROUPID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_DETTPRATICAID_2); - - boolean bindTipologia = false; - - if (tipologia == null) { - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_1); - } - else if (tipologia.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_3); - } - else { - bindTipologia = true; - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoDocPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - qPos.add(dettPraticaId); - - if (bindTipologia) { - qPos.add(tipologia); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica findByC_Group_DettPratica_Tipologia_First( - long companyId, long groupId, long dettPraticaId, String tipologia, - OrderByComparator orderByComparator) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = fetchByC_Group_DettPratica_Tipologia_First(companyId, - groupId, dettPraticaId, tipologia, orderByComparator); - - if (boDocPratica != null) { - return boDocPratica; - } - - StringBundler msg = new StringBundler(10); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(", dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(", tipologia="); - msg.append(tipologia); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDocPraticaException(msg.toString()); - } - - /** - * Returns the first bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByC_Group_DettPratica_Tipologia_First( - long companyId, long groupId, long dettPraticaId, String tipologia, - OrderByComparator orderByComparator) throws SystemException { - List list = findByC_Group_DettPratica_Tipologia(companyId, - groupId, dettPraticaId, tipologia, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica findByC_Group_DettPratica_Tipologia_Last( - long companyId, long groupId, long dettPraticaId, String tipologia, - OrderByComparator orderByComparator) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = fetchByC_Group_DettPratica_Tipologia_Last(companyId, - groupId, dettPraticaId, tipologia, orderByComparator); - - if (boDocPratica != null) { - return boDocPratica; - } - - StringBundler msg = new StringBundler(10); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(", dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(", tipologia="); - msg.append(tipologia); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDocPraticaException(msg.toString()); - } - - /** - * Returns the last bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByC_Group_DettPratica_Tipologia_Last( - long companyId, long groupId, long dettPraticaId, String tipologia, - OrderByComparator orderByComparator) throws SystemException { - int count = countByC_Group_DettPratica_Tipologia(companyId, groupId, - dettPraticaId, tipologia); - - if (count == 0) { - return null; - } - - List list = findByC_Group_DettPratica_Tipologia(companyId, - groupId, dettPraticaId, tipologia, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo doc praticas before and after the current bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param docPraticaId the primary key of the current bo doc pratica - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica[] findByC_Group_DettPratica_Tipologia_PrevAndNext( - long docPraticaId, long companyId, long groupId, long dettPraticaId, - String tipologia, OrderByComparator orderByComparator) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = findByPrimaryKey(docPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoDocPratica[] array = new BoDocPraticaImpl[3]; - - array[0] = getByC_Group_DettPratica_Tipologia_PrevAndNext(session, - boDocPratica, companyId, groupId, dettPraticaId, tipologia, - orderByComparator, true); - - array[1] = boDocPratica; - - array[2] = getByC_Group_DettPratica_Tipologia_PrevAndNext(session, - boDocPratica, companyId, groupId, dettPraticaId, tipologia, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoDocPratica getByC_Group_DettPratica_Tipologia_PrevAndNext( - Session session, BoDocPratica boDocPratica, long companyId, - long groupId, long dettPraticaId, String tipologia, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BODOCPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_GROUPID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_DETTPRATICAID_2); - - boolean bindTipologia = false; - - if (tipologia == null) { - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_1); - } - else if (tipologia.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_3); - } - else { - bindTipologia = true; - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoDocPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - qPos.add(dettPraticaId); - - if (bindTipologia) { - qPos.add(tipologia); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boDocPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Returns all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ? and tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @param tipologia the tipologia - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group_DettPratica_Tipologia( - long companyId, long groupId, long[] dettPraticaIds, String tipologia) - throws SystemException { - return findByC_Group_DettPratica_Tipologia(companyId, groupId, - dettPraticaIds, tipologia, QueryUtil.ALL_POS, QueryUtil.ALL_POS, - null); - } - - /** - * Returns a range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ? and tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @param tipologia the tipologia - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group_DettPratica_Tipologia( - long companyId, long groupId, long[] dettPraticaIds, String tipologia, - int start, int end) throws SystemException { - return findByC_Group_DettPratica_Tipologia(companyId, groupId, - dettPraticaIds, tipologia, start, end, null); - } - - /** - * Returns an ordered range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ? and tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @param tipologia the tipologia - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group_DettPratica_Tipologia( - long companyId, long groupId, long[] dettPraticaIds, String tipologia, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - if ((dettPraticaIds != null) && (dettPraticaIds.length == 1)) { - return findByC_Group_DettPratica_Tipologia(companyId, groupId, - dettPraticaIds[0], tipologia, start, end, orderByComparator); - } - - boolean pagination = true; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderArgs = new Object[] { - companyId, groupId, StringUtil.merge(dettPraticaIds), - tipologia - }; - } - else { - finderArgs = new Object[] { - companyId, groupId, StringUtil.merge(dettPraticaIds), - tipologia, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(FINDER_PATH_WITH_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA_TIPOLOGIA, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoDocPratica boDocPratica : list) { - if ((companyId != boDocPratica.getCompanyId()) || - (groupId != boDocPratica.getGroupId()) || - !ArrayUtil.contains(dettPraticaIds, - boDocPratica.getDettPraticaId()) || - !Validator.equals(tipologia, boDocPratica.getTipologia())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = new StringBundler(); - - query.append(_SQL_SELECT_BODOCPRATICA_WHERE); - - boolean conjunctionable = false; - - if (conjunctionable) { - query.append(WHERE_AND); - } - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_COMPANYID_5); - - conjunctionable = true; - - if (conjunctionable) { - query.append(WHERE_AND); - } - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_GROUPID_5); - - conjunctionable = true; - - if ((dettPraticaIds == null) || (dettPraticaIds.length > 0)) { - if (conjunctionable) { - query.append(WHERE_AND); - } - - query.append(StringPool.OPEN_PARENTHESIS); - - for (int i = 0; i < dettPraticaIds.length; i++) { - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_DETTPRATICAID_5); - - if ((i + 1) < dettPraticaIds.length) { - query.append(WHERE_OR); - } - } - - query.append(StringPool.CLOSE_PARENTHESIS); - - conjunctionable = true; - } - - if (conjunctionable) { - query.append(WHERE_AND); - } - - boolean bindTipologia = false; - - if (tipologia == null) { - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_4); - } - else if (tipologia.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_6); - } - else { - bindTipologia = true; - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_5); - } - - conjunctionable = true; - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoDocPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - if (dettPraticaIds != null) { - qPos.add(dettPraticaIds); - } - - if (bindTipologia) { - qPos.add(tipologia); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(FINDER_PATH_WITH_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA_TIPOLOGIA, - finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_WITH_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA_TIPOLOGIA, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByC_Group_DettPratica_Tipologia(long companyId, - long groupId, long dettPraticaId, String tipologia) - throws SystemException { - for (BoDocPratica boDocPratica : findByC_Group_DettPratica_Tipologia( - companyId, groupId, dettPraticaId, tipologia, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boDocPratica); - } - } - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_Group_DettPratica_Tipologia(long companyId, - long groupId, long dettPraticaId, String tipologia) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_C_GROUP_DETTPRATICA_TIPOLOGIA; - - Object[] finderArgs = new Object[] { - companyId, groupId, dettPraticaId, tipologia - }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(5); - - query.append(_SQL_COUNT_BODOCPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_GROUPID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_DETTPRATICAID_2); - - boolean bindTipologia = false; - - if (tipologia == null) { - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_1); - } - else if (tipologia.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_3); - } - else { - bindTipologia = true; - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - qPos.add(dettPraticaId); - - if (bindTipologia) { - qPos.add(tipologia); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @param tipologia the tipologia - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_Group_DettPratica_Tipologia(long companyId, - long groupId, long[] dettPraticaIds, String tipologia) - throws SystemException { - Object[] finderArgs = new Object[] { - companyId, groupId, StringUtil.merge(dettPraticaIds), tipologia - }; - - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_WITH_PAGINATION_COUNT_BY_C_GROUP_DETTPRATICA_TIPOLOGIA, - finderArgs, this); - - if (count == null) { - StringBundler query = new StringBundler(); - - query.append(_SQL_COUNT_BODOCPRATICA_WHERE); - - boolean conjunctionable = false; - - if (conjunctionable) { - query.append(WHERE_AND); - } - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_COMPANYID_5); - - conjunctionable = true; - - if (conjunctionable) { - query.append(WHERE_AND); - } - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_GROUPID_5); - - conjunctionable = true; - - if ((dettPraticaIds == null) || (dettPraticaIds.length > 0)) { - if (conjunctionable) { - query.append(WHERE_AND); - } - - query.append(StringPool.OPEN_PARENTHESIS); - - for (int i = 0; i < dettPraticaIds.length; i++) { - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_DETTPRATICAID_5); - - if ((i + 1) < dettPraticaIds.length) { - query.append(WHERE_OR); - } - } - - query.append(StringPool.CLOSE_PARENTHESIS); - - conjunctionable = true; - } - - if (conjunctionable) { - query.append(WHERE_AND); - } - - boolean bindTipologia = false; - - if (tipologia == null) { - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_4); - } - else if (tipologia.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_6); - } - else { - bindTipologia = true; - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_5); - } - - conjunctionable = true; - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - if (dettPraticaIds != null) { - qPos.add(dettPraticaIds); - } - - if (bindTipologia) { - qPos.add(tipologia); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_WITH_PAGINATION_COUNT_BY_C_GROUP_DETTPRATICA_TIPOLOGIA, - finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_WITH_PAGINATION_COUNT_BY_C_GROUP_DETTPRATICA_TIPOLOGIA, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_COMPANYID_2 = - "boDocPratica.companyId = ? AND "; - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_COMPANYID_5 = - "(" + - removeConjunction(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_COMPANYID_2) + - ")"; - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_GROUPID_2 = - "boDocPratica.groupId = ? AND "; - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_GROUPID_5 = - "(" + - removeConjunction(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_GROUPID_2) + - ")"; - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_DETTPRATICAID_2 = - "boDocPratica.dettPraticaId = ? AND "; - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_DETTPRATICAID_5 = - "(" + - removeConjunction(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_DETTPRATICAID_2) + - ")"; - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_1 = - "boDocPratica.tipologia IS NULL"; - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_2 = - "boDocPratica.tipologia = ?"; - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_3 = - "(boDocPratica.tipologia IS NULL OR boDocPratica.tipologia = '')"; - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_4 = - "(" + - removeConjunction(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_1) + - ")"; - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_5 = - "(" + - removeConjunction(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_2) + - ")"; - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_6 = - "(" + - removeConjunction(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_3) + - ")"; - public static final FinderPath FINDER_PATH_FETCH_BY_C_GROUP_TIPLOGIA_CODFILESUAP = - new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, BoDocPraticaImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByC_Group_Tiplogia_CodFileSuap", - new String[] { - Long.class.getName(), Long.class.getName(), - String.class.getName(), String.class.getName() - }, - BoDocPraticaModelImpl.COMPANYID_COLUMN_BITMASK | - BoDocPraticaModelImpl.GROUPID_COLUMN_BITMASK | - BoDocPraticaModelImpl.TIPOLOGIA_COLUMN_BITMASK | - BoDocPraticaModelImpl.CODFILESUAP_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_C_GROUP_TIPLOGIA_CODFILESUAP = - new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByC_Group_Tiplogia_CodFileSuap", - new String[] { - Long.class.getName(), Long.class.getName(), - String.class.getName(), String.class.getName() - }); - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and tipologia = ? and codFileSuap = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException} if it could not be found. - * - * @param companyId the company ID - * @param groupId the group ID - * @param tipologia the tipologia - * @param codFileSuap the cod file suap - * @return the matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica findByC_Group_Tiplogia_CodFileSuap(long companyId, - long groupId, String tipologia, String codFileSuap) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = fetchByC_Group_Tiplogia_CodFileSuap(companyId, - groupId, tipologia, codFileSuap); - - if (boDocPratica == null) { - StringBundler msg = new StringBundler(10); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(", tipologia="); - msg.append(tipologia); - - msg.append(", codFileSuap="); - msg.append(codFileSuap); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoDocPraticaException(msg.toString()); - } - - return boDocPratica; - } - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and tipologia = ? and codFileSuap = ? or returns null if it could not be found. Uses the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param tipologia the tipologia - * @param codFileSuap the cod file suap - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByC_Group_Tiplogia_CodFileSuap(long companyId, - long groupId, String tipologia, String codFileSuap) - throws SystemException { - return fetchByC_Group_Tiplogia_CodFileSuap(companyId, groupId, - tipologia, codFileSuap, true); - } - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and tipologia = ? and codFileSuap = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param tipologia the tipologia - * @param codFileSuap the cod file suap - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByC_Group_Tiplogia_CodFileSuap(long companyId, - long groupId, String tipologia, String codFileSuap, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { - companyId, groupId, tipologia, codFileSuap - }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_C_GROUP_TIPLOGIA_CODFILESUAP, - finderArgs, this); - } - - if (result instanceof BoDocPratica) { - BoDocPratica boDocPratica = (BoDocPratica)result; - - if ((companyId != boDocPratica.getCompanyId()) || - (groupId != boDocPratica.getGroupId()) || - !Validator.equals(tipologia, boDocPratica.getTipologia()) || - !Validator.equals(codFileSuap, boDocPratica.getCodFileSuap())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(6); - - query.append(_SQL_SELECT_BODOCPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_GROUPID_2); - - boolean bindTipologia = false; - - if (tipologia == null) { - query.append(_FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_TIPOLOGIA_1); - } - else if (tipologia.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_TIPOLOGIA_3); - } - else { - bindTipologia = true; - - query.append(_FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_TIPOLOGIA_2); - } - - boolean bindCodFileSuap = false; - - if (codFileSuap == null) { - query.append(_FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_CODFILESUAP_1); - } - else if (codFileSuap.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_CODFILESUAP_3); - } - else { - bindCodFileSuap = true; - - query.append(_FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_CODFILESUAP_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - if (bindTipologia) { - qPos.add(tipologia); - } - - if (bindCodFileSuap) { - qPos.add(codFileSuap); - } - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_GROUP_TIPLOGIA_CODFILESUAP, - finderArgs, list); - } - else { - if ((list.size() > 1) && _log.isWarnEnabled()) { - _log.warn( - "BoDocPraticaPersistenceImpl.fetchByC_Group_Tiplogia_CodFileSuap(long, long, String, String, boolean) with parameters (" + - StringUtil.merge(finderArgs) + - ") yields a result set with more than 1 result. This violates the logical unique restriction. There is no order guarantee on which result is returned by this finder."); - } - - BoDocPratica boDocPratica = list.get(0); - - result = boDocPratica; - - cacheResult(boDocPratica); - - if ((boDocPratica.getCompanyId() != companyId) || - (boDocPratica.getGroupId() != groupId) || - (boDocPratica.getTipologia() == null) || - !boDocPratica.getTipologia().equals(tipologia) || - (boDocPratica.getCodFileSuap() == null) || - !boDocPratica.getCodFileSuap().equals(codFileSuap)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_GROUP_TIPLOGIA_CODFILESUAP, - finderArgs, boDocPratica); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_GROUP_TIPLOGIA_CODFILESUAP, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoDocPratica)result; - } - } - - /** - * Removes the bo doc pratica where companyId = ? and groupId = ? and tipologia = ? and codFileSuap = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param tipologia the tipologia - * @param codFileSuap the cod file suap - * @return the bo doc pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica removeByC_Group_Tiplogia_CodFileSuap(long companyId, - long groupId, String tipologia, String codFileSuap) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = findByC_Group_Tiplogia_CodFileSuap(companyId, - groupId, tipologia, codFileSuap); - - return remove(boDocPratica); - } - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and tipologia = ? and codFileSuap = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param tipologia the tipologia - * @param codFileSuap the cod file suap - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_Group_Tiplogia_CodFileSuap(long companyId, - long groupId, String tipologia, String codFileSuap) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_C_GROUP_TIPLOGIA_CODFILESUAP; - - Object[] finderArgs = new Object[] { - companyId, groupId, tipologia, codFileSuap - }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(5); - - query.append(_SQL_COUNT_BODOCPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_GROUPID_2); - - boolean bindTipologia = false; - - if (tipologia == null) { - query.append(_FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_TIPOLOGIA_1); - } - else if (tipologia.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_TIPOLOGIA_3); - } - else { - bindTipologia = true; - - query.append(_FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_TIPOLOGIA_2); - } - - boolean bindCodFileSuap = false; - - if (codFileSuap == null) { - query.append(_FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_CODFILESUAP_1); - } - else if (codFileSuap.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_CODFILESUAP_3); - } - else { - bindCodFileSuap = true; - - query.append(_FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_CODFILESUAP_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - if (bindTipologia) { - qPos.add(tipologia); - } - - if (bindCodFileSuap) { - qPos.add(codFileSuap); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_COMPANYID_2 = - "boDocPratica.companyId = ? AND "; - private static final String _FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_GROUPID_2 = - "boDocPratica.groupId = ? AND "; - private static final String _FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_TIPOLOGIA_1 = - "boDocPratica.tipologia IS NULL AND "; - private static final String _FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_TIPOLOGIA_2 = - "boDocPratica.tipologia = ? AND "; - private static final String _FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_TIPOLOGIA_3 = - "(boDocPratica.tipologia IS NULL OR boDocPratica.tipologia = '') AND "; - private static final String _FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_CODFILESUAP_1 = - "boDocPratica.codFileSuap IS NULL"; - private static final String _FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_CODFILESUAP_2 = - "boDocPratica.codFileSuap = ?"; - private static final String _FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_CODFILESUAP_3 = - "(boDocPratica.codFileSuap IS NULL OR boDocPratica.codFileSuap = '')"; - public static final FinderPath FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_VERSION = - new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, BoDocPraticaImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByC_Group_DlFileEntry_Version", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName(), - String.class.getName() - }, - BoDocPraticaModelImpl.COMPANYID_COLUMN_BITMASK | - BoDocPraticaModelImpl.GROUPID_COLUMN_BITMASK | - BoDocPraticaModelImpl.DLFILEENTRYID_COLUMN_BITMASK | - BoDocPraticaModelImpl.VERSION_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_C_GROUP_DLFILEENTRY_VERSION = - new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByC_Group_DlFileEntry_Version", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName(), - String.class.getName() - }); - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and version = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException} if it could not be found. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param version the version - * @return the matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica findByC_Group_DlFileEntry_Version(long companyId, - long groupId, long dlFileEntryId, String version) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = fetchByC_Group_DlFileEntry_Version(companyId, - groupId, dlFileEntryId, version); - - if (boDocPratica == null) { - StringBundler msg = new StringBundler(10); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(", dlFileEntryId="); - msg.append(dlFileEntryId); - - msg.append(", version="); - msg.append(version); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoDocPraticaException(msg.toString()); - } - - return boDocPratica; - } - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and version = ? or returns null if it could not be found. Uses the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param version the version - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByC_Group_DlFileEntry_Version(long companyId, - long groupId, long dlFileEntryId, String version) - throws SystemException { - return fetchByC_Group_DlFileEntry_Version(companyId, groupId, - dlFileEntryId, version, true); - } - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and version = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param version the version - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByC_Group_DlFileEntry_Version(long companyId, - long groupId, long dlFileEntryId, String version, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { - companyId, groupId, dlFileEntryId, version - }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_VERSION, - finderArgs, this); - } - - if (result instanceof BoDocPratica) { - BoDocPratica boDocPratica = (BoDocPratica)result; - - if ((companyId != boDocPratica.getCompanyId()) || - (groupId != boDocPratica.getGroupId()) || - (dlFileEntryId != boDocPratica.getDlFileEntryId()) || - !Validator.equals(version, boDocPratica.getVersion())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(6); - - query.append(_SQL_SELECT_BODOCPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_VERSION_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_VERSION_GROUPID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_VERSION_DLFILEENTRYID_2); - - boolean bindVersion = false; - - if (version == null) { - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_VERSION_VERSION_1); - } - else if (version.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_VERSION_VERSION_3); - } - else { - bindVersion = true; - - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_VERSION_VERSION_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - qPos.add(dlFileEntryId); - - if (bindVersion) { - qPos.add(version); - } - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_VERSION, - finderArgs, list); - } - else { - if ((list.size() > 1) && _log.isWarnEnabled()) { - _log.warn( - "BoDocPraticaPersistenceImpl.fetchByC_Group_DlFileEntry_Version(long, long, long, String, boolean) with parameters (" + - StringUtil.merge(finderArgs) + - ") yields a result set with more than 1 result. This violates the logical unique restriction. There is no order guarantee on which result is returned by this finder."); - } - - BoDocPratica boDocPratica = list.get(0); - - result = boDocPratica; - - cacheResult(boDocPratica); - - if ((boDocPratica.getCompanyId() != companyId) || - (boDocPratica.getGroupId() != groupId) || - (boDocPratica.getDlFileEntryId() != dlFileEntryId) || - (boDocPratica.getVersion() == null) || - !boDocPratica.getVersion().equals(version)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_VERSION, - finderArgs, boDocPratica); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_VERSION, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoDocPratica)result; - } - } - - /** - * Removes the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and version = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param version the version - * @return the bo doc pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica removeByC_Group_DlFileEntry_Version(long companyId, - long groupId, long dlFileEntryId, String version) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = findByC_Group_DlFileEntry_Version(companyId, - groupId, dlFileEntryId, version); - - return remove(boDocPratica); - } - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and dlFileEntryId = ? and version = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param version the version - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_Group_DlFileEntry_Version(long companyId, long groupId, - long dlFileEntryId, String version) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_C_GROUP_DLFILEENTRY_VERSION; - - Object[] finderArgs = new Object[] { - companyId, groupId, dlFileEntryId, version - }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(5); - - query.append(_SQL_COUNT_BODOCPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_VERSION_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_VERSION_GROUPID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_VERSION_DLFILEENTRYID_2); - - boolean bindVersion = false; - - if (version == null) { - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_VERSION_VERSION_1); - } - else if (version.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_VERSION_VERSION_3); - } - else { - bindVersion = true; - - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_VERSION_VERSION_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - qPos.add(dlFileEntryId); - - if (bindVersion) { - qPos.add(version); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_C_GROUP_DLFILEENTRY_VERSION_COMPANYID_2 = - "boDocPratica.companyId = ? AND "; - private static final String _FINDER_COLUMN_C_GROUP_DLFILEENTRY_VERSION_GROUPID_2 = - "boDocPratica.groupId = ? AND "; - private static final String _FINDER_COLUMN_C_GROUP_DLFILEENTRY_VERSION_DLFILEENTRYID_2 = - "boDocPratica.dlFileEntryId = ? AND "; - private static final String _FINDER_COLUMN_C_GROUP_DLFILEENTRY_VERSION_VERSION_1 = - "boDocPratica.version IS NULL"; - private static final String _FINDER_COLUMN_C_GROUP_DLFILEENTRY_VERSION_VERSION_2 = - "boDocPratica.version = ?"; - private static final String _FINDER_COLUMN_C_GROUP_DLFILEENTRY_VERSION_VERSION_3 = - "(boDocPratica.version IS NULL OR boDocPratica.version = '')"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICA = - new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, BoDocPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByDettPratica", - new String[] { - Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA = - new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, BoDocPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByDettPratica", - new String[] { Long.class.getName() }, - BoDocPraticaModelImpl.DETTPRATICAID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_DETTPRATICA = new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByDettPratica", - new String[] { Long.class.getName() }); - - /** - * Returns all the bo doc praticas where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica(long dettPraticaId) - throws SystemException { - return findByDettPratica(dettPraticaId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo doc praticas where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica(long dettPraticaId, int start, - int end) throws SystemException { - return findByDettPratica(dettPraticaId, start, end, null); - } - - /** - * Returns an ordered range of all the bo doc praticas where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica(long dettPraticaId, int start, - int end, OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA; - finderArgs = new Object[] { dettPraticaId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICA; - finderArgs = new Object[] { - dettPraticaId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoDocPratica boDocPratica : list) { - if ((dettPraticaId != boDocPratica.getDettPraticaId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BODOCPRATICA_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_DETTPRATICAID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoDocPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo doc pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica findByDettPratica_First(long dettPraticaId, - OrderByComparator orderByComparator) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = fetchByDettPratica_First(dettPraticaId, - orderByComparator); - - if (boDocPratica != null) { - return boDocPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDocPraticaException(msg.toString()); - } - - /** - * Returns the first bo doc pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByDettPratica_First(long dettPraticaId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByDettPratica(dettPraticaId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo doc pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica findByDettPratica_Last(long dettPraticaId, - OrderByComparator orderByComparator) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = fetchByDettPratica_Last(dettPraticaId, - orderByComparator); - - if (boDocPratica != null) { - return boDocPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDocPraticaException(msg.toString()); - } - - /** - * Returns the last bo doc pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByDettPratica_Last(long dettPraticaId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByDettPratica(dettPraticaId); - - if (count == 0) { - return null; - } - - List list = findByDettPratica(dettPraticaId, count - 1, - count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo doc praticas before and after the current bo doc pratica in the ordered set where dettPraticaId = ?. - * - * @param docPraticaId the primary key of the current bo doc pratica - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica[] findByDettPratica_PrevAndNext(long docPraticaId, - long dettPraticaId, OrderByComparator orderByComparator) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = findByPrimaryKey(docPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoDocPratica[] array = new BoDocPraticaImpl[3]; - - array[0] = getByDettPratica_PrevAndNext(session, boDocPratica, - dettPraticaId, orderByComparator, true); - - array[1] = boDocPratica; - - array[2] = getByDettPratica_PrevAndNext(session, boDocPratica, - dettPraticaId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoDocPratica getByDettPratica_PrevAndNext(Session session, - BoDocPratica boDocPratica, long dettPraticaId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BODOCPRATICA_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_DETTPRATICAID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoDocPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boDocPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo doc praticas where dettPraticaId = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByDettPratica(long dettPraticaId) - throws SystemException { - for (BoDocPratica boDocPratica : findByDettPratica(dettPraticaId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boDocPratica); - } - } - - /** - * Returns the number of bo doc praticas where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByDettPratica(long dettPraticaId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_DETTPRATICA; - - Object[] finderArgs = new Object[] { dettPraticaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BODOCPRATICA_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_DETTPRATICAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_DETTPRATICA_DETTPRATICAID_2 = "boDocPratica.dettPraticaId = ?"; - - public BoDocPraticaPersistenceImpl() { - setModelClass(BoDocPratica.class); - } - - /** - * Caches the bo doc pratica in the entity cache if it is enabled. - * - * @param boDocPratica the bo doc pratica - */ - @Override - public void cacheResult(BoDocPratica boDocPratica) { - EntityCacheUtil.putResult(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaImpl.class, boDocPratica.getPrimaryKey(), boDocPratica); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - new Object[] { boDocPratica.getUuid(), boDocPratica.getGroupId() }, - boDocPratica); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_CODFILESUAP, - new Object[] { - boDocPratica.getCompanyId(), boDocPratica.getGroupId(), - boDocPratica.getDlFileEntryId(), boDocPratica.getCodFileSuap() - }, boDocPratica); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_GROUP_TIPLOGIA_CODFILESUAP, - new Object[] { - boDocPratica.getCompanyId(), boDocPratica.getGroupId(), - boDocPratica.getTipologia(), boDocPratica.getCodFileSuap() - }, boDocPratica); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_VERSION, - new Object[] { - boDocPratica.getCompanyId(), boDocPratica.getGroupId(), - boDocPratica.getDlFileEntryId(), boDocPratica.getVersion() - }, boDocPratica); - - boDocPratica.resetOriginalValues(); - } - - /** - * Caches the bo doc praticas in the entity cache if it is enabled. - * - * @param boDocPraticas the bo doc praticas - */ - @Override - public void cacheResult(List boDocPraticas) { - for (BoDocPratica boDocPratica : boDocPraticas) { - if (EntityCacheUtil.getResult( - BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaImpl.class, boDocPratica.getPrimaryKey()) == null) { - cacheResult(boDocPratica); - } - else { - boDocPratica.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all bo doc praticas. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(BoDocPraticaImpl.class.getName()); - } - - EntityCacheUtil.clearCache(BoDocPraticaImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the bo doc pratica. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(BoDocPratica boDocPratica) { - EntityCacheUtil.removeResult(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaImpl.class, boDocPratica.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(boDocPratica); - } - - @Override - public void clearCache(List boDocPraticas) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (BoDocPratica boDocPratica : boDocPraticas) { - EntityCacheUtil.removeResult(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaImpl.class, boDocPratica.getPrimaryKey()); - - clearUniqueFindersCache(boDocPratica); - } - } - - protected void cacheUniqueFindersCache(BoDocPratica boDocPratica) { - if (boDocPratica.isNew()) { - Object[] args = new Object[] { - boDocPratica.getUuid(), boDocPratica.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - boDocPratica); - - args = new Object[] { - boDocPratica.getCompanyId(), boDocPratica.getGroupId(), - boDocPratica.getDlFileEntryId(), - boDocPratica.getCodFileSuap() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_C_GROUP_DLFILEENTRY_CODFILESUAP, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_CODFILESUAP, - args, boDocPratica); - - args = new Object[] { - boDocPratica.getCompanyId(), boDocPratica.getGroupId(), - boDocPratica.getTipologia(), boDocPratica.getCodFileSuap() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_C_GROUP_TIPLOGIA_CODFILESUAP, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_GROUP_TIPLOGIA_CODFILESUAP, - args, boDocPratica); - - args = new Object[] { - boDocPratica.getCompanyId(), boDocPratica.getGroupId(), - boDocPratica.getDlFileEntryId(), boDocPratica.getVersion() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_C_GROUP_DLFILEENTRY_VERSION, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_VERSION, - args, boDocPratica); - } - else { - BoDocPraticaModelImpl boDocPraticaModelImpl = (BoDocPraticaModelImpl)boDocPratica; - - if ((boDocPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDocPratica.getUuid(), boDocPratica.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - boDocPratica); - } - - if ((boDocPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_CODFILESUAP.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDocPratica.getCompanyId(), boDocPratica.getGroupId(), - boDocPratica.getDlFileEntryId(), - boDocPratica.getCodFileSuap() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_C_GROUP_DLFILEENTRY_CODFILESUAP, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_CODFILESUAP, - args, boDocPratica); - } - - if ((boDocPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_C_GROUP_TIPLOGIA_CODFILESUAP.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDocPratica.getCompanyId(), boDocPratica.getGroupId(), - boDocPratica.getTipologia(), - boDocPratica.getCodFileSuap() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_C_GROUP_TIPLOGIA_CODFILESUAP, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_GROUP_TIPLOGIA_CODFILESUAP, - args, boDocPratica); - } - - if ((boDocPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_VERSION.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDocPratica.getCompanyId(), boDocPratica.getGroupId(), - boDocPratica.getDlFileEntryId(), - boDocPratica.getVersion() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_C_GROUP_DLFILEENTRY_VERSION, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_VERSION, - args, boDocPratica); - } - } - } - - protected void clearUniqueFindersCache(BoDocPratica boDocPratica) { - BoDocPraticaModelImpl boDocPraticaModelImpl = (BoDocPraticaModelImpl)boDocPratica; - - Object[] args = new Object[] { - boDocPratica.getUuid(), boDocPratica.getGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - - if ((boDocPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - args = new Object[] { - boDocPraticaModelImpl.getOriginalUuid(), - boDocPraticaModelImpl.getOriginalGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - } - - args = new Object[] { - boDocPratica.getCompanyId(), boDocPratica.getGroupId(), - boDocPratica.getDlFileEntryId(), boDocPratica.getCodFileSuap() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_GROUP_DLFILEENTRY_CODFILESUAP, - args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_CODFILESUAP, - args); - - if ((boDocPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_CODFILESUAP.getColumnBitmask()) != 0) { - args = new Object[] { - boDocPraticaModelImpl.getOriginalCompanyId(), - boDocPraticaModelImpl.getOriginalGroupId(), - boDocPraticaModelImpl.getOriginalDlFileEntryId(), - boDocPraticaModelImpl.getOriginalCodFileSuap() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_GROUP_DLFILEENTRY_CODFILESUAP, - args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_CODFILESUAP, - args); - } - - args = new Object[] { - boDocPratica.getCompanyId(), boDocPratica.getGroupId(), - boDocPratica.getTipologia(), boDocPratica.getCodFileSuap() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_GROUP_TIPLOGIA_CODFILESUAP, - args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_GROUP_TIPLOGIA_CODFILESUAP, - args); - - if ((boDocPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_C_GROUP_TIPLOGIA_CODFILESUAP.getColumnBitmask()) != 0) { - args = new Object[] { - boDocPraticaModelImpl.getOriginalCompanyId(), - boDocPraticaModelImpl.getOriginalGroupId(), - boDocPraticaModelImpl.getOriginalTipologia(), - boDocPraticaModelImpl.getOriginalCodFileSuap() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_GROUP_TIPLOGIA_CODFILESUAP, - args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_GROUP_TIPLOGIA_CODFILESUAP, - args); - } - - args = new Object[] { - boDocPratica.getCompanyId(), boDocPratica.getGroupId(), - boDocPratica.getDlFileEntryId(), boDocPratica.getVersion() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_GROUP_DLFILEENTRY_VERSION, - args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_VERSION, - args); - - if ((boDocPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_VERSION.getColumnBitmask()) != 0) { - args = new Object[] { - boDocPraticaModelImpl.getOriginalCompanyId(), - boDocPraticaModelImpl.getOriginalGroupId(), - boDocPraticaModelImpl.getOriginalDlFileEntryId(), - boDocPraticaModelImpl.getOriginalVersion() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_GROUP_DLFILEENTRY_VERSION, - args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_VERSION, - args); - } - } - - /** - * Creates a new bo doc pratica with the primary key. Does not add the bo doc pratica to the database. - * - * @param docPraticaId the primary key for the new bo doc pratica - * @return the new bo doc pratica - */ - @Override - public BoDocPratica create(long docPraticaId) { - BoDocPratica boDocPratica = new BoDocPraticaImpl(); - - boDocPratica.setNew(true); - boDocPratica.setPrimaryKey(docPraticaId); - - String uuid = PortalUUIDUtil.generate(); - - boDocPratica.setUuid(uuid); - - return boDocPratica; - } - - /** - * Removes the bo doc pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param docPraticaId the primary key of the bo doc pratica - * @return the bo doc pratica that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica remove(long docPraticaId) - throws NoSuchBoDocPraticaException, SystemException { - return remove((Serializable)docPraticaId); - } - - /** - * Removes the bo doc pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the bo doc pratica - * @return the bo doc pratica that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica remove(Serializable primaryKey) - throws NoSuchBoDocPraticaException, SystemException { - Session session = null; - - try { - session = openSession(); - - BoDocPratica boDocPratica = (BoDocPratica)session.get(BoDocPraticaImpl.class, - primaryKey); - - if (boDocPratica == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoDocPraticaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(boDocPratica); - } - catch (NoSuchBoDocPraticaException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected BoDocPratica removeImpl(BoDocPratica boDocPratica) - throws SystemException { - boDocPratica = toUnwrappedModel(boDocPratica); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(boDocPratica)) { - boDocPratica = (BoDocPratica)session.get(BoDocPraticaImpl.class, - boDocPratica.getPrimaryKeyObj()); - } - - if (boDocPratica != null) { - session.delete(boDocPratica); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (boDocPratica != null) { - clearCache(boDocPratica); - } - - return boDocPratica; - } - - @Override - public BoDocPratica updateImpl( - it.tref.liferay.portos.importazione.model.BoDocPratica boDocPratica) - throws SystemException { - boDocPratica = toUnwrappedModel(boDocPratica); - - boolean isNew = boDocPratica.isNew(); - - BoDocPraticaModelImpl boDocPraticaModelImpl = (BoDocPraticaModelImpl)boDocPratica; - - if (Validator.isNull(boDocPratica.getUuid())) { - String uuid = PortalUUIDUtil.generate(); - - boDocPratica.setUuid(uuid); - } - - Session session = null; - - try { - session = openSession(); - - if (boDocPratica.isNew()) { - session.save(boDocPratica); - - boDocPratica.setNew(false); - } - else { - session.merge(boDocPratica); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !BoDocPraticaModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((boDocPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDocPraticaModelImpl.getOriginalUuid() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - - args = new Object[] { boDocPraticaModelImpl.getUuid() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - } - - if ((boDocPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDocPraticaModelImpl.getOriginalUuid(), - boDocPraticaModelImpl.getOriginalCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - - args = new Object[] { - boDocPraticaModelImpl.getUuid(), - boDocPraticaModelImpl.getCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - } - - if ((boDocPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDocPraticaModelImpl.getOriginalCompanyId(), - boDocPraticaModelImpl.getOriginalGroupId(), - boDocPraticaModelImpl.getOriginalDettPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_GROUP_DETTPRATICA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA, - args); - - args = new Object[] { - boDocPraticaModelImpl.getCompanyId(), - boDocPraticaModelImpl.getGroupId(), - boDocPraticaModelImpl.getDettPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_GROUP_DETTPRATICA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA, - args); - } - - if ((boDocPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA_TIPOLOGIA.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDocPraticaModelImpl.getOriginalCompanyId(), - boDocPraticaModelImpl.getOriginalGroupId(), - boDocPraticaModelImpl.getOriginalDettPraticaId(), - boDocPraticaModelImpl.getOriginalTipologia() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_GROUP_DETTPRATICA_TIPOLOGIA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA_TIPOLOGIA, - args); - - args = new Object[] { - boDocPraticaModelImpl.getCompanyId(), - boDocPraticaModelImpl.getGroupId(), - boDocPraticaModelImpl.getDettPraticaId(), - boDocPraticaModelImpl.getTipologia() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_GROUP_DETTPRATICA_TIPOLOGIA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA_TIPOLOGIA, - args); - } - - if ((boDocPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDocPraticaModelImpl.getOriginalDettPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA, - args); - - args = new Object[] { boDocPraticaModelImpl.getDettPraticaId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA, - args); - } - } - - EntityCacheUtil.putResult(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaImpl.class, boDocPratica.getPrimaryKey(), boDocPratica); - - clearUniqueFindersCache(boDocPratica); - cacheUniqueFindersCache(boDocPratica); - - return boDocPratica; - } - - protected BoDocPratica toUnwrappedModel(BoDocPratica boDocPratica) { - if (boDocPratica instanceof BoDocPraticaImpl) { - return boDocPratica; - } - - BoDocPraticaImpl boDocPraticaImpl = new BoDocPraticaImpl(); - - boDocPraticaImpl.setNew(boDocPratica.isNew()); - boDocPraticaImpl.setPrimaryKey(boDocPratica.getPrimaryKey()); - - boDocPraticaImpl.setUuid(boDocPratica.getUuid()); - boDocPraticaImpl.setDocPraticaId(boDocPratica.getDocPraticaId()); - boDocPraticaImpl.setCompanyId(boDocPratica.getCompanyId()); - boDocPraticaImpl.setUserId(boDocPratica.getUserId()); - boDocPraticaImpl.setUserName(boDocPratica.getUserName()); - boDocPraticaImpl.setCreateDate(boDocPratica.getCreateDate()); - boDocPraticaImpl.setModifiedDate(boDocPratica.getModifiedDate()); - boDocPraticaImpl.setGroupId(boDocPratica.getGroupId()); - boDocPraticaImpl.setDettPraticaId(boDocPratica.getDettPraticaId()); - boDocPraticaImpl.setDlFileEntryId(boDocPratica.getDlFileEntryId()); - boDocPraticaImpl.setVersion(boDocPratica.getVersion()); - boDocPraticaImpl.setPraticaValidata(boDocPratica.isPraticaValidata()); - boDocPraticaImpl.setDescLong(boDocPratica.getDescLong()); - boDocPraticaImpl.setCodFileSuap(boDocPratica.getCodFileSuap()); - boDocPraticaImpl.setTipologia(boDocPratica.getTipologia()); - boDocPraticaImpl.setMd5(boDocPratica.getMd5()); - boDocPraticaImpl.setAggiornato(boDocPratica.isAggiornato()); - boDocPraticaImpl.setJsonFirmatari(boDocPratica.getJsonFirmatari()); - boDocPraticaImpl.setDaxId(boDocPratica.getDaxId()); - boDocPraticaImpl.setDtInvioDax(boDocPratica.getDtInvioDax()); - boDocPraticaImpl.setErroreDax(boDocPratica.getErroreDax()); - boDocPraticaImpl.setDtErroreDax(boDocPratica.getDtErroreDax()); - - return boDocPraticaImpl; - } - - /** - * Returns the bo doc pratica with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the bo doc pratica - * @return the bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica findByPrimaryKey(Serializable primaryKey) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = fetchByPrimaryKey(primaryKey); - - if (boDocPratica == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoDocPraticaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return boDocPratica; - } - - /** - * Returns the bo doc pratica with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException} if it could not be found. - * - * @param docPraticaId the primary key of the bo doc pratica - * @return the bo doc pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica findByPrimaryKey(long docPraticaId) - throws NoSuchBoDocPraticaException, SystemException { - return findByPrimaryKey((Serializable)docPraticaId); - } - - /** - * Returns the bo doc pratica with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the bo doc pratica - * @return the bo doc pratica, or null if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - BoDocPratica boDocPratica = (BoDocPratica)EntityCacheUtil.getResult(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaImpl.class, primaryKey); - - if (boDocPratica == _nullBoDocPratica) { - return null; - } - - if (boDocPratica == null) { - Session session = null; - - try { - session = openSession(); - - boDocPratica = (BoDocPratica)session.get(BoDocPraticaImpl.class, - primaryKey); - - if (boDocPratica != null) { - cacheResult(boDocPratica); - } - else { - EntityCacheUtil.putResult(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaImpl.class, primaryKey, _nullBoDocPratica); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return boDocPratica; - } - - /** - * Returns the bo doc pratica with the primary key or returns null if it could not be found. - * - * @param docPraticaId the primary key of the bo doc pratica - * @return the bo doc pratica, or null if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByPrimaryKey(long docPraticaId) - throws SystemException { - return fetchByPrimaryKey((Serializable)docPraticaId); - } - - /** - * Returns all the bo doc praticas. - * - * @return the bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo doc praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the bo doc praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_BODOCPRATICA); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_BODOCPRATICA; - - if (pagination) { - sql = sql.concat(BoDocPraticaModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the bo doc praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (BoDocPratica boDocPratica : findAll()) { - remove(boDocPratica); - } - } - - /** - * Returns the number of bo doc praticas. - * - * @return the number of bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_BODOCPRATICA); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - @Override - protected Set getBadColumnNames() { - return _badColumnNames; - } - - /** - * Initializes the bo doc pratica persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.importazione.model.BoDocPratica"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(BoDocPraticaImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_BODOCPRATICA = "SELECT boDocPratica FROM BoDocPratica boDocPratica"; - private static final String _SQL_SELECT_BODOCPRATICA_WHERE = "SELECT boDocPratica FROM BoDocPratica boDocPratica WHERE "; - private static final String _SQL_COUNT_BODOCPRATICA = "SELECT COUNT(boDocPratica) FROM BoDocPratica boDocPratica"; - private static final String _SQL_COUNT_BODOCPRATICA_WHERE = "SELECT COUNT(boDocPratica) FROM BoDocPratica boDocPratica WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "boDocPratica."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No BoDocPratica exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No BoDocPratica exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(BoDocPraticaPersistenceImpl.class); - private static Set _badColumnNames = SetUtil.fromArray(new String[] { - "uuid" - }); - private static BoDocPratica _nullBoDocPratica = new BoDocPraticaImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullBoDocPraticaCacheModel; - } - }; - - private static CacheModel _nullBoDocPraticaCacheModel = new CacheModel() { - @Override - public BoDocPratica toEntityModel() { - return _nullBoDocPratica; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoIntPraticaPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoIntPraticaPersistenceImpl.java deleted file mode 100644 index 2c5c7d3d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoIntPraticaPersistenceImpl.java +++ /dev/null @@ -1,4912 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.SetUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.kernel.uuid.PortalUUIDUtil; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException; -import it.tref.liferay.portos.importazione.model.BoIntPratica; -import it.tref.liferay.portos.importazione.model.impl.BoIntPraticaImpl; -import it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl; -import it.tref.liferay.portos.importazione.service.persistence.BoIntPraticaPersistence; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Set; - -/** - * The persistence implementation for the bo int pratica service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoIntPraticaPersistence - * @see BoIntPraticaUtil - * @generated - */ -public class BoIntPraticaPersistenceImpl extends BasePersistenceImpl - implements BoIntPraticaPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link BoIntPraticaUtil} to access the bo int pratica persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = BoIntPraticaImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, BoIntPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, BoIntPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID = new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, BoIntPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByUuid", - new String[] { - String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID = new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, BoIntPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByUuid", - new String[] { String.class.getName() }, - BoIntPraticaModelImpl.UUID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID = new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid", - new String[] { String.class.getName() }); - - /** - * Returns all the bo int praticas where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid) throws SystemException { - return findByUuid(uuid, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo int praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end) - throws SystemException { - return findByUuid(uuid, start, end, null); - } - - /** - * Returns an ordered range of all the bo int praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoIntPratica boIntPratica : list) { - if (!Validator.equals(uuid, boIntPratica.getUuid())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOINTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoIntPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica findByUuid_First(String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = fetchByUuid_First(uuid, orderByComparator); - - if (boIntPratica != null) { - return boIntPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoIntPraticaException(msg.toString()); - } - - /** - * Returns the first bo int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchByUuid_First(String uuid, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid(uuid, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica findByUuid_Last(String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = fetchByUuid_Last(uuid, orderByComparator); - - if (boIntPratica != null) { - return boIntPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoIntPraticaException(msg.toString()); - } - - /** - * Returns the last bo int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchByUuid_Last(String uuid, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid(uuid); - - if (count == 0) { - return null; - } - - List list = findByUuid(uuid, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo int praticas before and after the current bo int pratica in the ordered set where uuid = ?. - * - * @param intPraticaId the primary key of the current bo int pratica - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica[] findByUuid_PrevAndNext(long intPraticaId, - String uuid, OrderByComparator orderByComparator) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = findByPrimaryKey(intPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoIntPratica[] array = new BoIntPraticaImpl[3]; - - array[0] = getByUuid_PrevAndNext(session, boIntPratica, uuid, - orderByComparator, true); - - array[1] = boIntPratica; - - array[2] = getByUuid_PrevAndNext(session, boIntPratica, uuid, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoIntPratica getByUuid_PrevAndNext(Session session, - BoIntPratica boIntPratica, String uuid, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOINTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoIntPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boIntPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo int praticas where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid(String uuid) throws SystemException { - for (BoIntPratica boIntPratica : findByUuid(uuid, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(boIntPratica); - } - } - - /** - * Returns the number of bo int praticas where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid(String uuid) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID; - - Object[] finderArgs = new Object[] { uuid }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BOINTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_UUID_1 = "boIntPratica.uuid IS NULL"; - private static final String _FINDER_COLUMN_UUID_UUID_2 = "boIntPratica.uuid = ?"; - private static final String _FINDER_COLUMN_UUID_UUID_3 = "(boIntPratica.uuid IS NULL OR boIntPratica.uuid = '')"; - public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G = new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, BoIntPraticaImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }, - BoIntPraticaModelImpl.UUID_COLUMN_BITMASK | - BoIntPraticaModelImpl.GROUPID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G = new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns the bo int pratica where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica findByUUID_G(String uuid, long groupId) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = fetchByUUID_G(uuid, groupId); - - if (boIntPratica == null) { - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoIntPraticaException(msg.toString()); - } - - return boIntPratica; - } - - /** - * Returns the bo int pratica where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchByUUID_G(String uuid, long groupId) - throws SystemException { - return fetchByUUID_G(uuid, groupId, true); - } - - /** - * Returns the bo int pratica where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchByUUID_G(String uuid, long groupId, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { uuid, groupId }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, this); - } - - if (result instanceof BoIntPratica) { - BoIntPratica boIntPratica = (BoIntPratica)result; - - if (!Validator.equals(uuid, boIntPratica.getUuid()) || - (groupId != boIntPratica.getGroupId())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_SELECT_BOINTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, list); - } - else { - BoIntPratica boIntPratica = list.get(0); - - result = boIntPratica; - - cacheResult(boIntPratica); - - if ((boIntPratica.getUuid() == null) || - !boIntPratica.getUuid().equals(uuid) || - (boIntPratica.getGroupId() != groupId)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, boIntPratica); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoIntPratica)result; - } - } - - /** - * Removes the bo int pratica where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo int pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica removeByUUID_G(String uuid, long groupId) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = findByUUID_G(uuid, groupId); - - return remove(boIntPratica); - } - - /** - * Returns the number of bo int praticas where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUUID_G(String uuid, long groupId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_G; - - Object[] finderArgs = new Object[] { uuid, groupId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOINTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_G_UUID_1 = "boIntPratica.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_2 = "boIntPratica.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_3 = "(boIntPratica.uuid IS NULL OR boIntPratica.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_G_GROUPID_2 = "boIntPratica.groupId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C = new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, BoIntPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByUuid_C", - new String[] { - String.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C = - new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, BoIntPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }, - BoIntPraticaModelImpl.UUID_COLUMN_BITMASK | - BoIntPraticaModelImpl.COMPANYID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C = new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns all the bo int praticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId) - throws SystemException { - return findByUuid_C(uuid, companyId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo int praticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, - int start, int end) throws SystemException { - return findByUuid_C(uuid, companyId, start, end, null); - } - - /** - * Returns an ordered range of all the bo int praticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { uuid, companyId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { - uuid, companyId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoIntPratica boIntPratica : list) { - if (!Validator.equals(uuid, boIntPratica.getUuid()) || - (companyId != boIntPratica.getCompanyId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_BOINTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoIntPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo int pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica findByUuid_C_First(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = fetchByUuid_C_First(uuid, companyId, - orderByComparator); - - if (boIntPratica != null) { - return boIntPratica; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoIntPraticaException(msg.toString()); - } - - /** - * Returns the first bo int pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchByUuid_C_First(String uuid, long companyId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid_C(uuid, companyId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo int pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica findByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = fetchByUuid_C_Last(uuid, companyId, - orderByComparator); - - if (boIntPratica != null) { - return boIntPratica; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoIntPraticaException(msg.toString()); - } - - /** - * Returns the last bo int pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid_C(uuid, companyId); - - if (count == 0) { - return null; - } - - List list = findByUuid_C(uuid, companyId, count - 1, - count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo int praticas before and after the current bo int pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param intPraticaId the primary key of the current bo int pratica - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica[] findByUuid_C_PrevAndNext(long intPraticaId, - String uuid, long companyId, OrderByComparator orderByComparator) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = findByPrimaryKey(intPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoIntPratica[] array = new BoIntPraticaImpl[3]; - - array[0] = getByUuid_C_PrevAndNext(session, boIntPratica, uuid, - companyId, orderByComparator, true); - - array[1] = boIntPratica; - - array[2] = getByUuid_C_PrevAndNext(session, boIntPratica, uuid, - companyId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoIntPratica getByUuid_C_PrevAndNext(Session session, - BoIntPratica boIntPratica, String uuid, long companyId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOINTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoIntPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boIntPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo int praticas where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid_C(String uuid, long companyId) - throws SystemException { - for (BoIntPratica boIntPratica : findByUuid_C(uuid, companyId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boIntPratica); - } - } - - /** - * Returns the number of bo int praticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid_C(String uuid, long companyId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_C; - - Object[] finderArgs = new Object[] { uuid, companyId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOINTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_C_UUID_1 = "boIntPratica.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_2 = "boIntPratica.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_3 = "(boIntPratica.uuid IS NULL OR boIntPratica.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_C_COMPANYID_2 = "boIntPratica.companyId = ?"; - public static final FinderPath FINDER_PATH_FETCH_BY_INTPRATICAID = new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, BoIntPraticaImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByIntPraticaId", - new String[] { Long.class.getName() }, - BoIntPraticaModelImpl.TERRITORIOID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_INTPRATICAID = new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByIntPraticaId", - new String[] { Long.class.getName() }); - - /** - * Returns the bo int pratica where territorioId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException} if it could not be found. - * - * @param territorioId the territorio ID - * @return the matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica findByIntPraticaId(long territorioId) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = fetchByIntPraticaId(territorioId); - - if (boIntPratica == null) { - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("territorioId="); - msg.append(territorioId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoIntPraticaException(msg.toString()); - } - - return boIntPratica; - } - - /** - * Returns the bo int pratica where territorioId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param territorioId the territorio ID - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchByIntPraticaId(long territorioId) - throws SystemException { - return fetchByIntPraticaId(territorioId, true); - } - - /** - * Returns the bo int pratica where territorioId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param territorioId the territorio ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchByIntPraticaId(long territorioId, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { territorioId }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_INTPRATICAID, - finderArgs, this); - } - - if (result instanceof BoIntPratica) { - BoIntPratica boIntPratica = (BoIntPratica)result; - - if ((territorioId != boIntPratica.getTerritorioId())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_SELECT_BOINTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_TERRITORIOID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(territorioId); - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_INTPRATICAID, - finderArgs, list); - } - else { - BoIntPratica boIntPratica = list.get(0); - - result = boIntPratica; - - cacheResult(boIntPratica); - - if ((boIntPratica.getTerritorioId() != territorioId)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_INTPRATICAID, - finderArgs, boIntPratica); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_INTPRATICAID, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoIntPratica)result; - } - } - - /** - * Removes the bo int pratica where territorioId = ? from the database. - * - * @param territorioId the territorio ID - * @return the bo int pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica removeByIntPraticaId(long territorioId) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = findByIntPraticaId(territorioId); - - return remove(boIntPratica); - } - - /** - * Returns the number of bo int praticas where territorioId = ?. - * - * @param territorioId the territorio ID - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByIntPraticaId(long territorioId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_INTPRATICAID; - - Object[] finderArgs = new Object[] { territorioId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BOINTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_TERRITORIOID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(territorioId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_INTPRATICAID_TERRITORIOID_2 = "boIntPratica.territorioId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_TERRITORIOID = - new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, BoIntPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByTerritorioId", - new String[] { - Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TERRITORIOID = - new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, BoIntPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByTerritorioId", - new String[] { Long.class.getName() }, - BoIntPraticaModelImpl.TERRITORIOID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_TERRITORIOID = new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByTerritorioId", - new String[] { Long.class.getName() }); - - /** - * Returns all the bo int praticas where territorioId = ?. - * - * @param territorioId the territorio ID - * @return the matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByTerritorioId(long territorioId) - throws SystemException { - return findByTerritorioId(territorioId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo int praticas where territorioId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param territorioId the territorio ID - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByTerritorioId(long territorioId, int start, - int end) throws SystemException { - return findByTerritorioId(territorioId, start, end, null); - } - - /** - * Returns an ordered range of all the bo int praticas where territorioId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param territorioId the territorio ID - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByTerritorioId(long territorioId, int start, - int end, OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TERRITORIOID; - finderArgs = new Object[] { territorioId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_TERRITORIOID; - finderArgs = new Object[] { - territorioId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoIntPratica boIntPratica : list) { - if ((territorioId != boIntPratica.getTerritorioId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOINTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_TERRITORIOID_TERRITORIOID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoIntPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(territorioId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo int pratica in the ordered set where territorioId = ?. - * - * @param territorioId the territorio ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica findByTerritorioId_First(long territorioId, - OrderByComparator orderByComparator) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = fetchByTerritorioId_First(territorioId, - orderByComparator); - - if (boIntPratica != null) { - return boIntPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("territorioId="); - msg.append(territorioId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoIntPraticaException(msg.toString()); - } - - /** - * Returns the first bo int pratica in the ordered set where territorioId = ?. - * - * @param territorioId the territorio ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchByTerritorioId_First(long territorioId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByTerritorioId(territorioId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo int pratica in the ordered set where territorioId = ?. - * - * @param territorioId the territorio ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica findByTerritorioId_Last(long territorioId, - OrderByComparator orderByComparator) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = fetchByTerritorioId_Last(territorioId, - orderByComparator); - - if (boIntPratica != null) { - return boIntPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("territorioId="); - msg.append(territorioId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoIntPraticaException(msg.toString()); - } - - /** - * Returns the last bo int pratica in the ordered set where territorioId = ?. - * - * @param territorioId the territorio ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchByTerritorioId_Last(long territorioId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByTerritorioId(territorioId); - - if (count == 0) { - return null; - } - - List list = findByTerritorioId(territorioId, count - 1, - count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo int praticas before and after the current bo int pratica in the ordered set where territorioId = ?. - * - * @param intPraticaId the primary key of the current bo int pratica - * @param territorioId the territorio ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica[] findByTerritorioId_PrevAndNext(long intPraticaId, - long territorioId, OrderByComparator orderByComparator) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = findByPrimaryKey(intPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoIntPratica[] array = new BoIntPraticaImpl[3]; - - array[0] = getByTerritorioId_PrevAndNext(session, boIntPratica, - territorioId, orderByComparator, true); - - array[1] = boIntPratica; - - array[2] = getByTerritorioId_PrevAndNext(session, boIntPratica, - territorioId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoIntPratica getByTerritorioId_PrevAndNext(Session session, - BoIntPratica boIntPratica, long territorioId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOINTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_TERRITORIOID_TERRITORIOID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoIntPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(territorioId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boIntPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo int praticas where territorioId = ? from the database. - * - * @param territorioId the territorio ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByTerritorioId(long territorioId) - throws SystemException { - for (BoIntPratica boIntPratica : findByTerritorioId(territorioId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boIntPratica); - } - } - - /** - * Returns the number of bo int praticas where territorioId = ?. - * - * @param territorioId the territorio ID - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByTerritorioId(long territorioId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_TERRITORIOID; - - Object[] finderArgs = new Object[] { territorioId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BOINTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_TERRITORIOID_TERRITORIOID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(territorioId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_TERRITORIOID_TERRITORIOID_2 = "boIntPratica.territorioId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_GROUP = new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, BoIntPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByC_Group", - new String[] { - Long.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP = - new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, BoIntPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByC_Group", - new String[] { Long.class.getName(), Long.class.getName() }, - BoIntPraticaModelImpl.COMPANYID_COLUMN_BITMASK | - BoIntPraticaModelImpl.GROUPID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_C_GROUP = new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByC_Group", - new String[] { Long.class.getName(), Long.class.getName() }); - - /** - * Returns all the bo int praticas where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @return the matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group(long companyId, long groupId) - throws SystemException { - return findByC_Group(companyId, groupId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo int praticas where companyId = ? and groupId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group(long companyId, long groupId, - int start, int end) throws SystemException { - return findByC_Group(companyId, groupId, start, end, null); - } - - /** - * Returns an ordered range of all the bo int praticas where companyId = ? and groupId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group(long companyId, long groupId, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP; - finderArgs = new Object[] { companyId, groupId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_C_GROUP; - finderArgs = new Object[] { - companyId, groupId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoIntPratica boIntPratica : list) { - if ((companyId != boIntPratica.getCompanyId()) || - (groupId != boIntPratica.getGroupId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_BOINTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_GROUPID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoIntPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo int pratica in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica findByC_Group_First(long companyId, long groupId, - OrderByComparator orderByComparator) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = fetchByC_Group_First(companyId, groupId, - orderByComparator); - - if (boIntPratica != null) { - return boIntPratica; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoIntPraticaException(msg.toString()); - } - - /** - * Returns the first bo int pratica in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchByC_Group_First(long companyId, long groupId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByC_Group(companyId, groupId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo int pratica in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica findByC_Group_Last(long companyId, long groupId, - OrderByComparator orderByComparator) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = fetchByC_Group_Last(companyId, groupId, - orderByComparator); - - if (boIntPratica != null) { - return boIntPratica; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoIntPraticaException(msg.toString()); - } - - /** - * Returns the last bo int pratica in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchByC_Group_Last(long companyId, long groupId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByC_Group(companyId, groupId); - - if (count == 0) { - return null; - } - - List list = findByC_Group(companyId, groupId, count - 1, - count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo int praticas before and after the current bo int pratica in the ordered set where companyId = ? and groupId = ?. - * - * @param intPraticaId the primary key of the current bo int pratica - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica[] findByC_Group_PrevAndNext(long intPraticaId, - long companyId, long groupId, OrderByComparator orderByComparator) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = findByPrimaryKey(intPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoIntPratica[] array = new BoIntPraticaImpl[3]; - - array[0] = getByC_Group_PrevAndNext(session, boIntPratica, - companyId, groupId, orderByComparator, true); - - array[1] = boIntPratica; - - array[2] = getByC_Group_PrevAndNext(session, boIntPratica, - companyId, groupId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoIntPratica getByC_Group_PrevAndNext(Session session, - BoIntPratica boIntPratica, long companyId, long groupId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOINTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_GROUPID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoIntPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boIntPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo int praticas where companyId = ? and groupId = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByC_Group(long companyId, long groupId) - throws SystemException { - for (BoIntPratica boIntPratica : findByC_Group(companyId, groupId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boIntPratica); - } - } - - /** - * Returns the number of bo int praticas where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_Group(long companyId, long groupId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_C_GROUP; - - Object[] finderArgs = new Object[] { companyId, groupId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOINTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_C_GROUP_COMPANYID_2 = "boIntPratica.companyId = ? AND "; - private static final String _FINDER_COLUMN_C_GROUP_GROUPID_2 = "boIntPratica.groupId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_PRATICA_DA_VARIARE = - new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, BoIntPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByPratica_da_variare", - new String[] { - Long.class.getName(), Boolean.class.getName(), - String.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PRATICA_DA_VARIARE = - new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, BoIntPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByPratica_da_variare", - new String[] { - Long.class.getName(), Boolean.class.getName(), - String.class.getName(), Long.class.getName() - }, - BoIntPraticaModelImpl.TERRITORIOID_COLUMN_BITMASK | - BoIntPraticaModelImpl.VALIDATA_COLUMN_BITMASK | - BoIntPraticaModelImpl.NUMEROPROGETTO_COLUMN_BITMASK | - BoIntPraticaModelImpl.VARIATADA_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_PRATICA_DA_VARIARE = new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByPratica_da_variare", - new String[] { - Long.class.getName(), Boolean.class.getName(), - String.class.getName(), Long.class.getName() - }); - - /** - * Returns all the bo int praticas where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @return the matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByPratica_da_variare(long territorioId, - boolean validata, String numeroProgetto, long variataDa) - throws SystemException { - return findByPratica_da_variare(territorioId, validata, numeroProgetto, - variataDa, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo int praticas where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByPratica_da_variare(long territorioId, - boolean validata, String numeroProgetto, long variataDa, int start, - int end) throws SystemException { - return findByPratica_da_variare(territorioId, validata, numeroProgetto, - variataDa, start, end, null); - } - - /** - * Returns an ordered range of all the bo int praticas where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByPratica_da_variare(long territorioId, - boolean validata, String numeroProgetto, long variataDa, int start, - int end, OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PRATICA_DA_VARIARE; - finderArgs = new Object[] { - territorioId, validata, numeroProgetto, variataDa - }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_PRATICA_DA_VARIARE; - finderArgs = new Object[] { - territorioId, validata, numeroProgetto, variataDa, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoIntPratica boIntPratica : list) { - if ((territorioId != boIntPratica.getTerritorioId()) || - (validata != boIntPratica.getValidata()) || - !Validator.equals(numeroProgetto, - boIntPratica.getNumeroProgetto()) || - (variataDa != boIntPratica.getVariataDa())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(6); - } - - query.append(_SQL_SELECT_BOINTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_PRATICA_DA_VARIARE_TERRITORIOID_2); - - query.append(_FINDER_COLUMN_PRATICA_DA_VARIARE_VALIDATA_2); - - boolean bindNumeroProgetto = false; - - if (numeroProgetto == null) { - query.append(_FINDER_COLUMN_PRATICA_DA_VARIARE_NUMEROPROGETTO_1); - } - else if (numeroProgetto.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_PRATICA_DA_VARIARE_NUMEROPROGETTO_3); - } - else { - bindNumeroProgetto = true; - - query.append(_FINDER_COLUMN_PRATICA_DA_VARIARE_NUMEROPROGETTO_2); - } - - query.append(_FINDER_COLUMN_PRATICA_DA_VARIARE_VARIATADA_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoIntPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(territorioId); - - qPos.add(validata); - - if (bindNumeroProgetto) { - qPos.add(numeroProgetto); - } - - qPos.add(variataDa); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo int pratica in the ordered set where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica findByPratica_da_variare_First(long territorioId, - boolean validata, String numeroProgetto, long variataDa, - OrderByComparator orderByComparator) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = fetchByPratica_da_variare_First(territorioId, - validata, numeroProgetto, variataDa, orderByComparator); - - if (boIntPratica != null) { - return boIntPratica; - } - - StringBundler msg = new StringBundler(10); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("territorioId="); - msg.append(territorioId); - - msg.append(", validata="); - msg.append(validata); - - msg.append(", numeroProgetto="); - msg.append(numeroProgetto); - - msg.append(", variataDa="); - msg.append(variataDa); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoIntPraticaException(msg.toString()); - } - - /** - * Returns the first bo int pratica in the ordered set where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchByPratica_da_variare_First(long territorioId, - boolean validata, String numeroProgetto, long variataDa, - OrderByComparator orderByComparator) throws SystemException { - List list = findByPratica_da_variare(territorioId, - validata, numeroProgetto, variataDa, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo int pratica in the ordered set where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica findByPratica_da_variare_Last(long territorioId, - boolean validata, String numeroProgetto, long variataDa, - OrderByComparator orderByComparator) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = fetchByPratica_da_variare_Last(territorioId, - validata, numeroProgetto, variataDa, orderByComparator); - - if (boIntPratica != null) { - return boIntPratica; - } - - StringBundler msg = new StringBundler(10); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("territorioId="); - msg.append(territorioId); - - msg.append(", validata="); - msg.append(validata); - - msg.append(", numeroProgetto="); - msg.append(numeroProgetto); - - msg.append(", variataDa="); - msg.append(variataDa); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoIntPraticaException(msg.toString()); - } - - /** - * Returns the last bo int pratica in the ordered set where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchByPratica_da_variare_Last(long territorioId, - boolean validata, String numeroProgetto, long variataDa, - OrderByComparator orderByComparator) throws SystemException { - int count = countByPratica_da_variare(territorioId, validata, - numeroProgetto, variataDa); - - if (count == 0) { - return null; - } - - List list = findByPratica_da_variare(territorioId, - validata, numeroProgetto, variataDa, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo int praticas before and after the current bo int pratica in the ordered set where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param intPraticaId the primary key of the current bo int pratica - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica[] findByPratica_da_variare_PrevAndNext( - long intPraticaId, long territorioId, boolean validata, - String numeroProgetto, long variataDa, - OrderByComparator orderByComparator) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = findByPrimaryKey(intPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoIntPratica[] array = new BoIntPraticaImpl[3]; - - array[0] = getByPratica_da_variare_PrevAndNext(session, - boIntPratica, territorioId, validata, numeroProgetto, - variataDa, orderByComparator, true); - - array[1] = boIntPratica; - - array[2] = getByPratica_da_variare_PrevAndNext(session, - boIntPratica, territorioId, validata, numeroProgetto, - variataDa, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoIntPratica getByPratica_da_variare_PrevAndNext( - Session session, BoIntPratica boIntPratica, long territorioId, - boolean validata, String numeroProgetto, long variataDa, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOINTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_PRATICA_DA_VARIARE_TERRITORIOID_2); - - query.append(_FINDER_COLUMN_PRATICA_DA_VARIARE_VALIDATA_2); - - boolean bindNumeroProgetto = false; - - if (numeroProgetto == null) { - query.append(_FINDER_COLUMN_PRATICA_DA_VARIARE_NUMEROPROGETTO_1); - } - else if (numeroProgetto.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_PRATICA_DA_VARIARE_NUMEROPROGETTO_3); - } - else { - bindNumeroProgetto = true; - - query.append(_FINDER_COLUMN_PRATICA_DA_VARIARE_NUMEROPROGETTO_2); - } - - query.append(_FINDER_COLUMN_PRATICA_DA_VARIARE_VARIATADA_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoIntPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(territorioId); - - qPos.add(validata); - - if (bindNumeroProgetto) { - qPos.add(numeroProgetto); - } - - qPos.add(variataDa); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boIntPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo int praticas where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ? from the database. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByPratica_da_variare(long territorioId, boolean validata, - String numeroProgetto, long variataDa) throws SystemException { - for (BoIntPratica boIntPratica : findByPratica_da_variare( - territorioId, validata, numeroProgetto, variataDa, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boIntPratica); - } - } - - /** - * Returns the number of bo int praticas where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByPratica_da_variare(long territorioId, boolean validata, - String numeroProgetto, long variataDa) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_PRATICA_DA_VARIARE; - - Object[] finderArgs = new Object[] { - territorioId, validata, numeroProgetto, variataDa - }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(5); - - query.append(_SQL_COUNT_BOINTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_PRATICA_DA_VARIARE_TERRITORIOID_2); - - query.append(_FINDER_COLUMN_PRATICA_DA_VARIARE_VALIDATA_2); - - boolean bindNumeroProgetto = false; - - if (numeroProgetto == null) { - query.append(_FINDER_COLUMN_PRATICA_DA_VARIARE_NUMEROPROGETTO_1); - } - else if (numeroProgetto.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_PRATICA_DA_VARIARE_NUMEROPROGETTO_3); - } - else { - bindNumeroProgetto = true; - - query.append(_FINDER_COLUMN_PRATICA_DA_VARIARE_NUMEROPROGETTO_2); - } - - query.append(_FINDER_COLUMN_PRATICA_DA_VARIARE_VARIATADA_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(territorioId); - - qPos.add(validata); - - if (bindNumeroProgetto) { - qPos.add(numeroProgetto); - } - - qPos.add(variataDa); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_PRATICA_DA_VARIARE_TERRITORIOID_2 = - "boIntPratica.territorioId = ? AND "; - private static final String _FINDER_COLUMN_PRATICA_DA_VARIARE_VALIDATA_2 = "boIntPratica.validata = ? AND "; - private static final String _FINDER_COLUMN_PRATICA_DA_VARIARE_NUMEROPROGETTO_1 = - "boIntPratica.numeroProgetto IS NULL AND "; - private static final String _FINDER_COLUMN_PRATICA_DA_VARIARE_NUMEROPROGETTO_2 = - "boIntPratica.numeroProgetto = ? AND "; - private static final String _FINDER_COLUMN_PRATICA_DA_VARIARE_NUMEROPROGETTO_3 = - "(boIntPratica.numeroProgetto IS NULL OR boIntPratica.numeroProgetto = '') AND "; - private static final String _FINDER_COLUMN_PRATICA_DA_VARIARE_VARIATADA_2 = "boIntPratica.variataDa = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_TERRITORIO_PROGETTO_VARIANTE_VALIDATA = - new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, BoIntPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByTerritorio_Progetto_Variante_Validata", - new String[] { - Long.class.getName(), Boolean.class.getName(), - Long.class.getName(), String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TERRITORIO_PROGETTO_VARIANTE_VALIDATA = - new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, BoIntPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByTerritorio_Progetto_Variante_Validata", - new String[] { - Long.class.getName(), Boolean.class.getName(), - Long.class.getName(), String.class.getName() - }, - BoIntPraticaModelImpl.TERRITORIOID_COLUMN_BITMASK | - BoIntPraticaModelImpl.VALIDATA_COLUMN_BITMASK | - BoIntPraticaModelImpl.VARIANTENUMERO_COLUMN_BITMASK | - BoIntPraticaModelImpl.NUMEROPROGETTO_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_TERRITORIO_PROGETTO_VARIANTE_VALIDATA = - new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByTerritorio_Progetto_Variante_Validata", - new String[] { - Long.class.getName(), Boolean.class.getName(), - Long.class.getName(), String.class.getName() - }); - - /** - * Returns all the bo int praticas where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @return the matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByTerritorio_Progetto_Variante_Validata( - long territorioId, boolean validata, long varianteNumero, - String numeroProgetto) throws SystemException { - return findByTerritorio_Progetto_Variante_Validata(territorioId, - validata, varianteNumero, numeroProgetto, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo int praticas where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByTerritorio_Progetto_Variante_Validata( - long territorioId, boolean validata, long varianteNumero, - String numeroProgetto, int start, int end) throws SystemException { - return findByTerritorio_Progetto_Variante_Validata(territorioId, - validata, varianteNumero, numeroProgetto, start, end, null); - } - - /** - * Returns an ordered range of all the bo int praticas where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByTerritorio_Progetto_Variante_Validata( - long territorioId, boolean validata, long varianteNumero, - String numeroProgetto, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TERRITORIO_PROGETTO_VARIANTE_VALIDATA; - finderArgs = new Object[] { - territorioId, validata, varianteNumero, numeroProgetto - }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_TERRITORIO_PROGETTO_VARIANTE_VALIDATA; - finderArgs = new Object[] { - territorioId, validata, varianteNumero, numeroProgetto, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoIntPratica boIntPratica : list) { - if ((territorioId != boIntPratica.getTerritorioId()) || - (validata != boIntPratica.getValidata()) || - (varianteNumero != boIntPratica.getVarianteNumero()) || - !Validator.equals(numeroProgetto, - boIntPratica.getNumeroProgetto())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(6); - } - - query.append(_SQL_SELECT_BOINTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_TERRITORIOID_2); - - query.append(_FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_VALIDATA_2); - - query.append(_FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_VARIANTENUMERO_2); - - boolean bindNumeroProgetto = false; - - if (numeroProgetto == null) { - query.append(_FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_NUMEROPROGETTO_1); - } - else if (numeroProgetto.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_NUMEROPROGETTO_3); - } - else { - bindNumeroProgetto = true; - - query.append(_FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_NUMEROPROGETTO_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoIntPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(territorioId); - - qPos.add(validata); - - qPos.add(varianteNumero); - - if (bindNumeroProgetto) { - qPos.add(numeroProgetto); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo int pratica in the ordered set where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica findByTerritorio_Progetto_Variante_Validata_First( - long territorioId, boolean validata, long varianteNumero, - String numeroProgetto, OrderByComparator orderByComparator) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = fetchByTerritorio_Progetto_Variante_Validata_First(territorioId, - validata, varianteNumero, numeroProgetto, orderByComparator); - - if (boIntPratica != null) { - return boIntPratica; - } - - StringBundler msg = new StringBundler(10); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("territorioId="); - msg.append(territorioId); - - msg.append(", validata="); - msg.append(validata); - - msg.append(", varianteNumero="); - msg.append(varianteNumero); - - msg.append(", numeroProgetto="); - msg.append(numeroProgetto); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoIntPraticaException(msg.toString()); - } - - /** - * Returns the first bo int pratica in the ordered set where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchByTerritorio_Progetto_Variante_Validata_First( - long territorioId, boolean validata, long varianteNumero, - String numeroProgetto, OrderByComparator orderByComparator) - throws SystemException { - List list = findByTerritorio_Progetto_Variante_Validata(territorioId, - validata, varianteNumero, numeroProgetto, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo int pratica in the ordered set where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica findByTerritorio_Progetto_Variante_Validata_Last( - long territorioId, boolean validata, long varianteNumero, - String numeroProgetto, OrderByComparator orderByComparator) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = fetchByTerritorio_Progetto_Variante_Validata_Last(territorioId, - validata, varianteNumero, numeroProgetto, orderByComparator); - - if (boIntPratica != null) { - return boIntPratica; - } - - StringBundler msg = new StringBundler(10); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("territorioId="); - msg.append(territorioId); - - msg.append(", validata="); - msg.append(validata); - - msg.append(", varianteNumero="); - msg.append(varianteNumero); - - msg.append(", numeroProgetto="); - msg.append(numeroProgetto); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoIntPraticaException(msg.toString()); - } - - /** - * Returns the last bo int pratica in the ordered set where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchByTerritorio_Progetto_Variante_Validata_Last( - long territorioId, boolean validata, long varianteNumero, - String numeroProgetto, OrderByComparator orderByComparator) - throws SystemException { - int count = countByTerritorio_Progetto_Variante_Validata(territorioId, - validata, varianteNumero, numeroProgetto); - - if (count == 0) { - return null; - } - - List list = findByTerritorio_Progetto_Variante_Validata(territorioId, - validata, varianteNumero, numeroProgetto, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo int praticas before and after the current bo int pratica in the ordered set where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param intPraticaId the primary key of the current bo int pratica - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica[] findByTerritorio_Progetto_Variante_Validata_PrevAndNext( - long intPraticaId, long territorioId, boolean validata, - long varianteNumero, String numeroProgetto, - OrderByComparator orderByComparator) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = findByPrimaryKey(intPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoIntPratica[] array = new BoIntPraticaImpl[3]; - - array[0] = getByTerritorio_Progetto_Variante_Validata_PrevAndNext(session, - boIntPratica, territorioId, validata, varianteNumero, - numeroProgetto, orderByComparator, true); - - array[1] = boIntPratica; - - array[2] = getByTerritorio_Progetto_Variante_Validata_PrevAndNext(session, - boIntPratica, territorioId, validata, varianteNumero, - numeroProgetto, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoIntPratica getByTerritorio_Progetto_Variante_Validata_PrevAndNext( - Session session, BoIntPratica boIntPratica, long territorioId, - boolean validata, long varianteNumero, String numeroProgetto, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOINTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_TERRITORIOID_2); - - query.append(_FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_VALIDATA_2); - - query.append(_FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_VARIANTENUMERO_2); - - boolean bindNumeroProgetto = false; - - if (numeroProgetto == null) { - query.append(_FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_NUMEROPROGETTO_1); - } - else if (numeroProgetto.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_NUMEROPROGETTO_3); - } - else { - bindNumeroProgetto = true; - - query.append(_FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_NUMEROPROGETTO_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoIntPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(territorioId); - - qPos.add(validata); - - qPos.add(varianteNumero); - - if (bindNumeroProgetto) { - qPos.add(numeroProgetto); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boIntPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo int praticas where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ? from the database. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByTerritorio_Progetto_Variante_Validata( - long territorioId, boolean validata, long varianteNumero, - String numeroProgetto) throws SystemException { - for (BoIntPratica boIntPratica : findByTerritorio_Progetto_Variante_Validata( - territorioId, validata, varianteNumero, numeroProgetto, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boIntPratica); - } - } - - /** - * Returns the number of bo int praticas where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByTerritorio_Progetto_Variante_Validata(long territorioId, - boolean validata, long varianteNumero, String numeroProgetto) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_TERRITORIO_PROGETTO_VARIANTE_VALIDATA; - - Object[] finderArgs = new Object[] { - territorioId, validata, varianteNumero, numeroProgetto - }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(5); - - query.append(_SQL_COUNT_BOINTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_TERRITORIOID_2); - - query.append(_FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_VALIDATA_2); - - query.append(_FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_VARIANTENUMERO_2); - - boolean bindNumeroProgetto = false; - - if (numeroProgetto == null) { - query.append(_FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_NUMEROPROGETTO_1); - } - else if (numeroProgetto.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_NUMEROPROGETTO_3); - } - else { - bindNumeroProgetto = true; - - query.append(_FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_NUMEROPROGETTO_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(territorioId); - - qPos.add(validata); - - qPos.add(varianteNumero); - - if (bindNumeroProgetto) { - qPos.add(numeroProgetto); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_TERRITORIOID_2 = - "boIntPratica.territorioId = ? AND "; - private static final String _FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_VALIDATA_2 = - "boIntPratica.validata = ? AND "; - private static final String _FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_VARIANTENUMERO_2 = - "boIntPratica.varianteNumero = ? AND "; - private static final String _FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_NUMEROPROGETTO_1 = - "boIntPratica.numeroProgetto IS NULL"; - private static final String _FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_NUMEROPROGETTO_2 = - "boIntPratica.numeroProgetto = ?"; - private static final String _FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_NUMEROPROGETTO_3 = - "(boIntPratica.numeroProgetto IS NULL OR boIntPratica.numeroProgetto = '')"; - - public BoIntPraticaPersistenceImpl() { - setModelClass(BoIntPratica.class); - } - - /** - * Caches the bo int pratica in the entity cache if it is enabled. - * - * @param boIntPratica the bo int pratica - */ - @Override - public void cacheResult(BoIntPratica boIntPratica) { - EntityCacheUtil.putResult(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaImpl.class, boIntPratica.getPrimaryKey(), boIntPratica); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - new Object[] { boIntPratica.getUuid(), boIntPratica.getGroupId() }, - boIntPratica); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_INTPRATICAID, - new Object[] { boIntPratica.getTerritorioId() }, boIntPratica); - - boIntPratica.resetOriginalValues(); - } - - /** - * Caches the bo int praticas in the entity cache if it is enabled. - * - * @param boIntPraticas the bo int praticas - */ - @Override - public void cacheResult(List boIntPraticas) { - for (BoIntPratica boIntPratica : boIntPraticas) { - if (EntityCacheUtil.getResult( - BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaImpl.class, boIntPratica.getPrimaryKey()) == null) { - cacheResult(boIntPratica); - } - else { - boIntPratica.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all bo int praticas. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(BoIntPraticaImpl.class.getName()); - } - - EntityCacheUtil.clearCache(BoIntPraticaImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the bo int pratica. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(BoIntPratica boIntPratica) { - EntityCacheUtil.removeResult(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaImpl.class, boIntPratica.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(boIntPratica); - } - - @Override - public void clearCache(List boIntPraticas) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (BoIntPratica boIntPratica : boIntPraticas) { - EntityCacheUtil.removeResult(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaImpl.class, boIntPratica.getPrimaryKey()); - - clearUniqueFindersCache(boIntPratica); - } - } - - protected void cacheUniqueFindersCache(BoIntPratica boIntPratica) { - if (boIntPratica.isNew()) { - Object[] args = new Object[] { - boIntPratica.getUuid(), boIntPratica.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - boIntPratica); - - args = new Object[] { boIntPratica.getTerritorioId() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_INTPRATICAID, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_INTPRATICAID, args, - boIntPratica); - } - else { - BoIntPraticaModelImpl boIntPraticaModelImpl = (BoIntPraticaModelImpl)boIntPratica; - - if ((boIntPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boIntPratica.getUuid(), boIntPratica.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - boIntPratica); - } - - if ((boIntPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_INTPRATICAID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { boIntPratica.getTerritorioId() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_INTPRATICAID, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_INTPRATICAID, - args, boIntPratica); - } - } - } - - protected void clearUniqueFindersCache(BoIntPratica boIntPratica) { - BoIntPraticaModelImpl boIntPraticaModelImpl = (BoIntPraticaModelImpl)boIntPratica; - - Object[] args = new Object[] { - boIntPratica.getUuid(), boIntPratica.getGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - - if ((boIntPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - args = new Object[] { - boIntPraticaModelImpl.getOriginalUuid(), - boIntPraticaModelImpl.getOriginalGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - } - - args = new Object[] { boIntPratica.getTerritorioId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_INTPRATICAID, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_INTPRATICAID, args); - - if ((boIntPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_INTPRATICAID.getColumnBitmask()) != 0) { - args = new Object[] { boIntPraticaModelImpl.getOriginalTerritorioId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_INTPRATICAID, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_INTPRATICAID, args); - } - } - - /** - * Creates a new bo int pratica with the primary key. Does not add the bo int pratica to the database. - * - * @param intPraticaId the primary key for the new bo int pratica - * @return the new bo int pratica - */ - @Override - public BoIntPratica create(long intPraticaId) { - BoIntPratica boIntPratica = new BoIntPraticaImpl(); - - boIntPratica.setNew(true); - boIntPratica.setPrimaryKey(intPraticaId); - - String uuid = PortalUUIDUtil.generate(); - - boIntPratica.setUuid(uuid); - - return boIntPratica; - } - - /** - * Removes the bo int pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param intPraticaId the primary key of the bo int pratica - * @return the bo int pratica that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica remove(long intPraticaId) - throws NoSuchBoIntPraticaException, SystemException { - return remove((Serializable)intPraticaId); - } - - /** - * Removes the bo int pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the bo int pratica - * @return the bo int pratica that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica remove(Serializable primaryKey) - throws NoSuchBoIntPraticaException, SystemException { - Session session = null; - - try { - session = openSession(); - - BoIntPratica boIntPratica = (BoIntPratica)session.get(BoIntPraticaImpl.class, - primaryKey); - - if (boIntPratica == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoIntPraticaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(boIntPratica); - } - catch (NoSuchBoIntPraticaException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected BoIntPratica removeImpl(BoIntPratica boIntPratica) - throws SystemException { - boIntPratica = toUnwrappedModel(boIntPratica); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(boIntPratica)) { - boIntPratica = (BoIntPratica)session.get(BoIntPraticaImpl.class, - boIntPratica.getPrimaryKeyObj()); - } - - if (boIntPratica != null) { - session.delete(boIntPratica); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (boIntPratica != null) { - clearCache(boIntPratica); - } - - return boIntPratica; - } - - @Override - public BoIntPratica updateImpl( - it.tref.liferay.portos.importazione.model.BoIntPratica boIntPratica) - throws SystemException { - boIntPratica = toUnwrappedModel(boIntPratica); - - boolean isNew = boIntPratica.isNew(); - - BoIntPraticaModelImpl boIntPraticaModelImpl = (BoIntPraticaModelImpl)boIntPratica; - - if (Validator.isNull(boIntPratica.getUuid())) { - String uuid = PortalUUIDUtil.generate(); - - boIntPratica.setUuid(uuid); - } - - Session session = null; - - try { - session = openSession(); - - if (boIntPratica.isNew()) { - session.save(boIntPratica); - - boIntPratica.setNew(false); - } - else { - session.merge(boIntPratica); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !BoIntPraticaModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((boIntPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boIntPraticaModelImpl.getOriginalUuid() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - - args = new Object[] { boIntPraticaModelImpl.getUuid() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - } - - if ((boIntPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boIntPraticaModelImpl.getOriginalUuid(), - boIntPraticaModelImpl.getOriginalCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - - args = new Object[] { - boIntPraticaModelImpl.getUuid(), - boIntPraticaModelImpl.getCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - } - - if ((boIntPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TERRITORIOID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boIntPraticaModelImpl.getOriginalTerritorioId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_TERRITORIOID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TERRITORIOID, - args); - - args = new Object[] { boIntPraticaModelImpl.getTerritorioId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_TERRITORIOID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TERRITORIOID, - args); - } - - if ((boIntPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boIntPraticaModelImpl.getOriginalCompanyId(), - boIntPraticaModelImpl.getOriginalGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_GROUP, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP, - args); - - args = new Object[] { - boIntPraticaModelImpl.getCompanyId(), - boIntPraticaModelImpl.getGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_GROUP, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP, - args); - } - - if ((boIntPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PRATICA_DA_VARIARE.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boIntPraticaModelImpl.getOriginalTerritorioId(), - boIntPraticaModelImpl.getOriginalValidata(), - boIntPraticaModelImpl.getOriginalNumeroProgetto(), - boIntPraticaModelImpl.getOriginalVariataDa() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_PRATICA_DA_VARIARE, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PRATICA_DA_VARIARE, - args); - - args = new Object[] { - boIntPraticaModelImpl.getTerritorioId(), - boIntPraticaModelImpl.getValidata(), - boIntPraticaModelImpl.getNumeroProgetto(), - boIntPraticaModelImpl.getVariataDa() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_PRATICA_DA_VARIARE, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PRATICA_DA_VARIARE, - args); - } - - if ((boIntPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TERRITORIO_PROGETTO_VARIANTE_VALIDATA.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boIntPraticaModelImpl.getOriginalTerritorioId(), - boIntPraticaModelImpl.getOriginalValidata(), - boIntPraticaModelImpl.getOriginalVarianteNumero(), - boIntPraticaModelImpl.getOriginalNumeroProgetto() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_TERRITORIO_PROGETTO_VARIANTE_VALIDATA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TERRITORIO_PROGETTO_VARIANTE_VALIDATA, - args); - - args = new Object[] { - boIntPraticaModelImpl.getTerritorioId(), - boIntPraticaModelImpl.getValidata(), - boIntPraticaModelImpl.getVarianteNumero(), - boIntPraticaModelImpl.getNumeroProgetto() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_TERRITORIO_PROGETTO_VARIANTE_VALIDATA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TERRITORIO_PROGETTO_VARIANTE_VALIDATA, - args); - } - } - - EntityCacheUtil.putResult(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaImpl.class, boIntPratica.getPrimaryKey(), boIntPratica); - - clearUniqueFindersCache(boIntPratica); - cacheUniqueFindersCache(boIntPratica); - - return boIntPratica; - } - - protected BoIntPratica toUnwrappedModel(BoIntPratica boIntPratica) { - if (boIntPratica instanceof BoIntPraticaImpl) { - return boIntPratica; - } - - BoIntPraticaImpl boIntPraticaImpl = new BoIntPraticaImpl(); - - boIntPraticaImpl.setNew(boIntPratica.isNew()); - boIntPraticaImpl.setPrimaryKey(boIntPratica.getPrimaryKey()); - - boIntPraticaImpl.setUuid(boIntPratica.getUuid()); - boIntPraticaImpl.setIntPraticaId(boIntPratica.getIntPraticaId()); - boIntPraticaImpl.setCompanyId(boIntPratica.getCompanyId()); - boIntPraticaImpl.setUserId(boIntPratica.getUserId()); - boIntPraticaImpl.setUserName(boIntPratica.getUserName()); - boIntPraticaImpl.setCreateDate(boIntPratica.getCreateDate()); - boIntPraticaImpl.setModifiedDate(boIntPratica.getModifiedDate()); - boIntPraticaImpl.setGroupId(boIntPratica.getGroupId()); - boIntPraticaImpl.setTipoPraticaId(boIntPratica.getTipoPraticaId()); - boIntPraticaImpl.setTerritorioId(boIntPratica.getTerritorioId()); - boIntPraticaImpl.setDestinazione(boIntPratica.getDestinazione()); - boIntPraticaImpl.setTipologiaSistemaCostruttivo(boIntPratica.getTipologiaSistemaCostruttivo()); - boIntPraticaImpl.setAg(boIntPratica.getAg()); - boIntPraticaImpl.setDescLongIntervento(boIntPratica.getDescLongIntervento()); - boIntPraticaImpl.setVia(boIntPratica.getVia()); - boIntPraticaImpl.setLocalita(boIntPratica.getLocalita()); - boIntPraticaImpl.setEstremiCatastali(boIntPratica.getEstremiCatastali()); - boIntPraticaImpl.setEstremiPratCom(boIntPratica.getEstremiPratCom()); - boIntPraticaImpl.setDtSorteggio(boIntPratica.getDtSorteggio()); - boIntPraticaImpl.setStatoPratica(boIntPratica.getStatoPratica()); - boIntPraticaImpl.setNumeroProgetto(boIntPratica.getNumeroProgetto()); - boIntPraticaImpl.setValidata(boIntPratica.isValidata()); - boIntPraticaImpl.setVariataDa(boIntPratica.getVariataDa()); - boIntPraticaImpl.setVarianteNumero(boIntPratica.getVarianteNumero()); - boIntPraticaImpl.setVarianteSostanziale(boIntPratica.isVarianteSostanziale()); - boIntPraticaImpl.setOperaConforme(boIntPratica.isOperaConforme()); - boIntPraticaImpl.setTipoPraticaIdSanatoria(boIntPratica.getTipoPraticaIdSanatoria()); - boIntPraticaImpl.setStatus(boIntPratica.getStatus()); - boIntPraticaImpl.setStatusByUserId(boIntPratica.getStatusByUserId()); - boIntPraticaImpl.setStatusDate(boIntPratica.getStatusDate()); - boIntPraticaImpl.setStatoPraticaWorkflow(boIntPratica.getStatoPraticaWorkflow()); - boIntPraticaImpl.setEsitoControllo(boIntPratica.getEsitoControllo()); - boIntPraticaImpl.setCollaudoStatico(boIntPratica.isCollaudoStatico()); - boIntPraticaImpl.setCollaudoStaticoAgtSanatoria(boIntPratica.isCollaudoStaticoAgtSanatoria()); - boIntPraticaImpl.setCodiceFiscaleDelegato(boIntPratica.getCodiceFiscaleDelegato()); - boIntPraticaImpl.setCodiceRuoloDelegato(boIntPratica.getCodiceRuoloDelegato()); - boIntPraticaImpl.setLavoriInEconomiaCommittente(boIntPratica.isLavoriInEconomiaCommittente()); - boIntPraticaImpl.setNomeUtenteSuap(boIntPratica.getNomeUtenteSuap()); - boIntPraticaImpl.setCognomeUtenteSuap(boIntPratica.getCognomeUtenteSuap()); - boIntPraticaImpl.setCodiceFiscaleUtenteSuap(boIntPratica.getCodiceFiscaleUtenteSuap()); - boIntPraticaImpl.setInizioLavoriContestualeOpera(boIntPratica.isInizioLavoriContestualeOpera()); - boIntPraticaImpl.setDataInizioLavoriOpera(boIntPratica.getDataInizioLavoriOpera()); - boIntPraticaImpl.setDataInizioEsecuzioneOpera(boIntPratica.getDataInizioEsecuzioneOpera()); - boIntPraticaImpl.setDataFineEsecuzioneOpera(boIntPratica.getDataFineEsecuzioneOpera()); - boIntPraticaImpl.setMetratura(boIntPratica.getMetratura()); - boIntPraticaImpl.setLavoriPubblici(boIntPratica.isLavoriPubblici()); - boIntPraticaImpl.setDtPratica(boIntPratica.getDtPratica()); - - return boIntPraticaImpl; - } - - /** - * Returns the bo int pratica with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the bo int pratica - * @return the bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica findByPrimaryKey(Serializable primaryKey) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = fetchByPrimaryKey(primaryKey); - - if (boIntPratica == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoIntPraticaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return boIntPratica; - } - - /** - * Returns the bo int pratica with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException} if it could not be found. - * - * @param intPraticaId the primary key of the bo int pratica - * @return the bo int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica findByPrimaryKey(long intPraticaId) - throws NoSuchBoIntPraticaException, SystemException { - return findByPrimaryKey((Serializable)intPraticaId); - } - - /** - * Returns the bo int pratica with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the bo int pratica - * @return the bo int pratica, or null if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - BoIntPratica boIntPratica = (BoIntPratica)EntityCacheUtil.getResult(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaImpl.class, primaryKey); - - if (boIntPratica == _nullBoIntPratica) { - return null; - } - - if (boIntPratica == null) { - Session session = null; - - try { - session = openSession(); - - boIntPratica = (BoIntPratica)session.get(BoIntPraticaImpl.class, - primaryKey); - - if (boIntPratica != null) { - cacheResult(boIntPratica); - } - else { - EntityCacheUtil.putResult(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaImpl.class, primaryKey, _nullBoIntPratica); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return boIntPratica; - } - - /** - * Returns the bo int pratica with the primary key or returns null if it could not be found. - * - * @param intPraticaId the primary key of the bo int pratica - * @return the bo int pratica, or null if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchByPrimaryKey(long intPraticaId) - throws SystemException { - return fetchByPrimaryKey((Serializable)intPraticaId); - } - - /** - * Returns all the bo int praticas. - * - * @return the bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the bo int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_BOINTPRATICA); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_BOINTPRATICA; - - if (pagination) { - sql = sql.concat(BoIntPraticaModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the bo int praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (BoIntPratica boIntPratica : findAll()) { - remove(boIntPratica); - } - } - - /** - * Returns the number of bo int praticas. - * - * @return the number of bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_BOINTPRATICA); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - @Override - protected Set getBadColumnNames() { - return _badColumnNames; - } - - /** - * Initializes the bo int pratica persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.importazione.model.BoIntPratica"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(BoIntPraticaImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_BOINTPRATICA = "SELECT boIntPratica FROM BoIntPratica boIntPratica"; - private static final String _SQL_SELECT_BOINTPRATICA_WHERE = "SELECT boIntPratica FROM BoIntPratica boIntPratica WHERE "; - private static final String _SQL_COUNT_BOINTPRATICA = "SELECT COUNT(boIntPratica) FROM BoIntPratica boIntPratica"; - private static final String _SQL_COUNT_BOINTPRATICA_WHERE = "SELECT COUNT(boIntPratica) FROM BoIntPratica boIntPratica WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "boIntPratica."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No BoIntPratica exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No BoIntPratica exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(BoIntPraticaPersistenceImpl.class); - private static Set _badColumnNames = SetUtil.fromArray(new String[] { - "uuid" - }); - private static BoIntPratica _nullBoIntPratica = new BoIntPraticaImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullBoIntPraticaCacheModel; - } - }; - - private static CacheModel _nullBoIntPraticaCacheModel = new CacheModel() { - @Override - public BoIntPratica toEntityModel() { - return _nullBoIntPratica; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoProblemiPraticaPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoProblemiPraticaPersistenceImpl.java deleted file mode 100644 index a1b6356d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoProblemiPraticaPersistenceImpl.java +++ /dev/null @@ -1,1810 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException; -import it.tref.liferay.portos.importazione.model.BoProblemiPratica; -import it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaImpl; -import it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaModelImpl; -import it.tref.liferay.portos.importazione.service.persistence.BoProblemiPraticaPersistence; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -/** - * The persistence implementation for the bo problemi pratica service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoProblemiPraticaPersistence - * @see BoProblemiPraticaUtil - * @generated - */ -public class BoProblemiPraticaPersistenceImpl extends BasePersistenceImpl - implements BoProblemiPraticaPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link BoProblemiPraticaUtil} to access the bo problemi pratica persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = BoProblemiPraticaImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(BoProblemiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoProblemiPraticaModelImpl.FINDER_CACHE_ENABLED, - BoProblemiPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(BoProblemiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoProblemiPraticaModelImpl.FINDER_CACHE_ENABLED, - BoProblemiPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(BoProblemiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoProblemiPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA = - new FinderPath(BoProblemiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoProblemiPraticaModelImpl.FINDER_CACHE_ENABLED, - BoProblemiPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByC_Group_DettPratica", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA = - new FinderPath(BoProblemiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoProblemiPraticaModelImpl.FINDER_CACHE_ENABLED, - BoProblemiPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByC_Group_DettPratica", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName() - }, - BoProblemiPraticaModelImpl.COMPANYID_COLUMN_BITMASK | - BoProblemiPraticaModelImpl.GROUPID_COLUMN_BITMASK | - BoProblemiPraticaModelImpl.DETTPRATICAID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_C_GROUP_DETTPRATICA = new FinderPath(BoProblemiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoProblemiPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByC_Group_DettPratica", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName() - }); - - /** - * Returns all the bo problemi praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @return the matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group_DettPratica(long companyId, - long groupId, long dettPraticaId) throws SystemException { - return findByC_Group_DettPratica(companyId, groupId, dettPraticaId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo problemi praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @return the range of matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group_DettPratica(long companyId, - long groupId, long dettPraticaId, int start, int end) - throws SystemException { - return findByC_Group_DettPratica(companyId, groupId, dettPraticaId, - start, end, null); - } - - /** - * Returns an ordered range of all the bo problemi praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group_DettPratica(long companyId, - long groupId, long dettPraticaId, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA; - finderArgs = new Object[] { companyId, groupId, dettPraticaId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA; - finderArgs = new Object[] { - companyId, groupId, dettPraticaId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoProblemiPratica boProblemiPratica : list) { - if ((companyId != boProblemiPratica.getCompanyId()) || - (groupId != boProblemiPratica.getGroupId()) || - (dettPraticaId != boProblemiPratica.getDettPraticaId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(5 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(5); - } - - query.append(_SQL_SELECT_BOPROBLEMIPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_GROUPID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_DETTPRATICAID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoProblemiPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - qPos.add(dettPraticaId); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo problemi pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo problemi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoProblemiPratica findByC_Group_DettPratica_First(long companyId, - long groupId, long dettPraticaId, OrderByComparator orderByComparator) - throws NoSuchBoProblemiPraticaException, SystemException { - BoProblemiPratica boProblemiPratica = fetchByC_Group_DettPratica_First(companyId, - groupId, dettPraticaId, orderByComparator); - - if (boProblemiPratica != null) { - return boProblemiPratica; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(", dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoProblemiPraticaException(msg.toString()); - } - - /** - * Returns the first bo problemi pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo problemi pratica, or null if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoProblemiPratica fetchByC_Group_DettPratica_First(long companyId, - long groupId, long dettPraticaId, OrderByComparator orderByComparator) - throws SystemException { - List list = findByC_Group_DettPratica(companyId, - groupId, dettPraticaId, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo problemi pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo problemi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoProblemiPratica findByC_Group_DettPratica_Last(long companyId, - long groupId, long dettPraticaId, OrderByComparator orderByComparator) - throws NoSuchBoProblemiPraticaException, SystemException { - BoProblemiPratica boProblemiPratica = fetchByC_Group_DettPratica_Last(companyId, - groupId, dettPraticaId, orderByComparator); - - if (boProblemiPratica != null) { - return boProblemiPratica; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(", dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoProblemiPraticaException(msg.toString()); - } - - /** - * Returns the last bo problemi pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo problemi pratica, or null if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoProblemiPratica fetchByC_Group_DettPratica_Last(long companyId, - long groupId, long dettPraticaId, OrderByComparator orderByComparator) - throws SystemException { - int count = countByC_Group_DettPratica(companyId, groupId, dettPraticaId); - - if (count == 0) { - return null; - } - - List list = findByC_Group_DettPratica(companyId, - groupId, dettPraticaId, count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo problemi praticas before and after the current bo problemi pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param problemiPraticaId the primary key of the current bo problemi pratica - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo problemi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoProblemiPratica[] findByC_Group_DettPratica_PrevAndNext( - long problemiPraticaId, long companyId, long groupId, - long dettPraticaId, OrderByComparator orderByComparator) - throws NoSuchBoProblemiPraticaException, SystemException { - BoProblemiPratica boProblemiPratica = findByPrimaryKey(problemiPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoProblemiPratica[] array = new BoProblemiPraticaImpl[3]; - - array[0] = getByC_Group_DettPratica_PrevAndNext(session, - boProblemiPratica, companyId, groupId, dettPraticaId, - orderByComparator, true); - - array[1] = boProblemiPratica; - - array[2] = getByC_Group_DettPratica_PrevAndNext(session, - boProblemiPratica, companyId, groupId, dettPraticaId, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoProblemiPratica getByC_Group_DettPratica_PrevAndNext( - Session session, BoProblemiPratica boProblemiPratica, long companyId, - long groupId, long dettPraticaId, OrderByComparator orderByComparator, - boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOPROBLEMIPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_GROUPID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_DETTPRATICAID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoProblemiPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - qPos.add(dettPraticaId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boProblemiPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo problemi praticas where companyId = ? and groupId = ? and dettPraticaId = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByC_Group_DettPratica(long companyId, long groupId, - long dettPraticaId) throws SystemException { - for (BoProblemiPratica boProblemiPratica : findByC_Group_DettPratica( - companyId, groupId, dettPraticaId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(boProblemiPratica); - } - } - - /** - * Returns the number of bo problemi praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_Group_DettPratica(long companyId, long groupId, - long dettPraticaId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_C_GROUP_DETTPRATICA; - - Object[] finderArgs = new Object[] { companyId, groupId, dettPraticaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_COUNT_BOPROBLEMIPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_GROUPID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_DETTPRATICAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - qPos.add(dettPraticaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_COMPANYID_2 = "boProblemiPratica.companyId = ? AND "; - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_GROUPID_2 = "boProblemiPratica.groupId = ? AND "; - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_DETTPRATICAID_2 = - "boProblemiPratica.dettPraticaId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICA = - new FinderPath(BoProblemiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoProblemiPraticaModelImpl.FINDER_CACHE_ENABLED, - BoProblemiPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByDettPratica", - new String[] { - Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA = - new FinderPath(BoProblemiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoProblemiPraticaModelImpl.FINDER_CACHE_ENABLED, - BoProblemiPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByDettPratica", - new String[] { Long.class.getName() }, - BoProblemiPraticaModelImpl.DETTPRATICAID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_DETTPRATICA = new FinderPath(BoProblemiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoProblemiPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByDettPratica", - new String[] { Long.class.getName() }); - - /** - * Returns all the bo problemi praticas where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica(long dettPraticaId) - throws SystemException { - return findByDettPratica(dettPraticaId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo problemi praticas where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @return the range of matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica(long dettPraticaId, - int start, int end) throws SystemException { - return findByDettPratica(dettPraticaId, start, end, null); - } - - /** - * Returns an ordered range of all the bo problemi praticas where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica(long dettPraticaId, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA; - finderArgs = new Object[] { dettPraticaId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICA; - finderArgs = new Object[] { - dettPraticaId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoProblemiPratica boProblemiPratica : list) { - if ((dettPraticaId != boProblemiPratica.getDettPraticaId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOPROBLEMIPRATICA_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_DETTPRATICAID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoProblemiPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo problemi pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo problemi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoProblemiPratica findByDettPratica_First(long dettPraticaId, - OrderByComparator orderByComparator) - throws NoSuchBoProblemiPraticaException, SystemException { - BoProblemiPratica boProblemiPratica = fetchByDettPratica_First(dettPraticaId, - orderByComparator); - - if (boProblemiPratica != null) { - return boProblemiPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoProblemiPraticaException(msg.toString()); - } - - /** - * Returns the first bo problemi pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo problemi pratica, or null if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoProblemiPratica fetchByDettPratica_First(long dettPraticaId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByDettPratica(dettPraticaId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo problemi pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo problemi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoProblemiPratica findByDettPratica_Last(long dettPraticaId, - OrderByComparator orderByComparator) - throws NoSuchBoProblemiPraticaException, SystemException { - BoProblemiPratica boProblemiPratica = fetchByDettPratica_Last(dettPraticaId, - orderByComparator); - - if (boProblemiPratica != null) { - return boProblemiPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoProblemiPraticaException(msg.toString()); - } - - /** - * Returns the last bo problemi pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo problemi pratica, or null if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoProblemiPratica fetchByDettPratica_Last(long dettPraticaId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByDettPratica(dettPraticaId); - - if (count == 0) { - return null; - } - - List list = findByDettPratica(dettPraticaId, - count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo problemi praticas before and after the current bo problemi pratica in the ordered set where dettPraticaId = ?. - * - * @param problemiPraticaId the primary key of the current bo problemi pratica - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo problemi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoProblemiPratica[] findByDettPratica_PrevAndNext( - long problemiPraticaId, long dettPraticaId, - OrderByComparator orderByComparator) - throws NoSuchBoProblemiPraticaException, SystemException { - BoProblemiPratica boProblemiPratica = findByPrimaryKey(problemiPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoProblemiPratica[] array = new BoProblemiPraticaImpl[3]; - - array[0] = getByDettPratica_PrevAndNext(session, boProblemiPratica, - dettPraticaId, orderByComparator, true); - - array[1] = boProblemiPratica; - - array[2] = getByDettPratica_PrevAndNext(session, boProblemiPratica, - dettPraticaId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoProblemiPratica getByDettPratica_PrevAndNext(Session session, - BoProblemiPratica boProblemiPratica, long dettPraticaId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOPROBLEMIPRATICA_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_DETTPRATICAID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoProblemiPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boProblemiPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo problemi praticas where dettPraticaId = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByDettPratica(long dettPraticaId) - throws SystemException { - for (BoProblemiPratica boProblemiPratica : findByDettPratica( - dettPraticaId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boProblemiPratica); - } - } - - /** - * Returns the number of bo problemi praticas where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByDettPratica(long dettPraticaId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_DETTPRATICA; - - Object[] finderArgs = new Object[] { dettPraticaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BOPROBLEMIPRATICA_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_DETTPRATICAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_DETTPRATICA_DETTPRATICAID_2 = "boProblemiPratica.dettPraticaId = ?"; - - public BoProblemiPraticaPersistenceImpl() { - setModelClass(BoProblemiPratica.class); - } - - /** - * Caches the bo problemi pratica in the entity cache if it is enabled. - * - * @param boProblemiPratica the bo problemi pratica - */ - @Override - public void cacheResult(BoProblemiPratica boProblemiPratica) { - EntityCacheUtil.putResult(BoProblemiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoProblemiPraticaImpl.class, boProblemiPratica.getPrimaryKey(), - boProblemiPratica); - - boProblemiPratica.resetOriginalValues(); - } - - /** - * Caches the bo problemi praticas in the entity cache if it is enabled. - * - * @param boProblemiPraticas the bo problemi praticas - */ - @Override - public void cacheResult(List boProblemiPraticas) { - for (BoProblemiPratica boProblemiPratica : boProblemiPraticas) { - if (EntityCacheUtil.getResult( - BoProblemiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoProblemiPraticaImpl.class, - boProblemiPratica.getPrimaryKey()) == null) { - cacheResult(boProblemiPratica); - } - else { - boProblemiPratica.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all bo problemi praticas. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(BoProblemiPraticaImpl.class.getName()); - } - - EntityCacheUtil.clearCache(BoProblemiPraticaImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the bo problemi pratica. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(BoProblemiPratica boProblemiPratica) { - EntityCacheUtil.removeResult(BoProblemiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoProblemiPraticaImpl.class, boProblemiPratica.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - @Override - public void clearCache(List boProblemiPraticas) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (BoProblemiPratica boProblemiPratica : boProblemiPraticas) { - EntityCacheUtil.removeResult(BoProblemiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoProblemiPraticaImpl.class, boProblemiPratica.getPrimaryKey()); - } - } - - /** - * Creates a new bo problemi pratica with the primary key. Does not add the bo problemi pratica to the database. - * - * @param problemiPraticaId the primary key for the new bo problemi pratica - * @return the new bo problemi pratica - */ - @Override - public BoProblemiPratica create(long problemiPraticaId) { - BoProblemiPratica boProblemiPratica = new BoProblemiPraticaImpl(); - - boProblemiPratica.setNew(true); - boProblemiPratica.setPrimaryKey(problemiPraticaId); - - return boProblemiPratica; - } - - /** - * Removes the bo problemi pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param problemiPraticaId the primary key of the bo problemi pratica - * @return the bo problemi pratica that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoProblemiPratica remove(long problemiPraticaId) - throws NoSuchBoProblemiPraticaException, SystemException { - return remove((Serializable)problemiPraticaId); - } - - /** - * Removes the bo problemi pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the bo problemi pratica - * @return the bo problemi pratica that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoProblemiPratica remove(Serializable primaryKey) - throws NoSuchBoProblemiPraticaException, SystemException { - Session session = null; - - try { - session = openSession(); - - BoProblemiPratica boProblemiPratica = (BoProblemiPratica)session.get(BoProblemiPraticaImpl.class, - primaryKey); - - if (boProblemiPratica == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoProblemiPraticaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(boProblemiPratica); - } - catch (NoSuchBoProblemiPraticaException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected BoProblemiPratica removeImpl(BoProblemiPratica boProblemiPratica) - throws SystemException { - boProblemiPratica = toUnwrappedModel(boProblemiPratica); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(boProblemiPratica)) { - boProblemiPratica = (BoProblemiPratica)session.get(BoProblemiPraticaImpl.class, - boProblemiPratica.getPrimaryKeyObj()); - } - - if (boProblemiPratica != null) { - session.delete(boProblemiPratica); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (boProblemiPratica != null) { - clearCache(boProblemiPratica); - } - - return boProblemiPratica; - } - - @Override - public BoProblemiPratica updateImpl( - it.tref.liferay.portos.importazione.model.BoProblemiPratica boProblemiPratica) - throws SystemException { - boProblemiPratica = toUnwrappedModel(boProblemiPratica); - - boolean isNew = boProblemiPratica.isNew(); - - BoProblemiPraticaModelImpl boProblemiPraticaModelImpl = (BoProblemiPraticaModelImpl)boProblemiPratica; - - Session session = null; - - try { - session = openSession(); - - if (boProblemiPratica.isNew()) { - session.save(boProblemiPratica); - - boProblemiPratica.setNew(false); - } - else { - session.merge(boProblemiPratica); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !BoProblemiPraticaModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((boProblemiPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boProblemiPraticaModelImpl.getOriginalCompanyId(), - boProblemiPraticaModelImpl.getOriginalGroupId(), - boProblemiPraticaModelImpl.getOriginalDettPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_GROUP_DETTPRATICA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA, - args); - - args = new Object[] { - boProblemiPraticaModelImpl.getCompanyId(), - boProblemiPraticaModelImpl.getGroupId(), - boProblemiPraticaModelImpl.getDettPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_GROUP_DETTPRATICA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA, - args); - } - - if ((boProblemiPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boProblemiPraticaModelImpl.getOriginalDettPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA, - args); - - args = new Object[] { - boProblemiPraticaModelImpl.getDettPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA, - args); - } - } - - EntityCacheUtil.putResult(BoProblemiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoProblemiPraticaImpl.class, boProblemiPratica.getPrimaryKey(), - boProblemiPratica); - - return boProblemiPratica; - } - - protected BoProblemiPratica toUnwrappedModel( - BoProblemiPratica boProblemiPratica) { - if (boProblemiPratica instanceof BoProblemiPraticaImpl) { - return boProblemiPratica; - } - - BoProblemiPraticaImpl boProblemiPraticaImpl = new BoProblemiPraticaImpl(); - - boProblemiPraticaImpl.setNew(boProblemiPratica.isNew()); - boProblemiPraticaImpl.setPrimaryKey(boProblemiPratica.getPrimaryKey()); - - boProblemiPraticaImpl.setProblemiPraticaId(boProblemiPratica.getProblemiPraticaId()); - boProblemiPraticaImpl.setCompanyId(boProblemiPratica.getCompanyId()); - boProblemiPraticaImpl.setUserId(boProblemiPratica.getUserId()); - boProblemiPraticaImpl.setUserName(boProblemiPratica.getUserName()); - boProblemiPraticaImpl.setCreateDate(boProblemiPratica.getCreateDate()); - boProblemiPraticaImpl.setModifiedDate(boProblemiPratica.getModifiedDate()); - boProblemiPraticaImpl.setGroupId(boProblemiPratica.getGroupId()); - boProblemiPraticaImpl.setDettPraticaId(boProblemiPratica.getDettPraticaId()); - boProblemiPraticaImpl.setJsonError(boProblemiPratica.getJsonError()); - - return boProblemiPraticaImpl; - } - - /** - * Returns the bo problemi pratica with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the bo problemi pratica - * @return the bo problemi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoProblemiPratica findByPrimaryKey(Serializable primaryKey) - throws NoSuchBoProblemiPraticaException, SystemException { - BoProblemiPratica boProblemiPratica = fetchByPrimaryKey(primaryKey); - - if (boProblemiPratica == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoProblemiPraticaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return boProblemiPratica; - } - - /** - * Returns the bo problemi pratica with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException} if it could not be found. - * - * @param problemiPraticaId the primary key of the bo problemi pratica - * @return the bo problemi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoProblemiPraticaException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoProblemiPratica findByPrimaryKey(long problemiPraticaId) - throws NoSuchBoProblemiPraticaException, SystemException { - return findByPrimaryKey((Serializable)problemiPraticaId); - } - - /** - * Returns the bo problemi pratica with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the bo problemi pratica - * @return the bo problemi pratica, or null if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoProblemiPratica fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - BoProblemiPratica boProblemiPratica = (BoProblemiPratica)EntityCacheUtil.getResult(BoProblemiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoProblemiPraticaImpl.class, primaryKey); - - if (boProblemiPratica == _nullBoProblemiPratica) { - return null; - } - - if (boProblemiPratica == null) { - Session session = null; - - try { - session = openSession(); - - boProblemiPratica = (BoProblemiPratica)session.get(BoProblemiPraticaImpl.class, - primaryKey); - - if (boProblemiPratica != null) { - cacheResult(boProblemiPratica); - } - else { - EntityCacheUtil.putResult(BoProblemiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoProblemiPraticaImpl.class, primaryKey, - _nullBoProblemiPratica); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(BoProblemiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoProblemiPraticaImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return boProblemiPratica; - } - - /** - * Returns the bo problemi pratica with the primary key or returns null if it could not be found. - * - * @param problemiPraticaId the primary key of the bo problemi pratica - * @return the bo problemi pratica, or null if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoProblemiPratica fetchByPrimaryKey(long problemiPraticaId) - throws SystemException { - return fetchByPrimaryKey((Serializable)problemiPraticaId); - } - - /** - * Returns all the bo problemi praticas. - * - * @return the bo problemi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo problemi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @return the range of bo problemi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the bo problemi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo problemi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_BOPROBLEMIPRATICA); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_BOPROBLEMIPRATICA; - - if (pagination) { - sql = sql.concat(BoProblemiPraticaModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the bo problemi praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (BoProblemiPratica boProblemiPratica : findAll()) { - remove(boProblemiPratica); - } - } - - /** - * Returns the number of bo problemi praticas. - * - * @return the number of bo problemi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_BOPROBLEMIPRATICA); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - /** - * Initializes the bo problemi pratica persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.importazione.model.BoProblemiPratica"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(BoProblemiPraticaImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_BOPROBLEMIPRATICA = "SELECT boProblemiPratica FROM BoProblemiPratica boProblemiPratica"; - private static final String _SQL_SELECT_BOPROBLEMIPRATICA_WHERE = "SELECT boProblemiPratica FROM BoProblemiPratica boProblemiPratica WHERE "; - private static final String _SQL_COUNT_BOPROBLEMIPRATICA = "SELECT COUNT(boProblemiPratica) FROM BoProblemiPratica boProblemiPratica"; - private static final String _SQL_COUNT_BOPROBLEMIPRATICA_WHERE = "SELECT COUNT(boProblemiPratica) FROM BoProblemiPratica boProblemiPratica WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "boProblemiPratica."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No BoProblemiPratica exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No BoProblemiPratica exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(BoProblemiPraticaPersistenceImpl.class); - private static BoProblemiPratica _nullBoProblemiPratica = new BoProblemiPraticaImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullBoProblemiPraticaCacheModel; - } - }; - - private static CacheModel _nullBoProblemiPraticaCacheModel = - new CacheModel() { - @Override - public BoProblemiPratica toEntityModel() { - return _nullBoProblemiPratica; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoRelLeggiPraticaPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoRelLeggiPraticaPersistenceImpl.java deleted file mode 100644 index 8d91af66..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoRelLeggiPraticaPersistenceImpl.java +++ /dev/null @@ -1,1564 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException; -import it.tref.liferay.portos.importazione.model.BoRelLeggiPratica; -import it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaImpl; -import it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaModelImpl; -import it.tref.liferay.portos.importazione.service.persistence.BoRelLeggiPraticaPersistence; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -/** - * The persistence implementation for the bo rel leggi pratica service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoRelLeggiPraticaPersistence - * @see BoRelLeggiPraticaUtil - * @generated - */ -public class BoRelLeggiPraticaPersistenceImpl extends BasePersistenceImpl - implements BoRelLeggiPraticaPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link BoRelLeggiPraticaUtil} to access the bo rel leggi pratica persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = BoRelLeggiPraticaImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(BoRelLeggiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoRelLeggiPraticaModelImpl.FINDER_CACHE_ENABLED, - BoRelLeggiPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(BoRelLeggiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoRelLeggiPraticaModelImpl.FINDER_CACHE_ENABLED, - BoRelLeggiPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(BoRelLeggiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoRelLeggiPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_ARTLEGGEID = - new FinderPath(BoRelLeggiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoRelLeggiPraticaModelImpl.FINDER_CACHE_ENABLED, - BoRelLeggiPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByArtLeggeId", - new String[] { - Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ARTLEGGEID = - new FinderPath(BoRelLeggiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoRelLeggiPraticaModelImpl.FINDER_CACHE_ENABLED, - BoRelLeggiPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByArtLeggeId", - new String[] { Long.class.getName() }, - BoRelLeggiPraticaModelImpl.ARTLEGGEID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_ARTLEGGEID = new FinderPath(BoRelLeggiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoRelLeggiPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByArtLeggeId", - new String[] { Long.class.getName() }); - - /** - * Returns all the bo rel leggi praticas where artLeggeId = ?. - * - * @param artLeggeId the art legge ID - * @return the matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByArtLeggeId(long artLeggeId) - throws SystemException { - return findByArtLeggeId(artLeggeId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo rel leggi praticas where artLeggeId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param artLeggeId the art legge ID - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @return the range of matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByArtLeggeId(long artLeggeId, int start, - int end) throws SystemException { - return findByArtLeggeId(artLeggeId, start, end, null); - } - - /** - * Returns an ordered range of all the bo rel leggi praticas where artLeggeId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param artLeggeId the art legge ID - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByArtLeggeId(long artLeggeId, int start, - int end, OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ARTLEGGEID; - finderArgs = new Object[] { artLeggeId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_ARTLEGGEID; - finderArgs = new Object[] { artLeggeId, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoRelLeggiPratica boRelLeggiPratica : list) { - if ((artLeggeId != boRelLeggiPratica.getArtLeggeId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BORELLEGGIPRATICA_WHERE); - - query.append(_FINDER_COLUMN_ARTLEGGEID_ARTLEGGEID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoRelLeggiPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(artLeggeId); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo rel leggi pratica in the ordered set where artLeggeId = ?. - * - * @param artLeggeId the art legge ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo rel leggi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoRelLeggiPratica findByArtLeggeId_First(long artLeggeId, - OrderByComparator orderByComparator) - throws NoSuchBoRelLeggiPraticaException, SystemException { - BoRelLeggiPratica boRelLeggiPratica = fetchByArtLeggeId_First(artLeggeId, - orderByComparator); - - if (boRelLeggiPratica != null) { - return boRelLeggiPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("artLeggeId="); - msg.append(artLeggeId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoRelLeggiPraticaException(msg.toString()); - } - - /** - * Returns the first bo rel leggi pratica in the ordered set where artLeggeId = ?. - * - * @param artLeggeId the art legge ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo rel leggi pratica, or null if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoRelLeggiPratica fetchByArtLeggeId_First(long artLeggeId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByArtLeggeId(artLeggeId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo rel leggi pratica in the ordered set where artLeggeId = ?. - * - * @param artLeggeId the art legge ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo rel leggi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoRelLeggiPratica findByArtLeggeId_Last(long artLeggeId, - OrderByComparator orderByComparator) - throws NoSuchBoRelLeggiPraticaException, SystemException { - BoRelLeggiPratica boRelLeggiPratica = fetchByArtLeggeId_Last(artLeggeId, - orderByComparator); - - if (boRelLeggiPratica != null) { - return boRelLeggiPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("artLeggeId="); - msg.append(artLeggeId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoRelLeggiPraticaException(msg.toString()); - } - - /** - * Returns the last bo rel leggi pratica in the ordered set where artLeggeId = ?. - * - * @param artLeggeId the art legge ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo rel leggi pratica, or null if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoRelLeggiPratica fetchByArtLeggeId_Last(long artLeggeId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByArtLeggeId(artLeggeId); - - if (count == 0) { - return null; - } - - List list = findByArtLeggeId(artLeggeId, count - 1, - count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Removes all the bo rel leggi praticas where artLeggeId = ? from the database. - * - * @param artLeggeId the art legge ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByArtLeggeId(long artLeggeId) throws SystemException { - for (BoRelLeggiPratica boRelLeggiPratica : findByArtLeggeId( - artLeggeId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boRelLeggiPratica); - } - } - - /** - * Returns the number of bo rel leggi praticas where artLeggeId = ?. - * - * @param artLeggeId the art legge ID - * @return the number of matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByArtLeggeId(long artLeggeId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_ARTLEGGEID; - - Object[] finderArgs = new Object[] { artLeggeId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BORELLEGGIPRATICA_WHERE); - - query.append(_FINDER_COLUMN_ARTLEGGEID_ARTLEGGEID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(artLeggeId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_ARTLEGGEID_ARTLEGGEID_2 = "boRelLeggiPratica.artLeggeId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_INTPRATICAID = - new FinderPath(BoRelLeggiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoRelLeggiPraticaModelImpl.FINDER_CACHE_ENABLED, - BoRelLeggiPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByIntPraticaId", - new String[] { - Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID = - new FinderPath(BoRelLeggiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoRelLeggiPraticaModelImpl.FINDER_CACHE_ENABLED, - BoRelLeggiPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByIntPraticaId", - new String[] { Long.class.getName() }, - BoRelLeggiPraticaModelImpl.INTPRATICAID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_INTPRATICAID = new FinderPath(BoRelLeggiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoRelLeggiPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByIntPraticaId", - new String[] { Long.class.getName() }); - - /** - * Returns all the bo rel leggi praticas where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @return the matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByIntPraticaId(long intPraticaId) - throws SystemException { - return findByIntPraticaId(intPraticaId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo rel leggi praticas where intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @return the range of matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByIntPraticaId(long intPraticaId, - int start, int end) throws SystemException { - return findByIntPraticaId(intPraticaId, start, end, null); - } - - /** - * Returns an ordered range of all the bo rel leggi praticas where intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByIntPraticaId(long intPraticaId, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID; - finderArgs = new Object[] { intPraticaId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_INTPRATICAID; - finderArgs = new Object[] { - intPraticaId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoRelLeggiPratica boRelLeggiPratica : list) { - if ((intPraticaId != boRelLeggiPratica.getIntPraticaId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BORELLEGGIPRATICA_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_INTPRATICAID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoRelLeggiPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(intPraticaId); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo rel leggi pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo rel leggi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoRelLeggiPratica findByIntPraticaId_First(long intPraticaId, - OrderByComparator orderByComparator) - throws NoSuchBoRelLeggiPraticaException, SystemException { - BoRelLeggiPratica boRelLeggiPratica = fetchByIntPraticaId_First(intPraticaId, - orderByComparator); - - if (boRelLeggiPratica != null) { - return boRelLeggiPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("intPraticaId="); - msg.append(intPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoRelLeggiPraticaException(msg.toString()); - } - - /** - * Returns the first bo rel leggi pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo rel leggi pratica, or null if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoRelLeggiPratica fetchByIntPraticaId_First(long intPraticaId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByIntPraticaId(intPraticaId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo rel leggi pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo rel leggi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoRelLeggiPratica findByIntPraticaId_Last(long intPraticaId, - OrderByComparator orderByComparator) - throws NoSuchBoRelLeggiPraticaException, SystemException { - BoRelLeggiPratica boRelLeggiPratica = fetchByIntPraticaId_Last(intPraticaId, - orderByComparator); - - if (boRelLeggiPratica != null) { - return boRelLeggiPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("intPraticaId="); - msg.append(intPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoRelLeggiPraticaException(msg.toString()); - } - - /** - * Returns the last bo rel leggi pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo rel leggi pratica, or null if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoRelLeggiPratica fetchByIntPraticaId_Last(long intPraticaId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByIntPraticaId(intPraticaId); - - if (count == 0) { - return null; - } - - List list = findByIntPraticaId(intPraticaId, - count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo rel leggi praticas before and after the current bo rel leggi pratica in the ordered set where intPraticaId = ?. - * - * @param artLeggeId the primary key of the current bo rel leggi pratica - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo rel leggi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoRelLeggiPratica[] findByIntPraticaId_PrevAndNext(long artLeggeId, - long intPraticaId, OrderByComparator orderByComparator) - throws NoSuchBoRelLeggiPraticaException, SystemException { - BoRelLeggiPratica boRelLeggiPratica = findByPrimaryKey(artLeggeId); - - Session session = null; - - try { - session = openSession(); - - BoRelLeggiPratica[] array = new BoRelLeggiPraticaImpl[3]; - - array[0] = getByIntPraticaId_PrevAndNext(session, - boRelLeggiPratica, intPraticaId, orderByComparator, true); - - array[1] = boRelLeggiPratica; - - array[2] = getByIntPraticaId_PrevAndNext(session, - boRelLeggiPratica, intPraticaId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoRelLeggiPratica getByIntPraticaId_PrevAndNext(Session session, - BoRelLeggiPratica boRelLeggiPratica, long intPraticaId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BORELLEGGIPRATICA_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_INTPRATICAID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoRelLeggiPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(intPraticaId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boRelLeggiPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo rel leggi praticas where intPraticaId = ? from the database. - * - * @param intPraticaId the int pratica ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByIntPraticaId(long intPraticaId) - throws SystemException { - for (BoRelLeggiPratica boRelLeggiPratica : findByIntPraticaId( - intPraticaId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boRelLeggiPratica); - } - } - - /** - * Returns the number of bo rel leggi praticas where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @return the number of matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByIntPraticaId(long intPraticaId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_INTPRATICAID; - - Object[] finderArgs = new Object[] { intPraticaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BORELLEGGIPRATICA_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_INTPRATICAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(intPraticaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_INTPRATICAID_INTPRATICAID_2 = "boRelLeggiPratica.intPraticaId = ?"; - - public BoRelLeggiPraticaPersistenceImpl() { - setModelClass(BoRelLeggiPratica.class); - } - - /** - * Caches the bo rel leggi pratica in the entity cache if it is enabled. - * - * @param boRelLeggiPratica the bo rel leggi pratica - */ - @Override - public void cacheResult(BoRelLeggiPratica boRelLeggiPratica) { - EntityCacheUtil.putResult(BoRelLeggiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoRelLeggiPraticaImpl.class, boRelLeggiPratica.getPrimaryKey(), - boRelLeggiPratica); - - boRelLeggiPratica.resetOriginalValues(); - } - - /** - * Caches the bo rel leggi praticas in the entity cache if it is enabled. - * - * @param boRelLeggiPraticas the bo rel leggi praticas - */ - @Override - public void cacheResult(List boRelLeggiPraticas) { - for (BoRelLeggiPratica boRelLeggiPratica : boRelLeggiPraticas) { - if (EntityCacheUtil.getResult( - BoRelLeggiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoRelLeggiPraticaImpl.class, - boRelLeggiPratica.getPrimaryKey()) == null) { - cacheResult(boRelLeggiPratica); - } - else { - boRelLeggiPratica.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all bo rel leggi praticas. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(BoRelLeggiPraticaImpl.class.getName()); - } - - EntityCacheUtil.clearCache(BoRelLeggiPraticaImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the bo rel leggi pratica. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(BoRelLeggiPratica boRelLeggiPratica) { - EntityCacheUtil.removeResult(BoRelLeggiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoRelLeggiPraticaImpl.class, boRelLeggiPratica.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - @Override - public void clearCache(List boRelLeggiPraticas) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (BoRelLeggiPratica boRelLeggiPratica : boRelLeggiPraticas) { - EntityCacheUtil.removeResult(BoRelLeggiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoRelLeggiPraticaImpl.class, boRelLeggiPratica.getPrimaryKey()); - } - } - - /** - * Creates a new bo rel leggi pratica with the primary key. Does not add the bo rel leggi pratica to the database. - * - * @param artLeggeId the primary key for the new bo rel leggi pratica - * @return the new bo rel leggi pratica - */ - @Override - public BoRelLeggiPratica create(long artLeggeId) { - BoRelLeggiPratica boRelLeggiPratica = new BoRelLeggiPraticaImpl(); - - boRelLeggiPratica.setNew(true); - boRelLeggiPratica.setPrimaryKey(artLeggeId); - - return boRelLeggiPratica; - } - - /** - * Removes the bo rel leggi pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param artLeggeId the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoRelLeggiPratica remove(long artLeggeId) - throws NoSuchBoRelLeggiPraticaException, SystemException { - return remove((Serializable)artLeggeId); - } - - /** - * Removes the bo rel leggi pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoRelLeggiPratica remove(Serializable primaryKey) - throws NoSuchBoRelLeggiPraticaException, SystemException { - Session session = null; - - try { - session = openSession(); - - BoRelLeggiPratica boRelLeggiPratica = (BoRelLeggiPratica)session.get(BoRelLeggiPraticaImpl.class, - primaryKey); - - if (boRelLeggiPratica == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoRelLeggiPraticaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(boRelLeggiPratica); - } - catch (NoSuchBoRelLeggiPraticaException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected BoRelLeggiPratica removeImpl(BoRelLeggiPratica boRelLeggiPratica) - throws SystemException { - boRelLeggiPratica = toUnwrappedModel(boRelLeggiPratica); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(boRelLeggiPratica)) { - boRelLeggiPratica = (BoRelLeggiPratica)session.get(BoRelLeggiPraticaImpl.class, - boRelLeggiPratica.getPrimaryKeyObj()); - } - - if (boRelLeggiPratica != null) { - session.delete(boRelLeggiPratica); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (boRelLeggiPratica != null) { - clearCache(boRelLeggiPratica); - } - - return boRelLeggiPratica; - } - - @Override - public BoRelLeggiPratica updateImpl( - it.tref.liferay.portos.importazione.model.BoRelLeggiPratica boRelLeggiPratica) - throws SystemException { - boRelLeggiPratica = toUnwrappedModel(boRelLeggiPratica); - - boolean isNew = boRelLeggiPratica.isNew(); - - BoRelLeggiPraticaModelImpl boRelLeggiPraticaModelImpl = (BoRelLeggiPraticaModelImpl)boRelLeggiPratica; - - Session session = null; - - try { - session = openSession(); - - if (boRelLeggiPratica.isNew()) { - session.save(boRelLeggiPratica); - - boRelLeggiPratica.setNew(false); - } - else { - session.merge(boRelLeggiPratica); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !BoRelLeggiPraticaModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((boRelLeggiPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ARTLEGGEID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boRelLeggiPraticaModelImpl.getOriginalArtLeggeId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_ARTLEGGEID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ARTLEGGEID, - args); - - args = new Object[] { boRelLeggiPraticaModelImpl.getArtLeggeId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_ARTLEGGEID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ARTLEGGEID, - args); - } - - if ((boRelLeggiPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boRelLeggiPraticaModelImpl.getOriginalIntPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_INTPRATICAID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID, - args); - - args = new Object[] { boRelLeggiPraticaModelImpl.getIntPraticaId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_INTPRATICAID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID, - args); - } - } - - EntityCacheUtil.putResult(BoRelLeggiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoRelLeggiPraticaImpl.class, boRelLeggiPratica.getPrimaryKey(), - boRelLeggiPratica); - - return boRelLeggiPratica; - } - - protected BoRelLeggiPratica toUnwrappedModel( - BoRelLeggiPratica boRelLeggiPratica) { - if (boRelLeggiPratica instanceof BoRelLeggiPraticaImpl) { - return boRelLeggiPratica; - } - - BoRelLeggiPraticaImpl boRelLeggiPraticaImpl = new BoRelLeggiPraticaImpl(); - - boRelLeggiPraticaImpl.setNew(boRelLeggiPratica.isNew()); - boRelLeggiPraticaImpl.setPrimaryKey(boRelLeggiPratica.getPrimaryKey()); - - boRelLeggiPraticaImpl.setArtLeggeId(boRelLeggiPratica.getArtLeggeId()); - boRelLeggiPraticaImpl.setIntPraticaId(boRelLeggiPratica.getIntPraticaId()); - boRelLeggiPraticaImpl.setSelezionato(boRelLeggiPratica.isSelezionato()); - boRelLeggiPraticaImpl.setValore(boRelLeggiPratica.getValore()); - - return boRelLeggiPraticaImpl; - } - - /** - * Returns the bo rel leggi pratica with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoRelLeggiPratica findByPrimaryKey(Serializable primaryKey) - throws NoSuchBoRelLeggiPraticaException, SystemException { - BoRelLeggiPratica boRelLeggiPratica = fetchByPrimaryKey(primaryKey); - - if (boRelLeggiPratica == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoRelLeggiPraticaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return boRelLeggiPratica; - } - - /** - * Returns the bo rel leggi pratica with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException} if it could not be found. - * - * @param artLeggeId the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoRelLeggiPraticaException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoRelLeggiPratica findByPrimaryKey(long artLeggeId) - throws NoSuchBoRelLeggiPraticaException, SystemException { - return findByPrimaryKey((Serializable)artLeggeId); - } - - /** - * Returns the bo rel leggi pratica with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica, or null if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoRelLeggiPratica fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - BoRelLeggiPratica boRelLeggiPratica = (BoRelLeggiPratica)EntityCacheUtil.getResult(BoRelLeggiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoRelLeggiPraticaImpl.class, primaryKey); - - if (boRelLeggiPratica == _nullBoRelLeggiPratica) { - return null; - } - - if (boRelLeggiPratica == null) { - Session session = null; - - try { - session = openSession(); - - boRelLeggiPratica = (BoRelLeggiPratica)session.get(BoRelLeggiPraticaImpl.class, - primaryKey); - - if (boRelLeggiPratica != null) { - cacheResult(boRelLeggiPratica); - } - else { - EntityCacheUtil.putResult(BoRelLeggiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoRelLeggiPraticaImpl.class, primaryKey, - _nullBoRelLeggiPratica); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(BoRelLeggiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoRelLeggiPraticaImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return boRelLeggiPratica; - } - - /** - * Returns the bo rel leggi pratica with the primary key or returns null if it could not be found. - * - * @param artLeggeId the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica, or null if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoRelLeggiPratica fetchByPrimaryKey(long artLeggeId) - throws SystemException { - return fetchByPrimaryKey((Serializable)artLeggeId); - } - - /** - * Returns all the bo rel leggi praticas. - * - * @return the bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo rel leggi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @return the range of bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the bo rel leggi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_BORELLEGGIPRATICA); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_BORELLEGGIPRATICA; - - if (pagination) { - sql = sql.concat(BoRelLeggiPraticaModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the bo rel leggi praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (BoRelLeggiPratica boRelLeggiPratica : findAll()) { - remove(boRelLeggiPratica); - } - } - - /** - * Returns the number of bo rel leggi praticas. - * - * @return the number of bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_BORELLEGGIPRATICA); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - /** - * Initializes the bo rel leggi pratica persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.importazione.model.BoRelLeggiPratica"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(BoRelLeggiPraticaImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_BORELLEGGIPRATICA = "SELECT boRelLeggiPratica FROM BoRelLeggiPratica boRelLeggiPratica"; - private static final String _SQL_SELECT_BORELLEGGIPRATICA_WHERE = "SELECT boRelLeggiPratica FROM BoRelLeggiPratica boRelLeggiPratica WHERE "; - private static final String _SQL_COUNT_BORELLEGGIPRATICA = "SELECT COUNT(boRelLeggiPratica) FROM BoRelLeggiPratica boRelLeggiPratica"; - private static final String _SQL_COUNT_BORELLEGGIPRATICA_WHERE = "SELECT COUNT(boRelLeggiPratica) FROM BoRelLeggiPratica boRelLeggiPratica WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "boRelLeggiPratica."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No BoRelLeggiPratica exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No BoRelLeggiPratica exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(BoRelLeggiPraticaPersistenceImpl.class); - private static BoRelLeggiPratica _nullBoRelLeggiPratica = new BoRelLeggiPraticaImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullBoRelLeggiPraticaCacheModel; - } - }; - - private static CacheModel _nullBoRelLeggiPraticaCacheModel = - new CacheModel() { - @Override - public BoRelLeggiPratica toEntityModel() { - return _nullBoRelLeggiPratica; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoSistemaCostruttivoPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoSistemaCostruttivoPersistenceImpl.java deleted file mode 100644 index c89622c3..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoSistemaCostruttivoPersistenceImpl.java +++ /dev/null @@ -1,3315 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.SetUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.kernel.uuid.PortalUUIDUtil; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException; -import it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo; -import it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoImpl; -import it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl; -import it.tref.liferay.portos.importazione.service.persistence.BoSistemaCostruttivoPersistence; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Set; - -/** - * The persistence implementation for the bo sistema costruttivo service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoSistemaCostruttivoPersistence - * @see BoSistemaCostruttivoUtil - * @generated - */ -public class BoSistemaCostruttivoPersistenceImpl extends BasePersistenceImpl - implements BoSistemaCostruttivoPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link BoSistemaCostruttivoUtil} to access the bo sistema costruttivo persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = BoSistemaCostruttivoImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoModelImpl.FINDER_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoModelImpl.FINDER_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID = new FinderPath(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoModelImpl.FINDER_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByUuid", - new String[] { - String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID = new FinderPath(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoModelImpl.FINDER_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByUuid", - new String[] { String.class.getName() }, - BoSistemaCostruttivoModelImpl.UUID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID = new FinderPath(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid", - new String[] { String.class.getName() }); - - /** - * Returns all the bo sistema costruttivos where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid) - throws SystemException { - return findByUuid(uuid, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo sistema costruttivos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end) - throws SystemException { - return findByUuid(uuid, start, end, null); - } - - /** - * Returns an ordered range of all the bo sistema costruttivos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, - int end, OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoSistemaCostruttivo boSistemaCostruttivo : list) { - if (!Validator.equals(uuid, boSistemaCostruttivo.getUuid())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSISTEMACOSTRUTTIVO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoSistemaCostruttivoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo sistema costruttivo in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo findByUuid_First(String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoSistemaCostruttivoException, SystemException { - BoSistemaCostruttivo boSistemaCostruttivo = fetchByUuid_First(uuid, - orderByComparator); - - if (boSistemaCostruttivo != null) { - return boSistemaCostruttivo; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSistemaCostruttivoException(msg.toString()); - } - - /** - * Returns the first bo sistema costruttivo in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo fetchByUuid_First(String uuid, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid(uuid, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo sistema costruttivo in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo findByUuid_Last(String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoSistemaCostruttivoException, SystemException { - BoSistemaCostruttivo boSistemaCostruttivo = fetchByUuid_Last(uuid, - orderByComparator); - - if (boSistemaCostruttivo != null) { - return boSistemaCostruttivo; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSistemaCostruttivoException(msg.toString()); - } - - /** - * Returns the last bo sistema costruttivo in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo fetchByUuid_Last(String uuid, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid(uuid); - - if (count == 0) { - return null; - } - - List list = findByUuid(uuid, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo sistema costruttivos before and after the current bo sistema costruttivo in the ordered set where uuid = ?. - * - * @param sistemaCostruttivoId the primary key of the current bo sistema costruttivo - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo[] findByUuid_PrevAndNext( - long sistemaCostruttivoId, String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoSistemaCostruttivoException, SystemException { - BoSistemaCostruttivo boSistemaCostruttivo = findByPrimaryKey(sistemaCostruttivoId); - - Session session = null; - - try { - session = openSession(); - - BoSistemaCostruttivo[] array = new BoSistemaCostruttivoImpl[3]; - - array[0] = getByUuid_PrevAndNext(session, boSistemaCostruttivo, - uuid, orderByComparator, true); - - array[1] = boSistemaCostruttivo; - - array[2] = getByUuid_PrevAndNext(session, boSistemaCostruttivo, - uuid, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoSistemaCostruttivo getByUuid_PrevAndNext(Session session, - BoSistemaCostruttivo boSistemaCostruttivo, String uuid, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSISTEMACOSTRUTTIVO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoSistemaCostruttivoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boSistemaCostruttivo); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo sistema costruttivos where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid(String uuid) throws SystemException { - for (BoSistemaCostruttivo boSistemaCostruttivo : findByUuid(uuid, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boSistemaCostruttivo); - } - } - - /** - * Returns the number of bo sistema costruttivos where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid(String uuid) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID; - - Object[] finderArgs = new Object[] { uuid }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BOSISTEMACOSTRUTTIVO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_UUID_1 = "boSistemaCostruttivo.uuid IS NULL"; - private static final String _FINDER_COLUMN_UUID_UUID_2 = "boSistemaCostruttivo.uuid = ?"; - private static final String _FINDER_COLUMN_UUID_UUID_3 = "(boSistemaCostruttivo.uuid IS NULL OR boSistemaCostruttivo.uuid = '')"; - public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G = new FinderPath(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoModelImpl.FINDER_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, FINDER_CLASS_NAME_ENTITY, - "fetchByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }, - BoSistemaCostruttivoModelImpl.UUID_COLUMN_BITMASK | - BoSistemaCostruttivoModelImpl.GROUPID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G = new FinderPath(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns the bo sistema costruttivo where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo findByUUID_G(String uuid, long groupId) - throws NoSuchBoSistemaCostruttivoException, SystemException { - BoSistemaCostruttivo boSistemaCostruttivo = fetchByUUID_G(uuid, groupId); - - if (boSistemaCostruttivo == null) { - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoSistemaCostruttivoException(msg.toString()); - } - - return boSistemaCostruttivo; - } - - /** - * Returns the bo sistema costruttivo where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo fetchByUUID_G(String uuid, long groupId) - throws SystemException { - return fetchByUUID_G(uuid, groupId, true); - } - - /** - * Returns the bo sistema costruttivo where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo fetchByUUID_G(String uuid, long groupId, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { uuid, groupId }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, this); - } - - if (result instanceof BoSistemaCostruttivo) { - BoSistemaCostruttivo boSistemaCostruttivo = (BoSistemaCostruttivo)result; - - if (!Validator.equals(uuid, boSistemaCostruttivo.getUuid()) || - (groupId != boSistemaCostruttivo.getGroupId())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_SELECT_BOSISTEMACOSTRUTTIVO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, list); - } - else { - BoSistemaCostruttivo boSistemaCostruttivo = list.get(0); - - result = boSistemaCostruttivo; - - cacheResult(boSistemaCostruttivo); - - if ((boSistemaCostruttivo.getUuid() == null) || - !boSistemaCostruttivo.getUuid().equals(uuid) || - (boSistemaCostruttivo.getGroupId() != groupId)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, boSistemaCostruttivo); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoSistemaCostruttivo)result; - } - } - - /** - * Removes the bo sistema costruttivo where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo sistema costruttivo that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo removeByUUID_G(String uuid, long groupId) - throws NoSuchBoSistemaCostruttivoException, SystemException { - BoSistemaCostruttivo boSistemaCostruttivo = findByUUID_G(uuid, groupId); - - return remove(boSistemaCostruttivo); - } - - /** - * Returns the number of bo sistema costruttivos where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUUID_G(String uuid, long groupId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_G; - - Object[] finderArgs = new Object[] { uuid, groupId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOSISTEMACOSTRUTTIVO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_G_UUID_1 = "boSistemaCostruttivo.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_2 = "boSistemaCostruttivo.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_3 = "(boSistemaCostruttivo.uuid IS NULL OR boSistemaCostruttivo.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_G_GROUPID_2 = "boSistemaCostruttivo.groupId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C = new FinderPath(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoModelImpl.FINDER_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByUuid_C", - new String[] { - String.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C = - new FinderPath(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoModelImpl.FINDER_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }, - BoSistemaCostruttivoModelImpl.UUID_COLUMN_BITMASK | - BoSistemaCostruttivoModelImpl.COMPANYID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C = new FinderPath(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns all the bo sistema costruttivos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId) - throws SystemException { - return findByUuid_C(uuid, companyId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo sistema costruttivos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, - int start, int end) throws SystemException { - return findByUuid_C(uuid, companyId, start, end, null); - } - - /** - * Returns an ordered range of all the bo sistema costruttivos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { uuid, companyId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { - uuid, companyId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoSistemaCostruttivo boSistemaCostruttivo : list) { - if (!Validator.equals(uuid, boSistemaCostruttivo.getUuid()) || - (companyId != boSistemaCostruttivo.getCompanyId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_BOSISTEMACOSTRUTTIVO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoSistemaCostruttivoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo sistema costruttivo in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo findByUuid_C_First(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchBoSistemaCostruttivoException, SystemException { - BoSistemaCostruttivo boSistemaCostruttivo = fetchByUuid_C_First(uuid, - companyId, orderByComparator); - - if (boSistemaCostruttivo != null) { - return boSistemaCostruttivo; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSistemaCostruttivoException(msg.toString()); - } - - /** - * Returns the first bo sistema costruttivo in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo fetchByUuid_C_First(String uuid, - long companyId, OrderByComparator orderByComparator) - throws SystemException { - List list = findByUuid_C(uuid, companyId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo sistema costruttivo in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo findByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchBoSistemaCostruttivoException, SystemException { - BoSistemaCostruttivo boSistemaCostruttivo = fetchByUuid_C_Last(uuid, - companyId, orderByComparator); - - if (boSistemaCostruttivo != null) { - return boSistemaCostruttivo; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSistemaCostruttivoException(msg.toString()); - } - - /** - * Returns the last bo sistema costruttivo in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo fetchByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid_C(uuid, companyId); - - if (count == 0) { - return null; - } - - List list = findByUuid_C(uuid, companyId, - count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo sistema costruttivos before and after the current bo sistema costruttivo in the ordered set where uuid = ? and companyId = ?. - * - * @param sistemaCostruttivoId the primary key of the current bo sistema costruttivo - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo[] findByUuid_C_PrevAndNext( - long sistemaCostruttivoId, String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchBoSistemaCostruttivoException, SystemException { - BoSistemaCostruttivo boSistemaCostruttivo = findByPrimaryKey(sistemaCostruttivoId); - - Session session = null; - - try { - session = openSession(); - - BoSistemaCostruttivo[] array = new BoSistemaCostruttivoImpl[3]; - - array[0] = getByUuid_C_PrevAndNext(session, boSistemaCostruttivo, - uuid, companyId, orderByComparator, true); - - array[1] = boSistemaCostruttivo; - - array[2] = getByUuid_C_PrevAndNext(session, boSistemaCostruttivo, - uuid, companyId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoSistemaCostruttivo getByUuid_C_PrevAndNext(Session session, - BoSistemaCostruttivo boSistemaCostruttivo, String uuid, long companyId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSISTEMACOSTRUTTIVO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoSistemaCostruttivoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boSistemaCostruttivo); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo sistema costruttivos where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid_C(String uuid, long companyId) - throws SystemException { - for (BoSistemaCostruttivo boSistemaCostruttivo : findByUuid_C(uuid, - companyId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boSistemaCostruttivo); - } - } - - /** - * Returns the number of bo sistema costruttivos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid_C(String uuid, long companyId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_C; - - Object[] finderArgs = new Object[] { uuid, companyId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOSISTEMACOSTRUTTIVO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_C_UUID_1 = "boSistemaCostruttivo.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_2 = "boSistemaCostruttivo.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_3 = "(boSistemaCostruttivo.uuid IS NULL OR boSistemaCostruttivo.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_C_COMPANYID_2 = "boSistemaCostruttivo.companyId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_G_INTPRATICAID = - new FinderPath(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoModelImpl.FINDER_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByC_G_intPraticaId", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_G_INTPRATICAID = - new FinderPath(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoModelImpl.FINDER_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByC_G_intPraticaId", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName() - }, - BoSistemaCostruttivoModelImpl.COMPANYID_COLUMN_BITMASK | - BoSistemaCostruttivoModelImpl.GROUPID_COLUMN_BITMASK | - BoSistemaCostruttivoModelImpl.INTPRATICAID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_C_G_INTPRATICAID = new FinderPath(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByC_G_intPraticaId", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName() - }); - - /** - * Returns all the bo sistema costruttivos where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @return the matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_G_intPraticaId(long companyId, - long groupId, long intPraticaId) throws SystemException { - return findByC_G_intPraticaId(companyId, groupId, intPraticaId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo sistema costruttivos where companyId = ? and groupId = ? and intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_G_intPraticaId(long companyId, - long groupId, long intPraticaId, int start, int end) - throws SystemException { - return findByC_G_intPraticaId(companyId, groupId, intPraticaId, start, - end, null); - } - - /** - * Returns an ordered range of all the bo sistema costruttivos where companyId = ? and groupId = ? and intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_G_intPraticaId(long companyId, - long groupId, long intPraticaId, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_G_INTPRATICAID; - finderArgs = new Object[] { companyId, groupId, intPraticaId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_C_G_INTPRATICAID; - finderArgs = new Object[] { - companyId, groupId, intPraticaId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoSistemaCostruttivo boSistemaCostruttivo : list) { - if ((companyId != boSistemaCostruttivo.getCompanyId()) || - (groupId != boSistemaCostruttivo.getGroupId()) || - (intPraticaId != boSistemaCostruttivo.getIntPraticaId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(5 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(5); - } - - query.append(_SQL_SELECT_BOSISTEMACOSTRUTTIVO_WHERE); - - query.append(_FINDER_COLUMN_C_G_INTPRATICAID_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_G_INTPRATICAID_GROUPID_2); - - query.append(_FINDER_COLUMN_C_G_INTPRATICAID_INTPRATICAID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoSistemaCostruttivoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - qPos.add(intPraticaId); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo sistema costruttivo in the ordered set where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo findByC_G_intPraticaId_First(long companyId, - long groupId, long intPraticaId, OrderByComparator orderByComparator) - throws NoSuchBoSistemaCostruttivoException, SystemException { - BoSistemaCostruttivo boSistemaCostruttivo = fetchByC_G_intPraticaId_First(companyId, - groupId, intPraticaId, orderByComparator); - - if (boSistemaCostruttivo != null) { - return boSistemaCostruttivo; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(", intPraticaId="); - msg.append(intPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSistemaCostruttivoException(msg.toString()); - } - - /** - * Returns the first bo sistema costruttivo in the ordered set where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo fetchByC_G_intPraticaId_First(long companyId, - long groupId, long intPraticaId, OrderByComparator orderByComparator) - throws SystemException { - List list = findByC_G_intPraticaId(companyId, - groupId, intPraticaId, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo sistema costruttivo in the ordered set where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo findByC_G_intPraticaId_Last(long companyId, - long groupId, long intPraticaId, OrderByComparator orderByComparator) - throws NoSuchBoSistemaCostruttivoException, SystemException { - BoSistemaCostruttivo boSistemaCostruttivo = fetchByC_G_intPraticaId_Last(companyId, - groupId, intPraticaId, orderByComparator); - - if (boSistemaCostruttivo != null) { - return boSistemaCostruttivo; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(", intPraticaId="); - msg.append(intPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSistemaCostruttivoException(msg.toString()); - } - - /** - * Returns the last bo sistema costruttivo in the ordered set where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo fetchByC_G_intPraticaId_Last(long companyId, - long groupId, long intPraticaId, OrderByComparator orderByComparator) - throws SystemException { - int count = countByC_G_intPraticaId(companyId, groupId, intPraticaId); - - if (count == 0) { - return null; - } - - List list = findByC_G_intPraticaId(companyId, - groupId, intPraticaId, count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo sistema costruttivos before and after the current bo sistema costruttivo in the ordered set where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param sistemaCostruttivoId the primary key of the current bo sistema costruttivo - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo[] findByC_G_intPraticaId_PrevAndNext( - long sistemaCostruttivoId, long companyId, long groupId, - long intPraticaId, OrderByComparator orderByComparator) - throws NoSuchBoSistemaCostruttivoException, SystemException { - BoSistemaCostruttivo boSistemaCostruttivo = findByPrimaryKey(sistemaCostruttivoId); - - Session session = null; - - try { - session = openSession(); - - BoSistemaCostruttivo[] array = new BoSistemaCostruttivoImpl[3]; - - array[0] = getByC_G_intPraticaId_PrevAndNext(session, - boSistemaCostruttivo, companyId, groupId, intPraticaId, - orderByComparator, true); - - array[1] = boSistemaCostruttivo; - - array[2] = getByC_G_intPraticaId_PrevAndNext(session, - boSistemaCostruttivo, companyId, groupId, intPraticaId, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoSistemaCostruttivo getByC_G_intPraticaId_PrevAndNext( - Session session, BoSistemaCostruttivo boSistemaCostruttivo, - long companyId, long groupId, long intPraticaId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSISTEMACOSTRUTTIVO_WHERE); - - query.append(_FINDER_COLUMN_C_G_INTPRATICAID_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_G_INTPRATICAID_GROUPID_2); - - query.append(_FINDER_COLUMN_C_G_INTPRATICAID_INTPRATICAID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoSistemaCostruttivoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - qPos.add(intPraticaId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boSistemaCostruttivo); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo sistema costruttivos where companyId = ? and groupId = ? and intPraticaId = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByC_G_intPraticaId(long companyId, long groupId, - long intPraticaId) throws SystemException { - for (BoSistemaCostruttivo boSistemaCostruttivo : findByC_G_intPraticaId( - companyId, groupId, intPraticaId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(boSistemaCostruttivo); - } - } - - /** - * Returns the number of bo sistema costruttivos where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @return the number of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_G_intPraticaId(long companyId, long groupId, - long intPraticaId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_C_G_INTPRATICAID; - - Object[] finderArgs = new Object[] { companyId, groupId, intPraticaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_COUNT_BOSISTEMACOSTRUTTIVO_WHERE); - - query.append(_FINDER_COLUMN_C_G_INTPRATICAID_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_G_INTPRATICAID_GROUPID_2); - - query.append(_FINDER_COLUMN_C_G_INTPRATICAID_INTPRATICAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - qPos.add(intPraticaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_C_G_INTPRATICAID_COMPANYID_2 = "boSistemaCostruttivo.companyId = ? AND "; - private static final String _FINDER_COLUMN_C_G_INTPRATICAID_GROUPID_2 = "boSistemaCostruttivo.groupId = ? AND "; - private static final String _FINDER_COLUMN_C_G_INTPRATICAID_INTPRATICAID_2 = "boSistemaCostruttivo.intPraticaId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_INTPRATICAID = - new FinderPath(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoModelImpl.FINDER_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByintPraticaId", - new String[] { - Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID = - new FinderPath(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoModelImpl.FINDER_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByintPraticaId", - new String[] { Long.class.getName() }, - BoSistemaCostruttivoModelImpl.INTPRATICAID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_INTPRATICAID = new FinderPath(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByintPraticaId", - new String[] { Long.class.getName() }); - - /** - * Returns all the bo sistema costruttivos where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @return the matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByintPraticaId(long intPraticaId) - throws SystemException { - return findByintPraticaId(intPraticaId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo sistema costruttivos where intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByintPraticaId(long intPraticaId, - int start, int end) throws SystemException { - return findByintPraticaId(intPraticaId, start, end, null); - } - - /** - * Returns an ordered range of all the bo sistema costruttivos where intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByintPraticaId(long intPraticaId, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID; - finderArgs = new Object[] { intPraticaId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_INTPRATICAID; - finderArgs = new Object[] { - intPraticaId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoSistemaCostruttivo boSistemaCostruttivo : list) { - if ((intPraticaId != boSistemaCostruttivo.getIntPraticaId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSISTEMACOSTRUTTIVO_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_INTPRATICAID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoSistemaCostruttivoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(intPraticaId); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo sistema costruttivo in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo findByintPraticaId_First(long intPraticaId, - OrderByComparator orderByComparator) - throws NoSuchBoSistemaCostruttivoException, SystemException { - BoSistemaCostruttivo boSistemaCostruttivo = fetchByintPraticaId_First(intPraticaId, - orderByComparator); - - if (boSistemaCostruttivo != null) { - return boSistemaCostruttivo; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("intPraticaId="); - msg.append(intPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSistemaCostruttivoException(msg.toString()); - } - - /** - * Returns the first bo sistema costruttivo in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo fetchByintPraticaId_First(long intPraticaId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByintPraticaId(intPraticaId, 0, - 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo sistema costruttivo in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo findByintPraticaId_Last(long intPraticaId, - OrderByComparator orderByComparator) - throws NoSuchBoSistemaCostruttivoException, SystemException { - BoSistemaCostruttivo boSistemaCostruttivo = fetchByintPraticaId_Last(intPraticaId, - orderByComparator); - - if (boSistemaCostruttivo != null) { - return boSistemaCostruttivo; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("intPraticaId="); - msg.append(intPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSistemaCostruttivoException(msg.toString()); - } - - /** - * Returns the last bo sistema costruttivo in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo fetchByintPraticaId_Last(long intPraticaId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByintPraticaId(intPraticaId); - - if (count == 0) { - return null; - } - - List list = findByintPraticaId(intPraticaId, - count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo sistema costruttivos before and after the current bo sistema costruttivo in the ordered set where intPraticaId = ?. - * - * @param sistemaCostruttivoId the primary key of the current bo sistema costruttivo - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo[] findByintPraticaId_PrevAndNext( - long sistemaCostruttivoId, long intPraticaId, - OrderByComparator orderByComparator) - throws NoSuchBoSistemaCostruttivoException, SystemException { - BoSistemaCostruttivo boSistemaCostruttivo = findByPrimaryKey(sistemaCostruttivoId); - - Session session = null; - - try { - session = openSession(); - - BoSistemaCostruttivo[] array = new BoSistemaCostruttivoImpl[3]; - - array[0] = getByintPraticaId_PrevAndNext(session, - boSistemaCostruttivo, intPraticaId, orderByComparator, true); - - array[1] = boSistemaCostruttivo; - - array[2] = getByintPraticaId_PrevAndNext(session, - boSistemaCostruttivo, intPraticaId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoSistemaCostruttivo getByintPraticaId_PrevAndNext( - Session session, BoSistemaCostruttivo boSistemaCostruttivo, - long intPraticaId, OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSISTEMACOSTRUTTIVO_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_INTPRATICAID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoSistemaCostruttivoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(intPraticaId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boSistemaCostruttivo); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo sistema costruttivos where intPraticaId = ? from the database. - * - * @param intPraticaId the int pratica ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByintPraticaId(long intPraticaId) - throws SystemException { - for (BoSistemaCostruttivo boSistemaCostruttivo : findByintPraticaId( - intPraticaId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boSistemaCostruttivo); - } - } - - /** - * Returns the number of bo sistema costruttivos where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @return the number of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByintPraticaId(long intPraticaId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_INTPRATICAID; - - Object[] finderArgs = new Object[] { intPraticaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BOSISTEMACOSTRUTTIVO_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_INTPRATICAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(intPraticaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_INTPRATICAID_INTPRATICAID_2 = "boSistemaCostruttivo.intPraticaId = ?"; - - public BoSistemaCostruttivoPersistenceImpl() { - setModelClass(BoSistemaCostruttivo.class); - } - - /** - * Caches the bo sistema costruttivo in the entity cache if it is enabled. - * - * @param boSistemaCostruttivo the bo sistema costruttivo - */ - @Override - public void cacheResult(BoSistemaCostruttivo boSistemaCostruttivo) { - EntityCacheUtil.putResult(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, - boSistemaCostruttivo.getPrimaryKey(), boSistemaCostruttivo); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - new Object[] { - boSistemaCostruttivo.getUuid(), - boSistemaCostruttivo.getGroupId() - }, boSistemaCostruttivo); - - boSistemaCostruttivo.resetOriginalValues(); - } - - /** - * Caches the bo sistema costruttivos in the entity cache if it is enabled. - * - * @param boSistemaCostruttivos the bo sistema costruttivos - */ - @Override - public void cacheResult(List boSistemaCostruttivos) { - for (BoSistemaCostruttivo boSistemaCostruttivo : boSistemaCostruttivos) { - if (EntityCacheUtil.getResult( - BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, - boSistemaCostruttivo.getPrimaryKey()) == null) { - cacheResult(boSistemaCostruttivo); - } - else { - boSistemaCostruttivo.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all bo sistema costruttivos. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(BoSistemaCostruttivoImpl.class.getName()); - } - - EntityCacheUtil.clearCache(BoSistemaCostruttivoImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the bo sistema costruttivo. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(BoSistemaCostruttivo boSistemaCostruttivo) { - EntityCacheUtil.removeResult(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, boSistemaCostruttivo.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(boSistemaCostruttivo); - } - - @Override - public void clearCache(List boSistemaCostruttivos) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (BoSistemaCostruttivo boSistemaCostruttivo : boSistemaCostruttivos) { - EntityCacheUtil.removeResult(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, - boSistemaCostruttivo.getPrimaryKey()); - - clearUniqueFindersCache(boSistemaCostruttivo); - } - } - - protected void cacheUniqueFindersCache( - BoSistemaCostruttivo boSistemaCostruttivo) { - if (boSistemaCostruttivo.isNew()) { - Object[] args = new Object[] { - boSistemaCostruttivo.getUuid(), - boSistemaCostruttivo.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - boSistemaCostruttivo); - } - else { - BoSistemaCostruttivoModelImpl boSistemaCostruttivoModelImpl = (BoSistemaCostruttivoModelImpl)boSistemaCostruttivo; - - if ((boSistemaCostruttivoModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSistemaCostruttivo.getUuid(), - boSistemaCostruttivo.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - boSistemaCostruttivo); - } - } - } - - protected void clearUniqueFindersCache( - BoSistemaCostruttivo boSistemaCostruttivo) { - BoSistemaCostruttivoModelImpl boSistemaCostruttivoModelImpl = (BoSistemaCostruttivoModelImpl)boSistemaCostruttivo; - - Object[] args = new Object[] { - boSistemaCostruttivo.getUuid(), - boSistemaCostruttivo.getGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - - if ((boSistemaCostruttivoModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - args = new Object[] { - boSistemaCostruttivoModelImpl.getOriginalUuid(), - boSistemaCostruttivoModelImpl.getOriginalGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - } - } - - /** - * Creates a new bo sistema costruttivo with the primary key. Does not add the bo sistema costruttivo to the database. - * - * @param sistemaCostruttivoId the primary key for the new bo sistema costruttivo - * @return the new bo sistema costruttivo - */ - @Override - public BoSistemaCostruttivo create(long sistemaCostruttivoId) { - BoSistemaCostruttivo boSistemaCostruttivo = new BoSistemaCostruttivoImpl(); - - boSistemaCostruttivo.setNew(true); - boSistemaCostruttivo.setPrimaryKey(sistemaCostruttivoId); - - String uuid = PortalUUIDUtil.generate(); - - boSistemaCostruttivo.setUuid(uuid); - - return boSistemaCostruttivo; - } - - /** - * Removes the bo sistema costruttivo with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param sistemaCostruttivoId the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo remove(long sistemaCostruttivoId) - throws NoSuchBoSistemaCostruttivoException, SystemException { - return remove((Serializable)sistemaCostruttivoId); - } - - /** - * Removes the bo sistema costruttivo with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo remove(Serializable primaryKey) - throws NoSuchBoSistemaCostruttivoException, SystemException { - Session session = null; - - try { - session = openSession(); - - BoSistemaCostruttivo boSistemaCostruttivo = (BoSistemaCostruttivo)session.get(BoSistemaCostruttivoImpl.class, - primaryKey); - - if (boSistemaCostruttivo == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoSistemaCostruttivoException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(boSistemaCostruttivo); - } - catch (NoSuchBoSistemaCostruttivoException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected BoSistemaCostruttivo removeImpl( - BoSistemaCostruttivo boSistemaCostruttivo) throws SystemException { - boSistemaCostruttivo = toUnwrappedModel(boSistemaCostruttivo); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(boSistemaCostruttivo)) { - boSistemaCostruttivo = (BoSistemaCostruttivo)session.get(BoSistemaCostruttivoImpl.class, - boSistemaCostruttivo.getPrimaryKeyObj()); - } - - if (boSistemaCostruttivo != null) { - session.delete(boSistemaCostruttivo); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (boSistemaCostruttivo != null) { - clearCache(boSistemaCostruttivo); - } - - return boSistemaCostruttivo; - } - - @Override - public BoSistemaCostruttivo updateImpl( - it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo boSistemaCostruttivo) - throws SystemException { - boSistemaCostruttivo = toUnwrappedModel(boSistemaCostruttivo); - - boolean isNew = boSistemaCostruttivo.isNew(); - - BoSistemaCostruttivoModelImpl boSistemaCostruttivoModelImpl = (BoSistemaCostruttivoModelImpl)boSistemaCostruttivo; - - if (Validator.isNull(boSistemaCostruttivo.getUuid())) { - String uuid = PortalUUIDUtil.generate(); - - boSistemaCostruttivo.setUuid(uuid); - } - - Session session = null; - - try { - session = openSession(); - - if (boSistemaCostruttivo.isNew()) { - session.save(boSistemaCostruttivo); - - boSistemaCostruttivo.setNew(false); - } - else { - session.merge(boSistemaCostruttivo); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !BoSistemaCostruttivoModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((boSistemaCostruttivoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSistemaCostruttivoModelImpl.getOriginalUuid() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - - args = new Object[] { boSistemaCostruttivoModelImpl.getUuid() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - } - - if ((boSistemaCostruttivoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSistemaCostruttivoModelImpl.getOriginalUuid(), - boSistemaCostruttivoModelImpl.getOriginalCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - - args = new Object[] { - boSistemaCostruttivoModelImpl.getUuid(), - boSistemaCostruttivoModelImpl.getCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - } - - if ((boSistemaCostruttivoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_G_INTPRATICAID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSistemaCostruttivoModelImpl.getOriginalCompanyId(), - boSistemaCostruttivoModelImpl.getOriginalGroupId(), - boSistemaCostruttivoModelImpl.getOriginalIntPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_G_INTPRATICAID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_G_INTPRATICAID, - args); - - args = new Object[] { - boSistemaCostruttivoModelImpl.getCompanyId(), - boSistemaCostruttivoModelImpl.getGroupId(), - boSistemaCostruttivoModelImpl.getIntPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_G_INTPRATICAID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_G_INTPRATICAID, - args); - } - - if ((boSistemaCostruttivoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSistemaCostruttivoModelImpl.getOriginalIntPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_INTPRATICAID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID, - args); - - args = new Object[] { - boSistemaCostruttivoModelImpl.getIntPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_INTPRATICAID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID, - args); - } - } - - EntityCacheUtil.putResult(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, - boSistemaCostruttivo.getPrimaryKey(), boSistemaCostruttivo); - - clearUniqueFindersCache(boSistemaCostruttivo); - cacheUniqueFindersCache(boSistemaCostruttivo); - - return boSistemaCostruttivo; - } - - protected BoSistemaCostruttivo toUnwrappedModel( - BoSistemaCostruttivo boSistemaCostruttivo) { - if (boSistemaCostruttivo instanceof BoSistemaCostruttivoImpl) { - return boSistemaCostruttivo; - } - - BoSistemaCostruttivoImpl boSistemaCostruttivoImpl = new BoSistemaCostruttivoImpl(); - - boSistemaCostruttivoImpl.setNew(boSistemaCostruttivo.isNew()); - boSistemaCostruttivoImpl.setPrimaryKey(boSistemaCostruttivo.getPrimaryKey()); - - boSistemaCostruttivoImpl.setUuid(boSistemaCostruttivo.getUuid()); - boSistemaCostruttivoImpl.setSistemaCostruttivoId(boSistemaCostruttivo.getSistemaCostruttivoId()); - boSistemaCostruttivoImpl.setCompanyId(boSistemaCostruttivo.getCompanyId()); - boSistemaCostruttivoImpl.setUserId(boSistemaCostruttivo.getUserId()); - boSistemaCostruttivoImpl.setUserName(boSistemaCostruttivo.getUserName()); - boSistemaCostruttivoImpl.setCreateDate(boSistemaCostruttivo.getCreateDate()); - boSistemaCostruttivoImpl.setModifiedDate(boSistemaCostruttivo.getModifiedDate()); - boSistemaCostruttivoImpl.setGroupId(boSistemaCostruttivo.getGroupId()); - boSistemaCostruttivoImpl.setIntPraticaId(boSistemaCostruttivo.getIntPraticaId()); - boSistemaCostruttivoImpl.setCodSistemaCostruttivo(boSistemaCostruttivo.getCodSistemaCostruttivo()); - - return boSistemaCostruttivoImpl; - } - - /** - * Returns the bo sistema costruttivo with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo findByPrimaryKey(Serializable primaryKey) - throws NoSuchBoSistemaCostruttivoException, SystemException { - BoSistemaCostruttivo boSistemaCostruttivo = fetchByPrimaryKey(primaryKey); - - if (boSistemaCostruttivo == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoSistemaCostruttivoException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return boSistemaCostruttivo; - } - - /** - * Returns the bo sistema costruttivo with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException} if it could not be found. - * - * @param sistemaCostruttivoId the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo - * @throws it.tref.liferay.portos.importazione.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo findByPrimaryKey(long sistemaCostruttivoId) - throws NoSuchBoSistemaCostruttivoException, SystemException { - return findByPrimaryKey((Serializable)sistemaCostruttivoId); - } - - /** - * Returns the bo sistema costruttivo with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo, or null if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - BoSistemaCostruttivo boSistemaCostruttivo = (BoSistemaCostruttivo)EntityCacheUtil.getResult(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, primaryKey); - - if (boSistemaCostruttivo == _nullBoSistemaCostruttivo) { - return null; - } - - if (boSistemaCostruttivo == null) { - Session session = null; - - try { - session = openSession(); - - boSistemaCostruttivo = (BoSistemaCostruttivo)session.get(BoSistemaCostruttivoImpl.class, - primaryKey); - - if (boSistemaCostruttivo != null) { - cacheResult(boSistemaCostruttivo); - } - else { - EntityCacheUtil.putResult(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, primaryKey, - _nullBoSistemaCostruttivo); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return boSistemaCostruttivo; - } - - /** - * Returns the bo sistema costruttivo with the primary key or returns null if it could not be found. - * - * @param sistemaCostruttivoId the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo, or null if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo fetchByPrimaryKey(long sistemaCostruttivoId) - throws SystemException { - return fetchByPrimaryKey((Serializable)sistemaCostruttivoId); - } - - /** - * Returns all the bo sistema costruttivos. - * - * @return the bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo sistema costruttivos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the bo sistema costruttivos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_BOSISTEMACOSTRUTTIVO); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_BOSISTEMACOSTRUTTIVO; - - if (pagination) { - sql = sql.concat(BoSistemaCostruttivoModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the bo sistema costruttivos from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (BoSistemaCostruttivo boSistemaCostruttivo : findAll()) { - remove(boSistemaCostruttivo); - } - } - - /** - * Returns the number of bo sistema costruttivos. - * - * @return the number of bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_BOSISTEMACOSTRUTTIVO); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - @Override - protected Set getBadColumnNames() { - return _badColumnNames; - } - - /** - * Initializes the bo sistema costruttivo persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(BoSistemaCostruttivoImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_BOSISTEMACOSTRUTTIVO = "SELECT boSistemaCostruttivo FROM BoSistemaCostruttivo boSistemaCostruttivo"; - private static final String _SQL_SELECT_BOSISTEMACOSTRUTTIVO_WHERE = "SELECT boSistemaCostruttivo FROM BoSistemaCostruttivo boSistemaCostruttivo WHERE "; - private static final String _SQL_COUNT_BOSISTEMACOSTRUTTIVO = "SELECT COUNT(boSistemaCostruttivo) FROM BoSistemaCostruttivo boSistemaCostruttivo"; - private static final String _SQL_COUNT_BOSISTEMACOSTRUTTIVO_WHERE = "SELECT COUNT(boSistemaCostruttivo) FROM BoSistemaCostruttivo boSistemaCostruttivo WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "boSistemaCostruttivo."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No BoSistemaCostruttivo exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No BoSistemaCostruttivo exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(BoSistemaCostruttivoPersistenceImpl.class); - private static Set _badColumnNames = SetUtil.fromArray(new String[] { - "uuid" - }); - private static BoSistemaCostruttivo _nullBoSistemaCostruttivo = new BoSistemaCostruttivoImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullBoSistemaCostruttivoCacheModel; - } - }; - - private static CacheModel _nullBoSistemaCostruttivoCacheModel = - new CacheModel() { - @Override - public BoSistemaCostruttivo toEntityModel() { - return _nullBoSistemaCostruttivo; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoSoggettoPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoSoggettoPersistenceImpl.java deleted file mode 100644 index df2d55fb..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoSoggettoPersistenceImpl.java +++ /dev/null @@ -1,5945 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.SetUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.kernel.uuid.PortalUUIDUtil; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.importazione.NoSuchBoSoggettoException; -import it.tref.liferay.portos.importazione.model.BoSoggetto; -import it.tref.liferay.portos.importazione.model.impl.BoSoggettoImpl; -import it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl; -import it.tref.liferay.portos.importazione.service.persistence.BoSoggettoPersistence; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Set; - -/** - * The persistence implementation for the bo soggetto service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoSoggettoPersistence - * @see BoSoggettoUtil - * @generated - */ -public class BoSoggettoPersistenceImpl extends BasePersistenceImpl - implements BoSoggettoPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link BoSoggettoUtil} to access the bo soggetto persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = BoSoggettoImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID = new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByUuid", - new String[] { - String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID = new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByUuid", - new String[] { String.class.getName() }, - BoSoggettoModelImpl.UUID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID = new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid", - new String[] { String.class.getName() }); - - /** - * Returns all the bo soggettos where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid) throws SystemException { - return findByUuid(uuid, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo soggettos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end) - throws SystemException { - return findByUuid(uuid, start, end, null); - } - - /** - * Returns an ordered range of all the bo soggettos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoSoggetto boSoggetto : list) { - if (!Validator.equals(uuid, boSoggetto.getUuid())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSOGGETTO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoSoggettoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo soggetto in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByUuid_First(String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = fetchByUuid_First(uuid, orderByComparator); - - if (boSoggetto != null) { - return boSoggetto; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSoggettoException(msg.toString()); - } - - /** - * Returns the first bo soggetto in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByUuid_First(String uuid, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid(uuid, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo soggetto in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByUuid_Last(String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = fetchByUuid_Last(uuid, orderByComparator); - - if (boSoggetto != null) { - return boSoggetto; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSoggettoException(msg.toString()); - } - - /** - * Returns the last bo soggetto in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByUuid_Last(String uuid, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid(uuid); - - if (count == 0) { - return null; - } - - List list = findByUuid(uuid, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where uuid = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto[] findByUuid_PrevAndNext(long soggettoId, String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = findByPrimaryKey(soggettoId); - - Session session = null; - - try { - session = openSession(); - - BoSoggetto[] array = new BoSoggettoImpl[3]; - - array[0] = getByUuid_PrevAndNext(session, boSoggetto, uuid, - orderByComparator, true); - - array[1] = boSoggetto; - - array[2] = getByUuid_PrevAndNext(session, boSoggetto, uuid, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoSoggetto getByUuid_PrevAndNext(Session session, - BoSoggetto boSoggetto, String uuid, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSOGGETTO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoSoggettoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boSoggetto); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo soggettos where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid(String uuid) throws SystemException { - for (BoSoggetto boSoggetto : findByUuid(uuid, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(boSoggetto); - } - } - - /** - * Returns the number of bo soggettos where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid(String uuid) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID; - - Object[] finderArgs = new Object[] { uuid }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BOSOGGETTO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_UUID_1 = "boSoggetto.uuid IS NULL"; - private static final String _FINDER_COLUMN_UUID_UUID_2 = "boSoggetto.uuid = ?"; - private static final String _FINDER_COLUMN_UUID_UUID_3 = "(boSoggetto.uuid IS NULL OR boSoggetto.uuid = '')"; - public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G = new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }, - BoSoggettoModelImpl.UUID_COLUMN_BITMASK | - BoSoggettoModelImpl.GROUPID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G = new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns the bo soggetto where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoSoggettoException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByUUID_G(String uuid, long groupId) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = fetchByUUID_G(uuid, groupId); - - if (boSoggetto == null) { - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoSoggettoException(msg.toString()); - } - - return boSoggetto; - } - - /** - * Returns the bo soggetto where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByUUID_G(String uuid, long groupId) - throws SystemException { - return fetchByUUID_G(uuid, groupId, true); - } - - /** - * Returns the bo soggetto where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByUUID_G(String uuid, long groupId, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { uuid, groupId }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, this); - } - - if (result instanceof BoSoggetto) { - BoSoggetto boSoggetto = (BoSoggetto)result; - - if (!Validator.equals(uuid, boSoggetto.getUuid()) || - (groupId != boSoggetto.getGroupId())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_SELECT_BOSOGGETTO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, list); - } - else { - BoSoggetto boSoggetto = list.get(0); - - result = boSoggetto; - - cacheResult(boSoggetto); - - if ((boSoggetto.getUuid() == null) || - !boSoggetto.getUuid().equals(uuid) || - (boSoggetto.getGroupId() != groupId)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, boSoggetto); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoSoggetto)result; - } - } - - /** - * Removes the bo soggetto where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo soggetto that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto removeByUUID_G(String uuid, long groupId) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = findByUUID_G(uuid, groupId); - - return remove(boSoggetto); - } - - /** - * Returns the number of bo soggettos where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUUID_G(String uuid, long groupId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_G; - - Object[] finderArgs = new Object[] { uuid, groupId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOSOGGETTO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_G_UUID_1 = "boSoggetto.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_2 = "boSoggetto.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_3 = "(boSoggetto.uuid IS NULL OR boSoggetto.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_G_GROUPID_2 = "boSoggetto.groupId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C = new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByUuid_C", - new String[] { - String.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C = - new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }, - BoSoggettoModelImpl.UUID_COLUMN_BITMASK | - BoSoggettoModelImpl.COMPANYID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C = new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns all the bo soggettos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId) - throws SystemException { - return findByUuid_C(uuid, companyId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo soggettos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, - int start, int end) throws SystemException { - return findByUuid_C(uuid, companyId, start, end, null); - } - - /** - * Returns an ordered range of all the bo soggettos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { uuid, companyId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { - uuid, companyId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoSoggetto boSoggetto : list) { - if (!Validator.equals(uuid, boSoggetto.getUuid()) || - (companyId != boSoggetto.getCompanyId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_BOSOGGETTO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoSoggettoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo soggetto in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByUuid_C_First(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = fetchByUuid_C_First(uuid, companyId, - orderByComparator); - - if (boSoggetto != null) { - return boSoggetto; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSoggettoException(msg.toString()); - } - - /** - * Returns the first bo soggetto in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByUuid_C_First(String uuid, long companyId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid_C(uuid, companyId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo soggetto in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = fetchByUuid_C_Last(uuid, companyId, - orderByComparator); - - if (boSoggetto != null) { - return boSoggetto; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSoggettoException(msg.toString()); - } - - /** - * Returns the last bo soggetto in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid_C(uuid, companyId); - - if (count == 0) { - return null; - } - - List list = findByUuid_C(uuid, companyId, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where uuid = ? and companyId = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto[] findByUuid_C_PrevAndNext(long soggettoId, String uuid, - long companyId, OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = findByPrimaryKey(soggettoId); - - Session session = null; - - try { - session = openSession(); - - BoSoggetto[] array = new BoSoggettoImpl[3]; - - array[0] = getByUuid_C_PrevAndNext(session, boSoggetto, uuid, - companyId, orderByComparator, true); - - array[1] = boSoggetto; - - array[2] = getByUuid_C_PrevAndNext(session, boSoggetto, uuid, - companyId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoSoggetto getByUuid_C_PrevAndNext(Session session, - BoSoggetto boSoggetto, String uuid, long companyId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSOGGETTO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoSoggettoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boSoggetto); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo soggettos where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid_C(String uuid, long companyId) - throws SystemException { - for (BoSoggetto boSoggetto : findByUuid_C(uuid, companyId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boSoggetto); - } - } - - /** - * Returns the number of bo soggettos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid_C(String uuid, long companyId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_C; - - Object[] finderArgs = new Object[] { uuid, companyId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOSOGGETTO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_C_UUID_1 = "boSoggetto.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_2 = "boSoggetto.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_3 = "(boSoggetto.uuid IS NULL OR boSoggetto.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_C_COMPANYID_2 = "boSoggetto.companyId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICA = - new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByDettPratica", - new String[] { - Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA = - new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByDettPratica", - new String[] { Long.class.getName() }, - BoSoggettoModelImpl.DETTPRATICAID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_DETTPRATICA = new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByDettPratica", - new String[] { Long.class.getName() }); - - /** - * Returns all the bo soggettos where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica(long dettPraticaId) - throws SystemException { - return findByDettPratica(dettPraticaId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo soggettos where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica(long dettPraticaId, int start, - int end) throws SystemException { - return findByDettPratica(dettPraticaId, start, end, null); - } - - /** - * Returns an ordered range of all the bo soggettos where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica(long dettPraticaId, int start, - int end, OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA; - finderArgs = new Object[] { dettPraticaId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICA; - finderArgs = new Object[] { - dettPraticaId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoSoggetto boSoggetto : list) { - if ((dettPraticaId != boSoggetto.getDettPraticaId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSOGGETTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_DETTPRATICAID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoSoggettoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByDettPratica_First(long dettPraticaId, - OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = fetchByDettPratica_First(dettPraticaId, - orderByComparator); - - if (boSoggetto != null) { - return boSoggetto; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSoggettoException(msg.toString()); - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByDettPratica_First(long dettPraticaId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByDettPratica(dettPraticaId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByDettPratica_Last(long dettPraticaId, - OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = fetchByDettPratica_Last(dettPraticaId, - orderByComparator); - - if (boSoggetto != null) { - return boSoggetto; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSoggettoException(msg.toString()); - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByDettPratica_Last(long dettPraticaId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByDettPratica(dettPraticaId); - - if (count == 0) { - return null; - } - - List list = findByDettPratica(dettPraticaId, count - 1, - count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where dettPraticaId = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto[] findByDettPratica_PrevAndNext(long soggettoId, - long dettPraticaId, OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = findByPrimaryKey(soggettoId); - - Session session = null; - - try { - session = openSession(); - - BoSoggetto[] array = new BoSoggettoImpl[3]; - - array[0] = getByDettPratica_PrevAndNext(session, boSoggetto, - dettPraticaId, orderByComparator, true); - - array[1] = boSoggetto; - - array[2] = getByDettPratica_PrevAndNext(session, boSoggetto, - dettPraticaId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoSoggetto getByDettPratica_PrevAndNext(Session session, - BoSoggetto boSoggetto, long dettPraticaId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSOGGETTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_DETTPRATICAID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoSoggettoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boSoggetto); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo soggettos where dettPraticaId = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByDettPratica(long dettPraticaId) - throws SystemException { - for (BoSoggetto boSoggetto : findByDettPratica(dettPraticaId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boSoggetto); - } - } - - /** - * Returns the number of bo soggettos where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByDettPratica(long dettPraticaId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_DETTPRATICA; - - Object[] finderArgs = new Object[] { dettPraticaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BOSOGGETTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_DETTPRATICAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_DETTPRATICA_DETTPRATICAID_2 = "boSoggetto.dettPraticaId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICA_SOSTITUITO = - new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByDettPratica_Sostituito", - new String[] { - Long.class.getName(), Boolean.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_SOSTITUITO = - new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByDettPratica_Sostituito", - new String[] { Long.class.getName(), Boolean.class.getName() }, - BoSoggettoModelImpl.DETTPRATICAID_COLUMN_BITMASK | - BoSoggettoModelImpl.SOSTITUITO_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_DETTPRATICA_SOSTITUITO = new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByDettPratica_Sostituito", - new String[] { Long.class.getName(), Boolean.class.getName() }); - - /** - * Returns all the bo soggettos where dettPraticaId = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica_Sostituito(long dettPraticaId, - boolean sostituito) throws SystemException { - return findByDettPratica_Sostituito(dettPraticaId, sostituito, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo soggettos where dettPraticaId = ? and sostituito = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica_Sostituito(long dettPraticaId, - boolean sostituito, int start, int end) throws SystemException { - return findByDettPratica_Sostituito(dettPraticaId, sostituito, start, - end, null); - } - - /** - * Returns an ordered range of all the bo soggettos where dettPraticaId = ? and sostituito = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica_Sostituito(long dettPraticaId, - boolean sostituito, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_SOSTITUITO; - finderArgs = new Object[] { dettPraticaId, sostituito }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICA_SOSTITUITO; - finderArgs = new Object[] { - dettPraticaId, sostituito, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoSoggetto boSoggetto : list) { - if ((dettPraticaId != boSoggetto.getDettPraticaId()) || - (sostituito != boSoggetto.getSostituito())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_BOSOGGETTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_SOSTITUITO_DETTPRATICAID_2); - - query.append(_FINDER_COLUMN_DETTPRATICA_SOSTITUITO_SOSTITUITO_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoSoggettoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - qPos.add(sostituito); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByDettPratica_Sostituito_First(long dettPraticaId, - boolean sostituito, OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = fetchByDettPratica_Sostituito_First(dettPraticaId, - sostituito, orderByComparator); - - if (boSoggetto != null) { - return boSoggetto; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(", sostituito="); - msg.append(sostituito); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSoggettoException(msg.toString()); - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByDettPratica_Sostituito_First(long dettPraticaId, - boolean sostituito, OrderByComparator orderByComparator) - throws SystemException { - List list = findByDettPratica_Sostituito(dettPraticaId, - sostituito, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByDettPratica_Sostituito_Last(long dettPraticaId, - boolean sostituito, OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = fetchByDettPratica_Sostituito_Last(dettPraticaId, - sostituito, orderByComparator); - - if (boSoggetto != null) { - return boSoggetto; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(", sostituito="); - msg.append(sostituito); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSoggettoException(msg.toString()); - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByDettPratica_Sostituito_Last(long dettPraticaId, - boolean sostituito, OrderByComparator orderByComparator) - throws SystemException { - int count = countByDettPratica_Sostituito(dettPraticaId, sostituito); - - if (count == 0) { - return null; - } - - List list = findByDettPratica_Sostituito(dettPraticaId, - sostituito, count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where dettPraticaId = ? and sostituito = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto[] findByDettPratica_Sostituito_PrevAndNext( - long soggettoId, long dettPraticaId, boolean sostituito, - OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = findByPrimaryKey(soggettoId); - - Session session = null; - - try { - session = openSession(); - - BoSoggetto[] array = new BoSoggettoImpl[3]; - - array[0] = getByDettPratica_Sostituito_PrevAndNext(session, - boSoggetto, dettPraticaId, sostituito, orderByComparator, - true); - - array[1] = boSoggetto; - - array[2] = getByDettPratica_Sostituito_PrevAndNext(session, - boSoggetto, dettPraticaId, sostituito, orderByComparator, - false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoSoggetto getByDettPratica_Sostituito_PrevAndNext( - Session session, BoSoggetto boSoggetto, long dettPraticaId, - boolean sostituito, OrderByComparator orderByComparator, - boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSOGGETTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_SOSTITUITO_DETTPRATICAID_2); - - query.append(_FINDER_COLUMN_DETTPRATICA_SOSTITUITO_SOSTITUITO_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoSoggettoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - qPos.add(sostituito); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boSoggetto); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo soggettos where dettPraticaId = ? and sostituito = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByDettPratica_Sostituito(long dettPraticaId, - boolean sostituito) throws SystemException { - for (BoSoggetto boSoggetto : findByDettPratica_Sostituito( - dettPraticaId, sostituito, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(boSoggetto); - } - } - - /** - * Returns the number of bo soggettos where dettPraticaId = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByDettPratica_Sostituito(long dettPraticaId, - boolean sostituito) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_DETTPRATICA_SOSTITUITO; - - Object[] finderArgs = new Object[] { dettPraticaId, sostituito }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOSOGGETTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_SOSTITUITO_DETTPRATICAID_2); - - query.append(_FINDER_COLUMN_DETTPRATICA_SOSTITUITO_SOSTITUITO_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - qPos.add(sostituito); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_DETTPRATICA_SOSTITUITO_DETTPRATICAID_2 = - "boSoggetto.dettPraticaId = ? AND "; - private static final String _FINDER_COLUMN_DETTPRATICA_SOSTITUITO_SOSTITUITO_2 = - "boSoggetto.sostituito = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE = - new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByDettPratica_TipologiaProfessione", - new String[] { - Long.class.getName(), String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE = - new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByDettPratica_TipologiaProfessione", - new String[] { Long.class.getName(), String.class.getName() }, - BoSoggettoModelImpl.DETTPRATICAID_COLUMN_BITMASK | - BoSoggettoModelImpl.TIPOLOGIAPROFESSIONE_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE = - new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByDettPratica_TipologiaProfessione", - new String[] { Long.class.getName(), String.class.getName() }); - - /** - * Returns all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica_TipologiaProfessione( - long dettPraticaId, String tipologiaProfessione) - throws SystemException { - return findByDettPratica_TipologiaProfessione(dettPraticaId, - tipologiaProfessione, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica_TipologiaProfessione( - long dettPraticaId, String tipologiaProfessione, int start, int end) - throws SystemException { - return findByDettPratica_TipologiaProfessione(dettPraticaId, - tipologiaProfessione, start, end, null); - } - - /** - * Returns an ordered range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica_TipologiaProfessione( - long dettPraticaId, String tipologiaProfessione, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE; - finderArgs = new Object[] { dettPraticaId, tipologiaProfessione }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE; - finderArgs = new Object[] { - dettPraticaId, tipologiaProfessione, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoSoggetto boSoggetto : list) { - if ((dettPraticaId != boSoggetto.getDettPraticaId()) || - !Validator.equals(tipologiaProfessione, - boSoggetto.getTipologiaProfessione())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_BOSOGGETTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_DETTPRATICAID_2); - - boolean bindTipologiaProfessione = false; - - if (tipologiaProfessione == null) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_TIPOLOGIAPROFESSIONE_1); - } - else if (tipologiaProfessione.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_TIPOLOGIAPROFESSIONE_3); - } - else { - bindTipologiaProfessione = true; - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_TIPOLOGIAPROFESSIONE_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoSoggettoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindTipologiaProfessione) { - qPos.add(tipologiaProfessione); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByDettPratica_TipologiaProfessione_First( - long dettPraticaId, String tipologiaProfessione, - OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = fetchByDettPratica_TipologiaProfessione_First(dettPraticaId, - tipologiaProfessione, orderByComparator); - - if (boSoggetto != null) { - return boSoggetto; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(", tipologiaProfessione="); - msg.append(tipologiaProfessione); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSoggettoException(msg.toString()); - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByDettPratica_TipologiaProfessione_First( - long dettPraticaId, String tipologiaProfessione, - OrderByComparator orderByComparator) throws SystemException { - List list = findByDettPratica_TipologiaProfessione(dettPraticaId, - tipologiaProfessione, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByDettPratica_TipologiaProfessione_Last( - long dettPraticaId, String tipologiaProfessione, - OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = fetchByDettPratica_TipologiaProfessione_Last(dettPraticaId, - tipologiaProfessione, orderByComparator); - - if (boSoggetto != null) { - return boSoggetto; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(", tipologiaProfessione="); - msg.append(tipologiaProfessione); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSoggettoException(msg.toString()); - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByDettPratica_TipologiaProfessione_Last( - long dettPraticaId, String tipologiaProfessione, - OrderByComparator orderByComparator) throws SystemException { - int count = countByDettPratica_TipologiaProfessione(dettPraticaId, - tipologiaProfessione); - - if (count == 0) { - return null; - } - - List list = findByDettPratica_TipologiaProfessione(dettPraticaId, - tipologiaProfessione, count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto[] findByDettPratica_TipologiaProfessione_PrevAndNext( - long soggettoId, long dettPraticaId, String tipologiaProfessione, - OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = findByPrimaryKey(soggettoId); - - Session session = null; - - try { - session = openSession(); - - BoSoggetto[] array = new BoSoggettoImpl[3]; - - array[0] = getByDettPratica_TipologiaProfessione_PrevAndNext(session, - boSoggetto, dettPraticaId, tipologiaProfessione, - orderByComparator, true); - - array[1] = boSoggetto; - - array[2] = getByDettPratica_TipologiaProfessione_PrevAndNext(session, - boSoggetto, dettPraticaId, tipologiaProfessione, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoSoggetto getByDettPratica_TipologiaProfessione_PrevAndNext( - Session session, BoSoggetto boSoggetto, long dettPraticaId, - String tipologiaProfessione, OrderByComparator orderByComparator, - boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSOGGETTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_DETTPRATICAID_2); - - boolean bindTipologiaProfessione = false; - - if (tipologiaProfessione == null) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_TIPOLOGIAPROFESSIONE_1); - } - else if (tipologiaProfessione.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_TIPOLOGIAPROFESSIONE_3); - } - else { - bindTipologiaProfessione = true; - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_TIPOLOGIAPROFESSIONE_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoSoggettoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindTipologiaProfessione) { - qPos.add(tipologiaProfessione); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boSoggetto); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByDettPratica_TipologiaProfessione(long dettPraticaId, - String tipologiaProfessione) throws SystemException { - for (BoSoggetto boSoggetto : findByDettPratica_TipologiaProfessione( - dettPraticaId, tipologiaProfessione, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(boSoggetto); - } - } - - /** - * Returns the number of bo soggettos where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByDettPratica_TipologiaProfessione(long dettPraticaId, - String tipologiaProfessione) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE; - - Object[] finderArgs = new Object[] { dettPraticaId, tipologiaProfessione }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOSOGGETTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_DETTPRATICAID_2); - - boolean bindTipologiaProfessione = false; - - if (tipologiaProfessione == null) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_TIPOLOGIAPROFESSIONE_1); - } - else if (tipologiaProfessione.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_TIPOLOGIAPROFESSIONE_3); - } - else { - bindTipologiaProfessione = true; - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_TIPOLOGIAPROFESSIONE_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindTipologiaProfessione) { - qPos.add(tipologiaProfessione); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_DETTPRATICAID_2 = - "boSoggetto.dettPraticaId = ? AND "; - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_TIPOLOGIAPROFESSIONE_1 = - "boSoggetto.tipologiaProfessione IS NULL"; - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_TIPOLOGIAPROFESSIONE_2 = - "boSoggetto.tipologiaProfessione = ?"; - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_TIPOLOGIAPROFESSIONE_3 = - "(boSoggetto.tipologiaProfessione IS NULL OR boSoggetto.tipologiaProfessione = '')"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO = - new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito", - new String[] { - Long.class.getName(), String.class.getName(), - Boolean.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO = - new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito", - new String[] { - Long.class.getName(), String.class.getName(), - Boolean.class.getName() - }, - BoSoggettoModelImpl.DETTPRATICAID_COLUMN_BITMASK | - BoSoggettoModelImpl.TIPOLOGIAPROFESSIONE_COLUMN_BITMASK | - BoSoggettoModelImpl.SOSTITUITO_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO = - new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito", - new String[] { - Long.class.getName(), String.class.getName(), - Boolean.class.getName() - }); - - /** - * Returns all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito( - long dettPraticaId, String tipologiaProfessione, boolean sostituito) - throws SystemException { - return findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito(dettPraticaId, - tipologiaProfessione, sostituito, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito( - long dettPraticaId, String tipologiaProfessione, boolean sostituito, - int start, int end) throws SystemException { - return findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito(dettPraticaId, - tipologiaProfessione, sostituito, start, end, null); - } - - /** - * Returns an ordered range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito( - long dettPraticaId, String tipologiaProfessione, boolean sostituito, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO; - finderArgs = new Object[] { - dettPraticaId, tipologiaProfessione, sostituito - }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO; - finderArgs = new Object[] { - dettPraticaId, tipologiaProfessione, sostituito, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoSoggetto boSoggetto : list) { - if ((dettPraticaId != boSoggetto.getDettPraticaId()) || - !Validator.equals(tipologiaProfessione, - boSoggetto.getTipologiaProfessione()) || - (sostituito != boSoggetto.getSostituito())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(5 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(5); - } - - query.append(_SQL_SELECT_BOSOGGETTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_DETTPRATICAID_2); - - boolean bindTipologiaProfessione = false; - - if (tipologiaProfessione == null) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_TIPOLOGIAPROFESSIONE_1); - } - else if (tipologiaProfessione.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_TIPOLOGIAPROFESSIONE_3); - } - else { - bindTipologiaProfessione = true; - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_TIPOLOGIAPROFESSIONE_2); - } - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_SOSTITUITO_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoSoggettoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindTipologiaProfessione) { - qPos.add(tipologiaProfessione); - } - - qPos.add(sostituito); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_First( - long dettPraticaId, String tipologiaProfessione, boolean sostituito, - OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = fetchByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_First(dettPraticaId, - tipologiaProfessione, sostituito, orderByComparator); - - if (boSoggetto != null) { - return boSoggetto; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(", tipologiaProfessione="); - msg.append(tipologiaProfessione); - - msg.append(", sostituito="); - msg.append(sostituito); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSoggettoException(msg.toString()); - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_First( - long dettPraticaId, String tipologiaProfessione, boolean sostituito, - OrderByComparator orderByComparator) throws SystemException { - List list = findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito(dettPraticaId, - tipologiaProfessione, sostituito, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_Last( - long dettPraticaId, String tipologiaProfessione, boolean sostituito, - OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = fetchByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_Last(dettPraticaId, - tipologiaProfessione, sostituito, orderByComparator); - - if (boSoggetto != null) { - return boSoggetto; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(", tipologiaProfessione="); - msg.append(tipologiaProfessione); - - msg.append(", sostituito="); - msg.append(sostituito); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSoggettoException(msg.toString()); - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_Last( - long dettPraticaId, String tipologiaProfessione, boolean sostituito, - OrderByComparator orderByComparator) throws SystemException { - int count = countByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito(dettPraticaId, - tipologiaProfessione, sostituito); - - if (count == 0) { - return null; - } - - List list = findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito(dettPraticaId, - tipologiaProfessione, sostituito, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto[] findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_PrevAndNext( - long soggettoId, long dettPraticaId, String tipologiaProfessione, - boolean sostituito, OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = findByPrimaryKey(soggettoId); - - Session session = null; - - try { - session = openSession(); - - BoSoggetto[] array = new BoSoggettoImpl[3]; - - array[0] = getByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_PrevAndNext(session, - boSoggetto, dettPraticaId, tipologiaProfessione, - sostituito, orderByComparator, true); - - array[1] = boSoggetto; - - array[2] = getByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_PrevAndNext(session, - boSoggetto, dettPraticaId, tipologiaProfessione, - sostituito, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoSoggetto getByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_PrevAndNext( - Session session, BoSoggetto boSoggetto, long dettPraticaId, - String tipologiaProfessione, boolean sostituito, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSOGGETTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_DETTPRATICAID_2); - - boolean bindTipologiaProfessione = false; - - if (tipologiaProfessione == null) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_TIPOLOGIAPROFESSIONE_1); - } - else if (tipologiaProfessione.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_TIPOLOGIAPROFESSIONE_3); - } - else { - bindTipologiaProfessione = true; - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_TIPOLOGIAPROFESSIONE_2); - } - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_SOSTITUITO_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoSoggettoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindTipologiaProfessione) { - qPos.add(tipologiaProfessione); - } - - qPos.add(sostituito); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boSoggetto); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito( - long dettPraticaId, String tipologiaProfessione, boolean sostituito) - throws SystemException { - for (BoSoggetto boSoggetto : findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito( - dettPraticaId, tipologiaProfessione, sostituito, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boSoggetto); - } - } - - /** - * Returns the number of bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito( - long dettPraticaId, String tipologiaProfessione, boolean sostituito) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO; - - Object[] finderArgs = new Object[] { - dettPraticaId, tipologiaProfessione, sostituito - }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_COUNT_BOSOGGETTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_DETTPRATICAID_2); - - boolean bindTipologiaProfessione = false; - - if (tipologiaProfessione == null) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_TIPOLOGIAPROFESSIONE_1); - } - else if (tipologiaProfessione.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_TIPOLOGIAPROFESSIONE_3); - } - else { - bindTipologiaProfessione = true; - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_TIPOLOGIAPROFESSIONE_2); - } - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_SOSTITUITO_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindTipologiaProfessione) { - qPos.add(tipologiaProfessione); - } - - qPos.add(sostituito); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_DETTPRATICAID_2 = - "boSoggetto.dettPraticaId = ? AND "; - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_TIPOLOGIAPROFESSIONE_1 = - "boSoggetto.tipologiaProfessione IS NULL AND "; - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_TIPOLOGIAPROFESSIONE_2 = - "boSoggetto.tipologiaProfessione = ? AND "; - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_TIPOLOGIAPROFESSIONE_3 = - "(boSoggetto.tipologiaProfessione IS NULL OR boSoggetto.tipologiaProfessione = '') AND "; - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_SOSTITUITO_2 = - "boSoggetto.sostituito = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO = - new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByDettPratica_TipologiaProfessione_Aggiuntivo", - new String[] { - Long.class.getName(), String.class.getName(), - Boolean.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO = - new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByDettPratica_TipologiaProfessione_Aggiuntivo", - new String[] { - Long.class.getName(), String.class.getName(), - Boolean.class.getName() - }, - BoSoggettoModelImpl.DETTPRATICAID_COLUMN_BITMASK | - BoSoggettoModelImpl.TIPOLOGIAPROFESSIONE_COLUMN_BITMASK | - BoSoggettoModelImpl.AGGIUNTIVO_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO = - new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByDettPratica_TipologiaProfessione_Aggiuntivo", - new String[] { - Long.class.getName(), String.class.getName(), - Boolean.class.getName() - }); - - /** - * Returns all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica_TipologiaProfessione_Aggiuntivo( - long dettPraticaId, String tipologiaProfessione, boolean aggiuntivo) - throws SystemException { - return findByDettPratica_TipologiaProfessione_Aggiuntivo(dettPraticaId, - tipologiaProfessione, aggiuntivo, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica_TipologiaProfessione_Aggiuntivo( - long dettPraticaId, String tipologiaProfessione, boolean aggiuntivo, - int start, int end) throws SystemException { - return findByDettPratica_TipologiaProfessione_Aggiuntivo(dettPraticaId, - tipologiaProfessione, aggiuntivo, start, end, null); - } - - /** - * Returns an ordered range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica_TipologiaProfessione_Aggiuntivo( - long dettPraticaId, String tipologiaProfessione, boolean aggiuntivo, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO; - finderArgs = new Object[] { - dettPraticaId, tipologiaProfessione, aggiuntivo - }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO; - finderArgs = new Object[] { - dettPraticaId, tipologiaProfessione, aggiuntivo, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoSoggetto boSoggetto : list) { - if ((dettPraticaId != boSoggetto.getDettPraticaId()) || - !Validator.equals(tipologiaProfessione, - boSoggetto.getTipologiaProfessione()) || - (aggiuntivo != boSoggetto.getAggiuntivo())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(5 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(5); - } - - query.append(_SQL_SELECT_BOSOGGETTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_DETTPRATICAID_2); - - boolean bindTipologiaProfessione = false; - - if (tipologiaProfessione == null) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_TIPOLOGIAPROFESSIONE_1); - } - else if (tipologiaProfessione.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_TIPOLOGIAPROFESSIONE_3); - } - else { - bindTipologiaProfessione = true; - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_TIPOLOGIAPROFESSIONE_2); - } - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_AGGIUNTIVO_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoSoggettoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindTipologiaProfessione) { - qPos.add(tipologiaProfessione); - } - - qPos.add(aggiuntivo); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByDettPratica_TipologiaProfessione_Aggiuntivo_First( - long dettPraticaId, String tipologiaProfessione, boolean aggiuntivo, - OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = fetchByDettPratica_TipologiaProfessione_Aggiuntivo_First(dettPraticaId, - tipologiaProfessione, aggiuntivo, orderByComparator); - - if (boSoggetto != null) { - return boSoggetto; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(", tipologiaProfessione="); - msg.append(tipologiaProfessione); - - msg.append(", aggiuntivo="); - msg.append(aggiuntivo); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSoggettoException(msg.toString()); - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByDettPratica_TipologiaProfessione_Aggiuntivo_First( - long dettPraticaId, String tipologiaProfessione, boolean aggiuntivo, - OrderByComparator orderByComparator) throws SystemException { - List list = findByDettPratica_TipologiaProfessione_Aggiuntivo(dettPraticaId, - tipologiaProfessione, aggiuntivo, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByDettPratica_TipologiaProfessione_Aggiuntivo_Last( - long dettPraticaId, String tipologiaProfessione, boolean aggiuntivo, - OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = fetchByDettPratica_TipologiaProfessione_Aggiuntivo_Last(dettPraticaId, - tipologiaProfessione, aggiuntivo, orderByComparator); - - if (boSoggetto != null) { - return boSoggetto; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(", tipologiaProfessione="); - msg.append(tipologiaProfessione); - - msg.append(", aggiuntivo="); - msg.append(aggiuntivo); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSoggettoException(msg.toString()); - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByDettPratica_TipologiaProfessione_Aggiuntivo_Last( - long dettPraticaId, String tipologiaProfessione, boolean aggiuntivo, - OrderByComparator orderByComparator) throws SystemException { - int count = countByDettPratica_TipologiaProfessione_Aggiuntivo(dettPraticaId, - tipologiaProfessione, aggiuntivo); - - if (count == 0) { - return null; - } - - List list = findByDettPratica_TipologiaProfessione_Aggiuntivo(dettPraticaId, - tipologiaProfessione, aggiuntivo, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto[] findByDettPratica_TipologiaProfessione_Aggiuntivo_PrevAndNext( - long soggettoId, long dettPraticaId, String tipologiaProfessione, - boolean aggiuntivo, OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = findByPrimaryKey(soggettoId); - - Session session = null; - - try { - session = openSession(); - - BoSoggetto[] array = new BoSoggettoImpl[3]; - - array[0] = getByDettPratica_TipologiaProfessione_Aggiuntivo_PrevAndNext(session, - boSoggetto, dettPraticaId, tipologiaProfessione, - aggiuntivo, orderByComparator, true); - - array[1] = boSoggetto; - - array[2] = getByDettPratica_TipologiaProfessione_Aggiuntivo_PrevAndNext(session, - boSoggetto, dettPraticaId, tipologiaProfessione, - aggiuntivo, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoSoggetto getByDettPratica_TipologiaProfessione_Aggiuntivo_PrevAndNext( - Session session, BoSoggetto boSoggetto, long dettPraticaId, - String tipologiaProfessione, boolean aggiuntivo, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSOGGETTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_DETTPRATICAID_2); - - boolean bindTipologiaProfessione = false; - - if (tipologiaProfessione == null) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_TIPOLOGIAPROFESSIONE_1); - } - else if (tipologiaProfessione.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_TIPOLOGIAPROFESSIONE_3); - } - else { - bindTipologiaProfessione = true; - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_TIPOLOGIAPROFESSIONE_2); - } - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_AGGIUNTIVO_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoSoggettoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindTipologiaProfessione) { - qPos.add(tipologiaProfessione); - } - - qPos.add(aggiuntivo); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boSoggetto); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByDettPratica_TipologiaProfessione_Aggiuntivo( - long dettPraticaId, String tipologiaProfessione, boolean aggiuntivo) - throws SystemException { - for (BoSoggetto boSoggetto : findByDettPratica_TipologiaProfessione_Aggiuntivo( - dettPraticaId, tipologiaProfessione, aggiuntivo, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boSoggetto); - } - } - - /** - * Returns the number of bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByDettPratica_TipologiaProfessione_Aggiuntivo( - long dettPraticaId, String tipologiaProfessione, boolean aggiuntivo) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO; - - Object[] finderArgs = new Object[] { - dettPraticaId, tipologiaProfessione, aggiuntivo - }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_COUNT_BOSOGGETTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_DETTPRATICAID_2); - - boolean bindTipologiaProfessione = false; - - if (tipologiaProfessione == null) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_TIPOLOGIAPROFESSIONE_1); - } - else if (tipologiaProfessione.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_TIPOLOGIAPROFESSIONE_3); - } - else { - bindTipologiaProfessione = true; - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_TIPOLOGIAPROFESSIONE_2); - } - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_AGGIUNTIVO_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindTipologiaProfessione) { - qPos.add(tipologiaProfessione); - } - - qPos.add(aggiuntivo); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_DETTPRATICAID_2 = - "boSoggetto.dettPraticaId = ? AND "; - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_TIPOLOGIAPROFESSIONE_1 = - "boSoggetto.tipologiaProfessione IS NULL AND "; - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_TIPOLOGIAPROFESSIONE_2 = - "boSoggetto.tipologiaProfessione = ? AND "; - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_TIPOLOGIAPROFESSIONE_3 = - "(boSoggetto.tipologiaProfessione IS NULL OR boSoggetto.tipologiaProfessione = '') AND "; - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_AGGIUNTIVO_2 = - "boSoggetto.aggiuntivo = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO = - new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito", - new String[] { - Long.class.getName(), String.class.getName(), - Boolean.class.getName(), Boolean.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO = - new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito", - new String[] { - Long.class.getName(), String.class.getName(), - Boolean.class.getName(), Boolean.class.getName() - }, - BoSoggettoModelImpl.DETTPRATICAID_COLUMN_BITMASK | - BoSoggettoModelImpl.TIPOLOGIAPROFESSIONE_COLUMN_BITMASK | - BoSoggettoModelImpl.AGGIUNTIVO_COLUMN_BITMASK | - BoSoggettoModelImpl.SOSTITUITO_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO = - new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito", - new String[] { - Long.class.getName(), String.class.getName(), - Boolean.class.getName(), Boolean.class.getName() - }); - - /** - * Returns all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito( - long dettPraticaId, String tipologiaProfessione, boolean aggiuntivo, - boolean sostituito) throws SystemException { - return findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito(dettPraticaId, - tipologiaProfessione, aggiuntivo, sostituito, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito( - long dettPraticaId, String tipologiaProfessione, boolean aggiuntivo, - boolean sostituito, int start, int end) throws SystemException { - return findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito(dettPraticaId, - tipologiaProfessione, aggiuntivo, sostituito, start, end, null); - } - - /** - * Returns an ordered range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito( - long dettPraticaId, String tipologiaProfessione, boolean aggiuntivo, - boolean sostituito, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO; - finderArgs = new Object[] { - dettPraticaId, tipologiaProfessione, aggiuntivo, sostituito - }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO; - finderArgs = new Object[] { - dettPraticaId, tipologiaProfessione, aggiuntivo, sostituito, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoSoggetto boSoggetto : list) { - if ((dettPraticaId != boSoggetto.getDettPraticaId()) || - !Validator.equals(tipologiaProfessione, - boSoggetto.getTipologiaProfessione()) || - (aggiuntivo != boSoggetto.getAggiuntivo()) || - (sostituito != boSoggetto.getSostituito())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(6); - } - - query.append(_SQL_SELECT_BOSOGGETTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_DETTPRATICAID_2); - - boolean bindTipologiaProfessione = false; - - if (tipologiaProfessione == null) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_TIPOLOGIAPROFESSIONE_1); - } - else if (tipologiaProfessione.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_TIPOLOGIAPROFESSIONE_3); - } - else { - bindTipologiaProfessione = true; - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_TIPOLOGIAPROFESSIONE_2); - } - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_AGGIUNTIVO_2); - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_SOSTITUITO_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoSoggettoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindTipologiaProfessione) { - qPos.add(tipologiaProfessione); - } - - qPos.add(aggiuntivo); - - qPos.add(sostituito); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_First( - long dettPraticaId, String tipologiaProfessione, boolean aggiuntivo, - boolean sostituito, OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = fetchByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_First(dettPraticaId, - tipologiaProfessione, aggiuntivo, sostituito, orderByComparator); - - if (boSoggetto != null) { - return boSoggetto; - } - - StringBundler msg = new StringBundler(10); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(", tipologiaProfessione="); - msg.append(tipologiaProfessione); - - msg.append(", aggiuntivo="); - msg.append(aggiuntivo); - - msg.append(", sostituito="); - msg.append(sostituito); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSoggettoException(msg.toString()); - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_First( - long dettPraticaId, String tipologiaProfessione, boolean aggiuntivo, - boolean sostituito, OrderByComparator orderByComparator) - throws SystemException { - List list = findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito(dettPraticaId, - tipologiaProfessione, aggiuntivo, sostituito, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_Last( - long dettPraticaId, String tipologiaProfessione, boolean aggiuntivo, - boolean sostituito, OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = fetchByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_Last(dettPraticaId, - tipologiaProfessione, aggiuntivo, sostituito, orderByComparator); - - if (boSoggetto != null) { - return boSoggetto; - } - - StringBundler msg = new StringBundler(10); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(", tipologiaProfessione="); - msg.append(tipologiaProfessione); - - msg.append(", aggiuntivo="); - msg.append(aggiuntivo); - - msg.append(", sostituito="); - msg.append(sostituito); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSoggettoException(msg.toString()); - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_Last( - long dettPraticaId, String tipologiaProfessione, boolean aggiuntivo, - boolean sostituito, OrderByComparator orderByComparator) - throws SystemException { - int count = countByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito(dettPraticaId, - tipologiaProfessione, aggiuntivo, sostituito); - - if (count == 0) { - return null; - } - - List list = findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito(dettPraticaId, - tipologiaProfessione, aggiuntivo, sostituito, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto[] findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_PrevAndNext( - long soggettoId, long dettPraticaId, String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito, - OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = findByPrimaryKey(soggettoId); - - Session session = null; - - try { - session = openSession(); - - BoSoggetto[] array = new BoSoggettoImpl[3]; - - array[0] = getByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_PrevAndNext(session, - boSoggetto, dettPraticaId, tipologiaProfessione, - aggiuntivo, sostituito, orderByComparator, true); - - array[1] = boSoggetto; - - array[2] = getByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_PrevAndNext(session, - boSoggetto, dettPraticaId, tipologiaProfessione, - aggiuntivo, sostituito, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoSoggetto getByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_PrevAndNext( - Session session, BoSoggetto boSoggetto, long dettPraticaId, - String tipologiaProfessione, boolean aggiuntivo, boolean sostituito, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSOGGETTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_DETTPRATICAID_2); - - boolean bindTipologiaProfessione = false; - - if (tipologiaProfessione == null) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_TIPOLOGIAPROFESSIONE_1); - } - else if (tipologiaProfessione.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_TIPOLOGIAPROFESSIONE_3); - } - else { - bindTipologiaProfessione = true; - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_TIPOLOGIAPROFESSIONE_2); - } - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_AGGIUNTIVO_2); - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_SOSTITUITO_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoSoggettoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindTipologiaProfessione) { - qPos.add(tipologiaProfessione); - } - - qPos.add(aggiuntivo); - - qPos.add(sostituito); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boSoggetto); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito( - long dettPraticaId, String tipologiaProfessione, boolean aggiuntivo, - boolean sostituito) throws SystemException { - for (BoSoggetto boSoggetto : findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito( - dettPraticaId, tipologiaProfessione, aggiuntivo, sostituito, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boSoggetto); - } - } - - /** - * Returns the number of bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito( - long dettPraticaId, String tipologiaProfessione, boolean aggiuntivo, - boolean sostituito) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO; - - Object[] finderArgs = new Object[] { - dettPraticaId, tipologiaProfessione, aggiuntivo, sostituito - }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(5); - - query.append(_SQL_COUNT_BOSOGGETTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_DETTPRATICAID_2); - - boolean bindTipologiaProfessione = false; - - if (tipologiaProfessione == null) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_TIPOLOGIAPROFESSIONE_1); - } - else if (tipologiaProfessione.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_TIPOLOGIAPROFESSIONE_3); - } - else { - bindTipologiaProfessione = true; - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_TIPOLOGIAPROFESSIONE_2); - } - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_AGGIUNTIVO_2); - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_SOSTITUITO_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindTipologiaProfessione) { - qPos.add(tipologiaProfessione); - } - - qPos.add(aggiuntivo); - - qPos.add(sostituito); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_DETTPRATICAID_2 = - "boSoggetto.dettPraticaId = ? AND "; - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_TIPOLOGIAPROFESSIONE_1 = - "boSoggetto.tipologiaProfessione IS NULL AND "; - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_TIPOLOGIAPROFESSIONE_2 = - "boSoggetto.tipologiaProfessione = ? AND "; - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_TIPOLOGIAPROFESSIONE_3 = - "(boSoggetto.tipologiaProfessione IS NULL OR boSoggetto.tipologiaProfessione = '') AND "; - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_AGGIUNTIVO_2 = - "boSoggetto.aggiuntivo = ? AND "; - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_SOSTITUITO_2 = - "boSoggetto.sostituito = ?"; - - public BoSoggettoPersistenceImpl() { - setModelClass(BoSoggetto.class); - } - - /** - * Caches the bo soggetto in the entity cache if it is enabled. - * - * @param boSoggetto the bo soggetto - */ - @Override - public void cacheResult(BoSoggetto boSoggetto) { - EntityCacheUtil.putResult(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoImpl.class, boSoggetto.getPrimaryKey(), boSoggetto); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - new Object[] { boSoggetto.getUuid(), boSoggetto.getGroupId() }, - boSoggetto); - - boSoggetto.resetOriginalValues(); - } - - /** - * Caches the bo soggettos in the entity cache if it is enabled. - * - * @param boSoggettos the bo soggettos - */ - @Override - public void cacheResult(List boSoggettos) { - for (BoSoggetto boSoggetto : boSoggettos) { - if (EntityCacheUtil.getResult( - BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoImpl.class, boSoggetto.getPrimaryKey()) == null) { - cacheResult(boSoggetto); - } - else { - boSoggetto.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all bo soggettos. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(BoSoggettoImpl.class.getName()); - } - - EntityCacheUtil.clearCache(BoSoggettoImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the bo soggetto. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(BoSoggetto boSoggetto) { - EntityCacheUtil.removeResult(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoImpl.class, boSoggetto.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(boSoggetto); - } - - @Override - public void clearCache(List boSoggettos) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (BoSoggetto boSoggetto : boSoggettos) { - EntityCacheUtil.removeResult(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoImpl.class, boSoggetto.getPrimaryKey()); - - clearUniqueFindersCache(boSoggetto); - } - } - - protected void cacheUniqueFindersCache(BoSoggetto boSoggetto) { - if (boSoggetto.isNew()) { - Object[] args = new Object[] { - boSoggetto.getUuid(), boSoggetto.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - boSoggetto); - } - else { - BoSoggettoModelImpl boSoggettoModelImpl = (BoSoggettoModelImpl)boSoggetto; - - if ((boSoggettoModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSoggetto.getUuid(), boSoggetto.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - boSoggetto); - } - } - } - - protected void clearUniqueFindersCache(BoSoggetto boSoggetto) { - BoSoggettoModelImpl boSoggettoModelImpl = (BoSoggettoModelImpl)boSoggetto; - - Object[] args = new Object[] { - boSoggetto.getUuid(), boSoggetto.getGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - - if ((boSoggettoModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - args = new Object[] { - boSoggettoModelImpl.getOriginalUuid(), - boSoggettoModelImpl.getOriginalGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - } - } - - /** - * Creates a new bo soggetto with the primary key. Does not add the bo soggetto to the database. - * - * @param soggettoId the primary key for the new bo soggetto - * @return the new bo soggetto - */ - @Override - public BoSoggetto create(long soggettoId) { - BoSoggetto boSoggetto = new BoSoggettoImpl(); - - boSoggetto.setNew(true); - boSoggetto.setPrimaryKey(soggettoId); - - String uuid = PortalUUIDUtil.generate(); - - boSoggetto.setUuid(uuid); - - return boSoggetto; - } - - /** - * Removes the bo soggetto with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param soggettoId the primary key of the bo soggetto - * @return the bo soggetto that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto remove(long soggettoId) - throws NoSuchBoSoggettoException, SystemException { - return remove((Serializable)soggettoId); - } - - /** - * Removes the bo soggetto with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the bo soggetto - * @return the bo soggetto that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto remove(Serializable primaryKey) - throws NoSuchBoSoggettoException, SystemException { - Session session = null; - - try { - session = openSession(); - - BoSoggetto boSoggetto = (BoSoggetto)session.get(BoSoggettoImpl.class, - primaryKey); - - if (boSoggetto == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoSoggettoException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(boSoggetto); - } - catch (NoSuchBoSoggettoException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected BoSoggetto removeImpl(BoSoggetto boSoggetto) - throws SystemException { - boSoggetto = toUnwrappedModel(boSoggetto); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(boSoggetto)) { - boSoggetto = (BoSoggetto)session.get(BoSoggettoImpl.class, - boSoggetto.getPrimaryKeyObj()); - } - - if (boSoggetto != null) { - session.delete(boSoggetto); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (boSoggetto != null) { - clearCache(boSoggetto); - } - - return boSoggetto; - } - - @Override - public BoSoggetto updateImpl( - it.tref.liferay.portos.importazione.model.BoSoggetto boSoggetto) - throws SystemException { - boSoggetto = toUnwrappedModel(boSoggetto); - - boolean isNew = boSoggetto.isNew(); - - BoSoggettoModelImpl boSoggettoModelImpl = (BoSoggettoModelImpl)boSoggetto; - - if (Validator.isNull(boSoggetto.getUuid())) { - String uuid = PortalUUIDUtil.generate(); - - boSoggetto.setUuid(uuid); - } - - Session session = null; - - try { - session = openSession(); - - if (boSoggetto.isNew()) { - session.save(boSoggetto); - - boSoggetto.setNew(false); - } - else { - session.merge(boSoggetto); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !BoSoggettoModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((boSoggettoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSoggettoModelImpl.getOriginalUuid() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - - args = new Object[] { boSoggettoModelImpl.getUuid() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - } - - if ((boSoggettoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSoggettoModelImpl.getOriginalUuid(), - boSoggettoModelImpl.getOriginalCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - - args = new Object[] { - boSoggettoModelImpl.getUuid(), - boSoggettoModelImpl.getCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - } - - if ((boSoggettoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSoggettoModelImpl.getOriginalDettPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA, - args); - - args = new Object[] { boSoggettoModelImpl.getDettPraticaId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA, - args); - } - - if ((boSoggettoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_SOSTITUITO.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSoggettoModelImpl.getOriginalDettPraticaId(), - boSoggettoModelImpl.getOriginalSostituito() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICA_SOSTITUITO, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_SOSTITUITO, - args); - - args = new Object[] { - boSoggettoModelImpl.getDettPraticaId(), - boSoggettoModelImpl.getSostituito() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICA_SOSTITUITO, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_SOSTITUITO, - args); - } - - if ((boSoggettoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSoggettoModelImpl.getOriginalDettPraticaId(), - boSoggettoModelImpl.getOriginalTipologiaProfessione() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE, - args); - - args = new Object[] { - boSoggettoModelImpl.getDettPraticaId(), - boSoggettoModelImpl.getTipologiaProfessione() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE, - args); - } - - if ((boSoggettoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSoggettoModelImpl.getOriginalDettPraticaId(), - boSoggettoModelImpl.getOriginalTipologiaProfessione(), - boSoggettoModelImpl.getOriginalSostituito() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO, - args); - - args = new Object[] { - boSoggettoModelImpl.getDettPraticaId(), - boSoggettoModelImpl.getTipologiaProfessione(), - boSoggettoModelImpl.getSostituito() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO, - args); - } - - if ((boSoggettoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSoggettoModelImpl.getOriginalDettPraticaId(), - boSoggettoModelImpl.getOriginalTipologiaProfessione(), - boSoggettoModelImpl.getOriginalAggiuntivo() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO, - args); - - args = new Object[] { - boSoggettoModelImpl.getDettPraticaId(), - boSoggettoModelImpl.getTipologiaProfessione(), - boSoggettoModelImpl.getAggiuntivo() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO, - args); - } - - if ((boSoggettoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSoggettoModelImpl.getOriginalDettPraticaId(), - boSoggettoModelImpl.getOriginalTipologiaProfessione(), - boSoggettoModelImpl.getOriginalAggiuntivo(), - boSoggettoModelImpl.getOriginalSostituito() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO, - args); - - args = new Object[] { - boSoggettoModelImpl.getDettPraticaId(), - boSoggettoModelImpl.getTipologiaProfessione(), - boSoggettoModelImpl.getAggiuntivo(), - boSoggettoModelImpl.getSostituito() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO, - args); - } - } - - EntityCacheUtil.putResult(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoImpl.class, boSoggetto.getPrimaryKey(), boSoggetto); - - clearUniqueFindersCache(boSoggetto); - cacheUniqueFindersCache(boSoggetto); - - return boSoggetto; - } - - protected BoSoggetto toUnwrappedModel(BoSoggetto boSoggetto) { - if (boSoggetto instanceof BoSoggettoImpl) { - return boSoggetto; - } - - BoSoggettoImpl boSoggettoImpl = new BoSoggettoImpl(); - - boSoggettoImpl.setNew(boSoggetto.isNew()); - boSoggettoImpl.setPrimaryKey(boSoggetto.getPrimaryKey()); - - boSoggettoImpl.setUuid(boSoggetto.getUuid()); - boSoggettoImpl.setSoggettoId(boSoggetto.getSoggettoId()); - boSoggettoImpl.setCompanyId(boSoggetto.getCompanyId()); - boSoggettoImpl.setUserId(boSoggetto.getUserId()); - boSoggettoImpl.setUserName(boSoggetto.getUserName()); - boSoggettoImpl.setCreateDate(boSoggetto.getCreateDate()); - boSoggettoImpl.setModifiedDate(boSoggetto.getModifiedDate()); - boSoggettoImpl.setGroupId(boSoggetto.getGroupId()); - boSoggettoImpl.setDettPraticaId(boSoggetto.getDettPraticaId()); - boSoggettoImpl.setNome(boSoggetto.getNome()); - boSoggettoImpl.setCognome(boSoggetto.getCognome()); - boSoggettoImpl.setCodiceFiscale(boSoggetto.getCodiceFiscale()); - boSoggettoImpl.setCodiceFiscaleDelegato(boSoggetto.getCodiceFiscaleDelegato()); - boSoggettoImpl.setDataNascita(boSoggetto.getDataNascita()); - boSoggettoImpl.setComuneNascita(boSoggetto.getComuneNascita()); - boSoggettoImpl.setComuneDomicilio(boSoggetto.getComuneDomicilio()); - boSoggettoImpl.setProvinciaDomicilio(boSoggetto.getProvinciaDomicilio()); - boSoggettoImpl.setViaDomicilio(boSoggetto.getViaDomicilio()); - boSoggettoImpl.setNumeroCivicoDomicilio(boSoggetto.getNumeroCivicoDomicilio()); - boSoggettoImpl.setCapDomicilio(boSoggetto.getCapDomicilio()); - boSoggettoImpl.setDomicilioExtra(boSoggetto.getDomicilioExtra()); - boSoggettoImpl.setComune(boSoggetto.getComune()); - boSoggettoImpl.setProvincia(boSoggetto.getProvincia()); - boSoggettoImpl.setVia(boSoggetto.getVia()); - boSoggettoImpl.setNumeroCivico(boSoggetto.getNumeroCivico()); - boSoggettoImpl.setCap(boSoggetto.getCap()); - boSoggettoImpl.setDenominazione(boSoggetto.getDenominazione()); - boSoggettoImpl.setSedeLegale(boSoggetto.getSedeLegale()); - boSoggettoImpl.setLegaleRap(boSoggetto.getLegaleRap()); - boSoggettoImpl.setDataNascitaRap(boSoggetto.getDataNascitaRap()); - boSoggettoImpl.setComuneNascitaRap(boSoggetto.getComuneNascitaRap()); - boSoggettoImpl.setViaRap(boSoggetto.getViaRap()); - boSoggettoImpl.setNumeroCivicoRap(boSoggetto.getNumeroCivicoRap()); - boSoggettoImpl.setCapRap(boSoggetto.getCapRap()); - boSoggettoImpl.setProvinciaRap(boSoggetto.getProvinciaRap()); - boSoggettoImpl.setComuneRap(boSoggetto.getComuneRap()); - boSoggettoImpl.setAlbo(boSoggetto.getAlbo()); - boSoggettoImpl.setRegAlbo(boSoggetto.getRegAlbo()); - boSoggettoImpl.setProvAlbo(boSoggetto.getProvAlbo()); - boSoggettoImpl.setNumIscrAlbo(boSoggetto.getNumIscrAlbo()); - boSoggettoImpl.setTelefono(boSoggetto.getTelefono()); - boSoggettoImpl.setFax(boSoggetto.getFax()); - boSoggettoImpl.setEmail(boSoggetto.getEmail()); - boSoggettoImpl.setTipologiaSoggetto(boSoggetto.getTipologiaSoggetto()); - boSoggettoImpl.setTipologiaProfessione(boSoggetto.getTipologiaProfessione()); - boSoggettoImpl.setAggiuntivo(boSoggetto.isAggiuntivo()); - boSoggettoImpl.setSostituito(boSoggetto.isSostituito()); - - return boSoggettoImpl; - } - - /** - * Returns the bo soggetto with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the bo soggetto - * @return the bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByPrimaryKey(Serializable primaryKey) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = fetchByPrimaryKey(primaryKey); - - if (boSoggetto == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoSoggettoException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return boSoggetto; - } - - /** - * Returns the bo soggetto with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoSoggettoException} if it could not be found. - * - * @param soggettoId the primary key of the bo soggetto - * @return the bo soggetto - * @throws it.tref.liferay.portos.importazione.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByPrimaryKey(long soggettoId) - throws NoSuchBoSoggettoException, SystemException { - return findByPrimaryKey((Serializable)soggettoId); - } - - /** - * Returns the bo soggetto with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the bo soggetto - * @return the bo soggetto, or null if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - BoSoggetto boSoggetto = (BoSoggetto)EntityCacheUtil.getResult(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoImpl.class, primaryKey); - - if (boSoggetto == _nullBoSoggetto) { - return null; - } - - if (boSoggetto == null) { - Session session = null; - - try { - session = openSession(); - - boSoggetto = (BoSoggetto)session.get(BoSoggettoImpl.class, - primaryKey); - - if (boSoggetto != null) { - cacheResult(boSoggetto); - } - else { - EntityCacheUtil.putResult(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoImpl.class, primaryKey, _nullBoSoggetto); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return boSoggetto; - } - - /** - * Returns the bo soggetto with the primary key or returns null if it could not be found. - * - * @param soggettoId the primary key of the bo soggetto - * @return the bo soggetto, or null if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByPrimaryKey(long soggettoId) - throws SystemException { - return fetchByPrimaryKey((Serializable)soggettoId); - } - - /** - * Returns all the bo soggettos. - * - * @return the bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo soggettos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the bo soggettos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_BOSOGGETTO); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_BOSOGGETTO; - - if (pagination) { - sql = sql.concat(BoSoggettoModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the bo soggettos from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (BoSoggetto boSoggetto : findAll()) { - remove(boSoggetto); - } - } - - /** - * Returns the number of bo soggettos. - * - * @return the number of bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_BOSOGGETTO); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - @Override - protected Set getBadColumnNames() { - return _badColumnNames; - } - - /** - * Initializes the bo soggetto persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.importazione.model.BoSoggetto"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(BoSoggettoImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_BOSOGGETTO = "SELECT boSoggetto FROM BoSoggetto boSoggetto"; - private static final String _SQL_SELECT_BOSOGGETTO_WHERE = "SELECT boSoggetto FROM BoSoggetto boSoggetto WHERE "; - private static final String _SQL_COUNT_BOSOGGETTO = "SELECT COUNT(boSoggetto) FROM BoSoggetto boSoggetto"; - private static final String _SQL_COUNT_BOSOGGETTO_WHERE = "SELECT COUNT(boSoggetto) FROM BoSoggetto boSoggetto WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "boSoggetto."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No BoSoggetto exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No BoSoggetto exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(BoSoggettoPersistenceImpl.class); - private static Set _badColumnNames = SetUtil.fromArray(new String[] { - "uuid" - }); - private static BoSoggetto _nullBoSoggetto = new BoSoggettoImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullBoSoggettoCacheModel; - } - }; - - private static CacheModel _nullBoSoggettoCacheModel = new CacheModel() { - @Override - public BoSoggetto toEntityModel() { - return _nullBoSoggetto; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoSorteggioPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoSorteggioPersistenceImpl.java deleted file mode 100644 index 0923c37e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoSorteggioPersistenceImpl.java +++ /dev/null @@ -1,3421 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.SetUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.kernel.uuid.PortalUUIDUtil; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.importazione.NoSuchBoSorteggioException; -import it.tref.liferay.portos.importazione.model.BoSorteggio; -import it.tref.liferay.portos.importazione.model.impl.BoSorteggioImpl; -import it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl; -import it.tref.liferay.portos.importazione.service.persistence.BoSorteggioPersistence; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Set; - -/** - * The persistence implementation for the bo sorteggio service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoSorteggioPersistence - * @see BoSorteggioUtil - * @generated - */ -public class BoSorteggioPersistenceImpl extends BasePersistenceImpl - implements BoSorteggioPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link BoSorteggioUtil} to access the bo sorteggio persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = BoSorteggioImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioModelImpl.FINDER_CACHE_ENABLED, BoSorteggioImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioModelImpl.FINDER_CACHE_ENABLED, BoSorteggioImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID = new FinderPath(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioModelImpl.FINDER_CACHE_ENABLED, BoSorteggioImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByUuid", - new String[] { - String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID = new FinderPath(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioModelImpl.FINDER_CACHE_ENABLED, BoSorteggioImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByUuid", - new String[] { String.class.getName() }, - BoSorteggioModelImpl.UUID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID = new FinderPath(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid", - new String[] { String.class.getName() }); - - /** - * Returns all the bo sorteggios where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid) throws SystemException { - return findByUuid(uuid, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo sorteggios where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end) - throws SystemException { - return findByUuid(uuid, start, end, null); - } - - /** - * Returns an ordered range of all the bo sorteggios where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoSorteggio boSorteggio : list) { - if (!Validator.equals(uuid, boSorteggio.getUuid())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSORTEGGIO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoSorteggioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo sorteggio in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio findByUuid_First(String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoSorteggioException, SystemException { - BoSorteggio boSorteggio = fetchByUuid_First(uuid, orderByComparator); - - if (boSorteggio != null) { - return boSorteggio; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSorteggioException(msg.toString()); - } - - /** - * Returns the first bo sorteggio in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio fetchByUuid_First(String uuid, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid(uuid, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo sorteggio in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio findByUuid_Last(String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoSorteggioException, SystemException { - BoSorteggio boSorteggio = fetchByUuid_Last(uuid, orderByComparator); - - if (boSorteggio != null) { - return boSorteggio; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSorteggioException(msg.toString()); - } - - /** - * Returns the last bo sorteggio in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio fetchByUuid_Last(String uuid, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid(uuid); - - if (count == 0) { - return null; - } - - List list = findByUuid(uuid, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo sorteggios before and after the current bo sorteggio in the ordered set where uuid = ?. - * - * @param sorteggioId the primary key of the current bo sorteggio - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio[] findByUuid_PrevAndNext(long sorteggioId, String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoSorteggioException, SystemException { - BoSorteggio boSorteggio = findByPrimaryKey(sorteggioId); - - Session session = null; - - try { - session = openSession(); - - BoSorteggio[] array = new BoSorteggioImpl[3]; - - array[0] = getByUuid_PrevAndNext(session, boSorteggio, uuid, - orderByComparator, true); - - array[1] = boSorteggio; - - array[2] = getByUuid_PrevAndNext(session, boSorteggio, uuid, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoSorteggio getByUuid_PrevAndNext(Session session, - BoSorteggio boSorteggio, String uuid, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSORTEGGIO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoSorteggioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boSorteggio); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo sorteggios where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid(String uuid) throws SystemException { - for (BoSorteggio boSorteggio : findByUuid(uuid, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(boSorteggio); - } - } - - /** - * Returns the number of bo sorteggios where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid(String uuid) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID; - - Object[] finderArgs = new Object[] { uuid }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BOSORTEGGIO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_UUID_1 = "boSorteggio.uuid IS NULL"; - private static final String _FINDER_COLUMN_UUID_UUID_2 = "boSorteggio.uuid = ?"; - private static final String _FINDER_COLUMN_UUID_UUID_3 = "(boSorteggio.uuid IS NULL OR boSorteggio.uuid = '')"; - public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G = new FinderPath(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioModelImpl.FINDER_CACHE_ENABLED, BoSorteggioImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }, - BoSorteggioModelImpl.UUID_COLUMN_BITMASK | - BoSorteggioModelImpl.GROUPID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G = new FinderPath(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns the bo sorteggio where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoSorteggioException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio findByUUID_G(String uuid, long groupId) - throws NoSuchBoSorteggioException, SystemException { - BoSorteggio boSorteggio = fetchByUUID_G(uuid, groupId); - - if (boSorteggio == null) { - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoSorteggioException(msg.toString()); - } - - return boSorteggio; - } - - /** - * Returns the bo sorteggio where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio fetchByUUID_G(String uuid, long groupId) - throws SystemException { - return fetchByUUID_G(uuid, groupId, true); - } - - /** - * Returns the bo sorteggio where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio fetchByUUID_G(String uuid, long groupId, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { uuid, groupId }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, this); - } - - if (result instanceof BoSorteggio) { - BoSorteggio boSorteggio = (BoSorteggio)result; - - if (!Validator.equals(uuid, boSorteggio.getUuid()) || - (groupId != boSorteggio.getGroupId())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_SELECT_BOSORTEGGIO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, list); - } - else { - BoSorteggio boSorteggio = list.get(0); - - result = boSorteggio; - - cacheResult(boSorteggio); - - if ((boSorteggio.getUuid() == null) || - !boSorteggio.getUuid().equals(uuid) || - (boSorteggio.getGroupId() != groupId)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, boSorteggio); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoSorteggio)result; - } - } - - /** - * Removes the bo sorteggio where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo sorteggio that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio removeByUUID_G(String uuid, long groupId) - throws NoSuchBoSorteggioException, SystemException { - BoSorteggio boSorteggio = findByUUID_G(uuid, groupId); - - return remove(boSorteggio); - } - - /** - * Returns the number of bo sorteggios where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUUID_G(String uuid, long groupId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_G; - - Object[] finderArgs = new Object[] { uuid, groupId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOSORTEGGIO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_G_UUID_1 = "boSorteggio.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_2 = "boSorteggio.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_3 = "(boSorteggio.uuid IS NULL OR boSorteggio.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_G_GROUPID_2 = "boSorteggio.groupId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C = new FinderPath(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioModelImpl.FINDER_CACHE_ENABLED, BoSorteggioImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByUuid_C", - new String[] { - String.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C = - new FinderPath(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioModelImpl.FINDER_CACHE_ENABLED, BoSorteggioImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }, - BoSorteggioModelImpl.UUID_COLUMN_BITMASK | - BoSorteggioModelImpl.COMPANYID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C = new FinderPath(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns all the bo sorteggios where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId) - throws SystemException { - return findByUuid_C(uuid, companyId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo sorteggios where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, - int start, int end) throws SystemException { - return findByUuid_C(uuid, companyId, start, end, null); - } - - /** - * Returns an ordered range of all the bo sorteggios where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { uuid, companyId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { - uuid, companyId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoSorteggio boSorteggio : list) { - if (!Validator.equals(uuid, boSorteggio.getUuid()) || - (companyId != boSorteggio.getCompanyId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_BOSORTEGGIO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoSorteggioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo sorteggio in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio findByUuid_C_First(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchBoSorteggioException, SystemException { - BoSorteggio boSorteggio = fetchByUuid_C_First(uuid, companyId, - orderByComparator); - - if (boSorteggio != null) { - return boSorteggio; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSorteggioException(msg.toString()); - } - - /** - * Returns the first bo sorteggio in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio fetchByUuid_C_First(String uuid, long companyId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid_C(uuid, companyId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo sorteggio in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio findByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchBoSorteggioException, SystemException { - BoSorteggio boSorteggio = fetchByUuid_C_Last(uuid, companyId, - orderByComparator); - - if (boSorteggio != null) { - return boSorteggio; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSorteggioException(msg.toString()); - } - - /** - * Returns the last bo sorteggio in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio fetchByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid_C(uuid, companyId); - - if (count == 0) { - return null; - } - - List list = findByUuid_C(uuid, companyId, count - 1, - count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo sorteggios before and after the current bo sorteggio in the ordered set where uuid = ? and companyId = ?. - * - * @param sorteggioId the primary key of the current bo sorteggio - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio[] findByUuid_C_PrevAndNext(long sorteggioId, - String uuid, long companyId, OrderByComparator orderByComparator) - throws NoSuchBoSorteggioException, SystemException { - BoSorteggio boSorteggio = findByPrimaryKey(sorteggioId); - - Session session = null; - - try { - session = openSession(); - - BoSorteggio[] array = new BoSorteggioImpl[3]; - - array[0] = getByUuid_C_PrevAndNext(session, boSorteggio, uuid, - companyId, orderByComparator, true); - - array[1] = boSorteggio; - - array[2] = getByUuid_C_PrevAndNext(session, boSorteggio, uuid, - companyId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoSorteggio getByUuid_C_PrevAndNext(Session session, - BoSorteggio boSorteggio, String uuid, long companyId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSORTEGGIO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoSorteggioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boSorteggio); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo sorteggios where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid_C(String uuid, long companyId) - throws SystemException { - for (BoSorteggio boSorteggio : findByUuid_C(uuid, companyId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boSorteggio); - } - } - - /** - * Returns the number of bo sorteggios where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid_C(String uuid, long companyId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_C; - - Object[] finderArgs = new Object[] { uuid, companyId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOSORTEGGIO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_C_UUID_1 = "boSorteggio.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_2 = "boSorteggio.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_3 = "(boSorteggio.uuid IS NULL OR boSorteggio.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_C_COMPANYID_2 = "boSorteggio.companyId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_DETTPRATICA = - new FinderPath(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioModelImpl.FINDER_CACHE_ENABLED, BoSorteggioImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByC_DettPratica", - new String[] { - Long.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_DETTPRATICA = - new FinderPath(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioModelImpl.FINDER_CACHE_ENABLED, BoSorteggioImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByC_DettPratica", - new String[] { Long.class.getName(), Long.class.getName() }, - BoSorteggioModelImpl.COMPANYID_COLUMN_BITMASK | - BoSorteggioModelImpl.DETTPRATICAID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_C_DETTPRATICA = new FinderPath(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByC_DettPratica", - new String[] { Long.class.getName(), Long.class.getName() }); - - /** - * Returns all the bo sorteggios where companyId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @return the matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_DettPratica(long companyId, - long dettPraticaId) throws SystemException { - return findByC_DettPratica(companyId, dettPraticaId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo sorteggios where companyId = ? and dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_DettPratica(long companyId, - long dettPraticaId, int start, int end) throws SystemException { - return findByC_DettPratica(companyId, dettPraticaId, start, end, null); - } - - /** - * Returns an ordered range of all the bo sorteggios where companyId = ? and dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_DettPratica(long companyId, - long dettPraticaId, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_DETTPRATICA; - finderArgs = new Object[] { companyId, dettPraticaId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_C_DETTPRATICA; - finderArgs = new Object[] { - companyId, dettPraticaId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoSorteggio boSorteggio : list) { - if ((companyId != boSorteggio.getCompanyId()) || - (dettPraticaId != boSorteggio.getDettPraticaId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_BOSORTEGGIO_WHERE); - - query.append(_FINDER_COLUMN_C_DETTPRATICA_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_DETTPRATICA_DETTPRATICAID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoSorteggioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(dettPraticaId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo sorteggio in the ordered set where companyId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio findByC_DettPratica_First(long companyId, - long dettPraticaId, OrderByComparator orderByComparator) - throws NoSuchBoSorteggioException, SystemException { - BoSorteggio boSorteggio = fetchByC_DettPratica_First(companyId, - dettPraticaId, orderByComparator); - - if (boSorteggio != null) { - return boSorteggio; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSorteggioException(msg.toString()); - } - - /** - * Returns the first bo sorteggio in the ordered set where companyId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio fetchByC_DettPratica_First(long companyId, - long dettPraticaId, OrderByComparator orderByComparator) - throws SystemException { - List list = findByC_DettPratica(companyId, dettPraticaId, - 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo sorteggio in the ordered set where companyId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio findByC_DettPratica_Last(long companyId, - long dettPraticaId, OrderByComparator orderByComparator) - throws NoSuchBoSorteggioException, SystemException { - BoSorteggio boSorteggio = fetchByC_DettPratica_Last(companyId, - dettPraticaId, orderByComparator); - - if (boSorteggio != null) { - return boSorteggio; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSorteggioException(msg.toString()); - } - - /** - * Returns the last bo sorteggio in the ordered set where companyId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio fetchByC_DettPratica_Last(long companyId, - long dettPraticaId, OrderByComparator orderByComparator) - throws SystemException { - int count = countByC_DettPratica(companyId, dettPraticaId); - - if (count == 0) { - return null; - } - - List list = findByC_DettPratica(companyId, dettPraticaId, - count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo sorteggios before and after the current bo sorteggio in the ordered set where companyId = ? and dettPraticaId = ?. - * - * @param sorteggioId the primary key of the current bo sorteggio - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio[] findByC_DettPratica_PrevAndNext(long sorteggioId, - long companyId, long dettPraticaId, OrderByComparator orderByComparator) - throws NoSuchBoSorteggioException, SystemException { - BoSorteggio boSorteggio = findByPrimaryKey(sorteggioId); - - Session session = null; - - try { - session = openSession(); - - BoSorteggio[] array = new BoSorteggioImpl[3]; - - array[0] = getByC_DettPratica_PrevAndNext(session, boSorteggio, - companyId, dettPraticaId, orderByComparator, true); - - array[1] = boSorteggio; - - array[2] = getByC_DettPratica_PrevAndNext(session, boSorteggio, - companyId, dettPraticaId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoSorteggio getByC_DettPratica_PrevAndNext(Session session, - BoSorteggio boSorteggio, long companyId, long dettPraticaId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSORTEGGIO_WHERE); - - query.append(_FINDER_COLUMN_C_DETTPRATICA_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_DETTPRATICA_DETTPRATICAID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoSorteggioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(dettPraticaId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boSorteggio); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo sorteggios where companyId = ? and dettPraticaId = ? from the database. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByC_DettPratica(long companyId, long dettPraticaId) - throws SystemException { - for (BoSorteggio boSorteggio : findByC_DettPratica(companyId, - dettPraticaId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boSorteggio); - } - } - - /** - * Returns the number of bo sorteggios where companyId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_DettPratica(long companyId, long dettPraticaId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_C_DETTPRATICA; - - Object[] finderArgs = new Object[] { companyId, dettPraticaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOSORTEGGIO_WHERE); - - query.append(_FINDER_COLUMN_C_DETTPRATICA_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_DETTPRATICA_DETTPRATICAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(dettPraticaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_C_DETTPRATICA_COMPANYID_2 = "boSorteggio.companyId = ? AND "; - private static final String _FINDER_COLUMN_C_DETTPRATICA_DETTPRATICAID_2 = "boSorteggio.dettPraticaId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID_ANNO_MESE = - new FinderPath(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioModelImpl.FINDER_CACHE_ENABLED, BoSorteggioImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByGroupId_Anno_Mese", - new String[] { - Long.class.getName(), String.class.getName(), - String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID_ANNO_MESE = - new FinderPath(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioModelImpl.FINDER_CACHE_ENABLED, BoSorteggioImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByGroupId_Anno_Mese", - new String[] { - Long.class.getName(), String.class.getName(), - String.class.getName() - }, - BoSorteggioModelImpl.GROUPID_COLUMN_BITMASK | - BoSorteggioModelImpl.ANNO_COLUMN_BITMASK | - BoSorteggioModelImpl.MESE_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID_ANNO_MESE = new FinderPath(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByGroupId_Anno_Mese", - new String[] { - Long.class.getName(), String.class.getName(), - String.class.getName() - }); - - /** - * Returns all the bo sorteggios where groupId = ? and anno = ? and mese = ?. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @return the matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByGroupId_Anno_Mese(long groupId, String anno, - String mese) throws SystemException { - return findByGroupId_Anno_Mese(groupId, anno, mese, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo sorteggios where groupId = ? and anno = ? and mese = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByGroupId_Anno_Mese(long groupId, String anno, - String mese, int start, int end) throws SystemException { - return findByGroupId_Anno_Mese(groupId, anno, mese, start, end, null); - } - - /** - * Returns an ordered range of all the bo sorteggios where groupId = ? and anno = ? and mese = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByGroupId_Anno_Mese(long groupId, String anno, - String mese, int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID_ANNO_MESE; - finderArgs = new Object[] { groupId, anno, mese }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID_ANNO_MESE; - finderArgs = new Object[] { - groupId, anno, mese, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoSorteggio boSorteggio : list) { - if ((groupId != boSorteggio.getGroupId()) || - !Validator.equals(anno, boSorteggio.getAnno()) || - !Validator.equals(mese, boSorteggio.getMese())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(5 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(5); - } - - query.append(_SQL_SELECT_BOSORTEGGIO_WHERE); - - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_GROUPID_2); - - boolean bindAnno = false; - - if (anno == null) { - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_ANNO_1); - } - else if (anno.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_ANNO_3); - } - else { - bindAnno = true; - - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_ANNO_2); - } - - boolean bindMese = false; - - if (mese == null) { - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_MESE_1); - } - else if (mese.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_MESE_3); - } - else { - bindMese = true; - - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_MESE_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoSorteggioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(groupId); - - if (bindAnno) { - qPos.add(anno); - } - - if (bindMese) { - qPos.add(mese); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo sorteggio in the ordered set where groupId = ? and anno = ? and mese = ?. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio findByGroupId_Anno_Mese_First(long groupId, String anno, - String mese, OrderByComparator orderByComparator) - throws NoSuchBoSorteggioException, SystemException { - BoSorteggio boSorteggio = fetchByGroupId_Anno_Mese_First(groupId, anno, - mese, orderByComparator); - - if (boSorteggio != null) { - return boSorteggio; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("groupId="); - msg.append(groupId); - - msg.append(", anno="); - msg.append(anno); - - msg.append(", mese="); - msg.append(mese); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSorteggioException(msg.toString()); - } - - /** - * Returns the first bo sorteggio in the ordered set where groupId = ? and anno = ? and mese = ?. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio fetchByGroupId_Anno_Mese_First(long groupId, - String anno, String mese, OrderByComparator orderByComparator) - throws SystemException { - List list = findByGroupId_Anno_Mese(groupId, anno, mese, - 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo sorteggio in the ordered set where groupId = ? and anno = ? and mese = ?. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio findByGroupId_Anno_Mese_Last(long groupId, String anno, - String mese, OrderByComparator orderByComparator) - throws NoSuchBoSorteggioException, SystemException { - BoSorteggio boSorteggio = fetchByGroupId_Anno_Mese_Last(groupId, anno, - mese, orderByComparator); - - if (boSorteggio != null) { - return boSorteggio; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("groupId="); - msg.append(groupId); - - msg.append(", anno="); - msg.append(anno); - - msg.append(", mese="); - msg.append(mese); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSorteggioException(msg.toString()); - } - - /** - * Returns the last bo sorteggio in the ordered set where groupId = ? and anno = ? and mese = ?. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio fetchByGroupId_Anno_Mese_Last(long groupId, String anno, - String mese, OrderByComparator orderByComparator) - throws SystemException { - int count = countByGroupId_Anno_Mese(groupId, anno, mese); - - if (count == 0) { - return null; - } - - List list = findByGroupId_Anno_Mese(groupId, anno, mese, - count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo sorteggios before and after the current bo sorteggio in the ordered set where groupId = ? and anno = ? and mese = ?. - * - * @param sorteggioId the primary key of the current bo sorteggio - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio[] findByGroupId_Anno_Mese_PrevAndNext(long sorteggioId, - long groupId, String anno, String mese, - OrderByComparator orderByComparator) - throws NoSuchBoSorteggioException, SystemException { - BoSorteggio boSorteggio = findByPrimaryKey(sorteggioId); - - Session session = null; - - try { - session = openSession(); - - BoSorteggio[] array = new BoSorteggioImpl[3]; - - array[0] = getByGroupId_Anno_Mese_PrevAndNext(session, boSorteggio, - groupId, anno, mese, orderByComparator, true); - - array[1] = boSorteggio; - - array[2] = getByGroupId_Anno_Mese_PrevAndNext(session, boSorteggio, - groupId, anno, mese, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoSorteggio getByGroupId_Anno_Mese_PrevAndNext(Session session, - BoSorteggio boSorteggio, long groupId, String anno, String mese, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSORTEGGIO_WHERE); - - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_GROUPID_2); - - boolean bindAnno = false; - - if (anno == null) { - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_ANNO_1); - } - else if (anno.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_ANNO_3); - } - else { - bindAnno = true; - - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_ANNO_2); - } - - boolean bindMese = false; - - if (mese == null) { - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_MESE_1); - } - else if (mese.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_MESE_3); - } - else { - bindMese = true; - - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_MESE_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoSorteggioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(groupId); - - if (bindAnno) { - qPos.add(anno); - } - - if (bindMese) { - qPos.add(mese); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boSorteggio); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo sorteggios where groupId = ? and anno = ? and mese = ? from the database. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByGroupId_Anno_Mese(long groupId, String anno, String mese) - throws SystemException { - for (BoSorteggio boSorteggio : findByGroupId_Anno_Mese(groupId, anno, - mese, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boSorteggio); - } - } - - /** - * Returns the number of bo sorteggios where groupId = ? and anno = ? and mese = ?. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @return the number of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public int countByGroupId_Anno_Mese(long groupId, String anno, String mese) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_GROUPID_ANNO_MESE; - - Object[] finderArgs = new Object[] { groupId, anno, mese }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_COUNT_BOSORTEGGIO_WHERE); - - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_GROUPID_2); - - boolean bindAnno = false; - - if (anno == null) { - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_ANNO_1); - } - else if (anno.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_ANNO_3); - } - else { - bindAnno = true; - - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_ANNO_2); - } - - boolean bindMese = false; - - if (mese == null) { - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_MESE_1); - } - else if (mese.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_MESE_3); - } - else { - bindMese = true; - - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_MESE_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(groupId); - - if (bindAnno) { - qPos.add(anno); - } - - if (bindMese) { - qPos.add(mese); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_GROUPID_ANNO_MESE_GROUPID_2 = "boSorteggio.groupId = ? AND "; - private static final String _FINDER_COLUMN_GROUPID_ANNO_MESE_ANNO_1 = "boSorteggio.anno IS NULL AND "; - private static final String _FINDER_COLUMN_GROUPID_ANNO_MESE_ANNO_2 = "boSorteggio.anno = ? AND "; - private static final String _FINDER_COLUMN_GROUPID_ANNO_MESE_ANNO_3 = "(boSorteggio.anno IS NULL OR boSorteggio.anno = '') AND "; - private static final String _FINDER_COLUMN_GROUPID_ANNO_MESE_MESE_1 = "boSorteggio.mese IS NULL"; - private static final String _FINDER_COLUMN_GROUPID_ANNO_MESE_MESE_2 = "boSorteggio.mese = ?"; - private static final String _FINDER_COLUMN_GROUPID_ANNO_MESE_MESE_3 = "(boSorteggio.mese IS NULL OR boSorteggio.mese = '')"; - - public BoSorteggioPersistenceImpl() { - setModelClass(BoSorteggio.class); - } - - /** - * Caches the bo sorteggio in the entity cache if it is enabled. - * - * @param boSorteggio the bo sorteggio - */ - @Override - public void cacheResult(BoSorteggio boSorteggio) { - EntityCacheUtil.putResult(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioImpl.class, boSorteggio.getPrimaryKey(), boSorteggio); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - new Object[] { boSorteggio.getUuid(), boSorteggio.getGroupId() }, - boSorteggio); - - boSorteggio.resetOriginalValues(); - } - - /** - * Caches the bo sorteggios in the entity cache if it is enabled. - * - * @param boSorteggios the bo sorteggios - */ - @Override - public void cacheResult(List boSorteggios) { - for (BoSorteggio boSorteggio : boSorteggios) { - if (EntityCacheUtil.getResult( - BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioImpl.class, boSorteggio.getPrimaryKey()) == null) { - cacheResult(boSorteggio); - } - else { - boSorteggio.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all bo sorteggios. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(BoSorteggioImpl.class.getName()); - } - - EntityCacheUtil.clearCache(BoSorteggioImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the bo sorteggio. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(BoSorteggio boSorteggio) { - EntityCacheUtil.removeResult(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioImpl.class, boSorteggio.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(boSorteggio); - } - - @Override - public void clearCache(List boSorteggios) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (BoSorteggio boSorteggio : boSorteggios) { - EntityCacheUtil.removeResult(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioImpl.class, boSorteggio.getPrimaryKey()); - - clearUniqueFindersCache(boSorteggio); - } - } - - protected void cacheUniqueFindersCache(BoSorteggio boSorteggio) { - if (boSorteggio.isNew()) { - Object[] args = new Object[] { - boSorteggio.getUuid(), boSorteggio.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - boSorteggio); - } - else { - BoSorteggioModelImpl boSorteggioModelImpl = (BoSorteggioModelImpl)boSorteggio; - - if ((boSorteggioModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSorteggio.getUuid(), boSorteggio.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - boSorteggio); - } - } - } - - protected void clearUniqueFindersCache(BoSorteggio boSorteggio) { - BoSorteggioModelImpl boSorteggioModelImpl = (BoSorteggioModelImpl)boSorteggio; - - Object[] args = new Object[] { - boSorteggio.getUuid(), boSorteggio.getGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - - if ((boSorteggioModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - args = new Object[] { - boSorteggioModelImpl.getOriginalUuid(), - boSorteggioModelImpl.getOriginalGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - } - } - - /** - * Creates a new bo sorteggio with the primary key. Does not add the bo sorteggio to the database. - * - * @param sorteggioId the primary key for the new bo sorteggio - * @return the new bo sorteggio - */ - @Override - public BoSorteggio create(long sorteggioId) { - BoSorteggio boSorteggio = new BoSorteggioImpl(); - - boSorteggio.setNew(true); - boSorteggio.setPrimaryKey(sorteggioId); - - String uuid = PortalUUIDUtil.generate(); - - boSorteggio.setUuid(uuid); - - return boSorteggio; - } - - /** - * Removes the bo sorteggio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param sorteggioId the primary key of the bo sorteggio - * @return the bo sorteggio that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio remove(long sorteggioId) - throws NoSuchBoSorteggioException, SystemException { - return remove((Serializable)sorteggioId); - } - - /** - * Removes the bo sorteggio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the bo sorteggio - * @return the bo sorteggio that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio remove(Serializable primaryKey) - throws NoSuchBoSorteggioException, SystemException { - Session session = null; - - try { - session = openSession(); - - BoSorteggio boSorteggio = (BoSorteggio)session.get(BoSorteggioImpl.class, - primaryKey); - - if (boSorteggio == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoSorteggioException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(boSorteggio); - } - catch (NoSuchBoSorteggioException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected BoSorteggio removeImpl(BoSorteggio boSorteggio) - throws SystemException { - boSorteggio = toUnwrappedModel(boSorteggio); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(boSorteggio)) { - boSorteggio = (BoSorteggio)session.get(BoSorteggioImpl.class, - boSorteggio.getPrimaryKeyObj()); - } - - if (boSorteggio != null) { - session.delete(boSorteggio); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (boSorteggio != null) { - clearCache(boSorteggio); - } - - return boSorteggio; - } - - @Override - public BoSorteggio updateImpl( - it.tref.liferay.portos.importazione.model.BoSorteggio boSorteggio) - throws SystemException { - boSorteggio = toUnwrappedModel(boSorteggio); - - boolean isNew = boSorteggio.isNew(); - - BoSorteggioModelImpl boSorteggioModelImpl = (BoSorteggioModelImpl)boSorteggio; - - if (Validator.isNull(boSorteggio.getUuid())) { - String uuid = PortalUUIDUtil.generate(); - - boSorteggio.setUuid(uuid); - } - - Session session = null; - - try { - session = openSession(); - - if (boSorteggio.isNew()) { - session.save(boSorteggio); - - boSorteggio.setNew(false); - } - else { - session.merge(boSorteggio); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !BoSorteggioModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((boSorteggioModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSorteggioModelImpl.getOriginalUuid() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - - args = new Object[] { boSorteggioModelImpl.getUuid() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - } - - if ((boSorteggioModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSorteggioModelImpl.getOriginalUuid(), - boSorteggioModelImpl.getOriginalCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - - args = new Object[] { - boSorteggioModelImpl.getUuid(), - boSorteggioModelImpl.getCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - } - - if ((boSorteggioModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_DETTPRATICA.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSorteggioModelImpl.getOriginalCompanyId(), - boSorteggioModelImpl.getOriginalDettPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_DETTPRATICA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_DETTPRATICA, - args); - - args = new Object[] { - boSorteggioModelImpl.getCompanyId(), - boSorteggioModelImpl.getDettPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_DETTPRATICA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_DETTPRATICA, - args); - } - - if ((boSorteggioModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID_ANNO_MESE.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSorteggioModelImpl.getOriginalGroupId(), - boSorteggioModelImpl.getOriginalAnno(), - boSorteggioModelImpl.getOriginalMese() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_GROUPID_ANNO_MESE, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID_ANNO_MESE, - args); - - args = new Object[] { - boSorteggioModelImpl.getGroupId(), - boSorteggioModelImpl.getAnno(), - boSorteggioModelImpl.getMese() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_GROUPID_ANNO_MESE, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID_ANNO_MESE, - args); - } - } - - EntityCacheUtil.putResult(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioImpl.class, boSorteggio.getPrimaryKey(), boSorteggio); - - clearUniqueFindersCache(boSorteggio); - cacheUniqueFindersCache(boSorteggio); - - return boSorteggio; - } - - protected BoSorteggio toUnwrappedModel(BoSorteggio boSorteggio) { - if (boSorteggio instanceof BoSorteggioImpl) { - return boSorteggio; - } - - BoSorteggioImpl boSorteggioImpl = new BoSorteggioImpl(); - - boSorteggioImpl.setNew(boSorteggio.isNew()); - boSorteggioImpl.setPrimaryKey(boSorteggio.getPrimaryKey()); - - boSorteggioImpl.setUuid(boSorteggio.getUuid()); - boSorteggioImpl.setSorteggioId(boSorteggio.getSorteggioId()); - boSorteggioImpl.setCompanyId(boSorteggio.getCompanyId()); - boSorteggioImpl.setUserId(boSorteggio.getUserId()); - boSorteggioImpl.setUserName(boSorteggio.getUserName()); - boSorteggioImpl.setCreateDate(boSorteggio.getCreateDate()); - boSorteggioImpl.setModifiedDate(boSorteggio.getModifiedDate()); - boSorteggioImpl.setGroupId(boSorteggio.getGroupId()); - boSorteggioImpl.setStatus(boSorteggio.getStatus()); - boSorteggioImpl.setStatusByUserId(boSorteggio.getStatusByUserId()); - boSorteggioImpl.setStatusByUserName(boSorteggio.getStatusByUserName()); - boSorteggioImpl.setStatusDate(boSorteggio.getStatusDate()); - boSorteggioImpl.setDettPraticaId(boSorteggio.getDettPraticaId()); - boSorteggioImpl.setNote(boSorteggio.getNote()); - boSorteggioImpl.setAnno(boSorteggio.getAnno()); - boSorteggioImpl.setMese(boSorteggio.getMese()); - boSorteggioImpl.setDtSorteggio(boSorteggio.getDtSorteggio()); - boSorteggioImpl.setStato(boSorteggio.getStato()); - boSorteggioImpl.setDettagli(boSorteggio.getDettagli()); - boSorteggioImpl.setNumeroEstrazione(boSorteggio.getNumeroEstrazione()); - boSorteggioImpl.setPratica(boSorteggio.getPratica()); - boSorteggioImpl.setCommittente(boSorteggio.getCommittente()); - boSorteggioImpl.setComune(boSorteggio.getComune()); - boSorteggioImpl.setProvincia(boSorteggio.getProvincia()); - boSorteggioImpl.setTecnico(boSorteggio.getTecnico()); - boSorteggioImpl.setMesePrecedente(boSorteggio.getMesePrecedente()); - boSorteggioImpl.setEsterna(boSorteggio.isEsterna()); - boSorteggioImpl.setPraticaEsternaId(boSorteggio.getPraticaEsternaId()); - - return boSorteggioImpl; - } - - /** - * Returns the bo sorteggio with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the bo sorteggio - * @return the bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio findByPrimaryKey(Serializable primaryKey) - throws NoSuchBoSorteggioException, SystemException { - BoSorteggio boSorteggio = fetchByPrimaryKey(primaryKey); - - if (boSorteggio == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoSorteggioException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return boSorteggio; - } - - /** - * Returns the bo sorteggio with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoSorteggioException} if it could not be found. - * - * @param sorteggioId the primary key of the bo sorteggio - * @return the bo sorteggio - * @throws it.tref.liferay.portos.importazione.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio findByPrimaryKey(long sorteggioId) - throws NoSuchBoSorteggioException, SystemException { - return findByPrimaryKey((Serializable)sorteggioId); - } - - /** - * Returns the bo sorteggio with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the bo sorteggio - * @return the bo sorteggio, or null if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - BoSorteggio boSorteggio = (BoSorteggio)EntityCacheUtil.getResult(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioImpl.class, primaryKey); - - if (boSorteggio == _nullBoSorteggio) { - return null; - } - - if (boSorteggio == null) { - Session session = null; - - try { - session = openSession(); - - boSorteggio = (BoSorteggio)session.get(BoSorteggioImpl.class, - primaryKey); - - if (boSorteggio != null) { - cacheResult(boSorteggio); - } - else { - EntityCacheUtil.putResult(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioImpl.class, primaryKey, _nullBoSorteggio); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return boSorteggio; - } - - /** - * Returns the bo sorteggio with the primary key or returns null if it could not be found. - * - * @param sorteggioId the primary key of the bo sorteggio - * @return the bo sorteggio, or null if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio fetchByPrimaryKey(long sorteggioId) - throws SystemException { - return fetchByPrimaryKey((Serializable)sorteggioId); - } - - /** - * Returns all the bo sorteggios. - * - * @return the bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo sorteggios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the bo sorteggios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_BOSORTEGGIO); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_BOSORTEGGIO; - - if (pagination) { - sql = sql.concat(BoSorteggioModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the bo sorteggios from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (BoSorteggio boSorteggio : findAll()) { - remove(boSorteggio); - } - } - - /** - * Returns the number of bo sorteggios. - * - * @return the number of bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_BOSORTEGGIO); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - @Override - protected Set getBadColumnNames() { - return _badColumnNames; - } - - /** - * Initializes the bo sorteggio persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.importazione.model.BoSorteggio"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(BoSorteggioImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_BOSORTEGGIO = "SELECT boSorteggio FROM BoSorteggio boSorteggio"; - private static final String _SQL_SELECT_BOSORTEGGIO_WHERE = "SELECT boSorteggio FROM BoSorteggio boSorteggio WHERE "; - private static final String _SQL_COUNT_BOSORTEGGIO = "SELECT COUNT(boSorteggio) FROM BoSorteggio boSorteggio"; - private static final String _SQL_COUNT_BOSORTEGGIO_WHERE = "SELECT COUNT(boSorteggio) FROM BoSorteggio boSorteggio WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "boSorteggio."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No BoSorteggio exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No BoSorteggio exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(BoSorteggioPersistenceImpl.class); - private static Set _badColumnNames = SetUtil.fromArray(new String[] { - "uuid" - }); - private static BoSorteggio _nullBoSorteggio = new BoSorteggioImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullBoSorteggioCacheModel; - } - }; - - private static CacheModel _nullBoSorteggioCacheModel = new CacheModel() { - @Override - public BoSorteggio toEntityModel() { - return _nullBoSorteggio; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoStoricoSoggettoPraticaPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoStoricoSoggettoPraticaPersistenceImpl.java deleted file mode 100644 index 3f799393..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoStoricoSoggettoPraticaPersistenceImpl.java +++ /dev/null @@ -1,1254 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.importazione.NoSuchBoStoricoSoggettoPraticaException; -import it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica; -import it.tref.liferay.portos.importazione.model.impl.BoStoricoSoggettoPraticaImpl; -import it.tref.liferay.portos.importazione.model.impl.BoStoricoSoggettoPraticaModelImpl; -import it.tref.liferay.portos.importazione.service.persistence.BoStoricoSoggettoPraticaPersistence; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -/** - * The persistence implementation for the bo storico soggetto pratica service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoStoricoSoggettoPraticaPersistence - * @see BoStoricoSoggettoPraticaUtil - * @generated - */ -public class BoStoricoSoggettoPraticaPersistenceImpl extends BasePersistenceImpl - implements BoStoricoSoggettoPraticaPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link BoStoricoSoggettoPraticaUtil} to access the bo storico soggetto pratica persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = BoStoricoSoggettoPraticaImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(BoStoricoSoggettoPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoStoricoSoggettoPraticaModelImpl.FINDER_CACHE_ENABLED, - BoStoricoSoggettoPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(BoStoricoSoggettoPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoStoricoSoggettoPraticaModelImpl.FINDER_CACHE_ENABLED, - BoStoricoSoggettoPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(BoStoricoSoggettoPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoStoricoSoggettoPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_INTPRATICA = - new FinderPath(BoStoricoSoggettoPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoStoricoSoggettoPraticaModelImpl.FINDER_CACHE_ENABLED, - BoStoricoSoggettoPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByC_IntPratica", - new String[] { - Long.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_INTPRATICA = - new FinderPath(BoStoricoSoggettoPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoStoricoSoggettoPraticaModelImpl.FINDER_CACHE_ENABLED, - BoStoricoSoggettoPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByC_IntPratica", - new String[] { Long.class.getName(), Long.class.getName() }, - BoStoricoSoggettoPraticaModelImpl.COMPANYID_COLUMN_BITMASK | - BoStoricoSoggettoPraticaModelImpl.INTPRATICAID_COLUMN_BITMASK | - BoStoricoSoggettoPraticaModelImpl.CREATEDATE_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_C_INTPRATICA = new FinderPath(BoStoricoSoggettoPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoStoricoSoggettoPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByC_IntPratica", - new String[] { Long.class.getName(), Long.class.getName() }); - - /** - * Returns all the bo storico soggetto praticas where companyId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @return the matching bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_IntPratica(long companyId, - long intPraticaId) throws SystemException { - return findByC_IntPratica(companyId, intPraticaId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo storico soggetto praticas where companyId = ? and intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo storico soggetto praticas - * @param end the upper bound of the range of bo storico soggetto praticas (not inclusive) - * @return the range of matching bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_IntPratica(long companyId, - long intPraticaId, int start, int end) throws SystemException { - return findByC_IntPratica(companyId, intPraticaId, start, end, null); - } - - /** - * Returns an ordered range of all the bo storico soggetto praticas where companyId = ? and intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo storico soggetto praticas - * @param end the upper bound of the range of bo storico soggetto praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_IntPratica(long companyId, - long intPraticaId, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_INTPRATICA; - finderArgs = new Object[] { companyId, intPraticaId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_C_INTPRATICA; - finderArgs = new Object[] { - companyId, intPraticaId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoStoricoSoggettoPratica boStoricoSoggettoPratica : list) { - if ((companyId != boStoricoSoggettoPratica.getCompanyId()) || - (intPraticaId != boStoricoSoggettoPratica.getIntPraticaId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_BOSTORICOSOGGETTOPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_INTPRATICA_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_INTPRATICA_INTPRATICAID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoStoricoSoggettoPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(intPraticaId); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo storico soggetto pratica in the ordered set where companyId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo storico soggetto pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoStoricoSoggettoPraticaException if a matching bo storico soggetto pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoStoricoSoggettoPratica findByC_IntPratica_First(long companyId, - long intPraticaId, OrderByComparator orderByComparator) - throws NoSuchBoStoricoSoggettoPraticaException, SystemException { - BoStoricoSoggettoPratica boStoricoSoggettoPratica = fetchByC_IntPratica_First(companyId, - intPraticaId, orderByComparator); - - if (boStoricoSoggettoPratica != null) { - return boStoricoSoggettoPratica; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", intPraticaId="); - msg.append(intPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoStoricoSoggettoPraticaException(msg.toString()); - } - - /** - * Returns the first bo storico soggetto pratica in the ordered set where companyId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo storico soggetto pratica, or null if a matching bo storico soggetto pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoStoricoSoggettoPratica fetchByC_IntPratica_First(long companyId, - long intPraticaId, OrderByComparator orderByComparator) - throws SystemException { - List list = findByC_IntPratica(companyId, - intPraticaId, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo storico soggetto pratica in the ordered set where companyId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo storico soggetto pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoStoricoSoggettoPraticaException if a matching bo storico soggetto pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoStoricoSoggettoPratica findByC_IntPratica_Last(long companyId, - long intPraticaId, OrderByComparator orderByComparator) - throws NoSuchBoStoricoSoggettoPraticaException, SystemException { - BoStoricoSoggettoPratica boStoricoSoggettoPratica = fetchByC_IntPratica_Last(companyId, - intPraticaId, orderByComparator); - - if (boStoricoSoggettoPratica != null) { - return boStoricoSoggettoPratica; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", intPraticaId="); - msg.append(intPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoStoricoSoggettoPraticaException(msg.toString()); - } - - /** - * Returns the last bo storico soggetto pratica in the ordered set where companyId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo storico soggetto pratica, or null if a matching bo storico soggetto pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoStoricoSoggettoPratica fetchByC_IntPratica_Last(long companyId, - long intPraticaId, OrderByComparator orderByComparator) - throws SystemException { - int count = countByC_IntPratica(companyId, intPraticaId); - - if (count == 0) { - return null; - } - - List list = findByC_IntPratica(companyId, - intPraticaId, count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo storico soggetto praticas before and after the current bo storico soggetto pratica in the ordered set where companyId = ? and intPraticaId = ?. - * - * @param storicoSoggettoPraticaId the primary key of the current bo storico soggetto pratica - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo storico soggetto pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoStoricoSoggettoPraticaException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoStoricoSoggettoPratica[] findByC_IntPratica_PrevAndNext( - long storicoSoggettoPraticaId, long companyId, long intPraticaId, - OrderByComparator orderByComparator) - throws NoSuchBoStoricoSoggettoPraticaException, SystemException { - BoStoricoSoggettoPratica boStoricoSoggettoPratica = findByPrimaryKey(storicoSoggettoPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoStoricoSoggettoPratica[] array = new BoStoricoSoggettoPraticaImpl[3]; - - array[0] = getByC_IntPratica_PrevAndNext(session, - boStoricoSoggettoPratica, companyId, intPraticaId, - orderByComparator, true); - - array[1] = boStoricoSoggettoPratica; - - array[2] = getByC_IntPratica_PrevAndNext(session, - boStoricoSoggettoPratica, companyId, intPraticaId, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoStoricoSoggettoPratica getByC_IntPratica_PrevAndNext( - Session session, BoStoricoSoggettoPratica boStoricoSoggettoPratica, - long companyId, long intPraticaId, OrderByComparator orderByComparator, - boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSTORICOSOGGETTOPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_INTPRATICA_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_INTPRATICA_INTPRATICAID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoStoricoSoggettoPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(intPraticaId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boStoricoSoggettoPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo storico soggetto praticas where companyId = ? and intPraticaId = ? from the database. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByC_IntPratica(long companyId, long intPraticaId) - throws SystemException { - for (BoStoricoSoggettoPratica boStoricoSoggettoPratica : findByC_IntPratica( - companyId, intPraticaId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, - null)) { - remove(boStoricoSoggettoPratica); - } - } - - /** - * Returns the number of bo storico soggetto praticas where companyId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @return the number of matching bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_IntPratica(long companyId, long intPraticaId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_C_INTPRATICA; - - Object[] finderArgs = new Object[] { companyId, intPraticaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOSTORICOSOGGETTOPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_INTPRATICA_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_INTPRATICA_INTPRATICAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(intPraticaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_C_INTPRATICA_COMPANYID_2 = "boStoricoSoggettoPratica.companyId = ? AND "; - private static final String _FINDER_COLUMN_C_INTPRATICA_INTPRATICAID_2 = "boStoricoSoggettoPratica.intPraticaId = ?"; - - public BoStoricoSoggettoPraticaPersistenceImpl() { - setModelClass(BoStoricoSoggettoPratica.class); - } - - /** - * Caches the bo storico soggetto pratica in the entity cache if it is enabled. - * - * @param boStoricoSoggettoPratica the bo storico soggetto pratica - */ - @Override - public void cacheResult(BoStoricoSoggettoPratica boStoricoSoggettoPratica) { - EntityCacheUtil.putResult(BoStoricoSoggettoPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoStoricoSoggettoPraticaImpl.class, - boStoricoSoggettoPratica.getPrimaryKey(), boStoricoSoggettoPratica); - - boStoricoSoggettoPratica.resetOriginalValues(); - } - - /** - * Caches the bo storico soggetto praticas in the entity cache if it is enabled. - * - * @param boStoricoSoggettoPraticas the bo storico soggetto praticas - */ - @Override - public void cacheResult( - List boStoricoSoggettoPraticas) { - for (BoStoricoSoggettoPratica boStoricoSoggettoPratica : boStoricoSoggettoPraticas) { - if (EntityCacheUtil.getResult( - BoStoricoSoggettoPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoStoricoSoggettoPraticaImpl.class, - boStoricoSoggettoPratica.getPrimaryKey()) == null) { - cacheResult(boStoricoSoggettoPratica); - } - else { - boStoricoSoggettoPratica.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all bo storico soggetto praticas. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(BoStoricoSoggettoPraticaImpl.class.getName()); - } - - EntityCacheUtil.clearCache(BoStoricoSoggettoPraticaImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the bo storico soggetto pratica. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(BoStoricoSoggettoPratica boStoricoSoggettoPratica) { - EntityCacheUtil.removeResult(BoStoricoSoggettoPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoStoricoSoggettoPraticaImpl.class, - boStoricoSoggettoPratica.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - @Override - public void clearCache( - List boStoricoSoggettoPraticas) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (BoStoricoSoggettoPratica boStoricoSoggettoPratica : boStoricoSoggettoPraticas) { - EntityCacheUtil.removeResult(BoStoricoSoggettoPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoStoricoSoggettoPraticaImpl.class, - boStoricoSoggettoPratica.getPrimaryKey()); - } - } - - /** - * Creates a new bo storico soggetto pratica with the primary key. Does not add the bo storico soggetto pratica to the database. - * - * @param storicoSoggettoPraticaId the primary key for the new bo storico soggetto pratica - * @return the new bo storico soggetto pratica - */ - @Override - public BoStoricoSoggettoPratica create(long storicoSoggettoPraticaId) { - BoStoricoSoggettoPratica boStoricoSoggettoPratica = new BoStoricoSoggettoPraticaImpl(); - - boStoricoSoggettoPratica.setNew(true); - boStoricoSoggettoPratica.setPrimaryKey(storicoSoggettoPraticaId); - - return boStoricoSoggettoPratica; - } - - /** - * Removes the bo storico soggetto pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param storicoSoggettoPraticaId the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoStoricoSoggettoPraticaException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoStoricoSoggettoPratica remove(long storicoSoggettoPraticaId) - throws NoSuchBoStoricoSoggettoPraticaException, SystemException { - return remove((Serializable)storicoSoggettoPraticaId); - } - - /** - * Removes the bo storico soggetto pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoStoricoSoggettoPraticaException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoStoricoSoggettoPratica remove(Serializable primaryKey) - throws NoSuchBoStoricoSoggettoPraticaException, SystemException { - Session session = null; - - try { - session = openSession(); - - BoStoricoSoggettoPratica boStoricoSoggettoPratica = (BoStoricoSoggettoPratica)session.get(BoStoricoSoggettoPraticaImpl.class, - primaryKey); - - if (boStoricoSoggettoPratica == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoStoricoSoggettoPraticaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(boStoricoSoggettoPratica); - } - catch (NoSuchBoStoricoSoggettoPraticaException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected BoStoricoSoggettoPratica removeImpl( - BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws SystemException { - boStoricoSoggettoPratica = toUnwrappedModel(boStoricoSoggettoPratica); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(boStoricoSoggettoPratica)) { - boStoricoSoggettoPratica = (BoStoricoSoggettoPratica)session.get(BoStoricoSoggettoPraticaImpl.class, - boStoricoSoggettoPratica.getPrimaryKeyObj()); - } - - if (boStoricoSoggettoPratica != null) { - session.delete(boStoricoSoggettoPratica); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (boStoricoSoggettoPratica != null) { - clearCache(boStoricoSoggettoPratica); - } - - return boStoricoSoggettoPratica; - } - - @Override - public BoStoricoSoggettoPratica updateImpl( - it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws SystemException { - boStoricoSoggettoPratica = toUnwrappedModel(boStoricoSoggettoPratica); - - boolean isNew = boStoricoSoggettoPratica.isNew(); - - BoStoricoSoggettoPraticaModelImpl boStoricoSoggettoPraticaModelImpl = (BoStoricoSoggettoPraticaModelImpl)boStoricoSoggettoPratica; - - Session session = null; - - try { - session = openSession(); - - if (boStoricoSoggettoPratica.isNew()) { - session.save(boStoricoSoggettoPratica); - - boStoricoSoggettoPratica.setNew(false); - } - else { - session.merge(boStoricoSoggettoPratica); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !BoStoricoSoggettoPraticaModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((boStoricoSoggettoPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_INTPRATICA.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boStoricoSoggettoPraticaModelImpl.getOriginalCompanyId(), - boStoricoSoggettoPraticaModelImpl.getOriginalIntPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_INTPRATICA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_INTPRATICA, - args); - - args = new Object[] { - boStoricoSoggettoPraticaModelImpl.getCompanyId(), - boStoricoSoggettoPraticaModelImpl.getIntPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_INTPRATICA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_INTPRATICA, - args); - } - } - - EntityCacheUtil.putResult(BoStoricoSoggettoPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoStoricoSoggettoPraticaImpl.class, - boStoricoSoggettoPratica.getPrimaryKey(), boStoricoSoggettoPratica); - - return boStoricoSoggettoPratica; - } - - protected BoStoricoSoggettoPratica toUnwrappedModel( - BoStoricoSoggettoPratica boStoricoSoggettoPratica) { - if (boStoricoSoggettoPratica instanceof BoStoricoSoggettoPraticaImpl) { - return boStoricoSoggettoPratica; - } - - BoStoricoSoggettoPraticaImpl boStoricoSoggettoPraticaImpl = new BoStoricoSoggettoPraticaImpl(); - - boStoricoSoggettoPraticaImpl.setNew(boStoricoSoggettoPratica.isNew()); - boStoricoSoggettoPraticaImpl.setPrimaryKey(boStoricoSoggettoPratica.getPrimaryKey()); - - boStoricoSoggettoPraticaImpl.setStoricoSoggettoPraticaId(boStoricoSoggettoPratica.getStoricoSoggettoPraticaId()); - boStoricoSoggettoPraticaImpl.setCompanyId(boStoricoSoggettoPratica.getCompanyId()); - boStoricoSoggettoPraticaImpl.setUserId(boStoricoSoggettoPratica.getUserId()); - boStoricoSoggettoPraticaImpl.setUserName(boStoricoSoggettoPratica.getUserName()); - boStoricoSoggettoPraticaImpl.setCreateDate(boStoricoSoggettoPratica.getCreateDate()); - boStoricoSoggettoPraticaImpl.setModifiedDate(boStoricoSoggettoPratica.getModifiedDate()); - boStoricoSoggettoPraticaImpl.setGroupId(boStoricoSoggettoPratica.getGroupId()); - boStoricoSoggettoPraticaImpl.setIntPraticaId(boStoricoSoggettoPratica.getIntPraticaId()); - boStoricoSoggettoPraticaImpl.setNome(boStoricoSoggettoPratica.getNome()); - boStoricoSoggettoPraticaImpl.setCognome(boStoricoSoggettoPratica.getCognome()); - boStoricoSoggettoPraticaImpl.setCodiceFiscale(boStoricoSoggettoPratica.getCodiceFiscale()); - - return boStoricoSoggettoPraticaImpl; - } - - /** - * Returns the bo storico soggetto pratica with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoStoricoSoggettoPraticaException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoStoricoSoggettoPratica findByPrimaryKey(Serializable primaryKey) - throws NoSuchBoStoricoSoggettoPraticaException, SystemException { - BoStoricoSoggettoPratica boStoricoSoggettoPratica = fetchByPrimaryKey(primaryKey); - - if (boStoricoSoggettoPratica == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoStoricoSoggettoPraticaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return boStoricoSoggettoPratica; - } - - /** - * Returns the bo storico soggetto pratica with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoStoricoSoggettoPraticaException} if it could not be found. - * - * @param storicoSoggettoPraticaId the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica - * @throws it.tref.liferay.portos.importazione.NoSuchBoStoricoSoggettoPraticaException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoStoricoSoggettoPratica findByPrimaryKey( - long storicoSoggettoPraticaId) - throws NoSuchBoStoricoSoggettoPraticaException, SystemException { - return findByPrimaryKey((Serializable)storicoSoggettoPraticaId); - } - - /** - * Returns the bo storico soggetto pratica with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica, or null if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoStoricoSoggettoPratica fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - BoStoricoSoggettoPratica boStoricoSoggettoPratica = (BoStoricoSoggettoPratica)EntityCacheUtil.getResult(BoStoricoSoggettoPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoStoricoSoggettoPraticaImpl.class, primaryKey); - - if (boStoricoSoggettoPratica == _nullBoStoricoSoggettoPratica) { - return null; - } - - if (boStoricoSoggettoPratica == null) { - Session session = null; - - try { - session = openSession(); - - boStoricoSoggettoPratica = (BoStoricoSoggettoPratica)session.get(BoStoricoSoggettoPraticaImpl.class, - primaryKey); - - if (boStoricoSoggettoPratica != null) { - cacheResult(boStoricoSoggettoPratica); - } - else { - EntityCacheUtil.putResult(BoStoricoSoggettoPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoStoricoSoggettoPraticaImpl.class, primaryKey, - _nullBoStoricoSoggettoPratica); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(BoStoricoSoggettoPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoStoricoSoggettoPraticaImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return boStoricoSoggettoPratica; - } - - /** - * Returns the bo storico soggetto pratica with the primary key or returns null if it could not be found. - * - * @param storicoSoggettoPraticaId the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica, or null if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoStoricoSoggettoPratica fetchByPrimaryKey( - long storicoSoggettoPraticaId) throws SystemException { - return fetchByPrimaryKey((Serializable)storicoSoggettoPraticaId); - } - - /** - * Returns all the bo storico soggetto praticas. - * - * @return the bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo storico soggetto praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo storico soggetto praticas - * @param end the upper bound of the range of bo storico soggetto praticas (not inclusive) - * @return the range of bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the bo storico soggetto praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo storico soggetto praticas - * @param end the upper bound of the range of bo storico soggetto praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_BOSTORICOSOGGETTOPRATICA); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_BOSTORICOSOGGETTOPRATICA; - - if (pagination) { - sql = sql.concat(BoStoricoSoggettoPraticaModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the bo storico soggetto praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (BoStoricoSoggettoPratica boStoricoSoggettoPratica : findAll()) { - remove(boStoricoSoggettoPratica); - } - } - - /** - * Returns the number of bo storico soggetto praticas. - * - * @return the number of bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_BOSTORICOSOGGETTOPRATICA); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - /** - * Initializes the bo storico soggetto pratica persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(BoStoricoSoggettoPraticaImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_BOSTORICOSOGGETTOPRATICA = "SELECT boStoricoSoggettoPratica FROM BoStoricoSoggettoPratica boStoricoSoggettoPratica"; - private static final String _SQL_SELECT_BOSTORICOSOGGETTOPRATICA_WHERE = "SELECT boStoricoSoggettoPratica FROM BoStoricoSoggettoPratica boStoricoSoggettoPratica WHERE "; - private static final String _SQL_COUNT_BOSTORICOSOGGETTOPRATICA = "SELECT COUNT(boStoricoSoggettoPratica) FROM BoStoricoSoggettoPratica boStoricoSoggettoPratica"; - private static final String _SQL_COUNT_BOSTORICOSOGGETTOPRATICA_WHERE = "SELECT COUNT(boStoricoSoggettoPratica) FROM BoStoricoSoggettoPratica boStoricoSoggettoPratica WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "boStoricoSoggettoPratica."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No BoStoricoSoggettoPratica exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No BoStoricoSoggettoPratica exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(BoStoricoSoggettoPraticaPersistenceImpl.class); - private static BoStoricoSoggettoPratica _nullBoStoricoSoggettoPratica = new BoStoricoSoggettoPraticaImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullBoStoricoSoggettoPraticaCacheModel; - } - }; - - private static CacheModel _nullBoStoricoSoggettoPraticaCacheModel = - new CacheModel() { - @Override - public BoStoricoSoggettoPratica toEntityModel() { - return _nullBoStoricoSoggettoPratica; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoTempisticaPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoTempisticaPersistenceImpl.java deleted file mode 100644 index eaf28220..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoTempisticaPersistenceImpl.java +++ /dev/null @@ -1,2865 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.SetUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.kernel.uuid.PortalUUIDUtil; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.importazione.NoSuchBoTempisticaException; -import it.tref.liferay.portos.importazione.model.BoTempistica; -import it.tref.liferay.portos.importazione.model.impl.BoTempisticaImpl; -import it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl; -import it.tref.liferay.portos.importazione.service.persistence.BoTempisticaPersistence; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Set; - -/** - * The persistence implementation for the bo tempistica service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoTempisticaPersistence - * @see BoTempisticaUtil - * @generated - */ -public class BoTempisticaPersistenceImpl extends BasePersistenceImpl - implements BoTempisticaPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link BoTempisticaUtil} to access the bo tempistica persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = BoTempisticaImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaModelImpl.FINDER_CACHE_ENABLED, BoTempisticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaModelImpl.FINDER_CACHE_ENABLED, BoTempisticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID = new FinderPath(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaModelImpl.FINDER_CACHE_ENABLED, BoTempisticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByUuid", - new String[] { - String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID = new FinderPath(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaModelImpl.FINDER_CACHE_ENABLED, BoTempisticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByUuid", - new String[] { String.class.getName() }, - BoTempisticaModelImpl.UUID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID = new FinderPath(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid", - new String[] { String.class.getName() }); - - /** - * Returns all the bo tempisticas where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid) throws SystemException { - return findByUuid(uuid, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo tempisticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @return the range of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end) - throws SystemException { - return findByUuid(uuid, start, end, null); - } - - /** - * Returns an ordered range of all the bo tempisticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoTempistica boTempistica : list) { - if (!Validator.equals(uuid, boTempistica.getUuid())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOTEMPISTICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoTempisticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo tempistica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo tempistica - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica findByUuid_First(String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoTempisticaException, SystemException { - BoTempistica boTempistica = fetchByUuid_First(uuid, orderByComparator); - - if (boTempistica != null) { - return boTempistica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoTempisticaException(msg.toString()); - } - - /** - * Returns the first bo tempistica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica fetchByUuid_First(String uuid, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid(uuid, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo tempistica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo tempistica - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica findByUuid_Last(String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoTempisticaException, SystemException { - BoTempistica boTempistica = fetchByUuid_Last(uuid, orderByComparator); - - if (boTempistica != null) { - return boTempistica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoTempisticaException(msg.toString()); - } - - /** - * Returns the last bo tempistica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica fetchByUuid_Last(String uuid, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid(uuid); - - if (count == 0) { - return null; - } - - List list = findByUuid(uuid, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo tempisticas before and after the current bo tempistica in the ordered set where uuid = ?. - * - * @param tempisticaId the primary key of the current bo tempistica - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo tempistica - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica[] findByUuid_PrevAndNext(long tempisticaId, - String uuid, OrderByComparator orderByComparator) - throws NoSuchBoTempisticaException, SystemException { - BoTempistica boTempistica = findByPrimaryKey(tempisticaId); - - Session session = null; - - try { - session = openSession(); - - BoTempistica[] array = new BoTempisticaImpl[3]; - - array[0] = getByUuid_PrevAndNext(session, boTempistica, uuid, - orderByComparator, true); - - array[1] = boTempistica; - - array[2] = getByUuid_PrevAndNext(session, boTempistica, uuid, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoTempistica getByUuid_PrevAndNext(Session session, - BoTempistica boTempistica, String uuid, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOTEMPISTICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoTempisticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boTempistica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo tempisticas where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid(String uuid) throws SystemException { - for (BoTempistica boTempistica : findByUuid(uuid, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(boTempistica); - } - } - - /** - * Returns the number of bo tempisticas where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid(String uuid) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID; - - Object[] finderArgs = new Object[] { uuid }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BOTEMPISTICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_UUID_1 = "boTempistica.uuid IS NULL"; - private static final String _FINDER_COLUMN_UUID_UUID_2 = "boTempistica.uuid = ?"; - private static final String _FINDER_COLUMN_UUID_UUID_3 = "(boTempistica.uuid IS NULL OR boTempistica.uuid = '')"; - public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G = new FinderPath(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaModelImpl.FINDER_CACHE_ENABLED, BoTempisticaImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }, - BoTempisticaModelImpl.UUID_COLUMN_BITMASK | - BoTempisticaModelImpl.GROUPID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G = new FinderPath(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns the bo tempistica where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoTempisticaException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo tempistica - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica findByUUID_G(String uuid, long groupId) - throws NoSuchBoTempisticaException, SystemException { - BoTempistica boTempistica = fetchByUUID_G(uuid, groupId); - - if (boTempistica == null) { - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoTempisticaException(msg.toString()); - } - - return boTempistica; - } - - /** - * Returns the bo tempistica where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica fetchByUUID_G(String uuid, long groupId) - throws SystemException { - return fetchByUUID_G(uuid, groupId, true); - } - - /** - * Returns the bo tempistica where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica fetchByUUID_G(String uuid, long groupId, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { uuid, groupId }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, this); - } - - if (result instanceof BoTempistica) { - BoTempistica boTempistica = (BoTempistica)result; - - if (!Validator.equals(uuid, boTempistica.getUuid()) || - (groupId != boTempistica.getGroupId())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_SELECT_BOTEMPISTICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, list); - } - else { - BoTempistica boTempistica = list.get(0); - - result = boTempistica; - - cacheResult(boTempistica); - - if ((boTempistica.getUuid() == null) || - !boTempistica.getUuid().equals(uuid) || - (boTempistica.getGroupId() != groupId)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, boTempistica); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoTempistica)result; - } - } - - /** - * Removes the bo tempistica where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo tempistica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica removeByUUID_G(String uuid, long groupId) - throws NoSuchBoTempisticaException, SystemException { - BoTempistica boTempistica = findByUUID_G(uuid, groupId); - - return remove(boTempistica); - } - - /** - * Returns the number of bo tempisticas where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUUID_G(String uuid, long groupId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_G; - - Object[] finderArgs = new Object[] { uuid, groupId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOTEMPISTICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_G_UUID_1 = "boTempistica.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_2 = "boTempistica.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_3 = "(boTempistica.uuid IS NULL OR boTempistica.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_G_GROUPID_2 = "boTempistica.groupId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C = new FinderPath(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaModelImpl.FINDER_CACHE_ENABLED, BoTempisticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByUuid_C", - new String[] { - String.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C = - new FinderPath(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaModelImpl.FINDER_CACHE_ENABLED, BoTempisticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }, - BoTempisticaModelImpl.UUID_COLUMN_BITMASK | - BoTempisticaModelImpl.COMPANYID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C = new FinderPath(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns all the bo tempisticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId) - throws SystemException { - return findByUuid_C(uuid, companyId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo tempisticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @return the range of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, - int start, int end) throws SystemException { - return findByUuid_C(uuid, companyId, start, end, null); - } - - /** - * Returns an ordered range of all the bo tempisticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { uuid, companyId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { - uuid, companyId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoTempistica boTempistica : list) { - if (!Validator.equals(uuid, boTempistica.getUuid()) || - (companyId != boTempistica.getCompanyId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_BOTEMPISTICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoTempisticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo tempistica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo tempistica - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica findByUuid_C_First(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchBoTempisticaException, SystemException { - BoTempistica boTempistica = fetchByUuid_C_First(uuid, companyId, - orderByComparator); - - if (boTempistica != null) { - return boTempistica; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoTempisticaException(msg.toString()); - } - - /** - * Returns the first bo tempistica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica fetchByUuid_C_First(String uuid, long companyId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid_C(uuid, companyId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo tempistica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo tempistica - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica findByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchBoTempisticaException, SystemException { - BoTempistica boTempistica = fetchByUuid_C_Last(uuid, companyId, - orderByComparator); - - if (boTempistica != null) { - return boTempistica; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoTempisticaException(msg.toString()); - } - - /** - * Returns the last bo tempistica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica fetchByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid_C(uuid, companyId); - - if (count == 0) { - return null; - } - - List list = findByUuid_C(uuid, companyId, count - 1, - count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo tempisticas before and after the current bo tempistica in the ordered set where uuid = ? and companyId = ?. - * - * @param tempisticaId the primary key of the current bo tempistica - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo tempistica - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica[] findByUuid_C_PrevAndNext(long tempisticaId, - String uuid, long companyId, OrderByComparator orderByComparator) - throws NoSuchBoTempisticaException, SystemException { - BoTempistica boTempistica = findByPrimaryKey(tempisticaId); - - Session session = null; - - try { - session = openSession(); - - BoTempistica[] array = new BoTempisticaImpl[3]; - - array[0] = getByUuid_C_PrevAndNext(session, boTempistica, uuid, - companyId, orderByComparator, true); - - array[1] = boTempistica; - - array[2] = getByUuid_C_PrevAndNext(session, boTempistica, uuid, - companyId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoTempistica getByUuid_C_PrevAndNext(Session session, - BoTempistica boTempistica, String uuid, long companyId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOTEMPISTICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoTempisticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boTempistica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo tempisticas where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid_C(String uuid, long companyId) - throws SystemException { - for (BoTempistica boTempistica : findByUuid_C(uuid, companyId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boTempistica); - } - } - - /** - * Returns the number of bo tempisticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid_C(String uuid, long companyId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_C; - - Object[] finderArgs = new Object[] { uuid, companyId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOTEMPISTICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_C_UUID_1 = "boTempistica.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_2 = "boTempistica.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_3 = "(boTempistica.uuid IS NULL OR boTempistica.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_C_COMPANYID_2 = "boTempistica.companyId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_INTPRATICA_TIPO_COMPLETO = - new FinderPath(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaModelImpl.FINDER_CACHE_ENABLED, BoTempisticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByC_IntPratica_Tipo_Completo", - new String[] { - Long.class.getName(), Long.class.getName(), - String.class.getName(), Boolean.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_INTPRATICA_TIPO_COMPLETO = - new FinderPath(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaModelImpl.FINDER_CACHE_ENABLED, BoTempisticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByC_IntPratica_Tipo_Completo", - new String[] { - Long.class.getName(), Long.class.getName(), - String.class.getName(), Boolean.class.getName() - }, - BoTempisticaModelImpl.COMPANYID_COLUMN_BITMASK | - BoTempisticaModelImpl.INTPRATICAID_COLUMN_BITMASK | - BoTempisticaModelImpl.TIPO_COLUMN_BITMASK | - BoTempisticaModelImpl.COMPLETO_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_C_INTPRATICA_TIPO_COMPLETO = - new FinderPath(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByC_IntPratica_Tipo_Completo", - new String[] { - Long.class.getName(), Long.class.getName(), - String.class.getName(), Boolean.class.getName() - }); - - /** - * Returns all the bo tempisticas where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @return the matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_IntPratica_Tipo_Completo(long companyId, - long intPraticaId, String tipo, boolean completo) - throws SystemException { - return findByC_IntPratica_Tipo_Completo(companyId, intPraticaId, tipo, - completo, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo tempisticas where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @return the range of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_IntPratica_Tipo_Completo(long companyId, - long intPraticaId, String tipo, boolean completo, int start, int end) - throws SystemException { - return findByC_IntPratica_Tipo_Completo(companyId, intPraticaId, tipo, - completo, start, end, null); - } - - /** - * Returns an ordered range of all the bo tempisticas where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_IntPratica_Tipo_Completo(long companyId, - long intPraticaId, String tipo, boolean completo, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_INTPRATICA_TIPO_COMPLETO; - finderArgs = new Object[] { companyId, intPraticaId, tipo, completo }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_C_INTPRATICA_TIPO_COMPLETO; - finderArgs = new Object[] { - companyId, intPraticaId, tipo, completo, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoTempistica boTempistica : list) { - if ((companyId != boTempistica.getCompanyId()) || - (intPraticaId != boTempistica.getIntPraticaId()) || - !Validator.equals(tipo, boTempistica.getTipo()) || - (completo != boTempistica.getCompleto())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(6); - } - - query.append(_SQL_SELECT_BOTEMPISTICA_WHERE); - - query.append(_FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_INTPRATICAID_2); - - boolean bindTipo = false; - - if (tipo == null) { - query.append(_FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_TIPO_1); - } - else if (tipo.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_TIPO_3); - } - else { - bindTipo = true; - - query.append(_FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_TIPO_2); - } - - query.append(_FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_COMPLETO_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoTempisticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(intPraticaId); - - if (bindTipo) { - qPos.add(tipo); - } - - qPos.add(completo); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo tempistica in the ordered set where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo tempistica - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica findByC_IntPratica_Tipo_Completo_First(long companyId, - long intPraticaId, String tipo, boolean completo, - OrderByComparator orderByComparator) - throws NoSuchBoTempisticaException, SystemException { - BoTempistica boTempistica = fetchByC_IntPratica_Tipo_Completo_First(companyId, - intPraticaId, tipo, completo, orderByComparator); - - if (boTempistica != null) { - return boTempistica; - } - - StringBundler msg = new StringBundler(10); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", intPraticaId="); - msg.append(intPraticaId); - - msg.append(", tipo="); - msg.append(tipo); - - msg.append(", completo="); - msg.append(completo); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoTempisticaException(msg.toString()); - } - - /** - * Returns the first bo tempistica in the ordered set where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica fetchByC_IntPratica_Tipo_Completo_First( - long companyId, long intPraticaId, String tipo, boolean completo, - OrderByComparator orderByComparator) throws SystemException { - List list = findByC_IntPratica_Tipo_Completo(companyId, - intPraticaId, tipo, completo, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo tempistica in the ordered set where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo tempistica - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica findByC_IntPratica_Tipo_Completo_Last(long companyId, - long intPraticaId, String tipo, boolean completo, - OrderByComparator orderByComparator) - throws NoSuchBoTempisticaException, SystemException { - BoTempistica boTempistica = fetchByC_IntPratica_Tipo_Completo_Last(companyId, - intPraticaId, tipo, completo, orderByComparator); - - if (boTempistica != null) { - return boTempistica; - } - - StringBundler msg = new StringBundler(10); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", intPraticaId="); - msg.append(intPraticaId); - - msg.append(", tipo="); - msg.append(tipo); - - msg.append(", completo="); - msg.append(completo); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoTempisticaException(msg.toString()); - } - - /** - * Returns the last bo tempistica in the ordered set where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica fetchByC_IntPratica_Tipo_Completo_Last(long companyId, - long intPraticaId, String tipo, boolean completo, - OrderByComparator orderByComparator) throws SystemException { - int count = countByC_IntPratica_Tipo_Completo(companyId, intPraticaId, - tipo, completo); - - if (count == 0) { - return null; - } - - List list = findByC_IntPratica_Tipo_Completo(companyId, - intPraticaId, tipo, completo, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo tempisticas before and after the current bo tempistica in the ordered set where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param tempisticaId the primary key of the current bo tempistica - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo tempistica - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica[] findByC_IntPratica_Tipo_Completo_PrevAndNext( - long tempisticaId, long companyId, long intPraticaId, String tipo, - boolean completo, OrderByComparator orderByComparator) - throws NoSuchBoTempisticaException, SystemException { - BoTempistica boTempistica = findByPrimaryKey(tempisticaId); - - Session session = null; - - try { - session = openSession(); - - BoTempistica[] array = new BoTempisticaImpl[3]; - - array[0] = getByC_IntPratica_Tipo_Completo_PrevAndNext(session, - boTempistica, companyId, intPraticaId, tipo, completo, - orderByComparator, true); - - array[1] = boTempistica; - - array[2] = getByC_IntPratica_Tipo_Completo_PrevAndNext(session, - boTempistica, companyId, intPraticaId, tipo, completo, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoTempistica getByC_IntPratica_Tipo_Completo_PrevAndNext( - Session session, BoTempistica boTempistica, long companyId, - long intPraticaId, String tipo, boolean completo, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOTEMPISTICA_WHERE); - - query.append(_FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_INTPRATICAID_2); - - boolean bindTipo = false; - - if (tipo == null) { - query.append(_FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_TIPO_1); - } - else if (tipo.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_TIPO_3); - } - else { - bindTipo = true; - - query.append(_FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_TIPO_2); - } - - query.append(_FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_COMPLETO_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoTempisticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(intPraticaId); - - if (bindTipo) { - qPos.add(tipo); - } - - qPos.add(completo); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boTempistica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo tempisticas where companyId = ? and intPraticaId = ? and tipo = ? and completo = ? from the database. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByC_IntPratica_Tipo_Completo(long companyId, - long intPraticaId, String tipo, boolean completo) - throws SystemException { - for (BoTempistica boTempistica : findByC_IntPratica_Tipo_Completo( - companyId, intPraticaId, tipo, completo, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(boTempistica); - } - } - - /** - * Returns the number of bo tempisticas where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @return the number of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_IntPratica_Tipo_Completo(long companyId, - long intPraticaId, String tipo, boolean completo) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_C_INTPRATICA_TIPO_COMPLETO; - - Object[] finderArgs = new Object[] { - companyId, intPraticaId, tipo, completo - }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(5); - - query.append(_SQL_COUNT_BOTEMPISTICA_WHERE); - - query.append(_FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_INTPRATICAID_2); - - boolean bindTipo = false; - - if (tipo == null) { - query.append(_FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_TIPO_1); - } - else if (tipo.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_TIPO_3); - } - else { - bindTipo = true; - - query.append(_FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_TIPO_2); - } - - query.append(_FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_COMPLETO_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(intPraticaId); - - if (bindTipo) { - qPos.add(tipo); - } - - qPos.add(completo); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_COMPANYID_2 = - "boTempistica.companyId = ? AND "; - private static final String _FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_INTPRATICAID_2 = - "boTempistica.intPraticaId = ? AND "; - private static final String _FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_TIPO_1 = - "boTempistica.tipo IS NULL AND "; - private static final String _FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_TIPO_2 = - "boTempistica.tipo = ? AND "; - private static final String _FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_TIPO_3 = - "(boTempistica.tipo IS NULL OR boTempistica.tipo = '') AND "; - private static final String _FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_COMPLETO_2 = - "boTempistica.completo = ?"; - - public BoTempisticaPersistenceImpl() { - setModelClass(BoTempistica.class); - } - - /** - * Caches the bo tempistica in the entity cache if it is enabled. - * - * @param boTempistica the bo tempistica - */ - @Override - public void cacheResult(BoTempistica boTempistica) { - EntityCacheUtil.putResult(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaImpl.class, boTempistica.getPrimaryKey(), boTempistica); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - new Object[] { boTempistica.getUuid(), boTempistica.getGroupId() }, - boTempistica); - - boTempistica.resetOriginalValues(); - } - - /** - * Caches the bo tempisticas in the entity cache if it is enabled. - * - * @param boTempisticas the bo tempisticas - */ - @Override - public void cacheResult(List boTempisticas) { - for (BoTempistica boTempistica : boTempisticas) { - if (EntityCacheUtil.getResult( - BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaImpl.class, boTempistica.getPrimaryKey()) == null) { - cacheResult(boTempistica); - } - else { - boTempistica.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all bo tempisticas. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(BoTempisticaImpl.class.getName()); - } - - EntityCacheUtil.clearCache(BoTempisticaImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the bo tempistica. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(BoTempistica boTempistica) { - EntityCacheUtil.removeResult(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaImpl.class, boTempistica.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(boTempistica); - } - - @Override - public void clearCache(List boTempisticas) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (BoTempistica boTempistica : boTempisticas) { - EntityCacheUtil.removeResult(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaImpl.class, boTempistica.getPrimaryKey()); - - clearUniqueFindersCache(boTempistica); - } - } - - protected void cacheUniqueFindersCache(BoTempistica boTempistica) { - if (boTempistica.isNew()) { - Object[] args = new Object[] { - boTempistica.getUuid(), boTempistica.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - boTempistica); - } - else { - BoTempisticaModelImpl boTempisticaModelImpl = (BoTempisticaModelImpl)boTempistica; - - if ((boTempisticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boTempistica.getUuid(), boTempistica.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - boTempistica); - } - } - } - - protected void clearUniqueFindersCache(BoTempistica boTempistica) { - BoTempisticaModelImpl boTempisticaModelImpl = (BoTempisticaModelImpl)boTempistica; - - Object[] args = new Object[] { - boTempistica.getUuid(), boTempistica.getGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - - if ((boTempisticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - args = new Object[] { - boTempisticaModelImpl.getOriginalUuid(), - boTempisticaModelImpl.getOriginalGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - } - } - - /** - * Creates a new bo tempistica with the primary key. Does not add the bo tempistica to the database. - * - * @param tempisticaId the primary key for the new bo tempistica - * @return the new bo tempistica - */ - @Override - public BoTempistica create(long tempisticaId) { - BoTempistica boTempistica = new BoTempisticaImpl(); - - boTempistica.setNew(true); - boTempistica.setPrimaryKey(tempisticaId); - - String uuid = PortalUUIDUtil.generate(); - - boTempistica.setUuid(uuid); - - return boTempistica; - } - - /** - * Removes the bo tempistica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param tempisticaId the primary key of the bo tempistica - * @return the bo tempistica that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica remove(long tempisticaId) - throws NoSuchBoTempisticaException, SystemException { - return remove((Serializable)tempisticaId); - } - - /** - * Removes the bo tempistica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the bo tempistica - * @return the bo tempistica that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica remove(Serializable primaryKey) - throws NoSuchBoTempisticaException, SystemException { - Session session = null; - - try { - session = openSession(); - - BoTempistica boTempistica = (BoTempistica)session.get(BoTempisticaImpl.class, - primaryKey); - - if (boTempistica == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoTempisticaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(boTempistica); - } - catch (NoSuchBoTempisticaException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected BoTempistica removeImpl(BoTempistica boTempistica) - throws SystemException { - boTempistica = toUnwrappedModel(boTempistica); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(boTempistica)) { - boTempistica = (BoTempistica)session.get(BoTempisticaImpl.class, - boTempistica.getPrimaryKeyObj()); - } - - if (boTempistica != null) { - session.delete(boTempistica); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (boTempistica != null) { - clearCache(boTempistica); - } - - return boTempistica; - } - - @Override - public BoTempistica updateImpl( - it.tref.liferay.portos.importazione.model.BoTempistica boTempistica) - throws SystemException { - boTempistica = toUnwrappedModel(boTempistica); - - boolean isNew = boTempistica.isNew(); - - BoTempisticaModelImpl boTempisticaModelImpl = (BoTempisticaModelImpl)boTempistica; - - if (Validator.isNull(boTempistica.getUuid())) { - String uuid = PortalUUIDUtil.generate(); - - boTempistica.setUuid(uuid); - } - - Session session = null; - - try { - session = openSession(); - - if (boTempistica.isNew()) { - session.save(boTempistica); - - boTempistica.setNew(false); - } - else { - session.merge(boTempistica); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !BoTempisticaModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((boTempisticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boTempisticaModelImpl.getOriginalUuid() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - - args = new Object[] { boTempisticaModelImpl.getUuid() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - } - - if ((boTempisticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boTempisticaModelImpl.getOriginalUuid(), - boTempisticaModelImpl.getOriginalCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - - args = new Object[] { - boTempisticaModelImpl.getUuid(), - boTempisticaModelImpl.getCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - } - - if ((boTempisticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_INTPRATICA_TIPO_COMPLETO.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boTempisticaModelImpl.getOriginalCompanyId(), - boTempisticaModelImpl.getOriginalIntPraticaId(), - boTempisticaModelImpl.getOriginalTipo(), - boTempisticaModelImpl.getOriginalCompleto() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_INTPRATICA_TIPO_COMPLETO, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_INTPRATICA_TIPO_COMPLETO, - args); - - args = new Object[] { - boTempisticaModelImpl.getCompanyId(), - boTempisticaModelImpl.getIntPraticaId(), - boTempisticaModelImpl.getTipo(), - boTempisticaModelImpl.getCompleto() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_INTPRATICA_TIPO_COMPLETO, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_INTPRATICA_TIPO_COMPLETO, - args); - } - } - - EntityCacheUtil.putResult(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaImpl.class, boTempistica.getPrimaryKey(), boTempistica); - - clearUniqueFindersCache(boTempistica); - cacheUniqueFindersCache(boTempistica); - - return boTempistica; - } - - protected BoTempistica toUnwrappedModel(BoTempistica boTempistica) { - if (boTempistica instanceof BoTempisticaImpl) { - return boTempistica; - } - - BoTempisticaImpl boTempisticaImpl = new BoTempisticaImpl(); - - boTempisticaImpl.setNew(boTempistica.isNew()); - boTempisticaImpl.setPrimaryKey(boTempistica.getPrimaryKey()); - - boTempisticaImpl.setUuid(boTempistica.getUuid()); - boTempisticaImpl.setTempisticaId(boTempistica.getTempisticaId()); - boTempisticaImpl.setCompanyId(boTempistica.getCompanyId()); - boTempisticaImpl.setUserId(boTempistica.getUserId()); - boTempisticaImpl.setUserName(boTempistica.getUserName()); - boTempisticaImpl.setCreateDate(boTempistica.getCreateDate()); - boTempisticaImpl.setModifiedDate(boTempistica.getModifiedDate()); - boTempisticaImpl.setGroupId(boTempistica.getGroupId()); - boTempisticaImpl.setIntPraticaId(boTempistica.getIntPraticaId()); - boTempisticaImpl.setDettPraticaId(boTempistica.getDettPraticaId()); - boTempisticaImpl.setTipo(boTempistica.getTipo()); - boTempisticaImpl.setStart(boTempistica.getStart()); - boTempisticaImpl.setStop(boTempistica.getStop()); - boTempisticaImpl.setWait(boTempistica.getWait()); - boTempisticaImpl.setCompleto(boTempistica.isCompleto()); - - return boTempisticaImpl; - } - - /** - * Returns the bo tempistica with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the bo tempistica - * @return the bo tempistica - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica findByPrimaryKey(Serializable primaryKey) - throws NoSuchBoTempisticaException, SystemException { - BoTempistica boTempistica = fetchByPrimaryKey(primaryKey); - - if (boTempistica == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoTempisticaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return boTempistica; - } - - /** - * Returns the bo tempistica with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoTempisticaException} if it could not be found. - * - * @param tempisticaId the primary key of the bo tempistica - * @return the bo tempistica - * @throws it.tref.liferay.portos.importazione.NoSuchBoTempisticaException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica findByPrimaryKey(long tempisticaId) - throws NoSuchBoTempisticaException, SystemException { - return findByPrimaryKey((Serializable)tempisticaId); - } - - /** - * Returns the bo tempistica with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the bo tempistica - * @return the bo tempistica, or null if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - BoTempistica boTempistica = (BoTempistica)EntityCacheUtil.getResult(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaImpl.class, primaryKey); - - if (boTempistica == _nullBoTempistica) { - return null; - } - - if (boTempistica == null) { - Session session = null; - - try { - session = openSession(); - - boTempistica = (BoTempistica)session.get(BoTempisticaImpl.class, - primaryKey); - - if (boTempistica != null) { - cacheResult(boTempistica); - } - else { - EntityCacheUtil.putResult(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaImpl.class, primaryKey, _nullBoTempistica); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return boTempistica; - } - - /** - * Returns the bo tempistica with the primary key or returns null if it could not be found. - * - * @param tempisticaId the primary key of the bo tempistica - * @return the bo tempistica, or null if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica fetchByPrimaryKey(long tempisticaId) - throws SystemException { - return fetchByPrimaryKey((Serializable)tempisticaId); - } - - /** - * Returns all the bo tempisticas. - * - * @return the bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo tempisticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @return the range of bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the bo tempisticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_BOTEMPISTICA); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_BOTEMPISTICA; - - if (pagination) { - sql = sql.concat(BoTempisticaModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the bo tempisticas from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (BoTempistica boTempistica : findAll()) { - remove(boTempistica); - } - } - - /** - * Returns the number of bo tempisticas. - * - * @return the number of bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_BOTEMPISTICA); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - @Override - protected Set getBadColumnNames() { - return _badColumnNames; - } - - /** - * Initializes the bo tempistica persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.importazione.model.BoTempistica"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(BoTempisticaImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_BOTEMPISTICA = "SELECT boTempistica FROM BoTempistica boTempistica"; - private static final String _SQL_SELECT_BOTEMPISTICA_WHERE = "SELECT boTempistica FROM BoTempistica boTempistica WHERE "; - private static final String _SQL_COUNT_BOTEMPISTICA = "SELECT COUNT(boTempistica) FROM BoTempistica boTempistica"; - private static final String _SQL_COUNT_BOTEMPISTICA_WHERE = "SELECT COUNT(boTempistica) FROM BoTempistica boTempistica WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "boTempistica."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No BoTempistica exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No BoTempistica exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(BoTempisticaPersistenceImpl.class); - private static Set _badColumnNames = SetUtil.fromArray(new String[] { - "uuid", "start" - }); - private static BoTempistica _nullBoTempistica = new BoTempisticaImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullBoTempisticaCacheModel; - } - }; - - private static CacheModel _nullBoTempisticaCacheModel = new CacheModel() { - @Override - public BoTempistica toEntityModel() { - return _nullBoTempistica; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoTerritorioPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoTerritorioPersistenceImpl.java deleted file mode 100644 index 717303fc..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/BoTerritorioPersistenceImpl.java +++ /dev/null @@ -1,3127 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.CalendarUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.importazione.NoSuchBoTerritorioException; -import it.tref.liferay.portos.importazione.model.BoTerritorio; -import it.tref.liferay.portos.importazione.model.impl.BoTerritorioImpl; -import it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl; -import it.tref.liferay.portos.importazione.service.persistence.BoTerritorioPersistence; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.Date; -import java.util.List; - -/** - * The persistence implementation for the bo territorio service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see BoTerritorioPersistence - * @see BoTerritorioUtil - * @generated - */ -public class BoTerritorioPersistenceImpl extends BasePersistenceImpl - implements BoTerritorioPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link BoTerritorioUtil} to access the bo territorio persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = BoTerritorioImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioModelImpl.FINDER_CACHE_ENABLED, BoTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioModelImpl.FINDER_CACHE_ENABLED, BoTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMUNEID = new FinderPath(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioModelImpl.FINDER_CACHE_ENABLED, BoTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByComuneId", - new String[] { - Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMUNEID = - new FinderPath(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioModelImpl.FINDER_CACHE_ENABLED, BoTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByComuneId", - new String[] { Long.class.getName() }, - BoTerritorioModelImpl.COMUNEID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_COMUNEID = new FinderPath(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByComuneId", - new String[] { Long.class.getName() }); - - /** - * Returns all the bo territorios where comuneId = ?. - * - * @param comuneId the comune ID - * @return the matching bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByComuneId(long comuneId) - throws SystemException { - return findByComuneId(comuneId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, - null); - } - - /** - * Returns a range of all the bo territorios where comuneId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param comuneId the comune ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByComuneId(long comuneId, int start, int end) - throws SystemException { - return findByComuneId(comuneId, start, end, null); - } - - /** - * Returns an ordered range of all the bo territorios where comuneId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param comuneId the comune ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByComuneId(long comuneId, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMUNEID; - finderArgs = new Object[] { comuneId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_COMUNEID; - finderArgs = new Object[] { comuneId, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoTerritorio boTerritorio : list) { - if ((comuneId != boTerritorio.getComuneId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOTERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_COMUNEID_COMUNEID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoTerritorioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(comuneId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio findByComuneId_First(long comuneId, - OrderByComparator orderByComparator) - throws NoSuchBoTerritorioException, SystemException { - BoTerritorio boTerritorio = fetchByComuneId_First(comuneId, - orderByComparator); - - if (boTerritorio != null) { - return boTerritorio; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("comuneId="); - msg.append(comuneId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoTerritorioException(msg.toString()); - } - - /** - * Returns the first bo territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio fetchByComuneId_First(long comuneId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByComuneId(comuneId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio findByComuneId_Last(long comuneId, - OrderByComparator orderByComparator) - throws NoSuchBoTerritorioException, SystemException { - BoTerritorio boTerritorio = fetchByComuneId_Last(comuneId, - orderByComparator); - - if (boTerritorio != null) { - return boTerritorio; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("comuneId="); - msg.append(comuneId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoTerritorioException(msg.toString()); - } - - /** - * Returns the last bo territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio fetchByComuneId_Last(long comuneId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByComuneId(comuneId); - - if (count == 0) { - return null; - } - - List list = findByComuneId(comuneId, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo territorios before and after the current bo territorio in the ordered set where comuneId = ?. - * - * @param territorioId the primary key of the current bo territorio - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio[] findByComuneId_PrevAndNext(long territorioId, - long comuneId, OrderByComparator orderByComparator) - throws NoSuchBoTerritorioException, SystemException { - BoTerritorio boTerritorio = findByPrimaryKey(territorioId); - - Session session = null; - - try { - session = openSession(); - - BoTerritorio[] array = new BoTerritorioImpl[3]; - - array[0] = getByComuneId_PrevAndNext(session, boTerritorio, - comuneId, orderByComparator, true); - - array[1] = boTerritorio; - - array[2] = getByComuneId_PrevAndNext(session, boTerritorio, - comuneId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoTerritorio getByComuneId_PrevAndNext(Session session, - BoTerritorio boTerritorio, long comuneId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOTERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_COMUNEID_COMUNEID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoTerritorioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(comuneId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boTerritorio); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo territorios where comuneId = ? from the database. - * - * @param comuneId the comune ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByComuneId(long comuneId) throws SystemException { - for (BoTerritorio boTerritorio : findByComuneId(comuneId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boTerritorio); - } - } - - /** - * Returns the number of bo territorios where comuneId = ?. - * - * @param comuneId the comune ID - * @return the number of matching bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public int countByComuneId(long comuneId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_COMUNEID; - - Object[] finderArgs = new Object[] { comuneId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BOTERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_COMUNEID_COMUNEID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(comuneId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_COMUNEID_COMUNEID_2 = "boTerritorio.comuneId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_ZONAID = new FinderPath(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioModelImpl.FINDER_CACHE_ENABLED, BoTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByZonaId", - new String[] { - Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ZONAID = - new FinderPath(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioModelImpl.FINDER_CACHE_ENABLED, BoTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByZonaId", - new String[] { Long.class.getName() }, - BoTerritorioModelImpl.ZONAID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_ZONAID = new FinderPath(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByZonaId", - new String[] { Long.class.getName() }); - - /** - * Returns all the bo territorios where zonaId = ?. - * - * @param zonaId the zona ID - * @return the matching bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByZonaId(long zonaId) - throws SystemException { - return findByZonaId(zonaId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo territorios where zonaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param zonaId the zona ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByZonaId(long zonaId, int start, int end) - throws SystemException { - return findByZonaId(zonaId, start, end, null); - } - - /** - * Returns an ordered range of all the bo territorios where zonaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param zonaId the zona ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByZonaId(long zonaId, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ZONAID; - finderArgs = new Object[] { zonaId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_ZONAID; - finderArgs = new Object[] { zonaId, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoTerritorio boTerritorio : list) { - if ((zonaId != boTerritorio.getZonaId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOTERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_ZONAID_ZONAID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoTerritorioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(zonaId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio findByZonaId_First(long zonaId, - OrderByComparator orderByComparator) - throws NoSuchBoTerritorioException, SystemException { - BoTerritorio boTerritorio = fetchByZonaId_First(zonaId, - orderByComparator); - - if (boTerritorio != null) { - return boTerritorio; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("zonaId="); - msg.append(zonaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoTerritorioException(msg.toString()); - } - - /** - * Returns the first bo territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio fetchByZonaId_First(long zonaId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByZonaId(zonaId, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio findByZonaId_Last(long zonaId, - OrderByComparator orderByComparator) - throws NoSuchBoTerritorioException, SystemException { - BoTerritorio boTerritorio = fetchByZonaId_Last(zonaId, orderByComparator); - - if (boTerritorio != null) { - return boTerritorio; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("zonaId="); - msg.append(zonaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoTerritorioException(msg.toString()); - } - - /** - * Returns the last bo territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio fetchByZonaId_Last(long zonaId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByZonaId(zonaId); - - if (count == 0) { - return null; - } - - List list = findByZonaId(zonaId, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo territorios before and after the current bo territorio in the ordered set where zonaId = ?. - * - * @param territorioId the primary key of the current bo territorio - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio[] findByZonaId_PrevAndNext(long territorioId, - long zonaId, OrderByComparator orderByComparator) - throws NoSuchBoTerritorioException, SystemException { - BoTerritorio boTerritorio = findByPrimaryKey(territorioId); - - Session session = null; - - try { - session = openSession(); - - BoTerritorio[] array = new BoTerritorioImpl[3]; - - array[0] = getByZonaId_PrevAndNext(session, boTerritorio, zonaId, - orderByComparator, true); - - array[1] = boTerritorio; - - array[2] = getByZonaId_PrevAndNext(session, boTerritorio, zonaId, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoTerritorio getByZonaId_PrevAndNext(Session session, - BoTerritorio boTerritorio, long zonaId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOTERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_ZONAID_ZONAID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoTerritorioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(zonaId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boTerritorio); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo territorios where zonaId = ? from the database. - * - * @param zonaId the zona ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByZonaId(long zonaId) throws SystemException { - for (BoTerritorio boTerritorio : findByZonaId(zonaId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boTerritorio); - } - } - - /** - * Returns the number of bo territorios where zonaId = ?. - * - * @param zonaId the zona ID - * @return the number of matching bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public int countByZonaId(long zonaId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_ZONAID; - - Object[] finderArgs = new Object[] { zonaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BOTERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_ZONAID_ZONAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(zonaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_ZONAID_ZONAID_2 = "boTerritorio.zonaId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_FASCIAID = new FinderPath(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioModelImpl.FINDER_CACHE_ENABLED, BoTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByFasciaId", - new String[] { - Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FASCIAID = - new FinderPath(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioModelImpl.FINDER_CACHE_ENABLED, BoTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByFasciaId", - new String[] { Long.class.getName() }, - BoTerritorioModelImpl.FASCIAID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_FASCIAID = new FinderPath(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByFasciaId", - new String[] { Long.class.getName() }); - - /** - * Returns all the bo territorios where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @return the matching bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByFasciaId(long fasciaId) - throws SystemException { - return findByFasciaId(fasciaId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, - null); - } - - /** - * Returns a range of all the bo territorios where fasciaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param fasciaId the fascia ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByFasciaId(long fasciaId, int start, int end) - throws SystemException { - return findByFasciaId(fasciaId, start, end, null); - } - - /** - * Returns an ordered range of all the bo territorios where fasciaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param fasciaId the fascia ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByFasciaId(long fasciaId, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FASCIAID; - finderArgs = new Object[] { fasciaId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_FASCIAID; - finderArgs = new Object[] { fasciaId, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoTerritorio boTerritorio : list) { - if ((fasciaId != boTerritorio.getFasciaId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOTERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_FASCIAID_FASCIAID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoTerritorioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(fasciaId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio findByFasciaId_First(long fasciaId, - OrderByComparator orderByComparator) - throws NoSuchBoTerritorioException, SystemException { - BoTerritorio boTerritorio = fetchByFasciaId_First(fasciaId, - orderByComparator); - - if (boTerritorio != null) { - return boTerritorio; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("fasciaId="); - msg.append(fasciaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoTerritorioException(msg.toString()); - } - - /** - * Returns the first bo territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio fetchByFasciaId_First(long fasciaId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByFasciaId(fasciaId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio findByFasciaId_Last(long fasciaId, - OrderByComparator orderByComparator) - throws NoSuchBoTerritorioException, SystemException { - BoTerritorio boTerritorio = fetchByFasciaId_Last(fasciaId, - orderByComparator); - - if (boTerritorio != null) { - return boTerritorio; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("fasciaId="); - msg.append(fasciaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoTerritorioException(msg.toString()); - } - - /** - * Returns the last bo territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio fetchByFasciaId_Last(long fasciaId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByFasciaId(fasciaId); - - if (count == 0) { - return null; - } - - List list = findByFasciaId(fasciaId, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo territorios before and after the current bo territorio in the ordered set where fasciaId = ?. - * - * @param territorioId the primary key of the current bo territorio - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio[] findByFasciaId_PrevAndNext(long territorioId, - long fasciaId, OrderByComparator orderByComparator) - throws NoSuchBoTerritorioException, SystemException { - BoTerritorio boTerritorio = findByPrimaryKey(territorioId); - - Session session = null; - - try { - session = openSession(); - - BoTerritorio[] array = new BoTerritorioImpl[3]; - - array[0] = getByFasciaId_PrevAndNext(session, boTerritorio, - fasciaId, orderByComparator, true); - - array[1] = boTerritorio; - - array[2] = getByFasciaId_PrevAndNext(session, boTerritorio, - fasciaId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoTerritorio getByFasciaId_PrevAndNext(Session session, - BoTerritorio boTerritorio, long fasciaId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOTERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_FASCIAID_FASCIAID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoTerritorioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(fasciaId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boTerritorio); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo territorios where fasciaId = ? from the database. - * - * @param fasciaId the fascia ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByFasciaId(long fasciaId) throws SystemException { - for (BoTerritorio boTerritorio : findByFasciaId(fasciaId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boTerritorio); - } - } - - /** - * Returns the number of bo territorios where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @return the number of matching bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public int countByFasciaId(long fasciaId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_FASCIAID; - - Object[] finderArgs = new Object[] { fasciaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BOTERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_FASCIAID_FASCIAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(fasciaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_FASCIAID_FASCIAID_2 = "boTerritorio.fasciaId = ?"; - public static final FinderPath FINDER_PATH_FETCH_BY_C_Z_F_D = new FinderPath(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioModelImpl.FINDER_CACHE_ENABLED, BoTerritorioImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByC_Z_F_D", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName(), - Date.class.getName() - }, - BoTerritorioModelImpl.COMUNEID_COLUMN_BITMASK | - BoTerritorioModelImpl.ZONAID_COLUMN_BITMASK | - BoTerritorioModelImpl.FASCIAID_COLUMN_BITMASK | - BoTerritorioModelImpl.DTINI_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_C_Z_F_D = new FinderPath(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByC_Z_F_D", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName(), - Date.class.getName() - }); - - /** - * Returns the bo territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoTerritorioException} if it could not be found. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the matching bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio findByC_Z_F_D(long comuneId, long zonaId, - long fasciaId, Date dtIni) - throws NoSuchBoTerritorioException, SystemException { - BoTerritorio boTerritorio = fetchByC_Z_F_D(comuneId, zonaId, fasciaId, - dtIni); - - if (boTerritorio == null) { - StringBundler msg = new StringBundler(10); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("comuneId="); - msg.append(comuneId); - - msg.append(", zonaId="); - msg.append(zonaId); - - msg.append(", fasciaId="); - msg.append(fasciaId); - - msg.append(", dtIni="); - msg.append(dtIni); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoTerritorioException(msg.toString()); - } - - return boTerritorio; - } - - /** - * Returns the bo territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? or returns null if it could not be found. Uses the finder cache. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio fetchByC_Z_F_D(long comuneId, long zonaId, - long fasciaId, Date dtIni) throws SystemException { - return fetchByC_Z_F_D(comuneId, zonaId, fasciaId, dtIni, true); - } - - /** - * Returns the bo territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio fetchByC_Z_F_D(long comuneId, long zonaId, - long fasciaId, Date dtIni, boolean retrieveFromCache) - throws SystemException { - Object[] finderArgs = new Object[] { comuneId, zonaId, fasciaId, dtIni }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_C_Z_F_D, - finderArgs, this); - } - - if (result instanceof BoTerritorio) { - BoTerritorio boTerritorio = (BoTerritorio)result; - - if ((comuneId != boTerritorio.getComuneId()) || - (zonaId != boTerritorio.getZonaId()) || - (fasciaId != boTerritorio.getFasciaId()) || - !Validator.equals(dtIni, boTerritorio.getDtIni())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(6); - - query.append(_SQL_SELECT_BOTERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_C_Z_F_D_COMUNEID_2); - - query.append(_FINDER_COLUMN_C_Z_F_D_ZONAID_2); - - query.append(_FINDER_COLUMN_C_Z_F_D_FASCIAID_2); - - boolean bindDtIni = false; - - if (dtIni == null) { - query.append(_FINDER_COLUMN_C_Z_F_D_DTINI_1); - } - else { - bindDtIni = true; - - query.append(_FINDER_COLUMN_C_Z_F_D_DTINI_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(comuneId); - - qPos.add(zonaId); - - qPos.add(fasciaId); - - if (bindDtIni) { - qPos.add(CalendarUtil.getTimestamp(dtIni)); - } - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_Z_F_D, - finderArgs, list); - } - else { - BoTerritorio boTerritorio = list.get(0); - - result = boTerritorio; - - cacheResult(boTerritorio); - - if ((boTerritorio.getComuneId() != comuneId) || - (boTerritorio.getZonaId() != zonaId) || - (boTerritorio.getFasciaId() != fasciaId) || - (boTerritorio.getDtIni() == null) || - !boTerritorio.getDtIni().equals(dtIni)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_Z_F_D, - finderArgs, boTerritorio); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_Z_F_D, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoTerritorio)result; - } - } - - /** - * Removes the bo territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? from the database. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the bo territorio that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio removeByC_Z_F_D(long comuneId, long zonaId, - long fasciaId, Date dtIni) - throws NoSuchBoTerritorioException, SystemException { - BoTerritorio boTerritorio = findByC_Z_F_D(comuneId, zonaId, fasciaId, - dtIni); - - return remove(boTerritorio); - } - - /** - * Returns the number of bo territorios where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the number of matching bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_Z_F_D(long comuneId, long zonaId, long fasciaId, - Date dtIni) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_C_Z_F_D; - - Object[] finderArgs = new Object[] { comuneId, zonaId, fasciaId, dtIni }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(5); - - query.append(_SQL_COUNT_BOTERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_C_Z_F_D_COMUNEID_2); - - query.append(_FINDER_COLUMN_C_Z_F_D_ZONAID_2); - - query.append(_FINDER_COLUMN_C_Z_F_D_FASCIAID_2); - - boolean bindDtIni = false; - - if (dtIni == null) { - query.append(_FINDER_COLUMN_C_Z_F_D_DTINI_1); - } - else { - bindDtIni = true; - - query.append(_FINDER_COLUMN_C_Z_F_D_DTINI_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(comuneId); - - qPos.add(zonaId); - - qPos.add(fasciaId); - - if (bindDtIni) { - qPos.add(CalendarUtil.getTimestamp(dtIni)); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_C_Z_F_D_COMUNEID_2 = "boTerritorio.comuneId = ? AND "; - private static final String _FINDER_COLUMN_C_Z_F_D_ZONAID_2 = "boTerritorio.zonaId = ? AND "; - private static final String _FINDER_COLUMN_C_Z_F_D_FASCIAID_2 = "boTerritorio.fasciaId = ? AND "; - private static final String _FINDER_COLUMN_C_Z_F_D_DTINI_1 = "boTerritorio.dtIni IS NULL"; - private static final String _FINDER_COLUMN_C_Z_F_D_DTINI_2 = "boTerritorio.dtIni = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_GROUP = new FinderPath(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioModelImpl.FINDER_CACHE_ENABLED, BoTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByC_Group", - new String[] { - Long.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP = - new FinderPath(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioModelImpl.FINDER_CACHE_ENABLED, BoTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByC_Group", - new String[] { Long.class.getName(), Long.class.getName() }, - BoTerritorioModelImpl.COMPANYID_COLUMN_BITMASK | - BoTerritorioModelImpl.GROUPID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_C_GROUP = new FinderPath(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByC_Group", - new String[] { Long.class.getName(), Long.class.getName() }); - - /** - * Returns all the bo territorios where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @return the matching bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group(long companyId, long groupId) - throws SystemException { - return findByC_Group(companyId, groupId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo territorios where companyId = ? and groupId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group(long companyId, long groupId, - int start, int end) throws SystemException { - return findByC_Group(companyId, groupId, start, end, null); - } - - /** - * Returns an ordered range of all the bo territorios where companyId = ? and groupId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group(long companyId, long groupId, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP; - finderArgs = new Object[] { companyId, groupId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_C_GROUP; - finderArgs = new Object[] { - companyId, groupId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoTerritorio boTerritorio : list) { - if ((companyId != boTerritorio.getCompanyId()) || - (groupId != boTerritorio.getGroupId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_BOTERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_GROUPID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoTerritorioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo territorio in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio findByC_Group_First(long companyId, long groupId, - OrderByComparator orderByComparator) - throws NoSuchBoTerritorioException, SystemException { - BoTerritorio boTerritorio = fetchByC_Group_First(companyId, groupId, - orderByComparator); - - if (boTerritorio != null) { - return boTerritorio; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoTerritorioException(msg.toString()); - } - - /** - * Returns the first bo territorio in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio fetchByC_Group_First(long companyId, long groupId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByC_Group(companyId, groupId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo territorio in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio findByC_Group_Last(long companyId, long groupId, - OrderByComparator orderByComparator) - throws NoSuchBoTerritorioException, SystemException { - BoTerritorio boTerritorio = fetchByC_Group_Last(companyId, groupId, - orderByComparator); - - if (boTerritorio != null) { - return boTerritorio; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoTerritorioException(msg.toString()); - } - - /** - * Returns the last bo territorio in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio fetchByC_Group_Last(long companyId, long groupId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByC_Group(companyId, groupId); - - if (count == 0) { - return null; - } - - List list = findByC_Group(companyId, groupId, count - 1, - count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo territorios before and after the current bo territorio in the ordered set where companyId = ? and groupId = ?. - * - * @param territorioId the primary key of the current bo territorio - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio[] findByC_Group_PrevAndNext(long territorioId, - long companyId, long groupId, OrderByComparator orderByComparator) - throws NoSuchBoTerritorioException, SystemException { - BoTerritorio boTerritorio = findByPrimaryKey(territorioId); - - Session session = null; - - try { - session = openSession(); - - BoTerritorio[] array = new BoTerritorioImpl[3]; - - array[0] = getByC_Group_PrevAndNext(session, boTerritorio, - companyId, groupId, orderByComparator, true); - - array[1] = boTerritorio; - - array[2] = getByC_Group_PrevAndNext(session, boTerritorio, - companyId, groupId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoTerritorio getByC_Group_PrevAndNext(Session session, - BoTerritorio boTerritorio, long companyId, long groupId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOTERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_GROUPID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoTerritorioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boTerritorio); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo territorios where companyId = ? and groupId = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByC_Group(long companyId, long groupId) - throws SystemException { - for (BoTerritorio boTerritorio : findByC_Group(companyId, groupId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boTerritorio); - } - } - - /** - * Returns the number of bo territorios where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @return the number of matching bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_Group(long companyId, long groupId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_C_GROUP; - - Object[] finderArgs = new Object[] { companyId, groupId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOTERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_C_GROUP_COMPANYID_2 = "boTerritorio.companyId = ? AND "; - private static final String _FINDER_COLUMN_C_GROUP_GROUPID_2 = "boTerritorio.groupId = ?"; - - public BoTerritorioPersistenceImpl() { - setModelClass(BoTerritorio.class); - } - - /** - * Caches the bo territorio in the entity cache if it is enabled. - * - * @param boTerritorio the bo territorio - */ - @Override - public void cacheResult(BoTerritorio boTerritorio) { - EntityCacheUtil.putResult(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioImpl.class, boTerritorio.getPrimaryKey(), boTerritorio); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_Z_F_D, - new Object[] { - boTerritorio.getComuneId(), boTerritorio.getZonaId(), - boTerritorio.getFasciaId(), boTerritorio.getDtIni() - }, boTerritorio); - - boTerritorio.resetOriginalValues(); - } - - /** - * Caches the bo territorios in the entity cache if it is enabled. - * - * @param boTerritorios the bo territorios - */ - @Override - public void cacheResult(List boTerritorios) { - for (BoTerritorio boTerritorio : boTerritorios) { - if (EntityCacheUtil.getResult( - BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioImpl.class, boTerritorio.getPrimaryKey()) == null) { - cacheResult(boTerritorio); - } - else { - boTerritorio.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all bo territorios. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(BoTerritorioImpl.class.getName()); - } - - EntityCacheUtil.clearCache(BoTerritorioImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the bo territorio. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(BoTerritorio boTerritorio) { - EntityCacheUtil.removeResult(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioImpl.class, boTerritorio.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(boTerritorio); - } - - @Override - public void clearCache(List boTerritorios) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (BoTerritorio boTerritorio : boTerritorios) { - EntityCacheUtil.removeResult(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioImpl.class, boTerritorio.getPrimaryKey()); - - clearUniqueFindersCache(boTerritorio); - } - } - - protected void cacheUniqueFindersCache(BoTerritorio boTerritorio) { - if (boTerritorio.isNew()) { - Object[] args = new Object[] { - boTerritorio.getComuneId(), boTerritorio.getZonaId(), - boTerritorio.getFasciaId(), boTerritorio.getDtIni() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_C_Z_F_D, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_Z_F_D, args, - boTerritorio); - } - else { - BoTerritorioModelImpl boTerritorioModelImpl = (BoTerritorioModelImpl)boTerritorio; - - if ((boTerritorioModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_C_Z_F_D.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boTerritorio.getComuneId(), boTerritorio.getZonaId(), - boTerritorio.getFasciaId(), boTerritorio.getDtIni() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_C_Z_F_D, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_Z_F_D, args, - boTerritorio); - } - } - } - - protected void clearUniqueFindersCache(BoTerritorio boTerritorio) { - BoTerritorioModelImpl boTerritorioModelImpl = (BoTerritorioModelImpl)boTerritorio; - - Object[] args = new Object[] { - boTerritorio.getComuneId(), boTerritorio.getZonaId(), - boTerritorio.getFasciaId(), boTerritorio.getDtIni() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_Z_F_D, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_Z_F_D, args); - - if ((boTerritorioModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_C_Z_F_D.getColumnBitmask()) != 0) { - args = new Object[] { - boTerritorioModelImpl.getOriginalComuneId(), - boTerritorioModelImpl.getOriginalZonaId(), - boTerritorioModelImpl.getOriginalFasciaId(), - boTerritorioModelImpl.getOriginalDtIni() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_Z_F_D, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_Z_F_D, args); - } - } - - /** - * Creates a new bo territorio with the primary key. Does not add the bo territorio to the database. - * - * @param territorioId the primary key for the new bo territorio - * @return the new bo territorio - */ - @Override - public BoTerritorio create(long territorioId) { - BoTerritorio boTerritorio = new BoTerritorioImpl(); - - boTerritorio.setNew(true); - boTerritorio.setPrimaryKey(territorioId); - - return boTerritorio; - } - - /** - * Removes the bo territorio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param territorioId the primary key of the bo territorio - * @return the bo territorio that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio remove(long territorioId) - throws NoSuchBoTerritorioException, SystemException { - return remove((Serializable)territorioId); - } - - /** - * Removes the bo territorio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the bo territorio - * @return the bo territorio that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio remove(Serializable primaryKey) - throws NoSuchBoTerritorioException, SystemException { - Session session = null; - - try { - session = openSession(); - - BoTerritorio boTerritorio = (BoTerritorio)session.get(BoTerritorioImpl.class, - primaryKey); - - if (boTerritorio == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoTerritorioException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(boTerritorio); - } - catch (NoSuchBoTerritorioException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected BoTerritorio removeImpl(BoTerritorio boTerritorio) - throws SystemException { - boTerritorio = toUnwrappedModel(boTerritorio); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(boTerritorio)) { - boTerritorio = (BoTerritorio)session.get(BoTerritorioImpl.class, - boTerritorio.getPrimaryKeyObj()); - } - - if (boTerritorio != null) { - session.delete(boTerritorio); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (boTerritorio != null) { - clearCache(boTerritorio); - } - - return boTerritorio; - } - - @Override - public BoTerritorio updateImpl( - it.tref.liferay.portos.importazione.model.BoTerritorio boTerritorio) - throws SystemException { - boTerritorio = toUnwrappedModel(boTerritorio); - - boolean isNew = boTerritorio.isNew(); - - BoTerritorioModelImpl boTerritorioModelImpl = (BoTerritorioModelImpl)boTerritorio; - - Session session = null; - - try { - session = openSession(); - - if (boTerritorio.isNew()) { - session.save(boTerritorio); - - boTerritorio.setNew(false); - } - else { - session.merge(boTerritorio); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !BoTerritorioModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((boTerritorioModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMUNEID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boTerritorioModelImpl.getOriginalComuneId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_COMUNEID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMUNEID, - args); - - args = new Object[] { boTerritorioModelImpl.getComuneId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_COMUNEID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMUNEID, - args); - } - - if ((boTerritorioModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ZONAID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boTerritorioModelImpl.getOriginalZonaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_ZONAID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ZONAID, - args); - - args = new Object[] { boTerritorioModelImpl.getZonaId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_ZONAID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ZONAID, - args); - } - - if ((boTerritorioModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FASCIAID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boTerritorioModelImpl.getOriginalFasciaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_FASCIAID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FASCIAID, - args); - - args = new Object[] { boTerritorioModelImpl.getFasciaId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_FASCIAID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FASCIAID, - args); - } - - if ((boTerritorioModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boTerritorioModelImpl.getOriginalCompanyId(), - boTerritorioModelImpl.getOriginalGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_GROUP, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP, - args); - - args = new Object[] { - boTerritorioModelImpl.getCompanyId(), - boTerritorioModelImpl.getGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_GROUP, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP, - args); - } - } - - EntityCacheUtil.putResult(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioImpl.class, boTerritorio.getPrimaryKey(), boTerritorio); - - clearUniqueFindersCache(boTerritorio); - cacheUniqueFindersCache(boTerritorio); - - return boTerritorio; - } - - protected BoTerritorio toUnwrappedModel(BoTerritorio boTerritorio) { - if (boTerritorio instanceof BoTerritorioImpl) { - return boTerritorio; - } - - BoTerritorioImpl boTerritorioImpl = new BoTerritorioImpl(); - - boTerritorioImpl.setNew(boTerritorio.isNew()); - boTerritorioImpl.setPrimaryKey(boTerritorio.getPrimaryKey()); - - boTerritorioImpl.setTerritorioId(boTerritorio.getTerritorioId()); - boTerritorioImpl.setCompanyId(boTerritorio.getCompanyId()); - boTerritorioImpl.setUserId(boTerritorio.getUserId()); - boTerritorioImpl.setUserName(boTerritorio.getUserName()); - boTerritorioImpl.setCreateDate(boTerritorio.getCreateDate()); - boTerritorioImpl.setModifiedDate(boTerritorio.getModifiedDate()); - boTerritorioImpl.setGroupId(boTerritorio.getGroupId()); - boTerritorioImpl.setZonaId(boTerritorio.getZonaId()); - boTerritorioImpl.setFasciaId(boTerritorio.getFasciaId()); - boTerritorioImpl.setComuneId(boTerritorio.getComuneId()); - boTerritorioImpl.setDtIni(boTerritorio.getDtIni()); - boTerritorioImpl.setDtFin(boTerritorio.getDtFin()); - - return boTerritorioImpl; - } - - /** - * Returns the bo territorio with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the bo territorio - * @return the bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio findByPrimaryKey(Serializable primaryKey) - throws NoSuchBoTerritorioException, SystemException { - BoTerritorio boTerritorio = fetchByPrimaryKey(primaryKey); - - if (boTerritorio == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoTerritorioException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return boTerritorio; - } - - /** - * Returns the bo territorio with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchBoTerritorioException} if it could not be found. - * - * @param territorioId the primary key of the bo territorio - * @return the bo territorio - * @throws it.tref.liferay.portos.importazione.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio findByPrimaryKey(long territorioId) - throws NoSuchBoTerritorioException, SystemException { - return findByPrimaryKey((Serializable)territorioId); - } - - /** - * Returns the bo territorio with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the bo territorio - * @return the bo territorio, or null if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - BoTerritorio boTerritorio = (BoTerritorio)EntityCacheUtil.getResult(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioImpl.class, primaryKey); - - if (boTerritorio == _nullBoTerritorio) { - return null; - } - - if (boTerritorio == null) { - Session session = null; - - try { - session = openSession(); - - boTerritorio = (BoTerritorio)session.get(BoTerritorioImpl.class, - primaryKey); - - if (boTerritorio != null) { - cacheResult(boTerritorio); - } - else { - EntityCacheUtil.putResult(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioImpl.class, primaryKey, _nullBoTerritorio); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return boTerritorio; - } - - /** - * Returns the bo territorio with the primary key or returns null if it could not be found. - * - * @param territorioId the primary key of the bo territorio - * @return the bo territorio, or null if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio fetchByPrimaryKey(long territorioId) - throws SystemException { - return fetchByPrimaryKey((Serializable)territorioId); - } - - /** - * Returns all the bo territorios. - * - * @return the bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the bo territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_BOTERRITORIO); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_BOTERRITORIO; - - if (pagination) { - sql = sql.concat(BoTerritorioModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the bo territorios from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (BoTerritorio boTerritorio : findAll()) { - remove(boTerritorio); - } - } - - /** - * Returns the number of bo territorios. - * - * @return the number of bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_BOTERRITORIO); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - /** - * Initializes the bo territorio persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.importazione.model.BoTerritorio"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(BoTerritorioImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_BOTERRITORIO = "SELECT boTerritorio FROM BoTerritorio boTerritorio"; - private static final String _SQL_SELECT_BOTERRITORIO_WHERE = "SELECT boTerritorio FROM BoTerritorio boTerritorio WHERE "; - private static final String _SQL_COUNT_BOTERRITORIO = "SELECT COUNT(boTerritorio) FROM BoTerritorio boTerritorio"; - private static final String _SQL_COUNT_BOTERRITORIO_WHERE = "SELECT COUNT(boTerritorio) FROM BoTerritorio boTerritorio WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "boTerritorio."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No BoTerritorio exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No BoTerritorio exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(BoTerritorioPersistenceImpl.class); - private static BoTerritorio _nullBoTerritorio = new BoTerritorioImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullBoTerritorioCacheModel; - } - }; - - private static CacheModel _nullBoTerritorioCacheModel = new CacheModel() { - @Override - public BoTerritorio toEntityModel() { - return _nullBoTerritorio; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/FeComunePersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/FeComunePersistenceImpl.java deleted file mode 100644 index 16640eb3..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/FeComunePersistenceImpl.java +++ /dev/null @@ -1,1233 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.importazione.NoSuchFeComuneException; -import it.tref.liferay.portos.importazione.model.FeComune; -import it.tref.liferay.portos.importazione.model.impl.FeComuneImpl; -import it.tref.liferay.portos.importazione.model.impl.FeComuneModelImpl; -import it.tref.liferay.portos.importazione.service.persistence.FeComunePersistence; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -/** - * The persistence implementation for the fe comune service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see FeComunePersistence - * @see FeComuneUtil - * @generated - */ -public class FeComunePersistenceImpl extends BasePersistenceImpl - implements FeComunePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link FeComuneUtil} to access the fe comune persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = FeComuneImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(FeComuneModelImpl.ENTITY_CACHE_ENABLED, - FeComuneModelImpl.FINDER_CACHE_ENABLED, FeComuneImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(FeComuneModelImpl.ENTITY_CACHE_ENABLED, - FeComuneModelImpl.FINDER_CACHE_ENABLED, FeComuneImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(FeComuneModelImpl.ENTITY_CACHE_ENABLED, - FeComuneModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_FETCH_BY_CODISTAT = new FinderPath(FeComuneModelImpl.ENTITY_CACHE_ENABLED, - FeComuneModelImpl.FINDER_CACHE_ENABLED, FeComuneImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByCodIstat", - new String[] { String.class.getName() }, - FeComuneModelImpl.CODISTAT_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_CODISTAT = new FinderPath(FeComuneModelImpl.ENTITY_CACHE_ENABLED, - FeComuneModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByCodIstat", - new String[] { String.class.getName() }); - - /** - * Returns the fe comune where codIstat = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchFeComuneException} if it could not be found. - * - * @param codIstat the cod istat - * @return the matching fe comune - * @throws it.tref.liferay.portos.importazione.NoSuchFeComuneException if a matching fe comune could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeComune findByCodIstat(String codIstat) - throws NoSuchFeComuneException, SystemException { - FeComune feComune = fetchByCodIstat(codIstat); - - if (feComune == null) { - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("codIstat="); - msg.append(codIstat); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchFeComuneException(msg.toString()); - } - - return feComune; - } - - /** - * Returns the fe comune where codIstat = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codIstat the cod istat - * @return the matching fe comune, or null if a matching fe comune could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeComune fetchByCodIstat(String codIstat) throws SystemException { - return fetchByCodIstat(codIstat, true); - } - - /** - * Returns the fe comune where codIstat = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codIstat the cod istat - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe comune, or null if a matching fe comune could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeComune fetchByCodIstat(String codIstat, boolean retrieveFromCache) - throws SystemException { - Object[] finderArgs = new Object[] { codIstat }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_CODISTAT, - finderArgs, this); - } - - if (result instanceof FeComune) { - FeComune feComune = (FeComune)result; - - if (!Validator.equals(codIstat, feComune.getCodIstat())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_SELECT_FECOMUNE_WHERE); - - boolean bindCodIstat = false; - - if (codIstat == null) { - query.append(_FINDER_COLUMN_CODISTAT_CODISTAT_1); - } - else if (codIstat.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_CODISTAT_CODISTAT_3); - } - else { - bindCodIstat = true; - - query.append(_FINDER_COLUMN_CODISTAT_CODISTAT_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindCodIstat) { - qPos.add(codIstat); - } - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODISTAT, - finderArgs, list); - } - else { - FeComune feComune = list.get(0); - - result = feComune; - - cacheResult(feComune); - - if ((feComune.getCodIstat() == null) || - !feComune.getCodIstat().equals(codIstat)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODISTAT, - finderArgs, feComune); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODISTAT, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (FeComune)result; - } - } - - /** - * Removes the fe comune where codIstat = ? from the database. - * - * @param codIstat the cod istat - * @return the fe comune that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public FeComune removeByCodIstat(String codIstat) - throws NoSuchFeComuneException, SystemException { - FeComune feComune = findByCodIstat(codIstat); - - return remove(feComune); - } - - /** - * Returns the number of fe comunes where codIstat = ?. - * - * @param codIstat the cod istat - * @return the number of matching fe comunes - * @throws SystemException if a system exception occurred - */ - @Override - public int countByCodIstat(String codIstat) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_CODISTAT; - - Object[] finderArgs = new Object[] { codIstat }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_FECOMUNE_WHERE); - - boolean bindCodIstat = false; - - if (codIstat == null) { - query.append(_FINDER_COLUMN_CODISTAT_CODISTAT_1); - } - else if (codIstat.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_CODISTAT_CODISTAT_3); - } - else { - bindCodIstat = true; - - query.append(_FINDER_COLUMN_CODISTAT_CODISTAT_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindCodIstat) { - qPos.add(codIstat); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_CODISTAT_CODISTAT_1 = "feComune.codIstat IS NULL"; - private static final String _FINDER_COLUMN_CODISTAT_CODISTAT_2 = "feComune.codIstat = ?"; - private static final String _FINDER_COLUMN_CODISTAT_CODISTAT_3 = "(feComune.codIstat IS NULL OR feComune.codIstat = '')"; - public static final FinderPath FINDER_PATH_FETCH_BY_CODCATASTALE = new FinderPath(FeComuneModelImpl.ENTITY_CACHE_ENABLED, - FeComuneModelImpl.FINDER_CACHE_ENABLED, FeComuneImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByCodCatastale", - new String[] { String.class.getName() }, - FeComuneModelImpl.CODCATASTALE_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_CODCATASTALE = new FinderPath(FeComuneModelImpl.ENTITY_CACHE_ENABLED, - FeComuneModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByCodCatastale", - new String[] { String.class.getName() }); - - /** - * Returns the fe comune where codCatastale = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchFeComuneException} if it could not be found. - * - * @param codCatastale the cod catastale - * @return the matching fe comune - * @throws it.tref.liferay.portos.importazione.NoSuchFeComuneException if a matching fe comune could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeComune findByCodCatastale(String codCatastale) - throws NoSuchFeComuneException, SystemException { - FeComune feComune = fetchByCodCatastale(codCatastale); - - if (feComune == null) { - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("codCatastale="); - msg.append(codCatastale); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchFeComuneException(msg.toString()); - } - - return feComune; - } - - /** - * Returns the fe comune where codCatastale = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codCatastale the cod catastale - * @return the matching fe comune, or null if a matching fe comune could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeComune fetchByCodCatastale(String codCatastale) - throws SystemException { - return fetchByCodCatastale(codCatastale, true); - } - - /** - * Returns the fe comune where codCatastale = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codCatastale the cod catastale - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe comune, or null if a matching fe comune could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeComune fetchByCodCatastale(String codCatastale, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { codCatastale }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_CODCATASTALE, - finderArgs, this); - } - - if (result instanceof FeComune) { - FeComune feComune = (FeComune)result; - - if (!Validator.equals(codCatastale, feComune.getCodCatastale())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_SELECT_FECOMUNE_WHERE); - - boolean bindCodCatastale = false; - - if (codCatastale == null) { - query.append(_FINDER_COLUMN_CODCATASTALE_CODCATASTALE_1); - } - else if (codCatastale.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_CODCATASTALE_CODCATASTALE_3); - } - else { - bindCodCatastale = true; - - query.append(_FINDER_COLUMN_CODCATASTALE_CODCATASTALE_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindCodCatastale) { - qPos.add(codCatastale); - } - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODCATASTALE, - finderArgs, list); - } - else { - FeComune feComune = list.get(0); - - result = feComune; - - cacheResult(feComune); - - if ((feComune.getCodCatastale() == null) || - !feComune.getCodCatastale().equals(codCatastale)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODCATASTALE, - finderArgs, feComune); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODCATASTALE, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (FeComune)result; - } - } - - /** - * Removes the fe comune where codCatastale = ? from the database. - * - * @param codCatastale the cod catastale - * @return the fe comune that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public FeComune removeByCodCatastale(String codCatastale) - throws NoSuchFeComuneException, SystemException { - FeComune feComune = findByCodCatastale(codCatastale); - - return remove(feComune); - } - - /** - * Returns the number of fe comunes where codCatastale = ?. - * - * @param codCatastale the cod catastale - * @return the number of matching fe comunes - * @throws SystemException if a system exception occurred - */ - @Override - public int countByCodCatastale(String codCatastale) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_CODCATASTALE; - - Object[] finderArgs = new Object[] { codCatastale }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_FECOMUNE_WHERE); - - boolean bindCodCatastale = false; - - if (codCatastale == null) { - query.append(_FINDER_COLUMN_CODCATASTALE_CODCATASTALE_1); - } - else if (codCatastale.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_CODCATASTALE_CODCATASTALE_3); - } - else { - bindCodCatastale = true; - - query.append(_FINDER_COLUMN_CODCATASTALE_CODCATASTALE_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindCodCatastale) { - qPos.add(codCatastale); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_CODCATASTALE_CODCATASTALE_1 = "feComune.codCatastale IS NULL"; - private static final String _FINDER_COLUMN_CODCATASTALE_CODCATASTALE_2 = "feComune.codCatastale = ?"; - private static final String _FINDER_COLUMN_CODCATASTALE_CODCATASTALE_3 = "(feComune.codCatastale IS NULL OR feComune.codCatastale = '')"; - - public FeComunePersistenceImpl() { - setModelClass(FeComune.class); - } - - /** - * Caches the fe comune in the entity cache if it is enabled. - * - * @param feComune the fe comune - */ - @Override - public void cacheResult(FeComune feComune) { - EntityCacheUtil.putResult(FeComuneModelImpl.ENTITY_CACHE_ENABLED, - FeComuneImpl.class, feComune.getPrimaryKey(), feComune); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODISTAT, - new Object[] { feComune.getCodIstat() }, feComune); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODCATASTALE, - new Object[] { feComune.getCodCatastale() }, feComune); - - feComune.resetOriginalValues(); - } - - /** - * Caches the fe comunes in the entity cache if it is enabled. - * - * @param feComunes the fe comunes - */ - @Override - public void cacheResult(List feComunes) { - for (FeComune feComune : feComunes) { - if (EntityCacheUtil.getResult( - FeComuneModelImpl.ENTITY_CACHE_ENABLED, - FeComuneImpl.class, feComune.getPrimaryKey()) == null) { - cacheResult(feComune); - } - else { - feComune.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all fe comunes. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(FeComuneImpl.class.getName()); - } - - EntityCacheUtil.clearCache(FeComuneImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the fe comune. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(FeComune feComune) { - EntityCacheUtil.removeResult(FeComuneModelImpl.ENTITY_CACHE_ENABLED, - FeComuneImpl.class, feComune.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(feComune); - } - - @Override - public void clearCache(List feComunes) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (FeComune feComune : feComunes) { - EntityCacheUtil.removeResult(FeComuneModelImpl.ENTITY_CACHE_ENABLED, - FeComuneImpl.class, feComune.getPrimaryKey()); - - clearUniqueFindersCache(feComune); - } - } - - protected void cacheUniqueFindersCache(FeComune feComune) { - if (feComune.isNew()) { - Object[] args = new Object[] { feComune.getCodIstat() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_CODISTAT, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODISTAT, args, - feComune); - - args = new Object[] { feComune.getCodCatastale() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_CODCATASTALE, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODCATASTALE, args, - feComune); - } - else { - FeComuneModelImpl feComuneModelImpl = (FeComuneModelImpl)feComune; - - if ((feComuneModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_CODISTAT.getColumnBitmask()) != 0) { - Object[] args = new Object[] { feComune.getCodIstat() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_CODISTAT, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODISTAT, args, - feComune); - } - - if ((feComuneModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_CODCATASTALE.getColumnBitmask()) != 0) { - Object[] args = new Object[] { feComune.getCodCatastale() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_CODCATASTALE, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODCATASTALE, - args, feComune); - } - } - } - - protected void clearUniqueFindersCache(FeComune feComune) { - FeComuneModelImpl feComuneModelImpl = (FeComuneModelImpl)feComune; - - Object[] args = new Object[] { feComune.getCodIstat() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CODISTAT, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODISTAT, args); - - if ((feComuneModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_CODISTAT.getColumnBitmask()) != 0) { - args = new Object[] { feComuneModelImpl.getOriginalCodIstat() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CODISTAT, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODISTAT, args); - } - - args = new Object[] { feComune.getCodCatastale() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CODCATASTALE, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODCATASTALE, args); - - if ((feComuneModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_CODCATASTALE.getColumnBitmask()) != 0) { - args = new Object[] { feComuneModelImpl.getOriginalCodCatastale() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CODCATASTALE, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODCATASTALE, args); - } - } - - /** - * Creates a new fe comune with the primary key. Does not add the fe comune to the database. - * - * @param comuneId the primary key for the new fe comune - * @return the new fe comune - */ - @Override - public FeComune create(long comuneId) { - FeComune feComune = new FeComuneImpl(); - - feComune.setNew(true); - feComune.setPrimaryKey(comuneId); - - return feComune; - } - - /** - * Removes the fe comune with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param comuneId the primary key of the fe comune - * @return the fe comune that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchFeComuneException if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeComune remove(long comuneId) - throws NoSuchFeComuneException, SystemException { - return remove((Serializable)comuneId); - } - - /** - * Removes the fe comune with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the fe comune - * @return the fe comune that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchFeComuneException if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeComune remove(Serializable primaryKey) - throws NoSuchFeComuneException, SystemException { - Session session = null; - - try { - session = openSession(); - - FeComune feComune = (FeComune)session.get(FeComuneImpl.class, - primaryKey); - - if (feComune == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchFeComuneException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(feComune); - } - catch (NoSuchFeComuneException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected FeComune removeImpl(FeComune feComune) throws SystemException { - feComune = toUnwrappedModel(feComune); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(feComune)) { - feComune = (FeComune)session.get(FeComuneImpl.class, - feComune.getPrimaryKeyObj()); - } - - if (feComune != null) { - session.delete(feComune); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (feComune != null) { - clearCache(feComune); - } - - return feComune; - } - - @Override - public FeComune updateImpl( - it.tref.liferay.portos.importazione.model.FeComune feComune) - throws SystemException { - feComune = toUnwrappedModel(feComune); - - boolean isNew = feComune.isNew(); - - Session session = null; - - try { - session = openSession(); - - if (feComune.isNew()) { - session.save(feComune); - - feComune.setNew(false); - } - else { - session.merge(feComune); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !FeComuneModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - EntityCacheUtil.putResult(FeComuneModelImpl.ENTITY_CACHE_ENABLED, - FeComuneImpl.class, feComune.getPrimaryKey(), feComune); - - clearUniqueFindersCache(feComune); - cacheUniqueFindersCache(feComune); - - return feComune; - } - - protected FeComune toUnwrappedModel(FeComune feComune) { - if (feComune instanceof FeComuneImpl) { - return feComune; - } - - FeComuneImpl feComuneImpl = new FeComuneImpl(); - - feComuneImpl.setNew(feComune.isNew()); - feComuneImpl.setPrimaryKey(feComune.getPrimaryKey()); - - feComuneImpl.setComuneId(feComune.getComuneId()); - feComuneImpl.setProvinciaId(feComune.getProvinciaId()); - feComuneImpl.setCodIstat(feComune.getCodIstat()); - feComuneImpl.setCodCatastale(feComune.getCodCatastale()); - feComuneImpl.setDescLong(feComune.getDescLong()); - feComuneImpl.setEmailSuap(feComune.getEmailSuap()); - - return feComuneImpl; - } - - /** - * Returns the fe comune with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the fe comune - * @return the fe comune - * @throws it.tref.liferay.portos.importazione.NoSuchFeComuneException if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeComune findByPrimaryKey(Serializable primaryKey) - throws NoSuchFeComuneException, SystemException { - FeComune feComune = fetchByPrimaryKey(primaryKey); - - if (feComune == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchFeComuneException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return feComune; - } - - /** - * Returns the fe comune with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchFeComuneException} if it could not be found. - * - * @param comuneId the primary key of the fe comune - * @return the fe comune - * @throws it.tref.liferay.portos.importazione.NoSuchFeComuneException if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeComune findByPrimaryKey(long comuneId) - throws NoSuchFeComuneException, SystemException { - return findByPrimaryKey((Serializable)comuneId); - } - - /** - * Returns the fe comune with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the fe comune - * @return the fe comune, or null if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeComune fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - FeComune feComune = (FeComune)EntityCacheUtil.getResult(FeComuneModelImpl.ENTITY_CACHE_ENABLED, - FeComuneImpl.class, primaryKey); - - if (feComune == _nullFeComune) { - return null; - } - - if (feComune == null) { - Session session = null; - - try { - session = openSession(); - - feComune = (FeComune)session.get(FeComuneImpl.class, primaryKey); - - if (feComune != null) { - cacheResult(feComune); - } - else { - EntityCacheUtil.putResult(FeComuneModelImpl.ENTITY_CACHE_ENABLED, - FeComuneImpl.class, primaryKey, _nullFeComune); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(FeComuneModelImpl.ENTITY_CACHE_ENABLED, - FeComuneImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return feComune; - } - - /** - * Returns the fe comune with the primary key or returns null if it could not be found. - * - * @param comuneId the primary key of the fe comune - * @return the fe comune, or null if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeComune fetchByPrimaryKey(long comuneId) throws SystemException { - return fetchByPrimaryKey((Serializable)comuneId); - } - - /** - * Returns all the fe comunes. - * - * @return the fe comunes - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the fe comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe comunes - * @param end the upper bound of the range of fe comunes (not inclusive) - * @return the range of fe comunes - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the fe comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe comunes - * @param end the upper bound of the range of fe comunes (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of fe comunes - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_FECOMUNE); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_FECOMUNE; - - if (pagination) { - sql = sql.concat(FeComuneModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the fe comunes from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (FeComune feComune : findAll()) { - remove(feComune); - } - } - - /** - * Returns the number of fe comunes. - * - * @return the number of fe comunes - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_FECOMUNE); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - /** - * Initializes the fe comune persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.importazione.model.FeComune"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(FeComuneImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_FECOMUNE = "SELECT feComune FROM FeComune feComune"; - private static final String _SQL_SELECT_FECOMUNE_WHERE = "SELECT feComune FROM FeComune feComune WHERE "; - private static final String _SQL_COUNT_FECOMUNE = "SELECT COUNT(feComune) FROM FeComune feComune"; - private static final String _SQL_COUNT_FECOMUNE_WHERE = "SELECT COUNT(feComune) FROM FeComune feComune WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "feComune."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No FeComune exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No FeComune exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(FeComunePersistenceImpl.class); - private static FeComune _nullFeComune = new FeComuneImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullFeComuneCacheModel; - } - }; - - private static CacheModel _nullFeComuneCacheModel = new CacheModel() { - @Override - public FeComune toEntityModel() { - return _nullFeComune; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/FeDettPraticaPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/FeDettPraticaPersistenceImpl.java deleted file mode 100644 index 3d3f5e8c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/FeDettPraticaPersistenceImpl.java +++ /dev/null @@ -1,1858 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.SetUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.kernel.uuid.PortalUUIDUtil; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException; -import it.tref.liferay.portos.importazione.model.FeDettPratica; -import it.tref.liferay.portos.importazione.model.impl.FeDettPraticaImpl; -import it.tref.liferay.portos.importazione.model.impl.FeDettPraticaModelImpl; -import it.tref.liferay.portos.importazione.service.persistence.FeDettPraticaPersistence; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Set; - -/** - * The persistence implementation for the fe dett pratica service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see FeDettPraticaPersistence - * @see FeDettPraticaUtil - * @generated - */ -public class FeDettPraticaPersistenceImpl extends BasePersistenceImpl - implements FeDettPraticaPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link FeDettPraticaUtil} to access the fe dett pratica persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = FeDettPraticaImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(FeDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeDettPraticaModelImpl.FINDER_CACHE_ENABLED, - FeDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(FeDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeDettPraticaModelImpl.FINDER_CACHE_ENABLED, - FeDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(FeDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeDettPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID = new FinderPath(FeDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeDettPraticaModelImpl.FINDER_CACHE_ENABLED, - FeDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByUuid", - new String[] { - String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID = new FinderPath(FeDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeDettPraticaModelImpl.FINDER_CACHE_ENABLED, - FeDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByUuid", new String[] { String.class.getName() }, - FeDettPraticaModelImpl.UUID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID = new FinderPath(FeDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeDettPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid", - new String[] { String.class.getName() }); - - /** - * Returns all the fe dett praticas where uuid = ?. - * - * @param uuid the uuid - * @return the matching fe dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid) - throws SystemException { - return findByUuid(uuid, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the fe dett praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of fe dett praticas - * @param end the upper bound of the range of fe dett praticas (not inclusive) - * @return the range of matching fe dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end) - throws SystemException { - return findByUuid(uuid, start, end, null); - } - - /** - * Returns an ordered range of all the fe dett praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of fe dett praticas - * @param end the upper bound of the range of fe dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (FeDettPratica feDettPratica : list) { - if (!Validator.equals(uuid, feDettPratica.getUuid())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_FEDETTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(FeDettPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first fe dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica findByUuid_First(String uuid, - OrderByComparator orderByComparator) - throws NoSuchFeDettPraticaException, SystemException { - FeDettPratica feDettPratica = fetchByUuid_First(uuid, orderByComparator); - - if (feDettPratica != null) { - return feDettPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFeDettPraticaException(msg.toString()); - } - - /** - * Returns the first fe dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica fetchByUuid_First(String uuid, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid(uuid, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last fe dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica findByUuid_Last(String uuid, - OrderByComparator orderByComparator) - throws NoSuchFeDettPraticaException, SystemException { - FeDettPratica feDettPratica = fetchByUuid_Last(uuid, orderByComparator); - - if (feDettPratica != null) { - return feDettPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFeDettPraticaException(msg.toString()); - } - - /** - * Returns the last fe dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica fetchByUuid_Last(String uuid, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid(uuid); - - if (count == 0) { - return null; - } - - List list = findByUuid(uuid, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the fe dett praticas before and after the current fe dett pratica in the ordered set where uuid = ?. - * - * @param dettPraticaId the primary key of the current fe dett pratica - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica[] findByUuid_PrevAndNext(long dettPraticaId, - String uuid, OrderByComparator orderByComparator) - throws NoSuchFeDettPraticaException, SystemException { - FeDettPratica feDettPratica = findByPrimaryKey(dettPraticaId); - - Session session = null; - - try { - session = openSession(); - - FeDettPratica[] array = new FeDettPraticaImpl[3]; - - array[0] = getByUuid_PrevAndNext(session, feDettPratica, uuid, - orderByComparator, true); - - array[1] = feDettPratica; - - array[2] = getByUuid_PrevAndNext(session, feDettPratica, uuid, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected FeDettPratica getByUuid_PrevAndNext(Session session, - FeDettPratica feDettPratica, String uuid, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_FEDETTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(FeDettPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(feDettPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the fe dett praticas where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid(String uuid) throws SystemException { - for (FeDettPratica feDettPratica : findByUuid(uuid, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(feDettPratica); - } - } - - /** - * Returns the number of fe dett praticas where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching fe dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid(String uuid) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID; - - Object[] finderArgs = new Object[] { uuid }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_FEDETTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_UUID_1 = "feDettPratica.uuid IS NULL"; - private static final String _FINDER_COLUMN_UUID_UUID_2 = "feDettPratica.uuid = ?"; - private static final String _FINDER_COLUMN_UUID_UUID_3 = "(feDettPratica.uuid IS NULL OR feDettPratica.uuid = '')"; - public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G = new FinderPath(FeDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeDettPraticaModelImpl.FINDER_CACHE_ENABLED, - FeDettPraticaImpl.class, FINDER_CLASS_NAME_ENTITY, "fetchByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }, - FeDettPraticaModelImpl.UUID_COLUMN_BITMASK | - FeDettPraticaModelImpl.GROUPID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G = new FinderPath(FeDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeDettPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns the fe dett pratica where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching fe dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica findByUUID_G(String uuid, long groupId) - throws NoSuchFeDettPraticaException, SystemException { - FeDettPratica feDettPratica = fetchByUUID_G(uuid, groupId); - - if (feDettPratica == null) { - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchFeDettPraticaException(msg.toString()); - } - - return feDettPratica; - } - - /** - * Returns the fe dett pratica where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica fetchByUUID_G(String uuid, long groupId) - throws SystemException { - return fetchByUUID_G(uuid, groupId, true); - } - - /** - * Returns the fe dett pratica where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica fetchByUUID_G(String uuid, long groupId, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { uuid, groupId }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, this); - } - - if (result instanceof FeDettPratica) { - FeDettPratica feDettPratica = (FeDettPratica)result; - - if (!Validator.equals(uuid, feDettPratica.getUuid()) || - (groupId != feDettPratica.getGroupId())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_SELECT_FEDETTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, list); - } - else { - FeDettPratica feDettPratica = list.get(0); - - result = feDettPratica; - - cacheResult(feDettPratica); - - if ((feDettPratica.getUuid() == null) || - !feDettPratica.getUuid().equals(uuid) || - (feDettPratica.getGroupId() != groupId)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, feDettPratica); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (FeDettPratica)result; - } - } - - /** - * Removes the fe dett pratica where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the fe dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica removeByUUID_G(String uuid, long groupId) - throws NoSuchFeDettPraticaException, SystemException { - FeDettPratica feDettPratica = findByUUID_G(uuid, groupId); - - return remove(feDettPratica); - } - - /** - * Returns the number of fe dett praticas where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching fe dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUUID_G(String uuid, long groupId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_G; - - Object[] finderArgs = new Object[] { uuid, groupId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_FEDETTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_G_UUID_1 = "feDettPratica.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_2 = "feDettPratica.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_3 = "(feDettPratica.uuid IS NULL OR feDettPratica.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_G_GROUPID_2 = "feDettPratica.groupId = ?"; - public static final FinderPath FINDER_PATH_FETCH_BY_CODPRATICASUAP = new FinderPath(FeDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeDettPraticaModelImpl.FINDER_CACHE_ENABLED, - FeDettPraticaImpl.class, FINDER_CLASS_NAME_ENTITY, - "fetchByCodPraticaSuap", new String[] { String.class.getName() }, - FeDettPraticaModelImpl.CODPRATICASUAP_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_CODPRATICASUAP = new FinderPath(FeDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeDettPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByCodPraticaSuap", - new String[] { String.class.getName() }); - - /** - * Returns the fe dett pratica where codPraticaSuap = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException} if it could not be found. - * - * @param codPraticaSuap the cod pratica suap - * @return the matching fe dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica findByCodPraticaSuap(String codPraticaSuap) - throws NoSuchFeDettPraticaException, SystemException { - FeDettPratica feDettPratica = fetchByCodPraticaSuap(codPraticaSuap); - - if (feDettPratica == null) { - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("codPraticaSuap="); - msg.append(codPraticaSuap); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchFeDettPraticaException(msg.toString()); - } - - return feDettPratica; - } - - /** - * Returns the fe dett pratica where codPraticaSuap = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codPraticaSuap the cod pratica suap - * @return the matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica fetchByCodPraticaSuap(String codPraticaSuap) - throws SystemException { - return fetchByCodPraticaSuap(codPraticaSuap, true); - } - - /** - * Returns the fe dett pratica where codPraticaSuap = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codPraticaSuap the cod pratica suap - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica fetchByCodPraticaSuap(String codPraticaSuap, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { codPraticaSuap }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_CODPRATICASUAP, - finderArgs, this); - } - - if (result instanceof FeDettPratica) { - FeDettPratica feDettPratica = (FeDettPratica)result; - - if (!Validator.equals(codPraticaSuap, - feDettPratica.getCodPraticaSuap())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_SELECT_FEDETTPRATICA_WHERE); - - boolean bindCodPraticaSuap = false; - - if (codPraticaSuap == null) { - query.append(_FINDER_COLUMN_CODPRATICASUAP_CODPRATICASUAP_1); - } - else if (codPraticaSuap.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_CODPRATICASUAP_CODPRATICASUAP_3); - } - else { - bindCodPraticaSuap = true; - - query.append(_FINDER_COLUMN_CODPRATICASUAP_CODPRATICASUAP_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindCodPraticaSuap) { - qPos.add(codPraticaSuap); - } - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODPRATICASUAP, - finderArgs, list); - } - else { - FeDettPratica feDettPratica = list.get(0); - - result = feDettPratica; - - cacheResult(feDettPratica); - - if ((feDettPratica.getCodPraticaSuap() == null) || - !feDettPratica.getCodPraticaSuap() - .equals(codPraticaSuap)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODPRATICASUAP, - finderArgs, feDettPratica); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODPRATICASUAP, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (FeDettPratica)result; - } - } - - /** - * Removes the fe dett pratica where codPraticaSuap = ? from the database. - * - * @param codPraticaSuap the cod pratica suap - * @return the fe dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica removeByCodPraticaSuap(String codPraticaSuap) - throws NoSuchFeDettPraticaException, SystemException { - FeDettPratica feDettPratica = findByCodPraticaSuap(codPraticaSuap); - - return remove(feDettPratica); - } - - /** - * Returns the number of fe dett praticas where codPraticaSuap = ?. - * - * @param codPraticaSuap the cod pratica suap - * @return the number of matching fe dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByCodPraticaSuap(String codPraticaSuap) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_CODPRATICASUAP; - - Object[] finderArgs = new Object[] { codPraticaSuap }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_FEDETTPRATICA_WHERE); - - boolean bindCodPraticaSuap = false; - - if (codPraticaSuap == null) { - query.append(_FINDER_COLUMN_CODPRATICASUAP_CODPRATICASUAP_1); - } - else if (codPraticaSuap.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_CODPRATICASUAP_CODPRATICASUAP_3); - } - else { - bindCodPraticaSuap = true; - - query.append(_FINDER_COLUMN_CODPRATICASUAP_CODPRATICASUAP_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindCodPraticaSuap) { - qPos.add(codPraticaSuap); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_CODPRATICASUAP_CODPRATICASUAP_1 = "feDettPratica.codPraticaSuap IS NULL"; - private static final String _FINDER_COLUMN_CODPRATICASUAP_CODPRATICASUAP_2 = "feDettPratica.codPraticaSuap = ?"; - private static final String _FINDER_COLUMN_CODPRATICASUAP_CODPRATICASUAP_3 = "(feDettPratica.codPraticaSuap IS NULL OR feDettPratica.codPraticaSuap = '')"; - - public FeDettPraticaPersistenceImpl() { - setModelClass(FeDettPratica.class); - } - - /** - * Caches the fe dett pratica in the entity cache if it is enabled. - * - * @param feDettPratica the fe dett pratica - */ - @Override - public void cacheResult(FeDettPratica feDettPratica) { - EntityCacheUtil.putResult(FeDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeDettPraticaImpl.class, feDettPratica.getPrimaryKey(), - feDettPratica); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - new Object[] { feDettPratica.getUuid(), feDettPratica.getGroupId() }, - feDettPratica); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODPRATICASUAP, - new Object[] { feDettPratica.getCodPraticaSuap() }, feDettPratica); - - feDettPratica.resetOriginalValues(); - } - - /** - * Caches the fe dett praticas in the entity cache if it is enabled. - * - * @param feDettPraticas the fe dett praticas - */ - @Override - public void cacheResult(List feDettPraticas) { - for (FeDettPratica feDettPratica : feDettPraticas) { - if (EntityCacheUtil.getResult( - FeDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeDettPraticaImpl.class, feDettPratica.getPrimaryKey()) == null) { - cacheResult(feDettPratica); - } - else { - feDettPratica.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all fe dett praticas. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(FeDettPraticaImpl.class.getName()); - } - - EntityCacheUtil.clearCache(FeDettPraticaImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the fe dett pratica. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(FeDettPratica feDettPratica) { - EntityCacheUtil.removeResult(FeDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeDettPraticaImpl.class, feDettPratica.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(feDettPratica); - } - - @Override - public void clearCache(List feDettPraticas) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (FeDettPratica feDettPratica : feDettPraticas) { - EntityCacheUtil.removeResult(FeDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeDettPraticaImpl.class, feDettPratica.getPrimaryKey()); - - clearUniqueFindersCache(feDettPratica); - } - } - - protected void cacheUniqueFindersCache(FeDettPratica feDettPratica) { - if (feDettPratica.isNew()) { - Object[] args = new Object[] { - feDettPratica.getUuid(), feDettPratica.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - feDettPratica); - - args = new Object[] { feDettPratica.getCodPraticaSuap() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_CODPRATICASUAP, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODPRATICASUAP, - args, feDettPratica); - } - else { - FeDettPraticaModelImpl feDettPraticaModelImpl = (FeDettPraticaModelImpl)feDettPratica; - - if ((feDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - feDettPratica.getUuid(), feDettPratica.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - feDettPratica); - } - - if ((feDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_CODPRATICASUAP.getColumnBitmask()) != 0) { - Object[] args = new Object[] { feDettPratica.getCodPraticaSuap() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_CODPRATICASUAP, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODPRATICASUAP, - args, feDettPratica); - } - } - } - - protected void clearUniqueFindersCache(FeDettPratica feDettPratica) { - FeDettPraticaModelImpl feDettPraticaModelImpl = (FeDettPraticaModelImpl)feDettPratica; - - Object[] args = new Object[] { - feDettPratica.getUuid(), feDettPratica.getGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - - if ((feDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - args = new Object[] { - feDettPraticaModelImpl.getOriginalUuid(), - feDettPraticaModelImpl.getOriginalGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - } - - args = new Object[] { feDettPratica.getCodPraticaSuap() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CODPRATICASUAP, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODPRATICASUAP, args); - - if ((feDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_CODPRATICASUAP.getColumnBitmask()) != 0) { - args = new Object[] { - feDettPraticaModelImpl.getOriginalCodPraticaSuap() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CODPRATICASUAP, - args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODPRATICASUAP, - args); - } - } - - /** - * Creates a new fe dett pratica with the primary key. Does not add the fe dett pratica to the database. - * - * @param dettPraticaId the primary key for the new fe dett pratica - * @return the new fe dett pratica - */ - @Override - public FeDettPratica create(long dettPraticaId) { - FeDettPratica feDettPratica = new FeDettPraticaImpl(); - - feDettPratica.setNew(true); - feDettPratica.setPrimaryKey(dettPraticaId); - - String uuid = PortalUUIDUtil.generate(); - - feDettPratica.setUuid(uuid); - - return feDettPratica; - } - - /** - * Removes the fe dett pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param dettPraticaId the primary key of the fe dett pratica - * @return the fe dett pratica that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica remove(long dettPraticaId) - throws NoSuchFeDettPraticaException, SystemException { - return remove((Serializable)dettPraticaId); - } - - /** - * Removes the fe dett pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the fe dett pratica - * @return the fe dett pratica that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica remove(Serializable primaryKey) - throws NoSuchFeDettPraticaException, SystemException { - Session session = null; - - try { - session = openSession(); - - FeDettPratica feDettPratica = (FeDettPratica)session.get(FeDettPraticaImpl.class, - primaryKey); - - if (feDettPratica == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchFeDettPraticaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(feDettPratica); - } - catch (NoSuchFeDettPraticaException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected FeDettPratica removeImpl(FeDettPratica feDettPratica) - throws SystemException { - feDettPratica = toUnwrappedModel(feDettPratica); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(feDettPratica)) { - feDettPratica = (FeDettPratica)session.get(FeDettPraticaImpl.class, - feDettPratica.getPrimaryKeyObj()); - } - - if (feDettPratica != null) { - session.delete(feDettPratica); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (feDettPratica != null) { - clearCache(feDettPratica); - } - - return feDettPratica; - } - - @Override - public FeDettPratica updateImpl( - it.tref.liferay.portos.importazione.model.FeDettPratica feDettPratica) - throws SystemException { - feDettPratica = toUnwrappedModel(feDettPratica); - - boolean isNew = feDettPratica.isNew(); - - FeDettPraticaModelImpl feDettPraticaModelImpl = (FeDettPraticaModelImpl)feDettPratica; - - if (Validator.isNull(feDettPratica.getUuid())) { - String uuid = PortalUUIDUtil.generate(); - - feDettPratica.setUuid(uuid); - } - - Session session = null; - - try { - session = openSession(); - - if (feDettPratica.isNew()) { - session.save(feDettPratica); - - feDettPratica.setNew(false); - } - else { - session.merge(feDettPratica); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !FeDettPraticaModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((feDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - feDettPraticaModelImpl.getOriginalUuid() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - - args = new Object[] { feDettPraticaModelImpl.getUuid() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - } - } - - EntityCacheUtil.putResult(FeDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeDettPraticaImpl.class, feDettPratica.getPrimaryKey(), - feDettPratica); - - clearUniqueFindersCache(feDettPratica); - cacheUniqueFindersCache(feDettPratica); - - return feDettPratica; - } - - protected FeDettPratica toUnwrappedModel(FeDettPratica feDettPratica) { - if (feDettPratica instanceof FeDettPraticaImpl) { - return feDettPratica; - } - - FeDettPraticaImpl feDettPraticaImpl = new FeDettPraticaImpl(); - - feDettPraticaImpl.setNew(feDettPratica.isNew()); - feDettPraticaImpl.setPrimaryKey(feDettPratica.getPrimaryKey()); - - feDettPraticaImpl.setUuid(feDettPratica.getUuid()); - feDettPraticaImpl.setDettPraticaId(feDettPratica.getDettPraticaId()); - feDettPraticaImpl.setGroupId(feDettPratica.getGroupId()); - feDettPraticaImpl.setIntPraticaId(feDettPratica.getIntPraticaId()); - feDettPraticaImpl.setCodPraticaSuap(feDettPratica.getCodPraticaSuap()); - feDettPraticaImpl.setFineLavoriSceltaPrelievo(feDettPratica.isFineLavoriSceltaPrelievo()); - feDettPraticaImpl.setFPrelievoCalcestruzzo(feDettPratica.isFPrelievoCalcestruzzo()); - feDettPraticaImpl.setFPrelievoAcciaio(feDettPratica.isFPrelievoAcciaio()); - feDettPraticaImpl.setFPrelievoAltro(feDettPratica.isFPrelievoAltro()); - feDettPraticaImpl.setFineLavoriAlletiUlteriori(feDettPratica.isFineLavoriAlletiUlteriori()); - feDettPraticaImpl.setFNoCollaudoStatico(feDettPratica.isFNoCollaudoStatico()); - feDettPraticaImpl.setPagamentoId(feDettPratica.getPagamentoId()); - - return feDettPraticaImpl; - } - - /** - * Returns the fe dett pratica with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the fe dett pratica - * @return the fe dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica findByPrimaryKey(Serializable primaryKey) - throws NoSuchFeDettPraticaException, SystemException { - FeDettPratica feDettPratica = fetchByPrimaryKey(primaryKey); - - if (feDettPratica == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchFeDettPraticaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return feDettPratica; - } - - /** - * Returns the fe dett pratica with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException} if it could not be found. - * - * @param dettPraticaId the primary key of the fe dett pratica - * @return the fe dett pratica - * @throws it.tref.liferay.portos.importazione.NoSuchFeDettPraticaException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica findByPrimaryKey(long dettPraticaId) - throws NoSuchFeDettPraticaException, SystemException { - return findByPrimaryKey((Serializable)dettPraticaId); - } - - /** - * Returns the fe dett pratica with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the fe dett pratica - * @return the fe dett pratica, or null if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - FeDettPratica feDettPratica = (FeDettPratica)EntityCacheUtil.getResult(FeDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeDettPraticaImpl.class, primaryKey); - - if (feDettPratica == _nullFeDettPratica) { - return null; - } - - if (feDettPratica == null) { - Session session = null; - - try { - session = openSession(); - - feDettPratica = (FeDettPratica)session.get(FeDettPraticaImpl.class, - primaryKey); - - if (feDettPratica != null) { - cacheResult(feDettPratica); - } - else { - EntityCacheUtil.putResult(FeDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeDettPraticaImpl.class, primaryKey, _nullFeDettPratica); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(FeDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeDettPraticaImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return feDettPratica; - } - - /** - * Returns the fe dett pratica with the primary key or returns null if it could not be found. - * - * @param dettPraticaId the primary key of the fe dett pratica - * @return the fe dett pratica, or null if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica fetchByPrimaryKey(long dettPraticaId) - throws SystemException { - return fetchByPrimaryKey((Serializable)dettPraticaId); - } - - /** - * Returns all the fe dett praticas. - * - * @return the fe dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the fe dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe dett praticas - * @param end the upper bound of the range of fe dett praticas (not inclusive) - * @return the range of fe dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the fe dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe dett praticas - * @param end the upper bound of the range of fe dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of fe dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_FEDETTPRATICA); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_FEDETTPRATICA; - - if (pagination) { - sql = sql.concat(FeDettPraticaModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the fe dett praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (FeDettPratica feDettPratica : findAll()) { - remove(feDettPratica); - } - } - - /** - * Returns the number of fe dett praticas. - * - * @return the number of fe dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_FEDETTPRATICA); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - @Override - protected Set getBadColumnNames() { - return _badColumnNames; - } - - /** - * Initializes the fe dett pratica persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.importazione.model.FeDettPratica"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(FeDettPraticaImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_FEDETTPRATICA = "SELECT feDettPratica FROM FeDettPratica feDettPratica"; - private static final String _SQL_SELECT_FEDETTPRATICA_WHERE = "SELECT feDettPratica FROM FeDettPratica feDettPratica WHERE "; - private static final String _SQL_COUNT_FEDETTPRATICA = "SELECT COUNT(feDettPratica) FROM FeDettPratica feDettPratica"; - private static final String _SQL_COUNT_FEDETTPRATICA_WHERE = "SELECT COUNT(feDettPratica) FROM FeDettPratica feDettPratica WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "feDettPratica."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No FeDettPratica exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No FeDettPratica exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(FeDettPraticaPersistenceImpl.class); - private static Set _badColumnNames = SetUtil.fromArray(new String[] { - "uuid" - }); - private static FeDettPratica _nullFeDettPratica = new FeDettPraticaImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullFeDettPraticaCacheModel; - } - }; - - private static CacheModel _nullFeDettPraticaCacheModel = new CacheModel() { - @Override - public FeDettPratica toEntityModel() { - return _nullFeDettPratica; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/FeIntPraticaPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/FeIntPraticaPersistenceImpl.java deleted file mode 100644 index f0600a50..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/FeIntPraticaPersistenceImpl.java +++ /dev/null @@ -1,1578 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.SetUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.kernel.uuid.PortalUUIDUtil; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException; -import it.tref.liferay.portos.importazione.model.FeIntPratica; -import it.tref.liferay.portos.importazione.model.impl.FeIntPraticaImpl; -import it.tref.liferay.portos.importazione.model.impl.FeIntPraticaModelImpl; -import it.tref.liferay.portos.importazione.service.persistence.FeIntPraticaPersistence; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Set; - -/** - * The persistence implementation for the fe int pratica service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see FeIntPraticaPersistence - * @see FeIntPraticaUtil - * @generated - */ -public class FeIntPraticaPersistenceImpl extends BasePersistenceImpl - implements FeIntPraticaPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link FeIntPraticaUtil} to access the fe int pratica persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = FeIntPraticaImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(FeIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeIntPraticaModelImpl.FINDER_CACHE_ENABLED, FeIntPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(FeIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeIntPraticaModelImpl.FINDER_CACHE_ENABLED, FeIntPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(FeIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeIntPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID = new FinderPath(FeIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeIntPraticaModelImpl.FINDER_CACHE_ENABLED, FeIntPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByUuid", - new String[] { - String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID = new FinderPath(FeIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeIntPraticaModelImpl.FINDER_CACHE_ENABLED, FeIntPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByUuid", - new String[] { String.class.getName() }, - FeIntPraticaModelImpl.UUID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID = new FinderPath(FeIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeIntPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid", - new String[] { String.class.getName() }); - - /** - * Returns all the fe int praticas where uuid = ?. - * - * @param uuid the uuid - * @return the matching fe int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid) throws SystemException { - return findByUuid(uuid, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the fe int praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of fe int praticas - * @param end the upper bound of the range of fe int praticas (not inclusive) - * @return the range of matching fe int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end) - throws SystemException { - return findByUuid(uuid, start, end, null); - } - - /** - * Returns an ordered range of all the fe int praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of fe int praticas - * @param end the upper bound of the range of fe int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (FeIntPratica feIntPratica : list) { - if (!Validator.equals(uuid, feIntPratica.getUuid())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_FEINTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(FeIntPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first fe int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeIntPratica findByUuid_First(String uuid, - OrderByComparator orderByComparator) - throws NoSuchFeIntPraticaException, SystemException { - FeIntPratica feIntPratica = fetchByUuid_First(uuid, orderByComparator); - - if (feIntPratica != null) { - return feIntPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFeIntPraticaException(msg.toString()); - } - - /** - * Returns the first fe int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe int pratica, or null if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeIntPratica fetchByUuid_First(String uuid, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid(uuid, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last fe int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeIntPratica findByUuid_Last(String uuid, - OrderByComparator orderByComparator) - throws NoSuchFeIntPraticaException, SystemException { - FeIntPratica feIntPratica = fetchByUuid_Last(uuid, orderByComparator); - - if (feIntPratica != null) { - return feIntPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFeIntPraticaException(msg.toString()); - } - - /** - * Returns the last fe int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe int pratica, or null if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeIntPratica fetchByUuid_Last(String uuid, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid(uuid); - - if (count == 0) { - return null; - } - - List list = findByUuid(uuid, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the fe int praticas before and after the current fe int pratica in the ordered set where uuid = ?. - * - * @param intPraticaId the primary key of the current fe int pratica - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeIntPratica[] findByUuid_PrevAndNext(long intPraticaId, - String uuid, OrderByComparator orderByComparator) - throws NoSuchFeIntPraticaException, SystemException { - FeIntPratica feIntPratica = findByPrimaryKey(intPraticaId); - - Session session = null; - - try { - session = openSession(); - - FeIntPratica[] array = new FeIntPraticaImpl[3]; - - array[0] = getByUuid_PrevAndNext(session, feIntPratica, uuid, - orderByComparator, true); - - array[1] = feIntPratica; - - array[2] = getByUuid_PrevAndNext(session, feIntPratica, uuid, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected FeIntPratica getByUuid_PrevAndNext(Session session, - FeIntPratica feIntPratica, String uuid, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_FEINTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(FeIntPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(feIntPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the fe int praticas where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid(String uuid) throws SystemException { - for (FeIntPratica feIntPratica : findByUuid(uuid, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(feIntPratica); - } - } - - /** - * Returns the number of fe int praticas where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching fe int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid(String uuid) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID; - - Object[] finderArgs = new Object[] { uuid }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_FEINTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_UUID_1 = "feIntPratica.uuid IS NULL"; - private static final String _FINDER_COLUMN_UUID_UUID_2 = "feIntPratica.uuid = ?"; - private static final String _FINDER_COLUMN_UUID_UUID_3 = "(feIntPratica.uuid IS NULL OR feIntPratica.uuid = '')"; - public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G = new FinderPath(FeIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeIntPraticaModelImpl.FINDER_CACHE_ENABLED, FeIntPraticaImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }, - FeIntPraticaModelImpl.UUID_COLUMN_BITMASK | - FeIntPraticaModelImpl.GROUPID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G = new FinderPath(FeIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeIntPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns the fe int pratica where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching fe int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeIntPratica findByUUID_G(String uuid, long groupId) - throws NoSuchFeIntPraticaException, SystemException { - FeIntPratica feIntPratica = fetchByUUID_G(uuid, groupId); - - if (feIntPratica == null) { - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchFeIntPraticaException(msg.toString()); - } - - return feIntPratica; - } - - /** - * Returns the fe int pratica where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching fe int pratica, or null if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeIntPratica fetchByUUID_G(String uuid, long groupId) - throws SystemException { - return fetchByUUID_G(uuid, groupId, true); - } - - /** - * Returns the fe int pratica where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe int pratica, or null if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeIntPratica fetchByUUID_G(String uuid, long groupId, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { uuid, groupId }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, this); - } - - if (result instanceof FeIntPratica) { - FeIntPratica feIntPratica = (FeIntPratica)result; - - if (!Validator.equals(uuid, feIntPratica.getUuid()) || - (groupId != feIntPratica.getGroupId())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_SELECT_FEINTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, list); - } - else { - FeIntPratica feIntPratica = list.get(0); - - result = feIntPratica; - - cacheResult(feIntPratica); - - if ((feIntPratica.getUuid() == null) || - !feIntPratica.getUuid().equals(uuid) || - (feIntPratica.getGroupId() != groupId)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, feIntPratica); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (FeIntPratica)result; - } - } - - /** - * Removes the fe int pratica where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the fe int pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public FeIntPratica removeByUUID_G(String uuid, long groupId) - throws NoSuchFeIntPraticaException, SystemException { - FeIntPratica feIntPratica = findByUUID_G(uuid, groupId); - - return remove(feIntPratica); - } - - /** - * Returns the number of fe int praticas where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching fe int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUUID_G(String uuid, long groupId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_G; - - Object[] finderArgs = new Object[] { uuid, groupId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_FEINTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_G_UUID_1 = "feIntPratica.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_2 = "feIntPratica.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_3 = "(feIntPratica.uuid IS NULL OR feIntPratica.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_G_GROUPID_2 = "feIntPratica.groupId = ?"; - - public FeIntPraticaPersistenceImpl() { - setModelClass(FeIntPratica.class); - } - - /** - * Caches the fe int pratica in the entity cache if it is enabled. - * - * @param feIntPratica the fe int pratica - */ - @Override - public void cacheResult(FeIntPratica feIntPratica) { - EntityCacheUtil.putResult(FeIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeIntPraticaImpl.class, feIntPratica.getPrimaryKey(), feIntPratica); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - new Object[] { feIntPratica.getUuid(), feIntPratica.getGroupId() }, - feIntPratica); - - feIntPratica.resetOriginalValues(); - } - - /** - * Caches the fe int praticas in the entity cache if it is enabled. - * - * @param feIntPraticas the fe int praticas - */ - @Override - public void cacheResult(List feIntPraticas) { - for (FeIntPratica feIntPratica : feIntPraticas) { - if (EntityCacheUtil.getResult( - FeIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeIntPraticaImpl.class, feIntPratica.getPrimaryKey()) == null) { - cacheResult(feIntPratica); - } - else { - feIntPratica.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all fe int praticas. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(FeIntPraticaImpl.class.getName()); - } - - EntityCacheUtil.clearCache(FeIntPraticaImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the fe int pratica. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(FeIntPratica feIntPratica) { - EntityCacheUtil.removeResult(FeIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeIntPraticaImpl.class, feIntPratica.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(feIntPratica); - } - - @Override - public void clearCache(List feIntPraticas) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (FeIntPratica feIntPratica : feIntPraticas) { - EntityCacheUtil.removeResult(FeIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeIntPraticaImpl.class, feIntPratica.getPrimaryKey()); - - clearUniqueFindersCache(feIntPratica); - } - } - - protected void cacheUniqueFindersCache(FeIntPratica feIntPratica) { - if (feIntPratica.isNew()) { - Object[] args = new Object[] { - feIntPratica.getUuid(), feIntPratica.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - feIntPratica); - } - else { - FeIntPraticaModelImpl feIntPraticaModelImpl = (FeIntPraticaModelImpl)feIntPratica; - - if ((feIntPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - feIntPratica.getUuid(), feIntPratica.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - feIntPratica); - } - } - } - - protected void clearUniqueFindersCache(FeIntPratica feIntPratica) { - FeIntPraticaModelImpl feIntPraticaModelImpl = (FeIntPraticaModelImpl)feIntPratica; - - Object[] args = new Object[] { - feIntPratica.getUuid(), feIntPratica.getGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - - if ((feIntPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - args = new Object[] { - feIntPraticaModelImpl.getOriginalUuid(), - feIntPraticaModelImpl.getOriginalGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - } - } - - /** - * Creates a new fe int pratica with the primary key. Does not add the fe int pratica to the database. - * - * @param intPraticaId the primary key for the new fe int pratica - * @return the new fe int pratica - */ - @Override - public FeIntPratica create(long intPraticaId) { - FeIntPratica feIntPratica = new FeIntPraticaImpl(); - - feIntPratica.setNew(true); - feIntPratica.setPrimaryKey(intPraticaId); - - String uuid = PortalUUIDUtil.generate(); - - feIntPratica.setUuid(uuid); - - return feIntPratica; - } - - /** - * Removes the fe int pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param intPraticaId the primary key of the fe int pratica - * @return the fe int pratica that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeIntPratica remove(long intPraticaId) - throws NoSuchFeIntPraticaException, SystemException { - return remove((Serializable)intPraticaId); - } - - /** - * Removes the fe int pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the fe int pratica - * @return the fe int pratica that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeIntPratica remove(Serializable primaryKey) - throws NoSuchFeIntPraticaException, SystemException { - Session session = null; - - try { - session = openSession(); - - FeIntPratica feIntPratica = (FeIntPratica)session.get(FeIntPraticaImpl.class, - primaryKey); - - if (feIntPratica == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchFeIntPraticaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(feIntPratica); - } - catch (NoSuchFeIntPraticaException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected FeIntPratica removeImpl(FeIntPratica feIntPratica) - throws SystemException { - feIntPratica = toUnwrappedModel(feIntPratica); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(feIntPratica)) { - feIntPratica = (FeIntPratica)session.get(FeIntPraticaImpl.class, - feIntPratica.getPrimaryKeyObj()); - } - - if (feIntPratica != null) { - session.delete(feIntPratica); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (feIntPratica != null) { - clearCache(feIntPratica); - } - - return feIntPratica; - } - - @Override - public FeIntPratica updateImpl( - it.tref.liferay.portos.importazione.model.FeIntPratica feIntPratica) - throws SystemException { - feIntPratica = toUnwrappedModel(feIntPratica); - - boolean isNew = feIntPratica.isNew(); - - FeIntPraticaModelImpl feIntPraticaModelImpl = (FeIntPraticaModelImpl)feIntPratica; - - if (Validator.isNull(feIntPratica.getUuid())) { - String uuid = PortalUUIDUtil.generate(); - - feIntPratica.setUuid(uuid); - } - - Session session = null; - - try { - session = openSession(); - - if (feIntPratica.isNew()) { - session.save(feIntPratica); - - feIntPratica.setNew(false); - } - else { - session.merge(feIntPratica); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !FeIntPraticaModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((feIntPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - feIntPraticaModelImpl.getOriginalUuid() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - - args = new Object[] { feIntPraticaModelImpl.getUuid() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - } - } - - EntityCacheUtil.putResult(FeIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeIntPraticaImpl.class, feIntPratica.getPrimaryKey(), feIntPratica); - - clearUniqueFindersCache(feIntPratica); - cacheUniqueFindersCache(feIntPratica); - - return feIntPratica; - } - - protected FeIntPratica toUnwrappedModel(FeIntPratica feIntPratica) { - if (feIntPratica instanceof FeIntPraticaImpl) { - return feIntPratica; - } - - FeIntPraticaImpl feIntPraticaImpl = new FeIntPraticaImpl(); - - feIntPraticaImpl.setNew(feIntPratica.isNew()); - feIntPraticaImpl.setPrimaryKey(feIntPratica.getPrimaryKey()); - - feIntPraticaImpl.setUuid(feIntPratica.getUuid()); - feIntPraticaImpl.setIntPraticaId(feIntPratica.getIntPraticaId()); - feIntPraticaImpl.setGroupId(feIntPratica.getGroupId()); - feIntPraticaImpl.setTipoPraticaId(feIntPratica.getTipoPraticaId()); - feIntPraticaImpl.setTerritorioId(feIntPratica.getTerritorioId()); - feIntPraticaImpl.setEdificiOrdinari(feIntPratica.isEdificiOrdinari()); - feIntPraticaImpl.setNoCollaudoStatico(feIntPratica.isNoCollaudoStatico()); - feIntPraticaImpl.setNoCollaudoStaticoInterLocale(feIntPratica.isNoCollaudoStaticoInterLocale()); - feIntPraticaImpl.setCodTipoIntervento(feIntPratica.getCodTipoIntervento()); - feIntPraticaImpl.setSottoTipoPraticaCod(feIntPratica.getSottoTipoPraticaCod()); - feIntPraticaImpl.setStatoOpere(feIntPratica.getStatoOpere()); - feIntPraticaImpl.setInizioLavoriImmediato(feIntPratica.isInizioLavoriImmediato()); - feIntPraticaImpl.setRelazioneGeologicaA5Check(feIntPratica.isRelazioneGeologicaA5Check()); - feIntPraticaImpl.setRelazioneGeotecnicaA6Check(feIntPratica.isRelazioneGeotecnicaA6Check()); - feIntPraticaImpl.setRelazioneSulleFondazioniA7Check(feIntPratica.isRelazioneSulleFondazioniA7Check()); - feIntPraticaImpl.setFascicoloDeiCalcoliA9Check(feIntPratica.isFascicoloDeiCalcoliA9Check()); - feIntPraticaImpl.setSchedaSinteticaGeologoA14Check(feIntPratica.isSchedaSinteticaGeologoA14Check()); - feIntPraticaImpl.setIdSoggettoDelegato(feIntPratica.getIdSoggettoDelegato()); - feIntPraticaImpl.setStatoPerecedente(feIntPratica.getStatoPerecedente()); - feIntPraticaImpl.setCheckTipologiaG(feIntPratica.isCheckTipologiaG()); - - return feIntPraticaImpl; - } - - /** - * Returns the fe int pratica with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the fe int pratica - * @return the fe int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeIntPratica findByPrimaryKey(Serializable primaryKey) - throws NoSuchFeIntPraticaException, SystemException { - FeIntPratica feIntPratica = fetchByPrimaryKey(primaryKey); - - if (feIntPratica == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchFeIntPraticaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return feIntPratica; - } - - /** - * Returns the fe int pratica with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException} if it could not be found. - * - * @param intPraticaId the primary key of the fe int pratica - * @return the fe int pratica - * @throws it.tref.liferay.portos.importazione.NoSuchFeIntPraticaException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeIntPratica findByPrimaryKey(long intPraticaId) - throws NoSuchFeIntPraticaException, SystemException { - return findByPrimaryKey((Serializable)intPraticaId); - } - - /** - * Returns the fe int pratica with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the fe int pratica - * @return the fe int pratica, or null if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeIntPratica fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - FeIntPratica feIntPratica = (FeIntPratica)EntityCacheUtil.getResult(FeIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeIntPraticaImpl.class, primaryKey); - - if (feIntPratica == _nullFeIntPratica) { - return null; - } - - if (feIntPratica == null) { - Session session = null; - - try { - session = openSession(); - - feIntPratica = (FeIntPratica)session.get(FeIntPraticaImpl.class, - primaryKey); - - if (feIntPratica != null) { - cacheResult(feIntPratica); - } - else { - EntityCacheUtil.putResult(FeIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeIntPraticaImpl.class, primaryKey, _nullFeIntPratica); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(FeIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeIntPraticaImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return feIntPratica; - } - - /** - * Returns the fe int pratica with the primary key or returns null if it could not be found. - * - * @param intPraticaId the primary key of the fe int pratica - * @return the fe int pratica, or null if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeIntPratica fetchByPrimaryKey(long intPraticaId) - throws SystemException { - return fetchByPrimaryKey((Serializable)intPraticaId); - } - - /** - * Returns all the fe int praticas. - * - * @return the fe int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the fe int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe int praticas - * @param end the upper bound of the range of fe int praticas (not inclusive) - * @return the range of fe int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the fe int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe int praticas - * @param end the upper bound of the range of fe int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of fe int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_FEINTPRATICA); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_FEINTPRATICA; - - if (pagination) { - sql = sql.concat(FeIntPraticaModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the fe int praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (FeIntPratica feIntPratica : findAll()) { - remove(feIntPratica); - } - } - - /** - * Returns the number of fe int praticas. - * - * @return the number of fe int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_FEINTPRATICA); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - @Override - protected Set getBadColumnNames() { - return _badColumnNames; - } - - /** - * Initializes the fe int pratica persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.importazione.model.FeIntPratica"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(FeIntPraticaImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_FEINTPRATICA = "SELECT feIntPratica FROM FeIntPratica feIntPratica"; - private static final String _SQL_SELECT_FEINTPRATICA_WHERE = "SELECT feIntPratica FROM FeIntPratica feIntPratica WHERE "; - private static final String _SQL_COUNT_FEINTPRATICA = "SELECT COUNT(feIntPratica) FROM FeIntPratica feIntPratica"; - private static final String _SQL_COUNT_FEINTPRATICA_WHERE = "SELECT COUNT(feIntPratica) FROM FeIntPratica feIntPratica WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "feIntPratica."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No FeIntPratica exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No FeIntPratica exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(FeIntPraticaPersistenceImpl.class); - private static Set _badColumnNames = SetUtil.fromArray(new String[] { - "uuid" - }); - private static FeIntPratica _nullFeIntPratica = new FeIntPraticaImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullFeIntPraticaCacheModel; - } - }; - - private static CacheModel _nullFeIntPraticaCacheModel = new CacheModel() { - @Override - public FeIntPratica toEntityModel() { - return _nullFeIntPratica; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/FePagamentoPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/FePagamentoPersistenceImpl.java deleted file mode 100644 index c01a7483..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/FePagamentoPersistenceImpl.java +++ /dev/null @@ -1,3419 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.SetUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.kernel.uuid.PortalUUIDUtil; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.importazione.NoSuchFePagamentoException; -import it.tref.liferay.portos.importazione.model.FePagamento; -import it.tref.liferay.portos.importazione.model.impl.FePagamentoImpl; -import it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl; -import it.tref.liferay.portos.importazione.service.persistence.FePagamentoPersistence; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Set; - -/** - * The persistence implementation for the fe pagamento service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see FePagamentoPersistence - * @see FePagamentoUtil - * @generated - */ -public class FePagamentoPersistenceImpl extends BasePersistenceImpl - implements FePagamentoPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link FePagamentoUtil} to access the fe pagamento persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = FePagamentoImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoModelImpl.FINDER_CACHE_ENABLED, FePagamentoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoModelImpl.FINDER_CACHE_ENABLED, FePagamentoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID = new FinderPath(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoModelImpl.FINDER_CACHE_ENABLED, FePagamentoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByUuid", - new String[] { - String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID = new FinderPath(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoModelImpl.FINDER_CACHE_ENABLED, FePagamentoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByUuid", - new String[] { String.class.getName() }, - FePagamentoModelImpl.UUID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID = new FinderPath(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid", - new String[] { String.class.getName() }); - - /** - * Returns all the fe pagamentos where uuid = ?. - * - * @param uuid the uuid - * @return the matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid) throws SystemException { - return findByUuid(uuid, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the fe pagamentos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end) - throws SystemException { - return findByUuid(uuid, start, end, null); - } - - /** - * Returns an ordered range of all the fe pagamentos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (FePagamento fePagamento : list) { - if (!Validator.equals(uuid, fePagamento.getUuid())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_FEPAGAMENTO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(FePagamentoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first fe pagamento in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento findByUuid_First(String uuid, - OrderByComparator orderByComparator) - throws NoSuchFePagamentoException, SystemException { - FePagamento fePagamento = fetchByUuid_First(uuid, orderByComparator); - - if (fePagamento != null) { - return fePagamento; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFePagamentoException(msg.toString()); - } - - /** - * Returns the first fe pagamento in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento fetchByUuid_First(String uuid, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid(uuid, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last fe pagamento in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento findByUuid_Last(String uuid, - OrderByComparator orderByComparator) - throws NoSuchFePagamentoException, SystemException { - FePagamento fePagamento = fetchByUuid_Last(uuid, orderByComparator); - - if (fePagamento != null) { - return fePagamento; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFePagamentoException(msg.toString()); - } - - /** - * Returns the last fe pagamento in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento fetchByUuid_Last(String uuid, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid(uuid); - - if (count == 0) { - return null; - } - - List list = findByUuid(uuid, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the fe pagamentos before and after the current fe pagamento in the ordered set where uuid = ?. - * - * @param pagamentoId the primary key of the current fe pagamento - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento[] findByUuid_PrevAndNext(long pagamentoId, String uuid, - OrderByComparator orderByComparator) - throws NoSuchFePagamentoException, SystemException { - FePagamento fePagamento = findByPrimaryKey(pagamentoId); - - Session session = null; - - try { - session = openSession(); - - FePagamento[] array = new FePagamentoImpl[3]; - - array[0] = getByUuid_PrevAndNext(session, fePagamento, uuid, - orderByComparator, true); - - array[1] = fePagamento; - - array[2] = getByUuid_PrevAndNext(session, fePagamento, uuid, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected FePagamento getByUuid_PrevAndNext(Session session, - FePagamento fePagamento, String uuid, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_FEPAGAMENTO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(FePagamentoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(fePagamento); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the fe pagamentos where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid(String uuid) throws SystemException { - for (FePagamento fePagamento : findByUuid(uuid, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(fePagamento); - } - } - - /** - * Returns the number of fe pagamentos where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid(String uuid) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID; - - Object[] finderArgs = new Object[] { uuid }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_FEPAGAMENTO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_UUID_1 = "fePagamento.uuid IS NULL"; - private static final String _FINDER_COLUMN_UUID_UUID_2 = "fePagamento.uuid = ?"; - private static final String _FINDER_COLUMN_UUID_UUID_3 = "(fePagamento.uuid IS NULL OR fePagamento.uuid = '')"; - public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G = new FinderPath(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoModelImpl.FINDER_CACHE_ENABLED, FePagamentoImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }, - FePagamentoModelImpl.UUID_COLUMN_BITMASK | - FePagamentoModelImpl.GROUPID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G = new FinderPath(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns the fe pagamento where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchFePagamentoException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento findByUUID_G(String uuid, long groupId) - throws NoSuchFePagamentoException, SystemException { - FePagamento fePagamento = fetchByUUID_G(uuid, groupId); - - if (fePagamento == null) { - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchFePagamentoException(msg.toString()); - } - - return fePagamento; - } - - /** - * Returns the fe pagamento where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento fetchByUUID_G(String uuid, long groupId) - throws SystemException { - return fetchByUUID_G(uuid, groupId, true); - } - - /** - * Returns the fe pagamento where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento fetchByUUID_G(String uuid, long groupId, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { uuid, groupId }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, this); - } - - if (result instanceof FePagamento) { - FePagamento fePagamento = (FePagamento)result; - - if (!Validator.equals(uuid, fePagamento.getUuid()) || - (groupId != fePagamento.getGroupId())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_SELECT_FEPAGAMENTO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, list); - } - else { - FePagamento fePagamento = list.get(0); - - result = fePagamento; - - cacheResult(fePagamento); - - if ((fePagamento.getUuid() == null) || - !fePagamento.getUuid().equals(uuid) || - (fePagamento.getGroupId() != groupId)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, fePagamento); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (FePagamento)result; - } - } - - /** - * Removes the fe pagamento where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the fe pagamento that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento removeByUUID_G(String uuid, long groupId) - throws NoSuchFePagamentoException, SystemException { - FePagamento fePagamento = findByUUID_G(uuid, groupId); - - return remove(fePagamento); - } - - /** - * Returns the number of fe pagamentos where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUUID_G(String uuid, long groupId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_G; - - Object[] finderArgs = new Object[] { uuid, groupId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_FEPAGAMENTO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_G_UUID_1 = "fePagamento.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_2 = "fePagamento.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_3 = "(fePagamento.uuid IS NULL OR fePagamento.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_G_GROUPID_2 = "fePagamento.groupId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C = new FinderPath(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoModelImpl.FINDER_CACHE_ENABLED, FePagamentoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByUuid_C", - new String[] { - String.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C = - new FinderPath(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoModelImpl.FINDER_CACHE_ENABLED, FePagamentoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }, - FePagamentoModelImpl.UUID_COLUMN_BITMASK | - FePagamentoModelImpl.COMPANYID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C = new FinderPath(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns all the fe pagamentos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId) - throws SystemException { - return findByUuid_C(uuid, companyId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the fe pagamentos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, - int start, int end) throws SystemException { - return findByUuid_C(uuid, companyId, start, end, null); - } - - /** - * Returns an ordered range of all the fe pagamentos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { uuid, companyId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { - uuid, companyId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (FePagamento fePagamento : list) { - if (!Validator.equals(uuid, fePagamento.getUuid()) || - (companyId != fePagamento.getCompanyId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_FEPAGAMENTO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(FePagamentoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first fe pagamento in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento findByUuid_C_First(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchFePagamentoException, SystemException { - FePagamento fePagamento = fetchByUuid_C_First(uuid, companyId, - orderByComparator); - - if (fePagamento != null) { - return fePagamento; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFePagamentoException(msg.toString()); - } - - /** - * Returns the first fe pagamento in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento fetchByUuid_C_First(String uuid, long companyId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid_C(uuid, companyId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last fe pagamento in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento findByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchFePagamentoException, SystemException { - FePagamento fePagamento = fetchByUuid_C_Last(uuid, companyId, - orderByComparator); - - if (fePagamento != null) { - return fePagamento; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFePagamentoException(msg.toString()); - } - - /** - * Returns the last fe pagamento in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento fetchByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid_C(uuid, companyId); - - if (count == 0) { - return null; - } - - List list = findByUuid_C(uuid, companyId, count - 1, - count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the fe pagamentos before and after the current fe pagamento in the ordered set where uuid = ? and companyId = ?. - * - * @param pagamentoId the primary key of the current fe pagamento - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento[] findByUuid_C_PrevAndNext(long pagamentoId, - String uuid, long companyId, OrderByComparator orderByComparator) - throws NoSuchFePagamentoException, SystemException { - FePagamento fePagamento = findByPrimaryKey(pagamentoId); - - Session session = null; - - try { - session = openSession(); - - FePagamento[] array = new FePagamentoImpl[3]; - - array[0] = getByUuid_C_PrevAndNext(session, fePagamento, uuid, - companyId, orderByComparator, true); - - array[1] = fePagamento; - - array[2] = getByUuid_C_PrevAndNext(session, fePagamento, uuid, - companyId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected FePagamento getByUuid_C_PrevAndNext(Session session, - FePagamento fePagamento, String uuid, long companyId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_FEPAGAMENTO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(FePagamentoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(fePagamento); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the fe pagamentos where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid_C(String uuid, long companyId) - throws SystemException { - for (FePagamento fePagamento : findByUuid_C(uuid, companyId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(fePagamento); - } - } - - /** - * Returns the number of fe pagamentos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid_C(String uuid, long companyId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_C; - - Object[] finderArgs = new Object[] { uuid, companyId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_FEPAGAMENTO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_C_UUID_1 = "fePagamento.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_2 = "fePagamento.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_3 = "(fePagamento.uuid IS NULL OR fePagamento.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_C_COMPANYID_2 = "fePagamento.companyId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICAID_MEZZO = - new FinderPath(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoModelImpl.FINDER_CACHE_ENABLED, FePagamentoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByDettPraticaId_Mezzo", - new String[] { - Long.class.getName(), String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICAID_MEZZO = - new FinderPath(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoModelImpl.FINDER_CACHE_ENABLED, FePagamentoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByDettPraticaId_Mezzo", - new String[] { Long.class.getName(), String.class.getName() }, - FePagamentoModelImpl.DETTPRATICAID_COLUMN_BITMASK | - FePagamentoModelImpl.MEZZO_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_DETTPRATICAID_MEZZO = new FinderPath(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByDettPraticaId_Mezzo", - new String[] { Long.class.getName(), String.class.getName() }); - - /** - * Returns all the fe pagamentos where dettPraticaId = ? and mezzo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @return the matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPraticaId_Mezzo(long dettPraticaId, - String mezzo) throws SystemException { - return findByDettPraticaId_Mezzo(dettPraticaId, mezzo, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the fe pagamentos where dettPraticaId = ? and mezzo = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPraticaId_Mezzo(long dettPraticaId, - String mezzo, int start, int end) throws SystemException { - return findByDettPraticaId_Mezzo(dettPraticaId, mezzo, start, end, null); - } - - /** - * Returns an ordered range of all the fe pagamentos where dettPraticaId = ? and mezzo = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPraticaId_Mezzo(long dettPraticaId, - String mezzo, int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICAID_MEZZO; - finderArgs = new Object[] { dettPraticaId, mezzo }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICAID_MEZZO; - finderArgs = new Object[] { - dettPraticaId, mezzo, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (FePagamento fePagamento : list) { - if ((dettPraticaId != fePagamento.getDettPraticaId()) || - !Validator.equals(mezzo, fePagamento.getMezzo())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_FEPAGAMENTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICAID_MEZZO_DETTPRATICAID_2); - - boolean bindMezzo = false; - - if (mezzo == null) { - query.append(_FINDER_COLUMN_DETTPRATICAID_MEZZO_MEZZO_1); - } - else if (mezzo.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICAID_MEZZO_MEZZO_3); - } - else { - bindMezzo = true; - - query.append(_FINDER_COLUMN_DETTPRATICAID_MEZZO_MEZZO_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(FePagamentoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindMezzo) { - qPos.add(mezzo); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first fe pagamento in the ordered set where dettPraticaId = ? and mezzo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento findByDettPraticaId_Mezzo_First(long dettPraticaId, - String mezzo, OrderByComparator orderByComparator) - throws NoSuchFePagamentoException, SystemException { - FePagamento fePagamento = fetchByDettPraticaId_Mezzo_First(dettPraticaId, - mezzo, orderByComparator); - - if (fePagamento != null) { - return fePagamento; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(", mezzo="); - msg.append(mezzo); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFePagamentoException(msg.toString()); - } - - /** - * Returns the first fe pagamento in the ordered set where dettPraticaId = ? and mezzo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento fetchByDettPraticaId_Mezzo_First(long dettPraticaId, - String mezzo, OrderByComparator orderByComparator) - throws SystemException { - List list = findByDettPraticaId_Mezzo(dettPraticaId, - mezzo, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last fe pagamento in the ordered set where dettPraticaId = ? and mezzo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento findByDettPraticaId_Mezzo_Last(long dettPraticaId, - String mezzo, OrderByComparator orderByComparator) - throws NoSuchFePagamentoException, SystemException { - FePagamento fePagamento = fetchByDettPraticaId_Mezzo_Last(dettPraticaId, - mezzo, orderByComparator); - - if (fePagamento != null) { - return fePagamento; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(", mezzo="); - msg.append(mezzo); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFePagamentoException(msg.toString()); - } - - /** - * Returns the last fe pagamento in the ordered set where dettPraticaId = ? and mezzo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento fetchByDettPraticaId_Mezzo_Last(long dettPraticaId, - String mezzo, OrderByComparator orderByComparator) - throws SystemException { - int count = countByDettPraticaId_Mezzo(dettPraticaId, mezzo); - - if (count == 0) { - return null; - } - - List list = findByDettPraticaId_Mezzo(dettPraticaId, - mezzo, count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the fe pagamentos before and after the current fe pagamento in the ordered set where dettPraticaId = ? and mezzo = ?. - * - * @param pagamentoId the primary key of the current fe pagamento - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento[] findByDettPraticaId_Mezzo_PrevAndNext( - long pagamentoId, long dettPraticaId, String mezzo, - OrderByComparator orderByComparator) - throws NoSuchFePagamentoException, SystemException { - FePagamento fePagamento = findByPrimaryKey(pagamentoId); - - Session session = null; - - try { - session = openSession(); - - FePagamento[] array = new FePagamentoImpl[3]; - - array[0] = getByDettPraticaId_Mezzo_PrevAndNext(session, - fePagamento, dettPraticaId, mezzo, orderByComparator, true); - - array[1] = fePagamento; - - array[2] = getByDettPraticaId_Mezzo_PrevAndNext(session, - fePagamento, dettPraticaId, mezzo, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected FePagamento getByDettPraticaId_Mezzo_PrevAndNext( - Session session, FePagamento fePagamento, long dettPraticaId, - String mezzo, OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_FEPAGAMENTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICAID_MEZZO_DETTPRATICAID_2); - - boolean bindMezzo = false; - - if (mezzo == null) { - query.append(_FINDER_COLUMN_DETTPRATICAID_MEZZO_MEZZO_1); - } - else if (mezzo.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICAID_MEZZO_MEZZO_3); - } - else { - bindMezzo = true; - - query.append(_FINDER_COLUMN_DETTPRATICAID_MEZZO_MEZZO_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(FePagamentoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindMezzo) { - qPos.add(mezzo); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(fePagamento); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the fe pagamentos where dettPraticaId = ? and mezzo = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByDettPraticaId_Mezzo(long dettPraticaId, String mezzo) - throws SystemException { - for (FePagamento fePagamento : findByDettPraticaId_Mezzo( - dettPraticaId, mezzo, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(fePagamento); - } - } - - /** - * Returns the number of fe pagamentos where dettPraticaId = ? and mezzo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @return the number of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByDettPraticaId_Mezzo(long dettPraticaId, String mezzo) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_DETTPRATICAID_MEZZO; - - Object[] finderArgs = new Object[] { dettPraticaId, mezzo }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_FEPAGAMENTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICAID_MEZZO_DETTPRATICAID_2); - - boolean bindMezzo = false; - - if (mezzo == null) { - query.append(_FINDER_COLUMN_DETTPRATICAID_MEZZO_MEZZO_1); - } - else if (mezzo.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICAID_MEZZO_MEZZO_3); - } - else { - bindMezzo = true; - - query.append(_FINDER_COLUMN_DETTPRATICAID_MEZZO_MEZZO_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindMezzo) { - qPos.add(mezzo); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_DETTPRATICAID_MEZZO_DETTPRATICAID_2 = - "fePagamento.dettPraticaId = ? AND "; - private static final String _FINDER_COLUMN_DETTPRATICAID_MEZZO_MEZZO_1 = "fePagamento.mezzo IS NULL"; - private static final String _FINDER_COLUMN_DETTPRATICAID_MEZZO_MEZZO_2 = "fePagamento.mezzo = ?"; - private static final String _FINDER_COLUMN_DETTPRATICAID_MEZZO_MEZZO_3 = "(fePagamento.mezzo IS NULL OR fePagamento.mezzo = '')"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_MEZZO_UTILIZZATA = - new FinderPath(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoModelImpl.FINDER_CACHE_ENABLED, FePagamentoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByMezzo_Utilizzata", - new String[] { - String.class.getName(), String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_MEZZO_UTILIZZATA = - new FinderPath(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoModelImpl.FINDER_CACHE_ENABLED, FePagamentoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByMezzo_Utilizzata", - new String[] { String.class.getName(), String.class.getName() }, - FePagamentoModelImpl.MEZZO_COLUMN_BITMASK | - FePagamentoModelImpl.UTILIZZATA_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_MEZZO_UTILIZZATA = new FinderPath(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByMezzo_Utilizzata", - new String[] { String.class.getName(), String.class.getName() }); - - /** - * Returns all the fe pagamentos where mezzo = ? and utilizzata = ?. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @return the matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByMezzo_Utilizzata(String mezzo, - String utilizzata) throws SystemException { - return findByMezzo_Utilizzata(mezzo, utilizzata, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the fe pagamentos where mezzo = ? and utilizzata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByMezzo_Utilizzata(String mezzo, - String utilizzata, int start, int end) throws SystemException { - return findByMezzo_Utilizzata(mezzo, utilizzata, start, end, null); - } - - /** - * Returns an ordered range of all the fe pagamentos where mezzo = ? and utilizzata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByMezzo_Utilizzata(String mezzo, - String utilizzata, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_MEZZO_UTILIZZATA; - finderArgs = new Object[] { mezzo, utilizzata }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_MEZZO_UTILIZZATA; - finderArgs = new Object[] { - mezzo, utilizzata, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (FePagamento fePagamento : list) { - if (!Validator.equals(mezzo, fePagamento.getMezzo()) || - !Validator.equals(utilizzata, - fePagamento.getUtilizzata())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_FEPAGAMENTO_WHERE); - - boolean bindMezzo = false; - - if (mezzo == null) { - query.append(_FINDER_COLUMN_MEZZO_UTILIZZATA_MEZZO_1); - } - else if (mezzo.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_MEZZO_UTILIZZATA_MEZZO_3); - } - else { - bindMezzo = true; - - query.append(_FINDER_COLUMN_MEZZO_UTILIZZATA_MEZZO_2); - } - - boolean bindUtilizzata = false; - - if (utilizzata == null) { - query.append(_FINDER_COLUMN_MEZZO_UTILIZZATA_UTILIZZATA_1); - } - else if (utilizzata.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_MEZZO_UTILIZZATA_UTILIZZATA_3); - } - else { - bindUtilizzata = true; - - query.append(_FINDER_COLUMN_MEZZO_UTILIZZATA_UTILIZZATA_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(FePagamentoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindMezzo) { - qPos.add(mezzo); - } - - if (bindUtilizzata) { - qPos.add(utilizzata); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first fe pagamento in the ordered set where mezzo = ? and utilizzata = ?. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento findByMezzo_Utilizzata_First(String mezzo, - String utilizzata, OrderByComparator orderByComparator) - throws NoSuchFePagamentoException, SystemException { - FePagamento fePagamento = fetchByMezzo_Utilizzata_First(mezzo, - utilizzata, orderByComparator); - - if (fePagamento != null) { - return fePagamento; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("mezzo="); - msg.append(mezzo); - - msg.append(", utilizzata="); - msg.append(utilizzata); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFePagamentoException(msg.toString()); - } - - /** - * Returns the first fe pagamento in the ordered set where mezzo = ? and utilizzata = ?. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento fetchByMezzo_Utilizzata_First(String mezzo, - String utilizzata, OrderByComparator orderByComparator) - throws SystemException { - List list = findByMezzo_Utilizzata(mezzo, utilizzata, 0, - 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last fe pagamento in the ordered set where mezzo = ? and utilizzata = ?. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento findByMezzo_Utilizzata_Last(String mezzo, - String utilizzata, OrderByComparator orderByComparator) - throws NoSuchFePagamentoException, SystemException { - FePagamento fePagamento = fetchByMezzo_Utilizzata_Last(mezzo, - utilizzata, orderByComparator); - - if (fePagamento != null) { - return fePagamento; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("mezzo="); - msg.append(mezzo); - - msg.append(", utilizzata="); - msg.append(utilizzata); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFePagamentoException(msg.toString()); - } - - /** - * Returns the last fe pagamento in the ordered set where mezzo = ? and utilizzata = ?. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento fetchByMezzo_Utilizzata_Last(String mezzo, - String utilizzata, OrderByComparator orderByComparator) - throws SystemException { - int count = countByMezzo_Utilizzata(mezzo, utilizzata); - - if (count == 0) { - return null; - } - - List list = findByMezzo_Utilizzata(mezzo, utilizzata, - count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the fe pagamentos before and after the current fe pagamento in the ordered set where mezzo = ? and utilizzata = ?. - * - * @param pagamentoId the primary key of the current fe pagamento - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento[] findByMezzo_Utilizzata_PrevAndNext(long pagamentoId, - String mezzo, String utilizzata, OrderByComparator orderByComparator) - throws NoSuchFePagamentoException, SystemException { - FePagamento fePagamento = findByPrimaryKey(pagamentoId); - - Session session = null; - - try { - session = openSession(); - - FePagamento[] array = new FePagamentoImpl[3]; - - array[0] = getByMezzo_Utilizzata_PrevAndNext(session, fePagamento, - mezzo, utilizzata, orderByComparator, true); - - array[1] = fePagamento; - - array[2] = getByMezzo_Utilizzata_PrevAndNext(session, fePagamento, - mezzo, utilizzata, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected FePagamento getByMezzo_Utilizzata_PrevAndNext(Session session, - FePagamento fePagamento, String mezzo, String utilizzata, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_FEPAGAMENTO_WHERE); - - boolean bindMezzo = false; - - if (mezzo == null) { - query.append(_FINDER_COLUMN_MEZZO_UTILIZZATA_MEZZO_1); - } - else if (mezzo.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_MEZZO_UTILIZZATA_MEZZO_3); - } - else { - bindMezzo = true; - - query.append(_FINDER_COLUMN_MEZZO_UTILIZZATA_MEZZO_2); - } - - boolean bindUtilizzata = false; - - if (utilizzata == null) { - query.append(_FINDER_COLUMN_MEZZO_UTILIZZATA_UTILIZZATA_1); - } - else if (utilizzata.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_MEZZO_UTILIZZATA_UTILIZZATA_3); - } - else { - bindUtilizzata = true; - - query.append(_FINDER_COLUMN_MEZZO_UTILIZZATA_UTILIZZATA_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(FePagamentoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindMezzo) { - qPos.add(mezzo); - } - - if (bindUtilizzata) { - qPos.add(utilizzata); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(fePagamento); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the fe pagamentos where mezzo = ? and utilizzata = ? from the database. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByMezzo_Utilizzata(String mezzo, String utilizzata) - throws SystemException { - for (FePagamento fePagamento : findByMezzo_Utilizzata(mezzo, - utilizzata, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(fePagamento); - } - } - - /** - * Returns the number of fe pagamentos where mezzo = ? and utilizzata = ?. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @return the number of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByMezzo_Utilizzata(String mezzo, String utilizzata) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_MEZZO_UTILIZZATA; - - Object[] finderArgs = new Object[] { mezzo, utilizzata }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_FEPAGAMENTO_WHERE); - - boolean bindMezzo = false; - - if (mezzo == null) { - query.append(_FINDER_COLUMN_MEZZO_UTILIZZATA_MEZZO_1); - } - else if (mezzo.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_MEZZO_UTILIZZATA_MEZZO_3); - } - else { - bindMezzo = true; - - query.append(_FINDER_COLUMN_MEZZO_UTILIZZATA_MEZZO_2); - } - - boolean bindUtilizzata = false; - - if (utilizzata == null) { - query.append(_FINDER_COLUMN_MEZZO_UTILIZZATA_UTILIZZATA_1); - } - else if (utilizzata.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_MEZZO_UTILIZZATA_UTILIZZATA_3); - } - else { - bindUtilizzata = true; - - query.append(_FINDER_COLUMN_MEZZO_UTILIZZATA_UTILIZZATA_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindMezzo) { - qPos.add(mezzo); - } - - if (bindUtilizzata) { - qPos.add(utilizzata); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_MEZZO_UTILIZZATA_MEZZO_1 = "fePagamento.mezzo IS NULL AND "; - private static final String _FINDER_COLUMN_MEZZO_UTILIZZATA_MEZZO_2 = "fePagamento.mezzo = ? AND "; - private static final String _FINDER_COLUMN_MEZZO_UTILIZZATA_MEZZO_3 = "(fePagamento.mezzo IS NULL OR fePagamento.mezzo = '') AND "; - private static final String _FINDER_COLUMN_MEZZO_UTILIZZATA_UTILIZZATA_1 = "fePagamento.utilizzata IS NULL"; - private static final String _FINDER_COLUMN_MEZZO_UTILIZZATA_UTILIZZATA_2 = "fePagamento.utilizzata = ?"; - private static final String _FINDER_COLUMN_MEZZO_UTILIZZATA_UTILIZZATA_3 = "(fePagamento.utilizzata IS NULL OR fePagamento.utilizzata = '')"; - - public FePagamentoPersistenceImpl() { - setModelClass(FePagamento.class); - } - - /** - * Caches the fe pagamento in the entity cache if it is enabled. - * - * @param fePagamento the fe pagamento - */ - @Override - public void cacheResult(FePagamento fePagamento) { - EntityCacheUtil.putResult(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoImpl.class, fePagamento.getPrimaryKey(), fePagamento); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - new Object[] { fePagamento.getUuid(), fePagamento.getGroupId() }, - fePagamento); - - fePagamento.resetOriginalValues(); - } - - /** - * Caches the fe pagamentos in the entity cache if it is enabled. - * - * @param fePagamentos the fe pagamentos - */ - @Override - public void cacheResult(List fePagamentos) { - for (FePagamento fePagamento : fePagamentos) { - if (EntityCacheUtil.getResult( - FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoImpl.class, fePagamento.getPrimaryKey()) == null) { - cacheResult(fePagamento); - } - else { - fePagamento.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all fe pagamentos. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(FePagamentoImpl.class.getName()); - } - - EntityCacheUtil.clearCache(FePagamentoImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the fe pagamento. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(FePagamento fePagamento) { - EntityCacheUtil.removeResult(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoImpl.class, fePagamento.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(fePagamento); - } - - @Override - public void clearCache(List fePagamentos) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (FePagamento fePagamento : fePagamentos) { - EntityCacheUtil.removeResult(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoImpl.class, fePagamento.getPrimaryKey()); - - clearUniqueFindersCache(fePagamento); - } - } - - protected void cacheUniqueFindersCache(FePagamento fePagamento) { - if (fePagamento.isNew()) { - Object[] args = new Object[] { - fePagamento.getUuid(), fePagamento.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - fePagamento); - } - else { - FePagamentoModelImpl fePagamentoModelImpl = (FePagamentoModelImpl)fePagamento; - - if ((fePagamentoModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - fePagamento.getUuid(), fePagamento.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - fePagamento); - } - } - } - - protected void clearUniqueFindersCache(FePagamento fePagamento) { - FePagamentoModelImpl fePagamentoModelImpl = (FePagamentoModelImpl)fePagamento; - - Object[] args = new Object[] { - fePagamento.getUuid(), fePagamento.getGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - - if ((fePagamentoModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - args = new Object[] { - fePagamentoModelImpl.getOriginalUuid(), - fePagamentoModelImpl.getOriginalGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - } - } - - /** - * Creates a new fe pagamento with the primary key. Does not add the fe pagamento to the database. - * - * @param pagamentoId the primary key for the new fe pagamento - * @return the new fe pagamento - */ - @Override - public FePagamento create(long pagamentoId) { - FePagamento fePagamento = new FePagamentoImpl(); - - fePagamento.setNew(true); - fePagamento.setPrimaryKey(pagamentoId); - - String uuid = PortalUUIDUtil.generate(); - - fePagamento.setUuid(uuid); - - return fePagamento; - } - - /** - * Removes the fe pagamento with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param pagamentoId the primary key of the fe pagamento - * @return the fe pagamento that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento remove(long pagamentoId) - throws NoSuchFePagamentoException, SystemException { - return remove((Serializable)pagamentoId); - } - - /** - * Removes the fe pagamento with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the fe pagamento - * @return the fe pagamento that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento remove(Serializable primaryKey) - throws NoSuchFePagamentoException, SystemException { - Session session = null; - - try { - session = openSession(); - - FePagamento fePagamento = (FePagamento)session.get(FePagamentoImpl.class, - primaryKey); - - if (fePagamento == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchFePagamentoException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(fePagamento); - } - catch (NoSuchFePagamentoException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected FePagamento removeImpl(FePagamento fePagamento) - throws SystemException { - fePagamento = toUnwrappedModel(fePagamento); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(fePagamento)) { - fePagamento = (FePagamento)session.get(FePagamentoImpl.class, - fePagamento.getPrimaryKeyObj()); - } - - if (fePagamento != null) { - session.delete(fePagamento); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (fePagamento != null) { - clearCache(fePagamento); - } - - return fePagamento; - } - - @Override - public FePagamento updateImpl( - it.tref.liferay.portos.importazione.model.FePagamento fePagamento) - throws SystemException { - fePagamento = toUnwrappedModel(fePagamento); - - boolean isNew = fePagamento.isNew(); - - FePagamentoModelImpl fePagamentoModelImpl = (FePagamentoModelImpl)fePagamento; - - if (Validator.isNull(fePagamento.getUuid())) { - String uuid = PortalUUIDUtil.generate(); - - fePagamento.setUuid(uuid); - } - - Session session = null; - - try { - session = openSession(); - - if (fePagamento.isNew()) { - session.save(fePagamento); - - fePagamento.setNew(false); - } - else { - session.merge(fePagamento); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !FePagamentoModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((fePagamentoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - fePagamentoModelImpl.getOriginalUuid() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - - args = new Object[] { fePagamentoModelImpl.getUuid() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - } - - if ((fePagamentoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - fePagamentoModelImpl.getOriginalUuid(), - fePagamentoModelImpl.getOriginalCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - - args = new Object[] { - fePagamentoModelImpl.getUuid(), - fePagamentoModelImpl.getCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - } - - if ((fePagamentoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICAID_MEZZO.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - fePagamentoModelImpl.getOriginalDettPraticaId(), - fePagamentoModelImpl.getOriginalMezzo() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICAID_MEZZO, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICAID_MEZZO, - args); - - args = new Object[] { - fePagamentoModelImpl.getDettPraticaId(), - fePagamentoModelImpl.getMezzo() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICAID_MEZZO, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICAID_MEZZO, - args); - } - - if ((fePagamentoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_MEZZO_UTILIZZATA.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - fePagamentoModelImpl.getOriginalMezzo(), - fePagamentoModelImpl.getOriginalUtilizzata() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_MEZZO_UTILIZZATA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_MEZZO_UTILIZZATA, - args); - - args = new Object[] { - fePagamentoModelImpl.getMezzo(), - fePagamentoModelImpl.getUtilizzata() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_MEZZO_UTILIZZATA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_MEZZO_UTILIZZATA, - args); - } - } - - EntityCacheUtil.putResult(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoImpl.class, fePagamento.getPrimaryKey(), fePagamento); - - clearUniqueFindersCache(fePagamento); - cacheUniqueFindersCache(fePagamento); - - return fePagamento; - } - - protected FePagamento toUnwrappedModel(FePagamento fePagamento) { - if (fePagamento instanceof FePagamentoImpl) { - return fePagamento; - } - - FePagamentoImpl fePagamentoImpl = new FePagamentoImpl(); - - fePagamentoImpl.setNew(fePagamento.isNew()); - fePagamentoImpl.setPrimaryKey(fePagamento.getPrimaryKey()); - - fePagamentoImpl.setUuid(fePagamento.getUuid()); - fePagamentoImpl.setPagamentoId(fePagamento.getPagamentoId()); - fePagamentoImpl.setCompanyId(fePagamento.getCompanyId()); - fePagamentoImpl.setUserId(fePagamento.getUserId()); - fePagamentoImpl.setUserName(fePagamento.getUserName()); - fePagamentoImpl.setCreateDate(fePagamento.getCreateDate()); - fePagamentoImpl.setModifiedDate(fePagamento.getModifiedDate()); - fePagamentoImpl.setGroupId(fePagamento.getGroupId()); - fePagamentoImpl.setDettPraticaId(fePagamento.getDettPraticaId()); - fePagamentoImpl.setCodice(fePagamento.getCodice()); - fePagamentoImpl.setCausale(fePagamento.getCausale()); - fePagamentoImpl.setMezzo(fePagamento.getMezzo()); - fePagamentoImpl.setCodiceFiscaleCommittente(fePagamento.getCodiceFiscaleCommittente()); - fePagamentoImpl.setImportoBolli(fePagamento.getImportoBolli()); - fePagamentoImpl.setImportoSpeseIstruttoria(fePagamento.getImportoSpeseIstruttoria()); - fePagamentoImpl.setUtilizzata(fePagamento.getUtilizzata()); - fePagamentoImpl.setEmailPending(fePagamento.isEmailPending()); - - return fePagamentoImpl; - } - - /** - * Returns the fe pagamento with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the fe pagamento - * @return the fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento findByPrimaryKey(Serializable primaryKey) - throws NoSuchFePagamentoException, SystemException { - FePagamento fePagamento = fetchByPrimaryKey(primaryKey); - - if (fePagamento == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchFePagamentoException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return fePagamento; - } - - /** - * Returns the fe pagamento with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchFePagamentoException} if it could not be found. - * - * @param pagamentoId the primary key of the fe pagamento - * @return the fe pagamento - * @throws it.tref.liferay.portos.importazione.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento findByPrimaryKey(long pagamentoId) - throws NoSuchFePagamentoException, SystemException { - return findByPrimaryKey((Serializable)pagamentoId); - } - - /** - * Returns the fe pagamento with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the fe pagamento - * @return the fe pagamento, or null if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - FePagamento fePagamento = (FePagamento)EntityCacheUtil.getResult(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoImpl.class, primaryKey); - - if (fePagamento == _nullFePagamento) { - return null; - } - - if (fePagamento == null) { - Session session = null; - - try { - session = openSession(); - - fePagamento = (FePagamento)session.get(FePagamentoImpl.class, - primaryKey); - - if (fePagamento != null) { - cacheResult(fePagamento); - } - else { - EntityCacheUtil.putResult(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoImpl.class, primaryKey, _nullFePagamento); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return fePagamento; - } - - /** - * Returns the fe pagamento with the primary key or returns null if it could not be found. - * - * @param pagamentoId the primary key of the fe pagamento - * @return the fe pagamento, or null if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento fetchByPrimaryKey(long pagamentoId) - throws SystemException { - return fetchByPrimaryKey((Serializable)pagamentoId); - } - - /** - * Returns all the fe pagamentos. - * - * @return the fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the fe pagamentos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the fe pagamentos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_FEPAGAMENTO); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_FEPAGAMENTO; - - if (pagination) { - sql = sql.concat(FePagamentoModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the fe pagamentos from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (FePagamento fePagamento : findAll()) { - remove(fePagamento); - } - } - - /** - * Returns the number of fe pagamentos. - * - * @return the number of fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_FEPAGAMENTO); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - @Override - protected Set getBadColumnNames() { - return _badColumnNames; - } - - /** - * Initializes the fe pagamento persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.importazione.model.FePagamento"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(FePagamentoImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_FEPAGAMENTO = "SELECT fePagamento FROM FePagamento fePagamento"; - private static final String _SQL_SELECT_FEPAGAMENTO_WHERE = "SELECT fePagamento FROM FePagamento fePagamento WHERE "; - private static final String _SQL_COUNT_FEPAGAMENTO = "SELECT COUNT(fePagamento) FROM FePagamento fePagamento"; - private static final String _SQL_COUNT_FEPAGAMENTO_WHERE = "SELECT COUNT(fePagamento) FROM FePagamento fePagamento WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "fePagamento."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No FePagamento exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No FePagamento exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(FePagamentoPersistenceImpl.class); - private static Set _badColumnNames = SetUtil.fromArray(new String[] { - "uuid" - }); - private static FePagamento _nullFePagamento = new FePagamentoImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullFePagamentoCacheModel; - } - }; - - private static CacheModel _nullFePagamentoCacheModel = new CacheModel() { - @Override - public FePagamento toEntityModel() { - return _nullFePagamento; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/FeProvinciaPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/FeProvinciaPersistenceImpl.java deleted file mode 100644 index 91e119f3..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/FeProvinciaPersistenceImpl.java +++ /dev/null @@ -1,660 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.importazione.NoSuchFeProvinciaException; -import it.tref.liferay.portos.importazione.model.FeProvincia; -import it.tref.liferay.portos.importazione.model.impl.FeProvinciaImpl; -import it.tref.liferay.portos.importazione.model.impl.FeProvinciaModelImpl; -import it.tref.liferay.portos.importazione.service.persistence.FeProvinciaPersistence; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -/** - * The persistence implementation for the fe provincia service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see FeProvinciaPersistence - * @see FeProvinciaUtil - * @generated - */ -public class FeProvinciaPersistenceImpl extends BasePersistenceImpl - implements FeProvinciaPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link FeProvinciaUtil} to access the fe provincia persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = FeProvinciaImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(FeProvinciaModelImpl.ENTITY_CACHE_ENABLED, - FeProvinciaModelImpl.FINDER_CACHE_ENABLED, FeProvinciaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(FeProvinciaModelImpl.ENTITY_CACHE_ENABLED, - FeProvinciaModelImpl.FINDER_CACHE_ENABLED, FeProvinciaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(FeProvinciaModelImpl.ENTITY_CACHE_ENABLED, - FeProvinciaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - - public FeProvinciaPersistenceImpl() { - setModelClass(FeProvincia.class); - } - - /** - * Caches the fe provincia in the entity cache if it is enabled. - * - * @param feProvincia the fe provincia - */ - @Override - public void cacheResult(FeProvincia feProvincia) { - EntityCacheUtil.putResult(FeProvinciaModelImpl.ENTITY_CACHE_ENABLED, - FeProvinciaImpl.class, feProvincia.getPrimaryKey(), feProvincia); - - feProvincia.resetOriginalValues(); - } - - /** - * Caches the fe provincias in the entity cache if it is enabled. - * - * @param feProvincias the fe provincias - */ - @Override - public void cacheResult(List feProvincias) { - for (FeProvincia feProvincia : feProvincias) { - if (EntityCacheUtil.getResult( - FeProvinciaModelImpl.ENTITY_CACHE_ENABLED, - FeProvinciaImpl.class, feProvincia.getPrimaryKey()) == null) { - cacheResult(feProvincia); - } - else { - feProvincia.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all fe provincias. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(FeProvinciaImpl.class.getName()); - } - - EntityCacheUtil.clearCache(FeProvinciaImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the fe provincia. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(FeProvincia feProvincia) { - EntityCacheUtil.removeResult(FeProvinciaModelImpl.ENTITY_CACHE_ENABLED, - FeProvinciaImpl.class, feProvincia.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - @Override - public void clearCache(List feProvincias) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (FeProvincia feProvincia : feProvincias) { - EntityCacheUtil.removeResult(FeProvinciaModelImpl.ENTITY_CACHE_ENABLED, - FeProvinciaImpl.class, feProvincia.getPrimaryKey()); - } - } - - /** - * Creates a new fe provincia with the primary key. Does not add the fe provincia to the database. - * - * @param provinciaId the primary key for the new fe provincia - * @return the new fe provincia - */ - @Override - public FeProvincia create(long provinciaId) { - FeProvincia feProvincia = new FeProvinciaImpl(); - - feProvincia.setNew(true); - feProvincia.setPrimaryKey(provinciaId); - - return feProvincia; - } - - /** - * Removes the fe provincia with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param provinciaId the primary key of the fe provincia - * @return the fe provincia that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchFeProvinciaException if a fe provincia with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeProvincia remove(long provinciaId) - throws NoSuchFeProvinciaException, SystemException { - return remove((Serializable)provinciaId); - } - - /** - * Removes the fe provincia with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the fe provincia - * @return the fe provincia that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchFeProvinciaException if a fe provincia with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeProvincia remove(Serializable primaryKey) - throws NoSuchFeProvinciaException, SystemException { - Session session = null; - - try { - session = openSession(); - - FeProvincia feProvincia = (FeProvincia)session.get(FeProvinciaImpl.class, - primaryKey); - - if (feProvincia == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchFeProvinciaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(feProvincia); - } - catch (NoSuchFeProvinciaException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected FeProvincia removeImpl(FeProvincia feProvincia) - throws SystemException { - feProvincia = toUnwrappedModel(feProvincia); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(feProvincia)) { - feProvincia = (FeProvincia)session.get(FeProvinciaImpl.class, - feProvincia.getPrimaryKeyObj()); - } - - if (feProvincia != null) { - session.delete(feProvincia); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (feProvincia != null) { - clearCache(feProvincia); - } - - return feProvincia; - } - - @Override - public FeProvincia updateImpl( - it.tref.liferay.portos.importazione.model.FeProvincia feProvincia) - throws SystemException { - feProvincia = toUnwrappedModel(feProvincia); - - boolean isNew = feProvincia.isNew(); - - Session session = null; - - try { - session = openSession(); - - if (feProvincia.isNew()) { - session.save(feProvincia); - - feProvincia.setNew(false); - } - else { - session.merge(feProvincia); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - EntityCacheUtil.putResult(FeProvinciaModelImpl.ENTITY_CACHE_ENABLED, - FeProvinciaImpl.class, feProvincia.getPrimaryKey(), feProvincia); - - return feProvincia; - } - - protected FeProvincia toUnwrappedModel(FeProvincia feProvincia) { - if (feProvincia instanceof FeProvinciaImpl) { - return feProvincia; - } - - FeProvinciaImpl feProvinciaImpl = new FeProvinciaImpl(); - - feProvinciaImpl.setNew(feProvincia.isNew()); - feProvinciaImpl.setPrimaryKey(feProvincia.getPrimaryKey()); - - feProvinciaImpl.setProvinciaId(feProvincia.getProvinciaId()); - feProvinciaImpl.setCodProvincia(feProvincia.getCodProvincia()); - feProvinciaImpl.setDescLong(feProvincia.getDescLong()); - - return feProvinciaImpl; - } - - /** - * Returns the fe provincia with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the fe provincia - * @return the fe provincia - * @throws it.tref.liferay.portos.importazione.NoSuchFeProvinciaException if a fe provincia with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeProvincia findByPrimaryKey(Serializable primaryKey) - throws NoSuchFeProvinciaException, SystemException { - FeProvincia feProvincia = fetchByPrimaryKey(primaryKey); - - if (feProvincia == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchFeProvinciaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return feProvincia; - } - - /** - * Returns the fe provincia with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchFeProvinciaException} if it could not be found. - * - * @param provinciaId the primary key of the fe provincia - * @return the fe provincia - * @throws it.tref.liferay.portos.importazione.NoSuchFeProvinciaException if a fe provincia with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeProvincia findByPrimaryKey(long provinciaId) - throws NoSuchFeProvinciaException, SystemException { - return findByPrimaryKey((Serializable)provinciaId); - } - - /** - * Returns the fe provincia with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the fe provincia - * @return the fe provincia, or null if a fe provincia with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeProvincia fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - FeProvincia feProvincia = (FeProvincia)EntityCacheUtil.getResult(FeProvinciaModelImpl.ENTITY_CACHE_ENABLED, - FeProvinciaImpl.class, primaryKey); - - if (feProvincia == _nullFeProvincia) { - return null; - } - - if (feProvincia == null) { - Session session = null; - - try { - session = openSession(); - - feProvincia = (FeProvincia)session.get(FeProvinciaImpl.class, - primaryKey); - - if (feProvincia != null) { - cacheResult(feProvincia); - } - else { - EntityCacheUtil.putResult(FeProvinciaModelImpl.ENTITY_CACHE_ENABLED, - FeProvinciaImpl.class, primaryKey, _nullFeProvincia); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(FeProvinciaModelImpl.ENTITY_CACHE_ENABLED, - FeProvinciaImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return feProvincia; - } - - /** - * Returns the fe provincia with the primary key or returns null if it could not be found. - * - * @param provinciaId the primary key of the fe provincia - * @return the fe provincia, or null if a fe provincia with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeProvincia fetchByPrimaryKey(long provinciaId) - throws SystemException { - return fetchByPrimaryKey((Serializable)provinciaId); - } - - /** - * Returns all the fe provincias. - * - * @return the fe provincias - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the fe provincias. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeProvinciaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe provincias - * @param end the upper bound of the range of fe provincias (not inclusive) - * @return the range of fe provincias - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the fe provincias. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeProvinciaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe provincias - * @param end the upper bound of the range of fe provincias (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of fe provincias - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_FEPROVINCIA); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_FEPROVINCIA; - - if (pagination) { - sql = sql.concat(FeProvinciaModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the fe provincias from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (FeProvincia feProvincia : findAll()) { - remove(feProvincia); - } - } - - /** - * Returns the number of fe provincias. - * - * @return the number of fe provincias - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_FEPROVINCIA); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - /** - * Initializes the fe provincia persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.importazione.model.FeProvincia"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(FeProvinciaImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_FEPROVINCIA = "SELECT feProvincia FROM FeProvincia feProvincia"; - private static final String _SQL_COUNT_FEPROVINCIA = "SELECT COUNT(feProvincia) FROM FeProvincia feProvincia"; - private static final String _ORDER_BY_ENTITY_ALIAS = "feProvincia."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No FeProvincia exists with the primary key "; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(FeProvinciaPersistenceImpl.class); - private static FeProvincia _nullFeProvincia = new FeProvinciaImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullFeProvinciaCacheModel; - } - }; - - private static CacheModel _nullFeProvinciaCacheModel = new CacheModel() { - @Override - public FeProvincia toEntityModel() { - return _nullFeProvincia; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/FeTerritorioPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/FeTerritorioPersistenceImpl.java deleted file mode 100644 index 8e74ea97..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/FeTerritorioPersistenceImpl.java +++ /dev/null @@ -1,3163 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.CalendarUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.importazione.NoSuchFeTerritorioException; -import it.tref.liferay.portos.importazione.model.FeTerritorio; -import it.tref.liferay.portos.importazione.model.impl.FeTerritorioImpl; -import it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl; -import it.tref.liferay.portos.importazione.service.persistence.FeTerritorioPersistence; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.Date; -import java.util.List; - -/** - * The persistence implementation for the fe territorio service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see FeTerritorioPersistence - * @see FeTerritorioUtil - * @generated - */ -public class FeTerritorioPersistenceImpl extends BasePersistenceImpl - implements FeTerritorioPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link FeTerritorioUtil} to access the fe territorio persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = FeTerritorioImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioModelImpl.FINDER_CACHE_ENABLED, FeTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioModelImpl.FINDER_CACHE_ENABLED, FeTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMUNEID = new FinderPath(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioModelImpl.FINDER_CACHE_ENABLED, FeTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByComuneId", - new String[] { - Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMUNEID = - new FinderPath(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioModelImpl.FINDER_CACHE_ENABLED, FeTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByComuneId", - new String[] { Long.class.getName() }, - FeTerritorioModelImpl.COMUNEID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_COMUNEID = new FinderPath(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByComuneId", - new String[] { Long.class.getName() }); - - /** - * Returns all the fe territorios where comuneId = ?. - * - * @param comuneId the comune ID - * @return the matching fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByComuneId(long comuneId) - throws SystemException { - return findByComuneId(comuneId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, - null); - } - - /** - * Returns a range of all the fe territorios where comuneId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param comuneId the comune ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByComuneId(long comuneId, int start, int end) - throws SystemException { - return findByComuneId(comuneId, start, end, null); - } - - /** - * Returns an ordered range of all the fe territorios where comuneId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param comuneId the comune ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByComuneId(long comuneId, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMUNEID; - finderArgs = new Object[] { comuneId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_COMUNEID; - finderArgs = new Object[] { comuneId, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (FeTerritorio feTerritorio : list) { - if ((comuneId != feTerritorio.getComuneId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_FETERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_COMUNEID_COMUNEID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(FeTerritorioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(comuneId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first fe territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio findByComuneId_First(long comuneId, - OrderByComparator orderByComparator) - throws NoSuchFeTerritorioException, SystemException { - FeTerritorio feTerritorio = fetchByComuneId_First(comuneId, - orderByComparator); - - if (feTerritorio != null) { - return feTerritorio; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("comuneId="); - msg.append(comuneId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFeTerritorioException(msg.toString()); - } - - /** - * Returns the first fe territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio fetchByComuneId_First(long comuneId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByComuneId(comuneId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last fe territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio findByComuneId_Last(long comuneId, - OrderByComparator orderByComparator) - throws NoSuchFeTerritorioException, SystemException { - FeTerritorio feTerritorio = fetchByComuneId_Last(comuneId, - orderByComparator); - - if (feTerritorio != null) { - return feTerritorio; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("comuneId="); - msg.append(comuneId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFeTerritorioException(msg.toString()); - } - - /** - * Returns the last fe territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio fetchByComuneId_Last(long comuneId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByComuneId(comuneId); - - if (count == 0) { - return null; - } - - List list = findByComuneId(comuneId, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the fe territorios before and after the current fe territorio in the ordered set where comuneId = ?. - * - * @param territorioId the primary key of the current fe territorio - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio[] findByComuneId_PrevAndNext(long territorioId, - long comuneId, OrderByComparator orderByComparator) - throws NoSuchFeTerritorioException, SystemException { - FeTerritorio feTerritorio = findByPrimaryKey(territorioId); - - Session session = null; - - try { - session = openSession(); - - FeTerritorio[] array = new FeTerritorioImpl[3]; - - array[0] = getByComuneId_PrevAndNext(session, feTerritorio, - comuneId, orderByComparator, true); - - array[1] = feTerritorio; - - array[2] = getByComuneId_PrevAndNext(session, feTerritorio, - comuneId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected FeTerritorio getByComuneId_PrevAndNext(Session session, - FeTerritorio feTerritorio, long comuneId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_FETERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_COMUNEID_COMUNEID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(FeTerritorioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(comuneId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(feTerritorio); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the fe territorios where comuneId = ? from the database. - * - * @param comuneId the comune ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByComuneId(long comuneId) throws SystemException { - for (FeTerritorio feTerritorio : findByComuneId(comuneId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(feTerritorio); - } - } - - /** - * Returns the number of fe territorios where comuneId = ?. - * - * @param comuneId the comune ID - * @return the number of matching fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public int countByComuneId(long comuneId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_COMUNEID; - - Object[] finderArgs = new Object[] { comuneId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_FETERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_COMUNEID_COMUNEID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(comuneId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_COMUNEID_COMUNEID_2 = "feTerritorio.comuneId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_ZONAID = new FinderPath(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioModelImpl.FINDER_CACHE_ENABLED, FeTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByZonaId", - new String[] { - Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ZONAID = - new FinderPath(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioModelImpl.FINDER_CACHE_ENABLED, FeTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByZonaId", - new String[] { Long.class.getName() }, - FeTerritorioModelImpl.ZONAID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_ZONAID = new FinderPath(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByZonaId", - new String[] { Long.class.getName() }); - - /** - * Returns all the fe territorios where zonaId = ?. - * - * @param zonaId the zona ID - * @return the matching fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByZonaId(long zonaId) - throws SystemException { - return findByZonaId(zonaId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the fe territorios where zonaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param zonaId the zona ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByZonaId(long zonaId, int start, int end) - throws SystemException { - return findByZonaId(zonaId, start, end, null); - } - - /** - * Returns an ordered range of all the fe territorios where zonaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param zonaId the zona ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByZonaId(long zonaId, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ZONAID; - finderArgs = new Object[] { zonaId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_ZONAID; - finderArgs = new Object[] { zonaId, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (FeTerritorio feTerritorio : list) { - if ((zonaId != feTerritorio.getZonaId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_FETERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_ZONAID_ZONAID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(FeTerritorioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(zonaId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first fe territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio findByZonaId_First(long zonaId, - OrderByComparator orderByComparator) - throws NoSuchFeTerritorioException, SystemException { - FeTerritorio feTerritorio = fetchByZonaId_First(zonaId, - orderByComparator); - - if (feTerritorio != null) { - return feTerritorio; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("zonaId="); - msg.append(zonaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFeTerritorioException(msg.toString()); - } - - /** - * Returns the first fe territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio fetchByZonaId_First(long zonaId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByZonaId(zonaId, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last fe territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio findByZonaId_Last(long zonaId, - OrderByComparator orderByComparator) - throws NoSuchFeTerritorioException, SystemException { - FeTerritorio feTerritorio = fetchByZonaId_Last(zonaId, orderByComparator); - - if (feTerritorio != null) { - return feTerritorio; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("zonaId="); - msg.append(zonaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFeTerritorioException(msg.toString()); - } - - /** - * Returns the last fe territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio fetchByZonaId_Last(long zonaId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByZonaId(zonaId); - - if (count == 0) { - return null; - } - - List list = findByZonaId(zonaId, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the fe territorios before and after the current fe territorio in the ordered set where zonaId = ?. - * - * @param territorioId the primary key of the current fe territorio - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio[] findByZonaId_PrevAndNext(long territorioId, - long zonaId, OrderByComparator orderByComparator) - throws NoSuchFeTerritorioException, SystemException { - FeTerritorio feTerritorio = findByPrimaryKey(territorioId); - - Session session = null; - - try { - session = openSession(); - - FeTerritorio[] array = new FeTerritorioImpl[3]; - - array[0] = getByZonaId_PrevAndNext(session, feTerritorio, zonaId, - orderByComparator, true); - - array[1] = feTerritorio; - - array[2] = getByZonaId_PrevAndNext(session, feTerritorio, zonaId, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected FeTerritorio getByZonaId_PrevAndNext(Session session, - FeTerritorio feTerritorio, long zonaId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_FETERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_ZONAID_ZONAID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(FeTerritorioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(zonaId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(feTerritorio); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the fe territorios where zonaId = ? from the database. - * - * @param zonaId the zona ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByZonaId(long zonaId) throws SystemException { - for (FeTerritorio feTerritorio : findByZonaId(zonaId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(feTerritorio); - } - } - - /** - * Returns the number of fe territorios where zonaId = ?. - * - * @param zonaId the zona ID - * @return the number of matching fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public int countByZonaId(long zonaId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_ZONAID; - - Object[] finderArgs = new Object[] { zonaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_FETERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_ZONAID_ZONAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(zonaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_ZONAID_ZONAID_2 = "feTerritorio.zonaId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_FASCIAID = new FinderPath(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioModelImpl.FINDER_CACHE_ENABLED, FeTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByFasciaId", - new String[] { - Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FASCIAID = - new FinderPath(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioModelImpl.FINDER_CACHE_ENABLED, FeTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByFasciaId", - new String[] { Long.class.getName() }, - FeTerritorioModelImpl.FASCIAID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_FASCIAID = new FinderPath(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByFasciaId", - new String[] { Long.class.getName() }); - - /** - * Returns all the fe territorios where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @return the matching fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByFasciaId(long fasciaId) - throws SystemException { - return findByFasciaId(fasciaId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, - null); - } - - /** - * Returns a range of all the fe territorios where fasciaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param fasciaId the fascia ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByFasciaId(long fasciaId, int start, int end) - throws SystemException { - return findByFasciaId(fasciaId, start, end, null); - } - - /** - * Returns an ordered range of all the fe territorios where fasciaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param fasciaId the fascia ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByFasciaId(long fasciaId, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FASCIAID; - finderArgs = new Object[] { fasciaId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_FASCIAID; - finderArgs = new Object[] { fasciaId, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (FeTerritorio feTerritorio : list) { - if ((fasciaId != feTerritorio.getFasciaId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_FETERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_FASCIAID_FASCIAID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(FeTerritorioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(fasciaId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first fe territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio findByFasciaId_First(long fasciaId, - OrderByComparator orderByComparator) - throws NoSuchFeTerritorioException, SystemException { - FeTerritorio feTerritorio = fetchByFasciaId_First(fasciaId, - orderByComparator); - - if (feTerritorio != null) { - return feTerritorio; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("fasciaId="); - msg.append(fasciaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFeTerritorioException(msg.toString()); - } - - /** - * Returns the first fe territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio fetchByFasciaId_First(long fasciaId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByFasciaId(fasciaId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last fe territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio findByFasciaId_Last(long fasciaId, - OrderByComparator orderByComparator) - throws NoSuchFeTerritorioException, SystemException { - FeTerritorio feTerritorio = fetchByFasciaId_Last(fasciaId, - orderByComparator); - - if (feTerritorio != null) { - return feTerritorio; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("fasciaId="); - msg.append(fasciaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFeTerritorioException(msg.toString()); - } - - /** - * Returns the last fe territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio fetchByFasciaId_Last(long fasciaId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByFasciaId(fasciaId); - - if (count == 0) { - return null; - } - - List list = findByFasciaId(fasciaId, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the fe territorios before and after the current fe territorio in the ordered set where fasciaId = ?. - * - * @param territorioId the primary key of the current fe territorio - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio[] findByFasciaId_PrevAndNext(long territorioId, - long fasciaId, OrderByComparator orderByComparator) - throws NoSuchFeTerritorioException, SystemException { - FeTerritorio feTerritorio = findByPrimaryKey(territorioId); - - Session session = null; - - try { - session = openSession(); - - FeTerritorio[] array = new FeTerritorioImpl[3]; - - array[0] = getByFasciaId_PrevAndNext(session, feTerritorio, - fasciaId, orderByComparator, true); - - array[1] = feTerritorio; - - array[2] = getByFasciaId_PrevAndNext(session, feTerritorio, - fasciaId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected FeTerritorio getByFasciaId_PrevAndNext(Session session, - FeTerritorio feTerritorio, long fasciaId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_FETERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_FASCIAID_FASCIAID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(FeTerritorioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(fasciaId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(feTerritorio); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the fe territorios where fasciaId = ? from the database. - * - * @param fasciaId the fascia ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByFasciaId(long fasciaId) throws SystemException { - for (FeTerritorio feTerritorio : findByFasciaId(fasciaId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(feTerritorio); - } - } - - /** - * Returns the number of fe territorios where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @return the number of matching fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public int countByFasciaId(long fasciaId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_FASCIAID; - - Object[] finderArgs = new Object[] { fasciaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_FETERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_FASCIAID_FASCIAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(fasciaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_FASCIAID_FASCIAID_2 = "feTerritorio.fasciaId = ?"; - public static final FinderPath FINDER_PATH_FETCH_BY_C_Z_F_D = new FinderPath(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioModelImpl.FINDER_CACHE_ENABLED, FeTerritorioImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByC_Z_F_D", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName(), - Date.class.getName() - }, - FeTerritorioModelImpl.COMUNEID_COLUMN_BITMASK | - FeTerritorioModelImpl.ZONAID_COLUMN_BITMASK | - FeTerritorioModelImpl.FASCIAID_COLUMN_BITMASK | - FeTerritorioModelImpl.DTINI_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_C_Z_F_D = new FinderPath(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByC_Z_F_D", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName(), - Date.class.getName() - }); - - /** - * Returns the fe territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchFeTerritorioException} if it could not be found. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the matching fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio findByC_Z_F_D(long comuneId, long zonaId, - long fasciaId, Date dtIni) - throws NoSuchFeTerritorioException, SystemException { - FeTerritorio feTerritorio = fetchByC_Z_F_D(comuneId, zonaId, fasciaId, - dtIni); - - if (feTerritorio == null) { - StringBundler msg = new StringBundler(10); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("comuneId="); - msg.append(comuneId); - - msg.append(", zonaId="); - msg.append(zonaId); - - msg.append(", fasciaId="); - msg.append(fasciaId); - - msg.append(", dtIni="); - msg.append(dtIni); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchFeTerritorioException(msg.toString()); - } - - return feTerritorio; - } - - /** - * Returns the fe territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? or returns null if it could not be found. Uses the finder cache. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio fetchByC_Z_F_D(long comuneId, long zonaId, - long fasciaId, Date dtIni) throws SystemException { - return fetchByC_Z_F_D(comuneId, zonaId, fasciaId, dtIni, true); - } - - /** - * Returns the fe territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio fetchByC_Z_F_D(long comuneId, long zonaId, - long fasciaId, Date dtIni, boolean retrieveFromCache) - throws SystemException { - Object[] finderArgs = new Object[] { comuneId, zonaId, fasciaId, dtIni }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_C_Z_F_D, - finderArgs, this); - } - - if (result instanceof FeTerritorio) { - FeTerritorio feTerritorio = (FeTerritorio)result; - - if ((comuneId != feTerritorio.getComuneId()) || - (zonaId != feTerritorio.getZonaId()) || - (fasciaId != feTerritorio.getFasciaId()) || - !Validator.equals(dtIni, feTerritorio.getDtIni())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(6); - - query.append(_SQL_SELECT_FETERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_C_Z_F_D_COMUNEID_2); - - query.append(_FINDER_COLUMN_C_Z_F_D_ZONAID_2); - - query.append(_FINDER_COLUMN_C_Z_F_D_FASCIAID_2); - - boolean bindDtIni = false; - - if (dtIni == null) { - query.append(_FINDER_COLUMN_C_Z_F_D_DTINI_1); - } - else { - bindDtIni = true; - - query.append(_FINDER_COLUMN_C_Z_F_D_DTINI_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(comuneId); - - qPos.add(zonaId); - - qPos.add(fasciaId); - - if (bindDtIni) { - qPos.add(CalendarUtil.getTimestamp(dtIni)); - } - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_Z_F_D, - finderArgs, list); - } - else { - FeTerritorio feTerritorio = list.get(0); - - result = feTerritorio; - - cacheResult(feTerritorio); - - if ((feTerritorio.getComuneId() != comuneId) || - (feTerritorio.getZonaId() != zonaId) || - (feTerritorio.getFasciaId() != fasciaId) || - (feTerritorio.getDtIni() == null) || - !feTerritorio.getDtIni().equals(dtIni)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_Z_F_D, - finderArgs, feTerritorio); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_Z_F_D, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (FeTerritorio)result; - } - } - - /** - * Removes the fe territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? from the database. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the fe territorio that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio removeByC_Z_F_D(long comuneId, long zonaId, - long fasciaId, Date dtIni) - throws NoSuchFeTerritorioException, SystemException { - FeTerritorio feTerritorio = findByC_Z_F_D(comuneId, zonaId, fasciaId, - dtIni); - - return remove(feTerritorio); - } - - /** - * Returns the number of fe territorios where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the number of matching fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_Z_F_D(long comuneId, long zonaId, long fasciaId, - Date dtIni) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_C_Z_F_D; - - Object[] finderArgs = new Object[] { comuneId, zonaId, fasciaId, dtIni }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(5); - - query.append(_SQL_COUNT_FETERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_C_Z_F_D_COMUNEID_2); - - query.append(_FINDER_COLUMN_C_Z_F_D_ZONAID_2); - - query.append(_FINDER_COLUMN_C_Z_F_D_FASCIAID_2); - - boolean bindDtIni = false; - - if (dtIni == null) { - query.append(_FINDER_COLUMN_C_Z_F_D_DTINI_1); - } - else { - bindDtIni = true; - - query.append(_FINDER_COLUMN_C_Z_F_D_DTINI_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(comuneId); - - qPos.add(zonaId); - - qPos.add(fasciaId); - - if (bindDtIni) { - qPos.add(CalendarUtil.getTimestamp(dtIni)); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_C_Z_F_D_COMUNEID_2 = "feTerritorio.comuneId = ? AND "; - private static final String _FINDER_COLUMN_C_Z_F_D_ZONAID_2 = "feTerritorio.zonaId = ? AND "; - private static final String _FINDER_COLUMN_C_Z_F_D_FASCIAID_2 = "feTerritorio.fasciaId = ? AND "; - private static final String _FINDER_COLUMN_C_Z_F_D_DTINI_1 = "feTerritorio.dtIni IS NULL"; - private static final String _FINDER_COLUMN_C_Z_F_D_DTINI_2 = "feTerritorio.dtIni = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_Z_F = new FinderPath(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioModelImpl.FINDER_CACHE_ENABLED, FeTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByC_Z_F", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_Z_F = new FinderPath(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioModelImpl.FINDER_CACHE_ENABLED, FeTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByC_Z_F", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName() - }, - FeTerritorioModelImpl.COMUNEID_COLUMN_BITMASK | - FeTerritorioModelImpl.ZONAID_COLUMN_BITMASK | - FeTerritorioModelImpl.FASCIAID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_C_Z_F = new FinderPath(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByC_Z_F", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName() - }); - - /** - * Returns all the fe territorios where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @return the matching fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Z_F(long comuneId, long zonaId, - long fasciaId) throws SystemException { - return findByC_Z_F(comuneId, zonaId, fasciaId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the fe territorios where comuneId = ? and zonaId = ? and fasciaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Z_F(long comuneId, long zonaId, - long fasciaId, int start, int end) throws SystemException { - return findByC_Z_F(comuneId, zonaId, fasciaId, start, end, null); - } - - /** - * Returns an ordered range of all the fe territorios where comuneId = ? and zonaId = ? and fasciaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Z_F(long comuneId, long zonaId, - long fasciaId, int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_Z_F; - finderArgs = new Object[] { comuneId, zonaId, fasciaId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_C_Z_F; - finderArgs = new Object[] { - comuneId, zonaId, fasciaId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (FeTerritorio feTerritorio : list) { - if ((comuneId != feTerritorio.getComuneId()) || - (zonaId != feTerritorio.getZonaId()) || - (fasciaId != feTerritorio.getFasciaId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(5 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(5); - } - - query.append(_SQL_SELECT_FETERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_C_Z_F_COMUNEID_2); - - query.append(_FINDER_COLUMN_C_Z_F_ZONAID_2); - - query.append(_FINDER_COLUMN_C_Z_F_FASCIAID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(FeTerritorioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(comuneId); - - qPos.add(zonaId); - - qPos.add(fasciaId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first fe territorio in the ordered set where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio findByC_Z_F_First(long comuneId, long zonaId, - long fasciaId, OrderByComparator orderByComparator) - throws NoSuchFeTerritorioException, SystemException { - FeTerritorio feTerritorio = fetchByC_Z_F_First(comuneId, zonaId, - fasciaId, orderByComparator); - - if (feTerritorio != null) { - return feTerritorio; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("comuneId="); - msg.append(comuneId); - - msg.append(", zonaId="); - msg.append(zonaId); - - msg.append(", fasciaId="); - msg.append(fasciaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFeTerritorioException(msg.toString()); - } - - /** - * Returns the first fe territorio in the ordered set where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio fetchByC_Z_F_First(long comuneId, long zonaId, - long fasciaId, OrderByComparator orderByComparator) - throws SystemException { - List list = findByC_Z_F(comuneId, zonaId, fasciaId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last fe territorio in the ordered set where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio findByC_Z_F_Last(long comuneId, long zonaId, - long fasciaId, OrderByComparator orderByComparator) - throws NoSuchFeTerritorioException, SystemException { - FeTerritorio feTerritorio = fetchByC_Z_F_Last(comuneId, zonaId, - fasciaId, orderByComparator); - - if (feTerritorio != null) { - return feTerritorio; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("comuneId="); - msg.append(comuneId); - - msg.append(", zonaId="); - msg.append(zonaId); - - msg.append(", fasciaId="); - msg.append(fasciaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFeTerritorioException(msg.toString()); - } - - /** - * Returns the last fe territorio in the ordered set where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio fetchByC_Z_F_Last(long comuneId, long zonaId, - long fasciaId, OrderByComparator orderByComparator) - throws SystemException { - int count = countByC_Z_F(comuneId, zonaId, fasciaId); - - if (count == 0) { - return null; - } - - List list = findByC_Z_F(comuneId, zonaId, fasciaId, - count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the fe territorios before and after the current fe territorio in the ordered set where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param territorioId the primary key of the current fe territorio - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio[] findByC_Z_F_PrevAndNext(long territorioId, - long comuneId, long zonaId, long fasciaId, - OrderByComparator orderByComparator) - throws NoSuchFeTerritorioException, SystemException { - FeTerritorio feTerritorio = findByPrimaryKey(territorioId); - - Session session = null; - - try { - session = openSession(); - - FeTerritorio[] array = new FeTerritorioImpl[3]; - - array[0] = getByC_Z_F_PrevAndNext(session, feTerritorio, comuneId, - zonaId, fasciaId, orderByComparator, true); - - array[1] = feTerritorio; - - array[2] = getByC_Z_F_PrevAndNext(session, feTerritorio, comuneId, - zonaId, fasciaId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected FeTerritorio getByC_Z_F_PrevAndNext(Session session, - FeTerritorio feTerritorio, long comuneId, long zonaId, long fasciaId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_FETERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_C_Z_F_COMUNEID_2); - - query.append(_FINDER_COLUMN_C_Z_F_ZONAID_2); - - query.append(_FINDER_COLUMN_C_Z_F_FASCIAID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(FeTerritorioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(comuneId); - - qPos.add(zonaId); - - qPos.add(fasciaId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(feTerritorio); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the fe territorios where comuneId = ? and zonaId = ? and fasciaId = ? from the database. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByC_Z_F(long comuneId, long zonaId, long fasciaId) - throws SystemException { - for (FeTerritorio feTerritorio : findByC_Z_F(comuneId, zonaId, - fasciaId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(feTerritorio); - } - } - - /** - * Returns the number of fe territorios where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @return the number of matching fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_Z_F(long comuneId, long zonaId, long fasciaId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_C_Z_F; - - Object[] finderArgs = new Object[] { comuneId, zonaId, fasciaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_COUNT_FETERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_C_Z_F_COMUNEID_2); - - query.append(_FINDER_COLUMN_C_Z_F_ZONAID_2); - - query.append(_FINDER_COLUMN_C_Z_F_FASCIAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(comuneId); - - qPos.add(zonaId); - - qPos.add(fasciaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_C_Z_F_COMUNEID_2 = "feTerritorio.comuneId = ? AND "; - private static final String _FINDER_COLUMN_C_Z_F_ZONAID_2 = "feTerritorio.zonaId = ? AND "; - private static final String _FINDER_COLUMN_C_Z_F_FASCIAID_2 = "feTerritorio.fasciaId = ?"; - - public FeTerritorioPersistenceImpl() { - setModelClass(FeTerritorio.class); - } - - /** - * Caches the fe territorio in the entity cache if it is enabled. - * - * @param feTerritorio the fe territorio - */ - @Override - public void cacheResult(FeTerritorio feTerritorio) { - EntityCacheUtil.putResult(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioImpl.class, feTerritorio.getPrimaryKey(), feTerritorio); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_Z_F_D, - new Object[] { - feTerritorio.getComuneId(), feTerritorio.getZonaId(), - feTerritorio.getFasciaId(), feTerritorio.getDtIni() - }, feTerritorio); - - feTerritorio.resetOriginalValues(); - } - - /** - * Caches the fe territorios in the entity cache if it is enabled. - * - * @param feTerritorios the fe territorios - */ - @Override - public void cacheResult(List feTerritorios) { - for (FeTerritorio feTerritorio : feTerritorios) { - if (EntityCacheUtil.getResult( - FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioImpl.class, feTerritorio.getPrimaryKey()) == null) { - cacheResult(feTerritorio); - } - else { - feTerritorio.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all fe territorios. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(FeTerritorioImpl.class.getName()); - } - - EntityCacheUtil.clearCache(FeTerritorioImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the fe territorio. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(FeTerritorio feTerritorio) { - EntityCacheUtil.removeResult(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioImpl.class, feTerritorio.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(feTerritorio); - } - - @Override - public void clearCache(List feTerritorios) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (FeTerritorio feTerritorio : feTerritorios) { - EntityCacheUtil.removeResult(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioImpl.class, feTerritorio.getPrimaryKey()); - - clearUniqueFindersCache(feTerritorio); - } - } - - protected void cacheUniqueFindersCache(FeTerritorio feTerritorio) { - if (feTerritorio.isNew()) { - Object[] args = new Object[] { - feTerritorio.getComuneId(), feTerritorio.getZonaId(), - feTerritorio.getFasciaId(), feTerritorio.getDtIni() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_C_Z_F_D, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_Z_F_D, args, - feTerritorio); - } - else { - FeTerritorioModelImpl feTerritorioModelImpl = (FeTerritorioModelImpl)feTerritorio; - - if ((feTerritorioModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_C_Z_F_D.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - feTerritorio.getComuneId(), feTerritorio.getZonaId(), - feTerritorio.getFasciaId(), feTerritorio.getDtIni() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_C_Z_F_D, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_Z_F_D, args, - feTerritorio); - } - } - } - - protected void clearUniqueFindersCache(FeTerritorio feTerritorio) { - FeTerritorioModelImpl feTerritorioModelImpl = (FeTerritorioModelImpl)feTerritorio; - - Object[] args = new Object[] { - feTerritorio.getComuneId(), feTerritorio.getZonaId(), - feTerritorio.getFasciaId(), feTerritorio.getDtIni() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_Z_F_D, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_Z_F_D, args); - - if ((feTerritorioModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_C_Z_F_D.getColumnBitmask()) != 0) { - args = new Object[] { - feTerritorioModelImpl.getOriginalComuneId(), - feTerritorioModelImpl.getOriginalZonaId(), - feTerritorioModelImpl.getOriginalFasciaId(), - feTerritorioModelImpl.getOriginalDtIni() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_Z_F_D, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_Z_F_D, args); - } - } - - /** - * Creates a new fe territorio with the primary key. Does not add the fe territorio to the database. - * - * @param territorioId the primary key for the new fe territorio - * @return the new fe territorio - */ - @Override - public FeTerritorio create(long territorioId) { - FeTerritorio feTerritorio = new FeTerritorioImpl(); - - feTerritorio.setNew(true); - feTerritorio.setPrimaryKey(territorioId); - - return feTerritorio; - } - - /** - * Removes the fe territorio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param territorioId the primary key of the fe territorio - * @return the fe territorio that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio remove(long territorioId) - throws NoSuchFeTerritorioException, SystemException { - return remove((Serializable)territorioId); - } - - /** - * Removes the fe territorio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the fe territorio - * @return the fe territorio that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio remove(Serializable primaryKey) - throws NoSuchFeTerritorioException, SystemException { - Session session = null; - - try { - session = openSession(); - - FeTerritorio feTerritorio = (FeTerritorio)session.get(FeTerritorioImpl.class, - primaryKey); - - if (feTerritorio == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchFeTerritorioException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(feTerritorio); - } - catch (NoSuchFeTerritorioException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected FeTerritorio removeImpl(FeTerritorio feTerritorio) - throws SystemException { - feTerritorio = toUnwrappedModel(feTerritorio); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(feTerritorio)) { - feTerritorio = (FeTerritorio)session.get(FeTerritorioImpl.class, - feTerritorio.getPrimaryKeyObj()); - } - - if (feTerritorio != null) { - session.delete(feTerritorio); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (feTerritorio != null) { - clearCache(feTerritorio); - } - - return feTerritorio; - } - - @Override - public FeTerritorio updateImpl( - it.tref.liferay.portos.importazione.model.FeTerritorio feTerritorio) - throws SystemException { - feTerritorio = toUnwrappedModel(feTerritorio); - - boolean isNew = feTerritorio.isNew(); - - FeTerritorioModelImpl feTerritorioModelImpl = (FeTerritorioModelImpl)feTerritorio; - - Session session = null; - - try { - session = openSession(); - - if (feTerritorio.isNew()) { - session.save(feTerritorio); - - feTerritorio.setNew(false); - } - else { - session.merge(feTerritorio); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !FeTerritorioModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((feTerritorioModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMUNEID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - feTerritorioModelImpl.getOriginalComuneId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_COMUNEID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMUNEID, - args); - - args = new Object[] { feTerritorioModelImpl.getComuneId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_COMUNEID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMUNEID, - args); - } - - if ((feTerritorioModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ZONAID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - feTerritorioModelImpl.getOriginalZonaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_ZONAID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ZONAID, - args); - - args = new Object[] { feTerritorioModelImpl.getZonaId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_ZONAID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ZONAID, - args); - } - - if ((feTerritorioModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FASCIAID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - feTerritorioModelImpl.getOriginalFasciaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_FASCIAID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FASCIAID, - args); - - args = new Object[] { feTerritorioModelImpl.getFasciaId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_FASCIAID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FASCIAID, - args); - } - - if ((feTerritorioModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_Z_F.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - feTerritorioModelImpl.getOriginalComuneId(), - feTerritorioModelImpl.getOriginalZonaId(), - feTerritorioModelImpl.getOriginalFasciaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_Z_F, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_Z_F, - args); - - args = new Object[] { - feTerritorioModelImpl.getComuneId(), - feTerritorioModelImpl.getZonaId(), - feTerritorioModelImpl.getFasciaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_Z_F, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_Z_F, - args); - } - } - - EntityCacheUtil.putResult(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioImpl.class, feTerritorio.getPrimaryKey(), feTerritorio); - - clearUniqueFindersCache(feTerritorio); - cacheUniqueFindersCache(feTerritorio); - - return feTerritorio; - } - - protected FeTerritorio toUnwrappedModel(FeTerritorio feTerritorio) { - if (feTerritorio instanceof FeTerritorioImpl) { - return feTerritorio; - } - - FeTerritorioImpl feTerritorioImpl = new FeTerritorioImpl(); - - feTerritorioImpl.setNew(feTerritorio.isNew()); - feTerritorioImpl.setPrimaryKey(feTerritorio.getPrimaryKey()); - - feTerritorioImpl.setTerritorioId(feTerritorio.getTerritorioId()); - feTerritorioImpl.setGroupId(feTerritorio.getGroupId()); - feTerritorioImpl.setZonaId(feTerritorio.getZonaId()); - feTerritorioImpl.setFasciaId(feTerritorio.getFasciaId()); - feTerritorioImpl.setComuneId(feTerritorio.getComuneId()); - feTerritorioImpl.setDtIni(feTerritorio.getDtIni()); - feTerritorioImpl.setDtFin(feTerritorio.getDtFin()); - feTerritorioImpl.setAgMin(feTerritorio.getAgMin()); - feTerritorioImpl.setAgMax(feTerritorio.getAgMax()); - - return feTerritorioImpl; - } - - /** - * Returns the fe territorio with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the fe territorio - * @return the fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio findByPrimaryKey(Serializable primaryKey) - throws NoSuchFeTerritorioException, SystemException { - FeTerritorio feTerritorio = fetchByPrimaryKey(primaryKey); - - if (feTerritorio == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchFeTerritorioException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return feTerritorio; - } - - /** - * Returns the fe territorio with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchFeTerritorioException} if it could not be found. - * - * @param territorioId the primary key of the fe territorio - * @return the fe territorio - * @throws it.tref.liferay.portos.importazione.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio findByPrimaryKey(long territorioId) - throws NoSuchFeTerritorioException, SystemException { - return findByPrimaryKey((Serializable)territorioId); - } - - /** - * Returns the fe territorio with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the fe territorio - * @return the fe territorio, or null if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - FeTerritorio feTerritorio = (FeTerritorio)EntityCacheUtil.getResult(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioImpl.class, primaryKey); - - if (feTerritorio == _nullFeTerritorio) { - return null; - } - - if (feTerritorio == null) { - Session session = null; - - try { - session = openSession(); - - feTerritorio = (FeTerritorio)session.get(FeTerritorioImpl.class, - primaryKey); - - if (feTerritorio != null) { - cacheResult(feTerritorio); - } - else { - EntityCacheUtil.putResult(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioImpl.class, primaryKey, _nullFeTerritorio); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return feTerritorio; - } - - /** - * Returns the fe territorio with the primary key or returns null if it could not be found. - * - * @param territorioId the primary key of the fe territorio - * @return the fe territorio, or null if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio fetchByPrimaryKey(long territorioId) - throws SystemException { - return fetchByPrimaryKey((Serializable)territorioId); - } - - /** - * Returns all the fe territorios. - * - * @return the fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the fe territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the fe territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_FETERRITORIO); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_FETERRITORIO; - - if (pagination) { - sql = sql.concat(FeTerritorioModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the fe territorios from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (FeTerritorio feTerritorio : findAll()) { - remove(feTerritorio); - } - } - - /** - * Returns the number of fe territorios. - * - * @return the number of fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_FETERRITORIO); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - /** - * Initializes the fe territorio persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.importazione.model.FeTerritorio"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(FeTerritorioImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_FETERRITORIO = "SELECT feTerritorio FROM FeTerritorio feTerritorio"; - private static final String _SQL_SELECT_FETERRITORIO_WHERE = "SELECT feTerritorio FROM FeTerritorio feTerritorio WHERE "; - private static final String _SQL_COUNT_FETERRITORIO = "SELECT COUNT(feTerritorio) FROM FeTerritorio feTerritorio"; - private static final String _SQL_COUNT_FETERRITORIO_WHERE = "SELECT COUNT(feTerritorio) FROM FeTerritorio feTerritorio WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "feTerritorio."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No FeTerritorio exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No FeTerritorio exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(FeTerritorioPersistenceImpl.class); - private static FeTerritorio _nullFeTerritorio = new FeTerritorioImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullFeTerritorioCacheModel; - } - }; - - private static CacheModel _nullFeTerritorioCacheModel = new CacheModel() { - @Override - public FeTerritorio toEntityModel() { - return _nullFeTerritorio; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/KaleoInstancePersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/KaleoInstancePersistenceImpl.java deleted file mode 100644 index 6ebf5000..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/KaleoInstancePersistenceImpl.java +++ /dev/null @@ -1,950 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.importazione.NoSuchKaleoInstanceException; -import it.tref.liferay.portos.importazione.model.KaleoInstance; -import it.tref.liferay.portos.importazione.model.impl.KaleoInstanceImpl; -import it.tref.liferay.portos.importazione.model.impl.KaleoInstanceModelImpl; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstancePersistence; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -/** - * The persistence implementation for the kaleo instance service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see KaleoInstancePersistence - * @see KaleoInstanceUtil - * @generated - */ -public class KaleoInstancePersistenceImpl extends BasePersistenceImpl - implements KaleoInstancePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link KaleoInstanceUtil} to access the kaleo instance persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = KaleoInstanceImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(KaleoInstanceModelImpl.ENTITY_CACHE_ENABLED, - KaleoInstanceModelImpl.FINDER_CACHE_ENABLED, - KaleoInstanceImpl.class, FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(KaleoInstanceModelImpl.ENTITY_CACHE_ENABLED, - KaleoInstanceModelImpl.FINDER_CACHE_ENABLED, - KaleoInstanceImpl.class, FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(KaleoInstanceModelImpl.ENTITY_CACHE_ENABLED, - KaleoInstanceModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_FETCH_BY_CLASSPK = new FinderPath(KaleoInstanceModelImpl.ENTITY_CACHE_ENABLED, - KaleoInstanceModelImpl.FINDER_CACHE_ENABLED, - KaleoInstanceImpl.class, FINDER_CLASS_NAME_ENTITY, - "fetchByClassPK", new String[] { Long.class.getName() }, - KaleoInstanceModelImpl.CLASSPK_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_CLASSPK = new FinderPath(KaleoInstanceModelImpl.ENTITY_CACHE_ENABLED, - KaleoInstanceModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByClassPK", - new String[] { Long.class.getName() }); - - /** - * Returns the kaleo instance where classPK = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchKaleoInstanceException} if it could not be found. - * - * @param classPK the class p k - * @return the matching kaleo instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoInstanceException if a matching kaleo instance could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoInstance findByClassPK(long classPK) - throws NoSuchKaleoInstanceException, SystemException { - KaleoInstance kaleoInstance = fetchByClassPK(classPK); - - if (kaleoInstance == null) { - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("classPK="); - msg.append(classPK); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchKaleoInstanceException(msg.toString()); - } - - return kaleoInstance; - } - - /** - * Returns the kaleo instance where classPK = ? or returns null if it could not be found. Uses the finder cache. - * - * @param classPK the class p k - * @return the matching kaleo instance, or null if a matching kaleo instance could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoInstance fetchByClassPK(long classPK) throws SystemException { - return fetchByClassPK(classPK, true); - } - - /** - * Returns the kaleo instance where classPK = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param classPK the class p k - * @param retrieveFromCache whether to use the finder cache - * @return the matching kaleo instance, or null if a matching kaleo instance could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoInstance fetchByClassPK(long classPK, boolean retrieveFromCache) - throws SystemException { - Object[] finderArgs = new Object[] { classPK }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_CLASSPK, - finderArgs, this); - } - - if (result instanceof KaleoInstance) { - KaleoInstance kaleoInstance = (KaleoInstance)result; - - if ((classPK != kaleoInstance.getClassPK())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_SELECT_KALEOINSTANCE_WHERE); - - query.append(_FINDER_COLUMN_CLASSPK_CLASSPK_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(classPK); - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CLASSPK, - finderArgs, list); - } - else { - if ((list.size() > 1) && _log.isWarnEnabled()) { - _log.warn( - "KaleoInstancePersistenceImpl.fetchByClassPK(long, boolean) with parameters (" + - StringUtil.merge(finderArgs) + - ") yields a result set with more than 1 result. This violates the logical unique restriction. There is no order guarantee on which result is returned by this finder."); - } - - KaleoInstance kaleoInstance = list.get(0); - - result = kaleoInstance; - - cacheResult(kaleoInstance); - - if ((kaleoInstance.getClassPK() != classPK)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CLASSPK, - finderArgs, kaleoInstance); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CLASSPK, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (KaleoInstance)result; - } - } - - /** - * Removes the kaleo instance where classPK = ? from the database. - * - * @param classPK the class p k - * @return the kaleo instance that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoInstance removeByClassPK(long classPK) - throws NoSuchKaleoInstanceException, SystemException { - KaleoInstance kaleoInstance = findByClassPK(classPK); - - return remove(kaleoInstance); - } - - /** - * Returns the number of kaleo instances where classPK = ?. - * - * @param classPK the class p k - * @return the number of matching kaleo instances - * @throws SystemException if a system exception occurred - */ - @Override - public int countByClassPK(long classPK) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_CLASSPK; - - Object[] finderArgs = new Object[] { classPK }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_KALEOINSTANCE_WHERE); - - query.append(_FINDER_COLUMN_CLASSPK_CLASSPK_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(classPK); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_CLASSPK_CLASSPK_2 = "kaleoInstance.classPK = ?"; - - public KaleoInstancePersistenceImpl() { - setModelClass(KaleoInstance.class); - } - - /** - * Caches the kaleo instance in the entity cache if it is enabled. - * - * @param kaleoInstance the kaleo instance - */ - @Override - public void cacheResult(KaleoInstance kaleoInstance) { - EntityCacheUtil.putResult(KaleoInstanceModelImpl.ENTITY_CACHE_ENABLED, - KaleoInstanceImpl.class, kaleoInstance.getPrimaryKey(), - kaleoInstance); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CLASSPK, - new Object[] { kaleoInstance.getClassPK() }, kaleoInstance); - - kaleoInstance.resetOriginalValues(); - } - - /** - * Caches the kaleo instances in the entity cache if it is enabled. - * - * @param kaleoInstances the kaleo instances - */ - @Override - public void cacheResult(List kaleoInstances) { - for (KaleoInstance kaleoInstance : kaleoInstances) { - if (EntityCacheUtil.getResult( - KaleoInstanceModelImpl.ENTITY_CACHE_ENABLED, - KaleoInstanceImpl.class, kaleoInstance.getPrimaryKey()) == null) { - cacheResult(kaleoInstance); - } - else { - kaleoInstance.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all kaleo instances. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(KaleoInstanceImpl.class.getName()); - } - - EntityCacheUtil.clearCache(KaleoInstanceImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the kaleo instance. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(KaleoInstance kaleoInstance) { - EntityCacheUtil.removeResult(KaleoInstanceModelImpl.ENTITY_CACHE_ENABLED, - KaleoInstanceImpl.class, kaleoInstance.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(kaleoInstance); - } - - @Override - public void clearCache(List kaleoInstances) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (KaleoInstance kaleoInstance : kaleoInstances) { - EntityCacheUtil.removeResult(KaleoInstanceModelImpl.ENTITY_CACHE_ENABLED, - KaleoInstanceImpl.class, kaleoInstance.getPrimaryKey()); - - clearUniqueFindersCache(kaleoInstance); - } - } - - protected void cacheUniqueFindersCache(KaleoInstance kaleoInstance) { - if (kaleoInstance.isNew()) { - Object[] args = new Object[] { kaleoInstance.getClassPK() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_CLASSPK, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CLASSPK, args, - kaleoInstance); - } - else { - KaleoInstanceModelImpl kaleoInstanceModelImpl = (KaleoInstanceModelImpl)kaleoInstance; - - if ((kaleoInstanceModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_CLASSPK.getColumnBitmask()) != 0) { - Object[] args = new Object[] { kaleoInstance.getClassPK() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_CLASSPK, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CLASSPK, args, - kaleoInstance); - } - } - } - - protected void clearUniqueFindersCache(KaleoInstance kaleoInstance) { - KaleoInstanceModelImpl kaleoInstanceModelImpl = (KaleoInstanceModelImpl)kaleoInstance; - - Object[] args = new Object[] { kaleoInstance.getClassPK() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CLASSPK, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CLASSPK, args); - - if ((kaleoInstanceModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_CLASSPK.getColumnBitmask()) != 0) { - args = new Object[] { kaleoInstanceModelImpl.getOriginalClassPK() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CLASSPK, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CLASSPK, args); - } - } - - /** - * Creates a new kaleo instance with the primary key. Does not add the kaleo instance to the database. - * - * @param kaleoInstanceId the primary key for the new kaleo instance - * @return the new kaleo instance - */ - @Override - public KaleoInstance create(long kaleoInstanceId) { - KaleoInstance kaleoInstance = new KaleoInstanceImpl(); - - kaleoInstance.setNew(true); - kaleoInstance.setPrimaryKey(kaleoInstanceId); - - return kaleoInstance; - } - - /** - * Removes the kaleo instance with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoInstanceId the primary key of the kaleo instance - * @return the kaleo instance that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoInstanceException if a kaleo instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoInstance remove(long kaleoInstanceId) - throws NoSuchKaleoInstanceException, SystemException { - return remove((Serializable)kaleoInstanceId); - } - - /** - * Removes the kaleo instance with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the kaleo instance - * @return the kaleo instance that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoInstanceException if a kaleo instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoInstance remove(Serializable primaryKey) - throws NoSuchKaleoInstanceException, SystemException { - Session session = null; - - try { - session = openSession(); - - KaleoInstance kaleoInstance = (KaleoInstance)session.get(KaleoInstanceImpl.class, - primaryKey); - - if (kaleoInstance == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchKaleoInstanceException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(kaleoInstance); - } - catch (NoSuchKaleoInstanceException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected KaleoInstance removeImpl(KaleoInstance kaleoInstance) - throws SystemException { - kaleoInstance = toUnwrappedModel(kaleoInstance); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(kaleoInstance)) { - kaleoInstance = (KaleoInstance)session.get(KaleoInstanceImpl.class, - kaleoInstance.getPrimaryKeyObj()); - } - - if (kaleoInstance != null) { - session.delete(kaleoInstance); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (kaleoInstance != null) { - clearCache(kaleoInstance); - } - - return kaleoInstance; - } - - @Override - public KaleoInstance updateImpl( - it.tref.liferay.portos.importazione.model.KaleoInstance kaleoInstance) - throws SystemException { - kaleoInstance = toUnwrappedModel(kaleoInstance); - - boolean isNew = kaleoInstance.isNew(); - - Session session = null; - - try { - session = openSession(); - - if (kaleoInstance.isNew()) { - session.save(kaleoInstance); - - kaleoInstance.setNew(false); - } - else { - session.merge(kaleoInstance); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !KaleoInstanceModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - EntityCacheUtil.putResult(KaleoInstanceModelImpl.ENTITY_CACHE_ENABLED, - KaleoInstanceImpl.class, kaleoInstance.getPrimaryKey(), - kaleoInstance); - - clearUniqueFindersCache(kaleoInstance); - cacheUniqueFindersCache(kaleoInstance); - - return kaleoInstance; - } - - protected KaleoInstance toUnwrappedModel(KaleoInstance kaleoInstance) { - if (kaleoInstance instanceof KaleoInstanceImpl) { - return kaleoInstance; - } - - KaleoInstanceImpl kaleoInstanceImpl = new KaleoInstanceImpl(); - - kaleoInstanceImpl.setNew(kaleoInstance.isNew()); - kaleoInstanceImpl.setPrimaryKey(kaleoInstance.getPrimaryKey()); - - kaleoInstanceImpl.setKaleoInstanceId(kaleoInstance.getKaleoInstanceId()); - kaleoInstanceImpl.setGroupId(kaleoInstance.getGroupId()); - kaleoInstanceImpl.setCompanyId(kaleoInstance.getCompanyId()); - kaleoInstanceImpl.setUserId(kaleoInstance.getUserId()); - kaleoInstanceImpl.setUserName(kaleoInstance.getUserName()); - kaleoInstanceImpl.setCreateDate(kaleoInstance.getCreateDate()); - kaleoInstanceImpl.setModifiedDate(kaleoInstance.getModifiedDate()); - kaleoInstanceImpl.setKaleoDefinitionId(kaleoInstance.getKaleoDefinitionId()); - kaleoInstanceImpl.setKaleoDefinitionName(kaleoInstance.getKaleoDefinitionName()); - kaleoInstanceImpl.setKaleoDefinitionVersion(kaleoInstance.getKaleoDefinitionVersion()); - kaleoInstanceImpl.setRootKaleoInstanceTokenId(kaleoInstance.getRootKaleoInstanceTokenId()); - kaleoInstanceImpl.setClassName(kaleoInstance.getClassName()); - kaleoInstanceImpl.setClassPK(kaleoInstance.getClassPK()); - kaleoInstanceImpl.setCompleted(kaleoInstance.isCompleted()); - kaleoInstanceImpl.setCompletionDate(kaleoInstance.getCompletionDate()); - kaleoInstanceImpl.setWorkflowContext(kaleoInstance.getWorkflowContext()); - - return kaleoInstanceImpl; - } - - /** - * Returns the kaleo instance with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the kaleo instance - * @return the kaleo instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoInstanceException if a kaleo instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoInstance findByPrimaryKey(Serializable primaryKey) - throws NoSuchKaleoInstanceException, SystemException { - KaleoInstance kaleoInstance = fetchByPrimaryKey(primaryKey); - - if (kaleoInstance == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchKaleoInstanceException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return kaleoInstance; - } - - /** - * Returns the kaleo instance with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchKaleoInstanceException} if it could not be found. - * - * @param kaleoInstanceId the primary key of the kaleo instance - * @return the kaleo instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoInstanceException if a kaleo instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoInstance findByPrimaryKey(long kaleoInstanceId) - throws NoSuchKaleoInstanceException, SystemException { - return findByPrimaryKey((Serializable)kaleoInstanceId); - } - - /** - * Returns the kaleo instance with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the kaleo instance - * @return the kaleo instance, or null if a kaleo instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoInstance fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - KaleoInstance kaleoInstance = (KaleoInstance)EntityCacheUtil.getResult(KaleoInstanceModelImpl.ENTITY_CACHE_ENABLED, - KaleoInstanceImpl.class, primaryKey); - - if (kaleoInstance == _nullKaleoInstance) { - return null; - } - - if (kaleoInstance == null) { - Session session = null; - - try { - session = openSession(); - - kaleoInstance = (KaleoInstance)session.get(KaleoInstanceImpl.class, - primaryKey); - - if (kaleoInstance != null) { - cacheResult(kaleoInstance); - } - else { - EntityCacheUtil.putResult(KaleoInstanceModelImpl.ENTITY_CACHE_ENABLED, - KaleoInstanceImpl.class, primaryKey, _nullKaleoInstance); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(KaleoInstanceModelImpl.ENTITY_CACHE_ENABLED, - KaleoInstanceImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return kaleoInstance; - } - - /** - * Returns the kaleo instance with the primary key or returns null if it could not be found. - * - * @param kaleoInstanceId the primary key of the kaleo instance - * @return the kaleo instance, or null if a kaleo instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoInstance fetchByPrimaryKey(long kaleoInstanceId) - throws SystemException { - return fetchByPrimaryKey((Serializable)kaleoInstanceId); - } - - /** - * Returns all the kaleo instances. - * - * @return the kaleo instances - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the kaleo instances. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo instances - * @param end the upper bound of the range of kaleo instances (not inclusive) - * @return the range of kaleo instances - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the kaleo instances. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo instances - * @param end the upper bound of the range of kaleo instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of kaleo instances - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_KALEOINSTANCE); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_KALEOINSTANCE; - - if (pagination) { - sql = sql.concat(KaleoInstanceModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the kaleo instances from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (KaleoInstance kaleoInstance : findAll()) { - remove(kaleoInstance); - } - } - - /** - * Returns the number of kaleo instances. - * - * @return the number of kaleo instances - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_KALEOINSTANCE); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - /** - * Initializes the kaleo instance persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.importazione.model.KaleoInstance"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(KaleoInstanceImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_KALEOINSTANCE = "SELECT kaleoInstance FROM KaleoInstance kaleoInstance"; - private static final String _SQL_SELECT_KALEOINSTANCE_WHERE = "SELECT kaleoInstance FROM KaleoInstance kaleoInstance WHERE "; - private static final String _SQL_COUNT_KALEOINSTANCE = "SELECT COUNT(kaleoInstance) FROM KaleoInstance kaleoInstance"; - private static final String _SQL_COUNT_KALEOINSTANCE_WHERE = "SELECT COUNT(kaleoInstance) FROM KaleoInstance kaleoInstance WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "kaleoInstance."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No KaleoInstance exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No KaleoInstance exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(KaleoInstancePersistenceImpl.class); - private static KaleoInstance _nullKaleoInstance = new KaleoInstanceImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullKaleoInstanceCacheModel; - } - }; - - private static CacheModel _nullKaleoInstanceCacheModel = new CacheModel() { - @Override - public KaleoInstance toEntityModel() { - return _nullKaleoInstance; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/KaleoInstanceTokenPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/KaleoInstanceTokenPersistenceImpl.java deleted file mode 100644 index ed1ee6be..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/KaleoInstanceTokenPersistenceImpl.java +++ /dev/null @@ -1,957 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.importazione.NoSuchKaleoInstanceTokenException; -import it.tref.liferay.portos.importazione.model.KaleoInstanceToken; -import it.tref.liferay.portos.importazione.model.impl.KaleoInstanceTokenImpl; -import it.tref.liferay.portos.importazione.model.impl.KaleoInstanceTokenModelImpl; -import it.tref.liferay.portos.importazione.service.persistence.KaleoInstanceTokenPersistence; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -/** - * The persistence implementation for the kaleo instance token service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see KaleoInstanceTokenPersistence - * @see KaleoInstanceTokenUtil - * @generated - */ -public class KaleoInstanceTokenPersistenceImpl extends BasePersistenceImpl - implements KaleoInstanceTokenPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link KaleoInstanceTokenUtil} to access the kaleo instance token persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = KaleoInstanceTokenImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(KaleoInstanceTokenModelImpl.ENTITY_CACHE_ENABLED, - KaleoInstanceTokenModelImpl.FINDER_CACHE_ENABLED, - KaleoInstanceTokenImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(KaleoInstanceTokenModelImpl.ENTITY_CACHE_ENABLED, - KaleoInstanceTokenModelImpl.FINDER_CACHE_ENABLED, - KaleoInstanceTokenImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(KaleoInstanceTokenModelImpl.ENTITY_CACHE_ENABLED, - KaleoInstanceTokenModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_FETCH_BY_CLASSPK = new FinderPath(KaleoInstanceTokenModelImpl.ENTITY_CACHE_ENABLED, - KaleoInstanceTokenModelImpl.FINDER_CACHE_ENABLED, - KaleoInstanceTokenImpl.class, FINDER_CLASS_NAME_ENTITY, - "fetchByClassPK", new String[] { Long.class.getName() }, - KaleoInstanceTokenModelImpl.CLASSPK_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_CLASSPK = new FinderPath(KaleoInstanceTokenModelImpl.ENTITY_CACHE_ENABLED, - KaleoInstanceTokenModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByClassPK", - new String[] { Long.class.getName() }); - - /** - * Returns the kaleo instance token where classPK = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchKaleoInstanceTokenException} if it could not be found. - * - * @param classPK the class p k - * @return the matching kaleo instance token - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoInstanceTokenException if a matching kaleo instance token could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoInstanceToken findByClassPK(long classPK) - throws NoSuchKaleoInstanceTokenException, SystemException { - KaleoInstanceToken kaleoInstanceToken = fetchByClassPK(classPK); - - if (kaleoInstanceToken == null) { - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("classPK="); - msg.append(classPK); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchKaleoInstanceTokenException(msg.toString()); - } - - return kaleoInstanceToken; - } - - /** - * Returns the kaleo instance token where classPK = ? or returns null if it could not be found. Uses the finder cache. - * - * @param classPK the class p k - * @return the matching kaleo instance token, or null if a matching kaleo instance token could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoInstanceToken fetchByClassPK(long classPK) - throws SystemException { - return fetchByClassPK(classPK, true); - } - - /** - * Returns the kaleo instance token where classPK = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param classPK the class p k - * @param retrieveFromCache whether to use the finder cache - * @return the matching kaleo instance token, or null if a matching kaleo instance token could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoInstanceToken fetchByClassPK(long classPK, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { classPK }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_CLASSPK, - finderArgs, this); - } - - if (result instanceof KaleoInstanceToken) { - KaleoInstanceToken kaleoInstanceToken = (KaleoInstanceToken)result; - - if ((classPK != kaleoInstanceToken.getClassPK())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_SELECT_KALEOINSTANCETOKEN_WHERE); - - query.append(_FINDER_COLUMN_CLASSPK_CLASSPK_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(classPK); - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CLASSPK, - finderArgs, list); - } - else { - if ((list.size() > 1) && _log.isWarnEnabled()) { - _log.warn( - "KaleoInstanceTokenPersistenceImpl.fetchByClassPK(long, boolean) with parameters (" + - StringUtil.merge(finderArgs) + - ") yields a result set with more than 1 result. This violates the logical unique restriction. There is no order guarantee on which result is returned by this finder."); - } - - KaleoInstanceToken kaleoInstanceToken = list.get(0); - - result = kaleoInstanceToken; - - cacheResult(kaleoInstanceToken); - - if ((kaleoInstanceToken.getClassPK() != classPK)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CLASSPK, - finderArgs, kaleoInstanceToken); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CLASSPK, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (KaleoInstanceToken)result; - } - } - - /** - * Removes the kaleo instance token where classPK = ? from the database. - * - * @param classPK the class p k - * @return the kaleo instance token that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoInstanceToken removeByClassPK(long classPK) - throws NoSuchKaleoInstanceTokenException, SystemException { - KaleoInstanceToken kaleoInstanceToken = findByClassPK(classPK); - - return remove(kaleoInstanceToken); - } - - /** - * Returns the number of kaleo instance tokens where classPK = ?. - * - * @param classPK the class p k - * @return the number of matching kaleo instance tokens - * @throws SystemException if a system exception occurred - */ - @Override - public int countByClassPK(long classPK) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_CLASSPK; - - Object[] finderArgs = new Object[] { classPK }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_KALEOINSTANCETOKEN_WHERE); - - query.append(_FINDER_COLUMN_CLASSPK_CLASSPK_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(classPK); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_CLASSPK_CLASSPK_2 = "kaleoInstanceToken.classPK = ?"; - - public KaleoInstanceTokenPersistenceImpl() { - setModelClass(KaleoInstanceToken.class); - } - - /** - * Caches the kaleo instance token in the entity cache if it is enabled. - * - * @param kaleoInstanceToken the kaleo instance token - */ - @Override - public void cacheResult(KaleoInstanceToken kaleoInstanceToken) { - EntityCacheUtil.putResult(KaleoInstanceTokenModelImpl.ENTITY_CACHE_ENABLED, - KaleoInstanceTokenImpl.class, kaleoInstanceToken.getPrimaryKey(), - kaleoInstanceToken); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CLASSPK, - new Object[] { kaleoInstanceToken.getClassPK() }, kaleoInstanceToken); - - kaleoInstanceToken.resetOriginalValues(); - } - - /** - * Caches the kaleo instance tokens in the entity cache if it is enabled. - * - * @param kaleoInstanceTokens the kaleo instance tokens - */ - @Override - public void cacheResult(List kaleoInstanceTokens) { - for (KaleoInstanceToken kaleoInstanceToken : kaleoInstanceTokens) { - if (EntityCacheUtil.getResult( - KaleoInstanceTokenModelImpl.ENTITY_CACHE_ENABLED, - KaleoInstanceTokenImpl.class, - kaleoInstanceToken.getPrimaryKey()) == null) { - cacheResult(kaleoInstanceToken); - } - else { - kaleoInstanceToken.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all kaleo instance tokens. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(KaleoInstanceTokenImpl.class.getName()); - } - - EntityCacheUtil.clearCache(KaleoInstanceTokenImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the kaleo instance token. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(KaleoInstanceToken kaleoInstanceToken) { - EntityCacheUtil.removeResult(KaleoInstanceTokenModelImpl.ENTITY_CACHE_ENABLED, - KaleoInstanceTokenImpl.class, kaleoInstanceToken.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(kaleoInstanceToken); - } - - @Override - public void clearCache(List kaleoInstanceTokens) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (KaleoInstanceToken kaleoInstanceToken : kaleoInstanceTokens) { - EntityCacheUtil.removeResult(KaleoInstanceTokenModelImpl.ENTITY_CACHE_ENABLED, - KaleoInstanceTokenImpl.class, kaleoInstanceToken.getPrimaryKey()); - - clearUniqueFindersCache(kaleoInstanceToken); - } - } - - protected void cacheUniqueFindersCache( - KaleoInstanceToken kaleoInstanceToken) { - if (kaleoInstanceToken.isNew()) { - Object[] args = new Object[] { kaleoInstanceToken.getClassPK() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_CLASSPK, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CLASSPK, args, - kaleoInstanceToken); - } - else { - KaleoInstanceTokenModelImpl kaleoInstanceTokenModelImpl = (KaleoInstanceTokenModelImpl)kaleoInstanceToken; - - if ((kaleoInstanceTokenModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_CLASSPK.getColumnBitmask()) != 0) { - Object[] args = new Object[] { kaleoInstanceToken.getClassPK() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_CLASSPK, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CLASSPK, args, - kaleoInstanceToken); - } - } - } - - protected void clearUniqueFindersCache( - KaleoInstanceToken kaleoInstanceToken) { - KaleoInstanceTokenModelImpl kaleoInstanceTokenModelImpl = (KaleoInstanceTokenModelImpl)kaleoInstanceToken; - - Object[] args = new Object[] { kaleoInstanceToken.getClassPK() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CLASSPK, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CLASSPK, args); - - if ((kaleoInstanceTokenModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_CLASSPK.getColumnBitmask()) != 0) { - args = new Object[] { kaleoInstanceTokenModelImpl.getOriginalClassPK() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CLASSPK, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CLASSPK, args); - } - } - - /** - * Creates a new kaleo instance token with the primary key. Does not add the kaleo instance token to the database. - * - * @param kaleoInstanceTokenId the primary key for the new kaleo instance token - * @return the new kaleo instance token - */ - @Override - public KaleoInstanceToken create(long kaleoInstanceTokenId) { - KaleoInstanceToken kaleoInstanceToken = new KaleoInstanceTokenImpl(); - - kaleoInstanceToken.setNew(true); - kaleoInstanceToken.setPrimaryKey(kaleoInstanceTokenId); - - return kaleoInstanceToken; - } - - /** - * Removes the kaleo instance token with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoInstanceTokenId the primary key of the kaleo instance token - * @return the kaleo instance token that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoInstanceTokenException if a kaleo instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoInstanceToken remove(long kaleoInstanceTokenId) - throws NoSuchKaleoInstanceTokenException, SystemException { - return remove((Serializable)kaleoInstanceTokenId); - } - - /** - * Removes the kaleo instance token with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the kaleo instance token - * @return the kaleo instance token that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoInstanceTokenException if a kaleo instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoInstanceToken remove(Serializable primaryKey) - throws NoSuchKaleoInstanceTokenException, SystemException { - Session session = null; - - try { - session = openSession(); - - KaleoInstanceToken kaleoInstanceToken = (KaleoInstanceToken)session.get(KaleoInstanceTokenImpl.class, - primaryKey); - - if (kaleoInstanceToken == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchKaleoInstanceTokenException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(kaleoInstanceToken); - } - catch (NoSuchKaleoInstanceTokenException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected KaleoInstanceToken removeImpl( - KaleoInstanceToken kaleoInstanceToken) throws SystemException { - kaleoInstanceToken = toUnwrappedModel(kaleoInstanceToken); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(kaleoInstanceToken)) { - kaleoInstanceToken = (KaleoInstanceToken)session.get(KaleoInstanceTokenImpl.class, - kaleoInstanceToken.getPrimaryKeyObj()); - } - - if (kaleoInstanceToken != null) { - session.delete(kaleoInstanceToken); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (kaleoInstanceToken != null) { - clearCache(kaleoInstanceToken); - } - - return kaleoInstanceToken; - } - - @Override - public KaleoInstanceToken updateImpl( - it.tref.liferay.portos.importazione.model.KaleoInstanceToken kaleoInstanceToken) - throws SystemException { - kaleoInstanceToken = toUnwrappedModel(kaleoInstanceToken); - - boolean isNew = kaleoInstanceToken.isNew(); - - Session session = null; - - try { - session = openSession(); - - if (kaleoInstanceToken.isNew()) { - session.save(kaleoInstanceToken); - - kaleoInstanceToken.setNew(false); - } - else { - session.merge(kaleoInstanceToken); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !KaleoInstanceTokenModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - EntityCacheUtil.putResult(KaleoInstanceTokenModelImpl.ENTITY_CACHE_ENABLED, - KaleoInstanceTokenImpl.class, kaleoInstanceToken.getPrimaryKey(), - kaleoInstanceToken); - - clearUniqueFindersCache(kaleoInstanceToken); - cacheUniqueFindersCache(kaleoInstanceToken); - - return kaleoInstanceToken; - } - - protected KaleoInstanceToken toUnwrappedModel( - KaleoInstanceToken kaleoInstanceToken) { - if (kaleoInstanceToken instanceof KaleoInstanceTokenImpl) { - return kaleoInstanceToken; - } - - KaleoInstanceTokenImpl kaleoInstanceTokenImpl = new KaleoInstanceTokenImpl(); - - kaleoInstanceTokenImpl.setNew(kaleoInstanceToken.isNew()); - kaleoInstanceTokenImpl.setPrimaryKey(kaleoInstanceToken.getPrimaryKey()); - - kaleoInstanceTokenImpl.setKaleoInstanceTokenId(kaleoInstanceToken.getKaleoInstanceTokenId()); - kaleoInstanceTokenImpl.setGroupId(kaleoInstanceToken.getGroupId()); - kaleoInstanceTokenImpl.setCompanyId(kaleoInstanceToken.getCompanyId()); - kaleoInstanceTokenImpl.setUserId(kaleoInstanceToken.getUserId()); - kaleoInstanceTokenImpl.setUserName(kaleoInstanceToken.getUserName()); - kaleoInstanceTokenImpl.setCreateDate(kaleoInstanceToken.getCreateDate()); - kaleoInstanceTokenImpl.setModifiedDate(kaleoInstanceToken.getModifiedDate()); - kaleoInstanceTokenImpl.setKaleoDefinitionId(kaleoInstanceToken.getKaleoDefinitionId()); - kaleoInstanceTokenImpl.setKaleoInstanceId(kaleoInstanceToken.getKaleoInstanceId()); - kaleoInstanceTokenImpl.setParentKaleoInstanceTokenId(kaleoInstanceToken.getParentKaleoInstanceTokenId()); - kaleoInstanceTokenImpl.setCurrentKaleoNodeId(kaleoInstanceToken.getCurrentKaleoNodeId()); - kaleoInstanceTokenImpl.setCurrentKaleoNodeName(kaleoInstanceToken.getCurrentKaleoNodeName()); - kaleoInstanceTokenImpl.setClassName(kaleoInstanceToken.getClassName()); - kaleoInstanceTokenImpl.setClassPK(kaleoInstanceToken.getClassPK()); - kaleoInstanceTokenImpl.setCompleted(kaleoInstanceToken.isCompleted()); - kaleoInstanceTokenImpl.setCompletionDate(kaleoInstanceToken.getCompletionDate()); - - return kaleoInstanceTokenImpl; - } - - /** - * Returns the kaleo instance token with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the kaleo instance token - * @return the kaleo instance token - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoInstanceTokenException if a kaleo instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoInstanceToken findByPrimaryKey(Serializable primaryKey) - throws NoSuchKaleoInstanceTokenException, SystemException { - KaleoInstanceToken kaleoInstanceToken = fetchByPrimaryKey(primaryKey); - - if (kaleoInstanceToken == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchKaleoInstanceTokenException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return kaleoInstanceToken; - } - - /** - * Returns the kaleo instance token with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchKaleoInstanceTokenException} if it could not be found. - * - * @param kaleoInstanceTokenId the primary key of the kaleo instance token - * @return the kaleo instance token - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoInstanceTokenException if a kaleo instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoInstanceToken findByPrimaryKey(long kaleoInstanceTokenId) - throws NoSuchKaleoInstanceTokenException, SystemException { - return findByPrimaryKey((Serializable)kaleoInstanceTokenId); - } - - /** - * Returns the kaleo instance token with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the kaleo instance token - * @return the kaleo instance token, or null if a kaleo instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoInstanceToken fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - KaleoInstanceToken kaleoInstanceToken = (KaleoInstanceToken)EntityCacheUtil.getResult(KaleoInstanceTokenModelImpl.ENTITY_CACHE_ENABLED, - KaleoInstanceTokenImpl.class, primaryKey); - - if (kaleoInstanceToken == _nullKaleoInstanceToken) { - return null; - } - - if (kaleoInstanceToken == null) { - Session session = null; - - try { - session = openSession(); - - kaleoInstanceToken = (KaleoInstanceToken)session.get(KaleoInstanceTokenImpl.class, - primaryKey); - - if (kaleoInstanceToken != null) { - cacheResult(kaleoInstanceToken); - } - else { - EntityCacheUtil.putResult(KaleoInstanceTokenModelImpl.ENTITY_CACHE_ENABLED, - KaleoInstanceTokenImpl.class, primaryKey, - _nullKaleoInstanceToken); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(KaleoInstanceTokenModelImpl.ENTITY_CACHE_ENABLED, - KaleoInstanceTokenImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return kaleoInstanceToken; - } - - /** - * Returns the kaleo instance token with the primary key or returns null if it could not be found. - * - * @param kaleoInstanceTokenId the primary key of the kaleo instance token - * @return the kaleo instance token, or null if a kaleo instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoInstanceToken fetchByPrimaryKey(long kaleoInstanceTokenId) - throws SystemException { - return fetchByPrimaryKey((Serializable)kaleoInstanceTokenId); - } - - /** - * Returns all the kaleo instance tokens. - * - * @return the kaleo instance tokens - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the kaleo instance tokens. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceTokenModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo instance tokens - * @param end the upper bound of the range of kaleo instance tokens (not inclusive) - * @return the range of kaleo instance tokens - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the kaleo instance tokens. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoInstanceTokenModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo instance tokens - * @param end the upper bound of the range of kaleo instance tokens (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of kaleo instance tokens - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_KALEOINSTANCETOKEN); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_KALEOINSTANCETOKEN; - - if (pagination) { - sql = sql.concat(KaleoInstanceTokenModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the kaleo instance tokens from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (KaleoInstanceToken kaleoInstanceToken : findAll()) { - remove(kaleoInstanceToken); - } - } - - /** - * Returns the number of kaleo instance tokens. - * - * @return the number of kaleo instance tokens - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_KALEOINSTANCETOKEN); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - /** - * Initializes the kaleo instance token persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.importazione.model.KaleoInstanceToken"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(KaleoInstanceTokenImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_KALEOINSTANCETOKEN = "SELECT kaleoInstanceToken FROM KaleoInstanceToken kaleoInstanceToken"; - private static final String _SQL_SELECT_KALEOINSTANCETOKEN_WHERE = "SELECT kaleoInstanceToken FROM KaleoInstanceToken kaleoInstanceToken WHERE "; - private static final String _SQL_COUNT_KALEOINSTANCETOKEN = "SELECT COUNT(kaleoInstanceToken) FROM KaleoInstanceToken kaleoInstanceToken"; - private static final String _SQL_COUNT_KALEOINSTANCETOKEN_WHERE = "SELECT COUNT(kaleoInstanceToken) FROM KaleoInstanceToken kaleoInstanceToken WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "kaleoInstanceToken."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No KaleoInstanceToken exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No KaleoInstanceToken exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(KaleoInstanceTokenPersistenceImpl.class); - private static KaleoInstanceToken _nullKaleoInstanceToken = new KaleoInstanceTokenImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullKaleoInstanceTokenCacheModel; - } - }; - - private static CacheModel _nullKaleoInstanceTokenCacheModel = - new CacheModel() { - @Override - public KaleoInstanceToken toEntityModel() { - return _nullKaleoInstanceToken; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/KaleoLogPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/KaleoLogPersistenceImpl.java deleted file mode 100644 index dd9b8b67..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/KaleoLogPersistenceImpl.java +++ /dev/null @@ -1,2249 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.SetUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.importazione.NoSuchKaleoLogException; -import it.tref.liferay.portos.importazione.model.KaleoLog; -import it.tref.liferay.portos.importazione.model.impl.KaleoLogImpl; -import it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl; -import it.tref.liferay.portos.importazione.service.persistence.KaleoLogPersistence; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Set; - -/** - * The persistence implementation for the kaleo log service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see KaleoLogPersistence - * @see KaleoLogUtil - * @generated - */ -public class KaleoLogPersistenceImpl extends BasePersistenceImpl - implements KaleoLogPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link KaleoLogUtil} to access the kaleo log persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = KaleoLogImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(KaleoLogModelImpl.ENTITY_CACHE_ENABLED, - KaleoLogModelImpl.FINDER_CACHE_ENABLED, KaleoLogImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(KaleoLogModelImpl.ENTITY_CACHE_ENABLED, - KaleoLogModelImpl.FINDER_CACHE_ENABLED, KaleoLogImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(KaleoLogModelImpl.ENTITY_CACHE_ENABLED, - KaleoLogModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID = - new FinderPath(KaleoLogModelImpl.ENTITY_CACHE_ENABLED, - KaleoLogModelImpl.FINDER_CACHE_ENABLED, KaleoLogImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByCompanyId", - new String[] { - Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID = - new FinderPath(KaleoLogModelImpl.ENTITY_CACHE_ENABLED, - KaleoLogModelImpl.FINDER_CACHE_ENABLED, KaleoLogImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByCompanyId", - new String[] { Long.class.getName() }, - KaleoLogModelImpl.COMPANYID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID = new FinderPath(KaleoLogModelImpl.ENTITY_CACHE_ENABLED, - KaleoLogModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByCompanyId", - new String[] { Long.class.getName() }); - - /** - * Returns all the kaleo logs where companyId = ?. - * - * @param companyId the company ID - * @return the matching kaleo logs - * @throws SystemException if a system exception occurred - */ - @Override - public List findByCompanyId(long companyId) - throws SystemException { - return findByCompanyId(companyId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, - null); - } - - /** - * Returns a range of all the kaleo logs where companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param start the lower bound of the range of kaleo logs - * @param end the upper bound of the range of kaleo logs (not inclusive) - * @return the range of matching kaleo logs - * @throws SystemException if a system exception occurred - */ - @Override - public List findByCompanyId(long companyId, int start, int end) - throws SystemException { - return findByCompanyId(companyId, start, end, null); - } - - /** - * Returns an ordered range of all the kaleo logs where companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param start the lower bound of the range of kaleo logs - * @param end the upper bound of the range of kaleo logs (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching kaleo logs - * @throws SystemException if a system exception occurred - */ - @Override - public List findByCompanyId(long companyId, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID; - finderArgs = new Object[] { companyId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID; - finderArgs = new Object[] { companyId, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (KaleoLog kaleoLog : list) { - if ((companyId != kaleoLog.getCompanyId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_KALEOLOG_WHERE); - - query.append(_FINDER_COLUMN_COMPANYID_COMPANYID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(KaleoLogModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first kaleo log in the ordered set where companyId = ?. - * - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching kaleo log - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoLogException if a matching kaleo log could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoLog findByCompanyId_First(long companyId, - OrderByComparator orderByComparator) - throws NoSuchKaleoLogException, SystemException { - KaleoLog kaleoLog = fetchByCompanyId_First(companyId, orderByComparator); - - if (kaleoLog != null) { - return kaleoLog; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchKaleoLogException(msg.toString()); - } - - /** - * Returns the first kaleo log in the ordered set where companyId = ?. - * - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching kaleo log, or null if a matching kaleo log could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoLog fetchByCompanyId_First(long companyId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByCompanyId(companyId, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last kaleo log in the ordered set where companyId = ?. - * - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching kaleo log - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoLogException if a matching kaleo log could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoLog findByCompanyId_Last(long companyId, - OrderByComparator orderByComparator) - throws NoSuchKaleoLogException, SystemException { - KaleoLog kaleoLog = fetchByCompanyId_Last(companyId, orderByComparator); - - if (kaleoLog != null) { - return kaleoLog; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchKaleoLogException(msg.toString()); - } - - /** - * Returns the last kaleo log in the ordered set where companyId = ?. - * - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching kaleo log, or null if a matching kaleo log could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoLog fetchByCompanyId_Last(long companyId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByCompanyId(companyId); - - if (count == 0) { - return null; - } - - List list = findByCompanyId(companyId, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the kaleo logs before and after the current kaleo log in the ordered set where companyId = ?. - * - * @param kaleoLogId the primary key of the current kaleo log - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next kaleo log - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoLogException if a kaleo log with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoLog[] findByCompanyId_PrevAndNext(long kaleoLogId, - long companyId, OrderByComparator orderByComparator) - throws NoSuchKaleoLogException, SystemException { - KaleoLog kaleoLog = findByPrimaryKey(kaleoLogId); - - Session session = null; - - try { - session = openSession(); - - KaleoLog[] array = new KaleoLogImpl[3]; - - array[0] = getByCompanyId_PrevAndNext(session, kaleoLog, companyId, - orderByComparator, true); - - array[1] = kaleoLog; - - array[2] = getByCompanyId_PrevAndNext(session, kaleoLog, companyId, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected KaleoLog getByCompanyId_PrevAndNext(Session session, - KaleoLog kaleoLog, long companyId, OrderByComparator orderByComparator, - boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_KALEOLOG_WHERE); - - query.append(_FINDER_COLUMN_COMPANYID_COMPANYID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(KaleoLogModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(kaleoLog); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the kaleo logs where companyId = ? from the database. - * - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByCompanyId(long companyId) throws SystemException { - for (KaleoLog kaleoLog : findByCompanyId(companyId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(kaleoLog); - } - } - - /** - * Returns the number of kaleo logs where companyId = ?. - * - * @param companyId the company ID - * @return the number of matching kaleo logs - * @throws SystemException if a system exception occurred - */ - @Override - public int countByCompanyId(long companyId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_COMPANYID; - - Object[] finderArgs = new Object[] { companyId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_KALEOLOG_WHERE); - - query.append(_FINDER_COLUMN_COMPANYID_COMPANYID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_COMPANYID_COMPANYID_2 = "kaleoLog.companyId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_KALEODEFINITIONID = - new FinderPath(KaleoLogModelImpl.ENTITY_CACHE_ENABLED, - KaleoLogModelImpl.FINDER_CACHE_ENABLED, KaleoLogImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByKaleoDefinitionId", - new String[] { - Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_KALEODEFINITIONID = - new FinderPath(KaleoLogModelImpl.ENTITY_CACHE_ENABLED, - KaleoLogModelImpl.FINDER_CACHE_ENABLED, KaleoLogImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByKaleoDefinitionId", new String[] { Long.class.getName() }, - KaleoLogModelImpl.KALEODEFINITIONID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_KALEODEFINITIONID = new FinderPath(KaleoLogModelImpl.ENTITY_CACHE_ENABLED, - KaleoLogModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByKaleoDefinitionId", new String[] { Long.class.getName() }); - - /** - * Returns all the kaleo logs where kaleoDefinitionId = ?. - * - * @param kaleoDefinitionId the kaleo definition ID - * @return the matching kaleo logs - * @throws SystemException if a system exception occurred - */ - @Override - public List findByKaleoDefinitionId(long kaleoDefinitionId) - throws SystemException { - return findByKaleoDefinitionId(kaleoDefinitionId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the kaleo logs where kaleoDefinitionId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param kaleoDefinitionId the kaleo definition ID - * @param start the lower bound of the range of kaleo logs - * @param end the upper bound of the range of kaleo logs (not inclusive) - * @return the range of matching kaleo logs - * @throws SystemException if a system exception occurred - */ - @Override - public List findByKaleoDefinitionId(long kaleoDefinitionId, - int start, int end) throws SystemException { - return findByKaleoDefinitionId(kaleoDefinitionId, start, end, null); - } - - /** - * Returns an ordered range of all the kaleo logs where kaleoDefinitionId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param kaleoDefinitionId the kaleo definition ID - * @param start the lower bound of the range of kaleo logs - * @param end the upper bound of the range of kaleo logs (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching kaleo logs - * @throws SystemException if a system exception occurred - */ - @Override - public List findByKaleoDefinitionId(long kaleoDefinitionId, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_KALEODEFINITIONID; - finderArgs = new Object[] { kaleoDefinitionId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_KALEODEFINITIONID; - finderArgs = new Object[] { - kaleoDefinitionId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (KaleoLog kaleoLog : list) { - if ((kaleoDefinitionId != kaleoLog.getKaleoDefinitionId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_KALEOLOG_WHERE); - - query.append(_FINDER_COLUMN_KALEODEFINITIONID_KALEODEFINITIONID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(KaleoLogModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(kaleoDefinitionId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first kaleo log in the ordered set where kaleoDefinitionId = ?. - * - * @param kaleoDefinitionId the kaleo definition ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching kaleo log - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoLogException if a matching kaleo log could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoLog findByKaleoDefinitionId_First(long kaleoDefinitionId, - OrderByComparator orderByComparator) - throws NoSuchKaleoLogException, SystemException { - KaleoLog kaleoLog = fetchByKaleoDefinitionId_First(kaleoDefinitionId, - orderByComparator); - - if (kaleoLog != null) { - return kaleoLog; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("kaleoDefinitionId="); - msg.append(kaleoDefinitionId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchKaleoLogException(msg.toString()); - } - - /** - * Returns the first kaleo log in the ordered set where kaleoDefinitionId = ?. - * - * @param kaleoDefinitionId the kaleo definition ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching kaleo log, or null if a matching kaleo log could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoLog fetchByKaleoDefinitionId_First(long kaleoDefinitionId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByKaleoDefinitionId(kaleoDefinitionId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last kaleo log in the ordered set where kaleoDefinitionId = ?. - * - * @param kaleoDefinitionId the kaleo definition ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching kaleo log - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoLogException if a matching kaleo log could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoLog findByKaleoDefinitionId_Last(long kaleoDefinitionId, - OrderByComparator orderByComparator) - throws NoSuchKaleoLogException, SystemException { - KaleoLog kaleoLog = fetchByKaleoDefinitionId_Last(kaleoDefinitionId, - orderByComparator); - - if (kaleoLog != null) { - return kaleoLog; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("kaleoDefinitionId="); - msg.append(kaleoDefinitionId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchKaleoLogException(msg.toString()); - } - - /** - * Returns the last kaleo log in the ordered set where kaleoDefinitionId = ?. - * - * @param kaleoDefinitionId the kaleo definition ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching kaleo log, or null if a matching kaleo log could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoLog fetchByKaleoDefinitionId_Last(long kaleoDefinitionId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByKaleoDefinitionId(kaleoDefinitionId); - - if (count == 0) { - return null; - } - - List list = findByKaleoDefinitionId(kaleoDefinitionId, - count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the kaleo logs before and after the current kaleo log in the ordered set where kaleoDefinitionId = ?. - * - * @param kaleoLogId the primary key of the current kaleo log - * @param kaleoDefinitionId the kaleo definition ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next kaleo log - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoLogException if a kaleo log with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoLog[] findByKaleoDefinitionId_PrevAndNext(long kaleoLogId, - long kaleoDefinitionId, OrderByComparator orderByComparator) - throws NoSuchKaleoLogException, SystemException { - KaleoLog kaleoLog = findByPrimaryKey(kaleoLogId); - - Session session = null; - - try { - session = openSession(); - - KaleoLog[] array = new KaleoLogImpl[3]; - - array[0] = getByKaleoDefinitionId_PrevAndNext(session, kaleoLog, - kaleoDefinitionId, orderByComparator, true); - - array[1] = kaleoLog; - - array[2] = getByKaleoDefinitionId_PrevAndNext(session, kaleoLog, - kaleoDefinitionId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected KaleoLog getByKaleoDefinitionId_PrevAndNext(Session session, - KaleoLog kaleoLog, long kaleoDefinitionId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_KALEOLOG_WHERE); - - query.append(_FINDER_COLUMN_KALEODEFINITIONID_KALEODEFINITIONID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(KaleoLogModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(kaleoDefinitionId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(kaleoLog); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the kaleo logs where kaleoDefinitionId = ? from the database. - * - * @param kaleoDefinitionId the kaleo definition ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByKaleoDefinitionId(long kaleoDefinitionId) - throws SystemException { - for (KaleoLog kaleoLog : findByKaleoDefinitionId(kaleoDefinitionId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(kaleoLog); - } - } - - /** - * Returns the number of kaleo logs where kaleoDefinitionId = ?. - * - * @param kaleoDefinitionId the kaleo definition ID - * @return the number of matching kaleo logs - * @throws SystemException if a system exception occurred - */ - @Override - public int countByKaleoDefinitionId(long kaleoDefinitionId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_KALEODEFINITIONID; - - Object[] finderArgs = new Object[] { kaleoDefinitionId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_KALEOLOG_WHERE); - - query.append(_FINDER_COLUMN_KALEODEFINITIONID_KALEODEFINITIONID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(kaleoDefinitionId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_KALEODEFINITIONID_KALEODEFINITIONID_2 = - "kaleoLog.kaleoDefinitionId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_KALEOINSTANCEID = - new FinderPath(KaleoLogModelImpl.ENTITY_CACHE_ENABLED, - KaleoLogModelImpl.FINDER_CACHE_ENABLED, KaleoLogImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByKaleoInstanceId", - new String[] { - Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_KALEOINSTANCEID = - new FinderPath(KaleoLogModelImpl.ENTITY_CACHE_ENABLED, - KaleoLogModelImpl.FINDER_CACHE_ENABLED, KaleoLogImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByKaleoInstanceId", - new String[] { Long.class.getName() }, - KaleoLogModelImpl.KALEOINSTANCEID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_KALEOINSTANCEID = new FinderPath(KaleoLogModelImpl.ENTITY_CACHE_ENABLED, - KaleoLogModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByKaleoInstanceId", new String[] { Long.class.getName() }); - - /** - * Returns all the kaleo logs where kaleoInstanceId = ?. - * - * @param kaleoInstanceId the kaleo instance ID - * @return the matching kaleo logs - * @throws SystemException if a system exception occurred - */ - @Override - public List findByKaleoInstanceId(long kaleoInstanceId) - throws SystemException { - return findByKaleoInstanceId(kaleoInstanceId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the kaleo logs where kaleoInstanceId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param kaleoInstanceId the kaleo instance ID - * @param start the lower bound of the range of kaleo logs - * @param end the upper bound of the range of kaleo logs (not inclusive) - * @return the range of matching kaleo logs - * @throws SystemException if a system exception occurred - */ - @Override - public List findByKaleoInstanceId(long kaleoInstanceId, - int start, int end) throws SystemException { - return findByKaleoInstanceId(kaleoInstanceId, start, end, null); - } - - /** - * Returns an ordered range of all the kaleo logs where kaleoInstanceId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param kaleoInstanceId the kaleo instance ID - * @param start the lower bound of the range of kaleo logs - * @param end the upper bound of the range of kaleo logs (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching kaleo logs - * @throws SystemException if a system exception occurred - */ - @Override - public List findByKaleoInstanceId(long kaleoInstanceId, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_KALEOINSTANCEID; - finderArgs = new Object[] { kaleoInstanceId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_KALEOINSTANCEID; - finderArgs = new Object[] { - kaleoInstanceId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (KaleoLog kaleoLog : list) { - if ((kaleoInstanceId != kaleoLog.getKaleoInstanceId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_KALEOLOG_WHERE); - - query.append(_FINDER_COLUMN_KALEOINSTANCEID_KALEOINSTANCEID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(KaleoLogModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(kaleoInstanceId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first kaleo log in the ordered set where kaleoInstanceId = ?. - * - * @param kaleoInstanceId the kaleo instance ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching kaleo log - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoLogException if a matching kaleo log could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoLog findByKaleoInstanceId_First(long kaleoInstanceId, - OrderByComparator orderByComparator) - throws NoSuchKaleoLogException, SystemException { - KaleoLog kaleoLog = fetchByKaleoInstanceId_First(kaleoInstanceId, - orderByComparator); - - if (kaleoLog != null) { - return kaleoLog; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("kaleoInstanceId="); - msg.append(kaleoInstanceId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchKaleoLogException(msg.toString()); - } - - /** - * Returns the first kaleo log in the ordered set where kaleoInstanceId = ?. - * - * @param kaleoInstanceId the kaleo instance ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching kaleo log, or null if a matching kaleo log could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoLog fetchByKaleoInstanceId_First(long kaleoInstanceId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByKaleoInstanceId(kaleoInstanceId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last kaleo log in the ordered set where kaleoInstanceId = ?. - * - * @param kaleoInstanceId the kaleo instance ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching kaleo log - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoLogException if a matching kaleo log could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoLog findByKaleoInstanceId_Last(long kaleoInstanceId, - OrderByComparator orderByComparator) - throws NoSuchKaleoLogException, SystemException { - KaleoLog kaleoLog = fetchByKaleoInstanceId_Last(kaleoInstanceId, - orderByComparator); - - if (kaleoLog != null) { - return kaleoLog; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("kaleoInstanceId="); - msg.append(kaleoInstanceId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchKaleoLogException(msg.toString()); - } - - /** - * Returns the last kaleo log in the ordered set where kaleoInstanceId = ?. - * - * @param kaleoInstanceId the kaleo instance ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching kaleo log, or null if a matching kaleo log could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoLog fetchByKaleoInstanceId_Last(long kaleoInstanceId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByKaleoInstanceId(kaleoInstanceId); - - if (count == 0) { - return null; - } - - List list = findByKaleoInstanceId(kaleoInstanceId, count - 1, - count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the kaleo logs before and after the current kaleo log in the ordered set where kaleoInstanceId = ?. - * - * @param kaleoLogId the primary key of the current kaleo log - * @param kaleoInstanceId the kaleo instance ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next kaleo log - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoLogException if a kaleo log with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoLog[] findByKaleoInstanceId_PrevAndNext(long kaleoLogId, - long kaleoInstanceId, OrderByComparator orderByComparator) - throws NoSuchKaleoLogException, SystemException { - KaleoLog kaleoLog = findByPrimaryKey(kaleoLogId); - - Session session = null; - - try { - session = openSession(); - - KaleoLog[] array = new KaleoLogImpl[3]; - - array[0] = getByKaleoInstanceId_PrevAndNext(session, kaleoLog, - kaleoInstanceId, orderByComparator, true); - - array[1] = kaleoLog; - - array[2] = getByKaleoInstanceId_PrevAndNext(session, kaleoLog, - kaleoInstanceId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected KaleoLog getByKaleoInstanceId_PrevAndNext(Session session, - KaleoLog kaleoLog, long kaleoInstanceId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_KALEOLOG_WHERE); - - query.append(_FINDER_COLUMN_KALEOINSTANCEID_KALEOINSTANCEID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(KaleoLogModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(kaleoInstanceId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(kaleoLog); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the kaleo logs where kaleoInstanceId = ? from the database. - * - * @param kaleoInstanceId the kaleo instance ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByKaleoInstanceId(long kaleoInstanceId) - throws SystemException { - for (KaleoLog kaleoLog : findByKaleoInstanceId(kaleoInstanceId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(kaleoLog); - } - } - - /** - * Returns the number of kaleo logs where kaleoInstanceId = ?. - * - * @param kaleoInstanceId the kaleo instance ID - * @return the number of matching kaleo logs - * @throws SystemException if a system exception occurred - */ - @Override - public int countByKaleoInstanceId(long kaleoInstanceId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_KALEOINSTANCEID; - - Object[] finderArgs = new Object[] { kaleoInstanceId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_KALEOLOG_WHERE); - - query.append(_FINDER_COLUMN_KALEOINSTANCEID_KALEOINSTANCEID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(kaleoInstanceId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_KALEOINSTANCEID_KALEOINSTANCEID_2 = - "kaleoLog.kaleoInstanceId = ?"; - - public KaleoLogPersistenceImpl() { - setModelClass(KaleoLog.class); - } - - /** - * Caches the kaleo log in the entity cache if it is enabled. - * - * @param kaleoLog the kaleo log - */ - @Override - public void cacheResult(KaleoLog kaleoLog) { - EntityCacheUtil.putResult(KaleoLogModelImpl.ENTITY_CACHE_ENABLED, - KaleoLogImpl.class, kaleoLog.getPrimaryKey(), kaleoLog); - - kaleoLog.resetOriginalValues(); - } - - /** - * Caches the kaleo logs in the entity cache if it is enabled. - * - * @param kaleoLogs the kaleo logs - */ - @Override - public void cacheResult(List kaleoLogs) { - for (KaleoLog kaleoLog : kaleoLogs) { - if (EntityCacheUtil.getResult( - KaleoLogModelImpl.ENTITY_CACHE_ENABLED, - KaleoLogImpl.class, kaleoLog.getPrimaryKey()) == null) { - cacheResult(kaleoLog); - } - else { - kaleoLog.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all kaleo logs. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(KaleoLogImpl.class.getName()); - } - - EntityCacheUtil.clearCache(KaleoLogImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the kaleo log. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(KaleoLog kaleoLog) { - EntityCacheUtil.removeResult(KaleoLogModelImpl.ENTITY_CACHE_ENABLED, - KaleoLogImpl.class, kaleoLog.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - @Override - public void clearCache(List kaleoLogs) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (KaleoLog kaleoLog : kaleoLogs) { - EntityCacheUtil.removeResult(KaleoLogModelImpl.ENTITY_CACHE_ENABLED, - KaleoLogImpl.class, kaleoLog.getPrimaryKey()); - } - } - - /** - * Creates a new kaleo log with the primary key. Does not add the kaleo log to the database. - * - * @param kaleoLogId the primary key for the new kaleo log - * @return the new kaleo log - */ - @Override - public KaleoLog create(long kaleoLogId) { - KaleoLog kaleoLog = new KaleoLogImpl(); - - kaleoLog.setNew(true); - kaleoLog.setPrimaryKey(kaleoLogId); - - return kaleoLog; - } - - /** - * Removes the kaleo log with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoLogId the primary key of the kaleo log - * @return the kaleo log that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoLogException if a kaleo log with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoLog remove(long kaleoLogId) - throws NoSuchKaleoLogException, SystemException { - return remove((Serializable)kaleoLogId); - } - - /** - * Removes the kaleo log with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the kaleo log - * @return the kaleo log that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoLogException if a kaleo log with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoLog remove(Serializable primaryKey) - throws NoSuchKaleoLogException, SystemException { - Session session = null; - - try { - session = openSession(); - - KaleoLog kaleoLog = (KaleoLog)session.get(KaleoLogImpl.class, - primaryKey); - - if (kaleoLog == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchKaleoLogException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(kaleoLog); - } - catch (NoSuchKaleoLogException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected KaleoLog removeImpl(KaleoLog kaleoLog) throws SystemException { - kaleoLog = toUnwrappedModel(kaleoLog); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(kaleoLog)) { - kaleoLog = (KaleoLog)session.get(KaleoLogImpl.class, - kaleoLog.getPrimaryKeyObj()); - } - - if (kaleoLog != null) { - session.delete(kaleoLog); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (kaleoLog != null) { - clearCache(kaleoLog); - } - - return kaleoLog; - } - - @Override - public KaleoLog updateImpl( - it.tref.liferay.portos.importazione.model.KaleoLog kaleoLog) - throws SystemException { - kaleoLog = toUnwrappedModel(kaleoLog); - - boolean isNew = kaleoLog.isNew(); - - KaleoLogModelImpl kaleoLogModelImpl = (KaleoLogModelImpl)kaleoLog; - - Session session = null; - - try { - session = openSession(); - - if (kaleoLog.isNew()) { - session.save(kaleoLog); - - kaleoLog.setNew(false); - } - else { - session.merge(kaleoLog); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !KaleoLogModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((kaleoLogModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - kaleoLogModelImpl.getOriginalCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_COMPANYID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID, - args); - - args = new Object[] { kaleoLogModelImpl.getCompanyId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_COMPANYID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID, - args); - } - - if ((kaleoLogModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_KALEODEFINITIONID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - kaleoLogModelImpl.getOriginalKaleoDefinitionId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_KALEODEFINITIONID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_KALEODEFINITIONID, - args); - - args = new Object[] { kaleoLogModelImpl.getKaleoDefinitionId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_KALEODEFINITIONID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_KALEODEFINITIONID, - args); - } - - if ((kaleoLogModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_KALEOINSTANCEID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - kaleoLogModelImpl.getOriginalKaleoInstanceId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_KALEOINSTANCEID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_KALEOINSTANCEID, - args); - - args = new Object[] { kaleoLogModelImpl.getKaleoInstanceId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_KALEOINSTANCEID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_KALEOINSTANCEID, - args); - } - } - - EntityCacheUtil.putResult(KaleoLogModelImpl.ENTITY_CACHE_ENABLED, - KaleoLogImpl.class, kaleoLog.getPrimaryKey(), kaleoLog); - - return kaleoLog; - } - - protected KaleoLog toUnwrappedModel(KaleoLog kaleoLog) { - if (kaleoLog instanceof KaleoLogImpl) { - return kaleoLog; - } - - KaleoLogImpl kaleoLogImpl = new KaleoLogImpl(); - - kaleoLogImpl.setNew(kaleoLog.isNew()); - kaleoLogImpl.setPrimaryKey(kaleoLog.getPrimaryKey()); - - kaleoLogImpl.setKaleoLogId(kaleoLog.getKaleoLogId()); - kaleoLogImpl.setGroupId(kaleoLog.getGroupId()); - kaleoLogImpl.setCompanyId(kaleoLog.getCompanyId()); - kaleoLogImpl.setUserId(kaleoLog.getUserId()); - kaleoLogImpl.setUserName(kaleoLog.getUserName()); - kaleoLogImpl.setCreateDate(kaleoLog.getCreateDate()); - kaleoLogImpl.setModifiedDate(kaleoLog.getModifiedDate()); - kaleoLogImpl.setKaleoClassName(kaleoLog.getKaleoClassName()); - kaleoLogImpl.setKaleoClassPK(kaleoLog.getKaleoClassPK()); - kaleoLogImpl.setKaleoDefinitionId(kaleoLog.getKaleoDefinitionId()); - kaleoLogImpl.setKaleoInstanceId(kaleoLog.getKaleoInstanceId()); - kaleoLogImpl.setKaleoInstanceTokenId(kaleoLog.getKaleoInstanceTokenId()); - kaleoLogImpl.setKaleoTaskInstanceTokenId(kaleoLog.getKaleoTaskInstanceTokenId()); - kaleoLogImpl.setKaleoNodeName(kaleoLog.getKaleoNodeName()); - kaleoLogImpl.setTerminalKaleoNode(kaleoLog.isTerminalKaleoNode()); - kaleoLogImpl.setKaleoActionId(kaleoLog.getKaleoActionId()); - kaleoLogImpl.setKaleoActionName(kaleoLog.getKaleoActionName()); - kaleoLogImpl.setKaleoActionDescription(kaleoLog.getKaleoActionDescription()); - kaleoLogImpl.setPreviousKaleoNodeId(kaleoLog.getPreviousKaleoNodeId()); - kaleoLogImpl.setPreviousKaleoNodeName(kaleoLog.getPreviousKaleoNodeName()); - kaleoLogImpl.setPreviousAssigneeClassName(kaleoLog.getPreviousAssigneeClassName()); - kaleoLogImpl.setPreviousAssigneeClassPK(kaleoLog.getPreviousAssigneeClassPK()); - kaleoLogImpl.setCurrentAssigneeClassName(kaleoLog.getCurrentAssigneeClassName()); - kaleoLogImpl.setCurrentAssigneeClassPK(kaleoLog.getCurrentAssigneeClassPK()); - kaleoLogImpl.setType(kaleoLog.getType()); - kaleoLogImpl.setComment(kaleoLog.getComment()); - kaleoLogImpl.setStartDate(kaleoLog.getStartDate()); - kaleoLogImpl.setEndDate(kaleoLog.getEndDate()); - kaleoLogImpl.setDuration(kaleoLog.getDuration()); - kaleoLogImpl.setWorkflowContext(kaleoLog.getWorkflowContext()); - - return kaleoLogImpl; - } - - /** - * Returns the kaleo log with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the kaleo log - * @return the kaleo log - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoLogException if a kaleo log with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoLog findByPrimaryKey(Serializable primaryKey) - throws NoSuchKaleoLogException, SystemException { - KaleoLog kaleoLog = fetchByPrimaryKey(primaryKey); - - if (kaleoLog == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchKaleoLogException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return kaleoLog; - } - - /** - * Returns the kaleo log with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchKaleoLogException} if it could not be found. - * - * @param kaleoLogId the primary key of the kaleo log - * @return the kaleo log - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoLogException if a kaleo log with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoLog findByPrimaryKey(long kaleoLogId) - throws NoSuchKaleoLogException, SystemException { - return findByPrimaryKey((Serializable)kaleoLogId); - } - - /** - * Returns the kaleo log with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the kaleo log - * @return the kaleo log, or null if a kaleo log with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoLog fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - KaleoLog kaleoLog = (KaleoLog)EntityCacheUtil.getResult(KaleoLogModelImpl.ENTITY_CACHE_ENABLED, - KaleoLogImpl.class, primaryKey); - - if (kaleoLog == _nullKaleoLog) { - return null; - } - - if (kaleoLog == null) { - Session session = null; - - try { - session = openSession(); - - kaleoLog = (KaleoLog)session.get(KaleoLogImpl.class, primaryKey); - - if (kaleoLog != null) { - cacheResult(kaleoLog); - } - else { - EntityCacheUtil.putResult(KaleoLogModelImpl.ENTITY_CACHE_ENABLED, - KaleoLogImpl.class, primaryKey, _nullKaleoLog); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(KaleoLogModelImpl.ENTITY_CACHE_ENABLED, - KaleoLogImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return kaleoLog; - } - - /** - * Returns the kaleo log with the primary key or returns null if it could not be found. - * - * @param kaleoLogId the primary key of the kaleo log - * @return the kaleo log, or null if a kaleo log with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoLog fetchByPrimaryKey(long kaleoLogId) - throws SystemException { - return fetchByPrimaryKey((Serializable)kaleoLogId); - } - - /** - * Returns all the kaleo logs. - * - * @return the kaleo logs - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the kaleo logs. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo logs - * @param end the upper bound of the range of kaleo logs (not inclusive) - * @return the range of kaleo logs - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the kaleo logs. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoLogModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo logs - * @param end the upper bound of the range of kaleo logs (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of kaleo logs - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_KALEOLOG); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_KALEOLOG; - - if (pagination) { - sql = sql.concat(KaleoLogModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the kaleo logs from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (KaleoLog kaleoLog : findAll()) { - remove(kaleoLog); - } - } - - /** - * Returns the number of kaleo logs. - * - * @return the number of kaleo logs - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_KALEOLOG); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - @Override - protected Set getBadColumnNames() { - return _badColumnNames; - } - - /** - * Initializes the kaleo log persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.importazione.model.KaleoLog"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(KaleoLogImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_KALEOLOG = "SELECT kaleoLog FROM KaleoLog kaleoLog"; - private static final String _SQL_SELECT_KALEOLOG_WHERE = "SELECT kaleoLog FROM KaleoLog kaleoLog WHERE "; - private static final String _SQL_COUNT_KALEOLOG = "SELECT COUNT(kaleoLog) FROM KaleoLog kaleoLog"; - private static final String _SQL_COUNT_KALEOLOG_WHERE = "SELECT COUNT(kaleoLog) FROM KaleoLog kaleoLog WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "kaleoLog."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No KaleoLog exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No KaleoLog exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(KaleoLogPersistenceImpl.class); - private static Set _badColumnNames = SetUtil.fromArray(new String[] { - "type", "comment" - }); - private static KaleoLog _nullKaleoLog = new KaleoLogImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullKaleoLogCacheModel; - } - }; - - private static CacheModel _nullKaleoLogCacheModel = new CacheModel() { - @Override - public KaleoLog toEntityModel() { - return _nullKaleoLog; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/KaleoNodePersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/KaleoNodePersistenceImpl.java deleted file mode 100644 index 0dbad9ee..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/KaleoNodePersistenceImpl.java +++ /dev/null @@ -1,681 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.SetUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.importazione.NoSuchKaleoNodeException; -import it.tref.liferay.portos.importazione.model.KaleoNode; -import it.tref.liferay.portos.importazione.model.impl.KaleoNodeImpl; -import it.tref.liferay.portos.importazione.model.impl.KaleoNodeModelImpl; -import it.tref.liferay.portos.importazione.service.persistence.KaleoNodePersistence; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Set; - -/** - * The persistence implementation for the kaleo node service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see KaleoNodePersistence - * @see KaleoNodeUtil - * @generated - */ -public class KaleoNodePersistenceImpl extends BasePersistenceImpl - implements KaleoNodePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link KaleoNodeUtil} to access the kaleo node persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = KaleoNodeImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(KaleoNodeModelImpl.ENTITY_CACHE_ENABLED, - KaleoNodeModelImpl.FINDER_CACHE_ENABLED, KaleoNodeImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(KaleoNodeModelImpl.ENTITY_CACHE_ENABLED, - KaleoNodeModelImpl.FINDER_CACHE_ENABLED, KaleoNodeImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(KaleoNodeModelImpl.ENTITY_CACHE_ENABLED, - KaleoNodeModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - - public KaleoNodePersistenceImpl() { - setModelClass(KaleoNode.class); - } - - /** - * Caches the kaleo node in the entity cache if it is enabled. - * - * @param kaleoNode the kaleo node - */ - @Override - public void cacheResult(KaleoNode kaleoNode) { - EntityCacheUtil.putResult(KaleoNodeModelImpl.ENTITY_CACHE_ENABLED, - KaleoNodeImpl.class, kaleoNode.getPrimaryKey(), kaleoNode); - - kaleoNode.resetOriginalValues(); - } - - /** - * Caches the kaleo nodes in the entity cache if it is enabled. - * - * @param kaleoNodes the kaleo nodes - */ - @Override - public void cacheResult(List kaleoNodes) { - for (KaleoNode kaleoNode : kaleoNodes) { - if (EntityCacheUtil.getResult( - KaleoNodeModelImpl.ENTITY_CACHE_ENABLED, - KaleoNodeImpl.class, kaleoNode.getPrimaryKey()) == null) { - cacheResult(kaleoNode); - } - else { - kaleoNode.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all kaleo nodes. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(KaleoNodeImpl.class.getName()); - } - - EntityCacheUtil.clearCache(KaleoNodeImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the kaleo node. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(KaleoNode kaleoNode) { - EntityCacheUtil.removeResult(KaleoNodeModelImpl.ENTITY_CACHE_ENABLED, - KaleoNodeImpl.class, kaleoNode.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - @Override - public void clearCache(List kaleoNodes) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (KaleoNode kaleoNode : kaleoNodes) { - EntityCacheUtil.removeResult(KaleoNodeModelImpl.ENTITY_CACHE_ENABLED, - KaleoNodeImpl.class, kaleoNode.getPrimaryKey()); - } - } - - /** - * Creates a new kaleo node with the primary key. Does not add the kaleo node to the database. - * - * @param kaleoNodeId the primary key for the new kaleo node - * @return the new kaleo node - */ - @Override - public KaleoNode create(long kaleoNodeId) { - KaleoNode kaleoNode = new KaleoNodeImpl(); - - kaleoNode.setNew(true); - kaleoNode.setPrimaryKey(kaleoNodeId); - - return kaleoNode; - } - - /** - * Removes the kaleo node with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoNodeId the primary key of the kaleo node - * @return the kaleo node that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoNodeException if a kaleo node with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoNode remove(long kaleoNodeId) - throws NoSuchKaleoNodeException, SystemException { - return remove((Serializable)kaleoNodeId); - } - - /** - * Removes the kaleo node with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the kaleo node - * @return the kaleo node that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoNodeException if a kaleo node with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoNode remove(Serializable primaryKey) - throws NoSuchKaleoNodeException, SystemException { - Session session = null; - - try { - session = openSession(); - - KaleoNode kaleoNode = (KaleoNode)session.get(KaleoNodeImpl.class, - primaryKey); - - if (kaleoNode == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchKaleoNodeException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(kaleoNode); - } - catch (NoSuchKaleoNodeException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected KaleoNode removeImpl(KaleoNode kaleoNode) - throws SystemException { - kaleoNode = toUnwrappedModel(kaleoNode); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(kaleoNode)) { - kaleoNode = (KaleoNode)session.get(KaleoNodeImpl.class, - kaleoNode.getPrimaryKeyObj()); - } - - if (kaleoNode != null) { - session.delete(kaleoNode); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (kaleoNode != null) { - clearCache(kaleoNode); - } - - return kaleoNode; - } - - @Override - public KaleoNode updateImpl( - it.tref.liferay.portos.importazione.model.KaleoNode kaleoNode) - throws SystemException { - kaleoNode = toUnwrappedModel(kaleoNode); - - boolean isNew = kaleoNode.isNew(); - - Session session = null; - - try { - session = openSession(); - - if (kaleoNode.isNew()) { - session.save(kaleoNode); - - kaleoNode.setNew(false); - } - else { - session.merge(kaleoNode); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - EntityCacheUtil.putResult(KaleoNodeModelImpl.ENTITY_CACHE_ENABLED, - KaleoNodeImpl.class, kaleoNode.getPrimaryKey(), kaleoNode); - - return kaleoNode; - } - - protected KaleoNode toUnwrappedModel(KaleoNode kaleoNode) { - if (kaleoNode instanceof KaleoNodeImpl) { - return kaleoNode; - } - - KaleoNodeImpl kaleoNodeImpl = new KaleoNodeImpl(); - - kaleoNodeImpl.setNew(kaleoNode.isNew()); - kaleoNodeImpl.setPrimaryKey(kaleoNode.getPrimaryKey()); - - kaleoNodeImpl.setKaleoNodeId(kaleoNode.getKaleoNodeId()); - kaleoNodeImpl.setGroupId(kaleoNode.getGroupId()); - kaleoNodeImpl.setCompanyId(kaleoNode.getCompanyId()); - kaleoNodeImpl.setUserId(kaleoNode.getUserId()); - kaleoNodeImpl.setUserName(kaleoNode.getUserName()); - kaleoNodeImpl.setCreateDate(kaleoNode.getCreateDate()); - kaleoNodeImpl.setModifiedDate(kaleoNode.getModifiedDate()); - kaleoNodeImpl.setKaleoDefinitionId(kaleoNode.getKaleoDefinitionId()); - kaleoNodeImpl.setName(kaleoNode.getName()); - kaleoNodeImpl.setMetadata(kaleoNode.getMetadata()); - kaleoNodeImpl.setDescription(kaleoNode.getDescription()); - kaleoNodeImpl.setType(kaleoNode.getType()); - kaleoNodeImpl.setInitial(kaleoNode.isInitial()); - kaleoNodeImpl.setTerminal(kaleoNode.isTerminal()); - - return kaleoNodeImpl; - } - - /** - * Returns the kaleo node with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the kaleo node - * @return the kaleo node - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoNodeException if a kaleo node with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoNode findByPrimaryKey(Serializable primaryKey) - throws NoSuchKaleoNodeException, SystemException { - KaleoNode kaleoNode = fetchByPrimaryKey(primaryKey); - - if (kaleoNode == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchKaleoNodeException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return kaleoNode; - } - - /** - * Returns the kaleo node with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchKaleoNodeException} if it could not be found. - * - * @param kaleoNodeId the primary key of the kaleo node - * @return the kaleo node - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoNodeException if a kaleo node with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoNode findByPrimaryKey(long kaleoNodeId) - throws NoSuchKaleoNodeException, SystemException { - return findByPrimaryKey((Serializable)kaleoNodeId); - } - - /** - * Returns the kaleo node with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the kaleo node - * @return the kaleo node, or null if a kaleo node with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoNode fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - KaleoNode kaleoNode = (KaleoNode)EntityCacheUtil.getResult(KaleoNodeModelImpl.ENTITY_CACHE_ENABLED, - KaleoNodeImpl.class, primaryKey); - - if (kaleoNode == _nullKaleoNode) { - return null; - } - - if (kaleoNode == null) { - Session session = null; - - try { - session = openSession(); - - kaleoNode = (KaleoNode)session.get(KaleoNodeImpl.class, - primaryKey); - - if (kaleoNode != null) { - cacheResult(kaleoNode); - } - else { - EntityCacheUtil.putResult(KaleoNodeModelImpl.ENTITY_CACHE_ENABLED, - KaleoNodeImpl.class, primaryKey, _nullKaleoNode); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(KaleoNodeModelImpl.ENTITY_CACHE_ENABLED, - KaleoNodeImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return kaleoNode; - } - - /** - * Returns the kaleo node with the primary key or returns null if it could not be found. - * - * @param kaleoNodeId the primary key of the kaleo node - * @return the kaleo node, or null if a kaleo node with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoNode fetchByPrimaryKey(long kaleoNodeId) - throws SystemException { - return fetchByPrimaryKey((Serializable)kaleoNodeId); - } - - /** - * Returns all the kaleo nodes. - * - * @return the kaleo nodes - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the kaleo nodes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoNodeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo nodes - * @param end the upper bound of the range of kaleo nodes (not inclusive) - * @return the range of kaleo nodes - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the kaleo nodes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoNodeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo nodes - * @param end the upper bound of the range of kaleo nodes (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of kaleo nodes - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_KALEONODE); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_KALEONODE; - - if (pagination) { - sql = sql.concat(KaleoNodeModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the kaleo nodes from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (KaleoNode kaleoNode : findAll()) { - remove(kaleoNode); - } - } - - /** - * Returns the number of kaleo nodes. - * - * @return the number of kaleo nodes - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_KALEONODE); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - @Override - protected Set getBadColumnNames() { - return _badColumnNames; - } - - /** - * Initializes the kaleo node persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.importazione.model.KaleoNode"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(KaleoNodeImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_KALEONODE = "SELECT kaleoNode FROM KaleoNode kaleoNode"; - private static final String _SQL_COUNT_KALEONODE = "SELECT COUNT(kaleoNode) FROM KaleoNode kaleoNode"; - private static final String _ORDER_BY_ENTITY_ALIAS = "kaleoNode."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No KaleoNode exists with the primary key "; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(KaleoNodePersistenceImpl.class); - private static Set _badColumnNames = SetUtil.fromArray(new String[] { - "type", "initial" - }); - private static KaleoNode _nullKaleoNode = new KaleoNodeImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullKaleoNodeCacheModel; - } - }; - - private static CacheModel _nullKaleoNodeCacheModel = new CacheModel() { - @Override - public KaleoNode toEntityModel() { - return _nullKaleoNode; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/KaleoTaskAssignmentInstancePersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/KaleoTaskAssignmentInstancePersistenceImpl.java deleted file mode 100644 index 4ef43de3..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/KaleoTaskAssignmentInstancePersistenceImpl.java +++ /dev/null @@ -1,2288 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException; -import it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance; -import it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceImpl; -import it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskAssignmentInstancePersistence; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -/** - * The persistence implementation for the kaleo task assignment instance service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see KaleoTaskAssignmentInstancePersistence - * @see KaleoTaskAssignmentInstanceUtil - * @generated - */ -public class KaleoTaskAssignmentInstancePersistenceImpl - extends BasePersistenceImpl - implements KaleoTaskAssignmentInstancePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link KaleoTaskAssignmentInstanceUtil} to access the kaleo task assignment instance persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = KaleoTaskAssignmentInstanceImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(KaleoTaskAssignmentInstanceModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskAssignmentInstanceModelImpl.FINDER_CACHE_ENABLED, - KaleoTaskAssignmentInstanceImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(KaleoTaskAssignmentInstanceModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskAssignmentInstanceModelImpl.FINDER_CACHE_ENABLED, - KaleoTaskAssignmentInstanceImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(KaleoTaskAssignmentInstanceModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskAssignmentInstanceModelImpl.FINDER_CACHE_ENABLED, - Long.class, FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", - new String[0]); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID = - new FinderPath(KaleoTaskAssignmentInstanceModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskAssignmentInstanceModelImpl.FINDER_CACHE_ENABLED, - KaleoTaskAssignmentInstanceImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByCompanyId", - new String[] { - Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID = - new FinderPath(KaleoTaskAssignmentInstanceModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskAssignmentInstanceModelImpl.FINDER_CACHE_ENABLED, - KaleoTaskAssignmentInstanceImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByCompanyId", - new String[] { Long.class.getName() }, - KaleoTaskAssignmentInstanceModelImpl.COMPANYID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID = new FinderPath(KaleoTaskAssignmentInstanceModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskAssignmentInstanceModelImpl.FINDER_CACHE_ENABLED, - Long.class, FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByCompanyId", new String[] { Long.class.getName() }); - - /** - * Returns all the kaleo task assignment instances where companyId = ?. - * - * @param companyId the company ID - * @return the matching kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - @Override - public List findByCompanyId(long companyId) - throws SystemException { - return findByCompanyId(companyId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, - null); - } - - /** - * Returns a range of all the kaleo task assignment instances where companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param start the lower bound of the range of kaleo task assignment instances - * @param end the upper bound of the range of kaleo task assignment instances (not inclusive) - * @return the range of matching kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - @Override - public List findByCompanyId(long companyId, - int start, int end) throws SystemException { - return findByCompanyId(companyId, start, end, null); - } - - /** - * Returns an ordered range of all the kaleo task assignment instances where companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param start the lower bound of the range of kaleo task assignment instances - * @param end the upper bound of the range of kaleo task assignment instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - @Override - public List findByCompanyId(long companyId, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID; - finderArgs = new Object[] { companyId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID; - finderArgs = new Object[] { companyId, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance : list) { - if ((companyId != kaleoTaskAssignmentInstance.getCompanyId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_KALEOTASKASSIGNMENTINSTANCE_WHERE); - - query.append(_FINDER_COLUMN_COMPANYID_COMPANYID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(KaleoTaskAssignmentInstanceModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first kaleo task assignment instance in the ordered set where companyId = ?. - * - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching kaleo task assignment instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException if a matching kaleo task assignment instance could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTaskAssignmentInstance findByCompanyId_First(long companyId, - OrderByComparator orderByComparator) - throws NoSuchKaleoTaskAssignmentInstanceException, SystemException { - KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance = fetchByCompanyId_First(companyId, - orderByComparator); - - if (kaleoTaskAssignmentInstance != null) { - return kaleoTaskAssignmentInstance; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchKaleoTaskAssignmentInstanceException(msg.toString()); - } - - /** - * Returns the first kaleo task assignment instance in the ordered set where companyId = ?. - * - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching kaleo task assignment instance, or null if a matching kaleo task assignment instance could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTaskAssignmentInstance fetchByCompanyId_First(long companyId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByCompanyId(companyId, 0, - 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last kaleo task assignment instance in the ordered set where companyId = ?. - * - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching kaleo task assignment instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException if a matching kaleo task assignment instance could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTaskAssignmentInstance findByCompanyId_Last(long companyId, - OrderByComparator orderByComparator) - throws NoSuchKaleoTaskAssignmentInstanceException, SystemException { - KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance = fetchByCompanyId_Last(companyId, - orderByComparator); - - if (kaleoTaskAssignmentInstance != null) { - return kaleoTaskAssignmentInstance; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchKaleoTaskAssignmentInstanceException(msg.toString()); - } - - /** - * Returns the last kaleo task assignment instance in the ordered set where companyId = ?. - * - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching kaleo task assignment instance, or null if a matching kaleo task assignment instance could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTaskAssignmentInstance fetchByCompanyId_Last(long companyId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByCompanyId(companyId); - - if (count == 0) { - return null; - } - - List list = findByCompanyId(companyId, - count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the kaleo task assignment instances before and after the current kaleo task assignment instance in the ordered set where companyId = ?. - * - * @param kaleoTaskAssignmentInstanceId the primary key of the current kaleo task assignment instance - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next kaleo task assignment instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException if a kaleo task assignment instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTaskAssignmentInstance[] findByCompanyId_PrevAndNext( - long kaleoTaskAssignmentInstanceId, long companyId, - OrderByComparator orderByComparator) - throws NoSuchKaleoTaskAssignmentInstanceException, SystemException { - KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance = findByPrimaryKey(kaleoTaskAssignmentInstanceId); - - Session session = null; - - try { - session = openSession(); - - KaleoTaskAssignmentInstance[] array = new KaleoTaskAssignmentInstanceImpl[3]; - - array[0] = getByCompanyId_PrevAndNext(session, - kaleoTaskAssignmentInstance, companyId, orderByComparator, - true); - - array[1] = kaleoTaskAssignmentInstance; - - array[2] = getByCompanyId_PrevAndNext(session, - kaleoTaskAssignmentInstance, companyId, orderByComparator, - false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected KaleoTaskAssignmentInstance getByCompanyId_PrevAndNext( - Session session, - KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance, - long companyId, OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_KALEOTASKASSIGNMENTINSTANCE_WHERE); - - query.append(_FINDER_COLUMN_COMPANYID_COMPANYID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(KaleoTaskAssignmentInstanceModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(kaleoTaskAssignmentInstance); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the kaleo task assignment instances where companyId = ? from the database. - * - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByCompanyId(long companyId) throws SystemException { - for (KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance : findByCompanyId( - companyId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(kaleoTaskAssignmentInstance); - } - } - - /** - * Returns the number of kaleo task assignment instances where companyId = ?. - * - * @param companyId the company ID - * @return the number of matching kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - @Override - public int countByCompanyId(long companyId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_COMPANYID; - - Object[] finderArgs = new Object[] { companyId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_KALEOTASKASSIGNMENTINSTANCE_WHERE); - - query.append(_FINDER_COLUMN_COMPANYID_COMPANYID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_COMPANYID_COMPANYID_2 = "kaleoTaskAssignmentInstance.companyId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_KALEODEFINITIONID = - new FinderPath(KaleoTaskAssignmentInstanceModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskAssignmentInstanceModelImpl.FINDER_CACHE_ENABLED, - KaleoTaskAssignmentInstanceImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByKaleoDefinitionId", - new String[] { - Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_KALEODEFINITIONID = - new FinderPath(KaleoTaskAssignmentInstanceModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskAssignmentInstanceModelImpl.FINDER_CACHE_ENABLED, - KaleoTaskAssignmentInstanceImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByKaleoDefinitionId", new String[] { Long.class.getName() }, - KaleoTaskAssignmentInstanceModelImpl.KALEODEFINITIONID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_KALEODEFINITIONID = new FinderPath(KaleoTaskAssignmentInstanceModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskAssignmentInstanceModelImpl.FINDER_CACHE_ENABLED, - Long.class, FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByKaleoDefinitionId", new String[] { Long.class.getName() }); - - /** - * Returns all the kaleo task assignment instances where kaleoDefinitionId = ?. - * - * @param kaleoDefinitionId the kaleo definition ID - * @return the matching kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - @Override - public List findByKaleoDefinitionId( - long kaleoDefinitionId) throws SystemException { - return findByKaleoDefinitionId(kaleoDefinitionId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the kaleo task assignment instances where kaleoDefinitionId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param kaleoDefinitionId the kaleo definition ID - * @param start the lower bound of the range of kaleo task assignment instances - * @param end the upper bound of the range of kaleo task assignment instances (not inclusive) - * @return the range of matching kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - @Override - public List findByKaleoDefinitionId( - long kaleoDefinitionId, int start, int end) throws SystemException { - return findByKaleoDefinitionId(kaleoDefinitionId, start, end, null); - } - - /** - * Returns an ordered range of all the kaleo task assignment instances where kaleoDefinitionId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param kaleoDefinitionId the kaleo definition ID - * @param start the lower bound of the range of kaleo task assignment instances - * @param end the upper bound of the range of kaleo task assignment instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - @Override - public List findByKaleoDefinitionId( - long kaleoDefinitionId, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_KALEODEFINITIONID; - finderArgs = new Object[] { kaleoDefinitionId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_KALEODEFINITIONID; - finderArgs = new Object[] { - kaleoDefinitionId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance : list) { - if ((kaleoDefinitionId != kaleoTaskAssignmentInstance.getKaleoDefinitionId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_KALEOTASKASSIGNMENTINSTANCE_WHERE); - - query.append(_FINDER_COLUMN_KALEODEFINITIONID_KALEODEFINITIONID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(KaleoTaskAssignmentInstanceModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(kaleoDefinitionId); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first kaleo task assignment instance in the ordered set where kaleoDefinitionId = ?. - * - * @param kaleoDefinitionId the kaleo definition ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching kaleo task assignment instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException if a matching kaleo task assignment instance could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTaskAssignmentInstance findByKaleoDefinitionId_First( - long kaleoDefinitionId, OrderByComparator orderByComparator) - throws NoSuchKaleoTaskAssignmentInstanceException, SystemException { - KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance = fetchByKaleoDefinitionId_First(kaleoDefinitionId, - orderByComparator); - - if (kaleoTaskAssignmentInstance != null) { - return kaleoTaskAssignmentInstance; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("kaleoDefinitionId="); - msg.append(kaleoDefinitionId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchKaleoTaskAssignmentInstanceException(msg.toString()); - } - - /** - * Returns the first kaleo task assignment instance in the ordered set where kaleoDefinitionId = ?. - * - * @param kaleoDefinitionId the kaleo definition ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching kaleo task assignment instance, or null if a matching kaleo task assignment instance could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTaskAssignmentInstance fetchByKaleoDefinitionId_First( - long kaleoDefinitionId, OrderByComparator orderByComparator) - throws SystemException { - List list = findByKaleoDefinitionId(kaleoDefinitionId, - 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last kaleo task assignment instance in the ordered set where kaleoDefinitionId = ?. - * - * @param kaleoDefinitionId the kaleo definition ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching kaleo task assignment instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException if a matching kaleo task assignment instance could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTaskAssignmentInstance findByKaleoDefinitionId_Last( - long kaleoDefinitionId, OrderByComparator orderByComparator) - throws NoSuchKaleoTaskAssignmentInstanceException, SystemException { - KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance = fetchByKaleoDefinitionId_Last(kaleoDefinitionId, - orderByComparator); - - if (kaleoTaskAssignmentInstance != null) { - return kaleoTaskAssignmentInstance; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("kaleoDefinitionId="); - msg.append(kaleoDefinitionId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchKaleoTaskAssignmentInstanceException(msg.toString()); - } - - /** - * Returns the last kaleo task assignment instance in the ordered set where kaleoDefinitionId = ?. - * - * @param kaleoDefinitionId the kaleo definition ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching kaleo task assignment instance, or null if a matching kaleo task assignment instance could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTaskAssignmentInstance fetchByKaleoDefinitionId_Last( - long kaleoDefinitionId, OrderByComparator orderByComparator) - throws SystemException { - int count = countByKaleoDefinitionId(kaleoDefinitionId); - - if (count == 0) { - return null; - } - - List list = findByKaleoDefinitionId(kaleoDefinitionId, - count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the kaleo task assignment instances before and after the current kaleo task assignment instance in the ordered set where kaleoDefinitionId = ?. - * - * @param kaleoTaskAssignmentInstanceId the primary key of the current kaleo task assignment instance - * @param kaleoDefinitionId the kaleo definition ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next kaleo task assignment instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException if a kaleo task assignment instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTaskAssignmentInstance[] findByKaleoDefinitionId_PrevAndNext( - long kaleoTaskAssignmentInstanceId, long kaleoDefinitionId, - OrderByComparator orderByComparator) - throws NoSuchKaleoTaskAssignmentInstanceException, SystemException { - KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance = findByPrimaryKey(kaleoTaskAssignmentInstanceId); - - Session session = null; - - try { - session = openSession(); - - KaleoTaskAssignmentInstance[] array = new KaleoTaskAssignmentInstanceImpl[3]; - - array[0] = getByKaleoDefinitionId_PrevAndNext(session, - kaleoTaskAssignmentInstance, kaleoDefinitionId, - orderByComparator, true); - - array[1] = kaleoTaskAssignmentInstance; - - array[2] = getByKaleoDefinitionId_PrevAndNext(session, - kaleoTaskAssignmentInstance, kaleoDefinitionId, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected KaleoTaskAssignmentInstance getByKaleoDefinitionId_PrevAndNext( - Session session, - KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance, - long kaleoDefinitionId, OrderByComparator orderByComparator, - boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_KALEOTASKASSIGNMENTINSTANCE_WHERE); - - query.append(_FINDER_COLUMN_KALEODEFINITIONID_KALEODEFINITIONID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(KaleoTaskAssignmentInstanceModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(kaleoDefinitionId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(kaleoTaskAssignmentInstance); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the kaleo task assignment instances where kaleoDefinitionId = ? from the database. - * - * @param kaleoDefinitionId the kaleo definition ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByKaleoDefinitionId(long kaleoDefinitionId) - throws SystemException { - for (KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance : findByKaleoDefinitionId( - kaleoDefinitionId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(kaleoTaskAssignmentInstance); - } - } - - /** - * Returns the number of kaleo task assignment instances where kaleoDefinitionId = ?. - * - * @param kaleoDefinitionId the kaleo definition ID - * @return the number of matching kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - @Override - public int countByKaleoDefinitionId(long kaleoDefinitionId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_KALEODEFINITIONID; - - Object[] finderArgs = new Object[] { kaleoDefinitionId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_KALEOTASKASSIGNMENTINSTANCE_WHERE); - - query.append(_FINDER_COLUMN_KALEODEFINITIONID_KALEODEFINITIONID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(kaleoDefinitionId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_KALEODEFINITIONID_KALEODEFINITIONID_2 = - "kaleoTaskAssignmentInstance.kaleoDefinitionId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_KALEOINSTANCEID = - new FinderPath(KaleoTaskAssignmentInstanceModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskAssignmentInstanceModelImpl.FINDER_CACHE_ENABLED, - KaleoTaskAssignmentInstanceImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByKaleoInstanceId", - new String[] { - Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_KALEOINSTANCEID = - new FinderPath(KaleoTaskAssignmentInstanceModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskAssignmentInstanceModelImpl.FINDER_CACHE_ENABLED, - KaleoTaskAssignmentInstanceImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByKaleoInstanceId", - new String[] { Long.class.getName() }, - KaleoTaskAssignmentInstanceModelImpl.KALEOINSTANCEID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_KALEOINSTANCEID = new FinderPath(KaleoTaskAssignmentInstanceModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskAssignmentInstanceModelImpl.FINDER_CACHE_ENABLED, - Long.class, FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByKaleoInstanceId", new String[] { Long.class.getName() }); - - /** - * Returns all the kaleo task assignment instances where kaleoInstanceId = ?. - * - * @param kaleoInstanceId the kaleo instance ID - * @return the matching kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - @Override - public List findByKaleoInstanceId( - long kaleoInstanceId) throws SystemException { - return findByKaleoInstanceId(kaleoInstanceId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the kaleo task assignment instances where kaleoInstanceId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param kaleoInstanceId the kaleo instance ID - * @param start the lower bound of the range of kaleo task assignment instances - * @param end the upper bound of the range of kaleo task assignment instances (not inclusive) - * @return the range of matching kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - @Override - public List findByKaleoInstanceId( - long kaleoInstanceId, int start, int end) throws SystemException { - return findByKaleoInstanceId(kaleoInstanceId, start, end, null); - } - - /** - * Returns an ordered range of all the kaleo task assignment instances where kaleoInstanceId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param kaleoInstanceId the kaleo instance ID - * @param start the lower bound of the range of kaleo task assignment instances - * @param end the upper bound of the range of kaleo task assignment instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - @Override - public List findByKaleoInstanceId( - long kaleoInstanceId, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_KALEOINSTANCEID; - finderArgs = new Object[] { kaleoInstanceId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_KALEOINSTANCEID; - finderArgs = new Object[] { - kaleoInstanceId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance : list) { - if ((kaleoInstanceId != kaleoTaskAssignmentInstance.getKaleoInstanceId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_KALEOTASKASSIGNMENTINSTANCE_WHERE); - - query.append(_FINDER_COLUMN_KALEOINSTANCEID_KALEOINSTANCEID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(KaleoTaskAssignmentInstanceModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(kaleoInstanceId); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first kaleo task assignment instance in the ordered set where kaleoInstanceId = ?. - * - * @param kaleoInstanceId the kaleo instance ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching kaleo task assignment instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException if a matching kaleo task assignment instance could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTaskAssignmentInstance findByKaleoInstanceId_First( - long kaleoInstanceId, OrderByComparator orderByComparator) - throws NoSuchKaleoTaskAssignmentInstanceException, SystemException { - KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance = fetchByKaleoInstanceId_First(kaleoInstanceId, - orderByComparator); - - if (kaleoTaskAssignmentInstance != null) { - return kaleoTaskAssignmentInstance; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("kaleoInstanceId="); - msg.append(kaleoInstanceId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchKaleoTaskAssignmentInstanceException(msg.toString()); - } - - /** - * Returns the first kaleo task assignment instance in the ordered set where kaleoInstanceId = ?. - * - * @param kaleoInstanceId the kaleo instance ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching kaleo task assignment instance, or null if a matching kaleo task assignment instance could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTaskAssignmentInstance fetchByKaleoInstanceId_First( - long kaleoInstanceId, OrderByComparator orderByComparator) - throws SystemException { - List list = findByKaleoInstanceId(kaleoInstanceId, - 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last kaleo task assignment instance in the ordered set where kaleoInstanceId = ?. - * - * @param kaleoInstanceId the kaleo instance ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching kaleo task assignment instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException if a matching kaleo task assignment instance could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTaskAssignmentInstance findByKaleoInstanceId_Last( - long kaleoInstanceId, OrderByComparator orderByComparator) - throws NoSuchKaleoTaskAssignmentInstanceException, SystemException { - KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance = fetchByKaleoInstanceId_Last(kaleoInstanceId, - orderByComparator); - - if (kaleoTaskAssignmentInstance != null) { - return kaleoTaskAssignmentInstance; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("kaleoInstanceId="); - msg.append(kaleoInstanceId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchKaleoTaskAssignmentInstanceException(msg.toString()); - } - - /** - * Returns the last kaleo task assignment instance in the ordered set where kaleoInstanceId = ?. - * - * @param kaleoInstanceId the kaleo instance ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching kaleo task assignment instance, or null if a matching kaleo task assignment instance could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTaskAssignmentInstance fetchByKaleoInstanceId_Last( - long kaleoInstanceId, OrderByComparator orderByComparator) - throws SystemException { - int count = countByKaleoInstanceId(kaleoInstanceId); - - if (count == 0) { - return null; - } - - List list = findByKaleoInstanceId(kaleoInstanceId, - count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the kaleo task assignment instances before and after the current kaleo task assignment instance in the ordered set where kaleoInstanceId = ?. - * - * @param kaleoTaskAssignmentInstanceId the primary key of the current kaleo task assignment instance - * @param kaleoInstanceId the kaleo instance ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next kaleo task assignment instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException if a kaleo task assignment instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTaskAssignmentInstance[] findByKaleoInstanceId_PrevAndNext( - long kaleoTaskAssignmentInstanceId, long kaleoInstanceId, - OrderByComparator orderByComparator) - throws NoSuchKaleoTaskAssignmentInstanceException, SystemException { - KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance = findByPrimaryKey(kaleoTaskAssignmentInstanceId); - - Session session = null; - - try { - session = openSession(); - - KaleoTaskAssignmentInstance[] array = new KaleoTaskAssignmentInstanceImpl[3]; - - array[0] = getByKaleoInstanceId_PrevAndNext(session, - kaleoTaskAssignmentInstance, kaleoInstanceId, - orderByComparator, true); - - array[1] = kaleoTaskAssignmentInstance; - - array[2] = getByKaleoInstanceId_PrevAndNext(session, - kaleoTaskAssignmentInstance, kaleoInstanceId, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected KaleoTaskAssignmentInstance getByKaleoInstanceId_PrevAndNext( - Session session, - KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance, - long kaleoInstanceId, OrderByComparator orderByComparator, - boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_KALEOTASKASSIGNMENTINSTANCE_WHERE); - - query.append(_FINDER_COLUMN_KALEOINSTANCEID_KALEOINSTANCEID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(KaleoTaskAssignmentInstanceModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(kaleoInstanceId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(kaleoTaskAssignmentInstance); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the kaleo task assignment instances where kaleoInstanceId = ? from the database. - * - * @param kaleoInstanceId the kaleo instance ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByKaleoInstanceId(long kaleoInstanceId) - throws SystemException { - for (KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance : findByKaleoInstanceId( - kaleoInstanceId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(kaleoTaskAssignmentInstance); - } - } - - /** - * Returns the number of kaleo task assignment instances where kaleoInstanceId = ?. - * - * @param kaleoInstanceId the kaleo instance ID - * @return the number of matching kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - @Override - public int countByKaleoInstanceId(long kaleoInstanceId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_KALEOINSTANCEID; - - Object[] finderArgs = new Object[] { kaleoInstanceId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_KALEOTASKASSIGNMENTINSTANCE_WHERE); - - query.append(_FINDER_COLUMN_KALEOINSTANCEID_KALEOINSTANCEID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(kaleoInstanceId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_KALEOINSTANCEID_KALEOINSTANCEID_2 = - "kaleoTaskAssignmentInstance.kaleoInstanceId = ?"; - - public KaleoTaskAssignmentInstancePersistenceImpl() { - setModelClass(KaleoTaskAssignmentInstance.class); - } - - /** - * Caches the kaleo task assignment instance in the entity cache if it is enabled. - * - * @param kaleoTaskAssignmentInstance the kaleo task assignment instance - */ - @Override - public void cacheResult( - KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance) { - EntityCacheUtil.putResult(KaleoTaskAssignmentInstanceModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskAssignmentInstanceImpl.class, - kaleoTaskAssignmentInstance.getPrimaryKey(), - kaleoTaskAssignmentInstance); - - kaleoTaskAssignmentInstance.resetOriginalValues(); - } - - /** - * Caches the kaleo task assignment instances in the entity cache if it is enabled. - * - * @param kaleoTaskAssignmentInstances the kaleo task assignment instances - */ - @Override - public void cacheResult( - List kaleoTaskAssignmentInstances) { - for (KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance : kaleoTaskAssignmentInstances) { - if (EntityCacheUtil.getResult( - KaleoTaskAssignmentInstanceModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskAssignmentInstanceImpl.class, - kaleoTaskAssignmentInstance.getPrimaryKey()) == null) { - cacheResult(kaleoTaskAssignmentInstance); - } - else { - kaleoTaskAssignmentInstance.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all kaleo task assignment instances. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(KaleoTaskAssignmentInstanceImpl.class.getName()); - } - - EntityCacheUtil.clearCache(KaleoTaskAssignmentInstanceImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the kaleo task assignment instance. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache( - KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance) { - EntityCacheUtil.removeResult(KaleoTaskAssignmentInstanceModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskAssignmentInstanceImpl.class, - kaleoTaskAssignmentInstance.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - @Override - public void clearCache( - List kaleoTaskAssignmentInstances) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance : kaleoTaskAssignmentInstances) { - EntityCacheUtil.removeResult(KaleoTaskAssignmentInstanceModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskAssignmentInstanceImpl.class, - kaleoTaskAssignmentInstance.getPrimaryKey()); - } - } - - /** - * Creates a new kaleo task assignment instance with the primary key. Does not add the kaleo task assignment instance to the database. - * - * @param kaleoTaskAssignmentInstanceId the primary key for the new kaleo task assignment instance - * @return the new kaleo task assignment instance - */ - @Override - public KaleoTaskAssignmentInstance create( - long kaleoTaskAssignmentInstanceId) { - KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance = new KaleoTaskAssignmentInstanceImpl(); - - kaleoTaskAssignmentInstance.setNew(true); - kaleoTaskAssignmentInstance.setPrimaryKey(kaleoTaskAssignmentInstanceId); - - return kaleoTaskAssignmentInstance; - } - - /** - * Removes the kaleo task assignment instance with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoTaskAssignmentInstanceId the primary key of the kaleo task assignment instance - * @return the kaleo task assignment instance that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException if a kaleo task assignment instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTaskAssignmentInstance remove( - long kaleoTaskAssignmentInstanceId) - throws NoSuchKaleoTaskAssignmentInstanceException, SystemException { - return remove((Serializable)kaleoTaskAssignmentInstanceId); - } - - /** - * Removes the kaleo task assignment instance with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the kaleo task assignment instance - * @return the kaleo task assignment instance that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException if a kaleo task assignment instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTaskAssignmentInstance remove(Serializable primaryKey) - throws NoSuchKaleoTaskAssignmentInstanceException, SystemException { - Session session = null; - - try { - session = openSession(); - - KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance = (KaleoTaskAssignmentInstance)session.get(KaleoTaskAssignmentInstanceImpl.class, - primaryKey); - - if (kaleoTaskAssignmentInstance == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchKaleoTaskAssignmentInstanceException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(kaleoTaskAssignmentInstance); - } - catch (NoSuchKaleoTaskAssignmentInstanceException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected KaleoTaskAssignmentInstance removeImpl( - KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance) - throws SystemException { - kaleoTaskAssignmentInstance = toUnwrappedModel(kaleoTaskAssignmentInstance); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(kaleoTaskAssignmentInstance)) { - kaleoTaskAssignmentInstance = (KaleoTaskAssignmentInstance)session.get(KaleoTaskAssignmentInstanceImpl.class, - kaleoTaskAssignmentInstance.getPrimaryKeyObj()); - } - - if (kaleoTaskAssignmentInstance != null) { - session.delete(kaleoTaskAssignmentInstance); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (kaleoTaskAssignmentInstance != null) { - clearCache(kaleoTaskAssignmentInstance); - } - - return kaleoTaskAssignmentInstance; - } - - @Override - public KaleoTaskAssignmentInstance updateImpl( - it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance) - throws SystemException { - kaleoTaskAssignmentInstance = toUnwrappedModel(kaleoTaskAssignmentInstance); - - boolean isNew = kaleoTaskAssignmentInstance.isNew(); - - KaleoTaskAssignmentInstanceModelImpl kaleoTaskAssignmentInstanceModelImpl = - (KaleoTaskAssignmentInstanceModelImpl)kaleoTaskAssignmentInstance; - - Session session = null; - - try { - session = openSession(); - - if (kaleoTaskAssignmentInstance.isNew()) { - session.save(kaleoTaskAssignmentInstance); - - kaleoTaskAssignmentInstance.setNew(false); - } - else { - session.merge(kaleoTaskAssignmentInstance); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || - !KaleoTaskAssignmentInstanceModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((kaleoTaskAssignmentInstanceModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - kaleoTaskAssignmentInstanceModelImpl.getOriginalCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_COMPANYID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID, - args); - - args = new Object[] { - kaleoTaskAssignmentInstanceModelImpl.getCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_COMPANYID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID, - args); - } - - if ((kaleoTaskAssignmentInstanceModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_KALEODEFINITIONID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - kaleoTaskAssignmentInstanceModelImpl.getOriginalKaleoDefinitionId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_KALEODEFINITIONID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_KALEODEFINITIONID, - args); - - args = new Object[] { - kaleoTaskAssignmentInstanceModelImpl.getKaleoDefinitionId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_KALEODEFINITIONID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_KALEODEFINITIONID, - args); - } - - if ((kaleoTaskAssignmentInstanceModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_KALEOINSTANCEID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - kaleoTaskAssignmentInstanceModelImpl.getOriginalKaleoInstanceId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_KALEOINSTANCEID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_KALEOINSTANCEID, - args); - - args = new Object[] { - kaleoTaskAssignmentInstanceModelImpl.getKaleoInstanceId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_KALEOINSTANCEID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_KALEOINSTANCEID, - args); - } - } - - EntityCacheUtil.putResult(KaleoTaskAssignmentInstanceModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskAssignmentInstanceImpl.class, - kaleoTaskAssignmentInstance.getPrimaryKey(), - kaleoTaskAssignmentInstance); - - return kaleoTaskAssignmentInstance; - } - - protected KaleoTaskAssignmentInstance toUnwrappedModel( - KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance) { - if (kaleoTaskAssignmentInstance instanceof KaleoTaskAssignmentInstanceImpl) { - return kaleoTaskAssignmentInstance; - } - - KaleoTaskAssignmentInstanceImpl kaleoTaskAssignmentInstanceImpl = new KaleoTaskAssignmentInstanceImpl(); - - kaleoTaskAssignmentInstanceImpl.setNew(kaleoTaskAssignmentInstance.isNew()); - kaleoTaskAssignmentInstanceImpl.setPrimaryKey(kaleoTaskAssignmentInstance.getPrimaryKey()); - - kaleoTaskAssignmentInstanceImpl.setKaleoTaskAssignmentInstanceId(kaleoTaskAssignmentInstance.getKaleoTaskAssignmentInstanceId()); - kaleoTaskAssignmentInstanceImpl.setGroupId(kaleoTaskAssignmentInstance.getGroupId()); - kaleoTaskAssignmentInstanceImpl.setCompanyId(kaleoTaskAssignmentInstance.getCompanyId()); - kaleoTaskAssignmentInstanceImpl.setUserId(kaleoTaskAssignmentInstance.getUserId()); - kaleoTaskAssignmentInstanceImpl.setUserName(kaleoTaskAssignmentInstance.getUserName()); - kaleoTaskAssignmentInstanceImpl.setCreateDate(kaleoTaskAssignmentInstance.getCreateDate()); - kaleoTaskAssignmentInstanceImpl.setModifiedDate(kaleoTaskAssignmentInstance.getModifiedDate()); - kaleoTaskAssignmentInstanceImpl.setKaleoDefinitionId(kaleoTaskAssignmentInstance.getKaleoDefinitionId()); - kaleoTaskAssignmentInstanceImpl.setKaleoInstanceId(kaleoTaskAssignmentInstance.getKaleoInstanceId()); - kaleoTaskAssignmentInstanceImpl.setKaleoInstanceTokenId(kaleoTaskAssignmentInstance.getKaleoInstanceTokenId()); - kaleoTaskAssignmentInstanceImpl.setKaleoTaskInstanceTokenId(kaleoTaskAssignmentInstance.getKaleoTaskInstanceTokenId()); - kaleoTaskAssignmentInstanceImpl.setKaleoTaskId(kaleoTaskAssignmentInstance.getKaleoTaskId()); - kaleoTaskAssignmentInstanceImpl.setKaleoTaskName(kaleoTaskAssignmentInstance.getKaleoTaskName()); - kaleoTaskAssignmentInstanceImpl.setAssigneeClassName(kaleoTaskAssignmentInstance.getAssigneeClassName()); - kaleoTaskAssignmentInstanceImpl.setAssigneeClassPK(kaleoTaskAssignmentInstance.getAssigneeClassPK()); - kaleoTaskAssignmentInstanceImpl.setCompleted(kaleoTaskAssignmentInstance.isCompleted()); - kaleoTaskAssignmentInstanceImpl.setCompletionDate(kaleoTaskAssignmentInstance.getCompletionDate()); - - return kaleoTaskAssignmentInstanceImpl; - } - - /** - * Returns the kaleo task assignment instance with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the kaleo task assignment instance - * @return the kaleo task assignment instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException if a kaleo task assignment instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTaskAssignmentInstance findByPrimaryKey(Serializable primaryKey) - throws NoSuchKaleoTaskAssignmentInstanceException, SystemException { - KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance = fetchByPrimaryKey(primaryKey); - - if (kaleoTaskAssignmentInstance == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchKaleoTaskAssignmentInstanceException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return kaleoTaskAssignmentInstance; - } - - /** - * Returns the kaleo task assignment instance with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException} if it could not be found. - * - * @param kaleoTaskAssignmentInstanceId the primary key of the kaleo task assignment instance - * @return the kaleo task assignment instance - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskAssignmentInstanceException if a kaleo task assignment instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTaskAssignmentInstance findByPrimaryKey( - long kaleoTaskAssignmentInstanceId) - throws NoSuchKaleoTaskAssignmentInstanceException, SystemException { - return findByPrimaryKey((Serializable)kaleoTaskAssignmentInstanceId); - } - - /** - * Returns the kaleo task assignment instance with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the kaleo task assignment instance - * @return the kaleo task assignment instance, or null if a kaleo task assignment instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTaskAssignmentInstance fetchByPrimaryKey( - Serializable primaryKey) throws SystemException { - KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance = (KaleoTaskAssignmentInstance)EntityCacheUtil.getResult(KaleoTaskAssignmentInstanceModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskAssignmentInstanceImpl.class, primaryKey); - - if (kaleoTaskAssignmentInstance == _nullKaleoTaskAssignmentInstance) { - return null; - } - - if (kaleoTaskAssignmentInstance == null) { - Session session = null; - - try { - session = openSession(); - - kaleoTaskAssignmentInstance = (KaleoTaskAssignmentInstance)session.get(KaleoTaskAssignmentInstanceImpl.class, - primaryKey); - - if (kaleoTaskAssignmentInstance != null) { - cacheResult(kaleoTaskAssignmentInstance); - } - else { - EntityCacheUtil.putResult(KaleoTaskAssignmentInstanceModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskAssignmentInstanceImpl.class, primaryKey, - _nullKaleoTaskAssignmentInstance); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(KaleoTaskAssignmentInstanceModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskAssignmentInstanceImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return kaleoTaskAssignmentInstance; - } - - /** - * Returns the kaleo task assignment instance with the primary key or returns null if it could not be found. - * - * @param kaleoTaskAssignmentInstanceId the primary key of the kaleo task assignment instance - * @return the kaleo task assignment instance, or null if a kaleo task assignment instance with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTaskAssignmentInstance fetchByPrimaryKey( - long kaleoTaskAssignmentInstanceId) throws SystemException { - return fetchByPrimaryKey((Serializable)kaleoTaskAssignmentInstanceId); - } - - /** - * Returns all the kaleo task assignment instances. - * - * @return the kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() - throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the kaleo task assignment instances. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo task assignment instances - * @param end the upper bound of the range of kaleo task assignment instances (not inclusive) - * @return the range of kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the kaleo task assignment instances. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskAssignmentInstanceModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo task assignment instances - * @param end the upper bound of the range of kaleo task assignment instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_KALEOTASKASSIGNMENTINSTANCE); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_KALEOTASKASSIGNMENTINSTANCE; - - if (pagination) { - sql = sql.concat(KaleoTaskAssignmentInstanceModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the kaleo task assignment instances from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance : findAll()) { - remove(kaleoTaskAssignmentInstance); - } - } - - /** - * Returns the number of kaleo task assignment instances. - * - * @return the number of kaleo task assignment instances - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_KALEOTASKASSIGNMENTINSTANCE); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - /** - * Initializes the kaleo task assignment instance persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(KaleoTaskAssignmentInstanceImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_KALEOTASKASSIGNMENTINSTANCE = "SELECT kaleoTaskAssignmentInstance FROM KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance"; - private static final String _SQL_SELECT_KALEOTASKASSIGNMENTINSTANCE_WHERE = "SELECT kaleoTaskAssignmentInstance FROM KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance WHERE "; - private static final String _SQL_COUNT_KALEOTASKASSIGNMENTINSTANCE = "SELECT COUNT(kaleoTaskAssignmentInstance) FROM KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance"; - private static final String _SQL_COUNT_KALEOTASKASSIGNMENTINSTANCE_WHERE = "SELECT COUNT(kaleoTaskAssignmentInstance) FROM KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "kaleoTaskAssignmentInstance."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No KaleoTaskAssignmentInstance exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No KaleoTaskAssignmentInstance exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(KaleoTaskAssignmentInstancePersistenceImpl.class); - private static KaleoTaskAssignmentInstance _nullKaleoTaskAssignmentInstance = new KaleoTaskAssignmentInstanceImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullKaleoTaskAssignmentInstanceCacheModel; - } - }; - - private static CacheModel _nullKaleoTaskAssignmentInstanceCacheModel = - new CacheModel() { - @Override - public KaleoTaskAssignmentInstance toEntityModel() { - return _nullKaleoTaskAssignmentInstance; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/KaleoTaskInstanceTokenPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/KaleoTaskInstanceTokenPersistenceImpl.java deleted file mode 100644 index 0d4d3b03..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/KaleoTaskInstanceTokenPersistenceImpl.java +++ /dev/null @@ -1,968 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.importazione.NoSuchKaleoTaskInstanceTokenException; -import it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken; -import it.tref.liferay.portos.importazione.model.impl.KaleoTaskInstanceTokenImpl; -import it.tref.liferay.portos.importazione.model.impl.KaleoTaskInstanceTokenModelImpl; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskInstanceTokenPersistence; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -/** - * The persistence implementation for the kaleo task instance token service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see KaleoTaskInstanceTokenPersistence - * @see KaleoTaskInstanceTokenUtil - * @generated - */ -public class KaleoTaskInstanceTokenPersistenceImpl extends BasePersistenceImpl - implements KaleoTaskInstanceTokenPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link KaleoTaskInstanceTokenUtil} to access the kaleo task instance token persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = KaleoTaskInstanceTokenImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(KaleoTaskInstanceTokenModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskInstanceTokenModelImpl.FINDER_CACHE_ENABLED, - KaleoTaskInstanceTokenImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(KaleoTaskInstanceTokenModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskInstanceTokenModelImpl.FINDER_CACHE_ENABLED, - KaleoTaskInstanceTokenImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(KaleoTaskInstanceTokenModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskInstanceTokenModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_FETCH_BY_CLASSPK = new FinderPath(KaleoTaskInstanceTokenModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskInstanceTokenModelImpl.FINDER_CACHE_ENABLED, - KaleoTaskInstanceTokenImpl.class, FINDER_CLASS_NAME_ENTITY, - "fetchByClassPK", new String[] { Long.class.getName() }, - KaleoTaskInstanceTokenModelImpl.CLASSPK_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_CLASSPK = new FinderPath(KaleoTaskInstanceTokenModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskInstanceTokenModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByClassPK", - new String[] { Long.class.getName() }); - - /** - * Returns the kaleo task instance token where classPK = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchKaleoTaskInstanceTokenException} if it could not be found. - * - * @param classPK the class p k - * @return the matching kaleo task instance token - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskInstanceTokenException if a matching kaleo task instance token could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTaskInstanceToken findByClassPK(long classPK) - throws NoSuchKaleoTaskInstanceTokenException, SystemException { - KaleoTaskInstanceToken kaleoTaskInstanceToken = fetchByClassPK(classPK); - - if (kaleoTaskInstanceToken == null) { - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("classPK="); - msg.append(classPK); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchKaleoTaskInstanceTokenException(msg.toString()); - } - - return kaleoTaskInstanceToken; - } - - /** - * Returns the kaleo task instance token where classPK = ? or returns null if it could not be found. Uses the finder cache. - * - * @param classPK the class p k - * @return the matching kaleo task instance token, or null if a matching kaleo task instance token could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTaskInstanceToken fetchByClassPK(long classPK) - throws SystemException { - return fetchByClassPK(classPK, true); - } - - /** - * Returns the kaleo task instance token where classPK = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param classPK the class p k - * @param retrieveFromCache whether to use the finder cache - * @return the matching kaleo task instance token, or null if a matching kaleo task instance token could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTaskInstanceToken fetchByClassPK(long classPK, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { classPK }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_CLASSPK, - finderArgs, this); - } - - if (result instanceof KaleoTaskInstanceToken) { - KaleoTaskInstanceToken kaleoTaskInstanceToken = (KaleoTaskInstanceToken)result; - - if ((classPK != kaleoTaskInstanceToken.getClassPK())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_SELECT_KALEOTASKINSTANCETOKEN_WHERE); - - query.append(_FINDER_COLUMN_CLASSPK_CLASSPK_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(classPK); - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CLASSPK, - finderArgs, list); - } - else { - if ((list.size() > 1) && _log.isWarnEnabled()) { - _log.warn( - "KaleoTaskInstanceTokenPersistenceImpl.fetchByClassPK(long, boolean) with parameters (" + - StringUtil.merge(finderArgs) + - ") yields a result set with more than 1 result. This violates the logical unique restriction. There is no order guarantee on which result is returned by this finder."); - } - - KaleoTaskInstanceToken kaleoTaskInstanceToken = list.get(0); - - result = kaleoTaskInstanceToken; - - cacheResult(kaleoTaskInstanceToken); - - if ((kaleoTaskInstanceToken.getClassPK() != classPK)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CLASSPK, - finderArgs, kaleoTaskInstanceToken); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CLASSPK, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (KaleoTaskInstanceToken)result; - } - } - - /** - * Removes the kaleo task instance token where classPK = ? from the database. - * - * @param classPK the class p k - * @return the kaleo task instance token that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTaskInstanceToken removeByClassPK(long classPK) - throws NoSuchKaleoTaskInstanceTokenException, SystemException { - KaleoTaskInstanceToken kaleoTaskInstanceToken = findByClassPK(classPK); - - return remove(kaleoTaskInstanceToken); - } - - /** - * Returns the number of kaleo task instance tokens where classPK = ?. - * - * @param classPK the class p k - * @return the number of matching kaleo task instance tokens - * @throws SystemException if a system exception occurred - */ - @Override - public int countByClassPK(long classPK) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_CLASSPK; - - Object[] finderArgs = new Object[] { classPK }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_KALEOTASKINSTANCETOKEN_WHERE); - - query.append(_FINDER_COLUMN_CLASSPK_CLASSPK_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(classPK); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_CLASSPK_CLASSPK_2 = "kaleoTaskInstanceToken.classPK = ?"; - - public KaleoTaskInstanceTokenPersistenceImpl() { - setModelClass(KaleoTaskInstanceToken.class); - } - - /** - * Caches the kaleo task instance token in the entity cache if it is enabled. - * - * @param kaleoTaskInstanceToken the kaleo task instance token - */ - @Override - public void cacheResult(KaleoTaskInstanceToken kaleoTaskInstanceToken) { - EntityCacheUtil.putResult(KaleoTaskInstanceTokenModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskInstanceTokenImpl.class, - kaleoTaskInstanceToken.getPrimaryKey(), kaleoTaskInstanceToken); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CLASSPK, - new Object[] { kaleoTaskInstanceToken.getClassPK() }, - kaleoTaskInstanceToken); - - kaleoTaskInstanceToken.resetOriginalValues(); - } - - /** - * Caches the kaleo task instance tokens in the entity cache if it is enabled. - * - * @param kaleoTaskInstanceTokens the kaleo task instance tokens - */ - @Override - public void cacheResult( - List kaleoTaskInstanceTokens) { - for (KaleoTaskInstanceToken kaleoTaskInstanceToken : kaleoTaskInstanceTokens) { - if (EntityCacheUtil.getResult( - KaleoTaskInstanceTokenModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskInstanceTokenImpl.class, - kaleoTaskInstanceToken.getPrimaryKey()) == null) { - cacheResult(kaleoTaskInstanceToken); - } - else { - kaleoTaskInstanceToken.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all kaleo task instance tokens. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(KaleoTaskInstanceTokenImpl.class.getName()); - } - - EntityCacheUtil.clearCache(KaleoTaskInstanceTokenImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the kaleo task instance token. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(KaleoTaskInstanceToken kaleoTaskInstanceToken) { - EntityCacheUtil.removeResult(KaleoTaskInstanceTokenModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskInstanceTokenImpl.class, - kaleoTaskInstanceToken.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(kaleoTaskInstanceToken); - } - - @Override - public void clearCache(List kaleoTaskInstanceTokens) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (KaleoTaskInstanceToken kaleoTaskInstanceToken : kaleoTaskInstanceTokens) { - EntityCacheUtil.removeResult(KaleoTaskInstanceTokenModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskInstanceTokenImpl.class, - kaleoTaskInstanceToken.getPrimaryKey()); - - clearUniqueFindersCache(kaleoTaskInstanceToken); - } - } - - protected void cacheUniqueFindersCache( - KaleoTaskInstanceToken kaleoTaskInstanceToken) { - if (kaleoTaskInstanceToken.isNew()) { - Object[] args = new Object[] { kaleoTaskInstanceToken.getClassPK() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_CLASSPK, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CLASSPK, args, - kaleoTaskInstanceToken); - } - else { - KaleoTaskInstanceTokenModelImpl kaleoTaskInstanceTokenModelImpl = (KaleoTaskInstanceTokenModelImpl)kaleoTaskInstanceToken; - - if ((kaleoTaskInstanceTokenModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_CLASSPK.getColumnBitmask()) != 0) { - Object[] args = new Object[] { kaleoTaskInstanceToken.getClassPK() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_CLASSPK, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CLASSPK, args, - kaleoTaskInstanceToken); - } - } - } - - protected void clearUniqueFindersCache( - KaleoTaskInstanceToken kaleoTaskInstanceToken) { - KaleoTaskInstanceTokenModelImpl kaleoTaskInstanceTokenModelImpl = (KaleoTaskInstanceTokenModelImpl)kaleoTaskInstanceToken; - - Object[] args = new Object[] { kaleoTaskInstanceToken.getClassPK() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CLASSPK, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CLASSPK, args); - - if ((kaleoTaskInstanceTokenModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_CLASSPK.getColumnBitmask()) != 0) { - args = new Object[] { - kaleoTaskInstanceTokenModelImpl.getOriginalClassPK() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CLASSPK, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CLASSPK, args); - } - } - - /** - * Creates a new kaleo task instance token with the primary key. Does not add the kaleo task instance token to the database. - * - * @param kaleoTaskInstanceTokenId the primary key for the new kaleo task instance token - * @return the new kaleo task instance token - */ - @Override - public KaleoTaskInstanceToken create(long kaleoTaskInstanceTokenId) { - KaleoTaskInstanceToken kaleoTaskInstanceToken = new KaleoTaskInstanceTokenImpl(); - - kaleoTaskInstanceToken.setNew(true); - kaleoTaskInstanceToken.setPrimaryKey(kaleoTaskInstanceTokenId); - - return kaleoTaskInstanceToken; - } - - /** - * Removes the kaleo task instance token with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoTaskInstanceTokenId the primary key of the kaleo task instance token - * @return the kaleo task instance token that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskInstanceTokenException if a kaleo task instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTaskInstanceToken remove(long kaleoTaskInstanceTokenId) - throws NoSuchKaleoTaskInstanceTokenException, SystemException { - return remove((Serializable)kaleoTaskInstanceTokenId); - } - - /** - * Removes the kaleo task instance token with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the kaleo task instance token - * @return the kaleo task instance token that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskInstanceTokenException if a kaleo task instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTaskInstanceToken remove(Serializable primaryKey) - throws NoSuchKaleoTaskInstanceTokenException, SystemException { - Session session = null; - - try { - session = openSession(); - - KaleoTaskInstanceToken kaleoTaskInstanceToken = (KaleoTaskInstanceToken)session.get(KaleoTaskInstanceTokenImpl.class, - primaryKey); - - if (kaleoTaskInstanceToken == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchKaleoTaskInstanceTokenException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(kaleoTaskInstanceToken); - } - catch (NoSuchKaleoTaskInstanceTokenException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected KaleoTaskInstanceToken removeImpl( - KaleoTaskInstanceToken kaleoTaskInstanceToken) - throws SystemException { - kaleoTaskInstanceToken = toUnwrappedModel(kaleoTaskInstanceToken); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(kaleoTaskInstanceToken)) { - kaleoTaskInstanceToken = (KaleoTaskInstanceToken)session.get(KaleoTaskInstanceTokenImpl.class, - kaleoTaskInstanceToken.getPrimaryKeyObj()); - } - - if (kaleoTaskInstanceToken != null) { - session.delete(kaleoTaskInstanceToken); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (kaleoTaskInstanceToken != null) { - clearCache(kaleoTaskInstanceToken); - } - - return kaleoTaskInstanceToken; - } - - @Override - public KaleoTaskInstanceToken updateImpl( - it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken kaleoTaskInstanceToken) - throws SystemException { - kaleoTaskInstanceToken = toUnwrappedModel(kaleoTaskInstanceToken); - - boolean isNew = kaleoTaskInstanceToken.isNew(); - - Session session = null; - - try { - session = openSession(); - - if (kaleoTaskInstanceToken.isNew()) { - session.save(kaleoTaskInstanceToken); - - kaleoTaskInstanceToken.setNew(false); - } - else { - session.merge(kaleoTaskInstanceToken); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !KaleoTaskInstanceTokenModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - EntityCacheUtil.putResult(KaleoTaskInstanceTokenModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskInstanceTokenImpl.class, - kaleoTaskInstanceToken.getPrimaryKey(), kaleoTaskInstanceToken); - - clearUniqueFindersCache(kaleoTaskInstanceToken); - cacheUniqueFindersCache(kaleoTaskInstanceToken); - - return kaleoTaskInstanceToken; - } - - protected KaleoTaskInstanceToken toUnwrappedModel( - KaleoTaskInstanceToken kaleoTaskInstanceToken) { - if (kaleoTaskInstanceToken instanceof KaleoTaskInstanceTokenImpl) { - return kaleoTaskInstanceToken; - } - - KaleoTaskInstanceTokenImpl kaleoTaskInstanceTokenImpl = new KaleoTaskInstanceTokenImpl(); - - kaleoTaskInstanceTokenImpl.setNew(kaleoTaskInstanceToken.isNew()); - kaleoTaskInstanceTokenImpl.setPrimaryKey(kaleoTaskInstanceToken.getPrimaryKey()); - - kaleoTaskInstanceTokenImpl.setKaleoTaskInstanceTokenId(kaleoTaskInstanceToken.getKaleoTaskInstanceTokenId()); - kaleoTaskInstanceTokenImpl.setGroupId(kaleoTaskInstanceToken.getGroupId()); - kaleoTaskInstanceTokenImpl.setCompanyId(kaleoTaskInstanceToken.getCompanyId()); - kaleoTaskInstanceTokenImpl.setUserId(kaleoTaskInstanceToken.getUserId()); - kaleoTaskInstanceTokenImpl.setUserName(kaleoTaskInstanceToken.getUserName()); - kaleoTaskInstanceTokenImpl.setCreateDate(kaleoTaskInstanceToken.getCreateDate()); - kaleoTaskInstanceTokenImpl.setModifiedDate(kaleoTaskInstanceToken.getModifiedDate()); - kaleoTaskInstanceTokenImpl.setKaleoDefinitionId(kaleoTaskInstanceToken.getKaleoDefinitionId()); - kaleoTaskInstanceTokenImpl.setKaleoInstanceId(kaleoTaskInstanceToken.getKaleoInstanceId()); - kaleoTaskInstanceTokenImpl.setKaleoInstanceTokenId(kaleoTaskInstanceToken.getKaleoInstanceTokenId()); - kaleoTaskInstanceTokenImpl.setKaleoTaskId(kaleoTaskInstanceToken.getKaleoTaskId()); - kaleoTaskInstanceTokenImpl.setKaleoTaskName(kaleoTaskInstanceToken.getKaleoTaskName()); - kaleoTaskInstanceTokenImpl.setClassName(kaleoTaskInstanceToken.getClassName()); - kaleoTaskInstanceTokenImpl.setClassPK(kaleoTaskInstanceToken.getClassPK()); - kaleoTaskInstanceTokenImpl.setCompletionUserId(kaleoTaskInstanceToken.getCompletionUserId()); - kaleoTaskInstanceTokenImpl.setCompleted(kaleoTaskInstanceToken.isCompleted()); - kaleoTaskInstanceTokenImpl.setCompletionDate(kaleoTaskInstanceToken.getCompletionDate()); - kaleoTaskInstanceTokenImpl.setDueDate(kaleoTaskInstanceToken.getDueDate()); - kaleoTaskInstanceTokenImpl.setWorkflowContext(kaleoTaskInstanceToken.getWorkflowContext()); - - return kaleoTaskInstanceTokenImpl; - } - - /** - * Returns the kaleo task instance token with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the kaleo task instance token - * @return the kaleo task instance token - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskInstanceTokenException if a kaleo task instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTaskInstanceToken findByPrimaryKey(Serializable primaryKey) - throws NoSuchKaleoTaskInstanceTokenException, SystemException { - KaleoTaskInstanceToken kaleoTaskInstanceToken = fetchByPrimaryKey(primaryKey); - - if (kaleoTaskInstanceToken == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchKaleoTaskInstanceTokenException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return kaleoTaskInstanceToken; - } - - /** - * Returns the kaleo task instance token with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchKaleoTaskInstanceTokenException} if it could not be found. - * - * @param kaleoTaskInstanceTokenId the primary key of the kaleo task instance token - * @return the kaleo task instance token - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskInstanceTokenException if a kaleo task instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTaskInstanceToken findByPrimaryKey( - long kaleoTaskInstanceTokenId) - throws NoSuchKaleoTaskInstanceTokenException, SystemException { - return findByPrimaryKey((Serializable)kaleoTaskInstanceTokenId); - } - - /** - * Returns the kaleo task instance token with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the kaleo task instance token - * @return the kaleo task instance token, or null if a kaleo task instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTaskInstanceToken fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - KaleoTaskInstanceToken kaleoTaskInstanceToken = (KaleoTaskInstanceToken)EntityCacheUtil.getResult(KaleoTaskInstanceTokenModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskInstanceTokenImpl.class, primaryKey); - - if (kaleoTaskInstanceToken == _nullKaleoTaskInstanceToken) { - return null; - } - - if (kaleoTaskInstanceToken == null) { - Session session = null; - - try { - session = openSession(); - - kaleoTaskInstanceToken = (KaleoTaskInstanceToken)session.get(KaleoTaskInstanceTokenImpl.class, - primaryKey); - - if (kaleoTaskInstanceToken != null) { - cacheResult(kaleoTaskInstanceToken); - } - else { - EntityCacheUtil.putResult(KaleoTaskInstanceTokenModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskInstanceTokenImpl.class, primaryKey, - _nullKaleoTaskInstanceToken); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(KaleoTaskInstanceTokenModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskInstanceTokenImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return kaleoTaskInstanceToken; - } - - /** - * Returns the kaleo task instance token with the primary key or returns null if it could not be found. - * - * @param kaleoTaskInstanceTokenId the primary key of the kaleo task instance token - * @return the kaleo task instance token, or null if a kaleo task instance token with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTaskInstanceToken fetchByPrimaryKey( - long kaleoTaskInstanceTokenId) throws SystemException { - return fetchByPrimaryKey((Serializable)kaleoTaskInstanceTokenId); - } - - /** - * Returns all the kaleo task instance tokens. - * - * @return the kaleo task instance tokens - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the kaleo task instance tokens. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskInstanceTokenModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo task instance tokens - * @param end the upper bound of the range of kaleo task instance tokens (not inclusive) - * @return the range of kaleo task instance tokens - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the kaleo task instance tokens. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskInstanceTokenModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo task instance tokens - * @param end the upper bound of the range of kaleo task instance tokens (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of kaleo task instance tokens - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_KALEOTASKINSTANCETOKEN); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_KALEOTASKINSTANCETOKEN; - - if (pagination) { - sql = sql.concat(KaleoTaskInstanceTokenModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the kaleo task instance tokens from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (KaleoTaskInstanceToken kaleoTaskInstanceToken : findAll()) { - remove(kaleoTaskInstanceToken); - } - } - - /** - * Returns the number of kaleo task instance tokens. - * - * @return the number of kaleo task instance tokens - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_KALEOTASKINSTANCETOKEN); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - /** - * Initializes the kaleo task instance token persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(KaleoTaskInstanceTokenImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_KALEOTASKINSTANCETOKEN = "SELECT kaleoTaskInstanceToken FROM KaleoTaskInstanceToken kaleoTaskInstanceToken"; - private static final String _SQL_SELECT_KALEOTASKINSTANCETOKEN_WHERE = "SELECT kaleoTaskInstanceToken FROM KaleoTaskInstanceToken kaleoTaskInstanceToken WHERE "; - private static final String _SQL_COUNT_KALEOTASKINSTANCETOKEN = "SELECT COUNT(kaleoTaskInstanceToken) FROM KaleoTaskInstanceToken kaleoTaskInstanceToken"; - private static final String _SQL_COUNT_KALEOTASKINSTANCETOKEN_WHERE = "SELECT COUNT(kaleoTaskInstanceToken) FROM KaleoTaskInstanceToken kaleoTaskInstanceToken WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "kaleoTaskInstanceToken."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No KaleoTaskInstanceToken exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No KaleoTaskInstanceToken exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(KaleoTaskInstanceTokenPersistenceImpl.class); - private static KaleoTaskInstanceToken _nullKaleoTaskInstanceToken = new KaleoTaskInstanceTokenImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullKaleoTaskInstanceTokenCacheModel; - } - }; - - private static CacheModel _nullKaleoTaskInstanceTokenCacheModel = - new CacheModel() { - @Override - public KaleoTaskInstanceToken toEntityModel() { - return _nullKaleoTaskInstanceToken; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/KaleoTaskPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/KaleoTaskPersistenceImpl.java deleted file mode 100644 index 026d74f3..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/KaleoTaskPersistenceImpl.java +++ /dev/null @@ -1,668 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.importazione.NoSuchKaleoTaskException; -import it.tref.liferay.portos.importazione.model.KaleoTask; -import it.tref.liferay.portos.importazione.model.impl.KaleoTaskImpl; -import it.tref.liferay.portos.importazione.model.impl.KaleoTaskModelImpl; -import it.tref.liferay.portos.importazione.service.persistence.KaleoTaskPersistence; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -/** - * The persistence implementation for the kaleo task service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see KaleoTaskPersistence - * @see KaleoTaskUtil - * @generated - */ -public class KaleoTaskPersistenceImpl extends BasePersistenceImpl - implements KaleoTaskPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link KaleoTaskUtil} to access the kaleo task persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = KaleoTaskImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(KaleoTaskModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskModelImpl.FINDER_CACHE_ENABLED, KaleoTaskImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(KaleoTaskModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskModelImpl.FINDER_CACHE_ENABLED, KaleoTaskImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(KaleoTaskModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - - public KaleoTaskPersistenceImpl() { - setModelClass(KaleoTask.class); - } - - /** - * Caches the kaleo task in the entity cache if it is enabled. - * - * @param kaleoTask the kaleo task - */ - @Override - public void cacheResult(KaleoTask kaleoTask) { - EntityCacheUtil.putResult(KaleoTaskModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskImpl.class, kaleoTask.getPrimaryKey(), kaleoTask); - - kaleoTask.resetOriginalValues(); - } - - /** - * Caches the kaleo tasks in the entity cache if it is enabled. - * - * @param kaleoTasks the kaleo tasks - */ - @Override - public void cacheResult(List kaleoTasks) { - for (KaleoTask kaleoTask : kaleoTasks) { - if (EntityCacheUtil.getResult( - KaleoTaskModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskImpl.class, kaleoTask.getPrimaryKey()) == null) { - cacheResult(kaleoTask); - } - else { - kaleoTask.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all kaleo tasks. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(KaleoTaskImpl.class.getName()); - } - - EntityCacheUtil.clearCache(KaleoTaskImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the kaleo task. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(KaleoTask kaleoTask) { - EntityCacheUtil.removeResult(KaleoTaskModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskImpl.class, kaleoTask.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - @Override - public void clearCache(List kaleoTasks) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (KaleoTask kaleoTask : kaleoTasks) { - EntityCacheUtil.removeResult(KaleoTaskModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskImpl.class, kaleoTask.getPrimaryKey()); - } - } - - /** - * Creates a new kaleo task with the primary key. Does not add the kaleo task to the database. - * - * @param kaleoTaskId the primary key for the new kaleo task - * @return the new kaleo task - */ - @Override - public KaleoTask create(long kaleoTaskId) { - KaleoTask kaleoTask = new KaleoTaskImpl(); - - kaleoTask.setNew(true); - kaleoTask.setPrimaryKey(kaleoTaskId); - - return kaleoTask; - } - - /** - * Removes the kaleo task with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param kaleoTaskId the primary key of the kaleo task - * @return the kaleo task that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskException if a kaleo task with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTask remove(long kaleoTaskId) - throws NoSuchKaleoTaskException, SystemException { - return remove((Serializable)kaleoTaskId); - } - - /** - * Removes the kaleo task with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the kaleo task - * @return the kaleo task that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskException if a kaleo task with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTask remove(Serializable primaryKey) - throws NoSuchKaleoTaskException, SystemException { - Session session = null; - - try { - session = openSession(); - - KaleoTask kaleoTask = (KaleoTask)session.get(KaleoTaskImpl.class, - primaryKey); - - if (kaleoTask == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchKaleoTaskException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(kaleoTask); - } - catch (NoSuchKaleoTaskException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected KaleoTask removeImpl(KaleoTask kaleoTask) - throws SystemException { - kaleoTask = toUnwrappedModel(kaleoTask); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(kaleoTask)) { - kaleoTask = (KaleoTask)session.get(KaleoTaskImpl.class, - kaleoTask.getPrimaryKeyObj()); - } - - if (kaleoTask != null) { - session.delete(kaleoTask); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (kaleoTask != null) { - clearCache(kaleoTask); - } - - return kaleoTask; - } - - @Override - public KaleoTask updateImpl( - it.tref.liferay.portos.importazione.model.KaleoTask kaleoTask) - throws SystemException { - kaleoTask = toUnwrappedModel(kaleoTask); - - boolean isNew = kaleoTask.isNew(); - - Session session = null; - - try { - session = openSession(); - - if (kaleoTask.isNew()) { - session.save(kaleoTask); - - kaleoTask.setNew(false); - } - else { - session.merge(kaleoTask); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - EntityCacheUtil.putResult(KaleoTaskModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskImpl.class, kaleoTask.getPrimaryKey(), kaleoTask); - - return kaleoTask; - } - - protected KaleoTask toUnwrappedModel(KaleoTask kaleoTask) { - if (kaleoTask instanceof KaleoTaskImpl) { - return kaleoTask; - } - - KaleoTaskImpl kaleoTaskImpl = new KaleoTaskImpl(); - - kaleoTaskImpl.setNew(kaleoTask.isNew()); - kaleoTaskImpl.setPrimaryKey(kaleoTask.getPrimaryKey()); - - kaleoTaskImpl.setKaleoTaskId(kaleoTask.getKaleoTaskId()); - kaleoTaskImpl.setGroupId(kaleoTask.getGroupId()); - kaleoTaskImpl.setCompanyId(kaleoTask.getCompanyId()); - kaleoTaskImpl.setUserId(kaleoTask.getUserId()); - kaleoTaskImpl.setUserName(kaleoTask.getUserName()); - kaleoTaskImpl.setCreateDate(kaleoTask.getCreateDate()); - kaleoTaskImpl.setModifiedDate(kaleoTask.getModifiedDate()); - kaleoTaskImpl.setKaleoDefinitionId(kaleoTask.getKaleoDefinitionId()); - kaleoTaskImpl.setKaleoNodeId(kaleoTask.getKaleoNodeId()); - kaleoTaskImpl.setName(kaleoTask.getName()); - kaleoTaskImpl.setDescription(kaleoTask.getDescription()); - - return kaleoTaskImpl; - } - - /** - * Returns the kaleo task with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the kaleo task - * @return the kaleo task - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskException if a kaleo task with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTask findByPrimaryKey(Serializable primaryKey) - throws NoSuchKaleoTaskException, SystemException { - KaleoTask kaleoTask = fetchByPrimaryKey(primaryKey); - - if (kaleoTask == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchKaleoTaskException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return kaleoTask; - } - - /** - * Returns the kaleo task with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchKaleoTaskException} if it could not be found. - * - * @param kaleoTaskId the primary key of the kaleo task - * @return the kaleo task - * @throws it.tref.liferay.portos.importazione.NoSuchKaleoTaskException if a kaleo task with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTask findByPrimaryKey(long kaleoTaskId) - throws NoSuchKaleoTaskException, SystemException { - return findByPrimaryKey((Serializable)kaleoTaskId); - } - - /** - * Returns the kaleo task with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the kaleo task - * @return the kaleo task, or null if a kaleo task with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTask fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - KaleoTask kaleoTask = (KaleoTask)EntityCacheUtil.getResult(KaleoTaskModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskImpl.class, primaryKey); - - if (kaleoTask == _nullKaleoTask) { - return null; - } - - if (kaleoTask == null) { - Session session = null; - - try { - session = openSession(); - - kaleoTask = (KaleoTask)session.get(KaleoTaskImpl.class, - primaryKey); - - if (kaleoTask != null) { - cacheResult(kaleoTask); - } - else { - EntityCacheUtil.putResult(KaleoTaskModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskImpl.class, primaryKey, _nullKaleoTask); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(KaleoTaskModelImpl.ENTITY_CACHE_ENABLED, - KaleoTaskImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return kaleoTask; - } - - /** - * Returns the kaleo task with the primary key or returns null if it could not be found. - * - * @param kaleoTaskId the primary key of the kaleo task - * @return the kaleo task, or null if a kaleo task with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public KaleoTask fetchByPrimaryKey(long kaleoTaskId) - throws SystemException { - return fetchByPrimaryKey((Serializable)kaleoTaskId); - } - - /** - * Returns all the kaleo tasks. - * - * @return the kaleo tasks - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the kaleo tasks. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo tasks - * @param end the upper bound of the range of kaleo tasks (not inclusive) - * @return the range of kaleo tasks - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the kaleo tasks. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.KaleoTaskModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of kaleo tasks - * @param end the upper bound of the range of kaleo tasks (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of kaleo tasks - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_KALEOTASK); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_KALEOTASK; - - if (pagination) { - sql = sql.concat(KaleoTaskModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the kaleo tasks from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (KaleoTask kaleoTask : findAll()) { - remove(kaleoTask); - } - } - - /** - * Returns the number of kaleo tasks. - * - * @return the number of kaleo tasks - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_KALEOTASK); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - /** - * Initializes the kaleo task persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.importazione.model.KaleoTask"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(KaleoTaskImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_KALEOTASK = "SELECT kaleoTask FROM KaleoTask kaleoTask"; - private static final String _SQL_COUNT_KALEOTASK = "SELECT COUNT(kaleoTask) FROM KaleoTask kaleoTask"; - private static final String _ORDER_BY_ENTITY_ALIAS = "kaleoTask."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No KaleoTask exists with the primary key "; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(KaleoTaskPersistenceImpl.class); - private static KaleoTask _nullKaleoTask = new KaleoTaskImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullKaleoTaskCacheModel; - } - }; - - private static CacheModel _nullKaleoTaskCacheModel = new CacheModel() { - @Override - public KaleoTask toEntityModel() { - return _nullKaleoTask; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/OldDLFileEntryPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/OldDLFileEntryPersistenceImpl.java deleted file mode 100644 index 10758fe2..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/OldDLFileEntryPersistenceImpl.java +++ /dev/null @@ -1,1798 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException; -import it.tref.liferay.portos.importazione.model.OldDLFileEntry; -import it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryImpl; -import it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryModelImpl; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFileEntryPersistence; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -/** - * The persistence implementation for the old d l file entry service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see OldDLFileEntryPersistence - * @see OldDLFileEntryUtil - * @generated - */ -public class OldDLFileEntryPersistenceImpl extends BasePersistenceImpl - implements OldDLFileEntryPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link OldDLFileEntryUtil} to access the old d l file entry persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = OldDLFileEntryImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(OldDLFileEntryModelImpl.ENTITY_CACHE_ENABLED, - OldDLFileEntryModelImpl.FINDER_CACHE_ENABLED, - OldDLFileEntryImpl.class, FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(OldDLFileEntryModelImpl.ENTITY_CACHE_ENABLED, - OldDLFileEntryModelImpl.FINDER_CACHE_ENABLED, - OldDLFileEntryImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(OldDLFileEntryModelImpl.ENTITY_CACHE_ENABLED, - OldDLFileEntryModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_REPID_PARENTID = - new FinderPath(OldDLFileEntryModelImpl.ENTITY_CACHE_ENABLED, - OldDLFileEntryModelImpl.FINDER_CACHE_ENABLED, - OldDLFileEntryImpl.class, FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByRepId_ParentId", - new String[] { - Long.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_REPID_PARENTID = - new FinderPath(OldDLFileEntryModelImpl.ENTITY_CACHE_ENABLED, - OldDLFileEntryModelImpl.FINDER_CACHE_ENABLED, - OldDLFileEntryImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByRepId_ParentId", - new String[] { Long.class.getName(), Long.class.getName() }, - OldDLFileEntryModelImpl.REPOSITORYID_COLUMN_BITMASK | - OldDLFileEntryModelImpl.FOLDERID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_REPID_PARENTID = new FinderPath(OldDLFileEntryModelImpl.ENTITY_CACHE_ENABLED, - OldDLFileEntryModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByRepId_ParentId", - new String[] { Long.class.getName(), Long.class.getName() }); - - /** - * Returns all the old d l file entries where repositoryId = ? and folderId = ?. - * - * @param repositoryId the repository ID - * @param folderId the folder ID - * @return the matching old d l file entries - * @throws SystemException if a system exception occurred - */ - @Override - public List findByRepId_ParentId(long repositoryId, - long folderId) throws SystemException { - return findByRepId_ParentId(repositoryId, folderId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the old d l file entries where repositoryId = ? and folderId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param repositoryId the repository ID - * @param folderId the folder ID - * @param start the lower bound of the range of old d l file entries - * @param end the upper bound of the range of old d l file entries (not inclusive) - * @return the range of matching old d l file entries - * @throws SystemException if a system exception occurred - */ - @Override - public List findByRepId_ParentId(long repositoryId, - long folderId, int start, int end) throws SystemException { - return findByRepId_ParentId(repositoryId, folderId, start, end, null); - } - - /** - * Returns an ordered range of all the old d l file entries where repositoryId = ? and folderId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param repositoryId the repository ID - * @param folderId the folder ID - * @param start the lower bound of the range of old d l file entries - * @param end the upper bound of the range of old d l file entries (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching old d l file entries - * @throws SystemException if a system exception occurred - */ - @Override - public List findByRepId_ParentId(long repositoryId, - long folderId, int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_REPID_PARENTID; - finderArgs = new Object[] { repositoryId, folderId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_REPID_PARENTID; - finderArgs = new Object[] { - repositoryId, folderId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (OldDLFileEntry oldDLFileEntry : list) { - if ((repositoryId != oldDLFileEntry.getRepositoryId()) || - (folderId != oldDLFileEntry.getFolderId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_OLDDLFILEENTRY_WHERE); - - query.append(_FINDER_COLUMN_REPID_PARENTID_REPOSITORYID_2); - - query.append(_FINDER_COLUMN_REPID_PARENTID_FOLDERID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(OldDLFileEntryModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(repositoryId); - - qPos.add(folderId); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first old d l file entry in the ordered set where repositoryId = ? and folderId = ?. - * - * @param repositoryId the repository ID - * @param folderId the folder ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching old d l file entry - * @throws it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException if a matching old d l file entry could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldDLFileEntry findByRepId_ParentId_First(long repositoryId, - long folderId, OrderByComparator orderByComparator) - throws NoSuchOldDLFileEntryException, SystemException { - OldDLFileEntry oldDLFileEntry = fetchByRepId_ParentId_First(repositoryId, - folderId, orderByComparator); - - if (oldDLFileEntry != null) { - return oldDLFileEntry; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("repositoryId="); - msg.append(repositoryId); - - msg.append(", folderId="); - msg.append(folderId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchOldDLFileEntryException(msg.toString()); - } - - /** - * Returns the first old d l file entry in the ordered set where repositoryId = ? and folderId = ?. - * - * @param repositoryId the repository ID - * @param folderId the folder ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching old d l file entry, or null if a matching old d l file entry could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldDLFileEntry fetchByRepId_ParentId_First(long repositoryId, - long folderId, OrderByComparator orderByComparator) - throws SystemException { - List list = findByRepId_ParentId(repositoryId, - folderId, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last old d l file entry in the ordered set where repositoryId = ? and folderId = ?. - * - * @param repositoryId the repository ID - * @param folderId the folder ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching old d l file entry - * @throws it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException if a matching old d l file entry could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldDLFileEntry findByRepId_ParentId_Last(long repositoryId, - long folderId, OrderByComparator orderByComparator) - throws NoSuchOldDLFileEntryException, SystemException { - OldDLFileEntry oldDLFileEntry = fetchByRepId_ParentId_Last(repositoryId, - folderId, orderByComparator); - - if (oldDLFileEntry != null) { - return oldDLFileEntry; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("repositoryId="); - msg.append(repositoryId); - - msg.append(", folderId="); - msg.append(folderId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchOldDLFileEntryException(msg.toString()); - } - - /** - * Returns the last old d l file entry in the ordered set where repositoryId = ? and folderId = ?. - * - * @param repositoryId the repository ID - * @param folderId the folder ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching old d l file entry, or null if a matching old d l file entry could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldDLFileEntry fetchByRepId_ParentId_Last(long repositoryId, - long folderId, OrderByComparator orderByComparator) - throws SystemException { - int count = countByRepId_ParentId(repositoryId, folderId); - - if (count == 0) { - return null; - } - - List list = findByRepId_ParentId(repositoryId, - folderId, count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the old d l file entries before and after the current old d l file entry in the ordered set where repositoryId = ? and folderId = ?. - * - * @param fileEntryId the primary key of the current old d l file entry - * @param repositoryId the repository ID - * @param folderId the folder ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next old d l file entry - * @throws it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException if a old d l file entry with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldDLFileEntry[] findByRepId_ParentId_PrevAndNext(long fileEntryId, - long repositoryId, long folderId, OrderByComparator orderByComparator) - throws NoSuchOldDLFileEntryException, SystemException { - OldDLFileEntry oldDLFileEntry = findByPrimaryKey(fileEntryId); - - Session session = null; - - try { - session = openSession(); - - OldDLFileEntry[] array = new OldDLFileEntryImpl[3]; - - array[0] = getByRepId_ParentId_PrevAndNext(session, oldDLFileEntry, - repositoryId, folderId, orderByComparator, true); - - array[1] = oldDLFileEntry; - - array[2] = getByRepId_ParentId_PrevAndNext(session, oldDLFileEntry, - repositoryId, folderId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected OldDLFileEntry getByRepId_ParentId_PrevAndNext(Session session, - OldDLFileEntry oldDLFileEntry, long repositoryId, long folderId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_OLDDLFILEENTRY_WHERE); - - query.append(_FINDER_COLUMN_REPID_PARENTID_REPOSITORYID_2); - - query.append(_FINDER_COLUMN_REPID_PARENTID_FOLDERID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(OldDLFileEntryModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(repositoryId); - - qPos.add(folderId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(oldDLFileEntry); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the old d l file entries where repositoryId = ? and folderId = ? from the database. - * - * @param repositoryId the repository ID - * @param folderId the folder ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByRepId_ParentId(long repositoryId, long folderId) - throws SystemException { - for (OldDLFileEntry oldDLFileEntry : findByRepId_ParentId( - repositoryId, folderId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, - null)) { - remove(oldDLFileEntry); - } - } - - /** - * Returns the number of old d l file entries where repositoryId = ? and folderId = ?. - * - * @param repositoryId the repository ID - * @param folderId the folder ID - * @return the number of matching old d l file entries - * @throws SystemException if a system exception occurred - */ - @Override - public int countByRepId_ParentId(long repositoryId, long folderId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_REPID_PARENTID; - - Object[] finderArgs = new Object[] { repositoryId, folderId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_OLDDLFILEENTRY_WHERE); - - query.append(_FINDER_COLUMN_REPID_PARENTID_REPOSITORYID_2); - - query.append(_FINDER_COLUMN_REPID_PARENTID_FOLDERID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(repositoryId); - - qPos.add(folderId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_REPID_PARENTID_REPOSITORYID_2 = "oldDLFileEntry.repositoryId = ? AND "; - private static final String _FINDER_COLUMN_REPID_PARENTID_FOLDERID_2 = "oldDLFileEntry.folderId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID_FOLDERID = - new FinderPath(OldDLFileEntryModelImpl.ENTITY_CACHE_ENABLED, - OldDLFileEntryModelImpl.FINDER_CACHE_ENABLED, - OldDLFileEntryImpl.class, FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByGroupId_FolderId", - new String[] { - Long.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID_FOLDERID = - new FinderPath(OldDLFileEntryModelImpl.ENTITY_CACHE_ENABLED, - OldDLFileEntryModelImpl.FINDER_CACHE_ENABLED, - OldDLFileEntryImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByGroupId_FolderId", - new String[] { Long.class.getName(), Long.class.getName() }, - OldDLFileEntryModelImpl.GROUPID_COLUMN_BITMASK | - OldDLFileEntryModelImpl.FOLDERID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID_FOLDERID = new FinderPath(OldDLFileEntryModelImpl.ENTITY_CACHE_ENABLED, - OldDLFileEntryModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByGroupId_FolderId", - new String[] { Long.class.getName(), Long.class.getName() }); - - /** - * Returns all the old d l file entries where groupId = ? and folderId = ?. - * - * @param groupId the group ID - * @param folderId the folder ID - * @return the matching old d l file entries - * @throws SystemException if a system exception occurred - */ - @Override - public List findByGroupId_FolderId(long groupId, - long folderId) throws SystemException { - return findByGroupId_FolderId(groupId, folderId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the old d l file entries where groupId = ? and folderId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param groupId the group ID - * @param folderId the folder ID - * @param start the lower bound of the range of old d l file entries - * @param end the upper bound of the range of old d l file entries (not inclusive) - * @return the range of matching old d l file entries - * @throws SystemException if a system exception occurred - */ - @Override - public List findByGroupId_FolderId(long groupId, - long folderId, int start, int end) throws SystemException { - return findByGroupId_FolderId(groupId, folderId, start, end, null); - } - - /** - * Returns an ordered range of all the old d l file entries where groupId = ? and folderId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param groupId the group ID - * @param folderId the folder ID - * @param start the lower bound of the range of old d l file entries - * @param end the upper bound of the range of old d l file entries (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching old d l file entries - * @throws SystemException if a system exception occurred - */ - @Override - public List findByGroupId_FolderId(long groupId, - long folderId, int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID_FOLDERID; - finderArgs = new Object[] { groupId, folderId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID_FOLDERID; - finderArgs = new Object[] { - groupId, folderId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (OldDLFileEntry oldDLFileEntry : list) { - if ((groupId != oldDLFileEntry.getGroupId()) || - (folderId != oldDLFileEntry.getFolderId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_OLDDLFILEENTRY_WHERE); - - query.append(_FINDER_COLUMN_GROUPID_FOLDERID_GROUPID_2); - - query.append(_FINDER_COLUMN_GROUPID_FOLDERID_FOLDERID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(OldDLFileEntryModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(groupId); - - qPos.add(folderId); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first old d l file entry in the ordered set where groupId = ? and folderId = ?. - * - * @param groupId the group ID - * @param folderId the folder ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching old d l file entry - * @throws it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException if a matching old d l file entry could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldDLFileEntry findByGroupId_FolderId_First(long groupId, - long folderId, OrderByComparator orderByComparator) - throws NoSuchOldDLFileEntryException, SystemException { - OldDLFileEntry oldDLFileEntry = fetchByGroupId_FolderId_First(groupId, - folderId, orderByComparator); - - if (oldDLFileEntry != null) { - return oldDLFileEntry; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("groupId="); - msg.append(groupId); - - msg.append(", folderId="); - msg.append(folderId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchOldDLFileEntryException(msg.toString()); - } - - /** - * Returns the first old d l file entry in the ordered set where groupId = ? and folderId = ?. - * - * @param groupId the group ID - * @param folderId the folder ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching old d l file entry, or null if a matching old d l file entry could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldDLFileEntry fetchByGroupId_FolderId_First(long groupId, - long folderId, OrderByComparator orderByComparator) - throws SystemException { - List list = findByGroupId_FolderId(groupId, folderId, - 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last old d l file entry in the ordered set where groupId = ? and folderId = ?. - * - * @param groupId the group ID - * @param folderId the folder ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching old d l file entry - * @throws it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException if a matching old d l file entry could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldDLFileEntry findByGroupId_FolderId_Last(long groupId, - long folderId, OrderByComparator orderByComparator) - throws NoSuchOldDLFileEntryException, SystemException { - OldDLFileEntry oldDLFileEntry = fetchByGroupId_FolderId_Last(groupId, - folderId, orderByComparator); - - if (oldDLFileEntry != null) { - return oldDLFileEntry; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("groupId="); - msg.append(groupId); - - msg.append(", folderId="); - msg.append(folderId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchOldDLFileEntryException(msg.toString()); - } - - /** - * Returns the last old d l file entry in the ordered set where groupId = ? and folderId = ?. - * - * @param groupId the group ID - * @param folderId the folder ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching old d l file entry, or null if a matching old d l file entry could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldDLFileEntry fetchByGroupId_FolderId_Last(long groupId, - long folderId, OrderByComparator orderByComparator) - throws SystemException { - int count = countByGroupId_FolderId(groupId, folderId); - - if (count == 0) { - return null; - } - - List list = findByGroupId_FolderId(groupId, folderId, - count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the old d l file entries before and after the current old d l file entry in the ordered set where groupId = ? and folderId = ?. - * - * @param fileEntryId the primary key of the current old d l file entry - * @param groupId the group ID - * @param folderId the folder ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next old d l file entry - * @throws it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException if a old d l file entry with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldDLFileEntry[] findByGroupId_FolderId_PrevAndNext( - long fileEntryId, long groupId, long folderId, - OrderByComparator orderByComparator) - throws NoSuchOldDLFileEntryException, SystemException { - OldDLFileEntry oldDLFileEntry = findByPrimaryKey(fileEntryId); - - Session session = null; - - try { - session = openSession(); - - OldDLFileEntry[] array = new OldDLFileEntryImpl[3]; - - array[0] = getByGroupId_FolderId_PrevAndNext(session, - oldDLFileEntry, groupId, folderId, orderByComparator, true); - - array[1] = oldDLFileEntry; - - array[2] = getByGroupId_FolderId_PrevAndNext(session, - oldDLFileEntry, groupId, folderId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected OldDLFileEntry getByGroupId_FolderId_PrevAndNext( - Session session, OldDLFileEntry oldDLFileEntry, long groupId, - long folderId, OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_OLDDLFILEENTRY_WHERE); - - query.append(_FINDER_COLUMN_GROUPID_FOLDERID_GROUPID_2); - - query.append(_FINDER_COLUMN_GROUPID_FOLDERID_FOLDERID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(OldDLFileEntryModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(groupId); - - qPos.add(folderId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(oldDLFileEntry); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the old d l file entries where groupId = ? and folderId = ? from the database. - * - * @param groupId the group ID - * @param folderId the folder ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByGroupId_FolderId(long groupId, long folderId) - throws SystemException { - for (OldDLFileEntry oldDLFileEntry : findByGroupId_FolderId(groupId, - folderId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(oldDLFileEntry); - } - } - - /** - * Returns the number of old d l file entries where groupId = ? and folderId = ?. - * - * @param groupId the group ID - * @param folderId the folder ID - * @return the number of matching old d l file entries - * @throws SystemException if a system exception occurred - */ - @Override - public int countByGroupId_FolderId(long groupId, long folderId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_GROUPID_FOLDERID; - - Object[] finderArgs = new Object[] { groupId, folderId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_OLDDLFILEENTRY_WHERE); - - query.append(_FINDER_COLUMN_GROUPID_FOLDERID_GROUPID_2); - - query.append(_FINDER_COLUMN_GROUPID_FOLDERID_FOLDERID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(groupId); - - qPos.add(folderId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_GROUPID_FOLDERID_GROUPID_2 = "oldDLFileEntry.groupId = ? AND "; - private static final String _FINDER_COLUMN_GROUPID_FOLDERID_FOLDERID_2 = "oldDLFileEntry.folderId = ?"; - - public OldDLFileEntryPersistenceImpl() { - setModelClass(OldDLFileEntry.class); - } - - /** - * Caches the old d l file entry in the entity cache if it is enabled. - * - * @param oldDLFileEntry the old d l file entry - */ - @Override - public void cacheResult(OldDLFileEntry oldDLFileEntry) { - EntityCacheUtil.putResult(OldDLFileEntryModelImpl.ENTITY_CACHE_ENABLED, - OldDLFileEntryImpl.class, oldDLFileEntry.getPrimaryKey(), - oldDLFileEntry); - - oldDLFileEntry.resetOriginalValues(); - } - - /** - * Caches the old d l file entries in the entity cache if it is enabled. - * - * @param oldDLFileEntries the old d l file entries - */ - @Override - public void cacheResult(List oldDLFileEntries) { - for (OldDLFileEntry oldDLFileEntry : oldDLFileEntries) { - if (EntityCacheUtil.getResult( - OldDLFileEntryModelImpl.ENTITY_CACHE_ENABLED, - OldDLFileEntryImpl.class, oldDLFileEntry.getPrimaryKey()) == null) { - cacheResult(oldDLFileEntry); - } - else { - oldDLFileEntry.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all old d l file entries. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(OldDLFileEntryImpl.class.getName()); - } - - EntityCacheUtil.clearCache(OldDLFileEntryImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the old d l file entry. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(OldDLFileEntry oldDLFileEntry) { - EntityCacheUtil.removeResult(OldDLFileEntryModelImpl.ENTITY_CACHE_ENABLED, - OldDLFileEntryImpl.class, oldDLFileEntry.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - @Override - public void clearCache(List oldDLFileEntries) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (OldDLFileEntry oldDLFileEntry : oldDLFileEntries) { - EntityCacheUtil.removeResult(OldDLFileEntryModelImpl.ENTITY_CACHE_ENABLED, - OldDLFileEntryImpl.class, oldDLFileEntry.getPrimaryKey()); - } - } - - /** - * Creates a new old d l file entry with the primary key. Does not add the old d l file entry to the database. - * - * @param fileEntryId the primary key for the new old d l file entry - * @return the new old d l file entry - */ - @Override - public OldDLFileEntry create(long fileEntryId) { - OldDLFileEntry oldDLFileEntry = new OldDLFileEntryImpl(); - - oldDLFileEntry.setNew(true); - oldDLFileEntry.setPrimaryKey(fileEntryId); - - return oldDLFileEntry; - } - - /** - * Removes the old d l file entry with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param fileEntryId the primary key of the old d l file entry - * @return the old d l file entry that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException if a old d l file entry with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldDLFileEntry remove(long fileEntryId) - throws NoSuchOldDLFileEntryException, SystemException { - return remove((Serializable)fileEntryId); - } - - /** - * Removes the old d l file entry with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the old d l file entry - * @return the old d l file entry that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException if a old d l file entry with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldDLFileEntry remove(Serializable primaryKey) - throws NoSuchOldDLFileEntryException, SystemException { - Session session = null; - - try { - session = openSession(); - - OldDLFileEntry oldDLFileEntry = (OldDLFileEntry)session.get(OldDLFileEntryImpl.class, - primaryKey); - - if (oldDLFileEntry == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchOldDLFileEntryException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(oldDLFileEntry); - } - catch (NoSuchOldDLFileEntryException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected OldDLFileEntry removeImpl(OldDLFileEntry oldDLFileEntry) - throws SystemException { - oldDLFileEntry = toUnwrappedModel(oldDLFileEntry); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(oldDLFileEntry)) { - oldDLFileEntry = (OldDLFileEntry)session.get(OldDLFileEntryImpl.class, - oldDLFileEntry.getPrimaryKeyObj()); - } - - if (oldDLFileEntry != null) { - session.delete(oldDLFileEntry); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (oldDLFileEntry != null) { - clearCache(oldDLFileEntry); - } - - return oldDLFileEntry; - } - - @Override - public OldDLFileEntry updateImpl( - it.tref.liferay.portos.importazione.model.OldDLFileEntry oldDLFileEntry) - throws SystemException { - oldDLFileEntry = toUnwrappedModel(oldDLFileEntry); - - boolean isNew = oldDLFileEntry.isNew(); - - OldDLFileEntryModelImpl oldDLFileEntryModelImpl = (OldDLFileEntryModelImpl)oldDLFileEntry; - - Session session = null; - - try { - session = openSession(); - - if (oldDLFileEntry.isNew()) { - session.save(oldDLFileEntry); - - oldDLFileEntry.setNew(false); - } - else { - session.merge(oldDLFileEntry); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !OldDLFileEntryModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((oldDLFileEntryModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_REPID_PARENTID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - oldDLFileEntryModelImpl.getOriginalRepositoryId(), - oldDLFileEntryModelImpl.getOriginalFolderId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_REPID_PARENTID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_REPID_PARENTID, - args); - - args = new Object[] { - oldDLFileEntryModelImpl.getRepositoryId(), - oldDLFileEntryModelImpl.getFolderId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_REPID_PARENTID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_REPID_PARENTID, - args); - } - - if ((oldDLFileEntryModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID_FOLDERID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - oldDLFileEntryModelImpl.getOriginalGroupId(), - oldDLFileEntryModelImpl.getOriginalFolderId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_GROUPID_FOLDERID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID_FOLDERID, - args); - - args = new Object[] { - oldDLFileEntryModelImpl.getGroupId(), - oldDLFileEntryModelImpl.getFolderId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_GROUPID_FOLDERID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID_FOLDERID, - args); - } - } - - EntityCacheUtil.putResult(OldDLFileEntryModelImpl.ENTITY_CACHE_ENABLED, - OldDLFileEntryImpl.class, oldDLFileEntry.getPrimaryKey(), - oldDLFileEntry); - - return oldDLFileEntry; - } - - protected OldDLFileEntry toUnwrappedModel(OldDLFileEntry oldDLFileEntry) { - if (oldDLFileEntry instanceof OldDLFileEntryImpl) { - return oldDLFileEntry; - } - - OldDLFileEntryImpl oldDLFileEntryImpl = new OldDLFileEntryImpl(); - - oldDLFileEntryImpl.setNew(oldDLFileEntry.isNew()); - oldDLFileEntryImpl.setPrimaryKey(oldDLFileEntry.getPrimaryKey()); - - oldDLFileEntryImpl.setFileEntryId(oldDLFileEntry.getFileEntryId()); - oldDLFileEntryImpl.setGroupId(oldDLFileEntry.getGroupId()); - oldDLFileEntryImpl.setCompanyId(oldDLFileEntry.getCompanyId()); - oldDLFileEntryImpl.setUserId(oldDLFileEntry.getUserId()); - oldDLFileEntryImpl.setUserName(oldDLFileEntry.getUserName()); - oldDLFileEntryImpl.setCreateDate(oldDLFileEntry.getCreateDate()); - oldDLFileEntryImpl.setModifiedDate(oldDLFileEntry.getModifiedDate()); - oldDLFileEntryImpl.setRepositoryId(oldDLFileEntry.getRepositoryId()); - oldDLFileEntryImpl.setFolderId(oldDLFileEntry.getFolderId()); - - return oldDLFileEntryImpl; - } - - /** - * Returns the old d l file entry with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the old d l file entry - * @return the old d l file entry - * @throws it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException if a old d l file entry with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldDLFileEntry findByPrimaryKey(Serializable primaryKey) - throws NoSuchOldDLFileEntryException, SystemException { - OldDLFileEntry oldDLFileEntry = fetchByPrimaryKey(primaryKey); - - if (oldDLFileEntry == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchOldDLFileEntryException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return oldDLFileEntry; - } - - /** - * Returns the old d l file entry with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException} if it could not be found. - * - * @param fileEntryId the primary key of the old d l file entry - * @return the old d l file entry - * @throws it.tref.liferay.portos.importazione.NoSuchOldDLFileEntryException if a old d l file entry with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldDLFileEntry findByPrimaryKey(long fileEntryId) - throws NoSuchOldDLFileEntryException, SystemException { - return findByPrimaryKey((Serializable)fileEntryId); - } - - /** - * Returns the old d l file entry with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the old d l file entry - * @return the old d l file entry, or null if a old d l file entry with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldDLFileEntry fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - OldDLFileEntry oldDLFileEntry = (OldDLFileEntry)EntityCacheUtil.getResult(OldDLFileEntryModelImpl.ENTITY_CACHE_ENABLED, - OldDLFileEntryImpl.class, primaryKey); - - if (oldDLFileEntry == _nullOldDLFileEntry) { - return null; - } - - if (oldDLFileEntry == null) { - Session session = null; - - try { - session = openSession(); - - oldDLFileEntry = (OldDLFileEntry)session.get(OldDLFileEntryImpl.class, - primaryKey); - - if (oldDLFileEntry != null) { - cacheResult(oldDLFileEntry); - } - else { - EntityCacheUtil.putResult(OldDLFileEntryModelImpl.ENTITY_CACHE_ENABLED, - OldDLFileEntryImpl.class, primaryKey, - _nullOldDLFileEntry); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(OldDLFileEntryModelImpl.ENTITY_CACHE_ENABLED, - OldDLFileEntryImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return oldDLFileEntry; - } - - /** - * Returns the old d l file entry with the primary key or returns null if it could not be found. - * - * @param fileEntryId the primary key of the old d l file entry - * @return the old d l file entry, or null if a old d l file entry with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldDLFileEntry fetchByPrimaryKey(long fileEntryId) - throws SystemException { - return fetchByPrimaryKey((Serializable)fileEntryId); - } - - /** - * Returns all the old d l file entries. - * - * @return the old d l file entries - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the old d l file entries. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old d l file entries - * @param end the upper bound of the range of old d l file entries (not inclusive) - * @return the range of old d l file entries - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the old d l file entries. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFileEntryModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old d l file entries - * @param end the upper bound of the range of old d l file entries (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of old d l file entries - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_OLDDLFILEENTRY); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_OLDDLFILEENTRY; - - if (pagination) { - sql = sql.concat(OldDLFileEntryModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the old d l file entries from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (OldDLFileEntry oldDLFileEntry : findAll()) { - remove(oldDLFileEntry); - } - } - - /** - * Returns the number of old d l file entries. - * - * @return the number of old d l file entries - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_OLDDLFILEENTRY); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - /** - * Initializes the old d l file entry persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.importazione.model.OldDLFileEntry"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(OldDLFileEntryImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_OLDDLFILEENTRY = "SELECT oldDLFileEntry FROM OldDLFileEntry oldDLFileEntry"; - private static final String _SQL_SELECT_OLDDLFILEENTRY_WHERE = "SELECT oldDLFileEntry FROM OldDLFileEntry oldDLFileEntry WHERE "; - private static final String _SQL_COUNT_OLDDLFILEENTRY = "SELECT COUNT(oldDLFileEntry) FROM OldDLFileEntry oldDLFileEntry"; - private static final String _SQL_COUNT_OLDDLFILEENTRY_WHERE = "SELECT COUNT(oldDLFileEntry) FROM OldDLFileEntry oldDLFileEntry WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "oldDLFileEntry."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No OldDLFileEntry exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No OldDLFileEntry exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(OldDLFileEntryPersistenceImpl.class); - private static OldDLFileEntry _nullOldDLFileEntry = new OldDLFileEntryImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullOldDLFileEntryCacheModel; - } - }; - - private static CacheModel _nullOldDLFileEntryCacheModel = new CacheModel() { - @Override - public OldDLFileEntry toEntityModel() { - return _nullOldDLFileEntry; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/OldDLFolderPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/OldDLFolderPersistenceImpl.java deleted file mode 100644 index d094439c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/OldDLFolderPersistenceImpl.java +++ /dev/null @@ -1,1049 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.importazione.NoSuchOldDLFolderException; -import it.tref.liferay.portos.importazione.model.OldDLFolder; -import it.tref.liferay.portos.importazione.model.impl.OldDLFolderImpl; -import it.tref.liferay.portos.importazione.model.impl.OldDLFolderModelImpl; -import it.tref.liferay.portos.importazione.service.persistence.OldDLFolderPersistence; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -/** - * The persistence implementation for the old d l folder service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see OldDLFolderPersistence - * @see OldDLFolderUtil - * @generated - */ -public class OldDLFolderPersistenceImpl extends BasePersistenceImpl - implements OldDLFolderPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link OldDLFolderUtil} to access the old d l folder persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = OldDLFolderImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(OldDLFolderModelImpl.ENTITY_CACHE_ENABLED, - OldDLFolderModelImpl.FINDER_CACHE_ENABLED, OldDLFolderImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(OldDLFolderModelImpl.ENTITY_CACHE_ENABLED, - OldDLFolderModelImpl.FINDER_CACHE_ENABLED, OldDLFolderImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(OldDLFolderModelImpl.ENTITY_CACHE_ENABLED, - OldDLFolderModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_FETCH_BY_BYREPID_PARENTID_NAME = new FinderPath(OldDLFolderModelImpl.ENTITY_CACHE_ENABLED, - OldDLFolderModelImpl.FINDER_CACHE_ENABLED, OldDLFolderImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByByRepId_ParentId_Name", - new String[] { - Long.class.getName(), Long.class.getName(), - String.class.getName() - }, - OldDLFolderModelImpl.REPOSITORYID_COLUMN_BITMASK | - OldDLFolderModelImpl.PARENTFOLDERID_COLUMN_BITMASK | - OldDLFolderModelImpl.NAME_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_BYREPID_PARENTID_NAME = new FinderPath(OldDLFolderModelImpl.ENTITY_CACHE_ENABLED, - OldDLFolderModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByByRepId_ParentId_Name", - new String[] { - Long.class.getName(), Long.class.getName(), - String.class.getName() - }); - - /** - * Returns the old d l folder where repositoryId = ? and parentFolderId = ? and name = ? or throws a {@link it.tref.liferay.portos.importazione.NoSuchOldDLFolderException} if it could not be found. - * - * @param repositoryId the repository ID - * @param parentFolderId the parent folder ID - * @param name the name - * @return the matching old d l folder - * @throws it.tref.liferay.portos.importazione.NoSuchOldDLFolderException if a matching old d l folder could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldDLFolder findByByRepId_ParentId_Name(long repositoryId, - long parentFolderId, String name) - throws NoSuchOldDLFolderException, SystemException { - OldDLFolder oldDLFolder = fetchByByRepId_ParentId_Name(repositoryId, - parentFolderId, name); - - if (oldDLFolder == null) { - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("repositoryId="); - msg.append(repositoryId); - - msg.append(", parentFolderId="); - msg.append(parentFolderId); - - msg.append(", name="); - msg.append(name); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchOldDLFolderException(msg.toString()); - } - - return oldDLFolder; - } - - /** - * Returns the old d l folder where repositoryId = ? and parentFolderId = ? and name = ? or returns null if it could not be found. Uses the finder cache. - * - * @param repositoryId the repository ID - * @param parentFolderId the parent folder ID - * @param name the name - * @return the matching old d l folder, or null if a matching old d l folder could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldDLFolder fetchByByRepId_ParentId_Name(long repositoryId, - long parentFolderId, String name) throws SystemException { - return fetchByByRepId_ParentId_Name(repositoryId, parentFolderId, name, - true); - } - - /** - * Returns the old d l folder where repositoryId = ? and parentFolderId = ? and name = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param repositoryId the repository ID - * @param parentFolderId the parent folder ID - * @param name the name - * @param retrieveFromCache whether to use the finder cache - * @return the matching old d l folder, or null if a matching old d l folder could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldDLFolder fetchByByRepId_ParentId_Name(long repositoryId, - long parentFolderId, String name, boolean retrieveFromCache) - throws SystemException { - Object[] finderArgs = new Object[] { repositoryId, parentFolderId, name }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_BYREPID_PARENTID_NAME, - finderArgs, this); - } - - if (result instanceof OldDLFolder) { - OldDLFolder oldDLFolder = (OldDLFolder)result; - - if ((repositoryId != oldDLFolder.getRepositoryId()) || - (parentFolderId != oldDLFolder.getParentFolderId()) || - !Validator.equals(name, oldDLFolder.getName())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(5); - - query.append(_SQL_SELECT_OLDDLFOLDER_WHERE); - - query.append(_FINDER_COLUMN_BYREPID_PARENTID_NAME_REPOSITORYID_2); - - query.append(_FINDER_COLUMN_BYREPID_PARENTID_NAME_PARENTFOLDERID_2); - - boolean bindName = false; - - if (name == null) { - query.append(_FINDER_COLUMN_BYREPID_PARENTID_NAME_NAME_1); - } - else if (name.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_BYREPID_PARENTID_NAME_NAME_3); - } - else { - bindName = true; - - query.append(_FINDER_COLUMN_BYREPID_PARENTID_NAME_NAME_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(repositoryId); - - qPos.add(parentFolderId); - - if (bindName) { - qPos.add(name); - } - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_BYREPID_PARENTID_NAME, - finderArgs, list); - } - else { - if ((list.size() > 1) && _log.isWarnEnabled()) { - _log.warn( - "OldDLFolderPersistenceImpl.fetchByByRepId_ParentId_Name(long, long, String, boolean) with parameters (" + - StringUtil.merge(finderArgs) + - ") yields a result set with more than 1 result. This violates the logical unique restriction. There is no order guarantee on which result is returned by this finder."); - } - - OldDLFolder oldDLFolder = list.get(0); - - result = oldDLFolder; - - cacheResult(oldDLFolder); - - if ((oldDLFolder.getRepositoryId() != repositoryId) || - (oldDLFolder.getParentFolderId() != parentFolderId) || - (oldDLFolder.getName() == null) || - !oldDLFolder.getName().equals(name)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_BYREPID_PARENTID_NAME, - finderArgs, oldDLFolder); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_BYREPID_PARENTID_NAME, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (OldDLFolder)result; - } - } - - /** - * Removes the old d l folder where repositoryId = ? and parentFolderId = ? and name = ? from the database. - * - * @param repositoryId the repository ID - * @param parentFolderId the parent folder ID - * @param name the name - * @return the old d l folder that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public OldDLFolder removeByByRepId_ParentId_Name(long repositoryId, - long parentFolderId, String name) - throws NoSuchOldDLFolderException, SystemException { - OldDLFolder oldDLFolder = findByByRepId_ParentId_Name(repositoryId, - parentFolderId, name); - - return remove(oldDLFolder); - } - - /** - * Returns the number of old d l folders where repositoryId = ? and parentFolderId = ? and name = ?. - * - * @param repositoryId the repository ID - * @param parentFolderId the parent folder ID - * @param name the name - * @return the number of matching old d l folders - * @throws SystemException if a system exception occurred - */ - @Override - public int countByByRepId_ParentId_Name(long repositoryId, - long parentFolderId, String name) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_BYREPID_PARENTID_NAME; - - Object[] finderArgs = new Object[] { repositoryId, parentFolderId, name }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_COUNT_OLDDLFOLDER_WHERE); - - query.append(_FINDER_COLUMN_BYREPID_PARENTID_NAME_REPOSITORYID_2); - - query.append(_FINDER_COLUMN_BYREPID_PARENTID_NAME_PARENTFOLDERID_2); - - boolean bindName = false; - - if (name == null) { - query.append(_FINDER_COLUMN_BYREPID_PARENTID_NAME_NAME_1); - } - else if (name.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_BYREPID_PARENTID_NAME_NAME_3); - } - else { - bindName = true; - - query.append(_FINDER_COLUMN_BYREPID_PARENTID_NAME_NAME_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(repositoryId); - - qPos.add(parentFolderId); - - if (bindName) { - qPos.add(name); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_BYREPID_PARENTID_NAME_REPOSITORYID_2 = - "oldDLFolder.repositoryId = ? AND "; - private static final String _FINDER_COLUMN_BYREPID_PARENTID_NAME_PARENTFOLDERID_2 = - "oldDLFolder.parentFolderId = ? AND "; - private static final String _FINDER_COLUMN_BYREPID_PARENTID_NAME_NAME_1 = "oldDLFolder.name IS NULL"; - private static final String _FINDER_COLUMN_BYREPID_PARENTID_NAME_NAME_2 = "oldDLFolder.name = ?"; - private static final String _FINDER_COLUMN_BYREPID_PARENTID_NAME_NAME_3 = "(oldDLFolder.name IS NULL OR oldDLFolder.name = '')"; - - public OldDLFolderPersistenceImpl() { - setModelClass(OldDLFolder.class); - } - - /** - * Caches the old d l folder in the entity cache if it is enabled. - * - * @param oldDLFolder the old d l folder - */ - @Override - public void cacheResult(OldDLFolder oldDLFolder) { - EntityCacheUtil.putResult(OldDLFolderModelImpl.ENTITY_CACHE_ENABLED, - OldDLFolderImpl.class, oldDLFolder.getPrimaryKey(), oldDLFolder); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_BYREPID_PARENTID_NAME, - new Object[] { - oldDLFolder.getRepositoryId(), oldDLFolder.getParentFolderId(), - oldDLFolder.getName() - }, oldDLFolder); - - oldDLFolder.resetOriginalValues(); - } - - /** - * Caches the old d l folders in the entity cache if it is enabled. - * - * @param oldDLFolders the old d l folders - */ - @Override - public void cacheResult(List oldDLFolders) { - for (OldDLFolder oldDLFolder : oldDLFolders) { - if (EntityCacheUtil.getResult( - OldDLFolderModelImpl.ENTITY_CACHE_ENABLED, - OldDLFolderImpl.class, oldDLFolder.getPrimaryKey()) == null) { - cacheResult(oldDLFolder); - } - else { - oldDLFolder.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all old d l folders. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(OldDLFolderImpl.class.getName()); - } - - EntityCacheUtil.clearCache(OldDLFolderImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the old d l folder. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(OldDLFolder oldDLFolder) { - EntityCacheUtil.removeResult(OldDLFolderModelImpl.ENTITY_CACHE_ENABLED, - OldDLFolderImpl.class, oldDLFolder.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(oldDLFolder); - } - - @Override - public void clearCache(List oldDLFolders) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (OldDLFolder oldDLFolder : oldDLFolders) { - EntityCacheUtil.removeResult(OldDLFolderModelImpl.ENTITY_CACHE_ENABLED, - OldDLFolderImpl.class, oldDLFolder.getPrimaryKey()); - - clearUniqueFindersCache(oldDLFolder); - } - } - - protected void cacheUniqueFindersCache(OldDLFolder oldDLFolder) { - if (oldDLFolder.isNew()) { - Object[] args = new Object[] { - oldDLFolder.getRepositoryId(), - oldDLFolder.getParentFolderId(), oldDLFolder.getName() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_BYREPID_PARENTID_NAME, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_BYREPID_PARENTID_NAME, - args, oldDLFolder); - } - else { - OldDLFolderModelImpl oldDLFolderModelImpl = (OldDLFolderModelImpl)oldDLFolder; - - if ((oldDLFolderModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_BYREPID_PARENTID_NAME.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - oldDLFolder.getRepositoryId(), - oldDLFolder.getParentFolderId(), oldDLFolder.getName() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_BYREPID_PARENTID_NAME, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_BYREPID_PARENTID_NAME, - args, oldDLFolder); - } - } - } - - protected void clearUniqueFindersCache(OldDLFolder oldDLFolder) { - OldDLFolderModelImpl oldDLFolderModelImpl = (OldDLFolderModelImpl)oldDLFolder; - - Object[] args = new Object[] { - oldDLFolder.getRepositoryId(), oldDLFolder.getParentFolderId(), - oldDLFolder.getName() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_BYREPID_PARENTID_NAME, - args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_BYREPID_PARENTID_NAME, - args); - - if ((oldDLFolderModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_BYREPID_PARENTID_NAME.getColumnBitmask()) != 0) { - args = new Object[] { - oldDLFolderModelImpl.getOriginalRepositoryId(), - oldDLFolderModelImpl.getOriginalParentFolderId(), - oldDLFolderModelImpl.getOriginalName() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_BYREPID_PARENTID_NAME, - args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_BYREPID_PARENTID_NAME, - args); - } - } - - /** - * Creates a new old d l folder with the primary key. Does not add the old d l folder to the database. - * - * @param folderId the primary key for the new old d l folder - * @return the new old d l folder - */ - @Override - public OldDLFolder create(long folderId) { - OldDLFolder oldDLFolder = new OldDLFolderImpl(); - - oldDLFolder.setNew(true); - oldDLFolder.setPrimaryKey(folderId); - - return oldDLFolder; - } - - /** - * Removes the old d l folder with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param folderId the primary key of the old d l folder - * @return the old d l folder that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchOldDLFolderException if a old d l folder with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldDLFolder remove(long folderId) - throws NoSuchOldDLFolderException, SystemException { - return remove((Serializable)folderId); - } - - /** - * Removes the old d l folder with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the old d l folder - * @return the old d l folder that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchOldDLFolderException if a old d l folder with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldDLFolder remove(Serializable primaryKey) - throws NoSuchOldDLFolderException, SystemException { - Session session = null; - - try { - session = openSession(); - - OldDLFolder oldDLFolder = (OldDLFolder)session.get(OldDLFolderImpl.class, - primaryKey); - - if (oldDLFolder == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchOldDLFolderException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(oldDLFolder); - } - catch (NoSuchOldDLFolderException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected OldDLFolder removeImpl(OldDLFolder oldDLFolder) - throws SystemException { - oldDLFolder = toUnwrappedModel(oldDLFolder); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(oldDLFolder)) { - oldDLFolder = (OldDLFolder)session.get(OldDLFolderImpl.class, - oldDLFolder.getPrimaryKeyObj()); - } - - if (oldDLFolder != null) { - session.delete(oldDLFolder); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (oldDLFolder != null) { - clearCache(oldDLFolder); - } - - return oldDLFolder; - } - - @Override - public OldDLFolder updateImpl( - it.tref.liferay.portos.importazione.model.OldDLFolder oldDLFolder) - throws SystemException { - oldDLFolder = toUnwrappedModel(oldDLFolder); - - boolean isNew = oldDLFolder.isNew(); - - Session session = null; - - try { - session = openSession(); - - if (oldDLFolder.isNew()) { - session.save(oldDLFolder); - - oldDLFolder.setNew(false); - } - else { - session.merge(oldDLFolder); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !OldDLFolderModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - EntityCacheUtil.putResult(OldDLFolderModelImpl.ENTITY_CACHE_ENABLED, - OldDLFolderImpl.class, oldDLFolder.getPrimaryKey(), oldDLFolder); - - clearUniqueFindersCache(oldDLFolder); - cacheUniqueFindersCache(oldDLFolder); - - return oldDLFolder; - } - - protected OldDLFolder toUnwrappedModel(OldDLFolder oldDLFolder) { - if (oldDLFolder instanceof OldDLFolderImpl) { - return oldDLFolder; - } - - OldDLFolderImpl oldDLFolderImpl = new OldDLFolderImpl(); - - oldDLFolderImpl.setNew(oldDLFolder.isNew()); - oldDLFolderImpl.setPrimaryKey(oldDLFolder.getPrimaryKey()); - - oldDLFolderImpl.setFolderId(oldDLFolder.getFolderId()); - oldDLFolderImpl.setGroupId(oldDLFolder.getGroupId()); - oldDLFolderImpl.setCompanyId(oldDLFolder.getCompanyId()); - oldDLFolderImpl.setUserId(oldDLFolder.getUserId()); - oldDLFolderImpl.setUserName(oldDLFolder.getUserName()); - oldDLFolderImpl.setCreateDate(oldDLFolder.getCreateDate()); - oldDLFolderImpl.setModifiedDate(oldDLFolder.getModifiedDate()); - oldDLFolderImpl.setRepositoryId(oldDLFolder.getRepositoryId()); - oldDLFolderImpl.setParentFolderId(oldDLFolder.getParentFolderId()); - oldDLFolderImpl.setName(oldDLFolder.getName()); - - return oldDLFolderImpl; - } - - /** - * Returns the old d l folder with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the old d l folder - * @return the old d l folder - * @throws it.tref.liferay.portos.importazione.NoSuchOldDLFolderException if a old d l folder with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldDLFolder findByPrimaryKey(Serializable primaryKey) - throws NoSuchOldDLFolderException, SystemException { - OldDLFolder oldDLFolder = fetchByPrimaryKey(primaryKey); - - if (oldDLFolder == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchOldDLFolderException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return oldDLFolder; - } - - /** - * Returns the old d l folder with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchOldDLFolderException} if it could not be found. - * - * @param folderId the primary key of the old d l folder - * @return the old d l folder - * @throws it.tref.liferay.portos.importazione.NoSuchOldDLFolderException if a old d l folder with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldDLFolder findByPrimaryKey(long folderId) - throws NoSuchOldDLFolderException, SystemException { - return findByPrimaryKey((Serializable)folderId); - } - - /** - * Returns the old d l folder with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the old d l folder - * @return the old d l folder, or null if a old d l folder with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldDLFolder fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - OldDLFolder oldDLFolder = (OldDLFolder)EntityCacheUtil.getResult(OldDLFolderModelImpl.ENTITY_CACHE_ENABLED, - OldDLFolderImpl.class, primaryKey); - - if (oldDLFolder == _nullOldDLFolder) { - return null; - } - - if (oldDLFolder == null) { - Session session = null; - - try { - session = openSession(); - - oldDLFolder = (OldDLFolder)session.get(OldDLFolderImpl.class, - primaryKey); - - if (oldDLFolder != null) { - cacheResult(oldDLFolder); - } - else { - EntityCacheUtil.putResult(OldDLFolderModelImpl.ENTITY_CACHE_ENABLED, - OldDLFolderImpl.class, primaryKey, _nullOldDLFolder); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(OldDLFolderModelImpl.ENTITY_CACHE_ENABLED, - OldDLFolderImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return oldDLFolder; - } - - /** - * Returns the old d l folder with the primary key or returns null if it could not be found. - * - * @param folderId the primary key of the old d l folder - * @return the old d l folder, or null if a old d l folder with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldDLFolder fetchByPrimaryKey(long folderId) - throws SystemException { - return fetchByPrimaryKey((Serializable)folderId); - } - - /** - * Returns all the old d l folders. - * - * @return the old d l folders - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the old d l folders. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFolderModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old d l folders - * @param end the upper bound of the range of old d l folders (not inclusive) - * @return the range of old d l folders - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the old d l folders. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldDLFolderModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old d l folders - * @param end the upper bound of the range of old d l folders (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of old d l folders - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_OLDDLFOLDER); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_OLDDLFOLDER; - - if (pagination) { - sql = sql.concat(OldDLFolderModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the old d l folders from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (OldDLFolder oldDLFolder : findAll()) { - remove(oldDLFolder); - } - } - - /** - * Returns the number of old d l folders. - * - * @return the number of old d l folders - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_OLDDLFOLDER); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - /** - * Initializes the old d l folder persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.importazione.model.OldDLFolder"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(OldDLFolderImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_OLDDLFOLDER = "SELECT oldDLFolder FROM OldDLFolder oldDLFolder"; - private static final String _SQL_SELECT_OLDDLFOLDER_WHERE = "SELECT oldDLFolder FROM OldDLFolder oldDLFolder WHERE "; - private static final String _SQL_COUNT_OLDDLFOLDER = "SELECT COUNT(oldDLFolder) FROM OldDLFolder oldDLFolder"; - private static final String _SQL_COUNT_OLDDLFOLDER_WHERE = "SELECT COUNT(oldDLFolder) FROM OldDLFolder oldDLFolder WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "oldDLFolder."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No OldDLFolder exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No OldDLFolder exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(OldDLFolderPersistenceImpl.class); - private static OldDLFolder _nullOldDLFolder = new OldDLFolderImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullOldDLFolderCacheModel; - } - }; - - private static CacheModel _nullOldDLFolderCacheModel = new CacheModel() { - @Override - public OldDLFolder toEntityModel() { - return _nullOldDLFolder; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/OldGroupPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/OldGroupPersistenceImpl.java deleted file mode 100644 index c376278e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/OldGroupPersistenceImpl.java +++ /dev/null @@ -1,662 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.importazione.NoSuchOldGroupException; -import it.tref.liferay.portos.importazione.model.OldGroup; -import it.tref.liferay.portos.importazione.model.impl.OldGroupImpl; -import it.tref.liferay.portos.importazione.model.impl.OldGroupModelImpl; -import it.tref.liferay.portos.importazione.service.persistence.OldGroupPersistence; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -/** - * The persistence implementation for the old group service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see OldGroupPersistence - * @see OldGroupUtil - * @generated - */ -public class OldGroupPersistenceImpl extends BasePersistenceImpl - implements OldGroupPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link OldGroupUtil} to access the old group persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = OldGroupImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(OldGroupModelImpl.ENTITY_CACHE_ENABLED, - OldGroupModelImpl.FINDER_CACHE_ENABLED, OldGroupImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(OldGroupModelImpl.ENTITY_CACHE_ENABLED, - OldGroupModelImpl.FINDER_CACHE_ENABLED, OldGroupImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(OldGroupModelImpl.ENTITY_CACHE_ENABLED, - OldGroupModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - - public OldGroupPersistenceImpl() { - setModelClass(OldGroup.class); - } - - /** - * Caches the old group in the entity cache if it is enabled. - * - * @param oldGroup the old group - */ - @Override - public void cacheResult(OldGroup oldGroup) { - EntityCacheUtil.putResult(OldGroupModelImpl.ENTITY_CACHE_ENABLED, - OldGroupImpl.class, oldGroup.getPrimaryKey(), oldGroup); - - oldGroup.resetOriginalValues(); - } - - /** - * Caches the old groups in the entity cache if it is enabled. - * - * @param oldGroups the old groups - */ - @Override - public void cacheResult(List oldGroups) { - for (OldGroup oldGroup : oldGroups) { - if (EntityCacheUtil.getResult( - OldGroupModelImpl.ENTITY_CACHE_ENABLED, - OldGroupImpl.class, oldGroup.getPrimaryKey()) == null) { - cacheResult(oldGroup); - } - else { - oldGroup.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all old groups. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(OldGroupImpl.class.getName()); - } - - EntityCacheUtil.clearCache(OldGroupImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the old group. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(OldGroup oldGroup) { - EntityCacheUtil.removeResult(OldGroupModelImpl.ENTITY_CACHE_ENABLED, - OldGroupImpl.class, oldGroup.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - @Override - public void clearCache(List oldGroups) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (OldGroup oldGroup : oldGroups) { - EntityCacheUtil.removeResult(OldGroupModelImpl.ENTITY_CACHE_ENABLED, - OldGroupImpl.class, oldGroup.getPrimaryKey()); - } - } - - /** - * Creates a new old group with the primary key. Does not add the old group to the database. - * - * @param groupId the primary key for the new old group - * @return the new old group - */ - @Override - public OldGroup create(long groupId) { - OldGroup oldGroup = new OldGroupImpl(); - - oldGroup.setNew(true); - oldGroup.setPrimaryKey(groupId); - - return oldGroup; - } - - /** - * Removes the old group with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param groupId the primary key of the old group - * @return the old group that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchOldGroupException if a old group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldGroup remove(long groupId) - throws NoSuchOldGroupException, SystemException { - return remove((Serializable)groupId); - } - - /** - * Removes the old group with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the old group - * @return the old group that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchOldGroupException if a old group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldGroup remove(Serializable primaryKey) - throws NoSuchOldGroupException, SystemException { - Session session = null; - - try { - session = openSession(); - - OldGroup oldGroup = (OldGroup)session.get(OldGroupImpl.class, - primaryKey); - - if (oldGroup == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchOldGroupException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(oldGroup); - } - catch (NoSuchOldGroupException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected OldGroup removeImpl(OldGroup oldGroup) throws SystemException { - oldGroup = toUnwrappedModel(oldGroup); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(oldGroup)) { - oldGroup = (OldGroup)session.get(OldGroupImpl.class, - oldGroup.getPrimaryKeyObj()); - } - - if (oldGroup != null) { - session.delete(oldGroup); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (oldGroup != null) { - clearCache(oldGroup); - } - - return oldGroup; - } - - @Override - public OldGroup updateImpl( - it.tref.liferay.portos.importazione.model.OldGroup oldGroup) - throws SystemException { - oldGroup = toUnwrappedModel(oldGroup); - - boolean isNew = oldGroup.isNew(); - - Session session = null; - - try { - session = openSession(); - - if (oldGroup.isNew()) { - session.save(oldGroup); - - oldGroup.setNew(false); - } - else { - session.merge(oldGroup); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - EntityCacheUtil.putResult(OldGroupModelImpl.ENTITY_CACHE_ENABLED, - OldGroupImpl.class, oldGroup.getPrimaryKey(), oldGroup); - - return oldGroup; - } - - protected OldGroup toUnwrappedModel(OldGroup oldGroup) { - if (oldGroup instanceof OldGroupImpl) { - return oldGroup; - } - - OldGroupImpl oldGroupImpl = new OldGroupImpl(); - - oldGroupImpl.setNew(oldGroup.isNew()); - oldGroupImpl.setPrimaryKey(oldGroup.getPrimaryKey()); - - oldGroupImpl.setGroupId(oldGroup.getGroupId()); - oldGroupImpl.setCompanyId(oldGroup.getCompanyId()); - oldGroupImpl.setCreatorUserId(oldGroup.getCreatorUserId()); - oldGroupImpl.setClassNameId(oldGroup.getClassNameId()); - oldGroupImpl.setClassPK(oldGroup.getClassPK()); - oldGroupImpl.setParentGroupId(oldGroup.getParentGroupId()); - oldGroupImpl.setLiveGroupId(oldGroup.getLiveGroupId()); - oldGroupImpl.setName(oldGroup.getName()); - oldGroupImpl.setDescription(oldGroup.getDescription()); - - return oldGroupImpl; - } - - /** - * Returns the old group with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the old group - * @return the old group - * @throws it.tref.liferay.portos.importazione.NoSuchOldGroupException if a old group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldGroup findByPrimaryKey(Serializable primaryKey) - throws NoSuchOldGroupException, SystemException { - OldGroup oldGroup = fetchByPrimaryKey(primaryKey); - - if (oldGroup == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchOldGroupException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return oldGroup; - } - - /** - * Returns the old group with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchOldGroupException} if it could not be found. - * - * @param groupId the primary key of the old group - * @return the old group - * @throws it.tref.liferay.portos.importazione.NoSuchOldGroupException if a old group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldGroup findByPrimaryKey(long groupId) - throws NoSuchOldGroupException, SystemException { - return findByPrimaryKey((Serializable)groupId); - } - - /** - * Returns the old group with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the old group - * @return the old group, or null if a old group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldGroup fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - OldGroup oldGroup = (OldGroup)EntityCacheUtil.getResult(OldGroupModelImpl.ENTITY_CACHE_ENABLED, - OldGroupImpl.class, primaryKey); - - if (oldGroup == _nullOldGroup) { - return null; - } - - if (oldGroup == null) { - Session session = null; - - try { - session = openSession(); - - oldGroup = (OldGroup)session.get(OldGroupImpl.class, primaryKey); - - if (oldGroup != null) { - cacheResult(oldGroup); - } - else { - EntityCacheUtil.putResult(OldGroupModelImpl.ENTITY_CACHE_ENABLED, - OldGroupImpl.class, primaryKey, _nullOldGroup); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(OldGroupModelImpl.ENTITY_CACHE_ENABLED, - OldGroupImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return oldGroup; - } - - /** - * Returns the old group with the primary key or returns null if it could not be found. - * - * @param groupId the primary key of the old group - * @return the old group, or null if a old group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldGroup fetchByPrimaryKey(long groupId) throws SystemException { - return fetchByPrimaryKey((Serializable)groupId); - } - - /** - * Returns all the old groups. - * - * @return the old groups - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the old groups. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldGroupModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old groups - * @param end the upper bound of the range of old groups (not inclusive) - * @return the range of old groups - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the old groups. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldGroupModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old groups - * @param end the upper bound of the range of old groups (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of old groups - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_OLDGROUP); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_OLDGROUP; - - if (pagination) { - sql = sql.concat(OldGroupModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the old groups from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (OldGroup oldGroup : findAll()) { - remove(oldGroup); - } - } - - /** - * Returns the number of old groups. - * - * @return the number of old groups - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_OLDGROUP); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - /** - * Initializes the old group persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.importazione.model.OldGroup"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(OldGroupImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_OLDGROUP = "SELECT oldGroup FROM OldGroup oldGroup"; - private static final String _SQL_COUNT_OLDGROUP = "SELECT COUNT(oldGroup) FROM OldGroup oldGroup"; - private static final String _ORDER_BY_ENTITY_ALIAS = "oldGroup."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No OldGroup exists with the primary key "; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(OldGroupPersistenceImpl.class); - private static OldGroup _nullOldGroup = new OldGroupImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullOldGroupCacheModel; - } - }; - - private static CacheModel _nullOldGroupCacheModel = new CacheModel() { - @Override - public OldGroup toEntityModel() { - return _nullOldGroup; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/OldOrganizationPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/OldOrganizationPersistenceImpl.java deleted file mode 100644 index d165e5d2..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/OldOrganizationPersistenceImpl.java +++ /dev/null @@ -1,688 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.SetUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.importazione.NoSuchOldOrganizationException; -import it.tref.liferay.portos.importazione.model.OldOrganization; -import it.tref.liferay.portos.importazione.model.impl.OldOrganizationImpl; -import it.tref.liferay.portos.importazione.model.impl.OldOrganizationModelImpl; -import it.tref.liferay.portos.importazione.service.persistence.OldOrganizationPersistence; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Set; - -/** - * The persistence implementation for the old organization service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see OldOrganizationPersistence - * @see OldOrganizationUtil - * @generated - */ -public class OldOrganizationPersistenceImpl extends BasePersistenceImpl - implements OldOrganizationPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link OldOrganizationUtil} to access the old organization persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = OldOrganizationImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(OldOrganizationModelImpl.ENTITY_CACHE_ENABLED, - OldOrganizationModelImpl.FINDER_CACHE_ENABLED, - OldOrganizationImpl.class, FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(OldOrganizationModelImpl.ENTITY_CACHE_ENABLED, - OldOrganizationModelImpl.FINDER_CACHE_ENABLED, - OldOrganizationImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(OldOrganizationModelImpl.ENTITY_CACHE_ENABLED, - OldOrganizationModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - - public OldOrganizationPersistenceImpl() { - setModelClass(OldOrganization.class); - } - - /** - * Caches the old organization in the entity cache if it is enabled. - * - * @param oldOrganization the old organization - */ - @Override - public void cacheResult(OldOrganization oldOrganization) { - EntityCacheUtil.putResult(OldOrganizationModelImpl.ENTITY_CACHE_ENABLED, - OldOrganizationImpl.class, oldOrganization.getPrimaryKey(), - oldOrganization); - - oldOrganization.resetOriginalValues(); - } - - /** - * Caches the old organizations in the entity cache if it is enabled. - * - * @param oldOrganizations the old organizations - */ - @Override - public void cacheResult(List oldOrganizations) { - for (OldOrganization oldOrganization : oldOrganizations) { - if (EntityCacheUtil.getResult( - OldOrganizationModelImpl.ENTITY_CACHE_ENABLED, - OldOrganizationImpl.class, - oldOrganization.getPrimaryKey()) == null) { - cacheResult(oldOrganization); - } - else { - oldOrganization.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all old organizations. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(OldOrganizationImpl.class.getName()); - } - - EntityCacheUtil.clearCache(OldOrganizationImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the old organization. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(OldOrganization oldOrganization) { - EntityCacheUtil.removeResult(OldOrganizationModelImpl.ENTITY_CACHE_ENABLED, - OldOrganizationImpl.class, oldOrganization.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - @Override - public void clearCache(List oldOrganizations) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (OldOrganization oldOrganization : oldOrganizations) { - EntityCacheUtil.removeResult(OldOrganizationModelImpl.ENTITY_CACHE_ENABLED, - OldOrganizationImpl.class, oldOrganization.getPrimaryKey()); - } - } - - /** - * Creates a new old organization with the primary key. Does not add the old organization to the database. - * - * @param organizationId the primary key for the new old organization - * @return the new old organization - */ - @Override - public OldOrganization create(long organizationId) { - OldOrganization oldOrganization = new OldOrganizationImpl(); - - oldOrganization.setNew(true); - oldOrganization.setPrimaryKey(organizationId); - - return oldOrganization; - } - - /** - * Removes the old organization with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param organizationId the primary key of the old organization - * @return the old organization that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchOldOrganizationException if a old organization with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldOrganization remove(long organizationId) - throws NoSuchOldOrganizationException, SystemException { - return remove((Serializable)organizationId); - } - - /** - * Removes the old organization with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the old organization - * @return the old organization that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchOldOrganizationException if a old organization with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldOrganization remove(Serializable primaryKey) - throws NoSuchOldOrganizationException, SystemException { - Session session = null; - - try { - session = openSession(); - - OldOrganization oldOrganization = (OldOrganization)session.get(OldOrganizationImpl.class, - primaryKey); - - if (oldOrganization == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchOldOrganizationException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(oldOrganization); - } - catch (NoSuchOldOrganizationException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected OldOrganization removeImpl(OldOrganization oldOrganization) - throws SystemException { - oldOrganization = toUnwrappedModel(oldOrganization); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(oldOrganization)) { - oldOrganization = (OldOrganization)session.get(OldOrganizationImpl.class, - oldOrganization.getPrimaryKeyObj()); - } - - if (oldOrganization != null) { - session.delete(oldOrganization); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (oldOrganization != null) { - clearCache(oldOrganization); - } - - return oldOrganization; - } - - @Override - public OldOrganization updateImpl( - it.tref.liferay.portos.importazione.model.OldOrganization oldOrganization) - throws SystemException { - oldOrganization = toUnwrappedModel(oldOrganization); - - boolean isNew = oldOrganization.isNew(); - - Session session = null; - - try { - session = openSession(); - - if (oldOrganization.isNew()) { - session.save(oldOrganization); - - oldOrganization.setNew(false); - } - else { - session.merge(oldOrganization); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - EntityCacheUtil.putResult(OldOrganizationModelImpl.ENTITY_CACHE_ENABLED, - OldOrganizationImpl.class, oldOrganization.getPrimaryKey(), - oldOrganization); - - return oldOrganization; - } - - protected OldOrganization toUnwrappedModel(OldOrganization oldOrganization) { - if (oldOrganization instanceof OldOrganizationImpl) { - return oldOrganization; - } - - OldOrganizationImpl oldOrganizationImpl = new OldOrganizationImpl(); - - oldOrganizationImpl.setNew(oldOrganization.isNew()); - oldOrganizationImpl.setPrimaryKey(oldOrganization.getPrimaryKey()); - - oldOrganizationImpl.setOrganizationId(oldOrganization.getOrganizationId()); - oldOrganizationImpl.setCompanyId(oldOrganization.getCompanyId()); - oldOrganizationImpl.setUserId(oldOrganization.getUserId()); - oldOrganizationImpl.setUserName(oldOrganization.getUserName()); - oldOrganizationImpl.setCreateDate(oldOrganization.getCreateDate()); - oldOrganizationImpl.setModifiedDate(oldOrganization.getModifiedDate()); - oldOrganizationImpl.setParentOrganizationId(oldOrganization.getParentOrganizationId()); - oldOrganizationImpl.setTreePath(oldOrganization.getTreePath()); - oldOrganizationImpl.setName(oldOrganization.getName()); - oldOrganizationImpl.setType(oldOrganization.getType()); - oldOrganizationImpl.setRecursable(oldOrganization.isRecursable()); - oldOrganizationImpl.setRegionId(oldOrganization.getRegionId()); - oldOrganizationImpl.setCountryId(oldOrganization.getCountryId()); - oldOrganizationImpl.setStatusId(oldOrganization.getStatusId()); - oldOrganizationImpl.setComments(oldOrganization.getComments()); - - return oldOrganizationImpl; - } - - /** - * Returns the old organization with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the old organization - * @return the old organization - * @throws it.tref.liferay.portos.importazione.NoSuchOldOrganizationException if a old organization with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldOrganization findByPrimaryKey(Serializable primaryKey) - throws NoSuchOldOrganizationException, SystemException { - OldOrganization oldOrganization = fetchByPrimaryKey(primaryKey); - - if (oldOrganization == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchOldOrganizationException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return oldOrganization; - } - - /** - * Returns the old organization with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchOldOrganizationException} if it could not be found. - * - * @param organizationId the primary key of the old organization - * @return the old organization - * @throws it.tref.liferay.portos.importazione.NoSuchOldOrganizationException if a old organization with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldOrganization findByPrimaryKey(long organizationId) - throws NoSuchOldOrganizationException, SystemException { - return findByPrimaryKey((Serializable)organizationId); - } - - /** - * Returns the old organization with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the old organization - * @return the old organization, or null if a old organization with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldOrganization fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - OldOrganization oldOrganization = (OldOrganization)EntityCacheUtil.getResult(OldOrganizationModelImpl.ENTITY_CACHE_ENABLED, - OldOrganizationImpl.class, primaryKey); - - if (oldOrganization == _nullOldOrganization) { - return null; - } - - if (oldOrganization == null) { - Session session = null; - - try { - session = openSession(); - - oldOrganization = (OldOrganization)session.get(OldOrganizationImpl.class, - primaryKey); - - if (oldOrganization != null) { - cacheResult(oldOrganization); - } - else { - EntityCacheUtil.putResult(OldOrganizationModelImpl.ENTITY_CACHE_ENABLED, - OldOrganizationImpl.class, primaryKey, - _nullOldOrganization); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(OldOrganizationModelImpl.ENTITY_CACHE_ENABLED, - OldOrganizationImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return oldOrganization; - } - - /** - * Returns the old organization with the primary key or returns null if it could not be found. - * - * @param organizationId the primary key of the old organization - * @return the old organization, or null if a old organization with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldOrganization fetchByPrimaryKey(long organizationId) - throws SystemException { - return fetchByPrimaryKey((Serializable)organizationId); - } - - /** - * Returns all the old organizations. - * - * @return the old organizations - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the old organizations. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldOrganizationModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old organizations - * @param end the upper bound of the range of old organizations (not inclusive) - * @return the range of old organizations - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the old organizations. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldOrganizationModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old organizations - * @param end the upper bound of the range of old organizations (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of old organizations - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_OLDORGANIZATION); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_OLDORGANIZATION; - - if (pagination) { - sql = sql.concat(OldOrganizationModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the old organizations from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (OldOrganization oldOrganization : findAll()) { - remove(oldOrganization); - } - } - - /** - * Returns the number of old organizations. - * - * @return the number of old organizations - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_OLDORGANIZATION); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - @Override - protected Set getBadColumnNames() { - return _badColumnNames; - } - - /** - * Initializes the old organization persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.importazione.model.OldOrganization"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(OldOrganizationImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_OLDORGANIZATION = "SELECT oldOrganization FROM OldOrganization oldOrganization"; - private static final String _SQL_COUNT_OLDORGANIZATION = "SELECT COUNT(oldOrganization) FROM OldOrganization oldOrganization"; - private static final String _ORDER_BY_ENTITY_ALIAS = "oldOrganization."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No OldOrganization exists with the primary key "; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(OldOrganizationPersistenceImpl.class); - private static Set _badColumnNames = SetUtil.fromArray(new String[] { - "type" - }); - private static OldOrganization _nullOldOrganization = new OldOrganizationImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullOldOrganizationCacheModel; - } - }; - - private static CacheModel _nullOldOrganizationCacheModel = new CacheModel() { - @Override - public OldOrganization toEntityModel() { - return _nullOldOrganization; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/OldRolePersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/OldRolePersistenceImpl.java deleted file mode 100644 index d87d07ac..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/OldRolePersistenceImpl.java +++ /dev/null @@ -1,675 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.SetUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.importazione.NoSuchOldRoleException; -import it.tref.liferay.portos.importazione.model.OldRole; -import it.tref.liferay.portos.importazione.model.impl.OldRoleImpl; -import it.tref.liferay.portos.importazione.model.impl.OldRoleModelImpl; -import it.tref.liferay.portos.importazione.service.persistence.OldRolePersistence; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Set; - -/** - * The persistence implementation for the old role service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see OldRolePersistence - * @see OldRoleUtil - * @generated - */ -public class OldRolePersistenceImpl extends BasePersistenceImpl - implements OldRolePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link OldRoleUtil} to access the old role persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = OldRoleImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(OldRoleModelImpl.ENTITY_CACHE_ENABLED, - OldRoleModelImpl.FINDER_CACHE_ENABLED, OldRoleImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(OldRoleModelImpl.ENTITY_CACHE_ENABLED, - OldRoleModelImpl.FINDER_CACHE_ENABLED, OldRoleImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(OldRoleModelImpl.ENTITY_CACHE_ENABLED, - OldRoleModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - - public OldRolePersistenceImpl() { - setModelClass(OldRole.class); - } - - /** - * Caches the old role in the entity cache if it is enabled. - * - * @param oldRole the old role - */ - @Override - public void cacheResult(OldRole oldRole) { - EntityCacheUtil.putResult(OldRoleModelImpl.ENTITY_CACHE_ENABLED, - OldRoleImpl.class, oldRole.getPrimaryKey(), oldRole); - - oldRole.resetOriginalValues(); - } - - /** - * Caches the old roles in the entity cache if it is enabled. - * - * @param oldRoles the old roles - */ - @Override - public void cacheResult(List oldRoles) { - for (OldRole oldRole : oldRoles) { - if (EntityCacheUtil.getResult( - OldRoleModelImpl.ENTITY_CACHE_ENABLED, - OldRoleImpl.class, oldRole.getPrimaryKey()) == null) { - cacheResult(oldRole); - } - else { - oldRole.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all old roles. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(OldRoleImpl.class.getName()); - } - - EntityCacheUtil.clearCache(OldRoleImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the old role. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(OldRole oldRole) { - EntityCacheUtil.removeResult(OldRoleModelImpl.ENTITY_CACHE_ENABLED, - OldRoleImpl.class, oldRole.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - @Override - public void clearCache(List oldRoles) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (OldRole oldRole : oldRoles) { - EntityCacheUtil.removeResult(OldRoleModelImpl.ENTITY_CACHE_ENABLED, - OldRoleImpl.class, oldRole.getPrimaryKey()); - } - } - - /** - * Creates a new old role with the primary key. Does not add the old role to the database. - * - * @param roleId the primary key for the new old role - * @return the new old role - */ - @Override - public OldRole create(long roleId) { - OldRole oldRole = new OldRoleImpl(); - - oldRole.setNew(true); - oldRole.setPrimaryKey(roleId); - - return oldRole; - } - - /** - * Removes the old role with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param roleId the primary key of the old role - * @return the old role that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchOldRoleException if a old role with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldRole remove(long roleId) - throws NoSuchOldRoleException, SystemException { - return remove((Serializable)roleId); - } - - /** - * Removes the old role with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the old role - * @return the old role that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchOldRoleException if a old role with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldRole remove(Serializable primaryKey) - throws NoSuchOldRoleException, SystemException { - Session session = null; - - try { - session = openSession(); - - OldRole oldRole = (OldRole)session.get(OldRoleImpl.class, primaryKey); - - if (oldRole == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchOldRoleException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(oldRole); - } - catch (NoSuchOldRoleException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected OldRole removeImpl(OldRole oldRole) throws SystemException { - oldRole = toUnwrappedModel(oldRole); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(oldRole)) { - oldRole = (OldRole)session.get(OldRoleImpl.class, - oldRole.getPrimaryKeyObj()); - } - - if (oldRole != null) { - session.delete(oldRole); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (oldRole != null) { - clearCache(oldRole); - } - - return oldRole; - } - - @Override - public OldRole updateImpl( - it.tref.liferay.portos.importazione.model.OldRole oldRole) - throws SystemException { - oldRole = toUnwrappedModel(oldRole); - - boolean isNew = oldRole.isNew(); - - Session session = null; - - try { - session = openSession(); - - if (oldRole.isNew()) { - session.save(oldRole); - - oldRole.setNew(false); - } - else { - session.merge(oldRole); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - EntityCacheUtil.putResult(OldRoleModelImpl.ENTITY_CACHE_ENABLED, - OldRoleImpl.class, oldRole.getPrimaryKey(), oldRole); - - return oldRole; - } - - protected OldRole toUnwrappedModel(OldRole oldRole) { - if (oldRole instanceof OldRoleImpl) { - return oldRole; - } - - OldRoleImpl oldRoleImpl = new OldRoleImpl(); - - oldRoleImpl.setNew(oldRole.isNew()); - oldRoleImpl.setPrimaryKey(oldRole.getPrimaryKey()); - - oldRoleImpl.setRoleId(oldRole.getRoleId()); - oldRoleImpl.setCompanyId(oldRole.getCompanyId()); - oldRoleImpl.setUserId(oldRole.getUserId()); - oldRoleImpl.setUserName(oldRole.getUserName()); - oldRoleImpl.setCreateDate(oldRole.getCreateDate()); - oldRoleImpl.setModifiedDate(oldRole.getModifiedDate()); - oldRoleImpl.setClassNameId(oldRole.getClassNameId()); - oldRoleImpl.setClassPK(oldRole.getClassPK()); - oldRoleImpl.setName(oldRole.getName()); - oldRoleImpl.setTitle(oldRole.getTitle()); - oldRoleImpl.setDescription(oldRole.getDescription()); - oldRoleImpl.setType(oldRole.getType()); - oldRoleImpl.setSubtype(oldRole.getSubtype()); - - return oldRoleImpl; - } - - /** - * Returns the old role with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the old role - * @return the old role - * @throws it.tref.liferay.portos.importazione.NoSuchOldRoleException if a old role with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldRole findByPrimaryKey(Serializable primaryKey) - throws NoSuchOldRoleException, SystemException { - OldRole oldRole = fetchByPrimaryKey(primaryKey); - - if (oldRole == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchOldRoleException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return oldRole; - } - - /** - * Returns the old role with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchOldRoleException} if it could not be found. - * - * @param roleId the primary key of the old role - * @return the old role - * @throws it.tref.liferay.portos.importazione.NoSuchOldRoleException if a old role with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldRole findByPrimaryKey(long roleId) - throws NoSuchOldRoleException, SystemException { - return findByPrimaryKey((Serializable)roleId); - } - - /** - * Returns the old role with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the old role - * @return the old role, or null if a old role with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldRole fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - OldRole oldRole = (OldRole)EntityCacheUtil.getResult(OldRoleModelImpl.ENTITY_CACHE_ENABLED, - OldRoleImpl.class, primaryKey); - - if (oldRole == _nullOldRole) { - return null; - } - - if (oldRole == null) { - Session session = null; - - try { - session = openSession(); - - oldRole = (OldRole)session.get(OldRoleImpl.class, primaryKey); - - if (oldRole != null) { - cacheResult(oldRole); - } - else { - EntityCacheUtil.putResult(OldRoleModelImpl.ENTITY_CACHE_ENABLED, - OldRoleImpl.class, primaryKey, _nullOldRole); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(OldRoleModelImpl.ENTITY_CACHE_ENABLED, - OldRoleImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return oldRole; - } - - /** - * Returns the old role with the primary key or returns null if it could not be found. - * - * @param roleId the primary key of the old role - * @return the old role, or null if a old role with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldRole fetchByPrimaryKey(long roleId) throws SystemException { - return fetchByPrimaryKey((Serializable)roleId); - } - - /** - * Returns all the old roles. - * - * @return the old roles - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the old roles. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldRoleModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old roles - * @param end the upper bound of the range of old roles (not inclusive) - * @return the range of old roles - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the old roles. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldRoleModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old roles - * @param end the upper bound of the range of old roles (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of old roles - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_OLDROLE); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_OLDROLE; - - if (pagination) { - sql = sql.concat(OldRoleModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the old roles from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (OldRole oldRole : findAll()) { - remove(oldRole); - } - } - - /** - * Returns the number of old roles. - * - * @return the number of old roles - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_OLDROLE); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - @Override - protected Set getBadColumnNames() { - return _badColumnNames; - } - - /** - * Initializes the old role persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.importazione.model.OldRole"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(OldRoleImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_OLDROLE = "SELECT oldRole FROM OldRole oldRole"; - private static final String _SQL_COUNT_OLDROLE = "SELECT COUNT(oldRole) FROM OldRole oldRole"; - private static final String _ORDER_BY_ENTITY_ALIAS = "oldRole."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No OldRole exists with the primary key "; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(OldRolePersistenceImpl.class); - private static Set _badColumnNames = SetUtil.fromArray(new String[] { - "type" - }); - private static OldRole _nullOldRole = new OldRoleImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullOldRoleCacheModel; - } - }; - - private static CacheModel _nullOldRoleCacheModel = new CacheModel() { - @Override - public OldRole toEntityModel() { - return _nullOldRole; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/OldUserGroupFinderImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/OldUserGroupFinderImpl.java deleted file mode 100644 index c8fd3452..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/OldUserGroupFinderImpl.java +++ /dev/null @@ -1,54 +0,0 @@ -package it.tref.liferay.portos.importazione.service.persistence; - -import it.tref.liferay.portos.importazione.model.OldUserGroup; -import it.tref.liferay.portos.importazione.service.OldUserGroupLocalServiceUtil; - -import java.math.BigInteger; -import java.util.ArrayList; -import java.util.List; - -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.SQLQuery; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; -import com.liferay.util.dao.orm.CustomSQLUtil; - -public class OldUserGroupFinderImpl extends BasePersistenceImpl implements OldUserGroupFinder { - - public List getOldUserGroupByUserId(long userId) { - - List lista = new ArrayList(); - - - Session session = null; - - try { - - session = openSession(); - - String sql = CustomSQLUtil.get("oldUserGroupSql"); - SQLQuery queryObject = session.createSQLQuery(sql); - - queryObject.setCacheable(false); - // queryObject.addEntity("Long", Long.class); - // queryObject.addEntity("Student", StudentImpl.class); - - QueryPos qPos = QueryPos.getInstance(queryObject); - qPos.add(userId); - - List aaa = (List) queryObject.list(); - for (BigInteger b : aaa) { - Long userGroupId = b.longValue(); - OldUserGroup oldUserGroup = OldUserGroupLocalServiceUtil.getOldUserGroup(userGroupId); - lista.add(oldUserGroup); - } - - } catch (Exception e) { - e.printStackTrace(); - } finally { - closeSession(session); - } - - return lista; - } -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/OldUserGroupPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/OldUserGroupPersistenceImpl.java deleted file mode 100644 index f459228f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/OldUserGroupPersistenceImpl.java +++ /dev/null @@ -1,662 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.importazione.NoSuchOldUserGroupException; -import it.tref.liferay.portos.importazione.model.OldUserGroup; -import it.tref.liferay.portos.importazione.model.impl.OldUserGroupImpl; -import it.tref.liferay.portos.importazione.model.impl.OldUserGroupModelImpl; -import it.tref.liferay.portos.importazione.service.persistence.OldUserGroupPersistence; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -/** - * The persistence implementation for the old user group service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see OldUserGroupPersistence - * @see OldUserGroupUtil - * @generated - */ -public class OldUserGroupPersistenceImpl extends BasePersistenceImpl - implements OldUserGroupPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link OldUserGroupUtil} to access the old user group persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = OldUserGroupImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(OldUserGroupModelImpl.ENTITY_CACHE_ENABLED, - OldUserGroupModelImpl.FINDER_CACHE_ENABLED, OldUserGroupImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(OldUserGroupModelImpl.ENTITY_CACHE_ENABLED, - OldUserGroupModelImpl.FINDER_CACHE_ENABLED, OldUserGroupImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(OldUserGroupModelImpl.ENTITY_CACHE_ENABLED, - OldUserGroupModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - - public OldUserGroupPersistenceImpl() { - setModelClass(OldUserGroup.class); - } - - /** - * Caches the old user group in the entity cache if it is enabled. - * - * @param oldUserGroup the old user group - */ - @Override - public void cacheResult(OldUserGroup oldUserGroup) { - EntityCacheUtil.putResult(OldUserGroupModelImpl.ENTITY_CACHE_ENABLED, - OldUserGroupImpl.class, oldUserGroup.getPrimaryKey(), oldUserGroup); - - oldUserGroup.resetOriginalValues(); - } - - /** - * Caches the old user groups in the entity cache if it is enabled. - * - * @param oldUserGroups the old user groups - */ - @Override - public void cacheResult(List oldUserGroups) { - for (OldUserGroup oldUserGroup : oldUserGroups) { - if (EntityCacheUtil.getResult( - OldUserGroupModelImpl.ENTITY_CACHE_ENABLED, - OldUserGroupImpl.class, oldUserGroup.getPrimaryKey()) == null) { - cacheResult(oldUserGroup); - } - else { - oldUserGroup.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all old user groups. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(OldUserGroupImpl.class.getName()); - } - - EntityCacheUtil.clearCache(OldUserGroupImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the old user group. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(OldUserGroup oldUserGroup) { - EntityCacheUtil.removeResult(OldUserGroupModelImpl.ENTITY_CACHE_ENABLED, - OldUserGroupImpl.class, oldUserGroup.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - @Override - public void clearCache(List oldUserGroups) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (OldUserGroup oldUserGroup : oldUserGroups) { - EntityCacheUtil.removeResult(OldUserGroupModelImpl.ENTITY_CACHE_ENABLED, - OldUserGroupImpl.class, oldUserGroup.getPrimaryKey()); - } - } - - /** - * Creates a new old user group with the primary key. Does not add the old user group to the database. - * - * @param userGroupId the primary key for the new old user group - * @return the new old user group - */ - @Override - public OldUserGroup create(long userGroupId) { - OldUserGroup oldUserGroup = new OldUserGroupImpl(); - - oldUserGroup.setNew(true); - oldUserGroup.setPrimaryKey(userGroupId); - - return oldUserGroup; - } - - /** - * Removes the old user group with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param userGroupId the primary key of the old user group - * @return the old user group that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchOldUserGroupException if a old user group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldUserGroup remove(long userGroupId) - throws NoSuchOldUserGroupException, SystemException { - return remove((Serializable)userGroupId); - } - - /** - * Removes the old user group with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the old user group - * @return the old user group that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchOldUserGroupException if a old user group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldUserGroup remove(Serializable primaryKey) - throws NoSuchOldUserGroupException, SystemException { - Session session = null; - - try { - session = openSession(); - - OldUserGroup oldUserGroup = (OldUserGroup)session.get(OldUserGroupImpl.class, - primaryKey); - - if (oldUserGroup == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchOldUserGroupException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(oldUserGroup); - } - catch (NoSuchOldUserGroupException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected OldUserGroup removeImpl(OldUserGroup oldUserGroup) - throws SystemException { - oldUserGroup = toUnwrappedModel(oldUserGroup); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(oldUserGroup)) { - oldUserGroup = (OldUserGroup)session.get(OldUserGroupImpl.class, - oldUserGroup.getPrimaryKeyObj()); - } - - if (oldUserGroup != null) { - session.delete(oldUserGroup); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (oldUserGroup != null) { - clearCache(oldUserGroup); - } - - return oldUserGroup; - } - - @Override - public OldUserGroup updateImpl( - it.tref.liferay.portos.importazione.model.OldUserGroup oldUserGroup) - throws SystemException { - oldUserGroup = toUnwrappedModel(oldUserGroup); - - boolean isNew = oldUserGroup.isNew(); - - Session session = null; - - try { - session = openSession(); - - if (oldUserGroup.isNew()) { - session.save(oldUserGroup); - - oldUserGroup.setNew(false); - } - else { - session.merge(oldUserGroup); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - EntityCacheUtil.putResult(OldUserGroupModelImpl.ENTITY_CACHE_ENABLED, - OldUserGroupImpl.class, oldUserGroup.getPrimaryKey(), oldUserGroup); - - return oldUserGroup; - } - - protected OldUserGroup toUnwrappedModel(OldUserGroup oldUserGroup) { - if (oldUserGroup instanceof OldUserGroupImpl) { - return oldUserGroup; - } - - OldUserGroupImpl oldUserGroupImpl = new OldUserGroupImpl(); - - oldUserGroupImpl.setNew(oldUserGroup.isNew()); - oldUserGroupImpl.setPrimaryKey(oldUserGroup.getPrimaryKey()); - - oldUserGroupImpl.setUserGroupId(oldUserGroup.getUserGroupId()); - oldUserGroupImpl.setCompanyId(oldUserGroup.getCompanyId()); - oldUserGroupImpl.setParentUserGroupId(oldUserGroup.getParentUserGroupId()); - oldUserGroupImpl.setName(oldUserGroup.getName()); - oldUserGroupImpl.setDescription(oldUserGroup.getDescription()); - - return oldUserGroupImpl; - } - - /** - * Returns the old user group with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the old user group - * @return the old user group - * @throws it.tref.liferay.portos.importazione.NoSuchOldUserGroupException if a old user group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldUserGroup findByPrimaryKey(Serializable primaryKey) - throws NoSuchOldUserGroupException, SystemException { - OldUserGroup oldUserGroup = fetchByPrimaryKey(primaryKey); - - if (oldUserGroup == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchOldUserGroupException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return oldUserGroup; - } - - /** - * Returns the old user group with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchOldUserGroupException} if it could not be found. - * - * @param userGroupId the primary key of the old user group - * @return the old user group - * @throws it.tref.liferay.portos.importazione.NoSuchOldUserGroupException if a old user group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldUserGroup findByPrimaryKey(long userGroupId) - throws NoSuchOldUserGroupException, SystemException { - return findByPrimaryKey((Serializable)userGroupId); - } - - /** - * Returns the old user group with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the old user group - * @return the old user group, or null if a old user group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldUserGroup fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - OldUserGroup oldUserGroup = (OldUserGroup)EntityCacheUtil.getResult(OldUserGroupModelImpl.ENTITY_CACHE_ENABLED, - OldUserGroupImpl.class, primaryKey); - - if (oldUserGroup == _nullOldUserGroup) { - return null; - } - - if (oldUserGroup == null) { - Session session = null; - - try { - session = openSession(); - - oldUserGroup = (OldUserGroup)session.get(OldUserGroupImpl.class, - primaryKey); - - if (oldUserGroup != null) { - cacheResult(oldUserGroup); - } - else { - EntityCacheUtil.putResult(OldUserGroupModelImpl.ENTITY_CACHE_ENABLED, - OldUserGroupImpl.class, primaryKey, _nullOldUserGroup); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(OldUserGroupModelImpl.ENTITY_CACHE_ENABLED, - OldUserGroupImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return oldUserGroup; - } - - /** - * Returns the old user group with the primary key or returns null if it could not be found. - * - * @param userGroupId the primary key of the old user group - * @return the old user group, or null if a old user group with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldUserGroup fetchByPrimaryKey(long userGroupId) - throws SystemException { - return fetchByPrimaryKey((Serializable)userGroupId); - } - - /** - * Returns all the old user groups. - * - * @return the old user groups - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the old user groups. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldUserGroupModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old user groups - * @param end the upper bound of the range of old user groups (not inclusive) - * @return the range of old user groups - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the old user groups. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldUserGroupModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old user groups - * @param end the upper bound of the range of old user groups (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of old user groups - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_OLDUSERGROUP); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_OLDUSERGROUP; - - if (pagination) { - sql = sql.concat(OldUserGroupModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the old user groups from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (OldUserGroup oldUserGroup : findAll()) { - remove(oldUserGroup); - } - } - - /** - * Returns the number of old user groups. - * - * @return the number of old user groups - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_OLDUSERGROUP); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - /** - * Initializes the old user group persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.importazione.model.OldUserGroup"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(OldUserGroupImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_OLDUSERGROUP = "SELECT oldUserGroup FROM OldUserGroup oldUserGroup"; - private static final String _SQL_COUNT_OLDUSERGROUP = "SELECT COUNT(oldUserGroup) FROM OldUserGroup oldUserGroup"; - private static final String _ORDER_BY_ENTITY_ALIAS = "oldUserGroup."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No OldUserGroup exists with the primary key "; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(OldUserGroupPersistenceImpl.class); - private static OldUserGroup _nullOldUserGroup = new OldUserGroupImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullOldUserGroupCacheModel; - } - }; - - private static CacheModel _nullOldUserGroupCacheModel = new CacheModel() { - @Override - public OldUserGroup toEntityModel() { - return _nullOldUserGroup; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/OldUserPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/OldUserPersistenceImpl.java deleted file mode 100644 index 9a1a0536..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/OldUserPersistenceImpl.java +++ /dev/null @@ -1,700 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.SetUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.importazione.NoSuchOldUserException; -import it.tref.liferay.portos.importazione.model.OldUser; -import it.tref.liferay.portos.importazione.model.impl.OldUserImpl; -import it.tref.liferay.portos.importazione.model.impl.OldUserModelImpl; -import it.tref.liferay.portos.importazione.service.persistence.OldUserPersistence; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Set; - -/** - * The persistence implementation for the old user service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see OldUserPersistence - * @see OldUserUtil - * @generated - */ -public class OldUserPersistenceImpl extends BasePersistenceImpl - implements OldUserPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link OldUserUtil} to access the old user persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = OldUserImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(OldUserModelImpl.ENTITY_CACHE_ENABLED, - OldUserModelImpl.FINDER_CACHE_ENABLED, OldUserImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(OldUserModelImpl.ENTITY_CACHE_ENABLED, - OldUserModelImpl.FINDER_CACHE_ENABLED, OldUserImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(OldUserModelImpl.ENTITY_CACHE_ENABLED, - OldUserModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - - public OldUserPersistenceImpl() { - setModelClass(OldUser.class); - } - - /** - * Caches the old user in the entity cache if it is enabled. - * - * @param oldUser the old user - */ - @Override - public void cacheResult(OldUser oldUser) { - EntityCacheUtil.putResult(OldUserModelImpl.ENTITY_CACHE_ENABLED, - OldUserImpl.class, oldUser.getPrimaryKey(), oldUser); - - oldUser.resetOriginalValues(); - } - - /** - * Caches the old users in the entity cache if it is enabled. - * - * @param oldUsers the old users - */ - @Override - public void cacheResult(List oldUsers) { - for (OldUser oldUser : oldUsers) { - if (EntityCacheUtil.getResult( - OldUserModelImpl.ENTITY_CACHE_ENABLED, - OldUserImpl.class, oldUser.getPrimaryKey()) == null) { - cacheResult(oldUser); - } - else { - oldUser.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all old users. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(OldUserImpl.class.getName()); - } - - EntityCacheUtil.clearCache(OldUserImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the old user. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(OldUser oldUser) { - EntityCacheUtil.removeResult(OldUserModelImpl.ENTITY_CACHE_ENABLED, - OldUserImpl.class, oldUser.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - @Override - public void clearCache(List oldUsers) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (OldUser oldUser : oldUsers) { - EntityCacheUtil.removeResult(OldUserModelImpl.ENTITY_CACHE_ENABLED, - OldUserImpl.class, oldUser.getPrimaryKey()); - } - } - - /** - * Creates a new old user with the primary key. Does not add the old user to the database. - * - * @param userId the primary key for the new old user - * @return the new old user - */ - @Override - public OldUser create(long userId) { - OldUser oldUser = new OldUserImpl(); - - oldUser.setNew(true); - oldUser.setPrimaryKey(userId); - - return oldUser; - } - - /** - * Removes the old user with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param userId the primary key of the old user - * @return the old user that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchOldUserException if a old user with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldUser remove(long userId) - throws NoSuchOldUserException, SystemException { - return remove((Serializable)userId); - } - - /** - * Removes the old user with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the old user - * @return the old user that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchOldUserException if a old user with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldUser remove(Serializable primaryKey) - throws NoSuchOldUserException, SystemException { - Session session = null; - - try { - session = openSession(); - - OldUser oldUser = (OldUser)session.get(OldUserImpl.class, primaryKey); - - if (oldUser == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchOldUserException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(oldUser); - } - catch (NoSuchOldUserException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected OldUser removeImpl(OldUser oldUser) throws SystemException { - oldUser = toUnwrappedModel(oldUser); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(oldUser)) { - oldUser = (OldUser)session.get(OldUserImpl.class, - oldUser.getPrimaryKeyObj()); - } - - if (oldUser != null) { - session.delete(oldUser); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (oldUser != null) { - clearCache(oldUser); - } - - return oldUser; - } - - @Override - public OldUser updateImpl( - it.tref.liferay.portos.importazione.model.OldUser oldUser) - throws SystemException { - oldUser = toUnwrappedModel(oldUser); - - boolean isNew = oldUser.isNew(); - - Session session = null; - - try { - session = openSession(); - - if (oldUser.isNew()) { - session.save(oldUser); - - oldUser.setNew(false); - } - else { - session.merge(oldUser); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - EntityCacheUtil.putResult(OldUserModelImpl.ENTITY_CACHE_ENABLED, - OldUserImpl.class, oldUser.getPrimaryKey(), oldUser); - - return oldUser; - } - - protected OldUser toUnwrappedModel(OldUser oldUser) { - if (oldUser instanceof OldUserImpl) { - return oldUser; - } - - OldUserImpl oldUserImpl = new OldUserImpl(); - - oldUserImpl.setNew(oldUser.isNew()); - oldUserImpl.setPrimaryKey(oldUser.getPrimaryKey()); - - oldUserImpl.setUserId(oldUser.getUserId()); - oldUserImpl.setCompanyId(oldUser.getCompanyId()); - oldUserImpl.setCreateDate(oldUser.getCreateDate()); - oldUserImpl.setModifiedDate(oldUser.getModifiedDate()); - oldUserImpl.setDefaultUser(oldUser.isDefaultUser()); - oldUserImpl.setContactId(oldUser.getContactId()); - oldUserImpl.setPassword(oldUser.getPassword()); - oldUserImpl.setPasswordEncrypted(oldUser.isPasswordEncrypted()); - oldUserImpl.setPasswordReset(oldUser.isPasswordReset()); - oldUserImpl.setPasswordModifiedDate(oldUser.getPasswordModifiedDate()); - oldUserImpl.setDigest(oldUser.getDigest()); - oldUserImpl.setReminderQueryQuestion(oldUser.getReminderQueryQuestion()); - oldUserImpl.setReminderQueryAnswer(oldUser.getReminderQueryAnswer()); - oldUserImpl.setGraceLoginCount(oldUser.getGraceLoginCount()); - oldUserImpl.setScreenName(oldUser.getScreenName()); - oldUserImpl.setEmailAddress(oldUser.getEmailAddress()); - oldUserImpl.setFacebookId(oldUser.getFacebookId()); - oldUserImpl.setOpenId(oldUser.getOpenId()); - oldUserImpl.setPortraitId(oldUser.getPortraitId()); - oldUserImpl.setLanguageId(oldUser.getLanguageId()); - oldUserImpl.setTimeZoneId(oldUser.getTimeZoneId()); - oldUserImpl.setGreeting(oldUser.getGreeting()); - oldUserImpl.setComments(oldUser.getComments()); - oldUserImpl.setFirstName(oldUser.getFirstName()); - oldUserImpl.setMiddleName(oldUser.getMiddleName()); - oldUserImpl.setLastName(oldUser.getLastName()); - oldUserImpl.setJobTitle(oldUser.getJobTitle()); - oldUserImpl.setLoginDate(oldUser.getLoginDate()); - oldUserImpl.setLoginIP(oldUser.getLoginIP()); - oldUserImpl.setLastLoginDate(oldUser.getLastLoginDate()); - oldUserImpl.setLastLoginIP(oldUser.getLastLoginIP()); - oldUserImpl.setLastFailedLoginDate(oldUser.getLastFailedLoginDate()); - oldUserImpl.setFailedLoginAttempts(oldUser.getFailedLoginAttempts()); - oldUserImpl.setLockout(oldUser.isLockout()); - oldUserImpl.setLockoutDate(oldUser.getLockoutDate()); - oldUserImpl.setAgreedToTermsOfUse(oldUser.isAgreedToTermsOfUse()); - oldUserImpl.setEmailAddressVerified(oldUser.isEmailAddressVerified()); - oldUserImpl.setStatus(oldUser.getStatus()); - - return oldUserImpl; - } - - /** - * Returns the old user with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the old user - * @return the old user - * @throws it.tref.liferay.portos.importazione.NoSuchOldUserException if a old user with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldUser findByPrimaryKey(Serializable primaryKey) - throws NoSuchOldUserException, SystemException { - OldUser oldUser = fetchByPrimaryKey(primaryKey); - - if (oldUser == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchOldUserException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return oldUser; - } - - /** - * Returns the old user with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchOldUserException} if it could not be found. - * - * @param userId the primary key of the old user - * @return the old user - * @throws it.tref.liferay.portos.importazione.NoSuchOldUserException if a old user with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldUser findByPrimaryKey(long userId) - throws NoSuchOldUserException, SystemException { - return findByPrimaryKey((Serializable)userId); - } - - /** - * Returns the old user with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the old user - * @return the old user, or null if a old user with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldUser fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - OldUser oldUser = (OldUser)EntityCacheUtil.getResult(OldUserModelImpl.ENTITY_CACHE_ENABLED, - OldUserImpl.class, primaryKey); - - if (oldUser == _nullOldUser) { - return null; - } - - if (oldUser == null) { - Session session = null; - - try { - session = openSession(); - - oldUser = (OldUser)session.get(OldUserImpl.class, primaryKey); - - if (oldUser != null) { - cacheResult(oldUser); - } - else { - EntityCacheUtil.putResult(OldUserModelImpl.ENTITY_CACHE_ENABLED, - OldUserImpl.class, primaryKey, _nullOldUser); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(OldUserModelImpl.ENTITY_CACHE_ENABLED, - OldUserImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return oldUser; - } - - /** - * Returns the old user with the primary key or returns null if it could not be found. - * - * @param userId the primary key of the old user - * @return the old user, or null if a old user with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public OldUser fetchByPrimaryKey(long userId) throws SystemException { - return fetchByPrimaryKey((Serializable)userId); - } - - /** - * Returns all the old users. - * - * @return the old users - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the old users. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldUserModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old users - * @param end the upper bound of the range of old users (not inclusive) - * @return the range of old users - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the old users. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.OldUserModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of old users - * @param end the upper bound of the range of old users (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of old users - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_OLDUSER); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_OLDUSER; - - if (pagination) { - sql = sql.concat(OldUserModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the old users from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (OldUser oldUser : findAll()) { - remove(oldUser); - } - } - - /** - * Returns the number of old users. - * - * @return the number of old users - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_OLDUSER); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - @Override - protected Set getBadColumnNames() { - return _badColumnNames; - } - - /** - * Initializes the old user persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.importazione.model.OldUser"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(OldUserImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_OLDUSER = "SELECT oldUser FROM OldUser oldUser"; - private static final String _SQL_COUNT_OLDUSER = "SELECT COUNT(oldUser) FROM OldUser oldUser"; - private static final String _ORDER_BY_ENTITY_ALIAS = "oldUser."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No OldUser exists with the primary key "; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(OldUserPersistenceImpl.class); - private static Set _badColumnNames = SetUtil.fromArray(new String[] { - "password" - }); - private static OldUser _nullOldUser = new OldUserImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullOldUserCacheModel; - } - }; - - private static CacheModel _nullOldUserCacheModel = new CacheModel() { - @Override - public OldUser toEntityModel() { - return _nullOldUser; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/ProceduraImportazionePersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/ProceduraImportazionePersistenceImpl.java deleted file mode 100644 index ad17ae7d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/ProceduraImportazionePersistenceImpl.java +++ /dev/null @@ -1,675 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.importazione.NoSuchProceduraImportazioneException; -import it.tref.liferay.portos.importazione.model.ProceduraImportazione; -import it.tref.liferay.portos.importazione.model.impl.ProceduraImportazioneImpl; -import it.tref.liferay.portos.importazione.model.impl.ProceduraImportazioneModelImpl; -import it.tref.liferay.portos.importazione.service.persistence.ProceduraImportazionePersistence; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -/** - * The persistence implementation for the procedura importazione service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see ProceduraImportazionePersistence - * @see ProceduraImportazioneUtil - * @generated - */ -public class ProceduraImportazionePersistenceImpl extends BasePersistenceImpl - implements ProceduraImportazionePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link ProceduraImportazioneUtil} to access the procedura importazione persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = ProceduraImportazioneImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(ProceduraImportazioneModelImpl.ENTITY_CACHE_ENABLED, - ProceduraImportazioneModelImpl.FINDER_CACHE_ENABLED, - ProceduraImportazioneImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(ProceduraImportazioneModelImpl.ENTITY_CACHE_ENABLED, - ProceduraImportazioneModelImpl.FINDER_CACHE_ENABLED, - ProceduraImportazioneImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(ProceduraImportazioneModelImpl.ENTITY_CACHE_ENABLED, - ProceduraImportazioneModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - - public ProceduraImportazionePersistenceImpl() { - setModelClass(ProceduraImportazione.class); - } - - /** - * Caches the procedura importazione in the entity cache if it is enabled. - * - * @param proceduraImportazione the procedura importazione - */ - @Override - public void cacheResult(ProceduraImportazione proceduraImportazione) { - EntityCacheUtil.putResult(ProceduraImportazioneModelImpl.ENTITY_CACHE_ENABLED, - ProceduraImportazioneImpl.class, - proceduraImportazione.getPrimaryKey(), proceduraImportazione); - - proceduraImportazione.resetOriginalValues(); - } - - /** - * Caches the procedura importaziones in the entity cache if it is enabled. - * - * @param proceduraImportaziones the procedura importaziones - */ - @Override - public void cacheResult(List proceduraImportaziones) { - for (ProceduraImportazione proceduraImportazione : proceduraImportaziones) { - if (EntityCacheUtil.getResult( - ProceduraImportazioneModelImpl.ENTITY_CACHE_ENABLED, - ProceduraImportazioneImpl.class, - proceduraImportazione.getPrimaryKey()) == null) { - cacheResult(proceduraImportazione); - } - else { - proceduraImportazione.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all procedura importaziones. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(ProceduraImportazioneImpl.class.getName()); - } - - EntityCacheUtil.clearCache(ProceduraImportazioneImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the procedura importazione. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(ProceduraImportazione proceduraImportazione) { - EntityCacheUtil.removeResult(ProceduraImportazioneModelImpl.ENTITY_CACHE_ENABLED, - ProceduraImportazioneImpl.class, - proceduraImportazione.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - @Override - public void clearCache(List proceduraImportaziones) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (ProceduraImportazione proceduraImportazione : proceduraImportaziones) { - EntityCacheUtil.removeResult(ProceduraImportazioneModelImpl.ENTITY_CACHE_ENABLED, - ProceduraImportazioneImpl.class, - proceduraImportazione.getPrimaryKey()); - } - } - - /** - * Creates a new procedura importazione with the primary key. Does not add the procedura importazione to the database. - * - * @param proceduraImportazioneId the primary key for the new procedura importazione - * @return the new procedura importazione - */ - @Override - public ProceduraImportazione create(long proceduraImportazioneId) { - ProceduraImportazione proceduraImportazione = new ProceduraImportazioneImpl(); - - proceduraImportazione.setNew(true); - proceduraImportazione.setPrimaryKey(proceduraImportazioneId); - - return proceduraImportazione; - } - - /** - * Removes the procedura importazione with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param proceduraImportazioneId the primary key of the procedura importazione - * @return the procedura importazione that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchProceduraImportazioneException if a procedura importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public ProceduraImportazione remove(long proceduraImportazioneId) - throws NoSuchProceduraImportazioneException, SystemException { - return remove((Serializable)proceduraImportazioneId); - } - - /** - * Removes the procedura importazione with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the procedura importazione - * @return the procedura importazione that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchProceduraImportazioneException if a procedura importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public ProceduraImportazione remove(Serializable primaryKey) - throws NoSuchProceduraImportazioneException, SystemException { - Session session = null; - - try { - session = openSession(); - - ProceduraImportazione proceduraImportazione = (ProceduraImportazione)session.get(ProceduraImportazioneImpl.class, - primaryKey); - - if (proceduraImportazione == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchProceduraImportazioneException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(proceduraImportazione); - } - catch (NoSuchProceduraImportazioneException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected ProceduraImportazione removeImpl( - ProceduraImportazione proceduraImportazione) throws SystemException { - proceduraImportazione = toUnwrappedModel(proceduraImportazione); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(proceduraImportazione)) { - proceduraImportazione = (ProceduraImportazione)session.get(ProceduraImportazioneImpl.class, - proceduraImportazione.getPrimaryKeyObj()); - } - - if (proceduraImportazione != null) { - session.delete(proceduraImportazione); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (proceduraImportazione != null) { - clearCache(proceduraImportazione); - } - - return proceduraImportazione; - } - - @Override - public ProceduraImportazione updateImpl( - it.tref.liferay.portos.importazione.model.ProceduraImportazione proceduraImportazione) - throws SystemException { - proceduraImportazione = toUnwrappedModel(proceduraImportazione); - - boolean isNew = proceduraImportazione.isNew(); - - Session session = null; - - try { - session = openSession(); - - if (proceduraImportazione.isNew()) { - session.save(proceduraImportazione); - - proceduraImportazione.setNew(false); - } - else { - session.merge(proceduraImportazione); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - EntityCacheUtil.putResult(ProceduraImportazioneModelImpl.ENTITY_CACHE_ENABLED, - ProceduraImportazioneImpl.class, - proceduraImportazione.getPrimaryKey(), proceduraImportazione); - - return proceduraImportazione; - } - - protected ProceduraImportazione toUnwrappedModel( - ProceduraImportazione proceduraImportazione) { - if (proceduraImportazione instanceof ProceduraImportazioneImpl) { - return proceduraImportazione; - } - - ProceduraImportazioneImpl proceduraImportazioneImpl = new ProceduraImportazioneImpl(); - - proceduraImportazioneImpl.setNew(proceduraImportazione.isNew()); - proceduraImportazioneImpl.setPrimaryKey(proceduraImportazione.getPrimaryKey()); - - proceduraImportazioneImpl.setProceduraImportazioneId(proceduraImportazione.getProceduraImportazioneId()); - proceduraImportazioneImpl.setQueryStartNumber(proceduraImportazione.getQueryStartNumber()); - proceduraImportazioneImpl.setQueryEndNumber(proceduraImportazione.getQueryEndNumber()); - proceduraImportazioneImpl.setCreateDate(proceduraImportazione.getCreateDate()); - proceduraImportazioneImpl.setOldDettPraticaIdsNotProcessed(proceduraImportazione.getOldDettPraticaIdsNotProcessed()); - proceduraImportazioneImpl.setDataEffettuazioneProceduraStart(proceduraImportazione.getDataEffettuazioneProceduraStart()); - proceduraImportazioneImpl.setDataEffettuazioneProceduraEnd(proceduraImportazione.getDataEffettuazioneProceduraEnd()); - proceduraImportazioneImpl.setCompanyId(proceduraImportazione.getCompanyId()); - - return proceduraImportazioneImpl; - } - - /** - * Returns the procedura importazione with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the procedura importazione - * @return the procedura importazione - * @throws it.tref.liferay.portos.importazione.NoSuchProceduraImportazioneException if a procedura importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public ProceduraImportazione findByPrimaryKey(Serializable primaryKey) - throws NoSuchProceduraImportazioneException, SystemException { - ProceduraImportazione proceduraImportazione = fetchByPrimaryKey(primaryKey); - - if (proceduraImportazione == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchProceduraImportazioneException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return proceduraImportazione; - } - - /** - * Returns the procedura importazione with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchProceduraImportazioneException} if it could not be found. - * - * @param proceduraImportazioneId the primary key of the procedura importazione - * @return the procedura importazione - * @throws it.tref.liferay.portos.importazione.NoSuchProceduraImportazioneException if a procedura importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public ProceduraImportazione findByPrimaryKey(long proceduraImportazioneId) - throws NoSuchProceduraImportazioneException, SystemException { - return findByPrimaryKey((Serializable)proceduraImportazioneId); - } - - /** - * Returns the procedura importazione with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the procedura importazione - * @return the procedura importazione, or null if a procedura importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public ProceduraImportazione fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - ProceduraImportazione proceduraImportazione = (ProceduraImportazione)EntityCacheUtil.getResult(ProceduraImportazioneModelImpl.ENTITY_CACHE_ENABLED, - ProceduraImportazioneImpl.class, primaryKey); - - if (proceduraImportazione == _nullProceduraImportazione) { - return null; - } - - if (proceduraImportazione == null) { - Session session = null; - - try { - session = openSession(); - - proceduraImportazione = (ProceduraImportazione)session.get(ProceduraImportazioneImpl.class, - primaryKey); - - if (proceduraImportazione != null) { - cacheResult(proceduraImportazione); - } - else { - EntityCacheUtil.putResult(ProceduraImportazioneModelImpl.ENTITY_CACHE_ENABLED, - ProceduraImportazioneImpl.class, primaryKey, - _nullProceduraImportazione); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(ProceduraImportazioneModelImpl.ENTITY_CACHE_ENABLED, - ProceduraImportazioneImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return proceduraImportazione; - } - - /** - * Returns the procedura importazione with the primary key or returns null if it could not be found. - * - * @param proceduraImportazioneId the primary key of the procedura importazione - * @return the procedura importazione, or null if a procedura importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public ProceduraImportazione fetchByPrimaryKey(long proceduraImportazioneId) - throws SystemException { - return fetchByPrimaryKey((Serializable)proceduraImportazioneId); - } - - /** - * Returns all the procedura importaziones. - * - * @return the procedura importaziones - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the procedura importaziones. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.ProceduraImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of procedura importaziones - * @param end the upper bound of the range of procedura importaziones (not inclusive) - * @return the range of procedura importaziones - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the procedura importaziones. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.ProceduraImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of procedura importaziones - * @param end the upper bound of the range of procedura importaziones (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of procedura importaziones - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_PROCEDURAIMPORTAZIONE); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_PROCEDURAIMPORTAZIONE; - - if (pagination) { - sql = sql.concat(ProceduraImportazioneModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the procedura importaziones from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (ProceduraImportazione proceduraImportazione : findAll()) { - remove(proceduraImportazione); - } - } - - /** - * Returns the number of procedura importaziones. - * - * @return the number of procedura importaziones - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_PROCEDURAIMPORTAZIONE); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - /** - * Initializes the procedura importazione persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.importazione.model.ProceduraImportazione"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(ProceduraImportazioneImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_PROCEDURAIMPORTAZIONE = "SELECT proceduraImportazione FROM ProceduraImportazione proceduraImportazione"; - private static final String _SQL_COUNT_PROCEDURAIMPORTAZIONE = "SELECT COUNT(proceduraImportazione) FROM ProceduraImportazione proceduraImportazione"; - private static final String _ORDER_BY_ENTITY_ALIAS = "proceduraImportazione."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No ProceduraImportazione exists with the primary key "; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(ProceduraImportazionePersistenceImpl.class); - private static ProceduraImportazione _nullProceduraImportazione = new ProceduraImportazioneImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullProceduraImportazioneCacheModel; - } - }; - - private static CacheModel _nullProceduraImportazioneCacheModel = - new CacheModel() { - @Override - public ProceduraImportazione toEntityModel() { - return _nullProceduraImportazione; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/StatoImportazionePersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/StatoImportazionePersistenceImpl.java deleted file mode 100644 index e78c019e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/service/persistence/StatoImportazionePersistenceImpl.java +++ /dev/null @@ -1,1242 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.importazione.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.importazione.NoSuchStatoImportazioneException; -import it.tref.liferay.portos.importazione.model.StatoImportazione; -import it.tref.liferay.portos.importazione.model.impl.StatoImportazioneImpl; -import it.tref.liferay.portos.importazione.model.impl.StatoImportazioneModelImpl; -import it.tref.liferay.portos.importazione.service.persistence.StatoImportazionePersistence; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -/** - * The persistence implementation for the stato importazione service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author 3FC - * @see StatoImportazionePersistence - * @see StatoImportazioneUtil - * @generated - */ -public class StatoImportazionePersistenceImpl extends BasePersistenceImpl - implements StatoImportazionePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link StatoImportazioneUtil} to access the stato importazione persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = StatoImportazioneImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(StatoImportazioneModelImpl.ENTITY_CACHE_ENABLED, - StatoImportazioneModelImpl.FINDER_CACHE_ENABLED, - StatoImportazioneImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(StatoImportazioneModelImpl.ENTITY_CACHE_ENABLED, - StatoImportazioneModelImpl.FINDER_CACHE_ENABLED, - StatoImportazioneImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(StatoImportazioneModelImpl.ENTITY_CACHE_ENABLED, - StatoImportazioneModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_CLASSNAME = - new FinderPath(StatoImportazioneModelImpl.ENTITY_CACHE_ENABLED, - StatoImportazioneModelImpl.FINDER_CACHE_ENABLED, - StatoImportazioneImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByClassName", - new String[] { - String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_CLASSNAME = - new FinderPath(StatoImportazioneModelImpl.ENTITY_CACHE_ENABLED, - StatoImportazioneModelImpl.FINDER_CACHE_ENABLED, - StatoImportazioneImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByClassName", - new String[] { String.class.getName() }, - StatoImportazioneModelImpl.CLASSNAME_COLUMN_BITMASK | - StatoImportazioneModelImpl.DATAIMPORTAZIONE_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_CLASSNAME = new FinderPath(StatoImportazioneModelImpl.ENTITY_CACHE_ENABLED, - StatoImportazioneModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByClassName", - new String[] { String.class.getName() }); - - /** - * Returns all the stato importaziones where className = ?. - * - * @param className the class name - * @return the matching stato importaziones - * @throws SystemException if a system exception occurred - */ - @Override - public List findByClassName(String className) - throws SystemException { - return findByClassName(className, QueryUtil.ALL_POS, QueryUtil.ALL_POS, - null); - } - - /** - * Returns a range of all the stato importaziones where className = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.StatoImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param className the class name - * @param start the lower bound of the range of stato importaziones - * @param end the upper bound of the range of stato importaziones (not inclusive) - * @return the range of matching stato importaziones - * @throws SystemException if a system exception occurred - */ - @Override - public List findByClassName(String className, int start, - int end) throws SystemException { - return findByClassName(className, start, end, null); - } - - /** - * Returns an ordered range of all the stato importaziones where className = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.StatoImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param className the class name - * @param start the lower bound of the range of stato importaziones - * @param end the upper bound of the range of stato importaziones (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching stato importaziones - * @throws SystemException if a system exception occurred - */ - @Override - public List findByClassName(String className, int start, - int end, OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_CLASSNAME; - finderArgs = new Object[] { className }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_CLASSNAME; - finderArgs = new Object[] { className, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (StatoImportazione statoImportazione : list) { - if (!Validator.equals(className, - statoImportazione.getClassName())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_STATOIMPORTAZIONE_WHERE); - - boolean bindClassName = false; - - if (className == null) { - query.append(_FINDER_COLUMN_CLASSNAME_CLASSNAME_1); - } - else if (className.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_CLASSNAME_CLASSNAME_3); - } - else { - bindClassName = true; - - query.append(_FINDER_COLUMN_CLASSNAME_CLASSNAME_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(StatoImportazioneModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindClassName) { - qPos.add(className); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first stato importazione in the ordered set where className = ?. - * - * @param className the class name - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching stato importazione - * @throws it.tref.liferay.portos.importazione.NoSuchStatoImportazioneException if a matching stato importazione could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public StatoImportazione findByClassName_First(String className, - OrderByComparator orderByComparator) - throws NoSuchStatoImportazioneException, SystemException { - StatoImportazione statoImportazione = fetchByClassName_First(className, - orderByComparator); - - if (statoImportazione != null) { - return statoImportazione; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("className="); - msg.append(className); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchStatoImportazioneException(msg.toString()); - } - - /** - * Returns the first stato importazione in the ordered set where className = ?. - * - * @param className the class name - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching stato importazione, or null if a matching stato importazione could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public StatoImportazione fetchByClassName_First(String className, - OrderByComparator orderByComparator) throws SystemException { - List list = findByClassName(className, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last stato importazione in the ordered set where className = ?. - * - * @param className the class name - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching stato importazione - * @throws it.tref.liferay.portos.importazione.NoSuchStatoImportazioneException if a matching stato importazione could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public StatoImportazione findByClassName_Last(String className, - OrderByComparator orderByComparator) - throws NoSuchStatoImportazioneException, SystemException { - StatoImportazione statoImportazione = fetchByClassName_Last(className, - orderByComparator); - - if (statoImportazione != null) { - return statoImportazione; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("className="); - msg.append(className); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchStatoImportazioneException(msg.toString()); - } - - /** - * Returns the last stato importazione in the ordered set where className = ?. - * - * @param className the class name - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching stato importazione, or null if a matching stato importazione could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public StatoImportazione fetchByClassName_Last(String className, - OrderByComparator orderByComparator) throws SystemException { - int count = countByClassName(className); - - if (count == 0) { - return null; - } - - List list = findByClassName(className, count - 1, - count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the stato importaziones before and after the current stato importazione in the ordered set where className = ?. - * - * @param statoImportazioneId the primary key of the current stato importazione - * @param className the class name - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next stato importazione - * @throws it.tref.liferay.portos.importazione.NoSuchStatoImportazioneException if a stato importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public StatoImportazione[] findByClassName_PrevAndNext( - long statoImportazioneId, String className, - OrderByComparator orderByComparator) - throws NoSuchStatoImportazioneException, SystemException { - StatoImportazione statoImportazione = findByPrimaryKey(statoImportazioneId); - - Session session = null; - - try { - session = openSession(); - - StatoImportazione[] array = new StatoImportazioneImpl[3]; - - array[0] = getByClassName_PrevAndNext(session, statoImportazione, - className, orderByComparator, true); - - array[1] = statoImportazione; - - array[2] = getByClassName_PrevAndNext(session, statoImportazione, - className, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected StatoImportazione getByClassName_PrevAndNext(Session session, - StatoImportazione statoImportazione, String className, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_STATOIMPORTAZIONE_WHERE); - - boolean bindClassName = false; - - if (className == null) { - query.append(_FINDER_COLUMN_CLASSNAME_CLASSNAME_1); - } - else if (className.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_CLASSNAME_CLASSNAME_3); - } - else { - bindClassName = true; - - query.append(_FINDER_COLUMN_CLASSNAME_CLASSNAME_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(StatoImportazioneModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindClassName) { - qPos.add(className); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(statoImportazione); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the stato importaziones where className = ? from the database. - * - * @param className the class name - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByClassName(String className) throws SystemException { - for (StatoImportazione statoImportazione : findByClassName(className, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(statoImportazione); - } - } - - /** - * Returns the number of stato importaziones where className = ?. - * - * @param className the class name - * @return the number of matching stato importaziones - * @throws SystemException if a system exception occurred - */ - @Override - public int countByClassName(String className) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_CLASSNAME; - - Object[] finderArgs = new Object[] { className }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_STATOIMPORTAZIONE_WHERE); - - boolean bindClassName = false; - - if (className == null) { - query.append(_FINDER_COLUMN_CLASSNAME_CLASSNAME_1); - } - else if (className.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_CLASSNAME_CLASSNAME_3); - } - else { - bindClassName = true; - - query.append(_FINDER_COLUMN_CLASSNAME_CLASSNAME_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindClassName) { - qPos.add(className); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_CLASSNAME_CLASSNAME_1 = "statoImportazione.className IS NULL"; - private static final String _FINDER_COLUMN_CLASSNAME_CLASSNAME_2 = "statoImportazione.className = ?"; - private static final String _FINDER_COLUMN_CLASSNAME_CLASSNAME_3 = "(statoImportazione.className IS NULL OR statoImportazione.className = '')"; - - public StatoImportazionePersistenceImpl() { - setModelClass(StatoImportazione.class); - } - - /** - * Caches the stato importazione in the entity cache if it is enabled. - * - * @param statoImportazione the stato importazione - */ - @Override - public void cacheResult(StatoImportazione statoImportazione) { - EntityCacheUtil.putResult(StatoImportazioneModelImpl.ENTITY_CACHE_ENABLED, - StatoImportazioneImpl.class, statoImportazione.getPrimaryKey(), - statoImportazione); - - statoImportazione.resetOriginalValues(); - } - - /** - * Caches the stato importaziones in the entity cache if it is enabled. - * - * @param statoImportaziones the stato importaziones - */ - @Override - public void cacheResult(List statoImportaziones) { - for (StatoImportazione statoImportazione : statoImportaziones) { - if (EntityCacheUtil.getResult( - StatoImportazioneModelImpl.ENTITY_CACHE_ENABLED, - StatoImportazioneImpl.class, - statoImportazione.getPrimaryKey()) == null) { - cacheResult(statoImportazione); - } - else { - statoImportazione.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all stato importaziones. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(StatoImportazioneImpl.class.getName()); - } - - EntityCacheUtil.clearCache(StatoImportazioneImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the stato importazione. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(StatoImportazione statoImportazione) { - EntityCacheUtil.removeResult(StatoImportazioneModelImpl.ENTITY_CACHE_ENABLED, - StatoImportazioneImpl.class, statoImportazione.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - @Override - public void clearCache(List statoImportaziones) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (StatoImportazione statoImportazione : statoImportaziones) { - EntityCacheUtil.removeResult(StatoImportazioneModelImpl.ENTITY_CACHE_ENABLED, - StatoImportazioneImpl.class, statoImportazione.getPrimaryKey()); - } - } - - /** - * Creates a new stato importazione with the primary key. Does not add the stato importazione to the database. - * - * @param statoImportazioneId the primary key for the new stato importazione - * @return the new stato importazione - */ - @Override - public StatoImportazione create(long statoImportazioneId) { - StatoImportazione statoImportazione = new StatoImportazioneImpl(); - - statoImportazione.setNew(true); - statoImportazione.setPrimaryKey(statoImportazioneId); - - return statoImportazione; - } - - /** - * Removes the stato importazione with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param statoImportazioneId the primary key of the stato importazione - * @return the stato importazione that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchStatoImportazioneException if a stato importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public StatoImportazione remove(long statoImportazioneId) - throws NoSuchStatoImportazioneException, SystemException { - return remove((Serializable)statoImportazioneId); - } - - /** - * Removes the stato importazione with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the stato importazione - * @return the stato importazione that was removed - * @throws it.tref.liferay.portos.importazione.NoSuchStatoImportazioneException if a stato importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public StatoImportazione remove(Serializable primaryKey) - throws NoSuchStatoImportazioneException, SystemException { - Session session = null; - - try { - session = openSession(); - - StatoImportazione statoImportazione = (StatoImportazione)session.get(StatoImportazioneImpl.class, - primaryKey); - - if (statoImportazione == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchStatoImportazioneException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(statoImportazione); - } - catch (NoSuchStatoImportazioneException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected StatoImportazione removeImpl(StatoImportazione statoImportazione) - throws SystemException { - statoImportazione = toUnwrappedModel(statoImportazione); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(statoImportazione)) { - statoImportazione = (StatoImportazione)session.get(StatoImportazioneImpl.class, - statoImportazione.getPrimaryKeyObj()); - } - - if (statoImportazione != null) { - session.delete(statoImportazione); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (statoImportazione != null) { - clearCache(statoImportazione); - } - - return statoImportazione; - } - - @Override - public StatoImportazione updateImpl( - it.tref.liferay.portos.importazione.model.StatoImportazione statoImportazione) - throws SystemException { - statoImportazione = toUnwrappedModel(statoImportazione); - - boolean isNew = statoImportazione.isNew(); - - StatoImportazioneModelImpl statoImportazioneModelImpl = (StatoImportazioneModelImpl)statoImportazione; - - Session session = null; - - try { - session = openSession(); - - if (statoImportazione.isNew()) { - session.save(statoImportazione); - - statoImportazione.setNew(false); - } - else { - session.merge(statoImportazione); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !StatoImportazioneModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((statoImportazioneModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_CLASSNAME.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - statoImportazioneModelImpl.getOriginalClassName() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CLASSNAME, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_CLASSNAME, - args); - - args = new Object[] { statoImportazioneModelImpl.getClassName() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CLASSNAME, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_CLASSNAME, - args); - } - } - - EntityCacheUtil.putResult(StatoImportazioneModelImpl.ENTITY_CACHE_ENABLED, - StatoImportazioneImpl.class, statoImportazione.getPrimaryKey(), - statoImportazione); - - return statoImportazione; - } - - protected StatoImportazione toUnwrappedModel( - StatoImportazione statoImportazione) { - if (statoImportazione instanceof StatoImportazioneImpl) { - return statoImportazione; - } - - StatoImportazioneImpl statoImportazioneImpl = new StatoImportazioneImpl(); - - statoImportazioneImpl.setNew(statoImportazione.isNew()); - statoImportazioneImpl.setPrimaryKey(statoImportazione.getPrimaryKey()); - - statoImportazioneImpl.setStatoImportazioneId(statoImportazione.getStatoImportazioneId()); - statoImportazioneImpl.setClassName(statoImportazione.getClassName()); - statoImportazioneImpl.setOldPrimaryKey(statoImportazione.getOldPrimaryKey()); - statoImportazioneImpl.setNewPrimaryKey(statoImportazione.getNewPrimaryKey()); - statoImportazioneImpl.setDataImportazione(statoImportazione.getDataImportazione()); - statoImportazioneImpl.setEsito(statoImportazione.isEsito()); - statoImportazioneImpl.setErrorMessage(statoImportazione.getErrorMessage()); - - return statoImportazioneImpl; - } - - /** - * Returns the stato importazione with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the stato importazione - * @return the stato importazione - * @throws it.tref.liferay.portos.importazione.NoSuchStatoImportazioneException if a stato importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public StatoImportazione findByPrimaryKey(Serializable primaryKey) - throws NoSuchStatoImportazioneException, SystemException { - StatoImportazione statoImportazione = fetchByPrimaryKey(primaryKey); - - if (statoImportazione == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchStatoImportazioneException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return statoImportazione; - } - - /** - * Returns the stato importazione with the primary key or throws a {@link it.tref.liferay.portos.importazione.NoSuchStatoImportazioneException} if it could not be found. - * - * @param statoImportazioneId the primary key of the stato importazione - * @return the stato importazione - * @throws it.tref.liferay.portos.importazione.NoSuchStatoImportazioneException if a stato importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public StatoImportazione findByPrimaryKey(long statoImportazioneId) - throws NoSuchStatoImportazioneException, SystemException { - return findByPrimaryKey((Serializable)statoImportazioneId); - } - - /** - * Returns the stato importazione with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the stato importazione - * @return the stato importazione, or null if a stato importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public StatoImportazione fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - StatoImportazione statoImportazione = (StatoImportazione)EntityCacheUtil.getResult(StatoImportazioneModelImpl.ENTITY_CACHE_ENABLED, - StatoImportazioneImpl.class, primaryKey); - - if (statoImportazione == _nullStatoImportazione) { - return null; - } - - if (statoImportazione == null) { - Session session = null; - - try { - session = openSession(); - - statoImportazione = (StatoImportazione)session.get(StatoImportazioneImpl.class, - primaryKey); - - if (statoImportazione != null) { - cacheResult(statoImportazione); - } - else { - EntityCacheUtil.putResult(StatoImportazioneModelImpl.ENTITY_CACHE_ENABLED, - StatoImportazioneImpl.class, primaryKey, - _nullStatoImportazione); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(StatoImportazioneModelImpl.ENTITY_CACHE_ENABLED, - StatoImportazioneImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return statoImportazione; - } - - /** - * Returns the stato importazione with the primary key or returns null if it could not be found. - * - * @param statoImportazioneId the primary key of the stato importazione - * @return the stato importazione, or null if a stato importazione with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public StatoImportazione fetchByPrimaryKey(long statoImportazioneId) - throws SystemException { - return fetchByPrimaryKey((Serializable)statoImportazioneId); - } - - /** - * Returns all the stato importaziones. - * - * @return the stato importaziones - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the stato importaziones. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.StatoImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of stato importaziones - * @param end the upper bound of the range of stato importaziones (not inclusive) - * @return the range of stato importaziones - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the stato importaziones. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.importazione.model.impl.StatoImportazioneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of stato importaziones - * @param end the upper bound of the range of stato importaziones (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of stato importaziones - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_STATOIMPORTAZIONE); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_STATOIMPORTAZIONE; - - if (pagination) { - sql = sql.concat(StatoImportazioneModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the stato importaziones from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (StatoImportazione statoImportazione : findAll()) { - remove(statoImportazione); - } - } - - /** - * Returns the number of stato importaziones. - * - * @return the number of stato importaziones - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_STATOIMPORTAZIONE); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - /** - * Initializes the stato importazione persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.importazione.model.StatoImportazione"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(StatoImportazioneImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_STATOIMPORTAZIONE = "SELECT statoImportazione FROM StatoImportazione statoImportazione"; - private static final String _SQL_SELECT_STATOIMPORTAZIONE_WHERE = "SELECT statoImportazione FROM StatoImportazione statoImportazione WHERE "; - private static final String _SQL_COUNT_STATOIMPORTAZIONE = "SELECT COUNT(statoImportazione) FROM StatoImportazione statoImportazione"; - private static final String _SQL_COUNT_STATOIMPORTAZIONE_WHERE = "SELECT COUNT(statoImportazione) FROM StatoImportazione statoImportazione WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "statoImportazione."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No StatoImportazione exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No StatoImportazione exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(StatoImportazionePersistenceImpl.class); - private static StatoImportazione _nullStatoImportazione = new StatoImportazioneImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullStatoImportazioneCacheModel; - } - }; - - private static CacheModel _nullStatoImportazioneCacheModel = - new CacheModel() { - @Override - public StatoImportazione toEntityModel() { - return _nullStatoImportazione; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/CleanPratiche.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/CleanPratiche.java deleted file mode 100644 index 1a320a04..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/CleanPratiche.java +++ /dev/null @@ -1,385 +0,0 @@ -package it.tref.liferay.portos.importazione.util; - -import it.tref.liferay.portos.bo.model.Collaudo; -import it.tref.liferay.portos.bo.model.ControlloPratica; -import it.tref.liferay.portos.bo.model.DettPratica; -import it.tref.liferay.portos.bo.model.FineLavori; -import it.tref.liferay.portos.bo.model.IntPratica; -import it.tref.liferay.portos.bo.model.Tempistica; -import it.tref.liferay.portos.bo.model.Territorio; -import it.tref.liferay.portos.bo.service.ClpSerializer; -import it.tref.liferay.portos.bo.service.CollaudoLocalServiceUtil; -import it.tref.liferay.portos.bo.service.ControlloPraticaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.FineLavoriLocalServiceUtil; -import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.TempisticaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.TerritorioLocalServiceUtil; -import it.tref.liferay.portos.importazione.model.BoDettPratica; -import it.tref.liferay.portos.importazione.model.BoIntPratica; -import it.tref.liferay.portos.importazione.model.KaleoInstance; -import it.tref.liferay.portos.importazione.model.KaleoInstanceToken; -import it.tref.liferay.portos.importazione.model.KaleoLog; -import it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance; -import it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken; -import it.tref.liferay.portos.importazione.service.BoDettPraticaLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.BoIntPraticaLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.KaleoInstanceLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.KaleoLogLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalServiceUtil; - -import java.util.Date; -import java.util.List; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.RestrictionsFactoryUtil; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.model.WorkflowInstanceLink; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.service.WorkflowInstanceLinkLocalServiceUtil; - -public class CleanPratiche { - - private static Log _log = LogFactoryUtil.getLog(CleanPratiche.class); - - public static void cleanPraticheDoppie(long intPraticaId, long companyId) throws Exception { - - try { - - IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId); - if (intPratica != null) { - - String numeroProgetto = intPratica.getNumeroProgetto(); - - DynamicQuery queryInt = DynamicQueryFactoryUtil.forClass(BoIntPratica.class); - queryInt.add(RestrictionsFactoryUtil.eq("numeroProgetto", numeroProgetto)); - queryInt.add(RestrictionsFactoryUtil.eq("varianteNumero", 0)); - - List listaInt = BoIntPraticaLocalServiceUtil.dynamicQuery(queryInt); - - if (listaInt != null && !listaInt.isEmpty() && listaInt.size() == 1) { - - BoIntPratica boIntPratica = listaInt.get(0); - if (boIntPratica != null) { - - DynamicQuery query = DynamicQueryFactoryUtil.forClass(BoDettPratica.class); - query.add(RestrictionsFactoryUtil.eq("intPraticaId", boIntPratica.getIntPraticaId())); - query.add(RestrictionsFactoryUtil.eq("integrazione", 0l)); - query.add(RestrictionsFactoryUtil.eq("validata", true)); - - List listDett = BoDettPraticaLocalServiceUtil.dynamicQuery(query); - - if (listDett != null && !listDett.isEmpty() && listDett.size() == 1) { - BoDettPratica boDettPratica = listDett.get(0); - if (boDettPratica != null) { - - // Cancello Fascicolo - deleteFascicolo(intPratica, companyId); - - // Importa Fascicolo Da Portos 1 - PraticaImporter.importaSingolaPratica(boDettPratica.getDettPraticaId(), companyId); - } - - } else { - _log.info("Errore nella query relative alle BoDettPratiche per progetto : " + numeroProgetto); - } - - } - - } else { - _log.info("Errore nella query relative alle BoIntPratiche per progetto : " + numeroProgetto); - } - - - } else { - _log.info("Nessuna intPratica trovata con id : " + intPraticaId); - } - - } catch (PortalException | SystemException e) { - _log.error("Errore nel processo di intPraticaId = " + intPraticaId, e); - } - - } - - private static void deleteFascicolo(IntPratica intPratica, long companyId) throws SystemException, PortalException { - - ClassLoader classLoader = - (ClassLoader) PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), "portletClassLoader"); - - DynamicQuery queryControlo = DynamicQueryFactoryUtil.forClass(ControlloPratica.class, classLoader); - queryControlo.add(RestrictionsFactoryUtil.eq("intPraticaId", intPratica.getIntPraticaId())); - - List listaControl = - ControlloPraticaLocalServiceUtil.dynamicQuery(queryControlo, QueryUtil.ALL_POS, QueryUtil.ALL_POS); - if (listaControl != null && !listaControl.isEmpty()) { - for (ControlloPratica controlloPratica : listaControl) { - - ControlloPratica controAPp = - ControlloPraticaLocalServiceUtil.fetchControlloPratica(controlloPratica.getControlloPraticaId()); - if (controAPp != null) { - - KaleoInstance kaleoInstance = KaleoInstanceLocalServiceUtil.fetchByClassPk(controAPp.getControlloPraticaId()); - if (kaleoInstance != null) { - - // Pulisco KaleoLog - List listaLog = KaleoLogLocalServiceUtil.findByClassPk(kaleoInstance.getKaleoInstanceId()); - if (listaLog != null && !listaLog.isEmpty()) { - for (KaleoLog kaleoLog : listaLog) { - KaleoLog kaleoLogApp = KaleoLogLocalServiceUtil.fetchKaleoLog(kaleoLog.getKaleoLogId()); - - KaleoLogLocalServiceUtil.deleteKaleoLog(kaleoLogApp.getKaleoLogId()); - } - } - - // Pulisco KaleoTaskAssignmentInstance - List listaKaleoTaskAssignmentInstance = - KaleoTaskAssignmentInstanceLocalServiceUtil.findByKaleoInstanceId(kaleoInstance.getKaleoInstanceId()); - if (listaKaleoTaskAssignmentInstance != null && !listaKaleoTaskAssignmentInstance.isEmpty()) { - for (KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance : listaKaleoTaskAssignmentInstance) { - KaleoTaskAssignmentInstance kaleoTaskAssignmentInstanceApp = - KaleoTaskAssignmentInstanceLocalServiceUtil.fetchKaleoTaskAssignmentInstance(kaleoTaskAssignmentInstance.getKaleoTaskAssignmentInstanceId()); - - KaleoTaskAssignmentInstanceLocalServiceUtil.deleteKaleoTaskAssignmentInstance(kaleoTaskAssignmentInstanceApp.getKaleoTaskAssignmentInstanceId()); - } - - - } - - KaleoInstanceLocalServiceUtil.deleteKaleoInstance(kaleoInstance); - } - - - // KaleoInstanceToken - KaleoInstanceToken kaleoInstanceToken = - KaleoInstanceTokenLocalServiceUtil.fetchByClassPk(controAPp.getControlloPraticaId()); - if (kaleoInstanceToken != null) { - KaleoInstanceTokenLocalServiceUtil.deleteKaleoInstanceToken(kaleoInstanceToken.getKaleoInstanceTokenId()); - } - - // KaleoTaskInstanceToken - KaleoTaskInstanceToken kaleoTaskInstanceToken = - KaleoTaskInstanceTokenLocalServiceUtil.fetchByClassPk(controAPp.getControlloPraticaId()); - if (kaleoTaskInstanceToken != null) { - KaleoTaskInstanceTokenLocalServiceUtil.deleteKaleoTaskInstanceToken(kaleoTaskInstanceToken.getKaleoTaskInstanceTokenId()); - } - - WorkflowInstanceLink workflowInstanceLink = - WorkflowInstanceLinkLocalServiceUtil.fetchWorkflowInstanceLink(companyId, intPratica.getGroupId(), - "it.tref.liferay.portos.bo.model.ControlloPratica", controlloPratica.getControlloPraticaId()); - - if (workflowInstanceLink != null) { - WorkflowInstanceLinkLocalServiceUtil.deleteWorkflowInstanceLink(workflowInstanceLink.getWorkflowInstanceLinkId()); - } - - } - - } - } - - IntPraticaLocalServiceUtil.deleteIntPratica(intPratica, true); - - } - - public static void cleanTempistiche(long companyId) throws SystemException, PortalException{ - - ClassLoader classLoader = - (ClassLoader) PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), "portletClassLoader"); - // - // DynamicQuery query = DynamicQueryFactoryUtil.forClass(Tempistica.class, classLoader); - // query.add(RestrictionsFactoryUtil.eq("oldTempisticaId", 0l)); - // query.add(RestrictionsFactoryUtil.eq("tipo", "P")); - // query.add(RestrictionsFactoryUtil.eq("completo", false)); - // - // List lista = TempisticaLocalServiceUtil.dynamicQuery(query,-1,-1); - // - // for (Tempistica tempisticaApp : lista) { - // - // long intPraticaId = tempisticaApp.getIntPraticaId(); - // long dettPraticaId = tempisticaApp.getDettPraticaId(); - // - // DynamicQuery queryDett = DynamicQueryFactoryUtil.forClass(Tempistica.class, classLoader); - // queryDett.add(RestrictionsFactoryUtil.eq("intPraticaId", intPraticaId)); - // queryDett.add(RestrictionsFactoryUtil.eq("dettPraticaId", dettPraticaId)); - // queryDett.add(RestrictionsFactoryUtil.eq("completo", false)); - // - // - // Order defaultOrderDettPrtatica = OrderFactoryUtil.asc("createDate"); - // queryDett.addOrder(defaultOrderDettPrtatica); - // - // Tempistica tempistica = null; - // - // List dettList = TempisticaLocalServiceUtil.dynamicQuery(queryDett,-1,-1); - // if(dettList != null && !dettList.isEmpty() && dettList.size() >= 2){ - // - // tempistica = dettList.get(0); - // - // } else { - // tempistica = tempisticaApp; - // } - // - // - // IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(tempistica.getIntPraticaId()); - // if(intPratica != null){ - // - // Date dtInvio = null; - // - // if(intPratica.getDtSorteggio() != null){ - // dtInvio = intPratica.getDtSorteggio(); - // } else { - // - // DynamicQuery queryControllo = DynamicQueryFactoryUtil.forClass(ControlloPratica.class, classLoader); - // queryControllo.add(RestrictionsFactoryUtil.eq("intPraticaId",tempistica.getIntPraticaId())); - // queryControllo.add(RestrictionsFactoryUtil.eq("dettPraticaId",tempistica.getDettPraticaId())); - // Order defaultOrderControPrtatica = OrderFactoryUtil.asc("createDate"); - // queryControllo.addOrder(defaultOrderControPrtatica); - // - // List controlloPraticaList = ControlloPraticaLocalServiceUtil.dynamicQuery(queryControllo,-1,-1); - // - // dtInvio = controlloPraticaList.get(0).getCreateDate(); - // - // } - // - // tempistica.setStart(DateUtils.truncate(dtInvio, Calendar.DATE).getTime()); - // - // TempisticaLocalServiceUtil.updateTempistica(tempistica); - // - // } - // - // } - // - - //AGGIUNGO LE PRATICHE IN ASSEGNAZIONE - - DynamicQuery queryKaleo = DynamicQueryFactoryUtil.forClass(KaleoTaskInstanceToken.class); - queryKaleo.add(RestrictionsFactoryUtil.eq("className", ControlloPratica.class.getName())); - queryKaleo.add(RestrictionsFactoryUtil.eq("kaleoTaskName", "Assegnazione")); - queryKaleo.add(RestrictionsFactoryUtil.eq("completed", false)); - - List listaKaleo = KaleoTaskInstanceTokenLocalServiceUtil.dynamicQuery(queryKaleo,-1,-1); - for (KaleoTaskInstanceToken kaleoTaskInstanceToken : listaKaleo) { - - ControlloPratica controlloPratica = - ControlloPraticaLocalServiceUtil.fetchControlloPratica(kaleoTaskInstanceToken.getClassPK()); - - - if(controlloPratica != null ){ - if(controlloPratica.getIntPraticaId() != 0l){ - DynamicQuery queryTK = DynamicQueryFactoryUtil.forClass(Tempistica.class, classLoader); - queryTK.add(RestrictionsFactoryUtil.eq("intPraticaId", controlloPratica.getIntPraticaId())); - queryTK.add(RestrictionsFactoryUtil.eq("dettPraticaId", controlloPratica.getDettPraticaId())); - - List listaCheck = TempisticaLocalServiceUtil.dynamicQuery(queryTK); - - if(listaCheck == null || listaCheck.isEmpty()){ - - IntPratica intPraticaCont = IntPraticaLocalServiceUtil.fetchIntPratica(controlloPratica.getIntPraticaId()); - - Date dtInvio = null; - - if(intPraticaCont.getDtSorteggio() != null){ - dtInvio = intPraticaCont.getDtSorteggio(); - } else { - dtInvio = controlloPratica.getCreateDate(); - } - - ServiceContext serviceContextTempistica = getServiceContext(controlloPratica); - TempisticaLocalServiceUtil.addTempistica(controlloPratica.getIntPraticaId(), controlloPratica.getDettPraticaId(), "P", dtInvio, - serviceContextTempistica); - } - - } - } - - - - } - - } - - private static ServiceContext getServiceContext(ControlloPratica controlloPratica) { - - ServiceContext serviceContext = new ServiceContext(); - serviceContext.setCompanyId(controlloPratica.getCompanyId()); - serviceContext.setScopeGroupId(controlloPratica.getGroupId()); - serviceContext.setUserId(controlloPratica.getUserId()); - return serviceContext; - } - - - public static void riparaGroupId(long companyId) throws SystemException{ - - - ClassLoader classLoader = - (ClassLoader) PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), "portletClassLoader"); - - DynamicQuery query = DynamicQueryFactoryUtil.forClass(IntPratica.class,classLoader); - query.add(RestrictionsFactoryUtil.eq("groupId", 22901L)); - - List lista = IntPraticaLocalServiceUtil.dynamicQuery(query, -1,-1); - for (IntPratica intPratica : lista) { - - Territorio territorio = TerritorioLocalServiceUtil.fetchTerritorio(intPratica.getTerritorioId()); - if(territorio != null){ - - intPratica.setGroupId(territorio.getGroupId()); - IntPraticaLocalServiceUtil.updateIntPratica(intPratica); - - DynamicQuery queryDett = DynamicQueryFactoryUtil.forClass(DettPratica.class,classLoader); - queryDett.add(RestrictionsFactoryUtil.eq("intPraticaId", intPratica.getIntPraticaId())); - - List listaDett = DettPraticaLocalServiceUtil.findByIntPraticaId(intPratica.getIntPraticaId()); - for (DettPratica dettPratica : listaDett) { - - dettPratica.setGroupId(territorio.getGroupId()); - DettPraticaLocalServiceUtil.updateDettPratica(dettPratica); - } - - DynamicQuery queryFine = DynamicQueryFactoryUtil.forClass(FineLavori.class,classLoader); - queryFine.add(RestrictionsFactoryUtil.eq("intPraticaId", intPratica.getIntPraticaId())); - - - List listaFine = FineLavoriLocalServiceUtil.findByIntPraticaId(intPratica.getIntPraticaId(), -1, -1, null); - for (FineLavori fine : listaFine) { - - fine.setGroupId(territorio.getGroupId()); - FineLavoriLocalServiceUtil.updateFineLavori(fine); - } - - DynamicQuery queryColl = DynamicQueryFactoryUtil.forClass(Collaudo.class,classLoader); - queryFine.add(RestrictionsFactoryUtil.eq("intPraticaId", intPratica.getIntPraticaId())); - - - - - List listaColl= CollaudoLocalServiceUtil.findByIntPraticaId(intPratica.getIntPraticaId(), -1, -1, null); - for (Collaudo coll : listaColl) { - - coll.setGroupId(territorio.getGroupId()); - CollaudoLocalServiceUtil.updateCollaudo(coll); - } - - IntPraticaLocalServiceUtil.reIndexFasciolo(intPratica.getIntPraticaId(), companyId); - - _log.info("Pratica corretta"); - - } else { - _log.info("Nessun Territorio Presente"); - } - - - } - - - - - } - -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/CleanSorteggi.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/CleanSorteggi.java deleted file mode 100644 index 5e46a34a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/CleanSorteggi.java +++ /dev/null @@ -1,499 +0,0 @@ -package it.tref.liferay.portos.importazione.util; - -import it.tref.liferay.portos.bo.model.ControlloPratica; -import it.tref.liferay.portos.bo.model.DettPratica; -import it.tref.liferay.portos.bo.model.IntPratica; -import it.tref.liferay.portos.bo.model.Sorteggio; -import it.tref.liferay.portos.bo.service.ClpSerializer; -import it.tref.liferay.portos.bo.service.ControlloPraticaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.SorteggioLocalServiceUtil; -import it.tref.liferay.portos.bo.shared.util.StatoPraticaConstants; -import it.tref.liferay.portos.importazione.model.BoIntPratica; -import it.tref.liferay.portos.importazione.model.KaleoInstance; -import it.tref.liferay.portos.importazione.model.KaleoInstanceToken; -import it.tref.liferay.portos.importazione.model.KaleoLog; -import it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance; -import it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken; -import it.tref.liferay.portos.importazione.service.BoIntPraticaLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.KaleoInstanceLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.KaleoLogLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalServiceUtil; - -import java.util.Calendar; -import java.util.Date; -import java.util.List; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Order; -import com.liferay.portal.kernel.dao.orm.OrderFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Property; -import com.liferay.portal.kernel.dao.orm.PropertyFactoryUtil; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.RestrictionsFactoryUtil; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.model.WorkflowInstanceLink; -import com.liferay.portal.service.WorkflowInstanceLinkLocalServiceUtil; - -public class CleanSorteggi { - - private static Log _log = LogFactoryUtil.getLog(CleanSorteggi.class); - - public static void cleanAllSorteggi(long companyId) { - - try { - ClassLoader classLoader = - (ClassLoader) PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), "portletClassLoader"); - - List lista = SorteggioLocalServiceUtil.getSorteggios(-1, -1); - for (Sorteggio sorteggio : lista) { - - IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(sorteggio.getIntPraticaId()); - if (intPratica != null) { - _log.info("**** aggiornamento oldIntPraticaId = " + intPratica.getOldIntPraticaId()); - BoIntPratica boIntPratica = BoIntPraticaLocalServiceUtil.fetchBoIntPratica(intPratica.getOldIntPraticaId()); - if (boIntPratica != null) { - intPratica.setStatus(boIntPratica.getStatus()); - intPratica.setDtSorteggio(null); - if (boIntPratica.getStatoPratica().equalsIgnoreCase(StatoPraticaConstants.CAMBIO_ISTRUTTORE)) { - intPratica.setStatoPratica(StatoPraticaConstants.VIDIMATA); - } else if (boIntPratica.getStatoPratica().equalsIgnoreCase(StatoPraticaConstants.AUTORIZZATA)) { - intPratica.setStatoPratica(StatoPraticaConstants.CONFORME); - } else if (boIntPratica.getStatoPratica().equalsIgnoreCase(StatoPraticaConstants.NON_AUTORIZZATA)) { - intPratica.setStatoPratica(StatoPraticaConstants.NON_CONFORME); - } else if (boIntPratica.getStatoPratica().equalsIgnoreCase(StatoPraticaConstants.ANNULLA_ISTANZA)) { - intPratica.setStatoPratica(StatoPraticaConstants.ANNULLATA); - } else { - intPratica.setStatoPratica(boIntPratica.getStatoPratica()); - } - - intPratica.setModifiedDate(boIntPratica.getModifiedDate()); - - IntPraticaLocalServiceUtil.updateIntPratica(intPratica); - } - - DynamicQuery queryControlo = DynamicQueryFactoryUtil.forClass(ControlloPratica.class, classLoader); - queryControlo.add(RestrictionsFactoryUtil.eq("intPraticaId", intPratica.getIntPraticaId())); - - List listaControl = - ControlloPraticaLocalServiceUtil.dynamicQuery(queryControlo, QueryUtil.ALL_POS, QueryUtil.ALL_POS); - if (listaControl != null && !listaControl.isEmpty()) { - for (ControlloPratica controlloPratica : listaControl) { - - ControlloPratica controAPp = - ControlloPraticaLocalServiceUtil.fetchControlloPratica(controlloPratica.getControlloPraticaId()); - if (controAPp != null) { - - KaleoInstance kaleoInstance = - KaleoInstanceLocalServiceUtil.fetchByClassPk(controAPp.getControlloPraticaId()); - if (kaleoInstance != null) { - - // Pulisco KaleoLog - List listaLog = KaleoLogLocalServiceUtil.findByClassPk(kaleoInstance.getKaleoInstanceId()); - if (listaLog != null && !listaLog.isEmpty()) { - for (KaleoLog kaleoLog : listaLog) { - KaleoLog kaleoLogApp = KaleoLogLocalServiceUtil.fetchKaleoLog(kaleoLog.getKaleoLogId()); - - KaleoLogLocalServiceUtil.deleteKaleoLog(kaleoLogApp.getKaleoLogId()); - } - } - - // Pulisco KaleoTaskAssignmentInstance - List listaKaleoTaskAssignmentInstance = - KaleoTaskAssignmentInstanceLocalServiceUtil.findByKaleoInstanceId(kaleoInstance.getKaleoInstanceId()); - if (listaKaleoTaskAssignmentInstance != null && !listaKaleoTaskAssignmentInstance.isEmpty()) { - for (KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance : listaKaleoTaskAssignmentInstance) { - KaleoTaskAssignmentInstance kaleoTaskAssignmentInstanceApp = - KaleoTaskAssignmentInstanceLocalServiceUtil.fetchKaleoTaskAssignmentInstance(kaleoTaskAssignmentInstance.getKaleoTaskAssignmentInstanceId()); - - KaleoTaskAssignmentInstanceLocalServiceUtil.deleteKaleoTaskAssignmentInstance(kaleoTaskAssignmentInstanceApp.getKaleoTaskAssignmentInstanceId()); - } - - - } - - KaleoInstanceLocalServiceUtil.deleteKaleoInstance(kaleoInstance); - } - - - // KaleoInstanceToken - KaleoInstanceToken kaleoInstanceToken = - KaleoInstanceTokenLocalServiceUtil.fetchByClassPk(controAPp.getControlloPraticaId()); - if (kaleoInstanceToken != null) { - KaleoInstanceTokenLocalServiceUtil.deleteKaleoInstanceToken(kaleoInstanceToken.getKaleoInstanceTokenId()); - } - - // KaleoTaskInstanceToken - KaleoTaskInstanceToken kaleoTaskInstanceToken = - KaleoTaskInstanceTokenLocalServiceUtil.fetchByClassPk(controAPp.getControlloPraticaId()); - if (kaleoTaskInstanceToken != null) { - KaleoTaskInstanceTokenLocalServiceUtil.deleteKaleoTaskInstanceToken(kaleoTaskInstanceToken.getKaleoTaskInstanceTokenId()); - } - - WorkflowInstanceLink workflowInstanceLink = - WorkflowInstanceLinkLocalServiceUtil.fetchWorkflowInstanceLink(companyId, intPratica.getGroupId(), - "it.tref.liferay.portos.bo.model.ControlloPratica", controlloPratica.getControlloPraticaId()); - - if (workflowInstanceLink != null) { - WorkflowInstanceLinkLocalServiceUtil.deleteWorkflowInstanceLink(workflowInstanceLink.getWorkflowInstanceLinkId()); - } - - } - - ControlloPraticaLocalServiceUtil.deleteControlloPratica(controAPp.getControlloPraticaId()); - - } - } - - } - - Sorteggio appSorteggio = SorteggioLocalServiceUtil.fetchSorteggio(sorteggio.getSorteggioId()); - SorteggioLocalServiceUtil.deleteSorteggio(appSorteggio.getSorteggioId()); - } - - } catch (SystemException e) { - _log.error(e, e); - } catch (PortalException e) { - _log.error(e, e); - } - - - } - - public static void cleanSorteggiErrore(long companyId) { - - try { - - ClassLoader classLoader = - (ClassLoader) PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), "portletClassLoader"); - - DynamicQuery querySorteggio = DynamicQueryFactoryUtil.forClass(Sorteggio.class, classLoader); - querySorteggio.add(RestrictionsFactoryUtil.eq("anno", "2018")); - querySorteggio.add(RestrictionsFactoryUtil.eq("mese", "03")); - - Calendar calendar = Calendar.getInstance(); - Date nowDate = calendar.getTime(); - - calendar.set(Calendar.YEAR, 2018); - calendar.set(Calendar.MONTH, Calendar.MARCH); - calendar.set(Calendar.DAY_OF_MONTH, 22); - Date fromDate = calendar.getTime(); - - Property createDateProperty = PropertyFactoryUtil.forName("createDate"); - querySorteggio.add(createDateProperty.between(fromDate, nowDate)); - - List lista = SorteggioLocalServiceUtil.dynamicQuery(querySorteggio, -1, -1); - for (Sorteggio sorteggio : lista) { - - - IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(sorteggio.getIntPraticaId()); - if (intPratica != null) { - _log.info("**** aggiornamento oldIntPraticaId = " + intPratica.getOldIntPraticaId()); - BoIntPratica boIntPratica = BoIntPraticaLocalServiceUtil.fetchBoIntPratica(intPratica.getOldIntPraticaId()); - if (boIntPratica != null) { - intPratica.setStatus(boIntPratica.getStatus()); - intPratica.setDtSorteggio(null); - if (boIntPratica.getStatoPratica().equalsIgnoreCase(StatoPraticaConstants.CAMBIO_ISTRUTTORE)) { - intPratica.setStatoPratica(StatoPraticaConstants.VIDIMATA); - } else if (boIntPratica.getStatoPratica().equalsIgnoreCase(StatoPraticaConstants.AUTORIZZATA)) { - intPratica.setStatoPratica(StatoPraticaConstants.CONFORME); - } else if (boIntPratica.getStatoPratica().equalsIgnoreCase(StatoPraticaConstants.NON_AUTORIZZATA)) { - intPratica.setStatoPratica(StatoPraticaConstants.NON_CONFORME); - } else if (boIntPratica.getStatoPratica().equalsIgnoreCase(StatoPraticaConstants.ANNULLA_ISTANZA)) { - intPratica.setStatoPratica(StatoPraticaConstants.ANNULLATA); - } else { - intPratica.setStatoPratica(boIntPratica.getStatoPratica()); - } - - intPratica.setModifiedDate(boIntPratica.getModifiedDate()); - - IntPraticaLocalServiceUtil.updateIntPratica(intPratica); - } - - DynamicQuery queryControlo = DynamicQueryFactoryUtil.forClass(ControlloPratica.class, classLoader); - queryControlo.add(RestrictionsFactoryUtil.eq("intPraticaId", intPratica.getIntPraticaId())); - - List listaControl = - ControlloPraticaLocalServiceUtil.dynamicQuery(queryControlo, QueryUtil.ALL_POS, QueryUtil.ALL_POS); - if (listaControl != null && !listaControl.isEmpty()) { - for (ControlloPratica controlloPratica : listaControl) { - - ControlloPratica controAPp = - ControlloPraticaLocalServiceUtil.fetchControlloPratica(controlloPratica.getControlloPraticaId()); - if (controAPp != null) { - - KaleoInstance kaleoInstance = - KaleoInstanceLocalServiceUtil.fetchByClassPk(controAPp.getControlloPraticaId()); - if (kaleoInstance != null) { - - // Pulisco KaleoLog - List listaLog = KaleoLogLocalServiceUtil.findByClassPk(kaleoInstance.getKaleoInstanceId()); - if (listaLog != null && !listaLog.isEmpty()) { - for (KaleoLog kaleoLog : listaLog) { - KaleoLog kaleoLogApp = KaleoLogLocalServiceUtil.fetchKaleoLog(kaleoLog.getKaleoLogId()); - - KaleoLogLocalServiceUtil.deleteKaleoLog(kaleoLogApp.getKaleoLogId()); - } - } - - // Pulisco KaleoTaskAssignmentInstance - List listaKaleoTaskAssignmentInstance = - KaleoTaskAssignmentInstanceLocalServiceUtil.findByKaleoInstanceId(kaleoInstance.getKaleoInstanceId()); - if (listaKaleoTaskAssignmentInstance != null && !listaKaleoTaskAssignmentInstance.isEmpty()) { - for (KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance : listaKaleoTaskAssignmentInstance) { - KaleoTaskAssignmentInstance kaleoTaskAssignmentInstanceApp = - KaleoTaskAssignmentInstanceLocalServiceUtil.fetchKaleoTaskAssignmentInstance(kaleoTaskAssignmentInstance.getKaleoTaskAssignmentInstanceId()); - - KaleoTaskAssignmentInstanceLocalServiceUtil.deleteKaleoTaskAssignmentInstance(kaleoTaskAssignmentInstanceApp.getKaleoTaskAssignmentInstanceId()); - } - - - } - - KaleoInstanceLocalServiceUtil.deleteKaleoInstance(kaleoInstance); - } - - - // KaleoInstanceToken - KaleoInstanceToken kaleoInstanceToken = - KaleoInstanceTokenLocalServiceUtil.fetchByClassPk(controAPp.getControlloPraticaId()); - if (kaleoInstanceToken != null) { - KaleoInstanceTokenLocalServiceUtil.deleteKaleoInstanceToken(kaleoInstanceToken.getKaleoInstanceTokenId()); - } - - // KaleoTaskInstanceToken - KaleoTaskInstanceToken kaleoTaskInstanceToken = - KaleoTaskInstanceTokenLocalServiceUtil.fetchByClassPk(controAPp.getControlloPraticaId()); - if (kaleoTaskInstanceToken != null) { - KaleoTaskInstanceTokenLocalServiceUtil.deleteKaleoTaskInstanceToken(kaleoTaskInstanceToken.getKaleoTaskInstanceTokenId()); - } - - WorkflowInstanceLink workflowInstanceLink = - WorkflowInstanceLinkLocalServiceUtil.fetchWorkflowInstanceLink(companyId, intPratica.getGroupId(), - "it.tref.liferay.portos.bo.model.ControlloPratica", controlloPratica.getControlloPraticaId()); - - if (workflowInstanceLink != null) { - WorkflowInstanceLinkLocalServiceUtil.deleteWorkflowInstanceLink(workflowInstanceLink.getWorkflowInstanceLinkId()); - } - - } - - ControlloPraticaLocalServiceUtil.deleteControlloPratica(controAPp.getControlloPraticaId()); - - } - } - - } - - Sorteggio appSorteggio = SorteggioLocalServiceUtil.fetchSorteggio(sorteggio.getSorteggioId()); - SorteggioLocalServiceUtil.deleteSorteggio(appSorteggio.getSorteggioId()); - - } - - } catch (SystemException e) { - _log.error(e, e); - } catch (PortalException e) { - _log.error(e, e); - } - } - - public static void cleanAllSorteggiBrutale(long companyId) { - - try { - ClassLoader classLoader = - (ClassLoader) PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), "portletClassLoader"); - - List lista = SorteggioLocalServiceUtil.getSorteggios(-1, -1); - for (Sorteggio sorteggio : lista) { - - long oldDettPraticaId = 0L; - - IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(sorteggio.getIntPraticaId()); - if (intPratica != null) { - _log.info("**** rimozione oldIntPraticaId = " + intPratica.getOldIntPraticaId()); - - DynamicQuery queryDettProv = DynamicQueryFactoryUtil.forClass(DettPratica.class, classLoader); - queryDettProv.add(RestrictionsFactoryUtil.eq("intPraticaId", intPratica.getIntPraticaId())); - queryDettProv.add(RestrictionsFactoryUtil.eq("integrazione", 0l)); - Order defaultOrderDettPrtatica = OrderFactoryUtil.asc("createDate"); - queryDettProv.addOrder(defaultOrderDettPrtatica); - - List listaDettProv = - DettPraticaLocalServiceUtil.dynamicQuery(queryDettProv, QueryUtil.ALL_POS, QueryUtil.ALL_POS); - if (listaDettProv != null && !listaDettProv.isEmpty()) { - oldDettPraticaId = listaDettProv.get(0).getOldDettPraticaId(); - _log.info("**** oldDettPraticaId Base = " + oldDettPraticaId); - - } - - DynamicQuery queryControlo = DynamicQueryFactoryUtil.forClass(ControlloPratica.class, classLoader); - queryControlo.add(RestrictionsFactoryUtil.eq("intPraticaId", intPratica.getIntPraticaId())); - - List listaControl = - ControlloPraticaLocalServiceUtil.dynamicQuery(queryControlo, QueryUtil.ALL_POS, QueryUtil.ALL_POS); - if (listaControl != null && !listaControl.isEmpty()) { - for (ControlloPratica controlloPratica : listaControl) { - - ControlloPratica controAPp = - ControlloPraticaLocalServiceUtil.fetchControlloPratica(controlloPratica.getControlloPraticaId()); - if (controAPp != null) { - - KaleoInstance kaleoInstance = - KaleoInstanceLocalServiceUtil.fetchByClassPk(controAPp.getControlloPraticaId()); - if (kaleoInstance != null) { - - // Pulisco KaleoLog - List listaLog = KaleoLogLocalServiceUtil.findByClassPk(kaleoInstance.getKaleoInstanceId()); - if (listaLog != null && !listaLog.isEmpty()) { - for (KaleoLog kaleoLog : listaLog) { - KaleoLog kaleoLogApp = KaleoLogLocalServiceUtil.fetchKaleoLog(kaleoLog.getKaleoLogId()); - - KaleoLogLocalServiceUtil.deleteKaleoLog(kaleoLogApp.getKaleoLogId()); - } - } - - // Pulisco KaleoTaskAssignmentInstance - List listaKaleoTaskAssignmentInstance = - KaleoTaskAssignmentInstanceLocalServiceUtil.findByKaleoInstanceId(kaleoInstance.getKaleoInstanceId()); - if (listaKaleoTaskAssignmentInstance != null && !listaKaleoTaskAssignmentInstance.isEmpty()) { - for (KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance : listaKaleoTaskAssignmentInstance) { - KaleoTaskAssignmentInstance kaleoTaskAssignmentInstanceApp = - KaleoTaskAssignmentInstanceLocalServiceUtil.fetchKaleoTaskAssignmentInstance(kaleoTaskAssignmentInstance.getKaleoTaskAssignmentInstanceId()); - - KaleoTaskAssignmentInstanceLocalServiceUtil.deleteKaleoTaskAssignmentInstance(kaleoTaskAssignmentInstanceApp.getKaleoTaskAssignmentInstanceId()); - } - - - } - - KaleoInstanceLocalServiceUtil.deleteKaleoInstance(kaleoInstance); - } - - - // KaleoInstanceToken - KaleoInstanceToken kaleoInstanceToken = - KaleoInstanceTokenLocalServiceUtil.fetchByClassPk(controAPp.getControlloPraticaId()); - if (kaleoInstanceToken != null) { - KaleoInstanceTokenLocalServiceUtil.deleteKaleoInstanceToken(kaleoInstanceToken.getKaleoInstanceTokenId()); - } - - // KaleoTaskInstanceToken - KaleoTaskInstanceToken kaleoTaskInstanceToken = - KaleoTaskInstanceTokenLocalServiceUtil.fetchByClassPk(controAPp.getControlloPraticaId()); - if (kaleoTaskInstanceToken != null) { - KaleoTaskInstanceTokenLocalServiceUtil.deleteKaleoTaskInstanceToken(kaleoTaskInstanceToken.getKaleoTaskInstanceTokenId()); - } - - WorkflowInstanceLink workflowInstanceLink = - WorkflowInstanceLinkLocalServiceUtil.fetchWorkflowInstanceLink(companyId, intPratica.getGroupId(), - "it.tref.liferay.portos.bo.model.ControlloPratica", controlloPratica.getControlloPraticaId()); - - if (workflowInstanceLink != null) { - WorkflowInstanceLinkLocalServiceUtil.deleteWorkflowInstanceLink(workflowInstanceLink.getWorkflowInstanceLinkId()); - } - - } - - ControlloPraticaLocalServiceUtil.deleteControlloPratica(controAPp.getControlloPraticaId()); - - } - } - - - IntPraticaLocalServiceUtil.deleteIntPratica(intPratica, true); - - } - - PraticaImporter.importaSingolaPratica(oldDettPraticaId, companyId); - - } - - } catch (SystemException e) { - _log.error(e, e); - } catch (PortalException e) { - _log.error(e, e); - } - - - } - - public static void pulisciSorteggioAprileWorkflow(List lista, long companyId) throws NumberFormatException, SystemException, PortalException{ - - for (Long controlloPraticaIdString : lista) { - - ControlloPratica controAPp = - ControlloPraticaLocalServiceUtil.fetchControlloPratica(controlloPraticaIdString); - if (controAPp != null) { - - IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(controAPp.getIntPraticaId()); - - KaleoInstance kaleoInstance = - KaleoInstanceLocalServiceUtil.fetchByClassPk(controAPp.getControlloPraticaId()); - if (kaleoInstance != null) { - - // Pulisco KaleoLog - List listaLog = KaleoLogLocalServiceUtil.findByClassPk(kaleoInstance.getKaleoInstanceId()); - if (listaLog != null && !listaLog.isEmpty()) { - for (KaleoLog kaleoLog : listaLog) { - KaleoLog kaleoLogApp = KaleoLogLocalServiceUtil.fetchKaleoLog(kaleoLog.getKaleoLogId()); - - KaleoLogLocalServiceUtil.deleteKaleoLog(kaleoLogApp.getKaleoLogId()); - } - } - - // Pulisco KaleoTaskAssignmentInstance - List listaKaleoTaskAssignmentInstance = - KaleoTaskAssignmentInstanceLocalServiceUtil.findByKaleoInstanceId(kaleoInstance.getKaleoInstanceId()); - if (listaKaleoTaskAssignmentInstance != null && !listaKaleoTaskAssignmentInstance.isEmpty()) { - for (KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance : listaKaleoTaskAssignmentInstance) { - KaleoTaskAssignmentInstance kaleoTaskAssignmentInstanceApp = - KaleoTaskAssignmentInstanceLocalServiceUtil.fetchKaleoTaskAssignmentInstance(kaleoTaskAssignmentInstance.getKaleoTaskAssignmentInstanceId()); - - KaleoTaskAssignmentInstanceLocalServiceUtil.deleteKaleoTaskAssignmentInstance(kaleoTaskAssignmentInstanceApp.getKaleoTaskAssignmentInstanceId()); - } - - - } - - KaleoInstanceLocalServiceUtil.deleteKaleoInstance(kaleoInstance); - } - - - // KaleoInstanceToken - KaleoInstanceToken kaleoInstanceToken = - KaleoInstanceTokenLocalServiceUtil.fetchByClassPk(controAPp.getControlloPraticaId()); - if (kaleoInstanceToken != null) { - KaleoInstanceTokenLocalServiceUtil.deleteKaleoInstanceToken(kaleoInstanceToken.getKaleoInstanceTokenId()); - } - - // KaleoTaskInstanceToken - KaleoTaskInstanceToken kaleoTaskInstanceToken = - KaleoTaskInstanceTokenLocalServiceUtil.fetchByClassPk(controAPp.getControlloPraticaId()); - if (kaleoTaskInstanceToken != null) { - KaleoTaskInstanceTokenLocalServiceUtil.deleteKaleoTaskInstanceToken(kaleoTaskInstanceToken.getKaleoTaskInstanceTokenId()); - } - - WorkflowInstanceLink workflowInstanceLink = - WorkflowInstanceLinkLocalServiceUtil.fetchWorkflowInstanceLink(companyId, intPratica.getGroupId(), - "it.tref.liferay.portos.bo.model.ControlloPratica", controAPp.getControlloPraticaId()); - - if (workflowInstanceLink != null) { - WorkflowInstanceLinkLocalServiceUtil.deleteWorkflowInstanceLink(workflowInstanceLink.getWorkflowInstanceLinkId()); - } - - } - - ControlloPraticaLocalServiceUtil.deleteControlloPratica(controAPp.getControlloPraticaId()); - - } - - } -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/ImportazioneConstant.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/ImportazioneConstant.java deleted file mode 100644 index 542c306a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/ImportazioneConstant.java +++ /dev/null @@ -1,21 +0,0 @@ -package it.tref.liferay.portos.importazione.util; - -public class ImportazioneConstant { - - public static final String TEMPORANY_PASSWORD_CREATION = "1234567890"; - - public static final String OLD_SITE_FIRENZE_CONTAINED = "Firenze"; - public static final String OLD_SITE_PISA_CONTAINED = "Pisa"; - public static final String OLD_SITE_GROSSETO_CONTAINED = "Grosseto"; - public static final String OLD_SITE_LUCCA_CONTAINED = "Lucca"; - public static final String OLD_SITE_MASSA_CONTAINED = "Massa"; - public static final String OLD_SITE_AREZZO_CONTAINED = "Arezzo"; - public static final String OLD_SITE_LIVORNO_CONTAINED = "Livorno"; - public static final String OLD_SITE_FRONTEND_CONTAINED = "Front End"; - - public static final String PORTOS_FE_NAME = "Portos"; - public static final String PORTOS_BO_NAME = "Portos BackOffice"; - // public static final String PORTOS_FE_NAME = "Portos BO"; - // public static final String PORTOS_BO_NAME = "Portos FE"; - -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/ImportazioneUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/ImportazioneUtil.java deleted file mode 100644 index 45449017..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/ImportazioneUtil.java +++ /dev/null @@ -1,191 +0,0 @@ -package it.tref.liferay.portos.importazione.util; - -import it.tref.liferay.portos.bo.shared.util.Constants; -import it.tref.liferay.portos.importazione.model.BoDettPratica; - -import java.math.BigDecimal; -import java.text.DecimalFormat; -import java.text.DecimalFormatSymbols; -import java.util.List; - -import org.apache.commons.lang.StringUtils; - -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.CharPool; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.Organization; -import com.liferay.portal.model.Role; -import com.liferay.portal.model.RoleConstants; -import com.liferay.portal.model.User; -import com.liferay.portal.service.GroupLocalServiceUtil; -import com.liferay.portal.service.OrganizationLocalServiceUtil; -import com.liferay.portal.service.RoleLocalServiceUtil; -import com.liferay.portal.service.UserLocalServiceUtil; -import com.liferay.portal.util.PortalUtil; - - -public class ImportazioneUtil { - - private static Log _log = LogFactoryUtil.getLog(ImportazioneUtil.class); - - static public String convertFascia(long fasciaId) { - - String ret_val = null; - switch ((int) fasciaId) { - case 1: - ret_val = Constants.FASCIA_A; - break; - case 2: - ret_val = Constants.FASCIA_B; - break; - case 3: - ret_val = Constants.FASCIA_C; - break; - - default: - break; - } - - return ret_val; - - } - - public static String convertZona(long zonaId) { - - String ret_val = null; - switch ((int) zonaId) { - case 1: - ret_val = "2"; - break; - case 2: - ret_val = Constants.ZONA_3; - break; - case 3: - ret_val = Constants.ZONA_4; - break; - default: - ret_val = "0"; - break; - } - - return ret_val; - - } - - public static User getAdmin() { - - long companyId = PortalUtil.getDefaultCompanyId(); - - Role role = null; - - try { - - role = getRoleById(companyId, RoleConstants.ADMINISTRATOR); - for (User admin : UserLocalServiceUtil.getRoleUsers(role.getRoleId())) { - return admin; - } - } catch (final Exception e) { - _log.error("Utils::getAdmin Exception", e); - } - return null; - } - - public static User getAdmin(long companyId) { - - Role role = null; - - try { - - role = getRoleById(companyId, RoleConstants.ADMINISTRATOR); - for (User admin : UserLocalServiceUtil.getRoleUsers(role.getRoleId())) { - return admin; - } - } catch (final Exception e) { - _log.error("Utils::getAdmin Exception", e); - } - return null; - } - - public static Role getRoleById(final long companyId, final String roleStrId) { - - try { - return RoleLocalServiceUtil.getRole(companyId, roleStrId); - - } catch (final Exception e) { - _log.error("Utils::getRoleById Exception", e); - } - - return null; - } - - public static long getGroupIdOrganizationByProvincia(String provincia) throws SystemException, PortalException { - - List organizations = - OrganizationLocalServiceUtil.getOrganizations(QueryUtil.ALL_POS, QueryUtil.ALL_POS); - for (Organization org : organizations) { - if (provincia.toUpperCase().equals(org.getName().toUpperCase())) { - return GroupLocalServiceUtil.getOrganizationGroup(org.getCompanyId(), org.getOrganizationId()).getGroupId(); - } - } - - if (provincia.toUpperCase().equals("massa-carrara".toUpperCase())) { - for (Organization org : organizations) { - if ("massa carrara".toUpperCase().equals(org.getName().toUpperCase())) { - return GroupLocalServiceUtil.getOrganizationGroup(org.getCompanyId(), org.getOrganizationId()).getGroupId(); - } - } - } - return 0l; - - } - - public static String formatToString(BigDecimal bd) { - - if (Validator.isNull(bd)) { - return BigDecimal.ZERO.toPlainString(); - } - - bd.setScale(2, BigDecimal.ROUND_CEILING); - DecimalFormatSymbols symbols = new DecimalFormatSymbols(); - symbols.setGroupingSeparator(CharPool.PERIOD); - symbols.setDecimalSeparator(CharPool.PERIOD); - DecimalFormat decimalFormat = new DecimalFormat(); - decimalFormat.setMaximumFractionDigits(2); - decimalFormat.setMinimumFractionDigits(2); - decimalFormat.setDecimalFormatSymbols(symbols); - decimalFormat.setGroupingUsed(false); - - return decimalFormat.format(bd); - } - - public static String getFolderName(BoDettPratica dettPratica) { - - return StringUtils.leftPad(String.valueOf(dettPratica.getDettPraticaId()), 10, '0') + StringPool.UNDERLINE - + dettPratica.getCodPraticaSuap(); - } - - // public static String verifyOldCodIstatComune(String oldCodiceIstat) throws JSONException { - // - // String listaVecchiComuni = PortletProps.get("vecchiComuni"); - // JSONObject json = JSONFactoryUtil.createJSONObject(listaVecchiComuni); - // - // JSONArray array = json.getJSONArray("comuniCambiati"); - // for (int i = 0; i < array.length(); i++) { - // JSONObject obj = array.getJSONObject(i); - // String value = obj.getString(oldCodiceIstat); - // if (value != null && !value.equals("")) { - // return value; - // } - // } - // - // return ""; - // - // } - - -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/PraticaImporter.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/PraticaImporter.java deleted file mode 100644 index 57b00bd6..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/PraticaImporter.java +++ /dev/null @@ -1,2921 +0,0 @@ -package it.tref.liferay.portos.importazione.util; - -import it.tref.liferay.portos.bo.NoSuchTerritorioException; -import it.tref.liferay.portos.bo.model.AllegatoManuale; -import it.tref.liferay.portos.bo.model.Avviso; -import it.tref.liferay.portos.bo.model.Collaudo; -import it.tref.liferay.portos.bo.model.Comunicazione; -import it.tref.liferay.portos.bo.model.ControlloPratica; -import it.tref.liferay.portos.bo.model.DettPratica; -import it.tref.liferay.portos.bo.model.DocAggiuntiva; -import it.tref.liferay.portos.bo.model.DocPratica; -import it.tref.liferay.portos.bo.model.FineLavori; -import it.tref.liferay.portos.bo.model.IntPratica; -import it.tref.liferay.portos.bo.model.Pagamento; -import it.tref.liferay.portos.bo.model.ParereGeologo; -import it.tref.liferay.portos.bo.model.Soggetto; -import it.tref.liferay.portos.bo.model.StoricoSoggettoPratica; -import it.tref.liferay.portos.bo.model.Territorio; -import it.tref.liferay.portos.bo.service.AllegatoManualeLocalServiceUtil; -import it.tref.liferay.portos.bo.service.AvvisoLocalServiceUtil; -import it.tref.liferay.portos.bo.service.ClpSerializer; -import it.tref.liferay.portos.bo.service.CollaudoLocalServiceUtil; -import it.tref.liferay.portos.bo.service.ComunicazioneLocalServiceUtil; -import it.tref.liferay.portos.bo.service.ConfigurazioneLocalServiceUtil; -import it.tref.liferay.portos.bo.service.ControlloPraticaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.DettPraticaServiceUtil; -import it.tref.liferay.portos.bo.service.DocAggiuntivaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.DocPraticaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.FineLavoriLocalServiceUtil; -import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.PagamentoLocalServiceUtil; -import it.tref.liferay.portos.bo.service.ParereGeologoLocalServiceUtil; -import it.tref.liferay.portos.bo.service.SoggettoLocalServiceUtil; -import it.tref.liferay.portos.bo.service.StoricoSoggettoPraticaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.TerritorioLocalServiceUtil; -import it.tref.liferay.portos.bo.shared.bean.FirmeBean; -import it.tref.liferay.portos.bo.shared.util.DocumentiPraticaUtil; -import it.tref.liferay.portos.bo.shared.util.FirmeUtil; -import it.tref.liferay.portos.bo.shared.util.PagamentoConstants; -import it.tref.liferay.portos.bo.shared.util.StatoPraticaConstants; -import it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil; -import it.tref.liferay.portos.bo.shared.util.TipoSoggettoUtil; -import it.tref.liferay.portos.bo.util.AvvisoUtil; -import it.tref.liferay.portos.bo.util.SoggettiUtil; -import it.tref.liferay.portos.importazione.model.BoAvviso; -import it.tref.liferay.portos.importazione.model.BoDettPratica; -import it.tref.liferay.portos.importazione.model.BoDocPratica; -import it.tref.liferay.portos.importazione.model.BoIntPratica; -import it.tref.liferay.portos.importazione.model.BoRelLeggiPratica; -import it.tref.liferay.portos.importazione.model.BoSistemaCostruttivo; -import it.tref.liferay.portos.importazione.model.BoSoggetto; -import it.tref.liferay.portos.importazione.model.BoStoricoSoggettoPratica; -import it.tref.liferay.portos.importazione.model.FeDettPratica; -import it.tref.liferay.portos.importazione.model.FeIntPratica; -import it.tref.liferay.portos.importazione.model.FePagamento; -import it.tref.liferay.portos.importazione.model.KaleoInstance; -import it.tref.liferay.portos.importazione.model.KaleoInstanceToken; -import it.tref.liferay.portos.importazione.model.KaleoLog; -import it.tref.liferay.portos.importazione.model.KaleoNode; -import it.tref.liferay.portos.importazione.model.KaleoTask; -import it.tref.liferay.portos.importazione.model.KaleoTaskAssignmentInstance; -import it.tref.liferay.portos.importazione.model.KaleoTaskInstanceToken; -import it.tref.liferay.portos.importazione.model.OldDLFileEntry; -import it.tref.liferay.portos.importazione.model.OldDLFolder; -import it.tref.liferay.portos.importazione.model.OldUser; -import it.tref.liferay.portos.importazione.model.StatoImportazione; -import it.tref.liferay.portos.importazione.service.BoAvvisoLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.BoConfigurazioneLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.BoDettPraticaLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.BoDocPraticaLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.BoIntPraticaLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.BoRelLeggiPraticaLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.BoSistemaCostruttivoLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.BoSoggettoLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.BoStoricoSoggettoPraticaLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.FeDettPraticaLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.FeIntPraticaLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.FePagamentoLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.KaleoInstanceLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.KaleoInstanceTokenLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.KaleoLogLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.KaleoNodeLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.KaleoTaskAssignmentInstanceLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.KaleoTaskInstanceTokenLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.KaleoTaskLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.OldDLFolderLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.OldUserLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.StatoImportazioneLocalServiceUtil; - -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.Calendar; -import java.util.Date; -import java.util.List; - -import org.apache.commons.lang.time.DateUtils; - -import com.liferay.counter.service.CounterLocalServiceUtil; -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Order; -import com.liferay.portal.kernel.dao.orm.OrderFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Property; -import com.liferay.portal.kernel.dao.orm.PropertyFactoryUtil; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.RestrictionsFactoryUtil; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.json.JSONArray; -import com.liferay.portal.kernel.json.JSONFactoryUtil; -import com.liferay.portal.kernel.json.JSONObject; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.kernel.workflow.WorkflowConstants; -import com.liferay.portal.model.User; -import com.liferay.portal.model.WorkflowInstanceLink; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.service.UserLocalServiceUtil; -import com.liferay.portal.service.WorkflowInstanceLinkLocalServiceUtil; - -public class PraticaImporter { - - private static Log _log = LogFactoryUtil.getLog(PraticaImporter.class); - - - public static void cleanIntPraticaNotExist(long companyId) throws PortalException{ - - try { - - ClassLoader classLoader = - (ClassLoader) PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), "portletClassLoader"); - - List lista = IntPraticaLocalServiceUtil.findIntPraticaNotExist(); - for (DettPratica dettPratica : lista) { - - IntPratica intPraticaVerify = IntPraticaLocalServiceUtil.fetchIntPratica(dettPratica.getIntPraticaId()); - if(intPraticaVerify == null){ - - IntPratica intPratica = IntPraticaLocalServiceUtil.createIntPratica(dettPratica.getIntPraticaId()); - intPratica.setCompanyId(companyId); - intPratica.setUserId(dettPratica.getUserId()); - intPratica.setUserName(dettPratica.getUserName()); - intPratica.setGroupId(dettPratica.getGroupId()); - - - if(dettPratica.getOldDettPraticaId() != 0L){ - - _log.info("PROCESSO E RECUPERO INTPRATICA PER DETTPRATICAID=" + dettPratica.getDettPraticaId() + " E OLDDETTPRATICAID=" + dettPratica.getOldDettPraticaId()); - - BoDettPratica boDettPratica = BoDettPraticaLocalServiceUtil.fetchBoDettPratica(dettPratica.getOldDettPraticaId()); - if(boDettPratica != null){ - BoIntPratica boIntPratica = BoIntPraticaLocalServiceUtil.fetchBoIntPratica(boDettPratica.getIntPraticaId()); - if(boIntPratica != null){ - - Territorio territorio = TerritorioLocalServiceUtil.fetchByOldTerriotioId(boIntPratica.getTerritorioId()); - if (Validator.isNull(territorio)) { - _log.info("non ci sono territori - oldTerritorioId=" + boIntPratica.getTerritorioId()); - return ; - } - - String codiceFiscaleTitolare = boIntPratica.getCodiceFiscaleUtenteSuap(); - if (Validator.isNull(codiceFiscaleTitolare)) { - codiceFiscaleTitolare = boIntPratica.getCodiceFiscaleDelegato(); - } - - User user = UserLocalServiceUtil.fetchUserByScreenName(companyId, codiceFiscaleTitolare); - - _log.info("importing newIntPratica " + intPratica.getIntPraticaId()); - - intPratica.setCompanyId(territorio.getCompanyId()); - intPratica.setCreateDate(boIntPratica.getCreateDate()); - intPratica.setDtPratica(boIntPratica.getDtPratica()); - intPratica.setGroupId(territorio.getGroupId()); - intPratica.setDtSorteggio(boIntPratica.getDtSorteggio()); - intPratica.setEsitoControllo(boIntPratica.getEsitoControllo()); - intPratica.setModifiedDate(boIntPratica.getModifiedDate()); - intPratica.setNumeroProgetto(boIntPratica.getNumeroProgetto()); - intPratica.setOldIntPraticaId(boIntPratica.getIntPraticaId()); - if (boIntPratica.getStatoPratica().equalsIgnoreCase(StatoPraticaConstants.CAMBIO_ISTRUTTORE)) { - intPratica.setStatoPratica(StatoPraticaConstants.VIDIMATA); - } else if (boIntPratica.getStatoPratica().equalsIgnoreCase(StatoPraticaConstants.AUTORIZZATA)) { - intPratica.setStatoPratica(StatoPraticaConstants.CONFORME); - } else if (boIntPratica.getStatoPratica().equalsIgnoreCase(StatoPraticaConstants.NON_AUTORIZZATA)) { - intPratica.setStatoPratica(StatoPraticaConstants.NON_CONFORME); - } else if (boIntPratica.getStatoPratica().equalsIgnoreCase(StatoPraticaConstants.ANNULLA_ISTANZA)) { - intPratica.setStatoPratica(StatoPraticaConstants.ANNULLATA); - } else { - intPratica.setStatoPratica(boIntPratica.getStatoPratica()); - } - - intPratica.setStatus(boIntPratica.getStatus()); - - OldUser oldUserStatus = OldUserLocalServiceUtil.fetchOldUser(boIntPratica.getStatusByUserId()); - if (oldUserStatus != null) { - User userStatus = UserLocalServiceUtil.fetchUserByScreenName(companyId, oldUserStatus.getScreenName()); - if (userStatus != null) { - intPratica.setStatusByUserId(userStatus.getUserId()); - } - } - - - intPratica.setStatusDate(boIntPratica.getStatusDate()); - intPratica.setTerritorioId(territorio.getTerritorioId()); - intPratica.setTipoPratica("0" + boIntPratica.getTipoPraticaId()); - intPratica.setUserName(user.getScreenName()); - intPratica.setUserId(user.getUserId()); - intPratica.setValidata(boIntPratica.getValidata()); - - intPratica = IntPraticaLocalServiceUtil.updateIntPratica(intPratica); - - // Controllo il variatoDa - if (Validator.isNotNull(boIntPratica.getVariataDa()) && boIntPratica.getVariataDa() > 0) { - importaVariataDa(boIntPratica.getVariataDa(), intPratica.getIntPraticaId(), companyId); - } - - } - - } else { - _log.info("QUESTA E UNA NUOVA INTPRATICA = " + dettPratica.getIntPraticaId() + " PER LA DETTPRATICAID=" + dettPratica.getDettPraticaId()); - } - } - } - } - - } catch (SystemException e) { - _log.error(e,e); - } catch (Exception e) { - _log.error(e,e); - } - - - } - - public static void cleanIntPraticaNotExist2(long companyId) throws PortalException{ - - try { - - ClassLoader classLoader = - (ClassLoader) PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), "portletClassLoader"); - - List lista = IntPraticaLocalServiceUtil.findIntPraticaNotExist(); - for (DettPratica dettPratica : lista) { - - IntPratica intPraticaVerify = IntPraticaLocalServiceUtil.fetchIntPratica(dettPratica.getIntPraticaId()); - if(intPraticaVerify == null){ - BoDettPratica boDettPratica = BoDettPraticaLocalServiceUtil.fetchBoDettPratica(dettPratica.getOldDettPraticaId()); - if(boDettPratica != null){ - BoIntPratica boIntPratica = BoIntPraticaLocalServiceUtil.fetchBoIntPratica(boDettPratica.getIntPraticaId()); - if(boIntPratica != null){ - - long boIntPraticaBase = getBoIntPraticaBase(boIntPratica.getIntPraticaId()); - - long boDettPraticaBase = getBoDettPraticaBase(boIntPraticaBase); - if(boDettPraticaBase != 0L){ - // Cancello Fascicolo - _log.info("Pulisco e importo di nuovo il fascicolo"); - // deleteFascicolo(dettPratica.getIntPraticaId(), companyId); - - // Importa Fascicolo Da Portos 1 - // PraticaImporter.importaSingolaPratica(boDettPraticaBase, companyId); - - } - } - - } - } - - } - - } catch (SystemException e) { - _log.error(e,e); - } - - - } - - - private static long getBoIntPraticaBase(String numeroProgetto) throws SystemException{ - - DynamicQuery query = DynamicQueryFactoryUtil.forClass(BoIntPratica.class); - query.add(RestrictionsFactoryUtil.eq("numeroProgetto", numeroProgetto)); - Order defaultOrderDettPrtatica = OrderFactoryUtil.desc("createDate"); - query.addOrder(defaultOrderDettPrtatica); - - List appList = BoIntPraticaLocalServiceUtil.dynamicQuery(query); - - - return 0l; - } - - private static long getBoDettPraticaBase(long boIntPraticaId) throws SystemException{ - - long dettPraticaIdBase = 0l; - - DynamicQuery query = DynamicQueryFactoryUtil.forClass(BoDettPratica.class); - query.add(RestrictionsFactoryUtil.eq("intPraticaId", boIntPraticaId)); - - List appList = BoDettPraticaLocalServiceUtil.dynamicQuery(query); - if(appList != null && !appList.isEmpty()){ - - } - - return dettPraticaIdBase; - } - - private static long getBoIntPraticaBase(long boIntPraticaId) throws SystemException{ - - long intPraticaIdBase = 0l; - - DynamicQuery query = DynamicQueryFactoryUtil.forClass(BoIntPratica.class); - query.add(RestrictionsFactoryUtil.eq("variataDa", boIntPraticaId)); - Order defaultOrderDettPrtatica = OrderFactoryUtil.desc("createDate"); - query.addOrder(defaultOrderDettPrtatica); - - List appList = BoIntPraticaLocalServiceUtil.dynamicQuery(query); - if(appList != null && !appList.isEmpty()){ - intPraticaIdBase = getBoIntPraticaBase(appList.get(0).getIntPraticaId()); - } else { - intPraticaIdBase = boIntPraticaId; - } - - return intPraticaIdBase; - } - - public static void cleanSoggettoDigitale(long companyId){ - - try { - - List listas = StoricoSoggettoPraticaLocalServiceUtil.getStoricoSoggettoPraticas(-1, -1); - for (StoricoSoggettoPratica storicoSoggettoPratica : listas) { - IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(storicoSoggettoPratica.getIntPraticaId()); - if(intPratica != null){ - - String numeroProgetto = intPratica.getNumeroProgetto(); - - DynamicQuery query = DynamicQueryFactoryUtil.forClass(BoIntPratica.class); - query.add(RestrictionsFactoryUtil.eq("numeroProgetto", numeroProgetto)); - Order defaultOrderDettPrtatica = OrderFactoryUtil.desc("createDate"); - query.addOrder(defaultOrderDettPrtatica); - - List bosLista = BoIntPraticaLocalServiceUtil.dynamicQuery(query); - if(bosLista != null && !bosLista.isEmpty()){ - BoIntPratica boIntPratica = bosLista.get(0); - - String codiceFiscaleutenteSuap = boIntPratica.getCodiceFiscaleUtenteSuap(); - User user = UserLocalServiceUtil.fetchUserByScreenName(companyId, codiceFiscaleutenteSuap); - if(user != null){ - - int exist = SoggettoLocalServiceUtil.countValidByIntPratica_CodiceFiscale(intPratica.getIntPraticaId(), codiceFiscaleutenteSuap); - if(exist > 0){ - intPratica.setUserId(user.getUserId()); - intPratica.setUserName(codiceFiscaleutenteSuap); - IntPraticaLocalServiceUtil.updateIntPratica(intPratica); - - ClassLoader classLoader = (ClassLoader) PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), "portletClassLoader"); - - DynamicQuery queryDett = DynamicQueryFactoryUtil.forClass(DettPratica.class, classLoader); - queryDett.add(RestrictionsFactoryUtil.eq("intPraticaId", intPratica.getIntPraticaId())); - - Calendar calendar = Calendar.getInstance(); - Date nowDate = calendar.getTime(); - Date fromDate = DateUtils.truncate(storicoSoggettoPratica.getCreateDate(), Calendar.DAY_OF_MONTH); - - Property createDateProperty = PropertyFactoryUtil.forName("createDate"); - queryDett.add(createDateProperty.between(fromDate, nowDate)); - - List listDett = DettPraticaLocalServiceUtil.dynamicQuery(queryDett,-1,-1); - if(listDett != null && !listDett.isEmpty()){ - for (DettPratica dettPraticaApp : listDett) { - - DettPratica dettPratica = DettPraticaLocalServiceUtil.fetchDettPratica(dettPraticaApp.getDettPraticaId()); - dettPratica.setCodiceFiscaleDelegatoCommittente(codiceFiscaleutenteSuap); - - DettPraticaLocalServiceUtil.updateDettPratica(dettPratica); - - _log.info("Pulizia compleatata"); - } - } else { - DettPratica dettPratica = DettPraticaLocalServiceUtil.getLastCompletedByIntPratica(intPratica.getIntPraticaId()); - if(dettPratica != null){ - dettPratica.setCodiceFiscaleDelegatoCommittente(codiceFiscaleutenteSuap); - DettPraticaLocalServiceUtil.updateDettPratica(dettPratica); - } - } - - } else { - _log.info("Non esiste un soggetto nella pratica con codfisc = " + codiceFiscaleutenteSuap); - } - - } else { - _log.info("Non esiste utente con codfisc = " + codiceFiscaleutenteSuap); - } - } - - - } - } - - } catch (SystemException e) { - _log.error(e,e); - } catch (PortalException e) { - _log.error(e,e); - } - - } - - public static void importaPerPreProd(long companyId) { - - List listaDaLavorare = new ArrayList(); - - try { - - DynamicQuery query = DynamicQueryFactoryUtil.forClass(BoIntPratica.class); - query.add(RestrictionsFactoryUtil.eq("statoPratica", "CL")); - - Calendar calendar = Calendar.getInstance(); - Date nowDate = calendar.getTime(); - - calendar.set(Calendar.YEAR, 2017); - calendar.set(Calendar.MONTH, Calendar.JANUARY); - calendar.set(Calendar.DAY_OF_MONTH, 1); - Date fromDate = calendar.getTime(); - - Property createDateProperty = PropertyFactoryUtil.forName("createDate"); - query.add(createDateProperty.between(fromDate, nowDate)); - - Order defaultOrderDettPrtatica = OrderFactoryUtil.asc("createDate"); - query.addOrder(defaultOrderDettPrtatica); - - List listaBoIntPratica = BoIntPraticaLocalServiceUtil.dynamicQuery(query); - if (listaBoIntPratica != null) { - for (BoIntPratica boIntPratica : listaBoIntPratica) { - if (boIntPratica.getVariataDa() == 0) { - // Mi prendo la dettpratica relativa alla int pratica e aggiungo a lista - listaDaLavorare.add(getBoDettPraticaPerPreProd(boIntPratica.getIntPraticaId())); - - } else { - listaDaLavorare.add(importaVariataDaPreProd(boIntPratica.getIntPraticaId())); - } - } - - - // PARTE DUE - DynamicQuery query2 = DynamicQueryFactoryUtil.forClass(BoIntPratica.class); - query2.add(RestrictionsFactoryUtil.eq("statoPratica", "FL")); - query2.add(RestrictionsFactoryUtil.eq("collaudoStatico", false)); - - Property createDateProperty2 = PropertyFactoryUtil.forName("createDate"); - query2.add(createDateProperty2.between(fromDate, nowDate)); - - Order defaultOrderDettPrtatica2 = OrderFactoryUtil.asc("createDate"); - query2.addOrder(defaultOrderDettPrtatica2); - - - List listaBoIntPratica2 = BoIntPraticaLocalServiceUtil.dynamicQuery(query2); - if (listaBoIntPratica != null) { - for (BoIntPratica boIntPratica : listaBoIntPratica2) { - if (boIntPratica.getVariataDa() == 0) { - // Mi prendo la dettpratica relativa alla int pratica e aggiungo a lista - listaDaLavorare.add(getBoDettPraticaPerPreProd(boIntPratica.getIntPraticaId())); - - } else { - listaDaLavorare.add(importaVariataDaPreProd(boIntPratica.getIntPraticaId())); - } - - } - - } - - - } - } catch (SystemException e) { - _log.error(e, e); - } - - if (listaDaLavorare != null) { - for (BoDettPratica boDettPratica : listaDaLavorare) { - try { - importaPratica(boDettPratica, 20155); - } catch (Exception e) { - _log.error(e, e); - } - } - } - - - } - - public static BoDettPratica importaVariataDaPreProd(long boIntPraticaIdVariataDa) throws SystemException { - - BoIntPratica oldIntPratica = BoIntPraticaLocalServiceUtil.fetchBoIntPratica(boIntPraticaIdVariataDa); - if (oldIntPratica != null) { - if (oldIntPratica.getVariataDa() == 0) { - - return getBoDettPraticaPerPreProd(oldIntPratica.getIntPraticaId()); - - } else { - importaVariataDaPreProd(oldIntPratica.getVariataDa()); - } - - } - - return null; - - } - - private static BoDettPratica getBoDettPraticaPerPreProd(long boIntPraticaId) throws SystemException { - - DynamicQuery query = DynamicQueryFactoryUtil.forClass(BoDettPratica.class); - query.add(RestrictionsFactoryUtil.eq("intPraticaId", boIntPraticaId)); - query.add(RestrictionsFactoryUtil.eq("integrazione", 0l)); - query.add(RestrictionsFactoryUtil.eq("validata", true)); - Order defaultOrderDettPrtatica = OrderFactoryUtil.asc("createDate"); - query.addOrder(defaultOrderDettPrtatica); - - List listas = BoDettPraticaLocalServiceUtil.dynamicQuery(query); - if (listas != null && !listas.isEmpty()) { - return listas.get(0); - } - - return null; - } - - public static void importaSingolaPratica(long oldDettPraticaId, long companyId) { - - try { - - BoDettPratica boDettPratica = BoDettPraticaLocalServiceUtil.fetchBoDettPratica(oldDettPraticaId); - if (boDettPratica != null) { - - importaPratica(boDettPratica, companyId); - - } else { - _log.warn("La BoDettPratica richiesta non esiste"); - } - - } catch (SystemException e) { - trackImportException(oldDettPraticaId, e.getMessage()); - _log.error(e, e); - } catch (Exception e) { - trackImportException(oldDettPraticaId, e.getMessage()); - _log.error(e, e); - } - - - } - - public static void importaBundle(List ids, long companyId) { - - _log.info("Importing " + ids.toString()); - for (Long id : ids) { - importaSingolaPratica(id, companyId); - } - } - - public static void importazioneStarterForce(long companyId) { - - try { - - List lista = new ArrayList(); - - DynamicQuery query = DynamicQueryFactoryUtil.forClass(BoDettPratica.class); - query.add(RestrictionsFactoryUtil.eq("integrazione", 0l)); - query.add(RestrictionsFactoryUtil.eq("validata", true)); - - Order defaultOrder = OrderFactoryUtil.asc("createDate"); - query.addOrder(defaultOrder); - - int start = -1; - int end = -1; - - lista = BoDettPraticaLocalServiceUtil.dynamicQuery(query, start, end); - - if (lista != null && !lista.isEmpty()) { - for (BoDettPratica boDettPratica : lista) { - importaPratica(boDettPratica, companyId); - } - } - - } catch (SystemException e) { - _log.error(e, e); - } catch (Exception e) { - _log.error(e, e); - } - - } - - public static void importaPratica(BoDettPratica oldDettPratica, long companyId) throws Exception { - - // User defaultUser = ImportazioneUtil.getAdmin(); - // - // try { - // - // PermissionThreadLocal.setPermissionChecker(PermissionCheckerFactoryUtil.create(defaultUser)); - // - // } catch (Exception e) { - // - // throw new SystemException(e); - // } - - try { - - _log.info("************************************"); - _log.info("PROCESSING OLD DETT PRATICA ID = " + oldDettPratica.getDettPraticaId()); - - DettPratica dettPratica = DettPraticaLocalServiceUtil.fetchByOldDettPraticaId(oldDettPratica.getDettPraticaId()); - if (Validator.isNull(dettPratica)) { - IntPratica intPratica = IntPraticaLocalServiceUtil.fetchByOldIntPraticaId(oldDettPratica.getIntPraticaId()); - if (intPratica == null) { - - BoIntPratica oldIntPratica = BoIntPraticaLocalServiceUtil.getBoIntPratica(oldDettPratica.getIntPraticaId()); - - if (oldIntPratica.getVarianteNumero() > 0) { - _log.info("Si tratta di variante...esco"); - return; - } - - IntPratica newIntPratica = importaIntPratica(oldIntPratica, companyId); - if (newIntPratica != null) { - // Controllo ed inserimento storico soggetto - importaStoricoSoggettoPratica(oldDettPratica.getIntPraticaId(), newIntPratica.getIntPraticaId(), companyId, - oldIntPratica.getTerritorioId()); - - DettPratica newDettPratica = - importaDettPratica(oldDettPratica, oldIntPratica, newIntPratica.getIntPraticaId(), companyId, false); - - - // Controllo le dettPratiche vecchie di integrazione - DynamicQuery queryIntegrazione = DynamicQueryFactoryUtil.forClass(BoDettPratica.class); - queryIntegrazione.add(RestrictionsFactoryUtil.eq("intPraticaId", oldIntPratica.getIntPraticaId())); - queryIntegrazione.add(RestrictionsFactoryUtil.isNotNull("tipoIntegrazione")); - queryIntegrazione.add(RestrictionsFactoryUtil.eq("validata", true)); - - List listaIntegrazione = BoDettPraticaLocalServiceUtil.dynamicQuery(queryIntegrazione); - if (Validator.isNotNull(listaIntegrazione) && !listaIntegrazione.isEmpty()) { - for (BoDettPratica oldDettPraticaIntegrazione : listaIntegrazione) { - - DettPratica dettPraticaIntegrazione = - DettPraticaLocalServiceUtil.fetchByOldDettPraticaId(oldDettPraticaIntegrazione.getDettPraticaId()); - if (Validator.isNull(dettPraticaIntegrazione)) { - if (tipoIntegrazioneAccettata(oldDettPraticaIntegrazione.getTipoIntegrazione())) { - - importaDettPratica(oldDettPraticaIntegrazione, oldIntPratica, newIntPratica.getIntPraticaId(), - companyId, false); - - } else { - - if (oldDettPraticaIntegrazione.getTipoIntegrazione().equals("07") - || oldDettPraticaIntegrazione.getTipoIntegrazione().equals("09")) { - - importaFineLavori(oldDettPraticaIntegrazione, oldIntPratica, - oldDettPraticaIntegrazione.getTipoIntegrazione(), newIntPratica.getIntPraticaId(), companyId); - - } else if (oldDettPraticaIntegrazione.getTipoIntegrazione().equals("08") - || oldDettPraticaIntegrazione.getTipoIntegrazione().equals("10")) { - importaCollaudo(oldDettPraticaIntegrazione, oldDettPraticaIntegrazione.getTipoIntegrazione(), - newIntPratica.getIntPraticaId(), oldIntPratica, companyId); - } - - } - } - - } - - // Controllo il variatoDa - if (Validator.isNotNull(oldIntPratica.getVariataDa()) && oldIntPratica.getVariataDa() > 0) { - importaVariataDa(oldIntPratica.getVariataDa(), newIntPratica.getIntPraticaId(), companyId); - } - - } - - } - - - } else { - _log.info("int pratica gia importata - NEW intPraticaId=" + intPratica.getIntPraticaId()); - } - - } else { - _log.info("dett pratica gia importata - NEW dettPraticaId=" + dettPratica.getDettPraticaId()); - return; - } - - // Lavoro nuovamente i soggetti - reProcessSoggetti(); - - - /* - * STEP 1 prendo la dett pratica vecchia e controllo che mon sia stata gia importata che sia - * valida e che non sia integrazione prendo l intpraticaid e verifico che non sia stato gia - * importato importo la intpratica nel nuovo portale importo il dett pratica nel nuovo portale - * una volta importato il dettpratica ritorno all intpratica e verifico che sia valorizzato il - * variataDa, in quel caso recupero tutta la filiera delle variateDa collegate e di queste - * intPratiche mi prendo il dettPratica collegato e lo porto sul nuovo puntandolo a quello di - * partenza e sul nuovo la importo come variante ( ovvero mwettendo tipoIntegrazione = 13 ) - * una volta terminato anche questo recupero tutti i dettPratica che hanno come intPratica - * l'oldIntPraticaId che sto importando e che abbiano valorizzato il campo integrazione con - * maggiore di zero e che il campo tipoIntegrazione sia diverso da 07 08 09 010. Se saranno - * cosi capiremo poi come importarle...perche sono fine lavori e collaudi - */ - - } catch (SystemException e) { - trackImportException(oldDettPratica.getDettPraticaId(), e.getMessage()); - _log.error(e, e); - } catch (PortalException e) { - trackImportException(oldDettPratica.getDettPraticaId(), e.getMessage()); - _log.error(e, e); - } - - } - - private static void reProcessSoggetti() throws SystemException, PortalException { - - ClassLoader classLoader = - (ClassLoader) PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), "portletClassLoader"); - - DynamicQuery querySoggetto = DynamicQueryFactoryUtil.forClass(Soggetto.class, classLoader); - querySoggetto.add(RestrictionsFactoryUtil.eq("rimosso", true)); - - List soggettis = - SoggettoLocalServiceUtil.dynamicQuery(querySoggetto, QueryUtil.ALL_POS, QueryUtil.ALL_POS); - - - if (Validator.isNotNull(soggettis) && !soggettis.isEmpty()) { - for (Soggetto soggetto : soggettis) { - - IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(soggetto.getIntPraticaId()); - if (Validator.isNotNull(intPratica)) { - - DynamicQuery query = DynamicQueryFactoryUtil.forClass(BoDettPratica.class); - query.add(RestrictionsFactoryUtil.eq("intPraticaId", intPratica.getOldIntPraticaId())); - query.add(RestrictionsFactoryUtil.isNotNull("tipoIntegrazione")); - query.addOrder(OrderFactoryUtil.asc("dettPraticaId")); - - List oldDettPraticas = - BoDettPraticaLocalServiceUtil.dynamicQuery(query, QueryUtil.ALL_POS, QueryUtil.ALL_POS); - - if (Validator.isNotNull(oldDettPraticas) && !oldDettPraticas.isEmpty()) { - for (BoDettPratica boDettPratica : oldDettPraticas) { - - DynamicQuery queryOldSoggetto = DynamicQueryFactoryUtil.forClass(BoSoggetto.class); - queryOldSoggetto.add(RestrictionsFactoryUtil.eq("dettPraticaId", boDettPratica.getDettPraticaId())); - queryOldSoggetto.add(RestrictionsFactoryUtil.eq("codiceFiscale", soggetto.getCodiceFiscale())); - queryOldSoggetto.add(RestrictionsFactoryUtil.eq("sostituito", true)); - - List oldSoggettis = BoSoggettoLocalServiceUtil.dynamicQuery(queryOldSoggetto); - if (Validator.isNotNull(oldSoggettis) && !oldSoggettis.isEmpty()) { - - Soggetto soggettoForUpdate = SoggettoLocalServiceUtil.getSoggetto(soggetto.getSoggettoId()); - DettPratica newDettPratica = - DettPraticaLocalServiceUtil.fetchByOldDettPraticaId(boDettPratica.getDettPraticaId()); - - soggettoForUpdate.setDettPraticaIdRimozione(newDettPratica.getDettPraticaId()); - soggettoForUpdate.setDtDataRimozione(boDettPratica.getDataEffettuazione()); - - SoggettoLocalServiceUtil.updateSoggetto(soggettoForUpdate); - - } - - } - - } - - } - - - } - } - - } - - private static long createIdFineLavori() throws SystemException{ - - long fineLavoriId = CounterLocalServiceUtil.increment(FineLavori.class.getName()); - FineLavori fineLavori = FineLavoriLocalServiceUtil.fetchFineLavori(fineLavoriId); - if(fineLavori != null){ - fineLavoriId = createIdFineLavori(); - } - - return fineLavoriId; - } - - private static void importaFineLavori(BoDettPratica oldDettPratica, BoIntPratica oldIntPratica, - String tipoIntegrazione, long newIntPraticaId, long companyId) throws SystemException, PortalException { - - Territorio territorio = TerritorioLocalServiceUtil.fetchByOldTerriotioId(oldIntPratica.getTerritorioId()); - if (Validator.isNull(territorio)) { - _log.info("non ci sono territori - oldTerritorioId=" + oldIntPratica.getTerritorioId()); - return; - } - - String codiceFiscaleTitolare = oldIntPratica.getCodiceFiscaleUtenteSuap(); - if (Validator.isNull(codiceFiscaleTitolare)) { - codiceFiscaleTitolare = oldIntPratica.getCodiceFiscaleDelegato(); - } - - User user = UserLocalServiceUtil.fetchUserByScreenName(companyId, codiceFiscaleTitolare); - if (Validator.isNull(user)) { - _log.info("non ci sono user con screenName= " + codiceFiscaleTitolare + " - scarto la pratica"); - return; - } - - FineLavori fineLavori = FineLavoriLocalServiceUtil.fetchByOldDettPraticaId(oldDettPratica.getDettPraticaId()); - if (Validator.isNull(fineLavori)) { - - IntPratica newIntPratica = IntPraticaLocalServiceUtil.fetchIntPratica(newIntPraticaId); - int numeroProgressivo = FineLavoriLocalServiceUtil.countByIntPraticaId_Completata(newIntPraticaId, true) + 1; - - long fineLavoriId = createIdFineLavori(); - - fineLavori = - FineLavoriLocalServiceUtil.createFineLavori(fineLavoriId); - - fineLavori.setCausalePagamento(oldDettPratica.getCausalePagamento()); - fineLavori.setCodiceFiscaleDelegato(newIntPratica.getCodiceFiscaleDelegatoFineLavori()); - fineLavori.setCodicePagamento(oldDettPratica.getCodicePagamento()); - - if (oldDettPratica.getDataEffettuazione() != null) { - fineLavori.setCompletata(true); - } - - fineLavori.setCompanyId(companyId); - fineLavori.setComunicazioneDirettoreLavori(StringPool.BLANK); - fineLavori.setCreateDate(oldDettPratica.getCreateDate()); - fineLavori.setModifiedDate(oldDettPratica.getModifiedDate()); - fineLavori.setDataEffettuazione(oldDettPratica.getDataEffettuazione()); - fineLavori.setDataFineLavori(oldDettPratica.getDataEffettuazione()); - fineLavori.setGestita(oldDettPratica.getGestita()); - fineLavori.setGroupId(territorio.getGroupId()); - fineLavori.setImportoBolli(oldDettPratica.getImportoBolli()); - fineLavori.setIntPraticaId(newIntPraticaId); - fineLavori.setMezzoPagamento(oldDettPratica.getMezzoPagamento()); - fineLavori.setNormEsenteBollo(oldDettPratica.getEsenzioneBolli()); - fineLavori.setNormEsenteCollaudo(false);// non prensente in portos1 - fineLavori.setNumero(numeroProgressivo); - fineLavori.setOldDettPraticaId(oldDettPratica.getDettPraticaId()); - - - // fineLavori.setPagamentoId(pagamentoId); - - if (oldDettPratica.getTipoIntegrazione().equals("09")) { - fineLavori.setParziale(true); - newIntPratica.setFineLavoriParziale(true); - } else { - newIntPratica.setFineLavoriTotale(true); - } - - IntPraticaLocalServiceUtil.updateIntPratica(newIntPratica); - - - fineLavori.setProtocollo(oldDettPratica.getProtocollo()); - fineLavori.setUserId(user.getUserId()); - fineLavori.setUserName(user.getScreenName()); - - FineLavoriLocalServiceUtil.updateFineLavori(fineLavori); - - // Gestione Pagamenti - importaPagamento(oldDettPratica.getDettPraticaId(), fineLavori.getFineLavoriId(), newIntPraticaId, - oldDettPratica.getCodPraticaSuap(), companyId, false, true, false, territorio.getGroupId()); - - importaAvvisi(oldDettPratica.getDettPraticaId(), fineLavori.getFineLavoriId(), FineLavori.class.getName(), - newIntPraticaId, territorio, companyId); - - importaDocPratica(oldDettPratica.getDettPraticaId(), fineLavori.getFineLavoriId(), FineLavori.class.getName(), - newIntPraticaId, territorio, companyId); - - importaDocAggiuntiva(oldDettPratica, fineLavori.getFineLavoriId(), newIntPraticaId, companyId, territorio); - - - } else { - _log.info("fine lavori gia importato"); - } - - } - - private static void importaCollaudo(BoDettPratica oldDettPratica, String tipoIntegrazione, long newIntPraticaId, - BoIntPratica oldIntPratica, long companyId) throws SystemException, PortalException { - - Territorio territorio = TerritorioLocalServiceUtil.fetchByOldTerriotioId(oldIntPratica.getTerritorioId()); - if (Validator.isNull(territorio)) { - _log.info("non ci sono territori - oldTerritorioId=" + oldIntPratica.getTerritorioId()); - return; - } - - String codiceFiscaleTitolare = oldIntPratica.getCodiceFiscaleUtenteSuap(); - if (Validator.isNull(codiceFiscaleTitolare)) { - codiceFiscaleTitolare = oldIntPratica.getCodiceFiscaleDelegato(); - } - - User user = UserLocalServiceUtil.fetchUserByScreenName(companyId, codiceFiscaleTitolare); - if (Validator.isNull(user)) { - _log.info("non ci sono user con screenName= " + codiceFiscaleTitolare + " - scarto la pratica"); - return; - } - - Collaudo collaudo = CollaudoLocalServiceUtil.fetchByOldDettPraticaId(oldDettPratica.getDettPraticaId()); - if (Validator.isNull(collaudo)) { - - IntPratica newIntPratica = IntPraticaLocalServiceUtil.fetchIntPratica(newIntPraticaId); - int numeroProgressivo = CollaudoLocalServiceUtil.countByIntPraticaId_Completata(newIntPraticaId, true) + 1; - - collaudo = CollaudoLocalServiceUtil.createCollaudo(CounterLocalServiceUtil.increment(Collaudo.class.getName())); - - collaudo.setCausalePagamento(oldDettPratica.getCausalePagamento()); - collaudo.setCodiceFiscaleDelegato(newIntPratica.getCodiceFiscaleDelegatoCollaudo()); - collaudo.setCodicePagamento(oldDettPratica.getCodicePagamento()); - - // sbagliato - // if (oldDettPratica.getDataEffettuazione() != null) { - // collaudo.setCompletata(true); - // } - - collaudo.setCreateDate(oldDettPratica.getCreateDate()); - collaudo.setModifiedDate(oldDettPratica.getModifiedDate()); - collaudo.setDataEffettuazione(oldDettPratica.getCreateDate()); - collaudo.setCompanyId(companyId); - - collaudo.setDataCollaudo(oldDettPratica.getDataEffettuazione()); - collaudo.setGestita(oldDettPratica.getGestita()); - collaudo.setCompletata(oldDettPratica.getCompleta()); - collaudo.setGroupId(territorio.getGroupId()); - collaudo.setImportoBolli(oldDettPratica.getImportoBolli()); - collaudo.setIntPraticaId(newIntPraticaId); - collaudo.setMezzoPagamento(oldDettPratica.getMezzoPagamento()); - collaudo.setNormEsenteBollo(oldDettPratica.getEsenzioneBolli()); - - collaudo.setNoteCollaudo(StringPool.BLANK); - collaudo.setNumero(numeroProgressivo); - collaudo.setOldDettPraticaId(oldDettPratica.getDettPraticaId()); - // fineLavori.setPagamentoId(pagamentoId); - - - if (oldDettPratica.getTipoIntegrazione().equals("10")) { - collaudo.setParziale(true); - newIntPratica.setCollaudoParziale(true); - } else { - newIntPratica.setCollaudoTotale(true); - } - - - IntPraticaLocalServiceUtil.updateIntPratica(newIntPratica); - - - collaudo.setProtocollo(oldDettPratica.getProtocollo()); - collaudo.setUserId(user.getUserId()); - collaudo.setUserName(user.getScreenName()); - - CollaudoLocalServiceUtil.updateCollaudo(collaudo); - - // Gestione Pagamenti - importaPagamento(oldDettPratica.getDettPraticaId(), collaudo.getCollaudoId(), newIntPraticaId, - oldDettPratica.getCodPraticaSuap(), companyId, true, false, false, territorio.getGroupId()); - - importaAvvisi(oldDettPratica.getDettPraticaId(), collaudo.getCollaudoId(), Collaudo.class.getName(), - newIntPraticaId, territorio, companyId); - - importaDocPratica(oldDettPratica.getDettPraticaId(), collaudo.getCollaudoId(), Collaudo.class.getName(), - newIntPraticaId, territorio, companyId); - - importaDocAggiuntiva(oldDettPratica, collaudo.getCollaudoId(), newIntPraticaId, companyId, territorio); - - - } else { - _log.info("collaudo gia importato"); - } - - } - - private static void importaVariataDa(long oldIntPraticaVariataDa, long newIntPraticaId, long companyId) - throws Exception { - - BoIntPratica oldIntPratica = BoIntPraticaLocalServiceUtil.fetchBoIntPratica(oldIntPraticaVariataDa); - if (oldIntPratica != null && !oldIntPratica.getStatoPratica().equals(StatoPraticaConstants.RIFIUTATA)) { - - // Controllo ed inserimento storico soggetto - importaStoricoSoggettoPratica(oldIntPraticaVariataDa, newIntPraticaId, companyId, oldIntPratica.getTerritorioId()); - - IntPratica newIntPratica = updateNewIntPraticaVariataDa(companyId, newIntPraticaId, oldIntPratica); - - DynamicQuery query = DynamicQueryFactoryUtil.forClass(BoDettPratica.class); - query.add(RestrictionsFactoryUtil.eq("intPraticaId", oldIntPraticaVariataDa)); - query.add(RestrictionsFactoryUtil.eq("validata", true)); - - List listDettPratica = BoDettPraticaLocalServiceUtil.dynamicQuery(query); - if (Validator.isNotNull(listDettPratica) && !listDettPratica.isEmpty()) { - for (BoDettPratica oldDettPratica : listDettPratica) { - - - DettPratica dettPraticaToImport = - DettPraticaLocalServiceUtil.fetchByOldDettPraticaId(oldDettPratica.getDettPraticaId()); - if (Validator.isNull(dettPraticaToImport)) { - - // Varianti - if (Validator.isNull(oldDettPratica.getTipoIntegrazione())) { - importaDettPratica(oldDettPratica, oldIntPratica, newIntPraticaId, companyId, true); - } else { - // Integrazioni + FineLavori + Collaudi - if (tipoIntegrazioneAccettata(oldDettPratica.getTipoIntegrazione())) { - - importaDettPratica(oldDettPratica, oldIntPratica, newIntPraticaId, companyId, false); - - } else { - - if (oldDettPratica.getTipoIntegrazione().equals("07") - || oldDettPratica.getTipoIntegrazione().equals("09")) { - importaFineLavori(oldDettPratica, oldIntPratica, oldDettPratica.getTipoIntegrazione(), - newIntPraticaId, companyId); - } else if (oldDettPratica.getTipoIntegrazione().equals("08") - || oldDettPratica.getTipoIntegrazione().equals("10")) { - importaCollaudo(oldDettPratica, oldDettPratica.getTipoIntegrazione(), newIntPraticaId, oldIntPratica, - companyId); - } - - } - - } - - } - } - - } - - // Ricorsione per verificare che ci siano altre variateDa - if (Validator.isNotNull(oldIntPratica.getVariataDa()) && oldIntPratica.getVariataDa() > 0) { - importaVariataDa(oldIntPratica.getVariataDa(), newIntPraticaId, companyId); - } - } - - } - - private static boolean tipoIntegrazioneAccettata(String tipoIntegrazione) { - - boolean tipoIntegrazioneAccettata = true; - - switch (tipoIntegrazione) { - case "07": - tipoIntegrazioneAccettata = false; - break; - case "08": - tipoIntegrazioneAccettata = false; - break; - case "09": - tipoIntegrazioneAccettata = false; - break; - case "10": - tipoIntegrazioneAccettata = false; - break; - - default: - tipoIntegrazioneAccettata = true; - break; - } - - return tipoIntegrazioneAccettata; - - } - - private static DettPratica importaDettPratica(BoDettPratica oldDettPratica, BoIntPratica oldIntPratica, - long newIntPraticaId, long companyId, boolean variataDa) throws Exception { - - User adminUser = ImportazioneUtil.getAdmin(); - - Territorio territorio = TerritorioLocalServiceUtil.fetchByOldTerriotioId(oldIntPratica.getTerritorioId()); - if (Validator.isNull(territorio)) { - _log.info("non ci sono territori - oldTerritorioId=" + oldIntPratica.getTerritorioId()); - return null; - } - - try { - - DettPratica newDettPratica = - DettPraticaLocalServiceUtil.fetchByOldDettPraticaId(oldDettPratica.getDettPraticaId()); - if (newDettPratica == null) { - - IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(newIntPraticaId); - newDettPratica = - DettPraticaLocalServiceUtil - .createDettPratica(CounterLocalServiceUtil.increment(DettPratica.class.getName())); - - if (oldDettPratica.getDataEffettuazione() != null) { - newDettPratica.setDataEffettuazione(oldDettPratica.getDataEffettuazione()); - } else { - newDettPratica.setDataEffettuazione(oldDettPratica.getCreateDate()); - } - - FeDettPratica feDettPratica = - FeDettPraticaLocalServiceUtil.fetchByCodPraticaSuap(oldDettPratica.getCodPraticaSuap()); - if (feDettPratica != null) { - FeIntPratica feIntPratica = FeIntPraticaLocalServiceUtil.fetchFeIntPratica(feDettPratica.getIntPraticaId()); - if (feIntPratica != null) { - - if (feIntPratica.getRelazioneGeologicaA5Check() || feIntPratica.getRelazioneGeotecnicaA6Check() - || feIntPratica.getRelazioneSulleFondazioniA7Check() || feIntPratica.getFascicoloDeiCalcoliA9Check() - || feIntPratica.getSchedaSinteticaGeologoA14Check()) { - newDettPratica.setNormArt3com3(true); - } - - if (feIntPratica.getFascicoloDeiCalcoliA9Check()) { - newDettPratica.setNormArt3com4(true); - } - - } - } - - newDettPratica.setCreateDate(oldDettPratica.getCreateDate()); - newDettPratica.setModifiedDate(oldDettPratica.getModifiedDate()); - newDettPratica.setCompanyId(territorio.getCompanyId()); - newDettPratica.setGroupId(territorio.getGroupId()); - newDettPratica.setUserId(intPratica.getUserId()); - newDettPratica.setUserName(intPratica.getUserName()); - newDettPratica.setOldDettPraticaId(oldDettPratica.getDettPraticaId()); - newDettPratica.setIntPraticaId(newIntPraticaId); - - newDettPratica.setAg(oldIntPratica.getAg()); - newDettPratica.setCompleta(oldDettPratica.getCompleta()); - - newDettPratica.setDestinazione(oldIntPratica.getTipologiaSistemaCostruttivo()); - - if (oldIntPratica.getTipologiaSistemaCostruttivo().equals("000")) { - newDettPratica.setTcNuovaCostruzione(true); - } else if (oldIntPratica.getTipologiaSistemaCostruttivo().equals("001")) { - newDettPratica.setTcAdeguamentoSismico(true); - } else if (oldIntPratica.getTipologiaSistemaCostruttivo().equals("010")) { - newDettPratica.setTcMiglioramentoSismico(true); - } else if (oldIntPratica.getTipologiaSistemaCostruttivo().equals("100")) { - newDettPratica.setTcRiparazioneInterventoLocale(true); - } - - newDettPratica.setEstremiCatastali(oldIntPratica.getEstremiCatastali()); - newDettPratica.setEstremiPratCom(oldIntPratica.getEstremiPratCom()); - newDettPratica.setCollaudoStatico(!oldIntPratica.getCollaudoStatico()); - newDettPratica.setNormEsenteBollo(oldDettPratica.getEsenzioneBolli()); - newDettPratica.setNormEsenteSpese(oldDettPratica.getEsenzioneSpeseIstruttoria()); - newDettPratica.setGestita(oldDettPratica.getGestita()); - newDettPratica.setImportoBolli(oldDettPratica.getImportoBolli()); - newDettPratica.setImportoSpeseIstruttoria(oldDettPratica.getImportoSpeseIstruttoria()); - - newDettPratica.setStatusDate(oldDettPratica.getStatusDate()); - newDettPratica.setStatusTask(oldDettPratica.getStatusTask()); - - newDettPratica.setIntegrazione(oldDettPratica.getIntegrazione()); - if (variataDa) { - newDettPratica.setTipoIntegrazione("13"); - newDettPratica.setIntegrazione(1l); - } else { - newDettPratica.setTipoIntegrazione(oldDettPratica.getTipoIntegrazione()); - if (TipoIntegrazioneUtil.RICHIESTA_INTEGRAZIONE.equals(newDettPratica.getTipoIntegrazione())) { - // newDettPratica.setStatusDate(newDettPratica.getCreateDate()); - // Serve per evitare che parta lo scheduler integrazioni su roba vecchia - if (WorkflowConstants.STATUS_APPROVED == newDettPratica.getStatus()) { - newDettPratica.setDtInvioSignal(newDettPratica.getCreateDate()); - } - } - } - - newDettPratica.setProtocollo(oldDettPratica.getProtocollo()); - newDettPratica.setStatus(WorkflowConstants.STATUS_APPROVED); - - OldUser oldUserStatus = OldUserLocalServiceUtil.fetchOldUser(oldDettPratica.getStatusByUserId()); - if (oldUserStatus != null) { - User newUserStatus = UserLocalServiceUtil.fetchUserByScreenName(companyId, oldUserStatus.getScreenName()); - if (newUserStatus != null) { - newDettPratica.setStatusByUserId(newUserStatus.getUserId()); - newDettPratica.setStatusByUserName(newUserStatus.getScreenName()); - - } - } - - - DynamicQuery queryRelleggi = DynamicQueryFactoryUtil.forClass(BoRelLeggiPratica.class); - queryRelleggi.add(PropertyFactoryUtil.forName("intPraticaId").eq(oldIntPratica.getIntPraticaId())); - - List leggiPraticas = - BoRelLeggiPraticaLocalServiceUtil.dynamicQuery(queryRelleggi, QueryUtil.ALL_POS, QueryUtil.ALL_POS); - for (BoRelLeggiPratica leggiPratica : leggiPraticas) { - if (leggiPratica.getSelezionato()) { - if (leggiPratica.getValore().startsWith("D.P.R. 380/01 artt. 93 e 94")) { - newDettPratica.setNormDpr01Dep(true); - newDettPratica.setNormDpr01Aut(true); - } else if (leggiPratica.getValore().startsWith("D.P.R. 380/01 artt. 65, 93 e 94") - || leggiPratica.getValore().startsWith("D.P.R. 380/01 artt. 65,93 e 94")) { - newDettPratica.setNormDpr02Dep(true); - newDettPratica.setNormDpr02Aut(true); - } else if (leggiPratica.getValore().equalsIgnoreCase("D.M. 14/01/2008")) { - newDettPratica.setNormDm01(true); // D.M. 14/01/2008 - } else if (leggiPratica.getValore().equalsIgnoreCase("D.M. 14/01/1996")) { - newDettPratica.setNormDm02(true); // D.M. 14/01/1996 - } else if (leggiPratica.getValore().equalsIgnoreCase("D.M. 16/01/1996")) { - newDettPratica.setNormDm03(true); - } else if (leggiPratica.getValore().equalsIgnoreCase("D.P.G.R. 36/R/2009")) { - newDettPratica.setNormDprg01(true); - } else if (leggiPratica.getValore().equalsIgnoreCase("D.P.G.R. 36/R/2009 ART.6 E 7")) { - newDettPratica.setNormDprg02(true); - } else if (leggiPratica.getValore().equalsIgnoreCase("Altra normativa di riferimento")) { - newDettPratica.setNormAnr(true); - } - } - } - - newDettPratica.setVarianteNumero(oldIntPratica.getVarianteNumero()); - newDettPratica.setVariataDa(oldIntPratica.getVariataDa()); - newDettPratica.setVarianteSostanziale(oldIntPratica.getVarianteSostanziale()); - newDettPratica.setVia(oldIntPratica.getVia()); - newDettPratica.setMetratura(oldIntPratica.getMetratura()); - newDettPratica.setLocalita(oldIntPratica.getLocalita()); - newDettPratica.setLavoriPubblici(oldIntPratica.getLavoriPubblici()); - newDettPratica.setLavoriInEconomiaCommittente(oldIntPratica.getLavoriInEconomiaCommittente()); - newDettPratica.setInizioLavoriContestualeOpera(oldIntPratica.getInizioLavoriContestualeOpera()); - newDettPratica.setEstremiPratCom(oldIntPratica.getEstremiPratCom()); - newDettPratica.setEstremiCatastali(oldIntPratica.getEstremiCatastali()); - newDettPratica.setDestinazione(oldIntPratica.getDestinazione()); - newDettPratica.setDescLongIntervento(oldIntPratica.getDescLongIntervento()); - newDettPratica.setDataInizioEsecuzioneOpera(oldIntPratica.getDataInizioEsecuzioneOpera()); - newDettPratica.setDataFineEsecuzioneOpera(oldIntPratica.getDataFineEsecuzioneOpera()); - newDettPratica.setDataInizioEsecuzioneOpera(oldIntPratica.getDataInizioEsecuzioneOpera()); - newDettPratica.setCodiceRuoloDelegato(oldIntPratica.getCodiceRuoloDelegato()); - newDettPratica.setVersionata(false); - - DynamicQuery query = DynamicQueryFactoryUtil.forClass(BoSistemaCostruttivo.class); - query.add(RestrictionsFactoryUtil.eq("intPraticaId", oldIntPratica.getIntPraticaId())); - - List sistCostrLista = - BoSistemaCostruttivoLocalServiceUtil.dynamicQuery(query, QueryUtil.ALL_POS, QueryUtil.ALL_POS); - - for (BoSistemaCostruttivo boSistemaCostruttivo : sistCostrLista) { - if (boSistemaCostruttivo.getCodSistemaCostruttivo().equalsIgnoreCase("100")) { - newDettPratica.setTcInCA(true); - } else if (boSistemaCostruttivo.getCodSistemaCostruttivo().equalsIgnoreCase("101")) { - newDettPratica.setTcInOpera(true); - } else if (boSistemaCostruttivo.getCodSistemaCostruttivo().equalsIgnoreCase("102")) { - newDettPratica.setTcPrefabbricato(true); - } else if (boSistemaCostruttivo.getCodSistemaCostruttivo().equalsIgnoreCase("200")) { - newDettPratica.setTcInAcciaio(true); - } else if (boSistemaCostruttivo.getCodSistemaCostruttivo().equalsIgnoreCase("201")) { - newDettPratica.setTcMista(true); - } else if (boSistemaCostruttivo.getCodSistemaCostruttivo().equalsIgnoreCase("300")) { - newDettPratica.setTcInMuratura(true); - } else if (boSistemaCostruttivo.getCodSistemaCostruttivo().equalsIgnoreCase("301")) { - newDettPratica.setTcInMuraturaOrdinaria(true); - } else if (boSistemaCostruttivo.getCodSistemaCostruttivo().equalsIgnoreCase("302")) { - newDettPratica.setTcInMuraturaArmata(true); - } else if (boSistemaCostruttivo.getCodSistemaCostruttivo().equalsIgnoreCase("303")) { - newDettPratica.setTcInMuraturaMista(true); - } else if (boSistemaCostruttivo.getCodSistemaCostruttivo().equalsIgnoreCase("400")) { - newDettPratica.setTcInLegno(true); - } else if (boSistemaCostruttivo.getCodSistemaCostruttivo().equalsIgnoreCase("500")) { - newDettPratica.setTcAltro(true); - } else if (boSistemaCostruttivo.getCodSistemaCostruttivo().equalsIgnoreCase("600")) { - newDettPratica.setTcConDispositivi(true); - } - - } - - - newDettPratica = DettPraticaLocalServiceUtil.updateDettPratica(newDettPratica); - - DettPratica lastDettPratica = - DettPraticaLocalServiceUtil.getLastCompletedBeforeDettPraticaByIntPratica(newIntPraticaId, - newDettPratica.getDettPraticaId()); - if (Validator.isNotNull(lastDettPratica) - && lastDettPratica.getDettPraticaId() != newDettPratica.getDettPraticaId()) { - newDettPratica = - DettPraticaLocalServiceUtil.cloneDettagliSoggetti(newDettPratica.getDettPraticaId(), - lastDettPratica.getDettPraticaId()); - } - - newDettPratica.setCodiceFiscaleDelegatoCommittente(intPratica.getUserName()); - newDettPratica = DettPraticaLocalServiceUtil.updateDettPratica(newDettPratica); - - intPratica.setControlloObbligatorio(DettPraticaLocalServiceUtil.isControlloObbligatorio(newDettPratica)); - intPratica = IntPraticaLocalServiceUtil.updateIntPratica(intPratica); - - _log.info("Importing Soggetti dettPratica: " + newDettPratica.getDettPraticaId()); - - // AGGIUNGO ELEMENTI A CONTORNO - importaSoggetto(oldDettPratica, newDettPratica.getDettPraticaId(), newIntPraticaId, companyId, - oldIntPratica.getTerritorioId()); - - _log.info("Importing Pagamenti dettPratica: " + newDettPratica.getDettPraticaId()); - - importaPagamento(oldDettPratica.getDettPraticaId(), newDettPratica.getDettPraticaId(), newIntPraticaId, - oldDettPratica.getCodPraticaSuap(), companyId, false, false, true, territorio.getGroupId()); - - _log.info("Importing Avvisi dettPratica: " + newDettPratica.getDettPraticaId()); - - importaAvvisi(oldDettPratica.getDettPraticaId(), newDettPratica.getDettPraticaId(), - DettPratica.class.getName(), newIntPraticaId, territorio, companyId); - - _log.info("Importing DocPratica dettPratica: " + newDettPratica.getDettPraticaId()); - - importaDocPratica(oldDettPratica.getDettPraticaId(), newDettPratica.getDettPraticaId(), - DettPratica.class.getName(), newIntPraticaId, territorio, companyId); - - _log.info("Importing DocAggiuntiva dettPratica: " + newDettPratica.getDettPraticaId()); - - importaDocAggiuntiva(oldDettPratica, newDettPratica.getDettPraticaId(), newIntPraticaId, companyId, territorio); - - _log.info("Importing Workflow dettPratica: " + newDettPratica.getDettPraticaId()); - - importaWorkflowAssegnazione(oldDettPratica, newDettPratica, intPratica); - // versionamento - try { - DettPraticaServiceUtil.sendToVersioning(newDettPratica.getDettPraticaId(), newDettPratica.getCompanyId()); - } catch (Exception e) { - _log.error("Unable to versioning dettPratica " + newDettPratica.getDettPraticaId()); - } - - return newDettPratica; - - } - - } catch (SystemException e) { - trackImportException(oldDettPratica.getDettPraticaId(), e.getMessage()); - _log.error(e, e); - } - - return null; - - } - - private static void importaDocPratica(long oldDettPraticaId, long classPk, String className, long newIntPraticaId, - Territorio territorio, long companyId) throws SystemException, PortalException { - - IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(newIntPraticaId); - if (intPratica != null) { - DynamicQuery query = DynamicQueryFactoryUtil.forClass(BoDocPratica.class); - query.add(RestrictionsFactoryUtil.eq("dettPraticaId", oldDettPraticaId)); - query.add(RestrictionsFactoryUtil.ne("tipologia", "APM")); - - List lista = BoDocPraticaLocalServiceUtil.dynamicQuery(query); - if (Validator.isNotNull(lista) && !lista.isEmpty()) { - for (BoDocPratica boDocPratica : lista) { - - DocPratica docPratica = DocPraticaLocalServiceUtil.fetchByOldDocPraticaId(boDocPratica.getDocPraticaId()); - if (docPratica == null) { - - docPratica = - DocPraticaLocalServiceUtil.createDocPratica(CounterLocalServiceUtil.increment(DocPratica.class - .getName())); - - docPratica.setAggiornato(boDocPratica.getAggiornato()); - docPratica.setClassName(className); - docPratica.setClassPk(classPk); - docPratica.setCompanyId(companyId); - docPratica.setCreateDate(boDocPratica.getCreateDate()); - docPratica.setDescLong(boDocPratica.getDescLong()); - docPratica.setDettPraticaIdRimozione(0); - docPratica.setDtDataRimozione(null); - // docPratica.setErrorCode(errorCode); - docPratica.setGroupId(territorio.getGroupId()); - docPratica.setIntPraticaId(intPratica.getIntPraticaId()); - docPratica.setMd5(boDocPratica.getMd5()); - docPratica.setModifiedDate(boDocPratica.getModifiedDate()); - docPratica.setOldDlFileEntryId(boDocPratica.getDlFileEntryId()); - docPratica.setOldDocPraticaId(boDocPratica.getDocPraticaId()); - docPratica.setPraticaValidata(boDocPratica.getPraticaValidata()); - docPratica.setRimosso(false); - docPratica.setStatus(WorkflowConstants.STATUS_APPROVED); - - if (boDocPratica.getTipologia().equals("A00")) { - docPratica.setTipologia("A0P"); - } else if (boDocPratica.getTipologia().equals("111")) { - if (DettPratica.class.getName().equalsIgnoreCase(className)) { - - DettPratica dettPratica = DettPraticaLocalServiceUtil.fetchDettPratica(classPk); - if (TipoIntegrazioneUtil.RICHIESTA_INTEGRAZIONE.equalsIgnoreCase(dettPratica.getTipoIntegrazione())) { - docPratica.setTipologia(DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_INTEGRAZIONE_PORTOS_1); - } else if (TipoIntegrazioneUtil.VARIAZIONE_SOGGETTO.equalsIgnoreCase(dettPratica.getTipoIntegrazione())) { - docPratica.setTipologia(DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_VARIAZIONE_SOGGETTO_PORTOS_1); - } else if (TipoIntegrazioneUtil.ANNULLA.equalsIgnoreCase(dettPratica.getTipoIntegrazione())) { - docPratica.setTipologia(DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_ANNULLAMENTO_PORTOS_1); - } else { - docPratica.setTipologia(DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_DOMANDA); - } - - } else if (FineLavori.class.getName().equalsIgnoreCase(className)) { - - FineLavori fineLavori = FineLavoriLocalServiceUtil.getFineLavori(classPk); - if (fineLavori.getParziale()) { - docPratica.setTipologia(DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_FINE_LAVORI_PARZIALE); - } else { - docPratica.setTipologia(DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_FINE_LAVORI); - } - - } else if (Collaudo.class.getName().equalsIgnoreCase(className)) { - - Collaudo collaudo = CollaudoLocalServiceUtil.getCollaudo(classPk); - if (collaudo.getParziale()) { - docPratica.setTipologia(DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_COLLAUDO_PARZIALE); - } else { - docPratica.setTipologia(DocumentiPraticaUtil.TIPOLOGIA_ALLEGATO_COLLAUDO); - } - - } - - } else { - docPratica.setTipologia(boDocPratica.getTipologia()); - } - - if (boDocPratica.getJsonFirmatari() != null && !boDocPratica.getJsonFirmatari().equals("")) { - - List listaApp = new ArrayList(); - - JSONObject jsonToParte = JSONFactoryUtil.createJSONObject(boDocPratica.getJsonFirmatari()); - JSONArray arrayToMod = jsonToParte.getJSONArray("firmatari"); - - for (int i = 0; i < arrayToMod.length(); i++) { - JSONObject obj = arrayToMod.getJSONObject(i); - listaApp.add(obj.getString("codiceFiscale")); - } - - String jsonFirmatari = FirmeUtil.serialize(new FirmeBean()); - - for (String string : listaApp) { - jsonFirmatari = FirmeUtil.addFirmaDigitale(jsonFirmatari, string); - } - - docPratica.setJsonFirmatari(jsonFirmatari); - } - - - docPratica.setUserId(intPratica.getUserId()); - docPratica.setUserName(intPratica.getUserName()); - docPratica.setVersion(boDocPratica.getVersion()); - - DocPraticaLocalServiceUtil.updateDocPratica(docPratica); - - - } else { - _log.info("DocPratica gia impoertato | newDocPraticaId=" + docPratica.getDocPraticaId() - + " | oldDocPraticaId=" + boDocPratica.getDocPraticaId()); - } - - } - } - } - - - } - - private static void importaAvvisi(long oldDettPraticaId, long classPk, String className, long newIntPraticaId, - Territorio territorio, long companyId) throws SystemException { - - User admin = ImportazioneUtil.getAdmin(); - - DynamicQuery query = DynamicQueryFactoryUtil.forClass(BoAvviso.class); - query.add(RestrictionsFactoryUtil.eq("dettPraticaId", oldDettPraticaId)); - - List lista = BoAvvisoLocalServiceUtil.dynamicQuery(query); - if (Validator.isNotNull(lista) && !lista.isEmpty()) { - for (BoAvviso boAvviso : lista) { - - - Avviso avviso = AvvisoLocalServiceUtil.fetchAvvisoByOldAvvisoId(boAvviso.getAvvisoId()); - if (avviso == null) { - - avviso = AvvisoLocalServiceUtil.createAvviso(CounterLocalServiceUtil.increment(Avviso.class.getName())); - - avviso.setAnnullato(boAvviso.getAnnullato()); - avviso.setClassName(className); - avviso.setClassPk(classPk); - // avviso.setCommentoRifiuto(commentoRifiuto); - avviso.setCompanyId(territorio.getCompanyId()); - // avviso.setControlloPraticaId(controlloPraticaId); - avviso.setCreateDate(boAvviso.getCreateDate()); - avviso.setDescLong(boAvviso.getDescLong()); - avviso.setDtAvviso(boAvviso.getDtAvviso()); - avviso.setDtCreateFileEntryInvio(boAvviso.getDtCreateFileEntryInvio()); - avviso.setDtInvio(boAvviso.getDtInvio()); - avviso.setDtInvioSignal(boAvviso.getDtInvioSignal()); - // avviso.setDtProtocollo(dtProtocollo); - // avviso.setDtRifiuto(dtRifiuto); - avviso.setDtTempistica(boAvviso.getDtTempistica()); - avviso.setErrore(boAvviso.getErrore()); - avviso.setFirmaInCorso(boAvviso.getFirmaInCorso()); - avviso.setGroupId(territorio.getGroupId()); - avviso.setIntPraticaId(newIntPraticaId); - avviso.setInviato(boAvviso.getInviato()); - avviso.setInviatoTecnico(boAvviso.getInviatoTecnico()); - avviso.setJsonParameters(boAvviso.getJsonParameters()); - avviso.setModifiedDate(boAvviso.getModifiedDate()); - // avviso.setOggettoProtocollo(oggettoProtocollo); - avviso.setOldAvvisoId(boAvviso.getAvvisoId()); - avviso.setOldFileEntryIdBase(boAvviso.getFileEntryIdBase()); - avviso.setOldFileEntryIdInvio(boAvviso.getFileEntryIdInvio()); - avviso.setProtocollo(boAvviso.getProtocollo()); - // avviso.setRifiutato(rifiutato); - avviso.setSignal(boAvviso.getSignal()); - avviso.setTempistica(boAvviso.getTempistica()); - avviso.setTipoAvviso(boAvviso.getTipoAvviso()); - - if (StatoPraticaConstants.INTEGRAZIONE_ACCETTATA.equalsIgnoreCase(boAvviso.getTipoDocumento())) { - if (DettPratica.class.getName().equalsIgnoreCase(className)) { - - DettPratica dettPratica = DettPraticaLocalServiceUtil.fetchDettPratica(classPk); - if (TipoIntegrazioneUtil.VARIAZIONE_SOGGETTO.equalsIgnoreCase(dettPratica.getTipoIntegrazione())) { - avviso.setTipoDocumento(StatoPraticaConstants.VIDIMATA); - } else if (TipoIntegrazioneUtil.ANNULLA.equalsIgnoreCase(dettPratica.getTipoIntegrazione())) { - avviso.setTipoDocumento(StatoPraticaConstants.VIDIMATA); - } else { - avviso.setTipoDocumento(boAvviso.getTipoDocumento()); - } - - } else if (FineLavori.class.getName().equalsIgnoreCase(className)) { - avviso.setTipoDocumento(StatoPraticaConstants.VIDIMATA); - // Magari non serve, ma per sicurezza mettiamolo - String propertiesTemplate = - AvvisoUtil.getAllTipoDocumentoFileTemplateProps().get(StatoPraticaConstants.FINE_LAVORI); - long fileEntryIdTemplate = - ConfigurazioneLocalServiceUtil.findByC_ChiaveLong(companyId, propertiesTemplate); - avviso.setFileEntryIdTemplate(fileEntryIdTemplate); - } else if (Collaudo.class.getName().equalsIgnoreCase(className)) { - avviso.setTipoDocumento(StatoPraticaConstants.VIDIMATA); - // Magari non serve, ma per sicurezza mettiamolo - String propertiesTemplate = - AvvisoUtil.getAllTipoDocumentoFileTemplateProps().get(StatoPraticaConstants.COLLAUDO); - long fileEntryIdTemplate = - ConfigurazioneLocalServiceUtil.findByC_ChiaveLong(companyId, propertiesTemplate); - avviso.setFileEntryIdTemplate(fileEntryIdTemplate); - } - - } else { - avviso.setTipoDocumento(boAvviso.getTipoDocumento()); - } - - String propertiesTemplate = AvvisoUtil.getAllTipoDocumentoFileTemplateProps().get(avviso.getTipoDocumento()); - long fileEntryIdTemplate = ConfigurazioneLocalServiceUtil.findByC_ChiaveLong(companyId, propertiesTemplate); - avviso.setFileEntryIdTemplate(fileEntryIdTemplate); - - avviso.setTransactionIdPrimaFirma(boAvviso.getTransactionIdPrimaFirma()); - - OldUser oldUserPrimaFirma = OldUserLocalServiceUtil.fetchOldUser(boAvviso.getUserIdPrimaFirma()); - if (oldUserPrimaFirma != null) { - avviso.setUserCodiceFiscalePrimaFirma(oldUserPrimaFirma.getScreenName()); - } - - // Controllare prima se e genio civile allora metto admin altrimenti uso lo user id - // vecchio - if (boAvviso.getUserName().equals("adminGenioCivile")) { - avviso.setUserId(admin.getUserId()); - avviso.setUserName(admin.getScreenName()); - } else { - - OldUser oldUser = OldUserLocalServiceUtil.fetchOldUser(boAvviso.getUserId()); - if (oldUser != null) { - User user = UserLocalServiceUtil.fetchUserByScreenName(companyId, oldUser.getScreenName()); - if (user != null) { - avviso.setUserId(user.getUserId()); - avviso.setUserName(user.getScreenName()); - } - } - - } - - avviso = AvvisoLocalServiceUtil.updateAvviso(avviso); - - // if (boAvviso.getDescLong() == null || boAvviso.getDescLong().equals("")) { - if (Validator.isNull(boAvviso.getTipoDocumento())) { - // Creo allegato manuale - AllegatoManuale allegatoManuale = - AllegatoManualeLocalServiceUtil.createAllegatoManuale(CounterLocalServiceUtil - .increment(AllegatoManuale.class.getName())); - - avviso.setTipoDocumento("MA"); - avviso = AvvisoLocalServiceUtil.updateAvviso(avviso); - - allegatoManuale.setAvvisoId(avviso.getAvvisoId()); - allegatoManuale.setCompanyId(companyId); - allegatoManuale.setDescrizione(avviso.getDescLong()); - allegatoManuale.setDettPraticaId(avviso.getClassPk()); - allegatoManuale.setOldFileEntryId(avviso.getOldFileEntryIdBase()); - allegatoManuale.setGroupId(avviso.getGroupId()); - allegatoManuale.setIntPraticaId(avviso.getIntPraticaId()); - allegatoManuale.setUserId(avviso.getUserId()); - allegatoManuale.setUserName(avviso.getUserName()); - allegatoManuale.setCreateDate(avviso.getCreateDate()); - allegatoManuale.setModifiedDate(avviso.getModifiedDate()); - - AllegatoManualeLocalServiceUtil.updateAllegatoManuale(allegatoManuale); - - } - - } else { - _log.info("Avviso gia importato | newAvvisoId=" + avviso.getAvvisoId() + " | oldAvvisoId=" - + boAvviso.getAvvisoId()); - } - - } - - } - } - - private static void importaPagamento(long oldDettPraticaId, long classPk, long newIntPraticaId, - String codPraticaSuap, long companyId, boolean collaudo, boolean fineLavori, boolean dettPratica, long groupId) - throws SystemException { - - FeDettPratica feDettPratica = FeDettPraticaLocalServiceUtil.fetchByCodPraticaSuap(codPraticaSuap); - if (Validator.isNotNull(feDettPratica)) { - - - DynamicQuery query = DynamicQueryFactoryUtil.forClass(FePagamento.class); - query.add(RestrictionsFactoryUtil.eq("dettPraticaId", feDettPratica.getDettPraticaId())); - - List listFePagamento = FePagamentoLocalServiceUtil.dynamicQuery(query); - if (Validator.isNotNull(listFePagamento) && !listFePagamento.isEmpty()) { - for (FePagamento fePagamento : listFePagamento) { - - Pagamento pagamento = PagamentoLocalServiceUtil.fetchByOldPagamentoId(fePagamento.getPagamentoId()); - if (Validator.isNull(pagamento)) { - - pagamento = - PagamentoLocalServiceUtil.createPagamento(CounterLocalServiceUtil.increment(Pagamento.class.getName())); - - pagamento.setCausale(fePagamento.getCausale()); - - if (collaudo) { - pagamento.setClassName(Collaudo.class.getName()); - Collaudo cl = CollaudoLocalServiceUtil.fetchCollaudo(classPk); - cl.setCausalePagamento(fePagamento.getCausale()); - cl.setMezzoPagamento(fePagamento.getMezzo()); - cl.setCodicePagamento(fePagamento.getCodice()); - } - - if (fineLavori) { - pagamento.setClassName(FineLavori.class.getName()); - FineLavori fl = FineLavoriLocalServiceUtil.fetchFineLavori(classPk); - fl.setCausalePagamento(fePagamento.getCausale()); - fl.setMezzoPagamento(fePagamento.getMezzo()); - fl.setCodicePagamento(fePagamento.getCodice()); - } - - if (dettPratica) { - pagamento.setClassName(DettPratica.class.getName()); - DettPratica dett = DettPraticaLocalServiceUtil.fetchDettPratica(classPk); - dett.setCodicePagamentoOneri(fePagamento.getCodice());; - dett.setCausalePagamentoOneri(fePagamento.getCausale()); - dett.setMezzoPagamentoOneri(fePagamento.getMezzo()); - // dett.setCodicePagamentoBolli(fePagamento.getCodice());; - // dett.setCausalePagamentoBolli(fePagamento.getCausale()); - // dett.setMezzoPagamentoBolli(fePagamento.getMezzo()); - - } - - pagamento.setCreateDate(fePagamento.getCreateDate()); - pagamento.setModifiedDate(fePagamento.getModifiedDate()); - pagamento.setCompanyId(companyId); - pagamento.setGroupId(groupId); - pagamento.setClassPk(classPk); - pagamento.setOldPagamentoId(fePagamento.getPagamentoId()); - pagamento.setCodice(fePagamento.getCodice()); - pagamento.setCodiceFiscaleCommittente(fePagamento.getCodiceFiscaleCommittente()); - pagamento.setCreateDate(fePagamento.getCreateDate()); - pagamento.setEmailPending(fePagamento.getEmailPending()); - - String import1String = "0"; - if (fePagamento.getImportoBolli() != null && !fePagamento.getImportoBolli().equals("")) { - import1String = fePagamento.getImportoBolli(); - } - - String import2String = "0"; - if (fePagamento.getImportoSpeseIstruttoria() != null - && !fePagamento.getImportoSpeseIstruttoria().equals("")) { - import2String = fePagamento.getImportoSpeseIstruttoria(); - } - - BigDecimal importo1 = new BigDecimal(import1String); - BigDecimal importo2 = new BigDecimal(import2String); - - BigDecimal totale = importo1.add(importo2); - - pagamento.setImporto(ImportazioneUtil.formatToString(totale)); - pagamento.setIntPraticaId(newIntPraticaId); - pagamento.setMezzo(fePagamento.getMezzo()); - pagamento.setModifiedDate(fePagamento.getModifiedDate()); - pagamento.setTipoPagamento(PagamentoConstants.PAGAMENTO_ONERI_BOLLI); - pagamento.setUrl(StringPool.BLANK); - pagamento.setUtilizzata(fePagamento.getUtilizzata()); - - OldUser oldUser = OldUserLocalServiceUtil.fetchOldUser(fePagamento.getUserId()); - if (oldUser != null) { - User newUser = UserLocalServiceUtil.fetchUserByScreenName(companyId, oldUser.getScreenName()); - if (newUser != null) { - - pagamento.setUserId(newUser.getUserId()); - pagamento.setUserName(newUser.getScreenName()); - } - } - - if (fePagamento.getMezzo().equals("01")) { - - DynamicQuery queryDocPratica = DynamicQueryFactoryUtil.forClass(BoDocPratica.class); - queryDocPratica.add(RestrictionsFactoryUtil.eq("dettPraticaId", oldDettPraticaId)); - queryDocPratica.add(RestrictionsFactoryUtil.eq("tipologia", "APM")); - - List listaBoDocPraticas = - BoDocPraticaLocalServiceUtil.dynamicQuery(queryDocPratica, QueryUtil.ALL_POS, QueryUtil.ALL_POS); - if (listaBoDocPraticas != null && !listaBoDocPraticas.isEmpty()) { - long fileEntryId = listaBoDocPraticas.get(0).getDlFileEntryId(); - if (fileEntryId != 0l) { - pagamento.setOldFileEntryId(fileEntryId); - } - } - - } - - PagamentoLocalServiceUtil.updatePagamento(pagamento); - - if (collaudo) { - Collaudo updateCollaudo = CollaudoLocalServiceUtil.fetchCollaudo(classPk); - if (updateCollaudo != null) { - updateCollaudo.setPagamentoId(pagamento.getPagamentoId()); - CollaudoLocalServiceUtil.updateCollaudo(updateCollaudo); - } - } - - if (fineLavori) { - FineLavori updatedFineLavori = FineLavoriLocalServiceUtil.fetchFineLavori(classPk); - if (updatedFineLavori != null) { - updatedFineLavori.setPagamentoId(pagamento.getPagamentoId()); - FineLavoriLocalServiceUtil.updateFineLavori(updatedFineLavori); - } - } - - if (dettPratica) { - DettPratica updatedDettPratica = DettPraticaLocalServiceUtil.fetchDettPratica(classPk); - if (updatedDettPratica != null) { - updatedDettPratica.setPagamentoIdOneri(pagamento.getPagamentoId()); - DettPraticaLocalServiceUtil.updateDettPratica(updatedDettPratica); - } - } - - - } - } - } - - } - - } - - private static void importaStoricoSoggettoPratica(long oldIntPraticaId, long newIntPraticaId, long companyId, - long oldTerritorioId) throws SystemException, NoSuchTerritorioException { - - DynamicQuery query = DynamicQueryFactoryUtil.forClass(BoStoricoSoggettoPratica.class); - query.add(RestrictionsFactoryUtil.eq("intPraticaId", oldIntPraticaId)); - - long groupId = 0l; - - Territorio territorio = TerritorioLocalServiceUtil.fetchByOldTerriotioId(oldTerritorioId); - if (territorio != null) { - groupId = territorio.getGroupId(); - } - - List lista = BoStoricoSoggettoPraticaLocalServiceUtil.dynamicQuery(query); - if (Validator.isNotNull(lista) && !lista.isEmpty()) { - for (BoStoricoSoggettoPratica boStoricoSoggettoPratica : lista) { - StoricoSoggettoPratica sSP = - StoricoSoggettoPraticaLocalServiceUtil.fetchByOldStoricoSoggettoPraticaId(boStoricoSoggettoPratica - .getStoricoSoggettoPraticaId()); - - if (Validator.isNull(sSP)) { - - sSP = - StoricoSoggettoPraticaLocalServiceUtil.createStoricoSoggettoPratica(CounterLocalServiceUtil - .increment(StoricoSoggettoPratica.class.getName())); - - sSP.setCompanyId(companyId); - sSP.setCodiceFiscale(boStoricoSoggettoPratica.getCodiceFiscale()); - sSP.setCognome(boStoricoSoggettoPratica.getCognome()); - sSP.setNome(boStoricoSoggettoPratica.getNome()); - sSP.setCreateDate(boStoricoSoggettoPratica.getCreateDate()); - sSP.setGroupId(groupId); - sSP.setIntPraticaId(newIntPraticaId); - sSP.setModifiedDate(boStoricoSoggettoPratica.getModifiedDate()); - sSP.setOldStoricoSoggettoPraticaId(boStoricoSoggettoPratica.getStoricoSoggettoPraticaId()); - - OldUser oldUser = OldUserLocalServiceUtil.fetchOldUser(boStoricoSoggettoPratica.getUserId()); - if (oldUser != null) { - User newUser = UserLocalServiceUtil.fetchUserByScreenName(companyId, oldUser.getScreenName()); - if (newUser != null) { - - sSP.setUserId(newUser.getUserId()); - sSP.setUserName(newUser.getScreenName()); - - } - } - - StoricoSoggettoPraticaLocalServiceUtil.updateStoricoSoggettoPratica(sSP); - } - - } - - } - - } - - private static void importaSoggetto(BoDettPratica oldDettPratica, long newDettPraticaId, long newIntPraticaId, - long companyId, long oldTerritorioId) throws SystemException, PortalException { - - ServiceContext serviceContext = new ServiceContext(); - serviceContext.setCompanyId(companyId); - - User adminUser = ImportazioneUtil.getAdmin(); - - Territorio territorio = TerritorioLocalServiceUtil.fetchByOldTerriotioId(oldTerritorioId); - if (Validator.isNull(territorio)) { - _log.info("non ci sono territori | oldTerritorioId=" + oldTerritorioId); - return; - } - - DynamicQuery query = DynamicQueryFactoryUtil.forClass(BoSoggetto.class); - query.add(RestrictionsFactoryUtil.eq("dettPraticaId", oldDettPratica.getDettPraticaId())); - - List listaSoggetti = - BoSoggettoLocalServiceUtil.dynamicQuery(query, QueryUtil.ALL_POS, QueryUtil.ALL_POS); - - if (listaSoggetti != null && !listaSoggetti.isEmpty()) { - - // se sono all inizio e sto importanto i dettpratica base importo tutti i soggetti - for (BoSoggetto oldSoggetto : listaSoggetti) { - - if (oldSoggetto.getSostituito()) { - _log.info("soggetto sostituito=" + oldSoggetto.getSostituito() + " | oldDettPraticaId=" - + oldDettPratica.getDettPraticaId() + " | newIntPraticaId=" + newIntPraticaId); - } - Soggetto newSoggetto = SoggettoLocalServiceUtil.fetchByOldSoggettId(oldSoggetto.getSoggettoId()); - if (Validator.isNull(newSoggetto)) { - - // DynamicQuery dynamicQuery = DynamicQueryFactoryUtil.forClass(Soggetto.class); - // dynamicQuery.add(RestrictionsFactoryUtil.eq("intPraticaId", newIntPraticaId)); - // dynamicQuery.add(RestrictionsFactoryUtil.eq("tipologiaSoggetto", - // oldSoggetto.getTipologiaProfessione())); - // dynamicQuery.add(RestrictionsFactoryUtil.eq("dettPraticaIdRimozione", 0l)); - // dynamicQuery.add(RestrictionsFactoryUtil.eq("tmp", false)); - // dynamicQuery.setProjection(ProjectionFactoryUtil.distinct(ProjectionFactoryUtil.property("codiceFiscale"))); - // - // List cfSoggettiPresenti = SoggettoLocalServiceUtil.dynamicQuery(dynamicQuery); - List cfSoggettiPresenti = - SoggettoLocalServiceUtil.getCfValidTmpByIntPratica_TipologiaSoggetto(newIntPraticaId, - oldSoggetto.getTipologiaProfessione()); - - if (Validator.isNotNull(cfSoggettiPresenti) && !cfSoggettiPresenti.isEmpty() && oldSoggetto.getSoggettoId() != 1227278L) { - if (cfSoggettiPresenti.contains(oldSoggetto.getCodiceFiscale())) { - - DettPratica dettPratica = DettPraticaLocalServiceUtil.fetchDettPratica(newDettPraticaId); - DettPratica lastDettPratica = DettPraticaLocalServiceUtil.getLastCompletedByIntPratica(newIntPraticaId); - - boolean isSoggettoPrincipale = - SoggettiUtil.isSoggettoPrincipale(oldSoggetto.getCodiceFiscale(), - oldSoggetto.getTipologiaProfessione(), lastDettPratica.getDettPraticaId()); - - if (isSoggettoPrincipale) { - SoggettoLocalServiceUtil.updatePrincipale(newDettPraticaId, oldSoggetto.getCodiceFiscale(), - oldSoggetto.getTipologiaProfessione()); - dettPratica = DettPraticaLocalServiceUtil.fetchDettPratica(newDettPraticaId); - if (oldSoggetto.getTipologiaProfessione().equalsIgnoreCase(TipoSoggettoUtil.DIRETTORE_LAVORI)) { - dettPratica.setCodiceFiscaleDelegatoFineLavori(oldSoggetto.getCodiceFiscale()); - } else if (oldSoggetto.getTipologiaProfessione().equalsIgnoreCase(TipoSoggettoUtil.COLLAUDATORE)) { - dettPratica.setCodiceFiscaleDelegatoCollaudo(oldSoggetto.getCodiceFiscale()); - } - dettPratica = DettPraticaLocalServiceUtil.updateDettPratica(dettPratica); - } - - continue; - } - } - - - newSoggetto = - SoggettoLocalServiceUtil.createSoggetto(CounterLocalServiceUtil.increment(Soggetto.class.getName())); - - newSoggetto.setCompanyId(companyId); - newSoggetto.setUserId(adminUser.getUserId()); - newSoggetto.setUserName(adminUser.getScreenName()); - newSoggetto.setCreateDate(oldSoggetto.getCreateDate()); - newSoggetto.setModifiedDate(oldSoggetto.getModifiedDate()); - newSoggetto.setGroupId(territorio.getGroupId()); - - newSoggetto.setDettPraticaId(newDettPraticaId); - newSoggetto.setIntPraticaId(newIntPraticaId); - newSoggetto.setNome(oldSoggetto.getNome()); - newSoggetto.setCognome(oldSoggetto.getCognome()); - newSoggetto.setCodiceFiscale(oldSoggetto.getCodiceFiscale()); - newSoggetto.setCodiceFiscaleDelegato(oldSoggetto.getCodiceFiscaleDelegato()); - newSoggetto.setDataNascita(oldSoggetto.getDataNascita()); - // newSoggetto.setProvinciaNascita(oldSoggetto.getP); - newSoggetto.setComuneNascita(oldSoggetto.getComuneNascita()); - // newSoggetto.setComuneDomicilio(oldSoggetto.getCapDomicilio()); - // newSoggetto.setProvinciaDomicilio(oldSoggetto.getProvinciaDomicilio()); - // newSoggetto.setViaDomicilio(oldSoggetto.getViaDomicilio()); - // newSoggetto.setNumeroCivicoDomicilio(oldSoggetto.getNumeroCivicoDomicilio()); - // newSoggetto.setCapDomicilio(oldSoggetto.getCapDomicilio()); - newSoggetto.setDomicilioExtra(oldSoggetto.getDomicilioExtra()); - newSoggetto.setComune(oldSoggetto.getComune()); - newSoggetto.setProvincia(oldSoggetto.getProvincia()); - newSoggetto.setVia(oldSoggetto.getVia()); - newSoggetto.setNumeroCivico(oldSoggetto.getNumeroCivico()); - newSoggetto.setCap(oldSoggetto.getCap()); - newSoggetto.setDenominazione(oldSoggetto.getDenominazione()); - newSoggetto.setSedeLegale(oldSoggetto.getSedeLegale()); - newSoggetto.setLegaleRap(oldSoggetto.getLegaleRap()); - newSoggetto.setDataNascitaRap(oldSoggetto.getDataNascitaRap()); - newSoggetto.setComuneNascitaRap(oldSoggetto.getComuneNascitaRap()); - newSoggetto.setViaRap(oldSoggetto.getViaRap()); - newSoggetto.setNumeroCivicoRap(oldSoggetto.getNumeroCivicoRap()); - newSoggetto.setCapRap(oldSoggetto.getCapRap()); - newSoggetto.setProvinciaRap(oldSoggetto.getProvinciaRap()); - newSoggetto.setComuneRap(oldSoggetto.getComuneRap()); - newSoggetto.setAlbo("albo-altro"); - newSoggetto.setAlboDescr(oldSoggetto.getAlbo()); - newSoggetto.setRegAlbo(oldSoggetto.getRegAlbo()); - newSoggetto.setProvinciaAlbo(oldSoggetto.getProvAlbo()); - newSoggetto.setNumIscrAlbo(oldSoggetto.getNumIscrAlbo()); - newSoggetto.setTelefono(oldSoggetto.getTelefono()); - newSoggetto.setFax(oldSoggetto.getFax()); - newSoggetto.setEmail(oldSoggetto.getEmail()); - newSoggetto.setTipologiaSoggetto(oldSoggetto.getTipologiaProfessione()); - newSoggetto.setAggiuntivo(oldSoggetto.getAggiuntivo()); - newSoggetto.setOldSoggettoId(oldSoggetto.getSoggettoId()); - newSoggetto.setTmp(false); - newSoggetto.setAmbitoAttivita(StringPool.BLANK); - newSoggetto.setAmbitoProfessione(StringPool.BLANK); - newSoggetto.setRimosso(oldSoggetto.getSostituito()); - - newSoggetto = SoggettoLocalServiceUtil.updateSoggetto(newSoggetto); - - if (!oldSoggetto.getAggiuntivo()) { - IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(newIntPraticaId); - DettPratica dettPratica = DettPraticaLocalServiceUtil.fetchDettPratica(newDettPraticaId); - SoggettoLocalServiceUtil.updatePrincipale(newDettPraticaId, newSoggetto.getCodiceFiscale(), - newSoggetto.getTipologiaSoggetto()); - - if (newSoggetto.getTipologiaSoggetto().equalsIgnoreCase(TipoSoggettoUtil.DIRETTORE_LAVORI)) { - dettPratica = DettPraticaLocalServiceUtil.fetchDettPratica(newDettPraticaId); - dettPratica.setCodiceFiscaleDelegatoFineLavori(oldSoggetto.getCodiceFiscale()); - dettPratica = DettPraticaLocalServiceUtil.updateDettPratica(dettPratica); - - intPratica.setCodiceFiscaleDelegatoFineLavori(oldSoggetto.getCodiceFiscale()); - intPratica = IntPraticaLocalServiceUtil.updateIntPratica(intPratica); - - List fineLavoris = - FineLavoriLocalServiceUtil.findByIntPraticaId(newIntPraticaId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, - null); - for (FineLavori fineLavori : fineLavoris) { - fineLavori.setCodiceFiscaleDelegato(oldSoggetto.getCodiceFiscale()); - FineLavoriLocalServiceUtil.updateFineLavori(fineLavori); - } - - } - if (newSoggetto.getTipologiaSoggetto().equalsIgnoreCase(TipoSoggettoUtil.COLLAUDATORE)) { - dettPratica = DettPraticaLocalServiceUtil.fetchDettPratica(newDettPraticaId); - dettPratica.setCodiceFiscaleDelegatoCollaudo(oldSoggetto.getCodiceFiscale()); - dettPratica = DettPraticaLocalServiceUtil.updateDettPratica(dettPratica); - - intPratica.setCodiceFiscaleDelegatoCollaudo(oldSoggetto.getCodiceFiscale()); - intPratica = IntPraticaLocalServiceUtil.updateIntPratica(intPratica); - - List collaudi = - CollaudoLocalServiceUtil.findByIntPraticaId(newIntPraticaId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, - null); - for (Collaudo collaudo : collaudi) { - collaudo.setCodiceFiscaleDelegato(oldSoggetto.getCodiceFiscale()); - CollaudoLocalServiceUtil.updateCollaudo(collaudo); - } - } - - } - - - } - - } - - - } - - - } - - private static IntPratica importaIntPratica(BoIntPratica oldIntPratica, long companyId) - throws NoSuchTerritorioException, SystemException { - - - ServiceContext serviceContext = new ServiceContext(); - - - // Recupero il territorio id - Territorio territorio = TerritorioLocalServiceUtil.fetchByOldTerriotioId(oldIntPratica.getTerritorioId()); - if (Validator.isNull(territorio)) { - _log.info("non ci sono territori - oldTerritorioId=" + oldIntPratica.getTerritorioId()); - return null; - } - - serviceContext.setCompanyId(territorio.getCompanyId()); - serviceContext.setScopeGroupId(territorio.getGroupId()); - - String codiceFiscaleTitolare = oldIntPratica.getCodiceFiscaleUtenteSuap(); - if (Validator.isNull(codiceFiscaleTitolare)) { - codiceFiscaleTitolare = oldIntPratica.getCodiceFiscaleDelegato(); - } - - User user = UserLocalServiceUtil.fetchUserByScreenName(companyId, codiceFiscaleTitolare); - if (Validator.isNull(user)) { - _log.info("non ci sono user con screenName= " + codiceFiscaleTitolare + " - scarto la pratica"); - return null; - } - - if (!oldIntPratica.getStatoPratica().equals(StatoPraticaConstants.RIFIUTATA)) { - - IntPratica newIntPratica = - IntPraticaLocalServiceUtil.createIntPratica(CounterLocalServiceUtil.increment(IntPratica.class.getName())); - - _log.info("importing newIntPratica " + newIntPratica.getIntPraticaId()); - - newIntPratica.setCompanyId(territorio.getCompanyId()); - // newIntPratica.setControlloObbligatorio(controlloObbligatorio); - newIntPratica.setCreateDate(oldIntPratica.getCreateDate()); - // newIntPratica.setDocPraticaAnnullamentoId(docPraticaAnnullamentoId); - newIntPratica.setDtPratica(oldIntPratica.getDtPratica()); - newIntPratica.setGroupId(territorio.getGroupId()); - newIntPratica.setDtSorteggio(oldIntPratica.getDtSorteggio()); - // newIntPratica.setDtSospensione(dtSospensione); - newIntPratica.setEsitoControllo(oldIntPratica.getEsitoControllo()); - newIntPratica.setModifiedDate(oldIntPratica.getModifiedDate()); - newIntPratica.setNumeroProgetto(oldIntPratica.getNumeroProgetto()); - newIntPratica.setOldIntPraticaId(oldIntPratica.getIntPraticaId()); - // newIntPratica.setSospesa(sospesa); - if (oldIntPratica.getStatoPratica().equalsIgnoreCase(StatoPraticaConstants.CAMBIO_ISTRUTTORE)) { - newIntPratica.setStatoPratica(StatoPraticaConstants.VIDIMATA); - } else if (oldIntPratica.getStatoPratica().equalsIgnoreCase(StatoPraticaConstants.AUTORIZZATA)) { - newIntPratica.setStatoPratica(StatoPraticaConstants.CONFORME); - } else if (oldIntPratica.getStatoPratica().equalsIgnoreCase(StatoPraticaConstants.NON_AUTORIZZATA)) { - newIntPratica.setStatoPratica(StatoPraticaConstants.NON_CONFORME); - } else if (oldIntPratica.getStatoPratica().equalsIgnoreCase(StatoPraticaConstants.ANNULLA_ISTANZA)) { - newIntPratica.setStatoPratica(StatoPraticaConstants.ANNULLATA); - } else { - newIntPratica.setStatoPratica(oldIntPratica.getStatoPratica()); - } - - newIntPratica.setStatus(oldIntPratica.getStatus()); - - OldUser oldUserStatus = OldUserLocalServiceUtil.fetchOldUser(oldIntPratica.getStatusByUserId()); - if (oldUserStatus != null) { - User userStatus = UserLocalServiceUtil.fetchUserByScreenName(companyId, oldUserStatus.getScreenName()); - if (userStatus != null) { - newIntPratica.setStatusByUserId(userStatus.getUserId()); - } - } - - - newIntPratica.setStatusDate(oldIntPratica.getStatusDate()); - newIntPratica.setTerritorioId(territorio.getTerritorioId()); - newIntPratica.setTipoPratica("0" + oldIntPratica.getTipoPraticaId()); - newIntPratica.setUserName(user.getScreenName()); - newIntPratica.setUserId(user.getUserId()); - newIntPratica.setValidata(oldIntPratica.getValidata()); - - newIntPratica = IntPraticaLocalServiceUtil.updateIntPratica(newIntPratica); - - - // IntPratica newIntPratica = - // IntPraticaLocalServiceUtil.addIntPratica(user.getUserId(), user.getScreenName(), - // oldIntPratica.getTipoPraticaId() + "", territorio.getTerritorioId(), - // oldIntPratica.getDtSorteggio(), - // oldIntPratica.getStatoPratica(), oldIntPratica.getNumeroProgetto(), - // oldIntPratica.getValidata(), - // oldIntPratica.getEsitoControllo(), oldIntPratica.getDtPratica(), - // oldIntPratica.getIntPraticaId(), - // serviceContext); - - return newIntPratica; - - } - - return null; - - - } - - private static IntPratica updateNewIntPraticaVariataDa(long companyId, long newIntPraticaId, - BoIntPratica oldIntPratica) throws SystemException, PortalException { - - IntPratica newIntPratica = IntPraticaLocalServiceUtil.fetchIntPratica(newIntPraticaId); - newIntPratica.setDtSorteggio(oldIntPratica.getDtSorteggio()); - newIntPratica.setEsitoControllo(oldIntPratica.getEsitoControllo()); - newIntPratica.setModifiedDate(oldIntPratica.getModifiedDate()); - - if (oldIntPratica.getStatoPratica().equalsIgnoreCase(StatoPraticaConstants.CAMBIO_ISTRUTTORE)) { - newIntPratica.setStatoPratica(StatoPraticaConstants.VIDIMATA); - // Non dovrebbe servire più - // } else if - // (oldIntPratica.getStatoPratica().equalsIgnoreCase(StatoPraticaConstants.AUTORIZZATA)) { - // newIntPratica.setStatoPratica(StatoPraticaConstants.CONFORME); - // } else if - // (oldIntPratica.getStatoPratica().equalsIgnoreCase(StatoPraticaConstants.NON_AUTORIZZATA)) { - // newIntPratica.setStatoPratica(StatoPraticaConstants.NON_CONFORME); - } else if (oldIntPratica.getStatoPratica().equalsIgnoreCase(StatoPraticaConstants.ANNULLA_ISTANZA)) { - newIntPratica.setStatoPratica(StatoPraticaConstants.ANNULLATA); - } else { - newIntPratica.setStatoPratica(oldIntPratica.getStatoPratica()); - } - - newIntPratica.setStatus(oldIntPratica.getStatus()); - - OldUser oldUserStatus = OldUserLocalServiceUtil.fetchOldUser(oldIntPratica.getStatusByUserId()); - if (oldUserStatus != null) { - User userStatus = UserLocalServiceUtil.fetchUserByScreenName(companyId, oldUserStatus.getScreenName()); - if (userStatus != null) { - newIntPratica.setStatusByUserId(userStatus.getUserId()); - } - } - - newIntPratica.setStatusDate(oldIntPratica.getStatusDate()); - - - String codiceFiscaleTitolare = oldIntPratica.getCodiceFiscaleUtenteSuap(); - if (Validator.isNull(codiceFiscaleTitolare)) { - codiceFiscaleTitolare = oldIntPratica.getCodiceFiscaleDelegato(); - } - - if(!newIntPratica.getUserName().equalsIgnoreCase(codiceFiscaleTitolare)){ - User userTitolare = UserLocalServiceUtil.fetchUserByScreenName(companyId, codiceFiscaleTitolare); - if(userTitolare != null){ - newIntPratica.setUserName(codiceFiscaleTitolare); - newIntPratica.setUserId(userTitolare.getUserId()); - } - } - - return IntPraticaLocalServiceUtil.updateIntPratica(newIntPratica); - } - - private static void importaDocAggiuntiva(BoDettPratica oldDettPratica, long classPk, long newDettPratica, - long companyId, Territorio territorio) throws SystemException { - - long defaultFolderId = - BoConfigurazioneLocalServiceUtil.findByC_G_ChiaveLong(oldDettPratica.getCompanyId(), - oldDettPratica.getGroupId(), "conf.geniocivile.attachment.folder.id"); - - OldDLFolder defaultFolder = OldDLFolderLocalServiceUtil.fetchOldDLFolder(defaultFolderId); - String folderName = ImportazioneUtil.getFolderName(oldDettPratica); - - OldDLFolder oldDLFolder = - OldDLFolderLocalServiceUtil.fetchByRepId_ParentId_Name(defaultFolder.getRepositoryId(), - defaultFolder.getFolderId(), folderName); - if (oldDLFolder != null) { - OldDLFolder folderDocumentazione = - OldDLFolderLocalServiceUtil.fetchByRepId_ParentId_Name(oldDLFolder.getRepositoryId(), - oldDLFolder.getFolderId(), "Documentazione Aggiuntiva"); - if (folderDocumentazione != null) { - - List lista = - OldDLFileEntryLocalServiceUtil.findByRepId_ParentId(folderDocumentazione.getRepositoryId(), - folderDocumentazione.getFolderId()); - if (lista != null && !lista.isEmpty()) { - for (OldDLFileEntry oldDLFileEntry : lista) { - - OldUser oldUserUplOldUser = OldUserLocalServiceUtil.fetchOldUser(oldDLFileEntry.getUserId()); - User userUploader = - UserLocalServiceUtil.fetchUserByScreenName(companyId, oldUserUplOldUser.getScreenName()); - if (userUploader == null) { - userUploader = ImportazioneUtil.getAdmin(); - } - - DocAggiuntiva docAggiuntiva = - DocAggiuntivaLocalServiceUtil.fetchByOldFileEntryId(oldDLFileEntry.getFileEntryId()); - if (docAggiuntiva == null) { - - docAggiuntiva = - DocAggiuntivaLocalServiceUtil.createDocAggiuntiva(CounterLocalServiceUtil - .increment(DocAggiuntiva.class.getName())); - - docAggiuntiva.setIntPraticaId(newDettPratica); - docAggiuntiva.setOldFileEntryId(oldDLFileEntry.getFileEntryId()); - docAggiuntiva.setUserId(userUploader.getUserId()); - docAggiuntiva.setUserName(userUploader.getScreenName()); - docAggiuntiva.setDettPraticaId(classPk); - docAggiuntiva.setCreateDate(oldDLFileEntry.getCreateDate()); - docAggiuntiva.setModifiedDate(oldDLFileEntry.getModifiedDate()); - docAggiuntiva.setCompanyId(territorio.getCompanyId()); - docAggiuntiva.setGroupId(territorio.getGroupId()); - - DocAggiuntivaLocalServiceUtil.updateDocAggiuntiva(docAggiuntiva); - - } else { - _log.warn("Doc Aggiuntiva gia importata"); - } - } - } - - } - - } - - } - - private static void importaWorkflowAssegnazione(BoDettPratica boDettPratica, DettPratica dettPratica, - IntPratica intPratica) throws Exception { - - - ServiceContext serviceContext = new ServiceContext(); - serviceContext.setCompanyId(intPratica.getCompanyId()); - serviceContext.setUserId(intPratica.getUserId()); - - if (intPratica.getStatus() == 1 || (intPratica.getStatus() == 2 && intPratica.getStatoPratica().equals("SP"))) { - if (intPratica.getStatusByUserId() == 0l) { - if (dettPratica.isCompleta() && dettPratica.isGestita()) { - Territorio territorio = TerritorioLocalServiceUtil.getTerritorio(intPratica.getTerritorioId()); - boolean updateFlagControlloObbligatorio = true; - ControlloPratica entry = - ControlloPraticaLocalServiceUtil.addControlloPratica(territorio.getGroupId(), intPratica.getUserId(), - intPratica.getIntPraticaId(), dettPratica.getDettPraticaId(), updateFlagControlloObbligatorio, - serviceContext); - - entry.setGroupId(territorio.getGroupId()); - entry.setStatus(WorkflowConstants.STATUS_PENDING); - entry.setStatusByUserId(intPratica.getStatusByUserId()); - entry = ControlloPraticaLocalServiceUtil.updateControlloPratica(entry); - - - // // Codice preso da ShcedulerInvioDocumento - // long workflowInstanceId = WorkflowUtil.getWorkflowInstanceId(entry); - // long companyId = entry.getCompanyId(); - // long userId = WorkflowUtil.getWorkflowInstanceCreateUserId(entry); - // try { - // - // WorkflowInstance workflowInstance = - // WorkflowInstanceManagerUtil.getWorkflowInstance(companyId, workflowInstanceId); - // WorkflowInstanceManagerUtil.signalWorkflowInstance(companyId, userId, - // workflowInstanceId, - // "signal_cittadino", workflowInstance.getWorkflowContext()); - // DettPraticaLocalServiceUtil.updateSignal(dettPratica.getDettPraticaId(), new Date()); - // } catch (WorkflowException e) { - // trackImportException(boDettPratica.getDettPraticaId(), e.getMessage()); - // _log.error("Error", e); - // } - } - } - } - - // INTEGRAZIONE - if (intPratica.getStatusByUserId() != 0l) { - if (intPratica.getStatoPratica().equals(StatoPraticaConstants.INTEGRAZIONE)) { - if (dettPratica.isCompleta() && dettPratica.isGestita()) { - Territorio territorio = TerritorioLocalServiceUtil.getTerritorio(intPratica.getTerritorioId()); - // if (WorkflowUtil.needToStartWorkflow(dettPratica)) { - boolean updateFlagControlloObbligatorio = true; - ControlloPratica entry = - ControlloPraticaLocalServiceUtil.addControlloPratica(territorio.getGroupId(), dettPratica.getUserId(), - intPratica.getIntPraticaId(), dettPratica.getDettPraticaId(), updateFlagControlloObbligatorio, - serviceContext); - - entry.setStatus(WorkflowConstants.STATUS_PENDING); - entry.setStatusByUserId(intPratica.getStatusByUserId()); - entry = ControlloPraticaLocalServiceUtil.updateControlloPratica(entry); - intPratica.setStatoPratica(StatoPraticaConstants.INTEGRAZIONE); - intPratica.setStatus(WorkflowConstants.STATUS_PENDING); - IntPraticaLocalServiceUtil.updateIntPratica(intPratica); - - - try { - Thread.sleep(5000); - changeKaleo(entry.getControlloPraticaId()); - } catch (InterruptedException e) { - e.printStackTrace(); - } - - - // // Codice preso da ShcedulerInvioDocumento - // long workflowInstanceId = WorkflowUtil.getWorkflowInstanceId(entry); - // long companyId = entry.getCompanyId(); - // long userId = WorkflowUtil.getWorkflowInstanceCreateUserId(entry); - // try { - // - // WorkflowInstance workflowInstance = - // WorkflowInstanceManagerUtil.getWorkflowInstance(companyId, workflowInstanceId); - // WorkflowInstanceManagerUtil.signalWorkflowInstance(companyId, userId, - // workflowInstanceId, - // "signal_cittadino", workflowInstance.getWorkflowContext()); - // DettPraticaLocalServiceUtil.updateSignal(dettPratica.getDettPraticaId(), new Date()); - // } catch (WorkflowException e) { - // trackImportException(boDettPratica.getDettPraticaId(), e.getMessage()); - // _log.error("Error", e); - // } - // } - } - } - } - - - // if (intPratica.getStatus() == 1) { - // if (intPratica.getStatusByUserId() == 0l) { - // if (boDettPratica.getStatus() == 1) { - // if (!intPratica.getStatoPratica().equals(StatoPraticaConstants.INTEGRAZIONE)) { - // if (dettPratica.isCompleta() && !dettPratica.isGestita()) { - // Territorio territorio = - // TerritorioLocalServiceUtil.getTerritorio(intPratica.getTerritorioId()); - // if (WorkflowUtil.needToStartWorkflow(dettPratica)) { - // boolean updateFlagControlloObbligatorio = true; - // ControlloPraticaLocalServiceUtil.addControlloPratica(territorio.getGroupId(), - // intPratica.getUserId(), - // intPratica.getIntPraticaId(), dettPratica.getDettPraticaId(), - // updateFlagControlloObbligatorio, - // serviceContext); - // - // } - // } - // } - // } - // } else { - // if (intPratica.getStatoPratica().equals(StatoPraticaConstants.INTEGRAZIONE)) { - // if (dettPratica.isCompleta() && !dettPratica.isGestita()) { - // Territorio territorio = - // TerritorioLocalServiceUtil.getTerritorio(intPratica.getTerritorioId()); - // if (WorkflowUtil.needToStartWorkflow(dettPratica)) { - // boolean updateFlagControlloObbligatorio = true; - // ControlloPratica entry = - // ControlloPraticaLocalServiceUtil.addControlloPratica(territorio.getGroupId(), - // intPratica.getUserId(), - // intPratica.getIntPraticaId(), dettPratica.getDettPraticaId(), - // updateFlagControlloObbligatorio, - // serviceContext); - // - // entry.setStatus(WorkflowConstants.STATUS_PENDING); - // ControlloPraticaLocalServiceUtil.updateControlloPratica(entry); - // - // // Codice preso da ShcedulerInvioDocumento - // long workflowInstanceId = WorkflowUtil.getWorkflowInstanceId(entry); - // long companyId = entry.getCompanyId(); - // long userId = WorkflowUtil.getWorkflowInstanceCreateUserId(entry); - // try { - // WorkflowInstance workflowInstance = - // WorkflowInstanceManagerUtil.getWorkflowInstance(companyId, workflowInstanceId); - // WorkflowInstanceManagerUtil.signalWorkflowInstance(companyId, userId, workflowInstanceId, - // "signal_cittadino", workflowInstance.getWorkflowContext()); - // DettPraticaLocalServiceUtil.updateSignal(dettPratica.getDettPraticaId(), new Date()); - // } catch (WorkflowException e) { - // trackImportException(boDettPratica.getDettPraticaId(), e.getMessage()); - // _log.error("Error", e); - // } - // - // } - // } - // } - // - // - // } - // } - - - // if (boDettPratica.getStatus() == 1) { - // if (oldIntPratica.getStatusByUserId() == 0l) { - // if (!intPratica.getTipoPratica().equals("IN")) { - // // if (dettPratica.isCompleta() && !dettPratica.isGestita()) { CHIEDERE A SCUTI - // // if (WorkflowUtil.needToStartWorkflow(dettPratica)) { CHIEDERE A SCUTI PERCHE SI FA - // // RIFERIMENTO AL DETT PRATICA QUI - // - // // Territorio territorio = - // // TerritorioLocalServiceUtil.getTerritorio(intPratica.getTerritorioId()); - // // - // // boolean updateFlagControlloObbligatorio = true; - // // ControlloPraticaLocalServiceUtil.addControlloPratica(territorio.getGroupId(), userId, - // // intPratica.getIntPraticaId(), dettPratica.getDettPraticaId(), - // // updateFlagControlloObbligatorio, - // // serviceContext); - // - // } else { - // _log.warn("Workflow Importazione : Controllare oldIntPraticaId=" + - // oldIntPratica.getStatusByUserId() - // + " perche e integrazione"); - // } - // } else { - // _log.warn("Workflow Importazione : Controllare oldIntPraticaId=" + - // oldIntPratica.getStatusByUserId() - // + " perche e associata ad uno user"); - // } - // } - - } - - private static void trackImportException(long oldDettPraticaId, String errorMessage) { - - StatoImportazione importazione; - try { - importazione = - StatoImportazioneLocalServiceUtil.createStatoImportazione(CounterLocalServiceUtil - .increment(StatoImportazione.class.getName())); - importazione.setDataImportazione(new Date()); - importazione.setErrorMessage(errorMessage); - importazione.setClassName(BoDettPratica.class.getName()); - importazione.setOldPrimaryKey(oldDettPraticaId + ""); - - StatoImportazioneLocalServiceUtil.updateStatoImportazione(importazione); - } catch (SystemException e) { - _log.error(e, e); - } - - } - - private static void changeKaleo(long classPk) throws SystemException, PortalException { - - // ClassLoader classLoader = - // (ClassLoader) PortletBeanLocatorUtil.locate( - // com.liferay.portal.workflow.kaleo.service.ClpSerializer.getServletContextName(), - // "portletClassLoader"); - // - // DynamicQuery query = DynamicQueryFactoryUtil.forClass(KaleoNode.class, classLoader); - // query.add(RestrictionsFactoryUtil.eq("name", "signal_cittadino")); - - DynamicQuery query = DynamicQueryFactoryUtil.forClass(KaleoNode.class); - query.add(RestrictionsFactoryUtil.eq("name", "signal_cittadino")); - Order defaultOrder = OrderFactoryUtil.desc("createDate"); - query.addOrder(defaultOrder); - - List listaNodes = KaleoNodeLocalServiceUtil.dynamicQuery(query); - if (listaNodes != null && !listaNodes.isEmpty()) { - - KaleoNode node = listaNodes.get(0); - - DynamicQuery queryInstanceToken = DynamicQueryFactoryUtil.forClass(KaleoInstanceToken.class); - queryInstanceToken.add(RestrictionsFactoryUtil.eq("className", ControlloPratica.class.getName())); - queryInstanceToken.add(RestrictionsFactoryUtil.eq("classPK", classPk)); - Order defaultOrderqueryInstanceToken = OrderFactoryUtil.desc("createDate"); - queryInstanceToken.addOrder(defaultOrderqueryInstanceToken); - - - if (node.getName().equals("signal_cittadino")) { - List listaKaleoInstanceToken = - KaleoInstanceTokenLocalServiceUtil.dynamicQuery(queryInstanceToken); - if (listaKaleoInstanceToken != null && !listaKaleoInstanceToken.isEmpty()) { - - KaleoInstanceToken kaleoInstanceToken = listaKaleoInstanceToken.get(0); - if (kaleoInstanceToken.getClassName().equals(ControlloPratica.class.getName()) - && kaleoInstanceToken.getClassPK() == classPk) { - KaleoInstanceToken instanceTokenApp = - KaleoInstanceTokenLocalServiceUtil.getKaleoInstanceToken(kaleoInstanceToken.getKaleoInstanceTokenId()); - - instanceTokenApp.setCurrentKaleoNodeId(node.getKaleoNodeId()); - instanceTokenApp.setCurrentKaleoNodeName(node.getName()); - - KaleoInstanceTokenLocalServiceUtil.updateKaleoInstanceToken(instanceTokenApp); - - DynamicQuery queryKaleoTask = DynamicQueryFactoryUtil.forClass(KaleoTask.class); - queryKaleoTask.add(RestrictionsFactoryUtil.eq("name", "Approvazione")); - Order defaultOrderqueryKaleoTask = OrderFactoryUtil.desc("createDate"); - queryKaleoTask.addOrder(defaultOrderqueryKaleoTask); - - List listaKaleoTask = KaleoTaskLocalServiceUtil.dynamicQuery(queryKaleoTask); - if (listaKaleoTask != null && !listaKaleoTask.isEmpty()) { - KaleoTask kaleoTask = listaKaleoTask.get(0); - - DynamicQuery queryInstanceTokenTask = DynamicQueryFactoryUtil.forClass(KaleoTaskInstanceToken.class); - queryInstanceTokenTask.add(RestrictionsFactoryUtil.eq("className", ControlloPratica.class.getName())); - queryInstanceTokenTask.add(RestrictionsFactoryUtil.eq("classPK", classPk)); - Order defaultOrderqueryInstanceTokenTask = OrderFactoryUtil.desc("createDate"); - queryInstanceTokenTask.addOrder(defaultOrderqueryInstanceTokenTask); - - List listaFinale = - KaleoTaskInstanceTokenLocalServiceUtil.dynamicQuery(queryInstanceTokenTask); - if (listaFinale != null && !listaFinale.isEmpty()) { - KaleoTaskInstanceToken instanceToken = - KaleoTaskInstanceTokenLocalServiceUtil.getKaleoTaskInstanceToken(listaFinale.get(0) - .getKaleoTaskInstanceTokenId()); - - instanceToken.setKaleoTaskId(kaleoTask.getKaleoTaskId()); - instanceToken.setKaleoTaskName(kaleoTask.getName()); - instanceToken.setCompleted(true); - instanceToken.setCompletionUserId(ImportazioneUtil.getAdmin().getUserId()); - - KaleoTaskInstanceTokenLocalServiceUtil.updateKaleoTaskInstanceToken(instanceToken); - } - - } - } - - } - - } - - // KaleoNode node = listaNodes.get(0); - - // DynamicQuery queryInstanceToken = - // DynamicQueryFactoryUtil.forClass(KaleoInstanceToken.class, classLoader); - // queryInstanceToken.add(RestrictionsFactoryUtil.eq("className", - // ControlloPratica.class.getName())); - // queryInstanceToken.add(RestrictionsFactoryUtil.eq("classPk", classPk)); - - // List listaKaleoInstanceToken = - // KaleoInstanceTokenLocalServiceUtil.dynamicQuery(queryInstanceToken); - // if (listaKaleoInstanceToken != null && !listaKaleoInstanceToken.isEmpty()) { - // KaleoInstanceToken instanceToken = - // KaleoInstanceTokenLocalServiceUtil.getKaleoInstanceToken(listaKaleoInstanceToken.get(0).getKaleoInstanceTokenId()); - // - // instanceToken.setCurrentKaleoNodeId(node.getKaleoNodeId()); - // instanceToken.setCurrentKaleoNodeName(node.getName()); - // - // KaleoInstanceTokenLocalServiceUtil.updateKaleoInstanceToken(instanceToken); - // } - - - } - - /* - * Da KaleoNode mi prendo la row con signal_cittadino per name Da qui mi prendo il kaleoNodeId e - * per className e classPk vado su KaleoInstanceToken e cambio il currentKaleoNodeId e - * currentKaleoNodeName - */ - - } - - - public static void attivaWorkflowPerPraticheAnomale() throws PortalException, SystemException { - - - ClassLoader classLoader = - (ClassLoader) PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), "portletClassLoader"); - - DynamicQuery query = DynamicQueryFactoryUtil.forClass(IntPratica.class, classLoader); - query.add(RestrictionsFactoryUtil.eq("status", 2)); - query.add(RestrictionsFactoryUtil.eq("statusByUserId", 0L)); - query.add(RestrictionsFactoryUtil.eq("statoPratica", "SP")); - - - List lista = IntPraticaLocalServiceUtil.dynamicQuery(query, QueryUtil.ALL_POS, QueryUtil.ALL_POS); - _log.info(lista.size() + " IntPraticheTrovate"); - for (IntPratica intPratica : lista) { - - DynamicQuery queryCP = DynamicQueryFactoryUtil.forClass(ControlloPratica.class, classLoader); - queryCP.add(RestrictionsFactoryUtil.eq("intPraticaId", intPratica.getIntPraticaId())); - - List appList = - ControlloPraticaLocalServiceUtil.dynamicQuery(queryCP, QueryUtil.ALL_POS, QueryUtil.ALL_POS); - - if (appList != null && !appList.isEmpty()) { - - _log.info("ControlloPratica gia esistente" + intPratica.getIntPraticaId()); - - return; - } else { - - DettPratica lastDett = DettPraticaLocalServiceUtil.getLastCompletedByIntPratica(intPratica.getIntPraticaId()); - if (lastDett != null) { - - _log.info("RIPARO WORKFLOW INTPRATICA " + intPratica.getIntPraticaId()); - - ServiceContext serviceContext = new ServiceContext(); - serviceContext.setCompanyId(intPratica.getCompanyId()); - serviceContext.setUserId(intPratica.getUserId()); - - if (lastDett.isCompleta() && lastDett.isGestita()) { - Territorio territorio = TerritorioLocalServiceUtil.getTerritorio(intPratica.getTerritorioId()); - boolean updateFlagControlloObbligatorio = true; - ControlloPratica entry = - ControlloPraticaLocalServiceUtil.addControlloPratica(territorio.getGroupId(), intPratica.getUserId(), - intPratica.getIntPraticaId(), lastDett.getDettPraticaId(), updateFlagControlloObbligatorio, - serviceContext); - - entry.setGroupId(territorio.getGroupId()); - entry.setStatus(WorkflowConstants.STATUS_PENDING); - entry.setStatusByUserId(intPratica.getStatusByUserId()); - entry = ControlloPraticaLocalServiceUtil.updateControlloPratica(entry); - } - - } else { - _log.info("Last dett pratica completed not exist " + intPratica.getIntPraticaId()); - } - - } - } - - } - - public static void cleanPratichePerse(long intPraticaId, long companyId) throws Exception { - - List dettPraticas = DettPraticaLocalServiceUtil.findByIntPraticaId(intPraticaId); - for (DettPratica dettPratica : dettPraticas) { - DettPraticaLocalServiceUtil.deleteDettPratica(dettPratica); - } - _log.info("Deleted dettPraticas"); - - // List soggetti = - // soggettoLocalService.findByIntPratica(intPratica.getIntPraticaId()); - // for (Soggetto soggetto : soggetti) { - // soggettoLocalService.deleteSoggetto(soggetto); - // } - // - // List allegati = - // docPraticaLocalService.findByIntPratica(intPratica.getIntPraticaId()); - // for (DocPratica allegato : allegati) { - // docPraticaLocalService.deleteDocPratica(allegato); - // } - - List avvisi = - AvvisoLocalServiceUtil.findByIntPratica(intPraticaId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - for (Avviso avviso : avvisi) { - AvvisoLocalServiceUtil.deleteAvviso(avviso); - } - _log.info("Deleted avvisi"); - - List allegatiManuali = - AllegatoManualeLocalServiceUtil.findByIntPratica(intPraticaId); - for (AllegatoManuale allegatoManuale : allegatiManuali) { - AllegatoManualeLocalServiceUtil.deleteAllegatoManuale(allegatoManuale); - } - _log.info("Deleted avvisi manuali"); - - List collaudi = - CollaudoLocalServiceUtil.findByIntPraticaId(intPraticaId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, - null); - for (Collaudo collaudo : collaudi) { - CollaudoLocalServiceUtil.deleteCollaudo(collaudo); - } - _log.info("Deleted collaudi"); - - List fineLavori = - FineLavoriLocalServiceUtil.findByIntPraticaId(intPraticaId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, - null); - for (FineLavori fineLavoro : fineLavori) { - FineLavoriLocalServiceUtil.deleteFineLavori(fineLavoro); - } - - List comunicazioni = ComunicazioneLocalServiceUtil.findByIntPratica(intPraticaId); - for (Comunicazione comunicazione : comunicazioni) { - ComunicazioneLocalServiceUtil.deleteComunicazione(comunicazione); - } - _log.info("Deleted comunicazioni"); - - List docaggiuntive = - DocAggiuntivaLocalServiceUtil.findByIntPratica(intPraticaId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - for (DocAggiuntiva docAggiuntiva : docaggiuntive) { - DocAggiuntivaLocalServiceUtil.deleteDocAggiuntiva(docAggiuntiva); - } - _log.info("Deleted doc_aggiuntiva"); - - List pareriGeologo = - ParereGeologoLocalServiceUtil.findByIntPraticaId(intPraticaId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS); - for (ParereGeologo parereGeologo : pareriGeologo) { - ParereGeologoLocalServiceUtil.deleteParereGeologo(parereGeologo); - } - _log.info("Deleted pareri_geologo"); - - _log.info("*************************************"); - - - } - - public static void cleanPraticheDoppie(String numeroProgetto, long companyId) throws Exception { - - try { - - ClassLoader classLoader = - (ClassLoader) PortletBeanLocatorUtil.locate( - ClpSerializer.getServletContextName(), "portletClassLoader"); - - DynamicQuery query = DynamicQueryFactoryUtil.forClass(BoIntPratica.class); - query.add(RestrictionsFactoryUtil.eq("numeroProgetto", numeroProgetto)); - query.add(RestrictionsFactoryUtil.eq("varianteNumero", 0L)); - - List listaOld = BoIntPraticaLocalServiceUtil.dynamicQuery(query); - if(listaOld != null && !listaOld.isEmpty()){ - BoIntPratica boIntPratica = listaOld.get(0); - if(boIntPratica != null){ - - DynamicQuery queryDett = DynamicQueryFactoryUtil.forClass(BoDettPratica.class); - queryDett.add(RestrictionsFactoryUtil.eq("intPraticaId", boIntPratica.getIntPraticaId())); - queryDett.add(RestrictionsFactoryUtil.eq("integrazione", 0l)); - queryDett.add(RestrictionsFactoryUtil.eq("validata", true)); - - List listDett = BoDettPraticaLocalServiceUtil.dynamicQuery(queryDett); - - if (listDett != null && !listDett.isEmpty() && listDett.size() == 1) { - BoDettPratica boDettPratica = listDett.get(0); - if (boDettPratica != null) { - - DynamicQuery queryInt = DynamicQueryFactoryUtil.forClass(IntPratica.class,classLoader); - queryInt.add(RestrictionsFactoryUtil.eq("numeroProgetto", numeroProgetto)); - - List listas = IntPraticaLocalServiceUtil.dynamicQuery(queryInt); - if(listas != null && !listas.isEmpty()){ - for (IntPratica intPratica : listas) { - IntPratica intPraticaApp = IntPraticaLocalServiceUtil.fetchIntPratica(intPratica.getIntPraticaId()); - - // Cancello Fascicolo - deleteFascicolo(intPraticaApp, companyId); - } - } - - // Importa Fascicolo Da Portos 1 - PraticaImporter.importaSingolaPratica(boDettPratica.getDettPraticaId(), companyId); - - } - } - - } - } - - - } catch (PortalException | SystemException e) { - _log.error("Errore nel processo di numeroProgetto = " + numeroProgetto, e); - } - - } - - public static void cleanPraticheDoppie(long intPraticaId, long companyId) throws Exception { - - try { - - ClassLoader classLoader = - (ClassLoader) PortletBeanLocatorUtil.locate( - it.tref.liferay.portos.importazione.service.ClpSerializer.getServletContextName(), "portletClassLoader"); - - IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId); - if (intPratica != null) { - - - BoIntPratica boIntPratica = BoIntPraticaLocalServiceUtil.fetchBoIntPratica(intPratica.getOldIntPraticaId()); - - String numeroProgetto = intPratica.getNumeroProgetto(); - // - // DynamicQuery queryInt = DynamicQueryFactoryUtil.forClass(BoIntPratica.class); - // queryInt.add(RestrictionsFactoryUtil.eq("numeroProgetto", numeroProgetto)); - // queryInt.add(RestrictionsFactoryUtil.eq("varianteNumero", 0)); - // - // List listaInt = BoIntPraticaLocalServiceUtil.dynamicQuery(queryInt); - - // if (listaInt != null && !listaInt.isEmpty() && listaInt.size() == 1) { - - // BoIntPratica boIntPratica = listaInt.get(0); - if (boIntPratica != null) { - - DynamicQuery query = DynamicQueryFactoryUtil.forClass(BoDettPratica.class); - query.add(RestrictionsFactoryUtil.eq("intPraticaId", boIntPratica.getIntPraticaId())); - query.add(RestrictionsFactoryUtil.eq("integrazione", 0l)); - query.add(RestrictionsFactoryUtil.eq("validata", true)); - - List listDett = BoDettPraticaLocalServiceUtil.dynamicQuery(query); - - if (listDett != null && !listDett.isEmpty() && listDett.size() == 1) { - BoDettPratica boDettPratica = listDett.get(0); - if (boDettPratica != null) { - - // Cancello Fascicolo - deleteFascicolo(intPratica, companyId); - - // Importa Fascicolo Da Portos 1 - PraticaImporter.importaSingolaPratica(boDettPratica.getDettPraticaId(), companyId); - } - - } else { - _log.info("Errore nella query relative alle BoDettPratiche per progetto : " + numeroProgetto); - } - - } else { - _log.info("Errore nella query relative alle BoIntPratiche per progetto : " + numeroProgetto); - } - - // } else { - // _log.info("Errore nella query relative alle BoIntPratiche per progetto : " + - // numeroProgetto); - // } - - - } else { - _log.info("Nessuna intPratica trovata con id : " + intPraticaId); - } - - } catch (PortalException | SystemException e) { - _log.error("Errore nel processo di intPraticaId = " + intPraticaId, e); - } - - } - - private static void deleteFascicolo(IntPratica intPratica, long companyId) throws SystemException, PortalException { - - ClassLoader classLoader = - (ClassLoader) PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), "portletClassLoader"); - - DynamicQuery queryControlo = DynamicQueryFactoryUtil.forClass(ControlloPratica.class, classLoader); - queryControlo.add(RestrictionsFactoryUtil.eq("intPraticaId", intPratica.getIntPraticaId())); - - List listaControl = - ControlloPraticaLocalServiceUtil.dynamicQuery(queryControlo, QueryUtil.ALL_POS, QueryUtil.ALL_POS); - if (listaControl != null && !listaControl.isEmpty()) { - for (ControlloPratica controlloPratica : listaControl) { - - ControlloPratica controAPp = - ControlloPraticaLocalServiceUtil.fetchControlloPratica(controlloPratica.getControlloPraticaId()); - if (controAPp != null) { - - KaleoInstance kaleoInstance = KaleoInstanceLocalServiceUtil.fetchByClassPk(controAPp.getControlloPraticaId()); - if (kaleoInstance != null) { - - // Pulisco KaleoLog - List listaLog = KaleoLogLocalServiceUtil.findByClassPk(kaleoInstance.getKaleoInstanceId()); - if (listaLog != null && !listaLog.isEmpty()) { - for (KaleoLog kaleoLog : listaLog) { - KaleoLog kaleoLogApp = KaleoLogLocalServiceUtil.fetchKaleoLog(kaleoLog.getKaleoLogId()); - - KaleoLogLocalServiceUtil.deleteKaleoLog(kaleoLogApp.getKaleoLogId()); - } - } - - // Pulisco KaleoTaskAssignmentInstance - List listaKaleoTaskAssignmentInstance = - KaleoTaskAssignmentInstanceLocalServiceUtil.findByKaleoInstanceId(kaleoInstance.getKaleoInstanceId()); - if (listaKaleoTaskAssignmentInstance != null && !listaKaleoTaskAssignmentInstance.isEmpty()) { - for (KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance : listaKaleoTaskAssignmentInstance) { - KaleoTaskAssignmentInstance kaleoTaskAssignmentInstanceApp = - KaleoTaskAssignmentInstanceLocalServiceUtil - .fetchKaleoTaskAssignmentInstance(kaleoTaskAssignmentInstance - .getKaleoTaskAssignmentInstanceId()); - - KaleoTaskAssignmentInstanceLocalServiceUtil - .deleteKaleoTaskAssignmentInstance(kaleoTaskAssignmentInstanceApp - .getKaleoTaskAssignmentInstanceId()); - } - - - } - - KaleoInstanceLocalServiceUtil.deleteKaleoInstance(kaleoInstance); - } - - - // KaleoInstanceToken - KaleoInstanceToken kaleoInstanceToken = - KaleoInstanceTokenLocalServiceUtil.fetchByClassPk(controAPp.getControlloPraticaId()); - if (kaleoInstanceToken != null) { - KaleoInstanceTokenLocalServiceUtil.deleteKaleoInstanceToken(kaleoInstanceToken.getKaleoInstanceTokenId()); - } - - // KaleoTaskInstanceToken - KaleoTaskInstanceToken kaleoTaskInstanceToken = - KaleoTaskInstanceTokenLocalServiceUtil.fetchByClassPk(controAPp.getControlloPraticaId()); - if (kaleoTaskInstanceToken != null) { - KaleoTaskInstanceTokenLocalServiceUtil.deleteKaleoTaskInstanceToken(kaleoTaskInstanceToken - .getKaleoTaskInstanceTokenId()); - } - - WorkflowInstanceLink workflowInstanceLink = - WorkflowInstanceLinkLocalServiceUtil.fetchWorkflowInstanceLink(companyId, intPratica.getGroupId(), - "it.tref.liferay.portos.bo.model.ControlloPratica", controlloPratica.getControlloPraticaId()); - - if (workflowInstanceLink != null) { - WorkflowInstanceLinkLocalServiceUtil.deleteWorkflowInstanceLink(workflowInstanceLink - .getWorkflowInstanceLinkId()); - } - - } - - } - } - - IntPraticaLocalServiceUtil.deleteIntPratica(intPratica, true); - - } - - public static void riparaWorkflow() throws SystemException{ - - List lista = IntPraticaLocalServiceUtil.riparaWorkflow(); - for (Object[] objs : lista) { - long kaleotaskinstancetokenid = Long.parseLong(String.valueOf(objs[0])); - long kaleoinstancetokenid = Long.parseLong(String.valueOf(objs[1])); - long controllopraticaid = Long.parseLong(String.valueOf(objs[2])); - long statusbyuserid = Long.parseLong(String.valueOf(objs[3])); - - - DynamicQuery queryKIT = DynamicQueryFactoryUtil.forClass(KaleoTaskInstanceToken.class); - queryKIT.add(RestrictionsFactoryUtil.eq("classPK", controllopraticaid)); - Order defaultOrderDettPrtatica = OrderFactoryUtil.asc("createDate"); - queryKIT.addOrder(defaultOrderDettPrtatica); - - List listas = KaleoTaskInstanceTokenLocalServiceUtil.dynamicQuery(queryKIT); - if(listas != null && !listas.isEmpty()){ - KaleoTaskInstanceToken ktit = listas.get(0); - - DynamicQuery queryKAT = DynamicQueryFactoryUtil.forClass(KaleoTaskAssignmentInstance.class); - queryKAT.add(RestrictionsFactoryUtil.eq("kaleoTaskInstanceTokenId", ktit.getKaleoTaskInstanceTokenId())); - - List listass = KaleoTaskAssignmentInstanceLocalServiceUtil.dynamicQuery(queryKAT); - if(listass != null && !listass.isEmpty()){ - - KaleoTaskAssignmentInstance assignmentInstanceApp = listass.get(0); - - KaleoTaskAssignmentInstance assignmentInstance = KaleoTaskAssignmentInstanceLocalServiceUtil.createKaleoTaskAssignmentInstance( - CounterLocalServiceUtil.increment(KaleoTaskAssignmentInstance.class.getName())); - - assignmentInstance.setCreateDate(assignmentInstanceApp.getCreateDate()); - assignmentInstance.setModifiedDate(assignmentInstanceApp.getModifiedDate()); - assignmentInstance.setModifiedDate(assignmentInstanceApp.getModifiedDate()); - assignmentInstance.setGroupId(assignmentInstanceApp.getGroupId()); - assignmentInstance.setCompanyId(assignmentInstanceApp.getCompanyId()); - assignmentInstance.setUserId(assignmentInstanceApp.getUserId()); - assignmentInstance.setUserName(assignmentInstanceApp.getUserName()); - assignmentInstance.setKaleoDefinitionId(assignmentInstanceApp.getKaleoDefinitionId()); - assignmentInstance.setKaleoInstanceId(assignmentInstanceApp.getKaleoInstanceId()); - assignmentInstance.setKaleoInstanceTokenId(kaleoinstancetokenid); - assignmentInstance.setKaleoTaskInstanceTokenId(kaleotaskinstancetokenid); - assignmentInstance.setKaleoTaskId(21642L); - assignmentInstance.setKaleoTaskName("Esito"); - assignmentInstance.setAssigneeClassName(User.class.getName()); - assignmentInstance.setAssigneeClassPK(statusbyuserid); - assignmentInstance.setCompleted(false); - - KaleoTaskAssignmentInstanceLocalServiceUtil.updateKaleoTaskAssignmentInstance(assignmentInstance); - - } - - } - - } - - } - -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/ProtocolloImportResult.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/ProtocolloImportResult.java deleted file mode 100644 index af030d11..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/ProtocolloImportResult.java +++ /dev/null @@ -1,39 +0,0 @@ -package it.tref.liferay.portos.importazione.util; - -public class ProtocolloImportResult { - - private final ProtocolloImportStatus status; - private final String numeroProtocollo; - private final String cause; - - public ProtocolloImportResult(ProtocolloImportStatus status, String numeroProtocollo, String cause) { - - super(); - this.status = status; - this.numeroProtocollo = numeroProtocollo; - this.cause = cause; - } - - public ProtocolloImportStatus getStatus() { - - return status; - } - - public String getNumeroProtocollo() { - - return numeroProtocollo; - } - - public String getCause() { - - return cause; - } - - @Override - public String toString() { - - return "Protocollo " + numeroProtocollo - + (status == ProtocolloImportStatus.IMPORTATO ? " IMPORTATO" : "NON IMPORTATO: " + cause); - } - -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/ProtocolloImportStatus.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/ProtocolloImportStatus.java deleted file mode 100644 index 90c2b1a4..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/ProtocolloImportStatus.java +++ /dev/null @@ -1,8 +0,0 @@ -package it.tref.liferay.portos.importazione.util; - -public enum ProtocolloImportStatus { - - NON_IMPORTATO, - IMPORTATO - -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/ProtocolloImporter.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/ProtocolloImporter.java deleted file mode 100644 index 99dd5917..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/ProtocolloImporter.java +++ /dev/null @@ -1,269 +0,0 @@ -package it.tref.liferay.portos.importazione.util; - -import it.tref.liferay.portos.bo.model.Avviso; -import it.tref.liferay.portos.bo.model.Collaudo; -import it.tref.liferay.portos.bo.model.DettPratica; -import it.tref.liferay.portos.bo.model.FineLavori; -import it.tref.liferay.portos.bo.service.AvvisoLocalServiceUtil; -import it.tref.liferay.portos.bo.service.CollaudoLocalServiceUtil; -import it.tref.liferay.portos.bo.service.ConfigurazioneLocalServiceUtil; -import it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.FineLavoriLocalServiceUtil; -import it.tref.liferay.portos.bo.shared.protocollo.model.Protocollo; -import it.tref.liferay.portos.bo.shared.protocollo.model.Protocollo.TipoProtocollo; -import it.tref.liferay.portos.bo.shared.util.ConfigurazioneConstants; - -import java.io.File; -import java.io.FileReader; -import java.io.IOException; -import java.text.SimpleDateFormat; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.Map.Entry; - -import javax.servlet.http.HttpServletResponse; - -import org.apache.commons.csv.CSVFormat; -import org.apache.commons.csv.CSVRecord; -import org.apache.commons.lang.StringUtils; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.json.JSONException; -import com.liferay.portal.kernel.json.JSONFactoryUtil; -import com.liferay.portal.kernel.json.JSONObject; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.ContentTypes; -import com.liferay.portal.kernel.util.Http.Body; -import com.liferay.portal.kernel.util.Http.Options; -import com.liferay.portal.kernel.util.HttpUtil; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.service.GroupServiceUtil; - - -public class ProtocolloImporter { - - private static final Log _log = LogFactoryUtil.getLog(ProtocolloImporter.class); - - private final static String[] CSV_HEADER_PROTOCOLLO = {"ID", "ANNO", "DATA", "VERSO", "OGGETTO", - "DOC_NAME", "DOC_EXT", "DOC_MD5", "DEST_CODICE", "DEST_TIPO", "MITT_CODICE", "MITT_TIPO", "GROUPID", - "NUMERO PROTOCOLLO" }; - - private final static String[] CSV_HEADER_REG_PROTOCOLLO = {"ID", "NUMERO"}; - private final static String[] CSV_HEADER_GRUPPI = {"GROUPID", "NOME"}; - private static final SimpleDateFormat SDF = new SimpleDateFormat("dd/MM/yyyy"); - private static final SimpleDateFormat CSV_SDF = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss"); - - public static List importaFile(File fileProtocollo, File fileRegProtocollo, File fileGroups, - long companyId, long groupId, boolean continueOnError) throws JSONException, SystemException, Exception { - - Map mappaProtocollo = new HashMap<>(); - Map mappaNumeroProtocollo = new HashMap<>(); - List result = new ArrayList<>(); - - /* TODO: parametrizzare il delimiter */ - CSVFormat formatProtocollo = - CSVFormat.EXCEL.withDelimiter(StringPool.TAB.charAt(0)).withHeader(CSV_HEADER_PROTOCOLLO).withSkipHeaderRecord().withIgnoreEmptyLines().withIgnoreSurroundingSpaces(); - - CSVFormat formatRegProtocollo = - CSVFormat.EXCEL.withDelimiter(StringPool.TAB.charAt(0)).withHeader(CSV_HEADER_REG_PROTOCOLLO).withSkipHeaderRecord().withIgnoreEmptyLines().withIgnoreSurroundingSpaces(); - - CSVFormat formatGruppi = - CSVFormat.EXCEL.withDelimiter(StringPool.TAB.charAt(0)).withHeader(CSV_HEADER_GRUPPI).withSkipHeaderRecord().withIgnoreEmptyLines().withIgnoreSurroundingSpaces(); - - Iterable recordsProtocollo = formatProtocollo.parse(new FileReader(fileProtocollo)); - Iterable recordsRegProtocollo = formatRegProtocollo.parse(new FileReader(fileRegProtocollo)); - Iterable recordsGruppi = formatGruppi.parse(new FileReader(fileGroups)); - - Map mappaUffici = mappaGrupIdToOrganization(recordsGruppi, companyId); - - for (CSVRecord csvRecord : recordsRegProtocollo) { - mappaNumeroProtocollo.put(csvRecord.get("ID"), csvRecord.get("NUMERO")); - } - - for (CSVRecord csvRecord : recordsProtocollo) { - - String numeroProtocollo = mappaNumeroProtocollo.get(csvRecord.get("ID")); - - long classPk = 0l; - String className = StringPool.BLANK; - String oggetto = StringPool.BLANK; - long groupIdBean = 0L; - - Avviso avviso = AvvisoLocalServiceUtil.fetchByProtocollo(numeroProtocollo); - if (Validator.isNotNull(avviso)) { - classPk = avviso.getClassPk(); - className = avviso.getClassName(); - oggetto = "Oggetto: " + avviso.getFullDescription(); - groupIdBean = avviso.getGroupId(); - } else { - DettPratica dettPratica = DettPraticaLocalServiceUtil.fetchByProtocollo(numeroProtocollo); - if (Validator.isNotNull(dettPratica)) { - classPk = dettPratica.getDettPraticaId(); - className = DettPratica.class.getName(); - oggetto = "Oggetto: " + className + classPk; - groupIdBean = dettPratica.getGroupId(); - } else { - FineLavori fineLavori = FineLavoriLocalServiceUtil.fetchByProtocollo(numeroProtocollo); - if (Validator.isNotNull(fineLavori)) { - classPk = fineLavori.getFineLavoriId(); - className = FineLavori.class.getName(); - oggetto = "Oggetto: " + className + classPk; - groupIdBean = fineLavori.getGroupId(); - } else { - Collaudo collaudo = CollaudoLocalServiceUtil.fetchByProtocollo(numeroProtocollo); - if (Validator.isNotNull(collaudo)) { - classPk = collaudo.getCollaudoId(); - className = Collaudo.class.getName(); - oggetto = "Oggetto: " + className + classPk; - groupIdBean = collaudo.getGroupId(); - } else { - - String msg = - String.format( - "[PROTOCOLLO IMPORTER] Errore nella ricerca dell'avviso con parametri: company %d groupId %d numeroProtocollo %s. Protocollo non importato", - companyId, groupId, numeroProtocollo); - - _log.debug(msg); - - if (continueOnError) { - result.add(new ProtocolloImportResult(ProtocolloImportStatus.NON_IMPORTATO, numeroProtocollo, msg)); - continue; - // } else { - // throw new NoSuchAvvisoException(msg, e); - } - } - } - } - } - - - Protocollo protocolloBean = new Protocollo(); - - protocolloBean.setChiuso(false); - protocolloBean.setTipo(csvRecord.get("VERSO").equals("1") ? TipoProtocollo.USCITA : TipoProtocollo.INGRESSO); - protocolloBean.setUfficioId(String.valueOf(groupIdBean)); - String utenteId = - StringUtils.isEmpty(csvRecord.get("MITT_CODICE")) ? csvRecord.get("DEST_CODICE") - : csvRecord.get("MITT_CODICE"); - protocolloBean.setUtenteId(utenteId); - protocolloBean.setDataInserimento(CSV_SDF.parse(csvRecord.get("DATA"))); - // String oggetto = "Oggetto: " + avviso.getClassName() + " " + avviso.getClassPk(); - protocolloBean.setOggetto(oggetto); - protocolloBean.setPraticaId(String.valueOf(classPk)); - - mappaProtocollo.put(Long.valueOf(csvRecord.get("ID")), protocolloBean); - - _log.info("Inserisco record per classPk=" + classPk + " e gruppoId = " + groupIdBean); - - } - - result.addAll(importaProtocolli(mappaProtocollo, mappaNumeroProtocollo, companyId)); - - return result; - } - - private static Map mappaGrupIdToOrganization(Iterable recordsGruppi, long companyId) - throws ProtocolloImporterException { - - Map mappa = new HashMap<>(); - - for (CSVRecord csvRecord : recordsGruppi) { - - /* Recupero il group dal nome csvRecord.get("NOME"). */ - String nomeOrg = csvRecord.get("NOME").replace("Genio Civile di ", ""); - /* Prendo il groupID dal group e lo mappo con il csvRecord.get("GROUPID") */ - long groupId = 0; - try { - groupId = GroupServiceUtil.getGroup(companyId, nomeOrg).getGroupId(); - } catch (PortalException | SystemException e) { - throw new ProtocolloImporterException("Errore durante il recupero dell'organizzazione " + nomeOrg - + " (companyId " + companyId + ")", e); - } - mappa.put(csvRecord.get("GROUPID"), "" + groupId); - } - - return mappa; - } - - private static List importaProtocolli(Map mappaProtocollo, - Map mappaNumeroProtocollo, long companyId) throws JSONException, SystemException, IOException, - Exception { - - List result = new ArrayList<>(); - - for (Entry entry : mappaProtocollo.entrySet()) { - - result.add(importaProtocollo(companyId, entry.getValue(), - mappaNumeroProtocollo.get(String.valueOf(entry.getKey())))); - } - - return result; - } - - private static ProtocolloImportResult importaProtocollo(long companyId, Protocollo protocollo, String numeroProtocollo) - throws SystemException, IOException, JSONException, Exception { - - _log.info("IMPORTO: NUMERO PROTOCOLLO " + numeroProtocollo); - - Map parameters = new HashMap<>(); - parameters.put("dataInserimento", SDF.format(protocollo.getDataInserimento())); - parameters.put("fascicoloAnno", numeroProtocollo.substring(0, 4)); - parameters.put("fascicoloNumero", numeroProtocollo.substring(4, numeroProtocollo.length()).replaceFirst("^0+(?!$)", - StringPool.BLANK)); - - - String url = - ConfigurazioneLocalServiceUtil.findByC_ChiaveString(companyId, - ConfigurazioneConstants.PROTOCOLLAZIONE_SERVICE_IMPORT_URL); - - Options options = createCall(url, protocollo, true, parameters, companyId); - - /* Effetto la chiamata al servizio */ - String responseBody = HttpUtil.URLtoString(options); - - /* TODO: gestire risposta */ - if (options.getResponse().getResponseCode() == HttpServletResponse.SC_OK - || options.getResponse().getResponseCode() == HttpServletResponse.SC_CREATED) { - - JSONObject risposta = JSONFactoryUtil.createJSONObject(responseBody); - _log.debug(risposta); - // protocollo = risposta.getString("anno") + String.format("%07d", - // risposta.getInt("numero")); - _log.info("Imported protocollo " + numeroProtocollo); - return new ProtocolloImportResult(ProtocolloImportStatus.IMPORTATO, numeroProtocollo, StringPool.BLANK); - } else { - - String msg = "Errore durante la chiamata all'endpoint " + url; - // throw new ProtocolloImporterException(msg); - _log.error(msg); - return new ProtocolloImportResult(ProtocolloImportStatus.NON_IMPORTATO, numeroProtocollo, msg); - } - } - - private static Options createCall(String url, Object bean, boolean post, Map parameters, - long companyId) throws SystemException { - - for (Entry parameter : parameters.entrySet()) { - url = HttpUtil.addParameter(url, parameter.getKey(), parameter.getValue()); - } - - Options options = new Options(); - options.setLocation(url); - options.setPost(post); - flexjson.JSONSerializer serialize = new flexjson.JSONSerializer(); - serialize.exclude("*.class"); - String serializedBean = serialize.serialize(bean); - Body body = new Body(serializedBean, ContentTypes.APPLICATION_JSON, "UTF-8"); - - options.setBody(body); - - return options; - - } - -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/ProtocolloImporterException.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/ProtocolloImporterException.java deleted file mode 100644 index 4801d936..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/ProtocolloImporterException.java +++ /dev/null @@ -1,25 +0,0 @@ -package it.tref.liferay.portos.importazione.util; - -public class ProtocolloImporterException extends Exception { - - /** - * - */ - private static final long serialVersionUID = 2919981212322251967L; - - public ProtocolloImporterException() { - - super(); - } - - public ProtocolloImporterException(String msg) { - - super(msg); - } - - public ProtocolloImporterException(String msg, Throwable cause) { - - super(msg, cause); - } - -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/SorteggioImporter.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/SorteggioImporter.java deleted file mode 100644 index 5c4bd6f2..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/SorteggioImporter.java +++ /dev/null @@ -1,482 +0,0 @@ -package it.tref.liferay.portos.importazione.util; - -import it.tref.liferay.portos.bo.model.DettPratica; -import it.tref.liferay.portos.bo.model.IntPratica; -import it.tref.liferay.portos.bo.model.Sorteggio; -import it.tref.liferay.portos.bo.model.Territorio; -import it.tref.liferay.portos.bo.service.ConfigurazioneLocalServiceUtil; -import it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.SorteggioLocalServiceUtil; -import it.tref.liferay.portos.bo.service.TerritorioLocalServiceUtil; -import it.tref.liferay.portos.bo.shared.util.ConfigurazioneConstants; -import it.tref.liferay.portos.bo.util.FilesImporter; -import it.tref.liferay.portos.importazione.model.BoSorteggio; -import it.tref.liferay.portos.importazione.model.OldDLFileEntry; -import it.tref.liferay.portos.importazione.model.OldDLFolder; -import it.tref.liferay.portos.importazione.model.OldGroup; -import it.tref.liferay.portos.importazione.model.OldUser; -import it.tref.liferay.portos.importazione.service.BoSorteggioLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.OldDLFileEntryLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.OldDLFolderLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.OldGroupLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.OldUserLocalServiceUtil; - -import java.io.IOException; -import java.io.InputStream; -import java.net.HttpURLConnection; -import java.text.MessageFormat; -import java.text.ParseException; -import java.text.SimpleDateFormat; -import java.util.Calendar; -import java.util.Date; -import java.util.List; - -import org.apache.commons.io.IOUtils; -import org.apache.commons.lang.time.DateUtils; - -import com.liferay.counter.service.CounterLocalServiceUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.RestrictionsFactoryUtil; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.repository.model.FileEntry; -import com.liferay.portal.kernel.repository.model.Folder; -import com.liferay.portal.kernel.util.MimeTypesUtil; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.Company; -import com.liferay.portal.model.Organization; -import com.liferay.portal.model.User; -import com.liferay.portal.service.CompanyLocalServiceUtil; -import com.liferay.portal.service.OrganizationLocalServiceUtil; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.service.UserLocalServiceUtil; -import com.liferay.portlet.documentlibrary.NoSuchFileEntryException; -import com.liferay.portlet.documentlibrary.model.DLFolderConstants; -import com.liferay.portlet.documentlibrary.service.DLAppLocalServiceUtil; - -public class SorteggioImporter { - - public static final String DATE_TIME_FORMAT = "dd/MM/yyyy HH:mm:ss"; - - private static Log _log = LogFactoryUtil.getLog(SorteggioImporter.class); - - public static void importaSorteggi(long companyId) { - - - try { - - // Company company = CompanyLocalServiceUtil.getCompany(20404); - List lista = BoSorteggioLocalServiceUtil.getBoSorteggios(QueryUtil.ALL_POS, QueryUtil.ALL_POS); - if (Validator.isNotNull(lista) && !lista.isEmpty()) { - for (BoSorteggio oldSorteggio : lista) { - Sorteggio newSorteggio = SorteggioLocalServiceUtil.fetchByOldSorteggioId(oldSorteggio.getSorteggioId()); - if (Validator.isNull(newSorteggio)) { - Calendar calendar = Calendar.getInstance(); - calendar.set(Calendar.YEAR, 2018); - calendar.set(Calendar.MONTH, Calendar.APRIL); - calendar.set(Calendar.DAY_OF_MONTH, 1); - - Date dateVerify = calendar.getTime(); - if(oldSorteggio.getDtSorteggio().before(dateVerify)){ - importaSorteggio(oldSorteggio, companyId); - } - } else { - System.out.println("sorteggio gia importato"); - } - } - } - - } catch (SystemException e) { - _log.error(e, e); - } catch (PortalException e) { - _log.error(e, e); - } catch (ParseException e) { - _log.error(e, e); - } - - } - - private static void importaSorteggio(BoSorteggio oldSorteggio, long companyId) throws SystemException, - PortalException, ParseException { - - User adminUser = ImportazioneUtil.getAdmin(); - - DettPratica dettPratica = DettPraticaLocalServiceUtil.fetchByOldDettPraticaId(oldSorteggio.getDettPraticaId()); - if (Validator.isNotNull(dettPratica)) { - - IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(dettPratica.getIntPraticaId()); - if (Validator.isNotNull(intPratica)) { - - Territorio territorio = TerritorioLocalServiceUtil.fetchTerritorio(intPratica.getTerritorioId()); - if (Validator.isNotNull(territorio)) { - - Sorteggio newSorteggio = - SorteggioLocalServiceUtil.createSorteggio(CounterLocalServiceUtil.increment(Sorteggio.class.getName())); - - newSorteggio.setCompanyId(companyId); - newSorteggio.setGroupId(territorio.getGroupId()); - newSorteggio.setUserId(adminUser.getUserId()); - newSorteggio.setUserName(adminUser.getScreenName()); - newSorteggio.setCreateDate(oldSorteggio.getCreateDate()); - newSorteggio.setModifiedDate(oldSorteggio.getModifiedDate()); - - newSorteggio.setAnno(oldSorteggio.getAnno()); - newSorteggio.setMese(oldSorteggio.getMese()); - newSorteggio.setDtSorteggio(oldSorteggio.getDtSorteggio()); - newSorteggio.setDettPraticaId(dettPratica.getDettPraticaId()); - newSorteggio.setIntPraticaId(dettPratica.getIntPraticaId()); - newSorteggio.setNote(oldSorteggio.getNote()); - newSorteggio.setDettagli(oldSorteggio.getDettagli()); - newSorteggio.setStato(oldSorteggio.getStato()); - newSorteggio.setTecnico(oldSorteggio.getTecnico()); - newSorteggio.setNumeroEstrazione(oldSorteggio.getNumeroEstrazione()); - newSorteggio.setPratica(oldSorteggio.getPratica()); - newSorteggio.setCommittente(oldSorteggio.getCommittente()); - newSorteggio.setComune(oldSorteggio.getComune()); - newSorteggio.setProvincia(oldSorteggio.getProvincia()); - - newSorteggio.setMesePrecedente(oldSorteggio.getMesePrecedente()); - newSorteggio.setStatus(oldSorteggio.getStatus()); - - if (oldSorteggio.getStatusByUserId() != 0L) { - OldUser oldUser = OldUserLocalServiceUtil.fetchOldUser(oldSorteggio.getStatusByUserId()); - User userSorteggioStatus = null; - if (!oldUser.getScreenName().equalsIgnoreCase("admingeniocivile")) { - userSorteggioStatus = UserLocalServiceUtil.getUserByScreenName(companyId, oldUser.getScreenName()); - } else { - userSorteggioStatus = ImportazioneUtil.getAdmin(); - } - - if (Validator.isNotNull(userSorteggioStatus)) { - - newSorteggio.setStatusByUserId(userSorteggioStatus.getUserId()); - newSorteggio.setStatusByUserName(userSorteggioStatus.getScreenName()); - - } - - } - - newSorteggio.setEsterna(oldSorteggio.getEsterna()); - newSorteggio.setPraticaEsternaId(oldSorteggio.getPraticaEsternaId()); - newSorteggio.setOldSorteggioId(oldSorteggio.getSorteggioId()); - - SorteggioLocalServiceUtil.updateSorteggio(newSorteggio); - - // Aggiorno valore data ultimo sorteggio - SimpleDateFormat simpleDateTimeFormat = new SimpleDateFormat(DATE_TIME_FORMAT); - - Date dtUltimoSorteggio = null; - String dataUltimoSorteggioString = - ConfigurazioneLocalServiceUtil.findByC_ChiaveString(companyId, - ConfigurazioneConstants.DATE_ULTIMO_SORTEGGIO); - - - ServiceContext serviceContext = new ServiceContext(); - serviceContext.setCompanyId(companyId); - serviceContext.setScopeGroupId(-1L); - serviceContext.setUserId(UserLocalServiceUtil.getDefaultUserId(companyId)); - - if (Validator.isNotNull(dataUltimoSorteggioString)) { - dtUltimoSorteggio = - DateUtils.truncate(simpleDateTimeFormat.parse(dataUltimoSorteggioString), Calendar.DATE); - - if (oldSorteggio.getDtSorteggio().after(dtUltimoSorteggio)) { - - - ConfigurazioneLocalServiceUtil.storeConfig(ConfigurazioneConstants.DATE_ULTIMO_SORTEGGIO, - simpleDateTimeFormat.format(oldSorteggio.getDtSorteggio()), serviceContext); - } - } else { - ConfigurazioneLocalServiceUtil.storeConfig(ConfigurazioneConstants.DATE_ULTIMO_SORTEGGIO, - simpleDateTimeFormat.format(oldSorteggio.getDtSorteggio()), serviceContext); - - } - - - _log.info("Fine importazione Sorteggio " + oldSorteggio.getSorteggioId()); - - } - } - - } - - } - - public static void importOldFileEntySorteggi(long companyId) throws PortalException, SystemException { - - - Company company = CompanyLocalServiceUtil.getCompany(companyId); - // Company company = CompanyLocalServiceUtil.getCompany(20404); - User admin = ImportazioneUtil.getAdmin(company.getCompanyId()); - - - try { - - // // Gestione Sorteggio_BO - DynamicQuery query = DynamicQueryFactoryUtil.forClass(OldDLFolder.class); - query.add(RestrictionsFactoryUtil.eq("name", "Report_Sorteggio_BO")); - - List listaBO = OldDLFolderLocalServiceUtil.dynamicQuery(query, QueryUtil.ALL_POS, QueryUtil.ALL_POS); - if (Validator.isNotNull(listaBO) && !listaBO.isEmpty()) { - for (OldDLFolder oldDLFolder : listaBO) { - - OldGroup oldGroup = OldGroupLocalServiceUtil.fetchOldGroup(oldDLFolder.getGroupId()); - if (Validator.isNotNull(oldGroup)) { - - Organization org = getCurrentOrganization(oldGroup, company.getCompanyId()); - - - if (Validator.isNotNull(org)) { - - List listaFile = - OldDLFileEntryLocalServiceUtil.findByGroupId_FolderId(oldGroup.getGroupId(), - oldDLFolder.getFolderId()); - - if (Validator.isNotNull(listaFile) && !listaFile.isEmpty()) { - for (OldDLFileEntry oldDLFileEntry : listaFile) { - - HttpURLConnection conn = FilesImporter.downloadFile(oldDLFileEntry.getFileEntryId()); - - if (conn.getResponseCode() != HttpURLConnection.HTTP_OK) { - throw new RuntimeException("Failed : HTTP error code : " + conn.getResponseCode()); - } - - InputStream is = conn.getInputStream(); - byte[] content = IOUtils.toByteArray(is); - - String fileName = FilesImporter.getFileName(conn); - String fileNameWithoutExtension = ""; - if (fileName.contains(".")) { - fileNameWithoutExtension = fileName.split("\\.")[0]; - } else { - fileNameWithoutExtension = fileName; - } - - - conn.disconnect(); - - String[] fileNameArray = fileNameWithoutExtension.split("_"); - if (fileNameArray.length == 4) { - - String mese = fileNameArray[2]; - String anno = fileNameArray[3]; - long groupId = org.getGroupId(); - - String fileNameFinal = MessageFormat.format("Sorteggio_BO_{0}_{1}_{2}", mese, anno, groupId); - - Folder folder = null; - try { - folder = - DLAppLocalServiceUtil.getFolder(company.getGroupId(), - DLFolderConstants.DEFAULT_PARENT_FOLDER_ID, "Report_Sorteggio_BO"); - } catch (PortalException e) { - try { - - folder = - DLAppLocalServiceUtil.addFolder(admin.getUserId(), company.getGroupId(), - DLFolderConstants.DEFAULT_PARENT_FOLDER_ID, "Report_Sorteggio_BO", StringPool.BLANK, - new ServiceContext()); - } catch (PortalException e1) { - _log.error(e1, e1); - } - } - - ServiceContext serviceContext = new ServiceContext(); - serviceContext.setCompanyId(company.getCompanyId()); - serviceContext.setScopeGroupId(groupId); - serviceContext.setUserId(admin.getUserId()); - - String description = ""; - String mimeType = MimeTypesUtil.getContentType(fileName); - - String changeLog = StringPool.BLANK; - - FileEntry appfileEntry = null; - try { - appfileEntry = DLAppLocalServiceUtil.getFileEntry(groupId, folder.getFolderId(), fileNameFinal); - } catch (NoSuchFileEntryException ex) { - - } - - if (appfileEntry == null) { - FileEntry fileEntry = - DLAppLocalServiceUtil.addFileEntry(admin.getUserId(), folder.getRepositoryId(), - folder.getFolderId(), fileNameFinal, mimeType, fileNameFinal, description, changeLog, - content, serviceContext); - - } else { - _log.warn("File already exist"); - } - - - } - } - } - - } - - - } - - - } - } - - - // Gestione Sorteggio - DynamicQuery querySort = DynamicQueryFactoryUtil.forClass(OldDLFolder.class); - querySort.add(RestrictionsFactoryUtil.eq("name", "Report_Sorteggio")); - - List lista = - OldDLFolderLocalServiceUtil.dynamicQuery(querySort, QueryUtil.ALL_POS, QueryUtil.ALL_POS); - if (Validator.isNotNull(lista) && !lista.isEmpty()) { - for (OldDLFolder oldDLFolder : lista) { - - OldGroup oldGroup = OldGroupLocalServiceUtil.fetchOldGroup(oldDLFolder.getGroupId()); - if (Validator.isNotNull(oldGroup)) { - - Organization org = getCurrentOrganization(oldGroup, company.getCompanyId()); - - - if (Validator.isNotNull(org)) { - - List listaFile = - OldDLFileEntryLocalServiceUtil.findByGroupId_FolderId(oldGroup.getGroupId(), - oldDLFolder.getFolderId()); - - if (Validator.isNotNull(listaFile) && !listaFile.isEmpty()) { - for (OldDLFileEntry oldDLFileEntry : listaFile) { - - HttpURLConnection conn = FilesImporter.downloadFile(oldDLFileEntry.getFileEntryId()); - - if (conn.getResponseCode() != HttpURLConnection.HTTP_OK) { - throw new RuntimeException("Failed : HTTP error code : " + conn.getResponseCode()); - } - - InputStream is = conn.getInputStream(); - byte[] content = IOUtils.toByteArray(is); - - String fileName = FilesImporter.getFileName(conn); - String fileNameWithoutExtension = ""; - if (fileName.contains(".")) { - fileNameWithoutExtension = fileName.split("\\.")[0]; - } else { - fileNameWithoutExtension = fileName; - } - - conn.disconnect(); - - String[] fileNameArray = fileNameWithoutExtension.split("_"); - if (fileNameArray.length == 3) { - - String mese = fileNameArray[1]; - String anno = fileNameArray[2]; - long groupId = org.getGroupId(); - - String fileNameFinal = MessageFormat.format("Sorteggio_{0}_{1}_{2}", mese, anno, groupId); - ; - - Folder folder = null; - try { - folder = - DLAppLocalServiceUtil.getFolder(company.getGroupId(), - DLFolderConstants.DEFAULT_PARENT_FOLDER_ID, "Report_Sorteggio"); - } catch (PortalException e) { - try { - folder = - DLAppLocalServiceUtil.addFolder(admin.getUserId(), company.getGroupId(), - DLFolderConstants.DEFAULT_PARENT_FOLDER_ID, "Report_Sorteggio", StringPool.BLANK, - new ServiceContext()); - } catch (PortalException e1) { - _log.error(e1, e1); - } - } - - ServiceContext serviceContext = new ServiceContext(); - serviceContext.setCompanyId(company.getCompanyId()); - serviceContext.setScopeGroupId(groupId); - serviceContext.setUserId(admin.getUserId()); - - String description = ""; - String mimeType = MimeTypesUtil.getContentType(fileName); - - String changeLog = StringPool.BLANK; - - - FileEntry appfileEntry = null; - try { - appfileEntry = DLAppLocalServiceUtil.getFileEntry(groupId, folder.getFolderId(), fileNameFinal); - } catch (NoSuchFileEntryException ex) { - - } - - if (appfileEntry == null) { - FileEntry fileEntry = - DLAppLocalServiceUtil.addFileEntry(admin.getUserId(), folder.getRepositoryId(), - folder.getFolderId(), fileNameFinal, mimeType, fileNameFinal, description, changeLog, - content, serviceContext); - - } else { - _log.warn("File already exist"); - } - - - } - } - } - - } - - } - } - } - - - } catch (SystemException e) { - _log.error(e, e); - } catch (IOException e) { - _log.error(e, e); - } catch (PortalException e) { - _log.error(e, e); - } - - } - - private static Organization getCurrentOrganization(OldGroup oldGroup, long companyId) throws SystemException { - - Organization org = null; - - if (oldGroup.getName().contains("Firenze")) { - org = OrganizationLocalServiceUtil.fetchOrganization(companyId, "Firenze"); - } else if (oldGroup.getName().contains("Arezzo")) { - org = OrganizationLocalServiceUtil.fetchOrganization(companyId, "Arezzo"); - } else if (oldGroup.getName().contains("Grosseto")) { - org = OrganizationLocalServiceUtil.fetchOrganization(companyId, "Grosseto"); - } else if (oldGroup.getName().contains("Livorno")) { - org = OrganizationLocalServiceUtil.fetchOrganization(companyId, "Livorno"); - } else if (oldGroup.getName().contains("Lucca")) { - org = OrganizationLocalServiceUtil.fetchOrganization(companyId, "Lucca"); - } else if (oldGroup.getName().contains("Massa Carrara")) { - org = OrganizationLocalServiceUtil.fetchOrganization(companyId, "Massa Carrara"); - } else if (oldGroup.getName().contains("Pisa")) { - org = OrganizationLocalServiceUtil.fetchOrganization(companyId, "Pisa"); - } else if (oldGroup.getName().contains("Pistoia")) { - org = OrganizationLocalServiceUtil.fetchOrganization(companyId, "Pistoia"); - } else if (oldGroup.getName().contains("Prato")) { - org = OrganizationLocalServiceUtil.fetchOrganization(companyId, "Prato"); - } else if (oldGroup.getName().contains("Siena")) { - org = OrganizationLocalServiceUtil.fetchOrganization(companyId, "Siena"); - } else { - _log.warn("Non e stato possibile importare files sorteggio per la vecchia organizazzione : " + oldGroup.getName()); - } - - return org; - } - -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/TempisticheImporter.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/TempisticheImporter.java deleted file mode 100644 index 022db5f8..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/TempisticheImporter.java +++ /dev/null @@ -1,92 +0,0 @@ -package it.tref.liferay.portos.importazione.util; - -import it.tref.liferay.portos.bo.model.DettPratica; -import it.tref.liferay.portos.bo.model.IntPratica; -import it.tref.liferay.portos.bo.model.Tempistica; -import it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.TempisticaLocalServiceUtil; -import it.tref.liferay.portos.importazione.model.BoTempistica; -import it.tref.liferay.portos.importazione.service.BoTempisticaLocalServiceUtil; - -import java.util.List; - -import com.liferay.counter.service.CounterLocalServiceUtil; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.User; - -public class TempisticheImporter { - - private static Log _log = LogFactoryUtil.getLog(TempisticheImporter.class); - - public static void importaTempistiche(long companyId) { - - try { - - List lista = BoTempisticaLocalServiceUtil.getBoTempisticas(QueryUtil.ALL_POS, QueryUtil.ALL_POS); - - if (Validator.isNotNull(lista) && !lista.isEmpty()) { - for (BoTempistica boTempistica : lista) { - - Tempistica tempistica = TempisticaLocalServiceUtil.fetchByOldTempisticaId(boTempistica.getTempisticaId()); - if (tempistica == null) { - - DettPratica dettPratica = - DettPraticaLocalServiceUtil.fetchByOldDettPraticaId(boTempistica.getDettPraticaId()); - if (dettPratica != null) { - - IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(dettPratica.getIntPraticaId()); - if (intPratica != null) { - - User admin = ImportazioneUtil.getAdmin(); - - tempistica = - TempisticaLocalServiceUtil.createTempistica(CounterLocalServiceUtil.increment(Tempistica.class.getName())); - - tempistica.setCompanyId(companyId); - tempistica.setCompleto(boTempistica.getCompleto()); - tempistica.setCreateDate(boTempistica.getCreateDate()); - tempistica.setModifiedDate(boTempistica.getModifiedDate()); - tempistica.setOldTempisticaId(boTempistica.getTempisticaId()); - tempistica.setStart(boTempistica.getStart()); - tempistica.setStop(boTempistica.getStop()); - tempistica.setTipo(boTempistica.getTipo()); - tempistica.setUserId(admin.getUserId()); - tempistica.setUserName(admin.getScreenName()); - tempistica.setWait(boTempistica.getWait()); - tempistica.setIntPraticaId(intPratica.getIntPraticaId()); - tempistica.setDettPraticaId(dettPratica.getDettPraticaId()); - tempistica.setGroupId(intPratica.getGroupId()); - - TempisticaLocalServiceUtil.updateTempistica(tempistica); - - } else { - _log.warn("Impossibile importare oldTempisticaId=" + boTempistica.getTempisticaId()); - } - - } else { - _log.warn("Impossibile importare oldTempisticaId=" + boTempistica.getTempisticaId()); - } - - } else { - _log.info("Tempistica gia importata | oldTempisticaId=" + boTempistica.getTempisticaId() - + " | tempisticaId=" + tempistica.getTempisticaId()); - } - - } - - } - - } catch (SystemException e) { - _log.error(e, e); - } catch (PortalException e) { - _log.error(e, e); - } - - } -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/TerritorioImporter.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/TerritorioImporter.java deleted file mode 100644 index 854b7ba1..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/TerritorioImporter.java +++ /dev/null @@ -1,254 +0,0 @@ -package it.tref.liferay.portos.importazione.util; - -import it.tref.liferay.portos.bo.NoSuchProvinciaException; -import it.tref.liferay.portos.bo.NoSuchTerritorioException; -import it.tref.liferay.portos.bo.model.Comune; -import it.tref.liferay.portos.bo.model.Provincia; -import it.tref.liferay.portos.bo.model.Territorio; -import it.tref.liferay.portos.bo.service.ComuneLocalServiceUtil; -import it.tref.liferay.portos.bo.service.ProvinciaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.TerritorioLocalServiceUtil; -import it.tref.liferay.portos.importazione.model.FeComune; -import it.tref.liferay.portos.importazione.model.FeProvincia; -import it.tref.liferay.portos.importazione.model.FeTerritorio; -import it.tref.liferay.portos.importazione.model.StatoImportazione; -import it.tref.liferay.portos.importazione.service.FeComuneLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.FeProvinciaLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.FeTerritorioLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.StatoImportazioneLocalServiceUtil; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -import com.liferay.counter.service.CounterLocalServiceUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.RestrictionsFactoryUtil; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.User; - -public class TerritorioImporter { - - private static Log _log = LogFactoryUtil.getLog(TerritorioImporter.class); - - public static void importaTerritori(long companyId, long groupId) { - - List oldTerritori = new ArrayList(); - - try { - - DynamicQuery query = DynamicQueryFactoryUtil.forClass(FeTerritorio.class); - - - - oldTerritori = FeTerritorioLocalServiceUtil.dynamicQuery(query, QueryUtil.ALL_POS, QueryUtil.ALL_POS); - if (oldTerritori != null && !oldTerritori.isEmpty()) { - for (FeTerritorio oldTerritorio : oldTerritori) { - - Territorio territorio = TerritorioLocalServiceUtil.fetchByOldTerriotioId(oldTerritorio.getTerritorioId()); - if (Validator.isNull(territorio)) { - importaTerritorio(oldTerritorio, companyId, groupId); - } else { - _log.info("IMPORTAZIONE: Territorio gia importato! territorioId= " + territorio.getTerritorioId() - + " | oldTerritorioId=" + oldTerritorio.getTerritorioId()); - // TODO : da capire cosa fare se il teritorio risulta già importato - - } - - } - } - - } catch (SystemException e) { - _log.error(e, e); - } catch (NoSuchTerritorioException e) { - _log.error(e, e); - } - - } - - - public static void importaTerritorio(long oldTerritorioId, long companyId, long groupId) - throws NoSuchTerritorioException, SystemException { - - Territorio territorio = TerritorioLocalServiceUtil.fetchByOldTerriotioId(oldTerritorioId); - if (Validator.isNull(territorio)) { - - FeTerritorio feTerritorio = FeTerritorioLocalServiceUtil.fetchFeTerritorio(oldTerritorioId); - if (Validator.isNotNull(feTerritorio)) { - importaTerritorio(feTerritorio, companyId, groupId); - } else { - _log.info("IMPORTAZIONE: Nessun OldTerriotiro esiste= " + territorio.getTerritorioId() - + " | oldTerritorioId=" + oldTerritorioId); - } - - - } else { - _log.info("IMPORTAZIONE: Territorio gia importato! territorioId= " + territorio.getTerritorioId() - + " | oldTerritorioId=" + oldTerritorioId); - // TODO : da capire cosa fare se il teritorio risulta già importato - - } - - - } - - private static void importaTerritorio(FeTerritorio oldTerritorio, long companyId, long groupId) { - - // Inizializzo lo stato importazione per lo storico - StatoImportazione statoImportazione = null; - User admin = ImportazioneUtil.getAdmin(); - - boolean createComune = false; - - try { - statoImportazione = - StatoImportazioneLocalServiceUtil.createStatoImportazione(CounterLocalServiceUtil.increment(StatoImportazione.class.getName())); - } catch (SystemException e) { - _log.error(e, e); - } - - - try { - - // Gestisco il comune e la provincia per primi cosi da verificare che i dati siano inseriti - FeComune feComune = FeComuneLocalServiceUtil.fetchFeComune(oldTerritorio.getComuneId()); - - if (Validator.isNull(feComune)) { - // ritorno null per mancanza di dati e segnalo su log e su tabella importazione - statoImportazione.setClassName(FeComune.class.getName()); - statoImportazione.setOldPrimaryKey("" + oldTerritorio.getComuneId()); - statoImportazione.setEsito(false); - statoImportazione.setErrorMessage("Nessun fecomune trovato nel vecchio sistema con comuneId"); - statoImportazione.setDataImportazione(new Date()); - - StatoImportazioneLocalServiceUtil.updateStatoImportazione(statoImportazione); - _log.info("IMPORTAZIONE: Nessun FeComune corrisponde all'id: " + feComune.getComuneId()); - - return; - } - - Comune comune = ComuneLocalServiceUtil.fetchByC_CI(companyId, feComune.getCodIstat()); - - if (Validator.isNull(comune)) { - - comune = ComuneLocalServiceUtil.createComune(CounterLocalServiceUtil.increment(Comune.class.getName())); - comune.setCodiceIstat(feComune.getCodIstat()); - comune.setCompanyId(companyId); - comune.setCreateDate(new Date()); - comune.setCodiceBelfiore(feComune.getCodCatastale()); - comune.setMailSuap(feComune.getEmailSuap()); - comune.setDenominazione(feComune.getDescLong()); - comune.setStato(false); - comune.setProvincia(false); - comune.setDisabilitato(true); - comune.setUserId(admin.getUserId()); - comune.setUserName(admin.getScreenName()); - - FeProvincia feProvincia = FeProvinciaLocalServiceUtil.getFeProvincia(feComune.getProvinciaId()); - Provincia provincia = ProvinciaLocalServiceUtil.fetchByC_S(companyId, feProvincia.getCodProvincia()); - if (Validator.isNotNull(provincia)) { - comune.setCodiceProvincia(provincia.getCodiceProvincia()); - } - - ComuneLocalServiceUtil.updateComune(comune); - createComune = true; - - } - - Provincia provincia = ProvinciaLocalServiceUtil.findByC_C(comune.getCompanyId(), comune.getCodiceProvincia()); - - Territorio territorio = - TerritorioLocalServiceUtil.createTerritorio(CounterLocalServiceUtil.increment(Territorio.class.getName())); - - territorio.setCreateDate(new Date()); - territorio.setUserId(admin.getUserId()); - territorio.setUserName(admin.getScreenName()); - territorio.setCompanyId(companyId); - territorio.setGroupId(ImportazioneUtil.getGroupIdOrganizationByProvincia(provincia.getProvincia())); - territorio.setAgMax(oldTerritorio.getAgMax()); - territorio.setAgMin(oldTerritorio.getAgMin()); - territorio.setOldTerritorioId(oldTerritorio.getTerritorioId()); - territorio.setDtIni(oldTerritorio.getDtIni()); - - if (createComune) { - territorio.setDtFin(new Date()); - } else { - territorio.setDtFin(oldTerritorio.getDtFin()); - } - - - // Recupero la fascia e zona dalla sua corrispettiva tabella e ne prendo solo il valore - territorio.setFascia(ImportazioneUtil.convertFascia(oldTerritorio.getFasciaId())); - territorio.setZona(ImportazioneUtil.convertZona(oldTerritorio.getZonaId())); - - // Gestione Comune e provincia - territorio.setComuneId(comune.getComuneId()); - territorio.setCodiceProvincia(provincia.getCodiceProvincia()); - - TerritorioLocalServiceUtil.updateTerritorio(territorio); - - statoImportazione.setClassName(Territorio.class.getName()); - statoImportazione.setNewPrimaryKey("" + territorio.getTerritorioId()); - statoImportazione.setOldPrimaryKey("" + oldTerritorio.getTerritorioId()); - statoImportazione.setDataImportazione(new Date()); - statoImportazione.setEsito(true); - - StatoImportazioneLocalServiceUtil.updateStatoImportazione(statoImportazione); - - } catch (SystemException e) { - - statoImportazione.setClassName(Territorio.class.getName()); - statoImportazione.setOldPrimaryKey("" + oldTerritorio.getTerritorioId()); - statoImportazione.setEsito(false); - statoImportazione.setErrorMessage(e.getMessage()); - statoImportazione.setDataImportazione(new Date()); - - try { - StatoImportazioneLocalServiceUtil.updateStatoImportazione(statoImportazione); - } catch (SystemException e1) { - _log.error(e1, e1); - } - - _log.error(e, e); - - } catch (NoSuchProvinciaException e) { - - statoImportazione.setClassName(Territorio.class.getName()); - statoImportazione.setOldPrimaryKey("" + oldTerritorio.getTerritorioId()); - statoImportazione.setEsito(false); - statoImportazione.setErrorMessage(e.getMessage()); - statoImportazione.setDataImportazione(new Date()); - - try { - StatoImportazioneLocalServiceUtil.updateStatoImportazione(statoImportazione); - } catch (SystemException e1) { - _log.error(e1, e1); - } - - _log.error(e, e); - } catch (PortalException e) { - - statoImportazione.setClassName(Territorio.class.getName()); - statoImportazione.setOldPrimaryKey("" + oldTerritorio.getTerritorioId()); - statoImportazione.setEsito(false); - statoImportazione.setErrorMessage(e.getMessage()); - statoImportazione.setDataImportazione(new Date()); - - try { - StatoImportazioneLocalServiceUtil.updateStatoImportazione(statoImportazione); - } catch (SystemException e1) { - _log.error(e1, e1); - } - - _log.error(e, e); - } - - - } -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/UserImporter.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/UserImporter.java deleted file mode 100644 index 7fdf550e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/UserImporter.java +++ /dev/null @@ -1,337 +0,0 @@ -package it.tref.liferay.portos.importazione.util; - -import it.tref.liferay.portos.importazione.model.OldUser; -import it.tref.liferay.portos.importazione.model.OldUserGroup; -import it.tref.liferay.portos.importazione.service.OldUserGroupLocalServiceUtil; -import it.tref.liferay.portos.importazione.service.OldUserLocalServiceUtil; - -import java.util.ArrayList; -import java.util.Calendar; -import java.util.List; -import java.util.Locale; - -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.Company; -import com.liferay.portal.model.Group; -import com.liferay.portal.model.Organization; -import com.liferay.portal.model.Role; -import com.liferay.portal.model.RoleConstants; -import com.liferay.portal.model.User; -import com.liferay.portal.security.permission.PermissionCheckerFactoryUtil; -import com.liferay.portal.security.permission.PermissionThreadLocal; -import com.liferay.portal.service.CompanyLocalServiceUtil; -import com.liferay.portal.service.GroupLocalServiceUtil; -import com.liferay.portal.service.OrganizationLocalServiceUtil; -import com.liferay.portal.service.RoleLocalServiceUtil; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.service.UserLocalServiceUtil; - -public class UserImporter { - - private static Log _log = LogFactoryUtil.getLog(UserImporter.class); - - public static void importaSingoloUtente(long oldUserId, long companyId) { - - - try { - OldUser oldUser = OldUserLocalServiceUtil.fetchOldUser(oldUserId); - if (oldUser != null) { - importaUser(oldUser, companyId); - } - } catch (SystemException e) { - _log.error(e, e); - } catch (Exception e) { - _log.error(e, e); - } - - - } - - public static void importaUtenti(long companyId) { - - List oldUtenti = new ArrayList(); - - try { - - oldUtenti = OldUserLocalServiceUtil.getOldUsers(QueryUtil.ALL_POS, QueryUtil.ALL_POS); - - if (oldUtenti != null && !oldUtenti.isEmpty()) { - for (OldUser oldUser : oldUtenti) { - - if (!oldUser.getEmailAddress().equals("default@liferay.com") - && !oldUser.getEmailAddress().equals("admingeniocivile@liferay.com")) { - - User user = UserLocalServiceUtil.fetchUserByScreenName(companyId, oldUser.getScreenName()); - - if (Validator.isNull(user)) { - importaUser(oldUser, companyId); - } else { - _log.info("IMPORTAZIONE: Utente gia importato! userId= " + user.getUserId() + " | oldUserId=" - + oldUser.getUserId()); - // TODO : da capire cosa fare se il teritorio risulta già importato - - } - } - - } - - } - - } catch (SystemException e) { - _log.error(e, e); - // } catch (PortalException e) { - // _log.error(e, e); - } catch (Exception e) { - _log.error(e, e); - } - - } - - private static void importaUser(OldUser oldUser, long companyId) throws Exception { - - // Creo l utente - User createdUser = createUser(oldUser, companyId); - - // Lo associo alle organizzazioni e/o siti - importaOrganizzazioneRuoli(createdUser.getUserId(), oldUser.getUserId(), companyId); - - // associo i ruoli all utente - associaRuoliUser(createdUser.getUserId(), companyId); - } - - private static void associaRuoliUser(long newUserId, long companyId) { - - try { - Role rolePowerUser = RoleLocalServiceUtil.getRole(companyId, RoleConstants.POWER_USER); - if (rolePowerUser != null) { - UserLocalServiceUtil.addRoleUser(rolePowerUser.getRoleId(), newUserId); - } - - Role roleUtenteGenioCivile = RoleLocalServiceUtil.getRole(companyId, "UTENTE GENIO CIVILE"); - if (roleUtenteGenioCivile != null) { - UserLocalServiceUtil.addRoleUser(roleUtenteGenioCivile.getRoleId(), newUserId); - } - - } catch (PortalException | SystemException e) { - _log.error(e, e); - // TODO GESTIRE PROBLEMA - } - - - } - - private static void importaOrganizzazioneRuoli(long newUserId, long oldUserId, long companyId) - throws SystemException, PortalException { - - List lista = OldUserGroupLocalServiceUtil.getOldUserGroupByUserId(oldUserId); - - if (Validator.isNotNull(lista) && !lista.isEmpty()) { - for (OldUserGroup oldUserGroup : lista) { - - String[] userGroupNameSpillted = oldUserGroup.getName().split("\\."); - String lastPart = ""; - - if (userGroupNameSpillted != null && userGroupNameSpillted.length == 2) { - lastPart = userGroupNameSpillted[1]; - } - - if (lastPart.startsWith("0")) { - addUserToOrganization(newUserId, "Firenze"); - addUserToBOSite(newUserId, companyId); - } - - if (lastPart.startsWith("1")) { - addUserToOrganization(newUserId, "Arezzo"); - addUserToBOSite(newUserId, companyId); - } - - if (lastPart.startsWith("7")) { - addUserToOrganization(newUserId, "Pistoia"); - addUserToBOSite(newUserId, companyId); - } - - if (lastPart.startsWith("8")) { - addUserToOrganization(newUserId, "Prato"); - addUserToBOSite(newUserId, companyId); - } - - if (lastPart.startsWith("2")) { - addUserToOrganization(newUserId, "Grosseto"); - addUserToBOSite(newUserId, companyId); - } - - if (lastPart.startsWith("9")) { - addUserToOrganization(newUserId, "Siena"); - addUserToBOSite(newUserId, companyId); - } - - if (lastPart.startsWith("3")) { - addUserToOrganization(newUserId, "Livorno"); - addUserToBOSite(newUserId, companyId); - } - - if (lastPart.startsWith("4")) { - addUserToOrganization(newUserId, "Lucca"); - addUserToBOSite(newUserId, companyId); - } - - if (lastPart.startsWith("6")) { - addUserToOrganization(newUserId, "Pisa"); - addUserToBOSite(newUserId, companyId); - } - - if (lastPart.startsWith("5")) { - addUserToOrganization(newUserId, "Massa Carrara"); - addUserToBOSite(newUserId, companyId); - } - - if (lastPart.endsWith("V")) { - Role roleVisualizzatore = RoleLocalServiceUtil.getRole(companyId, "portos_visualizzatore"); - if (roleVisualizzatore != null) { - UserLocalServiceUtil.addRoleUser(roleVisualizzatore.getRoleId(), newUserId); - } - } - - } - - - } else { - addUserToFESite(newUserId, companyId); - } - - } - - private static void addUserToOrganization(long newUserId, String organizationFetchName) throws SystemException { - - List organizations = - OrganizationLocalServiceUtil.getOrganizations(QueryUtil.ALL_POS, QueryUtil.ALL_POS); - - for (Organization org : organizations) { - if (org.getName().toLowerCase().equals(organizationFetchName.toLowerCase())) { - UserLocalServiceUtil.addOrganizationUser(org.getOrganizationId(), newUserId); - } - } - } - - private static void addUserToFESite(long newUserId, long companyId) { - - try { - - Group siteBo = GroupLocalServiceUtil.getGroup(companyId, ImportazioneConstant.PORTOS_FE_NAME); - if (siteBo != null) { - GroupLocalServiceUtil.addUserGroup(newUserId, siteBo.getGroupId()); - - } - } catch (PortalException | SystemException e) { - _log.error(e, e); - // TODO TRACCIARE ECCEZZIONE - } - } - - private static void addUserToBOSite(long newUserId, long companyId) { - - try { - - Group siteBo = GroupLocalServiceUtil.getGroup(companyId, ImportazioneConstant.PORTOS_BO_NAME); - if (siteBo != null) { - GroupLocalServiceUtil.addUserGroup(newUserId, siteBo.getGroupId()); - - } - } catch (PortalException | SystemException e) { - _log.error(e, e); - // TODO TRACCIARE ECCEZZIONE - } - } - - private static User createUser(OldUser oldUser, long companyId) throws PortalException, SystemException { - - Company company = CompanyLocalServiceUtil.getCompany(companyId); - - User defaultUser = ImportazioneUtil.getAdmin(); - - try { - - PermissionThreadLocal.setPermissionChecker(PermissionCheckerFactoryUtil.create(defaultUser)); - - } catch (Exception e) { - throw new SystemException(e); - } - - _log.info(oldUser.getScreenName()); - - long creatorUserId = defaultUser.getUserId(); - boolean autoPassword = true; - String password1 = ImportazioneConstant.TEMPORANY_PASSWORD_CREATION; - String password2 = ImportazioneConstant.TEMPORANY_PASSWORD_CREATION; - boolean autoScreenName = false; - String screenName = oldUser.getScreenName(); - String emailAddress = oldUser.getEmailAddress(); - long facebookId = 0; - String openId = ""; - Locale locale = company.getLocale(); - String firstName = oldUser.getFirstName(); - String middleName = oldUser.getMiddleName(); - String lastName = oldUser.getLastName(); - - if (lastName == null || lastName.equals("")) { - lastName = firstName; - } - - int prefixId = 0; - - int suffixId = 0; - boolean male = true; - - int birthdayMonth = 1; - int birthdayDay = 1; - int birthdayYear = 1970; - - String jobTitle = ""; - - long[] groupIds = null; - long[] organizationIds = null; - long[] roleIds = null; - long[] userGroupIds = null; - - boolean sendEmail = false; - - ServiceContext serviceContext = new ServiceContext(); - - User createdUser = - UserLocalServiceUtil.addUser(creatorUserId, companyId, autoPassword, password1, password2, autoScreenName, - screenName, emailAddress, facebookId, openId, locale, firstName, middleName, lastName, prefixId, suffixId, - male, birthdayMonth, birthdayDay, birthdayYear, jobTitle, groupIds, organizationIds, roleIds, userGroupIds, - sendEmail, serviceContext); - - - UserLocalServiceUtil.updateEmailAddressVerified(createdUser.getUserId(), true); - UserLocalServiceUtil.updateAgreedToTermsOfUse(createdUser.getUserId(), true); - - Calendar yesterday = Calendar.getInstance(); - yesterday.add(Calendar.DAY_OF_MONTH, -1); - - User updatedUser = UserLocalServiceUtil.getUser(createdUser.getUserId()); - updatedUser.setLoginDate(yesterday.getTime()); - updatedUser.setLastLoginDate(yesterday.getTime()); - UserLocalServiceUtil.updateUser(updatedUser); - - - // UserLocalServiceUtil.updatePasswordManually(createdUser.getUserId(), oldUser.getPassword(), - // true, true, - // yesterday.getTime()); - - // AGGIUNGERE EXPANDO FIELDS DEL VECCHIO USER ID - if (!createdUser.getExpandoBridge().hasAttribute("oldUserId")) { - createdUser.getExpandoBridge().addAttribute("oldUserId"); - } - createdUser.getExpandoBridge().setAttribute("oldUserId", String.valueOf(oldUser.getUserId())); - - return createdUser; - } - -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/UtilImporter.java b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/UtilImporter.java deleted file mode 100644 index 83cffc9b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/importazione/util/UtilImporter.java +++ /dev/null @@ -1,42 +0,0 @@ -package it.tref.liferay.portos.importazione.util; - -import it.tref.liferay.portos.bo.model.Comune; -import it.tref.liferay.portos.bo.service.ComuneLocalServiceUtil; -import it.tref.liferay.portos.importazione.model.FeComune; -import it.tref.liferay.portos.importazione.service.FeComuneLocalServiceUtil; - -import java.util.List; - -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; - -public class UtilImporter { - - private static Log _log = LogFactoryUtil.getLog(UtilImporter.class.getName()); - - public static void importaEmailSuap(long companyId) { - - try { - - List listaFeComunes = FeComuneLocalServiceUtil.getFeComunes(QueryUtil.ALL_POS, QueryUtil.ALL_POS); - if (listaFeComunes != null && !listaFeComunes.isEmpty()) { - for (FeComune feComune : listaFeComunes) { - - Comune comune = ComuneLocalServiceUtil.fetchByC_CI(companyId, feComune.getCodIstat()); - if (comune != null) { - comune.setMailSuap(feComune.getEmailSuap()); - ComuneLocalServiceUtil.updateComune(comune); - - } - } - } - - - } catch (SystemException e) { - _log.error(e, e); - } - - } -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/portlet.properties b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/portlet.properties deleted file mode 100644 index 7f544ffd..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/portlet.properties +++ /dev/null @@ -1,8 +0,0 @@ -include-and-override=portlet-ext.properties - -portos.files.importer.scheduler.cron.expression=0 0/1 * 1/1 * ? * -portos.files.importer.callback.address=http://www307.regione.toscana.it/portos-file-retriever-portlet/FileRetriever - - - -vecchiComuni={"comuniCambiati":[{"046012":"040036"},{"046016":"046037"},{"046029":"046037"},{"046032":"046036"},{"047001":"047023"},{"047004":"047023"},{"047015":"047024"},{"047019":"047024"},{"048040":"048053"},{"048042":"048053"},{"051032":"051041"},{"051036":"051041"},{"050007":"050040"},{"051009":"051040"},{"050013":"050041"},{"048016":"048052"},{"048023":"048052"},{"050017":"050040"},{"050018":"050041"},{"052014":"052037"},{"051029":"051040"},{"052029":"052037"}]} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/service.properties b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/service.properties deleted file mode 100644 index b5d1e882..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/src/service.properties +++ /dev/null @@ -1,41 +0,0 @@ -## -## Properties Override -## - - # - # Specify where to get the overridden properties. Updates should not be made - # on this file but on the overridden version of this file. - # - include-and-override=${base.path}/service-ext.properties - -## -## Build -## - - build.namespace=old_portos - build.number=137 - build.date=1574176001092 - build.auto.upgrade=true - -## -## Spring -## - - # - # Input a list of comma delimited Spring configurations. These will be - # loaded after the bean definitions specified in the - # portalContextConfigLocation parameter in web.xml. - # - spring.configs=\ - WEB-INF/classes/META-INF/base-spring.xml,\ - \ - WEB-INF/classes/META-INF/hibernate-spring.xml,\ - WEB-INF/classes/META-INF/infrastructure-spring.xml,\ - \ - WEB-INF/classes/META-INF/cluster-spring.xml,\ - \ - WEB-INF/classes/META-INF/portlet-spring.xml,\ - \ - WEB-INF/classes/META-INF/shard-data-source-spring.xml,\ - \ - WEB-INF/classes/META-INF/ext-spring.xml \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/tld/aui.tld b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/tld/aui.tld deleted file mode 100644 index 1eeac884..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/tld/aui.tld +++ /dev/null @@ -1,2568 +0,0 @@ - - - - aui:.]]> - 1.0 - aui - http://alloy.liferay.com/tld/aui - - - button-item - com.liferay.taglib.aui.ButtonItemTag - JSP - - ]]> - activeState - false - true - boolean - - - ]]> - boundingBox - false - true - java.lang.String - - - ]]> - classNames - false - true - java.lang.Object - - - ]]> - contentBox - false - true - java.lang.String - - - boundingBox.]]> - cssClass - false - true - java.lang.String - - - ]]> - defaultState - false - true - boolean - - - ]]> - depth - false - true - java.lang.Object - - - ]]> - destroyed - false - true - boolean - - - ]]> - disabled - false - true - boolean - - - ]]> - focused - false - true - boolean - - - {fn: // The function to execute - context: // The context to execute the function in - type: // The type of event to listen for (defaults to "click") - }]]> - handler - false - true - java.lang.Object - - - ]]> - height - false - true - java.lang.Object - - - boundingBox when - visible is set to - false.]]> - hideClass - false - true - java.lang.String - - - ]]> - hoverState - false - true - boolean - - - ]]> - icon - false - true - java.lang.String - - - aui-button-icon.]]> - iconNode - false - true - java.lang.String - - - ]]> - buttonitemId - false - true - java.lang.String - - - ]]> - index - false - true - java.lang.Object - - - ]]> - initialized - false - true - boolean - - - ]]> - label - false - true - java.lang.String - - - aui-button-label.]]> - labelNode - false - true - java.lang.String - - - ]]> - buttonitemParent - false - true - java.lang.Object - - - true the render phase will be autimatically invoked - preventing the .render() manual call.]]> - render - false - true - java.lang.Object - - - ]]> - rendered - false - true - boolean - - - ]]> - root - false - true - java.lang.Object - - - -
0
(Default) Not selected
-
1
Fully selected
-
2
Partially selected
- ]]>
- selected - false - true - java.lang.Object -
- - ]]> - srcNode - false - true - java.lang.String - - - ]]> - strings - false - true - java.lang.Object - - - ]]> - tabIndex - false - true - java.lang.Object - - - ]]> - title - false - true - java.lang.String - - - ]]> - type - false - true - java.lang.String - - - ]]> - useARIA - false - true - boolean - - - ]]> - visible - false - true - boolean - - - ]]> - width - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterActiveStateChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterBoundingBoxChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterClassNamesChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterContentBoxChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterCssClassChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterDefaultStateChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterDepthChange - false - true - java.lang.Object - - - - Lifecycle event for the destroy phase, - fired prior to destruction. Invoking the preventDefault - method on the event object provided to subscribers will - prevent destruction from proceeding. -

-

- Subscribers to the "after" moment of this event, will be notified - after destruction is complete (and as a result cannot prevent - destruction). -

]]>
- afterDestroy - false - true - java.lang.Object -
- - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterDestroyedChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterDisabledChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterFocusedChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterHandlerChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterHeightChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterHideClassChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterHoverStateChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterIconChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterIconNodeChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterIdChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterIndexChange - false - true - java.lang.Object - - - - Lifecycle event for the init phase, fired prior to initialization. - Invoking the preventDefault() method on the event object provided - to subscribers will prevent initialization from occuring. -

-

- Subscribers to the "after" momemt of this event, will be notified - after initialization of the object is complete (and therefore - cannot prevent initialization). -

]]>
- afterInit - false - true - java.lang.Object -
- - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterInitializedChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterLabelChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterLabelNodeChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterParentChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterRenderChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterRenderedChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterRootChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterSelectedChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterSrcNodeChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterStringsChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterTabIndexChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterTitleChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterTypeChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterUseARIAChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterVisibleChange - false - true - java.lang.Object - - - ]]> - afterContentUpdate - false - true - java.lang.Object - - - - Subscribers to the "on" moment of this event, will be notified - before the widget is rendered. -

-

- Subscribers to the "after" moment of this event, will be notified - after rendering is complete. -

]]>
- afterRender - false - true - java.lang.Object -
- - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterWidthChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onActiveStateChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onBoundingBoxChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onClassNamesChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onContentBoxChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onCssClassChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onDefaultStateChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onDepthChange - false - true - java.lang.Object - - - - Lifecycle event for the destroy phase, - fired prior to destruction. Invoking the preventDefault - method on the event object provided to subscribers will - prevent destruction from proceeding. -

-

- Subscribers to the "after" moment of this event, will be notified - after destruction is complete (and as a result cannot prevent - destruction). -

]]>
- onDestroy - false - true - java.lang.Object -
- - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onDestroyedChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onDisabledChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onFocusedChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onHandlerChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onHeightChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onHideClassChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onHoverStateChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onIconChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onIconNodeChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onIdChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onIndexChange - false - true - java.lang.Object - - - - Lifecycle event for the init phase, fired prior to initialization. - Invoking the preventDefault() method on the event object provided - to subscribers will prevent initialization from occuring. -

-

- Subscribers to the "after" momemt of this event, will be notified - after initialization of the object is complete (and therefore - cannot prevent initialization). -

]]>
- onInit - false - true - java.lang.Object -
- - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onInitializedChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onLabelChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onLabelNodeChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onParentChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onRenderChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onRenderedChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onRootChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onSelectedChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onSrcNodeChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onStringsChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onTabIndexChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onTitleChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onTypeChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onUseARIAChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onVisibleChange - false - true - java.lang.Object - - - ]]> - onContentUpdate - false - true - java.lang.Object - - - - Subscribers to the "on" moment of this event, will be notified - before the widget is rendered. -

-

- Subscribers to the "after" moment of this event, will be notified - after rendering is complete. -

]]>
- onRender - false - true - java.lang.Object -
- - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onWidthChange - false - true - java.lang.Object - - true -
- - - a - com.liferay.taglib.aui.ATag - JSP - - <p> tag could be used for something other than a paragraph.]]> - ariaRole - false - true - java.lang.String - - - - cssClass - false - true - java.lang.String - - - HashMap<"class-name", foo> would render as the attribute data-class-name = foo;.]]> - data - false - true - java.util.Map - - - - href - true - true - java.lang.String - - - - id - false - true - java.lang.String - - - - label - false - true - java.lang.String - - - - lang - false - true - java.lang.String - - - - onClick - false - true - java.lang.String - - - self. Possible values are blank, self, parent, top, and a unique frame's name.]]> - target - false - true - java.lang.String - - - - title - false - true - java.lang.String - - true - - - button - com.liferay.taglib.aui.ButtonTag - JSP - - primary attribute.]]> - cssClass - false - true - java.lang.String - - - HashMap<"class-name", foo> would render as the attribute data-class-name = foo;.]]> - data - false - true - java.lang.Object - - - false.]]> - disabled - false - true - boolean - - - - href - false - true - java.lang.String - - - here.]]> - icon - false - true - java.lang.String - - - left.]]> - iconAlign - false - true - java.lang.String - - - - name - false - true - java.lang.String - - - - onClick - false - true - java.lang.String - - - type attribute is set to submit, this value is set to true. For all other types, the value is set to false by default.]]> - primary - false - true - java.lang.Object - - - button, submit, cancel and reset. The default value is button.]]> - type - false - true - java.lang.String - - - href location when a user clicks the button. The default value is false.]]> - useDialog - false - true - boolean - - - value - false - true - java.lang.String - - true - - - <div> tag to wrap <aui:button> components and offer additional styling.]]> - button-row - com.liferay.taglib.aui.ButtonRowTag - JSP - - - cssClass - false - true - java.lang.String - - - - id - false - true - java.lang.String - - true - - - <aui:row> component.]]> - col - com.liferay.taglib.aui.ColTag - JSP - - - cssClass - false - true - java.lang.String - - - - id - false - true - java.lang.String - - - offset - false - true - int - - - offsetWidth - false - true - int - - - 12. For example, a span of 4 would result in a column width 4/12 (or 1/3) of the total width of the containing row.]]> - span - false - true - int - - - span attribute. The width is then converted to a span expressed as ((width/100) x 12), rounded to the nearest whole number. For example, a width of 33 would be converted to 3.96, which would be rounded up to a span value of 4.]]> - width - false - true - int - - true - - - aui:col.]]> - column - com.liferay.taglib.aui.ColumnTag - JSP - - 20 would be 20%. The default value is 0.]]> - columnWidth - false - true - int - - - - cssClass - false - true - java.lang.String - - - false.]]> - first - false - true - boolean - - - - id - false - true - java.lang.String - - - false.]]> - last - false - true - boolean - - true - - - component - com.liferay.taglib.aui.ComponentTag - JSP - - defineVar - false - true - boolean - - - excludeAttributes - false - true - java.lang.String - - - javaScriptAttributes - false - true - java.lang.String - - - module - false - true - java.lang.String - - - name - false - true - java.lang.String - - - options - false - true - java.util.Map - - - scriptPosition - false - true - java.lang.String - - - tagPageContext - true - true - javax.servlet.jsp.JspContext - - - useJavaScript - false - true - java.io.Serializable - - - var - false - true - java.lang.String - - true - - - <div> tag to wrap <aui:row> components and offer additional styling.]]> - container - com.liferay.taglib.aui.ContainerTag - JSP - - - cssClass - false - true - java.lang.String - - - true.]]> - fluid - false - true - boolean - - - - id - false - true - java.lang.String - - true - - - <div> tag to wrap form fields and offer additional styling.]]> - field-wrapper - com.liferay.taglib.aui.FieldWrapperTag - JSP - - - cssClass - false - true - java.lang.String - - - HashMap<"class-name", foo> would render as the attribute data-class-name = foo;.]]> - data - false - true - java.lang.Object - - - false.]]> - first - false - true - boolean - - - - helpMessage - false - true - java.lang.String - - - false.]]> - inlineField - false - true - boolean - - - right and left.]]> - inlineLabel - false - true - java.lang.String - - - - label - false - true - java.lang.String - - - false.]]> - last - false - true - boolean - - - - name - false - true - java.lang.String - - - - required - false - true - boolean - - - - <div> tag to group related form elements and offer additional styling.]]> - fieldset - com.liferay.taglib.aui.FieldsetTag - JSP - - - column - false - true - boolean - - - - cssClass - false - true - java.lang.String - - - - helpMessage - false - true - java.lang.String - - - - id - false - true - java.lang.String - - - - label - false - true - java.lang.String - - true - - - - form - com.liferay.taglib.aui.FormTag - JSP - - - action - false - true - java.lang.String - - - - cssClass - false - true - java.lang.String - - - true.]]> - escapeXml - false - true - boolean - - - false.]]> - inlineLabels - false - true - boolean - - - post. Possible values are get and post.]]> - method - false - true - java.lang.String - - - fm.]]> - name - false - true - java.lang.String - - - - onSubmit - false - true - java.lang.String - - - - portletNamespace - false - true - java.lang.String - - - true.]]> - useNamespace - false - true - boolean - - true - - - - icon - com.liferay.taglib.aui.IconTag - JSP - - image attribute.]]> - cssClass - false - true - java.lang.String - - - HashMap<"class-name", foo> would render as the attribute data-class-name = foo;.]]> - data - false - true - java.util.Map - - - - id - false - true - java.lang.String - - - icon-edit CSS class by setting the value edit. If an icon image is referenced for cssClass and image, both icons are shown in the component.]]> - image - false - true - java.lang.String - - - - label - false - true - java.lang.String - - - self. Possible values are blank, self, parent, top, and a unique frame's name.]]> - target - false - true - java.lang.String - - - - url - false - true - java.lang.String - - true - - - - input - com.liferay.taglib.aui.InputTag - JSP - - - autoFocus - false - true - boolean - - - - autoSize - false - true - boolean - - - - bean - false - true - java.lang.Object - - - false.]]> - changesContext - false - true - boolean - - - type is radio or checkbox.]]> - checked - false - true - boolean - - - 0.]]> - classPK - false - true - long - - - - cssClass - false - true - java.lang.String - - - HashMap<"class-name", foo> would render as the attribute data-class-name = foo;.]]> - data - false - true - java.lang.Object - - - dateTogglerCheckboxLabel - false - true - java.lang.String - - - - defaultLanguageId - false - true - java.lang.String - - - false.]]> - disabled - false - true - boolean - - - field - false - true - java.lang.String - - - field of the component.]]> - fieldParam - false - true - java.lang.String - - - - first - false - true - boolean - - - - formName - false - true - java.lang.String - - - - helpMessage - false - true - java.lang.String - - - input-group-addon.]]> - helpTextCssClass - false - true - java.lang.String - - - - id - false - true - java.lang.String - - - false.]]> - ignoreRequestValue - false - true - boolean - - - false.]]> - inlineField - false - true - boolean - - - right and left.]]> - inlineLabel - false - true - java.lang.String - - - name attribute's value.]]> - label - false - true - java.lang.String - - - languageId - false - true - java.lang.String - - - - last - false - true - boolean - - - false.]]> - localized - false - true - boolean - - - type is number or range. Note that the max value is inclusive if the input's type is range.]]> - max - false - true - java.lang.Object - - - - model - false - true - java.lang.Class - - - type is number or range. Note that the min value is inclusive if the input's type is range.]]> - min - false - true - java.lang.Object - - - multiple - false - true - boolean - - - - name - true - true - java.lang.String - - - - onChange - false - true - java.lang.String - - - - onClick - false - true - java.lang.String - - - - placeholder - false - true - java.lang.String - - - - prefix - false - true - java.lang.String - - - - required - false - true - boolean - - - textarea.]]> - resizable - false - true - boolean - - - - showRequiredLabel - false - true - boolean - - - - suffix - false - true - java.lang.String - - - - title - false - true - java.lang.String - - - text, hidden, assetCategories, assetTags, textarea, timeZone, password, checkbox, radio, submit, button, color, email, number, range, resource, url, and an empty value. If an empty value or no value is set, the input's type is obtained automatically from the input component's bean.]]> - type - false - true - java.lang.String - - - true.]]> - useNamespace - false - true - boolean - - - - value - false - true - java.lang.Object - - - div that wraps the input component.]]> - wrapperCssClass - false - true - java.lang.String - - true - - - - layout - com.liferay.taglib.aui.LayoutTag - JSP - - - cssClass - false - true - java.lang.String - - true - - - - model-context - com.liferay.taglib.aui.ModelContextTag - JSP - - - bean - false - true - java.lang.Object - - - - defaultLanguageId - false - true - java.lang.String - - - - model - false - true - java.lang.Class - - - - <nav:item> components for an <aui:nav-bar> component.]]> - nav - com.liferay.taglib.aui.NavTag - JSP - - - ariaLabel - false - true - java.lang.String - - - <p> tag could be used for something other than a paragraph.]]> - ariaRole - false - true - java.lang.String - - - collapsible - false - true - boolean - - - - cssClass - false - true - java.lang.String - - - icon - false - true - java.lang.String - - - - id - false - true - java.lang.String - - - true.]]> - useNamespace - false - true - boolean - - true - - - - nav-bar - com.liferay.taglib.aui.NavBarTag - JSP - - - cssClass - false - true - java.lang.String - - - - id - false - true - java.lang.String - - true - - - <aui:nav-bar> component.]]> - nav-bar-search - com.liferay.taglib.aui.NavBarSearchTag - JSP - - - cssClass - false - true - java.lang.String - - - - id - false - true - java.lang.String - - - file - false - true - java.lang.String - - - - searchContainer - false - true - com.liferay.portal.kernel.dao.search.SearchContainer - - true - - - <aui:nav> component.]]> - nav-item - com.liferay.taglib.aui.NavItemTag - JSP - - href attribute.]]> - anchorCssClass - false - true - java.lang.String - - - HashMap<"class-name", foo> would render as the attribute data-class-name = foo;.]]> - anchorData - false - true - java.lang.Object - - - href attribute.]]> - anchorId - false - true - java.lang.String - - - - ariaLabel - false - true - java.lang.String - - - <p> tag could be used for something other than a paragraph.]]> - ariaRole - false - true - java.lang.String - - - - cssClass - false - true - java.lang.String - - - HashMap<"class-name", foo> would render as the attribute data-class-name = foo;.]]> - data - false - true - java.lang.Object - - - false.]]> - dropdown - false - true - boolean - - - - href - false - true - java.lang.Object - - - - iconCssClass - false - true - java.lang.String - - - - id - false - true - java.lang.String - - - - label - false - true - java.lang.String - - - localizeLabel - false - true - boolean - - - false.]]> - selected - false - true - boolean - - - state - false - true - java.lang.String - - - - title - false - true - java.lang.String - - - toggle - false - true - boolean - - - href location when a user clicks the navigation item. The default value is false.]]> - useDialog - false - true - boolean - - - drop-down-menu class. The default value is true.]]> - wrapDropDownMenu - false - true - boolean - - true - - - <aui:select> component.]]> - option - com.liferay.taglib.aui.OptionTag - JSP - - - cssClass - false - true - java.lang.String - - - HashMap<"class-name", foo> would render as the attribute data-class-name = foo;.]]> - data - false - true - java.util.Map - - - false.]]> - disabled - false - true - boolean - - - - label - false - true - java.lang.Object - - - false.]]> - selected - false - true - boolean - - - text-align:right;.]]> - style - false - true - java.lang.String - - - useModelValue - false - true - boolean - - - label attribute.]]> - value - false - true - java.lang.Object - - true - - - panel - com.liferay.taglib.aui.PanelTag - JSP - - collapsed - false - true - boolean - - - collapsible - false - true - boolean - - - id - false - true - java.lang.String - - - label - false - true - java.lang.String - - - - <aui:col> components.]]> - row - com.liferay.taglib.aui.RowTag - JSP - - - cssClass - false - true - java.lang.String - - - row-fluid CSS class to the row. The default value is true. If set to false, the row CSS class is assigned.]]> - fluid - false - true - boolean - - - - id - false - true - java.lang.String - - true - - - - script - com.liferay.taglib.aui.ScriptTag - JSP - - - position - false - true - java.lang.String - - - - use - false - true - java.lang.String - - - - <aui:option> components.]]> - select - com.liferay.taglib.aui.SelectTag - JSP - - - bean - false - true - java.lang.Object - - - false.]]> - changesContext - false - true - boolean - - - - cssClass - false - true - java.lang.String - - - HashMap<"class-name", "foo"> would render as the attribute data-class-name = "foo";.]]> - data - false - true - java.util.Map - - - false.]]> - disabled - false - true - boolean - - - false.]]> - first - false - true - boolean - - - - helpMessage - false - true - java.lang.String - - - - id - false - true - java.lang.String - - - ignoreRequestValue - false - true - boolean - - - false.]]> - inlineField - false - true - boolean - - - right and left.]]> - inlineLabel - false - true - java.lang.String - - - - label - false - true - java.lang.String - - - false.]]> - last - false - true - boolean - - - ListTypeImpl.java.]]> - listType - false - true - java.lang.String - - - listTypeFieldName - false - true - java.lang.String - - - true, the select field expands to allow for multiple selections. The default value is false.]]> - multiple - false - true - boolean - - - label attribute and takes the place of the label.]]> - name - true - true - java.lang.String - - - - onChange - false - true - java.lang.String - - - - onClick - false - true - java.lang.String - - - - prefix - false - true - java.lang.String - - - false.]]> - required - false - true - boolean - - - false.]]> - showEmptyOption - false - true - boolean - - - required attribute is set to true. The default value is false.]]> - showRequiredLabel - false - true - boolean - - - - suffix - false - true - java.lang.String - - - - title - false - true - java.lang.String - - - true.]]> - useNamespace - false - true - boolean - - true - - - - spacer - com.liferay.taglib.aui.SpacerTag - JSP - - - - translation-manager - com.liferay.taglib.aui.TranslationManagerTag - JSP - - - availableLocales - false - true - java.util.Locale[] - - - - defaultLanguageId - false - true - java.lang.String - - - editingLanguageId - false - true - java.lang.String - - - - id - false - true - java.lang.String - - - true. If this is set to false, the translation manager will not work entirely.]]> - initialize - false - true - boolean - - - false.]]> - readOnly - false - true - boolean - - - - - validator - com.liferay.taglib.aui.ValidatorTagImpl - JSP - - true.]]> - customValidatorRequired - false - true - boolean - - - - errorMessage - false - true - java.lang.String - - - acceptFiles, alpha, alphanum, date, digits, email, equalTo, iri, max, maxLength, min, minLength, number, required, and url.]]> - name - true - true - java.lang.String - - - - - workflow-status - com.liferay.taglib.aui.WorkflowStatusTag - JSP - - - bean - false - true - java.lang.Object - - - - helpMessage - false - true - java.lang.String - - - - id - false - true - java.lang.String - - - - model - false - true - java.lang.Class - - - true.]]> - showIcon - false - true - boolean - - - true.]]> - showLabel - false - true - boolean - - - 0 (Approved), 1 (Pending), 2 (Draft), 3 (Expired), 4 (Denied), 5 (Inactive), 6 (Incomplete), 7 (Scheduled), and 8 (In-Trash). Any other value defaults to status (Any).]]> - status - false - true - java.lang.Integer - - - - statusMessage - false - true - java.lang.String - - - - version - false - true - java.lang.String - - -
\ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/tld/liferay-portlet-ext.tld b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/tld/liferay-portlet-ext.tld deleted file mode 100644 index 7c046647..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/tld/liferay-portlet-ext.tld +++ /dev/null @@ -1,538 +0,0 @@ - - - - - 1.0 - 1.1 - liferay-portlet - http://liferay.com/tld/portlet - - - - - actionURL - com.liferay.taglib.portlet.ActionURLTag - com.liferay.taglib.portlet.ActionURLTei - JSP - - allowEmptyParam - false - true - - - anchor - false - true - - - copyCurrentRenderParameters - false - true - - - doAsGroupId - false - true - - - doAsUserId - false - true - - - encrypt - false - true - - - escapeXml - false - true - - - name - false - true - - - plid - false - true - - - portletConfiguration - false - true - - - portletMode - false - true - - - portletName - false - true - - - refererGroupId - false - true - - - refererPlid - false - true - - - secure - false - true - - - var - false - true - - - varImpl - false - true - - - windowState - false - true - - - - icon-back - com.liferay.taglib.portletext.IconBackTag - JSP - - - icon-close - com.liferay.taglib.portletext.IconCloseTag - JSP - - - icon-configuration - com.liferay.taglib.portletext.IconConfigurationTag - JSP - - - icon-edit - com.liferay.taglib.portletext.IconEditTag - JSP - - - icon-edit-defaults - com.liferay.taglib.portletext.IconEditDefaultsTag - JSP - - - icon-edit-guest - com.liferay.taglib.portletext.IconEditGuestTag - JSP - - - icon-export-import - com.liferay.taglib.portletext.IconExportImportTag - JSP - - - icon-help - com.liferay.taglib.portletext.IconHelpTag - JSP - - - icon-maximize - com.liferay.taglib.portletext.IconMaximizeTag - JSP - - - icon-minimize - com.liferay.taglib.portletext.IconMinimizeTag - JSP - - - icon-options - com.liferay.taglib.portletext.IconOptionsTag - JSP - - - icon-portlet - com.liferay.taglib.portletext.IconPortletTag - JSP - - ariaRole - false - true - - - id - false - true - - - label - false - true - - - portlet - false - true - - - url - false - true - - - - icon-portlet-css - com.liferay.taglib.portletext.IconPortletCssTag - JSP - - - icon-print - com.liferay.taglib.portletext.IconPrintTag - JSP - - - icon-refresh - com.liferay.taglib.portletext.IconRefreshTag - JSP - - - param - com.liferay.taglib.util.ParamTag - empty - - name - true - true - - - value - true - true - - - - preview - com.liferay.taglib.portletext.PreviewTag - JSP - - portletName - true - true - - - queryString - false - true - - - showBorders - false - true - - - width - false - true - - - - - - - renderURL - com.liferay.taglib.portlet.RenderURLTag - com.liferay.taglib.portlet.RenderURLTei - JSP - - allowEmptyParam - false - true - - - anchor - false - true - - - copyCurrentRenderParameters - false - true - - - doAsGroupId - false - true - - - doAsUserId - false - true - - - encrypt - false - true - - - escapeXml - false - true - - - plid - false - true - - - portletConfiguration - false - true - - - portletMode - false - true - - - portletName - false - true - - - refererGroupId - false - true - - - refererPlid - false - true - - - secure - false - true - - - var - false - true - - - varImpl - false - true - - - windowState - false - true - - - - renderURLParams - com.liferay.taglib.portlet.RenderURLParamsTag - JSP - - varImpl - true - true - - - - - - - resourceURL - com.liferay.taglib.portlet.ResourceURLTag - com.liferay.taglib.portlet.ResourceURLTei - JSP - - anchor - false - true - - - copyCurrentRenderParameters - false - true - - - doAsGroupId - false - true - - - doAsUserId - false - true - - - encrypt - false - true - - - escapeXml - false - true - - - id - false - true - - - plid - false - true - - - portletConfiguration - false - true - - - portletMode - false - true - - - portletName - false - true - - - refererGroupId - false - true - - - refererPlid - false - true - - - secure - false - true - - - var - false - true - - - varImpl - false - true - - - windowState - false - true - - - - runtime - com.liferay.taglib.portletext.RuntimeTag - JSP - - defaultPreferences - false - true - - - portletName - true - true - - - queryString - false - true - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/tld/liferay-portlet.tld b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/tld/liferay-portlet.tld deleted file mode 100644 index a7cd2fdf..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/tld/liferay-portlet.tld +++ /dev/null @@ -1,158 +0,0 @@ - - - - - 1.0 - 1.1 - portlet - http://java.sun.com/portlet - - actionURL - com.liferay.taglib.portlet.ActionURLTag - com.liferay.taglib.portlet.ActionURLTei - JSP - - copyCurrentRenderParameters - false - true - - - escapeXml - false - true - - - name - false - true - - - portletMode - false - true - - - secure - false - true - - - var - false - true - - - windowState - false - true - - - - defineObjects - com.liferay.taglib.portlet.DefineObjectsTag - com.liferay.taglib.portlet.DefineObjectsTei - empty - - - namespace - com.liferay.taglib.portlet.NamespaceTag - empty - - - param - com.liferay.taglib.util.ParamTag - empty - - name - true - true - - - value - true - true - - - - property - com.liferay.taglib.util.PropertyTag - empty - - name - true - true - - - value - true - true - - - - renderURL - com.liferay.taglib.portlet.RenderURLTag - com.liferay.taglib.portlet.RenderURLTei - JSP - - copyCurrentRenderParameters - false - true - - - escapeXml - false - true - - - portletMode - false - true - - - secure - false - true - - - var - false - true - - - windowState - false - true - - - - resourceURL - com.liferay.taglib.portlet.ResourceURLTag - com.liferay.taglib.portlet.ResourceURLTei - JSP - - cacheability - false - true - - - escapeXml - false - true - - - id - false - true - - - secure - false - true - - - var - false - true - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/tld/liferay-security.tld b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/tld/liferay-security.tld deleted file mode 100644 index f8e6f6dd..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/tld/liferay-security.tld +++ /dev/null @@ -1,106 +0,0 @@ - - - - - 1.0 - 1.1 - liferay-security - http://liferay.com/tld/security - - doAsURL - com.liferay.taglib.security.DoAsURLTag - com.liferay.taglib.security.DoAsURLTei - JSP - - doAsUserId - false - true - - - var - false - true - - - - encrypt - com.liferay.taglib.security.EncryptTag - JSP - - className - false - true - - - protocol - true - true - - - style - false - true - - - target - false - true - - - unencryptedParams - false - true - - - url - true - true - - - - permissionsURL - com.liferay.taglib.security.PermissionsURLTag - com.liferay.taglib.security.PermissionsURLTei - JSP - - modelResource - true - true - - - modelResourceDescription - true - true - - - redirect - false - true - - - resourceGroupId - false - true - - - resourcePrimKey - true - true - - - roleTypes - false - true - - - var - false - true - - - windowState - false - true - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/tld/liferay-theme.tld b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/tld/liferay-theme.tld deleted file mode 100644 index 90ac81db..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/tld/liferay-theme.tld +++ /dev/null @@ -1,65 +0,0 @@ - - - - - 1.0 - 1.1 - theme - http://liferay.com/tld/theme - - defineObjects - com.liferay.taglib.theme.DefineObjectsTag - com.liferay.taglib.theme.DefineObjectsTei - empty - - - include - com.liferay.taglib.theme.IncludeTag - JSP - - page - true - true - - - - layout-icon - com.liferay.taglib.theme.LayoutIconTag - JSP - - layout - true - true - - - - meta-tags - com.liferay.taglib.theme.MetaTagsTag - JSP - - - param - com.liferay.taglib.util.ParamTag - JSP - - name - true - true - - - value - true - true - - - - wrap-portlet - com.liferay.taglib.theme.WrapPortletTag - JSP - - page - true - true - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/tld/liferay-ui.tld b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/tld/liferay-ui.tld deleted file mode 100644 index a9a746a8..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/tld/liferay-ui.tld +++ /dev/null @@ -1,4691 +0,0 @@ - - - - Provides the Liferay UI component tags, prefixed with liferay-ui:]]>. - 1.0 - liferay-ui - http://liferay.com/tld/ui - - app-view-display-style - com.liferay.taglib.ui.AppViewDisplayStyleTag - empty - - displayStyle - true - true - - - displayStyles - true - true - - - requestParams - true - true - - - - Creates a component for displaying entry items such as images, documents, folders, etc. in a concise but informative manner. Items are displayed in a similar fashion to entries in the file system of most operating systems. - app-view-entry - com.liferay.taglib.ui.AppViewEntryTag - empty - - The path to an action JSP page. - actionJsp - false - true - - - The Java class name for any categories added to the entry. - assetCategoryClassName - false - true - - - The Java class primary key for any categories added to the entry. This is a Java long]]>. - assetCategoryClassPK - false - true - - - The Java class name for any tags added to the entry. - assetTagClassName - false - true - - - The Java class primary key for any tags added to the entry. This is a Java long]]>. - assetTagClassPK - false - true - - - The name of the entry's author. - author - false - true - - - The date the entry was created. - createDate - false - true - - - A CSS class for styling this component. - cssClass - false - true - - - Miscellaneous data to be stored via a map. This data is not shared with the browser. The map holds key value pairs of type <String, Object>]]>. - data - false - true - java.util.Map - - - A description of the entry. - description - false - true - - - A date to display the entry. - displayDate - false - true - - - A display style for the component. Options are list]]>, icon]]>, and descriptive]]>. - displayStyle - true - true - - - A date for the entry to expire and be automatically deleted. - expirationDate - false - true - - - Whether the entry is a folder. The default is false]]>. - folder - false - true - boolean - - - The group ID of the entry. This is a Java long]]>. - groupId - false - true - - - The version number of the most recently published copy of the entry. - latestApprovedVersion - false - true - - - The author of the most recently published version of the entry. - latestApprovedVersionAuthor - false - true - - - Whether the entry is locked. The default value is false]]>. - locked - false - true - boolean - - - The date of the most recent modification to the entry. - modifiedDate - false - true - - - The date the entry was reviewed. - reviewDate - false - true - - - A checkbox input ID to be used for the entry row checker. - rowCheckerId - false - true - - - A name for the entry row checker. - rowCheckerName - false - true - - - Whether to show a shortcut icon link to the entry. The default value is false]]>. - shortcut - false - true - boolean - - - Whether the entry is selectable. An actual checkbox is used when the display style is icon]]> or descriptive]]>. The default value is false]]>. - showCheckbox - true - true - boolean - - - Whether to show the link title. The default value is true]]>. - showLinkTitle - false - true - boolean - - - The current status of the entry, as represented by an integer. Options are -1: STATUS_ANY]]>, 0: STATUS_APPROVED]]>, 1: ACTION_PUBLISH]]>, 2: STATUS_DRAFT]]>, and 4: STATUS_DENIED]]>. The default value is -1]]>. - status - false - true - int - - - A CSS style to be applied to the div containing the thumbnail for the entry. - thumbnailDivStyle - false - true - - - The source URL for an entry thumbnail image. - thumbnailSrc - true - true - - - A CSS style to be applied to the thumbnail for the entry. - thumbnailStyle - false - true - - - A title for the entry. - title - true - true - - - The current version of the entry. - version - false - true - - - A URL to view the full entry. - url - false - true - - - - Creates a navigation list item component for navigating app view entries. - app-view-navigation-entry - com.liferay.taglib.ui.AppViewNavigationEntryTag - empty - - The path for an action JSP page. - actionJsp - false - true - - - A CSS class for styling this component. - cssClass - false - true - - - Data to be applied to the component link and stored via a map. This data is not shared with the browser. The map holds key value pairs of type <String, Object>]]>. - dataView - false - true - java.util.Map - - - A title for the component. - entryTitle - true - true - - - A CSS class for setting the icon of the component. - iconImage - false - true - - - iconSrc - false - true - - - Whether the entry is selected. - selected - false - true - boolean - - - A URL to view the entry. - viewURL - true - true - - - - Creates a toolbar for viewing items in app view. - app-view-toolbar - com.liferay.taglib.ui.AppViewToolbarTag - JSP - - Whether to include the option to choose a display style for component items. If the value is true]]>, a list of display style options is rendered. The default value is false]]>. - includeDisplayStyle - false - true - boolean - - - Whether to include an option to select all component items. The default value is false]]>. - includeSelectAll - false - true - boolean - - - The file path for a search JSP page. - searchJsp - false - true - - - - Creates a component for displaying search results of entries in app view. - app-view-search-entry - com.liferay.taglib.ui.AppViewSearchEntryTag - empty - - The file path for an action JSP page. - actionJsp - false - true - - - containerIcon - false - true - - - The name of the container that the entry is in, such as the name of a folder. - containerName - false - true - - - containerSrc - false - true - - - The type of container the entry is in, such as Folder]]>. - containerType - false - true - - - A CSS class for styling this component. - cssClass - false - true - - - A description of the entry. - description - true - true - - - A list of objects containing information such as content, user ID, and titles of the entry file attachments. - fileEntryTuples - false - true - - - Whether the entry is locked. The default value is false]]>. - locked - false - true - boolean - - - A list of objects containing information such as content, author, and status of entry messages. An example would be a comment made by one user on another user's blog post. - mbMessages - false - true - - - Query terms of the search. - queryTerms - true - true - - - A checkbox input ID to be used for the entry row checker. This is a Java long]]>. - rowCheckerId - false - true - - - A name to be used for the entry row checker. - rowCheckerName - false - true - - - Whether the entry is selectable via a checkbox. The default value is true]]>. - showCheckbox - false - true - boolean - - - The current status of the entry as represented by an integer. Options are -1: STATUS_ANY]]>, 0: STATUS_APPROVED]]>, 1: ACTION_PUBLISH]]>, 2: STATUS_DRAFT]]>, and 4: STATUS_DENIED]]>. - status - false - true - - - The URL for an entry thumbnail image. - thumbnailSrc - false - true - - - A title for the entry. - title - true - true - - - A URL used to view the full entry. - url - true - true - - - The current and past versions of the entry. - versions - false - true - - - - asset-categories-error - com.liferay.taglib.ui.AssetCategoriesErrorTag - JSP - - - asset-categories-navigation - com.liferay.taglib.ui.AssetCategoriesNavigationTag - JSP - - hidePortletWhenEmpty - false - true - - - vocabularyIds - false - true - - - - asset-categories-selector - com.liferay.taglib.ui.AssetCategoriesSelectorTag - JSP - - className - false - true - - - classPK - false - true - - - contentCallback - false - true - - - curCategoryIds - false - true - - - groupIds - false - true - - - hiddenInput - false - true - - - ignoreRequestValue - false - true - - - - asset-categories-summary - com.liferay.taglib.ui.AssetCategoriesSummaryTag - JSP - - className - true - true - - - classPK - true - true - - - message - false - true - - - portletURL - false - true - - - - asset-links - com.liferay.taglib.ui.AssetLinksTag - JSP - - assetEntryId - false - true - - - className - false - true - - - classPK - false - true - - - - Creates a liferay-ui:error]]> component to display tag-related error messages. - asset-tags-error - com.liferay.taglib.ui.AssetTagsErrorTag - JSP - - - asset-tags-navigation - com.liferay.taglib.ui.AssetTagsNavigationTag - JSP - - classNameId - false - true - - - displayStyle - false - true - - - hidePortletWhenEmpty - false - true - - - maxAssetTags - false - true - - - showAssetCount - false - true - - - showZeroAssetCount - false - true - - - - Creates a Liferay.AssetTagsSelector]]> component to create and select tags to add to an asset, such as a blog entry, bookmark, or wiki page. - asset-tags-selector - com.liferay.taglib.ui.AssetTagsSelectorTag - JSP - - Whether to automatically focus the tag input field. The default value is false]]>. - autoFocus - false - true - boolean - - - The Java class of the asset. - className - false - true - - - The Java class primary key of an asset to associate with the tags. This is a Java long]]>. - classPK - false - true - - - A function to get tag suggestions based on the asset's content. - contentCallback - false - true - - - The current selected tags. - curTags - false - true - - - The group IDs of the asset tags. - groupIds - false - true - - - The name of the hidden input for passing in the asset's current tags. - hiddenInput - false - true - - - An ID for the component instance. - id - false - true - - - ignoreRequestValue - false - true - - - - Creates a component to display all the tags associated with an asset, such as a blog entry, wiki page, or message boards message. - asset-tags-summary - com.liferay.taglib.ui.AssetTagsSummaryTag - JSP - - An array of the asset tag names. - assetTagNames - false - true - - - The Java class of the asset. - className - true - true - - - The Java class primary key of an asset. This is a Java long]]>. - classPK - true - true - - - A message to display before the tag labels. A standard example is tags]]>, which renders as Tags:]]>. - message - false - true - - - The URL of a portlet to display the tags. - portletURL - false - true - - - - breadcrumb - com.liferay.taglib.ui.BreadcrumbTag - JSP - - displayStyle - false - true - - - portletURL - false - true - - - selLayout - false - true - - - selLayoutParam - false - true - - - showCurrentGroup - false - true - - - showCurrentPortlet - false - true - - - showGuestGroup - false - true - - - showLayout - false - true - - - showParentGroups - false - true - - - showPortletBreadcrumb - false - true - - - - Creates a calendar with configurable events. - calendar - com.liferay.taglib.ui.CalendarTag - JSP - - A given set of integers, corresponding to a day of the chosen month, and to mark with a dot. - data - false - true - java.util.Set - - - A day of the month to highlight in the calendar. - day - false - true - int - - - A format for the header. - headerFormat - false - true - java.text.Format - - - A pattern for the calendar header. A possible value is MMM/dd/yyyy]]>. - headerPattern - false - true - - - A month of the year to display at the top of the calendar. - month - true - true - int - - - Whether to display up to six calendar weeks relative to the set day. If the set day of the month is in the latter part of the month, the current month's weeks will be displayed and up to two weeks of the next month will be displayed. The default value is false]]>. - showAllPotentialWeeks - false - true - boolean - - - A year to display at the top of the calendar. - year - true - true - int - - - - Creates an image CAPTCHA with a corresponding verification input. - captcha - com.liferay.taglib.ui.CaptchaTag - JSP - - The source URL for the image CAPTCHA. - url - true - true - - - - categorization-filter - com.liferay.taglib.ui.CategorizationFilterTag - JSP - - assetType - false - true - - - portletURL - false - true - - - - custom-attribute - com.liferay.taglib.ui.CustomAttributeTag - JSP - - className - true - true - - - classPK - true - true - - - editable - false - true - - - label - false - true - - - name - true - true - - - - custom-attribute-list - com.liferay.taglib.ui.CustomAttributeListTag - JSP - - className - true - true - - - classPK - true - true - - - editable - false - true - - - ignoreAttributeNames - false - true - - - label - false - true - - - - custom-attributes-available - com.liferay.taglib.ui.CustomAttributesAvailableTag - JSP - - className - true - true - - - classPK - false - true - - - companyId - false - true - - - ignoreAttributeNames - false - true - - - editable - false - true - - - - ddm-template-selector - com.liferay.taglib.ui.DDMTemplateSelectorTag - JSP - - classNameId - true - true - - - displayStyle - true - true - - - displayStyleGroupId - true - true - - - displayStyles - false - true - - - icon - false - true - - - label - false - true - - - refreshURL - false - true - - - showEmptyOption - false - true - - - - diff - com.liferay.taglib.ui.DiffTag - JSP - - diffResults - true - true - - - sourceName - true - true - - - targetName - true - true - - - - diff-html - com.liferay.taglib.ui.DiffHtmlTag - JSP - - diffHtmlResults - true - true - - - - discussion - com.liferay.taglib.ui.DiscussionTag - JSP - - assetEntryVisible - false - true - - - className - true - true - - - classPK - true - true - - - formAction - true - true - - - formName - false - true - - - hideControls - false - true - - - permissionClassName - false - true - - - permissionClassPK - false - true - - - ratingsEnabled - false - true - - - redirect - false - true - - - Deprecated as of 6.2.0, with no direct replacement - subject - false - true - - - userId - true - true - - - - Creates an error message to display to the user. - error - com.liferay.taglib.ui.ErrorTag - com.liferay.taglib.ui.ErrorTei - JSP - - A class for the exception. - exception - false - true - - - The name of a field on which to focus the error message. - focusField - false - true - - - A key to place in the SessionErrors]]> object to trigger the error message. - key - false - true - - - Explicit message text or a language key name from which to derive text for the message. - message - false - true - - - rowBreak - false - true - - - Whether to translate the message into the user's language. The default value is true]]>. - translateMessage - false - true - boolean - - - - error-marker - com.liferay.taglib.ui.ErrorMarkerTag - JSP - - key - false - true - - - value - false - true - - - - Creates a flag icon that lets users report inappropriate content. - flags - com.liferay.taglib.ui.FlagsTag - JSP - - The flagged asset's Java class name. - className - true - true - - - The flagged asset's entry ID. - classPK - true - true - - - The flagged asset's title. - contentTitle - true - true - - - Whether to show message text as a label next to the flag icon or as a tooltip. The default value is true]]>. - label - false - true - boolean - - - Text to display next to the flag icon. The default text is Flag]]>. - message - false - true - - - The user ID of the user who flagged the asset. - reportedUserId - true - true - - - - flash - com.liferay.taglib.ui.FlashTag - JSP - - align - false - true - - - allowFullScreen - false - true - - - allowScriptAccess - false - true - - - base - false - true - - - bgcolor - false - true - - - devicefont - false - true - - - flashvars - false - true - - - height - false - true - - - id - false - true - - - loop - false - true - - - menu - false - true - - - movie - true - true - - - play - false - true - - - quality - false - true - - - salign - false - true - - - scale - false - true - - - swliveconnect - false - true - - - version - false - true - - - width - false - true - - - wmode - false - true - - - - Creates a navigable form for multiple section forms. It's default navigation is a side navigation box with links to each section. But the navigation can be configured as a progressive step navigation positioned above the form or as vertically stacked accordion style sections that expand when clicked. - form-navigator - com.liferay.taglib.ui.FormNavigatorTag - JSP - - A URL for the form's cancel button. - backURL - false - true - - - The name of each category in the form. - categoryNames - true - true - - - The name of each section within a category. - categorySections - true - true - - - A type of navigation to be used. Options are steps]]> and panel]]>. The default display style is side navigation. - displayStyle - false - true - - - A name for the form. - formName - false - true - - - HTML to append to the navigator. Examples include alternate form buttons, form instructions, or information about the form. - htmlBottom - false - true - - - HTML to prepend to the navigator. - htmlTop - false - true - - - A path to the formSection.jsp]]> file's folder /path/to/jsp/folder/]]>. - jspPath - false - true - - - Whether to show the Submit]]> and Cancel]]> buttons. The default value is true]]>. - showButtons - false - true - boolean - - - - group-search - com.liferay.taglib.ui.GroupSearchTag - JSP - - groupParams - true - true - - - portletURL - true - true - - - rowChecker - false - true - - - - Creates a header that displays its text above a horizontal rule accompanied by a configurable back URL button. - header - com.liferay.taglib.ui.HeaderTag - JSP - - Text to display on mouse over of the back URL. The default value is Back]]>. - backLabel - false - true - - - A URL for navigating back to. - backURL - false - true - - - A CSS class for styling the header component. - cssClass - false - true - - - Whether to escape the header's XML tags. The default value is true]]>. - escapeXml - false - true - boolean - - - Whether to translate the header's title]]> into the localized language. The default value is true]]>. - localizeTitle - false - true - boolean - - - Whether to display the back URL. The default value is true]]>. - showBackURL - false - true - boolean - - - A title to display as the header text. - title - true - true - - - - Creates a fully configurable icon that provides access to current Liferay theme icons. - icon - com.liferay.taglib.ui.IconTag - JSP - - A value for the alt]]> attribute of the embedded img]]> tag. - alt - false - true - - - A role for assistive technologies to interpret for HTML elements that have been used for something other than their intended purpose. For example, the <p>]]> tag could be used for something other than a paragraph. - ariaRole - false - true - - - A CSS class for styling the component. - cssClass - false - true - - - Miscellaneous data to be stored via a map. This data is not shared with the browser. The map holds key value pairs of type <String, Object>]]>. - data - false - true - java.util.Map - - - An icon from a Bootstrap icon CSS Class. Note that any image for the image]]> attribute takes precedence. Icon CSS classes to specify for this attribute can be found at http://marcoceppi.github.io/bootstrap-glyphicons/]]>. - iconCssClass - false - true - - - An ID for the component instance. - id - false - true - - - An image for the icon, from the current theme. The value can be the filename prefix of any image file in the theme's common]]> image folder. This image takes precedence over any icon value set via the iconCssClass]]> attribute. - image - false - true - - - An icon to display on mouse over of the component. The icon image comes from the current theme. The value can be the filename prefix of any image file in the theme's common]]> image folder. - imageHover - false - true - - - Whether to display the message]]> attribute's value as the icon's label. - label - false - true - boolean - - - A language to associate with the icon, to assist search engines and web browsers in finding and rendering the icon appropriately. - lang - false - true - - - A CSS class for styling the icon's URL. - linkCssClass - false - true - - - Whether to translate the icon's message]]> into the user's language. - localizeMessage - false - true - boolean - - - Text to be displayed for the icon on mouse over. - message - false - true - - - An HTTP request method. Possible values are get]]> and post]]>. - method - false - true - - - A function to be called on a user clicking the icon. - onClick - false - true - - - The location of an image file to use in the icon. - src - false - true - - - The location of an image file to use on mouse over of the icon. This value takes precedence over the imageHover]]> attribute. This image takes precedence over icons set with the imageHover]]> attribute. - srcHover - false - true - - - A target window in which to open the URL. The default value is self]]>. Possible values are blank]]>, self]]>, parent]]>, top]]>, and a unique frame's name. - target - false - true - - - Whether to use a tooltip. The default value is true]]>. - toolTip - false - true - boolean - - - A URL to navigate to when the icon is clicked. - url - false - true - - - Whether to open the URL in a dialog window. The default value is false]]>. - useDialog - false - true - boolean - - - - Creates an icon to associate with deactivating an item. - icon-deactivate - com.liferay.taglib.ui.IconDeactivateTag - JSP - - Whether to display a message on the icon's label on mouse over of the icon. The default value is false]]>. - label - false - true - boolean - - - A URL navigated to when the icon is clicked. - url - true - true - - - - Creates a configurable icon to associate with deleting or removing an item. - icon-delete - com.liferay.taglib.ui.IconDeleteTag - JSP - - Text to use in place of the text from the default deletion confirmation message language key are-you-sure-you-want-to-delete-this]]>. If the trash]]> attribute is set to true]]>, no confirmation message is shown. - confirmation - false - true - - - A CSS class for styling the component. - cssClass - false - true - - - An ID for the component instance. - id - false - true - - - An image for the icon, from the current theme. The value can be the filename prefix of any image file in the theme's common]]> image folder. The image takes precedence over any default icon images. - image - false - true - - - Whether to display the message]]> attribute's value as the icon's label. The default value is false]]>. - label - false - true - boolean - - - Text to display on mouse over of the icon. - message - false - true - - - An HTTP request method to invoke. Possible values are get]]> and post]]>. - method - false - true - - - Whether to use the trash icon instead of the remove icon. The default value isfalse]]>. - trash - false - true - boolean - - - A URL navigated to when the icon is clicked. - url - true - true - - - - Creates a help icon that displays a custom message as a tooltip on mouse over of the help icon. - icon-help - com.liferay.taglib.ui.IconHelpTag - JSP - - Text to be displayed on mouse over of the icon. - message - true - true - - - - Creates a list of icons from a list of child components. - icon-list - com.liferay.taglib.ui.IconListTag - JSP - - Whether to render the icon list when there is only one child component. The default value is false]]>. - showWhenSingleIcon - false - true - boolean - - - - Creates an icon menu from a list of child components. - icon-menu - com.liferay.taglib.ui.IconMenuTag - JSP - - A CSS class for styling the component. - cssClass - false - true - - - A position from which to pop up the icon menu dialog in relation to the trigger. The default direction is left]]>. Possible values are up]]>, down]]>, left]]> or right]]>. - direction - false - true - - - Whether to disable the icon menu. - disabled - false - true - boolean - - - Whether to extend the icon menu trigger by wrapping it in a button. The default value is true]]>. - extended - false - true - boolean - - - The location of an image file to use in the icon. - icon - false - true - - - An ID for the component instance. - id - false - true - - - Whether to translate the message to the user's language. The default value is true]]>. - localizeMessage - false - true - boolean - - - The number of items to show in the icon menu before scrolling. The default value is 15. - maxDisplayItems - false - true - int - - - Text to display next to the icon menu trigger. The default value is actions]]>. - message - false - true - - - Whether to add the select]]> CSS class to the icon menu. If set to true]]>, the selected icon is added to the icon menu's trigger when the icon is selected. The default value is false]]>. - select - false - true - boolean - - - Whether to extend the icon menu by default. The default value is false]]>. - showExpanded - false - true - boolean - - - Whether to show an arrow, indicating a popup dialog, next to the icon menu's trigger icon. The default value is true]]>. - showArrow - false - true - boolean - - - Whether to show the icon menu when there is only one icon. The default value is false]]>. - showWhenSingleIcon - false - true - boolean - - - A CSS class for styling the trigger for the icon menu. The default value is btn btn-default]]>. - triggerCssClass - false - true - - - Whether the icon menu drop-down caret points to the direction set by the direction]]> attribute. - useIconCaret - false - true - boolean - - - - input-asset-links - com.liferay.taglib.ui.InputAssetLinksTag - JSP - - assetEntryId - false - true - - - className - false - true - - - classPK - false - true - - - - Creates a configurable input checkbox. - input-checkbox - com.liferay.taglib.ui.InputCheckBoxTag - JSP - - A CSS class for styling the component. - cssClass - false - true - - - Whether the checkbox is selected by default. - defaultValue - false - true - boolean - - - Whether the checkbox is disabled. - disabled - false - true - boolean - - - A name for the checkbox's form. - formName - false - true - - - An ID for the component instance. - id - false - true - - - A function to be called on a user clicking the checkbox. - onClick - false - true - - - A variable name for the component. - param - true - true - - - - Creates a date input field that displays a calendar for date selection. - input-date - com.liferay.taglib.ui.InputDateTag - JSP - - Whether the date field gets focus by default. The default value is false]]>. - autoFocus - false - true - boolean - - - A CSS class for styling the component. - cssClass - false - true - - - A variable name to refer to the day of the component. - dayParam - false - true - - - A day value to display in the input field. - dayValue - false - true - int - - - Whether to disable the namespace for the component. The default value is false]]>. - disableNamespace - false - true - boolean - - - Whether to disable the input field. The default value is false]]>. - disabled - false - true - boolean - - - A day to set as the first day of the week. The default value is Calendar.SUNDAY - 2]]>. - firstDayOfWeek - false - true - int - - - A name for the date input's form. - formName - false - true - - - A variable name to refer to the combined month and year of the component. - monthAndYearParam - false - true - - - A variable name to refer to the month of the component. - monthParam - false - true - - - The numerical value for a month to display in the input field. Integer values for the month start with 0]]>. - monthValue - false - true - int - - - A name for the date input. - name - false - true - - - Whether the component's values can be set to null. - nullable - false - true - - - A variable name to refer to the year of the component. - yearParam - false - true - - - A year value to display in the input field. - yearValue - false - true - int - - - - Creates an input field for editing rich text. - input-editor - com.liferay.taglib.ui.InputEditorTag - JSP - - A map of configuration parameters. The map holds key value pairs of type <String, String>]]>. - configParams - false - true - java.util.Map - - - The ID of a language for the input editor's text. - contentsLanguageId - false - true - - - A CSS class for styling the component. - cssClass - false - true - - - editorImpl - false - true - - - inlineEdit - false - true - - - inlineEditSaveURL - false - true - - - A map of configuration parameters. The map holds key value pairs of <String, String>]]>. - fileBrowserParams - false - true - java.util.Map - - - height - false - true - - - initMethod - false - true - - - A name for the input editor. The default value is editor]]>. - name - false - true - - - A function to be called when the input editor loses focus. - onBlurMethod - false - true - - - A function to be called on a change in the input editor. - onChangeMethod - false - true - - - A function to be called when the input editor gets focus. - onFocusMethod - false - true - - - Whether the field for the input editor is resizable. The default value is true]]>. - resizable - false - true - boolean - - - Whether to skip loading resources necessary for the CKEditor. The default value is false]]>. - skipEditorLoading - false - true - boolean - - - A toolbar for the input editor. The default value is liferay]]>. Possible values are bbcode]]>, creole]]>, editInPlace]]>, email]]>, liferay]]>, liferayArticle]]>, phone]]>, simple]]>, and tablet]]>. - toolbarSet - false - true - - - width - false - true - - - - input-field - com.liferay.taglib.ui.InputFieldTag - JSP - - autoFocus - false - true - - - autoSize - false - true - - - bean - false - true - - - cssClass - false - true - - - dateTogglerCheckboxLabel - false - true - - - defaultLanguageId - false - true - - - defaultValue - false - true - - - disabled - false - true - - - field - true - true - - - fieldParam - false - true - - - formName - false - true - - - format - false - true - - - id - false - true - - - ignoreRequestValue - false - true - - - languageId - false - true - - - model - true - true - - - placeholder - false - true - - - - input-localized - com.liferay.taglib.ui.InputLocalizedTag - JSP - - autoFocus - false - true - - - autoSize - false - true - - - availableLocales - false - true - - - cssClass - false - true - - - defaultLanguageId - false - true - - - disabled - false - true - - - displayWidth - false - true - - - formName - false - true - - - id - false - true - - - ignoreRequestValue - false - true - - - languageId - false - true - - - maxLength - false - true - - - name - true - true - - - type - false - true - - - xml - true - true - - true - - - Creates an input move boxes component comprised of two columns of key value pairs that can be rearranged. - input-move-boxes - com.liferay.taglib.ui.InputMoveBoxesTag - JSP - - A CSS class for styling the component. - cssClass - false - true - - - A name for the left box. - leftBoxName - true - true - - - A list of key value pairs for the left box. - leftList - true - true - java.util.List - - - A function to be called on a change in selection in the left list. - leftOnChange - false - true - - - Whether the left list can be reordered. The default value is false]]>. - leftReorder - false - true - boolean - - - A title to display at the top of the right box. - leftTitle - true - true - - - A name for the right box. - rightBoxName - true - true - - - A list of key value pairs for the right box. - rightList - true - true - java.util.List - - - A function to be called on a change in selection in the right list. - rightOnChange - false - true - - - Whether the right list can be reordered. The default value is false]]>. - rightReorder - false - true - boolean - - - A title to display at the top of the right box. - rightTitle - true - true - - - - input-permissions - com.liferay.taglib.ui.InputPermissionsTag - JSP - - formName - false - true - - - modelName - false - true - - - - input-permissions-params - com.liferay.taglib.ui.InputPermissionsParamsTag - JSP - - modelName - true - true - - - - input-repeat - com.liferay.taglib.ui.InputRepeatTag - JSP - - cssClass - false - true - - - event - false - true - - - - input-resource - com.liferay.taglib.ui.InputResourceTag - JSP - - cssClass - false - true - - - id - false - true - - - title - false - true - - - url - true - true - - - - input-scheduler - com.liferay.taglib.ui.InputSchedulerTag - JSP - - - Creates a configurable search box. - input-search - com.liferay.taglib.ui.InputSearchTag - JSP - - Whether the search field gets focus by default. The default value is false]]>. - autoFocus - false - true - boolean - - - A text value for the search button's label. The default value is Search]]>. - buttonLabel - false - true - - - A CSS class for styling the component. - cssClass - false - true - - - An ID for the component instance. The default value is displayTerms.KEYWORDS]]>. - id - false - true - - - A name for the search box. The default value is displayTerms.KEYWORDS]]>. - name - false - true - - - Placeholder text for the search field. The default value is the value of the buttonLabel]]> attribute. - placeholder - false - true - - - Whether to show the search button. The default value is true]]>. - showButton - false - true - boolean - - - A title for the search box. - title - false - true - - - Whether to use a namespace with the search button. The default value is true]]>. - useNamespace - false - true - boolean - - - - Creates a select input component with yes or no options. - input-select - com.liferay.taglib.ui.InputSelectTag - JSP - - A CSS class for styling the component. - cssClass - false - true - - - Whether to select yes]]> as the input's default value. - defaultValue - false - true - boolean - - - Whether to disable input. - disabled - false - true - boolean - - - A name for the input select's form. - formName - false - true - - - A variable name for the component. - param - true - true - - - - Creates a configurable text area input field. - input-textarea - com.liferay.taglib.ui.InputTextAreaTag - JSP - - A CSS class for styling the component. - cssClass - false - true - - - Text to display in the text area. - defaultValue - false - true - - - Whether to disable input. The default value is false]]>. - disabled - false - true - boolean - - - A variable name for the component. - param - true - true - - - - Creates a time input field that provides a scrollable dropdown list of hours, in intervals designated by the minuteInterval]]> attribute. - input-time - com.liferay.taglib.ui.InputTimeTag - JSP - - The name of the AM/PM parameter for the time input. An acceptable value is ampm]]>. - amPmParam - true - true - - - A time to AM or PM. Acceptable values are 0]]> for AM and 1]]> for PM. The default value is 0]]>. - amPmValue - false - true - int - - - A CSS class for styling the time input. - cssClass - false - true - - - A date parameter for the time input. An acceptable value is date]]>. - dateParam - false - true - - - A date to associate with the time displayed. - dateValue - false - true - java.util.Date - - - Whether the input field is disabled. - disabled - false - true - boolean - - - The name of the hour parameter for the component. An acceptable value is hour]]>. - hourParam - true - true - - - An hour value for the time displayed. The default value is 12]]>. - hourValue - false - true - int - - - A minute interval displayed in the input. The default value is 30]]>. - minuteInterval - false - true - int - - - The name of the minute parameter for the component. An acceptable value is minute]]>. - minuteParam - true - true - - - A minute value for the time displayed. The default value is 00]]>. - minuteValue - false - true - int - - - A name for the time input. - name - false - true - - - - Creates a configurable timezone drop-down menu. - input-time-zone - com.liferay.taglib.ui.InputTimeZoneTag - JSP - - Whether the field gets focus by default. - autoFocus - false - true - boolean - - - A CSS class for styling the component. - cssClass - false - true - - - Whether to consider daylight savings for the times. The default value is true]]>. - daylight - false - true - boolean - - - Whether the field is disabled. - disabled - false - true - boolean - - - A style number corresponding to the time zone. A value of 0]]> displays the time zone's abbreviated name and a value of 1]]> displays its full name, e.g. "Pacific Standard Time." The default value is 0]]>. - displayStyle - false - true - int - - - A name for the component. - name - true - true - - - Whether the times can be null. - nullable - false - true - boolean - - - The ID of a time zone to associate with the component. For example, setting the value to PST]]> associates the component with the Pacific Standard Time zone. - value - false - true - - - - journal-article - com.liferay.taglib.ui.JournalArticleTag - JSP - - articleId - false - true - - - articlePage - false - true - - - articleResourcePrimKey - false - true - - - groupId - false - true - - - languageId - false - true - - - showAvailableLocales - false - true - - - showTitle - false - true - - - templateId - false - true - - - xmlRequest - false - true - - - - journal-content-search - com.liferay.taglib.ui.JournalContentSearchTag - JSP - - showListed - false - true - - - targetPortletId - false - true - - - type - false - true - - - - language - com.liferay.taglib.ui.LanguageTag - JSP - - displayCurrentLocale - false - true - - - displayStyle - false - true - - - formAction - false - true - - - formName - false - true - - - languageId - false - true - - - languageIds - false - true - - - name - false - true - - - - logo-selector - com.liferay.taglib.ui.LogoSelectorTag - JSP - - currentLogoURL - false - true - - - defaultLogoURL - false - true - - - editLogoURL - false - true - - - imageId - false - true - - - logoDisplaySelector - false - true - - - showBackground - false - true - - - - membership-policy-error - com.liferay.taglib.ui.MembershipPolicyErrorTag - JSP - - - Creates a message to display to the user. - message - com.liferay.taglib.ui.MessageTag - JSP - - Arguments for the language key, if the language key is configured to recieve arguments. - arguments - false - true - - - The name of a language key from which to derive the message to be displayed. - key - true - true - - - Whether to translate the language key value into the user's language. The default value is true]]>. - localizeKey - false - true - boolean - - - Whether to translate the arguments into the user's language. The default value is true]]>. - translateArguments - false - true - boolean - - - unicode - false - true - boolean - - - - my-sites - com.liferay.taglib.ui.MySitesTag - JSP - - classNames - false - true - - - cssClass - false - true - - - includeControlPanel - false - true - - - max - false - true - - - - navigation - com.liferay.taglib.ui.NavigationTag - JSP - - bulletStyle - false - true - - - displayStyle - false - true - - - headerType - false - true - - - includedLayouts - false - true - - - nestedChildren - false - true - - - preview - false - true - - - rootLayoutLevel - false - true - - - rootLayoutType - false - true - - - - Creates a page iterator for paginating through lists of items. - page-iterator - com.liferay.taglib.ui.PageIteratorTag - JSP - - Which page of items to display (e.g., first, second, third, etc.). - cur - true - true - int - - - A variable name to refer to the cur]]> value of the component. - curParam - true - true - - - The number of items to display per page. - delta - false - true - int - - - Whether the user can choose the number of items displayed per page. The default value is false]]>. - deltaConfigurable - false - true - boolean - - - A variable name to refer to the delta value of the component. - deltaParam - false - true - - - A name for the form. - formName - false - true - - - An ID for the component instance. - id - false - true - - - JavaScript to be called when the first]]>, previous]]>, next]]>, or last]]> links are clicked if the URL property is not set. - jsCall - false - true - - - A maximum number of pages to iterate through. - maxPages - false - true - int - - - A target for the first]]>, previous]]>, next]]>, and last]]> link buttons. - target - false - true - - - The total number of items in the iterator. - total - true - true - int - - - A type of iterator to display. Options are approximate]]>, article]]>, more]]>, and regular]]>. - type - false - true - - - A base URL for the iterator. Parameters are added to and removed from this URL as the user navigates through pages. - url - false - true - - - - Creates a collapsible panel for housing content. - panel - com.liferay.taglib.ui.PanelTag - JSP - - Whether the panel can be collapsed. The default value is true]]>. - collapsible - false - true - boolean - - - A CSS class for styling the component. - cssClass - false - true - - - A default state for the component. Possible values are open]]> and any string other than open. Any string other than open]]> collapses the panel. The default value is open]]>. - defaultState - false - true - - - Whether the panel is extended. The default value is false]]>. - extended - false - true - boolean - - - Text to display as a help tool tip on mouse over of the panel's help icon. - helpMessage - false - true - - - An icon to display next to the panel's title. The icon can be specified using the name of one of the Bootstrap icon CSS classes found at http://marcoceppi.github.io/bootstrap-glyphicons/]]>. - iconCssClass - false - true - - - An ID for the component instance. - id - false - true - - - The ID of the component that contains the panel. If a liferay-ui:panel-container]]> is used as the container for the panel, its ID is used as the value for the parentID]]>. - parentId - false - true - - - Whether to remember the component's state and persist it to the database. The default value is false]]>. - persistState - false - true - boolean - - - A state for the component. Possible values are open]]> and any string other than open. Any string other than open]]> collapses the panel. - state - false - true - - - A title to display at the top of the panel. - title - true - true - - - - Creates a collapsible container to house liferay-ui:panel]]> components. - panel-container - com.liferay.taglib.ui.PanelContainerTag - JSP - - Whether only one panel can be shown at a time. As one panel is opened, the others close, creating an accordian effect. The default value is false]]>. - accordion - false - true - boolean - - - A CSS class for styling the component. - cssClass - false - true - - - Whether to extend the interface with additional styling. The default value is false]]>. - extended - false - true - boolean - - - An ID for the component instance. - id - false - true - - - Whether to remember the component's state and persist it to the database. The default value is false]]>. - persistState - false - true - boolean - - - - param - com.liferay.taglib.util.ParamTag - JSP - - name - true - true - - - value - true - true - - - - Renders a PNG image with the source given for the image]]> attribute. - png-image - com.liferay.taglib.ui.PngImageTag - JSP - - The height of the image in pixels. A possible value would be 16]]>. px]]> is then appended to the end of the value. - height - true - true - int - - - The location of a PNG image file to use. - image - true - true - - - The height of the image in pixels. A possible value would be 16]]>. px]]> is then appended to the end of the value. - width - true - true - int - - - - progress - com.liferay.taglib.ui.ProgressTag - JSP - - height - false - true - - - id - true - true - - - message - false - true - - - sessionKey - true - true - - - updatePeriod - false - true - - - - ratings - com.liferay.taglib.ui.RatingsTag - JSP - - className - true - true - - - classPK - true - true - - - numberOfStars - false - true - - - ratingsEntry - false - true - - - ratingsStats - false - true - - - type - false - true - - - url - false - true - - - - ratings-score - com.liferay.taglib.ui.RatingsScoreTag - JSP - - score - true - true - - - - restore-entry - com.liferay.taglib.ui.RestoreEntryTag - JSP - - duplicateEntryAction - false - true - - - overrideMessage - false - true - - - renameMessage - false - true - - - restoreEntryAction - false - true - - - - Creates a clickable link and/or icon to an RSS feed document. - rss - com.liferay.taglib.ui.RSSTag - JSP - - A default maximum number of items to display. The default value is 20]]>. - delta - false - true - int - - - A default style to display. - displayStyle - false - true - - - A default format for the RSS feed. Options are atom_1.0]]>, rss_1.0]]>, and rss_2.0]]>. - feedType - false - true - - - A message to display next to the RSS icon. - message - false - true - - - A name for the RSS feed. - name - false - true - - - A URL from which to retrieve feed information. - resourceURL - false - true - - - The URL for an RSS feed file. - url - false - true - - - - Creates a configuration component for users to define RSS settings, such as how many articles to display. - rss-settings - com.liferay.taglib.ui.RSSSettingsTag - JSP - - A default maximum number of items to display. The default value is 20]]>. - delta - false - true - int - - - A default style to display. - displayStyle - false - true - - - Available RSS display styles from which the user can choose. Options are abstract]]>, full-content]]>, and title]]>. - displayStyles - false - true - - - Whether users are able to subscribe. Default value is false]]>. - enabled - false - true - boolean - - - A default format for the RSS feed. Options are atom_1.0]]>, rss_1.0]]>, and rss_2.0]]>. - feedType - false - true - - - A name for the component. - name - false - true - - - Whether the RSS feed has a name. The default value is false]]>. - nameEnabled - false - true - boolean - - - - Creates a search form, with an additional select input to set the scope of the search. - search - com.liferay.taglib.ui.SearchTag - JSP - - - Creates a grid for displaying a list of objects and their properties. - search-container - com.liferay.taglib.ui.SearchContainerTag - com.liferay.taglib.ui.SearchContainerTei - JSP - - A variable for the search container's pagination. Different pagination variables ensure independent pagination when multiple search containers are on a JSP. - curParam - false - true - - - The number of items to show on each search container page. - delta - false - true - int - - - The delta]]> attribute as configurable by users. - deltaConfigurable - false - true - - - deltaParam - false - true - - - displayTerms - false - true - - - A message displayed when the search container is empty. - emptyResultsMessage - false - true - - - headerNames - false - true - - - hover - false - true - - - id - false - true - - - iteratorURL - false - true - - - orderByCol - false - true - - - orderByColParam - false - true - - - orderByComparator - false - true - - - An order type for the columns, either ascending or descending. Values are asc]]> or desc]]>. - orderByType - false - true - - - orderByTypeParam - false - true - - - Inserts a checkbox column in the search container. Value must be a RowChecker]]> object. - rowChecker - false - true - - - searchContainer - false - true - - - searchTerms - false - true - - - The total number of objects in the search container. - total - false - true - int - - - A variable name for the results of the total]]> attribute. The default is total]]>. - totalVar - false - true - - - A variable name for the SearchContainer]]> object. The default is searchContainer]]>. - var - false - true - - - - search-container-column-button - com.liferay.taglib.ui.SearchContainerColumnButtonTag - JSP - - align - false - true - - - colspan - false - true - - - cssClass - false - true - - - href - true - true - - - index - false - true - - - name - false - true - - - valign - false - true - - - - Creates a date column in a search container. - search-container-column-date - com.liferay.taglib.ui.SearchContainerColumnDateTag - JSP - - A horizontal alignment for the column contents. The default is left]]>. - align - false - true - - - The number of columns to span. The default is 1]]>. - colspan - false - true - int - - - A CSS class for styling the column. - cssClass - false - true - - - A URL for the items in the column. - href - false - true - - - index - false - true - - - A name for the column. - name - false - true - - - Whether to set the column as sortable. The default value is false]]>. - orderable - false - true - boolean - - - An object's property by which to sort the column. - orderableProperty - false - true - - - A property to request from the row object. - property - false - true - - - A vertical alignment for the column contents. The default is middle]]>. - valign - false - true - - - A value for the column. - value - false - true - - - - Creates a column in a search container with the contents of a JSP file. - search-container-column-jsp - com.liferay.taglib.ui.SearchContainerColumnJSPTag - JSP - - A horizontal alignment for the column contents. The default is left]]>. - align - false - true - - - The number of columns to span. The default is 1]]>. - colspan - false - true - int - - - A CSS class for styling the column. - cssClass - false - true - - - index - false - true - - - name - false - true - - - The JSP file's location. - path - true - true - - - valign - false - true - - - - Creates a column in a search container for the workflow status. - search-container-column-status - com.liferay.taglib.ui.SearchContainerColumnStatusTag - JSP - - A horizontal alignment for the column contents. The default is left]]>. - align - false - true - - - The number of columns to span. The default is 1]]>. - colspan - false - true - int - - - A CSS class for styling the column. - cssClass - false - true - - - A URL for the column's contents. - href - false - true - - - index - false - true - - - name - false - true - - - Whether to set the column as sortable. The default value is false]]>. - orderable - false - true - boolean - - - An object's property by which to sort the column. - orderableProperty - false - true - - - An object's property to use for the column. - property - false - true - - - A vertical alignment for the column contents. The default is middle]]>. - valign - false - true - - - A workflow status for the item. - status - false - true - - - statusByUserId - false - true - - - statusDate - false - true - - - - Creates a text column in a search container. - search-container-column-text - com.liferay.taglib.ui.SearchContainerColumnTextTag - com.liferay.taglib.ui.SearchContainerColumnTextTei - JSP - - A horizontal alignment for the column contents. - align - false - true - - - A string buffer variable for constructing a URL in a scriptlet. - buffer - false - true - - - The number of columns to span. The default is 1]]>. - colspan - false - true - int - - - A CSS class for styling the column. - cssClass - false - true - - - href - false - true - - - index - false - true - - - name - false - true - - - Whether to set the column as sortable. The default value is false]]>. - orderable - false - true - boolean - - - An object's property by which to sort the column. - orderableProperty - false - true - - - property - false - true - - - target - false - true - - - title - false - true - - - Whether to automatically translate values. The default value is false]]>. - translate - false - true - boolean - - - A vertical alignment for the column contents. The default is middle]]>. - valign - false - true - - - value - false - true - - - - The list of objects to display in the search container. - search-container-results - com.liferay.taglib.ui.SearchContainerResultsTag - com.liferay.taglib.ui.SearchContainerResultsTei - JSP - - A list of objects to display in the search container. - results - false - true - - - A variable to use for the results. - resultsVar - false - true - - - Deprecated as of 6.2.0, replaced by liferay-ui:search-container#total - total - false - true - - - Deprecated as of 6.2.0, replaced by liferay-ui:search-container#totalVar - totalVar - false - true - - - - Creates rows in the search container for each object returned by liferay-ui:search-container-results]]>. - search-container-row - com.liferay.taglib.ui.SearchContainerRowTag - com.liferay.taglib.ui.SearchContainerRowTei - JSP - - bold - false - true - - - The class name of the objects to display in rows. - className - true - true - - - The returned model instances as HTML escaped. - escapedModel - false - true - - - A variable name to use for the rows' index. - indexVar - false - true - - - A property to use as the primary key for the object type in the className]]> attribute. - keyProperty - false - true - - - A variable name to use for each object as the search container iterates through the objects returned by liferay-ui:search-container-results]]>. - modelVar - false - true - - - A model property to use as the row ID. - rowIdProperty - false - true - - - A variable name to use for the rows. - rowVar - false - true - - - servletContext - false - true - - - stringKey - false - true - - - - Creates parameters for rows in the search container. The liferay-ui:search-container-row]]> tag is required. - search-container-row-parameter - com.liferay.taglib.ui.SearchContainerRowParameterTag - JSP - - A name for the row parameter. - name - true - true - - - A value for the row parameter. - value - true - true - - - - search-form - com.liferay.taglib.ui.SearchFormTag - JSP - - page - true - true - - - searchContainer - false - true - - - servletContext - false - true - - - showAddButton - false - true - - - - Creates a search results page iterator with an optional paginator. - search-iterator - com.liferay.taglib.ui.SearchIteratorTag - JSP - - Whether to add a liferay-ui:search-paginator]]> to the search container. The default value is true]]>. - paginate - false - true - boolean - - - All configurable properties of the search container, such as cur]]> and curParam]]>. These properties are set with searchContainer.getCur()]]> and searchContainer.getCurParam()]]> respectively. - searchContainer - false - true - - - A type of iterator to display. Options are approximate]]>, article]]>, more]]>, and regular]]>. - type - false - true - - - - Creates a page iterator to paginate through search results - search-paginator - com.liferay.taglib.ui.SearchPaginatorTag - JSP - - An ID for the component instance. - id - false - true - - - All configurable porperties of the search container, such as cur]]> and curParam]]>. These properties are set with searchContainer.getCur()]]> and searchContainer.getCurParam()]]> respectively. - searchContainer - true - true - - - A type of iterator to display. Options are approximate]]>, article]]>, more]]>, and regular]]>. - type - false - true - - - - search-speed - com.liferay.taglib.ui.SearchSpeedTag - JSP - - hits - true - true - - - searchContainer - true - true - - - - Creates a search instance that can be toggled between basic and advanced search. - search-toggle - com.liferay.taglib.ui.SearchToggleTag - JSP - - Whether the search input field is automatically focused. The default value is false]]>. - autoFocus - false - true - boolean - - - A label for the search button such as Search]]> or Go]]>. - buttonLabel - false - true - - - Terms to be used and displayed through the search instance. Term examples include keywords]]>, advancedSearch]]>, and description]]>. - displayTerms - true - true - - - The component instance's ID. - id - true - true - - - width - false - true - - - - section - com.liferay.taglib.ui.SectionTag - com.liferay.taglib.ui.SectionTei - JSP - - - sites-directory - com.liferay.taglib.ui.SitesDirectoryTag - JSP - - displayStyle - false - true - - - sites - false - true - - - - social-activities - com.liferay.taglib.ui.SocialActivitiesTag - JSP - - activities - false - true - - - className - false - true - - - classPK - false - true - - - displayRSSFeed - false - true - - - feedDelta - false - true - - - feedDisplayStyle - false - true - - - feedEnabled - false - true - - - feedLink - false - true - - - feedLinkMessage - false - true - - - feedTitle - false - true - - - feedType - false - true - - - - social-bookmark - com.liferay.taglib.ui.SocialBookmarkTag - JSP - - contentId - false - true - - - target - false - true - - - title - true - true - - - type - true - true - - - url - true - true - - - - social-bookmarks - com.liferay.taglib.ui.SocialBookmarksTag - JSP - - contentId - false - true - - - displayStyle - false - true - - - target - false - true - - - title - true - true - - - types - false - true - - - url - true - true - - - - staging - com.liferay.taglib.ui.StagingTag - JSP - - cssClass - false - true - - - extended - false - true - - - groupId - false - true - - - icon - false - true - - - layoutSetBranchId - false - true - - - message - false - true - - - onlyActions - false - true - - - privateLayout - false - true - - - selPlid - false - true - - - showManageBranches - false - true - - - - Creates a success message to display to the user. - success - com.liferay.taglib.ui.SuccessTag - empty - - A key to be placed in the SessionMessages]]> object to trigger the success message. - key - true - true - - - Explicit message text or the name of a language key from which to derive the message text. - message - true - true - - - Whether to translate the success message into the user's language. The default value is true]]>. - translateMessage - false - true - boolean - - - - table-iterator - com.liferay.taglib.ui.TableIteratorTag - com.liferay.taglib.ui.TableIteratorTei - JSP - - bodyPage - false - true - - - list - true - true - - - listType - true - true - - - rowBreak - false - true - - - rowLength - true - true - - - rowPadding - false - true - - - rowValign - false - true - - - width - false - true - - - - Creates a tabbed UI of section dividers that each house their own content. - tabs - com.liferay.taglib.ui.TabsTag - JSP - - - A label for the back URL. - backLabel - false - true - - - A URL for navigating back to. - backURL - false - true - - - A name for the tab's form. - formName - false - true - - - The names of the tabs. Each name must be separated by a comma with no spaces. - names - true - true - - - A function to be called on a user clicking any of the tabs. - onClick - false - true - - - A variable for the component. - param - false - true - - - A URL to refer to the portlet that contains the component. - portletURL - false - true - - - Whether the page refreshes when a tab is clicked. - refresh - false - true - boolean - - - Tab values that must follow the same order as the names]]> attribute. Each value must be separated by a comma with no spaces. - tabsValues - false - true - - - A design type for the tabs. Possible values are tabs]]> and pills]]>. - type - false - true - - - A URL to which all the tabs are linked when clicked. You can also set each tab's URL individually using url[number]]]> attribute. - url - false - true - - - url0 - false - true - - - A URL to which the second tab is linked when clicked. - url1 - false - true - - - A URL to which the third tab is linked when clicked - url2 - false - true - - - A URL to which the fourth tab is linked when clicked - url3 - false - true - - - A URL to which the fifth tab is linked when clicked - url4 - false - true - - - A URL to which the sixth tab is linked when clicked - url5 - false - true - - - A URL to which the seventh tab is linked when clicked - url6 - false - true - - - A URL to which the eighth tab is linked when clicked - url7 - false - true - - - A URL to which the ninth tab is linked when clicked - url8 - false - true - - - A URL to which the tenth tab is linked when clicked - url9 - false - true - - - An active tab from the value given in the attribute tabsValues]]>. No matter which tab a user selects, the tab given for this value always remains active. - value - false - true - - - - Creates a component that toggles the visibility of the content of the component matching the given id]]>. Default icons are used as the component's default mechanism for showing and hiding the content. - toggle - com.liferay.taglib.ui.ToggleTag - JSP - - Whether to initially show content by default. The default value is true]]>. - defaultShowContent - false - true - boolean - - - An icon to use as the mechanism for hiding the content. You can specify the location of an image file to use in the icon; otherwise a default icon is used. - hideImage - false - true - - - Text to display as a link for hiding the content. It overrides the hideImage]]> attribute. Note that the showMessage]]> attribute must also be configured in order for the hide message to render. - hideMessage - false - true - - - The ID of a component instance whose content's visibility to toggle. - id - true - true - - - An icon to use as the mechanism for showing the content. You can specify the location of an image file to use in the icon; otherwise a default icon is used. - showImage - false - true - - - A link to use as the mechanism for showing the content. The text value of this attribute is used as the link's text. The message takes precedence over showing an image, via the showImage]]> attribute. If you specify a showMessage]]> attribute, you should also specify the hideMessage]]> attribute; a null]]> is otherwise displayed for the text of the hide link. - showMessage - false - true - - - Text to be prefixed to the Toggle()]]> function that is called to toggle visibility of the content. If this is not configured, a random key is generated and prefixed to the Toggle()]]> function. For example, a value of run]]> would result in a function named runToggle()]]>. - stateVar - false - true - - - - toggle-area - com.liferay.taglib.ui.ToggleAreaTag - JSP - - align - false - true - - - defaultShowContent - false - true - - - hideImage - false - true - - - hideMessage - false - true - - - id - false - true - - - showImage - false - true - - - showMessage - false - true - - - stateVar - false - true - - - - toggle-value - com.liferay.taglib.ui.ToggleValueTag - JSP - - defaultValue - false - true - - - id - true - true - - - - Creates a component for users to permanently delete items such as images, articles, etc. from the recycle bin. - trash-empty - com.liferay.taglib.ui.TrashEmptyTag - empty - - A message to display to confirm that the user wants to remove the item(s) from the recycle bin. - confirmMessage - false - true - - - A message to be used for the empty-trash]]> button and link. - emptyMessage - false - true - - - A message to display to give users information about removing items from the recycle bin. - infoMessage - false - true - - - A URL for the empty-trash]]> button/link. - portletURL - true - true - - - The number of items to be removed from the recycle bin. - totalEntries - true - true - int - - - - Creates a message confirming items were moved to the recycle bin and presenting an option to restore them. - trash-undo - com.liferay.taglib.ui.TrashUndoTag - empty - - The URL of the undo link. - portletURL - true - true - - - A redirect URL. - redirect - false - true - - - - upload-progress - com.liferay.taglib.ui.UploadProgressTag - JSP - - height - false - true - - - id - true - true - - - message - false - true - - - redirect - false - true - - - updatePeriod - false - true - - - - user-display - com.liferay.taglib.ui.UserDisplayTag - com.liferay.taglib.ui.UserDisplayTei - JSP - - displayStyle - false - true - - - url - false - true - - - userId - true - true - - - userName - false - true - - - - user-search - com.liferay.taglib.ui.UserSearchTag - JSP - - portletURL - true - true - - - rowChecker - false - true - - - userParams - true - true - - - - webdav - com.liferay.taglib.ui.WebDAVTag - JSP - - path - true - true - - - - write - com.liferay.taglib.ui.WriteTag - JSP - - bean - true - true - - - property - true - true - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/tld/liferay-util.tld b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/tld/liferay-util.tld deleted file mode 100644 index 72a4caf0..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/tld/liferay-util.tld +++ /dev/null @@ -1,141 +0,0 @@ - - - - - 1.2 - 1.1 - liferay-util - http://liferay.com/tld/util - - body-bottom - com.liferay.taglib.util.BodyBottomTag - JSP - - outputKey - false - true - - - - body-top - com.liferay.taglib.util.BodyTopTag - JSP - - outputKey - false - true - - - - buffer - com.liferay.taglib.util.BufferTag - com.liferay.taglib.util.BufferTei - JSP - - var - true - true - - - - get-url - com.liferay.taglib.util.GetUrlTag - com.liferay.taglib.util.GetUrlTei - JSP - - expires - false - true - - - url - true - true - - - var - false - true - - - - html-bottom - com.liferay.taglib.util.HtmlBottomTag - JSP - - outputKey - false - true - - - position - false - true - - - - html-top - com.liferay.taglib.util.HtmlTopTag - JSP - - outputKey - false - true - - - position - false - true - - - - include - com.liferay.taglib.util.IncludeTag - JSP - - page - true - true - - - portletId - false - true - - - servletContext - false - true - - - strict - false - true - - - useCustomPage - false - true - - - - param - com.liferay.taglib.util.ParamTag - JSP - - name - true - true - - - value - true - true - - - - whitespace-remover - com.liferay.taglib.util.WhitespaceRemoverTag - JSP - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/web.xml b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/web.xml deleted file mode 100644 index 1aa8cdb8..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/WEB-INF/web.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/css/main.css b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/css/main.css deleted file mode 100644 index e69de29b..00000000 diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/html/importazione/init.jsp b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/html/importazione/init.jsp deleted file mode 100644 index 037b2dac..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/html/importazione/init.jsp +++ /dev/null @@ -1,11 +0,0 @@ -<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %> -<%@taglib uri="http://liferay.com/tld/aui" prefix="aui" %> -<%@taglib uri="http://liferay.com/tld/portlet" prefix="liferay-portlet" %> -<%@taglib uri="http://liferay.com/tld/security" prefix="liferay-security" %> -<%@taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme" %> -<%@taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui" %> -<%@taglib uri="http://liferay.com/tld/util" prefix="liferay-util" %> - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/html/importazione/view.jsp b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/html/importazione/view.jsp deleted file mode 100644 index 3fc9585a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/html/importazione/view.jsp +++ /dev/null @@ -1,411 +0,0 @@ - -<%@page import="com.liferay.portal.kernel.servlet.SessionErrors"%> -<%@page import="com.liferay.portal.kernel.util.ParamUtil"%> -<%@include file="init.jsp"%> - - -
-
-
Assicurarsi di seguire l'importazione step by step...
-
-
- - -
-
- -
- -
-
-
-
- - -
-
- -
- -
-
-
-
- - -
-
- -
- -
-
*Questa importazione tratta tutte le pratiche attive presenti sul vecchio portale
-
-
-
- - -
-
- -
- -
-
-
-
- - -
-
- -
- -
-
-
-
- -
- - -
-
-
Form per importare una singola oldDettPratica per ID
- -
- - - - -
-
-
-
- - -
- - - -
-
-
Form per importare una singolo oldUser per ID
- -
- - - - -
-
-
-
- - -
- - -
-
-
Form per pulire ed importare una serie di intPratica nuovi per ID (separate da ;)
- -
- - -
-
-
-
- - -
- - -
-
-
Form per pulire ed importare una serie di intPratica nuovi per Numero Progetto (separate da ;)
- -
- - -
-
-
-
- -
- - -
-
-
Form per importare una serie di oldDettPratica per ID (separate da ;)
- -
- - -
-
-
-
- - -
- - -
-
-
Form per pulire una serie di controllopratica per ID (separate da ;)
- -
- - -
-
-
-
- - -
- - -
-
-
Form per cancellare un singolo Fascicolo per ID
- -
- - - - -
-
-
-
- - -
- - -
-
-
Lancia l'importazione massiva di tutti i files da portos1
- -
- -
-
-
-
- -
- -
-
-
Lancia l'importazione customizzata di slot di files da portos1
- -
- -
-
-
-
- - -
-
-
Lancia l'importazione massiva di tutti i files da portos1 relativi ai sorteggi
- -
- -
-
-
-
- - -
-
-
Lancia l'importazione massiva di tutte le pratiche da importare per prime
- -
- -
-
-
-
- - -
-
-
Pulisce le pratiche del sorteggio sporche
- -
- -
-
-
-
- - -
- - -
-
-
Form per importare un singolo Terriorio per id
- -
- - -
-
-
-
- - -
-
-
Aggiorna le mail suap dei comuni
- -
- -
-
-
-
- - -<% - String errorMessage = ParamUtil.get(request,"errorMessage","Errore non codificato, guarda i log"); -%> - - - - - - - -
-
-
Lancia l'importazione massiva di tutti i protocolli da portos 1 dal csv
- -
- - - - - 'csv' - - - - 'csv' - - - - 'csv' - - -
-
-
-
- -
- - -
-
-
Lancia una procedura per ripulire Storico Soggetto
- -
- -
-
-
-
- -
- - -
-
-
Lancia una procedura per ripulire le int sparite
- -
- -
-
-
-
- -
- - -
-
-
Form cancella un fascicolo problematico per intpraticaid
- -
- - -
-
-
-
- - -
-
- -
- -
-
-
-
- - -
-
- -
- -
-
-
-
- - -
-
- -
- -
-
-
-
- - -
-
- -
- -
-
-
-
- - - -
-
- -
- -
-
-
-
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/html/importazionecp/init.jsp b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/html/importazionecp/init.jsp deleted file mode 100644 index 037b2dac..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/html/importazionecp/init.jsp +++ /dev/null @@ -1,11 +0,0 @@ -<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %> -<%@taglib uri="http://liferay.com/tld/aui" prefix="aui" %> -<%@taglib uri="http://liferay.com/tld/portlet" prefix="liferay-portlet" %> -<%@taglib uri="http://liferay.com/tld/security" prefix="liferay-security" %> -<%@taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme" %> -<%@taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui" %> -<%@taglib uri="http://liferay.com/tld/util" prefix="liferay-util" %> - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/html/importazionecp/view.jsp b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/html/importazionecp/view.jsp deleted file mode 100644 index d1223a97..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/html/importazionecp/view.jsp +++ /dev/null @@ -1,104 +0,0 @@ -<%@include file="init.jsp"%> - - - -
-
-
Form per importare una singola oldDettPratica per ID
- -
- - - - -
-
-
-
- - -
- - - -
-
-
Form per pulire ed importare una serie di intPratica nuovi per Numero Progetto (separate da ;)
- -
- - -
-
-
-
- -
- - - -
-
-
Form per cancellare un singolo Fascicolo per ID
- -
- - - - -
-
-
-
- - -
- - - -
-
-
Lancia l'importazione massiva di tutti i files da portos1 per un lasso temporale di 8 ore
- -
- -
-
-
-
- -
- - -
-
-
Form per importare tutti i files vecchi un singolo Fascicolo (intPraticaId)
- -
- - - - -
-
-
-
- - -
- - -
-
-
Form per importare i files di uno numero scelto di fascicoli
- -
- - - - -
-
-
-
- diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/icon.png b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/icon.png deleted file mode 100644 index 807b862c..00000000 Binary files a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/icon.png and /dev/null differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/js/main.js b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/docroot/js/main.js deleted file mode 100644 index e69de29b..00000000 diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/ivy.xml b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/ivy.xml deleted file mode 100644 index 3298980a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/ivy.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/ivy.xml.MD5 b/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/ivy.xml.MD5 deleted file mode 100644 index b91446c5..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-importazione-portlet/ivy.xml.MD5 +++ /dev/null @@ -1 +0,0 @@ -7433a72d576f0fbb4f82b5da2165b122 diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/.classpath b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/.classpath deleted file mode 100644 index a236e703..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/.classpath +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/.project b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/.project deleted file mode 100644 index e565a9dd..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/.project +++ /dev/null @@ -1,36 +0,0 @@ - - - portos-plugin-importazione-portlet - - - - - - org.eclipse.wst.jsdt.core.javascriptValidator - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.wst.common.project.facet.core.builder - - - - - org.eclipse.wst.validation.validationbuilder - - - - - - org.eclipse.jem.workbench.JavaEMFNature - org.eclipse.wst.common.modulecore.ModuleCoreNature - org.eclipse.wst.common.project.facet.core.nature - org.eclipse.jdt.core.javanature - org.eclipse.wst.jsdt.core.jsNature - - diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/.settings/.jsdtscope b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/.settings/.jsdtscope deleted file mode 100644 index 840a01d5..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/.settings/.jsdtscope +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/.settings/org.eclipse.jdt.core.prefs b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 0c68a61d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,7 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 -org.eclipse.jdt.core.compiler.compliance=1.8 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.8 diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/.settings/org.eclipse.jst.jsp.core.prefs b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/.settings/org.eclipse.jst.jsp.core.prefs deleted file mode 100644 index 3a5c98db..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/.settings/org.eclipse.jst.jsp.core.prefs +++ /dev/null @@ -1,3 +0,0 @@ -eclipse.preferences.version=1 -validateFragments=false -validation.use-project-settings=true diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/.settings/org.eclipse.wst.common.component b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/.settings/org.eclipse.wst.common.component deleted file mode 100644 index 412d9ec6..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/.settings/org.eclipse.wst.common.component +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - uses - - - - - diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml deleted file mode 100644 index 500dfccb..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/.settings/org.eclipse.wst.common.project.facet.core.xml b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/.settings/org.eclipse.wst.common.project.facet.core.xml deleted file mode 100644 index 400ed549..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/.settings/org.eclipse.wst.common.project.facet.core.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/.settings/org.eclipse.wst.jsdt.ui.superType.container b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/.settings/org.eclipse.wst.jsdt.ui.superType.container deleted file mode 100644 index 3bd5d0a4..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/.settings/org.eclipse.wst.jsdt.ui.superType.container +++ /dev/null @@ -1 +0,0 @@ -org.eclipse.wst.jsdt.launching.baseBrowserLibrary \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/.settings/org.eclipse.wst.jsdt.ui.superType.name b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/.settings/org.eclipse.wst.jsdt.ui.superType.name deleted file mode 100644 index 05bd71b6..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/.settings/org.eclipse.wst.jsdt.ui.superType.name +++ /dev/null @@ -1 +0,0 @@ -Window \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/build.xml b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/build.xml deleted file mode 100644 index f413710d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/build.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/META-INF/MANIFEST.MF b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/META-INF/MANIFEST.MF deleted file mode 100644 index 254272e1..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/META-INF/MANIFEST.MF +++ /dev/null @@ -1,3 +0,0 @@ -Manifest-Version: 1.0 -Class-Path: - diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/META-INF/service.xml b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/META-INF/service.xml deleted file mode 100644 index 59e9672a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/META-INF/service.xml +++ /dev/null @@ -1,813 +0,0 @@ - - - - Davide Barbagallo, 3F Consulting - IMP - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/lib/concurrentlinkedhashmap-lru.jar b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/lib/concurrentlinkedhashmap-lru.jar deleted file mode 100644 index f91d6702..00000000 Binary files a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/lib/concurrentlinkedhashmap-lru.jar and /dev/null differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/lib/javassist.jar b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/lib/javassist.jar deleted file mode 100644 index c29da0fa..00000000 Binary files a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/lib/javassist.jar and /dev/null differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/lib/orika-core.jar b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/lib/orika-core.jar deleted file mode 100644 index faf6c8df..00000000 Binary files a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/lib/orika-core.jar and /dev/null differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/lib/paranamer.jar b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/lib/paranamer.jar deleted file mode 100644 index ad12ae9a..00000000 Binary files a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/lib/paranamer.jar and /dev/null differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/lib/slf4j-api.jar b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/lib/slf4j-api.jar deleted file mode 100644 index 4c03fa6b..00000000 Binary files a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/lib/slf4j-api.jar and /dev/null differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/liferay-display.xml b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/liferay-display.xml deleted file mode 100644 index 7b63619e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/liferay-display.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/liferay-plugin-package.properties b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/liferay-plugin-package.properties deleted file mode 100644 index b20d6afa..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/liferay-plugin-package.properties +++ /dev/null @@ -1,13 +0,0 @@ -name=Portos Plugin Importazione -module-group-id=liferay -module-incremental-version=1 -tags= -short-description= -long-description= -change-log= -page-url=http://www.liferay.com -author=Liferay, Inc. -licenses=LGPL -liferay-versions=6.2.0+ -required-deployment-contexts=\ - portos-bo-portlet diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/liferay-portlet.xml b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/liferay-portlet.xml deleted file mode 100644 index d9d5f8e1..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/liferay-portlet.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - 1 - /icon.png - /css/main.css - /js/main.js - portos-plugin-importazione-portlet - - - administrator - Administrator - - - guest - Guest - - - power-user - Power User - - - user - User - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/portlet.xml b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/portlet.xml deleted file mode 100644 index 8e45f087..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/portlet.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - 1 - Portos Plugin Importazione - it.tref.liferay.portos.portosimport.portlet.ImportazionePortlet - - view-template - /html/view.jsp - - 0 - - text/html - - - Portos Plugin Importazione - Portos Plugin Importazione - Portos Plugin Importazione - - - administrator - - - guest - - - power-user - - - user - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/server-config.wsdd b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/server-config.wsdd deleted file mode 100644 index 3d321deb..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/server-config.wsdd +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service.xml b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service.xml deleted file mode 100644 index 07ec9ad7..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service.xml +++ /dev/null @@ -1,1080 +0,0 @@ - - - - Davide Barbagallo, 3F Consulting - IMP - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoArtLeggeException.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoArtLeggeException.java deleted file mode 100644 index 46d35db0..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoArtLeggeException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class NoSuchBoArtLeggeException extends NoSuchModelException { - - public NoSuchBoArtLeggeException() { - super(); - } - - public NoSuchBoArtLeggeException(String msg) { - super(msg); - } - - public NoSuchBoArtLeggeException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchBoArtLeggeException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoAvvisoException.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoAvvisoException.java deleted file mode 100644 index d09edeed..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoAvvisoException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class NoSuchBoAvvisoException extends NoSuchModelException { - - public NoSuchBoAvvisoException() { - super(); - } - - public NoSuchBoAvvisoException(String msg) { - super(msg); - } - - public NoSuchBoAvvisoException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchBoAvvisoException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoComuneException.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoComuneException.java deleted file mode 100644 index 8c039484..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoComuneException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class NoSuchBoComuneException extends NoSuchModelException { - - public NoSuchBoComuneException() { - super(); - } - - public NoSuchBoComuneException(String msg) { - super(msg); - } - - public NoSuchBoComuneException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchBoComuneException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoDettPraticaException.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoDettPraticaException.java deleted file mode 100644 index f92ba787..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoDettPraticaException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class NoSuchBoDettPraticaException extends NoSuchModelException { - - public NoSuchBoDettPraticaException() { - super(); - } - - public NoSuchBoDettPraticaException(String msg) { - super(msg); - } - - public NoSuchBoDettPraticaException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchBoDettPraticaException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoDocPraticaException.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoDocPraticaException.java deleted file mode 100644 index 58278ed6..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoDocPraticaException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class NoSuchBoDocPraticaException extends NoSuchModelException { - - public NoSuchBoDocPraticaException() { - super(); - } - - public NoSuchBoDocPraticaException(String msg) { - super(msg); - } - - public NoSuchBoDocPraticaException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchBoDocPraticaException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoIntPraticaException.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoIntPraticaException.java deleted file mode 100644 index d7ba82b7..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoIntPraticaException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class NoSuchBoIntPraticaException extends NoSuchModelException { - - public NoSuchBoIntPraticaException() { - super(); - } - - public NoSuchBoIntPraticaException(String msg) { - super(msg); - } - - public NoSuchBoIntPraticaException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchBoIntPraticaException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoProblemiPraticaException.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoProblemiPraticaException.java deleted file mode 100644 index 0edd3848..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoProblemiPraticaException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class NoSuchBoProblemiPraticaException extends NoSuchModelException { - - public NoSuchBoProblemiPraticaException() { - super(); - } - - public NoSuchBoProblemiPraticaException(String msg) { - super(msg); - } - - public NoSuchBoProblemiPraticaException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchBoProblemiPraticaException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoRelLeggiPraticaException.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoRelLeggiPraticaException.java deleted file mode 100644 index 7305dc7d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoRelLeggiPraticaException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class NoSuchBoRelLeggiPraticaException extends NoSuchModelException { - - public NoSuchBoRelLeggiPraticaException() { - super(); - } - - public NoSuchBoRelLeggiPraticaException(String msg) { - super(msg); - } - - public NoSuchBoRelLeggiPraticaException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchBoRelLeggiPraticaException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoSistemaCostruttivoException.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoSistemaCostruttivoException.java deleted file mode 100644 index 273c76d8..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoSistemaCostruttivoException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class NoSuchBoSistemaCostruttivoException extends NoSuchModelException { - - public NoSuchBoSistemaCostruttivoException() { - super(); - } - - public NoSuchBoSistemaCostruttivoException(String msg) { - super(msg); - } - - public NoSuchBoSistemaCostruttivoException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchBoSistemaCostruttivoException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoSoggettoException.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoSoggettoException.java deleted file mode 100644 index c2776227..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoSoggettoException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class NoSuchBoSoggettoException extends NoSuchModelException { - - public NoSuchBoSoggettoException() { - super(); - } - - public NoSuchBoSoggettoException(String msg) { - super(msg); - } - - public NoSuchBoSoggettoException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchBoSoggettoException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoSorteggioException.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoSorteggioException.java deleted file mode 100644 index c4058479..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoSorteggioException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class NoSuchBoSorteggioException extends NoSuchModelException { - - public NoSuchBoSorteggioException() { - super(); - } - - public NoSuchBoSorteggioException(String msg) { - super(msg); - } - - public NoSuchBoSorteggioException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchBoSorteggioException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoStoricoSoggettoPraticaException.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoStoricoSoggettoPraticaException.java deleted file mode 100644 index 5287cf35..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoStoricoSoggettoPraticaException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class NoSuchBoStoricoSoggettoPraticaException extends NoSuchModelException { - - public NoSuchBoStoricoSoggettoPraticaException() { - super(); - } - - public NoSuchBoStoricoSoggettoPraticaException(String msg) { - super(msg); - } - - public NoSuchBoStoricoSoggettoPraticaException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchBoStoricoSoggettoPraticaException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoTempisticaException.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoTempisticaException.java deleted file mode 100644 index bc8bf54b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoTempisticaException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class NoSuchBoTempisticaException extends NoSuchModelException { - - public NoSuchBoTempisticaException() { - super(); - } - - public NoSuchBoTempisticaException(String msg) { - super(msg); - } - - public NoSuchBoTempisticaException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchBoTempisticaException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoTerritorioException.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoTerritorioException.java deleted file mode 100644 index 8da62e3e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchBoTerritorioException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class NoSuchBoTerritorioException extends NoSuchModelException { - - public NoSuchBoTerritorioException() { - super(); - } - - public NoSuchBoTerritorioException(String msg) { - super(msg); - } - - public NoSuchBoTerritorioException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchBoTerritorioException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchFeComuneException.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchFeComuneException.java deleted file mode 100644 index d66d282e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchFeComuneException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class NoSuchFeComuneException extends NoSuchModelException { - - public NoSuchFeComuneException() { - super(); - } - - public NoSuchFeComuneException(String msg) { - super(msg); - } - - public NoSuchFeComuneException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchFeComuneException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchFeDettPraticaException.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchFeDettPraticaException.java deleted file mode 100644 index 09a8f278..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchFeDettPraticaException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class NoSuchFeDettPraticaException extends NoSuchModelException { - - public NoSuchFeDettPraticaException() { - super(); - } - - public NoSuchFeDettPraticaException(String msg) { - super(msg); - } - - public NoSuchFeDettPraticaException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchFeDettPraticaException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchFeIntPraticaException.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchFeIntPraticaException.java deleted file mode 100644 index 1a385013..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchFeIntPraticaException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class NoSuchFeIntPraticaException extends NoSuchModelException { - - public NoSuchFeIntPraticaException() { - super(); - } - - public NoSuchFeIntPraticaException(String msg) { - super(msg); - } - - public NoSuchFeIntPraticaException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchFeIntPraticaException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchFePagamentoException.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchFePagamentoException.java deleted file mode 100644 index 5297790f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchFePagamentoException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class NoSuchFePagamentoException extends NoSuchModelException { - - public NoSuchFePagamentoException() { - super(); - } - - public NoSuchFePagamentoException(String msg) { - super(msg); - } - - public NoSuchFePagamentoException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchFePagamentoException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchFeTerritorioException.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchFeTerritorioException.java deleted file mode 100644 index 71ddc20f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/NoSuchFeTerritorioException.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport; - -import com.liferay.portal.NoSuchModelException; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class NoSuchFeTerritorioException extends NoSuchModelException { - - public NoSuchFeTerritorioException() { - super(); - } - - public NoSuchFeTerritorioException(String msg) { - super(msg); - } - - public NoSuchFeTerritorioException(String msg, Throwable cause) { - super(msg, cause); - } - - public NoSuchFeTerritorioException(Throwable cause) { - super(cause); - } - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoArtLegge.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoArtLegge.java deleted file mode 100644 index a84dea1f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoArtLegge.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the BoArtLegge service. Represents a row in the "gc_artlegge" database table, with each column mapped to a property of this class. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoArtLeggeModel - * @see it.tref.liferay.portos.portosimport.model.impl.BoArtLeggeImpl - * @see it.tref.liferay.portos.portosimport.model.impl.BoArtLeggeModelImpl - * @generated - */ -public interface BoArtLegge extends BoArtLeggeModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.portosimport.model.impl.BoArtLeggeImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoArtLeggeClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoArtLeggeClp.java deleted file mode 100644 index 37d1e5bf..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoArtLeggeClp.java +++ /dev/null @@ -1,580 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.ClpSerializer; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class BoArtLeggeClp extends BaseModelImpl - implements BoArtLegge { - public BoArtLeggeClp() { - } - - @Override - public Class getModelClass() { - return BoArtLegge.class; - } - - @Override - public String getModelClassName() { - return BoArtLegge.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _artLeggeId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setArtLeggeId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _artLeggeId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("artLeggeId", getArtLeggeId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("codArtLegge", getCodArtLegge()); - attributes.put("tipologia", getTipologia()); - attributes.put("descLong", getDescLong()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long artLeggeId = (Long)attributes.get("artLeggeId"); - - if (artLeggeId != null) { - setArtLeggeId(artLeggeId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - String codArtLegge = (String)attributes.get("codArtLegge"); - - if (codArtLegge != null) { - setCodArtLegge(codArtLegge); - } - - String tipologia = (String)attributes.get("tipologia"); - - if (tipologia != null) { - setTipologia(tipologia); - } - - String descLong = (String)attributes.get("descLong"); - - if (descLong != null) { - setDescLong(descLong); - } - } - - @Override - public long getArtLeggeId() { - return _artLeggeId; - } - - @Override - public void setArtLeggeId(long artLeggeId) { - _artLeggeId = artLeggeId; - - if (_boArtLeggeRemoteModel != null) { - try { - Class clazz = _boArtLeggeRemoteModel.getClass(); - - Method method = clazz.getMethod("setArtLeggeId", long.class); - - method.invoke(_boArtLeggeRemoteModel, artLeggeId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_boArtLeggeRemoteModel != null) { - try { - Class clazz = _boArtLeggeRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_boArtLeggeRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_boArtLeggeRemoteModel != null) { - try { - Class clazz = _boArtLeggeRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_boArtLeggeRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_boArtLeggeRemoteModel != null) { - try { - Class clazz = _boArtLeggeRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_boArtLeggeRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_boArtLeggeRemoteModel != null) { - try { - Class clazz = _boArtLeggeRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_boArtLeggeRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_boArtLeggeRemoteModel != null) { - try { - Class clazz = _boArtLeggeRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_boArtLeggeRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodArtLegge() { - return _codArtLegge; - } - - @Override - public void setCodArtLegge(String codArtLegge) { - _codArtLegge = codArtLegge; - - if (_boArtLeggeRemoteModel != null) { - try { - Class clazz = _boArtLeggeRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodArtLegge", String.class); - - method.invoke(_boArtLeggeRemoteModel, codArtLegge); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getTipologia() { - return _tipologia; - } - - @Override - public void setTipologia(String tipologia) { - _tipologia = tipologia; - - if (_boArtLeggeRemoteModel != null) { - try { - Class clazz = _boArtLeggeRemoteModel.getClass(); - - Method method = clazz.getMethod("setTipologia", String.class); - - method.invoke(_boArtLeggeRemoteModel, tipologia); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getDescLong() { - return _descLong; - } - - @Override - public void setDescLong(String descLong) { - _descLong = descLong; - - if (_boArtLeggeRemoteModel != null) { - try { - Class clazz = _boArtLeggeRemoteModel.getClass(); - - Method method = clazz.getMethod("setDescLong", String.class); - - method.invoke(_boArtLeggeRemoteModel, descLong); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - public BaseModel getBoArtLeggeRemoteModel() { - return _boArtLeggeRemoteModel; - } - - public void setBoArtLeggeRemoteModel(BaseModel boArtLeggeRemoteModel) { - _boArtLeggeRemoteModel = boArtLeggeRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _boArtLeggeRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_boArtLeggeRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoArtLeggeLocalServiceUtil.addBoArtLegge(this); - } - else { - BoArtLeggeLocalServiceUtil.updateBoArtLegge(this); - } - } - - @Override - public BoArtLegge toEscapedModel() { - return (BoArtLegge)ProxyUtil.newProxyInstance(BoArtLegge.class.getClassLoader(), - new Class[] { BoArtLegge.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - BoArtLeggeClp clone = new BoArtLeggeClp(); - - clone.setArtLeggeId(getArtLeggeId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setCodArtLegge(getCodArtLegge()); - clone.setTipologia(getTipologia()); - clone.setDescLong(getDescLong()); - - return clone; - } - - @Override - public int compareTo(BoArtLegge boArtLegge) { - int value = 0; - - value = getCodArtLegge().compareTo(boArtLegge.getCodArtLegge()); - - if (value != 0) { - return value; - } - - return 0; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoArtLeggeClp)) { - return false; - } - - BoArtLeggeClp boArtLegge = (BoArtLeggeClp)obj; - - long primaryKey = boArtLegge.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(19); - - sb.append("{artLeggeId="); - sb.append(getArtLeggeId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", codArtLegge="); - sb.append(getCodArtLegge()); - sb.append(", tipologia="); - sb.append(getTipologia()); - sb.append(", descLong="); - sb.append(getDescLong()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(31); - - sb.append(""); - sb.append("it.tref.liferay.portos.portosimport.model.BoArtLegge"); - sb.append(""); - - sb.append( - "artLeggeId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "codArtLegge"); - sb.append( - "tipologia"); - sb.append( - "descLong"); - - sb.append(""); - - return sb.toString(); - } - - private long _artLeggeId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private String _codArtLegge; - private String _tipologia; - private String _descLong; - private BaseModel _boArtLeggeRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.portosimport.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoArtLeggeModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoArtLeggeModel.java deleted file mode 100644 index b12005c1..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoArtLeggeModel.java +++ /dev/null @@ -1,278 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.AuditedModel; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the BoArtLegge service. Represents a row in the "gc_artlegge" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.portosimport.model.impl.BoArtLeggeModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.portosimport.model.impl.BoArtLeggeImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoArtLegge - * @see it.tref.liferay.portos.portosimport.model.impl.BoArtLeggeImpl - * @see it.tref.liferay.portos.portosimport.model.impl.BoArtLeggeModelImpl - * @generated - */ -public interface BoArtLeggeModel extends AuditedModel, BaseModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a bo art legge model instance should use the {@link BoArtLegge} interface instead. - */ - - /** - * Returns the primary key of this bo art legge. - * - * @return the primary key of this bo art legge - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this bo art legge. - * - * @param primaryKey the primary key of this bo art legge - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the art legge ID of this bo art legge. - * - * @return the art legge ID of this bo art legge - */ - public long getArtLeggeId(); - - /** - * Sets the art legge ID of this bo art legge. - * - * @param artLeggeId the art legge ID of this bo art legge - */ - public void setArtLeggeId(long artLeggeId); - - /** - * Returns the company ID of this bo art legge. - * - * @return the company ID of this bo art legge - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this bo art legge. - * - * @param companyId the company ID of this bo art legge - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this bo art legge. - * - * @return the user ID of this bo art legge - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this bo art legge. - * - * @param userId the user ID of this bo art legge - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this bo art legge. - * - * @return the user uuid of this bo art legge - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this bo art legge. - * - * @param userUuid the user uuid of this bo art legge - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this bo art legge. - * - * @return the user name of this bo art legge - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this bo art legge. - * - * @param userName the user name of this bo art legge - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this bo art legge. - * - * @return the create date of this bo art legge - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this bo art legge. - * - * @param createDate the create date of this bo art legge - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this bo art legge. - * - * @return the modified date of this bo art legge - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this bo art legge. - * - * @param modifiedDate the modified date of this bo art legge - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the cod art legge of this bo art legge. - * - * @return the cod art legge of this bo art legge - */ - @AutoEscape - public String getCodArtLegge(); - - /** - * Sets the cod art legge of this bo art legge. - * - * @param codArtLegge the cod art legge of this bo art legge - */ - public void setCodArtLegge(String codArtLegge); - - /** - * Returns the tipologia of this bo art legge. - * - * @return the tipologia of this bo art legge - */ - @AutoEscape - public String getTipologia(); - - /** - * Sets the tipologia of this bo art legge. - * - * @param tipologia the tipologia of this bo art legge - */ - public void setTipologia(String tipologia); - - /** - * Returns the desc long of this bo art legge. - * - * @return the desc long of this bo art legge - */ - @AutoEscape - public String getDescLong(); - - /** - * Sets the desc long of this bo art legge. - * - * @param descLong the desc long of this bo art legge - */ - public void setDescLong(String descLong); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.BoArtLegge boArtLegge); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.BoArtLegge toEscapedModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.BoArtLegge toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoArtLeggeSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoArtLeggeSoap.java deleted file mode 100644 index 0b799da9..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoArtLeggeSoap.java +++ /dev/null @@ -1,175 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoArtLeggeSoap implements Serializable { - public static BoArtLeggeSoap toSoapModel(BoArtLegge model) { - BoArtLeggeSoap soapModel = new BoArtLeggeSoap(); - - soapModel.setArtLeggeId(model.getArtLeggeId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setCodArtLegge(model.getCodArtLegge()); - soapModel.setTipologia(model.getTipologia()); - soapModel.setDescLong(model.getDescLong()); - - return soapModel; - } - - public static BoArtLeggeSoap[] toSoapModels(BoArtLegge[] models) { - BoArtLeggeSoap[] soapModels = new BoArtLeggeSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static BoArtLeggeSoap[][] toSoapModels(BoArtLegge[][] models) { - BoArtLeggeSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new BoArtLeggeSoap[models.length][models[0].length]; - } - else { - soapModels = new BoArtLeggeSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static BoArtLeggeSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (BoArtLegge model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new BoArtLeggeSoap[soapModels.size()]); - } - - public BoArtLeggeSoap() { - } - - public long getPrimaryKey() { - return _artLeggeId; - } - - public void setPrimaryKey(long pk) { - setArtLeggeId(pk); - } - - public long getArtLeggeId() { - return _artLeggeId; - } - - public void setArtLeggeId(long artLeggeId) { - _artLeggeId = artLeggeId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public String getCodArtLegge() { - return _codArtLegge; - } - - public void setCodArtLegge(String codArtLegge) { - _codArtLegge = codArtLegge; - } - - public String getTipologia() { - return _tipologia; - } - - public void setTipologia(String tipologia) { - _tipologia = tipologia; - } - - public String getDescLong() { - return _descLong; - } - - public void setDescLong(String descLong) { - _descLong = descLong; - } - - private long _artLeggeId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private String _codArtLegge; - private String _tipologia; - private String _descLong; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoArtLeggeWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoArtLeggeWrapper.java deleted file mode 100644 index bec6f9f9..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoArtLeggeWrapper.java +++ /dev/null @@ -1,486 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link BoArtLegge}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoArtLegge - * @generated - */ -public class BoArtLeggeWrapper implements BoArtLegge, ModelWrapper { - public BoArtLeggeWrapper(BoArtLegge boArtLegge) { - _boArtLegge = boArtLegge; - } - - @Override - public Class getModelClass() { - return BoArtLegge.class; - } - - @Override - public String getModelClassName() { - return BoArtLegge.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("artLeggeId", getArtLeggeId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("codArtLegge", getCodArtLegge()); - attributes.put("tipologia", getTipologia()); - attributes.put("descLong", getDescLong()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long artLeggeId = (Long)attributes.get("artLeggeId"); - - if (artLeggeId != null) { - setArtLeggeId(artLeggeId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - String codArtLegge = (String)attributes.get("codArtLegge"); - - if (codArtLegge != null) { - setCodArtLegge(codArtLegge); - } - - String tipologia = (String)attributes.get("tipologia"); - - if (tipologia != null) { - setTipologia(tipologia); - } - - String descLong = (String)attributes.get("descLong"); - - if (descLong != null) { - setDescLong(descLong); - } - } - - /** - * Returns the primary key of this bo art legge. - * - * @return the primary key of this bo art legge - */ - @Override - public long getPrimaryKey() { - return _boArtLegge.getPrimaryKey(); - } - - /** - * Sets the primary key of this bo art legge. - * - * @param primaryKey the primary key of this bo art legge - */ - @Override - public void setPrimaryKey(long primaryKey) { - _boArtLegge.setPrimaryKey(primaryKey); - } - - /** - * Returns the art legge ID of this bo art legge. - * - * @return the art legge ID of this bo art legge - */ - @Override - public long getArtLeggeId() { - return _boArtLegge.getArtLeggeId(); - } - - /** - * Sets the art legge ID of this bo art legge. - * - * @param artLeggeId the art legge ID of this bo art legge - */ - @Override - public void setArtLeggeId(long artLeggeId) { - _boArtLegge.setArtLeggeId(artLeggeId); - } - - /** - * Returns the company ID of this bo art legge. - * - * @return the company ID of this bo art legge - */ - @Override - public long getCompanyId() { - return _boArtLegge.getCompanyId(); - } - - /** - * Sets the company ID of this bo art legge. - * - * @param companyId the company ID of this bo art legge - */ - @Override - public void setCompanyId(long companyId) { - _boArtLegge.setCompanyId(companyId); - } - - /** - * Returns the user ID of this bo art legge. - * - * @return the user ID of this bo art legge - */ - @Override - public long getUserId() { - return _boArtLegge.getUserId(); - } - - /** - * Sets the user ID of this bo art legge. - * - * @param userId the user ID of this bo art legge - */ - @Override - public void setUserId(long userId) { - _boArtLegge.setUserId(userId); - } - - /** - * Returns the user uuid of this bo art legge. - * - * @return the user uuid of this bo art legge - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _boArtLegge.getUserUuid(); - } - - /** - * Sets the user uuid of this bo art legge. - * - * @param userUuid the user uuid of this bo art legge - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _boArtLegge.setUserUuid(userUuid); - } - - /** - * Returns the user name of this bo art legge. - * - * @return the user name of this bo art legge - */ - @Override - public java.lang.String getUserName() { - return _boArtLegge.getUserName(); - } - - /** - * Sets the user name of this bo art legge. - * - * @param userName the user name of this bo art legge - */ - @Override - public void setUserName(java.lang.String userName) { - _boArtLegge.setUserName(userName); - } - - /** - * Returns the create date of this bo art legge. - * - * @return the create date of this bo art legge - */ - @Override - public java.util.Date getCreateDate() { - return _boArtLegge.getCreateDate(); - } - - /** - * Sets the create date of this bo art legge. - * - * @param createDate the create date of this bo art legge - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _boArtLegge.setCreateDate(createDate); - } - - /** - * Returns the modified date of this bo art legge. - * - * @return the modified date of this bo art legge - */ - @Override - public java.util.Date getModifiedDate() { - return _boArtLegge.getModifiedDate(); - } - - /** - * Sets the modified date of this bo art legge. - * - * @param modifiedDate the modified date of this bo art legge - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _boArtLegge.setModifiedDate(modifiedDate); - } - - /** - * Returns the cod art legge of this bo art legge. - * - * @return the cod art legge of this bo art legge - */ - @Override - public java.lang.String getCodArtLegge() { - return _boArtLegge.getCodArtLegge(); - } - - /** - * Sets the cod art legge of this bo art legge. - * - * @param codArtLegge the cod art legge of this bo art legge - */ - @Override - public void setCodArtLegge(java.lang.String codArtLegge) { - _boArtLegge.setCodArtLegge(codArtLegge); - } - - /** - * Returns the tipologia of this bo art legge. - * - * @return the tipologia of this bo art legge - */ - @Override - public java.lang.String getTipologia() { - return _boArtLegge.getTipologia(); - } - - /** - * Sets the tipologia of this bo art legge. - * - * @param tipologia the tipologia of this bo art legge - */ - @Override - public void setTipologia(java.lang.String tipologia) { - _boArtLegge.setTipologia(tipologia); - } - - /** - * Returns the desc long of this bo art legge. - * - * @return the desc long of this bo art legge - */ - @Override - public java.lang.String getDescLong() { - return _boArtLegge.getDescLong(); - } - - /** - * Sets the desc long of this bo art legge. - * - * @param descLong the desc long of this bo art legge - */ - @Override - public void setDescLong(java.lang.String descLong) { - _boArtLegge.setDescLong(descLong); - } - - @Override - public boolean isNew() { - return _boArtLegge.isNew(); - } - - @Override - public void setNew(boolean n) { - _boArtLegge.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _boArtLegge.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _boArtLegge.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _boArtLegge.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _boArtLegge.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _boArtLegge.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _boArtLegge.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _boArtLegge.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _boArtLegge.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _boArtLegge.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new BoArtLeggeWrapper((BoArtLegge)_boArtLegge.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.BoArtLegge boArtLegge) { - return _boArtLegge.compareTo(boArtLegge); - } - - @Override - public int hashCode() { - return _boArtLegge.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _boArtLegge.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoArtLegge toEscapedModel() { - return new BoArtLeggeWrapper(_boArtLegge.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoArtLegge toUnescapedModel() { - return new BoArtLeggeWrapper(_boArtLegge.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _boArtLegge.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _boArtLegge.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _boArtLegge.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoArtLeggeWrapper)) { - return false; - } - - BoArtLeggeWrapper boArtLeggeWrapper = (BoArtLeggeWrapper)obj; - - if (Validator.equals(_boArtLegge, boArtLeggeWrapper._boArtLegge)) { - return true; - } - - return false; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public BoArtLegge getWrappedBoArtLegge() { - return _boArtLegge; - } - - @Override - public BoArtLegge getWrappedModel() { - return _boArtLegge; - } - - @Override - public void resetOriginalValues() { - _boArtLegge.resetOriginalValues(); - } - - private BoArtLegge _boArtLegge; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoAvviso.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoAvviso.java deleted file mode 100644 index 0d1d398b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoAvviso.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the BoAvviso service. Represents a row in the "gc_avviso" database table, with each column mapped to a property of this class. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoAvvisoModel - * @see it.tref.liferay.portos.portosimport.model.impl.BoAvvisoImpl - * @see it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl - * @generated - */ -public interface BoAvviso extends BoAvvisoModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoAvvisoClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoAvvisoClp.java deleted file mode 100644 index c8e53056..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoAvvisoClp.java +++ /dev/null @@ -1,1735 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.DateUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.portosimport.service.BoAvvisoLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.ClpSerializer; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class BoAvvisoClp extends BaseModelImpl implements BoAvviso { - public BoAvvisoClp() { - } - - @Override - public Class getModelClass() { - return BoAvviso.class; - } - - @Override - public String getModelClassName() { - return BoAvviso.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _avvisoId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setAvvisoId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _avvisoId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("avvisoId", getAvvisoId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("descLong", getDescLong()); - attributes.put("dtAvviso", getDtAvviso()); - attributes.put("tipoAvviso", getTipoAvviso()); - attributes.put("tipoDocumento", getTipoDocumento()); - attributes.put("fileEntryIdTemplate", getFileEntryIdTemplate()); - attributes.put("fileEntryIdBase", getFileEntryIdBase()); - attributes.put("fileEntryIdFirma", getFileEntryIdFirma()); - attributes.put("fileEntryIdInvio", getFileEntryIdInvio()); - attributes.put("dtCreateFileEntryInvio", getDtCreateFileEntryInvio()); - attributes.put("userIdPrimaFirma", getUserIdPrimaFirma()); - attributes.put("userIdSecondaFirma", getUserIdSecondaFirma()); - attributes.put("firmaInCorso", getFirmaInCorso()); - attributes.put("transactionIdPrimaFirma", getTransactionIdPrimaFirma()); - attributes.put("transactionIdSecondaFirma", - getTransactionIdSecondaFirma()); - attributes.put("inviato", getInviato()); - attributes.put("dtInvio", getDtInvio()); - attributes.put("annullato", getAnnullato()); - attributes.put("errore", getErrore()); - attributes.put("signal", getSignal()); - attributes.put("dtInvioSignal", getDtInvioSignal()); - attributes.put("tempistica", getTempistica()); - attributes.put("dtTempistica", getDtTempistica()); - attributes.put("daxId", getDaxId()); - attributes.put("dtInvioDax", getDtInvioDax()); - attributes.put("erroreDax", getErroreDax()); - attributes.put("dtErroreDax", getDtErroreDax()); - attributes.put("jsonParameters", getJsonParameters()); - attributes.put("protocollo", getProtocollo()); - attributes.put("inviatoTecnico", getInviatoTecnico()); - attributes.put("dettPraticaId", getDettPraticaId()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long avvisoId = (Long)attributes.get("avvisoId"); - - if (avvisoId != null) { - setAvvisoId(avvisoId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - String descLong = (String)attributes.get("descLong"); - - if (descLong != null) { - setDescLong(descLong); - } - - Date dtAvviso = (Date)attributes.get("dtAvviso"); - - if (dtAvviso != null) { - setDtAvviso(dtAvviso); - } - - String tipoAvviso = (String)attributes.get("tipoAvviso"); - - if (tipoAvviso != null) { - setTipoAvviso(tipoAvviso); - } - - String tipoDocumento = (String)attributes.get("tipoDocumento"); - - if (tipoDocumento != null) { - setTipoDocumento(tipoDocumento); - } - - Long fileEntryIdTemplate = (Long)attributes.get("fileEntryIdTemplate"); - - if (fileEntryIdTemplate != null) { - setFileEntryIdTemplate(fileEntryIdTemplate); - } - - Long fileEntryIdBase = (Long)attributes.get("fileEntryIdBase"); - - if (fileEntryIdBase != null) { - setFileEntryIdBase(fileEntryIdBase); - } - - Long fileEntryIdFirma = (Long)attributes.get("fileEntryIdFirma"); - - if (fileEntryIdFirma != null) { - setFileEntryIdFirma(fileEntryIdFirma); - } - - Long fileEntryIdInvio = (Long)attributes.get("fileEntryIdInvio"); - - if (fileEntryIdInvio != null) { - setFileEntryIdInvio(fileEntryIdInvio); - } - - Date dtCreateFileEntryInvio = (Date)attributes.get( - "dtCreateFileEntryInvio"); - - if (dtCreateFileEntryInvio != null) { - setDtCreateFileEntryInvio(dtCreateFileEntryInvio); - } - - Long userIdPrimaFirma = (Long)attributes.get("userIdPrimaFirma"); - - if (userIdPrimaFirma != null) { - setUserIdPrimaFirma(userIdPrimaFirma); - } - - Long userIdSecondaFirma = (Long)attributes.get("userIdSecondaFirma"); - - if (userIdSecondaFirma != null) { - setUserIdSecondaFirma(userIdSecondaFirma); - } - - Boolean firmaInCorso = (Boolean)attributes.get("firmaInCorso"); - - if (firmaInCorso != null) { - setFirmaInCorso(firmaInCorso); - } - - String transactionIdPrimaFirma = (String)attributes.get( - "transactionIdPrimaFirma"); - - if (transactionIdPrimaFirma != null) { - setTransactionIdPrimaFirma(transactionIdPrimaFirma); - } - - String transactionIdSecondaFirma = (String)attributes.get( - "transactionIdSecondaFirma"); - - if (transactionIdSecondaFirma != null) { - setTransactionIdSecondaFirma(transactionIdSecondaFirma); - } - - String inviato = (String)attributes.get("inviato"); - - if (inviato != null) { - setInviato(inviato); - } - - Date dtInvio = (Date)attributes.get("dtInvio"); - - if (dtInvio != null) { - setDtInvio(dtInvio); - } - - Boolean annullato = (Boolean)attributes.get("annullato"); - - if (annullato != null) { - setAnnullato(annullato); - } - - Boolean errore = (Boolean)attributes.get("errore"); - - if (errore != null) { - setErrore(errore); - } - - Boolean signal = (Boolean)attributes.get("signal"); - - if (signal != null) { - setSignal(signal); - } - - Date dtInvioSignal = (Date)attributes.get("dtInvioSignal"); - - if (dtInvioSignal != null) { - setDtInvioSignal(dtInvioSignal); - } - - Boolean tempistica = (Boolean)attributes.get("tempistica"); - - if (tempistica != null) { - setTempistica(tempistica); - } - - Date dtTempistica = (Date)attributes.get("dtTempistica"); - - if (dtTempistica != null) { - setDtTempistica(dtTempistica); - } - - Long daxId = (Long)attributes.get("daxId"); - - if (daxId != null) { - setDaxId(daxId); - } - - Date dtInvioDax = (Date)attributes.get("dtInvioDax"); - - if (dtInvioDax != null) { - setDtInvioDax(dtInvioDax); - } - - String erroreDax = (String)attributes.get("erroreDax"); - - if (erroreDax != null) { - setErroreDax(erroreDax); - } - - Date dtErroreDax = (Date)attributes.get("dtErroreDax"); - - if (dtErroreDax != null) { - setDtErroreDax(dtErroreDax); - } - - String jsonParameters = (String)attributes.get("jsonParameters"); - - if (jsonParameters != null) { - setJsonParameters(jsonParameters); - } - - String protocollo = (String)attributes.get("protocollo"); - - if (protocollo != null) { - setProtocollo(protocollo); - } - - Boolean inviatoTecnico = (Boolean)attributes.get("inviatoTecnico"); - - if (inviatoTecnico != null) { - setInviatoTecnico(inviatoTecnico); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - } - - @Override - public String getUuid() { - return _uuid; - } - - @Override - public void setUuid(String uuid) { - _uuid = uuid; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setUuid", String.class); - - method.invoke(_boAvvisoRemoteModel, uuid); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getAvvisoId() { - return _avvisoId; - } - - @Override - public void setAvvisoId(long avvisoId) { - _avvisoId = avvisoId; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setAvvisoId", long.class); - - method.invoke(_boAvvisoRemoteModel, avvisoId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_boAvvisoRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_boAvvisoRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_boAvvisoRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_boAvvisoRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_boAvvisoRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_boAvvisoRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getDescLong() { - return _descLong; - } - - @Override - public void setDescLong(String descLong) { - _descLong = descLong; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setDescLong", String.class); - - method.invoke(_boAvvisoRemoteModel, descLong); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDtAvviso() { - return _dtAvviso; - } - - @Override - public void setDtAvviso(Date dtAvviso) { - _dtAvviso = dtAvviso; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setDtAvviso", Date.class); - - method.invoke(_boAvvisoRemoteModel, dtAvviso); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getTipoAvviso() { - return _tipoAvviso; - } - - @Override - public void setTipoAvviso(String tipoAvviso) { - _tipoAvviso = tipoAvviso; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setTipoAvviso", String.class); - - method.invoke(_boAvvisoRemoteModel, tipoAvviso); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getTipoDocumento() { - return _tipoDocumento; - } - - @Override - public void setTipoDocumento(String tipoDocumento) { - _tipoDocumento = tipoDocumento; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setTipoDocumento", String.class); - - method.invoke(_boAvvisoRemoteModel, tipoDocumento); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getFileEntryIdTemplate() { - return _fileEntryIdTemplate; - } - - @Override - public void setFileEntryIdTemplate(long fileEntryIdTemplate) { - _fileEntryIdTemplate = fileEntryIdTemplate; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setFileEntryIdTemplate", - long.class); - - method.invoke(_boAvvisoRemoteModel, fileEntryIdTemplate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getFileEntryIdBase() { - return _fileEntryIdBase; - } - - @Override - public void setFileEntryIdBase(long fileEntryIdBase) { - _fileEntryIdBase = fileEntryIdBase; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setFileEntryIdBase", long.class); - - method.invoke(_boAvvisoRemoteModel, fileEntryIdBase); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getFileEntryIdFirma() { - return _fileEntryIdFirma; - } - - @Override - public void setFileEntryIdFirma(long fileEntryIdFirma) { - _fileEntryIdFirma = fileEntryIdFirma; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setFileEntryIdFirma", - long.class); - - method.invoke(_boAvvisoRemoteModel, fileEntryIdFirma); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getFileEntryIdInvio() { - return _fileEntryIdInvio; - } - - @Override - public void setFileEntryIdInvio(long fileEntryIdInvio) { - _fileEntryIdInvio = fileEntryIdInvio; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setFileEntryIdInvio", - long.class); - - method.invoke(_boAvvisoRemoteModel, fileEntryIdInvio); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDtCreateFileEntryInvio() { - return _dtCreateFileEntryInvio; - } - - @Override - public void setDtCreateFileEntryInvio(Date dtCreateFileEntryInvio) { - _dtCreateFileEntryInvio = dtCreateFileEntryInvio; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setDtCreateFileEntryInvio", - Date.class); - - method.invoke(_boAvvisoRemoteModel, dtCreateFileEntryInvio); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserIdPrimaFirma() { - return _userIdPrimaFirma; - } - - @Override - public void setUserIdPrimaFirma(long userIdPrimaFirma) { - _userIdPrimaFirma = userIdPrimaFirma; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserIdPrimaFirma", - long.class); - - method.invoke(_boAvvisoRemoteModel, userIdPrimaFirma); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserIdSecondaFirma() { - return _userIdSecondaFirma; - } - - @Override - public void setUserIdSecondaFirma(long userIdSecondaFirma) { - _userIdSecondaFirma = userIdSecondaFirma; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserIdSecondaFirma", - long.class); - - method.invoke(_boAvvisoRemoteModel, userIdSecondaFirma); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getFirmaInCorso() { - return _firmaInCorso; - } - - @Override - public boolean isFirmaInCorso() { - return _firmaInCorso; - } - - @Override - public void setFirmaInCorso(boolean firmaInCorso) { - _firmaInCorso = firmaInCorso; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setFirmaInCorso", boolean.class); - - method.invoke(_boAvvisoRemoteModel, firmaInCorso); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getTransactionIdPrimaFirma() { - return _transactionIdPrimaFirma; - } - - @Override - public void setTransactionIdPrimaFirma(String transactionIdPrimaFirma) { - _transactionIdPrimaFirma = transactionIdPrimaFirma; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setTransactionIdPrimaFirma", - String.class); - - method.invoke(_boAvvisoRemoteModel, transactionIdPrimaFirma); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getTransactionIdSecondaFirma() { - return _transactionIdSecondaFirma; - } - - @Override - public void setTransactionIdSecondaFirma(String transactionIdSecondaFirma) { - _transactionIdSecondaFirma = transactionIdSecondaFirma; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setTransactionIdSecondaFirma", - String.class); - - method.invoke(_boAvvisoRemoteModel, transactionIdSecondaFirma); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getInviato() { - return _inviato; - } - - @Override - public void setInviato(String inviato) { - _inviato = inviato; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setInviato", String.class); - - method.invoke(_boAvvisoRemoteModel, inviato); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDtInvio() { - return _dtInvio; - } - - @Override - public void setDtInvio(Date dtInvio) { - _dtInvio = dtInvio; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setDtInvio", Date.class); - - method.invoke(_boAvvisoRemoteModel, dtInvio); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getAnnullato() { - return _annullato; - } - - @Override - public boolean isAnnullato() { - return _annullato; - } - - @Override - public void setAnnullato(boolean annullato) { - _annullato = annullato; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setAnnullato", boolean.class); - - method.invoke(_boAvvisoRemoteModel, annullato); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getErrore() { - return _errore; - } - - @Override - public boolean isErrore() { - return _errore; - } - - @Override - public void setErrore(boolean errore) { - _errore = errore; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setErrore", boolean.class); - - method.invoke(_boAvvisoRemoteModel, errore); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getSignal() { - return _signal; - } - - @Override - public boolean isSignal() { - return _signal; - } - - @Override - public void setSignal(boolean signal) { - _signal = signal; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setSignal", boolean.class); - - method.invoke(_boAvvisoRemoteModel, signal); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDtInvioSignal() { - return _dtInvioSignal; - } - - @Override - public void setDtInvioSignal(Date dtInvioSignal) { - _dtInvioSignal = dtInvioSignal; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setDtInvioSignal", Date.class); - - method.invoke(_boAvvisoRemoteModel, dtInvioSignal); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getTempistica() { - return _tempistica; - } - - @Override - public boolean isTempistica() { - return _tempistica; - } - - @Override - public void setTempistica(boolean tempistica) { - _tempistica = tempistica; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setTempistica", boolean.class); - - method.invoke(_boAvvisoRemoteModel, tempistica); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDtTempistica() { - return _dtTempistica; - } - - @Override - public void setDtTempistica(Date dtTempistica) { - _dtTempistica = dtTempistica; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setDtTempistica", Date.class); - - method.invoke(_boAvvisoRemoteModel, dtTempistica); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getDaxId() { - return _daxId; - } - - @Override - public void setDaxId(long daxId) { - _daxId = daxId; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setDaxId", long.class); - - method.invoke(_boAvvisoRemoteModel, daxId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDtInvioDax() { - return _dtInvioDax; - } - - @Override - public void setDtInvioDax(Date dtInvioDax) { - _dtInvioDax = dtInvioDax; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setDtInvioDax", Date.class); - - method.invoke(_boAvvisoRemoteModel, dtInvioDax); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getErroreDax() { - return _erroreDax; - } - - @Override - public void setErroreDax(String erroreDax) { - _erroreDax = erroreDax; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setErroreDax", String.class); - - method.invoke(_boAvvisoRemoteModel, erroreDax); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDtErroreDax() { - return _dtErroreDax; - } - - @Override - public void setDtErroreDax(Date dtErroreDax) { - _dtErroreDax = dtErroreDax; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setDtErroreDax", Date.class); - - method.invoke(_boAvvisoRemoteModel, dtErroreDax); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getJsonParameters() { - return _jsonParameters; - } - - @Override - public void setJsonParameters(String jsonParameters) { - _jsonParameters = jsonParameters; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setJsonParameters", - String.class); - - method.invoke(_boAvvisoRemoteModel, jsonParameters); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getProtocollo() { - return _protocollo; - } - - @Override - public void setProtocollo(String protocollo) { - _protocollo = protocollo; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setProtocollo", String.class); - - method.invoke(_boAvvisoRemoteModel, protocollo); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getInviatoTecnico() { - return _inviatoTecnico; - } - - @Override - public boolean isInviatoTecnico() { - return _inviatoTecnico; - } - - @Override - public void setInviatoTecnico(boolean inviatoTecnico) { - _inviatoTecnico = inviatoTecnico; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setInviatoTecnico", - boolean.class); - - method.invoke(_boAvvisoRemoteModel, inviatoTecnico); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getDettPraticaId() { - return _dettPraticaId; - } - - @Override - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - - if (_boAvvisoRemoteModel != null) { - try { - Class clazz = _boAvvisoRemoteModel.getClass(); - - Method method = clazz.getMethod("setDettPraticaId", long.class); - - method.invoke(_boAvvisoRemoteModel, dettPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoAvviso.class.getName())); - } - - public BaseModel getBoAvvisoRemoteModel() { - return _boAvvisoRemoteModel; - } - - public void setBoAvvisoRemoteModel(BaseModel boAvvisoRemoteModel) { - _boAvvisoRemoteModel = boAvvisoRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _boAvvisoRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_boAvvisoRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoAvvisoLocalServiceUtil.addBoAvviso(this); - } - else { - BoAvvisoLocalServiceUtil.updateBoAvviso(this); - } - } - - @Override - public BoAvviso toEscapedModel() { - return (BoAvviso)ProxyUtil.newProxyInstance(BoAvviso.class.getClassLoader(), - new Class[] { BoAvviso.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - BoAvvisoClp clone = new BoAvvisoClp(); - - clone.setUuid(getUuid()); - clone.setAvvisoId(getAvvisoId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setGroupId(getGroupId()); - clone.setDescLong(getDescLong()); - clone.setDtAvviso(getDtAvviso()); - clone.setTipoAvviso(getTipoAvviso()); - clone.setTipoDocumento(getTipoDocumento()); - clone.setFileEntryIdTemplate(getFileEntryIdTemplate()); - clone.setFileEntryIdBase(getFileEntryIdBase()); - clone.setFileEntryIdFirma(getFileEntryIdFirma()); - clone.setFileEntryIdInvio(getFileEntryIdInvio()); - clone.setDtCreateFileEntryInvio(getDtCreateFileEntryInvio()); - clone.setUserIdPrimaFirma(getUserIdPrimaFirma()); - clone.setUserIdSecondaFirma(getUserIdSecondaFirma()); - clone.setFirmaInCorso(getFirmaInCorso()); - clone.setTransactionIdPrimaFirma(getTransactionIdPrimaFirma()); - clone.setTransactionIdSecondaFirma(getTransactionIdSecondaFirma()); - clone.setInviato(getInviato()); - clone.setDtInvio(getDtInvio()); - clone.setAnnullato(getAnnullato()); - clone.setErrore(getErrore()); - clone.setSignal(getSignal()); - clone.setDtInvioSignal(getDtInvioSignal()); - clone.setTempistica(getTempistica()); - clone.setDtTempistica(getDtTempistica()); - clone.setDaxId(getDaxId()); - clone.setDtInvioDax(getDtInvioDax()); - clone.setErroreDax(getErroreDax()); - clone.setDtErroreDax(getDtErroreDax()); - clone.setJsonParameters(getJsonParameters()); - clone.setProtocollo(getProtocollo()); - clone.setInviatoTecnico(getInviatoTecnico()); - clone.setDettPraticaId(getDettPraticaId()); - - return clone; - } - - @Override - public int compareTo(BoAvviso boAvviso) { - int value = 0; - - value = DateUtil.compareTo(getDtAvviso(), boAvviso.getDtAvviso()); - - value = value * -1; - - if (value != 0) { - return value; - } - - return 0; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoAvvisoClp)) { - return false; - } - - BoAvvisoClp boAvviso = (BoAvvisoClp)obj; - - long primaryKey = boAvviso.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(77); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", avvisoId="); - sb.append(getAvvisoId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", descLong="); - sb.append(getDescLong()); - sb.append(", dtAvviso="); - sb.append(getDtAvviso()); - sb.append(", tipoAvviso="); - sb.append(getTipoAvviso()); - sb.append(", tipoDocumento="); - sb.append(getTipoDocumento()); - sb.append(", fileEntryIdTemplate="); - sb.append(getFileEntryIdTemplate()); - sb.append(", fileEntryIdBase="); - sb.append(getFileEntryIdBase()); - sb.append(", fileEntryIdFirma="); - sb.append(getFileEntryIdFirma()); - sb.append(", fileEntryIdInvio="); - sb.append(getFileEntryIdInvio()); - sb.append(", dtCreateFileEntryInvio="); - sb.append(getDtCreateFileEntryInvio()); - sb.append(", userIdPrimaFirma="); - sb.append(getUserIdPrimaFirma()); - sb.append(", userIdSecondaFirma="); - sb.append(getUserIdSecondaFirma()); - sb.append(", firmaInCorso="); - sb.append(getFirmaInCorso()); - sb.append(", transactionIdPrimaFirma="); - sb.append(getTransactionIdPrimaFirma()); - sb.append(", transactionIdSecondaFirma="); - sb.append(getTransactionIdSecondaFirma()); - sb.append(", inviato="); - sb.append(getInviato()); - sb.append(", dtInvio="); - sb.append(getDtInvio()); - sb.append(", annullato="); - sb.append(getAnnullato()); - sb.append(", errore="); - sb.append(getErrore()); - sb.append(", signal="); - sb.append(getSignal()); - sb.append(", dtInvioSignal="); - sb.append(getDtInvioSignal()); - sb.append(", tempistica="); - sb.append(getTempistica()); - sb.append(", dtTempistica="); - sb.append(getDtTempistica()); - sb.append(", daxId="); - sb.append(getDaxId()); - sb.append(", dtInvioDax="); - sb.append(getDtInvioDax()); - sb.append(", erroreDax="); - sb.append(getErroreDax()); - sb.append(", dtErroreDax="); - sb.append(getDtErroreDax()); - sb.append(", jsonParameters="); - sb.append(getJsonParameters()); - sb.append(", protocollo="); - sb.append(getProtocollo()); - sb.append(", inviatoTecnico="); - sb.append(getInviatoTecnico()); - sb.append(", dettPraticaId="); - sb.append(getDettPraticaId()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(118); - - sb.append(""); - sb.append("it.tref.liferay.portos.portosimport.model.BoAvviso"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "avvisoId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "descLong"); - sb.append( - "dtAvviso"); - sb.append( - "tipoAvviso"); - sb.append( - "tipoDocumento"); - sb.append( - "fileEntryIdTemplate"); - sb.append( - "fileEntryIdBase"); - sb.append( - "fileEntryIdFirma"); - sb.append( - "fileEntryIdInvio"); - sb.append( - "dtCreateFileEntryInvio"); - sb.append( - "userIdPrimaFirma"); - sb.append( - "userIdSecondaFirma"); - sb.append( - "firmaInCorso"); - sb.append( - "transactionIdPrimaFirma"); - sb.append( - "transactionIdSecondaFirma"); - sb.append( - "inviato"); - sb.append( - "dtInvio"); - sb.append( - "annullato"); - sb.append( - "errore"); - sb.append( - "signal"); - sb.append( - "dtInvioSignal"); - sb.append( - "tempistica"); - sb.append( - "dtTempistica"); - sb.append( - "daxId"); - sb.append( - "dtInvioDax"); - sb.append( - "erroreDax"); - sb.append( - "dtErroreDax"); - sb.append( - "jsonParameters"); - sb.append( - "protocollo"); - sb.append( - "inviatoTecnico"); - sb.append( - "dettPraticaId"); - - sb.append(""); - - return sb.toString(); - } - - private String _uuid; - private long _avvisoId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private String _descLong; - private Date _dtAvviso; - private String _tipoAvviso; - private String _tipoDocumento; - private long _fileEntryIdTemplate; - private long _fileEntryIdBase; - private long _fileEntryIdFirma; - private long _fileEntryIdInvio; - private Date _dtCreateFileEntryInvio; - private long _userIdPrimaFirma; - private long _userIdSecondaFirma; - private boolean _firmaInCorso; - private String _transactionIdPrimaFirma; - private String _transactionIdSecondaFirma; - private String _inviato; - private Date _dtInvio; - private boolean _annullato; - private boolean _errore; - private boolean _signal; - private Date _dtInvioSignal; - private boolean _tempistica; - private Date _dtTempistica; - private long _daxId; - private Date _dtInvioDax; - private String _erroreDax; - private Date _dtErroreDax; - private String _jsonParameters; - private String _protocollo; - private boolean _inviatoTecnico; - private long _dettPraticaId; - private BaseModel _boAvvisoRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.portosimport.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoAvvisoModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoAvvisoModel.java deleted file mode 100644 index aa0ae1aa..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoAvvisoModel.java +++ /dev/null @@ -1,737 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.StagedGroupedModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the BoAvviso service. Represents a row in the "gc_avviso" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoAvviso - * @see it.tref.liferay.portos.portosimport.model.impl.BoAvvisoImpl - * @see it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl - * @generated - */ -public interface BoAvvisoModel extends BaseModel, StagedGroupedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a bo avviso model instance should use the {@link BoAvviso} interface instead. - */ - - /** - * Returns the primary key of this bo avviso. - * - * @return the primary key of this bo avviso - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this bo avviso. - * - * @param primaryKey the primary key of this bo avviso - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the uuid of this bo avviso. - * - * @return the uuid of this bo avviso - */ - @AutoEscape - @Override - public String getUuid(); - - /** - * Sets the uuid of this bo avviso. - * - * @param uuid the uuid of this bo avviso - */ - @Override - public void setUuid(String uuid); - - /** - * Returns the avviso ID of this bo avviso. - * - * @return the avviso ID of this bo avviso - */ - public long getAvvisoId(); - - /** - * Sets the avviso ID of this bo avviso. - * - * @param avvisoId the avviso ID of this bo avviso - */ - public void setAvvisoId(long avvisoId); - - /** - * Returns the company ID of this bo avviso. - * - * @return the company ID of this bo avviso - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this bo avviso. - * - * @param companyId the company ID of this bo avviso - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this bo avviso. - * - * @return the user ID of this bo avviso - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this bo avviso. - * - * @param userId the user ID of this bo avviso - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this bo avviso. - * - * @return the user uuid of this bo avviso - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this bo avviso. - * - * @param userUuid the user uuid of this bo avviso - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this bo avviso. - * - * @return the user name of this bo avviso - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this bo avviso. - * - * @param userName the user name of this bo avviso - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this bo avviso. - * - * @return the create date of this bo avviso - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this bo avviso. - * - * @param createDate the create date of this bo avviso - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this bo avviso. - * - * @return the modified date of this bo avviso - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this bo avviso. - * - * @param modifiedDate the modified date of this bo avviso - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the group ID of this bo avviso. - * - * @return the group ID of this bo avviso - */ - @Override - public long getGroupId(); - - /** - * Sets the group ID of this bo avviso. - * - * @param groupId the group ID of this bo avviso - */ - @Override - public void setGroupId(long groupId); - - /** - * Returns the desc long of this bo avviso. - * - * @return the desc long of this bo avviso - */ - @AutoEscape - public String getDescLong(); - - /** - * Sets the desc long of this bo avviso. - * - * @param descLong the desc long of this bo avviso - */ - public void setDescLong(String descLong); - - /** - * Returns the dt avviso of this bo avviso. - * - * @return the dt avviso of this bo avviso - */ - public Date getDtAvviso(); - - /** - * Sets the dt avviso of this bo avviso. - * - * @param dtAvviso the dt avviso of this bo avviso - */ - public void setDtAvviso(Date dtAvviso); - - /** - * Returns the tipo avviso of this bo avviso. - * - * @return the tipo avviso of this bo avviso - */ - @AutoEscape - public String getTipoAvviso(); - - /** - * Sets the tipo avviso of this bo avviso. - * - * @param tipoAvviso the tipo avviso of this bo avviso - */ - public void setTipoAvviso(String tipoAvviso); - - /** - * Returns the tipo documento of this bo avviso. - * - * @return the tipo documento of this bo avviso - */ - @AutoEscape - public String getTipoDocumento(); - - /** - * Sets the tipo documento of this bo avviso. - * - * @param tipoDocumento the tipo documento of this bo avviso - */ - public void setTipoDocumento(String tipoDocumento); - - /** - * Returns the file entry ID template of this bo avviso. - * - * @return the file entry ID template of this bo avviso - */ - public long getFileEntryIdTemplate(); - - /** - * Sets the file entry ID template of this bo avviso. - * - * @param fileEntryIdTemplate the file entry ID template of this bo avviso - */ - public void setFileEntryIdTemplate(long fileEntryIdTemplate); - - /** - * Returns the file entry ID base of this bo avviso. - * - * @return the file entry ID base of this bo avviso - */ - public long getFileEntryIdBase(); - - /** - * Sets the file entry ID base of this bo avviso. - * - * @param fileEntryIdBase the file entry ID base of this bo avviso - */ - public void setFileEntryIdBase(long fileEntryIdBase); - - /** - * Returns the file entry ID firma of this bo avviso. - * - * @return the file entry ID firma of this bo avviso - */ - public long getFileEntryIdFirma(); - - /** - * Sets the file entry ID firma of this bo avviso. - * - * @param fileEntryIdFirma the file entry ID firma of this bo avviso - */ - public void setFileEntryIdFirma(long fileEntryIdFirma); - - /** - * Returns the file entry ID invio of this bo avviso. - * - * @return the file entry ID invio of this bo avviso - */ - public long getFileEntryIdInvio(); - - /** - * Sets the file entry ID invio of this bo avviso. - * - * @param fileEntryIdInvio the file entry ID invio of this bo avviso - */ - public void setFileEntryIdInvio(long fileEntryIdInvio); - - /** - * Returns the dt create file entry invio of this bo avviso. - * - * @return the dt create file entry invio of this bo avviso - */ - public Date getDtCreateFileEntryInvio(); - - /** - * Sets the dt create file entry invio of this bo avviso. - * - * @param dtCreateFileEntryInvio the dt create file entry invio of this bo avviso - */ - public void setDtCreateFileEntryInvio(Date dtCreateFileEntryInvio); - - /** - * Returns the user ID prima firma of this bo avviso. - * - * @return the user ID prima firma of this bo avviso - */ - public long getUserIdPrimaFirma(); - - /** - * Sets the user ID prima firma of this bo avviso. - * - * @param userIdPrimaFirma the user ID prima firma of this bo avviso - */ - public void setUserIdPrimaFirma(long userIdPrimaFirma); - - /** - * Returns the user ID seconda firma of this bo avviso. - * - * @return the user ID seconda firma of this bo avviso - */ - public long getUserIdSecondaFirma(); - - /** - * Sets the user ID seconda firma of this bo avviso. - * - * @param userIdSecondaFirma the user ID seconda firma of this bo avviso - */ - public void setUserIdSecondaFirma(long userIdSecondaFirma); - - /** - * Returns the firma in corso of this bo avviso. - * - * @return the firma in corso of this bo avviso - */ - public boolean getFirmaInCorso(); - - /** - * Returns true if this bo avviso is firma in corso. - * - * @return true if this bo avviso is firma in corso; false otherwise - */ - public boolean isFirmaInCorso(); - - /** - * Sets whether this bo avviso is firma in corso. - * - * @param firmaInCorso the firma in corso of this bo avviso - */ - public void setFirmaInCorso(boolean firmaInCorso); - - /** - * Returns the transaction ID prima firma of this bo avviso. - * - * @return the transaction ID prima firma of this bo avviso - */ - @AutoEscape - public String getTransactionIdPrimaFirma(); - - /** - * Sets the transaction ID prima firma of this bo avviso. - * - * @param transactionIdPrimaFirma the transaction ID prima firma of this bo avviso - */ - public void setTransactionIdPrimaFirma(String transactionIdPrimaFirma); - - /** - * Returns the transaction ID seconda firma of this bo avviso. - * - * @return the transaction ID seconda firma of this bo avviso - */ - @AutoEscape - public String getTransactionIdSecondaFirma(); - - /** - * Sets the transaction ID seconda firma of this bo avviso. - * - * @param transactionIdSecondaFirma the transaction ID seconda firma of this bo avviso - */ - public void setTransactionIdSecondaFirma(String transactionIdSecondaFirma); - - /** - * Returns the inviato of this bo avviso. - * - * @return the inviato of this bo avviso - */ - @AutoEscape - public String getInviato(); - - /** - * Sets the inviato of this bo avviso. - * - * @param inviato the inviato of this bo avviso - */ - public void setInviato(String inviato); - - /** - * Returns the dt invio of this bo avviso. - * - * @return the dt invio of this bo avviso - */ - public Date getDtInvio(); - - /** - * Sets the dt invio of this bo avviso. - * - * @param dtInvio the dt invio of this bo avviso - */ - public void setDtInvio(Date dtInvio); - - /** - * Returns the annullato of this bo avviso. - * - * @return the annullato of this bo avviso - */ - public boolean getAnnullato(); - - /** - * Returns true if this bo avviso is annullato. - * - * @return true if this bo avviso is annullato; false otherwise - */ - public boolean isAnnullato(); - - /** - * Sets whether this bo avviso is annullato. - * - * @param annullato the annullato of this bo avviso - */ - public void setAnnullato(boolean annullato); - - /** - * Returns the errore of this bo avviso. - * - * @return the errore of this bo avviso - */ - public boolean getErrore(); - - /** - * Returns true if this bo avviso is errore. - * - * @return true if this bo avviso is errore; false otherwise - */ - public boolean isErrore(); - - /** - * Sets whether this bo avviso is errore. - * - * @param errore the errore of this bo avviso - */ - public void setErrore(boolean errore); - - /** - * Returns the signal of this bo avviso. - * - * @return the signal of this bo avviso - */ - public boolean getSignal(); - - /** - * Returns true if this bo avviso is signal. - * - * @return true if this bo avviso is signal; false otherwise - */ - public boolean isSignal(); - - /** - * Sets whether this bo avviso is signal. - * - * @param signal the signal of this bo avviso - */ - public void setSignal(boolean signal); - - /** - * Returns the dt invio signal of this bo avviso. - * - * @return the dt invio signal of this bo avviso - */ - public Date getDtInvioSignal(); - - /** - * Sets the dt invio signal of this bo avviso. - * - * @param dtInvioSignal the dt invio signal of this bo avviso - */ - public void setDtInvioSignal(Date dtInvioSignal); - - /** - * Returns the tempistica of this bo avviso. - * - * @return the tempistica of this bo avviso - */ - public boolean getTempistica(); - - /** - * Returns true if this bo avviso is tempistica. - * - * @return true if this bo avviso is tempistica; false otherwise - */ - public boolean isTempistica(); - - /** - * Sets whether this bo avviso is tempistica. - * - * @param tempistica the tempistica of this bo avviso - */ - public void setTempistica(boolean tempistica); - - /** - * Returns the dt tempistica of this bo avviso. - * - * @return the dt tempistica of this bo avviso - */ - public Date getDtTempistica(); - - /** - * Sets the dt tempistica of this bo avviso. - * - * @param dtTempistica the dt tempistica of this bo avviso - */ - public void setDtTempistica(Date dtTempistica); - - /** - * Returns the dax ID of this bo avviso. - * - * @return the dax ID of this bo avviso - */ - public long getDaxId(); - - /** - * Sets the dax ID of this bo avviso. - * - * @param daxId the dax ID of this bo avviso - */ - public void setDaxId(long daxId); - - /** - * Returns the dt invio dax of this bo avviso. - * - * @return the dt invio dax of this bo avviso - */ - public Date getDtInvioDax(); - - /** - * Sets the dt invio dax of this bo avviso. - * - * @param dtInvioDax the dt invio dax of this bo avviso - */ - public void setDtInvioDax(Date dtInvioDax); - - /** - * Returns the errore dax of this bo avviso. - * - * @return the errore dax of this bo avviso - */ - @AutoEscape - public String getErroreDax(); - - /** - * Sets the errore dax of this bo avviso. - * - * @param erroreDax the errore dax of this bo avviso - */ - public void setErroreDax(String erroreDax); - - /** - * Returns the dt errore dax of this bo avviso. - * - * @return the dt errore dax of this bo avviso - */ - public Date getDtErroreDax(); - - /** - * Sets the dt errore dax of this bo avviso. - * - * @param dtErroreDax the dt errore dax of this bo avviso - */ - public void setDtErroreDax(Date dtErroreDax); - - /** - * Returns the json parameters of this bo avviso. - * - * @return the json parameters of this bo avviso - */ - @AutoEscape - public String getJsonParameters(); - - /** - * Sets the json parameters of this bo avviso. - * - * @param jsonParameters the json parameters of this bo avviso - */ - public void setJsonParameters(String jsonParameters); - - /** - * Returns the protocollo of this bo avviso. - * - * @return the protocollo of this bo avviso - */ - @AutoEscape - public String getProtocollo(); - - /** - * Sets the protocollo of this bo avviso. - * - * @param protocollo the protocollo of this bo avviso - */ - public void setProtocollo(String protocollo); - - /** - * Returns the inviato tecnico of this bo avviso. - * - * @return the inviato tecnico of this bo avviso - */ - public boolean getInviatoTecnico(); - - /** - * Returns true if this bo avviso is inviato tecnico. - * - * @return true if this bo avviso is inviato tecnico; false otherwise - */ - public boolean isInviatoTecnico(); - - /** - * Sets whether this bo avviso is inviato tecnico. - * - * @param inviatoTecnico the inviato tecnico of this bo avviso - */ - public void setInviatoTecnico(boolean inviatoTecnico); - - /** - * Returns the dett pratica ID of this bo avviso. - * - * @return the dett pratica ID of this bo avviso - */ - public long getDettPraticaId(); - - /** - * Sets the dett pratica ID of this bo avviso. - * - * @param dettPraticaId the dett pratica ID of this bo avviso - */ - public void setDettPraticaId(long dettPraticaId); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.BoAvviso boAvviso); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.BoAvviso toEscapedModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.BoAvviso toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoAvvisoSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoAvvisoSoap.java deleted file mode 100644 index 7221a4fd..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoAvvisoSoap.java +++ /dev/null @@ -1,489 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoAvvisoSoap implements Serializable { - public static BoAvvisoSoap toSoapModel(BoAvviso model) { - BoAvvisoSoap soapModel = new BoAvvisoSoap(); - - soapModel.setUuid(model.getUuid()); - soapModel.setAvvisoId(model.getAvvisoId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setDescLong(model.getDescLong()); - soapModel.setDtAvviso(model.getDtAvviso()); - soapModel.setTipoAvviso(model.getTipoAvviso()); - soapModel.setTipoDocumento(model.getTipoDocumento()); - soapModel.setFileEntryIdTemplate(model.getFileEntryIdTemplate()); - soapModel.setFileEntryIdBase(model.getFileEntryIdBase()); - soapModel.setFileEntryIdFirma(model.getFileEntryIdFirma()); - soapModel.setFileEntryIdInvio(model.getFileEntryIdInvio()); - soapModel.setDtCreateFileEntryInvio(model.getDtCreateFileEntryInvio()); - soapModel.setUserIdPrimaFirma(model.getUserIdPrimaFirma()); - soapModel.setUserIdSecondaFirma(model.getUserIdSecondaFirma()); - soapModel.setFirmaInCorso(model.getFirmaInCorso()); - soapModel.setTransactionIdPrimaFirma(model.getTransactionIdPrimaFirma()); - soapModel.setTransactionIdSecondaFirma(model.getTransactionIdSecondaFirma()); - soapModel.setInviato(model.getInviato()); - soapModel.setDtInvio(model.getDtInvio()); - soapModel.setAnnullato(model.getAnnullato()); - soapModel.setErrore(model.getErrore()); - soapModel.setSignal(model.getSignal()); - soapModel.setDtInvioSignal(model.getDtInvioSignal()); - soapModel.setTempistica(model.getTempistica()); - soapModel.setDtTempistica(model.getDtTempistica()); - soapModel.setDaxId(model.getDaxId()); - soapModel.setDtInvioDax(model.getDtInvioDax()); - soapModel.setErroreDax(model.getErroreDax()); - soapModel.setDtErroreDax(model.getDtErroreDax()); - soapModel.setJsonParameters(model.getJsonParameters()); - soapModel.setProtocollo(model.getProtocollo()); - soapModel.setInviatoTecnico(model.getInviatoTecnico()); - soapModel.setDettPraticaId(model.getDettPraticaId()); - - return soapModel; - } - - public static BoAvvisoSoap[] toSoapModels(BoAvviso[] models) { - BoAvvisoSoap[] soapModels = new BoAvvisoSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static BoAvvisoSoap[][] toSoapModels(BoAvviso[][] models) { - BoAvvisoSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new BoAvvisoSoap[models.length][models[0].length]; - } - else { - soapModels = new BoAvvisoSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static BoAvvisoSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (BoAvviso model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new BoAvvisoSoap[soapModels.size()]); - } - - public BoAvvisoSoap() { - } - - public long getPrimaryKey() { - return _avvisoId; - } - - public void setPrimaryKey(long pk) { - setAvvisoId(pk); - } - - public String getUuid() { - return _uuid; - } - - public void setUuid(String uuid) { - _uuid = uuid; - } - - public long getAvvisoId() { - return _avvisoId; - } - - public void setAvvisoId(long avvisoId) { - _avvisoId = avvisoId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public String getDescLong() { - return _descLong; - } - - public void setDescLong(String descLong) { - _descLong = descLong; - } - - public Date getDtAvviso() { - return _dtAvviso; - } - - public void setDtAvviso(Date dtAvviso) { - _dtAvviso = dtAvviso; - } - - public String getTipoAvviso() { - return _tipoAvviso; - } - - public void setTipoAvviso(String tipoAvviso) { - _tipoAvviso = tipoAvviso; - } - - public String getTipoDocumento() { - return _tipoDocumento; - } - - public void setTipoDocumento(String tipoDocumento) { - _tipoDocumento = tipoDocumento; - } - - public long getFileEntryIdTemplate() { - return _fileEntryIdTemplate; - } - - public void setFileEntryIdTemplate(long fileEntryIdTemplate) { - _fileEntryIdTemplate = fileEntryIdTemplate; - } - - public long getFileEntryIdBase() { - return _fileEntryIdBase; - } - - public void setFileEntryIdBase(long fileEntryIdBase) { - _fileEntryIdBase = fileEntryIdBase; - } - - public long getFileEntryIdFirma() { - return _fileEntryIdFirma; - } - - public void setFileEntryIdFirma(long fileEntryIdFirma) { - _fileEntryIdFirma = fileEntryIdFirma; - } - - public long getFileEntryIdInvio() { - return _fileEntryIdInvio; - } - - public void setFileEntryIdInvio(long fileEntryIdInvio) { - _fileEntryIdInvio = fileEntryIdInvio; - } - - public Date getDtCreateFileEntryInvio() { - return _dtCreateFileEntryInvio; - } - - public void setDtCreateFileEntryInvio(Date dtCreateFileEntryInvio) { - _dtCreateFileEntryInvio = dtCreateFileEntryInvio; - } - - public long getUserIdPrimaFirma() { - return _userIdPrimaFirma; - } - - public void setUserIdPrimaFirma(long userIdPrimaFirma) { - _userIdPrimaFirma = userIdPrimaFirma; - } - - public long getUserIdSecondaFirma() { - return _userIdSecondaFirma; - } - - public void setUserIdSecondaFirma(long userIdSecondaFirma) { - _userIdSecondaFirma = userIdSecondaFirma; - } - - public boolean getFirmaInCorso() { - return _firmaInCorso; - } - - public boolean isFirmaInCorso() { - return _firmaInCorso; - } - - public void setFirmaInCorso(boolean firmaInCorso) { - _firmaInCorso = firmaInCorso; - } - - public String getTransactionIdPrimaFirma() { - return _transactionIdPrimaFirma; - } - - public void setTransactionIdPrimaFirma(String transactionIdPrimaFirma) { - _transactionIdPrimaFirma = transactionIdPrimaFirma; - } - - public String getTransactionIdSecondaFirma() { - return _transactionIdSecondaFirma; - } - - public void setTransactionIdSecondaFirma(String transactionIdSecondaFirma) { - _transactionIdSecondaFirma = transactionIdSecondaFirma; - } - - public String getInviato() { - return _inviato; - } - - public void setInviato(String inviato) { - _inviato = inviato; - } - - public Date getDtInvio() { - return _dtInvio; - } - - public void setDtInvio(Date dtInvio) { - _dtInvio = dtInvio; - } - - public boolean getAnnullato() { - return _annullato; - } - - public boolean isAnnullato() { - return _annullato; - } - - public void setAnnullato(boolean annullato) { - _annullato = annullato; - } - - public boolean getErrore() { - return _errore; - } - - public boolean isErrore() { - return _errore; - } - - public void setErrore(boolean errore) { - _errore = errore; - } - - public boolean getSignal() { - return _signal; - } - - public boolean isSignal() { - return _signal; - } - - public void setSignal(boolean signal) { - _signal = signal; - } - - public Date getDtInvioSignal() { - return _dtInvioSignal; - } - - public void setDtInvioSignal(Date dtInvioSignal) { - _dtInvioSignal = dtInvioSignal; - } - - public boolean getTempistica() { - return _tempistica; - } - - public boolean isTempistica() { - return _tempistica; - } - - public void setTempistica(boolean tempistica) { - _tempistica = tempistica; - } - - public Date getDtTempistica() { - return _dtTempistica; - } - - public void setDtTempistica(Date dtTempistica) { - _dtTempistica = dtTempistica; - } - - public long getDaxId() { - return _daxId; - } - - public void setDaxId(long daxId) { - _daxId = daxId; - } - - public Date getDtInvioDax() { - return _dtInvioDax; - } - - public void setDtInvioDax(Date dtInvioDax) { - _dtInvioDax = dtInvioDax; - } - - public String getErroreDax() { - return _erroreDax; - } - - public void setErroreDax(String erroreDax) { - _erroreDax = erroreDax; - } - - public Date getDtErroreDax() { - return _dtErroreDax; - } - - public void setDtErroreDax(Date dtErroreDax) { - _dtErroreDax = dtErroreDax; - } - - public String getJsonParameters() { - return _jsonParameters; - } - - public void setJsonParameters(String jsonParameters) { - _jsonParameters = jsonParameters; - } - - public String getProtocollo() { - return _protocollo; - } - - public void setProtocollo(String protocollo) { - _protocollo = protocollo; - } - - public boolean getInviatoTecnico() { - return _inviatoTecnico; - } - - public boolean isInviatoTecnico() { - return _inviatoTecnico; - } - - public void setInviatoTecnico(boolean inviatoTecnico) { - _inviatoTecnico = inviatoTecnico; - } - - public long getDettPraticaId() { - return _dettPraticaId; - } - - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - } - - private String _uuid; - private long _avvisoId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private String _descLong; - private Date _dtAvviso; - private String _tipoAvviso; - private String _tipoDocumento; - private long _fileEntryIdTemplate; - private long _fileEntryIdBase; - private long _fileEntryIdFirma; - private long _fileEntryIdInvio; - private Date _dtCreateFileEntryInvio; - private long _userIdPrimaFirma; - private long _userIdSecondaFirma; - private boolean _firmaInCorso; - private String _transactionIdPrimaFirma; - private String _transactionIdSecondaFirma; - private String _inviato; - private Date _dtInvio; - private boolean _annullato; - private boolean _errore; - private boolean _signal; - private Date _dtInvioSignal; - private boolean _tempistica; - private Date _dtTempistica; - private long _daxId; - private Date _dtInvioDax; - private String _erroreDax; - private Date _dtErroreDax; - private String _jsonParameters; - private String _protocollo; - private boolean _inviatoTecnico; - private long _dettPraticaId; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoAvvisoWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoAvvisoWrapper.java deleted file mode 100644 index c3733dbe..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoAvvisoWrapper.java +++ /dev/null @@ -1,1341 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link BoAvviso}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoAvviso - * @generated - */ -public class BoAvvisoWrapper implements BoAvviso, ModelWrapper { - public BoAvvisoWrapper(BoAvviso boAvviso) { - _boAvviso = boAvviso; - } - - @Override - public Class getModelClass() { - return BoAvviso.class; - } - - @Override - public String getModelClassName() { - return BoAvviso.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("avvisoId", getAvvisoId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("descLong", getDescLong()); - attributes.put("dtAvviso", getDtAvviso()); - attributes.put("tipoAvviso", getTipoAvviso()); - attributes.put("tipoDocumento", getTipoDocumento()); - attributes.put("fileEntryIdTemplate", getFileEntryIdTemplate()); - attributes.put("fileEntryIdBase", getFileEntryIdBase()); - attributes.put("fileEntryIdFirma", getFileEntryIdFirma()); - attributes.put("fileEntryIdInvio", getFileEntryIdInvio()); - attributes.put("dtCreateFileEntryInvio", getDtCreateFileEntryInvio()); - attributes.put("userIdPrimaFirma", getUserIdPrimaFirma()); - attributes.put("userIdSecondaFirma", getUserIdSecondaFirma()); - attributes.put("firmaInCorso", getFirmaInCorso()); - attributes.put("transactionIdPrimaFirma", getTransactionIdPrimaFirma()); - attributes.put("transactionIdSecondaFirma", - getTransactionIdSecondaFirma()); - attributes.put("inviato", getInviato()); - attributes.put("dtInvio", getDtInvio()); - attributes.put("annullato", getAnnullato()); - attributes.put("errore", getErrore()); - attributes.put("signal", getSignal()); - attributes.put("dtInvioSignal", getDtInvioSignal()); - attributes.put("tempistica", getTempistica()); - attributes.put("dtTempistica", getDtTempistica()); - attributes.put("daxId", getDaxId()); - attributes.put("dtInvioDax", getDtInvioDax()); - attributes.put("erroreDax", getErroreDax()); - attributes.put("dtErroreDax", getDtErroreDax()); - attributes.put("jsonParameters", getJsonParameters()); - attributes.put("protocollo", getProtocollo()); - attributes.put("inviatoTecnico", getInviatoTecnico()); - attributes.put("dettPraticaId", getDettPraticaId()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long avvisoId = (Long)attributes.get("avvisoId"); - - if (avvisoId != null) { - setAvvisoId(avvisoId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - String descLong = (String)attributes.get("descLong"); - - if (descLong != null) { - setDescLong(descLong); - } - - Date dtAvviso = (Date)attributes.get("dtAvviso"); - - if (dtAvviso != null) { - setDtAvviso(dtAvviso); - } - - String tipoAvviso = (String)attributes.get("tipoAvviso"); - - if (tipoAvviso != null) { - setTipoAvviso(tipoAvviso); - } - - String tipoDocumento = (String)attributes.get("tipoDocumento"); - - if (tipoDocumento != null) { - setTipoDocumento(tipoDocumento); - } - - Long fileEntryIdTemplate = (Long)attributes.get("fileEntryIdTemplate"); - - if (fileEntryIdTemplate != null) { - setFileEntryIdTemplate(fileEntryIdTemplate); - } - - Long fileEntryIdBase = (Long)attributes.get("fileEntryIdBase"); - - if (fileEntryIdBase != null) { - setFileEntryIdBase(fileEntryIdBase); - } - - Long fileEntryIdFirma = (Long)attributes.get("fileEntryIdFirma"); - - if (fileEntryIdFirma != null) { - setFileEntryIdFirma(fileEntryIdFirma); - } - - Long fileEntryIdInvio = (Long)attributes.get("fileEntryIdInvio"); - - if (fileEntryIdInvio != null) { - setFileEntryIdInvio(fileEntryIdInvio); - } - - Date dtCreateFileEntryInvio = (Date)attributes.get( - "dtCreateFileEntryInvio"); - - if (dtCreateFileEntryInvio != null) { - setDtCreateFileEntryInvio(dtCreateFileEntryInvio); - } - - Long userIdPrimaFirma = (Long)attributes.get("userIdPrimaFirma"); - - if (userIdPrimaFirma != null) { - setUserIdPrimaFirma(userIdPrimaFirma); - } - - Long userIdSecondaFirma = (Long)attributes.get("userIdSecondaFirma"); - - if (userIdSecondaFirma != null) { - setUserIdSecondaFirma(userIdSecondaFirma); - } - - Boolean firmaInCorso = (Boolean)attributes.get("firmaInCorso"); - - if (firmaInCorso != null) { - setFirmaInCorso(firmaInCorso); - } - - String transactionIdPrimaFirma = (String)attributes.get( - "transactionIdPrimaFirma"); - - if (transactionIdPrimaFirma != null) { - setTransactionIdPrimaFirma(transactionIdPrimaFirma); - } - - String transactionIdSecondaFirma = (String)attributes.get( - "transactionIdSecondaFirma"); - - if (transactionIdSecondaFirma != null) { - setTransactionIdSecondaFirma(transactionIdSecondaFirma); - } - - String inviato = (String)attributes.get("inviato"); - - if (inviato != null) { - setInviato(inviato); - } - - Date dtInvio = (Date)attributes.get("dtInvio"); - - if (dtInvio != null) { - setDtInvio(dtInvio); - } - - Boolean annullato = (Boolean)attributes.get("annullato"); - - if (annullato != null) { - setAnnullato(annullato); - } - - Boolean errore = (Boolean)attributes.get("errore"); - - if (errore != null) { - setErrore(errore); - } - - Boolean signal = (Boolean)attributes.get("signal"); - - if (signal != null) { - setSignal(signal); - } - - Date dtInvioSignal = (Date)attributes.get("dtInvioSignal"); - - if (dtInvioSignal != null) { - setDtInvioSignal(dtInvioSignal); - } - - Boolean tempistica = (Boolean)attributes.get("tempistica"); - - if (tempistica != null) { - setTempistica(tempistica); - } - - Date dtTempistica = (Date)attributes.get("dtTempistica"); - - if (dtTempistica != null) { - setDtTempistica(dtTempistica); - } - - Long daxId = (Long)attributes.get("daxId"); - - if (daxId != null) { - setDaxId(daxId); - } - - Date dtInvioDax = (Date)attributes.get("dtInvioDax"); - - if (dtInvioDax != null) { - setDtInvioDax(dtInvioDax); - } - - String erroreDax = (String)attributes.get("erroreDax"); - - if (erroreDax != null) { - setErroreDax(erroreDax); - } - - Date dtErroreDax = (Date)attributes.get("dtErroreDax"); - - if (dtErroreDax != null) { - setDtErroreDax(dtErroreDax); - } - - String jsonParameters = (String)attributes.get("jsonParameters"); - - if (jsonParameters != null) { - setJsonParameters(jsonParameters); - } - - String protocollo = (String)attributes.get("protocollo"); - - if (protocollo != null) { - setProtocollo(protocollo); - } - - Boolean inviatoTecnico = (Boolean)attributes.get("inviatoTecnico"); - - if (inviatoTecnico != null) { - setInviatoTecnico(inviatoTecnico); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - } - - /** - * Returns the primary key of this bo avviso. - * - * @return the primary key of this bo avviso - */ - @Override - public long getPrimaryKey() { - return _boAvviso.getPrimaryKey(); - } - - /** - * Sets the primary key of this bo avviso. - * - * @param primaryKey the primary key of this bo avviso - */ - @Override - public void setPrimaryKey(long primaryKey) { - _boAvviso.setPrimaryKey(primaryKey); - } - - /** - * Returns the uuid of this bo avviso. - * - * @return the uuid of this bo avviso - */ - @Override - public java.lang.String getUuid() { - return _boAvviso.getUuid(); - } - - /** - * Sets the uuid of this bo avviso. - * - * @param uuid the uuid of this bo avviso - */ - @Override - public void setUuid(java.lang.String uuid) { - _boAvviso.setUuid(uuid); - } - - /** - * Returns the avviso ID of this bo avviso. - * - * @return the avviso ID of this bo avviso - */ - @Override - public long getAvvisoId() { - return _boAvviso.getAvvisoId(); - } - - /** - * Sets the avviso ID of this bo avviso. - * - * @param avvisoId the avviso ID of this bo avviso - */ - @Override - public void setAvvisoId(long avvisoId) { - _boAvviso.setAvvisoId(avvisoId); - } - - /** - * Returns the company ID of this bo avviso. - * - * @return the company ID of this bo avviso - */ - @Override - public long getCompanyId() { - return _boAvviso.getCompanyId(); - } - - /** - * Sets the company ID of this bo avviso. - * - * @param companyId the company ID of this bo avviso - */ - @Override - public void setCompanyId(long companyId) { - _boAvviso.setCompanyId(companyId); - } - - /** - * Returns the user ID of this bo avviso. - * - * @return the user ID of this bo avviso - */ - @Override - public long getUserId() { - return _boAvviso.getUserId(); - } - - /** - * Sets the user ID of this bo avviso. - * - * @param userId the user ID of this bo avviso - */ - @Override - public void setUserId(long userId) { - _boAvviso.setUserId(userId); - } - - /** - * Returns the user uuid of this bo avviso. - * - * @return the user uuid of this bo avviso - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _boAvviso.getUserUuid(); - } - - /** - * Sets the user uuid of this bo avviso. - * - * @param userUuid the user uuid of this bo avviso - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _boAvviso.setUserUuid(userUuid); - } - - /** - * Returns the user name of this bo avviso. - * - * @return the user name of this bo avviso - */ - @Override - public java.lang.String getUserName() { - return _boAvviso.getUserName(); - } - - /** - * Sets the user name of this bo avviso. - * - * @param userName the user name of this bo avviso - */ - @Override - public void setUserName(java.lang.String userName) { - _boAvviso.setUserName(userName); - } - - /** - * Returns the create date of this bo avviso. - * - * @return the create date of this bo avviso - */ - @Override - public java.util.Date getCreateDate() { - return _boAvviso.getCreateDate(); - } - - /** - * Sets the create date of this bo avviso. - * - * @param createDate the create date of this bo avviso - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _boAvviso.setCreateDate(createDate); - } - - /** - * Returns the modified date of this bo avviso. - * - * @return the modified date of this bo avviso - */ - @Override - public java.util.Date getModifiedDate() { - return _boAvviso.getModifiedDate(); - } - - /** - * Sets the modified date of this bo avviso. - * - * @param modifiedDate the modified date of this bo avviso - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _boAvviso.setModifiedDate(modifiedDate); - } - - /** - * Returns the group ID of this bo avviso. - * - * @return the group ID of this bo avviso - */ - @Override - public long getGroupId() { - return _boAvviso.getGroupId(); - } - - /** - * Sets the group ID of this bo avviso. - * - * @param groupId the group ID of this bo avviso - */ - @Override - public void setGroupId(long groupId) { - _boAvviso.setGroupId(groupId); - } - - /** - * Returns the desc long of this bo avviso. - * - * @return the desc long of this bo avviso - */ - @Override - public java.lang.String getDescLong() { - return _boAvviso.getDescLong(); - } - - /** - * Sets the desc long of this bo avviso. - * - * @param descLong the desc long of this bo avviso - */ - @Override - public void setDescLong(java.lang.String descLong) { - _boAvviso.setDescLong(descLong); - } - - /** - * Returns the dt avviso of this bo avviso. - * - * @return the dt avviso of this bo avviso - */ - @Override - public java.util.Date getDtAvviso() { - return _boAvviso.getDtAvviso(); - } - - /** - * Sets the dt avviso of this bo avviso. - * - * @param dtAvviso the dt avviso of this bo avviso - */ - @Override - public void setDtAvviso(java.util.Date dtAvviso) { - _boAvviso.setDtAvviso(dtAvviso); - } - - /** - * Returns the tipo avviso of this bo avviso. - * - * @return the tipo avviso of this bo avviso - */ - @Override - public java.lang.String getTipoAvviso() { - return _boAvviso.getTipoAvviso(); - } - - /** - * Sets the tipo avviso of this bo avviso. - * - * @param tipoAvviso the tipo avviso of this bo avviso - */ - @Override - public void setTipoAvviso(java.lang.String tipoAvviso) { - _boAvviso.setTipoAvviso(tipoAvviso); - } - - /** - * Returns the tipo documento of this bo avviso. - * - * @return the tipo documento of this bo avviso - */ - @Override - public java.lang.String getTipoDocumento() { - return _boAvviso.getTipoDocumento(); - } - - /** - * Sets the tipo documento of this bo avviso. - * - * @param tipoDocumento the tipo documento of this bo avviso - */ - @Override - public void setTipoDocumento(java.lang.String tipoDocumento) { - _boAvviso.setTipoDocumento(tipoDocumento); - } - - /** - * Returns the file entry ID template of this bo avviso. - * - * @return the file entry ID template of this bo avviso - */ - @Override - public long getFileEntryIdTemplate() { - return _boAvviso.getFileEntryIdTemplate(); - } - - /** - * Sets the file entry ID template of this bo avviso. - * - * @param fileEntryIdTemplate the file entry ID template of this bo avviso - */ - @Override - public void setFileEntryIdTemplate(long fileEntryIdTemplate) { - _boAvviso.setFileEntryIdTemplate(fileEntryIdTemplate); - } - - /** - * Returns the file entry ID base of this bo avviso. - * - * @return the file entry ID base of this bo avviso - */ - @Override - public long getFileEntryIdBase() { - return _boAvviso.getFileEntryIdBase(); - } - - /** - * Sets the file entry ID base of this bo avviso. - * - * @param fileEntryIdBase the file entry ID base of this bo avviso - */ - @Override - public void setFileEntryIdBase(long fileEntryIdBase) { - _boAvviso.setFileEntryIdBase(fileEntryIdBase); - } - - /** - * Returns the file entry ID firma of this bo avviso. - * - * @return the file entry ID firma of this bo avviso - */ - @Override - public long getFileEntryIdFirma() { - return _boAvviso.getFileEntryIdFirma(); - } - - /** - * Sets the file entry ID firma of this bo avviso. - * - * @param fileEntryIdFirma the file entry ID firma of this bo avviso - */ - @Override - public void setFileEntryIdFirma(long fileEntryIdFirma) { - _boAvviso.setFileEntryIdFirma(fileEntryIdFirma); - } - - /** - * Returns the file entry ID invio of this bo avviso. - * - * @return the file entry ID invio of this bo avviso - */ - @Override - public long getFileEntryIdInvio() { - return _boAvviso.getFileEntryIdInvio(); - } - - /** - * Sets the file entry ID invio of this bo avviso. - * - * @param fileEntryIdInvio the file entry ID invio of this bo avviso - */ - @Override - public void setFileEntryIdInvio(long fileEntryIdInvio) { - _boAvviso.setFileEntryIdInvio(fileEntryIdInvio); - } - - /** - * Returns the dt create file entry invio of this bo avviso. - * - * @return the dt create file entry invio of this bo avviso - */ - @Override - public java.util.Date getDtCreateFileEntryInvio() { - return _boAvviso.getDtCreateFileEntryInvio(); - } - - /** - * Sets the dt create file entry invio of this bo avviso. - * - * @param dtCreateFileEntryInvio the dt create file entry invio of this bo avviso - */ - @Override - public void setDtCreateFileEntryInvio(java.util.Date dtCreateFileEntryInvio) { - _boAvviso.setDtCreateFileEntryInvio(dtCreateFileEntryInvio); - } - - /** - * Returns the user ID prima firma of this bo avviso. - * - * @return the user ID prima firma of this bo avviso - */ - @Override - public long getUserIdPrimaFirma() { - return _boAvviso.getUserIdPrimaFirma(); - } - - /** - * Sets the user ID prima firma of this bo avviso. - * - * @param userIdPrimaFirma the user ID prima firma of this bo avviso - */ - @Override - public void setUserIdPrimaFirma(long userIdPrimaFirma) { - _boAvviso.setUserIdPrimaFirma(userIdPrimaFirma); - } - - /** - * Returns the user ID seconda firma of this bo avviso. - * - * @return the user ID seconda firma of this bo avviso - */ - @Override - public long getUserIdSecondaFirma() { - return _boAvviso.getUserIdSecondaFirma(); - } - - /** - * Sets the user ID seconda firma of this bo avviso. - * - * @param userIdSecondaFirma the user ID seconda firma of this bo avviso - */ - @Override - public void setUserIdSecondaFirma(long userIdSecondaFirma) { - _boAvviso.setUserIdSecondaFirma(userIdSecondaFirma); - } - - /** - * Returns the firma in corso of this bo avviso. - * - * @return the firma in corso of this bo avviso - */ - @Override - public boolean getFirmaInCorso() { - return _boAvviso.getFirmaInCorso(); - } - - /** - * Returns true if this bo avviso is firma in corso. - * - * @return true if this bo avviso is firma in corso; false otherwise - */ - @Override - public boolean isFirmaInCorso() { - return _boAvviso.isFirmaInCorso(); - } - - /** - * Sets whether this bo avviso is firma in corso. - * - * @param firmaInCorso the firma in corso of this bo avviso - */ - @Override - public void setFirmaInCorso(boolean firmaInCorso) { - _boAvviso.setFirmaInCorso(firmaInCorso); - } - - /** - * Returns the transaction ID prima firma of this bo avviso. - * - * @return the transaction ID prima firma of this bo avviso - */ - @Override - public java.lang.String getTransactionIdPrimaFirma() { - return _boAvviso.getTransactionIdPrimaFirma(); - } - - /** - * Sets the transaction ID prima firma of this bo avviso. - * - * @param transactionIdPrimaFirma the transaction ID prima firma of this bo avviso - */ - @Override - public void setTransactionIdPrimaFirma( - java.lang.String transactionIdPrimaFirma) { - _boAvviso.setTransactionIdPrimaFirma(transactionIdPrimaFirma); - } - - /** - * Returns the transaction ID seconda firma of this bo avviso. - * - * @return the transaction ID seconda firma of this bo avviso - */ - @Override - public java.lang.String getTransactionIdSecondaFirma() { - return _boAvviso.getTransactionIdSecondaFirma(); - } - - /** - * Sets the transaction ID seconda firma of this bo avviso. - * - * @param transactionIdSecondaFirma the transaction ID seconda firma of this bo avviso - */ - @Override - public void setTransactionIdSecondaFirma( - java.lang.String transactionIdSecondaFirma) { - _boAvviso.setTransactionIdSecondaFirma(transactionIdSecondaFirma); - } - - /** - * Returns the inviato of this bo avviso. - * - * @return the inviato of this bo avviso - */ - @Override - public java.lang.String getInviato() { - return _boAvviso.getInviato(); - } - - /** - * Sets the inviato of this bo avviso. - * - * @param inviato the inviato of this bo avviso - */ - @Override - public void setInviato(java.lang.String inviato) { - _boAvviso.setInviato(inviato); - } - - /** - * Returns the dt invio of this bo avviso. - * - * @return the dt invio of this bo avviso - */ - @Override - public java.util.Date getDtInvio() { - return _boAvviso.getDtInvio(); - } - - /** - * Sets the dt invio of this bo avviso. - * - * @param dtInvio the dt invio of this bo avviso - */ - @Override - public void setDtInvio(java.util.Date dtInvio) { - _boAvviso.setDtInvio(dtInvio); - } - - /** - * Returns the annullato of this bo avviso. - * - * @return the annullato of this bo avviso - */ - @Override - public boolean getAnnullato() { - return _boAvviso.getAnnullato(); - } - - /** - * Returns true if this bo avviso is annullato. - * - * @return true if this bo avviso is annullato; false otherwise - */ - @Override - public boolean isAnnullato() { - return _boAvviso.isAnnullato(); - } - - /** - * Sets whether this bo avviso is annullato. - * - * @param annullato the annullato of this bo avviso - */ - @Override - public void setAnnullato(boolean annullato) { - _boAvviso.setAnnullato(annullato); - } - - /** - * Returns the errore of this bo avviso. - * - * @return the errore of this bo avviso - */ - @Override - public boolean getErrore() { - return _boAvviso.getErrore(); - } - - /** - * Returns true if this bo avviso is errore. - * - * @return true if this bo avviso is errore; false otherwise - */ - @Override - public boolean isErrore() { - return _boAvviso.isErrore(); - } - - /** - * Sets whether this bo avviso is errore. - * - * @param errore the errore of this bo avviso - */ - @Override - public void setErrore(boolean errore) { - _boAvviso.setErrore(errore); - } - - /** - * Returns the signal of this bo avviso. - * - * @return the signal of this bo avviso - */ - @Override - public boolean getSignal() { - return _boAvviso.getSignal(); - } - - /** - * Returns true if this bo avviso is signal. - * - * @return true if this bo avviso is signal; false otherwise - */ - @Override - public boolean isSignal() { - return _boAvviso.isSignal(); - } - - /** - * Sets whether this bo avviso is signal. - * - * @param signal the signal of this bo avviso - */ - @Override - public void setSignal(boolean signal) { - _boAvviso.setSignal(signal); - } - - /** - * Returns the dt invio signal of this bo avviso. - * - * @return the dt invio signal of this bo avviso - */ - @Override - public java.util.Date getDtInvioSignal() { - return _boAvviso.getDtInvioSignal(); - } - - /** - * Sets the dt invio signal of this bo avviso. - * - * @param dtInvioSignal the dt invio signal of this bo avviso - */ - @Override - public void setDtInvioSignal(java.util.Date dtInvioSignal) { - _boAvviso.setDtInvioSignal(dtInvioSignal); - } - - /** - * Returns the tempistica of this bo avviso. - * - * @return the tempistica of this bo avviso - */ - @Override - public boolean getTempistica() { - return _boAvviso.getTempistica(); - } - - /** - * Returns true if this bo avviso is tempistica. - * - * @return true if this bo avviso is tempistica; false otherwise - */ - @Override - public boolean isTempistica() { - return _boAvviso.isTempistica(); - } - - /** - * Sets whether this bo avviso is tempistica. - * - * @param tempistica the tempistica of this bo avviso - */ - @Override - public void setTempistica(boolean tempistica) { - _boAvviso.setTempistica(tempistica); - } - - /** - * Returns the dt tempistica of this bo avviso. - * - * @return the dt tempistica of this bo avviso - */ - @Override - public java.util.Date getDtTempistica() { - return _boAvviso.getDtTempistica(); - } - - /** - * Sets the dt tempistica of this bo avviso. - * - * @param dtTempistica the dt tempistica of this bo avviso - */ - @Override - public void setDtTempistica(java.util.Date dtTempistica) { - _boAvviso.setDtTempistica(dtTempistica); - } - - /** - * Returns the dax ID of this bo avviso. - * - * @return the dax ID of this bo avviso - */ - @Override - public long getDaxId() { - return _boAvviso.getDaxId(); - } - - /** - * Sets the dax ID of this bo avviso. - * - * @param daxId the dax ID of this bo avviso - */ - @Override - public void setDaxId(long daxId) { - _boAvviso.setDaxId(daxId); - } - - /** - * Returns the dt invio dax of this bo avviso. - * - * @return the dt invio dax of this bo avviso - */ - @Override - public java.util.Date getDtInvioDax() { - return _boAvviso.getDtInvioDax(); - } - - /** - * Sets the dt invio dax of this bo avviso. - * - * @param dtInvioDax the dt invio dax of this bo avviso - */ - @Override - public void setDtInvioDax(java.util.Date dtInvioDax) { - _boAvviso.setDtInvioDax(dtInvioDax); - } - - /** - * Returns the errore dax of this bo avviso. - * - * @return the errore dax of this bo avviso - */ - @Override - public java.lang.String getErroreDax() { - return _boAvviso.getErroreDax(); - } - - /** - * Sets the errore dax of this bo avviso. - * - * @param erroreDax the errore dax of this bo avviso - */ - @Override - public void setErroreDax(java.lang.String erroreDax) { - _boAvviso.setErroreDax(erroreDax); - } - - /** - * Returns the dt errore dax of this bo avviso. - * - * @return the dt errore dax of this bo avviso - */ - @Override - public java.util.Date getDtErroreDax() { - return _boAvviso.getDtErroreDax(); - } - - /** - * Sets the dt errore dax of this bo avviso. - * - * @param dtErroreDax the dt errore dax of this bo avviso - */ - @Override - public void setDtErroreDax(java.util.Date dtErroreDax) { - _boAvviso.setDtErroreDax(dtErroreDax); - } - - /** - * Returns the json parameters of this bo avviso. - * - * @return the json parameters of this bo avviso - */ - @Override - public java.lang.String getJsonParameters() { - return _boAvviso.getJsonParameters(); - } - - /** - * Sets the json parameters of this bo avviso. - * - * @param jsonParameters the json parameters of this bo avviso - */ - @Override - public void setJsonParameters(java.lang.String jsonParameters) { - _boAvviso.setJsonParameters(jsonParameters); - } - - /** - * Returns the protocollo of this bo avviso. - * - * @return the protocollo of this bo avviso - */ - @Override - public java.lang.String getProtocollo() { - return _boAvviso.getProtocollo(); - } - - /** - * Sets the protocollo of this bo avviso. - * - * @param protocollo the protocollo of this bo avviso - */ - @Override - public void setProtocollo(java.lang.String protocollo) { - _boAvviso.setProtocollo(protocollo); - } - - /** - * Returns the inviato tecnico of this bo avviso. - * - * @return the inviato tecnico of this bo avviso - */ - @Override - public boolean getInviatoTecnico() { - return _boAvviso.getInviatoTecnico(); - } - - /** - * Returns true if this bo avviso is inviato tecnico. - * - * @return true if this bo avviso is inviato tecnico; false otherwise - */ - @Override - public boolean isInviatoTecnico() { - return _boAvviso.isInviatoTecnico(); - } - - /** - * Sets whether this bo avviso is inviato tecnico. - * - * @param inviatoTecnico the inviato tecnico of this bo avviso - */ - @Override - public void setInviatoTecnico(boolean inviatoTecnico) { - _boAvviso.setInviatoTecnico(inviatoTecnico); - } - - /** - * Returns the dett pratica ID of this bo avviso. - * - * @return the dett pratica ID of this bo avviso - */ - @Override - public long getDettPraticaId() { - return _boAvviso.getDettPraticaId(); - } - - /** - * Sets the dett pratica ID of this bo avviso. - * - * @param dettPraticaId the dett pratica ID of this bo avviso - */ - @Override - public void setDettPraticaId(long dettPraticaId) { - _boAvviso.setDettPraticaId(dettPraticaId); - } - - @Override - public boolean isNew() { - return _boAvviso.isNew(); - } - - @Override - public void setNew(boolean n) { - _boAvviso.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _boAvviso.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _boAvviso.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _boAvviso.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _boAvviso.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _boAvviso.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _boAvviso.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _boAvviso.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _boAvviso.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _boAvviso.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new BoAvvisoWrapper((BoAvviso)_boAvviso.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.BoAvviso boAvviso) { - return _boAvviso.compareTo(boAvviso); - } - - @Override - public int hashCode() { - return _boAvviso.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _boAvviso.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoAvviso toEscapedModel() { - return new BoAvvisoWrapper(_boAvviso.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoAvviso toUnescapedModel() { - return new BoAvvisoWrapper(_boAvviso.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _boAvviso.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _boAvviso.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _boAvviso.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoAvvisoWrapper)) { - return false; - } - - BoAvvisoWrapper boAvvisoWrapper = (BoAvvisoWrapper)obj; - - if (Validator.equals(_boAvviso, boAvvisoWrapper._boAvviso)) { - return true; - } - - return false; - } - - @Override - public StagedModelType getStagedModelType() { - return _boAvviso.getStagedModelType(); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public BoAvviso getWrappedBoAvviso() { - return _boAvviso; - } - - @Override - public BoAvviso getWrappedModel() { - return _boAvviso; - } - - @Override - public void resetOriginalValues() { - _boAvviso.resetOriginalValues(); - } - - private BoAvviso _boAvviso; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoComune.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoComune.java deleted file mode 100644 index 3bc7805a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoComune.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the BoComune service. Represents a row in the "gc_comune" database table, with each column mapped to a property of this class. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoComuneModel - * @see it.tref.liferay.portos.portosimport.model.impl.BoComuneImpl - * @see it.tref.liferay.portos.portosimport.model.impl.BoComuneModelImpl - * @generated - */ -public interface BoComune extends BoComuneModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.portosimport.model.impl.BoComuneImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoComuneClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoComuneClp.java deleted file mode 100644 index 37bf4e12..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoComuneClp.java +++ /dev/null @@ -1,617 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.portosimport.service.BoComuneLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.ClpSerializer; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class BoComuneClp extends BaseModelImpl implements BoComune { - public BoComuneClp() { - } - - @Override - public Class getModelClass() { - return BoComune.class; - } - - @Override - public String getModelClassName() { - return BoComune.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _comuneId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setComuneId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _comuneId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("comuneId", getComuneId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("provinciaId", getProvinciaId()); - attributes.put("codIstat", getCodIstat()); - attributes.put("codCatastale", getCodCatastale()); - attributes.put("descLong", getDescLong()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long comuneId = (Long)attributes.get("comuneId"); - - if (comuneId != null) { - setComuneId(comuneId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long provinciaId = (Long)attributes.get("provinciaId"); - - if (provinciaId != null) { - setProvinciaId(provinciaId); - } - - String codIstat = (String)attributes.get("codIstat"); - - if (codIstat != null) { - setCodIstat(codIstat); - } - - String codCatastale = (String)attributes.get("codCatastale"); - - if (codCatastale != null) { - setCodCatastale(codCatastale); - } - - String descLong = (String)attributes.get("descLong"); - - if (descLong != null) { - setDescLong(descLong); - } - } - - @Override - public long getComuneId() { - return _comuneId; - } - - @Override - public void setComuneId(long comuneId) { - _comuneId = comuneId; - - if (_boComuneRemoteModel != null) { - try { - Class clazz = _boComuneRemoteModel.getClass(); - - Method method = clazz.getMethod("setComuneId", long.class); - - method.invoke(_boComuneRemoteModel, comuneId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_boComuneRemoteModel != null) { - try { - Class clazz = _boComuneRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_boComuneRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_boComuneRemoteModel != null) { - try { - Class clazz = _boComuneRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_boComuneRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_boComuneRemoteModel != null) { - try { - Class clazz = _boComuneRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_boComuneRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_boComuneRemoteModel != null) { - try { - Class clazz = _boComuneRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_boComuneRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_boComuneRemoteModel != null) { - try { - Class clazz = _boComuneRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_boComuneRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getProvinciaId() { - return _provinciaId; - } - - @Override - public void setProvinciaId(long provinciaId) { - _provinciaId = provinciaId; - - if (_boComuneRemoteModel != null) { - try { - Class clazz = _boComuneRemoteModel.getClass(); - - Method method = clazz.getMethod("setProvinciaId", long.class); - - method.invoke(_boComuneRemoteModel, provinciaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodIstat() { - return _codIstat; - } - - @Override - public void setCodIstat(String codIstat) { - _codIstat = codIstat; - - if (_boComuneRemoteModel != null) { - try { - Class clazz = _boComuneRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodIstat", String.class); - - method.invoke(_boComuneRemoteModel, codIstat); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodCatastale() { - return _codCatastale; - } - - @Override - public void setCodCatastale(String codCatastale) { - _codCatastale = codCatastale; - - if (_boComuneRemoteModel != null) { - try { - Class clazz = _boComuneRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodCatastale", String.class); - - method.invoke(_boComuneRemoteModel, codCatastale); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getDescLong() { - return _descLong; - } - - @Override - public void setDescLong(String descLong) { - _descLong = descLong; - - if (_boComuneRemoteModel != null) { - try { - Class clazz = _boComuneRemoteModel.getClass(); - - Method method = clazz.getMethod("setDescLong", String.class); - - method.invoke(_boComuneRemoteModel, descLong); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - public BaseModel getBoComuneRemoteModel() { - return _boComuneRemoteModel; - } - - public void setBoComuneRemoteModel(BaseModel boComuneRemoteModel) { - _boComuneRemoteModel = boComuneRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _boComuneRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_boComuneRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoComuneLocalServiceUtil.addBoComune(this); - } - else { - BoComuneLocalServiceUtil.updateBoComune(this); - } - } - - @Override - public BoComune toEscapedModel() { - return (BoComune)ProxyUtil.newProxyInstance(BoComune.class.getClassLoader(), - new Class[] { BoComune.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - BoComuneClp clone = new BoComuneClp(); - - clone.setComuneId(getComuneId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setProvinciaId(getProvinciaId()); - clone.setCodIstat(getCodIstat()); - clone.setCodCatastale(getCodCatastale()); - clone.setDescLong(getDescLong()); - - return clone; - } - - @Override - public int compareTo(BoComune boComune) { - int value = 0; - - value = getDescLong().compareTo(boComune.getDescLong()); - - if (value != 0) { - return value; - } - - return 0; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoComuneClp)) { - return false; - } - - BoComuneClp boComune = (BoComuneClp)obj; - - long primaryKey = boComune.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(21); - - sb.append("{comuneId="); - sb.append(getComuneId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", provinciaId="); - sb.append(getProvinciaId()); - sb.append(", codIstat="); - sb.append(getCodIstat()); - sb.append(", codCatastale="); - sb.append(getCodCatastale()); - sb.append(", descLong="); - sb.append(getDescLong()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(34); - - sb.append(""); - sb.append("it.tref.liferay.portos.portosimport.model.BoComune"); - sb.append(""); - - sb.append( - "comuneId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "provinciaId"); - sb.append( - "codIstat"); - sb.append( - "codCatastale"); - sb.append( - "descLong"); - - sb.append(""); - - return sb.toString(); - } - - private long _comuneId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _provinciaId; - private String _codIstat; - private String _codCatastale; - private String _descLong; - private BaseModel _boComuneRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.portosimport.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoComuneModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoComuneModel.java deleted file mode 100644 index a21ff711..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoComuneModel.java +++ /dev/null @@ -1,292 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.AuditedModel; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the BoComune service. Represents a row in the "gc_comune" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.portosimport.model.impl.BoComuneModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.portosimport.model.impl.BoComuneImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoComune - * @see it.tref.liferay.portos.portosimport.model.impl.BoComuneImpl - * @see it.tref.liferay.portos.portosimport.model.impl.BoComuneModelImpl - * @generated - */ -public interface BoComuneModel extends AuditedModel, BaseModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a bo comune model instance should use the {@link BoComune} interface instead. - */ - - /** - * Returns the primary key of this bo comune. - * - * @return the primary key of this bo comune - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this bo comune. - * - * @param primaryKey the primary key of this bo comune - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the comune ID of this bo comune. - * - * @return the comune ID of this bo comune - */ - public long getComuneId(); - - /** - * Sets the comune ID of this bo comune. - * - * @param comuneId the comune ID of this bo comune - */ - public void setComuneId(long comuneId); - - /** - * Returns the company ID of this bo comune. - * - * @return the company ID of this bo comune - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this bo comune. - * - * @param companyId the company ID of this bo comune - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this bo comune. - * - * @return the user ID of this bo comune - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this bo comune. - * - * @param userId the user ID of this bo comune - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this bo comune. - * - * @return the user uuid of this bo comune - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this bo comune. - * - * @param userUuid the user uuid of this bo comune - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this bo comune. - * - * @return the user name of this bo comune - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this bo comune. - * - * @param userName the user name of this bo comune - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this bo comune. - * - * @return the create date of this bo comune - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this bo comune. - * - * @param createDate the create date of this bo comune - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this bo comune. - * - * @return the modified date of this bo comune - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this bo comune. - * - * @param modifiedDate the modified date of this bo comune - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the provincia ID of this bo comune. - * - * @return the provincia ID of this bo comune - */ - public long getProvinciaId(); - - /** - * Sets the provincia ID of this bo comune. - * - * @param provinciaId the provincia ID of this bo comune - */ - public void setProvinciaId(long provinciaId); - - /** - * Returns the cod istat of this bo comune. - * - * @return the cod istat of this bo comune - */ - @AutoEscape - public String getCodIstat(); - - /** - * Sets the cod istat of this bo comune. - * - * @param codIstat the cod istat of this bo comune - */ - public void setCodIstat(String codIstat); - - /** - * Returns the cod catastale of this bo comune. - * - * @return the cod catastale of this bo comune - */ - @AutoEscape - public String getCodCatastale(); - - /** - * Sets the cod catastale of this bo comune. - * - * @param codCatastale the cod catastale of this bo comune - */ - public void setCodCatastale(String codCatastale); - - /** - * Returns the desc long of this bo comune. - * - * @return the desc long of this bo comune - */ - @AutoEscape - public String getDescLong(); - - /** - * Sets the desc long of this bo comune. - * - * @param descLong the desc long of this bo comune - */ - public void setDescLong(String descLong); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.BoComune boComune); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.BoComune toEscapedModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.BoComune toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoComuneSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoComuneSoap.java deleted file mode 100644 index 3e9a57cb..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoComuneSoap.java +++ /dev/null @@ -1,185 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoComuneSoap implements Serializable { - public static BoComuneSoap toSoapModel(BoComune model) { - BoComuneSoap soapModel = new BoComuneSoap(); - - soapModel.setComuneId(model.getComuneId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setProvinciaId(model.getProvinciaId()); - soapModel.setCodIstat(model.getCodIstat()); - soapModel.setCodCatastale(model.getCodCatastale()); - soapModel.setDescLong(model.getDescLong()); - - return soapModel; - } - - public static BoComuneSoap[] toSoapModels(BoComune[] models) { - BoComuneSoap[] soapModels = new BoComuneSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static BoComuneSoap[][] toSoapModels(BoComune[][] models) { - BoComuneSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new BoComuneSoap[models.length][models[0].length]; - } - else { - soapModels = new BoComuneSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static BoComuneSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (BoComune model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new BoComuneSoap[soapModels.size()]); - } - - public BoComuneSoap() { - } - - public long getPrimaryKey() { - return _comuneId; - } - - public void setPrimaryKey(long pk) { - setComuneId(pk); - } - - public long getComuneId() { - return _comuneId; - } - - public void setComuneId(long comuneId) { - _comuneId = comuneId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public long getProvinciaId() { - return _provinciaId; - } - - public void setProvinciaId(long provinciaId) { - _provinciaId = provinciaId; - } - - public String getCodIstat() { - return _codIstat; - } - - public void setCodIstat(String codIstat) { - _codIstat = codIstat; - } - - public String getCodCatastale() { - return _codCatastale; - } - - public void setCodCatastale(String codCatastale) { - _codCatastale = codCatastale; - } - - public String getDescLong() { - return _descLong; - } - - public void setDescLong(String descLong) { - _descLong = descLong; - } - - private long _comuneId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _provinciaId; - private String _codIstat; - private String _codCatastale; - private String _descLong; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoComuneWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoComuneWrapper.java deleted file mode 100644 index 47ca8066..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoComuneWrapper.java +++ /dev/null @@ -1,513 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link BoComune}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoComune - * @generated - */ -public class BoComuneWrapper implements BoComune, ModelWrapper { - public BoComuneWrapper(BoComune boComune) { - _boComune = boComune; - } - - @Override - public Class getModelClass() { - return BoComune.class; - } - - @Override - public String getModelClassName() { - return BoComune.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("comuneId", getComuneId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("provinciaId", getProvinciaId()); - attributes.put("codIstat", getCodIstat()); - attributes.put("codCatastale", getCodCatastale()); - attributes.put("descLong", getDescLong()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long comuneId = (Long)attributes.get("comuneId"); - - if (comuneId != null) { - setComuneId(comuneId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long provinciaId = (Long)attributes.get("provinciaId"); - - if (provinciaId != null) { - setProvinciaId(provinciaId); - } - - String codIstat = (String)attributes.get("codIstat"); - - if (codIstat != null) { - setCodIstat(codIstat); - } - - String codCatastale = (String)attributes.get("codCatastale"); - - if (codCatastale != null) { - setCodCatastale(codCatastale); - } - - String descLong = (String)attributes.get("descLong"); - - if (descLong != null) { - setDescLong(descLong); - } - } - - /** - * Returns the primary key of this bo comune. - * - * @return the primary key of this bo comune - */ - @Override - public long getPrimaryKey() { - return _boComune.getPrimaryKey(); - } - - /** - * Sets the primary key of this bo comune. - * - * @param primaryKey the primary key of this bo comune - */ - @Override - public void setPrimaryKey(long primaryKey) { - _boComune.setPrimaryKey(primaryKey); - } - - /** - * Returns the comune ID of this bo comune. - * - * @return the comune ID of this bo comune - */ - @Override - public long getComuneId() { - return _boComune.getComuneId(); - } - - /** - * Sets the comune ID of this bo comune. - * - * @param comuneId the comune ID of this bo comune - */ - @Override - public void setComuneId(long comuneId) { - _boComune.setComuneId(comuneId); - } - - /** - * Returns the company ID of this bo comune. - * - * @return the company ID of this bo comune - */ - @Override - public long getCompanyId() { - return _boComune.getCompanyId(); - } - - /** - * Sets the company ID of this bo comune. - * - * @param companyId the company ID of this bo comune - */ - @Override - public void setCompanyId(long companyId) { - _boComune.setCompanyId(companyId); - } - - /** - * Returns the user ID of this bo comune. - * - * @return the user ID of this bo comune - */ - @Override - public long getUserId() { - return _boComune.getUserId(); - } - - /** - * Sets the user ID of this bo comune. - * - * @param userId the user ID of this bo comune - */ - @Override - public void setUserId(long userId) { - _boComune.setUserId(userId); - } - - /** - * Returns the user uuid of this bo comune. - * - * @return the user uuid of this bo comune - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _boComune.getUserUuid(); - } - - /** - * Sets the user uuid of this bo comune. - * - * @param userUuid the user uuid of this bo comune - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _boComune.setUserUuid(userUuid); - } - - /** - * Returns the user name of this bo comune. - * - * @return the user name of this bo comune - */ - @Override - public java.lang.String getUserName() { - return _boComune.getUserName(); - } - - /** - * Sets the user name of this bo comune. - * - * @param userName the user name of this bo comune - */ - @Override - public void setUserName(java.lang.String userName) { - _boComune.setUserName(userName); - } - - /** - * Returns the create date of this bo comune. - * - * @return the create date of this bo comune - */ - @Override - public java.util.Date getCreateDate() { - return _boComune.getCreateDate(); - } - - /** - * Sets the create date of this bo comune. - * - * @param createDate the create date of this bo comune - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _boComune.setCreateDate(createDate); - } - - /** - * Returns the modified date of this bo comune. - * - * @return the modified date of this bo comune - */ - @Override - public java.util.Date getModifiedDate() { - return _boComune.getModifiedDate(); - } - - /** - * Sets the modified date of this bo comune. - * - * @param modifiedDate the modified date of this bo comune - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _boComune.setModifiedDate(modifiedDate); - } - - /** - * Returns the provincia ID of this bo comune. - * - * @return the provincia ID of this bo comune - */ - @Override - public long getProvinciaId() { - return _boComune.getProvinciaId(); - } - - /** - * Sets the provincia ID of this bo comune. - * - * @param provinciaId the provincia ID of this bo comune - */ - @Override - public void setProvinciaId(long provinciaId) { - _boComune.setProvinciaId(provinciaId); - } - - /** - * Returns the cod istat of this bo comune. - * - * @return the cod istat of this bo comune - */ - @Override - public java.lang.String getCodIstat() { - return _boComune.getCodIstat(); - } - - /** - * Sets the cod istat of this bo comune. - * - * @param codIstat the cod istat of this bo comune - */ - @Override - public void setCodIstat(java.lang.String codIstat) { - _boComune.setCodIstat(codIstat); - } - - /** - * Returns the cod catastale of this bo comune. - * - * @return the cod catastale of this bo comune - */ - @Override - public java.lang.String getCodCatastale() { - return _boComune.getCodCatastale(); - } - - /** - * Sets the cod catastale of this bo comune. - * - * @param codCatastale the cod catastale of this bo comune - */ - @Override - public void setCodCatastale(java.lang.String codCatastale) { - _boComune.setCodCatastale(codCatastale); - } - - /** - * Returns the desc long of this bo comune. - * - * @return the desc long of this bo comune - */ - @Override - public java.lang.String getDescLong() { - return _boComune.getDescLong(); - } - - /** - * Sets the desc long of this bo comune. - * - * @param descLong the desc long of this bo comune - */ - @Override - public void setDescLong(java.lang.String descLong) { - _boComune.setDescLong(descLong); - } - - @Override - public boolean isNew() { - return _boComune.isNew(); - } - - @Override - public void setNew(boolean n) { - _boComune.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _boComune.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _boComune.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _boComune.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _boComune.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _boComune.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _boComune.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _boComune.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _boComune.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _boComune.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new BoComuneWrapper((BoComune)_boComune.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.BoComune boComune) { - return _boComune.compareTo(boComune); - } - - @Override - public int hashCode() { - return _boComune.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _boComune.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoComune toEscapedModel() { - return new BoComuneWrapper(_boComune.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoComune toUnescapedModel() { - return new BoComuneWrapper(_boComune.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _boComune.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _boComune.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _boComune.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoComuneWrapper)) { - return false; - } - - BoComuneWrapper boComuneWrapper = (BoComuneWrapper)obj; - - if (Validator.equals(_boComune, boComuneWrapper._boComune)) { - return true; - } - - return false; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public BoComune getWrappedBoComune() { - return _boComune; - } - - @Override - public BoComune getWrappedModel() { - return _boComune; - } - - @Override - public void resetOriginalValues() { - _boComune.resetOriginalValues(); - } - - private BoComune _boComune; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoDettPratica.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoDettPratica.java deleted file mode 100644 index 030d34c5..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoDettPratica.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the BoDettPratica service. Represents a row in the "gc_dettpratica" database table, with each column mapped to a property of this class. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoDettPraticaModel - * @see it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaImpl - * @see it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl - * @generated - */ -public interface BoDettPratica extends BoDettPraticaModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoDettPraticaClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoDettPraticaClp.java deleted file mode 100644 index 254efc91..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoDettPraticaClp.java +++ /dev/null @@ -1,1611 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.workflow.WorkflowConstants; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.ClpSerializer; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class BoDettPraticaClp extends BaseModelImpl - implements BoDettPratica { - public BoDettPraticaClp() { - } - - @Override - public Class getModelClass() { - return BoDettPratica.class; - } - - @Override - public String getModelClassName() { - return BoDettPratica.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _dettPraticaId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setDettPraticaId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _dettPraticaId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("integrazione", getIntegrazione()); - attributes.put("suapCode", getSuapCode()); - attributes.put("validata", getValidata()); - attributes.put("codPraticaSuap", getCodPraticaSuap()); - attributes.put("protocollo", getProtocollo()); - attributes.put("tipoIntegrazione", getTipoIntegrazione()); - attributes.put("completa", getCompleta()); - attributes.put("gestita", getGestita()); - attributes.put("codicePagamento", getCodicePagamento()); - attributes.put("causalePagamento", getCausalePagamento()); - attributes.put("mezzoPagamento", getMezzoPagamento()); - attributes.put("importoBolli", getImportoBolli()); - attributes.put("importoSpeseIstruttoria", getImportoSpeseIstruttoria()); - attributes.put("dataEffettuazione", getDataEffettuazione()); - attributes.put("esenzioneBolli", getEsenzioneBolli()); - attributes.put("esenzioneSpeseIstruttoria", - getEsenzioneSpeseIstruttoria()); - attributes.put("status", getStatus()); - attributes.put("statusByUserId", getStatusByUserId()); - attributes.put("statusByUserName", getStatusByUserName()); - attributes.put("statusDate", getStatusDate()); - attributes.put("statusTask", getStatusTask()); - attributes.put("workflowForzato", getWorkflowForzato()); - attributes.put("soggettoSostituitoId", getSoggettoSostituitoId()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - Long integrazione = (Long)attributes.get("integrazione"); - - if (integrazione != null) { - setIntegrazione(integrazione); - } - - String suapCode = (String)attributes.get("suapCode"); - - if (suapCode != null) { - setSuapCode(suapCode); - } - - Boolean validata = (Boolean)attributes.get("validata"); - - if (validata != null) { - setValidata(validata); - } - - String codPraticaSuap = (String)attributes.get("codPraticaSuap"); - - if (codPraticaSuap != null) { - setCodPraticaSuap(codPraticaSuap); - } - - String protocollo = (String)attributes.get("protocollo"); - - if (protocollo != null) { - setProtocollo(protocollo); - } - - String tipoIntegrazione = (String)attributes.get("tipoIntegrazione"); - - if (tipoIntegrazione != null) { - setTipoIntegrazione(tipoIntegrazione); - } - - Boolean completa = (Boolean)attributes.get("completa"); - - if (completa != null) { - setCompleta(completa); - } - - Boolean gestita = (Boolean)attributes.get("gestita"); - - if (gestita != null) { - setGestita(gestita); - } - - String codicePagamento = (String)attributes.get("codicePagamento"); - - if (codicePagamento != null) { - setCodicePagamento(codicePagamento); - } - - String causalePagamento = (String)attributes.get("causalePagamento"); - - if (causalePagamento != null) { - setCausalePagamento(causalePagamento); - } - - String mezzoPagamento = (String)attributes.get("mezzoPagamento"); - - if (mezzoPagamento != null) { - setMezzoPagamento(mezzoPagamento); - } - - String importoBolli = (String)attributes.get("importoBolli"); - - if (importoBolli != null) { - setImportoBolli(importoBolli); - } - - String importoSpeseIstruttoria = (String)attributes.get( - "importoSpeseIstruttoria"); - - if (importoSpeseIstruttoria != null) { - setImportoSpeseIstruttoria(importoSpeseIstruttoria); - } - - Date dataEffettuazione = (Date)attributes.get("dataEffettuazione"); - - if (dataEffettuazione != null) { - setDataEffettuazione(dataEffettuazione); - } - - Boolean esenzioneBolli = (Boolean)attributes.get("esenzioneBolli"); - - if (esenzioneBolli != null) { - setEsenzioneBolli(esenzioneBolli); - } - - Boolean esenzioneSpeseIstruttoria = (Boolean)attributes.get( - "esenzioneSpeseIstruttoria"); - - if (esenzioneSpeseIstruttoria != null) { - setEsenzioneSpeseIstruttoria(esenzioneSpeseIstruttoria); - } - - Integer status = (Integer)attributes.get("status"); - - if (status != null) { - setStatus(status); - } - - Long statusByUserId = (Long)attributes.get("statusByUserId"); - - if (statusByUserId != null) { - setStatusByUserId(statusByUserId); - } - - String statusByUserName = (String)attributes.get("statusByUserName"); - - if (statusByUserName != null) { - setStatusByUserName(statusByUserName); - } - - Date statusDate = (Date)attributes.get("statusDate"); - - if (statusDate != null) { - setStatusDate(statusDate); - } - - Integer statusTask = (Integer)attributes.get("statusTask"); - - if (statusTask != null) { - setStatusTask(statusTask); - } - - Boolean workflowForzato = (Boolean)attributes.get("workflowForzato"); - - if (workflowForzato != null) { - setWorkflowForzato(workflowForzato); - } - - Long soggettoSostituitoId = (Long)attributes.get("soggettoSostituitoId"); - - if (soggettoSostituitoId != null) { - setSoggettoSostituitoId(soggettoSostituitoId); - } - } - - @Override - public String getUuid() { - return _uuid; - } - - @Override - public void setUuid(String uuid) { - _uuid = uuid; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setUuid", String.class); - - method.invoke(_boDettPraticaRemoteModel, uuid); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getDettPraticaId() { - return _dettPraticaId; - } - - @Override - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDettPraticaId", long.class); - - method.invoke(_boDettPraticaRemoteModel, dettPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_boDettPraticaRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_boDettPraticaRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_boDettPraticaRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_boDettPraticaRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_boDettPraticaRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_boDettPraticaRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getIntPraticaId() { - return _intPraticaId; - } - - @Override - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setIntPraticaId", long.class); - - method.invoke(_boDettPraticaRemoteModel, intPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getIntegrazione() { - return _integrazione; - } - - @Override - public void setIntegrazione(long integrazione) { - _integrazione = integrazione; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setIntegrazione", long.class); - - method.invoke(_boDettPraticaRemoteModel, integrazione); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getSuapCode() { - return _suapCode; - } - - @Override - public void setSuapCode(String suapCode) { - _suapCode = suapCode; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setSuapCode", String.class); - - method.invoke(_boDettPraticaRemoteModel, suapCode); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getValidata() { - return _validata; - } - - @Override - public boolean isValidata() { - return _validata; - } - - @Override - public void setValidata(boolean validata) { - _validata = validata; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setValidata", boolean.class); - - method.invoke(_boDettPraticaRemoteModel, validata); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodPraticaSuap() { - return _codPraticaSuap; - } - - @Override - public void setCodPraticaSuap(String codPraticaSuap) { - _codPraticaSuap = codPraticaSuap; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodPraticaSuap", - String.class); - - method.invoke(_boDettPraticaRemoteModel, codPraticaSuap); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getProtocollo() { - return _protocollo; - } - - @Override - public void setProtocollo(String protocollo) { - _protocollo = protocollo; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setProtocollo", String.class); - - method.invoke(_boDettPraticaRemoteModel, protocollo); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getTipoIntegrazione() { - return _tipoIntegrazione; - } - - @Override - public void setTipoIntegrazione(String tipoIntegrazione) { - _tipoIntegrazione = tipoIntegrazione; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setTipoIntegrazione", - String.class); - - method.invoke(_boDettPraticaRemoteModel, tipoIntegrazione); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getCompleta() { - return _completa; - } - - @Override - public boolean isCompleta() { - return _completa; - } - - @Override - public void setCompleta(boolean completa) { - _completa = completa; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompleta", boolean.class); - - method.invoke(_boDettPraticaRemoteModel, completa); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getGestita() { - return _gestita; - } - - @Override - public boolean isGestita() { - return _gestita; - } - - @Override - public void setGestita(boolean gestita) { - _gestita = gestita; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setGestita", boolean.class); - - method.invoke(_boDettPraticaRemoteModel, gestita); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodicePagamento() { - return _codicePagamento; - } - - @Override - public void setCodicePagamento(String codicePagamento) { - _codicePagamento = codicePagamento; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodicePagamento", - String.class); - - method.invoke(_boDettPraticaRemoteModel, codicePagamento); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCausalePagamento() { - return _causalePagamento; - } - - @Override - public void setCausalePagamento(String causalePagamento) { - _causalePagamento = causalePagamento; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCausalePagamento", - String.class); - - method.invoke(_boDettPraticaRemoteModel, causalePagamento); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getMezzoPagamento() { - return _mezzoPagamento; - } - - @Override - public void setMezzoPagamento(String mezzoPagamento) { - _mezzoPagamento = mezzoPagamento; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setMezzoPagamento", - String.class); - - method.invoke(_boDettPraticaRemoteModel, mezzoPagamento); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getImportoBolli() { - return _importoBolli; - } - - @Override - public void setImportoBolli(String importoBolli) { - _importoBolli = importoBolli; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setImportoBolli", String.class); - - method.invoke(_boDettPraticaRemoteModel, importoBolli); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getImportoSpeseIstruttoria() { - return _importoSpeseIstruttoria; - } - - @Override - public void setImportoSpeseIstruttoria(String importoSpeseIstruttoria) { - _importoSpeseIstruttoria = importoSpeseIstruttoria; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setImportoSpeseIstruttoria", - String.class); - - method.invoke(_boDettPraticaRemoteModel, importoSpeseIstruttoria); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDataEffettuazione() { - return _dataEffettuazione; - } - - @Override - public void setDataEffettuazione(Date dataEffettuazione) { - _dataEffettuazione = dataEffettuazione; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDataEffettuazione", - Date.class); - - method.invoke(_boDettPraticaRemoteModel, dataEffettuazione); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getEsenzioneBolli() { - return _esenzioneBolli; - } - - @Override - public boolean isEsenzioneBolli() { - return _esenzioneBolli; - } - - @Override - public void setEsenzioneBolli(boolean esenzioneBolli) { - _esenzioneBolli = esenzioneBolli; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setEsenzioneBolli", - boolean.class); - - method.invoke(_boDettPraticaRemoteModel, esenzioneBolli); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getEsenzioneSpeseIstruttoria() { - return _esenzioneSpeseIstruttoria; - } - - @Override - public boolean isEsenzioneSpeseIstruttoria() { - return _esenzioneSpeseIstruttoria; - } - - @Override - public void setEsenzioneSpeseIstruttoria(boolean esenzioneSpeseIstruttoria) { - _esenzioneSpeseIstruttoria = esenzioneSpeseIstruttoria; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setEsenzioneSpeseIstruttoria", - boolean.class); - - method.invoke(_boDettPraticaRemoteModel, - esenzioneSpeseIstruttoria); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public int getStatus() { - return _status; - } - - @Override - public void setStatus(int status) { - _status = status; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setStatus", int.class); - - method.invoke(_boDettPraticaRemoteModel, status); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getStatusByUserId() { - return _statusByUserId; - } - - @Override - public void setStatusByUserId(long statusByUserId) { - _statusByUserId = statusByUserId; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setStatusByUserId", long.class); - - method.invoke(_boDettPraticaRemoteModel, statusByUserId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getStatusByUserUuid() throws SystemException { - return PortalUtil.getUserValue(getStatusByUserId(), "uuid", - _statusByUserUuid); - } - - @Override - public void setStatusByUserUuid(String statusByUserUuid) { - _statusByUserUuid = statusByUserUuid; - } - - @Override - public String getStatusByUserName() { - return _statusByUserName; - } - - @Override - public void setStatusByUserName(String statusByUserName) { - _statusByUserName = statusByUserName; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setStatusByUserName", - String.class); - - method.invoke(_boDettPraticaRemoteModel, statusByUserName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getStatusDate() { - return _statusDate; - } - - @Override - public void setStatusDate(Date statusDate) { - _statusDate = statusDate; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setStatusDate", Date.class); - - method.invoke(_boDettPraticaRemoteModel, statusDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public int getStatusTask() { - return _statusTask; - } - - @Override - public void setStatusTask(int statusTask) { - _statusTask = statusTask; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setStatusTask", int.class); - - method.invoke(_boDettPraticaRemoteModel, statusTask); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getWorkflowForzato() { - return _workflowForzato; - } - - @Override - public boolean isWorkflowForzato() { - return _workflowForzato; - } - - @Override - public void setWorkflowForzato(boolean workflowForzato) { - _workflowForzato = workflowForzato; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setWorkflowForzato", - boolean.class); - - method.invoke(_boDettPraticaRemoteModel, workflowForzato); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getSoggettoSostituitoId() { - return _soggettoSostituitoId; - } - - @Override - public void setSoggettoSostituitoId(long soggettoSostituitoId) { - _soggettoSostituitoId = soggettoSostituitoId; - - if (_boDettPraticaRemoteModel != null) { - try { - Class clazz = _boDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setSoggettoSostituitoId", - long.class); - - method.invoke(_boDettPraticaRemoteModel, soggettoSostituitoId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoDettPratica.class.getName())); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #isApproved} - */ - @Override - public boolean getApproved() { - return isApproved(); - } - - @Override - public boolean isApproved() { - if (getStatus() == WorkflowConstants.STATUS_APPROVED) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isDenied() { - if (getStatus() == WorkflowConstants.STATUS_DENIED) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isDraft() { - if (getStatus() == WorkflowConstants.STATUS_DRAFT) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isExpired() { - if (getStatus() == WorkflowConstants.STATUS_EXPIRED) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isInactive() { - if (getStatus() == WorkflowConstants.STATUS_INACTIVE) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isIncomplete() { - if (getStatus() == WorkflowConstants.STATUS_INCOMPLETE) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isPending() { - if (getStatus() == WorkflowConstants.STATUS_PENDING) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isScheduled() { - if (getStatus() == WorkflowConstants.STATUS_SCHEDULED) { - return true; - } - else { - return false; - } - } - - public BaseModel getBoDettPraticaRemoteModel() { - return _boDettPraticaRemoteModel; - } - - public void setBoDettPraticaRemoteModel( - BaseModel boDettPraticaRemoteModel) { - _boDettPraticaRemoteModel = boDettPraticaRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _boDettPraticaRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_boDettPraticaRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoDettPraticaLocalServiceUtil.addBoDettPratica(this); - } - else { - BoDettPraticaLocalServiceUtil.updateBoDettPratica(this); - } - } - - @Override - public BoDettPratica toEscapedModel() { - return (BoDettPratica)ProxyUtil.newProxyInstance(BoDettPratica.class.getClassLoader(), - new Class[] { BoDettPratica.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - BoDettPraticaClp clone = new BoDettPraticaClp(); - - clone.setUuid(getUuid()); - clone.setDettPraticaId(getDettPraticaId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setGroupId(getGroupId()); - clone.setIntPraticaId(getIntPraticaId()); - clone.setIntegrazione(getIntegrazione()); - clone.setSuapCode(getSuapCode()); - clone.setValidata(getValidata()); - clone.setCodPraticaSuap(getCodPraticaSuap()); - clone.setProtocollo(getProtocollo()); - clone.setTipoIntegrazione(getTipoIntegrazione()); - clone.setCompleta(getCompleta()); - clone.setGestita(getGestita()); - clone.setCodicePagamento(getCodicePagamento()); - clone.setCausalePagamento(getCausalePagamento()); - clone.setMezzoPagamento(getMezzoPagamento()); - clone.setImportoBolli(getImportoBolli()); - clone.setImportoSpeseIstruttoria(getImportoSpeseIstruttoria()); - clone.setDataEffettuazione(getDataEffettuazione()); - clone.setEsenzioneBolli(getEsenzioneBolli()); - clone.setEsenzioneSpeseIstruttoria(getEsenzioneSpeseIstruttoria()); - clone.setStatus(getStatus()); - clone.setStatusByUserId(getStatusByUserId()); - clone.setStatusByUserName(getStatusByUserName()); - clone.setStatusDate(getStatusDate()); - clone.setStatusTask(getStatusTask()); - clone.setWorkflowForzato(getWorkflowForzato()); - clone.setSoggettoSostituitoId(getSoggettoSostituitoId()); - - return clone; - } - - @Override - public int compareTo(BoDettPratica boDettPratica) { - long primaryKey = boDettPratica.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoDettPraticaClp)) { - return false; - } - - BoDettPraticaClp boDettPratica = (BoDettPraticaClp)obj; - - long primaryKey = boDettPratica.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(65); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", dettPraticaId="); - sb.append(getDettPraticaId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", intPraticaId="); - sb.append(getIntPraticaId()); - sb.append(", integrazione="); - sb.append(getIntegrazione()); - sb.append(", suapCode="); - sb.append(getSuapCode()); - sb.append(", validata="); - sb.append(getValidata()); - sb.append(", codPraticaSuap="); - sb.append(getCodPraticaSuap()); - sb.append(", protocollo="); - sb.append(getProtocollo()); - sb.append(", tipoIntegrazione="); - sb.append(getTipoIntegrazione()); - sb.append(", completa="); - sb.append(getCompleta()); - sb.append(", gestita="); - sb.append(getGestita()); - sb.append(", codicePagamento="); - sb.append(getCodicePagamento()); - sb.append(", causalePagamento="); - sb.append(getCausalePagamento()); - sb.append(", mezzoPagamento="); - sb.append(getMezzoPagamento()); - sb.append(", importoBolli="); - sb.append(getImportoBolli()); - sb.append(", importoSpeseIstruttoria="); - sb.append(getImportoSpeseIstruttoria()); - sb.append(", dataEffettuazione="); - sb.append(getDataEffettuazione()); - sb.append(", esenzioneBolli="); - sb.append(getEsenzioneBolli()); - sb.append(", esenzioneSpeseIstruttoria="); - sb.append(getEsenzioneSpeseIstruttoria()); - sb.append(", status="); - sb.append(getStatus()); - sb.append(", statusByUserId="); - sb.append(getStatusByUserId()); - sb.append(", statusByUserName="); - sb.append(getStatusByUserName()); - sb.append(", statusDate="); - sb.append(getStatusDate()); - sb.append(", statusTask="); - sb.append(getStatusTask()); - sb.append(", workflowForzato="); - sb.append(getWorkflowForzato()); - sb.append(", soggettoSostituitoId="); - sb.append(getSoggettoSostituitoId()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(100); - - sb.append(""); - sb.append("it.tref.liferay.portos.portosimport.model.BoDettPratica"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "dettPraticaId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "intPraticaId"); - sb.append( - "integrazione"); - sb.append( - "suapCode"); - sb.append( - "validata"); - sb.append( - "codPraticaSuap"); - sb.append( - "protocollo"); - sb.append( - "tipoIntegrazione"); - sb.append( - "completa"); - sb.append( - "gestita"); - sb.append( - "codicePagamento"); - sb.append( - "causalePagamento"); - sb.append( - "mezzoPagamento"); - sb.append( - "importoBolli"); - sb.append( - "importoSpeseIstruttoria"); - sb.append( - "dataEffettuazione"); - sb.append( - "esenzioneBolli"); - sb.append( - "esenzioneSpeseIstruttoria"); - sb.append( - "status"); - sb.append( - "statusByUserId"); - sb.append( - "statusByUserName"); - sb.append( - "statusDate"); - sb.append( - "statusTask"); - sb.append( - "workflowForzato"); - sb.append( - "soggettoSostituitoId"); - - sb.append(""); - - return sb.toString(); - } - - private String _uuid; - private long _dettPraticaId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _intPraticaId; - private long _integrazione; - private String _suapCode; - private boolean _validata; - private String _codPraticaSuap; - private String _protocollo; - private String _tipoIntegrazione; - private boolean _completa; - private boolean _gestita; - private String _codicePagamento; - private String _causalePagamento; - private String _mezzoPagamento; - private String _importoBolli; - private String _importoSpeseIstruttoria; - private Date _dataEffettuazione; - private boolean _esenzioneBolli; - private boolean _esenzioneSpeseIstruttoria; - private int _status; - private long _statusByUserId; - private String _statusByUserUuid; - private String _statusByUserName; - private Date _statusDate; - private int _statusTask; - private boolean _workflowForzato; - private long _soggettoSostituitoId; - private BaseModel _boDettPraticaRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.portosimport.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoDettPraticaModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoDettPraticaModel.java deleted file mode 100644 index baf53105..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoDettPraticaModel.java +++ /dev/null @@ -1,751 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.StagedGroupedModel; -import com.liferay.portal.model.WorkflowedModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the BoDettPratica service. Represents a row in the "gc_dettpratica" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoDettPratica - * @see it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaImpl - * @see it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl - * @generated - */ -public interface BoDettPraticaModel extends BaseModel, - StagedGroupedModel, WorkflowedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a bo dett pratica model instance should use the {@link BoDettPratica} interface instead. - */ - - /** - * Returns the primary key of this bo dett pratica. - * - * @return the primary key of this bo dett pratica - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this bo dett pratica. - * - * @param primaryKey the primary key of this bo dett pratica - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the uuid of this bo dett pratica. - * - * @return the uuid of this bo dett pratica - */ - @AutoEscape - @Override - public String getUuid(); - - /** - * Sets the uuid of this bo dett pratica. - * - * @param uuid the uuid of this bo dett pratica - */ - @Override - public void setUuid(String uuid); - - /** - * Returns the dett pratica ID of this bo dett pratica. - * - * @return the dett pratica ID of this bo dett pratica - */ - public long getDettPraticaId(); - - /** - * Sets the dett pratica ID of this bo dett pratica. - * - * @param dettPraticaId the dett pratica ID of this bo dett pratica - */ - public void setDettPraticaId(long dettPraticaId); - - /** - * Returns the company ID of this bo dett pratica. - * - * @return the company ID of this bo dett pratica - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this bo dett pratica. - * - * @param companyId the company ID of this bo dett pratica - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this bo dett pratica. - * - * @return the user ID of this bo dett pratica - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this bo dett pratica. - * - * @param userId the user ID of this bo dett pratica - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this bo dett pratica. - * - * @return the user uuid of this bo dett pratica - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this bo dett pratica. - * - * @param userUuid the user uuid of this bo dett pratica - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this bo dett pratica. - * - * @return the user name of this bo dett pratica - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this bo dett pratica. - * - * @param userName the user name of this bo dett pratica - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this bo dett pratica. - * - * @return the create date of this bo dett pratica - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this bo dett pratica. - * - * @param createDate the create date of this bo dett pratica - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this bo dett pratica. - * - * @return the modified date of this bo dett pratica - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this bo dett pratica. - * - * @param modifiedDate the modified date of this bo dett pratica - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the group ID of this bo dett pratica. - * - * @return the group ID of this bo dett pratica - */ - @Override - public long getGroupId(); - - /** - * Sets the group ID of this bo dett pratica. - * - * @param groupId the group ID of this bo dett pratica - */ - @Override - public void setGroupId(long groupId); - - /** - * Returns the int pratica ID of this bo dett pratica. - * - * @return the int pratica ID of this bo dett pratica - */ - public long getIntPraticaId(); - - /** - * Sets the int pratica ID of this bo dett pratica. - * - * @param intPraticaId the int pratica ID of this bo dett pratica - */ - public void setIntPraticaId(long intPraticaId); - - /** - * Returns the integrazione of this bo dett pratica. - * - * @return the integrazione of this bo dett pratica - */ - public long getIntegrazione(); - - /** - * Sets the integrazione of this bo dett pratica. - * - * @param integrazione the integrazione of this bo dett pratica - */ - public void setIntegrazione(long integrazione); - - /** - * Returns the suap code of this bo dett pratica. - * - * @return the suap code of this bo dett pratica - */ - @AutoEscape - public String getSuapCode(); - - /** - * Sets the suap code of this bo dett pratica. - * - * @param suapCode the suap code of this bo dett pratica - */ - public void setSuapCode(String suapCode); - - /** - * Returns the validata of this bo dett pratica. - * - * @return the validata of this bo dett pratica - */ - public boolean getValidata(); - - /** - * Returns true if this bo dett pratica is validata. - * - * @return true if this bo dett pratica is validata; false otherwise - */ - public boolean isValidata(); - - /** - * Sets whether this bo dett pratica is validata. - * - * @param validata the validata of this bo dett pratica - */ - public void setValidata(boolean validata); - - /** - * Returns the cod pratica suap of this bo dett pratica. - * - * @return the cod pratica suap of this bo dett pratica - */ - @AutoEscape - public String getCodPraticaSuap(); - - /** - * Sets the cod pratica suap of this bo dett pratica. - * - * @param codPraticaSuap the cod pratica suap of this bo dett pratica - */ - public void setCodPraticaSuap(String codPraticaSuap); - - /** - * Returns the protocollo of this bo dett pratica. - * - * @return the protocollo of this bo dett pratica - */ - @AutoEscape - public String getProtocollo(); - - /** - * Sets the protocollo of this bo dett pratica. - * - * @param protocollo the protocollo of this bo dett pratica - */ - public void setProtocollo(String protocollo); - - /** - * Returns the tipo integrazione of this bo dett pratica. - * - * @return the tipo integrazione of this bo dett pratica - */ - @AutoEscape - public String getTipoIntegrazione(); - - /** - * Sets the tipo integrazione of this bo dett pratica. - * - * @param tipoIntegrazione the tipo integrazione of this bo dett pratica - */ - public void setTipoIntegrazione(String tipoIntegrazione); - - /** - * Returns the completa of this bo dett pratica. - * - * @return the completa of this bo dett pratica - */ - public boolean getCompleta(); - - /** - * Returns true if this bo dett pratica is completa. - * - * @return true if this bo dett pratica is completa; false otherwise - */ - public boolean isCompleta(); - - /** - * Sets whether this bo dett pratica is completa. - * - * @param completa the completa of this bo dett pratica - */ - public void setCompleta(boolean completa); - - /** - * Returns the gestita of this bo dett pratica. - * - * @return the gestita of this bo dett pratica - */ - public boolean getGestita(); - - /** - * Returns true if this bo dett pratica is gestita. - * - * @return true if this bo dett pratica is gestita; false otherwise - */ - public boolean isGestita(); - - /** - * Sets whether this bo dett pratica is gestita. - * - * @param gestita the gestita of this bo dett pratica - */ - public void setGestita(boolean gestita); - - /** - * Returns the codice pagamento of this bo dett pratica. - * - * @return the codice pagamento of this bo dett pratica - */ - @AutoEscape - public String getCodicePagamento(); - - /** - * Sets the codice pagamento of this bo dett pratica. - * - * @param codicePagamento the codice pagamento of this bo dett pratica - */ - public void setCodicePagamento(String codicePagamento); - - /** - * Returns the causale pagamento of this bo dett pratica. - * - * @return the causale pagamento of this bo dett pratica - */ - @AutoEscape - public String getCausalePagamento(); - - /** - * Sets the causale pagamento of this bo dett pratica. - * - * @param causalePagamento the causale pagamento of this bo dett pratica - */ - public void setCausalePagamento(String causalePagamento); - - /** - * Returns the mezzo pagamento of this bo dett pratica. - * - * @return the mezzo pagamento of this bo dett pratica - */ - @AutoEscape - public String getMezzoPagamento(); - - /** - * Sets the mezzo pagamento of this bo dett pratica. - * - * @param mezzoPagamento the mezzo pagamento of this bo dett pratica - */ - public void setMezzoPagamento(String mezzoPagamento); - - /** - * Returns the importo bolli of this bo dett pratica. - * - * @return the importo bolli of this bo dett pratica - */ - @AutoEscape - public String getImportoBolli(); - - /** - * Sets the importo bolli of this bo dett pratica. - * - * @param importoBolli the importo bolli of this bo dett pratica - */ - public void setImportoBolli(String importoBolli); - - /** - * Returns the importo spese istruttoria of this bo dett pratica. - * - * @return the importo spese istruttoria of this bo dett pratica - */ - @AutoEscape - public String getImportoSpeseIstruttoria(); - - /** - * Sets the importo spese istruttoria of this bo dett pratica. - * - * @param importoSpeseIstruttoria the importo spese istruttoria of this bo dett pratica - */ - public void setImportoSpeseIstruttoria(String importoSpeseIstruttoria); - - /** - * Returns the data effettuazione of this bo dett pratica. - * - * @return the data effettuazione of this bo dett pratica - */ - public Date getDataEffettuazione(); - - /** - * Sets the data effettuazione of this bo dett pratica. - * - * @param dataEffettuazione the data effettuazione of this bo dett pratica - */ - public void setDataEffettuazione(Date dataEffettuazione); - - /** - * Returns the esenzione bolli of this bo dett pratica. - * - * @return the esenzione bolli of this bo dett pratica - */ - public boolean getEsenzioneBolli(); - - /** - * Returns true if this bo dett pratica is esenzione bolli. - * - * @return true if this bo dett pratica is esenzione bolli; false otherwise - */ - public boolean isEsenzioneBolli(); - - /** - * Sets whether this bo dett pratica is esenzione bolli. - * - * @param esenzioneBolli the esenzione bolli of this bo dett pratica - */ - public void setEsenzioneBolli(boolean esenzioneBolli); - - /** - * Returns the esenzione spese istruttoria of this bo dett pratica. - * - * @return the esenzione spese istruttoria of this bo dett pratica - */ - public boolean getEsenzioneSpeseIstruttoria(); - - /** - * Returns true if this bo dett pratica is esenzione spese istruttoria. - * - * @return true if this bo dett pratica is esenzione spese istruttoria; false otherwise - */ - public boolean isEsenzioneSpeseIstruttoria(); - - /** - * Sets whether this bo dett pratica is esenzione spese istruttoria. - * - * @param esenzioneSpeseIstruttoria the esenzione spese istruttoria of this bo dett pratica - */ - public void setEsenzioneSpeseIstruttoria(boolean esenzioneSpeseIstruttoria); - - /** - * Returns the status of this bo dett pratica. - * - * @return the status of this bo dett pratica - */ - @Override - public int getStatus(); - - /** - * Sets the status of this bo dett pratica. - * - * @param status the status of this bo dett pratica - */ - @Override - public void setStatus(int status); - - /** - * Returns the status by user ID of this bo dett pratica. - * - * @return the status by user ID of this bo dett pratica - */ - @Override - public long getStatusByUserId(); - - /** - * Sets the status by user ID of this bo dett pratica. - * - * @param statusByUserId the status by user ID of this bo dett pratica - */ - @Override - public void setStatusByUserId(long statusByUserId); - - /** - * Returns the status by user uuid of this bo dett pratica. - * - * @return the status by user uuid of this bo dett pratica - * @throws SystemException if a system exception occurred - */ - @Override - public String getStatusByUserUuid() throws SystemException; - - /** - * Sets the status by user uuid of this bo dett pratica. - * - * @param statusByUserUuid the status by user uuid of this bo dett pratica - */ - @Override - public void setStatusByUserUuid(String statusByUserUuid); - - /** - * Returns the status by user name of this bo dett pratica. - * - * @return the status by user name of this bo dett pratica - */ - @AutoEscape - @Override - public String getStatusByUserName(); - - /** - * Sets the status by user name of this bo dett pratica. - * - * @param statusByUserName the status by user name of this bo dett pratica - */ - @Override - public void setStatusByUserName(String statusByUserName); - - /** - * Returns the status date of this bo dett pratica. - * - * @return the status date of this bo dett pratica - */ - @Override - public Date getStatusDate(); - - /** - * Sets the status date of this bo dett pratica. - * - * @param statusDate the status date of this bo dett pratica - */ - @Override - public void setStatusDate(Date statusDate); - - /** - * Returns the status task of this bo dett pratica. - * - * @return the status task of this bo dett pratica - */ - public int getStatusTask(); - - /** - * Sets the status task of this bo dett pratica. - * - * @param statusTask the status task of this bo dett pratica - */ - public void setStatusTask(int statusTask); - - /** - * Returns the workflow forzato of this bo dett pratica. - * - * @return the workflow forzato of this bo dett pratica - */ - public boolean getWorkflowForzato(); - - /** - * Returns true if this bo dett pratica is workflow forzato. - * - * @return true if this bo dett pratica is workflow forzato; false otherwise - */ - public boolean isWorkflowForzato(); - - /** - * Sets whether this bo dett pratica is workflow forzato. - * - * @param workflowForzato the workflow forzato of this bo dett pratica - */ - public void setWorkflowForzato(boolean workflowForzato); - - /** - * Returns the soggetto sostituito ID of this bo dett pratica. - * - * @return the soggetto sostituito ID of this bo dett pratica - */ - public long getSoggettoSostituitoId(); - - /** - * Sets the soggetto sostituito ID of this bo dett pratica. - * - * @param soggettoSostituitoId the soggetto sostituito ID of this bo dett pratica - */ - public void setSoggettoSostituitoId(long soggettoSostituitoId); - - /** - * @deprecated As of 6.1.0, replaced by {@link #isApproved()} - */ - @Override - public boolean getApproved(); - - /** - * Returns true if this bo dett pratica is approved. - * - * @return true if this bo dett pratica is approved; false otherwise - */ - @Override - public boolean isApproved(); - - /** - * Returns true if this bo dett pratica is denied. - * - * @return true if this bo dett pratica is denied; false otherwise - */ - @Override - public boolean isDenied(); - - /** - * Returns true if this bo dett pratica is a draft. - * - * @return true if this bo dett pratica is a draft; false otherwise - */ - @Override - public boolean isDraft(); - - /** - * Returns true if this bo dett pratica is expired. - * - * @return true if this bo dett pratica is expired; false otherwise - */ - @Override - public boolean isExpired(); - - /** - * Returns true if this bo dett pratica is inactive. - * - * @return true if this bo dett pratica is inactive; false otherwise - */ - @Override - public boolean isInactive(); - - /** - * Returns true if this bo dett pratica is incomplete. - * - * @return true if this bo dett pratica is incomplete; false otherwise - */ - @Override - public boolean isIncomplete(); - - /** - * Returns true if this bo dett pratica is pending. - * - * @return true if this bo dett pratica is pending; false otherwise - */ - @Override - public boolean isPending(); - - /** - * Returns true if this bo dett pratica is scheduled. - * - * @return true if this bo dett pratica is scheduled; false otherwise - */ - @Override - public boolean isScheduled(); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.BoDettPratica boDettPratica); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.BoDettPratica toEscapedModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.BoDettPratica toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoDettPraticaSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoDettPraticaSoap.java deleted file mode 100644 index 88d7c16a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoDettPraticaSoap.java +++ /dev/null @@ -1,429 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoDettPraticaSoap implements Serializable { - public static BoDettPraticaSoap toSoapModel(BoDettPratica model) { - BoDettPraticaSoap soapModel = new BoDettPraticaSoap(); - - soapModel.setUuid(model.getUuid()); - soapModel.setDettPraticaId(model.getDettPraticaId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setIntPraticaId(model.getIntPraticaId()); - soapModel.setIntegrazione(model.getIntegrazione()); - soapModel.setSuapCode(model.getSuapCode()); - soapModel.setValidata(model.getValidata()); - soapModel.setCodPraticaSuap(model.getCodPraticaSuap()); - soapModel.setProtocollo(model.getProtocollo()); - soapModel.setTipoIntegrazione(model.getTipoIntegrazione()); - soapModel.setCompleta(model.getCompleta()); - soapModel.setGestita(model.getGestita()); - soapModel.setCodicePagamento(model.getCodicePagamento()); - soapModel.setCausalePagamento(model.getCausalePagamento()); - soapModel.setMezzoPagamento(model.getMezzoPagamento()); - soapModel.setImportoBolli(model.getImportoBolli()); - soapModel.setImportoSpeseIstruttoria(model.getImportoSpeseIstruttoria()); - soapModel.setDataEffettuazione(model.getDataEffettuazione()); - soapModel.setEsenzioneBolli(model.getEsenzioneBolli()); - soapModel.setEsenzioneSpeseIstruttoria(model.getEsenzioneSpeseIstruttoria()); - soapModel.setStatus(model.getStatus()); - soapModel.setStatusByUserId(model.getStatusByUserId()); - soapModel.setStatusByUserName(model.getStatusByUserName()); - soapModel.setStatusDate(model.getStatusDate()); - soapModel.setStatusTask(model.getStatusTask()); - soapModel.setWorkflowForzato(model.getWorkflowForzato()); - soapModel.setSoggettoSostituitoId(model.getSoggettoSostituitoId()); - - return soapModel; - } - - public static BoDettPraticaSoap[] toSoapModels(BoDettPratica[] models) { - BoDettPraticaSoap[] soapModels = new BoDettPraticaSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static BoDettPraticaSoap[][] toSoapModels(BoDettPratica[][] models) { - BoDettPraticaSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new BoDettPraticaSoap[models.length][models[0].length]; - } - else { - soapModels = new BoDettPraticaSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static BoDettPraticaSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (BoDettPratica model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new BoDettPraticaSoap[soapModels.size()]); - } - - public BoDettPraticaSoap() { - } - - public long getPrimaryKey() { - return _dettPraticaId; - } - - public void setPrimaryKey(long pk) { - setDettPraticaId(pk); - } - - public String getUuid() { - return _uuid; - } - - public void setUuid(String uuid) { - _uuid = uuid; - } - - public long getDettPraticaId() { - return _dettPraticaId; - } - - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public long getIntPraticaId() { - return _intPraticaId; - } - - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - } - - public long getIntegrazione() { - return _integrazione; - } - - public void setIntegrazione(long integrazione) { - _integrazione = integrazione; - } - - public String getSuapCode() { - return _suapCode; - } - - public void setSuapCode(String suapCode) { - _suapCode = suapCode; - } - - public boolean getValidata() { - return _validata; - } - - public boolean isValidata() { - return _validata; - } - - public void setValidata(boolean validata) { - _validata = validata; - } - - public String getCodPraticaSuap() { - return _codPraticaSuap; - } - - public void setCodPraticaSuap(String codPraticaSuap) { - _codPraticaSuap = codPraticaSuap; - } - - public String getProtocollo() { - return _protocollo; - } - - public void setProtocollo(String protocollo) { - _protocollo = protocollo; - } - - public String getTipoIntegrazione() { - return _tipoIntegrazione; - } - - public void setTipoIntegrazione(String tipoIntegrazione) { - _tipoIntegrazione = tipoIntegrazione; - } - - public boolean getCompleta() { - return _completa; - } - - public boolean isCompleta() { - return _completa; - } - - public void setCompleta(boolean completa) { - _completa = completa; - } - - public boolean getGestita() { - return _gestita; - } - - public boolean isGestita() { - return _gestita; - } - - public void setGestita(boolean gestita) { - _gestita = gestita; - } - - public String getCodicePagamento() { - return _codicePagamento; - } - - public void setCodicePagamento(String codicePagamento) { - _codicePagamento = codicePagamento; - } - - public String getCausalePagamento() { - return _causalePagamento; - } - - public void setCausalePagamento(String causalePagamento) { - _causalePagamento = causalePagamento; - } - - public String getMezzoPagamento() { - return _mezzoPagamento; - } - - public void setMezzoPagamento(String mezzoPagamento) { - _mezzoPagamento = mezzoPagamento; - } - - public String getImportoBolli() { - return _importoBolli; - } - - public void setImportoBolli(String importoBolli) { - _importoBolli = importoBolli; - } - - public String getImportoSpeseIstruttoria() { - return _importoSpeseIstruttoria; - } - - public void setImportoSpeseIstruttoria(String importoSpeseIstruttoria) { - _importoSpeseIstruttoria = importoSpeseIstruttoria; - } - - public Date getDataEffettuazione() { - return _dataEffettuazione; - } - - public void setDataEffettuazione(Date dataEffettuazione) { - _dataEffettuazione = dataEffettuazione; - } - - public boolean getEsenzioneBolli() { - return _esenzioneBolli; - } - - public boolean isEsenzioneBolli() { - return _esenzioneBolli; - } - - public void setEsenzioneBolli(boolean esenzioneBolli) { - _esenzioneBolli = esenzioneBolli; - } - - public boolean getEsenzioneSpeseIstruttoria() { - return _esenzioneSpeseIstruttoria; - } - - public boolean isEsenzioneSpeseIstruttoria() { - return _esenzioneSpeseIstruttoria; - } - - public void setEsenzioneSpeseIstruttoria(boolean esenzioneSpeseIstruttoria) { - _esenzioneSpeseIstruttoria = esenzioneSpeseIstruttoria; - } - - public int getStatus() { - return _status; - } - - public void setStatus(int status) { - _status = status; - } - - public long getStatusByUserId() { - return _statusByUserId; - } - - public void setStatusByUserId(long statusByUserId) { - _statusByUserId = statusByUserId; - } - - public String getStatusByUserName() { - return _statusByUserName; - } - - public void setStatusByUserName(String statusByUserName) { - _statusByUserName = statusByUserName; - } - - public Date getStatusDate() { - return _statusDate; - } - - public void setStatusDate(Date statusDate) { - _statusDate = statusDate; - } - - public int getStatusTask() { - return _statusTask; - } - - public void setStatusTask(int statusTask) { - _statusTask = statusTask; - } - - public boolean getWorkflowForzato() { - return _workflowForzato; - } - - public boolean isWorkflowForzato() { - return _workflowForzato; - } - - public void setWorkflowForzato(boolean workflowForzato) { - _workflowForzato = workflowForzato; - } - - public long getSoggettoSostituitoId() { - return _soggettoSostituitoId; - } - - public void setSoggettoSostituitoId(long soggettoSostituitoId) { - _soggettoSostituitoId = soggettoSostituitoId; - } - - private String _uuid; - private long _dettPraticaId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _intPraticaId; - private long _integrazione; - private String _suapCode; - private boolean _validata; - private String _codPraticaSuap; - private String _protocollo; - private String _tipoIntegrazione; - private boolean _completa; - private boolean _gestita; - private String _codicePagamento; - private String _causalePagamento; - private String _mezzoPagamento; - private String _importoBolli; - private String _importoSpeseIstruttoria; - private Date _dataEffettuazione; - private boolean _esenzioneBolli; - private boolean _esenzioneSpeseIstruttoria; - private int _status; - private long _statusByUserId; - private String _statusByUserName; - private Date _statusDate; - private int _statusTask; - private boolean _workflowForzato; - private long _soggettoSostituitoId; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoDettPraticaWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoDettPraticaWrapper.java deleted file mode 100644 index bc7324a8..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoDettPraticaWrapper.java +++ /dev/null @@ -1,1288 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link BoDettPratica}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoDettPratica - * @generated - */ -public class BoDettPraticaWrapper implements BoDettPratica, - ModelWrapper { - public BoDettPraticaWrapper(BoDettPratica boDettPratica) { - _boDettPratica = boDettPratica; - } - - @Override - public Class getModelClass() { - return BoDettPratica.class; - } - - @Override - public String getModelClassName() { - return BoDettPratica.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("integrazione", getIntegrazione()); - attributes.put("suapCode", getSuapCode()); - attributes.put("validata", getValidata()); - attributes.put("codPraticaSuap", getCodPraticaSuap()); - attributes.put("protocollo", getProtocollo()); - attributes.put("tipoIntegrazione", getTipoIntegrazione()); - attributes.put("completa", getCompleta()); - attributes.put("gestita", getGestita()); - attributes.put("codicePagamento", getCodicePagamento()); - attributes.put("causalePagamento", getCausalePagamento()); - attributes.put("mezzoPagamento", getMezzoPagamento()); - attributes.put("importoBolli", getImportoBolli()); - attributes.put("importoSpeseIstruttoria", getImportoSpeseIstruttoria()); - attributes.put("dataEffettuazione", getDataEffettuazione()); - attributes.put("esenzioneBolli", getEsenzioneBolli()); - attributes.put("esenzioneSpeseIstruttoria", - getEsenzioneSpeseIstruttoria()); - attributes.put("status", getStatus()); - attributes.put("statusByUserId", getStatusByUserId()); - attributes.put("statusByUserName", getStatusByUserName()); - attributes.put("statusDate", getStatusDate()); - attributes.put("statusTask", getStatusTask()); - attributes.put("workflowForzato", getWorkflowForzato()); - attributes.put("soggettoSostituitoId", getSoggettoSostituitoId()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - Long integrazione = (Long)attributes.get("integrazione"); - - if (integrazione != null) { - setIntegrazione(integrazione); - } - - String suapCode = (String)attributes.get("suapCode"); - - if (suapCode != null) { - setSuapCode(suapCode); - } - - Boolean validata = (Boolean)attributes.get("validata"); - - if (validata != null) { - setValidata(validata); - } - - String codPraticaSuap = (String)attributes.get("codPraticaSuap"); - - if (codPraticaSuap != null) { - setCodPraticaSuap(codPraticaSuap); - } - - String protocollo = (String)attributes.get("protocollo"); - - if (protocollo != null) { - setProtocollo(protocollo); - } - - String tipoIntegrazione = (String)attributes.get("tipoIntegrazione"); - - if (tipoIntegrazione != null) { - setTipoIntegrazione(tipoIntegrazione); - } - - Boolean completa = (Boolean)attributes.get("completa"); - - if (completa != null) { - setCompleta(completa); - } - - Boolean gestita = (Boolean)attributes.get("gestita"); - - if (gestita != null) { - setGestita(gestita); - } - - String codicePagamento = (String)attributes.get("codicePagamento"); - - if (codicePagamento != null) { - setCodicePagamento(codicePagamento); - } - - String causalePagamento = (String)attributes.get("causalePagamento"); - - if (causalePagamento != null) { - setCausalePagamento(causalePagamento); - } - - String mezzoPagamento = (String)attributes.get("mezzoPagamento"); - - if (mezzoPagamento != null) { - setMezzoPagamento(mezzoPagamento); - } - - String importoBolli = (String)attributes.get("importoBolli"); - - if (importoBolli != null) { - setImportoBolli(importoBolli); - } - - String importoSpeseIstruttoria = (String)attributes.get( - "importoSpeseIstruttoria"); - - if (importoSpeseIstruttoria != null) { - setImportoSpeseIstruttoria(importoSpeseIstruttoria); - } - - Date dataEffettuazione = (Date)attributes.get("dataEffettuazione"); - - if (dataEffettuazione != null) { - setDataEffettuazione(dataEffettuazione); - } - - Boolean esenzioneBolli = (Boolean)attributes.get("esenzioneBolli"); - - if (esenzioneBolli != null) { - setEsenzioneBolli(esenzioneBolli); - } - - Boolean esenzioneSpeseIstruttoria = (Boolean)attributes.get( - "esenzioneSpeseIstruttoria"); - - if (esenzioneSpeseIstruttoria != null) { - setEsenzioneSpeseIstruttoria(esenzioneSpeseIstruttoria); - } - - Integer status = (Integer)attributes.get("status"); - - if (status != null) { - setStatus(status); - } - - Long statusByUserId = (Long)attributes.get("statusByUserId"); - - if (statusByUserId != null) { - setStatusByUserId(statusByUserId); - } - - String statusByUserName = (String)attributes.get("statusByUserName"); - - if (statusByUserName != null) { - setStatusByUserName(statusByUserName); - } - - Date statusDate = (Date)attributes.get("statusDate"); - - if (statusDate != null) { - setStatusDate(statusDate); - } - - Integer statusTask = (Integer)attributes.get("statusTask"); - - if (statusTask != null) { - setStatusTask(statusTask); - } - - Boolean workflowForzato = (Boolean)attributes.get("workflowForzato"); - - if (workflowForzato != null) { - setWorkflowForzato(workflowForzato); - } - - Long soggettoSostituitoId = (Long)attributes.get("soggettoSostituitoId"); - - if (soggettoSostituitoId != null) { - setSoggettoSostituitoId(soggettoSostituitoId); - } - } - - /** - * Returns the primary key of this bo dett pratica. - * - * @return the primary key of this bo dett pratica - */ - @Override - public long getPrimaryKey() { - return _boDettPratica.getPrimaryKey(); - } - - /** - * Sets the primary key of this bo dett pratica. - * - * @param primaryKey the primary key of this bo dett pratica - */ - @Override - public void setPrimaryKey(long primaryKey) { - _boDettPratica.setPrimaryKey(primaryKey); - } - - /** - * Returns the uuid of this bo dett pratica. - * - * @return the uuid of this bo dett pratica - */ - @Override - public java.lang.String getUuid() { - return _boDettPratica.getUuid(); - } - - /** - * Sets the uuid of this bo dett pratica. - * - * @param uuid the uuid of this bo dett pratica - */ - @Override - public void setUuid(java.lang.String uuid) { - _boDettPratica.setUuid(uuid); - } - - /** - * Returns the dett pratica ID of this bo dett pratica. - * - * @return the dett pratica ID of this bo dett pratica - */ - @Override - public long getDettPraticaId() { - return _boDettPratica.getDettPraticaId(); - } - - /** - * Sets the dett pratica ID of this bo dett pratica. - * - * @param dettPraticaId the dett pratica ID of this bo dett pratica - */ - @Override - public void setDettPraticaId(long dettPraticaId) { - _boDettPratica.setDettPraticaId(dettPraticaId); - } - - /** - * Returns the company ID of this bo dett pratica. - * - * @return the company ID of this bo dett pratica - */ - @Override - public long getCompanyId() { - return _boDettPratica.getCompanyId(); - } - - /** - * Sets the company ID of this bo dett pratica. - * - * @param companyId the company ID of this bo dett pratica - */ - @Override - public void setCompanyId(long companyId) { - _boDettPratica.setCompanyId(companyId); - } - - /** - * Returns the user ID of this bo dett pratica. - * - * @return the user ID of this bo dett pratica - */ - @Override - public long getUserId() { - return _boDettPratica.getUserId(); - } - - /** - * Sets the user ID of this bo dett pratica. - * - * @param userId the user ID of this bo dett pratica - */ - @Override - public void setUserId(long userId) { - _boDettPratica.setUserId(userId); - } - - /** - * Returns the user uuid of this bo dett pratica. - * - * @return the user uuid of this bo dett pratica - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _boDettPratica.getUserUuid(); - } - - /** - * Sets the user uuid of this bo dett pratica. - * - * @param userUuid the user uuid of this bo dett pratica - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _boDettPratica.setUserUuid(userUuid); - } - - /** - * Returns the user name of this bo dett pratica. - * - * @return the user name of this bo dett pratica - */ - @Override - public java.lang.String getUserName() { - return _boDettPratica.getUserName(); - } - - /** - * Sets the user name of this bo dett pratica. - * - * @param userName the user name of this bo dett pratica - */ - @Override - public void setUserName(java.lang.String userName) { - _boDettPratica.setUserName(userName); - } - - /** - * Returns the create date of this bo dett pratica. - * - * @return the create date of this bo dett pratica - */ - @Override - public java.util.Date getCreateDate() { - return _boDettPratica.getCreateDate(); - } - - /** - * Sets the create date of this bo dett pratica. - * - * @param createDate the create date of this bo dett pratica - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _boDettPratica.setCreateDate(createDate); - } - - /** - * Returns the modified date of this bo dett pratica. - * - * @return the modified date of this bo dett pratica - */ - @Override - public java.util.Date getModifiedDate() { - return _boDettPratica.getModifiedDate(); - } - - /** - * Sets the modified date of this bo dett pratica. - * - * @param modifiedDate the modified date of this bo dett pratica - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _boDettPratica.setModifiedDate(modifiedDate); - } - - /** - * Returns the group ID of this bo dett pratica. - * - * @return the group ID of this bo dett pratica - */ - @Override - public long getGroupId() { - return _boDettPratica.getGroupId(); - } - - /** - * Sets the group ID of this bo dett pratica. - * - * @param groupId the group ID of this bo dett pratica - */ - @Override - public void setGroupId(long groupId) { - _boDettPratica.setGroupId(groupId); - } - - /** - * Returns the int pratica ID of this bo dett pratica. - * - * @return the int pratica ID of this bo dett pratica - */ - @Override - public long getIntPraticaId() { - return _boDettPratica.getIntPraticaId(); - } - - /** - * Sets the int pratica ID of this bo dett pratica. - * - * @param intPraticaId the int pratica ID of this bo dett pratica - */ - @Override - public void setIntPraticaId(long intPraticaId) { - _boDettPratica.setIntPraticaId(intPraticaId); - } - - /** - * Returns the integrazione of this bo dett pratica. - * - * @return the integrazione of this bo dett pratica - */ - @Override - public long getIntegrazione() { - return _boDettPratica.getIntegrazione(); - } - - /** - * Sets the integrazione of this bo dett pratica. - * - * @param integrazione the integrazione of this bo dett pratica - */ - @Override - public void setIntegrazione(long integrazione) { - _boDettPratica.setIntegrazione(integrazione); - } - - /** - * Returns the suap code of this bo dett pratica. - * - * @return the suap code of this bo dett pratica - */ - @Override - public java.lang.String getSuapCode() { - return _boDettPratica.getSuapCode(); - } - - /** - * Sets the suap code of this bo dett pratica. - * - * @param suapCode the suap code of this bo dett pratica - */ - @Override - public void setSuapCode(java.lang.String suapCode) { - _boDettPratica.setSuapCode(suapCode); - } - - /** - * Returns the validata of this bo dett pratica. - * - * @return the validata of this bo dett pratica - */ - @Override - public boolean getValidata() { - return _boDettPratica.getValidata(); - } - - /** - * Returns true if this bo dett pratica is validata. - * - * @return true if this bo dett pratica is validata; false otherwise - */ - @Override - public boolean isValidata() { - return _boDettPratica.isValidata(); - } - - /** - * Sets whether this bo dett pratica is validata. - * - * @param validata the validata of this bo dett pratica - */ - @Override - public void setValidata(boolean validata) { - _boDettPratica.setValidata(validata); - } - - /** - * Returns the cod pratica suap of this bo dett pratica. - * - * @return the cod pratica suap of this bo dett pratica - */ - @Override - public java.lang.String getCodPraticaSuap() { - return _boDettPratica.getCodPraticaSuap(); - } - - /** - * Sets the cod pratica suap of this bo dett pratica. - * - * @param codPraticaSuap the cod pratica suap of this bo dett pratica - */ - @Override - public void setCodPraticaSuap(java.lang.String codPraticaSuap) { - _boDettPratica.setCodPraticaSuap(codPraticaSuap); - } - - /** - * Returns the protocollo of this bo dett pratica. - * - * @return the protocollo of this bo dett pratica - */ - @Override - public java.lang.String getProtocollo() { - return _boDettPratica.getProtocollo(); - } - - /** - * Sets the protocollo of this bo dett pratica. - * - * @param protocollo the protocollo of this bo dett pratica - */ - @Override - public void setProtocollo(java.lang.String protocollo) { - _boDettPratica.setProtocollo(protocollo); - } - - /** - * Returns the tipo integrazione of this bo dett pratica. - * - * @return the tipo integrazione of this bo dett pratica - */ - @Override - public java.lang.String getTipoIntegrazione() { - return _boDettPratica.getTipoIntegrazione(); - } - - /** - * Sets the tipo integrazione of this bo dett pratica. - * - * @param tipoIntegrazione the tipo integrazione of this bo dett pratica - */ - @Override - public void setTipoIntegrazione(java.lang.String tipoIntegrazione) { - _boDettPratica.setTipoIntegrazione(tipoIntegrazione); - } - - /** - * Returns the completa of this bo dett pratica. - * - * @return the completa of this bo dett pratica - */ - @Override - public boolean getCompleta() { - return _boDettPratica.getCompleta(); - } - - /** - * Returns true if this bo dett pratica is completa. - * - * @return true if this bo dett pratica is completa; false otherwise - */ - @Override - public boolean isCompleta() { - return _boDettPratica.isCompleta(); - } - - /** - * Sets whether this bo dett pratica is completa. - * - * @param completa the completa of this bo dett pratica - */ - @Override - public void setCompleta(boolean completa) { - _boDettPratica.setCompleta(completa); - } - - /** - * Returns the gestita of this bo dett pratica. - * - * @return the gestita of this bo dett pratica - */ - @Override - public boolean getGestita() { - return _boDettPratica.getGestita(); - } - - /** - * Returns true if this bo dett pratica is gestita. - * - * @return true if this bo dett pratica is gestita; false otherwise - */ - @Override - public boolean isGestita() { - return _boDettPratica.isGestita(); - } - - /** - * Sets whether this bo dett pratica is gestita. - * - * @param gestita the gestita of this bo dett pratica - */ - @Override - public void setGestita(boolean gestita) { - _boDettPratica.setGestita(gestita); - } - - /** - * Returns the codice pagamento of this bo dett pratica. - * - * @return the codice pagamento of this bo dett pratica - */ - @Override - public java.lang.String getCodicePagamento() { - return _boDettPratica.getCodicePagamento(); - } - - /** - * Sets the codice pagamento of this bo dett pratica. - * - * @param codicePagamento the codice pagamento of this bo dett pratica - */ - @Override - public void setCodicePagamento(java.lang.String codicePagamento) { - _boDettPratica.setCodicePagamento(codicePagamento); - } - - /** - * Returns the causale pagamento of this bo dett pratica. - * - * @return the causale pagamento of this bo dett pratica - */ - @Override - public java.lang.String getCausalePagamento() { - return _boDettPratica.getCausalePagamento(); - } - - /** - * Sets the causale pagamento of this bo dett pratica. - * - * @param causalePagamento the causale pagamento of this bo dett pratica - */ - @Override - public void setCausalePagamento(java.lang.String causalePagamento) { - _boDettPratica.setCausalePagamento(causalePagamento); - } - - /** - * Returns the mezzo pagamento of this bo dett pratica. - * - * @return the mezzo pagamento of this bo dett pratica - */ - @Override - public java.lang.String getMezzoPagamento() { - return _boDettPratica.getMezzoPagamento(); - } - - /** - * Sets the mezzo pagamento of this bo dett pratica. - * - * @param mezzoPagamento the mezzo pagamento of this bo dett pratica - */ - @Override - public void setMezzoPagamento(java.lang.String mezzoPagamento) { - _boDettPratica.setMezzoPagamento(mezzoPagamento); - } - - /** - * Returns the importo bolli of this bo dett pratica. - * - * @return the importo bolli of this bo dett pratica - */ - @Override - public java.lang.String getImportoBolli() { - return _boDettPratica.getImportoBolli(); - } - - /** - * Sets the importo bolli of this bo dett pratica. - * - * @param importoBolli the importo bolli of this bo dett pratica - */ - @Override - public void setImportoBolli(java.lang.String importoBolli) { - _boDettPratica.setImportoBolli(importoBolli); - } - - /** - * Returns the importo spese istruttoria of this bo dett pratica. - * - * @return the importo spese istruttoria of this bo dett pratica - */ - @Override - public java.lang.String getImportoSpeseIstruttoria() { - return _boDettPratica.getImportoSpeseIstruttoria(); - } - - /** - * Sets the importo spese istruttoria of this bo dett pratica. - * - * @param importoSpeseIstruttoria the importo spese istruttoria of this bo dett pratica - */ - @Override - public void setImportoSpeseIstruttoria( - java.lang.String importoSpeseIstruttoria) { - _boDettPratica.setImportoSpeseIstruttoria(importoSpeseIstruttoria); - } - - /** - * Returns the data effettuazione of this bo dett pratica. - * - * @return the data effettuazione of this bo dett pratica - */ - @Override - public java.util.Date getDataEffettuazione() { - return _boDettPratica.getDataEffettuazione(); - } - - /** - * Sets the data effettuazione of this bo dett pratica. - * - * @param dataEffettuazione the data effettuazione of this bo dett pratica - */ - @Override - public void setDataEffettuazione(java.util.Date dataEffettuazione) { - _boDettPratica.setDataEffettuazione(dataEffettuazione); - } - - /** - * Returns the esenzione bolli of this bo dett pratica. - * - * @return the esenzione bolli of this bo dett pratica - */ - @Override - public boolean getEsenzioneBolli() { - return _boDettPratica.getEsenzioneBolli(); - } - - /** - * Returns true if this bo dett pratica is esenzione bolli. - * - * @return true if this bo dett pratica is esenzione bolli; false otherwise - */ - @Override - public boolean isEsenzioneBolli() { - return _boDettPratica.isEsenzioneBolli(); - } - - /** - * Sets whether this bo dett pratica is esenzione bolli. - * - * @param esenzioneBolli the esenzione bolli of this bo dett pratica - */ - @Override - public void setEsenzioneBolli(boolean esenzioneBolli) { - _boDettPratica.setEsenzioneBolli(esenzioneBolli); - } - - /** - * Returns the esenzione spese istruttoria of this bo dett pratica. - * - * @return the esenzione spese istruttoria of this bo dett pratica - */ - @Override - public boolean getEsenzioneSpeseIstruttoria() { - return _boDettPratica.getEsenzioneSpeseIstruttoria(); - } - - /** - * Returns true if this bo dett pratica is esenzione spese istruttoria. - * - * @return true if this bo dett pratica is esenzione spese istruttoria; false otherwise - */ - @Override - public boolean isEsenzioneSpeseIstruttoria() { - return _boDettPratica.isEsenzioneSpeseIstruttoria(); - } - - /** - * Sets whether this bo dett pratica is esenzione spese istruttoria. - * - * @param esenzioneSpeseIstruttoria the esenzione spese istruttoria of this bo dett pratica - */ - @Override - public void setEsenzioneSpeseIstruttoria(boolean esenzioneSpeseIstruttoria) { - _boDettPratica.setEsenzioneSpeseIstruttoria(esenzioneSpeseIstruttoria); - } - - /** - * Returns the status of this bo dett pratica. - * - * @return the status of this bo dett pratica - */ - @Override - public int getStatus() { - return _boDettPratica.getStatus(); - } - - /** - * Sets the status of this bo dett pratica. - * - * @param status the status of this bo dett pratica - */ - @Override - public void setStatus(int status) { - _boDettPratica.setStatus(status); - } - - /** - * Returns the status by user ID of this bo dett pratica. - * - * @return the status by user ID of this bo dett pratica - */ - @Override - public long getStatusByUserId() { - return _boDettPratica.getStatusByUserId(); - } - - /** - * Sets the status by user ID of this bo dett pratica. - * - * @param statusByUserId the status by user ID of this bo dett pratica - */ - @Override - public void setStatusByUserId(long statusByUserId) { - _boDettPratica.setStatusByUserId(statusByUserId); - } - - /** - * Returns the status by user uuid of this bo dett pratica. - * - * @return the status by user uuid of this bo dett pratica - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getStatusByUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _boDettPratica.getStatusByUserUuid(); - } - - /** - * Sets the status by user uuid of this bo dett pratica. - * - * @param statusByUserUuid the status by user uuid of this bo dett pratica - */ - @Override - public void setStatusByUserUuid(java.lang.String statusByUserUuid) { - _boDettPratica.setStatusByUserUuid(statusByUserUuid); - } - - /** - * Returns the status by user name of this bo dett pratica. - * - * @return the status by user name of this bo dett pratica - */ - @Override - public java.lang.String getStatusByUserName() { - return _boDettPratica.getStatusByUserName(); - } - - /** - * Sets the status by user name of this bo dett pratica. - * - * @param statusByUserName the status by user name of this bo dett pratica - */ - @Override - public void setStatusByUserName(java.lang.String statusByUserName) { - _boDettPratica.setStatusByUserName(statusByUserName); - } - - /** - * Returns the status date of this bo dett pratica. - * - * @return the status date of this bo dett pratica - */ - @Override - public java.util.Date getStatusDate() { - return _boDettPratica.getStatusDate(); - } - - /** - * Sets the status date of this bo dett pratica. - * - * @param statusDate the status date of this bo dett pratica - */ - @Override - public void setStatusDate(java.util.Date statusDate) { - _boDettPratica.setStatusDate(statusDate); - } - - /** - * Returns the status task of this bo dett pratica. - * - * @return the status task of this bo dett pratica - */ - @Override - public int getStatusTask() { - return _boDettPratica.getStatusTask(); - } - - /** - * Sets the status task of this bo dett pratica. - * - * @param statusTask the status task of this bo dett pratica - */ - @Override - public void setStatusTask(int statusTask) { - _boDettPratica.setStatusTask(statusTask); - } - - /** - * Returns the workflow forzato of this bo dett pratica. - * - * @return the workflow forzato of this bo dett pratica - */ - @Override - public boolean getWorkflowForzato() { - return _boDettPratica.getWorkflowForzato(); - } - - /** - * Returns true if this bo dett pratica is workflow forzato. - * - * @return true if this bo dett pratica is workflow forzato; false otherwise - */ - @Override - public boolean isWorkflowForzato() { - return _boDettPratica.isWorkflowForzato(); - } - - /** - * Sets whether this bo dett pratica is workflow forzato. - * - * @param workflowForzato the workflow forzato of this bo dett pratica - */ - @Override - public void setWorkflowForzato(boolean workflowForzato) { - _boDettPratica.setWorkflowForzato(workflowForzato); - } - - /** - * Returns the soggetto sostituito ID of this bo dett pratica. - * - * @return the soggetto sostituito ID of this bo dett pratica - */ - @Override - public long getSoggettoSostituitoId() { - return _boDettPratica.getSoggettoSostituitoId(); - } - - /** - * Sets the soggetto sostituito ID of this bo dett pratica. - * - * @param soggettoSostituitoId the soggetto sostituito ID of this bo dett pratica - */ - @Override - public void setSoggettoSostituitoId(long soggettoSostituitoId) { - _boDettPratica.setSoggettoSostituitoId(soggettoSostituitoId); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #isApproved()} - */ - @Override - public boolean getApproved() { - return _boDettPratica.getApproved(); - } - - /** - * Returns true if this bo dett pratica is approved. - * - * @return true if this bo dett pratica is approved; false otherwise - */ - @Override - public boolean isApproved() { - return _boDettPratica.isApproved(); - } - - /** - * Returns true if this bo dett pratica is denied. - * - * @return true if this bo dett pratica is denied; false otherwise - */ - @Override - public boolean isDenied() { - return _boDettPratica.isDenied(); - } - - /** - * Returns true if this bo dett pratica is a draft. - * - * @return true if this bo dett pratica is a draft; false otherwise - */ - @Override - public boolean isDraft() { - return _boDettPratica.isDraft(); - } - - /** - * Returns true if this bo dett pratica is expired. - * - * @return true if this bo dett pratica is expired; false otherwise - */ - @Override - public boolean isExpired() { - return _boDettPratica.isExpired(); - } - - /** - * Returns true if this bo dett pratica is inactive. - * - * @return true if this bo dett pratica is inactive; false otherwise - */ - @Override - public boolean isInactive() { - return _boDettPratica.isInactive(); - } - - /** - * Returns true if this bo dett pratica is incomplete. - * - * @return true if this bo dett pratica is incomplete; false otherwise - */ - @Override - public boolean isIncomplete() { - return _boDettPratica.isIncomplete(); - } - - /** - * Returns true if this bo dett pratica is pending. - * - * @return true if this bo dett pratica is pending; false otherwise - */ - @Override - public boolean isPending() { - return _boDettPratica.isPending(); - } - - /** - * Returns true if this bo dett pratica is scheduled. - * - * @return true if this bo dett pratica is scheduled; false otherwise - */ - @Override - public boolean isScheduled() { - return _boDettPratica.isScheduled(); - } - - @Override - public boolean isNew() { - return _boDettPratica.isNew(); - } - - @Override - public void setNew(boolean n) { - _boDettPratica.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _boDettPratica.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _boDettPratica.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _boDettPratica.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _boDettPratica.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _boDettPratica.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _boDettPratica.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _boDettPratica.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _boDettPratica.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _boDettPratica.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new BoDettPraticaWrapper((BoDettPratica)_boDettPratica.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.BoDettPratica boDettPratica) { - return _boDettPratica.compareTo(boDettPratica); - } - - @Override - public int hashCode() { - return _boDettPratica.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _boDettPratica.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoDettPratica toEscapedModel() { - return new BoDettPraticaWrapper(_boDettPratica.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoDettPratica toUnescapedModel() { - return new BoDettPraticaWrapper(_boDettPratica.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _boDettPratica.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _boDettPratica.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _boDettPratica.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoDettPraticaWrapper)) { - return false; - } - - BoDettPraticaWrapper boDettPraticaWrapper = (BoDettPraticaWrapper)obj; - - if (Validator.equals(_boDettPratica, boDettPraticaWrapper._boDettPratica)) { - return true; - } - - return false; - } - - @Override - public StagedModelType getStagedModelType() { - return _boDettPratica.getStagedModelType(); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public BoDettPratica getWrappedBoDettPratica() { - return _boDettPratica; - } - - @Override - public BoDettPratica getWrappedModel() { - return _boDettPratica; - } - - @Override - public void resetOriginalValues() { - _boDettPratica.resetOriginalValues(); - } - - private BoDettPratica _boDettPratica; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoDocPratica.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoDocPratica.java deleted file mode 100644 index 7a9862e7..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoDocPratica.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the BoDocPratica service. Represents a row in the "gc_docpratica" database table, with each column mapped to a property of this class. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoDocPraticaModel - * @see it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaImpl - * @see it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl - * @generated - */ -public interface BoDocPratica extends BoDocPraticaModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoDocPraticaClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoDocPraticaClp.java deleted file mode 100644 index b69fe117..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoDocPraticaClp.java +++ /dev/null @@ -1,1094 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.ClpSerializer; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class BoDocPraticaClp extends BaseModelImpl - implements BoDocPratica { - public BoDocPraticaClp() { - } - - @Override - public Class getModelClass() { - return BoDocPratica.class; - } - - @Override - public String getModelClassName() { - return BoDocPratica.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _docPraticaId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setDocPraticaId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _docPraticaId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("docPraticaId", getDocPraticaId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("dlFileEntryId", getDlFileEntryId()); - attributes.put("version", getVersion()); - attributes.put("praticaValidata", getPraticaValidata()); - attributes.put("descLong", getDescLong()); - attributes.put("codFileSuap", getCodFileSuap()); - attributes.put("tipologia", getTipologia()); - attributes.put("md5", getMd5()); - attributes.put("aggiornato", getAggiornato()); - attributes.put("jsonFirmatari", getJsonFirmatari()); - attributes.put("daxId", getDaxId()); - attributes.put("dtInvioDax", getDtInvioDax()); - attributes.put("erroreDax", getErroreDax()); - attributes.put("dtErroreDax", getDtErroreDax()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long docPraticaId = (Long)attributes.get("docPraticaId"); - - if (docPraticaId != null) { - setDocPraticaId(docPraticaId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - Long dlFileEntryId = (Long)attributes.get("dlFileEntryId"); - - if (dlFileEntryId != null) { - setDlFileEntryId(dlFileEntryId); - } - - String version = (String)attributes.get("version"); - - if (version != null) { - setVersion(version); - } - - Boolean praticaValidata = (Boolean)attributes.get("praticaValidata"); - - if (praticaValidata != null) { - setPraticaValidata(praticaValidata); - } - - String descLong = (String)attributes.get("descLong"); - - if (descLong != null) { - setDescLong(descLong); - } - - String codFileSuap = (String)attributes.get("codFileSuap"); - - if (codFileSuap != null) { - setCodFileSuap(codFileSuap); - } - - String tipologia = (String)attributes.get("tipologia"); - - if (tipologia != null) { - setTipologia(tipologia); - } - - String md5 = (String)attributes.get("md5"); - - if (md5 != null) { - setMd5(md5); - } - - Boolean aggiornato = (Boolean)attributes.get("aggiornato"); - - if (aggiornato != null) { - setAggiornato(aggiornato); - } - - String jsonFirmatari = (String)attributes.get("jsonFirmatari"); - - if (jsonFirmatari != null) { - setJsonFirmatari(jsonFirmatari); - } - - Long daxId = (Long)attributes.get("daxId"); - - if (daxId != null) { - setDaxId(daxId); - } - - Date dtInvioDax = (Date)attributes.get("dtInvioDax"); - - if (dtInvioDax != null) { - setDtInvioDax(dtInvioDax); - } - - String erroreDax = (String)attributes.get("erroreDax"); - - if (erroreDax != null) { - setErroreDax(erroreDax); - } - - Date dtErroreDax = (Date)attributes.get("dtErroreDax"); - - if (dtErroreDax != null) { - setDtErroreDax(dtErroreDax); - } - } - - @Override - public String getUuid() { - return _uuid; - } - - @Override - public void setUuid(String uuid) { - _uuid = uuid; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setUuid", String.class); - - method.invoke(_boDocPraticaRemoteModel, uuid); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getDocPraticaId() { - return _docPraticaId; - } - - @Override - public void setDocPraticaId(long docPraticaId) { - _docPraticaId = docPraticaId; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDocPraticaId", long.class); - - method.invoke(_boDocPraticaRemoteModel, docPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_boDocPraticaRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_boDocPraticaRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_boDocPraticaRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_boDocPraticaRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_boDocPraticaRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_boDocPraticaRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getDettPraticaId() { - return _dettPraticaId; - } - - @Override - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDettPraticaId", long.class); - - method.invoke(_boDocPraticaRemoteModel, dettPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getDlFileEntryId() { - return _dlFileEntryId; - } - - @Override - public void setDlFileEntryId(long dlFileEntryId) { - _dlFileEntryId = dlFileEntryId; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDlFileEntryId", long.class); - - method.invoke(_boDocPraticaRemoteModel, dlFileEntryId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getVersion() { - return _version; - } - - @Override - public void setVersion(String version) { - _version = version; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setVersion", String.class); - - method.invoke(_boDocPraticaRemoteModel, version); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getPraticaValidata() { - return _praticaValidata; - } - - @Override - public boolean isPraticaValidata() { - return _praticaValidata; - } - - @Override - public void setPraticaValidata(boolean praticaValidata) { - _praticaValidata = praticaValidata; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setPraticaValidata", - boolean.class); - - method.invoke(_boDocPraticaRemoteModel, praticaValidata); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getDescLong() { - return _descLong; - } - - @Override - public void setDescLong(String descLong) { - _descLong = descLong; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDescLong", String.class); - - method.invoke(_boDocPraticaRemoteModel, descLong); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodFileSuap() { - return _codFileSuap; - } - - @Override - public void setCodFileSuap(String codFileSuap) { - _codFileSuap = codFileSuap; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodFileSuap", String.class); - - method.invoke(_boDocPraticaRemoteModel, codFileSuap); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getTipologia() { - return _tipologia; - } - - @Override - public void setTipologia(String tipologia) { - _tipologia = tipologia; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setTipologia", String.class); - - method.invoke(_boDocPraticaRemoteModel, tipologia); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getMd5() { - return _md5; - } - - @Override - public void setMd5(String md5) { - _md5 = md5; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setMd5", String.class); - - method.invoke(_boDocPraticaRemoteModel, md5); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getAggiornato() { - return _aggiornato; - } - - @Override - public boolean isAggiornato() { - return _aggiornato; - } - - @Override - public void setAggiornato(boolean aggiornato) { - _aggiornato = aggiornato; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setAggiornato", boolean.class); - - method.invoke(_boDocPraticaRemoteModel, aggiornato); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getJsonFirmatari() { - return _jsonFirmatari; - } - - @Override - public void setJsonFirmatari(String jsonFirmatari) { - _jsonFirmatari = jsonFirmatari; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setJsonFirmatari", String.class); - - method.invoke(_boDocPraticaRemoteModel, jsonFirmatari); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getDaxId() { - return _daxId; - } - - @Override - public void setDaxId(long daxId) { - _daxId = daxId; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDaxId", long.class); - - method.invoke(_boDocPraticaRemoteModel, daxId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDtInvioDax() { - return _dtInvioDax; - } - - @Override - public void setDtInvioDax(Date dtInvioDax) { - _dtInvioDax = dtInvioDax; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDtInvioDax", Date.class); - - method.invoke(_boDocPraticaRemoteModel, dtInvioDax); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getErroreDax() { - return _erroreDax; - } - - @Override - public void setErroreDax(String erroreDax) { - _erroreDax = erroreDax; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setErroreDax", String.class); - - method.invoke(_boDocPraticaRemoteModel, erroreDax); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDtErroreDax() { - return _dtErroreDax; - } - - @Override - public void setDtErroreDax(Date dtErroreDax) { - _dtErroreDax = dtErroreDax; - - if (_boDocPraticaRemoteModel != null) { - try { - Class clazz = _boDocPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDtErroreDax", Date.class); - - method.invoke(_boDocPraticaRemoteModel, dtErroreDax); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoDocPratica.class.getName())); - } - - public BaseModel getBoDocPraticaRemoteModel() { - return _boDocPraticaRemoteModel; - } - - public void setBoDocPraticaRemoteModel(BaseModel boDocPraticaRemoteModel) { - _boDocPraticaRemoteModel = boDocPraticaRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _boDocPraticaRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_boDocPraticaRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoDocPraticaLocalServiceUtil.addBoDocPratica(this); - } - else { - BoDocPraticaLocalServiceUtil.updateBoDocPratica(this); - } - } - - @Override - public BoDocPratica toEscapedModel() { - return (BoDocPratica)ProxyUtil.newProxyInstance(BoDocPratica.class.getClassLoader(), - new Class[] { BoDocPratica.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - BoDocPraticaClp clone = new BoDocPraticaClp(); - - clone.setUuid(getUuid()); - clone.setDocPraticaId(getDocPraticaId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setGroupId(getGroupId()); - clone.setDettPraticaId(getDettPraticaId()); - clone.setDlFileEntryId(getDlFileEntryId()); - clone.setVersion(getVersion()); - clone.setPraticaValidata(getPraticaValidata()); - clone.setDescLong(getDescLong()); - clone.setCodFileSuap(getCodFileSuap()); - clone.setTipologia(getTipologia()); - clone.setMd5(getMd5()); - clone.setAggiornato(getAggiornato()); - clone.setJsonFirmatari(getJsonFirmatari()); - clone.setDaxId(getDaxId()); - clone.setDtInvioDax(getDtInvioDax()); - clone.setErroreDax(getErroreDax()); - clone.setDtErroreDax(getDtErroreDax()); - - return clone; - } - - @Override - public int compareTo(BoDocPratica boDocPratica) { - long primaryKey = boDocPratica.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoDocPraticaClp)) { - return false; - } - - BoDocPraticaClp boDocPratica = (BoDocPraticaClp)obj; - - long primaryKey = boDocPratica.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(45); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", docPraticaId="); - sb.append(getDocPraticaId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", dettPraticaId="); - sb.append(getDettPraticaId()); - sb.append(", dlFileEntryId="); - sb.append(getDlFileEntryId()); - sb.append(", version="); - sb.append(getVersion()); - sb.append(", praticaValidata="); - sb.append(getPraticaValidata()); - sb.append(", descLong="); - sb.append(getDescLong()); - sb.append(", codFileSuap="); - sb.append(getCodFileSuap()); - sb.append(", tipologia="); - sb.append(getTipologia()); - sb.append(", md5="); - sb.append(getMd5()); - sb.append(", aggiornato="); - sb.append(getAggiornato()); - sb.append(", jsonFirmatari="); - sb.append(getJsonFirmatari()); - sb.append(", daxId="); - sb.append(getDaxId()); - sb.append(", dtInvioDax="); - sb.append(getDtInvioDax()); - sb.append(", erroreDax="); - sb.append(getErroreDax()); - sb.append(", dtErroreDax="); - sb.append(getDtErroreDax()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(70); - - sb.append(""); - sb.append("it.tref.liferay.portos.portosimport.model.BoDocPratica"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "docPraticaId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "dettPraticaId"); - sb.append( - "dlFileEntryId"); - sb.append( - "version"); - sb.append( - "praticaValidata"); - sb.append( - "descLong"); - sb.append( - "codFileSuap"); - sb.append( - "tipologia"); - sb.append( - "md5"); - sb.append( - "aggiornato"); - sb.append( - "jsonFirmatari"); - sb.append( - "daxId"); - sb.append( - "dtInvioDax"); - sb.append( - "erroreDax"); - sb.append( - "dtErroreDax"); - - sb.append(""); - - return sb.toString(); - } - - private String _uuid; - private long _docPraticaId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _dettPraticaId; - private long _dlFileEntryId; - private String _version; - private boolean _praticaValidata; - private String _descLong; - private String _codFileSuap; - private String _tipologia; - private String _md5; - private boolean _aggiornato; - private String _jsonFirmatari; - private long _daxId; - private Date _dtInvioDax; - private String _erroreDax; - private Date _dtErroreDax; - private BaseModel _boDocPraticaRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.portosimport.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoDocPraticaModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoDocPraticaModel.java deleted file mode 100644 index a5671a46..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoDocPraticaModel.java +++ /dev/null @@ -1,484 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.StagedGroupedModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the BoDocPratica service. Represents a row in the "gc_docpratica" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoDocPratica - * @see it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaImpl - * @see it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl - * @generated - */ -public interface BoDocPraticaModel extends BaseModel, - StagedGroupedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a bo doc pratica model instance should use the {@link BoDocPratica} interface instead. - */ - - /** - * Returns the primary key of this bo doc pratica. - * - * @return the primary key of this bo doc pratica - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this bo doc pratica. - * - * @param primaryKey the primary key of this bo doc pratica - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the uuid of this bo doc pratica. - * - * @return the uuid of this bo doc pratica - */ - @AutoEscape - @Override - public String getUuid(); - - /** - * Sets the uuid of this bo doc pratica. - * - * @param uuid the uuid of this bo doc pratica - */ - @Override - public void setUuid(String uuid); - - /** - * Returns the doc pratica ID of this bo doc pratica. - * - * @return the doc pratica ID of this bo doc pratica - */ - public long getDocPraticaId(); - - /** - * Sets the doc pratica ID of this bo doc pratica. - * - * @param docPraticaId the doc pratica ID of this bo doc pratica - */ - public void setDocPraticaId(long docPraticaId); - - /** - * Returns the company ID of this bo doc pratica. - * - * @return the company ID of this bo doc pratica - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this bo doc pratica. - * - * @param companyId the company ID of this bo doc pratica - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this bo doc pratica. - * - * @return the user ID of this bo doc pratica - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this bo doc pratica. - * - * @param userId the user ID of this bo doc pratica - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this bo doc pratica. - * - * @return the user uuid of this bo doc pratica - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this bo doc pratica. - * - * @param userUuid the user uuid of this bo doc pratica - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this bo doc pratica. - * - * @return the user name of this bo doc pratica - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this bo doc pratica. - * - * @param userName the user name of this bo doc pratica - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this bo doc pratica. - * - * @return the create date of this bo doc pratica - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this bo doc pratica. - * - * @param createDate the create date of this bo doc pratica - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this bo doc pratica. - * - * @return the modified date of this bo doc pratica - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this bo doc pratica. - * - * @param modifiedDate the modified date of this bo doc pratica - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the group ID of this bo doc pratica. - * - * @return the group ID of this bo doc pratica - */ - @Override - public long getGroupId(); - - /** - * Sets the group ID of this bo doc pratica. - * - * @param groupId the group ID of this bo doc pratica - */ - @Override - public void setGroupId(long groupId); - - /** - * Returns the dett pratica ID of this bo doc pratica. - * - * @return the dett pratica ID of this bo doc pratica - */ - public long getDettPraticaId(); - - /** - * Sets the dett pratica ID of this bo doc pratica. - * - * @param dettPraticaId the dett pratica ID of this bo doc pratica - */ - public void setDettPraticaId(long dettPraticaId); - - /** - * Returns the dl file entry ID of this bo doc pratica. - * - * @return the dl file entry ID of this bo doc pratica - */ - public long getDlFileEntryId(); - - /** - * Sets the dl file entry ID of this bo doc pratica. - * - * @param dlFileEntryId the dl file entry ID of this bo doc pratica - */ - public void setDlFileEntryId(long dlFileEntryId); - - /** - * Returns the version of this bo doc pratica. - * - * @return the version of this bo doc pratica - */ - @AutoEscape - public String getVersion(); - - /** - * Sets the version of this bo doc pratica. - * - * @param version the version of this bo doc pratica - */ - public void setVersion(String version); - - /** - * Returns the pratica validata of this bo doc pratica. - * - * @return the pratica validata of this bo doc pratica - */ - public boolean getPraticaValidata(); - - /** - * Returns true if this bo doc pratica is pratica validata. - * - * @return true if this bo doc pratica is pratica validata; false otherwise - */ - public boolean isPraticaValidata(); - - /** - * Sets whether this bo doc pratica is pratica validata. - * - * @param praticaValidata the pratica validata of this bo doc pratica - */ - public void setPraticaValidata(boolean praticaValidata); - - /** - * Returns the desc long of this bo doc pratica. - * - * @return the desc long of this bo doc pratica - */ - @AutoEscape - public String getDescLong(); - - /** - * Sets the desc long of this bo doc pratica. - * - * @param descLong the desc long of this bo doc pratica - */ - public void setDescLong(String descLong); - - /** - * Returns the cod file suap of this bo doc pratica. - * - * @return the cod file suap of this bo doc pratica - */ - @AutoEscape - public String getCodFileSuap(); - - /** - * Sets the cod file suap of this bo doc pratica. - * - * @param codFileSuap the cod file suap of this bo doc pratica - */ - public void setCodFileSuap(String codFileSuap); - - /** - * Returns the tipologia of this bo doc pratica. - * - * @return the tipologia of this bo doc pratica - */ - @AutoEscape - public String getTipologia(); - - /** - * Sets the tipologia of this bo doc pratica. - * - * @param tipologia the tipologia of this bo doc pratica - */ - public void setTipologia(String tipologia); - - /** - * Returns the md5 of this bo doc pratica. - * - * @return the md5 of this bo doc pratica - */ - @AutoEscape - public String getMd5(); - - /** - * Sets the md5 of this bo doc pratica. - * - * @param md5 the md5 of this bo doc pratica - */ - public void setMd5(String md5); - - /** - * Returns the aggiornato of this bo doc pratica. - * - * @return the aggiornato of this bo doc pratica - */ - public boolean getAggiornato(); - - /** - * Returns true if this bo doc pratica is aggiornato. - * - * @return true if this bo doc pratica is aggiornato; false otherwise - */ - public boolean isAggiornato(); - - /** - * Sets whether this bo doc pratica is aggiornato. - * - * @param aggiornato the aggiornato of this bo doc pratica - */ - public void setAggiornato(boolean aggiornato); - - /** - * Returns the json firmatari of this bo doc pratica. - * - * @return the json firmatari of this bo doc pratica - */ - @AutoEscape - public String getJsonFirmatari(); - - /** - * Sets the json firmatari of this bo doc pratica. - * - * @param jsonFirmatari the json firmatari of this bo doc pratica - */ - public void setJsonFirmatari(String jsonFirmatari); - - /** - * Returns the dax ID of this bo doc pratica. - * - * @return the dax ID of this bo doc pratica - */ - public long getDaxId(); - - /** - * Sets the dax ID of this bo doc pratica. - * - * @param daxId the dax ID of this bo doc pratica - */ - public void setDaxId(long daxId); - - /** - * Returns the dt invio dax of this bo doc pratica. - * - * @return the dt invio dax of this bo doc pratica - */ - public Date getDtInvioDax(); - - /** - * Sets the dt invio dax of this bo doc pratica. - * - * @param dtInvioDax the dt invio dax of this bo doc pratica - */ - public void setDtInvioDax(Date dtInvioDax); - - /** - * Returns the errore dax of this bo doc pratica. - * - * @return the errore dax of this bo doc pratica - */ - @AutoEscape - public String getErroreDax(); - - /** - * Sets the errore dax of this bo doc pratica. - * - * @param erroreDax the errore dax of this bo doc pratica - */ - public void setErroreDax(String erroreDax); - - /** - * Returns the dt errore dax of this bo doc pratica. - * - * @return the dt errore dax of this bo doc pratica - */ - public Date getDtErroreDax(); - - /** - * Sets the dt errore dax of this bo doc pratica. - * - * @param dtErroreDax the dt errore dax of this bo doc pratica - */ - public void setDtErroreDax(Date dtErroreDax); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.BoDocPratica boDocPratica); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.BoDocPratica toEscapedModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.BoDocPratica toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoDocPraticaSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoDocPraticaSoap.java deleted file mode 100644 index 0ae3ade7..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoDocPraticaSoap.java +++ /dev/null @@ -1,313 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoDocPraticaSoap implements Serializable { - public static BoDocPraticaSoap toSoapModel(BoDocPratica model) { - BoDocPraticaSoap soapModel = new BoDocPraticaSoap(); - - soapModel.setUuid(model.getUuid()); - soapModel.setDocPraticaId(model.getDocPraticaId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setDettPraticaId(model.getDettPraticaId()); - soapModel.setDlFileEntryId(model.getDlFileEntryId()); - soapModel.setVersion(model.getVersion()); - soapModel.setPraticaValidata(model.getPraticaValidata()); - soapModel.setDescLong(model.getDescLong()); - soapModel.setCodFileSuap(model.getCodFileSuap()); - soapModel.setTipologia(model.getTipologia()); - soapModel.setMd5(model.getMd5()); - soapModel.setAggiornato(model.getAggiornato()); - soapModel.setJsonFirmatari(model.getJsonFirmatari()); - soapModel.setDaxId(model.getDaxId()); - soapModel.setDtInvioDax(model.getDtInvioDax()); - soapModel.setErroreDax(model.getErroreDax()); - soapModel.setDtErroreDax(model.getDtErroreDax()); - - return soapModel; - } - - public static BoDocPraticaSoap[] toSoapModels(BoDocPratica[] models) { - BoDocPraticaSoap[] soapModels = new BoDocPraticaSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static BoDocPraticaSoap[][] toSoapModels(BoDocPratica[][] models) { - BoDocPraticaSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new BoDocPraticaSoap[models.length][models[0].length]; - } - else { - soapModels = new BoDocPraticaSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static BoDocPraticaSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (BoDocPratica model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new BoDocPraticaSoap[soapModels.size()]); - } - - public BoDocPraticaSoap() { - } - - public long getPrimaryKey() { - return _docPraticaId; - } - - public void setPrimaryKey(long pk) { - setDocPraticaId(pk); - } - - public String getUuid() { - return _uuid; - } - - public void setUuid(String uuid) { - _uuid = uuid; - } - - public long getDocPraticaId() { - return _docPraticaId; - } - - public void setDocPraticaId(long docPraticaId) { - _docPraticaId = docPraticaId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public long getDettPraticaId() { - return _dettPraticaId; - } - - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - } - - public long getDlFileEntryId() { - return _dlFileEntryId; - } - - public void setDlFileEntryId(long dlFileEntryId) { - _dlFileEntryId = dlFileEntryId; - } - - public String getVersion() { - return _version; - } - - public void setVersion(String version) { - _version = version; - } - - public boolean getPraticaValidata() { - return _praticaValidata; - } - - public boolean isPraticaValidata() { - return _praticaValidata; - } - - public void setPraticaValidata(boolean praticaValidata) { - _praticaValidata = praticaValidata; - } - - public String getDescLong() { - return _descLong; - } - - public void setDescLong(String descLong) { - _descLong = descLong; - } - - public String getCodFileSuap() { - return _codFileSuap; - } - - public void setCodFileSuap(String codFileSuap) { - _codFileSuap = codFileSuap; - } - - public String getTipologia() { - return _tipologia; - } - - public void setTipologia(String tipologia) { - _tipologia = tipologia; - } - - public String getMd5() { - return _md5; - } - - public void setMd5(String md5) { - _md5 = md5; - } - - public boolean getAggiornato() { - return _aggiornato; - } - - public boolean isAggiornato() { - return _aggiornato; - } - - public void setAggiornato(boolean aggiornato) { - _aggiornato = aggiornato; - } - - public String getJsonFirmatari() { - return _jsonFirmatari; - } - - public void setJsonFirmatari(String jsonFirmatari) { - _jsonFirmatari = jsonFirmatari; - } - - public long getDaxId() { - return _daxId; - } - - public void setDaxId(long daxId) { - _daxId = daxId; - } - - public Date getDtInvioDax() { - return _dtInvioDax; - } - - public void setDtInvioDax(Date dtInvioDax) { - _dtInvioDax = dtInvioDax; - } - - public String getErroreDax() { - return _erroreDax; - } - - public void setErroreDax(String erroreDax) { - _erroreDax = erroreDax; - } - - public Date getDtErroreDax() { - return _dtErroreDax; - } - - public void setDtErroreDax(Date dtErroreDax) { - _dtErroreDax = dtErroreDax; - } - - private String _uuid; - private long _docPraticaId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _dettPraticaId; - private long _dlFileEntryId; - private String _version; - private boolean _praticaValidata; - private String _descLong; - private String _codFileSuap; - private String _tipologia; - private String _md5; - private boolean _aggiornato; - private String _jsonFirmatari; - private long _daxId; - private Date _dtInvioDax; - private String _erroreDax; - private Date _dtErroreDax; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoDocPraticaWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoDocPraticaWrapper.java deleted file mode 100644 index 51058233..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoDocPraticaWrapper.java +++ /dev/null @@ -1,864 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link BoDocPratica}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoDocPratica - * @generated - */ -public class BoDocPraticaWrapper implements BoDocPratica, - ModelWrapper { - public BoDocPraticaWrapper(BoDocPratica boDocPratica) { - _boDocPratica = boDocPratica; - } - - @Override - public Class getModelClass() { - return BoDocPratica.class; - } - - @Override - public String getModelClassName() { - return BoDocPratica.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("docPraticaId", getDocPraticaId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("dlFileEntryId", getDlFileEntryId()); - attributes.put("version", getVersion()); - attributes.put("praticaValidata", getPraticaValidata()); - attributes.put("descLong", getDescLong()); - attributes.put("codFileSuap", getCodFileSuap()); - attributes.put("tipologia", getTipologia()); - attributes.put("md5", getMd5()); - attributes.put("aggiornato", getAggiornato()); - attributes.put("jsonFirmatari", getJsonFirmatari()); - attributes.put("daxId", getDaxId()); - attributes.put("dtInvioDax", getDtInvioDax()); - attributes.put("erroreDax", getErroreDax()); - attributes.put("dtErroreDax", getDtErroreDax()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long docPraticaId = (Long)attributes.get("docPraticaId"); - - if (docPraticaId != null) { - setDocPraticaId(docPraticaId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - Long dlFileEntryId = (Long)attributes.get("dlFileEntryId"); - - if (dlFileEntryId != null) { - setDlFileEntryId(dlFileEntryId); - } - - String version = (String)attributes.get("version"); - - if (version != null) { - setVersion(version); - } - - Boolean praticaValidata = (Boolean)attributes.get("praticaValidata"); - - if (praticaValidata != null) { - setPraticaValidata(praticaValidata); - } - - String descLong = (String)attributes.get("descLong"); - - if (descLong != null) { - setDescLong(descLong); - } - - String codFileSuap = (String)attributes.get("codFileSuap"); - - if (codFileSuap != null) { - setCodFileSuap(codFileSuap); - } - - String tipologia = (String)attributes.get("tipologia"); - - if (tipologia != null) { - setTipologia(tipologia); - } - - String md5 = (String)attributes.get("md5"); - - if (md5 != null) { - setMd5(md5); - } - - Boolean aggiornato = (Boolean)attributes.get("aggiornato"); - - if (aggiornato != null) { - setAggiornato(aggiornato); - } - - String jsonFirmatari = (String)attributes.get("jsonFirmatari"); - - if (jsonFirmatari != null) { - setJsonFirmatari(jsonFirmatari); - } - - Long daxId = (Long)attributes.get("daxId"); - - if (daxId != null) { - setDaxId(daxId); - } - - Date dtInvioDax = (Date)attributes.get("dtInvioDax"); - - if (dtInvioDax != null) { - setDtInvioDax(dtInvioDax); - } - - String erroreDax = (String)attributes.get("erroreDax"); - - if (erroreDax != null) { - setErroreDax(erroreDax); - } - - Date dtErroreDax = (Date)attributes.get("dtErroreDax"); - - if (dtErroreDax != null) { - setDtErroreDax(dtErroreDax); - } - } - - /** - * Returns the primary key of this bo doc pratica. - * - * @return the primary key of this bo doc pratica - */ - @Override - public long getPrimaryKey() { - return _boDocPratica.getPrimaryKey(); - } - - /** - * Sets the primary key of this bo doc pratica. - * - * @param primaryKey the primary key of this bo doc pratica - */ - @Override - public void setPrimaryKey(long primaryKey) { - _boDocPratica.setPrimaryKey(primaryKey); - } - - /** - * Returns the uuid of this bo doc pratica. - * - * @return the uuid of this bo doc pratica - */ - @Override - public java.lang.String getUuid() { - return _boDocPratica.getUuid(); - } - - /** - * Sets the uuid of this bo doc pratica. - * - * @param uuid the uuid of this bo doc pratica - */ - @Override - public void setUuid(java.lang.String uuid) { - _boDocPratica.setUuid(uuid); - } - - /** - * Returns the doc pratica ID of this bo doc pratica. - * - * @return the doc pratica ID of this bo doc pratica - */ - @Override - public long getDocPraticaId() { - return _boDocPratica.getDocPraticaId(); - } - - /** - * Sets the doc pratica ID of this bo doc pratica. - * - * @param docPraticaId the doc pratica ID of this bo doc pratica - */ - @Override - public void setDocPraticaId(long docPraticaId) { - _boDocPratica.setDocPraticaId(docPraticaId); - } - - /** - * Returns the company ID of this bo doc pratica. - * - * @return the company ID of this bo doc pratica - */ - @Override - public long getCompanyId() { - return _boDocPratica.getCompanyId(); - } - - /** - * Sets the company ID of this bo doc pratica. - * - * @param companyId the company ID of this bo doc pratica - */ - @Override - public void setCompanyId(long companyId) { - _boDocPratica.setCompanyId(companyId); - } - - /** - * Returns the user ID of this bo doc pratica. - * - * @return the user ID of this bo doc pratica - */ - @Override - public long getUserId() { - return _boDocPratica.getUserId(); - } - - /** - * Sets the user ID of this bo doc pratica. - * - * @param userId the user ID of this bo doc pratica - */ - @Override - public void setUserId(long userId) { - _boDocPratica.setUserId(userId); - } - - /** - * Returns the user uuid of this bo doc pratica. - * - * @return the user uuid of this bo doc pratica - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _boDocPratica.getUserUuid(); - } - - /** - * Sets the user uuid of this bo doc pratica. - * - * @param userUuid the user uuid of this bo doc pratica - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _boDocPratica.setUserUuid(userUuid); - } - - /** - * Returns the user name of this bo doc pratica. - * - * @return the user name of this bo doc pratica - */ - @Override - public java.lang.String getUserName() { - return _boDocPratica.getUserName(); - } - - /** - * Sets the user name of this bo doc pratica. - * - * @param userName the user name of this bo doc pratica - */ - @Override - public void setUserName(java.lang.String userName) { - _boDocPratica.setUserName(userName); - } - - /** - * Returns the create date of this bo doc pratica. - * - * @return the create date of this bo doc pratica - */ - @Override - public java.util.Date getCreateDate() { - return _boDocPratica.getCreateDate(); - } - - /** - * Sets the create date of this bo doc pratica. - * - * @param createDate the create date of this bo doc pratica - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _boDocPratica.setCreateDate(createDate); - } - - /** - * Returns the modified date of this bo doc pratica. - * - * @return the modified date of this bo doc pratica - */ - @Override - public java.util.Date getModifiedDate() { - return _boDocPratica.getModifiedDate(); - } - - /** - * Sets the modified date of this bo doc pratica. - * - * @param modifiedDate the modified date of this bo doc pratica - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _boDocPratica.setModifiedDate(modifiedDate); - } - - /** - * Returns the group ID of this bo doc pratica. - * - * @return the group ID of this bo doc pratica - */ - @Override - public long getGroupId() { - return _boDocPratica.getGroupId(); - } - - /** - * Sets the group ID of this bo doc pratica. - * - * @param groupId the group ID of this bo doc pratica - */ - @Override - public void setGroupId(long groupId) { - _boDocPratica.setGroupId(groupId); - } - - /** - * Returns the dett pratica ID of this bo doc pratica. - * - * @return the dett pratica ID of this bo doc pratica - */ - @Override - public long getDettPraticaId() { - return _boDocPratica.getDettPraticaId(); - } - - /** - * Sets the dett pratica ID of this bo doc pratica. - * - * @param dettPraticaId the dett pratica ID of this bo doc pratica - */ - @Override - public void setDettPraticaId(long dettPraticaId) { - _boDocPratica.setDettPraticaId(dettPraticaId); - } - - /** - * Returns the dl file entry ID of this bo doc pratica. - * - * @return the dl file entry ID of this bo doc pratica - */ - @Override - public long getDlFileEntryId() { - return _boDocPratica.getDlFileEntryId(); - } - - /** - * Sets the dl file entry ID of this bo doc pratica. - * - * @param dlFileEntryId the dl file entry ID of this bo doc pratica - */ - @Override - public void setDlFileEntryId(long dlFileEntryId) { - _boDocPratica.setDlFileEntryId(dlFileEntryId); - } - - /** - * Returns the version of this bo doc pratica. - * - * @return the version of this bo doc pratica - */ - @Override - public java.lang.String getVersion() { - return _boDocPratica.getVersion(); - } - - /** - * Sets the version of this bo doc pratica. - * - * @param version the version of this bo doc pratica - */ - @Override - public void setVersion(java.lang.String version) { - _boDocPratica.setVersion(version); - } - - /** - * Returns the pratica validata of this bo doc pratica. - * - * @return the pratica validata of this bo doc pratica - */ - @Override - public boolean getPraticaValidata() { - return _boDocPratica.getPraticaValidata(); - } - - /** - * Returns true if this bo doc pratica is pratica validata. - * - * @return true if this bo doc pratica is pratica validata; false otherwise - */ - @Override - public boolean isPraticaValidata() { - return _boDocPratica.isPraticaValidata(); - } - - /** - * Sets whether this bo doc pratica is pratica validata. - * - * @param praticaValidata the pratica validata of this bo doc pratica - */ - @Override - public void setPraticaValidata(boolean praticaValidata) { - _boDocPratica.setPraticaValidata(praticaValidata); - } - - /** - * Returns the desc long of this bo doc pratica. - * - * @return the desc long of this bo doc pratica - */ - @Override - public java.lang.String getDescLong() { - return _boDocPratica.getDescLong(); - } - - /** - * Sets the desc long of this bo doc pratica. - * - * @param descLong the desc long of this bo doc pratica - */ - @Override - public void setDescLong(java.lang.String descLong) { - _boDocPratica.setDescLong(descLong); - } - - /** - * Returns the cod file suap of this bo doc pratica. - * - * @return the cod file suap of this bo doc pratica - */ - @Override - public java.lang.String getCodFileSuap() { - return _boDocPratica.getCodFileSuap(); - } - - /** - * Sets the cod file suap of this bo doc pratica. - * - * @param codFileSuap the cod file suap of this bo doc pratica - */ - @Override - public void setCodFileSuap(java.lang.String codFileSuap) { - _boDocPratica.setCodFileSuap(codFileSuap); - } - - /** - * Returns the tipologia of this bo doc pratica. - * - * @return the tipologia of this bo doc pratica - */ - @Override - public java.lang.String getTipologia() { - return _boDocPratica.getTipologia(); - } - - /** - * Sets the tipologia of this bo doc pratica. - * - * @param tipologia the tipologia of this bo doc pratica - */ - @Override - public void setTipologia(java.lang.String tipologia) { - _boDocPratica.setTipologia(tipologia); - } - - /** - * Returns the md5 of this bo doc pratica. - * - * @return the md5 of this bo doc pratica - */ - @Override - public java.lang.String getMd5() { - return _boDocPratica.getMd5(); - } - - /** - * Sets the md5 of this bo doc pratica. - * - * @param md5 the md5 of this bo doc pratica - */ - @Override - public void setMd5(java.lang.String md5) { - _boDocPratica.setMd5(md5); - } - - /** - * Returns the aggiornato of this bo doc pratica. - * - * @return the aggiornato of this bo doc pratica - */ - @Override - public boolean getAggiornato() { - return _boDocPratica.getAggiornato(); - } - - /** - * Returns true if this bo doc pratica is aggiornato. - * - * @return true if this bo doc pratica is aggiornato; false otherwise - */ - @Override - public boolean isAggiornato() { - return _boDocPratica.isAggiornato(); - } - - /** - * Sets whether this bo doc pratica is aggiornato. - * - * @param aggiornato the aggiornato of this bo doc pratica - */ - @Override - public void setAggiornato(boolean aggiornato) { - _boDocPratica.setAggiornato(aggiornato); - } - - /** - * Returns the json firmatari of this bo doc pratica. - * - * @return the json firmatari of this bo doc pratica - */ - @Override - public java.lang.String getJsonFirmatari() { - return _boDocPratica.getJsonFirmatari(); - } - - /** - * Sets the json firmatari of this bo doc pratica. - * - * @param jsonFirmatari the json firmatari of this bo doc pratica - */ - @Override - public void setJsonFirmatari(java.lang.String jsonFirmatari) { - _boDocPratica.setJsonFirmatari(jsonFirmatari); - } - - /** - * Returns the dax ID of this bo doc pratica. - * - * @return the dax ID of this bo doc pratica - */ - @Override - public long getDaxId() { - return _boDocPratica.getDaxId(); - } - - /** - * Sets the dax ID of this bo doc pratica. - * - * @param daxId the dax ID of this bo doc pratica - */ - @Override - public void setDaxId(long daxId) { - _boDocPratica.setDaxId(daxId); - } - - /** - * Returns the dt invio dax of this bo doc pratica. - * - * @return the dt invio dax of this bo doc pratica - */ - @Override - public java.util.Date getDtInvioDax() { - return _boDocPratica.getDtInvioDax(); - } - - /** - * Sets the dt invio dax of this bo doc pratica. - * - * @param dtInvioDax the dt invio dax of this bo doc pratica - */ - @Override - public void setDtInvioDax(java.util.Date dtInvioDax) { - _boDocPratica.setDtInvioDax(dtInvioDax); - } - - /** - * Returns the errore dax of this bo doc pratica. - * - * @return the errore dax of this bo doc pratica - */ - @Override - public java.lang.String getErroreDax() { - return _boDocPratica.getErroreDax(); - } - - /** - * Sets the errore dax of this bo doc pratica. - * - * @param erroreDax the errore dax of this bo doc pratica - */ - @Override - public void setErroreDax(java.lang.String erroreDax) { - _boDocPratica.setErroreDax(erroreDax); - } - - /** - * Returns the dt errore dax of this bo doc pratica. - * - * @return the dt errore dax of this bo doc pratica - */ - @Override - public java.util.Date getDtErroreDax() { - return _boDocPratica.getDtErroreDax(); - } - - /** - * Sets the dt errore dax of this bo doc pratica. - * - * @param dtErroreDax the dt errore dax of this bo doc pratica - */ - @Override - public void setDtErroreDax(java.util.Date dtErroreDax) { - _boDocPratica.setDtErroreDax(dtErroreDax); - } - - @Override - public boolean isNew() { - return _boDocPratica.isNew(); - } - - @Override - public void setNew(boolean n) { - _boDocPratica.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _boDocPratica.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _boDocPratica.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _boDocPratica.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _boDocPratica.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _boDocPratica.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _boDocPratica.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _boDocPratica.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _boDocPratica.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _boDocPratica.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new BoDocPraticaWrapper((BoDocPratica)_boDocPratica.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.BoDocPratica boDocPratica) { - return _boDocPratica.compareTo(boDocPratica); - } - - @Override - public int hashCode() { - return _boDocPratica.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _boDocPratica.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoDocPratica toEscapedModel() { - return new BoDocPraticaWrapper(_boDocPratica.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoDocPratica toUnescapedModel() { - return new BoDocPraticaWrapper(_boDocPratica.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _boDocPratica.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _boDocPratica.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _boDocPratica.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoDocPraticaWrapper)) { - return false; - } - - BoDocPraticaWrapper boDocPraticaWrapper = (BoDocPraticaWrapper)obj; - - if (Validator.equals(_boDocPratica, boDocPraticaWrapper._boDocPratica)) { - return true; - } - - return false; - } - - @Override - public StagedModelType getStagedModelType() { - return _boDocPratica.getStagedModelType(); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public BoDocPratica getWrappedBoDocPratica() { - return _boDocPratica; - } - - @Override - public BoDocPratica getWrappedModel() { - return _boDocPratica; - } - - @Override - public void resetOriginalValues() { - _boDocPratica.resetOriginalValues(); - } - - private BoDocPratica _boDocPratica; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoIntPratica.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoIntPratica.java deleted file mode 100644 index c1856090..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoIntPratica.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the BoIntPratica service. Represents a row in the "gc_intpratica" database table, with each column mapped to a property of this class. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoIntPraticaModel - * @see it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaImpl - * @see it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl - * @generated - */ -public interface BoIntPratica extends BoIntPraticaModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoIntPraticaClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoIntPraticaClp.java deleted file mode 100644 index 2949b05e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoIntPraticaClp.java +++ /dev/null @@ -1,2134 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.ClpSerializer; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class BoIntPraticaClp extends BaseModelImpl - implements BoIntPratica { - public BoIntPraticaClp() { - } - - @Override - public Class getModelClass() { - return BoIntPratica.class; - } - - @Override - public String getModelClassName() { - return BoIntPratica.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _intPraticaId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setIntPraticaId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _intPraticaId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("tipoPraticaId", getTipoPraticaId()); - attributes.put("territorioId", getTerritorioId()); - attributes.put("destinazione", getDestinazione()); - attributes.put("tipologiaSistemaCostruttivo", - getTipologiaSistemaCostruttivo()); - attributes.put("ag", getAg()); - attributes.put("descLongIntervento", getDescLongIntervento()); - attributes.put("via", getVia()); - attributes.put("localita", getLocalita()); - attributes.put("estremiCatastali", getEstremiCatastali()); - attributes.put("estremiPratCom", getEstremiPratCom()); - attributes.put("dtSorteggio", getDtSorteggio()); - attributes.put("statoPratica", getStatoPratica()); - attributes.put("numeroProgetto", getNumeroProgetto()); - attributes.put("validata", getValidata()); - attributes.put("variataDa", getVariataDa()); - attributes.put("varianteNumero", getVarianteNumero()); - attributes.put("varianteSostanziale", getVarianteSostanziale()); - attributes.put("operaConforme", getOperaConforme()); - attributes.put("tipoPraticaIdSanatoria", getTipoPraticaIdSanatoria()); - attributes.put("status", getStatus()); - attributes.put("statusByUserId", getStatusByUserId()); - attributes.put("statusDate", getStatusDate()); - attributes.put("statoPraticaWorkflow", getStatoPraticaWorkflow()); - attributes.put("esitoControllo", getEsitoControllo()); - attributes.put("collaudoStatico", getCollaudoStatico()); - attributes.put("collaudoStaticoAgtSanatoria", - getCollaudoStaticoAgtSanatoria()); - attributes.put("codiceFiscaleDelegato", getCodiceFiscaleDelegato()); - attributes.put("codiceRuoloDelegato", getCodiceRuoloDelegato()); - attributes.put("lavoriInEconomiaCommittente", - getLavoriInEconomiaCommittente()); - attributes.put("nomeUtenteSuap", getNomeUtenteSuap()); - attributes.put("cognomeUtenteSuap", getCognomeUtenteSuap()); - attributes.put("codiceFiscaleUtenteSuap", getCodiceFiscaleUtenteSuap()); - attributes.put("inizioLavoriContestualeOpera", - getInizioLavoriContestualeOpera()); - attributes.put("dataInizioLavoriOpera", getDataInizioLavoriOpera()); - attributes.put("dataInizioEsecuzioneOpera", - getDataInizioEsecuzioneOpera()); - attributes.put("dataFineEsecuzioneOpera", getDataFineEsecuzioneOpera()); - attributes.put("metratura", getMetratura()); - attributes.put("lavoriPubblici", getLavoriPubblici()); - attributes.put("dtPratica", getDtPratica()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long tipoPraticaId = (Long)attributes.get("tipoPraticaId"); - - if (tipoPraticaId != null) { - setTipoPraticaId(tipoPraticaId); - } - - Long territorioId = (Long)attributes.get("territorioId"); - - if (territorioId != null) { - setTerritorioId(territorioId); - } - - String destinazione = (String)attributes.get("destinazione"); - - if (destinazione != null) { - setDestinazione(destinazione); - } - - String tipologiaSistemaCostruttivo = (String)attributes.get( - "tipologiaSistemaCostruttivo"); - - if (tipologiaSistemaCostruttivo != null) { - setTipologiaSistemaCostruttivo(tipologiaSistemaCostruttivo); - } - - String ag = (String)attributes.get("ag"); - - if (ag != null) { - setAg(ag); - } - - String descLongIntervento = (String)attributes.get("descLongIntervento"); - - if (descLongIntervento != null) { - setDescLongIntervento(descLongIntervento); - } - - String via = (String)attributes.get("via"); - - if (via != null) { - setVia(via); - } - - String localita = (String)attributes.get("localita"); - - if (localita != null) { - setLocalita(localita); - } - - String estremiCatastali = (String)attributes.get("estremiCatastali"); - - if (estremiCatastali != null) { - setEstremiCatastali(estremiCatastali); - } - - String estremiPratCom = (String)attributes.get("estremiPratCom"); - - if (estremiPratCom != null) { - setEstremiPratCom(estremiPratCom); - } - - Date dtSorteggio = (Date)attributes.get("dtSorteggio"); - - if (dtSorteggio != null) { - setDtSorteggio(dtSorteggio); - } - - String statoPratica = (String)attributes.get("statoPratica"); - - if (statoPratica != null) { - setStatoPratica(statoPratica); - } - - String numeroProgetto = (String)attributes.get("numeroProgetto"); - - if (numeroProgetto != null) { - setNumeroProgetto(numeroProgetto); - } - - Boolean validata = (Boolean)attributes.get("validata"); - - if (validata != null) { - setValidata(validata); - } - - Long variataDa = (Long)attributes.get("variataDa"); - - if (variataDa != null) { - setVariataDa(variataDa); - } - - Long varianteNumero = (Long)attributes.get("varianteNumero"); - - if (varianteNumero != null) { - setVarianteNumero(varianteNumero); - } - - Boolean varianteSostanziale = (Boolean)attributes.get( - "varianteSostanziale"); - - if (varianteSostanziale != null) { - setVarianteSostanziale(varianteSostanziale); - } - - Boolean operaConforme = (Boolean)attributes.get("operaConforme"); - - if (operaConforme != null) { - setOperaConforme(operaConforme); - } - - Long tipoPraticaIdSanatoria = (Long)attributes.get( - "tipoPraticaIdSanatoria"); - - if (tipoPraticaIdSanatoria != null) { - setTipoPraticaIdSanatoria(tipoPraticaIdSanatoria); - } - - Integer status = (Integer)attributes.get("status"); - - if (status != null) { - setStatus(status); - } - - Long statusByUserId = (Long)attributes.get("statusByUserId"); - - if (statusByUserId != null) { - setStatusByUserId(statusByUserId); - } - - Date statusDate = (Date)attributes.get("statusDate"); - - if (statusDate != null) { - setStatusDate(statusDate); - } - - String statoPraticaWorkflow = (String)attributes.get( - "statoPraticaWorkflow"); - - if (statoPraticaWorkflow != null) { - setStatoPraticaWorkflow(statoPraticaWorkflow); - } - - Integer esitoControllo = (Integer)attributes.get("esitoControllo"); - - if (esitoControllo != null) { - setEsitoControllo(esitoControllo); - } - - Boolean collaudoStatico = (Boolean)attributes.get("collaudoStatico"); - - if (collaudoStatico != null) { - setCollaudoStatico(collaudoStatico); - } - - Boolean collaudoStaticoAgtSanatoria = (Boolean)attributes.get( - "collaudoStaticoAgtSanatoria"); - - if (collaudoStaticoAgtSanatoria != null) { - setCollaudoStaticoAgtSanatoria(collaudoStaticoAgtSanatoria); - } - - String codiceFiscaleDelegato = (String)attributes.get( - "codiceFiscaleDelegato"); - - if (codiceFiscaleDelegato != null) { - setCodiceFiscaleDelegato(codiceFiscaleDelegato); - } - - String codiceRuoloDelegato = (String)attributes.get( - "codiceRuoloDelegato"); - - if (codiceRuoloDelegato != null) { - setCodiceRuoloDelegato(codiceRuoloDelegato); - } - - Boolean lavoriInEconomiaCommittente = (Boolean)attributes.get( - "lavoriInEconomiaCommittente"); - - if (lavoriInEconomiaCommittente != null) { - setLavoriInEconomiaCommittente(lavoriInEconomiaCommittente); - } - - String nomeUtenteSuap = (String)attributes.get("nomeUtenteSuap"); - - if (nomeUtenteSuap != null) { - setNomeUtenteSuap(nomeUtenteSuap); - } - - String cognomeUtenteSuap = (String)attributes.get("cognomeUtenteSuap"); - - if (cognomeUtenteSuap != null) { - setCognomeUtenteSuap(cognomeUtenteSuap); - } - - String codiceFiscaleUtenteSuap = (String)attributes.get( - "codiceFiscaleUtenteSuap"); - - if (codiceFiscaleUtenteSuap != null) { - setCodiceFiscaleUtenteSuap(codiceFiscaleUtenteSuap); - } - - Boolean inizioLavoriContestualeOpera = (Boolean)attributes.get( - "inizioLavoriContestualeOpera"); - - if (inizioLavoriContestualeOpera != null) { - setInizioLavoriContestualeOpera(inizioLavoriContestualeOpera); - } - - Date dataInizioLavoriOpera = (Date)attributes.get( - "dataInizioLavoriOpera"); - - if (dataInizioLavoriOpera != null) { - setDataInizioLavoriOpera(dataInizioLavoriOpera); - } - - Date dataInizioEsecuzioneOpera = (Date)attributes.get( - "dataInizioEsecuzioneOpera"); - - if (dataInizioEsecuzioneOpera != null) { - setDataInizioEsecuzioneOpera(dataInizioEsecuzioneOpera); - } - - Date dataFineEsecuzioneOpera = (Date)attributes.get( - "dataFineEsecuzioneOpera"); - - if (dataFineEsecuzioneOpera != null) { - setDataFineEsecuzioneOpera(dataFineEsecuzioneOpera); - } - - String metratura = (String)attributes.get("metratura"); - - if (metratura != null) { - setMetratura(metratura); - } - - Boolean lavoriPubblici = (Boolean)attributes.get("lavoriPubblici"); - - if (lavoriPubblici != null) { - setLavoriPubblici(lavoriPubblici); - } - - Date dtPratica = (Date)attributes.get("dtPratica"); - - if (dtPratica != null) { - setDtPratica(dtPratica); - } - } - - @Override - public String getUuid() { - return _uuid; - } - - @Override - public void setUuid(String uuid) { - _uuid = uuid; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setUuid", String.class); - - method.invoke(_boIntPraticaRemoteModel, uuid); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getIntPraticaId() { - return _intPraticaId; - } - - @Override - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setIntPraticaId", long.class); - - method.invoke(_boIntPraticaRemoteModel, intPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_boIntPraticaRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_boIntPraticaRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_boIntPraticaRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_boIntPraticaRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_boIntPraticaRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_boIntPraticaRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getTipoPraticaId() { - return _tipoPraticaId; - } - - @Override - public void setTipoPraticaId(long tipoPraticaId) { - _tipoPraticaId = tipoPraticaId; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setTipoPraticaId", long.class); - - method.invoke(_boIntPraticaRemoteModel, tipoPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getTerritorioId() { - return _territorioId; - } - - @Override - public void setTerritorioId(long territorioId) { - _territorioId = territorioId; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setTerritorioId", long.class); - - method.invoke(_boIntPraticaRemoteModel, territorioId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getDestinazione() { - return _destinazione; - } - - @Override - public void setDestinazione(String destinazione) { - _destinazione = destinazione; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDestinazione", String.class); - - method.invoke(_boIntPraticaRemoteModel, destinazione); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getTipologiaSistemaCostruttivo() { - return _tipologiaSistemaCostruttivo; - } - - @Override - public void setTipologiaSistemaCostruttivo( - String tipologiaSistemaCostruttivo) { - _tipologiaSistemaCostruttivo = tipologiaSistemaCostruttivo; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setTipologiaSistemaCostruttivo", - String.class); - - method.invoke(_boIntPraticaRemoteModel, - tipologiaSistemaCostruttivo); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getAg() { - return _ag; - } - - @Override - public void setAg(String ag) { - _ag = ag; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setAg", String.class); - - method.invoke(_boIntPraticaRemoteModel, ag); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getDescLongIntervento() { - return _descLongIntervento; - } - - @Override - public void setDescLongIntervento(String descLongIntervento) { - _descLongIntervento = descLongIntervento; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDescLongIntervento", - String.class); - - method.invoke(_boIntPraticaRemoteModel, descLongIntervento); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getVia() { - return _via; - } - - @Override - public void setVia(String via) { - _via = via; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setVia", String.class); - - method.invoke(_boIntPraticaRemoteModel, via); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getLocalita() { - return _localita; - } - - @Override - public void setLocalita(String localita) { - _localita = localita; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setLocalita", String.class); - - method.invoke(_boIntPraticaRemoteModel, localita); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getEstremiCatastali() { - return _estremiCatastali; - } - - @Override - public void setEstremiCatastali(String estremiCatastali) { - _estremiCatastali = estremiCatastali; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setEstremiCatastali", - String.class); - - method.invoke(_boIntPraticaRemoteModel, estremiCatastali); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getEstremiPratCom() { - return _estremiPratCom; - } - - @Override - public void setEstremiPratCom(String estremiPratCom) { - _estremiPratCom = estremiPratCom; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setEstremiPratCom", - String.class); - - method.invoke(_boIntPraticaRemoteModel, estremiPratCom); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDtSorteggio() { - return _dtSorteggio; - } - - @Override - public void setDtSorteggio(Date dtSorteggio) { - _dtSorteggio = dtSorteggio; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDtSorteggio", Date.class); - - method.invoke(_boIntPraticaRemoteModel, dtSorteggio); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getStatoPratica() { - return _statoPratica; - } - - @Override - public void setStatoPratica(String statoPratica) { - _statoPratica = statoPratica; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setStatoPratica", String.class); - - method.invoke(_boIntPraticaRemoteModel, statoPratica); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getNumeroProgetto() { - return _numeroProgetto; - } - - @Override - public void setNumeroProgetto(String numeroProgetto) { - _numeroProgetto = numeroProgetto; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setNumeroProgetto", - String.class); - - method.invoke(_boIntPraticaRemoteModel, numeroProgetto); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getValidata() { - return _validata; - } - - @Override - public boolean isValidata() { - return _validata; - } - - @Override - public void setValidata(boolean validata) { - _validata = validata; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setValidata", boolean.class); - - method.invoke(_boIntPraticaRemoteModel, validata); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getVariataDa() { - return _variataDa; - } - - @Override - public void setVariataDa(long variataDa) { - _variataDa = variataDa; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setVariataDa", long.class); - - method.invoke(_boIntPraticaRemoteModel, variataDa); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getVarianteNumero() { - return _varianteNumero; - } - - @Override - public void setVarianteNumero(long varianteNumero) { - _varianteNumero = varianteNumero; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setVarianteNumero", long.class); - - method.invoke(_boIntPraticaRemoteModel, varianteNumero); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getVarianteSostanziale() { - return _varianteSostanziale; - } - - @Override - public boolean isVarianteSostanziale() { - return _varianteSostanziale; - } - - @Override - public void setVarianteSostanziale(boolean varianteSostanziale) { - _varianteSostanziale = varianteSostanziale; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setVarianteSostanziale", - boolean.class); - - method.invoke(_boIntPraticaRemoteModel, varianteSostanziale); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getOperaConforme() { - return _operaConforme; - } - - @Override - public boolean isOperaConforme() { - return _operaConforme; - } - - @Override - public void setOperaConforme(boolean operaConforme) { - _operaConforme = operaConforme; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setOperaConforme", - boolean.class); - - method.invoke(_boIntPraticaRemoteModel, operaConforme); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getTipoPraticaIdSanatoria() { - return _tipoPraticaIdSanatoria; - } - - @Override - public void setTipoPraticaIdSanatoria(long tipoPraticaIdSanatoria) { - _tipoPraticaIdSanatoria = tipoPraticaIdSanatoria; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setTipoPraticaIdSanatoria", - long.class); - - method.invoke(_boIntPraticaRemoteModel, tipoPraticaIdSanatoria); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public int getStatus() { - return _status; - } - - @Override - public void setStatus(int status) { - _status = status; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setStatus", int.class); - - method.invoke(_boIntPraticaRemoteModel, status); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getStatusByUserId() { - return _statusByUserId; - } - - @Override - public void setStatusByUserId(long statusByUserId) { - _statusByUserId = statusByUserId; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setStatusByUserId", long.class); - - method.invoke(_boIntPraticaRemoteModel, statusByUserId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getStatusByUserUuid() throws SystemException { - return PortalUtil.getUserValue(getStatusByUserId(), "uuid", - _statusByUserUuid); - } - - @Override - public void setStatusByUserUuid(String statusByUserUuid) { - _statusByUserUuid = statusByUserUuid; - } - - @Override - public Date getStatusDate() { - return _statusDate; - } - - @Override - public void setStatusDate(Date statusDate) { - _statusDate = statusDate; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setStatusDate", Date.class); - - method.invoke(_boIntPraticaRemoteModel, statusDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getStatoPraticaWorkflow() { - return _statoPraticaWorkflow; - } - - @Override - public void setStatoPraticaWorkflow(String statoPraticaWorkflow) { - _statoPraticaWorkflow = statoPraticaWorkflow; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setStatoPraticaWorkflow", - String.class); - - method.invoke(_boIntPraticaRemoteModel, statoPraticaWorkflow); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public int getEsitoControllo() { - return _esitoControllo; - } - - @Override - public void setEsitoControllo(int esitoControllo) { - _esitoControllo = esitoControllo; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setEsitoControllo", int.class); - - method.invoke(_boIntPraticaRemoteModel, esitoControllo); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getCollaudoStatico() { - return _collaudoStatico; - } - - @Override - public boolean isCollaudoStatico() { - return _collaudoStatico; - } - - @Override - public void setCollaudoStatico(boolean collaudoStatico) { - _collaudoStatico = collaudoStatico; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCollaudoStatico", - boolean.class); - - method.invoke(_boIntPraticaRemoteModel, collaudoStatico); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getCollaudoStaticoAgtSanatoria() { - return _collaudoStaticoAgtSanatoria; - } - - @Override - public boolean isCollaudoStaticoAgtSanatoria() { - return _collaudoStaticoAgtSanatoria; - } - - @Override - public void setCollaudoStaticoAgtSanatoria( - boolean collaudoStaticoAgtSanatoria) { - _collaudoStaticoAgtSanatoria = collaudoStaticoAgtSanatoria; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCollaudoStaticoAgtSanatoria", - boolean.class); - - method.invoke(_boIntPraticaRemoteModel, - collaudoStaticoAgtSanatoria); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodiceFiscaleDelegato() { - return _codiceFiscaleDelegato; - } - - @Override - public void setCodiceFiscaleDelegato(String codiceFiscaleDelegato) { - _codiceFiscaleDelegato = codiceFiscaleDelegato; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodiceFiscaleDelegato", - String.class); - - method.invoke(_boIntPraticaRemoteModel, codiceFiscaleDelegato); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodiceRuoloDelegato() { - return _codiceRuoloDelegato; - } - - @Override - public void setCodiceRuoloDelegato(String codiceRuoloDelegato) { - _codiceRuoloDelegato = codiceRuoloDelegato; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodiceRuoloDelegato", - String.class); - - method.invoke(_boIntPraticaRemoteModel, codiceRuoloDelegato); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getLavoriInEconomiaCommittente() { - return _lavoriInEconomiaCommittente; - } - - @Override - public boolean isLavoriInEconomiaCommittente() { - return _lavoriInEconomiaCommittente; - } - - @Override - public void setLavoriInEconomiaCommittente( - boolean lavoriInEconomiaCommittente) { - _lavoriInEconomiaCommittente = lavoriInEconomiaCommittente; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setLavoriInEconomiaCommittente", - boolean.class); - - method.invoke(_boIntPraticaRemoteModel, - lavoriInEconomiaCommittente); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getNomeUtenteSuap() { - return _nomeUtenteSuap; - } - - @Override - public void setNomeUtenteSuap(String nomeUtenteSuap) { - _nomeUtenteSuap = nomeUtenteSuap; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setNomeUtenteSuap", - String.class); - - method.invoke(_boIntPraticaRemoteModel, nomeUtenteSuap); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCognomeUtenteSuap() { - return _cognomeUtenteSuap; - } - - @Override - public void setCognomeUtenteSuap(String cognomeUtenteSuap) { - _cognomeUtenteSuap = cognomeUtenteSuap; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCognomeUtenteSuap", - String.class); - - method.invoke(_boIntPraticaRemoteModel, cognomeUtenteSuap); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodiceFiscaleUtenteSuap() { - return _codiceFiscaleUtenteSuap; - } - - @Override - public void setCodiceFiscaleUtenteSuap(String codiceFiscaleUtenteSuap) { - _codiceFiscaleUtenteSuap = codiceFiscaleUtenteSuap; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodiceFiscaleUtenteSuap", - String.class); - - method.invoke(_boIntPraticaRemoteModel, codiceFiscaleUtenteSuap); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getInizioLavoriContestualeOpera() { - return _inizioLavoriContestualeOpera; - } - - @Override - public boolean isInizioLavoriContestualeOpera() { - return _inizioLavoriContestualeOpera; - } - - @Override - public void setInizioLavoriContestualeOpera( - boolean inizioLavoriContestualeOpera) { - _inizioLavoriContestualeOpera = inizioLavoriContestualeOpera; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setInizioLavoriContestualeOpera", - boolean.class); - - method.invoke(_boIntPraticaRemoteModel, - inizioLavoriContestualeOpera); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDataInizioLavoriOpera() { - return _dataInizioLavoriOpera; - } - - @Override - public void setDataInizioLavoriOpera(Date dataInizioLavoriOpera) { - _dataInizioLavoriOpera = dataInizioLavoriOpera; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDataInizioLavoriOpera", - Date.class); - - method.invoke(_boIntPraticaRemoteModel, dataInizioLavoriOpera); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDataInizioEsecuzioneOpera() { - return _dataInizioEsecuzioneOpera; - } - - @Override - public void setDataInizioEsecuzioneOpera(Date dataInizioEsecuzioneOpera) { - _dataInizioEsecuzioneOpera = dataInizioEsecuzioneOpera; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDataInizioEsecuzioneOpera", - Date.class); - - method.invoke(_boIntPraticaRemoteModel, - dataInizioEsecuzioneOpera); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDataFineEsecuzioneOpera() { - return _dataFineEsecuzioneOpera; - } - - @Override - public void setDataFineEsecuzioneOpera(Date dataFineEsecuzioneOpera) { - _dataFineEsecuzioneOpera = dataFineEsecuzioneOpera; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDataFineEsecuzioneOpera", - Date.class); - - method.invoke(_boIntPraticaRemoteModel, dataFineEsecuzioneOpera); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getMetratura() { - return _metratura; - } - - @Override - public void setMetratura(String metratura) { - _metratura = metratura; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setMetratura", String.class); - - method.invoke(_boIntPraticaRemoteModel, metratura); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getLavoriPubblici() { - return _lavoriPubblici; - } - - @Override - public boolean isLavoriPubblici() { - return _lavoriPubblici; - } - - @Override - public void setLavoriPubblici(boolean lavoriPubblici) { - _lavoriPubblici = lavoriPubblici; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setLavoriPubblici", - boolean.class); - - method.invoke(_boIntPraticaRemoteModel, lavoriPubblici); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDtPratica() { - return _dtPratica; - } - - @Override - public void setDtPratica(Date dtPratica) { - _dtPratica = dtPratica; - - if (_boIntPraticaRemoteModel != null) { - try { - Class clazz = _boIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDtPratica", Date.class); - - method.invoke(_boIntPraticaRemoteModel, dtPratica); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoIntPratica.class.getName())); - } - - public BaseModel getBoIntPraticaRemoteModel() { - return _boIntPraticaRemoteModel; - } - - public void setBoIntPraticaRemoteModel(BaseModel boIntPraticaRemoteModel) { - _boIntPraticaRemoteModel = boIntPraticaRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _boIntPraticaRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_boIntPraticaRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoIntPraticaLocalServiceUtil.addBoIntPratica(this); - } - else { - BoIntPraticaLocalServiceUtil.updateBoIntPratica(this); - } - } - - @Override - public BoIntPratica toEscapedModel() { - return (BoIntPratica)ProxyUtil.newProxyInstance(BoIntPratica.class.getClassLoader(), - new Class[] { BoIntPratica.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - BoIntPraticaClp clone = new BoIntPraticaClp(); - - clone.setUuid(getUuid()); - clone.setIntPraticaId(getIntPraticaId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setGroupId(getGroupId()); - clone.setTipoPraticaId(getTipoPraticaId()); - clone.setTerritorioId(getTerritorioId()); - clone.setDestinazione(getDestinazione()); - clone.setTipologiaSistemaCostruttivo(getTipologiaSistemaCostruttivo()); - clone.setAg(getAg()); - clone.setDescLongIntervento(getDescLongIntervento()); - clone.setVia(getVia()); - clone.setLocalita(getLocalita()); - clone.setEstremiCatastali(getEstremiCatastali()); - clone.setEstremiPratCom(getEstremiPratCom()); - clone.setDtSorteggio(getDtSorteggio()); - clone.setStatoPratica(getStatoPratica()); - clone.setNumeroProgetto(getNumeroProgetto()); - clone.setValidata(getValidata()); - clone.setVariataDa(getVariataDa()); - clone.setVarianteNumero(getVarianteNumero()); - clone.setVarianteSostanziale(getVarianteSostanziale()); - clone.setOperaConforme(getOperaConforme()); - clone.setTipoPraticaIdSanatoria(getTipoPraticaIdSanatoria()); - clone.setStatus(getStatus()); - clone.setStatusByUserId(getStatusByUserId()); - clone.setStatusDate(getStatusDate()); - clone.setStatoPraticaWorkflow(getStatoPraticaWorkflow()); - clone.setEsitoControllo(getEsitoControllo()); - clone.setCollaudoStatico(getCollaudoStatico()); - clone.setCollaudoStaticoAgtSanatoria(getCollaudoStaticoAgtSanatoria()); - clone.setCodiceFiscaleDelegato(getCodiceFiscaleDelegato()); - clone.setCodiceRuoloDelegato(getCodiceRuoloDelegato()); - clone.setLavoriInEconomiaCommittente(getLavoriInEconomiaCommittente()); - clone.setNomeUtenteSuap(getNomeUtenteSuap()); - clone.setCognomeUtenteSuap(getCognomeUtenteSuap()); - clone.setCodiceFiscaleUtenteSuap(getCodiceFiscaleUtenteSuap()); - clone.setInizioLavoriContestualeOpera(getInizioLavoriContestualeOpera()); - clone.setDataInizioLavoriOpera(getDataInizioLavoriOpera()); - clone.setDataInizioEsecuzioneOpera(getDataInizioEsecuzioneOpera()); - clone.setDataFineEsecuzioneOpera(getDataFineEsecuzioneOpera()); - clone.setMetratura(getMetratura()); - clone.setLavoriPubblici(getLavoriPubblici()); - clone.setDtPratica(getDtPratica()); - - return clone; - } - - @Override - public int compareTo(BoIntPratica boIntPratica) { - long primaryKey = boIntPratica.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoIntPraticaClp)) { - return false; - } - - BoIntPraticaClp boIntPratica = (BoIntPraticaClp)obj; - - long primaryKey = boIntPratica.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(95); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", intPraticaId="); - sb.append(getIntPraticaId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", tipoPraticaId="); - sb.append(getTipoPraticaId()); - sb.append(", territorioId="); - sb.append(getTerritorioId()); - sb.append(", destinazione="); - sb.append(getDestinazione()); - sb.append(", tipologiaSistemaCostruttivo="); - sb.append(getTipologiaSistemaCostruttivo()); - sb.append(", ag="); - sb.append(getAg()); - sb.append(", descLongIntervento="); - sb.append(getDescLongIntervento()); - sb.append(", via="); - sb.append(getVia()); - sb.append(", localita="); - sb.append(getLocalita()); - sb.append(", estremiCatastali="); - sb.append(getEstremiCatastali()); - sb.append(", estremiPratCom="); - sb.append(getEstremiPratCom()); - sb.append(", dtSorteggio="); - sb.append(getDtSorteggio()); - sb.append(", statoPratica="); - sb.append(getStatoPratica()); - sb.append(", numeroProgetto="); - sb.append(getNumeroProgetto()); - sb.append(", validata="); - sb.append(getValidata()); - sb.append(", variataDa="); - sb.append(getVariataDa()); - sb.append(", varianteNumero="); - sb.append(getVarianteNumero()); - sb.append(", varianteSostanziale="); - sb.append(getVarianteSostanziale()); - sb.append(", operaConforme="); - sb.append(getOperaConforme()); - sb.append(", tipoPraticaIdSanatoria="); - sb.append(getTipoPraticaIdSanatoria()); - sb.append(", status="); - sb.append(getStatus()); - sb.append(", statusByUserId="); - sb.append(getStatusByUserId()); - sb.append(", statusDate="); - sb.append(getStatusDate()); - sb.append(", statoPraticaWorkflow="); - sb.append(getStatoPraticaWorkflow()); - sb.append(", esitoControllo="); - sb.append(getEsitoControllo()); - sb.append(", collaudoStatico="); - sb.append(getCollaudoStatico()); - sb.append(", collaudoStaticoAgtSanatoria="); - sb.append(getCollaudoStaticoAgtSanatoria()); - sb.append(", codiceFiscaleDelegato="); - sb.append(getCodiceFiscaleDelegato()); - sb.append(", codiceRuoloDelegato="); - sb.append(getCodiceRuoloDelegato()); - sb.append(", lavoriInEconomiaCommittente="); - sb.append(getLavoriInEconomiaCommittente()); - sb.append(", nomeUtenteSuap="); - sb.append(getNomeUtenteSuap()); - sb.append(", cognomeUtenteSuap="); - sb.append(getCognomeUtenteSuap()); - sb.append(", codiceFiscaleUtenteSuap="); - sb.append(getCodiceFiscaleUtenteSuap()); - sb.append(", inizioLavoriContestualeOpera="); - sb.append(getInizioLavoriContestualeOpera()); - sb.append(", dataInizioLavoriOpera="); - sb.append(getDataInizioLavoriOpera()); - sb.append(", dataInizioEsecuzioneOpera="); - sb.append(getDataInizioEsecuzioneOpera()); - sb.append(", dataFineEsecuzioneOpera="); - sb.append(getDataFineEsecuzioneOpera()); - sb.append(", metratura="); - sb.append(getMetratura()); - sb.append(", lavoriPubblici="); - sb.append(getLavoriPubblici()); - sb.append(", dtPratica="); - sb.append(getDtPratica()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(145); - - sb.append(""); - sb.append("it.tref.liferay.portos.portosimport.model.BoIntPratica"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "intPraticaId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "tipoPraticaId"); - sb.append( - "territorioId"); - sb.append( - "destinazione"); - sb.append( - "tipologiaSistemaCostruttivo"); - sb.append( - "ag"); - sb.append( - "descLongIntervento"); - sb.append( - "via"); - sb.append( - "localita"); - sb.append( - "estremiCatastali"); - sb.append( - "estremiPratCom"); - sb.append( - "dtSorteggio"); - sb.append( - "statoPratica"); - sb.append( - "numeroProgetto"); - sb.append( - "validata"); - sb.append( - "variataDa"); - sb.append( - "varianteNumero"); - sb.append( - "varianteSostanziale"); - sb.append( - "operaConforme"); - sb.append( - "tipoPraticaIdSanatoria"); - sb.append( - "status"); - sb.append( - "statusByUserId"); - sb.append( - "statusDate"); - sb.append( - "statoPraticaWorkflow"); - sb.append( - "esitoControllo"); - sb.append( - "collaudoStatico"); - sb.append( - "collaudoStaticoAgtSanatoria"); - sb.append( - "codiceFiscaleDelegato"); - sb.append( - "codiceRuoloDelegato"); - sb.append( - "lavoriInEconomiaCommittente"); - sb.append( - "nomeUtenteSuap"); - sb.append( - "cognomeUtenteSuap"); - sb.append( - "codiceFiscaleUtenteSuap"); - sb.append( - "inizioLavoriContestualeOpera"); - sb.append( - "dataInizioLavoriOpera"); - sb.append( - "dataInizioEsecuzioneOpera"); - sb.append( - "dataFineEsecuzioneOpera"); - sb.append( - "metratura"); - sb.append( - "lavoriPubblici"); - sb.append( - "dtPratica"); - - sb.append(""); - - return sb.toString(); - } - - private String _uuid; - private long _intPraticaId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _tipoPraticaId; - private long _territorioId; - private String _destinazione; - private String _tipologiaSistemaCostruttivo; - private String _ag; - private String _descLongIntervento; - private String _via; - private String _localita; - private String _estremiCatastali; - private String _estremiPratCom; - private Date _dtSorteggio; - private String _statoPratica; - private String _numeroProgetto; - private boolean _validata; - private long _variataDa; - private long _varianteNumero; - private boolean _varianteSostanziale; - private boolean _operaConforme; - private long _tipoPraticaIdSanatoria; - private int _status; - private long _statusByUserId; - private String _statusByUserUuid; - private Date _statusDate; - private String _statoPraticaWorkflow; - private int _esitoControllo; - private boolean _collaudoStatico; - private boolean _collaudoStaticoAgtSanatoria; - private String _codiceFiscaleDelegato; - private String _codiceRuoloDelegato; - private boolean _lavoriInEconomiaCommittente; - private String _nomeUtenteSuap; - private String _cognomeUtenteSuap; - private String _codiceFiscaleUtenteSuap; - private boolean _inizioLavoriContestualeOpera; - private Date _dataInizioLavoriOpera; - private Date _dataInizioEsecuzioneOpera; - private Date _dataFineEsecuzioneOpera; - private String _metratura; - private boolean _lavoriPubblici; - private Date _dtPratica; - private BaseModel _boIntPraticaRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.portosimport.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoIntPraticaModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoIntPraticaModel.java deleted file mode 100644 index 0fd88a09..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoIntPraticaModel.java +++ /dev/null @@ -1,905 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.StagedGroupedModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the BoIntPratica service. Represents a row in the "gc_intpratica" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoIntPratica - * @see it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaImpl - * @see it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl - * @generated - */ -public interface BoIntPraticaModel extends BaseModel, - StagedGroupedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a bo int pratica model instance should use the {@link BoIntPratica} interface instead. - */ - - /** - * Returns the primary key of this bo int pratica. - * - * @return the primary key of this bo int pratica - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this bo int pratica. - * - * @param primaryKey the primary key of this bo int pratica - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the uuid of this bo int pratica. - * - * @return the uuid of this bo int pratica - */ - @AutoEscape - @Override - public String getUuid(); - - /** - * Sets the uuid of this bo int pratica. - * - * @param uuid the uuid of this bo int pratica - */ - @Override - public void setUuid(String uuid); - - /** - * Returns the int pratica ID of this bo int pratica. - * - * @return the int pratica ID of this bo int pratica - */ - public long getIntPraticaId(); - - /** - * Sets the int pratica ID of this bo int pratica. - * - * @param intPraticaId the int pratica ID of this bo int pratica - */ - public void setIntPraticaId(long intPraticaId); - - /** - * Returns the company ID of this bo int pratica. - * - * @return the company ID of this bo int pratica - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this bo int pratica. - * - * @param companyId the company ID of this bo int pratica - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this bo int pratica. - * - * @return the user ID of this bo int pratica - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this bo int pratica. - * - * @param userId the user ID of this bo int pratica - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this bo int pratica. - * - * @return the user uuid of this bo int pratica - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this bo int pratica. - * - * @param userUuid the user uuid of this bo int pratica - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this bo int pratica. - * - * @return the user name of this bo int pratica - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this bo int pratica. - * - * @param userName the user name of this bo int pratica - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this bo int pratica. - * - * @return the create date of this bo int pratica - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this bo int pratica. - * - * @param createDate the create date of this bo int pratica - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this bo int pratica. - * - * @return the modified date of this bo int pratica - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this bo int pratica. - * - * @param modifiedDate the modified date of this bo int pratica - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the group ID of this bo int pratica. - * - * @return the group ID of this bo int pratica - */ - @Override - public long getGroupId(); - - /** - * Sets the group ID of this bo int pratica. - * - * @param groupId the group ID of this bo int pratica - */ - @Override - public void setGroupId(long groupId); - - /** - * Returns the tipo pratica ID of this bo int pratica. - * - * @return the tipo pratica ID of this bo int pratica - */ - public long getTipoPraticaId(); - - /** - * Sets the tipo pratica ID of this bo int pratica. - * - * @param tipoPraticaId the tipo pratica ID of this bo int pratica - */ - public void setTipoPraticaId(long tipoPraticaId); - - /** - * Returns the territorio ID of this bo int pratica. - * - * @return the territorio ID of this bo int pratica - */ - public long getTerritorioId(); - - /** - * Sets the territorio ID of this bo int pratica. - * - * @param territorioId the territorio ID of this bo int pratica - */ - public void setTerritorioId(long territorioId); - - /** - * Returns the destinazione of this bo int pratica. - * - * @return the destinazione of this bo int pratica - */ - @AutoEscape - public String getDestinazione(); - - /** - * Sets the destinazione of this bo int pratica. - * - * @param destinazione the destinazione of this bo int pratica - */ - public void setDestinazione(String destinazione); - - /** - * Returns the tipologia sistema costruttivo of this bo int pratica. - * - * @return the tipologia sistema costruttivo of this bo int pratica - */ - @AutoEscape - public String getTipologiaSistemaCostruttivo(); - - /** - * Sets the tipologia sistema costruttivo of this bo int pratica. - * - * @param tipologiaSistemaCostruttivo the tipologia sistema costruttivo of this bo int pratica - */ - public void setTipologiaSistemaCostruttivo( - String tipologiaSistemaCostruttivo); - - /** - * Returns the ag of this bo int pratica. - * - * @return the ag of this bo int pratica - */ - @AutoEscape - public String getAg(); - - /** - * Sets the ag of this bo int pratica. - * - * @param ag the ag of this bo int pratica - */ - public void setAg(String ag); - - /** - * Returns the desc long intervento of this bo int pratica. - * - * @return the desc long intervento of this bo int pratica - */ - @AutoEscape - public String getDescLongIntervento(); - - /** - * Sets the desc long intervento of this bo int pratica. - * - * @param descLongIntervento the desc long intervento of this bo int pratica - */ - public void setDescLongIntervento(String descLongIntervento); - - /** - * Returns the via of this bo int pratica. - * - * @return the via of this bo int pratica - */ - @AutoEscape - public String getVia(); - - /** - * Sets the via of this bo int pratica. - * - * @param via the via of this bo int pratica - */ - public void setVia(String via); - - /** - * Returns the localita of this bo int pratica. - * - * @return the localita of this bo int pratica - */ - @AutoEscape - public String getLocalita(); - - /** - * Sets the localita of this bo int pratica. - * - * @param localita the localita of this bo int pratica - */ - public void setLocalita(String localita); - - /** - * Returns the estremi catastali of this bo int pratica. - * - * @return the estremi catastali of this bo int pratica - */ - @AutoEscape - public String getEstremiCatastali(); - - /** - * Sets the estremi catastali of this bo int pratica. - * - * @param estremiCatastali the estremi catastali of this bo int pratica - */ - public void setEstremiCatastali(String estremiCatastali); - - /** - * Returns the estremi prat com of this bo int pratica. - * - * @return the estremi prat com of this bo int pratica - */ - @AutoEscape - public String getEstremiPratCom(); - - /** - * Sets the estremi prat com of this bo int pratica. - * - * @param estremiPratCom the estremi prat com of this bo int pratica - */ - public void setEstremiPratCom(String estremiPratCom); - - /** - * Returns the dt sorteggio of this bo int pratica. - * - * @return the dt sorteggio of this bo int pratica - */ - public Date getDtSorteggio(); - - /** - * Sets the dt sorteggio of this bo int pratica. - * - * @param dtSorteggio the dt sorteggio of this bo int pratica - */ - public void setDtSorteggio(Date dtSorteggio); - - /** - * Returns the stato pratica of this bo int pratica. - * - * @return the stato pratica of this bo int pratica - */ - @AutoEscape - public String getStatoPratica(); - - /** - * Sets the stato pratica of this bo int pratica. - * - * @param statoPratica the stato pratica of this bo int pratica - */ - public void setStatoPratica(String statoPratica); - - /** - * Returns the numero progetto of this bo int pratica. - * - * @return the numero progetto of this bo int pratica - */ - @AutoEscape - public String getNumeroProgetto(); - - /** - * Sets the numero progetto of this bo int pratica. - * - * @param numeroProgetto the numero progetto of this bo int pratica - */ - public void setNumeroProgetto(String numeroProgetto); - - /** - * Returns the validata of this bo int pratica. - * - * @return the validata of this bo int pratica - */ - public boolean getValidata(); - - /** - * Returns true if this bo int pratica is validata. - * - * @return true if this bo int pratica is validata; false otherwise - */ - public boolean isValidata(); - - /** - * Sets whether this bo int pratica is validata. - * - * @param validata the validata of this bo int pratica - */ - public void setValidata(boolean validata); - - /** - * Returns the variata da of this bo int pratica. - * - * @return the variata da of this bo int pratica - */ - public long getVariataDa(); - - /** - * Sets the variata da of this bo int pratica. - * - * @param variataDa the variata da of this bo int pratica - */ - public void setVariataDa(long variataDa); - - /** - * Returns the variante numero of this bo int pratica. - * - * @return the variante numero of this bo int pratica - */ - public long getVarianteNumero(); - - /** - * Sets the variante numero of this bo int pratica. - * - * @param varianteNumero the variante numero of this bo int pratica - */ - public void setVarianteNumero(long varianteNumero); - - /** - * Returns the variante sostanziale of this bo int pratica. - * - * @return the variante sostanziale of this bo int pratica - */ - public boolean getVarianteSostanziale(); - - /** - * Returns true if this bo int pratica is variante sostanziale. - * - * @return true if this bo int pratica is variante sostanziale; false otherwise - */ - public boolean isVarianteSostanziale(); - - /** - * Sets whether this bo int pratica is variante sostanziale. - * - * @param varianteSostanziale the variante sostanziale of this bo int pratica - */ - public void setVarianteSostanziale(boolean varianteSostanziale); - - /** - * Returns the opera conforme of this bo int pratica. - * - * @return the opera conforme of this bo int pratica - */ - public boolean getOperaConforme(); - - /** - * Returns true if this bo int pratica is opera conforme. - * - * @return true if this bo int pratica is opera conforme; false otherwise - */ - public boolean isOperaConforme(); - - /** - * Sets whether this bo int pratica is opera conforme. - * - * @param operaConforme the opera conforme of this bo int pratica - */ - public void setOperaConforme(boolean operaConforme); - - /** - * Returns the tipo pratica ID sanatoria of this bo int pratica. - * - * @return the tipo pratica ID sanatoria of this bo int pratica - */ - public long getTipoPraticaIdSanatoria(); - - /** - * Sets the tipo pratica ID sanatoria of this bo int pratica. - * - * @param tipoPraticaIdSanatoria the tipo pratica ID sanatoria of this bo int pratica - */ - public void setTipoPraticaIdSanatoria(long tipoPraticaIdSanatoria); - - /** - * Returns the status of this bo int pratica. - * - * @return the status of this bo int pratica - */ - public int getStatus(); - - /** - * Sets the status of this bo int pratica. - * - * @param status the status of this bo int pratica - */ - public void setStatus(int status); - - /** - * Returns the status by user ID of this bo int pratica. - * - * @return the status by user ID of this bo int pratica - */ - public long getStatusByUserId(); - - /** - * Sets the status by user ID of this bo int pratica. - * - * @param statusByUserId the status by user ID of this bo int pratica - */ - public void setStatusByUserId(long statusByUserId); - - /** - * Returns the status by user uuid of this bo int pratica. - * - * @return the status by user uuid of this bo int pratica - * @throws SystemException if a system exception occurred - */ - public String getStatusByUserUuid() throws SystemException; - - /** - * Sets the status by user uuid of this bo int pratica. - * - * @param statusByUserUuid the status by user uuid of this bo int pratica - */ - public void setStatusByUserUuid(String statusByUserUuid); - - /** - * Returns the status date of this bo int pratica. - * - * @return the status date of this bo int pratica - */ - public Date getStatusDate(); - - /** - * Sets the status date of this bo int pratica. - * - * @param statusDate the status date of this bo int pratica - */ - public void setStatusDate(Date statusDate); - - /** - * Returns the stato pratica workflow of this bo int pratica. - * - * @return the stato pratica workflow of this bo int pratica - */ - @AutoEscape - public String getStatoPraticaWorkflow(); - - /** - * Sets the stato pratica workflow of this bo int pratica. - * - * @param statoPraticaWorkflow the stato pratica workflow of this bo int pratica - */ - public void setStatoPraticaWorkflow(String statoPraticaWorkflow); - - /** - * Returns the esito controllo of this bo int pratica. - * - * @return the esito controllo of this bo int pratica - */ - public int getEsitoControllo(); - - /** - * Sets the esito controllo of this bo int pratica. - * - * @param esitoControllo the esito controllo of this bo int pratica - */ - public void setEsitoControllo(int esitoControllo); - - /** - * Returns the collaudo statico of this bo int pratica. - * - * @return the collaudo statico of this bo int pratica - */ - public boolean getCollaudoStatico(); - - /** - * Returns true if this bo int pratica is collaudo statico. - * - * @return true if this bo int pratica is collaudo statico; false otherwise - */ - public boolean isCollaudoStatico(); - - /** - * Sets whether this bo int pratica is collaudo statico. - * - * @param collaudoStatico the collaudo statico of this bo int pratica - */ - public void setCollaudoStatico(boolean collaudoStatico); - - /** - * Returns the collaudo statico agt sanatoria of this bo int pratica. - * - * @return the collaudo statico agt sanatoria of this bo int pratica - */ - public boolean getCollaudoStaticoAgtSanatoria(); - - /** - * Returns true if this bo int pratica is collaudo statico agt sanatoria. - * - * @return true if this bo int pratica is collaudo statico agt sanatoria; false otherwise - */ - public boolean isCollaudoStaticoAgtSanatoria(); - - /** - * Sets whether this bo int pratica is collaudo statico agt sanatoria. - * - * @param collaudoStaticoAgtSanatoria the collaudo statico agt sanatoria of this bo int pratica - */ - public void setCollaudoStaticoAgtSanatoria( - boolean collaudoStaticoAgtSanatoria); - - /** - * Returns the codice fiscale delegato of this bo int pratica. - * - * @return the codice fiscale delegato of this bo int pratica - */ - @AutoEscape - public String getCodiceFiscaleDelegato(); - - /** - * Sets the codice fiscale delegato of this bo int pratica. - * - * @param codiceFiscaleDelegato the codice fiscale delegato of this bo int pratica - */ - public void setCodiceFiscaleDelegato(String codiceFiscaleDelegato); - - /** - * Returns the codice ruolo delegato of this bo int pratica. - * - * @return the codice ruolo delegato of this bo int pratica - */ - @AutoEscape - public String getCodiceRuoloDelegato(); - - /** - * Sets the codice ruolo delegato of this bo int pratica. - * - * @param codiceRuoloDelegato the codice ruolo delegato of this bo int pratica - */ - public void setCodiceRuoloDelegato(String codiceRuoloDelegato); - - /** - * Returns the lavori in economia committente of this bo int pratica. - * - * @return the lavori in economia committente of this bo int pratica - */ - public boolean getLavoriInEconomiaCommittente(); - - /** - * Returns true if this bo int pratica is lavori in economia committente. - * - * @return true if this bo int pratica is lavori in economia committente; false otherwise - */ - public boolean isLavoriInEconomiaCommittente(); - - /** - * Sets whether this bo int pratica is lavori in economia committente. - * - * @param lavoriInEconomiaCommittente the lavori in economia committente of this bo int pratica - */ - public void setLavoriInEconomiaCommittente( - boolean lavoriInEconomiaCommittente); - - /** - * Returns the nome utente suap of this bo int pratica. - * - * @return the nome utente suap of this bo int pratica - */ - @AutoEscape - public String getNomeUtenteSuap(); - - /** - * Sets the nome utente suap of this bo int pratica. - * - * @param nomeUtenteSuap the nome utente suap of this bo int pratica - */ - public void setNomeUtenteSuap(String nomeUtenteSuap); - - /** - * Returns the cognome utente suap of this bo int pratica. - * - * @return the cognome utente suap of this bo int pratica - */ - @AutoEscape - public String getCognomeUtenteSuap(); - - /** - * Sets the cognome utente suap of this bo int pratica. - * - * @param cognomeUtenteSuap the cognome utente suap of this bo int pratica - */ - public void setCognomeUtenteSuap(String cognomeUtenteSuap); - - /** - * Returns the codice fiscale utente suap of this bo int pratica. - * - * @return the codice fiscale utente suap of this bo int pratica - */ - @AutoEscape - public String getCodiceFiscaleUtenteSuap(); - - /** - * Sets the codice fiscale utente suap of this bo int pratica. - * - * @param codiceFiscaleUtenteSuap the codice fiscale utente suap of this bo int pratica - */ - public void setCodiceFiscaleUtenteSuap(String codiceFiscaleUtenteSuap); - - /** - * Returns the inizio lavori contestuale opera of this bo int pratica. - * - * @return the inizio lavori contestuale opera of this bo int pratica - */ - public boolean getInizioLavoriContestualeOpera(); - - /** - * Returns true if this bo int pratica is inizio lavori contestuale opera. - * - * @return true if this bo int pratica is inizio lavori contestuale opera; false otherwise - */ - public boolean isInizioLavoriContestualeOpera(); - - /** - * Sets whether this bo int pratica is inizio lavori contestuale opera. - * - * @param inizioLavoriContestualeOpera the inizio lavori contestuale opera of this bo int pratica - */ - public void setInizioLavoriContestualeOpera( - boolean inizioLavoriContestualeOpera); - - /** - * Returns the data inizio lavori opera of this bo int pratica. - * - * @return the data inizio lavori opera of this bo int pratica - */ - public Date getDataInizioLavoriOpera(); - - /** - * Sets the data inizio lavori opera of this bo int pratica. - * - * @param dataInizioLavoriOpera the data inizio lavori opera of this bo int pratica - */ - public void setDataInizioLavoriOpera(Date dataInizioLavoriOpera); - - /** - * Returns the data inizio esecuzione opera of this bo int pratica. - * - * @return the data inizio esecuzione opera of this bo int pratica - */ - public Date getDataInizioEsecuzioneOpera(); - - /** - * Sets the data inizio esecuzione opera of this bo int pratica. - * - * @param dataInizioEsecuzioneOpera the data inizio esecuzione opera of this bo int pratica - */ - public void setDataInizioEsecuzioneOpera(Date dataInizioEsecuzioneOpera); - - /** - * Returns the data fine esecuzione opera of this bo int pratica. - * - * @return the data fine esecuzione opera of this bo int pratica - */ - public Date getDataFineEsecuzioneOpera(); - - /** - * Sets the data fine esecuzione opera of this bo int pratica. - * - * @param dataFineEsecuzioneOpera the data fine esecuzione opera of this bo int pratica - */ - public void setDataFineEsecuzioneOpera(Date dataFineEsecuzioneOpera); - - /** - * Returns the metratura of this bo int pratica. - * - * @return the metratura of this bo int pratica - */ - @AutoEscape - public String getMetratura(); - - /** - * Sets the metratura of this bo int pratica. - * - * @param metratura the metratura of this bo int pratica - */ - public void setMetratura(String metratura); - - /** - * Returns the lavori pubblici of this bo int pratica. - * - * @return the lavori pubblici of this bo int pratica - */ - public boolean getLavoriPubblici(); - - /** - * Returns true if this bo int pratica is lavori pubblici. - * - * @return true if this bo int pratica is lavori pubblici; false otherwise - */ - public boolean isLavoriPubblici(); - - /** - * Sets whether this bo int pratica is lavori pubblici. - * - * @param lavoriPubblici the lavori pubblici of this bo int pratica - */ - public void setLavoriPubblici(boolean lavoriPubblici); - - /** - * Returns the dt pratica of this bo int pratica. - * - * @return the dt pratica of this bo int pratica - */ - public Date getDtPratica(); - - /** - * Sets the dt pratica of this bo int pratica. - * - * @param dtPratica the dt pratica of this bo int pratica - */ - public void setDtPratica(Date dtPratica); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.BoIntPratica boIntPratica); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.BoIntPratica toEscapedModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.BoIntPratica toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoIntPraticaSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoIntPraticaSoap.java deleted file mode 100644 index 00888434..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoIntPraticaSoap.java +++ /dev/null @@ -1,591 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoIntPraticaSoap implements Serializable { - public static BoIntPraticaSoap toSoapModel(BoIntPratica model) { - BoIntPraticaSoap soapModel = new BoIntPraticaSoap(); - - soapModel.setUuid(model.getUuid()); - soapModel.setIntPraticaId(model.getIntPraticaId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setTipoPraticaId(model.getTipoPraticaId()); - soapModel.setTerritorioId(model.getTerritorioId()); - soapModel.setDestinazione(model.getDestinazione()); - soapModel.setTipologiaSistemaCostruttivo(model.getTipologiaSistemaCostruttivo()); - soapModel.setAg(model.getAg()); - soapModel.setDescLongIntervento(model.getDescLongIntervento()); - soapModel.setVia(model.getVia()); - soapModel.setLocalita(model.getLocalita()); - soapModel.setEstremiCatastali(model.getEstremiCatastali()); - soapModel.setEstremiPratCom(model.getEstremiPratCom()); - soapModel.setDtSorteggio(model.getDtSorteggio()); - soapModel.setStatoPratica(model.getStatoPratica()); - soapModel.setNumeroProgetto(model.getNumeroProgetto()); - soapModel.setValidata(model.getValidata()); - soapModel.setVariataDa(model.getVariataDa()); - soapModel.setVarianteNumero(model.getVarianteNumero()); - soapModel.setVarianteSostanziale(model.getVarianteSostanziale()); - soapModel.setOperaConforme(model.getOperaConforme()); - soapModel.setTipoPraticaIdSanatoria(model.getTipoPraticaIdSanatoria()); - soapModel.setStatus(model.getStatus()); - soapModel.setStatusByUserId(model.getStatusByUserId()); - soapModel.setStatusDate(model.getStatusDate()); - soapModel.setStatoPraticaWorkflow(model.getStatoPraticaWorkflow()); - soapModel.setEsitoControllo(model.getEsitoControllo()); - soapModel.setCollaudoStatico(model.getCollaudoStatico()); - soapModel.setCollaudoStaticoAgtSanatoria(model.getCollaudoStaticoAgtSanatoria()); - soapModel.setCodiceFiscaleDelegato(model.getCodiceFiscaleDelegato()); - soapModel.setCodiceRuoloDelegato(model.getCodiceRuoloDelegato()); - soapModel.setLavoriInEconomiaCommittente(model.getLavoriInEconomiaCommittente()); - soapModel.setNomeUtenteSuap(model.getNomeUtenteSuap()); - soapModel.setCognomeUtenteSuap(model.getCognomeUtenteSuap()); - soapModel.setCodiceFiscaleUtenteSuap(model.getCodiceFiscaleUtenteSuap()); - soapModel.setInizioLavoriContestualeOpera(model.getInizioLavoriContestualeOpera()); - soapModel.setDataInizioLavoriOpera(model.getDataInizioLavoriOpera()); - soapModel.setDataInizioEsecuzioneOpera(model.getDataInizioEsecuzioneOpera()); - soapModel.setDataFineEsecuzioneOpera(model.getDataFineEsecuzioneOpera()); - soapModel.setMetratura(model.getMetratura()); - soapModel.setLavoriPubblici(model.getLavoriPubblici()); - soapModel.setDtPratica(model.getDtPratica()); - - return soapModel; - } - - public static BoIntPraticaSoap[] toSoapModels(BoIntPratica[] models) { - BoIntPraticaSoap[] soapModels = new BoIntPraticaSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static BoIntPraticaSoap[][] toSoapModels(BoIntPratica[][] models) { - BoIntPraticaSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new BoIntPraticaSoap[models.length][models[0].length]; - } - else { - soapModels = new BoIntPraticaSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static BoIntPraticaSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (BoIntPratica model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new BoIntPraticaSoap[soapModels.size()]); - } - - public BoIntPraticaSoap() { - } - - public long getPrimaryKey() { - return _intPraticaId; - } - - public void setPrimaryKey(long pk) { - setIntPraticaId(pk); - } - - public String getUuid() { - return _uuid; - } - - public void setUuid(String uuid) { - _uuid = uuid; - } - - public long getIntPraticaId() { - return _intPraticaId; - } - - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public long getTipoPraticaId() { - return _tipoPraticaId; - } - - public void setTipoPraticaId(long tipoPraticaId) { - _tipoPraticaId = tipoPraticaId; - } - - public long getTerritorioId() { - return _territorioId; - } - - public void setTerritorioId(long territorioId) { - _territorioId = territorioId; - } - - public String getDestinazione() { - return _destinazione; - } - - public void setDestinazione(String destinazione) { - _destinazione = destinazione; - } - - public String getTipologiaSistemaCostruttivo() { - return _tipologiaSistemaCostruttivo; - } - - public void setTipologiaSistemaCostruttivo( - String tipologiaSistemaCostruttivo) { - _tipologiaSistemaCostruttivo = tipologiaSistemaCostruttivo; - } - - public String getAg() { - return _ag; - } - - public void setAg(String ag) { - _ag = ag; - } - - public String getDescLongIntervento() { - return _descLongIntervento; - } - - public void setDescLongIntervento(String descLongIntervento) { - _descLongIntervento = descLongIntervento; - } - - public String getVia() { - return _via; - } - - public void setVia(String via) { - _via = via; - } - - public String getLocalita() { - return _localita; - } - - public void setLocalita(String localita) { - _localita = localita; - } - - public String getEstremiCatastali() { - return _estremiCatastali; - } - - public void setEstremiCatastali(String estremiCatastali) { - _estremiCatastali = estremiCatastali; - } - - public String getEstremiPratCom() { - return _estremiPratCom; - } - - public void setEstremiPratCom(String estremiPratCom) { - _estremiPratCom = estremiPratCom; - } - - public Date getDtSorteggio() { - return _dtSorteggio; - } - - public void setDtSorteggio(Date dtSorteggio) { - _dtSorteggio = dtSorteggio; - } - - public String getStatoPratica() { - return _statoPratica; - } - - public void setStatoPratica(String statoPratica) { - _statoPratica = statoPratica; - } - - public String getNumeroProgetto() { - return _numeroProgetto; - } - - public void setNumeroProgetto(String numeroProgetto) { - _numeroProgetto = numeroProgetto; - } - - public boolean getValidata() { - return _validata; - } - - public boolean isValidata() { - return _validata; - } - - public void setValidata(boolean validata) { - _validata = validata; - } - - public long getVariataDa() { - return _variataDa; - } - - public void setVariataDa(long variataDa) { - _variataDa = variataDa; - } - - public long getVarianteNumero() { - return _varianteNumero; - } - - public void setVarianteNumero(long varianteNumero) { - _varianteNumero = varianteNumero; - } - - public boolean getVarianteSostanziale() { - return _varianteSostanziale; - } - - public boolean isVarianteSostanziale() { - return _varianteSostanziale; - } - - public void setVarianteSostanziale(boolean varianteSostanziale) { - _varianteSostanziale = varianteSostanziale; - } - - public boolean getOperaConforme() { - return _operaConforme; - } - - public boolean isOperaConforme() { - return _operaConforme; - } - - public void setOperaConforme(boolean operaConforme) { - _operaConforme = operaConforme; - } - - public long getTipoPraticaIdSanatoria() { - return _tipoPraticaIdSanatoria; - } - - public void setTipoPraticaIdSanatoria(long tipoPraticaIdSanatoria) { - _tipoPraticaIdSanatoria = tipoPraticaIdSanatoria; - } - - public int getStatus() { - return _status; - } - - public void setStatus(int status) { - _status = status; - } - - public long getStatusByUserId() { - return _statusByUserId; - } - - public void setStatusByUserId(long statusByUserId) { - _statusByUserId = statusByUserId; - } - - public Date getStatusDate() { - return _statusDate; - } - - public void setStatusDate(Date statusDate) { - _statusDate = statusDate; - } - - public String getStatoPraticaWorkflow() { - return _statoPraticaWorkflow; - } - - public void setStatoPraticaWorkflow(String statoPraticaWorkflow) { - _statoPraticaWorkflow = statoPraticaWorkflow; - } - - public int getEsitoControllo() { - return _esitoControllo; - } - - public void setEsitoControllo(int esitoControllo) { - _esitoControllo = esitoControllo; - } - - public boolean getCollaudoStatico() { - return _collaudoStatico; - } - - public boolean isCollaudoStatico() { - return _collaudoStatico; - } - - public void setCollaudoStatico(boolean collaudoStatico) { - _collaudoStatico = collaudoStatico; - } - - public boolean getCollaudoStaticoAgtSanatoria() { - return _collaudoStaticoAgtSanatoria; - } - - public boolean isCollaudoStaticoAgtSanatoria() { - return _collaudoStaticoAgtSanatoria; - } - - public void setCollaudoStaticoAgtSanatoria( - boolean collaudoStaticoAgtSanatoria) { - _collaudoStaticoAgtSanatoria = collaudoStaticoAgtSanatoria; - } - - public String getCodiceFiscaleDelegato() { - return _codiceFiscaleDelegato; - } - - public void setCodiceFiscaleDelegato(String codiceFiscaleDelegato) { - _codiceFiscaleDelegato = codiceFiscaleDelegato; - } - - public String getCodiceRuoloDelegato() { - return _codiceRuoloDelegato; - } - - public void setCodiceRuoloDelegato(String codiceRuoloDelegato) { - _codiceRuoloDelegato = codiceRuoloDelegato; - } - - public boolean getLavoriInEconomiaCommittente() { - return _lavoriInEconomiaCommittente; - } - - public boolean isLavoriInEconomiaCommittente() { - return _lavoriInEconomiaCommittente; - } - - public void setLavoriInEconomiaCommittente( - boolean lavoriInEconomiaCommittente) { - _lavoriInEconomiaCommittente = lavoriInEconomiaCommittente; - } - - public String getNomeUtenteSuap() { - return _nomeUtenteSuap; - } - - public void setNomeUtenteSuap(String nomeUtenteSuap) { - _nomeUtenteSuap = nomeUtenteSuap; - } - - public String getCognomeUtenteSuap() { - return _cognomeUtenteSuap; - } - - public void setCognomeUtenteSuap(String cognomeUtenteSuap) { - _cognomeUtenteSuap = cognomeUtenteSuap; - } - - public String getCodiceFiscaleUtenteSuap() { - return _codiceFiscaleUtenteSuap; - } - - public void setCodiceFiscaleUtenteSuap(String codiceFiscaleUtenteSuap) { - _codiceFiscaleUtenteSuap = codiceFiscaleUtenteSuap; - } - - public boolean getInizioLavoriContestualeOpera() { - return _inizioLavoriContestualeOpera; - } - - public boolean isInizioLavoriContestualeOpera() { - return _inizioLavoriContestualeOpera; - } - - public void setInizioLavoriContestualeOpera( - boolean inizioLavoriContestualeOpera) { - _inizioLavoriContestualeOpera = inizioLavoriContestualeOpera; - } - - public Date getDataInizioLavoriOpera() { - return _dataInizioLavoriOpera; - } - - public void setDataInizioLavoriOpera(Date dataInizioLavoriOpera) { - _dataInizioLavoriOpera = dataInizioLavoriOpera; - } - - public Date getDataInizioEsecuzioneOpera() { - return _dataInizioEsecuzioneOpera; - } - - public void setDataInizioEsecuzioneOpera(Date dataInizioEsecuzioneOpera) { - _dataInizioEsecuzioneOpera = dataInizioEsecuzioneOpera; - } - - public Date getDataFineEsecuzioneOpera() { - return _dataFineEsecuzioneOpera; - } - - public void setDataFineEsecuzioneOpera(Date dataFineEsecuzioneOpera) { - _dataFineEsecuzioneOpera = dataFineEsecuzioneOpera; - } - - public String getMetratura() { - return _metratura; - } - - public void setMetratura(String metratura) { - _metratura = metratura; - } - - public boolean getLavoriPubblici() { - return _lavoriPubblici; - } - - public boolean isLavoriPubblici() { - return _lavoriPubblici; - } - - public void setLavoriPubblici(boolean lavoriPubblici) { - _lavoriPubblici = lavoriPubblici; - } - - public Date getDtPratica() { - return _dtPratica; - } - - public void setDtPratica(Date dtPratica) { - _dtPratica = dtPratica; - } - - private String _uuid; - private long _intPraticaId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _tipoPraticaId; - private long _territorioId; - private String _destinazione; - private String _tipologiaSistemaCostruttivo; - private String _ag; - private String _descLongIntervento; - private String _via; - private String _localita; - private String _estremiCatastali; - private String _estremiPratCom; - private Date _dtSorteggio; - private String _statoPratica; - private String _numeroProgetto; - private boolean _validata; - private long _variataDa; - private long _varianteNumero; - private boolean _varianteSostanziale; - private boolean _operaConforme; - private long _tipoPraticaIdSanatoria; - private int _status; - private long _statusByUserId; - private Date _statusDate; - private String _statoPraticaWorkflow; - private int _esitoControllo; - private boolean _collaudoStatico; - private boolean _collaudoStaticoAgtSanatoria; - private String _codiceFiscaleDelegato; - private String _codiceRuoloDelegato; - private boolean _lavoriInEconomiaCommittente; - private String _nomeUtenteSuap; - private String _cognomeUtenteSuap; - private String _codiceFiscaleUtenteSuap; - private boolean _inizioLavoriContestualeOpera; - private Date _dataInizioLavoriOpera; - private Date _dataInizioEsecuzioneOpera; - private Date _dataFineEsecuzioneOpera; - private String _metratura; - private boolean _lavoriPubblici; - private Date _dtPratica; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoIntPraticaWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoIntPraticaWrapper.java deleted file mode 100644 index 0225b728..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoIntPraticaWrapper.java +++ /dev/null @@ -1,1646 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link BoIntPratica}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoIntPratica - * @generated - */ -public class BoIntPraticaWrapper implements BoIntPratica, - ModelWrapper { - public BoIntPraticaWrapper(BoIntPratica boIntPratica) { - _boIntPratica = boIntPratica; - } - - @Override - public Class getModelClass() { - return BoIntPratica.class; - } - - @Override - public String getModelClassName() { - return BoIntPratica.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("tipoPraticaId", getTipoPraticaId()); - attributes.put("territorioId", getTerritorioId()); - attributes.put("destinazione", getDestinazione()); - attributes.put("tipologiaSistemaCostruttivo", - getTipologiaSistemaCostruttivo()); - attributes.put("ag", getAg()); - attributes.put("descLongIntervento", getDescLongIntervento()); - attributes.put("via", getVia()); - attributes.put("localita", getLocalita()); - attributes.put("estremiCatastali", getEstremiCatastali()); - attributes.put("estremiPratCom", getEstremiPratCom()); - attributes.put("dtSorteggio", getDtSorteggio()); - attributes.put("statoPratica", getStatoPratica()); - attributes.put("numeroProgetto", getNumeroProgetto()); - attributes.put("validata", getValidata()); - attributes.put("variataDa", getVariataDa()); - attributes.put("varianteNumero", getVarianteNumero()); - attributes.put("varianteSostanziale", getVarianteSostanziale()); - attributes.put("operaConforme", getOperaConforme()); - attributes.put("tipoPraticaIdSanatoria", getTipoPraticaIdSanatoria()); - attributes.put("status", getStatus()); - attributes.put("statusByUserId", getStatusByUserId()); - attributes.put("statusDate", getStatusDate()); - attributes.put("statoPraticaWorkflow", getStatoPraticaWorkflow()); - attributes.put("esitoControllo", getEsitoControllo()); - attributes.put("collaudoStatico", getCollaudoStatico()); - attributes.put("collaudoStaticoAgtSanatoria", - getCollaudoStaticoAgtSanatoria()); - attributes.put("codiceFiscaleDelegato", getCodiceFiscaleDelegato()); - attributes.put("codiceRuoloDelegato", getCodiceRuoloDelegato()); - attributes.put("lavoriInEconomiaCommittente", - getLavoriInEconomiaCommittente()); - attributes.put("nomeUtenteSuap", getNomeUtenteSuap()); - attributes.put("cognomeUtenteSuap", getCognomeUtenteSuap()); - attributes.put("codiceFiscaleUtenteSuap", getCodiceFiscaleUtenteSuap()); - attributes.put("inizioLavoriContestualeOpera", - getInizioLavoriContestualeOpera()); - attributes.put("dataInizioLavoriOpera", getDataInizioLavoriOpera()); - attributes.put("dataInizioEsecuzioneOpera", - getDataInizioEsecuzioneOpera()); - attributes.put("dataFineEsecuzioneOpera", getDataFineEsecuzioneOpera()); - attributes.put("metratura", getMetratura()); - attributes.put("lavoriPubblici", getLavoriPubblici()); - attributes.put("dtPratica", getDtPratica()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long tipoPraticaId = (Long)attributes.get("tipoPraticaId"); - - if (tipoPraticaId != null) { - setTipoPraticaId(tipoPraticaId); - } - - Long territorioId = (Long)attributes.get("territorioId"); - - if (territorioId != null) { - setTerritorioId(territorioId); - } - - String destinazione = (String)attributes.get("destinazione"); - - if (destinazione != null) { - setDestinazione(destinazione); - } - - String tipologiaSistemaCostruttivo = (String)attributes.get( - "tipologiaSistemaCostruttivo"); - - if (tipologiaSistemaCostruttivo != null) { - setTipologiaSistemaCostruttivo(tipologiaSistemaCostruttivo); - } - - String ag = (String)attributes.get("ag"); - - if (ag != null) { - setAg(ag); - } - - String descLongIntervento = (String)attributes.get("descLongIntervento"); - - if (descLongIntervento != null) { - setDescLongIntervento(descLongIntervento); - } - - String via = (String)attributes.get("via"); - - if (via != null) { - setVia(via); - } - - String localita = (String)attributes.get("localita"); - - if (localita != null) { - setLocalita(localita); - } - - String estremiCatastali = (String)attributes.get("estremiCatastali"); - - if (estremiCatastali != null) { - setEstremiCatastali(estremiCatastali); - } - - String estremiPratCom = (String)attributes.get("estremiPratCom"); - - if (estremiPratCom != null) { - setEstremiPratCom(estremiPratCom); - } - - Date dtSorteggio = (Date)attributes.get("dtSorteggio"); - - if (dtSorteggio != null) { - setDtSorteggio(dtSorteggio); - } - - String statoPratica = (String)attributes.get("statoPratica"); - - if (statoPratica != null) { - setStatoPratica(statoPratica); - } - - String numeroProgetto = (String)attributes.get("numeroProgetto"); - - if (numeroProgetto != null) { - setNumeroProgetto(numeroProgetto); - } - - Boolean validata = (Boolean)attributes.get("validata"); - - if (validata != null) { - setValidata(validata); - } - - Long variataDa = (Long)attributes.get("variataDa"); - - if (variataDa != null) { - setVariataDa(variataDa); - } - - Long varianteNumero = (Long)attributes.get("varianteNumero"); - - if (varianteNumero != null) { - setVarianteNumero(varianteNumero); - } - - Boolean varianteSostanziale = (Boolean)attributes.get( - "varianteSostanziale"); - - if (varianteSostanziale != null) { - setVarianteSostanziale(varianteSostanziale); - } - - Boolean operaConforme = (Boolean)attributes.get("operaConforme"); - - if (operaConforme != null) { - setOperaConforme(operaConforme); - } - - Long tipoPraticaIdSanatoria = (Long)attributes.get( - "tipoPraticaIdSanatoria"); - - if (tipoPraticaIdSanatoria != null) { - setTipoPraticaIdSanatoria(tipoPraticaIdSanatoria); - } - - Integer status = (Integer)attributes.get("status"); - - if (status != null) { - setStatus(status); - } - - Long statusByUserId = (Long)attributes.get("statusByUserId"); - - if (statusByUserId != null) { - setStatusByUserId(statusByUserId); - } - - Date statusDate = (Date)attributes.get("statusDate"); - - if (statusDate != null) { - setStatusDate(statusDate); - } - - String statoPraticaWorkflow = (String)attributes.get( - "statoPraticaWorkflow"); - - if (statoPraticaWorkflow != null) { - setStatoPraticaWorkflow(statoPraticaWorkflow); - } - - Integer esitoControllo = (Integer)attributes.get("esitoControllo"); - - if (esitoControllo != null) { - setEsitoControllo(esitoControllo); - } - - Boolean collaudoStatico = (Boolean)attributes.get("collaudoStatico"); - - if (collaudoStatico != null) { - setCollaudoStatico(collaudoStatico); - } - - Boolean collaudoStaticoAgtSanatoria = (Boolean)attributes.get( - "collaudoStaticoAgtSanatoria"); - - if (collaudoStaticoAgtSanatoria != null) { - setCollaudoStaticoAgtSanatoria(collaudoStaticoAgtSanatoria); - } - - String codiceFiscaleDelegato = (String)attributes.get( - "codiceFiscaleDelegato"); - - if (codiceFiscaleDelegato != null) { - setCodiceFiscaleDelegato(codiceFiscaleDelegato); - } - - String codiceRuoloDelegato = (String)attributes.get( - "codiceRuoloDelegato"); - - if (codiceRuoloDelegato != null) { - setCodiceRuoloDelegato(codiceRuoloDelegato); - } - - Boolean lavoriInEconomiaCommittente = (Boolean)attributes.get( - "lavoriInEconomiaCommittente"); - - if (lavoriInEconomiaCommittente != null) { - setLavoriInEconomiaCommittente(lavoriInEconomiaCommittente); - } - - String nomeUtenteSuap = (String)attributes.get("nomeUtenteSuap"); - - if (nomeUtenteSuap != null) { - setNomeUtenteSuap(nomeUtenteSuap); - } - - String cognomeUtenteSuap = (String)attributes.get("cognomeUtenteSuap"); - - if (cognomeUtenteSuap != null) { - setCognomeUtenteSuap(cognomeUtenteSuap); - } - - String codiceFiscaleUtenteSuap = (String)attributes.get( - "codiceFiscaleUtenteSuap"); - - if (codiceFiscaleUtenteSuap != null) { - setCodiceFiscaleUtenteSuap(codiceFiscaleUtenteSuap); - } - - Boolean inizioLavoriContestualeOpera = (Boolean)attributes.get( - "inizioLavoriContestualeOpera"); - - if (inizioLavoriContestualeOpera != null) { - setInizioLavoriContestualeOpera(inizioLavoriContestualeOpera); - } - - Date dataInizioLavoriOpera = (Date)attributes.get( - "dataInizioLavoriOpera"); - - if (dataInizioLavoriOpera != null) { - setDataInizioLavoriOpera(dataInizioLavoriOpera); - } - - Date dataInizioEsecuzioneOpera = (Date)attributes.get( - "dataInizioEsecuzioneOpera"); - - if (dataInizioEsecuzioneOpera != null) { - setDataInizioEsecuzioneOpera(dataInizioEsecuzioneOpera); - } - - Date dataFineEsecuzioneOpera = (Date)attributes.get( - "dataFineEsecuzioneOpera"); - - if (dataFineEsecuzioneOpera != null) { - setDataFineEsecuzioneOpera(dataFineEsecuzioneOpera); - } - - String metratura = (String)attributes.get("metratura"); - - if (metratura != null) { - setMetratura(metratura); - } - - Boolean lavoriPubblici = (Boolean)attributes.get("lavoriPubblici"); - - if (lavoriPubblici != null) { - setLavoriPubblici(lavoriPubblici); - } - - Date dtPratica = (Date)attributes.get("dtPratica"); - - if (dtPratica != null) { - setDtPratica(dtPratica); - } - } - - /** - * Returns the primary key of this bo int pratica. - * - * @return the primary key of this bo int pratica - */ - @Override - public long getPrimaryKey() { - return _boIntPratica.getPrimaryKey(); - } - - /** - * Sets the primary key of this bo int pratica. - * - * @param primaryKey the primary key of this bo int pratica - */ - @Override - public void setPrimaryKey(long primaryKey) { - _boIntPratica.setPrimaryKey(primaryKey); - } - - /** - * Returns the uuid of this bo int pratica. - * - * @return the uuid of this bo int pratica - */ - @Override - public java.lang.String getUuid() { - return _boIntPratica.getUuid(); - } - - /** - * Sets the uuid of this bo int pratica. - * - * @param uuid the uuid of this bo int pratica - */ - @Override - public void setUuid(java.lang.String uuid) { - _boIntPratica.setUuid(uuid); - } - - /** - * Returns the int pratica ID of this bo int pratica. - * - * @return the int pratica ID of this bo int pratica - */ - @Override - public long getIntPraticaId() { - return _boIntPratica.getIntPraticaId(); - } - - /** - * Sets the int pratica ID of this bo int pratica. - * - * @param intPraticaId the int pratica ID of this bo int pratica - */ - @Override - public void setIntPraticaId(long intPraticaId) { - _boIntPratica.setIntPraticaId(intPraticaId); - } - - /** - * Returns the company ID of this bo int pratica. - * - * @return the company ID of this bo int pratica - */ - @Override - public long getCompanyId() { - return _boIntPratica.getCompanyId(); - } - - /** - * Sets the company ID of this bo int pratica. - * - * @param companyId the company ID of this bo int pratica - */ - @Override - public void setCompanyId(long companyId) { - _boIntPratica.setCompanyId(companyId); - } - - /** - * Returns the user ID of this bo int pratica. - * - * @return the user ID of this bo int pratica - */ - @Override - public long getUserId() { - return _boIntPratica.getUserId(); - } - - /** - * Sets the user ID of this bo int pratica. - * - * @param userId the user ID of this bo int pratica - */ - @Override - public void setUserId(long userId) { - _boIntPratica.setUserId(userId); - } - - /** - * Returns the user uuid of this bo int pratica. - * - * @return the user uuid of this bo int pratica - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _boIntPratica.getUserUuid(); - } - - /** - * Sets the user uuid of this bo int pratica. - * - * @param userUuid the user uuid of this bo int pratica - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _boIntPratica.setUserUuid(userUuid); - } - - /** - * Returns the user name of this bo int pratica. - * - * @return the user name of this bo int pratica - */ - @Override - public java.lang.String getUserName() { - return _boIntPratica.getUserName(); - } - - /** - * Sets the user name of this bo int pratica. - * - * @param userName the user name of this bo int pratica - */ - @Override - public void setUserName(java.lang.String userName) { - _boIntPratica.setUserName(userName); - } - - /** - * Returns the create date of this bo int pratica. - * - * @return the create date of this bo int pratica - */ - @Override - public java.util.Date getCreateDate() { - return _boIntPratica.getCreateDate(); - } - - /** - * Sets the create date of this bo int pratica. - * - * @param createDate the create date of this bo int pratica - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _boIntPratica.setCreateDate(createDate); - } - - /** - * Returns the modified date of this bo int pratica. - * - * @return the modified date of this bo int pratica - */ - @Override - public java.util.Date getModifiedDate() { - return _boIntPratica.getModifiedDate(); - } - - /** - * Sets the modified date of this bo int pratica. - * - * @param modifiedDate the modified date of this bo int pratica - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _boIntPratica.setModifiedDate(modifiedDate); - } - - /** - * Returns the group ID of this bo int pratica. - * - * @return the group ID of this bo int pratica - */ - @Override - public long getGroupId() { - return _boIntPratica.getGroupId(); - } - - /** - * Sets the group ID of this bo int pratica. - * - * @param groupId the group ID of this bo int pratica - */ - @Override - public void setGroupId(long groupId) { - _boIntPratica.setGroupId(groupId); - } - - /** - * Returns the tipo pratica ID of this bo int pratica. - * - * @return the tipo pratica ID of this bo int pratica - */ - @Override - public long getTipoPraticaId() { - return _boIntPratica.getTipoPraticaId(); - } - - /** - * Sets the tipo pratica ID of this bo int pratica. - * - * @param tipoPraticaId the tipo pratica ID of this bo int pratica - */ - @Override - public void setTipoPraticaId(long tipoPraticaId) { - _boIntPratica.setTipoPraticaId(tipoPraticaId); - } - - /** - * Returns the territorio ID of this bo int pratica. - * - * @return the territorio ID of this bo int pratica - */ - @Override - public long getTerritorioId() { - return _boIntPratica.getTerritorioId(); - } - - /** - * Sets the territorio ID of this bo int pratica. - * - * @param territorioId the territorio ID of this bo int pratica - */ - @Override - public void setTerritorioId(long territorioId) { - _boIntPratica.setTerritorioId(territorioId); - } - - /** - * Returns the destinazione of this bo int pratica. - * - * @return the destinazione of this bo int pratica - */ - @Override - public java.lang.String getDestinazione() { - return _boIntPratica.getDestinazione(); - } - - /** - * Sets the destinazione of this bo int pratica. - * - * @param destinazione the destinazione of this bo int pratica - */ - @Override - public void setDestinazione(java.lang.String destinazione) { - _boIntPratica.setDestinazione(destinazione); - } - - /** - * Returns the tipologia sistema costruttivo of this bo int pratica. - * - * @return the tipologia sistema costruttivo of this bo int pratica - */ - @Override - public java.lang.String getTipologiaSistemaCostruttivo() { - return _boIntPratica.getTipologiaSistemaCostruttivo(); - } - - /** - * Sets the tipologia sistema costruttivo of this bo int pratica. - * - * @param tipologiaSistemaCostruttivo the tipologia sistema costruttivo of this bo int pratica - */ - @Override - public void setTipologiaSistemaCostruttivo( - java.lang.String tipologiaSistemaCostruttivo) { - _boIntPratica.setTipologiaSistemaCostruttivo(tipologiaSistemaCostruttivo); - } - - /** - * Returns the ag of this bo int pratica. - * - * @return the ag of this bo int pratica - */ - @Override - public java.lang.String getAg() { - return _boIntPratica.getAg(); - } - - /** - * Sets the ag of this bo int pratica. - * - * @param ag the ag of this bo int pratica - */ - @Override - public void setAg(java.lang.String ag) { - _boIntPratica.setAg(ag); - } - - /** - * Returns the desc long intervento of this bo int pratica. - * - * @return the desc long intervento of this bo int pratica - */ - @Override - public java.lang.String getDescLongIntervento() { - return _boIntPratica.getDescLongIntervento(); - } - - /** - * Sets the desc long intervento of this bo int pratica. - * - * @param descLongIntervento the desc long intervento of this bo int pratica - */ - @Override - public void setDescLongIntervento(java.lang.String descLongIntervento) { - _boIntPratica.setDescLongIntervento(descLongIntervento); - } - - /** - * Returns the via of this bo int pratica. - * - * @return the via of this bo int pratica - */ - @Override - public java.lang.String getVia() { - return _boIntPratica.getVia(); - } - - /** - * Sets the via of this bo int pratica. - * - * @param via the via of this bo int pratica - */ - @Override - public void setVia(java.lang.String via) { - _boIntPratica.setVia(via); - } - - /** - * Returns the localita of this bo int pratica. - * - * @return the localita of this bo int pratica - */ - @Override - public java.lang.String getLocalita() { - return _boIntPratica.getLocalita(); - } - - /** - * Sets the localita of this bo int pratica. - * - * @param localita the localita of this bo int pratica - */ - @Override - public void setLocalita(java.lang.String localita) { - _boIntPratica.setLocalita(localita); - } - - /** - * Returns the estremi catastali of this bo int pratica. - * - * @return the estremi catastali of this bo int pratica - */ - @Override - public java.lang.String getEstremiCatastali() { - return _boIntPratica.getEstremiCatastali(); - } - - /** - * Sets the estremi catastali of this bo int pratica. - * - * @param estremiCatastali the estremi catastali of this bo int pratica - */ - @Override - public void setEstremiCatastali(java.lang.String estremiCatastali) { - _boIntPratica.setEstremiCatastali(estremiCatastali); - } - - /** - * Returns the estremi prat com of this bo int pratica. - * - * @return the estremi prat com of this bo int pratica - */ - @Override - public java.lang.String getEstremiPratCom() { - return _boIntPratica.getEstremiPratCom(); - } - - /** - * Sets the estremi prat com of this bo int pratica. - * - * @param estremiPratCom the estremi prat com of this bo int pratica - */ - @Override - public void setEstremiPratCom(java.lang.String estremiPratCom) { - _boIntPratica.setEstremiPratCom(estremiPratCom); - } - - /** - * Returns the dt sorteggio of this bo int pratica. - * - * @return the dt sorteggio of this bo int pratica - */ - @Override - public java.util.Date getDtSorteggio() { - return _boIntPratica.getDtSorteggio(); - } - - /** - * Sets the dt sorteggio of this bo int pratica. - * - * @param dtSorteggio the dt sorteggio of this bo int pratica - */ - @Override - public void setDtSorteggio(java.util.Date dtSorteggio) { - _boIntPratica.setDtSorteggio(dtSorteggio); - } - - /** - * Returns the stato pratica of this bo int pratica. - * - * @return the stato pratica of this bo int pratica - */ - @Override - public java.lang.String getStatoPratica() { - return _boIntPratica.getStatoPratica(); - } - - /** - * Sets the stato pratica of this bo int pratica. - * - * @param statoPratica the stato pratica of this bo int pratica - */ - @Override - public void setStatoPratica(java.lang.String statoPratica) { - _boIntPratica.setStatoPratica(statoPratica); - } - - /** - * Returns the numero progetto of this bo int pratica. - * - * @return the numero progetto of this bo int pratica - */ - @Override - public java.lang.String getNumeroProgetto() { - return _boIntPratica.getNumeroProgetto(); - } - - /** - * Sets the numero progetto of this bo int pratica. - * - * @param numeroProgetto the numero progetto of this bo int pratica - */ - @Override - public void setNumeroProgetto(java.lang.String numeroProgetto) { - _boIntPratica.setNumeroProgetto(numeroProgetto); - } - - /** - * Returns the validata of this bo int pratica. - * - * @return the validata of this bo int pratica - */ - @Override - public boolean getValidata() { - return _boIntPratica.getValidata(); - } - - /** - * Returns true if this bo int pratica is validata. - * - * @return true if this bo int pratica is validata; false otherwise - */ - @Override - public boolean isValidata() { - return _boIntPratica.isValidata(); - } - - /** - * Sets whether this bo int pratica is validata. - * - * @param validata the validata of this bo int pratica - */ - @Override - public void setValidata(boolean validata) { - _boIntPratica.setValidata(validata); - } - - /** - * Returns the variata da of this bo int pratica. - * - * @return the variata da of this bo int pratica - */ - @Override - public long getVariataDa() { - return _boIntPratica.getVariataDa(); - } - - /** - * Sets the variata da of this bo int pratica. - * - * @param variataDa the variata da of this bo int pratica - */ - @Override - public void setVariataDa(long variataDa) { - _boIntPratica.setVariataDa(variataDa); - } - - /** - * Returns the variante numero of this bo int pratica. - * - * @return the variante numero of this bo int pratica - */ - @Override - public long getVarianteNumero() { - return _boIntPratica.getVarianteNumero(); - } - - /** - * Sets the variante numero of this bo int pratica. - * - * @param varianteNumero the variante numero of this bo int pratica - */ - @Override - public void setVarianteNumero(long varianteNumero) { - _boIntPratica.setVarianteNumero(varianteNumero); - } - - /** - * Returns the variante sostanziale of this bo int pratica. - * - * @return the variante sostanziale of this bo int pratica - */ - @Override - public boolean getVarianteSostanziale() { - return _boIntPratica.getVarianteSostanziale(); - } - - /** - * Returns true if this bo int pratica is variante sostanziale. - * - * @return true if this bo int pratica is variante sostanziale; false otherwise - */ - @Override - public boolean isVarianteSostanziale() { - return _boIntPratica.isVarianteSostanziale(); - } - - /** - * Sets whether this bo int pratica is variante sostanziale. - * - * @param varianteSostanziale the variante sostanziale of this bo int pratica - */ - @Override - public void setVarianteSostanziale(boolean varianteSostanziale) { - _boIntPratica.setVarianteSostanziale(varianteSostanziale); - } - - /** - * Returns the opera conforme of this bo int pratica. - * - * @return the opera conforme of this bo int pratica - */ - @Override - public boolean getOperaConforme() { - return _boIntPratica.getOperaConforme(); - } - - /** - * Returns true if this bo int pratica is opera conforme. - * - * @return true if this bo int pratica is opera conforme; false otherwise - */ - @Override - public boolean isOperaConforme() { - return _boIntPratica.isOperaConforme(); - } - - /** - * Sets whether this bo int pratica is opera conforme. - * - * @param operaConforme the opera conforme of this bo int pratica - */ - @Override - public void setOperaConforme(boolean operaConforme) { - _boIntPratica.setOperaConforme(operaConforme); - } - - /** - * Returns the tipo pratica ID sanatoria of this bo int pratica. - * - * @return the tipo pratica ID sanatoria of this bo int pratica - */ - @Override - public long getTipoPraticaIdSanatoria() { - return _boIntPratica.getTipoPraticaIdSanatoria(); - } - - /** - * Sets the tipo pratica ID sanatoria of this bo int pratica. - * - * @param tipoPraticaIdSanatoria the tipo pratica ID sanatoria of this bo int pratica - */ - @Override - public void setTipoPraticaIdSanatoria(long tipoPraticaIdSanatoria) { - _boIntPratica.setTipoPraticaIdSanatoria(tipoPraticaIdSanatoria); - } - - /** - * Returns the status of this bo int pratica. - * - * @return the status of this bo int pratica - */ - @Override - public int getStatus() { - return _boIntPratica.getStatus(); - } - - /** - * Sets the status of this bo int pratica. - * - * @param status the status of this bo int pratica - */ - @Override - public void setStatus(int status) { - _boIntPratica.setStatus(status); - } - - /** - * Returns the status by user ID of this bo int pratica. - * - * @return the status by user ID of this bo int pratica - */ - @Override - public long getStatusByUserId() { - return _boIntPratica.getStatusByUserId(); - } - - /** - * Sets the status by user ID of this bo int pratica. - * - * @param statusByUserId the status by user ID of this bo int pratica - */ - @Override - public void setStatusByUserId(long statusByUserId) { - _boIntPratica.setStatusByUserId(statusByUserId); - } - - /** - * Returns the status by user uuid of this bo int pratica. - * - * @return the status by user uuid of this bo int pratica - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getStatusByUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _boIntPratica.getStatusByUserUuid(); - } - - /** - * Sets the status by user uuid of this bo int pratica. - * - * @param statusByUserUuid the status by user uuid of this bo int pratica - */ - @Override - public void setStatusByUserUuid(java.lang.String statusByUserUuid) { - _boIntPratica.setStatusByUserUuid(statusByUserUuid); - } - - /** - * Returns the status date of this bo int pratica. - * - * @return the status date of this bo int pratica - */ - @Override - public java.util.Date getStatusDate() { - return _boIntPratica.getStatusDate(); - } - - /** - * Sets the status date of this bo int pratica. - * - * @param statusDate the status date of this bo int pratica - */ - @Override - public void setStatusDate(java.util.Date statusDate) { - _boIntPratica.setStatusDate(statusDate); - } - - /** - * Returns the stato pratica workflow of this bo int pratica. - * - * @return the stato pratica workflow of this bo int pratica - */ - @Override - public java.lang.String getStatoPraticaWorkflow() { - return _boIntPratica.getStatoPraticaWorkflow(); - } - - /** - * Sets the stato pratica workflow of this bo int pratica. - * - * @param statoPraticaWorkflow the stato pratica workflow of this bo int pratica - */ - @Override - public void setStatoPraticaWorkflow(java.lang.String statoPraticaWorkflow) { - _boIntPratica.setStatoPraticaWorkflow(statoPraticaWorkflow); - } - - /** - * Returns the esito controllo of this bo int pratica. - * - * @return the esito controllo of this bo int pratica - */ - @Override - public int getEsitoControllo() { - return _boIntPratica.getEsitoControllo(); - } - - /** - * Sets the esito controllo of this bo int pratica. - * - * @param esitoControllo the esito controllo of this bo int pratica - */ - @Override - public void setEsitoControllo(int esitoControllo) { - _boIntPratica.setEsitoControllo(esitoControllo); - } - - /** - * Returns the collaudo statico of this bo int pratica. - * - * @return the collaudo statico of this bo int pratica - */ - @Override - public boolean getCollaudoStatico() { - return _boIntPratica.getCollaudoStatico(); - } - - /** - * Returns true if this bo int pratica is collaudo statico. - * - * @return true if this bo int pratica is collaudo statico; false otherwise - */ - @Override - public boolean isCollaudoStatico() { - return _boIntPratica.isCollaudoStatico(); - } - - /** - * Sets whether this bo int pratica is collaudo statico. - * - * @param collaudoStatico the collaudo statico of this bo int pratica - */ - @Override - public void setCollaudoStatico(boolean collaudoStatico) { - _boIntPratica.setCollaudoStatico(collaudoStatico); - } - - /** - * Returns the collaudo statico agt sanatoria of this bo int pratica. - * - * @return the collaudo statico agt sanatoria of this bo int pratica - */ - @Override - public boolean getCollaudoStaticoAgtSanatoria() { - return _boIntPratica.getCollaudoStaticoAgtSanatoria(); - } - - /** - * Returns true if this bo int pratica is collaudo statico agt sanatoria. - * - * @return true if this bo int pratica is collaudo statico agt sanatoria; false otherwise - */ - @Override - public boolean isCollaudoStaticoAgtSanatoria() { - return _boIntPratica.isCollaudoStaticoAgtSanatoria(); - } - - /** - * Sets whether this bo int pratica is collaudo statico agt sanatoria. - * - * @param collaudoStaticoAgtSanatoria the collaudo statico agt sanatoria of this bo int pratica - */ - @Override - public void setCollaudoStaticoAgtSanatoria( - boolean collaudoStaticoAgtSanatoria) { - _boIntPratica.setCollaudoStaticoAgtSanatoria(collaudoStaticoAgtSanatoria); - } - - /** - * Returns the codice fiscale delegato of this bo int pratica. - * - * @return the codice fiscale delegato of this bo int pratica - */ - @Override - public java.lang.String getCodiceFiscaleDelegato() { - return _boIntPratica.getCodiceFiscaleDelegato(); - } - - /** - * Sets the codice fiscale delegato of this bo int pratica. - * - * @param codiceFiscaleDelegato the codice fiscale delegato of this bo int pratica - */ - @Override - public void setCodiceFiscaleDelegato(java.lang.String codiceFiscaleDelegato) { - _boIntPratica.setCodiceFiscaleDelegato(codiceFiscaleDelegato); - } - - /** - * Returns the codice ruolo delegato of this bo int pratica. - * - * @return the codice ruolo delegato of this bo int pratica - */ - @Override - public java.lang.String getCodiceRuoloDelegato() { - return _boIntPratica.getCodiceRuoloDelegato(); - } - - /** - * Sets the codice ruolo delegato of this bo int pratica. - * - * @param codiceRuoloDelegato the codice ruolo delegato of this bo int pratica - */ - @Override - public void setCodiceRuoloDelegato(java.lang.String codiceRuoloDelegato) { - _boIntPratica.setCodiceRuoloDelegato(codiceRuoloDelegato); - } - - /** - * Returns the lavori in economia committente of this bo int pratica. - * - * @return the lavori in economia committente of this bo int pratica - */ - @Override - public boolean getLavoriInEconomiaCommittente() { - return _boIntPratica.getLavoriInEconomiaCommittente(); - } - - /** - * Returns true if this bo int pratica is lavori in economia committente. - * - * @return true if this bo int pratica is lavori in economia committente; false otherwise - */ - @Override - public boolean isLavoriInEconomiaCommittente() { - return _boIntPratica.isLavoriInEconomiaCommittente(); - } - - /** - * Sets whether this bo int pratica is lavori in economia committente. - * - * @param lavoriInEconomiaCommittente the lavori in economia committente of this bo int pratica - */ - @Override - public void setLavoriInEconomiaCommittente( - boolean lavoriInEconomiaCommittente) { - _boIntPratica.setLavoriInEconomiaCommittente(lavoriInEconomiaCommittente); - } - - /** - * Returns the nome utente suap of this bo int pratica. - * - * @return the nome utente suap of this bo int pratica - */ - @Override - public java.lang.String getNomeUtenteSuap() { - return _boIntPratica.getNomeUtenteSuap(); - } - - /** - * Sets the nome utente suap of this bo int pratica. - * - * @param nomeUtenteSuap the nome utente suap of this bo int pratica - */ - @Override - public void setNomeUtenteSuap(java.lang.String nomeUtenteSuap) { - _boIntPratica.setNomeUtenteSuap(nomeUtenteSuap); - } - - /** - * Returns the cognome utente suap of this bo int pratica. - * - * @return the cognome utente suap of this bo int pratica - */ - @Override - public java.lang.String getCognomeUtenteSuap() { - return _boIntPratica.getCognomeUtenteSuap(); - } - - /** - * Sets the cognome utente suap of this bo int pratica. - * - * @param cognomeUtenteSuap the cognome utente suap of this bo int pratica - */ - @Override - public void setCognomeUtenteSuap(java.lang.String cognomeUtenteSuap) { - _boIntPratica.setCognomeUtenteSuap(cognomeUtenteSuap); - } - - /** - * Returns the codice fiscale utente suap of this bo int pratica. - * - * @return the codice fiscale utente suap of this bo int pratica - */ - @Override - public java.lang.String getCodiceFiscaleUtenteSuap() { - return _boIntPratica.getCodiceFiscaleUtenteSuap(); - } - - /** - * Sets the codice fiscale utente suap of this bo int pratica. - * - * @param codiceFiscaleUtenteSuap the codice fiscale utente suap of this bo int pratica - */ - @Override - public void setCodiceFiscaleUtenteSuap( - java.lang.String codiceFiscaleUtenteSuap) { - _boIntPratica.setCodiceFiscaleUtenteSuap(codiceFiscaleUtenteSuap); - } - - /** - * Returns the inizio lavori contestuale opera of this bo int pratica. - * - * @return the inizio lavori contestuale opera of this bo int pratica - */ - @Override - public boolean getInizioLavoriContestualeOpera() { - return _boIntPratica.getInizioLavoriContestualeOpera(); - } - - /** - * Returns true if this bo int pratica is inizio lavori contestuale opera. - * - * @return true if this bo int pratica is inizio lavori contestuale opera; false otherwise - */ - @Override - public boolean isInizioLavoriContestualeOpera() { - return _boIntPratica.isInizioLavoriContestualeOpera(); - } - - /** - * Sets whether this bo int pratica is inizio lavori contestuale opera. - * - * @param inizioLavoriContestualeOpera the inizio lavori contestuale opera of this bo int pratica - */ - @Override - public void setInizioLavoriContestualeOpera( - boolean inizioLavoriContestualeOpera) { - _boIntPratica.setInizioLavoriContestualeOpera(inizioLavoriContestualeOpera); - } - - /** - * Returns the data inizio lavori opera of this bo int pratica. - * - * @return the data inizio lavori opera of this bo int pratica - */ - @Override - public java.util.Date getDataInizioLavoriOpera() { - return _boIntPratica.getDataInizioLavoriOpera(); - } - - /** - * Sets the data inizio lavori opera of this bo int pratica. - * - * @param dataInizioLavoriOpera the data inizio lavori opera of this bo int pratica - */ - @Override - public void setDataInizioLavoriOpera(java.util.Date dataInizioLavoriOpera) { - _boIntPratica.setDataInizioLavoriOpera(dataInizioLavoriOpera); - } - - /** - * Returns the data inizio esecuzione opera of this bo int pratica. - * - * @return the data inizio esecuzione opera of this bo int pratica - */ - @Override - public java.util.Date getDataInizioEsecuzioneOpera() { - return _boIntPratica.getDataInizioEsecuzioneOpera(); - } - - /** - * Sets the data inizio esecuzione opera of this bo int pratica. - * - * @param dataInizioEsecuzioneOpera the data inizio esecuzione opera of this bo int pratica - */ - @Override - public void setDataInizioEsecuzioneOpera( - java.util.Date dataInizioEsecuzioneOpera) { - _boIntPratica.setDataInizioEsecuzioneOpera(dataInizioEsecuzioneOpera); - } - - /** - * Returns the data fine esecuzione opera of this bo int pratica. - * - * @return the data fine esecuzione opera of this bo int pratica - */ - @Override - public java.util.Date getDataFineEsecuzioneOpera() { - return _boIntPratica.getDataFineEsecuzioneOpera(); - } - - /** - * Sets the data fine esecuzione opera of this bo int pratica. - * - * @param dataFineEsecuzioneOpera the data fine esecuzione opera of this bo int pratica - */ - @Override - public void setDataFineEsecuzioneOpera( - java.util.Date dataFineEsecuzioneOpera) { - _boIntPratica.setDataFineEsecuzioneOpera(dataFineEsecuzioneOpera); - } - - /** - * Returns the metratura of this bo int pratica. - * - * @return the metratura of this bo int pratica - */ - @Override - public java.lang.String getMetratura() { - return _boIntPratica.getMetratura(); - } - - /** - * Sets the metratura of this bo int pratica. - * - * @param metratura the metratura of this bo int pratica - */ - @Override - public void setMetratura(java.lang.String metratura) { - _boIntPratica.setMetratura(metratura); - } - - /** - * Returns the lavori pubblici of this bo int pratica. - * - * @return the lavori pubblici of this bo int pratica - */ - @Override - public boolean getLavoriPubblici() { - return _boIntPratica.getLavoriPubblici(); - } - - /** - * Returns true if this bo int pratica is lavori pubblici. - * - * @return true if this bo int pratica is lavori pubblici; false otherwise - */ - @Override - public boolean isLavoriPubblici() { - return _boIntPratica.isLavoriPubblici(); - } - - /** - * Sets whether this bo int pratica is lavori pubblici. - * - * @param lavoriPubblici the lavori pubblici of this bo int pratica - */ - @Override - public void setLavoriPubblici(boolean lavoriPubblici) { - _boIntPratica.setLavoriPubblici(lavoriPubblici); - } - - /** - * Returns the dt pratica of this bo int pratica. - * - * @return the dt pratica of this bo int pratica - */ - @Override - public java.util.Date getDtPratica() { - return _boIntPratica.getDtPratica(); - } - - /** - * Sets the dt pratica of this bo int pratica. - * - * @param dtPratica the dt pratica of this bo int pratica - */ - @Override - public void setDtPratica(java.util.Date dtPratica) { - _boIntPratica.setDtPratica(dtPratica); - } - - @Override - public boolean isNew() { - return _boIntPratica.isNew(); - } - - @Override - public void setNew(boolean n) { - _boIntPratica.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _boIntPratica.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _boIntPratica.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _boIntPratica.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _boIntPratica.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _boIntPratica.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _boIntPratica.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _boIntPratica.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _boIntPratica.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _boIntPratica.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new BoIntPraticaWrapper((BoIntPratica)_boIntPratica.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.BoIntPratica boIntPratica) { - return _boIntPratica.compareTo(boIntPratica); - } - - @Override - public int hashCode() { - return _boIntPratica.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _boIntPratica.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoIntPratica toEscapedModel() { - return new BoIntPraticaWrapper(_boIntPratica.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoIntPratica toUnescapedModel() { - return new BoIntPraticaWrapper(_boIntPratica.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _boIntPratica.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _boIntPratica.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _boIntPratica.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoIntPraticaWrapper)) { - return false; - } - - BoIntPraticaWrapper boIntPraticaWrapper = (BoIntPraticaWrapper)obj; - - if (Validator.equals(_boIntPratica, boIntPraticaWrapper._boIntPratica)) { - return true; - } - - return false; - } - - @Override - public StagedModelType getStagedModelType() { - return _boIntPratica.getStagedModelType(); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public BoIntPratica getWrappedBoIntPratica() { - return _boIntPratica; - } - - @Override - public BoIntPratica getWrappedModel() { - return _boIntPratica; - } - - @Override - public void resetOriginalValues() { - _boIntPratica.resetOriginalValues(); - } - - private BoIntPratica _boIntPratica; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoProblemiPratica.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoProblemiPratica.java deleted file mode 100644 index 5aa6ef07..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoProblemiPratica.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the BoProblemiPratica service. Represents a row in the "gc_problemipratica" database table, with each column mapped to a property of this class. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoProblemiPraticaModel - * @see it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaImpl - * @see it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaModelImpl - * @generated - */ -public interface BoProblemiPratica extends BoProblemiPraticaModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoProblemiPraticaClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoProblemiPraticaClp.java deleted file mode 100644 index 9998dac4..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoProblemiPraticaClp.java +++ /dev/null @@ -1,585 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.ClpSerializer; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class BoProblemiPraticaClp extends BaseModelImpl - implements BoProblemiPratica { - public BoProblemiPraticaClp() { - } - - @Override - public Class getModelClass() { - return BoProblemiPratica.class; - } - - @Override - public String getModelClassName() { - return BoProblemiPratica.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _problemiPraticaId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setProblemiPraticaId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _problemiPraticaId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("problemiPraticaId", getProblemiPraticaId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("jsonError", getJsonError()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long problemiPraticaId = (Long)attributes.get("problemiPraticaId"); - - if (problemiPraticaId != null) { - setProblemiPraticaId(problemiPraticaId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - String jsonError = (String)attributes.get("jsonError"); - - if (jsonError != null) { - setJsonError(jsonError); - } - } - - @Override - public long getProblemiPraticaId() { - return _problemiPraticaId; - } - - @Override - public void setProblemiPraticaId(long problemiPraticaId) { - _problemiPraticaId = problemiPraticaId; - - if (_boProblemiPraticaRemoteModel != null) { - try { - Class clazz = _boProblemiPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setProblemiPraticaId", - long.class); - - method.invoke(_boProblemiPraticaRemoteModel, problemiPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_boProblemiPraticaRemoteModel != null) { - try { - Class clazz = _boProblemiPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_boProblemiPraticaRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_boProblemiPraticaRemoteModel != null) { - try { - Class clazz = _boProblemiPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_boProblemiPraticaRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_boProblemiPraticaRemoteModel != null) { - try { - Class clazz = _boProblemiPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_boProblemiPraticaRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_boProblemiPraticaRemoteModel != null) { - try { - Class clazz = _boProblemiPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_boProblemiPraticaRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_boProblemiPraticaRemoteModel != null) { - try { - Class clazz = _boProblemiPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_boProblemiPraticaRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_boProblemiPraticaRemoteModel != null) { - try { - Class clazz = _boProblemiPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_boProblemiPraticaRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getDettPraticaId() { - return _dettPraticaId; - } - - @Override - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - - if (_boProblemiPraticaRemoteModel != null) { - try { - Class clazz = _boProblemiPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDettPraticaId", long.class); - - method.invoke(_boProblemiPraticaRemoteModel, dettPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getJsonError() { - return _jsonError; - } - - @Override - public void setJsonError(String jsonError) { - _jsonError = jsonError; - - if (_boProblemiPraticaRemoteModel != null) { - try { - Class clazz = _boProblemiPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setJsonError", String.class); - - method.invoke(_boProblemiPraticaRemoteModel, jsonError); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - public BaseModel getBoProblemiPraticaRemoteModel() { - return _boProblemiPraticaRemoteModel; - } - - public void setBoProblemiPraticaRemoteModel( - BaseModel boProblemiPraticaRemoteModel) { - _boProblemiPraticaRemoteModel = boProblemiPraticaRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _boProblemiPraticaRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_boProblemiPraticaRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoProblemiPraticaLocalServiceUtil.addBoProblemiPratica(this); - } - else { - BoProblemiPraticaLocalServiceUtil.updateBoProblemiPratica(this); - } - } - - @Override - public BoProblemiPratica toEscapedModel() { - return (BoProblemiPratica)ProxyUtil.newProxyInstance(BoProblemiPratica.class.getClassLoader(), - new Class[] { BoProblemiPratica.class }, - new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - BoProblemiPraticaClp clone = new BoProblemiPraticaClp(); - - clone.setProblemiPraticaId(getProblemiPraticaId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setGroupId(getGroupId()); - clone.setDettPraticaId(getDettPraticaId()); - clone.setJsonError(getJsonError()); - - return clone; - } - - @Override - public int compareTo(BoProblemiPratica boProblemiPratica) { - long primaryKey = boProblemiPratica.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoProblemiPraticaClp)) { - return false; - } - - BoProblemiPraticaClp boProblemiPratica = (BoProblemiPraticaClp)obj; - - long primaryKey = boProblemiPratica.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(19); - - sb.append("{problemiPraticaId="); - sb.append(getProblemiPraticaId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", dettPraticaId="); - sb.append(getDettPraticaId()); - sb.append(", jsonError="); - sb.append(getJsonError()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(31); - - sb.append(""); - sb.append("it.tref.liferay.portos.portosimport.model.BoProblemiPratica"); - sb.append(""); - - sb.append( - "problemiPraticaId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "dettPraticaId"); - sb.append( - "jsonError"); - - sb.append(""); - - return sb.toString(); - } - - private long _problemiPraticaId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _dettPraticaId; - private String _jsonError; - private BaseModel _boProblemiPraticaRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.portosimport.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoProblemiPraticaModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoProblemiPraticaModel.java deleted file mode 100644 index ee9bb8de..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoProblemiPraticaModel.java +++ /dev/null @@ -1,279 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.GroupedModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the BoProblemiPratica service. Represents a row in the "gc_problemipratica" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoProblemiPratica - * @see it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaImpl - * @see it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaModelImpl - * @generated - */ -public interface BoProblemiPraticaModel extends BaseModel, - GroupedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a bo problemi pratica model instance should use the {@link BoProblemiPratica} interface instead. - */ - - /** - * Returns the primary key of this bo problemi pratica. - * - * @return the primary key of this bo problemi pratica - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this bo problemi pratica. - * - * @param primaryKey the primary key of this bo problemi pratica - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the problemi pratica ID of this bo problemi pratica. - * - * @return the problemi pratica ID of this bo problemi pratica - */ - public long getProblemiPraticaId(); - - /** - * Sets the problemi pratica ID of this bo problemi pratica. - * - * @param problemiPraticaId the problemi pratica ID of this bo problemi pratica - */ - public void setProblemiPraticaId(long problemiPraticaId); - - /** - * Returns the company ID of this bo problemi pratica. - * - * @return the company ID of this bo problemi pratica - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this bo problemi pratica. - * - * @param companyId the company ID of this bo problemi pratica - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this bo problemi pratica. - * - * @return the user ID of this bo problemi pratica - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this bo problemi pratica. - * - * @param userId the user ID of this bo problemi pratica - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this bo problemi pratica. - * - * @return the user uuid of this bo problemi pratica - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this bo problemi pratica. - * - * @param userUuid the user uuid of this bo problemi pratica - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this bo problemi pratica. - * - * @return the user name of this bo problemi pratica - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this bo problemi pratica. - * - * @param userName the user name of this bo problemi pratica - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this bo problemi pratica. - * - * @return the create date of this bo problemi pratica - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this bo problemi pratica. - * - * @param createDate the create date of this bo problemi pratica - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this bo problemi pratica. - * - * @return the modified date of this bo problemi pratica - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this bo problemi pratica. - * - * @param modifiedDate the modified date of this bo problemi pratica - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the group ID of this bo problemi pratica. - * - * @return the group ID of this bo problemi pratica - */ - @Override - public long getGroupId(); - - /** - * Sets the group ID of this bo problemi pratica. - * - * @param groupId the group ID of this bo problemi pratica - */ - @Override - public void setGroupId(long groupId); - - /** - * Returns the dett pratica ID of this bo problemi pratica. - * - * @return the dett pratica ID of this bo problemi pratica - */ - public long getDettPraticaId(); - - /** - * Sets the dett pratica ID of this bo problemi pratica. - * - * @param dettPraticaId the dett pratica ID of this bo problemi pratica - */ - public void setDettPraticaId(long dettPraticaId); - - /** - * Returns the json error of this bo problemi pratica. - * - * @return the json error of this bo problemi pratica - */ - @AutoEscape - public String getJsonError(); - - /** - * Sets the json error of this bo problemi pratica. - * - * @param jsonError the json error of this bo problemi pratica - */ - public void setJsonError(String jsonError); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.BoProblemiPratica boProblemiPratica); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica toEscapedModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoProblemiPraticaSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoProblemiPraticaSoap.java deleted file mode 100644 index 83faab28..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoProblemiPraticaSoap.java +++ /dev/null @@ -1,178 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoProblemiPraticaSoap implements Serializable { - public static BoProblemiPraticaSoap toSoapModel(BoProblemiPratica model) { - BoProblemiPraticaSoap soapModel = new BoProblemiPraticaSoap(); - - soapModel.setProblemiPraticaId(model.getProblemiPraticaId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setDettPraticaId(model.getDettPraticaId()); - soapModel.setJsonError(model.getJsonError()); - - return soapModel; - } - - public static BoProblemiPraticaSoap[] toSoapModels( - BoProblemiPratica[] models) { - BoProblemiPraticaSoap[] soapModels = new BoProblemiPraticaSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static BoProblemiPraticaSoap[][] toSoapModels( - BoProblemiPratica[][] models) { - BoProblemiPraticaSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new BoProblemiPraticaSoap[models.length][models[0].length]; - } - else { - soapModels = new BoProblemiPraticaSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static BoProblemiPraticaSoap[] toSoapModels( - List models) { - List soapModels = new ArrayList(models.size()); - - for (BoProblemiPratica model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new BoProblemiPraticaSoap[soapModels.size()]); - } - - public BoProblemiPraticaSoap() { - } - - public long getPrimaryKey() { - return _problemiPraticaId; - } - - public void setPrimaryKey(long pk) { - setProblemiPraticaId(pk); - } - - public long getProblemiPraticaId() { - return _problemiPraticaId; - } - - public void setProblemiPraticaId(long problemiPraticaId) { - _problemiPraticaId = problemiPraticaId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public long getDettPraticaId() { - return _dettPraticaId; - } - - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - } - - public String getJsonError() { - return _jsonError; - } - - public void setJsonError(String jsonError) { - _jsonError = jsonError; - } - - private long _problemiPraticaId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _dettPraticaId; - private String _jsonError; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoProblemiPraticaWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoProblemiPraticaWrapper.java deleted file mode 100644 index d8f0ca3f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoProblemiPraticaWrapper.java +++ /dev/null @@ -1,488 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link BoProblemiPratica}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoProblemiPratica - * @generated - */ -public class BoProblemiPraticaWrapper implements BoProblemiPratica, - ModelWrapper { - public BoProblemiPraticaWrapper(BoProblemiPratica boProblemiPratica) { - _boProblemiPratica = boProblemiPratica; - } - - @Override - public Class getModelClass() { - return BoProblemiPratica.class; - } - - @Override - public String getModelClassName() { - return BoProblemiPratica.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("problemiPraticaId", getProblemiPraticaId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("jsonError", getJsonError()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long problemiPraticaId = (Long)attributes.get("problemiPraticaId"); - - if (problemiPraticaId != null) { - setProblemiPraticaId(problemiPraticaId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - String jsonError = (String)attributes.get("jsonError"); - - if (jsonError != null) { - setJsonError(jsonError); - } - } - - /** - * Returns the primary key of this bo problemi pratica. - * - * @return the primary key of this bo problemi pratica - */ - @Override - public long getPrimaryKey() { - return _boProblemiPratica.getPrimaryKey(); - } - - /** - * Sets the primary key of this bo problemi pratica. - * - * @param primaryKey the primary key of this bo problemi pratica - */ - @Override - public void setPrimaryKey(long primaryKey) { - _boProblemiPratica.setPrimaryKey(primaryKey); - } - - /** - * Returns the problemi pratica ID of this bo problemi pratica. - * - * @return the problemi pratica ID of this bo problemi pratica - */ - @Override - public long getProblemiPraticaId() { - return _boProblemiPratica.getProblemiPraticaId(); - } - - /** - * Sets the problemi pratica ID of this bo problemi pratica. - * - * @param problemiPraticaId the problemi pratica ID of this bo problemi pratica - */ - @Override - public void setProblemiPraticaId(long problemiPraticaId) { - _boProblemiPratica.setProblemiPraticaId(problemiPraticaId); - } - - /** - * Returns the company ID of this bo problemi pratica. - * - * @return the company ID of this bo problemi pratica - */ - @Override - public long getCompanyId() { - return _boProblemiPratica.getCompanyId(); - } - - /** - * Sets the company ID of this bo problemi pratica. - * - * @param companyId the company ID of this bo problemi pratica - */ - @Override - public void setCompanyId(long companyId) { - _boProblemiPratica.setCompanyId(companyId); - } - - /** - * Returns the user ID of this bo problemi pratica. - * - * @return the user ID of this bo problemi pratica - */ - @Override - public long getUserId() { - return _boProblemiPratica.getUserId(); - } - - /** - * Sets the user ID of this bo problemi pratica. - * - * @param userId the user ID of this bo problemi pratica - */ - @Override - public void setUserId(long userId) { - _boProblemiPratica.setUserId(userId); - } - - /** - * Returns the user uuid of this bo problemi pratica. - * - * @return the user uuid of this bo problemi pratica - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _boProblemiPratica.getUserUuid(); - } - - /** - * Sets the user uuid of this bo problemi pratica. - * - * @param userUuid the user uuid of this bo problemi pratica - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _boProblemiPratica.setUserUuid(userUuid); - } - - /** - * Returns the user name of this bo problemi pratica. - * - * @return the user name of this bo problemi pratica - */ - @Override - public java.lang.String getUserName() { - return _boProblemiPratica.getUserName(); - } - - /** - * Sets the user name of this bo problemi pratica. - * - * @param userName the user name of this bo problemi pratica - */ - @Override - public void setUserName(java.lang.String userName) { - _boProblemiPratica.setUserName(userName); - } - - /** - * Returns the create date of this bo problemi pratica. - * - * @return the create date of this bo problemi pratica - */ - @Override - public java.util.Date getCreateDate() { - return _boProblemiPratica.getCreateDate(); - } - - /** - * Sets the create date of this bo problemi pratica. - * - * @param createDate the create date of this bo problemi pratica - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _boProblemiPratica.setCreateDate(createDate); - } - - /** - * Returns the modified date of this bo problemi pratica. - * - * @return the modified date of this bo problemi pratica - */ - @Override - public java.util.Date getModifiedDate() { - return _boProblemiPratica.getModifiedDate(); - } - - /** - * Sets the modified date of this bo problemi pratica. - * - * @param modifiedDate the modified date of this bo problemi pratica - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _boProblemiPratica.setModifiedDate(modifiedDate); - } - - /** - * Returns the group ID of this bo problemi pratica. - * - * @return the group ID of this bo problemi pratica - */ - @Override - public long getGroupId() { - return _boProblemiPratica.getGroupId(); - } - - /** - * Sets the group ID of this bo problemi pratica. - * - * @param groupId the group ID of this bo problemi pratica - */ - @Override - public void setGroupId(long groupId) { - _boProblemiPratica.setGroupId(groupId); - } - - /** - * Returns the dett pratica ID of this bo problemi pratica. - * - * @return the dett pratica ID of this bo problemi pratica - */ - @Override - public long getDettPraticaId() { - return _boProblemiPratica.getDettPraticaId(); - } - - /** - * Sets the dett pratica ID of this bo problemi pratica. - * - * @param dettPraticaId the dett pratica ID of this bo problemi pratica - */ - @Override - public void setDettPraticaId(long dettPraticaId) { - _boProblemiPratica.setDettPraticaId(dettPraticaId); - } - - /** - * Returns the json error of this bo problemi pratica. - * - * @return the json error of this bo problemi pratica - */ - @Override - public java.lang.String getJsonError() { - return _boProblemiPratica.getJsonError(); - } - - /** - * Sets the json error of this bo problemi pratica. - * - * @param jsonError the json error of this bo problemi pratica - */ - @Override - public void setJsonError(java.lang.String jsonError) { - _boProblemiPratica.setJsonError(jsonError); - } - - @Override - public boolean isNew() { - return _boProblemiPratica.isNew(); - } - - @Override - public void setNew(boolean n) { - _boProblemiPratica.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _boProblemiPratica.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _boProblemiPratica.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _boProblemiPratica.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _boProblemiPratica.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _boProblemiPratica.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _boProblemiPratica.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _boProblemiPratica.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _boProblemiPratica.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _boProblemiPratica.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new BoProblemiPraticaWrapper((BoProblemiPratica)_boProblemiPratica.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.BoProblemiPratica boProblemiPratica) { - return _boProblemiPratica.compareTo(boProblemiPratica); - } - - @Override - public int hashCode() { - return _boProblemiPratica.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _boProblemiPratica.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica toEscapedModel() { - return new BoProblemiPraticaWrapper(_boProblemiPratica.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica toUnescapedModel() { - return new BoProblemiPraticaWrapper(_boProblemiPratica.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _boProblemiPratica.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _boProblemiPratica.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _boProblemiPratica.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoProblemiPraticaWrapper)) { - return false; - } - - BoProblemiPraticaWrapper boProblemiPraticaWrapper = (BoProblemiPraticaWrapper)obj; - - if (Validator.equals(_boProblemiPratica, - boProblemiPraticaWrapper._boProblemiPratica)) { - return true; - } - - return false; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public BoProblemiPratica getWrappedBoProblemiPratica() { - return _boProblemiPratica; - } - - @Override - public BoProblemiPratica getWrappedModel() { - return _boProblemiPratica; - } - - @Override - public void resetOriginalValues() { - _boProblemiPratica.resetOriginalValues(); - } - - private BoProblemiPratica _boProblemiPratica; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoRelLeggiPratica.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoRelLeggiPratica.java deleted file mode 100644 index b8a5d45a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoRelLeggiPratica.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the BoRelLeggiPratica service. Represents a row in the "gc_relleggipratica" database table, with each column mapped to a property of this class. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoRelLeggiPraticaModel - * @see it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaImpl - * @see it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaModelImpl - * @generated - */ -public interface BoRelLeggiPratica extends BoRelLeggiPraticaModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoRelLeggiPraticaClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoRelLeggiPraticaClp.java deleted file mode 100644 index 2cbe3714..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoRelLeggiPraticaClp.java +++ /dev/null @@ -1,380 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; - -import it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.ClpSerializer; -import it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.HashMap; -import java.util.Map; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class BoRelLeggiPraticaClp extends BaseModelImpl - implements BoRelLeggiPratica { - public BoRelLeggiPraticaClp() { - } - - @Override - public Class getModelClass() { - return BoRelLeggiPratica.class; - } - - @Override - public String getModelClassName() { - return BoRelLeggiPratica.class.getName(); - } - - @Override - public BoRelLeggiPraticaPK getPrimaryKey() { - return new BoRelLeggiPraticaPK(_intPraticaId, _artLeggeId); - } - - @Override - public void setPrimaryKey(BoRelLeggiPraticaPK primaryKey) { - setIntPraticaId(primaryKey.intPraticaId); - setArtLeggeId(primaryKey.artLeggeId); - } - - @Override - public Serializable getPrimaryKeyObj() { - return new BoRelLeggiPraticaPK(_intPraticaId, _artLeggeId); - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey((BoRelLeggiPraticaPK)primaryKeyObj); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("artLeggeId", getArtLeggeId()); - attributes.put("selezionato", getSelezionato()); - attributes.put("valore", getValore()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - Long artLeggeId = (Long)attributes.get("artLeggeId"); - - if (artLeggeId != null) { - setArtLeggeId(artLeggeId); - } - - Boolean selezionato = (Boolean)attributes.get("selezionato"); - - if (selezionato != null) { - setSelezionato(selezionato); - } - - String valore = (String)attributes.get("valore"); - - if (valore != null) { - setValore(valore); - } - } - - @Override - public long getIntPraticaId() { - return _intPraticaId; - } - - @Override - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - - if (_boRelLeggiPraticaRemoteModel != null) { - try { - Class clazz = _boRelLeggiPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setIntPraticaId", long.class); - - method.invoke(_boRelLeggiPraticaRemoteModel, intPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getArtLeggeId() { - return _artLeggeId; - } - - @Override - public void setArtLeggeId(long artLeggeId) { - _artLeggeId = artLeggeId; - - if (_boRelLeggiPraticaRemoteModel != null) { - try { - Class clazz = _boRelLeggiPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setArtLeggeId", long.class); - - method.invoke(_boRelLeggiPraticaRemoteModel, artLeggeId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getSelezionato() { - return _selezionato; - } - - @Override - public boolean isSelezionato() { - return _selezionato; - } - - @Override - public void setSelezionato(boolean selezionato) { - _selezionato = selezionato; - - if (_boRelLeggiPraticaRemoteModel != null) { - try { - Class clazz = _boRelLeggiPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setSelezionato", boolean.class); - - method.invoke(_boRelLeggiPraticaRemoteModel, selezionato); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getValore() { - return _valore; - } - - @Override - public void setValore(String valore) { - _valore = valore; - - if (_boRelLeggiPraticaRemoteModel != null) { - try { - Class clazz = _boRelLeggiPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setValore", String.class); - - method.invoke(_boRelLeggiPraticaRemoteModel, valore); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - public BaseModel getBoRelLeggiPraticaRemoteModel() { - return _boRelLeggiPraticaRemoteModel; - } - - public void setBoRelLeggiPraticaRemoteModel( - BaseModel boRelLeggiPraticaRemoteModel) { - _boRelLeggiPraticaRemoteModel = boRelLeggiPraticaRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _boRelLeggiPraticaRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_boRelLeggiPraticaRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoRelLeggiPraticaLocalServiceUtil.addBoRelLeggiPratica(this); - } - else { - BoRelLeggiPraticaLocalServiceUtil.updateBoRelLeggiPratica(this); - } - } - - @Override - public BoRelLeggiPratica toEscapedModel() { - return (BoRelLeggiPratica)ProxyUtil.newProxyInstance(BoRelLeggiPratica.class.getClassLoader(), - new Class[] { BoRelLeggiPratica.class }, - new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - BoRelLeggiPraticaClp clone = new BoRelLeggiPraticaClp(); - - clone.setIntPraticaId(getIntPraticaId()); - clone.setArtLeggeId(getArtLeggeId()); - clone.setSelezionato(getSelezionato()); - clone.setValore(getValore()); - - return clone; - } - - @Override - public int compareTo(BoRelLeggiPratica boRelLeggiPratica) { - BoRelLeggiPraticaPK primaryKey = boRelLeggiPratica.getPrimaryKey(); - - return getPrimaryKey().compareTo(primaryKey); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoRelLeggiPraticaClp)) { - return false; - } - - BoRelLeggiPraticaClp boRelLeggiPratica = (BoRelLeggiPraticaClp)obj; - - BoRelLeggiPraticaPK primaryKey = boRelLeggiPratica.getPrimaryKey(); - - if (getPrimaryKey().equals(primaryKey)) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return getPrimaryKey().hashCode(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(9); - - sb.append("{intPraticaId="); - sb.append(getIntPraticaId()); - sb.append(", artLeggeId="); - sb.append(getArtLeggeId()); - sb.append(", selezionato="); - sb.append(getSelezionato()); - sb.append(", valore="); - sb.append(getValore()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(16); - - sb.append(""); - sb.append("it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica"); - sb.append(""); - - sb.append( - "intPraticaId"); - sb.append( - "artLeggeId"); - sb.append( - "selezionato"); - sb.append( - "valore"); - - sb.append(""); - - return sb.toString(); - } - - private long _intPraticaId; - private long _artLeggeId; - private boolean _selezionato; - private String _valore; - private BaseModel _boRelLeggiPraticaRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.portosimport.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoRelLeggiPraticaModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoRelLeggiPraticaModel.java deleted file mode 100644 index 4d067094..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoRelLeggiPraticaModel.java +++ /dev/null @@ -1,183 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK; - -import java.io.Serializable; - -/** - * The base model interface for the BoRelLeggiPratica service. Represents a row in the "gc_relleggipratica" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoRelLeggiPratica - * @see it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaImpl - * @see it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaModelImpl - * @generated - */ -public interface BoRelLeggiPraticaModel extends BaseModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a bo rel leggi pratica model instance should use the {@link BoRelLeggiPratica} interface instead. - */ - - /** - * Returns the primary key of this bo rel leggi pratica. - * - * @return the primary key of this bo rel leggi pratica - */ - public BoRelLeggiPraticaPK getPrimaryKey(); - - /** - * Sets the primary key of this bo rel leggi pratica. - * - * @param primaryKey the primary key of this bo rel leggi pratica - */ - public void setPrimaryKey(BoRelLeggiPraticaPK primaryKey); - - /** - * Returns the int pratica ID of this bo rel leggi pratica. - * - * @return the int pratica ID of this bo rel leggi pratica - */ - public long getIntPraticaId(); - - /** - * Sets the int pratica ID of this bo rel leggi pratica. - * - * @param intPraticaId the int pratica ID of this bo rel leggi pratica - */ - public void setIntPraticaId(long intPraticaId); - - /** - * Returns the art legge ID of this bo rel leggi pratica. - * - * @return the art legge ID of this bo rel leggi pratica - */ - public long getArtLeggeId(); - - /** - * Sets the art legge ID of this bo rel leggi pratica. - * - * @param artLeggeId the art legge ID of this bo rel leggi pratica - */ - public void setArtLeggeId(long artLeggeId); - - /** - * Returns the selezionato of this bo rel leggi pratica. - * - * @return the selezionato of this bo rel leggi pratica - */ - public boolean getSelezionato(); - - /** - * Returns true if this bo rel leggi pratica is selezionato. - * - * @return true if this bo rel leggi pratica is selezionato; false otherwise - */ - public boolean isSelezionato(); - - /** - * Sets whether this bo rel leggi pratica is selezionato. - * - * @param selezionato the selezionato of this bo rel leggi pratica - */ - public void setSelezionato(boolean selezionato); - - /** - * Returns the valore of this bo rel leggi pratica. - * - * @return the valore of this bo rel leggi pratica - */ - @AutoEscape - public String getValore(); - - /** - * Sets the valore of this bo rel leggi pratica. - * - * @param valore the valore of this bo rel leggi pratica - */ - public void setValore(String valore); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica boRelLeggiPratica); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica toEscapedModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoRelLeggiPraticaSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoRelLeggiPraticaSoap.java deleted file mode 100644 index 7641e9c9..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoRelLeggiPraticaSoap.java +++ /dev/null @@ -1,134 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoRelLeggiPraticaSoap implements Serializable { - public static BoRelLeggiPraticaSoap toSoapModel(BoRelLeggiPratica model) { - BoRelLeggiPraticaSoap soapModel = new BoRelLeggiPraticaSoap(); - - soapModel.setIntPraticaId(model.getIntPraticaId()); - soapModel.setArtLeggeId(model.getArtLeggeId()); - soapModel.setSelezionato(model.getSelezionato()); - soapModel.setValore(model.getValore()); - - return soapModel; - } - - public static BoRelLeggiPraticaSoap[] toSoapModels( - BoRelLeggiPratica[] models) { - BoRelLeggiPraticaSoap[] soapModels = new BoRelLeggiPraticaSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static BoRelLeggiPraticaSoap[][] toSoapModels( - BoRelLeggiPratica[][] models) { - BoRelLeggiPraticaSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new BoRelLeggiPraticaSoap[models.length][models[0].length]; - } - else { - soapModels = new BoRelLeggiPraticaSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static BoRelLeggiPraticaSoap[] toSoapModels( - List models) { - List soapModels = new ArrayList(models.size()); - - for (BoRelLeggiPratica model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new BoRelLeggiPraticaSoap[soapModels.size()]); - } - - public BoRelLeggiPraticaSoap() { - } - - public BoRelLeggiPraticaPK getPrimaryKey() { - return new BoRelLeggiPraticaPK(_intPraticaId, _artLeggeId); - } - - public void setPrimaryKey(BoRelLeggiPraticaPK pk) { - setIntPraticaId(pk.intPraticaId); - setArtLeggeId(pk.artLeggeId); - } - - public long getIntPraticaId() { - return _intPraticaId; - } - - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - } - - public long getArtLeggeId() { - return _artLeggeId; - } - - public void setArtLeggeId(long artLeggeId) { - _artLeggeId = artLeggeId; - } - - public boolean getSelezionato() { - return _selezionato; - } - - public boolean isSelezionato() { - return _selezionato; - } - - public void setSelezionato(boolean selezionato) { - _selezionato = selezionato; - } - - public String getValore() { - return _valore; - } - - public void setValore(String valore) { - _valore = valore; - } - - private long _intPraticaId; - private long _artLeggeId; - private boolean _selezionato; - private String _valore; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoRelLeggiPraticaWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoRelLeggiPraticaWrapper.java deleted file mode 100644 index 2c07ace8..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoRelLeggiPraticaWrapper.java +++ /dev/null @@ -1,341 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link BoRelLeggiPratica}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoRelLeggiPratica - * @generated - */ -public class BoRelLeggiPraticaWrapper implements BoRelLeggiPratica, - ModelWrapper { - public BoRelLeggiPraticaWrapper(BoRelLeggiPratica boRelLeggiPratica) { - _boRelLeggiPratica = boRelLeggiPratica; - } - - @Override - public Class getModelClass() { - return BoRelLeggiPratica.class; - } - - @Override - public String getModelClassName() { - return BoRelLeggiPratica.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("artLeggeId", getArtLeggeId()); - attributes.put("selezionato", getSelezionato()); - attributes.put("valore", getValore()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - Long artLeggeId = (Long)attributes.get("artLeggeId"); - - if (artLeggeId != null) { - setArtLeggeId(artLeggeId); - } - - Boolean selezionato = (Boolean)attributes.get("selezionato"); - - if (selezionato != null) { - setSelezionato(selezionato); - } - - String valore = (String)attributes.get("valore"); - - if (valore != null) { - setValore(valore); - } - } - - /** - * Returns the primary key of this bo rel leggi pratica. - * - * @return the primary key of this bo rel leggi pratica - */ - @Override - public it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK getPrimaryKey() { - return _boRelLeggiPratica.getPrimaryKey(); - } - - /** - * Sets the primary key of this bo rel leggi pratica. - * - * @param primaryKey the primary key of this bo rel leggi pratica - */ - @Override - public void setPrimaryKey( - it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK primaryKey) { - _boRelLeggiPratica.setPrimaryKey(primaryKey); - } - - /** - * Returns the int pratica ID of this bo rel leggi pratica. - * - * @return the int pratica ID of this bo rel leggi pratica - */ - @Override - public long getIntPraticaId() { - return _boRelLeggiPratica.getIntPraticaId(); - } - - /** - * Sets the int pratica ID of this bo rel leggi pratica. - * - * @param intPraticaId the int pratica ID of this bo rel leggi pratica - */ - @Override - public void setIntPraticaId(long intPraticaId) { - _boRelLeggiPratica.setIntPraticaId(intPraticaId); - } - - /** - * Returns the art legge ID of this bo rel leggi pratica. - * - * @return the art legge ID of this bo rel leggi pratica - */ - @Override - public long getArtLeggeId() { - return _boRelLeggiPratica.getArtLeggeId(); - } - - /** - * Sets the art legge ID of this bo rel leggi pratica. - * - * @param artLeggeId the art legge ID of this bo rel leggi pratica - */ - @Override - public void setArtLeggeId(long artLeggeId) { - _boRelLeggiPratica.setArtLeggeId(artLeggeId); - } - - /** - * Returns the selezionato of this bo rel leggi pratica. - * - * @return the selezionato of this bo rel leggi pratica - */ - @Override - public boolean getSelezionato() { - return _boRelLeggiPratica.getSelezionato(); - } - - /** - * Returns true if this bo rel leggi pratica is selezionato. - * - * @return true if this bo rel leggi pratica is selezionato; false otherwise - */ - @Override - public boolean isSelezionato() { - return _boRelLeggiPratica.isSelezionato(); - } - - /** - * Sets whether this bo rel leggi pratica is selezionato. - * - * @param selezionato the selezionato of this bo rel leggi pratica - */ - @Override - public void setSelezionato(boolean selezionato) { - _boRelLeggiPratica.setSelezionato(selezionato); - } - - /** - * Returns the valore of this bo rel leggi pratica. - * - * @return the valore of this bo rel leggi pratica - */ - @Override - public java.lang.String getValore() { - return _boRelLeggiPratica.getValore(); - } - - /** - * Sets the valore of this bo rel leggi pratica. - * - * @param valore the valore of this bo rel leggi pratica - */ - @Override - public void setValore(java.lang.String valore) { - _boRelLeggiPratica.setValore(valore); - } - - @Override - public boolean isNew() { - return _boRelLeggiPratica.isNew(); - } - - @Override - public void setNew(boolean n) { - _boRelLeggiPratica.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _boRelLeggiPratica.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _boRelLeggiPratica.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _boRelLeggiPratica.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _boRelLeggiPratica.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _boRelLeggiPratica.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _boRelLeggiPratica.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _boRelLeggiPratica.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _boRelLeggiPratica.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _boRelLeggiPratica.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new BoRelLeggiPraticaWrapper((BoRelLeggiPratica)_boRelLeggiPratica.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica boRelLeggiPratica) { - return _boRelLeggiPratica.compareTo(boRelLeggiPratica); - } - - @Override - public int hashCode() { - return _boRelLeggiPratica.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _boRelLeggiPratica.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica toEscapedModel() { - return new BoRelLeggiPraticaWrapper(_boRelLeggiPratica.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica toUnescapedModel() { - return new BoRelLeggiPraticaWrapper(_boRelLeggiPratica.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _boRelLeggiPratica.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _boRelLeggiPratica.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _boRelLeggiPratica.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoRelLeggiPraticaWrapper)) { - return false; - } - - BoRelLeggiPraticaWrapper boRelLeggiPraticaWrapper = (BoRelLeggiPraticaWrapper)obj; - - if (Validator.equals(_boRelLeggiPratica, - boRelLeggiPraticaWrapper._boRelLeggiPratica)) { - return true; - } - - return false; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public BoRelLeggiPratica getWrappedBoRelLeggiPratica() { - return _boRelLeggiPratica; - } - - @Override - public BoRelLeggiPratica getWrappedModel() { - return _boRelLeggiPratica; - } - - @Override - public void resetOriginalValues() { - _boRelLeggiPratica.resetOriginalValues(); - } - - private BoRelLeggiPratica _boRelLeggiPratica; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSistemaCostruttivo.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSistemaCostruttivo.java deleted file mode 100644 index 18abbb14..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSistemaCostruttivo.java +++ /dev/null @@ -1,35 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the BoSistemaCostruttivo service. Represents a row in the "gc_sistemacostruttivo" database table, with each column mapped to a property of this class. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoSistemaCostruttivoModel - * @see it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoImpl - * @see it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl - * @generated - */ -public interface BoSistemaCostruttivo extends BoSistemaCostruttivoModel, - PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSistemaCostruttivoClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSistemaCostruttivoClp.java deleted file mode 100644 index 5cf86ee7..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSistemaCostruttivoClp.java +++ /dev/null @@ -1,635 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.ClpSerializer; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class BoSistemaCostruttivoClp extends BaseModelImpl - implements BoSistemaCostruttivo { - public BoSistemaCostruttivoClp() { - } - - @Override - public Class getModelClass() { - return BoSistemaCostruttivo.class; - } - - @Override - public String getModelClassName() { - return BoSistemaCostruttivo.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _sistemaCostruttivoId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setSistemaCostruttivoId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _sistemaCostruttivoId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("sistemaCostruttivoId", getSistemaCostruttivoId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("codSistemaCostruttivo", getCodSistemaCostruttivo()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long sistemaCostruttivoId = (Long)attributes.get("sistemaCostruttivoId"); - - if (sistemaCostruttivoId != null) { - setSistemaCostruttivoId(sistemaCostruttivoId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - String codSistemaCostruttivo = (String)attributes.get( - "codSistemaCostruttivo"); - - if (codSistemaCostruttivo != null) { - setCodSistemaCostruttivo(codSistemaCostruttivo); - } - } - - @Override - public String getUuid() { - return _uuid; - } - - @Override - public void setUuid(String uuid) { - _uuid = uuid; - - if (_boSistemaCostruttivoRemoteModel != null) { - try { - Class clazz = _boSistemaCostruttivoRemoteModel.getClass(); - - Method method = clazz.getMethod("setUuid", String.class); - - method.invoke(_boSistemaCostruttivoRemoteModel, uuid); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getSistemaCostruttivoId() { - return _sistemaCostruttivoId; - } - - @Override - public void setSistemaCostruttivoId(long sistemaCostruttivoId) { - _sistemaCostruttivoId = sistemaCostruttivoId; - - if (_boSistemaCostruttivoRemoteModel != null) { - try { - Class clazz = _boSistemaCostruttivoRemoteModel.getClass(); - - Method method = clazz.getMethod("setSistemaCostruttivoId", - long.class); - - method.invoke(_boSistemaCostruttivoRemoteModel, - sistemaCostruttivoId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_boSistemaCostruttivoRemoteModel != null) { - try { - Class clazz = _boSistemaCostruttivoRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_boSistemaCostruttivoRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_boSistemaCostruttivoRemoteModel != null) { - try { - Class clazz = _boSistemaCostruttivoRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_boSistemaCostruttivoRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_boSistemaCostruttivoRemoteModel != null) { - try { - Class clazz = _boSistemaCostruttivoRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_boSistemaCostruttivoRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_boSistemaCostruttivoRemoteModel != null) { - try { - Class clazz = _boSistemaCostruttivoRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_boSistemaCostruttivoRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_boSistemaCostruttivoRemoteModel != null) { - try { - Class clazz = _boSistemaCostruttivoRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_boSistemaCostruttivoRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_boSistemaCostruttivoRemoteModel != null) { - try { - Class clazz = _boSistemaCostruttivoRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_boSistemaCostruttivoRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getIntPraticaId() { - return _intPraticaId; - } - - @Override - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - - if (_boSistemaCostruttivoRemoteModel != null) { - try { - Class clazz = _boSistemaCostruttivoRemoteModel.getClass(); - - Method method = clazz.getMethod("setIntPraticaId", long.class); - - method.invoke(_boSistemaCostruttivoRemoteModel, intPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodSistemaCostruttivo() { - return _codSistemaCostruttivo; - } - - @Override - public void setCodSistemaCostruttivo(String codSistemaCostruttivo) { - _codSistemaCostruttivo = codSistemaCostruttivo; - - if (_boSistemaCostruttivoRemoteModel != null) { - try { - Class clazz = _boSistemaCostruttivoRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodSistemaCostruttivo", - String.class); - - method.invoke(_boSistemaCostruttivoRemoteModel, - codSistemaCostruttivo); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoSistemaCostruttivo.class.getName())); - } - - public BaseModel getBoSistemaCostruttivoRemoteModel() { - return _boSistemaCostruttivoRemoteModel; - } - - public void setBoSistemaCostruttivoRemoteModel( - BaseModel boSistemaCostruttivoRemoteModel) { - _boSistemaCostruttivoRemoteModel = boSistemaCostruttivoRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _boSistemaCostruttivoRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_boSistemaCostruttivoRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoSistemaCostruttivoLocalServiceUtil.addBoSistemaCostruttivo(this); - } - else { - BoSistemaCostruttivoLocalServiceUtil.updateBoSistemaCostruttivo(this); - } - } - - @Override - public BoSistemaCostruttivo toEscapedModel() { - return (BoSistemaCostruttivo)ProxyUtil.newProxyInstance(BoSistemaCostruttivo.class.getClassLoader(), - new Class[] { BoSistemaCostruttivo.class }, - new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - BoSistemaCostruttivoClp clone = new BoSistemaCostruttivoClp(); - - clone.setUuid(getUuid()); - clone.setSistemaCostruttivoId(getSistemaCostruttivoId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setGroupId(getGroupId()); - clone.setIntPraticaId(getIntPraticaId()); - clone.setCodSistemaCostruttivo(getCodSistemaCostruttivo()); - - return clone; - } - - @Override - public int compareTo(BoSistemaCostruttivo boSistemaCostruttivo) { - long primaryKey = boSistemaCostruttivo.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoSistemaCostruttivoClp)) { - return false; - } - - BoSistemaCostruttivoClp boSistemaCostruttivo = (BoSistemaCostruttivoClp)obj; - - long primaryKey = boSistemaCostruttivo.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(21); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", sistemaCostruttivoId="); - sb.append(getSistemaCostruttivoId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", intPraticaId="); - sb.append(getIntPraticaId()); - sb.append(", codSistemaCostruttivo="); - sb.append(getCodSistemaCostruttivo()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(34); - - sb.append(""); - sb.append( - "it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "sistemaCostruttivoId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "intPraticaId"); - sb.append( - "codSistemaCostruttivo"); - - sb.append(""); - - return sb.toString(); - } - - private String _uuid; - private long _sistemaCostruttivoId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _intPraticaId; - private String _codSistemaCostruttivo; - private BaseModel _boSistemaCostruttivoRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.portosimport.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSistemaCostruttivoModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSistemaCostruttivoModel.java deleted file mode 100644 index b1af2743..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSistemaCostruttivoModel.java +++ /dev/null @@ -1,296 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.StagedGroupedModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the BoSistemaCostruttivo service. Represents a row in the "gc_sistemacostruttivo" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoSistemaCostruttivo - * @see it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoImpl - * @see it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl - * @generated - */ -public interface BoSistemaCostruttivoModel extends BaseModel, - StagedGroupedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a bo sistema costruttivo model instance should use the {@link BoSistemaCostruttivo} interface instead. - */ - - /** - * Returns the primary key of this bo sistema costruttivo. - * - * @return the primary key of this bo sistema costruttivo - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this bo sistema costruttivo. - * - * @param primaryKey the primary key of this bo sistema costruttivo - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the uuid of this bo sistema costruttivo. - * - * @return the uuid of this bo sistema costruttivo - */ - @AutoEscape - @Override - public String getUuid(); - - /** - * Sets the uuid of this bo sistema costruttivo. - * - * @param uuid the uuid of this bo sistema costruttivo - */ - @Override - public void setUuid(String uuid); - - /** - * Returns the sistema costruttivo ID of this bo sistema costruttivo. - * - * @return the sistema costruttivo ID of this bo sistema costruttivo - */ - public long getSistemaCostruttivoId(); - - /** - * Sets the sistema costruttivo ID of this bo sistema costruttivo. - * - * @param sistemaCostruttivoId the sistema costruttivo ID of this bo sistema costruttivo - */ - public void setSistemaCostruttivoId(long sistemaCostruttivoId); - - /** - * Returns the company ID of this bo sistema costruttivo. - * - * @return the company ID of this bo sistema costruttivo - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this bo sistema costruttivo. - * - * @param companyId the company ID of this bo sistema costruttivo - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this bo sistema costruttivo. - * - * @return the user ID of this bo sistema costruttivo - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this bo sistema costruttivo. - * - * @param userId the user ID of this bo sistema costruttivo - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this bo sistema costruttivo. - * - * @return the user uuid of this bo sistema costruttivo - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this bo sistema costruttivo. - * - * @param userUuid the user uuid of this bo sistema costruttivo - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this bo sistema costruttivo. - * - * @return the user name of this bo sistema costruttivo - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this bo sistema costruttivo. - * - * @param userName the user name of this bo sistema costruttivo - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this bo sistema costruttivo. - * - * @return the create date of this bo sistema costruttivo - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this bo sistema costruttivo. - * - * @param createDate the create date of this bo sistema costruttivo - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this bo sistema costruttivo. - * - * @return the modified date of this bo sistema costruttivo - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this bo sistema costruttivo. - * - * @param modifiedDate the modified date of this bo sistema costruttivo - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the group ID of this bo sistema costruttivo. - * - * @return the group ID of this bo sistema costruttivo - */ - @Override - public long getGroupId(); - - /** - * Sets the group ID of this bo sistema costruttivo. - * - * @param groupId the group ID of this bo sistema costruttivo - */ - @Override - public void setGroupId(long groupId); - - /** - * Returns the int pratica ID of this bo sistema costruttivo. - * - * @return the int pratica ID of this bo sistema costruttivo - */ - public long getIntPraticaId(); - - /** - * Sets the int pratica ID of this bo sistema costruttivo. - * - * @param intPraticaId the int pratica ID of this bo sistema costruttivo - */ - public void setIntPraticaId(long intPraticaId); - - /** - * Returns the cod sistema costruttivo of this bo sistema costruttivo. - * - * @return the cod sistema costruttivo of this bo sistema costruttivo - */ - @AutoEscape - public String getCodSistemaCostruttivo(); - - /** - * Sets the cod sistema costruttivo of this bo sistema costruttivo. - * - * @param codSistemaCostruttivo the cod sistema costruttivo of this bo sistema costruttivo - */ - public void setCodSistemaCostruttivo(String codSistemaCostruttivo); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo boSistemaCostruttivo); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo toEscapedModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSistemaCostruttivoSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSistemaCostruttivoSoap.java deleted file mode 100644 index fcbdcc8d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSistemaCostruttivoSoap.java +++ /dev/null @@ -1,189 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoSistemaCostruttivoSoap implements Serializable { - public static BoSistemaCostruttivoSoap toSoapModel( - BoSistemaCostruttivo model) { - BoSistemaCostruttivoSoap soapModel = new BoSistemaCostruttivoSoap(); - - soapModel.setUuid(model.getUuid()); - soapModel.setSistemaCostruttivoId(model.getSistemaCostruttivoId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setIntPraticaId(model.getIntPraticaId()); - soapModel.setCodSistemaCostruttivo(model.getCodSistemaCostruttivo()); - - return soapModel; - } - - public static BoSistemaCostruttivoSoap[] toSoapModels( - BoSistemaCostruttivo[] models) { - BoSistemaCostruttivoSoap[] soapModels = new BoSistemaCostruttivoSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static BoSistemaCostruttivoSoap[][] toSoapModels( - BoSistemaCostruttivo[][] models) { - BoSistemaCostruttivoSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new BoSistemaCostruttivoSoap[models.length][models[0].length]; - } - else { - soapModels = new BoSistemaCostruttivoSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static BoSistemaCostruttivoSoap[] toSoapModels( - List models) { - List soapModels = new ArrayList(models.size()); - - for (BoSistemaCostruttivo model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new BoSistemaCostruttivoSoap[soapModels.size()]); - } - - public BoSistemaCostruttivoSoap() { - } - - public long getPrimaryKey() { - return _sistemaCostruttivoId; - } - - public void setPrimaryKey(long pk) { - setSistemaCostruttivoId(pk); - } - - public String getUuid() { - return _uuid; - } - - public void setUuid(String uuid) { - _uuid = uuid; - } - - public long getSistemaCostruttivoId() { - return _sistemaCostruttivoId; - } - - public void setSistemaCostruttivoId(long sistemaCostruttivoId) { - _sistemaCostruttivoId = sistemaCostruttivoId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public long getIntPraticaId() { - return _intPraticaId; - } - - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - } - - public String getCodSistemaCostruttivo() { - return _codSistemaCostruttivo; - } - - public void setCodSistemaCostruttivo(String codSistemaCostruttivo) { - _codSistemaCostruttivo = codSistemaCostruttivo; - } - - private String _uuid; - private long _sistemaCostruttivoId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _intPraticaId; - private String _codSistemaCostruttivo; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSistemaCostruttivoWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSistemaCostruttivoWrapper.java deleted file mode 100644 index ddcf4372..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSistemaCostruttivoWrapper.java +++ /dev/null @@ -1,523 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link BoSistemaCostruttivo}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoSistemaCostruttivo - * @generated - */ -public class BoSistemaCostruttivoWrapper implements BoSistemaCostruttivo, - ModelWrapper { - public BoSistemaCostruttivoWrapper( - BoSistemaCostruttivo boSistemaCostruttivo) { - _boSistemaCostruttivo = boSistemaCostruttivo; - } - - @Override - public Class getModelClass() { - return BoSistemaCostruttivo.class; - } - - @Override - public String getModelClassName() { - return BoSistemaCostruttivo.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("sistemaCostruttivoId", getSistemaCostruttivoId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("codSistemaCostruttivo", getCodSistemaCostruttivo()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long sistemaCostruttivoId = (Long)attributes.get("sistemaCostruttivoId"); - - if (sistemaCostruttivoId != null) { - setSistemaCostruttivoId(sistemaCostruttivoId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - String codSistemaCostruttivo = (String)attributes.get( - "codSistemaCostruttivo"); - - if (codSistemaCostruttivo != null) { - setCodSistemaCostruttivo(codSistemaCostruttivo); - } - } - - /** - * Returns the primary key of this bo sistema costruttivo. - * - * @return the primary key of this bo sistema costruttivo - */ - @Override - public long getPrimaryKey() { - return _boSistemaCostruttivo.getPrimaryKey(); - } - - /** - * Sets the primary key of this bo sistema costruttivo. - * - * @param primaryKey the primary key of this bo sistema costruttivo - */ - @Override - public void setPrimaryKey(long primaryKey) { - _boSistemaCostruttivo.setPrimaryKey(primaryKey); - } - - /** - * Returns the uuid of this bo sistema costruttivo. - * - * @return the uuid of this bo sistema costruttivo - */ - @Override - public java.lang.String getUuid() { - return _boSistemaCostruttivo.getUuid(); - } - - /** - * Sets the uuid of this bo sistema costruttivo. - * - * @param uuid the uuid of this bo sistema costruttivo - */ - @Override - public void setUuid(java.lang.String uuid) { - _boSistemaCostruttivo.setUuid(uuid); - } - - /** - * Returns the sistema costruttivo ID of this bo sistema costruttivo. - * - * @return the sistema costruttivo ID of this bo sistema costruttivo - */ - @Override - public long getSistemaCostruttivoId() { - return _boSistemaCostruttivo.getSistemaCostruttivoId(); - } - - /** - * Sets the sistema costruttivo ID of this bo sistema costruttivo. - * - * @param sistemaCostruttivoId the sistema costruttivo ID of this bo sistema costruttivo - */ - @Override - public void setSistemaCostruttivoId(long sistemaCostruttivoId) { - _boSistemaCostruttivo.setSistemaCostruttivoId(sistemaCostruttivoId); - } - - /** - * Returns the company ID of this bo sistema costruttivo. - * - * @return the company ID of this bo sistema costruttivo - */ - @Override - public long getCompanyId() { - return _boSistemaCostruttivo.getCompanyId(); - } - - /** - * Sets the company ID of this bo sistema costruttivo. - * - * @param companyId the company ID of this bo sistema costruttivo - */ - @Override - public void setCompanyId(long companyId) { - _boSistemaCostruttivo.setCompanyId(companyId); - } - - /** - * Returns the user ID of this bo sistema costruttivo. - * - * @return the user ID of this bo sistema costruttivo - */ - @Override - public long getUserId() { - return _boSistemaCostruttivo.getUserId(); - } - - /** - * Sets the user ID of this bo sistema costruttivo. - * - * @param userId the user ID of this bo sistema costruttivo - */ - @Override - public void setUserId(long userId) { - _boSistemaCostruttivo.setUserId(userId); - } - - /** - * Returns the user uuid of this bo sistema costruttivo. - * - * @return the user uuid of this bo sistema costruttivo - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivo.getUserUuid(); - } - - /** - * Sets the user uuid of this bo sistema costruttivo. - * - * @param userUuid the user uuid of this bo sistema costruttivo - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _boSistemaCostruttivo.setUserUuid(userUuid); - } - - /** - * Returns the user name of this bo sistema costruttivo. - * - * @return the user name of this bo sistema costruttivo - */ - @Override - public java.lang.String getUserName() { - return _boSistemaCostruttivo.getUserName(); - } - - /** - * Sets the user name of this bo sistema costruttivo. - * - * @param userName the user name of this bo sistema costruttivo - */ - @Override - public void setUserName(java.lang.String userName) { - _boSistemaCostruttivo.setUserName(userName); - } - - /** - * Returns the create date of this bo sistema costruttivo. - * - * @return the create date of this bo sistema costruttivo - */ - @Override - public java.util.Date getCreateDate() { - return _boSistemaCostruttivo.getCreateDate(); - } - - /** - * Sets the create date of this bo sistema costruttivo. - * - * @param createDate the create date of this bo sistema costruttivo - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _boSistemaCostruttivo.setCreateDate(createDate); - } - - /** - * Returns the modified date of this bo sistema costruttivo. - * - * @return the modified date of this bo sistema costruttivo - */ - @Override - public java.util.Date getModifiedDate() { - return _boSistemaCostruttivo.getModifiedDate(); - } - - /** - * Sets the modified date of this bo sistema costruttivo. - * - * @param modifiedDate the modified date of this bo sistema costruttivo - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _boSistemaCostruttivo.setModifiedDate(modifiedDate); - } - - /** - * Returns the group ID of this bo sistema costruttivo. - * - * @return the group ID of this bo sistema costruttivo - */ - @Override - public long getGroupId() { - return _boSistemaCostruttivo.getGroupId(); - } - - /** - * Sets the group ID of this bo sistema costruttivo. - * - * @param groupId the group ID of this bo sistema costruttivo - */ - @Override - public void setGroupId(long groupId) { - _boSistemaCostruttivo.setGroupId(groupId); - } - - /** - * Returns the int pratica ID of this bo sistema costruttivo. - * - * @return the int pratica ID of this bo sistema costruttivo - */ - @Override - public long getIntPraticaId() { - return _boSistemaCostruttivo.getIntPraticaId(); - } - - /** - * Sets the int pratica ID of this bo sistema costruttivo. - * - * @param intPraticaId the int pratica ID of this bo sistema costruttivo - */ - @Override - public void setIntPraticaId(long intPraticaId) { - _boSistemaCostruttivo.setIntPraticaId(intPraticaId); - } - - /** - * Returns the cod sistema costruttivo of this bo sistema costruttivo. - * - * @return the cod sistema costruttivo of this bo sistema costruttivo - */ - @Override - public java.lang.String getCodSistemaCostruttivo() { - return _boSistemaCostruttivo.getCodSistemaCostruttivo(); - } - - /** - * Sets the cod sistema costruttivo of this bo sistema costruttivo. - * - * @param codSistemaCostruttivo the cod sistema costruttivo of this bo sistema costruttivo - */ - @Override - public void setCodSistemaCostruttivo(java.lang.String codSistemaCostruttivo) { - _boSistemaCostruttivo.setCodSistemaCostruttivo(codSistemaCostruttivo); - } - - @Override - public boolean isNew() { - return _boSistemaCostruttivo.isNew(); - } - - @Override - public void setNew(boolean n) { - _boSistemaCostruttivo.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _boSistemaCostruttivo.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _boSistemaCostruttivo.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _boSistemaCostruttivo.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _boSistemaCostruttivo.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _boSistemaCostruttivo.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _boSistemaCostruttivo.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _boSistemaCostruttivo.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _boSistemaCostruttivo.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _boSistemaCostruttivo.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new BoSistemaCostruttivoWrapper((BoSistemaCostruttivo)_boSistemaCostruttivo.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo boSistemaCostruttivo) { - return _boSistemaCostruttivo.compareTo(boSistemaCostruttivo); - } - - @Override - public int hashCode() { - return _boSistemaCostruttivo.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _boSistemaCostruttivo.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo toEscapedModel() { - return new BoSistemaCostruttivoWrapper(_boSistemaCostruttivo.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo toUnescapedModel() { - return new BoSistemaCostruttivoWrapper(_boSistemaCostruttivo.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _boSistemaCostruttivo.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _boSistemaCostruttivo.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _boSistemaCostruttivo.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoSistemaCostruttivoWrapper)) { - return false; - } - - BoSistemaCostruttivoWrapper boSistemaCostruttivoWrapper = (BoSistemaCostruttivoWrapper)obj; - - if (Validator.equals(_boSistemaCostruttivo, - boSistemaCostruttivoWrapper._boSistemaCostruttivo)) { - return true; - } - - return false; - } - - @Override - public StagedModelType getStagedModelType() { - return _boSistemaCostruttivo.getStagedModelType(); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public BoSistemaCostruttivo getWrappedBoSistemaCostruttivo() { - return _boSistemaCostruttivo; - } - - @Override - public BoSistemaCostruttivo getWrappedModel() { - return _boSistemaCostruttivo; - } - - @Override - public void resetOriginalValues() { - _boSistemaCostruttivo.resetOriginalValues(); - } - - private BoSistemaCostruttivo _boSistemaCostruttivo; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSoggetto.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSoggetto.java deleted file mode 100644 index 01feffb5..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSoggetto.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the BoSoggetto service. Represents a row in the "gc_soggetto" database table, with each column mapped to a property of this class. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoSoggettoModel - * @see it.tref.liferay.portos.portosimport.model.impl.BoSoggettoImpl - * @see it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl - * @generated - */ -public interface BoSoggetto extends BoSoggettoModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSoggettoClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSoggettoClp.java deleted file mode 100644 index e78e8904..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSoggettoClp.java +++ /dev/null @@ -1,2055 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.portosimport.service.BoSoggettoLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.ClpSerializer; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class BoSoggettoClp extends BaseModelImpl - implements BoSoggetto { - public BoSoggettoClp() { - } - - @Override - public Class getModelClass() { - return BoSoggetto.class; - } - - @Override - public String getModelClassName() { - return BoSoggetto.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _soggettoId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setSoggettoId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _soggettoId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("soggettoId", getSoggettoId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("nome", getNome()); - attributes.put("cognome", getCognome()); - attributes.put("codiceFiscale", getCodiceFiscale()); - attributes.put("codiceFiscaleDelegato", getCodiceFiscaleDelegato()); - attributes.put("dataNascita", getDataNascita()); - attributes.put("comuneNascita", getComuneNascita()); - attributes.put("comuneDomicilio", getComuneDomicilio()); - attributes.put("provinciaDomicilio", getProvinciaDomicilio()); - attributes.put("viaDomicilio", getViaDomicilio()); - attributes.put("numeroCivicoDomicilio", getNumeroCivicoDomicilio()); - attributes.put("capDomicilio", getCapDomicilio()); - attributes.put("domicilioExtra", getDomicilioExtra()); - attributes.put("comune", getComune()); - attributes.put("provincia", getProvincia()); - attributes.put("via", getVia()); - attributes.put("numeroCivico", getNumeroCivico()); - attributes.put("cap", getCap()); - attributes.put("denominazione", getDenominazione()); - attributes.put("sedeLegale", getSedeLegale()); - attributes.put("legaleRap", getLegaleRap()); - attributes.put("dataNascitaRap", getDataNascitaRap()); - attributes.put("comuneNascitaRap", getComuneNascitaRap()); - attributes.put("viaRap", getViaRap()); - attributes.put("numeroCivicoRap", getNumeroCivicoRap()); - attributes.put("capRap", getCapRap()); - attributes.put("provinciaRap", getProvinciaRap()); - attributes.put("comuneRap", getComuneRap()); - attributes.put("albo", getAlbo()); - attributes.put("regAlbo", getRegAlbo()); - attributes.put("provAlbo", getProvAlbo()); - attributes.put("numIscrAlbo", getNumIscrAlbo()); - attributes.put("telefono", getTelefono()); - attributes.put("fax", getFax()); - attributes.put("email", getEmail()); - attributes.put("tipologiaSoggetto", getTipologiaSoggetto()); - attributes.put("tipologiaProfessione", getTipologiaProfessione()); - attributes.put("aggiuntivo", getAggiuntivo()); - attributes.put("sostituito", getSostituito()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long soggettoId = (Long)attributes.get("soggettoId"); - - if (soggettoId != null) { - setSoggettoId(soggettoId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - String nome = (String)attributes.get("nome"); - - if (nome != null) { - setNome(nome); - } - - String cognome = (String)attributes.get("cognome"); - - if (cognome != null) { - setCognome(cognome); - } - - String codiceFiscale = (String)attributes.get("codiceFiscale"); - - if (codiceFiscale != null) { - setCodiceFiscale(codiceFiscale); - } - - String codiceFiscaleDelegato = (String)attributes.get( - "codiceFiscaleDelegato"); - - if (codiceFiscaleDelegato != null) { - setCodiceFiscaleDelegato(codiceFiscaleDelegato); - } - - Date dataNascita = (Date)attributes.get("dataNascita"); - - if (dataNascita != null) { - setDataNascita(dataNascita); - } - - String comuneNascita = (String)attributes.get("comuneNascita"); - - if (comuneNascita != null) { - setComuneNascita(comuneNascita); - } - - String comuneDomicilio = (String)attributes.get("comuneDomicilio"); - - if (comuneDomicilio != null) { - setComuneDomicilio(comuneDomicilio); - } - - String provinciaDomicilio = (String)attributes.get("provinciaDomicilio"); - - if (provinciaDomicilio != null) { - setProvinciaDomicilio(provinciaDomicilio); - } - - String viaDomicilio = (String)attributes.get("viaDomicilio"); - - if (viaDomicilio != null) { - setViaDomicilio(viaDomicilio); - } - - String numeroCivicoDomicilio = (String)attributes.get( - "numeroCivicoDomicilio"); - - if (numeroCivicoDomicilio != null) { - setNumeroCivicoDomicilio(numeroCivicoDomicilio); - } - - String capDomicilio = (String)attributes.get("capDomicilio"); - - if (capDomicilio != null) { - setCapDomicilio(capDomicilio); - } - - String domicilioExtra = (String)attributes.get("domicilioExtra"); - - if (domicilioExtra != null) { - setDomicilioExtra(domicilioExtra); - } - - String comune = (String)attributes.get("comune"); - - if (comune != null) { - setComune(comune); - } - - String provincia = (String)attributes.get("provincia"); - - if (provincia != null) { - setProvincia(provincia); - } - - String via = (String)attributes.get("via"); - - if (via != null) { - setVia(via); - } - - String numeroCivico = (String)attributes.get("numeroCivico"); - - if (numeroCivico != null) { - setNumeroCivico(numeroCivico); - } - - String cap = (String)attributes.get("cap"); - - if (cap != null) { - setCap(cap); - } - - String denominazione = (String)attributes.get("denominazione"); - - if (denominazione != null) { - setDenominazione(denominazione); - } - - String sedeLegale = (String)attributes.get("sedeLegale"); - - if (sedeLegale != null) { - setSedeLegale(sedeLegale); - } - - String legaleRap = (String)attributes.get("legaleRap"); - - if (legaleRap != null) { - setLegaleRap(legaleRap); - } - - Date dataNascitaRap = (Date)attributes.get("dataNascitaRap"); - - if (dataNascitaRap != null) { - setDataNascitaRap(dataNascitaRap); - } - - String comuneNascitaRap = (String)attributes.get("comuneNascitaRap"); - - if (comuneNascitaRap != null) { - setComuneNascitaRap(comuneNascitaRap); - } - - String viaRap = (String)attributes.get("viaRap"); - - if (viaRap != null) { - setViaRap(viaRap); - } - - String numeroCivicoRap = (String)attributes.get("numeroCivicoRap"); - - if (numeroCivicoRap != null) { - setNumeroCivicoRap(numeroCivicoRap); - } - - String capRap = (String)attributes.get("capRap"); - - if (capRap != null) { - setCapRap(capRap); - } - - String provinciaRap = (String)attributes.get("provinciaRap"); - - if (provinciaRap != null) { - setProvinciaRap(provinciaRap); - } - - String comuneRap = (String)attributes.get("comuneRap"); - - if (comuneRap != null) { - setComuneRap(comuneRap); - } - - String albo = (String)attributes.get("albo"); - - if (albo != null) { - setAlbo(albo); - } - - String regAlbo = (String)attributes.get("regAlbo"); - - if (regAlbo != null) { - setRegAlbo(regAlbo); - } - - String provAlbo = (String)attributes.get("provAlbo"); - - if (provAlbo != null) { - setProvAlbo(provAlbo); - } - - String numIscrAlbo = (String)attributes.get("numIscrAlbo"); - - if (numIscrAlbo != null) { - setNumIscrAlbo(numIscrAlbo); - } - - String telefono = (String)attributes.get("telefono"); - - if (telefono != null) { - setTelefono(telefono); - } - - String fax = (String)attributes.get("fax"); - - if (fax != null) { - setFax(fax); - } - - String email = (String)attributes.get("email"); - - if (email != null) { - setEmail(email); - } - - String tipologiaSoggetto = (String)attributes.get("tipologiaSoggetto"); - - if (tipologiaSoggetto != null) { - setTipologiaSoggetto(tipologiaSoggetto); - } - - String tipologiaProfessione = (String)attributes.get( - "tipologiaProfessione"); - - if (tipologiaProfessione != null) { - setTipologiaProfessione(tipologiaProfessione); - } - - Boolean aggiuntivo = (Boolean)attributes.get("aggiuntivo"); - - if (aggiuntivo != null) { - setAggiuntivo(aggiuntivo); - } - - Boolean sostituito = (Boolean)attributes.get("sostituito"); - - if (sostituito != null) { - setSostituito(sostituito); - } - } - - @Override - public String getUuid() { - return _uuid; - } - - @Override - public void setUuid(String uuid) { - _uuid = uuid; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setUuid", String.class); - - method.invoke(_boSoggettoRemoteModel, uuid); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getSoggettoId() { - return _soggettoId; - } - - @Override - public void setSoggettoId(long soggettoId) { - _soggettoId = soggettoId; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setSoggettoId", long.class); - - method.invoke(_boSoggettoRemoteModel, soggettoId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_boSoggettoRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_boSoggettoRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_boSoggettoRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_boSoggettoRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_boSoggettoRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_boSoggettoRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getDettPraticaId() { - return _dettPraticaId; - } - - @Override - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setDettPraticaId", long.class); - - method.invoke(_boSoggettoRemoteModel, dettPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getNome() { - return _nome; - } - - @Override - public void setNome(String nome) { - _nome = nome; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setNome", String.class); - - method.invoke(_boSoggettoRemoteModel, nome); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCognome() { - return _cognome; - } - - @Override - public void setCognome(String cognome) { - _cognome = cognome; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setCognome", String.class); - - method.invoke(_boSoggettoRemoteModel, cognome); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodiceFiscale() { - return _codiceFiscale; - } - - @Override - public void setCodiceFiscale(String codiceFiscale) { - _codiceFiscale = codiceFiscale; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodiceFiscale", String.class); - - method.invoke(_boSoggettoRemoteModel, codiceFiscale); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodiceFiscaleDelegato() { - return _codiceFiscaleDelegato; - } - - @Override - public void setCodiceFiscaleDelegato(String codiceFiscaleDelegato) { - _codiceFiscaleDelegato = codiceFiscaleDelegato; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodiceFiscaleDelegato", - String.class); - - method.invoke(_boSoggettoRemoteModel, codiceFiscaleDelegato); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDataNascita() { - return _dataNascita; - } - - @Override - public void setDataNascita(Date dataNascita) { - _dataNascita = dataNascita; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setDataNascita", Date.class); - - method.invoke(_boSoggettoRemoteModel, dataNascita); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getComuneNascita() { - return _comuneNascita; - } - - @Override - public void setComuneNascita(String comuneNascita) { - _comuneNascita = comuneNascita; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setComuneNascita", String.class); - - method.invoke(_boSoggettoRemoteModel, comuneNascita); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getComuneDomicilio() { - return _comuneDomicilio; - } - - @Override - public void setComuneDomicilio(String comuneDomicilio) { - _comuneDomicilio = comuneDomicilio; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setComuneDomicilio", - String.class); - - method.invoke(_boSoggettoRemoteModel, comuneDomicilio); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getProvinciaDomicilio() { - return _provinciaDomicilio; - } - - @Override - public void setProvinciaDomicilio(String provinciaDomicilio) { - _provinciaDomicilio = provinciaDomicilio; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setProvinciaDomicilio", - String.class); - - method.invoke(_boSoggettoRemoteModel, provinciaDomicilio); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getViaDomicilio() { - return _viaDomicilio; - } - - @Override - public void setViaDomicilio(String viaDomicilio) { - _viaDomicilio = viaDomicilio; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setViaDomicilio", String.class); - - method.invoke(_boSoggettoRemoteModel, viaDomicilio); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getNumeroCivicoDomicilio() { - return _numeroCivicoDomicilio; - } - - @Override - public void setNumeroCivicoDomicilio(String numeroCivicoDomicilio) { - _numeroCivicoDomicilio = numeroCivicoDomicilio; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setNumeroCivicoDomicilio", - String.class); - - method.invoke(_boSoggettoRemoteModel, numeroCivicoDomicilio); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCapDomicilio() { - return _capDomicilio; - } - - @Override - public void setCapDomicilio(String capDomicilio) { - _capDomicilio = capDomicilio; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setCapDomicilio", String.class); - - method.invoke(_boSoggettoRemoteModel, capDomicilio); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getDomicilioExtra() { - return _domicilioExtra; - } - - @Override - public void setDomicilioExtra(String domicilioExtra) { - _domicilioExtra = domicilioExtra; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setDomicilioExtra", - String.class); - - method.invoke(_boSoggettoRemoteModel, domicilioExtra); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getComune() { - return _comune; - } - - @Override - public void setComune(String comune) { - _comune = comune; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setComune", String.class); - - method.invoke(_boSoggettoRemoteModel, comune); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getProvincia() { - return _provincia; - } - - @Override - public void setProvincia(String provincia) { - _provincia = provincia; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setProvincia", String.class); - - method.invoke(_boSoggettoRemoteModel, provincia); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getVia() { - return _via; - } - - @Override - public void setVia(String via) { - _via = via; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setVia", String.class); - - method.invoke(_boSoggettoRemoteModel, via); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getNumeroCivico() { - return _numeroCivico; - } - - @Override - public void setNumeroCivico(String numeroCivico) { - _numeroCivico = numeroCivico; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setNumeroCivico", String.class); - - method.invoke(_boSoggettoRemoteModel, numeroCivico); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCap() { - return _cap; - } - - @Override - public void setCap(String cap) { - _cap = cap; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setCap", String.class); - - method.invoke(_boSoggettoRemoteModel, cap); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getDenominazione() { - return _denominazione; - } - - @Override - public void setDenominazione(String denominazione) { - _denominazione = denominazione; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setDenominazione", String.class); - - method.invoke(_boSoggettoRemoteModel, denominazione); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getSedeLegale() { - return _sedeLegale; - } - - @Override - public void setSedeLegale(String sedeLegale) { - _sedeLegale = sedeLegale; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setSedeLegale", String.class); - - method.invoke(_boSoggettoRemoteModel, sedeLegale); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getLegaleRap() { - return _legaleRap; - } - - @Override - public void setLegaleRap(String legaleRap) { - _legaleRap = legaleRap; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setLegaleRap", String.class); - - method.invoke(_boSoggettoRemoteModel, legaleRap); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDataNascitaRap() { - return _dataNascitaRap; - } - - @Override - public void setDataNascitaRap(Date dataNascitaRap) { - _dataNascitaRap = dataNascitaRap; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setDataNascitaRap", Date.class); - - method.invoke(_boSoggettoRemoteModel, dataNascitaRap); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getComuneNascitaRap() { - return _comuneNascitaRap; - } - - @Override - public void setComuneNascitaRap(String comuneNascitaRap) { - _comuneNascitaRap = comuneNascitaRap; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setComuneNascitaRap", - String.class); - - method.invoke(_boSoggettoRemoteModel, comuneNascitaRap); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getViaRap() { - return _viaRap; - } - - @Override - public void setViaRap(String viaRap) { - _viaRap = viaRap; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setViaRap", String.class); - - method.invoke(_boSoggettoRemoteModel, viaRap); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getNumeroCivicoRap() { - return _numeroCivicoRap; - } - - @Override - public void setNumeroCivicoRap(String numeroCivicoRap) { - _numeroCivicoRap = numeroCivicoRap; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setNumeroCivicoRap", - String.class); - - method.invoke(_boSoggettoRemoteModel, numeroCivicoRap); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCapRap() { - return _capRap; - } - - @Override - public void setCapRap(String capRap) { - _capRap = capRap; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setCapRap", String.class); - - method.invoke(_boSoggettoRemoteModel, capRap); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getProvinciaRap() { - return _provinciaRap; - } - - @Override - public void setProvinciaRap(String provinciaRap) { - _provinciaRap = provinciaRap; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setProvinciaRap", String.class); - - method.invoke(_boSoggettoRemoteModel, provinciaRap); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getComuneRap() { - return _comuneRap; - } - - @Override - public void setComuneRap(String comuneRap) { - _comuneRap = comuneRap; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setComuneRap", String.class); - - method.invoke(_boSoggettoRemoteModel, comuneRap); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getAlbo() { - return _albo; - } - - @Override - public void setAlbo(String albo) { - _albo = albo; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setAlbo", String.class); - - method.invoke(_boSoggettoRemoteModel, albo); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getRegAlbo() { - return _regAlbo; - } - - @Override - public void setRegAlbo(String regAlbo) { - _regAlbo = regAlbo; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setRegAlbo", String.class); - - method.invoke(_boSoggettoRemoteModel, regAlbo); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getProvAlbo() { - return _provAlbo; - } - - @Override - public void setProvAlbo(String provAlbo) { - _provAlbo = provAlbo; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setProvAlbo", String.class); - - method.invoke(_boSoggettoRemoteModel, provAlbo); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getNumIscrAlbo() { - return _numIscrAlbo; - } - - @Override - public void setNumIscrAlbo(String numIscrAlbo) { - _numIscrAlbo = numIscrAlbo; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setNumIscrAlbo", String.class); - - method.invoke(_boSoggettoRemoteModel, numIscrAlbo); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getTelefono() { - return _telefono; - } - - @Override - public void setTelefono(String telefono) { - _telefono = telefono; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setTelefono", String.class); - - method.invoke(_boSoggettoRemoteModel, telefono); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getFax() { - return _fax; - } - - @Override - public void setFax(String fax) { - _fax = fax; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setFax", String.class); - - method.invoke(_boSoggettoRemoteModel, fax); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getEmail() { - return _email; - } - - @Override - public void setEmail(String email) { - _email = email; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setEmail", String.class); - - method.invoke(_boSoggettoRemoteModel, email); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getTipologiaSoggetto() { - return _tipologiaSoggetto; - } - - @Override - public void setTipologiaSoggetto(String tipologiaSoggetto) { - _tipologiaSoggetto = tipologiaSoggetto; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setTipologiaSoggetto", - String.class); - - method.invoke(_boSoggettoRemoteModel, tipologiaSoggetto); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getTipologiaProfessione() { - return _tipologiaProfessione; - } - - @Override - public void setTipologiaProfessione(String tipologiaProfessione) { - _tipologiaProfessione = tipologiaProfessione; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setTipologiaProfessione", - String.class); - - method.invoke(_boSoggettoRemoteModel, tipologiaProfessione); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getAggiuntivo() { - return _aggiuntivo; - } - - @Override - public boolean isAggiuntivo() { - return _aggiuntivo; - } - - @Override - public void setAggiuntivo(boolean aggiuntivo) { - _aggiuntivo = aggiuntivo; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setAggiuntivo", boolean.class); - - method.invoke(_boSoggettoRemoteModel, aggiuntivo); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getSostituito() { - return _sostituito; - } - - @Override - public boolean isSostituito() { - return _sostituito; - } - - @Override - public void setSostituito(boolean sostituito) { - _sostituito = sostituito; - - if (_boSoggettoRemoteModel != null) { - try { - Class clazz = _boSoggettoRemoteModel.getClass(); - - Method method = clazz.getMethod("setSostituito", boolean.class); - - method.invoke(_boSoggettoRemoteModel, sostituito); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoSoggetto.class.getName())); - } - - public BaseModel getBoSoggettoRemoteModel() { - return _boSoggettoRemoteModel; - } - - public void setBoSoggettoRemoteModel(BaseModel boSoggettoRemoteModel) { - _boSoggettoRemoteModel = boSoggettoRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _boSoggettoRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_boSoggettoRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoSoggettoLocalServiceUtil.addBoSoggetto(this); - } - else { - BoSoggettoLocalServiceUtil.updateBoSoggetto(this); - } - } - - @Override - public BoSoggetto toEscapedModel() { - return (BoSoggetto)ProxyUtil.newProxyInstance(BoSoggetto.class.getClassLoader(), - new Class[] { BoSoggetto.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - BoSoggettoClp clone = new BoSoggettoClp(); - - clone.setUuid(getUuid()); - clone.setSoggettoId(getSoggettoId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setGroupId(getGroupId()); - clone.setDettPraticaId(getDettPraticaId()); - clone.setNome(getNome()); - clone.setCognome(getCognome()); - clone.setCodiceFiscale(getCodiceFiscale()); - clone.setCodiceFiscaleDelegato(getCodiceFiscaleDelegato()); - clone.setDataNascita(getDataNascita()); - clone.setComuneNascita(getComuneNascita()); - clone.setComuneDomicilio(getComuneDomicilio()); - clone.setProvinciaDomicilio(getProvinciaDomicilio()); - clone.setViaDomicilio(getViaDomicilio()); - clone.setNumeroCivicoDomicilio(getNumeroCivicoDomicilio()); - clone.setCapDomicilio(getCapDomicilio()); - clone.setDomicilioExtra(getDomicilioExtra()); - clone.setComune(getComune()); - clone.setProvincia(getProvincia()); - clone.setVia(getVia()); - clone.setNumeroCivico(getNumeroCivico()); - clone.setCap(getCap()); - clone.setDenominazione(getDenominazione()); - clone.setSedeLegale(getSedeLegale()); - clone.setLegaleRap(getLegaleRap()); - clone.setDataNascitaRap(getDataNascitaRap()); - clone.setComuneNascitaRap(getComuneNascitaRap()); - clone.setViaRap(getViaRap()); - clone.setNumeroCivicoRap(getNumeroCivicoRap()); - clone.setCapRap(getCapRap()); - clone.setProvinciaRap(getProvinciaRap()); - clone.setComuneRap(getComuneRap()); - clone.setAlbo(getAlbo()); - clone.setRegAlbo(getRegAlbo()); - clone.setProvAlbo(getProvAlbo()); - clone.setNumIscrAlbo(getNumIscrAlbo()); - clone.setTelefono(getTelefono()); - clone.setFax(getFax()); - clone.setEmail(getEmail()); - clone.setTipologiaSoggetto(getTipologiaSoggetto()); - clone.setTipologiaProfessione(getTipologiaProfessione()); - clone.setAggiuntivo(getAggiuntivo()); - clone.setSostituito(getSostituito()); - - return clone; - } - - @Override - public int compareTo(BoSoggetto boSoggetto) { - long primaryKey = boSoggetto.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoSoggettoClp)) { - return false; - } - - BoSoggettoClp boSoggetto = (BoSoggettoClp)obj; - - long primaryKey = boSoggetto.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(95); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", soggettoId="); - sb.append(getSoggettoId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", dettPraticaId="); - sb.append(getDettPraticaId()); - sb.append(", nome="); - sb.append(getNome()); - sb.append(", cognome="); - sb.append(getCognome()); - sb.append(", codiceFiscale="); - sb.append(getCodiceFiscale()); - sb.append(", codiceFiscaleDelegato="); - sb.append(getCodiceFiscaleDelegato()); - sb.append(", dataNascita="); - sb.append(getDataNascita()); - sb.append(", comuneNascita="); - sb.append(getComuneNascita()); - sb.append(", comuneDomicilio="); - sb.append(getComuneDomicilio()); - sb.append(", provinciaDomicilio="); - sb.append(getProvinciaDomicilio()); - sb.append(", viaDomicilio="); - sb.append(getViaDomicilio()); - sb.append(", numeroCivicoDomicilio="); - sb.append(getNumeroCivicoDomicilio()); - sb.append(", capDomicilio="); - sb.append(getCapDomicilio()); - sb.append(", domicilioExtra="); - sb.append(getDomicilioExtra()); - sb.append(", comune="); - sb.append(getComune()); - sb.append(", provincia="); - sb.append(getProvincia()); - sb.append(", via="); - sb.append(getVia()); - sb.append(", numeroCivico="); - sb.append(getNumeroCivico()); - sb.append(", cap="); - sb.append(getCap()); - sb.append(", denominazione="); - sb.append(getDenominazione()); - sb.append(", sedeLegale="); - sb.append(getSedeLegale()); - sb.append(", legaleRap="); - sb.append(getLegaleRap()); - sb.append(", dataNascitaRap="); - sb.append(getDataNascitaRap()); - sb.append(", comuneNascitaRap="); - sb.append(getComuneNascitaRap()); - sb.append(", viaRap="); - sb.append(getViaRap()); - sb.append(", numeroCivicoRap="); - sb.append(getNumeroCivicoRap()); - sb.append(", capRap="); - sb.append(getCapRap()); - sb.append(", provinciaRap="); - sb.append(getProvinciaRap()); - sb.append(", comuneRap="); - sb.append(getComuneRap()); - sb.append(", albo="); - sb.append(getAlbo()); - sb.append(", regAlbo="); - sb.append(getRegAlbo()); - sb.append(", provAlbo="); - sb.append(getProvAlbo()); - sb.append(", numIscrAlbo="); - sb.append(getNumIscrAlbo()); - sb.append(", telefono="); - sb.append(getTelefono()); - sb.append(", fax="); - sb.append(getFax()); - sb.append(", email="); - sb.append(getEmail()); - sb.append(", tipologiaSoggetto="); - sb.append(getTipologiaSoggetto()); - sb.append(", tipologiaProfessione="); - sb.append(getTipologiaProfessione()); - sb.append(", aggiuntivo="); - sb.append(getAggiuntivo()); - sb.append(", sostituito="); - sb.append(getSostituito()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(145); - - sb.append(""); - sb.append("it.tref.liferay.portos.portosimport.model.BoSoggetto"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "soggettoId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "dettPraticaId"); - sb.append( - "nome"); - sb.append( - "cognome"); - sb.append( - "codiceFiscale"); - sb.append( - "codiceFiscaleDelegato"); - sb.append( - "dataNascita"); - sb.append( - "comuneNascita"); - sb.append( - "comuneDomicilio"); - sb.append( - "provinciaDomicilio"); - sb.append( - "viaDomicilio"); - sb.append( - "numeroCivicoDomicilio"); - sb.append( - "capDomicilio"); - sb.append( - "domicilioExtra"); - sb.append( - "comune"); - sb.append( - "provincia"); - sb.append( - "via"); - sb.append( - "numeroCivico"); - sb.append( - "cap"); - sb.append( - "denominazione"); - sb.append( - "sedeLegale"); - sb.append( - "legaleRap"); - sb.append( - "dataNascitaRap"); - sb.append( - "comuneNascitaRap"); - sb.append( - "viaRap"); - sb.append( - "numeroCivicoRap"); - sb.append( - "capRap"); - sb.append( - "provinciaRap"); - sb.append( - "comuneRap"); - sb.append( - "albo"); - sb.append( - "regAlbo"); - sb.append( - "provAlbo"); - sb.append( - "numIscrAlbo"); - sb.append( - "telefono"); - sb.append( - "fax"); - sb.append( - "email"); - sb.append( - "tipologiaSoggetto"); - sb.append( - "tipologiaProfessione"); - sb.append( - "aggiuntivo"); - sb.append( - "sostituito"); - - sb.append(""); - - return sb.toString(); - } - - private String _uuid; - private long _soggettoId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _dettPraticaId; - private String _nome; - private String _cognome; - private String _codiceFiscale; - private String _codiceFiscaleDelegato; - private Date _dataNascita; - private String _comuneNascita; - private String _comuneDomicilio; - private String _provinciaDomicilio; - private String _viaDomicilio; - private String _numeroCivicoDomicilio; - private String _capDomicilio; - private String _domicilioExtra; - private String _comune; - private String _provincia; - private String _via; - private String _numeroCivico; - private String _cap; - private String _denominazione; - private String _sedeLegale; - private String _legaleRap; - private Date _dataNascitaRap; - private String _comuneNascitaRap; - private String _viaRap; - private String _numeroCivicoRap; - private String _capRap; - private String _provinciaRap; - private String _comuneRap; - private String _albo; - private String _regAlbo; - private String _provAlbo; - private String _numIscrAlbo; - private String _telefono; - private String _fax; - private String _email; - private String _tipologiaSoggetto; - private String _tipologiaProfessione; - private boolean _aggiuntivo; - private boolean _sostituito; - private BaseModel _boSoggettoRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.portosimport.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSoggettoModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSoggettoModel.java deleted file mode 100644 index e6cf2a91..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSoggettoModel.java +++ /dev/null @@ -1,861 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.StagedGroupedModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the BoSoggetto service. Represents a row in the "gc_soggetto" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoSoggetto - * @see it.tref.liferay.portos.portosimport.model.impl.BoSoggettoImpl - * @see it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl - * @generated - */ -public interface BoSoggettoModel extends BaseModel, - StagedGroupedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a bo soggetto model instance should use the {@link BoSoggetto} interface instead. - */ - - /** - * Returns the primary key of this bo soggetto. - * - * @return the primary key of this bo soggetto - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this bo soggetto. - * - * @param primaryKey the primary key of this bo soggetto - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the uuid of this bo soggetto. - * - * @return the uuid of this bo soggetto - */ - @AutoEscape - @Override - public String getUuid(); - - /** - * Sets the uuid of this bo soggetto. - * - * @param uuid the uuid of this bo soggetto - */ - @Override - public void setUuid(String uuid); - - /** - * Returns the soggetto ID of this bo soggetto. - * - * @return the soggetto ID of this bo soggetto - */ - public long getSoggettoId(); - - /** - * Sets the soggetto ID of this bo soggetto. - * - * @param soggettoId the soggetto ID of this bo soggetto - */ - public void setSoggettoId(long soggettoId); - - /** - * Returns the company ID of this bo soggetto. - * - * @return the company ID of this bo soggetto - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this bo soggetto. - * - * @param companyId the company ID of this bo soggetto - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this bo soggetto. - * - * @return the user ID of this bo soggetto - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this bo soggetto. - * - * @param userId the user ID of this bo soggetto - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this bo soggetto. - * - * @return the user uuid of this bo soggetto - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this bo soggetto. - * - * @param userUuid the user uuid of this bo soggetto - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this bo soggetto. - * - * @return the user name of this bo soggetto - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this bo soggetto. - * - * @param userName the user name of this bo soggetto - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this bo soggetto. - * - * @return the create date of this bo soggetto - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this bo soggetto. - * - * @param createDate the create date of this bo soggetto - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this bo soggetto. - * - * @return the modified date of this bo soggetto - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this bo soggetto. - * - * @param modifiedDate the modified date of this bo soggetto - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the group ID of this bo soggetto. - * - * @return the group ID of this bo soggetto - */ - @Override - public long getGroupId(); - - /** - * Sets the group ID of this bo soggetto. - * - * @param groupId the group ID of this bo soggetto - */ - @Override - public void setGroupId(long groupId); - - /** - * Returns the dett pratica ID of this bo soggetto. - * - * @return the dett pratica ID of this bo soggetto - */ - public long getDettPraticaId(); - - /** - * Sets the dett pratica ID of this bo soggetto. - * - * @param dettPraticaId the dett pratica ID of this bo soggetto - */ - public void setDettPraticaId(long dettPraticaId); - - /** - * Returns the nome of this bo soggetto. - * - * @return the nome of this bo soggetto - */ - @AutoEscape - public String getNome(); - - /** - * Sets the nome of this bo soggetto. - * - * @param nome the nome of this bo soggetto - */ - public void setNome(String nome); - - /** - * Returns the cognome of this bo soggetto. - * - * @return the cognome of this bo soggetto - */ - @AutoEscape - public String getCognome(); - - /** - * Sets the cognome of this bo soggetto. - * - * @param cognome the cognome of this bo soggetto - */ - public void setCognome(String cognome); - - /** - * Returns the codice fiscale of this bo soggetto. - * - * @return the codice fiscale of this bo soggetto - */ - @AutoEscape - public String getCodiceFiscale(); - - /** - * Sets the codice fiscale of this bo soggetto. - * - * @param codiceFiscale the codice fiscale of this bo soggetto - */ - public void setCodiceFiscale(String codiceFiscale); - - /** - * Returns the codice fiscale delegato of this bo soggetto. - * - * @return the codice fiscale delegato of this bo soggetto - */ - @AutoEscape - public String getCodiceFiscaleDelegato(); - - /** - * Sets the codice fiscale delegato of this bo soggetto. - * - * @param codiceFiscaleDelegato the codice fiscale delegato of this bo soggetto - */ - public void setCodiceFiscaleDelegato(String codiceFiscaleDelegato); - - /** - * Returns the data nascita of this bo soggetto. - * - * @return the data nascita of this bo soggetto - */ - public Date getDataNascita(); - - /** - * Sets the data nascita of this bo soggetto. - * - * @param dataNascita the data nascita of this bo soggetto - */ - public void setDataNascita(Date dataNascita); - - /** - * Returns the comune nascita of this bo soggetto. - * - * @return the comune nascita of this bo soggetto - */ - @AutoEscape - public String getComuneNascita(); - - /** - * Sets the comune nascita of this bo soggetto. - * - * @param comuneNascita the comune nascita of this bo soggetto - */ - public void setComuneNascita(String comuneNascita); - - /** - * Returns the comune domicilio of this bo soggetto. - * - * @return the comune domicilio of this bo soggetto - */ - @AutoEscape - public String getComuneDomicilio(); - - /** - * Sets the comune domicilio of this bo soggetto. - * - * @param comuneDomicilio the comune domicilio of this bo soggetto - */ - public void setComuneDomicilio(String comuneDomicilio); - - /** - * Returns the provincia domicilio of this bo soggetto. - * - * @return the provincia domicilio of this bo soggetto - */ - @AutoEscape - public String getProvinciaDomicilio(); - - /** - * Sets the provincia domicilio of this bo soggetto. - * - * @param provinciaDomicilio the provincia domicilio of this bo soggetto - */ - public void setProvinciaDomicilio(String provinciaDomicilio); - - /** - * Returns the via domicilio of this bo soggetto. - * - * @return the via domicilio of this bo soggetto - */ - @AutoEscape - public String getViaDomicilio(); - - /** - * Sets the via domicilio of this bo soggetto. - * - * @param viaDomicilio the via domicilio of this bo soggetto - */ - public void setViaDomicilio(String viaDomicilio); - - /** - * Returns the numero civico domicilio of this bo soggetto. - * - * @return the numero civico domicilio of this bo soggetto - */ - @AutoEscape - public String getNumeroCivicoDomicilio(); - - /** - * Sets the numero civico domicilio of this bo soggetto. - * - * @param numeroCivicoDomicilio the numero civico domicilio of this bo soggetto - */ - public void setNumeroCivicoDomicilio(String numeroCivicoDomicilio); - - /** - * Returns the cap domicilio of this bo soggetto. - * - * @return the cap domicilio of this bo soggetto - */ - @AutoEscape - public String getCapDomicilio(); - - /** - * Sets the cap domicilio of this bo soggetto. - * - * @param capDomicilio the cap domicilio of this bo soggetto - */ - public void setCapDomicilio(String capDomicilio); - - /** - * Returns the domicilio extra of this bo soggetto. - * - * @return the domicilio extra of this bo soggetto - */ - @AutoEscape - public String getDomicilioExtra(); - - /** - * Sets the domicilio extra of this bo soggetto. - * - * @param domicilioExtra the domicilio extra of this bo soggetto - */ - public void setDomicilioExtra(String domicilioExtra); - - /** - * Returns the comune of this bo soggetto. - * - * @return the comune of this bo soggetto - */ - @AutoEscape - public String getComune(); - - /** - * Sets the comune of this bo soggetto. - * - * @param comune the comune of this bo soggetto - */ - public void setComune(String comune); - - /** - * Returns the provincia of this bo soggetto. - * - * @return the provincia of this bo soggetto - */ - @AutoEscape - public String getProvincia(); - - /** - * Sets the provincia of this bo soggetto. - * - * @param provincia the provincia of this bo soggetto - */ - public void setProvincia(String provincia); - - /** - * Returns the via of this bo soggetto. - * - * @return the via of this bo soggetto - */ - @AutoEscape - public String getVia(); - - /** - * Sets the via of this bo soggetto. - * - * @param via the via of this bo soggetto - */ - public void setVia(String via); - - /** - * Returns the numero civico of this bo soggetto. - * - * @return the numero civico of this bo soggetto - */ - @AutoEscape - public String getNumeroCivico(); - - /** - * Sets the numero civico of this bo soggetto. - * - * @param numeroCivico the numero civico of this bo soggetto - */ - public void setNumeroCivico(String numeroCivico); - - /** - * Returns the cap of this bo soggetto. - * - * @return the cap of this bo soggetto - */ - @AutoEscape - public String getCap(); - - /** - * Sets the cap of this bo soggetto. - * - * @param cap the cap of this bo soggetto - */ - public void setCap(String cap); - - /** - * Returns the denominazione of this bo soggetto. - * - * @return the denominazione of this bo soggetto - */ - @AutoEscape - public String getDenominazione(); - - /** - * Sets the denominazione of this bo soggetto. - * - * @param denominazione the denominazione of this bo soggetto - */ - public void setDenominazione(String denominazione); - - /** - * Returns the sede legale of this bo soggetto. - * - * @return the sede legale of this bo soggetto - */ - @AutoEscape - public String getSedeLegale(); - - /** - * Sets the sede legale of this bo soggetto. - * - * @param sedeLegale the sede legale of this bo soggetto - */ - public void setSedeLegale(String sedeLegale); - - /** - * Returns the legale rap of this bo soggetto. - * - * @return the legale rap of this bo soggetto - */ - @AutoEscape - public String getLegaleRap(); - - /** - * Sets the legale rap of this bo soggetto. - * - * @param legaleRap the legale rap of this bo soggetto - */ - public void setLegaleRap(String legaleRap); - - /** - * Returns the data nascita rap of this bo soggetto. - * - * @return the data nascita rap of this bo soggetto - */ - public Date getDataNascitaRap(); - - /** - * Sets the data nascita rap of this bo soggetto. - * - * @param dataNascitaRap the data nascita rap of this bo soggetto - */ - public void setDataNascitaRap(Date dataNascitaRap); - - /** - * Returns the comune nascita rap of this bo soggetto. - * - * @return the comune nascita rap of this bo soggetto - */ - @AutoEscape - public String getComuneNascitaRap(); - - /** - * Sets the comune nascita rap of this bo soggetto. - * - * @param comuneNascitaRap the comune nascita rap of this bo soggetto - */ - public void setComuneNascitaRap(String comuneNascitaRap); - - /** - * Returns the via rap of this bo soggetto. - * - * @return the via rap of this bo soggetto - */ - @AutoEscape - public String getViaRap(); - - /** - * Sets the via rap of this bo soggetto. - * - * @param viaRap the via rap of this bo soggetto - */ - public void setViaRap(String viaRap); - - /** - * Returns the numero civico rap of this bo soggetto. - * - * @return the numero civico rap of this bo soggetto - */ - @AutoEscape - public String getNumeroCivicoRap(); - - /** - * Sets the numero civico rap of this bo soggetto. - * - * @param numeroCivicoRap the numero civico rap of this bo soggetto - */ - public void setNumeroCivicoRap(String numeroCivicoRap); - - /** - * Returns the cap rap of this bo soggetto. - * - * @return the cap rap of this bo soggetto - */ - @AutoEscape - public String getCapRap(); - - /** - * Sets the cap rap of this bo soggetto. - * - * @param capRap the cap rap of this bo soggetto - */ - public void setCapRap(String capRap); - - /** - * Returns the provincia rap of this bo soggetto. - * - * @return the provincia rap of this bo soggetto - */ - @AutoEscape - public String getProvinciaRap(); - - /** - * Sets the provincia rap of this bo soggetto. - * - * @param provinciaRap the provincia rap of this bo soggetto - */ - public void setProvinciaRap(String provinciaRap); - - /** - * Returns the comune rap of this bo soggetto. - * - * @return the comune rap of this bo soggetto - */ - @AutoEscape - public String getComuneRap(); - - /** - * Sets the comune rap of this bo soggetto. - * - * @param comuneRap the comune rap of this bo soggetto - */ - public void setComuneRap(String comuneRap); - - /** - * Returns the albo of this bo soggetto. - * - * @return the albo of this bo soggetto - */ - @AutoEscape - public String getAlbo(); - - /** - * Sets the albo of this bo soggetto. - * - * @param albo the albo of this bo soggetto - */ - public void setAlbo(String albo); - - /** - * Returns the reg albo of this bo soggetto. - * - * @return the reg albo of this bo soggetto - */ - @AutoEscape - public String getRegAlbo(); - - /** - * Sets the reg albo of this bo soggetto. - * - * @param regAlbo the reg albo of this bo soggetto - */ - public void setRegAlbo(String regAlbo); - - /** - * Returns the prov albo of this bo soggetto. - * - * @return the prov albo of this bo soggetto - */ - @AutoEscape - public String getProvAlbo(); - - /** - * Sets the prov albo of this bo soggetto. - * - * @param provAlbo the prov albo of this bo soggetto - */ - public void setProvAlbo(String provAlbo); - - /** - * Returns the num iscr albo of this bo soggetto. - * - * @return the num iscr albo of this bo soggetto - */ - @AutoEscape - public String getNumIscrAlbo(); - - /** - * Sets the num iscr albo of this bo soggetto. - * - * @param numIscrAlbo the num iscr albo of this bo soggetto - */ - public void setNumIscrAlbo(String numIscrAlbo); - - /** - * Returns the telefono of this bo soggetto. - * - * @return the telefono of this bo soggetto - */ - @AutoEscape - public String getTelefono(); - - /** - * Sets the telefono of this bo soggetto. - * - * @param telefono the telefono of this bo soggetto - */ - public void setTelefono(String telefono); - - /** - * Returns the fax of this bo soggetto. - * - * @return the fax of this bo soggetto - */ - @AutoEscape - public String getFax(); - - /** - * Sets the fax of this bo soggetto. - * - * @param fax the fax of this bo soggetto - */ - public void setFax(String fax); - - /** - * Returns the email of this bo soggetto. - * - * @return the email of this bo soggetto - */ - @AutoEscape - public String getEmail(); - - /** - * Sets the email of this bo soggetto. - * - * @param email the email of this bo soggetto - */ - public void setEmail(String email); - - /** - * Returns the tipologia soggetto of this bo soggetto. - * - * @return the tipologia soggetto of this bo soggetto - */ - @AutoEscape - public String getTipologiaSoggetto(); - - /** - * Sets the tipologia soggetto of this bo soggetto. - * - * @param tipologiaSoggetto the tipologia soggetto of this bo soggetto - */ - public void setTipologiaSoggetto(String tipologiaSoggetto); - - /** - * Returns the tipologia professione of this bo soggetto. - * - * @return the tipologia professione of this bo soggetto - */ - @AutoEscape - public String getTipologiaProfessione(); - - /** - * Sets the tipologia professione of this bo soggetto. - * - * @param tipologiaProfessione the tipologia professione of this bo soggetto - */ - public void setTipologiaProfessione(String tipologiaProfessione); - - /** - * Returns the aggiuntivo of this bo soggetto. - * - * @return the aggiuntivo of this bo soggetto - */ - public boolean getAggiuntivo(); - - /** - * Returns true if this bo soggetto is aggiuntivo. - * - * @return true if this bo soggetto is aggiuntivo; false otherwise - */ - public boolean isAggiuntivo(); - - /** - * Sets whether this bo soggetto is aggiuntivo. - * - * @param aggiuntivo the aggiuntivo of this bo soggetto - */ - public void setAggiuntivo(boolean aggiuntivo); - - /** - * Returns the sostituito of this bo soggetto. - * - * @return the sostituito of this bo soggetto - */ - public boolean getSostituito(); - - /** - * Returns true if this bo soggetto is sostituito. - * - * @return true if this bo soggetto is sostituito; false otherwise - */ - public boolean isSostituito(); - - /** - * Sets whether this bo soggetto is sostituito. - * - * @param sostituito the sostituito of this bo soggetto - */ - public void setSostituito(boolean sostituito); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.BoSoggetto boSoggetto); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.BoSoggetto toEscapedModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.BoSoggetto toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSoggettoSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSoggettoSoap.java deleted file mode 100644 index 21b2ef31..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSoggettoSoap.java +++ /dev/null @@ -1,563 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoSoggettoSoap implements Serializable { - public static BoSoggettoSoap toSoapModel(BoSoggetto model) { - BoSoggettoSoap soapModel = new BoSoggettoSoap(); - - soapModel.setUuid(model.getUuid()); - soapModel.setSoggettoId(model.getSoggettoId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setDettPraticaId(model.getDettPraticaId()); - soapModel.setNome(model.getNome()); - soapModel.setCognome(model.getCognome()); - soapModel.setCodiceFiscale(model.getCodiceFiscale()); - soapModel.setCodiceFiscaleDelegato(model.getCodiceFiscaleDelegato()); - soapModel.setDataNascita(model.getDataNascita()); - soapModel.setComuneNascita(model.getComuneNascita()); - soapModel.setComuneDomicilio(model.getComuneDomicilio()); - soapModel.setProvinciaDomicilio(model.getProvinciaDomicilio()); - soapModel.setViaDomicilio(model.getViaDomicilio()); - soapModel.setNumeroCivicoDomicilio(model.getNumeroCivicoDomicilio()); - soapModel.setCapDomicilio(model.getCapDomicilio()); - soapModel.setDomicilioExtra(model.getDomicilioExtra()); - soapModel.setComune(model.getComune()); - soapModel.setProvincia(model.getProvincia()); - soapModel.setVia(model.getVia()); - soapModel.setNumeroCivico(model.getNumeroCivico()); - soapModel.setCap(model.getCap()); - soapModel.setDenominazione(model.getDenominazione()); - soapModel.setSedeLegale(model.getSedeLegale()); - soapModel.setLegaleRap(model.getLegaleRap()); - soapModel.setDataNascitaRap(model.getDataNascitaRap()); - soapModel.setComuneNascitaRap(model.getComuneNascitaRap()); - soapModel.setViaRap(model.getViaRap()); - soapModel.setNumeroCivicoRap(model.getNumeroCivicoRap()); - soapModel.setCapRap(model.getCapRap()); - soapModel.setProvinciaRap(model.getProvinciaRap()); - soapModel.setComuneRap(model.getComuneRap()); - soapModel.setAlbo(model.getAlbo()); - soapModel.setRegAlbo(model.getRegAlbo()); - soapModel.setProvAlbo(model.getProvAlbo()); - soapModel.setNumIscrAlbo(model.getNumIscrAlbo()); - soapModel.setTelefono(model.getTelefono()); - soapModel.setFax(model.getFax()); - soapModel.setEmail(model.getEmail()); - soapModel.setTipologiaSoggetto(model.getTipologiaSoggetto()); - soapModel.setTipologiaProfessione(model.getTipologiaProfessione()); - soapModel.setAggiuntivo(model.getAggiuntivo()); - soapModel.setSostituito(model.getSostituito()); - - return soapModel; - } - - public static BoSoggettoSoap[] toSoapModels(BoSoggetto[] models) { - BoSoggettoSoap[] soapModels = new BoSoggettoSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static BoSoggettoSoap[][] toSoapModels(BoSoggetto[][] models) { - BoSoggettoSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new BoSoggettoSoap[models.length][models[0].length]; - } - else { - soapModels = new BoSoggettoSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static BoSoggettoSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (BoSoggetto model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new BoSoggettoSoap[soapModels.size()]); - } - - public BoSoggettoSoap() { - } - - public long getPrimaryKey() { - return _soggettoId; - } - - public void setPrimaryKey(long pk) { - setSoggettoId(pk); - } - - public String getUuid() { - return _uuid; - } - - public void setUuid(String uuid) { - _uuid = uuid; - } - - public long getSoggettoId() { - return _soggettoId; - } - - public void setSoggettoId(long soggettoId) { - _soggettoId = soggettoId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public long getDettPraticaId() { - return _dettPraticaId; - } - - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - } - - public String getNome() { - return _nome; - } - - public void setNome(String nome) { - _nome = nome; - } - - public String getCognome() { - return _cognome; - } - - public void setCognome(String cognome) { - _cognome = cognome; - } - - public String getCodiceFiscale() { - return _codiceFiscale; - } - - public void setCodiceFiscale(String codiceFiscale) { - _codiceFiscale = codiceFiscale; - } - - public String getCodiceFiscaleDelegato() { - return _codiceFiscaleDelegato; - } - - public void setCodiceFiscaleDelegato(String codiceFiscaleDelegato) { - _codiceFiscaleDelegato = codiceFiscaleDelegato; - } - - public Date getDataNascita() { - return _dataNascita; - } - - public void setDataNascita(Date dataNascita) { - _dataNascita = dataNascita; - } - - public String getComuneNascita() { - return _comuneNascita; - } - - public void setComuneNascita(String comuneNascita) { - _comuneNascita = comuneNascita; - } - - public String getComuneDomicilio() { - return _comuneDomicilio; - } - - public void setComuneDomicilio(String comuneDomicilio) { - _comuneDomicilio = comuneDomicilio; - } - - public String getProvinciaDomicilio() { - return _provinciaDomicilio; - } - - public void setProvinciaDomicilio(String provinciaDomicilio) { - _provinciaDomicilio = provinciaDomicilio; - } - - public String getViaDomicilio() { - return _viaDomicilio; - } - - public void setViaDomicilio(String viaDomicilio) { - _viaDomicilio = viaDomicilio; - } - - public String getNumeroCivicoDomicilio() { - return _numeroCivicoDomicilio; - } - - public void setNumeroCivicoDomicilio(String numeroCivicoDomicilio) { - _numeroCivicoDomicilio = numeroCivicoDomicilio; - } - - public String getCapDomicilio() { - return _capDomicilio; - } - - public void setCapDomicilio(String capDomicilio) { - _capDomicilio = capDomicilio; - } - - public String getDomicilioExtra() { - return _domicilioExtra; - } - - public void setDomicilioExtra(String domicilioExtra) { - _domicilioExtra = domicilioExtra; - } - - public String getComune() { - return _comune; - } - - public void setComune(String comune) { - _comune = comune; - } - - public String getProvincia() { - return _provincia; - } - - public void setProvincia(String provincia) { - _provincia = provincia; - } - - public String getVia() { - return _via; - } - - public void setVia(String via) { - _via = via; - } - - public String getNumeroCivico() { - return _numeroCivico; - } - - public void setNumeroCivico(String numeroCivico) { - _numeroCivico = numeroCivico; - } - - public String getCap() { - return _cap; - } - - public void setCap(String cap) { - _cap = cap; - } - - public String getDenominazione() { - return _denominazione; - } - - public void setDenominazione(String denominazione) { - _denominazione = denominazione; - } - - public String getSedeLegale() { - return _sedeLegale; - } - - public void setSedeLegale(String sedeLegale) { - _sedeLegale = sedeLegale; - } - - public String getLegaleRap() { - return _legaleRap; - } - - public void setLegaleRap(String legaleRap) { - _legaleRap = legaleRap; - } - - public Date getDataNascitaRap() { - return _dataNascitaRap; - } - - public void setDataNascitaRap(Date dataNascitaRap) { - _dataNascitaRap = dataNascitaRap; - } - - public String getComuneNascitaRap() { - return _comuneNascitaRap; - } - - public void setComuneNascitaRap(String comuneNascitaRap) { - _comuneNascitaRap = comuneNascitaRap; - } - - public String getViaRap() { - return _viaRap; - } - - public void setViaRap(String viaRap) { - _viaRap = viaRap; - } - - public String getNumeroCivicoRap() { - return _numeroCivicoRap; - } - - public void setNumeroCivicoRap(String numeroCivicoRap) { - _numeroCivicoRap = numeroCivicoRap; - } - - public String getCapRap() { - return _capRap; - } - - public void setCapRap(String capRap) { - _capRap = capRap; - } - - public String getProvinciaRap() { - return _provinciaRap; - } - - public void setProvinciaRap(String provinciaRap) { - _provinciaRap = provinciaRap; - } - - public String getComuneRap() { - return _comuneRap; - } - - public void setComuneRap(String comuneRap) { - _comuneRap = comuneRap; - } - - public String getAlbo() { - return _albo; - } - - public void setAlbo(String albo) { - _albo = albo; - } - - public String getRegAlbo() { - return _regAlbo; - } - - public void setRegAlbo(String regAlbo) { - _regAlbo = regAlbo; - } - - public String getProvAlbo() { - return _provAlbo; - } - - public void setProvAlbo(String provAlbo) { - _provAlbo = provAlbo; - } - - public String getNumIscrAlbo() { - return _numIscrAlbo; - } - - public void setNumIscrAlbo(String numIscrAlbo) { - _numIscrAlbo = numIscrAlbo; - } - - public String getTelefono() { - return _telefono; - } - - public void setTelefono(String telefono) { - _telefono = telefono; - } - - public String getFax() { - return _fax; - } - - public void setFax(String fax) { - _fax = fax; - } - - public String getEmail() { - return _email; - } - - public void setEmail(String email) { - _email = email; - } - - public String getTipologiaSoggetto() { - return _tipologiaSoggetto; - } - - public void setTipologiaSoggetto(String tipologiaSoggetto) { - _tipologiaSoggetto = tipologiaSoggetto; - } - - public String getTipologiaProfessione() { - return _tipologiaProfessione; - } - - public void setTipologiaProfessione(String tipologiaProfessione) { - _tipologiaProfessione = tipologiaProfessione; - } - - public boolean getAggiuntivo() { - return _aggiuntivo; - } - - public boolean isAggiuntivo() { - return _aggiuntivo; - } - - public void setAggiuntivo(boolean aggiuntivo) { - _aggiuntivo = aggiuntivo; - } - - public boolean getSostituito() { - return _sostituito; - } - - public boolean isSostituito() { - return _sostituito; - } - - public void setSostituito(boolean sostituito) { - _sostituito = sostituito; - } - - private String _uuid; - private long _soggettoId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _dettPraticaId; - private String _nome; - private String _cognome; - private String _codiceFiscale; - private String _codiceFiscaleDelegato; - private Date _dataNascita; - private String _comuneNascita; - private String _comuneDomicilio; - private String _provinciaDomicilio; - private String _viaDomicilio; - private String _numeroCivicoDomicilio; - private String _capDomicilio; - private String _domicilioExtra; - private String _comune; - private String _provincia; - private String _via; - private String _numeroCivico; - private String _cap; - private String _denominazione; - private String _sedeLegale; - private String _legaleRap; - private Date _dataNascitaRap; - private String _comuneNascitaRap; - private String _viaRap; - private String _numeroCivicoRap; - private String _capRap; - private String _provinciaRap; - private String _comuneRap; - private String _albo; - private String _regAlbo; - private String _provAlbo; - private String _numIscrAlbo; - private String _telefono; - private String _fax; - private String _email; - private String _tipologiaSoggetto; - private String _tipologiaProfessione; - private boolean _aggiuntivo; - private boolean _sostituito; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSoggettoWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSoggettoWrapper.java deleted file mode 100644 index 5088405d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSoggettoWrapper.java +++ /dev/null @@ -1,1541 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link BoSoggetto}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoSoggetto - * @generated - */ -public class BoSoggettoWrapper implements BoSoggetto, ModelWrapper { - public BoSoggettoWrapper(BoSoggetto boSoggetto) { - _boSoggetto = boSoggetto; - } - - @Override - public Class getModelClass() { - return BoSoggetto.class; - } - - @Override - public String getModelClassName() { - return BoSoggetto.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("soggettoId", getSoggettoId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("nome", getNome()); - attributes.put("cognome", getCognome()); - attributes.put("codiceFiscale", getCodiceFiscale()); - attributes.put("codiceFiscaleDelegato", getCodiceFiscaleDelegato()); - attributes.put("dataNascita", getDataNascita()); - attributes.put("comuneNascita", getComuneNascita()); - attributes.put("comuneDomicilio", getComuneDomicilio()); - attributes.put("provinciaDomicilio", getProvinciaDomicilio()); - attributes.put("viaDomicilio", getViaDomicilio()); - attributes.put("numeroCivicoDomicilio", getNumeroCivicoDomicilio()); - attributes.put("capDomicilio", getCapDomicilio()); - attributes.put("domicilioExtra", getDomicilioExtra()); - attributes.put("comune", getComune()); - attributes.put("provincia", getProvincia()); - attributes.put("via", getVia()); - attributes.put("numeroCivico", getNumeroCivico()); - attributes.put("cap", getCap()); - attributes.put("denominazione", getDenominazione()); - attributes.put("sedeLegale", getSedeLegale()); - attributes.put("legaleRap", getLegaleRap()); - attributes.put("dataNascitaRap", getDataNascitaRap()); - attributes.put("comuneNascitaRap", getComuneNascitaRap()); - attributes.put("viaRap", getViaRap()); - attributes.put("numeroCivicoRap", getNumeroCivicoRap()); - attributes.put("capRap", getCapRap()); - attributes.put("provinciaRap", getProvinciaRap()); - attributes.put("comuneRap", getComuneRap()); - attributes.put("albo", getAlbo()); - attributes.put("regAlbo", getRegAlbo()); - attributes.put("provAlbo", getProvAlbo()); - attributes.put("numIscrAlbo", getNumIscrAlbo()); - attributes.put("telefono", getTelefono()); - attributes.put("fax", getFax()); - attributes.put("email", getEmail()); - attributes.put("tipologiaSoggetto", getTipologiaSoggetto()); - attributes.put("tipologiaProfessione", getTipologiaProfessione()); - attributes.put("aggiuntivo", getAggiuntivo()); - attributes.put("sostituito", getSostituito()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long soggettoId = (Long)attributes.get("soggettoId"); - - if (soggettoId != null) { - setSoggettoId(soggettoId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - String nome = (String)attributes.get("nome"); - - if (nome != null) { - setNome(nome); - } - - String cognome = (String)attributes.get("cognome"); - - if (cognome != null) { - setCognome(cognome); - } - - String codiceFiscale = (String)attributes.get("codiceFiscale"); - - if (codiceFiscale != null) { - setCodiceFiscale(codiceFiscale); - } - - String codiceFiscaleDelegato = (String)attributes.get( - "codiceFiscaleDelegato"); - - if (codiceFiscaleDelegato != null) { - setCodiceFiscaleDelegato(codiceFiscaleDelegato); - } - - Date dataNascita = (Date)attributes.get("dataNascita"); - - if (dataNascita != null) { - setDataNascita(dataNascita); - } - - String comuneNascita = (String)attributes.get("comuneNascita"); - - if (comuneNascita != null) { - setComuneNascita(comuneNascita); - } - - String comuneDomicilio = (String)attributes.get("comuneDomicilio"); - - if (comuneDomicilio != null) { - setComuneDomicilio(comuneDomicilio); - } - - String provinciaDomicilio = (String)attributes.get("provinciaDomicilio"); - - if (provinciaDomicilio != null) { - setProvinciaDomicilio(provinciaDomicilio); - } - - String viaDomicilio = (String)attributes.get("viaDomicilio"); - - if (viaDomicilio != null) { - setViaDomicilio(viaDomicilio); - } - - String numeroCivicoDomicilio = (String)attributes.get( - "numeroCivicoDomicilio"); - - if (numeroCivicoDomicilio != null) { - setNumeroCivicoDomicilio(numeroCivicoDomicilio); - } - - String capDomicilio = (String)attributes.get("capDomicilio"); - - if (capDomicilio != null) { - setCapDomicilio(capDomicilio); - } - - String domicilioExtra = (String)attributes.get("domicilioExtra"); - - if (domicilioExtra != null) { - setDomicilioExtra(domicilioExtra); - } - - String comune = (String)attributes.get("comune"); - - if (comune != null) { - setComune(comune); - } - - String provincia = (String)attributes.get("provincia"); - - if (provincia != null) { - setProvincia(provincia); - } - - String via = (String)attributes.get("via"); - - if (via != null) { - setVia(via); - } - - String numeroCivico = (String)attributes.get("numeroCivico"); - - if (numeroCivico != null) { - setNumeroCivico(numeroCivico); - } - - String cap = (String)attributes.get("cap"); - - if (cap != null) { - setCap(cap); - } - - String denominazione = (String)attributes.get("denominazione"); - - if (denominazione != null) { - setDenominazione(denominazione); - } - - String sedeLegale = (String)attributes.get("sedeLegale"); - - if (sedeLegale != null) { - setSedeLegale(sedeLegale); - } - - String legaleRap = (String)attributes.get("legaleRap"); - - if (legaleRap != null) { - setLegaleRap(legaleRap); - } - - Date dataNascitaRap = (Date)attributes.get("dataNascitaRap"); - - if (dataNascitaRap != null) { - setDataNascitaRap(dataNascitaRap); - } - - String comuneNascitaRap = (String)attributes.get("comuneNascitaRap"); - - if (comuneNascitaRap != null) { - setComuneNascitaRap(comuneNascitaRap); - } - - String viaRap = (String)attributes.get("viaRap"); - - if (viaRap != null) { - setViaRap(viaRap); - } - - String numeroCivicoRap = (String)attributes.get("numeroCivicoRap"); - - if (numeroCivicoRap != null) { - setNumeroCivicoRap(numeroCivicoRap); - } - - String capRap = (String)attributes.get("capRap"); - - if (capRap != null) { - setCapRap(capRap); - } - - String provinciaRap = (String)attributes.get("provinciaRap"); - - if (provinciaRap != null) { - setProvinciaRap(provinciaRap); - } - - String comuneRap = (String)attributes.get("comuneRap"); - - if (comuneRap != null) { - setComuneRap(comuneRap); - } - - String albo = (String)attributes.get("albo"); - - if (albo != null) { - setAlbo(albo); - } - - String regAlbo = (String)attributes.get("regAlbo"); - - if (regAlbo != null) { - setRegAlbo(regAlbo); - } - - String provAlbo = (String)attributes.get("provAlbo"); - - if (provAlbo != null) { - setProvAlbo(provAlbo); - } - - String numIscrAlbo = (String)attributes.get("numIscrAlbo"); - - if (numIscrAlbo != null) { - setNumIscrAlbo(numIscrAlbo); - } - - String telefono = (String)attributes.get("telefono"); - - if (telefono != null) { - setTelefono(telefono); - } - - String fax = (String)attributes.get("fax"); - - if (fax != null) { - setFax(fax); - } - - String email = (String)attributes.get("email"); - - if (email != null) { - setEmail(email); - } - - String tipologiaSoggetto = (String)attributes.get("tipologiaSoggetto"); - - if (tipologiaSoggetto != null) { - setTipologiaSoggetto(tipologiaSoggetto); - } - - String tipologiaProfessione = (String)attributes.get( - "tipologiaProfessione"); - - if (tipologiaProfessione != null) { - setTipologiaProfessione(tipologiaProfessione); - } - - Boolean aggiuntivo = (Boolean)attributes.get("aggiuntivo"); - - if (aggiuntivo != null) { - setAggiuntivo(aggiuntivo); - } - - Boolean sostituito = (Boolean)attributes.get("sostituito"); - - if (sostituito != null) { - setSostituito(sostituito); - } - } - - /** - * Returns the primary key of this bo soggetto. - * - * @return the primary key of this bo soggetto - */ - @Override - public long getPrimaryKey() { - return _boSoggetto.getPrimaryKey(); - } - - /** - * Sets the primary key of this bo soggetto. - * - * @param primaryKey the primary key of this bo soggetto - */ - @Override - public void setPrimaryKey(long primaryKey) { - _boSoggetto.setPrimaryKey(primaryKey); - } - - /** - * Returns the uuid of this bo soggetto. - * - * @return the uuid of this bo soggetto - */ - @Override - public java.lang.String getUuid() { - return _boSoggetto.getUuid(); - } - - /** - * Sets the uuid of this bo soggetto. - * - * @param uuid the uuid of this bo soggetto - */ - @Override - public void setUuid(java.lang.String uuid) { - _boSoggetto.setUuid(uuid); - } - - /** - * Returns the soggetto ID of this bo soggetto. - * - * @return the soggetto ID of this bo soggetto - */ - @Override - public long getSoggettoId() { - return _boSoggetto.getSoggettoId(); - } - - /** - * Sets the soggetto ID of this bo soggetto. - * - * @param soggettoId the soggetto ID of this bo soggetto - */ - @Override - public void setSoggettoId(long soggettoId) { - _boSoggetto.setSoggettoId(soggettoId); - } - - /** - * Returns the company ID of this bo soggetto. - * - * @return the company ID of this bo soggetto - */ - @Override - public long getCompanyId() { - return _boSoggetto.getCompanyId(); - } - - /** - * Sets the company ID of this bo soggetto. - * - * @param companyId the company ID of this bo soggetto - */ - @Override - public void setCompanyId(long companyId) { - _boSoggetto.setCompanyId(companyId); - } - - /** - * Returns the user ID of this bo soggetto. - * - * @return the user ID of this bo soggetto - */ - @Override - public long getUserId() { - return _boSoggetto.getUserId(); - } - - /** - * Sets the user ID of this bo soggetto. - * - * @param userId the user ID of this bo soggetto - */ - @Override - public void setUserId(long userId) { - _boSoggetto.setUserId(userId); - } - - /** - * Returns the user uuid of this bo soggetto. - * - * @return the user uuid of this bo soggetto - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _boSoggetto.getUserUuid(); - } - - /** - * Sets the user uuid of this bo soggetto. - * - * @param userUuid the user uuid of this bo soggetto - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _boSoggetto.setUserUuid(userUuid); - } - - /** - * Returns the user name of this bo soggetto. - * - * @return the user name of this bo soggetto - */ - @Override - public java.lang.String getUserName() { - return _boSoggetto.getUserName(); - } - - /** - * Sets the user name of this bo soggetto. - * - * @param userName the user name of this bo soggetto - */ - @Override - public void setUserName(java.lang.String userName) { - _boSoggetto.setUserName(userName); - } - - /** - * Returns the create date of this bo soggetto. - * - * @return the create date of this bo soggetto - */ - @Override - public java.util.Date getCreateDate() { - return _boSoggetto.getCreateDate(); - } - - /** - * Sets the create date of this bo soggetto. - * - * @param createDate the create date of this bo soggetto - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _boSoggetto.setCreateDate(createDate); - } - - /** - * Returns the modified date of this bo soggetto. - * - * @return the modified date of this bo soggetto - */ - @Override - public java.util.Date getModifiedDate() { - return _boSoggetto.getModifiedDate(); - } - - /** - * Sets the modified date of this bo soggetto. - * - * @param modifiedDate the modified date of this bo soggetto - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _boSoggetto.setModifiedDate(modifiedDate); - } - - /** - * Returns the group ID of this bo soggetto. - * - * @return the group ID of this bo soggetto - */ - @Override - public long getGroupId() { - return _boSoggetto.getGroupId(); - } - - /** - * Sets the group ID of this bo soggetto. - * - * @param groupId the group ID of this bo soggetto - */ - @Override - public void setGroupId(long groupId) { - _boSoggetto.setGroupId(groupId); - } - - /** - * Returns the dett pratica ID of this bo soggetto. - * - * @return the dett pratica ID of this bo soggetto - */ - @Override - public long getDettPraticaId() { - return _boSoggetto.getDettPraticaId(); - } - - /** - * Sets the dett pratica ID of this bo soggetto. - * - * @param dettPraticaId the dett pratica ID of this bo soggetto - */ - @Override - public void setDettPraticaId(long dettPraticaId) { - _boSoggetto.setDettPraticaId(dettPraticaId); - } - - /** - * Returns the nome of this bo soggetto. - * - * @return the nome of this bo soggetto - */ - @Override - public java.lang.String getNome() { - return _boSoggetto.getNome(); - } - - /** - * Sets the nome of this bo soggetto. - * - * @param nome the nome of this bo soggetto - */ - @Override - public void setNome(java.lang.String nome) { - _boSoggetto.setNome(nome); - } - - /** - * Returns the cognome of this bo soggetto. - * - * @return the cognome of this bo soggetto - */ - @Override - public java.lang.String getCognome() { - return _boSoggetto.getCognome(); - } - - /** - * Sets the cognome of this bo soggetto. - * - * @param cognome the cognome of this bo soggetto - */ - @Override - public void setCognome(java.lang.String cognome) { - _boSoggetto.setCognome(cognome); - } - - /** - * Returns the codice fiscale of this bo soggetto. - * - * @return the codice fiscale of this bo soggetto - */ - @Override - public java.lang.String getCodiceFiscale() { - return _boSoggetto.getCodiceFiscale(); - } - - /** - * Sets the codice fiscale of this bo soggetto. - * - * @param codiceFiscale the codice fiscale of this bo soggetto - */ - @Override - public void setCodiceFiscale(java.lang.String codiceFiscale) { - _boSoggetto.setCodiceFiscale(codiceFiscale); - } - - /** - * Returns the codice fiscale delegato of this bo soggetto. - * - * @return the codice fiscale delegato of this bo soggetto - */ - @Override - public java.lang.String getCodiceFiscaleDelegato() { - return _boSoggetto.getCodiceFiscaleDelegato(); - } - - /** - * Sets the codice fiscale delegato of this bo soggetto. - * - * @param codiceFiscaleDelegato the codice fiscale delegato of this bo soggetto - */ - @Override - public void setCodiceFiscaleDelegato(java.lang.String codiceFiscaleDelegato) { - _boSoggetto.setCodiceFiscaleDelegato(codiceFiscaleDelegato); - } - - /** - * Returns the data nascita of this bo soggetto. - * - * @return the data nascita of this bo soggetto - */ - @Override - public java.util.Date getDataNascita() { - return _boSoggetto.getDataNascita(); - } - - /** - * Sets the data nascita of this bo soggetto. - * - * @param dataNascita the data nascita of this bo soggetto - */ - @Override - public void setDataNascita(java.util.Date dataNascita) { - _boSoggetto.setDataNascita(dataNascita); - } - - /** - * Returns the comune nascita of this bo soggetto. - * - * @return the comune nascita of this bo soggetto - */ - @Override - public java.lang.String getComuneNascita() { - return _boSoggetto.getComuneNascita(); - } - - /** - * Sets the comune nascita of this bo soggetto. - * - * @param comuneNascita the comune nascita of this bo soggetto - */ - @Override - public void setComuneNascita(java.lang.String comuneNascita) { - _boSoggetto.setComuneNascita(comuneNascita); - } - - /** - * Returns the comune domicilio of this bo soggetto. - * - * @return the comune domicilio of this bo soggetto - */ - @Override - public java.lang.String getComuneDomicilio() { - return _boSoggetto.getComuneDomicilio(); - } - - /** - * Sets the comune domicilio of this bo soggetto. - * - * @param comuneDomicilio the comune domicilio of this bo soggetto - */ - @Override - public void setComuneDomicilio(java.lang.String comuneDomicilio) { - _boSoggetto.setComuneDomicilio(comuneDomicilio); - } - - /** - * Returns the provincia domicilio of this bo soggetto. - * - * @return the provincia domicilio of this bo soggetto - */ - @Override - public java.lang.String getProvinciaDomicilio() { - return _boSoggetto.getProvinciaDomicilio(); - } - - /** - * Sets the provincia domicilio of this bo soggetto. - * - * @param provinciaDomicilio the provincia domicilio of this bo soggetto - */ - @Override - public void setProvinciaDomicilio(java.lang.String provinciaDomicilio) { - _boSoggetto.setProvinciaDomicilio(provinciaDomicilio); - } - - /** - * Returns the via domicilio of this bo soggetto. - * - * @return the via domicilio of this bo soggetto - */ - @Override - public java.lang.String getViaDomicilio() { - return _boSoggetto.getViaDomicilio(); - } - - /** - * Sets the via domicilio of this bo soggetto. - * - * @param viaDomicilio the via domicilio of this bo soggetto - */ - @Override - public void setViaDomicilio(java.lang.String viaDomicilio) { - _boSoggetto.setViaDomicilio(viaDomicilio); - } - - /** - * Returns the numero civico domicilio of this bo soggetto. - * - * @return the numero civico domicilio of this bo soggetto - */ - @Override - public java.lang.String getNumeroCivicoDomicilio() { - return _boSoggetto.getNumeroCivicoDomicilio(); - } - - /** - * Sets the numero civico domicilio of this bo soggetto. - * - * @param numeroCivicoDomicilio the numero civico domicilio of this bo soggetto - */ - @Override - public void setNumeroCivicoDomicilio(java.lang.String numeroCivicoDomicilio) { - _boSoggetto.setNumeroCivicoDomicilio(numeroCivicoDomicilio); - } - - /** - * Returns the cap domicilio of this bo soggetto. - * - * @return the cap domicilio of this bo soggetto - */ - @Override - public java.lang.String getCapDomicilio() { - return _boSoggetto.getCapDomicilio(); - } - - /** - * Sets the cap domicilio of this bo soggetto. - * - * @param capDomicilio the cap domicilio of this bo soggetto - */ - @Override - public void setCapDomicilio(java.lang.String capDomicilio) { - _boSoggetto.setCapDomicilio(capDomicilio); - } - - /** - * Returns the domicilio extra of this bo soggetto. - * - * @return the domicilio extra of this bo soggetto - */ - @Override - public java.lang.String getDomicilioExtra() { - return _boSoggetto.getDomicilioExtra(); - } - - /** - * Sets the domicilio extra of this bo soggetto. - * - * @param domicilioExtra the domicilio extra of this bo soggetto - */ - @Override - public void setDomicilioExtra(java.lang.String domicilioExtra) { - _boSoggetto.setDomicilioExtra(domicilioExtra); - } - - /** - * Returns the comune of this bo soggetto. - * - * @return the comune of this bo soggetto - */ - @Override - public java.lang.String getComune() { - return _boSoggetto.getComune(); - } - - /** - * Sets the comune of this bo soggetto. - * - * @param comune the comune of this bo soggetto - */ - @Override - public void setComune(java.lang.String comune) { - _boSoggetto.setComune(comune); - } - - /** - * Returns the provincia of this bo soggetto. - * - * @return the provincia of this bo soggetto - */ - @Override - public java.lang.String getProvincia() { - return _boSoggetto.getProvincia(); - } - - /** - * Sets the provincia of this bo soggetto. - * - * @param provincia the provincia of this bo soggetto - */ - @Override - public void setProvincia(java.lang.String provincia) { - _boSoggetto.setProvincia(provincia); - } - - /** - * Returns the via of this bo soggetto. - * - * @return the via of this bo soggetto - */ - @Override - public java.lang.String getVia() { - return _boSoggetto.getVia(); - } - - /** - * Sets the via of this bo soggetto. - * - * @param via the via of this bo soggetto - */ - @Override - public void setVia(java.lang.String via) { - _boSoggetto.setVia(via); - } - - /** - * Returns the numero civico of this bo soggetto. - * - * @return the numero civico of this bo soggetto - */ - @Override - public java.lang.String getNumeroCivico() { - return _boSoggetto.getNumeroCivico(); - } - - /** - * Sets the numero civico of this bo soggetto. - * - * @param numeroCivico the numero civico of this bo soggetto - */ - @Override - public void setNumeroCivico(java.lang.String numeroCivico) { - _boSoggetto.setNumeroCivico(numeroCivico); - } - - /** - * Returns the cap of this bo soggetto. - * - * @return the cap of this bo soggetto - */ - @Override - public java.lang.String getCap() { - return _boSoggetto.getCap(); - } - - /** - * Sets the cap of this bo soggetto. - * - * @param cap the cap of this bo soggetto - */ - @Override - public void setCap(java.lang.String cap) { - _boSoggetto.setCap(cap); - } - - /** - * Returns the denominazione of this bo soggetto. - * - * @return the denominazione of this bo soggetto - */ - @Override - public java.lang.String getDenominazione() { - return _boSoggetto.getDenominazione(); - } - - /** - * Sets the denominazione of this bo soggetto. - * - * @param denominazione the denominazione of this bo soggetto - */ - @Override - public void setDenominazione(java.lang.String denominazione) { - _boSoggetto.setDenominazione(denominazione); - } - - /** - * Returns the sede legale of this bo soggetto. - * - * @return the sede legale of this bo soggetto - */ - @Override - public java.lang.String getSedeLegale() { - return _boSoggetto.getSedeLegale(); - } - - /** - * Sets the sede legale of this bo soggetto. - * - * @param sedeLegale the sede legale of this bo soggetto - */ - @Override - public void setSedeLegale(java.lang.String sedeLegale) { - _boSoggetto.setSedeLegale(sedeLegale); - } - - /** - * Returns the legale rap of this bo soggetto. - * - * @return the legale rap of this bo soggetto - */ - @Override - public java.lang.String getLegaleRap() { - return _boSoggetto.getLegaleRap(); - } - - /** - * Sets the legale rap of this bo soggetto. - * - * @param legaleRap the legale rap of this bo soggetto - */ - @Override - public void setLegaleRap(java.lang.String legaleRap) { - _boSoggetto.setLegaleRap(legaleRap); - } - - /** - * Returns the data nascita rap of this bo soggetto. - * - * @return the data nascita rap of this bo soggetto - */ - @Override - public java.util.Date getDataNascitaRap() { - return _boSoggetto.getDataNascitaRap(); - } - - /** - * Sets the data nascita rap of this bo soggetto. - * - * @param dataNascitaRap the data nascita rap of this bo soggetto - */ - @Override - public void setDataNascitaRap(java.util.Date dataNascitaRap) { - _boSoggetto.setDataNascitaRap(dataNascitaRap); - } - - /** - * Returns the comune nascita rap of this bo soggetto. - * - * @return the comune nascita rap of this bo soggetto - */ - @Override - public java.lang.String getComuneNascitaRap() { - return _boSoggetto.getComuneNascitaRap(); - } - - /** - * Sets the comune nascita rap of this bo soggetto. - * - * @param comuneNascitaRap the comune nascita rap of this bo soggetto - */ - @Override - public void setComuneNascitaRap(java.lang.String comuneNascitaRap) { - _boSoggetto.setComuneNascitaRap(comuneNascitaRap); - } - - /** - * Returns the via rap of this bo soggetto. - * - * @return the via rap of this bo soggetto - */ - @Override - public java.lang.String getViaRap() { - return _boSoggetto.getViaRap(); - } - - /** - * Sets the via rap of this bo soggetto. - * - * @param viaRap the via rap of this bo soggetto - */ - @Override - public void setViaRap(java.lang.String viaRap) { - _boSoggetto.setViaRap(viaRap); - } - - /** - * Returns the numero civico rap of this bo soggetto. - * - * @return the numero civico rap of this bo soggetto - */ - @Override - public java.lang.String getNumeroCivicoRap() { - return _boSoggetto.getNumeroCivicoRap(); - } - - /** - * Sets the numero civico rap of this bo soggetto. - * - * @param numeroCivicoRap the numero civico rap of this bo soggetto - */ - @Override - public void setNumeroCivicoRap(java.lang.String numeroCivicoRap) { - _boSoggetto.setNumeroCivicoRap(numeroCivicoRap); - } - - /** - * Returns the cap rap of this bo soggetto. - * - * @return the cap rap of this bo soggetto - */ - @Override - public java.lang.String getCapRap() { - return _boSoggetto.getCapRap(); - } - - /** - * Sets the cap rap of this bo soggetto. - * - * @param capRap the cap rap of this bo soggetto - */ - @Override - public void setCapRap(java.lang.String capRap) { - _boSoggetto.setCapRap(capRap); - } - - /** - * Returns the provincia rap of this bo soggetto. - * - * @return the provincia rap of this bo soggetto - */ - @Override - public java.lang.String getProvinciaRap() { - return _boSoggetto.getProvinciaRap(); - } - - /** - * Sets the provincia rap of this bo soggetto. - * - * @param provinciaRap the provincia rap of this bo soggetto - */ - @Override - public void setProvinciaRap(java.lang.String provinciaRap) { - _boSoggetto.setProvinciaRap(provinciaRap); - } - - /** - * Returns the comune rap of this bo soggetto. - * - * @return the comune rap of this bo soggetto - */ - @Override - public java.lang.String getComuneRap() { - return _boSoggetto.getComuneRap(); - } - - /** - * Sets the comune rap of this bo soggetto. - * - * @param comuneRap the comune rap of this bo soggetto - */ - @Override - public void setComuneRap(java.lang.String comuneRap) { - _boSoggetto.setComuneRap(comuneRap); - } - - /** - * Returns the albo of this bo soggetto. - * - * @return the albo of this bo soggetto - */ - @Override - public java.lang.String getAlbo() { - return _boSoggetto.getAlbo(); - } - - /** - * Sets the albo of this bo soggetto. - * - * @param albo the albo of this bo soggetto - */ - @Override - public void setAlbo(java.lang.String albo) { - _boSoggetto.setAlbo(albo); - } - - /** - * Returns the reg albo of this bo soggetto. - * - * @return the reg albo of this bo soggetto - */ - @Override - public java.lang.String getRegAlbo() { - return _boSoggetto.getRegAlbo(); - } - - /** - * Sets the reg albo of this bo soggetto. - * - * @param regAlbo the reg albo of this bo soggetto - */ - @Override - public void setRegAlbo(java.lang.String regAlbo) { - _boSoggetto.setRegAlbo(regAlbo); - } - - /** - * Returns the prov albo of this bo soggetto. - * - * @return the prov albo of this bo soggetto - */ - @Override - public java.lang.String getProvAlbo() { - return _boSoggetto.getProvAlbo(); - } - - /** - * Sets the prov albo of this bo soggetto. - * - * @param provAlbo the prov albo of this bo soggetto - */ - @Override - public void setProvAlbo(java.lang.String provAlbo) { - _boSoggetto.setProvAlbo(provAlbo); - } - - /** - * Returns the num iscr albo of this bo soggetto. - * - * @return the num iscr albo of this bo soggetto - */ - @Override - public java.lang.String getNumIscrAlbo() { - return _boSoggetto.getNumIscrAlbo(); - } - - /** - * Sets the num iscr albo of this bo soggetto. - * - * @param numIscrAlbo the num iscr albo of this bo soggetto - */ - @Override - public void setNumIscrAlbo(java.lang.String numIscrAlbo) { - _boSoggetto.setNumIscrAlbo(numIscrAlbo); - } - - /** - * Returns the telefono of this bo soggetto. - * - * @return the telefono of this bo soggetto - */ - @Override - public java.lang.String getTelefono() { - return _boSoggetto.getTelefono(); - } - - /** - * Sets the telefono of this bo soggetto. - * - * @param telefono the telefono of this bo soggetto - */ - @Override - public void setTelefono(java.lang.String telefono) { - _boSoggetto.setTelefono(telefono); - } - - /** - * Returns the fax of this bo soggetto. - * - * @return the fax of this bo soggetto - */ - @Override - public java.lang.String getFax() { - return _boSoggetto.getFax(); - } - - /** - * Sets the fax of this bo soggetto. - * - * @param fax the fax of this bo soggetto - */ - @Override - public void setFax(java.lang.String fax) { - _boSoggetto.setFax(fax); - } - - /** - * Returns the email of this bo soggetto. - * - * @return the email of this bo soggetto - */ - @Override - public java.lang.String getEmail() { - return _boSoggetto.getEmail(); - } - - /** - * Sets the email of this bo soggetto. - * - * @param email the email of this bo soggetto - */ - @Override - public void setEmail(java.lang.String email) { - _boSoggetto.setEmail(email); - } - - /** - * Returns the tipologia soggetto of this bo soggetto. - * - * @return the tipologia soggetto of this bo soggetto - */ - @Override - public java.lang.String getTipologiaSoggetto() { - return _boSoggetto.getTipologiaSoggetto(); - } - - /** - * Sets the tipologia soggetto of this bo soggetto. - * - * @param tipologiaSoggetto the tipologia soggetto of this bo soggetto - */ - @Override - public void setTipologiaSoggetto(java.lang.String tipologiaSoggetto) { - _boSoggetto.setTipologiaSoggetto(tipologiaSoggetto); - } - - /** - * Returns the tipologia professione of this bo soggetto. - * - * @return the tipologia professione of this bo soggetto - */ - @Override - public java.lang.String getTipologiaProfessione() { - return _boSoggetto.getTipologiaProfessione(); - } - - /** - * Sets the tipologia professione of this bo soggetto. - * - * @param tipologiaProfessione the tipologia professione of this bo soggetto - */ - @Override - public void setTipologiaProfessione(java.lang.String tipologiaProfessione) { - _boSoggetto.setTipologiaProfessione(tipologiaProfessione); - } - - /** - * Returns the aggiuntivo of this bo soggetto. - * - * @return the aggiuntivo of this bo soggetto - */ - @Override - public boolean getAggiuntivo() { - return _boSoggetto.getAggiuntivo(); - } - - /** - * Returns true if this bo soggetto is aggiuntivo. - * - * @return true if this bo soggetto is aggiuntivo; false otherwise - */ - @Override - public boolean isAggiuntivo() { - return _boSoggetto.isAggiuntivo(); - } - - /** - * Sets whether this bo soggetto is aggiuntivo. - * - * @param aggiuntivo the aggiuntivo of this bo soggetto - */ - @Override - public void setAggiuntivo(boolean aggiuntivo) { - _boSoggetto.setAggiuntivo(aggiuntivo); - } - - /** - * Returns the sostituito of this bo soggetto. - * - * @return the sostituito of this bo soggetto - */ - @Override - public boolean getSostituito() { - return _boSoggetto.getSostituito(); - } - - /** - * Returns true if this bo soggetto is sostituito. - * - * @return true if this bo soggetto is sostituito; false otherwise - */ - @Override - public boolean isSostituito() { - return _boSoggetto.isSostituito(); - } - - /** - * Sets whether this bo soggetto is sostituito. - * - * @param sostituito the sostituito of this bo soggetto - */ - @Override - public void setSostituito(boolean sostituito) { - _boSoggetto.setSostituito(sostituito); - } - - @Override - public boolean isNew() { - return _boSoggetto.isNew(); - } - - @Override - public void setNew(boolean n) { - _boSoggetto.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _boSoggetto.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _boSoggetto.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _boSoggetto.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _boSoggetto.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _boSoggetto.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _boSoggetto.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _boSoggetto.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _boSoggetto.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _boSoggetto.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new BoSoggettoWrapper((BoSoggetto)_boSoggetto.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.BoSoggetto boSoggetto) { - return _boSoggetto.compareTo(boSoggetto); - } - - @Override - public int hashCode() { - return _boSoggetto.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _boSoggetto.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSoggetto toEscapedModel() { - return new BoSoggettoWrapper(_boSoggetto.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSoggetto toUnescapedModel() { - return new BoSoggettoWrapper(_boSoggetto.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _boSoggetto.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _boSoggetto.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _boSoggetto.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoSoggettoWrapper)) { - return false; - } - - BoSoggettoWrapper boSoggettoWrapper = (BoSoggettoWrapper)obj; - - if (Validator.equals(_boSoggetto, boSoggettoWrapper._boSoggetto)) { - return true; - } - - return false; - } - - @Override - public StagedModelType getStagedModelType() { - return _boSoggetto.getStagedModelType(); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public BoSoggetto getWrappedBoSoggetto() { - return _boSoggetto; - } - - @Override - public BoSoggetto getWrappedModel() { - return _boSoggetto; - } - - @Override - public void resetOriginalValues() { - _boSoggetto.resetOriginalValues(); - } - - private BoSoggetto _boSoggetto; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSorteggio.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSorteggio.java deleted file mode 100644 index 8fdd1a63..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSorteggio.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the BoSorteggio service. Represents a row in the "gc_sorteggio" database table, with each column mapped to a property of this class. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoSorteggioModel - * @see it.tref.liferay.portos.portosimport.model.impl.BoSorteggioImpl - * @see it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl - * @generated - */ -public interface BoSorteggio extends BoSorteggioModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSorteggioClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSorteggioClp.java deleted file mode 100644 index 6bf7b762..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSorteggioClp.java +++ /dev/null @@ -1,1421 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.workflow.WorkflowConstants; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.portosimport.service.BoSorteggioLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.ClpSerializer; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class BoSorteggioClp extends BaseModelImpl - implements BoSorteggio { - public BoSorteggioClp() { - } - - @Override - public Class getModelClass() { - return BoSorteggio.class; - } - - @Override - public String getModelClassName() { - return BoSorteggio.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _sorteggioId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setSorteggioId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _sorteggioId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("sorteggioId", getSorteggioId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("status", getStatus()); - attributes.put("statusByUserId", getStatusByUserId()); - attributes.put("statusByUserName", getStatusByUserName()); - attributes.put("statusDate", getStatusDate()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("note", getNote()); - attributes.put("anno", getAnno()); - attributes.put("mese", getMese()); - attributes.put("dtSorteggio", getDtSorteggio()); - attributes.put("stato", getStato()); - attributes.put("dettagli", getDettagli()); - attributes.put("numeroEstrazione", getNumeroEstrazione()); - attributes.put("pratica", getPratica()); - attributes.put("committente", getCommittente()); - attributes.put("comune", getComune()); - attributes.put("provincia", getProvincia()); - attributes.put("tecnico", getTecnico()); - attributes.put("mesePrecedente", getMesePrecedente()); - attributes.put("esterna", getEsterna()); - attributes.put("praticaEsternaId", getPraticaEsternaId()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long sorteggioId = (Long)attributes.get("sorteggioId"); - - if (sorteggioId != null) { - setSorteggioId(sorteggioId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Integer status = (Integer)attributes.get("status"); - - if (status != null) { - setStatus(status); - } - - Long statusByUserId = (Long)attributes.get("statusByUserId"); - - if (statusByUserId != null) { - setStatusByUserId(statusByUserId); - } - - String statusByUserName = (String)attributes.get("statusByUserName"); - - if (statusByUserName != null) { - setStatusByUserName(statusByUserName); - } - - Date statusDate = (Date)attributes.get("statusDate"); - - if (statusDate != null) { - setStatusDate(statusDate); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - String note = (String)attributes.get("note"); - - if (note != null) { - setNote(note); - } - - String anno = (String)attributes.get("anno"); - - if (anno != null) { - setAnno(anno); - } - - String mese = (String)attributes.get("mese"); - - if (mese != null) { - setMese(mese); - } - - Date dtSorteggio = (Date)attributes.get("dtSorteggio"); - - if (dtSorteggio != null) { - setDtSorteggio(dtSorteggio); - } - - String stato = (String)attributes.get("stato"); - - if (stato != null) { - setStato(stato); - } - - String dettagli = (String)attributes.get("dettagli"); - - if (dettagli != null) { - setDettagli(dettagli); - } - - Long numeroEstrazione = (Long)attributes.get("numeroEstrazione"); - - if (numeroEstrazione != null) { - setNumeroEstrazione(numeroEstrazione); - } - - String pratica = (String)attributes.get("pratica"); - - if (pratica != null) { - setPratica(pratica); - } - - String committente = (String)attributes.get("committente"); - - if (committente != null) { - setCommittente(committente); - } - - String comune = (String)attributes.get("comune"); - - if (comune != null) { - setComune(comune); - } - - String provincia = (String)attributes.get("provincia"); - - if (provincia != null) { - setProvincia(provincia); - } - - String tecnico = (String)attributes.get("tecnico"); - - if (tecnico != null) { - setTecnico(tecnico); - } - - String mesePrecedente = (String)attributes.get("mesePrecedente"); - - if (mesePrecedente != null) { - setMesePrecedente(mesePrecedente); - } - - Boolean esterna = (Boolean)attributes.get("esterna"); - - if (esterna != null) { - setEsterna(esterna); - } - - Long praticaEsternaId = (Long)attributes.get("praticaEsternaId"); - - if (praticaEsternaId != null) { - setPraticaEsternaId(praticaEsternaId); - } - } - - @Override - public String getUuid() { - return _uuid; - } - - @Override - public void setUuid(String uuid) { - _uuid = uuid; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setUuid", String.class); - - method.invoke(_boSorteggioRemoteModel, uuid); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getSorteggioId() { - return _sorteggioId; - } - - @Override - public void setSorteggioId(long sorteggioId) { - _sorteggioId = sorteggioId; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setSorteggioId", long.class); - - method.invoke(_boSorteggioRemoteModel, sorteggioId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_boSorteggioRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_boSorteggioRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_boSorteggioRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_boSorteggioRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_boSorteggioRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_boSorteggioRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public int getStatus() { - return _status; - } - - @Override - public void setStatus(int status) { - _status = status; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setStatus", int.class); - - method.invoke(_boSorteggioRemoteModel, status); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getStatusByUserId() { - return _statusByUserId; - } - - @Override - public void setStatusByUserId(long statusByUserId) { - _statusByUserId = statusByUserId; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setStatusByUserId", long.class); - - method.invoke(_boSorteggioRemoteModel, statusByUserId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getStatusByUserUuid() throws SystemException { - return PortalUtil.getUserValue(getStatusByUserId(), "uuid", - _statusByUserUuid); - } - - @Override - public void setStatusByUserUuid(String statusByUserUuid) { - _statusByUserUuid = statusByUserUuid; - } - - @Override - public String getStatusByUserName() { - return _statusByUserName; - } - - @Override - public void setStatusByUserName(String statusByUserName) { - _statusByUserName = statusByUserName; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setStatusByUserName", - String.class); - - method.invoke(_boSorteggioRemoteModel, statusByUserName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getStatusDate() { - return _statusDate; - } - - @Override - public void setStatusDate(Date statusDate) { - _statusDate = statusDate; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setStatusDate", Date.class); - - method.invoke(_boSorteggioRemoteModel, statusDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getDettPraticaId() { - return _dettPraticaId; - } - - @Override - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setDettPraticaId", long.class); - - method.invoke(_boSorteggioRemoteModel, dettPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getNote() { - return _note; - } - - @Override - public void setNote(String note) { - _note = note; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setNote", String.class); - - method.invoke(_boSorteggioRemoteModel, note); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getAnno() { - return _anno; - } - - @Override - public void setAnno(String anno) { - _anno = anno; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setAnno", String.class); - - method.invoke(_boSorteggioRemoteModel, anno); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getMese() { - return _mese; - } - - @Override - public void setMese(String mese) { - _mese = mese; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setMese", String.class); - - method.invoke(_boSorteggioRemoteModel, mese); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDtSorteggio() { - return _dtSorteggio; - } - - @Override - public void setDtSorteggio(Date dtSorteggio) { - _dtSorteggio = dtSorteggio; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setDtSorteggio", Date.class); - - method.invoke(_boSorteggioRemoteModel, dtSorteggio); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getStato() { - return _stato; - } - - @Override - public void setStato(String stato) { - _stato = stato; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setStato", String.class); - - method.invoke(_boSorteggioRemoteModel, stato); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getDettagli() { - return _dettagli; - } - - @Override - public void setDettagli(String dettagli) { - _dettagli = dettagli; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setDettagli", String.class); - - method.invoke(_boSorteggioRemoteModel, dettagli); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getNumeroEstrazione() { - return _numeroEstrazione; - } - - @Override - public void setNumeroEstrazione(long numeroEstrazione) { - _numeroEstrazione = numeroEstrazione; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setNumeroEstrazione", - long.class); - - method.invoke(_boSorteggioRemoteModel, numeroEstrazione); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getPratica() { - return _pratica; - } - - @Override - public void setPratica(String pratica) { - _pratica = pratica; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setPratica", String.class); - - method.invoke(_boSorteggioRemoteModel, pratica); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCommittente() { - return _committente; - } - - @Override - public void setCommittente(String committente) { - _committente = committente; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setCommittente", String.class); - - method.invoke(_boSorteggioRemoteModel, committente); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getComune() { - return _comune; - } - - @Override - public void setComune(String comune) { - _comune = comune; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setComune", String.class); - - method.invoke(_boSorteggioRemoteModel, comune); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getProvincia() { - return _provincia; - } - - @Override - public void setProvincia(String provincia) { - _provincia = provincia; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setProvincia", String.class); - - method.invoke(_boSorteggioRemoteModel, provincia); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getTecnico() { - return _tecnico; - } - - @Override - public void setTecnico(String tecnico) { - _tecnico = tecnico; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setTecnico", String.class); - - method.invoke(_boSorteggioRemoteModel, tecnico); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getMesePrecedente() { - return _mesePrecedente; - } - - @Override - public void setMesePrecedente(String mesePrecedente) { - _mesePrecedente = mesePrecedente; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setMesePrecedente", - String.class); - - method.invoke(_boSorteggioRemoteModel, mesePrecedente); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getEsterna() { - return _esterna; - } - - @Override - public boolean isEsterna() { - return _esterna; - } - - @Override - public void setEsterna(boolean esterna) { - _esterna = esterna; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setEsterna", boolean.class); - - method.invoke(_boSorteggioRemoteModel, esterna); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getPraticaEsternaId() { - return _praticaEsternaId; - } - - @Override - public void setPraticaEsternaId(long praticaEsternaId) { - _praticaEsternaId = praticaEsternaId; - - if (_boSorteggioRemoteModel != null) { - try { - Class clazz = _boSorteggioRemoteModel.getClass(); - - Method method = clazz.getMethod("setPraticaEsternaId", - long.class); - - method.invoke(_boSorteggioRemoteModel, praticaEsternaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoSorteggio.class.getName())); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #isApproved} - */ - @Override - public boolean getApproved() { - return isApproved(); - } - - @Override - public boolean isApproved() { - if (getStatus() == WorkflowConstants.STATUS_APPROVED) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isDenied() { - if (getStatus() == WorkflowConstants.STATUS_DENIED) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isDraft() { - if (getStatus() == WorkflowConstants.STATUS_DRAFT) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isExpired() { - if (getStatus() == WorkflowConstants.STATUS_EXPIRED) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isInactive() { - if (getStatus() == WorkflowConstants.STATUS_INACTIVE) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isIncomplete() { - if (getStatus() == WorkflowConstants.STATUS_INCOMPLETE) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isPending() { - if (getStatus() == WorkflowConstants.STATUS_PENDING) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isScheduled() { - if (getStatus() == WorkflowConstants.STATUS_SCHEDULED) { - return true; - } - else { - return false; - } - } - - public BaseModel getBoSorteggioRemoteModel() { - return _boSorteggioRemoteModel; - } - - public void setBoSorteggioRemoteModel(BaseModel boSorteggioRemoteModel) { - _boSorteggioRemoteModel = boSorteggioRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _boSorteggioRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_boSorteggioRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoSorteggioLocalServiceUtil.addBoSorteggio(this); - } - else { - BoSorteggioLocalServiceUtil.updateBoSorteggio(this); - } - } - - @Override - public BoSorteggio toEscapedModel() { - return (BoSorteggio)ProxyUtil.newProxyInstance(BoSorteggio.class.getClassLoader(), - new Class[] { BoSorteggio.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - BoSorteggioClp clone = new BoSorteggioClp(); - - clone.setUuid(getUuid()); - clone.setSorteggioId(getSorteggioId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setGroupId(getGroupId()); - clone.setStatus(getStatus()); - clone.setStatusByUserId(getStatusByUserId()); - clone.setStatusByUserName(getStatusByUserName()); - clone.setStatusDate(getStatusDate()); - clone.setDettPraticaId(getDettPraticaId()); - clone.setNote(getNote()); - clone.setAnno(getAnno()); - clone.setMese(getMese()); - clone.setDtSorteggio(getDtSorteggio()); - clone.setStato(getStato()); - clone.setDettagli(getDettagli()); - clone.setNumeroEstrazione(getNumeroEstrazione()); - clone.setPratica(getPratica()); - clone.setCommittente(getCommittente()); - clone.setComune(getComune()); - clone.setProvincia(getProvincia()); - clone.setTecnico(getTecnico()); - clone.setMesePrecedente(getMesePrecedente()); - clone.setEsterna(getEsterna()); - clone.setPraticaEsternaId(getPraticaEsternaId()); - - return clone; - } - - @Override - public int compareTo(BoSorteggio boSorteggio) { - long primaryKey = boSorteggio.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoSorteggioClp)) { - return false; - } - - BoSorteggioClp boSorteggio = (BoSorteggioClp)obj; - - long primaryKey = boSorteggio.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(57); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", sorteggioId="); - sb.append(getSorteggioId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", status="); - sb.append(getStatus()); - sb.append(", statusByUserId="); - sb.append(getStatusByUserId()); - sb.append(", statusByUserName="); - sb.append(getStatusByUserName()); - sb.append(", statusDate="); - sb.append(getStatusDate()); - sb.append(", dettPraticaId="); - sb.append(getDettPraticaId()); - sb.append(", note="); - sb.append(getNote()); - sb.append(", anno="); - sb.append(getAnno()); - sb.append(", mese="); - sb.append(getMese()); - sb.append(", dtSorteggio="); - sb.append(getDtSorteggio()); - sb.append(", stato="); - sb.append(getStato()); - sb.append(", dettagli="); - sb.append(getDettagli()); - sb.append(", numeroEstrazione="); - sb.append(getNumeroEstrazione()); - sb.append(", pratica="); - sb.append(getPratica()); - sb.append(", committente="); - sb.append(getCommittente()); - sb.append(", comune="); - sb.append(getComune()); - sb.append(", provincia="); - sb.append(getProvincia()); - sb.append(", tecnico="); - sb.append(getTecnico()); - sb.append(", mesePrecedente="); - sb.append(getMesePrecedente()); - sb.append(", esterna="); - sb.append(getEsterna()); - sb.append(", praticaEsternaId="); - sb.append(getPraticaEsternaId()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(88); - - sb.append(""); - sb.append("it.tref.liferay.portos.portosimport.model.BoSorteggio"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "sorteggioId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "status"); - sb.append( - "statusByUserId"); - sb.append( - "statusByUserName"); - sb.append( - "statusDate"); - sb.append( - "dettPraticaId"); - sb.append( - "note"); - sb.append( - "anno"); - sb.append( - "mese"); - sb.append( - "dtSorteggio"); - sb.append( - "stato"); - sb.append( - "dettagli"); - sb.append( - "numeroEstrazione"); - sb.append( - "pratica"); - sb.append( - "committente"); - sb.append( - "comune"); - sb.append( - "provincia"); - sb.append( - "tecnico"); - sb.append( - "mesePrecedente"); - sb.append( - "esterna"); - sb.append( - "praticaEsternaId"); - - sb.append(""); - - return sb.toString(); - } - - private String _uuid; - private long _sorteggioId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private int _status; - private long _statusByUserId; - private String _statusByUserUuid; - private String _statusByUserName; - private Date _statusDate; - private long _dettPraticaId; - private String _note; - private String _anno; - private String _mese; - private Date _dtSorteggio; - private String _stato; - private String _dettagli; - private long _numeroEstrazione; - private String _pratica; - private String _committente; - private String _comune; - private String _provincia; - private String _tecnico; - private String _mesePrecedente; - private boolean _esterna; - private long _praticaEsternaId; - private BaseModel _boSorteggioRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.portosimport.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSorteggioModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSorteggioModel.java deleted file mode 100644 index f55330ab..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSorteggioModel.java +++ /dev/null @@ -1,662 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.StagedGroupedModel; -import com.liferay.portal.model.WorkflowedModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the BoSorteggio service. Represents a row in the "gc_sorteggio" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoSorteggio - * @see it.tref.liferay.portos.portosimport.model.impl.BoSorteggioImpl - * @see it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl - * @generated - */ -public interface BoSorteggioModel extends BaseModel, - StagedGroupedModel, WorkflowedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a bo sorteggio model instance should use the {@link BoSorteggio} interface instead. - */ - - /** - * Returns the primary key of this bo sorteggio. - * - * @return the primary key of this bo sorteggio - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this bo sorteggio. - * - * @param primaryKey the primary key of this bo sorteggio - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the uuid of this bo sorteggio. - * - * @return the uuid of this bo sorteggio - */ - @AutoEscape - @Override - public String getUuid(); - - /** - * Sets the uuid of this bo sorteggio. - * - * @param uuid the uuid of this bo sorteggio - */ - @Override - public void setUuid(String uuid); - - /** - * Returns the sorteggio ID of this bo sorteggio. - * - * @return the sorteggio ID of this bo sorteggio - */ - public long getSorteggioId(); - - /** - * Sets the sorteggio ID of this bo sorteggio. - * - * @param sorteggioId the sorteggio ID of this bo sorteggio - */ - public void setSorteggioId(long sorteggioId); - - /** - * Returns the company ID of this bo sorteggio. - * - * @return the company ID of this bo sorteggio - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this bo sorteggio. - * - * @param companyId the company ID of this bo sorteggio - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this bo sorteggio. - * - * @return the user ID of this bo sorteggio - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this bo sorteggio. - * - * @param userId the user ID of this bo sorteggio - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this bo sorteggio. - * - * @return the user uuid of this bo sorteggio - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this bo sorteggio. - * - * @param userUuid the user uuid of this bo sorteggio - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this bo sorteggio. - * - * @return the user name of this bo sorteggio - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this bo sorteggio. - * - * @param userName the user name of this bo sorteggio - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this bo sorteggio. - * - * @return the create date of this bo sorteggio - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this bo sorteggio. - * - * @param createDate the create date of this bo sorteggio - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this bo sorteggio. - * - * @return the modified date of this bo sorteggio - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this bo sorteggio. - * - * @param modifiedDate the modified date of this bo sorteggio - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the group ID of this bo sorteggio. - * - * @return the group ID of this bo sorteggio - */ - @Override - public long getGroupId(); - - /** - * Sets the group ID of this bo sorteggio. - * - * @param groupId the group ID of this bo sorteggio - */ - @Override - public void setGroupId(long groupId); - - /** - * Returns the status of this bo sorteggio. - * - * @return the status of this bo sorteggio - */ - @Override - public int getStatus(); - - /** - * Sets the status of this bo sorteggio. - * - * @param status the status of this bo sorteggio - */ - @Override - public void setStatus(int status); - - /** - * Returns the status by user ID of this bo sorteggio. - * - * @return the status by user ID of this bo sorteggio - */ - @Override - public long getStatusByUserId(); - - /** - * Sets the status by user ID of this bo sorteggio. - * - * @param statusByUserId the status by user ID of this bo sorteggio - */ - @Override - public void setStatusByUserId(long statusByUserId); - - /** - * Returns the status by user uuid of this bo sorteggio. - * - * @return the status by user uuid of this bo sorteggio - * @throws SystemException if a system exception occurred - */ - @Override - public String getStatusByUserUuid() throws SystemException; - - /** - * Sets the status by user uuid of this bo sorteggio. - * - * @param statusByUserUuid the status by user uuid of this bo sorteggio - */ - @Override - public void setStatusByUserUuid(String statusByUserUuid); - - /** - * Returns the status by user name of this bo sorteggio. - * - * @return the status by user name of this bo sorteggio - */ - @AutoEscape - @Override - public String getStatusByUserName(); - - /** - * Sets the status by user name of this bo sorteggio. - * - * @param statusByUserName the status by user name of this bo sorteggio - */ - @Override - public void setStatusByUserName(String statusByUserName); - - /** - * Returns the status date of this bo sorteggio. - * - * @return the status date of this bo sorteggio - */ - @Override - public Date getStatusDate(); - - /** - * Sets the status date of this bo sorteggio. - * - * @param statusDate the status date of this bo sorteggio - */ - @Override - public void setStatusDate(Date statusDate); - - /** - * Returns the dett pratica ID of this bo sorteggio. - * - * @return the dett pratica ID of this bo sorteggio - */ - public long getDettPraticaId(); - - /** - * Sets the dett pratica ID of this bo sorteggio. - * - * @param dettPraticaId the dett pratica ID of this bo sorteggio - */ - public void setDettPraticaId(long dettPraticaId); - - /** - * Returns the note of this bo sorteggio. - * - * @return the note of this bo sorteggio - */ - @AutoEscape - public String getNote(); - - /** - * Sets the note of this bo sorteggio. - * - * @param note the note of this bo sorteggio - */ - public void setNote(String note); - - /** - * Returns the anno of this bo sorteggio. - * - * @return the anno of this bo sorteggio - */ - @AutoEscape - public String getAnno(); - - /** - * Sets the anno of this bo sorteggio. - * - * @param anno the anno of this bo sorteggio - */ - public void setAnno(String anno); - - /** - * Returns the mese of this bo sorteggio. - * - * @return the mese of this bo sorteggio - */ - @AutoEscape - public String getMese(); - - /** - * Sets the mese of this bo sorteggio. - * - * @param mese the mese of this bo sorteggio - */ - public void setMese(String mese); - - /** - * Returns the dt sorteggio of this bo sorteggio. - * - * @return the dt sorteggio of this bo sorteggio - */ - public Date getDtSorteggio(); - - /** - * Sets the dt sorteggio of this bo sorteggio. - * - * @param dtSorteggio the dt sorteggio of this bo sorteggio - */ - public void setDtSorteggio(Date dtSorteggio); - - /** - * Returns the stato of this bo sorteggio. - * - * @return the stato of this bo sorteggio - */ - @AutoEscape - public String getStato(); - - /** - * Sets the stato of this bo sorteggio. - * - * @param stato the stato of this bo sorteggio - */ - public void setStato(String stato); - - /** - * Returns the dettagli of this bo sorteggio. - * - * @return the dettagli of this bo sorteggio - */ - @AutoEscape - public String getDettagli(); - - /** - * Sets the dettagli of this bo sorteggio. - * - * @param dettagli the dettagli of this bo sorteggio - */ - public void setDettagli(String dettagli); - - /** - * Returns the numero estrazione of this bo sorteggio. - * - * @return the numero estrazione of this bo sorteggio - */ - public long getNumeroEstrazione(); - - /** - * Sets the numero estrazione of this bo sorteggio. - * - * @param numeroEstrazione the numero estrazione of this bo sorteggio - */ - public void setNumeroEstrazione(long numeroEstrazione); - - /** - * Returns the pratica of this bo sorteggio. - * - * @return the pratica of this bo sorteggio - */ - @AutoEscape - public String getPratica(); - - /** - * Sets the pratica of this bo sorteggio. - * - * @param pratica the pratica of this bo sorteggio - */ - public void setPratica(String pratica); - - /** - * Returns the committente of this bo sorteggio. - * - * @return the committente of this bo sorteggio - */ - @AutoEscape - public String getCommittente(); - - /** - * Sets the committente of this bo sorteggio. - * - * @param committente the committente of this bo sorteggio - */ - public void setCommittente(String committente); - - /** - * Returns the comune of this bo sorteggio. - * - * @return the comune of this bo sorteggio - */ - @AutoEscape - public String getComune(); - - /** - * Sets the comune of this bo sorteggio. - * - * @param comune the comune of this bo sorteggio - */ - public void setComune(String comune); - - /** - * Returns the provincia of this bo sorteggio. - * - * @return the provincia of this bo sorteggio - */ - @AutoEscape - public String getProvincia(); - - /** - * Sets the provincia of this bo sorteggio. - * - * @param provincia the provincia of this bo sorteggio - */ - public void setProvincia(String provincia); - - /** - * Returns the tecnico of this bo sorteggio. - * - * @return the tecnico of this bo sorteggio - */ - @AutoEscape - public String getTecnico(); - - /** - * Sets the tecnico of this bo sorteggio. - * - * @param tecnico the tecnico of this bo sorteggio - */ - public void setTecnico(String tecnico); - - /** - * Returns the mese precedente of this bo sorteggio. - * - * @return the mese precedente of this bo sorteggio - */ - @AutoEscape - public String getMesePrecedente(); - - /** - * Sets the mese precedente of this bo sorteggio. - * - * @param mesePrecedente the mese precedente of this bo sorteggio - */ - public void setMesePrecedente(String mesePrecedente); - - /** - * Returns the esterna of this bo sorteggio. - * - * @return the esterna of this bo sorteggio - */ - public boolean getEsterna(); - - /** - * Returns true if this bo sorteggio is esterna. - * - * @return true if this bo sorteggio is esterna; false otherwise - */ - public boolean isEsterna(); - - /** - * Sets whether this bo sorteggio is esterna. - * - * @param esterna the esterna of this bo sorteggio - */ - public void setEsterna(boolean esterna); - - /** - * Returns the pratica esterna ID of this bo sorteggio. - * - * @return the pratica esterna ID of this bo sorteggio - */ - public long getPraticaEsternaId(); - - /** - * Sets the pratica esterna ID of this bo sorteggio. - * - * @param praticaEsternaId the pratica esterna ID of this bo sorteggio - */ - public void setPraticaEsternaId(long praticaEsternaId); - - /** - * @deprecated As of 6.1.0, replaced by {@link #isApproved()} - */ - @Override - public boolean getApproved(); - - /** - * Returns true if this bo sorteggio is approved. - * - * @return true if this bo sorteggio is approved; false otherwise - */ - @Override - public boolean isApproved(); - - /** - * Returns true if this bo sorteggio is denied. - * - * @return true if this bo sorteggio is denied; false otherwise - */ - @Override - public boolean isDenied(); - - /** - * Returns true if this bo sorteggio is a draft. - * - * @return true if this bo sorteggio is a draft; false otherwise - */ - @Override - public boolean isDraft(); - - /** - * Returns true if this bo sorteggio is expired. - * - * @return true if this bo sorteggio is expired; false otherwise - */ - @Override - public boolean isExpired(); - - /** - * Returns true if this bo sorteggio is inactive. - * - * @return true if this bo sorteggio is inactive; false otherwise - */ - @Override - public boolean isInactive(); - - /** - * Returns true if this bo sorteggio is incomplete. - * - * @return true if this bo sorteggio is incomplete; false otherwise - */ - @Override - public boolean isIncomplete(); - - /** - * Returns true if this bo sorteggio is pending. - * - * @return true if this bo sorteggio is pending; false otherwise - */ - @Override - public boolean isPending(); - - /** - * Returns true if this bo sorteggio is scheduled. - * - * @return true if this bo sorteggio is scheduled; false otherwise - */ - @Override - public boolean isScheduled(); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.BoSorteggio boSorteggio); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.BoSorteggio toEscapedModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.BoSorteggio toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSorteggioSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSorteggioSoap.java deleted file mode 100644 index 115878d7..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSorteggioSoap.java +++ /dev/null @@ -1,369 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoSorteggioSoap implements Serializable { - public static BoSorteggioSoap toSoapModel(BoSorteggio model) { - BoSorteggioSoap soapModel = new BoSorteggioSoap(); - - soapModel.setUuid(model.getUuid()); - soapModel.setSorteggioId(model.getSorteggioId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setStatus(model.getStatus()); - soapModel.setStatusByUserId(model.getStatusByUserId()); - soapModel.setStatusByUserName(model.getStatusByUserName()); - soapModel.setStatusDate(model.getStatusDate()); - soapModel.setDettPraticaId(model.getDettPraticaId()); - soapModel.setNote(model.getNote()); - soapModel.setAnno(model.getAnno()); - soapModel.setMese(model.getMese()); - soapModel.setDtSorteggio(model.getDtSorteggio()); - soapModel.setStato(model.getStato()); - soapModel.setDettagli(model.getDettagli()); - soapModel.setNumeroEstrazione(model.getNumeroEstrazione()); - soapModel.setPratica(model.getPratica()); - soapModel.setCommittente(model.getCommittente()); - soapModel.setComune(model.getComune()); - soapModel.setProvincia(model.getProvincia()); - soapModel.setTecnico(model.getTecnico()); - soapModel.setMesePrecedente(model.getMesePrecedente()); - soapModel.setEsterna(model.getEsterna()); - soapModel.setPraticaEsternaId(model.getPraticaEsternaId()); - - return soapModel; - } - - public static BoSorteggioSoap[] toSoapModels(BoSorteggio[] models) { - BoSorteggioSoap[] soapModels = new BoSorteggioSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static BoSorteggioSoap[][] toSoapModels(BoSorteggio[][] models) { - BoSorteggioSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new BoSorteggioSoap[models.length][models[0].length]; - } - else { - soapModels = new BoSorteggioSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static BoSorteggioSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (BoSorteggio model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new BoSorteggioSoap[soapModels.size()]); - } - - public BoSorteggioSoap() { - } - - public long getPrimaryKey() { - return _sorteggioId; - } - - public void setPrimaryKey(long pk) { - setSorteggioId(pk); - } - - public String getUuid() { - return _uuid; - } - - public void setUuid(String uuid) { - _uuid = uuid; - } - - public long getSorteggioId() { - return _sorteggioId; - } - - public void setSorteggioId(long sorteggioId) { - _sorteggioId = sorteggioId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public int getStatus() { - return _status; - } - - public void setStatus(int status) { - _status = status; - } - - public long getStatusByUserId() { - return _statusByUserId; - } - - public void setStatusByUserId(long statusByUserId) { - _statusByUserId = statusByUserId; - } - - public String getStatusByUserName() { - return _statusByUserName; - } - - public void setStatusByUserName(String statusByUserName) { - _statusByUserName = statusByUserName; - } - - public Date getStatusDate() { - return _statusDate; - } - - public void setStatusDate(Date statusDate) { - _statusDate = statusDate; - } - - public long getDettPraticaId() { - return _dettPraticaId; - } - - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - } - - public String getNote() { - return _note; - } - - public void setNote(String note) { - _note = note; - } - - public String getAnno() { - return _anno; - } - - public void setAnno(String anno) { - _anno = anno; - } - - public String getMese() { - return _mese; - } - - public void setMese(String mese) { - _mese = mese; - } - - public Date getDtSorteggio() { - return _dtSorteggio; - } - - public void setDtSorteggio(Date dtSorteggio) { - _dtSorteggio = dtSorteggio; - } - - public String getStato() { - return _stato; - } - - public void setStato(String stato) { - _stato = stato; - } - - public String getDettagli() { - return _dettagli; - } - - public void setDettagli(String dettagli) { - _dettagli = dettagli; - } - - public long getNumeroEstrazione() { - return _numeroEstrazione; - } - - public void setNumeroEstrazione(long numeroEstrazione) { - _numeroEstrazione = numeroEstrazione; - } - - public String getPratica() { - return _pratica; - } - - public void setPratica(String pratica) { - _pratica = pratica; - } - - public String getCommittente() { - return _committente; - } - - public void setCommittente(String committente) { - _committente = committente; - } - - public String getComune() { - return _comune; - } - - public void setComune(String comune) { - _comune = comune; - } - - public String getProvincia() { - return _provincia; - } - - public void setProvincia(String provincia) { - _provincia = provincia; - } - - public String getTecnico() { - return _tecnico; - } - - public void setTecnico(String tecnico) { - _tecnico = tecnico; - } - - public String getMesePrecedente() { - return _mesePrecedente; - } - - public void setMesePrecedente(String mesePrecedente) { - _mesePrecedente = mesePrecedente; - } - - public boolean getEsterna() { - return _esterna; - } - - public boolean isEsterna() { - return _esterna; - } - - public void setEsterna(boolean esterna) { - _esterna = esterna; - } - - public long getPraticaEsternaId() { - return _praticaEsternaId; - } - - public void setPraticaEsternaId(long praticaEsternaId) { - _praticaEsternaId = praticaEsternaId; - } - - private String _uuid; - private long _sorteggioId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private int _status; - private long _statusByUserId; - private String _statusByUserName; - private Date _statusDate; - private long _dettPraticaId; - private String _note; - private String _anno; - private String _mese; - private Date _dtSorteggio; - private String _stato; - private String _dettagli; - private long _numeroEstrazione; - private String _pratica; - private String _committente; - private String _comune; - private String _provincia; - private String _tecnico; - private String _mesePrecedente; - private boolean _esterna; - private long _praticaEsternaId; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSorteggioWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSorteggioWrapper.java deleted file mode 100644 index d587cd55..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoSorteggioWrapper.java +++ /dev/null @@ -1,1126 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link BoSorteggio}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoSorteggio - * @generated - */ -public class BoSorteggioWrapper implements BoSorteggio, - ModelWrapper { - public BoSorteggioWrapper(BoSorteggio boSorteggio) { - _boSorteggio = boSorteggio; - } - - @Override - public Class getModelClass() { - return BoSorteggio.class; - } - - @Override - public String getModelClassName() { - return BoSorteggio.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("sorteggioId", getSorteggioId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("status", getStatus()); - attributes.put("statusByUserId", getStatusByUserId()); - attributes.put("statusByUserName", getStatusByUserName()); - attributes.put("statusDate", getStatusDate()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("note", getNote()); - attributes.put("anno", getAnno()); - attributes.put("mese", getMese()); - attributes.put("dtSorteggio", getDtSorteggio()); - attributes.put("stato", getStato()); - attributes.put("dettagli", getDettagli()); - attributes.put("numeroEstrazione", getNumeroEstrazione()); - attributes.put("pratica", getPratica()); - attributes.put("committente", getCommittente()); - attributes.put("comune", getComune()); - attributes.put("provincia", getProvincia()); - attributes.put("tecnico", getTecnico()); - attributes.put("mesePrecedente", getMesePrecedente()); - attributes.put("esterna", getEsterna()); - attributes.put("praticaEsternaId", getPraticaEsternaId()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long sorteggioId = (Long)attributes.get("sorteggioId"); - - if (sorteggioId != null) { - setSorteggioId(sorteggioId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Integer status = (Integer)attributes.get("status"); - - if (status != null) { - setStatus(status); - } - - Long statusByUserId = (Long)attributes.get("statusByUserId"); - - if (statusByUserId != null) { - setStatusByUserId(statusByUserId); - } - - String statusByUserName = (String)attributes.get("statusByUserName"); - - if (statusByUserName != null) { - setStatusByUserName(statusByUserName); - } - - Date statusDate = (Date)attributes.get("statusDate"); - - if (statusDate != null) { - setStatusDate(statusDate); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - String note = (String)attributes.get("note"); - - if (note != null) { - setNote(note); - } - - String anno = (String)attributes.get("anno"); - - if (anno != null) { - setAnno(anno); - } - - String mese = (String)attributes.get("mese"); - - if (mese != null) { - setMese(mese); - } - - Date dtSorteggio = (Date)attributes.get("dtSorteggio"); - - if (dtSorteggio != null) { - setDtSorteggio(dtSorteggio); - } - - String stato = (String)attributes.get("stato"); - - if (stato != null) { - setStato(stato); - } - - String dettagli = (String)attributes.get("dettagli"); - - if (dettagli != null) { - setDettagli(dettagli); - } - - Long numeroEstrazione = (Long)attributes.get("numeroEstrazione"); - - if (numeroEstrazione != null) { - setNumeroEstrazione(numeroEstrazione); - } - - String pratica = (String)attributes.get("pratica"); - - if (pratica != null) { - setPratica(pratica); - } - - String committente = (String)attributes.get("committente"); - - if (committente != null) { - setCommittente(committente); - } - - String comune = (String)attributes.get("comune"); - - if (comune != null) { - setComune(comune); - } - - String provincia = (String)attributes.get("provincia"); - - if (provincia != null) { - setProvincia(provincia); - } - - String tecnico = (String)attributes.get("tecnico"); - - if (tecnico != null) { - setTecnico(tecnico); - } - - String mesePrecedente = (String)attributes.get("mesePrecedente"); - - if (mesePrecedente != null) { - setMesePrecedente(mesePrecedente); - } - - Boolean esterna = (Boolean)attributes.get("esterna"); - - if (esterna != null) { - setEsterna(esterna); - } - - Long praticaEsternaId = (Long)attributes.get("praticaEsternaId"); - - if (praticaEsternaId != null) { - setPraticaEsternaId(praticaEsternaId); - } - } - - /** - * Returns the primary key of this bo sorteggio. - * - * @return the primary key of this bo sorteggio - */ - @Override - public long getPrimaryKey() { - return _boSorteggio.getPrimaryKey(); - } - - /** - * Sets the primary key of this bo sorteggio. - * - * @param primaryKey the primary key of this bo sorteggio - */ - @Override - public void setPrimaryKey(long primaryKey) { - _boSorteggio.setPrimaryKey(primaryKey); - } - - /** - * Returns the uuid of this bo sorteggio. - * - * @return the uuid of this bo sorteggio - */ - @Override - public java.lang.String getUuid() { - return _boSorteggio.getUuid(); - } - - /** - * Sets the uuid of this bo sorteggio. - * - * @param uuid the uuid of this bo sorteggio - */ - @Override - public void setUuid(java.lang.String uuid) { - _boSorteggio.setUuid(uuid); - } - - /** - * Returns the sorteggio ID of this bo sorteggio. - * - * @return the sorteggio ID of this bo sorteggio - */ - @Override - public long getSorteggioId() { - return _boSorteggio.getSorteggioId(); - } - - /** - * Sets the sorteggio ID of this bo sorteggio. - * - * @param sorteggioId the sorteggio ID of this bo sorteggio - */ - @Override - public void setSorteggioId(long sorteggioId) { - _boSorteggio.setSorteggioId(sorteggioId); - } - - /** - * Returns the company ID of this bo sorteggio. - * - * @return the company ID of this bo sorteggio - */ - @Override - public long getCompanyId() { - return _boSorteggio.getCompanyId(); - } - - /** - * Sets the company ID of this bo sorteggio. - * - * @param companyId the company ID of this bo sorteggio - */ - @Override - public void setCompanyId(long companyId) { - _boSorteggio.setCompanyId(companyId); - } - - /** - * Returns the user ID of this bo sorteggio. - * - * @return the user ID of this bo sorteggio - */ - @Override - public long getUserId() { - return _boSorteggio.getUserId(); - } - - /** - * Sets the user ID of this bo sorteggio. - * - * @param userId the user ID of this bo sorteggio - */ - @Override - public void setUserId(long userId) { - _boSorteggio.setUserId(userId); - } - - /** - * Returns the user uuid of this bo sorteggio. - * - * @return the user uuid of this bo sorteggio - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _boSorteggio.getUserUuid(); - } - - /** - * Sets the user uuid of this bo sorteggio. - * - * @param userUuid the user uuid of this bo sorteggio - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _boSorteggio.setUserUuid(userUuid); - } - - /** - * Returns the user name of this bo sorteggio. - * - * @return the user name of this bo sorteggio - */ - @Override - public java.lang.String getUserName() { - return _boSorteggio.getUserName(); - } - - /** - * Sets the user name of this bo sorteggio. - * - * @param userName the user name of this bo sorteggio - */ - @Override - public void setUserName(java.lang.String userName) { - _boSorteggio.setUserName(userName); - } - - /** - * Returns the create date of this bo sorteggio. - * - * @return the create date of this bo sorteggio - */ - @Override - public java.util.Date getCreateDate() { - return _boSorteggio.getCreateDate(); - } - - /** - * Sets the create date of this bo sorteggio. - * - * @param createDate the create date of this bo sorteggio - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _boSorteggio.setCreateDate(createDate); - } - - /** - * Returns the modified date of this bo sorteggio. - * - * @return the modified date of this bo sorteggio - */ - @Override - public java.util.Date getModifiedDate() { - return _boSorteggio.getModifiedDate(); - } - - /** - * Sets the modified date of this bo sorteggio. - * - * @param modifiedDate the modified date of this bo sorteggio - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _boSorteggio.setModifiedDate(modifiedDate); - } - - /** - * Returns the group ID of this bo sorteggio. - * - * @return the group ID of this bo sorteggio - */ - @Override - public long getGroupId() { - return _boSorteggio.getGroupId(); - } - - /** - * Sets the group ID of this bo sorteggio. - * - * @param groupId the group ID of this bo sorteggio - */ - @Override - public void setGroupId(long groupId) { - _boSorteggio.setGroupId(groupId); - } - - /** - * Returns the status of this bo sorteggio. - * - * @return the status of this bo sorteggio - */ - @Override - public int getStatus() { - return _boSorteggio.getStatus(); - } - - /** - * Sets the status of this bo sorteggio. - * - * @param status the status of this bo sorteggio - */ - @Override - public void setStatus(int status) { - _boSorteggio.setStatus(status); - } - - /** - * Returns the status by user ID of this bo sorteggio. - * - * @return the status by user ID of this bo sorteggio - */ - @Override - public long getStatusByUserId() { - return _boSorteggio.getStatusByUserId(); - } - - /** - * Sets the status by user ID of this bo sorteggio. - * - * @param statusByUserId the status by user ID of this bo sorteggio - */ - @Override - public void setStatusByUserId(long statusByUserId) { - _boSorteggio.setStatusByUserId(statusByUserId); - } - - /** - * Returns the status by user uuid of this bo sorteggio. - * - * @return the status by user uuid of this bo sorteggio - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getStatusByUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _boSorteggio.getStatusByUserUuid(); - } - - /** - * Sets the status by user uuid of this bo sorteggio. - * - * @param statusByUserUuid the status by user uuid of this bo sorteggio - */ - @Override - public void setStatusByUserUuid(java.lang.String statusByUserUuid) { - _boSorteggio.setStatusByUserUuid(statusByUserUuid); - } - - /** - * Returns the status by user name of this bo sorteggio. - * - * @return the status by user name of this bo sorteggio - */ - @Override - public java.lang.String getStatusByUserName() { - return _boSorteggio.getStatusByUserName(); - } - - /** - * Sets the status by user name of this bo sorteggio. - * - * @param statusByUserName the status by user name of this bo sorteggio - */ - @Override - public void setStatusByUserName(java.lang.String statusByUserName) { - _boSorteggio.setStatusByUserName(statusByUserName); - } - - /** - * Returns the status date of this bo sorteggio. - * - * @return the status date of this bo sorteggio - */ - @Override - public java.util.Date getStatusDate() { - return _boSorteggio.getStatusDate(); - } - - /** - * Sets the status date of this bo sorteggio. - * - * @param statusDate the status date of this bo sorteggio - */ - @Override - public void setStatusDate(java.util.Date statusDate) { - _boSorteggio.setStatusDate(statusDate); - } - - /** - * Returns the dett pratica ID of this bo sorteggio. - * - * @return the dett pratica ID of this bo sorteggio - */ - @Override - public long getDettPraticaId() { - return _boSorteggio.getDettPraticaId(); - } - - /** - * Sets the dett pratica ID of this bo sorteggio. - * - * @param dettPraticaId the dett pratica ID of this bo sorteggio - */ - @Override - public void setDettPraticaId(long dettPraticaId) { - _boSorteggio.setDettPraticaId(dettPraticaId); - } - - /** - * Returns the note of this bo sorteggio. - * - * @return the note of this bo sorteggio - */ - @Override - public java.lang.String getNote() { - return _boSorteggio.getNote(); - } - - /** - * Sets the note of this bo sorteggio. - * - * @param note the note of this bo sorteggio - */ - @Override - public void setNote(java.lang.String note) { - _boSorteggio.setNote(note); - } - - /** - * Returns the anno of this bo sorteggio. - * - * @return the anno of this bo sorteggio - */ - @Override - public java.lang.String getAnno() { - return _boSorteggio.getAnno(); - } - - /** - * Sets the anno of this bo sorteggio. - * - * @param anno the anno of this bo sorteggio - */ - @Override - public void setAnno(java.lang.String anno) { - _boSorteggio.setAnno(anno); - } - - /** - * Returns the mese of this bo sorteggio. - * - * @return the mese of this bo sorteggio - */ - @Override - public java.lang.String getMese() { - return _boSorteggio.getMese(); - } - - /** - * Sets the mese of this bo sorteggio. - * - * @param mese the mese of this bo sorteggio - */ - @Override - public void setMese(java.lang.String mese) { - _boSorteggio.setMese(mese); - } - - /** - * Returns the dt sorteggio of this bo sorteggio. - * - * @return the dt sorteggio of this bo sorteggio - */ - @Override - public java.util.Date getDtSorteggio() { - return _boSorteggio.getDtSorteggio(); - } - - /** - * Sets the dt sorteggio of this bo sorteggio. - * - * @param dtSorteggio the dt sorteggio of this bo sorteggio - */ - @Override - public void setDtSorteggio(java.util.Date dtSorteggio) { - _boSorteggio.setDtSorteggio(dtSorteggio); - } - - /** - * Returns the stato of this bo sorteggio. - * - * @return the stato of this bo sorteggio - */ - @Override - public java.lang.String getStato() { - return _boSorteggio.getStato(); - } - - /** - * Sets the stato of this bo sorteggio. - * - * @param stato the stato of this bo sorteggio - */ - @Override - public void setStato(java.lang.String stato) { - _boSorteggio.setStato(stato); - } - - /** - * Returns the dettagli of this bo sorteggio. - * - * @return the dettagli of this bo sorteggio - */ - @Override - public java.lang.String getDettagli() { - return _boSorteggio.getDettagli(); - } - - /** - * Sets the dettagli of this bo sorteggio. - * - * @param dettagli the dettagli of this bo sorteggio - */ - @Override - public void setDettagli(java.lang.String dettagli) { - _boSorteggio.setDettagli(dettagli); - } - - /** - * Returns the numero estrazione of this bo sorteggio. - * - * @return the numero estrazione of this bo sorteggio - */ - @Override - public long getNumeroEstrazione() { - return _boSorteggio.getNumeroEstrazione(); - } - - /** - * Sets the numero estrazione of this bo sorteggio. - * - * @param numeroEstrazione the numero estrazione of this bo sorteggio - */ - @Override - public void setNumeroEstrazione(long numeroEstrazione) { - _boSorteggio.setNumeroEstrazione(numeroEstrazione); - } - - /** - * Returns the pratica of this bo sorteggio. - * - * @return the pratica of this bo sorteggio - */ - @Override - public java.lang.String getPratica() { - return _boSorteggio.getPratica(); - } - - /** - * Sets the pratica of this bo sorteggio. - * - * @param pratica the pratica of this bo sorteggio - */ - @Override - public void setPratica(java.lang.String pratica) { - _boSorteggio.setPratica(pratica); - } - - /** - * Returns the committente of this bo sorteggio. - * - * @return the committente of this bo sorteggio - */ - @Override - public java.lang.String getCommittente() { - return _boSorteggio.getCommittente(); - } - - /** - * Sets the committente of this bo sorteggio. - * - * @param committente the committente of this bo sorteggio - */ - @Override - public void setCommittente(java.lang.String committente) { - _boSorteggio.setCommittente(committente); - } - - /** - * Returns the comune of this bo sorteggio. - * - * @return the comune of this bo sorteggio - */ - @Override - public java.lang.String getComune() { - return _boSorteggio.getComune(); - } - - /** - * Sets the comune of this bo sorteggio. - * - * @param comune the comune of this bo sorteggio - */ - @Override - public void setComune(java.lang.String comune) { - _boSorteggio.setComune(comune); - } - - /** - * Returns the provincia of this bo sorteggio. - * - * @return the provincia of this bo sorteggio - */ - @Override - public java.lang.String getProvincia() { - return _boSorteggio.getProvincia(); - } - - /** - * Sets the provincia of this bo sorteggio. - * - * @param provincia the provincia of this bo sorteggio - */ - @Override - public void setProvincia(java.lang.String provincia) { - _boSorteggio.setProvincia(provincia); - } - - /** - * Returns the tecnico of this bo sorteggio. - * - * @return the tecnico of this bo sorteggio - */ - @Override - public java.lang.String getTecnico() { - return _boSorteggio.getTecnico(); - } - - /** - * Sets the tecnico of this bo sorteggio. - * - * @param tecnico the tecnico of this bo sorteggio - */ - @Override - public void setTecnico(java.lang.String tecnico) { - _boSorteggio.setTecnico(tecnico); - } - - /** - * Returns the mese precedente of this bo sorteggio. - * - * @return the mese precedente of this bo sorteggio - */ - @Override - public java.lang.String getMesePrecedente() { - return _boSorteggio.getMesePrecedente(); - } - - /** - * Sets the mese precedente of this bo sorteggio. - * - * @param mesePrecedente the mese precedente of this bo sorteggio - */ - @Override - public void setMesePrecedente(java.lang.String mesePrecedente) { - _boSorteggio.setMesePrecedente(mesePrecedente); - } - - /** - * Returns the esterna of this bo sorteggio. - * - * @return the esterna of this bo sorteggio - */ - @Override - public boolean getEsterna() { - return _boSorteggio.getEsterna(); - } - - /** - * Returns true if this bo sorteggio is esterna. - * - * @return true if this bo sorteggio is esterna; false otherwise - */ - @Override - public boolean isEsterna() { - return _boSorteggio.isEsterna(); - } - - /** - * Sets whether this bo sorteggio is esterna. - * - * @param esterna the esterna of this bo sorteggio - */ - @Override - public void setEsterna(boolean esterna) { - _boSorteggio.setEsterna(esterna); - } - - /** - * Returns the pratica esterna ID of this bo sorteggio. - * - * @return the pratica esterna ID of this bo sorteggio - */ - @Override - public long getPraticaEsternaId() { - return _boSorteggio.getPraticaEsternaId(); - } - - /** - * Sets the pratica esterna ID of this bo sorteggio. - * - * @param praticaEsternaId the pratica esterna ID of this bo sorteggio - */ - @Override - public void setPraticaEsternaId(long praticaEsternaId) { - _boSorteggio.setPraticaEsternaId(praticaEsternaId); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #isApproved()} - */ - @Override - public boolean getApproved() { - return _boSorteggio.getApproved(); - } - - /** - * Returns true if this bo sorteggio is approved. - * - * @return true if this bo sorteggio is approved; false otherwise - */ - @Override - public boolean isApproved() { - return _boSorteggio.isApproved(); - } - - /** - * Returns true if this bo sorteggio is denied. - * - * @return true if this bo sorteggio is denied; false otherwise - */ - @Override - public boolean isDenied() { - return _boSorteggio.isDenied(); - } - - /** - * Returns true if this bo sorteggio is a draft. - * - * @return true if this bo sorteggio is a draft; false otherwise - */ - @Override - public boolean isDraft() { - return _boSorteggio.isDraft(); - } - - /** - * Returns true if this bo sorteggio is expired. - * - * @return true if this bo sorteggio is expired; false otherwise - */ - @Override - public boolean isExpired() { - return _boSorteggio.isExpired(); - } - - /** - * Returns true if this bo sorteggio is inactive. - * - * @return true if this bo sorteggio is inactive; false otherwise - */ - @Override - public boolean isInactive() { - return _boSorteggio.isInactive(); - } - - /** - * Returns true if this bo sorteggio is incomplete. - * - * @return true if this bo sorteggio is incomplete; false otherwise - */ - @Override - public boolean isIncomplete() { - return _boSorteggio.isIncomplete(); - } - - /** - * Returns true if this bo sorteggio is pending. - * - * @return true if this bo sorteggio is pending; false otherwise - */ - @Override - public boolean isPending() { - return _boSorteggio.isPending(); - } - - /** - * Returns true if this bo sorteggio is scheduled. - * - * @return true if this bo sorteggio is scheduled; false otherwise - */ - @Override - public boolean isScheduled() { - return _boSorteggio.isScheduled(); - } - - @Override - public boolean isNew() { - return _boSorteggio.isNew(); - } - - @Override - public void setNew(boolean n) { - _boSorteggio.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _boSorteggio.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _boSorteggio.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _boSorteggio.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _boSorteggio.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _boSorteggio.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _boSorteggio.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _boSorteggio.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _boSorteggio.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _boSorteggio.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new BoSorteggioWrapper((BoSorteggio)_boSorteggio.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.BoSorteggio boSorteggio) { - return _boSorteggio.compareTo(boSorteggio); - } - - @Override - public int hashCode() { - return _boSorteggio.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _boSorteggio.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSorteggio toEscapedModel() { - return new BoSorteggioWrapper(_boSorteggio.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSorteggio toUnescapedModel() { - return new BoSorteggioWrapper(_boSorteggio.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _boSorteggio.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _boSorteggio.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _boSorteggio.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoSorteggioWrapper)) { - return false; - } - - BoSorteggioWrapper boSorteggioWrapper = (BoSorteggioWrapper)obj; - - if (Validator.equals(_boSorteggio, boSorteggioWrapper._boSorteggio)) { - return true; - } - - return false; - } - - @Override - public StagedModelType getStagedModelType() { - return _boSorteggio.getStagedModelType(); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public BoSorteggio getWrappedBoSorteggio() { - return _boSorteggio; - } - - @Override - public BoSorteggio getWrappedModel() { - return _boSorteggio; - } - - @Override - public void resetOriginalValues() { - _boSorteggio.resetOriginalValues(); - } - - private BoSorteggio _boSorteggio; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoStoricoSoggettoPratica.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoStoricoSoggettoPratica.java deleted file mode 100644 index fe5f8e50..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoStoricoSoggettoPratica.java +++ /dev/null @@ -1,35 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the BoStoricoSoggettoPratica service. Represents a row in the "gc_storicosoggettopratica" database table, with each column mapped to a property of this class. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoStoricoSoggettoPraticaModel - * @see it.tref.liferay.portos.portosimport.model.impl.BoStoricoSoggettoPraticaImpl - * @see it.tref.liferay.portos.portosimport.model.impl.BoStoricoSoggettoPraticaModelImpl - * @generated - */ -public interface BoStoricoSoggettoPratica extends BoStoricoSoggettoPraticaModel, - PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.portosimport.model.impl.BoStoricoSoggettoPraticaImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoStoricoSoggettoPraticaClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoStoricoSoggettoPraticaClp.java deleted file mode 100644 index db8ddbda..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoStoricoSoggettoPraticaClp.java +++ /dev/null @@ -1,665 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.DateUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.ClpSerializer; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class BoStoricoSoggettoPraticaClp extends BaseModelImpl - implements BoStoricoSoggettoPratica { - public BoStoricoSoggettoPraticaClp() { - } - - @Override - public Class getModelClass() { - return BoStoricoSoggettoPratica.class; - } - - @Override - public String getModelClassName() { - return BoStoricoSoggettoPratica.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _storicoSoggettoPraticaId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setStoricoSoggettoPraticaId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _storicoSoggettoPraticaId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("storicoSoggettoPraticaId", getStoricoSoggettoPraticaId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("nome", getNome()); - attributes.put("cognome", getCognome()); - attributes.put("codiceFiscale", getCodiceFiscale()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long storicoSoggettoPraticaId = (Long)attributes.get( - "storicoSoggettoPraticaId"); - - if (storicoSoggettoPraticaId != null) { - setStoricoSoggettoPraticaId(storicoSoggettoPraticaId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - String nome = (String)attributes.get("nome"); - - if (nome != null) { - setNome(nome); - } - - String cognome = (String)attributes.get("cognome"); - - if (cognome != null) { - setCognome(cognome); - } - - String codiceFiscale = (String)attributes.get("codiceFiscale"); - - if (codiceFiscale != null) { - setCodiceFiscale(codiceFiscale); - } - } - - @Override - public long getStoricoSoggettoPraticaId() { - return _storicoSoggettoPraticaId; - } - - @Override - public void setStoricoSoggettoPraticaId(long storicoSoggettoPraticaId) { - _storicoSoggettoPraticaId = storicoSoggettoPraticaId; - - if (_boStoricoSoggettoPraticaRemoteModel != null) { - try { - Class clazz = _boStoricoSoggettoPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setStoricoSoggettoPraticaId", - long.class); - - method.invoke(_boStoricoSoggettoPraticaRemoteModel, - storicoSoggettoPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_boStoricoSoggettoPraticaRemoteModel != null) { - try { - Class clazz = _boStoricoSoggettoPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_boStoricoSoggettoPraticaRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_boStoricoSoggettoPraticaRemoteModel != null) { - try { - Class clazz = _boStoricoSoggettoPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_boStoricoSoggettoPraticaRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_boStoricoSoggettoPraticaRemoteModel != null) { - try { - Class clazz = _boStoricoSoggettoPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_boStoricoSoggettoPraticaRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_boStoricoSoggettoPraticaRemoteModel != null) { - try { - Class clazz = _boStoricoSoggettoPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_boStoricoSoggettoPraticaRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_boStoricoSoggettoPraticaRemoteModel != null) { - try { - Class clazz = _boStoricoSoggettoPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_boStoricoSoggettoPraticaRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_boStoricoSoggettoPraticaRemoteModel != null) { - try { - Class clazz = _boStoricoSoggettoPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_boStoricoSoggettoPraticaRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getIntPraticaId() { - return _intPraticaId; - } - - @Override - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - - if (_boStoricoSoggettoPraticaRemoteModel != null) { - try { - Class clazz = _boStoricoSoggettoPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setIntPraticaId", long.class); - - method.invoke(_boStoricoSoggettoPraticaRemoteModel, intPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getNome() { - return _nome; - } - - @Override - public void setNome(String nome) { - _nome = nome; - - if (_boStoricoSoggettoPraticaRemoteModel != null) { - try { - Class clazz = _boStoricoSoggettoPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setNome", String.class); - - method.invoke(_boStoricoSoggettoPraticaRemoteModel, nome); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCognome() { - return _cognome; - } - - @Override - public void setCognome(String cognome) { - _cognome = cognome; - - if (_boStoricoSoggettoPraticaRemoteModel != null) { - try { - Class clazz = _boStoricoSoggettoPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCognome", String.class); - - method.invoke(_boStoricoSoggettoPraticaRemoteModel, cognome); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodiceFiscale() { - return _codiceFiscale; - } - - @Override - public void setCodiceFiscale(String codiceFiscale) { - _codiceFiscale = codiceFiscale; - - if (_boStoricoSoggettoPraticaRemoteModel != null) { - try { - Class clazz = _boStoricoSoggettoPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodiceFiscale", String.class); - - method.invoke(_boStoricoSoggettoPraticaRemoteModel, - codiceFiscale); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - public BaseModel getBoStoricoSoggettoPraticaRemoteModel() { - return _boStoricoSoggettoPraticaRemoteModel; - } - - public void setBoStoricoSoggettoPraticaRemoteModel( - BaseModel boStoricoSoggettoPraticaRemoteModel) { - _boStoricoSoggettoPraticaRemoteModel = boStoricoSoggettoPraticaRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _boStoricoSoggettoPraticaRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_boStoricoSoggettoPraticaRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoStoricoSoggettoPraticaLocalServiceUtil.addBoStoricoSoggettoPratica(this); - } - else { - BoStoricoSoggettoPraticaLocalServiceUtil.updateBoStoricoSoggettoPratica(this); - } - } - - @Override - public BoStoricoSoggettoPratica toEscapedModel() { - return (BoStoricoSoggettoPratica)ProxyUtil.newProxyInstance(BoStoricoSoggettoPratica.class.getClassLoader(), - new Class[] { BoStoricoSoggettoPratica.class }, - new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - BoStoricoSoggettoPraticaClp clone = new BoStoricoSoggettoPraticaClp(); - - clone.setStoricoSoggettoPraticaId(getStoricoSoggettoPraticaId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setGroupId(getGroupId()); - clone.setIntPraticaId(getIntPraticaId()); - clone.setNome(getNome()); - clone.setCognome(getCognome()); - clone.setCodiceFiscale(getCodiceFiscale()); - - return clone; - } - - @Override - public int compareTo(BoStoricoSoggettoPratica boStoricoSoggettoPratica) { - int value = 0; - - value = DateUtil.compareTo(getCreateDate(), - boStoricoSoggettoPratica.getCreateDate()); - - if (value != 0) { - return value; - } - - return 0; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoStoricoSoggettoPraticaClp)) { - return false; - } - - BoStoricoSoggettoPraticaClp boStoricoSoggettoPratica = (BoStoricoSoggettoPraticaClp)obj; - - long primaryKey = boStoricoSoggettoPratica.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(23); - - sb.append("{storicoSoggettoPraticaId="); - sb.append(getStoricoSoggettoPraticaId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", intPraticaId="); - sb.append(getIntPraticaId()); - sb.append(", nome="); - sb.append(getNome()); - sb.append(", cognome="); - sb.append(getCognome()); - sb.append(", codiceFiscale="); - sb.append(getCodiceFiscale()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(37); - - sb.append(""); - sb.append( - "it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica"); - sb.append(""); - - sb.append( - "storicoSoggettoPraticaId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "intPraticaId"); - sb.append( - "nome"); - sb.append( - "cognome"); - sb.append( - "codiceFiscale"); - - sb.append(""); - - return sb.toString(); - } - - private long _storicoSoggettoPraticaId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _intPraticaId; - private String _nome; - private String _cognome; - private String _codiceFiscale; - private BaseModel _boStoricoSoggettoPraticaRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.portosimport.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoStoricoSoggettoPraticaModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoStoricoSoggettoPraticaModel.java deleted file mode 100644 index 5719cee3..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoStoricoSoggettoPraticaModel.java +++ /dev/null @@ -1,309 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.GroupedModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the BoStoricoSoggettoPratica service. Represents a row in the "gc_storicosoggettopratica" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.portosimport.model.impl.BoStoricoSoggettoPraticaModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.portosimport.model.impl.BoStoricoSoggettoPraticaImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoStoricoSoggettoPratica - * @see it.tref.liferay.portos.portosimport.model.impl.BoStoricoSoggettoPraticaImpl - * @see it.tref.liferay.portos.portosimport.model.impl.BoStoricoSoggettoPraticaModelImpl - * @generated - */ -public interface BoStoricoSoggettoPraticaModel extends BaseModel, - GroupedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a bo storico soggetto pratica model instance should use the {@link BoStoricoSoggettoPratica} interface instead. - */ - - /** - * Returns the primary key of this bo storico soggetto pratica. - * - * @return the primary key of this bo storico soggetto pratica - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this bo storico soggetto pratica. - * - * @param primaryKey the primary key of this bo storico soggetto pratica - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the storico soggetto pratica ID of this bo storico soggetto pratica. - * - * @return the storico soggetto pratica ID of this bo storico soggetto pratica - */ - public long getStoricoSoggettoPraticaId(); - - /** - * Sets the storico soggetto pratica ID of this bo storico soggetto pratica. - * - * @param storicoSoggettoPraticaId the storico soggetto pratica ID of this bo storico soggetto pratica - */ - public void setStoricoSoggettoPraticaId(long storicoSoggettoPraticaId); - - /** - * Returns the company ID of this bo storico soggetto pratica. - * - * @return the company ID of this bo storico soggetto pratica - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this bo storico soggetto pratica. - * - * @param companyId the company ID of this bo storico soggetto pratica - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this bo storico soggetto pratica. - * - * @return the user ID of this bo storico soggetto pratica - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this bo storico soggetto pratica. - * - * @param userId the user ID of this bo storico soggetto pratica - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this bo storico soggetto pratica. - * - * @return the user uuid of this bo storico soggetto pratica - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this bo storico soggetto pratica. - * - * @param userUuid the user uuid of this bo storico soggetto pratica - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this bo storico soggetto pratica. - * - * @return the user name of this bo storico soggetto pratica - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this bo storico soggetto pratica. - * - * @param userName the user name of this bo storico soggetto pratica - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this bo storico soggetto pratica. - * - * @return the create date of this bo storico soggetto pratica - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this bo storico soggetto pratica. - * - * @param createDate the create date of this bo storico soggetto pratica - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this bo storico soggetto pratica. - * - * @return the modified date of this bo storico soggetto pratica - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this bo storico soggetto pratica. - * - * @param modifiedDate the modified date of this bo storico soggetto pratica - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the group ID of this bo storico soggetto pratica. - * - * @return the group ID of this bo storico soggetto pratica - */ - @Override - public long getGroupId(); - - /** - * Sets the group ID of this bo storico soggetto pratica. - * - * @param groupId the group ID of this bo storico soggetto pratica - */ - @Override - public void setGroupId(long groupId); - - /** - * Returns the int pratica ID of this bo storico soggetto pratica. - * - * @return the int pratica ID of this bo storico soggetto pratica - */ - public long getIntPraticaId(); - - /** - * Sets the int pratica ID of this bo storico soggetto pratica. - * - * @param intPraticaId the int pratica ID of this bo storico soggetto pratica - */ - public void setIntPraticaId(long intPraticaId); - - /** - * Returns the nome of this bo storico soggetto pratica. - * - * @return the nome of this bo storico soggetto pratica - */ - @AutoEscape - public String getNome(); - - /** - * Sets the nome of this bo storico soggetto pratica. - * - * @param nome the nome of this bo storico soggetto pratica - */ - public void setNome(String nome); - - /** - * Returns the cognome of this bo storico soggetto pratica. - * - * @return the cognome of this bo storico soggetto pratica - */ - @AutoEscape - public String getCognome(); - - /** - * Sets the cognome of this bo storico soggetto pratica. - * - * @param cognome the cognome of this bo storico soggetto pratica - */ - public void setCognome(String cognome); - - /** - * Returns the codice fiscale of this bo storico soggetto pratica. - * - * @return the codice fiscale of this bo storico soggetto pratica - */ - @AutoEscape - public String getCodiceFiscale(); - - /** - * Sets the codice fiscale of this bo storico soggetto pratica. - * - * @param codiceFiscale the codice fiscale of this bo storico soggetto pratica - */ - public void setCodiceFiscale(String codiceFiscale); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica toEscapedModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoStoricoSoggettoPraticaSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoStoricoSoggettoPraticaSoap.java deleted file mode 100644 index f68158f0..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoStoricoSoggettoPraticaSoap.java +++ /dev/null @@ -1,199 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoStoricoSoggettoPraticaSoap implements Serializable { - public static BoStoricoSoggettoPraticaSoap toSoapModel( - BoStoricoSoggettoPratica model) { - BoStoricoSoggettoPraticaSoap soapModel = new BoStoricoSoggettoPraticaSoap(); - - soapModel.setStoricoSoggettoPraticaId(model.getStoricoSoggettoPraticaId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setIntPraticaId(model.getIntPraticaId()); - soapModel.setNome(model.getNome()); - soapModel.setCognome(model.getCognome()); - soapModel.setCodiceFiscale(model.getCodiceFiscale()); - - return soapModel; - } - - public static BoStoricoSoggettoPraticaSoap[] toSoapModels( - BoStoricoSoggettoPratica[] models) { - BoStoricoSoggettoPraticaSoap[] soapModels = new BoStoricoSoggettoPraticaSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static BoStoricoSoggettoPraticaSoap[][] toSoapModels( - BoStoricoSoggettoPratica[][] models) { - BoStoricoSoggettoPraticaSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new BoStoricoSoggettoPraticaSoap[models.length][models[0].length]; - } - else { - soapModels = new BoStoricoSoggettoPraticaSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static BoStoricoSoggettoPraticaSoap[] toSoapModels( - List models) { - List soapModels = new ArrayList(models.size()); - - for (BoStoricoSoggettoPratica model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new BoStoricoSoggettoPraticaSoap[soapModels.size()]); - } - - public BoStoricoSoggettoPraticaSoap() { - } - - public long getPrimaryKey() { - return _storicoSoggettoPraticaId; - } - - public void setPrimaryKey(long pk) { - setStoricoSoggettoPraticaId(pk); - } - - public long getStoricoSoggettoPraticaId() { - return _storicoSoggettoPraticaId; - } - - public void setStoricoSoggettoPraticaId(long storicoSoggettoPraticaId) { - _storicoSoggettoPraticaId = storicoSoggettoPraticaId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public long getIntPraticaId() { - return _intPraticaId; - } - - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - } - - public String getNome() { - return _nome; - } - - public void setNome(String nome) { - _nome = nome; - } - - public String getCognome() { - return _cognome; - } - - public void setCognome(String cognome) { - _cognome = cognome; - } - - public String getCodiceFiscale() { - return _codiceFiscale; - } - - public void setCodiceFiscale(String codiceFiscale) { - _codiceFiscale = codiceFiscale; - } - - private long _storicoSoggettoPraticaId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _intPraticaId; - private String _nome; - private String _cognome; - private String _codiceFiscale; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoStoricoSoggettoPraticaWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoStoricoSoggettoPraticaWrapper.java deleted file mode 100644 index bcd7773e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoStoricoSoggettoPraticaWrapper.java +++ /dev/null @@ -1,544 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link BoStoricoSoggettoPratica}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoStoricoSoggettoPratica - * @generated - */ -public class BoStoricoSoggettoPraticaWrapper implements BoStoricoSoggettoPratica, - ModelWrapper { - public BoStoricoSoggettoPraticaWrapper( - BoStoricoSoggettoPratica boStoricoSoggettoPratica) { - _boStoricoSoggettoPratica = boStoricoSoggettoPratica; - } - - @Override - public Class getModelClass() { - return BoStoricoSoggettoPratica.class; - } - - @Override - public String getModelClassName() { - return BoStoricoSoggettoPratica.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("storicoSoggettoPraticaId", getStoricoSoggettoPraticaId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("nome", getNome()); - attributes.put("cognome", getCognome()); - attributes.put("codiceFiscale", getCodiceFiscale()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long storicoSoggettoPraticaId = (Long)attributes.get( - "storicoSoggettoPraticaId"); - - if (storicoSoggettoPraticaId != null) { - setStoricoSoggettoPraticaId(storicoSoggettoPraticaId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - String nome = (String)attributes.get("nome"); - - if (nome != null) { - setNome(nome); - } - - String cognome = (String)attributes.get("cognome"); - - if (cognome != null) { - setCognome(cognome); - } - - String codiceFiscale = (String)attributes.get("codiceFiscale"); - - if (codiceFiscale != null) { - setCodiceFiscale(codiceFiscale); - } - } - - /** - * Returns the primary key of this bo storico soggetto pratica. - * - * @return the primary key of this bo storico soggetto pratica - */ - @Override - public long getPrimaryKey() { - return _boStoricoSoggettoPratica.getPrimaryKey(); - } - - /** - * Sets the primary key of this bo storico soggetto pratica. - * - * @param primaryKey the primary key of this bo storico soggetto pratica - */ - @Override - public void setPrimaryKey(long primaryKey) { - _boStoricoSoggettoPratica.setPrimaryKey(primaryKey); - } - - /** - * Returns the storico soggetto pratica ID of this bo storico soggetto pratica. - * - * @return the storico soggetto pratica ID of this bo storico soggetto pratica - */ - @Override - public long getStoricoSoggettoPraticaId() { - return _boStoricoSoggettoPratica.getStoricoSoggettoPraticaId(); - } - - /** - * Sets the storico soggetto pratica ID of this bo storico soggetto pratica. - * - * @param storicoSoggettoPraticaId the storico soggetto pratica ID of this bo storico soggetto pratica - */ - @Override - public void setStoricoSoggettoPraticaId(long storicoSoggettoPraticaId) { - _boStoricoSoggettoPratica.setStoricoSoggettoPraticaId(storicoSoggettoPraticaId); - } - - /** - * Returns the company ID of this bo storico soggetto pratica. - * - * @return the company ID of this bo storico soggetto pratica - */ - @Override - public long getCompanyId() { - return _boStoricoSoggettoPratica.getCompanyId(); - } - - /** - * Sets the company ID of this bo storico soggetto pratica. - * - * @param companyId the company ID of this bo storico soggetto pratica - */ - @Override - public void setCompanyId(long companyId) { - _boStoricoSoggettoPratica.setCompanyId(companyId); - } - - /** - * Returns the user ID of this bo storico soggetto pratica. - * - * @return the user ID of this bo storico soggetto pratica - */ - @Override - public long getUserId() { - return _boStoricoSoggettoPratica.getUserId(); - } - - /** - * Sets the user ID of this bo storico soggetto pratica. - * - * @param userId the user ID of this bo storico soggetto pratica - */ - @Override - public void setUserId(long userId) { - _boStoricoSoggettoPratica.setUserId(userId); - } - - /** - * Returns the user uuid of this bo storico soggetto pratica. - * - * @return the user uuid of this bo storico soggetto pratica - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _boStoricoSoggettoPratica.getUserUuid(); - } - - /** - * Sets the user uuid of this bo storico soggetto pratica. - * - * @param userUuid the user uuid of this bo storico soggetto pratica - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _boStoricoSoggettoPratica.setUserUuid(userUuid); - } - - /** - * Returns the user name of this bo storico soggetto pratica. - * - * @return the user name of this bo storico soggetto pratica - */ - @Override - public java.lang.String getUserName() { - return _boStoricoSoggettoPratica.getUserName(); - } - - /** - * Sets the user name of this bo storico soggetto pratica. - * - * @param userName the user name of this bo storico soggetto pratica - */ - @Override - public void setUserName(java.lang.String userName) { - _boStoricoSoggettoPratica.setUserName(userName); - } - - /** - * Returns the create date of this bo storico soggetto pratica. - * - * @return the create date of this bo storico soggetto pratica - */ - @Override - public java.util.Date getCreateDate() { - return _boStoricoSoggettoPratica.getCreateDate(); - } - - /** - * Sets the create date of this bo storico soggetto pratica. - * - * @param createDate the create date of this bo storico soggetto pratica - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _boStoricoSoggettoPratica.setCreateDate(createDate); - } - - /** - * Returns the modified date of this bo storico soggetto pratica. - * - * @return the modified date of this bo storico soggetto pratica - */ - @Override - public java.util.Date getModifiedDate() { - return _boStoricoSoggettoPratica.getModifiedDate(); - } - - /** - * Sets the modified date of this bo storico soggetto pratica. - * - * @param modifiedDate the modified date of this bo storico soggetto pratica - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _boStoricoSoggettoPratica.setModifiedDate(modifiedDate); - } - - /** - * Returns the group ID of this bo storico soggetto pratica. - * - * @return the group ID of this bo storico soggetto pratica - */ - @Override - public long getGroupId() { - return _boStoricoSoggettoPratica.getGroupId(); - } - - /** - * Sets the group ID of this bo storico soggetto pratica. - * - * @param groupId the group ID of this bo storico soggetto pratica - */ - @Override - public void setGroupId(long groupId) { - _boStoricoSoggettoPratica.setGroupId(groupId); - } - - /** - * Returns the int pratica ID of this bo storico soggetto pratica. - * - * @return the int pratica ID of this bo storico soggetto pratica - */ - @Override - public long getIntPraticaId() { - return _boStoricoSoggettoPratica.getIntPraticaId(); - } - - /** - * Sets the int pratica ID of this bo storico soggetto pratica. - * - * @param intPraticaId the int pratica ID of this bo storico soggetto pratica - */ - @Override - public void setIntPraticaId(long intPraticaId) { - _boStoricoSoggettoPratica.setIntPraticaId(intPraticaId); - } - - /** - * Returns the nome of this bo storico soggetto pratica. - * - * @return the nome of this bo storico soggetto pratica - */ - @Override - public java.lang.String getNome() { - return _boStoricoSoggettoPratica.getNome(); - } - - /** - * Sets the nome of this bo storico soggetto pratica. - * - * @param nome the nome of this bo storico soggetto pratica - */ - @Override - public void setNome(java.lang.String nome) { - _boStoricoSoggettoPratica.setNome(nome); - } - - /** - * Returns the cognome of this bo storico soggetto pratica. - * - * @return the cognome of this bo storico soggetto pratica - */ - @Override - public java.lang.String getCognome() { - return _boStoricoSoggettoPratica.getCognome(); - } - - /** - * Sets the cognome of this bo storico soggetto pratica. - * - * @param cognome the cognome of this bo storico soggetto pratica - */ - @Override - public void setCognome(java.lang.String cognome) { - _boStoricoSoggettoPratica.setCognome(cognome); - } - - /** - * Returns the codice fiscale of this bo storico soggetto pratica. - * - * @return the codice fiscale of this bo storico soggetto pratica - */ - @Override - public java.lang.String getCodiceFiscale() { - return _boStoricoSoggettoPratica.getCodiceFiscale(); - } - - /** - * Sets the codice fiscale of this bo storico soggetto pratica. - * - * @param codiceFiscale the codice fiscale of this bo storico soggetto pratica - */ - @Override - public void setCodiceFiscale(java.lang.String codiceFiscale) { - _boStoricoSoggettoPratica.setCodiceFiscale(codiceFiscale); - } - - @Override - public boolean isNew() { - return _boStoricoSoggettoPratica.isNew(); - } - - @Override - public void setNew(boolean n) { - _boStoricoSoggettoPratica.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _boStoricoSoggettoPratica.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _boStoricoSoggettoPratica.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _boStoricoSoggettoPratica.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _boStoricoSoggettoPratica.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _boStoricoSoggettoPratica.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _boStoricoSoggettoPratica.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _boStoricoSoggettoPratica.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _boStoricoSoggettoPratica.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _boStoricoSoggettoPratica.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new BoStoricoSoggettoPraticaWrapper((BoStoricoSoggettoPratica)_boStoricoSoggettoPratica.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica) { - return _boStoricoSoggettoPratica.compareTo(boStoricoSoggettoPratica); - } - - @Override - public int hashCode() { - return _boStoricoSoggettoPratica.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _boStoricoSoggettoPratica.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica toEscapedModel() { - return new BoStoricoSoggettoPraticaWrapper(_boStoricoSoggettoPratica.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica toUnescapedModel() { - return new BoStoricoSoggettoPraticaWrapper(_boStoricoSoggettoPratica.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _boStoricoSoggettoPratica.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _boStoricoSoggettoPratica.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _boStoricoSoggettoPratica.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoStoricoSoggettoPraticaWrapper)) { - return false; - } - - BoStoricoSoggettoPraticaWrapper boStoricoSoggettoPraticaWrapper = (BoStoricoSoggettoPraticaWrapper)obj; - - if (Validator.equals(_boStoricoSoggettoPratica, - boStoricoSoggettoPraticaWrapper._boStoricoSoggettoPratica)) { - return true; - } - - return false; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public BoStoricoSoggettoPratica getWrappedBoStoricoSoggettoPratica() { - return _boStoricoSoggettoPratica; - } - - @Override - public BoStoricoSoggettoPratica getWrappedModel() { - return _boStoricoSoggettoPratica; - } - - @Override - public void resetOriginalValues() { - _boStoricoSoggettoPratica.resetOriginalValues(); - } - - private BoStoricoSoggettoPratica _boStoricoSoggettoPratica; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoTempistica.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoTempistica.java deleted file mode 100644 index 11bf2671..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoTempistica.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the BoTempistica service. Represents a row in the "gc_tempistica" database table, with each column mapped to a property of this class. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoTempisticaModel - * @see it.tref.liferay.portos.portosimport.model.impl.BoTempisticaImpl - * @see it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl - * @generated - */ -public interface BoTempistica extends BoTempisticaModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoTempisticaClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoTempisticaClp.java deleted file mode 100644 index a12f91fd..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoTempisticaClp.java +++ /dev/null @@ -1,822 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.portosimport.service.BoTempisticaLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.ClpSerializer; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class BoTempisticaClp extends BaseModelImpl - implements BoTempistica { - public BoTempisticaClp() { - } - - @Override - public Class getModelClass() { - return BoTempistica.class; - } - - @Override - public String getModelClassName() { - return BoTempistica.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _tempisticaId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setTempisticaId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _tempisticaId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("tempisticaId", getTempisticaId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("tipo", getTipo()); - attributes.put("start", getStart()); - attributes.put("stop", getStop()); - attributes.put("wait", getWait()); - attributes.put("completo", getCompleto()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long tempisticaId = (Long)attributes.get("tempisticaId"); - - if (tempisticaId != null) { - setTempisticaId(tempisticaId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - String tipo = (String)attributes.get("tipo"); - - if (tipo != null) { - setTipo(tipo); - } - - Long start = (Long)attributes.get("start"); - - if (start != null) { - setStart(start); - } - - Long stop = (Long)attributes.get("stop"); - - if (stop != null) { - setStop(stop); - } - - Long wait = (Long)attributes.get("wait"); - - if (wait != null) { - setWait(wait); - } - - Boolean completo = (Boolean)attributes.get("completo"); - - if (completo != null) { - setCompleto(completo); - } - } - - @Override - public String getUuid() { - return _uuid; - } - - @Override - public void setUuid(String uuid) { - _uuid = uuid; - - if (_boTempisticaRemoteModel != null) { - try { - Class clazz = _boTempisticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setUuid", String.class); - - method.invoke(_boTempisticaRemoteModel, uuid); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getTempisticaId() { - return _tempisticaId; - } - - @Override - public void setTempisticaId(long tempisticaId) { - _tempisticaId = tempisticaId; - - if (_boTempisticaRemoteModel != null) { - try { - Class clazz = _boTempisticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setTempisticaId", long.class); - - method.invoke(_boTempisticaRemoteModel, tempisticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_boTempisticaRemoteModel != null) { - try { - Class clazz = _boTempisticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_boTempisticaRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_boTempisticaRemoteModel != null) { - try { - Class clazz = _boTempisticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_boTempisticaRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_boTempisticaRemoteModel != null) { - try { - Class clazz = _boTempisticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_boTempisticaRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_boTempisticaRemoteModel != null) { - try { - Class clazz = _boTempisticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_boTempisticaRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_boTempisticaRemoteModel != null) { - try { - Class clazz = _boTempisticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_boTempisticaRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_boTempisticaRemoteModel != null) { - try { - Class clazz = _boTempisticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_boTempisticaRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getIntPraticaId() { - return _intPraticaId; - } - - @Override - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - - if (_boTempisticaRemoteModel != null) { - try { - Class clazz = _boTempisticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setIntPraticaId", long.class); - - method.invoke(_boTempisticaRemoteModel, intPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getDettPraticaId() { - return _dettPraticaId; - } - - @Override - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - - if (_boTempisticaRemoteModel != null) { - try { - Class clazz = _boTempisticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDettPraticaId", long.class); - - method.invoke(_boTempisticaRemoteModel, dettPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getTipo() { - return _tipo; - } - - @Override - public void setTipo(String tipo) { - _tipo = tipo; - - if (_boTempisticaRemoteModel != null) { - try { - Class clazz = _boTempisticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setTipo", String.class); - - method.invoke(_boTempisticaRemoteModel, tipo); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getStart() { - return _start; - } - - @Override - public void setStart(long start) { - _start = start; - - if (_boTempisticaRemoteModel != null) { - try { - Class clazz = _boTempisticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setStart", long.class); - - method.invoke(_boTempisticaRemoteModel, start); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getStop() { - return _stop; - } - - @Override - public void setStop(long stop) { - _stop = stop; - - if (_boTempisticaRemoteModel != null) { - try { - Class clazz = _boTempisticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setStop", long.class); - - method.invoke(_boTempisticaRemoteModel, stop); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getWait() { - return _wait; - } - - @Override - public void setWait(long wait) { - _wait = wait; - - if (_boTempisticaRemoteModel != null) { - try { - Class clazz = _boTempisticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setWait", long.class); - - method.invoke(_boTempisticaRemoteModel, wait); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getCompleto() { - return _completo; - } - - @Override - public boolean isCompleto() { - return _completo; - } - - @Override - public void setCompleto(boolean completo) { - _completo = completo; - - if (_boTempisticaRemoteModel != null) { - try { - Class clazz = _boTempisticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompleto", boolean.class); - - method.invoke(_boTempisticaRemoteModel, completo); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoTempistica.class.getName())); - } - - public BaseModel getBoTempisticaRemoteModel() { - return _boTempisticaRemoteModel; - } - - public void setBoTempisticaRemoteModel(BaseModel boTempisticaRemoteModel) { - _boTempisticaRemoteModel = boTempisticaRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _boTempisticaRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_boTempisticaRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoTempisticaLocalServiceUtil.addBoTempistica(this); - } - else { - BoTempisticaLocalServiceUtil.updateBoTempistica(this); - } - } - - @Override - public BoTempistica toEscapedModel() { - return (BoTempistica)ProxyUtil.newProxyInstance(BoTempistica.class.getClassLoader(), - new Class[] { BoTempistica.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - BoTempisticaClp clone = new BoTempisticaClp(); - - clone.setUuid(getUuid()); - clone.setTempisticaId(getTempisticaId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setGroupId(getGroupId()); - clone.setIntPraticaId(getIntPraticaId()); - clone.setDettPraticaId(getDettPraticaId()); - clone.setTipo(getTipo()); - clone.setStart(getStart()); - clone.setStop(getStop()); - clone.setWait(getWait()); - clone.setCompleto(getCompleto()); - - return clone; - } - - @Override - public int compareTo(BoTempistica boTempistica) { - long primaryKey = boTempistica.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoTempisticaClp)) { - return false; - } - - BoTempisticaClp boTempistica = (BoTempisticaClp)obj; - - long primaryKey = boTempistica.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(31); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", tempisticaId="); - sb.append(getTempisticaId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", intPraticaId="); - sb.append(getIntPraticaId()); - sb.append(", dettPraticaId="); - sb.append(getDettPraticaId()); - sb.append(", tipo="); - sb.append(getTipo()); - sb.append(", start="); - sb.append(getStart()); - sb.append(", stop="); - sb.append(getStop()); - sb.append(", wait="); - sb.append(getWait()); - sb.append(", completo="); - sb.append(getCompleto()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(49); - - sb.append(""); - sb.append("it.tref.liferay.portos.portosimport.model.BoTempistica"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "tempisticaId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "intPraticaId"); - sb.append( - "dettPraticaId"); - sb.append( - "tipo"); - sb.append( - "start"); - sb.append( - "stop"); - sb.append( - "wait"); - sb.append( - "completo"); - - sb.append(""); - - return sb.toString(); - } - - private String _uuid; - private long _tempisticaId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _intPraticaId; - private long _dettPraticaId; - private String _tipo; - private long _start; - private long _stop; - private long _wait; - private boolean _completo; - private BaseModel _boTempisticaRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.portosimport.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoTempisticaModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoTempisticaModel.java deleted file mode 100644 index 646d1472..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoTempisticaModel.java +++ /dev/null @@ -1,373 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.StagedGroupedModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the BoTempistica service. Represents a row in the "gc_tempistica" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoTempistica - * @see it.tref.liferay.portos.portosimport.model.impl.BoTempisticaImpl - * @see it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl - * @generated - */ -public interface BoTempisticaModel extends BaseModel, - StagedGroupedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a bo tempistica model instance should use the {@link BoTempistica} interface instead. - */ - - /** - * Returns the primary key of this bo tempistica. - * - * @return the primary key of this bo tempistica - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this bo tempistica. - * - * @param primaryKey the primary key of this bo tempistica - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the uuid of this bo tempistica. - * - * @return the uuid of this bo tempistica - */ - @AutoEscape - @Override - public String getUuid(); - - /** - * Sets the uuid of this bo tempistica. - * - * @param uuid the uuid of this bo tempistica - */ - @Override - public void setUuid(String uuid); - - /** - * Returns the tempistica ID of this bo tempistica. - * - * @return the tempistica ID of this bo tempistica - */ - public long getTempisticaId(); - - /** - * Sets the tempistica ID of this bo tempistica. - * - * @param tempisticaId the tempistica ID of this bo tempistica - */ - public void setTempisticaId(long tempisticaId); - - /** - * Returns the company ID of this bo tempistica. - * - * @return the company ID of this bo tempistica - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this bo tempistica. - * - * @param companyId the company ID of this bo tempistica - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this bo tempistica. - * - * @return the user ID of this bo tempistica - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this bo tempistica. - * - * @param userId the user ID of this bo tempistica - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this bo tempistica. - * - * @return the user uuid of this bo tempistica - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this bo tempistica. - * - * @param userUuid the user uuid of this bo tempistica - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this bo tempistica. - * - * @return the user name of this bo tempistica - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this bo tempistica. - * - * @param userName the user name of this bo tempistica - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this bo tempistica. - * - * @return the create date of this bo tempistica - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this bo tempistica. - * - * @param createDate the create date of this bo tempistica - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this bo tempistica. - * - * @return the modified date of this bo tempistica - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this bo tempistica. - * - * @param modifiedDate the modified date of this bo tempistica - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the group ID of this bo tempistica. - * - * @return the group ID of this bo tempistica - */ - @Override - public long getGroupId(); - - /** - * Sets the group ID of this bo tempistica. - * - * @param groupId the group ID of this bo tempistica - */ - @Override - public void setGroupId(long groupId); - - /** - * Returns the int pratica ID of this bo tempistica. - * - * @return the int pratica ID of this bo tempistica - */ - public long getIntPraticaId(); - - /** - * Sets the int pratica ID of this bo tempistica. - * - * @param intPraticaId the int pratica ID of this bo tempistica - */ - public void setIntPraticaId(long intPraticaId); - - /** - * Returns the dett pratica ID of this bo tempistica. - * - * @return the dett pratica ID of this bo tempistica - */ - public long getDettPraticaId(); - - /** - * Sets the dett pratica ID of this bo tempistica. - * - * @param dettPraticaId the dett pratica ID of this bo tempistica - */ - public void setDettPraticaId(long dettPraticaId); - - /** - * Returns the tipo of this bo tempistica. - * - * @return the tipo of this bo tempistica - */ - @AutoEscape - public String getTipo(); - - /** - * Sets the tipo of this bo tempistica. - * - * @param tipo the tipo of this bo tempistica - */ - public void setTipo(String tipo); - - /** - * Returns the start of this bo tempistica. - * - * @return the start of this bo tempistica - */ - public long getStart(); - - /** - * Sets the start of this bo tempistica. - * - * @param start the start of this bo tempistica - */ - public void setStart(long start); - - /** - * Returns the stop of this bo tempistica. - * - * @return the stop of this bo tempistica - */ - public long getStop(); - - /** - * Sets the stop of this bo tempistica. - * - * @param stop the stop of this bo tempistica - */ - public void setStop(long stop); - - /** - * Returns the wait of this bo tempistica. - * - * @return the wait of this bo tempistica - */ - public long getWait(); - - /** - * Sets the wait of this bo tempistica. - * - * @param wait the wait of this bo tempistica - */ - public void setWait(long wait); - - /** - * Returns the completo of this bo tempistica. - * - * @return the completo of this bo tempistica - */ - public boolean getCompleto(); - - /** - * Returns true if this bo tempistica is completo. - * - * @return true if this bo tempistica is completo; false otherwise - */ - public boolean isCompleto(); - - /** - * Sets whether this bo tempistica is completo. - * - * @param completo the completo of this bo tempistica - */ - public void setCompleto(boolean completo); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.BoTempistica boTempistica); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.BoTempistica toEscapedModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.BoTempistica toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoTempisticaSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoTempisticaSoap.java deleted file mode 100644 index c82f4bba..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoTempisticaSoap.java +++ /dev/null @@ -1,239 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoTempisticaSoap implements Serializable { - public static BoTempisticaSoap toSoapModel(BoTempistica model) { - BoTempisticaSoap soapModel = new BoTempisticaSoap(); - - soapModel.setUuid(model.getUuid()); - soapModel.setTempisticaId(model.getTempisticaId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setIntPraticaId(model.getIntPraticaId()); - soapModel.setDettPraticaId(model.getDettPraticaId()); - soapModel.setTipo(model.getTipo()); - soapModel.setStart(model.getStart()); - soapModel.setStop(model.getStop()); - soapModel.setWait(model.getWait()); - soapModel.setCompleto(model.getCompleto()); - - return soapModel; - } - - public static BoTempisticaSoap[] toSoapModels(BoTempistica[] models) { - BoTempisticaSoap[] soapModels = new BoTempisticaSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static BoTempisticaSoap[][] toSoapModels(BoTempistica[][] models) { - BoTempisticaSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new BoTempisticaSoap[models.length][models[0].length]; - } - else { - soapModels = new BoTempisticaSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static BoTempisticaSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (BoTempistica model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new BoTempisticaSoap[soapModels.size()]); - } - - public BoTempisticaSoap() { - } - - public long getPrimaryKey() { - return _tempisticaId; - } - - public void setPrimaryKey(long pk) { - setTempisticaId(pk); - } - - public String getUuid() { - return _uuid; - } - - public void setUuid(String uuid) { - _uuid = uuid; - } - - public long getTempisticaId() { - return _tempisticaId; - } - - public void setTempisticaId(long tempisticaId) { - _tempisticaId = tempisticaId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public long getIntPraticaId() { - return _intPraticaId; - } - - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - } - - public long getDettPraticaId() { - return _dettPraticaId; - } - - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - } - - public String getTipo() { - return _tipo; - } - - public void setTipo(String tipo) { - _tipo = tipo; - } - - public long getStart() { - return _start; - } - - public void setStart(long start) { - _start = start; - } - - public long getStop() { - return _stop; - } - - public void setStop(long stop) { - _stop = stop; - } - - public long getWait() { - return _wait; - } - - public void setWait(long wait) { - _wait = wait; - } - - public boolean getCompleto() { - return _completo; - } - - public boolean isCompleto() { - return _completo; - } - - public void setCompleto(boolean completo) { - _completo = completo; - } - - private String _uuid; - private long _tempisticaId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _intPraticaId; - private long _dettPraticaId; - private String _tipo; - private long _start; - private long _stop; - private long _wait; - private boolean _completo; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoTempisticaWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoTempisticaWrapper.java deleted file mode 100644 index 3b24605c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoTempisticaWrapper.java +++ /dev/null @@ -1,665 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link BoTempistica}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoTempistica - * @generated - */ -public class BoTempisticaWrapper implements BoTempistica, - ModelWrapper { - public BoTempisticaWrapper(BoTempistica boTempistica) { - _boTempistica = boTempistica; - } - - @Override - public Class getModelClass() { - return BoTempistica.class; - } - - @Override - public String getModelClassName() { - return BoTempistica.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("tempisticaId", getTempisticaId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("tipo", getTipo()); - attributes.put("start", getStart()); - attributes.put("stop", getStop()); - attributes.put("wait", getWait()); - attributes.put("completo", getCompleto()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long tempisticaId = (Long)attributes.get("tempisticaId"); - - if (tempisticaId != null) { - setTempisticaId(tempisticaId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - String tipo = (String)attributes.get("tipo"); - - if (tipo != null) { - setTipo(tipo); - } - - Long start = (Long)attributes.get("start"); - - if (start != null) { - setStart(start); - } - - Long stop = (Long)attributes.get("stop"); - - if (stop != null) { - setStop(stop); - } - - Long wait = (Long)attributes.get("wait"); - - if (wait != null) { - setWait(wait); - } - - Boolean completo = (Boolean)attributes.get("completo"); - - if (completo != null) { - setCompleto(completo); - } - } - - /** - * Returns the primary key of this bo tempistica. - * - * @return the primary key of this bo tempistica - */ - @Override - public long getPrimaryKey() { - return _boTempistica.getPrimaryKey(); - } - - /** - * Sets the primary key of this bo tempistica. - * - * @param primaryKey the primary key of this bo tempistica - */ - @Override - public void setPrimaryKey(long primaryKey) { - _boTempistica.setPrimaryKey(primaryKey); - } - - /** - * Returns the uuid of this bo tempistica. - * - * @return the uuid of this bo tempistica - */ - @Override - public java.lang.String getUuid() { - return _boTempistica.getUuid(); - } - - /** - * Sets the uuid of this bo tempistica. - * - * @param uuid the uuid of this bo tempistica - */ - @Override - public void setUuid(java.lang.String uuid) { - _boTempistica.setUuid(uuid); - } - - /** - * Returns the tempistica ID of this bo tempistica. - * - * @return the tempistica ID of this bo tempistica - */ - @Override - public long getTempisticaId() { - return _boTempistica.getTempisticaId(); - } - - /** - * Sets the tempistica ID of this bo tempistica. - * - * @param tempisticaId the tempistica ID of this bo tempistica - */ - @Override - public void setTempisticaId(long tempisticaId) { - _boTempistica.setTempisticaId(tempisticaId); - } - - /** - * Returns the company ID of this bo tempistica. - * - * @return the company ID of this bo tempistica - */ - @Override - public long getCompanyId() { - return _boTempistica.getCompanyId(); - } - - /** - * Sets the company ID of this bo tempistica. - * - * @param companyId the company ID of this bo tempistica - */ - @Override - public void setCompanyId(long companyId) { - _boTempistica.setCompanyId(companyId); - } - - /** - * Returns the user ID of this bo tempistica. - * - * @return the user ID of this bo tempistica - */ - @Override - public long getUserId() { - return _boTempistica.getUserId(); - } - - /** - * Sets the user ID of this bo tempistica. - * - * @param userId the user ID of this bo tempistica - */ - @Override - public void setUserId(long userId) { - _boTempistica.setUserId(userId); - } - - /** - * Returns the user uuid of this bo tempistica. - * - * @return the user uuid of this bo tempistica - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _boTempistica.getUserUuid(); - } - - /** - * Sets the user uuid of this bo tempistica. - * - * @param userUuid the user uuid of this bo tempistica - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _boTempistica.setUserUuid(userUuid); - } - - /** - * Returns the user name of this bo tempistica. - * - * @return the user name of this bo tempistica - */ - @Override - public java.lang.String getUserName() { - return _boTempistica.getUserName(); - } - - /** - * Sets the user name of this bo tempistica. - * - * @param userName the user name of this bo tempistica - */ - @Override - public void setUserName(java.lang.String userName) { - _boTempistica.setUserName(userName); - } - - /** - * Returns the create date of this bo tempistica. - * - * @return the create date of this bo tempistica - */ - @Override - public java.util.Date getCreateDate() { - return _boTempistica.getCreateDate(); - } - - /** - * Sets the create date of this bo tempistica. - * - * @param createDate the create date of this bo tempistica - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _boTempistica.setCreateDate(createDate); - } - - /** - * Returns the modified date of this bo tempistica. - * - * @return the modified date of this bo tempistica - */ - @Override - public java.util.Date getModifiedDate() { - return _boTempistica.getModifiedDate(); - } - - /** - * Sets the modified date of this bo tempistica. - * - * @param modifiedDate the modified date of this bo tempistica - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _boTempistica.setModifiedDate(modifiedDate); - } - - /** - * Returns the group ID of this bo tempistica. - * - * @return the group ID of this bo tempistica - */ - @Override - public long getGroupId() { - return _boTempistica.getGroupId(); - } - - /** - * Sets the group ID of this bo tempistica. - * - * @param groupId the group ID of this bo tempistica - */ - @Override - public void setGroupId(long groupId) { - _boTempistica.setGroupId(groupId); - } - - /** - * Returns the int pratica ID of this bo tempistica. - * - * @return the int pratica ID of this bo tempistica - */ - @Override - public long getIntPraticaId() { - return _boTempistica.getIntPraticaId(); - } - - /** - * Sets the int pratica ID of this bo tempistica. - * - * @param intPraticaId the int pratica ID of this bo tempistica - */ - @Override - public void setIntPraticaId(long intPraticaId) { - _boTempistica.setIntPraticaId(intPraticaId); - } - - /** - * Returns the dett pratica ID of this bo tempistica. - * - * @return the dett pratica ID of this bo tempistica - */ - @Override - public long getDettPraticaId() { - return _boTempistica.getDettPraticaId(); - } - - /** - * Sets the dett pratica ID of this bo tempistica. - * - * @param dettPraticaId the dett pratica ID of this bo tempistica - */ - @Override - public void setDettPraticaId(long dettPraticaId) { - _boTempistica.setDettPraticaId(dettPraticaId); - } - - /** - * Returns the tipo of this bo tempistica. - * - * @return the tipo of this bo tempistica - */ - @Override - public java.lang.String getTipo() { - return _boTempistica.getTipo(); - } - - /** - * Sets the tipo of this bo tempistica. - * - * @param tipo the tipo of this bo tempistica - */ - @Override - public void setTipo(java.lang.String tipo) { - _boTempistica.setTipo(tipo); - } - - /** - * Returns the start of this bo tempistica. - * - * @return the start of this bo tempistica - */ - @Override - public long getStart() { - return _boTempistica.getStart(); - } - - /** - * Sets the start of this bo tempistica. - * - * @param start the start of this bo tempistica - */ - @Override - public void setStart(long start) { - _boTempistica.setStart(start); - } - - /** - * Returns the stop of this bo tempistica. - * - * @return the stop of this bo tempistica - */ - @Override - public long getStop() { - return _boTempistica.getStop(); - } - - /** - * Sets the stop of this bo tempistica. - * - * @param stop the stop of this bo tempistica - */ - @Override - public void setStop(long stop) { - _boTempistica.setStop(stop); - } - - /** - * Returns the wait of this bo tempistica. - * - * @return the wait of this bo tempistica - */ - @Override - public long getWait() { - return _boTempistica.getWait(); - } - - /** - * Sets the wait of this bo tempistica. - * - * @param wait the wait of this bo tempistica - */ - @Override - public void setWait(long wait) { - _boTempistica.setWait(wait); - } - - /** - * Returns the completo of this bo tempistica. - * - * @return the completo of this bo tempistica - */ - @Override - public boolean getCompleto() { - return _boTempistica.getCompleto(); - } - - /** - * Returns true if this bo tempistica is completo. - * - * @return true if this bo tempistica is completo; false otherwise - */ - @Override - public boolean isCompleto() { - return _boTempistica.isCompleto(); - } - - /** - * Sets whether this bo tempistica is completo. - * - * @param completo the completo of this bo tempistica - */ - @Override - public void setCompleto(boolean completo) { - _boTempistica.setCompleto(completo); - } - - @Override - public boolean isNew() { - return _boTempistica.isNew(); - } - - @Override - public void setNew(boolean n) { - _boTempistica.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _boTempistica.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _boTempistica.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _boTempistica.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _boTempistica.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _boTempistica.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _boTempistica.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _boTempistica.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _boTempistica.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _boTempistica.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new BoTempisticaWrapper((BoTempistica)_boTempistica.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.BoTempistica boTempistica) { - return _boTempistica.compareTo(boTempistica); - } - - @Override - public int hashCode() { - return _boTempistica.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _boTempistica.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoTempistica toEscapedModel() { - return new BoTempisticaWrapper(_boTempistica.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoTempistica toUnescapedModel() { - return new BoTempisticaWrapper(_boTempistica.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _boTempistica.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _boTempistica.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _boTempistica.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoTempisticaWrapper)) { - return false; - } - - BoTempisticaWrapper boTempisticaWrapper = (BoTempisticaWrapper)obj; - - if (Validator.equals(_boTempistica, boTempisticaWrapper._boTempistica)) { - return true; - } - - return false; - } - - @Override - public StagedModelType getStagedModelType() { - return _boTempistica.getStagedModelType(); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public BoTempistica getWrappedBoTempistica() { - return _boTempistica; - } - - @Override - public BoTempistica getWrappedModel() { - return _boTempistica; - } - - @Override - public void resetOriginalValues() { - _boTempistica.resetOriginalValues(); - } - - private BoTempistica _boTempistica; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoTerritorio.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoTerritorio.java deleted file mode 100644 index 9767925e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoTerritorio.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the BoTerritorio service. Represents a row in the "gc_territorio" database table, with each column mapped to a property of this class. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoTerritorioModel - * @see it.tref.liferay.portos.portosimport.model.impl.BoTerritorioImpl - * @see it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl - * @generated - */ -public interface BoTerritorio extends BoTerritorioModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoTerritorioClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoTerritorioClp.java deleted file mode 100644 index f0358f9d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoTerritorioClp.java +++ /dev/null @@ -1,696 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.portosimport.service.BoTerritorioLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.ClpSerializer; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class BoTerritorioClp extends BaseModelImpl - implements BoTerritorio { - public BoTerritorioClp() { - } - - @Override - public Class getModelClass() { - return BoTerritorio.class; - } - - @Override - public String getModelClassName() { - return BoTerritorio.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _territorioId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setTerritorioId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _territorioId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("territorioId", getTerritorioId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("zonaId", getZonaId()); - attributes.put("fasciaId", getFasciaId()); - attributes.put("comuneId", getComuneId()); - attributes.put("dtIni", getDtIni()); - attributes.put("dtFin", getDtFin()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long territorioId = (Long)attributes.get("territorioId"); - - if (territorioId != null) { - setTerritorioId(territorioId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long zonaId = (Long)attributes.get("zonaId"); - - if (zonaId != null) { - setZonaId(zonaId); - } - - Long fasciaId = (Long)attributes.get("fasciaId"); - - if (fasciaId != null) { - setFasciaId(fasciaId); - } - - Long comuneId = (Long)attributes.get("comuneId"); - - if (comuneId != null) { - setComuneId(comuneId); - } - - Date dtIni = (Date)attributes.get("dtIni"); - - if (dtIni != null) { - setDtIni(dtIni); - } - - Date dtFin = (Date)attributes.get("dtFin"); - - if (dtFin != null) { - setDtFin(dtFin); - } - } - - @Override - public long getTerritorioId() { - return _territorioId; - } - - @Override - public void setTerritorioId(long territorioId) { - _territorioId = territorioId; - - if (_boTerritorioRemoteModel != null) { - try { - Class clazz = _boTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setTerritorioId", long.class); - - method.invoke(_boTerritorioRemoteModel, territorioId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_boTerritorioRemoteModel != null) { - try { - Class clazz = _boTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_boTerritorioRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_boTerritorioRemoteModel != null) { - try { - Class clazz = _boTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_boTerritorioRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_boTerritorioRemoteModel != null) { - try { - Class clazz = _boTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_boTerritorioRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_boTerritorioRemoteModel != null) { - try { - Class clazz = _boTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_boTerritorioRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_boTerritorioRemoteModel != null) { - try { - Class clazz = _boTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_boTerritorioRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_boTerritorioRemoteModel != null) { - try { - Class clazz = _boTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_boTerritorioRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getZonaId() { - return _zonaId; - } - - @Override - public void setZonaId(long zonaId) { - _zonaId = zonaId; - - if (_boTerritorioRemoteModel != null) { - try { - Class clazz = _boTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setZonaId", long.class); - - method.invoke(_boTerritorioRemoteModel, zonaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getFasciaId() { - return _fasciaId; - } - - @Override - public void setFasciaId(long fasciaId) { - _fasciaId = fasciaId; - - if (_boTerritorioRemoteModel != null) { - try { - Class clazz = _boTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setFasciaId", long.class); - - method.invoke(_boTerritorioRemoteModel, fasciaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getComuneId() { - return _comuneId; - } - - @Override - public void setComuneId(long comuneId) { - _comuneId = comuneId; - - if (_boTerritorioRemoteModel != null) { - try { - Class clazz = _boTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setComuneId", long.class); - - method.invoke(_boTerritorioRemoteModel, comuneId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDtIni() { - return _dtIni; - } - - @Override - public void setDtIni(Date dtIni) { - _dtIni = dtIni; - - if (_boTerritorioRemoteModel != null) { - try { - Class clazz = _boTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setDtIni", Date.class); - - method.invoke(_boTerritorioRemoteModel, dtIni); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDtFin() { - return _dtFin; - } - - @Override - public void setDtFin(Date dtFin) { - _dtFin = dtFin; - - if (_boTerritorioRemoteModel != null) { - try { - Class clazz = _boTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setDtFin", Date.class); - - method.invoke(_boTerritorioRemoteModel, dtFin); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - public BaseModel getBoTerritorioRemoteModel() { - return _boTerritorioRemoteModel; - } - - public void setBoTerritorioRemoteModel(BaseModel boTerritorioRemoteModel) { - _boTerritorioRemoteModel = boTerritorioRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _boTerritorioRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_boTerritorioRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoTerritorioLocalServiceUtil.addBoTerritorio(this); - } - else { - BoTerritorioLocalServiceUtil.updateBoTerritorio(this); - } - } - - @Override - public BoTerritorio toEscapedModel() { - return (BoTerritorio)ProxyUtil.newProxyInstance(BoTerritorio.class.getClassLoader(), - new Class[] { BoTerritorio.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - BoTerritorioClp clone = new BoTerritorioClp(); - - clone.setTerritorioId(getTerritorioId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setGroupId(getGroupId()); - clone.setZonaId(getZonaId()); - clone.setFasciaId(getFasciaId()); - clone.setComuneId(getComuneId()); - clone.setDtIni(getDtIni()); - clone.setDtFin(getDtFin()); - - return clone; - } - - @Override - public int compareTo(BoTerritorio boTerritorio) { - long primaryKey = boTerritorio.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoTerritorioClp)) { - return false; - } - - BoTerritorioClp boTerritorio = (BoTerritorioClp)obj; - - long primaryKey = boTerritorio.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(25); - - sb.append("{territorioId="); - sb.append(getTerritorioId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", zonaId="); - sb.append(getZonaId()); - sb.append(", fasciaId="); - sb.append(getFasciaId()); - sb.append(", comuneId="); - sb.append(getComuneId()); - sb.append(", dtIni="); - sb.append(getDtIni()); - sb.append(", dtFin="); - sb.append(getDtFin()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(40); - - sb.append(""); - sb.append("it.tref.liferay.portos.portosimport.model.BoTerritorio"); - sb.append(""); - - sb.append( - "territorioId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "zonaId"); - sb.append( - "fasciaId"); - sb.append( - "comuneId"); - sb.append( - "dtIni"); - sb.append( - "dtFin"); - - sb.append(""); - - return sb.toString(); - } - - private long _territorioId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _zonaId; - private long _fasciaId; - private long _comuneId; - private Date _dtIni; - private Date _dtFin; - private BaseModel _boTerritorioRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.portosimport.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoTerritorioModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoTerritorioModel.java deleted file mode 100644 index 247e65f0..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoTerritorioModel.java +++ /dev/null @@ -1,319 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.GroupedModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the BoTerritorio service. Represents a row in the "gc_territorio" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoTerritorio - * @see it.tref.liferay.portos.portosimport.model.impl.BoTerritorioImpl - * @see it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl - * @generated - */ -public interface BoTerritorioModel extends BaseModel, GroupedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a bo territorio model instance should use the {@link BoTerritorio} interface instead. - */ - - /** - * Returns the primary key of this bo territorio. - * - * @return the primary key of this bo territorio - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this bo territorio. - * - * @param primaryKey the primary key of this bo territorio - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the territorio ID of this bo territorio. - * - * @return the territorio ID of this bo territorio - */ - public long getTerritorioId(); - - /** - * Sets the territorio ID of this bo territorio. - * - * @param territorioId the territorio ID of this bo territorio - */ - public void setTerritorioId(long territorioId); - - /** - * Returns the company ID of this bo territorio. - * - * @return the company ID of this bo territorio - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this bo territorio. - * - * @param companyId the company ID of this bo territorio - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this bo territorio. - * - * @return the user ID of this bo territorio - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this bo territorio. - * - * @param userId the user ID of this bo territorio - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this bo territorio. - * - * @return the user uuid of this bo territorio - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this bo territorio. - * - * @param userUuid the user uuid of this bo territorio - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this bo territorio. - * - * @return the user name of this bo territorio - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this bo territorio. - * - * @param userName the user name of this bo territorio - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this bo territorio. - * - * @return the create date of this bo territorio - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this bo territorio. - * - * @param createDate the create date of this bo territorio - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this bo territorio. - * - * @return the modified date of this bo territorio - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this bo territorio. - * - * @param modifiedDate the modified date of this bo territorio - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the group ID of this bo territorio. - * - * @return the group ID of this bo territorio - */ - @Override - public long getGroupId(); - - /** - * Sets the group ID of this bo territorio. - * - * @param groupId the group ID of this bo territorio - */ - @Override - public void setGroupId(long groupId); - - /** - * Returns the zona ID of this bo territorio. - * - * @return the zona ID of this bo territorio - */ - public long getZonaId(); - - /** - * Sets the zona ID of this bo territorio. - * - * @param zonaId the zona ID of this bo territorio - */ - public void setZonaId(long zonaId); - - /** - * Returns the fascia ID of this bo territorio. - * - * @return the fascia ID of this bo territorio - */ - public long getFasciaId(); - - /** - * Sets the fascia ID of this bo territorio. - * - * @param fasciaId the fascia ID of this bo territorio - */ - public void setFasciaId(long fasciaId); - - /** - * Returns the comune ID of this bo territorio. - * - * @return the comune ID of this bo territorio - */ - public long getComuneId(); - - /** - * Sets the comune ID of this bo territorio. - * - * @param comuneId the comune ID of this bo territorio - */ - public void setComuneId(long comuneId); - - /** - * Returns the dt ini of this bo territorio. - * - * @return the dt ini of this bo territorio - */ - public Date getDtIni(); - - /** - * Sets the dt ini of this bo territorio. - * - * @param dtIni the dt ini of this bo territorio - */ - public void setDtIni(Date dtIni); - - /** - * Returns the dt fin of this bo territorio. - * - * @return the dt fin of this bo territorio - */ - public Date getDtFin(); - - /** - * Sets the dt fin of this bo territorio. - * - * @param dtFin the dt fin of this bo territorio - */ - public void setDtFin(Date dtFin); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.BoTerritorio boTerritorio); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.BoTerritorio toEscapedModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.BoTerritorio toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoTerritorioSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoTerritorioSoap.java deleted file mode 100644 index 1c88d0c8..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoTerritorioSoap.java +++ /dev/null @@ -1,205 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoTerritorioSoap implements Serializable { - public static BoTerritorioSoap toSoapModel(BoTerritorio model) { - BoTerritorioSoap soapModel = new BoTerritorioSoap(); - - soapModel.setTerritorioId(model.getTerritorioId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setZonaId(model.getZonaId()); - soapModel.setFasciaId(model.getFasciaId()); - soapModel.setComuneId(model.getComuneId()); - soapModel.setDtIni(model.getDtIni()); - soapModel.setDtFin(model.getDtFin()); - - return soapModel; - } - - public static BoTerritorioSoap[] toSoapModels(BoTerritorio[] models) { - BoTerritorioSoap[] soapModels = new BoTerritorioSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static BoTerritorioSoap[][] toSoapModels(BoTerritorio[][] models) { - BoTerritorioSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new BoTerritorioSoap[models.length][models[0].length]; - } - else { - soapModels = new BoTerritorioSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static BoTerritorioSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (BoTerritorio model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new BoTerritorioSoap[soapModels.size()]); - } - - public BoTerritorioSoap() { - } - - public long getPrimaryKey() { - return _territorioId; - } - - public void setPrimaryKey(long pk) { - setTerritorioId(pk); - } - - public long getTerritorioId() { - return _territorioId; - } - - public void setTerritorioId(long territorioId) { - _territorioId = territorioId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public long getZonaId() { - return _zonaId; - } - - public void setZonaId(long zonaId) { - _zonaId = zonaId; - } - - public long getFasciaId() { - return _fasciaId; - } - - public void setFasciaId(long fasciaId) { - _fasciaId = fasciaId; - } - - public long getComuneId() { - return _comuneId; - } - - public void setComuneId(long comuneId) { - _comuneId = comuneId; - } - - public Date getDtIni() { - return _dtIni; - } - - public void setDtIni(Date dtIni) { - _dtIni = dtIni; - } - - public Date getDtFin() { - return _dtFin; - } - - public void setDtFin(Date dtFin) { - _dtFin = dtFin; - } - - private long _territorioId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _zonaId; - private long _fasciaId; - private long _comuneId; - private Date _dtIni; - private Date _dtFin; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoTerritorioWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoTerritorioWrapper.java deleted file mode 100644 index a71a57fc..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/BoTerritorioWrapper.java +++ /dev/null @@ -1,568 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link BoTerritorio}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoTerritorio - * @generated - */ -public class BoTerritorioWrapper implements BoTerritorio, - ModelWrapper { - public BoTerritorioWrapper(BoTerritorio boTerritorio) { - _boTerritorio = boTerritorio; - } - - @Override - public Class getModelClass() { - return BoTerritorio.class; - } - - @Override - public String getModelClassName() { - return BoTerritorio.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("territorioId", getTerritorioId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("zonaId", getZonaId()); - attributes.put("fasciaId", getFasciaId()); - attributes.put("comuneId", getComuneId()); - attributes.put("dtIni", getDtIni()); - attributes.put("dtFin", getDtFin()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long territorioId = (Long)attributes.get("territorioId"); - - if (territorioId != null) { - setTerritorioId(territorioId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long zonaId = (Long)attributes.get("zonaId"); - - if (zonaId != null) { - setZonaId(zonaId); - } - - Long fasciaId = (Long)attributes.get("fasciaId"); - - if (fasciaId != null) { - setFasciaId(fasciaId); - } - - Long comuneId = (Long)attributes.get("comuneId"); - - if (comuneId != null) { - setComuneId(comuneId); - } - - Date dtIni = (Date)attributes.get("dtIni"); - - if (dtIni != null) { - setDtIni(dtIni); - } - - Date dtFin = (Date)attributes.get("dtFin"); - - if (dtFin != null) { - setDtFin(dtFin); - } - } - - /** - * Returns the primary key of this bo territorio. - * - * @return the primary key of this bo territorio - */ - @Override - public long getPrimaryKey() { - return _boTerritorio.getPrimaryKey(); - } - - /** - * Sets the primary key of this bo territorio. - * - * @param primaryKey the primary key of this bo territorio - */ - @Override - public void setPrimaryKey(long primaryKey) { - _boTerritorio.setPrimaryKey(primaryKey); - } - - /** - * Returns the territorio ID of this bo territorio. - * - * @return the territorio ID of this bo territorio - */ - @Override - public long getTerritorioId() { - return _boTerritorio.getTerritorioId(); - } - - /** - * Sets the territorio ID of this bo territorio. - * - * @param territorioId the territorio ID of this bo territorio - */ - @Override - public void setTerritorioId(long territorioId) { - _boTerritorio.setTerritorioId(territorioId); - } - - /** - * Returns the company ID of this bo territorio. - * - * @return the company ID of this bo territorio - */ - @Override - public long getCompanyId() { - return _boTerritorio.getCompanyId(); - } - - /** - * Sets the company ID of this bo territorio. - * - * @param companyId the company ID of this bo territorio - */ - @Override - public void setCompanyId(long companyId) { - _boTerritorio.setCompanyId(companyId); - } - - /** - * Returns the user ID of this bo territorio. - * - * @return the user ID of this bo territorio - */ - @Override - public long getUserId() { - return _boTerritorio.getUserId(); - } - - /** - * Sets the user ID of this bo territorio. - * - * @param userId the user ID of this bo territorio - */ - @Override - public void setUserId(long userId) { - _boTerritorio.setUserId(userId); - } - - /** - * Returns the user uuid of this bo territorio. - * - * @return the user uuid of this bo territorio - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _boTerritorio.getUserUuid(); - } - - /** - * Sets the user uuid of this bo territorio. - * - * @param userUuid the user uuid of this bo territorio - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _boTerritorio.setUserUuid(userUuid); - } - - /** - * Returns the user name of this bo territorio. - * - * @return the user name of this bo territorio - */ - @Override - public java.lang.String getUserName() { - return _boTerritorio.getUserName(); - } - - /** - * Sets the user name of this bo territorio. - * - * @param userName the user name of this bo territorio - */ - @Override - public void setUserName(java.lang.String userName) { - _boTerritorio.setUserName(userName); - } - - /** - * Returns the create date of this bo territorio. - * - * @return the create date of this bo territorio - */ - @Override - public java.util.Date getCreateDate() { - return _boTerritorio.getCreateDate(); - } - - /** - * Sets the create date of this bo territorio. - * - * @param createDate the create date of this bo territorio - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _boTerritorio.setCreateDate(createDate); - } - - /** - * Returns the modified date of this bo territorio. - * - * @return the modified date of this bo territorio - */ - @Override - public java.util.Date getModifiedDate() { - return _boTerritorio.getModifiedDate(); - } - - /** - * Sets the modified date of this bo territorio. - * - * @param modifiedDate the modified date of this bo territorio - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _boTerritorio.setModifiedDate(modifiedDate); - } - - /** - * Returns the group ID of this bo territorio. - * - * @return the group ID of this bo territorio - */ - @Override - public long getGroupId() { - return _boTerritorio.getGroupId(); - } - - /** - * Sets the group ID of this bo territorio. - * - * @param groupId the group ID of this bo territorio - */ - @Override - public void setGroupId(long groupId) { - _boTerritorio.setGroupId(groupId); - } - - /** - * Returns the zona ID of this bo territorio. - * - * @return the zona ID of this bo territorio - */ - @Override - public long getZonaId() { - return _boTerritorio.getZonaId(); - } - - /** - * Sets the zona ID of this bo territorio. - * - * @param zonaId the zona ID of this bo territorio - */ - @Override - public void setZonaId(long zonaId) { - _boTerritorio.setZonaId(zonaId); - } - - /** - * Returns the fascia ID of this bo territorio. - * - * @return the fascia ID of this bo territorio - */ - @Override - public long getFasciaId() { - return _boTerritorio.getFasciaId(); - } - - /** - * Sets the fascia ID of this bo territorio. - * - * @param fasciaId the fascia ID of this bo territorio - */ - @Override - public void setFasciaId(long fasciaId) { - _boTerritorio.setFasciaId(fasciaId); - } - - /** - * Returns the comune ID of this bo territorio. - * - * @return the comune ID of this bo territorio - */ - @Override - public long getComuneId() { - return _boTerritorio.getComuneId(); - } - - /** - * Sets the comune ID of this bo territorio. - * - * @param comuneId the comune ID of this bo territorio - */ - @Override - public void setComuneId(long comuneId) { - _boTerritorio.setComuneId(comuneId); - } - - /** - * Returns the dt ini of this bo territorio. - * - * @return the dt ini of this bo territorio - */ - @Override - public java.util.Date getDtIni() { - return _boTerritorio.getDtIni(); - } - - /** - * Sets the dt ini of this bo territorio. - * - * @param dtIni the dt ini of this bo territorio - */ - @Override - public void setDtIni(java.util.Date dtIni) { - _boTerritorio.setDtIni(dtIni); - } - - /** - * Returns the dt fin of this bo territorio. - * - * @return the dt fin of this bo territorio - */ - @Override - public java.util.Date getDtFin() { - return _boTerritorio.getDtFin(); - } - - /** - * Sets the dt fin of this bo territorio. - * - * @param dtFin the dt fin of this bo territorio - */ - @Override - public void setDtFin(java.util.Date dtFin) { - _boTerritorio.setDtFin(dtFin); - } - - @Override - public boolean isNew() { - return _boTerritorio.isNew(); - } - - @Override - public void setNew(boolean n) { - _boTerritorio.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _boTerritorio.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _boTerritorio.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _boTerritorio.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _boTerritorio.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _boTerritorio.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _boTerritorio.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _boTerritorio.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _boTerritorio.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _boTerritorio.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new BoTerritorioWrapper((BoTerritorio)_boTerritorio.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.BoTerritorio boTerritorio) { - return _boTerritorio.compareTo(boTerritorio); - } - - @Override - public int hashCode() { - return _boTerritorio.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _boTerritorio.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoTerritorio toEscapedModel() { - return new BoTerritorioWrapper(_boTerritorio.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoTerritorio toUnescapedModel() { - return new BoTerritorioWrapper(_boTerritorio.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _boTerritorio.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _boTerritorio.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _boTerritorio.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoTerritorioWrapper)) { - return false; - } - - BoTerritorioWrapper boTerritorioWrapper = (BoTerritorioWrapper)obj; - - if (Validator.equals(_boTerritorio, boTerritorioWrapper._boTerritorio)) { - return true; - } - - return false; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public BoTerritorio getWrappedBoTerritorio() { - return _boTerritorio; - } - - @Override - public BoTerritorio getWrappedModel() { - return _boTerritorio; - } - - @Override - public void resetOriginalValues() { - _boTerritorio.resetOriginalValues(); - } - - private BoTerritorio _boTerritorio; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeComune.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeComune.java deleted file mode 100644 index c9599113..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeComune.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the FeComune service. Represents a row in the "gcfe_comune" database table, with each column mapped to a property of this class. - * - * @author Davide Barbagallo, 3F Consulting - * @see FeComuneModel - * @see it.tref.liferay.portos.portosimport.model.impl.FeComuneImpl - * @see it.tref.liferay.portos.portosimport.model.impl.FeComuneModelImpl - * @generated - */ -public interface FeComune extends FeComuneModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.portosimport.model.impl.FeComuneImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeComuneClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeComuneClp.java deleted file mode 100644 index 0198c2c0..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeComuneClp.java +++ /dev/null @@ -1,378 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; - -import it.tref.liferay.portos.portosimport.service.ClpSerializer; -import it.tref.liferay.portos.portosimport.service.FeComuneLocalServiceUtil; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.HashMap; -import java.util.Map; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class FeComuneClp extends BaseModelImpl implements FeComune { - public FeComuneClp() { - } - - @Override - public Class getModelClass() { - return FeComune.class; - } - - @Override - public String getModelClassName() { - return FeComune.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _comuneId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setComuneId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _comuneId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("comuneId", getComuneId()); - attributes.put("codIstat", getCodIstat()); - attributes.put("codCatastale", getCodCatastale()); - attributes.put("descLong", getDescLong()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long comuneId = (Long)attributes.get("comuneId"); - - if (comuneId != null) { - setComuneId(comuneId); - } - - String codIstat = (String)attributes.get("codIstat"); - - if (codIstat != null) { - setCodIstat(codIstat); - } - - String codCatastale = (String)attributes.get("codCatastale"); - - if (codCatastale != null) { - setCodCatastale(codCatastale); - } - - String descLong = (String)attributes.get("descLong"); - - if (descLong != null) { - setDescLong(descLong); - } - } - - @Override - public long getComuneId() { - return _comuneId; - } - - @Override - public void setComuneId(long comuneId) { - _comuneId = comuneId; - - if (_feComuneRemoteModel != null) { - try { - Class clazz = _feComuneRemoteModel.getClass(); - - Method method = clazz.getMethod("setComuneId", long.class); - - method.invoke(_feComuneRemoteModel, comuneId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodIstat() { - return _codIstat; - } - - @Override - public void setCodIstat(String codIstat) { - _codIstat = codIstat; - - if (_feComuneRemoteModel != null) { - try { - Class clazz = _feComuneRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodIstat", String.class); - - method.invoke(_feComuneRemoteModel, codIstat); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodCatastale() { - return _codCatastale; - } - - @Override - public void setCodCatastale(String codCatastale) { - _codCatastale = codCatastale; - - if (_feComuneRemoteModel != null) { - try { - Class clazz = _feComuneRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodCatastale", String.class); - - method.invoke(_feComuneRemoteModel, codCatastale); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getDescLong() { - return _descLong; - } - - @Override - public void setDescLong(String descLong) { - _descLong = descLong; - - if (_feComuneRemoteModel != null) { - try { - Class clazz = _feComuneRemoteModel.getClass(); - - Method method = clazz.getMethod("setDescLong", String.class); - - method.invoke(_feComuneRemoteModel, descLong); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - public BaseModel getFeComuneRemoteModel() { - return _feComuneRemoteModel; - } - - public void setFeComuneRemoteModel(BaseModel feComuneRemoteModel) { - _feComuneRemoteModel = feComuneRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _feComuneRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_feComuneRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - FeComuneLocalServiceUtil.addFeComune(this); - } - else { - FeComuneLocalServiceUtil.updateFeComune(this); - } - } - - @Override - public FeComune toEscapedModel() { - return (FeComune)ProxyUtil.newProxyInstance(FeComune.class.getClassLoader(), - new Class[] { FeComune.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - FeComuneClp clone = new FeComuneClp(); - - clone.setComuneId(getComuneId()); - clone.setCodIstat(getCodIstat()); - clone.setCodCatastale(getCodCatastale()); - clone.setDescLong(getDescLong()); - - return clone; - } - - @Override - public int compareTo(FeComune feComune) { - long primaryKey = feComune.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof FeComuneClp)) { - return false; - } - - FeComuneClp feComune = (FeComuneClp)obj; - - long primaryKey = feComune.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(9); - - sb.append("{comuneId="); - sb.append(getComuneId()); - sb.append(", codIstat="); - sb.append(getCodIstat()); - sb.append(", codCatastale="); - sb.append(getCodCatastale()); - sb.append(", descLong="); - sb.append(getDescLong()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(16); - - sb.append(""); - sb.append("it.tref.liferay.portos.portosimport.model.FeComune"); - sb.append(""); - - sb.append( - "comuneId"); - sb.append( - "codIstat"); - sb.append( - "codCatastale"); - sb.append( - "descLong"); - - sb.append(""); - - return sb.toString(); - } - - private long _comuneId; - private String _codIstat; - private String _codCatastale; - private String _descLong; - private BaseModel _feComuneRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.portosimport.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeComuneModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeComuneModel.java deleted file mode 100644 index 7e2c1f91..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeComuneModel.java +++ /dev/null @@ -1,176 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -/** - * The base model interface for the FeComune service. Represents a row in the "gcfe_comune" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.portosimport.model.impl.FeComuneModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.portosimport.model.impl.FeComuneImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see FeComune - * @see it.tref.liferay.portos.portosimport.model.impl.FeComuneImpl - * @see it.tref.liferay.portos.portosimport.model.impl.FeComuneModelImpl - * @generated - */ -public interface FeComuneModel extends BaseModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a fe comune model instance should use the {@link FeComune} interface instead. - */ - - /** - * Returns the primary key of this fe comune. - * - * @return the primary key of this fe comune - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this fe comune. - * - * @param primaryKey the primary key of this fe comune - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the comune ID of this fe comune. - * - * @return the comune ID of this fe comune - */ - public long getComuneId(); - - /** - * Sets the comune ID of this fe comune. - * - * @param comuneId the comune ID of this fe comune - */ - public void setComuneId(long comuneId); - - /** - * Returns the cod istat of this fe comune. - * - * @return the cod istat of this fe comune - */ - @AutoEscape - public String getCodIstat(); - - /** - * Sets the cod istat of this fe comune. - * - * @param codIstat the cod istat of this fe comune - */ - public void setCodIstat(String codIstat); - - /** - * Returns the cod catastale of this fe comune. - * - * @return the cod catastale of this fe comune - */ - @AutoEscape - public String getCodCatastale(); - - /** - * Sets the cod catastale of this fe comune. - * - * @param codCatastale the cod catastale of this fe comune - */ - public void setCodCatastale(String codCatastale); - - /** - * Returns the desc long of this fe comune. - * - * @return the desc long of this fe comune - */ - @AutoEscape - public String getDescLong(); - - /** - * Sets the desc long of this fe comune. - * - * @param descLong the desc long of this fe comune - */ - public void setDescLong(String descLong); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.FeComune feComune); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.FeComune toEscapedModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.FeComune toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeComuneSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeComuneSoap.java deleted file mode 100644 index f5feb9e0..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeComuneSoap.java +++ /dev/null @@ -1,124 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class FeComuneSoap implements Serializable { - public static FeComuneSoap toSoapModel(FeComune model) { - FeComuneSoap soapModel = new FeComuneSoap(); - - soapModel.setComuneId(model.getComuneId()); - soapModel.setCodIstat(model.getCodIstat()); - soapModel.setCodCatastale(model.getCodCatastale()); - soapModel.setDescLong(model.getDescLong()); - - return soapModel; - } - - public static FeComuneSoap[] toSoapModels(FeComune[] models) { - FeComuneSoap[] soapModels = new FeComuneSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static FeComuneSoap[][] toSoapModels(FeComune[][] models) { - FeComuneSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new FeComuneSoap[models.length][models[0].length]; - } - else { - soapModels = new FeComuneSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static FeComuneSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (FeComune model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new FeComuneSoap[soapModels.size()]); - } - - public FeComuneSoap() { - } - - public long getPrimaryKey() { - return _comuneId; - } - - public void setPrimaryKey(long pk) { - setComuneId(pk); - } - - public long getComuneId() { - return _comuneId; - } - - public void setComuneId(long comuneId) { - _comuneId = comuneId; - } - - public String getCodIstat() { - return _codIstat; - } - - public void setCodIstat(String codIstat) { - _codIstat = codIstat; - } - - public String getCodCatastale() { - return _codCatastale; - } - - public void setCodCatastale(String codCatastale) { - _codCatastale = codCatastale; - } - - public String getDescLong() { - return _descLong; - } - - public void setDescLong(String descLong) { - _descLong = descLong; - } - - private long _comuneId; - private String _codIstat; - private String _codCatastale; - private String _descLong; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeComuneWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeComuneWrapper.java deleted file mode 100644 index 54d5b0e6..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeComuneWrapper.java +++ /dev/null @@ -1,328 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link FeComune}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see FeComune - * @generated - */ -public class FeComuneWrapper implements FeComune, ModelWrapper { - public FeComuneWrapper(FeComune feComune) { - _feComune = feComune; - } - - @Override - public Class getModelClass() { - return FeComune.class; - } - - @Override - public String getModelClassName() { - return FeComune.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("comuneId", getComuneId()); - attributes.put("codIstat", getCodIstat()); - attributes.put("codCatastale", getCodCatastale()); - attributes.put("descLong", getDescLong()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long comuneId = (Long)attributes.get("comuneId"); - - if (comuneId != null) { - setComuneId(comuneId); - } - - String codIstat = (String)attributes.get("codIstat"); - - if (codIstat != null) { - setCodIstat(codIstat); - } - - String codCatastale = (String)attributes.get("codCatastale"); - - if (codCatastale != null) { - setCodCatastale(codCatastale); - } - - String descLong = (String)attributes.get("descLong"); - - if (descLong != null) { - setDescLong(descLong); - } - } - - /** - * Returns the primary key of this fe comune. - * - * @return the primary key of this fe comune - */ - @Override - public long getPrimaryKey() { - return _feComune.getPrimaryKey(); - } - - /** - * Sets the primary key of this fe comune. - * - * @param primaryKey the primary key of this fe comune - */ - @Override - public void setPrimaryKey(long primaryKey) { - _feComune.setPrimaryKey(primaryKey); - } - - /** - * Returns the comune ID of this fe comune. - * - * @return the comune ID of this fe comune - */ - @Override - public long getComuneId() { - return _feComune.getComuneId(); - } - - /** - * Sets the comune ID of this fe comune. - * - * @param comuneId the comune ID of this fe comune - */ - @Override - public void setComuneId(long comuneId) { - _feComune.setComuneId(comuneId); - } - - /** - * Returns the cod istat of this fe comune. - * - * @return the cod istat of this fe comune - */ - @Override - public java.lang.String getCodIstat() { - return _feComune.getCodIstat(); - } - - /** - * Sets the cod istat of this fe comune. - * - * @param codIstat the cod istat of this fe comune - */ - @Override - public void setCodIstat(java.lang.String codIstat) { - _feComune.setCodIstat(codIstat); - } - - /** - * Returns the cod catastale of this fe comune. - * - * @return the cod catastale of this fe comune - */ - @Override - public java.lang.String getCodCatastale() { - return _feComune.getCodCatastale(); - } - - /** - * Sets the cod catastale of this fe comune. - * - * @param codCatastale the cod catastale of this fe comune - */ - @Override - public void setCodCatastale(java.lang.String codCatastale) { - _feComune.setCodCatastale(codCatastale); - } - - /** - * Returns the desc long of this fe comune. - * - * @return the desc long of this fe comune - */ - @Override - public java.lang.String getDescLong() { - return _feComune.getDescLong(); - } - - /** - * Sets the desc long of this fe comune. - * - * @param descLong the desc long of this fe comune - */ - @Override - public void setDescLong(java.lang.String descLong) { - _feComune.setDescLong(descLong); - } - - @Override - public boolean isNew() { - return _feComune.isNew(); - } - - @Override - public void setNew(boolean n) { - _feComune.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _feComune.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _feComune.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _feComune.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _feComune.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _feComune.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _feComune.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _feComune.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _feComune.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _feComune.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new FeComuneWrapper((FeComune)_feComune.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.FeComune feComune) { - return _feComune.compareTo(feComune); - } - - @Override - public int hashCode() { - return _feComune.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _feComune.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeComune toEscapedModel() { - return new FeComuneWrapper(_feComune.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeComune toUnescapedModel() { - return new FeComuneWrapper(_feComune.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _feComune.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _feComune.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _feComune.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof FeComuneWrapper)) { - return false; - } - - FeComuneWrapper feComuneWrapper = (FeComuneWrapper)obj; - - if (Validator.equals(_feComune, feComuneWrapper._feComune)) { - return true; - } - - return false; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public FeComune getWrappedFeComune() { - return _feComune; - } - - @Override - public FeComune getWrappedModel() { - return _feComune; - } - - @Override - public void resetOriginalValues() { - _feComune.resetOriginalValues(); - } - - private FeComune _feComune; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeDettPratica.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeDettPratica.java deleted file mode 100644 index 9a72f00d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeDettPratica.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the FeDettPratica service. Represents a row in the "gcfe_dettpratica" database table, with each column mapped to a property of this class. - * - * @author Davide Barbagallo, 3F Consulting - * @see FeDettPraticaModel - * @see it.tref.liferay.portos.portosimport.model.impl.FeDettPraticaImpl - * @see it.tref.liferay.portos.portosimport.model.impl.FeDettPraticaModelImpl - * @generated - */ -public interface FeDettPratica extends FeDettPraticaModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.portosimport.model.impl.FeDettPraticaImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeDettPraticaClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeDettPraticaClp.java deleted file mode 100644 index d9fe9c71..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeDettPraticaClp.java +++ /dev/null @@ -1,728 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; - -import it.tref.liferay.portos.portosimport.service.ClpSerializer; -import it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalServiceUtil; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.HashMap; -import java.util.Map; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class FeDettPraticaClp extends BaseModelImpl - implements FeDettPratica { - public FeDettPraticaClp() { - } - - @Override - public Class getModelClass() { - return FeDettPratica.class; - } - - @Override - public String getModelClassName() { - return FeDettPratica.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _dettPraticaId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setDettPraticaId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _dettPraticaId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("groupId", getGroupId()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("codPraticaSuap", getCodPraticaSuap()); - attributes.put("fineLavoriSceltaPrelievo", getFineLavoriSceltaPrelievo()); - attributes.put("fPrelievoCalcestruzzo", getFPrelievoCalcestruzzo()); - attributes.put("fPrelievoAcciaio", getFPrelievoAcciaio()); - attributes.put("fPrelievoAltro", getFPrelievoAltro()); - attributes.put("fineLavoriAlletiUlteriori", - getFineLavoriAlletiUlteriori()); - attributes.put("fNoCollaudoStatico", getFNoCollaudoStatico()); - attributes.put("pagamentoId", getPagamentoId()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - String codPraticaSuap = (String)attributes.get("codPraticaSuap"); - - if (codPraticaSuap != null) { - setCodPraticaSuap(codPraticaSuap); - } - - Boolean fineLavoriSceltaPrelievo = (Boolean)attributes.get( - "fineLavoriSceltaPrelievo"); - - if (fineLavoriSceltaPrelievo != null) { - setFineLavoriSceltaPrelievo(fineLavoriSceltaPrelievo); - } - - Boolean fPrelievoCalcestruzzo = (Boolean)attributes.get( - "fPrelievoCalcestruzzo"); - - if (fPrelievoCalcestruzzo != null) { - setFPrelievoCalcestruzzo(fPrelievoCalcestruzzo); - } - - Boolean fPrelievoAcciaio = (Boolean)attributes.get("fPrelievoAcciaio"); - - if (fPrelievoAcciaio != null) { - setFPrelievoAcciaio(fPrelievoAcciaio); - } - - Boolean fPrelievoAltro = (Boolean)attributes.get("fPrelievoAltro"); - - if (fPrelievoAltro != null) { - setFPrelievoAltro(fPrelievoAltro); - } - - Boolean fineLavoriAlletiUlteriori = (Boolean)attributes.get( - "fineLavoriAlletiUlteriori"); - - if (fineLavoriAlletiUlteriori != null) { - setFineLavoriAlletiUlteriori(fineLavoriAlletiUlteriori); - } - - Boolean fNoCollaudoStatico = (Boolean)attributes.get( - "fNoCollaudoStatico"); - - if (fNoCollaudoStatico != null) { - setFNoCollaudoStatico(fNoCollaudoStatico); - } - - Long pagamentoId = (Long)attributes.get("pagamentoId"); - - if (pagamentoId != null) { - setPagamentoId(pagamentoId); - } - } - - @Override - public String getUuid() { - return _uuid; - } - - @Override - public void setUuid(String uuid) { - _uuid = uuid; - - if (_feDettPraticaRemoteModel != null) { - try { - Class clazz = _feDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setUuid", String.class); - - method.invoke(_feDettPraticaRemoteModel, uuid); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getDettPraticaId() { - return _dettPraticaId; - } - - @Override - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - - if (_feDettPraticaRemoteModel != null) { - try { - Class clazz = _feDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setDettPraticaId", long.class); - - method.invoke(_feDettPraticaRemoteModel, dettPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_feDettPraticaRemoteModel != null) { - try { - Class clazz = _feDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_feDettPraticaRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getIntPraticaId() { - return _intPraticaId; - } - - @Override - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - - if (_feDettPraticaRemoteModel != null) { - try { - Class clazz = _feDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setIntPraticaId", long.class); - - method.invoke(_feDettPraticaRemoteModel, intPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodPraticaSuap() { - return _codPraticaSuap; - } - - @Override - public void setCodPraticaSuap(String codPraticaSuap) { - _codPraticaSuap = codPraticaSuap; - - if (_feDettPraticaRemoteModel != null) { - try { - Class clazz = _feDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodPraticaSuap", - String.class); - - method.invoke(_feDettPraticaRemoteModel, codPraticaSuap); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getFineLavoriSceltaPrelievo() { - return _fineLavoriSceltaPrelievo; - } - - @Override - public boolean isFineLavoriSceltaPrelievo() { - return _fineLavoriSceltaPrelievo; - } - - @Override - public void setFineLavoriSceltaPrelievo(boolean fineLavoriSceltaPrelievo) { - _fineLavoriSceltaPrelievo = fineLavoriSceltaPrelievo; - - if (_feDettPraticaRemoteModel != null) { - try { - Class clazz = _feDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setFineLavoriSceltaPrelievo", - boolean.class); - - method.invoke(_feDettPraticaRemoteModel, - fineLavoriSceltaPrelievo); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getFPrelievoCalcestruzzo() { - return _fPrelievoCalcestruzzo; - } - - @Override - public boolean isFPrelievoCalcestruzzo() { - return _fPrelievoCalcestruzzo; - } - - @Override - public void setFPrelievoCalcestruzzo(boolean fPrelievoCalcestruzzo) { - _fPrelievoCalcestruzzo = fPrelievoCalcestruzzo; - - if (_feDettPraticaRemoteModel != null) { - try { - Class clazz = _feDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setFPrelievoCalcestruzzo", - boolean.class); - - method.invoke(_feDettPraticaRemoteModel, fPrelievoCalcestruzzo); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getFPrelievoAcciaio() { - return _fPrelievoAcciaio; - } - - @Override - public boolean isFPrelievoAcciaio() { - return _fPrelievoAcciaio; - } - - @Override - public void setFPrelievoAcciaio(boolean fPrelievoAcciaio) { - _fPrelievoAcciaio = fPrelievoAcciaio; - - if (_feDettPraticaRemoteModel != null) { - try { - Class clazz = _feDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setFPrelievoAcciaio", - boolean.class); - - method.invoke(_feDettPraticaRemoteModel, fPrelievoAcciaio); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getFPrelievoAltro() { - return _fPrelievoAltro; - } - - @Override - public boolean isFPrelievoAltro() { - return _fPrelievoAltro; - } - - @Override - public void setFPrelievoAltro(boolean fPrelievoAltro) { - _fPrelievoAltro = fPrelievoAltro; - - if (_feDettPraticaRemoteModel != null) { - try { - Class clazz = _feDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setFPrelievoAltro", - boolean.class); - - method.invoke(_feDettPraticaRemoteModel, fPrelievoAltro); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getFineLavoriAlletiUlteriori() { - return _fineLavoriAlletiUlteriori; - } - - @Override - public boolean isFineLavoriAlletiUlteriori() { - return _fineLavoriAlletiUlteriori; - } - - @Override - public void setFineLavoriAlletiUlteriori(boolean fineLavoriAlletiUlteriori) { - _fineLavoriAlletiUlteriori = fineLavoriAlletiUlteriori; - - if (_feDettPraticaRemoteModel != null) { - try { - Class clazz = _feDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setFineLavoriAlletiUlteriori", - boolean.class); - - method.invoke(_feDettPraticaRemoteModel, - fineLavoriAlletiUlteriori); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getFNoCollaudoStatico() { - return _fNoCollaudoStatico; - } - - @Override - public boolean isFNoCollaudoStatico() { - return _fNoCollaudoStatico; - } - - @Override - public void setFNoCollaudoStatico(boolean fNoCollaudoStatico) { - _fNoCollaudoStatico = fNoCollaudoStatico; - - if (_feDettPraticaRemoteModel != null) { - try { - Class clazz = _feDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setFNoCollaudoStatico", - boolean.class); - - method.invoke(_feDettPraticaRemoteModel, fNoCollaudoStatico); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getPagamentoId() { - return _pagamentoId; - } - - @Override - public void setPagamentoId(long pagamentoId) { - _pagamentoId = pagamentoId; - - if (_feDettPraticaRemoteModel != null) { - try { - Class clazz = _feDettPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setPagamentoId", long.class); - - method.invoke(_feDettPraticaRemoteModel, pagamentoId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - public BaseModel getFeDettPraticaRemoteModel() { - return _feDettPraticaRemoteModel; - } - - public void setFeDettPraticaRemoteModel( - BaseModel feDettPraticaRemoteModel) { - _feDettPraticaRemoteModel = feDettPraticaRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _feDettPraticaRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_feDettPraticaRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - FeDettPraticaLocalServiceUtil.addFeDettPratica(this); - } - else { - FeDettPraticaLocalServiceUtil.updateFeDettPratica(this); - } - } - - @Override - public FeDettPratica toEscapedModel() { - return (FeDettPratica)ProxyUtil.newProxyInstance(FeDettPratica.class.getClassLoader(), - new Class[] { FeDettPratica.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - FeDettPraticaClp clone = new FeDettPraticaClp(); - - clone.setUuid(getUuid()); - clone.setDettPraticaId(getDettPraticaId()); - clone.setGroupId(getGroupId()); - clone.setIntPraticaId(getIntPraticaId()); - clone.setCodPraticaSuap(getCodPraticaSuap()); - clone.setFineLavoriSceltaPrelievo(getFineLavoriSceltaPrelievo()); - clone.setFPrelievoCalcestruzzo(getFPrelievoCalcestruzzo()); - clone.setFPrelievoAcciaio(getFPrelievoAcciaio()); - clone.setFPrelievoAltro(getFPrelievoAltro()); - clone.setFineLavoriAlletiUlteriori(getFineLavoriAlletiUlteriori()); - clone.setFNoCollaudoStatico(getFNoCollaudoStatico()); - clone.setPagamentoId(getPagamentoId()); - - return clone; - } - - @Override - public int compareTo(FeDettPratica feDettPratica) { - long primaryKey = feDettPratica.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof FeDettPraticaClp)) { - return false; - } - - FeDettPraticaClp feDettPratica = (FeDettPraticaClp)obj; - - long primaryKey = feDettPratica.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(25); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", dettPraticaId="); - sb.append(getDettPraticaId()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", intPraticaId="); - sb.append(getIntPraticaId()); - sb.append(", codPraticaSuap="); - sb.append(getCodPraticaSuap()); - sb.append(", fineLavoriSceltaPrelievo="); - sb.append(getFineLavoriSceltaPrelievo()); - sb.append(", fPrelievoCalcestruzzo="); - sb.append(getFPrelievoCalcestruzzo()); - sb.append(", fPrelievoAcciaio="); - sb.append(getFPrelievoAcciaio()); - sb.append(", fPrelievoAltro="); - sb.append(getFPrelievoAltro()); - sb.append(", fineLavoriAlletiUlteriori="); - sb.append(getFineLavoriAlletiUlteriori()); - sb.append(", fNoCollaudoStatico="); - sb.append(getFNoCollaudoStatico()); - sb.append(", pagamentoId="); - sb.append(getPagamentoId()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(40); - - sb.append(""); - sb.append("it.tref.liferay.portos.portosimport.model.FeDettPratica"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "dettPraticaId"); - sb.append( - "groupId"); - sb.append( - "intPraticaId"); - sb.append( - "codPraticaSuap"); - sb.append( - "fineLavoriSceltaPrelievo"); - sb.append( - "fPrelievoCalcestruzzo"); - sb.append( - "fPrelievoAcciaio"); - sb.append( - "fPrelievoAltro"); - sb.append( - "fineLavoriAlletiUlteriori"); - sb.append( - "fNoCollaudoStatico"); - sb.append( - "pagamentoId"); - - sb.append(""); - - return sb.toString(); - } - - private String _uuid; - private long _dettPraticaId; - private long _groupId; - private long _intPraticaId; - private String _codPraticaSuap; - private boolean _fineLavoriSceltaPrelievo; - private boolean _fPrelievoCalcestruzzo; - private boolean _fPrelievoAcciaio; - private boolean _fPrelievoAltro; - private boolean _fineLavoriAlletiUlteriori; - private boolean _fNoCollaudoStatico; - private long _pagamentoId; - private BaseModel _feDettPraticaRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.portosimport.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeDettPraticaModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeDettPraticaModel.java deleted file mode 100644 index c66512fb..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeDettPraticaModel.java +++ /dev/null @@ -1,329 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -/** - * The base model interface for the FeDettPratica service. Represents a row in the "gcfe_dettpratica" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.portosimport.model.impl.FeDettPraticaModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.portosimport.model.impl.FeDettPraticaImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see FeDettPratica - * @see it.tref.liferay.portos.portosimport.model.impl.FeDettPraticaImpl - * @see it.tref.liferay.portos.portosimport.model.impl.FeDettPraticaModelImpl - * @generated - */ -public interface FeDettPraticaModel extends BaseModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a fe dett pratica model instance should use the {@link FeDettPratica} interface instead. - */ - - /** - * Returns the primary key of this fe dett pratica. - * - * @return the primary key of this fe dett pratica - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this fe dett pratica. - * - * @param primaryKey the primary key of this fe dett pratica - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the uuid of this fe dett pratica. - * - * @return the uuid of this fe dett pratica - */ - @AutoEscape - public String getUuid(); - - /** - * Sets the uuid of this fe dett pratica. - * - * @param uuid the uuid of this fe dett pratica - */ - public void setUuid(String uuid); - - /** - * Returns the dett pratica ID of this fe dett pratica. - * - * @return the dett pratica ID of this fe dett pratica - */ - public long getDettPraticaId(); - - /** - * Sets the dett pratica ID of this fe dett pratica. - * - * @param dettPraticaId the dett pratica ID of this fe dett pratica - */ - public void setDettPraticaId(long dettPraticaId); - - /** - * Returns the group ID of this fe dett pratica. - * - * @return the group ID of this fe dett pratica - */ - public long getGroupId(); - - /** - * Sets the group ID of this fe dett pratica. - * - * @param groupId the group ID of this fe dett pratica - */ - public void setGroupId(long groupId); - - /** - * Returns the int pratica ID of this fe dett pratica. - * - * @return the int pratica ID of this fe dett pratica - */ - public long getIntPraticaId(); - - /** - * Sets the int pratica ID of this fe dett pratica. - * - * @param intPraticaId the int pratica ID of this fe dett pratica - */ - public void setIntPraticaId(long intPraticaId); - - /** - * Returns the cod pratica suap of this fe dett pratica. - * - * @return the cod pratica suap of this fe dett pratica - */ - @AutoEscape - public String getCodPraticaSuap(); - - /** - * Sets the cod pratica suap of this fe dett pratica. - * - * @param codPraticaSuap the cod pratica suap of this fe dett pratica - */ - public void setCodPraticaSuap(String codPraticaSuap); - - /** - * Returns the fine lavori scelta prelievo of this fe dett pratica. - * - * @return the fine lavori scelta prelievo of this fe dett pratica - */ - public boolean getFineLavoriSceltaPrelievo(); - - /** - * Returns true if this fe dett pratica is fine lavori scelta prelievo. - * - * @return true if this fe dett pratica is fine lavori scelta prelievo; false otherwise - */ - public boolean isFineLavoriSceltaPrelievo(); - - /** - * Sets whether this fe dett pratica is fine lavori scelta prelievo. - * - * @param fineLavoriSceltaPrelievo the fine lavori scelta prelievo of this fe dett pratica - */ - public void setFineLavoriSceltaPrelievo(boolean fineLavoriSceltaPrelievo); - - /** - * Returns the f prelievo calcestruzzo of this fe dett pratica. - * - * @return the f prelievo calcestruzzo of this fe dett pratica - */ - public boolean getFPrelievoCalcestruzzo(); - - /** - * Returns true if this fe dett pratica is f prelievo calcestruzzo. - * - * @return true if this fe dett pratica is f prelievo calcestruzzo; false otherwise - */ - public boolean isFPrelievoCalcestruzzo(); - - /** - * Sets whether this fe dett pratica is f prelievo calcestruzzo. - * - * @param fPrelievoCalcestruzzo the f prelievo calcestruzzo of this fe dett pratica - */ - public void setFPrelievoCalcestruzzo(boolean fPrelievoCalcestruzzo); - - /** - * Returns the f prelievo acciaio of this fe dett pratica. - * - * @return the f prelievo acciaio of this fe dett pratica - */ - public boolean getFPrelievoAcciaio(); - - /** - * Returns true if this fe dett pratica is f prelievo acciaio. - * - * @return true if this fe dett pratica is f prelievo acciaio; false otherwise - */ - public boolean isFPrelievoAcciaio(); - - /** - * Sets whether this fe dett pratica is f prelievo acciaio. - * - * @param fPrelievoAcciaio the f prelievo acciaio of this fe dett pratica - */ - public void setFPrelievoAcciaio(boolean fPrelievoAcciaio); - - /** - * Returns the f prelievo altro of this fe dett pratica. - * - * @return the f prelievo altro of this fe dett pratica - */ - public boolean getFPrelievoAltro(); - - /** - * Returns true if this fe dett pratica is f prelievo altro. - * - * @return true if this fe dett pratica is f prelievo altro; false otherwise - */ - public boolean isFPrelievoAltro(); - - /** - * Sets whether this fe dett pratica is f prelievo altro. - * - * @param fPrelievoAltro the f prelievo altro of this fe dett pratica - */ - public void setFPrelievoAltro(boolean fPrelievoAltro); - - /** - * Returns the fine lavori alleti ulteriori of this fe dett pratica. - * - * @return the fine lavori alleti ulteriori of this fe dett pratica - */ - public boolean getFineLavoriAlletiUlteriori(); - - /** - * Returns true if this fe dett pratica is fine lavori alleti ulteriori. - * - * @return true if this fe dett pratica is fine lavori alleti ulteriori; false otherwise - */ - public boolean isFineLavoriAlletiUlteriori(); - - /** - * Sets whether this fe dett pratica is fine lavori alleti ulteriori. - * - * @param fineLavoriAlletiUlteriori the fine lavori alleti ulteriori of this fe dett pratica - */ - public void setFineLavoriAlletiUlteriori(boolean fineLavoriAlletiUlteriori); - - /** - * Returns the f no collaudo statico of this fe dett pratica. - * - * @return the f no collaudo statico of this fe dett pratica - */ - public boolean getFNoCollaudoStatico(); - - /** - * Returns true if this fe dett pratica is f no collaudo statico. - * - * @return true if this fe dett pratica is f no collaudo statico; false otherwise - */ - public boolean isFNoCollaudoStatico(); - - /** - * Sets whether this fe dett pratica is f no collaudo statico. - * - * @param fNoCollaudoStatico the f no collaudo statico of this fe dett pratica - */ - public void setFNoCollaudoStatico(boolean fNoCollaudoStatico); - - /** - * Returns the pagamento ID of this fe dett pratica. - * - * @return the pagamento ID of this fe dett pratica - */ - public long getPagamentoId(); - - /** - * Sets the pagamento ID of this fe dett pratica. - * - * @param pagamentoId the pagamento ID of this fe dett pratica - */ - public void setPagamentoId(long pagamentoId); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.FeDettPratica feDettPratica); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.FeDettPratica toEscapedModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.FeDettPratica toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeDettPraticaSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeDettPraticaSoap.java deleted file mode 100644 index c9920bc7..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeDettPraticaSoap.java +++ /dev/null @@ -1,228 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class FeDettPraticaSoap implements Serializable { - public static FeDettPraticaSoap toSoapModel(FeDettPratica model) { - FeDettPraticaSoap soapModel = new FeDettPraticaSoap(); - - soapModel.setUuid(model.getUuid()); - soapModel.setDettPraticaId(model.getDettPraticaId()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setIntPraticaId(model.getIntPraticaId()); - soapModel.setCodPraticaSuap(model.getCodPraticaSuap()); - soapModel.setFineLavoriSceltaPrelievo(model.getFineLavoriSceltaPrelievo()); - soapModel.setFPrelievoCalcestruzzo(model.getFPrelievoCalcestruzzo()); - soapModel.setFPrelievoAcciaio(model.getFPrelievoAcciaio()); - soapModel.setFPrelievoAltro(model.getFPrelievoAltro()); - soapModel.setFineLavoriAlletiUlteriori(model.getFineLavoriAlletiUlteriori()); - soapModel.setFNoCollaudoStatico(model.getFNoCollaudoStatico()); - soapModel.setPagamentoId(model.getPagamentoId()); - - return soapModel; - } - - public static FeDettPraticaSoap[] toSoapModels(FeDettPratica[] models) { - FeDettPraticaSoap[] soapModels = new FeDettPraticaSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static FeDettPraticaSoap[][] toSoapModels(FeDettPratica[][] models) { - FeDettPraticaSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new FeDettPraticaSoap[models.length][models[0].length]; - } - else { - soapModels = new FeDettPraticaSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static FeDettPraticaSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (FeDettPratica model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new FeDettPraticaSoap[soapModels.size()]); - } - - public FeDettPraticaSoap() { - } - - public long getPrimaryKey() { - return _dettPraticaId; - } - - public void setPrimaryKey(long pk) { - setDettPraticaId(pk); - } - - public String getUuid() { - return _uuid; - } - - public void setUuid(String uuid) { - _uuid = uuid; - } - - public long getDettPraticaId() { - return _dettPraticaId; - } - - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public long getIntPraticaId() { - return _intPraticaId; - } - - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - } - - public String getCodPraticaSuap() { - return _codPraticaSuap; - } - - public void setCodPraticaSuap(String codPraticaSuap) { - _codPraticaSuap = codPraticaSuap; - } - - public boolean getFineLavoriSceltaPrelievo() { - return _fineLavoriSceltaPrelievo; - } - - public boolean isFineLavoriSceltaPrelievo() { - return _fineLavoriSceltaPrelievo; - } - - public void setFineLavoriSceltaPrelievo(boolean fineLavoriSceltaPrelievo) { - _fineLavoriSceltaPrelievo = fineLavoriSceltaPrelievo; - } - - public boolean getFPrelievoCalcestruzzo() { - return _fPrelievoCalcestruzzo; - } - - public boolean isFPrelievoCalcestruzzo() { - return _fPrelievoCalcestruzzo; - } - - public void setFPrelievoCalcestruzzo(boolean fPrelievoCalcestruzzo) { - _fPrelievoCalcestruzzo = fPrelievoCalcestruzzo; - } - - public boolean getFPrelievoAcciaio() { - return _fPrelievoAcciaio; - } - - public boolean isFPrelievoAcciaio() { - return _fPrelievoAcciaio; - } - - public void setFPrelievoAcciaio(boolean fPrelievoAcciaio) { - _fPrelievoAcciaio = fPrelievoAcciaio; - } - - public boolean getFPrelievoAltro() { - return _fPrelievoAltro; - } - - public boolean isFPrelievoAltro() { - return _fPrelievoAltro; - } - - public void setFPrelievoAltro(boolean fPrelievoAltro) { - _fPrelievoAltro = fPrelievoAltro; - } - - public boolean getFineLavoriAlletiUlteriori() { - return _fineLavoriAlletiUlteriori; - } - - public boolean isFineLavoriAlletiUlteriori() { - return _fineLavoriAlletiUlteriori; - } - - public void setFineLavoriAlletiUlteriori(boolean fineLavoriAlletiUlteriori) { - _fineLavoriAlletiUlteriori = fineLavoriAlletiUlteriori; - } - - public boolean getFNoCollaudoStatico() { - return _fNoCollaudoStatico; - } - - public boolean isFNoCollaudoStatico() { - return _fNoCollaudoStatico; - } - - public void setFNoCollaudoStatico(boolean fNoCollaudoStatico) { - _fNoCollaudoStatico = fNoCollaudoStatico; - } - - public long getPagamentoId() { - return _pagamentoId; - } - - public void setPagamentoId(long pagamentoId) { - _pagamentoId = pagamentoId; - } - - private String _uuid; - private long _dettPraticaId; - private long _groupId; - private long _intPraticaId; - private String _codPraticaSuap; - private boolean _fineLavoriSceltaPrelievo; - private boolean _fPrelievoCalcestruzzo; - private boolean _fPrelievoAcciaio; - private boolean _fPrelievoAltro; - private boolean _fineLavoriAlletiUlteriori; - private boolean _fNoCollaudoStatico; - private long _pagamentoId; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeDettPraticaWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeDettPraticaWrapper.java deleted file mode 100644 index 35e6bbb2..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeDettPraticaWrapper.java +++ /dev/null @@ -1,610 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link FeDettPratica}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see FeDettPratica - * @generated - */ -public class FeDettPraticaWrapper implements FeDettPratica, - ModelWrapper { - public FeDettPraticaWrapper(FeDettPratica feDettPratica) { - _feDettPratica = feDettPratica; - } - - @Override - public Class getModelClass() { - return FeDettPratica.class; - } - - @Override - public String getModelClassName() { - return FeDettPratica.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("groupId", getGroupId()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("codPraticaSuap", getCodPraticaSuap()); - attributes.put("fineLavoriSceltaPrelievo", getFineLavoriSceltaPrelievo()); - attributes.put("fPrelievoCalcestruzzo", getFPrelievoCalcestruzzo()); - attributes.put("fPrelievoAcciaio", getFPrelievoAcciaio()); - attributes.put("fPrelievoAltro", getFPrelievoAltro()); - attributes.put("fineLavoriAlletiUlteriori", - getFineLavoriAlletiUlteriori()); - attributes.put("fNoCollaudoStatico", getFNoCollaudoStatico()); - attributes.put("pagamentoId", getPagamentoId()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - String codPraticaSuap = (String)attributes.get("codPraticaSuap"); - - if (codPraticaSuap != null) { - setCodPraticaSuap(codPraticaSuap); - } - - Boolean fineLavoriSceltaPrelievo = (Boolean)attributes.get( - "fineLavoriSceltaPrelievo"); - - if (fineLavoriSceltaPrelievo != null) { - setFineLavoriSceltaPrelievo(fineLavoriSceltaPrelievo); - } - - Boolean fPrelievoCalcestruzzo = (Boolean)attributes.get( - "fPrelievoCalcestruzzo"); - - if (fPrelievoCalcestruzzo != null) { - setFPrelievoCalcestruzzo(fPrelievoCalcestruzzo); - } - - Boolean fPrelievoAcciaio = (Boolean)attributes.get("fPrelievoAcciaio"); - - if (fPrelievoAcciaio != null) { - setFPrelievoAcciaio(fPrelievoAcciaio); - } - - Boolean fPrelievoAltro = (Boolean)attributes.get("fPrelievoAltro"); - - if (fPrelievoAltro != null) { - setFPrelievoAltro(fPrelievoAltro); - } - - Boolean fineLavoriAlletiUlteriori = (Boolean)attributes.get( - "fineLavoriAlletiUlteriori"); - - if (fineLavoriAlletiUlteriori != null) { - setFineLavoriAlletiUlteriori(fineLavoriAlletiUlteriori); - } - - Boolean fNoCollaudoStatico = (Boolean)attributes.get( - "fNoCollaudoStatico"); - - if (fNoCollaudoStatico != null) { - setFNoCollaudoStatico(fNoCollaudoStatico); - } - - Long pagamentoId = (Long)attributes.get("pagamentoId"); - - if (pagamentoId != null) { - setPagamentoId(pagamentoId); - } - } - - /** - * Returns the primary key of this fe dett pratica. - * - * @return the primary key of this fe dett pratica - */ - @Override - public long getPrimaryKey() { - return _feDettPratica.getPrimaryKey(); - } - - /** - * Sets the primary key of this fe dett pratica. - * - * @param primaryKey the primary key of this fe dett pratica - */ - @Override - public void setPrimaryKey(long primaryKey) { - _feDettPratica.setPrimaryKey(primaryKey); - } - - /** - * Returns the uuid of this fe dett pratica. - * - * @return the uuid of this fe dett pratica - */ - @Override - public java.lang.String getUuid() { - return _feDettPratica.getUuid(); - } - - /** - * Sets the uuid of this fe dett pratica. - * - * @param uuid the uuid of this fe dett pratica - */ - @Override - public void setUuid(java.lang.String uuid) { - _feDettPratica.setUuid(uuid); - } - - /** - * Returns the dett pratica ID of this fe dett pratica. - * - * @return the dett pratica ID of this fe dett pratica - */ - @Override - public long getDettPraticaId() { - return _feDettPratica.getDettPraticaId(); - } - - /** - * Sets the dett pratica ID of this fe dett pratica. - * - * @param dettPraticaId the dett pratica ID of this fe dett pratica - */ - @Override - public void setDettPraticaId(long dettPraticaId) { - _feDettPratica.setDettPraticaId(dettPraticaId); - } - - /** - * Returns the group ID of this fe dett pratica. - * - * @return the group ID of this fe dett pratica - */ - @Override - public long getGroupId() { - return _feDettPratica.getGroupId(); - } - - /** - * Sets the group ID of this fe dett pratica. - * - * @param groupId the group ID of this fe dett pratica - */ - @Override - public void setGroupId(long groupId) { - _feDettPratica.setGroupId(groupId); - } - - /** - * Returns the int pratica ID of this fe dett pratica. - * - * @return the int pratica ID of this fe dett pratica - */ - @Override - public long getIntPraticaId() { - return _feDettPratica.getIntPraticaId(); - } - - /** - * Sets the int pratica ID of this fe dett pratica. - * - * @param intPraticaId the int pratica ID of this fe dett pratica - */ - @Override - public void setIntPraticaId(long intPraticaId) { - _feDettPratica.setIntPraticaId(intPraticaId); - } - - /** - * Returns the cod pratica suap of this fe dett pratica. - * - * @return the cod pratica suap of this fe dett pratica - */ - @Override - public java.lang.String getCodPraticaSuap() { - return _feDettPratica.getCodPraticaSuap(); - } - - /** - * Sets the cod pratica suap of this fe dett pratica. - * - * @param codPraticaSuap the cod pratica suap of this fe dett pratica - */ - @Override - public void setCodPraticaSuap(java.lang.String codPraticaSuap) { - _feDettPratica.setCodPraticaSuap(codPraticaSuap); - } - - /** - * Returns the fine lavori scelta prelievo of this fe dett pratica. - * - * @return the fine lavori scelta prelievo of this fe dett pratica - */ - @Override - public boolean getFineLavoriSceltaPrelievo() { - return _feDettPratica.getFineLavoriSceltaPrelievo(); - } - - /** - * Returns true if this fe dett pratica is fine lavori scelta prelievo. - * - * @return true if this fe dett pratica is fine lavori scelta prelievo; false otherwise - */ - @Override - public boolean isFineLavoriSceltaPrelievo() { - return _feDettPratica.isFineLavoriSceltaPrelievo(); - } - - /** - * Sets whether this fe dett pratica is fine lavori scelta prelievo. - * - * @param fineLavoriSceltaPrelievo the fine lavori scelta prelievo of this fe dett pratica - */ - @Override - public void setFineLavoriSceltaPrelievo(boolean fineLavoriSceltaPrelievo) { - _feDettPratica.setFineLavoriSceltaPrelievo(fineLavoriSceltaPrelievo); - } - - /** - * Returns the f prelievo calcestruzzo of this fe dett pratica. - * - * @return the f prelievo calcestruzzo of this fe dett pratica - */ - @Override - public boolean getFPrelievoCalcestruzzo() { - return _feDettPratica.getFPrelievoCalcestruzzo(); - } - - /** - * Returns true if this fe dett pratica is f prelievo calcestruzzo. - * - * @return true if this fe dett pratica is f prelievo calcestruzzo; false otherwise - */ - @Override - public boolean isFPrelievoCalcestruzzo() { - return _feDettPratica.isFPrelievoCalcestruzzo(); - } - - /** - * Sets whether this fe dett pratica is f prelievo calcestruzzo. - * - * @param fPrelievoCalcestruzzo the f prelievo calcestruzzo of this fe dett pratica - */ - @Override - public void setFPrelievoCalcestruzzo(boolean fPrelievoCalcestruzzo) { - _feDettPratica.setFPrelievoCalcestruzzo(fPrelievoCalcestruzzo); - } - - /** - * Returns the f prelievo acciaio of this fe dett pratica. - * - * @return the f prelievo acciaio of this fe dett pratica - */ - @Override - public boolean getFPrelievoAcciaio() { - return _feDettPratica.getFPrelievoAcciaio(); - } - - /** - * Returns true if this fe dett pratica is f prelievo acciaio. - * - * @return true if this fe dett pratica is f prelievo acciaio; false otherwise - */ - @Override - public boolean isFPrelievoAcciaio() { - return _feDettPratica.isFPrelievoAcciaio(); - } - - /** - * Sets whether this fe dett pratica is f prelievo acciaio. - * - * @param fPrelievoAcciaio the f prelievo acciaio of this fe dett pratica - */ - @Override - public void setFPrelievoAcciaio(boolean fPrelievoAcciaio) { - _feDettPratica.setFPrelievoAcciaio(fPrelievoAcciaio); - } - - /** - * Returns the f prelievo altro of this fe dett pratica. - * - * @return the f prelievo altro of this fe dett pratica - */ - @Override - public boolean getFPrelievoAltro() { - return _feDettPratica.getFPrelievoAltro(); - } - - /** - * Returns true if this fe dett pratica is f prelievo altro. - * - * @return true if this fe dett pratica is f prelievo altro; false otherwise - */ - @Override - public boolean isFPrelievoAltro() { - return _feDettPratica.isFPrelievoAltro(); - } - - /** - * Sets whether this fe dett pratica is f prelievo altro. - * - * @param fPrelievoAltro the f prelievo altro of this fe dett pratica - */ - @Override - public void setFPrelievoAltro(boolean fPrelievoAltro) { - _feDettPratica.setFPrelievoAltro(fPrelievoAltro); - } - - /** - * Returns the fine lavori alleti ulteriori of this fe dett pratica. - * - * @return the fine lavori alleti ulteriori of this fe dett pratica - */ - @Override - public boolean getFineLavoriAlletiUlteriori() { - return _feDettPratica.getFineLavoriAlletiUlteriori(); - } - - /** - * Returns true if this fe dett pratica is fine lavori alleti ulteriori. - * - * @return true if this fe dett pratica is fine lavori alleti ulteriori; false otherwise - */ - @Override - public boolean isFineLavoriAlletiUlteriori() { - return _feDettPratica.isFineLavoriAlletiUlteriori(); - } - - /** - * Sets whether this fe dett pratica is fine lavori alleti ulteriori. - * - * @param fineLavoriAlletiUlteriori the fine lavori alleti ulteriori of this fe dett pratica - */ - @Override - public void setFineLavoriAlletiUlteriori(boolean fineLavoriAlletiUlteriori) { - _feDettPratica.setFineLavoriAlletiUlteriori(fineLavoriAlletiUlteriori); - } - - /** - * Returns the f no collaudo statico of this fe dett pratica. - * - * @return the f no collaudo statico of this fe dett pratica - */ - @Override - public boolean getFNoCollaudoStatico() { - return _feDettPratica.getFNoCollaudoStatico(); - } - - /** - * Returns true if this fe dett pratica is f no collaudo statico. - * - * @return true if this fe dett pratica is f no collaudo statico; false otherwise - */ - @Override - public boolean isFNoCollaudoStatico() { - return _feDettPratica.isFNoCollaudoStatico(); - } - - /** - * Sets whether this fe dett pratica is f no collaudo statico. - * - * @param fNoCollaudoStatico the f no collaudo statico of this fe dett pratica - */ - @Override - public void setFNoCollaudoStatico(boolean fNoCollaudoStatico) { - _feDettPratica.setFNoCollaudoStatico(fNoCollaudoStatico); - } - - /** - * Returns the pagamento ID of this fe dett pratica. - * - * @return the pagamento ID of this fe dett pratica - */ - @Override - public long getPagamentoId() { - return _feDettPratica.getPagamentoId(); - } - - /** - * Sets the pagamento ID of this fe dett pratica. - * - * @param pagamentoId the pagamento ID of this fe dett pratica - */ - @Override - public void setPagamentoId(long pagamentoId) { - _feDettPratica.setPagamentoId(pagamentoId); - } - - @Override - public boolean isNew() { - return _feDettPratica.isNew(); - } - - @Override - public void setNew(boolean n) { - _feDettPratica.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _feDettPratica.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _feDettPratica.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _feDettPratica.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _feDettPratica.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _feDettPratica.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _feDettPratica.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _feDettPratica.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _feDettPratica.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _feDettPratica.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new FeDettPraticaWrapper((FeDettPratica)_feDettPratica.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.FeDettPratica feDettPratica) { - return _feDettPratica.compareTo(feDettPratica); - } - - @Override - public int hashCode() { - return _feDettPratica.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _feDettPratica.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeDettPratica toEscapedModel() { - return new FeDettPraticaWrapper(_feDettPratica.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeDettPratica toUnescapedModel() { - return new FeDettPraticaWrapper(_feDettPratica.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _feDettPratica.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _feDettPratica.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _feDettPratica.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof FeDettPraticaWrapper)) { - return false; - } - - FeDettPraticaWrapper feDettPraticaWrapper = (FeDettPraticaWrapper)obj; - - if (Validator.equals(_feDettPratica, feDettPraticaWrapper._feDettPratica)) { - return true; - } - - return false; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public FeDettPratica getWrappedFeDettPratica() { - return _feDettPratica; - } - - @Override - public FeDettPratica getWrappedModel() { - return _feDettPratica; - } - - @Override - public void resetOriginalValues() { - _feDettPratica.resetOriginalValues(); - } - - private FeDettPratica _feDettPratica; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeIntPratica.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeIntPratica.java deleted file mode 100644 index 0c3e7a12..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeIntPratica.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the FeIntPratica service. Represents a row in the "gcfe_intpratica" database table, with each column mapped to a property of this class. - * - * @author Davide Barbagallo, 3F Consulting - * @see FeIntPraticaModel - * @see it.tref.liferay.portos.portosimport.model.impl.FeIntPraticaImpl - * @see it.tref.liferay.portos.portosimport.model.impl.FeIntPraticaModelImpl - * @generated - */ -public interface FeIntPratica extends FeIntPraticaModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.portosimport.model.impl.FeIntPraticaImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeIntPraticaClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeIntPraticaClp.java deleted file mode 100644 index 00d1463a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeIntPraticaClp.java +++ /dev/null @@ -1,1076 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; - -import it.tref.liferay.portos.portosimport.service.ClpSerializer; -import it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalServiceUtil; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.HashMap; -import java.util.Map; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class FeIntPraticaClp extends BaseModelImpl - implements FeIntPratica { - public FeIntPraticaClp() { - } - - @Override - public Class getModelClass() { - return FeIntPratica.class; - } - - @Override - public String getModelClassName() { - return FeIntPratica.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _intPraticaId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setIntPraticaId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _intPraticaId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("groupId", getGroupId()); - attributes.put("tipoPraticaId", getTipoPraticaId()); - attributes.put("territorioId", getTerritorioId()); - attributes.put("edificiOrdinari", getEdificiOrdinari()); - attributes.put("noCollaudoStatico", getNoCollaudoStatico()); - attributes.put("noCollaudoStaticoInterLocale", - getNoCollaudoStaticoInterLocale()); - attributes.put("codTipoIntervento", getCodTipoIntervento()); - attributes.put("sottoTipoPraticaCod", getSottoTipoPraticaCod()); - attributes.put("statoOpere", getStatoOpere()); - attributes.put("inizioLavoriImmediato", getInizioLavoriImmediato()); - attributes.put("relazioneGeologicaA5Check", - getRelazioneGeologicaA5Check()); - attributes.put("relazioneGeotecnicaA6Check", - getRelazioneGeotecnicaA6Check()); - attributes.put("relazioneSulleFondazioniA7Check", - getRelazioneSulleFondazioniA7Check()); - attributes.put("fascicoloDeiCalcoliA9Check", - getFascicoloDeiCalcoliA9Check()); - attributes.put("schedaSinteticaGeologoA14Check", - getSchedaSinteticaGeologoA14Check()); - attributes.put("idSoggettoDelegato", getIdSoggettoDelegato()); - attributes.put("statoPerecedente", getStatoPerecedente()); - attributes.put("checkTipologiaG", getCheckTipologiaG()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long tipoPraticaId = (Long)attributes.get("tipoPraticaId"); - - if (tipoPraticaId != null) { - setTipoPraticaId(tipoPraticaId); - } - - Long territorioId = (Long)attributes.get("territorioId"); - - if (territorioId != null) { - setTerritorioId(territorioId); - } - - Boolean edificiOrdinari = (Boolean)attributes.get("edificiOrdinari"); - - if (edificiOrdinari != null) { - setEdificiOrdinari(edificiOrdinari); - } - - Boolean noCollaudoStatico = (Boolean)attributes.get("noCollaudoStatico"); - - if (noCollaudoStatico != null) { - setNoCollaudoStatico(noCollaudoStatico); - } - - Boolean noCollaudoStaticoInterLocale = (Boolean)attributes.get( - "noCollaudoStaticoInterLocale"); - - if (noCollaudoStaticoInterLocale != null) { - setNoCollaudoStaticoInterLocale(noCollaudoStaticoInterLocale); - } - - String codTipoIntervento = (String)attributes.get("codTipoIntervento"); - - if (codTipoIntervento != null) { - setCodTipoIntervento(codTipoIntervento); - } - - String sottoTipoPraticaCod = (String)attributes.get( - "sottoTipoPraticaCod"); - - if (sottoTipoPraticaCod != null) { - setSottoTipoPraticaCod(sottoTipoPraticaCod); - } - - String statoOpere = (String)attributes.get("statoOpere"); - - if (statoOpere != null) { - setStatoOpere(statoOpere); - } - - Boolean inizioLavoriImmediato = (Boolean)attributes.get( - "inizioLavoriImmediato"); - - if (inizioLavoriImmediato != null) { - setInizioLavoriImmediato(inizioLavoriImmediato); - } - - Boolean relazioneGeologicaA5Check = (Boolean)attributes.get( - "relazioneGeologicaA5Check"); - - if (relazioneGeologicaA5Check != null) { - setRelazioneGeologicaA5Check(relazioneGeologicaA5Check); - } - - Boolean relazioneGeotecnicaA6Check = (Boolean)attributes.get( - "relazioneGeotecnicaA6Check"); - - if (relazioneGeotecnicaA6Check != null) { - setRelazioneGeotecnicaA6Check(relazioneGeotecnicaA6Check); - } - - Boolean relazioneSulleFondazioniA7Check = (Boolean)attributes.get( - "relazioneSulleFondazioniA7Check"); - - if (relazioneSulleFondazioniA7Check != null) { - setRelazioneSulleFondazioniA7Check(relazioneSulleFondazioniA7Check); - } - - Boolean fascicoloDeiCalcoliA9Check = (Boolean)attributes.get( - "fascicoloDeiCalcoliA9Check"); - - if (fascicoloDeiCalcoliA9Check != null) { - setFascicoloDeiCalcoliA9Check(fascicoloDeiCalcoliA9Check); - } - - Boolean schedaSinteticaGeologoA14Check = (Boolean)attributes.get( - "schedaSinteticaGeologoA14Check"); - - if (schedaSinteticaGeologoA14Check != null) { - setSchedaSinteticaGeologoA14Check(schedaSinteticaGeologoA14Check); - } - - Long idSoggettoDelegato = (Long)attributes.get("idSoggettoDelegato"); - - if (idSoggettoDelegato != null) { - setIdSoggettoDelegato(idSoggettoDelegato); - } - - String statoPerecedente = (String)attributes.get("statoPerecedente"); - - if (statoPerecedente != null) { - setStatoPerecedente(statoPerecedente); - } - - Boolean checkTipologiaG = (Boolean)attributes.get("checkTipologiaG"); - - if (checkTipologiaG != null) { - setCheckTipologiaG(checkTipologiaG); - } - } - - @Override - public String getUuid() { - return _uuid; - } - - @Override - public void setUuid(String uuid) { - _uuid = uuid; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setUuid", String.class); - - method.invoke(_feIntPraticaRemoteModel, uuid); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getIntPraticaId() { - return _intPraticaId; - } - - @Override - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setIntPraticaId", long.class); - - method.invoke(_feIntPraticaRemoteModel, intPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_feIntPraticaRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getTipoPraticaId() { - return _tipoPraticaId; - } - - @Override - public void setTipoPraticaId(long tipoPraticaId) { - _tipoPraticaId = tipoPraticaId; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setTipoPraticaId", long.class); - - method.invoke(_feIntPraticaRemoteModel, tipoPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getTerritorioId() { - return _territorioId; - } - - @Override - public void setTerritorioId(long territorioId) { - _territorioId = territorioId; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setTerritorioId", long.class); - - method.invoke(_feIntPraticaRemoteModel, territorioId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getEdificiOrdinari() { - return _edificiOrdinari; - } - - @Override - public boolean isEdificiOrdinari() { - return _edificiOrdinari; - } - - @Override - public void setEdificiOrdinari(boolean edificiOrdinari) { - _edificiOrdinari = edificiOrdinari; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setEdificiOrdinari", - boolean.class); - - method.invoke(_feIntPraticaRemoteModel, edificiOrdinari); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getNoCollaudoStatico() { - return _noCollaudoStatico; - } - - @Override - public boolean isNoCollaudoStatico() { - return _noCollaudoStatico; - } - - @Override - public void setNoCollaudoStatico(boolean noCollaudoStatico) { - _noCollaudoStatico = noCollaudoStatico; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setNoCollaudoStatico", - boolean.class); - - method.invoke(_feIntPraticaRemoteModel, noCollaudoStatico); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getNoCollaudoStaticoInterLocale() { - return _noCollaudoStaticoInterLocale; - } - - @Override - public boolean isNoCollaudoStaticoInterLocale() { - return _noCollaudoStaticoInterLocale; - } - - @Override - public void setNoCollaudoStaticoInterLocale( - boolean noCollaudoStaticoInterLocale) { - _noCollaudoStaticoInterLocale = noCollaudoStaticoInterLocale; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setNoCollaudoStaticoInterLocale", - boolean.class); - - method.invoke(_feIntPraticaRemoteModel, - noCollaudoStaticoInterLocale); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodTipoIntervento() { - return _codTipoIntervento; - } - - @Override - public void setCodTipoIntervento(String codTipoIntervento) { - _codTipoIntervento = codTipoIntervento; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodTipoIntervento", - String.class); - - method.invoke(_feIntPraticaRemoteModel, codTipoIntervento); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getSottoTipoPraticaCod() { - return _sottoTipoPraticaCod; - } - - @Override - public void setSottoTipoPraticaCod(String sottoTipoPraticaCod) { - _sottoTipoPraticaCod = sottoTipoPraticaCod; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setSottoTipoPraticaCod", - String.class); - - method.invoke(_feIntPraticaRemoteModel, sottoTipoPraticaCod); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getStatoOpere() { - return _statoOpere; - } - - @Override - public void setStatoOpere(String statoOpere) { - _statoOpere = statoOpere; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setStatoOpere", String.class); - - method.invoke(_feIntPraticaRemoteModel, statoOpere); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getInizioLavoriImmediato() { - return _inizioLavoriImmediato; - } - - @Override - public boolean isInizioLavoriImmediato() { - return _inizioLavoriImmediato; - } - - @Override - public void setInizioLavoriImmediato(boolean inizioLavoriImmediato) { - _inizioLavoriImmediato = inizioLavoriImmediato; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setInizioLavoriImmediato", - boolean.class); - - method.invoke(_feIntPraticaRemoteModel, inizioLavoriImmediato); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getRelazioneGeologicaA5Check() { - return _relazioneGeologicaA5Check; - } - - @Override - public boolean isRelazioneGeologicaA5Check() { - return _relazioneGeologicaA5Check; - } - - @Override - public void setRelazioneGeologicaA5Check(boolean relazioneGeologicaA5Check) { - _relazioneGeologicaA5Check = relazioneGeologicaA5Check; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setRelazioneGeologicaA5Check", - boolean.class); - - method.invoke(_feIntPraticaRemoteModel, - relazioneGeologicaA5Check); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getRelazioneGeotecnicaA6Check() { - return _relazioneGeotecnicaA6Check; - } - - @Override - public boolean isRelazioneGeotecnicaA6Check() { - return _relazioneGeotecnicaA6Check; - } - - @Override - public void setRelazioneGeotecnicaA6Check( - boolean relazioneGeotecnicaA6Check) { - _relazioneGeotecnicaA6Check = relazioneGeotecnicaA6Check; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setRelazioneGeotecnicaA6Check", - boolean.class); - - method.invoke(_feIntPraticaRemoteModel, - relazioneGeotecnicaA6Check); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getRelazioneSulleFondazioniA7Check() { - return _relazioneSulleFondazioniA7Check; - } - - @Override - public boolean isRelazioneSulleFondazioniA7Check() { - return _relazioneSulleFondazioniA7Check; - } - - @Override - public void setRelazioneSulleFondazioniA7Check( - boolean relazioneSulleFondazioniA7Check) { - _relazioneSulleFondazioniA7Check = relazioneSulleFondazioniA7Check; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setRelazioneSulleFondazioniA7Check", - boolean.class); - - method.invoke(_feIntPraticaRemoteModel, - relazioneSulleFondazioniA7Check); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getFascicoloDeiCalcoliA9Check() { - return _fascicoloDeiCalcoliA9Check; - } - - @Override - public boolean isFascicoloDeiCalcoliA9Check() { - return _fascicoloDeiCalcoliA9Check; - } - - @Override - public void setFascicoloDeiCalcoliA9Check( - boolean fascicoloDeiCalcoliA9Check) { - _fascicoloDeiCalcoliA9Check = fascicoloDeiCalcoliA9Check; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setFascicoloDeiCalcoliA9Check", - boolean.class); - - method.invoke(_feIntPraticaRemoteModel, - fascicoloDeiCalcoliA9Check); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getSchedaSinteticaGeologoA14Check() { - return _schedaSinteticaGeologoA14Check; - } - - @Override - public boolean isSchedaSinteticaGeologoA14Check() { - return _schedaSinteticaGeologoA14Check; - } - - @Override - public void setSchedaSinteticaGeologoA14Check( - boolean schedaSinteticaGeologoA14Check) { - _schedaSinteticaGeologoA14Check = schedaSinteticaGeologoA14Check; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setSchedaSinteticaGeologoA14Check", - boolean.class); - - method.invoke(_feIntPraticaRemoteModel, - schedaSinteticaGeologoA14Check); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getIdSoggettoDelegato() { - return _idSoggettoDelegato; - } - - @Override - public void setIdSoggettoDelegato(long idSoggettoDelegato) { - _idSoggettoDelegato = idSoggettoDelegato; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setIdSoggettoDelegato", - long.class); - - method.invoke(_feIntPraticaRemoteModel, idSoggettoDelegato); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getStatoPerecedente() { - return _statoPerecedente; - } - - @Override - public void setStatoPerecedente(String statoPerecedente) { - _statoPerecedente = statoPerecedente; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setStatoPerecedente", - String.class); - - method.invoke(_feIntPraticaRemoteModel, statoPerecedente); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getCheckTipologiaG() { - return _checkTipologiaG; - } - - @Override - public boolean isCheckTipologiaG() { - return _checkTipologiaG; - } - - @Override - public void setCheckTipologiaG(boolean checkTipologiaG) { - _checkTipologiaG = checkTipologiaG; - - if (_feIntPraticaRemoteModel != null) { - try { - Class clazz = _feIntPraticaRemoteModel.getClass(); - - Method method = clazz.getMethod("setCheckTipologiaG", - boolean.class); - - method.invoke(_feIntPraticaRemoteModel, checkTipologiaG); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - public BaseModel getFeIntPraticaRemoteModel() { - return _feIntPraticaRemoteModel; - } - - public void setFeIntPraticaRemoteModel(BaseModel feIntPraticaRemoteModel) { - _feIntPraticaRemoteModel = feIntPraticaRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _feIntPraticaRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_feIntPraticaRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - FeIntPraticaLocalServiceUtil.addFeIntPratica(this); - } - else { - FeIntPraticaLocalServiceUtil.updateFeIntPratica(this); - } - } - - @Override - public FeIntPratica toEscapedModel() { - return (FeIntPratica)ProxyUtil.newProxyInstance(FeIntPratica.class.getClassLoader(), - new Class[] { FeIntPratica.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - FeIntPraticaClp clone = new FeIntPraticaClp(); - - clone.setUuid(getUuid()); - clone.setIntPraticaId(getIntPraticaId()); - clone.setGroupId(getGroupId()); - clone.setTipoPraticaId(getTipoPraticaId()); - clone.setTerritorioId(getTerritorioId()); - clone.setEdificiOrdinari(getEdificiOrdinari()); - clone.setNoCollaudoStatico(getNoCollaudoStatico()); - clone.setNoCollaudoStaticoInterLocale(getNoCollaudoStaticoInterLocale()); - clone.setCodTipoIntervento(getCodTipoIntervento()); - clone.setSottoTipoPraticaCod(getSottoTipoPraticaCod()); - clone.setStatoOpere(getStatoOpere()); - clone.setInizioLavoriImmediato(getInizioLavoriImmediato()); - clone.setRelazioneGeologicaA5Check(getRelazioneGeologicaA5Check()); - clone.setRelazioneGeotecnicaA6Check(getRelazioneGeotecnicaA6Check()); - clone.setRelazioneSulleFondazioniA7Check(getRelazioneSulleFondazioniA7Check()); - clone.setFascicoloDeiCalcoliA9Check(getFascicoloDeiCalcoliA9Check()); - clone.setSchedaSinteticaGeologoA14Check(getSchedaSinteticaGeologoA14Check()); - clone.setIdSoggettoDelegato(getIdSoggettoDelegato()); - clone.setStatoPerecedente(getStatoPerecedente()); - clone.setCheckTipologiaG(getCheckTipologiaG()); - - return clone; - } - - @Override - public int compareTo(FeIntPratica feIntPratica) { - long primaryKey = feIntPratica.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof FeIntPraticaClp)) { - return false; - } - - FeIntPraticaClp feIntPratica = (FeIntPraticaClp)obj; - - long primaryKey = feIntPratica.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(41); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", intPraticaId="); - sb.append(getIntPraticaId()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", tipoPraticaId="); - sb.append(getTipoPraticaId()); - sb.append(", territorioId="); - sb.append(getTerritorioId()); - sb.append(", edificiOrdinari="); - sb.append(getEdificiOrdinari()); - sb.append(", noCollaudoStatico="); - sb.append(getNoCollaudoStatico()); - sb.append(", noCollaudoStaticoInterLocale="); - sb.append(getNoCollaudoStaticoInterLocale()); - sb.append(", codTipoIntervento="); - sb.append(getCodTipoIntervento()); - sb.append(", sottoTipoPraticaCod="); - sb.append(getSottoTipoPraticaCod()); - sb.append(", statoOpere="); - sb.append(getStatoOpere()); - sb.append(", inizioLavoriImmediato="); - sb.append(getInizioLavoriImmediato()); - sb.append(", relazioneGeologicaA5Check="); - sb.append(getRelazioneGeologicaA5Check()); - sb.append(", relazioneGeotecnicaA6Check="); - sb.append(getRelazioneGeotecnicaA6Check()); - sb.append(", relazioneSulleFondazioniA7Check="); - sb.append(getRelazioneSulleFondazioniA7Check()); - sb.append(", fascicoloDeiCalcoliA9Check="); - sb.append(getFascicoloDeiCalcoliA9Check()); - sb.append(", schedaSinteticaGeologoA14Check="); - sb.append(getSchedaSinteticaGeologoA14Check()); - sb.append(", idSoggettoDelegato="); - sb.append(getIdSoggettoDelegato()); - sb.append(", statoPerecedente="); - sb.append(getStatoPerecedente()); - sb.append(", checkTipologiaG="); - sb.append(getCheckTipologiaG()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(64); - - sb.append(""); - sb.append("it.tref.liferay.portos.portosimport.model.FeIntPratica"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "intPraticaId"); - sb.append( - "groupId"); - sb.append( - "tipoPraticaId"); - sb.append( - "territorioId"); - sb.append( - "edificiOrdinari"); - sb.append( - "noCollaudoStatico"); - sb.append( - "noCollaudoStaticoInterLocale"); - sb.append( - "codTipoIntervento"); - sb.append( - "sottoTipoPraticaCod"); - sb.append( - "statoOpere"); - sb.append( - "inizioLavoriImmediato"); - sb.append( - "relazioneGeologicaA5Check"); - sb.append( - "relazioneGeotecnicaA6Check"); - sb.append( - "relazioneSulleFondazioniA7Check"); - sb.append( - "fascicoloDeiCalcoliA9Check"); - sb.append( - "schedaSinteticaGeologoA14Check"); - sb.append( - "idSoggettoDelegato"); - sb.append( - "statoPerecedente"); - sb.append( - "checkTipologiaG"); - - sb.append(""); - - return sb.toString(); - } - - private String _uuid; - private long _intPraticaId; - private long _groupId; - private long _tipoPraticaId; - private long _territorioId; - private boolean _edificiOrdinari; - private boolean _noCollaudoStatico; - private boolean _noCollaudoStaticoInterLocale; - private String _codTipoIntervento; - private String _sottoTipoPraticaCod; - private String _statoOpere; - private boolean _inizioLavoriImmediato; - private boolean _relazioneGeologicaA5Check; - private boolean _relazioneGeotecnicaA6Check; - private boolean _relazioneSulleFondazioniA7Check; - private boolean _fascicoloDeiCalcoliA9Check; - private boolean _schedaSinteticaGeologoA14Check; - private long _idSoggettoDelegato; - private String _statoPerecedente; - private boolean _checkTipologiaG; - private BaseModel _feIntPraticaRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.portosimport.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeIntPraticaModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeIntPraticaModel.java deleted file mode 100644 index aa6beadb..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeIntPraticaModel.java +++ /dev/null @@ -1,477 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -/** - * The base model interface for the FeIntPratica service. Represents a row in the "gcfe_intpratica" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.portosimport.model.impl.FeIntPraticaModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.portosimport.model.impl.FeIntPraticaImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see FeIntPratica - * @see it.tref.liferay.portos.portosimport.model.impl.FeIntPraticaImpl - * @see it.tref.liferay.portos.portosimport.model.impl.FeIntPraticaModelImpl - * @generated - */ -public interface FeIntPraticaModel extends BaseModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a fe int pratica model instance should use the {@link FeIntPratica} interface instead. - */ - - /** - * Returns the primary key of this fe int pratica. - * - * @return the primary key of this fe int pratica - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this fe int pratica. - * - * @param primaryKey the primary key of this fe int pratica - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the uuid of this fe int pratica. - * - * @return the uuid of this fe int pratica - */ - @AutoEscape - public String getUuid(); - - /** - * Sets the uuid of this fe int pratica. - * - * @param uuid the uuid of this fe int pratica - */ - public void setUuid(String uuid); - - /** - * Returns the int pratica ID of this fe int pratica. - * - * @return the int pratica ID of this fe int pratica - */ - public long getIntPraticaId(); - - /** - * Sets the int pratica ID of this fe int pratica. - * - * @param intPraticaId the int pratica ID of this fe int pratica - */ - public void setIntPraticaId(long intPraticaId); - - /** - * Returns the group ID of this fe int pratica. - * - * @return the group ID of this fe int pratica - */ - public long getGroupId(); - - /** - * Sets the group ID of this fe int pratica. - * - * @param groupId the group ID of this fe int pratica - */ - public void setGroupId(long groupId); - - /** - * Returns the tipo pratica ID of this fe int pratica. - * - * @return the tipo pratica ID of this fe int pratica - */ - public long getTipoPraticaId(); - - /** - * Sets the tipo pratica ID of this fe int pratica. - * - * @param tipoPraticaId the tipo pratica ID of this fe int pratica - */ - public void setTipoPraticaId(long tipoPraticaId); - - /** - * Returns the territorio ID of this fe int pratica. - * - * @return the territorio ID of this fe int pratica - */ - public long getTerritorioId(); - - /** - * Sets the territorio ID of this fe int pratica. - * - * @param territorioId the territorio ID of this fe int pratica - */ - public void setTerritorioId(long territorioId); - - /** - * Returns the edifici ordinari of this fe int pratica. - * - * @return the edifici ordinari of this fe int pratica - */ - public boolean getEdificiOrdinari(); - - /** - * Returns true if this fe int pratica is edifici ordinari. - * - * @return true if this fe int pratica is edifici ordinari; false otherwise - */ - public boolean isEdificiOrdinari(); - - /** - * Sets whether this fe int pratica is edifici ordinari. - * - * @param edificiOrdinari the edifici ordinari of this fe int pratica - */ - public void setEdificiOrdinari(boolean edificiOrdinari); - - /** - * Returns the no collaudo statico of this fe int pratica. - * - * @return the no collaudo statico of this fe int pratica - */ - public boolean getNoCollaudoStatico(); - - /** - * Returns true if this fe int pratica is no collaudo statico. - * - * @return true if this fe int pratica is no collaudo statico; false otherwise - */ - public boolean isNoCollaudoStatico(); - - /** - * Sets whether this fe int pratica is no collaudo statico. - * - * @param noCollaudoStatico the no collaudo statico of this fe int pratica - */ - public void setNoCollaudoStatico(boolean noCollaudoStatico); - - /** - * Returns the no collaudo statico inter locale of this fe int pratica. - * - * @return the no collaudo statico inter locale of this fe int pratica - */ - public boolean getNoCollaudoStaticoInterLocale(); - - /** - * Returns true if this fe int pratica is no collaudo statico inter locale. - * - * @return true if this fe int pratica is no collaudo statico inter locale; false otherwise - */ - public boolean isNoCollaudoStaticoInterLocale(); - - /** - * Sets whether this fe int pratica is no collaudo statico inter locale. - * - * @param noCollaudoStaticoInterLocale the no collaudo statico inter locale of this fe int pratica - */ - public void setNoCollaudoStaticoInterLocale( - boolean noCollaudoStaticoInterLocale); - - /** - * Returns the cod tipo intervento of this fe int pratica. - * - * @return the cod tipo intervento of this fe int pratica - */ - @AutoEscape - public String getCodTipoIntervento(); - - /** - * Sets the cod tipo intervento of this fe int pratica. - * - * @param codTipoIntervento the cod tipo intervento of this fe int pratica - */ - public void setCodTipoIntervento(String codTipoIntervento); - - /** - * Returns the sotto tipo pratica cod of this fe int pratica. - * - * @return the sotto tipo pratica cod of this fe int pratica - */ - @AutoEscape - public String getSottoTipoPraticaCod(); - - /** - * Sets the sotto tipo pratica cod of this fe int pratica. - * - * @param sottoTipoPraticaCod the sotto tipo pratica cod of this fe int pratica - */ - public void setSottoTipoPraticaCod(String sottoTipoPraticaCod); - - /** - * Returns the stato opere of this fe int pratica. - * - * @return the stato opere of this fe int pratica - */ - @AutoEscape - public String getStatoOpere(); - - /** - * Sets the stato opere of this fe int pratica. - * - * @param statoOpere the stato opere of this fe int pratica - */ - public void setStatoOpere(String statoOpere); - - /** - * Returns the inizio lavori immediato of this fe int pratica. - * - * @return the inizio lavori immediato of this fe int pratica - */ - public boolean getInizioLavoriImmediato(); - - /** - * Returns true if this fe int pratica is inizio lavori immediato. - * - * @return true if this fe int pratica is inizio lavori immediato; false otherwise - */ - public boolean isInizioLavoriImmediato(); - - /** - * Sets whether this fe int pratica is inizio lavori immediato. - * - * @param inizioLavoriImmediato the inizio lavori immediato of this fe int pratica - */ - public void setInizioLavoriImmediato(boolean inizioLavoriImmediato); - - /** - * Returns the relazione geologica a5 check of this fe int pratica. - * - * @return the relazione geologica a5 check of this fe int pratica - */ - public boolean getRelazioneGeologicaA5Check(); - - /** - * Returns true if this fe int pratica is relazione geologica a5 check. - * - * @return true if this fe int pratica is relazione geologica a5 check; false otherwise - */ - public boolean isRelazioneGeologicaA5Check(); - - /** - * Sets whether this fe int pratica is relazione geologica a5 check. - * - * @param relazioneGeologicaA5Check the relazione geologica a5 check of this fe int pratica - */ - public void setRelazioneGeologicaA5Check(boolean relazioneGeologicaA5Check); - - /** - * Returns the relazione geotecnica a6 check of this fe int pratica. - * - * @return the relazione geotecnica a6 check of this fe int pratica - */ - public boolean getRelazioneGeotecnicaA6Check(); - - /** - * Returns true if this fe int pratica is relazione geotecnica a6 check. - * - * @return true if this fe int pratica is relazione geotecnica a6 check; false otherwise - */ - public boolean isRelazioneGeotecnicaA6Check(); - - /** - * Sets whether this fe int pratica is relazione geotecnica a6 check. - * - * @param relazioneGeotecnicaA6Check the relazione geotecnica a6 check of this fe int pratica - */ - public void setRelazioneGeotecnicaA6Check( - boolean relazioneGeotecnicaA6Check); - - /** - * Returns the relazione sulle fondazioni a7 check of this fe int pratica. - * - * @return the relazione sulle fondazioni a7 check of this fe int pratica - */ - public boolean getRelazioneSulleFondazioniA7Check(); - - /** - * Returns true if this fe int pratica is relazione sulle fondazioni a7 check. - * - * @return true if this fe int pratica is relazione sulle fondazioni a7 check; false otherwise - */ - public boolean isRelazioneSulleFondazioniA7Check(); - - /** - * Sets whether this fe int pratica is relazione sulle fondazioni a7 check. - * - * @param relazioneSulleFondazioniA7Check the relazione sulle fondazioni a7 check of this fe int pratica - */ - public void setRelazioneSulleFondazioniA7Check( - boolean relazioneSulleFondazioniA7Check); - - /** - * Returns the fascicolo dei calcoli a9 check of this fe int pratica. - * - * @return the fascicolo dei calcoli a9 check of this fe int pratica - */ - public boolean getFascicoloDeiCalcoliA9Check(); - - /** - * Returns true if this fe int pratica is fascicolo dei calcoli a9 check. - * - * @return true if this fe int pratica is fascicolo dei calcoli a9 check; false otherwise - */ - public boolean isFascicoloDeiCalcoliA9Check(); - - /** - * Sets whether this fe int pratica is fascicolo dei calcoli a9 check. - * - * @param fascicoloDeiCalcoliA9Check the fascicolo dei calcoli a9 check of this fe int pratica - */ - public void setFascicoloDeiCalcoliA9Check( - boolean fascicoloDeiCalcoliA9Check); - - /** - * Returns the scheda sintetica geologo a14 check of this fe int pratica. - * - * @return the scheda sintetica geologo a14 check of this fe int pratica - */ - public boolean getSchedaSinteticaGeologoA14Check(); - - /** - * Returns true if this fe int pratica is scheda sintetica geologo a14 check. - * - * @return true if this fe int pratica is scheda sintetica geologo a14 check; false otherwise - */ - public boolean isSchedaSinteticaGeologoA14Check(); - - /** - * Sets whether this fe int pratica is scheda sintetica geologo a14 check. - * - * @param schedaSinteticaGeologoA14Check the scheda sintetica geologo a14 check of this fe int pratica - */ - public void setSchedaSinteticaGeologoA14Check( - boolean schedaSinteticaGeologoA14Check); - - /** - * Returns the id soggetto delegato of this fe int pratica. - * - * @return the id soggetto delegato of this fe int pratica - */ - public long getIdSoggettoDelegato(); - - /** - * Sets the id soggetto delegato of this fe int pratica. - * - * @param idSoggettoDelegato the id soggetto delegato of this fe int pratica - */ - public void setIdSoggettoDelegato(long idSoggettoDelegato); - - /** - * Returns the stato perecedente of this fe int pratica. - * - * @return the stato perecedente of this fe int pratica - */ - @AutoEscape - public String getStatoPerecedente(); - - /** - * Sets the stato perecedente of this fe int pratica. - * - * @param statoPerecedente the stato perecedente of this fe int pratica - */ - public void setStatoPerecedente(String statoPerecedente); - - /** - * Returns the check tipologia g of this fe int pratica. - * - * @return the check tipologia g of this fe int pratica - */ - public boolean getCheckTipologiaG(); - - /** - * Returns true if this fe int pratica is check tipologia g. - * - * @return true if this fe int pratica is check tipologia g; false otherwise - */ - public boolean isCheckTipologiaG(); - - /** - * Sets whether this fe int pratica is check tipologia g. - * - * @param checkTipologiaG the check tipologia g of this fe int pratica - */ - public void setCheckTipologiaG(boolean checkTipologiaG); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.FeIntPratica feIntPratica); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.FeIntPratica toEscapedModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.FeIntPratica toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeIntPraticaSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeIntPraticaSoap.java deleted file mode 100644 index 6ec4f10b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeIntPraticaSoap.java +++ /dev/null @@ -1,329 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class FeIntPraticaSoap implements Serializable { - public static FeIntPraticaSoap toSoapModel(FeIntPratica model) { - FeIntPraticaSoap soapModel = new FeIntPraticaSoap(); - - soapModel.setUuid(model.getUuid()); - soapModel.setIntPraticaId(model.getIntPraticaId()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setTipoPraticaId(model.getTipoPraticaId()); - soapModel.setTerritorioId(model.getTerritorioId()); - soapModel.setEdificiOrdinari(model.getEdificiOrdinari()); - soapModel.setNoCollaudoStatico(model.getNoCollaudoStatico()); - soapModel.setNoCollaudoStaticoInterLocale(model.getNoCollaudoStaticoInterLocale()); - soapModel.setCodTipoIntervento(model.getCodTipoIntervento()); - soapModel.setSottoTipoPraticaCod(model.getSottoTipoPraticaCod()); - soapModel.setStatoOpere(model.getStatoOpere()); - soapModel.setInizioLavoriImmediato(model.getInizioLavoriImmediato()); - soapModel.setRelazioneGeologicaA5Check(model.getRelazioneGeologicaA5Check()); - soapModel.setRelazioneGeotecnicaA6Check(model.getRelazioneGeotecnicaA6Check()); - soapModel.setRelazioneSulleFondazioniA7Check(model.getRelazioneSulleFondazioniA7Check()); - soapModel.setFascicoloDeiCalcoliA9Check(model.getFascicoloDeiCalcoliA9Check()); - soapModel.setSchedaSinteticaGeologoA14Check(model.getSchedaSinteticaGeologoA14Check()); - soapModel.setIdSoggettoDelegato(model.getIdSoggettoDelegato()); - soapModel.setStatoPerecedente(model.getStatoPerecedente()); - soapModel.setCheckTipologiaG(model.getCheckTipologiaG()); - - return soapModel; - } - - public static FeIntPraticaSoap[] toSoapModels(FeIntPratica[] models) { - FeIntPraticaSoap[] soapModels = new FeIntPraticaSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static FeIntPraticaSoap[][] toSoapModels(FeIntPratica[][] models) { - FeIntPraticaSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new FeIntPraticaSoap[models.length][models[0].length]; - } - else { - soapModels = new FeIntPraticaSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static FeIntPraticaSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (FeIntPratica model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new FeIntPraticaSoap[soapModels.size()]); - } - - public FeIntPraticaSoap() { - } - - public long getPrimaryKey() { - return _intPraticaId; - } - - public void setPrimaryKey(long pk) { - setIntPraticaId(pk); - } - - public String getUuid() { - return _uuid; - } - - public void setUuid(String uuid) { - _uuid = uuid; - } - - public long getIntPraticaId() { - return _intPraticaId; - } - - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public long getTipoPraticaId() { - return _tipoPraticaId; - } - - public void setTipoPraticaId(long tipoPraticaId) { - _tipoPraticaId = tipoPraticaId; - } - - public long getTerritorioId() { - return _territorioId; - } - - public void setTerritorioId(long territorioId) { - _territorioId = territorioId; - } - - public boolean getEdificiOrdinari() { - return _edificiOrdinari; - } - - public boolean isEdificiOrdinari() { - return _edificiOrdinari; - } - - public void setEdificiOrdinari(boolean edificiOrdinari) { - _edificiOrdinari = edificiOrdinari; - } - - public boolean getNoCollaudoStatico() { - return _noCollaudoStatico; - } - - public boolean isNoCollaudoStatico() { - return _noCollaudoStatico; - } - - public void setNoCollaudoStatico(boolean noCollaudoStatico) { - _noCollaudoStatico = noCollaudoStatico; - } - - public boolean getNoCollaudoStaticoInterLocale() { - return _noCollaudoStaticoInterLocale; - } - - public boolean isNoCollaudoStaticoInterLocale() { - return _noCollaudoStaticoInterLocale; - } - - public void setNoCollaudoStaticoInterLocale( - boolean noCollaudoStaticoInterLocale) { - _noCollaudoStaticoInterLocale = noCollaudoStaticoInterLocale; - } - - public String getCodTipoIntervento() { - return _codTipoIntervento; - } - - public void setCodTipoIntervento(String codTipoIntervento) { - _codTipoIntervento = codTipoIntervento; - } - - public String getSottoTipoPraticaCod() { - return _sottoTipoPraticaCod; - } - - public void setSottoTipoPraticaCod(String sottoTipoPraticaCod) { - _sottoTipoPraticaCod = sottoTipoPraticaCod; - } - - public String getStatoOpere() { - return _statoOpere; - } - - public void setStatoOpere(String statoOpere) { - _statoOpere = statoOpere; - } - - public boolean getInizioLavoriImmediato() { - return _inizioLavoriImmediato; - } - - public boolean isInizioLavoriImmediato() { - return _inizioLavoriImmediato; - } - - public void setInizioLavoriImmediato(boolean inizioLavoriImmediato) { - _inizioLavoriImmediato = inizioLavoriImmediato; - } - - public boolean getRelazioneGeologicaA5Check() { - return _relazioneGeologicaA5Check; - } - - public boolean isRelazioneGeologicaA5Check() { - return _relazioneGeologicaA5Check; - } - - public void setRelazioneGeologicaA5Check(boolean relazioneGeologicaA5Check) { - _relazioneGeologicaA5Check = relazioneGeologicaA5Check; - } - - public boolean getRelazioneGeotecnicaA6Check() { - return _relazioneGeotecnicaA6Check; - } - - public boolean isRelazioneGeotecnicaA6Check() { - return _relazioneGeotecnicaA6Check; - } - - public void setRelazioneGeotecnicaA6Check( - boolean relazioneGeotecnicaA6Check) { - _relazioneGeotecnicaA6Check = relazioneGeotecnicaA6Check; - } - - public boolean getRelazioneSulleFondazioniA7Check() { - return _relazioneSulleFondazioniA7Check; - } - - public boolean isRelazioneSulleFondazioniA7Check() { - return _relazioneSulleFondazioniA7Check; - } - - public void setRelazioneSulleFondazioniA7Check( - boolean relazioneSulleFondazioniA7Check) { - _relazioneSulleFondazioniA7Check = relazioneSulleFondazioniA7Check; - } - - public boolean getFascicoloDeiCalcoliA9Check() { - return _fascicoloDeiCalcoliA9Check; - } - - public boolean isFascicoloDeiCalcoliA9Check() { - return _fascicoloDeiCalcoliA9Check; - } - - public void setFascicoloDeiCalcoliA9Check( - boolean fascicoloDeiCalcoliA9Check) { - _fascicoloDeiCalcoliA9Check = fascicoloDeiCalcoliA9Check; - } - - public boolean getSchedaSinteticaGeologoA14Check() { - return _schedaSinteticaGeologoA14Check; - } - - public boolean isSchedaSinteticaGeologoA14Check() { - return _schedaSinteticaGeologoA14Check; - } - - public void setSchedaSinteticaGeologoA14Check( - boolean schedaSinteticaGeologoA14Check) { - _schedaSinteticaGeologoA14Check = schedaSinteticaGeologoA14Check; - } - - public long getIdSoggettoDelegato() { - return _idSoggettoDelegato; - } - - public void setIdSoggettoDelegato(long idSoggettoDelegato) { - _idSoggettoDelegato = idSoggettoDelegato; - } - - public String getStatoPerecedente() { - return _statoPerecedente; - } - - public void setStatoPerecedente(String statoPerecedente) { - _statoPerecedente = statoPerecedente; - } - - public boolean getCheckTipologiaG() { - return _checkTipologiaG; - } - - public boolean isCheckTipologiaG() { - return _checkTipologiaG; - } - - public void setCheckTipologiaG(boolean checkTipologiaG) { - _checkTipologiaG = checkTipologiaG; - } - - private String _uuid; - private long _intPraticaId; - private long _groupId; - private long _tipoPraticaId; - private long _territorioId; - private boolean _edificiOrdinari; - private boolean _noCollaudoStatico; - private boolean _noCollaudoStaticoInterLocale; - private String _codTipoIntervento; - private String _sottoTipoPraticaCod; - private String _statoOpere; - private boolean _inizioLavoriImmediato; - private boolean _relazioneGeologicaA5Check; - private boolean _relazioneGeotecnicaA6Check; - private boolean _relazioneSulleFondazioniA7Check; - private boolean _fascicoloDeiCalcoliA9Check; - private boolean _schedaSinteticaGeologoA14Check; - private long _idSoggettoDelegato; - private String _statoPerecedente; - private boolean _checkTipologiaG; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeIntPraticaWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeIntPraticaWrapper.java deleted file mode 100644 index ca77a79f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeIntPraticaWrapper.java +++ /dev/null @@ -1,880 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link FeIntPratica}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see FeIntPratica - * @generated - */ -public class FeIntPraticaWrapper implements FeIntPratica, - ModelWrapper { - public FeIntPraticaWrapper(FeIntPratica feIntPratica) { - _feIntPratica = feIntPratica; - } - - @Override - public Class getModelClass() { - return FeIntPratica.class; - } - - @Override - public String getModelClassName() { - return FeIntPratica.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("groupId", getGroupId()); - attributes.put("tipoPraticaId", getTipoPraticaId()); - attributes.put("territorioId", getTerritorioId()); - attributes.put("edificiOrdinari", getEdificiOrdinari()); - attributes.put("noCollaudoStatico", getNoCollaudoStatico()); - attributes.put("noCollaudoStaticoInterLocale", - getNoCollaudoStaticoInterLocale()); - attributes.put("codTipoIntervento", getCodTipoIntervento()); - attributes.put("sottoTipoPraticaCod", getSottoTipoPraticaCod()); - attributes.put("statoOpere", getStatoOpere()); - attributes.put("inizioLavoriImmediato", getInizioLavoriImmediato()); - attributes.put("relazioneGeologicaA5Check", - getRelazioneGeologicaA5Check()); - attributes.put("relazioneGeotecnicaA6Check", - getRelazioneGeotecnicaA6Check()); - attributes.put("relazioneSulleFondazioniA7Check", - getRelazioneSulleFondazioniA7Check()); - attributes.put("fascicoloDeiCalcoliA9Check", - getFascicoloDeiCalcoliA9Check()); - attributes.put("schedaSinteticaGeologoA14Check", - getSchedaSinteticaGeologoA14Check()); - attributes.put("idSoggettoDelegato", getIdSoggettoDelegato()); - attributes.put("statoPerecedente", getStatoPerecedente()); - attributes.put("checkTipologiaG", getCheckTipologiaG()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long tipoPraticaId = (Long)attributes.get("tipoPraticaId"); - - if (tipoPraticaId != null) { - setTipoPraticaId(tipoPraticaId); - } - - Long territorioId = (Long)attributes.get("territorioId"); - - if (territorioId != null) { - setTerritorioId(territorioId); - } - - Boolean edificiOrdinari = (Boolean)attributes.get("edificiOrdinari"); - - if (edificiOrdinari != null) { - setEdificiOrdinari(edificiOrdinari); - } - - Boolean noCollaudoStatico = (Boolean)attributes.get("noCollaudoStatico"); - - if (noCollaudoStatico != null) { - setNoCollaudoStatico(noCollaudoStatico); - } - - Boolean noCollaudoStaticoInterLocale = (Boolean)attributes.get( - "noCollaudoStaticoInterLocale"); - - if (noCollaudoStaticoInterLocale != null) { - setNoCollaudoStaticoInterLocale(noCollaudoStaticoInterLocale); - } - - String codTipoIntervento = (String)attributes.get("codTipoIntervento"); - - if (codTipoIntervento != null) { - setCodTipoIntervento(codTipoIntervento); - } - - String sottoTipoPraticaCod = (String)attributes.get( - "sottoTipoPraticaCod"); - - if (sottoTipoPraticaCod != null) { - setSottoTipoPraticaCod(sottoTipoPraticaCod); - } - - String statoOpere = (String)attributes.get("statoOpere"); - - if (statoOpere != null) { - setStatoOpere(statoOpere); - } - - Boolean inizioLavoriImmediato = (Boolean)attributes.get( - "inizioLavoriImmediato"); - - if (inizioLavoriImmediato != null) { - setInizioLavoriImmediato(inizioLavoriImmediato); - } - - Boolean relazioneGeologicaA5Check = (Boolean)attributes.get( - "relazioneGeologicaA5Check"); - - if (relazioneGeologicaA5Check != null) { - setRelazioneGeologicaA5Check(relazioneGeologicaA5Check); - } - - Boolean relazioneGeotecnicaA6Check = (Boolean)attributes.get( - "relazioneGeotecnicaA6Check"); - - if (relazioneGeotecnicaA6Check != null) { - setRelazioneGeotecnicaA6Check(relazioneGeotecnicaA6Check); - } - - Boolean relazioneSulleFondazioniA7Check = (Boolean)attributes.get( - "relazioneSulleFondazioniA7Check"); - - if (relazioneSulleFondazioniA7Check != null) { - setRelazioneSulleFondazioniA7Check(relazioneSulleFondazioniA7Check); - } - - Boolean fascicoloDeiCalcoliA9Check = (Boolean)attributes.get( - "fascicoloDeiCalcoliA9Check"); - - if (fascicoloDeiCalcoliA9Check != null) { - setFascicoloDeiCalcoliA9Check(fascicoloDeiCalcoliA9Check); - } - - Boolean schedaSinteticaGeologoA14Check = (Boolean)attributes.get( - "schedaSinteticaGeologoA14Check"); - - if (schedaSinteticaGeologoA14Check != null) { - setSchedaSinteticaGeologoA14Check(schedaSinteticaGeologoA14Check); - } - - Long idSoggettoDelegato = (Long)attributes.get("idSoggettoDelegato"); - - if (idSoggettoDelegato != null) { - setIdSoggettoDelegato(idSoggettoDelegato); - } - - String statoPerecedente = (String)attributes.get("statoPerecedente"); - - if (statoPerecedente != null) { - setStatoPerecedente(statoPerecedente); - } - - Boolean checkTipologiaG = (Boolean)attributes.get("checkTipologiaG"); - - if (checkTipologiaG != null) { - setCheckTipologiaG(checkTipologiaG); - } - } - - /** - * Returns the primary key of this fe int pratica. - * - * @return the primary key of this fe int pratica - */ - @Override - public long getPrimaryKey() { - return _feIntPratica.getPrimaryKey(); - } - - /** - * Sets the primary key of this fe int pratica. - * - * @param primaryKey the primary key of this fe int pratica - */ - @Override - public void setPrimaryKey(long primaryKey) { - _feIntPratica.setPrimaryKey(primaryKey); - } - - /** - * Returns the uuid of this fe int pratica. - * - * @return the uuid of this fe int pratica - */ - @Override - public java.lang.String getUuid() { - return _feIntPratica.getUuid(); - } - - /** - * Sets the uuid of this fe int pratica. - * - * @param uuid the uuid of this fe int pratica - */ - @Override - public void setUuid(java.lang.String uuid) { - _feIntPratica.setUuid(uuid); - } - - /** - * Returns the int pratica ID of this fe int pratica. - * - * @return the int pratica ID of this fe int pratica - */ - @Override - public long getIntPraticaId() { - return _feIntPratica.getIntPraticaId(); - } - - /** - * Sets the int pratica ID of this fe int pratica. - * - * @param intPraticaId the int pratica ID of this fe int pratica - */ - @Override - public void setIntPraticaId(long intPraticaId) { - _feIntPratica.setIntPraticaId(intPraticaId); - } - - /** - * Returns the group ID of this fe int pratica. - * - * @return the group ID of this fe int pratica - */ - @Override - public long getGroupId() { - return _feIntPratica.getGroupId(); - } - - /** - * Sets the group ID of this fe int pratica. - * - * @param groupId the group ID of this fe int pratica - */ - @Override - public void setGroupId(long groupId) { - _feIntPratica.setGroupId(groupId); - } - - /** - * Returns the tipo pratica ID of this fe int pratica. - * - * @return the tipo pratica ID of this fe int pratica - */ - @Override - public long getTipoPraticaId() { - return _feIntPratica.getTipoPraticaId(); - } - - /** - * Sets the tipo pratica ID of this fe int pratica. - * - * @param tipoPraticaId the tipo pratica ID of this fe int pratica - */ - @Override - public void setTipoPraticaId(long tipoPraticaId) { - _feIntPratica.setTipoPraticaId(tipoPraticaId); - } - - /** - * Returns the territorio ID of this fe int pratica. - * - * @return the territorio ID of this fe int pratica - */ - @Override - public long getTerritorioId() { - return _feIntPratica.getTerritorioId(); - } - - /** - * Sets the territorio ID of this fe int pratica. - * - * @param territorioId the territorio ID of this fe int pratica - */ - @Override - public void setTerritorioId(long territorioId) { - _feIntPratica.setTerritorioId(territorioId); - } - - /** - * Returns the edifici ordinari of this fe int pratica. - * - * @return the edifici ordinari of this fe int pratica - */ - @Override - public boolean getEdificiOrdinari() { - return _feIntPratica.getEdificiOrdinari(); - } - - /** - * Returns true if this fe int pratica is edifici ordinari. - * - * @return true if this fe int pratica is edifici ordinari; false otherwise - */ - @Override - public boolean isEdificiOrdinari() { - return _feIntPratica.isEdificiOrdinari(); - } - - /** - * Sets whether this fe int pratica is edifici ordinari. - * - * @param edificiOrdinari the edifici ordinari of this fe int pratica - */ - @Override - public void setEdificiOrdinari(boolean edificiOrdinari) { - _feIntPratica.setEdificiOrdinari(edificiOrdinari); - } - - /** - * Returns the no collaudo statico of this fe int pratica. - * - * @return the no collaudo statico of this fe int pratica - */ - @Override - public boolean getNoCollaudoStatico() { - return _feIntPratica.getNoCollaudoStatico(); - } - - /** - * Returns true if this fe int pratica is no collaudo statico. - * - * @return true if this fe int pratica is no collaudo statico; false otherwise - */ - @Override - public boolean isNoCollaudoStatico() { - return _feIntPratica.isNoCollaudoStatico(); - } - - /** - * Sets whether this fe int pratica is no collaudo statico. - * - * @param noCollaudoStatico the no collaudo statico of this fe int pratica - */ - @Override - public void setNoCollaudoStatico(boolean noCollaudoStatico) { - _feIntPratica.setNoCollaudoStatico(noCollaudoStatico); - } - - /** - * Returns the no collaudo statico inter locale of this fe int pratica. - * - * @return the no collaudo statico inter locale of this fe int pratica - */ - @Override - public boolean getNoCollaudoStaticoInterLocale() { - return _feIntPratica.getNoCollaudoStaticoInterLocale(); - } - - /** - * Returns true if this fe int pratica is no collaudo statico inter locale. - * - * @return true if this fe int pratica is no collaudo statico inter locale; false otherwise - */ - @Override - public boolean isNoCollaudoStaticoInterLocale() { - return _feIntPratica.isNoCollaudoStaticoInterLocale(); - } - - /** - * Sets whether this fe int pratica is no collaudo statico inter locale. - * - * @param noCollaudoStaticoInterLocale the no collaudo statico inter locale of this fe int pratica - */ - @Override - public void setNoCollaudoStaticoInterLocale( - boolean noCollaudoStaticoInterLocale) { - _feIntPratica.setNoCollaudoStaticoInterLocale(noCollaudoStaticoInterLocale); - } - - /** - * Returns the cod tipo intervento of this fe int pratica. - * - * @return the cod tipo intervento of this fe int pratica - */ - @Override - public java.lang.String getCodTipoIntervento() { - return _feIntPratica.getCodTipoIntervento(); - } - - /** - * Sets the cod tipo intervento of this fe int pratica. - * - * @param codTipoIntervento the cod tipo intervento of this fe int pratica - */ - @Override - public void setCodTipoIntervento(java.lang.String codTipoIntervento) { - _feIntPratica.setCodTipoIntervento(codTipoIntervento); - } - - /** - * Returns the sotto tipo pratica cod of this fe int pratica. - * - * @return the sotto tipo pratica cod of this fe int pratica - */ - @Override - public java.lang.String getSottoTipoPraticaCod() { - return _feIntPratica.getSottoTipoPraticaCod(); - } - - /** - * Sets the sotto tipo pratica cod of this fe int pratica. - * - * @param sottoTipoPraticaCod the sotto tipo pratica cod of this fe int pratica - */ - @Override - public void setSottoTipoPraticaCod(java.lang.String sottoTipoPraticaCod) { - _feIntPratica.setSottoTipoPraticaCod(sottoTipoPraticaCod); - } - - /** - * Returns the stato opere of this fe int pratica. - * - * @return the stato opere of this fe int pratica - */ - @Override - public java.lang.String getStatoOpere() { - return _feIntPratica.getStatoOpere(); - } - - /** - * Sets the stato opere of this fe int pratica. - * - * @param statoOpere the stato opere of this fe int pratica - */ - @Override - public void setStatoOpere(java.lang.String statoOpere) { - _feIntPratica.setStatoOpere(statoOpere); - } - - /** - * Returns the inizio lavori immediato of this fe int pratica. - * - * @return the inizio lavori immediato of this fe int pratica - */ - @Override - public boolean getInizioLavoriImmediato() { - return _feIntPratica.getInizioLavoriImmediato(); - } - - /** - * Returns true if this fe int pratica is inizio lavori immediato. - * - * @return true if this fe int pratica is inizio lavori immediato; false otherwise - */ - @Override - public boolean isInizioLavoriImmediato() { - return _feIntPratica.isInizioLavoriImmediato(); - } - - /** - * Sets whether this fe int pratica is inizio lavori immediato. - * - * @param inizioLavoriImmediato the inizio lavori immediato of this fe int pratica - */ - @Override - public void setInizioLavoriImmediato(boolean inizioLavoriImmediato) { - _feIntPratica.setInizioLavoriImmediato(inizioLavoriImmediato); - } - - /** - * Returns the relazione geologica a5 check of this fe int pratica. - * - * @return the relazione geologica a5 check of this fe int pratica - */ - @Override - public boolean getRelazioneGeologicaA5Check() { - return _feIntPratica.getRelazioneGeologicaA5Check(); - } - - /** - * Returns true if this fe int pratica is relazione geologica a5 check. - * - * @return true if this fe int pratica is relazione geologica a5 check; false otherwise - */ - @Override - public boolean isRelazioneGeologicaA5Check() { - return _feIntPratica.isRelazioneGeologicaA5Check(); - } - - /** - * Sets whether this fe int pratica is relazione geologica a5 check. - * - * @param relazioneGeologicaA5Check the relazione geologica a5 check of this fe int pratica - */ - @Override - public void setRelazioneGeologicaA5Check(boolean relazioneGeologicaA5Check) { - _feIntPratica.setRelazioneGeologicaA5Check(relazioneGeologicaA5Check); - } - - /** - * Returns the relazione geotecnica a6 check of this fe int pratica. - * - * @return the relazione geotecnica a6 check of this fe int pratica - */ - @Override - public boolean getRelazioneGeotecnicaA6Check() { - return _feIntPratica.getRelazioneGeotecnicaA6Check(); - } - - /** - * Returns true if this fe int pratica is relazione geotecnica a6 check. - * - * @return true if this fe int pratica is relazione geotecnica a6 check; false otherwise - */ - @Override - public boolean isRelazioneGeotecnicaA6Check() { - return _feIntPratica.isRelazioneGeotecnicaA6Check(); - } - - /** - * Sets whether this fe int pratica is relazione geotecnica a6 check. - * - * @param relazioneGeotecnicaA6Check the relazione geotecnica a6 check of this fe int pratica - */ - @Override - public void setRelazioneGeotecnicaA6Check( - boolean relazioneGeotecnicaA6Check) { - _feIntPratica.setRelazioneGeotecnicaA6Check(relazioneGeotecnicaA6Check); - } - - /** - * Returns the relazione sulle fondazioni a7 check of this fe int pratica. - * - * @return the relazione sulle fondazioni a7 check of this fe int pratica - */ - @Override - public boolean getRelazioneSulleFondazioniA7Check() { - return _feIntPratica.getRelazioneSulleFondazioniA7Check(); - } - - /** - * Returns true if this fe int pratica is relazione sulle fondazioni a7 check. - * - * @return true if this fe int pratica is relazione sulle fondazioni a7 check; false otherwise - */ - @Override - public boolean isRelazioneSulleFondazioniA7Check() { - return _feIntPratica.isRelazioneSulleFondazioniA7Check(); - } - - /** - * Sets whether this fe int pratica is relazione sulle fondazioni a7 check. - * - * @param relazioneSulleFondazioniA7Check the relazione sulle fondazioni a7 check of this fe int pratica - */ - @Override - public void setRelazioneSulleFondazioniA7Check( - boolean relazioneSulleFondazioniA7Check) { - _feIntPratica.setRelazioneSulleFondazioniA7Check(relazioneSulleFondazioniA7Check); - } - - /** - * Returns the fascicolo dei calcoli a9 check of this fe int pratica. - * - * @return the fascicolo dei calcoli a9 check of this fe int pratica - */ - @Override - public boolean getFascicoloDeiCalcoliA9Check() { - return _feIntPratica.getFascicoloDeiCalcoliA9Check(); - } - - /** - * Returns true if this fe int pratica is fascicolo dei calcoli a9 check. - * - * @return true if this fe int pratica is fascicolo dei calcoli a9 check; false otherwise - */ - @Override - public boolean isFascicoloDeiCalcoliA9Check() { - return _feIntPratica.isFascicoloDeiCalcoliA9Check(); - } - - /** - * Sets whether this fe int pratica is fascicolo dei calcoli a9 check. - * - * @param fascicoloDeiCalcoliA9Check the fascicolo dei calcoli a9 check of this fe int pratica - */ - @Override - public void setFascicoloDeiCalcoliA9Check( - boolean fascicoloDeiCalcoliA9Check) { - _feIntPratica.setFascicoloDeiCalcoliA9Check(fascicoloDeiCalcoliA9Check); - } - - /** - * Returns the scheda sintetica geologo a14 check of this fe int pratica. - * - * @return the scheda sintetica geologo a14 check of this fe int pratica - */ - @Override - public boolean getSchedaSinteticaGeologoA14Check() { - return _feIntPratica.getSchedaSinteticaGeologoA14Check(); - } - - /** - * Returns true if this fe int pratica is scheda sintetica geologo a14 check. - * - * @return true if this fe int pratica is scheda sintetica geologo a14 check; false otherwise - */ - @Override - public boolean isSchedaSinteticaGeologoA14Check() { - return _feIntPratica.isSchedaSinteticaGeologoA14Check(); - } - - /** - * Sets whether this fe int pratica is scheda sintetica geologo a14 check. - * - * @param schedaSinteticaGeologoA14Check the scheda sintetica geologo a14 check of this fe int pratica - */ - @Override - public void setSchedaSinteticaGeologoA14Check( - boolean schedaSinteticaGeologoA14Check) { - _feIntPratica.setSchedaSinteticaGeologoA14Check(schedaSinteticaGeologoA14Check); - } - - /** - * Returns the id soggetto delegato of this fe int pratica. - * - * @return the id soggetto delegato of this fe int pratica - */ - @Override - public long getIdSoggettoDelegato() { - return _feIntPratica.getIdSoggettoDelegato(); - } - - /** - * Sets the id soggetto delegato of this fe int pratica. - * - * @param idSoggettoDelegato the id soggetto delegato of this fe int pratica - */ - @Override - public void setIdSoggettoDelegato(long idSoggettoDelegato) { - _feIntPratica.setIdSoggettoDelegato(idSoggettoDelegato); - } - - /** - * Returns the stato perecedente of this fe int pratica. - * - * @return the stato perecedente of this fe int pratica - */ - @Override - public java.lang.String getStatoPerecedente() { - return _feIntPratica.getStatoPerecedente(); - } - - /** - * Sets the stato perecedente of this fe int pratica. - * - * @param statoPerecedente the stato perecedente of this fe int pratica - */ - @Override - public void setStatoPerecedente(java.lang.String statoPerecedente) { - _feIntPratica.setStatoPerecedente(statoPerecedente); - } - - /** - * Returns the check tipologia g of this fe int pratica. - * - * @return the check tipologia g of this fe int pratica - */ - @Override - public boolean getCheckTipologiaG() { - return _feIntPratica.getCheckTipologiaG(); - } - - /** - * Returns true if this fe int pratica is check tipologia g. - * - * @return true if this fe int pratica is check tipologia g; false otherwise - */ - @Override - public boolean isCheckTipologiaG() { - return _feIntPratica.isCheckTipologiaG(); - } - - /** - * Sets whether this fe int pratica is check tipologia g. - * - * @param checkTipologiaG the check tipologia g of this fe int pratica - */ - @Override - public void setCheckTipologiaG(boolean checkTipologiaG) { - _feIntPratica.setCheckTipologiaG(checkTipologiaG); - } - - @Override - public boolean isNew() { - return _feIntPratica.isNew(); - } - - @Override - public void setNew(boolean n) { - _feIntPratica.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _feIntPratica.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _feIntPratica.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _feIntPratica.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _feIntPratica.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _feIntPratica.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _feIntPratica.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _feIntPratica.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _feIntPratica.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _feIntPratica.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new FeIntPraticaWrapper((FeIntPratica)_feIntPratica.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.FeIntPratica feIntPratica) { - return _feIntPratica.compareTo(feIntPratica); - } - - @Override - public int hashCode() { - return _feIntPratica.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _feIntPratica.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeIntPratica toEscapedModel() { - return new FeIntPraticaWrapper(_feIntPratica.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeIntPratica toUnescapedModel() { - return new FeIntPraticaWrapper(_feIntPratica.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _feIntPratica.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _feIntPratica.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _feIntPratica.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof FeIntPraticaWrapper)) { - return false; - } - - FeIntPraticaWrapper feIntPraticaWrapper = (FeIntPraticaWrapper)obj; - - if (Validator.equals(_feIntPratica, feIntPraticaWrapper._feIntPratica)) { - return true; - } - - return false; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public FeIntPratica getWrappedFeIntPratica() { - return _feIntPratica; - } - - @Override - public FeIntPratica getWrappedModel() { - return _feIntPratica; - } - - @Override - public void resetOriginalValues() { - _feIntPratica.resetOriginalValues(); - } - - private FeIntPratica _feIntPratica; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FePagamento.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FePagamento.java deleted file mode 100644 index 585da145..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FePagamento.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the FePagamento service. Represents a row in the "gcfe_pagamento" database table, with each column mapped to a property of this class. - * - * @author Davide Barbagallo, 3F Consulting - * @see FePagamentoModel - * @see it.tref.liferay.portos.portosimport.model.impl.FePagamentoImpl - * @see it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl - * @generated - */ -public interface FePagamento extends FePagamentoModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FePagamentoClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FePagamentoClp.java deleted file mode 100644 index 1ce02b6d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FePagamentoClp.java +++ /dev/null @@ -1,902 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.portosimport.service.ClpSerializer; -import it.tref.liferay.portos.portosimport.service.FePagamentoLocalServiceUtil; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class FePagamentoClp extends BaseModelImpl - implements FePagamento { - public FePagamentoClp() { - } - - @Override - public Class getModelClass() { - return FePagamento.class; - } - - @Override - public String getModelClassName() { - return FePagamento.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _pagamentoId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setPagamentoId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _pagamentoId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("pagamentoId", getPagamentoId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("codice", getCodice()); - attributes.put("causale", getCausale()); - attributes.put("mezzo", getMezzo()); - attributes.put("codiceFiscaleCommittente", getCodiceFiscaleCommittente()); - attributes.put("importoBolli", getImportoBolli()); - attributes.put("importoSpeseIstruttoria", getImportoSpeseIstruttoria()); - attributes.put("utilizzata", getUtilizzata()); - attributes.put("emailPending", getEmailPending()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long pagamentoId = (Long)attributes.get("pagamentoId"); - - if (pagamentoId != null) { - setPagamentoId(pagamentoId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - String codice = (String)attributes.get("codice"); - - if (codice != null) { - setCodice(codice); - } - - String causale = (String)attributes.get("causale"); - - if (causale != null) { - setCausale(causale); - } - - String mezzo = (String)attributes.get("mezzo"); - - if (mezzo != null) { - setMezzo(mezzo); - } - - String codiceFiscaleCommittente = (String)attributes.get( - "codiceFiscaleCommittente"); - - if (codiceFiscaleCommittente != null) { - setCodiceFiscaleCommittente(codiceFiscaleCommittente); - } - - String importoBolli = (String)attributes.get("importoBolli"); - - if (importoBolli != null) { - setImportoBolli(importoBolli); - } - - String importoSpeseIstruttoria = (String)attributes.get( - "importoSpeseIstruttoria"); - - if (importoSpeseIstruttoria != null) { - setImportoSpeseIstruttoria(importoSpeseIstruttoria); - } - - String utilizzata = (String)attributes.get("utilizzata"); - - if (utilizzata != null) { - setUtilizzata(utilizzata); - } - - Boolean emailPending = (Boolean)attributes.get("emailPending"); - - if (emailPending != null) { - setEmailPending(emailPending); - } - } - - @Override - public String getUuid() { - return _uuid; - } - - @Override - public void setUuid(String uuid) { - _uuid = uuid; - - if (_fePagamentoRemoteModel != null) { - try { - Class clazz = _fePagamentoRemoteModel.getClass(); - - Method method = clazz.getMethod("setUuid", String.class); - - method.invoke(_fePagamentoRemoteModel, uuid); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getPagamentoId() { - return _pagamentoId; - } - - @Override - public void setPagamentoId(long pagamentoId) { - _pagamentoId = pagamentoId; - - if (_fePagamentoRemoteModel != null) { - try { - Class clazz = _fePagamentoRemoteModel.getClass(); - - Method method = clazz.getMethod("setPagamentoId", long.class); - - method.invoke(_fePagamentoRemoteModel, pagamentoId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - - if (_fePagamentoRemoteModel != null) { - try { - Class clazz = _fePagamentoRemoteModel.getClass(); - - Method method = clazz.getMethod("setCompanyId", long.class); - - method.invoke(_fePagamentoRemoteModel, companyId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - - if (_fePagamentoRemoteModel != null) { - try { - Class clazz = _fePagamentoRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserId", long.class); - - method.invoke(_fePagamentoRemoteModel, userId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - return _userName; - } - - @Override - public void setUserName(String userName) { - _userName = userName; - - if (_fePagamentoRemoteModel != null) { - try { - Class clazz = _fePagamentoRemoteModel.getClass(); - - Method method = clazz.getMethod("setUserName", String.class); - - method.invoke(_fePagamentoRemoteModel, userName); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - - if (_fePagamentoRemoteModel != null) { - try { - Class clazz = _fePagamentoRemoteModel.getClass(); - - Method method = clazz.getMethod("setCreateDate", Date.class); - - method.invoke(_fePagamentoRemoteModel, createDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - - if (_fePagamentoRemoteModel != null) { - try { - Class clazz = _fePagamentoRemoteModel.getClass(); - - Method method = clazz.getMethod("setModifiedDate", Date.class); - - method.invoke(_fePagamentoRemoteModel, modifiedDate); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_fePagamentoRemoteModel != null) { - try { - Class clazz = _fePagamentoRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_fePagamentoRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getDettPraticaId() { - return _dettPraticaId; - } - - @Override - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - - if (_fePagamentoRemoteModel != null) { - try { - Class clazz = _fePagamentoRemoteModel.getClass(); - - Method method = clazz.getMethod("setDettPraticaId", long.class); - - method.invoke(_fePagamentoRemoteModel, dettPraticaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodice() { - return _codice; - } - - @Override - public void setCodice(String codice) { - _codice = codice; - - if (_fePagamentoRemoteModel != null) { - try { - Class clazz = _fePagamentoRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodice", String.class); - - method.invoke(_fePagamentoRemoteModel, codice); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCausale() { - return _causale; - } - - @Override - public void setCausale(String causale) { - _causale = causale; - - if (_fePagamentoRemoteModel != null) { - try { - Class clazz = _fePagamentoRemoteModel.getClass(); - - Method method = clazz.getMethod("setCausale", String.class); - - method.invoke(_fePagamentoRemoteModel, causale); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getMezzo() { - return _mezzo; - } - - @Override - public void setMezzo(String mezzo) { - _mezzo = mezzo; - - if (_fePagamentoRemoteModel != null) { - try { - Class clazz = _fePagamentoRemoteModel.getClass(); - - Method method = clazz.getMethod("setMezzo", String.class); - - method.invoke(_fePagamentoRemoteModel, mezzo); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getCodiceFiscaleCommittente() { - return _codiceFiscaleCommittente; - } - - @Override - public void setCodiceFiscaleCommittente(String codiceFiscaleCommittente) { - _codiceFiscaleCommittente = codiceFiscaleCommittente; - - if (_fePagamentoRemoteModel != null) { - try { - Class clazz = _fePagamentoRemoteModel.getClass(); - - Method method = clazz.getMethod("setCodiceFiscaleCommittente", - String.class); - - method.invoke(_fePagamentoRemoteModel, codiceFiscaleCommittente); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getImportoBolli() { - return _importoBolli; - } - - @Override - public void setImportoBolli(String importoBolli) { - _importoBolli = importoBolli; - - if (_fePagamentoRemoteModel != null) { - try { - Class clazz = _fePagamentoRemoteModel.getClass(); - - Method method = clazz.getMethod("setImportoBolli", String.class); - - method.invoke(_fePagamentoRemoteModel, importoBolli); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getImportoSpeseIstruttoria() { - return _importoSpeseIstruttoria; - } - - @Override - public void setImportoSpeseIstruttoria(String importoSpeseIstruttoria) { - _importoSpeseIstruttoria = importoSpeseIstruttoria; - - if (_fePagamentoRemoteModel != null) { - try { - Class clazz = _fePagamentoRemoteModel.getClass(); - - Method method = clazz.getMethod("setImportoSpeseIstruttoria", - String.class); - - method.invoke(_fePagamentoRemoteModel, importoSpeseIstruttoria); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getUtilizzata() { - return _utilizzata; - } - - @Override - public void setUtilizzata(String utilizzata) { - _utilizzata = utilizzata; - - if (_fePagamentoRemoteModel != null) { - try { - Class clazz = _fePagamentoRemoteModel.getClass(); - - Method method = clazz.getMethod("setUtilizzata", String.class); - - method.invoke(_fePagamentoRemoteModel, utilizzata); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public boolean getEmailPending() { - return _emailPending; - } - - @Override - public boolean isEmailPending() { - return _emailPending; - } - - @Override - public void setEmailPending(boolean emailPending) { - _emailPending = emailPending; - - if (_fePagamentoRemoteModel != null) { - try { - Class clazz = _fePagamentoRemoteModel.getClass(); - - Method method = clazz.getMethod("setEmailPending", boolean.class); - - method.invoke(_fePagamentoRemoteModel, emailPending); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - FePagamento.class.getName())); - } - - public BaseModel getFePagamentoRemoteModel() { - return _fePagamentoRemoteModel; - } - - public void setFePagamentoRemoteModel(BaseModel fePagamentoRemoteModel) { - _fePagamentoRemoteModel = fePagamentoRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _fePagamentoRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_fePagamentoRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - FePagamentoLocalServiceUtil.addFePagamento(this); - } - else { - FePagamentoLocalServiceUtil.updateFePagamento(this); - } - } - - @Override - public FePagamento toEscapedModel() { - return (FePagamento)ProxyUtil.newProxyInstance(FePagamento.class.getClassLoader(), - new Class[] { FePagamento.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - FePagamentoClp clone = new FePagamentoClp(); - - clone.setUuid(getUuid()); - clone.setPagamentoId(getPagamentoId()); - clone.setCompanyId(getCompanyId()); - clone.setUserId(getUserId()); - clone.setUserName(getUserName()); - clone.setCreateDate(getCreateDate()); - clone.setModifiedDate(getModifiedDate()); - clone.setGroupId(getGroupId()); - clone.setDettPraticaId(getDettPraticaId()); - clone.setCodice(getCodice()); - clone.setCausale(getCausale()); - clone.setMezzo(getMezzo()); - clone.setCodiceFiscaleCommittente(getCodiceFiscaleCommittente()); - clone.setImportoBolli(getImportoBolli()); - clone.setImportoSpeseIstruttoria(getImportoSpeseIstruttoria()); - clone.setUtilizzata(getUtilizzata()); - clone.setEmailPending(getEmailPending()); - - return clone; - } - - @Override - public int compareTo(FePagamento fePagamento) { - long primaryKey = fePagamento.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof FePagamentoClp)) { - return false; - } - - FePagamentoClp fePagamento = (FePagamentoClp)obj; - - long primaryKey = fePagamento.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(35); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", pagamentoId="); - sb.append(getPagamentoId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", dettPraticaId="); - sb.append(getDettPraticaId()); - sb.append(", codice="); - sb.append(getCodice()); - sb.append(", causale="); - sb.append(getCausale()); - sb.append(", mezzo="); - sb.append(getMezzo()); - sb.append(", codiceFiscaleCommittente="); - sb.append(getCodiceFiscaleCommittente()); - sb.append(", importoBolli="); - sb.append(getImportoBolli()); - sb.append(", importoSpeseIstruttoria="); - sb.append(getImportoSpeseIstruttoria()); - sb.append(", utilizzata="); - sb.append(getUtilizzata()); - sb.append(", emailPending="); - sb.append(getEmailPending()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(55); - - sb.append(""); - sb.append("it.tref.liferay.portos.portosimport.model.FePagamento"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "pagamentoId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "dettPraticaId"); - sb.append( - "codice"); - sb.append( - "causale"); - sb.append( - "mezzo"); - sb.append( - "codiceFiscaleCommittente"); - sb.append( - "importoBolli"); - sb.append( - "importoSpeseIstruttoria"); - sb.append( - "utilizzata"); - sb.append( - "emailPending"); - - sb.append(""); - - return sb.toString(); - } - - private String _uuid; - private long _pagamentoId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _dettPraticaId; - private String _codice; - private String _causale; - private String _mezzo; - private String _codiceFiscaleCommittente; - private String _importoBolli; - private String _importoSpeseIstruttoria; - private String _utilizzata; - private boolean _emailPending; - private BaseModel _fePagamentoRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.portosimport.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FePagamentoModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FePagamentoModel.java deleted file mode 100644 index c33ee3ed..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FePagamentoModel.java +++ /dev/null @@ -1,407 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.StagedGroupedModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the FePagamento service. Represents a row in the "gcfe_pagamento" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see FePagamento - * @see it.tref.liferay.portos.portosimport.model.impl.FePagamentoImpl - * @see it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl - * @generated - */ -public interface FePagamentoModel extends BaseModel, - StagedGroupedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a fe pagamento model instance should use the {@link FePagamento} interface instead. - */ - - /** - * Returns the primary key of this fe pagamento. - * - * @return the primary key of this fe pagamento - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this fe pagamento. - * - * @param primaryKey the primary key of this fe pagamento - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the uuid of this fe pagamento. - * - * @return the uuid of this fe pagamento - */ - @AutoEscape - @Override - public String getUuid(); - - /** - * Sets the uuid of this fe pagamento. - * - * @param uuid the uuid of this fe pagamento - */ - @Override - public void setUuid(String uuid); - - /** - * Returns the pagamento ID of this fe pagamento. - * - * @return the pagamento ID of this fe pagamento - */ - public long getPagamentoId(); - - /** - * Sets the pagamento ID of this fe pagamento. - * - * @param pagamentoId the pagamento ID of this fe pagamento - */ - public void setPagamentoId(long pagamentoId); - - /** - * Returns the company ID of this fe pagamento. - * - * @return the company ID of this fe pagamento - */ - @Override - public long getCompanyId(); - - /** - * Sets the company ID of this fe pagamento. - * - * @param companyId the company ID of this fe pagamento - */ - @Override - public void setCompanyId(long companyId); - - /** - * Returns the user ID of this fe pagamento. - * - * @return the user ID of this fe pagamento - */ - @Override - public long getUserId(); - - /** - * Sets the user ID of this fe pagamento. - * - * @param userId the user ID of this fe pagamento - */ - @Override - public void setUserId(long userId); - - /** - * Returns the user uuid of this fe pagamento. - * - * @return the user uuid of this fe pagamento - * @throws SystemException if a system exception occurred - */ - @Override - public String getUserUuid() throws SystemException; - - /** - * Sets the user uuid of this fe pagamento. - * - * @param userUuid the user uuid of this fe pagamento - */ - @Override - public void setUserUuid(String userUuid); - - /** - * Returns the user name of this fe pagamento. - * - * @return the user name of this fe pagamento - */ - @AutoEscape - @Override - public String getUserName(); - - /** - * Sets the user name of this fe pagamento. - * - * @param userName the user name of this fe pagamento - */ - @Override - public void setUserName(String userName); - - /** - * Returns the create date of this fe pagamento. - * - * @return the create date of this fe pagamento - */ - @Override - public Date getCreateDate(); - - /** - * Sets the create date of this fe pagamento. - * - * @param createDate the create date of this fe pagamento - */ - @Override - public void setCreateDate(Date createDate); - - /** - * Returns the modified date of this fe pagamento. - * - * @return the modified date of this fe pagamento - */ - @Override - public Date getModifiedDate(); - - /** - * Sets the modified date of this fe pagamento. - * - * @param modifiedDate the modified date of this fe pagamento - */ - @Override - public void setModifiedDate(Date modifiedDate); - - /** - * Returns the group ID of this fe pagamento. - * - * @return the group ID of this fe pagamento - */ - @Override - public long getGroupId(); - - /** - * Sets the group ID of this fe pagamento. - * - * @param groupId the group ID of this fe pagamento - */ - @Override - public void setGroupId(long groupId); - - /** - * Returns the dett pratica ID of this fe pagamento. - * - * @return the dett pratica ID of this fe pagamento - */ - public long getDettPraticaId(); - - /** - * Sets the dett pratica ID of this fe pagamento. - * - * @param dettPraticaId the dett pratica ID of this fe pagamento - */ - public void setDettPraticaId(long dettPraticaId); - - /** - * Returns the codice of this fe pagamento. - * - * @return the codice of this fe pagamento - */ - @AutoEscape - public String getCodice(); - - /** - * Sets the codice of this fe pagamento. - * - * @param codice the codice of this fe pagamento - */ - public void setCodice(String codice); - - /** - * Returns the causale of this fe pagamento. - * - * @return the causale of this fe pagamento - */ - @AutoEscape - public String getCausale(); - - /** - * Sets the causale of this fe pagamento. - * - * @param causale the causale of this fe pagamento - */ - public void setCausale(String causale); - - /** - * Returns the mezzo of this fe pagamento. - * - * @return the mezzo of this fe pagamento - */ - @AutoEscape - public String getMezzo(); - - /** - * Sets the mezzo of this fe pagamento. - * - * @param mezzo the mezzo of this fe pagamento - */ - public void setMezzo(String mezzo); - - /** - * Returns the codice fiscale committente of this fe pagamento. - * - * @return the codice fiscale committente of this fe pagamento - */ - @AutoEscape - public String getCodiceFiscaleCommittente(); - - /** - * Sets the codice fiscale committente of this fe pagamento. - * - * @param codiceFiscaleCommittente the codice fiscale committente of this fe pagamento - */ - public void setCodiceFiscaleCommittente(String codiceFiscaleCommittente); - - /** - * Returns the importo bolli of this fe pagamento. - * - * @return the importo bolli of this fe pagamento - */ - @AutoEscape - public String getImportoBolli(); - - /** - * Sets the importo bolli of this fe pagamento. - * - * @param importoBolli the importo bolli of this fe pagamento - */ - public void setImportoBolli(String importoBolli); - - /** - * Returns the importo spese istruttoria of this fe pagamento. - * - * @return the importo spese istruttoria of this fe pagamento - */ - @AutoEscape - public String getImportoSpeseIstruttoria(); - - /** - * Sets the importo spese istruttoria of this fe pagamento. - * - * @param importoSpeseIstruttoria the importo spese istruttoria of this fe pagamento - */ - public void setImportoSpeseIstruttoria(String importoSpeseIstruttoria); - - /** - * Returns the utilizzata of this fe pagamento. - * - * @return the utilizzata of this fe pagamento - */ - @AutoEscape - public String getUtilizzata(); - - /** - * Sets the utilizzata of this fe pagamento. - * - * @param utilizzata the utilizzata of this fe pagamento - */ - public void setUtilizzata(String utilizzata); - - /** - * Returns the email pending of this fe pagamento. - * - * @return the email pending of this fe pagamento - */ - public boolean getEmailPending(); - - /** - * Returns true if this fe pagamento is email pending. - * - * @return true if this fe pagamento is email pending; false otherwise - */ - public boolean isEmailPending(); - - /** - * Sets whether this fe pagamento is email pending. - * - * @param emailPending the email pending of this fe pagamento - */ - public void setEmailPending(boolean emailPending); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.FePagamento fePagamento); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.FePagamento toEscapedModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.FePagamento toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FePagamentoSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FePagamentoSoap.java deleted file mode 100644 index 7d854a66..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FePagamentoSoap.java +++ /dev/null @@ -1,259 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class FePagamentoSoap implements Serializable { - public static FePagamentoSoap toSoapModel(FePagamento model) { - FePagamentoSoap soapModel = new FePagamentoSoap(); - - soapModel.setUuid(model.getUuid()); - soapModel.setPagamentoId(model.getPagamentoId()); - soapModel.setCompanyId(model.getCompanyId()); - soapModel.setUserId(model.getUserId()); - soapModel.setUserName(model.getUserName()); - soapModel.setCreateDate(model.getCreateDate()); - soapModel.setModifiedDate(model.getModifiedDate()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setDettPraticaId(model.getDettPraticaId()); - soapModel.setCodice(model.getCodice()); - soapModel.setCausale(model.getCausale()); - soapModel.setMezzo(model.getMezzo()); - soapModel.setCodiceFiscaleCommittente(model.getCodiceFiscaleCommittente()); - soapModel.setImportoBolli(model.getImportoBolli()); - soapModel.setImportoSpeseIstruttoria(model.getImportoSpeseIstruttoria()); - soapModel.setUtilizzata(model.getUtilizzata()); - soapModel.setEmailPending(model.getEmailPending()); - - return soapModel; - } - - public static FePagamentoSoap[] toSoapModels(FePagamento[] models) { - FePagamentoSoap[] soapModels = new FePagamentoSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static FePagamentoSoap[][] toSoapModels(FePagamento[][] models) { - FePagamentoSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new FePagamentoSoap[models.length][models[0].length]; - } - else { - soapModels = new FePagamentoSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static FePagamentoSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (FePagamento model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new FePagamentoSoap[soapModels.size()]); - } - - public FePagamentoSoap() { - } - - public long getPrimaryKey() { - return _pagamentoId; - } - - public void setPrimaryKey(long pk) { - setPagamentoId(pk); - } - - public String getUuid() { - return _uuid; - } - - public void setUuid(String uuid) { - _uuid = uuid; - } - - public long getPagamentoId() { - return _pagamentoId; - } - - public void setPagamentoId(long pagamentoId) { - _pagamentoId = pagamentoId; - } - - public long getCompanyId() { - return _companyId; - } - - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - public long getUserId() { - return _userId; - } - - public void setUserId(long userId) { - _userId = userId; - } - - public String getUserName() { - return _userName; - } - - public void setUserName(String userName) { - _userName = userName; - } - - public Date getCreateDate() { - return _createDate; - } - - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - public Date getModifiedDate() { - return _modifiedDate; - } - - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public long getDettPraticaId() { - return _dettPraticaId; - } - - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - } - - public String getCodice() { - return _codice; - } - - public void setCodice(String codice) { - _codice = codice; - } - - public String getCausale() { - return _causale; - } - - public void setCausale(String causale) { - _causale = causale; - } - - public String getMezzo() { - return _mezzo; - } - - public void setMezzo(String mezzo) { - _mezzo = mezzo; - } - - public String getCodiceFiscaleCommittente() { - return _codiceFiscaleCommittente; - } - - public void setCodiceFiscaleCommittente(String codiceFiscaleCommittente) { - _codiceFiscaleCommittente = codiceFiscaleCommittente; - } - - public String getImportoBolli() { - return _importoBolli; - } - - public void setImportoBolli(String importoBolli) { - _importoBolli = importoBolli; - } - - public String getImportoSpeseIstruttoria() { - return _importoSpeseIstruttoria; - } - - public void setImportoSpeseIstruttoria(String importoSpeseIstruttoria) { - _importoSpeseIstruttoria = importoSpeseIstruttoria; - } - - public String getUtilizzata() { - return _utilizzata; - } - - public void setUtilizzata(String utilizzata) { - _utilizzata = utilizzata; - } - - public boolean getEmailPending() { - return _emailPending; - } - - public boolean isEmailPending() { - return _emailPending; - } - - public void setEmailPending(boolean emailPending) { - _emailPending = emailPending; - } - - private String _uuid; - private long _pagamentoId; - private long _companyId; - private long _userId; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _dettPraticaId; - private String _codice; - private String _causale; - private String _mezzo; - private String _codiceFiscaleCommittente; - private String _importoBolli; - private String _importoSpeseIstruttoria; - private String _utilizzata; - private boolean _emailPending; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FePagamentoWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FePagamentoWrapper.java deleted file mode 100644 index e57fdbfd..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FePagamentoWrapper.java +++ /dev/null @@ -1,723 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link FePagamento}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see FePagamento - * @generated - */ -public class FePagamentoWrapper implements FePagamento, - ModelWrapper { - public FePagamentoWrapper(FePagamento fePagamento) { - _fePagamento = fePagamento; - } - - @Override - public Class getModelClass() { - return FePagamento.class; - } - - @Override - public String getModelClassName() { - return FePagamento.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("pagamentoId", getPagamentoId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("codice", getCodice()); - attributes.put("causale", getCausale()); - attributes.put("mezzo", getMezzo()); - attributes.put("codiceFiscaleCommittente", getCodiceFiscaleCommittente()); - attributes.put("importoBolli", getImportoBolli()); - attributes.put("importoSpeseIstruttoria", getImportoSpeseIstruttoria()); - attributes.put("utilizzata", getUtilizzata()); - attributes.put("emailPending", getEmailPending()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long pagamentoId = (Long)attributes.get("pagamentoId"); - - if (pagamentoId != null) { - setPagamentoId(pagamentoId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - String codice = (String)attributes.get("codice"); - - if (codice != null) { - setCodice(codice); - } - - String causale = (String)attributes.get("causale"); - - if (causale != null) { - setCausale(causale); - } - - String mezzo = (String)attributes.get("mezzo"); - - if (mezzo != null) { - setMezzo(mezzo); - } - - String codiceFiscaleCommittente = (String)attributes.get( - "codiceFiscaleCommittente"); - - if (codiceFiscaleCommittente != null) { - setCodiceFiscaleCommittente(codiceFiscaleCommittente); - } - - String importoBolli = (String)attributes.get("importoBolli"); - - if (importoBolli != null) { - setImportoBolli(importoBolli); - } - - String importoSpeseIstruttoria = (String)attributes.get( - "importoSpeseIstruttoria"); - - if (importoSpeseIstruttoria != null) { - setImportoSpeseIstruttoria(importoSpeseIstruttoria); - } - - String utilizzata = (String)attributes.get("utilizzata"); - - if (utilizzata != null) { - setUtilizzata(utilizzata); - } - - Boolean emailPending = (Boolean)attributes.get("emailPending"); - - if (emailPending != null) { - setEmailPending(emailPending); - } - } - - /** - * Returns the primary key of this fe pagamento. - * - * @return the primary key of this fe pagamento - */ - @Override - public long getPrimaryKey() { - return _fePagamento.getPrimaryKey(); - } - - /** - * Sets the primary key of this fe pagamento. - * - * @param primaryKey the primary key of this fe pagamento - */ - @Override - public void setPrimaryKey(long primaryKey) { - _fePagamento.setPrimaryKey(primaryKey); - } - - /** - * Returns the uuid of this fe pagamento. - * - * @return the uuid of this fe pagamento - */ - @Override - public java.lang.String getUuid() { - return _fePagamento.getUuid(); - } - - /** - * Sets the uuid of this fe pagamento. - * - * @param uuid the uuid of this fe pagamento - */ - @Override - public void setUuid(java.lang.String uuid) { - _fePagamento.setUuid(uuid); - } - - /** - * Returns the pagamento ID of this fe pagamento. - * - * @return the pagamento ID of this fe pagamento - */ - @Override - public long getPagamentoId() { - return _fePagamento.getPagamentoId(); - } - - /** - * Sets the pagamento ID of this fe pagamento. - * - * @param pagamentoId the pagamento ID of this fe pagamento - */ - @Override - public void setPagamentoId(long pagamentoId) { - _fePagamento.setPagamentoId(pagamentoId); - } - - /** - * Returns the company ID of this fe pagamento. - * - * @return the company ID of this fe pagamento - */ - @Override - public long getCompanyId() { - return _fePagamento.getCompanyId(); - } - - /** - * Sets the company ID of this fe pagamento. - * - * @param companyId the company ID of this fe pagamento - */ - @Override - public void setCompanyId(long companyId) { - _fePagamento.setCompanyId(companyId); - } - - /** - * Returns the user ID of this fe pagamento. - * - * @return the user ID of this fe pagamento - */ - @Override - public long getUserId() { - return _fePagamento.getUserId(); - } - - /** - * Sets the user ID of this fe pagamento. - * - * @param userId the user ID of this fe pagamento - */ - @Override - public void setUserId(long userId) { - _fePagamento.setUserId(userId); - } - - /** - * Returns the user uuid of this fe pagamento. - * - * @return the user uuid of this fe pagamento - * @throws SystemException if a system exception occurred - */ - @Override - public java.lang.String getUserUuid() - throws com.liferay.portal.kernel.exception.SystemException { - return _fePagamento.getUserUuid(); - } - - /** - * Sets the user uuid of this fe pagamento. - * - * @param userUuid the user uuid of this fe pagamento - */ - @Override - public void setUserUuid(java.lang.String userUuid) { - _fePagamento.setUserUuid(userUuid); - } - - /** - * Returns the user name of this fe pagamento. - * - * @return the user name of this fe pagamento - */ - @Override - public java.lang.String getUserName() { - return _fePagamento.getUserName(); - } - - /** - * Sets the user name of this fe pagamento. - * - * @param userName the user name of this fe pagamento - */ - @Override - public void setUserName(java.lang.String userName) { - _fePagamento.setUserName(userName); - } - - /** - * Returns the create date of this fe pagamento. - * - * @return the create date of this fe pagamento - */ - @Override - public java.util.Date getCreateDate() { - return _fePagamento.getCreateDate(); - } - - /** - * Sets the create date of this fe pagamento. - * - * @param createDate the create date of this fe pagamento - */ - @Override - public void setCreateDate(java.util.Date createDate) { - _fePagamento.setCreateDate(createDate); - } - - /** - * Returns the modified date of this fe pagamento. - * - * @return the modified date of this fe pagamento - */ - @Override - public java.util.Date getModifiedDate() { - return _fePagamento.getModifiedDate(); - } - - /** - * Sets the modified date of this fe pagamento. - * - * @param modifiedDate the modified date of this fe pagamento - */ - @Override - public void setModifiedDate(java.util.Date modifiedDate) { - _fePagamento.setModifiedDate(modifiedDate); - } - - /** - * Returns the group ID of this fe pagamento. - * - * @return the group ID of this fe pagamento - */ - @Override - public long getGroupId() { - return _fePagamento.getGroupId(); - } - - /** - * Sets the group ID of this fe pagamento. - * - * @param groupId the group ID of this fe pagamento - */ - @Override - public void setGroupId(long groupId) { - _fePagamento.setGroupId(groupId); - } - - /** - * Returns the dett pratica ID of this fe pagamento. - * - * @return the dett pratica ID of this fe pagamento - */ - @Override - public long getDettPraticaId() { - return _fePagamento.getDettPraticaId(); - } - - /** - * Sets the dett pratica ID of this fe pagamento. - * - * @param dettPraticaId the dett pratica ID of this fe pagamento - */ - @Override - public void setDettPraticaId(long dettPraticaId) { - _fePagamento.setDettPraticaId(dettPraticaId); - } - - /** - * Returns the codice of this fe pagamento. - * - * @return the codice of this fe pagamento - */ - @Override - public java.lang.String getCodice() { - return _fePagamento.getCodice(); - } - - /** - * Sets the codice of this fe pagamento. - * - * @param codice the codice of this fe pagamento - */ - @Override - public void setCodice(java.lang.String codice) { - _fePagamento.setCodice(codice); - } - - /** - * Returns the causale of this fe pagamento. - * - * @return the causale of this fe pagamento - */ - @Override - public java.lang.String getCausale() { - return _fePagamento.getCausale(); - } - - /** - * Sets the causale of this fe pagamento. - * - * @param causale the causale of this fe pagamento - */ - @Override - public void setCausale(java.lang.String causale) { - _fePagamento.setCausale(causale); - } - - /** - * Returns the mezzo of this fe pagamento. - * - * @return the mezzo of this fe pagamento - */ - @Override - public java.lang.String getMezzo() { - return _fePagamento.getMezzo(); - } - - /** - * Sets the mezzo of this fe pagamento. - * - * @param mezzo the mezzo of this fe pagamento - */ - @Override - public void setMezzo(java.lang.String mezzo) { - _fePagamento.setMezzo(mezzo); - } - - /** - * Returns the codice fiscale committente of this fe pagamento. - * - * @return the codice fiscale committente of this fe pagamento - */ - @Override - public java.lang.String getCodiceFiscaleCommittente() { - return _fePagamento.getCodiceFiscaleCommittente(); - } - - /** - * Sets the codice fiscale committente of this fe pagamento. - * - * @param codiceFiscaleCommittente the codice fiscale committente of this fe pagamento - */ - @Override - public void setCodiceFiscaleCommittente( - java.lang.String codiceFiscaleCommittente) { - _fePagamento.setCodiceFiscaleCommittente(codiceFiscaleCommittente); - } - - /** - * Returns the importo bolli of this fe pagamento. - * - * @return the importo bolli of this fe pagamento - */ - @Override - public java.lang.String getImportoBolli() { - return _fePagamento.getImportoBolli(); - } - - /** - * Sets the importo bolli of this fe pagamento. - * - * @param importoBolli the importo bolli of this fe pagamento - */ - @Override - public void setImportoBolli(java.lang.String importoBolli) { - _fePagamento.setImportoBolli(importoBolli); - } - - /** - * Returns the importo spese istruttoria of this fe pagamento. - * - * @return the importo spese istruttoria of this fe pagamento - */ - @Override - public java.lang.String getImportoSpeseIstruttoria() { - return _fePagamento.getImportoSpeseIstruttoria(); - } - - /** - * Sets the importo spese istruttoria of this fe pagamento. - * - * @param importoSpeseIstruttoria the importo spese istruttoria of this fe pagamento - */ - @Override - public void setImportoSpeseIstruttoria( - java.lang.String importoSpeseIstruttoria) { - _fePagamento.setImportoSpeseIstruttoria(importoSpeseIstruttoria); - } - - /** - * Returns the utilizzata of this fe pagamento. - * - * @return the utilizzata of this fe pagamento - */ - @Override - public java.lang.String getUtilizzata() { - return _fePagamento.getUtilizzata(); - } - - /** - * Sets the utilizzata of this fe pagamento. - * - * @param utilizzata the utilizzata of this fe pagamento - */ - @Override - public void setUtilizzata(java.lang.String utilizzata) { - _fePagamento.setUtilizzata(utilizzata); - } - - /** - * Returns the email pending of this fe pagamento. - * - * @return the email pending of this fe pagamento - */ - @Override - public boolean getEmailPending() { - return _fePagamento.getEmailPending(); - } - - /** - * Returns true if this fe pagamento is email pending. - * - * @return true if this fe pagamento is email pending; false otherwise - */ - @Override - public boolean isEmailPending() { - return _fePagamento.isEmailPending(); - } - - /** - * Sets whether this fe pagamento is email pending. - * - * @param emailPending the email pending of this fe pagamento - */ - @Override - public void setEmailPending(boolean emailPending) { - _fePagamento.setEmailPending(emailPending); - } - - @Override - public boolean isNew() { - return _fePagamento.isNew(); - } - - @Override - public void setNew(boolean n) { - _fePagamento.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _fePagamento.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _fePagamento.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _fePagamento.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _fePagamento.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _fePagamento.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _fePagamento.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _fePagamento.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _fePagamento.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _fePagamento.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new FePagamentoWrapper((FePagamento)_fePagamento.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.FePagamento fePagamento) { - return _fePagamento.compareTo(fePagamento); - } - - @Override - public int hashCode() { - return _fePagamento.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _fePagamento.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FePagamento toEscapedModel() { - return new FePagamentoWrapper(_fePagamento.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FePagamento toUnescapedModel() { - return new FePagamentoWrapper(_fePagamento.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _fePagamento.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _fePagamento.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _fePagamento.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof FePagamentoWrapper)) { - return false; - } - - FePagamentoWrapper fePagamentoWrapper = (FePagamentoWrapper)obj; - - if (Validator.equals(_fePagamento, fePagamentoWrapper._fePagamento)) { - return true; - } - - return false; - } - - @Override - public StagedModelType getStagedModelType() { - return _fePagamento.getStagedModelType(); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public FePagamento getWrappedFePagamento() { - return _fePagamento; - } - - @Override - public FePagamento getWrappedModel() { - return _fePagamento; - } - - @Override - public void resetOriginalValues() { - _fePagamento.resetOriginalValues(); - } - - private FePagamento _fePagamento; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeTerritorio.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeTerritorio.java deleted file mode 100644 index fc12dc4e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeTerritorio.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.model.PersistedModel; - -/** - * The extended model interface for the FeTerritorio service. Represents a row in the "gcfe_territorio" database table, with each column mapped to a property of this class. - * - * @author Davide Barbagallo, 3F Consulting - * @see FeTerritorioModel - * @see it.tref.liferay.portos.portosimport.model.impl.FeTerritorioImpl - * @see it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl - * @generated - */ -public interface FeTerritorio extends FeTerritorioModel, PersistedModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this interface directly. Add methods to {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeTerritorioClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeTerritorioClp.java deleted file mode 100644 index e698b6cb..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeTerritorioClp.java +++ /dev/null @@ -1,570 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.impl.BaseModelImpl; - -import it.tref.liferay.portos.portosimport.service.ClpSerializer; -import it.tref.liferay.portos.portosimport.service.FeTerritorioLocalServiceUtil; - -import java.io.Serializable; - -import java.lang.reflect.Method; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class FeTerritorioClp extends BaseModelImpl - implements FeTerritorio { - public FeTerritorioClp() { - } - - @Override - public Class getModelClass() { - return FeTerritorio.class; - } - - @Override - public String getModelClassName() { - return FeTerritorio.class.getName(); - } - - @Override - public long getPrimaryKey() { - return _territorioId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setTerritorioId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _territorioId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("territorioId", getTerritorioId()); - attributes.put("groupId", getGroupId()); - attributes.put("zonaId", getZonaId()); - attributes.put("fasciaId", getFasciaId()); - attributes.put("comuneId", getComuneId()); - attributes.put("dtIni", getDtIni()); - attributes.put("dtFin", getDtFin()); - attributes.put("agMin", getAgMin()); - attributes.put("agMax", getAgMax()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long territorioId = (Long)attributes.get("territorioId"); - - if (territorioId != null) { - setTerritorioId(territorioId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long zonaId = (Long)attributes.get("zonaId"); - - if (zonaId != null) { - setZonaId(zonaId); - } - - Long fasciaId = (Long)attributes.get("fasciaId"); - - if (fasciaId != null) { - setFasciaId(fasciaId); - } - - Long comuneId = (Long)attributes.get("comuneId"); - - if (comuneId != null) { - setComuneId(comuneId); - } - - Date dtIni = (Date)attributes.get("dtIni"); - - if (dtIni != null) { - setDtIni(dtIni); - } - - Date dtFin = (Date)attributes.get("dtFin"); - - if (dtFin != null) { - setDtFin(dtFin); - } - - String agMin = (String)attributes.get("agMin"); - - if (agMin != null) { - setAgMin(agMin); - } - - String agMax = (String)attributes.get("agMax"); - - if (agMax != null) { - setAgMax(agMax); - } - } - - @Override - public long getTerritorioId() { - return _territorioId; - } - - @Override - public void setTerritorioId(long territorioId) { - _territorioId = territorioId; - - if (_feTerritorioRemoteModel != null) { - try { - Class clazz = _feTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setTerritorioId", long.class); - - method.invoke(_feTerritorioRemoteModel, territorioId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - - if (_feTerritorioRemoteModel != null) { - try { - Class clazz = _feTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setGroupId", long.class); - - method.invoke(_feTerritorioRemoteModel, groupId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getZonaId() { - return _zonaId; - } - - @Override - public void setZonaId(long zonaId) { - _zonaId = zonaId; - - if (_feTerritorioRemoteModel != null) { - try { - Class clazz = _feTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setZonaId", long.class); - - method.invoke(_feTerritorioRemoteModel, zonaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getFasciaId() { - return _fasciaId; - } - - @Override - public void setFasciaId(long fasciaId) { - _fasciaId = fasciaId; - - if (_feTerritorioRemoteModel != null) { - try { - Class clazz = _feTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setFasciaId", long.class); - - method.invoke(_feTerritorioRemoteModel, fasciaId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public long getComuneId() { - return _comuneId; - } - - @Override - public void setComuneId(long comuneId) { - _comuneId = comuneId; - - if (_feTerritorioRemoteModel != null) { - try { - Class clazz = _feTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setComuneId", long.class); - - method.invoke(_feTerritorioRemoteModel, comuneId); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDtIni() { - return _dtIni; - } - - @Override - public void setDtIni(Date dtIni) { - _dtIni = dtIni; - - if (_feTerritorioRemoteModel != null) { - try { - Class clazz = _feTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setDtIni", Date.class); - - method.invoke(_feTerritorioRemoteModel, dtIni); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public Date getDtFin() { - return _dtFin; - } - - @Override - public void setDtFin(Date dtFin) { - _dtFin = dtFin; - - if (_feTerritorioRemoteModel != null) { - try { - Class clazz = _feTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setDtFin", Date.class); - - method.invoke(_feTerritorioRemoteModel, dtFin); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getAgMin() { - return _agMin; - } - - @Override - public void setAgMin(String agMin) { - _agMin = agMin; - - if (_feTerritorioRemoteModel != null) { - try { - Class clazz = _feTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setAgMin", String.class); - - method.invoke(_feTerritorioRemoteModel, agMin); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - @Override - public String getAgMax() { - return _agMax; - } - - @Override - public void setAgMax(String agMax) { - _agMax = agMax; - - if (_feTerritorioRemoteModel != null) { - try { - Class clazz = _feTerritorioRemoteModel.getClass(); - - Method method = clazz.getMethod("setAgMax", String.class); - - method.invoke(_feTerritorioRemoteModel, agMax); - } - catch (Exception e) { - throw new UnsupportedOperationException(e); - } - } - } - - public BaseModel getFeTerritorioRemoteModel() { - return _feTerritorioRemoteModel; - } - - public void setFeTerritorioRemoteModel(BaseModel feTerritorioRemoteModel) { - _feTerritorioRemoteModel = feTerritorioRemoteModel; - } - - public Object invokeOnRemoteModel(String methodName, - Class[] parameterTypes, Object[] parameterValues) - throws Exception { - Object[] remoteParameterValues = new Object[parameterValues.length]; - - for (int i = 0; i < parameterValues.length; i++) { - if (parameterValues[i] != null) { - remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]); - } - } - - Class remoteModelClass = _feTerritorioRemoteModel.getClass(); - - ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader(); - - Class[] remoteParameterTypes = new Class[parameterTypes.length]; - - for (int i = 0; i < parameterTypes.length; i++) { - if (parameterTypes[i].isPrimitive()) { - remoteParameterTypes[i] = parameterTypes[i]; - } - else { - String parameterTypeName = parameterTypes[i].getName(); - - remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName); - } - } - - Method method = remoteModelClass.getMethod(methodName, - remoteParameterTypes); - - Object returnValue = method.invoke(_feTerritorioRemoteModel, - remoteParameterValues); - - if (returnValue != null) { - returnValue = ClpSerializer.translateOutput(returnValue); - } - - return returnValue; - } - - @Override - public void persist() throws SystemException { - if (this.isNew()) { - FeTerritorioLocalServiceUtil.addFeTerritorio(this); - } - else { - FeTerritorioLocalServiceUtil.updateFeTerritorio(this); - } - } - - @Override - public FeTerritorio toEscapedModel() { - return (FeTerritorio)ProxyUtil.newProxyInstance(FeTerritorio.class.getClassLoader(), - new Class[] { FeTerritorio.class }, new AutoEscapeBeanHandler(this)); - } - - @Override - public Object clone() { - FeTerritorioClp clone = new FeTerritorioClp(); - - clone.setTerritorioId(getTerritorioId()); - clone.setGroupId(getGroupId()); - clone.setZonaId(getZonaId()); - clone.setFasciaId(getFasciaId()); - clone.setComuneId(getComuneId()); - clone.setDtIni(getDtIni()); - clone.setDtFin(getDtFin()); - clone.setAgMin(getAgMin()); - clone.setAgMax(getAgMax()); - - return clone; - } - - @Override - public int compareTo(FeTerritorio feTerritorio) { - long primaryKey = feTerritorio.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof FeTerritorioClp)) { - return false; - } - - FeTerritorioClp feTerritorio = (FeTerritorioClp)obj; - - long primaryKey = feTerritorio.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - public Class getClpSerializerClass() { - return _clpSerializerClass; - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(19); - - sb.append("{territorioId="); - sb.append(getTerritorioId()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", zonaId="); - sb.append(getZonaId()); - sb.append(", fasciaId="); - sb.append(getFasciaId()); - sb.append(", comuneId="); - sb.append(getComuneId()); - sb.append(", dtIni="); - sb.append(getDtIni()); - sb.append(", dtFin="); - sb.append(getDtFin()); - sb.append(", agMin="); - sb.append(getAgMin()); - sb.append(", agMax="); - sb.append(getAgMax()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(31); - - sb.append(""); - sb.append("it.tref.liferay.portos.portosimport.model.FeTerritorio"); - sb.append(""); - - sb.append( - "territorioId"); - sb.append( - "groupId"); - sb.append( - "zonaId"); - sb.append( - "fasciaId"); - sb.append( - "comuneId"); - sb.append( - "dtIni"); - sb.append( - "dtFin"); - sb.append( - "agMin"); - sb.append( - "agMax"); - - sb.append(""); - - return sb.toString(); - } - - private long _territorioId; - private long _groupId; - private long _zonaId; - private long _fasciaId; - private long _comuneId; - private Date _dtIni; - private Date _dtFin; - private String _agMin; - private String _agMax; - private BaseModel _feTerritorioRemoteModel; - private Class _clpSerializerClass = it.tref.liferay.portos.portosimport.service.ClpSerializer.class; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeTerritorioModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeTerritorioModel.java deleted file mode 100644 index 162a1216..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeTerritorioModel.java +++ /dev/null @@ -1,247 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.bean.AutoEscape; -import com.liferay.portal.model.BaseModel; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; - -import java.io.Serializable; - -import java.util.Date; - -/** - * The base model interface for the FeTerritorio service. Represents a row in the "gcfe_territorio" database table, with each column mapped to a property of this class. - * - *

- * This interface and its corresponding implementation {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see FeTerritorio - * @see it.tref.liferay.portos.portosimport.model.impl.FeTerritorioImpl - * @see it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl - * @generated - */ -public interface FeTerritorioModel extends BaseModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. All methods that expect a fe territorio model instance should use the {@link FeTerritorio} interface instead. - */ - - /** - * Returns the primary key of this fe territorio. - * - * @return the primary key of this fe territorio - */ - public long getPrimaryKey(); - - /** - * Sets the primary key of this fe territorio. - * - * @param primaryKey the primary key of this fe territorio - */ - public void setPrimaryKey(long primaryKey); - - /** - * Returns the territorio ID of this fe territorio. - * - * @return the territorio ID of this fe territorio - */ - public long getTerritorioId(); - - /** - * Sets the territorio ID of this fe territorio. - * - * @param territorioId the territorio ID of this fe territorio - */ - public void setTerritorioId(long territorioId); - - /** - * Returns the group ID of this fe territorio. - * - * @return the group ID of this fe territorio - */ - public long getGroupId(); - - /** - * Sets the group ID of this fe territorio. - * - * @param groupId the group ID of this fe territorio - */ - public void setGroupId(long groupId); - - /** - * Returns the zona ID of this fe territorio. - * - * @return the zona ID of this fe territorio - */ - public long getZonaId(); - - /** - * Sets the zona ID of this fe territorio. - * - * @param zonaId the zona ID of this fe territorio - */ - public void setZonaId(long zonaId); - - /** - * Returns the fascia ID of this fe territorio. - * - * @return the fascia ID of this fe territorio - */ - public long getFasciaId(); - - /** - * Sets the fascia ID of this fe territorio. - * - * @param fasciaId the fascia ID of this fe territorio - */ - public void setFasciaId(long fasciaId); - - /** - * Returns the comune ID of this fe territorio. - * - * @return the comune ID of this fe territorio - */ - public long getComuneId(); - - /** - * Sets the comune ID of this fe territorio. - * - * @param comuneId the comune ID of this fe territorio - */ - public void setComuneId(long comuneId); - - /** - * Returns the dt ini of this fe territorio. - * - * @return the dt ini of this fe territorio - */ - public Date getDtIni(); - - /** - * Sets the dt ini of this fe territorio. - * - * @param dtIni the dt ini of this fe territorio - */ - public void setDtIni(Date dtIni); - - /** - * Returns the dt fin of this fe territorio. - * - * @return the dt fin of this fe territorio - */ - public Date getDtFin(); - - /** - * Sets the dt fin of this fe territorio. - * - * @param dtFin the dt fin of this fe territorio - */ - public void setDtFin(Date dtFin); - - /** - * Returns the ag min of this fe territorio. - * - * @return the ag min of this fe territorio - */ - @AutoEscape - public String getAgMin(); - - /** - * Sets the ag min of this fe territorio. - * - * @param agMin the ag min of this fe territorio - */ - public void setAgMin(String agMin); - - /** - * Returns the ag max of this fe territorio. - * - * @return the ag max of this fe territorio - */ - @AutoEscape - public String getAgMax(); - - /** - * Sets the ag max of this fe territorio. - * - * @param agMax the ag max of this fe territorio - */ - public void setAgMax(String agMax); - - @Override - public boolean isNew(); - - @Override - public void setNew(boolean n); - - @Override - public boolean isCachedModel(); - - @Override - public void setCachedModel(boolean cachedModel); - - @Override - public boolean isEscapedModel(); - - @Override - public Serializable getPrimaryKeyObj(); - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj); - - @Override - public ExpandoBridge getExpandoBridge(); - - @Override - public void setExpandoBridgeAttributes(BaseModel baseModel); - - @Override - public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext); - - @Override - public Object clone(); - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.FeTerritorio feTerritorio); - - @Override - public int hashCode(); - - @Override - public CacheModel toCacheModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.FeTerritorio toEscapedModel(); - - @Override - public it.tref.liferay.portos.portosimport.model.FeTerritorio toUnescapedModel(); - - @Override - public String toString(); - - @Override - public String toXmlString(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeTerritorioSoap.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeTerritorioSoap.java deleted file mode 100644 index 4fa79c51..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeTerritorioSoap.java +++ /dev/null @@ -1,175 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * This class is used by SOAP remote services. - * - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class FeTerritorioSoap implements Serializable { - public static FeTerritorioSoap toSoapModel(FeTerritorio model) { - FeTerritorioSoap soapModel = new FeTerritorioSoap(); - - soapModel.setTerritorioId(model.getTerritorioId()); - soapModel.setGroupId(model.getGroupId()); - soapModel.setZonaId(model.getZonaId()); - soapModel.setFasciaId(model.getFasciaId()); - soapModel.setComuneId(model.getComuneId()); - soapModel.setDtIni(model.getDtIni()); - soapModel.setDtFin(model.getDtFin()); - soapModel.setAgMin(model.getAgMin()); - soapModel.setAgMax(model.getAgMax()); - - return soapModel; - } - - public static FeTerritorioSoap[] toSoapModels(FeTerritorio[] models) { - FeTerritorioSoap[] soapModels = new FeTerritorioSoap[models.length]; - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModel(models[i]); - } - - return soapModels; - } - - public static FeTerritorioSoap[][] toSoapModels(FeTerritorio[][] models) { - FeTerritorioSoap[][] soapModels = null; - - if (models.length > 0) { - soapModels = new FeTerritorioSoap[models.length][models[0].length]; - } - else { - soapModels = new FeTerritorioSoap[0][0]; - } - - for (int i = 0; i < models.length; i++) { - soapModels[i] = toSoapModels(models[i]); - } - - return soapModels; - } - - public static FeTerritorioSoap[] toSoapModels(List models) { - List soapModels = new ArrayList(models.size()); - - for (FeTerritorio model : models) { - soapModels.add(toSoapModel(model)); - } - - return soapModels.toArray(new FeTerritorioSoap[soapModels.size()]); - } - - public FeTerritorioSoap() { - } - - public long getPrimaryKey() { - return _territorioId; - } - - public void setPrimaryKey(long pk) { - setTerritorioId(pk); - } - - public long getTerritorioId() { - return _territorioId; - } - - public void setTerritorioId(long territorioId) { - _territorioId = territorioId; - } - - public long getGroupId() { - return _groupId; - } - - public void setGroupId(long groupId) { - _groupId = groupId; - } - - public long getZonaId() { - return _zonaId; - } - - public void setZonaId(long zonaId) { - _zonaId = zonaId; - } - - public long getFasciaId() { - return _fasciaId; - } - - public void setFasciaId(long fasciaId) { - _fasciaId = fasciaId; - } - - public long getComuneId() { - return _comuneId; - } - - public void setComuneId(long comuneId) { - _comuneId = comuneId; - } - - public Date getDtIni() { - return _dtIni; - } - - public void setDtIni(Date dtIni) { - _dtIni = dtIni; - } - - public Date getDtFin() { - return _dtFin; - } - - public void setDtFin(Date dtFin) { - _dtFin = dtFin; - } - - public String getAgMin() { - return _agMin; - } - - public void setAgMin(String agMin) { - _agMin = agMin; - } - - public String getAgMax() { - return _agMax; - } - - public void setAgMax(String agMax) { - _agMax = agMax; - } - - private long _territorioId; - private long _groupId; - private long _zonaId; - private long _fasciaId; - private long _comuneId; - private Date _dtIni; - private Date _dtFin; - private String _agMin; - private String _agMax; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeTerritorioWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeTerritorioWrapper.java deleted file mode 100644 index dbfece96..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/model/FeTerritorioWrapper.java +++ /dev/null @@ -1,465 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model; - -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.ModelWrapper; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - *

- * This class is a wrapper for {@link FeTerritorio}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see FeTerritorio - * @generated - */ -public class FeTerritorioWrapper implements FeTerritorio, - ModelWrapper { - public FeTerritorioWrapper(FeTerritorio feTerritorio) { - _feTerritorio = feTerritorio; - } - - @Override - public Class getModelClass() { - return FeTerritorio.class; - } - - @Override - public String getModelClassName() { - return FeTerritorio.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("territorioId", getTerritorioId()); - attributes.put("groupId", getGroupId()); - attributes.put("zonaId", getZonaId()); - attributes.put("fasciaId", getFasciaId()); - attributes.put("comuneId", getComuneId()); - attributes.put("dtIni", getDtIni()); - attributes.put("dtFin", getDtFin()); - attributes.put("agMin", getAgMin()); - attributes.put("agMax", getAgMax()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long territorioId = (Long)attributes.get("territorioId"); - - if (territorioId != null) { - setTerritorioId(territorioId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long zonaId = (Long)attributes.get("zonaId"); - - if (zonaId != null) { - setZonaId(zonaId); - } - - Long fasciaId = (Long)attributes.get("fasciaId"); - - if (fasciaId != null) { - setFasciaId(fasciaId); - } - - Long comuneId = (Long)attributes.get("comuneId"); - - if (comuneId != null) { - setComuneId(comuneId); - } - - Date dtIni = (Date)attributes.get("dtIni"); - - if (dtIni != null) { - setDtIni(dtIni); - } - - Date dtFin = (Date)attributes.get("dtFin"); - - if (dtFin != null) { - setDtFin(dtFin); - } - - String agMin = (String)attributes.get("agMin"); - - if (agMin != null) { - setAgMin(agMin); - } - - String agMax = (String)attributes.get("agMax"); - - if (agMax != null) { - setAgMax(agMax); - } - } - - /** - * Returns the primary key of this fe territorio. - * - * @return the primary key of this fe territorio - */ - @Override - public long getPrimaryKey() { - return _feTerritorio.getPrimaryKey(); - } - - /** - * Sets the primary key of this fe territorio. - * - * @param primaryKey the primary key of this fe territorio - */ - @Override - public void setPrimaryKey(long primaryKey) { - _feTerritorio.setPrimaryKey(primaryKey); - } - - /** - * Returns the territorio ID of this fe territorio. - * - * @return the territorio ID of this fe territorio - */ - @Override - public long getTerritorioId() { - return _feTerritorio.getTerritorioId(); - } - - /** - * Sets the territorio ID of this fe territorio. - * - * @param territorioId the territorio ID of this fe territorio - */ - @Override - public void setTerritorioId(long territorioId) { - _feTerritorio.setTerritorioId(territorioId); - } - - /** - * Returns the group ID of this fe territorio. - * - * @return the group ID of this fe territorio - */ - @Override - public long getGroupId() { - return _feTerritorio.getGroupId(); - } - - /** - * Sets the group ID of this fe territorio. - * - * @param groupId the group ID of this fe territorio - */ - @Override - public void setGroupId(long groupId) { - _feTerritorio.setGroupId(groupId); - } - - /** - * Returns the zona ID of this fe territorio. - * - * @return the zona ID of this fe territorio - */ - @Override - public long getZonaId() { - return _feTerritorio.getZonaId(); - } - - /** - * Sets the zona ID of this fe territorio. - * - * @param zonaId the zona ID of this fe territorio - */ - @Override - public void setZonaId(long zonaId) { - _feTerritorio.setZonaId(zonaId); - } - - /** - * Returns the fascia ID of this fe territorio. - * - * @return the fascia ID of this fe territorio - */ - @Override - public long getFasciaId() { - return _feTerritorio.getFasciaId(); - } - - /** - * Sets the fascia ID of this fe territorio. - * - * @param fasciaId the fascia ID of this fe territorio - */ - @Override - public void setFasciaId(long fasciaId) { - _feTerritorio.setFasciaId(fasciaId); - } - - /** - * Returns the comune ID of this fe territorio. - * - * @return the comune ID of this fe territorio - */ - @Override - public long getComuneId() { - return _feTerritorio.getComuneId(); - } - - /** - * Sets the comune ID of this fe territorio. - * - * @param comuneId the comune ID of this fe territorio - */ - @Override - public void setComuneId(long comuneId) { - _feTerritorio.setComuneId(comuneId); - } - - /** - * Returns the dt ini of this fe territorio. - * - * @return the dt ini of this fe territorio - */ - @Override - public java.util.Date getDtIni() { - return _feTerritorio.getDtIni(); - } - - /** - * Sets the dt ini of this fe territorio. - * - * @param dtIni the dt ini of this fe territorio - */ - @Override - public void setDtIni(java.util.Date dtIni) { - _feTerritorio.setDtIni(dtIni); - } - - /** - * Returns the dt fin of this fe territorio. - * - * @return the dt fin of this fe territorio - */ - @Override - public java.util.Date getDtFin() { - return _feTerritorio.getDtFin(); - } - - /** - * Sets the dt fin of this fe territorio. - * - * @param dtFin the dt fin of this fe territorio - */ - @Override - public void setDtFin(java.util.Date dtFin) { - _feTerritorio.setDtFin(dtFin); - } - - /** - * Returns the ag min of this fe territorio. - * - * @return the ag min of this fe territorio - */ - @Override - public java.lang.String getAgMin() { - return _feTerritorio.getAgMin(); - } - - /** - * Sets the ag min of this fe territorio. - * - * @param agMin the ag min of this fe territorio - */ - @Override - public void setAgMin(java.lang.String agMin) { - _feTerritorio.setAgMin(agMin); - } - - /** - * Returns the ag max of this fe territorio. - * - * @return the ag max of this fe territorio - */ - @Override - public java.lang.String getAgMax() { - return _feTerritorio.getAgMax(); - } - - /** - * Sets the ag max of this fe territorio. - * - * @param agMax the ag max of this fe territorio - */ - @Override - public void setAgMax(java.lang.String agMax) { - _feTerritorio.setAgMax(agMax); - } - - @Override - public boolean isNew() { - return _feTerritorio.isNew(); - } - - @Override - public void setNew(boolean n) { - _feTerritorio.setNew(n); - } - - @Override - public boolean isCachedModel() { - return _feTerritorio.isCachedModel(); - } - - @Override - public void setCachedModel(boolean cachedModel) { - _feTerritorio.setCachedModel(cachedModel); - } - - @Override - public boolean isEscapedModel() { - return _feTerritorio.isEscapedModel(); - } - - @Override - public java.io.Serializable getPrimaryKeyObj() { - return _feTerritorio.getPrimaryKeyObj(); - } - - @Override - public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { - _feTerritorio.setPrimaryKeyObj(primaryKeyObj); - } - - @Override - public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { - return _feTerritorio.getExpandoBridge(); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.model.BaseModel baseModel) { - _feTerritorio.setExpandoBridgeAttributes(baseModel); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) { - _feTerritorio.setExpandoBridgeAttributes(expandoBridge); - } - - @Override - public void setExpandoBridgeAttributes( - com.liferay.portal.service.ServiceContext serviceContext) { - _feTerritorio.setExpandoBridgeAttributes(serviceContext); - } - - @Override - public java.lang.Object clone() { - return new FeTerritorioWrapper((FeTerritorio)_feTerritorio.clone()); - } - - @Override - public int compareTo( - it.tref.liferay.portos.portosimport.model.FeTerritorio feTerritorio) { - return _feTerritorio.compareTo(feTerritorio); - } - - @Override - public int hashCode() { - return _feTerritorio.hashCode(); - } - - @Override - public com.liferay.portal.model.CacheModel toCacheModel() { - return _feTerritorio.toCacheModel(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeTerritorio toEscapedModel() { - return new FeTerritorioWrapper(_feTerritorio.toEscapedModel()); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeTerritorio toUnescapedModel() { - return new FeTerritorioWrapper(_feTerritorio.toUnescapedModel()); - } - - @Override - public java.lang.String toString() { - return _feTerritorio.toString(); - } - - @Override - public java.lang.String toXmlString() { - return _feTerritorio.toXmlString(); - } - - @Override - public void persist() - throws com.liferay.portal.kernel.exception.SystemException { - _feTerritorio.persist(); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof FeTerritorioWrapper)) { - return false; - } - - FeTerritorioWrapper feTerritorioWrapper = (FeTerritorioWrapper)obj; - - if (Validator.equals(_feTerritorio, feTerritorioWrapper._feTerritorio)) { - return true; - } - - return false; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel} - */ - public FeTerritorio getWrappedFeTerritorio() { - return _feTerritorio; - } - - @Override - public FeTerritorio getWrappedModel() { - return _feTerritorio; - } - - @Override - public void resetOriginalValues() { - _feTerritorio.resetOriginalValues(); - } - - private FeTerritorio _feTerritorio; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoArtLeggeLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoArtLeggeLocalService.java deleted file mode 100644 index 8800c7db..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoArtLeggeLocalService.java +++ /dev/null @@ -1,261 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for BoArtLegge. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoArtLeggeLocalServiceUtil - * @see it.tref.liferay.portos.portosimport.service.base.BoArtLeggeLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.BoArtLeggeLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface BoArtLeggeLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoArtLeggeLocalServiceUtil} to access the bo art legge local service. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.BoArtLeggeLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the bo art legge to the database. Also notifies the appropriate model listeners. - * - * @param boArtLegge the bo art legge - * @return the bo art legge that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.BoArtLegge addBoArtLegge( - it.tref.liferay.portos.portosimport.model.BoArtLegge boArtLegge) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new bo art legge with the primary key. Does not add the bo art legge to the database. - * - * @param artLeggeId the primary key for the new bo art legge - * @return the new bo art legge - */ - public it.tref.liferay.portos.portosimport.model.BoArtLegge createBoArtLegge( - long artLeggeId); - - /** - * Deletes the bo art legge with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param artLeggeId the primary key of the bo art legge - * @return the bo art legge that was removed - * @throws PortalException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.BoArtLegge deleteBoArtLegge( - long artLeggeId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the bo art legge from the database. Also notifies the appropriate model listeners. - * - * @param boArtLegge the bo art legge - * @return the bo art legge that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.BoArtLegge deleteBoArtLegge( - it.tref.liferay.portos.portosimport.model.BoArtLegge boArtLegge) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoArtLegge fetchBoArtLegge( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo art legge with the primary key. - * - * @param artLeggeId the primary key of the bo art legge - * @return the bo art legge - * @throws PortalException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoArtLegge getBoArtLegge( - long artLeggeId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo art legges. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo art legges - * @param end the upper bound of the range of bo art legges (not inclusive) - * @return the range of bo art legges - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getBoArtLegges( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo art legges. - * - * @return the number of bo art legges - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getBoArtLeggesCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the bo art legge in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boArtLegge the bo art legge - * @return the bo art legge that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.BoArtLegge updateBoArtLegge( - it.tref.liferay.portos.portosimport.model.BoArtLegge boArtLegge) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoArtLegge fetchByPrimaryKey( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoArtLeggeLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoArtLeggeLocalServiceClp.java deleted file mode 100644 index 64c5502b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoArtLeggeLocalServiceClp.java +++ /dev/null @@ -1,741 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoArtLeggeLocalServiceClp implements BoArtLeggeLocalService { - public BoArtLeggeLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addBoArtLegge"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoArtLegge" - }; - - _methodName1 = "createBoArtLegge"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoArtLegge"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoArtLegge"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoArtLegge" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoArtLegge"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getBoArtLegge"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getBoArtLegges"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getBoArtLeggesCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateBoArtLegge"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoArtLegge" - }; - - _methodName16 = "getBeanIdentifier"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "setBeanIdentifier"; - - _methodParameterTypes17 = new String[] { "java.lang.String" }; - - _methodName19 = "fetchByPrimaryKey"; - - _methodParameterTypes19 = new String[] { "long" }; - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoArtLegge addBoArtLegge( - it.tref.liferay.portos.portosimport.model.BoArtLegge boArtLegge) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(boArtLegge) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoArtLegge)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoArtLegge createBoArtLegge( - long artLeggeId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { artLeggeId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoArtLegge)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoArtLegge deleteBoArtLegge( - long artLeggeId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { artLeggeId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoArtLegge)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoArtLegge deleteBoArtLegge( - it.tref.liferay.portos.portosimport.model.BoArtLegge boArtLegge) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(boArtLegge) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoArtLegge)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoArtLegge fetchBoArtLegge( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { artLeggeId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoArtLegge)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoArtLegge getBoArtLegge( - long artLeggeId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, new Object[] { artLeggeId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoArtLegge)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getBoArtLegges( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getBoArtLeggesCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoArtLegge updateBoArtLegge( - it.tref.liferay.portos.portosimport.model.BoArtLegge boArtLegge) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(boArtLegge) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoArtLegge)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoArtLegge fetchByPrimaryKey( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName19, - _methodParameterTypes19, new Object[] { artLeggeId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoArtLegge)ClpSerializer.translateOutput(returnObj); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName19; - private String[] _methodParameterTypes19; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoArtLeggeLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoArtLeggeLocalServiceUtil.java deleted file mode 100644 index e6ad2b61..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoArtLeggeLocalServiceUtil.java +++ /dev/null @@ -1,314 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for BoArtLegge. This utility wraps - * {@link it.tref.liferay.portos.portosimport.service.impl.BoArtLeggeLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoArtLeggeLocalService - * @see it.tref.liferay.portos.portosimport.service.base.BoArtLeggeLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.BoArtLeggeLocalServiceImpl - * @generated - */ -public class BoArtLeggeLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.BoArtLeggeLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the bo art legge to the database. Also notifies the appropriate model listeners. - * - * @param boArtLegge the bo art legge - * @return the bo art legge that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoArtLegge addBoArtLegge( - it.tref.liferay.portos.portosimport.model.BoArtLegge boArtLegge) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addBoArtLegge(boArtLegge); - } - - /** - * Creates a new bo art legge with the primary key. Does not add the bo art legge to the database. - * - * @param artLeggeId the primary key for the new bo art legge - * @return the new bo art legge - */ - public static it.tref.liferay.portos.portosimport.model.BoArtLegge createBoArtLegge( - long artLeggeId) { - return getService().createBoArtLegge(artLeggeId); - } - - /** - * Deletes the bo art legge with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param artLeggeId the primary key of the bo art legge - * @return the bo art legge that was removed - * @throws PortalException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoArtLegge deleteBoArtLegge( - long artLeggeId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoArtLegge(artLeggeId); - } - - /** - * Deletes the bo art legge from the database. Also notifies the appropriate model listeners. - * - * @param boArtLegge the bo art legge - * @return the bo art legge that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoArtLegge deleteBoArtLegge( - it.tref.liferay.portos.portosimport.model.BoArtLegge boArtLegge) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoArtLegge(boArtLegge); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.portosimport.model.BoArtLegge fetchBoArtLegge( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoArtLegge(artLeggeId); - } - - /** - * Returns the bo art legge with the primary key. - * - * @param artLeggeId the primary key of the bo art legge - * @return the bo art legge - * @throws PortalException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoArtLegge getBoArtLegge( - long artLeggeId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoArtLegge(artLeggeId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the bo art legges. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo art legges - * @param end the upper bound of the range of bo art legges (not inclusive) - * @return the range of bo art legges - * @throws SystemException if a system exception occurred - */ - public static java.util.List getBoArtLegges( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoArtLegges(start, end); - } - - /** - * Returns the number of bo art legges. - * - * @return the number of bo art legges - * @throws SystemException if a system exception occurred - */ - public static int getBoArtLeggesCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoArtLeggesCount(); - } - - /** - * Updates the bo art legge in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boArtLegge the bo art legge - * @return the bo art legge that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoArtLegge updateBoArtLegge( - it.tref.liferay.portos.portosimport.model.BoArtLegge boArtLegge) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateBoArtLegge(boArtLegge); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static it.tref.liferay.portos.portosimport.model.BoArtLegge fetchByPrimaryKey( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchByPrimaryKey(artLeggeId); - } - - public static void clearService() { - _service = null; - } - - public static BoArtLeggeLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - BoArtLeggeLocalService.class.getName()); - - if (invokableLocalService instanceof BoArtLeggeLocalService) { - _service = (BoArtLeggeLocalService)invokableLocalService; - } - else { - _service = new BoArtLeggeLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(BoArtLeggeLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(BoArtLeggeLocalService service) { - } - - private static BoArtLeggeLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoArtLeggeLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoArtLeggeLocalServiceWrapper.java deleted file mode 100644 index fbde8ca9..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoArtLeggeLocalServiceWrapper.java +++ /dev/null @@ -1,323 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link BoArtLeggeLocalService}. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoArtLeggeLocalService - * @generated - */ -public class BoArtLeggeLocalServiceWrapper implements BoArtLeggeLocalService, - ServiceWrapper { - public BoArtLeggeLocalServiceWrapper( - BoArtLeggeLocalService boArtLeggeLocalService) { - _boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Adds the bo art legge to the database. Also notifies the appropriate model listeners. - * - * @param boArtLegge the bo art legge - * @return the bo art legge that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoArtLegge addBoArtLegge( - it.tref.liferay.portos.portosimport.model.BoArtLegge boArtLegge) - throws com.liferay.portal.kernel.exception.SystemException { - return _boArtLeggeLocalService.addBoArtLegge(boArtLegge); - } - - /** - * Creates a new bo art legge with the primary key. Does not add the bo art legge to the database. - * - * @param artLeggeId the primary key for the new bo art legge - * @return the new bo art legge - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoArtLegge createBoArtLegge( - long artLeggeId) { - return _boArtLeggeLocalService.createBoArtLegge(artLeggeId); - } - - /** - * Deletes the bo art legge with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param artLeggeId the primary key of the bo art legge - * @return the bo art legge that was removed - * @throws PortalException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoArtLegge deleteBoArtLegge( - long artLeggeId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boArtLeggeLocalService.deleteBoArtLegge(artLeggeId); - } - - /** - * Deletes the bo art legge from the database. Also notifies the appropriate model listeners. - * - * @param boArtLegge the bo art legge - * @return the bo art legge that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoArtLegge deleteBoArtLegge( - it.tref.liferay.portos.portosimport.model.BoArtLegge boArtLegge) - throws com.liferay.portal.kernel.exception.SystemException { - return _boArtLeggeLocalService.deleteBoArtLegge(boArtLegge); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _boArtLeggeLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boArtLeggeLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _boArtLeggeLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _boArtLeggeLocalService.dynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boArtLeggeLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _boArtLeggeLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoArtLegge fetchBoArtLegge( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boArtLeggeLocalService.fetchBoArtLegge(artLeggeId); - } - - /** - * Returns the bo art legge with the primary key. - * - * @param artLeggeId the primary key of the bo art legge - * @return the bo art legge - * @throws PortalException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoArtLegge getBoArtLegge( - long artLeggeId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boArtLeggeLocalService.getBoArtLegge(artLeggeId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boArtLeggeLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the bo art legges. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo art legges - * @param end the upper bound of the range of bo art legges (not inclusive) - * @return the range of bo art legges - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getBoArtLegges( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _boArtLeggeLocalService.getBoArtLegges(start, end); - } - - /** - * Returns the number of bo art legges. - * - * @return the number of bo art legges - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoArtLeggesCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _boArtLeggeLocalService.getBoArtLeggesCount(); - } - - /** - * Updates the bo art legge in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boArtLegge the bo art legge - * @return the bo art legge that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoArtLegge updateBoArtLegge( - it.tref.liferay.portos.portosimport.model.BoArtLegge boArtLegge) - throws com.liferay.portal.kernel.exception.SystemException { - return _boArtLeggeLocalService.updateBoArtLegge(boArtLegge); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _boArtLeggeLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _boArtLeggeLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _boArtLeggeLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoArtLegge fetchByPrimaryKey( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boArtLeggeLocalService.fetchByPrimaryKey(artLeggeId); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public BoArtLeggeLocalService getWrappedBoArtLeggeLocalService() { - return _boArtLeggeLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedBoArtLeggeLocalService( - BoArtLeggeLocalService boArtLeggeLocalService) { - _boArtLeggeLocalService = boArtLeggeLocalService; - } - - @Override - public BoArtLeggeLocalService getWrappedService() { - return _boArtLeggeLocalService; - } - - @Override - public void setWrappedService(BoArtLeggeLocalService boArtLeggeLocalService) { - _boArtLeggeLocalService = boArtLeggeLocalService; - } - - private BoArtLeggeLocalService _boArtLeggeLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoAvvisoLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoAvvisoLocalService.java deleted file mode 100644 index 6cdfd268..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoAvvisoLocalService.java +++ /dev/null @@ -1,312 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for BoAvviso. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoAvvisoLocalServiceUtil - * @see it.tref.liferay.portos.portosimport.service.base.BoAvvisoLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.BoAvvisoLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface BoAvvisoLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoAvvisoLocalServiceUtil} to access the bo avviso local service. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.BoAvvisoLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the bo avviso to the database. Also notifies the appropriate model listeners. - * - * @param boAvviso the bo avviso - * @return the bo avviso that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.BoAvviso addBoAvviso( - it.tref.liferay.portos.portosimport.model.BoAvviso boAvviso) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new bo avviso with the primary key. Does not add the bo avviso to the database. - * - * @param avvisoId the primary key for the new bo avviso - * @return the new bo avviso - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso createBoAvviso( - long avvisoId); - - /** - * Deletes the bo avviso with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param avvisoId the primary key of the bo avviso - * @return the bo avviso that was removed - * @throws PortalException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.BoAvviso deleteBoAvviso( - long avvisoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the bo avviso from the database. Also notifies the appropriate model listeners. - * - * @param boAvviso the bo avviso - * @return the bo avviso that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.BoAvviso deleteBoAvviso( - it.tref.liferay.portos.portosimport.model.BoAvviso boAvviso) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoAvviso fetchBoAvviso( - long avvisoId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo avviso with the matching UUID and company. - * - * @param uuid the bo avviso's UUID - * @param companyId the primary key of the company - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoAvviso fetchBoAvvisoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo avviso matching the UUID and group. - * - * @param uuid the bo avviso's UUID - * @param groupId the primary key of the group - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoAvviso fetchBoAvvisoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo avviso with the primary key. - * - * @param avvisoId the primary key of the bo avviso - * @return the bo avviso - * @throws PortalException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoAvviso getBoAvviso( - long avvisoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo avviso with the matching UUID and company. - * - * @param uuid the bo avviso's UUID - * @param companyId the primary key of the company - * @return the matching bo avviso - * @throws PortalException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoAvviso getBoAvvisoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo avviso matching the UUID and group. - * - * @param uuid the bo avviso's UUID - * @param groupId the primary key of the group - * @return the matching bo avviso - * @throws PortalException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoAvviso getBoAvvisoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo avvisos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of bo avvisos - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getBoAvvisos( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo avvisos. - * - * @return the number of bo avvisos - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getBoAvvisosCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the bo avviso in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boAvviso the bo avviso - * @return the bo avviso that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.BoAvviso updateBoAvviso( - it.tref.liferay.portos.portosimport.model.BoAvviso boAvviso) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoAvvisoLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoAvvisoLocalServiceClp.java deleted file mode 100644 index 971a66f5..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoAvvisoLocalServiceClp.java +++ /dev/null @@ -1,859 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoAvvisoLocalServiceClp implements BoAvvisoLocalService { - public BoAvvisoLocalServiceClp(InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addBoAvviso"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoAvviso" - }; - - _methodName1 = "createBoAvviso"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoAvviso"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoAvviso"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoAvviso" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoAvviso"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchBoAvvisoByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchBoAvvisoByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getBoAvviso"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getBoAvvisoByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getBoAvvisoByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getBoAvvisos"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getBoAvvisosCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateBoAvviso"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoAvviso" - }; - - _methodName20 = "getBeanIdentifier"; - - _methodParameterTypes20 = new String[] { }; - - _methodName21 = "setBeanIdentifier"; - - _methodParameterTypes21 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoAvviso addBoAvviso( - it.tref.liferay.portos.portosimport.model.BoAvviso boAvviso) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(boAvviso) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoAvviso)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoAvviso createBoAvviso( - long avvisoId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { avvisoId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoAvviso)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoAvviso deleteBoAvviso( - long avvisoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { avvisoId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoAvviso)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoAvviso deleteBoAvviso( - it.tref.liferay.portos.portosimport.model.BoAvviso boAvviso) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(boAvviso) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoAvviso)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoAvviso fetchBoAvviso( - long avvisoId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { avvisoId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoAvviso)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoAvviso fetchBoAvvisoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoAvviso)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoAvviso fetchBoAvvisoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoAvviso)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoAvviso getBoAvviso( - long avvisoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { avvisoId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoAvviso)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoAvviso getBoAvvisoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoAvviso)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoAvviso getBoAvvisoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoAvviso)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getBoAvvisos( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getBoAvvisosCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName18, - _methodParameterTypes18, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoAvviso updateBoAvviso( - it.tref.liferay.portos.portosimport.model.BoAvviso boAvviso) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName19, - _methodParameterTypes19, - new Object[] { ClpSerializer.translateInput(boAvviso) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoAvviso)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName20, - _methodParameterTypes20, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName21, - _methodParameterTypes21, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName20; - private String[] _methodParameterTypes20; - private String _methodName21; - private String[] _methodParameterTypes21; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoAvvisoLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoAvvisoLocalServiceUtil.java deleted file mode 100644 index 6945559f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoAvvisoLocalServiceUtil.java +++ /dev/null @@ -1,368 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for BoAvviso. This utility wraps - * {@link it.tref.liferay.portos.portosimport.service.impl.BoAvvisoLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoAvvisoLocalService - * @see it.tref.liferay.portos.portosimport.service.base.BoAvvisoLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.BoAvvisoLocalServiceImpl - * @generated - */ -public class BoAvvisoLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.BoAvvisoLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the bo avviso to the database. Also notifies the appropriate model listeners. - * - * @param boAvviso the bo avviso - * @return the bo avviso that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso addBoAvviso( - it.tref.liferay.portos.portosimport.model.BoAvviso boAvviso) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addBoAvviso(boAvviso); - } - - /** - * Creates a new bo avviso with the primary key. Does not add the bo avviso to the database. - * - * @param avvisoId the primary key for the new bo avviso - * @return the new bo avviso - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso createBoAvviso( - long avvisoId) { - return getService().createBoAvviso(avvisoId); - } - - /** - * Deletes the bo avviso with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param avvisoId the primary key of the bo avviso - * @return the bo avviso that was removed - * @throws PortalException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso deleteBoAvviso( - long avvisoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoAvviso(avvisoId); - } - - /** - * Deletes the bo avviso from the database. Also notifies the appropriate model listeners. - * - * @param boAvviso the bo avviso - * @return the bo avviso that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso deleteBoAvviso( - it.tref.liferay.portos.portosimport.model.BoAvviso boAvviso) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoAvviso(boAvviso); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.portosimport.model.BoAvviso fetchBoAvviso( - long avvisoId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoAvviso(avvisoId); - } - - /** - * Returns the bo avviso with the matching UUID and company. - * - * @param uuid the bo avviso's UUID - * @param companyId the primary key of the company - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso fetchBoAvvisoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoAvvisoByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the bo avviso matching the UUID and group. - * - * @param uuid the bo avviso's UUID - * @param groupId the primary key of the group - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso fetchBoAvvisoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoAvvisoByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns the bo avviso with the primary key. - * - * @param avvisoId the primary key of the bo avviso - * @return the bo avviso - * @throws PortalException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso getBoAvviso( - long avvisoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoAvviso(avvisoId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns the bo avviso with the matching UUID and company. - * - * @param uuid the bo avviso's UUID - * @param companyId the primary key of the company - * @return the matching bo avviso - * @throws PortalException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso getBoAvvisoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoAvvisoByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the bo avviso matching the UUID and group. - * - * @param uuid the bo avviso's UUID - * @param groupId the primary key of the group - * @return the matching bo avviso - * @throws PortalException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso getBoAvvisoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoAvvisoByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns a range of all the bo avvisos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List getBoAvvisos( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoAvvisos(start, end); - } - - /** - * Returns the number of bo avvisos. - * - * @return the number of bo avvisos - * @throws SystemException if a system exception occurred - */ - public static int getBoAvvisosCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoAvvisosCount(); - } - - /** - * Updates the bo avviso in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boAvviso the bo avviso - * @return the bo avviso that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso updateBoAvviso( - it.tref.liferay.portos.portosimport.model.BoAvviso boAvviso) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateBoAvviso(boAvviso); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static BoAvvisoLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - BoAvvisoLocalService.class.getName()); - - if (invokableLocalService instanceof BoAvvisoLocalService) { - _service = (BoAvvisoLocalService)invokableLocalService; - } - else { - _service = new BoAvvisoLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(BoAvvisoLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(BoAvvisoLocalService service) { - } - - private static BoAvvisoLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoAvvisoLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoAvvisoLocalServiceWrapper.java deleted file mode 100644 index 465628c5..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoAvvisoLocalServiceWrapper.java +++ /dev/null @@ -1,381 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link BoAvvisoLocalService}. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoAvvisoLocalService - * @generated - */ -public class BoAvvisoLocalServiceWrapper implements BoAvvisoLocalService, - ServiceWrapper { - public BoAvvisoLocalServiceWrapper( - BoAvvisoLocalService boAvvisoLocalService) { - _boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Adds the bo avviso to the database. Also notifies the appropriate model listeners. - * - * @param boAvviso the bo avviso - * @return the bo avviso that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoAvviso addBoAvviso( - it.tref.liferay.portos.portosimport.model.BoAvviso boAvviso) - throws com.liferay.portal.kernel.exception.SystemException { - return _boAvvisoLocalService.addBoAvviso(boAvviso); - } - - /** - * Creates a new bo avviso with the primary key. Does not add the bo avviso to the database. - * - * @param avvisoId the primary key for the new bo avviso - * @return the new bo avviso - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoAvviso createBoAvviso( - long avvisoId) { - return _boAvvisoLocalService.createBoAvviso(avvisoId); - } - - /** - * Deletes the bo avviso with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param avvisoId the primary key of the bo avviso - * @return the bo avviso that was removed - * @throws PortalException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoAvviso deleteBoAvviso( - long avvisoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boAvvisoLocalService.deleteBoAvviso(avvisoId); - } - - /** - * Deletes the bo avviso from the database. Also notifies the appropriate model listeners. - * - * @param boAvviso the bo avviso - * @return the bo avviso that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoAvviso deleteBoAvviso( - it.tref.liferay.portos.portosimport.model.BoAvviso boAvviso) - throws com.liferay.portal.kernel.exception.SystemException { - return _boAvvisoLocalService.deleteBoAvviso(boAvviso); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _boAvvisoLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boAvvisoLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _boAvvisoLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _boAvvisoLocalService.dynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boAvvisoLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _boAvvisoLocalService.dynamicQueryCount(dynamicQuery, projection); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoAvviso fetchBoAvviso( - long avvisoId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boAvvisoLocalService.fetchBoAvviso(avvisoId); - } - - /** - * Returns the bo avviso with the matching UUID and company. - * - * @param uuid the bo avviso's UUID - * @param companyId the primary key of the company - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoAvviso fetchBoAvvisoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boAvvisoLocalService.fetchBoAvvisoByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the bo avviso matching the UUID and group. - * - * @param uuid the bo avviso's UUID - * @param groupId the primary key of the group - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoAvviso fetchBoAvvisoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boAvvisoLocalService.fetchBoAvvisoByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns the bo avviso with the primary key. - * - * @param avvisoId the primary key of the bo avviso - * @return the bo avviso - * @throws PortalException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoAvviso getBoAvviso( - long avvisoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boAvvisoLocalService.getBoAvviso(avvisoId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boAvvisoLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns the bo avviso with the matching UUID and company. - * - * @param uuid the bo avviso's UUID - * @param companyId the primary key of the company - * @return the matching bo avviso - * @throws PortalException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoAvviso getBoAvvisoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boAvvisoLocalService.getBoAvvisoByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the bo avviso matching the UUID and group. - * - * @param uuid the bo avviso's UUID - * @param groupId the primary key of the group - * @return the matching bo avviso - * @throws PortalException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoAvviso getBoAvvisoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boAvvisoLocalService.getBoAvvisoByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns a range of all the bo avvisos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getBoAvvisos( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _boAvvisoLocalService.getBoAvvisos(start, end); - } - - /** - * Returns the number of bo avvisos. - * - * @return the number of bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoAvvisosCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _boAvvisoLocalService.getBoAvvisosCount(); - } - - /** - * Updates the bo avviso in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boAvviso the bo avviso - * @return the bo avviso that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoAvviso updateBoAvviso( - it.tref.liferay.portos.portosimport.model.BoAvviso boAvviso) - throws com.liferay.portal.kernel.exception.SystemException { - return _boAvvisoLocalService.updateBoAvviso(boAvviso); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _boAvvisoLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _boAvvisoLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _boAvvisoLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public BoAvvisoLocalService getWrappedBoAvvisoLocalService() { - return _boAvvisoLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedBoAvvisoLocalService( - BoAvvisoLocalService boAvvisoLocalService) { - _boAvvisoLocalService = boAvvisoLocalService; - } - - @Override - public BoAvvisoLocalService getWrappedService() { - return _boAvvisoLocalService; - } - - @Override - public void setWrappedService(BoAvvisoLocalService boAvvisoLocalService) { - _boAvvisoLocalService = boAvvisoLocalService; - } - - private BoAvvisoLocalService _boAvvisoLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoComuneLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoComuneLocalService.java deleted file mode 100644 index 9dc55e75..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoComuneLocalService.java +++ /dev/null @@ -1,256 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for BoComune. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoComuneLocalServiceUtil - * @see it.tref.liferay.portos.portosimport.service.base.BoComuneLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.BoComuneLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface BoComuneLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoComuneLocalServiceUtil} to access the bo comune local service. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.BoComuneLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the bo comune to the database. Also notifies the appropriate model listeners. - * - * @param boComune the bo comune - * @return the bo comune that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.BoComune addBoComune( - it.tref.liferay.portos.portosimport.model.BoComune boComune) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new bo comune with the primary key. Does not add the bo comune to the database. - * - * @param comuneId the primary key for the new bo comune - * @return the new bo comune - */ - public it.tref.liferay.portos.portosimport.model.BoComune createBoComune( - long comuneId); - - /** - * Deletes the bo comune with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param comuneId the primary key of the bo comune - * @return the bo comune that was removed - * @throws PortalException if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.BoComune deleteBoComune( - long comuneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the bo comune from the database. Also notifies the appropriate model listeners. - * - * @param boComune the bo comune - * @return the bo comune that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.BoComune deleteBoComune( - it.tref.liferay.portos.portosimport.model.BoComune boComune) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoComune fetchBoComune( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo comune with the primary key. - * - * @param comuneId the primary key of the bo comune - * @return the bo comune - * @throws PortalException if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoComune getBoComune( - long comuneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo comunes - * @param end the upper bound of the range of bo comunes (not inclusive) - * @return the range of bo comunes - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getBoComunes( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo comunes. - * - * @return the number of bo comunes - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getBoComunesCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the bo comune in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boComune the bo comune - * @return the bo comune that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.BoComune updateBoComune( - it.tref.liferay.portos.portosimport.model.BoComune boComune) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoComuneLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoComuneLocalServiceClp.java deleted file mode 100644 index 2668c6ce..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoComuneLocalServiceClp.java +++ /dev/null @@ -1,705 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoComuneLocalServiceClp implements BoComuneLocalService { - public BoComuneLocalServiceClp(InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addBoComune"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoComune" - }; - - _methodName1 = "createBoComune"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoComune"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoComune"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoComune" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoComune"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getBoComune"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getBoComunes"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getBoComunesCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateBoComune"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoComune" - }; - - _methodName16 = "getBeanIdentifier"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "setBeanIdentifier"; - - _methodParameterTypes17 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoComune addBoComune( - it.tref.liferay.portos.portosimport.model.BoComune boComune) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(boComune) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoComune)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoComune createBoComune( - long comuneId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { comuneId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoComune)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoComune deleteBoComune( - long comuneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { comuneId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoComune)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoComune deleteBoComune( - it.tref.liferay.portos.portosimport.model.BoComune boComune) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(boComune) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoComune)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoComune fetchBoComune( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { comuneId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoComune)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoComune getBoComune( - long comuneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, new Object[] { comuneId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoComune)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getBoComunes( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getBoComunesCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoComune updateBoComune( - it.tref.liferay.portos.portosimport.model.BoComune boComune) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(boComune) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoComune)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoComuneLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoComuneLocalServiceUtil.java deleted file mode 100644 index 5ead6392..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoComuneLocalServiceUtil.java +++ /dev/null @@ -1,308 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for BoComune. This utility wraps - * {@link it.tref.liferay.portos.portosimport.service.impl.BoComuneLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoComuneLocalService - * @see it.tref.liferay.portos.portosimport.service.base.BoComuneLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.BoComuneLocalServiceImpl - * @generated - */ -public class BoComuneLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.BoComuneLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the bo comune to the database. Also notifies the appropriate model listeners. - * - * @param boComune the bo comune - * @return the bo comune that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoComune addBoComune( - it.tref.liferay.portos.portosimport.model.BoComune boComune) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addBoComune(boComune); - } - - /** - * Creates a new bo comune with the primary key. Does not add the bo comune to the database. - * - * @param comuneId the primary key for the new bo comune - * @return the new bo comune - */ - public static it.tref.liferay.portos.portosimport.model.BoComune createBoComune( - long comuneId) { - return getService().createBoComune(comuneId); - } - - /** - * Deletes the bo comune with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param comuneId the primary key of the bo comune - * @return the bo comune that was removed - * @throws PortalException if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoComune deleteBoComune( - long comuneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoComune(comuneId); - } - - /** - * Deletes the bo comune from the database. Also notifies the appropriate model listeners. - * - * @param boComune the bo comune - * @return the bo comune that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoComune deleteBoComune( - it.tref.liferay.portos.portosimport.model.BoComune boComune) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoComune(boComune); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.portosimport.model.BoComune fetchBoComune( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoComune(comuneId); - } - - /** - * Returns the bo comune with the primary key. - * - * @param comuneId the primary key of the bo comune - * @return the bo comune - * @throws PortalException if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoComune getBoComune( - long comuneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoComune(comuneId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the bo comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo comunes - * @param end the upper bound of the range of bo comunes (not inclusive) - * @return the range of bo comunes - * @throws SystemException if a system exception occurred - */ - public static java.util.List getBoComunes( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoComunes(start, end); - } - - /** - * Returns the number of bo comunes. - * - * @return the number of bo comunes - * @throws SystemException if a system exception occurred - */ - public static int getBoComunesCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoComunesCount(); - } - - /** - * Updates the bo comune in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boComune the bo comune - * @return the bo comune that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoComune updateBoComune( - it.tref.liferay.portos.portosimport.model.BoComune boComune) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateBoComune(boComune); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static BoComuneLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - BoComuneLocalService.class.getName()); - - if (invokableLocalService instanceof BoComuneLocalService) { - _service = (BoComuneLocalService)invokableLocalService; - } - else { - _service = new BoComuneLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(BoComuneLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(BoComuneLocalService service) { - } - - private static BoComuneLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoComuneLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoComuneLocalServiceWrapper.java deleted file mode 100644 index bf6d4808..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoComuneLocalServiceWrapper.java +++ /dev/null @@ -1,315 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link BoComuneLocalService}. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoComuneLocalService - * @generated - */ -public class BoComuneLocalServiceWrapper implements BoComuneLocalService, - ServiceWrapper { - public BoComuneLocalServiceWrapper( - BoComuneLocalService boComuneLocalService) { - _boComuneLocalService = boComuneLocalService; - } - - /** - * Adds the bo comune to the database. Also notifies the appropriate model listeners. - * - * @param boComune the bo comune - * @return the bo comune that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoComune addBoComune( - it.tref.liferay.portos.portosimport.model.BoComune boComune) - throws com.liferay.portal.kernel.exception.SystemException { - return _boComuneLocalService.addBoComune(boComune); - } - - /** - * Creates a new bo comune with the primary key. Does not add the bo comune to the database. - * - * @param comuneId the primary key for the new bo comune - * @return the new bo comune - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoComune createBoComune( - long comuneId) { - return _boComuneLocalService.createBoComune(comuneId); - } - - /** - * Deletes the bo comune with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param comuneId the primary key of the bo comune - * @return the bo comune that was removed - * @throws PortalException if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoComune deleteBoComune( - long comuneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boComuneLocalService.deleteBoComune(comuneId); - } - - /** - * Deletes the bo comune from the database. Also notifies the appropriate model listeners. - * - * @param boComune the bo comune - * @return the bo comune that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoComune deleteBoComune( - it.tref.liferay.portos.portosimport.model.BoComune boComune) - throws com.liferay.portal.kernel.exception.SystemException { - return _boComuneLocalService.deleteBoComune(boComune); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _boComuneLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boComuneLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _boComuneLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _boComuneLocalService.dynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boComuneLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _boComuneLocalService.dynamicQueryCount(dynamicQuery, projection); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoComune fetchBoComune( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boComuneLocalService.fetchBoComune(comuneId); - } - - /** - * Returns the bo comune with the primary key. - * - * @param comuneId the primary key of the bo comune - * @return the bo comune - * @throws PortalException if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoComune getBoComune( - long comuneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boComuneLocalService.getBoComune(comuneId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boComuneLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the bo comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo comunes - * @param end the upper bound of the range of bo comunes (not inclusive) - * @return the range of bo comunes - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getBoComunes( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _boComuneLocalService.getBoComunes(start, end); - } - - /** - * Returns the number of bo comunes. - * - * @return the number of bo comunes - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoComunesCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _boComuneLocalService.getBoComunesCount(); - } - - /** - * Updates the bo comune in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boComune the bo comune - * @return the bo comune that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoComune updateBoComune( - it.tref.liferay.portos.portosimport.model.BoComune boComune) - throws com.liferay.portal.kernel.exception.SystemException { - return _boComuneLocalService.updateBoComune(boComune); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _boComuneLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _boComuneLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _boComuneLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public BoComuneLocalService getWrappedBoComuneLocalService() { - return _boComuneLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedBoComuneLocalService( - BoComuneLocalService boComuneLocalService) { - _boComuneLocalService = boComuneLocalService; - } - - @Override - public BoComuneLocalService getWrappedService() { - return _boComuneLocalService; - } - - @Override - public void setWrappedService(BoComuneLocalService boComuneLocalService) { - _boComuneLocalService = boComuneLocalService; - } - - private BoComuneLocalService _boComuneLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoDettPraticaLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoDettPraticaLocalService.java deleted file mode 100644 index 86be5cca..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoDettPraticaLocalService.java +++ /dev/null @@ -1,322 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for BoDettPratica. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoDettPraticaLocalServiceUtil - * @see it.tref.liferay.portos.portosimport.service.base.BoDettPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.BoDettPraticaLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface BoDettPraticaLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoDettPraticaLocalServiceUtil} to access the bo dett pratica local service. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.BoDettPraticaLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the bo dett pratica to the database. Also notifies the appropriate model listeners. - * - * @param boDettPratica the bo dett pratica - * @return the bo dett pratica that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.BoDettPratica addBoDettPratica( - it.tref.liferay.portos.portosimport.model.BoDettPratica boDettPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new bo dett pratica with the primary key. Does not add the bo dett pratica to the database. - * - * @param dettPraticaId the primary key for the new bo dett pratica - * @return the new bo dett pratica - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica createBoDettPratica( - long dettPraticaId); - - /** - * Deletes the bo dett pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param dettPraticaId the primary key of the bo dett pratica - * @return the bo dett pratica that was removed - * @throws PortalException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.BoDettPratica deleteBoDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the bo dett pratica from the database. Also notifies the appropriate model listeners. - * - * @param boDettPratica the bo dett pratica - * @return the bo dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.BoDettPratica deleteBoDettPratica( - it.tref.liferay.portos.portosimport.model.BoDettPratica boDettPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoDettPratica fetchBoDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett pratica with the matching UUID and company. - * - * @param uuid the bo dett pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoDettPratica fetchBoDettPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett pratica matching the UUID and group. - * - * @param uuid the bo dett pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoDettPratica fetchBoDettPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett pratica with the primary key. - * - * @param dettPraticaId the primary key of the bo dett pratica - * @return the bo dett pratica - * @throws PortalException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoDettPratica getBoDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett pratica with the matching UUID and company. - * - * @param uuid the bo dett pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo dett pratica - * @throws PortalException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoDettPratica getBoDettPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett pratica matching the UUID and group. - * - * @param uuid the bo dett pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo dett pratica - * @throws PortalException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoDettPratica getBoDettPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getBoDettPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo dett praticas. - * - * @return the number of bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getBoDettPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the bo dett pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boDettPratica the bo dett pratica - * @return the bo dett pratica that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.BoDettPratica updateBoDettPratica( - it.tref.liferay.portos.portosimport.model.BoDettPratica boDettPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByCodPraticaSuap( - java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - public java.util.List findByIntPraticaId( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoDettPraticaLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoDettPraticaLocalServiceClp.java deleted file mode 100644 index 76ff2a8f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoDettPraticaLocalServiceClp.java +++ /dev/null @@ -1,936 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoDettPraticaLocalServiceClp implements BoDettPraticaLocalService { - public BoDettPraticaLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addBoDettPratica"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoDettPratica" - }; - - _methodName1 = "createBoDettPratica"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoDettPratica"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoDettPratica"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoDettPratica" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoDettPratica"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchBoDettPraticaByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchBoDettPraticaByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getBoDettPratica"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getBoDettPraticaByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getBoDettPraticaByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getBoDettPraticas"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getBoDettPraticasCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateBoDettPratica"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoDettPratica" - }; - - _methodName20 = "getBeanIdentifier"; - - _methodParameterTypes20 = new String[] { }; - - _methodName21 = "setBeanIdentifier"; - - _methodParameterTypes21 = new String[] { "java.lang.String" }; - - _methodName23 = "fetchByCodPraticaSuap"; - - _methodParameterTypes23 = new String[] { "java.lang.String" }; - - _methodName24 = "findByIntPraticaId"; - - _methodParameterTypes24 = new String[] { "long" }; - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoDettPratica addBoDettPratica( - it.tref.liferay.portos.portosimport.model.BoDettPratica boDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(boDettPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoDettPratica createBoDettPratica( - long dettPraticaId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { dettPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoDettPratica deleteBoDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { dettPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoDettPratica deleteBoDettPratica( - it.tref.liferay.portos.portosimport.model.BoDettPratica boDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(boDettPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoDettPratica fetchBoDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { dettPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoDettPratica fetchBoDettPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoDettPratica fetchBoDettPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoDettPratica getBoDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { dettPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoDettPratica getBoDettPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoDettPratica getBoDettPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getBoDettPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getBoDettPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName18, - _methodParameterTypes18, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoDettPratica updateBoDettPratica( - it.tref.liferay.portos.portosimport.model.BoDettPratica boDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName19, - _methodParameterTypes19, - new Object[] { ClpSerializer.translateInput(boDettPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName20, - _methodParameterTypes20, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName21, - _methodParameterTypes21, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByCodPraticaSuap( - java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName23, - _methodParameterTypes23, - new Object[] { ClpSerializer.translateInput(codPraticaSuap) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List findByIntPraticaId( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName24, - _methodParameterTypes24, new Object[] { intPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName20; - private String[] _methodParameterTypes20; - private String _methodName21; - private String[] _methodParameterTypes21; - private String _methodName23; - private String[] _methodParameterTypes23; - private String _methodName24; - private String[] _methodParameterTypes24; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoDettPraticaLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoDettPraticaLocalServiceUtil.java deleted file mode 100644 index 9d134756..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoDettPraticaLocalServiceUtil.java +++ /dev/null @@ -1,381 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for BoDettPratica. This utility wraps - * {@link it.tref.liferay.portos.portosimport.service.impl.BoDettPraticaLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoDettPraticaLocalService - * @see it.tref.liferay.portos.portosimport.service.base.BoDettPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.BoDettPraticaLocalServiceImpl - * @generated - */ -public class BoDettPraticaLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.BoDettPraticaLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the bo dett pratica to the database. Also notifies the appropriate model listeners. - * - * @param boDettPratica the bo dett pratica - * @return the bo dett pratica that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica addBoDettPratica( - it.tref.liferay.portos.portosimport.model.BoDettPratica boDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addBoDettPratica(boDettPratica); - } - - /** - * Creates a new bo dett pratica with the primary key. Does not add the bo dett pratica to the database. - * - * @param dettPraticaId the primary key for the new bo dett pratica - * @return the new bo dett pratica - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica createBoDettPratica( - long dettPraticaId) { - return getService().createBoDettPratica(dettPraticaId); - } - - /** - * Deletes the bo dett pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param dettPraticaId the primary key of the bo dett pratica - * @return the bo dett pratica that was removed - * @throws PortalException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica deleteBoDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoDettPratica(dettPraticaId); - } - - /** - * Deletes the bo dett pratica from the database. Also notifies the appropriate model listeners. - * - * @param boDettPratica the bo dett pratica - * @return the bo dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica deleteBoDettPratica( - it.tref.liferay.portos.portosimport.model.BoDettPratica boDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoDettPratica(boDettPratica); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.portosimport.model.BoDettPratica fetchBoDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoDettPratica(dettPraticaId); - } - - /** - * Returns the bo dett pratica with the matching UUID and company. - * - * @param uuid the bo dett pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica fetchBoDettPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoDettPraticaByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the bo dett pratica matching the UUID and group. - * - * @param uuid the bo dett pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica fetchBoDettPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoDettPraticaByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns the bo dett pratica with the primary key. - * - * @param dettPraticaId the primary key of the bo dett pratica - * @return the bo dett pratica - * @throws PortalException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica getBoDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoDettPratica(dettPraticaId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns the bo dett pratica with the matching UUID and company. - * - * @param uuid the bo dett pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo dett pratica - * @throws PortalException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica getBoDettPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoDettPraticaByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the bo dett pratica matching the UUID and group. - * - * @param uuid the bo dett pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo dett pratica - * @throws PortalException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica getBoDettPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoDettPraticaByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns a range of all the bo dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List getBoDettPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoDettPraticas(start, end); - } - - /** - * Returns the number of bo dett praticas. - * - * @return the number of bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static int getBoDettPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoDettPraticasCount(); - } - - /** - * Updates the bo dett pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boDettPratica the bo dett pratica - * @return the bo dett pratica that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica updateBoDettPratica( - it.tref.liferay.portos.portosimport.model.BoDettPratica boDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateBoDettPratica(boDettPratica); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByCodPraticaSuap( - java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().fetchByCodPraticaSuap(codPraticaSuap); - } - - public static java.util.List findByIntPraticaId( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().findByIntPraticaId(intPraticaId); - } - - public static void clearService() { - _service = null; - } - - public static BoDettPraticaLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - BoDettPraticaLocalService.class.getName()); - - if (invokableLocalService instanceof BoDettPraticaLocalService) { - _service = (BoDettPraticaLocalService)invokableLocalService; - } - else { - _service = new BoDettPraticaLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(BoDettPraticaLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(BoDettPraticaLocalService service) { - } - - private static BoDettPraticaLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoDettPraticaLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoDettPraticaLocalServiceWrapper.java deleted file mode 100644 index d98fac8d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoDettPraticaLocalServiceWrapper.java +++ /dev/null @@ -1,401 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link BoDettPraticaLocalService}. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoDettPraticaLocalService - * @generated - */ -public class BoDettPraticaLocalServiceWrapper - implements BoDettPraticaLocalService, - ServiceWrapper { - public BoDettPraticaLocalServiceWrapper( - BoDettPraticaLocalService boDettPraticaLocalService) { - _boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Adds the bo dett pratica to the database. Also notifies the appropriate model listeners. - * - * @param boDettPratica the bo dett pratica - * @return the bo dett pratica that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoDettPratica addBoDettPratica( - it.tref.liferay.portos.portosimport.model.BoDettPratica boDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.addBoDettPratica(boDettPratica); - } - - /** - * Creates a new bo dett pratica with the primary key. Does not add the bo dett pratica to the database. - * - * @param dettPraticaId the primary key for the new bo dett pratica - * @return the new bo dett pratica - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoDettPratica createBoDettPratica( - long dettPraticaId) { - return _boDettPraticaLocalService.createBoDettPratica(dettPraticaId); - } - - /** - * Deletes the bo dett pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param dettPraticaId the primary key of the bo dett pratica - * @return the bo dett pratica that was removed - * @throws PortalException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoDettPratica deleteBoDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.deleteBoDettPratica(dettPraticaId); - } - - /** - * Deletes the bo dett pratica from the database. Also notifies the appropriate model listeners. - * - * @param boDettPratica the bo dett pratica - * @return the bo dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoDettPratica deleteBoDettPratica( - it.tref.liferay.portos.portosimport.model.BoDettPratica boDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.deleteBoDettPratica(boDettPratica); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _boDettPraticaLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.dynamicQuery(dynamicQuery, start, - end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoDettPratica fetchBoDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.fetchBoDettPratica(dettPraticaId); - } - - /** - * Returns the bo dett pratica with the matching UUID and company. - * - * @param uuid the bo dett pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoDettPratica fetchBoDettPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.fetchBoDettPraticaByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the bo dett pratica matching the UUID and group. - * - * @param uuid the bo dett pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoDettPratica fetchBoDettPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.fetchBoDettPraticaByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns the bo dett pratica with the primary key. - * - * @param dettPraticaId the primary key of the bo dett pratica - * @return the bo dett pratica - * @throws PortalException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoDettPratica getBoDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.getBoDettPratica(dettPraticaId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns the bo dett pratica with the matching UUID and company. - * - * @param uuid the bo dett pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo dett pratica - * @throws PortalException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoDettPratica getBoDettPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.getBoDettPraticaByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the bo dett pratica matching the UUID and group. - * - * @param uuid the bo dett pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo dett pratica - * @throws PortalException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoDettPratica getBoDettPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.getBoDettPraticaByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns a range of all the bo dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getBoDettPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.getBoDettPraticas(start, end); - } - - /** - * Returns the number of bo dett praticas. - * - * @return the number of bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoDettPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.getBoDettPraticasCount(); - } - - /** - * Updates the bo dett pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boDettPratica the bo dett pratica - * @return the bo dett pratica that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoDettPratica updateBoDettPratica( - it.tref.liferay.portos.portosimport.model.BoDettPratica boDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.updateBoDettPratica(boDettPratica); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _boDettPraticaLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _boDettPraticaLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _boDettPraticaLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByCodPraticaSuap( - java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.fetchByCodPraticaSuap(codPraticaSuap); - } - - @Override - public java.util.List findByIntPraticaId( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDettPraticaLocalService.findByIntPraticaId(intPraticaId); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public BoDettPraticaLocalService getWrappedBoDettPraticaLocalService() { - return _boDettPraticaLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedBoDettPraticaLocalService( - BoDettPraticaLocalService boDettPraticaLocalService) { - _boDettPraticaLocalService = boDettPraticaLocalService; - } - - @Override - public BoDettPraticaLocalService getWrappedService() { - return _boDettPraticaLocalService; - } - - @Override - public void setWrappedService( - BoDettPraticaLocalService boDettPraticaLocalService) { - _boDettPraticaLocalService = boDettPraticaLocalService; - } - - private BoDettPraticaLocalService _boDettPraticaLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoDocPraticaLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoDocPraticaLocalService.java deleted file mode 100644 index 26138bb1..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoDocPraticaLocalService.java +++ /dev/null @@ -1,312 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for BoDocPratica. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoDocPraticaLocalServiceUtil - * @see it.tref.liferay.portos.portosimport.service.base.BoDocPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.BoDocPraticaLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface BoDocPraticaLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoDocPraticaLocalServiceUtil} to access the bo doc pratica local service. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.BoDocPraticaLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the bo doc pratica to the database. Also notifies the appropriate model listeners. - * - * @param boDocPratica the bo doc pratica - * @return the bo doc pratica that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.BoDocPratica addBoDocPratica( - it.tref.liferay.portos.portosimport.model.BoDocPratica boDocPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new bo doc pratica with the primary key. Does not add the bo doc pratica to the database. - * - * @param docPraticaId the primary key for the new bo doc pratica - * @return the new bo doc pratica - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica createBoDocPratica( - long docPraticaId); - - /** - * Deletes the bo doc pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param docPraticaId the primary key of the bo doc pratica - * @return the bo doc pratica that was removed - * @throws PortalException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.BoDocPratica deleteBoDocPratica( - long docPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the bo doc pratica from the database. Also notifies the appropriate model listeners. - * - * @param boDocPratica the bo doc pratica - * @return the bo doc pratica that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.BoDocPratica deleteBoDocPratica( - it.tref.liferay.portos.portosimport.model.BoDocPratica boDocPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoDocPratica fetchBoDocPratica( - long docPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc pratica with the matching UUID and company. - * - * @param uuid the bo doc pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoDocPratica fetchBoDocPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc pratica matching the UUID and group. - * - * @param uuid the bo doc pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoDocPratica fetchBoDocPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc pratica with the primary key. - * - * @param docPraticaId the primary key of the bo doc pratica - * @return the bo doc pratica - * @throws PortalException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoDocPratica getBoDocPratica( - long docPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc pratica with the matching UUID and company. - * - * @param uuid the bo doc pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo doc pratica - * @throws PortalException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoDocPratica getBoDocPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc pratica matching the UUID and group. - * - * @param uuid the bo doc pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo doc pratica - * @throws PortalException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoDocPratica getBoDocPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo doc praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getBoDocPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo doc praticas. - * - * @return the number of bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getBoDocPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the bo doc pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boDocPratica the bo doc pratica - * @return the bo doc pratica that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.BoDocPratica updateBoDocPratica( - it.tref.liferay.portos.portosimport.model.BoDocPratica boDocPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoDocPraticaLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoDocPraticaLocalServiceClp.java deleted file mode 100644 index b9758199..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoDocPraticaLocalServiceClp.java +++ /dev/null @@ -1,860 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoDocPraticaLocalServiceClp implements BoDocPraticaLocalService { - public BoDocPraticaLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addBoDocPratica"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoDocPratica" - }; - - _methodName1 = "createBoDocPratica"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoDocPratica"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoDocPratica"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoDocPratica" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoDocPratica"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchBoDocPraticaByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchBoDocPraticaByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getBoDocPratica"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getBoDocPraticaByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getBoDocPraticaByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getBoDocPraticas"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getBoDocPraticasCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateBoDocPratica"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoDocPratica" - }; - - _methodName20 = "getBeanIdentifier"; - - _methodParameterTypes20 = new String[] { }; - - _methodName21 = "setBeanIdentifier"; - - _methodParameterTypes21 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoDocPratica addBoDocPratica( - it.tref.liferay.portos.portosimport.model.BoDocPratica boDocPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(boDocPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoDocPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoDocPratica createBoDocPratica( - long docPraticaId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { docPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoDocPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoDocPratica deleteBoDocPratica( - long docPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { docPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoDocPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoDocPratica deleteBoDocPratica( - it.tref.liferay.portos.portosimport.model.BoDocPratica boDocPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(boDocPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoDocPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoDocPratica fetchBoDocPratica( - long docPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { docPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoDocPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoDocPratica fetchBoDocPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoDocPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoDocPratica fetchBoDocPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoDocPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoDocPratica getBoDocPratica( - long docPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { docPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoDocPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoDocPratica getBoDocPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoDocPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoDocPratica getBoDocPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoDocPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getBoDocPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getBoDocPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName18, - _methodParameterTypes18, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoDocPratica updateBoDocPratica( - it.tref.liferay.portos.portosimport.model.BoDocPratica boDocPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName19, - _methodParameterTypes19, - new Object[] { ClpSerializer.translateInput(boDocPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoDocPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName20, - _methodParameterTypes20, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName21, - _methodParameterTypes21, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName20; - private String[] _methodParameterTypes20; - private String _methodName21; - private String[] _methodParameterTypes21; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoDocPraticaLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoDocPraticaLocalServiceUtil.java deleted file mode 100644 index 7c697c2d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoDocPraticaLocalServiceUtil.java +++ /dev/null @@ -1,368 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for BoDocPratica. This utility wraps - * {@link it.tref.liferay.portos.portosimport.service.impl.BoDocPraticaLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoDocPraticaLocalService - * @see it.tref.liferay.portos.portosimport.service.base.BoDocPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.BoDocPraticaLocalServiceImpl - * @generated - */ -public class BoDocPraticaLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.BoDocPraticaLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the bo doc pratica to the database. Also notifies the appropriate model listeners. - * - * @param boDocPratica the bo doc pratica - * @return the bo doc pratica that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica addBoDocPratica( - it.tref.liferay.portos.portosimport.model.BoDocPratica boDocPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addBoDocPratica(boDocPratica); - } - - /** - * Creates a new bo doc pratica with the primary key. Does not add the bo doc pratica to the database. - * - * @param docPraticaId the primary key for the new bo doc pratica - * @return the new bo doc pratica - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica createBoDocPratica( - long docPraticaId) { - return getService().createBoDocPratica(docPraticaId); - } - - /** - * Deletes the bo doc pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param docPraticaId the primary key of the bo doc pratica - * @return the bo doc pratica that was removed - * @throws PortalException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica deleteBoDocPratica( - long docPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoDocPratica(docPraticaId); - } - - /** - * Deletes the bo doc pratica from the database. Also notifies the appropriate model listeners. - * - * @param boDocPratica the bo doc pratica - * @return the bo doc pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica deleteBoDocPratica( - it.tref.liferay.portos.portosimport.model.BoDocPratica boDocPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoDocPratica(boDocPratica); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.portosimport.model.BoDocPratica fetchBoDocPratica( - long docPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoDocPratica(docPraticaId); - } - - /** - * Returns the bo doc pratica with the matching UUID and company. - * - * @param uuid the bo doc pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica fetchBoDocPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoDocPraticaByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the bo doc pratica matching the UUID and group. - * - * @param uuid the bo doc pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica fetchBoDocPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoDocPraticaByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns the bo doc pratica with the primary key. - * - * @param docPraticaId the primary key of the bo doc pratica - * @return the bo doc pratica - * @throws PortalException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica getBoDocPratica( - long docPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoDocPratica(docPraticaId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns the bo doc pratica with the matching UUID and company. - * - * @param uuid the bo doc pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo doc pratica - * @throws PortalException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica getBoDocPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoDocPraticaByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the bo doc pratica matching the UUID and group. - * - * @param uuid the bo doc pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo doc pratica - * @throws PortalException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica getBoDocPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoDocPraticaByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns a range of all the bo doc praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List getBoDocPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoDocPraticas(start, end); - } - - /** - * Returns the number of bo doc praticas. - * - * @return the number of bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static int getBoDocPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoDocPraticasCount(); - } - - /** - * Updates the bo doc pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boDocPratica the bo doc pratica - * @return the bo doc pratica that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica updateBoDocPratica( - it.tref.liferay.portos.portosimport.model.BoDocPratica boDocPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateBoDocPratica(boDocPratica); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static BoDocPraticaLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - BoDocPraticaLocalService.class.getName()); - - if (invokableLocalService instanceof BoDocPraticaLocalService) { - _service = (BoDocPraticaLocalService)invokableLocalService; - } - else { - _service = new BoDocPraticaLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(BoDocPraticaLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(BoDocPraticaLocalService service) { - } - - private static BoDocPraticaLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoDocPraticaLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoDocPraticaLocalServiceWrapper.java deleted file mode 100644 index 71fee74f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoDocPraticaLocalServiceWrapper.java +++ /dev/null @@ -1,385 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link BoDocPraticaLocalService}. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoDocPraticaLocalService - * @generated - */ -public class BoDocPraticaLocalServiceWrapper implements BoDocPraticaLocalService, - ServiceWrapper { - public BoDocPraticaLocalServiceWrapper( - BoDocPraticaLocalService boDocPraticaLocalService) { - _boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Adds the bo doc pratica to the database. Also notifies the appropriate model listeners. - * - * @param boDocPratica the bo doc pratica - * @return the bo doc pratica that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoDocPratica addBoDocPratica( - it.tref.liferay.portos.portosimport.model.BoDocPratica boDocPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDocPraticaLocalService.addBoDocPratica(boDocPratica); - } - - /** - * Creates a new bo doc pratica with the primary key. Does not add the bo doc pratica to the database. - * - * @param docPraticaId the primary key for the new bo doc pratica - * @return the new bo doc pratica - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoDocPratica createBoDocPratica( - long docPraticaId) { - return _boDocPraticaLocalService.createBoDocPratica(docPraticaId); - } - - /** - * Deletes the bo doc pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param docPraticaId the primary key of the bo doc pratica - * @return the bo doc pratica that was removed - * @throws PortalException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoDocPratica deleteBoDocPratica( - long docPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boDocPraticaLocalService.deleteBoDocPratica(docPraticaId); - } - - /** - * Deletes the bo doc pratica from the database. Also notifies the appropriate model listeners. - * - * @param boDocPratica the bo doc pratica - * @return the bo doc pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoDocPratica deleteBoDocPratica( - it.tref.liferay.portos.portosimport.model.BoDocPratica boDocPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDocPraticaLocalService.deleteBoDocPratica(boDocPratica); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _boDocPraticaLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDocPraticaLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _boDocPraticaLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDocPraticaLocalService.dynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDocPraticaLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDocPraticaLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoDocPratica fetchBoDocPratica( - long docPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDocPraticaLocalService.fetchBoDocPratica(docPraticaId); - } - - /** - * Returns the bo doc pratica with the matching UUID and company. - * - * @param uuid the bo doc pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoDocPratica fetchBoDocPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDocPraticaLocalService.fetchBoDocPraticaByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the bo doc pratica matching the UUID and group. - * - * @param uuid the bo doc pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoDocPratica fetchBoDocPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDocPraticaLocalService.fetchBoDocPraticaByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns the bo doc pratica with the primary key. - * - * @param docPraticaId the primary key of the bo doc pratica - * @return the bo doc pratica - * @throws PortalException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoDocPratica getBoDocPratica( - long docPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boDocPraticaLocalService.getBoDocPratica(docPraticaId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boDocPraticaLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns the bo doc pratica with the matching UUID and company. - * - * @param uuid the bo doc pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo doc pratica - * @throws PortalException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoDocPratica getBoDocPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boDocPraticaLocalService.getBoDocPraticaByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the bo doc pratica matching the UUID and group. - * - * @param uuid the bo doc pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo doc pratica - * @throws PortalException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoDocPratica getBoDocPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boDocPraticaLocalService.getBoDocPraticaByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns a range of all the bo doc praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getBoDocPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDocPraticaLocalService.getBoDocPraticas(start, end); - } - - /** - * Returns the number of bo doc praticas. - * - * @return the number of bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoDocPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _boDocPraticaLocalService.getBoDocPraticasCount(); - } - - /** - * Updates the bo doc pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boDocPratica the bo doc pratica - * @return the bo doc pratica that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoDocPratica updateBoDocPratica( - it.tref.liferay.portos.portosimport.model.BoDocPratica boDocPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boDocPraticaLocalService.updateBoDocPratica(boDocPratica); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _boDocPraticaLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _boDocPraticaLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _boDocPraticaLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public BoDocPraticaLocalService getWrappedBoDocPraticaLocalService() { - return _boDocPraticaLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedBoDocPraticaLocalService( - BoDocPraticaLocalService boDocPraticaLocalService) { - _boDocPraticaLocalService = boDocPraticaLocalService; - } - - @Override - public BoDocPraticaLocalService getWrappedService() { - return _boDocPraticaLocalService; - } - - @Override - public void setWrappedService( - BoDocPraticaLocalService boDocPraticaLocalService) { - _boDocPraticaLocalService = boDocPraticaLocalService; - } - - private BoDocPraticaLocalService _boDocPraticaLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoIntPraticaLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoIntPraticaLocalService.java deleted file mode 100644 index 99674d7b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoIntPraticaLocalService.java +++ /dev/null @@ -1,317 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for BoIntPratica. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoIntPraticaLocalServiceUtil - * @see it.tref.liferay.portos.portosimport.service.base.BoIntPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.BoIntPraticaLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface BoIntPraticaLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoIntPraticaLocalServiceUtil} to access the bo int pratica local service. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.BoIntPraticaLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the bo int pratica to the database. Also notifies the appropriate model listeners. - * - * @param boIntPratica the bo int pratica - * @return the bo int pratica that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.BoIntPratica addBoIntPratica( - it.tref.liferay.portos.portosimport.model.BoIntPratica boIntPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new bo int pratica with the primary key. Does not add the bo int pratica to the database. - * - * @param intPraticaId the primary key for the new bo int pratica - * @return the new bo int pratica - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica createBoIntPratica( - long intPraticaId); - - /** - * Deletes the bo int pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param intPraticaId the primary key of the bo int pratica - * @return the bo int pratica that was removed - * @throws PortalException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.BoIntPratica deleteBoIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the bo int pratica from the database. Also notifies the appropriate model listeners. - * - * @param boIntPratica the bo int pratica - * @return the bo int pratica that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.BoIntPratica deleteBoIntPratica( - it.tref.liferay.portos.portosimport.model.BoIntPratica boIntPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoIntPratica fetchBoIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo int pratica with the matching UUID and company. - * - * @param uuid the bo int pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoIntPratica fetchBoIntPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo int pratica matching the UUID and group. - * - * @param uuid the bo int pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoIntPratica fetchBoIntPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo int pratica with the primary key. - * - * @param intPraticaId the primary key of the bo int pratica - * @return the bo int pratica - * @throws PortalException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoIntPratica getBoIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo int pratica with the matching UUID and company. - * - * @param uuid the bo int pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo int pratica - * @throws PortalException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoIntPratica getBoIntPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo int pratica matching the UUID and group. - * - * @param uuid the bo int pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo int pratica - * @throws PortalException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoIntPratica getBoIntPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of bo int praticas - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getBoIntPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo int praticas. - * - * @return the number of bo int praticas - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getBoIntPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the bo int pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boIntPratica the bo int pratica - * @return the bo int pratica that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.BoIntPratica updateBoIntPratica( - it.tref.liferay.portos.portosimport.model.BoIntPratica boIntPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByIntPraticaId( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoIntPraticaLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoIntPraticaLocalServiceClp.java deleted file mode 100644 index b53657ab..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoIntPraticaLocalServiceClp.java +++ /dev/null @@ -1,895 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoIntPraticaLocalServiceClp implements BoIntPraticaLocalService { - public BoIntPraticaLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addBoIntPratica"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoIntPratica" - }; - - _methodName1 = "createBoIntPratica"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoIntPratica"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoIntPratica"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoIntPratica" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoIntPratica"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchBoIntPraticaByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchBoIntPraticaByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getBoIntPratica"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getBoIntPraticaByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getBoIntPraticaByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getBoIntPraticas"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getBoIntPraticasCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateBoIntPratica"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoIntPratica" - }; - - _methodName20 = "getBeanIdentifier"; - - _methodParameterTypes20 = new String[] { }; - - _methodName21 = "setBeanIdentifier"; - - _methodParameterTypes21 = new String[] { "java.lang.String" }; - - _methodName23 = "fetchByIntPraticaId"; - - _methodParameterTypes23 = new String[] { "long" }; - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoIntPratica addBoIntPratica( - it.tref.liferay.portos.portosimport.model.BoIntPratica boIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(boIntPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoIntPratica createBoIntPratica( - long intPraticaId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { intPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoIntPratica deleteBoIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { intPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoIntPratica deleteBoIntPratica( - it.tref.liferay.portos.portosimport.model.BoIntPratica boIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(boIntPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoIntPratica fetchBoIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { intPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoIntPratica fetchBoIntPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoIntPratica fetchBoIntPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoIntPratica getBoIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { intPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoIntPratica getBoIntPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoIntPratica getBoIntPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getBoIntPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getBoIntPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName18, - _methodParameterTypes18, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoIntPratica updateBoIntPratica( - it.tref.liferay.portos.portosimport.model.BoIntPratica boIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName19, - _methodParameterTypes19, - new Object[] { ClpSerializer.translateInput(boIntPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName20, - _methodParameterTypes20, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName21, - _methodParameterTypes21, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByIntPraticaId( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName23, - _methodParameterTypes23, new Object[] { intPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoIntPratica)ClpSerializer.translateOutput(returnObj); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName20; - private String[] _methodParameterTypes20; - private String _methodName21; - private String[] _methodParameterTypes21; - private String _methodName23; - private String[] _methodParameterTypes23; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoIntPraticaLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoIntPraticaLocalServiceUtil.java deleted file mode 100644 index d7b4f4ae..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoIntPraticaLocalServiceUtil.java +++ /dev/null @@ -1,374 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for BoIntPratica. This utility wraps - * {@link it.tref.liferay.portos.portosimport.service.impl.BoIntPraticaLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoIntPraticaLocalService - * @see it.tref.liferay.portos.portosimport.service.base.BoIntPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.BoIntPraticaLocalServiceImpl - * @generated - */ -public class BoIntPraticaLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.BoIntPraticaLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the bo int pratica to the database. Also notifies the appropriate model listeners. - * - * @param boIntPratica the bo int pratica - * @return the bo int pratica that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica addBoIntPratica( - it.tref.liferay.portos.portosimport.model.BoIntPratica boIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addBoIntPratica(boIntPratica); - } - - /** - * Creates a new bo int pratica with the primary key. Does not add the bo int pratica to the database. - * - * @param intPraticaId the primary key for the new bo int pratica - * @return the new bo int pratica - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica createBoIntPratica( - long intPraticaId) { - return getService().createBoIntPratica(intPraticaId); - } - - /** - * Deletes the bo int pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param intPraticaId the primary key of the bo int pratica - * @return the bo int pratica that was removed - * @throws PortalException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica deleteBoIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoIntPratica(intPraticaId); - } - - /** - * Deletes the bo int pratica from the database. Also notifies the appropriate model listeners. - * - * @param boIntPratica the bo int pratica - * @return the bo int pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica deleteBoIntPratica( - it.tref.liferay.portos.portosimport.model.BoIntPratica boIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoIntPratica(boIntPratica); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.portosimport.model.BoIntPratica fetchBoIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoIntPratica(intPraticaId); - } - - /** - * Returns the bo int pratica with the matching UUID and company. - * - * @param uuid the bo int pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica fetchBoIntPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoIntPraticaByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the bo int pratica matching the UUID and group. - * - * @param uuid the bo int pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica fetchBoIntPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoIntPraticaByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns the bo int pratica with the primary key. - * - * @param intPraticaId the primary key of the bo int pratica - * @return the bo int pratica - * @throws PortalException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica getBoIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoIntPratica(intPraticaId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns the bo int pratica with the matching UUID and company. - * - * @param uuid the bo int pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo int pratica - * @throws PortalException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica getBoIntPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoIntPraticaByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the bo int pratica matching the UUID and group. - * - * @param uuid the bo int pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo int pratica - * @throws PortalException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica getBoIntPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoIntPraticaByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns a range of all the bo int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List getBoIntPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoIntPraticas(start, end); - } - - /** - * Returns the number of bo int praticas. - * - * @return the number of bo int praticas - * @throws SystemException if a system exception occurred - */ - public static int getBoIntPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoIntPraticasCount(); - } - - /** - * Updates the bo int pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boIntPratica the bo int pratica - * @return the bo int pratica that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica updateBoIntPratica( - it.tref.liferay.portos.portosimport.model.BoIntPratica boIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateBoIntPratica(boIntPratica); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByIntPraticaId( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchByIntPraticaId(intPraticaId); - } - - public static void clearService() { - _service = null; - } - - public static BoIntPraticaLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - BoIntPraticaLocalService.class.getName()); - - if (invokableLocalService instanceof BoIntPraticaLocalService) { - _service = (BoIntPraticaLocalService)invokableLocalService; - } - else { - _service = new BoIntPraticaLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(BoIntPraticaLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(BoIntPraticaLocalService service) { - } - - private static BoIntPraticaLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoIntPraticaLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoIntPraticaLocalServiceWrapper.java deleted file mode 100644 index a95c5afd..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoIntPraticaLocalServiceWrapper.java +++ /dev/null @@ -1,392 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link BoIntPraticaLocalService}. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoIntPraticaLocalService - * @generated - */ -public class BoIntPraticaLocalServiceWrapper implements BoIntPraticaLocalService, - ServiceWrapper { - public BoIntPraticaLocalServiceWrapper( - BoIntPraticaLocalService boIntPraticaLocalService) { - _boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Adds the bo int pratica to the database. Also notifies the appropriate model listeners. - * - * @param boIntPratica the bo int pratica - * @return the bo int pratica that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoIntPratica addBoIntPratica( - it.tref.liferay.portos.portosimport.model.BoIntPratica boIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boIntPraticaLocalService.addBoIntPratica(boIntPratica); - } - - /** - * Creates a new bo int pratica with the primary key. Does not add the bo int pratica to the database. - * - * @param intPraticaId the primary key for the new bo int pratica - * @return the new bo int pratica - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoIntPratica createBoIntPratica( - long intPraticaId) { - return _boIntPraticaLocalService.createBoIntPratica(intPraticaId); - } - - /** - * Deletes the bo int pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param intPraticaId the primary key of the bo int pratica - * @return the bo int pratica that was removed - * @throws PortalException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoIntPratica deleteBoIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boIntPraticaLocalService.deleteBoIntPratica(intPraticaId); - } - - /** - * Deletes the bo int pratica from the database. Also notifies the appropriate model listeners. - * - * @param boIntPratica the bo int pratica - * @return the bo int pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoIntPratica deleteBoIntPratica( - it.tref.liferay.portos.portosimport.model.BoIntPratica boIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boIntPraticaLocalService.deleteBoIntPratica(boIntPratica); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _boIntPraticaLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boIntPraticaLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _boIntPraticaLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _boIntPraticaLocalService.dynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boIntPraticaLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _boIntPraticaLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoIntPratica fetchBoIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boIntPraticaLocalService.fetchBoIntPratica(intPraticaId); - } - - /** - * Returns the bo int pratica with the matching UUID and company. - * - * @param uuid the bo int pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoIntPratica fetchBoIntPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boIntPraticaLocalService.fetchBoIntPraticaByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the bo int pratica matching the UUID and group. - * - * @param uuid the bo int pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoIntPratica fetchBoIntPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boIntPraticaLocalService.fetchBoIntPraticaByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns the bo int pratica with the primary key. - * - * @param intPraticaId the primary key of the bo int pratica - * @return the bo int pratica - * @throws PortalException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoIntPratica getBoIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boIntPraticaLocalService.getBoIntPratica(intPraticaId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boIntPraticaLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns the bo int pratica with the matching UUID and company. - * - * @param uuid the bo int pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo int pratica - * @throws PortalException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoIntPratica getBoIntPraticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boIntPraticaLocalService.getBoIntPraticaByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the bo int pratica matching the UUID and group. - * - * @param uuid the bo int pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo int pratica - * @throws PortalException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoIntPratica getBoIntPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boIntPraticaLocalService.getBoIntPraticaByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns a range of all the bo int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getBoIntPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _boIntPraticaLocalService.getBoIntPraticas(start, end); - } - - /** - * Returns the number of bo int praticas. - * - * @return the number of bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoIntPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _boIntPraticaLocalService.getBoIntPraticasCount(); - } - - /** - * Updates the bo int pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boIntPratica the bo int pratica - * @return the bo int pratica that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoIntPratica updateBoIntPratica( - it.tref.liferay.portos.portosimport.model.BoIntPratica boIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boIntPraticaLocalService.updateBoIntPratica(boIntPratica); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _boIntPraticaLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _boIntPraticaLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _boIntPraticaLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByIntPraticaId( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boIntPraticaLocalService.fetchByIntPraticaId(intPraticaId); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public BoIntPraticaLocalService getWrappedBoIntPraticaLocalService() { - return _boIntPraticaLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedBoIntPraticaLocalService( - BoIntPraticaLocalService boIntPraticaLocalService) { - _boIntPraticaLocalService = boIntPraticaLocalService; - } - - @Override - public BoIntPraticaLocalService getWrappedService() { - return _boIntPraticaLocalService; - } - - @Override - public void setWrappedService( - BoIntPraticaLocalService boIntPraticaLocalService) { - _boIntPraticaLocalService = boIntPraticaLocalService; - } - - private BoIntPraticaLocalService _boIntPraticaLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoProblemiPraticaLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoProblemiPraticaLocalService.java deleted file mode 100644 index afc4b476..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoProblemiPraticaLocalService.java +++ /dev/null @@ -1,256 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for BoProblemiPratica. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoProblemiPraticaLocalServiceUtil - * @see it.tref.liferay.portos.portosimport.service.base.BoProblemiPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.BoProblemiPraticaLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface BoProblemiPraticaLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoProblemiPraticaLocalServiceUtil} to access the bo problemi pratica local service. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.BoProblemiPraticaLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the bo problemi pratica to the database. Also notifies the appropriate model listeners. - * - * @param boProblemiPratica the bo problemi pratica - * @return the bo problemi pratica that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica addBoProblemiPratica( - it.tref.liferay.portos.portosimport.model.BoProblemiPratica boProblemiPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new bo problemi pratica with the primary key. Does not add the bo problemi pratica to the database. - * - * @param problemiPraticaId the primary key for the new bo problemi pratica - * @return the new bo problemi pratica - */ - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica createBoProblemiPratica( - long problemiPraticaId); - - /** - * Deletes the bo problemi pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param problemiPraticaId the primary key of the bo problemi pratica - * @return the bo problemi pratica that was removed - * @throws PortalException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica deleteBoProblemiPratica( - long problemiPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the bo problemi pratica from the database. Also notifies the appropriate model listeners. - * - * @param boProblemiPratica the bo problemi pratica - * @return the bo problemi pratica that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica deleteBoProblemiPratica( - it.tref.liferay.portos.portosimport.model.BoProblemiPratica boProblemiPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica fetchBoProblemiPratica( - long problemiPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo problemi pratica with the primary key. - * - * @param problemiPraticaId the primary key of the bo problemi pratica - * @return the bo problemi pratica - * @throws PortalException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica getBoProblemiPratica( - long problemiPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo problemi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @return the range of bo problemi praticas - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getBoProblemiPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo problemi praticas. - * - * @return the number of bo problemi praticas - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getBoProblemiPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the bo problemi pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boProblemiPratica the bo problemi pratica - * @return the bo problemi pratica that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica updateBoProblemiPratica( - it.tref.liferay.portos.portosimport.model.BoProblemiPratica boProblemiPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoProblemiPraticaLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoProblemiPraticaLocalServiceClp.java deleted file mode 100644 index d7c10b94..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoProblemiPraticaLocalServiceClp.java +++ /dev/null @@ -1,710 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoProblemiPraticaLocalServiceClp - implements BoProblemiPraticaLocalService { - public BoProblemiPraticaLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addBoProblemiPratica"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoProblemiPratica" - }; - - _methodName1 = "createBoProblemiPratica"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoProblemiPratica"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoProblemiPratica"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoProblemiPratica" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoProblemiPratica"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getBoProblemiPratica"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getBoProblemiPraticas"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getBoProblemiPraticasCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateBoProblemiPratica"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoProblemiPratica" - }; - - _methodName16 = "getBeanIdentifier"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "setBeanIdentifier"; - - _methodParameterTypes17 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica addBoProblemiPratica( - it.tref.liferay.portos.portosimport.model.BoProblemiPratica boProblemiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput( - boProblemiPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoProblemiPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica createBoProblemiPratica( - long problemiPraticaId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { problemiPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoProblemiPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica deleteBoProblemiPratica( - long problemiPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { problemiPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoProblemiPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica deleteBoProblemiPratica( - it.tref.liferay.portos.portosimport.model.BoProblemiPratica boProblemiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput( - boProblemiPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoProblemiPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica fetchBoProblemiPratica( - long problemiPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { problemiPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoProblemiPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica getBoProblemiPratica( - long problemiPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, new Object[] { problemiPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoProblemiPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getBoProblemiPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getBoProblemiPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica updateBoProblemiPratica( - it.tref.liferay.portos.portosimport.model.BoProblemiPratica boProblemiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput( - boProblemiPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoProblemiPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoProblemiPraticaLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoProblemiPraticaLocalServiceUtil.java deleted file mode 100644 index 2b4d4573..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoProblemiPraticaLocalServiceUtil.java +++ /dev/null @@ -1,308 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for BoProblemiPratica. This utility wraps - * {@link it.tref.liferay.portos.portosimport.service.impl.BoProblemiPraticaLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoProblemiPraticaLocalService - * @see it.tref.liferay.portos.portosimport.service.base.BoProblemiPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.BoProblemiPraticaLocalServiceImpl - * @generated - */ -public class BoProblemiPraticaLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.BoProblemiPraticaLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the bo problemi pratica to the database. Also notifies the appropriate model listeners. - * - * @param boProblemiPratica the bo problemi pratica - * @return the bo problemi pratica that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoProblemiPratica addBoProblemiPratica( - it.tref.liferay.portos.portosimport.model.BoProblemiPratica boProblemiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addBoProblemiPratica(boProblemiPratica); - } - - /** - * Creates a new bo problemi pratica with the primary key. Does not add the bo problemi pratica to the database. - * - * @param problemiPraticaId the primary key for the new bo problemi pratica - * @return the new bo problemi pratica - */ - public static it.tref.liferay.portos.portosimport.model.BoProblemiPratica createBoProblemiPratica( - long problemiPraticaId) { - return getService().createBoProblemiPratica(problemiPraticaId); - } - - /** - * Deletes the bo problemi pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param problemiPraticaId the primary key of the bo problemi pratica - * @return the bo problemi pratica that was removed - * @throws PortalException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoProblemiPratica deleteBoProblemiPratica( - long problemiPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoProblemiPratica(problemiPraticaId); - } - - /** - * Deletes the bo problemi pratica from the database. Also notifies the appropriate model listeners. - * - * @param boProblemiPratica the bo problemi pratica - * @return the bo problemi pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoProblemiPratica deleteBoProblemiPratica( - it.tref.liferay.portos.portosimport.model.BoProblemiPratica boProblemiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoProblemiPratica(boProblemiPratica); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.portosimport.model.BoProblemiPratica fetchBoProblemiPratica( - long problemiPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoProblemiPratica(problemiPraticaId); - } - - /** - * Returns the bo problemi pratica with the primary key. - * - * @param problemiPraticaId the primary key of the bo problemi pratica - * @return the bo problemi pratica - * @throws PortalException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoProblemiPratica getBoProblemiPratica( - long problemiPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoProblemiPratica(problemiPraticaId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the bo problemi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @return the range of bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List getBoProblemiPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoProblemiPraticas(start, end); - } - - /** - * Returns the number of bo problemi praticas. - * - * @return the number of bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public static int getBoProblemiPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoProblemiPraticasCount(); - } - - /** - * Updates the bo problemi pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boProblemiPratica the bo problemi pratica - * @return the bo problemi pratica that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoProblemiPratica updateBoProblemiPratica( - it.tref.liferay.portos.portosimport.model.BoProblemiPratica boProblemiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateBoProblemiPratica(boProblemiPratica); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static BoProblemiPraticaLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - BoProblemiPraticaLocalService.class.getName()); - - if (invokableLocalService instanceof BoProblemiPraticaLocalService) { - _service = (BoProblemiPraticaLocalService)invokableLocalService; - } - else { - _service = new BoProblemiPraticaLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(BoProblemiPraticaLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(BoProblemiPraticaLocalService service) { - } - - private static BoProblemiPraticaLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoProblemiPraticaLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoProblemiPraticaLocalServiceWrapper.java deleted file mode 100644 index d27b9983..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoProblemiPraticaLocalServiceWrapper.java +++ /dev/null @@ -1,319 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link BoProblemiPraticaLocalService}. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoProblemiPraticaLocalService - * @generated - */ -public class BoProblemiPraticaLocalServiceWrapper - implements BoProblemiPraticaLocalService, - ServiceWrapper { - public BoProblemiPraticaLocalServiceWrapper( - BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - _boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Adds the bo problemi pratica to the database. Also notifies the appropriate model listeners. - * - * @param boProblemiPratica the bo problemi pratica - * @return the bo problemi pratica that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica addBoProblemiPratica( - it.tref.liferay.portos.portosimport.model.BoProblemiPratica boProblemiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boProblemiPraticaLocalService.addBoProblemiPratica(boProblemiPratica); - } - - /** - * Creates a new bo problemi pratica with the primary key. Does not add the bo problemi pratica to the database. - * - * @param problemiPraticaId the primary key for the new bo problemi pratica - * @return the new bo problemi pratica - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica createBoProblemiPratica( - long problemiPraticaId) { - return _boProblemiPraticaLocalService.createBoProblemiPratica(problemiPraticaId); - } - - /** - * Deletes the bo problemi pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param problemiPraticaId the primary key of the bo problemi pratica - * @return the bo problemi pratica that was removed - * @throws PortalException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica deleteBoProblemiPratica( - long problemiPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boProblemiPraticaLocalService.deleteBoProblemiPratica(problemiPraticaId); - } - - /** - * Deletes the bo problemi pratica from the database. Also notifies the appropriate model listeners. - * - * @param boProblemiPratica the bo problemi pratica - * @return the bo problemi pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica deleteBoProblemiPratica( - it.tref.liferay.portos.portosimport.model.BoProblemiPratica boProblemiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boProblemiPraticaLocalService.deleteBoProblemiPratica(boProblemiPratica); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _boProblemiPraticaLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boProblemiPraticaLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _boProblemiPraticaLocalService.dynamicQuery(dynamicQuery, start, - end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _boProblemiPraticaLocalService.dynamicQuery(dynamicQuery, start, - end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boProblemiPraticaLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _boProblemiPraticaLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica fetchBoProblemiPratica( - long problemiPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boProblemiPraticaLocalService.fetchBoProblemiPratica(problemiPraticaId); - } - - /** - * Returns the bo problemi pratica with the primary key. - * - * @param problemiPraticaId the primary key of the bo problemi pratica - * @return the bo problemi pratica - * @throws PortalException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica getBoProblemiPratica( - long problemiPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boProblemiPraticaLocalService.getBoProblemiPratica(problemiPraticaId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boProblemiPraticaLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the bo problemi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @return the range of bo problemi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getBoProblemiPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _boProblemiPraticaLocalService.getBoProblemiPraticas(start, end); - } - - /** - * Returns the number of bo problemi praticas. - * - * @return the number of bo problemi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoProblemiPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _boProblemiPraticaLocalService.getBoProblemiPraticasCount(); - } - - /** - * Updates the bo problemi pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boProblemiPratica the bo problemi pratica - * @return the bo problemi pratica that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica updateBoProblemiPratica( - it.tref.liferay.portos.portosimport.model.BoProblemiPratica boProblemiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boProblemiPraticaLocalService.updateBoProblemiPratica(boProblemiPratica); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _boProblemiPraticaLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _boProblemiPraticaLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _boProblemiPraticaLocalService.invokeMethod(name, - parameterTypes, arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public BoProblemiPraticaLocalService getWrappedBoProblemiPraticaLocalService() { - return _boProblemiPraticaLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedBoProblemiPraticaLocalService( - BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - _boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - @Override - public BoProblemiPraticaLocalService getWrappedService() { - return _boProblemiPraticaLocalService; - } - - @Override - public void setWrappedService( - BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - _boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - private BoProblemiPraticaLocalService _boProblemiPraticaLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoRelLeggiPraticaLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoRelLeggiPraticaLocalService.java deleted file mode 100644 index a92920e6..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoRelLeggiPraticaLocalService.java +++ /dev/null @@ -1,260 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for BoRelLeggiPratica. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoRelLeggiPraticaLocalServiceUtil - * @see it.tref.liferay.portos.portosimport.service.base.BoRelLeggiPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.BoRelLeggiPraticaLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface BoRelLeggiPraticaLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoRelLeggiPraticaLocalServiceUtil} to access the bo rel leggi pratica local service. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.BoRelLeggiPraticaLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the bo rel leggi pratica to the database. Also notifies the appropriate model listeners. - * - * @param boRelLeggiPratica the bo rel leggi pratica - * @return the bo rel leggi pratica that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica addBoRelLeggiPratica( - it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica boRelLeggiPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new bo rel leggi pratica with the primary key. Does not add the bo rel leggi pratica to the database. - * - * @param boRelLeggiPraticaPK the primary key for the new bo rel leggi pratica - * @return the new bo rel leggi pratica - */ - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica createBoRelLeggiPratica( - it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK boRelLeggiPraticaPK); - - /** - * Deletes the bo rel leggi pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param boRelLeggiPraticaPK the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica that was removed - * @throws PortalException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica deleteBoRelLeggiPratica( - it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK boRelLeggiPraticaPK) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the bo rel leggi pratica from the database. Also notifies the appropriate model listeners. - * - * @param boRelLeggiPratica the bo rel leggi pratica - * @return the bo rel leggi pratica that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica deleteBoRelLeggiPratica( - it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica boRelLeggiPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica fetchBoRelLeggiPratica( - it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK boRelLeggiPraticaPK) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo rel leggi pratica with the primary key. - * - * @param boRelLeggiPraticaPK the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica - * @throws PortalException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica getBoRelLeggiPratica( - it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK boRelLeggiPraticaPK) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo rel leggi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @return the range of bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getBoRelLeggiPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo rel leggi praticas. - * - * @return the number of bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getBoRelLeggiPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the bo rel leggi pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boRelLeggiPratica the bo rel leggi pratica - * @return the bo rel leggi pratica that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica updateBoRelLeggiPratica( - it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica boRelLeggiPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; - - public java.util.List findByIntPraticaId( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoRelLeggiPraticaLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoRelLeggiPraticaLocalServiceClp.java deleted file mode 100644 index 982c2804..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoRelLeggiPraticaLocalServiceClp.java +++ /dev/null @@ -1,765 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoRelLeggiPraticaLocalServiceClp - implements BoRelLeggiPraticaLocalService { - public BoRelLeggiPraticaLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addBoRelLeggiPratica"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica" - }; - - _methodName1 = "createBoRelLeggiPratica"; - - _methodParameterTypes1 = new String[] { - "it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK" - }; - - _methodName2 = "deleteBoRelLeggiPratica"; - - _methodParameterTypes2 = new String[] { - "it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK" - }; - - _methodName3 = "deleteBoRelLeggiPratica"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoRelLeggiPratica"; - - _methodParameterTypes10 = new String[] { - "it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK" - }; - - _methodName11 = "getBoRelLeggiPratica"; - - _methodParameterTypes11 = new String[] { - "it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK" - }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getBoRelLeggiPraticas"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getBoRelLeggiPraticasCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateBoRelLeggiPratica"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica" - }; - - _methodName16 = "getBeanIdentifier"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "setBeanIdentifier"; - - _methodParameterTypes17 = new String[] { "java.lang.String" }; - - _methodName19 = "findByIntPraticaId"; - - _methodParameterTypes19 = new String[] { "long" }; - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica addBoRelLeggiPratica( - it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica boRelLeggiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput( - boRelLeggiPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica createBoRelLeggiPratica( - it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK boRelLeggiPraticaPK) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, - new Object[] { - ClpSerializer.translateInput(boRelLeggiPraticaPK) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica deleteBoRelLeggiPratica( - it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK boRelLeggiPraticaPK) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, - new Object[] { - ClpSerializer.translateInput(boRelLeggiPraticaPK) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica deleteBoRelLeggiPratica( - it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica boRelLeggiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput( - boRelLeggiPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica fetchBoRelLeggiPratica( - it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK boRelLeggiPraticaPK) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, - new Object[] { - ClpSerializer.translateInput(boRelLeggiPraticaPK) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica getBoRelLeggiPratica( - it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK boRelLeggiPraticaPK) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, - new Object[] { - ClpSerializer.translateInput(boRelLeggiPraticaPK) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getBoRelLeggiPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getBoRelLeggiPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica updateBoRelLeggiPratica( - it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica boRelLeggiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput( - boRelLeggiPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - @Override - public java.util.List findByIntPraticaId( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName19, - _methodParameterTypes19, new Object[] { intPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName19; - private String[] _methodParameterTypes19; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoRelLeggiPraticaLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoRelLeggiPraticaLocalServiceUtil.java deleted file mode 100644 index aa0daa92..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoRelLeggiPraticaLocalServiceUtil.java +++ /dev/null @@ -1,314 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for BoRelLeggiPratica. This utility wraps - * {@link it.tref.liferay.portos.portosimport.service.impl.BoRelLeggiPraticaLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoRelLeggiPraticaLocalService - * @see it.tref.liferay.portos.portosimport.service.base.BoRelLeggiPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.BoRelLeggiPraticaLocalServiceImpl - * @generated - */ -public class BoRelLeggiPraticaLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.BoRelLeggiPraticaLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the bo rel leggi pratica to the database. Also notifies the appropriate model listeners. - * - * @param boRelLeggiPratica the bo rel leggi pratica - * @return the bo rel leggi pratica that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica addBoRelLeggiPratica( - it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica boRelLeggiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addBoRelLeggiPratica(boRelLeggiPratica); - } - - /** - * Creates a new bo rel leggi pratica with the primary key. Does not add the bo rel leggi pratica to the database. - * - * @param boRelLeggiPraticaPK the primary key for the new bo rel leggi pratica - * @return the new bo rel leggi pratica - */ - public static it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica createBoRelLeggiPratica( - it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK boRelLeggiPraticaPK) { - return getService().createBoRelLeggiPratica(boRelLeggiPraticaPK); - } - - /** - * Deletes the bo rel leggi pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param boRelLeggiPraticaPK the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica that was removed - * @throws PortalException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica deleteBoRelLeggiPratica( - it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK boRelLeggiPraticaPK) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoRelLeggiPratica(boRelLeggiPraticaPK); - } - - /** - * Deletes the bo rel leggi pratica from the database. Also notifies the appropriate model listeners. - * - * @param boRelLeggiPratica the bo rel leggi pratica - * @return the bo rel leggi pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica deleteBoRelLeggiPratica( - it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica boRelLeggiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoRelLeggiPratica(boRelLeggiPratica); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica fetchBoRelLeggiPratica( - it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK boRelLeggiPraticaPK) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoRelLeggiPratica(boRelLeggiPraticaPK); - } - - /** - * Returns the bo rel leggi pratica with the primary key. - * - * @param boRelLeggiPraticaPK the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica - * @throws PortalException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica getBoRelLeggiPratica( - it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK boRelLeggiPraticaPK) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoRelLeggiPratica(boRelLeggiPraticaPK); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the bo rel leggi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @return the range of bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List getBoRelLeggiPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoRelLeggiPraticas(start, end); - } - - /** - * Returns the number of bo rel leggi praticas. - * - * @return the number of bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public static int getBoRelLeggiPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoRelLeggiPraticasCount(); - } - - /** - * Updates the bo rel leggi pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boRelLeggiPratica the bo rel leggi pratica - * @return the bo rel leggi pratica that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica updateBoRelLeggiPratica( - it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica boRelLeggiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateBoRelLeggiPratica(boRelLeggiPratica); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static java.util.List findByIntPraticaId( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().findByIntPraticaId(intPraticaId); - } - - public static void clearService() { - _service = null; - } - - public static BoRelLeggiPraticaLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - BoRelLeggiPraticaLocalService.class.getName()); - - if (invokableLocalService instanceof BoRelLeggiPraticaLocalService) { - _service = (BoRelLeggiPraticaLocalService)invokableLocalService; - } - else { - _service = new BoRelLeggiPraticaLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(BoRelLeggiPraticaLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(BoRelLeggiPraticaLocalService service) { - } - - private static BoRelLeggiPraticaLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoRelLeggiPraticaLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoRelLeggiPraticaLocalServiceWrapper.java deleted file mode 100644 index e20c8210..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoRelLeggiPraticaLocalServiceWrapper.java +++ /dev/null @@ -1,326 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link BoRelLeggiPraticaLocalService}. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoRelLeggiPraticaLocalService - * @generated - */ -public class BoRelLeggiPraticaLocalServiceWrapper - implements BoRelLeggiPraticaLocalService, - ServiceWrapper { - public BoRelLeggiPraticaLocalServiceWrapper( - BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - _boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Adds the bo rel leggi pratica to the database. Also notifies the appropriate model listeners. - * - * @param boRelLeggiPratica the bo rel leggi pratica - * @return the bo rel leggi pratica that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica addBoRelLeggiPratica( - it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica boRelLeggiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boRelLeggiPraticaLocalService.addBoRelLeggiPratica(boRelLeggiPratica); - } - - /** - * Creates a new bo rel leggi pratica with the primary key. Does not add the bo rel leggi pratica to the database. - * - * @param boRelLeggiPraticaPK the primary key for the new bo rel leggi pratica - * @return the new bo rel leggi pratica - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica createBoRelLeggiPratica( - it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK boRelLeggiPraticaPK) { - return _boRelLeggiPraticaLocalService.createBoRelLeggiPratica(boRelLeggiPraticaPK); - } - - /** - * Deletes the bo rel leggi pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param boRelLeggiPraticaPK the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica that was removed - * @throws PortalException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica deleteBoRelLeggiPratica( - it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK boRelLeggiPraticaPK) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boRelLeggiPraticaLocalService.deleteBoRelLeggiPratica(boRelLeggiPraticaPK); - } - - /** - * Deletes the bo rel leggi pratica from the database. Also notifies the appropriate model listeners. - * - * @param boRelLeggiPratica the bo rel leggi pratica - * @return the bo rel leggi pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica deleteBoRelLeggiPratica( - it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica boRelLeggiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boRelLeggiPraticaLocalService.deleteBoRelLeggiPratica(boRelLeggiPratica); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _boRelLeggiPraticaLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boRelLeggiPraticaLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _boRelLeggiPraticaLocalService.dynamicQuery(dynamicQuery, start, - end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _boRelLeggiPraticaLocalService.dynamicQuery(dynamicQuery, start, - end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boRelLeggiPraticaLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _boRelLeggiPraticaLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica fetchBoRelLeggiPratica( - it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK boRelLeggiPraticaPK) - throws com.liferay.portal.kernel.exception.SystemException { - return _boRelLeggiPraticaLocalService.fetchBoRelLeggiPratica(boRelLeggiPraticaPK); - } - - /** - * Returns the bo rel leggi pratica with the primary key. - * - * @param boRelLeggiPraticaPK the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica - * @throws PortalException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica getBoRelLeggiPratica( - it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK boRelLeggiPraticaPK) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boRelLeggiPraticaLocalService.getBoRelLeggiPratica(boRelLeggiPraticaPK); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boRelLeggiPraticaLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the bo rel leggi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @return the range of bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getBoRelLeggiPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _boRelLeggiPraticaLocalService.getBoRelLeggiPraticas(start, end); - } - - /** - * Returns the number of bo rel leggi praticas. - * - * @return the number of bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoRelLeggiPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _boRelLeggiPraticaLocalService.getBoRelLeggiPraticasCount(); - } - - /** - * Updates the bo rel leggi pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boRelLeggiPratica the bo rel leggi pratica - * @return the bo rel leggi pratica that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica updateBoRelLeggiPratica( - it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica boRelLeggiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boRelLeggiPraticaLocalService.updateBoRelLeggiPratica(boRelLeggiPratica); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _boRelLeggiPraticaLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _boRelLeggiPraticaLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _boRelLeggiPraticaLocalService.invokeMethod(name, - parameterTypes, arguments); - } - - @Override - public java.util.List findByIntPraticaId( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boRelLeggiPraticaLocalService.findByIntPraticaId(intPraticaId); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public BoRelLeggiPraticaLocalService getWrappedBoRelLeggiPraticaLocalService() { - return _boRelLeggiPraticaLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedBoRelLeggiPraticaLocalService( - BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - _boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - @Override - public BoRelLeggiPraticaLocalService getWrappedService() { - return _boRelLeggiPraticaLocalService; - } - - @Override - public void setWrappedService( - BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - _boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - private BoRelLeggiPraticaLocalService _boRelLeggiPraticaLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoSistemaCostruttivoLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoSistemaCostruttivoLocalService.java deleted file mode 100644 index 28eedf9a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoSistemaCostruttivoLocalService.java +++ /dev/null @@ -1,316 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for BoSistemaCostruttivo. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoSistemaCostruttivoLocalServiceUtil - * @see it.tref.liferay.portos.portosimport.service.base.BoSistemaCostruttivoLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.BoSistemaCostruttivoLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface BoSistemaCostruttivoLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoSistemaCostruttivoLocalServiceUtil} to access the bo sistema costruttivo local service. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.BoSistemaCostruttivoLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the bo sistema costruttivo to the database. Also notifies the appropriate model listeners. - * - * @param boSistemaCostruttivo the bo sistema costruttivo - * @return the bo sistema costruttivo that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo addBoSistemaCostruttivo( - it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo boSistemaCostruttivo) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new bo sistema costruttivo with the primary key. Does not add the bo sistema costruttivo to the database. - * - * @param sistemaCostruttivoId the primary key for the new bo sistema costruttivo - * @return the new bo sistema costruttivo - */ - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo createBoSistemaCostruttivo( - long sistemaCostruttivoId); - - /** - * Deletes the bo sistema costruttivo with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param sistemaCostruttivoId the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo that was removed - * @throws PortalException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo deleteBoSistemaCostruttivo( - long sistemaCostruttivoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the bo sistema costruttivo from the database. Also notifies the appropriate model listeners. - * - * @param boSistemaCostruttivo the bo sistema costruttivo - * @return the bo sistema costruttivo that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo deleteBoSistemaCostruttivo( - it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo boSistemaCostruttivo) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo fetchBoSistemaCostruttivo( - long sistemaCostruttivoId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sistema costruttivo with the matching UUID and company. - * - * @param uuid the bo sistema costruttivo's UUID - * @param companyId the primary key of the company - * @return the matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo fetchBoSistemaCostruttivoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sistema costruttivo matching the UUID and group. - * - * @param uuid the bo sistema costruttivo's UUID - * @param groupId the primary key of the group - * @return the matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo fetchBoSistemaCostruttivoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sistema costruttivo with the primary key. - * - * @param sistemaCostruttivoId the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo - * @throws PortalException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo getBoSistemaCostruttivo( - long sistemaCostruttivoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sistema costruttivo with the matching UUID and company. - * - * @param uuid the bo sistema costruttivo's UUID - * @param companyId the primary key of the company - * @return the matching bo sistema costruttivo - * @throws PortalException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo getBoSistemaCostruttivoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sistema costruttivo matching the UUID and group. - * - * @param uuid the bo sistema costruttivo's UUID - * @param groupId the primary key of the group - * @return the matching bo sistema costruttivo - * @throws PortalException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo getBoSistemaCostruttivoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo sistema costruttivos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getBoSistemaCostruttivos( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo sistema costruttivos. - * - * @return the number of bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getBoSistemaCostruttivosCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the bo sistema costruttivo in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boSistemaCostruttivo the bo sistema costruttivo - * @return the bo sistema costruttivo that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo updateBoSistemaCostruttivo( - it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo boSistemaCostruttivo) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; - - public java.util.List findByC_G_BoIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoSistemaCostruttivoLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoSistemaCostruttivoLocalServiceClp.java deleted file mode 100644 index 3f384ea6..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoSistemaCostruttivoLocalServiceClp.java +++ /dev/null @@ -1,906 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoSistemaCostruttivoLocalServiceClp - implements BoSistemaCostruttivoLocalService { - public BoSistemaCostruttivoLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addBoSistemaCostruttivo"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo" - }; - - _methodName1 = "createBoSistemaCostruttivo"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoSistemaCostruttivo"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoSistemaCostruttivo"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoSistemaCostruttivo"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchBoSistemaCostruttivoByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchBoSistemaCostruttivoByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getBoSistemaCostruttivo"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getBoSistemaCostruttivoByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getBoSistemaCostruttivoByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getBoSistemaCostruttivos"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getBoSistemaCostruttivosCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateBoSistemaCostruttivo"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo" - }; - - _methodName20 = "getBeanIdentifier"; - - _methodParameterTypes20 = new String[] { }; - - _methodName21 = "setBeanIdentifier"; - - _methodParameterTypes21 = new String[] { "java.lang.String" }; - - _methodName23 = "findByC_G_BoIntPratica"; - - _methodParameterTypes23 = new String[] { "long" }; - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo addBoSistemaCostruttivo( - it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo boSistemaCostruttivo) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { - ClpSerializer.translateInput(boSistemaCostruttivo) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo createBoSistemaCostruttivo( - long sistemaCostruttivoId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, - new Object[] { sistemaCostruttivoId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo deleteBoSistemaCostruttivo( - long sistemaCostruttivoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, - new Object[] { sistemaCostruttivoId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo deleteBoSistemaCostruttivo( - it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo boSistemaCostruttivo) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { - ClpSerializer.translateInput(boSistemaCostruttivo) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo fetchBoSistemaCostruttivo( - long sistemaCostruttivoId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, - new Object[] { sistemaCostruttivoId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo fetchBoSistemaCostruttivoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo fetchBoSistemaCostruttivoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo getBoSistemaCostruttivo( - long sistemaCostruttivoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, - new Object[] { sistemaCostruttivoId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo getBoSistemaCostruttivoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo getBoSistemaCostruttivoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getBoSistemaCostruttivos( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getBoSistemaCostruttivosCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName18, - _methodParameterTypes18, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo updateBoSistemaCostruttivo( - it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo boSistemaCostruttivo) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName19, - _methodParameterTypes19, - new Object[] { - ClpSerializer.translateInput(boSistemaCostruttivo) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName20, - _methodParameterTypes20, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName21, - _methodParameterTypes21, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - @Override - public java.util.List findByC_G_BoIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName23, - _methodParameterTypes23, new Object[] { intPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName20; - private String[] _methodParameterTypes20; - private String _methodName21; - private String[] _methodParameterTypes21; - private String _methodName23; - private String[] _methodParameterTypes23; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoSistemaCostruttivoLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoSistemaCostruttivoLocalServiceUtil.java deleted file mode 100644 index f5cf8689..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoSistemaCostruttivoLocalServiceUtil.java +++ /dev/null @@ -1,378 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for BoSistemaCostruttivo. This utility wraps - * {@link it.tref.liferay.portos.portosimport.service.impl.BoSistemaCostruttivoLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoSistemaCostruttivoLocalService - * @see it.tref.liferay.portos.portosimport.service.base.BoSistemaCostruttivoLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.BoSistemaCostruttivoLocalServiceImpl - * @generated - */ -public class BoSistemaCostruttivoLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.BoSistemaCostruttivoLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the bo sistema costruttivo to the database. Also notifies the appropriate model listeners. - * - * @param boSistemaCostruttivo the bo sistema costruttivo - * @return the bo sistema costruttivo that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo addBoSistemaCostruttivo( - it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo boSistemaCostruttivo) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addBoSistemaCostruttivo(boSistemaCostruttivo); - } - - /** - * Creates a new bo sistema costruttivo with the primary key. Does not add the bo sistema costruttivo to the database. - * - * @param sistemaCostruttivoId the primary key for the new bo sistema costruttivo - * @return the new bo sistema costruttivo - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo createBoSistemaCostruttivo( - long sistemaCostruttivoId) { - return getService().createBoSistemaCostruttivo(sistemaCostruttivoId); - } - - /** - * Deletes the bo sistema costruttivo with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param sistemaCostruttivoId the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo that was removed - * @throws PortalException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo deleteBoSistemaCostruttivo( - long sistemaCostruttivoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoSistemaCostruttivo(sistemaCostruttivoId); - } - - /** - * Deletes the bo sistema costruttivo from the database. Also notifies the appropriate model listeners. - * - * @param boSistemaCostruttivo the bo sistema costruttivo - * @return the bo sistema costruttivo that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo deleteBoSistemaCostruttivo( - it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo boSistemaCostruttivo) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoSistemaCostruttivo(boSistemaCostruttivo); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo fetchBoSistemaCostruttivo( - long sistemaCostruttivoId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoSistemaCostruttivo(sistemaCostruttivoId); - } - - /** - * Returns the bo sistema costruttivo with the matching UUID and company. - * - * @param uuid the bo sistema costruttivo's UUID - * @param companyId the primary key of the company - * @return the matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo fetchBoSistemaCostruttivoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .fetchBoSistemaCostruttivoByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the bo sistema costruttivo matching the UUID and group. - * - * @param uuid the bo sistema costruttivo's UUID - * @param groupId the primary key of the group - * @return the matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo fetchBoSistemaCostruttivoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .fetchBoSistemaCostruttivoByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns the bo sistema costruttivo with the primary key. - * - * @param sistemaCostruttivoId the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo - * @throws PortalException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo getBoSistemaCostruttivo( - long sistemaCostruttivoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoSistemaCostruttivo(sistemaCostruttivoId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns the bo sistema costruttivo with the matching UUID and company. - * - * @param uuid the bo sistema costruttivo's UUID - * @param companyId the primary key of the company - * @return the matching bo sistema costruttivo - * @throws PortalException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo getBoSistemaCostruttivoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService() - .getBoSistemaCostruttivoByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the bo sistema costruttivo matching the UUID and group. - * - * @param uuid the bo sistema costruttivo's UUID - * @param groupId the primary key of the group - * @return the matching bo sistema costruttivo - * @throws PortalException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo getBoSistemaCostruttivoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService() - .getBoSistemaCostruttivoByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns a range of all the bo sistema costruttivos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static java.util.List getBoSistemaCostruttivos( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoSistemaCostruttivos(start, end); - } - - /** - * Returns the number of bo sistema costruttivos. - * - * @return the number of bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static int getBoSistemaCostruttivosCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoSistemaCostruttivosCount(); - } - - /** - * Updates the bo sistema costruttivo in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boSistemaCostruttivo the bo sistema costruttivo - * @return the bo sistema costruttivo that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo updateBoSistemaCostruttivo( - it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo boSistemaCostruttivo) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateBoSistemaCostruttivo(boSistemaCostruttivo); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static java.util.List findByC_G_BoIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().findByC_G_BoIntPratica(intPraticaId); - } - - public static void clearService() { - _service = null; - } - - public static BoSistemaCostruttivoLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - BoSistemaCostruttivoLocalService.class.getName()); - - if (invokableLocalService instanceof BoSistemaCostruttivoLocalService) { - _service = (BoSistemaCostruttivoLocalService)invokableLocalService; - } - else { - _service = new BoSistemaCostruttivoLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(BoSistemaCostruttivoLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(BoSistemaCostruttivoLocalService service) { - } - - private static BoSistemaCostruttivoLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoSistemaCostruttivoLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoSistemaCostruttivoLocalServiceWrapper.java deleted file mode 100644 index 1c8aaaec..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoSistemaCostruttivoLocalServiceWrapper.java +++ /dev/null @@ -1,395 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link BoSistemaCostruttivoLocalService}. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoSistemaCostruttivoLocalService - * @generated - */ -public class BoSistemaCostruttivoLocalServiceWrapper - implements BoSistemaCostruttivoLocalService, - ServiceWrapper { - public BoSistemaCostruttivoLocalServiceWrapper( - BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - _boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Adds the bo sistema costruttivo to the database. Also notifies the appropriate model listeners. - * - * @param boSistemaCostruttivo the bo sistema costruttivo - * @return the bo sistema costruttivo that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo addBoSistemaCostruttivo( - it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo boSistemaCostruttivo) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivoLocalService.addBoSistemaCostruttivo(boSistemaCostruttivo); - } - - /** - * Creates a new bo sistema costruttivo with the primary key. Does not add the bo sistema costruttivo to the database. - * - * @param sistemaCostruttivoId the primary key for the new bo sistema costruttivo - * @return the new bo sistema costruttivo - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo createBoSistemaCostruttivo( - long sistemaCostruttivoId) { - return _boSistemaCostruttivoLocalService.createBoSistemaCostruttivo(sistemaCostruttivoId); - } - - /** - * Deletes the bo sistema costruttivo with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param sistemaCostruttivoId the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo that was removed - * @throws PortalException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo deleteBoSistemaCostruttivo( - long sistemaCostruttivoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivoLocalService.deleteBoSistemaCostruttivo(sistemaCostruttivoId); - } - - /** - * Deletes the bo sistema costruttivo from the database. Also notifies the appropriate model listeners. - * - * @param boSistemaCostruttivo the bo sistema costruttivo - * @return the bo sistema costruttivo that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo deleteBoSistemaCostruttivo( - it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo boSistemaCostruttivo) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivoLocalService.deleteBoSistemaCostruttivo(boSistemaCostruttivo); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _boSistemaCostruttivoLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivoLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivoLocalService.dynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivoLocalService.dynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivoLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivoLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo fetchBoSistemaCostruttivo( - long sistemaCostruttivoId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivoLocalService.fetchBoSistemaCostruttivo(sistemaCostruttivoId); - } - - /** - * Returns the bo sistema costruttivo with the matching UUID and company. - * - * @param uuid the bo sistema costruttivo's UUID - * @param companyId the primary key of the company - * @return the matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo fetchBoSistemaCostruttivoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivoLocalService.fetchBoSistemaCostruttivoByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the bo sistema costruttivo matching the UUID and group. - * - * @param uuid the bo sistema costruttivo's UUID - * @param groupId the primary key of the group - * @return the matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo fetchBoSistemaCostruttivoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivoLocalService.fetchBoSistemaCostruttivoByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns the bo sistema costruttivo with the primary key. - * - * @param sistemaCostruttivoId the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo - * @throws PortalException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo getBoSistemaCostruttivo( - long sistemaCostruttivoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivoLocalService.getBoSistemaCostruttivo(sistemaCostruttivoId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivoLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns the bo sistema costruttivo with the matching UUID and company. - * - * @param uuid the bo sistema costruttivo's UUID - * @param companyId the primary key of the company - * @return the matching bo sistema costruttivo - * @throws PortalException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo getBoSistemaCostruttivoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivoLocalService.getBoSistemaCostruttivoByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the bo sistema costruttivo matching the UUID and group. - * - * @param uuid the bo sistema costruttivo's UUID - * @param groupId the primary key of the group - * @return the matching bo sistema costruttivo - * @throws PortalException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo getBoSistemaCostruttivoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivoLocalService.getBoSistemaCostruttivoByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns a range of all the bo sistema costruttivos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getBoSistemaCostruttivos( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivoLocalService.getBoSistemaCostruttivos(start, - end); - } - - /** - * Returns the number of bo sistema costruttivos. - * - * @return the number of bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoSistemaCostruttivosCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivoLocalService.getBoSistemaCostruttivosCount(); - } - - /** - * Updates the bo sistema costruttivo in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boSistemaCostruttivo the bo sistema costruttivo - * @return the bo sistema costruttivo that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo updateBoSistemaCostruttivo( - it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo boSistemaCostruttivo) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivoLocalService.updateBoSistemaCostruttivo(boSistemaCostruttivo); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _boSistemaCostruttivoLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _boSistemaCostruttivoLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _boSistemaCostruttivoLocalService.invokeMethod(name, - parameterTypes, arguments); - } - - @Override - public java.util.List findByC_G_BoIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSistemaCostruttivoLocalService.findByC_G_BoIntPratica(intPraticaId); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public BoSistemaCostruttivoLocalService getWrappedBoSistemaCostruttivoLocalService() { - return _boSistemaCostruttivoLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedBoSistemaCostruttivoLocalService( - BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - _boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - @Override - public BoSistemaCostruttivoLocalService getWrappedService() { - return _boSistemaCostruttivoLocalService; - } - - @Override - public void setWrappedService( - BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - _boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - private BoSistemaCostruttivoLocalService _boSistemaCostruttivoLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoSoggettoLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoSoggettoLocalService.java deleted file mode 100644 index a61ea3fb..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoSoggettoLocalService.java +++ /dev/null @@ -1,312 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for BoSoggetto. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoSoggettoLocalServiceUtil - * @see it.tref.liferay.portos.portosimport.service.base.BoSoggettoLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.BoSoggettoLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface BoSoggettoLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoSoggettoLocalServiceUtil} to access the bo soggetto local service. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.BoSoggettoLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the bo soggetto to the database. Also notifies the appropriate model listeners. - * - * @param boSoggetto the bo soggetto - * @return the bo soggetto that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.BoSoggetto addBoSoggetto( - it.tref.liferay.portos.portosimport.model.BoSoggetto boSoggetto) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new bo soggetto with the primary key. Does not add the bo soggetto to the database. - * - * @param soggettoId the primary key for the new bo soggetto - * @return the new bo soggetto - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto createBoSoggetto( - long soggettoId); - - /** - * Deletes the bo soggetto with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param soggettoId the primary key of the bo soggetto - * @return the bo soggetto that was removed - * @throws PortalException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.BoSoggetto deleteBoSoggetto( - long soggettoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the bo soggetto from the database. Also notifies the appropriate model listeners. - * - * @param boSoggetto the bo soggetto - * @return the bo soggetto that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.BoSoggetto deleteBoSoggetto( - it.tref.liferay.portos.portosimport.model.BoSoggetto boSoggetto) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoSoggetto fetchBoSoggetto( - long soggettoId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo soggetto with the matching UUID and company. - * - * @param uuid the bo soggetto's UUID - * @param companyId the primary key of the company - * @return the matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoSoggetto fetchBoSoggettoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo soggetto matching the UUID and group. - * - * @param uuid the bo soggetto's UUID - * @param groupId the primary key of the group - * @return the matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoSoggetto fetchBoSoggettoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo soggetto with the primary key. - * - * @param soggettoId the primary key of the bo soggetto - * @return the bo soggetto - * @throws PortalException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoSoggetto getBoSoggetto( - long soggettoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo soggetto with the matching UUID and company. - * - * @param uuid the bo soggetto's UUID - * @param companyId the primary key of the company - * @return the matching bo soggetto - * @throws PortalException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoSoggetto getBoSoggettoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo soggetto matching the UUID and group. - * - * @param uuid the bo soggetto's UUID - * @param groupId the primary key of the group - * @return the matching bo soggetto - * @throws PortalException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoSoggetto getBoSoggettoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo soggettos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of bo soggettos - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getBoSoggettos( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo soggettos. - * - * @return the number of bo soggettos - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getBoSoggettosCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the bo soggetto in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boSoggetto the bo soggetto - * @return the bo soggetto that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.BoSoggetto updateBoSoggetto( - it.tref.liferay.portos.portosimport.model.BoSoggetto boSoggetto) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoSoggettoLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoSoggettoLocalServiceClp.java deleted file mode 100644 index c54ba0f9..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoSoggettoLocalServiceClp.java +++ /dev/null @@ -1,860 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoSoggettoLocalServiceClp implements BoSoggettoLocalService { - public BoSoggettoLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addBoSoggetto"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoSoggetto" - }; - - _methodName1 = "createBoSoggetto"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoSoggetto"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoSoggetto"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoSoggetto" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoSoggetto"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchBoSoggettoByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchBoSoggettoByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getBoSoggetto"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getBoSoggettoByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getBoSoggettoByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getBoSoggettos"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getBoSoggettosCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateBoSoggetto"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoSoggetto" - }; - - _methodName20 = "getBeanIdentifier"; - - _methodParameterTypes20 = new String[] { }; - - _methodName21 = "setBeanIdentifier"; - - _methodParameterTypes21 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSoggetto addBoSoggetto( - it.tref.liferay.portos.portosimport.model.BoSoggetto boSoggetto) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(boSoggetto) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoSoggetto)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSoggetto createBoSoggetto( - long soggettoId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { soggettoId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoSoggetto)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSoggetto deleteBoSoggetto( - long soggettoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { soggettoId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoSoggetto)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSoggetto deleteBoSoggetto( - it.tref.liferay.portos.portosimport.model.BoSoggetto boSoggetto) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(boSoggetto) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoSoggetto)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSoggetto fetchBoSoggetto( - long soggettoId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { soggettoId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoSoggetto)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSoggetto fetchBoSoggettoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoSoggetto)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSoggetto fetchBoSoggettoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoSoggetto)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSoggetto getBoSoggetto( - long soggettoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { soggettoId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoSoggetto)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSoggetto getBoSoggettoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoSoggetto)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSoggetto getBoSoggettoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoSoggetto)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getBoSoggettos( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getBoSoggettosCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName18, - _methodParameterTypes18, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSoggetto updateBoSoggetto( - it.tref.liferay.portos.portosimport.model.BoSoggetto boSoggetto) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName19, - _methodParameterTypes19, - new Object[] { ClpSerializer.translateInput(boSoggetto) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoSoggetto)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName20, - _methodParameterTypes20, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName21, - _methodParameterTypes21, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName20; - private String[] _methodParameterTypes20; - private String _methodName21; - private String[] _methodParameterTypes21; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoSoggettoLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoSoggettoLocalServiceUtil.java deleted file mode 100644 index 28ade51a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoSoggettoLocalServiceUtil.java +++ /dev/null @@ -1,368 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for BoSoggetto. This utility wraps - * {@link it.tref.liferay.portos.portosimport.service.impl.BoSoggettoLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoSoggettoLocalService - * @see it.tref.liferay.portos.portosimport.service.base.BoSoggettoLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.BoSoggettoLocalServiceImpl - * @generated - */ -public class BoSoggettoLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.BoSoggettoLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the bo soggetto to the database. Also notifies the appropriate model listeners. - * - * @param boSoggetto the bo soggetto - * @return the bo soggetto that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto addBoSoggetto( - it.tref.liferay.portos.portosimport.model.BoSoggetto boSoggetto) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addBoSoggetto(boSoggetto); - } - - /** - * Creates a new bo soggetto with the primary key. Does not add the bo soggetto to the database. - * - * @param soggettoId the primary key for the new bo soggetto - * @return the new bo soggetto - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto createBoSoggetto( - long soggettoId) { - return getService().createBoSoggetto(soggettoId); - } - - /** - * Deletes the bo soggetto with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param soggettoId the primary key of the bo soggetto - * @return the bo soggetto that was removed - * @throws PortalException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto deleteBoSoggetto( - long soggettoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoSoggetto(soggettoId); - } - - /** - * Deletes the bo soggetto from the database. Also notifies the appropriate model listeners. - * - * @param boSoggetto the bo soggetto - * @return the bo soggetto that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto deleteBoSoggetto( - it.tref.liferay.portos.portosimport.model.BoSoggetto boSoggetto) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoSoggetto(boSoggetto); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.portosimport.model.BoSoggetto fetchBoSoggetto( - long soggettoId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoSoggetto(soggettoId); - } - - /** - * Returns the bo soggetto with the matching UUID and company. - * - * @param uuid the bo soggetto's UUID - * @param companyId the primary key of the company - * @return the matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto fetchBoSoggettoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoSoggettoByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the bo soggetto matching the UUID and group. - * - * @param uuid the bo soggetto's UUID - * @param groupId the primary key of the group - * @return the matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto fetchBoSoggettoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoSoggettoByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns the bo soggetto with the primary key. - * - * @param soggettoId the primary key of the bo soggetto - * @return the bo soggetto - * @throws PortalException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto getBoSoggetto( - long soggettoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoSoggetto(soggettoId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns the bo soggetto with the matching UUID and company. - * - * @param uuid the bo soggetto's UUID - * @param companyId the primary key of the company - * @return the matching bo soggetto - * @throws PortalException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto getBoSoggettoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoSoggettoByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the bo soggetto matching the UUID and group. - * - * @param uuid the bo soggetto's UUID - * @param groupId the primary key of the group - * @return the matching bo soggetto - * @throws PortalException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto getBoSoggettoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoSoggettoByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns a range of all the bo soggettos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List getBoSoggettos( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoSoggettos(start, end); - } - - /** - * Returns the number of bo soggettos. - * - * @return the number of bo soggettos - * @throws SystemException if a system exception occurred - */ - public static int getBoSoggettosCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoSoggettosCount(); - } - - /** - * Updates the bo soggetto in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boSoggetto the bo soggetto - * @return the bo soggetto that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto updateBoSoggetto( - it.tref.liferay.portos.portosimport.model.BoSoggetto boSoggetto) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateBoSoggetto(boSoggetto); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static BoSoggettoLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - BoSoggettoLocalService.class.getName()); - - if (invokableLocalService instanceof BoSoggettoLocalService) { - _service = (BoSoggettoLocalService)invokableLocalService; - } - else { - _service = new BoSoggettoLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(BoSoggettoLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(BoSoggettoLocalService service) { - } - - private static BoSoggettoLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoSoggettoLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoSoggettoLocalServiceWrapper.java deleted file mode 100644 index 1a4173e9..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoSoggettoLocalServiceWrapper.java +++ /dev/null @@ -1,384 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link BoSoggettoLocalService}. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoSoggettoLocalService - * @generated - */ -public class BoSoggettoLocalServiceWrapper implements BoSoggettoLocalService, - ServiceWrapper { - public BoSoggettoLocalServiceWrapper( - BoSoggettoLocalService boSoggettoLocalService) { - _boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Adds the bo soggetto to the database. Also notifies the appropriate model listeners. - * - * @param boSoggetto the bo soggetto - * @return the bo soggetto that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoSoggetto addBoSoggetto( - it.tref.liferay.portos.portosimport.model.BoSoggetto boSoggetto) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSoggettoLocalService.addBoSoggetto(boSoggetto); - } - - /** - * Creates a new bo soggetto with the primary key. Does not add the bo soggetto to the database. - * - * @param soggettoId the primary key for the new bo soggetto - * @return the new bo soggetto - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoSoggetto createBoSoggetto( - long soggettoId) { - return _boSoggettoLocalService.createBoSoggetto(soggettoId); - } - - /** - * Deletes the bo soggetto with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param soggettoId the primary key of the bo soggetto - * @return the bo soggetto that was removed - * @throws PortalException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoSoggetto deleteBoSoggetto( - long soggettoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boSoggettoLocalService.deleteBoSoggetto(soggettoId); - } - - /** - * Deletes the bo soggetto from the database. Also notifies the appropriate model listeners. - * - * @param boSoggetto the bo soggetto - * @return the bo soggetto that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoSoggetto deleteBoSoggetto( - it.tref.liferay.portos.portosimport.model.BoSoggetto boSoggetto) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSoggettoLocalService.deleteBoSoggetto(boSoggetto); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _boSoggettoLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSoggettoLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _boSoggettoLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSoggettoLocalService.dynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSoggettoLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSoggettoLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSoggetto fetchBoSoggetto( - long soggettoId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSoggettoLocalService.fetchBoSoggetto(soggettoId); - } - - /** - * Returns the bo soggetto with the matching UUID and company. - * - * @param uuid the bo soggetto's UUID - * @param companyId the primary key of the company - * @return the matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoSoggetto fetchBoSoggettoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSoggettoLocalService.fetchBoSoggettoByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the bo soggetto matching the UUID and group. - * - * @param uuid the bo soggetto's UUID - * @param groupId the primary key of the group - * @return the matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoSoggetto fetchBoSoggettoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSoggettoLocalService.fetchBoSoggettoByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns the bo soggetto with the primary key. - * - * @param soggettoId the primary key of the bo soggetto - * @return the bo soggetto - * @throws PortalException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoSoggetto getBoSoggetto( - long soggettoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boSoggettoLocalService.getBoSoggetto(soggettoId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boSoggettoLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns the bo soggetto with the matching UUID and company. - * - * @param uuid the bo soggetto's UUID - * @param companyId the primary key of the company - * @return the matching bo soggetto - * @throws PortalException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoSoggetto getBoSoggettoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boSoggettoLocalService.getBoSoggettoByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the bo soggetto matching the UUID and group. - * - * @param uuid the bo soggetto's UUID - * @param groupId the primary key of the group - * @return the matching bo soggetto - * @throws PortalException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoSoggetto getBoSoggettoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boSoggettoLocalService.getBoSoggettoByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns a range of all the bo soggettos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getBoSoggettos( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSoggettoLocalService.getBoSoggettos(start, end); - } - - /** - * Returns the number of bo soggettos. - * - * @return the number of bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoSoggettosCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _boSoggettoLocalService.getBoSoggettosCount(); - } - - /** - * Updates the bo soggetto in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boSoggetto the bo soggetto - * @return the bo soggetto that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoSoggetto updateBoSoggetto( - it.tref.liferay.portos.portosimport.model.BoSoggetto boSoggetto) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSoggettoLocalService.updateBoSoggetto(boSoggetto); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _boSoggettoLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _boSoggettoLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _boSoggettoLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public BoSoggettoLocalService getWrappedBoSoggettoLocalService() { - return _boSoggettoLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedBoSoggettoLocalService( - BoSoggettoLocalService boSoggettoLocalService) { - _boSoggettoLocalService = boSoggettoLocalService; - } - - @Override - public BoSoggettoLocalService getWrappedService() { - return _boSoggettoLocalService; - } - - @Override - public void setWrappedService(BoSoggettoLocalService boSoggettoLocalService) { - _boSoggettoLocalService = boSoggettoLocalService; - } - - private BoSoggettoLocalService _boSoggettoLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoSorteggioLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoSorteggioLocalService.java deleted file mode 100644 index f67458c9..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoSorteggioLocalService.java +++ /dev/null @@ -1,312 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for BoSorteggio. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoSorteggioLocalServiceUtil - * @see it.tref.liferay.portos.portosimport.service.base.BoSorteggioLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.BoSorteggioLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface BoSorteggioLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoSorteggioLocalServiceUtil} to access the bo sorteggio local service. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.BoSorteggioLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the bo sorteggio to the database. Also notifies the appropriate model listeners. - * - * @param boSorteggio the bo sorteggio - * @return the bo sorteggio that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.BoSorteggio addBoSorteggio( - it.tref.liferay.portos.portosimport.model.BoSorteggio boSorteggio) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new bo sorteggio with the primary key. Does not add the bo sorteggio to the database. - * - * @param sorteggioId the primary key for the new bo sorteggio - * @return the new bo sorteggio - */ - public it.tref.liferay.portos.portosimport.model.BoSorteggio createBoSorteggio( - long sorteggioId); - - /** - * Deletes the bo sorteggio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param sorteggioId the primary key of the bo sorteggio - * @return the bo sorteggio that was removed - * @throws PortalException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.BoSorteggio deleteBoSorteggio( - long sorteggioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the bo sorteggio from the database. Also notifies the appropriate model listeners. - * - * @param boSorteggio the bo sorteggio - * @return the bo sorteggio that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.BoSorteggio deleteBoSorteggio( - it.tref.liferay.portos.portosimport.model.BoSorteggio boSorteggio) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoSorteggio fetchBoSorteggio( - long sorteggioId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sorteggio with the matching UUID and company. - * - * @param uuid the bo sorteggio's UUID - * @param companyId the primary key of the company - * @return the matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoSorteggio fetchBoSorteggioByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sorteggio matching the UUID and group. - * - * @param uuid the bo sorteggio's UUID - * @param groupId the primary key of the group - * @return the matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoSorteggio fetchBoSorteggioByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sorteggio with the primary key. - * - * @param sorteggioId the primary key of the bo sorteggio - * @return the bo sorteggio - * @throws PortalException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoSorteggio getBoSorteggio( - long sorteggioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sorteggio with the matching UUID and company. - * - * @param uuid the bo sorteggio's UUID - * @param companyId the primary key of the company - * @return the matching bo sorteggio - * @throws PortalException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoSorteggio getBoSorteggioByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sorteggio matching the UUID and group. - * - * @param uuid the bo sorteggio's UUID - * @param groupId the primary key of the group - * @return the matching bo sorteggio - * @throws PortalException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoSorteggio getBoSorteggioByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo sorteggios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getBoSorteggios( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo sorteggios. - * - * @return the number of bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getBoSorteggiosCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the bo sorteggio in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boSorteggio the bo sorteggio - * @return the bo sorteggio that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.BoSorteggio updateBoSorteggio( - it.tref.liferay.portos.portosimport.model.BoSorteggio boSorteggio) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoSorteggioLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoSorteggioLocalServiceClp.java deleted file mode 100644 index c96ee716..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoSorteggioLocalServiceClp.java +++ /dev/null @@ -1,860 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoSorteggioLocalServiceClp implements BoSorteggioLocalService { - public BoSorteggioLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addBoSorteggio"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoSorteggio" - }; - - _methodName1 = "createBoSorteggio"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoSorteggio"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoSorteggio"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoSorteggio" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoSorteggio"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchBoSorteggioByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchBoSorteggioByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getBoSorteggio"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getBoSorteggioByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getBoSorteggioByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getBoSorteggios"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getBoSorteggiosCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateBoSorteggio"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoSorteggio" - }; - - _methodName20 = "getBeanIdentifier"; - - _methodParameterTypes20 = new String[] { }; - - _methodName21 = "setBeanIdentifier"; - - _methodParameterTypes21 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSorteggio addBoSorteggio( - it.tref.liferay.portos.portosimport.model.BoSorteggio boSorteggio) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(boSorteggio) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoSorteggio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSorteggio createBoSorteggio( - long sorteggioId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { sorteggioId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoSorteggio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSorteggio deleteBoSorteggio( - long sorteggioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { sorteggioId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoSorteggio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSorteggio deleteBoSorteggio( - it.tref.liferay.portos.portosimport.model.BoSorteggio boSorteggio) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(boSorteggio) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoSorteggio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSorteggio fetchBoSorteggio( - long sorteggioId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { sorteggioId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoSorteggio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSorteggio fetchBoSorteggioByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoSorteggio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSorteggio fetchBoSorteggioByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoSorteggio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSorteggio getBoSorteggio( - long sorteggioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { sorteggioId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoSorteggio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSorteggio getBoSorteggioByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoSorteggio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSorteggio getBoSorteggioByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoSorteggio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getBoSorteggios( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getBoSorteggiosCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName18, - _methodParameterTypes18, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSorteggio updateBoSorteggio( - it.tref.liferay.portos.portosimport.model.BoSorteggio boSorteggio) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName19, - _methodParameterTypes19, - new Object[] { ClpSerializer.translateInput(boSorteggio) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoSorteggio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName20, - _methodParameterTypes20, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName21, - _methodParameterTypes21, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName20; - private String[] _methodParameterTypes20; - private String _methodName21; - private String[] _methodParameterTypes21; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoSorteggioLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoSorteggioLocalServiceUtil.java deleted file mode 100644 index 9fd74a6e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoSorteggioLocalServiceUtil.java +++ /dev/null @@ -1,368 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for BoSorteggio. This utility wraps - * {@link it.tref.liferay.portos.portosimport.service.impl.BoSorteggioLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoSorteggioLocalService - * @see it.tref.liferay.portos.portosimport.service.base.BoSorteggioLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.BoSorteggioLocalServiceImpl - * @generated - */ -public class BoSorteggioLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.BoSorteggioLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the bo sorteggio to the database. Also notifies the appropriate model listeners. - * - * @param boSorteggio the bo sorteggio - * @return the bo sorteggio that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio addBoSorteggio( - it.tref.liferay.portos.portosimport.model.BoSorteggio boSorteggio) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addBoSorteggio(boSorteggio); - } - - /** - * Creates a new bo sorteggio with the primary key. Does not add the bo sorteggio to the database. - * - * @param sorteggioId the primary key for the new bo sorteggio - * @return the new bo sorteggio - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio createBoSorteggio( - long sorteggioId) { - return getService().createBoSorteggio(sorteggioId); - } - - /** - * Deletes the bo sorteggio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param sorteggioId the primary key of the bo sorteggio - * @return the bo sorteggio that was removed - * @throws PortalException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio deleteBoSorteggio( - long sorteggioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoSorteggio(sorteggioId); - } - - /** - * Deletes the bo sorteggio from the database. Also notifies the appropriate model listeners. - * - * @param boSorteggio the bo sorteggio - * @return the bo sorteggio that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio deleteBoSorteggio( - it.tref.liferay.portos.portosimport.model.BoSorteggio boSorteggio) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoSorteggio(boSorteggio); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.portosimport.model.BoSorteggio fetchBoSorteggio( - long sorteggioId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoSorteggio(sorteggioId); - } - - /** - * Returns the bo sorteggio with the matching UUID and company. - * - * @param uuid the bo sorteggio's UUID - * @param companyId the primary key of the company - * @return the matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio fetchBoSorteggioByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoSorteggioByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the bo sorteggio matching the UUID and group. - * - * @param uuid the bo sorteggio's UUID - * @param groupId the primary key of the group - * @return the matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio fetchBoSorteggioByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoSorteggioByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns the bo sorteggio with the primary key. - * - * @param sorteggioId the primary key of the bo sorteggio - * @return the bo sorteggio - * @throws PortalException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio getBoSorteggio( - long sorteggioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoSorteggio(sorteggioId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns the bo sorteggio with the matching UUID and company. - * - * @param uuid the bo sorteggio's UUID - * @param companyId the primary key of the company - * @return the matching bo sorteggio - * @throws PortalException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio getBoSorteggioByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoSorteggioByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the bo sorteggio matching the UUID and group. - * - * @param uuid the bo sorteggio's UUID - * @param groupId the primary key of the group - * @return the matching bo sorteggio - * @throws PortalException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio getBoSorteggioByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoSorteggioByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns a range of all the bo sorteggios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static java.util.List getBoSorteggios( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoSorteggios(start, end); - } - - /** - * Returns the number of bo sorteggios. - * - * @return the number of bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static int getBoSorteggiosCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoSorteggiosCount(); - } - - /** - * Updates the bo sorteggio in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boSorteggio the bo sorteggio - * @return the bo sorteggio that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio updateBoSorteggio( - it.tref.liferay.portos.portosimport.model.BoSorteggio boSorteggio) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateBoSorteggio(boSorteggio); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static BoSorteggioLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - BoSorteggioLocalService.class.getName()); - - if (invokableLocalService instanceof BoSorteggioLocalService) { - _service = (BoSorteggioLocalService)invokableLocalService; - } - else { - _service = new BoSorteggioLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(BoSorteggioLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(BoSorteggioLocalService service) { - } - - private static BoSorteggioLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoSorteggioLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoSorteggioLocalServiceWrapper.java deleted file mode 100644 index d6d685b3..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoSorteggioLocalServiceWrapper.java +++ /dev/null @@ -1,385 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link BoSorteggioLocalService}. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoSorteggioLocalService - * @generated - */ -public class BoSorteggioLocalServiceWrapper implements BoSorteggioLocalService, - ServiceWrapper { - public BoSorteggioLocalServiceWrapper( - BoSorteggioLocalService boSorteggioLocalService) { - _boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Adds the bo sorteggio to the database. Also notifies the appropriate model listeners. - * - * @param boSorteggio the bo sorteggio - * @return the bo sorteggio that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoSorteggio addBoSorteggio( - it.tref.liferay.portos.portosimport.model.BoSorteggio boSorteggio) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSorteggioLocalService.addBoSorteggio(boSorteggio); - } - - /** - * Creates a new bo sorteggio with the primary key. Does not add the bo sorteggio to the database. - * - * @param sorteggioId the primary key for the new bo sorteggio - * @return the new bo sorteggio - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoSorteggio createBoSorteggio( - long sorteggioId) { - return _boSorteggioLocalService.createBoSorteggio(sorteggioId); - } - - /** - * Deletes the bo sorteggio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param sorteggioId the primary key of the bo sorteggio - * @return the bo sorteggio that was removed - * @throws PortalException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoSorteggio deleteBoSorteggio( - long sorteggioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boSorteggioLocalService.deleteBoSorteggio(sorteggioId); - } - - /** - * Deletes the bo sorteggio from the database. Also notifies the appropriate model listeners. - * - * @param boSorteggio the bo sorteggio - * @return the bo sorteggio that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoSorteggio deleteBoSorteggio( - it.tref.liferay.portos.portosimport.model.BoSorteggio boSorteggio) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSorteggioLocalService.deleteBoSorteggio(boSorteggio); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _boSorteggioLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSorteggioLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _boSorteggioLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSorteggioLocalService.dynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSorteggioLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSorteggioLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoSorteggio fetchBoSorteggio( - long sorteggioId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSorteggioLocalService.fetchBoSorteggio(sorteggioId); - } - - /** - * Returns the bo sorteggio with the matching UUID and company. - * - * @param uuid the bo sorteggio's UUID - * @param companyId the primary key of the company - * @return the matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoSorteggio fetchBoSorteggioByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSorteggioLocalService.fetchBoSorteggioByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the bo sorteggio matching the UUID and group. - * - * @param uuid the bo sorteggio's UUID - * @param groupId the primary key of the group - * @return the matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoSorteggio fetchBoSorteggioByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSorteggioLocalService.fetchBoSorteggioByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns the bo sorteggio with the primary key. - * - * @param sorteggioId the primary key of the bo sorteggio - * @return the bo sorteggio - * @throws PortalException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoSorteggio getBoSorteggio( - long sorteggioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boSorteggioLocalService.getBoSorteggio(sorteggioId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boSorteggioLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns the bo sorteggio with the matching UUID and company. - * - * @param uuid the bo sorteggio's UUID - * @param companyId the primary key of the company - * @return the matching bo sorteggio - * @throws PortalException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoSorteggio getBoSorteggioByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boSorteggioLocalService.getBoSorteggioByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the bo sorteggio matching the UUID and group. - * - * @param uuid the bo sorteggio's UUID - * @param groupId the primary key of the group - * @return the matching bo sorteggio - * @throws PortalException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoSorteggio getBoSorteggioByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boSorteggioLocalService.getBoSorteggioByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns a range of all the bo sorteggios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getBoSorteggios( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSorteggioLocalService.getBoSorteggios(start, end); - } - - /** - * Returns the number of bo sorteggios. - * - * @return the number of bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoSorteggiosCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _boSorteggioLocalService.getBoSorteggiosCount(); - } - - /** - * Updates the bo sorteggio in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boSorteggio the bo sorteggio - * @return the bo sorteggio that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoSorteggio updateBoSorteggio( - it.tref.liferay.portos.portosimport.model.BoSorteggio boSorteggio) - throws com.liferay.portal.kernel.exception.SystemException { - return _boSorteggioLocalService.updateBoSorteggio(boSorteggio); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _boSorteggioLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _boSorteggioLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _boSorteggioLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public BoSorteggioLocalService getWrappedBoSorteggioLocalService() { - return _boSorteggioLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedBoSorteggioLocalService( - BoSorteggioLocalService boSorteggioLocalService) { - _boSorteggioLocalService = boSorteggioLocalService; - } - - @Override - public BoSorteggioLocalService getWrappedService() { - return _boSorteggioLocalService; - } - - @Override - public void setWrappedService( - BoSorteggioLocalService boSorteggioLocalService) { - _boSorteggioLocalService = boSorteggioLocalService; - } - - private BoSorteggioLocalService _boSorteggioLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoStoricoSoggettoPraticaLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoStoricoSoggettoPraticaLocalService.java deleted file mode 100644 index 96ed8324..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoStoricoSoggettoPraticaLocalService.java +++ /dev/null @@ -1,256 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for BoStoricoSoggettoPratica. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoStoricoSoggettoPraticaLocalServiceUtil - * @see it.tref.liferay.portos.portosimport.service.base.BoStoricoSoggettoPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.BoStoricoSoggettoPraticaLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface BoStoricoSoggettoPraticaLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoStoricoSoggettoPraticaLocalServiceUtil} to access the bo storico soggetto pratica local service. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.BoStoricoSoggettoPraticaLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the bo storico soggetto pratica to the database. Also notifies the appropriate model listeners. - * - * @param boStoricoSoggettoPratica the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica addBoStoricoSoggettoPratica( - it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new bo storico soggetto pratica with the primary key. Does not add the bo storico soggetto pratica to the database. - * - * @param storicoSoggettoPraticaId the primary key for the new bo storico soggetto pratica - * @return the new bo storico soggetto pratica - */ - public it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica createBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId); - - /** - * Deletes the bo storico soggetto pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param storicoSoggettoPraticaId the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was removed - * @throws PortalException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica deleteBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the bo storico soggetto pratica from the database. Also notifies the appropriate model listeners. - * - * @param boStoricoSoggettoPratica the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica deleteBoStoricoSoggettoPratica( - it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica fetchBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo storico soggetto pratica with the primary key. - * - * @param storicoSoggettoPraticaId the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica - * @throws PortalException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica getBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo storico soggetto praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo storico soggetto praticas - * @param end the upper bound of the range of bo storico soggetto praticas (not inclusive) - * @return the range of bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getBoStoricoSoggettoPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo storico soggetto praticas. - * - * @return the number of bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getBoStoricoSoggettoPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the bo storico soggetto pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boStoricoSoggettoPratica the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica updateBoStoricoSoggettoPratica( - it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoStoricoSoggettoPraticaLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoStoricoSoggettoPraticaLocalServiceClp.java deleted file mode 100644 index 3de30a00..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoStoricoSoggettoPraticaLocalServiceClp.java +++ /dev/null @@ -1,717 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoStoricoSoggettoPraticaLocalServiceClp - implements BoStoricoSoggettoPraticaLocalService { - public BoStoricoSoggettoPraticaLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addBoStoricoSoggettoPratica"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica" - }; - - _methodName1 = "createBoStoricoSoggettoPratica"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoStoricoSoggettoPratica"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoStoricoSoggettoPratica"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoStoricoSoggettoPratica"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getBoStoricoSoggettoPratica"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getBoStoricoSoggettoPraticas"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getBoStoricoSoggettoPraticasCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateBoStoricoSoggettoPratica"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica" - }; - - _methodName16 = "getBeanIdentifier"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "setBeanIdentifier"; - - _methodParameterTypes17 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica addBoStoricoSoggettoPratica( - it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { - ClpSerializer.translateInput(boStoricoSoggettoPratica) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica createBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, - new Object[] { storicoSoggettoPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica deleteBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, - new Object[] { storicoSoggettoPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica deleteBoStoricoSoggettoPratica( - it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { - ClpSerializer.translateInput(boStoricoSoggettoPratica) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica fetchBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, - new Object[] { storicoSoggettoPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica getBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, - new Object[] { storicoSoggettoPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getBoStoricoSoggettoPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getBoStoricoSoggettoPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica updateBoStoricoSoggettoPratica( - it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { - ClpSerializer.translateInput(boStoricoSoggettoPratica) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoStoricoSoggettoPraticaLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoStoricoSoggettoPraticaLocalServiceUtil.java deleted file mode 100644 index 53a13a00..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoStoricoSoggettoPraticaLocalServiceUtil.java +++ /dev/null @@ -1,313 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for BoStoricoSoggettoPratica. This utility wraps - * {@link it.tref.liferay.portos.portosimport.service.impl.BoStoricoSoggettoPraticaLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoStoricoSoggettoPraticaLocalService - * @see it.tref.liferay.portos.portosimport.service.base.BoStoricoSoggettoPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.BoStoricoSoggettoPraticaLocalServiceImpl - * @generated - */ -public class BoStoricoSoggettoPraticaLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.BoStoricoSoggettoPraticaLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the bo storico soggetto pratica to the database. Also notifies the appropriate model listeners. - * - * @param boStoricoSoggettoPratica the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica addBoStoricoSoggettoPratica( - it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addBoStoricoSoggettoPratica(boStoricoSoggettoPratica); - } - - /** - * Creates a new bo storico soggetto pratica with the primary key. Does not add the bo storico soggetto pratica to the database. - * - * @param storicoSoggettoPraticaId the primary key for the new bo storico soggetto pratica - * @return the new bo storico soggetto pratica - */ - public static it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica createBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) { - return getService() - .createBoStoricoSoggettoPratica(storicoSoggettoPraticaId); - } - - /** - * Deletes the bo storico soggetto pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param storicoSoggettoPraticaId the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was removed - * @throws PortalException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica deleteBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService() - .deleteBoStoricoSoggettoPratica(storicoSoggettoPraticaId); - } - - /** - * Deletes the bo storico soggetto pratica from the database. Also notifies the appropriate model listeners. - * - * @param boStoricoSoggettoPratica the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica deleteBoStoricoSoggettoPratica( - it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .deleteBoStoricoSoggettoPratica(boStoricoSoggettoPratica); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica fetchBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .fetchBoStoricoSoggettoPratica(storicoSoggettoPraticaId); - } - - /** - * Returns the bo storico soggetto pratica with the primary key. - * - * @param storicoSoggettoPraticaId the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica - * @throws PortalException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica getBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoStoricoSoggettoPratica(storicoSoggettoPraticaId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the bo storico soggetto praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo storico soggetto praticas - * @param end the upper bound of the range of bo storico soggetto praticas (not inclusive) - * @return the range of bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List getBoStoricoSoggettoPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoStoricoSoggettoPraticas(start, end); - } - - /** - * Returns the number of bo storico soggetto praticas. - * - * @return the number of bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - public static int getBoStoricoSoggettoPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoStoricoSoggettoPraticasCount(); - } - - /** - * Updates the bo storico soggetto pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boStoricoSoggettoPratica the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica updateBoStoricoSoggettoPratica( - it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .updateBoStoricoSoggettoPratica(boStoricoSoggettoPratica); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static BoStoricoSoggettoPraticaLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - BoStoricoSoggettoPraticaLocalService.class.getName()); - - if (invokableLocalService instanceof BoStoricoSoggettoPraticaLocalService) { - _service = (BoStoricoSoggettoPraticaLocalService)invokableLocalService; - } - else { - _service = new BoStoricoSoggettoPraticaLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(BoStoricoSoggettoPraticaLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(BoStoricoSoggettoPraticaLocalService service) { - } - - private static BoStoricoSoggettoPraticaLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoStoricoSoggettoPraticaLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoStoricoSoggettoPraticaLocalServiceWrapper.java deleted file mode 100644 index 33cdff38..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoStoricoSoggettoPraticaLocalServiceWrapper.java +++ /dev/null @@ -1,320 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link BoStoricoSoggettoPraticaLocalService}. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoStoricoSoggettoPraticaLocalService - * @generated - */ -public class BoStoricoSoggettoPraticaLocalServiceWrapper - implements BoStoricoSoggettoPraticaLocalService, - ServiceWrapper { - public BoStoricoSoggettoPraticaLocalServiceWrapper( - BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - _boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Adds the bo storico soggetto pratica to the database. Also notifies the appropriate model listeners. - * - * @param boStoricoSoggettoPratica the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica addBoStoricoSoggettoPratica( - it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boStoricoSoggettoPraticaLocalService.addBoStoricoSoggettoPratica(boStoricoSoggettoPratica); - } - - /** - * Creates a new bo storico soggetto pratica with the primary key. Does not add the bo storico soggetto pratica to the database. - * - * @param storicoSoggettoPraticaId the primary key for the new bo storico soggetto pratica - * @return the new bo storico soggetto pratica - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica createBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) { - return _boStoricoSoggettoPraticaLocalService.createBoStoricoSoggettoPratica(storicoSoggettoPraticaId); - } - - /** - * Deletes the bo storico soggetto pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param storicoSoggettoPraticaId the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was removed - * @throws PortalException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica deleteBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boStoricoSoggettoPraticaLocalService.deleteBoStoricoSoggettoPratica(storicoSoggettoPraticaId); - } - - /** - * Deletes the bo storico soggetto pratica from the database. Also notifies the appropriate model listeners. - * - * @param boStoricoSoggettoPratica the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica deleteBoStoricoSoggettoPratica( - it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boStoricoSoggettoPraticaLocalService.deleteBoStoricoSoggettoPratica(boStoricoSoggettoPratica); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _boStoricoSoggettoPraticaLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boStoricoSoggettoPraticaLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _boStoricoSoggettoPraticaLocalService.dynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _boStoricoSoggettoPraticaLocalService.dynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boStoricoSoggettoPraticaLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _boStoricoSoggettoPraticaLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica fetchBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boStoricoSoggettoPraticaLocalService.fetchBoStoricoSoggettoPratica(storicoSoggettoPraticaId); - } - - /** - * Returns the bo storico soggetto pratica with the primary key. - * - * @param storicoSoggettoPraticaId the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica - * @throws PortalException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica getBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boStoricoSoggettoPraticaLocalService.getBoStoricoSoggettoPratica(storicoSoggettoPraticaId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boStoricoSoggettoPraticaLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the bo storico soggetto praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo storico soggetto praticas - * @param end the upper bound of the range of bo storico soggetto praticas (not inclusive) - * @return the range of bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getBoStoricoSoggettoPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _boStoricoSoggettoPraticaLocalService.getBoStoricoSoggettoPraticas(start, - end); - } - - /** - * Returns the number of bo storico soggetto praticas. - * - * @return the number of bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoStoricoSoggettoPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _boStoricoSoggettoPraticaLocalService.getBoStoricoSoggettoPraticasCount(); - } - - /** - * Updates the bo storico soggetto pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boStoricoSoggettoPratica the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica updateBoStoricoSoggettoPratica( - it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boStoricoSoggettoPraticaLocalService.updateBoStoricoSoggettoPratica(boStoricoSoggettoPratica); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _boStoricoSoggettoPraticaLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _boStoricoSoggettoPraticaLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _boStoricoSoggettoPraticaLocalService.invokeMethod(name, - parameterTypes, arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public BoStoricoSoggettoPraticaLocalService getWrappedBoStoricoSoggettoPraticaLocalService() { - return _boStoricoSoggettoPraticaLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedBoStoricoSoggettoPraticaLocalService( - BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - _boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - @Override - public BoStoricoSoggettoPraticaLocalService getWrappedService() { - return _boStoricoSoggettoPraticaLocalService; - } - - @Override - public void setWrappedService( - BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - _boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - private BoStoricoSoggettoPraticaLocalService _boStoricoSoggettoPraticaLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoTempisticaLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoTempisticaLocalService.java deleted file mode 100644 index 1d1efa65..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoTempisticaLocalService.java +++ /dev/null @@ -1,312 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for BoTempistica. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoTempisticaLocalServiceUtil - * @see it.tref.liferay.portos.portosimport.service.base.BoTempisticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.BoTempisticaLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface BoTempisticaLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoTempisticaLocalServiceUtil} to access the bo tempistica local service. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.BoTempisticaLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the bo tempistica to the database. Also notifies the appropriate model listeners. - * - * @param boTempistica the bo tempistica - * @return the bo tempistica that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.BoTempistica addBoTempistica( - it.tref.liferay.portos.portosimport.model.BoTempistica boTempistica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new bo tempistica with the primary key. Does not add the bo tempistica to the database. - * - * @param tempisticaId the primary key for the new bo tempistica - * @return the new bo tempistica - */ - public it.tref.liferay.portos.portosimport.model.BoTempistica createBoTempistica( - long tempisticaId); - - /** - * Deletes the bo tempistica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param tempisticaId the primary key of the bo tempistica - * @return the bo tempistica that was removed - * @throws PortalException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.BoTempistica deleteBoTempistica( - long tempisticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the bo tempistica from the database. Also notifies the appropriate model listeners. - * - * @param boTempistica the bo tempistica - * @return the bo tempistica that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.BoTempistica deleteBoTempistica( - it.tref.liferay.portos.portosimport.model.BoTempistica boTempistica) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoTempistica fetchBoTempistica( - long tempisticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo tempistica with the matching UUID and company. - * - * @param uuid the bo tempistica's UUID - * @param companyId the primary key of the company - * @return the matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoTempistica fetchBoTempisticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo tempistica matching the UUID and group. - * - * @param uuid the bo tempistica's UUID - * @param groupId the primary key of the group - * @return the matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoTempistica fetchBoTempisticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo tempistica with the primary key. - * - * @param tempisticaId the primary key of the bo tempistica - * @return the bo tempistica - * @throws PortalException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoTempistica getBoTempistica( - long tempisticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo tempistica with the matching UUID and company. - * - * @param uuid the bo tempistica's UUID - * @param companyId the primary key of the company - * @return the matching bo tempistica - * @throws PortalException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoTempistica getBoTempisticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo tempistica matching the UUID and group. - * - * @param uuid the bo tempistica's UUID - * @param groupId the primary key of the group - * @return the matching bo tempistica - * @throws PortalException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoTempistica getBoTempisticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo tempisticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @return the range of bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getBoTempisticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo tempisticas. - * - * @return the number of bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getBoTempisticasCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the bo tempistica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boTempistica the bo tempistica - * @return the bo tempistica that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.BoTempistica updateBoTempistica( - it.tref.liferay.portos.portosimport.model.BoTempistica boTempistica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoTempisticaLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoTempisticaLocalServiceClp.java deleted file mode 100644 index 0d152a06..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoTempisticaLocalServiceClp.java +++ /dev/null @@ -1,860 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoTempisticaLocalServiceClp implements BoTempisticaLocalService { - public BoTempisticaLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addBoTempistica"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoTempistica" - }; - - _methodName1 = "createBoTempistica"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoTempistica"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoTempistica"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoTempistica" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoTempistica"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchBoTempisticaByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchBoTempisticaByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getBoTempistica"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getBoTempisticaByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getBoTempisticaByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getBoTempisticas"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getBoTempisticasCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateBoTempistica"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoTempistica" - }; - - _methodName20 = "getBeanIdentifier"; - - _methodParameterTypes20 = new String[] { }; - - _methodName21 = "setBeanIdentifier"; - - _methodParameterTypes21 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoTempistica addBoTempistica( - it.tref.liferay.portos.portosimport.model.BoTempistica boTempistica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(boTempistica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoTempistica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoTempistica createBoTempistica( - long tempisticaId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { tempisticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoTempistica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoTempistica deleteBoTempistica( - long tempisticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { tempisticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoTempistica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoTempistica deleteBoTempistica( - it.tref.liferay.portos.portosimport.model.BoTempistica boTempistica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(boTempistica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoTempistica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoTempistica fetchBoTempistica( - long tempisticaId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { tempisticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoTempistica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoTempistica fetchBoTempisticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoTempistica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoTempistica fetchBoTempisticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoTempistica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoTempistica getBoTempistica( - long tempisticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { tempisticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoTempistica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoTempistica getBoTempisticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoTempistica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoTempistica getBoTempisticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoTempistica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getBoTempisticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getBoTempisticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName18, - _methodParameterTypes18, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoTempistica updateBoTempistica( - it.tref.liferay.portos.portosimport.model.BoTempistica boTempistica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName19, - _methodParameterTypes19, - new Object[] { ClpSerializer.translateInput(boTempistica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoTempistica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName20, - _methodParameterTypes20, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName21, - _methodParameterTypes21, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName20; - private String[] _methodParameterTypes20; - private String _methodName21; - private String[] _methodParameterTypes21; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoTempisticaLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoTempisticaLocalServiceUtil.java deleted file mode 100644 index 9cebd98f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoTempisticaLocalServiceUtil.java +++ /dev/null @@ -1,368 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for BoTempistica. This utility wraps - * {@link it.tref.liferay.portos.portosimport.service.impl.BoTempisticaLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoTempisticaLocalService - * @see it.tref.liferay.portos.portosimport.service.base.BoTempisticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.BoTempisticaLocalServiceImpl - * @generated - */ -public class BoTempisticaLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.BoTempisticaLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the bo tempistica to the database. Also notifies the appropriate model listeners. - * - * @param boTempistica the bo tempistica - * @return the bo tempistica that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTempistica addBoTempistica( - it.tref.liferay.portos.portosimport.model.BoTempistica boTempistica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addBoTempistica(boTempistica); - } - - /** - * Creates a new bo tempistica with the primary key. Does not add the bo tempistica to the database. - * - * @param tempisticaId the primary key for the new bo tempistica - * @return the new bo tempistica - */ - public static it.tref.liferay.portos.portosimport.model.BoTempistica createBoTempistica( - long tempisticaId) { - return getService().createBoTempistica(tempisticaId); - } - - /** - * Deletes the bo tempistica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param tempisticaId the primary key of the bo tempistica - * @return the bo tempistica that was removed - * @throws PortalException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTempistica deleteBoTempistica( - long tempisticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoTempistica(tempisticaId); - } - - /** - * Deletes the bo tempistica from the database. Also notifies the appropriate model listeners. - * - * @param boTempistica the bo tempistica - * @return the bo tempistica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTempistica deleteBoTempistica( - it.tref.liferay.portos.portosimport.model.BoTempistica boTempistica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoTempistica(boTempistica); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.portosimport.model.BoTempistica fetchBoTempistica( - long tempisticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoTempistica(tempisticaId); - } - - /** - * Returns the bo tempistica with the matching UUID and company. - * - * @param uuid the bo tempistica's UUID - * @param companyId the primary key of the company - * @return the matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTempistica fetchBoTempisticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoTempisticaByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the bo tempistica matching the UUID and group. - * - * @param uuid the bo tempistica's UUID - * @param groupId the primary key of the group - * @return the matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTempistica fetchBoTempisticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoTempisticaByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns the bo tempistica with the primary key. - * - * @param tempisticaId the primary key of the bo tempistica - * @return the bo tempistica - * @throws PortalException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTempistica getBoTempistica( - long tempisticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoTempistica(tempisticaId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns the bo tempistica with the matching UUID and company. - * - * @param uuid the bo tempistica's UUID - * @param companyId the primary key of the company - * @return the matching bo tempistica - * @throws PortalException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTempistica getBoTempisticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoTempisticaByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the bo tempistica matching the UUID and group. - * - * @param uuid the bo tempistica's UUID - * @param groupId the primary key of the group - * @return the matching bo tempistica - * @throws PortalException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTempistica getBoTempisticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoTempisticaByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns a range of all the bo tempisticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @return the range of bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List getBoTempisticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoTempisticas(start, end); - } - - /** - * Returns the number of bo tempisticas. - * - * @return the number of bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static int getBoTempisticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoTempisticasCount(); - } - - /** - * Updates the bo tempistica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boTempistica the bo tempistica - * @return the bo tempistica that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTempistica updateBoTempistica( - it.tref.liferay.portos.portosimport.model.BoTempistica boTempistica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateBoTempistica(boTempistica); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static BoTempisticaLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - BoTempisticaLocalService.class.getName()); - - if (invokableLocalService instanceof BoTempisticaLocalService) { - _service = (BoTempisticaLocalService)invokableLocalService; - } - else { - _service = new BoTempisticaLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(BoTempisticaLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(BoTempisticaLocalService service) { - } - - private static BoTempisticaLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoTempisticaLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoTempisticaLocalServiceWrapper.java deleted file mode 100644 index 41387645..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoTempisticaLocalServiceWrapper.java +++ /dev/null @@ -1,385 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link BoTempisticaLocalService}. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoTempisticaLocalService - * @generated - */ -public class BoTempisticaLocalServiceWrapper implements BoTempisticaLocalService, - ServiceWrapper { - public BoTempisticaLocalServiceWrapper( - BoTempisticaLocalService boTempisticaLocalService) { - _boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Adds the bo tempistica to the database. Also notifies the appropriate model listeners. - * - * @param boTempistica the bo tempistica - * @return the bo tempistica that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoTempistica addBoTempistica( - it.tref.liferay.portos.portosimport.model.BoTempistica boTempistica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTempisticaLocalService.addBoTempistica(boTempistica); - } - - /** - * Creates a new bo tempistica with the primary key. Does not add the bo tempistica to the database. - * - * @param tempisticaId the primary key for the new bo tempistica - * @return the new bo tempistica - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoTempistica createBoTempistica( - long tempisticaId) { - return _boTempisticaLocalService.createBoTempistica(tempisticaId); - } - - /** - * Deletes the bo tempistica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param tempisticaId the primary key of the bo tempistica - * @return the bo tempistica that was removed - * @throws PortalException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoTempistica deleteBoTempistica( - long tempisticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boTempisticaLocalService.deleteBoTempistica(tempisticaId); - } - - /** - * Deletes the bo tempistica from the database. Also notifies the appropriate model listeners. - * - * @param boTempistica the bo tempistica - * @return the bo tempistica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoTempistica deleteBoTempistica( - it.tref.liferay.portos.portosimport.model.BoTempistica boTempistica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTempisticaLocalService.deleteBoTempistica(boTempistica); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _boTempisticaLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTempisticaLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _boTempisticaLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTempisticaLocalService.dynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTempisticaLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTempisticaLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoTempistica fetchBoTempistica( - long tempisticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTempisticaLocalService.fetchBoTempistica(tempisticaId); - } - - /** - * Returns the bo tempistica with the matching UUID and company. - * - * @param uuid the bo tempistica's UUID - * @param companyId the primary key of the company - * @return the matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoTempistica fetchBoTempisticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTempisticaLocalService.fetchBoTempisticaByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the bo tempistica matching the UUID and group. - * - * @param uuid the bo tempistica's UUID - * @param groupId the primary key of the group - * @return the matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoTempistica fetchBoTempisticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTempisticaLocalService.fetchBoTempisticaByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns the bo tempistica with the primary key. - * - * @param tempisticaId the primary key of the bo tempistica - * @return the bo tempistica - * @throws PortalException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoTempistica getBoTempistica( - long tempisticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boTempisticaLocalService.getBoTempistica(tempisticaId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boTempisticaLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns the bo tempistica with the matching UUID and company. - * - * @param uuid the bo tempistica's UUID - * @param companyId the primary key of the company - * @return the matching bo tempistica - * @throws PortalException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoTempistica getBoTempisticaByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boTempisticaLocalService.getBoTempisticaByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the bo tempistica matching the UUID and group. - * - * @param uuid the bo tempistica's UUID - * @param groupId the primary key of the group - * @return the matching bo tempistica - * @throws PortalException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoTempistica getBoTempisticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boTempisticaLocalService.getBoTempisticaByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns a range of all the bo tempisticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @return the range of bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getBoTempisticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTempisticaLocalService.getBoTempisticas(start, end); - } - - /** - * Returns the number of bo tempisticas. - * - * @return the number of bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoTempisticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _boTempisticaLocalService.getBoTempisticasCount(); - } - - /** - * Updates the bo tempistica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boTempistica the bo tempistica - * @return the bo tempistica that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoTempistica updateBoTempistica( - it.tref.liferay.portos.portosimport.model.BoTempistica boTempistica) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTempisticaLocalService.updateBoTempistica(boTempistica); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _boTempisticaLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _boTempisticaLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _boTempisticaLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public BoTempisticaLocalService getWrappedBoTempisticaLocalService() { - return _boTempisticaLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedBoTempisticaLocalService( - BoTempisticaLocalService boTempisticaLocalService) { - _boTempisticaLocalService = boTempisticaLocalService; - } - - @Override - public BoTempisticaLocalService getWrappedService() { - return _boTempisticaLocalService; - } - - @Override - public void setWrappedService( - BoTempisticaLocalService boTempisticaLocalService) { - _boTempisticaLocalService = boTempisticaLocalService; - } - - private BoTempisticaLocalService _boTempisticaLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoTerritorioLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoTerritorioLocalService.java deleted file mode 100644 index 06628349..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoTerritorioLocalService.java +++ /dev/null @@ -1,256 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for BoTerritorio. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoTerritorioLocalServiceUtil - * @see it.tref.liferay.portos.portosimport.service.base.BoTerritorioLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.BoTerritorioLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface BoTerritorioLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoTerritorioLocalServiceUtil} to access the bo territorio local service. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.BoTerritorioLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the bo territorio to the database. Also notifies the appropriate model listeners. - * - * @param boTerritorio the bo territorio - * @return the bo territorio that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.BoTerritorio addBoTerritorio( - it.tref.liferay.portos.portosimport.model.BoTerritorio boTerritorio) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new bo territorio with the primary key. Does not add the bo territorio to the database. - * - * @param territorioId the primary key for the new bo territorio - * @return the new bo territorio - */ - public it.tref.liferay.portos.portosimport.model.BoTerritorio createBoTerritorio( - long territorioId); - - /** - * Deletes the bo territorio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param territorioId the primary key of the bo territorio - * @return the bo territorio that was removed - * @throws PortalException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.BoTerritorio deleteBoTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the bo territorio from the database. Also notifies the appropriate model listeners. - * - * @param boTerritorio the bo territorio - * @return the bo territorio that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.BoTerritorio deleteBoTerritorio( - it.tref.liferay.portos.portosimport.model.BoTerritorio boTerritorio) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoTerritorio fetchBoTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo territorio with the primary key. - * - * @param territorioId the primary key of the bo territorio - * @return the bo territorio - * @throws PortalException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.BoTerritorio getBoTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of bo territorios - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getBoTerritorios( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo territorios. - * - * @return the number of bo territorios - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getBoTerritoriosCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the bo territorio in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boTerritorio the bo territorio - * @return the bo territorio that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.BoTerritorio updateBoTerritorio( - it.tref.liferay.portos.portosimport.model.BoTerritorio boTerritorio) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoTerritorioLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoTerritorioLocalServiceClp.java deleted file mode 100644 index ff7cc056..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoTerritorioLocalServiceClp.java +++ /dev/null @@ -1,706 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoTerritorioLocalServiceClp implements BoTerritorioLocalService { - public BoTerritorioLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addBoTerritorio"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoTerritorio" - }; - - _methodName1 = "createBoTerritorio"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoTerritorio"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoTerritorio"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoTerritorio" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoTerritorio"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getBoTerritorio"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getBoTerritorios"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getBoTerritoriosCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateBoTerritorio"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoTerritorio" - }; - - _methodName16 = "getBeanIdentifier"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "setBeanIdentifier"; - - _methodParameterTypes17 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoTerritorio addBoTerritorio( - it.tref.liferay.portos.portosimport.model.BoTerritorio boTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(boTerritorio) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoTerritorio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoTerritorio createBoTerritorio( - long territorioId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { territorioId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoTerritorio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoTerritorio deleteBoTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { territorioId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoTerritorio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoTerritorio deleteBoTerritorio( - it.tref.liferay.portos.portosimport.model.BoTerritorio boTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(boTerritorio) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoTerritorio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoTerritorio fetchBoTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { territorioId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoTerritorio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoTerritorio getBoTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, new Object[] { territorioId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoTerritorio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getBoTerritorios( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getBoTerritoriosCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoTerritorio updateBoTerritorio( - it.tref.liferay.portos.portosimport.model.BoTerritorio boTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(boTerritorio) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.BoTerritorio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoTerritorioLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoTerritorioLocalServiceUtil.java deleted file mode 100644 index 14986ad0..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoTerritorioLocalServiceUtil.java +++ /dev/null @@ -1,308 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for BoTerritorio. This utility wraps - * {@link it.tref.liferay.portos.portosimport.service.impl.BoTerritorioLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoTerritorioLocalService - * @see it.tref.liferay.portos.portosimport.service.base.BoTerritorioLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.BoTerritorioLocalServiceImpl - * @generated - */ -public class BoTerritorioLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.BoTerritorioLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the bo territorio to the database. Also notifies the appropriate model listeners. - * - * @param boTerritorio the bo territorio - * @return the bo territorio that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTerritorio addBoTerritorio( - it.tref.liferay.portos.portosimport.model.BoTerritorio boTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addBoTerritorio(boTerritorio); - } - - /** - * Creates a new bo territorio with the primary key. Does not add the bo territorio to the database. - * - * @param territorioId the primary key for the new bo territorio - * @return the new bo territorio - */ - public static it.tref.liferay.portos.portosimport.model.BoTerritorio createBoTerritorio( - long territorioId) { - return getService().createBoTerritorio(territorioId); - } - - /** - * Deletes the bo territorio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param territorioId the primary key of the bo territorio - * @return the bo territorio that was removed - * @throws PortalException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTerritorio deleteBoTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoTerritorio(territorioId); - } - - /** - * Deletes the bo territorio from the database. Also notifies the appropriate model listeners. - * - * @param boTerritorio the bo territorio - * @return the bo territorio that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTerritorio deleteBoTerritorio( - it.tref.liferay.portos.portosimport.model.BoTerritorio boTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteBoTerritorio(boTerritorio); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.portosimport.model.BoTerritorio fetchBoTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBoTerritorio(territorioId); - } - - /** - * Returns the bo territorio with the primary key. - * - * @param territorioId the primary key of the bo territorio - * @return the bo territorio - * @throws PortalException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTerritorio getBoTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getBoTerritorio(territorioId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the bo territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of bo territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List getBoTerritorios( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoTerritorios(start, end); - } - - /** - * Returns the number of bo territorios. - * - * @return the number of bo territorios - * @throws SystemException if a system exception occurred - */ - public static int getBoTerritoriosCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getBoTerritoriosCount(); - } - - /** - * Updates the bo territorio in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boTerritorio the bo territorio - * @return the bo territorio that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTerritorio updateBoTerritorio( - it.tref.liferay.portos.portosimport.model.BoTerritorio boTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateBoTerritorio(boTerritorio); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static BoTerritorioLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - BoTerritorioLocalService.class.getName()); - - if (invokableLocalService instanceof BoTerritorioLocalService) { - _service = (BoTerritorioLocalService)invokableLocalService; - } - else { - _service = new BoTerritorioLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(BoTerritorioLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(BoTerritorioLocalService service) { - } - - private static BoTerritorioLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoTerritorioLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoTerritorioLocalServiceWrapper.java deleted file mode 100644 index 1d4596d9..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/BoTerritorioLocalServiceWrapper.java +++ /dev/null @@ -1,317 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link BoTerritorioLocalService}. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoTerritorioLocalService - * @generated - */ -public class BoTerritorioLocalServiceWrapper implements BoTerritorioLocalService, - ServiceWrapper { - public BoTerritorioLocalServiceWrapper( - BoTerritorioLocalService boTerritorioLocalService) { - _boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Adds the bo territorio to the database. Also notifies the appropriate model listeners. - * - * @param boTerritorio the bo territorio - * @return the bo territorio that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoTerritorio addBoTerritorio( - it.tref.liferay.portos.portosimport.model.BoTerritorio boTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTerritorioLocalService.addBoTerritorio(boTerritorio); - } - - /** - * Creates a new bo territorio with the primary key. Does not add the bo territorio to the database. - * - * @param territorioId the primary key for the new bo territorio - * @return the new bo territorio - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoTerritorio createBoTerritorio( - long territorioId) { - return _boTerritorioLocalService.createBoTerritorio(territorioId); - } - - /** - * Deletes the bo territorio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param territorioId the primary key of the bo territorio - * @return the bo territorio that was removed - * @throws PortalException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoTerritorio deleteBoTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boTerritorioLocalService.deleteBoTerritorio(territorioId); - } - - /** - * Deletes the bo territorio from the database. Also notifies the appropriate model listeners. - * - * @param boTerritorio the bo territorio - * @return the bo territorio that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoTerritorio deleteBoTerritorio( - it.tref.liferay.portos.portosimport.model.BoTerritorio boTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTerritorioLocalService.deleteBoTerritorio(boTerritorio); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _boTerritorioLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTerritorioLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _boTerritorioLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTerritorioLocalService.dynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTerritorioLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTerritorioLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.portosimport.model.BoTerritorio fetchBoTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTerritorioLocalService.fetchBoTerritorio(territorioId); - } - - /** - * Returns the bo territorio with the primary key. - * - * @param territorioId the primary key of the bo territorio - * @return the bo territorio - * @throws PortalException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoTerritorio getBoTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boTerritorioLocalService.getBoTerritorio(territorioId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _boTerritorioLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the bo territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getBoTerritorios( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTerritorioLocalService.getBoTerritorios(start, end); - } - - /** - * Returns the number of bo territorios. - * - * @return the number of bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoTerritoriosCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _boTerritorioLocalService.getBoTerritoriosCount(); - } - - /** - * Updates the bo territorio in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boTerritorio the bo territorio - * @return the bo territorio that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.BoTerritorio updateBoTerritorio( - it.tref.liferay.portos.portosimport.model.BoTerritorio boTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - return _boTerritorioLocalService.updateBoTerritorio(boTerritorio); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _boTerritorioLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _boTerritorioLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _boTerritorioLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public BoTerritorioLocalService getWrappedBoTerritorioLocalService() { - return _boTerritorioLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedBoTerritorioLocalService( - BoTerritorioLocalService boTerritorioLocalService) { - _boTerritorioLocalService = boTerritorioLocalService; - } - - @Override - public BoTerritorioLocalService getWrappedService() { - return _boTerritorioLocalService; - } - - @Override - public void setWrappedService( - BoTerritorioLocalService boTerritorioLocalService) { - _boTerritorioLocalService = boTerritorioLocalService; - } - - private BoTerritorioLocalService _boTerritorioLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/ClpSerializer.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/ClpSerializer.java deleted file mode 100644 index 21050137..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/ClpSerializer.java +++ /dev/null @@ -1,1500 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.io.unsync.UnsyncByteArrayInputStream; -import com.liferay.portal.kernel.io.unsync.UnsyncByteArrayOutputStream; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.ClassLoaderObjectInputStream; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.BaseModel; - -import it.tref.liferay.portos.portosimport.model.BoArtLeggeClp; -import it.tref.liferay.portos.portosimport.model.BoAvvisoClp; -import it.tref.liferay.portos.portosimport.model.BoComuneClp; -import it.tref.liferay.portos.portosimport.model.BoDettPraticaClp; -import it.tref.liferay.portos.portosimport.model.BoDocPraticaClp; -import it.tref.liferay.portos.portosimport.model.BoIntPraticaClp; -import it.tref.liferay.portos.portosimport.model.BoProblemiPraticaClp; -import it.tref.liferay.portos.portosimport.model.BoRelLeggiPraticaClp; -import it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivoClp; -import it.tref.liferay.portos.portosimport.model.BoSoggettoClp; -import it.tref.liferay.portos.portosimport.model.BoSorteggioClp; -import it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPraticaClp; -import it.tref.liferay.portos.portosimport.model.BoTempisticaClp; -import it.tref.liferay.portos.portosimport.model.BoTerritorioClp; -import it.tref.liferay.portos.portosimport.model.FeComuneClp; -import it.tref.liferay.portos.portosimport.model.FeDettPraticaClp; -import it.tref.liferay.portos.portosimport.model.FeIntPraticaClp; -import it.tref.liferay.portos.portosimport.model.FePagamentoClp; -import it.tref.liferay.portos.portosimport.model.FeTerritorioClp; - -import java.io.ObjectInputStream; -import java.io.ObjectOutputStream; - -import java.lang.reflect.Method; - -import java.util.ArrayList; -import java.util.List; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class ClpSerializer { - public static String getServletContextName() { - if (Validator.isNotNull(_servletContextName)) { - return _servletContextName; - } - - synchronized (ClpSerializer.class) { - if (Validator.isNotNull(_servletContextName)) { - return _servletContextName; - } - - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Class portletPropsClass = classLoader.loadClass( - "com.liferay.util.portlet.PortletProps"); - - Method getMethod = portletPropsClass.getMethod("get", - new Class[] { String.class }); - - String portletPropsServletContextName = (String)getMethod.invoke(null, - "portos-plugin-importazione-portlet-deployment-context"); - - if (Validator.isNotNull(portletPropsServletContextName)) { - _servletContextName = portletPropsServletContextName; - } - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info( - "Unable to locate deployment context from portlet properties"); - } - } - - if (Validator.isNull(_servletContextName)) { - try { - String propsUtilServletContextName = PropsUtil.get( - "portos-plugin-importazione-portlet-deployment-context"); - - if (Validator.isNotNull(propsUtilServletContextName)) { - _servletContextName = propsUtilServletContextName; - } - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info( - "Unable to locate deployment context from portal properties"); - } - } - } - - if (Validator.isNull(_servletContextName)) { - _servletContextName = "portos-plugin-importazione-portlet"; - } - - return _servletContextName; - } - } - - public static Object translateInput(BaseModel oldModel) { - Class oldModelClass = oldModel.getClass(); - - String oldModelClassName = oldModelClass.getName(); - - if (oldModelClassName.equals(BoArtLeggeClp.class.getName())) { - return translateInputBoArtLegge(oldModel); - } - - if (oldModelClassName.equals(BoAvvisoClp.class.getName())) { - return translateInputBoAvviso(oldModel); - } - - if (oldModelClassName.equals(BoComuneClp.class.getName())) { - return translateInputBoComune(oldModel); - } - - if (oldModelClassName.equals(BoDettPraticaClp.class.getName())) { - return translateInputBoDettPratica(oldModel); - } - - if (oldModelClassName.equals(BoDocPraticaClp.class.getName())) { - return translateInputBoDocPratica(oldModel); - } - - if (oldModelClassName.equals(BoIntPraticaClp.class.getName())) { - return translateInputBoIntPratica(oldModel); - } - - if (oldModelClassName.equals(BoProblemiPraticaClp.class.getName())) { - return translateInputBoProblemiPratica(oldModel); - } - - if (oldModelClassName.equals(BoRelLeggiPraticaClp.class.getName())) { - return translateInputBoRelLeggiPratica(oldModel); - } - - if (oldModelClassName.equals(BoSistemaCostruttivoClp.class.getName())) { - return translateInputBoSistemaCostruttivo(oldModel); - } - - if (oldModelClassName.equals(BoSoggettoClp.class.getName())) { - return translateInputBoSoggetto(oldModel); - } - - if (oldModelClassName.equals(BoSorteggioClp.class.getName())) { - return translateInputBoSorteggio(oldModel); - } - - if (oldModelClassName.equals( - BoStoricoSoggettoPraticaClp.class.getName())) { - return translateInputBoStoricoSoggettoPratica(oldModel); - } - - if (oldModelClassName.equals(BoTempisticaClp.class.getName())) { - return translateInputBoTempistica(oldModel); - } - - if (oldModelClassName.equals(BoTerritorioClp.class.getName())) { - return translateInputBoTerritorio(oldModel); - } - - if (oldModelClassName.equals(FeComuneClp.class.getName())) { - return translateInputFeComune(oldModel); - } - - if (oldModelClassName.equals(FeDettPraticaClp.class.getName())) { - return translateInputFeDettPratica(oldModel); - } - - if (oldModelClassName.equals(FeIntPraticaClp.class.getName())) { - return translateInputFeIntPratica(oldModel); - } - - if (oldModelClassName.equals(FePagamentoClp.class.getName())) { - return translateInputFePagamento(oldModel); - } - - if (oldModelClassName.equals(FeTerritorioClp.class.getName())) { - return translateInputFeTerritorio(oldModel); - } - - return oldModel; - } - - public static Object translateInput(List oldList) { - List newList = new ArrayList(oldList.size()); - - for (int i = 0; i < oldList.size(); i++) { - Object curObj = oldList.get(i); - - newList.add(translateInput(curObj)); - } - - return newList; - } - - public static Object translateInputBoArtLegge(BaseModel oldModel) { - BoArtLeggeClp oldClpModel = (BoArtLeggeClp)oldModel; - - BaseModel newModel = oldClpModel.getBoArtLeggeRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputBoAvviso(BaseModel oldModel) { - BoAvvisoClp oldClpModel = (BoAvvisoClp)oldModel; - - BaseModel newModel = oldClpModel.getBoAvvisoRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputBoComune(BaseModel oldModel) { - BoComuneClp oldClpModel = (BoComuneClp)oldModel; - - BaseModel newModel = oldClpModel.getBoComuneRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputBoDettPratica(BaseModel oldModel) { - BoDettPraticaClp oldClpModel = (BoDettPraticaClp)oldModel; - - BaseModel newModel = oldClpModel.getBoDettPraticaRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputBoDocPratica(BaseModel oldModel) { - BoDocPraticaClp oldClpModel = (BoDocPraticaClp)oldModel; - - BaseModel newModel = oldClpModel.getBoDocPraticaRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputBoIntPratica(BaseModel oldModel) { - BoIntPraticaClp oldClpModel = (BoIntPraticaClp)oldModel; - - BaseModel newModel = oldClpModel.getBoIntPraticaRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputBoProblemiPratica(BaseModel oldModel) { - BoProblemiPraticaClp oldClpModel = (BoProblemiPraticaClp)oldModel; - - BaseModel newModel = oldClpModel.getBoProblemiPraticaRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputBoRelLeggiPratica(BaseModel oldModel) { - BoRelLeggiPraticaClp oldClpModel = (BoRelLeggiPraticaClp)oldModel; - - BaseModel newModel = oldClpModel.getBoRelLeggiPraticaRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputBoSistemaCostruttivo( - BaseModel oldModel) { - BoSistemaCostruttivoClp oldClpModel = (BoSistemaCostruttivoClp)oldModel; - - BaseModel newModel = oldClpModel.getBoSistemaCostruttivoRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputBoSoggetto(BaseModel oldModel) { - BoSoggettoClp oldClpModel = (BoSoggettoClp)oldModel; - - BaseModel newModel = oldClpModel.getBoSoggettoRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputBoSorteggio(BaseModel oldModel) { - BoSorteggioClp oldClpModel = (BoSorteggioClp)oldModel; - - BaseModel newModel = oldClpModel.getBoSorteggioRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputBoStoricoSoggettoPratica( - BaseModel oldModel) { - BoStoricoSoggettoPraticaClp oldClpModel = (BoStoricoSoggettoPraticaClp)oldModel; - - BaseModel newModel = oldClpModel.getBoStoricoSoggettoPraticaRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputBoTempistica(BaseModel oldModel) { - BoTempisticaClp oldClpModel = (BoTempisticaClp)oldModel; - - BaseModel newModel = oldClpModel.getBoTempisticaRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputBoTerritorio(BaseModel oldModel) { - BoTerritorioClp oldClpModel = (BoTerritorioClp)oldModel; - - BaseModel newModel = oldClpModel.getBoTerritorioRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputFeComune(BaseModel oldModel) { - FeComuneClp oldClpModel = (FeComuneClp)oldModel; - - BaseModel newModel = oldClpModel.getFeComuneRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputFeDettPratica(BaseModel oldModel) { - FeDettPraticaClp oldClpModel = (FeDettPraticaClp)oldModel; - - BaseModel newModel = oldClpModel.getFeDettPraticaRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputFeIntPratica(BaseModel oldModel) { - FeIntPraticaClp oldClpModel = (FeIntPraticaClp)oldModel; - - BaseModel newModel = oldClpModel.getFeIntPraticaRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputFePagamento(BaseModel oldModel) { - FePagamentoClp oldClpModel = (FePagamentoClp)oldModel; - - BaseModel newModel = oldClpModel.getFePagamentoRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInputFeTerritorio(BaseModel oldModel) { - FeTerritorioClp oldClpModel = (FeTerritorioClp)oldModel; - - BaseModel newModel = oldClpModel.getFeTerritorioRemoteModel(); - - newModel.setModelAttributes(oldClpModel.getModelAttributes()); - - return newModel; - } - - public static Object translateInput(Object obj) { - if (obj instanceof BaseModel) { - return translateInput((BaseModel)obj); - } - else if (obj instanceof List) { - return translateInput((List)obj); - } - else { - return obj; - } - } - - public static Object translateOutput(BaseModel oldModel) { - Class oldModelClass = oldModel.getClass(); - - String oldModelClassName = oldModelClass.getName(); - - if (oldModelClassName.equals( - "it.tref.liferay.portos.portosimport.model.impl.BoArtLeggeImpl")) { - return translateOutputBoArtLegge(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.portosimport.model.impl.BoAvvisoImpl")) { - return translateOutputBoAvviso(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.portosimport.model.impl.BoComuneImpl")) { - return translateOutputBoComune(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaImpl")) { - return translateOutputBoDettPratica(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaImpl")) { - return translateOutputBoDocPratica(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaImpl")) { - return translateOutputBoIntPratica(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaImpl")) { - return translateOutputBoProblemiPratica(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaImpl")) { - return translateOutputBoRelLeggiPratica(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoImpl")) { - return translateOutputBoSistemaCostruttivo(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.portosimport.model.impl.BoSoggettoImpl")) { - return translateOutputBoSoggetto(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.portosimport.model.impl.BoSorteggioImpl")) { - return translateOutputBoSorteggio(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.portosimport.model.impl.BoStoricoSoggettoPraticaImpl")) { - return translateOutputBoStoricoSoggettoPratica(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.portosimport.model.impl.BoTempisticaImpl")) { - return translateOutputBoTempistica(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.portosimport.model.impl.BoTerritorioImpl")) { - return translateOutputBoTerritorio(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.portosimport.model.impl.FeComuneImpl")) { - return translateOutputFeComune(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.portosimport.model.impl.FeDettPraticaImpl")) { - return translateOutputFeDettPratica(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.portosimport.model.impl.FeIntPraticaImpl")) { - return translateOutputFeIntPratica(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.portosimport.model.impl.FePagamentoImpl")) { - return translateOutputFePagamento(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - if (oldModelClassName.equals( - "it.tref.liferay.portos.portosimport.model.impl.FeTerritorioImpl")) { - return translateOutputFeTerritorio(oldModel); - } - else if (oldModelClassName.endsWith("Clp")) { - try { - ClassLoader classLoader = ClpSerializer.class.getClassLoader(); - - Method getClpSerializerClassMethod = oldModelClass.getMethod( - "getClpSerializerClass"); - - Class oldClpSerializerClass = (Class)getClpSerializerClassMethod.invoke(oldModel); - - Class newClpSerializerClass = classLoader.loadClass(oldClpSerializerClass.getName()); - - Method translateOutputMethod = newClpSerializerClass.getMethod("translateOutput", - BaseModel.class); - - Class oldModelModelClass = oldModel.getModelClass(); - - Method getRemoteModelMethod = oldModelClass.getMethod("get" + - oldModelModelClass.getSimpleName() + "RemoteModel"); - - Object oldRemoteModel = getRemoteModelMethod.invoke(oldModel); - - BaseModel newModel = (BaseModel)translateOutputMethod.invoke(null, - oldRemoteModel); - - return newModel; - } - catch (Throwable t) { - if (_log.isInfoEnabled()) { - _log.info("Unable to translate " + oldModelClassName, t); - } - } - } - - return oldModel; - } - - public static Object translateOutput(List oldList) { - List newList = new ArrayList(oldList.size()); - - for (int i = 0; i < oldList.size(); i++) { - Object curObj = oldList.get(i); - - newList.add(translateOutput(curObj)); - } - - return newList; - } - - public static Object translateOutput(Object obj) { - if (obj instanceof BaseModel) { - return translateOutput((BaseModel)obj); - } - else if (obj instanceof List) { - return translateOutput((List)obj); - } - else { - return obj; - } - } - - public static Throwable translateThrowable(Throwable throwable) { - if (_useReflectionToTranslateThrowable) { - try { - UnsyncByteArrayOutputStream unsyncByteArrayOutputStream = new UnsyncByteArrayOutputStream(); - ObjectOutputStream objectOutputStream = new ObjectOutputStream(unsyncByteArrayOutputStream); - - objectOutputStream.writeObject(throwable); - - objectOutputStream.flush(); - objectOutputStream.close(); - - UnsyncByteArrayInputStream unsyncByteArrayInputStream = new UnsyncByteArrayInputStream(unsyncByteArrayOutputStream.unsafeGetByteArray(), - 0, unsyncByteArrayOutputStream.size()); - - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - ObjectInputStream objectInputStream = new ClassLoaderObjectInputStream(unsyncByteArrayInputStream, - contextClassLoader); - - throwable = (Throwable)objectInputStream.readObject(); - - objectInputStream.close(); - - return throwable; - } - catch (SecurityException se) { - if (_log.isInfoEnabled()) { - _log.info("Do not use reflection to translate throwable"); - } - - _useReflectionToTranslateThrowable = false; - } - catch (Throwable throwable2) { - _log.error(throwable2, throwable2); - - return throwable2; - } - } - - Class clazz = throwable.getClass(); - - String className = clazz.getName(); - - if (className.equals(PortalException.class.getName())) { - return new PortalException(); - } - - if (className.equals(SystemException.class.getName())) { - return new SystemException(); - } - - if (className.equals( - "it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException")) { - return new it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException(); - } - - if (className.equals( - "it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException")) { - return new it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException(); - } - - if (className.equals( - "it.tref.liferay.portos.portosimport.NoSuchBoComuneException")) { - return new it.tref.liferay.portos.portosimport.NoSuchBoComuneException(); - } - - if (className.equals( - "it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException")) { - return new it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException(); - } - - if (className.equals( - "it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException")) { - return new it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException(); - } - - if (className.equals( - "it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException")) { - return new it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException(); - } - - if (className.equals( - "it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException")) { - return new it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException(); - } - - if (className.equals( - "it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException")) { - return new it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException(); - } - - if (className.equals( - "it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException")) { - return new it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException(); - } - - if (className.equals( - "it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException")) { - return new it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException(); - } - - if (className.equals( - "it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException")) { - return new it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException(); - } - - if (className.equals( - "it.tref.liferay.portos.portosimport.NoSuchBoStoricoSoggettoPraticaException")) { - return new it.tref.liferay.portos.portosimport.NoSuchBoStoricoSoggettoPraticaException(); - } - - if (className.equals( - "it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException")) { - return new it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException(); - } - - if (className.equals( - "it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException")) { - return new it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException(); - } - - if (className.equals( - "it.tref.liferay.portos.portosimport.NoSuchFeComuneException")) { - return new it.tref.liferay.portos.portosimport.NoSuchFeComuneException(); - } - - if (className.equals( - "it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException")) { - return new it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException(); - } - - if (className.equals( - "it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException")) { - return new it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException(); - } - - if (className.equals( - "it.tref.liferay.portos.portosimport.NoSuchFePagamentoException")) { - return new it.tref.liferay.portos.portosimport.NoSuchFePagamentoException(); - } - - if (className.equals( - "it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException")) { - return new it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException(); - } - - return throwable; - } - - public static Object translateOutputBoArtLegge(BaseModel oldModel) { - BoArtLeggeClp newModel = new BoArtLeggeClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setBoArtLeggeRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputBoAvviso(BaseModel oldModel) { - BoAvvisoClp newModel = new BoAvvisoClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setBoAvvisoRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputBoComune(BaseModel oldModel) { - BoComuneClp newModel = new BoComuneClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setBoComuneRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputBoDettPratica(BaseModel oldModel) { - BoDettPraticaClp newModel = new BoDettPraticaClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setBoDettPraticaRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputBoDocPratica(BaseModel oldModel) { - BoDocPraticaClp newModel = new BoDocPraticaClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setBoDocPraticaRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputBoIntPratica(BaseModel oldModel) { - BoIntPraticaClp newModel = new BoIntPraticaClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setBoIntPraticaRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputBoProblemiPratica(BaseModel oldModel) { - BoProblemiPraticaClp newModel = new BoProblemiPraticaClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setBoProblemiPraticaRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputBoRelLeggiPratica(BaseModel oldModel) { - BoRelLeggiPraticaClp newModel = new BoRelLeggiPraticaClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setBoRelLeggiPraticaRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputBoSistemaCostruttivo( - BaseModel oldModel) { - BoSistemaCostruttivoClp newModel = new BoSistemaCostruttivoClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setBoSistemaCostruttivoRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputBoSoggetto(BaseModel oldModel) { - BoSoggettoClp newModel = new BoSoggettoClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setBoSoggettoRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputBoSorteggio(BaseModel oldModel) { - BoSorteggioClp newModel = new BoSorteggioClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setBoSorteggioRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputBoStoricoSoggettoPratica( - BaseModel oldModel) { - BoStoricoSoggettoPraticaClp newModel = new BoStoricoSoggettoPraticaClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setBoStoricoSoggettoPraticaRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputBoTempistica(BaseModel oldModel) { - BoTempisticaClp newModel = new BoTempisticaClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setBoTempisticaRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputBoTerritorio(BaseModel oldModel) { - BoTerritorioClp newModel = new BoTerritorioClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setBoTerritorioRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputFeComune(BaseModel oldModel) { - FeComuneClp newModel = new FeComuneClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setFeComuneRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputFeDettPratica(BaseModel oldModel) { - FeDettPraticaClp newModel = new FeDettPraticaClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setFeDettPraticaRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputFeIntPratica(BaseModel oldModel) { - FeIntPraticaClp newModel = new FeIntPraticaClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setFeIntPraticaRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputFePagamento(BaseModel oldModel) { - FePagamentoClp newModel = new FePagamentoClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setFePagamentoRemoteModel(oldModel); - - return newModel; - } - - public static Object translateOutputFeTerritorio(BaseModel oldModel) { - FeTerritorioClp newModel = new FeTerritorioClp(); - - newModel.setModelAttributes(oldModel.getModelAttributes()); - - newModel.setFeTerritorioRemoteModel(oldModel); - - return newModel; - } - - private static Log _log = LogFactoryUtil.getLog(ClpSerializer.class); - private static String _servletContextName; - private static boolean _useReflectionToTranslateThrowable = true; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeComuneLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeComuneLocalService.java deleted file mode 100644 index 99bd0637..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeComuneLocalService.java +++ /dev/null @@ -1,261 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for FeComune. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see FeComuneLocalServiceUtil - * @see it.tref.liferay.portos.portosimport.service.base.FeComuneLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.FeComuneLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface FeComuneLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link FeComuneLocalServiceUtil} to access the fe comune local service. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.FeComuneLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the fe comune to the database. Also notifies the appropriate model listeners. - * - * @param feComune the fe comune - * @return the fe comune that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.FeComune addFeComune( - it.tref.liferay.portos.portosimport.model.FeComune feComune) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new fe comune with the primary key. Does not add the fe comune to the database. - * - * @param comuneId the primary key for the new fe comune - * @return the new fe comune - */ - public it.tref.liferay.portos.portosimport.model.FeComune createFeComune( - long comuneId); - - /** - * Deletes the fe comune with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param comuneId the primary key of the fe comune - * @return the fe comune that was removed - * @throws PortalException if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.FeComune deleteFeComune( - long comuneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the fe comune from the database. Also notifies the appropriate model listeners. - * - * @param feComune the fe comune - * @return the fe comune that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.FeComune deleteFeComune( - it.tref.liferay.portos.portosimport.model.FeComune feComune) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.FeComune fetchFeComune( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe comune with the primary key. - * - * @param comuneId the primary key of the fe comune - * @return the fe comune - * @throws PortalException if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.FeComune getFeComune( - long comuneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe comunes - * @param end the upper bound of the range of fe comunes (not inclusive) - * @return the range of fe comunes - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getFeComunes( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe comunes. - * - * @return the number of fe comunes - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getFeComunesCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the fe comune in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param feComune the fe comune - * @return the fe comune that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.FeComune updateFeComune( - it.tref.liferay.portos.portosimport.model.FeComune feComune) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.FeComune fetchBycodIstat( - java.lang.String codIstat) - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeComuneLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeComuneLocalServiceClp.java deleted file mode 100644 index 4f637ea9..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeComuneLocalServiceClp.java +++ /dev/null @@ -1,741 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class FeComuneLocalServiceClp implements FeComuneLocalService { - public FeComuneLocalServiceClp(InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addFeComune"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.FeComune" - }; - - _methodName1 = "createFeComune"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteFeComune"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteFeComune"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.FeComune" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchFeComune"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getFeComune"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getFeComunes"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getFeComunesCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateFeComune"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.portosimport.model.FeComune" - }; - - _methodName16 = "getBeanIdentifier"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "setBeanIdentifier"; - - _methodParameterTypes17 = new String[] { "java.lang.String" }; - - _methodName19 = "fetchBycodIstat"; - - _methodParameterTypes19 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeComune addFeComune( - it.tref.liferay.portos.portosimport.model.FeComune feComune) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(feComune) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FeComune)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeComune createFeComune( - long comuneId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { comuneId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FeComune)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeComune deleteFeComune( - long comuneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { comuneId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FeComune)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeComune deleteFeComune( - it.tref.liferay.portos.portosimport.model.FeComune feComune) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(feComune) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FeComune)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeComune fetchFeComune( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { comuneId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FeComune)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeComune getFeComune( - long comuneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, new Object[] { comuneId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FeComune)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getFeComunes( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getFeComunesCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeComune updateFeComune( - it.tref.liferay.portos.portosimport.model.FeComune feComune) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(feComune) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FeComune)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeComune fetchBycodIstat( - java.lang.String codIstat) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName19, - _methodParameterTypes19, - new Object[] { ClpSerializer.translateInput(codIstat) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FeComune)ClpSerializer.translateOutput(returnObj); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName19; - private String[] _methodParameterTypes19; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeComuneLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeComuneLocalServiceUtil.java deleted file mode 100644 index 96e59156..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeComuneLocalServiceUtil.java +++ /dev/null @@ -1,314 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for FeComune. This utility wraps - * {@link it.tref.liferay.portos.portosimport.service.impl.FeComuneLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see FeComuneLocalService - * @see it.tref.liferay.portos.portosimport.service.base.FeComuneLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.FeComuneLocalServiceImpl - * @generated - */ -public class FeComuneLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.FeComuneLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the fe comune to the database. Also notifies the appropriate model listeners. - * - * @param feComune the fe comune - * @return the fe comune that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeComune addFeComune( - it.tref.liferay.portos.portosimport.model.FeComune feComune) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addFeComune(feComune); - } - - /** - * Creates a new fe comune with the primary key. Does not add the fe comune to the database. - * - * @param comuneId the primary key for the new fe comune - * @return the new fe comune - */ - public static it.tref.liferay.portos.portosimport.model.FeComune createFeComune( - long comuneId) { - return getService().createFeComune(comuneId); - } - - /** - * Deletes the fe comune with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param comuneId the primary key of the fe comune - * @return the fe comune that was removed - * @throws PortalException if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeComune deleteFeComune( - long comuneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteFeComune(comuneId); - } - - /** - * Deletes the fe comune from the database. Also notifies the appropriate model listeners. - * - * @param feComune the fe comune - * @return the fe comune that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeComune deleteFeComune( - it.tref.liferay.portos.portosimport.model.FeComune feComune) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteFeComune(feComune); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.portosimport.model.FeComune fetchFeComune( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchFeComune(comuneId); - } - - /** - * Returns the fe comune with the primary key. - * - * @param comuneId the primary key of the fe comune - * @return the fe comune - * @throws PortalException if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeComune getFeComune( - long comuneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getFeComune(comuneId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the fe comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe comunes - * @param end the upper bound of the range of fe comunes (not inclusive) - * @return the range of fe comunes - * @throws SystemException if a system exception occurred - */ - public static java.util.List getFeComunes( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getFeComunes(start, end); - } - - /** - * Returns the number of fe comunes. - * - * @return the number of fe comunes - * @throws SystemException if a system exception occurred - */ - public static int getFeComunesCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getFeComunesCount(); - } - - /** - * Updates the fe comune in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param feComune the fe comune - * @return the fe comune that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeComune updateFeComune( - it.tref.liferay.portos.portosimport.model.FeComune feComune) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateFeComune(feComune); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static it.tref.liferay.portos.portosimport.model.FeComune fetchBycodIstat( - java.lang.String codIstat) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchBycodIstat(codIstat); - } - - public static void clearService() { - _service = null; - } - - public static FeComuneLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - FeComuneLocalService.class.getName()); - - if (invokableLocalService instanceof FeComuneLocalService) { - _service = (FeComuneLocalService)invokableLocalService; - } - else { - _service = new FeComuneLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(FeComuneLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(FeComuneLocalService service) { - } - - private static FeComuneLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeComuneLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeComuneLocalServiceWrapper.java deleted file mode 100644 index 9f775110..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeComuneLocalServiceWrapper.java +++ /dev/null @@ -1,322 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link FeComuneLocalService}. - * - * @author Davide Barbagallo, 3F Consulting - * @see FeComuneLocalService - * @generated - */ -public class FeComuneLocalServiceWrapper implements FeComuneLocalService, - ServiceWrapper { - public FeComuneLocalServiceWrapper( - FeComuneLocalService feComuneLocalService) { - _feComuneLocalService = feComuneLocalService; - } - - /** - * Adds the fe comune to the database. Also notifies the appropriate model listeners. - * - * @param feComune the fe comune - * @return the fe comune that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.FeComune addFeComune( - it.tref.liferay.portos.portosimport.model.FeComune feComune) - throws com.liferay.portal.kernel.exception.SystemException { - return _feComuneLocalService.addFeComune(feComune); - } - - /** - * Creates a new fe comune with the primary key. Does not add the fe comune to the database. - * - * @param comuneId the primary key for the new fe comune - * @return the new fe comune - */ - @Override - public it.tref.liferay.portos.portosimport.model.FeComune createFeComune( - long comuneId) { - return _feComuneLocalService.createFeComune(comuneId); - } - - /** - * Deletes the fe comune with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param comuneId the primary key of the fe comune - * @return the fe comune that was removed - * @throws PortalException if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.FeComune deleteFeComune( - long comuneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _feComuneLocalService.deleteFeComune(comuneId); - } - - /** - * Deletes the fe comune from the database. Also notifies the appropriate model listeners. - * - * @param feComune the fe comune - * @return the fe comune that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.FeComune deleteFeComune( - it.tref.liferay.portos.portosimport.model.FeComune feComune) - throws com.liferay.portal.kernel.exception.SystemException { - return _feComuneLocalService.deleteFeComune(feComune); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _feComuneLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _feComuneLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _feComuneLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _feComuneLocalService.dynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _feComuneLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _feComuneLocalService.dynamicQueryCount(dynamicQuery, projection); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeComune fetchFeComune( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException { - return _feComuneLocalService.fetchFeComune(comuneId); - } - - /** - * Returns the fe comune with the primary key. - * - * @param comuneId the primary key of the fe comune - * @return the fe comune - * @throws PortalException if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.FeComune getFeComune( - long comuneId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _feComuneLocalService.getFeComune(comuneId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _feComuneLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the fe comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe comunes - * @param end the upper bound of the range of fe comunes (not inclusive) - * @return the range of fe comunes - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getFeComunes( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _feComuneLocalService.getFeComunes(start, end); - } - - /** - * Returns the number of fe comunes. - * - * @return the number of fe comunes - * @throws SystemException if a system exception occurred - */ - @Override - public int getFeComunesCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _feComuneLocalService.getFeComunesCount(); - } - - /** - * Updates the fe comune in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param feComune the fe comune - * @return the fe comune that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.FeComune updateFeComune( - it.tref.liferay.portos.portosimport.model.FeComune feComune) - throws com.liferay.portal.kernel.exception.SystemException { - return _feComuneLocalService.updateFeComune(feComune); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _feComuneLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _feComuneLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _feComuneLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeComune fetchBycodIstat( - java.lang.String codIstat) - throws com.liferay.portal.kernel.exception.SystemException { - return _feComuneLocalService.fetchBycodIstat(codIstat); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public FeComuneLocalService getWrappedFeComuneLocalService() { - return _feComuneLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedFeComuneLocalService( - FeComuneLocalService feComuneLocalService) { - _feComuneLocalService = feComuneLocalService; - } - - @Override - public FeComuneLocalService getWrappedService() { - return _feComuneLocalService; - } - - @Override - public void setWrappedService(FeComuneLocalService feComuneLocalService) { - _feComuneLocalService = feComuneLocalService; - } - - private FeComuneLocalService _feComuneLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeDettPraticaLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeDettPraticaLocalService.java deleted file mode 100644 index 254d6d46..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeDettPraticaLocalService.java +++ /dev/null @@ -1,294 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for FeDettPratica. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see FeDettPraticaLocalServiceUtil - * @see it.tref.liferay.portos.portosimport.service.base.FeDettPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.FeDettPraticaLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface FeDettPraticaLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link FeDettPraticaLocalServiceUtil} to access the fe dett pratica local service. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.FeDettPraticaLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the fe dett pratica to the database. Also notifies the appropriate model listeners. - * - * @param feDettPratica the fe dett pratica - * @return the fe dett pratica that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.FeDettPratica addFeDettPratica( - it.tref.liferay.portos.portosimport.model.FeDettPratica feDettPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new fe dett pratica with the primary key. Does not add the fe dett pratica to the database. - * - * @param dettPraticaId the primary key for the new fe dett pratica - * @return the new fe dett pratica - */ - public it.tref.liferay.portos.portosimport.model.FeDettPratica createFeDettPratica( - long dettPraticaId); - - /** - * Deletes the fe dett pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param dettPraticaId the primary key of the fe dett pratica - * @return the fe dett pratica that was removed - * @throws PortalException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.FeDettPratica deleteFeDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the fe dett pratica from the database. Also notifies the appropriate model listeners. - * - * @param feDettPratica the fe dett pratica - * @return the fe dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.FeDettPratica deleteFeDettPratica( - it.tref.liferay.portos.portosimport.model.FeDettPratica feDettPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.FeDettPratica fetchFeDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe dett pratica matching the UUID and group. - * - * @param uuid the fe dett pratica's UUID - * @param groupId the primary key of the group - * @return the matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.FeDettPratica fetchFeDettPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe dett pratica with the primary key. - * - * @param dettPraticaId the primary key of the fe dett pratica - * @return the fe dett pratica - * @throws PortalException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.FeDettPratica getFeDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe dett pratica matching the UUID and group. - * - * @param uuid the fe dett pratica's UUID - * @param groupId the primary key of the group - * @return the matching fe dett pratica - * @throws PortalException if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.FeDettPratica getFeDettPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe dett praticas - * @param end the upper bound of the range of fe dett praticas (not inclusive) - * @return the range of fe dett praticas - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getFeDettPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe dett praticas. - * - * @return the number of fe dett praticas - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getFeDettPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the fe dett pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param feDettPratica the fe dett pratica - * @return the fe dett pratica that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.FeDettPratica updateFeDettPratica( - it.tref.liferay.portos.portosimport.model.FeDettPratica feDettPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.FeDettPratica fetchByCodPraticaSuap( - java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.FeDettPratica fetchByDettPraticaId( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeDettPraticaLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeDettPraticaLocalServiceClp.java deleted file mode 100644 index f83383d4..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeDettPraticaLocalServiceClp.java +++ /dev/null @@ -1,854 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class FeDettPraticaLocalServiceClp implements FeDettPraticaLocalService { - public FeDettPraticaLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addFeDettPratica"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.FeDettPratica" - }; - - _methodName1 = "createFeDettPratica"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteFeDettPratica"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteFeDettPratica"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.FeDettPratica" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchFeDettPratica"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchFeDettPraticaByUuidAndGroupId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "getFeDettPratica"; - - _methodParameterTypes12 = new String[] { "long" }; - - _methodName13 = "getPersistedModel"; - - _methodParameterTypes13 = new String[] { "java.io.Serializable" }; - - _methodName14 = "getFeDettPraticaByUuidAndGroupId"; - - _methodParameterTypes14 = new String[] { "java.lang.String", "long" }; - - _methodName15 = "getFeDettPraticas"; - - _methodParameterTypes15 = new String[] { "int", "int" }; - - _methodName16 = "getFeDettPraticasCount"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "updateFeDettPratica"; - - _methodParameterTypes17 = new String[] { - "it.tref.liferay.portos.portosimport.model.FeDettPratica" - }; - - _methodName18 = "getBeanIdentifier"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "setBeanIdentifier"; - - _methodParameterTypes19 = new String[] { "java.lang.String" }; - - _methodName21 = "fetchByCodPraticaSuap"; - - _methodParameterTypes21 = new String[] { "java.lang.String" }; - - _methodName22 = "fetchByDettPraticaId"; - - _methodParameterTypes22 = new String[] { "long" }; - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeDettPratica addFeDettPratica( - it.tref.liferay.portos.portosimport.model.FeDettPratica feDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(feDettPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FeDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeDettPratica createFeDettPratica( - long dettPraticaId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { dettPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FeDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeDettPratica deleteFeDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { dettPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FeDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeDettPratica deleteFeDettPratica( - it.tref.liferay.portos.portosimport.model.FeDettPratica feDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(feDettPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FeDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeDettPratica fetchFeDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { dettPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FeDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeDettPratica fetchFeDettPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FeDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeDettPratica getFeDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, new Object[] { dettPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FeDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeDettPratica getFeDettPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FeDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getFeDettPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getFeDettPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeDettPratica updateFeDettPratica( - it.tref.liferay.portos.portosimport.model.FeDettPratica feDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, - new Object[] { ClpSerializer.translateInput(feDettPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FeDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName18, - _methodParameterTypes18, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName19, - _methodParameterTypes19, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeDettPratica fetchByCodPraticaSuap( - java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName21, - _methodParameterTypes21, - new Object[] { ClpSerializer.translateInput(codPraticaSuap) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FeDettPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeDettPratica fetchByDettPraticaId( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName22, - _methodParameterTypes22, new Object[] { dettPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FeDettPratica)ClpSerializer.translateOutput(returnObj); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName21; - private String[] _methodParameterTypes21; - private String _methodName22; - private String[] _methodParameterTypes22; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeDettPraticaLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeDettPraticaLocalServiceUtil.java deleted file mode 100644 index e35e68c8..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeDettPraticaLocalServiceUtil.java +++ /dev/null @@ -1,350 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for FeDettPratica. This utility wraps - * {@link it.tref.liferay.portos.portosimport.service.impl.FeDettPraticaLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see FeDettPraticaLocalService - * @see it.tref.liferay.portos.portosimport.service.base.FeDettPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.FeDettPraticaLocalServiceImpl - * @generated - */ -public class FeDettPraticaLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.FeDettPraticaLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the fe dett pratica to the database. Also notifies the appropriate model listeners. - * - * @param feDettPratica the fe dett pratica - * @return the fe dett pratica that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeDettPratica addFeDettPratica( - it.tref.liferay.portos.portosimport.model.FeDettPratica feDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addFeDettPratica(feDettPratica); - } - - /** - * Creates a new fe dett pratica with the primary key. Does not add the fe dett pratica to the database. - * - * @param dettPraticaId the primary key for the new fe dett pratica - * @return the new fe dett pratica - */ - public static it.tref.liferay.portos.portosimport.model.FeDettPratica createFeDettPratica( - long dettPraticaId) { - return getService().createFeDettPratica(dettPraticaId); - } - - /** - * Deletes the fe dett pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param dettPraticaId the primary key of the fe dett pratica - * @return the fe dett pratica that was removed - * @throws PortalException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeDettPratica deleteFeDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteFeDettPratica(dettPraticaId); - } - - /** - * Deletes the fe dett pratica from the database. Also notifies the appropriate model listeners. - * - * @param feDettPratica the fe dett pratica - * @return the fe dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeDettPratica deleteFeDettPratica( - it.tref.liferay.portos.portosimport.model.FeDettPratica feDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteFeDettPratica(feDettPratica); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.portosimport.model.FeDettPratica fetchFeDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchFeDettPratica(dettPraticaId); - } - - /** - * Returns the fe dett pratica matching the UUID and group. - * - * @param uuid the fe dett pratica's UUID - * @param groupId the primary key of the group - * @return the matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeDettPratica fetchFeDettPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchFeDettPraticaByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns the fe dett pratica with the primary key. - * - * @param dettPraticaId the primary key of the fe dett pratica - * @return the fe dett pratica - * @throws PortalException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeDettPratica getFeDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getFeDettPratica(dettPraticaId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns the fe dett pratica matching the UUID and group. - * - * @param uuid the fe dett pratica's UUID - * @param groupId the primary key of the group - * @return the matching fe dett pratica - * @throws PortalException if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeDettPratica getFeDettPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getFeDettPraticaByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns a range of all the fe dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe dett praticas - * @param end the upper bound of the range of fe dett praticas (not inclusive) - * @return the range of fe dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List getFeDettPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getFeDettPraticas(start, end); - } - - /** - * Returns the number of fe dett praticas. - * - * @return the number of fe dett praticas - * @throws SystemException if a system exception occurred - */ - public static int getFeDettPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getFeDettPraticasCount(); - } - - /** - * Updates the fe dett pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param feDettPratica the fe dett pratica - * @return the fe dett pratica that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeDettPratica updateFeDettPratica( - it.tref.liferay.portos.portosimport.model.FeDettPratica feDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateFeDettPratica(feDettPratica); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static it.tref.liferay.portos.portosimport.model.FeDettPratica fetchByCodPraticaSuap( - java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchByCodPraticaSuap(codPraticaSuap); - } - - public static it.tref.liferay.portos.portosimport.model.FeDettPratica fetchByDettPraticaId( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchByDettPraticaId(dettPraticaId); - } - - public static void clearService() { - _service = null; - } - - public static FeDettPraticaLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - FeDettPraticaLocalService.class.getName()); - - if (invokableLocalService instanceof FeDettPraticaLocalService) { - _service = (FeDettPraticaLocalService)invokableLocalService; - } - else { - _service = new FeDettPraticaLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(FeDettPraticaLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(FeDettPraticaLocalService service) { - } - - private static FeDettPraticaLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeDettPraticaLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeDettPraticaLocalServiceWrapper.java deleted file mode 100644 index dded0137..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeDettPraticaLocalServiceWrapper.java +++ /dev/null @@ -1,366 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link FeDettPraticaLocalService}. - * - * @author Davide Barbagallo, 3F Consulting - * @see FeDettPraticaLocalService - * @generated - */ -public class FeDettPraticaLocalServiceWrapper - implements FeDettPraticaLocalService, - ServiceWrapper { - public FeDettPraticaLocalServiceWrapper( - FeDettPraticaLocalService feDettPraticaLocalService) { - _feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Adds the fe dett pratica to the database. Also notifies the appropriate model listeners. - * - * @param feDettPratica the fe dett pratica - * @return the fe dett pratica that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.FeDettPratica addFeDettPratica( - it.tref.liferay.portos.portosimport.model.FeDettPratica feDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _feDettPraticaLocalService.addFeDettPratica(feDettPratica); - } - - /** - * Creates a new fe dett pratica with the primary key. Does not add the fe dett pratica to the database. - * - * @param dettPraticaId the primary key for the new fe dett pratica - * @return the new fe dett pratica - */ - @Override - public it.tref.liferay.portos.portosimport.model.FeDettPratica createFeDettPratica( - long dettPraticaId) { - return _feDettPraticaLocalService.createFeDettPratica(dettPraticaId); - } - - /** - * Deletes the fe dett pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param dettPraticaId the primary key of the fe dett pratica - * @return the fe dett pratica that was removed - * @throws PortalException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.FeDettPratica deleteFeDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _feDettPraticaLocalService.deleteFeDettPratica(dettPraticaId); - } - - /** - * Deletes the fe dett pratica from the database. Also notifies the appropriate model listeners. - * - * @param feDettPratica the fe dett pratica - * @return the fe dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.FeDettPratica deleteFeDettPratica( - it.tref.liferay.portos.portosimport.model.FeDettPratica feDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _feDettPraticaLocalService.deleteFeDettPratica(feDettPratica); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _feDettPraticaLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _feDettPraticaLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _feDettPraticaLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _feDettPraticaLocalService.dynamicQuery(dynamicQuery, start, - end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _feDettPraticaLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _feDettPraticaLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeDettPratica fetchFeDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return _feDettPraticaLocalService.fetchFeDettPratica(dettPraticaId); - } - - /** - * Returns the fe dett pratica matching the UUID and group. - * - * @param uuid the fe dett pratica's UUID - * @param groupId the primary key of the group - * @return the matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.FeDettPratica fetchFeDettPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return _feDettPraticaLocalService.fetchFeDettPraticaByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns the fe dett pratica with the primary key. - * - * @param dettPraticaId the primary key of the fe dett pratica - * @return the fe dett pratica - * @throws PortalException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.FeDettPratica getFeDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _feDettPraticaLocalService.getFeDettPratica(dettPraticaId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _feDettPraticaLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns the fe dett pratica matching the UUID and group. - * - * @param uuid the fe dett pratica's UUID - * @param groupId the primary key of the group - * @return the matching fe dett pratica - * @throws PortalException if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.FeDettPratica getFeDettPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _feDettPraticaLocalService.getFeDettPraticaByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns a range of all the fe dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe dett praticas - * @param end the upper bound of the range of fe dett praticas (not inclusive) - * @return the range of fe dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getFeDettPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _feDettPraticaLocalService.getFeDettPraticas(start, end); - } - - /** - * Returns the number of fe dett praticas. - * - * @return the number of fe dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int getFeDettPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _feDettPraticaLocalService.getFeDettPraticasCount(); - } - - /** - * Updates the fe dett pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param feDettPratica the fe dett pratica - * @return the fe dett pratica that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.FeDettPratica updateFeDettPratica( - it.tref.liferay.portos.portosimport.model.FeDettPratica feDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _feDettPraticaLocalService.updateFeDettPratica(feDettPratica); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _feDettPraticaLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _feDettPraticaLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _feDettPraticaLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeDettPratica fetchByCodPraticaSuap( - java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException { - return _feDettPraticaLocalService.fetchByCodPraticaSuap(codPraticaSuap); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeDettPratica fetchByDettPraticaId( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return _feDettPraticaLocalService.fetchByDettPraticaId(dettPraticaId); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public FeDettPraticaLocalService getWrappedFeDettPraticaLocalService() { - return _feDettPraticaLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedFeDettPraticaLocalService( - FeDettPraticaLocalService feDettPraticaLocalService) { - _feDettPraticaLocalService = feDettPraticaLocalService; - } - - @Override - public FeDettPraticaLocalService getWrappedService() { - return _feDettPraticaLocalService; - } - - @Override - public void setWrappedService( - FeDettPraticaLocalService feDettPraticaLocalService) { - _feDettPraticaLocalService = feDettPraticaLocalService; - } - - private FeDettPraticaLocalService _feDettPraticaLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeIntPraticaLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeIntPraticaLocalService.java deleted file mode 100644 index fd38b113..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeIntPraticaLocalService.java +++ /dev/null @@ -1,284 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for FeIntPratica. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see FeIntPraticaLocalServiceUtil - * @see it.tref.liferay.portos.portosimport.service.base.FeIntPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.FeIntPraticaLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface FeIntPraticaLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link FeIntPraticaLocalServiceUtil} to access the fe int pratica local service. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.FeIntPraticaLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the fe int pratica to the database. Also notifies the appropriate model listeners. - * - * @param feIntPratica the fe int pratica - * @return the fe int pratica that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.FeIntPratica addFeIntPratica( - it.tref.liferay.portos.portosimport.model.FeIntPratica feIntPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new fe int pratica with the primary key. Does not add the fe int pratica to the database. - * - * @param intPraticaId the primary key for the new fe int pratica - * @return the new fe int pratica - */ - public it.tref.liferay.portos.portosimport.model.FeIntPratica createFeIntPratica( - long intPraticaId); - - /** - * Deletes the fe int pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param intPraticaId the primary key of the fe int pratica - * @return the fe int pratica that was removed - * @throws PortalException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.FeIntPratica deleteFeIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the fe int pratica from the database. Also notifies the appropriate model listeners. - * - * @param feIntPratica the fe int pratica - * @return the fe int pratica that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.FeIntPratica deleteFeIntPratica( - it.tref.liferay.portos.portosimport.model.FeIntPratica feIntPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.FeIntPratica fetchFeIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe int pratica matching the UUID and group. - * - * @param uuid the fe int pratica's UUID - * @param groupId the primary key of the group - * @return the matching fe int pratica, or null if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.FeIntPratica fetchFeIntPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe int pratica with the primary key. - * - * @param intPraticaId the primary key of the fe int pratica - * @return the fe int pratica - * @throws PortalException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.FeIntPratica getFeIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe int pratica matching the UUID and group. - * - * @param uuid the fe int pratica's UUID - * @param groupId the primary key of the group - * @return the matching fe int pratica - * @throws PortalException if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.FeIntPratica getFeIntPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe int praticas - * @param end the upper bound of the range of fe int praticas (not inclusive) - * @return the range of fe int praticas - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getFeIntPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe int praticas. - * - * @return the number of fe int praticas - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getFeIntPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the fe int pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param feIntPratica the fe int pratica - * @return the fe int pratica that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.FeIntPratica updateFeIntPratica( - it.tref.liferay.portos.portosimport.model.FeIntPratica feIntPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeIntPraticaLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeIntPraticaLocalServiceClp.java deleted file mode 100644 index f70b37d7..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeIntPraticaLocalServiceClp.java +++ /dev/null @@ -1,783 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class FeIntPraticaLocalServiceClp implements FeIntPraticaLocalService { - public FeIntPraticaLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addFeIntPratica"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.FeIntPratica" - }; - - _methodName1 = "createFeIntPratica"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteFeIntPratica"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteFeIntPratica"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.FeIntPratica" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchFeIntPratica"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchFeIntPraticaByUuidAndGroupId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "getFeIntPratica"; - - _methodParameterTypes12 = new String[] { "long" }; - - _methodName13 = "getPersistedModel"; - - _methodParameterTypes13 = new String[] { "java.io.Serializable" }; - - _methodName14 = "getFeIntPraticaByUuidAndGroupId"; - - _methodParameterTypes14 = new String[] { "java.lang.String", "long" }; - - _methodName15 = "getFeIntPraticas"; - - _methodParameterTypes15 = new String[] { "int", "int" }; - - _methodName16 = "getFeIntPraticasCount"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "updateFeIntPratica"; - - _methodParameterTypes17 = new String[] { - "it.tref.liferay.portos.portosimport.model.FeIntPratica" - }; - - _methodName18 = "getBeanIdentifier"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "setBeanIdentifier"; - - _methodParameterTypes19 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeIntPratica addFeIntPratica( - it.tref.liferay.portos.portosimport.model.FeIntPratica feIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(feIntPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FeIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeIntPratica createFeIntPratica( - long intPraticaId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { intPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FeIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeIntPratica deleteFeIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { intPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FeIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeIntPratica deleteFeIntPratica( - it.tref.liferay.portos.portosimport.model.FeIntPratica feIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(feIntPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FeIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeIntPratica fetchFeIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { intPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FeIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeIntPratica fetchFeIntPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FeIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeIntPratica getFeIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, new Object[] { intPraticaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FeIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeIntPratica getFeIntPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FeIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getFeIntPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getFeIntPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeIntPratica updateFeIntPratica( - it.tref.liferay.portos.portosimport.model.FeIntPratica feIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, - new Object[] { ClpSerializer.translateInput(feIntPratica) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FeIntPratica)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName18, - _methodParameterTypes18, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName19, - _methodParameterTypes19, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeIntPraticaLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeIntPraticaLocalServiceUtil.java deleted file mode 100644 index 1001a48b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeIntPraticaLocalServiceUtil.java +++ /dev/null @@ -1,338 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for FeIntPratica. This utility wraps - * {@link it.tref.liferay.portos.portosimport.service.impl.FeIntPraticaLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see FeIntPraticaLocalService - * @see it.tref.liferay.portos.portosimport.service.base.FeIntPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.FeIntPraticaLocalServiceImpl - * @generated - */ -public class FeIntPraticaLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.FeIntPraticaLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the fe int pratica to the database. Also notifies the appropriate model listeners. - * - * @param feIntPratica the fe int pratica - * @return the fe int pratica that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeIntPratica addFeIntPratica( - it.tref.liferay.portos.portosimport.model.FeIntPratica feIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addFeIntPratica(feIntPratica); - } - - /** - * Creates a new fe int pratica with the primary key. Does not add the fe int pratica to the database. - * - * @param intPraticaId the primary key for the new fe int pratica - * @return the new fe int pratica - */ - public static it.tref.liferay.portos.portosimport.model.FeIntPratica createFeIntPratica( - long intPraticaId) { - return getService().createFeIntPratica(intPraticaId); - } - - /** - * Deletes the fe int pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param intPraticaId the primary key of the fe int pratica - * @return the fe int pratica that was removed - * @throws PortalException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeIntPratica deleteFeIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteFeIntPratica(intPraticaId); - } - - /** - * Deletes the fe int pratica from the database. Also notifies the appropriate model listeners. - * - * @param feIntPratica the fe int pratica - * @return the fe int pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeIntPratica deleteFeIntPratica( - it.tref.liferay.portos.portosimport.model.FeIntPratica feIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteFeIntPratica(feIntPratica); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.portosimport.model.FeIntPratica fetchFeIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchFeIntPratica(intPraticaId); - } - - /** - * Returns the fe int pratica matching the UUID and group. - * - * @param uuid the fe int pratica's UUID - * @param groupId the primary key of the group - * @return the matching fe int pratica, or null if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeIntPratica fetchFeIntPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchFeIntPraticaByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns the fe int pratica with the primary key. - * - * @param intPraticaId the primary key of the fe int pratica - * @return the fe int pratica - * @throws PortalException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeIntPratica getFeIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getFeIntPratica(intPraticaId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns the fe int pratica matching the UUID and group. - * - * @param uuid the fe int pratica's UUID - * @param groupId the primary key of the group - * @return the matching fe int pratica - * @throws PortalException if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeIntPratica getFeIntPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getFeIntPraticaByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns a range of all the fe int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe int praticas - * @param end the upper bound of the range of fe int praticas (not inclusive) - * @return the range of fe int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List getFeIntPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getFeIntPraticas(start, end); - } - - /** - * Returns the number of fe int praticas. - * - * @return the number of fe int praticas - * @throws SystemException if a system exception occurred - */ - public static int getFeIntPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getFeIntPraticasCount(); - } - - /** - * Updates the fe int pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param feIntPratica the fe int pratica - * @return the fe int pratica that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeIntPratica updateFeIntPratica( - it.tref.liferay.portos.portosimport.model.FeIntPratica feIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateFeIntPratica(feIntPratica); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static FeIntPraticaLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - FeIntPraticaLocalService.class.getName()); - - if (invokableLocalService instanceof FeIntPraticaLocalService) { - _service = (FeIntPraticaLocalService)invokableLocalService; - } - else { - _service = new FeIntPraticaLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(FeIntPraticaLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(FeIntPraticaLocalService service) { - } - - private static FeIntPraticaLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeIntPraticaLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeIntPraticaLocalServiceWrapper.java deleted file mode 100644 index 2d21e66f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeIntPraticaLocalServiceWrapper.java +++ /dev/null @@ -1,351 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link FeIntPraticaLocalService}. - * - * @author Davide Barbagallo, 3F Consulting - * @see FeIntPraticaLocalService - * @generated - */ -public class FeIntPraticaLocalServiceWrapper implements FeIntPraticaLocalService, - ServiceWrapper { - public FeIntPraticaLocalServiceWrapper( - FeIntPraticaLocalService feIntPraticaLocalService) { - _feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Adds the fe int pratica to the database. Also notifies the appropriate model listeners. - * - * @param feIntPratica the fe int pratica - * @return the fe int pratica that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.FeIntPratica addFeIntPratica( - it.tref.liferay.portos.portosimport.model.FeIntPratica feIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _feIntPraticaLocalService.addFeIntPratica(feIntPratica); - } - - /** - * Creates a new fe int pratica with the primary key. Does not add the fe int pratica to the database. - * - * @param intPraticaId the primary key for the new fe int pratica - * @return the new fe int pratica - */ - @Override - public it.tref.liferay.portos.portosimport.model.FeIntPratica createFeIntPratica( - long intPraticaId) { - return _feIntPraticaLocalService.createFeIntPratica(intPraticaId); - } - - /** - * Deletes the fe int pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param intPraticaId the primary key of the fe int pratica - * @return the fe int pratica that was removed - * @throws PortalException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.FeIntPratica deleteFeIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _feIntPraticaLocalService.deleteFeIntPratica(intPraticaId); - } - - /** - * Deletes the fe int pratica from the database. Also notifies the appropriate model listeners. - * - * @param feIntPratica the fe int pratica - * @return the fe int pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.FeIntPratica deleteFeIntPratica( - it.tref.liferay.portos.portosimport.model.FeIntPratica feIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _feIntPraticaLocalService.deleteFeIntPratica(feIntPratica); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _feIntPraticaLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _feIntPraticaLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _feIntPraticaLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _feIntPraticaLocalService.dynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _feIntPraticaLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _feIntPraticaLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeIntPratica fetchFeIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return _feIntPraticaLocalService.fetchFeIntPratica(intPraticaId); - } - - /** - * Returns the fe int pratica matching the UUID and group. - * - * @param uuid the fe int pratica's UUID - * @param groupId the primary key of the group - * @return the matching fe int pratica, or null if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.FeIntPratica fetchFeIntPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return _feIntPraticaLocalService.fetchFeIntPraticaByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns the fe int pratica with the primary key. - * - * @param intPraticaId the primary key of the fe int pratica - * @return the fe int pratica - * @throws PortalException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.FeIntPratica getFeIntPratica( - long intPraticaId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _feIntPraticaLocalService.getFeIntPratica(intPraticaId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _feIntPraticaLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns the fe int pratica matching the UUID and group. - * - * @param uuid the fe int pratica's UUID - * @param groupId the primary key of the group - * @return the matching fe int pratica - * @throws PortalException if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.FeIntPratica getFeIntPraticaByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _feIntPraticaLocalService.getFeIntPraticaByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns a range of all the fe int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe int praticas - * @param end the upper bound of the range of fe int praticas (not inclusive) - * @return the range of fe int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getFeIntPraticas( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _feIntPraticaLocalService.getFeIntPraticas(start, end); - } - - /** - * Returns the number of fe int praticas. - * - * @return the number of fe int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int getFeIntPraticasCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _feIntPraticaLocalService.getFeIntPraticasCount(); - } - - /** - * Updates the fe int pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param feIntPratica the fe int pratica - * @return the fe int pratica that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.FeIntPratica updateFeIntPratica( - it.tref.liferay.portos.portosimport.model.FeIntPratica feIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return _feIntPraticaLocalService.updateFeIntPratica(feIntPratica); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _feIntPraticaLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _feIntPraticaLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _feIntPraticaLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public FeIntPraticaLocalService getWrappedFeIntPraticaLocalService() { - return _feIntPraticaLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedFeIntPraticaLocalService( - FeIntPraticaLocalService feIntPraticaLocalService) { - _feIntPraticaLocalService = feIntPraticaLocalService; - } - - @Override - public FeIntPraticaLocalService getWrappedService() { - return _feIntPraticaLocalService; - } - - @Override - public void setWrappedService( - FeIntPraticaLocalService feIntPraticaLocalService) { - _feIntPraticaLocalService = feIntPraticaLocalService; - } - - private FeIntPraticaLocalService _feIntPraticaLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FePagamentoLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FePagamentoLocalService.java deleted file mode 100644 index 680da4c1..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FePagamentoLocalService.java +++ /dev/null @@ -1,312 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for FePagamento. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see FePagamentoLocalServiceUtil - * @see it.tref.liferay.portos.portosimport.service.base.FePagamentoLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.FePagamentoLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface FePagamentoLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link FePagamentoLocalServiceUtil} to access the fe pagamento local service. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.FePagamentoLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the fe pagamento to the database. Also notifies the appropriate model listeners. - * - * @param fePagamento the fe pagamento - * @return the fe pagamento that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.FePagamento addFePagamento( - it.tref.liferay.portos.portosimport.model.FePagamento fePagamento) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new fe pagamento with the primary key. Does not add the fe pagamento to the database. - * - * @param pagamentoId the primary key for the new fe pagamento - * @return the new fe pagamento - */ - public it.tref.liferay.portos.portosimport.model.FePagamento createFePagamento( - long pagamentoId); - - /** - * Deletes the fe pagamento with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param pagamentoId the primary key of the fe pagamento - * @return the fe pagamento that was removed - * @throws PortalException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.FePagamento deleteFePagamento( - long pagamentoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the fe pagamento from the database. Also notifies the appropriate model listeners. - * - * @param fePagamento the fe pagamento - * @return the fe pagamento that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.FePagamento deleteFePagamento( - it.tref.liferay.portos.portosimport.model.FePagamento fePagamento) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.FePagamento fetchFePagamento( - long pagamentoId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe pagamento with the matching UUID and company. - * - * @param uuid the fe pagamento's UUID - * @param companyId the primary key of the company - * @return the matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.FePagamento fetchFePagamentoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe pagamento matching the UUID and group. - * - * @param uuid the fe pagamento's UUID - * @param groupId the primary key of the group - * @return the matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.FePagamento fetchFePagamentoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe pagamento with the primary key. - * - * @param pagamentoId the primary key of the fe pagamento - * @return the fe pagamento - * @throws PortalException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.FePagamento getFePagamento( - long pagamentoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe pagamento with the matching UUID and company. - * - * @param uuid the fe pagamento's UUID - * @param companyId the primary key of the company - * @return the matching fe pagamento - * @throws PortalException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.FePagamento getFePagamentoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe pagamento matching the UUID and group. - * - * @param uuid the fe pagamento's UUID - * @param groupId the primary key of the group - * @return the matching fe pagamento - * @throws PortalException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.FePagamento getFePagamentoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe pagamentos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getFePagamentos( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe pagamentos. - * - * @return the number of fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getFePagamentosCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the fe pagamento in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param fePagamento the fe pagamento - * @return the fe pagamento that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.FePagamento updateFePagamento( - it.tref.liferay.portos.portosimport.model.FePagamento fePagamento) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FePagamentoLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FePagamentoLocalServiceClp.java deleted file mode 100644 index 60383869..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FePagamentoLocalServiceClp.java +++ /dev/null @@ -1,860 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class FePagamentoLocalServiceClp implements FePagamentoLocalService { - public FePagamentoLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addFePagamento"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.FePagamento" - }; - - _methodName1 = "createFePagamento"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteFePagamento"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteFePagamento"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.FePagamento" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchFePagamento"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchFePagamentoByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchFePagamentoByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getFePagamento"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getFePagamentoByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getFePagamentoByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getFePagamentos"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getFePagamentosCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateFePagamento"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.portosimport.model.FePagamento" - }; - - _methodName20 = "getBeanIdentifier"; - - _methodParameterTypes20 = new String[] { }; - - _methodName21 = "setBeanIdentifier"; - - _methodParameterTypes21 = new String[] { "java.lang.String" }; - } - - @Override - public it.tref.liferay.portos.portosimport.model.FePagamento addFePagamento( - it.tref.liferay.portos.portosimport.model.FePagamento fePagamento) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(fePagamento) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FePagamento)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FePagamento createFePagamento( - long pagamentoId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { pagamentoId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FePagamento)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FePagamento deleteFePagamento( - long pagamentoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { pagamentoId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FePagamento)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FePagamento deleteFePagamento( - it.tref.liferay.portos.portosimport.model.FePagamento fePagamento) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(fePagamento) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FePagamento)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FePagamento fetchFePagamento( - long pagamentoId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { pagamentoId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FePagamento)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FePagamento fetchFePagamentoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FePagamento)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FePagamento fetchFePagamentoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FePagamento)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FePagamento getFePagamento( - long pagamentoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { pagamentoId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FePagamento)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FePagamento getFePagamentoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(uuid), companyId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FePagamento)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FePagamento getFePagamentoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, - new Object[] { ClpSerializer.translateInput(uuid), groupId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FePagamento)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getFePagamentos( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getFePagamentosCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName18, - _methodParameterTypes18, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FePagamento updateFePagamento( - it.tref.liferay.portos.portosimport.model.FePagamento fePagamento) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName19, - _methodParameterTypes19, - new Object[] { ClpSerializer.translateInput(fePagamento) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FePagamento)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName20, - _methodParameterTypes20, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName21, - _methodParameterTypes21, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName20; - private String[] _methodParameterTypes20; - private String _methodName21; - private String[] _methodParameterTypes21; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FePagamentoLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FePagamentoLocalServiceUtil.java deleted file mode 100644 index 7951b565..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FePagamentoLocalServiceUtil.java +++ /dev/null @@ -1,368 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for FePagamento. This utility wraps - * {@link it.tref.liferay.portos.portosimport.service.impl.FePagamentoLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see FePagamentoLocalService - * @see it.tref.liferay.portos.portosimport.service.base.FePagamentoLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.FePagamentoLocalServiceImpl - * @generated - */ -public class FePagamentoLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.FePagamentoLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the fe pagamento to the database. Also notifies the appropriate model listeners. - * - * @param fePagamento the fe pagamento - * @return the fe pagamento that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento addFePagamento( - it.tref.liferay.portos.portosimport.model.FePagamento fePagamento) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addFePagamento(fePagamento); - } - - /** - * Creates a new fe pagamento with the primary key. Does not add the fe pagamento to the database. - * - * @param pagamentoId the primary key for the new fe pagamento - * @return the new fe pagamento - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento createFePagamento( - long pagamentoId) { - return getService().createFePagamento(pagamentoId); - } - - /** - * Deletes the fe pagamento with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param pagamentoId the primary key of the fe pagamento - * @return the fe pagamento that was removed - * @throws PortalException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento deleteFePagamento( - long pagamentoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteFePagamento(pagamentoId); - } - - /** - * Deletes the fe pagamento from the database. Also notifies the appropriate model listeners. - * - * @param fePagamento the fe pagamento - * @return the fe pagamento that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento deleteFePagamento( - it.tref.liferay.portos.portosimport.model.FePagamento fePagamento) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteFePagamento(fePagamento); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.portosimport.model.FePagamento fetchFePagamento( - long pagamentoId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchFePagamento(pagamentoId); - } - - /** - * Returns the fe pagamento with the matching UUID and company. - * - * @param uuid the fe pagamento's UUID - * @param companyId the primary key of the company - * @return the matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento fetchFePagamentoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchFePagamentoByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the fe pagamento matching the UUID and group. - * - * @param uuid the fe pagamento's UUID - * @param groupId the primary key of the group - * @return the matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento fetchFePagamentoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchFePagamentoByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns the fe pagamento with the primary key. - * - * @param pagamentoId the primary key of the fe pagamento - * @return the fe pagamento - * @throws PortalException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento getFePagamento( - long pagamentoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getFePagamento(pagamentoId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns the fe pagamento with the matching UUID and company. - * - * @param uuid the fe pagamento's UUID - * @param companyId the primary key of the company - * @return the matching fe pagamento - * @throws PortalException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento getFePagamentoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getFePagamentoByUuidAndCompanyId(uuid, companyId); - } - - /** - * Returns the fe pagamento matching the UUID and group. - * - * @param uuid the fe pagamento's UUID - * @param groupId the primary key of the group - * @return the matching fe pagamento - * @throws PortalException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento getFePagamentoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getFePagamentoByUuidAndGroupId(uuid, groupId); - } - - /** - * Returns a range of all the fe pagamentos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static java.util.List getFePagamentos( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getFePagamentos(start, end); - } - - /** - * Returns the number of fe pagamentos. - * - * @return the number of fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static int getFePagamentosCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getFePagamentosCount(); - } - - /** - * Updates the fe pagamento in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param fePagamento the fe pagamento - * @return the fe pagamento that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento updateFePagamento( - it.tref.liferay.portos.portosimport.model.FePagamento fePagamento) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateFePagamento(fePagamento); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static void clearService() { - _service = null; - } - - public static FePagamentoLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - FePagamentoLocalService.class.getName()); - - if (invokableLocalService instanceof FePagamentoLocalService) { - _service = (FePagamentoLocalService)invokableLocalService; - } - else { - _service = new FePagamentoLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(FePagamentoLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(FePagamentoLocalService service) { - } - - private static FePagamentoLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FePagamentoLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FePagamentoLocalServiceWrapper.java deleted file mode 100644 index d9823212..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FePagamentoLocalServiceWrapper.java +++ /dev/null @@ -1,385 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link FePagamentoLocalService}. - * - * @author Davide Barbagallo, 3F Consulting - * @see FePagamentoLocalService - * @generated - */ -public class FePagamentoLocalServiceWrapper implements FePagamentoLocalService, - ServiceWrapper { - public FePagamentoLocalServiceWrapper( - FePagamentoLocalService fePagamentoLocalService) { - _fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Adds the fe pagamento to the database. Also notifies the appropriate model listeners. - * - * @param fePagamento the fe pagamento - * @return the fe pagamento that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.FePagamento addFePagamento( - it.tref.liferay.portos.portosimport.model.FePagamento fePagamento) - throws com.liferay.portal.kernel.exception.SystemException { - return _fePagamentoLocalService.addFePagamento(fePagamento); - } - - /** - * Creates a new fe pagamento with the primary key. Does not add the fe pagamento to the database. - * - * @param pagamentoId the primary key for the new fe pagamento - * @return the new fe pagamento - */ - @Override - public it.tref.liferay.portos.portosimport.model.FePagamento createFePagamento( - long pagamentoId) { - return _fePagamentoLocalService.createFePagamento(pagamentoId); - } - - /** - * Deletes the fe pagamento with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param pagamentoId the primary key of the fe pagamento - * @return the fe pagamento that was removed - * @throws PortalException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.FePagamento deleteFePagamento( - long pagamentoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _fePagamentoLocalService.deleteFePagamento(pagamentoId); - } - - /** - * Deletes the fe pagamento from the database. Also notifies the appropriate model listeners. - * - * @param fePagamento the fe pagamento - * @return the fe pagamento that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.FePagamento deleteFePagamento( - it.tref.liferay.portos.portosimport.model.FePagamento fePagamento) - throws com.liferay.portal.kernel.exception.SystemException { - return _fePagamentoLocalService.deleteFePagamento(fePagamento); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _fePagamentoLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _fePagamentoLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _fePagamentoLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _fePagamentoLocalService.dynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _fePagamentoLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _fePagamentoLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FePagamento fetchFePagamento( - long pagamentoId) - throws com.liferay.portal.kernel.exception.SystemException { - return _fePagamentoLocalService.fetchFePagamento(pagamentoId); - } - - /** - * Returns the fe pagamento with the matching UUID and company. - * - * @param uuid the fe pagamento's UUID - * @param companyId the primary key of the company - * @return the matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.FePagamento fetchFePagamentoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return _fePagamentoLocalService.fetchFePagamentoByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the fe pagamento matching the UUID and group. - * - * @param uuid the fe pagamento's UUID - * @param groupId the primary key of the group - * @return the matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.FePagamento fetchFePagamentoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return _fePagamentoLocalService.fetchFePagamentoByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns the fe pagamento with the primary key. - * - * @param pagamentoId the primary key of the fe pagamento - * @return the fe pagamento - * @throws PortalException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.FePagamento getFePagamento( - long pagamentoId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _fePagamentoLocalService.getFePagamento(pagamentoId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _fePagamentoLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns the fe pagamento with the matching UUID and company. - * - * @param uuid the fe pagamento's UUID - * @param companyId the primary key of the company - * @return the matching fe pagamento - * @throws PortalException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.FePagamento getFePagamentoByUuidAndCompanyId( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _fePagamentoLocalService.getFePagamentoByUuidAndCompanyId(uuid, - companyId); - } - - /** - * Returns the fe pagamento matching the UUID and group. - * - * @param uuid the fe pagamento's UUID - * @param groupId the primary key of the group - * @return the matching fe pagamento - * @throws PortalException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.FePagamento getFePagamentoByUuidAndGroupId( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _fePagamentoLocalService.getFePagamentoByUuidAndGroupId(uuid, - groupId); - } - - /** - * Returns a range of all the fe pagamentos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getFePagamentos( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _fePagamentoLocalService.getFePagamentos(start, end); - } - - /** - * Returns the number of fe pagamentos. - * - * @return the number of fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public int getFePagamentosCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _fePagamentoLocalService.getFePagamentosCount(); - } - - /** - * Updates the fe pagamento in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param fePagamento the fe pagamento - * @return the fe pagamento that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.FePagamento updateFePagamento( - it.tref.liferay.portos.portosimport.model.FePagamento fePagamento) - throws com.liferay.portal.kernel.exception.SystemException { - return _fePagamentoLocalService.updateFePagamento(fePagamento); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _fePagamentoLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _fePagamentoLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _fePagamentoLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public FePagamentoLocalService getWrappedFePagamentoLocalService() { - return _fePagamentoLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedFePagamentoLocalService( - FePagamentoLocalService fePagamentoLocalService) { - _fePagamentoLocalService = fePagamentoLocalService; - } - - @Override - public FePagamentoLocalService getWrappedService() { - return _fePagamentoLocalService; - } - - @Override - public void setWrappedService( - FePagamentoLocalService fePagamentoLocalService) { - _fePagamentoLocalService = fePagamentoLocalService; - } - - private FePagamentoLocalService _fePagamentoLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeTerritorioLocalService.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeTerritorioLocalService.java deleted file mode 100644 index 04f939ed..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeTerritorioLocalService.java +++ /dev/null @@ -1,260 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.transaction.Isolation; -import com.liferay.portal.kernel.transaction.Propagation; -import com.liferay.portal.kernel.transaction.Transactional; -import com.liferay.portal.service.BaseLocalService; -import com.liferay.portal.service.InvokableLocalService; -import com.liferay.portal.service.PersistedModelLocalService; - -/** - * Provides the local service interface for FeTerritorio. Methods of this - * service will not have security checks based on the propagated JAAS - * credentials because this service can only be accessed from within the same - * VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see FeTerritorioLocalServiceUtil - * @see it.tref.liferay.portos.portosimport.service.base.FeTerritorioLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.FeTerritorioLocalServiceImpl - * @generated - */ -@Transactional(isolation = Isolation.PORTAL, rollbackFor = { - PortalException.class, SystemException.class}) -public interface FeTerritorioLocalService extends BaseLocalService, - InvokableLocalService, PersistedModelLocalService { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link FeTerritorioLocalServiceUtil} to access the fe territorio local service. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.FeTerritorioLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. - */ - - /** - * Adds the fe territorio to the database. Also notifies the appropriate model listeners. - * - * @param feTerritorio the fe territorio - * @return the fe territorio that was added - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.FeTerritorio addFeTerritorio( - it.tref.liferay.portos.portosimport.model.FeTerritorio feTerritorio) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Creates a new fe territorio with the primary key. Does not add the fe territorio to the database. - * - * @param territorioId the primary key for the new fe territorio - * @return the new fe territorio - */ - public it.tref.liferay.portos.portosimport.model.FeTerritorio createFeTerritorio( - long territorioId); - - /** - * Deletes the fe territorio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param territorioId the primary key of the fe territorio - * @return the fe territorio that was removed - * @throws PortalException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.FeTerritorio deleteFeTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Deletes the fe territorio from the database. Also notifies the appropriate model listeners. - * - * @param feTerritorio the fe territorio - * @return the fe territorio that was removed - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE) - public it.tref.liferay.portos.portosimport.model.FeTerritorio deleteFeTerritorio( - it.tref.liferay.portos.portosimport.model.FeTerritorio feTerritorio) - throws com.liferay.portal.kernel.exception.SystemException; - - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery(); - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException; - - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.FeTerritorio fetchFeTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe territorio with the primary key. - * - * @param territorioId the primary key of the fe territorio - * @return the fe territorio - * @throws PortalException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public it.tref.liferay.portos.portosimport.model.FeTerritorio getFeTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - @Override - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of fe territorios - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public java.util.List getFeTerritorios( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe territorios. - * - * @return the number of fe territorios - * @throws SystemException if a system exception occurred - */ - @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) - public int getFeTerritoriosCount() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Updates the fe territorio in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param feTerritorio the fe territorio - * @return the fe territorio that was updated - * @throws SystemException if a system exception occurred - */ - @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX) - public it.tref.liferay.portos.portosimport.model.FeTerritorio updateFeTerritorio( - it.tref.liferay.portos.portosimport.model.FeTerritorio feTerritorio) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public java.lang.String getBeanIdentifier(); - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public void setBeanIdentifier(java.lang.String beanIdentifier); - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable; - - public java.util.List findByC_Z_F( - long comuneId, long zonaId, long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeTerritorioLocalServiceClp.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeTerritorioLocalServiceClp.java deleted file mode 100644 index bc15c2c3..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeTerritorioLocalServiceClp.java +++ /dev/null @@ -1,742 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.InvokableLocalService; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class FeTerritorioLocalServiceClp implements FeTerritorioLocalService { - public FeTerritorioLocalServiceClp( - InvokableLocalService invokableLocalService) { - _invokableLocalService = invokableLocalService; - - _methodName0 = "addFeTerritorio"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.FeTerritorio" - }; - - _methodName1 = "createFeTerritorio"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteFeTerritorio"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteFeTerritorio"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.FeTerritorio" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchFeTerritorio"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getFeTerritorio"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getFeTerritorios"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getFeTerritoriosCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateFeTerritorio"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.portosimport.model.FeTerritorio" - }; - - _methodName16 = "getBeanIdentifier"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "setBeanIdentifier"; - - _methodParameterTypes17 = new String[] { "java.lang.String" }; - - _methodName19 = "findByC_Z_F"; - - _methodParameterTypes19 = new String[] { "long", "long", "long" }; - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeTerritorio addFeTerritorio( - it.tref.liferay.portos.portosimport.model.FeTerritorio feTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName0, - _methodParameterTypes0, - new Object[] { ClpSerializer.translateInput(feTerritorio) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FeTerritorio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeTerritorio createFeTerritorio( - long territorioId) { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName1, - _methodParameterTypes1, new Object[] { territorioId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FeTerritorio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeTerritorio deleteFeTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName2, - _methodParameterTypes2, new Object[] { territorioId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FeTerritorio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeTerritorio deleteFeTerritorio( - it.tref.liferay.portos.portosimport.model.FeTerritorio feTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName3, - _methodParameterTypes3, - new Object[] { ClpSerializer.translateInput(feTerritorio) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FeTerritorio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName4, - _methodParameterTypes4, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName5, - _methodParameterTypes5, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName6, - _methodParameterTypes6, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName7, - _methodParameterTypes7, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - start, - - end, - - ClpSerializer.translateInput(orderByComparator) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName8, - _methodParameterTypes8, - new Object[] { ClpSerializer.translateInput(dynamicQuery) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName9, - _methodParameterTypes9, - new Object[] { - ClpSerializer.translateInput(dynamicQuery), - - ClpSerializer.translateInput(projection) - }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Long)returnObj).longValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeTerritorio fetchFeTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName10, - _methodParameterTypes10, new Object[] { territorioId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FeTerritorio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeTerritorio getFeTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName11, - _methodParameterTypes11, new Object[] { territorioId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FeTerritorio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName12, - _methodParameterTypes12, - new Object[] { ClpSerializer.translateInput(primaryKeyObj) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.PortalException) { - throw (com.liferay.portal.kernel.exception.PortalException)t; - } - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.util.List getFeTerritorios( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName13, - _methodParameterTypes13, new Object[] { start, end }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - @Override - public int getFeTerritoriosCount() - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName14, - _methodParameterTypes14, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return ((Integer)returnObj).intValue(); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeTerritorio updateFeTerritorio( - it.tref.liferay.portos.portosimport.model.FeTerritorio feTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName15, - _methodParameterTypes15, - new Object[] { ClpSerializer.translateInput(feTerritorio) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (it.tref.liferay.portos.portosimport.model.FeTerritorio)ClpSerializer.translateOutput(returnObj); - } - - @Override - public java.lang.String getBeanIdentifier() { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName16, - _methodParameterTypes16, new Object[] { }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.lang.String)ClpSerializer.translateOutput(returnObj); - } - - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - try { - _invokableLocalService.invokeMethod(_methodName17, - _methodParameterTypes17, - new Object[] { ClpSerializer.translateInput(beanIdentifier) }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - throw new UnsupportedOperationException(); - } - - @Override - public java.util.List findByC_Z_F( - long comuneId, long zonaId, long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException { - Object returnObj = null; - - try { - returnObj = _invokableLocalService.invokeMethod(_methodName19, - _methodParameterTypes19, - new Object[] { comuneId, zonaId, fasciaId }); - } - catch (Throwable t) { - t = ClpSerializer.translateThrowable(t); - - if (t instanceof com.liferay.portal.kernel.exception.SystemException) { - throw (com.liferay.portal.kernel.exception.SystemException)t; - } - - if (t instanceof RuntimeException) { - throw (RuntimeException)t; - } - else { - throw new RuntimeException(t.getClass().getName() + - " is not a valid exception"); - } - } - - return (java.util.List)ClpSerializer.translateOutput(returnObj); - } - - private InvokableLocalService _invokableLocalService; - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName19; - private String[] _methodParameterTypes19; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeTerritorioLocalServiceUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeTerritorioLocalServiceUtil.java deleted file mode 100644 index 1f0fdbe0..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeTerritorioLocalServiceUtil.java +++ /dev/null @@ -1,314 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.InvokableLocalService; - -/** - * Provides the local service utility for FeTerritorio. This utility wraps - * {@link it.tref.liferay.portos.portosimport.service.impl.FeTerritorioLocalServiceImpl} and is the - * primary access point for service operations in application layer code running - * on the local server. Methods of this service will not have security checks - * based on the propagated JAAS credentials because this service can only be - * accessed from within the same VM. - * - * @author Davide Barbagallo, 3F Consulting - * @see FeTerritorioLocalService - * @see it.tref.liferay.portos.portosimport.service.base.FeTerritorioLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.impl.FeTerritorioLocalServiceImpl - * @generated - */ -public class FeTerritorioLocalServiceUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Add custom service methods to {@link it.tref.liferay.portos.portosimport.service.impl.FeTerritorioLocalServiceImpl} and rerun ServiceBuilder to regenerate this class. - */ - - /** - * Adds the fe territorio to the database. Also notifies the appropriate model listeners. - * - * @param feTerritorio the fe territorio - * @return the fe territorio that was added - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeTerritorio addFeTerritorio( - it.tref.liferay.portos.portosimport.model.FeTerritorio feTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().addFeTerritorio(feTerritorio); - } - - /** - * Creates a new fe territorio with the primary key. Does not add the fe territorio to the database. - * - * @param territorioId the primary key for the new fe territorio - * @return the new fe territorio - */ - public static it.tref.liferay.portos.portosimport.model.FeTerritorio createFeTerritorio( - long territorioId) { - return getService().createFeTerritorio(territorioId); - } - - /** - * Deletes the fe territorio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param territorioId the primary key of the fe territorio - * @return the fe territorio that was removed - * @throws PortalException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeTerritorio deleteFeTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().deleteFeTerritorio(territorioId); - } - - /** - * Deletes the fe territorio from the database. Also notifies the appropriate model listeners. - * - * @param feTerritorio the fe territorio - * @return the fe territorio that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeTerritorio deleteFeTerritorio( - it.tref.liferay.portos.portosimport.model.FeTerritorio feTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().deleteFeTerritorio(feTerritorio); - } - - public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return getService().dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @SuppressWarnings("rawtypes") - public static java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getService() - .dynamicQuery(dynamicQuery, start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - public static long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().dynamicQueryCount(dynamicQuery, projection); - } - - public static it.tref.liferay.portos.portosimport.model.FeTerritorio fetchFeTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().fetchFeTerritorio(territorioId); - } - - /** - * Returns the fe territorio with the primary key. - * - * @param territorioId the primary key of the fe territorio - * @return the fe territorio - * @throws PortalException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeTerritorio getFeTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getFeTerritorio(territorioId); - } - - public static com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return getService().getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the fe territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of fe territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List getFeTerritorios( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getFeTerritorios(start, end); - } - - /** - * Returns the number of fe territorios. - * - * @return the number of fe territorios - * @throws SystemException if a system exception occurred - */ - public static int getFeTerritoriosCount() - throws com.liferay.portal.kernel.exception.SystemException { - return getService().getFeTerritoriosCount(); - } - - /** - * Updates the fe territorio in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param feTerritorio the fe territorio - * @return the fe territorio that was updated - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeTerritorio updateFeTerritorio( - it.tref.liferay.portos.portosimport.model.FeTerritorio feTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().updateFeTerritorio(feTerritorio); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - public static java.lang.String getBeanIdentifier() { - return getService().getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - public static void setBeanIdentifier(java.lang.String beanIdentifier) { - getService().setBeanIdentifier(beanIdentifier); - } - - public static java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return getService().invokeMethod(name, parameterTypes, arguments); - } - - public static java.util.List findByC_Z_F( - long comuneId, long zonaId, long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getService().findByC_Z_F(comuneId, zonaId, fasciaId); - } - - public static void clearService() { - _service = null; - } - - public static FeTerritorioLocalService getService() { - if (_service == null) { - InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), - FeTerritorioLocalService.class.getName()); - - if (invokableLocalService instanceof FeTerritorioLocalService) { - _service = (FeTerritorioLocalService)invokableLocalService; - } - else { - _service = new FeTerritorioLocalServiceClp(invokableLocalService); - } - - ReferenceRegistry.registerReference(FeTerritorioLocalServiceUtil.class, - "_service"); - } - - return _service; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setService(FeTerritorioLocalService service) { - } - - private static FeTerritorioLocalService _service; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeTerritorioLocalServiceWrapper.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeTerritorioLocalServiceWrapper.java deleted file mode 100644 index bff8d16e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/FeTerritorioLocalServiceWrapper.java +++ /dev/null @@ -1,324 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service; - -import com.liferay.portal.service.ServiceWrapper; - -/** - * Provides a wrapper for {@link FeTerritorioLocalService}. - * - * @author Davide Barbagallo, 3F Consulting - * @see FeTerritorioLocalService - * @generated - */ -public class FeTerritorioLocalServiceWrapper implements FeTerritorioLocalService, - ServiceWrapper { - public FeTerritorioLocalServiceWrapper( - FeTerritorioLocalService feTerritorioLocalService) { - _feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Adds the fe territorio to the database. Also notifies the appropriate model listeners. - * - * @param feTerritorio the fe territorio - * @return the fe territorio that was added - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.FeTerritorio addFeTerritorio( - it.tref.liferay.portos.portosimport.model.FeTerritorio feTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - return _feTerritorioLocalService.addFeTerritorio(feTerritorio); - } - - /** - * Creates a new fe territorio with the primary key. Does not add the fe territorio to the database. - * - * @param territorioId the primary key for the new fe territorio - * @return the new fe territorio - */ - @Override - public it.tref.liferay.portos.portosimport.model.FeTerritorio createFeTerritorio( - long territorioId) { - return _feTerritorioLocalService.createFeTerritorio(territorioId); - } - - /** - * Deletes the fe territorio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param territorioId the primary key of the fe territorio - * @return the fe territorio that was removed - * @throws PortalException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.FeTerritorio deleteFeTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _feTerritorioLocalService.deleteFeTerritorio(territorioId); - } - - /** - * Deletes the fe territorio from the database. Also notifies the appropriate model listeners. - * - * @param feTerritorio the fe territorio - * @return the fe territorio that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.FeTerritorio deleteFeTerritorio( - it.tref.liferay.portos.portosimport.model.FeTerritorio feTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - return _feTerritorioLocalService.deleteFeTerritorio(feTerritorio); - } - - @Override - public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { - return _feTerritorioLocalService.dynamicQuery(); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _feTerritorioLocalService.dynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return _feTerritorioLocalService.dynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public java.util.List dynamicQuery( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return _feTerritorioLocalService.dynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - throws com.liferay.portal.kernel.exception.SystemException { - return _feTerritorioLocalService.dynamicQueryCount(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount( - com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, - com.liferay.portal.kernel.dao.orm.Projection projection) - throws com.liferay.portal.kernel.exception.SystemException { - return _feTerritorioLocalService.dynamicQueryCount(dynamicQuery, - projection); - } - - @Override - public it.tref.liferay.portos.portosimport.model.FeTerritorio fetchFeTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException { - return _feTerritorioLocalService.fetchFeTerritorio(territorioId); - } - - /** - * Returns the fe territorio with the primary key. - * - * @param territorioId the primary key of the fe territorio - * @return the fe territorio - * @throws PortalException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.FeTerritorio getFeTerritorio( - long territorioId) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _feTerritorioLocalService.getFeTerritorio(territorioId); - } - - @Override - public com.liferay.portal.model.PersistedModel getPersistedModel( - java.io.Serializable primaryKeyObj) - throws com.liferay.portal.kernel.exception.PortalException, - com.liferay.portal.kernel.exception.SystemException { - return _feTerritorioLocalService.getPersistedModel(primaryKeyObj); - } - - /** - * Returns a range of all the fe territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public java.util.List getFeTerritorios( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return _feTerritorioLocalService.getFeTerritorios(start, end); - } - - /** - * Returns the number of fe territorios. - * - * @return the number of fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public int getFeTerritoriosCount() - throws com.liferay.portal.kernel.exception.SystemException { - return _feTerritorioLocalService.getFeTerritoriosCount(); - } - - /** - * Updates the fe territorio in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param feTerritorio the fe territorio - * @return the fe territorio that was updated - * @throws SystemException if a system exception occurred - */ - @Override - public it.tref.liferay.portos.portosimport.model.FeTerritorio updateFeTerritorio( - it.tref.liferay.portos.portosimport.model.FeTerritorio feTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - return _feTerritorioLocalService.updateFeTerritorio(feTerritorio); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public java.lang.String getBeanIdentifier() { - return _feTerritorioLocalService.getBeanIdentifier(); - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(java.lang.String beanIdentifier) { - _feTerritorioLocalService.setBeanIdentifier(beanIdentifier); - } - - @Override - public java.lang.Object invokeMethod(java.lang.String name, - java.lang.String[] parameterTypes, java.lang.Object[] arguments) - throws java.lang.Throwable { - return _feTerritorioLocalService.invokeMethod(name, parameterTypes, - arguments); - } - - @Override - public java.util.List findByC_Z_F( - long comuneId, long zonaId, long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException { - return _feTerritorioLocalService.findByC_Z_F(comuneId, zonaId, fasciaId); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} - */ - public FeTerritorioLocalService getWrappedFeTerritorioLocalService() { - return _feTerritorioLocalService; - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} - */ - public void setWrappedFeTerritorioLocalService( - FeTerritorioLocalService feTerritorioLocalService) { - _feTerritorioLocalService = feTerritorioLocalService; - } - - @Override - public FeTerritorioLocalService getWrappedService() { - return _feTerritorioLocalService; - } - - @Override - public void setWrappedService( - FeTerritorioLocalService feTerritorioLocalService) { - _feTerritorioLocalService = feTerritorioLocalService; - } - - private FeTerritorioLocalService _feTerritorioLocalService; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/messaging/ClpMessageListener.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/messaging/ClpMessageListener.java deleted file mode 100644 index a73ae752..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/messaging/ClpMessageListener.java +++ /dev/null @@ -1,95 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.messaging; - -import com.liferay.portal.kernel.messaging.BaseMessageListener; -import com.liferay.portal.kernel.messaging.Message; - -import it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.BoAvvisoLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.BoComuneLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.BoSoggettoLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.BoSorteggioLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.BoTempisticaLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.BoTerritorioLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.ClpSerializer; -import it.tref.liferay.portos.portosimport.service.FeComuneLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.FePagamentoLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.FeTerritorioLocalServiceUtil; - -/** - * @author Davide Barbagallo, 3F Consulting - */ -public class ClpMessageListener extends BaseMessageListener { - public static String getServletContextName() { - return ClpSerializer.getServletContextName(); - } - - @Override - protected void doReceive(Message message) throws Exception { - String command = message.getString("command"); - String servletContextName = message.getString("servletContextName"); - - if (command.equals("undeploy") && - servletContextName.equals(getServletContextName())) { - BoArtLeggeLocalServiceUtil.clearService(); - - BoAvvisoLocalServiceUtil.clearService(); - - BoComuneLocalServiceUtil.clearService(); - - BoDettPraticaLocalServiceUtil.clearService(); - - BoDocPraticaLocalServiceUtil.clearService(); - - BoIntPraticaLocalServiceUtil.clearService(); - - BoProblemiPraticaLocalServiceUtil.clearService(); - - BoRelLeggiPraticaLocalServiceUtil.clearService(); - - BoSistemaCostruttivoLocalServiceUtil.clearService(); - - BoSoggettoLocalServiceUtil.clearService(); - - BoSorteggioLocalServiceUtil.clearService(); - - BoStoricoSoggettoPraticaLocalServiceUtil.clearService(); - - BoTempisticaLocalServiceUtil.clearService(); - - BoTerritorioLocalServiceUtil.clearService(); - - FeComuneLocalServiceUtil.clearService(); - - FeDettPraticaLocalServiceUtil.clearService(); - - FeIntPraticaLocalServiceUtil.clearService(); - - FePagamentoLocalServiceUtil.clearService(); - - FeTerritorioLocalServiceUtil.clearService(); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoArtLeggeActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoArtLeggeActionableDynamicQuery.java deleted file mode 100644 index 098c0d2a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoArtLeggeActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.BoArtLegge; -import it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalServiceUtil; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public abstract class BoArtLeggeActionableDynamicQuery - extends BaseActionableDynamicQuery { - public BoArtLeggeActionableDynamicQuery() throws SystemException { - setBaseLocalService(BoArtLeggeLocalServiceUtil.getService()); - setClass(BoArtLegge.class); - - setClassLoader(it.tref.liferay.portos.portosimport.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("artLeggeId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoArtLeggePersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoArtLeggePersistence.java deleted file mode 100644 index eb130334..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoArtLeggePersistence.java +++ /dev/null @@ -1,368 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.portosimport.model.BoArtLegge; - -/** - * The persistence interface for the bo art legge service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoArtLeggePersistenceImpl - * @see BoArtLeggeUtil - * @generated - */ -public interface BoArtLeggePersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoArtLeggeUtil} to access the bo art legge persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns the bo art legge where codArtLegge = ? and tipologia = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException} if it could not be found. - * - * @param codArtLegge the cod art legge - * @param tipologia the tipologia - * @return the matching bo art legge - * @throws it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoArtLegge findBycodArtLegge_tipologia( - java.lang.String codArtLegge, java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException; - - /** - * Returns the bo art legge where codArtLegge = ? and tipologia = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codArtLegge the cod art legge - * @param tipologia the tipologia - * @return the matching bo art legge, or null if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoArtLegge fetchBycodArtLegge_tipologia( - java.lang.String codArtLegge, java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo art legge where codArtLegge = ? and tipologia = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codArtLegge the cod art legge - * @param tipologia the tipologia - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo art legge, or null if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoArtLegge fetchBycodArtLegge_tipologia( - java.lang.String codArtLegge, java.lang.String tipologia, - boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo art legge where codArtLegge = ? and tipologia = ? from the database. - * - * @param codArtLegge the cod art legge - * @param tipologia the tipologia - * @return the bo art legge that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoArtLegge removeBycodArtLegge_tipologia( - java.lang.String codArtLegge, java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException; - - /** - * Returns the number of bo art legges where codArtLegge = ? and tipologia = ?. - * - * @param codArtLegge the cod art legge - * @param tipologia the tipologia - * @return the number of matching bo art legges - * @throws SystemException if a system exception occurred - */ - public int countBycodArtLegge_tipologia(java.lang.String codArtLegge, - java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo art legges where tipologia = ?. - * - * @param tipologia the tipologia - * @return the matching bo art legges - * @throws SystemException if a system exception occurred - */ - public java.util.List findBytipologia( - java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo art legges where tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param tipologia the tipologia - * @param start the lower bound of the range of bo art legges - * @param end the upper bound of the range of bo art legges (not inclusive) - * @return the range of matching bo art legges - * @throws SystemException if a system exception occurred - */ - public java.util.List findBytipologia( - java.lang.String tipologia, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo art legges where tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param tipologia the tipologia - * @param start the lower bound of the range of bo art legges - * @param end the upper bound of the range of bo art legges (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo art legges - * @throws SystemException if a system exception occurred - */ - public java.util.List findBytipologia( - java.lang.String tipologia, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo art legge in the ordered set where tipologia = ?. - * - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo art legge - * @throws it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoArtLegge findBytipologia_First( - java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException; - - /** - * Returns the first bo art legge in the ordered set where tipologia = ?. - * - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo art legge, or null if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoArtLegge fetchBytipologia_First( - java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo art legge in the ordered set where tipologia = ?. - * - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo art legge - * @throws it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoArtLegge findBytipologia_Last( - java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException; - - /** - * Returns the last bo art legge in the ordered set where tipologia = ?. - * - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo art legge, or null if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoArtLegge fetchBytipologia_Last( - java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo art legges before and after the current bo art legge in the ordered set where tipologia = ?. - * - * @param artLeggeId the primary key of the current bo art legge - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo art legge - * @throws it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoArtLegge[] findBytipologia_PrevAndNext( - long artLeggeId, java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException; - - /** - * Removes all the bo art legges where tipologia = ? from the database. - * - * @param tipologia the tipologia - * @throws SystemException if a system exception occurred - */ - public void removeBytipologia(java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo art legges where tipologia = ?. - * - * @param tipologia the tipologia - * @return the number of matching bo art legges - * @throws SystemException if a system exception occurred - */ - public int countBytipologia(java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the bo art legge in the entity cache if it is enabled. - * - * @param boArtLegge the bo art legge - */ - public void cacheResult( - it.tref.liferay.portos.portosimport.model.BoArtLegge boArtLegge); - - /** - * Caches the bo art legges in the entity cache if it is enabled. - * - * @param boArtLegges the bo art legges - */ - public void cacheResult( - java.util.List boArtLegges); - - /** - * Creates a new bo art legge with the primary key. Does not add the bo art legge to the database. - * - * @param artLeggeId the primary key for the new bo art legge - * @return the new bo art legge - */ - public it.tref.liferay.portos.portosimport.model.BoArtLegge create( - long artLeggeId); - - /** - * Removes the bo art legge with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param artLeggeId the primary key of the bo art legge - * @return the bo art legge that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoArtLegge remove( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException; - - public it.tref.liferay.portos.portosimport.model.BoArtLegge updateImpl( - it.tref.liferay.portos.portosimport.model.BoArtLegge boArtLegge) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo art legge with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException} if it could not be found. - * - * @param artLeggeId the primary key of the bo art legge - * @return the bo art legge - * @throws it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoArtLegge findByPrimaryKey( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException; - - /** - * Returns the bo art legge with the primary key or returns null if it could not be found. - * - * @param artLeggeId the primary key of the bo art legge - * @return the bo art legge, or null if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoArtLegge fetchByPrimaryKey( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo art legges. - * - * @return the bo art legges - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo art legges. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo art legges - * @param end the upper bound of the range of bo art legges (not inclusive) - * @return the range of bo art legges - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo art legges. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo art legges - * @param end the upper bound of the range of bo art legges (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo art legges - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the bo art legges from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo art legges. - * - * @return the number of bo art legges - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoArtLeggeUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoArtLeggeUtil.java deleted file mode 100644 index c54b8f82..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoArtLeggeUtil.java +++ /dev/null @@ -1,528 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.portosimport.model.BoArtLegge; - -import java.util.List; - -/** - * The persistence utility for the bo art legge service. This utility wraps {@link BoArtLeggePersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoArtLeggePersistence - * @see BoArtLeggePersistenceImpl - * @generated - */ -public class BoArtLeggeUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(BoArtLegge boArtLegge) { - getPersistence().clearCache(boArtLegge); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static BoArtLegge update(BoArtLegge boArtLegge) - throws SystemException { - return getPersistence().update(boArtLegge); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static BoArtLegge update(BoArtLegge boArtLegge, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(boArtLegge, serviceContext); - } - - /** - * Returns the bo art legge where codArtLegge = ? and tipologia = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException} if it could not be found. - * - * @param codArtLegge the cod art legge - * @param tipologia the tipologia - * @return the matching bo art legge - * @throws it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoArtLegge findBycodArtLegge_tipologia( - java.lang.String codArtLegge, java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException { - return getPersistence() - .findBycodArtLegge_tipologia(codArtLegge, tipologia); - } - - /** - * Returns the bo art legge where codArtLegge = ? and tipologia = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codArtLegge the cod art legge - * @param tipologia the tipologia - * @return the matching bo art legge, or null if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoArtLegge fetchBycodArtLegge_tipologia( - java.lang.String codArtLegge, java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchBycodArtLegge_tipologia(codArtLegge, tipologia); - } - - /** - * Returns the bo art legge where codArtLegge = ? and tipologia = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codArtLegge the cod art legge - * @param tipologia the tipologia - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo art legge, or null if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoArtLegge fetchBycodArtLegge_tipologia( - java.lang.String codArtLegge, java.lang.String tipologia, - boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchBycodArtLegge_tipologia(codArtLegge, tipologia, - retrieveFromCache); - } - - /** - * Removes the bo art legge where codArtLegge = ? and tipologia = ? from the database. - * - * @param codArtLegge the cod art legge - * @param tipologia the tipologia - * @return the bo art legge that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoArtLegge removeBycodArtLegge_tipologia( - java.lang.String codArtLegge, java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException { - return getPersistence() - .removeBycodArtLegge_tipologia(codArtLegge, tipologia); - } - - /** - * Returns the number of bo art legges where codArtLegge = ? and tipologia = ?. - * - * @param codArtLegge the cod art legge - * @param tipologia the tipologia - * @return the number of matching bo art legges - * @throws SystemException if a system exception occurred - */ - public static int countBycodArtLegge_tipologia( - java.lang.String codArtLegge, java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countBycodArtLegge_tipologia(codArtLegge, tipologia); - } - - /** - * Returns all the bo art legges where tipologia = ?. - * - * @param tipologia the tipologia - * @return the matching bo art legges - * @throws SystemException if a system exception occurred - */ - public static java.util.List findBytipologia( - java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findBytipologia(tipologia); - } - - /** - * Returns a range of all the bo art legges where tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param tipologia the tipologia - * @param start the lower bound of the range of bo art legges - * @param end the upper bound of the range of bo art legges (not inclusive) - * @return the range of matching bo art legges - * @throws SystemException if a system exception occurred - */ - public static java.util.List findBytipologia( - java.lang.String tipologia, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findBytipologia(tipologia, start, end); - } - - /** - * Returns an ordered range of all the bo art legges where tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param tipologia the tipologia - * @param start the lower bound of the range of bo art legges - * @param end the upper bound of the range of bo art legges (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo art legges - * @throws SystemException if a system exception occurred - */ - public static java.util.List findBytipologia( - java.lang.String tipologia, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findBytipologia(tipologia, start, end, orderByComparator); - } - - /** - * Returns the first bo art legge in the ordered set where tipologia = ?. - * - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo art legge - * @throws it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoArtLegge findBytipologia_First( - java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException { - return getPersistence() - .findBytipologia_First(tipologia, orderByComparator); - } - - /** - * Returns the first bo art legge in the ordered set where tipologia = ?. - * - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo art legge, or null if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoArtLegge fetchBytipologia_First( - java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchBytipologia_First(tipologia, orderByComparator); - } - - /** - * Returns the last bo art legge in the ordered set where tipologia = ?. - * - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo art legge - * @throws it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoArtLegge findBytipologia_Last( - java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException { - return getPersistence() - .findBytipologia_Last(tipologia, orderByComparator); - } - - /** - * Returns the last bo art legge in the ordered set where tipologia = ?. - * - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo art legge, or null if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoArtLegge fetchBytipologia_Last( - java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchBytipologia_Last(tipologia, orderByComparator); - } - - /** - * Returns the bo art legges before and after the current bo art legge in the ordered set where tipologia = ?. - * - * @param artLeggeId the primary key of the current bo art legge - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo art legge - * @throws it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoArtLegge[] findBytipologia_PrevAndNext( - long artLeggeId, java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException { - return getPersistence() - .findBytipologia_PrevAndNext(artLeggeId, tipologia, - orderByComparator); - } - - /** - * Removes all the bo art legges where tipologia = ? from the database. - * - * @param tipologia the tipologia - * @throws SystemException if a system exception occurred - */ - public static void removeBytipologia(java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeBytipologia(tipologia); - } - - /** - * Returns the number of bo art legges where tipologia = ?. - * - * @param tipologia the tipologia - * @return the number of matching bo art legges - * @throws SystemException if a system exception occurred - */ - public static int countBytipologia(java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countBytipologia(tipologia); - } - - /** - * Caches the bo art legge in the entity cache if it is enabled. - * - * @param boArtLegge the bo art legge - */ - public static void cacheResult( - it.tref.liferay.portos.portosimport.model.BoArtLegge boArtLegge) { - getPersistence().cacheResult(boArtLegge); - } - - /** - * Caches the bo art legges in the entity cache if it is enabled. - * - * @param boArtLegges the bo art legges - */ - public static void cacheResult( - java.util.List boArtLegges) { - getPersistence().cacheResult(boArtLegges); - } - - /** - * Creates a new bo art legge with the primary key. Does not add the bo art legge to the database. - * - * @param artLeggeId the primary key for the new bo art legge - * @return the new bo art legge - */ - public static it.tref.liferay.portos.portosimport.model.BoArtLegge create( - long artLeggeId) { - return getPersistence().create(artLeggeId); - } - - /** - * Removes the bo art legge with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param artLeggeId the primary key of the bo art legge - * @return the bo art legge that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoArtLegge remove( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException { - return getPersistence().remove(artLeggeId); - } - - public static it.tref.liferay.portos.portosimport.model.BoArtLegge updateImpl( - it.tref.liferay.portos.portosimport.model.BoArtLegge boArtLegge) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(boArtLegge); - } - - /** - * Returns the bo art legge with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException} if it could not be found. - * - * @param artLeggeId the primary key of the bo art legge - * @return the bo art legge - * @throws it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoArtLegge findByPrimaryKey( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException { - return getPersistence().findByPrimaryKey(artLeggeId); - } - - /** - * Returns the bo art legge with the primary key or returns null if it could not be found. - * - * @param artLeggeId the primary key of the bo art legge - * @return the bo art legge, or null if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoArtLegge fetchByPrimaryKey( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(artLeggeId); - } - - /** - * Returns all the bo art legges. - * - * @return the bo art legges - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the bo art legges. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo art legges - * @param end the upper bound of the range of bo art legges (not inclusive) - * @return the range of bo art legges - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the bo art legges. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo art legges - * @param end the upper bound of the range of bo art legges (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo art legges - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the bo art legges from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of bo art legges. - * - * @return the number of bo art legges - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static BoArtLeggePersistence getPersistence() { - if (_persistence == null) { - _persistence = (BoArtLeggePersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.portosimport.service.ClpSerializer.getServletContextName(), - BoArtLeggePersistence.class.getName()); - - ReferenceRegistry.registerReference(BoArtLeggeUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(BoArtLeggePersistence persistence) { - } - - private static BoArtLeggePersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoAvvisoActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoAvvisoActionableDynamicQuery.java deleted file mode 100644 index 4224e210..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoAvvisoActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.BoAvviso; -import it.tref.liferay.portos.portosimport.service.BoAvvisoLocalServiceUtil; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public abstract class BoAvvisoActionableDynamicQuery - extends BaseActionableDynamicQuery { - public BoAvvisoActionableDynamicQuery() throws SystemException { - setBaseLocalService(BoAvvisoLocalServiceUtil.getService()); - setClass(BoAvviso.class); - - setClassLoader(it.tref.liferay.portos.portosimport.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("avvisoId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoAvvisoExportActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoAvvisoExportActionableDynamicQuery.java deleted file mode 100644 index 6062cb7d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoAvvisoExportActionableDynamicQuery.java +++ /dev/null @@ -1,85 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.ExportImportHelperUtil; -import com.liferay.portal.kernel.lar.ManifestSummary; -import com.liferay.portal.kernel.lar.PortletDataContext; -import com.liferay.portal.kernel.lar.StagedModelDataHandlerUtil; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.portosimport.model.BoAvviso; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoAvvisoExportActionableDynamicQuery - extends BoAvvisoActionableDynamicQuery { - public BoAvvisoExportActionableDynamicQuery( - PortletDataContext portletDataContext) throws SystemException { - _portletDataContext = portletDataContext; - - setCompanyId(_portletDataContext.getCompanyId()); - - setGroupId(_portletDataContext.getScopeGroupId()); - } - - @Override - public long performCount() throws PortalException, SystemException { - ManifestSummary manifestSummary = _portletDataContext.getManifestSummary(); - - StagedModelType stagedModelType = getStagedModelType(); - - long modelAdditionCount = super.performCount(); - - manifestSummary.addModelAdditionCount(stagedModelType.toString(), - modelAdditionCount); - - long modelDeletionCount = ExportImportHelperUtil.getModelDeletionCount(_portletDataContext, - stagedModelType); - - manifestSummary.addModelDeletionCount(stagedModelType.toString(), - modelDeletionCount); - - return modelAdditionCount; - } - - @Override - protected void addCriteria(DynamicQuery dynamicQuery) { - _portletDataContext.addDateRangeCriteria(dynamicQuery, "modifiedDate"); - } - - protected StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoAvviso.class.getName())); - } - - @Override - @SuppressWarnings("unused") - protected void performAction(Object object) - throws PortalException, SystemException { - BoAvviso stagedModel = (BoAvviso)object; - - StagedModelDataHandlerUtil.exportStagedModel(_portletDataContext, - stagedModel); - } - - private PortletDataContext _portletDataContext; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoAvvisoPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoAvvisoPersistence.java deleted file mode 100644 index 3b179a6f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoAvvisoPersistence.java +++ /dev/null @@ -1,1089 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.portosimport.model.BoAvviso; - -/** - * The persistence interface for the bo avviso service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoAvvisoPersistenceImpl - * @see BoAvvisoUtil - * @generated - */ -public interface BoAvvisoPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoAvvisoUtil} to access the bo avviso persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns all the bo avvisos where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo avvisos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo avvisos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo avviso in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException; - - /** - * Returns the first bo avviso in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo avviso in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException; - - /** - * Returns the last bo avviso in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo avvisos before and after the current bo avviso in the ordered set where uuid = ?. - * - * @param avvisoId the primary key of the current bo avviso - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso[] findByUuid_PrevAndNext( - long avvisoId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException; - - /** - * Removes all the bo avvisos where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo avvisos where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo avviso where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException; - - /** - * Returns the bo avviso where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo avviso where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo avviso where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo avviso that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException; - - /** - * Returns the number of bo avvisos where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo avvisos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo avvisos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo avvisos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo avviso in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException; - - /** - * Returns the first bo avviso in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo avviso in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException; - - /** - * Returns the last bo avviso in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo avvisos before and after the current bo avviso in the ordered set where uuid = ? and companyId = ?. - * - * @param avvisoId the primary key of the current bo avviso - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso[] findByUuid_C_PrevAndNext( - long avvisoId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException; - - /** - * Removes all the bo avvisos where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo avvisos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @return the matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findBydettPraticaId_tipoDocumento( - long dettPraticaId, java.lang.String tipoDocumento) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findBydettPraticaId_tipoDocumento( - long dettPraticaId, java.lang.String tipoDocumento, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findBydettPraticaId_tipoDocumento( - long dettPraticaId, java.lang.String tipoDocumento, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso findBydettPraticaId_tipoDocumento_First( - long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException; - - /** - * Returns the first bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso fetchBydettPraticaId_tipoDocumento_First( - long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso findBydettPraticaId_tipoDocumento_Last( - long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException; - - /** - * Returns the last bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso fetchBydettPraticaId_tipoDocumento_Last( - long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo avvisos before and after the current bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param avvisoId the primary key of the current bo avviso - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso[] findBydettPraticaId_tipoDocumento_PrevAndNext( - long avvisoId, long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException; - - /** - * Removes all the bo avvisos where dettPraticaId = ? and tipoDocumento = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @throws SystemException if a system exception occurred - */ - public void removeBydettPraticaId_tipoDocumento(long dettPraticaId, - java.lang.String tipoDocumento) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public int countBydettPraticaId_tipoDocumento(long dettPraticaId, - java.lang.String tipoDocumento) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @return the matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findBydettPraticaIds_tipoDocumento( - long dettPraticaId, java.lang.String tipoDocumento) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findBydettPraticaIds_tipoDocumento( - long dettPraticaId, java.lang.String tipoDocumento, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findBydettPraticaIds_tipoDocumento( - long dettPraticaId, java.lang.String tipoDocumento, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso findBydettPraticaIds_tipoDocumento_First( - long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException; - - /** - * Returns the first bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso fetchBydettPraticaIds_tipoDocumento_First( - long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso findBydettPraticaIds_tipoDocumento_Last( - long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException; - - /** - * Returns the last bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso fetchBydettPraticaIds_tipoDocumento_Last( - long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo avvisos before and after the current bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param avvisoId the primary key of the current bo avviso - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso[] findBydettPraticaIds_tipoDocumento_PrevAndNext( - long avvisoId, long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException; - - /** - * Returns all the bo avvisos where dettPraticaId = any ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaIds the dett pratica IDs - * @param tipoDocumento the tipo documento - * @return the matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findBydettPraticaIds_tipoDocumento( - long[] dettPraticaIds, java.lang.String tipoDocumento) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo avvisos where dettPraticaId = any ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaIds the dett pratica IDs - * @param tipoDocumento the tipo documento - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findBydettPraticaIds_tipoDocumento( - long[] dettPraticaIds, java.lang.String tipoDocumento, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo avvisos where dettPraticaId = any ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaIds the dett pratica IDs - * @param tipoDocumento the tipo documento - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findBydettPraticaIds_tipoDocumento( - long[] dettPraticaIds, java.lang.String tipoDocumento, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the bo avvisos where dettPraticaId = ? and tipoDocumento = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @throws SystemException if a system exception occurred - */ - public void removeBydettPraticaIds_tipoDocumento(long dettPraticaId, - java.lang.String tipoDocumento) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public int countBydettPraticaIds_tipoDocumento(long dettPraticaId, - java.lang.String tipoDocumento) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo avvisos where dettPraticaId = any ? and tipoDocumento = ?. - * - * @param dettPraticaIds the dett pratica IDs - * @param tipoDocumento the tipo documento - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public int countBydettPraticaIds_tipoDocumento(long[] dettPraticaIds, - java.lang.String tipoDocumento) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo avvisos where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo avvisos where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica( - long dettPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo avvisos where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica( - long dettPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo avviso in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso findByDettPratica_First( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException; - - /** - * Returns the first bo avviso in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso fetchByDettPratica_First( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo avviso in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso findByDettPratica_Last( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException; - - /** - * Returns the last bo avviso in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso fetchByDettPratica_Last( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo avvisos before and after the current bo avviso in the ordered set where dettPraticaId = ?. - * - * @param avvisoId the primary key of the current bo avviso - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso[] findByDettPratica_PrevAndNext( - long avvisoId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException; - - /** - * Removes all the bo avvisos where dettPraticaId = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - public void removeByDettPratica(long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo avvisos where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public int countByDettPratica(long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo avviso where companyId = ? and groupId = ? and protocollo = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException} if it could not be found. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the matching bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso findByC_G_Protocollo( - long companyId, long groupId, java.lang.String protocollo) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException; - - /** - * Returns the bo avviso where companyId = ? and groupId = ? and protocollo = ? or returns null if it could not be found. Uses the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso fetchByC_G_Protocollo( - long companyId, long groupId, java.lang.String protocollo) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo avviso where companyId = ? and groupId = ? and protocollo = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso fetchByC_G_Protocollo( - long companyId, long groupId, java.lang.String protocollo, - boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo avviso where companyId = ? and groupId = ? and protocollo = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the bo avviso that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso removeByC_G_Protocollo( - long companyId, long groupId, java.lang.String protocollo) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException; - - /** - * Returns the number of bo avvisos where companyId = ? and groupId = ? and protocollo = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public int countByC_G_Protocollo(long companyId, long groupId, - java.lang.String protocollo) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the bo avviso in the entity cache if it is enabled. - * - * @param boAvviso the bo avviso - */ - public void cacheResult( - it.tref.liferay.portos.portosimport.model.BoAvviso boAvviso); - - /** - * Caches the bo avvisos in the entity cache if it is enabled. - * - * @param boAvvisos the bo avvisos - */ - public void cacheResult( - java.util.List boAvvisos); - - /** - * Creates a new bo avviso with the primary key. Does not add the bo avviso to the database. - * - * @param avvisoId the primary key for the new bo avviso - * @return the new bo avviso - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso create( - long avvisoId); - - /** - * Removes the bo avviso with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param avvisoId the primary key of the bo avviso - * @return the bo avviso that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso remove( - long avvisoId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException; - - public it.tref.liferay.portos.portosimport.model.BoAvviso updateImpl( - it.tref.liferay.portos.portosimport.model.BoAvviso boAvviso) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo avviso with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException} if it could not be found. - * - * @param avvisoId the primary key of the bo avviso - * @return the bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso findByPrimaryKey( - long avvisoId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException; - - /** - * Returns the bo avviso with the primary key or returns null if it could not be found. - * - * @param avvisoId the primary key of the bo avviso - * @return the bo avviso, or null if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoAvviso fetchByPrimaryKey( - long avvisoId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo avvisos. - * - * @return the bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo avvisos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo avvisos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo avvisos - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the bo avvisos from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo avvisos. - * - * @return the number of bo avvisos - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoAvvisoUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoAvvisoUtil.java deleted file mode 100644 index 8cdd880c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoAvvisoUtil.java +++ /dev/null @@ -1,1401 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.portosimport.model.BoAvviso; - -import java.util.List; - -/** - * The persistence utility for the bo avviso service. This utility wraps {@link BoAvvisoPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoAvvisoPersistence - * @see BoAvvisoPersistenceImpl - * @generated - */ -public class BoAvvisoUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(BoAvviso boAvviso) { - getPersistence().clearCache(boAvviso); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static BoAvviso update(BoAvviso boAvviso) throws SystemException { - return getPersistence().update(boAvviso); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static BoAvviso update(BoAvviso boAvviso, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(boAvviso, serviceContext); - } - - /** - * Returns all the bo avvisos where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid); - } - - /** - * Returns a range of all the bo avvisos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end); - } - - /** - * Returns an ordered range of all the bo avvisos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end, orderByComparator); - } - - /** - * Returns the first bo avviso in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException { - return getPersistence().findByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the first bo avviso in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the last bo avviso in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException { - return getPersistence().findByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the last bo avviso in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the bo avvisos before and after the current bo avviso in the ordered set where uuid = ?. - * - * @param avvisoId the primary key of the current bo avviso - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso[] findByUuid_PrevAndNext( - long avvisoId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException { - return getPersistence() - .findByUuid_PrevAndNext(avvisoId, uuid, orderByComparator); - } - - /** - * Removes all the bo avvisos where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid(uuid); - } - - /** - * Returns the number of bo avvisos where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid(uuid); - } - - /** - * Returns the bo avviso where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException { - return getPersistence().findByUUID_G(uuid, groupId); - } - - /** - * Returns the bo avviso where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the bo avviso where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache); - } - - /** - * Removes the bo avviso where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo avviso that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException { - return getPersistence().removeByUUID_G(uuid, groupId); - } - - /** - * Returns the number of bo avvisos where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUUID_G(uuid, groupId); - } - - /** - * Returns all the bo avvisos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId); - } - - /** - * Returns a range of all the bo avvisos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId, start, end); - } - - /** - * Returns an ordered range of all the bo avvisos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByUuid_C(uuid, companyId, start, end, orderByComparator); - } - - /** - * Returns the first bo avviso in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException { - return getPersistence() - .findByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the first bo avviso in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the last bo avviso in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException { - return getPersistence() - .findByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the last bo avviso in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the bo avvisos before and after the current bo avviso in the ordered set where uuid = ? and companyId = ?. - * - * @param avvisoId the primary key of the current bo avviso - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso[] findByUuid_C_PrevAndNext( - long avvisoId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException { - return getPersistence() - .findByUuid_C_PrevAndNext(avvisoId, uuid, companyId, - orderByComparator); - } - - /** - * Removes all the bo avvisos where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid_C(uuid, companyId); - } - - /** - * Returns the number of bo avvisos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid_C(uuid, companyId); - } - - /** - * Returns all the bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @return the matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findBydettPraticaId_tipoDocumento( - long dettPraticaId, java.lang.String tipoDocumento) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findBydettPraticaId_tipoDocumento(dettPraticaId, - tipoDocumento); - } - - /** - * Returns a range of all the bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findBydettPraticaId_tipoDocumento( - long dettPraticaId, java.lang.String tipoDocumento, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findBydettPraticaId_tipoDocumento(dettPraticaId, - tipoDocumento, start, end); - } - - /** - * Returns an ordered range of all the bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findBydettPraticaId_tipoDocumento( - long dettPraticaId, java.lang.String tipoDocumento, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findBydettPraticaId_tipoDocumento(dettPraticaId, - tipoDocumento, start, end, orderByComparator); - } - - /** - * Returns the first bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso findBydettPraticaId_tipoDocumento_First( - long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException { - return getPersistence() - .findBydettPraticaId_tipoDocumento_First(dettPraticaId, - tipoDocumento, orderByComparator); - } - - /** - * Returns the first bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso fetchBydettPraticaId_tipoDocumento_First( - long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchBydettPraticaId_tipoDocumento_First(dettPraticaId, - tipoDocumento, orderByComparator); - } - - /** - * Returns the last bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso findBydettPraticaId_tipoDocumento_Last( - long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException { - return getPersistence() - .findBydettPraticaId_tipoDocumento_Last(dettPraticaId, - tipoDocumento, orderByComparator); - } - - /** - * Returns the last bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso fetchBydettPraticaId_tipoDocumento_Last( - long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchBydettPraticaId_tipoDocumento_Last(dettPraticaId, - tipoDocumento, orderByComparator); - } - - /** - * Returns the bo avvisos before and after the current bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param avvisoId the primary key of the current bo avviso - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso[] findBydettPraticaId_tipoDocumento_PrevAndNext( - long avvisoId, long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException { - return getPersistence() - .findBydettPraticaId_tipoDocumento_PrevAndNext(avvisoId, - dettPraticaId, tipoDocumento, orderByComparator); - } - - /** - * Removes all the bo avvisos where dettPraticaId = ? and tipoDocumento = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @throws SystemException if a system exception occurred - */ - public static void removeBydettPraticaId_tipoDocumento(long dettPraticaId, - java.lang.String tipoDocumento) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeBydettPraticaId_tipoDocumento(dettPraticaId, tipoDocumento); - } - - /** - * Returns the number of bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static int countBydettPraticaId_tipoDocumento(long dettPraticaId, - java.lang.String tipoDocumento) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countBydettPraticaId_tipoDocumento(dettPraticaId, - tipoDocumento); - } - - /** - * Returns all the bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @return the matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findBydettPraticaIds_tipoDocumento( - long dettPraticaId, java.lang.String tipoDocumento) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findBydettPraticaIds_tipoDocumento(dettPraticaId, - tipoDocumento); - } - - /** - * Returns a range of all the bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findBydettPraticaIds_tipoDocumento( - long dettPraticaId, java.lang.String tipoDocumento, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findBydettPraticaIds_tipoDocumento(dettPraticaId, - tipoDocumento, start, end); - } - - /** - * Returns an ordered range of all the bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findBydettPraticaIds_tipoDocumento( - long dettPraticaId, java.lang.String tipoDocumento, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findBydettPraticaIds_tipoDocumento(dettPraticaId, - tipoDocumento, start, end, orderByComparator); - } - - /** - * Returns the first bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso findBydettPraticaIds_tipoDocumento_First( - long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException { - return getPersistence() - .findBydettPraticaIds_tipoDocumento_First(dettPraticaId, - tipoDocumento, orderByComparator); - } - - /** - * Returns the first bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso fetchBydettPraticaIds_tipoDocumento_First( - long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchBydettPraticaIds_tipoDocumento_First(dettPraticaId, - tipoDocumento, orderByComparator); - } - - /** - * Returns the last bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso findBydettPraticaIds_tipoDocumento_Last( - long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException { - return getPersistence() - .findBydettPraticaIds_tipoDocumento_Last(dettPraticaId, - tipoDocumento, orderByComparator); - } - - /** - * Returns the last bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso fetchBydettPraticaIds_tipoDocumento_Last( - long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchBydettPraticaIds_tipoDocumento_Last(dettPraticaId, - tipoDocumento, orderByComparator); - } - - /** - * Returns the bo avvisos before and after the current bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param avvisoId the primary key of the current bo avviso - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso[] findBydettPraticaIds_tipoDocumento_PrevAndNext( - long avvisoId, long dettPraticaId, java.lang.String tipoDocumento, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException { - return getPersistence() - .findBydettPraticaIds_tipoDocumento_PrevAndNext(avvisoId, - dettPraticaId, tipoDocumento, orderByComparator); - } - - /** - * Returns all the bo avvisos where dettPraticaId = any ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaIds the dett pratica IDs - * @param tipoDocumento the tipo documento - * @return the matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findBydettPraticaIds_tipoDocumento( - long[] dettPraticaIds, java.lang.String tipoDocumento) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findBydettPraticaIds_tipoDocumento(dettPraticaIds, - tipoDocumento); - } - - /** - * Returns a range of all the bo avvisos where dettPraticaId = any ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaIds the dett pratica IDs - * @param tipoDocumento the tipo documento - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findBydettPraticaIds_tipoDocumento( - long[] dettPraticaIds, java.lang.String tipoDocumento, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findBydettPraticaIds_tipoDocumento(dettPraticaIds, - tipoDocumento, start, end); - } - - /** - * Returns an ordered range of all the bo avvisos where dettPraticaId = any ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaIds the dett pratica IDs - * @param tipoDocumento the tipo documento - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findBydettPraticaIds_tipoDocumento( - long[] dettPraticaIds, java.lang.String tipoDocumento, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findBydettPraticaIds_tipoDocumento(dettPraticaIds, - tipoDocumento, start, end, orderByComparator); - } - - /** - * Removes all the bo avvisos where dettPraticaId = ? and tipoDocumento = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @throws SystemException if a system exception occurred - */ - public static void removeBydettPraticaIds_tipoDocumento( - long dettPraticaId, java.lang.String tipoDocumento) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeBydettPraticaIds_tipoDocumento(dettPraticaId, tipoDocumento); - } - - /** - * Returns the number of bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static int countBydettPraticaIds_tipoDocumento(long dettPraticaId, - java.lang.String tipoDocumento) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countBydettPraticaIds_tipoDocumento(dettPraticaId, - tipoDocumento); - } - - /** - * Returns the number of bo avvisos where dettPraticaId = any ? and tipoDocumento = ?. - * - * @param dettPraticaIds the dett pratica IDs - * @param tipoDocumento the tipo documento - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static int countBydettPraticaIds_tipoDocumento( - long[] dettPraticaIds, java.lang.String tipoDocumento) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countBydettPraticaIds_tipoDocumento(dettPraticaIds, - tipoDocumento); - } - - /** - * Returns all the bo avvisos where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByDettPratica(dettPraticaId); - } - - /** - * Returns a range of all the bo avvisos where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica( - long dettPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByDettPratica(dettPraticaId, start, end); - } - - /** - * Returns an ordered range of all the bo avvisos where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica( - long dettPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica(dettPraticaId, start, end, - orderByComparator); - } - - /** - * Returns the first bo avviso in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso findByDettPratica_First( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException { - return getPersistence() - .findByDettPratica_First(dettPraticaId, orderByComparator); - } - - /** - * Returns the first bo avviso in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso fetchByDettPratica_First( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPratica_First(dettPraticaId, orderByComparator); - } - - /** - * Returns the last bo avviso in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso findByDettPratica_Last( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException { - return getPersistence() - .findByDettPratica_Last(dettPraticaId, orderByComparator); - } - - /** - * Returns the last bo avviso in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso fetchByDettPratica_Last( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPratica_Last(dettPraticaId, orderByComparator); - } - - /** - * Returns the bo avvisos before and after the current bo avviso in the ordered set where dettPraticaId = ?. - * - * @param avvisoId the primary key of the current bo avviso - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso[] findByDettPratica_PrevAndNext( - long avvisoId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException { - return getPersistence() - .findByDettPratica_PrevAndNext(avvisoId, dettPraticaId, - orderByComparator); - } - - /** - * Removes all the bo avvisos where dettPraticaId = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - public static void removeByDettPratica(long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByDettPratica(dettPraticaId); - } - - /** - * Returns the number of bo avvisos where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static int countByDettPratica(long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByDettPratica(dettPraticaId); - } - - /** - * Returns the bo avviso where companyId = ? and groupId = ? and protocollo = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException} if it could not be found. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the matching bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso findByC_G_Protocollo( - long companyId, long groupId, java.lang.String protocollo) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException { - return getPersistence() - .findByC_G_Protocollo(companyId, groupId, protocollo); - } - - /** - * Returns the bo avviso where companyId = ? and groupId = ? and protocollo = ? or returns null if it could not be found. Uses the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso fetchByC_G_Protocollo( - long companyId, long groupId, java.lang.String protocollo) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_G_Protocollo(companyId, groupId, protocollo); - } - - /** - * Returns the bo avviso where companyId = ? and groupId = ? and protocollo = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso fetchByC_G_Protocollo( - long companyId, long groupId, java.lang.String protocollo, - boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_G_Protocollo(companyId, groupId, protocollo, - retrieveFromCache); - } - - /** - * Removes the bo avviso where companyId = ? and groupId = ? and protocollo = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the bo avviso that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso removeByC_G_Protocollo( - long companyId, long groupId, java.lang.String protocollo) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException { - return getPersistence() - .removeByC_G_Protocollo(companyId, groupId, protocollo); - } - - /** - * Returns the number of bo avvisos where companyId = ? and groupId = ? and protocollo = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - public static int countByC_G_Protocollo(long companyId, long groupId, - java.lang.String protocollo) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByC_G_Protocollo(companyId, groupId, protocollo); - } - - /** - * Caches the bo avviso in the entity cache if it is enabled. - * - * @param boAvviso the bo avviso - */ - public static void cacheResult( - it.tref.liferay.portos.portosimport.model.BoAvviso boAvviso) { - getPersistence().cacheResult(boAvviso); - } - - /** - * Caches the bo avvisos in the entity cache if it is enabled. - * - * @param boAvvisos the bo avvisos - */ - public static void cacheResult( - java.util.List boAvvisos) { - getPersistence().cacheResult(boAvvisos); - } - - /** - * Creates a new bo avviso with the primary key. Does not add the bo avviso to the database. - * - * @param avvisoId the primary key for the new bo avviso - * @return the new bo avviso - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso create( - long avvisoId) { - return getPersistence().create(avvisoId); - } - - /** - * Removes the bo avviso with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param avvisoId the primary key of the bo avviso - * @return the bo avviso that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso remove( - long avvisoId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException { - return getPersistence().remove(avvisoId); - } - - public static it.tref.liferay.portos.portosimport.model.BoAvviso updateImpl( - it.tref.liferay.portos.portosimport.model.BoAvviso boAvviso) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(boAvviso); - } - - /** - * Returns the bo avviso with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException} if it could not be found. - * - * @param avvisoId the primary key of the bo avviso - * @return the bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso findByPrimaryKey( - long avvisoId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException { - return getPersistence().findByPrimaryKey(avvisoId); - } - - /** - * Returns the bo avviso with the primary key or returns null if it could not be found. - * - * @param avvisoId the primary key of the bo avviso - * @return the bo avviso, or null if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoAvviso fetchByPrimaryKey( - long avvisoId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(avvisoId); - } - - /** - * Returns all the bo avvisos. - * - * @return the bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the bo avvisos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the bo avvisos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo avvisos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the bo avvisos from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of bo avvisos. - * - * @return the number of bo avvisos - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static BoAvvisoPersistence getPersistence() { - if (_persistence == null) { - _persistence = (BoAvvisoPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.portosimport.service.ClpSerializer.getServletContextName(), - BoAvvisoPersistence.class.getName()); - - ReferenceRegistry.registerReference(BoAvvisoUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(BoAvvisoPersistence persistence) { - } - - private static BoAvvisoPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoComuneActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoComuneActionableDynamicQuery.java deleted file mode 100644 index 85180c13..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoComuneActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.BoComune; -import it.tref.liferay.portos.portosimport.service.BoComuneLocalServiceUtil; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public abstract class BoComuneActionableDynamicQuery - extends BaseActionableDynamicQuery { - public BoComuneActionableDynamicQuery() throws SystemException { - setBaseLocalService(BoComuneLocalServiceUtil.getService()); - setClass(BoComune.class); - - setClassLoader(it.tref.liferay.portos.portosimport.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("comuneId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoComunePersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoComunePersistence.java deleted file mode 100644 index 08a07b09..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoComunePersistence.java +++ /dev/null @@ -1,281 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.portosimport.model.BoComune; - -/** - * The persistence interface for the bo comune service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoComunePersistenceImpl - * @see BoComuneUtil - * @generated - */ -public interface BoComunePersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoComuneUtil} to access the bo comune persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns the bo comune where codIstat = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoComuneException} if it could not be found. - * - * @param codIstat the cod istat - * @return the matching bo comune - * @throws it.tref.liferay.portos.portosimport.NoSuchBoComuneException if a matching bo comune could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoComune findByCodIstat( - java.lang.String codIstat) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoComuneException; - - /** - * Returns the bo comune where codIstat = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codIstat the cod istat - * @return the matching bo comune, or null if a matching bo comune could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoComune fetchByCodIstat( - java.lang.String codIstat) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo comune where codIstat = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codIstat the cod istat - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo comune, or null if a matching bo comune could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoComune fetchByCodIstat( - java.lang.String codIstat, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo comune where codIstat = ? from the database. - * - * @param codIstat the cod istat - * @return the bo comune that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoComune removeByCodIstat( - java.lang.String codIstat) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoComuneException; - - /** - * Returns the number of bo comunes where codIstat = ?. - * - * @param codIstat the cod istat - * @return the number of matching bo comunes - * @throws SystemException if a system exception occurred - */ - public int countByCodIstat(java.lang.String codIstat) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo comune where codCatastale = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoComuneException} if it could not be found. - * - * @param codCatastale the cod catastale - * @return the matching bo comune - * @throws it.tref.liferay.portos.portosimport.NoSuchBoComuneException if a matching bo comune could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoComune findByCodCatastale( - java.lang.String codCatastale) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoComuneException; - - /** - * Returns the bo comune where codCatastale = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codCatastale the cod catastale - * @return the matching bo comune, or null if a matching bo comune could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoComune fetchByCodCatastale( - java.lang.String codCatastale) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo comune where codCatastale = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codCatastale the cod catastale - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo comune, or null if a matching bo comune could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoComune fetchByCodCatastale( - java.lang.String codCatastale, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo comune where codCatastale = ? from the database. - * - * @param codCatastale the cod catastale - * @return the bo comune that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoComune removeByCodCatastale( - java.lang.String codCatastale) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoComuneException; - - /** - * Returns the number of bo comunes where codCatastale = ?. - * - * @param codCatastale the cod catastale - * @return the number of matching bo comunes - * @throws SystemException if a system exception occurred - */ - public int countByCodCatastale(java.lang.String codCatastale) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the bo comune in the entity cache if it is enabled. - * - * @param boComune the bo comune - */ - public void cacheResult( - it.tref.liferay.portos.portosimport.model.BoComune boComune); - - /** - * Caches the bo comunes in the entity cache if it is enabled. - * - * @param boComunes the bo comunes - */ - public void cacheResult( - java.util.List boComunes); - - /** - * Creates a new bo comune with the primary key. Does not add the bo comune to the database. - * - * @param comuneId the primary key for the new bo comune - * @return the new bo comune - */ - public it.tref.liferay.portos.portosimport.model.BoComune create( - long comuneId); - - /** - * Removes the bo comune with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param comuneId the primary key of the bo comune - * @return the bo comune that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoComuneException if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoComune remove( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoComuneException; - - public it.tref.liferay.portos.portosimport.model.BoComune updateImpl( - it.tref.liferay.portos.portosimport.model.BoComune boComune) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo comune with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoComuneException} if it could not be found. - * - * @param comuneId the primary key of the bo comune - * @return the bo comune - * @throws it.tref.liferay.portos.portosimport.NoSuchBoComuneException if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoComune findByPrimaryKey( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoComuneException; - - /** - * Returns the bo comune with the primary key or returns null if it could not be found. - * - * @param comuneId the primary key of the bo comune - * @return the bo comune, or null if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoComune fetchByPrimaryKey( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo comunes. - * - * @return the bo comunes - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo comunes - * @param end the upper bound of the range of bo comunes (not inclusive) - * @return the range of bo comunes - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo comunes - * @param end the upper bound of the range of bo comunes (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo comunes - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the bo comunes from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo comunes. - * - * @return the number of bo comunes - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoComuneUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoComuneUtil.java deleted file mode 100644 index c67f3e35..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoComuneUtil.java +++ /dev/null @@ -1,418 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.portosimport.model.BoComune; - -import java.util.List; - -/** - * The persistence utility for the bo comune service. This utility wraps {@link BoComunePersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoComunePersistence - * @see BoComunePersistenceImpl - * @generated - */ -public class BoComuneUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(BoComune boComune) { - getPersistence().clearCache(boComune); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static BoComune update(BoComune boComune) throws SystemException { - return getPersistence().update(boComune); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static BoComune update(BoComune boComune, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(boComune, serviceContext); - } - - /** - * Returns the bo comune where codIstat = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoComuneException} if it could not be found. - * - * @param codIstat the cod istat - * @return the matching bo comune - * @throws it.tref.liferay.portos.portosimport.NoSuchBoComuneException if a matching bo comune could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoComune findByCodIstat( - java.lang.String codIstat) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoComuneException { - return getPersistence().findByCodIstat(codIstat); - } - - /** - * Returns the bo comune where codIstat = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codIstat the cod istat - * @return the matching bo comune, or null if a matching bo comune could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoComune fetchByCodIstat( - java.lang.String codIstat) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByCodIstat(codIstat); - } - - /** - * Returns the bo comune where codIstat = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codIstat the cod istat - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo comune, or null if a matching bo comune could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoComune fetchByCodIstat( - java.lang.String codIstat, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByCodIstat(codIstat, retrieveFromCache); - } - - /** - * Removes the bo comune where codIstat = ? from the database. - * - * @param codIstat the cod istat - * @return the bo comune that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoComune removeByCodIstat( - java.lang.String codIstat) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoComuneException { - return getPersistence().removeByCodIstat(codIstat); - } - - /** - * Returns the number of bo comunes where codIstat = ?. - * - * @param codIstat the cod istat - * @return the number of matching bo comunes - * @throws SystemException if a system exception occurred - */ - public static int countByCodIstat(java.lang.String codIstat) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByCodIstat(codIstat); - } - - /** - * Returns the bo comune where codCatastale = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoComuneException} if it could not be found. - * - * @param codCatastale the cod catastale - * @return the matching bo comune - * @throws it.tref.liferay.portos.portosimport.NoSuchBoComuneException if a matching bo comune could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoComune findByCodCatastale( - java.lang.String codCatastale) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoComuneException { - return getPersistence().findByCodCatastale(codCatastale); - } - - /** - * Returns the bo comune where codCatastale = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codCatastale the cod catastale - * @return the matching bo comune, or null if a matching bo comune could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoComune fetchByCodCatastale( - java.lang.String codCatastale) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByCodCatastale(codCatastale); - } - - /** - * Returns the bo comune where codCatastale = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codCatastale the cod catastale - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo comune, or null if a matching bo comune could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoComune fetchByCodCatastale( - java.lang.String codCatastale, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByCodCatastale(codCatastale, retrieveFromCache); - } - - /** - * Removes the bo comune where codCatastale = ? from the database. - * - * @param codCatastale the cod catastale - * @return the bo comune that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoComune removeByCodCatastale( - java.lang.String codCatastale) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoComuneException { - return getPersistence().removeByCodCatastale(codCatastale); - } - - /** - * Returns the number of bo comunes where codCatastale = ?. - * - * @param codCatastale the cod catastale - * @return the number of matching bo comunes - * @throws SystemException if a system exception occurred - */ - public static int countByCodCatastale(java.lang.String codCatastale) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByCodCatastale(codCatastale); - } - - /** - * Caches the bo comune in the entity cache if it is enabled. - * - * @param boComune the bo comune - */ - public static void cacheResult( - it.tref.liferay.portos.portosimport.model.BoComune boComune) { - getPersistence().cacheResult(boComune); - } - - /** - * Caches the bo comunes in the entity cache if it is enabled. - * - * @param boComunes the bo comunes - */ - public static void cacheResult( - java.util.List boComunes) { - getPersistence().cacheResult(boComunes); - } - - /** - * Creates a new bo comune with the primary key. Does not add the bo comune to the database. - * - * @param comuneId the primary key for the new bo comune - * @return the new bo comune - */ - public static it.tref.liferay.portos.portosimport.model.BoComune create( - long comuneId) { - return getPersistence().create(comuneId); - } - - /** - * Removes the bo comune with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param comuneId the primary key of the bo comune - * @return the bo comune that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoComuneException if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoComune remove( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoComuneException { - return getPersistence().remove(comuneId); - } - - public static it.tref.liferay.portos.portosimport.model.BoComune updateImpl( - it.tref.liferay.portos.portosimport.model.BoComune boComune) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(boComune); - } - - /** - * Returns the bo comune with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoComuneException} if it could not be found. - * - * @param comuneId the primary key of the bo comune - * @return the bo comune - * @throws it.tref.liferay.portos.portosimport.NoSuchBoComuneException if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoComune findByPrimaryKey( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoComuneException { - return getPersistence().findByPrimaryKey(comuneId); - } - - /** - * Returns the bo comune with the primary key or returns null if it could not be found. - * - * @param comuneId the primary key of the bo comune - * @return the bo comune, or null if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoComune fetchByPrimaryKey( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(comuneId); - } - - /** - * Returns all the bo comunes. - * - * @return the bo comunes - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the bo comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo comunes - * @param end the upper bound of the range of bo comunes (not inclusive) - * @return the range of bo comunes - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the bo comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo comunes - * @param end the upper bound of the range of bo comunes (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo comunes - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the bo comunes from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of bo comunes. - * - * @return the number of bo comunes - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static BoComunePersistence getPersistence() { - if (_persistence == null) { - _persistence = (BoComunePersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.portosimport.service.ClpSerializer.getServletContextName(), - BoComunePersistence.class.getName()); - - ReferenceRegistry.registerReference(BoComuneUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(BoComunePersistence persistence) { - } - - private static BoComunePersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoDettPraticaActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoDettPraticaActionableDynamicQuery.java deleted file mode 100644 index 42f01448..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoDettPraticaActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.BoDettPratica; -import it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalServiceUtil; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public abstract class BoDettPraticaActionableDynamicQuery - extends BaseActionableDynamicQuery { - public BoDettPraticaActionableDynamicQuery() throws SystemException { - setBaseLocalService(BoDettPraticaLocalServiceUtil.getService()); - setClass(BoDettPratica.class); - - setClassLoader(it.tref.liferay.portos.portosimport.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("dettPraticaId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoDettPraticaExportActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoDettPraticaExportActionableDynamicQuery.java deleted file mode 100644 index d5b93b96..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoDettPraticaExportActionableDynamicQuery.java +++ /dev/null @@ -1,118 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.dao.orm.Criterion; -import com.liferay.portal.kernel.dao.orm.Disjunction; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.Property; -import com.liferay.portal.kernel.dao.orm.PropertyFactoryUtil; -import com.liferay.portal.kernel.dao.orm.RestrictionsFactoryUtil; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.ExportImportHelperUtil; -import com.liferay.portal.kernel.lar.ManifestSummary; -import com.liferay.portal.kernel.lar.PortletDataContext; -import com.liferay.portal.kernel.lar.StagedModelDataHandler; -import com.liferay.portal.kernel.lar.StagedModelDataHandlerRegistryUtil; -import com.liferay.portal.kernel.lar.StagedModelDataHandlerUtil; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.workflow.WorkflowConstants; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.portosimport.model.BoDettPratica; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoDettPraticaExportActionableDynamicQuery - extends BoDettPraticaActionableDynamicQuery { - public BoDettPraticaExportActionableDynamicQuery( - PortletDataContext portletDataContext) throws SystemException { - _portletDataContext = portletDataContext; - - setCompanyId(_portletDataContext.getCompanyId()); - - setGroupId(_portletDataContext.getScopeGroupId()); - } - - @Override - public long performCount() throws PortalException, SystemException { - ManifestSummary manifestSummary = _portletDataContext.getManifestSummary(); - - StagedModelType stagedModelType = getStagedModelType(); - - long modelAdditionCount = super.performCount(); - - manifestSummary.addModelAdditionCount(stagedModelType.toString(), - modelAdditionCount); - - long modelDeletionCount = ExportImportHelperUtil.getModelDeletionCount(_portletDataContext, - stagedModelType); - - manifestSummary.addModelDeletionCount(stagedModelType.toString(), - modelDeletionCount); - - return modelAdditionCount; - } - - @Override - protected void addCriteria(DynamicQuery dynamicQuery) { - Criterion modifiedDateCriterion = _portletDataContext.getDateRangeCriteria( - "modifiedDate"); - Criterion statusDateCriterion = _portletDataContext.getDateRangeCriteria( - "statusDate"); - - if ((modifiedDateCriterion != null) && (statusDateCriterion != null)) { - Disjunction disjunction = RestrictionsFactoryUtil.disjunction(); - - disjunction.add(modifiedDateCriterion); - disjunction.add(statusDateCriterion); - - dynamicQuery.add(disjunction); - } - - Property workflowStatusProperty = PropertyFactoryUtil.forName("status"); - - if (_portletDataContext.isInitialPublication()) { - dynamicQuery.add(workflowStatusProperty.ne( - WorkflowConstants.STATUS_IN_TRASH)); - } - else { - StagedModelDataHandler stagedModelDataHandler = StagedModelDataHandlerRegistryUtil.getStagedModelDataHandler(BoDettPratica.class.getName()); - - dynamicQuery.add(workflowStatusProperty.in( - stagedModelDataHandler.getExportableStatuses())); - } - } - - protected StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoDettPratica.class.getName())); - } - - @Override - @SuppressWarnings("unused") - protected void performAction(Object object) - throws PortalException, SystemException { - BoDettPratica stagedModel = (BoDettPratica)object; - - StagedModelDataHandlerUtil.exportStagedModel(_portletDataContext, - stagedModel); - } - - private PortletDataContext _portletDataContext; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoDettPraticaPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoDettPraticaPersistence.java deleted file mode 100644 index 18409d14..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoDettPraticaPersistence.java +++ /dev/null @@ -1,1638 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.portosimport.model.BoDettPratica; - -/** - * The persistence interface for the bo dett pratica service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoDettPraticaPersistenceImpl - * @see BoDettPraticaUtil - * @generated - */ -public interface BoDettPraticaPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoDettPraticaUtil} to access the bo dett pratica persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns all the bo dett praticas where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo dett praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo dett praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException; - - /** - * Returns the first bo dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException; - - /** - * Returns the last bo dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where uuid = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica[] findByUuid_PrevAndNext( - long dettPraticaId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException; - - /** - * Removes all the bo dett praticas where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo dett praticas where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett pratica where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException; - - /** - * Returns the bo dett pratica where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett pratica where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo dett pratica where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException; - - /** - * Returns the number of bo dett praticas where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo dett praticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo dett praticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo dett praticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo dett pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException; - - /** - * Returns the first bo dett pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo dett pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException; - - /** - * Returns the last bo dett pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica[] findByUuid_C_PrevAndNext( - long dettPraticaId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException; - - /** - * Removes all the bo dett praticas where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo dett praticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett pratica where codPraticaSuap = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException} if it could not be found. - * - * @param codPraticaSuap the cod pratica suap - * @return the matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica findByCodPraticaSuap( - java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException; - - /** - * Returns the bo dett pratica where codPraticaSuap = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codPraticaSuap the cod pratica suap - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByCodPraticaSuap( - java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett pratica where codPraticaSuap = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codPraticaSuap the cod pratica suap - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByCodPraticaSuap( - java.lang.String codPraticaSuap, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo dett pratica where codPraticaSuap = ? from the database. - * - * @param codPraticaSuap the cod pratica suap - * @return the bo dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica removeByCodPraticaSuap( - java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException; - - /** - * Returns the number of bo dett praticas where codPraticaSuap = ?. - * - * @param codPraticaSuap the cod pratica suap - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public int countByCodPraticaSuap(java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo dett praticas where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByIntPraticaId_integrazione_validata( - long intPraticaId, long integrazione, boolean validata) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo dett praticas where intPraticaId = ? and integrazione = ? and validata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByIntPraticaId_integrazione_validata( - long intPraticaId, long integrazione, boolean validata, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo dett praticas where intPraticaId = ? and integrazione = ? and validata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByIntPraticaId_integrazione_validata( - long intPraticaId, long integrazione, boolean validata, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica findByIntPraticaId_integrazione_validata_First( - long intPraticaId, long integrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException; - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByIntPraticaId_integrazione_validata_First( - long intPraticaId, long integrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica findByIntPraticaId_integrazione_validata_Last( - long intPraticaId, long integrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException; - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByIntPraticaId_integrazione_validata_Last( - long intPraticaId, long integrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica[] findByIntPraticaId_integrazione_validata_PrevAndNext( - long dettPraticaId, long intPraticaId, long integrazione, - boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException; - - /** - * Removes all the bo dett praticas where intPraticaId = ? and integrazione = ? and validata = ? from the database. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @throws SystemException if a system exception occurred - */ - public void removeByIntPraticaId_integrazione_validata(long intPraticaId, - long integrazione, boolean validata) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo dett praticas where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public int countByIntPraticaId_integrazione_validata(long intPraticaId, - long integrazione, boolean validata) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByIntPraticaId_tipoIntegrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, boolean validata) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByIntPraticaId_tipoIntegrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, boolean validata, - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByIntPraticaId_tipoIntegrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, boolean validata, - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica findByIntPraticaId_tipoIntegrazione_validata_First( - long intPraticaId, java.lang.String tipoIntegrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException; - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByIntPraticaId_tipoIntegrazione_validata_First( - long intPraticaId, java.lang.String tipoIntegrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica findByIntPraticaId_tipoIntegrazione_validata_Last( - long intPraticaId, java.lang.String tipoIntegrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException; - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByIntPraticaId_tipoIntegrazione_validata_Last( - long intPraticaId, java.lang.String tipoIntegrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica[] findByIntPraticaId_tipoIntegrazione_validata_PrevAndNext( - long dettPraticaId, long intPraticaId, - java.lang.String tipoIntegrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException; - - /** - * Removes all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and validata = ? from the database. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @throws SystemException if a system exception occurred - */ - public void removeByIntPraticaId_tipoIntegrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, boolean validata) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public int countByIntPraticaId_tipoIntegrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, boolean validata) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByIntPraticaId_tipoIntegrazione_integrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, - long integrazione, boolean validata) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByIntPraticaId_tipoIntegrazione_integrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, - long integrazione, boolean validata, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByIntPraticaId_tipoIntegrazione_integrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, - long integrazione, boolean validata, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica findByIntPraticaId_tipoIntegrazione_integrazione_validata_First( - long intPraticaId, java.lang.String tipoIntegrazione, - long integrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException; - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByIntPraticaId_tipoIntegrazione_integrazione_validata_First( - long intPraticaId, java.lang.String tipoIntegrazione, - long integrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica findByIntPraticaId_tipoIntegrazione_integrazione_validata_Last( - long intPraticaId, java.lang.String tipoIntegrazione, - long integrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException; - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByIntPraticaId_tipoIntegrazione_integrazione_validata_Last( - long intPraticaId, java.lang.String tipoIntegrazione, - long integrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica[] findByIntPraticaId_tipoIntegrazione_integrazione_validata_PrevAndNext( - long dettPraticaId, long intPraticaId, - java.lang.String tipoIntegrazione, long integrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException; - - /** - * Removes all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ? from the database. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @throws SystemException if a system exception occurred - */ - public void removeByIntPraticaId_tipoIntegrazione_integrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, - long integrazione, boolean validata) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public int countByIntPraticaId_tipoIntegrazione_integrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, - long integrazione, boolean validata) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo dett praticas where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByIntPraticaId( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo dett praticas where intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByIntPraticaId( - long intPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo dett praticas where intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByIntPraticaId( - long intPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica findByIntPraticaId_First( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException; - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByIntPraticaId_First( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica findByIntPraticaId_Last( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException; - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByIntPraticaId_Last( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where intPraticaId = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica[] findByIntPraticaId_PrevAndNext( - long dettPraticaId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException; - - /** - * Removes all the bo dett praticas where intPraticaId = ? from the database. - * - * @param intPraticaId the int pratica ID - * @throws SystemException if a system exception occurred - */ - public void removeByIntPraticaId(long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo dett praticas where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public int countByIntPraticaId(long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo dett praticas where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_G_CodicePagamento_Validata_Completa( - long companyId, long groupId, java.lang.String codicePagamento, - boolean validata, boolean completa) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo dett praticas where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_G_CodicePagamento_Validata_Completa( - long companyId, long groupId, java.lang.String codicePagamento, - boolean validata, boolean completa, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo dett praticas where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_G_CodicePagamento_Validata_Completa( - long companyId, long groupId, java.lang.String codicePagamento, - boolean validata, boolean completa, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo dett pratica in the ordered set where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica findByC_G_CodicePagamento_Validata_Completa_First( - long companyId, long groupId, java.lang.String codicePagamento, - boolean validata, boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException; - - /** - * Returns the first bo dett pratica in the ordered set where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByC_G_CodicePagamento_Validata_Completa_First( - long companyId, long groupId, java.lang.String codicePagamento, - boolean validata, boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo dett pratica in the ordered set where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica findByC_G_CodicePagamento_Validata_Completa_Last( - long companyId, long groupId, java.lang.String codicePagamento, - boolean validata, boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException; - - /** - * Returns the last bo dett pratica in the ordered set where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByC_G_CodicePagamento_Validata_Completa_Last( - long companyId, long groupId, java.lang.String codicePagamento, - boolean validata, boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica[] findByC_G_CodicePagamento_Validata_Completa_PrevAndNext( - long dettPraticaId, long companyId, long groupId, - java.lang.String codicePagamento, boolean validata, boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException; - - /** - * Removes all the bo dett praticas where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @throws SystemException if a system exception occurred - */ - public void removeByC_G_CodicePagamento_Validata_Completa(long companyId, - long groupId, java.lang.String codicePagamento, boolean validata, - boolean completa) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo dett praticas where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public int countByC_G_CodicePagamento_Validata_Completa(long companyId, - long groupId, java.lang.String codicePagamento, boolean validata, - boolean completa) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett pratica where companyId = ? and groupId = ? and protocollo = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException} if it could not be found. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica findByC_G_Protocollo( - long companyId, long groupId, java.lang.String protocollo) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException; - - /** - * Returns the bo dett pratica where companyId = ? and groupId = ? and protocollo = ? or returns null if it could not be found. Uses the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByC_G_Protocollo( - long companyId, long groupId, java.lang.String protocollo) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett pratica where companyId = ? and groupId = ? and protocollo = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByC_G_Protocollo( - long companyId, long groupId, java.lang.String protocollo, - boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo dett pratica where companyId = ? and groupId = ? and protocollo = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the bo dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica removeByC_G_Protocollo( - long companyId, long groupId, java.lang.String protocollo) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException; - - /** - * Returns the number of bo dett praticas where companyId = ? and groupId = ? and protocollo = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public int countByC_G_Protocollo(long companyId, long groupId, - java.lang.String protocollo) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo dett praticas where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findBySoggettoSostituitoId_Validata_Completa( - long soggettoSostituitoId, boolean validata, boolean completa) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo dett praticas where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findBySoggettoSostituitoId_Validata_Completa( - long soggettoSostituitoId, boolean validata, boolean completa, - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo dett praticas where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findBySoggettoSostituitoId_Validata_Completa( - long soggettoSostituitoId, boolean validata, boolean completa, - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo dett pratica in the ordered set where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica findBySoggettoSostituitoId_Validata_Completa_First( - long soggettoSostituitoId, boolean validata, boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException; - - /** - * Returns the first bo dett pratica in the ordered set where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica fetchBySoggettoSostituitoId_Validata_Completa_First( - long soggettoSostituitoId, boolean validata, boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo dett pratica in the ordered set where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica findBySoggettoSostituitoId_Validata_Completa_Last( - long soggettoSostituitoId, boolean validata, boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException; - - /** - * Returns the last bo dett pratica in the ordered set where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica fetchBySoggettoSostituitoId_Validata_Completa_Last( - long soggettoSostituitoId, boolean validata, boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica[] findBySoggettoSostituitoId_Validata_Completa_PrevAndNext( - long dettPraticaId, long soggettoSostituitoId, boolean validata, - boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException; - - /** - * Removes all the bo dett praticas where soggettoSostituitoId = ? and validata = ? and completa = ? from the database. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @throws SystemException if a system exception occurred - */ - public void removeBySoggettoSostituitoId_Validata_Completa( - long soggettoSostituitoId, boolean validata, boolean completa) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo dett praticas where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public int countBySoggettoSostituitoId_Validata_Completa( - long soggettoSostituitoId, boolean validata, boolean completa) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the bo dett pratica in the entity cache if it is enabled. - * - * @param boDettPratica the bo dett pratica - */ - public void cacheResult( - it.tref.liferay.portos.portosimport.model.BoDettPratica boDettPratica); - - /** - * Caches the bo dett praticas in the entity cache if it is enabled. - * - * @param boDettPraticas the bo dett praticas - */ - public void cacheResult( - java.util.List boDettPraticas); - - /** - * Creates a new bo dett pratica with the primary key. Does not add the bo dett pratica to the database. - * - * @param dettPraticaId the primary key for the new bo dett pratica - * @return the new bo dett pratica - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica create( - long dettPraticaId); - - /** - * Removes the bo dett pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param dettPraticaId the primary key of the bo dett pratica - * @return the bo dett pratica that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica remove( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException; - - public it.tref.liferay.portos.portosimport.model.BoDettPratica updateImpl( - it.tref.liferay.portos.portosimport.model.BoDettPratica boDettPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo dett pratica with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException} if it could not be found. - * - * @param dettPraticaId the primary key of the bo dett pratica - * @return the bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica findByPrimaryKey( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException; - - /** - * Returns the bo dett pratica with the primary key or returns null if it could not be found. - * - * @param dettPraticaId the primary key of the bo dett pratica - * @return the bo dett pratica, or null if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByPrimaryKey( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo dett praticas. - * - * @return the bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the bo dett praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo dett praticas. - * - * @return the number of bo dett praticas - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoDettPraticaUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoDettPraticaUtil.java deleted file mode 100644 index 3f4ebabf..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoDettPraticaUtil.java +++ /dev/null @@ -1,2073 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.portosimport.model.BoDettPratica; - -import java.util.List; - -/** - * The persistence utility for the bo dett pratica service. This utility wraps {@link BoDettPraticaPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoDettPraticaPersistence - * @see BoDettPraticaPersistenceImpl - * @generated - */ -public class BoDettPraticaUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(BoDettPratica boDettPratica) { - getPersistence().clearCache(boDettPratica); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static BoDettPratica update(BoDettPratica boDettPratica) - throws SystemException { - return getPersistence().update(boDettPratica); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static BoDettPratica update(BoDettPratica boDettPratica, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(boDettPratica, serviceContext); - } - - /** - * Returns all the bo dett praticas where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid); - } - - /** - * Returns a range of all the bo dett praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end); - } - - /** - * Returns an ordered range of all the bo dett praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end, orderByComparator); - } - - /** - * Returns the first bo dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException { - return getPersistence().findByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the first bo dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the last bo dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException { - return getPersistence().findByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the last bo dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where uuid = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica[] findByUuid_PrevAndNext( - long dettPraticaId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException { - return getPersistence() - .findByUuid_PrevAndNext(dettPraticaId, uuid, - orderByComparator); - } - - /** - * Removes all the bo dett praticas where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid(uuid); - } - - /** - * Returns the number of bo dett praticas where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid(uuid); - } - - /** - * Returns the bo dett pratica where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException { - return getPersistence().findByUUID_G(uuid, groupId); - } - - /** - * Returns the bo dett pratica where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the bo dett pratica where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache); - } - - /** - * Removes the bo dett pratica where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException { - return getPersistence().removeByUUID_G(uuid, groupId); - } - - /** - * Returns the number of bo dett praticas where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUUID_G(uuid, groupId); - } - - /** - * Returns all the bo dett praticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId); - } - - /** - * Returns a range of all the bo dett praticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId, start, end); - } - - /** - * Returns an ordered range of all the bo dett praticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByUuid_C(uuid, companyId, start, end, orderByComparator); - } - - /** - * Returns the first bo dett pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException { - return getPersistence() - .findByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the first bo dett pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the last bo dett pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException { - return getPersistence() - .findByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the last bo dett pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica[] findByUuid_C_PrevAndNext( - long dettPraticaId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException { - return getPersistence() - .findByUuid_C_PrevAndNext(dettPraticaId, uuid, companyId, - orderByComparator); - } - - /** - * Removes all the bo dett praticas where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid_C(uuid, companyId); - } - - /** - * Returns the number of bo dett praticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid_C(uuid, companyId); - } - - /** - * Returns the bo dett pratica where codPraticaSuap = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException} if it could not be found. - * - * @param codPraticaSuap the cod pratica suap - * @return the matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica findByCodPraticaSuap( - java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException { - return getPersistence().findByCodPraticaSuap(codPraticaSuap); - } - - /** - * Returns the bo dett pratica where codPraticaSuap = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codPraticaSuap the cod pratica suap - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByCodPraticaSuap( - java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByCodPraticaSuap(codPraticaSuap); - } - - /** - * Returns the bo dett pratica where codPraticaSuap = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codPraticaSuap the cod pratica suap - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByCodPraticaSuap( - java.lang.String codPraticaSuap, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByCodPraticaSuap(codPraticaSuap, retrieveFromCache); - } - - /** - * Removes the bo dett pratica where codPraticaSuap = ? from the database. - * - * @param codPraticaSuap the cod pratica suap - * @return the bo dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica removeByCodPraticaSuap( - java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException { - return getPersistence().removeByCodPraticaSuap(codPraticaSuap); - } - - /** - * Returns the number of bo dett praticas where codPraticaSuap = ?. - * - * @param codPraticaSuap the cod pratica suap - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static int countByCodPraticaSuap(java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByCodPraticaSuap(codPraticaSuap); - } - - /** - * Returns all the bo dett praticas where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByIntPraticaId_integrazione_validata( - long intPraticaId, long integrazione, boolean validata) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByIntPraticaId_integrazione_validata(intPraticaId, - integrazione, validata); - } - - /** - * Returns a range of all the bo dett praticas where intPraticaId = ? and integrazione = ? and validata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByIntPraticaId_integrazione_validata( - long intPraticaId, long integrazione, boolean validata, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByIntPraticaId_integrazione_validata(intPraticaId, - integrazione, validata, start, end); - } - - /** - * Returns an ordered range of all the bo dett praticas where intPraticaId = ? and integrazione = ? and validata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByIntPraticaId_integrazione_validata( - long intPraticaId, long integrazione, boolean validata, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByIntPraticaId_integrazione_validata(intPraticaId, - integrazione, validata, start, end, orderByComparator); - } - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica findByIntPraticaId_integrazione_validata_First( - long intPraticaId, long integrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException { - return getPersistence() - .findByIntPraticaId_integrazione_validata_First(intPraticaId, - integrazione, validata, orderByComparator); - } - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByIntPraticaId_integrazione_validata_First( - long intPraticaId, long integrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByIntPraticaId_integrazione_validata_First(intPraticaId, - integrazione, validata, orderByComparator); - } - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica findByIntPraticaId_integrazione_validata_Last( - long intPraticaId, long integrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException { - return getPersistence() - .findByIntPraticaId_integrazione_validata_Last(intPraticaId, - integrazione, validata, orderByComparator); - } - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByIntPraticaId_integrazione_validata_Last( - long intPraticaId, long integrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByIntPraticaId_integrazione_validata_Last(intPraticaId, - integrazione, validata, orderByComparator); - } - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica[] findByIntPraticaId_integrazione_validata_PrevAndNext( - long dettPraticaId, long intPraticaId, long integrazione, - boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException { - return getPersistence() - .findByIntPraticaId_integrazione_validata_PrevAndNext(dettPraticaId, - intPraticaId, integrazione, validata, orderByComparator); - } - - /** - * Removes all the bo dett praticas where intPraticaId = ? and integrazione = ? and validata = ? from the database. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @throws SystemException if a system exception occurred - */ - public static void removeByIntPraticaId_integrazione_validata( - long intPraticaId, long integrazione, boolean validata) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeByIntPraticaId_integrazione_validata(intPraticaId, - integrazione, validata); - } - - /** - * Returns the number of bo dett praticas where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static int countByIntPraticaId_integrazione_validata( - long intPraticaId, long integrazione, boolean validata) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByIntPraticaId_integrazione_validata(intPraticaId, - integrazione, validata); - } - - /** - * Returns all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByIntPraticaId_tipoIntegrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, boolean validata) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByIntPraticaId_tipoIntegrazione_validata(intPraticaId, - tipoIntegrazione, validata); - } - - /** - * Returns a range of all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByIntPraticaId_tipoIntegrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, boolean validata, - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByIntPraticaId_tipoIntegrazione_validata(intPraticaId, - tipoIntegrazione, validata, start, end); - } - - /** - * Returns an ordered range of all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByIntPraticaId_tipoIntegrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, boolean validata, - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByIntPraticaId_tipoIntegrazione_validata(intPraticaId, - tipoIntegrazione, validata, start, end, orderByComparator); - } - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica findByIntPraticaId_tipoIntegrazione_validata_First( - long intPraticaId, java.lang.String tipoIntegrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException { - return getPersistence() - .findByIntPraticaId_tipoIntegrazione_validata_First(intPraticaId, - tipoIntegrazione, validata, orderByComparator); - } - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByIntPraticaId_tipoIntegrazione_validata_First( - long intPraticaId, java.lang.String tipoIntegrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByIntPraticaId_tipoIntegrazione_validata_First(intPraticaId, - tipoIntegrazione, validata, orderByComparator); - } - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica findByIntPraticaId_tipoIntegrazione_validata_Last( - long intPraticaId, java.lang.String tipoIntegrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException { - return getPersistence() - .findByIntPraticaId_tipoIntegrazione_validata_Last(intPraticaId, - tipoIntegrazione, validata, orderByComparator); - } - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByIntPraticaId_tipoIntegrazione_validata_Last( - long intPraticaId, java.lang.String tipoIntegrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByIntPraticaId_tipoIntegrazione_validata_Last(intPraticaId, - tipoIntegrazione, validata, orderByComparator); - } - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica[] findByIntPraticaId_tipoIntegrazione_validata_PrevAndNext( - long dettPraticaId, long intPraticaId, - java.lang.String tipoIntegrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException { - return getPersistence() - .findByIntPraticaId_tipoIntegrazione_validata_PrevAndNext(dettPraticaId, - intPraticaId, tipoIntegrazione, validata, orderByComparator); - } - - /** - * Removes all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and validata = ? from the database. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @throws SystemException if a system exception occurred - */ - public static void removeByIntPraticaId_tipoIntegrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, boolean validata) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeByIntPraticaId_tipoIntegrazione_validata(intPraticaId, - tipoIntegrazione, validata); - } - - /** - * Returns the number of bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static int countByIntPraticaId_tipoIntegrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, boolean validata) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByIntPraticaId_tipoIntegrazione_validata(intPraticaId, - tipoIntegrazione, validata); - } - - /** - * Returns all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByIntPraticaId_tipoIntegrazione_integrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, - long integrazione, boolean validata) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByIntPraticaId_tipoIntegrazione_integrazione_validata(intPraticaId, - tipoIntegrazione, integrazione, validata); - } - - /** - * Returns a range of all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByIntPraticaId_tipoIntegrazione_integrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, - long integrazione, boolean validata, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByIntPraticaId_tipoIntegrazione_integrazione_validata(intPraticaId, - tipoIntegrazione, integrazione, validata, start, end); - } - - /** - * Returns an ordered range of all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByIntPraticaId_tipoIntegrazione_integrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, - long integrazione, boolean validata, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByIntPraticaId_tipoIntegrazione_integrazione_validata(intPraticaId, - tipoIntegrazione, integrazione, validata, start, end, - orderByComparator); - } - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica findByIntPraticaId_tipoIntegrazione_integrazione_validata_First( - long intPraticaId, java.lang.String tipoIntegrazione, - long integrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException { - return getPersistence() - .findByIntPraticaId_tipoIntegrazione_integrazione_validata_First(intPraticaId, - tipoIntegrazione, integrazione, validata, orderByComparator); - } - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByIntPraticaId_tipoIntegrazione_integrazione_validata_First( - long intPraticaId, java.lang.String tipoIntegrazione, - long integrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByIntPraticaId_tipoIntegrazione_integrazione_validata_First(intPraticaId, - tipoIntegrazione, integrazione, validata, orderByComparator); - } - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica findByIntPraticaId_tipoIntegrazione_integrazione_validata_Last( - long intPraticaId, java.lang.String tipoIntegrazione, - long integrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException { - return getPersistence() - .findByIntPraticaId_tipoIntegrazione_integrazione_validata_Last(intPraticaId, - tipoIntegrazione, integrazione, validata, orderByComparator); - } - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByIntPraticaId_tipoIntegrazione_integrazione_validata_Last( - long intPraticaId, java.lang.String tipoIntegrazione, - long integrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByIntPraticaId_tipoIntegrazione_integrazione_validata_Last(intPraticaId, - tipoIntegrazione, integrazione, validata, orderByComparator); - } - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica[] findByIntPraticaId_tipoIntegrazione_integrazione_validata_PrevAndNext( - long dettPraticaId, long intPraticaId, - java.lang.String tipoIntegrazione, long integrazione, boolean validata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException { - return getPersistence() - .findByIntPraticaId_tipoIntegrazione_integrazione_validata_PrevAndNext(dettPraticaId, - intPraticaId, tipoIntegrazione, integrazione, validata, - orderByComparator); - } - - /** - * Removes all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ? from the database. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @throws SystemException if a system exception occurred - */ - public static void removeByIntPraticaId_tipoIntegrazione_integrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, - long integrazione, boolean validata) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeByIntPraticaId_tipoIntegrazione_integrazione_validata(intPraticaId, - tipoIntegrazione, integrazione, validata); - } - - /** - * Returns the number of bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static int countByIntPraticaId_tipoIntegrazione_integrazione_validata( - long intPraticaId, java.lang.String tipoIntegrazione, - long integrazione, boolean validata) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByIntPraticaId_tipoIntegrazione_integrazione_validata(intPraticaId, - tipoIntegrazione, integrazione, validata); - } - - /** - * Returns all the bo dett praticas where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByIntPraticaId( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByIntPraticaId(intPraticaId); - } - - /** - * Returns a range of all the bo dett praticas where intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByIntPraticaId( - long intPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByIntPraticaId(intPraticaId, start, end); - } - - /** - * Returns an ordered range of all the bo dett praticas where intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByIntPraticaId( - long intPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByIntPraticaId(intPraticaId, start, end, - orderByComparator); - } - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica findByIntPraticaId_First( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException { - return getPersistence() - .findByIntPraticaId_First(intPraticaId, orderByComparator); - } - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByIntPraticaId_First( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByIntPraticaId_First(intPraticaId, orderByComparator); - } - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica findByIntPraticaId_Last( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException { - return getPersistence() - .findByIntPraticaId_Last(intPraticaId, orderByComparator); - } - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByIntPraticaId_Last( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByIntPraticaId_Last(intPraticaId, orderByComparator); - } - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where intPraticaId = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica[] findByIntPraticaId_PrevAndNext( - long dettPraticaId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException { - return getPersistence() - .findByIntPraticaId_PrevAndNext(dettPraticaId, intPraticaId, - orderByComparator); - } - - /** - * Removes all the bo dett praticas where intPraticaId = ? from the database. - * - * @param intPraticaId the int pratica ID - * @throws SystemException if a system exception occurred - */ - public static void removeByIntPraticaId(long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByIntPraticaId(intPraticaId); - } - - /** - * Returns the number of bo dett praticas where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static int countByIntPraticaId(long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByIntPraticaId(intPraticaId); - } - - /** - * Returns all the bo dett praticas where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_G_CodicePagamento_Validata_Completa( - long companyId, long groupId, java.lang.String codicePagamento, - boolean validata, boolean completa) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_G_CodicePagamento_Validata_Completa(companyId, - groupId, codicePagamento, validata, completa); - } - - /** - * Returns a range of all the bo dett praticas where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_G_CodicePagamento_Validata_Completa( - long companyId, long groupId, java.lang.String codicePagamento, - boolean validata, boolean completa, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_G_CodicePagamento_Validata_Completa(companyId, - groupId, codicePagamento, validata, completa, start, end); - } - - /** - * Returns an ordered range of all the bo dett praticas where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_G_CodicePagamento_Validata_Completa( - long companyId, long groupId, java.lang.String codicePagamento, - boolean validata, boolean completa, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_G_CodicePagamento_Validata_Completa(companyId, - groupId, codicePagamento, validata, completa, start, end, - orderByComparator); - } - - /** - * Returns the first bo dett pratica in the ordered set where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica findByC_G_CodicePagamento_Validata_Completa_First( - long companyId, long groupId, java.lang.String codicePagamento, - boolean validata, boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException { - return getPersistence() - .findByC_G_CodicePagamento_Validata_Completa_First(companyId, - groupId, codicePagamento, validata, completa, orderByComparator); - } - - /** - * Returns the first bo dett pratica in the ordered set where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByC_G_CodicePagamento_Validata_Completa_First( - long companyId, long groupId, java.lang.String codicePagamento, - boolean validata, boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_G_CodicePagamento_Validata_Completa_First(companyId, - groupId, codicePagamento, validata, completa, orderByComparator); - } - - /** - * Returns the last bo dett pratica in the ordered set where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica findByC_G_CodicePagamento_Validata_Completa_Last( - long companyId, long groupId, java.lang.String codicePagamento, - boolean validata, boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException { - return getPersistence() - .findByC_G_CodicePagamento_Validata_Completa_Last(companyId, - groupId, codicePagamento, validata, completa, orderByComparator); - } - - /** - * Returns the last bo dett pratica in the ordered set where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByC_G_CodicePagamento_Validata_Completa_Last( - long companyId, long groupId, java.lang.String codicePagamento, - boolean validata, boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_G_CodicePagamento_Validata_Completa_Last(companyId, - groupId, codicePagamento, validata, completa, orderByComparator); - } - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica[] findByC_G_CodicePagamento_Validata_Completa_PrevAndNext( - long dettPraticaId, long companyId, long groupId, - java.lang.String codicePagamento, boolean validata, boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException { - return getPersistence() - .findByC_G_CodicePagamento_Validata_Completa_PrevAndNext(dettPraticaId, - companyId, groupId, codicePagamento, validata, completa, - orderByComparator); - } - - /** - * Removes all the bo dett praticas where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @throws SystemException if a system exception occurred - */ - public static void removeByC_G_CodicePagamento_Validata_Completa( - long companyId, long groupId, java.lang.String codicePagamento, - boolean validata, boolean completa) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeByC_G_CodicePagamento_Validata_Completa(companyId, groupId, - codicePagamento, validata, completa); - } - - /** - * Returns the number of bo dett praticas where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static int countByC_G_CodicePagamento_Validata_Completa( - long companyId, long groupId, java.lang.String codicePagamento, - boolean validata, boolean completa) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByC_G_CodicePagamento_Validata_Completa(companyId, - groupId, codicePagamento, validata, completa); - } - - /** - * Returns the bo dett pratica where companyId = ? and groupId = ? and protocollo = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException} if it could not be found. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica findByC_G_Protocollo( - long companyId, long groupId, java.lang.String protocollo) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException { - return getPersistence() - .findByC_G_Protocollo(companyId, groupId, protocollo); - } - - /** - * Returns the bo dett pratica where companyId = ? and groupId = ? and protocollo = ? or returns null if it could not be found. Uses the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByC_G_Protocollo( - long companyId, long groupId, java.lang.String protocollo) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_G_Protocollo(companyId, groupId, protocollo); - } - - /** - * Returns the bo dett pratica where companyId = ? and groupId = ? and protocollo = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByC_G_Protocollo( - long companyId, long groupId, java.lang.String protocollo, - boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_G_Protocollo(companyId, groupId, protocollo, - retrieveFromCache); - } - - /** - * Removes the bo dett pratica where companyId = ? and groupId = ? and protocollo = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the bo dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica removeByC_G_Protocollo( - long companyId, long groupId, java.lang.String protocollo) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException { - return getPersistence() - .removeByC_G_Protocollo(companyId, groupId, protocollo); - } - - /** - * Returns the number of bo dett praticas where companyId = ? and groupId = ? and protocollo = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static int countByC_G_Protocollo(long companyId, long groupId, - java.lang.String protocollo) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByC_G_Protocollo(companyId, groupId, protocollo); - } - - /** - * Returns all the bo dett praticas where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findBySoggettoSostituitoId_Validata_Completa( - long soggettoSostituitoId, boolean validata, boolean completa) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findBySoggettoSostituitoId_Validata_Completa(soggettoSostituitoId, - validata, completa); - } - - /** - * Returns a range of all the bo dett praticas where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findBySoggettoSostituitoId_Validata_Completa( - long soggettoSostituitoId, boolean validata, boolean completa, - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findBySoggettoSostituitoId_Validata_Completa(soggettoSostituitoId, - validata, completa, start, end); - } - - /** - * Returns an ordered range of all the bo dett praticas where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findBySoggettoSostituitoId_Validata_Completa( - long soggettoSostituitoId, boolean validata, boolean completa, - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findBySoggettoSostituitoId_Validata_Completa(soggettoSostituitoId, - validata, completa, start, end, orderByComparator); - } - - /** - * Returns the first bo dett pratica in the ordered set where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica findBySoggettoSostituitoId_Validata_Completa_First( - long soggettoSostituitoId, boolean validata, boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException { - return getPersistence() - .findBySoggettoSostituitoId_Validata_Completa_First(soggettoSostituitoId, - validata, completa, orderByComparator); - } - - /** - * Returns the first bo dett pratica in the ordered set where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica fetchBySoggettoSostituitoId_Validata_Completa_First( - long soggettoSostituitoId, boolean validata, boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchBySoggettoSostituitoId_Validata_Completa_First(soggettoSostituitoId, - validata, completa, orderByComparator); - } - - /** - * Returns the last bo dett pratica in the ordered set where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica findBySoggettoSostituitoId_Validata_Completa_Last( - long soggettoSostituitoId, boolean validata, boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException { - return getPersistence() - .findBySoggettoSostituitoId_Validata_Completa_Last(soggettoSostituitoId, - validata, completa, orderByComparator); - } - - /** - * Returns the last bo dett pratica in the ordered set where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica fetchBySoggettoSostituitoId_Validata_Completa_Last( - long soggettoSostituitoId, boolean validata, boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchBySoggettoSostituitoId_Validata_Completa_Last(soggettoSostituitoId, - validata, completa, orderByComparator); - } - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica[] findBySoggettoSostituitoId_Validata_Completa_PrevAndNext( - long dettPraticaId, long soggettoSostituitoId, boolean validata, - boolean completa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException { - return getPersistence() - .findBySoggettoSostituitoId_Validata_Completa_PrevAndNext(dettPraticaId, - soggettoSostituitoId, validata, completa, orderByComparator); - } - - /** - * Removes all the bo dett praticas where soggettoSostituitoId = ? and validata = ? and completa = ? from the database. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @throws SystemException if a system exception occurred - */ - public static void removeBySoggettoSostituitoId_Validata_Completa( - long soggettoSostituitoId, boolean validata, boolean completa) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeBySoggettoSostituitoId_Validata_Completa(soggettoSostituitoId, - validata, completa); - } - - /** - * Returns the number of bo dett praticas where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static int countBySoggettoSostituitoId_Validata_Completa( - long soggettoSostituitoId, boolean validata, boolean completa) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countBySoggettoSostituitoId_Validata_Completa(soggettoSostituitoId, - validata, completa); - } - - /** - * Caches the bo dett pratica in the entity cache if it is enabled. - * - * @param boDettPratica the bo dett pratica - */ - public static void cacheResult( - it.tref.liferay.portos.portosimport.model.BoDettPratica boDettPratica) { - getPersistence().cacheResult(boDettPratica); - } - - /** - * Caches the bo dett praticas in the entity cache if it is enabled. - * - * @param boDettPraticas the bo dett praticas - */ - public static void cacheResult( - java.util.List boDettPraticas) { - getPersistence().cacheResult(boDettPraticas); - } - - /** - * Creates a new bo dett pratica with the primary key. Does not add the bo dett pratica to the database. - * - * @param dettPraticaId the primary key for the new bo dett pratica - * @return the new bo dett pratica - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica create( - long dettPraticaId) { - return getPersistence().create(dettPraticaId); - } - - /** - * Removes the bo dett pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param dettPraticaId the primary key of the bo dett pratica - * @return the bo dett pratica that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica remove( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException { - return getPersistence().remove(dettPraticaId); - } - - public static it.tref.liferay.portos.portosimport.model.BoDettPratica updateImpl( - it.tref.liferay.portos.portosimport.model.BoDettPratica boDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(boDettPratica); - } - - /** - * Returns the bo dett pratica with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException} if it could not be found. - * - * @param dettPraticaId the primary key of the bo dett pratica - * @return the bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica findByPrimaryKey( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException { - return getPersistence().findByPrimaryKey(dettPraticaId); - } - - /** - * Returns the bo dett pratica with the primary key or returns null if it could not be found. - * - * @param dettPraticaId the primary key of the bo dett pratica - * @return the bo dett pratica, or null if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDettPratica fetchByPrimaryKey( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(dettPraticaId); - } - - /** - * Returns all the bo dett praticas. - * - * @return the bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the bo dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the bo dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the bo dett praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of bo dett praticas. - * - * @return the number of bo dett praticas - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static BoDettPraticaPersistence getPersistence() { - if (_persistence == null) { - _persistence = (BoDettPraticaPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.portosimport.service.ClpSerializer.getServletContextName(), - BoDettPraticaPersistence.class.getName()); - - ReferenceRegistry.registerReference(BoDettPraticaUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(BoDettPraticaPersistence persistence) { - } - - private static BoDettPraticaPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoDocPraticaActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoDocPraticaActionableDynamicQuery.java deleted file mode 100644 index 5278270a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoDocPraticaActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.BoDocPratica; -import it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalServiceUtil; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public abstract class BoDocPraticaActionableDynamicQuery - extends BaseActionableDynamicQuery { - public BoDocPraticaActionableDynamicQuery() throws SystemException { - setBaseLocalService(BoDocPraticaLocalServiceUtil.getService()); - setClass(BoDocPratica.class); - - setClassLoader(it.tref.liferay.portos.portosimport.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("docPraticaId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoDocPraticaExportActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoDocPraticaExportActionableDynamicQuery.java deleted file mode 100644 index 5f1c1209..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoDocPraticaExportActionableDynamicQuery.java +++ /dev/null @@ -1,85 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.ExportImportHelperUtil; -import com.liferay.portal.kernel.lar.ManifestSummary; -import com.liferay.portal.kernel.lar.PortletDataContext; -import com.liferay.portal.kernel.lar.StagedModelDataHandlerUtil; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.portosimport.model.BoDocPratica; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoDocPraticaExportActionableDynamicQuery - extends BoDocPraticaActionableDynamicQuery { - public BoDocPraticaExportActionableDynamicQuery( - PortletDataContext portletDataContext) throws SystemException { - _portletDataContext = portletDataContext; - - setCompanyId(_portletDataContext.getCompanyId()); - - setGroupId(_portletDataContext.getScopeGroupId()); - } - - @Override - public long performCount() throws PortalException, SystemException { - ManifestSummary manifestSummary = _portletDataContext.getManifestSummary(); - - StagedModelType stagedModelType = getStagedModelType(); - - long modelAdditionCount = super.performCount(); - - manifestSummary.addModelAdditionCount(stagedModelType.toString(), - modelAdditionCount); - - long modelDeletionCount = ExportImportHelperUtil.getModelDeletionCount(_portletDataContext, - stagedModelType); - - manifestSummary.addModelDeletionCount(stagedModelType.toString(), - modelDeletionCount); - - return modelAdditionCount; - } - - @Override - protected void addCriteria(DynamicQuery dynamicQuery) { - _portletDataContext.addDateRangeCriteria(dynamicQuery, "modifiedDate"); - } - - protected StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoDocPratica.class.getName())); - } - - @Override - @SuppressWarnings("unused") - protected void performAction(Object object) - throws PortalException, SystemException { - BoDocPratica stagedModel = (BoDocPratica)object; - - StagedModelDataHandlerUtil.exportStagedModel(_portletDataContext, - stagedModel); - } - - private PortletDataContext _portletDataContext; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoDocPraticaPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoDocPraticaPersistence.java deleted file mode 100644 index 2bad2bcd..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoDocPraticaPersistence.java +++ /dev/null @@ -1,1372 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.portosimport.model.BoDocPratica; - -/** - * The persistence interface for the bo doc pratica service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoDocPraticaPersistenceImpl - * @see BoDocPraticaUtil - * @generated - */ -public interface BoDocPraticaPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoDocPraticaUtil} to access the bo doc pratica persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns all the bo doc praticas where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo doc praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo doc praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo doc pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException; - - /** - * Returns the first bo doc pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo doc pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException; - - /** - * Returns the last bo doc pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc praticas before and after the current bo doc pratica in the ordered set where uuid = ?. - * - * @param docPraticaId the primary key of the current bo doc pratica - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica[] findByUuid_PrevAndNext( - long docPraticaId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException; - - /** - * Removes all the bo doc praticas where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo doc praticas where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc pratica where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException; - - /** - * Returns the bo doc pratica where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc pratica where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo doc pratica where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo doc pratica that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException; - - /** - * Returns the number of bo doc praticas where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo doc praticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo doc praticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo doc praticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo doc pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException; - - /** - * Returns the first bo doc pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo doc pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException; - - /** - * Returns the last bo doc pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc praticas before and after the current bo doc pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param docPraticaId the primary key of the current bo doc pratica - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica[] findByUuid_C_PrevAndNext( - long docPraticaId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException; - - /** - * Removes all the bo doc praticas where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo doc praticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and codFileSuap = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException} if it could not be found. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param codFileSuap the cod file suap - * @return the matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica findByC_Group_DlFileEntry_CodFileSuap( - long companyId, long groupId, long dlFileEntryId, - java.lang.String codFileSuap) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException; - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and codFileSuap = ? or returns null if it could not be found. Uses the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param codFileSuap the cod file suap - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByC_Group_DlFileEntry_CodFileSuap( - long companyId, long groupId, long dlFileEntryId, - java.lang.String codFileSuap) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and codFileSuap = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param codFileSuap the cod file suap - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByC_Group_DlFileEntry_CodFileSuap( - long companyId, long groupId, long dlFileEntryId, - java.lang.String codFileSuap, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and codFileSuap = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param codFileSuap the cod file suap - * @return the bo doc pratica that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica removeByC_Group_DlFileEntry_CodFileSuap( - long companyId, long groupId, long dlFileEntryId, - java.lang.String codFileSuap) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException; - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and dlFileEntryId = ? and codFileSuap = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param codFileSuap the cod file suap - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public int countByC_Group_DlFileEntry_CodFileSuap(long companyId, - long groupId, long dlFileEntryId, java.lang.String codFileSuap) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group_DettPratica( - long companyId, long groupId, long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group_DettPratica( - long companyId, long groupId, long dettPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group_DettPratica( - long companyId, long groupId, long dettPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica findByC_Group_DettPratica_First( - long companyId, long groupId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException; - - /** - * Returns the first bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByC_Group_DettPratica_First( - long companyId, long groupId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica findByC_Group_DettPratica_Last( - long companyId, long groupId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException; - - /** - * Returns the last bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByC_Group_DettPratica_Last( - long companyId, long groupId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc praticas before and after the current bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param docPraticaId the primary key of the current bo doc pratica - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica[] findByC_Group_DettPratica_PrevAndNext( - long docPraticaId, long companyId, long groupId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException; - - /** - * Returns all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group_DettPratica( - long companyId, long groupId, long[] dettPraticaIds) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group_DettPratica( - long companyId, long groupId, long[] dettPraticaIds, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group_DettPratica( - long companyId, long groupId, long[] dettPraticaIds, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - public void removeByC_Group_DettPratica(long companyId, long groupId, - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public int countByC_Group_DettPratica(long companyId, long groupId, - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public int countByC_Group_DettPratica(long companyId, long groupId, - long[] dettPraticaIds) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group_DettPratica_Tipologia( - long companyId, long groupId, long dettPraticaId, - java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group_DettPratica_Tipologia( - long companyId, long groupId, long dettPraticaId, - java.lang.String tipologia, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group_DettPratica_Tipologia( - long companyId, long groupId, long dettPraticaId, - java.lang.String tipologia, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica findByC_Group_DettPratica_Tipologia_First( - long companyId, long groupId, long dettPraticaId, - java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException; - - /** - * Returns the first bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByC_Group_DettPratica_Tipologia_First( - long companyId, long groupId, long dettPraticaId, - java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica findByC_Group_DettPratica_Tipologia_Last( - long companyId, long groupId, long dettPraticaId, - java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException; - - /** - * Returns the last bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByC_Group_DettPratica_Tipologia_Last( - long companyId, long groupId, long dettPraticaId, - java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc praticas before and after the current bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param docPraticaId the primary key of the current bo doc pratica - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica[] findByC_Group_DettPratica_Tipologia_PrevAndNext( - long docPraticaId, long companyId, long groupId, long dettPraticaId, - java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException; - - /** - * Returns all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ? and tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @param tipologia the tipologia - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group_DettPratica_Tipologia( - long companyId, long groupId, long[] dettPraticaIds, - java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ? and tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @param tipologia the tipologia - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group_DettPratica_Tipologia( - long companyId, long groupId, long[] dettPraticaIds, - java.lang.String tipologia, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ? and tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @param tipologia the tipologia - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group_DettPratica_Tipologia( - long companyId, long groupId, long[] dettPraticaIds, - java.lang.String tipologia, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @throws SystemException if a system exception occurred - */ - public void removeByC_Group_DettPratica_Tipologia(long companyId, - long groupId, long dettPraticaId, java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public int countByC_Group_DettPratica_Tipologia(long companyId, - long groupId, long dettPraticaId, java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @param tipologia the tipologia - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public int countByC_Group_DettPratica_Tipologia(long companyId, - long groupId, long[] dettPraticaIds, java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and tipologia = ? and codFileSuap = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException} if it could not be found. - * - * @param companyId the company ID - * @param groupId the group ID - * @param tipologia the tipologia - * @param codFileSuap the cod file suap - * @return the matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica findByC_Group_Tiplogia_CodFileSuap( - long companyId, long groupId, java.lang.String tipologia, - java.lang.String codFileSuap) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException; - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and tipologia = ? and codFileSuap = ? or returns null if it could not be found. Uses the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param tipologia the tipologia - * @param codFileSuap the cod file suap - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByC_Group_Tiplogia_CodFileSuap( - long companyId, long groupId, java.lang.String tipologia, - java.lang.String codFileSuap) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and tipologia = ? and codFileSuap = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param tipologia the tipologia - * @param codFileSuap the cod file suap - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByC_Group_Tiplogia_CodFileSuap( - long companyId, long groupId, java.lang.String tipologia, - java.lang.String codFileSuap, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo doc pratica where companyId = ? and groupId = ? and tipologia = ? and codFileSuap = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param tipologia the tipologia - * @param codFileSuap the cod file suap - * @return the bo doc pratica that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica removeByC_Group_Tiplogia_CodFileSuap( - long companyId, long groupId, java.lang.String tipologia, - java.lang.String codFileSuap) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException; - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and tipologia = ? and codFileSuap = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param tipologia the tipologia - * @param codFileSuap the cod file suap - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public int countByC_Group_Tiplogia_CodFileSuap(long companyId, - long groupId, java.lang.String tipologia, java.lang.String codFileSuap) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and version = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException} if it could not be found. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param version the version - * @return the matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica findByC_Group_DlFileEntry_Version( - long companyId, long groupId, long dlFileEntryId, - java.lang.String version) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException; - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and version = ? or returns null if it could not be found. Uses the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param version the version - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByC_Group_DlFileEntry_Version( - long companyId, long groupId, long dlFileEntryId, - java.lang.String version) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and version = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param version the version - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByC_Group_DlFileEntry_Version( - long companyId, long groupId, long dlFileEntryId, - java.lang.String version, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and version = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param version the version - * @return the bo doc pratica that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica removeByC_Group_DlFileEntry_Version( - long companyId, long groupId, long dlFileEntryId, - java.lang.String version) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException; - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and dlFileEntryId = ? and version = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param version the version - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public int countByC_Group_DlFileEntry_Version(long companyId, long groupId, - long dlFileEntryId, java.lang.String version) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo doc praticas where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo doc praticas where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica( - long dettPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo doc praticas where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica( - long dettPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo doc pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica findByDettPratica_First( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException; - - /** - * Returns the first bo doc pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByDettPratica_First( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo doc pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica findByDettPratica_Last( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException; - - /** - * Returns the last bo doc pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByDettPratica_Last( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc praticas before and after the current bo doc pratica in the ordered set where dettPraticaId = ?. - * - * @param docPraticaId the primary key of the current bo doc pratica - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica[] findByDettPratica_PrevAndNext( - long docPraticaId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException; - - /** - * Removes all the bo doc praticas where dettPraticaId = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - public void removeByDettPratica(long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo doc praticas where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public int countByDettPratica(long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the bo doc pratica in the entity cache if it is enabled. - * - * @param boDocPratica the bo doc pratica - */ - public void cacheResult( - it.tref.liferay.portos.portosimport.model.BoDocPratica boDocPratica); - - /** - * Caches the bo doc praticas in the entity cache if it is enabled. - * - * @param boDocPraticas the bo doc praticas - */ - public void cacheResult( - java.util.List boDocPraticas); - - /** - * Creates a new bo doc pratica with the primary key. Does not add the bo doc pratica to the database. - * - * @param docPraticaId the primary key for the new bo doc pratica - * @return the new bo doc pratica - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica create( - long docPraticaId); - - /** - * Removes the bo doc pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param docPraticaId the primary key of the bo doc pratica - * @return the bo doc pratica that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica remove( - long docPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException; - - public it.tref.liferay.portos.portosimport.model.BoDocPratica updateImpl( - it.tref.liferay.portos.portosimport.model.BoDocPratica boDocPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo doc pratica with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException} if it could not be found. - * - * @param docPraticaId the primary key of the bo doc pratica - * @return the bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica findByPrimaryKey( - long docPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException; - - /** - * Returns the bo doc pratica with the primary key or returns null if it could not be found. - * - * @param docPraticaId the primary key of the bo doc pratica - * @return the bo doc pratica, or null if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByPrimaryKey( - long docPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo doc praticas. - * - * @return the bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo doc praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo doc praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo doc praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the bo doc praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo doc praticas. - * - * @return the number of bo doc praticas - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoDocPraticaUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoDocPraticaUtil.java deleted file mode 100644 index 50ee0121..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoDocPraticaUtil.java +++ /dev/null @@ -1,1743 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.portosimport.model.BoDocPratica; - -import java.util.List; - -/** - * The persistence utility for the bo doc pratica service. This utility wraps {@link BoDocPraticaPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoDocPraticaPersistence - * @see BoDocPraticaPersistenceImpl - * @generated - */ -public class BoDocPraticaUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(BoDocPratica boDocPratica) { - getPersistence().clearCache(boDocPratica); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static BoDocPratica update(BoDocPratica boDocPratica) - throws SystemException { - return getPersistence().update(boDocPratica); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static BoDocPratica update(BoDocPratica boDocPratica, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(boDocPratica, serviceContext); - } - - /** - * Returns all the bo doc praticas where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid); - } - - /** - * Returns a range of all the bo doc praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end); - } - - /** - * Returns an ordered range of all the bo doc praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end, orderByComparator); - } - - /** - * Returns the first bo doc pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException { - return getPersistence().findByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the first bo doc pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the last bo doc pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException { - return getPersistence().findByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the last bo doc pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the bo doc praticas before and after the current bo doc pratica in the ordered set where uuid = ?. - * - * @param docPraticaId the primary key of the current bo doc pratica - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica[] findByUuid_PrevAndNext( - long docPraticaId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException { - return getPersistence() - .findByUuid_PrevAndNext(docPraticaId, uuid, orderByComparator); - } - - /** - * Removes all the bo doc praticas where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid(uuid); - } - - /** - * Returns the number of bo doc praticas where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid(uuid); - } - - /** - * Returns the bo doc pratica where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException { - return getPersistence().findByUUID_G(uuid, groupId); - } - - /** - * Returns the bo doc pratica where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the bo doc pratica where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache); - } - - /** - * Removes the bo doc pratica where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo doc pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException { - return getPersistence().removeByUUID_G(uuid, groupId); - } - - /** - * Returns the number of bo doc praticas where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUUID_G(uuid, groupId); - } - - /** - * Returns all the bo doc praticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId); - } - - /** - * Returns a range of all the bo doc praticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId, start, end); - } - - /** - * Returns an ordered range of all the bo doc praticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByUuid_C(uuid, companyId, start, end, orderByComparator); - } - - /** - * Returns the first bo doc pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException { - return getPersistence() - .findByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the first bo doc pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the last bo doc pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException { - return getPersistence() - .findByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the last bo doc pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the bo doc praticas before and after the current bo doc pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param docPraticaId the primary key of the current bo doc pratica - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica[] findByUuid_C_PrevAndNext( - long docPraticaId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException { - return getPersistence() - .findByUuid_C_PrevAndNext(docPraticaId, uuid, companyId, - orderByComparator); - } - - /** - * Removes all the bo doc praticas where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid_C(uuid, companyId); - } - - /** - * Returns the number of bo doc praticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid_C(uuid, companyId); - } - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and codFileSuap = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException} if it could not be found. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param codFileSuap the cod file suap - * @return the matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica findByC_Group_DlFileEntry_CodFileSuap( - long companyId, long groupId, long dlFileEntryId, - java.lang.String codFileSuap) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException { - return getPersistence() - .findByC_Group_DlFileEntry_CodFileSuap(companyId, groupId, - dlFileEntryId, codFileSuap); - } - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and codFileSuap = ? or returns null if it could not be found. Uses the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param codFileSuap the cod file suap - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByC_Group_DlFileEntry_CodFileSuap( - long companyId, long groupId, long dlFileEntryId, - java.lang.String codFileSuap) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Group_DlFileEntry_CodFileSuap(companyId, groupId, - dlFileEntryId, codFileSuap); - } - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and codFileSuap = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param codFileSuap the cod file suap - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByC_Group_DlFileEntry_CodFileSuap( - long companyId, long groupId, long dlFileEntryId, - java.lang.String codFileSuap, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Group_DlFileEntry_CodFileSuap(companyId, groupId, - dlFileEntryId, codFileSuap, retrieveFromCache); - } - - /** - * Removes the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and codFileSuap = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param codFileSuap the cod file suap - * @return the bo doc pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica removeByC_Group_DlFileEntry_CodFileSuap( - long companyId, long groupId, long dlFileEntryId, - java.lang.String codFileSuap) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException { - return getPersistence() - .removeByC_Group_DlFileEntry_CodFileSuap(companyId, groupId, - dlFileEntryId, codFileSuap); - } - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and dlFileEntryId = ? and codFileSuap = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param codFileSuap the cod file suap - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static int countByC_Group_DlFileEntry_CodFileSuap(long companyId, - long groupId, long dlFileEntryId, java.lang.String codFileSuap) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByC_Group_DlFileEntry_CodFileSuap(companyId, groupId, - dlFileEntryId, codFileSuap); - } - - /** - * Returns all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group_DettPratica( - long companyId, long groupId, long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Group_DettPratica(companyId, groupId, dettPraticaId); - } - - /** - * Returns a range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group_DettPratica( - long companyId, long groupId, long dettPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Group_DettPratica(companyId, groupId, - dettPraticaId, start, end); - } - - /** - * Returns an ordered range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group_DettPratica( - long companyId, long groupId, long dettPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Group_DettPratica(companyId, groupId, - dettPraticaId, start, end, orderByComparator); - } - - /** - * Returns the first bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica findByC_Group_DettPratica_First( - long companyId, long groupId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException { - return getPersistence() - .findByC_Group_DettPratica_First(companyId, groupId, - dettPraticaId, orderByComparator); - } - - /** - * Returns the first bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByC_Group_DettPratica_First( - long companyId, long groupId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Group_DettPratica_First(companyId, groupId, - dettPraticaId, orderByComparator); - } - - /** - * Returns the last bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica findByC_Group_DettPratica_Last( - long companyId, long groupId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException { - return getPersistence() - .findByC_Group_DettPratica_Last(companyId, groupId, - dettPraticaId, orderByComparator); - } - - /** - * Returns the last bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByC_Group_DettPratica_Last( - long companyId, long groupId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Group_DettPratica_Last(companyId, groupId, - dettPraticaId, orderByComparator); - } - - /** - * Returns the bo doc praticas before and after the current bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param docPraticaId the primary key of the current bo doc pratica - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica[] findByC_Group_DettPratica_PrevAndNext( - long docPraticaId, long companyId, long groupId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException { - return getPersistence() - .findByC_Group_DettPratica_PrevAndNext(docPraticaId, - companyId, groupId, dettPraticaId, orderByComparator); - } - - /** - * Returns all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group_DettPratica( - long companyId, long groupId, long[] dettPraticaIds) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Group_DettPratica(companyId, groupId, dettPraticaIds); - } - - /** - * Returns a range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group_DettPratica( - long companyId, long groupId, long[] dettPraticaIds, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Group_DettPratica(companyId, groupId, - dettPraticaIds, start, end); - } - - /** - * Returns an ordered range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group_DettPratica( - long companyId, long groupId, long[] dettPraticaIds, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Group_DettPratica(companyId, groupId, - dettPraticaIds, start, end, orderByComparator); - } - - /** - * Removes all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - public static void removeByC_Group_DettPratica(long companyId, - long groupId, long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeByC_Group_DettPratica(companyId, groupId, dettPraticaId); - } - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static int countByC_Group_DettPratica(long companyId, long groupId, - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByC_Group_DettPratica(companyId, groupId, dettPraticaId); - } - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static int countByC_Group_DettPratica(long companyId, long groupId, - long[] dettPraticaIds) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByC_Group_DettPratica(companyId, groupId, - dettPraticaIds); - } - - /** - * Returns all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group_DettPratica_Tipologia( - long companyId, long groupId, long dettPraticaId, - java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Group_DettPratica_Tipologia(companyId, groupId, - dettPraticaId, tipologia); - } - - /** - * Returns a range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group_DettPratica_Tipologia( - long companyId, long groupId, long dettPraticaId, - java.lang.String tipologia, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Group_DettPratica_Tipologia(companyId, groupId, - dettPraticaId, tipologia, start, end); - } - - /** - * Returns an ordered range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group_DettPratica_Tipologia( - long companyId, long groupId, long dettPraticaId, - java.lang.String tipologia, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Group_DettPratica_Tipologia(companyId, groupId, - dettPraticaId, tipologia, start, end, orderByComparator); - } - - /** - * Returns the first bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica findByC_Group_DettPratica_Tipologia_First( - long companyId, long groupId, long dettPraticaId, - java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException { - return getPersistence() - .findByC_Group_DettPratica_Tipologia_First(companyId, - groupId, dettPraticaId, tipologia, orderByComparator); - } - - /** - * Returns the first bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByC_Group_DettPratica_Tipologia_First( - long companyId, long groupId, long dettPraticaId, - java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Group_DettPratica_Tipologia_First(companyId, - groupId, dettPraticaId, tipologia, orderByComparator); - } - - /** - * Returns the last bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica findByC_Group_DettPratica_Tipologia_Last( - long companyId, long groupId, long dettPraticaId, - java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException { - return getPersistence() - .findByC_Group_DettPratica_Tipologia_Last(companyId, - groupId, dettPraticaId, tipologia, orderByComparator); - } - - /** - * Returns the last bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByC_Group_DettPratica_Tipologia_Last( - long companyId, long groupId, long dettPraticaId, - java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Group_DettPratica_Tipologia_Last(companyId, - groupId, dettPraticaId, tipologia, orderByComparator); - } - - /** - * Returns the bo doc praticas before and after the current bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param docPraticaId the primary key of the current bo doc pratica - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica[] findByC_Group_DettPratica_Tipologia_PrevAndNext( - long docPraticaId, long companyId, long groupId, long dettPraticaId, - java.lang.String tipologia, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException { - return getPersistence() - .findByC_Group_DettPratica_Tipologia_PrevAndNext(docPraticaId, - companyId, groupId, dettPraticaId, tipologia, orderByComparator); - } - - /** - * Returns all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ? and tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @param tipologia the tipologia - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group_DettPratica_Tipologia( - long companyId, long groupId, long[] dettPraticaIds, - java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Group_DettPratica_Tipologia(companyId, groupId, - dettPraticaIds, tipologia); - } - - /** - * Returns a range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ? and tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @param tipologia the tipologia - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group_DettPratica_Tipologia( - long companyId, long groupId, long[] dettPraticaIds, - java.lang.String tipologia, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Group_DettPratica_Tipologia(companyId, groupId, - dettPraticaIds, tipologia, start, end); - } - - /** - * Returns an ordered range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ? and tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @param tipologia the tipologia - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group_DettPratica_Tipologia( - long companyId, long groupId, long[] dettPraticaIds, - java.lang.String tipologia, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Group_DettPratica_Tipologia(companyId, groupId, - dettPraticaIds, tipologia, start, end, orderByComparator); - } - - /** - * Removes all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @throws SystemException if a system exception occurred - */ - public static void removeByC_Group_DettPratica_Tipologia(long companyId, - long groupId, long dettPraticaId, java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeByC_Group_DettPratica_Tipologia(companyId, groupId, - dettPraticaId, tipologia); - } - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static int countByC_Group_DettPratica_Tipologia(long companyId, - long groupId, long dettPraticaId, java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByC_Group_DettPratica_Tipologia(companyId, groupId, - dettPraticaId, tipologia); - } - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @param tipologia the tipologia - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static int countByC_Group_DettPratica_Tipologia(long companyId, - long groupId, long[] dettPraticaIds, java.lang.String tipologia) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByC_Group_DettPratica_Tipologia(companyId, groupId, - dettPraticaIds, tipologia); - } - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and tipologia = ? and codFileSuap = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException} if it could not be found. - * - * @param companyId the company ID - * @param groupId the group ID - * @param tipologia the tipologia - * @param codFileSuap the cod file suap - * @return the matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica findByC_Group_Tiplogia_CodFileSuap( - long companyId, long groupId, java.lang.String tipologia, - java.lang.String codFileSuap) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException { - return getPersistence() - .findByC_Group_Tiplogia_CodFileSuap(companyId, groupId, - tipologia, codFileSuap); - } - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and tipologia = ? and codFileSuap = ? or returns null if it could not be found. Uses the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param tipologia the tipologia - * @param codFileSuap the cod file suap - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByC_Group_Tiplogia_CodFileSuap( - long companyId, long groupId, java.lang.String tipologia, - java.lang.String codFileSuap) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Group_Tiplogia_CodFileSuap(companyId, groupId, - tipologia, codFileSuap); - } - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and tipologia = ? and codFileSuap = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param tipologia the tipologia - * @param codFileSuap the cod file suap - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByC_Group_Tiplogia_CodFileSuap( - long companyId, long groupId, java.lang.String tipologia, - java.lang.String codFileSuap, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Group_Tiplogia_CodFileSuap(companyId, groupId, - tipologia, codFileSuap, retrieveFromCache); - } - - /** - * Removes the bo doc pratica where companyId = ? and groupId = ? and tipologia = ? and codFileSuap = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param tipologia the tipologia - * @param codFileSuap the cod file suap - * @return the bo doc pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica removeByC_Group_Tiplogia_CodFileSuap( - long companyId, long groupId, java.lang.String tipologia, - java.lang.String codFileSuap) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException { - return getPersistence() - .removeByC_Group_Tiplogia_CodFileSuap(companyId, groupId, - tipologia, codFileSuap); - } - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and tipologia = ? and codFileSuap = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param tipologia the tipologia - * @param codFileSuap the cod file suap - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static int countByC_Group_Tiplogia_CodFileSuap(long companyId, - long groupId, java.lang.String tipologia, java.lang.String codFileSuap) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByC_Group_Tiplogia_CodFileSuap(companyId, groupId, - tipologia, codFileSuap); - } - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and version = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException} if it could not be found. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param version the version - * @return the matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica findByC_Group_DlFileEntry_Version( - long companyId, long groupId, long dlFileEntryId, - java.lang.String version) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException { - return getPersistence() - .findByC_Group_DlFileEntry_Version(companyId, groupId, - dlFileEntryId, version); - } - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and version = ? or returns null if it could not be found. Uses the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param version the version - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByC_Group_DlFileEntry_Version( - long companyId, long groupId, long dlFileEntryId, - java.lang.String version) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Group_DlFileEntry_Version(companyId, groupId, - dlFileEntryId, version); - } - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and version = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param version the version - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByC_Group_DlFileEntry_Version( - long companyId, long groupId, long dlFileEntryId, - java.lang.String version, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Group_DlFileEntry_Version(companyId, groupId, - dlFileEntryId, version, retrieveFromCache); - } - - /** - * Removes the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and version = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param version the version - * @return the bo doc pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica removeByC_Group_DlFileEntry_Version( - long companyId, long groupId, long dlFileEntryId, - java.lang.String version) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException { - return getPersistence() - .removeByC_Group_DlFileEntry_Version(companyId, groupId, - dlFileEntryId, version); - } - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and dlFileEntryId = ? and version = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param version the version - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static int countByC_Group_DlFileEntry_Version(long companyId, - long groupId, long dlFileEntryId, java.lang.String version) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByC_Group_DlFileEntry_Version(companyId, groupId, - dlFileEntryId, version); - } - - /** - * Returns all the bo doc praticas where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByDettPratica(dettPraticaId); - } - - /** - * Returns a range of all the bo doc praticas where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica( - long dettPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByDettPratica(dettPraticaId, start, end); - } - - /** - * Returns an ordered range of all the bo doc praticas where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica( - long dettPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica(dettPraticaId, start, end, - orderByComparator); - } - - /** - * Returns the first bo doc pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica findByDettPratica_First( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException { - return getPersistence() - .findByDettPratica_First(dettPraticaId, orderByComparator); - } - - /** - * Returns the first bo doc pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByDettPratica_First( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPratica_First(dettPraticaId, orderByComparator); - } - - /** - * Returns the last bo doc pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica findByDettPratica_Last( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException { - return getPersistence() - .findByDettPratica_Last(dettPraticaId, orderByComparator); - } - - /** - * Returns the last bo doc pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByDettPratica_Last( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPratica_Last(dettPraticaId, orderByComparator); - } - - /** - * Returns the bo doc praticas before and after the current bo doc pratica in the ordered set where dettPraticaId = ?. - * - * @param docPraticaId the primary key of the current bo doc pratica - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica[] findByDettPratica_PrevAndNext( - long docPraticaId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException { - return getPersistence() - .findByDettPratica_PrevAndNext(docPraticaId, dettPraticaId, - orderByComparator); - } - - /** - * Removes all the bo doc praticas where dettPraticaId = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - public static void removeByDettPratica(long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByDettPratica(dettPraticaId); - } - - /** - * Returns the number of bo doc praticas where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static int countByDettPratica(long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByDettPratica(dettPraticaId); - } - - /** - * Caches the bo doc pratica in the entity cache if it is enabled. - * - * @param boDocPratica the bo doc pratica - */ - public static void cacheResult( - it.tref.liferay.portos.portosimport.model.BoDocPratica boDocPratica) { - getPersistence().cacheResult(boDocPratica); - } - - /** - * Caches the bo doc praticas in the entity cache if it is enabled. - * - * @param boDocPraticas the bo doc praticas - */ - public static void cacheResult( - java.util.List boDocPraticas) { - getPersistence().cacheResult(boDocPraticas); - } - - /** - * Creates a new bo doc pratica with the primary key. Does not add the bo doc pratica to the database. - * - * @param docPraticaId the primary key for the new bo doc pratica - * @return the new bo doc pratica - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica create( - long docPraticaId) { - return getPersistence().create(docPraticaId); - } - - /** - * Removes the bo doc pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param docPraticaId the primary key of the bo doc pratica - * @return the bo doc pratica that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica remove( - long docPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException { - return getPersistence().remove(docPraticaId); - } - - public static it.tref.liferay.portos.portosimport.model.BoDocPratica updateImpl( - it.tref.liferay.portos.portosimport.model.BoDocPratica boDocPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(boDocPratica); - } - - /** - * Returns the bo doc pratica with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException} if it could not be found. - * - * @param docPraticaId the primary key of the bo doc pratica - * @return the bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica findByPrimaryKey( - long docPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException { - return getPersistence().findByPrimaryKey(docPraticaId); - } - - /** - * Returns the bo doc pratica with the primary key or returns null if it could not be found. - * - * @param docPraticaId the primary key of the bo doc pratica - * @return the bo doc pratica, or null if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoDocPratica fetchByPrimaryKey( - long docPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(docPraticaId); - } - - /** - * Returns all the bo doc praticas. - * - * @return the bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the bo doc praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the bo doc praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the bo doc praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of bo doc praticas. - * - * @return the number of bo doc praticas - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static BoDocPraticaPersistence getPersistence() { - if (_persistence == null) { - _persistence = (BoDocPraticaPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.portosimport.service.ClpSerializer.getServletContextName(), - BoDocPraticaPersistence.class.getName()); - - ReferenceRegistry.registerReference(BoDocPraticaUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(BoDocPraticaPersistence persistence) { - } - - private static BoDocPraticaPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoIntPraticaActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoIntPraticaActionableDynamicQuery.java deleted file mode 100644 index 9e4a9c2c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoIntPraticaActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.BoIntPratica; -import it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalServiceUtil; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public abstract class BoIntPraticaActionableDynamicQuery - extends BaseActionableDynamicQuery { - public BoIntPraticaActionableDynamicQuery() throws SystemException { - setBaseLocalService(BoIntPraticaLocalServiceUtil.getService()); - setClass(BoIntPratica.class); - - setClassLoader(it.tref.liferay.portos.portosimport.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("intPraticaId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoIntPraticaExportActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoIntPraticaExportActionableDynamicQuery.java deleted file mode 100644 index e03c7b8e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoIntPraticaExportActionableDynamicQuery.java +++ /dev/null @@ -1,85 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.ExportImportHelperUtil; -import com.liferay.portal.kernel.lar.ManifestSummary; -import com.liferay.portal.kernel.lar.PortletDataContext; -import com.liferay.portal.kernel.lar.StagedModelDataHandlerUtil; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.portosimport.model.BoIntPratica; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoIntPraticaExportActionableDynamicQuery - extends BoIntPraticaActionableDynamicQuery { - public BoIntPraticaExportActionableDynamicQuery( - PortletDataContext portletDataContext) throws SystemException { - _portletDataContext = portletDataContext; - - setCompanyId(_portletDataContext.getCompanyId()); - - setGroupId(_portletDataContext.getScopeGroupId()); - } - - @Override - public long performCount() throws PortalException, SystemException { - ManifestSummary manifestSummary = _portletDataContext.getManifestSummary(); - - StagedModelType stagedModelType = getStagedModelType(); - - long modelAdditionCount = super.performCount(); - - manifestSummary.addModelAdditionCount(stagedModelType.toString(), - modelAdditionCount); - - long modelDeletionCount = ExportImportHelperUtil.getModelDeletionCount(_portletDataContext, - stagedModelType); - - manifestSummary.addModelDeletionCount(stagedModelType.toString(), - modelDeletionCount); - - return modelAdditionCount; - } - - @Override - protected void addCriteria(DynamicQuery dynamicQuery) { - _portletDataContext.addDateRangeCriteria(dynamicQuery, "modifiedDate"); - } - - protected StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoIntPratica.class.getName())); - } - - @Override - @SuppressWarnings("unused") - protected void performAction(Object object) - throws PortalException, SystemException { - BoIntPratica stagedModel = (BoIntPratica)object; - - StagedModelDataHandlerUtil.exportStagedModel(_portletDataContext, - stagedModel); - } - - private PortletDataContext _portletDataContext; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoIntPraticaPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoIntPraticaPersistence.java deleted file mode 100644 index 26663925..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoIntPraticaPersistence.java +++ /dev/null @@ -1,1215 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.portosimport.model.BoIntPratica; - -/** - * The persistence interface for the bo int pratica service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoIntPraticaPersistenceImpl - * @see BoIntPraticaUtil - * @generated - */ -public interface BoIntPraticaPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoIntPraticaUtil} to access the bo int pratica persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns all the bo int praticas where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo int praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo int praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException; - - /** - * Returns the first bo int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException; - - /** - * Returns the last bo int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo int praticas before and after the current bo int pratica in the ordered set where uuid = ?. - * - * @param intPraticaId the primary key of the current bo int pratica - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica[] findByUuid_PrevAndNext( - long intPraticaId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException; - - /** - * Removes all the bo int praticas where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo int praticas where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo int pratica where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException; - - /** - * Returns the bo int pratica where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo int pratica where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo int pratica where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo int pratica that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException; - - /** - * Returns the number of bo int praticas where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo int praticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo int praticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo int praticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo int pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException; - - /** - * Returns the first bo int pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo int pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException; - - /** - * Returns the last bo int pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo int praticas before and after the current bo int pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param intPraticaId the primary key of the current bo int pratica - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica[] findByUuid_C_PrevAndNext( - long intPraticaId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException; - - /** - * Removes all the bo int praticas where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo int praticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo int pratica where territorioId = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException} if it could not be found. - * - * @param territorioId the territorio ID - * @return the matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica findByIntPraticaId( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException; - - /** - * Returns the bo int pratica where territorioId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param territorioId the territorio ID - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByIntPraticaId( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo int pratica where territorioId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param territorioId the territorio ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByIntPraticaId( - long territorioId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo int pratica where territorioId = ? from the database. - * - * @param territorioId the territorio ID - * @return the bo int pratica that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica removeByIntPraticaId( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException; - - /** - * Returns the number of bo int praticas where territorioId = ?. - * - * @param territorioId the territorio ID - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public int countByIntPraticaId(long territorioId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo int praticas where territorioId = ?. - * - * @param territorioId the territorio ID - * @return the matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByTerritorioId( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo int praticas where territorioId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param territorioId the territorio ID - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByTerritorioId( - long territorioId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo int praticas where territorioId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param territorioId the territorio ID - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByTerritorioId( - long territorioId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo int pratica in the ordered set where territorioId = ?. - * - * @param territorioId the territorio ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica findByTerritorioId_First( - long territorioId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException; - - /** - * Returns the first bo int pratica in the ordered set where territorioId = ?. - * - * @param territorioId the territorio ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByTerritorioId_First( - long territorioId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo int pratica in the ordered set where territorioId = ?. - * - * @param territorioId the territorio ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica findByTerritorioId_Last( - long territorioId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException; - - /** - * Returns the last bo int pratica in the ordered set where territorioId = ?. - * - * @param territorioId the territorio ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByTerritorioId_Last( - long territorioId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo int praticas before and after the current bo int pratica in the ordered set where territorioId = ?. - * - * @param intPraticaId the primary key of the current bo int pratica - * @param territorioId the territorio ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica[] findByTerritorioId_PrevAndNext( - long intPraticaId, long territorioId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException; - - /** - * Removes all the bo int praticas where territorioId = ? from the database. - * - * @param territorioId the territorio ID - * @throws SystemException if a system exception occurred - */ - public void removeByTerritorioId(long territorioId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo int praticas where territorioId = ?. - * - * @param territorioId the territorio ID - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public int countByTerritorioId(long territorioId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo int praticas where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @return the matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group( - long companyId, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo int praticas where companyId = ? and groupId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group( - long companyId, long groupId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo int praticas where companyId = ? and groupId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group( - long companyId, long groupId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo int pratica in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica findByC_Group_First( - long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException; - - /** - * Returns the first bo int pratica in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByC_Group_First( - long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo int pratica in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica findByC_Group_Last( - long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException; - - /** - * Returns the last bo int pratica in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByC_Group_Last( - long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo int praticas before and after the current bo int pratica in the ordered set where companyId = ? and groupId = ?. - * - * @param intPraticaId the primary key of the current bo int pratica - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica[] findByC_Group_PrevAndNext( - long intPraticaId, long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException; - - /** - * Removes all the bo int praticas where companyId = ? and groupId = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @throws SystemException if a system exception occurred - */ - public void removeByC_Group(long companyId, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo int praticas where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public int countByC_Group(long companyId, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo int praticas where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @return the matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByPratica_da_variare( - long territorioId, boolean validata, java.lang.String numeroProgetto, - long variataDa) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo int praticas where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByPratica_da_variare( - long territorioId, boolean validata, java.lang.String numeroProgetto, - long variataDa, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo int praticas where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByPratica_da_variare( - long territorioId, boolean validata, java.lang.String numeroProgetto, - long variataDa, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo int pratica in the ordered set where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica findByPratica_da_variare_First( - long territorioId, boolean validata, java.lang.String numeroProgetto, - long variataDa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException; - - /** - * Returns the first bo int pratica in the ordered set where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByPratica_da_variare_First( - long territorioId, boolean validata, java.lang.String numeroProgetto, - long variataDa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo int pratica in the ordered set where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica findByPratica_da_variare_Last( - long territorioId, boolean validata, java.lang.String numeroProgetto, - long variataDa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException; - - /** - * Returns the last bo int pratica in the ordered set where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByPratica_da_variare_Last( - long territorioId, boolean validata, java.lang.String numeroProgetto, - long variataDa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo int praticas before and after the current bo int pratica in the ordered set where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param intPraticaId the primary key of the current bo int pratica - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica[] findByPratica_da_variare_PrevAndNext( - long intPraticaId, long territorioId, boolean validata, - java.lang.String numeroProgetto, long variataDa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException; - - /** - * Removes all the bo int praticas where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ? from the database. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @throws SystemException if a system exception occurred - */ - public void removeByPratica_da_variare(long territorioId, boolean validata, - java.lang.String numeroProgetto, long variataDa) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo int praticas where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public int countByPratica_da_variare(long territorioId, boolean validata, - java.lang.String numeroProgetto, long variataDa) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo int praticas where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @return the matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByTerritorio_Progetto_Variante_Validata( - long territorioId, boolean validata, long varianteNumero, - java.lang.String numeroProgetto) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo int praticas where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByTerritorio_Progetto_Variante_Validata( - long territorioId, boolean validata, long varianteNumero, - java.lang.String numeroProgetto, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo int praticas where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByTerritorio_Progetto_Variante_Validata( - long territorioId, boolean validata, long varianteNumero, - java.lang.String numeroProgetto, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo int pratica in the ordered set where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica findByTerritorio_Progetto_Variante_Validata_First( - long territorioId, boolean validata, long varianteNumero, - java.lang.String numeroProgetto, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException; - - /** - * Returns the first bo int pratica in the ordered set where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByTerritorio_Progetto_Variante_Validata_First( - long territorioId, boolean validata, long varianteNumero, - java.lang.String numeroProgetto, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo int pratica in the ordered set where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica findByTerritorio_Progetto_Variante_Validata_Last( - long territorioId, boolean validata, long varianteNumero, - java.lang.String numeroProgetto, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException; - - /** - * Returns the last bo int pratica in the ordered set where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByTerritorio_Progetto_Variante_Validata_Last( - long territorioId, boolean validata, long varianteNumero, - java.lang.String numeroProgetto, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo int praticas before and after the current bo int pratica in the ordered set where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param intPraticaId the primary key of the current bo int pratica - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica[] findByTerritorio_Progetto_Variante_Validata_PrevAndNext( - long intPraticaId, long territorioId, boolean validata, - long varianteNumero, java.lang.String numeroProgetto, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException; - - /** - * Removes all the bo int praticas where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ? from the database. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @throws SystemException if a system exception occurred - */ - public void removeByTerritorio_Progetto_Variante_Validata( - long territorioId, boolean validata, long varianteNumero, - java.lang.String numeroProgetto) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo int praticas where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public int countByTerritorio_Progetto_Variante_Validata(long territorioId, - boolean validata, long varianteNumero, java.lang.String numeroProgetto) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the bo int pratica in the entity cache if it is enabled. - * - * @param boIntPratica the bo int pratica - */ - public void cacheResult( - it.tref.liferay.portos.portosimport.model.BoIntPratica boIntPratica); - - /** - * Caches the bo int praticas in the entity cache if it is enabled. - * - * @param boIntPraticas the bo int praticas - */ - public void cacheResult( - java.util.List boIntPraticas); - - /** - * Creates a new bo int pratica with the primary key. Does not add the bo int pratica to the database. - * - * @param intPraticaId the primary key for the new bo int pratica - * @return the new bo int pratica - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica create( - long intPraticaId); - - /** - * Removes the bo int pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param intPraticaId the primary key of the bo int pratica - * @return the bo int pratica that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica remove( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException; - - public it.tref.liferay.portos.portosimport.model.BoIntPratica updateImpl( - it.tref.liferay.portos.portosimport.model.BoIntPratica boIntPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo int pratica with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException} if it could not be found. - * - * @param intPraticaId the primary key of the bo int pratica - * @return the bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica findByPrimaryKey( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException; - - /** - * Returns the bo int pratica with the primary key or returns null if it could not be found. - * - * @param intPraticaId the primary key of the bo int pratica - * @return the bo int pratica, or null if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByPrimaryKey( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo int praticas. - * - * @return the bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the bo int praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo int praticas. - * - * @return the number of bo int praticas - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoIntPraticaUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoIntPraticaUtil.java deleted file mode 100644 index 0b2f8cb7..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoIntPraticaUtil.java +++ /dev/null @@ -1,1540 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.portosimport.model.BoIntPratica; - -import java.util.List; - -/** - * The persistence utility for the bo int pratica service. This utility wraps {@link BoIntPraticaPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoIntPraticaPersistence - * @see BoIntPraticaPersistenceImpl - * @generated - */ -public class BoIntPraticaUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(BoIntPratica boIntPratica) { - getPersistence().clearCache(boIntPratica); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static BoIntPratica update(BoIntPratica boIntPratica) - throws SystemException { - return getPersistence().update(boIntPratica); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static BoIntPratica update(BoIntPratica boIntPratica, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(boIntPratica, serviceContext); - } - - /** - * Returns all the bo int praticas where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid); - } - - /** - * Returns a range of all the bo int praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end); - } - - /** - * Returns an ordered range of all the bo int praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end, orderByComparator); - } - - /** - * Returns the first bo int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException { - return getPersistence().findByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the first bo int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the last bo int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException { - return getPersistence().findByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the last bo int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the bo int praticas before and after the current bo int pratica in the ordered set where uuid = ?. - * - * @param intPraticaId the primary key of the current bo int pratica - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica[] findByUuid_PrevAndNext( - long intPraticaId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException { - return getPersistence() - .findByUuid_PrevAndNext(intPraticaId, uuid, orderByComparator); - } - - /** - * Removes all the bo int praticas where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid(uuid); - } - - /** - * Returns the number of bo int praticas where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid(uuid); - } - - /** - * Returns the bo int pratica where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException { - return getPersistence().findByUUID_G(uuid, groupId); - } - - /** - * Returns the bo int pratica where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the bo int pratica where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache); - } - - /** - * Removes the bo int pratica where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo int pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException { - return getPersistence().removeByUUID_G(uuid, groupId); - } - - /** - * Returns the number of bo int praticas where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUUID_G(uuid, groupId); - } - - /** - * Returns all the bo int praticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId); - } - - /** - * Returns a range of all the bo int praticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId, start, end); - } - - /** - * Returns an ordered range of all the bo int praticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByUuid_C(uuid, companyId, start, end, orderByComparator); - } - - /** - * Returns the first bo int pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException { - return getPersistence() - .findByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the first bo int pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the last bo int pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException { - return getPersistence() - .findByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the last bo int pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the bo int praticas before and after the current bo int pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param intPraticaId the primary key of the current bo int pratica - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica[] findByUuid_C_PrevAndNext( - long intPraticaId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException { - return getPersistence() - .findByUuid_C_PrevAndNext(intPraticaId, uuid, companyId, - orderByComparator); - } - - /** - * Removes all the bo int praticas where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid_C(uuid, companyId); - } - - /** - * Returns the number of bo int praticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid_C(uuid, companyId); - } - - /** - * Returns the bo int pratica where territorioId = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException} if it could not be found. - * - * @param territorioId the territorio ID - * @return the matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica findByIntPraticaId( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException { - return getPersistence().findByIntPraticaId(territorioId); - } - - /** - * Returns the bo int pratica where territorioId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param territorioId the territorio ID - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByIntPraticaId( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByIntPraticaId(territorioId); - } - - /** - * Returns the bo int pratica where territorioId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param territorioId the territorio ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByIntPraticaId( - long territorioId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByIntPraticaId(territorioId, retrieveFromCache); - } - - /** - * Removes the bo int pratica where territorioId = ? from the database. - * - * @param territorioId the territorio ID - * @return the bo int pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica removeByIntPraticaId( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException { - return getPersistence().removeByIntPraticaId(territorioId); - } - - /** - * Returns the number of bo int praticas where territorioId = ?. - * - * @param territorioId the territorio ID - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static int countByIntPraticaId(long territorioId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByIntPraticaId(territorioId); - } - - /** - * Returns all the bo int praticas where territorioId = ?. - * - * @param territorioId the territorio ID - * @return the matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByTerritorioId( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByTerritorioId(territorioId); - } - - /** - * Returns a range of all the bo int praticas where territorioId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param territorioId the territorio ID - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByTerritorioId( - long territorioId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByTerritorioId(territorioId, start, end); - } - - /** - * Returns an ordered range of all the bo int praticas where territorioId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param territorioId the territorio ID - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByTerritorioId( - long territorioId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByTerritorioId(territorioId, start, end, - orderByComparator); - } - - /** - * Returns the first bo int pratica in the ordered set where territorioId = ?. - * - * @param territorioId the territorio ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica findByTerritorioId_First( - long territorioId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException { - return getPersistence() - .findByTerritorioId_First(territorioId, orderByComparator); - } - - /** - * Returns the first bo int pratica in the ordered set where territorioId = ?. - * - * @param territorioId the territorio ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByTerritorioId_First( - long territorioId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByTerritorioId_First(territorioId, orderByComparator); - } - - /** - * Returns the last bo int pratica in the ordered set where territorioId = ?. - * - * @param territorioId the territorio ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica findByTerritorioId_Last( - long territorioId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException { - return getPersistence() - .findByTerritorioId_Last(territorioId, orderByComparator); - } - - /** - * Returns the last bo int pratica in the ordered set where territorioId = ?. - * - * @param territorioId the territorio ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByTerritorioId_Last( - long territorioId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByTerritorioId_Last(territorioId, orderByComparator); - } - - /** - * Returns the bo int praticas before and after the current bo int pratica in the ordered set where territorioId = ?. - * - * @param intPraticaId the primary key of the current bo int pratica - * @param territorioId the territorio ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica[] findByTerritorioId_PrevAndNext( - long intPraticaId, long territorioId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException { - return getPersistence() - .findByTerritorioId_PrevAndNext(intPraticaId, territorioId, - orderByComparator); - } - - /** - * Removes all the bo int praticas where territorioId = ? from the database. - * - * @param territorioId the territorio ID - * @throws SystemException if a system exception occurred - */ - public static void removeByTerritorioId(long territorioId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByTerritorioId(territorioId); - } - - /** - * Returns the number of bo int praticas where territorioId = ?. - * - * @param territorioId the territorio ID - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static int countByTerritorioId(long territorioId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByTerritorioId(territorioId); - } - - /** - * Returns all the bo int praticas where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @return the matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group( - long companyId, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByC_Group(companyId, groupId); - } - - /** - * Returns a range of all the bo int praticas where companyId = ? and groupId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group( - long companyId, long groupId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByC_Group(companyId, groupId, start, end); - } - - /** - * Returns an ordered range of all the bo int praticas where companyId = ? and groupId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group( - long companyId, long groupId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Group(companyId, groupId, start, end, - orderByComparator); - } - - /** - * Returns the first bo int pratica in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica findByC_Group_First( - long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException { - return getPersistence() - .findByC_Group_First(companyId, groupId, orderByComparator); - } - - /** - * Returns the first bo int pratica in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByC_Group_First( - long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Group_First(companyId, groupId, orderByComparator); - } - - /** - * Returns the last bo int pratica in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica findByC_Group_Last( - long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException { - return getPersistence() - .findByC_Group_Last(companyId, groupId, orderByComparator); - } - - /** - * Returns the last bo int pratica in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByC_Group_Last( - long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Group_Last(companyId, groupId, orderByComparator); - } - - /** - * Returns the bo int praticas before and after the current bo int pratica in the ordered set where companyId = ? and groupId = ?. - * - * @param intPraticaId the primary key of the current bo int pratica - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica[] findByC_Group_PrevAndNext( - long intPraticaId, long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException { - return getPersistence() - .findByC_Group_PrevAndNext(intPraticaId, companyId, groupId, - orderByComparator); - } - - /** - * Removes all the bo int praticas where companyId = ? and groupId = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @throws SystemException if a system exception occurred - */ - public static void removeByC_Group(long companyId, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByC_Group(companyId, groupId); - } - - /** - * Returns the number of bo int praticas where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static int countByC_Group(long companyId, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByC_Group(companyId, groupId); - } - - /** - * Returns all the bo int praticas where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @return the matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByPratica_da_variare( - long territorioId, boolean validata, java.lang.String numeroProgetto, - long variataDa) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByPratica_da_variare(territorioId, validata, - numeroProgetto, variataDa); - } - - /** - * Returns a range of all the bo int praticas where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByPratica_da_variare( - long territorioId, boolean validata, java.lang.String numeroProgetto, - long variataDa, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByPratica_da_variare(territorioId, validata, - numeroProgetto, variataDa, start, end); - } - - /** - * Returns an ordered range of all the bo int praticas where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByPratica_da_variare( - long territorioId, boolean validata, java.lang.String numeroProgetto, - long variataDa, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByPratica_da_variare(territorioId, validata, - numeroProgetto, variataDa, start, end, orderByComparator); - } - - /** - * Returns the first bo int pratica in the ordered set where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica findByPratica_da_variare_First( - long territorioId, boolean validata, java.lang.String numeroProgetto, - long variataDa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException { - return getPersistence() - .findByPratica_da_variare_First(territorioId, validata, - numeroProgetto, variataDa, orderByComparator); - } - - /** - * Returns the first bo int pratica in the ordered set where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByPratica_da_variare_First( - long territorioId, boolean validata, java.lang.String numeroProgetto, - long variataDa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByPratica_da_variare_First(territorioId, validata, - numeroProgetto, variataDa, orderByComparator); - } - - /** - * Returns the last bo int pratica in the ordered set where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica findByPratica_da_variare_Last( - long territorioId, boolean validata, java.lang.String numeroProgetto, - long variataDa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException { - return getPersistence() - .findByPratica_da_variare_Last(territorioId, validata, - numeroProgetto, variataDa, orderByComparator); - } - - /** - * Returns the last bo int pratica in the ordered set where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByPratica_da_variare_Last( - long territorioId, boolean validata, java.lang.String numeroProgetto, - long variataDa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByPratica_da_variare_Last(territorioId, validata, - numeroProgetto, variataDa, orderByComparator); - } - - /** - * Returns the bo int praticas before and after the current bo int pratica in the ordered set where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param intPraticaId the primary key of the current bo int pratica - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica[] findByPratica_da_variare_PrevAndNext( - long intPraticaId, long territorioId, boolean validata, - java.lang.String numeroProgetto, long variataDa, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException { - return getPersistence() - .findByPratica_da_variare_PrevAndNext(intPraticaId, - territorioId, validata, numeroProgetto, variataDa, orderByComparator); - } - - /** - * Removes all the bo int praticas where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ? from the database. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @throws SystemException if a system exception occurred - */ - public static void removeByPratica_da_variare(long territorioId, - boolean validata, java.lang.String numeroProgetto, long variataDa) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeByPratica_da_variare(territorioId, validata, numeroProgetto, - variataDa); - } - - /** - * Returns the number of bo int praticas where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static int countByPratica_da_variare(long territorioId, - boolean validata, java.lang.String numeroProgetto, long variataDa) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByPratica_da_variare(territorioId, validata, - numeroProgetto, variataDa); - } - - /** - * Returns all the bo int praticas where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @return the matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByTerritorio_Progetto_Variante_Validata( - long territorioId, boolean validata, long varianteNumero, - java.lang.String numeroProgetto) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByTerritorio_Progetto_Variante_Validata(territorioId, - validata, varianteNumero, numeroProgetto); - } - - /** - * Returns a range of all the bo int praticas where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByTerritorio_Progetto_Variante_Validata( - long territorioId, boolean validata, long varianteNumero, - java.lang.String numeroProgetto, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByTerritorio_Progetto_Variante_Validata(territorioId, - validata, varianteNumero, numeroProgetto, start, end); - } - - /** - * Returns an ordered range of all the bo int praticas where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByTerritorio_Progetto_Variante_Validata( - long territorioId, boolean validata, long varianteNumero, - java.lang.String numeroProgetto, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByTerritorio_Progetto_Variante_Validata(territorioId, - validata, varianteNumero, numeroProgetto, start, end, - orderByComparator); - } - - /** - * Returns the first bo int pratica in the ordered set where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica findByTerritorio_Progetto_Variante_Validata_First( - long territorioId, boolean validata, long varianteNumero, - java.lang.String numeroProgetto, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException { - return getPersistence() - .findByTerritorio_Progetto_Variante_Validata_First(territorioId, - validata, varianteNumero, numeroProgetto, orderByComparator); - } - - /** - * Returns the first bo int pratica in the ordered set where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByTerritorio_Progetto_Variante_Validata_First( - long territorioId, boolean validata, long varianteNumero, - java.lang.String numeroProgetto, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByTerritorio_Progetto_Variante_Validata_First(territorioId, - validata, varianteNumero, numeroProgetto, orderByComparator); - } - - /** - * Returns the last bo int pratica in the ordered set where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica findByTerritorio_Progetto_Variante_Validata_Last( - long territorioId, boolean validata, long varianteNumero, - java.lang.String numeroProgetto, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException { - return getPersistence() - .findByTerritorio_Progetto_Variante_Validata_Last(territorioId, - validata, varianteNumero, numeroProgetto, orderByComparator); - } - - /** - * Returns the last bo int pratica in the ordered set where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByTerritorio_Progetto_Variante_Validata_Last( - long territorioId, boolean validata, long varianteNumero, - java.lang.String numeroProgetto, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByTerritorio_Progetto_Variante_Validata_Last(territorioId, - validata, varianteNumero, numeroProgetto, orderByComparator); - } - - /** - * Returns the bo int praticas before and after the current bo int pratica in the ordered set where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param intPraticaId the primary key of the current bo int pratica - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica[] findByTerritorio_Progetto_Variante_Validata_PrevAndNext( - long intPraticaId, long territorioId, boolean validata, - long varianteNumero, java.lang.String numeroProgetto, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException { - return getPersistence() - .findByTerritorio_Progetto_Variante_Validata_PrevAndNext(intPraticaId, - territorioId, validata, varianteNumero, numeroProgetto, - orderByComparator); - } - - /** - * Removes all the bo int praticas where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ? from the database. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @throws SystemException if a system exception occurred - */ - public static void removeByTerritorio_Progetto_Variante_Validata( - long territorioId, boolean validata, long varianteNumero, - java.lang.String numeroProgetto) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeByTerritorio_Progetto_Variante_Validata(territorioId, - validata, varianteNumero, numeroProgetto); - } - - /** - * Returns the number of bo int praticas where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - public static int countByTerritorio_Progetto_Variante_Validata( - long territorioId, boolean validata, long varianteNumero, - java.lang.String numeroProgetto) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByTerritorio_Progetto_Variante_Validata(territorioId, - validata, varianteNumero, numeroProgetto); - } - - /** - * Caches the bo int pratica in the entity cache if it is enabled. - * - * @param boIntPratica the bo int pratica - */ - public static void cacheResult( - it.tref.liferay.portos.portosimport.model.BoIntPratica boIntPratica) { - getPersistence().cacheResult(boIntPratica); - } - - /** - * Caches the bo int praticas in the entity cache if it is enabled. - * - * @param boIntPraticas the bo int praticas - */ - public static void cacheResult( - java.util.List boIntPraticas) { - getPersistence().cacheResult(boIntPraticas); - } - - /** - * Creates a new bo int pratica with the primary key. Does not add the bo int pratica to the database. - * - * @param intPraticaId the primary key for the new bo int pratica - * @return the new bo int pratica - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica create( - long intPraticaId) { - return getPersistence().create(intPraticaId); - } - - /** - * Removes the bo int pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param intPraticaId the primary key of the bo int pratica - * @return the bo int pratica that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica remove( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException { - return getPersistence().remove(intPraticaId); - } - - public static it.tref.liferay.portos.portosimport.model.BoIntPratica updateImpl( - it.tref.liferay.portos.portosimport.model.BoIntPratica boIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(boIntPratica); - } - - /** - * Returns the bo int pratica with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException} if it could not be found. - * - * @param intPraticaId the primary key of the bo int pratica - * @return the bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica findByPrimaryKey( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException { - return getPersistence().findByPrimaryKey(intPraticaId); - } - - /** - * Returns the bo int pratica with the primary key or returns null if it could not be found. - * - * @param intPraticaId the primary key of the bo int pratica - * @return the bo int pratica, or null if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoIntPratica fetchByPrimaryKey( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(intPraticaId); - } - - /** - * Returns all the bo int praticas. - * - * @return the bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the bo int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the bo int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the bo int praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of bo int praticas. - * - * @return the number of bo int praticas - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static BoIntPraticaPersistence getPersistence() { - if (_persistence == null) { - _persistence = (BoIntPraticaPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.portosimport.service.ClpSerializer.getServletContextName(), - BoIntPraticaPersistence.class.getName()); - - ReferenceRegistry.registerReference(BoIntPraticaUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(BoIntPraticaPersistence persistence) { - } - - private static BoIntPraticaPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoProblemiPraticaActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoProblemiPraticaActionableDynamicQuery.java deleted file mode 100644 index 80f9abe0..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoProblemiPraticaActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.BoProblemiPratica; -import it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalServiceUtil; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public abstract class BoProblemiPraticaActionableDynamicQuery - extends BaseActionableDynamicQuery { - public BoProblemiPraticaActionableDynamicQuery() throws SystemException { - setBaseLocalService(BoProblemiPraticaLocalServiceUtil.getService()); - setClass(BoProblemiPratica.class); - - setClassLoader(it.tref.liferay.portos.portosimport.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("problemiPraticaId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoProblemiPraticaPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoProblemiPraticaPersistence.java deleted file mode 100644 index e90c5cec..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoProblemiPraticaPersistence.java +++ /dev/null @@ -1,464 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.portosimport.model.BoProblemiPratica; - -/** - * The persistence interface for the bo problemi pratica service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoProblemiPraticaPersistenceImpl - * @see BoProblemiPraticaUtil - * @generated - */ -public interface BoProblemiPraticaPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoProblemiPraticaUtil} to access the bo problemi pratica persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns all the bo problemi praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @return the matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group_DettPratica( - long companyId, long groupId, long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo problemi praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @return the range of matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group_DettPratica( - long companyId, long groupId, long dettPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo problemi praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group_DettPratica( - long companyId, long groupId, long dettPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo problemi pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo problemi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica findByC_Group_DettPratica_First( - long companyId, long groupId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException; - - /** - * Returns the first bo problemi pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo problemi pratica, or null if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica fetchByC_Group_DettPratica_First( - long companyId, long groupId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo problemi pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo problemi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica findByC_Group_DettPratica_Last( - long companyId, long groupId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException; - - /** - * Returns the last bo problemi pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo problemi pratica, or null if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica fetchByC_Group_DettPratica_Last( - long companyId, long groupId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo problemi praticas before and after the current bo problemi pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param problemiPraticaId the primary key of the current bo problemi pratica - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo problemi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica[] findByC_Group_DettPratica_PrevAndNext( - long problemiPraticaId, long companyId, long groupId, - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException; - - /** - * Removes all the bo problemi praticas where companyId = ? and groupId = ? and dettPraticaId = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - public void removeByC_Group_DettPratica(long companyId, long groupId, - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo problemi praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public int countByC_Group_DettPratica(long companyId, long groupId, - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo problemi praticas where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo problemi praticas where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @return the range of matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica( - long dettPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo problemi praticas where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica( - long dettPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo problemi pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo problemi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica findByDettPratica_First( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException; - - /** - * Returns the first bo problemi pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo problemi pratica, or null if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica fetchByDettPratica_First( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo problemi pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo problemi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica findByDettPratica_Last( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException; - - /** - * Returns the last bo problemi pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo problemi pratica, or null if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica fetchByDettPratica_Last( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo problemi praticas before and after the current bo problemi pratica in the ordered set where dettPraticaId = ?. - * - * @param problemiPraticaId the primary key of the current bo problemi pratica - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo problemi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica[] findByDettPratica_PrevAndNext( - long problemiPraticaId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException; - - /** - * Removes all the bo problemi praticas where dettPraticaId = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - public void removeByDettPratica(long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo problemi praticas where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public int countByDettPratica(long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the bo problemi pratica in the entity cache if it is enabled. - * - * @param boProblemiPratica the bo problemi pratica - */ - public void cacheResult( - it.tref.liferay.portos.portosimport.model.BoProblemiPratica boProblemiPratica); - - /** - * Caches the bo problemi praticas in the entity cache if it is enabled. - * - * @param boProblemiPraticas the bo problemi praticas - */ - public void cacheResult( - java.util.List boProblemiPraticas); - - /** - * Creates a new bo problemi pratica with the primary key. Does not add the bo problemi pratica to the database. - * - * @param problemiPraticaId the primary key for the new bo problemi pratica - * @return the new bo problemi pratica - */ - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica create( - long problemiPraticaId); - - /** - * Removes the bo problemi pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param problemiPraticaId the primary key of the bo problemi pratica - * @return the bo problemi pratica that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica remove( - long problemiPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException; - - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica updateImpl( - it.tref.liferay.portos.portosimport.model.BoProblemiPratica boProblemiPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo problemi pratica with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException} if it could not be found. - * - * @param problemiPraticaId the primary key of the bo problemi pratica - * @return the bo problemi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica findByPrimaryKey( - long problemiPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException; - - /** - * Returns the bo problemi pratica with the primary key or returns null if it could not be found. - * - * @param problemiPraticaId the primary key of the bo problemi pratica - * @return the bo problemi pratica, or null if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoProblemiPratica fetchByPrimaryKey( - long problemiPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo problemi praticas. - * - * @return the bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo problemi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @return the range of bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo problemi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the bo problemi praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo problemi praticas. - * - * @return the number of bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoProblemiPraticaUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoProblemiPraticaUtil.java deleted file mode 100644 index c6d2ab68..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoProblemiPraticaUtil.java +++ /dev/null @@ -1,647 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.portosimport.model.BoProblemiPratica; - -import java.util.List; - -/** - * The persistence utility for the bo problemi pratica service. This utility wraps {@link BoProblemiPraticaPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoProblemiPraticaPersistence - * @see BoProblemiPraticaPersistenceImpl - * @generated - */ -public class BoProblemiPraticaUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(BoProblemiPratica boProblemiPratica) { - getPersistence().clearCache(boProblemiPratica); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static BoProblemiPratica update(BoProblemiPratica boProblemiPratica) - throws SystemException { - return getPersistence().update(boProblemiPratica); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static BoProblemiPratica update( - BoProblemiPratica boProblemiPratica, ServiceContext serviceContext) - throws SystemException { - return getPersistence().update(boProblemiPratica, serviceContext); - } - - /** - * Returns all the bo problemi praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @return the matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group_DettPratica( - long companyId, long groupId, long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Group_DettPratica(companyId, groupId, dettPraticaId); - } - - /** - * Returns a range of all the bo problemi praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @return the range of matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group_DettPratica( - long companyId, long groupId, long dettPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Group_DettPratica(companyId, groupId, - dettPraticaId, start, end); - } - - /** - * Returns an ordered range of all the bo problemi praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group_DettPratica( - long companyId, long groupId, long dettPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Group_DettPratica(companyId, groupId, - dettPraticaId, start, end, orderByComparator); - } - - /** - * Returns the first bo problemi pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo problemi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoProblemiPratica findByC_Group_DettPratica_First( - long companyId, long groupId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException { - return getPersistence() - .findByC_Group_DettPratica_First(companyId, groupId, - dettPraticaId, orderByComparator); - } - - /** - * Returns the first bo problemi pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo problemi pratica, or null if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoProblemiPratica fetchByC_Group_DettPratica_First( - long companyId, long groupId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Group_DettPratica_First(companyId, groupId, - dettPraticaId, orderByComparator); - } - - /** - * Returns the last bo problemi pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo problemi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoProblemiPratica findByC_Group_DettPratica_Last( - long companyId, long groupId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException { - return getPersistence() - .findByC_Group_DettPratica_Last(companyId, groupId, - dettPraticaId, orderByComparator); - } - - /** - * Returns the last bo problemi pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo problemi pratica, or null if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoProblemiPratica fetchByC_Group_DettPratica_Last( - long companyId, long groupId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Group_DettPratica_Last(companyId, groupId, - dettPraticaId, orderByComparator); - } - - /** - * Returns the bo problemi praticas before and after the current bo problemi pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param problemiPraticaId the primary key of the current bo problemi pratica - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo problemi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoProblemiPratica[] findByC_Group_DettPratica_PrevAndNext( - long problemiPraticaId, long companyId, long groupId, - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException { - return getPersistence() - .findByC_Group_DettPratica_PrevAndNext(problemiPraticaId, - companyId, groupId, dettPraticaId, orderByComparator); - } - - /** - * Removes all the bo problemi praticas where companyId = ? and groupId = ? and dettPraticaId = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - public static void removeByC_Group_DettPratica(long companyId, - long groupId, long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeByC_Group_DettPratica(companyId, groupId, dettPraticaId); - } - - /** - * Returns the number of bo problemi praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public static int countByC_Group_DettPratica(long companyId, long groupId, - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByC_Group_DettPratica(companyId, groupId, dettPraticaId); - } - - /** - * Returns all the bo problemi praticas where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByDettPratica(dettPraticaId); - } - - /** - * Returns a range of all the bo problemi praticas where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @return the range of matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica( - long dettPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByDettPratica(dettPraticaId, start, end); - } - - /** - * Returns an ordered range of all the bo problemi praticas where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica( - long dettPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica(dettPraticaId, start, end, - orderByComparator); - } - - /** - * Returns the first bo problemi pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo problemi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoProblemiPratica findByDettPratica_First( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException { - return getPersistence() - .findByDettPratica_First(dettPraticaId, orderByComparator); - } - - /** - * Returns the first bo problemi pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo problemi pratica, or null if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoProblemiPratica fetchByDettPratica_First( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPratica_First(dettPraticaId, orderByComparator); - } - - /** - * Returns the last bo problemi pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo problemi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoProblemiPratica findByDettPratica_Last( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException { - return getPersistence() - .findByDettPratica_Last(dettPraticaId, orderByComparator); - } - - /** - * Returns the last bo problemi pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo problemi pratica, or null if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoProblemiPratica fetchByDettPratica_Last( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPratica_Last(dettPraticaId, orderByComparator); - } - - /** - * Returns the bo problemi praticas before and after the current bo problemi pratica in the ordered set where dettPraticaId = ?. - * - * @param problemiPraticaId the primary key of the current bo problemi pratica - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo problemi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoProblemiPratica[] findByDettPratica_PrevAndNext( - long problemiPraticaId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException { - return getPersistence() - .findByDettPratica_PrevAndNext(problemiPraticaId, - dettPraticaId, orderByComparator); - } - - /** - * Removes all the bo problemi praticas where dettPraticaId = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - public static void removeByDettPratica(long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByDettPratica(dettPraticaId); - } - - /** - * Returns the number of bo problemi praticas where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public static int countByDettPratica(long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByDettPratica(dettPraticaId); - } - - /** - * Caches the bo problemi pratica in the entity cache if it is enabled. - * - * @param boProblemiPratica the bo problemi pratica - */ - public static void cacheResult( - it.tref.liferay.portos.portosimport.model.BoProblemiPratica boProblemiPratica) { - getPersistence().cacheResult(boProblemiPratica); - } - - /** - * Caches the bo problemi praticas in the entity cache if it is enabled. - * - * @param boProblemiPraticas the bo problemi praticas - */ - public static void cacheResult( - java.util.List boProblemiPraticas) { - getPersistence().cacheResult(boProblemiPraticas); - } - - /** - * Creates a new bo problemi pratica with the primary key. Does not add the bo problemi pratica to the database. - * - * @param problemiPraticaId the primary key for the new bo problemi pratica - * @return the new bo problemi pratica - */ - public static it.tref.liferay.portos.portosimport.model.BoProblemiPratica create( - long problemiPraticaId) { - return getPersistence().create(problemiPraticaId); - } - - /** - * Removes the bo problemi pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param problemiPraticaId the primary key of the bo problemi pratica - * @return the bo problemi pratica that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoProblemiPratica remove( - long problemiPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException { - return getPersistence().remove(problemiPraticaId); - } - - public static it.tref.liferay.portos.portosimport.model.BoProblemiPratica updateImpl( - it.tref.liferay.portos.portosimport.model.BoProblemiPratica boProblemiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(boProblemiPratica); - } - - /** - * Returns the bo problemi pratica with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException} if it could not be found. - * - * @param problemiPraticaId the primary key of the bo problemi pratica - * @return the bo problemi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoProblemiPratica findByPrimaryKey( - long problemiPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException { - return getPersistence().findByPrimaryKey(problemiPraticaId); - } - - /** - * Returns the bo problemi pratica with the primary key or returns null if it could not be found. - * - * @param problemiPraticaId the primary key of the bo problemi pratica - * @return the bo problemi pratica, or null if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoProblemiPratica fetchByPrimaryKey( - long problemiPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(problemiPraticaId); - } - - /** - * Returns all the bo problemi praticas. - * - * @return the bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the bo problemi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @return the range of bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the bo problemi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the bo problemi praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of bo problemi praticas. - * - * @return the number of bo problemi praticas - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static BoProblemiPraticaPersistence getPersistence() { - if (_persistence == null) { - _persistence = (BoProblemiPraticaPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.portosimport.service.ClpSerializer.getServletContextName(), - BoProblemiPraticaPersistence.class.getName()); - - ReferenceRegistry.registerReference(BoProblemiPraticaUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(BoProblemiPraticaPersistence persistence) { - } - - private static BoProblemiPraticaPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoRelLeggiPraticaActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoRelLeggiPraticaActionableDynamicQuery.java deleted file mode 100644 index 4080a831..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoRelLeggiPraticaActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica; -import it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalServiceUtil; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public abstract class BoRelLeggiPraticaActionableDynamicQuery - extends BaseActionableDynamicQuery { - public BoRelLeggiPraticaActionableDynamicQuery() throws SystemException { - setBaseLocalService(BoRelLeggiPraticaLocalServiceUtil.getService()); - setClass(BoRelLeggiPratica.class); - - setClassLoader(it.tref.liferay.portos.portosimport.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("primaryKey.intPraticaId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoRelLeggiPraticaPK.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoRelLeggiPraticaPK.java deleted file mode 100644 index 110198ef..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoRelLeggiPraticaPK.java +++ /dev/null @@ -1,139 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; - -import java.io.Serializable; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoRelLeggiPraticaPK implements Comparable, - Serializable { - public long intPraticaId; - public long artLeggeId; - - public BoRelLeggiPraticaPK() { - } - - public BoRelLeggiPraticaPK(long intPraticaId, long artLeggeId) { - this.intPraticaId = intPraticaId; - this.artLeggeId = artLeggeId; - } - - public long getIntPraticaId() { - return intPraticaId; - } - - public void setIntPraticaId(long intPraticaId) { - this.intPraticaId = intPraticaId; - } - - public long getArtLeggeId() { - return artLeggeId; - } - - public void setArtLeggeId(long artLeggeId) { - this.artLeggeId = artLeggeId; - } - - @Override - public int compareTo(BoRelLeggiPraticaPK pk) { - if (pk == null) { - return -1; - } - - int value = 0; - - if (intPraticaId < pk.intPraticaId) { - value = -1; - } - else if (intPraticaId > pk.intPraticaId) { - value = 1; - } - else { - value = 0; - } - - if (value != 0) { - return value; - } - - if (artLeggeId < pk.artLeggeId) { - value = -1; - } - else if (artLeggeId > pk.artLeggeId) { - value = 1; - } - else { - value = 0; - } - - if (value != 0) { - return value; - } - - return 0; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoRelLeggiPraticaPK)) { - return false; - } - - BoRelLeggiPraticaPK pk = (BoRelLeggiPraticaPK)obj; - - if ((intPraticaId == pk.intPraticaId) && (artLeggeId == pk.artLeggeId)) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (String.valueOf(intPraticaId) + String.valueOf(artLeggeId)).hashCode(); - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(10); - - sb.append(StringPool.OPEN_CURLY_BRACE); - - sb.append("intPraticaId"); - sb.append(StringPool.EQUAL); - sb.append(intPraticaId); - - sb.append(StringPool.COMMA); - sb.append(StringPool.SPACE); - sb.append("artLeggeId"); - sb.append(StringPool.EQUAL); - sb.append(artLeggeId); - - sb.append(StringPool.CLOSE_CURLY_BRACE); - - return sb.toString(); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoRelLeggiPraticaPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoRelLeggiPraticaPersistence.java deleted file mode 100644 index ba193aaa..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoRelLeggiPraticaPersistence.java +++ /dev/null @@ -1,443 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica; - -/** - * The persistence interface for the bo rel leggi pratica service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoRelLeggiPraticaPersistenceImpl - * @see BoRelLeggiPraticaUtil - * @generated - */ -public interface BoRelLeggiPraticaPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoRelLeggiPraticaUtil} to access the bo rel leggi pratica persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns all the bo rel leggi praticas where artLeggeId = ?. - * - * @param artLeggeId the art legge ID - * @return the matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByArtLeggeId( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo rel leggi praticas where artLeggeId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param artLeggeId the art legge ID - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @return the range of matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByArtLeggeId( - long artLeggeId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo rel leggi praticas where artLeggeId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param artLeggeId the art legge ID - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByArtLeggeId( - long artLeggeId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo rel leggi pratica in the ordered set where artLeggeId = ?. - * - * @param artLeggeId the art legge ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo rel leggi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica findByArtLeggeId_First( - long artLeggeId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException; - - /** - * Returns the first bo rel leggi pratica in the ordered set where artLeggeId = ?. - * - * @param artLeggeId the art legge ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo rel leggi pratica, or null if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica fetchByArtLeggeId_First( - long artLeggeId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo rel leggi pratica in the ordered set where artLeggeId = ?. - * - * @param artLeggeId the art legge ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo rel leggi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica findByArtLeggeId_Last( - long artLeggeId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException; - - /** - * Returns the last bo rel leggi pratica in the ordered set where artLeggeId = ?. - * - * @param artLeggeId the art legge ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo rel leggi pratica, or null if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica fetchByArtLeggeId_Last( - long artLeggeId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo rel leggi praticas before and after the current bo rel leggi pratica in the ordered set where artLeggeId = ?. - * - * @param boRelLeggiPraticaPK the primary key of the current bo rel leggi pratica - * @param artLeggeId the art legge ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo rel leggi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica[] findByArtLeggeId_PrevAndNext( - it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK boRelLeggiPraticaPK, - long artLeggeId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException; - - /** - * Removes all the bo rel leggi praticas where artLeggeId = ? from the database. - * - * @param artLeggeId the art legge ID - * @throws SystemException if a system exception occurred - */ - public void removeByArtLeggeId(long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo rel leggi praticas where artLeggeId = ?. - * - * @param artLeggeId the art legge ID - * @return the number of matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public int countByArtLeggeId(long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo rel leggi praticas where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @return the matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByIntPraticaId( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo rel leggi praticas where intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @return the range of matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByIntPraticaId( - long intPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo rel leggi praticas where intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByIntPraticaId( - long intPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo rel leggi pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo rel leggi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica findByIntPraticaId_First( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException; - - /** - * Returns the first bo rel leggi pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo rel leggi pratica, or null if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica fetchByIntPraticaId_First( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo rel leggi pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo rel leggi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica findByIntPraticaId_Last( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException; - - /** - * Returns the last bo rel leggi pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo rel leggi pratica, or null if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica fetchByIntPraticaId_Last( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo rel leggi praticas before and after the current bo rel leggi pratica in the ordered set where intPraticaId = ?. - * - * @param boRelLeggiPraticaPK the primary key of the current bo rel leggi pratica - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo rel leggi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica[] findByIntPraticaId_PrevAndNext( - it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK boRelLeggiPraticaPK, - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException; - - /** - * Removes all the bo rel leggi praticas where intPraticaId = ? from the database. - * - * @param intPraticaId the int pratica ID - * @throws SystemException if a system exception occurred - */ - public void removeByIntPraticaId(long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo rel leggi praticas where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @return the number of matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public int countByIntPraticaId(long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the bo rel leggi pratica in the entity cache if it is enabled. - * - * @param boRelLeggiPratica the bo rel leggi pratica - */ - public void cacheResult( - it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica boRelLeggiPratica); - - /** - * Caches the bo rel leggi praticas in the entity cache if it is enabled. - * - * @param boRelLeggiPraticas the bo rel leggi praticas - */ - public void cacheResult( - java.util.List boRelLeggiPraticas); - - /** - * Creates a new bo rel leggi pratica with the primary key. Does not add the bo rel leggi pratica to the database. - * - * @param boRelLeggiPraticaPK the primary key for the new bo rel leggi pratica - * @return the new bo rel leggi pratica - */ - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica create( - it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK boRelLeggiPraticaPK); - - /** - * Removes the bo rel leggi pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param boRelLeggiPraticaPK the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica remove( - it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK boRelLeggiPraticaPK) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException; - - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica updateImpl( - it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica boRelLeggiPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo rel leggi pratica with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException} if it could not be found. - * - * @param boRelLeggiPraticaPK the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica findByPrimaryKey( - it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK boRelLeggiPraticaPK) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException; - - /** - * Returns the bo rel leggi pratica with the primary key or returns null if it could not be found. - * - * @param boRelLeggiPraticaPK the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica, or null if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica fetchByPrimaryKey( - it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK boRelLeggiPraticaPK) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo rel leggi praticas. - * - * @return the bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo rel leggi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @return the range of bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo rel leggi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the bo rel leggi praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo rel leggi praticas. - * - * @return the number of bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoRelLeggiPraticaUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoRelLeggiPraticaUtil.java deleted file mode 100644 index d10a9ac1..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoRelLeggiPraticaUtil.java +++ /dev/null @@ -1,616 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica; - -import java.util.List; - -/** - * The persistence utility for the bo rel leggi pratica service. This utility wraps {@link BoRelLeggiPraticaPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoRelLeggiPraticaPersistence - * @see BoRelLeggiPraticaPersistenceImpl - * @generated - */ -public class BoRelLeggiPraticaUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(BoRelLeggiPratica boRelLeggiPratica) { - getPersistence().clearCache(boRelLeggiPratica); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static BoRelLeggiPratica update(BoRelLeggiPratica boRelLeggiPratica) - throws SystemException { - return getPersistence().update(boRelLeggiPratica); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static BoRelLeggiPratica update( - BoRelLeggiPratica boRelLeggiPratica, ServiceContext serviceContext) - throws SystemException { - return getPersistence().update(boRelLeggiPratica, serviceContext); - } - - /** - * Returns all the bo rel leggi praticas where artLeggeId = ?. - * - * @param artLeggeId the art legge ID - * @return the matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByArtLeggeId( - long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByArtLeggeId(artLeggeId); - } - - /** - * Returns a range of all the bo rel leggi praticas where artLeggeId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param artLeggeId the art legge ID - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @return the range of matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByArtLeggeId( - long artLeggeId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByArtLeggeId(artLeggeId, start, end); - } - - /** - * Returns an ordered range of all the bo rel leggi praticas where artLeggeId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param artLeggeId the art legge ID - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByArtLeggeId( - long artLeggeId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByArtLeggeId(artLeggeId, start, end, orderByComparator); - } - - /** - * Returns the first bo rel leggi pratica in the ordered set where artLeggeId = ?. - * - * @param artLeggeId the art legge ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo rel leggi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica findByArtLeggeId_First( - long artLeggeId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException { - return getPersistence() - .findByArtLeggeId_First(artLeggeId, orderByComparator); - } - - /** - * Returns the first bo rel leggi pratica in the ordered set where artLeggeId = ?. - * - * @param artLeggeId the art legge ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo rel leggi pratica, or null if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica fetchByArtLeggeId_First( - long artLeggeId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByArtLeggeId_First(artLeggeId, orderByComparator); - } - - /** - * Returns the last bo rel leggi pratica in the ordered set where artLeggeId = ?. - * - * @param artLeggeId the art legge ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo rel leggi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica findByArtLeggeId_Last( - long artLeggeId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException { - return getPersistence() - .findByArtLeggeId_Last(artLeggeId, orderByComparator); - } - - /** - * Returns the last bo rel leggi pratica in the ordered set where artLeggeId = ?. - * - * @param artLeggeId the art legge ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo rel leggi pratica, or null if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica fetchByArtLeggeId_Last( - long artLeggeId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByArtLeggeId_Last(artLeggeId, orderByComparator); - } - - /** - * Returns the bo rel leggi praticas before and after the current bo rel leggi pratica in the ordered set where artLeggeId = ?. - * - * @param boRelLeggiPraticaPK the primary key of the current bo rel leggi pratica - * @param artLeggeId the art legge ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo rel leggi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica[] findByArtLeggeId_PrevAndNext( - it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK boRelLeggiPraticaPK, - long artLeggeId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException { - return getPersistence() - .findByArtLeggeId_PrevAndNext(boRelLeggiPraticaPK, - artLeggeId, orderByComparator); - } - - /** - * Removes all the bo rel leggi praticas where artLeggeId = ? from the database. - * - * @param artLeggeId the art legge ID - * @throws SystemException if a system exception occurred - */ - public static void removeByArtLeggeId(long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByArtLeggeId(artLeggeId); - } - - /** - * Returns the number of bo rel leggi praticas where artLeggeId = ?. - * - * @param artLeggeId the art legge ID - * @return the number of matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public static int countByArtLeggeId(long artLeggeId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByArtLeggeId(artLeggeId); - } - - /** - * Returns all the bo rel leggi praticas where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @return the matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByIntPraticaId( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByIntPraticaId(intPraticaId); - } - - /** - * Returns a range of all the bo rel leggi praticas where intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @return the range of matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByIntPraticaId( - long intPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByIntPraticaId(intPraticaId, start, end); - } - - /** - * Returns an ordered range of all the bo rel leggi praticas where intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByIntPraticaId( - long intPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByIntPraticaId(intPraticaId, start, end, - orderByComparator); - } - - /** - * Returns the first bo rel leggi pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo rel leggi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica findByIntPraticaId_First( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException { - return getPersistence() - .findByIntPraticaId_First(intPraticaId, orderByComparator); - } - - /** - * Returns the first bo rel leggi pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo rel leggi pratica, or null if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica fetchByIntPraticaId_First( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByIntPraticaId_First(intPraticaId, orderByComparator); - } - - /** - * Returns the last bo rel leggi pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo rel leggi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica findByIntPraticaId_Last( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException { - return getPersistence() - .findByIntPraticaId_Last(intPraticaId, orderByComparator); - } - - /** - * Returns the last bo rel leggi pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo rel leggi pratica, or null if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica fetchByIntPraticaId_Last( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByIntPraticaId_Last(intPraticaId, orderByComparator); - } - - /** - * Returns the bo rel leggi praticas before and after the current bo rel leggi pratica in the ordered set where intPraticaId = ?. - * - * @param boRelLeggiPraticaPK the primary key of the current bo rel leggi pratica - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo rel leggi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica[] findByIntPraticaId_PrevAndNext( - it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK boRelLeggiPraticaPK, - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException { - return getPersistence() - .findByIntPraticaId_PrevAndNext(boRelLeggiPraticaPK, - intPraticaId, orderByComparator); - } - - /** - * Removes all the bo rel leggi praticas where intPraticaId = ? from the database. - * - * @param intPraticaId the int pratica ID - * @throws SystemException if a system exception occurred - */ - public static void removeByIntPraticaId(long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByIntPraticaId(intPraticaId); - } - - /** - * Returns the number of bo rel leggi praticas where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @return the number of matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public static int countByIntPraticaId(long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByIntPraticaId(intPraticaId); - } - - /** - * Caches the bo rel leggi pratica in the entity cache if it is enabled. - * - * @param boRelLeggiPratica the bo rel leggi pratica - */ - public static void cacheResult( - it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica boRelLeggiPratica) { - getPersistence().cacheResult(boRelLeggiPratica); - } - - /** - * Caches the bo rel leggi praticas in the entity cache if it is enabled. - * - * @param boRelLeggiPraticas the bo rel leggi praticas - */ - public static void cacheResult( - java.util.List boRelLeggiPraticas) { - getPersistence().cacheResult(boRelLeggiPraticas); - } - - /** - * Creates a new bo rel leggi pratica with the primary key. Does not add the bo rel leggi pratica to the database. - * - * @param boRelLeggiPraticaPK the primary key for the new bo rel leggi pratica - * @return the new bo rel leggi pratica - */ - public static it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica create( - it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK boRelLeggiPraticaPK) { - return getPersistence().create(boRelLeggiPraticaPK); - } - - /** - * Removes the bo rel leggi pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param boRelLeggiPraticaPK the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica remove( - it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK boRelLeggiPraticaPK) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException { - return getPersistence().remove(boRelLeggiPraticaPK); - } - - public static it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica updateImpl( - it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica boRelLeggiPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(boRelLeggiPratica); - } - - /** - * Returns the bo rel leggi pratica with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException} if it could not be found. - * - * @param boRelLeggiPraticaPK the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica findByPrimaryKey( - it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK boRelLeggiPraticaPK) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException { - return getPersistence().findByPrimaryKey(boRelLeggiPraticaPK); - } - - /** - * Returns the bo rel leggi pratica with the primary key or returns null if it could not be found. - * - * @param boRelLeggiPraticaPK the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica, or null if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica fetchByPrimaryKey( - it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK boRelLeggiPraticaPK) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(boRelLeggiPraticaPK); - } - - /** - * Returns all the bo rel leggi praticas. - * - * @return the bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the bo rel leggi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @return the range of bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the bo rel leggi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the bo rel leggi praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of bo rel leggi praticas. - * - * @return the number of bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static BoRelLeggiPraticaPersistence getPersistence() { - if (_persistence == null) { - _persistence = (BoRelLeggiPraticaPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.portosimport.service.ClpSerializer.getServletContextName(), - BoRelLeggiPraticaPersistence.class.getName()); - - ReferenceRegistry.registerReference(BoRelLeggiPraticaUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(BoRelLeggiPraticaPersistence persistence) { - } - - private static BoRelLeggiPraticaPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoSistemaCostruttivoActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoSistemaCostruttivoActionableDynamicQuery.java deleted file mode 100644 index 44b43aae..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoSistemaCostruttivoActionableDynamicQuery.java +++ /dev/null @@ -1,38 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo; -import it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalServiceUtil; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public abstract class BoSistemaCostruttivoActionableDynamicQuery - extends BaseActionableDynamicQuery { - public BoSistemaCostruttivoActionableDynamicQuery() - throws SystemException { - setBaseLocalService(BoSistemaCostruttivoLocalServiceUtil.getService()); - setClass(BoSistemaCostruttivo.class); - - setClassLoader(it.tref.liferay.portos.portosimport.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("sistemaCostruttivoId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoSistemaCostruttivoExportActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoSistemaCostruttivoExportActionableDynamicQuery.java deleted file mode 100644 index 18690337..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoSistemaCostruttivoExportActionableDynamicQuery.java +++ /dev/null @@ -1,85 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.ExportImportHelperUtil; -import com.liferay.portal.kernel.lar.ManifestSummary; -import com.liferay.portal.kernel.lar.PortletDataContext; -import com.liferay.portal.kernel.lar.StagedModelDataHandlerUtil; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoSistemaCostruttivoExportActionableDynamicQuery - extends BoSistemaCostruttivoActionableDynamicQuery { - public BoSistemaCostruttivoExportActionableDynamicQuery( - PortletDataContext portletDataContext) throws SystemException { - _portletDataContext = portletDataContext; - - setCompanyId(_portletDataContext.getCompanyId()); - - setGroupId(_portletDataContext.getScopeGroupId()); - } - - @Override - public long performCount() throws PortalException, SystemException { - ManifestSummary manifestSummary = _portletDataContext.getManifestSummary(); - - StagedModelType stagedModelType = getStagedModelType(); - - long modelAdditionCount = super.performCount(); - - manifestSummary.addModelAdditionCount(stagedModelType.toString(), - modelAdditionCount); - - long modelDeletionCount = ExportImportHelperUtil.getModelDeletionCount(_portletDataContext, - stagedModelType); - - manifestSummary.addModelDeletionCount(stagedModelType.toString(), - modelDeletionCount); - - return modelAdditionCount; - } - - @Override - protected void addCriteria(DynamicQuery dynamicQuery) { - _portletDataContext.addDateRangeCriteria(dynamicQuery, "modifiedDate"); - } - - protected StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoSistemaCostruttivo.class.getName())); - } - - @Override - @SuppressWarnings("unused") - protected void performAction(Object object) - throws PortalException, SystemException { - BoSistemaCostruttivo stagedModel = (BoSistemaCostruttivo)object; - - StagedModelDataHandlerUtil.exportStagedModel(_portletDataContext, - stagedModel); - } - - private PortletDataContext _portletDataContext; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoSistemaCostruttivoPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoSistemaCostruttivoPersistence.java deleted file mode 100644 index 6d6d29c2..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoSistemaCostruttivoPersistence.java +++ /dev/null @@ -1,813 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo; - -/** - * The persistence interface for the bo sistema costruttivo service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoSistemaCostruttivoPersistenceImpl - * @see BoSistemaCostruttivoUtil - * @generated - */ -public interface BoSistemaCostruttivoPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoSistemaCostruttivoUtil} to access the bo sistema costruttivo persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns all the bo sistema costruttivos where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo sistema costruttivos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo sistema costruttivos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo sistema costruttivo in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException; - - /** - * Returns the first bo sistema costruttivo in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo sistema costruttivo in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException; - - /** - * Returns the last bo sistema costruttivo in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sistema costruttivos before and after the current bo sistema costruttivo in the ordered set where uuid = ?. - * - * @param sistemaCostruttivoId the primary key of the current bo sistema costruttivo - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo[] findByUuid_PrevAndNext( - long sistemaCostruttivoId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException; - - /** - * Removes all the bo sistema costruttivos where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo sistema costruttivos where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sistema costruttivo where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException; - - /** - * Returns the bo sistema costruttivo where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sistema costruttivo where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo sistema costruttivo where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo sistema costruttivo that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException; - - /** - * Returns the number of bo sistema costruttivos where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo sistema costruttivos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo sistema costruttivos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo sistema costruttivos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo sistema costruttivo in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException; - - /** - * Returns the first bo sistema costruttivo in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo sistema costruttivo in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException; - - /** - * Returns the last bo sistema costruttivo in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sistema costruttivos before and after the current bo sistema costruttivo in the ordered set where uuid = ? and companyId = ?. - * - * @param sistemaCostruttivoId the primary key of the current bo sistema costruttivo - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo[] findByUuid_C_PrevAndNext( - long sistemaCostruttivoId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException; - - /** - * Removes all the bo sistema costruttivos where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo sistema costruttivos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo sistema costruttivos where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @return the matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_G_intPraticaId( - long companyId, long groupId, long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo sistema costruttivos where companyId = ? and groupId = ? and intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_G_intPraticaId( - long companyId, long groupId, long intPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo sistema costruttivos where companyId = ? and groupId = ? and intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_G_intPraticaId( - long companyId, long groupId, long intPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo sistema costruttivo in the ordered set where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo findByC_G_intPraticaId_First( - long companyId, long groupId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException; - - /** - * Returns the first bo sistema costruttivo in the ordered set where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo fetchByC_G_intPraticaId_First( - long companyId, long groupId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo sistema costruttivo in the ordered set where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo findByC_G_intPraticaId_Last( - long companyId, long groupId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException; - - /** - * Returns the last bo sistema costruttivo in the ordered set where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo fetchByC_G_intPraticaId_Last( - long companyId, long groupId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sistema costruttivos before and after the current bo sistema costruttivo in the ordered set where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param sistemaCostruttivoId the primary key of the current bo sistema costruttivo - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo[] findByC_G_intPraticaId_PrevAndNext( - long sistemaCostruttivoId, long companyId, long groupId, - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException; - - /** - * Removes all the bo sistema costruttivos where companyId = ? and groupId = ? and intPraticaId = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @throws SystemException if a system exception occurred - */ - public void removeByC_G_intPraticaId(long companyId, long groupId, - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo sistema costruttivos where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @return the number of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public int countByC_G_intPraticaId(long companyId, long groupId, - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo sistema costruttivos where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @return the matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByintPraticaId( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo sistema costruttivos where intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByintPraticaId( - long intPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo sistema costruttivos where intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByintPraticaId( - long intPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo sistema costruttivo in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo findByintPraticaId_First( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException; - - /** - * Returns the first bo sistema costruttivo in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo fetchByintPraticaId_First( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo sistema costruttivo in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo findByintPraticaId_Last( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException; - - /** - * Returns the last bo sistema costruttivo in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo fetchByintPraticaId_Last( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sistema costruttivos before and after the current bo sistema costruttivo in the ordered set where intPraticaId = ?. - * - * @param sistemaCostruttivoId the primary key of the current bo sistema costruttivo - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo[] findByintPraticaId_PrevAndNext( - long sistemaCostruttivoId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException; - - /** - * Removes all the bo sistema costruttivos where intPraticaId = ? from the database. - * - * @param intPraticaId the int pratica ID - * @throws SystemException if a system exception occurred - */ - public void removeByintPraticaId(long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo sistema costruttivos where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @return the number of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public int countByintPraticaId(long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the bo sistema costruttivo in the entity cache if it is enabled. - * - * @param boSistemaCostruttivo the bo sistema costruttivo - */ - public void cacheResult( - it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo boSistemaCostruttivo); - - /** - * Caches the bo sistema costruttivos in the entity cache if it is enabled. - * - * @param boSistemaCostruttivos the bo sistema costruttivos - */ - public void cacheResult( - java.util.List boSistemaCostruttivos); - - /** - * Creates a new bo sistema costruttivo with the primary key. Does not add the bo sistema costruttivo to the database. - * - * @param sistemaCostruttivoId the primary key for the new bo sistema costruttivo - * @return the new bo sistema costruttivo - */ - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo create( - long sistemaCostruttivoId); - - /** - * Removes the bo sistema costruttivo with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param sistemaCostruttivoId the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo remove( - long sistemaCostruttivoId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException; - - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo updateImpl( - it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo boSistemaCostruttivo) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sistema costruttivo with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException} if it could not be found. - * - * @param sistemaCostruttivoId the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo findByPrimaryKey( - long sistemaCostruttivoId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException; - - /** - * Returns the bo sistema costruttivo with the primary key or returns null if it could not be found. - * - * @param sistemaCostruttivoId the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo, or null if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo fetchByPrimaryKey( - long sistemaCostruttivoId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo sistema costruttivos. - * - * @return the bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo sistema costruttivos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo sistema costruttivos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the bo sistema costruttivos from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo sistema costruttivos. - * - * @return the number of bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoSistemaCostruttivoUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoSistemaCostruttivoUtil.java deleted file mode 100644 index d8f11067..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoSistemaCostruttivoUtil.java +++ /dev/null @@ -1,1055 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo; - -import java.util.List; - -/** - * The persistence utility for the bo sistema costruttivo service. This utility wraps {@link BoSistemaCostruttivoPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoSistemaCostruttivoPersistence - * @see BoSistemaCostruttivoPersistenceImpl - * @generated - */ -public class BoSistemaCostruttivoUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(BoSistemaCostruttivo boSistemaCostruttivo) { - getPersistence().clearCache(boSistemaCostruttivo); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static BoSistemaCostruttivo update( - BoSistemaCostruttivo boSistemaCostruttivo) throws SystemException { - return getPersistence().update(boSistemaCostruttivo); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static BoSistemaCostruttivo update( - BoSistemaCostruttivo boSistemaCostruttivo, ServiceContext serviceContext) - throws SystemException { - return getPersistence().update(boSistemaCostruttivo, serviceContext); - } - - /** - * Returns all the bo sistema costruttivos where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid); - } - - /** - * Returns a range of all the bo sistema costruttivos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end); - } - - /** - * Returns an ordered range of all the bo sistema costruttivos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end, orderByComparator); - } - - /** - * Returns the first bo sistema costruttivo in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException { - return getPersistence().findByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the first bo sistema costruttivo in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the last bo sistema costruttivo in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException { - return getPersistence().findByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the last bo sistema costruttivo in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the bo sistema costruttivos before and after the current bo sistema costruttivo in the ordered set where uuid = ?. - * - * @param sistemaCostruttivoId the primary key of the current bo sistema costruttivo - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo[] findByUuid_PrevAndNext( - long sistemaCostruttivoId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException { - return getPersistence() - .findByUuid_PrevAndNext(sistemaCostruttivoId, uuid, - orderByComparator); - } - - /** - * Removes all the bo sistema costruttivos where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid(uuid); - } - - /** - * Returns the number of bo sistema costruttivos where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid(uuid); - } - - /** - * Returns the bo sistema costruttivo where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException { - return getPersistence().findByUUID_G(uuid, groupId); - } - - /** - * Returns the bo sistema costruttivo where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the bo sistema costruttivo where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache); - } - - /** - * Removes the bo sistema costruttivo where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo sistema costruttivo that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException { - return getPersistence().removeByUUID_G(uuid, groupId); - } - - /** - * Returns the number of bo sistema costruttivos where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUUID_G(uuid, groupId); - } - - /** - * Returns all the bo sistema costruttivos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId); - } - - /** - * Returns a range of all the bo sistema costruttivos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId, start, end); - } - - /** - * Returns an ordered range of all the bo sistema costruttivos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByUuid_C(uuid, companyId, start, end, orderByComparator); - } - - /** - * Returns the first bo sistema costruttivo in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException { - return getPersistence() - .findByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the first bo sistema costruttivo in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the last bo sistema costruttivo in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException { - return getPersistence() - .findByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the last bo sistema costruttivo in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the bo sistema costruttivos before and after the current bo sistema costruttivo in the ordered set where uuid = ? and companyId = ?. - * - * @param sistemaCostruttivoId the primary key of the current bo sistema costruttivo - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo[] findByUuid_C_PrevAndNext( - long sistemaCostruttivoId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException { - return getPersistence() - .findByUuid_C_PrevAndNext(sistemaCostruttivoId, uuid, - companyId, orderByComparator); - } - - /** - * Removes all the bo sistema costruttivos where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid_C(uuid, companyId); - } - - /** - * Returns the number of bo sistema costruttivos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid_C(uuid, companyId); - } - - /** - * Returns all the bo sistema costruttivos where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @return the matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_G_intPraticaId( - long companyId, long groupId, long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_G_intPraticaId(companyId, groupId, intPraticaId); - } - - /** - * Returns a range of all the bo sistema costruttivos where companyId = ? and groupId = ? and intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_G_intPraticaId( - long companyId, long groupId, long intPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_G_intPraticaId(companyId, groupId, intPraticaId, - start, end); - } - - /** - * Returns an ordered range of all the bo sistema costruttivos where companyId = ? and groupId = ? and intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_G_intPraticaId( - long companyId, long groupId, long intPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_G_intPraticaId(companyId, groupId, intPraticaId, - start, end, orderByComparator); - } - - /** - * Returns the first bo sistema costruttivo in the ordered set where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo findByC_G_intPraticaId_First( - long companyId, long groupId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException { - return getPersistence() - .findByC_G_intPraticaId_First(companyId, groupId, - intPraticaId, orderByComparator); - } - - /** - * Returns the first bo sistema costruttivo in the ordered set where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo fetchByC_G_intPraticaId_First( - long companyId, long groupId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_G_intPraticaId_First(companyId, groupId, - intPraticaId, orderByComparator); - } - - /** - * Returns the last bo sistema costruttivo in the ordered set where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo findByC_G_intPraticaId_Last( - long companyId, long groupId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException { - return getPersistence() - .findByC_G_intPraticaId_Last(companyId, groupId, - intPraticaId, orderByComparator); - } - - /** - * Returns the last bo sistema costruttivo in the ordered set where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo fetchByC_G_intPraticaId_Last( - long companyId, long groupId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_G_intPraticaId_Last(companyId, groupId, - intPraticaId, orderByComparator); - } - - /** - * Returns the bo sistema costruttivos before and after the current bo sistema costruttivo in the ordered set where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param sistemaCostruttivoId the primary key of the current bo sistema costruttivo - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo[] findByC_G_intPraticaId_PrevAndNext( - long sistemaCostruttivoId, long companyId, long groupId, - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException { - return getPersistence() - .findByC_G_intPraticaId_PrevAndNext(sistemaCostruttivoId, - companyId, groupId, intPraticaId, orderByComparator); - } - - /** - * Removes all the bo sistema costruttivos where companyId = ? and groupId = ? and intPraticaId = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @throws SystemException if a system exception occurred - */ - public static void removeByC_G_intPraticaId(long companyId, long groupId, - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeByC_G_intPraticaId(companyId, groupId, intPraticaId); - } - - /** - * Returns the number of bo sistema costruttivos where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @return the number of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static int countByC_G_intPraticaId(long companyId, long groupId, - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByC_G_intPraticaId(companyId, groupId, intPraticaId); - } - - /** - * Returns all the bo sistema costruttivos where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @return the matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByintPraticaId( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByintPraticaId(intPraticaId); - } - - /** - * Returns a range of all the bo sistema costruttivos where intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByintPraticaId( - long intPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByintPraticaId(intPraticaId, start, end); - } - - /** - * Returns an ordered range of all the bo sistema costruttivos where intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByintPraticaId( - long intPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByintPraticaId(intPraticaId, start, end, - orderByComparator); - } - - /** - * Returns the first bo sistema costruttivo in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo findByintPraticaId_First( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException { - return getPersistence() - .findByintPraticaId_First(intPraticaId, orderByComparator); - } - - /** - * Returns the first bo sistema costruttivo in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo fetchByintPraticaId_First( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByintPraticaId_First(intPraticaId, orderByComparator); - } - - /** - * Returns the last bo sistema costruttivo in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo findByintPraticaId_Last( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException { - return getPersistence() - .findByintPraticaId_Last(intPraticaId, orderByComparator); - } - - /** - * Returns the last bo sistema costruttivo in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo fetchByintPraticaId_Last( - long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByintPraticaId_Last(intPraticaId, orderByComparator); - } - - /** - * Returns the bo sistema costruttivos before and after the current bo sistema costruttivo in the ordered set where intPraticaId = ?. - * - * @param sistemaCostruttivoId the primary key of the current bo sistema costruttivo - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo[] findByintPraticaId_PrevAndNext( - long sistemaCostruttivoId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException { - return getPersistence() - .findByintPraticaId_PrevAndNext(sistemaCostruttivoId, - intPraticaId, orderByComparator); - } - - /** - * Removes all the bo sistema costruttivos where intPraticaId = ? from the database. - * - * @param intPraticaId the int pratica ID - * @throws SystemException if a system exception occurred - */ - public static void removeByintPraticaId(long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByintPraticaId(intPraticaId); - } - - /** - * Returns the number of bo sistema costruttivos where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @return the number of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static int countByintPraticaId(long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByintPraticaId(intPraticaId); - } - - /** - * Caches the bo sistema costruttivo in the entity cache if it is enabled. - * - * @param boSistemaCostruttivo the bo sistema costruttivo - */ - public static void cacheResult( - it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo boSistemaCostruttivo) { - getPersistence().cacheResult(boSistemaCostruttivo); - } - - /** - * Caches the bo sistema costruttivos in the entity cache if it is enabled. - * - * @param boSistemaCostruttivos the bo sistema costruttivos - */ - public static void cacheResult( - java.util.List boSistemaCostruttivos) { - getPersistence().cacheResult(boSistemaCostruttivos); - } - - /** - * Creates a new bo sistema costruttivo with the primary key. Does not add the bo sistema costruttivo to the database. - * - * @param sistemaCostruttivoId the primary key for the new bo sistema costruttivo - * @return the new bo sistema costruttivo - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo create( - long sistemaCostruttivoId) { - return getPersistence().create(sistemaCostruttivoId); - } - - /** - * Removes the bo sistema costruttivo with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param sistemaCostruttivoId the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo remove( - long sistemaCostruttivoId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException { - return getPersistence().remove(sistemaCostruttivoId); - } - - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo updateImpl( - it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo boSistemaCostruttivo) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(boSistemaCostruttivo); - } - - /** - * Returns the bo sistema costruttivo with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException} if it could not be found. - * - * @param sistemaCostruttivoId the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo findByPrimaryKey( - long sistemaCostruttivoId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException { - return getPersistence().findByPrimaryKey(sistemaCostruttivoId); - } - - /** - * Returns the bo sistema costruttivo with the primary key or returns null if it could not be found. - * - * @param sistemaCostruttivoId the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo, or null if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo fetchByPrimaryKey( - long sistemaCostruttivoId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(sistemaCostruttivoId); - } - - /** - * Returns all the bo sistema costruttivos. - * - * @return the bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the bo sistema costruttivos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the bo sistema costruttivos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the bo sistema costruttivos from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of bo sistema costruttivos. - * - * @return the number of bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static BoSistemaCostruttivoPersistence getPersistence() { - if (_persistence == null) { - _persistence = (BoSistemaCostruttivoPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.portosimport.service.ClpSerializer.getServletContextName(), - BoSistemaCostruttivoPersistence.class.getName()); - - ReferenceRegistry.registerReference(BoSistemaCostruttivoUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(BoSistemaCostruttivoPersistence persistence) { - } - - private static BoSistemaCostruttivoPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoSoggettoActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoSoggettoActionableDynamicQuery.java deleted file mode 100644 index 6c0de6ae..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoSoggettoActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.BoSoggetto; -import it.tref.liferay.portos.portosimport.service.BoSoggettoLocalServiceUtil; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public abstract class BoSoggettoActionableDynamicQuery - extends BaseActionableDynamicQuery { - public BoSoggettoActionableDynamicQuery() throws SystemException { - setBaseLocalService(BoSoggettoLocalServiceUtil.getService()); - setClass(BoSoggetto.class); - - setClassLoader(it.tref.liferay.portos.portosimport.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("soggettoId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoSoggettoExportActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoSoggettoExportActionableDynamicQuery.java deleted file mode 100644 index 35cdb4ad..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoSoggettoExportActionableDynamicQuery.java +++ /dev/null @@ -1,85 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.ExportImportHelperUtil; -import com.liferay.portal.kernel.lar.ManifestSummary; -import com.liferay.portal.kernel.lar.PortletDataContext; -import com.liferay.portal.kernel.lar.StagedModelDataHandlerUtil; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.portosimport.model.BoSoggetto; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoSoggettoExportActionableDynamicQuery - extends BoSoggettoActionableDynamicQuery { - public BoSoggettoExportActionableDynamicQuery( - PortletDataContext portletDataContext) throws SystemException { - _portletDataContext = portletDataContext; - - setCompanyId(_portletDataContext.getCompanyId()); - - setGroupId(_portletDataContext.getScopeGroupId()); - } - - @Override - public long performCount() throws PortalException, SystemException { - ManifestSummary manifestSummary = _portletDataContext.getManifestSummary(); - - StagedModelType stagedModelType = getStagedModelType(); - - long modelAdditionCount = super.performCount(); - - manifestSummary.addModelAdditionCount(stagedModelType.toString(), - modelAdditionCount); - - long modelDeletionCount = ExportImportHelperUtil.getModelDeletionCount(_portletDataContext, - stagedModelType); - - manifestSummary.addModelDeletionCount(stagedModelType.toString(), - modelDeletionCount); - - return modelAdditionCount; - } - - @Override - protected void addCriteria(DynamicQuery dynamicQuery) { - _portletDataContext.addDateRangeCriteria(dynamicQuery, "modifiedDate"); - } - - protected StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoSoggetto.class.getName())); - } - - @Override - @SuppressWarnings("unused") - protected void performAction(Object object) - throws PortalException, SystemException { - BoSoggetto stagedModel = (BoSoggetto)object; - - StagedModelDataHandlerUtil.exportStagedModel(_portletDataContext, - stagedModel); - } - - private PortletDataContext _portletDataContext; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoSoggettoPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoSoggettoPersistence.java deleted file mode 100644 index ca1abf89..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoSoggettoPersistence.java +++ /dev/null @@ -1,1475 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.portosimport.model.BoSoggetto; - -/** - * The persistence interface for the bo soggetto service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoSoggettoPersistenceImpl - * @see BoSoggettoUtil - * @generated - */ -public interface BoSoggettoPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoSoggettoUtil} to access the bo soggetto persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns all the bo soggettos where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo soggettos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo soggettos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo soggetto in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException; - - /** - * Returns the first bo soggetto in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo soggetto in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException; - - /** - * Returns the last bo soggetto in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where uuid = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto[] findByUuid_PrevAndNext( - long soggettoId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException; - - /** - * Removes all the bo soggettos where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo soggettos where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo soggetto where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException; - - /** - * Returns the bo soggetto where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo soggetto where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo soggetto where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo soggetto that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException; - - /** - * Returns the number of bo soggettos where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo soggettos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo soggettos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo soggettos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo soggetto in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException; - - /** - * Returns the first bo soggetto in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo soggetto in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException; - - /** - * Returns the last bo soggetto in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where uuid = ? and companyId = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto[] findByUuid_C_PrevAndNext( - long soggettoId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException; - - /** - * Removes all the bo soggettos where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo soggettos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo soggettos where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo soggettos where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica( - long dettPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo soggettos where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica( - long dettPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto findByDettPratica_First( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException; - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByDettPratica_First( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto findByDettPratica_Last( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException; - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByDettPratica_Last( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where dettPraticaId = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto[] findByDettPratica_PrevAndNext( - long soggettoId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException; - - /** - * Removes all the bo soggettos where dettPraticaId = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - public void removeByDettPratica(long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo soggettos where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public int countByDettPratica(long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo soggettos where dettPraticaId = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica_Sostituito( - long dettPraticaId, boolean sostituito) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo soggettos where dettPraticaId = ? and sostituito = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica_Sostituito( - long dettPraticaId, boolean sostituito, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo soggettos where dettPraticaId = ? and sostituito = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica_Sostituito( - long dettPraticaId, boolean sostituito, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto findByDettPratica_Sostituito_First( - long dettPraticaId, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException; - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByDettPratica_Sostituito_First( - long dettPraticaId, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto findByDettPratica_Sostituito_Last( - long dettPraticaId, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException; - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByDettPratica_Sostituito_Last( - long dettPraticaId, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where dettPraticaId = ? and sostituito = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto[] findByDettPratica_Sostituito_PrevAndNext( - long soggettoId, long dettPraticaId, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException; - - /** - * Removes all the bo soggettos where dettPraticaId = ? and sostituito = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @throws SystemException if a system exception occurred - */ - public void removeByDettPratica_Sostituito(long dettPraticaId, - boolean sostituito) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo soggettos where dettPraticaId = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public int countByDettPratica_Sostituito(long dettPraticaId, - boolean sostituito) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica_TipologiaProfessione( - long dettPraticaId, java.lang.String tipologiaProfessione) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica_TipologiaProfessione( - long dettPraticaId, java.lang.String tipologiaProfessione, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica_TipologiaProfessione( - long dettPraticaId, java.lang.String tipologiaProfessione, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto findByDettPratica_TipologiaProfessione_First( - long dettPraticaId, java.lang.String tipologiaProfessione, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException; - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByDettPratica_TipologiaProfessione_First( - long dettPraticaId, java.lang.String tipologiaProfessione, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto findByDettPratica_TipologiaProfessione_Last( - long dettPraticaId, java.lang.String tipologiaProfessione, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException; - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByDettPratica_TipologiaProfessione_Last( - long dettPraticaId, java.lang.String tipologiaProfessione, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto[] findByDettPratica_TipologiaProfessione_PrevAndNext( - long soggettoId, long dettPraticaId, - java.lang.String tipologiaProfessione, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException; - - /** - * Removes all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @throws SystemException if a system exception occurred - */ - public void removeByDettPratica_TipologiaProfessione(long dettPraticaId, - java.lang.String tipologiaProfessione) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo soggettos where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public int countByDettPratica_TipologiaProfessione(long dettPraticaId, - java.lang.String tipologiaProfessione) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean sostituito) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean sostituito, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean sostituito, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_First( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException; - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_First( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_Last( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException; - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_Last( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto[] findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_PrevAndNext( - long soggettoId, long dettPraticaId, - java.lang.String tipologiaProfessione, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException; - - /** - * Removes all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @throws SystemException if a system exception occurred - */ - public void removeByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean sostituito) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public int countByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean sostituito) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica_TipologiaProfessione_Aggiuntivo( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica_TipologiaProfessione_Aggiuntivo( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica_TipologiaProfessione_Aggiuntivo( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto findByDettPratica_TipologiaProfessione_Aggiuntivo_First( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException; - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByDettPratica_TipologiaProfessione_Aggiuntivo_First( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto findByDettPratica_TipologiaProfessione_Aggiuntivo_Last( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException; - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByDettPratica_TipologiaProfessione_Aggiuntivo_Last( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto[] findByDettPratica_TipologiaProfessione_Aggiuntivo_PrevAndNext( - long soggettoId, long dettPraticaId, - java.lang.String tipologiaProfessione, boolean aggiuntivo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException; - - /** - * Removes all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @throws SystemException if a system exception occurred - */ - public void removeByDettPratica_TipologiaProfessione_Aggiuntivo( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public int countByDettPratica_TipologiaProfessione_Aggiuntivo( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_First( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException; - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_First( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_Last( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException; - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_Last( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto[] findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_PrevAndNext( - long soggettoId, long dettPraticaId, - java.lang.String tipologiaProfessione, boolean aggiuntivo, - boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException; - - /** - * Removes all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @throws SystemException if a system exception occurred - */ - public void removeByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public int countByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the bo soggetto in the entity cache if it is enabled. - * - * @param boSoggetto the bo soggetto - */ - public void cacheResult( - it.tref.liferay.portos.portosimport.model.BoSoggetto boSoggetto); - - /** - * Caches the bo soggettos in the entity cache if it is enabled. - * - * @param boSoggettos the bo soggettos - */ - public void cacheResult( - java.util.List boSoggettos); - - /** - * Creates a new bo soggetto with the primary key. Does not add the bo soggetto to the database. - * - * @param soggettoId the primary key for the new bo soggetto - * @return the new bo soggetto - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto create( - long soggettoId); - - /** - * Removes the bo soggetto with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param soggettoId the primary key of the bo soggetto - * @return the bo soggetto that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto remove( - long soggettoId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException; - - public it.tref.liferay.portos.portosimport.model.BoSoggetto updateImpl( - it.tref.liferay.portos.portosimport.model.BoSoggetto boSoggetto) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo soggetto with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException} if it could not be found. - * - * @param soggettoId the primary key of the bo soggetto - * @return the bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto findByPrimaryKey( - long soggettoId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException; - - /** - * Returns the bo soggetto with the primary key or returns null if it could not be found. - * - * @param soggettoId the primary key of the bo soggetto - * @return the bo soggetto, or null if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByPrimaryKey( - long soggettoId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo soggettos. - * - * @return the bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo soggettos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo soggettos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo soggettos - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the bo soggettos from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo soggettos. - * - * @return the number of bo soggettos - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoSoggettoUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoSoggettoUtil.java deleted file mode 100644 index ab44c28f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoSoggettoUtil.java +++ /dev/null @@ -1,1877 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.portosimport.model.BoSoggetto; - -import java.util.List; - -/** - * The persistence utility for the bo soggetto service. This utility wraps {@link BoSoggettoPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoSoggettoPersistence - * @see BoSoggettoPersistenceImpl - * @generated - */ -public class BoSoggettoUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(BoSoggetto boSoggetto) { - getPersistence().clearCache(boSoggetto); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static BoSoggetto update(BoSoggetto boSoggetto) - throws SystemException { - return getPersistence().update(boSoggetto); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static BoSoggetto update(BoSoggetto boSoggetto, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(boSoggetto, serviceContext); - } - - /** - * Returns all the bo soggettos where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid); - } - - /** - * Returns a range of all the bo soggettos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end); - } - - /** - * Returns an ordered range of all the bo soggettos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end, orderByComparator); - } - - /** - * Returns the first bo soggetto in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException { - return getPersistence().findByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the first bo soggetto in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the last bo soggetto in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException { - return getPersistence().findByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the last bo soggetto in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where uuid = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto[] findByUuid_PrevAndNext( - long soggettoId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException { - return getPersistence() - .findByUuid_PrevAndNext(soggettoId, uuid, orderByComparator); - } - - /** - * Removes all the bo soggettos where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid(uuid); - } - - /** - * Returns the number of bo soggettos where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid(uuid); - } - - /** - * Returns the bo soggetto where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException { - return getPersistence().findByUUID_G(uuid, groupId); - } - - /** - * Returns the bo soggetto where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the bo soggetto where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache); - } - - /** - * Removes the bo soggetto where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo soggetto that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException { - return getPersistence().removeByUUID_G(uuid, groupId); - } - - /** - * Returns the number of bo soggettos where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUUID_G(uuid, groupId); - } - - /** - * Returns all the bo soggettos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId); - } - - /** - * Returns a range of all the bo soggettos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId, start, end); - } - - /** - * Returns an ordered range of all the bo soggettos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByUuid_C(uuid, companyId, start, end, orderByComparator); - } - - /** - * Returns the first bo soggetto in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException { - return getPersistence() - .findByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the first bo soggetto in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the last bo soggetto in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException { - return getPersistence() - .findByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the last bo soggetto in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where uuid = ? and companyId = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto[] findByUuid_C_PrevAndNext( - long soggettoId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException { - return getPersistence() - .findByUuid_C_PrevAndNext(soggettoId, uuid, companyId, - orderByComparator); - } - - /** - * Removes all the bo soggettos where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid_C(uuid, companyId); - } - - /** - * Returns the number of bo soggettos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid_C(uuid, companyId); - } - - /** - * Returns all the bo soggettos where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByDettPratica(dettPraticaId); - } - - /** - * Returns a range of all the bo soggettos where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica( - long dettPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByDettPratica(dettPraticaId, start, end); - } - - /** - * Returns an ordered range of all the bo soggettos where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica( - long dettPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica(dettPraticaId, start, end, - orderByComparator); - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto findByDettPratica_First( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException { - return getPersistence() - .findByDettPratica_First(dettPraticaId, orderByComparator); - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByDettPratica_First( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPratica_First(dettPraticaId, orderByComparator); - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto findByDettPratica_Last( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException { - return getPersistence() - .findByDettPratica_Last(dettPraticaId, orderByComparator); - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByDettPratica_Last( - long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPratica_Last(dettPraticaId, orderByComparator); - } - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where dettPraticaId = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto[] findByDettPratica_PrevAndNext( - long soggettoId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException { - return getPersistence() - .findByDettPratica_PrevAndNext(soggettoId, dettPraticaId, - orderByComparator); - } - - /** - * Removes all the bo soggettos where dettPraticaId = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - public static void removeByDettPratica(long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByDettPratica(dettPraticaId); - } - - /** - * Returns the number of bo soggettos where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static int countByDettPratica(long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByDettPratica(dettPraticaId); - } - - /** - * Returns all the bo soggettos where dettPraticaId = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica_Sostituito( - long dettPraticaId, boolean sostituito) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica_Sostituito(dettPraticaId, sostituito); - } - - /** - * Returns a range of all the bo soggettos where dettPraticaId = ? and sostituito = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica_Sostituito( - long dettPraticaId, boolean sostituito, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica_Sostituito(dettPraticaId, sostituito, - start, end); - } - - /** - * Returns an ordered range of all the bo soggettos where dettPraticaId = ? and sostituito = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica_Sostituito( - long dettPraticaId, boolean sostituito, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica_Sostituito(dettPraticaId, sostituito, - start, end, orderByComparator); - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto findByDettPratica_Sostituito_First( - long dettPraticaId, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException { - return getPersistence() - .findByDettPratica_Sostituito_First(dettPraticaId, - sostituito, orderByComparator); - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByDettPratica_Sostituito_First( - long dettPraticaId, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPratica_Sostituito_First(dettPraticaId, - sostituito, orderByComparator); - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto findByDettPratica_Sostituito_Last( - long dettPraticaId, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException { - return getPersistence() - .findByDettPratica_Sostituito_Last(dettPraticaId, - sostituito, orderByComparator); - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByDettPratica_Sostituito_Last( - long dettPraticaId, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPratica_Sostituito_Last(dettPraticaId, - sostituito, orderByComparator); - } - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where dettPraticaId = ? and sostituito = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto[] findByDettPratica_Sostituito_PrevAndNext( - long soggettoId, long dettPraticaId, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException { - return getPersistence() - .findByDettPratica_Sostituito_PrevAndNext(soggettoId, - dettPraticaId, sostituito, orderByComparator); - } - - /** - * Removes all the bo soggettos where dettPraticaId = ? and sostituito = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @throws SystemException if a system exception occurred - */ - public static void removeByDettPratica_Sostituito(long dettPraticaId, - boolean sostituito) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeByDettPratica_Sostituito(dettPraticaId, sostituito); - } - - /** - * Returns the number of bo soggettos where dettPraticaId = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static int countByDettPratica_Sostituito(long dettPraticaId, - boolean sostituito) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByDettPratica_Sostituito(dettPraticaId, sostituito); - } - - /** - * Returns all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica_TipologiaProfessione( - long dettPraticaId, java.lang.String tipologiaProfessione) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica_TipologiaProfessione(dettPraticaId, - tipologiaProfessione); - } - - /** - * Returns a range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica_TipologiaProfessione( - long dettPraticaId, java.lang.String tipologiaProfessione, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica_TipologiaProfessione(dettPraticaId, - tipologiaProfessione, start, end); - } - - /** - * Returns an ordered range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica_TipologiaProfessione( - long dettPraticaId, java.lang.String tipologiaProfessione, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica_TipologiaProfessione(dettPraticaId, - tipologiaProfessione, start, end, orderByComparator); - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto findByDettPratica_TipologiaProfessione_First( - long dettPraticaId, java.lang.String tipologiaProfessione, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_First(dettPraticaId, - tipologiaProfessione, orderByComparator); - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByDettPratica_TipologiaProfessione_First( - long dettPraticaId, java.lang.String tipologiaProfessione, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPratica_TipologiaProfessione_First(dettPraticaId, - tipologiaProfessione, orderByComparator); - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto findByDettPratica_TipologiaProfessione_Last( - long dettPraticaId, java.lang.String tipologiaProfessione, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_Last(dettPraticaId, - tipologiaProfessione, orderByComparator); - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByDettPratica_TipologiaProfessione_Last( - long dettPraticaId, java.lang.String tipologiaProfessione, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPratica_TipologiaProfessione_Last(dettPraticaId, - tipologiaProfessione, orderByComparator); - } - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto[] findByDettPratica_TipologiaProfessione_PrevAndNext( - long soggettoId, long dettPraticaId, - java.lang.String tipologiaProfessione, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_PrevAndNext(soggettoId, - dettPraticaId, tipologiaProfessione, orderByComparator); - } - - /** - * Removes all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @throws SystemException if a system exception occurred - */ - public static void removeByDettPratica_TipologiaProfessione( - long dettPraticaId, java.lang.String tipologiaProfessione) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeByDettPratica_TipologiaProfessione(dettPraticaId, - tipologiaProfessione); - } - - /** - * Returns the number of bo soggettos where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static int countByDettPratica_TipologiaProfessione( - long dettPraticaId, java.lang.String tipologiaProfessione) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByDettPratica_TipologiaProfessione(dettPraticaId, - tipologiaProfessione); - } - - /** - * Returns all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean sostituito) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito(dettPraticaId, - tipologiaProfessione, sostituito); - } - - /** - * Returns a range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean sostituito, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito(dettPraticaId, - tipologiaProfessione, sostituito, start, end); - } - - /** - * Returns an ordered range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean sostituito, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito(dettPraticaId, - tipologiaProfessione, sostituito, start, end, orderByComparator); - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_First( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_First(dettPraticaId, - tipologiaProfessione, sostituito, orderByComparator); - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_First( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_First(dettPraticaId, - tipologiaProfessione, sostituito, orderByComparator); - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_Last( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_Last(dettPraticaId, - tipologiaProfessione, sostituito, orderByComparator); - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_Last( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_Last(dettPraticaId, - tipologiaProfessione, sostituito, orderByComparator); - } - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto[] findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_PrevAndNext( - long soggettoId, long dettPraticaId, - java.lang.String tipologiaProfessione, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_PrevAndNext(soggettoId, - dettPraticaId, tipologiaProfessione, sostituito, orderByComparator); - } - - /** - * Removes all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @throws SystemException if a system exception occurred - */ - public static void removeByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean sostituito) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito(dettPraticaId, - tipologiaProfessione, sostituito); - } - - /** - * Returns the number of bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static int countByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean sostituito) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito(dettPraticaId, - tipologiaProfessione, sostituito); - } - - /** - * Returns all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica_TipologiaProfessione_Aggiuntivo( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_Aggiuntivo(dettPraticaId, - tipologiaProfessione, aggiuntivo); - } - - /** - * Returns a range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica_TipologiaProfessione_Aggiuntivo( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_Aggiuntivo(dettPraticaId, - tipologiaProfessione, aggiuntivo, start, end); - } - - /** - * Returns an ordered range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica_TipologiaProfessione_Aggiuntivo( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_Aggiuntivo(dettPraticaId, - tipologiaProfessione, aggiuntivo, start, end, orderByComparator); - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto findByDettPratica_TipologiaProfessione_Aggiuntivo_First( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_Aggiuntivo_First(dettPraticaId, - tipologiaProfessione, aggiuntivo, orderByComparator); - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByDettPratica_TipologiaProfessione_Aggiuntivo_First( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPratica_TipologiaProfessione_Aggiuntivo_First(dettPraticaId, - tipologiaProfessione, aggiuntivo, orderByComparator); - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto findByDettPratica_TipologiaProfessione_Aggiuntivo_Last( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_Aggiuntivo_Last(dettPraticaId, - tipologiaProfessione, aggiuntivo, orderByComparator); - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByDettPratica_TipologiaProfessione_Aggiuntivo_Last( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPratica_TipologiaProfessione_Aggiuntivo_Last(dettPraticaId, - tipologiaProfessione, aggiuntivo, orderByComparator); - } - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto[] findByDettPratica_TipologiaProfessione_Aggiuntivo_PrevAndNext( - long soggettoId, long dettPraticaId, - java.lang.String tipologiaProfessione, boolean aggiuntivo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_Aggiuntivo_PrevAndNext(soggettoId, - dettPraticaId, tipologiaProfessione, aggiuntivo, orderByComparator); - } - - /** - * Removes all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @throws SystemException if a system exception occurred - */ - public static void removeByDettPratica_TipologiaProfessione_Aggiuntivo( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeByDettPratica_TipologiaProfessione_Aggiuntivo(dettPraticaId, - tipologiaProfessione, aggiuntivo); - } - - /** - * Returns the number of bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static int countByDettPratica_TipologiaProfessione_Aggiuntivo( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByDettPratica_TipologiaProfessione_Aggiuntivo(dettPraticaId, - tipologiaProfessione, aggiuntivo); - } - - /** - * Returns all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito(dettPraticaId, - tipologiaProfessione, aggiuntivo, sostituito); - } - - /** - * Returns a range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito(dettPraticaId, - tipologiaProfessione, aggiuntivo, sostituito, start, end); - } - - /** - * Returns an ordered range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito(dettPraticaId, - tipologiaProfessione, aggiuntivo, sostituito, start, end, - orderByComparator); - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_First( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_First(dettPraticaId, - tipologiaProfessione, aggiuntivo, sostituito, orderByComparator); - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_First( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_First(dettPraticaId, - tipologiaProfessione, aggiuntivo, sostituito, orderByComparator); - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_Last( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_Last(dettPraticaId, - tipologiaProfessione, aggiuntivo, sostituito, orderByComparator); - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_Last( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_Last(dettPraticaId, - tipologiaProfessione, aggiuntivo, sostituito, orderByComparator); - } - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto[] findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_PrevAndNext( - long soggettoId, long dettPraticaId, - java.lang.String tipologiaProfessione, boolean aggiuntivo, - boolean sostituito, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException { - return getPersistence() - .findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_PrevAndNext(soggettoId, - dettPraticaId, tipologiaProfessione, aggiuntivo, sostituito, - orderByComparator); - } - - /** - * Removes all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @throws SystemException if a system exception occurred - */ - public static void removeByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito(dettPraticaId, - tipologiaProfessione, aggiuntivo, sostituito); - } - - /** - * Returns the number of bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - public static int countByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito( - long dettPraticaId, java.lang.String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito(dettPraticaId, - tipologiaProfessione, aggiuntivo, sostituito); - } - - /** - * Caches the bo soggetto in the entity cache if it is enabled. - * - * @param boSoggetto the bo soggetto - */ - public static void cacheResult( - it.tref.liferay.portos.portosimport.model.BoSoggetto boSoggetto) { - getPersistence().cacheResult(boSoggetto); - } - - /** - * Caches the bo soggettos in the entity cache if it is enabled. - * - * @param boSoggettos the bo soggettos - */ - public static void cacheResult( - java.util.List boSoggettos) { - getPersistence().cacheResult(boSoggettos); - } - - /** - * Creates a new bo soggetto with the primary key. Does not add the bo soggetto to the database. - * - * @param soggettoId the primary key for the new bo soggetto - * @return the new bo soggetto - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto create( - long soggettoId) { - return getPersistence().create(soggettoId); - } - - /** - * Removes the bo soggetto with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param soggettoId the primary key of the bo soggetto - * @return the bo soggetto that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto remove( - long soggettoId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException { - return getPersistence().remove(soggettoId); - } - - public static it.tref.liferay.portos.portosimport.model.BoSoggetto updateImpl( - it.tref.liferay.portos.portosimport.model.BoSoggetto boSoggetto) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(boSoggetto); - } - - /** - * Returns the bo soggetto with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException} if it could not be found. - * - * @param soggettoId the primary key of the bo soggetto - * @return the bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto findByPrimaryKey( - long soggettoId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException { - return getPersistence().findByPrimaryKey(soggettoId); - } - - /** - * Returns the bo soggetto with the primary key or returns null if it could not be found. - * - * @param soggettoId the primary key of the bo soggetto - * @return the bo soggetto, or null if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSoggetto fetchByPrimaryKey( - long soggettoId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(soggettoId); - } - - /** - * Returns all the bo soggettos. - * - * @return the bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the bo soggettos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the bo soggettos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo soggettos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the bo soggettos from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of bo soggettos. - * - * @return the number of bo soggettos - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static BoSoggettoPersistence getPersistence() { - if (_persistence == null) { - _persistence = (BoSoggettoPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.portosimport.service.ClpSerializer.getServletContextName(), - BoSoggettoPersistence.class.getName()); - - ReferenceRegistry.registerReference(BoSoggettoUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(BoSoggettoPersistence persistence) { - } - - private static BoSoggettoPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoSorteggioActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoSorteggioActionableDynamicQuery.java deleted file mode 100644 index b0c3b911..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoSorteggioActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.BoSorteggio; -import it.tref.liferay.portos.portosimport.service.BoSorteggioLocalServiceUtil; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public abstract class BoSorteggioActionableDynamicQuery - extends BaseActionableDynamicQuery { - public BoSorteggioActionableDynamicQuery() throws SystemException { - setBaseLocalService(BoSorteggioLocalServiceUtil.getService()); - setClass(BoSorteggio.class); - - setClassLoader(it.tref.liferay.portos.portosimport.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("sorteggioId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoSorteggioExportActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoSorteggioExportActionableDynamicQuery.java deleted file mode 100644 index 16777c17..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoSorteggioExportActionableDynamicQuery.java +++ /dev/null @@ -1,118 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.dao.orm.Criterion; -import com.liferay.portal.kernel.dao.orm.Disjunction; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.Property; -import com.liferay.portal.kernel.dao.orm.PropertyFactoryUtil; -import com.liferay.portal.kernel.dao.orm.RestrictionsFactoryUtil; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.ExportImportHelperUtil; -import com.liferay.portal.kernel.lar.ManifestSummary; -import com.liferay.portal.kernel.lar.PortletDataContext; -import com.liferay.portal.kernel.lar.StagedModelDataHandler; -import com.liferay.portal.kernel.lar.StagedModelDataHandlerRegistryUtil; -import com.liferay.portal.kernel.lar.StagedModelDataHandlerUtil; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.workflow.WorkflowConstants; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.portosimport.model.BoSorteggio; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoSorteggioExportActionableDynamicQuery - extends BoSorteggioActionableDynamicQuery { - public BoSorteggioExportActionableDynamicQuery( - PortletDataContext portletDataContext) throws SystemException { - _portletDataContext = portletDataContext; - - setCompanyId(_portletDataContext.getCompanyId()); - - setGroupId(_portletDataContext.getScopeGroupId()); - } - - @Override - public long performCount() throws PortalException, SystemException { - ManifestSummary manifestSummary = _portletDataContext.getManifestSummary(); - - StagedModelType stagedModelType = getStagedModelType(); - - long modelAdditionCount = super.performCount(); - - manifestSummary.addModelAdditionCount(stagedModelType.toString(), - modelAdditionCount); - - long modelDeletionCount = ExportImportHelperUtil.getModelDeletionCount(_portletDataContext, - stagedModelType); - - manifestSummary.addModelDeletionCount(stagedModelType.toString(), - modelDeletionCount); - - return modelAdditionCount; - } - - @Override - protected void addCriteria(DynamicQuery dynamicQuery) { - Criterion modifiedDateCriterion = _portletDataContext.getDateRangeCriteria( - "modifiedDate"); - Criterion statusDateCriterion = _portletDataContext.getDateRangeCriteria( - "statusDate"); - - if ((modifiedDateCriterion != null) && (statusDateCriterion != null)) { - Disjunction disjunction = RestrictionsFactoryUtil.disjunction(); - - disjunction.add(modifiedDateCriterion); - disjunction.add(statusDateCriterion); - - dynamicQuery.add(disjunction); - } - - Property workflowStatusProperty = PropertyFactoryUtil.forName("status"); - - if (_portletDataContext.isInitialPublication()) { - dynamicQuery.add(workflowStatusProperty.ne( - WorkflowConstants.STATUS_IN_TRASH)); - } - else { - StagedModelDataHandler stagedModelDataHandler = StagedModelDataHandlerRegistryUtil.getStagedModelDataHandler(BoSorteggio.class.getName()); - - dynamicQuery.add(workflowStatusProperty.in( - stagedModelDataHandler.getExportableStatuses())); - } - } - - protected StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoSorteggio.class.getName())); - } - - @Override - @SuppressWarnings("unused") - protected void performAction(Object object) - throws PortalException, SystemException { - BoSorteggio stagedModel = (BoSorteggio)object; - - StagedModelDataHandlerUtil.exportStagedModel(_portletDataContext, - stagedModel); - } - - private PortletDataContext _portletDataContext; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoSorteggioPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoSorteggioPersistence.java deleted file mode 100644 index 90b28225..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoSorteggioPersistence.java +++ /dev/null @@ -1,824 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.portosimport.model.BoSorteggio; - -/** - * The persistence interface for the bo sorteggio service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoSorteggioPersistenceImpl - * @see BoSorteggioUtil - * @generated - */ -public interface BoSorteggioPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoSorteggioUtil} to access the bo sorteggio persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns all the bo sorteggios where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo sorteggios where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo sorteggios where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo sorteggio in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSorteggio findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException; - - /** - * Returns the first bo sorteggio in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSorteggio fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo sorteggio in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSorteggio findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException; - - /** - * Returns the last bo sorteggio in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSorteggio fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sorteggios before and after the current bo sorteggio in the ordered set where uuid = ?. - * - * @param sorteggioId the primary key of the current bo sorteggio - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSorteggio[] findByUuid_PrevAndNext( - long sorteggioId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException; - - /** - * Removes all the bo sorteggios where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo sorteggios where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sorteggio where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSorteggio findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException; - - /** - * Returns the bo sorteggio where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSorteggio fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sorteggio where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSorteggio fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo sorteggio where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo sorteggio that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSorteggio removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException; - - /** - * Returns the number of bo sorteggios where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo sorteggios where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo sorteggios where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo sorteggios where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo sorteggio in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSorteggio findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException; - - /** - * Returns the first bo sorteggio in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSorteggio fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo sorteggio in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSorteggio findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException; - - /** - * Returns the last bo sorteggio in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSorteggio fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sorteggios before and after the current bo sorteggio in the ordered set where uuid = ? and companyId = ?. - * - * @param sorteggioId the primary key of the current bo sorteggio - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSorteggio[] findByUuid_C_PrevAndNext( - long sorteggioId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException; - - /** - * Removes all the bo sorteggios where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo sorteggios where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo sorteggios where companyId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @return the matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_DettPratica( - long companyId, long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo sorteggios where companyId = ? and dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_DettPratica( - long companyId, long dettPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo sorteggios where companyId = ? and dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_DettPratica( - long companyId, long dettPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo sorteggio in the ordered set where companyId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSorteggio findByC_DettPratica_First( - long companyId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException; - - /** - * Returns the first bo sorteggio in the ordered set where companyId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSorteggio fetchByC_DettPratica_First( - long companyId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo sorteggio in the ordered set where companyId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSorteggio findByC_DettPratica_Last( - long companyId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException; - - /** - * Returns the last bo sorteggio in the ordered set where companyId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSorteggio fetchByC_DettPratica_Last( - long companyId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sorteggios before and after the current bo sorteggio in the ordered set where companyId = ? and dettPraticaId = ?. - * - * @param sorteggioId the primary key of the current bo sorteggio - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSorteggio[] findByC_DettPratica_PrevAndNext( - long sorteggioId, long companyId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException; - - /** - * Removes all the bo sorteggios where companyId = ? and dettPraticaId = ? from the database. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - public void removeByC_DettPratica(long companyId, long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo sorteggios where companyId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public int countByC_DettPratica(long companyId, long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo sorteggios where groupId = ? and anno = ? and mese = ?. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @return the matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByGroupId_Anno_Mese( - long groupId, java.lang.String anno, java.lang.String mese) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo sorteggios where groupId = ? and anno = ? and mese = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByGroupId_Anno_Mese( - long groupId, java.lang.String anno, java.lang.String mese, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo sorteggios where groupId = ? and anno = ? and mese = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByGroupId_Anno_Mese( - long groupId, java.lang.String anno, java.lang.String mese, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo sorteggio in the ordered set where groupId = ? and anno = ? and mese = ?. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSorteggio findByGroupId_Anno_Mese_First( - long groupId, java.lang.String anno, java.lang.String mese, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException; - - /** - * Returns the first bo sorteggio in the ordered set where groupId = ? and anno = ? and mese = ?. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSorteggio fetchByGroupId_Anno_Mese_First( - long groupId, java.lang.String anno, java.lang.String mese, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo sorteggio in the ordered set where groupId = ? and anno = ? and mese = ?. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSorteggio findByGroupId_Anno_Mese_Last( - long groupId, java.lang.String anno, java.lang.String mese, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException; - - /** - * Returns the last bo sorteggio in the ordered set where groupId = ? and anno = ? and mese = ?. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSorteggio fetchByGroupId_Anno_Mese_Last( - long groupId, java.lang.String anno, java.lang.String mese, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sorteggios before and after the current bo sorteggio in the ordered set where groupId = ? and anno = ? and mese = ?. - * - * @param sorteggioId the primary key of the current bo sorteggio - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSorteggio[] findByGroupId_Anno_Mese_PrevAndNext( - long sorteggioId, long groupId, java.lang.String anno, - java.lang.String mese, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException; - - /** - * Removes all the bo sorteggios where groupId = ? and anno = ? and mese = ? from the database. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @throws SystemException if a system exception occurred - */ - public void removeByGroupId_Anno_Mese(long groupId, java.lang.String anno, - java.lang.String mese) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo sorteggios where groupId = ? and anno = ? and mese = ?. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @return the number of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public int countByGroupId_Anno_Mese(long groupId, java.lang.String anno, - java.lang.String mese) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the bo sorteggio in the entity cache if it is enabled. - * - * @param boSorteggio the bo sorteggio - */ - public void cacheResult( - it.tref.liferay.portos.portosimport.model.BoSorteggio boSorteggio); - - /** - * Caches the bo sorteggios in the entity cache if it is enabled. - * - * @param boSorteggios the bo sorteggios - */ - public void cacheResult( - java.util.List boSorteggios); - - /** - * Creates a new bo sorteggio with the primary key. Does not add the bo sorteggio to the database. - * - * @param sorteggioId the primary key for the new bo sorteggio - * @return the new bo sorteggio - */ - public it.tref.liferay.portos.portosimport.model.BoSorteggio create( - long sorteggioId); - - /** - * Removes the bo sorteggio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param sorteggioId the primary key of the bo sorteggio - * @return the bo sorteggio that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSorteggio remove( - long sorteggioId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException; - - public it.tref.liferay.portos.portosimport.model.BoSorteggio updateImpl( - it.tref.liferay.portos.portosimport.model.BoSorteggio boSorteggio) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo sorteggio with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException} if it could not be found. - * - * @param sorteggioId the primary key of the bo sorteggio - * @return the bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSorteggio findByPrimaryKey( - long sorteggioId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException; - - /** - * Returns the bo sorteggio with the primary key or returns null if it could not be found. - * - * @param sorteggioId the primary key of the bo sorteggio - * @return the bo sorteggio, or null if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoSorteggio fetchByPrimaryKey( - long sorteggioId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo sorteggios. - * - * @return the bo sorteggios - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo sorteggios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of bo sorteggios - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo sorteggios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo sorteggios - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the bo sorteggios from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo sorteggios. - * - * @return the number of bo sorteggios - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoSorteggioUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoSorteggioUtil.java deleted file mode 100644 index 83cd71f4..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoSorteggioUtil.java +++ /dev/null @@ -1,1065 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.portosimport.model.BoSorteggio; - -import java.util.List; - -/** - * The persistence utility for the bo sorteggio service. This utility wraps {@link BoSorteggioPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoSorteggioPersistence - * @see BoSorteggioPersistenceImpl - * @generated - */ -public class BoSorteggioUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(BoSorteggio boSorteggio) { - getPersistence().clearCache(boSorteggio); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static BoSorteggio update(BoSorteggio boSorteggio) - throws SystemException { - return getPersistence().update(boSorteggio); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static BoSorteggio update(BoSorteggio boSorteggio, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(boSorteggio, serviceContext); - } - - /** - * Returns all the bo sorteggios where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid); - } - - /** - * Returns a range of all the bo sorteggios where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end); - } - - /** - * Returns an ordered range of all the bo sorteggios where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end, orderByComparator); - } - - /** - * Returns the first bo sorteggio in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException { - return getPersistence().findByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the first bo sorteggio in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the last bo sorteggio in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException { - return getPersistence().findByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the last bo sorteggio in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the bo sorteggios before and after the current bo sorteggio in the ordered set where uuid = ?. - * - * @param sorteggioId the primary key of the current bo sorteggio - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio[] findByUuid_PrevAndNext( - long sorteggioId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException { - return getPersistence() - .findByUuid_PrevAndNext(sorteggioId, uuid, orderByComparator); - } - - /** - * Removes all the bo sorteggios where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid(uuid); - } - - /** - * Returns the number of bo sorteggios where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid(uuid); - } - - /** - * Returns the bo sorteggio where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException { - return getPersistence().findByUUID_G(uuid, groupId); - } - - /** - * Returns the bo sorteggio where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the bo sorteggio where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache); - } - - /** - * Removes the bo sorteggio where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo sorteggio that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException { - return getPersistence().removeByUUID_G(uuid, groupId); - } - - /** - * Returns the number of bo sorteggios where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUUID_G(uuid, groupId); - } - - /** - * Returns all the bo sorteggios where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId); - } - - /** - * Returns a range of all the bo sorteggios where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId, start, end); - } - - /** - * Returns an ordered range of all the bo sorteggios where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByUuid_C(uuid, companyId, start, end, orderByComparator); - } - - /** - * Returns the first bo sorteggio in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException { - return getPersistence() - .findByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the first bo sorteggio in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the last bo sorteggio in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException { - return getPersistence() - .findByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the last bo sorteggio in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the bo sorteggios before and after the current bo sorteggio in the ordered set where uuid = ? and companyId = ?. - * - * @param sorteggioId the primary key of the current bo sorteggio - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio[] findByUuid_C_PrevAndNext( - long sorteggioId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException { - return getPersistence() - .findByUuid_C_PrevAndNext(sorteggioId, uuid, companyId, - orderByComparator); - } - - /** - * Removes all the bo sorteggios where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid_C(uuid, companyId); - } - - /** - * Returns the number of bo sorteggios where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid_C(uuid, companyId); - } - - /** - * Returns all the bo sorteggios where companyId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @return the matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_DettPratica( - long companyId, long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByC_DettPratica(companyId, dettPraticaId); - } - - /** - * Returns a range of all the bo sorteggios where companyId = ? and dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_DettPratica( - long companyId, long dettPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_DettPratica(companyId, dettPraticaId, start, end); - } - - /** - * Returns an ordered range of all the bo sorteggios where companyId = ? and dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_DettPratica( - long companyId, long dettPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_DettPratica(companyId, dettPraticaId, start, end, - orderByComparator); - } - - /** - * Returns the first bo sorteggio in the ordered set where companyId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio findByC_DettPratica_First( - long companyId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException { - return getPersistence() - .findByC_DettPratica_First(companyId, dettPraticaId, - orderByComparator); - } - - /** - * Returns the first bo sorteggio in the ordered set where companyId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio fetchByC_DettPratica_First( - long companyId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_DettPratica_First(companyId, dettPraticaId, - orderByComparator); - } - - /** - * Returns the last bo sorteggio in the ordered set where companyId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio findByC_DettPratica_Last( - long companyId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException { - return getPersistence() - .findByC_DettPratica_Last(companyId, dettPraticaId, - orderByComparator); - } - - /** - * Returns the last bo sorteggio in the ordered set where companyId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio fetchByC_DettPratica_Last( - long companyId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_DettPratica_Last(companyId, dettPraticaId, - orderByComparator); - } - - /** - * Returns the bo sorteggios before and after the current bo sorteggio in the ordered set where companyId = ? and dettPraticaId = ?. - * - * @param sorteggioId the primary key of the current bo sorteggio - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio[] findByC_DettPratica_PrevAndNext( - long sorteggioId, long companyId, long dettPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException { - return getPersistence() - .findByC_DettPratica_PrevAndNext(sorteggioId, companyId, - dettPraticaId, orderByComparator); - } - - /** - * Removes all the bo sorteggios where companyId = ? and dettPraticaId = ? from the database. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - public static void removeByC_DettPratica(long companyId, long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByC_DettPratica(companyId, dettPraticaId); - } - - /** - * Returns the number of bo sorteggios where companyId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static int countByC_DettPratica(long companyId, long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByC_DettPratica(companyId, dettPraticaId); - } - - /** - * Returns all the bo sorteggios where groupId = ? and anno = ? and mese = ?. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @return the matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByGroupId_Anno_Mese( - long groupId, java.lang.String anno, java.lang.String mese) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByGroupId_Anno_Mese(groupId, anno, mese); - } - - /** - * Returns a range of all the bo sorteggios where groupId = ? and anno = ? and mese = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByGroupId_Anno_Mese( - long groupId, java.lang.String anno, java.lang.String mese, int start, - int end) throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByGroupId_Anno_Mese(groupId, anno, mese, start, end); - } - - /** - * Returns an ordered range of all the bo sorteggios where groupId = ? and anno = ? and mese = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByGroupId_Anno_Mese( - long groupId, java.lang.String anno, java.lang.String mese, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByGroupId_Anno_Mese(groupId, anno, mese, start, end, - orderByComparator); - } - - /** - * Returns the first bo sorteggio in the ordered set where groupId = ? and anno = ? and mese = ?. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio findByGroupId_Anno_Mese_First( - long groupId, java.lang.String anno, java.lang.String mese, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException { - return getPersistence() - .findByGroupId_Anno_Mese_First(groupId, anno, mese, - orderByComparator); - } - - /** - * Returns the first bo sorteggio in the ordered set where groupId = ? and anno = ? and mese = ?. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio fetchByGroupId_Anno_Mese_First( - long groupId, java.lang.String anno, java.lang.String mese, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByGroupId_Anno_Mese_First(groupId, anno, mese, - orderByComparator); - } - - /** - * Returns the last bo sorteggio in the ordered set where groupId = ? and anno = ? and mese = ?. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio findByGroupId_Anno_Mese_Last( - long groupId, java.lang.String anno, java.lang.String mese, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException { - return getPersistence() - .findByGroupId_Anno_Mese_Last(groupId, anno, mese, - orderByComparator); - } - - /** - * Returns the last bo sorteggio in the ordered set where groupId = ? and anno = ? and mese = ?. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio fetchByGroupId_Anno_Mese_Last( - long groupId, java.lang.String anno, java.lang.String mese, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByGroupId_Anno_Mese_Last(groupId, anno, mese, - orderByComparator); - } - - /** - * Returns the bo sorteggios before and after the current bo sorteggio in the ordered set where groupId = ? and anno = ? and mese = ?. - * - * @param sorteggioId the primary key of the current bo sorteggio - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio[] findByGroupId_Anno_Mese_PrevAndNext( - long sorteggioId, long groupId, java.lang.String anno, - java.lang.String mese, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException { - return getPersistence() - .findByGroupId_Anno_Mese_PrevAndNext(sorteggioId, groupId, - anno, mese, orderByComparator); - } - - /** - * Removes all the bo sorteggios where groupId = ? and anno = ? and mese = ? from the database. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @throws SystemException if a system exception occurred - */ - public static void removeByGroupId_Anno_Mese(long groupId, - java.lang.String anno, java.lang.String mese) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByGroupId_Anno_Mese(groupId, anno, mese); - } - - /** - * Returns the number of bo sorteggios where groupId = ? and anno = ? and mese = ?. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @return the number of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static int countByGroupId_Anno_Mese(long groupId, - java.lang.String anno, java.lang.String mese) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByGroupId_Anno_Mese(groupId, anno, mese); - } - - /** - * Caches the bo sorteggio in the entity cache if it is enabled. - * - * @param boSorteggio the bo sorteggio - */ - public static void cacheResult( - it.tref.liferay.portos.portosimport.model.BoSorteggio boSorteggio) { - getPersistence().cacheResult(boSorteggio); - } - - /** - * Caches the bo sorteggios in the entity cache if it is enabled. - * - * @param boSorteggios the bo sorteggios - */ - public static void cacheResult( - java.util.List boSorteggios) { - getPersistence().cacheResult(boSorteggios); - } - - /** - * Creates a new bo sorteggio with the primary key. Does not add the bo sorteggio to the database. - * - * @param sorteggioId the primary key for the new bo sorteggio - * @return the new bo sorteggio - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio create( - long sorteggioId) { - return getPersistence().create(sorteggioId); - } - - /** - * Removes the bo sorteggio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param sorteggioId the primary key of the bo sorteggio - * @return the bo sorteggio that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio remove( - long sorteggioId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException { - return getPersistence().remove(sorteggioId); - } - - public static it.tref.liferay.portos.portosimport.model.BoSorteggio updateImpl( - it.tref.liferay.portos.portosimport.model.BoSorteggio boSorteggio) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(boSorteggio); - } - - /** - * Returns the bo sorteggio with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException} if it could not be found. - * - * @param sorteggioId the primary key of the bo sorteggio - * @return the bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio findByPrimaryKey( - long sorteggioId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException { - return getPersistence().findByPrimaryKey(sorteggioId); - } - - /** - * Returns the bo sorteggio with the primary key or returns null if it could not be found. - * - * @param sorteggioId the primary key of the bo sorteggio - * @return the bo sorteggio, or null if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoSorteggio fetchByPrimaryKey( - long sorteggioId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(sorteggioId); - } - - /** - * Returns all the bo sorteggios. - * - * @return the bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the bo sorteggios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the bo sorteggios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the bo sorteggios from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of bo sorteggios. - * - * @return the number of bo sorteggios - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static BoSorteggioPersistence getPersistence() { - if (_persistence == null) { - _persistence = (BoSorteggioPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.portosimport.service.ClpSerializer.getServletContextName(), - BoSorteggioPersistence.class.getName()); - - ReferenceRegistry.registerReference(BoSorteggioUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(BoSorteggioPersistence persistence) { - } - - private static BoSorteggioPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoStoricoSoggettoPraticaActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoStoricoSoggettoPraticaActionableDynamicQuery.java deleted file mode 100644 index ecdc7f69..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoStoricoSoggettoPraticaActionableDynamicQuery.java +++ /dev/null @@ -1,38 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica; -import it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalServiceUtil; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public abstract class BoStoricoSoggettoPraticaActionableDynamicQuery - extends BaseActionableDynamicQuery { - public BoStoricoSoggettoPraticaActionableDynamicQuery() - throws SystemException { - setBaseLocalService(BoStoricoSoggettoPraticaLocalServiceUtil.getService()); - setClass(BoStoricoSoggettoPratica.class); - - setClassLoader(it.tref.liferay.portos.portosimport.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("storicoSoggettoPraticaId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoStoricoSoggettoPraticaPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoStoricoSoggettoPraticaPersistence.java deleted file mode 100644 index 5983cca2..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoStoricoSoggettoPraticaPersistence.java +++ /dev/null @@ -1,313 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica; - -/** - * The persistence interface for the bo storico soggetto pratica service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoStoricoSoggettoPraticaPersistenceImpl - * @see BoStoricoSoggettoPraticaUtil - * @generated - */ -public interface BoStoricoSoggettoPraticaPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoStoricoSoggettoPraticaUtil} to access the bo storico soggetto pratica persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns all the bo storico soggetto praticas where companyId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @return the matching bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_IntPratica( - long companyId, long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo storico soggetto praticas where companyId = ? and intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo storico soggetto praticas - * @param end the upper bound of the range of bo storico soggetto praticas (not inclusive) - * @return the range of matching bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_IntPratica( - long companyId, long intPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo storico soggetto praticas where companyId = ? and intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo storico soggetto praticas - * @param end the upper bound of the range of bo storico soggetto praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_IntPratica( - long companyId, long intPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo storico soggetto pratica in the ordered set where companyId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo storico soggetto pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoStoricoSoggettoPraticaException if a matching bo storico soggetto pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica findByC_IntPratica_First( - long companyId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoStoricoSoggettoPraticaException; - - /** - * Returns the first bo storico soggetto pratica in the ordered set where companyId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo storico soggetto pratica, or null if a matching bo storico soggetto pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica fetchByC_IntPratica_First( - long companyId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo storico soggetto pratica in the ordered set where companyId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo storico soggetto pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoStoricoSoggettoPraticaException if a matching bo storico soggetto pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica findByC_IntPratica_Last( - long companyId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoStoricoSoggettoPraticaException; - - /** - * Returns the last bo storico soggetto pratica in the ordered set where companyId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo storico soggetto pratica, or null if a matching bo storico soggetto pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica fetchByC_IntPratica_Last( - long companyId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo storico soggetto praticas before and after the current bo storico soggetto pratica in the ordered set where companyId = ? and intPraticaId = ?. - * - * @param storicoSoggettoPraticaId the primary key of the current bo storico soggetto pratica - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo storico soggetto pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoStoricoSoggettoPraticaException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica[] findByC_IntPratica_PrevAndNext( - long storicoSoggettoPraticaId, long companyId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoStoricoSoggettoPraticaException; - - /** - * Removes all the bo storico soggetto praticas where companyId = ? and intPraticaId = ? from the database. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @throws SystemException if a system exception occurred - */ - public void removeByC_IntPratica(long companyId, long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo storico soggetto praticas where companyId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @return the number of matching bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - public int countByC_IntPratica(long companyId, long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the bo storico soggetto pratica in the entity cache if it is enabled. - * - * @param boStoricoSoggettoPratica the bo storico soggetto pratica - */ - public void cacheResult( - it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica); - - /** - * Caches the bo storico soggetto praticas in the entity cache if it is enabled. - * - * @param boStoricoSoggettoPraticas the bo storico soggetto praticas - */ - public void cacheResult( - java.util.List boStoricoSoggettoPraticas); - - /** - * Creates a new bo storico soggetto pratica with the primary key. Does not add the bo storico soggetto pratica to the database. - * - * @param storicoSoggettoPraticaId the primary key for the new bo storico soggetto pratica - * @return the new bo storico soggetto pratica - */ - public it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica create( - long storicoSoggettoPraticaId); - - /** - * Removes the bo storico soggetto pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param storicoSoggettoPraticaId the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoStoricoSoggettoPraticaException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica remove( - long storicoSoggettoPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoStoricoSoggettoPraticaException; - - public it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica updateImpl( - it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo storico soggetto pratica with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoStoricoSoggettoPraticaException} if it could not be found. - * - * @param storicoSoggettoPraticaId the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoStoricoSoggettoPraticaException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica findByPrimaryKey( - long storicoSoggettoPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoStoricoSoggettoPraticaException; - - /** - * Returns the bo storico soggetto pratica with the primary key or returns null if it could not be found. - * - * @param storicoSoggettoPraticaId the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica, or null if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica fetchByPrimaryKey( - long storicoSoggettoPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo storico soggetto praticas. - * - * @return the bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo storico soggetto praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo storico soggetto praticas - * @param end the upper bound of the range of bo storico soggetto praticas (not inclusive) - * @return the range of bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo storico soggetto praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo storico soggetto praticas - * @param end the upper bound of the range of bo storico soggetto praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the bo storico soggetto praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo storico soggetto praticas. - * - * @return the number of bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoStoricoSoggettoPraticaUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoStoricoSoggettoPraticaUtil.java deleted file mode 100644 index fb05e773..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoStoricoSoggettoPraticaUtil.java +++ /dev/null @@ -1,466 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica; - -import java.util.List; - -/** - * The persistence utility for the bo storico soggetto pratica service. This utility wraps {@link BoStoricoSoggettoPraticaPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoStoricoSoggettoPraticaPersistence - * @see BoStoricoSoggettoPraticaPersistenceImpl - * @generated - */ -public class BoStoricoSoggettoPraticaUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache( - BoStoricoSoggettoPratica boStoricoSoggettoPratica) { - getPersistence().clearCache(boStoricoSoggettoPratica); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static BoStoricoSoggettoPratica update( - BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws SystemException { - return getPersistence().update(boStoricoSoggettoPratica); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static BoStoricoSoggettoPratica update( - BoStoricoSoggettoPratica boStoricoSoggettoPratica, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(boStoricoSoggettoPratica, serviceContext); - } - - /** - * Returns all the bo storico soggetto praticas where companyId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @return the matching bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_IntPratica( - long companyId, long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByC_IntPratica(companyId, intPraticaId); - } - - /** - * Returns a range of all the bo storico soggetto praticas where companyId = ? and intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo storico soggetto praticas - * @param end the upper bound of the range of bo storico soggetto praticas (not inclusive) - * @return the range of matching bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_IntPratica( - long companyId, long intPraticaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_IntPratica(companyId, intPraticaId, start, end); - } - - /** - * Returns an ordered range of all the bo storico soggetto praticas where companyId = ? and intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo storico soggetto praticas - * @param end the upper bound of the range of bo storico soggetto praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_IntPratica( - long companyId, long intPraticaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_IntPratica(companyId, intPraticaId, start, end, - orderByComparator); - } - - /** - * Returns the first bo storico soggetto pratica in the ordered set where companyId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo storico soggetto pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoStoricoSoggettoPraticaException if a matching bo storico soggetto pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica findByC_IntPratica_First( - long companyId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoStoricoSoggettoPraticaException { - return getPersistence() - .findByC_IntPratica_First(companyId, intPraticaId, - orderByComparator); - } - - /** - * Returns the first bo storico soggetto pratica in the ordered set where companyId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo storico soggetto pratica, or null if a matching bo storico soggetto pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica fetchByC_IntPratica_First( - long companyId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_IntPratica_First(companyId, intPraticaId, - orderByComparator); - } - - /** - * Returns the last bo storico soggetto pratica in the ordered set where companyId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo storico soggetto pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoStoricoSoggettoPraticaException if a matching bo storico soggetto pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica findByC_IntPratica_Last( - long companyId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoStoricoSoggettoPraticaException { - return getPersistence() - .findByC_IntPratica_Last(companyId, intPraticaId, - orderByComparator); - } - - /** - * Returns the last bo storico soggetto pratica in the ordered set where companyId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo storico soggetto pratica, or null if a matching bo storico soggetto pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica fetchByC_IntPratica_Last( - long companyId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_IntPratica_Last(companyId, intPraticaId, - orderByComparator); - } - - /** - * Returns the bo storico soggetto praticas before and after the current bo storico soggetto pratica in the ordered set where companyId = ? and intPraticaId = ?. - * - * @param storicoSoggettoPraticaId the primary key of the current bo storico soggetto pratica - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo storico soggetto pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoStoricoSoggettoPraticaException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica[] findByC_IntPratica_PrevAndNext( - long storicoSoggettoPraticaId, long companyId, long intPraticaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoStoricoSoggettoPraticaException { - return getPersistence() - .findByC_IntPratica_PrevAndNext(storicoSoggettoPraticaId, - companyId, intPraticaId, orderByComparator); - } - - /** - * Removes all the bo storico soggetto praticas where companyId = ? and intPraticaId = ? from the database. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @throws SystemException if a system exception occurred - */ - public static void removeByC_IntPratica(long companyId, long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByC_IntPratica(companyId, intPraticaId); - } - - /** - * Returns the number of bo storico soggetto praticas where companyId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @return the number of matching bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - public static int countByC_IntPratica(long companyId, long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByC_IntPratica(companyId, intPraticaId); - } - - /** - * Caches the bo storico soggetto pratica in the entity cache if it is enabled. - * - * @param boStoricoSoggettoPratica the bo storico soggetto pratica - */ - public static void cacheResult( - it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica) { - getPersistence().cacheResult(boStoricoSoggettoPratica); - } - - /** - * Caches the bo storico soggetto praticas in the entity cache if it is enabled. - * - * @param boStoricoSoggettoPraticas the bo storico soggetto praticas - */ - public static void cacheResult( - java.util.List boStoricoSoggettoPraticas) { - getPersistence().cacheResult(boStoricoSoggettoPraticas); - } - - /** - * Creates a new bo storico soggetto pratica with the primary key. Does not add the bo storico soggetto pratica to the database. - * - * @param storicoSoggettoPraticaId the primary key for the new bo storico soggetto pratica - * @return the new bo storico soggetto pratica - */ - public static it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica create( - long storicoSoggettoPraticaId) { - return getPersistence().create(storicoSoggettoPraticaId); - } - - /** - * Removes the bo storico soggetto pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param storicoSoggettoPraticaId the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoStoricoSoggettoPraticaException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica remove( - long storicoSoggettoPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoStoricoSoggettoPraticaException { - return getPersistence().remove(storicoSoggettoPraticaId); - } - - public static it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica updateImpl( - it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(boStoricoSoggettoPratica); - } - - /** - * Returns the bo storico soggetto pratica with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoStoricoSoggettoPraticaException} if it could not be found. - * - * @param storicoSoggettoPraticaId the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoStoricoSoggettoPraticaException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica findByPrimaryKey( - long storicoSoggettoPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoStoricoSoggettoPraticaException { - return getPersistence().findByPrimaryKey(storicoSoggettoPraticaId); - } - - /** - * Returns the bo storico soggetto pratica with the primary key or returns null if it could not be found. - * - * @param storicoSoggettoPraticaId the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica, or null if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica fetchByPrimaryKey( - long storicoSoggettoPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(storicoSoggettoPraticaId); - } - - /** - * Returns all the bo storico soggetto praticas. - * - * @return the bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the bo storico soggetto praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo storico soggetto praticas - * @param end the upper bound of the range of bo storico soggetto praticas (not inclusive) - * @return the range of bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the bo storico soggetto praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo storico soggetto praticas - * @param end the upper bound of the range of bo storico soggetto praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the bo storico soggetto praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of bo storico soggetto praticas. - * - * @return the number of bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static BoStoricoSoggettoPraticaPersistence getPersistence() { - if (_persistence == null) { - _persistence = (BoStoricoSoggettoPraticaPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.portosimport.service.ClpSerializer.getServletContextName(), - BoStoricoSoggettoPraticaPersistence.class.getName()); - - ReferenceRegistry.registerReference(BoStoricoSoggettoPraticaUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(BoStoricoSoggettoPraticaPersistence persistence) { - } - - private static BoStoricoSoggettoPraticaPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoTempisticaActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoTempisticaActionableDynamicQuery.java deleted file mode 100644 index 0571415f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoTempisticaActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.BoTempistica; -import it.tref.liferay.portos.portosimport.service.BoTempisticaLocalServiceUtil; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public abstract class BoTempisticaActionableDynamicQuery - extends BaseActionableDynamicQuery { - public BoTempisticaActionableDynamicQuery() throws SystemException { - setBaseLocalService(BoTempisticaLocalServiceUtil.getService()); - setClass(BoTempistica.class); - - setClassLoader(it.tref.liferay.portos.portosimport.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("tempisticaId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoTempisticaExportActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoTempisticaExportActionableDynamicQuery.java deleted file mode 100644 index b1223bbd..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoTempisticaExportActionableDynamicQuery.java +++ /dev/null @@ -1,85 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.ExportImportHelperUtil; -import com.liferay.portal.kernel.lar.ManifestSummary; -import com.liferay.portal.kernel.lar.PortletDataContext; -import com.liferay.portal.kernel.lar.StagedModelDataHandlerUtil; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.portosimport.model.BoTempistica; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoTempisticaExportActionableDynamicQuery - extends BoTempisticaActionableDynamicQuery { - public BoTempisticaExportActionableDynamicQuery( - PortletDataContext portletDataContext) throws SystemException { - _portletDataContext = portletDataContext; - - setCompanyId(_portletDataContext.getCompanyId()); - - setGroupId(_portletDataContext.getScopeGroupId()); - } - - @Override - public long performCount() throws PortalException, SystemException { - ManifestSummary manifestSummary = _portletDataContext.getManifestSummary(); - - StagedModelType stagedModelType = getStagedModelType(); - - long modelAdditionCount = super.performCount(); - - manifestSummary.addModelAdditionCount(stagedModelType.toString(), - modelAdditionCount); - - long modelDeletionCount = ExportImportHelperUtil.getModelDeletionCount(_portletDataContext, - stagedModelType); - - manifestSummary.addModelDeletionCount(stagedModelType.toString(), - modelDeletionCount); - - return modelAdditionCount; - } - - @Override - protected void addCriteria(DynamicQuery dynamicQuery) { - _portletDataContext.addDateRangeCriteria(dynamicQuery, "modifiedDate"); - } - - protected StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoTempistica.class.getName())); - } - - @Override - @SuppressWarnings("unused") - protected void performAction(Object object) - throws PortalException, SystemException { - BoTempistica stagedModel = (BoTempistica)object; - - StagedModelDataHandlerUtil.exportStagedModel(_portletDataContext, - stagedModel); - } - - private PortletDataContext _portletDataContext; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoTempisticaPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoTempisticaPersistence.java deleted file mode 100644 index 6da53af7..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoTempisticaPersistence.java +++ /dev/null @@ -1,692 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.portosimport.model.BoTempistica; - -/** - * The persistence interface for the bo tempistica service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoTempisticaPersistenceImpl - * @see BoTempisticaUtil - * @generated - */ -public interface BoTempisticaPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoTempisticaUtil} to access the bo tempistica persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns all the bo tempisticas where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo tempisticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @return the range of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo tempisticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo tempistica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo tempistica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTempistica findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException; - - /** - * Returns the first bo tempistica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTempistica fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo tempistica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo tempistica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTempistica findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException; - - /** - * Returns the last bo tempistica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTempistica fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo tempisticas before and after the current bo tempistica in the ordered set where uuid = ?. - * - * @param tempisticaId the primary key of the current bo tempistica - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo tempistica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTempistica[] findByUuid_PrevAndNext( - long tempisticaId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException; - - /** - * Removes all the bo tempisticas where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo tempisticas where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo tempistica where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo tempistica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTempistica findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException; - - /** - * Returns the bo tempistica where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTempistica fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo tempistica where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTempistica fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo tempistica where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo tempistica that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTempistica removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException; - - /** - * Returns the number of bo tempisticas where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo tempisticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo tempisticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @return the range of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo tempisticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo tempistica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo tempistica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTempistica findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException; - - /** - * Returns the first bo tempistica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTempistica fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo tempistica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo tempistica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTempistica findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException; - - /** - * Returns the last bo tempistica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTempistica fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo tempisticas before and after the current bo tempistica in the ordered set where uuid = ? and companyId = ?. - * - * @param tempisticaId the primary key of the current bo tempistica - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo tempistica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTempistica[] findByUuid_C_PrevAndNext( - long tempisticaId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException; - - /** - * Removes all the bo tempisticas where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo tempisticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo tempisticas where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @return the matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_IntPratica_Tipo_Completo( - long companyId, long intPraticaId, java.lang.String tipo, - boolean completo) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo tempisticas where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @return the range of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_IntPratica_Tipo_Completo( - long companyId, long intPraticaId, java.lang.String tipo, - boolean completo, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo tempisticas where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_IntPratica_Tipo_Completo( - long companyId, long intPraticaId, java.lang.String tipo, - boolean completo, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo tempistica in the ordered set where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo tempistica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTempistica findByC_IntPratica_Tipo_Completo_First( - long companyId, long intPraticaId, java.lang.String tipo, - boolean completo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException; - - /** - * Returns the first bo tempistica in the ordered set where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTempistica fetchByC_IntPratica_Tipo_Completo_First( - long companyId, long intPraticaId, java.lang.String tipo, - boolean completo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo tempistica in the ordered set where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo tempistica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTempistica findByC_IntPratica_Tipo_Completo_Last( - long companyId, long intPraticaId, java.lang.String tipo, - boolean completo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException; - - /** - * Returns the last bo tempistica in the ordered set where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTempistica fetchByC_IntPratica_Tipo_Completo_Last( - long companyId, long intPraticaId, java.lang.String tipo, - boolean completo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo tempisticas before and after the current bo tempistica in the ordered set where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param tempisticaId the primary key of the current bo tempistica - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo tempistica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTempistica[] findByC_IntPratica_Tipo_Completo_PrevAndNext( - long tempisticaId, long companyId, long intPraticaId, - java.lang.String tipo, boolean completo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException; - - /** - * Removes all the bo tempisticas where companyId = ? and intPraticaId = ? and tipo = ? and completo = ? from the database. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @throws SystemException if a system exception occurred - */ - public void removeByC_IntPratica_Tipo_Completo(long companyId, - long intPraticaId, java.lang.String tipo, boolean completo) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo tempisticas where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @return the number of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public int countByC_IntPratica_Tipo_Completo(long companyId, - long intPraticaId, java.lang.String tipo, boolean completo) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the bo tempistica in the entity cache if it is enabled. - * - * @param boTempistica the bo tempistica - */ - public void cacheResult( - it.tref.liferay.portos.portosimport.model.BoTempistica boTempistica); - - /** - * Caches the bo tempisticas in the entity cache if it is enabled. - * - * @param boTempisticas the bo tempisticas - */ - public void cacheResult( - java.util.List boTempisticas); - - /** - * Creates a new bo tempistica with the primary key. Does not add the bo tempistica to the database. - * - * @param tempisticaId the primary key for the new bo tempistica - * @return the new bo tempistica - */ - public it.tref.liferay.portos.portosimport.model.BoTempistica create( - long tempisticaId); - - /** - * Removes the bo tempistica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param tempisticaId the primary key of the bo tempistica - * @return the bo tempistica that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTempistica remove( - long tempisticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException; - - public it.tref.liferay.portos.portosimport.model.BoTempistica updateImpl( - it.tref.liferay.portos.portosimport.model.BoTempistica boTempistica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo tempistica with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException} if it could not be found. - * - * @param tempisticaId the primary key of the bo tempistica - * @return the bo tempistica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTempistica findByPrimaryKey( - long tempisticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException; - - /** - * Returns the bo tempistica with the primary key or returns null if it could not be found. - * - * @param tempisticaId the primary key of the bo tempistica - * @return the bo tempistica, or null if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTempistica fetchByPrimaryKey( - long tempisticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo tempisticas. - * - * @return the bo tempisticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo tempisticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @return the range of bo tempisticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo tempisticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo tempisticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the bo tempisticas from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo tempisticas. - * - * @return the number of bo tempisticas - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoTempisticaUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoTempisticaUtil.java deleted file mode 100644 index a65c2f79..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoTempisticaUtil.java +++ /dev/null @@ -1,907 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.portosimport.model.BoTempistica; - -import java.util.List; - -/** - * The persistence utility for the bo tempistica service. This utility wraps {@link BoTempisticaPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoTempisticaPersistence - * @see BoTempisticaPersistenceImpl - * @generated - */ -public class BoTempisticaUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(BoTempistica boTempistica) { - getPersistence().clearCache(boTempistica); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static BoTempistica update(BoTempistica boTempistica) - throws SystemException { - return getPersistence().update(boTempistica); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static BoTempistica update(BoTempistica boTempistica, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(boTempistica, serviceContext); - } - - /** - * Returns all the bo tempisticas where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid); - } - - /** - * Returns a range of all the bo tempisticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @return the range of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end); - } - - /** - * Returns an ordered range of all the bo tempisticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end, orderByComparator); - } - - /** - * Returns the first bo tempistica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo tempistica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTempistica findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException { - return getPersistence().findByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the first bo tempistica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTempistica fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the last bo tempistica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo tempistica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTempistica findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException { - return getPersistence().findByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the last bo tempistica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTempistica fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the bo tempisticas before and after the current bo tempistica in the ordered set where uuid = ?. - * - * @param tempisticaId the primary key of the current bo tempistica - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo tempistica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTempistica[] findByUuid_PrevAndNext( - long tempisticaId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException { - return getPersistence() - .findByUuid_PrevAndNext(tempisticaId, uuid, orderByComparator); - } - - /** - * Removes all the bo tempisticas where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid(uuid); - } - - /** - * Returns the number of bo tempisticas where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid(uuid); - } - - /** - * Returns the bo tempistica where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo tempistica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTempistica findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException { - return getPersistence().findByUUID_G(uuid, groupId); - } - - /** - * Returns the bo tempistica where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTempistica fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the bo tempistica where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTempistica fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache); - } - - /** - * Removes the bo tempistica where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo tempistica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTempistica removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException { - return getPersistence().removeByUUID_G(uuid, groupId); - } - - /** - * Returns the number of bo tempisticas where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUUID_G(uuid, groupId); - } - - /** - * Returns all the bo tempisticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId); - } - - /** - * Returns a range of all the bo tempisticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @return the range of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId, start, end); - } - - /** - * Returns an ordered range of all the bo tempisticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByUuid_C(uuid, companyId, start, end, orderByComparator); - } - - /** - * Returns the first bo tempistica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo tempistica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTempistica findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException { - return getPersistence() - .findByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the first bo tempistica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTempistica fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the last bo tempistica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo tempistica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTempistica findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException { - return getPersistence() - .findByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the last bo tempistica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTempistica fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the bo tempisticas before and after the current bo tempistica in the ordered set where uuid = ? and companyId = ?. - * - * @param tempisticaId the primary key of the current bo tempistica - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo tempistica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTempistica[] findByUuid_C_PrevAndNext( - long tempisticaId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException { - return getPersistence() - .findByUuid_C_PrevAndNext(tempisticaId, uuid, companyId, - orderByComparator); - } - - /** - * Removes all the bo tempisticas where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid_C(uuid, companyId); - } - - /** - * Returns the number of bo tempisticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid_C(uuid, companyId); - } - - /** - * Returns all the bo tempisticas where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @return the matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_IntPratica_Tipo_Completo( - long companyId, long intPraticaId, java.lang.String tipo, - boolean completo) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_IntPratica_Tipo_Completo(companyId, intPraticaId, - tipo, completo); - } - - /** - * Returns a range of all the bo tempisticas where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @return the range of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_IntPratica_Tipo_Completo( - long companyId, long intPraticaId, java.lang.String tipo, - boolean completo, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_IntPratica_Tipo_Completo(companyId, intPraticaId, - tipo, completo, start, end); - } - - /** - * Returns an ordered range of all the bo tempisticas where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_IntPratica_Tipo_Completo( - long companyId, long intPraticaId, java.lang.String tipo, - boolean completo, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_IntPratica_Tipo_Completo(companyId, intPraticaId, - tipo, completo, start, end, orderByComparator); - } - - /** - * Returns the first bo tempistica in the ordered set where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo tempistica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTempistica findByC_IntPratica_Tipo_Completo_First( - long companyId, long intPraticaId, java.lang.String tipo, - boolean completo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException { - return getPersistence() - .findByC_IntPratica_Tipo_Completo_First(companyId, - intPraticaId, tipo, completo, orderByComparator); - } - - /** - * Returns the first bo tempistica in the ordered set where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTempistica fetchByC_IntPratica_Tipo_Completo_First( - long companyId, long intPraticaId, java.lang.String tipo, - boolean completo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_IntPratica_Tipo_Completo_First(companyId, - intPraticaId, tipo, completo, orderByComparator); - } - - /** - * Returns the last bo tempistica in the ordered set where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo tempistica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTempistica findByC_IntPratica_Tipo_Completo_Last( - long companyId, long intPraticaId, java.lang.String tipo, - boolean completo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException { - return getPersistence() - .findByC_IntPratica_Tipo_Completo_Last(companyId, - intPraticaId, tipo, completo, orderByComparator); - } - - /** - * Returns the last bo tempistica in the ordered set where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTempistica fetchByC_IntPratica_Tipo_Completo_Last( - long companyId, long intPraticaId, java.lang.String tipo, - boolean completo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_IntPratica_Tipo_Completo_Last(companyId, - intPraticaId, tipo, completo, orderByComparator); - } - - /** - * Returns the bo tempisticas before and after the current bo tempistica in the ordered set where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param tempisticaId the primary key of the current bo tempistica - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo tempistica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTempistica[] findByC_IntPratica_Tipo_Completo_PrevAndNext( - long tempisticaId, long companyId, long intPraticaId, - java.lang.String tipo, boolean completo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException { - return getPersistence() - .findByC_IntPratica_Tipo_Completo_PrevAndNext(tempisticaId, - companyId, intPraticaId, tipo, completo, orderByComparator); - } - - /** - * Removes all the bo tempisticas where companyId = ? and intPraticaId = ? and tipo = ? and completo = ? from the database. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @throws SystemException if a system exception occurred - */ - public static void removeByC_IntPratica_Tipo_Completo(long companyId, - long intPraticaId, java.lang.String tipo, boolean completo) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence() - .removeByC_IntPratica_Tipo_Completo(companyId, intPraticaId, tipo, - completo); - } - - /** - * Returns the number of bo tempisticas where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @return the number of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static int countByC_IntPratica_Tipo_Completo(long companyId, - long intPraticaId, java.lang.String tipo, boolean completo) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .countByC_IntPratica_Tipo_Completo(companyId, intPraticaId, - tipo, completo); - } - - /** - * Caches the bo tempistica in the entity cache if it is enabled. - * - * @param boTempistica the bo tempistica - */ - public static void cacheResult( - it.tref.liferay.portos.portosimport.model.BoTempistica boTempistica) { - getPersistence().cacheResult(boTempistica); - } - - /** - * Caches the bo tempisticas in the entity cache if it is enabled. - * - * @param boTempisticas the bo tempisticas - */ - public static void cacheResult( - java.util.List boTempisticas) { - getPersistence().cacheResult(boTempisticas); - } - - /** - * Creates a new bo tempistica with the primary key. Does not add the bo tempistica to the database. - * - * @param tempisticaId the primary key for the new bo tempistica - * @return the new bo tempistica - */ - public static it.tref.liferay.portos.portosimport.model.BoTempistica create( - long tempisticaId) { - return getPersistence().create(tempisticaId); - } - - /** - * Removes the bo tempistica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param tempisticaId the primary key of the bo tempistica - * @return the bo tempistica that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTempistica remove( - long tempisticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException { - return getPersistence().remove(tempisticaId); - } - - public static it.tref.liferay.portos.portosimport.model.BoTempistica updateImpl( - it.tref.liferay.portos.portosimport.model.BoTempistica boTempistica) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(boTempistica); - } - - /** - * Returns the bo tempistica with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException} if it could not be found. - * - * @param tempisticaId the primary key of the bo tempistica - * @return the bo tempistica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTempistica findByPrimaryKey( - long tempisticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException { - return getPersistence().findByPrimaryKey(tempisticaId); - } - - /** - * Returns the bo tempistica with the primary key or returns null if it could not be found. - * - * @param tempisticaId the primary key of the bo tempistica - * @return the bo tempistica, or null if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTempistica fetchByPrimaryKey( - long tempisticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(tempisticaId); - } - - /** - * Returns all the bo tempisticas. - * - * @return the bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the bo tempisticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @return the range of bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the bo tempisticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the bo tempisticas from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of bo tempisticas. - * - * @return the number of bo tempisticas - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static BoTempisticaPersistence getPersistence() { - if (_persistence == null) { - _persistence = (BoTempisticaPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.portosimport.service.ClpSerializer.getServletContextName(), - BoTempisticaPersistence.class.getName()); - - ReferenceRegistry.registerReference(BoTempisticaUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(BoTempisticaPersistence persistence) { - } - - private static BoTempisticaPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoTerritorioActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoTerritorioActionableDynamicQuery.java deleted file mode 100644 index e5e60d6f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoTerritorioActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.BoTerritorio; -import it.tref.liferay.portos.portosimport.service.BoTerritorioLocalServiceUtil; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public abstract class BoTerritorioActionableDynamicQuery - extends BaseActionableDynamicQuery { - public BoTerritorioActionableDynamicQuery() throws SystemException { - setBaseLocalService(BoTerritorioLocalServiceUtil.getService()); - setClass(BoTerritorio.class); - - setClassLoader(it.tref.liferay.portos.portosimport.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("territorioId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoTerritorioPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoTerritorioPersistence.java deleted file mode 100644 index c6341e59..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoTerritorioPersistence.java +++ /dev/null @@ -1,801 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.portosimport.model.BoTerritorio; - -/** - * The persistence interface for the bo territorio service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoTerritorioPersistenceImpl - * @see BoTerritorioUtil - * @generated - */ -public interface BoTerritorioPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link BoTerritorioUtil} to access the bo territorio persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns all the bo territorios where comuneId = ?. - * - * @param comuneId the comune ID - * @return the matching bo territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByComuneId( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo territorios where comuneId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param comuneId the comune ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByComuneId( - long comuneId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo territorios where comuneId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param comuneId the comune ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByComuneId( - long comuneId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTerritorio findByComuneId_First( - long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException; - - /** - * Returns the first bo territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTerritorio fetchByComuneId_First( - long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTerritorio findByComuneId_Last( - long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException; - - /** - * Returns the last bo territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTerritorio fetchByComuneId_Last( - long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo territorios before and after the current bo territorio in the ordered set where comuneId = ?. - * - * @param territorioId the primary key of the current bo territorio - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTerritorio[] findByComuneId_PrevAndNext( - long territorioId, long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException; - - /** - * Removes all the bo territorios where comuneId = ? from the database. - * - * @param comuneId the comune ID - * @throws SystemException if a system exception occurred - */ - public void removeByComuneId(long comuneId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo territorios where comuneId = ?. - * - * @param comuneId the comune ID - * @return the number of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public int countByComuneId(long comuneId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo territorios where zonaId = ?. - * - * @param zonaId the zona ID - * @return the matching bo territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByZonaId( - long zonaId) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo territorios where zonaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param zonaId the zona ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByZonaId( - long zonaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo territorios where zonaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param zonaId the zona ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByZonaId( - long zonaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTerritorio findByZonaId_First( - long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException; - - /** - * Returns the first bo territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTerritorio fetchByZonaId_First( - long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTerritorio findByZonaId_Last( - long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException; - - /** - * Returns the last bo territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTerritorio fetchByZonaId_Last( - long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo territorios before and after the current bo territorio in the ordered set where zonaId = ?. - * - * @param territorioId the primary key of the current bo territorio - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTerritorio[] findByZonaId_PrevAndNext( - long territorioId, long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException; - - /** - * Removes all the bo territorios where zonaId = ? from the database. - * - * @param zonaId the zona ID - * @throws SystemException if a system exception occurred - */ - public void removeByZonaId(long zonaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo territorios where zonaId = ?. - * - * @param zonaId the zona ID - * @return the number of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public int countByZonaId(long zonaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo territorios where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @return the matching bo territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByFasciaId( - long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo territorios where fasciaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param fasciaId the fascia ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByFasciaId( - long fasciaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo territorios where fasciaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param fasciaId the fascia ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByFasciaId( - long fasciaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTerritorio findByFasciaId_First( - long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException; - - /** - * Returns the first bo territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTerritorio fetchByFasciaId_First( - long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTerritorio findByFasciaId_Last( - long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException; - - /** - * Returns the last bo territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTerritorio fetchByFasciaId_Last( - long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo territorios before and after the current bo territorio in the ordered set where fasciaId = ?. - * - * @param territorioId the primary key of the current bo territorio - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTerritorio[] findByFasciaId_PrevAndNext( - long territorioId, long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException; - - /** - * Removes all the bo territorios where fasciaId = ? from the database. - * - * @param fasciaId the fascia ID - * @throws SystemException if a system exception occurred - */ - public void removeByFasciaId(long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo territorios where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @return the number of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public int countByFasciaId(long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException} if it could not be found. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the matching bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTerritorio findByC_Z_F_D( - long comuneId, long zonaId, long fasciaId, java.util.Date dtIni) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException; - - /** - * Returns the bo territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? or returns null if it could not be found. Uses the finder cache. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTerritorio fetchByC_Z_F_D( - long comuneId, long zonaId, long fasciaId, java.util.Date dtIni) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTerritorio fetchByC_Z_F_D( - long comuneId, long zonaId, long fasciaId, java.util.Date dtIni, - boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the bo territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? from the database. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the bo territorio that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTerritorio removeByC_Z_F_D( - long comuneId, long zonaId, long fasciaId, java.util.Date dtIni) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException; - - /** - * Returns the number of bo territorios where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the number of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public int countByC_Z_F_D(long comuneId, long zonaId, long fasciaId, - java.util.Date dtIni) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo territorios where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @return the matching bo territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group( - long companyId, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo territorios where companyId = ? and groupId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group( - long companyId, long groupId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo territorios where companyId = ? and groupId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Group( - long companyId, long groupId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first bo territorio in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTerritorio findByC_Group_First( - long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException; - - /** - * Returns the first bo territorio in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTerritorio fetchByC_Group_First( - long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last bo territorio in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTerritorio findByC_Group_Last( - long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException; - - /** - * Returns the last bo territorio in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTerritorio fetchByC_Group_Last( - long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo territorios before and after the current bo territorio in the ordered set where companyId = ? and groupId = ?. - * - * @param territorioId the primary key of the current bo territorio - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTerritorio[] findByC_Group_PrevAndNext( - long territorioId, long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException; - - /** - * Removes all the bo territorios where companyId = ? and groupId = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @throws SystemException if a system exception occurred - */ - public void removeByC_Group(long companyId, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo territorios where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @return the number of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public int countByC_Group(long companyId, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the bo territorio in the entity cache if it is enabled. - * - * @param boTerritorio the bo territorio - */ - public void cacheResult( - it.tref.liferay.portos.portosimport.model.BoTerritorio boTerritorio); - - /** - * Caches the bo territorios in the entity cache if it is enabled. - * - * @param boTerritorios the bo territorios - */ - public void cacheResult( - java.util.List boTerritorios); - - /** - * Creates a new bo territorio with the primary key. Does not add the bo territorio to the database. - * - * @param territorioId the primary key for the new bo territorio - * @return the new bo territorio - */ - public it.tref.liferay.portos.portosimport.model.BoTerritorio create( - long territorioId); - - /** - * Removes the bo territorio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param territorioId the primary key of the bo territorio - * @return the bo territorio that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTerritorio remove( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException; - - public it.tref.liferay.portos.portosimport.model.BoTerritorio updateImpl( - it.tref.liferay.portos.portosimport.model.BoTerritorio boTerritorio) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the bo territorio with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException} if it could not be found. - * - * @param territorioId the primary key of the bo territorio - * @return the bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTerritorio findByPrimaryKey( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException; - - /** - * Returns the bo territorio with the primary key or returns null if it could not be found. - * - * @param territorioId the primary key of the bo territorio - * @return the bo territorio, or null if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.BoTerritorio fetchByPrimaryKey( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the bo territorios. - * - * @return the bo territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the bo territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of bo territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the bo territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the bo territorios from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of bo territorios. - * - * @return the number of bo territorios - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoTerritorioUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoTerritorioUtil.java deleted file mode 100644 index 45aae74e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/BoTerritorioUtil.java +++ /dev/null @@ -1,1030 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.portosimport.model.BoTerritorio; - -import java.util.List; - -/** - * The persistence utility for the bo territorio service. This utility wraps {@link BoTerritorioPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoTerritorioPersistence - * @see BoTerritorioPersistenceImpl - * @generated - */ -public class BoTerritorioUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(BoTerritorio boTerritorio) { - getPersistence().clearCache(boTerritorio); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static BoTerritorio update(BoTerritorio boTerritorio) - throws SystemException { - return getPersistence().update(boTerritorio); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static BoTerritorio update(BoTerritorio boTerritorio, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(boTerritorio, serviceContext); - } - - /** - * Returns all the bo territorios where comuneId = ?. - * - * @param comuneId the comune ID - * @return the matching bo territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByComuneId( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByComuneId(comuneId); - } - - /** - * Returns a range of all the bo territorios where comuneId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param comuneId the comune ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByComuneId( - long comuneId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByComuneId(comuneId, start, end); - } - - /** - * Returns an ordered range of all the bo territorios where comuneId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param comuneId the comune ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByComuneId( - long comuneId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByComuneId(comuneId, start, end, orderByComparator); - } - - /** - * Returns the first bo territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTerritorio findByComuneId_First( - long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException { - return getPersistence().findByComuneId_First(comuneId, orderByComparator); - } - - /** - * Returns the first bo territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTerritorio fetchByComuneId_First( - long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByComuneId_First(comuneId, orderByComparator); - } - - /** - * Returns the last bo territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTerritorio findByComuneId_Last( - long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException { - return getPersistence().findByComuneId_Last(comuneId, orderByComparator); - } - - /** - * Returns the last bo territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTerritorio fetchByComuneId_Last( - long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByComuneId_Last(comuneId, orderByComparator); - } - - /** - * Returns the bo territorios before and after the current bo territorio in the ordered set where comuneId = ?. - * - * @param territorioId the primary key of the current bo territorio - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTerritorio[] findByComuneId_PrevAndNext( - long territorioId, long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException { - return getPersistence() - .findByComuneId_PrevAndNext(territorioId, comuneId, - orderByComparator); - } - - /** - * Removes all the bo territorios where comuneId = ? from the database. - * - * @param comuneId the comune ID - * @throws SystemException if a system exception occurred - */ - public static void removeByComuneId(long comuneId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByComuneId(comuneId); - } - - /** - * Returns the number of bo territorios where comuneId = ?. - * - * @param comuneId the comune ID - * @return the number of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public static int countByComuneId(long comuneId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByComuneId(comuneId); - } - - /** - * Returns all the bo territorios where zonaId = ?. - * - * @param zonaId the zona ID - * @return the matching bo territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByZonaId( - long zonaId) throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByZonaId(zonaId); - } - - /** - * Returns a range of all the bo territorios where zonaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param zonaId the zona ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByZonaId( - long zonaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByZonaId(zonaId, start, end); - } - - /** - * Returns an ordered range of all the bo territorios where zonaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param zonaId the zona ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByZonaId( - long zonaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByZonaId(zonaId, start, end, orderByComparator); - } - - /** - * Returns the first bo territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTerritorio findByZonaId_First( - long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException { - return getPersistence().findByZonaId_First(zonaId, orderByComparator); - } - - /** - * Returns the first bo territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTerritorio fetchByZonaId_First( - long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByZonaId_First(zonaId, orderByComparator); - } - - /** - * Returns the last bo territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTerritorio findByZonaId_Last( - long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException { - return getPersistence().findByZonaId_Last(zonaId, orderByComparator); - } - - /** - * Returns the last bo territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTerritorio fetchByZonaId_Last( - long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByZonaId_Last(zonaId, orderByComparator); - } - - /** - * Returns the bo territorios before and after the current bo territorio in the ordered set where zonaId = ?. - * - * @param territorioId the primary key of the current bo territorio - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTerritorio[] findByZonaId_PrevAndNext( - long territorioId, long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException { - return getPersistence() - .findByZonaId_PrevAndNext(territorioId, zonaId, - orderByComparator); - } - - /** - * Removes all the bo territorios where zonaId = ? from the database. - * - * @param zonaId the zona ID - * @throws SystemException if a system exception occurred - */ - public static void removeByZonaId(long zonaId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByZonaId(zonaId); - } - - /** - * Returns the number of bo territorios where zonaId = ?. - * - * @param zonaId the zona ID - * @return the number of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public static int countByZonaId(long zonaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByZonaId(zonaId); - } - - /** - * Returns all the bo territorios where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @return the matching bo territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByFasciaId( - long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByFasciaId(fasciaId); - } - - /** - * Returns a range of all the bo territorios where fasciaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param fasciaId the fascia ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByFasciaId( - long fasciaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByFasciaId(fasciaId, start, end); - } - - /** - * Returns an ordered range of all the bo territorios where fasciaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param fasciaId the fascia ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByFasciaId( - long fasciaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByFasciaId(fasciaId, start, end, orderByComparator); - } - - /** - * Returns the first bo territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTerritorio findByFasciaId_First( - long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException { - return getPersistence().findByFasciaId_First(fasciaId, orderByComparator); - } - - /** - * Returns the first bo territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTerritorio fetchByFasciaId_First( - long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByFasciaId_First(fasciaId, orderByComparator); - } - - /** - * Returns the last bo territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTerritorio findByFasciaId_Last( - long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException { - return getPersistence().findByFasciaId_Last(fasciaId, orderByComparator); - } - - /** - * Returns the last bo territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTerritorio fetchByFasciaId_Last( - long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByFasciaId_Last(fasciaId, orderByComparator); - } - - /** - * Returns the bo territorios before and after the current bo territorio in the ordered set where fasciaId = ?. - * - * @param territorioId the primary key of the current bo territorio - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTerritorio[] findByFasciaId_PrevAndNext( - long territorioId, long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException { - return getPersistence() - .findByFasciaId_PrevAndNext(territorioId, fasciaId, - orderByComparator); - } - - /** - * Removes all the bo territorios where fasciaId = ? from the database. - * - * @param fasciaId the fascia ID - * @throws SystemException if a system exception occurred - */ - public static void removeByFasciaId(long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByFasciaId(fasciaId); - } - - /** - * Returns the number of bo territorios where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @return the number of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public static int countByFasciaId(long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByFasciaId(fasciaId); - } - - /** - * Returns the bo territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException} if it could not be found. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the matching bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTerritorio findByC_Z_F_D( - long comuneId, long zonaId, long fasciaId, java.util.Date dtIni) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException { - return getPersistence().findByC_Z_F_D(comuneId, zonaId, fasciaId, dtIni); - } - - /** - * Returns the bo territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? or returns null if it could not be found. Uses the finder cache. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTerritorio fetchByC_Z_F_D( - long comuneId, long zonaId, long fasciaId, java.util.Date dtIni) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByC_Z_F_D(comuneId, zonaId, fasciaId, dtIni); - } - - /** - * Returns the bo territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTerritorio fetchByC_Z_F_D( - long comuneId, long zonaId, long fasciaId, java.util.Date dtIni, - boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Z_F_D(comuneId, zonaId, fasciaId, dtIni, - retrieveFromCache); - } - - /** - * Removes the bo territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? from the database. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the bo territorio that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTerritorio removeByC_Z_F_D( - long comuneId, long zonaId, long fasciaId, java.util.Date dtIni) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException { - return getPersistence() - .removeByC_Z_F_D(comuneId, zonaId, fasciaId, dtIni); - } - - /** - * Returns the number of bo territorios where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the number of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public static int countByC_Z_F_D(long comuneId, long zonaId, long fasciaId, - java.util.Date dtIni) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByC_Z_F_D(comuneId, zonaId, fasciaId, dtIni); - } - - /** - * Returns all the bo territorios where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @return the matching bo territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group( - long companyId, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByC_Group(companyId, groupId); - } - - /** - * Returns a range of all the bo territorios where companyId = ? and groupId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group( - long companyId, long groupId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByC_Group(companyId, groupId, start, end); - } - - /** - * Returns an ordered range of all the bo territorios where companyId = ? and groupId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Group( - long companyId, long groupId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Group(companyId, groupId, start, end, - orderByComparator); - } - - /** - * Returns the first bo territorio in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTerritorio findByC_Group_First( - long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException { - return getPersistence() - .findByC_Group_First(companyId, groupId, orderByComparator); - } - - /** - * Returns the first bo territorio in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTerritorio fetchByC_Group_First( - long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Group_First(companyId, groupId, orderByComparator); - } - - /** - * Returns the last bo territorio in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTerritorio findByC_Group_Last( - long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException { - return getPersistence() - .findByC_Group_Last(companyId, groupId, orderByComparator); - } - - /** - * Returns the last bo territorio in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTerritorio fetchByC_Group_Last( - long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Group_Last(companyId, groupId, orderByComparator); - } - - /** - * Returns the bo territorios before and after the current bo territorio in the ordered set where companyId = ? and groupId = ?. - * - * @param territorioId the primary key of the current bo territorio - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTerritorio[] findByC_Group_PrevAndNext( - long territorioId, long companyId, long groupId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException { - return getPersistence() - .findByC_Group_PrevAndNext(territorioId, companyId, groupId, - orderByComparator); - } - - /** - * Removes all the bo territorios where companyId = ? and groupId = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @throws SystemException if a system exception occurred - */ - public static void removeByC_Group(long companyId, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByC_Group(companyId, groupId); - } - - /** - * Returns the number of bo territorios where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @return the number of matching bo territorios - * @throws SystemException if a system exception occurred - */ - public static int countByC_Group(long companyId, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByC_Group(companyId, groupId); - } - - /** - * Caches the bo territorio in the entity cache if it is enabled. - * - * @param boTerritorio the bo territorio - */ - public static void cacheResult( - it.tref.liferay.portos.portosimport.model.BoTerritorio boTerritorio) { - getPersistence().cacheResult(boTerritorio); - } - - /** - * Caches the bo territorios in the entity cache if it is enabled. - * - * @param boTerritorios the bo territorios - */ - public static void cacheResult( - java.util.List boTerritorios) { - getPersistence().cacheResult(boTerritorios); - } - - /** - * Creates a new bo territorio with the primary key. Does not add the bo territorio to the database. - * - * @param territorioId the primary key for the new bo territorio - * @return the new bo territorio - */ - public static it.tref.liferay.portos.portosimport.model.BoTerritorio create( - long territorioId) { - return getPersistence().create(territorioId); - } - - /** - * Removes the bo territorio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param territorioId the primary key of the bo territorio - * @return the bo territorio that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTerritorio remove( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException { - return getPersistence().remove(territorioId); - } - - public static it.tref.liferay.portos.portosimport.model.BoTerritorio updateImpl( - it.tref.liferay.portos.portosimport.model.BoTerritorio boTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(boTerritorio); - } - - /** - * Returns the bo territorio with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException} if it could not be found. - * - * @param territorioId the primary key of the bo territorio - * @return the bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTerritorio findByPrimaryKey( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException { - return getPersistence().findByPrimaryKey(territorioId); - } - - /** - * Returns the bo territorio with the primary key or returns null if it could not be found. - * - * @param territorioId the primary key of the bo territorio - * @return the bo territorio, or null if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.BoTerritorio fetchByPrimaryKey( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(territorioId); - } - - /** - * Returns all the bo territorios. - * - * @return the bo territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the bo territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of bo territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the bo territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the bo territorios from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of bo territorios. - * - * @return the number of bo territorios - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static BoTerritorioPersistence getPersistence() { - if (_persistence == null) { - _persistence = (BoTerritorioPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.portosimport.service.ClpSerializer.getServletContextName(), - BoTerritorioPersistence.class.getName()); - - ReferenceRegistry.registerReference(BoTerritorioUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(BoTerritorioPersistence persistence) { - } - - private static BoTerritorioPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FeComuneActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FeComuneActionableDynamicQuery.java deleted file mode 100644 index a0818245..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FeComuneActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.FeComune; -import it.tref.liferay.portos.portosimport.service.FeComuneLocalServiceUtil; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public abstract class FeComuneActionableDynamicQuery - extends BaseActionableDynamicQuery { - public FeComuneActionableDynamicQuery() throws SystemException { - setBaseLocalService(FeComuneLocalServiceUtil.getService()); - setClass(FeComune.class); - - setClassLoader(it.tref.liferay.portos.portosimport.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("comuneId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FeComunePersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FeComunePersistence.java deleted file mode 100644 index c94d89cd..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FeComunePersistence.java +++ /dev/null @@ -1,281 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.portosimport.model.FeComune; - -/** - * The persistence interface for the fe comune service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see FeComunePersistenceImpl - * @see FeComuneUtil - * @generated - */ -public interface FeComunePersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link FeComuneUtil} to access the fe comune persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns the fe comune where codIstat = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchFeComuneException} if it could not be found. - * - * @param codIstat the cod istat - * @return the matching fe comune - * @throws it.tref.liferay.portos.portosimport.NoSuchFeComuneException if a matching fe comune could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeComune findByCodIstat( - java.lang.String codIstat) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeComuneException; - - /** - * Returns the fe comune where codIstat = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codIstat the cod istat - * @return the matching fe comune, or null if a matching fe comune could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeComune fetchByCodIstat( - java.lang.String codIstat) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe comune where codIstat = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codIstat the cod istat - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe comune, or null if a matching fe comune could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeComune fetchByCodIstat( - java.lang.String codIstat, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the fe comune where codIstat = ? from the database. - * - * @param codIstat the cod istat - * @return the fe comune that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeComune removeByCodIstat( - java.lang.String codIstat) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeComuneException; - - /** - * Returns the number of fe comunes where codIstat = ?. - * - * @param codIstat the cod istat - * @return the number of matching fe comunes - * @throws SystemException if a system exception occurred - */ - public int countByCodIstat(java.lang.String codIstat) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe comune where codCatastale = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchFeComuneException} if it could not be found. - * - * @param codCatastale the cod catastale - * @return the matching fe comune - * @throws it.tref.liferay.portos.portosimport.NoSuchFeComuneException if a matching fe comune could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeComune findByCodCatastale( - java.lang.String codCatastale) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeComuneException; - - /** - * Returns the fe comune where codCatastale = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codCatastale the cod catastale - * @return the matching fe comune, or null if a matching fe comune could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeComune fetchByCodCatastale( - java.lang.String codCatastale) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe comune where codCatastale = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codCatastale the cod catastale - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe comune, or null if a matching fe comune could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeComune fetchByCodCatastale( - java.lang.String codCatastale, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the fe comune where codCatastale = ? from the database. - * - * @param codCatastale the cod catastale - * @return the fe comune that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeComune removeByCodCatastale( - java.lang.String codCatastale) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeComuneException; - - /** - * Returns the number of fe comunes where codCatastale = ?. - * - * @param codCatastale the cod catastale - * @return the number of matching fe comunes - * @throws SystemException if a system exception occurred - */ - public int countByCodCatastale(java.lang.String codCatastale) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the fe comune in the entity cache if it is enabled. - * - * @param feComune the fe comune - */ - public void cacheResult( - it.tref.liferay.portos.portosimport.model.FeComune feComune); - - /** - * Caches the fe comunes in the entity cache if it is enabled. - * - * @param feComunes the fe comunes - */ - public void cacheResult( - java.util.List feComunes); - - /** - * Creates a new fe comune with the primary key. Does not add the fe comune to the database. - * - * @param comuneId the primary key for the new fe comune - * @return the new fe comune - */ - public it.tref.liferay.portos.portosimport.model.FeComune create( - long comuneId); - - /** - * Removes the fe comune with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param comuneId the primary key of the fe comune - * @return the fe comune that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchFeComuneException if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeComune remove( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeComuneException; - - public it.tref.liferay.portos.portosimport.model.FeComune updateImpl( - it.tref.liferay.portos.portosimport.model.FeComune feComune) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe comune with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchFeComuneException} if it could not be found. - * - * @param comuneId the primary key of the fe comune - * @return the fe comune - * @throws it.tref.liferay.portos.portosimport.NoSuchFeComuneException if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeComune findByPrimaryKey( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeComuneException; - - /** - * Returns the fe comune with the primary key or returns null if it could not be found. - * - * @param comuneId the primary key of the fe comune - * @return the fe comune, or null if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeComune fetchByPrimaryKey( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the fe comunes. - * - * @return the fe comunes - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe comunes - * @param end the upper bound of the range of fe comunes (not inclusive) - * @return the range of fe comunes - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the fe comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe comunes - * @param end the upper bound of the range of fe comunes (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of fe comunes - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the fe comunes from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe comunes. - * - * @return the number of fe comunes - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FeComuneUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FeComuneUtil.java deleted file mode 100644 index 0783abe4..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FeComuneUtil.java +++ /dev/null @@ -1,418 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.portosimport.model.FeComune; - -import java.util.List; - -/** - * The persistence utility for the fe comune service. This utility wraps {@link FeComunePersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see FeComunePersistence - * @see FeComunePersistenceImpl - * @generated - */ -public class FeComuneUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(FeComune feComune) { - getPersistence().clearCache(feComune); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static FeComune update(FeComune feComune) throws SystemException { - return getPersistence().update(feComune); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static FeComune update(FeComune feComune, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(feComune, serviceContext); - } - - /** - * Returns the fe comune where codIstat = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchFeComuneException} if it could not be found. - * - * @param codIstat the cod istat - * @return the matching fe comune - * @throws it.tref.liferay.portos.portosimport.NoSuchFeComuneException if a matching fe comune could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeComune findByCodIstat( - java.lang.String codIstat) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeComuneException { - return getPersistence().findByCodIstat(codIstat); - } - - /** - * Returns the fe comune where codIstat = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codIstat the cod istat - * @return the matching fe comune, or null if a matching fe comune could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeComune fetchByCodIstat( - java.lang.String codIstat) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByCodIstat(codIstat); - } - - /** - * Returns the fe comune where codIstat = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codIstat the cod istat - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe comune, or null if a matching fe comune could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeComune fetchByCodIstat( - java.lang.String codIstat, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByCodIstat(codIstat, retrieveFromCache); - } - - /** - * Removes the fe comune where codIstat = ? from the database. - * - * @param codIstat the cod istat - * @return the fe comune that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeComune removeByCodIstat( - java.lang.String codIstat) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeComuneException { - return getPersistence().removeByCodIstat(codIstat); - } - - /** - * Returns the number of fe comunes where codIstat = ?. - * - * @param codIstat the cod istat - * @return the number of matching fe comunes - * @throws SystemException if a system exception occurred - */ - public static int countByCodIstat(java.lang.String codIstat) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByCodIstat(codIstat); - } - - /** - * Returns the fe comune where codCatastale = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchFeComuneException} if it could not be found. - * - * @param codCatastale the cod catastale - * @return the matching fe comune - * @throws it.tref.liferay.portos.portosimport.NoSuchFeComuneException if a matching fe comune could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeComune findByCodCatastale( - java.lang.String codCatastale) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeComuneException { - return getPersistence().findByCodCatastale(codCatastale); - } - - /** - * Returns the fe comune where codCatastale = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codCatastale the cod catastale - * @return the matching fe comune, or null if a matching fe comune could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeComune fetchByCodCatastale( - java.lang.String codCatastale) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByCodCatastale(codCatastale); - } - - /** - * Returns the fe comune where codCatastale = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codCatastale the cod catastale - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe comune, or null if a matching fe comune could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeComune fetchByCodCatastale( - java.lang.String codCatastale, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByCodCatastale(codCatastale, retrieveFromCache); - } - - /** - * Removes the fe comune where codCatastale = ? from the database. - * - * @param codCatastale the cod catastale - * @return the fe comune that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeComune removeByCodCatastale( - java.lang.String codCatastale) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeComuneException { - return getPersistence().removeByCodCatastale(codCatastale); - } - - /** - * Returns the number of fe comunes where codCatastale = ?. - * - * @param codCatastale the cod catastale - * @return the number of matching fe comunes - * @throws SystemException if a system exception occurred - */ - public static int countByCodCatastale(java.lang.String codCatastale) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByCodCatastale(codCatastale); - } - - /** - * Caches the fe comune in the entity cache if it is enabled. - * - * @param feComune the fe comune - */ - public static void cacheResult( - it.tref.liferay.portos.portosimport.model.FeComune feComune) { - getPersistence().cacheResult(feComune); - } - - /** - * Caches the fe comunes in the entity cache if it is enabled. - * - * @param feComunes the fe comunes - */ - public static void cacheResult( - java.util.List feComunes) { - getPersistence().cacheResult(feComunes); - } - - /** - * Creates a new fe comune with the primary key. Does not add the fe comune to the database. - * - * @param comuneId the primary key for the new fe comune - * @return the new fe comune - */ - public static it.tref.liferay.portos.portosimport.model.FeComune create( - long comuneId) { - return getPersistence().create(comuneId); - } - - /** - * Removes the fe comune with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param comuneId the primary key of the fe comune - * @return the fe comune that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchFeComuneException if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeComune remove( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeComuneException { - return getPersistence().remove(comuneId); - } - - public static it.tref.liferay.portos.portosimport.model.FeComune updateImpl( - it.tref.liferay.portos.portosimport.model.FeComune feComune) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(feComune); - } - - /** - * Returns the fe comune with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchFeComuneException} if it could not be found. - * - * @param comuneId the primary key of the fe comune - * @return the fe comune - * @throws it.tref.liferay.portos.portosimport.NoSuchFeComuneException if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeComune findByPrimaryKey( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeComuneException { - return getPersistence().findByPrimaryKey(comuneId); - } - - /** - * Returns the fe comune with the primary key or returns null if it could not be found. - * - * @param comuneId the primary key of the fe comune - * @return the fe comune, or null if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeComune fetchByPrimaryKey( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(comuneId); - } - - /** - * Returns all the fe comunes. - * - * @return the fe comunes - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the fe comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe comunes - * @param end the upper bound of the range of fe comunes (not inclusive) - * @return the range of fe comunes - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the fe comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe comunes - * @param end the upper bound of the range of fe comunes (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of fe comunes - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the fe comunes from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of fe comunes. - * - * @return the number of fe comunes - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static FeComunePersistence getPersistence() { - if (_persistence == null) { - _persistence = (FeComunePersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.portosimport.service.ClpSerializer.getServletContextName(), - FeComunePersistence.class.getName()); - - ReferenceRegistry.registerReference(FeComuneUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(FeComunePersistence persistence) { - } - - private static FeComunePersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FeDettPraticaActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FeDettPraticaActionableDynamicQuery.java deleted file mode 100644 index f304b1f9..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FeDettPraticaActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.FeDettPratica; -import it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalServiceUtil; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public abstract class FeDettPraticaActionableDynamicQuery - extends BaseActionableDynamicQuery { - public FeDettPraticaActionableDynamicQuery() throws SystemException { - setBaseLocalService(FeDettPraticaLocalServiceUtil.getService()); - setClass(FeDettPratica.class); - - setClassLoader(it.tref.liferay.portos.portosimport.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("dettPraticaId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FeDettPraticaPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FeDettPraticaPersistence.java deleted file mode 100644 index 8c77e08d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FeDettPraticaPersistence.java +++ /dev/null @@ -1,424 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.portosimport.model.FeDettPratica; - -/** - * The persistence interface for the fe dett pratica service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see FeDettPraticaPersistenceImpl - * @see FeDettPraticaUtil - * @generated - */ -public interface FeDettPraticaPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link FeDettPraticaUtil} to access the fe dett pratica persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns all the fe dett praticas where uuid = ?. - * - * @param uuid the uuid - * @return the matching fe dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe dett praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of fe dett praticas - * @param end the upper bound of the range of fe dett praticas (not inclusive) - * @return the range of matching fe dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the fe dett praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of fe dett praticas - * @param end the upper bound of the range of fe dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first fe dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeDettPratica findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException; - - /** - * Returns the first fe dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeDettPratica fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last fe dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeDettPratica findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException; - - /** - * Returns the last fe dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeDettPratica fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe dett praticas before and after the current fe dett pratica in the ordered set where uuid = ?. - * - * @param dettPraticaId the primary key of the current fe dett pratica - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeDettPratica[] findByUuid_PrevAndNext( - long dettPraticaId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException; - - /** - * Removes all the fe dett praticas where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe dett praticas where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching fe dett praticas - * @throws SystemException if a system exception occurred - */ - public int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe dett pratica where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching fe dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeDettPratica findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException; - - /** - * Returns the fe dett pratica where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeDettPratica fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe dett pratica where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeDettPratica fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the fe dett pratica where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the fe dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeDettPratica removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException; - - /** - * Returns the number of fe dett praticas where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching fe dett praticas - * @throws SystemException if a system exception occurred - */ - public int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe dett pratica where codPraticaSuap = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException} if it could not be found. - * - * @param codPraticaSuap the cod pratica suap - * @return the matching fe dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeDettPratica findByCodPraticaSuap( - java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException; - - /** - * Returns the fe dett pratica where codPraticaSuap = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codPraticaSuap the cod pratica suap - * @return the matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeDettPratica fetchByCodPraticaSuap( - java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe dett pratica where codPraticaSuap = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codPraticaSuap the cod pratica suap - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeDettPratica fetchByCodPraticaSuap( - java.lang.String codPraticaSuap, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the fe dett pratica where codPraticaSuap = ? from the database. - * - * @param codPraticaSuap the cod pratica suap - * @return the fe dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeDettPratica removeByCodPraticaSuap( - java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException; - - /** - * Returns the number of fe dett praticas where codPraticaSuap = ?. - * - * @param codPraticaSuap the cod pratica suap - * @return the number of matching fe dett praticas - * @throws SystemException if a system exception occurred - */ - public int countByCodPraticaSuap(java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the fe dett pratica in the entity cache if it is enabled. - * - * @param feDettPratica the fe dett pratica - */ - public void cacheResult( - it.tref.liferay.portos.portosimport.model.FeDettPratica feDettPratica); - - /** - * Caches the fe dett praticas in the entity cache if it is enabled. - * - * @param feDettPraticas the fe dett praticas - */ - public void cacheResult( - java.util.List feDettPraticas); - - /** - * Creates a new fe dett pratica with the primary key. Does not add the fe dett pratica to the database. - * - * @param dettPraticaId the primary key for the new fe dett pratica - * @return the new fe dett pratica - */ - public it.tref.liferay.portos.portosimport.model.FeDettPratica create( - long dettPraticaId); - - /** - * Removes the fe dett pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param dettPraticaId the primary key of the fe dett pratica - * @return the fe dett pratica that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeDettPratica remove( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException; - - public it.tref.liferay.portos.portosimport.model.FeDettPratica updateImpl( - it.tref.liferay.portos.portosimport.model.FeDettPratica feDettPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe dett pratica with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException} if it could not be found. - * - * @param dettPraticaId the primary key of the fe dett pratica - * @return the fe dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeDettPratica findByPrimaryKey( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException; - - /** - * Returns the fe dett pratica with the primary key or returns null if it could not be found. - * - * @param dettPraticaId the primary key of the fe dett pratica - * @return the fe dett pratica, or null if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeDettPratica fetchByPrimaryKey( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the fe dett praticas. - * - * @return the fe dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe dett praticas - * @param end the upper bound of the range of fe dett praticas (not inclusive) - * @return the range of fe dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the fe dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe dett praticas - * @param end the upper bound of the range of fe dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of fe dett praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the fe dett praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe dett praticas. - * - * @return the number of fe dett praticas - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FeDettPraticaUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FeDettPraticaUtil.java deleted file mode 100644 index e73c1cda..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FeDettPraticaUtil.java +++ /dev/null @@ -1,584 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.portosimport.model.FeDettPratica; - -import java.util.List; - -/** - * The persistence utility for the fe dett pratica service. This utility wraps {@link FeDettPraticaPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see FeDettPraticaPersistence - * @see FeDettPraticaPersistenceImpl - * @generated - */ -public class FeDettPraticaUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(FeDettPratica feDettPratica) { - getPersistence().clearCache(feDettPratica); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static FeDettPratica update(FeDettPratica feDettPratica) - throws SystemException { - return getPersistence().update(feDettPratica); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static FeDettPratica update(FeDettPratica feDettPratica, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(feDettPratica, serviceContext); - } - - /** - * Returns all the fe dett praticas where uuid = ?. - * - * @param uuid the uuid - * @return the matching fe dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid); - } - - /** - * Returns a range of all the fe dett praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of fe dett praticas - * @param end the upper bound of the range of fe dett praticas (not inclusive) - * @return the range of matching fe dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end); - } - - /** - * Returns an ordered range of all the fe dett praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of fe dett praticas - * @param end the upper bound of the range of fe dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end, orderByComparator); - } - - /** - * Returns the first fe dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeDettPratica findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException { - return getPersistence().findByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the first fe dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeDettPratica fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the last fe dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeDettPratica findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException { - return getPersistence().findByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the last fe dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeDettPratica fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the fe dett praticas before and after the current fe dett pratica in the ordered set where uuid = ?. - * - * @param dettPraticaId the primary key of the current fe dett pratica - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeDettPratica[] findByUuid_PrevAndNext( - long dettPraticaId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException { - return getPersistence() - .findByUuid_PrevAndNext(dettPraticaId, uuid, - orderByComparator); - } - - /** - * Removes all the fe dett praticas where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid(uuid); - } - - /** - * Returns the number of fe dett praticas where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching fe dett praticas - * @throws SystemException if a system exception occurred - */ - public static int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid(uuid); - } - - /** - * Returns the fe dett pratica where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching fe dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeDettPratica findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException { - return getPersistence().findByUUID_G(uuid, groupId); - } - - /** - * Returns the fe dett pratica where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeDettPratica fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the fe dett pratica where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeDettPratica fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache); - } - - /** - * Removes the fe dett pratica where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the fe dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeDettPratica removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException { - return getPersistence().removeByUUID_G(uuid, groupId); - } - - /** - * Returns the number of fe dett praticas where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching fe dett praticas - * @throws SystemException if a system exception occurred - */ - public static int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUUID_G(uuid, groupId); - } - - /** - * Returns the fe dett pratica where codPraticaSuap = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException} if it could not be found. - * - * @param codPraticaSuap the cod pratica suap - * @return the matching fe dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeDettPratica findByCodPraticaSuap( - java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException { - return getPersistence().findByCodPraticaSuap(codPraticaSuap); - } - - /** - * Returns the fe dett pratica where codPraticaSuap = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codPraticaSuap the cod pratica suap - * @return the matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeDettPratica fetchByCodPraticaSuap( - java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByCodPraticaSuap(codPraticaSuap); - } - - /** - * Returns the fe dett pratica where codPraticaSuap = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codPraticaSuap the cod pratica suap - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeDettPratica fetchByCodPraticaSuap( - java.lang.String codPraticaSuap, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByCodPraticaSuap(codPraticaSuap, retrieveFromCache); - } - - /** - * Removes the fe dett pratica where codPraticaSuap = ? from the database. - * - * @param codPraticaSuap the cod pratica suap - * @return the fe dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeDettPratica removeByCodPraticaSuap( - java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException { - return getPersistence().removeByCodPraticaSuap(codPraticaSuap); - } - - /** - * Returns the number of fe dett praticas where codPraticaSuap = ?. - * - * @param codPraticaSuap the cod pratica suap - * @return the number of matching fe dett praticas - * @throws SystemException if a system exception occurred - */ - public static int countByCodPraticaSuap(java.lang.String codPraticaSuap) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByCodPraticaSuap(codPraticaSuap); - } - - /** - * Caches the fe dett pratica in the entity cache if it is enabled. - * - * @param feDettPratica the fe dett pratica - */ - public static void cacheResult( - it.tref.liferay.portos.portosimport.model.FeDettPratica feDettPratica) { - getPersistence().cacheResult(feDettPratica); - } - - /** - * Caches the fe dett praticas in the entity cache if it is enabled. - * - * @param feDettPraticas the fe dett praticas - */ - public static void cacheResult( - java.util.List feDettPraticas) { - getPersistence().cacheResult(feDettPraticas); - } - - /** - * Creates a new fe dett pratica with the primary key. Does not add the fe dett pratica to the database. - * - * @param dettPraticaId the primary key for the new fe dett pratica - * @return the new fe dett pratica - */ - public static it.tref.liferay.portos.portosimport.model.FeDettPratica create( - long dettPraticaId) { - return getPersistence().create(dettPraticaId); - } - - /** - * Removes the fe dett pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param dettPraticaId the primary key of the fe dett pratica - * @return the fe dett pratica that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeDettPratica remove( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException { - return getPersistence().remove(dettPraticaId); - } - - public static it.tref.liferay.portos.portosimport.model.FeDettPratica updateImpl( - it.tref.liferay.portos.portosimport.model.FeDettPratica feDettPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(feDettPratica); - } - - /** - * Returns the fe dett pratica with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException} if it could not be found. - * - * @param dettPraticaId the primary key of the fe dett pratica - * @return the fe dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeDettPratica findByPrimaryKey( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException { - return getPersistence().findByPrimaryKey(dettPraticaId); - } - - /** - * Returns the fe dett pratica with the primary key or returns null if it could not be found. - * - * @param dettPraticaId the primary key of the fe dett pratica - * @return the fe dett pratica, or null if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeDettPratica fetchByPrimaryKey( - long dettPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(dettPraticaId); - } - - /** - * Returns all the fe dett praticas. - * - * @return the fe dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the fe dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe dett praticas - * @param end the upper bound of the range of fe dett praticas (not inclusive) - * @return the range of fe dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the fe dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe dett praticas - * @param end the upper bound of the range of fe dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of fe dett praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the fe dett praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of fe dett praticas. - * - * @return the number of fe dett praticas - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static FeDettPraticaPersistence getPersistence() { - if (_persistence == null) { - _persistence = (FeDettPraticaPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.portosimport.service.ClpSerializer.getServletContextName(), - FeDettPraticaPersistence.class.getName()); - - ReferenceRegistry.registerReference(FeDettPraticaUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(FeDettPraticaPersistence persistence) { - } - - private static FeDettPraticaPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FeIntPraticaActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FeIntPraticaActionableDynamicQuery.java deleted file mode 100644 index e56e30ec..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FeIntPraticaActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.FeIntPratica; -import it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalServiceUtil; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public abstract class FeIntPraticaActionableDynamicQuery - extends BaseActionableDynamicQuery { - public FeIntPraticaActionableDynamicQuery() throws SystemException { - setBaseLocalService(FeIntPraticaLocalServiceUtil.getService()); - setClass(FeIntPratica.class); - - setClassLoader(it.tref.liferay.portos.portosimport.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("intPraticaId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FeIntPraticaPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FeIntPraticaPersistence.java deleted file mode 100644 index e40e673f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FeIntPraticaPersistence.java +++ /dev/null @@ -1,366 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.portosimport.model.FeIntPratica; - -/** - * The persistence interface for the fe int pratica service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see FeIntPraticaPersistenceImpl - * @see FeIntPraticaUtil - * @generated - */ -public interface FeIntPraticaPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link FeIntPraticaUtil} to access the fe int pratica persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns all the fe int praticas where uuid = ?. - * - * @param uuid the uuid - * @return the matching fe int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe int praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of fe int praticas - * @param end the upper bound of the range of fe int praticas (not inclusive) - * @return the range of matching fe int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the fe int praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of fe int praticas - * @param end the upper bound of the range of fe int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first fe int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeIntPratica findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException; - - /** - * Returns the first fe int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe int pratica, or null if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeIntPratica fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last fe int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeIntPratica findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException; - - /** - * Returns the last fe int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe int pratica, or null if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeIntPratica fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe int praticas before and after the current fe int pratica in the ordered set where uuid = ?. - * - * @param intPraticaId the primary key of the current fe int pratica - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeIntPratica[] findByUuid_PrevAndNext( - long intPraticaId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException; - - /** - * Removes all the fe int praticas where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe int praticas where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching fe int praticas - * @throws SystemException if a system exception occurred - */ - public int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe int pratica where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching fe int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeIntPratica findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException; - - /** - * Returns the fe int pratica where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching fe int pratica, or null if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeIntPratica fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe int pratica where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe int pratica, or null if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeIntPratica fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the fe int pratica where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the fe int pratica that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeIntPratica removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException; - - /** - * Returns the number of fe int praticas where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching fe int praticas - * @throws SystemException if a system exception occurred - */ - public int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the fe int pratica in the entity cache if it is enabled. - * - * @param feIntPratica the fe int pratica - */ - public void cacheResult( - it.tref.liferay.portos.portosimport.model.FeIntPratica feIntPratica); - - /** - * Caches the fe int praticas in the entity cache if it is enabled. - * - * @param feIntPraticas the fe int praticas - */ - public void cacheResult( - java.util.List feIntPraticas); - - /** - * Creates a new fe int pratica with the primary key. Does not add the fe int pratica to the database. - * - * @param intPraticaId the primary key for the new fe int pratica - * @return the new fe int pratica - */ - public it.tref.liferay.portos.portosimport.model.FeIntPratica create( - long intPraticaId); - - /** - * Removes the fe int pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param intPraticaId the primary key of the fe int pratica - * @return the fe int pratica that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeIntPratica remove( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException; - - public it.tref.liferay.portos.portosimport.model.FeIntPratica updateImpl( - it.tref.liferay.portos.portosimport.model.FeIntPratica feIntPratica) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe int pratica with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException} if it could not be found. - * - * @param intPraticaId the primary key of the fe int pratica - * @return the fe int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeIntPratica findByPrimaryKey( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException; - - /** - * Returns the fe int pratica with the primary key or returns null if it could not be found. - * - * @param intPraticaId the primary key of the fe int pratica - * @return the fe int pratica, or null if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeIntPratica fetchByPrimaryKey( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the fe int praticas. - * - * @return the fe int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe int praticas - * @param end the upper bound of the range of fe int praticas (not inclusive) - * @return the range of fe int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the fe int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe int praticas - * @param end the upper bound of the range of fe int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of fe int praticas - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the fe int praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe int praticas. - * - * @return the number of fe int praticas - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FeIntPraticaUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FeIntPraticaUtil.java deleted file mode 100644 index 6123c607..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FeIntPraticaUtil.java +++ /dev/null @@ -1,514 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.portosimport.model.FeIntPratica; - -import java.util.List; - -/** - * The persistence utility for the fe int pratica service. This utility wraps {@link FeIntPraticaPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see FeIntPraticaPersistence - * @see FeIntPraticaPersistenceImpl - * @generated - */ -public class FeIntPraticaUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(FeIntPratica feIntPratica) { - getPersistence().clearCache(feIntPratica); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static FeIntPratica update(FeIntPratica feIntPratica) - throws SystemException { - return getPersistence().update(feIntPratica); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static FeIntPratica update(FeIntPratica feIntPratica, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(feIntPratica, serviceContext); - } - - /** - * Returns all the fe int praticas where uuid = ?. - * - * @param uuid the uuid - * @return the matching fe int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid); - } - - /** - * Returns a range of all the fe int praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of fe int praticas - * @param end the upper bound of the range of fe int praticas (not inclusive) - * @return the range of matching fe int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end); - } - - /** - * Returns an ordered range of all the fe int praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of fe int praticas - * @param end the upper bound of the range of fe int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end, orderByComparator); - } - - /** - * Returns the first fe int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeIntPratica findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException { - return getPersistence().findByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the first fe int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe int pratica, or null if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeIntPratica fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the last fe int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeIntPratica findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException { - return getPersistence().findByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the last fe int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe int pratica, or null if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeIntPratica fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the fe int praticas before and after the current fe int pratica in the ordered set where uuid = ?. - * - * @param intPraticaId the primary key of the current fe int pratica - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeIntPratica[] findByUuid_PrevAndNext( - long intPraticaId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException { - return getPersistence() - .findByUuid_PrevAndNext(intPraticaId, uuid, orderByComparator); - } - - /** - * Removes all the fe int praticas where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid(uuid); - } - - /** - * Returns the number of fe int praticas where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching fe int praticas - * @throws SystemException if a system exception occurred - */ - public static int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid(uuid); - } - - /** - * Returns the fe int pratica where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching fe int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeIntPratica findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException { - return getPersistence().findByUUID_G(uuid, groupId); - } - - /** - * Returns the fe int pratica where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching fe int pratica, or null if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeIntPratica fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the fe int pratica where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe int pratica, or null if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeIntPratica fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache); - } - - /** - * Removes the fe int pratica where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the fe int pratica that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeIntPratica removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException { - return getPersistence().removeByUUID_G(uuid, groupId); - } - - /** - * Returns the number of fe int praticas where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching fe int praticas - * @throws SystemException if a system exception occurred - */ - public static int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUUID_G(uuid, groupId); - } - - /** - * Caches the fe int pratica in the entity cache if it is enabled. - * - * @param feIntPratica the fe int pratica - */ - public static void cacheResult( - it.tref.liferay.portos.portosimport.model.FeIntPratica feIntPratica) { - getPersistence().cacheResult(feIntPratica); - } - - /** - * Caches the fe int praticas in the entity cache if it is enabled. - * - * @param feIntPraticas the fe int praticas - */ - public static void cacheResult( - java.util.List feIntPraticas) { - getPersistence().cacheResult(feIntPraticas); - } - - /** - * Creates a new fe int pratica with the primary key. Does not add the fe int pratica to the database. - * - * @param intPraticaId the primary key for the new fe int pratica - * @return the new fe int pratica - */ - public static it.tref.liferay.portos.portosimport.model.FeIntPratica create( - long intPraticaId) { - return getPersistence().create(intPraticaId); - } - - /** - * Removes the fe int pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param intPraticaId the primary key of the fe int pratica - * @return the fe int pratica that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeIntPratica remove( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException { - return getPersistence().remove(intPraticaId); - } - - public static it.tref.liferay.portos.portosimport.model.FeIntPratica updateImpl( - it.tref.liferay.portos.portosimport.model.FeIntPratica feIntPratica) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(feIntPratica); - } - - /** - * Returns the fe int pratica with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException} if it could not be found. - * - * @param intPraticaId the primary key of the fe int pratica - * @return the fe int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeIntPratica findByPrimaryKey( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException { - return getPersistence().findByPrimaryKey(intPraticaId); - } - - /** - * Returns the fe int pratica with the primary key or returns null if it could not be found. - * - * @param intPraticaId the primary key of the fe int pratica - * @return the fe int pratica, or null if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeIntPratica fetchByPrimaryKey( - long intPraticaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(intPraticaId); - } - - /** - * Returns all the fe int praticas. - * - * @return the fe int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the fe int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe int praticas - * @param end the upper bound of the range of fe int praticas (not inclusive) - * @return the range of fe int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the fe int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe int praticas - * @param end the upper bound of the range of fe int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of fe int praticas - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the fe int praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of fe int praticas. - * - * @return the number of fe int praticas - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static FeIntPraticaPersistence getPersistence() { - if (_persistence == null) { - _persistence = (FeIntPraticaPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.portosimport.service.ClpSerializer.getServletContextName(), - FeIntPraticaPersistence.class.getName()); - - ReferenceRegistry.registerReference(FeIntPraticaUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(FeIntPraticaPersistence persistence) { - } - - private static FeIntPraticaPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FePagamentoActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FePagamentoActionableDynamicQuery.java deleted file mode 100644 index 160a4834..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FePagamentoActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.FePagamento; -import it.tref.liferay.portos.portosimport.service.FePagamentoLocalServiceUtil; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public abstract class FePagamentoActionableDynamicQuery - extends BaseActionableDynamicQuery { - public FePagamentoActionableDynamicQuery() throws SystemException { - setBaseLocalService(FePagamentoLocalServiceUtil.getService()); - setClass(FePagamento.class); - - setClassLoader(it.tref.liferay.portos.portosimport.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("pagamentoId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FePagamentoExportActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FePagamentoExportActionableDynamicQuery.java deleted file mode 100644 index 6f62a8ab..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FePagamentoExportActionableDynamicQuery.java +++ /dev/null @@ -1,85 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.ExportImportHelperUtil; -import com.liferay.portal.kernel.lar.ManifestSummary; -import com.liferay.portal.kernel.lar.PortletDataContext; -import com.liferay.portal.kernel.lar.StagedModelDataHandlerUtil; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.util.PortalUtil; - -import it.tref.liferay.portos.portosimport.model.FePagamento; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class FePagamentoExportActionableDynamicQuery - extends FePagamentoActionableDynamicQuery { - public FePagamentoExportActionableDynamicQuery( - PortletDataContext portletDataContext) throws SystemException { - _portletDataContext = portletDataContext; - - setCompanyId(_portletDataContext.getCompanyId()); - - setGroupId(_portletDataContext.getScopeGroupId()); - } - - @Override - public long performCount() throws PortalException, SystemException { - ManifestSummary manifestSummary = _portletDataContext.getManifestSummary(); - - StagedModelType stagedModelType = getStagedModelType(); - - long modelAdditionCount = super.performCount(); - - manifestSummary.addModelAdditionCount(stagedModelType.toString(), - modelAdditionCount); - - long modelDeletionCount = ExportImportHelperUtil.getModelDeletionCount(_portletDataContext, - stagedModelType); - - manifestSummary.addModelDeletionCount(stagedModelType.toString(), - modelDeletionCount); - - return modelAdditionCount; - } - - @Override - protected void addCriteria(DynamicQuery dynamicQuery) { - _portletDataContext.addDateRangeCriteria(dynamicQuery, "modifiedDate"); - } - - protected StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - FePagamento.class.getName())); - } - - @Override - @SuppressWarnings("unused") - protected void performAction(Object object) - throws PortalException, SystemException { - FePagamento stagedModel = (FePagamento)object; - - StagedModelDataHandlerUtil.exportStagedModel(_portletDataContext, - stagedModel); - } - - private PortletDataContext _portletDataContext; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FePagamentoPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FePagamentoPersistence.java deleted file mode 100644 index f8b4f101..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FePagamentoPersistence.java +++ /dev/null @@ -1,815 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.portosimport.model.FePagamento; - -/** - * The persistence interface for the fe pagamento service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see FePagamentoPersistenceImpl - * @see FePagamentoUtil - * @generated - */ -public interface FePagamentoPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link FePagamentoUtil} to access the fe pagamento persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns all the fe pagamentos where uuid = ?. - * - * @param uuid the uuid - * @return the matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe pagamentos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the fe pagamentos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first fe pagamento in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FePagamento findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFePagamentoException; - - /** - * Returns the first fe pagamento in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FePagamento fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last fe pagamento in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FePagamento findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFePagamentoException; - - /** - * Returns the last fe pagamento in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FePagamento fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe pagamentos before and after the current fe pagamento in the ordered set where uuid = ?. - * - * @param pagamentoId the primary key of the current fe pagamento - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FePagamento[] findByUuid_PrevAndNext( - long pagamentoId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFePagamentoException; - - /** - * Removes all the fe pagamentos where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe pagamentos where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe pagamento where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchFePagamentoException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FePagamento findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFePagamentoException; - - /** - * Returns the fe pagamento where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FePagamento fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe pagamento where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FePagamento fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the fe pagamento where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the fe pagamento that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FePagamento removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFePagamentoException; - - /** - * Returns the number of fe pagamentos where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the fe pagamentos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe pagamentos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the fe pagamentos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first fe pagamento in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FePagamento findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFePagamentoException; - - /** - * Returns the first fe pagamento in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FePagamento fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last fe pagamento in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FePagamento findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFePagamentoException; - - /** - * Returns the last fe pagamento in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FePagamento fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe pagamentos before and after the current fe pagamento in the ordered set where uuid = ? and companyId = ?. - * - * @param pagamentoId the primary key of the current fe pagamento - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FePagamento[] findByUuid_C_PrevAndNext( - long pagamentoId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFePagamentoException; - - /** - * Removes all the fe pagamentos where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe pagamentos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the fe pagamentos where dettPraticaId = ? and mezzo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @return the matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPraticaId_Mezzo( - long dettPraticaId, java.lang.String mezzo) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe pagamentos where dettPraticaId = ? and mezzo = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPraticaId_Mezzo( - long dettPraticaId, java.lang.String mezzo, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the fe pagamentos where dettPraticaId = ? and mezzo = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByDettPraticaId_Mezzo( - long dettPraticaId, java.lang.String mezzo, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first fe pagamento in the ordered set where dettPraticaId = ? and mezzo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FePagamento findByDettPraticaId_Mezzo_First( - long dettPraticaId, java.lang.String mezzo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFePagamentoException; - - /** - * Returns the first fe pagamento in the ordered set where dettPraticaId = ? and mezzo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FePagamento fetchByDettPraticaId_Mezzo_First( - long dettPraticaId, java.lang.String mezzo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last fe pagamento in the ordered set where dettPraticaId = ? and mezzo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FePagamento findByDettPraticaId_Mezzo_Last( - long dettPraticaId, java.lang.String mezzo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFePagamentoException; - - /** - * Returns the last fe pagamento in the ordered set where dettPraticaId = ? and mezzo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FePagamento fetchByDettPraticaId_Mezzo_Last( - long dettPraticaId, java.lang.String mezzo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe pagamentos before and after the current fe pagamento in the ordered set where dettPraticaId = ? and mezzo = ?. - * - * @param pagamentoId the primary key of the current fe pagamento - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FePagamento[] findByDettPraticaId_Mezzo_PrevAndNext( - long pagamentoId, long dettPraticaId, java.lang.String mezzo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFePagamentoException; - - /** - * Removes all the fe pagamentos where dettPraticaId = ? and mezzo = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @throws SystemException if a system exception occurred - */ - public void removeByDettPraticaId_Mezzo(long dettPraticaId, - java.lang.String mezzo) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe pagamentos where dettPraticaId = ? and mezzo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @return the number of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public int countByDettPraticaId_Mezzo(long dettPraticaId, - java.lang.String mezzo) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the fe pagamentos where mezzo = ? and utilizzata = ?. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @return the matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByMezzo_Utilizzata( - java.lang.String mezzo, java.lang.String utilizzata) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe pagamentos where mezzo = ? and utilizzata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByMezzo_Utilizzata( - java.lang.String mezzo, java.lang.String utilizzata, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the fe pagamentos where mezzo = ? and utilizzata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public java.util.List findByMezzo_Utilizzata( - java.lang.String mezzo, java.lang.String utilizzata, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first fe pagamento in the ordered set where mezzo = ? and utilizzata = ?. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FePagamento findByMezzo_Utilizzata_First( - java.lang.String mezzo, java.lang.String utilizzata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFePagamentoException; - - /** - * Returns the first fe pagamento in the ordered set where mezzo = ? and utilizzata = ?. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FePagamento fetchByMezzo_Utilizzata_First( - java.lang.String mezzo, java.lang.String utilizzata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last fe pagamento in the ordered set where mezzo = ? and utilizzata = ?. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FePagamento findByMezzo_Utilizzata_Last( - java.lang.String mezzo, java.lang.String utilizzata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFePagamentoException; - - /** - * Returns the last fe pagamento in the ordered set where mezzo = ? and utilizzata = ?. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FePagamento fetchByMezzo_Utilizzata_Last( - java.lang.String mezzo, java.lang.String utilizzata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe pagamentos before and after the current fe pagamento in the ordered set where mezzo = ? and utilizzata = ?. - * - * @param pagamentoId the primary key of the current fe pagamento - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FePagamento[] findByMezzo_Utilizzata_PrevAndNext( - long pagamentoId, java.lang.String mezzo, java.lang.String utilizzata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFePagamentoException; - - /** - * Removes all the fe pagamentos where mezzo = ? and utilizzata = ? from the database. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @throws SystemException if a system exception occurred - */ - public void removeByMezzo_Utilizzata(java.lang.String mezzo, - java.lang.String utilizzata) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe pagamentos where mezzo = ? and utilizzata = ?. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @return the number of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public int countByMezzo_Utilizzata(java.lang.String mezzo, - java.lang.String utilizzata) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the fe pagamento in the entity cache if it is enabled. - * - * @param fePagamento the fe pagamento - */ - public void cacheResult( - it.tref.liferay.portos.portosimport.model.FePagamento fePagamento); - - /** - * Caches the fe pagamentos in the entity cache if it is enabled. - * - * @param fePagamentos the fe pagamentos - */ - public void cacheResult( - java.util.List fePagamentos); - - /** - * Creates a new fe pagamento with the primary key. Does not add the fe pagamento to the database. - * - * @param pagamentoId the primary key for the new fe pagamento - * @return the new fe pagamento - */ - public it.tref.liferay.portos.portosimport.model.FePagamento create( - long pagamentoId); - - /** - * Removes the fe pagamento with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param pagamentoId the primary key of the fe pagamento - * @return the fe pagamento that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FePagamento remove( - long pagamentoId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFePagamentoException; - - public it.tref.liferay.portos.portosimport.model.FePagamento updateImpl( - it.tref.liferay.portos.portosimport.model.FePagamento fePagamento) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe pagamento with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchFePagamentoException} if it could not be found. - * - * @param pagamentoId the primary key of the fe pagamento - * @return the fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FePagamento findByPrimaryKey( - long pagamentoId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFePagamentoException; - - /** - * Returns the fe pagamento with the primary key or returns null if it could not be found. - * - * @param pagamentoId the primary key of the fe pagamento - * @return the fe pagamento, or null if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FePagamento fetchByPrimaryKey( - long pagamentoId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the fe pagamentos. - * - * @return the fe pagamentos - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe pagamentos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of fe pagamentos - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the fe pagamentos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of fe pagamentos - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the fe pagamentos from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe pagamentos. - * - * @return the number of fe pagamentos - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FePagamentoUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FePagamentoUtil.java deleted file mode 100644 index 0a52378e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FePagamentoUtil.java +++ /dev/null @@ -1,1056 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.portosimport.model.FePagamento; - -import java.util.List; - -/** - * The persistence utility for the fe pagamento service. This utility wraps {@link FePagamentoPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see FePagamentoPersistence - * @see FePagamentoPersistenceImpl - * @generated - */ -public class FePagamentoUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(FePagamento fePagamento) { - getPersistence().clearCache(fePagamento); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static FePagamento update(FePagamento fePagamento) - throws SystemException { - return getPersistence().update(fePagamento); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static FePagamento update(FePagamento fePagamento, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(fePagamento, serviceContext); - } - - /** - * Returns all the fe pagamentos where uuid = ?. - * - * @param uuid the uuid - * @return the matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid); - } - - /** - * Returns a range of all the fe pagamentos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end); - } - - /** - * Returns an ordered range of all the fe pagamentos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid( - java.lang.String uuid, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid(uuid, start, end, orderByComparator); - } - - /** - * Returns the first fe pagamento in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento findByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFePagamentoException { - return getPersistence().findByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the first fe pagamento in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento fetchByUuid_First( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_First(uuid, orderByComparator); - } - - /** - * Returns the last fe pagamento in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento findByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFePagamentoException { - return getPersistence().findByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the last fe pagamento in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento fetchByUuid_Last( - java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUuid_Last(uuid, orderByComparator); - } - - /** - * Returns the fe pagamentos before and after the current fe pagamento in the ordered set where uuid = ?. - * - * @param pagamentoId the primary key of the current fe pagamento - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento[] findByUuid_PrevAndNext( - long pagamentoId, java.lang.String uuid, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFePagamentoException { - return getPersistence() - .findByUuid_PrevAndNext(pagamentoId, uuid, orderByComparator); - } - - /** - * Removes all the fe pagamentos where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid(uuid); - } - - /** - * Returns the number of fe pagamentos where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static int countByUuid(java.lang.String uuid) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid(uuid); - } - - /** - * Returns the fe pagamento where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchFePagamentoException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento findByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFePagamentoException { - return getPersistence().findByUUID_G(uuid, groupId); - } - - /** - * Returns the fe pagamento where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento fetchByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the fe pagamento where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento fetchByUUID_G( - java.lang.String uuid, long groupId, boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache); - } - - /** - * Removes the fe pagamento where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the fe pagamento that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento removeByUUID_G( - java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFePagamentoException { - return getPersistence().removeByUUID_G(uuid, groupId); - } - - /** - * Returns the number of fe pagamentos where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static int countByUUID_G(java.lang.String uuid, long groupId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUUID_G(uuid, groupId); - } - - /** - * Returns all the fe pagamentos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId); - } - - /** - * Returns a range of all the fe pagamentos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByUuid_C(uuid, companyId, start, end); - } - - /** - * Returns an ordered range of all the fe pagamentos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByUuid_C( - java.lang.String uuid, long companyId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByUuid_C(uuid, companyId, start, end, orderByComparator); - } - - /** - * Returns the first fe pagamento in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento findByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFePagamentoException { - return getPersistence() - .findByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the first fe pagamento in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento fetchByUuid_C_First( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_First(uuid, companyId, orderByComparator); - } - - /** - * Returns the last fe pagamento in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento findByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFePagamentoException { - return getPersistence() - .findByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the last fe pagamento in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento fetchByUuid_C_Last( - java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByUuid_C_Last(uuid, companyId, orderByComparator); - } - - /** - * Returns the fe pagamentos before and after the current fe pagamento in the ordered set where uuid = ? and companyId = ?. - * - * @param pagamentoId the primary key of the current fe pagamento - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento[] findByUuid_C_PrevAndNext( - long pagamentoId, java.lang.String uuid, long companyId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFePagamentoException { - return getPersistence() - .findByUuid_C_PrevAndNext(pagamentoId, uuid, companyId, - orderByComparator); - } - - /** - * Removes all the fe pagamentos where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - public static void removeByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByUuid_C(uuid, companyId); - } - - /** - * Returns the number of fe pagamentos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static int countByUuid_C(java.lang.String uuid, long companyId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByUuid_C(uuid, companyId); - } - - /** - * Returns all the fe pagamentos where dettPraticaId = ? and mezzo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @return the matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPraticaId_Mezzo( - long dettPraticaId, java.lang.String mezzo) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByDettPraticaId_Mezzo(dettPraticaId, mezzo); - } - - /** - * Returns a range of all the fe pagamentos where dettPraticaId = ? and mezzo = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPraticaId_Mezzo( - long dettPraticaId, java.lang.String mezzo, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPraticaId_Mezzo(dettPraticaId, mezzo, start, end); - } - - /** - * Returns an ordered range of all the fe pagamentos where dettPraticaId = ? and mezzo = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByDettPraticaId_Mezzo( - long dettPraticaId, java.lang.String mezzo, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByDettPraticaId_Mezzo(dettPraticaId, mezzo, start, end, - orderByComparator); - } - - /** - * Returns the first fe pagamento in the ordered set where dettPraticaId = ? and mezzo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento findByDettPraticaId_Mezzo_First( - long dettPraticaId, java.lang.String mezzo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFePagamentoException { - return getPersistence() - .findByDettPraticaId_Mezzo_First(dettPraticaId, mezzo, - orderByComparator); - } - - /** - * Returns the first fe pagamento in the ordered set where dettPraticaId = ? and mezzo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento fetchByDettPraticaId_Mezzo_First( - long dettPraticaId, java.lang.String mezzo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPraticaId_Mezzo_First(dettPraticaId, mezzo, - orderByComparator); - } - - /** - * Returns the last fe pagamento in the ordered set where dettPraticaId = ? and mezzo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento findByDettPraticaId_Mezzo_Last( - long dettPraticaId, java.lang.String mezzo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFePagamentoException { - return getPersistence() - .findByDettPraticaId_Mezzo_Last(dettPraticaId, mezzo, - orderByComparator); - } - - /** - * Returns the last fe pagamento in the ordered set where dettPraticaId = ? and mezzo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento fetchByDettPraticaId_Mezzo_Last( - long dettPraticaId, java.lang.String mezzo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByDettPraticaId_Mezzo_Last(dettPraticaId, mezzo, - orderByComparator); - } - - /** - * Returns the fe pagamentos before and after the current fe pagamento in the ordered set where dettPraticaId = ? and mezzo = ?. - * - * @param pagamentoId the primary key of the current fe pagamento - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento[] findByDettPraticaId_Mezzo_PrevAndNext( - long pagamentoId, long dettPraticaId, java.lang.String mezzo, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFePagamentoException { - return getPersistence() - .findByDettPraticaId_Mezzo_PrevAndNext(pagamentoId, - dettPraticaId, mezzo, orderByComparator); - } - - /** - * Removes all the fe pagamentos where dettPraticaId = ? and mezzo = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @throws SystemException if a system exception occurred - */ - public static void removeByDettPraticaId_Mezzo(long dettPraticaId, - java.lang.String mezzo) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByDettPraticaId_Mezzo(dettPraticaId, mezzo); - } - - /** - * Returns the number of fe pagamentos where dettPraticaId = ? and mezzo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @return the number of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static int countByDettPraticaId_Mezzo(long dettPraticaId, - java.lang.String mezzo) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByDettPraticaId_Mezzo(dettPraticaId, mezzo); - } - - /** - * Returns all the fe pagamentos where mezzo = ? and utilizzata = ?. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @return the matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByMezzo_Utilizzata( - java.lang.String mezzo, java.lang.String utilizzata) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByMezzo_Utilizzata(mezzo, utilizzata); - } - - /** - * Returns a range of all the fe pagamentos where mezzo = ? and utilizzata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByMezzo_Utilizzata( - java.lang.String mezzo, java.lang.String utilizzata, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByMezzo_Utilizzata(mezzo, utilizzata, start, end); - } - - /** - * Returns an ordered range of all the fe pagamentos where mezzo = ? and utilizzata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByMezzo_Utilizzata( - java.lang.String mezzo, java.lang.String utilizzata, int start, - int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByMezzo_Utilizzata(mezzo, utilizzata, start, end, - orderByComparator); - } - - /** - * Returns the first fe pagamento in the ordered set where mezzo = ? and utilizzata = ?. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento findByMezzo_Utilizzata_First( - java.lang.String mezzo, java.lang.String utilizzata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFePagamentoException { - return getPersistence() - .findByMezzo_Utilizzata_First(mezzo, utilizzata, - orderByComparator); - } - - /** - * Returns the first fe pagamento in the ordered set where mezzo = ? and utilizzata = ?. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento fetchByMezzo_Utilizzata_First( - java.lang.String mezzo, java.lang.String utilizzata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByMezzo_Utilizzata_First(mezzo, utilizzata, - orderByComparator); - } - - /** - * Returns the last fe pagamento in the ordered set where mezzo = ? and utilizzata = ?. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento findByMezzo_Utilizzata_Last( - java.lang.String mezzo, java.lang.String utilizzata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFePagamentoException { - return getPersistence() - .findByMezzo_Utilizzata_Last(mezzo, utilizzata, - orderByComparator); - } - - /** - * Returns the last fe pagamento in the ordered set where mezzo = ? and utilizzata = ?. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento fetchByMezzo_Utilizzata_Last( - java.lang.String mezzo, java.lang.String utilizzata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByMezzo_Utilizzata_Last(mezzo, utilizzata, - orderByComparator); - } - - /** - * Returns the fe pagamentos before and after the current fe pagamento in the ordered set where mezzo = ? and utilizzata = ?. - * - * @param pagamentoId the primary key of the current fe pagamento - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento[] findByMezzo_Utilizzata_PrevAndNext( - long pagamentoId, java.lang.String mezzo, java.lang.String utilizzata, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFePagamentoException { - return getPersistence() - .findByMezzo_Utilizzata_PrevAndNext(pagamentoId, mezzo, - utilizzata, orderByComparator); - } - - /** - * Removes all the fe pagamentos where mezzo = ? and utilizzata = ? from the database. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @throws SystemException if a system exception occurred - */ - public static void removeByMezzo_Utilizzata(java.lang.String mezzo, - java.lang.String utilizzata) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByMezzo_Utilizzata(mezzo, utilizzata); - } - - /** - * Returns the number of fe pagamentos where mezzo = ? and utilizzata = ?. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @return the number of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static int countByMezzo_Utilizzata(java.lang.String mezzo, - java.lang.String utilizzata) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByMezzo_Utilizzata(mezzo, utilizzata); - } - - /** - * Caches the fe pagamento in the entity cache if it is enabled. - * - * @param fePagamento the fe pagamento - */ - public static void cacheResult( - it.tref.liferay.portos.portosimport.model.FePagamento fePagamento) { - getPersistence().cacheResult(fePagamento); - } - - /** - * Caches the fe pagamentos in the entity cache if it is enabled. - * - * @param fePagamentos the fe pagamentos - */ - public static void cacheResult( - java.util.List fePagamentos) { - getPersistence().cacheResult(fePagamentos); - } - - /** - * Creates a new fe pagamento with the primary key. Does not add the fe pagamento to the database. - * - * @param pagamentoId the primary key for the new fe pagamento - * @return the new fe pagamento - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento create( - long pagamentoId) { - return getPersistence().create(pagamentoId); - } - - /** - * Removes the fe pagamento with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param pagamentoId the primary key of the fe pagamento - * @return the fe pagamento that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento remove( - long pagamentoId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFePagamentoException { - return getPersistence().remove(pagamentoId); - } - - public static it.tref.liferay.portos.portosimport.model.FePagamento updateImpl( - it.tref.liferay.portos.portosimport.model.FePagamento fePagamento) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(fePagamento); - } - - /** - * Returns the fe pagamento with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchFePagamentoException} if it could not be found. - * - * @param pagamentoId the primary key of the fe pagamento - * @return the fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento findByPrimaryKey( - long pagamentoId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFePagamentoException { - return getPersistence().findByPrimaryKey(pagamentoId); - } - - /** - * Returns the fe pagamento with the primary key or returns null if it could not be found. - * - * @param pagamentoId the primary key of the fe pagamento - * @return the fe pagamento, or null if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FePagamento fetchByPrimaryKey( - long pagamentoId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(pagamentoId); - } - - /** - * Returns all the fe pagamentos. - * - * @return the fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the fe pagamentos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the fe pagamentos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the fe pagamentos from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of fe pagamentos. - * - * @return the number of fe pagamentos - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static FePagamentoPersistence getPersistence() { - if (_persistence == null) { - _persistence = (FePagamentoPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.portosimport.service.ClpSerializer.getServletContextName(), - FePagamentoPersistence.class.getName()); - - ReferenceRegistry.registerReference(FePagamentoUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(FePagamentoPersistence persistence) { - } - - private static FePagamentoPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FeTerritorioActionableDynamicQuery.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FeTerritorioActionableDynamicQuery.java deleted file mode 100644 index 0e9a94dd..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FeTerritorioActionableDynamicQuery.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.FeTerritorio; -import it.tref.liferay.portos.portosimport.service.FeTerritorioLocalServiceUtil; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public abstract class FeTerritorioActionableDynamicQuery - extends BaseActionableDynamicQuery { - public FeTerritorioActionableDynamicQuery() throws SystemException { - setBaseLocalService(FeTerritorioLocalServiceUtil.getService()); - setClass(FeTerritorio.class); - - setClassLoader(it.tref.liferay.portos.portosimport.service.ClpSerializer.class.getClassLoader()); - - setPrimaryKeyPropertyName("territorioId"); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FeTerritorioPersistence.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FeTerritorioPersistence.java deleted file mode 100644 index 3cf36cdb..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FeTerritorioPersistence.java +++ /dev/null @@ -1,811 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.service.persistence.BasePersistence; - -import it.tref.liferay.portos.portosimport.model.FeTerritorio; - -/** - * The persistence interface for the fe territorio service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see FeTerritorioPersistenceImpl - * @see FeTerritorioUtil - * @generated - */ -public interface FeTerritorioPersistence extends BasePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this interface directly. Always use {@link FeTerritorioUtil} to access the fe territorio persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. - */ - - /** - * Returns all the fe territorios where comuneId = ?. - * - * @param comuneId the comune ID - * @return the matching fe territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByComuneId( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe territorios where comuneId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param comuneId the comune ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByComuneId( - long comuneId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the fe territorios where comuneId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param comuneId the comune ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByComuneId( - long comuneId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first fe territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeTerritorio findByComuneId_First( - long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException; - - /** - * Returns the first fe territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeTerritorio fetchByComuneId_First( - long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last fe territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeTerritorio findByComuneId_Last( - long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException; - - /** - * Returns the last fe territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeTerritorio fetchByComuneId_Last( - long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe territorios before and after the current fe territorio in the ordered set where comuneId = ?. - * - * @param territorioId the primary key of the current fe territorio - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeTerritorio[] findByComuneId_PrevAndNext( - long territorioId, long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException; - - /** - * Removes all the fe territorios where comuneId = ? from the database. - * - * @param comuneId the comune ID - * @throws SystemException if a system exception occurred - */ - public void removeByComuneId(long comuneId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe territorios where comuneId = ?. - * - * @param comuneId the comune ID - * @return the number of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public int countByComuneId(long comuneId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the fe territorios where zonaId = ?. - * - * @param zonaId the zona ID - * @return the matching fe territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByZonaId( - long zonaId) throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe territorios where zonaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param zonaId the zona ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByZonaId( - long zonaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the fe territorios where zonaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param zonaId the zona ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByZonaId( - long zonaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first fe territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeTerritorio findByZonaId_First( - long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException; - - /** - * Returns the first fe territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeTerritorio fetchByZonaId_First( - long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last fe territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeTerritorio findByZonaId_Last( - long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException; - - /** - * Returns the last fe territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeTerritorio fetchByZonaId_Last( - long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe territorios before and after the current fe territorio in the ordered set where zonaId = ?. - * - * @param territorioId the primary key of the current fe territorio - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeTerritorio[] findByZonaId_PrevAndNext( - long territorioId, long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException; - - /** - * Removes all the fe territorios where zonaId = ? from the database. - * - * @param zonaId the zona ID - * @throws SystemException if a system exception occurred - */ - public void removeByZonaId(long zonaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe territorios where zonaId = ?. - * - * @param zonaId the zona ID - * @return the number of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public int countByZonaId(long zonaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the fe territorios where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @return the matching fe territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByFasciaId( - long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe territorios where fasciaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param fasciaId the fascia ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByFasciaId( - long fasciaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the fe territorios where fasciaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param fasciaId the fascia ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByFasciaId( - long fasciaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first fe territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeTerritorio findByFasciaId_First( - long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException; - - /** - * Returns the first fe territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeTerritorio fetchByFasciaId_First( - long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last fe territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeTerritorio findByFasciaId_Last( - long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException; - - /** - * Returns the last fe territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeTerritorio fetchByFasciaId_Last( - long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe territorios before and after the current fe territorio in the ordered set where fasciaId = ?. - * - * @param territorioId the primary key of the current fe territorio - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeTerritorio[] findByFasciaId_PrevAndNext( - long territorioId, long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException; - - /** - * Removes all the fe territorios where fasciaId = ? from the database. - * - * @param fasciaId the fascia ID - * @throws SystemException if a system exception occurred - */ - public void removeByFasciaId(long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe territorios where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @return the number of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public int countByFasciaId(long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException} if it could not be found. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the matching fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeTerritorio findByC_Z_F_D( - long comuneId, long zonaId, long fasciaId, java.util.Date dtIni) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException; - - /** - * Returns the fe territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? or returns null if it could not be found. Uses the finder cache. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeTerritorio fetchByC_Z_F_D( - long comuneId, long zonaId, long fasciaId, java.util.Date dtIni) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeTerritorio fetchByC_Z_F_D( - long comuneId, long zonaId, long fasciaId, java.util.Date dtIni, - boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes the fe territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? from the database. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the fe territorio that was removed - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeTerritorio removeByC_Z_F_D( - long comuneId, long zonaId, long fasciaId, java.util.Date dtIni) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException; - - /** - * Returns the number of fe territorios where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the number of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public int countByC_Z_F_D(long comuneId, long zonaId, long fasciaId, - java.util.Date dtIni) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the fe territorios where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @return the matching fe territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Z_F( - long comuneId, long zonaId, long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe territorios where comuneId = ? and zonaId = ? and fasciaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Z_F( - long comuneId, long zonaId, long fasciaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the fe territorios where comuneId = ? and zonaId = ? and fasciaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findByC_Z_F( - long comuneId, long zonaId, long fasciaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the first fe territorio in the ordered set where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeTerritorio findByC_Z_F_First( - long comuneId, long zonaId, long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException; - - /** - * Returns the first fe territorio in the ordered set where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeTerritorio fetchByC_Z_F_First( - long comuneId, long zonaId, long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the last fe territorio in the ordered set where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeTerritorio findByC_Z_F_Last( - long comuneId, long zonaId, long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException; - - /** - * Returns the last fe territorio in the ordered set where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeTerritorio fetchByC_Z_F_Last( - long comuneId, long zonaId, long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe territorios before and after the current fe territorio in the ordered set where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param territorioId the primary key of the current fe territorio - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeTerritorio[] findByC_Z_F_PrevAndNext( - long territorioId, long comuneId, long zonaId, long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException; - - /** - * Removes all the fe territorios where comuneId = ? and zonaId = ? and fasciaId = ? from the database. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @throws SystemException if a system exception occurred - */ - public void removeByC_Z_F(long comuneId, long zonaId, long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe territorios where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @return the number of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public int countByC_Z_F(long comuneId, long zonaId, long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Caches the fe territorio in the entity cache if it is enabled. - * - * @param feTerritorio the fe territorio - */ - public void cacheResult( - it.tref.liferay.portos.portosimport.model.FeTerritorio feTerritorio); - - /** - * Caches the fe territorios in the entity cache if it is enabled. - * - * @param feTerritorios the fe territorios - */ - public void cacheResult( - java.util.List feTerritorios); - - /** - * Creates a new fe territorio with the primary key. Does not add the fe territorio to the database. - * - * @param territorioId the primary key for the new fe territorio - * @return the new fe territorio - */ - public it.tref.liferay.portos.portosimport.model.FeTerritorio create( - long territorioId); - - /** - * Removes the fe territorio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param territorioId the primary key of the fe territorio - * @return the fe territorio that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeTerritorio remove( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException; - - public it.tref.liferay.portos.portosimport.model.FeTerritorio updateImpl( - it.tref.liferay.portos.portosimport.model.FeTerritorio feTerritorio) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the fe territorio with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException} if it could not be found. - * - * @param territorioId the primary key of the fe territorio - * @return the fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeTerritorio findByPrimaryKey( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException; - - /** - * Returns the fe territorio with the primary key or returns null if it could not be found. - * - * @param territorioId the primary key of the fe territorio - * @return the fe territorio, or null if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public it.tref.liferay.portos.portosimport.model.FeTerritorio fetchByPrimaryKey( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns all the fe territorios. - * - * @return the fe territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns a range of all the fe territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of fe territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns an ordered range of all the fe territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of fe territorios - * @throws SystemException if a system exception occurred - */ - public java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Removes all the fe territorios from the database. - * - * @throws SystemException if a system exception occurred - */ - public void removeAll() - throws com.liferay.portal.kernel.exception.SystemException; - - /** - * Returns the number of fe territorios. - * - * @return the number of fe territorios - * @throws SystemException if a system exception occurred - */ - public int countAll() - throws com.liferay.portal.kernel.exception.SystemException; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FeTerritorioUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FeTerritorioUtil.java deleted file mode 100644 index 36644e13..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/portosimport/service/persistence/FeTerritorioUtil.java +++ /dev/null @@ -1,1045 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.ReferenceRegistry; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.portosimport.model.FeTerritorio; - -import java.util.List; - -/** - * The persistence utility for the fe territorio service. This utility wraps {@link FeTerritorioPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see FeTerritorioPersistence - * @see FeTerritorioPersistenceImpl - * @generated - */ -public class FeTerritorioUtil { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() - */ - public static void clearCache() { - getPersistence().clearCache(); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) - */ - public static void clearCache(FeTerritorio feTerritorio) { - getPersistence().clearCache(feTerritorio); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) - */ - public static long countWithDynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return getPersistence().countWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery) throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) - */ - public static List findWithDynamicQuery( - DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return getPersistence() - .findWithDynamicQuery(dynamicQuery, start, end, - orderByComparator); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) - */ - public static FeTerritorio update(FeTerritorio feTerritorio) - throws SystemException { - return getPersistence().update(feTerritorio); - } - - /** - * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) - */ - public static FeTerritorio update(FeTerritorio feTerritorio, - ServiceContext serviceContext) throws SystemException { - return getPersistence().update(feTerritorio, serviceContext); - } - - /** - * Returns all the fe territorios where comuneId = ?. - * - * @param comuneId the comune ID - * @return the matching fe territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByComuneId( - long comuneId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByComuneId(comuneId); - } - - /** - * Returns a range of all the fe territorios where comuneId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param comuneId the comune ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByComuneId( - long comuneId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByComuneId(comuneId, start, end); - } - - /** - * Returns an ordered range of all the fe territorios where comuneId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param comuneId the comune ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByComuneId( - long comuneId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByComuneId(comuneId, start, end, orderByComparator); - } - - /** - * Returns the first fe territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeTerritorio findByComuneId_First( - long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException { - return getPersistence().findByComuneId_First(comuneId, orderByComparator); - } - - /** - * Returns the first fe territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeTerritorio fetchByComuneId_First( - long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByComuneId_First(comuneId, orderByComparator); - } - - /** - * Returns the last fe territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeTerritorio findByComuneId_Last( - long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException { - return getPersistence().findByComuneId_Last(comuneId, orderByComparator); - } - - /** - * Returns the last fe territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeTerritorio fetchByComuneId_Last( - long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByComuneId_Last(comuneId, orderByComparator); - } - - /** - * Returns the fe territorios before and after the current fe territorio in the ordered set where comuneId = ?. - * - * @param territorioId the primary key of the current fe territorio - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeTerritorio[] findByComuneId_PrevAndNext( - long territorioId, long comuneId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException { - return getPersistence() - .findByComuneId_PrevAndNext(territorioId, comuneId, - orderByComparator); - } - - /** - * Removes all the fe territorios where comuneId = ? from the database. - * - * @param comuneId the comune ID - * @throws SystemException if a system exception occurred - */ - public static void removeByComuneId(long comuneId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByComuneId(comuneId); - } - - /** - * Returns the number of fe territorios where comuneId = ?. - * - * @param comuneId the comune ID - * @return the number of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public static int countByComuneId(long comuneId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByComuneId(comuneId); - } - - /** - * Returns all the fe territorios where zonaId = ?. - * - * @param zonaId the zona ID - * @return the matching fe territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByZonaId( - long zonaId) throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByZonaId(zonaId); - } - - /** - * Returns a range of all the fe territorios where zonaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param zonaId the zona ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByZonaId( - long zonaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByZonaId(zonaId, start, end); - } - - /** - * Returns an ordered range of all the fe territorios where zonaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param zonaId the zona ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByZonaId( - long zonaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByZonaId(zonaId, start, end, orderByComparator); - } - - /** - * Returns the first fe territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeTerritorio findByZonaId_First( - long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException { - return getPersistence().findByZonaId_First(zonaId, orderByComparator); - } - - /** - * Returns the first fe territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeTerritorio fetchByZonaId_First( - long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByZonaId_First(zonaId, orderByComparator); - } - - /** - * Returns the last fe territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeTerritorio findByZonaId_Last( - long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException { - return getPersistence().findByZonaId_Last(zonaId, orderByComparator); - } - - /** - * Returns the last fe territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeTerritorio fetchByZonaId_Last( - long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByZonaId_Last(zonaId, orderByComparator); - } - - /** - * Returns the fe territorios before and after the current fe territorio in the ordered set where zonaId = ?. - * - * @param territorioId the primary key of the current fe territorio - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeTerritorio[] findByZonaId_PrevAndNext( - long territorioId, long zonaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException { - return getPersistence() - .findByZonaId_PrevAndNext(territorioId, zonaId, - orderByComparator); - } - - /** - * Removes all the fe territorios where zonaId = ? from the database. - * - * @param zonaId the zona ID - * @throws SystemException if a system exception occurred - */ - public static void removeByZonaId(long zonaId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByZonaId(zonaId); - } - - /** - * Returns the number of fe territorios where zonaId = ?. - * - * @param zonaId the zona ID - * @return the number of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public static int countByZonaId(long zonaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByZonaId(zonaId); - } - - /** - * Returns all the fe territorios where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @return the matching fe territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByFasciaId( - long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByFasciaId(fasciaId); - } - - /** - * Returns a range of all the fe territorios where fasciaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param fasciaId the fascia ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByFasciaId( - long fasciaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByFasciaId(fasciaId, start, end); - } - - /** - * Returns an ordered range of all the fe territorios where fasciaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param fasciaId the fascia ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByFasciaId( - long fasciaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByFasciaId(fasciaId, start, end, orderByComparator); - } - - /** - * Returns the first fe territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeTerritorio findByFasciaId_First( - long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException { - return getPersistence().findByFasciaId_First(fasciaId, orderByComparator); - } - - /** - * Returns the first fe territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeTerritorio fetchByFasciaId_First( - long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByFasciaId_First(fasciaId, orderByComparator); - } - - /** - * Returns the last fe territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeTerritorio findByFasciaId_Last( - long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException { - return getPersistence().findByFasciaId_Last(fasciaId, orderByComparator); - } - - /** - * Returns the last fe territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeTerritorio fetchByFasciaId_Last( - long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByFasciaId_Last(fasciaId, orderByComparator); - } - - /** - * Returns the fe territorios before and after the current fe territorio in the ordered set where fasciaId = ?. - * - * @param territorioId the primary key of the current fe territorio - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeTerritorio[] findByFasciaId_PrevAndNext( - long territorioId, long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException { - return getPersistence() - .findByFasciaId_PrevAndNext(territorioId, fasciaId, - orderByComparator); - } - - /** - * Removes all the fe territorios where fasciaId = ? from the database. - * - * @param fasciaId the fascia ID - * @throws SystemException if a system exception occurred - */ - public static void removeByFasciaId(long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByFasciaId(fasciaId); - } - - /** - * Returns the number of fe territorios where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @return the number of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public static int countByFasciaId(long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByFasciaId(fasciaId); - } - - /** - * Returns the fe territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException} if it could not be found. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the matching fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeTerritorio findByC_Z_F_D( - long comuneId, long zonaId, long fasciaId, java.util.Date dtIni) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException { - return getPersistence().findByC_Z_F_D(comuneId, zonaId, fasciaId, dtIni); - } - - /** - * Returns the fe territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? or returns null if it could not be found. Uses the finder cache. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeTerritorio fetchByC_Z_F_D( - long comuneId, long zonaId, long fasciaId, java.util.Date dtIni) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByC_Z_F_D(comuneId, zonaId, fasciaId, dtIni); - } - - /** - * Returns the fe territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeTerritorio fetchByC_Z_F_D( - long comuneId, long zonaId, long fasciaId, java.util.Date dtIni, - boolean retrieveFromCache) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Z_F_D(comuneId, zonaId, fasciaId, dtIni, - retrieveFromCache); - } - - /** - * Removes the fe territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? from the database. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the fe territorio that was removed - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeTerritorio removeByC_Z_F_D( - long comuneId, long zonaId, long fasciaId, java.util.Date dtIni) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException { - return getPersistence() - .removeByC_Z_F_D(comuneId, zonaId, fasciaId, dtIni); - } - - /** - * Returns the number of fe territorios where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the number of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public static int countByC_Z_F_D(long comuneId, long zonaId, long fasciaId, - java.util.Date dtIni) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByC_Z_F_D(comuneId, zonaId, fasciaId, dtIni); - } - - /** - * Returns all the fe territorios where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @return the matching fe territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Z_F( - long comuneId, long zonaId, long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findByC_Z_F(comuneId, zonaId, fasciaId); - } - - /** - * Returns a range of all the fe territorios where comuneId = ? and zonaId = ? and fasciaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Z_F( - long comuneId, long zonaId, long fasciaId, int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Z_F(comuneId, zonaId, fasciaId, start, end); - } - - /** - * Returns an ordered range of all the fe territorios where comuneId = ? and zonaId = ? and fasciaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findByC_Z_F( - long comuneId, long zonaId, long fasciaId, int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .findByC_Z_F(comuneId, zonaId, fasciaId, start, end, - orderByComparator); - } - - /** - * Returns the first fe territorio in the ordered set where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeTerritorio findByC_Z_F_First( - long comuneId, long zonaId, long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException { - return getPersistence() - .findByC_Z_F_First(comuneId, zonaId, fasciaId, - orderByComparator); - } - - /** - * Returns the first fe territorio in the ordered set where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeTerritorio fetchByC_Z_F_First( - long comuneId, long zonaId, long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Z_F_First(comuneId, zonaId, fasciaId, - orderByComparator); - } - - /** - * Returns the last fe territorio in the ordered set where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeTerritorio findByC_Z_F_Last( - long comuneId, long zonaId, long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException { - return getPersistence() - .findByC_Z_F_Last(comuneId, zonaId, fasciaId, - orderByComparator); - } - - /** - * Returns the last fe territorio in the ordered set where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeTerritorio fetchByC_Z_F_Last( - long comuneId, long zonaId, long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence() - .fetchByC_Z_F_Last(comuneId, zonaId, fasciaId, - orderByComparator); - } - - /** - * Returns the fe territorios before and after the current fe territorio in the ordered set where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param territorioId the primary key of the current fe territorio - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeTerritorio[] findByC_Z_F_PrevAndNext( - long territorioId, long comuneId, long zonaId, long fasciaId, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException { - return getPersistence() - .findByC_Z_F_PrevAndNext(territorioId, comuneId, zonaId, - fasciaId, orderByComparator); - } - - /** - * Removes all the fe territorios where comuneId = ? and zonaId = ? and fasciaId = ? from the database. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @throws SystemException if a system exception occurred - */ - public static void removeByC_Z_F(long comuneId, long zonaId, long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeByC_Z_F(comuneId, zonaId, fasciaId); - } - - /** - * Returns the number of fe territorios where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @return the number of matching fe territorios - * @throws SystemException if a system exception occurred - */ - public static int countByC_Z_F(long comuneId, long zonaId, long fasciaId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countByC_Z_F(comuneId, zonaId, fasciaId); - } - - /** - * Caches the fe territorio in the entity cache if it is enabled. - * - * @param feTerritorio the fe territorio - */ - public static void cacheResult( - it.tref.liferay.portos.portosimport.model.FeTerritorio feTerritorio) { - getPersistence().cacheResult(feTerritorio); - } - - /** - * Caches the fe territorios in the entity cache if it is enabled. - * - * @param feTerritorios the fe territorios - */ - public static void cacheResult( - java.util.List feTerritorios) { - getPersistence().cacheResult(feTerritorios); - } - - /** - * Creates a new fe territorio with the primary key. Does not add the fe territorio to the database. - * - * @param territorioId the primary key for the new fe territorio - * @return the new fe territorio - */ - public static it.tref.liferay.portos.portosimport.model.FeTerritorio create( - long territorioId) { - return getPersistence().create(territorioId); - } - - /** - * Removes the fe territorio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param territorioId the primary key of the fe territorio - * @return the fe territorio that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeTerritorio remove( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException { - return getPersistence().remove(territorioId); - } - - public static it.tref.liferay.portos.portosimport.model.FeTerritorio updateImpl( - it.tref.liferay.portos.portosimport.model.FeTerritorio feTerritorio) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().updateImpl(feTerritorio); - } - - /** - * Returns the fe territorio with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException} if it could not be found. - * - * @param territorioId the primary key of the fe territorio - * @return the fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeTerritorio findByPrimaryKey( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException, - it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException { - return getPersistence().findByPrimaryKey(territorioId); - } - - /** - * Returns the fe territorio with the primary key or returns null if it could not be found. - * - * @param territorioId the primary key of the fe territorio - * @return the fe territorio, or null if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - public static it.tref.liferay.portos.portosimport.model.FeTerritorio fetchByPrimaryKey( - long territorioId) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().fetchByPrimaryKey(territorioId); - } - - /** - * Returns all the fe territorios. - * - * @return the fe territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(); - } - - /** - * Returns a range of all the fe territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of fe territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end); - } - - /** - * Returns an ordered range of all the fe territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of fe territorios - * @throws SystemException if a system exception occurred - */ - public static java.util.List findAll( - int start, int end, - com.liferay.portal.kernel.util.OrderByComparator orderByComparator) - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().findAll(start, end, orderByComparator); - } - - /** - * Removes all the fe territorios from the database. - * - * @throws SystemException if a system exception occurred - */ - public static void removeAll() - throws com.liferay.portal.kernel.exception.SystemException { - getPersistence().removeAll(); - } - - /** - * Returns the number of fe territorios. - * - * @return the number of fe territorios - * @throws SystemException if a system exception occurred - */ - public static int countAll() - throws com.liferay.portal.kernel.exception.SystemException { - return getPersistence().countAll(); - } - - public static FeTerritorioPersistence getPersistence() { - if (_persistence == null) { - _persistence = (FeTerritorioPersistence)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.portosimport.service.ClpSerializer.getServletContextName(), - FeTerritorioPersistence.class.getName()); - - ReferenceRegistry.registerReference(FeTerritorioUtil.class, - "_persistence"); - } - - return _persistence; - } - - /** - * @deprecated As of 6.2.0 - */ - public void setPersistence(FeTerritorioPersistence persistence) { - } - - private static FeTerritorioPersistence _persistence; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/sql/indexes.properties b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/sql/indexes.properties deleted file mode 100644 index e69de29b..00000000 diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/sql/indexes.sql b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/sql/indexes.sql deleted file mode 100644 index e69de29b..00000000 diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/sql/sequences.sql b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/sql/sequences.sql deleted file mode 100644 index e69de29b..00000000 diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/sql/tables.sql b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/sql/tables.sql deleted file mode 100644 index e69de29b..00000000 diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/META-INF/base-spring.xml b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/META-INF/base-spring.xml deleted file mode 100644 index 8e5edbab..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/META-INF/base-spring.xml +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/META-INF/cluster-spring.xml b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/META-INF/cluster-spring.xml deleted file mode 100644 index cd5219ba..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/META-INF/cluster-spring.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/META-INF/ext-spring.xml b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/META-INF/ext-spring.xml deleted file mode 100644 index 99c3d6d2..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/META-INF/ext-spring.xml +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/META-INF/hibernate-spring.xml b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/META-INF/hibernate-spring.xml deleted file mode 100644 index 27564a2f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/META-INF/hibernate-spring.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/META-INF/infrastructure-spring.xml b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/META-INF/infrastructure-spring.xml deleted file mode 100644 index 380d6975..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/META-INF/infrastructure-spring.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/META-INF/portlet-hbm.xml b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/META-INF/portlet-hbm.xml deleted file mode 100644 index 35e8e9df..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/META-INF/portlet-hbm.xml +++ /dev/null @@ -1,475 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/META-INF/portlet-model-hints.xml b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/META-INF/portlet-model-hints.xml deleted file mode 100644 index a3522341..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/META-INF/portlet-model-hints.xml +++ /dev/null @@ -1,398 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/META-INF/portlet-orm.xml b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/META-INF/portlet-orm.xml deleted file mode 100644 index 23f9112c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/META-INF/portlet-orm.xml +++ /dev/null @@ -1,727 +0,0 @@ - - - - - - - PROPERTY - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - TIMESTAMP - - - - - - - - - TIMESTAMP - - - - - - - - - TIMESTAMP - - - - - - TIMESTAMP - - - - TIMESTAMP - - - - TIMESTAMP - - - - TIMESTAMP - - - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - - - - - - - - - TIMESTAMP - - - - - - - - TIMESTAMP - - - - - - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - - - - - - TIMESTAMP - - - - TIMESTAMP - - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - - - - - TIMESTAMP - - - - - - - - - - - - - TIMESTAMP - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - TIMESTAMP - - - - - TIMESTAMP - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - TIMESTAMP - - - - - - - - - - - - - - - - - - TIMESTAMP - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - TIMESTAMP - - - - - - - TIMESTAMP - - - - - - - - - - - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - - - - - - - - - - - - - - - - - - TIMESTAMP - - - TIMESTAMP - - - - - - - - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/META-INF/portlet-spring.xml b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/META-INF/portlet-spring.xml deleted file mode 100644 index 6580f2ae..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/META-INF/portlet-spring.xml +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/META-INF/shard-data-source-spring.xml b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/META-INF/shard-data-source-spring.xml deleted file mode 100644 index fe293f42..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/META-INF/shard-data-source-spring.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/importer/Importer.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/importer/Importer.java deleted file mode 100644 index e78fd954..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/importer/Importer.java +++ /dev/null @@ -1,14 +0,0 @@ -package it.tref.liferay.portos.portosimport.importer; - -import com.liferay.portal.kernel.dao.orm.Criterion; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; - -import java.util.List; - - -public interface Importer { - - abstract void importa(final List criterionList) throws SystemException, PortalException; - -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/importer/impl/AvvisoImporterImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/importer/impl/AvvisoImporterImpl.java deleted file mode 100644 index d8dc8718..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/importer/impl/AvvisoImporterImpl.java +++ /dev/null @@ -1,140 +0,0 @@ -package it.tref.liferay.portos.portosimport.importer.impl; - - -import com.liferay.portal.kernel.dao.orm.Criterion; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.bo.model.Avviso; -import it.tref.liferay.portos.bo.model.DettPratica; -import it.tref.liferay.portos.bo.model.Territorio; -import it.tref.liferay.portos.bo.service.AvvisoLocalServiceUtil; -import it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.TerritorioLocalServiceUtil; -import it.tref.liferay.portos.portosimport.importer.Importer; -import it.tref.liferay.portos.portosimport.model.BoAvviso; -import it.tref.liferay.portos.portosimport.model.BoDettPratica; -import it.tref.liferay.portos.portosimport.model.BoIntPratica; -import it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.persistence.BoAvvisoActionableDynamicQuery; - -import java.util.Date; -import java.util.List; - - -public class AvvisoImporterImpl implements Importer { - - private static final Log _log = LogFactoryUtil.getLog(AvvisoImporterImpl.class); - - public AvvisoImporterImpl() { - - } - - - public void importa(final List criterionList) throws SystemException, PortalException { - - BoAvvisoActionableDynamicQuery boAvvisoActionableDynamicQuery = new BoAvvisoActionableDynamicQuery() { - - @Override - protected void addCriteria(DynamicQuery dynamicQuery) { - - - for (Criterion criterion : criterionList) { - dynamicQuery.add(criterion); - } - - - super.addCriteria(dynamicQuery); - } - - @Override - protected void performAction(Object object) throws PortalException, SystemException { - - BoAvviso boAvviso = (BoAvviso) object; - - Avviso avviso = AvvisoLocalServiceUtil.fetchAvvisoByOldAvvisoId(boAvviso.getAvvisoId()); - - BoDettPratica boDettPratica = BoDettPraticaLocalServiceUtil.fetchBoDettPratica(boAvviso.getDettPraticaId()); - if (Validator.isNull(boDettPratica)) { - _log.info("[IMPORTER - AVVISO] Nessun boDettPratica con id " + boAvviso.getDettPraticaId() + " l'avviso " - + boAvviso.getAvvisoId() + " non sarà importato."); - return; - } - - BoIntPratica boIntPratica = BoIntPraticaLocalServiceUtil.getBoIntPratica(boDettPratica.getIntPraticaId()); - if (Validator.isNull(boIntPratica)) { - _log.info("[IMPORTER - AVVISO] Nessun boIntPratica con id " + boDettPratica.getIntPraticaId() + " l'avviso " - + boAvviso.getAvvisoId() + " non sarà importato."); - return; - } - - Territorio territorio = TerritorioLocalServiceUtil.fetchByOldTerriotioId(boIntPratica.getTerritorioId()); - if (Validator.isNull(territorio)) { - _log.info("[IMPORTER - AVVISO] Nessun territorio corrisponde all'old id " + boIntPratica.getTerritorioId() - + " l'avviso " + boAvviso.getAvvisoId() + " non sarà importato."); - return; - } - - ServiceContext serviceContext = new ServiceContext(); - serviceContext.setUserId(0L); - serviceContext.setScopeGroupId(territorio.getGroupId()); - serviceContext.setCompanyId(territorio.getCompanyId()); - serviceContext.setCreateDate(boAvviso.getCreateDate()); - serviceContext.setModifiedDate(boAvviso.getModifiedDate()); - try { - - if (Validator.isNull(avviso)) { - _log.info("[IMPORTER - AVVISO] Importazione di boAvviso " + boAvviso.getAvvisoId()); - importaAvviso(boAvviso, serviceContext); - } - - } catch (Exception e) { - _log.error("[IMPORTER - AVVISO] Errore durante l'importazione del boAvviso: id " + boAvviso.getAvvisoId()); - _log.warn("[IMPORTER - AVVISO] Errore durante l'importazione del boAvviso: id " + boAvviso.getAvvisoId(), e); - } - } - - }; - - boAvvisoActionableDynamicQuery.performActions(); - } - - private Avviso importaAvviso(BoAvviso boAvviso, ServiceContext serviceContext) throws SystemException, - PortalException { - - DettPratica dettPratica = DettPraticaLocalServiceUtil.getByOldDettPraticaId(boAvviso.getDettPraticaId()); - - if (Validator.isNull(dettPratica)) { - _log.warn("[IMPORTER - AVVISO] Nessuna boDettPratica con id " + boAvviso.getDettPraticaId() + " il boAvviso " - + boAvviso.getAvvisoId() + " non sarà importato"); - return null; - } - long dettPraticaId = dettPratica.getDettPraticaId(); - - String descLong = boAvviso.getDescLong(); - Date dtAvviso = boAvviso.getDtAvviso(); - String tipoAvviso = boAvviso.getTipoAvviso(); - String tipoDocumento = boAvviso.getTipoDocumento(); - long fileEntryIdTemplate = boAvviso.getFileEntryIdTemplate(); - long fileEntryIdBase = boAvviso.getFileEntryIdBase(); - String jsonParameters = boAvviso.getJsonParameters(); - long oldAvvisoId = boAvviso.getAvvisoId(); - String inviato = boAvviso.getInviato(); - - String userCodiceFiscalePrimaFirma = StringPool.BLANK; - - - return AvvisoLocalServiceUtil.addAvvisoForImport(descLong, dtAvviso, tipoAvviso, tipoDocumento, - fileEntryIdTemplate, dettPraticaId, userCodiceFiscalePrimaFirma, fileEntryIdBase, jsonParameters, - dettPratica.getIntPraticaId(), oldAvvisoId, inviato, serviceContext); - - } - -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/importer/impl/DettPraticaImporterImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/importer/impl/DettPraticaImporterImpl.java deleted file mode 100644 index b939c858..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/importer/impl/DettPraticaImporterImpl.java +++ /dev/null @@ -1,561 +0,0 @@ -package it.tref.liferay.portos.portosimport.importer.impl; - - -import com.liferay.portal.kernel.dao.orm.Criterion; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.RestrictionsFactoryUtil; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.bo.model.DettPratica; -import it.tref.liferay.portos.bo.model.IntPratica; -import it.tref.liferay.portos.bo.model.Territorio; -import it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.TerritorioLocalServiceUtil; -import it.tref.liferay.portos.bo.shared.util.ArtLeggeUtil; -import it.tref.liferay.portos.bo.shared.util.SistemiCostruttiviUtil; -import it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil; -import it.tref.liferay.portos.portosimport.importer.Importer; -import it.tref.liferay.portos.portosimport.model.BoArtLegge; -import it.tref.liferay.portos.portosimport.model.BoDettPratica; -import it.tref.liferay.portos.portosimport.model.BoIntPratica; -import it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica; -import it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo; -import it.tref.liferay.portos.portosimport.model.FeDettPratica; -import it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.persistence.BoDettPraticaActionableDynamicQuery; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class DettPraticaImporterImpl implements Importer { - - private static final Log _log = LogFactoryUtil.getLog(DettPraticaImporterImpl.class); - - public DettPraticaImporterImpl() { - - } - - public void importa(final List criterionList) throws SystemException, PortalException { - - BoDettPraticaActionableDynamicQuery boDettPraticaActionableDynamicQuery = - new BoDettPraticaActionableDynamicQuery() { - - @Override - protected void addCriteria(DynamicQuery dynamicQuery) { - - for (Criterion criterion : criterionList) { - dynamicQuery.add(criterion); - } - - super.addCriteria(dynamicQuery); - } - - @Override - protected void performAction(Object object) throws PortalException, SystemException { - - BoDettPratica boDettPratica = (BoDettPratica) object; - DettPratica dettPratica = - DettPraticaLocalServiceUtil.getByOldDettPraticaId(boDettPratica.getDettPraticaId()); - - BoIntPratica boIntPratica = - BoIntPraticaLocalServiceUtil.fetchByIntPraticaId(boDettPratica.getIntPraticaId()); - if (Validator.isNull(boIntPratica)) { - _log.warn("[IMPORTAZIONE - DETTPRATICA] Nessuna boIntPratica con id " + boDettPratica.getIntPraticaId() - + " la dettPratica " + boDettPratica.getDettPraticaId() + " non sarà importata"); - return; - } - - if (boIntPratica.getVarianteNumero() > 0 || boIntPratica.getVariataDa() > 0) { - _log.warn("[IMPORTAZIONE - DETTPRATICA] boIntPratica " + boIntPratica.getIntPraticaId() - + " is VARIANTE; la dettPratica " + boDettPratica.getDettPraticaId() + " non sarà importata"); - return; - } - - Territorio territorio = TerritorioLocalServiceUtil.fetchByOldTerriotioId(boIntPratica.getTerritorioId()); - ServiceContext serviceContext = new ServiceContext(); - serviceContext.setUserId(0L); - serviceContext.setScopeGroupId(territorio.getGroupId()); - serviceContext.setCompanyId(territorio.getCompanyId()); - serviceContext.setCreateDate(boDettPratica.getCreateDate()); - serviceContext.setModifiedDate(boDettPratica.getModifiedDate()); - try { - - if (Validator.isNull(dettPratica)) { - _log.info("[IMPORTAZIONE - DETTPRATICA] Importazione dettPratica: " + boDettPratica.getDettPraticaId()); - dettPratica = importaDettPratica(boDettPratica, boIntPratica, serviceContext); - } - - - _log.info("[IMPORTAZIONE - DETTPRATICA] -> Importo i pagamenti di dettPratica " - + dettPratica.getDettPraticaId()); - FeDettPratica feDettPratica = - FeDettPraticaLocalServiceUtil.fetchByCodPraticaSuap(boDettPratica.getCodPraticaSuap()); - PagamentoImporterImpl pagamentoImporter = new PagamentoImporterImpl(); - List pagamentoCriterionList = new ArrayList(); - pagamentoCriterionList.add(RestrictionsFactoryUtil.eq("dettPraticaId", feDettPratica.getDettPraticaId())); - pagamentoImporter.importa(pagamentoCriterionList); - - _log.info("[IMPORTAZIONE - DETTPRATICA] -> Importo i soggetti di dettPratica " - + dettPratica.getDettPraticaId()); - SoggettoImporterImpl soggettoImporter = new SoggettoImporterImpl(); - List soggettoCriterionList = new ArrayList(); - soggettoCriterionList.add(RestrictionsFactoryUtil.eq("dettPraticaId", dettPratica.getOldDettPraticaId())); - soggettoImporter.importa(soggettoCriterionList); - - _log.info("[IMPORTAZIONE - DETTPRATICA] -> Importo gli avvisi di dettPratica " - + dettPratica.getDettPraticaId()); - AvvisoImporterImpl avvisoImporter = new AvvisoImporterImpl(); - List avvisoCriterionList = new ArrayList(); - avvisoCriterionList.add(RestrictionsFactoryUtil.eq("dettPraticaId", dettPratica.getOldDettPraticaId())); - avvisoImporter.importa(avvisoCriterionList); - - _log.info("[IMPORTAZIONE - DETTPRATICA] -> Importo i sorteggi di dettPratica " - + dettPratica.getDettPraticaId()); - SorteggioImporterImpl sorteggioImporter = new SorteggioImporterImpl(); - List sorteggioCriterionList = new ArrayList(); - sorteggioCriterionList - .add(RestrictionsFactoryUtil.eq("dettPraticaId", dettPratica.getOldDettPraticaId())); - sorteggioImporter.importa(sorteggioCriterionList); - - _log.info("[IMPORTAZIONE - DETTPRATICA] -> Importo gli storico pratica soggetto di dettPratica " - + dettPratica.getDettPraticaId()); - StoricoSoggettoPraticaImporterImpl storicoSoggettoPraticaImporterImpl = - new StoricoSoggettoPraticaImporterImpl(); - List storicoCriterionList = new ArrayList(); - storicoCriterionList.add(RestrictionsFactoryUtil.eq("intPraticaId", boDettPratica.getIntPraticaId())); - storicoSoggettoPraticaImporterImpl.importa(storicoCriterionList); - - _log.info("[IMPORTAZIONE - DETTPRATICA] -> Importo i doc pratica soggetto di dettPratica " - + dettPratica.getDettPraticaId()); - DocPraticaImporterImpl docPraticaImporterImpl = new DocPraticaImporterImpl(); - List docPraticaCriterionList = new ArrayList(); - docPraticaCriterionList - .add(RestrictionsFactoryUtil.eq("dettPraticaId", dettPratica.getOldDettPraticaId())); - docPraticaImporterImpl.importa(docPraticaCriterionList); - - } catch (Exception e) { - _log.error("[IMPORTAZIONE - DETTPRATICA] Errore durante l'importazione di boDettPratica: id " - + boDettPratica.getDettPraticaId(), e); - _log.warn("[IMPORTAZIONE - DETTPRATICA] Errore durante l'importazione di boDettPratica: id " - + boDettPratica.getDettPraticaId()); - } - } - - - }; - boDettPraticaActionableDynamicQuery.performActions(); - } - - private DettPratica importaDettPratica(BoDettPratica boDettPratica, BoIntPratica boIntPratica, - ServiceContext serviceContext) throws SystemException, PortalException, ClassNotFoundException { - - - boolean bozza = true; - - boolean validata = boDettPratica.getValidata(); - String protocollo = boDettPratica.getProtocollo(); - - boolean completa = boDettPratica.getCompleta(); - boolean gestita = boDettPratica.getGestita(); - String codicePagamento = boDettPratica.getCodicePagamento(); - String causalePagamento = boDettPratica.getCausalePagamento(); - String mezzoPagamento = boDettPratica.getMezzoPagamento(); - String importoBolli = boDettPratica.getImportoBolli(); - String importoSpeseIstruttoria = boDettPratica.getImportoSpeseIstruttoria(); - Date dataEffettuazione = boDettPratica.getDataEffettuazione(); - - int statusTask = boDettPratica.getStatusTask(); - boolean workflowForzato = boDettPratica.getWorkflowForzato(); - long soggettoSostituitoId = boDettPratica.getSoggettoSostituitoId(); - // NUOVO - long oldDettPraticaId = boDettPratica.getDettPraticaId(); - - boolean tcInCA = false; - boolean tcInOpera = false; - boolean tcPrefabbricato = false; - boolean tcInAcciaio = false; - boolean tcMista = false; - boolean tcInMuratura = false; - boolean tcInMuraturaOrdinaria = false; - boolean tcInMuraturaArmata = false; - boolean tcInMuraturaMista = false; - boolean tcInLegno = false; - boolean tcAltro = false; - String tcAltroDescrizione = StringPool.BLANK; - boolean tcConDispositivi = false; - - /* INIZIO INT PRATICA */ - String ag = StringPool.BLANK; - String destinazione = StringPool.BLANK; - String descLongIntervento = StringPool.BLANK; - String via = StringPool.BLANK; - String localita = StringPool.BLANK; - String estremiCatastali = StringPool.BLANK; - String estremiPratCom = StringPool.BLANK; - String tipoIntegrazione = boDettPratica.getTipoIntegrazione(); - String codiceFiscaleDelegato = StringPool.BLANK; - String codiceRuoloDelegato = StringPool.BLANK; - String metratura = StringPool.BLANK; - long variataDa = 0l; - long varianteNumero = 0l; - long integrazione = boDettPratica.getIntegrazione(); - boolean varianteSostanziale = false; - boolean operaConforme = false; - boolean collaudoStatico = false; - boolean lavoriInEconomiaCommittente = false; - boolean inizioLavoriContestualeOpera = false; - boolean lavoriPubblici = false; - Date dataInizioLavoriOpera = null; - Date dataInizioEsecuzioneOpera = null; - Date dataFineEsecuzioneOpera = null; - long intPraticaId = 0l; - - - _log.info("[IMPORTAZIONE - DETTPRATICA] -> Importo l'intPratica per il boDettPratica " - + boDettPratica.getDettPraticaId()); - IntPraticaImporterImpl intPraticaImporter = new IntPraticaImporterImpl(); - List intPraticaCriterionList = new ArrayList(); - intPraticaCriterionList.add(RestrictionsFactoryUtil.eq("intPraticaId", boIntPratica.getIntPraticaId())); - intPraticaImporter.importa(intPraticaCriterionList); - - IntPratica intPratica = IntPraticaLocalServiceUtil.fetchByOldIntPraticaId(boDettPratica.getIntPraticaId()); - if (Validator.isNull(intPratica)) { - _log.warn("[IMPORTAZIONE - DETTPRATICA] Nessuna IntPratica con old id " + boDettPratica.getIntPraticaId() - + " la dettPratica " + boDettPratica.getDettPraticaId() + " non sarà importata"); - return null; - } - intPraticaId = intPratica.getIntPraticaId(); - - ag = boIntPratica.getAg(); - destinazione = boIntPratica.getDestinazione(); - // String tipologiaSistemaCostruttivo = boIntPratica.getTipologiaSistemaCostruttivo(); - descLongIntervento = boIntPratica.getDescLongIntervento(); - via = boIntPratica.getVia(); - localita = boIntPratica.getLocalita(); - estremiCatastali = boIntPratica.getEstremiCatastali(); - estremiPratCom = boIntPratica.getEstremiPratCom(); - variataDa = boIntPratica.getVariataDa(); - varianteNumero = boIntPratica.getVarianteNumero(); - varianteSostanziale = boIntPratica.getVarianteSostanziale(); - tipoIntegrazione = - varianteNumero > 0 ? TipoIntegrazioneUtil.RICHIESTA_INTEGRAZIONE : boDettPratica.getTipoIntegrazione(); - operaConforme = boIntPratica.getOperaConforme(); - collaudoStatico = boIntPratica.getCollaudoStatico(); - codiceFiscaleDelegato = boIntPratica.getCodiceFiscaleDelegato(); - codiceRuoloDelegato = boIntPratica.getCodiceRuoloDelegato(); - lavoriInEconomiaCommittente = boIntPratica.getLavoriInEconomiaCommittente(); - inizioLavoriContestualeOpera = boIntPratica.getInizioLavoriContestualeOpera(); - dataInizioLavoriOpera = boIntPratica.getDataInizioEsecuzioneOpera(); - dataInizioEsecuzioneOpera = boIntPratica.getDataInizioEsecuzioneOpera(); - dataFineEsecuzioneOpera = boIntPratica.getDataFineEsecuzioneOpera(); - metratura = boIntPratica.getMetratura(); - lavoriPubblici = boIntPratica.getLavoriPubblici(); - - // fe - long pagamentoId = 0; - FeDettPratica feDettPratica = - FeDettPraticaLocalServiceUtil.fetchByCodPraticaSuap(boDettPratica.getCodPraticaSuap()); - if (Validator.isNotNull(feDettPratica)) { - pagamentoId = feDettPratica.getPagamentoId(); - } else { - _log.warn("[IMPORTAZIONE - DETTPRATICA] Nessuna feDettPratica con codice pratica suap " - + boDettPratica.getCodPraticaSuap()); - } - - List sistemiCostuttiviList = - BoSistemaCostruttivoLocalServiceUtil.findByC_G_BoIntPratica(boIntPratica.getIntPraticaId()); - - for (BoSistemaCostruttivo sistCostruttivo : sistemiCostuttiviList) { - switch (sistCostruttivo.getCodSistemaCostruttivo()) { - case SistemiCostruttiviUtil.IN_CEMENTO_ARMATO: - tcInCA = true; - break; - case SistemiCostruttiviUtil.IN_OPERA: - tcInOpera = true; - break; - case SistemiCostruttiviUtil.PREFABBRICATO: - tcPrefabbricato = true; - break; - case SistemiCostruttiviUtil.IN_ACCIAIO: - tcInAcciaio = true; - break; - case SistemiCostruttiviUtil.MISTA_CEMENTO_ARMATO_E_ACCIAIO: - tcMista = true; - break; - case SistemiCostruttiviUtil.IN_MURATURA: - tcInMuratura = true; - break; - case SistemiCostruttiviUtil.ORDINARIA: - tcInMuraturaOrdinaria = true; - break; - case SistemiCostruttiviUtil.ARMATA: - tcInMuraturaArmata = true; - break; - case SistemiCostruttiviUtil.MISTA: - tcInMuraturaMista = true; - break; - case SistemiCostruttiviUtil.IN_LEGNO: - tcInLegno = true; - break; - case SistemiCostruttiviUtil.ALTRO: - tcAltro = true; - tcAltroDescrizione = StringPool.BLANK; - break; - case SistemiCostruttiviUtil.CON_DISPOSITIVI_DI_ISOLAMENTO_SISMICO_O_DISSIPAZIONE: - tcConDispositivi = true; - break; - - default: - break; - } - } - - boolean tcNuovaCostruzione = false; - String tcInterventiSuCostruzioni = StringPool.BLANK; - - String tipologiaSistemaCostruttivo = boIntPratica.getTipologiaSistemaCostruttivo(); - String[] s = StringUtil.split(tipologiaSistemaCostruttivo, StringPool.COMMA); - if (s.length == 2) { - tcNuovaCostruzione = s[0].equals("000") ? true : false; - tcInterventiSuCostruzioni = s[0].equals("000") ? StringPool.BLANK : s[1]; - } - - boolean normLavoriInProprio = false; - boolean normEsenteBollo = boDettPratica.getEsenzioneBolli(); - boolean normEsenteSpese = boDettPratica.getEsenzioneSpeseIstruttoria(); - boolean normDpr01 = false; - boolean normDpr02 = false; - boolean normDm01 = false; - boolean normDm02 = false; - boolean normDm03 = false; - boolean normDprg01 = false; - boolean normDprg02 = false; - boolean normAnr = false; - boolean normArt3com3 = false; - boolean normArt3com4 = false; - boolean normOrd01 = false; - boolean normDm04 = false; - boolean normDm05 = false; - boolean normCI01 = false; - boolean normLTC01 = false; - - List boRelLeggiPraticaList = - BoRelLeggiPraticaLocalServiceUtil.findByIntPraticaId(boIntPratica.getIntPraticaId()); - - for (BoRelLeggiPratica boRelLeggiPratica : boRelLeggiPraticaList) { - - BoArtLegge boArtLegge = BoArtLeggeLocalServiceUtil.fetchBoArtLegge(boRelLeggiPratica.getArtLeggeId()); - - switch (boArtLegge.getCodArtLegge()) { - case ArtLeggeUtil.DM01: - normDm01 = true; - break; - case ArtLeggeUtil.DM02: - normDm02 = true; - break; - case ArtLeggeUtil.DM03: - normDm03 = true; - break; - case ArtLeggeUtil.DM04: - normDm04 = true; - break; - case ArtLeggeUtil.DM05: - normDm05 = true; - break; - case ArtLeggeUtil.DPR01: - normDpr01 = true; - break; - case ArtLeggeUtil.DPR02: - normDpr02 = true; - break; - case ArtLeggeUtil.DPGR01: - normDprg01 = true; - break; - case ArtLeggeUtil.DPGR02: - normDprg02 = true; - break; - case ArtLeggeUtil.ANR: - normAnr = true; - break; - case ArtLeggeUtil.CI01: - normCI01 = true; - break; - case ArtLeggeUtil.LTC01: - normLTC01 = true; - break; - case ArtLeggeUtil.ART3COM3: - normArt3com3 = true; - break; - case ArtLeggeUtil.ART3COM4: - normArt3com4 = true; - break; - default: - break; - } - } - - /* FINE INTPRATICA */ - - int lavoriPubbliciPercentuale = 0; - String numeroCivico = StringPool.BLANK; - String dcParticelle = StringPool.BLANK; - String dcFoglio = StringPool.BLANK; - String dcAllegato = StringPool.BLANK; - String dePiani = StringPool.BLANK; - String deAltezza = StringPool.BLANK; - String deInterrati = StringPool.BLANK; - String deSuperficie = StringPool.BLANK; - String deCostruzione = StringPool.BLANK; - String deRistrutturazione = StringPool.BLANK; - String deUso = StringPool.BLANK; - String dePrivata = StringPool.BLANK; - String dePubblica = StringPool.BLANK; - String deUtilizzazione = StringPool.BLANK; - boolean deInfStradalePonte = false; - boolean deInfStradaleStrada = false; - boolean deInfStradaleAltro = false; - boolean deInfIdraulicaLong = false; - boolean deInfIdraulicaTrasv = false; - boolean deInfIdraulicaAltro = false; - boolean deInfOperaAccStradale = false; - boolean deInfOperaAccIdraulica = false; - boolean deInfOperaAccAltro = false; - boolean deInfAltraInfrastruttura = false; - boolean deInfAltro = false; - String deInfAltroDesc = StringPool.BLANK; - String dccFondazioni = StringPool.BLANK; - boolean dccStruttureEleMuraturePietrame = false; - boolean dccStruttureEleMuratureLaterizio = false; - boolean dccStruttureEleMuratureMisto = false; - boolean dccStruttureEleMuratureStoriche = false; - String dccStruttureEleAcciaio = StringPool.BLANK; - String dccStruttureEleCA = StringPool.BLANK; - String dccStruttureEleLegno = StringPool.BLANK; - boolean dccStruttureEleMistoCA = false; - boolean dccStruttureEleMistoAcciaio = false; - boolean dccStruttureEleMistoMuratura = false; - boolean dccStruttureEleMistoLegno = false; - boolean dccStruttureElePrefabbricato = false; - boolean dccStruttureEleAltro = false; - String dccStruttureEleAltroDescrizione = StringPool.BLANK; - boolean dccOrizzontamentiCAAcciaio = false; - boolean dccOrizzontamentiLegno = false; - boolean dccOrizzontamentiLegnoCA = false; - boolean dccOrizzontamentiLamieraGrecata = false; - boolean dccOrizzontamentiVolte = false; - boolean dccOrizzontamentiAltro = false; - String dccOrizzontamentiAltroDescrizione = StringPool.BLANK; - String dccCopertura = StringPool.BLANK; - boolean dccCoperturaCAAcciaio = false; - boolean dccCoperturaLegno = false; - boolean dccCoperturaLegnoCA = false; - boolean dccCoperturaLamieraGrecata = false; - boolean dccCoperturaPannelli = false; - boolean dccCoperturaPVCTelonati = false; - boolean dccCoperturaLeggere = false; - boolean dccCoperturaAltro = false; - String dccCoperturaAltroDesrizione = StringPool.BLANK; - boolean dccElemNonStrutLaterizio = false; - boolean dccElemNonStrutCartongesso = false; - boolean dccElemNonStrutCalcestruzzo = false; - boolean dccElemNonStrutLegno = false; - boolean dccElemNonStrutAltro = false; - String dccElemNonStrutAltroDescrizione = StringPool.BLANK; - boolean dccOpereDiRinforzoInsCatene = false; - boolean dccOpereDiRinforzoInsCordoli = false; - boolean dccOpereDiRinforzoIniArmate = false; - boolean dccOpereDiRinforzoPlaccaggi = false; - boolean dccOpereDiRinforzoIrrSolai = false; - boolean dccOpereDiRinforzoRinforziFRP = false; - boolean dccOpereDiRinforzoTelaiECerchiature = false; - boolean dccOpereDiRinforzoInsRompitratta = false; - boolean dccOpereDiRinforzoAltro = false; - String dccOpereDiRinforzoAltroDescrizione = StringPool.BLANK; - String geoClasseIndagine = StringPool.BLANK; - String geoCategoriaSottosuolo = StringPool.BLANK; - String geoCategoriaTopografica = StringPool.BLANK; - String geoConsolidamento = StringPool.BLANK; - String geoPericolositaGeologica = StringPool.BLANK; - String geoPericolositaSismica = StringPool.BLANK; - String geoPericolositaIdraulica = StringPool.BLANK; - String geoPericolositaGeomorfica = StringPool.BLANK; - String geoFattibilitaGeologica = StringPool.BLANK; - String geoFattibilitaSismica = StringPool.BLANK; - String geoFattibilitaIdraulica = StringPool.BLANK; - String geoOperaRilevante = StringPool.BLANK; - String geoOpereDiSostegno = StringPool.BLANK; - String geoOpereInSotterranea = StringPool.BLANK; - String geoPresenzaPrescrizioni = StringPool.BLANK; - String geoNotePrescrizioni = StringPool.BLANK; - String geoNoteIndagini = StringPool.BLANK; - String geoEvidenzeGeomorfiche = StringPool.BLANK; - String geoEvidenzeGeologiche = StringPool.BLANK; - Date geoDtRelazione = null; - boolean pagNuoveCostruzioni = false; - int pagAdeguamentoSismico = 0; - int pagMiglioramentoSismico = 0; - boolean pagRiparazioneInterventoLocale = false; - int pagNuovaCostruzione = 0; - boolean pagVarianti = false; - int pagAltro = 0; - String note = StringPool.BLANK; - String noteUfficio = StringPool.BLANK; - String localizzazioneGeografica = StringPool.BLANK; - - DettPratica dettPratica = DettPraticaLocalServiceUtil.addDettPraticaForImport(serviceContext); - - return DettPraticaLocalServiceUtil.updateDettPratica(dettPratica.getUserId(), dettPratica.getDettPraticaId(), - intPraticaId, integrazione, validata, protocollo, tipoIntegrazione, completa, gestita, codicePagamento, - causalePagamento, mezzoPagamento, importoBolli, importoSpeseIstruttoria, dataEffettuazione, statusTask, - workflowForzato, soggettoSostituitoId, oldDettPraticaId, destinazione, ag, descLongIntervento, via, localita, - estremiCatastali, estremiPratCom, variataDa, varianteNumero, varianteSostanziale, operaConforme, - collaudoStatico, dettPratica.getCodiceFiscaleDelegatoCommittente(), - dettPratica.getCodiceFiscaleDelegatoFineLavori(), dettPratica.getCodiceFiscaleDelegatoCollaudo(), - codiceRuoloDelegato, lavoriInEconomiaCommittente, inizioLavoriContestualeOpera, dataInizioLavoriOpera, - dataInizioEsecuzioneOpera, dataFineEsecuzioneOpera, metratura, lavoriPubblici, pagamentoId, - lavoriPubbliciPercentuale, numeroCivico, dcParticelle, dcFoglio, dcAllegato, dePiani, deAltezza, deInterrati, - deSuperficie, deCostruzione, deRistrutturazione, deUso, dePubblica, dePrivata, deUtilizzazione, - deInfStradalePonte, deInfStradaleStrada, deInfStradaleAltro, deInfIdraulicaLong, deInfIdraulicaTrasv, - deInfIdraulicaAltro, deInfOperaAccStradale, deInfOperaAccIdraulica, deInfOperaAccAltro, - deInfAltraInfrastruttura, deInfAltro, deInfAltroDesc, dccFondazioni, dccStruttureEleMuraturePietrame, - dccStruttureEleMuratureLaterizio, dccStruttureEleMuratureMisto, dccStruttureEleMuratureStoriche, - dccStruttureEleAcciaio, dccStruttureEleCA, dccStruttureEleLegno, dccStruttureEleMistoCA, - dccStruttureEleMistoAcciaio, dccStruttureEleMistoMuratura, dccStruttureEleMistoLegno, - dccStruttureElePrefabbricato, dccStruttureEleAltro, dccStruttureEleAltroDescrizione, - dccOrizzontamentiCAAcciaio, dccOrizzontamentiLegno, dccOrizzontamentiLegnoCA, dccOrizzontamentiLamieraGrecata, - dccOrizzontamentiVolte, dccOrizzontamentiAltro, dccOrizzontamentiAltroDescrizione, dccCopertura, - dccCoperturaCAAcciaio, dccCoperturaLegno, dccCoperturaLegnoCA, dccCoperturaLamieraGrecata, - dccCoperturaPannelli, dccCoperturaPVCTelonati, dccCoperturaLeggere, dccCoperturaAltro, - dccCoperturaAltroDesrizione, dccElemNonStrutLaterizio, dccElemNonStrutCartongesso, dccElemNonStrutCalcestruzzo, - dccElemNonStrutLegno, dccElemNonStrutAltro, dccElemNonStrutAltroDescrizione, dccOpereDiRinforzoInsCatene, - dccOpereDiRinforzoInsCordoli, dccOpereDiRinforzoIniArmate, dccOpereDiRinforzoPlaccaggi, - dccOpereDiRinforzoIrrSolai, dccOpereDiRinforzoRinforziFRP, dccOpereDiRinforzoTelaiECerchiature, - dccOpereDiRinforzoInsRompitratta, dccOpereDiRinforzoAltro, dccOpereDiRinforzoAltroDescrizione, - geoClasseIndagine, geoCategoriaSottosuolo, geoCategoriaTopografica, geoConsolidamento, - geoPericolositaGeologica, geoPericolositaSismica, geoPericolositaIdraulica, geoPericolositaGeomorfica, - geoFattibilitaGeologica, geoFattibilitaSismica, geoFattibilitaIdraulica, geoOperaRilevante, geoOpereDiSostegno, - geoOpereInSotterranea, geoPresenzaPrescrizioni, geoNotePrescrizioni, geoNoteIndagini, geoEvidenzeGeomorfiche, - geoEvidenzeGeologiche, geoDtRelazione, pagNuoveCostruzioni, pagAdeguamentoSismico, pagMiglioramentoSismico, - pagRiparazioneInterventoLocale, pagNuovaCostruzione, pagVarianti, pagAltro, note, noteUfficio, - localizzazioneGeografica, tcNuovaCostruzione, tcInterventiSuCostruzioni, tcInCA, tcInOpera, tcPrefabbricato, - tcInAcciaio, tcMista, tcInMuratura, tcInMuraturaOrdinaria, tcInMuraturaArmata, tcInMuraturaMista, tcInLegno, - tcAltro, tcAltroDescrizione, tcConDispositivi, normLavoriInProprio, normEsenteBollo, normEsenteSpese, - normDpr01, normDpr02, normDm01, normDm02, normDm03, normDprg01, normDprg02, normAnr, normArt3com3, - normArt3com4, normOrd01, normDm04, normDm05, normCI01, normLTC01, serviceContext, bozza); - - - } -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/importer/impl/DettPraticaIntegrazioniImporterImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/importer/impl/DettPraticaIntegrazioniImporterImpl.java deleted file mode 100644 index dc6b6ee6..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/importer/impl/DettPraticaIntegrazioniImporterImpl.java +++ /dev/null @@ -1,564 +0,0 @@ -package it.tref.liferay.portos.portosimport.importer.impl; - - -import com.liferay.portal.kernel.dao.orm.Criterion; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.RestrictionsFactoryUtil; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.bo.model.DettPratica; -import it.tref.liferay.portos.bo.model.IntPratica; -import it.tref.liferay.portos.bo.model.Territorio; -import it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.TerritorioLocalServiceUtil; -import it.tref.liferay.portos.bo.shared.util.ArtLeggeUtil; -import it.tref.liferay.portos.bo.shared.util.SistemiCostruttiviUtil; -import it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil; -import it.tref.liferay.portos.portosimport.importer.Importer; -import it.tref.liferay.portos.portosimport.model.BoArtLegge; -import it.tref.liferay.portos.portosimport.model.BoDettPratica; -import it.tref.liferay.portos.portosimport.model.BoIntPratica; -import it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica; -import it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo; -import it.tref.liferay.portos.portosimport.model.FeDettPratica; -import it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.persistence.BoDettPraticaActionableDynamicQuery; -import it.tref.liferay.portos.portosimport.utils.Converter; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class DettPraticaIntegrazioniImporterImpl implements Importer { - - private static final Log _log = LogFactoryUtil.getLog(DettPraticaIntegrazioniImporterImpl.class); - - public DettPraticaIntegrazioniImporterImpl() { - - } - - public void importa(final List criterionList) throws SystemException, PortalException { - - BoDettPraticaActionableDynamicQuery boDettPraticaActionableDynamicQuery = - new BoDettPraticaActionableDynamicQuery() { - - @Override - protected void addCriteria(DynamicQuery dynamicQuery) { - - for (Criterion criterion : criterionList) { - dynamicQuery.add(criterion); - } - - super.addCriteria(dynamicQuery); - } - - @Override - protected void performAction(Object object) throws PortalException, SystemException { - - BoDettPratica boDettPratica = (BoDettPratica) object; - - DettPratica dettPratica = - DettPraticaLocalServiceUtil.getByOldDettPraticaId(boDettPratica.getDettPraticaId()); - - if (boDettPratica.getIntegrazione() > 0 - && boDettPratica.getTipoIntegrazione().equalsIgnoreCase(TipoIntegrazioneUtil.RICHIESTA_INTEGRAZIONE)) { - boDettPratica = Converter.getLastIntegrazione(boDettPratica); - } - - BoIntPratica boIntPratica = - BoIntPraticaLocalServiceUtil.fetchByIntPraticaId(boDettPratica.getIntPraticaId()); - if (Validator.isNull(boIntPratica)) { - _log.warn("[IMPORTAZIONE - DETTPRATICA] Nessuna boIntPratica con id " + boDettPratica.getIntPraticaId() - + " la dettPratica " + boDettPratica.getDettPraticaId() + " non sarà importata"); - return; - } - boIntPratica = Converter.getLastVariazione(boIntPratica); - - Territorio territorio = TerritorioLocalServiceUtil.fetchByOldTerriotioId(boIntPratica.getTerritorioId()); - ServiceContext serviceContext = new ServiceContext(); - serviceContext.setUserId(0L); - serviceContext.setScopeGroupId(territorio.getGroupId()); - serviceContext.setCompanyId(territorio.getCompanyId()); - serviceContext.setCreateDate(boDettPratica.getCreateDate()); - serviceContext.setModifiedDate(boDettPratica.getModifiedDate()); - try { - - if (Validator.isNull(dettPratica)) { - _log.info("[IMPORTAZIONE - DETTPRATICA] Importazione dettPratica: " + boDettPratica.getDettPraticaId()); - dettPratica = importaDettPratica(boDettPratica, boIntPratica, serviceContext); - } - - - _log.info("[IMPORTAZIONE - DETTPRATICA] -> Importo i pagamenti di dettPratica " - + dettPratica.getDettPraticaId()); - FeDettPratica feDettPratica = - FeDettPraticaLocalServiceUtil.fetchByCodPraticaSuap(boDettPratica.getCodPraticaSuap()); - PagamentoImporterImpl pagamentoImporter = new PagamentoImporterImpl(); - List pagamentoCriterionList = new ArrayList(); - pagamentoCriterionList.add(RestrictionsFactoryUtil.eq("dettPraticaId", feDettPratica.getDettPraticaId())); - pagamentoImporter.importa(pagamentoCriterionList); - - _log.info("[IMPORTAZIONE - DETTPRATICA] -> Importo i soggetti di dettPratica " - + dettPratica.getDettPraticaId()); - SoggettoImporterImpl soggettoImporter = new SoggettoImporterImpl(); - List soggettoCriterionList = new ArrayList(); - soggettoCriterionList.add(RestrictionsFactoryUtil.eq("dettPraticaId", dettPratica.getOldDettPraticaId())); - soggettoImporter.importa(soggettoCriterionList); - - _log.info("[IMPORTAZIONE - DETTPRATICA] -> Importo gli avvisi di dettPratica " - + dettPratica.getDettPraticaId()); - AvvisoImporterImpl avvisoImporter = new AvvisoImporterImpl(); - List avvisoCriterionList = new ArrayList(); - avvisoCriterionList.add(RestrictionsFactoryUtil.eq("dettPraticaId", dettPratica.getOldDettPraticaId())); - avvisoImporter.importa(avvisoCriterionList); - - _log.info("[IMPORTAZIONE - DETTPRATICA] -> Importo i sorteggi di dettPratica " - + dettPratica.getDettPraticaId()); - SorteggioImporterImpl sorteggioImporter = new SorteggioImporterImpl(); - List sorteggioCriterionList = new ArrayList(); - sorteggioCriterionList - .add(RestrictionsFactoryUtil.eq("dettPraticaId", dettPratica.getOldDettPraticaId())); - sorteggioImporter.importa(sorteggioCriterionList); - - _log.info("[IMPORTAZIONE - DETTPRATICA] -> Importo gli storico pratica soggetto di dettPratica " - + dettPratica.getDettPraticaId()); - StoricoSoggettoPraticaImporterImpl storicoSoggettoPraticaImporterImpl = - new StoricoSoggettoPraticaImporterImpl(); - List storicoCriterionList = new ArrayList(); - storicoCriterionList.add(RestrictionsFactoryUtil.eq("intPraticaId", boDettPratica.getIntPraticaId())); - storicoSoggettoPraticaImporterImpl.importa(storicoCriterionList); - - _log.info("[IMPORTAZIONE - DETTPRATICA] -> Importo i doc pratica soggetto di dettPratica " - + dettPratica.getDettPraticaId()); - DocPraticaImporterImpl docPraticaImporterImpl = new DocPraticaImporterImpl(); - List docPraticaCriterionList = new ArrayList(); - docPraticaCriterionList - .add(RestrictionsFactoryUtil.eq("dettPraticaId", dettPratica.getOldDettPraticaId())); - docPraticaImporterImpl.importa(docPraticaCriterionList); - - } catch (Exception e) { - _log.error("[IMPORTAZIONE - DETTPRATICA] Errore durante l'importazione di boDettPratica: id " - + boDettPratica.getDettPraticaId(), e); - _log.warn("[IMPORTAZIONE - DETTPRATICA] Errore durante l'importazione di boDettPratica: id " - + boDettPratica.getDettPraticaId()); - } - } - - - }; - boDettPraticaActionableDynamicQuery.performActions(); - } - - private DettPratica importaDettPratica(BoDettPratica boDettPratica, BoIntPratica boIntPratica, - ServiceContext serviceContext) throws SystemException, PortalException, ClassNotFoundException { - - - boolean bozza = true; - - boolean validata = boDettPratica.getValidata(); - String protocollo = boDettPratica.getProtocollo(); - - boolean completa = boDettPratica.getCompleta(); - boolean gestita = boDettPratica.getGestita(); - String codicePagamento = boDettPratica.getCodicePagamento(); - String causalePagamento = boDettPratica.getCausalePagamento(); - String mezzoPagamento = boDettPratica.getMezzoPagamento(); - String importoBolli = boDettPratica.getImportoBolli(); - String importoSpeseIstruttoria = boDettPratica.getImportoSpeseIstruttoria(); - Date dataEffettuazione = boDettPratica.getDataEffettuazione(); - - int statusTask = boDettPratica.getStatusTask(); - boolean workflowForzato = boDettPratica.getWorkflowForzato(); - long soggettoSostituitoId = boDettPratica.getSoggettoSostituitoId(); - // NUOVO - long oldDettPraticaId = boDettPratica.getDettPraticaId(); - - boolean tcInCA = false; - boolean tcInOpera = false; - boolean tcPrefabbricato = false; - boolean tcInAcciaio = false; - boolean tcMista = false; - boolean tcInMuratura = false; - boolean tcInMuraturaOrdinaria = false; - boolean tcInMuraturaArmata = false; - boolean tcInMuraturaMista = false; - boolean tcInLegno = false; - boolean tcAltro = false; - String tcAltroDescrizione = StringPool.BLANK; - boolean tcConDispositivi = false; - - /* INIZIO INT PRATICA */ - String ag = StringPool.BLANK; - String destinazione = StringPool.BLANK; - String descLongIntervento = StringPool.BLANK; - String via = StringPool.BLANK; - String localita = StringPool.BLANK; - String estremiCatastali = StringPool.BLANK; - String estremiPratCom = StringPool.BLANK; - String tipoIntegrazione = boDettPratica.getTipoIntegrazione(); - String codiceFiscaleDelegato = StringPool.BLANK; - String codiceRuoloDelegato = StringPool.BLANK; - String metratura = StringPool.BLANK; - long variataDa = 0l; - long varianteNumero = 0l; - long integrazione = boDettPratica.getIntegrazione(); - boolean varianteSostanziale = false; - boolean operaConforme = false; - boolean collaudoStatico = false; - boolean lavoriInEconomiaCommittente = false; - boolean inizioLavoriContestualeOpera = false; - boolean lavoriPubblici = false; - Date dataInizioLavoriOpera = null; - Date dataInizioEsecuzioneOpera = null; - Date dataFineEsecuzioneOpera = null; - long intPraticaId = 0l; - - - _log.info("[IMPORTAZIONE - DETTPRATICA] -> Importo l'intPratica per il boDettPratica " - + boDettPratica.getDettPraticaId()); - IntPraticaImporterImpl intPraticaImporter = new IntPraticaImporterImpl(); - List intPraticaCriterionList = new ArrayList(); - intPraticaCriterionList.add(RestrictionsFactoryUtil.eq("intPraticaId", boIntPratica.getIntPraticaId())); - intPraticaImporter.importa(intPraticaCriterionList); - - IntPratica intPratica = IntPraticaLocalServiceUtil.fetchByOldIntPraticaId(boIntPratica.getIntPraticaId()); - if (Validator.isNull(intPratica)) { - _log.warn("[IMPORTAZIONE - DETTPRATICA] Nessuna IntPratica con old id " + boIntPratica.getIntPraticaId() - + " la dettPratica " + boDettPratica.getDettPraticaId() + " non sarà importata"); - return null; - } - intPraticaId = intPratica.getIntPraticaId(); - - if (!boDettPratica.getTipoIntegrazione().equalsIgnoreCase(TipoIntegrazioneUtil.RICHIESTA_INTEGRAZIONE)) { - ag = boIntPratica.getAg(); - destinazione = boIntPratica.getDestinazione(); - // String tipologiaSistemaCostruttivo = boIntPratica.getTipologiaSistemaCostruttivo(); - descLongIntervento = boIntPratica.getDescLongIntervento(); - via = boIntPratica.getVia(); - localita = boIntPratica.getLocalita(); - estremiCatastali = boIntPratica.getEstremiCatastali(); - estremiPratCom = boIntPratica.getEstremiPratCom(); - variataDa = boIntPratica.getVariataDa(); - varianteNumero = boIntPratica.getVarianteNumero(); - varianteSostanziale = boIntPratica.getVarianteSostanziale(); - tipoIntegrazione = - varianteNumero > 0 ? TipoIntegrazioneUtil.RICHIESTA_INTEGRAZIONE : boDettPratica.getTipoIntegrazione(); - operaConforme = boIntPratica.getOperaConforme(); - collaudoStatico = boIntPratica.getCollaudoStatico(); - codiceFiscaleDelegato = boIntPratica.getCodiceFiscaleDelegato(); - codiceRuoloDelegato = boIntPratica.getCodiceRuoloDelegato(); - lavoriInEconomiaCommittente = boIntPratica.getLavoriInEconomiaCommittente(); - inizioLavoriContestualeOpera = boIntPratica.getInizioLavoriContestualeOpera(); - dataInizioLavoriOpera = boIntPratica.getDataInizioEsecuzioneOpera(); - dataInizioEsecuzioneOpera = boIntPratica.getDataInizioEsecuzioneOpera(); - dataFineEsecuzioneOpera = boIntPratica.getDataFineEsecuzioneOpera(); - metratura = boIntPratica.getMetratura(); - lavoriPubblici = boIntPratica.getLavoriPubblici(); - } - // fe - long pagamentoId = 0; - FeDettPratica feDettPratica = - FeDettPraticaLocalServiceUtil.fetchByCodPraticaSuap(boDettPratica.getCodPraticaSuap()); - if (Validator.isNotNull(feDettPratica)) { - pagamentoId = feDettPratica.getPagamentoId(); - } else { - _log.warn("[IMPORTAZIONE - DETTPRATICA] Nessuna feDettPratica con codice pratica suap " - + boDettPratica.getCodPraticaSuap()); - } - - List sistemiCostuttiviList = - BoSistemaCostruttivoLocalServiceUtil.findByC_G_BoIntPratica(boIntPratica.getIntPraticaId()); - - for (BoSistemaCostruttivo sistCostruttivo : sistemiCostuttiviList) { - switch (sistCostruttivo.getCodSistemaCostruttivo()) { - case SistemiCostruttiviUtil.IN_CEMENTO_ARMATO: - tcInCA = true; - break; - case SistemiCostruttiviUtil.IN_OPERA: - tcInOpera = true; - break; - case SistemiCostruttiviUtil.PREFABBRICATO: - tcPrefabbricato = true; - break; - case SistemiCostruttiviUtil.IN_ACCIAIO: - tcInAcciaio = true; - break; - case SistemiCostruttiviUtil.MISTA_CEMENTO_ARMATO_E_ACCIAIO: - tcMista = true; - break; - case SistemiCostruttiviUtil.IN_MURATURA: - tcInMuratura = true; - break; - case SistemiCostruttiviUtil.ORDINARIA: - tcInMuraturaOrdinaria = true; - break; - case SistemiCostruttiviUtil.ARMATA: - tcInMuraturaArmata = true; - break; - case SistemiCostruttiviUtil.MISTA: - tcInMuraturaMista = true; - break; - case SistemiCostruttiviUtil.IN_LEGNO: - tcInLegno = true; - break; - case SistemiCostruttiviUtil.ALTRO: - tcAltro = true; - tcAltroDescrizione = StringPool.BLANK; - break; - case SistemiCostruttiviUtil.CON_DISPOSITIVI_DI_ISOLAMENTO_SISMICO_O_DISSIPAZIONE: - tcConDispositivi = true; - break; - - default: - break; - } - } - - boolean tcNuovaCostruzione = false; - String tcInterventiSuCostruzioni = StringPool.BLANK; - - String tipologiaSistemaCostruttivo = boIntPratica.getTipologiaSistemaCostruttivo(); - String[] s = StringUtil.split(tipologiaSistemaCostruttivo, StringPool.COMMA); - if (s.length == 2) { - tcNuovaCostruzione = s[0].equals("000") ? true : false; - tcInterventiSuCostruzioni = s[0].equals("000") ? StringPool.BLANK : s[1]; - } - - boolean normLavoriInProprio = false; - boolean normEsenteBollo = boDettPratica.getEsenzioneBolli(); - boolean normEsenteSpese = boDettPratica.getEsenzioneSpeseIstruttoria(); - boolean normDpr01 = false; - boolean normDpr02 = false; - boolean normDm01 = false; - boolean normDm02 = false; - boolean normDm03 = false; - boolean normDprg01 = false; - boolean normDprg02 = false; - boolean normAnr = false; - boolean normArt3com3 = false; - boolean normArt3com4 = false; - boolean normOrd01 = false; - boolean normDm04 = false; - boolean normDm05 = false; - boolean normCI01 = false; - boolean normLTC01 = false; - - List boRelLeggiPraticaList = - BoRelLeggiPraticaLocalServiceUtil.findByIntPraticaId(boIntPratica.getIntPraticaId()); - - for (BoRelLeggiPratica boRelLeggiPratica : boRelLeggiPraticaList) { - - BoArtLegge boArtLegge = BoArtLeggeLocalServiceUtil.fetchBoArtLegge(boRelLeggiPratica.getArtLeggeId()); - - switch (boArtLegge.getCodArtLegge()) { - case ArtLeggeUtil.DM01: - normDm01 = true; - break; - case ArtLeggeUtil.DM02: - normDm02 = true; - break; - case ArtLeggeUtil.DM03: - normDm03 = true; - break; - case ArtLeggeUtil.DM04: - normDm04 = true; - break; - case ArtLeggeUtil.DM05: - normDm05 = true; - break; - case ArtLeggeUtil.DPR01: - normDpr01 = true; - break; - case ArtLeggeUtil.DPR02: - normDpr02 = true; - break; - case ArtLeggeUtil.DPGR01: - normDprg01 = true; - break; - case ArtLeggeUtil.DPGR02: - normDprg02 = true; - break; - case ArtLeggeUtil.ANR: - normAnr = true; - break; - case ArtLeggeUtil.CI01: - normCI01 = true; - break; - case ArtLeggeUtil.LTC01: - normLTC01 = true; - break; - case ArtLeggeUtil.ART3COM3: - normArt3com3 = true; - break; - case ArtLeggeUtil.ART3COM4: - normArt3com4 = true; - break; - default: - break; - } - } - - /* FINE INTPRATICA */ - - int lavoriPubbliciPercentuale = 0; - String numeroCivico = StringPool.BLANK; - String dcParticelle = StringPool.BLANK; - String dcFoglio = StringPool.BLANK; - String dcAllegato = StringPool.BLANK; - String dePiani = StringPool.BLANK; - String deAltezza = StringPool.BLANK; - String deInterrati = StringPool.BLANK; - String deSuperficie = StringPool.BLANK; - String deCostruzione = StringPool.BLANK; - String deRistrutturazione = StringPool.BLANK; - String deUso = StringPool.BLANK; - String dePrivata = StringPool.BLANK; - String dePubblica = StringPool.BLANK; - String deUtilizzazione = StringPool.BLANK; - boolean deInfStradalePonte = false; - boolean deInfStradaleStrada = false; - boolean deInfStradaleAltro = false; - boolean deInfIdraulicaLong = false; - boolean deInfIdraulicaTrasv = false; - boolean deInfIdraulicaAltro = false; - boolean deInfOperaAccStradale = false; - boolean deInfOperaAccIdraulica = false; - boolean deInfOperaAccAltro = false; - boolean deInfAltraInfrastruttura = false; - boolean deInfAltro = false; - String deInfAltroDesc = StringPool.BLANK; - String dccFondazioni = StringPool.BLANK; - boolean dccStruttureEleMuraturePietrame = false; - boolean dccStruttureEleMuratureLaterizio = false; - boolean dccStruttureEleMuratureMisto = false; - boolean dccStruttureEleMuratureStoriche = false; - String dccStruttureEleAcciaio = StringPool.BLANK; - String dccStruttureEleCA = StringPool.BLANK; - String dccStruttureEleLegno = StringPool.BLANK; - boolean dccStruttureEleMistoCA = false; - boolean dccStruttureEleMistoAcciaio = false; - boolean dccStruttureEleMistoMuratura = false; - boolean dccStruttureEleMistoLegno = false; - boolean dccStruttureElePrefabbricato = false; - boolean dccStruttureEleAltro = false; - String dccStruttureEleAltroDescrizione = StringPool.BLANK; - boolean dccOrizzontamentiCAAcciaio = false; - boolean dccOrizzontamentiLegno = false; - boolean dccOrizzontamentiLegnoCA = false; - boolean dccOrizzontamentiLamieraGrecata = false; - boolean dccOrizzontamentiVolte = false; - boolean dccOrizzontamentiAltro = false; - String dccOrizzontamentiAltroDescrizione = StringPool.BLANK; - String dccCopertura = StringPool.BLANK; - boolean dccCoperturaCAAcciaio = false; - boolean dccCoperturaLegno = false; - boolean dccCoperturaLegnoCA = false; - boolean dccCoperturaLamieraGrecata = false; - boolean dccCoperturaPannelli = false; - boolean dccCoperturaPVCTelonati = false; - boolean dccCoperturaLeggere = false; - boolean dccCoperturaAltro = false; - String dccCoperturaAltroDesrizione = StringPool.BLANK; - boolean dccElemNonStrutLaterizio = false; - boolean dccElemNonStrutCartongesso = false; - boolean dccElemNonStrutCalcestruzzo = false; - boolean dccElemNonStrutLegno = false; - boolean dccElemNonStrutAltro = false; - String dccElemNonStrutAltroDescrizione = StringPool.BLANK; - boolean dccOpereDiRinforzoInsCatene = false; - boolean dccOpereDiRinforzoInsCordoli = false; - boolean dccOpereDiRinforzoIniArmate = false; - boolean dccOpereDiRinforzoPlaccaggi = false; - boolean dccOpereDiRinforzoIrrSolai = false; - boolean dccOpereDiRinforzoRinforziFRP = false; - boolean dccOpereDiRinforzoTelaiECerchiature = false; - boolean dccOpereDiRinforzoInsRompitratta = false; - boolean dccOpereDiRinforzoAltro = false; - String dccOpereDiRinforzoAltroDescrizione = StringPool.BLANK; - String geoClasseIndagine = StringPool.BLANK; - String geoCategoriaSottosuolo = StringPool.BLANK; - String geoCategoriaTopografica = StringPool.BLANK; - String geoConsolidamento = StringPool.BLANK; - String geoPericolositaGeologica = StringPool.BLANK; - String geoPericolositaSismica = StringPool.BLANK; - String geoPericolositaIdraulica = StringPool.BLANK; - String geoPericolositaGeomorfica = StringPool.BLANK; - String geoFattibilitaGeologica = StringPool.BLANK; - String geoFattibilitaSismica = StringPool.BLANK; - String geoFattibilitaIdraulica = StringPool.BLANK; - String geoOperaRilevante = StringPool.BLANK; - String geoOpereDiSostegno = StringPool.BLANK; - String geoOpereInSotterranea = StringPool.BLANK; - String geoPresenzaPrescrizioni = StringPool.BLANK; - String geoNotePrescrizioni = StringPool.BLANK; - String geoNoteIndagini = StringPool.BLANK; - String geoEvidenzeGeomorfiche = StringPool.BLANK; - String geoEvidenzeGeologiche = StringPool.BLANK; - Date geoDtRelazione = null; - boolean pagNuoveCostruzioni = false; - int pagAdeguamentoSismico = 0; - int pagMiglioramentoSismico = 0; - boolean pagRiparazioneInterventoLocale = false; - int pagNuovaCostruzione = 0; - boolean pagVarianti = false; - int pagAltro = 0; - String note = StringPool.BLANK; - String noteUfficio = StringPool.BLANK; - String localizzazioneGeografica = StringPool.BLANK; - - DettPratica dettPratica = DettPraticaLocalServiceUtil.addDettPraticaForImport(serviceContext); - - return DettPraticaLocalServiceUtil.updateDettPratica(dettPratica.getUserId(), dettPratica.getDettPraticaId(), - intPraticaId, integrazione, validata, protocollo, tipoIntegrazione, completa, gestita, codicePagamento, - causalePagamento, mezzoPagamento, importoBolli, importoSpeseIstruttoria, dataEffettuazione, statusTask, - workflowForzato, soggettoSostituitoId, oldDettPraticaId, destinazione, ag, descLongIntervento, via, localita, - estremiCatastali, estremiPratCom, variataDa, varianteNumero, varianteSostanziale, operaConforme, - collaudoStatico, dettPratica.getCodiceFiscaleDelegatoCommittente(), - dettPratica.getCodiceFiscaleDelegatoFineLavori(), dettPratica.getCodiceFiscaleDelegatoCollaudo(), - codiceRuoloDelegato, lavoriInEconomiaCommittente, inizioLavoriContestualeOpera, dataInizioLavoriOpera, - dataInizioEsecuzioneOpera, dataFineEsecuzioneOpera, metratura, lavoriPubblici, pagamentoId, - lavoriPubbliciPercentuale, numeroCivico, dcParticelle, dcFoglio, dcAllegato, dePiani, deAltezza, deInterrati, - deSuperficie, deCostruzione, deRistrutturazione, deUso, dePubblica, dePrivata, deUtilizzazione, - deInfStradalePonte, deInfStradaleStrada, deInfStradaleAltro, deInfIdraulicaLong, deInfIdraulicaTrasv, - deInfIdraulicaAltro, deInfOperaAccStradale, deInfOperaAccIdraulica, deInfOperaAccAltro, - deInfAltraInfrastruttura, deInfAltro, deInfAltroDesc, dccFondazioni, dccStruttureEleMuraturePietrame, - dccStruttureEleMuratureLaterizio, dccStruttureEleMuratureMisto, dccStruttureEleMuratureStoriche, - dccStruttureEleAcciaio, dccStruttureEleCA, dccStruttureEleLegno, dccStruttureEleMistoCA, - dccStruttureEleMistoAcciaio, dccStruttureEleMistoMuratura, dccStruttureEleMistoLegno, - dccStruttureElePrefabbricato, dccStruttureEleAltro, dccStruttureEleAltroDescrizione, - dccOrizzontamentiCAAcciaio, dccOrizzontamentiLegno, dccOrizzontamentiLegnoCA, dccOrizzontamentiLamieraGrecata, - dccOrizzontamentiVolte, dccOrizzontamentiAltro, dccOrizzontamentiAltroDescrizione, dccCopertura, - dccCoperturaCAAcciaio, dccCoperturaLegno, dccCoperturaLegnoCA, dccCoperturaLamieraGrecata, - dccCoperturaPannelli, dccCoperturaPVCTelonati, dccCoperturaLeggere, dccCoperturaAltro, - dccCoperturaAltroDesrizione, dccElemNonStrutLaterizio, dccElemNonStrutCartongesso, dccElemNonStrutCalcestruzzo, - dccElemNonStrutLegno, dccElemNonStrutAltro, dccElemNonStrutAltroDescrizione, dccOpereDiRinforzoInsCatene, - dccOpereDiRinforzoInsCordoli, dccOpereDiRinforzoIniArmate, dccOpereDiRinforzoPlaccaggi, - dccOpereDiRinforzoIrrSolai, dccOpereDiRinforzoRinforziFRP, dccOpereDiRinforzoTelaiECerchiature, - dccOpereDiRinforzoInsRompitratta, dccOpereDiRinforzoAltro, dccOpereDiRinforzoAltroDescrizione, - geoClasseIndagine, geoCategoriaSottosuolo, geoCategoriaTopografica, geoConsolidamento, - geoPericolositaGeologica, geoPericolositaSismica, geoPericolositaIdraulica, geoPericolositaGeomorfica, - geoFattibilitaGeologica, geoFattibilitaSismica, geoFattibilitaIdraulica, geoOperaRilevante, geoOpereDiSostegno, - geoOpereInSotterranea, geoPresenzaPrescrizioni, geoNotePrescrizioni, geoNoteIndagini, geoEvidenzeGeomorfiche, - geoEvidenzeGeologiche, geoDtRelazione, pagNuoveCostruzioni, pagAdeguamentoSismico, pagMiglioramentoSismico, - pagRiparazioneInterventoLocale, pagNuovaCostruzione, pagVarianti, pagAltro, note, noteUfficio, - localizzazioneGeografica, tcNuovaCostruzione, tcInterventiSuCostruzioni, tcInCA, tcInOpera, tcPrefabbricato, - tcInAcciaio, tcMista, tcInMuratura, tcInMuraturaOrdinaria, tcInMuraturaArmata, tcInMuraturaMista, tcInLegno, - tcAltro, tcAltroDescrizione, tcConDispositivi, normLavoriInProprio, normEsenteBollo, normEsenteSpese, - normDpr01, normDpr02, normDm01, normDm02, normDm03, normDprg01, normDprg02, normAnr, normArt3com3, - normArt3com4, normOrd01, normDm04, normDm05, normCI01, normLTC01, serviceContext, bozza); - - - } -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/importer/impl/DocPraticaImporterImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/importer/impl/DocPraticaImporterImpl.java deleted file mode 100644 index abd2bdea..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/importer/impl/DocPraticaImporterImpl.java +++ /dev/null @@ -1,140 +0,0 @@ -package it.tref.liferay.portos.portosimport.importer.impl; - - -import com.liferay.portal.kernel.dao.orm.Criterion; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.bo.model.DettPratica; -import it.tref.liferay.portos.bo.model.DocPratica; -import it.tref.liferay.portos.bo.model.Territorio; -import it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.DocPraticaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.TerritorioLocalServiceUtil; -import it.tref.liferay.portos.portosimport.importer.Importer; -import it.tref.liferay.portos.portosimport.model.BoDettPratica; -import it.tref.liferay.portos.portosimport.model.BoDocPratica; -import it.tref.liferay.portos.portosimport.model.BoIntPratica; -import it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.persistence.BoDocPraticaActionableDynamicQuery; - -import java.util.Date; -import java.util.List; - - -public class DocPraticaImporterImpl implements Importer { - - private static final Log _log = LogFactoryUtil.getLog(DocPraticaImporterImpl.class); - - public DocPraticaImporterImpl() { - - } - - - public void importa(final List criterionList) throws SystemException, PortalException { - - BoDocPraticaActionableDynamicQuery boDocPraticaActionableDynamicQuery = new BoDocPraticaActionableDynamicQuery() { - - @Override - protected void addCriteria(DynamicQuery dynamicQuery) { - - for (Criterion criterion : criterionList) { - dynamicQuery.add(criterion); - } - - super.addCriteria(dynamicQuery); - } - - @Override - protected void performAction(Object object) throws PortalException, SystemException { - - BoDocPratica boDocPratica = (BoDocPratica) object; - DocPratica DocPratica = DocPraticaLocalServiceUtil.fetchByOldDocPraticaId(boDocPratica.getDocPraticaId()); - - BoDettPratica boDettPratica = BoDettPraticaLocalServiceUtil.fetchBoDettPratica(boDocPratica.getDettPraticaId()); - if (Validator.isNull(boDettPratica)) { - _log.info("[IMPORTER - DocPratica] Nessun boDettPratica con id " + boDocPratica.getDettPraticaId()); - return; - } - - BoIntPratica boIntPratica = BoIntPraticaLocalServiceUtil.getBoIntPratica(boDettPratica.getIntPraticaId()); - if (Validator.isNull(boIntPratica)) { - _log.info("[IMPORTER - DocPratica] Nessun boIntPratica con id " + boDettPratica.getIntPraticaId()); - return; - } - - Territorio territorio = TerritorioLocalServiceUtil.fetchByOldTerriotioId(boIntPratica.getTerritorioId()); - if (Validator.isNull(territorio)) { - _log.info("[IMPORTER - DocPratica] Nessun territorio corrisponde all'old id " - + boIntPratica.getTerritorioId()); - return; - } - - ServiceContext serviceContext = new ServiceContext(); - serviceContext.setUserId(0L); - serviceContext.setScopeGroupId(territorio.getGroupId()); - serviceContext.setCompanyId(territorio.getCompanyId()); - serviceContext.setCreateDate(boDocPratica.getCreateDate()); - serviceContext.setModifiedDate(boDocPratica.getModifiedDate()); - try { - - if (Validator.isNull(DocPratica)) { - _log.info("[IMPORTER - DocPratica] Importazione di boDocPratica " + boDocPratica.getDocPraticaId()); - importaDocPratica(boDocPratica, serviceContext); - } - - } catch (Exception e) { - _log.error("[IMPORTER - DocPratica] Errore durante l'importazione del boDocPratica: id " - + boDocPratica.getDocPraticaId()); - _log.error("[IMPORTER - DocPratica] Errore durante l'importazione del boDocPratica: id " - + boDocPratica.getDocPraticaId(), e); - } - } - - }; - - boDocPraticaActionableDynamicQuery.performActions(); - } - - private DocPratica importaDocPratica(BoDocPratica boDocPratica, ServiceContext serviceContext) - throws SystemException, PortalException { - - DettPratica dettPratica = DettPraticaLocalServiceUtil.getByOldDettPraticaId(boDocPratica.getDettPraticaId()); - if (Validator.isNull(dettPratica)) { - _log.warn("[IMPORTER - DocPratica] Nessuna boDettPrataica con id " + boDocPratica.getDettPraticaId() - + " il boDocPratica " + boDocPratica.getDocPraticaId() + " non sarà importato"); - return null; - } - - long dettPraticaId = boDocPratica.getDettPraticaId(); - long intPraticaId = dettPratica.getIntPraticaId(); - /* FILE */ - byte[] dlFileEntry = new byte[] {0x00, 0x00, 0x00}; - String fileName = "FILE NAME"; - String tipologia = "N.D."; - - String version = boDocPratica.getVersion(); - boolean praticaValidata = boDocPratica.getPraticaValidata(); - String descLong = boDocPratica.getDescLong(); - - String md5 = boDocPratica.getMd5(); - boolean aggiornato = boDocPratica.getAggiornato(); - String jsonFirmatari = boDocPratica.getJsonFirmatari(); - /* TODO: CAMPI DA DEFINIRE DURANE L'IMPROTAZIONE */ - long dettPraticaIdRimozione = 0L; - Date dtDataRimozione = null; - - long oldDocPraticaId = boDocPratica.getDocPraticaId(); - - return DocPraticaLocalServiceUtil.addDocPraticaForImport(serviceContext.getUserId(), dettPraticaId, intPraticaId, - dlFileEntry, fileName, version, praticaValidata, descLong, tipologia, md5, aggiornato, jsonFirmatari, - dettPraticaIdRimozione, dtDataRimozione, oldDocPraticaId, serviceContext); - - } -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/importer/impl/IntPraticaImporterImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/importer/impl/IntPraticaImporterImpl.java deleted file mode 100644 index 4fad905e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/importer/impl/IntPraticaImporterImpl.java +++ /dev/null @@ -1,105 +0,0 @@ -package it.tref.liferay.portos.portosimport.importer.impl; - - -import com.liferay.portal.kernel.dao.orm.Criterion; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.bo.model.IntPratica; -import it.tref.liferay.portos.bo.model.Territorio; -import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.TerritorioLocalServiceUtil; -import it.tref.liferay.portos.portosimport.importer.Importer; -import it.tref.liferay.portos.portosimport.model.BoIntPratica; -import it.tref.liferay.portos.portosimport.service.persistence.BoIntPraticaActionableDynamicQuery; -import it.tref.liferay.portos.portosimport.utils.Converter; - -import java.util.Date; -import java.util.List; - -public class IntPraticaImporterImpl implements Importer { - - - private static final Log _log = LogFactoryUtil.getLog(IntPraticaImporterImpl.class); - - - public IntPraticaImporterImpl() throws ClassNotFoundException { - - } - - public void importa(final List intPraticaCriterionList) throws SystemException, PortalException { - - - BoIntPraticaActionableDynamicQuery boIntPraticaActionableDynamicQuery = new BoIntPraticaActionableDynamicQuery() { - - @Override - protected void addCriteria(DynamicQuery dynamicQuery) { - - for (Criterion criterion : intPraticaCriterionList) { - dynamicQuery.add(criterion); - } - - super.addCriteria(dynamicQuery); - } - - @Override - protected void performAction(Object object) throws PortalException, SystemException { - - BoIntPratica boIntPratica = (BoIntPratica) object; - boIntPratica = Converter.getLastVariazione(boIntPratica); - - IntPratica intPratica = IntPraticaLocalServiceUtil.fetchByOldIntPraticaId(boIntPratica.getIntPraticaId()); - Territorio territorio = TerritorioLocalServiceUtil.fetchByOldTerriotioId(boIntPratica.getTerritorioId()); - if (Validator.isNull(territorio)) { - _log.error("[IMPORTAZIONE - INTPRATICA] Nessun territorio con id " + boIntPratica.getTerritorioId() - + " trovato per il boIntPratica " + boIntPratica.getIntPraticaId()); - return; - } - ServiceContext serviceContext = new ServiceContext(); - serviceContext.setUserId(0L); - serviceContext.setScopeGroupId(territorio.getGroupId()); - serviceContext.setCompanyId(territorio.getCompanyId()); - serviceContext.setCreateDate(boIntPratica.getCreateDate()); - serviceContext.setModifiedDate(boIntPratica.getModifiedDate()); - try { - if (Validator.isNull(intPratica)) { - _log.info("[IMPORTAZIONE - INTPRATICA] Importazione intPratica: " + boIntPratica.getIntPraticaId()); - intPratica = importaIntPratica(boIntPratica, territorio.getTerritorioId(), serviceContext); - } - } catch (Exception e) { - _log.error( - "[IMPORT - INTPRATICA] Errore durante l'importazione di boDettPratica: id " - + boIntPratica.getIntPraticaId(), e); - _log.error("[IMPORT - INTPRATICA] Errore durante l'importazione di boDettPratica: id " - + boIntPratica.getIntPraticaId()); - } - } - }; - - boIntPraticaActionableDynamicQuery.performActions(); - } - - private IntPratica importaIntPratica(BoIntPratica boIntPratica, long territorioId, ServiceContext serviceContext) - throws SystemException, PortalException { - - Date dtSorteggio = boIntPratica.getDtSorteggio(); - // TODO: qui ci finisce il codice fiscale!!! per ora ci appoggio quello che ho...poi - String userName = boIntPratica.getUserName(); - long tipoPraticaId = boIntPratica.getTipoPraticaId(); - String statoPratica = boIntPratica.getStatoPratica(); - String numeroProgetto = boIntPratica.getNumeroProgetto(); - boolean validata = boIntPratica.getValidata(); - int esitoControllo = boIntPratica.getEsitoControllo(); - Date dtPratica = boIntPratica.getDtPratica(); - long oldIntPraticaId = boIntPratica.getIntPraticaId(); - // TODO importare tipo pratica - return IntPraticaLocalServiceUtil.addIntPratica(0L, userName, "", territorioId, dtSorteggio, statoPratica, - numeroProgetto, validata, esitoControllo, dtPratica, oldIntPraticaId, serviceContext); - } - -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/importer/impl/PagamentoImporterImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/importer/impl/PagamentoImporterImpl.java deleted file mode 100644 index 65650aa8..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/importer/impl/PagamentoImporterImpl.java +++ /dev/null @@ -1,133 +0,0 @@ -package it.tref.liferay.portos.portosimport.importer.impl; - -import com.liferay.portal.kernel.dao.orm.Criterion; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.bo.model.DettPratica; -import it.tref.liferay.portos.bo.model.Pagamento; -import it.tref.liferay.portos.bo.model.Territorio; -import it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.PagamentoLocalServiceUtil; -import it.tref.liferay.portos.bo.service.TerritorioLocalServiceUtil; -import it.tref.liferay.portos.portosimport.importer.Importer; -import it.tref.liferay.portos.portosimport.model.BoDettPratica; -import it.tref.liferay.portos.portosimport.model.BoIntPratica; -import it.tref.liferay.portos.portosimport.model.FeDettPratica; -import it.tref.liferay.portos.portosimport.model.FePagamento; -import it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.persistence.FePagamentoActionableDynamicQuery; - -import java.util.List; - - -public class PagamentoImporterImpl implements Importer { - - private static final Log _log = LogFactoryUtil.getLog(PagamentoImporterImpl.class); - - public PagamentoImporterImpl() { - - } - - /* - * dettPraticaId => dettPratica di destinazione se noto. - */ - public void importa(final List pagamentoCriterionList) throws SystemException, PortalException { - - - FePagamentoActionableDynamicQuery FePagamentoActionableDynamicQuery = new FePagamentoActionableDynamicQuery() { - @Override - protected void addCriteria(DynamicQuery dynamicQuery) { - - for (Criterion criterion : pagamentoCriterionList) { - dynamicQuery.add(criterion); - } - - super.addCriteria(dynamicQuery); - } - - @Override - protected void performAction(Object object) throws PortalException, SystemException { - - FePagamento fePagamento = (FePagamento) object; - Pagamento pagamento = PagamentoLocalServiceUtil.findByOldPagamentoId(fePagamento.getPagamentoId()); - - FeDettPratica feDettPratica = - FeDettPraticaLocalServiceUtil.fetchByDettPraticaId(fePagamento.getDettPraticaId()); - if (Validator.isNull(feDettPratica)) { - _log.info("[IMPORTER - PAGAMENTO] Nessun feDettPratica con id " + fePagamento.getDettPraticaId()); - return; - } - - BoDettPratica boDettPratica = - BoDettPraticaLocalServiceUtil.fetchByCodPraticaSuap(feDettPratica.getCodPraticaSuap()); - if (Validator.isNull(boDettPratica)) { - _log.info("[IMPORTER - PAGAMENTO] Nessun boDettPratica con id " + feDettPratica.getCodPraticaSuap()); - return; - } - - BoIntPratica boIntPratica = BoIntPraticaLocalServiceUtil.getBoIntPratica(boDettPratica.getIntPraticaId()); - if (Validator.isNull(boIntPratica)) { - _log.info("[IMPORTER - PAGAMENTO] Nessun boIntPratica con id " + boDettPratica.getIntPraticaId()); - return; - } - - Territorio territorio = TerritorioLocalServiceUtil.fetchByOldTerriotioId(boIntPratica.getTerritorioId()); - if (Validator.isNull(territorio)) { - _log.info("[IMPORTER - PAGAMENTO] Nessun territorio corrisponde all'old id " + boIntPratica.getTerritorioId()); - return; - } - - DettPratica dettPratica = DettPraticaLocalServiceUtil.getByOldDettPraticaId(boDettPratica.getDettPraticaId()); - if (Validator.isNull(dettPratica)) { - _log.info("[IMPORTER - PAGAMENTO] Nessun dettPratica corrisponde all'old id " - + boDettPratica.getDettPraticaId()); - return; - } - - ServiceContext serviceContext = new ServiceContext(); - serviceContext.setUserId(0L); - serviceContext.setScopeGroupId(territorio.getGroupId()); - serviceContext.setCompanyId(territorio.getCompanyId()); - serviceContext.setCreateDate(fePagamento.getCreateDate()); - serviceContext.setModifiedDate(fePagamento.getModifiedDate()); - try { - if (Validator.isNull(pagamento)) { - _log.info("[IMPORTER - PAGAMENTO] Importazione di fePagamento " + fePagamento.getPagamentoId()); - importaPagamento(fePagamento, dettPratica.getDettPraticaId(), serviceContext); - } - - } catch (Exception e) { - _log.error("[IMPORT - PAGAMENTO] Errore durante l'importazione del fePagamento: id " - + fePagamento.getPagamentoId(), e); - } - } - }; - FePagamentoActionableDynamicQuery.performActions(); - } - - private Pagamento importaPagamento(FePagamento fePagamento, long dettPraticaId, ServiceContext serviceContext) - throws SystemException, PortalException { - - String codice = fePagamento.getCodice(); - String causale = fePagamento.getCausale(); - String mezzo = fePagamento.getMezzo(); - String codiceFiscaleCommittente = fePagamento.getCodiceFiscaleCommittente(); - String importoBolli = fePagamento.getImportoBolli(); - String importoSpeseIstruttoria = fePagamento.getImportoSpeseIstruttoria(); - String utilizzata = fePagamento.getUtilizzata(); - long oldPagamentoId = fePagamento.getPagamentoId(); - - - return PagamentoLocalServiceUtil.addPagamento(codice, causale, mezzo, codiceFiscaleCommittente, importoBolli, - importoSpeseIstruttoria, utilizzata, dettPraticaId, oldPagamentoId, serviceContext); - } - -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/importer/impl/SoggettoImporterImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/importer/impl/SoggettoImporterImpl.java deleted file mode 100644 index 3a98e1bc..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/importer/impl/SoggettoImporterImpl.java +++ /dev/null @@ -1,176 +0,0 @@ -package it.tref.liferay.portos.portosimport.importer.impl; - - -import com.liferay.portal.kernel.dao.orm.Criterion; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.bo.NoSuchDettPraticaException; -import it.tref.liferay.portos.bo.NoSuchIntPraticaException; -import it.tref.liferay.portos.bo.model.DettPratica; -import it.tref.liferay.portos.bo.model.IntPratica; -import it.tref.liferay.portos.bo.model.Soggetto; -import it.tref.liferay.portos.bo.model.Territorio; -import it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.SoggettoLocalServiceUtil; -import it.tref.liferay.portos.bo.service.TerritorioLocalServiceUtil; -import it.tref.liferay.portos.portosimport.importer.Importer; -import it.tref.liferay.portos.portosimport.model.BoDettPratica; -import it.tref.liferay.portos.portosimport.model.BoIntPratica; -import it.tref.liferay.portos.portosimport.model.BoSoggetto; -import it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.persistence.BoSoggettoActionableDynamicQuery; - -import java.util.Date; -import java.util.List; - - -public class SoggettoImporterImpl implements Importer { - - private static final Log _log = LogFactoryUtil.getLog(SoggettoImporterImpl.class); - - public SoggettoImporterImpl() { - - } - - public void importa(final List soggettoCriterionList) throws SystemException, PortalException { - - BoSoggettoActionableDynamicQuery bosoggettoActionableDynamicQuery = new BoSoggettoActionableDynamicQuery() { - - @Override - protected void addCriteria(DynamicQuery dynamicQuery) { - - for (Criterion criterion : soggettoCriterionList) { - dynamicQuery.add(criterion); - } - - super.addCriteria(dynamicQuery); - } - - @Override - protected void performAction(Object object) throws PortalException, SystemException { - - BoSoggetto boSoggetto = (BoSoggetto) object; - Soggetto soggetto = SoggettoLocalServiceUtil.fetchByOldSoggettId(boSoggetto.getSoggettoId()); - - - BoDettPratica boDettPratica = BoDettPraticaLocalServiceUtil.getBoDettPratica(boSoggetto.getDettPraticaId()); - if (Validator.isNull(boDettPratica)) { - _log.info("[IMPORTER - SOGGETTO] Nessun boDettPratica corrisponde all'old id " - + boSoggetto.getDettPraticaId()); - return; - } - - BoIntPratica boIntPratica = BoIntPraticaLocalServiceUtil.getBoIntPratica(boDettPratica.getIntPraticaId()); - Territorio territorio = TerritorioLocalServiceUtil.fetchByOldTerriotioId(boIntPratica.getTerritorioId()); - if (Validator.isNull(territorio)) { - _log.info("[IMPORTER - SOGGETTO] Nessun territorio corrisponde all'old id " + boIntPratica.getTerritorioId()); - return; - } - - ServiceContext serviceContext = new ServiceContext(); - serviceContext.setUserId(0L); - serviceContext.setScopeGroupId(territorio.getGroupId()); - serviceContext.setCompanyId(territorio.getCompanyId()); - serviceContext.setCreateDate(boSoggetto.getCreateDate()); - serviceContext.setModifiedDate(boSoggetto.getModifiedDate()); - try { - if (Validator.isNull(soggetto)) { - _log.info("[IMPORTER - SOGGETTO] Importazione di boSoggetto " + boSoggetto.getSoggettoId()); - importaSoggetto(boSoggetto, serviceContext); - - } - - } catch (NoSuchDettPraticaException | NoSuchIntPraticaException e) { - _log.warn("[IMPORTER - SOGGETTO] Errore durante l'importazione del soggetto: " + boSoggetto.getSoggettoId()); - _log.error("[IMPORTER - SOGGETTO] Errore durante l'importazione del soggetto: " + boSoggetto.getSoggettoId(), - e); - } - } - }; - bosoggettoActionableDynamicQuery.performActions(); - } - - private Soggetto importaSoggetto(BoSoggetto boSoggetto, ServiceContext serviceContext) throws SystemException, - PortalException { - - DettPratica dettPratica = DettPraticaLocalServiceUtil.getByOldDettPraticaId(boSoggetto.getDettPraticaId()); - if (Validator.isNull(dettPratica)) { - _log.warn("[IMPORTER - SOGGETTO] Nessun dettPratica ha oldDettPratica = " + boSoggetto.getDettPraticaId() - + ". (soggettoId " + boSoggetto.getSoggettoId() + " non importato)"); - return null; - } - - IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(dettPratica.getIntPraticaId()); - if (Validator.isNull(intPratica)) { - _log.warn("[IMPORTER - SOGGETTO] Nessun intPratica ha IntPraticaId = " + dettPratica.getIntPraticaId() - + ". (soggetto " + boSoggetto.getSoggettoId() + " non importato)"); - return null; - } - - long intPraticaId = intPratica.getIntPraticaId(); - - String nome = boSoggetto.getNome(); - String cognome = boSoggetto.getCognome(); - String codiceFiscale = boSoggetto.getCodiceFiscale(); - String codiceFiscaleDelegato = boSoggetto.getCodiceFiscaleDelegato(); - Date dataNascita = boSoggetto.getDataNascita(); - String comuneNascita = boSoggetto.getComuneNascita(); - String comuneDomicilio = boSoggetto.getComuneDomicilio(); - String provinciaDomicilio = boSoggetto.getProvinciaDomicilio(); - String viaDomicilio = boSoggetto.getViaDomicilio(); - String numeroCivicoDomicilio = boSoggetto.getNumeroCivicoDomicilio(); - String capDomicilio = boSoggetto.getCapDomicilio(); - String domicilioExtra = boSoggetto.getDomicilioExtra(); - String comune = boSoggetto.getComune(); - String provincia = boSoggetto.getProvincia(); - String via = boSoggetto.getVia(); - String numeroCivico = boSoggetto.getNumeroCivico(); - String cap = boSoggetto.getCap(); - String denominazione = boSoggetto.getDenominazione(); - String sedeLegale = boSoggetto.getSedeLegale(); - String legaleRap = boSoggetto.getLegaleRap(); - Date dataNascitaRap = boSoggetto.getDataNascitaRap(); - String comuneNascitaRap = boSoggetto.getComuneNascita(); - String viaRap = boSoggetto.getViaRap(); - String numeroCivicoRap = boSoggetto.getNumeroCivicoRap(); - String capRap = boSoggetto.getCapRap(); - String provinciaRap = boSoggetto.getProvinciaRap(); - String comuneRap = boSoggetto.getComuneRap(); - String albo = boSoggetto.getAlbo(); - String regAlbo = boSoggetto.getRegAlbo(); - String provAlbo = boSoggetto.getProvAlbo(); - String numIscrAlbo = boSoggetto.getNumIscrAlbo(); - String telefono = boSoggetto.getTelefono(); - String fax = boSoggetto.getFax(); - String email = boSoggetto.getEmail(); - String tipologiaSoggetto = boSoggetto.getTipologiaProfessione(); - boolean aggiuntivo = boSoggetto.getAggiuntivo(); - long oldSoggettoId = boSoggetto.getSoggettoId(); - - boolean rimosso = boSoggetto.getSostituito(); - - String ambitoAttivita = StringPool.BLANK; - String ambitoProfessione = StringPool.BLANK; - long intPraticaIdRimozione = 0; - long dettPraticaIdRimozione = 0; - Date dtDataRimozione = null; - - return SoggettoLocalServiceUtil.addSoggettoForImport(serviceContext.getUserId(), dettPratica.getDettPraticaId(), - intPraticaId, nome, cognome, codiceFiscale, codiceFiscaleDelegato, dataNascita, comuneNascita, comuneDomicilio, - provinciaDomicilio, viaDomicilio, numeroCivicoDomicilio, capDomicilio, domicilioExtra, comune, provincia, via, - numeroCivico, cap, denominazione, sedeLegale, legaleRap, dataNascitaRap, comuneNascitaRap, viaRap, - numeroCivicoRap, capRap, provinciaRap, comuneRap, albo, regAlbo, provAlbo, numIscrAlbo, telefono, fax, email, - tipologiaSoggetto, aggiuntivo, rimosso, ambitoAttivita, ambitoProfessione, intPraticaIdRimozione, - dettPraticaIdRimozione, dtDataRimozione, oldSoggettoId, serviceContext); - - } -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/importer/impl/SorteggioImporterImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/importer/impl/SorteggioImporterImpl.java deleted file mode 100644 index 2954130e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/importer/impl/SorteggioImporterImpl.java +++ /dev/null @@ -1,145 +0,0 @@ -package it.tref.liferay.portos.portosimport.importer.impl; - - -import com.liferay.portal.kernel.dao.orm.Criterion; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.bo.model.DettPratica; -import it.tref.liferay.portos.bo.model.Sorteggio; -import it.tref.liferay.portos.bo.model.Territorio; -import it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.SorteggioLocalServiceUtil; -import it.tref.liferay.portos.bo.service.TerritorioLocalServiceUtil; -import it.tref.liferay.portos.portosimport.importer.Importer; -import it.tref.liferay.portos.portosimport.model.BoDettPratica; -import it.tref.liferay.portos.portosimport.model.BoIntPratica; -import it.tref.liferay.portos.portosimport.model.BoSorteggio; -import it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.persistence.BoSorteggioActionableDynamicQuery; - -import java.util.Date; -import java.util.List; - - -public class SorteggioImporterImpl implements Importer { - - private static final Log _log = LogFactoryUtil.getLog(SorteggioImporterImpl.class); - - - public SorteggioImporterImpl() { - - } - - public void importa(final List criterionList) throws SystemException, PortalException { - - BoSorteggioActionableDynamicQuery boSorteggioActionableDynamicQuery = new BoSorteggioActionableDynamicQuery() { - - @Override - protected void addCriteria(DynamicQuery dynamicQuery) { - - for (Criterion criterion : criterionList) { - dynamicQuery.add(criterion); - } - super.addCriteria(dynamicQuery); - } - - @Override - protected void performAction(Object object) throws PortalException, SystemException { - - BoSorteggio boSorteggio = (BoSorteggio) object; - - Sorteggio sorteggio = SorteggioLocalServiceUtil.fetchByOldSorteggioId(boSorteggio.getSorteggioId()); - - BoDettPratica boDettPratica = null; - BoIntPratica boIntPratica = null; - Territorio territorio = TerritorioLocalServiceUtil.createTerritorio(0L); - territorio.setGroupId(0L); - territorio.setCompanyId(0L); - - if (boSorteggio.getDettPraticaId() > 0) { - boDettPratica = BoDettPraticaLocalServiceUtil.fetchBoDettPratica(boSorteggio.getDettPraticaId()); - if (Validator.isNull(boDettPratica)) { - _log.info("[IMPORTER - Sorteggio] Nessun boDettPratica con id " + boSorteggio.getDettPraticaId()); - return; - } - - boIntPratica = BoIntPraticaLocalServiceUtil.getBoIntPratica(boDettPratica.getIntPraticaId()); - if (Validator.isNull(boIntPratica)) { - _log.info("[IMPORTER - Sorteggio] Nessun boIntPratica con id " + boDettPratica.getIntPraticaId()); - return; - } - - territorio = TerritorioLocalServiceUtil.fetchByOldTerriotioId(boIntPratica.getTerritorioId()); - if (Validator.isNull(territorio)) { - _log.info("[IMPORTER - Sorteggio] Nessun territorio corrisponde all'old id " - + boIntPratica.getTerritorioId()); - return; - } - } - - ServiceContext serviceContext = new ServiceContext(); - serviceContext.setUserId(0L); - serviceContext.setScopeGroupId(territorio.getGroupId()); - serviceContext.setCompanyId(territorio.getCompanyId()); - serviceContext.setCreateDate(boSorteggio.getCreateDate()); - serviceContext.setModifiedDate(boSorteggio.getModifiedDate()); - try { - - if (Validator.isNull(sorteggio)) { - _log.info("[IMPORTER - Sorteggio] Importazione di boSorteggio " + boSorteggio.getSorteggioId()); - importaSorteggio(boSorteggio, serviceContext); - } - - } catch (Exception e) { - _log.warn("[IMPORTER - Sorteggio] Errore durante l'importazione del boSorteggio: id " - + boSorteggio.getSorteggioId()); - _log.error("[IMPORTER - Sorteggio] Errore durante l'importazione del boSorteggio: id " - + boSorteggio.getSorteggioId(), e); - } - } - }; - - boSorteggioActionableDynamicQuery.performActions(); - } - - private Sorteggio importaSorteggio(BoSorteggio boSorteggio, ServiceContext serviceContext) throws SystemException, - PortalException { - - - long dettPraticaId = 0L; - if (boSorteggio.getDettPraticaId() > 0) { - DettPratica dettPratica = DettPraticaLocalServiceUtil.getByOldDettPraticaId(boSorteggio.getDettPraticaId()); - dettPraticaId = dettPratica.getDettPraticaId(); - } - - String anno = boSorteggio.getAnno(); - String mese = boSorteggio.getMese(); - Date dtSorteggio = boSorteggio.getDtSorteggio(); - String note = boSorteggio.getNote(); - String stato = boSorteggio.getStato(); - String dettagli = boSorteggio.getDettagli(); - long numeroEstrazione = boSorteggio.getNumeroEstrazione(); - String provincia = boSorteggio.getPratica(); - String pratica = boSorteggio.getPratica(); - String committente = boSorteggio.getCommittente(); - String comune = boSorteggio.getComune(); - boolean esterna = boSorteggio.getEsterna(); - long praticaEsternaId = boSorteggio.getPraticaEsternaId(); - boolean mesePrecedente = GetterUtil.getBoolean(boSorteggio.getMesePrecedente(), false); - int status = boSorteggio.getStatus(); - long oldSorteggioId = boSorteggio.getSorteggioId(); - - return SorteggioLocalServiceUtil.addSorteggioForImport(dettPraticaId, anno, mese, dtSorteggio, note, stato, - dettagli, numeroEstrazione, pratica, committente, comune, provincia, esterna, praticaEsternaId, mesePrecedente, - status, oldSorteggioId, serviceContext); - - } -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/importer/impl/StoricoSoggettoPraticaImporterImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/importer/impl/StoricoSoggettoPraticaImporterImpl.java deleted file mode 100644 index 426c792c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/importer/impl/StoricoSoggettoPraticaImporterImpl.java +++ /dev/null @@ -1,112 +0,0 @@ -package it.tref.liferay.portos.portosimport.importer.impl; - - -import com.liferay.portal.kernel.dao.orm.Criterion; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.bo.model.StoricoSoggettoPratica; -import it.tref.liferay.portos.bo.model.Territorio; -import it.tref.liferay.portos.bo.service.StoricoSoggettoPraticaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.TerritorioLocalServiceUtil; -import it.tref.liferay.portos.portosimport.importer.Importer; -import it.tref.liferay.portos.portosimport.model.BoIntPratica; -import it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica; -import it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.persistence.BoStoricoSoggettoPraticaActionableDynamicQuery; - -import java.util.List; - - -public class StoricoSoggettoPraticaImporterImpl implements Importer { - - private static final Log _log = LogFactoryUtil.getLog(StoricoSoggettoPraticaImporterImpl.class); - - public StoricoSoggettoPraticaImporterImpl() { - - } - - - public void importa(final List criterionList) throws SystemException, PortalException { - - BoStoricoSoggettoPraticaActionableDynamicQuery boStoricoSoggettoPraticaActionableDynamicQuery = - new BoStoricoSoggettoPraticaActionableDynamicQuery() { - - @Override - protected void addCriteria(DynamicQuery dynamicQuery) { - - for (Criterion criterion : criterionList) { - dynamicQuery.add(criterion); - } - super.addCriteria(dynamicQuery); - } - - @Override - protected void performAction(Object object) throws PortalException, SystemException { - - BoStoricoSoggettoPratica boStoricoSoggettoPratica = (BoStoricoSoggettoPratica) object; - - StoricoSoggettoPratica StoricoSoggettoPratica = - StoricoSoggettoPraticaLocalServiceUtil.fetchByOldStoricoSoggettoPraticaId(boStoricoSoggettoPratica.getStoricoSoggettoPraticaId()); - - BoIntPratica boIntPratica = - BoIntPraticaLocalServiceUtil.getBoIntPratica(boStoricoSoggettoPratica.getIntPraticaId()); - if (Validator.isNull(boIntPratica)) { - _log.info("[IMPORTER - StoricoSoggettoPratica] Nessun boIntPratica con id " - + boStoricoSoggettoPratica.getIntPraticaId()); - return; - } - - Territorio territorio = TerritorioLocalServiceUtil.fetchByOldTerriotioId(boIntPratica.getTerritorioId()); - if (Validator.isNull(territorio)) { - _log.info("[IMPORTER - StoricoSoggettoPratica] Nessun territorio corrisponde all'old id " - + boIntPratica.getTerritorioId()); - return; - } - - ServiceContext serviceContext = new ServiceContext(); - serviceContext.setUserId(0L); - serviceContext.setScopeGroupId(territorio.getGroupId()); - serviceContext.setCompanyId(territorio.getCompanyId()); - serviceContext.setCreateDate(boStoricoSoggettoPratica.getCreateDate()); - serviceContext.setModifiedDate(boStoricoSoggettoPratica.getModifiedDate()); - try { - - if (Validator.isNull(StoricoSoggettoPratica)) { - _log.info("[IMPORTER - StoricoSoggettoPratica] Importazione di boStoricoSoggettoPratica " - + boStoricoSoggettoPratica.getStoricoSoggettoPraticaId()); - importaStoricoSoggettoPratica(boStoricoSoggettoPratica, serviceContext); - } - - } catch (Exception e) { - _log.warn("[IMPORTER - StoricoSoggettoPratica] Errore durante l'importazione del boStoricoSoggettoPratica: id " - + boStoricoSoggettoPratica.getStoricoSoggettoPraticaId()); - _log.error( - "[IMPORTER - StoricoSoggettoPratica] Errore durante l'importazione del boStoricoSoggettoPratica: id " - + boStoricoSoggettoPratica.getStoricoSoggettoPraticaId(), e); - } - } - - }; - - boStoricoSoggettoPraticaActionableDynamicQuery.performActions(); - } - - private StoricoSoggettoPratica importaStoricoSoggettoPratica(BoStoricoSoggettoPratica boStoricoSoggettoPratica, - ServiceContext serviceContext) throws SystemException, PortalException { - - long intPraticaId = boStoricoSoggettoPratica.getIntPraticaId(); - long oldStoricoSoggettoPraticaId = boStoricoSoggettoPratica.getStoricoSoggettoPraticaId(); - String nome = boStoricoSoggettoPratica.getNome(); - String cognome = boStoricoSoggettoPratica.getCodiceFiscale(); - String codiceFiscale = boStoricoSoggettoPratica.getCodiceFiscale(); - return StoricoSoggettoPraticaLocalServiceUtil.addStoricoSoggettoPraticaForImport(intPraticaId, nome, cognome, - codiceFiscale, oldStoricoSoggettoPraticaId, serviceContext); - - } -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/importer/impl/TerritorioImporterImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/importer/impl/TerritorioImporterImpl.java deleted file mode 100644 index 6cf8a194..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/importer/impl/TerritorioImporterImpl.java +++ /dev/null @@ -1,148 +0,0 @@ -package it.tref.liferay.portos.portosimport.importer.impl; - - -import com.liferay.portal.kernel.dao.orm.Criterion; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.service.ServiceContext; - -import it.tref.liferay.portos.bo.model.Comune; -import it.tref.liferay.portos.bo.model.Provincia; -import it.tref.liferay.portos.bo.model.Territorio; -import it.tref.liferay.portos.bo.service.ComuneLocalServiceUtil; -import it.tref.liferay.portos.bo.service.ProvinciaLocalServiceUtil; -import it.tref.liferay.portos.bo.service.TerritorioLocalServiceUtil; -import it.tref.liferay.portos.portosimport.importer.Importer; -import it.tref.liferay.portos.portosimport.model.BoComune; -import it.tref.liferay.portos.portosimport.model.BoTerritorio; -import it.tref.liferay.portos.portosimport.model.FeTerritorio; -import it.tref.liferay.portos.portosimport.service.BoComuneLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.FeTerritorioLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.persistence.BoTerritorioActionableDynamicQuery; -import it.tref.liferay.portos.portosimport.utils.Converter; - -import java.util.Date; -import java.util.List; - -public class TerritorioImporterImpl implements Importer { - - private static final Log _log = LogFactoryUtil.getLog(TerritorioImporterImpl.class); - private ServiceContext _serviceContext; - - public TerritorioImporterImpl(ServiceContext serviceContext) { - - _serviceContext = serviceContext; - } - - public void importa(List criterionList) throws SystemException, PortalException { - - BoTerritorioActionableDynamicQuery boTerritorioActionableDynamicQuery = new BoTerritorioActionableDynamicQuery() { - - @Override - protected void addCriteria(DynamicQuery dynamicQuery) { - - // dynamicQuery.add(RestrictionsFactoryUtil.ge("territorioId", 1)); - - super.addCriteria(dynamicQuery); - } - - @Override - protected void performAction(Object object) throws PortalException, SystemException { - - - BoTerritorio boTerritorio = (BoTerritorio) object; - Territorio territorio = TerritorioLocalServiceUtil.fetchByOldTerriotioId(boTerritorio.getTerritorioId()); - - ServiceContext serviceContext = new ServiceContext(); - serviceContext.setUserId(_serviceContext.getUserId()); - serviceContext.setScopeGroupId(_serviceContext.getScopeGroupId()); - serviceContext.setCompanyId(_serviceContext.getCompanyId()); - serviceContext.setCreateDate(boTerritorio.getCreateDate()); - serviceContext.setModifiedDate(boTerritorio.getModifiedDate()); - try { - - if (Validator.isNull(territorio)) { - _log.info("[IMPORTAZIONE - TERRITORIO] Importazione di boTerritorio " + boTerritorio.getTerritorioId()); - importaTerritorio(boTerritorio, 0l, serviceContext); - } else { - importaTerritorio(boTerritorio, territorio.getTerritorioId(), serviceContext); - } - - } catch (Exception e) { - _log.error( - "[IMPORTAZIONE - TERRITORIO] Errore durante l'importazione di boTerritorio: id " - + boTerritorio.getTerritorioId(), e); - _log.error("[IMPORTAZIONE - TERRITORIO] Errore durante l'importazione di boTerritorio: id " - + boTerritorio.getTerritorioId()); - } - - } - - }; - boTerritorioActionableDynamicQuery.performActions(); - } - - - private Territorio importaTerritorio(BoTerritorio boTerritorio, long territorioId, ServiceContext serviceContext) - throws SystemException, PortalException { - - - BoComune boComune = BoComuneLocalServiceUtil.fetchBoComune(boTerritorio.getComuneId()); - Comune comune = null; - if (Validator.isNull(boComune)) { - _log.error("[IMPORTAZIONE - TERRITORIO] Nessun boComune corrisponde all'id: " + boTerritorio.getComuneId()); - return null; - } - - comune = ComuneLocalServiceUtil.fetchByC_CI(serviceContext.getCompanyId(), boComune.getCodIstat()); - if (Validator.isNull(comune)) { - _log.error("[IMPORTAZIONE - TERRITORIO] Nessun Comune corrisponde al codice istat: " + boComune.getCodIstat()); - return null; - } - - Provincia provincia = ProvinciaLocalServiceUtil.findByC_C(comune.getCompanyId(), comune.getCodiceProvincia()); - long groupId = 0; - String zona = Converter.convertZona(boTerritorio.getZonaId()); - String fascia = Converter.convertFascia(boTerritorio.getFasciaId()); - Date dtIni = boTerritorio.getDtIni(); - Date dtFin = boTerritorio.getDtFin(); - String agMax = ""; - String agMin = ""; - long oldTerritorioId = boTerritorio.getTerritorioId(); - - long comuneFeId = Converter.convertComuneBoToComuneFe(boTerritorio.getComuneId(), serviceContext.getCompanyId()); - if (comuneFeId > 0) { - FeTerritorio feTerritorio = null; - List feTerritori = - FeTerritorioLocalServiceUtil.findByC_Z_F(comuneFeId, boTerritorio.getZonaId(), boTerritorio.getFasciaId()); - for (FeTerritorio feTerritorioTmp : feTerritori) { - if (feTerritorio == null || Validator.isNull(feTerritorioTmp.getDtFin())) { - feTerritorio = feTerritorioTmp; - } - } - - if (Validator.isNotNull(feTerritorio)) { - agMax = feTerritorio.getAgMax(); - agMin = feTerritorio.getAgMin(); - } else { - _log.warn("[IMPORT - TERRITORIO] AgMax e AgMin non settate per il BoTerritorio id: " - + boTerritorio.getTerritorioId()); - } - } else { - _log.warn("[IMPORT - TERRITORIO] Comune BO e FE mismatch. In comune con id: " + boTerritorio.getComuneId() - + " non ha un corrispettivo in FE."); - } - if (territorioId != 0l) { - Territorio territorio = TerritorioLocalServiceUtil.getTerritorio(territorioId); - return TerritorioLocalServiceUtil.updateTerritorio(territorioId, territorio.getGroupId(), comune.getComuneId(), - provincia.getCodiceProvincia(), zona, fascia, dtIni, dtFin, agMax, agMin, serviceContext); - } else { - return TerritorioLocalServiceUtil.addTerritorio(comune.getComuneId(), groupId, provincia.getCodiceProvincia(), - zona, fascia, dtIni, dtFin, agMax, agMin, oldTerritorioId, serviceContext); - } - } -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoArtLeggeBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoArtLeggeBaseImpl.java deleted file mode 100644 index f516ab21..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoArtLeggeBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.BoArtLegge; -import it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalServiceUtil; - -/** - * The extended model base implementation for the BoArtLegge service. Represents a row in the "gc_artlegge" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoArtLeggeImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoArtLeggeImpl - * @see it.tref.liferay.portos.portosimport.model.BoArtLegge - * @generated - */ -public abstract class BoArtLeggeBaseImpl extends BoArtLeggeModelImpl - implements BoArtLegge { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo art legge model instance should use the {@link BoArtLegge} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoArtLeggeLocalServiceUtil.addBoArtLegge(this); - } - else { - BoArtLeggeLocalServiceUtil.updateBoArtLegge(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoArtLeggeCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoArtLeggeCacheModel.java deleted file mode 100644 index 7edd241c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoArtLeggeCacheModel.java +++ /dev/null @@ -1,182 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.portosimport.model.BoArtLegge; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing BoArtLegge in entity cache. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoArtLegge - * @generated - */ -public class BoArtLeggeCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(19); - - sb.append("{artLeggeId="); - sb.append(artLeggeId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", codArtLegge="); - sb.append(codArtLegge); - sb.append(", tipologia="); - sb.append(tipologia); - sb.append(", descLong="); - sb.append(descLong); - sb.append("}"); - - return sb.toString(); - } - - @Override - public BoArtLegge toEntityModel() { - BoArtLeggeImpl boArtLeggeImpl = new BoArtLeggeImpl(); - - boArtLeggeImpl.setArtLeggeId(artLeggeId); - boArtLeggeImpl.setCompanyId(companyId); - boArtLeggeImpl.setUserId(userId); - - if (userName == null) { - boArtLeggeImpl.setUserName(StringPool.BLANK); - } - else { - boArtLeggeImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - boArtLeggeImpl.setCreateDate(null); - } - else { - boArtLeggeImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - boArtLeggeImpl.setModifiedDate(null); - } - else { - boArtLeggeImpl.setModifiedDate(new Date(modifiedDate)); - } - - if (codArtLegge == null) { - boArtLeggeImpl.setCodArtLegge(StringPool.BLANK); - } - else { - boArtLeggeImpl.setCodArtLegge(codArtLegge); - } - - if (tipologia == null) { - boArtLeggeImpl.setTipologia(StringPool.BLANK); - } - else { - boArtLeggeImpl.setTipologia(tipologia); - } - - if (descLong == null) { - boArtLeggeImpl.setDescLong(StringPool.BLANK); - } - else { - boArtLeggeImpl.setDescLong(descLong); - } - - boArtLeggeImpl.resetOriginalValues(); - - return boArtLeggeImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - artLeggeId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - codArtLegge = objectInput.readUTF(); - tipologia = objectInput.readUTF(); - descLong = objectInput.readUTF(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - objectOutput.writeLong(artLeggeId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - - if (codArtLegge == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codArtLegge); - } - - if (tipologia == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(tipologia); - } - - if (descLong == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(descLong); - } - } - - public long artLeggeId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public String codArtLegge; - public String tipologia; - public String descLong; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoArtLeggeImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoArtLeggeImpl.java deleted file mode 100644 index 233cc6e1..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoArtLeggeImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -/** - * The extended model implementation for the BoArtLegge service. Represents a row in the "gc_artlegge" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.portosimport.model.BoArtLegge} interface. - *

- * - * @author Davide Barbagallo, 3F Consulting - */ -public class BoArtLeggeImpl extends BoArtLeggeBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a bo art legge model instance should use the {@link it.tref.liferay.portos.portosimport.model.BoArtLegge} interface instead. - */ - public BoArtLeggeImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoArtLeggeModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoArtLeggeModelImpl.java deleted file mode 100644 index 5aa40852..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoArtLeggeModelImpl.java +++ /dev/null @@ -1,597 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.portosimport.model.BoArtLegge; -import it.tref.liferay.portos.portosimport.model.BoArtLeggeModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the BoArtLegge service. Represents a row in the "gc_artlegge" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.portosimport.model.BoArtLeggeModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoArtLeggeImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoArtLeggeImpl - * @see it.tref.liferay.portos.portosimport.model.BoArtLegge - * @see it.tref.liferay.portos.portosimport.model.BoArtLeggeModel - * @generated - */ -public class BoArtLeggeModelImpl extends BaseModelImpl - implements BoArtLeggeModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo art legge model instance should use the {@link it.tref.liferay.portos.portosimport.model.BoArtLegge} interface instead. - */ - public static final String TABLE_NAME = "gc_artlegge"; - public static final Object[][] TABLE_COLUMNS = { - { "artLeggeId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "codArtLegge", Types.VARCHAR }, - { "tipologia", Types.VARCHAR }, - { "descLong", Types.VARCHAR } - }; - public static final String TABLE_SQL_CREATE = "create table gc_artlegge (artLeggeId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,codArtLegge VARCHAR(75) null,tipologia VARCHAR(75) null,descLong VARCHAR(75) null)"; - public static final String TABLE_SQL_DROP = "drop table gc_artlegge"; - public static final String ORDER_BY_JPQL = " ORDER BY boArtLegge.codArtLegge ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gc_artlegge.codArtLegge ASC"; - public static final String DATA_SOURCE = "datiPortos1DbDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.portosimport.model.BoArtLegge"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.portosimport.model.BoArtLegge"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.portosimport.model.BoArtLegge"), - true); - public static long CODARTLEGGE_COLUMN_BITMASK = 1L; - public static long TIPOLOGIA_COLUMN_BITMASK = 2L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.portosimport.model.BoArtLegge")); - - public BoArtLeggeModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _artLeggeId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setArtLeggeId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _artLeggeId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return BoArtLegge.class; - } - - @Override - public String getModelClassName() { - return BoArtLegge.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("artLeggeId", getArtLeggeId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("codArtLegge", getCodArtLegge()); - attributes.put("tipologia", getTipologia()); - attributes.put("descLong", getDescLong()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long artLeggeId = (Long)attributes.get("artLeggeId"); - - if (artLeggeId != null) { - setArtLeggeId(artLeggeId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - String codArtLegge = (String)attributes.get("codArtLegge"); - - if (codArtLegge != null) { - setCodArtLegge(codArtLegge); - } - - String tipologia = (String)attributes.get("tipologia"); - - if (tipologia != null) { - setTipologia(tipologia); - } - - String descLong = (String)attributes.get("descLong"); - - if (descLong != null) { - setDescLong(descLong); - } - } - - @Override - public long getArtLeggeId() { - return _artLeggeId; - } - - @Override - public void setArtLeggeId(long artLeggeId) { - _artLeggeId = artLeggeId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public String getCodArtLegge() { - if (_codArtLegge == null) { - return StringPool.BLANK; - } - else { - return _codArtLegge; - } - } - - @Override - public void setCodArtLegge(String codArtLegge) { - _columnBitmask = -1L; - - if (_originalCodArtLegge == null) { - _originalCodArtLegge = _codArtLegge; - } - - _codArtLegge = codArtLegge; - } - - public String getOriginalCodArtLegge() { - return GetterUtil.getString(_originalCodArtLegge); - } - - @Override - public String getTipologia() { - if (_tipologia == null) { - return StringPool.BLANK; - } - else { - return _tipologia; - } - } - - @Override - public void setTipologia(String tipologia) { - _columnBitmask |= TIPOLOGIA_COLUMN_BITMASK; - - if (_originalTipologia == null) { - _originalTipologia = _tipologia; - } - - _tipologia = tipologia; - } - - public String getOriginalTipologia() { - return GetterUtil.getString(_originalTipologia); - } - - @Override - public String getDescLong() { - if (_descLong == null) { - return StringPool.BLANK; - } - else { - return _descLong; - } - } - - @Override - public void setDescLong(String descLong) { - _descLong = descLong; - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - BoArtLegge.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public BoArtLegge toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (BoArtLegge)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - BoArtLeggeImpl boArtLeggeImpl = new BoArtLeggeImpl(); - - boArtLeggeImpl.setArtLeggeId(getArtLeggeId()); - boArtLeggeImpl.setCompanyId(getCompanyId()); - boArtLeggeImpl.setUserId(getUserId()); - boArtLeggeImpl.setUserName(getUserName()); - boArtLeggeImpl.setCreateDate(getCreateDate()); - boArtLeggeImpl.setModifiedDate(getModifiedDate()); - boArtLeggeImpl.setCodArtLegge(getCodArtLegge()); - boArtLeggeImpl.setTipologia(getTipologia()); - boArtLeggeImpl.setDescLong(getDescLong()); - - boArtLeggeImpl.resetOriginalValues(); - - return boArtLeggeImpl; - } - - @Override - public int compareTo(BoArtLegge boArtLegge) { - int value = 0; - - value = getCodArtLegge().compareTo(boArtLegge.getCodArtLegge()); - - if (value != 0) { - return value; - } - - return 0; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoArtLegge)) { - return false; - } - - BoArtLegge boArtLegge = (BoArtLegge)obj; - - long primaryKey = boArtLegge.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - BoArtLeggeModelImpl boArtLeggeModelImpl = this; - - boArtLeggeModelImpl._originalCodArtLegge = boArtLeggeModelImpl._codArtLegge; - - boArtLeggeModelImpl._originalTipologia = boArtLeggeModelImpl._tipologia; - - boArtLeggeModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - BoArtLeggeCacheModel boArtLeggeCacheModel = new BoArtLeggeCacheModel(); - - boArtLeggeCacheModel.artLeggeId = getArtLeggeId(); - - boArtLeggeCacheModel.companyId = getCompanyId(); - - boArtLeggeCacheModel.userId = getUserId(); - - boArtLeggeCacheModel.userName = getUserName(); - - String userName = boArtLeggeCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - boArtLeggeCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - boArtLeggeCacheModel.createDate = createDate.getTime(); - } - else { - boArtLeggeCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - boArtLeggeCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - boArtLeggeCacheModel.modifiedDate = Long.MIN_VALUE; - } - - boArtLeggeCacheModel.codArtLegge = getCodArtLegge(); - - String codArtLegge = boArtLeggeCacheModel.codArtLegge; - - if ((codArtLegge != null) && (codArtLegge.length() == 0)) { - boArtLeggeCacheModel.codArtLegge = null; - } - - boArtLeggeCacheModel.tipologia = getTipologia(); - - String tipologia = boArtLeggeCacheModel.tipologia; - - if ((tipologia != null) && (tipologia.length() == 0)) { - boArtLeggeCacheModel.tipologia = null; - } - - boArtLeggeCacheModel.descLong = getDescLong(); - - String descLong = boArtLeggeCacheModel.descLong; - - if ((descLong != null) && (descLong.length() == 0)) { - boArtLeggeCacheModel.descLong = null; - } - - return boArtLeggeCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(19); - - sb.append("{artLeggeId="); - sb.append(getArtLeggeId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", codArtLegge="); - sb.append(getCodArtLegge()); - sb.append(", tipologia="); - sb.append(getTipologia()); - sb.append(", descLong="); - sb.append(getDescLong()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(31); - - sb.append(""); - sb.append("it.tref.liferay.portos.portosimport.model.BoArtLegge"); - sb.append(""); - - sb.append( - "artLeggeId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "codArtLegge"); - sb.append( - "tipologia"); - sb.append( - "descLong"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = BoArtLegge.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - BoArtLegge.class - }; - private long _artLeggeId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private String _codArtLegge; - private String _originalCodArtLegge; - private String _tipologia; - private String _originalTipologia; - private String _descLong; - private long _columnBitmask; - private BoArtLegge _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoAvvisoBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoAvvisoBaseImpl.java deleted file mode 100644 index 09976c4e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoAvvisoBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.BoAvviso; -import it.tref.liferay.portos.portosimport.service.BoAvvisoLocalServiceUtil; - -/** - * The extended model base implementation for the BoAvviso service. Represents a row in the "gc_avviso" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoAvvisoImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoAvvisoImpl - * @see it.tref.liferay.portos.portosimport.model.BoAvviso - * @generated - */ -public abstract class BoAvvisoBaseImpl extends BoAvvisoModelImpl - implements BoAvviso { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo avviso model instance should use the {@link BoAvviso} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoAvvisoLocalServiceUtil.addBoAvviso(this); - } - else { - BoAvvisoLocalServiceUtil.updateBoAvviso(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoAvvisoCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoAvvisoCacheModel.java deleted file mode 100644 index 4e1c59dd..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoAvvisoCacheModel.java +++ /dev/null @@ -1,494 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.portosimport.model.BoAvviso; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing BoAvviso in entity cache. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoAvviso - * @generated - */ -public class BoAvvisoCacheModel implements CacheModel, Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(77); - - sb.append("{uuid="); - sb.append(uuid); - sb.append(", avvisoId="); - sb.append(avvisoId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", descLong="); - sb.append(descLong); - sb.append(", dtAvviso="); - sb.append(dtAvviso); - sb.append(", tipoAvviso="); - sb.append(tipoAvviso); - sb.append(", tipoDocumento="); - sb.append(tipoDocumento); - sb.append(", fileEntryIdTemplate="); - sb.append(fileEntryIdTemplate); - sb.append(", fileEntryIdBase="); - sb.append(fileEntryIdBase); - sb.append(", fileEntryIdFirma="); - sb.append(fileEntryIdFirma); - sb.append(", fileEntryIdInvio="); - sb.append(fileEntryIdInvio); - sb.append(", dtCreateFileEntryInvio="); - sb.append(dtCreateFileEntryInvio); - sb.append(", userIdPrimaFirma="); - sb.append(userIdPrimaFirma); - sb.append(", userIdSecondaFirma="); - sb.append(userIdSecondaFirma); - sb.append(", firmaInCorso="); - sb.append(firmaInCorso); - sb.append(", transactionIdPrimaFirma="); - sb.append(transactionIdPrimaFirma); - sb.append(", transactionIdSecondaFirma="); - sb.append(transactionIdSecondaFirma); - sb.append(", inviato="); - sb.append(inviato); - sb.append(", dtInvio="); - sb.append(dtInvio); - sb.append(", annullato="); - sb.append(annullato); - sb.append(", errore="); - sb.append(errore); - sb.append(", signal="); - sb.append(signal); - sb.append(", dtInvioSignal="); - sb.append(dtInvioSignal); - sb.append(", tempistica="); - sb.append(tempistica); - sb.append(", dtTempistica="); - sb.append(dtTempistica); - sb.append(", daxId="); - sb.append(daxId); - sb.append(", dtInvioDax="); - sb.append(dtInvioDax); - sb.append(", erroreDax="); - sb.append(erroreDax); - sb.append(", dtErroreDax="); - sb.append(dtErroreDax); - sb.append(", jsonParameters="); - sb.append(jsonParameters); - sb.append(", protocollo="); - sb.append(protocollo); - sb.append(", inviatoTecnico="); - sb.append(inviatoTecnico); - sb.append(", dettPraticaId="); - sb.append(dettPraticaId); - sb.append("}"); - - return sb.toString(); - } - - @Override - public BoAvviso toEntityModel() { - BoAvvisoImpl boAvvisoImpl = new BoAvvisoImpl(); - - if (uuid == null) { - boAvvisoImpl.setUuid(StringPool.BLANK); - } - else { - boAvvisoImpl.setUuid(uuid); - } - - boAvvisoImpl.setAvvisoId(avvisoId); - boAvvisoImpl.setCompanyId(companyId); - boAvvisoImpl.setUserId(userId); - - if (userName == null) { - boAvvisoImpl.setUserName(StringPool.BLANK); - } - else { - boAvvisoImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - boAvvisoImpl.setCreateDate(null); - } - else { - boAvvisoImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - boAvvisoImpl.setModifiedDate(null); - } - else { - boAvvisoImpl.setModifiedDate(new Date(modifiedDate)); - } - - boAvvisoImpl.setGroupId(groupId); - - if (descLong == null) { - boAvvisoImpl.setDescLong(StringPool.BLANK); - } - else { - boAvvisoImpl.setDescLong(descLong); - } - - if (dtAvviso == Long.MIN_VALUE) { - boAvvisoImpl.setDtAvviso(null); - } - else { - boAvvisoImpl.setDtAvviso(new Date(dtAvviso)); - } - - if (tipoAvviso == null) { - boAvvisoImpl.setTipoAvviso(StringPool.BLANK); - } - else { - boAvvisoImpl.setTipoAvviso(tipoAvviso); - } - - if (tipoDocumento == null) { - boAvvisoImpl.setTipoDocumento(StringPool.BLANK); - } - else { - boAvvisoImpl.setTipoDocumento(tipoDocumento); - } - - boAvvisoImpl.setFileEntryIdTemplate(fileEntryIdTemplate); - boAvvisoImpl.setFileEntryIdBase(fileEntryIdBase); - boAvvisoImpl.setFileEntryIdFirma(fileEntryIdFirma); - boAvvisoImpl.setFileEntryIdInvio(fileEntryIdInvio); - - if (dtCreateFileEntryInvio == Long.MIN_VALUE) { - boAvvisoImpl.setDtCreateFileEntryInvio(null); - } - else { - boAvvisoImpl.setDtCreateFileEntryInvio(new Date( - dtCreateFileEntryInvio)); - } - - boAvvisoImpl.setUserIdPrimaFirma(userIdPrimaFirma); - boAvvisoImpl.setUserIdSecondaFirma(userIdSecondaFirma); - boAvvisoImpl.setFirmaInCorso(firmaInCorso); - - if (transactionIdPrimaFirma == null) { - boAvvisoImpl.setTransactionIdPrimaFirma(StringPool.BLANK); - } - else { - boAvvisoImpl.setTransactionIdPrimaFirma(transactionIdPrimaFirma); - } - - if (transactionIdSecondaFirma == null) { - boAvvisoImpl.setTransactionIdSecondaFirma(StringPool.BLANK); - } - else { - boAvvisoImpl.setTransactionIdSecondaFirma(transactionIdSecondaFirma); - } - - if (inviato == null) { - boAvvisoImpl.setInviato(StringPool.BLANK); - } - else { - boAvvisoImpl.setInviato(inviato); - } - - if (dtInvio == Long.MIN_VALUE) { - boAvvisoImpl.setDtInvio(null); - } - else { - boAvvisoImpl.setDtInvio(new Date(dtInvio)); - } - - boAvvisoImpl.setAnnullato(annullato); - boAvvisoImpl.setErrore(errore); - boAvvisoImpl.setSignal(signal); - - if (dtInvioSignal == Long.MIN_VALUE) { - boAvvisoImpl.setDtInvioSignal(null); - } - else { - boAvvisoImpl.setDtInvioSignal(new Date(dtInvioSignal)); - } - - boAvvisoImpl.setTempistica(tempistica); - - if (dtTempistica == Long.MIN_VALUE) { - boAvvisoImpl.setDtTempistica(null); - } - else { - boAvvisoImpl.setDtTempistica(new Date(dtTempistica)); - } - - boAvvisoImpl.setDaxId(daxId); - - if (dtInvioDax == Long.MIN_VALUE) { - boAvvisoImpl.setDtInvioDax(null); - } - else { - boAvvisoImpl.setDtInvioDax(new Date(dtInvioDax)); - } - - if (erroreDax == null) { - boAvvisoImpl.setErroreDax(StringPool.BLANK); - } - else { - boAvvisoImpl.setErroreDax(erroreDax); - } - - if (dtErroreDax == Long.MIN_VALUE) { - boAvvisoImpl.setDtErroreDax(null); - } - else { - boAvvisoImpl.setDtErroreDax(new Date(dtErroreDax)); - } - - if (jsonParameters == null) { - boAvvisoImpl.setJsonParameters(StringPool.BLANK); - } - else { - boAvvisoImpl.setJsonParameters(jsonParameters); - } - - if (protocollo == null) { - boAvvisoImpl.setProtocollo(StringPool.BLANK); - } - else { - boAvvisoImpl.setProtocollo(protocollo); - } - - boAvvisoImpl.setInviatoTecnico(inviatoTecnico); - boAvvisoImpl.setDettPraticaId(dettPraticaId); - - boAvvisoImpl.resetOriginalValues(); - - return boAvvisoImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - uuid = objectInput.readUTF(); - avvisoId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - groupId = objectInput.readLong(); - descLong = objectInput.readUTF(); - dtAvviso = objectInput.readLong(); - tipoAvviso = objectInput.readUTF(); - tipoDocumento = objectInput.readUTF(); - fileEntryIdTemplate = objectInput.readLong(); - fileEntryIdBase = objectInput.readLong(); - fileEntryIdFirma = objectInput.readLong(); - fileEntryIdInvio = objectInput.readLong(); - dtCreateFileEntryInvio = objectInput.readLong(); - userIdPrimaFirma = objectInput.readLong(); - userIdSecondaFirma = objectInput.readLong(); - firmaInCorso = objectInput.readBoolean(); - transactionIdPrimaFirma = objectInput.readUTF(); - transactionIdSecondaFirma = objectInput.readUTF(); - inviato = objectInput.readUTF(); - dtInvio = objectInput.readLong(); - annullato = objectInput.readBoolean(); - errore = objectInput.readBoolean(); - signal = objectInput.readBoolean(); - dtInvioSignal = objectInput.readLong(); - tempistica = objectInput.readBoolean(); - dtTempistica = objectInput.readLong(); - daxId = objectInput.readLong(); - dtInvioDax = objectInput.readLong(); - erroreDax = objectInput.readUTF(); - dtErroreDax = objectInput.readLong(); - jsonParameters = objectInput.readUTF(); - protocollo = objectInput.readUTF(); - inviatoTecnico = objectInput.readBoolean(); - dettPraticaId = objectInput.readLong(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - if (uuid == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(uuid); - } - - objectOutput.writeLong(avvisoId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeLong(groupId); - - if (descLong == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(descLong); - } - - objectOutput.writeLong(dtAvviso); - - if (tipoAvviso == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(tipoAvviso); - } - - if (tipoDocumento == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(tipoDocumento); - } - - objectOutput.writeLong(fileEntryIdTemplate); - objectOutput.writeLong(fileEntryIdBase); - objectOutput.writeLong(fileEntryIdFirma); - objectOutput.writeLong(fileEntryIdInvio); - objectOutput.writeLong(dtCreateFileEntryInvio); - objectOutput.writeLong(userIdPrimaFirma); - objectOutput.writeLong(userIdSecondaFirma); - objectOutput.writeBoolean(firmaInCorso); - - if (transactionIdPrimaFirma == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(transactionIdPrimaFirma); - } - - if (transactionIdSecondaFirma == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(transactionIdSecondaFirma); - } - - if (inviato == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(inviato); - } - - objectOutput.writeLong(dtInvio); - objectOutput.writeBoolean(annullato); - objectOutput.writeBoolean(errore); - objectOutput.writeBoolean(signal); - objectOutput.writeLong(dtInvioSignal); - objectOutput.writeBoolean(tempistica); - objectOutput.writeLong(dtTempistica); - objectOutput.writeLong(daxId); - objectOutput.writeLong(dtInvioDax); - - if (erroreDax == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(erroreDax); - } - - objectOutput.writeLong(dtErroreDax); - - if (jsonParameters == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(jsonParameters); - } - - if (protocollo == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(protocollo); - } - - objectOutput.writeBoolean(inviatoTecnico); - objectOutput.writeLong(dettPraticaId); - } - - public String uuid; - public long avvisoId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public long groupId; - public String descLong; - public long dtAvviso; - public String tipoAvviso; - public String tipoDocumento; - public long fileEntryIdTemplate; - public long fileEntryIdBase; - public long fileEntryIdFirma; - public long fileEntryIdInvio; - public long dtCreateFileEntryInvio; - public long userIdPrimaFirma; - public long userIdSecondaFirma; - public boolean firmaInCorso; - public String transactionIdPrimaFirma; - public String transactionIdSecondaFirma; - public String inviato; - public long dtInvio; - public boolean annullato; - public boolean errore; - public boolean signal; - public long dtInvioSignal; - public boolean tempistica; - public long dtTempistica; - public long daxId; - public long dtInvioDax; - public String erroreDax; - public long dtErroreDax; - public String jsonParameters; - public String protocollo; - public boolean inviatoTecnico; - public long dettPraticaId; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoAvvisoImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoAvvisoImpl.java deleted file mode 100644 index 239e235c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoAvvisoImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -/** - * The extended model implementation for the BoAvviso service. Represents a row in the "gc_avviso" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.portosimport.model.BoAvviso} interface. - *

- * - * @author Davide Barbagallo, 3F Consulting - */ -public class BoAvvisoImpl extends BoAvvisoBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a bo avviso model instance should use the {@link it.tref.liferay.portos.portosimport.model.BoAvviso} interface instead. - */ - public BoAvvisoImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoAvvisoModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoAvvisoModelImpl.java deleted file mode 100644 index 5558ae1c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoAvvisoModelImpl.java +++ /dev/null @@ -1,1653 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.DateUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.portosimport.model.BoAvviso; -import it.tref.liferay.portos.portosimport.model.BoAvvisoModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the BoAvviso service. Represents a row in the "gc_avviso" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.portosimport.model.BoAvvisoModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoAvvisoImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoAvvisoImpl - * @see it.tref.liferay.portos.portosimport.model.BoAvviso - * @see it.tref.liferay.portos.portosimport.model.BoAvvisoModel - * @generated - */ -public class BoAvvisoModelImpl extends BaseModelImpl - implements BoAvvisoModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo avviso model instance should use the {@link it.tref.liferay.portos.portosimport.model.BoAvviso} interface instead. - */ - public static final String TABLE_NAME = "gc_avviso"; - public static final Object[][] TABLE_COLUMNS = { - { "uuid_", Types.VARCHAR }, - { "avvisoId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "groupId", Types.BIGINT }, - { "descLong", Types.VARCHAR }, - { "dtAvviso", Types.TIMESTAMP }, - { "tipoAvviso", Types.VARCHAR }, - { "tipoDocumento", Types.VARCHAR }, - { "fileEntryIdTemplate", Types.BIGINT }, - { "fileEntryIdBase", Types.BIGINT }, - { "fileEntryIdFirma", Types.BIGINT }, - { "fileEntryIdInvio", Types.BIGINT }, - { "dtCreateFileEntryInvio", Types.TIMESTAMP }, - { "userIdPrimaFirma", Types.BIGINT }, - { "userIdSecondaFirma", Types.BIGINT }, - { "firmaInCorso", Types.BOOLEAN }, - { "transactionIdPrimaFirma", Types.VARCHAR }, - { "transactionIdSecondaFirma", Types.VARCHAR }, - { "inviato", Types.VARCHAR }, - { "dtInvio", Types.TIMESTAMP }, - { "annullato", Types.BOOLEAN }, - { "errore", Types.BOOLEAN }, - { "signal", Types.BOOLEAN }, - { "dtInvioSignal", Types.TIMESTAMP }, - { "tempistica", Types.BOOLEAN }, - { "dtTempistica", Types.TIMESTAMP }, - { "daxId", Types.BIGINT }, - { "dtInvioDax", Types.TIMESTAMP }, - { "erroreDax", Types.VARCHAR }, - { "dtErroreDax", Types.TIMESTAMP }, - { "jsonParameters", Types.VARCHAR }, - { "protocollo", Types.VARCHAR }, - { "inviatoTecnico", Types.BOOLEAN }, - { "dettPraticaId", Types.BIGINT } - }; - public static final String TABLE_SQL_CREATE = "create table gc_avviso (uuid_ VARCHAR(75) null,avvisoId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,descLong VARCHAR(75) null,dtAvviso DATE null,tipoAvviso VARCHAR(75) null,tipoDocumento VARCHAR(75) null,fileEntryIdTemplate LONG,fileEntryIdBase LONG,fileEntryIdFirma LONG,fileEntryIdInvio LONG,dtCreateFileEntryInvio DATE null,userIdPrimaFirma LONG,userIdSecondaFirma LONG,firmaInCorso BOOLEAN,transactionIdPrimaFirma VARCHAR(75) null,transactionIdSecondaFirma VARCHAR(75) null,inviato VARCHAR(75) null,dtInvio DATE null,annullato BOOLEAN,errore BOOLEAN,signal BOOLEAN,dtInvioSignal DATE null,tempistica BOOLEAN,dtTempistica DATE null,daxId LONG,dtInvioDax DATE null,erroreDax VARCHAR(75) null,dtErroreDax DATE null,jsonParameters VARCHAR(75) null,protocollo VARCHAR(75) null,inviatoTecnico BOOLEAN,dettPraticaId LONG)"; - public static final String TABLE_SQL_DROP = "drop table gc_avviso"; - public static final String ORDER_BY_JPQL = " ORDER BY boAvviso.dtAvviso DESC"; - public static final String ORDER_BY_SQL = " ORDER BY gc_avviso.dtAvviso DESC"; - public static final String DATA_SOURCE = "datiPortos1DbDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.portosimport.model.BoAvviso"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.portosimport.model.BoAvviso"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.portosimport.model.BoAvviso"), - true); - public static long COMPANYID_COLUMN_BITMASK = 1L; - public static long DETTPRATICAID_COLUMN_BITMASK = 2L; - public static long GROUPID_COLUMN_BITMASK = 4L; - public static long PROTOCOLLO_COLUMN_BITMASK = 8L; - public static long TIPODOCUMENTO_COLUMN_BITMASK = 16L; - public static long UUID_COLUMN_BITMASK = 32L; - public static long DTAVVISO_COLUMN_BITMASK = 64L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.portosimport.model.BoAvviso")); - - public BoAvvisoModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _avvisoId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setAvvisoId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _avvisoId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return BoAvviso.class; - } - - @Override - public String getModelClassName() { - return BoAvviso.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("avvisoId", getAvvisoId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("descLong", getDescLong()); - attributes.put("dtAvviso", getDtAvviso()); - attributes.put("tipoAvviso", getTipoAvviso()); - attributes.put("tipoDocumento", getTipoDocumento()); - attributes.put("fileEntryIdTemplate", getFileEntryIdTemplate()); - attributes.put("fileEntryIdBase", getFileEntryIdBase()); - attributes.put("fileEntryIdFirma", getFileEntryIdFirma()); - attributes.put("fileEntryIdInvio", getFileEntryIdInvio()); - attributes.put("dtCreateFileEntryInvio", getDtCreateFileEntryInvio()); - attributes.put("userIdPrimaFirma", getUserIdPrimaFirma()); - attributes.put("userIdSecondaFirma", getUserIdSecondaFirma()); - attributes.put("firmaInCorso", getFirmaInCorso()); - attributes.put("transactionIdPrimaFirma", getTransactionIdPrimaFirma()); - attributes.put("transactionIdSecondaFirma", - getTransactionIdSecondaFirma()); - attributes.put("inviato", getInviato()); - attributes.put("dtInvio", getDtInvio()); - attributes.put("annullato", getAnnullato()); - attributes.put("errore", getErrore()); - attributes.put("signal", getSignal()); - attributes.put("dtInvioSignal", getDtInvioSignal()); - attributes.put("tempistica", getTempistica()); - attributes.put("dtTempistica", getDtTempistica()); - attributes.put("daxId", getDaxId()); - attributes.put("dtInvioDax", getDtInvioDax()); - attributes.put("erroreDax", getErroreDax()); - attributes.put("dtErroreDax", getDtErroreDax()); - attributes.put("jsonParameters", getJsonParameters()); - attributes.put("protocollo", getProtocollo()); - attributes.put("inviatoTecnico", getInviatoTecnico()); - attributes.put("dettPraticaId", getDettPraticaId()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long avvisoId = (Long)attributes.get("avvisoId"); - - if (avvisoId != null) { - setAvvisoId(avvisoId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - String descLong = (String)attributes.get("descLong"); - - if (descLong != null) { - setDescLong(descLong); - } - - Date dtAvviso = (Date)attributes.get("dtAvviso"); - - if (dtAvviso != null) { - setDtAvviso(dtAvviso); - } - - String tipoAvviso = (String)attributes.get("tipoAvviso"); - - if (tipoAvviso != null) { - setTipoAvviso(tipoAvviso); - } - - String tipoDocumento = (String)attributes.get("tipoDocumento"); - - if (tipoDocumento != null) { - setTipoDocumento(tipoDocumento); - } - - Long fileEntryIdTemplate = (Long)attributes.get("fileEntryIdTemplate"); - - if (fileEntryIdTemplate != null) { - setFileEntryIdTemplate(fileEntryIdTemplate); - } - - Long fileEntryIdBase = (Long)attributes.get("fileEntryIdBase"); - - if (fileEntryIdBase != null) { - setFileEntryIdBase(fileEntryIdBase); - } - - Long fileEntryIdFirma = (Long)attributes.get("fileEntryIdFirma"); - - if (fileEntryIdFirma != null) { - setFileEntryIdFirma(fileEntryIdFirma); - } - - Long fileEntryIdInvio = (Long)attributes.get("fileEntryIdInvio"); - - if (fileEntryIdInvio != null) { - setFileEntryIdInvio(fileEntryIdInvio); - } - - Date dtCreateFileEntryInvio = (Date)attributes.get( - "dtCreateFileEntryInvio"); - - if (dtCreateFileEntryInvio != null) { - setDtCreateFileEntryInvio(dtCreateFileEntryInvio); - } - - Long userIdPrimaFirma = (Long)attributes.get("userIdPrimaFirma"); - - if (userIdPrimaFirma != null) { - setUserIdPrimaFirma(userIdPrimaFirma); - } - - Long userIdSecondaFirma = (Long)attributes.get("userIdSecondaFirma"); - - if (userIdSecondaFirma != null) { - setUserIdSecondaFirma(userIdSecondaFirma); - } - - Boolean firmaInCorso = (Boolean)attributes.get("firmaInCorso"); - - if (firmaInCorso != null) { - setFirmaInCorso(firmaInCorso); - } - - String transactionIdPrimaFirma = (String)attributes.get( - "transactionIdPrimaFirma"); - - if (transactionIdPrimaFirma != null) { - setTransactionIdPrimaFirma(transactionIdPrimaFirma); - } - - String transactionIdSecondaFirma = (String)attributes.get( - "transactionIdSecondaFirma"); - - if (transactionIdSecondaFirma != null) { - setTransactionIdSecondaFirma(transactionIdSecondaFirma); - } - - String inviato = (String)attributes.get("inviato"); - - if (inviato != null) { - setInviato(inviato); - } - - Date dtInvio = (Date)attributes.get("dtInvio"); - - if (dtInvio != null) { - setDtInvio(dtInvio); - } - - Boolean annullato = (Boolean)attributes.get("annullato"); - - if (annullato != null) { - setAnnullato(annullato); - } - - Boolean errore = (Boolean)attributes.get("errore"); - - if (errore != null) { - setErrore(errore); - } - - Boolean signal = (Boolean)attributes.get("signal"); - - if (signal != null) { - setSignal(signal); - } - - Date dtInvioSignal = (Date)attributes.get("dtInvioSignal"); - - if (dtInvioSignal != null) { - setDtInvioSignal(dtInvioSignal); - } - - Boolean tempistica = (Boolean)attributes.get("tempistica"); - - if (tempistica != null) { - setTempistica(tempistica); - } - - Date dtTempistica = (Date)attributes.get("dtTempistica"); - - if (dtTempistica != null) { - setDtTempistica(dtTempistica); - } - - Long daxId = (Long)attributes.get("daxId"); - - if (daxId != null) { - setDaxId(daxId); - } - - Date dtInvioDax = (Date)attributes.get("dtInvioDax"); - - if (dtInvioDax != null) { - setDtInvioDax(dtInvioDax); - } - - String erroreDax = (String)attributes.get("erroreDax"); - - if (erroreDax != null) { - setErroreDax(erroreDax); - } - - Date dtErroreDax = (Date)attributes.get("dtErroreDax"); - - if (dtErroreDax != null) { - setDtErroreDax(dtErroreDax); - } - - String jsonParameters = (String)attributes.get("jsonParameters"); - - if (jsonParameters != null) { - setJsonParameters(jsonParameters); - } - - String protocollo = (String)attributes.get("protocollo"); - - if (protocollo != null) { - setProtocollo(protocollo); - } - - Boolean inviatoTecnico = (Boolean)attributes.get("inviatoTecnico"); - - if (inviatoTecnico != null) { - setInviatoTecnico(inviatoTecnico); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - } - - @Override - public String getUuid() { - if (_uuid == null) { - return StringPool.BLANK; - } - else { - return _uuid; - } - } - - @Override - public void setUuid(String uuid) { - if (_originalUuid == null) { - _originalUuid = _uuid; - } - - _uuid = uuid; - } - - public String getOriginalUuid() { - return GetterUtil.getString(_originalUuid); - } - - @Override - public long getAvvisoId() { - return _avvisoId; - } - - @Override - public void setAvvisoId(long avvisoId) { - _avvisoId = avvisoId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _columnBitmask |= COMPANYID_COLUMN_BITMASK; - - if (!_setOriginalCompanyId) { - _setOriginalCompanyId = true; - - _originalCompanyId = _companyId; - } - - _companyId = companyId; - } - - public long getOriginalCompanyId() { - return _originalCompanyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _columnBitmask |= GROUPID_COLUMN_BITMASK; - - if (!_setOriginalGroupId) { - _setOriginalGroupId = true; - - _originalGroupId = _groupId; - } - - _groupId = groupId; - } - - public long getOriginalGroupId() { - return _originalGroupId; - } - - @Override - public String getDescLong() { - if (_descLong == null) { - return StringPool.BLANK; - } - else { - return _descLong; - } - } - - @Override - public void setDescLong(String descLong) { - _descLong = descLong; - } - - @Override - public Date getDtAvviso() { - return _dtAvviso; - } - - @Override - public void setDtAvviso(Date dtAvviso) { - _columnBitmask = -1L; - - _dtAvviso = dtAvviso; - } - - @Override - public String getTipoAvviso() { - if (_tipoAvviso == null) { - return StringPool.BLANK; - } - else { - return _tipoAvviso; - } - } - - @Override - public void setTipoAvviso(String tipoAvviso) { - _tipoAvviso = tipoAvviso; - } - - @Override - public String getTipoDocumento() { - if (_tipoDocumento == null) { - return StringPool.BLANK; - } - else { - return _tipoDocumento; - } - } - - @Override - public void setTipoDocumento(String tipoDocumento) { - _columnBitmask |= TIPODOCUMENTO_COLUMN_BITMASK; - - if (_originalTipoDocumento == null) { - _originalTipoDocumento = _tipoDocumento; - } - - _tipoDocumento = tipoDocumento; - } - - public String getOriginalTipoDocumento() { - return GetterUtil.getString(_originalTipoDocumento); - } - - @Override - public long getFileEntryIdTemplate() { - return _fileEntryIdTemplate; - } - - @Override - public void setFileEntryIdTemplate(long fileEntryIdTemplate) { - _fileEntryIdTemplate = fileEntryIdTemplate; - } - - @Override - public long getFileEntryIdBase() { - return _fileEntryIdBase; - } - - @Override - public void setFileEntryIdBase(long fileEntryIdBase) { - _fileEntryIdBase = fileEntryIdBase; - } - - @Override - public long getFileEntryIdFirma() { - return _fileEntryIdFirma; - } - - @Override - public void setFileEntryIdFirma(long fileEntryIdFirma) { - _fileEntryIdFirma = fileEntryIdFirma; - } - - @Override - public long getFileEntryIdInvio() { - return _fileEntryIdInvio; - } - - @Override - public void setFileEntryIdInvio(long fileEntryIdInvio) { - _fileEntryIdInvio = fileEntryIdInvio; - } - - @Override - public Date getDtCreateFileEntryInvio() { - return _dtCreateFileEntryInvio; - } - - @Override - public void setDtCreateFileEntryInvio(Date dtCreateFileEntryInvio) { - _dtCreateFileEntryInvio = dtCreateFileEntryInvio; - } - - @Override - public long getUserIdPrimaFirma() { - return _userIdPrimaFirma; - } - - @Override - public void setUserIdPrimaFirma(long userIdPrimaFirma) { - _userIdPrimaFirma = userIdPrimaFirma; - } - - @Override - public long getUserIdSecondaFirma() { - return _userIdSecondaFirma; - } - - @Override - public void setUserIdSecondaFirma(long userIdSecondaFirma) { - _userIdSecondaFirma = userIdSecondaFirma; - } - - @Override - public boolean getFirmaInCorso() { - return _firmaInCorso; - } - - @Override - public boolean isFirmaInCorso() { - return _firmaInCorso; - } - - @Override - public void setFirmaInCorso(boolean firmaInCorso) { - _firmaInCorso = firmaInCorso; - } - - @Override - public String getTransactionIdPrimaFirma() { - if (_transactionIdPrimaFirma == null) { - return StringPool.BLANK; - } - else { - return _transactionIdPrimaFirma; - } - } - - @Override - public void setTransactionIdPrimaFirma(String transactionIdPrimaFirma) { - _transactionIdPrimaFirma = transactionIdPrimaFirma; - } - - @Override - public String getTransactionIdSecondaFirma() { - if (_transactionIdSecondaFirma == null) { - return StringPool.BLANK; - } - else { - return _transactionIdSecondaFirma; - } - } - - @Override - public void setTransactionIdSecondaFirma(String transactionIdSecondaFirma) { - _transactionIdSecondaFirma = transactionIdSecondaFirma; - } - - @Override - public String getInviato() { - if (_inviato == null) { - return StringPool.BLANK; - } - else { - return _inviato; - } - } - - @Override - public void setInviato(String inviato) { - _inviato = inviato; - } - - @Override - public Date getDtInvio() { - return _dtInvio; - } - - @Override - public void setDtInvio(Date dtInvio) { - _dtInvio = dtInvio; - } - - @Override - public boolean getAnnullato() { - return _annullato; - } - - @Override - public boolean isAnnullato() { - return _annullato; - } - - @Override - public void setAnnullato(boolean annullato) { - _annullato = annullato; - } - - @Override - public boolean getErrore() { - return _errore; - } - - @Override - public boolean isErrore() { - return _errore; - } - - @Override - public void setErrore(boolean errore) { - _errore = errore; - } - - @Override - public boolean getSignal() { - return _signal; - } - - @Override - public boolean isSignal() { - return _signal; - } - - @Override - public void setSignal(boolean signal) { - _signal = signal; - } - - @Override - public Date getDtInvioSignal() { - return _dtInvioSignal; - } - - @Override - public void setDtInvioSignal(Date dtInvioSignal) { - _dtInvioSignal = dtInvioSignal; - } - - @Override - public boolean getTempistica() { - return _tempistica; - } - - @Override - public boolean isTempistica() { - return _tempistica; - } - - @Override - public void setTempistica(boolean tempistica) { - _tempistica = tempistica; - } - - @Override - public Date getDtTempistica() { - return _dtTempistica; - } - - @Override - public void setDtTempistica(Date dtTempistica) { - _dtTempistica = dtTempistica; - } - - @Override - public long getDaxId() { - return _daxId; - } - - @Override - public void setDaxId(long daxId) { - _daxId = daxId; - } - - @Override - public Date getDtInvioDax() { - return _dtInvioDax; - } - - @Override - public void setDtInvioDax(Date dtInvioDax) { - _dtInvioDax = dtInvioDax; - } - - @Override - public String getErroreDax() { - if (_erroreDax == null) { - return StringPool.BLANK; - } - else { - return _erroreDax; - } - } - - @Override - public void setErroreDax(String erroreDax) { - _erroreDax = erroreDax; - } - - @Override - public Date getDtErroreDax() { - return _dtErroreDax; - } - - @Override - public void setDtErroreDax(Date dtErroreDax) { - _dtErroreDax = dtErroreDax; - } - - @Override - public String getJsonParameters() { - if (_jsonParameters == null) { - return StringPool.BLANK; - } - else { - return _jsonParameters; - } - } - - @Override - public void setJsonParameters(String jsonParameters) { - _jsonParameters = jsonParameters; - } - - @Override - public String getProtocollo() { - if (_protocollo == null) { - return StringPool.BLANK; - } - else { - return _protocollo; - } - } - - @Override - public void setProtocollo(String protocollo) { - _columnBitmask |= PROTOCOLLO_COLUMN_BITMASK; - - if (_originalProtocollo == null) { - _originalProtocollo = _protocollo; - } - - _protocollo = protocollo; - } - - public String getOriginalProtocollo() { - return GetterUtil.getString(_originalProtocollo); - } - - @Override - public boolean getInviatoTecnico() { - return _inviatoTecnico; - } - - @Override - public boolean isInviatoTecnico() { - return _inviatoTecnico; - } - - @Override - public void setInviatoTecnico(boolean inviatoTecnico) { - _inviatoTecnico = inviatoTecnico; - } - - @Override - public long getDettPraticaId() { - return _dettPraticaId; - } - - @Override - public void setDettPraticaId(long dettPraticaId) { - _columnBitmask |= DETTPRATICAID_COLUMN_BITMASK; - - if (!_setOriginalDettPraticaId) { - _setOriginalDettPraticaId = true; - - _originalDettPraticaId = _dettPraticaId; - } - - _dettPraticaId = dettPraticaId; - } - - public long getOriginalDettPraticaId() { - return _originalDettPraticaId; - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoAvviso.class.getName())); - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - BoAvviso.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public BoAvviso toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (BoAvviso)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - BoAvvisoImpl boAvvisoImpl = new BoAvvisoImpl(); - - boAvvisoImpl.setUuid(getUuid()); - boAvvisoImpl.setAvvisoId(getAvvisoId()); - boAvvisoImpl.setCompanyId(getCompanyId()); - boAvvisoImpl.setUserId(getUserId()); - boAvvisoImpl.setUserName(getUserName()); - boAvvisoImpl.setCreateDate(getCreateDate()); - boAvvisoImpl.setModifiedDate(getModifiedDate()); - boAvvisoImpl.setGroupId(getGroupId()); - boAvvisoImpl.setDescLong(getDescLong()); - boAvvisoImpl.setDtAvviso(getDtAvviso()); - boAvvisoImpl.setTipoAvviso(getTipoAvviso()); - boAvvisoImpl.setTipoDocumento(getTipoDocumento()); - boAvvisoImpl.setFileEntryIdTemplate(getFileEntryIdTemplate()); - boAvvisoImpl.setFileEntryIdBase(getFileEntryIdBase()); - boAvvisoImpl.setFileEntryIdFirma(getFileEntryIdFirma()); - boAvvisoImpl.setFileEntryIdInvio(getFileEntryIdInvio()); - boAvvisoImpl.setDtCreateFileEntryInvio(getDtCreateFileEntryInvio()); - boAvvisoImpl.setUserIdPrimaFirma(getUserIdPrimaFirma()); - boAvvisoImpl.setUserIdSecondaFirma(getUserIdSecondaFirma()); - boAvvisoImpl.setFirmaInCorso(getFirmaInCorso()); - boAvvisoImpl.setTransactionIdPrimaFirma(getTransactionIdPrimaFirma()); - boAvvisoImpl.setTransactionIdSecondaFirma(getTransactionIdSecondaFirma()); - boAvvisoImpl.setInviato(getInviato()); - boAvvisoImpl.setDtInvio(getDtInvio()); - boAvvisoImpl.setAnnullato(getAnnullato()); - boAvvisoImpl.setErrore(getErrore()); - boAvvisoImpl.setSignal(getSignal()); - boAvvisoImpl.setDtInvioSignal(getDtInvioSignal()); - boAvvisoImpl.setTempistica(getTempistica()); - boAvvisoImpl.setDtTempistica(getDtTempistica()); - boAvvisoImpl.setDaxId(getDaxId()); - boAvvisoImpl.setDtInvioDax(getDtInvioDax()); - boAvvisoImpl.setErroreDax(getErroreDax()); - boAvvisoImpl.setDtErroreDax(getDtErroreDax()); - boAvvisoImpl.setJsonParameters(getJsonParameters()); - boAvvisoImpl.setProtocollo(getProtocollo()); - boAvvisoImpl.setInviatoTecnico(getInviatoTecnico()); - boAvvisoImpl.setDettPraticaId(getDettPraticaId()); - - boAvvisoImpl.resetOriginalValues(); - - return boAvvisoImpl; - } - - @Override - public int compareTo(BoAvviso boAvviso) { - int value = 0; - - value = DateUtil.compareTo(getDtAvviso(), boAvviso.getDtAvviso()); - - value = value * -1; - - if (value != 0) { - return value; - } - - return 0; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoAvviso)) { - return false; - } - - BoAvviso boAvviso = (BoAvviso)obj; - - long primaryKey = boAvviso.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - BoAvvisoModelImpl boAvvisoModelImpl = this; - - boAvvisoModelImpl._originalUuid = boAvvisoModelImpl._uuid; - - boAvvisoModelImpl._originalCompanyId = boAvvisoModelImpl._companyId; - - boAvvisoModelImpl._setOriginalCompanyId = false; - - boAvvisoModelImpl._originalGroupId = boAvvisoModelImpl._groupId; - - boAvvisoModelImpl._setOriginalGroupId = false; - - boAvvisoModelImpl._originalTipoDocumento = boAvvisoModelImpl._tipoDocumento; - - boAvvisoModelImpl._originalProtocollo = boAvvisoModelImpl._protocollo; - - boAvvisoModelImpl._originalDettPraticaId = boAvvisoModelImpl._dettPraticaId; - - boAvvisoModelImpl._setOriginalDettPraticaId = false; - - boAvvisoModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - BoAvvisoCacheModel boAvvisoCacheModel = new BoAvvisoCacheModel(); - - boAvvisoCacheModel.uuid = getUuid(); - - String uuid = boAvvisoCacheModel.uuid; - - if ((uuid != null) && (uuid.length() == 0)) { - boAvvisoCacheModel.uuid = null; - } - - boAvvisoCacheModel.avvisoId = getAvvisoId(); - - boAvvisoCacheModel.companyId = getCompanyId(); - - boAvvisoCacheModel.userId = getUserId(); - - boAvvisoCacheModel.userName = getUserName(); - - String userName = boAvvisoCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - boAvvisoCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - boAvvisoCacheModel.createDate = createDate.getTime(); - } - else { - boAvvisoCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - boAvvisoCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - boAvvisoCacheModel.modifiedDate = Long.MIN_VALUE; - } - - boAvvisoCacheModel.groupId = getGroupId(); - - boAvvisoCacheModel.descLong = getDescLong(); - - String descLong = boAvvisoCacheModel.descLong; - - if ((descLong != null) && (descLong.length() == 0)) { - boAvvisoCacheModel.descLong = null; - } - - Date dtAvviso = getDtAvviso(); - - if (dtAvviso != null) { - boAvvisoCacheModel.dtAvviso = dtAvviso.getTime(); - } - else { - boAvvisoCacheModel.dtAvviso = Long.MIN_VALUE; - } - - boAvvisoCacheModel.tipoAvviso = getTipoAvviso(); - - String tipoAvviso = boAvvisoCacheModel.tipoAvviso; - - if ((tipoAvviso != null) && (tipoAvviso.length() == 0)) { - boAvvisoCacheModel.tipoAvviso = null; - } - - boAvvisoCacheModel.tipoDocumento = getTipoDocumento(); - - String tipoDocumento = boAvvisoCacheModel.tipoDocumento; - - if ((tipoDocumento != null) && (tipoDocumento.length() == 0)) { - boAvvisoCacheModel.tipoDocumento = null; - } - - boAvvisoCacheModel.fileEntryIdTemplate = getFileEntryIdTemplate(); - - boAvvisoCacheModel.fileEntryIdBase = getFileEntryIdBase(); - - boAvvisoCacheModel.fileEntryIdFirma = getFileEntryIdFirma(); - - boAvvisoCacheModel.fileEntryIdInvio = getFileEntryIdInvio(); - - Date dtCreateFileEntryInvio = getDtCreateFileEntryInvio(); - - if (dtCreateFileEntryInvio != null) { - boAvvisoCacheModel.dtCreateFileEntryInvio = dtCreateFileEntryInvio.getTime(); - } - else { - boAvvisoCacheModel.dtCreateFileEntryInvio = Long.MIN_VALUE; - } - - boAvvisoCacheModel.userIdPrimaFirma = getUserIdPrimaFirma(); - - boAvvisoCacheModel.userIdSecondaFirma = getUserIdSecondaFirma(); - - boAvvisoCacheModel.firmaInCorso = getFirmaInCorso(); - - boAvvisoCacheModel.transactionIdPrimaFirma = getTransactionIdPrimaFirma(); - - String transactionIdPrimaFirma = boAvvisoCacheModel.transactionIdPrimaFirma; - - if ((transactionIdPrimaFirma != null) && - (transactionIdPrimaFirma.length() == 0)) { - boAvvisoCacheModel.transactionIdPrimaFirma = null; - } - - boAvvisoCacheModel.transactionIdSecondaFirma = getTransactionIdSecondaFirma(); - - String transactionIdSecondaFirma = boAvvisoCacheModel.transactionIdSecondaFirma; - - if ((transactionIdSecondaFirma != null) && - (transactionIdSecondaFirma.length() == 0)) { - boAvvisoCacheModel.transactionIdSecondaFirma = null; - } - - boAvvisoCacheModel.inviato = getInviato(); - - String inviato = boAvvisoCacheModel.inviato; - - if ((inviato != null) && (inviato.length() == 0)) { - boAvvisoCacheModel.inviato = null; - } - - Date dtInvio = getDtInvio(); - - if (dtInvio != null) { - boAvvisoCacheModel.dtInvio = dtInvio.getTime(); - } - else { - boAvvisoCacheModel.dtInvio = Long.MIN_VALUE; - } - - boAvvisoCacheModel.annullato = getAnnullato(); - - boAvvisoCacheModel.errore = getErrore(); - - boAvvisoCacheModel.signal = getSignal(); - - Date dtInvioSignal = getDtInvioSignal(); - - if (dtInvioSignal != null) { - boAvvisoCacheModel.dtInvioSignal = dtInvioSignal.getTime(); - } - else { - boAvvisoCacheModel.dtInvioSignal = Long.MIN_VALUE; - } - - boAvvisoCacheModel.tempistica = getTempistica(); - - Date dtTempistica = getDtTempistica(); - - if (dtTempistica != null) { - boAvvisoCacheModel.dtTempistica = dtTempistica.getTime(); - } - else { - boAvvisoCacheModel.dtTempistica = Long.MIN_VALUE; - } - - boAvvisoCacheModel.daxId = getDaxId(); - - Date dtInvioDax = getDtInvioDax(); - - if (dtInvioDax != null) { - boAvvisoCacheModel.dtInvioDax = dtInvioDax.getTime(); - } - else { - boAvvisoCacheModel.dtInvioDax = Long.MIN_VALUE; - } - - boAvvisoCacheModel.erroreDax = getErroreDax(); - - String erroreDax = boAvvisoCacheModel.erroreDax; - - if ((erroreDax != null) && (erroreDax.length() == 0)) { - boAvvisoCacheModel.erroreDax = null; - } - - Date dtErroreDax = getDtErroreDax(); - - if (dtErroreDax != null) { - boAvvisoCacheModel.dtErroreDax = dtErroreDax.getTime(); - } - else { - boAvvisoCacheModel.dtErroreDax = Long.MIN_VALUE; - } - - boAvvisoCacheModel.jsonParameters = getJsonParameters(); - - String jsonParameters = boAvvisoCacheModel.jsonParameters; - - if ((jsonParameters != null) && (jsonParameters.length() == 0)) { - boAvvisoCacheModel.jsonParameters = null; - } - - boAvvisoCacheModel.protocollo = getProtocollo(); - - String protocollo = boAvvisoCacheModel.protocollo; - - if ((protocollo != null) && (protocollo.length() == 0)) { - boAvvisoCacheModel.protocollo = null; - } - - boAvvisoCacheModel.inviatoTecnico = getInviatoTecnico(); - - boAvvisoCacheModel.dettPraticaId = getDettPraticaId(); - - return boAvvisoCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(77); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", avvisoId="); - sb.append(getAvvisoId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", descLong="); - sb.append(getDescLong()); - sb.append(", dtAvviso="); - sb.append(getDtAvviso()); - sb.append(", tipoAvviso="); - sb.append(getTipoAvviso()); - sb.append(", tipoDocumento="); - sb.append(getTipoDocumento()); - sb.append(", fileEntryIdTemplate="); - sb.append(getFileEntryIdTemplate()); - sb.append(", fileEntryIdBase="); - sb.append(getFileEntryIdBase()); - sb.append(", fileEntryIdFirma="); - sb.append(getFileEntryIdFirma()); - sb.append(", fileEntryIdInvio="); - sb.append(getFileEntryIdInvio()); - sb.append(", dtCreateFileEntryInvio="); - sb.append(getDtCreateFileEntryInvio()); - sb.append(", userIdPrimaFirma="); - sb.append(getUserIdPrimaFirma()); - sb.append(", userIdSecondaFirma="); - sb.append(getUserIdSecondaFirma()); - sb.append(", firmaInCorso="); - sb.append(getFirmaInCorso()); - sb.append(", transactionIdPrimaFirma="); - sb.append(getTransactionIdPrimaFirma()); - sb.append(", transactionIdSecondaFirma="); - sb.append(getTransactionIdSecondaFirma()); - sb.append(", inviato="); - sb.append(getInviato()); - sb.append(", dtInvio="); - sb.append(getDtInvio()); - sb.append(", annullato="); - sb.append(getAnnullato()); - sb.append(", errore="); - sb.append(getErrore()); - sb.append(", signal="); - sb.append(getSignal()); - sb.append(", dtInvioSignal="); - sb.append(getDtInvioSignal()); - sb.append(", tempistica="); - sb.append(getTempistica()); - sb.append(", dtTempistica="); - sb.append(getDtTempistica()); - sb.append(", daxId="); - sb.append(getDaxId()); - sb.append(", dtInvioDax="); - sb.append(getDtInvioDax()); - sb.append(", erroreDax="); - sb.append(getErroreDax()); - sb.append(", dtErroreDax="); - sb.append(getDtErroreDax()); - sb.append(", jsonParameters="); - sb.append(getJsonParameters()); - sb.append(", protocollo="); - sb.append(getProtocollo()); - sb.append(", inviatoTecnico="); - sb.append(getInviatoTecnico()); - sb.append(", dettPraticaId="); - sb.append(getDettPraticaId()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(118); - - sb.append(""); - sb.append("it.tref.liferay.portos.portosimport.model.BoAvviso"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "avvisoId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "descLong"); - sb.append( - "dtAvviso"); - sb.append( - "tipoAvviso"); - sb.append( - "tipoDocumento"); - sb.append( - "fileEntryIdTemplate"); - sb.append( - "fileEntryIdBase"); - sb.append( - "fileEntryIdFirma"); - sb.append( - "fileEntryIdInvio"); - sb.append( - "dtCreateFileEntryInvio"); - sb.append( - "userIdPrimaFirma"); - sb.append( - "userIdSecondaFirma"); - sb.append( - "firmaInCorso"); - sb.append( - "transactionIdPrimaFirma"); - sb.append( - "transactionIdSecondaFirma"); - sb.append( - "inviato"); - sb.append( - "dtInvio"); - sb.append( - "annullato"); - sb.append( - "errore"); - sb.append( - "signal"); - sb.append( - "dtInvioSignal"); - sb.append( - "tempistica"); - sb.append( - "dtTempistica"); - sb.append( - "daxId"); - sb.append( - "dtInvioDax"); - sb.append( - "erroreDax"); - sb.append( - "dtErroreDax"); - sb.append( - "jsonParameters"); - sb.append( - "protocollo"); - sb.append( - "inviatoTecnico"); - sb.append( - "dettPraticaId"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = BoAvviso.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - BoAvviso.class - }; - private String _uuid; - private String _originalUuid; - private long _avvisoId; - private long _companyId; - private long _originalCompanyId; - private boolean _setOriginalCompanyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _originalGroupId; - private boolean _setOriginalGroupId; - private String _descLong; - private Date _dtAvviso; - private String _tipoAvviso; - private String _tipoDocumento; - private String _originalTipoDocumento; - private long _fileEntryIdTemplate; - private long _fileEntryIdBase; - private long _fileEntryIdFirma; - private long _fileEntryIdInvio; - private Date _dtCreateFileEntryInvio; - private long _userIdPrimaFirma; - private long _userIdSecondaFirma; - private boolean _firmaInCorso; - private String _transactionIdPrimaFirma; - private String _transactionIdSecondaFirma; - private String _inviato; - private Date _dtInvio; - private boolean _annullato; - private boolean _errore; - private boolean _signal; - private Date _dtInvioSignal; - private boolean _tempistica; - private Date _dtTempistica; - private long _daxId; - private Date _dtInvioDax; - private String _erroreDax; - private Date _dtErroreDax; - private String _jsonParameters; - private String _protocollo; - private String _originalProtocollo; - private boolean _inviatoTecnico; - private long _dettPraticaId; - private long _originalDettPraticaId; - private boolean _setOriginalDettPraticaId; - private long _columnBitmask; - private BoAvviso _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoComuneBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoComuneBaseImpl.java deleted file mode 100644 index 1aa1b834..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoComuneBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.BoComune; -import it.tref.liferay.portos.portosimport.service.BoComuneLocalServiceUtil; - -/** - * The extended model base implementation for the BoComune service. Represents a row in the "gc_comune" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoComuneImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoComuneImpl - * @see it.tref.liferay.portos.portosimport.model.BoComune - * @generated - */ -public abstract class BoComuneBaseImpl extends BoComuneModelImpl - implements BoComune { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo comune model instance should use the {@link BoComune} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoComuneLocalServiceUtil.addBoComune(this); - } - else { - BoComuneLocalServiceUtil.updateBoComune(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoComuneCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoComuneCacheModel.java deleted file mode 100644 index 4c47d457..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoComuneCacheModel.java +++ /dev/null @@ -1,188 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.portosimport.model.BoComune; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing BoComune in entity cache. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoComune - * @generated - */ -public class BoComuneCacheModel implements CacheModel, Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(21); - - sb.append("{comuneId="); - sb.append(comuneId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", provinciaId="); - sb.append(provinciaId); - sb.append(", codIstat="); - sb.append(codIstat); - sb.append(", codCatastale="); - sb.append(codCatastale); - sb.append(", descLong="); - sb.append(descLong); - sb.append("}"); - - return sb.toString(); - } - - @Override - public BoComune toEntityModel() { - BoComuneImpl boComuneImpl = new BoComuneImpl(); - - boComuneImpl.setComuneId(comuneId); - boComuneImpl.setCompanyId(companyId); - boComuneImpl.setUserId(userId); - - if (userName == null) { - boComuneImpl.setUserName(StringPool.BLANK); - } - else { - boComuneImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - boComuneImpl.setCreateDate(null); - } - else { - boComuneImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - boComuneImpl.setModifiedDate(null); - } - else { - boComuneImpl.setModifiedDate(new Date(modifiedDate)); - } - - boComuneImpl.setProvinciaId(provinciaId); - - if (codIstat == null) { - boComuneImpl.setCodIstat(StringPool.BLANK); - } - else { - boComuneImpl.setCodIstat(codIstat); - } - - if (codCatastale == null) { - boComuneImpl.setCodCatastale(StringPool.BLANK); - } - else { - boComuneImpl.setCodCatastale(codCatastale); - } - - if (descLong == null) { - boComuneImpl.setDescLong(StringPool.BLANK); - } - else { - boComuneImpl.setDescLong(descLong); - } - - boComuneImpl.resetOriginalValues(); - - return boComuneImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - comuneId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - provinciaId = objectInput.readLong(); - codIstat = objectInput.readUTF(); - codCatastale = objectInput.readUTF(); - descLong = objectInput.readUTF(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - objectOutput.writeLong(comuneId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeLong(provinciaId); - - if (codIstat == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codIstat); - } - - if (codCatastale == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codCatastale); - } - - if (descLong == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(descLong); - } - } - - public long comuneId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public long provinciaId; - public String codIstat; - public String codCatastale; - public String descLong; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoComuneImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoComuneImpl.java deleted file mode 100644 index 8224dda2..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoComuneImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -/** - * The extended model implementation for the BoComune service. Represents a row in the "gc_comune" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.portosimport.model.BoComune} interface. - *

- * - * @author Davide Barbagallo, 3F Consulting - */ -public class BoComuneImpl extends BoComuneBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a bo comune model instance should use the {@link it.tref.liferay.portos.portosimport.model.BoComune} interface instead. - */ - public BoComuneImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoComuneModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoComuneModelImpl.java deleted file mode 100644 index ba141472..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoComuneModelImpl.java +++ /dev/null @@ -1,628 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.portosimport.model.BoComune; -import it.tref.liferay.portos.portosimport.model.BoComuneModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the BoComune service. Represents a row in the "gc_comune" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.portosimport.model.BoComuneModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoComuneImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoComuneImpl - * @see it.tref.liferay.portos.portosimport.model.BoComune - * @see it.tref.liferay.portos.portosimport.model.BoComuneModel - * @generated - */ -public class BoComuneModelImpl extends BaseModelImpl - implements BoComuneModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo comune model instance should use the {@link it.tref.liferay.portos.portosimport.model.BoComune} interface instead. - */ - public static final String TABLE_NAME = "gc_comune"; - public static final Object[][] TABLE_COLUMNS = { - { "comuneId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "provinciaId", Types.BIGINT }, - { "codIstat", Types.VARCHAR }, - { "codCatastale", Types.VARCHAR }, - { "descLong", Types.VARCHAR } - }; - public static final String TABLE_SQL_CREATE = "create table gc_comune (comuneId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,provinciaId LONG,codIstat VARCHAR(75) null,codCatastale VARCHAR(75) null,descLong VARCHAR(75) null)"; - public static final String TABLE_SQL_DROP = "drop table gc_comune"; - public static final String ORDER_BY_JPQL = " ORDER BY boComune.descLong ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gc_comune.descLong ASC"; - public static final String DATA_SOURCE = "datiPortos1DbDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.portosimport.model.BoComune"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.portosimport.model.BoComune"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.portosimport.model.BoComune"), - true); - public static long CODCATASTALE_COLUMN_BITMASK = 1L; - public static long CODISTAT_COLUMN_BITMASK = 2L; - public static long DESCLONG_COLUMN_BITMASK = 4L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.portosimport.model.BoComune")); - - public BoComuneModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _comuneId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setComuneId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _comuneId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return BoComune.class; - } - - @Override - public String getModelClassName() { - return BoComune.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("comuneId", getComuneId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("provinciaId", getProvinciaId()); - attributes.put("codIstat", getCodIstat()); - attributes.put("codCatastale", getCodCatastale()); - attributes.put("descLong", getDescLong()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long comuneId = (Long)attributes.get("comuneId"); - - if (comuneId != null) { - setComuneId(comuneId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long provinciaId = (Long)attributes.get("provinciaId"); - - if (provinciaId != null) { - setProvinciaId(provinciaId); - } - - String codIstat = (String)attributes.get("codIstat"); - - if (codIstat != null) { - setCodIstat(codIstat); - } - - String codCatastale = (String)attributes.get("codCatastale"); - - if (codCatastale != null) { - setCodCatastale(codCatastale); - } - - String descLong = (String)attributes.get("descLong"); - - if (descLong != null) { - setDescLong(descLong); - } - } - - @Override - public long getComuneId() { - return _comuneId; - } - - @Override - public void setComuneId(long comuneId) { - _comuneId = comuneId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _companyId = companyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public long getProvinciaId() { - return _provinciaId; - } - - @Override - public void setProvinciaId(long provinciaId) { - _provinciaId = provinciaId; - } - - @Override - public String getCodIstat() { - if (_codIstat == null) { - return StringPool.BLANK; - } - else { - return _codIstat; - } - } - - @Override - public void setCodIstat(String codIstat) { - _columnBitmask |= CODISTAT_COLUMN_BITMASK; - - if (_originalCodIstat == null) { - _originalCodIstat = _codIstat; - } - - _codIstat = codIstat; - } - - public String getOriginalCodIstat() { - return GetterUtil.getString(_originalCodIstat); - } - - @Override - public String getCodCatastale() { - if (_codCatastale == null) { - return StringPool.BLANK; - } - else { - return _codCatastale; - } - } - - @Override - public void setCodCatastale(String codCatastale) { - _columnBitmask |= CODCATASTALE_COLUMN_BITMASK; - - if (_originalCodCatastale == null) { - _originalCodCatastale = _codCatastale; - } - - _codCatastale = codCatastale; - } - - public String getOriginalCodCatastale() { - return GetterUtil.getString(_originalCodCatastale); - } - - @Override - public String getDescLong() { - if (_descLong == null) { - return StringPool.BLANK; - } - else { - return _descLong; - } - } - - @Override - public void setDescLong(String descLong) { - _columnBitmask = -1L; - - _descLong = descLong; - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - BoComune.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public BoComune toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (BoComune)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - BoComuneImpl boComuneImpl = new BoComuneImpl(); - - boComuneImpl.setComuneId(getComuneId()); - boComuneImpl.setCompanyId(getCompanyId()); - boComuneImpl.setUserId(getUserId()); - boComuneImpl.setUserName(getUserName()); - boComuneImpl.setCreateDate(getCreateDate()); - boComuneImpl.setModifiedDate(getModifiedDate()); - boComuneImpl.setProvinciaId(getProvinciaId()); - boComuneImpl.setCodIstat(getCodIstat()); - boComuneImpl.setCodCatastale(getCodCatastale()); - boComuneImpl.setDescLong(getDescLong()); - - boComuneImpl.resetOriginalValues(); - - return boComuneImpl; - } - - @Override - public int compareTo(BoComune boComune) { - int value = 0; - - value = getDescLong().compareTo(boComune.getDescLong()); - - if (value != 0) { - return value; - } - - return 0; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoComune)) { - return false; - } - - BoComune boComune = (BoComune)obj; - - long primaryKey = boComune.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - BoComuneModelImpl boComuneModelImpl = this; - - boComuneModelImpl._originalCodIstat = boComuneModelImpl._codIstat; - - boComuneModelImpl._originalCodCatastale = boComuneModelImpl._codCatastale; - - boComuneModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - BoComuneCacheModel boComuneCacheModel = new BoComuneCacheModel(); - - boComuneCacheModel.comuneId = getComuneId(); - - boComuneCacheModel.companyId = getCompanyId(); - - boComuneCacheModel.userId = getUserId(); - - boComuneCacheModel.userName = getUserName(); - - String userName = boComuneCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - boComuneCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - boComuneCacheModel.createDate = createDate.getTime(); - } - else { - boComuneCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - boComuneCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - boComuneCacheModel.modifiedDate = Long.MIN_VALUE; - } - - boComuneCacheModel.provinciaId = getProvinciaId(); - - boComuneCacheModel.codIstat = getCodIstat(); - - String codIstat = boComuneCacheModel.codIstat; - - if ((codIstat != null) && (codIstat.length() == 0)) { - boComuneCacheModel.codIstat = null; - } - - boComuneCacheModel.codCatastale = getCodCatastale(); - - String codCatastale = boComuneCacheModel.codCatastale; - - if ((codCatastale != null) && (codCatastale.length() == 0)) { - boComuneCacheModel.codCatastale = null; - } - - boComuneCacheModel.descLong = getDescLong(); - - String descLong = boComuneCacheModel.descLong; - - if ((descLong != null) && (descLong.length() == 0)) { - boComuneCacheModel.descLong = null; - } - - return boComuneCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(21); - - sb.append("{comuneId="); - sb.append(getComuneId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", provinciaId="); - sb.append(getProvinciaId()); - sb.append(", codIstat="); - sb.append(getCodIstat()); - sb.append(", codCatastale="); - sb.append(getCodCatastale()); - sb.append(", descLong="); - sb.append(getDescLong()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(34); - - sb.append(""); - sb.append("it.tref.liferay.portos.portosimport.model.BoComune"); - sb.append(""); - - sb.append( - "comuneId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "provinciaId"); - sb.append( - "codIstat"); - sb.append( - "codCatastale"); - sb.append( - "descLong"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = BoComune.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - BoComune.class - }; - private long _comuneId; - private long _companyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _provinciaId; - private String _codIstat; - private String _originalCodIstat; - private String _codCatastale; - private String _originalCodCatastale; - private String _descLong; - private long _columnBitmask; - private BoComune _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoDettPraticaBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoDettPraticaBaseImpl.java deleted file mode 100644 index 6adf2df9..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoDettPraticaBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.BoDettPratica; -import it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalServiceUtil; - -/** - * The extended model base implementation for the BoDettPratica service. Represents a row in the "gc_dettpratica" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoDettPraticaImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoDettPraticaImpl - * @see it.tref.liferay.portos.portosimport.model.BoDettPratica - * @generated - */ -public abstract class BoDettPraticaBaseImpl extends BoDettPraticaModelImpl - implements BoDettPratica { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo dett pratica model instance should use the {@link BoDettPratica} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoDettPraticaLocalServiceUtil.addBoDettPratica(this); - } - else { - BoDettPraticaLocalServiceUtil.updateBoDettPratica(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoDettPraticaCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoDettPraticaCacheModel.java deleted file mode 100644 index b5e9e3aa..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoDettPraticaCacheModel.java +++ /dev/null @@ -1,437 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.portosimport.model.BoDettPratica; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing BoDettPratica in entity cache. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoDettPratica - * @generated - */ -public class BoDettPraticaCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(65); - - sb.append("{uuid="); - sb.append(uuid); - sb.append(", dettPraticaId="); - sb.append(dettPraticaId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", intPraticaId="); - sb.append(intPraticaId); - sb.append(", integrazione="); - sb.append(integrazione); - sb.append(", suapCode="); - sb.append(suapCode); - sb.append(", validata="); - sb.append(validata); - sb.append(", codPraticaSuap="); - sb.append(codPraticaSuap); - sb.append(", protocollo="); - sb.append(protocollo); - sb.append(", tipoIntegrazione="); - sb.append(tipoIntegrazione); - sb.append(", completa="); - sb.append(completa); - sb.append(", gestita="); - sb.append(gestita); - sb.append(", codicePagamento="); - sb.append(codicePagamento); - sb.append(", causalePagamento="); - sb.append(causalePagamento); - sb.append(", mezzoPagamento="); - sb.append(mezzoPagamento); - sb.append(", importoBolli="); - sb.append(importoBolli); - sb.append(", importoSpeseIstruttoria="); - sb.append(importoSpeseIstruttoria); - sb.append(", dataEffettuazione="); - sb.append(dataEffettuazione); - sb.append(", esenzioneBolli="); - sb.append(esenzioneBolli); - sb.append(", esenzioneSpeseIstruttoria="); - sb.append(esenzioneSpeseIstruttoria); - sb.append(", status="); - sb.append(status); - sb.append(", statusByUserId="); - sb.append(statusByUserId); - sb.append(", statusByUserName="); - sb.append(statusByUserName); - sb.append(", statusDate="); - sb.append(statusDate); - sb.append(", statusTask="); - sb.append(statusTask); - sb.append(", workflowForzato="); - sb.append(workflowForzato); - sb.append(", soggettoSostituitoId="); - sb.append(soggettoSostituitoId); - sb.append("}"); - - return sb.toString(); - } - - @Override - public BoDettPratica toEntityModel() { - BoDettPraticaImpl boDettPraticaImpl = new BoDettPraticaImpl(); - - if (uuid == null) { - boDettPraticaImpl.setUuid(StringPool.BLANK); - } - else { - boDettPraticaImpl.setUuid(uuid); - } - - boDettPraticaImpl.setDettPraticaId(dettPraticaId); - boDettPraticaImpl.setCompanyId(companyId); - boDettPraticaImpl.setUserId(userId); - - if (userName == null) { - boDettPraticaImpl.setUserName(StringPool.BLANK); - } - else { - boDettPraticaImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - boDettPraticaImpl.setCreateDate(null); - } - else { - boDettPraticaImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - boDettPraticaImpl.setModifiedDate(null); - } - else { - boDettPraticaImpl.setModifiedDate(new Date(modifiedDate)); - } - - boDettPraticaImpl.setGroupId(groupId); - boDettPraticaImpl.setIntPraticaId(intPraticaId); - boDettPraticaImpl.setIntegrazione(integrazione); - - if (suapCode == null) { - boDettPraticaImpl.setSuapCode(StringPool.BLANK); - } - else { - boDettPraticaImpl.setSuapCode(suapCode); - } - - boDettPraticaImpl.setValidata(validata); - - if (codPraticaSuap == null) { - boDettPraticaImpl.setCodPraticaSuap(StringPool.BLANK); - } - else { - boDettPraticaImpl.setCodPraticaSuap(codPraticaSuap); - } - - if (protocollo == null) { - boDettPraticaImpl.setProtocollo(StringPool.BLANK); - } - else { - boDettPraticaImpl.setProtocollo(protocollo); - } - - if (tipoIntegrazione == null) { - boDettPraticaImpl.setTipoIntegrazione(StringPool.BLANK); - } - else { - boDettPraticaImpl.setTipoIntegrazione(tipoIntegrazione); - } - - boDettPraticaImpl.setCompleta(completa); - boDettPraticaImpl.setGestita(gestita); - - if (codicePagamento == null) { - boDettPraticaImpl.setCodicePagamento(StringPool.BLANK); - } - else { - boDettPraticaImpl.setCodicePagamento(codicePagamento); - } - - if (causalePagamento == null) { - boDettPraticaImpl.setCausalePagamento(StringPool.BLANK); - } - else { - boDettPraticaImpl.setCausalePagamento(causalePagamento); - } - - if (mezzoPagamento == null) { - boDettPraticaImpl.setMezzoPagamento(StringPool.BLANK); - } - else { - boDettPraticaImpl.setMezzoPagamento(mezzoPagamento); - } - - if (importoBolli == null) { - boDettPraticaImpl.setImportoBolli(StringPool.BLANK); - } - else { - boDettPraticaImpl.setImportoBolli(importoBolli); - } - - if (importoSpeseIstruttoria == null) { - boDettPraticaImpl.setImportoSpeseIstruttoria(StringPool.BLANK); - } - else { - boDettPraticaImpl.setImportoSpeseIstruttoria(importoSpeseIstruttoria); - } - - if (dataEffettuazione == Long.MIN_VALUE) { - boDettPraticaImpl.setDataEffettuazione(null); - } - else { - boDettPraticaImpl.setDataEffettuazione(new Date(dataEffettuazione)); - } - - boDettPraticaImpl.setEsenzioneBolli(esenzioneBolli); - boDettPraticaImpl.setEsenzioneSpeseIstruttoria(esenzioneSpeseIstruttoria); - boDettPraticaImpl.setStatus(status); - boDettPraticaImpl.setStatusByUserId(statusByUserId); - - if (statusByUserName == null) { - boDettPraticaImpl.setStatusByUserName(StringPool.BLANK); - } - else { - boDettPraticaImpl.setStatusByUserName(statusByUserName); - } - - if (statusDate == Long.MIN_VALUE) { - boDettPraticaImpl.setStatusDate(null); - } - else { - boDettPraticaImpl.setStatusDate(new Date(statusDate)); - } - - boDettPraticaImpl.setStatusTask(statusTask); - boDettPraticaImpl.setWorkflowForzato(workflowForzato); - boDettPraticaImpl.setSoggettoSostituitoId(soggettoSostituitoId); - - boDettPraticaImpl.resetOriginalValues(); - - return boDettPraticaImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - uuid = objectInput.readUTF(); - dettPraticaId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - groupId = objectInput.readLong(); - intPraticaId = objectInput.readLong(); - integrazione = objectInput.readLong(); - suapCode = objectInput.readUTF(); - validata = objectInput.readBoolean(); - codPraticaSuap = objectInput.readUTF(); - protocollo = objectInput.readUTF(); - tipoIntegrazione = objectInput.readUTF(); - completa = objectInput.readBoolean(); - gestita = objectInput.readBoolean(); - codicePagamento = objectInput.readUTF(); - causalePagamento = objectInput.readUTF(); - mezzoPagamento = objectInput.readUTF(); - importoBolli = objectInput.readUTF(); - importoSpeseIstruttoria = objectInput.readUTF(); - dataEffettuazione = objectInput.readLong(); - esenzioneBolli = objectInput.readBoolean(); - esenzioneSpeseIstruttoria = objectInput.readBoolean(); - status = objectInput.readInt(); - statusByUserId = objectInput.readLong(); - statusByUserName = objectInput.readUTF(); - statusDate = objectInput.readLong(); - statusTask = objectInput.readInt(); - workflowForzato = objectInput.readBoolean(); - soggettoSostituitoId = objectInput.readLong(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - if (uuid == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(uuid); - } - - objectOutput.writeLong(dettPraticaId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeLong(groupId); - objectOutput.writeLong(intPraticaId); - objectOutput.writeLong(integrazione); - - if (suapCode == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(suapCode); - } - - objectOutput.writeBoolean(validata); - - if (codPraticaSuap == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codPraticaSuap); - } - - if (protocollo == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(protocollo); - } - - if (tipoIntegrazione == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(tipoIntegrazione); - } - - objectOutput.writeBoolean(completa); - objectOutput.writeBoolean(gestita); - - if (codicePagamento == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codicePagamento); - } - - if (causalePagamento == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(causalePagamento); - } - - if (mezzoPagamento == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(mezzoPagamento); - } - - if (importoBolli == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(importoBolli); - } - - if (importoSpeseIstruttoria == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(importoSpeseIstruttoria); - } - - objectOutput.writeLong(dataEffettuazione); - objectOutput.writeBoolean(esenzioneBolli); - objectOutput.writeBoolean(esenzioneSpeseIstruttoria); - objectOutput.writeInt(status); - objectOutput.writeLong(statusByUserId); - - if (statusByUserName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(statusByUserName); - } - - objectOutput.writeLong(statusDate); - objectOutput.writeInt(statusTask); - objectOutput.writeBoolean(workflowForzato); - objectOutput.writeLong(soggettoSostituitoId); - } - - public String uuid; - public long dettPraticaId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public long groupId; - public long intPraticaId; - public long integrazione; - public String suapCode; - public boolean validata; - public String codPraticaSuap; - public String protocollo; - public String tipoIntegrazione; - public boolean completa; - public boolean gestita; - public String codicePagamento; - public String causalePagamento; - public String mezzoPagamento; - public String importoBolli; - public String importoSpeseIstruttoria; - public long dataEffettuazione; - public boolean esenzioneBolli; - public boolean esenzioneSpeseIstruttoria; - public int status; - public long statusByUserId; - public String statusByUserName; - public long statusDate; - public int statusTask; - public boolean workflowForzato; - public long soggettoSostituitoId; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoDettPraticaImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoDettPraticaImpl.java deleted file mode 100644 index cb328bff..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoDettPraticaImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -/** - * The extended model implementation for the BoDettPratica service. Represents a row in the "gc_dettpratica" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.portosimport.model.BoDettPratica} interface. - *

- * - * @author Davide Barbagallo, 3F Consulting - */ -public class BoDettPraticaImpl extends BoDettPraticaBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a bo dett pratica model instance should use the {@link it.tref.liferay.portos.portosimport.model.BoDettPratica} interface instead. - */ - public BoDettPraticaImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoDettPraticaModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoDettPraticaModelImpl.java deleted file mode 100644 index 18d9f899..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoDettPraticaModelImpl.java +++ /dev/null @@ -1,1661 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.workflow.WorkflowConstants; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.portosimport.model.BoDettPratica; -import it.tref.liferay.portos.portosimport.model.BoDettPraticaModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the BoDettPratica service. Represents a row in the "gc_dettpratica" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.portosimport.model.BoDettPraticaModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoDettPraticaImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoDettPraticaImpl - * @see it.tref.liferay.portos.portosimport.model.BoDettPratica - * @see it.tref.liferay.portos.portosimport.model.BoDettPraticaModel - * @generated - */ -public class BoDettPraticaModelImpl extends BaseModelImpl - implements BoDettPraticaModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo dett pratica model instance should use the {@link it.tref.liferay.portos.portosimport.model.BoDettPratica} interface instead. - */ - public static final String TABLE_NAME = "gc_dettpratica"; - public static final Object[][] TABLE_COLUMNS = { - { "uuid_", Types.VARCHAR }, - { "dettPraticaId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "groupId", Types.BIGINT }, - { "intPraticaId", Types.BIGINT }, - { "integrazione", Types.BIGINT }, - { "suapCode", Types.VARCHAR }, - { "validata", Types.BOOLEAN }, - { "codPraticaSuap", Types.VARCHAR }, - { "protocollo", Types.VARCHAR }, - { "tipoIntegrazione", Types.VARCHAR }, - { "completa", Types.BOOLEAN }, - { "gestita", Types.BOOLEAN }, - { "codicePagamento", Types.VARCHAR }, - { "causalePagamento", Types.VARCHAR }, - { "mezzoPagamento", Types.VARCHAR }, - { "importoBolli", Types.VARCHAR }, - { "importoSpeseIstruttoria", Types.VARCHAR }, - { "dataEffettuazione", Types.TIMESTAMP }, - { "esenzioneBolli", Types.BOOLEAN }, - { "esenzioneSpeseIstruttoria", Types.BOOLEAN }, - { "status", Types.INTEGER }, - { "statusByUserId", Types.BIGINT }, - { "statusByUserName", Types.VARCHAR }, - { "statusDate", Types.TIMESTAMP }, - { "statusTask", Types.INTEGER }, - { "workflowForzato", Types.BOOLEAN }, - { "soggettoSostituitoId", Types.BIGINT } - }; - public static final String TABLE_SQL_CREATE = "create table gc_dettpratica (uuid_ VARCHAR(75) null,dettPraticaId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,intPraticaId LONG,integrazione LONG,suapCode VARCHAR(75) null,validata BOOLEAN,codPraticaSuap VARCHAR(75) null,protocollo VARCHAR(75) null,tipoIntegrazione VARCHAR(75) null,completa BOOLEAN,gestita BOOLEAN,codicePagamento VARCHAR(75) null,causalePagamento VARCHAR(75) null,mezzoPagamento VARCHAR(75) null,importoBolli VARCHAR(75) null,importoSpeseIstruttoria VARCHAR(75) null,dataEffettuazione DATE null,esenzioneBolli BOOLEAN,esenzioneSpeseIstruttoria BOOLEAN,status INTEGER,statusByUserId LONG,statusByUserName VARCHAR(75) null,statusDate DATE null,statusTask INTEGER,workflowForzato BOOLEAN,soggettoSostituitoId LONG)"; - public static final String TABLE_SQL_DROP = "drop table gc_dettpratica"; - public static final String ORDER_BY_JPQL = " ORDER BY boDettPratica.dettPraticaId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gc_dettpratica.dettPraticaId ASC"; - public static final String DATA_SOURCE = "datiPortos1DbDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.portosimport.model.BoDettPratica"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.portosimport.model.BoDettPratica"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.portosimport.model.BoDettPratica"), - true); - public static long CODPRATICASUAP_COLUMN_BITMASK = 1L; - public static long CODICEPAGAMENTO_COLUMN_BITMASK = 2L; - public static long COMPANYID_COLUMN_BITMASK = 4L; - public static long COMPLETA_COLUMN_BITMASK = 8L; - public static long GROUPID_COLUMN_BITMASK = 16L; - public static long INTPRATICAID_COLUMN_BITMASK = 32L; - public static long INTEGRAZIONE_COLUMN_BITMASK = 64L; - public static long PROTOCOLLO_COLUMN_BITMASK = 128L; - public static long SOGGETTOSOSTITUITOID_COLUMN_BITMASK = 256L; - public static long TIPOINTEGRAZIONE_COLUMN_BITMASK = 512L; - public static long UUID_COLUMN_BITMASK = 1024L; - public static long VALIDATA_COLUMN_BITMASK = 2048L; - public static long DETTPRATICAID_COLUMN_BITMASK = 4096L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.portosimport.model.BoDettPratica")); - - public BoDettPraticaModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _dettPraticaId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setDettPraticaId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _dettPraticaId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return BoDettPratica.class; - } - - @Override - public String getModelClassName() { - return BoDettPratica.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("integrazione", getIntegrazione()); - attributes.put("suapCode", getSuapCode()); - attributes.put("validata", getValidata()); - attributes.put("codPraticaSuap", getCodPraticaSuap()); - attributes.put("protocollo", getProtocollo()); - attributes.put("tipoIntegrazione", getTipoIntegrazione()); - attributes.put("completa", getCompleta()); - attributes.put("gestita", getGestita()); - attributes.put("codicePagamento", getCodicePagamento()); - attributes.put("causalePagamento", getCausalePagamento()); - attributes.put("mezzoPagamento", getMezzoPagamento()); - attributes.put("importoBolli", getImportoBolli()); - attributes.put("importoSpeseIstruttoria", getImportoSpeseIstruttoria()); - attributes.put("dataEffettuazione", getDataEffettuazione()); - attributes.put("esenzioneBolli", getEsenzioneBolli()); - attributes.put("esenzioneSpeseIstruttoria", - getEsenzioneSpeseIstruttoria()); - attributes.put("status", getStatus()); - attributes.put("statusByUserId", getStatusByUserId()); - attributes.put("statusByUserName", getStatusByUserName()); - attributes.put("statusDate", getStatusDate()); - attributes.put("statusTask", getStatusTask()); - attributes.put("workflowForzato", getWorkflowForzato()); - attributes.put("soggettoSostituitoId", getSoggettoSostituitoId()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - Long integrazione = (Long)attributes.get("integrazione"); - - if (integrazione != null) { - setIntegrazione(integrazione); - } - - String suapCode = (String)attributes.get("suapCode"); - - if (suapCode != null) { - setSuapCode(suapCode); - } - - Boolean validata = (Boolean)attributes.get("validata"); - - if (validata != null) { - setValidata(validata); - } - - String codPraticaSuap = (String)attributes.get("codPraticaSuap"); - - if (codPraticaSuap != null) { - setCodPraticaSuap(codPraticaSuap); - } - - String protocollo = (String)attributes.get("protocollo"); - - if (protocollo != null) { - setProtocollo(protocollo); - } - - String tipoIntegrazione = (String)attributes.get("tipoIntegrazione"); - - if (tipoIntegrazione != null) { - setTipoIntegrazione(tipoIntegrazione); - } - - Boolean completa = (Boolean)attributes.get("completa"); - - if (completa != null) { - setCompleta(completa); - } - - Boolean gestita = (Boolean)attributes.get("gestita"); - - if (gestita != null) { - setGestita(gestita); - } - - String codicePagamento = (String)attributes.get("codicePagamento"); - - if (codicePagamento != null) { - setCodicePagamento(codicePagamento); - } - - String causalePagamento = (String)attributes.get("causalePagamento"); - - if (causalePagamento != null) { - setCausalePagamento(causalePagamento); - } - - String mezzoPagamento = (String)attributes.get("mezzoPagamento"); - - if (mezzoPagamento != null) { - setMezzoPagamento(mezzoPagamento); - } - - String importoBolli = (String)attributes.get("importoBolli"); - - if (importoBolli != null) { - setImportoBolli(importoBolli); - } - - String importoSpeseIstruttoria = (String)attributes.get( - "importoSpeseIstruttoria"); - - if (importoSpeseIstruttoria != null) { - setImportoSpeseIstruttoria(importoSpeseIstruttoria); - } - - Date dataEffettuazione = (Date)attributes.get("dataEffettuazione"); - - if (dataEffettuazione != null) { - setDataEffettuazione(dataEffettuazione); - } - - Boolean esenzioneBolli = (Boolean)attributes.get("esenzioneBolli"); - - if (esenzioneBolli != null) { - setEsenzioneBolli(esenzioneBolli); - } - - Boolean esenzioneSpeseIstruttoria = (Boolean)attributes.get( - "esenzioneSpeseIstruttoria"); - - if (esenzioneSpeseIstruttoria != null) { - setEsenzioneSpeseIstruttoria(esenzioneSpeseIstruttoria); - } - - Integer status = (Integer)attributes.get("status"); - - if (status != null) { - setStatus(status); - } - - Long statusByUserId = (Long)attributes.get("statusByUserId"); - - if (statusByUserId != null) { - setStatusByUserId(statusByUserId); - } - - String statusByUserName = (String)attributes.get("statusByUserName"); - - if (statusByUserName != null) { - setStatusByUserName(statusByUserName); - } - - Date statusDate = (Date)attributes.get("statusDate"); - - if (statusDate != null) { - setStatusDate(statusDate); - } - - Integer statusTask = (Integer)attributes.get("statusTask"); - - if (statusTask != null) { - setStatusTask(statusTask); - } - - Boolean workflowForzato = (Boolean)attributes.get("workflowForzato"); - - if (workflowForzato != null) { - setWorkflowForzato(workflowForzato); - } - - Long soggettoSostituitoId = (Long)attributes.get("soggettoSostituitoId"); - - if (soggettoSostituitoId != null) { - setSoggettoSostituitoId(soggettoSostituitoId); - } - } - - @Override - public String getUuid() { - if (_uuid == null) { - return StringPool.BLANK; - } - else { - return _uuid; - } - } - - @Override - public void setUuid(String uuid) { - if (_originalUuid == null) { - _originalUuid = _uuid; - } - - _uuid = uuid; - } - - public String getOriginalUuid() { - return GetterUtil.getString(_originalUuid); - } - - @Override - public long getDettPraticaId() { - return _dettPraticaId; - } - - @Override - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _columnBitmask |= COMPANYID_COLUMN_BITMASK; - - if (!_setOriginalCompanyId) { - _setOriginalCompanyId = true; - - _originalCompanyId = _companyId; - } - - _companyId = companyId; - } - - public long getOriginalCompanyId() { - return _originalCompanyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _columnBitmask |= GROUPID_COLUMN_BITMASK; - - if (!_setOriginalGroupId) { - _setOriginalGroupId = true; - - _originalGroupId = _groupId; - } - - _groupId = groupId; - } - - public long getOriginalGroupId() { - return _originalGroupId; - } - - @Override - public long getIntPraticaId() { - return _intPraticaId; - } - - @Override - public void setIntPraticaId(long intPraticaId) { - _columnBitmask |= INTPRATICAID_COLUMN_BITMASK; - - if (!_setOriginalIntPraticaId) { - _setOriginalIntPraticaId = true; - - _originalIntPraticaId = _intPraticaId; - } - - _intPraticaId = intPraticaId; - } - - public long getOriginalIntPraticaId() { - return _originalIntPraticaId; - } - - @Override - public long getIntegrazione() { - return _integrazione; - } - - @Override - public void setIntegrazione(long integrazione) { - _columnBitmask |= INTEGRAZIONE_COLUMN_BITMASK; - - if (!_setOriginalIntegrazione) { - _setOriginalIntegrazione = true; - - _originalIntegrazione = _integrazione; - } - - _integrazione = integrazione; - } - - public long getOriginalIntegrazione() { - return _originalIntegrazione; - } - - @Override - public String getSuapCode() { - if (_suapCode == null) { - return StringPool.BLANK; - } - else { - return _suapCode; - } - } - - @Override - public void setSuapCode(String suapCode) { - _suapCode = suapCode; - } - - @Override - public boolean getValidata() { - return _validata; - } - - @Override - public boolean isValidata() { - return _validata; - } - - @Override - public void setValidata(boolean validata) { - _columnBitmask |= VALIDATA_COLUMN_BITMASK; - - if (!_setOriginalValidata) { - _setOriginalValidata = true; - - _originalValidata = _validata; - } - - _validata = validata; - } - - public boolean getOriginalValidata() { - return _originalValidata; - } - - @Override - public String getCodPraticaSuap() { - if (_codPraticaSuap == null) { - return StringPool.BLANK; - } - else { - return _codPraticaSuap; - } - } - - @Override - public void setCodPraticaSuap(String codPraticaSuap) { - _columnBitmask |= CODPRATICASUAP_COLUMN_BITMASK; - - if (_originalCodPraticaSuap == null) { - _originalCodPraticaSuap = _codPraticaSuap; - } - - _codPraticaSuap = codPraticaSuap; - } - - public String getOriginalCodPraticaSuap() { - return GetterUtil.getString(_originalCodPraticaSuap); - } - - @Override - public String getProtocollo() { - if (_protocollo == null) { - return StringPool.BLANK; - } - else { - return _protocollo; - } - } - - @Override - public void setProtocollo(String protocollo) { - _columnBitmask |= PROTOCOLLO_COLUMN_BITMASK; - - if (_originalProtocollo == null) { - _originalProtocollo = _protocollo; - } - - _protocollo = protocollo; - } - - public String getOriginalProtocollo() { - return GetterUtil.getString(_originalProtocollo); - } - - @Override - public String getTipoIntegrazione() { - if (_tipoIntegrazione == null) { - return StringPool.BLANK; - } - else { - return _tipoIntegrazione; - } - } - - @Override - public void setTipoIntegrazione(String tipoIntegrazione) { - _columnBitmask |= TIPOINTEGRAZIONE_COLUMN_BITMASK; - - if (_originalTipoIntegrazione == null) { - _originalTipoIntegrazione = _tipoIntegrazione; - } - - _tipoIntegrazione = tipoIntegrazione; - } - - public String getOriginalTipoIntegrazione() { - return GetterUtil.getString(_originalTipoIntegrazione); - } - - @Override - public boolean getCompleta() { - return _completa; - } - - @Override - public boolean isCompleta() { - return _completa; - } - - @Override - public void setCompleta(boolean completa) { - _columnBitmask |= COMPLETA_COLUMN_BITMASK; - - if (!_setOriginalCompleta) { - _setOriginalCompleta = true; - - _originalCompleta = _completa; - } - - _completa = completa; - } - - public boolean getOriginalCompleta() { - return _originalCompleta; - } - - @Override - public boolean getGestita() { - return _gestita; - } - - @Override - public boolean isGestita() { - return _gestita; - } - - @Override - public void setGestita(boolean gestita) { - _gestita = gestita; - } - - @Override - public String getCodicePagamento() { - if (_codicePagamento == null) { - return StringPool.BLANK; - } - else { - return _codicePagamento; - } - } - - @Override - public void setCodicePagamento(String codicePagamento) { - _columnBitmask |= CODICEPAGAMENTO_COLUMN_BITMASK; - - if (_originalCodicePagamento == null) { - _originalCodicePagamento = _codicePagamento; - } - - _codicePagamento = codicePagamento; - } - - public String getOriginalCodicePagamento() { - return GetterUtil.getString(_originalCodicePagamento); - } - - @Override - public String getCausalePagamento() { - if (_causalePagamento == null) { - return StringPool.BLANK; - } - else { - return _causalePagamento; - } - } - - @Override - public void setCausalePagamento(String causalePagamento) { - _causalePagamento = causalePagamento; - } - - @Override - public String getMezzoPagamento() { - if (_mezzoPagamento == null) { - return StringPool.BLANK; - } - else { - return _mezzoPagamento; - } - } - - @Override - public void setMezzoPagamento(String mezzoPagamento) { - _mezzoPagamento = mezzoPagamento; - } - - @Override - public String getImportoBolli() { - if (_importoBolli == null) { - return StringPool.BLANK; - } - else { - return _importoBolli; - } - } - - @Override - public void setImportoBolli(String importoBolli) { - _importoBolli = importoBolli; - } - - @Override - public String getImportoSpeseIstruttoria() { - if (_importoSpeseIstruttoria == null) { - return StringPool.BLANK; - } - else { - return _importoSpeseIstruttoria; - } - } - - @Override - public void setImportoSpeseIstruttoria(String importoSpeseIstruttoria) { - _importoSpeseIstruttoria = importoSpeseIstruttoria; - } - - @Override - public Date getDataEffettuazione() { - return _dataEffettuazione; - } - - @Override - public void setDataEffettuazione(Date dataEffettuazione) { - _dataEffettuazione = dataEffettuazione; - } - - @Override - public boolean getEsenzioneBolli() { - return _esenzioneBolli; - } - - @Override - public boolean isEsenzioneBolli() { - return _esenzioneBolli; - } - - @Override - public void setEsenzioneBolli(boolean esenzioneBolli) { - _esenzioneBolli = esenzioneBolli; - } - - @Override - public boolean getEsenzioneSpeseIstruttoria() { - return _esenzioneSpeseIstruttoria; - } - - @Override - public boolean isEsenzioneSpeseIstruttoria() { - return _esenzioneSpeseIstruttoria; - } - - @Override - public void setEsenzioneSpeseIstruttoria(boolean esenzioneSpeseIstruttoria) { - _esenzioneSpeseIstruttoria = esenzioneSpeseIstruttoria; - } - - @Override - public int getStatus() { - return _status; - } - - @Override - public void setStatus(int status) { - _status = status; - } - - @Override - public long getStatusByUserId() { - return _statusByUserId; - } - - @Override - public void setStatusByUserId(long statusByUserId) { - _statusByUserId = statusByUserId; - } - - @Override - public String getStatusByUserUuid() throws SystemException { - return PortalUtil.getUserValue(getStatusByUserId(), "uuid", - _statusByUserUuid); - } - - @Override - public void setStatusByUserUuid(String statusByUserUuid) { - _statusByUserUuid = statusByUserUuid; - } - - @Override - public String getStatusByUserName() { - if (_statusByUserName == null) { - return StringPool.BLANK; - } - else { - return _statusByUserName; - } - } - - @Override - public void setStatusByUserName(String statusByUserName) { - _statusByUserName = statusByUserName; - } - - @Override - public Date getStatusDate() { - return _statusDate; - } - - @Override - public void setStatusDate(Date statusDate) { - _statusDate = statusDate; - } - - @Override - public int getStatusTask() { - return _statusTask; - } - - @Override - public void setStatusTask(int statusTask) { - _statusTask = statusTask; - } - - @Override - public boolean getWorkflowForzato() { - return _workflowForzato; - } - - @Override - public boolean isWorkflowForzato() { - return _workflowForzato; - } - - @Override - public void setWorkflowForzato(boolean workflowForzato) { - _workflowForzato = workflowForzato; - } - - @Override - public long getSoggettoSostituitoId() { - return _soggettoSostituitoId; - } - - @Override - public void setSoggettoSostituitoId(long soggettoSostituitoId) { - _columnBitmask |= SOGGETTOSOSTITUITOID_COLUMN_BITMASK; - - if (!_setOriginalSoggettoSostituitoId) { - _setOriginalSoggettoSostituitoId = true; - - _originalSoggettoSostituitoId = _soggettoSostituitoId; - } - - _soggettoSostituitoId = soggettoSostituitoId; - } - - public long getOriginalSoggettoSostituitoId() { - return _originalSoggettoSostituitoId; - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoDettPratica.class.getName())); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #isApproved} - */ - @Override - public boolean getApproved() { - return isApproved(); - } - - @Override - public boolean isApproved() { - if (getStatus() == WorkflowConstants.STATUS_APPROVED) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isDenied() { - if (getStatus() == WorkflowConstants.STATUS_DENIED) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isDraft() { - if (getStatus() == WorkflowConstants.STATUS_DRAFT) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isExpired() { - if (getStatus() == WorkflowConstants.STATUS_EXPIRED) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isInactive() { - if (getStatus() == WorkflowConstants.STATUS_INACTIVE) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isIncomplete() { - if (getStatus() == WorkflowConstants.STATUS_INCOMPLETE) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isPending() { - if (getStatus() == WorkflowConstants.STATUS_PENDING) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isScheduled() { - if (getStatus() == WorkflowConstants.STATUS_SCHEDULED) { - return true; - } - else { - return false; - } - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - BoDettPratica.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public BoDettPratica toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (BoDettPratica)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - BoDettPraticaImpl boDettPraticaImpl = new BoDettPraticaImpl(); - - boDettPraticaImpl.setUuid(getUuid()); - boDettPraticaImpl.setDettPraticaId(getDettPraticaId()); - boDettPraticaImpl.setCompanyId(getCompanyId()); - boDettPraticaImpl.setUserId(getUserId()); - boDettPraticaImpl.setUserName(getUserName()); - boDettPraticaImpl.setCreateDate(getCreateDate()); - boDettPraticaImpl.setModifiedDate(getModifiedDate()); - boDettPraticaImpl.setGroupId(getGroupId()); - boDettPraticaImpl.setIntPraticaId(getIntPraticaId()); - boDettPraticaImpl.setIntegrazione(getIntegrazione()); - boDettPraticaImpl.setSuapCode(getSuapCode()); - boDettPraticaImpl.setValidata(getValidata()); - boDettPraticaImpl.setCodPraticaSuap(getCodPraticaSuap()); - boDettPraticaImpl.setProtocollo(getProtocollo()); - boDettPraticaImpl.setTipoIntegrazione(getTipoIntegrazione()); - boDettPraticaImpl.setCompleta(getCompleta()); - boDettPraticaImpl.setGestita(getGestita()); - boDettPraticaImpl.setCodicePagamento(getCodicePagamento()); - boDettPraticaImpl.setCausalePagamento(getCausalePagamento()); - boDettPraticaImpl.setMezzoPagamento(getMezzoPagamento()); - boDettPraticaImpl.setImportoBolli(getImportoBolli()); - boDettPraticaImpl.setImportoSpeseIstruttoria(getImportoSpeseIstruttoria()); - boDettPraticaImpl.setDataEffettuazione(getDataEffettuazione()); - boDettPraticaImpl.setEsenzioneBolli(getEsenzioneBolli()); - boDettPraticaImpl.setEsenzioneSpeseIstruttoria(getEsenzioneSpeseIstruttoria()); - boDettPraticaImpl.setStatus(getStatus()); - boDettPraticaImpl.setStatusByUserId(getStatusByUserId()); - boDettPraticaImpl.setStatusByUserName(getStatusByUserName()); - boDettPraticaImpl.setStatusDate(getStatusDate()); - boDettPraticaImpl.setStatusTask(getStatusTask()); - boDettPraticaImpl.setWorkflowForzato(getWorkflowForzato()); - boDettPraticaImpl.setSoggettoSostituitoId(getSoggettoSostituitoId()); - - boDettPraticaImpl.resetOriginalValues(); - - return boDettPraticaImpl; - } - - @Override - public int compareTo(BoDettPratica boDettPratica) { - long primaryKey = boDettPratica.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoDettPratica)) { - return false; - } - - BoDettPratica boDettPratica = (BoDettPratica)obj; - - long primaryKey = boDettPratica.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - BoDettPraticaModelImpl boDettPraticaModelImpl = this; - - boDettPraticaModelImpl._originalUuid = boDettPraticaModelImpl._uuid; - - boDettPraticaModelImpl._originalCompanyId = boDettPraticaModelImpl._companyId; - - boDettPraticaModelImpl._setOriginalCompanyId = false; - - boDettPraticaModelImpl._originalGroupId = boDettPraticaModelImpl._groupId; - - boDettPraticaModelImpl._setOriginalGroupId = false; - - boDettPraticaModelImpl._originalIntPraticaId = boDettPraticaModelImpl._intPraticaId; - - boDettPraticaModelImpl._setOriginalIntPraticaId = false; - - boDettPraticaModelImpl._originalIntegrazione = boDettPraticaModelImpl._integrazione; - - boDettPraticaModelImpl._setOriginalIntegrazione = false; - - boDettPraticaModelImpl._originalValidata = boDettPraticaModelImpl._validata; - - boDettPraticaModelImpl._setOriginalValidata = false; - - boDettPraticaModelImpl._originalCodPraticaSuap = boDettPraticaModelImpl._codPraticaSuap; - - boDettPraticaModelImpl._originalProtocollo = boDettPraticaModelImpl._protocollo; - - boDettPraticaModelImpl._originalTipoIntegrazione = boDettPraticaModelImpl._tipoIntegrazione; - - boDettPraticaModelImpl._originalCompleta = boDettPraticaModelImpl._completa; - - boDettPraticaModelImpl._setOriginalCompleta = false; - - boDettPraticaModelImpl._originalCodicePagamento = boDettPraticaModelImpl._codicePagamento; - - boDettPraticaModelImpl._originalSoggettoSostituitoId = boDettPraticaModelImpl._soggettoSostituitoId; - - boDettPraticaModelImpl._setOriginalSoggettoSostituitoId = false; - - boDettPraticaModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - BoDettPraticaCacheModel boDettPraticaCacheModel = new BoDettPraticaCacheModel(); - - boDettPraticaCacheModel.uuid = getUuid(); - - String uuid = boDettPraticaCacheModel.uuid; - - if ((uuid != null) && (uuid.length() == 0)) { - boDettPraticaCacheModel.uuid = null; - } - - boDettPraticaCacheModel.dettPraticaId = getDettPraticaId(); - - boDettPraticaCacheModel.companyId = getCompanyId(); - - boDettPraticaCacheModel.userId = getUserId(); - - boDettPraticaCacheModel.userName = getUserName(); - - String userName = boDettPraticaCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - boDettPraticaCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - boDettPraticaCacheModel.createDate = createDate.getTime(); - } - else { - boDettPraticaCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - boDettPraticaCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - boDettPraticaCacheModel.modifiedDate = Long.MIN_VALUE; - } - - boDettPraticaCacheModel.groupId = getGroupId(); - - boDettPraticaCacheModel.intPraticaId = getIntPraticaId(); - - boDettPraticaCacheModel.integrazione = getIntegrazione(); - - boDettPraticaCacheModel.suapCode = getSuapCode(); - - String suapCode = boDettPraticaCacheModel.suapCode; - - if ((suapCode != null) && (suapCode.length() == 0)) { - boDettPraticaCacheModel.suapCode = null; - } - - boDettPraticaCacheModel.validata = getValidata(); - - boDettPraticaCacheModel.codPraticaSuap = getCodPraticaSuap(); - - String codPraticaSuap = boDettPraticaCacheModel.codPraticaSuap; - - if ((codPraticaSuap != null) && (codPraticaSuap.length() == 0)) { - boDettPraticaCacheModel.codPraticaSuap = null; - } - - boDettPraticaCacheModel.protocollo = getProtocollo(); - - String protocollo = boDettPraticaCacheModel.protocollo; - - if ((protocollo != null) && (protocollo.length() == 0)) { - boDettPraticaCacheModel.protocollo = null; - } - - boDettPraticaCacheModel.tipoIntegrazione = getTipoIntegrazione(); - - String tipoIntegrazione = boDettPraticaCacheModel.tipoIntegrazione; - - if ((tipoIntegrazione != null) && (tipoIntegrazione.length() == 0)) { - boDettPraticaCacheModel.tipoIntegrazione = null; - } - - boDettPraticaCacheModel.completa = getCompleta(); - - boDettPraticaCacheModel.gestita = getGestita(); - - boDettPraticaCacheModel.codicePagamento = getCodicePagamento(); - - String codicePagamento = boDettPraticaCacheModel.codicePagamento; - - if ((codicePagamento != null) && (codicePagamento.length() == 0)) { - boDettPraticaCacheModel.codicePagamento = null; - } - - boDettPraticaCacheModel.causalePagamento = getCausalePagamento(); - - String causalePagamento = boDettPraticaCacheModel.causalePagamento; - - if ((causalePagamento != null) && (causalePagamento.length() == 0)) { - boDettPraticaCacheModel.causalePagamento = null; - } - - boDettPraticaCacheModel.mezzoPagamento = getMezzoPagamento(); - - String mezzoPagamento = boDettPraticaCacheModel.mezzoPagamento; - - if ((mezzoPagamento != null) && (mezzoPagamento.length() == 0)) { - boDettPraticaCacheModel.mezzoPagamento = null; - } - - boDettPraticaCacheModel.importoBolli = getImportoBolli(); - - String importoBolli = boDettPraticaCacheModel.importoBolli; - - if ((importoBolli != null) && (importoBolli.length() == 0)) { - boDettPraticaCacheModel.importoBolli = null; - } - - boDettPraticaCacheModel.importoSpeseIstruttoria = getImportoSpeseIstruttoria(); - - String importoSpeseIstruttoria = boDettPraticaCacheModel.importoSpeseIstruttoria; - - if ((importoSpeseIstruttoria != null) && - (importoSpeseIstruttoria.length() == 0)) { - boDettPraticaCacheModel.importoSpeseIstruttoria = null; - } - - Date dataEffettuazione = getDataEffettuazione(); - - if (dataEffettuazione != null) { - boDettPraticaCacheModel.dataEffettuazione = dataEffettuazione.getTime(); - } - else { - boDettPraticaCacheModel.dataEffettuazione = Long.MIN_VALUE; - } - - boDettPraticaCacheModel.esenzioneBolli = getEsenzioneBolli(); - - boDettPraticaCacheModel.esenzioneSpeseIstruttoria = getEsenzioneSpeseIstruttoria(); - - boDettPraticaCacheModel.status = getStatus(); - - boDettPraticaCacheModel.statusByUserId = getStatusByUserId(); - - boDettPraticaCacheModel.statusByUserName = getStatusByUserName(); - - String statusByUserName = boDettPraticaCacheModel.statusByUserName; - - if ((statusByUserName != null) && (statusByUserName.length() == 0)) { - boDettPraticaCacheModel.statusByUserName = null; - } - - Date statusDate = getStatusDate(); - - if (statusDate != null) { - boDettPraticaCacheModel.statusDate = statusDate.getTime(); - } - else { - boDettPraticaCacheModel.statusDate = Long.MIN_VALUE; - } - - boDettPraticaCacheModel.statusTask = getStatusTask(); - - boDettPraticaCacheModel.workflowForzato = getWorkflowForzato(); - - boDettPraticaCacheModel.soggettoSostituitoId = getSoggettoSostituitoId(); - - return boDettPraticaCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(65); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", dettPraticaId="); - sb.append(getDettPraticaId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", intPraticaId="); - sb.append(getIntPraticaId()); - sb.append(", integrazione="); - sb.append(getIntegrazione()); - sb.append(", suapCode="); - sb.append(getSuapCode()); - sb.append(", validata="); - sb.append(getValidata()); - sb.append(", codPraticaSuap="); - sb.append(getCodPraticaSuap()); - sb.append(", protocollo="); - sb.append(getProtocollo()); - sb.append(", tipoIntegrazione="); - sb.append(getTipoIntegrazione()); - sb.append(", completa="); - sb.append(getCompleta()); - sb.append(", gestita="); - sb.append(getGestita()); - sb.append(", codicePagamento="); - sb.append(getCodicePagamento()); - sb.append(", causalePagamento="); - sb.append(getCausalePagamento()); - sb.append(", mezzoPagamento="); - sb.append(getMezzoPagamento()); - sb.append(", importoBolli="); - sb.append(getImportoBolli()); - sb.append(", importoSpeseIstruttoria="); - sb.append(getImportoSpeseIstruttoria()); - sb.append(", dataEffettuazione="); - sb.append(getDataEffettuazione()); - sb.append(", esenzioneBolli="); - sb.append(getEsenzioneBolli()); - sb.append(", esenzioneSpeseIstruttoria="); - sb.append(getEsenzioneSpeseIstruttoria()); - sb.append(", status="); - sb.append(getStatus()); - sb.append(", statusByUserId="); - sb.append(getStatusByUserId()); - sb.append(", statusByUserName="); - sb.append(getStatusByUserName()); - sb.append(", statusDate="); - sb.append(getStatusDate()); - sb.append(", statusTask="); - sb.append(getStatusTask()); - sb.append(", workflowForzato="); - sb.append(getWorkflowForzato()); - sb.append(", soggettoSostituitoId="); - sb.append(getSoggettoSostituitoId()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(100); - - sb.append(""); - sb.append("it.tref.liferay.portos.portosimport.model.BoDettPratica"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "dettPraticaId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "intPraticaId"); - sb.append( - "integrazione"); - sb.append( - "suapCode"); - sb.append( - "validata"); - sb.append( - "codPraticaSuap"); - sb.append( - "protocollo"); - sb.append( - "tipoIntegrazione"); - sb.append( - "completa"); - sb.append( - "gestita"); - sb.append( - "codicePagamento"); - sb.append( - "causalePagamento"); - sb.append( - "mezzoPagamento"); - sb.append( - "importoBolli"); - sb.append( - "importoSpeseIstruttoria"); - sb.append( - "dataEffettuazione"); - sb.append( - "esenzioneBolli"); - sb.append( - "esenzioneSpeseIstruttoria"); - sb.append( - "status"); - sb.append( - "statusByUserId"); - sb.append( - "statusByUserName"); - sb.append( - "statusDate"); - sb.append( - "statusTask"); - sb.append( - "workflowForzato"); - sb.append( - "soggettoSostituitoId"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = BoDettPratica.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - BoDettPratica.class - }; - private String _uuid; - private String _originalUuid; - private long _dettPraticaId; - private long _companyId; - private long _originalCompanyId; - private boolean _setOriginalCompanyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _originalGroupId; - private boolean _setOriginalGroupId; - private long _intPraticaId; - private long _originalIntPraticaId; - private boolean _setOriginalIntPraticaId; - private long _integrazione; - private long _originalIntegrazione; - private boolean _setOriginalIntegrazione; - private String _suapCode; - private boolean _validata; - private boolean _originalValidata; - private boolean _setOriginalValidata; - private String _codPraticaSuap; - private String _originalCodPraticaSuap; - private String _protocollo; - private String _originalProtocollo; - private String _tipoIntegrazione; - private String _originalTipoIntegrazione; - private boolean _completa; - private boolean _originalCompleta; - private boolean _setOriginalCompleta; - private boolean _gestita; - private String _codicePagamento; - private String _originalCodicePagamento; - private String _causalePagamento; - private String _mezzoPagamento; - private String _importoBolli; - private String _importoSpeseIstruttoria; - private Date _dataEffettuazione; - private boolean _esenzioneBolli; - private boolean _esenzioneSpeseIstruttoria; - private int _status; - private long _statusByUserId; - private String _statusByUserUuid; - private String _statusByUserName; - private Date _statusDate; - private int _statusTask; - private boolean _workflowForzato; - private long _soggettoSostituitoId; - private long _originalSoggettoSostituitoId; - private boolean _setOriginalSoggettoSostituitoId; - private long _columnBitmask; - private BoDettPratica _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoDocPraticaBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoDocPraticaBaseImpl.java deleted file mode 100644 index 7789cdec..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoDocPraticaBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.BoDocPratica; -import it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalServiceUtil; - -/** - * The extended model base implementation for the BoDocPratica service. Represents a row in the "gc_docpratica" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoDocPraticaImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoDocPraticaImpl - * @see it.tref.liferay.portos.portosimport.model.BoDocPratica - * @generated - */ -public abstract class BoDocPraticaBaseImpl extends BoDocPraticaModelImpl - implements BoDocPratica { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo doc pratica model instance should use the {@link BoDocPratica} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoDocPraticaLocalServiceUtil.addBoDocPratica(this); - } - else { - BoDocPraticaLocalServiceUtil.updateBoDocPratica(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoDocPraticaCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoDocPraticaCacheModel.java deleted file mode 100644 index 5bb16c1c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoDocPraticaCacheModel.java +++ /dev/null @@ -1,340 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.portosimport.model.BoDocPratica; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing BoDocPratica in entity cache. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoDocPratica - * @generated - */ -public class BoDocPraticaCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(45); - - sb.append("{uuid="); - sb.append(uuid); - sb.append(", docPraticaId="); - sb.append(docPraticaId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", dettPraticaId="); - sb.append(dettPraticaId); - sb.append(", dlFileEntryId="); - sb.append(dlFileEntryId); - sb.append(", version="); - sb.append(version); - sb.append(", praticaValidata="); - sb.append(praticaValidata); - sb.append(", descLong="); - sb.append(descLong); - sb.append(", codFileSuap="); - sb.append(codFileSuap); - sb.append(", tipologia="); - sb.append(tipologia); - sb.append(", md5="); - sb.append(md5); - sb.append(", aggiornato="); - sb.append(aggiornato); - sb.append(", jsonFirmatari="); - sb.append(jsonFirmatari); - sb.append(", daxId="); - sb.append(daxId); - sb.append(", dtInvioDax="); - sb.append(dtInvioDax); - sb.append(", erroreDax="); - sb.append(erroreDax); - sb.append(", dtErroreDax="); - sb.append(dtErroreDax); - sb.append("}"); - - return sb.toString(); - } - - @Override - public BoDocPratica toEntityModel() { - BoDocPraticaImpl boDocPraticaImpl = new BoDocPraticaImpl(); - - if (uuid == null) { - boDocPraticaImpl.setUuid(StringPool.BLANK); - } - else { - boDocPraticaImpl.setUuid(uuid); - } - - boDocPraticaImpl.setDocPraticaId(docPraticaId); - boDocPraticaImpl.setCompanyId(companyId); - boDocPraticaImpl.setUserId(userId); - - if (userName == null) { - boDocPraticaImpl.setUserName(StringPool.BLANK); - } - else { - boDocPraticaImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - boDocPraticaImpl.setCreateDate(null); - } - else { - boDocPraticaImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - boDocPraticaImpl.setModifiedDate(null); - } - else { - boDocPraticaImpl.setModifiedDate(new Date(modifiedDate)); - } - - boDocPraticaImpl.setGroupId(groupId); - boDocPraticaImpl.setDettPraticaId(dettPraticaId); - boDocPraticaImpl.setDlFileEntryId(dlFileEntryId); - - if (version == null) { - boDocPraticaImpl.setVersion(StringPool.BLANK); - } - else { - boDocPraticaImpl.setVersion(version); - } - - boDocPraticaImpl.setPraticaValidata(praticaValidata); - - if (descLong == null) { - boDocPraticaImpl.setDescLong(StringPool.BLANK); - } - else { - boDocPraticaImpl.setDescLong(descLong); - } - - if (codFileSuap == null) { - boDocPraticaImpl.setCodFileSuap(StringPool.BLANK); - } - else { - boDocPraticaImpl.setCodFileSuap(codFileSuap); - } - - if (tipologia == null) { - boDocPraticaImpl.setTipologia(StringPool.BLANK); - } - else { - boDocPraticaImpl.setTipologia(tipologia); - } - - if (md5 == null) { - boDocPraticaImpl.setMd5(StringPool.BLANK); - } - else { - boDocPraticaImpl.setMd5(md5); - } - - boDocPraticaImpl.setAggiornato(aggiornato); - - if (jsonFirmatari == null) { - boDocPraticaImpl.setJsonFirmatari(StringPool.BLANK); - } - else { - boDocPraticaImpl.setJsonFirmatari(jsonFirmatari); - } - - boDocPraticaImpl.setDaxId(daxId); - - if (dtInvioDax == Long.MIN_VALUE) { - boDocPraticaImpl.setDtInvioDax(null); - } - else { - boDocPraticaImpl.setDtInvioDax(new Date(dtInvioDax)); - } - - if (erroreDax == null) { - boDocPraticaImpl.setErroreDax(StringPool.BLANK); - } - else { - boDocPraticaImpl.setErroreDax(erroreDax); - } - - if (dtErroreDax == Long.MIN_VALUE) { - boDocPraticaImpl.setDtErroreDax(null); - } - else { - boDocPraticaImpl.setDtErroreDax(new Date(dtErroreDax)); - } - - boDocPraticaImpl.resetOriginalValues(); - - return boDocPraticaImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - uuid = objectInput.readUTF(); - docPraticaId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - groupId = objectInput.readLong(); - dettPraticaId = objectInput.readLong(); - dlFileEntryId = objectInput.readLong(); - version = objectInput.readUTF(); - praticaValidata = objectInput.readBoolean(); - descLong = objectInput.readUTF(); - codFileSuap = objectInput.readUTF(); - tipologia = objectInput.readUTF(); - md5 = objectInput.readUTF(); - aggiornato = objectInput.readBoolean(); - jsonFirmatari = objectInput.readUTF(); - daxId = objectInput.readLong(); - dtInvioDax = objectInput.readLong(); - erroreDax = objectInput.readUTF(); - dtErroreDax = objectInput.readLong(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - if (uuid == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(uuid); - } - - objectOutput.writeLong(docPraticaId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeLong(groupId); - objectOutput.writeLong(dettPraticaId); - objectOutput.writeLong(dlFileEntryId); - - if (version == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(version); - } - - objectOutput.writeBoolean(praticaValidata); - - if (descLong == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(descLong); - } - - if (codFileSuap == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codFileSuap); - } - - if (tipologia == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(tipologia); - } - - if (md5 == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(md5); - } - - objectOutput.writeBoolean(aggiornato); - - if (jsonFirmatari == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(jsonFirmatari); - } - - objectOutput.writeLong(daxId); - objectOutput.writeLong(dtInvioDax); - - if (erroreDax == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(erroreDax); - } - - objectOutput.writeLong(dtErroreDax); - } - - public String uuid; - public long docPraticaId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public long groupId; - public long dettPraticaId; - public long dlFileEntryId; - public String version; - public boolean praticaValidata; - public String descLong; - public String codFileSuap; - public String tipologia; - public String md5; - public boolean aggiornato; - public String jsonFirmatari; - public long daxId; - public long dtInvioDax; - public String erroreDax; - public long dtErroreDax; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoDocPraticaImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoDocPraticaImpl.java deleted file mode 100644 index d620da71..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoDocPraticaImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -/** - * The extended model implementation for the BoDocPratica service. Represents a row in the "gc_docpratica" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.portosimport.model.BoDocPratica} interface. - *

- * - * @author Davide Barbagallo, 3F Consulting - */ -public class BoDocPraticaImpl extends BoDocPraticaBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a bo doc pratica model instance should use the {@link it.tref.liferay.portos.portosimport.model.BoDocPratica} interface instead. - */ - public BoDocPraticaImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoDocPraticaModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoDocPraticaModelImpl.java deleted file mode 100644 index 36f772a2..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoDocPraticaModelImpl.java +++ /dev/null @@ -1,1152 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.portosimport.model.BoDocPratica; -import it.tref.liferay.portos.portosimport.model.BoDocPraticaModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the BoDocPratica service. Represents a row in the "gc_docpratica" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.portosimport.model.BoDocPraticaModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoDocPraticaImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoDocPraticaImpl - * @see it.tref.liferay.portos.portosimport.model.BoDocPratica - * @see it.tref.liferay.portos.portosimport.model.BoDocPraticaModel - * @generated - */ -public class BoDocPraticaModelImpl extends BaseModelImpl - implements BoDocPraticaModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo doc pratica model instance should use the {@link it.tref.liferay.portos.portosimport.model.BoDocPratica} interface instead. - */ - public static final String TABLE_NAME = "gc_docpratica"; - public static final Object[][] TABLE_COLUMNS = { - { "uuid_", Types.VARCHAR }, - { "docPraticaId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "groupId", Types.BIGINT }, - { "dettPraticaId", Types.BIGINT }, - { "dlFileEntryId", Types.BIGINT }, - { "version", Types.VARCHAR }, - { "praticaValidata", Types.BOOLEAN }, - { "descLong", Types.VARCHAR }, - { "codFileSuap", Types.VARCHAR }, - { "tipologia", Types.VARCHAR }, - { "md5", Types.VARCHAR }, - { "aggiornato", Types.BOOLEAN }, - { "jsonFirmatari", Types.VARCHAR }, - { "daxId", Types.BIGINT }, - { "dtInvioDax", Types.TIMESTAMP }, - { "erroreDax", Types.VARCHAR }, - { "dtErroreDax", Types.TIMESTAMP } - }; - public static final String TABLE_SQL_CREATE = "create table gc_docpratica (uuid_ VARCHAR(75) null,docPraticaId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,dettPraticaId LONG,dlFileEntryId LONG,version VARCHAR(75) null,praticaValidata BOOLEAN,descLong VARCHAR(75) null,codFileSuap VARCHAR(75) null,tipologia VARCHAR(75) null,md5 VARCHAR(75) null,aggiornato BOOLEAN,jsonFirmatari VARCHAR(75) null,daxId LONG,dtInvioDax DATE null,erroreDax VARCHAR(75) null,dtErroreDax DATE null)"; - public static final String TABLE_SQL_DROP = "drop table gc_docpratica"; - public static final String ORDER_BY_JPQL = " ORDER BY boDocPratica.docPraticaId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gc_docpratica.docPraticaId ASC"; - public static final String DATA_SOURCE = "datiPortos1DbDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.portosimport.model.BoDocPratica"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.portosimport.model.BoDocPratica"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.portosimport.model.BoDocPratica"), - true); - public static long CODFILESUAP_COLUMN_BITMASK = 1L; - public static long COMPANYID_COLUMN_BITMASK = 2L; - public static long DETTPRATICAID_COLUMN_BITMASK = 4L; - public static long DLFILEENTRYID_COLUMN_BITMASK = 8L; - public static long GROUPID_COLUMN_BITMASK = 16L; - public static long TIPOLOGIA_COLUMN_BITMASK = 32L; - public static long UUID_COLUMN_BITMASK = 64L; - public static long VERSION_COLUMN_BITMASK = 128L; - public static long DOCPRATICAID_COLUMN_BITMASK = 256L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.portosimport.model.BoDocPratica")); - - public BoDocPraticaModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _docPraticaId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setDocPraticaId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _docPraticaId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return BoDocPratica.class; - } - - @Override - public String getModelClassName() { - return BoDocPratica.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("docPraticaId", getDocPraticaId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("dlFileEntryId", getDlFileEntryId()); - attributes.put("version", getVersion()); - attributes.put("praticaValidata", getPraticaValidata()); - attributes.put("descLong", getDescLong()); - attributes.put("codFileSuap", getCodFileSuap()); - attributes.put("tipologia", getTipologia()); - attributes.put("md5", getMd5()); - attributes.put("aggiornato", getAggiornato()); - attributes.put("jsonFirmatari", getJsonFirmatari()); - attributes.put("daxId", getDaxId()); - attributes.put("dtInvioDax", getDtInvioDax()); - attributes.put("erroreDax", getErroreDax()); - attributes.put("dtErroreDax", getDtErroreDax()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long docPraticaId = (Long)attributes.get("docPraticaId"); - - if (docPraticaId != null) { - setDocPraticaId(docPraticaId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - Long dlFileEntryId = (Long)attributes.get("dlFileEntryId"); - - if (dlFileEntryId != null) { - setDlFileEntryId(dlFileEntryId); - } - - String version = (String)attributes.get("version"); - - if (version != null) { - setVersion(version); - } - - Boolean praticaValidata = (Boolean)attributes.get("praticaValidata"); - - if (praticaValidata != null) { - setPraticaValidata(praticaValidata); - } - - String descLong = (String)attributes.get("descLong"); - - if (descLong != null) { - setDescLong(descLong); - } - - String codFileSuap = (String)attributes.get("codFileSuap"); - - if (codFileSuap != null) { - setCodFileSuap(codFileSuap); - } - - String tipologia = (String)attributes.get("tipologia"); - - if (tipologia != null) { - setTipologia(tipologia); - } - - String md5 = (String)attributes.get("md5"); - - if (md5 != null) { - setMd5(md5); - } - - Boolean aggiornato = (Boolean)attributes.get("aggiornato"); - - if (aggiornato != null) { - setAggiornato(aggiornato); - } - - String jsonFirmatari = (String)attributes.get("jsonFirmatari"); - - if (jsonFirmatari != null) { - setJsonFirmatari(jsonFirmatari); - } - - Long daxId = (Long)attributes.get("daxId"); - - if (daxId != null) { - setDaxId(daxId); - } - - Date dtInvioDax = (Date)attributes.get("dtInvioDax"); - - if (dtInvioDax != null) { - setDtInvioDax(dtInvioDax); - } - - String erroreDax = (String)attributes.get("erroreDax"); - - if (erroreDax != null) { - setErroreDax(erroreDax); - } - - Date dtErroreDax = (Date)attributes.get("dtErroreDax"); - - if (dtErroreDax != null) { - setDtErroreDax(dtErroreDax); - } - } - - @Override - public String getUuid() { - if (_uuid == null) { - return StringPool.BLANK; - } - else { - return _uuid; - } - } - - @Override - public void setUuid(String uuid) { - if (_originalUuid == null) { - _originalUuid = _uuid; - } - - _uuid = uuid; - } - - public String getOriginalUuid() { - return GetterUtil.getString(_originalUuid); - } - - @Override - public long getDocPraticaId() { - return _docPraticaId; - } - - @Override - public void setDocPraticaId(long docPraticaId) { - _docPraticaId = docPraticaId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _columnBitmask |= COMPANYID_COLUMN_BITMASK; - - if (!_setOriginalCompanyId) { - _setOriginalCompanyId = true; - - _originalCompanyId = _companyId; - } - - _companyId = companyId; - } - - public long getOriginalCompanyId() { - return _originalCompanyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _columnBitmask |= GROUPID_COLUMN_BITMASK; - - if (!_setOriginalGroupId) { - _setOriginalGroupId = true; - - _originalGroupId = _groupId; - } - - _groupId = groupId; - } - - public long getOriginalGroupId() { - return _originalGroupId; - } - - @Override - public long getDettPraticaId() { - return _dettPraticaId; - } - - @Override - public void setDettPraticaId(long dettPraticaId) { - _columnBitmask |= DETTPRATICAID_COLUMN_BITMASK; - - if (!_setOriginalDettPraticaId) { - _setOriginalDettPraticaId = true; - - _originalDettPraticaId = _dettPraticaId; - } - - _dettPraticaId = dettPraticaId; - } - - public long getOriginalDettPraticaId() { - return _originalDettPraticaId; - } - - @Override - public long getDlFileEntryId() { - return _dlFileEntryId; - } - - @Override - public void setDlFileEntryId(long dlFileEntryId) { - _columnBitmask |= DLFILEENTRYID_COLUMN_BITMASK; - - if (!_setOriginalDlFileEntryId) { - _setOriginalDlFileEntryId = true; - - _originalDlFileEntryId = _dlFileEntryId; - } - - _dlFileEntryId = dlFileEntryId; - } - - public long getOriginalDlFileEntryId() { - return _originalDlFileEntryId; - } - - @Override - public String getVersion() { - if (_version == null) { - return StringPool.BLANK; - } - else { - return _version; - } - } - - @Override - public void setVersion(String version) { - _columnBitmask |= VERSION_COLUMN_BITMASK; - - if (_originalVersion == null) { - _originalVersion = _version; - } - - _version = version; - } - - public String getOriginalVersion() { - return GetterUtil.getString(_originalVersion); - } - - @Override - public boolean getPraticaValidata() { - return _praticaValidata; - } - - @Override - public boolean isPraticaValidata() { - return _praticaValidata; - } - - @Override - public void setPraticaValidata(boolean praticaValidata) { - _praticaValidata = praticaValidata; - } - - @Override - public String getDescLong() { - if (_descLong == null) { - return StringPool.BLANK; - } - else { - return _descLong; - } - } - - @Override - public void setDescLong(String descLong) { - _descLong = descLong; - } - - @Override - public String getCodFileSuap() { - if (_codFileSuap == null) { - return StringPool.BLANK; - } - else { - return _codFileSuap; - } - } - - @Override - public void setCodFileSuap(String codFileSuap) { - _columnBitmask |= CODFILESUAP_COLUMN_BITMASK; - - if (_originalCodFileSuap == null) { - _originalCodFileSuap = _codFileSuap; - } - - _codFileSuap = codFileSuap; - } - - public String getOriginalCodFileSuap() { - return GetterUtil.getString(_originalCodFileSuap); - } - - @Override - public String getTipologia() { - if (_tipologia == null) { - return StringPool.BLANK; - } - else { - return _tipologia; - } - } - - @Override - public void setTipologia(String tipologia) { - _columnBitmask |= TIPOLOGIA_COLUMN_BITMASK; - - if (_originalTipologia == null) { - _originalTipologia = _tipologia; - } - - _tipologia = tipologia; - } - - public String getOriginalTipologia() { - return GetterUtil.getString(_originalTipologia); - } - - @Override - public String getMd5() { - if (_md5 == null) { - return StringPool.BLANK; - } - else { - return _md5; - } - } - - @Override - public void setMd5(String md5) { - _md5 = md5; - } - - @Override - public boolean getAggiornato() { - return _aggiornato; - } - - @Override - public boolean isAggiornato() { - return _aggiornato; - } - - @Override - public void setAggiornato(boolean aggiornato) { - _aggiornato = aggiornato; - } - - @Override - public String getJsonFirmatari() { - if (_jsonFirmatari == null) { - return StringPool.BLANK; - } - else { - return _jsonFirmatari; - } - } - - @Override - public void setJsonFirmatari(String jsonFirmatari) { - _jsonFirmatari = jsonFirmatari; - } - - @Override - public long getDaxId() { - return _daxId; - } - - @Override - public void setDaxId(long daxId) { - _daxId = daxId; - } - - @Override - public Date getDtInvioDax() { - return _dtInvioDax; - } - - @Override - public void setDtInvioDax(Date dtInvioDax) { - _dtInvioDax = dtInvioDax; - } - - @Override - public String getErroreDax() { - if (_erroreDax == null) { - return StringPool.BLANK; - } - else { - return _erroreDax; - } - } - - @Override - public void setErroreDax(String erroreDax) { - _erroreDax = erroreDax; - } - - @Override - public Date getDtErroreDax() { - return _dtErroreDax; - } - - @Override - public void setDtErroreDax(Date dtErroreDax) { - _dtErroreDax = dtErroreDax; - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoDocPratica.class.getName())); - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - BoDocPratica.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public BoDocPratica toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (BoDocPratica)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - BoDocPraticaImpl boDocPraticaImpl = new BoDocPraticaImpl(); - - boDocPraticaImpl.setUuid(getUuid()); - boDocPraticaImpl.setDocPraticaId(getDocPraticaId()); - boDocPraticaImpl.setCompanyId(getCompanyId()); - boDocPraticaImpl.setUserId(getUserId()); - boDocPraticaImpl.setUserName(getUserName()); - boDocPraticaImpl.setCreateDate(getCreateDate()); - boDocPraticaImpl.setModifiedDate(getModifiedDate()); - boDocPraticaImpl.setGroupId(getGroupId()); - boDocPraticaImpl.setDettPraticaId(getDettPraticaId()); - boDocPraticaImpl.setDlFileEntryId(getDlFileEntryId()); - boDocPraticaImpl.setVersion(getVersion()); - boDocPraticaImpl.setPraticaValidata(getPraticaValidata()); - boDocPraticaImpl.setDescLong(getDescLong()); - boDocPraticaImpl.setCodFileSuap(getCodFileSuap()); - boDocPraticaImpl.setTipologia(getTipologia()); - boDocPraticaImpl.setMd5(getMd5()); - boDocPraticaImpl.setAggiornato(getAggiornato()); - boDocPraticaImpl.setJsonFirmatari(getJsonFirmatari()); - boDocPraticaImpl.setDaxId(getDaxId()); - boDocPraticaImpl.setDtInvioDax(getDtInvioDax()); - boDocPraticaImpl.setErroreDax(getErroreDax()); - boDocPraticaImpl.setDtErroreDax(getDtErroreDax()); - - boDocPraticaImpl.resetOriginalValues(); - - return boDocPraticaImpl; - } - - @Override - public int compareTo(BoDocPratica boDocPratica) { - long primaryKey = boDocPratica.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoDocPratica)) { - return false; - } - - BoDocPratica boDocPratica = (BoDocPratica)obj; - - long primaryKey = boDocPratica.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - BoDocPraticaModelImpl boDocPraticaModelImpl = this; - - boDocPraticaModelImpl._originalUuid = boDocPraticaModelImpl._uuid; - - boDocPraticaModelImpl._originalCompanyId = boDocPraticaModelImpl._companyId; - - boDocPraticaModelImpl._setOriginalCompanyId = false; - - boDocPraticaModelImpl._originalGroupId = boDocPraticaModelImpl._groupId; - - boDocPraticaModelImpl._setOriginalGroupId = false; - - boDocPraticaModelImpl._originalDettPraticaId = boDocPraticaModelImpl._dettPraticaId; - - boDocPraticaModelImpl._setOriginalDettPraticaId = false; - - boDocPraticaModelImpl._originalDlFileEntryId = boDocPraticaModelImpl._dlFileEntryId; - - boDocPraticaModelImpl._setOriginalDlFileEntryId = false; - - boDocPraticaModelImpl._originalVersion = boDocPraticaModelImpl._version; - - boDocPraticaModelImpl._originalCodFileSuap = boDocPraticaModelImpl._codFileSuap; - - boDocPraticaModelImpl._originalTipologia = boDocPraticaModelImpl._tipologia; - - boDocPraticaModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - BoDocPraticaCacheModel boDocPraticaCacheModel = new BoDocPraticaCacheModel(); - - boDocPraticaCacheModel.uuid = getUuid(); - - String uuid = boDocPraticaCacheModel.uuid; - - if ((uuid != null) && (uuid.length() == 0)) { - boDocPraticaCacheModel.uuid = null; - } - - boDocPraticaCacheModel.docPraticaId = getDocPraticaId(); - - boDocPraticaCacheModel.companyId = getCompanyId(); - - boDocPraticaCacheModel.userId = getUserId(); - - boDocPraticaCacheModel.userName = getUserName(); - - String userName = boDocPraticaCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - boDocPraticaCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - boDocPraticaCacheModel.createDate = createDate.getTime(); - } - else { - boDocPraticaCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - boDocPraticaCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - boDocPraticaCacheModel.modifiedDate = Long.MIN_VALUE; - } - - boDocPraticaCacheModel.groupId = getGroupId(); - - boDocPraticaCacheModel.dettPraticaId = getDettPraticaId(); - - boDocPraticaCacheModel.dlFileEntryId = getDlFileEntryId(); - - boDocPraticaCacheModel.version = getVersion(); - - String version = boDocPraticaCacheModel.version; - - if ((version != null) && (version.length() == 0)) { - boDocPraticaCacheModel.version = null; - } - - boDocPraticaCacheModel.praticaValidata = getPraticaValidata(); - - boDocPraticaCacheModel.descLong = getDescLong(); - - String descLong = boDocPraticaCacheModel.descLong; - - if ((descLong != null) && (descLong.length() == 0)) { - boDocPraticaCacheModel.descLong = null; - } - - boDocPraticaCacheModel.codFileSuap = getCodFileSuap(); - - String codFileSuap = boDocPraticaCacheModel.codFileSuap; - - if ((codFileSuap != null) && (codFileSuap.length() == 0)) { - boDocPraticaCacheModel.codFileSuap = null; - } - - boDocPraticaCacheModel.tipologia = getTipologia(); - - String tipologia = boDocPraticaCacheModel.tipologia; - - if ((tipologia != null) && (tipologia.length() == 0)) { - boDocPraticaCacheModel.tipologia = null; - } - - boDocPraticaCacheModel.md5 = getMd5(); - - String md5 = boDocPraticaCacheModel.md5; - - if ((md5 != null) && (md5.length() == 0)) { - boDocPraticaCacheModel.md5 = null; - } - - boDocPraticaCacheModel.aggiornato = getAggiornato(); - - boDocPraticaCacheModel.jsonFirmatari = getJsonFirmatari(); - - String jsonFirmatari = boDocPraticaCacheModel.jsonFirmatari; - - if ((jsonFirmatari != null) && (jsonFirmatari.length() == 0)) { - boDocPraticaCacheModel.jsonFirmatari = null; - } - - boDocPraticaCacheModel.daxId = getDaxId(); - - Date dtInvioDax = getDtInvioDax(); - - if (dtInvioDax != null) { - boDocPraticaCacheModel.dtInvioDax = dtInvioDax.getTime(); - } - else { - boDocPraticaCacheModel.dtInvioDax = Long.MIN_VALUE; - } - - boDocPraticaCacheModel.erroreDax = getErroreDax(); - - String erroreDax = boDocPraticaCacheModel.erroreDax; - - if ((erroreDax != null) && (erroreDax.length() == 0)) { - boDocPraticaCacheModel.erroreDax = null; - } - - Date dtErroreDax = getDtErroreDax(); - - if (dtErroreDax != null) { - boDocPraticaCacheModel.dtErroreDax = dtErroreDax.getTime(); - } - else { - boDocPraticaCacheModel.dtErroreDax = Long.MIN_VALUE; - } - - return boDocPraticaCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(45); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", docPraticaId="); - sb.append(getDocPraticaId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", dettPraticaId="); - sb.append(getDettPraticaId()); - sb.append(", dlFileEntryId="); - sb.append(getDlFileEntryId()); - sb.append(", version="); - sb.append(getVersion()); - sb.append(", praticaValidata="); - sb.append(getPraticaValidata()); - sb.append(", descLong="); - sb.append(getDescLong()); - sb.append(", codFileSuap="); - sb.append(getCodFileSuap()); - sb.append(", tipologia="); - sb.append(getTipologia()); - sb.append(", md5="); - sb.append(getMd5()); - sb.append(", aggiornato="); - sb.append(getAggiornato()); - sb.append(", jsonFirmatari="); - sb.append(getJsonFirmatari()); - sb.append(", daxId="); - sb.append(getDaxId()); - sb.append(", dtInvioDax="); - sb.append(getDtInvioDax()); - sb.append(", erroreDax="); - sb.append(getErroreDax()); - sb.append(", dtErroreDax="); - sb.append(getDtErroreDax()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(70); - - sb.append(""); - sb.append("it.tref.liferay.portos.portosimport.model.BoDocPratica"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "docPraticaId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "dettPraticaId"); - sb.append( - "dlFileEntryId"); - sb.append( - "version"); - sb.append( - "praticaValidata"); - sb.append( - "descLong"); - sb.append( - "codFileSuap"); - sb.append( - "tipologia"); - sb.append( - "md5"); - sb.append( - "aggiornato"); - sb.append( - "jsonFirmatari"); - sb.append( - "daxId"); - sb.append( - "dtInvioDax"); - sb.append( - "erroreDax"); - sb.append( - "dtErroreDax"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = BoDocPratica.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - BoDocPratica.class - }; - private String _uuid; - private String _originalUuid; - private long _docPraticaId; - private long _companyId; - private long _originalCompanyId; - private boolean _setOriginalCompanyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _originalGroupId; - private boolean _setOriginalGroupId; - private long _dettPraticaId; - private long _originalDettPraticaId; - private boolean _setOriginalDettPraticaId; - private long _dlFileEntryId; - private long _originalDlFileEntryId; - private boolean _setOriginalDlFileEntryId; - private String _version; - private String _originalVersion; - private boolean _praticaValidata; - private String _descLong; - private String _codFileSuap; - private String _originalCodFileSuap; - private String _tipologia; - private String _originalTipologia; - private String _md5; - private boolean _aggiornato; - private String _jsonFirmatari; - private long _daxId; - private Date _dtInvioDax; - private String _erroreDax; - private Date _dtErroreDax; - private long _columnBitmask; - private BoDocPratica _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoIntPraticaBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoIntPraticaBaseImpl.java deleted file mode 100644 index c196c203..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoIntPraticaBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.BoIntPratica; -import it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalServiceUtil; - -/** - * The extended model base implementation for the BoIntPratica service. Represents a row in the "gc_intpratica" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoIntPraticaImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoIntPraticaImpl - * @see it.tref.liferay.portos.portosimport.model.BoIntPratica - * @generated - */ -public abstract class BoIntPraticaBaseImpl extends BoIntPraticaModelImpl - implements BoIntPratica { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo int pratica model instance should use the {@link BoIntPratica} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoIntPraticaLocalServiceUtil.addBoIntPratica(this); - } - else { - BoIntPraticaLocalServiceUtil.updateBoIntPratica(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoIntPraticaCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoIntPraticaCacheModel.java deleted file mode 100644 index 24bbdc2d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoIntPraticaCacheModel.java +++ /dev/null @@ -1,641 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.portosimport.model.BoIntPratica; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing BoIntPratica in entity cache. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoIntPratica - * @generated - */ -public class BoIntPraticaCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(95); - - sb.append("{uuid="); - sb.append(uuid); - sb.append(", intPraticaId="); - sb.append(intPraticaId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", tipoPraticaId="); - sb.append(tipoPraticaId); - sb.append(", territorioId="); - sb.append(territorioId); - sb.append(", destinazione="); - sb.append(destinazione); - sb.append(", tipologiaSistemaCostruttivo="); - sb.append(tipologiaSistemaCostruttivo); - sb.append(", ag="); - sb.append(ag); - sb.append(", descLongIntervento="); - sb.append(descLongIntervento); - sb.append(", via="); - sb.append(via); - sb.append(", localita="); - sb.append(localita); - sb.append(", estremiCatastali="); - sb.append(estremiCatastali); - sb.append(", estremiPratCom="); - sb.append(estremiPratCom); - sb.append(", dtSorteggio="); - sb.append(dtSorteggio); - sb.append(", statoPratica="); - sb.append(statoPratica); - sb.append(", numeroProgetto="); - sb.append(numeroProgetto); - sb.append(", validata="); - sb.append(validata); - sb.append(", variataDa="); - sb.append(variataDa); - sb.append(", varianteNumero="); - sb.append(varianteNumero); - sb.append(", varianteSostanziale="); - sb.append(varianteSostanziale); - sb.append(", operaConforme="); - sb.append(operaConforme); - sb.append(", tipoPraticaIdSanatoria="); - sb.append(tipoPraticaIdSanatoria); - sb.append(", status="); - sb.append(status); - sb.append(", statusByUserId="); - sb.append(statusByUserId); - sb.append(", statusDate="); - sb.append(statusDate); - sb.append(", statoPraticaWorkflow="); - sb.append(statoPraticaWorkflow); - sb.append(", esitoControllo="); - sb.append(esitoControllo); - sb.append(", collaudoStatico="); - sb.append(collaudoStatico); - sb.append(", collaudoStaticoAgtSanatoria="); - sb.append(collaudoStaticoAgtSanatoria); - sb.append(", codiceFiscaleDelegato="); - sb.append(codiceFiscaleDelegato); - sb.append(", codiceRuoloDelegato="); - sb.append(codiceRuoloDelegato); - sb.append(", lavoriInEconomiaCommittente="); - sb.append(lavoriInEconomiaCommittente); - sb.append(", nomeUtenteSuap="); - sb.append(nomeUtenteSuap); - sb.append(", cognomeUtenteSuap="); - sb.append(cognomeUtenteSuap); - sb.append(", codiceFiscaleUtenteSuap="); - sb.append(codiceFiscaleUtenteSuap); - sb.append(", inizioLavoriContestualeOpera="); - sb.append(inizioLavoriContestualeOpera); - sb.append(", dataInizioLavoriOpera="); - sb.append(dataInizioLavoriOpera); - sb.append(", dataInizioEsecuzioneOpera="); - sb.append(dataInizioEsecuzioneOpera); - sb.append(", dataFineEsecuzioneOpera="); - sb.append(dataFineEsecuzioneOpera); - sb.append(", metratura="); - sb.append(metratura); - sb.append(", lavoriPubblici="); - sb.append(lavoriPubblici); - sb.append(", dtPratica="); - sb.append(dtPratica); - sb.append("}"); - - return sb.toString(); - } - - @Override - public BoIntPratica toEntityModel() { - BoIntPraticaImpl boIntPraticaImpl = new BoIntPraticaImpl(); - - if (uuid == null) { - boIntPraticaImpl.setUuid(StringPool.BLANK); - } - else { - boIntPraticaImpl.setUuid(uuid); - } - - boIntPraticaImpl.setIntPraticaId(intPraticaId); - boIntPraticaImpl.setCompanyId(companyId); - boIntPraticaImpl.setUserId(userId); - - if (userName == null) { - boIntPraticaImpl.setUserName(StringPool.BLANK); - } - else { - boIntPraticaImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - boIntPraticaImpl.setCreateDate(null); - } - else { - boIntPraticaImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - boIntPraticaImpl.setModifiedDate(null); - } - else { - boIntPraticaImpl.setModifiedDate(new Date(modifiedDate)); - } - - boIntPraticaImpl.setGroupId(groupId); - boIntPraticaImpl.setTipoPraticaId(tipoPraticaId); - boIntPraticaImpl.setTerritorioId(territorioId); - - if (destinazione == null) { - boIntPraticaImpl.setDestinazione(StringPool.BLANK); - } - else { - boIntPraticaImpl.setDestinazione(destinazione); - } - - if (tipologiaSistemaCostruttivo == null) { - boIntPraticaImpl.setTipologiaSistemaCostruttivo(StringPool.BLANK); - } - else { - boIntPraticaImpl.setTipologiaSistemaCostruttivo(tipologiaSistemaCostruttivo); - } - - if (ag == null) { - boIntPraticaImpl.setAg(StringPool.BLANK); - } - else { - boIntPraticaImpl.setAg(ag); - } - - if (descLongIntervento == null) { - boIntPraticaImpl.setDescLongIntervento(StringPool.BLANK); - } - else { - boIntPraticaImpl.setDescLongIntervento(descLongIntervento); - } - - if (via == null) { - boIntPraticaImpl.setVia(StringPool.BLANK); - } - else { - boIntPraticaImpl.setVia(via); - } - - if (localita == null) { - boIntPraticaImpl.setLocalita(StringPool.BLANK); - } - else { - boIntPraticaImpl.setLocalita(localita); - } - - if (estremiCatastali == null) { - boIntPraticaImpl.setEstremiCatastali(StringPool.BLANK); - } - else { - boIntPraticaImpl.setEstremiCatastali(estremiCatastali); - } - - if (estremiPratCom == null) { - boIntPraticaImpl.setEstremiPratCom(StringPool.BLANK); - } - else { - boIntPraticaImpl.setEstremiPratCom(estremiPratCom); - } - - if (dtSorteggio == Long.MIN_VALUE) { - boIntPraticaImpl.setDtSorteggio(null); - } - else { - boIntPraticaImpl.setDtSorteggio(new Date(dtSorteggio)); - } - - if (statoPratica == null) { - boIntPraticaImpl.setStatoPratica(StringPool.BLANK); - } - else { - boIntPraticaImpl.setStatoPratica(statoPratica); - } - - if (numeroProgetto == null) { - boIntPraticaImpl.setNumeroProgetto(StringPool.BLANK); - } - else { - boIntPraticaImpl.setNumeroProgetto(numeroProgetto); - } - - boIntPraticaImpl.setValidata(validata); - boIntPraticaImpl.setVariataDa(variataDa); - boIntPraticaImpl.setVarianteNumero(varianteNumero); - boIntPraticaImpl.setVarianteSostanziale(varianteSostanziale); - boIntPraticaImpl.setOperaConforme(operaConforme); - boIntPraticaImpl.setTipoPraticaIdSanatoria(tipoPraticaIdSanatoria); - boIntPraticaImpl.setStatus(status); - boIntPraticaImpl.setStatusByUserId(statusByUserId); - - if (statusDate == Long.MIN_VALUE) { - boIntPraticaImpl.setStatusDate(null); - } - else { - boIntPraticaImpl.setStatusDate(new Date(statusDate)); - } - - if (statoPraticaWorkflow == null) { - boIntPraticaImpl.setStatoPraticaWorkflow(StringPool.BLANK); - } - else { - boIntPraticaImpl.setStatoPraticaWorkflow(statoPraticaWorkflow); - } - - boIntPraticaImpl.setEsitoControllo(esitoControllo); - boIntPraticaImpl.setCollaudoStatico(collaudoStatico); - boIntPraticaImpl.setCollaudoStaticoAgtSanatoria(collaudoStaticoAgtSanatoria); - - if (codiceFiscaleDelegato == null) { - boIntPraticaImpl.setCodiceFiscaleDelegato(StringPool.BLANK); - } - else { - boIntPraticaImpl.setCodiceFiscaleDelegato(codiceFiscaleDelegato); - } - - if (codiceRuoloDelegato == null) { - boIntPraticaImpl.setCodiceRuoloDelegato(StringPool.BLANK); - } - else { - boIntPraticaImpl.setCodiceRuoloDelegato(codiceRuoloDelegato); - } - - boIntPraticaImpl.setLavoriInEconomiaCommittente(lavoriInEconomiaCommittente); - - if (nomeUtenteSuap == null) { - boIntPraticaImpl.setNomeUtenteSuap(StringPool.BLANK); - } - else { - boIntPraticaImpl.setNomeUtenteSuap(nomeUtenteSuap); - } - - if (cognomeUtenteSuap == null) { - boIntPraticaImpl.setCognomeUtenteSuap(StringPool.BLANK); - } - else { - boIntPraticaImpl.setCognomeUtenteSuap(cognomeUtenteSuap); - } - - if (codiceFiscaleUtenteSuap == null) { - boIntPraticaImpl.setCodiceFiscaleUtenteSuap(StringPool.BLANK); - } - else { - boIntPraticaImpl.setCodiceFiscaleUtenteSuap(codiceFiscaleUtenteSuap); - } - - boIntPraticaImpl.setInizioLavoriContestualeOpera(inizioLavoriContestualeOpera); - - if (dataInizioLavoriOpera == Long.MIN_VALUE) { - boIntPraticaImpl.setDataInizioLavoriOpera(null); - } - else { - boIntPraticaImpl.setDataInizioLavoriOpera(new Date( - dataInizioLavoriOpera)); - } - - if (dataInizioEsecuzioneOpera == Long.MIN_VALUE) { - boIntPraticaImpl.setDataInizioEsecuzioneOpera(null); - } - else { - boIntPraticaImpl.setDataInizioEsecuzioneOpera(new Date( - dataInizioEsecuzioneOpera)); - } - - if (dataFineEsecuzioneOpera == Long.MIN_VALUE) { - boIntPraticaImpl.setDataFineEsecuzioneOpera(null); - } - else { - boIntPraticaImpl.setDataFineEsecuzioneOpera(new Date( - dataFineEsecuzioneOpera)); - } - - if (metratura == null) { - boIntPraticaImpl.setMetratura(StringPool.BLANK); - } - else { - boIntPraticaImpl.setMetratura(metratura); - } - - boIntPraticaImpl.setLavoriPubblici(lavoriPubblici); - - if (dtPratica == Long.MIN_VALUE) { - boIntPraticaImpl.setDtPratica(null); - } - else { - boIntPraticaImpl.setDtPratica(new Date(dtPratica)); - } - - boIntPraticaImpl.resetOriginalValues(); - - return boIntPraticaImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - uuid = objectInput.readUTF(); - intPraticaId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - groupId = objectInput.readLong(); - tipoPraticaId = objectInput.readLong(); - territorioId = objectInput.readLong(); - destinazione = objectInput.readUTF(); - tipologiaSistemaCostruttivo = objectInput.readUTF(); - ag = objectInput.readUTF(); - descLongIntervento = objectInput.readUTF(); - via = objectInput.readUTF(); - localita = objectInput.readUTF(); - estremiCatastali = objectInput.readUTF(); - estremiPratCom = objectInput.readUTF(); - dtSorteggio = objectInput.readLong(); - statoPratica = objectInput.readUTF(); - numeroProgetto = objectInput.readUTF(); - validata = objectInput.readBoolean(); - variataDa = objectInput.readLong(); - varianteNumero = objectInput.readLong(); - varianteSostanziale = objectInput.readBoolean(); - operaConforme = objectInput.readBoolean(); - tipoPraticaIdSanatoria = objectInput.readLong(); - status = objectInput.readInt(); - statusByUserId = objectInput.readLong(); - statusDate = objectInput.readLong(); - statoPraticaWorkflow = objectInput.readUTF(); - esitoControllo = objectInput.readInt(); - collaudoStatico = objectInput.readBoolean(); - collaudoStaticoAgtSanatoria = objectInput.readBoolean(); - codiceFiscaleDelegato = objectInput.readUTF(); - codiceRuoloDelegato = objectInput.readUTF(); - lavoriInEconomiaCommittente = objectInput.readBoolean(); - nomeUtenteSuap = objectInput.readUTF(); - cognomeUtenteSuap = objectInput.readUTF(); - codiceFiscaleUtenteSuap = objectInput.readUTF(); - inizioLavoriContestualeOpera = objectInput.readBoolean(); - dataInizioLavoriOpera = objectInput.readLong(); - dataInizioEsecuzioneOpera = objectInput.readLong(); - dataFineEsecuzioneOpera = objectInput.readLong(); - metratura = objectInput.readUTF(); - lavoriPubblici = objectInput.readBoolean(); - dtPratica = objectInput.readLong(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - if (uuid == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(uuid); - } - - objectOutput.writeLong(intPraticaId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeLong(groupId); - objectOutput.writeLong(tipoPraticaId); - objectOutput.writeLong(territorioId); - - if (destinazione == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(destinazione); - } - - if (tipologiaSistemaCostruttivo == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(tipologiaSistemaCostruttivo); - } - - if (ag == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(ag); - } - - if (descLongIntervento == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(descLongIntervento); - } - - if (via == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(via); - } - - if (localita == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(localita); - } - - if (estremiCatastali == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(estremiCatastali); - } - - if (estremiPratCom == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(estremiPratCom); - } - - objectOutput.writeLong(dtSorteggio); - - if (statoPratica == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(statoPratica); - } - - if (numeroProgetto == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(numeroProgetto); - } - - objectOutput.writeBoolean(validata); - objectOutput.writeLong(variataDa); - objectOutput.writeLong(varianteNumero); - objectOutput.writeBoolean(varianteSostanziale); - objectOutput.writeBoolean(operaConforme); - objectOutput.writeLong(tipoPraticaIdSanatoria); - objectOutput.writeInt(status); - objectOutput.writeLong(statusByUserId); - objectOutput.writeLong(statusDate); - - if (statoPraticaWorkflow == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(statoPraticaWorkflow); - } - - objectOutput.writeInt(esitoControllo); - objectOutput.writeBoolean(collaudoStatico); - objectOutput.writeBoolean(collaudoStaticoAgtSanatoria); - - if (codiceFiscaleDelegato == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codiceFiscaleDelegato); - } - - if (codiceRuoloDelegato == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codiceRuoloDelegato); - } - - objectOutput.writeBoolean(lavoriInEconomiaCommittente); - - if (nomeUtenteSuap == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(nomeUtenteSuap); - } - - if (cognomeUtenteSuap == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(cognomeUtenteSuap); - } - - if (codiceFiscaleUtenteSuap == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codiceFiscaleUtenteSuap); - } - - objectOutput.writeBoolean(inizioLavoriContestualeOpera); - objectOutput.writeLong(dataInizioLavoriOpera); - objectOutput.writeLong(dataInizioEsecuzioneOpera); - objectOutput.writeLong(dataFineEsecuzioneOpera); - - if (metratura == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(metratura); - } - - objectOutput.writeBoolean(lavoriPubblici); - objectOutput.writeLong(dtPratica); - } - - public String uuid; - public long intPraticaId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public long groupId; - public long tipoPraticaId; - public long territorioId; - public String destinazione; - public String tipologiaSistemaCostruttivo; - public String ag; - public String descLongIntervento; - public String via; - public String localita; - public String estremiCatastali; - public String estremiPratCom; - public long dtSorteggio; - public String statoPratica; - public String numeroProgetto; - public boolean validata; - public long variataDa; - public long varianteNumero; - public boolean varianteSostanziale; - public boolean operaConforme; - public long tipoPraticaIdSanatoria; - public int status; - public long statusByUserId; - public long statusDate; - public String statoPraticaWorkflow; - public int esitoControllo; - public boolean collaudoStatico; - public boolean collaudoStaticoAgtSanatoria; - public String codiceFiscaleDelegato; - public String codiceRuoloDelegato; - public boolean lavoriInEconomiaCommittente; - public String nomeUtenteSuap; - public String cognomeUtenteSuap; - public String codiceFiscaleUtenteSuap; - public boolean inizioLavoriContestualeOpera; - public long dataInizioLavoriOpera; - public long dataInizioEsecuzioneOpera; - public long dataFineEsecuzioneOpera; - public String metratura; - public boolean lavoriPubblici; - public long dtPratica; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoIntPraticaImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoIntPraticaImpl.java deleted file mode 100644 index d2c2e17a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoIntPraticaImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -/** - * The extended model implementation for the BoIntPratica service. Represents a row in the "gc_intpratica" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.portosimport.model.BoIntPratica} interface. - *

- * - * @author Davide Barbagallo, 3F Consulting - */ -public class BoIntPraticaImpl extends BoIntPraticaBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a bo int pratica model instance should use the {@link it.tref.liferay.portos.portosimport.model.BoIntPratica} interface instead. - */ - public BoIntPraticaImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoIntPraticaModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoIntPraticaModelImpl.java deleted file mode 100644 index 1c78cb5f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoIntPraticaModelImpl.java +++ /dev/null @@ -1,2069 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.portosimport.model.BoIntPratica; -import it.tref.liferay.portos.portosimport.model.BoIntPraticaModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the BoIntPratica service. Represents a row in the "gc_intpratica" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.portosimport.model.BoIntPraticaModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoIntPraticaImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoIntPraticaImpl - * @see it.tref.liferay.portos.portosimport.model.BoIntPratica - * @see it.tref.liferay.portos.portosimport.model.BoIntPraticaModel - * @generated - */ -public class BoIntPraticaModelImpl extends BaseModelImpl - implements BoIntPraticaModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo int pratica model instance should use the {@link it.tref.liferay.portos.portosimport.model.BoIntPratica} interface instead. - */ - public static final String TABLE_NAME = "gc_intpratica"; - public static final Object[][] TABLE_COLUMNS = { - { "uuid_", Types.VARCHAR }, - { "intPraticaId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "groupId", Types.BIGINT }, - { "tipoPraticaId", Types.BIGINT }, - { "territorioId", Types.BIGINT }, - { "destinazione", Types.VARCHAR }, - { "tipologiaSistemaCostruttivo", Types.VARCHAR }, - { "ag", Types.VARCHAR }, - { "descLongIntervento", Types.VARCHAR }, - { "via", Types.VARCHAR }, - { "localita", Types.VARCHAR }, - { "estremiCatastali", Types.VARCHAR }, - { "estremiPratCom", Types.VARCHAR }, - { "dtSorteggio", Types.TIMESTAMP }, - { "statoPratica", Types.VARCHAR }, - { "numeroProgetto", Types.VARCHAR }, - { "validata", Types.BOOLEAN }, - { "variataDa", Types.BIGINT }, - { "varianteNumero", Types.BIGINT }, - { "varianteSostanziale", Types.BOOLEAN }, - { "operaConforme", Types.BOOLEAN }, - { "tipoPraticaIdSanatoria", Types.BIGINT }, - { "status", Types.INTEGER }, - { "statusByUserId", Types.BIGINT }, - { "statusDate", Types.TIMESTAMP }, - { "statoPraticaWorkflow", Types.VARCHAR }, - { "esitoControllo", Types.INTEGER }, - { "collaudoStatico", Types.BOOLEAN }, - { "collaudoStaticoAgtSanatoria", Types.BOOLEAN }, - { "codiceFiscaleDelegato", Types.VARCHAR }, - { "codiceRuoloDelegato", Types.VARCHAR }, - { "lavoriInEconomiaCommittente", Types.BOOLEAN }, - { "nomeUtenteSuap", Types.VARCHAR }, - { "cognomeUtenteSuap", Types.VARCHAR }, - { "codiceFiscaleUtenteSuap", Types.VARCHAR }, - { "inizioLavoriContestualeOpera", Types.BOOLEAN }, - { "dataInizioLavoriOpera", Types.TIMESTAMP }, - { "dataInizioEsecuzioneOpera", Types.TIMESTAMP }, - { "dataFineEsecuzioneOpera", Types.TIMESTAMP }, - { "metratura", Types.VARCHAR }, - { "lavoriPubblici", Types.BOOLEAN }, - { "dtPratica", Types.TIMESTAMP } - }; - public static final String TABLE_SQL_CREATE = "create table gc_intpratica (uuid_ VARCHAR(75) null,intPraticaId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,tipoPraticaId LONG,territorioId LONG,destinazione VARCHAR(75) null,tipologiaSistemaCostruttivo VARCHAR(75) null,ag VARCHAR(75) null,descLongIntervento VARCHAR(75) null,via VARCHAR(75) null,localita VARCHAR(75) null,estremiCatastali VARCHAR(75) null,estremiPratCom VARCHAR(75) null,dtSorteggio DATE null,statoPratica VARCHAR(75) null,numeroProgetto VARCHAR(75) null,validata BOOLEAN,variataDa LONG,varianteNumero LONG,varianteSostanziale BOOLEAN,operaConforme BOOLEAN,tipoPraticaIdSanatoria LONG,status INTEGER,statusByUserId LONG,statusDate DATE null,statoPraticaWorkflow VARCHAR(75) null,esitoControllo INTEGER,collaudoStatico BOOLEAN,collaudoStaticoAgtSanatoria BOOLEAN,codiceFiscaleDelegato VARCHAR(75) null,codiceRuoloDelegato VARCHAR(75) null,lavoriInEconomiaCommittente BOOLEAN,nomeUtenteSuap VARCHAR(75) null,cognomeUtenteSuap VARCHAR(75) null,codiceFiscaleUtenteSuap VARCHAR(75) null,inizioLavoriContestualeOpera BOOLEAN,dataInizioLavoriOpera DATE null,dataInizioEsecuzioneOpera DATE null,dataFineEsecuzioneOpera DATE null,metratura VARCHAR(75) null,lavoriPubblici BOOLEAN,dtPratica DATE null)"; - public static final String TABLE_SQL_DROP = "drop table gc_intpratica"; - public static final String ORDER_BY_JPQL = " ORDER BY boIntPratica.intPraticaId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gc_intpratica.intPraticaId ASC"; - public static final String DATA_SOURCE = "datiPortos1DbDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.portosimport.model.BoIntPratica"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.portosimport.model.BoIntPratica"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.portosimport.model.BoIntPratica"), - true); - public static long COMPANYID_COLUMN_BITMASK = 1L; - public static long GROUPID_COLUMN_BITMASK = 2L; - public static long NUMEROPROGETTO_COLUMN_BITMASK = 4L; - public static long TERRITORIOID_COLUMN_BITMASK = 8L; - public static long UUID_COLUMN_BITMASK = 16L; - public static long VALIDATA_COLUMN_BITMASK = 32L; - public static long VARIANTENUMERO_COLUMN_BITMASK = 64L; - public static long VARIATADA_COLUMN_BITMASK = 128L; - public static long INTPRATICAID_COLUMN_BITMASK = 256L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.portosimport.model.BoIntPratica")); - - public BoIntPraticaModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _intPraticaId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setIntPraticaId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _intPraticaId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return BoIntPratica.class; - } - - @Override - public String getModelClassName() { - return BoIntPratica.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("tipoPraticaId", getTipoPraticaId()); - attributes.put("territorioId", getTerritorioId()); - attributes.put("destinazione", getDestinazione()); - attributes.put("tipologiaSistemaCostruttivo", - getTipologiaSistemaCostruttivo()); - attributes.put("ag", getAg()); - attributes.put("descLongIntervento", getDescLongIntervento()); - attributes.put("via", getVia()); - attributes.put("localita", getLocalita()); - attributes.put("estremiCatastali", getEstremiCatastali()); - attributes.put("estremiPratCom", getEstremiPratCom()); - attributes.put("dtSorteggio", getDtSorteggio()); - attributes.put("statoPratica", getStatoPratica()); - attributes.put("numeroProgetto", getNumeroProgetto()); - attributes.put("validata", getValidata()); - attributes.put("variataDa", getVariataDa()); - attributes.put("varianteNumero", getVarianteNumero()); - attributes.put("varianteSostanziale", getVarianteSostanziale()); - attributes.put("operaConforme", getOperaConforme()); - attributes.put("tipoPraticaIdSanatoria", getTipoPraticaIdSanatoria()); - attributes.put("status", getStatus()); - attributes.put("statusByUserId", getStatusByUserId()); - attributes.put("statusDate", getStatusDate()); - attributes.put("statoPraticaWorkflow", getStatoPraticaWorkflow()); - attributes.put("esitoControllo", getEsitoControllo()); - attributes.put("collaudoStatico", getCollaudoStatico()); - attributes.put("collaudoStaticoAgtSanatoria", - getCollaudoStaticoAgtSanatoria()); - attributes.put("codiceFiscaleDelegato", getCodiceFiscaleDelegato()); - attributes.put("codiceRuoloDelegato", getCodiceRuoloDelegato()); - attributes.put("lavoriInEconomiaCommittente", - getLavoriInEconomiaCommittente()); - attributes.put("nomeUtenteSuap", getNomeUtenteSuap()); - attributes.put("cognomeUtenteSuap", getCognomeUtenteSuap()); - attributes.put("codiceFiscaleUtenteSuap", getCodiceFiscaleUtenteSuap()); - attributes.put("inizioLavoriContestualeOpera", - getInizioLavoriContestualeOpera()); - attributes.put("dataInizioLavoriOpera", getDataInizioLavoriOpera()); - attributes.put("dataInizioEsecuzioneOpera", - getDataInizioEsecuzioneOpera()); - attributes.put("dataFineEsecuzioneOpera", getDataFineEsecuzioneOpera()); - attributes.put("metratura", getMetratura()); - attributes.put("lavoriPubblici", getLavoriPubblici()); - attributes.put("dtPratica", getDtPratica()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long tipoPraticaId = (Long)attributes.get("tipoPraticaId"); - - if (tipoPraticaId != null) { - setTipoPraticaId(tipoPraticaId); - } - - Long territorioId = (Long)attributes.get("territorioId"); - - if (territorioId != null) { - setTerritorioId(territorioId); - } - - String destinazione = (String)attributes.get("destinazione"); - - if (destinazione != null) { - setDestinazione(destinazione); - } - - String tipologiaSistemaCostruttivo = (String)attributes.get( - "tipologiaSistemaCostruttivo"); - - if (tipologiaSistemaCostruttivo != null) { - setTipologiaSistemaCostruttivo(tipologiaSistemaCostruttivo); - } - - String ag = (String)attributes.get("ag"); - - if (ag != null) { - setAg(ag); - } - - String descLongIntervento = (String)attributes.get("descLongIntervento"); - - if (descLongIntervento != null) { - setDescLongIntervento(descLongIntervento); - } - - String via = (String)attributes.get("via"); - - if (via != null) { - setVia(via); - } - - String localita = (String)attributes.get("localita"); - - if (localita != null) { - setLocalita(localita); - } - - String estremiCatastali = (String)attributes.get("estremiCatastali"); - - if (estremiCatastali != null) { - setEstremiCatastali(estremiCatastali); - } - - String estremiPratCom = (String)attributes.get("estremiPratCom"); - - if (estremiPratCom != null) { - setEstremiPratCom(estremiPratCom); - } - - Date dtSorteggio = (Date)attributes.get("dtSorteggio"); - - if (dtSorteggio != null) { - setDtSorteggio(dtSorteggio); - } - - String statoPratica = (String)attributes.get("statoPratica"); - - if (statoPratica != null) { - setStatoPratica(statoPratica); - } - - String numeroProgetto = (String)attributes.get("numeroProgetto"); - - if (numeroProgetto != null) { - setNumeroProgetto(numeroProgetto); - } - - Boolean validata = (Boolean)attributes.get("validata"); - - if (validata != null) { - setValidata(validata); - } - - Long variataDa = (Long)attributes.get("variataDa"); - - if (variataDa != null) { - setVariataDa(variataDa); - } - - Long varianteNumero = (Long)attributes.get("varianteNumero"); - - if (varianteNumero != null) { - setVarianteNumero(varianteNumero); - } - - Boolean varianteSostanziale = (Boolean)attributes.get( - "varianteSostanziale"); - - if (varianteSostanziale != null) { - setVarianteSostanziale(varianteSostanziale); - } - - Boolean operaConforme = (Boolean)attributes.get("operaConforme"); - - if (operaConforme != null) { - setOperaConforme(operaConforme); - } - - Long tipoPraticaIdSanatoria = (Long)attributes.get( - "tipoPraticaIdSanatoria"); - - if (tipoPraticaIdSanatoria != null) { - setTipoPraticaIdSanatoria(tipoPraticaIdSanatoria); - } - - Integer status = (Integer)attributes.get("status"); - - if (status != null) { - setStatus(status); - } - - Long statusByUserId = (Long)attributes.get("statusByUserId"); - - if (statusByUserId != null) { - setStatusByUserId(statusByUserId); - } - - Date statusDate = (Date)attributes.get("statusDate"); - - if (statusDate != null) { - setStatusDate(statusDate); - } - - String statoPraticaWorkflow = (String)attributes.get( - "statoPraticaWorkflow"); - - if (statoPraticaWorkflow != null) { - setStatoPraticaWorkflow(statoPraticaWorkflow); - } - - Integer esitoControllo = (Integer)attributes.get("esitoControllo"); - - if (esitoControllo != null) { - setEsitoControllo(esitoControllo); - } - - Boolean collaudoStatico = (Boolean)attributes.get("collaudoStatico"); - - if (collaudoStatico != null) { - setCollaudoStatico(collaudoStatico); - } - - Boolean collaudoStaticoAgtSanatoria = (Boolean)attributes.get( - "collaudoStaticoAgtSanatoria"); - - if (collaudoStaticoAgtSanatoria != null) { - setCollaudoStaticoAgtSanatoria(collaudoStaticoAgtSanatoria); - } - - String codiceFiscaleDelegato = (String)attributes.get( - "codiceFiscaleDelegato"); - - if (codiceFiscaleDelegato != null) { - setCodiceFiscaleDelegato(codiceFiscaleDelegato); - } - - String codiceRuoloDelegato = (String)attributes.get( - "codiceRuoloDelegato"); - - if (codiceRuoloDelegato != null) { - setCodiceRuoloDelegato(codiceRuoloDelegato); - } - - Boolean lavoriInEconomiaCommittente = (Boolean)attributes.get( - "lavoriInEconomiaCommittente"); - - if (lavoriInEconomiaCommittente != null) { - setLavoriInEconomiaCommittente(lavoriInEconomiaCommittente); - } - - String nomeUtenteSuap = (String)attributes.get("nomeUtenteSuap"); - - if (nomeUtenteSuap != null) { - setNomeUtenteSuap(nomeUtenteSuap); - } - - String cognomeUtenteSuap = (String)attributes.get("cognomeUtenteSuap"); - - if (cognomeUtenteSuap != null) { - setCognomeUtenteSuap(cognomeUtenteSuap); - } - - String codiceFiscaleUtenteSuap = (String)attributes.get( - "codiceFiscaleUtenteSuap"); - - if (codiceFiscaleUtenteSuap != null) { - setCodiceFiscaleUtenteSuap(codiceFiscaleUtenteSuap); - } - - Boolean inizioLavoriContestualeOpera = (Boolean)attributes.get( - "inizioLavoriContestualeOpera"); - - if (inizioLavoriContestualeOpera != null) { - setInizioLavoriContestualeOpera(inizioLavoriContestualeOpera); - } - - Date dataInizioLavoriOpera = (Date)attributes.get( - "dataInizioLavoriOpera"); - - if (dataInizioLavoriOpera != null) { - setDataInizioLavoriOpera(dataInizioLavoriOpera); - } - - Date dataInizioEsecuzioneOpera = (Date)attributes.get( - "dataInizioEsecuzioneOpera"); - - if (dataInizioEsecuzioneOpera != null) { - setDataInizioEsecuzioneOpera(dataInizioEsecuzioneOpera); - } - - Date dataFineEsecuzioneOpera = (Date)attributes.get( - "dataFineEsecuzioneOpera"); - - if (dataFineEsecuzioneOpera != null) { - setDataFineEsecuzioneOpera(dataFineEsecuzioneOpera); - } - - String metratura = (String)attributes.get("metratura"); - - if (metratura != null) { - setMetratura(metratura); - } - - Boolean lavoriPubblici = (Boolean)attributes.get("lavoriPubblici"); - - if (lavoriPubblici != null) { - setLavoriPubblici(lavoriPubblici); - } - - Date dtPratica = (Date)attributes.get("dtPratica"); - - if (dtPratica != null) { - setDtPratica(dtPratica); - } - } - - @Override - public String getUuid() { - if (_uuid == null) { - return StringPool.BLANK; - } - else { - return _uuid; - } - } - - @Override - public void setUuid(String uuid) { - if (_originalUuid == null) { - _originalUuid = _uuid; - } - - _uuid = uuid; - } - - public String getOriginalUuid() { - return GetterUtil.getString(_originalUuid); - } - - @Override - public long getIntPraticaId() { - return _intPraticaId; - } - - @Override - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _columnBitmask |= COMPANYID_COLUMN_BITMASK; - - if (!_setOriginalCompanyId) { - _setOriginalCompanyId = true; - - _originalCompanyId = _companyId; - } - - _companyId = companyId; - } - - public long getOriginalCompanyId() { - return _originalCompanyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _columnBitmask |= GROUPID_COLUMN_BITMASK; - - if (!_setOriginalGroupId) { - _setOriginalGroupId = true; - - _originalGroupId = _groupId; - } - - _groupId = groupId; - } - - public long getOriginalGroupId() { - return _originalGroupId; - } - - @Override - public long getTipoPraticaId() { - return _tipoPraticaId; - } - - @Override - public void setTipoPraticaId(long tipoPraticaId) { - _tipoPraticaId = tipoPraticaId; - } - - @Override - public long getTerritorioId() { - return _territorioId; - } - - @Override - public void setTerritorioId(long territorioId) { - _columnBitmask |= TERRITORIOID_COLUMN_BITMASK; - - if (!_setOriginalTerritorioId) { - _setOriginalTerritorioId = true; - - _originalTerritorioId = _territorioId; - } - - _territorioId = territorioId; - } - - public long getOriginalTerritorioId() { - return _originalTerritorioId; - } - - @Override - public String getDestinazione() { - if (_destinazione == null) { - return StringPool.BLANK; - } - else { - return _destinazione; - } - } - - @Override - public void setDestinazione(String destinazione) { - _destinazione = destinazione; - } - - @Override - public String getTipologiaSistemaCostruttivo() { - if (_tipologiaSistemaCostruttivo == null) { - return StringPool.BLANK; - } - else { - return _tipologiaSistemaCostruttivo; - } - } - - @Override - public void setTipologiaSistemaCostruttivo( - String tipologiaSistemaCostruttivo) { - _tipologiaSistemaCostruttivo = tipologiaSistemaCostruttivo; - } - - @Override - public String getAg() { - if (_ag == null) { - return StringPool.BLANK; - } - else { - return _ag; - } - } - - @Override - public void setAg(String ag) { - _ag = ag; - } - - @Override - public String getDescLongIntervento() { - if (_descLongIntervento == null) { - return StringPool.BLANK; - } - else { - return _descLongIntervento; - } - } - - @Override - public void setDescLongIntervento(String descLongIntervento) { - _descLongIntervento = descLongIntervento; - } - - @Override - public String getVia() { - if (_via == null) { - return StringPool.BLANK; - } - else { - return _via; - } - } - - @Override - public void setVia(String via) { - _via = via; - } - - @Override - public String getLocalita() { - if (_localita == null) { - return StringPool.BLANK; - } - else { - return _localita; - } - } - - @Override - public void setLocalita(String localita) { - _localita = localita; - } - - @Override - public String getEstremiCatastali() { - if (_estremiCatastali == null) { - return StringPool.BLANK; - } - else { - return _estremiCatastali; - } - } - - @Override - public void setEstremiCatastali(String estremiCatastali) { - _estremiCatastali = estremiCatastali; - } - - @Override - public String getEstremiPratCom() { - if (_estremiPratCom == null) { - return StringPool.BLANK; - } - else { - return _estremiPratCom; - } - } - - @Override - public void setEstremiPratCom(String estremiPratCom) { - _estremiPratCom = estremiPratCom; - } - - @Override - public Date getDtSorteggio() { - return _dtSorteggio; - } - - @Override - public void setDtSorteggio(Date dtSorteggio) { - _dtSorteggio = dtSorteggio; - } - - @Override - public String getStatoPratica() { - if (_statoPratica == null) { - return StringPool.BLANK; - } - else { - return _statoPratica; - } - } - - @Override - public void setStatoPratica(String statoPratica) { - _statoPratica = statoPratica; - } - - @Override - public String getNumeroProgetto() { - if (_numeroProgetto == null) { - return StringPool.BLANK; - } - else { - return _numeroProgetto; - } - } - - @Override - public void setNumeroProgetto(String numeroProgetto) { - _columnBitmask |= NUMEROPROGETTO_COLUMN_BITMASK; - - if (_originalNumeroProgetto == null) { - _originalNumeroProgetto = _numeroProgetto; - } - - _numeroProgetto = numeroProgetto; - } - - public String getOriginalNumeroProgetto() { - return GetterUtil.getString(_originalNumeroProgetto); - } - - @Override - public boolean getValidata() { - return _validata; - } - - @Override - public boolean isValidata() { - return _validata; - } - - @Override - public void setValidata(boolean validata) { - _columnBitmask |= VALIDATA_COLUMN_BITMASK; - - if (!_setOriginalValidata) { - _setOriginalValidata = true; - - _originalValidata = _validata; - } - - _validata = validata; - } - - public boolean getOriginalValidata() { - return _originalValidata; - } - - @Override - public long getVariataDa() { - return _variataDa; - } - - @Override - public void setVariataDa(long variataDa) { - _columnBitmask |= VARIATADA_COLUMN_BITMASK; - - if (!_setOriginalVariataDa) { - _setOriginalVariataDa = true; - - _originalVariataDa = _variataDa; - } - - _variataDa = variataDa; - } - - public long getOriginalVariataDa() { - return _originalVariataDa; - } - - @Override - public long getVarianteNumero() { - return _varianteNumero; - } - - @Override - public void setVarianteNumero(long varianteNumero) { - _columnBitmask |= VARIANTENUMERO_COLUMN_BITMASK; - - if (!_setOriginalVarianteNumero) { - _setOriginalVarianteNumero = true; - - _originalVarianteNumero = _varianteNumero; - } - - _varianteNumero = varianteNumero; - } - - public long getOriginalVarianteNumero() { - return _originalVarianteNumero; - } - - @Override - public boolean getVarianteSostanziale() { - return _varianteSostanziale; - } - - @Override - public boolean isVarianteSostanziale() { - return _varianteSostanziale; - } - - @Override - public void setVarianteSostanziale(boolean varianteSostanziale) { - _varianteSostanziale = varianteSostanziale; - } - - @Override - public boolean getOperaConforme() { - return _operaConforme; - } - - @Override - public boolean isOperaConforme() { - return _operaConforme; - } - - @Override - public void setOperaConforme(boolean operaConforme) { - _operaConforme = operaConforme; - } - - @Override - public long getTipoPraticaIdSanatoria() { - return _tipoPraticaIdSanatoria; - } - - @Override - public void setTipoPraticaIdSanatoria(long tipoPraticaIdSanatoria) { - _tipoPraticaIdSanatoria = tipoPraticaIdSanatoria; - } - - @Override - public int getStatus() { - return _status; - } - - @Override - public void setStatus(int status) { - _status = status; - } - - @Override - public long getStatusByUserId() { - return _statusByUserId; - } - - @Override - public void setStatusByUserId(long statusByUserId) { - _statusByUserId = statusByUserId; - } - - @Override - public String getStatusByUserUuid() throws SystemException { - return PortalUtil.getUserValue(getStatusByUserId(), "uuid", - _statusByUserUuid); - } - - @Override - public void setStatusByUserUuid(String statusByUserUuid) { - _statusByUserUuid = statusByUserUuid; - } - - @Override - public Date getStatusDate() { - return _statusDate; - } - - @Override - public void setStatusDate(Date statusDate) { - _statusDate = statusDate; - } - - @Override - public String getStatoPraticaWorkflow() { - if (_statoPraticaWorkflow == null) { - return StringPool.BLANK; - } - else { - return _statoPraticaWorkflow; - } - } - - @Override - public void setStatoPraticaWorkflow(String statoPraticaWorkflow) { - _statoPraticaWorkflow = statoPraticaWorkflow; - } - - @Override - public int getEsitoControllo() { - return _esitoControllo; - } - - @Override - public void setEsitoControllo(int esitoControllo) { - _esitoControllo = esitoControllo; - } - - @Override - public boolean getCollaudoStatico() { - return _collaudoStatico; - } - - @Override - public boolean isCollaudoStatico() { - return _collaudoStatico; - } - - @Override - public void setCollaudoStatico(boolean collaudoStatico) { - _collaudoStatico = collaudoStatico; - } - - @Override - public boolean getCollaudoStaticoAgtSanatoria() { - return _collaudoStaticoAgtSanatoria; - } - - @Override - public boolean isCollaudoStaticoAgtSanatoria() { - return _collaudoStaticoAgtSanatoria; - } - - @Override - public void setCollaudoStaticoAgtSanatoria( - boolean collaudoStaticoAgtSanatoria) { - _collaudoStaticoAgtSanatoria = collaudoStaticoAgtSanatoria; - } - - @Override - public String getCodiceFiscaleDelegato() { - if (_codiceFiscaleDelegato == null) { - return StringPool.BLANK; - } - else { - return _codiceFiscaleDelegato; - } - } - - @Override - public void setCodiceFiscaleDelegato(String codiceFiscaleDelegato) { - _codiceFiscaleDelegato = codiceFiscaleDelegato; - } - - @Override - public String getCodiceRuoloDelegato() { - if (_codiceRuoloDelegato == null) { - return StringPool.BLANK; - } - else { - return _codiceRuoloDelegato; - } - } - - @Override - public void setCodiceRuoloDelegato(String codiceRuoloDelegato) { - _codiceRuoloDelegato = codiceRuoloDelegato; - } - - @Override - public boolean getLavoriInEconomiaCommittente() { - return _lavoriInEconomiaCommittente; - } - - @Override - public boolean isLavoriInEconomiaCommittente() { - return _lavoriInEconomiaCommittente; - } - - @Override - public void setLavoriInEconomiaCommittente( - boolean lavoriInEconomiaCommittente) { - _lavoriInEconomiaCommittente = lavoriInEconomiaCommittente; - } - - @Override - public String getNomeUtenteSuap() { - if (_nomeUtenteSuap == null) { - return StringPool.BLANK; - } - else { - return _nomeUtenteSuap; - } - } - - @Override - public void setNomeUtenteSuap(String nomeUtenteSuap) { - _nomeUtenteSuap = nomeUtenteSuap; - } - - @Override - public String getCognomeUtenteSuap() { - if (_cognomeUtenteSuap == null) { - return StringPool.BLANK; - } - else { - return _cognomeUtenteSuap; - } - } - - @Override - public void setCognomeUtenteSuap(String cognomeUtenteSuap) { - _cognomeUtenteSuap = cognomeUtenteSuap; - } - - @Override - public String getCodiceFiscaleUtenteSuap() { - if (_codiceFiscaleUtenteSuap == null) { - return StringPool.BLANK; - } - else { - return _codiceFiscaleUtenteSuap; - } - } - - @Override - public void setCodiceFiscaleUtenteSuap(String codiceFiscaleUtenteSuap) { - _codiceFiscaleUtenteSuap = codiceFiscaleUtenteSuap; - } - - @Override - public boolean getInizioLavoriContestualeOpera() { - return _inizioLavoriContestualeOpera; - } - - @Override - public boolean isInizioLavoriContestualeOpera() { - return _inizioLavoriContestualeOpera; - } - - @Override - public void setInizioLavoriContestualeOpera( - boolean inizioLavoriContestualeOpera) { - _inizioLavoriContestualeOpera = inizioLavoriContestualeOpera; - } - - @Override - public Date getDataInizioLavoriOpera() { - return _dataInizioLavoriOpera; - } - - @Override - public void setDataInizioLavoriOpera(Date dataInizioLavoriOpera) { - _dataInizioLavoriOpera = dataInizioLavoriOpera; - } - - @Override - public Date getDataInizioEsecuzioneOpera() { - return _dataInizioEsecuzioneOpera; - } - - @Override - public void setDataInizioEsecuzioneOpera(Date dataInizioEsecuzioneOpera) { - _dataInizioEsecuzioneOpera = dataInizioEsecuzioneOpera; - } - - @Override - public Date getDataFineEsecuzioneOpera() { - return _dataFineEsecuzioneOpera; - } - - @Override - public void setDataFineEsecuzioneOpera(Date dataFineEsecuzioneOpera) { - _dataFineEsecuzioneOpera = dataFineEsecuzioneOpera; - } - - @Override - public String getMetratura() { - if (_metratura == null) { - return StringPool.BLANK; - } - else { - return _metratura; - } - } - - @Override - public void setMetratura(String metratura) { - _metratura = metratura; - } - - @Override - public boolean getLavoriPubblici() { - return _lavoriPubblici; - } - - @Override - public boolean isLavoriPubblici() { - return _lavoriPubblici; - } - - @Override - public void setLavoriPubblici(boolean lavoriPubblici) { - _lavoriPubblici = lavoriPubblici; - } - - @Override - public Date getDtPratica() { - return _dtPratica; - } - - @Override - public void setDtPratica(Date dtPratica) { - _dtPratica = dtPratica; - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoIntPratica.class.getName())); - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - BoIntPratica.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public BoIntPratica toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (BoIntPratica)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - BoIntPraticaImpl boIntPraticaImpl = new BoIntPraticaImpl(); - - boIntPraticaImpl.setUuid(getUuid()); - boIntPraticaImpl.setIntPraticaId(getIntPraticaId()); - boIntPraticaImpl.setCompanyId(getCompanyId()); - boIntPraticaImpl.setUserId(getUserId()); - boIntPraticaImpl.setUserName(getUserName()); - boIntPraticaImpl.setCreateDate(getCreateDate()); - boIntPraticaImpl.setModifiedDate(getModifiedDate()); - boIntPraticaImpl.setGroupId(getGroupId()); - boIntPraticaImpl.setTipoPraticaId(getTipoPraticaId()); - boIntPraticaImpl.setTerritorioId(getTerritorioId()); - boIntPraticaImpl.setDestinazione(getDestinazione()); - boIntPraticaImpl.setTipologiaSistemaCostruttivo(getTipologiaSistemaCostruttivo()); - boIntPraticaImpl.setAg(getAg()); - boIntPraticaImpl.setDescLongIntervento(getDescLongIntervento()); - boIntPraticaImpl.setVia(getVia()); - boIntPraticaImpl.setLocalita(getLocalita()); - boIntPraticaImpl.setEstremiCatastali(getEstremiCatastali()); - boIntPraticaImpl.setEstremiPratCom(getEstremiPratCom()); - boIntPraticaImpl.setDtSorteggio(getDtSorteggio()); - boIntPraticaImpl.setStatoPratica(getStatoPratica()); - boIntPraticaImpl.setNumeroProgetto(getNumeroProgetto()); - boIntPraticaImpl.setValidata(getValidata()); - boIntPraticaImpl.setVariataDa(getVariataDa()); - boIntPraticaImpl.setVarianteNumero(getVarianteNumero()); - boIntPraticaImpl.setVarianteSostanziale(getVarianteSostanziale()); - boIntPraticaImpl.setOperaConforme(getOperaConforme()); - boIntPraticaImpl.setTipoPraticaIdSanatoria(getTipoPraticaIdSanatoria()); - boIntPraticaImpl.setStatus(getStatus()); - boIntPraticaImpl.setStatusByUserId(getStatusByUserId()); - boIntPraticaImpl.setStatusDate(getStatusDate()); - boIntPraticaImpl.setStatoPraticaWorkflow(getStatoPraticaWorkflow()); - boIntPraticaImpl.setEsitoControllo(getEsitoControllo()); - boIntPraticaImpl.setCollaudoStatico(getCollaudoStatico()); - boIntPraticaImpl.setCollaudoStaticoAgtSanatoria(getCollaudoStaticoAgtSanatoria()); - boIntPraticaImpl.setCodiceFiscaleDelegato(getCodiceFiscaleDelegato()); - boIntPraticaImpl.setCodiceRuoloDelegato(getCodiceRuoloDelegato()); - boIntPraticaImpl.setLavoriInEconomiaCommittente(getLavoriInEconomiaCommittente()); - boIntPraticaImpl.setNomeUtenteSuap(getNomeUtenteSuap()); - boIntPraticaImpl.setCognomeUtenteSuap(getCognomeUtenteSuap()); - boIntPraticaImpl.setCodiceFiscaleUtenteSuap(getCodiceFiscaleUtenteSuap()); - boIntPraticaImpl.setInizioLavoriContestualeOpera(getInizioLavoriContestualeOpera()); - boIntPraticaImpl.setDataInizioLavoriOpera(getDataInizioLavoriOpera()); - boIntPraticaImpl.setDataInizioEsecuzioneOpera(getDataInizioEsecuzioneOpera()); - boIntPraticaImpl.setDataFineEsecuzioneOpera(getDataFineEsecuzioneOpera()); - boIntPraticaImpl.setMetratura(getMetratura()); - boIntPraticaImpl.setLavoriPubblici(getLavoriPubblici()); - boIntPraticaImpl.setDtPratica(getDtPratica()); - - boIntPraticaImpl.resetOriginalValues(); - - return boIntPraticaImpl; - } - - @Override - public int compareTo(BoIntPratica boIntPratica) { - long primaryKey = boIntPratica.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoIntPratica)) { - return false; - } - - BoIntPratica boIntPratica = (BoIntPratica)obj; - - long primaryKey = boIntPratica.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - BoIntPraticaModelImpl boIntPraticaModelImpl = this; - - boIntPraticaModelImpl._originalUuid = boIntPraticaModelImpl._uuid; - - boIntPraticaModelImpl._originalCompanyId = boIntPraticaModelImpl._companyId; - - boIntPraticaModelImpl._setOriginalCompanyId = false; - - boIntPraticaModelImpl._originalGroupId = boIntPraticaModelImpl._groupId; - - boIntPraticaModelImpl._setOriginalGroupId = false; - - boIntPraticaModelImpl._originalTerritorioId = boIntPraticaModelImpl._territorioId; - - boIntPraticaModelImpl._setOriginalTerritorioId = false; - - boIntPraticaModelImpl._originalNumeroProgetto = boIntPraticaModelImpl._numeroProgetto; - - boIntPraticaModelImpl._originalValidata = boIntPraticaModelImpl._validata; - - boIntPraticaModelImpl._setOriginalValidata = false; - - boIntPraticaModelImpl._originalVariataDa = boIntPraticaModelImpl._variataDa; - - boIntPraticaModelImpl._setOriginalVariataDa = false; - - boIntPraticaModelImpl._originalVarianteNumero = boIntPraticaModelImpl._varianteNumero; - - boIntPraticaModelImpl._setOriginalVarianteNumero = false; - - boIntPraticaModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - BoIntPraticaCacheModel boIntPraticaCacheModel = new BoIntPraticaCacheModel(); - - boIntPraticaCacheModel.uuid = getUuid(); - - String uuid = boIntPraticaCacheModel.uuid; - - if ((uuid != null) && (uuid.length() == 0)) { - boIntPraticaCacheModel.uuid = null; - } - - boIntPraticaCacheModel.intPraticaId = getIntPraticaId(); - - boIntPraticaCacheModel.companyId = getCompanyId(); - - boIntPraticaCacheModel.userId = getUserId(); - - boIntPraticaCacheModel.userName = getUserName(); - - String userName = boIntPraticaCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - boIntPraticaCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - boIntPraticaCacheModel.createDate = createDate.getTime(); - } - else { - boIntPraticaCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - boIntPraticaCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - boIntPraticaCacheModel.modifiedDate = Long.MIN_VALUE; - } - - boIntPraticaCacheModel.groupId = getGroupId(); - - boIntPraticaCacheModel.tipoPraticaId = getTipoPraticaId(); - - boIntPraticaCacheModel.territorioId = getTerritorioId(); - - boIntPraticaCacheModel.destinazione = getDestinazione(); - - String destinazione = boIntPraticaCacheModel.destinazione; - - if ((destinazione != null) && (destinazione.length() == 0)) { - boIntPraticaCacheModel.destinazione = null; - } - - boIntPraticaCacheModel.tipologiaSistemaCostruttivo = getTipologiaSistemaCostruttivo(); - - String tipologiaSistemaCostruttivo = boIntPraticaCacheModel.tipologiaSistemaCostruttivo; - - if ((tipologiaSistemaCostruttivo != null) && - (tipologiaSistemaCostruttivo.length() == 0)) { - boIntPraticaCacheModel.tipologiaSistemaCostruttivo = null; - } - - boIntPraticaCacheModel.ag = getAg(); - - String ag = boIntPraticaCacheModel.ag; - - if ((ag != null) && (ag.length() == 0)) { - boIntPraticaCacheModel.ag = null; - } - - boIntPraticaCacheModel.descLongIntervento = getDescLongIntervento(); - - String descLongIntervento = boIntPraticaCacheModel.descLongIntervento; - - if ((descLongIntervento != null) && (descLongIntervento.length() == 0)) { - boIntPraticaCacheModel.descLongIntervento = null; - } - - boIntPraticaCacheModel.via = getVia(); - - String via = boIntPraticaCacheModel.via; - - if ((via != null) && (via.length() == 0)) { - boIntPraticaCacheModel.via = null; - } - - boIntPraticaCacheModel.localita = getLocalita(); - - String localita = boIntPraticaCacheModel.localita; - - if ((localita != null) && (localita.length() == 0)) { - boIntPraticaCacheModel.localita = null; - } - - boIntPraticaCacheModel.estremiCatastali = getEstremiCatastali(); - - String estremiCatastali = boIntPraticaCacheModel.estremiCatastali; - - if ((estremiCatastali != null) && (estremiCatastali.length() == 0)) { - boIntPraticaCacheModel.estremiCatastali = null; - } - - boIntPraticaCacheModel.estremiPratCom = getEstremiPratCom(); - - String estremiPratCom = boIntPraticaCacheModel.estremiPratCom; - - if ((estremiPratCom != null) && (estremiPratCom.length() == 0)) { - boIntPraticaCacheModel.estremiPratCom = null; - } - - Date dtSorteggio = getDtSorteggio(); - - if (dtSorteggio != null) { - boIntPraticaCacheModel.dtSorteggio = dtSorteggio.getTime(); - } - else { - boIntPraticaCacheModel.dtSorteggio = Long.MIN_VALUE; - } - - boIntPraticaCacheModel.statoPratica = getStatoPratica(); - - String statoPratica = boIntPraticaCacheModel.statoPratica; - - if ((statoPratica != null) && (statoPratica.length() == 0)) { - boIntPraticaCacheModel.statoPratica = null; - } - - boIntPraticaCacheModel.numeroProgetto = getNumeroProgetto(); - - String numeroProgetto = boIntPraticaCacheModel.numeroProgetto; - - if ((numeroProgetto != null) && (numeroProgetto.length() == 0)) { - boIntPraticaCacheModel.numeroProgetto = null; - } - - boIntPraticaCacheModel.validata = getValidata(); - - boIntPraticaCacheModel.variataDa = getVariataDa(); - - boIntPraticaCacheModel.varianteNumero = getVarianteNumero(); - - boIntPraticaCacheModel.varianteSostanziale = getVarianteSostanziale(); - - boIntPraticaCacheModel.operaConforme = getOperaConforme(); - - boIntPraticaCacheModel.tipoPraticaIdSanatoria = getTipoPraticaIdSanatoria(); - - boIntPraticaCacheModel.status = getStatus(); - - boIntPraticaCacheModel.statusByUserId = getStatusByUserId(); - - Date statusDate = getStatusDate(); - - if (statusDate != null) { - boIntPraticaCacheModel.statusDate = statusDate.getTime(); - } - else { - boIntPraticaCacheModel.statusDate = Long.MIN_VALUE; - } - - boIntPraticaCacheModel.statoPraticaWorkflow = getStatoPraticaWorkflow(); - - String statoPraticaWorkflow = boIntPraticaCacheModel.statoPraticaWorkflow; - - if ((statoPraticaWorkflow != null) && - (statoPraticaWorkflow.length() == 0)) { - boIntPraticaCacheModel.statoPraticaWorkflow = null; - } - - boIntPraticaCacheModel.esitoControllo = getEsitoControllo(); - - boIntPraticaCacheModel.collaudoStatico = getCollaudoStatico(); - - boIntPraticaCacheModel.collaudoStaticoAgtSanatoria = getCollaudoStaticoAgtSanatoria(); - - boIntPraticaCacheModel.codiceFiscaleDelegato = getCodiceFiscaleDelegato(); - - String codiceFiscaleDelegato = boIntPraticaCacheModel.codiceFiscaleDelegato; - - if ((codiceFiscaleDelegato != null) && - (codiceFiscaleDelegato.length() == 0)) { - boIntPraticaCacheModel.codiceFiscaleDelegato = null; - } - - boIntPraticaCacheModel.codiceRuoloDelegato = getCodiceRuoloDelegato(); - - String codiceRuoloDelegato = boIntPraticaCacheModel.codiceRuoloDelegato; - - if ((codiceRuoloDelegato != null) && - (codiceRuoloDelegato.length() == 0)) { - boIntPraticaCacheModel.codiceRuoloDelegato = null; - } - - boIntPraticaCacheModel.lavoriInEconomiaCommittente = getLavoriInEconomiaCommittente(); - - boIntPraticaCacheModel.nomeUtenteSuap = getNomeUtenteSuap(); - - String nomeUtenteSuap = boIntPraticaCacheModel.nomeUtenteSuap; - - if ((nomeUtenteSuap != null) && (nomeUtenteSuap.length() == 0)) { - boIntPraticaCacheModel.nomeUtenteSuap = null; - } - - boIntPraticaCacheModel.cognomeUtenteSuap = getCognomeUtenteSuap(); - - String cognomeUtenteSuap = boIntPraticaCacheModel.cognomeUtenteSuap; - - if ((cognomeUtenteSuap != null) && (cognomeUtenteSuap.length() == 0)) { - boIntPraticaCacheModel.cognomeUtenteSuap = null; - } - - boIntPraticaCacheModel.codiceFiscaleUtenteSuap = getCodiceFiscaleUtenteSuap(); - - String codiceFiscaleUtenteSuap = boIntPraticaCacheModel.codiceFiscaleUtenteSuap; - - if ((codiceFiscaleUtenteSuap != null) && - (codiceFiscaleUtenteSuap.length() == 0)) { - boIntPraticaCacheModel.codiceFiscaleUtenteSuap = null; - } - - boIntPraticaCacheModel.inizioLavoriContestualeOpera = getInizioLavoriContestualeOpera(); - - Date dataInizioLavoriOpera = getDataInizioLavoriOpera(); - - if (dataInizioLavoriOpera != null) { - boIntPraticaCacheModel.dataInizioLavoriOpera = dataInizioLavoriOpera.getTime(); - } - else { - boIntPraticaCacheModel.dataInizioLavoriOpera = Long.MIN_VALUE; - } - - Date dataInizioEsecuzioneOpera = getDataInizioEsecuzioneOpera(); - - if (dataInizioEsecuzioneOpera != null) { - boIntPraticaCacheModel.dataInizioEsecuzioneOpera = dataInizioEsecuzioneOpera.getTime(); - } - else { - boIntPraticaCacheModel.dataInizioEsecuzioneOpera = Long.MIN_VALUE; - } - - Date dataFineEsecuzioneOpera = getDataFineEsecuzioneOpera(); - - if (dataFineEsecuzioneOpera != null) { - boIntPraticaCacheModel.dataFineEsecuzioneOpera = dataFineEsecuzioneOpera.getTime(); - } - else { - boIntPraticaCacheModel.dataFineEsecuzioneOpera = Long.MIN_VALUE; - } - - boIntPraticaCacheModel.metratura = getMetratura(); - - String metratura = boIntPraticaCacheModel.metratura; - - if ((metratura != null) && (metratura.length() == 0)) { - boIntPraticaCacheModel.metratura = null; - } - - boIntPraticaCacheModel.lavoriPubblici = getLavoriPubblici(); - - Date dtPratica = getDtPratica(); - - if (dtPratica != null) { - boIntPraticaCacheModel.dtPratica = dtPratica.getTime(); - } - else { - boIntPraticaCacheModel.dtPratica = Long.MIN_VALUE; - } - - return boIntPraticaCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(95); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", intPraticaId="); - sb.append(getIntPraticaId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", tipoPraticaId="); - sb.append(getTipoPraticaId()); - sb.append(", territorioId="); - sb.append(getTerritorioId()); - sb.append(", destinazione="); - sb.append(getDestinazione()); - sb.append(", tipologiaSistemaCostruttivo="); - sb.append(getTipologiaSistemaCostruttivo()); - sb.append(", ag="); - sb.append(getAg()); - sb.append(", descLongIntervento="); - sb.append(getDescLongIntervento()); - sb.append(", via="); - sb.append(getVia()); - sb.append(", localita="); - sb.append(getLocalita()); - sb.append(", estremiCatastali="); - sb.append(getEstremiCatastali()); - sb.append(", estremiPratCom="); - sb.append(getEstremiPratCom()); - sb.append(", dtSorteggio="); - sb.append(getDtSorteggio()); - sb.append(", statoPratica="); - sb.append(getStatoPratica()); - sb.append(", numeroProgetto="); - sb.append(getNumeroProgetto()); - sb.append(", validata="); - sb.append(getValidata()); - sb.append(", variataDa="); - sb.append(getVariataDa()); - sb.append(", varianteNumero="); - sb.append(getVarianteNumero()); - sb.append(", varianteSostanziale="); - sb.append(getVarianteSostanziale()); - sb.append(", operaConforme="); - sb.append(getOperaConforme()); - sb.append(", tipoPraticaIdSanatoria="); - sb.append(getTipoPraticaIdSanatoria()); - sb.append(", status="); - sb.append(getStatus()); - sb.append(", statusByUserId="); - sb.append(getStatusByUserId()); - sb.append(", statusDate="); - sb.append(getStatusDate()); - sb.append(", statoPraticaWorkflow="); - sb.append(getStatoPraticaWorkflow()); - sb.append(", esitoControllo="); - sb.append(getEsitoControllo()); - sb.append(", collaudoStatico="); - sb.append(getCollaudoStatico()); - sb.append(", collaudoStaticoAgtSanatoria="); - sb.append(getCollaudoStaticoAgtSanatoria()); - sb.append(", codiceFiscaleDelegato="); - sb.append(getCodiceFiscaleDelegato()); - sb.append(", codiceRuoloDelegato="); - sb.append(getCodiceRuoloDelegato()); - sb.append(", lavoriInEconomiaCommittente="); - sb.append(getLavoriInEconomiaCommittente()); - sb.append(", nomeUtenteSuap="); - sb.append(getNomeUtenteSuap()); - sb.append(", cognomeUtenteSuap="); - sb.append(getCognomeUtenteSuap()); - sb.append(", codiceFiscaleUtenteSuap="); - sb.append(getCodiceFiscaleUtenteSuap()); - sb.append(", inizioLavoriContestualeOpera="); - sb.append(getInizioLavoriContestualeOpera()); - sb.append(", dataInizioLavoriOpera="); - sb.append(getDataInizioLavoriOpera()); - sb.append(", dataInizioEsecuzioneOpera="); - sb.append(getDataInizioEsecuzioneOpera()); - sb.append(", dataFineEsecuzioneOpera="); - sb.append(getDataFineEsecuzioneOpera()); - sb.append(", metratura="); - sb.append(getMetratura()); - sb.append(", lavoriPubblici="); - sb.append(getLavoriPubblici()); - sb.append(", dtPratica="); - sb.append(getDtPratica()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(145); - - sb.append(""); - sb.append("it.tref.liferay.portos.portosimport.model.BoIntPratica"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "intPraticaId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "tipoPraticaId"); - sb.append( - "territorioId"); - sb.append( - "destinazione"); - sb.append( - "tipologiaSistemaCostruttivo"); - sb.append( - "ag"); - sb.append( - "descLongIntervento"); - sb.append( - "via"); - sb.append( - "localita"); - sb.append( - "estremiCatastali"); - sb.append( - "estremiPratCom"); - sb.append( - "dtSorteggio"); - sb.append( - "statoPratica"); - sb.append( - "numeroProgetto"); - sb.append( - "validata"); - sb.append( - "variataDa"); - sb.append( - "varianteNumero"); - sb.append( - "varianteSostanziale"); - sb.append( - "operaConforme"); - sb.append( - "tipoPraticaIdSanatoria"); - sb.append( - "status"); - sb.append( - "statusByUserId"); - sb.append( - "statusDate"); - sb.append( - "statoPraticaWorkflow"); - sb.append( - "esitoControllo"); - sb.append( - "collaudoStatico"); - sb.append( - "collaudoStaticoAgtSanatoria"); - sb.append( - "codiceFiscaleDelegato"); - sb.append( - "codiceRuoloDelegato"); - sb.append( - "lavoriInEconomiaCommittente"); - sb.append( - "nomeUtenteSuap"); - sb.append( - "cognomeUtenteSuap"); - sb.append( - "codiceFiscaleUtenteSuap"); - sb.append( - "inizioLavoriContestualeOpera"); - sb.append( - "dataInizioLavoriOpera"); - sb.append( - "dataInizioEsecuzioneOpera"); - sb.append( - "dataFineEsecuzioneOpera"); - sb.append( - "metratura"); - sb.append( - "lavoriPubblici"); - sb.append( - "dtPratica"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = BoIntPratica.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - BoIntPratica.class - }; - private String _uuid; - private String _originalUuid; - private long _intPraticaId; - private long _companyId; - private long _originalCompanyId; - private boolean _setOriginalCompanyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _originalGroupId; - private boolean _setOriginalGroupId; - private long _tipoPraticaId; - private long _territorioId; - private long _originalTerritorioId; - private boolean _setOriginalTerritorioId; - private String _destinazione; - private String _tipologiaSistemaCostruttivo; - private String _ag; - private String _descLongIntervento; - private String _via; - private String _localita; - private String _estremiCatastali; - private String _estremiPratCom; - private Date _dtSorteggio; - private String _statoPratica; - private String _numeroProgetto; - private String _originalNumeroProgetto; - private boolean _validata; - private boolean _originalValidata; - private boolean _setOriginalValidata; - private long _variataDa; - private long _originalVariataDa; - private boolean _setOriginalVariataDa; - private long _varianteNumero; - private long _originalVarianteNumero; - private boolean _setOriginalVarianteNumero; - private boolean _varianteSostanziale; - private boolean _operaConforme; - private long _tipoPraticaIdSanatoria; - private int _status; - private long _statusByUserId; - private String _statusByUserUuid; - private Date _statusDate; - private String _statoPraticaWorkflow; - private int _esitoControllo; - private boolean _collaudoStatico; - private boolean _collaudoStaticoAgtSanatoria; - private String _codiceFiscaleDelegato; - private String _codiceRuoloDelegato; - private boolean _lavoriInEconomiaCommittente; - private String _nomeUtenteSuap; - private String _cognomeUtenteSuap; - private String _codiceFiscaleUtenteSuap; - private boolean _inizioLavoriContestualeOpera; - private Date _dataInizioLavoriOpera; - private Date _dataInizioEsecuzioneOpera; - private Date _dataFineEsecuzioneOpera; - private String _metratura; - private boolean _lavoriPubblici; - private Date _dtPratica; - private long _columnBitmask; - private BoIntPratica _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoProblemiPraticaBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoProblemiPraticaBaseImpl.java deleted file mode 100644 index ad7172fd..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoProblemiPraticaBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.BoProblemiPratica; -import it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalServiceUtil; - -/** - * The extended model base implementation for the BoProblemiPratica service. Represents a row in the "gc_problemipratica" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoProblemiPraticaImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoProblemiPraticaImpl - * @see it.tref.liferay.portos.portosimport.model.BoProblemiPratica - * @generated - */ -public abstract class BoProblemiPraticaBaseImpl - extends BoProblemiPraticaModelImpl implements BoProblemiPratica { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo problemi pratica model instance should use the {@link BoProblemiPratica} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoProblemiPraticaLocalServiceUtil.addBoProblemiPratica(this); - } - else { - BoProblemiPraticaLocalServiceUtil.updateBoProblemiPratica(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoProblemiPraticaCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoProblemiPraticaCacheModel.java deleted file mode 100644 index e643f560..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoProblemiPraticaCacheModel.java +++ /dev/null @@ -1,159 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.portosimport.model.BoProblemiPratica; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing BoProblemiPratica in entity cache. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoProblemiPratica - * @generated - */ -public class BoProblemiPraticaCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(19); - - sb.append("{problemiPraticaId="); - sb.append(problemiPraticaId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", dettPraticaId="); - sb.append(dettPraticaId); - sb.append(", jsonError="); - sb.append(jsonError); - sb.append("}"); - - return sb.toString(); - } - - @Override - public BoProblemiPratica toEntityModel() { - BoProblemiPraticaImpl boProblemiPraticaImpl = new BoProblemiPraticaImpl(); - - boProblemiPraticaImpl.setProblemiPraticaId(problemiPraticaId); - boProblemiPraticaImpl.setCompanyId(companyId); - boProblemiPraticaImpl.setUserId(userId); - - if (userName == null) { - boProblemiPraticaImpl.setUserName(StringPool.BLANK); - } - else { - boProblemiPraticaImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - boProblemiPraticaImpl.setCreateDate(null); - } - else { - boProblemiPraticaImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - boProblemiPraticaImpl.setModifiedDate(null); - } - else { - boProblemiPraticaImpl.setModifiedDate(new Date(modifiedDate)); - } - - boProblemiPraticaImpl.setGroupId(groupId); - boProblemiPraticaImpl.setDettPraticaId(dettPraticaId); - - if (jsonError == null) { - boProblemiPraticaImpl.setJsonError(StringPool.BLANK); - } - else { - boProblemiPraticaImpl.setJsonError(jsonError); - } - - boProblemiPraticaImpl.resetOriginalValues(); - - return boProblemiPraticaImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - problemiPraticaId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - groupId = objectInput.readLong(); - dettPraticaId = objectInput.readLong(); - jsonError = objectInput.readUTF(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - objectOutput.writeLong(problemiPraticaId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeLong(groupId); - objectOutput.writeLong(dettPraticaId); - - if (jsonError == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(jsonError); - } - } - - public long problemiPraticaId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public long groupId; - public long dettPraticaId; - public String jsonError; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoProblemiPraticaImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoProblemiPraticaImpl.java deleted file mode 100644 index dd1b00e3..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoProblemiPraticaImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -/** - * The extended model implementation for the BoProblemiPratica service. Represents a row in the "gc_problemipratica" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.portosimport.model.BoProblemiPratica} interface. - *

- * - * @author Davide Barbagallo, 3F Consulting - */ -public class BoProblemiPraticaImpl extends BoProblemiPraticaBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a bo problemi pratica model instance should use the {@link it.tref.liferay.portos.portosimport.model.BoProblemiPratica} interface instead. - */ - public BoProblemiPraticaImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoProblemiPraticaModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoProblemiPraticaModelImpl.java deleted file mode 100644 index 37ea824c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoProblemiPraticaModelImpl.java +++ /dev/null @@ -1,607 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.portosimport.model.BoProblemiPratica; -import it.tref.liferay.portos.portosimport.model.BoProblemiPraticaModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the BoProblemiPratica service. Represents a row in the "gc_problemipratica" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.portosimport.model.BoProblemiPraticaModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoProblemiPraticaImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoProblemiPraticaImpl - * @see it.tref.liferay.portos.portosimport.model.BoProblemiPratica - * @see it.tref.liferay.portos.portosimport.model.BoProblemiPraticaModel - * @generated - */ -public class BoProblemiPraticaModelImpl extends BaseModelImpl - implements BoProblemiPraticaModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo problemi pratica model instance should use the {@link it.tref.liferay.portos.portosimport.model.BoProblemiPratica} interface instead. - */ - public static final String TABLE_NAME = "gc_problemipratica"; - public static final Object[][] TABLE_COLUMNS = { - { "problemiPraticaId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "groupId", Types.BIGINT }, - { "dettPraticaId", Types.BIGINT }, - { "jsonError", Types.VARCHAR } - }; - public static final String TABLE_SQL_CREATE = "create table gc_problemipratica (problemiPraticaId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,dettPraticaId LONG,jsonError VARCHAR(75) null)"; - public static final String TABLE_SQL_DROP = "drop table gc_problemipratica"; - public static final String ORDER_BY_JPQL = " ORDER BY boProblemiPratica.problemiPraticaId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gc_problemipratica.problemiPraticaId ASC"; - public static final String DATA_SOURCE = "datiPortos1DbDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.portosimport.model.BoProblemiPratica"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.portosimport.model.BoProblemiPratica"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.portosimport.model.BoProblemiPratica"), - true); - public static long COMPANYID_COLUMN_BITMASK = 1L; - public static long DETTPRATICAID_COLUMN_BITMASK = 2L; - public static long GROUPID_COLUMN_BITMASK = 4L; - public static long PROBLEMIPRATICAID_COLUMN_BITMASK = 8L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.portosimport.model.BoProblemiPratica")); - - public BoProblemiPraticaModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _problemiPraticaId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setProblemiPraticaId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _problemiPraticaId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return BoProblemiPratica.class; - } - - @Override - public String getModelClassName() { - return BoProblemiPratica.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("problemiPraticaId", getProblemiPraticaId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("jsonError", getJsonError()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long problemiPraticaId = (Long)attributes.get("problemiPraticaId"); - - if (problemiPraticaId != null) { - setProblemiPraticaId(problemiPraticaId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - String jsonError = (String)attributes.get("jsonError"); - - if (jsonError != null) { - setJsonError(jsonError); - } - } - - @Override - public long getProblemiPraticaId() { - return _problemiPraticaId; - } - - @Override - public void setProblemiPraticaId(long problemiPraticaId) { - _problemiPraticaId = problemiPraticaId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _columnBitmask |= COMPANYID_COLUMN_BITMASK; - - if (!_setOriginalCompanyId) { - _setOriginalCompanyId = true; - - _originalCompanyId = _companyId; - } - - _companyId = companyId; - } - - public long getOriginalCompanyId() { - return _originalCompanyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _columnBitmask |= GROUPID_COLUMN_BITMASK; - - if (!_setOriginalGroupId) { - _setOriginalGroupId = true; - - _originalGroupId = _groupId; - } - - _groupId = groupId; - } - - public long getOriginalGroupId() { - return _originalGroupId; - } - - @Override - public long getDettPraticaId() { - return _dettPraticaId; - } - - @Override - public void setDettPraticaId(long dettPraticaId) { - _columnBitmask |= DETTPRATICAID_COLUMN_BITMASK; - - if (!_setOriginalDettPraticaId) { - _setOriginalDettPraticaId = true; - - _originalDettPraticaId = _dettPraticaId; - } - - _dettPraticaId = dettPraticaId; - } - - public long getOriginalDettPraticaId() { - return _originalDettPraticaId; - } - - @Override - public String getJsonError() { - if (_jsonError == null) { - return StringPool.BLANK; - } - else { - return _jsonError; - } - } - - @Override - public void setJsonError(String jsonError) { - _jsonError = jsonError; - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - BoProblemiPratica.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public BoProblemiPratica toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (BoProblemiPratica)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - BoProblemiPraticaImpl boProblemiPraticaImpl = new BoProblemiPraticaImpl(); - - boProblemiPraticaImpl.setProblemiPraticaId(getProblemiPraticaId()); - boProblemiPraticaImpl.setCompanyId(getCompanyId()); - boProblemiPraticaImpl.setUserId(getUserId()); - boProblemiPraticaImpl.setUserName(getUserName()); - boProblemiPraticaImpl.setCreateDate(getCreateDate()); - boProblemiPraticaImpl.setModifiedDate(getModifiedDate()); - boProblemiPraticaImpl.setGroupId(getGroupId()); - boProblemiPraticaImpl.setDettPraticaId(getDettPraticaId()); - boProblemiPraticaImpl.setJsonError(getJsonError()); - - boProblemiPraticaImpl.resetOriginalValues(); - - return boProblemiPraticaImpl; - } - - @Override - public int compareTo(BoProblemiPratica boProblemiPratica) { - long primaryKey = boProblemiPratica.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoProblemiPratica)) { - return false; - } - - BoProblemiPratica boProblemiPratica = (BoProblemiPratica)obj; - - long primaryKey = boProblemiPratica.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - BoProblemiPraticaModelImpl boProblemiPraticaModelImpl = this; - - boProblemiPraticaModelImpl._originalCompanyId = boProblemiPraticaModelImpl._companyId; - - boProblemiPraticaModelImpl._setOriginalCompanyId = false; - - boProblemiPraticaModelImpl._originalGroupId = boProblemiPraticaModelImpl._groupId; - - boProblemiPraticaModelImpl._setOriginalGroupId = false; - - boProblemiPraticaModelImpl._originalDettPraticaId = boProblemiPraticaModelImpl._dettPraticaId; - - boProblemiPraticaModelImpl._setOriginalDettPraticaId = false; - - boProblemiPraticaModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - BoProblemiPraticaCacheModel boProblemiPraticaCacheModel = new BoProblemiPraticaCacheModel(); - - boProblemiPraticaCacheModel.problemiPraticaId = getProblemiPraticaId(); - - boProblemiPraticaCacheModel.companyId = getCompanyId(); - - boProblemiPraticaCacheModel.userId = getUserId(); - - boProblemiPraticaCacheModel.userName = getUserName(); - - String userName = boProblemiPraticaCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - boProblemiPraticaCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - boProblemiPraticaCacheModel.createDate = createDate.getTime(); - } - else { - boProblemiPraticaCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - boProblemiPraticaCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - boProblemiPraticaCacheModel.modifiedDate = Long.MIN_VALUE; - } - - boProblemiPraticaCacheModel.groupId = getGroupId(); - - boProblemiPraticaCacheModel.dettPraticaId = getDettPraticaId(); - - boProblemiPraticaCacheModel.jsonError = getJsonError(); - - String jsonError = boProblemiPraticaCacheModel.jsonError; - - if ((jsonError != null) && (jsonError.length() == 0)) { - boProblemiPraticaCacheModel.jsonError = null; - } - - return boProblemiPraticaCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(19); - - sb.append("{problemiPraticaId="); - sb.append(getProblemiPraticaId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", dettPraticaId="); - sb.append(getDettPraticaId()); - sb.append(", jsonError="); - sb.append(getJsonError()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(31); - - sb.append(""); - sb.append("it.tref.liferay.portos.portosimport.model.BoProblemiPratica"); - sb.append(""); - - sb.append( - "problemiPraticaId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "dettPraticaId"); - sb.append( - "jsonError"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = BoProblemiPratica.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - BoProblemiPratica.class - }; - private long _problemiPraticaId; - private long _companyId; - private long _originalCompanyId; - private boolean _setOriginalCompanyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _originalGroupId; - private boolean _setOriginalGroupId; - private long _dettPraticaId; - private long _originalDettPraticaId; - private boolean _setOriginalDettPraticaId; - private String _jsonError; - private long _columnBitmask; - private BoProblemiPratica _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoRelLeggiPraticaBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoRelLeggiPraticaBaseImpl.java deleted file mode 100644 index 7d129de3..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoRelLeggiPraticaBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica; -import it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalServiceUtil; - -/** - * The extended model base implementation for the BoRelLeggiPratica service. Represents a row in the "gc_relleggipratica" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoRelLeggiPraticaImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoRelLeggiPraticaImpl - * @see it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica - * @generated - */ -public abstract class BoRelLeggiPraticaBaseImpl - extends BoRelLeggiPraticaModelImpl implements BoRelLeggiPratica { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo rel leggi pratica model instance should use the {@link BoRelLeggiPratica} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoRelLeggiPraticaLocalServiceUtil.addBoRelLeggiPratica(this); - } - else { - BoRelLeggiPraticaLocalServiceUtil.updateBoRelLeggiPratica(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoRelLeggiPraticaCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoRelLeggiPraticaCacheModel.java deleted file mode 100644 index 093ebeb1..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoRelLeggiPraticaCacheModel.java +++ /dev/null @@ -1,101 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -/** - * The cache model class for representing BoRelLeggiPratica in entity cache. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoRelLeggiPratica - * @generated - */ -public class BoRelLeggiPraticaCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(9); - - sb.append("{intPraticaId="); - sb.append(intPraticaId); - sb.append(", artLeggeId="); - sb.append(artLeggeId); - sb.append(", selezionato="); - sb.append(selezionato); - sb.append(", valore="); - sb.append(valore); - sb.append("}"); - - return sb.toString(); - } - - @Override - public BoRelLeggiPratica toEntityModel() { - BoRelLeggiPraticaImpl boRelLeggiPraticaImpl = new BoRelLeggiPraticaImpl(); - - boRelLeggiPraticaImpl.setIntPraticaId(intPraticaId); - boRelLeggiPraticaImpl.setArtLeggeId(artLeggeId); - boRelLeggiPraticaImpl.setSelezionato(selezionato); - - if (valore == null) { - boRelLeggiPraticaImpl.setValore(StringPool.BLANK); - } - else { - boRelLeggiPraticaImpl.setValore(valore); - } - - boRelLeggiPraticaImpl.resetOriginalValues(); - - return boRelLeggiPraticaImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - intPraticaId = objectInput.readLong(); - artLeggeId = objectInput.readLong(); - selezionato = objectInput.readBoolean(); - valore = objectInput.readUTF(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - objectOutput.writeLong(intPraticaId); - objectOutput.writeLong(artLeggeId); - objectOutput.writeBoolean(selezionato); - - if (valore == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(valore); - } - } - - public long intPraticaId; - public long artLeggeId; - public boolean selezionato; - public String valore; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoRelLeggiPraticaImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoRelLeggiPraticaImpl.java deleted file mode 100644 index d9c9bbba..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoRelLeggiPraticaImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -/** - * The extended model implementation for the BoRelLeggiPratica service. Represents a row in the "gc_relleggipratica" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica} interface. - *

- * - * @author Davide Barbagallo, 3F Consulting - */ -public class BoRelLeggiPraticaImpl extends BoRelLeggiPraticaBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a bo rel leggi pratica model instance should use the {@link it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica} interface instead. - */ - public BoRelLeggiPraticaImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoRelLeggiPraticaModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoRelLeggiPraticaModelImpl.java deleted file mode 100644 index 55c0db8f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoRelLeggiPraticaModelImpl.java +++ /dev/null @@ -1,390 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; - -import it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica; -import it.tref.liferay.portos.portosimport.model.BoRelLeggiPraticaModel; -import it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the BoRelLeggiPratica service. Represents a row in the "gc_relleggipratica" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.portosimport.model.BoRelLeggiPraticaModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoRelLeggiPraticaImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoRelLeggiPraticaImpl - * @see it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica - * @see it.tref.liferay.portos.portosimport.model.BoRelLeggiPraticaModel - * @generated - */ -public class BoRelLeggiPraticaModelImpl extends BaseModelImpl - implements BoRelLeggiPraticaModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo rel leggi pratica model instance should use the {@link it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica} interface instead. - */ - public static final String TABLE_NAME = "gc_relleggipratica"; - public static final Object[][] TABLE_COLUMNS = { - { "intPraticaId", Types.BIGINT }, - { "artLeggeId", Types.BIGINT }, - { "selezionato", Types.BOOLEAN }, - { "valore", Types.VARCHAR } - }; - public static final String TABLE_SQL_CREATE = "create table gc_relleggipratica (intPraticaId LONG not null,artLeggeId LONG not null,selezionato BOOLEAN,valore VARCHAR(75) null,primary key (intPraticaId, artLeggeId))"; - public static final String TABLE_SQL_DROP = "drop table gc_relleggipratica"; - public static final String ORDER_BY_JPQL = " ORDER BY boRelLeggiPratica.id.intPraticaId ASC, boRelLeggiPratica.id.artLeggeId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gc_relleggipratica.intPraticaId ASC, gc_relleggipratica.artLeggeId ASC"; - public static final String DATA_SOURCE = "datiPortos1DbDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica"), - true); - public static long ARTLEGGEID_COLUMN_BITMASK = 1L; - public static long INTPRATICAID_COLUMN_BITMASK = 2L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica")); - - public BoRelLeggiPraticaModelImpl() { - } - - @Override - public BoRelLeggiPraticaPK getPrimaryKey() { - return new BoRelLeggiPraticaPK(_intPraticaId, _artLeggeId); - } - - @Override - public void setPrimaryKey(BoRelLeggiPraticaPK primaryKey) { - setIntPraticaId(primaryKey.intPraticaId); - setArtLeggeId(primaryKey.artLeggeId); - } - - @Override - public Serializable getPrimaryKeyObj() { - return new BoRelLeggiPraticaPK(_intPraticaId, _artLeggeId); - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey((BoRelLeggiPraticaPK)primaryKeyObj); - } - - @Override - public Class getModelClass() { - return BoRelLeggiPratica.class; - } - - @Override - public String getModelClassName() { - return BoRelLeggiPratica.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("artLeggeId", getArtLeggeId()); - attributes.put("selezionato", getSelezionato()); - attributes.put("valore", getValore()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - Long artLeggeId = (Long)attributes.get("artLeggeId"); - - if (artLeggeId != null) { - setArtLeggeId(artLeggeId); - } - - Boolean selezionato = (Boolean)attributes.get("selezionato"); - - if (selezionato != null) { - setSelezionato(selezionato); - } - - String valore = (String)attributes.get("valore"); - - if (valore != null) { - setValore(valore); - } - } - - @Override - public long getIntPraticaId() { - return _intPraticaId; - } - - @Override - public void setIntPraticaId(long intPraticaId) { - _columnBitmask |= INTPRATICAID_COLUMN_BITMASK; - - if (!_setOriginalIntPraticaId) { - _setOriginalIntPraticaId = true; - - _originalIntPraticaId = _intPraticaId; - } - - _intPraticaId = intPraticaId; - } - - public long getOriginalIntPraticaId() { - return _originalIntPraticaId; - } - - @Override - public long getArtLeggeId() { - return _artLeggeId; - } - - @Override - public void setArtLeggeId(long artLeggeId) { - _columnBitmask |= ARTLEGGEID_COLUMN_BITMASK; - - if (!_setOriginalArtLeggeId) { - _setOriginalArtLeggeId = true; - - _originalArtLeggeId = _artLeggeId; - } - - _artLeggeId = artLeggeId; - } - - public long getOriginalArtLeggeId() { - return _originalArtLeggeId; - } - - @Override - public boolean getSelezionato() { - return _selezionato; - } - - @Override - public boolean isSelezionato() { - return _selezionato; - } - - @Override - public void setSelezionato(boolean selezionato) { - _selezionato = selezionato; - } - - @Override - public String getValore() { - if (_valore == null) { - return StringPool.BLANK; - } - else { - return _valore; - } - } - - @Override - public void setValore(String valore) { - _valore = valore; - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public BoRelLeggiPratica toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (BoRelLeggiPratica)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - BoRelLeggiPraticaImpl boRelLeggiPraticaImpl = new BoRelLeggiPraticaImpl(); - - boRelLeggiPraticaImpl.setIntPraticaId(getIntPraticaId()); - boRelLeggiPraticaImpl.setArtLeggeId(getArtLeggeId()); - boRelLeggiPraticaImpl.setSelezionato(getSelezionato()); - boRelLeggiPraticaImpl.setValore(getValore()); - - boRelLeggiPraticaImpl.resetOriginalValues(); - - return boRelLeggiPraticaImpl; - } - - @Override - public int compareTo(BoRelLeggiPratica boRelLeggiPratica) { - BoRelLeggiPraticaPK primaryKey = boRelLeggiPratica.getPrimaryKey(); - - return getPrimaryKey().compareTo(primaryKey); - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoRelLeggiPratica)) { - return false; - } - - BoRelLeggiPratica boRelLeggiPratica = (BoRelLeggiPratica)obj; - - BoRelLeggiPraticaPK primaryKey = boRelLeggiPratica.getPrimaryKey(); - - if (getPrimaryKey().equals(primaryKey)) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return getPrimaryKey().hashCode(); - } - - @Override - public void resetOriginalValues() { - BoRelLeggiPraticaModelImpl boRelLeggiPraticaModelImpl = this; - - boRelLeggiPraticaModelImpl._originalIntPraticaId = boRelLeggiPraticaModelImpl._intPraticaId; - - boRelLeggiPraticaModelImpl._setOriginalIntPraticaId = false; - - boRelLeggiPraticaModelImpl._originalArtLeggeId = boRelLeggiPraticaModelImpl._artLeggeId; - - boRelLeggiPraticaModelImpl._setOriginalArtLeggeId = false; - - boRelLeggiPraticaModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - BoRelLeggiPraticaCacheModel boRelLeggiPraticaCacheModel = new BoRelLeggiPraticaCacheModel(); - - boRelLeggiPraticaCacheModel.intPraticaId = getIntPraticaId(); - - boRelLeggiPraticaCacheModel.artLeggeId = getArtLeggeId(); - - boRelLeggiPraticaCacheModel.selezionato = getSelezionato(); - - boRelLeggiPraticaCacheModel.valore = getValore(); - - String valore = boRelLeggiPraticaCacheModel.valore; - - if ((valore != null) && (valore.length() == 0)) { - boRelLeggiPraticaCacheModel.valore = null; - } - - return boRelLeggiPraticaCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(9); - - sb.append("{intPraticaId="); - sb.append(getIntPraticaId()); - sb.append(", artLeggeId="); - sb.append(getArtLeggeId()); - sb.append(", selezionato="); - sb.append(getSelezionato()); - sb.append(", valore="); - sb.append(getValore()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(16); - - sb.append(""); - sb.append("it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica"); - sb.append(""); - - sb.append( - "intPraticaId"); - sb.append( - "artLeggeId"); - sb.append( - "selezionato"); - sb.append( - "valore"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = BoRelLeggiPratica.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - BoRelLeggiPratica.class - }; - private long _intPraticaId; - private long _originalIntPraticaId; - private boolean _setOriginalIntPraticaId; - private long _artLeggeId; - private long _originalArtLeggeId; - private boolean _setOriginalArtLeggeId; - private boolean _selezionato; - private String _valore; - private long _columnBitmask; - private BoRelLeggiPratica _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoSistemaCostruttivoBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoSistemaCostruttivoBaseImpl.java deleted file mode 100644 index fb1d74b9..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoSistemaCostruttivoBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo; -import it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalServiceUtil; - -/** - * The extended model base implementation for the BoSistemaCostruttivo service. Represents a row in the "gc_sistemacostruttivo" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoSistemaCostruttivoImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoSistemaCostruttivoImpl - * @see it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo - * @generated - */ -public abstract class BoSistemaCostruttivoBaseImpl - extends BoSistemaCostruttivoModelImpl implements BoSistemaCostruttivo { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo sistema costruttivo model instance should use the {@link BoSistemaCostruttivo} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoSistemaCostruttivoLocalServiceUtil.addBoSistemaCostruttivo(this); - } - else { - BoSistemaCostruttivoLocalServiceUtil.updateBoSistemaCostruttivo(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoSistemaCostruttivoCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoSistemaCostruttivoCacheModel.java deleted file mode 100644 index 17e1f68a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoSistemaCostruttivoCacheModel.java +++ /dev/null @@ -1,177 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing BoSistemaCostruttivo in entity cache. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoSistemaCostruttivo - * @generated - */ -public class BoSistemaCostruttivoCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(21); - - sb.append("{uuid="); - sb.append(uuid); - sb.append(", sistemaCostruttivoId="); - sb.append(sistemaCostruttivoId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", intPraticaId="); - sb.append(intPraticaId); - sb.append(", codSistemaCostruttivo="); - sb.append(codSistemaCostruttivo); - sb.append("}"); - - return sb.toString(); - } - - @Override - public BoSistemaCostruttivo toEntityModel() { - BoSistemaCostruttivoImpl boSistemaCostruttivoImpl = new BoSistemaCostruttivoImpl(); - - if (uuid == null) { - boSistemaCostruttivoImpl.setUuid(StringPool.BLANK); - } - else { - boSistemaCostruttivoImpl.setUuid(uuid); - } - - boSistemaCostruttivoImpl.setSistemaCostruttivoId(sistemaCostruttivoId); - boSistemaCostruttivoImpl.setCompanyId(companyId); - boSistemaCostruttivoImpl.setUserId(userId); - - if (userName == null) { - boSistemaCostruttivoImpl.setUserName(StringPool.BLANK); - } - else { - boSistemaCostruttivoImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - boSistemaCostruttivoImpl.setCreateDate(null); - } - else { - boSistemaCostruttivoImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - boSistemaCostruttivoImpl.setModifiedDate(null); - } - else { - boSistemaCostruttivoImpl.setModifiedDate(new Date(modifiedDate)); - } - - boSistemaCostruttivoImpl.setGroupId(groupId); - boSistemaCostruttivoImpl.setIntPraticaId(intPraticaId); - - if (codSistemaCostruttivo == null) { - boSistemaCostruttivoImpl.setCodSistemaCostruttivo(StringPool.BLANK); - } - else { - boSistemaCostruttivoImpl.setCodSistemaCostruttivo(codSistemaCostruttivo); - } - - boSistemaCostruttivoImpl.resetOriginalValues(); - - return boSistemaCostruttivoImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - uuid = objectInput.readUTF(); - sistemaCostruttivoId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - groupId = objectInput.readLong(); - intPraticaId = objectInput.readLong(); - codSistemaCostruttivo = objectInput.readUTF(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - if (uuid == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(uuid); - } - - objectOutput.writeLong(sistemaCostruttivoId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeLong(groupId); - objectOutput.writeLong(intPraticaId); - - if (codSistemaCostruttivo == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codSistemaCostruttivo); - } - } - - public String uuid; - public long sistemaCostruttivoId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public long groupId; - public long intPraticaId; - public String codSistemaCostruttivo; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoSistemaCostruttivoImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoSistemaCostruttivoImpl.java deleted file mode 100644 index 60534243..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoSistemaCostruttivoImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -/** - * The extended model implementation for the BoSistemaCostruttivo service. Represents a row in the "gc_sistemacostruttivo" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo} interface. - *

- * - * @author Davide Barbagallo, 3F Consulting - */ -public class BoSistemaCostruttivoImpl extends BoSistemaCostruttivoBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a bo sistema costruttivo model instance should use the {@link it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo} interface instead. - */ - public BoSistemaCostruttivoImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoSistemaCostruttivoModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoSistemaCostruttivoModelImpl.java deleted file mode 100644 index 450e4f5f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoSistemaCostruttivoModelImpl.java +++ /dev/null @@ -1,668 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo; -import it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivoModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the BoSistemaCostruttivo service. Represents a row in the "gc_sistemacostruttivo" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivoModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoSistemaCostruttivoImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoSistemaCostruttivoImpl - * @see it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo - * @see it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivoModel - * @generated - */ -public class BoSistemaCostruttivoModelImpl extends BaseModelImpl - implements BoSistemaCostruttivoModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo sistema costruttivo model instance should use the {@link it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo} interface instead. - */ - public static final String TABLE_NAME = "gc_sistemacostruttivo"; - public static final Object[][] TABLE_COLUMNS = { - { "uuid_", Types.VARCHAR }, - { "sistemaCostruttivoId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "groupId", Types.BIGINT }, - { "intPraticaId", Types.BIGINT }, - { "codSistemaCostruttivo", Types.VARCHAR } - }; - public static final String TABLE_SQL_CREATE = "create table gc_sistemacostruttivo (uuid_ VARCHAR(75) null,sistemaCostruttivoId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,intPraticaId LONG,codSistemaCostruttivo VARCHAR(75) null)"; - public static final String TABLE_SQL_DROP = "drop table gc_sistemacostruttivo"; - public static final String ORDER_BY_JPQL = " ORDER BY boSistemaCostruttivo.sistemaCostruttivoId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gc_sistemacostruttivo.sistemaCostruttivoId ASC"; - public static final String DATA_SOURCE = "datiPortos1DbDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo"), - true); - public static long COMPANYID_COLUMN_BITMASK = 1L; - public static long GROUPID_COLUMN_BITMASK = 2L; - public static long INTPRATICAID_COLUMN_BITMASK = 4L; - public static long UUID_COLUMN_BITMASK = 8L; - public static long SISTEMACOSTRUTTIVOID_COLUMN_BITMASK = 16L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo")); - - public BoSistemaCostruttivoModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _sistemaCostruttivoId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setSistemaCostruttivoId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _sistemaCostruttivoId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return BoSistemaCostruttivo.class; - } - - @Override - public String getModelClassName() { - return BoSistemaCostruttivo.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("sistemaCostruttivoId", getSistemaCostruttivoId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("codSistemaCostruttivo", getCodSistemaCostruttivo()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long sistemaCostruttivoId = (Long)attributes.get("sistemaCostruttivoId"); - - if (sistemaCostruttivoId != null) { - setSistemaCostruttivoId(sistemaCostruttivoId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - String codSistemaCostruttivo = (String)attributes.get( - "codSistemaCostruttivo"); - - if (codSistemaCostruttivo != null) { - setCodSistemaCostruttivo(codSistemaCostruttivo); - } - } - - @Override - public String getUuid() { - if (_uuid == null) { - return StringPool.BLANK; - } - else { - return _uuid; - } - } - - @Override - public void setUuid(String uuid) { - if (_originalUuid == null) { - _originalUuid = _uuid; - } - - _uuid = uuid; - } - - public String getOriginalUuid() { - return GetterUtil.getString(_originalUuid); - } - - @Override - public long getSistemaCostruttivoId() { - return _sistemaCostruttivoId; - } - - @Override - public void setSistemaCostruttivoId(long sistemaCostruttivoId) { - _sistemaCostruttivoId = sistemaCostruttivoId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _columnBitmask |= COMPANYID_COLUMN_BITMASK; - - if (!_setOriginalCompanyId) { - _setOriginalCompanyId = true; - - _originalCompanyId = _companyId; - } - - _companyId = companyId; - } - - public long getOriginalCompanyId() { - return _originalCompanyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _columnBitmask |= GROUPID_COLUMN_BITMASK; - - if (!_setOriginalGroupId) { - _setOriginalGroupId = true; - - _originalGroupId = _groupId; - } - - _groupId = groupId; - } - - public long getOriginalGroupId() { - return _originalGroupId; - } - - @Override - public long getIntPraticaId() { - return _intPraticaId; - } - - @Override - public void setIntPraticaId(long intPraticaId) { - _columnBitmask |= INTPRATICAID_COLUMN_BITMASK; - - if (!_setOriginalIntPraticaId) { - _setOriginalIntPraticaId = true; - - _originalIntPraticaId = _intPraticaId; - } - - _intPraticaId = intPraticaId; - } - - public long getOriginalIntPraticaId() { - return _originalIntPraticaId; - } - - @Override - public String getCodSistemaCostruttivo() { - if (_codSistemaCostruttivo == null) { - return StringPool.BLANK; - } - else { - return _codSistemaCostruttivo; - } - } - - @Override - public void setCodSistemaCostruttivo(String codSistemaCostruttivo) { - _codSistemaCostruttivo = codSistemaCostruttivo; - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoSistemaCostruttivo.class.getName())); - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - BoSistemaCostruttivo.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public BoSistemaCostruttivo toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (BoSistemaCostruttivo)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - BoSistemaCostruttivoImpl boSistemaCostruttivoImpl = new BoSistemaCostruttivoImpl(); - - boSistemaCostruttivoImpl.setUuid(getUuid()); - boSistemaCostruttivoImpl.setSistemaCostruttivoId(getSistemaCostruttivoId()); - boSistemaCostruttivoImpl.setCompanyId(getCompanyId()); - boSistemaCostruttivoImpl.setUserId(getUserId()); - boSistemaCostruttivoImpl.setUserName(getUserName()); - boSistemaCostruttivoImpl.setCreateDate(getCreateDate()); - boSistemaCostruttivoImpl.setModifiedDate(getModifiedDate()); - boSistemaCostruttivoImpl.setGroupId(getGroupId()); - boSistemaCostruttivoImpl.setIntPraticaId(getIntPraticaId()); - boSistemaCostruttivoImpl.setCodSistemaCostruttivo(getCodSistemaCostruttivo()); - - boSistemaCostruttivoImpl.resetOriginalValues(); - - return boSistemaCostruttivoImpl; - } - - @Override - public int compareTo(BoSistemaCostruttivo boSistemaCostruttivo) { - long primaryKey = boSistemaCostruttivo.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoSistemaCostruttivo)) { - return false; - } - - BoSistemaCostruttivo boSistemaCostruttivo = (BoSistemaCostruttivo)obj; - - long primaryKey = boSistemaCostruttivo.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - BoSistemaCostruttivoModelImpl boSistemaCostruttivoModelImpl = this; - - boSistemaCostruttivoModelImpl._originalUuid = boSistemaCostruttivoModelImpl._uuid; - - boSistemaCostruttivoModelImpl._originalCompanyId = boSistemaCostruttivoModelImpl._companyId; - - boSistemaCostruttivoModelImpl._setOriginalCompanyId = false; - - boSistemaCostruttivoModelImpl._originalGroupId = boSistemaCostruttivoModelImpl._groupId; - - boSistemaCostruttivoModelImpl._setOriginalGroupId = false; - - boSistemaCostruttivoModelImpl._originalIntPraticaId = boSistemaCostruttivoModelImpl._intPraticaId; - - boSistemaCostruttivoModelImpl._setOriginalIntPraticaId = false; - - boSistemaCostruttivoModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - BoSistemaCostruttivoCacheModel boSistemaCostruttivoCacheModel = new BoSistemaCostruttivoCacheModel(); - - boSistemaCostruttivoCacheModel.uuid = getUuid(); - - String uuid = boSistemaCostruttivoCacheModel.uuid; - - if ((uuid != null) && (uuid.length() == 0)) { - boSistemaCostruttivoCacheModel.uuid = null; - } - - boSistemaCostruttivoCacheModel.sistemaCostruttivoId = getSistemaCostruttivoId(); - - boSistemaCostruttivoCacheModel.companyId = getCompanyId(); - - boSistemaCostruttivoCacheModel.userId = getUserId(); - - boSistemaCostruttivoCacheModel.userName = getUserName(); - - String userName = boSistemaCostruttivoCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - boSistemaCostruttivoCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - boSistemaCostruttivoCacheModel.createDate = createDate.getTime(); - } - else { - boSistemaCostruttivoCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - boSistemaCostruttivoCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - boSistemaCostruttivoCacheModel.modifiedDate = Long.MIN_VALUE; - } - - boSistemaCostruttivoCacheModel.groupId = getGroupId(); - - boSistemaCostruttivoCacheModel.intPraticaId = getIntPraticaId(); - - boSistemaCostruttivoCacheModel.codSistemaCostruttivo = getCodSistemaCostruttivo(); - - String codSistemaCostruttivo = boSistemaCostruttivoCacheModel.codSistemaCostruttivo; - - if ((codSistemaCostruttivo != null) && - (codSistemaCostruttivo.length() == 0)) { - boSistemaCostruttivoCacheModel.codSistemaCostruttivo = null; - } - - return boSistemaCostruttivoCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(21); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", sistemaCostruttivoId="); - sb.append(getSistemaCostruttivoId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", intPraticaId="); - sb.append(getIntPraticaId()); - sb.append(", codSistemaCostruttivo="); - sb.append(getCodSistemaCostruttivo()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(34); - - sb.append(""); - sb.append( - "it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "sistemaCostruttivoId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "intPraticaId"); - sb.append( - "codSistemaCostruttivo"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = BoSistemaCostruttivo.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - BoSistemaCostruttivo.class - }; - private String _uuid; - private String _originalUuid; - private long _sistemaCostruttivoId; - private long _companyId; - private long _originalCompanyId; - private boolean _setOriginalCompanyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _originalGroupId; - private boolean _setOriginalGroupId; - private long _intPraticaId; - private long _originalIntPraticaId; - private boolean _setOriginalIntPraticaId; - private String _codSistemaCostruttivo; - private long _columnBitmask; - private BoSistemaCostruttivo _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoSoggettoBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoSoggettoBaseImpl.java deleted file mode 100644 index b1edfa40..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoSoggettoBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.BoSoggetto; -import it.tref.liferay.portos.portosimport.service.BoSoggettoLocalServiceUtil; - -/** - * The extended model base implementation for the BoSoggetto service. Represents a row in the "gc_soggetto" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoSoggettoImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoSoggettoImpl - * @see it.tref.liferay.portos.portosimport.model.BoSoggetto - * @generated - */ -public abstract class BoSoggettoBaseImpl extends BoSoggettoModelImpl - implements BoSoggetto { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo soggetto model instance should use the {@link BoSoggetto} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoSoggettoLocalServiceUtil.addBoSoggetto(this); - } - else { - BoSoggettoLocalServiceUtil.updateBoSoggetto(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoSoggettoCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoSoggettoCacheModel.java deleted file mode 100644 index b4a1341d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoSoggettoCacheModel.java +++ /dev/null @@ -1,811 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.portosimport.model.BoSoggetto; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing BoSoggetto in entity cache. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoSoggetto - * @generated - */ -public class BoSoggettoCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(95); - - sb.append("{uuid="); - sb.append(uuid); - sb.append(", soggettoId="); - sb.append(soggettoId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", dettPraticaId="); - sb.append(dettPraticaId); - sb.append(", nome="); - sb.append(nome); - sb.append(", cognome="); - sb.append(cognome); - sb.append(", codiceFiscale="); - sb.append(codiceFiscale); - sb.append(", codiceFiscaleDelegato="); - sb.append(codiceFiscaleDelegato); - sb.append(", dataNascita="); - sb.append(dataNascita); - sb.append(", comuneNascita="); - sb.append(comuneNascita); - sb.append(", comuneDomicilio="); - sb.append(comuneDomicilio); - sb.append(", provinciaDomicilio="); - sb.append(provinciaDomicilio); - sb.append(", viaDomicilio="); - sb.append(viaDomicilio); - sb.append(", numeroCivicoDomicilio="); - sb.append(numeroCivicoDomicilio); - sb.append(", capDomicilio="); - sb.append(capDomicilio); - sb.append(", domicilioExtra="); - sb.append(domicilioExtra); - sb.append(", comune="); - sb.append(comune); - sb.append(", provincia="); - sb.append(provincia); - sb.append(", via="); - sb.append(via); - sb.append(", numeroCivico="); - sb.append(numeroCivico); - sb.append(", cap="); - sb.append(cap); - sb.append(", denominazione="); - sb.append(denominazione); - sb.append(", sedeLegale="); - sb.append(sedeLegale); - sb.append(", legaleRap="); - sb.append(legaleRap); - sb.append(", dataNascitaRap="); - sb.append(dataNascitaRap); - sb.append(", comuneNascitaRap="); - sb.append(comuneNascitaRap); - sb.append(", viaRap="); - sb.append(viaRap); - sb.append(", numeroCivicoRap="); - sb.append(numeroCivicoRap); - sb.append(", capRap="); - sb.append(capRap); - sb.append(", provinciaRap="); - sb.append(provinciaRap); - sb.append(", comuneRap="); - sb.append(comuneRap); - sb.append(", albo="); - sb.append(albo); - sb.append(", regAlbo="); - sb.append(regAlbo); - sb.append(", provAlbo="); - sb.append(provAlbo); - sb.append(", numIscrAlbo="); - sb.append(numIscrAlbo); - sb.append(", telefono="); - sb.append(telefono); - sb.append(", fax="); - sb.append(fax); - sb.append(", email="); - sb.append(email); - sb.append(", tipologiaSoggetto="); - sb.append(tipologiaSoggetto); - sb.append(", tipologiaProfessione="); - sb.append(tipologiaProfessione); - sb.append(", aggiuntivo="); - sb.append(aggiuntivo); - sb.append(", sostituito="); - sb.append(sostituito); - sb.append("}"); - - return sb.toString(); - } - - @Override - public BoSoggetto toEntityModel() { - BoSoggettoImpl boSoggettoImpl = new BoSoggettoImpl(); - - if (uuid == null) { - boSoggettoImpl.setUuid(StringPool.BLANK); - } - else { - boSoggettoImpl.setUuid(uuid); - } - - boSoggettoImpl.setSoggettoId(soggettoId); - boSoggettoImpl.setCompanyId(companyId); - boSoggettoImpl.setUserId(userId); - - if (userName == null) { - boSoggettoImpl.setUserName(StringPool.BLANK); - } - else { - boSoggettoImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - boSoggettoImpl.setCreateDate(null); - } - else { - boSoggettoImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - boSoggettoImpl.setModifiedDate(null); - } - else { - boSoggettoImpl.setModifiedDate(new Date(modifiedDate)); - } - - boSoggettoImpl.setGroupId(groupId); - boSoggettoImpl.setDettPraticaId(dettPraticaId); - - if (nome == null) { - boSoggettoImpl.setNome(StringPool.BLANK); - } - else { - boSoggettoImpl.setNome(nome); - } - - if (cognome == null) { - boSoggettoImpl.setCognome(StringPool.BLANK); - } - else { - boSoggettoImpl.setCognome(cognome); - } - - if (codiceFiscale == null) { - boSoggettoImpl.setCodiceFiscale(StringPool.BLANK); - } - else { - boSoggettoImpl.setCodiceFiscale(codiceFiscale); - } - - if (codiceFiscaleDelegato == null) { - boSoggettoImpl.setCodiceFiscaleDelegato(StringPool.BLANK); - } - else { - boSoggettoImpl.setCodiceFiscaleDelegato(codiceFiscaleDelegato); - } - - if (dataNascita == Long.MIN_VALUE) { - boSoggettoImpl.setDataNascita(null); - } - else { - boSoggettoImpl.setDataNascita(new Date(dataNascita)); - } - - if (comuneNascita == null) { - boSoggettoImpl.setComuneNascita(StringPool.BLANK); - } - else { - boSoggettoImpl.setComuneNascita(comuneNascita); - } - - if (comuneDomicilio == null) { - boSoggettoImpl.setComuneDomicilio(StringPool.BLANK); - } - else { - boSoggettoImpl.setComuneDomicilio(comuneDomicilio); - } - - if (provinciaDomicilio == null) { - boSoggettoImpl.setProvinciaDomicilio(StringPool.BLANK); - } - else { - boSoggettoImpl.setProvinciaDomicilio(provinciaDomicilio); - } - - if (viaDomicilio == null) { - boSoggettoImpl.setViaDomicilio(StringPool.BLANK); - } - else { - boSoggettoImpl.setViaDomicilio(viaDomicilio); - } - - if (numeroCivicoDomicilio == null) { - boSoggettoImpl.setNumeroCivicoDomicilio(StringPool.BLANK); - } - else { - boSoggettoImpl.setNumeroCivicoDomicilio(numeroCivicoDomicilio); - } - - if (capDomicilio == null) { - boSoggettoImpl.setCapDomicilio(StringPool.BLANK); - } - else { - boSoggettoImpl.setCapDomicilio(capDomicilio); - } - - if (domicilioExtra == null) { - boSoggettoImpl.setDomicilioExtra(StringPool.BLANK); - } - else { - boSoggettoImpl.setDomicilioExtra(domicilioExtra); - } - - if (comune == null) { - boSoggettoImpl.setComune(StringPool.BLANK); - } - else { - boSoggettoImpl.setComune(comune); - } - - if (provincia == null) { - boSoggettoImpl.setProvincia(StringPool.BLANK); - } - else { - boSoggettoImpl.setProvincia(provincia); - } - - if (via == null) { - boSoggettoImpl.setVia(StringPool.BLANK); - } - else { - boSoggettoImpl.setVia(via); - } - - if (numeroCivico == null) { - boSoggettoImpl.setNumeroCivico(StringPool.BLANK); - } - else { - boSoggettoImpl.setNumeroCivico(numeroCivico); - } - - if (cap == null) { - boSoggettoImpl.setCap(StringPool.BLANK); - } - else { - boSoggettoImpl.setCap(cap); - } - - if (denominazione == null) { - boSoggettoImpl.setDenominazione(StringPool.BLANK); - } - else { - boSoggettoImpl.setDenominazione(denominazione); - } - - if (sedeLegale == null) { - boSoggettoImpl.setSedeLegale(StringPool.BLANK); - } - else { - boSoggettoImpl.setSedeLegale(sedeLegale); - } - - if (legaleRap == null) { - boSoggettoImpl.setLegaleRap(StringPool.BLANK); - } - else { - boSoggettoImpl.setLegaleRap(legaleRap); - } - - if (dataNascitaRap == Long.MIN_VALUE) { - boSoggettoImpl.setDataNascitaRap(null); - } - else { - boSoggettoImpl.setDataNascitaRap(new Date(dataNascitaRap)); - } - - if (comuneNascitaRap == null) { - boSoggettoImpl.setComuneNascitaRap(StringPool.BLANK); - } - else { - boSoggettoImpl.setComuneNascitaRap(comuneNascitaRap); - } - - if (viaRap == null) { - boSoggettoImpl.setViaRap(StringPool.BLANK); - } - else { - boSoggettoImpl.setViaRap(viaRap); - } - - if (numeroCivicoRap == null) { - boSoggettoImpl.setNumeroCivicoRap(StringPool.BLANK); - } - else { - boSoggettoImpl.setNumeroCivicoRap(numeroCivicoRap); - } - - if (capRap == null) { - boSoggettoImpl.setCapRap(StringPool.BLANK); - } - else { - boSoggettoImpl.setCapRap(capRap); - } - - if (provinciaRap == null) { - boSoggettoImpl.setProvinciaRap(StringPool.BLANK); - } - else { - boSoggettoImpl.setProvinciaRap(provinciaRap); - } - - if (comuneRap == null) { - boSoggettoImpl.setComuneRap(StringPool.BLANK); - } - else { - boSoggettoImpl.setComuneRap(comuneRap); - } - - if (albo == null) { - boSoggettoImpl.setAlbo(StringPool.BLANK); - } - else { - boSoggettoImpl.setAlbo(albo); - } - - if (regAlbo == null) { - boSoggettoImpl.setRegAlbo(StringPool.BLANK); - } - else { - boSoggettoImpl.setRegAlbo(regAlbo); - } - - if (provAlbo == null) { - boSoggettoImpl.setProvAlbo(StringPool.BLANK); - } - else { - boSoggettoImpl.setProvAlbo(provAlbo); - } - - if (numIscrAlbo == null) { - boSoggettoImpl.setNumIscrAlbo(StringPool.BLANK); - } - else { - boSoggettoImpl.setNumIscrAlbo(numIscrAlbo); - } - - if (telefono == null) { - boSoggettoImpl.setTelefono(StringPool.BLANK); - } - else { - boSoggettoImpl.setTelefono(telefono); - } - - if (fax == null) { - boSoggettoImpl.setFax(StringPool.BLANK); - } - else { - boSoggettoImpl.setFax(fax); - } - - if (email == null) { - boSoggettoImpl.setEmail(StringPool.BLANK); - } - else { - boSoggettoImpl.setEmail(email); - } - - if (tipologiaSoggetto == null) { - boSoggettoImpl.setTipologiaSoggetto(StringPool.BLANK); - } - else { - boSoggettoImpl.setTipologiaSoggetto(tipologiaSoggetto); - } - - if (tipologiaProfessione == null) { - boSoggettoImpl.setTipologiaProfessione(StringPool.BLANK); - } - else { - boSoggettoImpl.setTipologiaProfessione(tipologiaProfessione); - } - - boSoggettoImpl.setAggiuntivo(aggiuntivo); - boSoggettoImpl.setSostituito(sostituito); - - boSoggettoImpl.resetOriginalValues(); - - return boSoggettoImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - uuid = objectInput.readUTF(); - soggettoId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - groupId = objectInput.readLong(); - dettPraticaId = objectInput.readLong(); - nome = objectInput.readUTF(); - cognome = objectInput.readUTF(); - codiceFiscale = objectInput.readUTF(); - codiceFiscaleDelegato = objectInput.readUTF(); - dataNascita = objectInput.readLong(); - comuneNascita = objectInput.readUTF(); - comuneDomicilio = objectInput.readUTF(); - provinciaDomicilio = objectInput.readUTF(); - viaDomicilio = objectInput.readUTF(); - numeroCivicoDomicilio = objectInput.readUTF(); - capDomicilio = objectInput.readUTF(); - domicilioExtra = objectInput.readUTF(); - comune = objectInput.readUTF(); - provincia = objectInput.readUTF(); - via = objectInput.readUTF(); - numeroCivico = objectInput.readUTF(); - cap = objectInput.readUTF(); - denominazione = objectInput.readUTF(); - sedeLegale = objectInput.readUTF(); - legaleRap = objectInput.readUTF(); - dataNascitaRap = objectInput.readLong(); - comuneNascitaRap = objectInput.readUTF(); - viaRap = objectInput.readUTF(); - numeroCivicoRap = objectInput.readUTF(); - capRap = objectInput.readUTF(); - provinciaRap = objectInput.readUTF(); - comuneRap = objectInput.readUTF(); - albo = objectInput.readUTF(); - regAlbo = objectInput.readUTF(); - provAlbo = objectInput.readUTF(); - numIscrAlbo = objectInput.readUTF(); - telefono = objectInput.readUTF(); - fax = objectInput.readUTF(); - email = objectInput.readUTF(); - tipologiaSoggetto = objectInput.readUTF(); - tipologiaProfessione = objectInput.readUTF(); - aggiuntivo = objectInput.readBoolean(); - sostituito = objectInput.readBoolean(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - if (uuid == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(uuid); - } - - objectOutput.writeLong(soggettoId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeLong(groupId); - objectOutput.writeLong(dettPraticaId); - - if (nome == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(nome); - } - - if (cognome == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(cognome); - } - - if (codiceFiscale == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codiceFiscale); - } - - if (codiceFiscaleDelegato == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codiceFiscaleDelegato); - } - - objectOutput.writeLong(dataNascita); - - if (comuneNascita == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(comuneNascita); - } - - if (comuneDomicilio == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(comuneDomicilio); - } - - if (provinciaDomicilio == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(provinciaDomicilio); - } - - if (viaDomicilio == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(viaDomicilio); - } - - if (numeroCivicoDomicilio == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(numeroCivicoDomicilio); - } - - if (capDomicilio == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(capDomicilio); - } - - if (domicilioExtra == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(domicilioExtra); - } - - if (comune == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(comune); - } - - if (provincia == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(provincia); - } - - if (via == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(via); - } - - if (numeroCivico == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(numeroCivico); - } - - if (cap == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(cap); - } - - if (denominazione == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(denominazione); - } - - if (sedeLegale == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(sedeLegale); - } - - if (legaleRap == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(legaleRap); - } - - objectOutput.writeLong(dataNascitaRap); - - if (comuneNascitaRap == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(comuneNascitaRap); - } - - if (viaRap == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(viaRap); - } - - if (numeroCivicoRap == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(numeroCivicoRap); - } - - if (capRap == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(capRap); - } - - if (provinciaRap == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(provinciaRap); - } - - if (comuneRap == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(comuneRap); - } - - if (albo == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(albo); - } - - if (regAlbo == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(regAlbo); - } - - if (provAlbo == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(provAlbo); - } - - if (numIscrAlbo == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(numIscrAlbo); - } - - if (telefono == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(telefono); - } - - if (fax == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(fax); - } - - if (email == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(email); - } - - if (tipologiaSoggetto == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(tipologiaSoggetto); - } - - if (tipologiaProfessione == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(tipologiaProfessione); - } - - objectOutput.writeBoolean(aggiuntivo); - objectOutput.writeBoolean(sostituito); - } - - public String uuid; - public long soggettoId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public long groupId; - public long dettPraticaId; - public String nome; - public String cognome; - public String codiceFiscale; - public String codiceFiscaleDelegato; - public long dataNascita; - public String comuneNascita; - public String comuneDomicilio; - public String provinciaDomicilio; - public String viaDomicilio; - public String numeroCivicoDomicilio; - public String capDomicilio; - public String domicilioExtra; - public String comune; - public String provincia; - public String via; - public String numeroCivico; - public String cap; - public String denominazione; - public String sedeLegale; - public String legaleRap; - public long dataNascitaRap; - public String comuneNascitaRap; - public String viaRap; - public String numeroCivicoRap; - public String capRap; - public String provinciaRap; - public String comuneRap; - public String albo; - public String regAlbo; - public String provAlbo; - public String numIscrAlbo; - public String telefono; - public String fax; - public String email; - public String tipologiaSoggetto; - public String tipologiaProfessione; - public boolean aggiuntivo; - public boolean sostituito; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoSoggettoImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoSoggettoImpl.java deleted file mode 100644 index 2387c4c3..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoSoggettoImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -/** - * The extended model implementation for the BoSoggetto service. Represents a row in the "gc_soggetto" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.portosimport.model.BoSoggetto} interface. - *

- * - * @author Davide Barbagallo, 3F Consulting - */ -public class BoSoggettoImpl extends BoSoggettoBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a bo soggetto model instance should use the {@link it.tref.liferay.portos.portosimport.model.BoSoggetto} interface instead. - */ - public BoSoggettoImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoSoggettoModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoSoggettoModelImpl.java deleted file mode 100644 index c75e3289..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoSoggettoModelImpl.java +++ /dev/null @@ -1,2146 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.portosimport.model.BoSoggetto; -import it.tref.liferay.portos.portosimport.model.BoSoggettoModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the BoSoggetto service. Represents a row in the "gc_soggetto" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.portosimport.model.BoSoggettoModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoSoggettoImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoSoggettoImpl - * @see it.tref.liferay.portos.portosimport.model.BoSoggetto - * @see it.tref.liferay.portos.portosimport.model.BoSoggettoModel - * @generated - */ -public class BoSoggettoModelImpl extends BaseModelImpl - implements BoSoggettoModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo soggetto model instance should use the {@link it.tref.liferay.portos.portosimport.model.BoSoggetto} interface instead. - */ - public static final String TABLE_NAME = "gc_soggetto"; - public static final Object[][] TABLE_COLUMNS = { - { "uuid_", Types.VARCHAR }, - { "soggettoId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "groupId", Types.BIGINT }, - { "dettPraticaId", Types.BIGINT }, - { "nome", Types.VARCHAR }, - { "cognome", Types.VARCHAR }, - { "codiceFiscale", Types.VARCHAR }, - { "codiceFiscaleDelegato", Types.VARCHAR }, - { "dataNascita", Types.TIMESTAMP }, - { "comuneNascita", Types.VARCHAR }, - { "comuneDomicilio", Types.VARCHAR }, - { "provinciaDomicilio", Types.VARCHAR }, - { "viaDomicilio", Types.VARCHAR }, - { "numeroCivicoDomicilio", Types.VARCHAR }, - { "capDomicilio", Types.VARCHAR }, - { "domicilioExtra", Types.VARCHAR }, - { "comune", Types.VARCHAR }, - { "provincia", Types.VARCHAR }, - { "via", Types.VARCHAR }, - { "numeroCivico", Types.VARCHAR }, - { "cap", Types.VARCHAR }, - { "denominazione", Types.VARCHAR }, - { "sedeLegale", Types.VARCHAR }, - { "legaleRap", Types.VARCHAR }, - { "dataNascitaRap", Types.TIMESTAMP }, - { "comuneNascitaRap", Types.VARCHAR }, - { "viaRap", Types.VARCHAR }, - { "numeroCivicoRap", Types.VARCHAR }, - { "capRap", Types.VARCHAR }, - { "provinciaRap", Types.VARCHAR }, - { "comuneRap", Types.VARCHAR }, - { "albo", Types.VARCHAR }, - { "regAlbo", Types.VARCHAR }, - { "provAlbo", Types.VARCHAR }, - { "numIscrAlbo", Types.VARCHAR }, - { "telefono", Types.VARCHAR }, - { "fax", Types.VARCHAR }, - { "email", Types.VARCHAR }, - { "tipologiaSoggetto", Types.VARCHAR }, - { "tipologiaProfessione", Types.VARCHAR }, - { "aggiuntivo", Types.BOOLEAN }, - { "sostituito", Types.BOOLEAN } - }; - public static final String TABLE_SQL_CREATE = "create table gc_soggetto (uuid_ VARCHAR(75) null,soggettoId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,dettPraticaId LONG,nome VARCHAR(75) null,cognome VARCHAR(75) null,codiceFiscale VARCHAR(75) null,codiceFiscaleDelegato VARCHAR(75) null,dataNascita DATE null,comuneNascita VARCHAR(75) null,comuneDomicilio VARCHAR(75) null,provinciaDomicilio VARCHAR(75) null,viaDomicilio VARCHAR(75) null,numeroCivicoDomicilio VARCHAR(75) null,capDomicilio VARCHAR(75) null,domicilioExtra VARCHAR(75) null,comune VARCHAR(75) null,provincia VARCHAR(75) null,via VARCHAR(75) null,numeroCivico VARCHAR(75) null,cap VARCHAR(75) null,denominazione VARCHAR(75) null,sedeLegale VARCHAR(75) null,legaleRap VARCHAR(75) null,dataNascitaRap DATE null,comuneNascitaRap VARCHAR(75) null,viaRap VARCHAR(75) null,numeroCivicoRap VARCHAR(75) null,capRap VARCHAR(75) null,provinciaRap VARCHAR(75) null,comuneRap VARCHAR(75) null,albo VARCHAR(75) null,regAlbo VARCHAR(75) null,provAlbo VARCHAR(75) null,numIscrAlbo VARCHAR(75) null,telefono VARCHAR(75) null,fax VARCHAR(75) null,email VARCHAR(75) null,tipologiaSoggetto VARCHAR(75) null,tipologiaProfessione VARCHAR(75) null,aggiuntivo BOOLEAN,sostituito BOOLEAN)"; - public static final String TABLE_SQL_DROP = "drop table gc_soggetto"; - public static final String ORDER_BY_JPQL = " ORDER BY boSoggetto.soggettoId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gc_soggetto.soggettoId ASC"; - public static final String DATA_SOURCE = "datiPortos1DbDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.portosimport.model.BoSoggetto"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.portosimport.model.BoSoggetto"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.portosimport.model.BoSoggetto"), - true); - public static long AGGIUNTIVO_COLUMN_BITMASK = 1L; - public static long COMPANYID_COLUMN_BITMASK = 2L; - public static long DETTPRATICAID_COLUMN_BITMASK = 4L; - public static long GROUPID_COLUMN_BITMASK = 8L; - public static long SOSTITUITO_COLUMN_BITMASK = 16L; - public static long TIPOLOGIAPROFESSIONE_COLUMN_BITMASK = 32L; - public static long UUID_COLUMN_BITMASK = 64L; - public static long SOGGETTOID_COLUMN_BITMASK = 128L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.portosimport.model.BoSoggetto")); - - public BoSoggettoModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _soggettoId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setSoggettoId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _soggettoId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return BoSoggetto.class; - } - - @Override - public String getModelClassName() { - return BoSoggetto.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("soggettoId", getSoggettoId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("nome", getNome()); - attributes.put("cognome", getCognome()); - attributes.put("codiceFiscale", getCodiceFiscale()); - attributes.put("codiceFiscaleDelegato", getCodiceFiscaleDelegato()); - attributes.put("dataNascita", getDataNascita()); - attributes.put("comuneNascita", getComuneNascita()); - attributes.put("comuneDomicilio", getComuneDomicilio()); - attributes.put("provinciaDomicilio", getProvinciaDomicilio()); - attributes.put("viaDomicilio", getViaDomicilio()); - attributes.put("numeroCivicoDomicilio", getNumeroCivicoDomicilio()); - attributes.put("capDomicilio", getCapDomicilio()); - attributes.put("domicilioExtra", getDomicilioExtra()); - attributes.put("comune", getComune()); - attributes.put("provincia", getProvincia()); - attributes.put("via", getVia()); - attributes.put("numeroCivico", getNumeroCivico()); - attributes.put("cap", getCap()); - attributes.put("denominazione", getDenominazione()); - attributes.put("sedeLegale", getSedeLegale()); - attributes.put("legaleRap", getLegaleRap()); - attributes.put("dataNascitaRap", getDataNascitaRap()); - attributes.put("comuneNascitaRap", getComuneNascitaRap()); - attributes.put("viaRap", getViaRap()); - attributes.put("numeroCivicoRap", getNumeroCivicoRap()); - attributes.put("capRap", getCapRap()); - attributes.put("provinciaRap", getProvinciaRap()); - attributes.put("comuneRap", getComuneRap()); - attributes.put("albo", getAlbo()); - attributes.put("regAlbo", getRegAlbo()); - attributes.put("provAlbo", getProvAlbo()); - attributes.put("numIscrAlbo", getNumIscrAlbo()); - attributes.put("telefono", getTelefono()); - attributes.put("fax", getFax()); - attributes.put("email", getEmail()); - attributes.put("tipologiaSoggetto", getTipologiaSoggetto()); - attributes.put("tipologiaProfessione", getTipologiaProfessione()); - attributes.put("aggiuntivo", getAggiuntivo()); - attributes.put("sostituito", getSostituito()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long soggettoId = (Long)attributes.get("soggettoId"); - - if (soggettoId != null) { - setSoggettoId(soggettoId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - String nome = (String)attributes.get("nome"); - - if (nome != null) { - setNome(nome); - } - - String cognome = (String)attributes.get("cognome"); - - if (cognome != null) { - setCognome(cognome); - } - - String codiceFiscale = (String)attributes.get("codiceFiscale"); - - if (codiceFiscale != null) { - setCodiceFiscale(codiceFiscale); - } - - String codiceFiscaleDelegato = (String)attributes.get( - "codiceFiscaleDelegato"); - - if (codiceFiscaleDelegato != null) { - setCodiceFiscaleDelegato(codiceFiscaleDelegato); - } - - Date dataNascita = (Date)attributes.get("dataNascita"); - - if (dataNascita != null) { - setDataNascita(dataNascita); - } - - String comuneNascita = (String)attributes.get("comuneNascita"); - - if (comuneNascita != null) { - setComuneNascita(comuneNascita); - } - - String comuneDomicilio = (String)attributes.get("comuneDomicilio"); - - if (comuneDomicilio != null) { - setComuneDomicilio(comuneDomicilio); - } - - String provinciaDomicilio = (String)attributes.get("provinciaDomicilio"); - - if (provinciaDomicilio != null) { - setProvinciaDomicilio(provinciaDomicilio); - } - - String viaDomicilio = (String)attributes.get("viaDomicilio"); - - if (viaDomicilio != null) { - setViaDomicilio(viaDomicilio); - } - - String numeroCivicoDomicilio = (String)attributes.get( - "numeroCivicoDomicilio"); - - if (numeroCivicoDomicilio != null) { - setNumeroCivicoDomicilio(numeroCivicoDomicilio); - } - - String capDomicilio = (String)attributes.get("capDomicilio"); - - if (capDomicilio != null) { - setCapDomicilio(capDomicilio); - } - - String domicilioExtra = (String)attributes.get("domicilioExtra"); - - if (domicilioExtra != null) { - setDomicilioExtra(domicilioExtra); - } - - String comune = (String)attributes.get("comune"); - - if (comune != null) { - setComune(comune); - } - - String provincia = (String)attributes.get("provincia"); - - if (provincia != null) { - setProvincia(provincia); - } - - String via = (String)attributes.get("via"); - - if (via != null) { - setVia(via); - } - - String numeroCivico = (String)attributes.get("numeroCivico"); - - if (numeroCivico != null) { - setNumeroCivico(numeroCivico); - } - - String cap = (String)attributes.get("cap"); - - if (cap != null) { - setCap(cap); - } - - String denominazione = (String)attributes.get("denominazione"); - - if (denominazione != null) { - setDenominazione(denominazione); - } - - String sedeLegale = (String)attributes.get("sedeLegale"); - - if (sedeLegale != null) { - setSedeLegale(sedeLegale); - } - - String legaleRap = (String)attributes.get("legaleRap"); - - if (legaleRap != null) { - setLegaleRap(legaleRap); - } - - Date dataNascitaRap = (Date)attributes.get("dataNascitaRap"); - - if (dataNascitaRap != null) { - setDataNascitaRap(dataNascitaRap); - } - - String comuneNascitaRap = (String)attributes.get("comuneNascitaRap"); - - if (comuneNascitaRap != null) { - setComuneNascitaRap(comuneNascitaRap); - } - - String viaRap = (String)attributes.get("viaRap"); - - if (viaRap != null) { - setViaRap(viaRap); - } - - String numeroCivicoRap = (String)attributes.get("numeroCivicoRap"); - - if (numeroCivicoRap != null) { - setNumeroCivicoRap(numeroCivicoRap); - } - - String capRap = (String)attributes.get("capRap"); - - if (capRap != null) { - setCapRap(capRap); - } - - String provinciaRap = (String)attributes.get("provinciaRap"); - - if (provinciaRap != null) { - setProvinciaRap(provinciaRap); - } - - String comuneRap = (String)attributes.get("comuneRap"); - - if (comuneRap != null) { - setComuneRap(comuneRap); - } - - String albo = (String)attributes.get("albo"); - - if (albo != null) { - setAlbo(albo); - } - - String regAlbo = (String)attributes.get("regAlbo"); - - if (regAlbo != null) { - setRegAlbo(regAlbo); - } - - String provAlbo = (String)attributes.get("provAlbo"); - - if (provAlbo != null) { - setProvAlbo(provAlbo); - } - - String numIscrAlbo = (String)attributes.get("numIscrAlbo"); - - if (numIscrAlbo != null) { - setNumIscrAlbo(numIscrAlbo); - } - - String telefono = (String)attributes.get("telefono"); - - if (telefono != null) { - setTelefono(telefono); - } - - String fax = (String)attributes.get("fax"); - - if (fax != null) { - setFax(fax); - } - - String email = (String)attributes.get("email"); - - if (email != null) { - setEmail(email); - } - - String tipologiaSoggetto = (String)attributes.get("tipologiaSoggetto"); - - if (tipologiaSoggetto != null) { - setTipologiaSoggetto(tipologiaSoggetto); - } - - String tipologiaProfessione = (String)attributes.get( - "tipologiaProfessione"); - - if (tipologiaProfessione != null) { - setTipologiaProfessione(tipologiaProfessione); - } - - Boolean aggiuntivo = (Boolean)attributes.get("aggiuntivo"); - - if (aggiuntivo != null) { - setAggiuntivo(aggiuntivo); - } - - Boolean sostituito = (Boolean)attributes.get("sostituito"); - - if (sostituito != null) { - setSostituito(sostituito); - } - } - - @Override - public String getUuid() { - if (_uuid == null) { - return StringPool.BLANK; - } - else { - return _uuid; - } - } - - @Override - public void setUuid(String uuid) { - if (_originalUuid == null) { - _originalUuid = _uuid; - } - - _uuid = uuid; - } - - public String getOriginalUuid() { - return GetterUtil.getString(_originalUuid); - } - - @Override - public long getSoggettoId() { - return _soggettoId; - } - - @Override - public void setSoggettoId(long soggettoId) { - _soggettoId = soggettoId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _columnBitmask |= COMPANYID_COLUMN_BITMASK; - - if (!_setOriginalCompanyId) { - _setOriginalCompanyId = true; - - _originalCompanyId = _companyId; - } - - _companyId = companyId; - } - - public long getOriginalCompanyId() { - return _originalCompanyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _columnBitmask |= GROUPID_COLUMN_BITMASK; - - if (!_setOriginalGroupId) { - _setOriginalGroupId = true; - - _originalGroupId = _groupId; - } - - _groupId = groupId; - } - - public long getOriginalGroupId() { - return _originalGroupId; - } - - @Override - public long getDettPraticaId() { - return _dettPraticaId; - } - - @Override - public void setDettPraticaId(long dettPraticaId) { - _columnBitmask |= DETTPRATICAID_COLUMN_BITMASK; - - if (!_setOriginalDettPraticaId) { - _setOriginalDettPraticaId = true; - - _originalDettPraticaId = _dettPraticaId; - } - - _dettPraticaId = dettPraticaId; - } - - public long getOriginalDettPraticaId() { - return _originalDettPraticaId; - } - - @Override - public String getNome() { - if (_nome == null) { - return StringPool.BLANK; - } - else { - return _nome; - } - } - - @Override - public void setNome(String nome) { - _nome = nome; - } - - @Override - public String getCognome() { - if (_cognome == null) { - return StringPool.BLANK; - } - else { - return _cognome; - } - } - - @Override - public void setCognome(String cognome) { - _cognome = cognome; - } - - @Override - public String getCodiceFiscale() { - if (_codiceFiscale == null) { - return StringPool.BLANK; - } - else { - return _codiceFiscale; - } - } - - @Override - public void setCodiceFiscale(String codiceFiscale) { - _codiceFiscale = codiceFiscale; - } - - @Override - public String getCodiceFiscaleDelegato() { - if (_codiceFiscaleDelegato == null) { - return StringPool.BLANK; - } - else { - return _codiceFiscaleDelegato; - } - } - - @Override - public void setCodiceFiscaleDelegato(String codiceFiscaleDelegato) { - _codiceFiscaleDelegato = codiceFiscaleDelegato; - } - - @Override - public Date getDataNascita() { - return _dataNascita; - } - - @Override - public void setDataNascita(Date dataNascita) { - _dataNascita = dataNascita; - } - - @Override - public String getComuneNascita() { - if (_comuneNascita == null) { - return StringPool.BLANK; - } - else { - return _comuneNascita; - } - } - - @Override - public void setComuneNascita(String comuneNascita) { - _comuneNascita = comuneNascita; - } - - @Override - public String getComuneDomicilio() { - if (_comuneDomicilio == null) { - return StringPool.BLANK; - } - else { - return _comuneDomicilio; - } - } - - @Override - public void setComuneDomicilio(String comuneDomicilio) { - _comuneDomicilio = comuneDomicilio; - } - - @Override - public String getProvinciaDomicilio() { - if (_provinciaDomicilio == null) { - return StringPool.BLANK; - } - else { - return _provinciaDomicilio; - } - } - - @Override - public void setProvinciaDomicilio(String provinciaDomicilio) { - _provinciaDomicilio = provinciaDomicilio; - } - - @Override - public String getViaDomicilio() { - if (_viaDomicilio == null) { - return StringPool.BLANK; - } - else { - return _viaDomicilio; - } - } - - @Override - public void setViaDomicilio(String viaDomicilio) { - _viaDomicilio = viaDomicilio; - } - - @Override - public String getNumeroCivicoDomicilio() { - if (_numeroCivicoDomicilio == null) { - return StringPool.BLANK; - } - else { - return _numeroCivicoDomicilio; - } - } - - @Override - public void setNumeroCivicoDomicilio(String numeroCivicoDomicilio) { - _numeroCivicoDomicilio = numeroCivicoDomicilio; - } - - @Override - public String getCapDomicilio() { - if (_capDomicilio == null) { - return StringPool.BLANK; - } - else { - return _capDomicilio; - } - } - - @Override - public void setCapDomicilio(String capDomicilio) { - _capDomicilio = capDomicilio; - } - - @Override - public String getDomicilioExtra() { - if (_domicilioExtra == null) { - return StringPool.BLANK; - } - else { - return _domicilioExtra; - } - } - - @Override - public void setDomicilioExtra(String domicilioExtra) { - _domicilioExtra = domicilioExtra; - } - - @Override - public String getComune() { - if (_comune == null) { - return StringPool.BLANK; - } - else { - return _comune; - } - } - - @Override - public void setComune(String comune) { - _comune = comune; - } - - @Override - public String getProvincia() { - if (_provincia == null) { - return StringPool.BLANK; - } - else { - return _provincia; - } - } - - @Override - public void setProvincia(String provincia) { - _provincia = provincia; - } - - @Override - public String getVia() { - if (_via == null) { - return StringPool.BLANK; - } - else { - return _via; - } - } - - @Override - public void setVia(String via) { - _via = via; - } - - @Override - public String getNumeroCivico() { - if (_numeroCivico == null) { - return StringPool.BLANK; - } - else { - return _numeroCivico; - } - } - - @Override - public void setNumeroCivico(String numeroCivico) { - _numeroCivico = numeroCivico; - } - - @Override - public String getCap() { - if (_cap == null) { - return StringPool.BLANK; - } - else { - return _cap; - } - } - - @Override - public void setCap(String cap) { - _cap = cap; - } - - @Override - public String getDenominazione() { - if (_denominazione == null) { - return StringPool.BLANK; - } - else { - return _denominazione; - } - } - - @Override - public void setDenominazione(String denominazione) { - _denominazione = denominazione; - } - - @Override - public String getSedeLegale() { - if (_sedeLegale == null) { - return StringPool.BLANK; - } - else { - return _sedeLegale; - } - } - - @Override - public void setSedeLegale(String sedeLegale) { - _sedeLegale = sedeLegale; - } - - @Override - public String getLegaleRap() { - if (_legaleRap == null) { - return StringPool.BLANK; - } - else { - return _legaleRap; - } - } - - @Override - public void setLegaleRap(String legaleRap) { - _legaleRap = legaleRap; - } - - @Override - public Date getDataNascitaRap() { - return _dataNascitaRap; - } - - @Override - public void setDataNascitaRap(Date dataNascitaRap) { - _dataNascitaRap = dataNascitaRap; - } - - @Override - public String getComuneNascitaRap() { - if (_comuneNascitaRap == null) { - return StringPool.BLANK; - } - else { - return _comuneNascitaRap; - } - } - - @Override - public void setComuneNascitaRap(String comuneNascitaRap) { - _comuneNascitaRap = comuneNascitaRap; - } - - @Override - public String getViaRap() { - if (_viaRap == null) { - return StringPool.BLANK; - } - else { - return _viaRap; - } - } - - @Override - public void setViaRap(String viaRap) { - _viaRap = viaRap; - } - - @Override - public String getNumeroCivicoRap() { - if (_numeroCivicoRap == null) { - return StringPool.BLANK; - } - else { - return _numeroCivicoRap; - } - } - - @Override - public void setNumeroCivicoRap(String numeroCivicoRap) { - _numeroCivicoRap = numeroCivicoRap; - } - - @Override - public String getCapRap() { - if (_capRap == null) { - return StringPool.BLANK; - } - else { - return _capRap; - } - } - - @Override - public void setCapRap(String capRap) { - _capRap = capRap; - } - - @Override - public String getProvinciaRap() { - if (_provinciaRap == null) { - return StringPool.BLANK; - } - else { - return _provinciaRap; - } - } - - @Override - public void setProvinciaRap(String provinciaRap) { - _provinciaRap = provinciaRap; - } - - @Override - public String getComuneRap() { - if (_comuneRap == null) { - return StringPool.BLANK; - } - else { - return _comuneRap; - } - } - - @Override - public void setComuneRap(String comuneRap) { - _comuneRap = comuneRap; - } - - @Override - public String getAlbo() { - if (_albo == null) { - return StringPool.BLANK; - } - else { - return _albo; - } - } - - @Override - public void setAlbo(String albo) { - _albo = albo; - } - - @Override - public String getRegAlbo() { - if (_regAlbo == null) { - return StringPool.BLANK; - } - else { - return _regAlbo; - } - } - - @Override - public void setRegAlbo(String regAlbo) { - _regAlbo = regAlbo; - } - - @Override - public String getProvAlbo() { - if (_provAlbo == null) { - return StringPool.BLANK; - } - else { - return _provAlbo; - } - } - - @Override - public void setProvAlbo(String provAlbo) { - _provAlbo = provAlbo; - } - - @Override - public String getNumIscrAlbo() { - if (_numIscrAlbo == null) { - return StringPool.BLANK; - } - else { - return _numIscrAlbo; - } - } - - @Override - public void setNumIscrAlbo(String numIscrAlbo) { - _numIscrAlbo = numIscrAlbo; - } - - @Override - public String getTelefono() { - if (_telefono == null) { - return StringPool.BLANK; - } - else { - return _telefono; - } - } - - @Override - public void setTelefono(String telefono) { - _telefono = telefono; - } - - @Override - public String getFax() { - if (_fax == null) { - return StringPool.BLANK; - } - else { - return _fax; - } - } - - @Override - public void setFax(String fax) { - _fax = fax; - } - - @Override - public String getEmail() { - if (_email == null) { - return StringPool.BLANK; - } - else { - return _email; - } - } - - @Override - public void setEmail(String email) { - _email = email; - } - - @Override - public String getTipologiaSoggetto() { - if (_tipologiaSoggetto == null) { - return StringPool.BLANK; - } - else { - return _tipologiaSoggetto; - } - } - - @Override - public void setTipologiaSoggetto(String tipologiaSoggetto) { - _tipologiaSoggetto = tipologiaSoggetto; - } - - @Override - public String getTipologiaProfessione() { - if (_tipologiaProfessione == null) { - return StringPool.BLANK; - } - else { - return _tipologiaProfessione; - } - } - - @Override - public void setTipologiaProfessione(String tipologiaProfessione) { - _columnBitmask |= TIPOLOGIAPROFESSIONE_COLUMN_BITMASK; - - if (_originalTipologiaProfessione == null) { - _originalTipologiaProfessione = _tipologiaProfessione; - } - - _tipologiaProfessione = tipologiaProfessione; - } - - public String getOriginalTipologiaProfessione() { - return GetterUtil.getString(_originalTipologiaProfessione); - } - - @Override - public boolean getAggiuntivo() { - return _aggiuntivo; - } - - @Override - public boolean isAggiuntivo() { - return _aggiuntivo; - } - - @Override - public void setAggiuntivo(boolean aggiuntivo) { - _columnBitmask |= AGGIUNTIVO_COLUMN_BITMASK; - - if (!_setOriginalAggiuntivo) { - _setOriginalAggiuntivo = true; - - _originalAggiuntivo = _aggiuntivo; - } - - _aggiuntivo = aggiuntivo; - } - - public boolean getOriginalAggiuntivo() { - return _originalAggiuntivo; - } - - @Override - public boolean getSostituito() { - return _sostituito; - } - - @Override - public boolean isSostituito() { - return _sostituito; - } - - @Override - public void setSostituito(boolean sostituito) { - _columnBitmask |= SOSTITUITO_COLUMN_BITMASK; - - if (!_setOriginalSostituito) { - _setOriginalSostituito = true; - - _originalSostituito = _sostituito; - } - - _sostituito = sostituito; - } - - public boolean getOriginalSostituito() { - return _originalSostituito; - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoSoggetto.class.getName())); - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - BoSoggetto.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public BoSoggetto toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (BoSoggetto)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - BoSoggettoImpl boSoggettoImpl = new BoSoggettoImpl(); - - boSoggettoImpl.setUuid(getUuid()); - boSoggettoImpl.setSoggettoId(getSoggettoId()); - boSoggettoImpl.setCompanyId(getCompanyId()); - boSoggettoImpl.setUserId(getUserId()); - boSoggettoImpl.setUserName(getUserName()); - boSoggettoImpl.setCreateDate(getCreateDate()); - boSoggettoImpl.setModifiedDate(getModifiedDate()); - boSoggettoImpl.setGroupId(getGroupId()); - boSoggettoImpl.setDettPraticaId(getDettPraticaId()); - boSoggettoImpl.setNome(getNome()); - boSoggettoImpl.setCognome(getCognome()); - boSoggettoImpl.setCodiceFiscale(getCodiceFiscale()); - boSoggettoImpl.setCodiceFiscaleDelegato(getCodiceFiscaleDelegato()); - boSoggettoImpl.setDataNascita(getDataNascita()); - boSoggettoImpl.setComuneNascita(getComuneNascita()); - boSoggettoImpl.setComuneDomicilio(getComuneDomicilio()); - boSoggettoImpl.setProvinciaDomicilio(getProvinciaDomicilio()); - boSoggettoImpl.setViaDomicilio(getViaDomicilio()); - boSoggettoImpl.setNumeroCivicoDomicilio(getNumeroCivicoDomicilio()); - boSoggettoImpl.setCapDomicilio(getCapDomicilio()); - boSoggettoImpl.setDomicilioExtra(getDomicilioExtra()); - boSoggettoImpl.setComune(getComune()); - boSoggettoImpl.setProvincia(getProvincia()); - boSoggettoImpl.setVia(getVia()); - boSoggettoImpl.setNumeroCivico(getNumeroCivico()); - boSoggettoImpl.setCap(getCap()); - boSoggettoImpl.setDenominazione(getDenominazione()); - boSoggettoImpl.setSedeLegale(getSedeLegale()); - boSoggettoImpl.setLegaleRap(getLegaleRap()); - boSoggettoImpl.setDataNascitaRap(getDataNascitaRap()); - boSoggettoImpl.setComuneNascitaRap(getComuneNascitaRap()); - boSoggettoImpl.setViaRap(getViaRap()); - boSoggettoImpl.setNumeroCivicoRap(getNumeroCivicoRap()); - boSoggettoImpl.setCapRap(getCapRap()); - boSoggettoImpl.setProvinciaRap(getProvinciaRap()); - boSoggettoImpl.setComuneRap(getComuneRap()); - boSoggettoImpl.setAlbo(getAlbo()); - boSoggettoImpl.setRegAlbo(getRegAlbo()); - boSoggettoImpl.setProvAlbo(getProvAlbo()); - boSoggettoImpl.setNumIscrAlbo(getNumIscrAlbo()); - boSoggettoImpl.setTelefono(getTelefono()); - boSoggettoImpl.setFax(getFax()); - boSoggettoImpl.setEmail(getEmail()); - boSoggettoImpl.setTipologiaSoggetto(getTipologiaSoggetto()); - boSoggettoImpl.setTipologiaProfessione(getTipologiaProfessione()); - boSoggettoImpl.setAggiuntivo(getAggiuntivo()); - boSoggettoImpl.setSostituito(getSostituito()); - - boSoggettoImpl.resetOriginalValues(); - - return boSoggettoImpl; - } - - @Override - public int compareTo(BoSoggetto boSoggetto) { - long primaryKey = boSoggetto.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoSoggetto)) { - return false; - } - - BoSoggetto boSoggetto = (BoSoggetto)obj; - - long primaryKey = boSoggetto.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - BoSoggettoModelImpl boSoggettoModelImpl = this; - - boSoggettoModelImpl._originalUuid = boSoggettoModelImpl._uuid; - - boSoggettoModelImpl._originalCompanyId = boSoggettoModelImpl._companyId; - - boSoggettoModelImpl._setOriginalCompanyId = false; - - boSoggettoModelImpl._originalGroupId = boSoggettoModelImpl._groupId; - - boSoggettoModelImpl._setOriginalGroupId = false; - - boSoggettoModelImpl._originalDettPraticaId = boSoggettoModelImpl._dettPraticaId; - - boSoggettoModelImpl._setOriginalDettPraticaId = false; - - boSoggettoModelImpl._originalTipologiaProfessione = boSoggettoModelImpl._tipologiaProfessione; - - boSoggettoModelImpl._originalAggiuntivo = boSoggettoModelImpl._aggiuntivo; - - boSoggettoModelImpl._setOriginalAggiuntivo = false; - - boSoggettoModelImpl._originalSostituito = boSoggettoModelImpl._sostituito; - - boSoggettoModelImpl._setOriginalSostituito = false; - - boSoggettoModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - BoSoggettoCacheModel boSoggettoCacheModel = new BoSoggettoCacheModel(); - - boSoggettoCacheModel.uuid = getUuid(); - - String uuid = boSoggettoCacheModel.uuid; - - if ((uuid != null) && (uuid.length() == 0)) { - boSoggettoCacheModel.uuid = null; - } - - boSoggettoCacheModel.soggettoId = getSoggettoId(); - - boSoggettoCacheModel.companyId = getCompanyId(); - - boSoggettoCacheModel.userId = getUserId(); - - boSoggettoCacheModel.userName = getUserName(); - - String userName = boSoggettoCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - boSoggettoCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - boSoggettoCacheModel.createDate = createDate.getTime(); - } - else { - boSoggettoCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - boSoggettoCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - boSoggettoCacheModel.modifiedDate = Long.MIN_VALUE; - } - - boSoggettoCacheModel.groupId = getGroupId(); - - boSoggettoCacheModel.dettPraticaId = getDettPraticaId(); - - boSoggettoCacheModel.nome = getNome(); - - String nome = boSoggettoCacheModel.nome; - - if ((nome != null) && (nome.length() == 0)) { - boSoggettoCacheModel.nome = null; - } - - boSoggettoCacheModel.cognome = getCognome(); - - String cognome = boSoggettoCacheModel.cognome; - - if ((cognome != null) && (cognome.length() == 0)) { - boSoggettoCacheModel.cognome = null; - } - - boSoggettoCacheModel.codiceFiscale = getCodiceFiscale(); - - String codiceFiscale = boSoggettoCacheModel.codiceFiscale; - - if ((codiceFiscale != null) && (codiceFiscale.length() == 0)) { - boSoggettoCacheModel.codiceFiscale = null; - } - - boSoggettoCacheModel.codiceFiscaleDelegato = getCodiceFiscaleDelegato(); - - String codiceFiscaleDelegato = boSoggettoCacheModel.codiceFiscaleDelegato; - - if ((codiceFiscaleDelegato != null) && - (codiceFiscaleDelegato.length() == 0)) { - boSoggettoCacheModel.codiceFiscaleDelegato = null; - } - - Date dataNascita = getDataNascita(); - - if (dataNascita != null) { - boSoggettoCacheModel.dataNascita = dataNascita.getTime(); - } - else { - boSoggettoCacheModel.dataNascita = Long.MIN_VALUE; - } - - boSoggettoCacheModel.comuneNascita = getComuneNascita(); - - String comuneNascita = boSoggettoCacheModel.comuneNascita; - - if ((comuneNascita != null) && (comuneNascita.length() == 0)) { - boSoggettoCacheModel.comuneNascita = null; - } - - boSoggettoCacheModel.comuneDomicilio = getComuneDomicilio(); - - String comuneDomicilio = boSoggettoCacheModel.comuneDomicilio; - - if ((comuneDomicilio != null) && (comuneDomicilio.length() == 0)) { - boSoggettoCacheModel.comuneDomicilio = null; - } - - boSoggettoCacheModel.provinciaDomicilio = getProvinciaDomicilio(); - - String provinciaDomicilio = boSoggettoCacheModel.provinciaDomicilio; - - if ((provinciaDomicilio != null) && (provinciaDomicilio.length() == 0)) { - boSoggettoCacheModel.provinciaDomicilio = null; - } - - boSoggettoCacheModel.viaDomicilio = getViaDomicilio(); - - String viaDomicilio = boSoggettoCacheModel.viaDomicilio; - - if ((viaDomicilio != null) && (viaDomicilio.length() == 0)) { - boSoggettoCacheModel.viaDomicilio = null; - } - - boSoggettoCacheModel.numeroCivicoDomicilio = getNumeroCivicoDomicilio(); - - String numeroCivicoDomicilio = boSoggettoCacheModel.numeroCivicoDomicilio; - - if ((numeroCivicoDomicilio != null) && - (numeroCivicoDomicilio.length() == 0)) { - boSoggettoCacheModel.numeroCivicoDomicilio = null; - } - - boSoggettoCacheModel.capDomicilio = getCapDomicilio(); - - String capDomicilio = boSoggettoCacheModel.capDomicilio; - - if ((capDomicilio != null) && (capDomicilio.length() == 0)) { - boSoggettoCacheModel.capDomicilio = null; - } - - boSoggettoCacheModel.domicilioExtra = getDomicilioExtra(); - - String domicilioExtra = boSoggettoCacheModel.domicilioExtra; - - if ((domicilioExtra != null) && (domicilioExtra.length() == 0)) { - boSoggettoCacheModel.domicilioExtra = null; - } - - boSoggettoCacheModel.comune = getComune(); - - String comune = boSoggettoCacheModel.comune; - - if ((comune != null) && (comune.length() == 0)) { - boSoggettoCacheModel.comune = null; - } - - boSoggettoCacheModel.provincia = getProvincia(); - - String provincia = boSoggettoCacheModel.provincia; - - if ((provincia != null) && (provincia.length() == 0)) { - boSoggettoCacheModel.provincia = null; - } - - boSoggettoCacheModel.via = getVia(); - - String via = boSoggettoCacheModel.via; - - if ((via != null) && (via.length() == 0)) { - boSoggettoCacheModel.via = null; - } - - boSoggettoCacheModel.numeroCivico = getNumeroCivico(); - - String numeroCivico = boSoggettoCacheModel.numeroCivico; - - if ((numeroCivico != null) && (numeroCivico.length() == 0)) { - boSoggettoCacheModel.numeroCivico = null; - } - - boSoggettoCacheModel.cap = getCap(); - - String cap = boSoggettoCacheModel.cap; - - if ((cap != null) && (cap.length() == 0)) { - boSoggettoCacheModel.cap = null; - } - - boSoggettoCacheModel.denominazione = getDenominazione(); - - String denominazione = boSoggettoCacheModel.denominazione; - - if ((denominazione != null) && (denominazione.length() == 0)) { - boSoggettoCacheModel.denominazione = null; - } - - boSoggettoCacheModel.sedeLegale = getSedeLegale(); - - String sedeLegale = boSoggettoCacheModel.sedeLegale; - - if ((sedeLegale != null) && (sedeLegale.length() == 0)) { - boSoggettoCacheModel.sedeLegale = null; - } - - boSoggettoCacheModel.legaleRap = getLegaleRap(); - - String legaleRap = boSoggettoCacheModel.legaleRap; - - if ((legaleRap != null) && (legaleRap.length() == 0)) { - boSoggettoCacheModel.legaleRap = null; - } - - Date dataNascitaRap = getDataNascitaRap(); - - if (dataNascitaRap != null) { - boSoggettoCacheModel.dataNascitaRap = dataNascitaRap.getTime(); - } - else { - boSoggettoCacheModel.dataNascitaRap = Long.MIN_VALUE; - } - - boSoggettoCacheModel.comuneNascitaRap = getComuneNascitaRap(); - - String comuneNascitaRap = boSoggettoCacheModel.comuneNascitaRap; - - if ((comuneNascitaRap != null) && (comuneNascitaRap.length() == 0)) { - boSoggettoCacheModel.comuneNascitaRap = null; - } - - boSoggettoCacheModel.viaRap = getViaRap(); - - String viaRap = boSoggettoCacheModel.viaRap; - - if ((viaRap != null) && (viaRap.length() == 0)) { - boSoggettoCacheModel.viaRap = null; - } - - boSoggettoCacheModel.numeroCivicoRap = getNumeroCivicoRap(); - - String numeroCivicoRap = boSoggettoCacheModel.numeroCivicoRap; - - if ((numeroCivicoRap != null) && (numeroCivicoRap.length() == 0)) { - boSoggettoCacheModel.numeroCivicoRap = null; - } - - boSoggettoCacheModel.capRap = getCapRap(); - - String capRap = boSoggettoCacheModel.capRap; - - if ((capRap != null) && (capRap.length() == 0)) { - boSoggettoCacheModel.capRap = null; - } - - boSoggettoCacheModel.provinciaRap = getProvinciaRap(); - - String provinciaRap = boSoggettoCacheModel.provinciaRap; - - if ((provinciaRap != null) && (provinciaRap.length() == 0)) { - boSoggettoCacheModel.provinciaRap = null; - } - - boSoggettoCacheModel.comuneRap = getComuneRap(); - - String comuneRap = boSoggettoCacheModel.comuneRap; - - if ((comuneRap != null) && (comuneRap.length() == 0)) { - boSoggettoCacheModel.comuneRap = null; - } - - boSoggettoCacheModel.albo = getAlbo(); - - String albo = boSoggettoCacheModel.albo; - - if ((albo != null) && (albo.length() == 0)) { - boSoggettoCacheModel.albo = null; - } - - boSoggettoCacheModel.regAlbo = getRegAlbo(); - - String regAlbo = boSoggettoCacheModel.regAlbo; - - if ((regAlbo != null) && (regAlbo.length() == 0)) { - boSoggettoCacheModel.regAlbo = null; - } - - boSoggettoCacheModel.provAlbo = getProvAlbo(); - - String provAlbo = boSoggettoCacheModel.provAlbo; - - if ((provAlbo != null) && (provAlbo.length() == 0)) { - boSoggettoCacheModel.provAlbo = null; - } - - boSoggettoCacheModel.numIscrAlbo = getNumIscrAlbo(); - - String numIscrAlbo = boSoggettoCacheModel.numIscrAlbo; - - if ((numIscrAlbo != null) && (numIscrAlbo.length() == 0)) { - boSoggettoCacheModel.numIscrAlbo = null; - } - - boSoggettoCacheModel.telefono = getTelefono(); - - String telefono = boSoggettoCacheModel.telefono; - - if ((telefono != null) && (telefono.length() == 0)) { - boSoggettoCacheModel.telefono = null; - } - - boSoggettoCacheModel.fax = getFax(); - - String fax = boSoggettoCacheModel.fax; - - if ((fax != null) && (fax.length() == 0)) { - boSoggettoCacheModel.fax = null; - } - - boSoggettoCacheModel.email = getEmail(); - - String email = boSoggettoCacheModel.email; - - if ((email != null) && (email.length() == 0)) { - boSoggettoCacheModel.email = null; - } - - boSoggettoCacheModel.tipologiaSoggetto = getTipologiaSoggetto(); - - String tipologiaSoggetto = boSoggettoCacheModel.tipologiaSoggetto; - - if ((tipologiaSoggetto != null) && (tipologiaSoggetto.length() == 0)) { - boSoggettoCacheModel.tipologiaSoggetto = null; - } - - boSoggettoCacheModel.tipologiaProfessione = getTipologiaProfessione(); - - String tipologiaProfessione = boSoggettoCacheModel.tipologiaProfessione; - - if ((tipologiaProfessione != null) && - (tipologiaProfessione.length() == 0)) { - boSoggettoCacheModel.tipologiaProfessione = null; - } - - boSoggettoCacheModel.aggiuntivo = getAggiuntivo(); - - boSoggettoCacheModel.sostituito = getSostituito(); - - return boSoggettoCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(95); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", soggettoId="); - sb.append(getSoggettoId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", dettPraticaId="); - sb.append(getDettPraticaId()); - sb.append(", nome="); - sb.append(getNome()); - sb.append(", cognome="); - sb.append(getCognome()); - sb.append(", codiceFiscale="); - sb.append(getCodiceFiscale()); - sb.append(", codiceFiscaleDelegato="); - sb.append(getCodiceFiscaleDelegato()); - sb.append(", dataNascita="); - sb.append(getDataNascita()); - sb.append(", comuneNascita="); - sb.append(getComuneNascita()); - sb.append(", comuneDomicilio="); - sb.append(getComuneDomicilio()); - sb.append(", provinciaDomicilio="); - sb.append(getProvinciaDomicilio()); - sb.append(", viaDomicilio="); - sb.append(getViaDomicilio()); - sb.append(", numeroCivicoDomicilio="); - sb.append(getNumeroCivicoDomicilio()); - sb.append(", capDomicilio="); - sb.append(getCapDomicilio()); - sb.append(", domicilioExtra="); - sb.append(getDomicilioExtra()); - sb.append(", comune="); - sb.append(getComune()); - sb.append(", provincia="); - sb.append(getProvincia()); - sb.append(", via="); - sb.append(getVia()); - sb.append(", numeroCivico="); - sb.append(getNumeroCivico()); - sb.append(", cap="); - sb.append(getCap()); - sb.append(", denominazione="); - sb.append(getDenominazione()); - sb.append(", sedeLegale="); - sb.append(getSedeLegale()); - sb.append(", legaleRap="); - sb.append(getLegaleRap()); - sb.append(", dataNascitaRap="); - sb.append(getDataNascitaRap()); - sb.append(", comuneNascitaRap="); - sb.append(getComuneNascitaRap()); - sb.append(", viaRap="); - sb.append(getViaRap()); - sb.append(", numeroCivicoRap="); - sb.append(getNumeroCivicoRap()); - sb.append(", capRap="); - sb.append(getCapRap()); - sb.append(", provinciaRap="); - sb.append(getProvinciaRap()); - sb.append(", comuneRap="); - sb.append(getComuneRap()); - sb.append(", albo="); - sb.append(getAlbo()); - sb.append(", regAlbo="); - sb.append(getRegAlbo()); - sb.append(", provAlbo="); - sb.append(getProvAlbo()); - sb.append(", numIscrAlbo="); - sb.append(getNumIscrAlbo()); - sb.append(", telefono="); - sb.append(getTelefono()); - sb.append(", fax="); - sb.append(getFax()); - sb.append(", email="); - sb.append(getEmail()); - sb.append(", tipologiaSoggetto="); - sb.append(getTipologiaSoggetto()); - sb.append(", tipologiaProfessione="); - sb.append(getTipologiaProfessione()); - sb.append(", aggiuntivo="); - sb.append(getAggiuntivo()); - sb.append(", sostituito="); - sb.append(getSostituito()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(145); - - sb.append(""); - sb.append("it.tref.liferay.portos.portosimport.model.BoSoggetto"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "soggettoId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "dettPraticaId"); - sb.append( - "nome"); - sb.append( - "cognome"); - sb.append( - "codiceFiscale"); - sb.append( - "codiceFiscaleDelegato"); - sb.append( - "dataNascita"); - sb.append( - "comuneNascita"); - sb.append( - "comuneDomicilio"); - sb.append( - "provinciaDomicilio"); - sb.append( - "viaDomicilio"); - sb.append( - "numeroCivicoDomicilio"); - sb.append( - "capDomicilio"); - sb.append( - "domicilioExtra"); - sb.append( - "comune"); - sb.append( - "provincia"); - sb.append( - "via"); - sb.append( - "numeroCivico"); - sb.append( - "cap"); - sb.append( - "denominazione"); - sb.append( - "sedeLegale"); - sb.append( - "legaleRap"); - sb.append( - "dataNascitaRap"); - sb.append( - "comuneNascitaRap"); - sb.append( - "viaRap"); - sb.append( - "numeroCivicoRap"); - sb.append( - "capRap"); - sb.append( - "provinciaRap"); - sb.append( - "comuneRap"); - sb.append( - "albo"); - sb.append( - "regAlbo"); - sb.append( - "provAlbo"); - sb.append( - "numIscrAlbo"); - sb.append( - "telefono"); - sb.append( - "fax"); - sb.append( - "email"); - sb.append( - "tipologiaSoggetto"); - sb.append( - "tipologiaProfessione"); - sb.append( - "aggiuntivo"); - sb.append( - "sostituito"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = BoSoggetto.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - BoSoggetto.class - }; - private String _uuid; - private String _originalUuid; - private long _soggettoId; - private long _companyId; - private long _originalCompanyId; - private boolean _setOriginalCompanyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _originalGroupId; - private boolean _setOriginalGroupId; - private long _dettPraticaId; - private long _originalDettPraticaId; - private boolean _setOriginalDettPraticaId; - private String _nome; - private String _cognome; - private String _codiceFiscale; - private String _codiceFiscaleDelegato; - private Date _dataNascita; - private String _comuneNascita; - private String _comuneDomicilio; - private String _provinciaDomicilio; - private String _viaDomicilio; - private String _numeroCivicoDomicilio; - private String _capDomicilio; - private String _domicilioExtra; - private String _comune; - private String _provincia; - private String _via; - private String _numeroCivico; - private String _cap; - private String _denominazione; - private String _sedeLegale; - private String _legaleRap; - private Date _dataNascitaRap; - private String _comuneNascitaRap; - private String _viaRap; - private String _numeroCivicoRap; - private String _capRap; - private String _provinciaRap; - private String _comuneRap; - private String _albo; - private String _regAlbo; - private String _provAlbo; - private String _numIscrAlbo; - private String _telefono; - private String _fax; - private String _email; - private String _tipologiaSoggetto; - private String _tipologiaProfessione; - private String _originalTipologiaProfessione; - private boolean _aggiuntivo; - private boolean _originalAggiuntivo; - private boolean _setOriginalAggiuntivo; - private boolean _sostituito; - private boolean _originalSostituito; - private boolean _setOriginalSostituito; - private long _columnBitmask; - private BoSoggetto _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoSorteggioBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoSorteggioBaseImpl.java deleted file mode 100644 index 0f817a69..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoSorteggioBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.BoSorteggio; -import it.tref.liferay.portos.portosimport.service.BoSorteggioLocalServiceUtil; - -/** - * The extended model base implementation for the BoSorteggio service. Represents a row in the "gc_sorteggio" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoSorteggioImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoSorteggioImpl - * @see it.tref.liferay.portos.portosimport.model.BoSorteggio - * @generated - */ -public abstract class BoSorteggioBaseImpl extends BoSorteggioModelImpl - implements BoSorteggio { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo sorteggio model instance should use the {@link BoSorteggio} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoSorteggioLocalServiceUtil.addBoSorteggio(this); - } - else { - BoSorteggioLocalServiceUtil.updateBoSorteggio(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoSorteggioCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoSorteggioCacheModel.java deleted file mode 100644 index f2990076..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoSorteggioCacheModel.java +++ /dev/null @@ -1,436 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.portosimport.model.BoSorteggio; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing BoSorteggio in entity cache. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoSorteggio - * @generated - */ -public class BoSorteggioCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(57); - - sb.append("{uuid="); - sb.append(uuid); - sb.append(", sorteggioId="); - sb.append(sorteggioId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", status="); - sb.append(status); - sb.append(", statusByUserId="); - sb.append(statusByUserId); - sb.append(", statusByUserName="); - sb.append(statusByUserName); - sb.append(", statusDate="); - sb.append(statusDate); - sb.append(", dettPraticaId="); - sb.append(dettPraticaId); - sb.append(", note="); - sb.append(note); - sb.append(", anno="); - sb.append(anno); - sb.append(", mese="); - sb.append(mese); - sb.append(", dtSorteggio="); - sb.append(dtSorteggio); - sb.append(", stato="); - sb.append(stato); - sb.append(", dettagli="); - sb.append(dettagli); - sb.append(", numeroEstrazione="); - sb.append(numeroEstrazione); - sb.append(", pratica="); - sb.append(pratica); - sb.append(", committente="); - sb.append(committente); - sb.append(", comune="); - sb.append(comune); - sb.append(", provincia="); - sb.append(provincia); - sb.append(", tecnico="); - sb.append(tecnico); - sb.append(", mesePrecedente="); - sb.append(mesePrecedente); - sb.append(", esterna="); - sb.append(esterna); - sb.append(", praticaEsternaId="); - sb.append(praticaEsternaId); - sb.append("}"); - - return sb.toString(); - } - - @Override - public BoSorteggio toEntityModel() { - BoSorteggioImpl boSorteggioImpl = new BoSorteggioImpl(); - - if (uuid == null) { - boSorteggioImpl.setUuid(StringPool.BLANK); - } - else { - boSorteggioImpl.setUuid(uuid); - } - - boSorteggioImpl.setSorteggioId(sorteggioId); - boSorteggioImpl.setCompanyId(companyId); - boSorteggioImpl.setUserId(userId); - - if (userName == null) { - boSorteggioImpl.setUserName(StringPool.BLANK); - } - else { - boSorteggioImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - boSorteggioImpl.setCreateDate(null); - } - else { - boSorteggioImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - boSorteggioImpl.setModifiedDate(null); - } - else { - boSorteggioImpl.setModifiedDate(new Date(modifiedDate)); - } - - boSorteggioImpl.setGroupId(groupId); - boSorteggioImpl.setStatus(status); - boSorteggioImpl.setStatusByUserId(statusByUserId); - - if (statusByUserName == null) { - boSorteggioImpl.setStatusByUserName(StringPool.BLANK); - } - else { - boSorteggioImpl.setStatusByUserName(statusByUserName); - } - - if (statusDate == Long.MIN_VALUE) { - boSorteggioImpl.setStatusDate(null); - } - else { - boSorteggioImpl.setStatusDate(new Date(statusDate)); - } - - boSorteggioImpl.setDettPraticaId(dettPraticaId); - - if (note == null) { - boSorteggioImpl.setNote(StringPool.BLANK); - } - else { - boSorteggioImpl.setNote(note); - } - - if (anno == null) { - boSorteggioImpl.setAnno(StringPool.BLANK); - } - else { - boSorteggioImpl.setAnno(anno); - } - - if (mese == null) { - boSorteggioImpl.setMese(StringPool.BLANK); - } - else { - boSorteggioImpl.setMese(mese); - } - - if (dtSorteggio == Long.MIN_VALUE) { - boSorteggioImpl.setDtSorteggio(null); - } - else { - boSorteggioImpl.setDtSorteggio(new Date(dtSorteggio)); - } - - if (stato == null) { - boSorteggioImpl.setStato(StringPool.BLANK); - } - else { - boSorteggioImpl.setStato(stato); - } - - if (dettagli == null) { - boSorteggioImpl.setDettagli(StringPool.BLANK); - } - else { - boSorteggioImpl.setDettagli(dettagli); - } - - boSorteggioImpl.setNumeroEstrazione(numeroEstrazione); - - if (pratica == null) { - boSorteggioImpl.setPratica(StringPool.BLANK); - } - else { - boSorteggioImpl.setPratica(pratica); - } - - if (committente == null) { - boSorteggioImpl.setCommittente(StringPool.BLANK); - } - else { - boSorteggioImpl.setCommittente(committente); - } - - if (comune == null) { - boSorteggioImpl.setComune(StringPool.BLANK); - } - else { - boSorteggioImpl.setComune(comune); - } - - if (provincia == null) { - boSorteggioImpl.setProvincia(StringPool.BLANK); - } - else { - boSorteggioImpl.setProvincia(provincia); - } - - if (tecnico == null) { - boSorteggioImpl.setTecnico(StringPool.BLANK); - } - else { - boSorteggioImpl.setTecnico(tecnico); - } - - if (mesePrecedente == null) { - boSorteggioImpl.setMesePrecedente(StringPool.BLANK); - } - else { - boSorteggioImpl.setMesePrecedente(mesePrecedente); - } - - boSorteggioImpl.setEsterna(esterna); - boSorteggioImpl.setPraticaEsternaId(praticaEsternaId); - - boSorteggioImpl.resetOriginalValues(); - - return boSorteggioImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - uuid = objectInput.readUTF(); - sorteggioId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - groupId = objectInput.readLong(); - status = objectInput.readInt(); - statusByUserId = objectInput.readLong(); - statusByUserName = objectInput.readUTF(); - statusDate = objectInput.readLong(); - dettPraticaId = objectInput.readLong(); - note = objectInput.readUTF(); - anno = objectInput.readUTF(); - mese = objectInput.readUTF(); - dtSorteggio = objectInput.readLong(); - stato = objectInput.readUTF(); - dettagli = objectInput.readUTF(); - numeroEstrazione = objectInput.readLong(); - pratica = objectInput.readUTF(); - committente = objectInput.readUTF(); - comune = objectInput.readUTF(); - provincia = objectInput.readUTF(); - tecnico = objectInput.readUTF(); - mesePrecedente = objectInput.readUTF(); - esterna = objectInput.readBoolean(); - praticaEsternaId = objectInput.readLong(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - if (uuid == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(uuid); - } - - objectOutput.writeLong(sorteggioId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeLong(groupId); - objectOutput.writeInt(status); - objectOutput.writeLong(statusByUserId); - - if (statusByUserName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(statusByUserName); - } - - objectOutput.writeLong(statusDate); - objectOutput.writeLong(dettPraticaId); - - if (note == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(note); - } - - if (anno == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(anno); - } - - if (mese == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(mese); - } - - objectOutput.writeLong(dtSorteggio); - - if (stato == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(stato); - } - - if (dettagli == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(dettagli); - } - - objectOutput.writeLong(numeroEstrazione); - - if (pratica == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(pratica); - } - - if (committente == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(committente); - } - - if (comune == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(comune); - } - - if (provincia == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(provincia); - } - - if (tecnico == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(tecnico); - } - - if (mesePrecedente == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(mesePrecedente); - } - - objectOutput.writeBoolean(esterna); - objectOutput.writeLong(praticaEsternaId); - } - - public String uuid; - public long sorteggioId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public long groupId; - public int status; - public long statusByUserId; - public String statusByUserName; - public long statusDate; - public long dettPraticaId; - public String note; - public String anno; - public String mese; - public long dtSorteggio; - public String stato; - public String dettagli; - public long numeroEstrazione; - public String pratica; - public String committente; - public String comune; - public String provincia; - public String tecnico; - public String mesePrecedente; - public boolean esterna; - public long praticaEsternaId; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoSorteggioImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoSorteggioImpl.java deleted file mode 100644 index aac39b54..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoSorteggioImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -/** - * The extended model implementation for the BoSorteggio service. Represents a row in the "gc_sorteggio" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.portosimport.model.BoSorteggio} interface. - *

- * - * @author Davide Barbagallo, 3F Consulting - */ -public class BoSorteggioImpl extends BoSorteggioBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a bo sorteggio model instance should use the {@link it.tref.liferay.portos.portosimport.model.BoSorteggio} interface instead. - */ - public BoSorteggioImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoSorteggioModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoSorteggioModelImpl.java deleted file mode 100644 index e65c961a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoSorteggioModelImpl.java +++ /dev/null @@ -1,1438 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.workflow.WorkflowConstants; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.portosimport.model.BoSorteggio; -import it.tref.liferay.portos.portosimport.model.BoSorteggioModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the BoSorteggio service. Represents a row in the "gc_sorteggio" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.portosimport.model.BoSorteggioModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoSorteggioImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoSorteggioImpl - * @see it.tref.liferay.portos.portosimport.model.BoSorteggio - * @see it.tref.liferay.portos.portosimport.model.BoSorteggioModel - * @generated - */ -public class BoSorteggioModelImpl extends BaseModelImpl - implements BoSorteggioModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo sorteggio model instance should use the {@link it.tref.liferay.portos.portosimport.model.BoSorteggio} interface instead. - */ - public static final String TABLE_NAME = "gc_sorteggio"; - public static final Object[][] TABLE_COLUMNS = { - { "uuid_", Types.VARCHAR }, - { "sorteggioId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "groupId", Types.BIGINT }, - { "status", Types.INTEGER }, - { "statusByUserId", Types.BIGINT }, - { "statusByUserName", Types.VARCHAR }, - { "statusDate", Types.TIMESTAMP }, - { "dettPraticaId", Types.BIGINT }, - { "note", Types.VARCHAR }, - { "anno", Types.VARCHAR }, - { "mese", Types.VARCHAR }, - { "dtSorteggio", Types.TIMESTAMP }, - { "stato", Types.VARCHAR }, - { "dettagli", Types.VARCHAR }, - { "numeroEstrazione", Types.BIGINT }, - { "pratica", Types.VARCHAR }, - { "committente", Types.VARCHAR }, - { "comune", Types.VARCHAR }, - { "provincia", Types.VARCHAR }, - { "tecnico", Types.VARCHAR }, - { "mesePrecedente", Types.VARCHAR }, - { "esterna", Types.BOOLEAN }, - { "praticaEsternaId", Types.BIGINT } - }; - public static final String TABLE_SQL_CREATE = "create table gc_sorteggio (uuid_ VARCHAR(75) null,sorteggioId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,status INTEGER,statusByUserId LONG,statusByUserName VARCHAR(75) null,statusDate DATE null,dettPraticaId LONG,note VARCHAR(75) null,anno VARCHAR(75) null,mese VARCHAR(75) null,dtSorteggio DATE null,stato VARCHAR(75) null,dettagli VARCHAR(75) null,numeroEstrazione LONG,pratica VARCHAR(75) null,committente VARCHAR(75) null,comune VARCHAR(75) null,provincia VARCHAR(75) null,tecnico VARCHAR(75) null,mesePrecedente VARCHAR(75) null,esterna BOOLEAN,praticaEsternaId LONG)"; - public static final String TABLE_SQL_DROP = "drop table gc_sorteggio"; - public static final String ORDER_BY_JPQL = " ORDER BY boSorteggio.sorteggioId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gc_sorteggio.sorteggioId ASC"; - public static final String DATA_SOURCE = "datiPortos1DbDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.portosimport.model.BoSorteggio"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.portosimport.model.BoSorteggio"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.portosimport.model.BoSorteggio"), - true); - public static long ANNO_COLUMN_BITMASK = 1L; - public static long COMPANYID_COLUMN_BITMASK = 2L; - public static long DETTPRATICAID_COLUMN_BITMASK = 4L; - public static long GROUPID_COLUMN_BITMASK = 8L; - public static long MESE_COLUMN_BITMASK = 16L; - public static long UUID_COLUMN_BITMASK = 32L; - public static long SORTEGGIOID_COLUMN_BITMASK = 64L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.portosimport.model.BoSorteggio")); - - public BoSorteggioModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _sorteggioId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setSorteggioId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _sorteggioId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return BoSorteggio.class; - } - - @Override - public String getModelClassName() { - return BoSorteggio.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("sorteggioId", getSorteggioId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("status", getStatus()); - attributes.put("statusByUserId", getStatusByUserId()); - attributes.put("statusByUserName", getStatusByUserName()); - attributes.put("statusDate", getStatusDate()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("note", getNote()); - attributes.put("anno", getAnno()); - attributes.put("mese", getMese()); - attributes.put("dtSorteggio", getDtSorteggio()); - attributes.put("stato", getStato()); - attributes.put("dettagli", getDettagli()); - attributes.put("numeroEstrazione", getNumeroEstrazione()); - attributes.put("pratica", getPratica()); - attributes.put("committente", getCommittente()); - attributes.put("comune", getComune()); - attributes.put("provincia", getProvincia()); - attributes.put("tecnico", getTecnico()); - attributes.put("mesePrecedente", getMesePrecedente()); - attributes.put("esterna", getEsterna()); - attributes.put("praticaEsternaId", getPraticaEsternaId()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long sorteggioId = (Long)attributes.get("sorteggioId"); - - if (sorteggioId != null) { - setSorteggioId(sorteggioId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Integer status = (Integer)attributes.get("status"); - - if (status != null) { - setStatus(status); - } - - Long statusByUserId = (Long)attributes.get("statusByUserId"); - - if (statusByUserId != null) { - setStatusByUserId(statusByUserId); - } - - String statusByUserName = (String)attributes.get("statusByUserName"); - - if (statusByUserName != null) { - setStatusByUserName(statusByUserName); - } - - Date statusDate = (Date)attributes.get("statusDate"); - - if (statusDate != null) { - setStatusDate(statusDate); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - String note = (String)attributes.get("note"); - - if (note != null) { - setNote(note); - } - - String anno = (String)attributes.get("anno"); - - if (anno != null) { - setAnno(anno); - } - - String mese = (String)attributes.get("mese"); - - if (mese != null) { - setMese(mese); - } - - Date dtSorteggio = (Date)attributes.get("dtSorteggio"); - - if (dtSorteggio != null) { - setDtSorteggio(dtSorteggio); - } - - String stato = (String)attributes.get("stato"); - - if (stato != null) { - setStato(stato); - } - - String dettagli = (String)attributes.get("dettagli"); - - if (dettagli != null) { - setDettagli(dettagli); - } - - Long numeroEstrazione = (Long)attributes.get("numeroEstrazione"); - - if (numeroEstrazione != null) { - setNumeroEstrazione(numeroEstrazione); - } - - String pratica = (String)attributes.get("pratica"); - - if (pratica != null) { - setPratica(pratica); - } - - String committente = (String)attributes.get("committente"); - - if (committente != null) { - setCommittente(committente); - } - - String comune = (String)attributes.get("comune"); - - if (comune != null) { - setComune(comune); - } - - String provincia = (String)attributes.get("provincia"); - - if (provincia != null) { - setProvincia(provincia); - } - - String tecnico = (String)attributes.get("tecnico"); - - if (tecnico != null) { - setTecnico(tecnico); - } - - String mesePrecedente = (String)attributes.get("mesePrecedente"); - - if (mesePrecedente != null) { - setMesePrecedente(mesePrecedente); - } - - Boolean esterna = (Boolean)attributes.get("esterna"); - - if (esterna != null) { - setEsterna(esterna); - } - - Long praticaEsternaId = (Long)attributes.get("praticaEsternaId"); - - if (praticaEsternaId != null) { - setPraticaEsternaId(praticaEsternaId); - } - } - - @Override - public String getUuid() { - if (_uuid == null) { - return StringPool.BLANK; - } - else { - return _uuid; - } - } - - @Override - public void setUuid(String uuid) { - if (_originalUuid == null) { - _originalUuid = _uuid; - } - - _uuid = uuid; - } - - public String getOriginalUuid() { - return GetterUtil.getString(_originalUuid); - } - - @Override - public long getSorteggioId() { - return _sorteggioId; - } - - @Override - public void setSorteggioId(long sorteggioId) { - _sorteggioId = sorteggioId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _columnBitmask |= COMPANYID_COLUMN_BITMASK; - - if (!_setOriginalCompanyId) { - _setOriginalCompanyId = true; - - _originalCompanyId = _companyId; - } - - _companyId = companyId; - } - - public long getOriginalCompanyId() { - return _originalCompanyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _columnBitmask |= GROUPID_COLUMN_BITMASK; - - if (!_setOriginalGroupId) { - _setOriginalGroupId = true; - - _originalGroupId = _groupId; - } - - _groupId = groupId; - } - - public long getOriginalGroupId() { - return _originalGroupId; - } - - @Override - public int getStatus() { - return _status; - } - - @Override - public void setStatus(int status) { - _status = status; - } - - @Override - public long getStatusByUserId() { - return _statusByUserId; - } - - @Override - public void setStatusByUserId(long statusByUserId) { - _statusByUserId = statusByUserId; - } - - @Override - public String getStatusByUserUuid() throws SystemException { - return PortalUtil.getUserValue(getStatusByUserId(), "uuid", - _statusByUserUuid); - } - - @Override - public void setStatusByUserUuid(String statusByUserUuid) { - _statusByUserUuid = statusByUserUuid; - } - - @Override - public String getStatusByUserName() { - if (_statusByUserName == null) { - return StringPool.BLANK; - } - else { - return _statusByUserName; - } - } - - @Override - public void setStatusByUserName(String statusByUserName) { - _statusByUserName = statusByUserName; - } - - @Override - public Date getStatusDate() { - return _statusDate; - } - - @Override - public void setStatusDate(Date statusDate) { - _statusDate = statusDate; - } - - @Override - public long getDettPraticaId() { - return _dettPraticaId; - } - - @Override - public void setDettPraticaId(long dettPraticaId) { - _columnBitmask |= DETTPRATICAID_COLUMN_BITMASK; - - if (!_setOriginalDettPraticaId) { - _setOriginalDettPraticaId = true; - - _originalDettPraticaId = _dettPraticaId; - } - - _dettPraticaId = dettPraticaId; - } - - public long getOriginalDettPraticaId() { - return _originalDettPraticaId; - } - - @Override - public String getNote() { - if (_note == null) { - return StringPool.BLANK; - } - else { - return _note; - } - } - - @Override - public void setNote(String note) { - _note = note; - } - - @Override - public String getAnno() { - if (_anno == null) { - return StringPool.BLANK; - } - else { - return _anno; - } - } - - @Override - public void setAnno(String anno) { - _columnBitmask |= ANNO_COLUMN_BITMASK; - - if (_originalAnno == null) { - _originalAnno = _anno; - } - - _anno = anno; - } - - public String getOriginalAnno() { - return GetterUtil.getString(_originalAnno); - } - - @Override - public String getMese() { - if (_mese == null) { - return StringPool.BLANK; - } - else { - return _mese; - } - } - - @Override - public void setMese(String mese) { - _columnBitmask |= MESE_COLUMN_BITMASK; - - if (_originalMese == null) { - _originalMese = _mese; - } - - _mese = mese; - } - - public String getOriginalMese() { - return GetterUtil.getString(_originalMese); - } - - @Override - public Date getDtSorteggio() { - return _dtSorteggio; - } - - @Override - public void setDtSorteggio(Date dtSorteggio) { - _dtSorteggio = dtSorteggio; - } - - @Override - public String getStato() { - if (_stato == null) { - return StringPool.BLANK; - } - else { - return _stato; - } - } - - @Override - public void setStato(String stato) { - _stato = stato; - } - - @Override - public String getDettagli() { - if (_dettagli == null) { - return StringPool.BLANK; - } - else { - return _dettagli; - } - } - - @Override - public void setDettagli(String dettagli) { - _dettagli = dettagli; - } - - @Override - public long getNumeroEstrazione() { - return _numeroEstrazione; - } - - @Override - public void setNumeroEstrazione(long numeroEstrazione) { - _numeroEstrazione = numeroEstrazione; - } - - @Override - public String getPratica() { - if (_pratica == null) { - return StringPool.BLANK; - } - else { - return _pratica; - } - } - - @Override - public void setPratica(String pratica) { - _pratica = pratica; - } - - @Override - public String getCommittente() { - if (_committente == null) { - return StringPool.BLANK; - } - else { - return _committente; - } - } - - @Override - public void setCommittente(String committente) { - _committente = committente; - } - - @Override - public String getComune() { - if (_comune == null) { - return StringPool.BLANK; - } - else { - return _comune; - } - } - - @Override - public void setComune(String comune) { - _comune = comune; - } - - @Override - public String getProvincia() { - if (_provincia == null) { - return StringPool.BLANK; - } - else { - return _provincia; - } - } - - @Override - public void setProvincia(String provincia) { - _provincia = provincia; - } - - @Override - public String getTecnico() { - if (_tecnico == null) { - return StringPool.BLANK; - } - else { - return _tecnico; - } - } - - @Override - public void setTecnico(String tecnico) { - _tecnico = tecnico; - } - - @Override - public String getMesePrecedente() { - if (_mesePrecedente == null) { - return StringPool.BLANK; - } - else { - return _mesePrecedente; - } - } - - @Override - public void setMesePrecedente(String mesePrecedente) { - _mesePrecedente = mesePrecedente; - } - - @Override - public boolean getEsterna() { - return _esterna; - } - - @Override - public boolean isEsterna() { - return _esterna; - } - - @Override - public void setEsterna(boolean esterna) { - _esterna = esterna; - } - - @Override - public long getPraticaEsternaId() { - return _praticaEsternaId; - } - - @Override - public void setPraticaEsternaId(long praticaEsternaId) { - _praticaEsternaId = praticaEsternaId; - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoSorteggio.class.getName())); - } - - /** - * @deprecated As of 6.1.0, replaced by {@link #isApproved} - */ - @Override - public boolean getApproved() { - return isApproved(); - } - - @Override - public boolean isApproved() { - if (getStatus() == WorkflowConstants.STATUS_APPROVED) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isDenied() { - if (getStatus() == WorkflowConstants.STATUS_DENIED) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isDraft() { - if (getStatus() == WorkflowConstants.STATUS_DRAFT) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isExpired() { - if (getStatus() == WorkflowConstants.STATUS_EXPIRED) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isInactive() { - if (getStatus() == WorkflowConstants.STATUS_INACTIVE) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isIncomplete() { - if (getStatus() == WorkflowConstants.STATUS_INCOMPLETE) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isPending() { - if (getStatus() == WorkflowConstants.STATUS_PENDING) { - return true; - } - else { - return false; - } - } - - @Override - public boolean isScheduled() { - if (getStatus() == WorkflowConstants.STATUS_SCHEDULED) { - return true; - } - else { - return false; - } - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - BoSorteggio.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public BoSorteggio toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (BoSorteggio)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - BoSorteggioImpl boSorteggioImpl = new BoSorteggioImpl(); - - boSorteggioImpl.setUuid(getUuid()); - boSorteggioImpl.setSorteggioId(getSorteggioId()); - boSorteggioImpl.setCompanyId(getCompanyId()); - boSorteggioImpl.setUserId(getUserId()); - boSorteggioImpl.setUserName(getUserName()); - boSorteggioImpl.setCreateDate(getCreateDate()); - boSorteggioImpl.setModifiedDate(getModifiedDate()); - boSorteggioImpl.setGroupId(getGroupId()); - boSorteggioImpl.setStatus(getStatus()); - boSorteggioImpl.setStatusByUserId(getStatusByUserId()); - boSorteggioImpl.setStatusByUserName(getStatusByUserName()); - boSorteggioImpl.setStatusDate(getStatusDate()); - boSorteggioImpl.setDettPraticaId(getDettPraticaId()); - boSorteggioImpl.setNote(getNote()); - boSorteggioImpl.setAnno(getAnno()); - boSorteggioImpl.setMese(getMese()); - boSorteggioImpl.setDtSorteggio(getDtSorteggio()); - boSorteggioImpl.setStato(getStato()); - boSorteggioImpl.setDettagli(getDettagli()); - boSorteggioImpl.setNumeroEstrazione(getNumeroEstrazione()); - boSorteggioImpl.setPratica(getPratica()); - boSorteggioImpl.setCommittente(getCommittente()); - boSorteggioImpl.setComune(getComune()); - boSorteggioImpl.setProvincia(getProvincia()); - boSorteggioImpl.setTecnico(getTecnico()); - boSorteggioImpl.setMesePrecedente(getMesePrecedente()); - boSorteggioImpl.setEsterna(getEsterna()); - boSorteggioImpl.setPraticaEsternaId(getPraticaEsternaId()); - - boSorteggioImpl.resetOriginalValues(); - - return boSorteggioImpl; - } - - @Override - public int compareTo(BoSorteggio boSorteggio) { - long primaryKey = boSorteggio.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoSorteggio)) { - return false; - } - - BoSorteggio boSorteggio = (BoSorteggio)obj; - - long primaryKey = boSorteggio.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - BoSorteggioModelImpl boSorteggioModelImpl = this; - - boSorteggioModelImpl._originalUuid = boSorteggioModelImpl._uuid; - - boSorteggioModelImpl._originalCompanyId = boSorteggioModelImpl._companyId; - - boSorteggioModelImpl._setOriginalCompanyId = false; - - boSorteggioModelImpl._originalGroupId = boSorteggioModelImpl._groupId; - - boSorteggioModelImpl._setOriginalGroupId = false; - - boSorteggioModelImpl._originalDettPraticaId = boSorteggioModelImpl._dettPraticaId; - - boSorteggioModelImpl._setOriginalDettPraticaId = false; - - boSorteggioModelImpl._originalAnno = boSorteggioModelImpl._anno; - - boSorteggioModelImpl._originalMese = boSorteggioModelImpl._mese; - - boSorteggioModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - BoSorteggioCacheModel boSorteggioCacheModel = new BoSorteggioCacheModel(); - - boSorteggioCacheModel.uuid = getUuid(); - - String uuid = boSorteggioCacheModel.uuid; - - if ((uuid != null) && (uuid.length() == 0)) { - boSorteggioCacheModel.uuid = null; - } - - boSorteggioCacheModel.sorteggioId = getSorteggioId(); - - boSorteggioCacheModel.companyId = getCompanyId(); - - boSorteggioCacheModel.userId = getUserId(); - - boSorteggioCacheModel.userName = getUserName(); - - String userName = boSorteggioCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - boSorteggioCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - boSorteggioCacheModel.createDate = createDate.getTime(); - } - else { - boSorteggioCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - boSorteggioCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - boSorteggioCacheModel.modifiedDate = Long.MIN_VALUE; - } - - boSorteggioCacheModel.groupId = getGroupId(); - - boSorteggioCacheModel.status = getStatus(); - - boSorteggioCacheModel.statusByUserId = getStatusByUserId(); - - boSorteggioCacheModel.statusByUserName = getStatusByUserName(); - - String statusByUserName = boSorteggioCacheModel.statusByUserName; - - if ((statusByUserName != null) && (statusByUserName.length() == 0)) { - boSorteggioCacheModel.statusByUserName = null; - } - - Date statusDate = getStatusDate(); - - if (statusDate != null) { - boSorteggioCacheModel.statusDate = statusDate.getTime(); - } - else { - boSorteggioCacheModel.statusDate = Long.MIN_VALUE; - } - - boSorteggioCacheModel.dettPraticaId = getDettPraticaId(); - - boSorteggioCacheModel.note = getNote(); - - String note = boSorteggioCacheModel.note; - - if ((note != null) && (note.length() == 0)) { - boSorteggioCacheModel.note = null; - } - - boSorteggioCacheModel.anno = getAnno(); - - String anno = boSorteggioCacheModel.anno; - - if ((anno != null) && (anno.length() == 0)) { - boSorteggioCacheModel.anno = null; - } - - boSorteggioCacheModel.mese = getMese(); - - String mese = boSorteggioCacheModel.mese; - - if ((mese != null) && (mese.length() == 0)) { - boSorteggioCacheModel.mese = null; - } - - Date dtSorteggio = getDtSorteggio(); - - if (dtSorteggio != null) { - boSorteggioCacheModel.dtSorteggio = dtSorteggio.getTime(); - } - else { - boSorteggioCacheModel.dtSorteggio = Long.MIN_VALUE; - } - - boSorteggioCacheModel.stato = getStato(); - - String stato = boSorteggioCacheModel.stato; - - if ((stato != null) && (stato.length() == 0)) { - boSorteggioCacheModel.stato = null; - } - - boSorteggioCacheModel.dettagli = getDettagli(); - - String dettagli = boSorteggioCacheModel.dettagli; - - if ((dettagli != null) && (dettagli.length() == 0)) { - boSorteggioCacheModel.dettagli = null; - } - - boSorteggioCacheModel.numeroEstrazione = getNumeroEstrazione(); - - boSorteggioCacheModel.pratica = getPratica(); - - String pratica = boSorteggioCacheModel.pratica; - - if ((pratica != null) && (pratica.length() == 0)) { - boSorteggioCacheModel.pratica = null; - } - - boSorteggioCacheModel.committente = getCommittente(); - - String committente = boSorteggioCacheModel.committente; - - if ((committente != null) && (committente.length() == 0)) { - boSorteggioCacheModel.committente = null; - } - - boSorteggioCacheModel.comune = getComune(); - - String comune = boSorteggioCacheModel.comune; - - if ((comune != null) && (comune.length() == 0)) { - boSorteggioCacheModel.comune = null; - } - - boSorteggioCacheModel.provincia = getProvincia(); - - String provincia = boSorteggioCacheModel.provincia; - - if ((provincia != null) && (provincia.length() == 0)) { - boSorteggioCacheModel.provincia = null; - } - - boSorteggioCacheModel.tecnico = getTecnico(); - - String tecnico = boSorteggioCacheModel.tecnico; - - if ((tecnico != null) && (tecnico.length() == 0)) { - boSorteggioCacheModel.tecnico = null; - } - - boSorteggioCacheModel.mesePrecedente = getMesePrecedente(); - - String mesePrecedente = boSorteggioCacheModel.mesePrecedente; - - if ((mesePrecedente != null) && (mesePrecedente.length() == 0)) { - boSorteggioCacheModel.mesePrecedente = null; - } - - boSorteggioCacheModel.esterna = getEsterna(); - - boSorteggioCacheModel.praticaEsternaId = getPraticaEsternaId(); - - return boSorteggioCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(57); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", sorteggioId="); - sb.append(getSorteggioId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", status="); - sb.append(getStatus()); - sb.append(", statusByUserId="); - sb.append(getStatusByUserId()); - sb.append(", statusByUserName="); - sb.append(getStatusByUserName()); - sb.append(", statusDate="); - sb.append(getStatusDate()); - sb.append(", dettPraticaId="); - sb.append(getDettPraticaId()); - sb.append(", note="); - sb.append(getNote()); - sb.append(", anno="); - sb.append(getAnno()); - sb.append(", mese="); - sb.append(getMese()); - sb.append(", dtSorteggio="); - sb.append(getDtSorteggio()); - sb.append(", stato="); - sb.append(getStato()); - sb.append(", dettagli="); - sb.append(getDettagli()); - sb.append(", numeroEstrazione="); - sb.append(getNumeroEstrazione()); - sb.append(", pratica="); - sb.append(getPratica()); - sb.append(", committente="); - sb.append(getCommittente()); - sb.append(", comune="); - sb.append(getComune()); - sb.append(", provincia="); - sb.append(getProvincia()); - sb.append(", tecnico="); - sb.append(getTecnico()); - sb.append(", mesePrecedente="); - sb.append(getMesePrecedente()); - sb.append(", esterna="); - sb.append(getEsterna()); - sb.append(", praticaEsternaId="); - sb.append(getPraticaEsternaId()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(88); - - sb.append(""); - sb.append("it.tref.liferay.portos.portosimport.model.BoSorteggio"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "sorteggioId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "status"); - sb.append( - "statusByUserId"); - sb.append( - "statusByUserName"); - sb.append( - "statusDate"); - sb.append( - "dettPraticaId"); - sb.append( - "note"); - sb.append( - "anno"); - sb.append( - "mese"); - sb.append( - "dtSorteggio"); - sb.append( - "stato"); - sb.append( - "dettagli"); - sb.append( - "numeroEstrazione"); - sb.append( - "pratica"); - sb.append( - "committente"); - sb.append( - "comune"); - sb.append( - "provincia"); - sb.append( - "tecnico"); - sb.append( - "mesePrecedente"); - sb.append( - "esterna"); - sb.append( - "praticaEsternaId"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = BoSorteggio.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - BoSorteggio.class - }; - private String _uuid; - private String _originalUuid; - private long _sorteggioId; - private long _companyId; - private long _originalCompanyId; - private boolean _setOriginalCompanyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _originalGroupId; - private boolean _setOriginalGroupId; - private int _status; - private long _statusByUserId; - private String _statusByUserUuid; - private String _statusByUserName; - private Date _statusDate; - private long _dettPraticaId; - private long _originalDettPraticaId; - private boolean _setOriginalDettPraticaId; - private String _note; - private String _anno; - private String _originalAnno; - private String _mese; - private String _originalMese; - private Date _dtSorteggio; - private String _stato; - private String _dettagli; - private long _numeroEstrazione; - private String _pratica; - private String _committente; - private String _comune; - private String _provincia; - private String _tecnico; - private String _mesePrecedente; - private boolean _esterna; - private long _praticaEsternaId; - private long _columnBitmask; - private BoSorteggio _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoStoricoSoggettoPraticaBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoStoricoSoggettoPraticaBaseImpl.java deleted file mode 100644 index ef0443ac..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoStoricoSoggettoPraticaBaseImpl.java +++ /dev/null @@ -1,51 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica; -import it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalServiceUtil; - -/** - * The extended model base implementation for the BoStoricoSoggettoPratica service. Represents a row in the "gc_storicosoggettopratica" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoStoricoSoggettoPraticaImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoStoricoSoggettoPraticaImpl - * @see it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica - * @generated - */ -public abstract class BoStoricoSoggettoPraticaBaseImpl - extends BoStoricoSoggettoPraticaModelImpl - implements BoStoricoSoggettoPratica { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo storico soggetto pratica model instance should use the {@link BoStoricoSoggettoPratica} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoStoricoSoggettoPraticaLocalServiceUtil.addBoStoricoSoggettoPratica(this); - } - else { - BoStoricoSoggettoPraticaLocalServiceUtil.updateBoStoricoSoggettoPratica(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoStoricoSoggettoPraticaCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoStoricoSoggettoPraticaCacheModel.java deleted file mode 100644 index a900df7c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoStoricoSoggettoPraticaCacheModel.java +++ /dev/null @@ -1,195 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing BoStoricoSoggettoPratica in entity cache. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoStoricoSoggettoPratica - * @generated - */ -public class BoStoricoSoggettoPraticaCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(23); - - sb.append("{storicoSoggettoPraticaId="); - sb.append(storicoSoggettoPraticaId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", intPraticaId="); - sb.append(intPraticaId); - sb.append(", nome="); - sb.append(nome); - sb.append(", cognome="); - sb.append(cognome); - sb.append(", codiceFiscale="); - sb.append(codiceFiscale); - sb.append("}"); - - return sb.toString(); - } - - @Override - public BoStoricoSoggettoPratica toEntityModel() { - BoStoricoSoggettoPraticaImpl boStoricoSoggettoPraticaImpl = new BoStoricoSoggettoPraticaImpl(); - - boStoricoSoggettoPraticaImpl.setStoricoSoggettoPraticaId(storicoSoggettoPraticaId); - boStoricoSoggettoPraticaImpl.setCompanyId(companyId); - boStoricoSoggettoPraticaImpl.setUserId(userId); - - if (userName == null) { - boStoricoSoggettoPraticaImpl.setUserName(StringPool.BLANK); - } - else { - boStoricoSoggettoPraticaImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - boStoricoSoggettoPraticaImpl.setCreateDate(null); - } - else { - boStoricoSoggettoPraticaImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - boStoricoSoggettoPraticaImpl.setModifiedDate(null); - } - else { - boStoricoSoggettoPraticaImpl.setModifiedDate(new Date(modifiedDate)); - } - - boStoricoSoggettoPraticaImpl.setGroupId(groupId); - boStoricoSoggettoPraticaImpl.setIntPraticaId(intPraticaId); - - if (nome == null) { - boStoricoSoggettoPraticaImpl.setNome(StringPool.BLANK); - } - else { - boStoricoSoggettoPraticaImpl.setNome(nome); - } - - if (cognome == null) { - boStoricoSoggettoPraticaImpl.setCognome(StringPool.BLANK); - } - else { - boStoricoSoggettoPraticaImpl.setCognome(cognome); - } - - if (codiceFiscale == null) { - boStoricoSoggettoPraticaImpl.setCodiceFiscale(StringPool.BLANK); - } - else { - boStoricoSoggettoPraticaImpl.setCodiceFiscale(codiceFiscale); - } - - boStoricoSoggettoPraticaImpl.resetOriginalValues(); - - return boStoricoSoggettoPraticaImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - storicoSoggettoPraticaId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - groupId = objectInput.readLong(); - intPraticaId = objectInput.readLong(); - nome = objectInput.readUTF(); - cognome = objectInput.readUTF(); - codiceFiscale = objectInput.readUTF(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - objectOutput.writeLong(storicoSoggettoPraticaId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeLong(groupId); - objectOutput.writeLong(intPraticaId); - - if (nome == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(nome); - } - - if (cognome == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(cognome); - } - - if (codiceFiscale == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codiceFiscale); - } - } - - public long storicoSoggettoPraticaId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public long groupId; - public long intPraticaId; - public String nome; - public String cognome; - public String codiceFiscale; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoStoricoSoggettoPraticaImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoStoricoSoggettoPraticaImpl.java deleted file mode 100644 index acfd87af..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoStoricoSoggettoPraticaImpl.java +++ /dev/null @@ -1,35 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -/** - * The extended model implementation for the BoStoricoSoggettoPratica service. Represents a row in the "gc_storicosoggettopratica" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica} interface. - *

- * - * @author Davide Barbagallo, 3F Consulting - */ -public class BoStoricoSoggettoPraticaImpl - extends BoStoricoSoggettoPraticaBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a bo storico soggetto pratica model instance should use the {@link it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica} interface instead. - */ - public BoStoricoSoggettoPraticaImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoStoricoSoggettoPraticaModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoStoricoSoggettoPraticaModelImpl.java deleted file mode 100644 index 42000457..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoStoricoSoggettoPraticaModelImpl.java +++ /dev/null @@ -1,670 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.DateUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica; -import it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPraticaModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the BoStoricoSoggettoPratica service. Represents a row in the "gc_storicosoggettopratica" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPraticaModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoStoricoSoggettoPraticaImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoStoricoSoggettoPraticaImpl - * @see it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica - * @see it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPraticaModel - * @generated - */ -public class BoStoricoSoggettoPraticaModelImpl extends BaseModelImpl - implements BoStoricoSoggettoPraticaModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo storico soggetto pratica model instance should use the {@link it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica} interface instead. - */ - public static final String TABLE_NAME = "gc_storicosoggettopratica"; - public static final Object[][] TABLE_COLUMNS = { - { "storicoSoggettoPraticaId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "groupId", Types.BIGINT }, - { "intPraticaId", Types.BIGINT }, - { "nome", Types.VARCHAR }, - { "cognome", Types.VARCHAR }, - { "codiceFiscale", Types.VARCHAR } - }; - public static final String TABLE_SQL_CREATE = "create table gc_storicosoggettopratica (storicoSoggettoPraticaId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,intPraticaId LONG,nome VARCHAR(75) null,cognome VARCHAR(75) null,codiceFiscale VARCHAR(75) null)"; - public static final String TABLE_SQL_DROP = "drop table gc_storicosoggettopratica"; - public static final String ORDER_BY_JPQL = " ORDER BY boStoricoSoggettoPratica.createDate ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gc_storicosoggettopratica.createDate ASC"; - public static final String DATA_SOURCE = "datiPortos1DbDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica"), - true); - public static long COMPANYID_COLUMN_BITMASK = 1L; - public static long INTPRATICAID_COLUMN_BITMASK = 2L; - public static long CREATEDATE_COLUMN_BITMASK = 4L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica")); - - public BoStoricoSoggettoPraticaModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _storicoSoggettoPraticaId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setStoricoSoggettoPraticaId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _storicoSoggettoPraticaId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return BoStoricoSoggettoPratica.class; - } - - @Override - public String getModelClassName() { - return BoStoricoSoggettoPratica.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("storicoSoggettoPraticaId", getStoricoSoggettoPraticaId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("nome", getNome()); - attributes.put("cognome", getCognome()); - attributes.put("codiceFiscale", getCodiceFiscale()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long storicoSoggettoPraticaId = (Long)attributes.get( - "storicoSoggettoPraticaId"); - - if (storicoSoggettoPraticaId != null) { - setStoricoSoggettoPraticaId(storicoSoggettoPraticaId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - String nome = (String)attributes.get("nome"); - - if (nome != null) { - setNome(nome); - } - - String cognome = (String)attributes.get("cognome"); - - if (cognome != null) { - setCognome(cognome); - } - - String codiceFiscale = (String)attributes.get("codiceFiscale"); - - if (codiceFiscale != null) { - setCodiceFiscale(codiceFiscale); - } - } - - @Override - public long getStoricoSoggettoPraticaId() { - return _storicoSoggettoPraticaId; - } - - @Override - public void setStoricoSoggettoPraticaId(long storicoSoggettoPraticaId) { - _storicoSoggettoPraticaId = storicoSoggettoPraticaId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _columnBitmask |= COMPANYID_COLUMN_BITMASK; - - if (!_setOriginalCompanyId) { - _setOriginalCompanyId = true; - - _originalCompanyId = _companyId; - } - - _companyId = companyId; - } - - public long getOriginalCompanyId() { - return _originalCompanyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _columnBitmask = -1L; - - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - } - - @Override - public long getIntPraticaId() { - return _intPraticaId; - } - - @Override - public void setIntPraticaId(long intPraticaId) { - _columnBitmask |= INTPRATICAID_COLUMN_BITMASK; - - if (!_setOriginalIntPraticaId) { - _setOriginalIntPraticaId = true; - - _originalIntPraticaId = _intPraticaId; - } - - _intPraticaId = intPraticaId; - } - - public long getOriginalIntPraticaId() { - return _originalIntPraticaId; - } - - @Override - public String getNome() { - if (_nome == null) { - return StringPool.BLANK; - } - else { - return _nome; - } - } - - @Override - public void setNome(String nome) { - _nome = nome; - } - - @Override - public String getCognome() { - if (_cognome == null) { - return StringPool.BLANK; - } - else { - return _cognome; - } - } - - @Override - public void setCognome(String cognome) { - _cognome = cognome; - } - - @Override - public String getCodiceFiscale() { - if (_codiceFiscale == null) { - return StringPool.BLANK; - } - else { - return _codiceFiscale; - } - } - - @Override - public void setCodiceFiscale(String codiceFiscale) { - _codiceFiscale = codiceFiscale; - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - BoStoricoSoggettoPratica.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public BoStoricoSoggettoPratica toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (BoStoricoSoggettoPratica)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - BoStoricoSoggettoPraticaImpl boStoricoSoggettoPraticaImpl = new BoStoricoSoggettoPraticaImpl(); - - boStoricoSoggettoPraticaImpl.setStoricoSoggettoPraticaId(getStoricoSoggettoPraticaId()); - boStoricoSoggettoPraticaImpl.setCompanyId(getCompanyId()); - boStoricoSoggettoPraticaImpl.setUserId(getUserId()); - boStoricoSoggettoPraticaImpl.setUserName(getUserName()); - boStoricoSoggettoPraticaImpl.setCreateDate(getCreateDate()); - boStoricoSoggettoPraticaImpl.setModifiedDate(getModifiedDate()); - boStoricoSoggettoPraticaImpl.setGroupId(getGroupId()); - boStoricoSoggettoPraticaImpl.setIntPraticaId(getIntPraticaId()); - boStoricoSoggettoPraticaImpl.setNome(getNome()); - boStoricoSoggettoPraticaImpl.setCognome(getCognome()); - boStoricoSoggettoPraticaImpl.setCodiceFiscale(getCodiceFiscale()); - - boStoricoSoggettoPraticaImpl.resetOriginalValues(); - - return boStoricoSoggettoPraticaImpl; - } - - @Override - public int compareTo(BoStoricoSoggettoPratica boStoricoSoggettoPratica) { - int value = 0; - - value = DateUtil.compareTo(getCreateDate(), - boStoricoSoggettoPratica.getCreateDate()); - - if (value != 0) { - return value; - } - - return 0; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoStoricoSoggettoPratica)) { - return false; - } - - BoStoricoSoggettoPratica boStoricoSoggettoPratica = (BoStoricoSoggettoPratica)obj; - - long primaryKey = boStoricoSoggettoPratica.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - BoStoricoSoggettoPraticaModelImpl boStoricoSoggettoPraticaModelImpl = this; - - boStoricoSoggettoPraticaModelImpl._originalCompanyId = boStoricoSoggettoPraticaModelImpl._companyId; - - boStoricoSoggettoPraticaModelImpl._setOriginalCompanyId = false; - - boStoricoSoggettoPraticaModelImpl._originalIntPraticaId = boStoricoSoggettoPraticaModelImpl._intPraticaId; - - boStoricoSoggettoPraticaModelImpl._setOriginalIntPraticaId = false; - - boStoricoSoggettoPraticaModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - BoStoricoSoggettoPraticaCacheModel boStoricoSoggettoPraticaCacheModel = new BoStoricoSoggettoPraticaCacheModel(); - - boStoricoSoggettoPraticaCacheModel.storicoSoggettoPraticaId = getStoricoSoggettoPraticaId(); - - boStoricoSoggettoPraticaCacheModel.companyId = getCompanyId(); - - boStoricoSoggettoPraticaCacheModel.userId = getUserId(); - - boStoricoSoggettoPraticaCacheModel.userName = getUserName(); - - String userName = boStoricoSoggettoPraticaCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - boStoricoSoggettoPraticaCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - boStoricoSoggettoPraticaCacheModel.createDate = createDate.getTime(); - } - else { - boStoricoSoggettoPraticaCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - boStoricoSoggettoPraticaCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - boStoricoSoggettoPraticaCacheModel.modifiedDate = Long.MIN_VALUE; - } - - boStoricoSoggettoPraticaCacheModel.groupId = getGroupId(); - - boStoricoSoggettoPraticaCacheModel.intPraticaId = getIntPraticaId(); - - boStoricoSoggettoPraticaCacheModel.nome = getNome(); - - String nome = boStoricoSoggettoPraticaCacheModel.nome; - - if ((nome != null) && (nome.length() == 0)) { - boStoricoSoggettoPraticaCacheModel.nome = null; - } - - boStoricoSoggettoPraticaCacheModel.cognome = getCognome(); - - String cognome = boStoricoSoggettoPraticaCacheModel.cognome; - - if ((cognome != null) && (cognome.length() == 0)) { - boStoricoSoggettoPraticaCacheModel.cognome = null; - } - - boStoricoSoggettoPraticaCacheModel.codiceFiscale = getCodiceFiscale(); - - String codiceFiscale = boStoricoSoggettoPraticaCacheModel.codiceFiscale; - - if ((codiceFiscale != null) && (codiceFiscale.length() == 0)) { - boStoricoSoggettoPraticaCacheModel.codiceFiscale = null; - } - - return boStoricoSoggettoPraticaCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(23); - - sb.append("{storicoSoggettoPraticaId="); - sb.append(getStoricoSoggettoPraticaId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", intPraticaId="); - sb.append(getIntPraticaId()); - sb.append(", nome="); - sb.append(getNome()); - sb.append(", cognome="); - sb.append(getCognome()); - sb.append(", codiceFiscale="); - sb.append(getCodiceFiscale()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(37); - - sb.append(""); - sb.append( - "it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica"); - sb.append(""); - - sb.append( - "storicoSoggettoPraticaId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "intPraticaId"); - sb.append( - "nome"); - sb.append( - "cognome"); - sb.append( - "codiceFiscale"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = BoStoricoSoggettoPratica.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - BoStoricoSoggettoPratica.class - }; - private long _storicoSoggettoPraticaId; - private long _companyId; - private long _originalCompanyId; - private boolean _setOriginalCompanyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _intPraticaId; - private long _originalIntPraticaId; - private boolean _setOriginalIntPraticaId; - private String _nome; - private String _cognome; - private String _codiceFiscale; - private long _columnBitmask; - private BoStoricoSoggettoPratica _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoTempisticaBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoTempisticaBaseImpl.java deleted file mode 100644 index b0dbe5b7..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoTempisticaBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.BoTempistica; -import it.tref.liferay.portos.portosimport.service.BoTempisticaLocalServiceUtil; - -/** - * The extended model base implementation for the BoTempistica service. Represents a row in the "gc_tempistica" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoTempisticaImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoTempisticaImpl - * @see it.tref.liferay.portos.portosimport.model.BoTempistica - * @generated - */ -public abstract class BoTempisticaBaseImpl extends BoTempisticaModelImpl - implements BoTempistica { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo tempistica model instance should use the {@link BoTempistica} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoTempisticaLocalServiceUtil.addBoTempistica(this); - } - else { - BoTempisticaLocalServiceUtil.updateBoTempistica(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoTempisticaCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoTempisticaCacheModel.java deleted file mode 100644 index 256ad67c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoTempisticaCacheModel.java +++ /dev/null @@ -1,209 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.portosimport.model.BoTempistica; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing BoTempistica in entity cache. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoTempistica - * @generated - */ -public class BoTempisticaCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(31); - - sb.append("{uuid="); - sb.append(uuid); - sb.append(", tempisticaId="); - sb.append(tempisticaId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", intPraticaId="); - sb.append(intPraticaId); - sb.append(", dettPraticaId="); - sb.append(dettPraticaId); - sb.append(", tipo="); - sb.append(tipo); - sb.append(", start="); - sb.append(start); - sb.append(", stop="); - sb.append(stop); - sb.append(", wait="); - sb.append(wait); - sb.append(", completo="); - sb.append(completo); - sb.append("}"); - - return sb.toString(); - } - - @Override - public BoTempistica toEntityModel() { - BoTempisticaImpl boTempisticaImpl = new BoTempisticaImpl(); - - if (uuid == null) { - boTempisticaImpl.setUuid(StringPool.BLANK); - } - else { - boTempisticaImpl.setUuid(uuid); - } - - boTempisticaImpl.setTempisticaId(tempisticaId); - boTempisticaImpl.setCompanyId(companyId); - boTempisticaImpl.setUserId(userId); - - if (userName == null) { - boTempisticaImpl.setUserName(StringPool.BLANK); - } - else { - boTempisticaImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - boTempisticaImpl.setCreateDate(null); - } - else { - boTempisticaImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - boTempisticaImpl.setModifiedDate(null); - } - else { - boTempisticaImpl.setModifiedDate(new Date(modifiedDate)); - } - - boTempisticaImpl.setGroupId(groupId); - boTempisticaImpl.setIntPraticaId(intPraticaId); - boTempisticaImpl.setDettPraticaId(dettPraticaId); - - if (tipo == null) { - boTempisticaImpl.setTipo(StringPool.BLANK); - } - else { - boTempisticaImpl.setTipo(tipo); - } - - boTempisticaImpl.setStart(start); - boTempisticaImpl.setStop(stop); - boTempisticaImpl.setWait(wait); - boTempisticaImpl.setCompleto(completo); - - boTempisticaImpl.resetOriginalValues(); - - return boTempisticaImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - uuid = objectInput.readUTF(); - tempisticaId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - groupId = objectInput.readLong(); - intPraticaId = objectInput.readLong(); - dettPraticaId = objectInput.readLong(); - tipo = objectInput.readUTF(); - start = objectInput.readLong(); - stop = objectInput.readLong(); - wait = objectInput.readLong(); - completo = objectInput.readBoolean(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - if (uuid == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(uuid); - } - - objectOutput.writeLong(tempisticaId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeLong(groupId); - objectOutput.writeLong(intPraticaId); - objectOutput.writeLong(dettPraticaId); - - if (tipo == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(tipo); - } - - objectOutput.writeLong(start); - objectOutput.writeLong(stop); - objectOutput.writeLong(wait); - objectOutput.writeBoolean(completo); - } - - public String uuid; - public long tempisticaId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public long groupId; - public long intPraticaId; - public long dettPraticaId; - public String tipo; - public long start; - public long stop; - public long wait; - public boolean completo; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoTempisticaImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoTempisticaImpl.java deleted file mode 100644 index c98644fa..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoTempisticaImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -/** - * The extended model implementation for the BoTempistica service. Represents a row in the "gc_tempistica" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.portosimport.model.BoTempistica} interface. - *

- * - * @author Davide Barbagallo, 3F Consulting - */ -public class BoTempisticaImpl extends BoTempisticaBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a bo tempistica model instance should use the {@link it.tref.liferay.portos.portosimport.model.BoTempistica} interface instead. - */ - public BoTempisticaImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoTempisticaModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoTempisticaModelImpl.java deleted file mode 100644 index e2724021..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoTempisticaModelImpl.java +++ /dev/null @@ -1,843 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.portosimport.model.BoTempistica; -import it.tref.liferay.portos.portosimport.model.BoTempisticaModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the BoTempistica service. Represents a row in the "gc_tempistica" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.portosimport.model.BoTempisticaModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoTempisticaImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoTempisticaImpl - * @see it.tref.liferay.portos.portosimport.model.BoTempistica - * @see it.tref.liferay.portos.portosimport.model.BoTempisticaModel - * @generated - */ -public class BoTempisticaModelImpl extends BaseModelImpl - implements BoTempisticaModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo tempistica model instance should use the {@link it.tref.liferay.portos.portosimport.model.BoTempistica} interface instead. - */ - public static final String TABLE_NAME = "gc_tempistica"; - public static final Object[][] TABLE_COLUMNS = { - { "uuid_", Types.VARCHAR }, - { "tempisticaId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "groupId", Types.BIGINT }, - { "intPraticaId", Types.BIGINT }, - { "dettPraticaId", Types.BIGINT }, - { "tipo", Types.VARCHAR }, - { "start_", Types.BIGINT }, - { "stop", Types.BIGINT }, - { "wait", Types.BIGINT }, - { "completo", Types.BOOLEAN } - }; - public static final String TABLE_SQL_CREATE = "create table gc_tempistica (uuid_ VARCHAR(75) null,tempisticaId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,intPraticaId LONG,dettPraticaId LONG,tipo VARCHAR(75) null,start_ LONG,stop LONG,wait LONG,completo BOOLEAN)"; - public static final String TABLE_SQL_DROP = "drop table gc_tempistica"; - public static final String ORDER_BY_JPQL = " ORDER BY boTempistica.tempisticaId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gc_tempistica.tempisticaId ASC"; - public static final String DATA_SOURCE = "datiPortos1DbDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.portosimport.model.BoTempistica"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.portosimport.model.BoTempistica"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.portosimport.model.BoTempistica"), - true); - public static long COMPANYID_COLUMN_BITMASK = 1L; - public static long COMPLETO_COLUMN_BITMASK = 2L; - public static long GROUPID_COLUMN_BITMASK = 4L; - public static long INTPRATICAID_COLUMN_BITMASK = 8L; - public static long TIPO_COLUMN_BITMASK = 16L; - public static long UUID_COLUMN_BITMASK = 32L; - public static long TEMPISTICAID_COLUMN_BITMASK = 64L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.portosimport.model.BoTempistica")); - - public BoTempisticaModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _tempisticaId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setTempisticaId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _tempisticaId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return BoTempistica.class; - } - - @Override - public String getModelClassName() { - return BoTempistica.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("tempisticaId", getTempisticaId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("tipo", getTipo()); - attributes.put("start", getStart()); - attributes.put("stop", getStop()); - attributes.put("wait", getWait()); - attributes.put("completo", getCompleto()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long tempisticaId = (Long)attributes.get("tempisticaId"); - - if (tempisticaId != null) { - setTempisticaId(tempisticaId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - String tipo = (String)attributes.get("tipo"); - - if (tipo != null) { - setTipo(tipo); - } - - Long start = (Long)attributes.get("start"); - - if (start != null) { - setStart(start); - } - - Long stop = (Long)attributes.get("stop"); - - if (stop != null) { - setStop(stop); - } - - Long wait = (Long)attributes.get("wait"); - - if (wait != null) { - setWait(wait); - } - - Boolean completo = (Boolean)attributes.get("completo"); - - if (completo != null) { - setCompleto(completo); - } - } - - @Override - public String getUuid() { - if (_uuid == null) { - return StringPool.BLANK; - } - else { - return _uuid; - } - } - - @Override - public void setUuid(String uuid) { - if (_originalUuid == null) { - _originalUuid = _uuid; - } - - _uuid = uuid; - } - - public String getOriginalUuid() { - return GetterUtil.getString(_originalUuid); - } - - @Override - public long getTempisticaId() { - return _tempisticaId; - } - - @Override - public void setTempisticaId(long tempisticaId) { - _tempisticaId = tempisticaId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _columnBitmask |= COMPANYID_COLUMN_BITMASK; - - if (!_setOriginalCompanyId) { - _setOriginalCompanyId = true; - - _originalCompanyId = _companyId; - } - - _companyId = companyId; - } - - public long getOriginalCompanyId() { - return _originalCompanyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _columnBitmask |= GROUPID_COLUMN_BITMASK; - - if (!_setOriginalGroupId) { - _setOriginalGroupId = true; - - _originalGroupId = _groupId; - } - - _groupId = groupId; - } - - public long getOriginalGroupId() { - return _originalGroupId; - } - - @Override - public long getIntPraticaId() { - return _intPraticaId; - } - - @Override - public void setIntPraticaId(long intPraticaId) { - _columnBitmask |= INTPRATICAID_COLUMN_BITMASK; - - if (!_setOriginalIntPraticaId) { - _setOriginalIntPraticaId = true; - - _originalIntPraticaId = _intPraticaId; - } - - _intPraticaId = intPraticaId; - } - - public long getOriginalIntPraticaId() { - return _originalIntPraticaId; - } - - @Override - public long getDettPraticaId() { - return _dettPraticaId; - } - - @Override - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - } - - @Override - public String getTipo() { - if (_tipo == null) { - return StringPool.BLANK; - } - else { - return _tipo; - } - } - - @Override - public void setTipo(String tipo) { - _columnBitmask |= TIPO_COLUMN_BITMASK; - - if (_originalTipo == null) { - _originalTipo = _tipo; - } - - _tipo = tipo; - } - - public String getOriginalTipo() { - return GetterUtil.getString(_originalTipo); - } - - @Override - public long getStart() { - return _start; - } - - @Override - public void setStart(long start) { - _start = start; - } - - @Override - public long getStop() { - return _stop; - } - - @Override - public void setStop(long stop) { - _stop = stop; - } - - @Override - public long getWait() { - return _wait; - } - - @Override - public void setWait(long wait) { - _wait = wait; - } - - @Override - public boolean getCompleto() { - return _completo; - } - - @Override - public boolean isCompleto() { - return _completo; - } - - @Override - public void setCompleto(boolean completo) { - _columnBitmask |= COMPLETO_COLUMN_BITMASK; - - if (!_setOriginalCompleto) { - _setOriginalCompleto = true; - - _originalCompleto = _completo; - } - - _completo = completo; - } - - public boolean getOriginalCompleto() { - return _originalCompleto; - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - BoTempistica.class.getName())); - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - BoTempistica.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public BoTempistica toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (BoTempistica)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - BoTempisticaImpl boTempisticaImpl = new BoTempisticaImpl(); - - boTempisticaImpl.setUuid(getUuid()); - boTempisticaImpl.setTempisticaId(getTempisticaId()); - boTempisticaImpl.setCompanyId(getCompanyId()); - boTempisticaImpl.setUserId(getUserId()); - boTempisticaImpl.setUserName(getUserName()); - boTempisticaImpl.setCreateDate(getCreateDate()); - boTempisticaImpl.setModifiedDate(getModifiedDate()); - boTempisticaImpl.setGroupId(getGroupId()); - boTempisticaImpl.setIntPraticaId(getIntPraticaId()); - boTempisticaImpl.setDettPraticaId(getDettPraticaId()); - boTempisticaImpl.setTipo(getTipo()); - boTempisticaImpl.setStart(getStart()); - boTempisticaImpl.setStop(getStop()); - boTempisticaImpl.setWait(getWait()); - boTempisticaImpl.setCompleto(getCompleto()); - - boTempisticaImpl.resetOriginalValues(); - - return boTempisticaImpl; - } - - @Override - public int compareTo(BoTempistica boTempistica) { - long primaryKey = boTempistica.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoTempistica)) { - return false; - } - - BoTempistica boTempistica = (BoTempistica)obj; - - long primaryKey = boTempistica.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - BoTempisticaModelImpl boTempisticaModelImpl = this; - - boTempisticaModelImpl._originalUuid = boTempisticaModelImpl._uuid; - - boTempisticaModelImpl._originalCompanyId = boTempisticaModelImpl._companyId; - - boTempisticaModelImpl._setOriginalCompanyId = false; - - boTempisticaModelImpl._originalGroupId = boTempisticaModelImpl._groupId; - - boTempisticaModelImpl._setOriginalGroupId = false; - - boTempisticaModelImpl._originalIntPraticaId = boTempisticaModelImpl._intPraticaId; - - boTempisticaModelImpl._setOriginalIntPraticaId = false; - - boTempisticaModelImpl._originalTipo = boTempisticaModelImpl._tipo; - - boTempisticaModelImpl._originalCompleto = boTempisticaModelImpl._completo; - - boTempisticaModelImpl._setOriginalCompleto = false; - - boTempisticaModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - BoTempisticaCacheModel boTempisticaCacheModel = new BoTempisticaCacheModel(); - - boTempisticaCacheModel.uuid = getUuid(); - - String uuid = boTempisticaCacheModel.uuid; - - if ((uuid != null) && (uuid.length() == 0)) { - boTempisticaCacheModel.uuid = null; - } - - boTempisticaCacheModel.tempisticaId = getTempisticaId(); - - boTempisticaCacheModel.companyId = getCompanyId(); - - boTempisticaCacheModel.userId = getUserId(); - - boTempisticaCacheModel.userName = getUserName(); - - String userName = boTempisticaCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - boTempisticaCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - boTempisticaCacheModel.createDate = createDate.getTime(); - } - else { - boTempisticaCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - boTempisticaCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - boTempisticaCacheModel.modifiedDate = Long.MIN_VALUE; - } - - boTempisticaCacheModel.groupId = getGroupId(); - - boTempisticaCacheModel.intPraticaId = getIntPraticaId(); - - boTempisticaCacheModel.dettPraticaId = getDettPraticaId(); - - boTempisticaCacheModel.tipo = getTipo(); - - String tipo = boTempisticaCacheModel.tipo; - - if ((tipo != null) && (tipo.length() == 0)) { - boTempisticaCacheModel.tipo = null; - } - - boTempisticaCacheModel.start = getStart(); - - boTempisticaCacheModel.stop = getStop(); - - boTempisticaCacheModel.wait = getWait(); - - boTempisticaCacheModel.completo = getCompleto(); - - return boTempisticaCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(31); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", tempisticaId="); - sb.append(getTempisticaId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", intPraticaId="); - sb.append(getIntPraticaId()); - sb.append(", dettPraticaId="); - sb.append(getDettPraticaId()); - sb.append(", tipo="); - sb.append(getTipo()); - sb.append(", start="); - sb.append(getStart()); - sb.append(", stop="); - sb.append(getStop()); - sb.append(", wait="); - sb.append(getWait()); - sb.append(", completo="); - sb.append(getCompleto()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(49); - - sb.append(""); - sb.append("it.tref.liferay.portos.portosimport.model.BoTempistica"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "tempisticaId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "intPraticaId"); - sb.append( - "dettPraticaId"); - sb.append( - "tipo"); - sb.append( - "start"); - sb.append( - "stop"); - sb.append( - "wait"); - sb.append( - "completo"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = BoTempistica.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - BoTempistica.class - }; - private String _uuid; - private String _originalUuid; - private long _tempisticaId; - private long _companyId; - private long _originalCompanyId; - private boolean _setOriginalCompanyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _originalGroupId; - private boolean _setOriginalGroupId; - private long _intPraticaId; - private long _originalIntPraticaId; - private boolean _setOriginalIntPraticaId; - private long _dettPraticaId; - private String _tipo; - private String _originalTipo; - private long _start; - private long _stop; - private long _wait; - private boolean _completo; - private boolean _originalCompleto; - private boolean _setOriginalCompleto; - private long _columnBitmask; - private BoTempistica _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoTerritorioBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoTerritorioBaseImpl.java deleted file mode 100644 index deabfba6..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoTerritorioBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.BoTerritorio; -import it.tref.liferay.portos.portosimport.service.BoTerritorioLocalServiceUtil; - -/** - * The extended model base implementation for the BoTerritorio service. Represents a row in the "gc_territorio" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoTerritorioImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoTerritorioImpl - * @see it.tref.liferay.portos.portosimport.model.BoTerritorio - * @generated - */ -public abstract class BoTerritorioBaseImpl extends BoTerritorioModelImpl - implements BoTerritorio { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo territorio model instance should use the {@link BoTerritorio} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - BoTerritorioLocalServiceUtil.addBoTerritorio(this); - } - else { - BoTerritorioLocalServiceUtil.updateBoTerritorio(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoTerritorioCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoTerritorioCacheModel.java deleted file mode 100644 index 3158b64d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoTerritorioCacheModel.java +++ /dev/null @@ -1,177 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.portosimport.model.BoTerritorio; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing BoTerritorio in entity cache. - * - * @author Davide Barbagallo, 3F Consulting - * @see BoTerritorio - * @generated - */ -public class BoTerritorioCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(25); - - sb.append("{territorioId="); - sb.append(territorioId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", zonaId="); - sb.append(zonaId); - sb.append(", fasciaId="); - sb.append(fasciaId); - sb.append(", comuneId="); - sb.append(comuneId); - sb.append(", dtIni="); - sb.append(dtIni); - sb.append(", dtFin="); - sb.append(dtFin); - sb.append("}"); - - return sb.toString(); - } - - @Override - public BoTerritorio toEntityModel() { - BoTerritorioImpl boTerritorioImpl = new BoTerritorioImpl(); - - boTerritorioImpl.setTerritorioId(territorioId); - boTerritorioImpl.setCompanyId(companyId); - boTerritorioImpl.setUserId(userId); - - if (userName == null) { - boTerritorioImpl.setUserName(StringPool.BLANK); - } - else { - boTerritorioImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - boTerritorioImpl.setCreateDate(null); - } - else { - boTerritorioImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - boTerritorioImpl.setModifiedDate(null); - } - else { - boTerritorioImpl.setModifiedDate(new Date(modifiedDate)); - } - - boTerritorioImpl.setGroupId(groupId); - boTerritorioImpl.setZonaId(zonaId); - boTerritorioImpl.setFasciaId(fasciaId); - boTerritorioImpl.setComuneId(comuneId); - - if (dtIni == Long.MIN_VALUE) { - boTerritorioImpl.setDtIni(null); - } - else { - boTerritorioImpl.setDtIni(new Date(dtIni)); - } - - if (dtFin == Long.MIN_VALUE) { - boTerritorioImpl.setDtFin(null); - } - else { - boTerritorioImpl.setDtFin(new Date(dtFin)); - } - - boTerritorioImpl.resetOriginalValues(); - - return boTerritorioImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - territorioId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - groupId = objectInput.readLong(); - zonaId = objectInput.readLong(); - fasciaId = objectInput.readLong(); - comuneId = objectInput.readLong(); - dtIni = objectInput.readLong(); - dtFin = objectInput.readLong(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - objectOutput.writeLong(territorioId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeLong(groupId); - objectOutput.writeLong(zonaId); - objectOutput.writeLong(fasciaId); - objectOutput.writeLong(comuneId); - objectOutput.writeLong(dtIni); - objectOutput.writeLong(dtFin); - } - - public long territorioId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public long groupId; - public long zonaId; - public long fasciaId; - public long comuneId; - public long dtIni; - public long dtFin; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoTerritorioImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoTerritorioImpl.java deleted file mode 100644 index 13d5317f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoTerritorioImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -/** - * The extended model implementation for the BoTerritorio service. Represents a row in the "gc_territorio" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.portosimport.model.BoTerritorio} interface. - *

- * - * @author Davide Barbagallo, 3F Consulting - */ -public class BoTerritorioImpl extends BoTerritorioBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a bo territorio model instance should use the {@link it.tref.liferay.portos.portosimport.model.BoTerritorio} interface instead. - */ - public BoTerritorioImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoTerritorioModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoTerritorioModelImpl.java deleted file mode 100644 index 2dc84fb1..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/BoTerritorioModelImpl.java +++ /dev/null @@ -1,746 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.portosimport.model.BoTerritorio; -import it.tref.liferay.portos.portosimport.model.BoTerritorioModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the BoTerritorio service. Represents a row in the "gc_territorio" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.portosimport.model.BoTerritorioModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link BoTerritorioImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoTerritorioImpl - * @see it.tref.liferay.portos.portosimport.model.BoTerritorio - * @see it.tref.liferay.portos.portosimport.model.BoTerritorioModel - * @generated - */ -public class BoTerritorioModelImpl extends BaseModelImpl - implements BoTerritorioModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a bo territorio model instance should use the {@link it.tref.liferay.portos.portosimport.model.BoTerritorio} interface instead. - */ - public static final String TABLE_NAME = "gc_territorio"; - public static final Object[][] TABLE_COLUMNS = { - { "territorioId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "groupId", Types.BIGINT }, - { "zonaId", Types.BIGINT }, - { "fasciaId", Types.BIGINT }, - { "comuneId", Types.BIGINT }, - { "dtIni", Types.TIMESTAMP }, - { "dtFin", Types.TIMESTAMP } - }; - public static final String TABLE_SQL_CREATE = "create table gc_territorio (territorioId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,zonaId LONG,fasciaId LONG,comuneId LONG,dtIni DATE null,dtFin DATE null)"; - public static final String TABLE_SQL_DROP = "drop table gc_territorio"; - public static final String ORDER_BY_JPQL = " ORDER BY boTerritorio.territorioId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gc_territorio.territorioId ASC"; - public static final String DATA_SOURCE = "datiPortos1DbDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.portosimport.model.BoTerritorio"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.portosimport.model.BoTerritorio"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.portosimport.model.BoTerritorio"), - true); - public static long COMPANYID_COLUMN_BITMASK = 1L; - public static long COMUNEID_COLUMN_BITMASK = 2L; - public static long DTINI_COLUMN_BITMASK = 4L; - public static long FASCIAID_COLUMN_BITMASK = 8L; - public static long GROUPID_COLUMN_BITMASK = 16L; - public static long ZONAID_COLUMN_BITMASK = 32L; - public static long TERRITORIOID_COLUMN_BITMASK = 64L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.portosimport.model.BoTerritorio")); - - public BoTerritorioModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _territorioId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setTerritorioId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _territorioId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return BoTerritorio.class; - } - - @Override - public String getModelClassName() { - return BoTerritorio.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("territorioId", getTerritorioId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("zonaId", getZonaId()); - attributes.put("fasciaId", getFasciaId()); - attributes.put("comuneId", getComuneId()); - attributes.put("dtIni", getDtIni()); - attributes.put("dtFin", getDtFin()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long territorioId = (Long)attributes.get("territorioId"); - - if (territorioId != null) { - setTerritorioId(territorioId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long zonaId = (Long)attributes.get("zonaId"); - - if (zonaId != null) { - setZonaId(zonaId); - } - - Long fasciaId = (Long)attributes.get("fasciaId"); - - if (fasciaId != null) { - setFasciaId(fasciaId); - } - - Long comuneId = (Long)attributes.get("comuneId"); - - if (comuneId != null) { - setComuneId(comuneId); - } - - Date dtIni = (Date)attributes.get("dtIni"); - - if (dtIni != null) { - setDtIni(dtIni); - } - - Date dtFin = (Date)attributes.get("dtFin"); - - if (dtFin != null) { - setDtFin(dtFin); - } - } - - @Override - public long getTerritorioId() { - return _territorioId; - } - - @Override - public void setTerritorioId(long territorioId) { - _territorioId = territorioId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _columnBitmask |= COMPANYID_COLUMN_BITMASK; - - if (!_setOriginalCompanyId) { - _setOriginalCompanyId = true; - - _originalCompanyId = _companyId; - } - - _companyId = companyId; - } - - public long getOriginalCompanyId() { - return _originalCompanyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _columnBitmask |= GROUPID_COLUMN_BITMASK; - - if (!_setOriginalGroupId) { - _setOriginalGroupId = true; - - _originalGroupId = _groupId; - } - - _groupId = groupId; - } - - public long getOriginalGroupId() { - return _originalGroupId; - } - - @Override - public long getZonaId() { - return _zonaId; - } - - @Override - public void setZonaId(long zonaId) { - _columnBitmask |= ZONAID_COLUMN_BITMASK; - - if (!_setOriginalZonaId) { - _setOriginalZonaId = true; - - _originalZonaId = _zonaId; - } - - _zonaId = zonaId; - } - - public long getOriginalZonaId() { - return _originalZonaId; - } - - @Override - public long getFasciaId() { - return _fasciaId; - } - - @Override - public void setFasciaId(long fasciaId) { - _columnBitmask |= FASCIAID_COLUMN_BITMASK; - - if (!_setOriginalFasciaId) { - _setOriginalFasciaId = true; - - _originalFasciaId = _fasciaId; - } - - _fasciaId = fasciaId; - } - - public long getOriginalFasciaId() { - return _originalFasciaId; - } - - @Override - public long getComuneId() { - return _comuneId; - } - - @Override - public void setComuneId(long comuneId) { - _columnBitmask |= COMUNEID_COLUMN_BITMASK; - - if (!_setOriginalComuneId) { - _setOriginalComuneId = true; - - _originalComuneId = _comuneId; - } - - _comuneId = comuneId; - } - - public long getOriginalComuneId() { - return _originalComuneId; - } - - @Override - public Date getDtIni() { - return _dtIni; - } - - @Override - public void setDtIni(Date dtIni) { - _columnBitmask |= DTINI_COLUMN_BITMASK; - - if (_originalDtIni == null) { - _originalDtIni = _dtIni; - } - - _dtIni = dtIni; - } - - public Date getOriginalDtIni() { - return _originalDtIni; - } - - @Override - public Date getDtFin() { - return _dtFin; - } - - @Override - public void setDtFin(Date dtFin) { - _dtFin = dtFin; - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - BoTerritorio.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public BoTerritorio toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (BoTerritorio)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - BoTerritorioImpl boTerritorioImpl = new BoTerritorioImpl(); - - boTerritorioImpl.setTerritorioId(getTerritorioId()); - boTerritorioImpl.setCompanyId(getCompanyId()); - boTerritorioImpl.setUserId(getUserId()); - boTerritorioImpl.setUserName(getUserName()); - boTerritorioImpl.setCreateDate(getCreateDate()); - boTerritorioImpl.setModifiedDate(getModifiedDate()); - boTerritorioImpl.setGroupId(getGroupId()); - boTerritorioImpl.setZonaId(getZonaId()); - boTerritorioImpl.setFasciaId(getFasciaId()); - boTerritorioImpl.setComuneId(getComuneId()); - boTerritorioImpl.setDtIni(getDtIni()); - boTerritorioImpl.setDtFin(getDtFin()); - - boTerritorioImpl.resetOriginalValues(); - - return boTerritorioImpl; - } - - @Override - public int compareTo(BoTerritorio boTerritorio) { - long primaryKey = boTerritorio.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof BoTerritorio)) { - return false; - } - - BoTerritorio boTerritorio = (BoTerritorio)obj; - - long primaryKey = boTerritorio.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - BoTerritorioModelImpl boTerritorioModelImpl = this; - - boTerritorioModelImpl._originalCompanyId = boTerritorioModelImpl._companyId; - - boTerritorioModelImpl._setOriginalCompanyId = false; - - boTerritorioModelImpl._originalGroupId = boTerritorioModelImpl._groupId; - - boTerritorioModelImpl._setOriginalGroupId = false; - - boTerritorioModelImpl._originalZonaId = boTerritorioModelImpl._zonaId; - - boTerritorioModelImpl._setOriginalZonaId = false; - - boTerritorioModelImpl._originalFasciaId = boTerritorioModelImpl._fasciaId; - - boTerritorioModelImpl._setOriginalFasciaId = false; - - boTerritorioModelImpl._originalComuneId = boTerritorioModelImpl._comuneId; - - boTerritorioModelImpl._setOriginalComuneId = false; - - boTerritorioModelImpl._originalDtIni = boTerritorioModelImpl._dtIni; - - boTerritorioModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - BoTerritorioCacheModel boTerritorioCacheModel = new BoTerritorioCacheModel(); - - boTerritorioCacheModel.territorioId = getTerritorioId(); - - boTerritorioCacheModel.companyId = getCompanyId(); - - boTerritorioCacheModel.userId = getUserId(); - - boTerritorioCacheModel.userName = getUserName(); - - String userName = boTerritorioCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - boTerritorioCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - boTerritorioCacheModel.createDate = createDate.getTime(); - } - else { - boTerritorioCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - boTerritorioCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - boTerritorioCacheModel.modifiedDate = Long.MIN_VALUE; - } - - boTerritorioCacheModel.groupId = getGroupId(); - - boTerritorioCacheModel.zonaId = getZonaId(); - - boTerritorioCacheModel.fasciaId = getFasciaId(); - - boTerritorioCacheModel.comuneId = getComuneId(); - - Date dtIni = getDtIni(); - - if (dtIni != null) { - boTerritorioCacheModel.dtIni = dtIni.getTime(); - } - else { - boTerritorioCacheModel.dtIni = Long.MIN_VALUE; - } - - Date dtFin = getDtFin(); - - if (dtFin != null) { - boTerritorioCacheModel.dtFin = dtFin.getTime(); - } - else { - boTerritorioCacheModel.dtFin = Long.MIN_VALUE; - } - - return boTerritorioCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(25); - - sb.append("{territorioId="); - sb.append(getTerritorioId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", zonaId="); - sb.append(getZonaId()); - sb.append(", fasciaId="); - sb.append(getFasciaId()); - sb.append(", comuneId="); - sb.append(getComuneId()); - sb.append(", dtIni="); - sb.append(getDtIni()); - sb.append(", dtFin="); - sb.append(getDtFin()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(40); - - sb.append(""); - sb.append("it.tref.liferay.portos.portosimport.model.BoTerritorio"); - sb.append(""); - - sb.append( - "territorioId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "zonaId"); - sb.append( - "fasciaId"); - sb.append( - "comuneId"); - sb.append( - "dtIni"); - sb.append( - "dtFin"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = BoTerritorio.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - BoTerritorio.class - }; - private long _territorioId; - private long _companyId; - private long _originalCompanyId; - private boolean _setOriginalCompanyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _originalGroupId; - private boolean _setOriginalGroupId; - private long _zonaId; - private long _originalZonaId; - private boolean _setOriginalZonaId; - private long _fasciaId; - private long _originalFasciaId; - private boolean _setOriginalFasciaId; - private long _comuneId; - private long _originalComuneId; - private boolean _setOriginalComuneId; - private Date _dtIni; - private Date _originalDtIni; - private Date _dtFin; - private long _columnBitmask; - private BoTerritorio _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeComuneBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeComuneBaseImpl.java deleted file mode 100644 index 8b22bc0e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeComuneBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.FeComune; -import it.tref.liferay.portos.portosimport.service.FeComuneLocalServiceUtil; - -/** - * The extended model base implementation for the FeComune service. Represents a row in the "gcfe_comune" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link FeComuneImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see FeComuneImpl - * @see it.tref.liferay.portos.portosimport.model.FeComune - * @generated - */ -public abstract class FeComuneBaseImpl extends FeComuneModelImpl - implements FeComune { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a fe comune model instance should use the {@link FeComune} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - FeComuneLocalServiceUtil.addFeComune(this); - } - else { - FeComuneLocalServiceUtil.updateFeComune(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeComuneCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeComuneCacheModel.java deleted file mode 100644 index 4a3bb56a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeComuneCacheModel.java +++ /dev/null @@ -1,124 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.portosimport.model.FeComune; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -/** - * The cache model class for representing FeComune in entity cache. - * - * @author Davide Barbagallo, 3F Consulting - * @see FeComune - * @generated - */ -public class FeComuneCacheModel implements CacheModel, Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(9); - - sb.append("{comuneId="); - sb.append(comuneId); - sb.append(", codIstat="); - sb.append(codIstat); - sb.append(", codCatastale="); - sb.append(codCatastale); - sb.append(", descLong="); - sb.append(descLong); - sb.append("}"); - - return sb.toString(); - } - - @Override - public FeComune toEntityModel() { - FeComuneImpl feComuneImpl = new FeComuneImpl(); - - feComuneImpl.setComuneId(comuneId); - - if (codIstat == null) { - feComuneImpl.setCodIstat(StringPool.BLANK); - } - else { - feComuneImpl.setCodIstat(codIstat); - } - - if (codCatastale == null) { - feComuneImpl.setCodCatastale(StringPool.BLANK); - } - else { - feComuneImpl.setCodCatastale(codCatastale); - } - - if (descLong == null) { - feComuneImpl.setDescLong(StringPool.BLANK); - } - else { - feComuneImpl.setDescLong(descLong); - } - - feComuneImpl.resetOriginalValues(); - - return feComuneImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - comuneId = objectInput.readLong(); - codIstat = objectInput.readUTF(); - codCatastale = objectInput.readUTF(); - descLong = objectInput.readUTF(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - objectOutput.writeLong(comuneId); - - if (codIstat == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codIstat); - } - - if (codCatastale == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codCatastale); - } - - if (descLong == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(descLong); - } - } - - public long comuneId; - public String codIstat; - public String codCatastale; - public String descLong; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeComuneImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeComuneImpl.java deleted file mode 100644 index d894ec5c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeComuneImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -/** - * The extended model implementation for the FeComune service. Represents a row in the "gcfe_comune" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.portosimport.model.FeComune} interface. - *

- * - * @author Davide Barbagallo, 3F Consulting - */ -public class FeComuneImpl extends FeComuneBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a fe comune model instance should use the {@link it.tref.liferay.portos.portosimport.model.FeComune} interface instead. - */ - public FeComuneImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeComuneModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeComuneModelImpl.java deleted file mode 100644 index e7734ea4..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeComuneModelImpl.java +++ /dev/null @@ -1,421 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.portosimport.model.FeComune; -import it.tref.liferay.portos.portosimport.model.FeComuneModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the FeComune service. Represents a row in the "gcfe_comune" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.portosimport.model.FeComuneModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link FeComuneImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see FeComuneImpl - * @see it.tref.liferay.portos.portosimport.model.FeComune - * @see it.tref.liferay.portos.portosimport.model.FeComuneModel - * @generated - */ -public class FeComuneModelImpl extends BaseModelImpl - implements FeComuneModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a fe comune model instance should use the {@link it.tref.liferay.portos.portosimport.model.FeComune} interface instead. - */ - public static final String TABLE_NAME = "gcfe_comune"; - public static final Object[][] TABLE_COLUMNS = { - { "comuneId", Types.BIGINT }, - { "codIstat", Types.VARCHAR }, - { "codCatastale", Types.VARCHAR }, - { "descLong", Types.VARCHAR } - }; - public static final String TABLE_SQL_CREATE = "create table gcfe_comune (comuneId LONG not null primary key,codIstat VARCHAR(75) null,codCatastale VARCHAR(75) null,descLong VARCHAR(75) null)"; - public static final String TABLE_SQL_DROP = "drop table gcfe_comune"; - public static final String ORDER_BY_JPQL = " ORDER BY feComune.comuneId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gcfe_comune.comuneId ASC"; - public static final String DATA_SOURCE = "datiPortos1DbFeDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbFeSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbFeTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.portosimport.model.FeComune"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.portosimport.model.FeComune"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.portosimport.model.FeComune"), - true); - public static long CODCATASTALE_COLUMN_BITMASK = 1L; - public static long CODISTAT_COLUMN_BITMASK = 2L; - public static long COMUNEID_COLUMN_BITMASK = 4L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.portosimport.model.FeComune")); - - public FeComuneModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _comuneId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setComuneId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _comuneId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return FeComune.class; - } - - @Override - public String getModelClassName() { - return FeComune.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("comuneId", getComuneId()); - attributes.put("codIstat", getCodIstat()); - attributes.put("codCatastale", getCodCatastale()); - attributes.put("descLong", getDescLong()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long comuneId = (Long)attributes.get("comuneId"); - - if (comuneId != null) { - setComuneId(comuneId); - } - - String codIstat = (String)attributes.get("codIstat"); - - if (codIstat != null) { - setCodIstat(codIstat); - } - - String codCatastale = (String)attributes.get("codCatastale"); - - if (codCatastale != null) { - setCodCatastale(codCatastale); - } - - String descLong = (String)attributes.get("descLong"); - - if (descLong != null) { - setDescLong(descLong); - } - } - - @Override - public long getComuneId() { - return _comuneId; - } - - @Override - public void setComuneId(long comuneId) { - _comuneId = comuneId; - } - - @Override - public String getCodIstat() { - if (_codIstat == null) { - return StringPool.BLANK; - } - else { - return _codIstat; - } - } - - @Override - public void setCodIstat(String codIstat) { - _columnBitmask |= CODISTAT_COLUMN_BITMASK; - - if (_originalCodIstat == null) { - _originalCodIstat = _codIstat; - } - - _codIstat = codIstat; - } - - public String getOriginalCodIstat() { - return GetterUtil.getString(_originalCodIstat); - } - - @Override - public String getCodCatastale() { - if (_codCatastale == null) { - return StringPool.BLANK; - } - else { - return _codCatastale; - } - } - - @Override - public void setCodCatastale(String codCatastale) { - _columnBitmask |= CODCATASTALE_COLUMN_BITMASK; - - if (_originalCodCatastale == null) { - _originalCodCatastale = _codCatastale; - } - - _codCatastale = codCatastale; - } - - public String getOriginalCodCatastale() { - return GetterUtil.getString(_originalCodCatastale); - } - - @Override - public String getDescLong() { - if (_descLong == null) { - return StringPool.BLANK; - } - else { - return _descLong; - } - } - - @Override - public void setDescLong(String descLong) { - _descLong = descLong; - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(0, - FeComune.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public FeComune toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (FeComune)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - FeComuneImpl feComuneImpl = new FeComuneImpl(); - - feComuneImpl.setComuneId(getComuneId()); - feComuneImpl.setCodIstat(getCodIstat()); - feComuneImpl.setCodCatastale(getCodCatastale()); - feComuneImpl.setDescLong(getDescLong()); - - feComuneImpl.resetOriginalValues(); - - return feComuneImpl; - } - - @Override - public int compareTo(FeComune feComune) { - long primaryKey = feComune.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof FeComune)) { - return false; - } - - FeComune feComune = (FeComune)obj; - - long primaryKey = feComune.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - FeComuneModelImpl feComuneModelImpl = this; - - feComuneModelImpl._originalCodIstat = feComuneModelImpl._codIstat; - - feComuneModelImpl._originalCodCatastale = feComuneModelImpl._codCatastale; - - feComuneModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - FeComuneCacheModel feComuneCacheModel = new FeComuneCacheModel(); - - feComuneCacheModel.comuneId = getComuneId(); - - feComuneCacheModel.codIstat = getCodIstat(); - - String codIstat = feComuneCacheModel.codIstat; - - if ((codIstat != null) && (codIstat.length() == 0)) { - feComuneCacheModel.codIstat = null; - } - - feComuneCacheModel.codCatastale = getCodCatastale(); - - String codCatastale = feComuneCacheModel.codCatastale; - - if ((codCatastale != null) && (codCatastale.length() == 0)) { - feComuneCacheModel.codCatastale = null; - } - - feComuneCacheModel.descLong = getDescLong(); - - String descLong = feComuneCacheModel.descLong; - - if ((descLong != null) && (descLong.length() == 0)) { - feComuneCacheModel.descLong = null; - } - - return feComuneCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(9); - - sb.append("{comuneId="); - sb.append(getComuneId()); - sb.append(", codIstat="); - sb.append(getCodIstat()); - sb.append(", codCatastale="); - sb.append(getCodCatastale()); - sb.append(", descLong="); - sb.append(getDescLong()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(16); - - sb.append(""); - sb.append("it.tref.liferay.portos.portosimport.model.FeComune"); - sb.append(""); - - sb.append( - "comuneId"); - sb.append( - "codIstat"); - sb.append( - "codCatastale"); - sb.append( - "descLong"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = FeComune.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - FeComune.class - }; - private long _comuneId; - private String _codIstat; - private String _originalCodIstat; - private String _codCatastale; - private String _originalCodCatastale; - private String _descLong; - private long _columnBitmask; - private FeComune _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeDettPraticaBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeDettPraticaBaseImpl.java deleted file mode 100644 index 07e5eb55..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeDettPraticaBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.FeDettPratica; -import it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalServiceUtil; - -/** - * The extended model base implementation for the FeDettPratica service. Represents a row in the "gcfe_dettpratica" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link FeDettPraticaImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see FeDettPraticaImpl - * @see it.tref.liferay.portos.portosimport.model.FeDettPratica - * @generated - */ -public abstract class FeDettPraticaBaseImpl extends FeDettPraticaModelImpl - implements FeDettPratica { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a fe dett pratica model instance should use the {@link FeDettPratica} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - FeDettPraticaLocalServiceUtil.addFeDettPratica(this); - } - else { - FeDettPraticaLocalServiceUtil.updateFeDettPratica(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeDettPraticaCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeDettPraticaCacheModel.java deleted file mode 100644 index d5cd8de3..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeDettPraticaCacheModel.java +++ /dev/null @@ -1,163 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.portosimport.model.FeDettPratica; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -/** - * The cache model class for representing FeDettPratica in entity cache. - * - * @author Davide Barbagallo, 3F Consulting - * @see FeDettPratica - * @generated - */ -public class FeDettPraticaCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(25); - - sb.append("{uuid="); - sb.append(uuid); - sb.append(", dettPraticaId="); - sb.append(dettPraticaId); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", intPraticaId="); - sb.append(intPraticaId); - sb.append(", codPraticaSuap="); - sb.append(codPraticaSuap); - sb.append(", fineLavoriSceltaPrelievo="); - sb.append(fineLavoriSceltaPrelievo); - sb.append(", fPrelievoCalcestruzzo="); - sb.append(fPrelievoCalcestruzzo); - sb.append(", fPrelievoAcciaio="); - sb.append(fPrelievoAcciaio); - sb.append(", fPrelievoAltro="); - sb.append(fPrelievoAltro); - sb.append(", fineLavoriAlletiUlteriori="); - sb.append(fineLavoriAlletiUlteriori); - sb.append(", fNoCollaudoStatico="); - sb.append(fNoCollaudoStatico); - sb.append(", pagamentoId="); - sb.append(pagamentoId); - sb.append("}"); - - return sb.toString(); - } - - @Override - public FeDettPratica toEntityModel() { - FeDettPraticaImpl feDettPraticaImpl = new FeDettPraticaImpl(); - - if (uuid == null) { - feDettPraticaImpl.setUuid(StringPool.BLANK); - } - else { - feDettPraticaImpl.setUuid(uuid); - } - - feDettPraticaImpl.setDettPraticaId(dettPraticaId); - feDettPraticaImpl.setGroupId(groupId); - feDettPraticaImpl.setIntPraticaId(intPraticaId); - - if (codPraticaSuap == null) { - feDettPraticaImpl.setCodPraticaSuap(StringPool.BLANK); - } - else { - feDettPraticaImpl.setCodPraticaSuap(codPraticaSuap); - } - - feDettPraticaImpl.setFineLavoriSceltaPrelievo(fineLavoriSceltaPrelievo); - feDettPraticaImpl.setFPrelievoCalcestruzzo(fPrelievoCalcestruzzo); - feDettPraticaImpl.setFPrelievoAcciaio(fPrelievoAcciaio); - feDettPraticaImpl.setFPrelievoAltro(fPrelievoAltro); - feDettPraticaImpl.setFineLavoriAlletiUlteriori(fineLavoriAlletiUlteriori); - feDettPraticaImpl.setFNoCollaudoStatico(fNoCollaudoStatico); - feDettPraticaImpl.setPagamentoId(pagamentoId); - - feDettPraticaImpl.resetOriginalValues(); - - return feDettPraticaImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - uuid = objectInput.readUTF(); - dettPraticaId = objectInput.readLong(); - groupId = objectInput.readLong(); - intPraticaId = objectInput.readLong(); - codPraticaSuap = objectInput.readUTF(); - fineLavoriSceltaPrelievo = objectInput.readBoolean(); - fPrelievoCalcestruzzo = objectInput.readBoolean(); - fPrelievoAcciaio = objectInput.readBoolean(); - fPrelievoAltro = objectInput.readBoolean(); - fineLavoriAlletiUlteriori = objectInput.readBoolean(); - fNoCollaudoStatico = objectInput.readBoolean(); - pagamentoId = objectInput.readLong(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - if (uuid == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(uuid); - } - - objectOutput.writeLong(dettPraticaId); - objectOutput.writeLong(groupId); - objectOutput.writeLong(intPraticaId); - - if (codPraticaSuap == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codPraticaSuap); - } - - objectOutput.writeBoolean(fineLavoriSceltaPrelievo); - objectOutput.writeBoolean(fPrelievoCalcestruzzo); - objectOutput.writeBoolean(fPrelievoAcciaio); - objectOutput.writeBoolean(fPrelievoAltro); - objectOutput.writeBoolean(fineLavoriAlletiUlteriori); - objectOutput.writeBoolean(fNoCollaudoStatico); - objectOutput.writeLong(pagamentoId); - } - - public String uuid; - public long dettPraticaId; - public long groupId; - public long intPraticaId; - public String codPraticaSuap; - public boolean fineLavoriSceltaPrelievo; - public boolean fPrelievoCalcestruzzo; - public boolean fPrelievoAcciaio; - public boolean fPrelievoAltro; - public boolean fineLavoriAlletiUlteriori; - public boolean fNoCollaudoStatico; - public long pagamentoId; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeDettPraticaImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeDettPraticaImpl.java deleted file mode 100644 index 067b7938..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeDettPraticaImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -/** - * The extended model implementation for the FeDettPratica service. Represents a row in the "gcfe_dettpratica" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.portosimport.model.FeDettPratica} interface. - *

- * - * @author Davide Barbagallo, 3F Consulting - */ -public class FeDettPraticaImpl extends FeDettPraticaBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a fe dett pratica model instance should use the {@link it.tref.liferay.portos.portosimport.model.FeDettPratica} interface instead. - */ - public FeDettPraticaImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeDettPraticaModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeDettPraticaModelImpl.java deleted file mode 100644 index 5a3bccd4..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeDettPraticaModelImpl.java +++ /dev/null @@ -1,686 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.portosimport.model.FeDettPratica; -import it.tref.liferay.portos.portosimport.model.FeDettPraticaModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the FeDettPratica service. Represents a row in the "gcfe_dettpratica" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.portosimport.model.FeDettPraticaModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link FeDettPraticaImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see FeDettPraticaImpl - * @see it.tref.liferay.portos.portosimport.model.FeDettPratica - * @see it.tref.liferay.portos.portosimport.model.FeDettPraticaModel - * @generated - */ -public class FeDettPraticaModelImpl extends BaseModelImpl - implements FeDettPraticaModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a fe dett pratica model instance should use the {@link it.tref.liferay.portos.portosimport.model.FeDettPratica} interface instead. - */ - public static final String TABLE_NAME = "gcfe_dettpratica"; - public static final Object[][] TABLE_COLUMNS = { - { "uuid_", Types.VARCHAR }, - { "dettPraticaId", Types.BIGINT }, - { "groupId", Types.BIGINT }, - { "intPraticaId", Types.BIGINT }, - { "codPraticaSuap", Types.VARCHAR }, - { "fineLavoriSceltaPrelievo", Types.BOOLEAN }, - { "fPrelievoCalcestruzzo", Types.BOOLEAN }, - { "fPrelievoAcciaio", Types.BOOLEAN }, - { "fPrelievoAltro", Types.BOOLEAN }, - { "fineLavoriAlletiUlteriori", Types.BOOLEAN }, - { "fNoCollaudoStatico", Types.BOOLEAN }, - { "pagamentoId", Types.BIGINT } - }; - public static final String TABLE_SQL_CREATE = "create table gcfe_dettpratica (uuid_ VARCHAR(75) null,dettPraticaId LONG not null primary key,groupId LONG,intPraticaId LONG,codPraticaSuap VARCHAR(75) null,fineLavoriSceltaPrelievo BOOLEAN,fPrelievoCalcestruzzo BOOLEAN,fPrelievoAcciaio BOOLEAN,fPrelievoAltro BOOLEAN,fineLavoriAlletiUlteriori BOOLEAN,fNoCollaudoStatico BOOLEAN,pagamentoId LONG)"; - public static final String TABLE_SQL_DROP = "drop table gcfe_dettpratica"; - public static final String ORDER_BY_JPQL = " ORDER BY feDettPratica.dettPraticaId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gcfe_dettpratica.dettPraticaId ASC"; - public static final String DATA_SOURCE = "datiPortos1DbFeDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbFeSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbFeTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.portosimport.model.FeDettPratica"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.portosimport.model.FeDettPratica"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.portosimport.model.FeDettPratica"), - true); - public static long CODPRATICASUAP_COLUMN_BITMASK = 1L; - public static long GROUPID_COLUMN_BITMASK = 2L; - public static long UUID_COLUMN_BITMASK = 4L; - public static long DETTPRATICAID_COLUMN_BITMASK = 8L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.portosimport.model.FeDettPratica")); - - public FeDettPraticaModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _dettPraticaId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setDettPraticaId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _dettPraticaId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return FeDettPratica.class; - } - - @Override - public String getModelClassName() { - return FeDettPratica.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("groupId", getGroupId()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("codPraticaSuap", getCodPraticaSuap()); - attributes.put("fineLavoriSceltaPrelievo", getFineLavoriSceltaPrelievo()); - attributes.put("fPrelievoCalcestruzzo", getFPrelievoCalcestruzzo()); - attributes.put("fPrelievoAcciaio", getFPrelievoAcciaio()); - attributes.put("fPrelievoAltro", getFPrelievoAltro()); - attributes.put("fineLavoriAlletiUlteriori", - getFineLavoriAlletiUlteriori()); - attributes.put("fNoCollaudoStatico", getFNoCollaudoStatico()); - attributes.put("pagamentoId", getPagamentoId()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - String codPraticaSuap = (String)attributes.get("codPraticaSuap"); - - if (codPraticaSuap != null) { - setCodPraticaSuap(codPraticaSuap); - } - - Boolean fineLavoriSceltaPrelievo = (Boolean)attributes.get( - "fineLavoriSceltaPrelievo"); - - if (fineLavoriSceltaPrelievo != null) { - setFineLavoriSceltaPrelievo(fineLavoriSceltaPrelievo); - } - - Boolean fPrelievoCalcestruzzo = (Boolean)attributes.get( - "fPrelievoCalcestruzzo"); - - if (fPrelievoCalcestruzzo != null) { - setFPrelievoCalcestruzzo(fPrelievoCalcestruzzo); - } - - Boolean fPrelievoAcciaio = (Boolean)attributes.get("fPrelievoAcciaio"); - - if (fPrelievoAcciaio != null) { - setFPrelievoAcciaio(fPrelievoAcciaio); - } - - Boolean fPrelievoAltro = (Boolean)attributes.get("fPrelievoAltro"); - - if (fPrelievoAltro != null) { - setFPrelievoAltro(fPrelievoAltro); - } - - Boolean fineLavoriAlletiUlteriori = (Boolean)attributes.get( - "fineLavoriAlletiUlteriori"); - - if (fineLavoriAlletiUlteriori != null) { - setFineLavoriAlletiUlteriori(fineLavoriAlletiUlteriori); - } - - Boolean fNoCollaudoStatico = (Boolean)attributes.get( - "fNoCollaudoStatico"); - - if (fNoCollaudoStatico != null) { - setFNoCollaudoStatico(fNoCollaudoStatico); - } - - Long pagamentoId = (Long)attributes.get("pagamentoId"); - - if (pagamentoId != null) { - setPagamentoId(pagamentoId); - } - } - - @Override - public String getUuid() { - if (_uuid == null) { - return StringPool.BLANK; - } - else { - return _uuid; - } - } - - @Override - public void setUuid(String uuid) { - if (_originalUuid == null) { - _originalUuid = _uuid; - } - - _uuid = uuid; - } - - public String getOriginalUuid() { - return GetterUtil.getString(_originalUuid); - } - - @Override - public long getDettPraticaId() { - return _dettPraticaId; - } - - @Override - public void setDettPraticaId(long dettPraticaId) { - _dettPraticaId = dettPraticaId; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _columnBitmask |= GROUPID_COLUMN_BITMASK; - - if (!_setOriginalGroupId) { - _setOriginalGroupId = true; - - _originalGroupId = _groupId; - } - - _groupId = groupId; - } - - public long getOriginalGroupId() { - return _originalGroupId; - } - - @Override - public long getIntPraticaId() { - return _intPraticaId; - } - - @Override - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - } - - @Override - public String getCodPraticaSuap() { - if (_codPraticaSuap == null) { - return StringPool.BLANK; - } - else { - return _codPraticaSuap; - } - } - - @Override - public void setCodPraticaSuap(String codPraticaSuap) { - _columnBitmask |= CODPRATICASUAP_COLUMN_BITMASK; - - if (_originalCodPraticaSuap == null) { - _originalCodPraticaSuap = _codPraticaSuap; - } - - _codPraticaSuap = codPraticaSuap; - } - - public String getOriginalCodPraticaSuap() { - return GetterUtil.getString(_originalCodPraticaSuap); - } - - @Override - public boolean getFineLavoriSceltaPrelievo() { - return _fineLavoriSceltaPrelievo; - } - - @Override - public boolean isFineLavoriSceltaPrelievo() { - return _fineLavoriSceltaPrelievo; - } - - @Override - public void setFineLavoriSceltaPrelievo(boolean fineLavoriSceltaPrelievo) { - _fineLavoriSceltaPrelievo = fineLavoriSceltaPrelievo; - } - - @Override - public boolean getFPrelievoCalcestruzzo() { - return _fPrelievoCalcestruzzo; - } - - @Override - public boolean isFPrelievoCalcestruzzo() { - return _fPrelievoCalcestruzzo; - } - - @Override - public void setFPrelievoCalcestruzzo(boolean fPrelievoCalcestruzzo) { - _fPrelievoCalcestruzzo = fPrelievoCalcestruzzo; - } - - @Override - public boolean getFPrelievoAcciaio() { - return _fPrelievoAcciaio; - } - - @Override - public boolean isFPrelievoAcciaio() { - return _fPrelievoAcciaio; - } - - @Override - public void setFPrelievoAcciaio(boolean fPrelievoAcciaio) { - _fPrelievoAcciaio = fPrelievoAcciaio; - } - - @Override - public boolean getFPrelievoAltro() { - return _fPrelievoAltro; - } - - @Override - public boolean isFPrelievoAltro() { - return _fPrelievoAltro; - } - - @Override - public void setFPrelievoAltro(boolean fPrelievoAltro) { - _fPrelievoAltro = fPrelievoAltro; - } - - @Override - public boolean getFineLavoriAlletiUlteriori() { - return _fineLavoriAlletiUlteriori; - } - - @Override - public boolean isFineLavoriAlletiUlteriori() { - return _fineLavoriAlletiUlteriori; - } - - @Override - public void setFineLavoriAlletiUlteriori(boolean fineLavoriAlletiUlteriori) { - _fineLavoriAlletiUlteriori = fineLavoriAlletiUlteriori; - } - - @Override - public boolean getFNoCollaudoStatico() { - return _fNoCollaudoStatico; - } - - @Override - public boolean isFNoCollaudoStatico() { - return _fNoCollaudoStatico; - } - - @Override - public void setFNoCollaudoStatico(boolean fNoCollaudoStatico) { - _fNoCollaudoStatico = fNoCollaudoStatico; - } - - @Override - public long getPagamentoId() { - return _pagamentoId; - } - - @Override - public void setPagamentoId(long pagamentoId) { - _pagamentoId = pagamentoId; - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(0, - FeDettPratica.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public FeDettPratica toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (FeDettPratica)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - FeDettPraticaImpl feDettPraticaImpl = new FeDettPraticaImpl(); - - feDettPraticaImpl.setUuid(getUuid()); - feDettPraticaImpl.setDettPraticaId(getDettPraticaId()); - feDettPraticaImpl.setGroupId(getGroupId()); - feDettPraticaImpl.setIntPraticaId(getIntPraticaId()); - feDettPraticaImpl.setCodPraticaSuap(getCodPraticaSuap()); - feDettPraticaImpl.setFineLavoriSceltaPrelievo(getFineLavoriSceltaPrelievo()); - feDettPraticaImpl.setFPrelievoCalcestruzzo(getFPrelievoCalcestruzzo()); - feDettPraticaImpl.setFPrelievoAcciaio(getFPrelievoAcciaio()); - feDettPraticaImpl.setFPrelievoAltro(getFPrelievoAltro()); - feDettPraticaImpl.setFineLavoriAlletiUlteriori(getFineLavoriAlletiUlteriori()); - feDettPraticaImpl.setFNoCollaudoStatico(getFNoCollaudoStatico()); - feDettPraticaImpl.setPagamentoId(getPagamentoId()); - - feDettPraticaImpl.resetOriginalValues(); - - return feDettPraticaImpl; - } - - @Override - public int compareTo(FeDettPratica feDettPratica) { - long primaryKey = feDettPratica.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof FeDettPratica)) { - return false; - } - - FeDettPratica feDettPratica = (FeDettPratica)obj; - - long primaryKey = feDettPratica.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - FeDettPraticaModelImpl feDettPraticaModelImpl = this; - - feDettPraticaModelImpl._originalUuid = feDettPraticaModelImpl._uuid; - - feDettPraticaModelImpl._originalGroupId = feDettPraticaModelImpl._groupId; - - feDettPraticaModelImpl._setOriginalGroupId = false; - - feDettPraticaModelImpl._originalCodPraticaSuap = feDettPraticaModelImpl._codPraticaSuap; - - feDettPraticaModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - FeDettPraticaCacheModel feDettPraticaCacheModel = new FeDettPraticaCacheModel(); - - feDettPraticaCacheModel.uuid = getUuid(); - - String uuid = feDettPraticaCacheModel.uuid; - - if ((uuid != null) && (uuid.length() == 0)) { - feDettPraticaCacheModel.uuid = null; - } - - feDettPraticaCacheModel.dettPraticaId = getDettPraticaId(); - - feDettPraticaCacheModel.groupId = getGroupId(); - - feDettPraticaCacheModel.intPraticaId = getIntPraticaId(); - - feDettPraticaCacheModel.codPraticaSuap = getCodPraticaSuap(); - - String codPraticaSuap = feDettPraticaCacheModel.codPraticaSuap; - - if ((codPraticaSuap != null) && (codPraticaSuap.length() == 0)) { - feDettPraticaCacheModel.codPraticaSuap = null; - } - - feDettPraticaCacheModel.fineLavoriSceltaPrelievo = getFineLavoriSceltaPrelievo(); - - feDettPraticaCacheModel.fPrelievoCalcestruzzo = getFPrelievoCalcestruzzo(); - - feDettPraticaCacheModel.fPrelievoAcciaio = getFPrelievoAcciaio(); - - feDettPraticaCacheModel.fPrelievoAltro = getFPrelievoAltro(); - - feDettPraticaCacheModel.fineLavoriAlletiUlteriori = getFineLavoriAlletiUlteriori(); - - feDettPraticaCacheModel.fNoCollaudoStatico = getFNoCollaudoStatico(); - - feDettPraticaCacheModel.pagamentoId = getPagamentoId(); - - return feDettPraticaCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(25); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", dettPraticaId="); - sb.append(getDettPraticaId()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", intPraticaId="); - sb.append(getIntPraticaId()); - sb.append(", codPraticaSuap="); - sb.append(getCodPraticaSuap()); - sb.append(", fineLavoriSceltaPrelievo="); - sb.append(getFineLavoriSceltaPrelievo()); - sb.append(", fPrelievoCalcestruzzo="); - sb.append(getFPrelievoCalcestruzzo()); - sb.append(", fPrelievoAcciaio="); - sb.append(getFPrelievoAcciaio()); - sb.append(", fPrelievoAltro="); - sb.append(getFPrelievoAltro()); - sb.append(", fineLavoriAlletiUlteriori="); - sb.append(getFineLavoriAlletiUlteriori()); - sb.append(", fNoCollaudoStatico="); - sb.append(getFNoCollaudoStatico()); - sb.append(", pagamentoId="); - sb.append(getPagamentoId()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(40); - - sb.append(""); - sb.append("it.tref.liferay.portos.portosimport.model.FeDettPratica"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "dettPraticaId"); - sb.append( - "groupId"); - sb.append( - "intPraticaId"); - sb.append( - "codPraticaSuap"); - sb.append( - "fineLavoriSceltaPrelievo"); - sb.append( - "fPrelievoCalcestruzzo"); - sb.append( - "fPrelievoAcciaio"); - sb.append( - "fPrelievoAltro"); - sb.append( - "fineLavoriAlletiUlteriori"); - sb.append( - "fNoCollaudoStatico"); - sb.append( - "pagamentoId"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = FeDettPratica.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - FeDettPratica.class - }; - private String _uuid; - private String _originalUuid; - private long _dettPraticaId; - private long _groupId; - private long _originalGroupId; - private boolean _setOriginalGroupId; - private long _intPraticaId; - private String _codPraticaSuap; - private String _originalCodPraticaSuap; - private boolean _fineLavoriSceltaPrelievo; - private boolean _fPrelievoCalcestruzzo; - private boolean _fPrelievoAcciaio; - private boolean _fPrelievoAltro; - private boolean _fineLavoriAlletiUlteriori; - private boolean _fNoCollaudoStatico; - private long _pagamentoId; - private long _columnBitmask; - private FeDettPratica _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeIntPraticaBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeIntPraticaBaseImpl.java deleted file mode 100644 index ba1de46f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeIntPraticaBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.FeIntPratica; -import it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalServiceUtil; - -/** - * The extended model base implementation for the FeIntPratica service. Represents a row in the "gcfe_intpratica" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link FeIntPraticaImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see FeIntPraticaImpl - * @see it.tref.liferay.portos.portosimport.model.FeIntPratica - * @generated - */ -public abstract class FeIntPraticaBaseImpl extends FeIntPraticaModelImpl - implements FeIntPratica { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a fe int pratica model instance should use the {@link FeIntPratica} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - FeIntPraticaLocalServiceUtil.addFeIntPratica(this); - } - else { - FeIntPraticaLocalServiceUtil.updateFeIntPratica(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeIntPraticaCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeIntPraticaCacheModel.java deleted file mode 100644 index ae0c3689..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeIntPraticaCacheModel.java +++ /dev/null @@ -1,249 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.portosimport.model.FeIntPratica; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -/** - * The cache model class for representing FeIntPratica in entity cache. - * - * @author Davide Barbagallo, 3F Consulting - * @see FeIntPratica - * @generated - */ -public class FeIntPraticaCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(41); - - sb.append("{uuid="); - sb.append(uuid); - sb.append(", intPraticaId="); - sb.append(intPraticaId); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", tipoPraticaId="); - sb.append(tipoPraticaId); - sb.append(", territorioId="); - sb.append(territorioId); - sb.append(", edificiOrdinari="); - sb.append(edificiOrdinari); - sb.append(", noCollaudoStatico="); - sb.append(noCollaudoStatico); - sb.append(", noCollaudoStaticoInterLocale="); - sb.append(noCollaudoStaticoInterLocale); - sb.append(", codTipoIntervento="); - sb.append(codTipoIntervento); - sb.append(", sottoTipoPraticaCod="); - sb.append(sottoTipoPraticaCod); - sb.append(", statoOpere="); - sb.append(statoOpere); - sb.append(", inizioLavoriImmediato="); - sb.append(inizioLavoriImmediato); - sb.append(", relazioneGeologicaA5Check="); - sb.append(relazioneGeologicaA5Check); - sb.append(", relazioneGeotecnicaA6Check="); - sb.append(relazioneGeotecnicaA6Check); - sb.append(", relazioneSulleFondazioniA7Check="); - sb.append(relazioneSulleFondazioniA7Check); - sb.append(", fascicoloDeiCalcoliA9Check="); - sb.append(fascicoloDeiCalcoliA9Check); - sb.append(", schedaSinteticaGeologoA14Check="); - sb.append(schedaSinteticaGeologoA14Check); - sb.append(", idSoggettoDelegato="); - sb.append(idSoggettoDelegato); - sb.append(", statoPerecedente="); - sb.append(statoPerecedente); - sb.append(", checkTipologiaG="); - sb.append(checkTipologiaG); - sb.append("}"); - - return sb.toString(); - } - - @Override - public FeIntPratica toEntityModel() { - FeIntPraticaImpl feIntPraticaImpl = new FeIntPraticaImpl(); - - if (uuid == null) { - feIntPraticaImpl.setUuid(StringPool.BLANK); - } - else { - feIntPraticaImpl.setUuid(uuid); - } - - feIntPraticaImpl.setIntPraticaId(intPraticaId); - feIntPraticaImpl.setGroupId(groupId); - feIntPraticaImpl.setTipoPraticaId(tipoPraticaId); - feIntPraticaImpl.setTerritorioId(territorioId); - feIntPraticaImpl.setEdificiOrdinari(edificiOrdinari); - feIntPraticaImpl.setNoCollaudoStatico(noCollaudoStatico); - feIntPraticaImpl.setNoCollaudoStaticoInterLocale(noCollaudoStaticoInterLocale); - - if (codTipoIntervento == null) { - feIntPraticaImpl.setCodTipoIntervento(StringPool.BLANK); - } - else { - feIntPraticaImpl.setCodTipoIntervento(codTipoIntervento); - } - - if (sottoTipoPraticaCod == null) { - feIntPraticaImpl.setSottoTipoPraticaCod(StringPool.BLANK); - } - else { - feIntPraticaImpl.setSottoTipoPraticaCod(sottoTipoPraticaCod); - } - - if (statoOpere == null) { - feIntPraticaImpl.setStatoOpere(StringPool.BLANK); - } - else { - feIntPraticaImpl.setStatoOpere(statoOpere); - } - - feIntPraticaImpl.setInizioLavoriImmediato(inizioLavoriImmediato); - feIntPraticaImpl.setRelazioneGeologicaA5Check(relazioneGeologicaA5Check); - feIntPraticaImpl.setRelazioneGeotecnicaA6Check(relazioneGeotecnicaA6Check); - feIntPraticaImpl.setRelazioneSulleFondazioniA7Check(relazioneSulleFondazioniA7Check); - feIntPraticaImpl.setFascicoloDeiCalcoliA9Check(fascicoloDeiCalcoliA9Check); - feIntPraticaImpl.setSchedaSinteticaGeologoA14Check(schedaSinteticaGeologoA14Check); - feIntPraticaImpl.setIdSoggettoDelegato(idSoggettoDelegato); - - if (statoPerecedente == null) { - feIntPraticaImpl.setStatoPerecedente(StringPool.BLANK); - } - else { - feIntPraticaImpl.setStatoPerecedente(statoPerecedente); - } - - feIntPraticaImpl.setCheckTipologiaG(checkTipologiaG); - - feIntPraticaImpl.resetOriginalValues(); - - return feIntPraticaImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - uuid = objectInput.readUTF(); - intPraticaId = objectInput.readLong(); - groupId = objectInput.readLong(); - tipoPraticaId = objectInput.readLong(); - territorioId = objectInput.readLong(); - edificiOrdinari = objectInput.readBoolean(); - noCollaudoStatico = objectInput.readBoolean(); - noCollaudoStaticoInterLocale = objectInput.readBoolean(); - codTipoIntervento = objectInput.readUTF(); - sottoTipoPraticaCod = objectInput.readUTF(); - statoOpere = objectInput.readUTF(); - inizioLavoriImmediato = objectInput.readBoolean(); - relazioneGeologicaA5Check = objectInput.readBoolean(); - relazioneGeotecnicaA6Check = objectInput.readBoolean(); - relazioneSulleFondazioniA7Check = objectInput.readBoolean(); - fascicoloDeiCalcoliA9Check = objectInput.readBoolean(); - schedaSinteticaGeologoA14Check = objectInput.readBoolean(); - idSoggettoDelegato = objectInput.readLong(); - statoPerecedente = objectInput.readUTF(); - checkTipologiaG = objectInput.readBoolean(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - if (uuid == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(uuid); - } - - objectOutput.writeLong(intPraticaId); - objectOutput.writeLong(groupId); - objectOutput.writeLong(tipoPraticaId); - objectOutput.writeLong(territorioId); - objectOutput.writeBoolean(edificiOrdinari); - objectOutput.writeBoolean(noCollaudoStatico); - objectOutput.writeBoolean(noCollaudoStaticoInterLocale); - - if (codTipoIntervento == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codTipoIntervento); - } - - if (sottoTipoPraticaCod == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(sottoTipoPraticaCod); - } - - if (statoOpere == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(statoOpere); - } - - objectOutput.writeBoolean(inizioLavoriImmediato); - objectOutput.writeBoolean(relazioneGeologicaA5Check); - objectOutput.writeBoolean(relazioneGeotecnicaA6Check); - objectOutput.writeBoolean(relazioneSulleFondazioniA7Check); - objectOutput.writeBoolean(fascicoloDeiCalcoliA9Check); - objectOutput.writeBoolean(schedaSinteticaGeologoA14Check); - objectOutput.writeLong(idSoggettoDelegato); - - if (statoPerecedente == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(statoPerecedente); - } - - objectOutput.writeBoolean(checkTipologiaG); - } - - public String uuid; - public long intPraticaId; - public long groupId; - public long tipoPraticaId; - public long territorioId; - public boolean edificiOrdinari; - public boolean noCollaudoStatico; - public boolean noCollaudoStaticoInterLocale; - public String codTipoIntervento; - public String sottoTipoPraticaCod; - public String statoOpere; - public boolean inizioLavoriImmediato; - public boolean relazioneGeologicaA5Check; - public boolean relazioneGeotecnicaA6Check; - public boolean relazioneSulleFondazioniA7Check; - public boolean fascicoloDeiCalcoliA9Check; - public boolean schedaSinteticaGeologoA14Check; - public long idSoggettoDelegato; - public String statoPerecedente; - public boolean checkTipologiaG; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeIntPraticaImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeIntPraticaImpl.java deleted file mode 100644 index 5196e89b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeIntPraticaImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -/** - * The extended model implementation for the FeIntPratica service. Represents a row in the "gcfe_intpratica" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.portosimport.model.FeIntPratica} interface. - *

- * - * @author Davide Barbagallo, 3F Consulting - */ -public class FeIntPraticaImpl extends FeIntPraticaBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a fe int pratica model instance should use the {@link it.tref.liferay.portos.portosimport.model.FeIntPratica} interface instead. - */ - public FeIntPraticaImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeIntPraticaModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeIntPraticaModelImpl.java deleted file mode 100644 index ddd8757a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeIntPraticaModelImpl.java +++ /dev/null @@ -1,964 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.portosimport.model.FeIntPratica; -import it.tref.liferay.portos.portosimport.model.FeIntPraticaModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the FeIntPratica service. Represents a row in the "gcfe_intpratica" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.portosimport.model.FeIntPraticaModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link FeIntPraticaImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see FeIntPraticaImpl - * @see it.tref.liferay.portos.portosimport.model.FeIntPratica - * @see it.tref.liferay.portos.portosimport.model.FeIntPraticaModel - * @generated - */ -public class FeIntPraticaModelImpl extends BaseModelImpl - implements FeIntPraticaModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a fe int pratica model instance should use the {@link it.tref.liferay.portos.portosimport.model.FeIntPratica} interface instead. - */ - public static final String TABLE_NAME = "gcfe_intpratica"; - public static final Object[][] TABLE_COLUMNS = { - { "uuid_", Types.VARCHAR }, - { "intPraticaId", Types.BIGINT }, - { "groupId", Types.BIGINT }, - { "tipoPraticaId", Types.BIGINT }, - { "territorioId", Types.BIGINT }, - { "edificiOrdinari", Types.BOOLEAN }, - { "noCollaudoStatico", Types.BOOLEAN }, - { "noCollaudoStaticoInterLocale", Types.BOOLEAN }, - { "codTipoIntervento", Types.VARCHAR }, - { "sottoTipoPraticaCod", Types.VARCHAR }, - { "statoOpere", Types.VARCHAR }, - { "inizioLavoriImmediato", Types.BOOLEAN }, - { "relazioneGeologicaA5Check", Types.BOOLEAN }, - { "relazioneGeotecnicaA6Check", Types.BOOLEAN }, - { "relazioneSulleFondazioniA7Check", Types.BOOLEAN }, - { "fascicoloDeiCalcoliA9Check", Types.BOOLEAN }, - { "schedaSinteticaGeologoA14Check", Types.BOOLEAN }, - { "idSoggettoDelegato", Types.BIGINT }, - { "statoPerecedente", Types.VARCHAR }, - { "checkTipologiaG", Types.BOOLEAN } - }; - public static final String TABLE_SQL_CREATE = "create table gcfe_intpratica (uuid_ VARCHAR(75) null,intPraticaId LONG not null primary key,groupId LONG,tipoPraticaId LONG,territorioId LONG,edificiOrdinari BOOLEAN,noCollaudoStatico BOOLEAN,noCollaudoStaticoInterLocale BOOLEAN,codTipoIntervento VARCHAR(75) null,sottoTipoPraticaCod VARCHAR(75) null,statoOpere VARCHAR(75) null,inizioLavoriImmediato BOOLEAN,relazioneGeologicaA5Check BOOLEAN,relazioneGeotecnicaA6Check BOOLEAN,relazioneSulleFondazioniA7Check BOOLEAN,fascicoloDeiCalcoliA9Check BOOLEAN,schedaSinteticaGeologoA14Check BOOLEAN,idSoggettoDelegato LONG,statoPerecedente VARCHAR(75) null,checkTipologiaG BOOLEAN)"; - public static final String TABLE_SQL_DROP = "drop table gcfe_intpratica"; - public static final String ORDER_BY_JPQL = " ORDER BY feIntPratica.intPraticaId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gcfe_intpratica.intPraticaId ASC"; - public static final String DATA_SOURCE = "datiPortos1DbFeDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbFeSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbFeTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.portosimport.model.FeIntPratica"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.portosimport.model.FeIntPratica"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.portosimport.model.FeIntPratica"), - true); - public static long GROUPID_COLUMN_BITMASK = 1L; - public static long UUID_COLUMN_BITMASK = 2L; - public static long INTPRATICAID_COLUMN_BITMASK = 4L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.portosimport.model.FeIntPratica")); - - public FeIntPraticaModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _intPraticaId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setIntPraticaId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _intPraticaId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return FeIntPratica.class; - } - - @Override - public String getModelClassName() { - return FeIntPratica.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("intPraticaId", getIntPraticaId()); - attributes.put("groupId", getGroupId()); - attributes.put("tipoPraticaId", getTipoPraticaId()); - attributes.put("territorioId", getTerritorioId()); - attributes.put("edificiOrdinari", getEdificiOrdinari()); - attributes.put("noCollaudoStatico", getNoCollaudoStatico()); - attributes.put("noCollaudoStaticoInterLocale", - getNoCollaudoStaticoInterLocale()); - attributes.put("codTipoIntervento", getCodTipoIntervento()); - attributes.put("sottoTipoPraticaCod", getSottoTipoPraticaCod()); - attributes.put("statoOpere", getStatoOpere()); - attributes.put("inizioLavoriImmediato", getInizioLavoriImmediato()); - attributes.put("relazioneGeologicaA5Check", - getRelazioneGeologicaA5Check()); - attributes.put("relazioneGeotecnicaA6Check", - getRelazioneGeotecnicaA6Check()); - attributes.put("relazioneSulleFondazioniA7Check", - getRelazioneSulleFondazioniA7Check()); - attributes.put("fascicoloDeiCalcoliA9Check", - getFascicoloDeiCalcoliA9Check()); - attributes.put("schedaSinteticaGeologoA14Check", - getSchedaSinteticaGeologoA14Check()); - attributes.put("idSoggettoDelegato", getIdSoggettoDelegato()); - attributes.put("statoPerecedente", getStatoPerecedente()); - attributes.put("checkTipologiaG", getCheckTipologiaG()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long intPraticaId = (Long)attributes.get("intPraticaId"); - - if (intPraticaId != null) { - setIntPraticaId(intPraticaId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long tipoPraticaId = (Long)attributes.get("tipoPraticaId"); - - if (tipoPraticaId != null) { - setTipoPraticaId(tipoPraticaId); - } - - Long territorioId = (Long)attributes.get("territorioId"); - - if (territorioId != null) { - setTerritorioId(territorioId); - } - - Boolean edificiOrdinari = (Boolean)attributes.get("edificiOrdinari"); - - if (edificiOrdinari != null) { - setEdificiOrdinari(edificiOrdinari); - } - - Boolean noCollaudoStatico = (Boolean)attributes.get("noCollaudoStatico"); - - if (noCollaudoStatico != null) { - setNoCollaudoStatico(noCollaudoStatico); - } - - Boolean noCollaudoStaticoInterLocale = (Boolean)attributes.get( - "noCollaudoStaticoInterLocale"); - - if (noCollaudoStaticoInterLocale != null) { - setNoCollaudoStaticoInterLocale(noCollaudoStaticoInterLocale); - } - - String codTipoIntervento = (String)attributes.get("codTipoIntervento"); - - if (codTipoIntervento != null) { - setCodTipoIntervento(codTipoIntervento); - } - - String sottoTipoPraticaCod = (String)attributes.get( - "sottoTipoPraticaCod"); - - if (sottoTipoPraticaCod != null) { - setSottoTipoPraticaCod(sottoTipoPraticaCod); - } - - String statoOpere = (String)attributes.get("statoOpere"); - - if (statoOpere != null) { - setStatoOpere(statoOpere); - } - - Boolean inizioLavoriImmediato = (Boolean)attributes.get( - "inizioLavoriImmediato"); - - if (inizioLavoriImmediato != null) { - setInizioLavoriImmediato(inizioLavoriImmediato); - } - - Boolean relazioneGeologicaA5Check = (Boolean)attributes.get( - "relazioneGeologicaA5Check"); - - if (relazioneGeologicaA5Check != null) { - setRelazioneGeologicaA5Check(relazioneGeologicaA5Check); - } - - Boolean relazioneGeotecnicaA6Check = (Boolean)attributes.get( - "relazioneGeotecnicaA6Check"); - - if (relazioneGeotecnicaA6Check != null) { - setRelazioneGeotecnicaA6Check(relazioneGeotecnicaA6Check); - } - - Boolean relazioneSulleFondazioniA7Check = (Boolean)attributes.get( - "relazioneSulleFondazioniA7Check"); - - if (relazioneSulleFondazioniA7Check != null) { - setRelazioneSulleFondazioniA7Check(relazioneSulleFondazioniA7Check); - } - - Boolean fascicoloDeiCalcoliA9Check = (Boolean)attributes.get( - "fascicoloDeiCalcoliA9Check"); - - if (fascicoloDeiCalcoliA9Check != null) { - setFascicoloDeiCalcoliA9Check(fascicoloDeiCalcoliA9Check); - } - - Boolean schedaSinteticaGeologoA14Check = (Boolean)attributes.get( - "schedaSinteticaGeologoA14Check"); - - if (schedaSinteticaGeologoA14Check != null) { - setSchedaSinteticaGeologoA14Check(schedaSinteticaGeologoA14Check); - } - - Long idSoggettoDelegato = (Long)attributes.get("idSoggettoDelegato"); - - if (idSoggettoDelegato != null) { - setIdSoggettoDelegato(idSoggettoDelegato); - } - - String statoPerecedente = (String)attributes.get("statoPerecedente"); - - if (statoPerecedente != null) { - setStatoPerecedente(statoPerecedente); - } - - Boolean checkTipologiaG = (Boolean)attributes.get("checkTipologiaG"); - - if (checkTipologiaG != null) { - setCheckTipologiaG(checkTipologiaG); - } - } - - @Override - public String getUuid() { - if (_uuid == null) { - return StringPool.BLANK; - } - else { - return _uuid; - } - } - - @Override - public void setUuid(String uuid) { - if (_originalUuid == null) { - _originalUuid = _uuid; - } - - _uuid = uuid; - } - - public String getOriginalUuid() { - return GetterUtil.getString(_originalUuid); - } - - @Override - public long getIntPraticaId() { - return _intPraticaId; - } - - @Override - public void setIntPraticaId(long intPraticaId) { - _intPraticaId = intPraticaId; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _columnBitmask |= GROUPID_COLUMN_BITMASK; - - if (!_setOriginalGroupId) { - _setOriginalGroupId = true; - - _originalGroupId = _groupId; - } - - _groupId = groupId; - } - - public long getOriginalGroupId() { - return _originalGroupId; - } - - @Override - public long getTipoPraticaId() { - return _tipoPraticaId; - } - - @Override - public void setTipoPraticaId(long tipoPraticaId) { - _tipoPraticaId = tipoPraticaId; - } - - @Override - public long getTerritorioId() { - return _territorioId; - } - - @Override - public void setTerritorioId(long territorioId) { - _territorioId = territorioId; - } - - @Override - public boolean getEdificiOrdinari() { - return _edificiOrdinari; - } - - @Override - public boolean isEdificiOrdinari() { - return _edificiOrdinari; - } - - @Override - public void setEdificiOrdinari(boolean edificiOrdinari) { - _edificiOrdinari = edificiOrdinari; - } - - @Override - public boolean getNoCollaudoStatico() { - return _noCollaudoStatico; - } - - @Override - public boolean isNoCollaudoStatico() { - return _noCollaudoStatico; - } - - @Override - public void setNoCollaudoStatico(boolean noCollaudoStatico) { - _noCollaudoStatico = noCollaudoStatico; - } - - @Override - public boolean getNoCollaudoStaticoInterLocale() { - return _noCollaudoStaticoInterLocale; - } - - @Override - public boolean isNoCollaudoStaticoInterLocale() { - return _noCollaudoStaticoInterLocale; - } - - @Override - public void setNoCollaudoStaticoInterLocale( - boolean noCollaudoStaticoInterLocale) { - _noCollaudoStaticoInterLocale = noCollaudoStaticoInterLocale; - } - - @Override - public String getCodTipoIntervento() { - if (_codTipoIntervento == null) { - return StringPool.BLANK; - } - else { - return _codTipoIntervento; - } - } - - @Override - public void setCodTipoIntervento(String codTipoIntervento) { - _codTipoIntervento = codTipoIntervento; - } - - @Override - public String getSottoTipoPraticaCod() { - if (_sottoTipoPraticaCod == null) { - return StringPool.BLANK; - } - else { - return _sottoTipoPraticaCod; - } - } - - @Override - public void setSottoTipoPraticaCod(String sottoTipoPraticaCod) { - _sottoTipoPraticaCod = sottoTipoPraticaCod; - } - - @Override - public String getStatoOpere() { - if (_statoOpere == null) { - return StringPool.BLANK; - } - else { - return _statoOpere; - } - } - - @Override - public void setStatoOpere(String statoOpere) { - _statoOpere = statoOpere; - } - - @Override - public boolean getInizioLavoriImmediato() { - return _inizioLavoriImmediato; - } - - @Override - public boolean isInizioLavoriImmediato() { - return _inizioLavoriImmediato; - } - - @Override - public void setInizioLavoriImmediato(boolean inizioLavoriImmediato) { - _inizioLavoriImmediato = inizioLavoriImmediato; - } - - @Override - public boolean getRelazioneGeologicaA5Check() { - return _relazioneGeologicaA5Check; - } - - @Override - public boolean isRelazioneGeologicaA5Check() { - return _relazioneGeologicaA5Check; - } - - @Override - public void setRelazioneGeologicaA5Check(boolean relazioneGeologicaA5Check) { - _relazioneGeologicaA5Check = relazioneGeologicaA5Check; - } - - @Override - public boolean getRelazioneGeotecnicaA6Check() { - return _relazioneGeotecnicaA6Check; - } - - @Override - public boolean isRelazioneGeotecnicaA6Check() { - return _relazioneGeotecnicaA6Check; - } - - @Override - public void setRelazioneGeotecnicaA6Check( - boolean relazioneGeotecnicaA6Check) { - _relazioneGeotecnicaA6Check = relazioneGeotecnicaA6Check; - } - - @Override - public boolean getRelazioneSulleFondazioniA7Check() { - return _relazioneSulleFondazioniA7Check; - } - - @Override - public boolean isRelazioneSulleFondazioniA7Check() { - return _relazioneSulleFondazioniA7Check; - } - - @Override - public void setRelazioneSulleFondazioniA7Check( - boolean relazioneSulleFondazioniA7Check) { - _relazioneSulleFondazioniA7Check = relazioneSulleFondazioniA7Check; - } - - @Override - public boolean getFascicoloDeiCalcoliA9Check() { - return _fascicoloDeiCalcoliA9Check; - } - - @Override - public boolean isFascicoloDeiCalcoliA9Check() { - return _fascicoloDeiCalcoliA9Check; - } - - @Override - public void setFascicoloDeiCalcoliA9Check( - boolean fascicoloDeiCalcoliA9Check) { - _fascicoloDeiCalcoliA9Check = fascicoloDeiCalcoliA9Check; - } - - @Override - public boolean getSchedaSinteticaGeologoA14Check() { - return _schedaSinteticaGeologoA14Check; - } - - @Override - public boolean isSchedaSinteticaGeologoA14Check() { - return _schedaSinteticaGeologoA14Check; - } - - @Override - public void setSchedaSinteticaGeologoA14Check( - boolean schedaSinteticaGeologoA14Check) { - _schedaSinteticaGeologoA14Check = schedaSinteticaGeologoA14Check; - } - - @Override - public long getIdSoggettoDelegato() { - return _idSoggettoDelegato; - } - - @Override - public void setIdSoggettoDelegato(long idSoggettoDelegato) { - _idSoggettoDelegato = idSoggettoDelegato; - } - - @Override - public String getStatoPerecedente() { - if (_statoPerecedente == null) { - return StringPool.BLANK; - } - else { - return _statoPerecedente; - } - } - - @Override - public void setStatoPerecedente(String statoPerecedente) { - _statoPerecedente = statoPerecedente; - } - - @Override - public boolean getCheckTipologiaG() { - return _checkTipologiaG; - } - - @Override - public boolean isCheckTipologiaG() { - return _checkTipologiaG; - } - - @Override - public void setCheckTipologiaG(boolean checkTipologiaG) { - _checkTipologiaG = checkTipologiaG; - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(0, - FeIntPratica.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public FeIntPratica toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (FeIntPratica)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - FeIntPraticaImpl feIntPraticaImpl = new FeIntPraticaImpl(); - - feIntPraticaImpl.setUuid(getUuid()); - feIntPraticaImpl.setIntPraticaId(getIntPraticaId()); - feIntPraticaImpl.setGroupId(getGroupId()); - feIntPraticaImpl.setTipoPraticaId(getTipoPraticaId()); - feIntPraticaImpl.setTerritorioId(getTerritorioId()); - feIntPraticaImpl.setEdificiOrdinari(getEdificiOrdinari()); - feIntPraticaImpl.setNoCollaudoStatico(getNoCollaudoStatico()); - feIntPraticaImpl.setNoCollaudoStaticoInterLocale(getNoCollaudoStaticoInterLocale()); - feIntPraticaImpl.setCodTipoIntervento(getCodTipoIntervento()); - feIntPraticaImpl.setSottoTipoPraticaCod(getSottoTipoPraticaCod()); - feIntPraticaImpl.setStatoOpere(getStatoOpere()); - feIntPraticaImpl.setInizioLavoriImmediato(getInizioLavoriImmediato()); - feIntPraticaImpl.setRelazioneGeologicaA5Check(getRelazioneGeologicaA5Check()); - feIntPraticaImpl.setRelazioneGeotecnicaA6Check(getRelazioneGeotecnicaA6Check()); - feIntPraticaImpl.setRelazioneSulleFondazioniA7Check(getRelazioneSulleFondazioniA7Check()); - feIntPraticaImpl.setFascicoloDeiCalcoliA9Check(getFascicoloDeiCalcoliA9Check()); - feIntPraticaImpl.setSchedaSinteticaGeologoA14Check(getSchedaSinteticaGeologoA14Check()); - feIntPraticaImpl.setIdSoggettoDelegato(getIdSoggettoDelegato()); - feIntPraticaImpl.setStatoPerecedente(getStatoPerecedente()); - feIntPraticaImpl.setCheckTipologiaG(getCheckTipologiaG()); - - feIntPraticaImpl.resetOriginalValues(); - - return feIntPraticaImpl; - } - - @Override - public int compareTo(FeIntPratica feIntPratica) { - long primaryKey = feIntPratica.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof FeIntPratica)) { - return false; - } - - FeIntPratica feIntPratica = (FeIntPratica)obj; - - long primaryKey = feIntPratica.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - FeIntPraticaModelImpl feIntPraticaModelImpl = this; - - feIntPraticaModelImpl._originalUuid = feIntPraticaModelImpl._uuid; - - feIntPraticaModelImpl._originalGroupId = feIntPraticaModelImpl._groupId; - - feIntPraticaModelImpl._setOriginalGroupId = false; - - feIntPraticaModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - FeIntPraticaCacheModel feIntPraticaCacheModel = new FeIntPraticaCacheModel(); - - feIntPraticaCacheModel.uuid = getUuid(); - - String uuid = feIntPraticaCacheModel.uuid; - - if ((uuid != null) && (uuid.length() == 0)) { - feIntPraticaCacheModel.uuid = null; - } - - feIntPraticaCacheModel.intPraticaId = getIntPraticaId(); - - feIntPraticaCacheModel.groupId = getGroupId(); - - feIntPraticaCacheModel.tipoPraticaId = getTipoPraticaId(); - - feIntPraticaCacheModel.territorioId = getTerritorioId(); - - feIntPraticaCacheModel.edificiOrdinari = getEdificiOrdinari(); - - feIntPraticaCacheModel.noCollaudoStatico = getNoCollaudoStatico(); - - feIntPraticaCacheModel.noCollaudoStaticoInterLocale = getNoCollaudoStaticoInterLocale(); - - feIntPraticaCacheModel.codTipoIntervento = getCodTipoIntervento(); - - String codTipoIntervento = feIntPraticaCacheModel.codTipoIntervento; - - if ((codTipoIntervento != null) && (codTipoIntervento.length() == 0)) { - feIntPraticaCacheModel.codTipoIntervento = null; - } - - feIntPraticaCacheModel.sottoTipoPraticaCod = getSottoTipoPraticaCod(); - - String sottoTipoPraticaCod = feIntPraticaCacheModel.sottoTipoPraticaCod; - - if ((sottoTipoPraticaCod != null) && - (sottoTipoPraticaCod.length() == 0)) { - feIntPraticaCacheModel.sottoTipoPraticaCod = null; - } - - feIntPraticaCacheModel.statoOpere = getStatoOpere(); - - String statoOpere = feIntPraticaCacheModel.statoOpere; - - if ((statoOpere != null) && (statoOpere.length() == 0)) { - feIntPraticaCacheModel.statoOpere = null; - } - - feIntPraticaCacheModel.inizioLavoriImmediato = getInizioLavoriImmediato(); - - feIntPraticaCacheModel.relazioneGeologicaA5Check = getRelazioneGeologicaA5Check(); - - feIntPraticaCacheModel.relazioneGeotecnicaA6Check = getRelazioneGeotecnicaA6Check(); - - feIntPraticaCacheModel.relazioneSulleFondazioniA7Check = getRelazioneSulleFondazioniA7Check(); - - feIntPraticaCacheModel.fascicoloDeiCalcoliA9Check = getFascicoloDeiCalcoliA9Check(); - - feIntPraticaCacheModel.schedaSinteticaGeologoA14Check = getSchedaSinteticaGeologoA14Check(); - - feIntPraticaCacheModel.idSoggettoDelegato = getIdSoggettoDelegato(); - - feIntPraticaCacheModel.statoPerecedente = getStatoPerecedente(); - - String statoPerecedente = feIntPraticaCacheModel.statoPerecedente; - - if ((statoPerecedente != null) && (statoPerecedente.length() == 0)) { - feIntPraticaCacheModel.statoPerecedente = null; - } - - feIntPraticaCacheModel.checkTipologiaG = getCheckTipologiaG(); - - return feIntPraticaCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(41); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", intPraticaId="); - sb.append(getIntPraticaId()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", tipoPraticaId="); - sb.append(getTipoPraticaId()); - sb.append(", territorioId="); - sb.append(getTerritorioId()); - sb.append(", edificiOrdinari="); - sb.append(getEdificiOrdinari()); - sb.append(", noCollaudoStatico="); - sb.append(getNoCollaudoStatico()); - sb.append(", noCollaudoStaticoInterLocale="); - sb.append(getNoCollaudoStaticoInterLocale()); - sb.append(", codTipoIntervento="); - sb.append(getCodTipoIntervento()); - sb.append(", sottoTipoPraticaCod="); - sb.append(getSottoTipoPraticaCod()); - sb.append(", statoOpere="); - sb.append(getStatoOpere()); - sb.append(", inizioLavoriImmediato="); - sb.append(getInizioLavoriImmediato()); - sb.append(", relazioneGeologicaA5Check="); - sb.append(getRelazioneGeologicaA5Check()); - sb.append(", relazioneGeotecnicaA6Check="); - sb.append(getRelazioneGeotecnicaA6Check()); - sb.append(", relazioneSulleFondazioniA7Check="); - sb.append(getRelazioneSulleFondazioniA7Check()); - sb.append(", fascicoloDeiCalcoliA9Check="); - sb.append(getFascicoloDeiCalcoliA9Check()); - sb.append(", schedaSinteticaGeologoA14Check="); - sb.append(getSchedaSinteticaGeologoA14Check()); - sb.append(", idSoggettoDelegato="); - sb.append(getIdSoggettoDelegato()); - sb.append(", statoPerecedente="); - sb.append(getStatoPerecedente()); - sb.append(", checkTipologiaG="); - sb.append(getCheckTipologiaG()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(64); - - sb.append(""); - sb.append("it.tref.liferay.portos.portosimport.model.FeIntPratica"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "intPraticaId"); - sb.append( - "groupId"); - sb.append( - "tipoPraticaId"); - sb.append( - "territorioId"); - sb.append( - "edificiOrdinari"); - sb.append( - "noCollaudoStatico"); - sb.append( - "noCollaudoStaticoInterLocale"); - sb.append( - "codTipoIntervento"); - sb.append( - "sottoTipoPraticaCod"); - sb.append( - "statoOpere"); - sb.append( - "inizioLavoriImmediato"); - sb.append( - "relazioneGeologicaA5Check"); - sb.append( - "relazioneGeotecnicaA6Check"); - sb.append( - "relazioneSulleFondazioniA7Check"); - sb.append( - "fascicoloDeiCalcoliA9Check"); - sb.append( - "schedaSinteticaGeologoA14Check"); - sb.append( - "idSoggettoDelegato"); - sb.append( - "statoPerecedente"); - sb.append( - "checkTipologiaG"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = FeIntPratica.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - FeIntPratica.class - }; - private String _uuid; - private String _originalUuid; - private long _intPraticaId; - private long _groupId; - private long _originalGroupId; - private boolean _setOriginalGroupId; - private long _tipoPraticaId; - private long _territorioId; - private boolean _edificiOrdinari; - private boolean _noCollaudoStatico; - private boolean _noCollaudoStaticoInterLocale; - private String _codTipoIntervento; - private String _sottoTipoPraticaCod; - private String _statoOpere; - private boolean _inizioLavoriImmediato; - private boolean _relazioneGeologicaA5Check; - private boolean _relazioneGeotecnicaA6Check; - private boolean _relazioneSulleFondazioniA7Check; - private boolean _fascicoloDeiCalcoliA9Check; - private boolean _schedaSinteticaGeologoA14Check; - private long _idSoggettoDelegato; - private String _statoPerecedente; - private boolean _checkTipologiaG; - private long _columnBitmask; - private FeIntPratica _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FePagamentoBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FePagamentoBaseImpl.java deleted file mode 100644 index 5a660bfb..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FePagamentoBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.FePagamento; -import it.tref.liferay.portos.portosimport.service.FePagamentoLocalServiceUtil; - -/** - * The extended model base implementation for the FePagamento service. Represents a row in the "gcfe_pagamento" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link FePagamentoImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see FePagamentoImpl - * @see it.tref.liferay.portos.portosimport.model.FePagamento - * @generated - */ -public abstract class FePagamentoBaseImpl extends FePagamentoModelImpl - implements FePagamento { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a fe pagamento model instance should use the {@link FePagamento} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - FePagamentoLocalServiceUtil.addFePagamento(this); - } - else { - FePagamentoLocalServiceUtil.updateFePagamento(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FePagamentoCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FePagamentoCacheModel.java deleted file mode 100644 index 0e9c6b82..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FePagamentoCacheModel.java +++ /dev/null @@ -1,293 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.portosimport.model.FePagamento; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing FePagamento in entity cache. - * - * @author Davide Barbagallo, 3F Consulting - * @see FePagamento - * @generated - */ -public class FePagamentoCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(35); - - sb.append("{uuid="); - sb.append(uuid); - sb.append(", pagamentoId="); - sb.append(pagamentoId); - sb.append(", companyId="); - sb.append(companyId); - sb.append(", userId="); - sb.append(userId); - sb.append(", userName="); - sb.append(userName); - sb.append(", createDate="); - sb.append(createDate); - sb.append(", modifiedDate="); - sb.append(modifiedDate); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", dettPraticaId="); - sb.append(dettPraticaId); - sb.append(", codice="); - sb.append(codice); - sb.append(", causale="); - sb.append(causale); - sb.append(", mezzo="); - sb.append(mezzo); - sb.append(", codiceFiscaleCommittente="); - sb.append(codiceFiscaleCommittente); - sb.append(", importoBolli="); - sb.append(importoBolli); - sb.append(", importoSpeseIstruttoria="); - sb.append(importoSpeseIstruttoria); - sb.append(", utilizzata="); - sb.append(utilizzata); - sb.append(", emailPending="); - sb.append(emailPending); - sb.append("}"); - - return sb.toString(); - } - - @Override - public FePagamento toEntityModel() { - FePagamentoImpl fePagamentoImpl = new FePagamentoImpl(); - - if (uuid == null) { - fePagamentoImpl.setUuid(StringPool.BLANK); - } - else { - fePagamentoImpl.setUuid(uuid); - } - - fePagamentoImpl.setPagamentoId(pagamentoId); - fePagamentoImpl.setCompanyId(companyId); - fePagamentoImpl.setUserId(userId); - - if (userName == null) { - fePagamentoImpl.setUserName(StringPool.BLANK); - } - else { - fePagamentoImpl.setUserName(userName); - } - - if (createDate == Long.MIN_VALUE) { - fePagamentoImpl.setCreateDate(null); - } - else { - fePagamentoImpl.setCreateDate(new Date(createDate)); - } - - if (modifiedDate == Long.MIN_VALUE) { - fePagamentoImpl.setModifiedDate(null); - } - else { - fePagamentoImpl.setModifiedDate(new Date(modifiedDate)); - } - - fePagamentoImpl.setGroupId(groupId); - fePagamentoImpl.setDettPraticaId(dettPraticaId); - - if (codice == null) { - fePagamentoImpl.setCodice(StringPool.BLANK); - } - else { - fePagamentoImpl.setCodice(codice); - } - - if (causale == null) { - fePagamentoImpl.setCausale(StringPool.BLANK); - } - else { - fePagamentoImpl.setCausale(causale); - } - - if (mezzo == null) { - fePagamentoImpl.setMezzo(StringPool.BLANK); - } - else { - fePagamentoImpl.setMezzo(mezzo); - } - - if (codiceFiscaleCommittente == null) { - fePagamentoImpl.setCodiceFiscaleCommittente(StringPool.BLANK); - } - else { - fePagamentoImpl.setCodiceFiscaleCommittente(codiceFiscaleCommittente); - } - - if (importoBolli == null) { - fePagamentoImpl.setImportoBolli(StringPool.BLANK); - } - else { - fePagamentoImpl.setImportoBolli(importoBolli); - } - - if (importoSpeseIstruttoria == null) { - fePagamentoImpl.setImportoSpeseIstruttoria(StringPool.BLANK); - } - else { - fePagamentoImpl.setImportoSpeseIstruttoria(importoSpeseIstruttoria); - } - - if (utilizzata == null) { - fePagamentoImpl.setUtilizzata(StringPool.BLANK); - } - else { - fePagamentoImpl.setUtilizzata(utilizzata); - } - - fePagamentoImpl.setEmailPending(emailPending); - - fePagamentoImpl.resetOriginalValues(); - - return fePagamentoImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - uuid = objectInput.readUTF(); - pagamentoId = objectInput.readLong(); - companyId = objectInput.readLong(); - userId = objectInput.readLong(); - userName = objectInput.readUTF(); - createDate = objectInput.readLong(); - modifiedDate = objectInput.readLong(); - groupId = objectInput.readLong(); - dettPraticaId = objectInput.readLong(); - codice = objectInput.readUTF(); - causale = objectInput.readUTF(); - mezzo = objectInput.readUTF(); - codiceFiscaleCommittente = objectInput.readUTF(); - importoBolli = objectInput.readUTF(); - importoSpeseIstruttoria = objectInput.readUTF(); - utilizzata = objectInput.readUTF(); - emailPending = objectInput.readBoolean(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - if (uuid == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(uuid); - } - - objectOutput.writeLong(pagamentoId); - objectOutput.writeLong(companyId); - objectOutput.writeLong(userId); - - if (userName == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(userName); - } - - objectOutput.writeLong(createDate); - objectOutput.writeLong(modifiedDate); - objectOutput.writeLong(groupId); - objectOutput.writeLong(dettPraticaId); - - if (codice == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codice); - } - - if (causale == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(causale); - } - - if (mezzo == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(mezzo); - } - - if (codiceFiscaleCommittente == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(codiceFiscaleCommittente); - } - - if (importoBolli == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(importoBolli); - } - - if (importoSpeseIstruttoria == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(importoSpeseIstruttoria); - } - - if (utilizzata == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(utilizzata); - } - - objectOutput.writeBoolean(emailPending); - } - - public String uuid; - public long pagamentoId; - public long companyId; - public long userId; - public String userName; - public long createDate; - public long modifiedDate; - public long groupId; - public long dettPraticaId; - public String codice; - public String causale; - public String mezzo; - public String codiceFiscaleCommittente; - public String importoBolli; - public String importoSpeseIstruttoria; - public String utilizzata; - public boolean emailPending; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FePagamentoImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FePagamentoImpl.java deleted file mode 100644 index 6c581e8d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FePagamentoImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -/** - * The extended model implementation for the FePagamento service. Represents a row in the "gcfe_pagamento" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.portosimport.model.FePagamento} interface. - *

- * - * @author Davide Barbagallo, 3F Consulting - */ -public class FePagamentoImpl extends FePagamentoBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a fe pagamento model instance should use the {@link it.tref.liferay.portos.portosimport.model.FePagamento} interface instead. - */ - public FePagamentoImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FePagamentoModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FePagamentoModelImpl.java deleted file mode 100644 index 80c4b55d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FePagamentoModelImpl.java +++ /dev/null @@ -1,964 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.lar.StagedModelType; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.util.PortalUtil; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.portosimport.model.FePagamento; -import it.tref.liferay.portos.portosimport.model.FePagamentoModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the FePagamento service. Represents a row in the "gcfe_pagamento" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.portosimport.model.FePagamentoModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link FePagamentoImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see FePagamentoImpl - * @see it.tref.liferay.portos.portosimport.model.FePagamento - * @see it.tref.liferay.portos.portosimport.model.FePagamentoModel - * @generated - */ -public class FePagamentoModelImpl extends BaseModelImpl - implements FePagamentoModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a fe pagamento model instance should use the {@link it.tref.liferay.portos.portosimport.model.FePagamento} interface instead. - */ - public static final String TABLE_NAME = "gcfe_pagamento"; - public static final Object[][] TABLE_COLUMNS = { - { "uuid_", Types.VARCHAR }, - { "pagamentoId", Types.BIGINT }, - { "companyId", Types.BIGINT }, - { "userId", Types.BIGINT }, - { "userName", Types.VARCHAR }, - { "createDate", Types.TIMESTAMP }, - { "modifiedDate", Types.TIMESTAMP }, - { "groupId", Types.BIGINT }, - { "dettPraticaId", Types.BIGINT }, - { "codice", Types.VARCHAR }, - { "causale", Types.VARCHAR }, - { "mezzo", Types.VARCHAR }, - { "codiceFiscaleCommittente", Types.VARCHAR }, - { "importoBolli", Types.VARCHAR }, - { "importoSpeseIstruttoria", Types.VARCHAR }, - { "utilizzata", Types.VARCHAR }, - { "emailPending", Types.BOOLEAN } - }; - public static final String TABLE_SQL_CREATE = "create table gcfe_pagamento (uuid_ VARCHAR(75) null,pagamentoId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,dettPraticaId LONG,codice VARCHAR(75) null,causale VARCHAR(75) null,mezzo VARCHAR(75) null,codiceFiscaleCommittente VARCHAR(75) null,importoBolli VARCHAR(75) null,importoSpeseIstruttoria VARCHAR(75) null,utilizzata VARCHAR(75) null,emailPending BOOLEAN)"; - public static final String TABLE_SQL_DROP = "drop table gcfe_pagamento"; - public static final String ORDER_BY_JPQL = " ORDER BY fePagamento.pagamentoId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gcfe_pagamento.pagamentoId ASC"; - public static final String DATA_SOURCE = "datiPortos1DbFeDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbFeSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbFeTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.portosimport.model.FePagamento"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.portosimport.model.FePagamento"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.portosimport.model.FePagamento"), - true); - public static long COMPANYID_COLUMN_BITMASK = 1L; - public static long DETTPRATICAID_COLUMN_BITMASK = 2L; - public static long GROUPID_COLUMN_BITMASK = 4L; - public static long MEZZO_COLUMN_BITMASK = 8L; - public static long UTILIZZATA_COLUMN_BITMASK = 16L; - public static long UUID_COLUMN_BITMASK = 32L; - public static long PAGAMENTOID_COLUMN_BITMASK = 64L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.portosimport.model.FePagamento")); - - public FePagamentoModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _pagamentoId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setPagamentoId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _pagamentoId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return FePagamento.class; - } - - @Override - public String getModelClassName() { - return FePagamento.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("uuid", getUuid()); - attributes.put("pagamentoId", getPagamentoId()); - attributes.put("companyId", getCompanyId()); - attributes.put("userId", getUserId()); - attributes.put("userName", getUserName()); - attributes.put("createDate", getCreateDate()); - attributes.put("modifiedDate", getModifiedDate()); - attributes.put("groupId", getGroupId()); - attributes.put("dettPraticaId", getDettPraticaId()); - attributes.put("codice", getCodice()); - attributes.put("causale", getCausale()); - attributes.put("mezzo", getMezzo()); - attributes.put("codiceFiscaleCommittente", getCodiceFiscaleCommittente()); - attributes.put("importoBolli", getImportoBolli()); - attributes.put("importoSpeseIstruttoria", getImportoSpeseIstruttoria()); - attributes.put("utilizzata", getUtilizzata()); - attributes.put("emailPending", getEmailPending()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - String uuid = (String)attributes.get("uuid"); - - if (uuid != null) { - setUuid(uuid); - } - - Long pagamentoId = (Long)attributes.get("pagamentoId"); - - if (pagamentoId != null) { - setPagamentoId(pagamentoId); - } - - Long companyId = (Long)attributes.get("companyId"); - - if (companyId != null) { - setCompanyId(companyId); - } - - Long userId = (Long)attributes.get("userId"); - - if (userId != null) { - setUserId(userId); - } - - String userName = (String)attributes.get("userName"); - - if (userName != null) { - setUserName(userName); - } - - Date createDate = (Date)attributes.get("createDate"); - - if (createDate != null) { - setCreateDate(createDate); - } - - Date modifiedDate = (Date)attributes.get("modifiedDate"); - - if (modifiedDate != null) { - setModifiedDate(modifiedDate); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long dettPraticaId = (Long)attributes.get("dettPraticaId"); - - if (dettPraticaId != null) { - setDettPraticaId(dettPraticaId); - } - - String codice = (String)attributes.get("codice"); - - if (codice != null) { - setCodice(codice); - } - - String causale = (String)attributes.get("causale"); - - if (causale != null) { - setCausale(causale); - } - - String mezzo = (String)attributes.get("mezzo"); - - if (mezzo != null) { - setMezzo(mezzo); - } - - String codiceFiscaleCommittente = (String)attributes.get( - "codiceFiscaleCommittente"); - - if (codiceFiscaleCommittente != null) { - setCodiceFiscaleCommittente(codiceFiscaleCommittente); - } - - String importoBolli = (String)attributes.get("importoBolli"); - - if (importoBolli != null) { - setImportoBolli(importoBolli); - } - - String importoSpeseIstruttoria = (String)attributes.get( - "importoSpeseIstruttoria"); - - if (importoSpeseIstruttoria != null) { - setImportoSpeseIstruttoria(importoSpeseIstruttoria); - } - - String utilizzata = (String)attributes.get("utilizzata"); - - if (utilizzata != null) { - setUtilizzata(utilizzata); - } - - Boolean emailPending = (Boolean)attributes.get("emailPending"); - - if (emailPending != null) { - setEmailPending(emailPending); - } - } - - @Override - public String getUuid() { - if (_uuid == null) { - return StringPool.BLANK; - } - else { - return _uuid; - } - } - - @Override - public void setUuid(String uuid) { - if (_originalUuid == null) { - _originalUuid = _uuid; - } - - _uuid = uuid; - } - - public String getOriginalUuid() { - return GetterUtil.getString(_originalUuid); - } - - @Override - public long getPagamentoId() { - return _pagamentoId; - } - - @Override - public void setPagamentoId(long pagamentoId) { - _pagamentoId = pagamentoId; - } - - @Override - public long getCompanyId() { - return _companyId; - } - - @Override - public void setCompanyId(long companyId) { - _columnBitmask |= COMPANYID_COLUMN_BITMASK; - - if (!_setOriginalCompanyId) { - _setOriginalCompanyId = true; - - _originalCompanyId = _companyId; - } - - _companyId = companyId; - } - - public long getOriginalCompanyId() { - return _originalCompanyId; - } - - @Override - public long getUserId() { - return _userId; - } - - @Override - public void setUserId(long userId) { - _userId = userId; - } - - @Override - public String getUserUuid() throws SystemException { - return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid); - } - - @Override - public void setUserUuid(String userUuid) { - _userUuid = userUuid; - } - - @Override - public String getUserName() { - if (_userName == null) { - return StringPool.BLANK; - } - else { - return _userName; - } - } - - @Override - public void setUserName(String userName) { - _userName = userName; - } - - @Override - public Date getCreateDate() { - return _createDate; - } - - @Override - public void setCreateDate(Date createDate) { - _createDate = createDate; - } - - @Override - public Date getModifiedDate() { - return _modifiedDate; - } - - @Override - public void setModifiedDate(Date modifiedDate) { - _modifiedDate = modifiedDate; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _columnBitmask |= GROUPID_COLUMN_BITMASK; - - if (!_setOriginalGroupId) { - _setOriginalGroupId = true; - - _originalGroupId = _groupId; - } - - _groupId = groupId; - } - - public long getOriginalGroupId() { - return _originalGroupId; - } - - @Override - public long getDettPraticaId() { - return _dettPraticaId; - } - - @Override - public void setDettPraticaId(long dettPraticaId) { - _columnBitmask |= DETTPRATICAID_COLUMN_BITMASK; - - if (!_setOriginalDettPraticaId) { - _setOriginalDettPraticaId = true; - - _originalDettPraticaId = _dettPraticaId; - } - - _dettPraticaId = dettPraticaId; - } - - public long getOriginalDettPraticaId() { - return _originalDettPraticaId; - } - - @Override - public String getCodice() { - if (_codice == null) { - return StringPool.BLANK; - } - else { - return _codice; - } - } - - @Override - public void setCodice(String codice) { - _codice = codice; - } - - @Override - public String getCausale() { - if (_causale == null) { - return StringPool.BLANK; - } - else { - return _causale; - } - } - - @Override - public void setCausale(String causale) { - _causale = causale; - } - - @Override - public String getMezzo() { - if (_mezzo == null) { - return StringPool.BLANK; - } - else { - return _mezzo; - } - } - - @Override - public void setMezzo(String mezzo) { - _columnBitmask |= MEZZO_COLUMN_BITMASK; - - if (_originalMezzo == null) { - _originalMezzo = _mezzo; - } - - _mezzo = mezzo; - } - - public String getOriginalMezzo() { - return GetterUtil.getString(_originalMezzo); - } - - @Override - public String getCodiceFiscaleCommittente() { - if (_codiceFiscaleCommittente == null) { - return StringPool.BLANK; - } - else { - return _codiceFiscaleCommittente; - } - } - - @Override - public void setCodiceFiscaleCommittente(String codiceFiscaleCommittente) { - _codiceFiscaleCommittente = codiceFiscaleCommittente; - } - - @Override - public String getImportoBolli() { - if (_importoBolli == null) { - return StringPool.BLANK; - } - else { - return _importoBolli; - } - } - - @Override - public void setImportoBolli(String importoBolli) { - _importoBolli = importoBolli; - } - - @Override - public String getImportoSpeseIstruttoria() { - if (_importoSpeseIstruttoria == null) { - return StringPool.BLANK; - } - else { - return _importoSpeseIstruttoria; - } - } - - @Override - public void setImportoSpeseIstruttoria(String importoSpeseIstruttoria) { - _importoSpeseIstruttoria = importoSpeseIstruttoria; - } - - @Override - public String getUtilizzata() { - if (_utilizzata == null) { - return StringPool.BLANK; - } - else { - return _utilizzata; - } - } - - @Override - public void setUtilizzata(String utilizzata) { - _columnBitmask |= UTILIZZATA_COLUMN_BITMASK; - - if (_originalUtilizzata == null) { - _originalUtilizzata = _utilizzata; - } - - _utilizzata = utilizzata; - } - - public String getOriginalUtilizzata() { - return GetterUtil.getString(_originalUtilizzata); - } - - @Override - public boolean getEmailPending() { - return _emailPending; - } - - @Override - public boolean isEmailPending() { - return _emailPending; - } - - @Override - public void setEmailPending(boolean emailPending) { - _emailPending = emailPending; - } - - @Override - public StagedModelType getStagedModelType() { - return new StagedModelType(PortalUtil.getClassNameId( - FePagamento.class.getName())); - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(), - FePagamento.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public FePagamento toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (FePagamento)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - FePagamentoImpl fePagamentoImpl = new FePagamentoImpl(); - - fePagamentoImpl.setUuid(getUuid()); - fePagamentoImpl.setPagamentoId(getPagamentoId()); - fePagamentoImpl.setCompanyId(getCompanyId()); - fePagamentoImpl.setUserId(getUserId()); - fePagamentoImpl.setUserName(getUserName()); - fePagamentoImpl.setCreateDate(getCreateDate()); - fePagamentoImpl.setModifiedDate(getModifiedDate()); - fePagamentoImpl.setGroupId(getGroupId()); - fePagamentoImpl.setDettPraticaId(getDettPraticaId()); - fePagamentoImpl.setCodice(getCodice()); - fePagamentoImpl.setCausale(getCausale()); - fePagamentoImpl.setMezzo(getMezzo()); - fePagamentoImpl.setCodiceFiscaleCommittente(getCodiceFiscaleCommittente()); - fePagamentoImpl.setImportoBolli(getImportoBolli()); - fePagamentoImpl.setImportoSpeseIstruttoria(getImportoSpeseIstruttoria()); - fePagamentoImpl.setUtilizzata(getUtilizzata()); - fePagamentoImpl.setEmailPending(getEmailPending()); - - fePagamentoImpl.resetOriginalValues(); - - return fePagamentoImpl; - } - - @Override - public int compareTo(FePagamento fePagamento) { - long primaryKey = fePagamento.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof FePagamento)) { - return false; - } - - FePagamento fePagamento = (FePagamento)obj; - - long primaryKey = fePagamento.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - FePagamentoModelImpl fePagamentoModelImpl = this; - - fePagamentoModelImpl._originalUuid = fePagamentoModelImpl._uuid; - - fePagamentoModelImpl._originalCompanyId = fePagamentoModelImpl._companyId; - - fePagamentoModelImpl._setOriginalCompanyId = false; - - fePagamentoModelImpl._originalGroupId = fePagamentoModelImpl._groupId; - - fePagamentoModelImpl._setOriginalGroupId = false; - - fePagamentoModelImpl._originalDettPraticaId = fePagamentoModelImpl._dettPraticaId; - - fePagamentoModelImpl._setOriginalDettPraticaId = false; - - fePagamentoModelImpl._originalMezzo = fePagamentoModelImpl._mezzo; - - fePagamentoModelImpl._originalUtilizzata = fePagamentoModelImpl._utilizzata; - - fePagamentoModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - FePagamentoCacheModel fePagamentoCacheModel = new FePagamentoCacheModel(); - - fePagamentoCacheModel.uuid = getUuid(); - - String uuid = fePagamentoCacheModel.uuid; - - if ((uuid != null) && (uuid.length() == 0)) { - fePagamentoCacheModel.uuid = null; - } - - fePagamentoCacheModel.pagamentoId = getPagamentoId(); - - fePagamentoCacheModel.companyId = getCompanyId(); - - fePagamentoCacheModel.userId = getUserId(); - - fePagamentoCacheModel.userName = getUserName(); - - String userName = fePagamentoCacheModel.userName; - - if ((userName != null) && (userName.length() == 0)) { - fePagamentoCacheModel.userName = null; - } - - Date createDate = getCreateDate(); - - if (createDate != null) { - fePagamentoCacheModel.createDate = createDate.getTime(); - } - else { - fePagamentoCacheModel.createDate = Long.MIN_VALUE; - } - - Date modifiedDate = getModifiedDate(); - - if (modifiedDate != null) { - fePagamentoCacheModel.modifiedDate = modifiedDate.getTime(); - } - else { - fePagamentoCacheModel.modifiedDate = Long.MIN_VALUE; - } - - fePagamentoCacheModel.groupId = getGroupId(); - - fePagamentoCacheModel.dettPraticaId = getDettPraticaId(); - - fePagamentoCacheModel.codice = getCodice(); - - String codice = fePagamentoCacheModel.codice; - - if ((codice != null) && (codice.length() == 0)) { - fePagamentoCacheModel.codice = null; - } - - fePagamentoCacheModel.causale = getCausale(); - - String causale = fePagamentoCacheModel.causale; - - if ((causale != null) && (causale.length() == 0)) { - fePagamentoCacheModel.causale = null; - } - - fePagamentoCacheModel.mezzo = getMezzo(); - - String mezzo = fePagamentoCacheModel.mezzo; - - if ((mezzo != null) && (mezzo.length() == 0)) { - fePagamentoCacheModel.mezzo = null; - } - - fePagamentoCacheModel.codiceFiscaleCommittente = getCodiceFiscaleCommittente(); - - String codiceFiscaleCommittente = fePagamentoCacheModel.codiceFiscaleCommittente; - - if ((codiceFiscaleCommittente != null) && - (codiceFiscaleCommittente.length() == 0)) { - fePagamentoCacheModel.codiceFiscaleCommittente = null; - } - - fePagamentoCacheModel.importoBolli = getImportoBolli(); - - String importoBolli = fePagamentoCacheModel.importoBolli; - - if ((importoBolli != null) && (importoBolli.length() == 0)) { - fePagamentoCacheModel.importoBolli = null; - } - - fePagamentoCacheModel.importoSpeseIstruttoria = getImportoSpeseIstruttoria(); - - String importoSpeseIstruttoria = fePagamentoCacheModel.importoSpeseIstruttoria; - - if ((importoSpeseIstruttoria != null) && - (importoSpeseIstruttoria.length() == 0)) { - fePagamentoCacheModel.importoSpeseIstruttoria = null; - } - - fePagamentoCacheModel.utilizzata = getUtilizzata(); - - String utilizzata = fePagamentoCacheModel.utilizzata; - - if ((utilizzata != null) && (utilizzata.length() == 0)) { - fePagamentoCacheModel.utilizzata = null; - } - - fePagamentoCacheModel.emailPending = getEmailPending(); - - return fePagamentoCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(35); - - sb.append("{uuid="); - sb.append(getUuid()); - sb.append(", pagamentoId="); - sb.append(getPagamentoId()); - sb.append(", companyId="); - sb.append(getCompanyId()); - sb.append(", userId="); - sb.append(getUserId()); - sb.append(", userName="); - sb.append(getUserName()); - sb.append(", createDate="); - sb.append(getCreateDate()); - sb.append(", modifiedDate="); - sb.append(getModifiedDate()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", dettPraticaId="); - sb.append(getDettPraticaId()); - sb.append(", codice="); - sb.append(getCodice()); - sb.append(", causale="); - sb.append(getCausale()); - sb.append(", mezzo="); - sb.append(getMezzo()); - sb.append(", codiceFiscaleCommittente="); - sb.append(getCodiceFiscaleCommittente()); - sb.append(", importoBolli="); - sb.append(getImportoBolli()); - sb.append(", importoSpeseIstruttoria="); - sb.append(getImportoSpeseIstruttoria()); - sb.append(", utilizzata="); - sb.append(getUtilizzata()); - sb.append(", emailPending="); - sb.append(getEmailPending()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(55); - - sb.append(""); - sb.append("it.tref.liferay.portos.portosimport.model.FePagamento"); - sb.append(""); - - sb.append( - "uuid"); - sb.append( - "pagamentoId"); - sb.append( - "companyId"); - sb.append( - "userId"); - sb.append( - "userName"); - sb.append( - "createDate"); - sb.append( - "modifiedDate"); - sb.append( - "groupId"); - sb.append( - "dettPraticaId"); - sb.append( - "codice"); - sb.append( - "causale"); - sb.append( - "mezzo"); - sb.append( - "codiceFiscaleCommittente"); - sb.append( - "importoBolli"); - sb.append( - "importoSpeseIstruttoria"); - sb.append( - "utilizzata"); - sb.append( - "emailPending"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = FePagamento.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - FePagamento.class - }; - private String _uuid; - private String _originalUuid; - private long _pagamentoId; - private long _companyId; - private long _originalCompanyId; - private boolean _setOriginalCompanyId; - private long _userId; - private String _userUuid; - private String _userName; - private Date _createDate; - private Date _modifiedDate; - private long _groupId; - private long _originalGroupId; - private boolean _setOriginalGroupId; - private long _dettPraticaId; - private long _originalDettPraticaId; - private boolean _setOriginalDettPraticaId; - private String _codice; - private String _causale; - private String _mezzo; - private String _originalMezzo; - private String _codiceFiscaleCommittente; - private String _importoBolli; - private String _importoSpeseIstruttoria; - private String _utilizzata; - private String _originalUtilizzata; - private boolean _emailPending; - private long _columnBitmask; - private FePagamento _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeTerritorioBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeTerritorioBaseImpl.java deleted file mode 100644 index 61810a70..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeTerritorioBaseImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.FeTerritorio; -import it.tref.liferay.portos.portosimport.service.FeTerritorioLocalServiceUtil; - -/** - * The extended model base implementation for the FeTerritorio service. Represents a row in the "gcfe_territorio" database table, with each column mapped to a property of this class. - * - *

- * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link FeTerritorioImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see FeTerritorioImpl - * @see it.tref.liferay.portos.portosimport.model.FeTerritorio - * @generated - */ -public abstract class FeTerritorioBaseImpl extends FeTerritorioModelImpl - implements FeTerritorio { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a fe territorio model instance should use the {@link FeTerritorio} interface instead. - */ - @Override - public void persist() throws SystemException { - if (this.isNew()) { - FeTerritorioLocalServiceUtil.addFeTerritorio(this); - } - else { - FeTerritorioLocalServiceUtil.updateFeTerritorio(this); - } - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeTerritorioCacheModel.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeTerritorioCacheModel.java deleted file mode 100644 index 6f905d3e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeTerritorioCacheModel.java +++ /dev/null @@ -1,157 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; - -import it.tref.liferay.portos.portosimport.model.FeTerritorio; - -import java.io.Externalizable; -import java.io.IOException; -import java.io.ObjectInput; -import java.io.ObjectOutput; - -import java.util.Date; - -/** - * The cache model class for representing FeTerritorio in entity cache. - * - * @author Davide Barbagallo, 3F Consulting - * @see FeTerritorio - * @generated - */ -public class FeTerritorioCacheModel implements CacheModel, - Externalizable { - @Override - public String toString() { - StringBundler sb = new StringBundler(19); - - sb.append("{territorioId="); - sb.append(territorioId); - sb.append(", groupId="); - sb.append(groupId); - sb.append(", zonaId="); - sb.append(zonaId); - sb.append(", fasciaId="); - sb.append(fasciaId); - sb.append(", comuneId="); - sb.append(comuneId); - sb.append(", dtIni="); - sb.append(dtIni); - sb.append(", dtFin="); - sb.append(dtFin); - sb.append(", agMin="); - sb.append(agMin); - sb.append(", agMax="); - sb.append(agMax); - sb.append("}"); - - return sb.toString(); - } - - @Override - public FeTerritorio toEntityModel() { - FeTerritorioImpl feTerritorioImpl = new FeTerritorioImpl(); - - feTerritorioImpl.setTerritorioId(territorioId); - feTerritorioImpl.setGroupId(groupId); - feTerritorioImpl.setZonaId(zonaId); - feTerritorioImpl.setFasciaId(fasciaId); - feTerritorioImpl.setComuneId(comuneId); - - if (dtIni == Long.MIN_VALUE) { - feTerritorioImpl.setDtIni(null); - } - else { - feTerritorioImpl.setDtIni(new Date(dtIni)); - } - - if (dtFin == Long.MIN_VALUE) { - feTerritorioImpl.setDtFin(null); - } - else { - feTerritorioImpl.setDtFin(new Date(dtFin)); - } - - if (agMin == null) { - feTerritorioImpl.setAgMin(StringPool.BLANK); - } - else { - feTerritorioImpl.setAgMin(agMin); - } - - if (agMax == null) { - feTerritorioImpl.setAgMax(StringPool.BLANK); - } - else { - feTerritorioImpl.setAgMax(agMax); - } - - feTerritorioImpl.resetOriginalValues(); - - return feTerritorioImpl; - } - - @Override - public void readExternal(ObjectInput objectInput) throws IOException { - territorioId = objectInput.readLong(); - groupId = objectInput.readLong(); - zonaId = objectInput.readLong(); - fasciaId = objectInput.readLong(); - comuneId = objectInput.readLong(); - dtIni = objectInput.readLong(); - dtFin = objectInput.readLong(); - agMin = objectInput.readUTF(); - agMax = objectInput.readUTF(); - } - - @Override - public void writeExternal(ObjectOutput objectOutput) - throws IOException { - objectOutput.writeLong(territorioId); - objectOutput.writeLong(groupId); - objectOutput.writeLong(zonaId); - objectOutput.writeLong(fasciaId); - objectOutput.writeLong(comuneId); - objectOutput.writeLong(dtIni); - objectOutput.writeLong(dtFin); - - if (agMin == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(agMin); - } - - if (agMax == null) { - objectOutput.writeUTF(StringPool.BLANK); - } - else { - objectOutput.writeUTF(agMax); - } - } - - public long territorioId; - public long groupId; - public long zonaId; - public long fasciaId; - public long comuneId; - public long dtIni; - public long dtFin; - public String agMin; - public String agMax; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeTerritorioImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeTerritorioImpl.java deleted file mode 100644 index c88bf5bc..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeTerritorioImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -/** - * The extended model implementation for the FeTerritorio service. Represents a row in the "gcfe_territorio" database table, with each column mapped to a property of this class. - * - *

- * Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.portosimport.model.FeTerritorio} interface. - *

- * - * @author Davide Barbagallo, 3F Consulting - */ -public class FeTerritorioImpl extends FeTerritorioBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this class directly. All methods that expect a fe territorio model instance should use the {@link it.tref.liferay.portos.portosimport.model.FeTerritorio} interface instead. - */ - public FeTerritorioImpl() { - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeTerritorioModelImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeTerritorioModelImpl.java deleted file mode 100644 index 1102a0fb..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/model/impl/FeTerritorioModelImpl.java +++ /dev/null @@ -1,608 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.model.impl; - -import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.ProxyUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.impl.BaseModelImpl; -import com.liferay.portal.service.ServiceContext; - -import com.liferay.portlet.expando.model.ExpandoBridge; -import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil; - -import it.tref.liferay.portos.portosimport.model.FeTerritorio; -import it.tref.liferay.portos.portosimport.model.FeTerritorioModel; - -import java.io.Serializable; - -import java.sql.Types; - -import java.util.Date; -import java.util.HashMap; -import java.util.Map; - -/** - * The base model implementation for the FeTerritorio service. Represents a row in the "gcfe_territorio" database table, with each column mapped to a property of this class. - * - *

- * This implementation and its corresponding interface {@link it.tref.liferay.portos.portosimport.model.FeTerritorioModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link FeTerritorioImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see FeTerritorioImpl - * @see it.tref.liferay.portos.portosimport.model.FeTerritorio - * @see it.tref.liferay.portos.portosimport.model.FeTerritorioModel - * @generated - */ -public class FeTerritorioModelImpl extends BaseModelImpl - implements FeTerritorioModel { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. All methods that expect a fe territorio model instance should use the {@link it.tref.liferay.portos.portosimport.model.FeTerritorio} interface instead. - */ - public static final String TABLE_NAME = "gcfe_territorio"; - public static final Object[][] TABLE_COLUMNS = { - { "territorioId", Types.BIGINT }, - { "groupId", Types.BIGINT }, - { "zonaId", Types.BIGINT }, - { "fasciaId", Types.BIGINT }, - { "comuneId", Types.BIGINT }, - { "dtIni", Types.TIMESTAMP }, - { "dtFin", Types.TIMESTAMP }, - { "agMin", Types.VARCHAR }, - { "agMax", Types.VARCHAR } - }; - public static final String TABLE_SQL_CREATE = "create table gcfe_territorio (territorioId LONG not null primary key,groupId LONG,zonaId LONG,fasciaId LONG,comuneId LONG,dtIni DATE null,dtFin DATE null,agMin VARCHAR(75) null,agMax VARCHAR(75) null)"; - public static final String TABLE_SQL_DROP = "drop table gcfe_territorio"; - public static final String ORDER_BY_JPQL = " ORDER BY feTerritorio.territorioId ASC"; - public static final String ORDER_BY_SQL = " ORDER BY gcfe_territorio.territorioId ASC"; - public static final String DATA_SOURCE = "datiPortos1DbFeDataSource"; - public static final String SESSION_FACTORY = "datiPortos1DbFeSessionFactory"; - public static final String TX_MANAGER = "datiPortos1DbFeTransactionManager"; - public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.entity.cache.enabled.it.tref.liferay.portos.portosimport.model.FeTerritorio"), - true); - public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.finder.cache.enabled.it.tref.liferay.portos.portosimport.model.FeTerritorio"), - true); - public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get( - "value.object.column.bitmask.enabled.it.tref.liferay.portos.portosimport.model.FeTerritorio"), - true); - public static long COMUNEID_COLUMN_BITMASK = 1L; - public static long DTINI_COLUMN_BITMASK = 2L; - public static long FASCIAID_COLUMN_BITMASK = 4L; - public static long ZONAID_COLUMN_BITMASK = 8L; - public static long TERRITORIOID_COLUMN_BITMASK = 16L; - public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get( - "lock.expiration.time.it.tref.liferay.portos.portosimport.model.FeTerritorio")); - - public FeTerritorioModelImpl() { - } - - @Override - public long getPrimaryKey() { - return _territorioId; - } - - @Override - public void setPrimaryKey(long primaryKey) { - setTerritorioId(primaryKey); - } - - @Override - public Serializable getPrimaryKeyObj() { - return _territorioId; - } - - @Override - public void setPrimaryKeyObj(Serializable primaryKeyObj) { - setPrimaryKey(((Long)primaryKeyObj).longValue()); - } - - @Override - public Class getModelClass() { - return FeTerritorio.class; - } - - @Override - public String getModelClassName() { - return FeTerritorio.class.getName(); - } - - @Override - public Map getModelAttributes() { - Map attributes = new HashMap(); - - attributes.put("territorioId", getTerritorioId()); - attributes.put("groupId", getGroupId()); - attributes.put("zonaId", getZonaId()); - attributes.put("fasciaId", getFasciaId()); - attributes.put("comuneId", getComuneId()); - attributes.put("dtIni", getDtIni()); - attributes.put("dtFin", getDtFin()); - attributes.put("agMin", getAgMin()); - attributes.put("agMax", getAgMax()); - - return attributes; - } - - @Override - public void setModelAttributes(Map attributes) { - Long territorioId = (Long)attributes.get("territorioId"); - - if (territorioId != null) { - setTerritorioId(territorioId); - } - - Long groupId = (Long)attributes.get("groupId"); - - if (groupId != null) { - setGroupId(groupId); - } - - Long zonaId = (Long)attributes.get("zonaId"); - - if (zonaId != null) { - setZonaId(zonaId); - } - - Long fasciaId = (Long)attributes.get("fasciaId"); - - if (fasciaId != null) { - setFasciaId(fasciaId); - } - - Long comuneId = (Long)attributes.get("comuneId"); - - if (comuneId != null) { - setComuneId(comuneId); - } - - Date dtIni = (Date)attributes.get("dtIni"); - - if (dtIni != null) { - setDtIni(dtIni); - } - - Date dtFin = (Date)attributes.get("dtFin"); - - if (dtFin != null) { - setDtFin(dtFin); - } - - String agMin = (String)attributes.get("agMin"); - - if (agMin != null) { - setAgMin(agMin); - } - - String agMax = (String)attributes.get("agMax"); - - if (agMax != null) { - setAgMax(agMax); - } - } - - @Override - public long getTerritorioId() { - return _territorioId; - } - - @Override - public void setTerritorioId(long territorioId) { - _territorioId = territorioId; - } - - @Override - public long getGroupId() { - return _groupId; - } - - @Override - public void setGroupId(long groupId) { - _groupId = groupId; - } - - @Override - public long getZonaId() { - return _zonaId; - } - - @Override - public void setZonaId(long zonaId) { - _columnBitmask |= ZONAID_COLUMN_BITMASK; - - if (!_setOriginalZonaId) { - _setOriginalZonaId = true; - - _originalZonaId = _zonaId; - } - - _zonaId = zonaId; - } - - public long getOriginalZonaId() { - return _originalZonaId; - } - - @Override - public long getFasciaId() { - return _fasciaId; - } - - @Override - public void setFasciaId(long fasciaId) { - _columnBitmask |= FASCIAID_COLUMN_BITMASK; - - if (!_setOriginalFasciaId) { - _setOriginalFasciaId = true; - - _originalFasciaId = _fasciaId; - } - - _fasciaId = fasciaId; - } - - public long getOriginalFasciaId() { - return _originalFasciaId; - } - - @Override - public long getComuneId() { - return _comuneId; - } - - @Override - public void setComuneId(long comuneId) { - _columnBitmask |= COMUNEID_COLUMN_BITMASK; - - if (!_setOriginalComuneId) { - _setOriginalComuneId = true; - - _originalComuneId = _comuneId; - } - - _comuneId = comuneId; - } - - public long getOriginalComuneId() { - return _originalComuneId; - } - - @Override - public Date getDtIni() { - return _dtIni; - } - - @Override - public void setDtIni(Date dtIni) { - _columnBitmask |= DTINI_COLUMN_BITMASK; - - if (_originalDtIni == null) { - _originalDtIni = _dtIni; - } - - _dtIni = dtIni; - } - - public Date getOriginalDtIni() { - return _originalDtIni; - } - - @Override - public Date getDtFin() { - return _dtFin; - } - - @Override - public void setDtFin(Date dtFin) { - _dtFin = dtFin; - } - - @Override - public String getAgMin() { - if (_agMin == null) { - return StringPool.BLANK; - } - else { - return _agMin; - } - } - - @Override - public void setAgMin(String agMin) { - _agMin = agMin; - } - - @Override - public String getAgMax() { - if (_agMax == null) { - return StringPool.BLANK; - } - else { - return _agMax; - } - } - - @Override - public void setAgMax(String agMax) { - _agMax = agMax; - } - - public long getColumnBitmask() { - return _columnBitmask; - } - - @Override - public ExpandoBridge getExpandoBridge() { - return ExpandoBridgeFactoryUtil.getExpandoBridge(0, - FeTerritorio.class.getName(), getPrimaryKey()); - } - - @Override - public void setExpandoBridgeAttributes(ServiceContext serviceContext) { - ExpandoBridge expandoBridge = getExpandoBridge(); - - expandoBridge.setAttributes(serviceContext); - } - - @Override - public FeTerritorio toEscapedModel() { - if (_escapedModel == null) { - _escapedModel = (FeTerritorio)ProxyUtil.newProxyInstance(_classLoader, - _escapedModelInterfaces, new AutoEscapeBeanHandler(this)); - } - - return _escapedModel; - } - - @Override - public Object clone() { - FeTerritorioImpl feTerritorioImpl = new FeTerritorioImpl(); - - feTerritorioImpl.setTerritorioId(getTerritorioId()); - feTerritorioImpl.setGroupId(getGroupId()); - feTerritorioImpl.setZonaId(getZonaId()); - feTerritorioImpl.setFasciaId(getFasciaId()); - feTerritorioImpl.setComuneId(getComuneId()); - feTerritorioImpl.setDtIni(getDtIni()); - feTerritorioImpl.setDtFin(getDtFin()); - feTerritorioImpl.setAgMin(getAgMin()); - feTerritorioImpl.setAgMax(getAgMax()); - - feTerritorioImpl.resetOriginalValues(); - - return feTerritorioImpl; - } - - @Override - public int compareTo(FeTerritorio feTerritorio) { - long primaryKey = feTerritorio.getPrimaryKey(); - - if (getPrimaryKey() < primaryKey) { - return -1; - } - else if (getPrimaryKey() > primaryKey) { - return 1; - } - else { - return 0; - } - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - - if (!(obj instanceof FeTerritorio)) { - return false; - } - - FeTerritorio feTerritorio = (FeTerritorio)obj; - - long primaryKey = feTerritorio.getPrimaryKey(); - - if (getPrimaryKey() == primaryKey) { - return true; - } - else { - return false; - } - } - - @Override - public int hashCode() { - return (int)getPrimaryKey(); - } - - @Override - public void resetOriginalValues() { - FeTerritorioModelImpl feTerritorioModelImpl = this; - - feTerritorioModelImpl._originalZonaId = feTerritorioModelImpl._zonaId; - - feTerritorioModelImpl._setOriginalZonaId = false; - - feTerritorioModelImpl._originalFasciaId = feTerritorioModelImpl._fasciaId; - - feTerritorioModelImpl._setOriginalFasciaId = false; - - feTerritorioModelImpl._originalComuneId = feTerritorioModelImpl._comuneId; - - feTerritorioModelImpl._setOriginalComuneId = false; - - feTerritorioModelImpl._originalDtIni = feTerritorioModelImpl._dtIni; - - feTerritorioModelImpl._columnBitmask = 0; - } - - @Override - public CacheModel toCacheModel() { - FeTerritorioCacheModel feTerritorioCacheModel = new FeTerritorioCacheModel(); - - feTerritorioCacheModel.territorioId = getTerritorioId(); - - feTerritorioCacheModel.groupId = getGroupId(); - - feTerritorioCacheModel.zonaId = getZonaId(); - - feTerritorioCacheModel.fasciaId = getFasciaId(); - - feTerritorioCacheModel.comuneId = getComuneId(); - - Date dtIni = getDtIni(); - - if (dtIni != null) { - feTerritorioCacheModel.dtIni = dtIni.getTime(); - } - else { - feTerritorioCacheModel.dtIni = Long.MIN_VALUE; - } - - Date dtFin = getDtFin(); - - if (dtFin != null) { - feTerritorioCacheModel.dtFin = dtFin.getTime(); - } - else { - feTerritorioCacheModel.dtFin = Long.MIN_VALUE; - } - - feTerritorioCacheModel.agMin = getAgMin(); - - String agMin = feTerritorioCacheModel.agMin; - - if ((agMin != null) && (agMin.length() == 0)) { - feTerritorioCacheModel.agMin = null; - } - - feTerritorioCacheModel.agMax = getAgMax(); - - String agMax = feTerritorioCacheModel.agMax; - - if ((agMax != null) && (agMax.length() == 0)) { - feTerritorioCacheModel.agMax = null; - } - - return feTerritorioCacheModel; - } - - @Override - public String toString() { - StringBundler sb = new StringBundler(19); - - sb.append("{territorioId="); - sb.append(getTerritorioId()); - sb.append(", groupId="); - sb.append(getGroupId()); - sb.append(", zonaId="); - sb.append(getZonaId()); - sb.append(", fasciaId="); - sb.append(getFasciaId()); - sb.append(", comuneId="); - sb.append(getComuneId()); - sb.append(", dtIni="); - sb.append(getDtIni()); - sb.append(", dtFin="); - sb.append(getDtFin()); - sb.append(", agMin="); - sb.append(getAgMin()); - sb.append(", agMax="); - sb.append(getAgMax()); - sb.append("}"); - - return sb.toString(); - } - - @Override - public String toXmlString() { - StringBundler sb = new StringBundler(31); - - sb.append(""); - sb.append("it.tref.liferay.portos.portosimport.model.FeTerritorio"); - sb.append(""); - - sb.append( - "territorioId"); - sb.append( - "groupId"); - sb.append( - "zonaId"); - sb.append( - "fasciaId"); - sb.append( - "comuneId"); - sb.append( - "dtIni"); - sb.append( - "dtFin"); - sb.append( - "agMin"); - sb.append( - "agMax"); - - sb.append(""); - - return sb.toString(); - } - - private static ClassLoader _classLoader = FeTerritorio.class.getClassLoader(); - private static Class[] _escapedModelInterfaces = new Class[] { - FeTerritorio.class - }; - private long _territorioId; - private long _groupId; - private long _zonaId; - private long _originalZonaId; - private boolean _setOriginalZonaId; - private long _fasciaId; - private long _originalFasciaId; - private boolean _setOriginalFasciaId; - private long _comuneId; - private long _originalComuneId; - private boolean _setOriginalComuneId; - private Date _dtIni; - private Date _originalDtIni; - private Date _dtFin; - private String _agMin; - private String _agMax; - private long _columnBitmask; - private FeTerritorio _escapedModel; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/portlet/ImportazionePortlet.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/portlet/ImportazionePortlet.java deleted file mode 100644 index 47fca3b5..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/portlet/ImportazionePortlet.java +++ /dev/null @@ -1,81 +0,0 @@ -package it.tref.liferay.portos.portosimport.portlet; - - -import com.liferay.portal.kernel.dao.orm.Criterion; -import com.liferay.portal.kernel.dao.orm.RestrictionsFactoryUtil; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.ParamUtil; -import com.liferay.portal.service.ServiceContextFactory; -import com.liferay.util.bridges.mvc.MVCPortlet; - -import it.tref.liferay.portos.portosimport.importer.impl.DettPraticaImporterImpl; -import it.tref.liferay.portos.portosimport.importer.impl.DettPraticaIntegrazioniImporterImpl; -import it.tref.liferay.portos.portosimport.importer.impl.IntPraticaImporterImpl; -import it.tref.liferay.portos.portosimport.importer.impl.TerritorioImporterImpl; - -import java.util.ArrayList; -import java.util.List; - -import javax.portlet.ActionRequest; -import javax.portlet.ActionResponse; - - -public class ImportazionePortlet extends MVCPortlet { - - private static final Log _log = LogFactoryUtil.getLog(ImportazionePortlet.class); - - - public void importaTerritori(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { - - _log.info("***********Inizio Importazione TERRITORI*************"); - TerritorioImporterImpl importer = new TerritorioImporterImpl(ServiceContextFactory.getInstance(actionRequest)); - importer.importa(new ArrayList()); - _log.info("**************Fine Importazione TERRITORI ************"); - - } - - public void importaDettPraticas(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { - - _log.info("***********Inizio Importazione DETTPRATICA*************"); - DettPraticaImporterImpl importer = new DettPraticaImporterImpl(); - List dettPraticaCriterionList = new ArrayList(); - - dettPraticaCriterionList.add(RestrictionsFactoryUtil.eq("integrazione", 0l)); - dettPraticaCriterionList.add(RestrictionsFactoryUtil.eq("validata", true)); - - importer.importa(dettPraticaCriterionList); - _log.info("**************Fine Importazione DETTPRATICA************"); - - } - - public void importaIntPraticas(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { - - _log.info("***********Inizio Importazione INTPRATICA*************"); - List criterionList = new ArrayList(); - criterionList.add(RestrictionsFactoryUtil.gt("variataDa", 0l)); - IntPraticaImporterImpl importer = new IntPraticaImporterImpl(); - importer.importa(criterionList); - _log.info("**************Fine Importazione INTPRATICA************"); - - } - - public void importaIntegrazioni(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { - - // long territorioId = ParamUtil.getLong(actionRequest, "territorioId"); - String tipologiaIntegrazione = ParamUtil.getString(actionRequest, "tipologiaIntegrazione"); - - _log.info("***********tipologiaIntegrazione************* " + tipologiaIntegrazione); - _log.info("***********Inizio Importazione INTEGRAZIONI*************"); - List criterionList = new ArrayList(); - - // String tipoIntegrazione = TipoIntegrazioneUtil.RICHIESTA_INTEGRAZIONE; - - criterionList.add(RestrictionsFactoryUtil.eq("tipoIntegrazione", tipologiaIntegrazione)); - DettPraticaIntegrazioniImporterImpl importer = new DettPraticaIntegrazioniImporterImpl(); - importer.importa(criterionList); - _log.info("**************Fine Importazione INTEGRAZIONI************"); - - } - -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoArtLeggeLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoArtLeggeLocalServiceBaseImpl.java deleted file mode 100644 index 9166b743..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoArtLeggeLocalServiceBaseImpl.java +++ /dev/null @@ -1,1285 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.portosimport.model.BoArtLegge; -import it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService; -import it.tref.liferay.portos.portosimport.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeTerritorioPersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the bo art legge local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.portosimport.service.impl.BoArtLeggeLocalServiceImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.impl.BoArtLeggeLocalServiceImpl - * @see it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalServiceUtil - * @generated - */ -public abstract class BoArtLeggeLocalServiceBaseImpl - extends BaseLocalServiceImpl implements BoArtLeggeLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalServiceUtil} to access the bo art legge local service. - */ - - /** - * Adds the bo art legge to the database. Also notifies the appropriate model listeners. - * - * @param boArtLegge the bo art legge - * @return the bo art legge that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoArtLegge addBoArtLegge(BoArtLegge boArtLegge) - throws SystemException { - boArtLegge.setNew(true); - - return boArtLeggePersistence.update(boArtLegge); - } - - /** - * Creates a new bo art legge with the primary key. Does not add the bo art legge to the database. - * - * @param artLeggeId the primary key for the new bo art legge - * @return the new bo art legge - */ - @Override - public BoArtLegge createBoArtLegge(long artLeggeId) { - return boArtLeggePersistence.create(artLeggeId); - } - - /** - * Deletes the bo art legge with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param artLeggeId the primary key of the bo art legge - * @return the bo art legge that was removed - * @throws PortalException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoArtLegge deleteBoArtLegge(long artLeggeId) - throws PortalException, SystemException { - return boArtLeggePersistence.remove(artLeggeId); - } - - /** - * Deletes the bo art legge from the database. Also notifies the appropriate model listeners. - * - * @param boArtLegge the bo art legge - * @return the bo art legge that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoArtLegge deleteBoArtLegge(BoArtLegge boArtLegge) - throws SystemException { - return boArtLeggePersistence.remove(boArtLegge); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(BoArtLegge.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return boArtLeggePersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return boArtLeggePersistence.findWithDynamicQuery(dynamicQuery, start, - end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return boArtLeggePersistence.findWithDynamicQuery(dynamicQuery, start, - end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return boArtLeggePersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return boArtLeggePersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public BoArtLegge fetchBoArtLegge(long artLeggeId) - throws SystemException { - return boArtLeggePersistence.fetchByPrimaryKey(artLeggeId); - } - - /** - * Returns the bo art legge with the primary key. - * - * @param artLeggeId the primary key of the bo art legge - * @return the bo art legge - * @throws PortalException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoArtLegge getBoArtLegge(long artLeggeId) - throws PortalException, SystemException { - return boArtLeggePersistence.findByPrimaryKey(artLeggeId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return boArtLeggePersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns a range of all the bo art legges. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo art legges - * @param end the upper bound of the range of bo art legges (not inclusive) - * @return the range of bo art legges - * @throws SystemException if a system exception occurred - */ - @Override - public List getBoArtLegges(int start, int end) - throws SystemException { - return boArtLeggePersistence.findAll(start, end); - } - - /** - * Returns the number of bo art legges. - * - * @return the number of bo art legges - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoArtLeggesCount() throws SystemException { - return boArtLeggePersistence.countAll(); - } - - /** - * Updates the bo art legge in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boArtLegge the bo art legge - * @return the bo art legge that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoArtLegge updateBoArtLegge(BoArtLegge boArtLegge) - throws SystemException { - return boArtLeggePersistence.update(boArtLegge); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.portosimport.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.portosimport.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.portosimport.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.portosimport.model.BoArtLegge", - boArtLeggeLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.portosimport.model.BoArtLegge"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return BoArtLegge.class; - } - - protected String getModelClassName() { - return BoArtLegge.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = boArtLeggePersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private BoArtLeggeLocalServiceClpInvoker _clpInvoker = new BoArtLeggeLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoArtLeggeLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoArtLeggeLocalServiceClpInvoker.java deleted file mode 100644 index b04d855d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoArtLeggeLocalServiceClpInvoker.java +++ /dev/null @@ -1,269 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoArtLeggeLocalServiceClpInvoker { - public BoArtLeggeLocalServiceClpInvoker() { - _methodName0 = "addBoArtLegge"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoArtLegge" - }; - - _methodName1 = "createBoArtLegge"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoArtLegge"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoArtLegge"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoArtLegge" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoArtLegge"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getBoArtLegge"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getBoArtLegges"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getBoArtLeggesCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateBoArtLegge"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoArtLegge" - }; - - _methodName104 = "getBeanIdentifier"; - - _methodParameterTypes104 = new String[] { }; - - _methodName105 = "setBeanIdentifier"; - - _methodParameterTypes105 = new String[] { "java.lang.String" }; - - _methodName110 = "fetchByPrimaryKey"; - - _methodParameterTypes110 = new String[] { "long" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return BoArtLeggeLocalServiceUtil.addBoArtLegge((it.tref.liferay.portos.portosimport.model.BoArtLegge)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return BoArtLeggeLocalServiceUtil.createBoArtLegge(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return BoArtLeggeLocalServiceUtil.deleteBoArtLegge(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return BoArtLeggeLocalServiceUtil.deleteBoArtLegge((it.tref.liferay.portos.portosimport.model.BoArtLegge)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return BoArtLeggeLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return BoArtLeggeLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return BoArtLeggeLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return BoArtLeggeLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return BoArtLeggeLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return BoArtLeggeLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return BoArtLeggeLocalServiceUtil.fetchBoArtLegge(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return BoArtLeggeLocalServiceUtil.getBoArtLegge(((Long)arguments[0]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return BoArtLeggeLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return BoArtLeggeLocalServiceUtil.getBoArtLegges(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return BoArtLeggeLocalServiceUtil.getBoArtLeggesCount(); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return BoArtLeggeLocalServiceUtil.updateBoArtLegge((it.tref.liferay.portos.portosimport.model.BoArtLegge)arguments[0]); - } - - if (_methodName104.equals(name) && - Arrays.deepEquals(_methodParameterTypes104, parameterTypes)) { - return BoArtLeggeLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName105.equals(name) && - Arrays.deepEquals(_methodParameterTypes105, parameterTypes)) { - BoArtLeggeLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - if (_methodName110.equals(name) && - Arrays.deepEquals(_methodParameterTypes110, parameterTypes)) { - return BoArtLeggeLocalServiceUtil.fetchByPrimaryKey(((Long)arguments[0]).longValue()); - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName104; - private String[] _methodParameterTypes104; - private String _methodName105; - private String[] _methodParameterTypes105; - private String _methodName110; - private String[] _methodParameterTypes110; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoAvvisoLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoAvvisoLocalServiceBaseImpl.java deleted file mode 100644 index ebd0899f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoAvvisoLocalServiceBaseImpl.java +++ /dev/null @@ -1,1337 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.portosimport.model.BoAvviso; -import it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService; -import it.tref.liferay.portos.portosimport.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeTerritorioPersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the bo avviso local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.portosimport.service.impl.BoAvvisoLocalServiceImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.impl.BoAvvisoLocalServiceImpl - * @see it.tref.liferay.portos.portosimport.service.BoAvvisoLocalServiceUtil - * @generated - */ -public abstract class BoAvvisoLocalServiceBaseImpl extends BaseLocalServiceImpl - implements BoAvvisoLocalService, IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.portosimport.service.BoAvvisoLocalServiceUtil} to access the bo avviso local service. - */ - - /** - * Adds the bo avviso to the database. Also notifies the appropriate model listeners. - * - * @param boAvviso the bo avviso - * @return the bo avviso that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoAvviso addBoAvviso(BoAvviso boAvviso) throws SystemException { - boAvviso.setNew(true); - - return boAvvisoPersistence.update(boAvviso); - } - - /** - * Creates a new bo avviso with the primary key. Does not add the bo avviso to the database. - * - * @param avvisoId the primary key for the new bo avviso - * @return the new bo avviso - */ - @Override - public BoAvviso createBoAvviso(long avvisoId) { - return boAvvisoPersistence.create(avvisoId); - } - - /** - * Deletes the bo avviso with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param avvisoId the primary key of the bo avviso - * @return the bo avviso that was removed - * @throws PortalException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoAvviso deleteBoAvviso(long avvisoId) - throws PortalException, SystemException { - return boAvvisoPersistence.remove(avvisoId); - } - - /** - * Deletes the bo avviso from the database. Also notifies the appropriate model listeners. - * - * @param boAvviso the bo avviso - * @return the bo avviso that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoAvviso deleteBoAvviso(BoAvviso boAvviso) throws SystemException { - return boAvvisoPersistence.remove(boAvviso); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(BoAvviso.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return boAvvisoPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return boAvvisoPersistence.findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return boAvvisoPersistence.findWithDynamicQuery(dynamicQuery, start, - end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return boAvvisoPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return boAvvisoPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public BoAvviso fetchBoAvviso(long avvisoId) throws SystemException { - return boAvvisoPersistence.fetchByPrimaryKey(avvisoId); - } - - /** - * Returns the bo avviso with the matching UUID and company. - * - * @param uuid the bo avviso's UUID - * @param companyId the primary key of the company - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso fetchBoAvvisoByUuidAndCompanyId(String uuid, long companyId) - throws SystemException { - return boAvvisoPersistence.fetchByUuid_C_First(uuid, companyId, null); - } - - /** - * Returns the bo avviso matching the UUID and group. - * - * @param uuid the bo avviso's UUID - * @param groupId the primary key of the group - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso fetchBoAvvisoByUuidAndGroupId(String uuid, long groupId) - throws SystemException { - return boAvvisoPersistence.fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the bo avviso with the primary key. - * - * @param avvisoId the primary key of the bo avviso - * @return the bo avviso - * @throws PortalException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso getBoAvviso(long avvisoId) - throws PortalException, SystemException { - return boAvvisoPersistence.findByPrimaryKey(avvisoId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return boAvvisoPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns the bo avviso with the matching UUID and company. - * - * @param uuid the bo avviso's UUID - * @param companyId the primary key of the company - * @return the matching bo avviso - * @throws PortalException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso getBoAvvisoByUuidAndCompanyId(String uuid, long companyId) - throws PortalException, SystemException { - return boAvvisoPersistence.findByUuid_C_First(uuid, companyId, null); - } - - /** - * Returns the bo avviso matching the UUID and group. - * - * @param uuid the bo avviso's UUID - * @param groupId the primary key of the group - * @return the matching bo avviso - * @throws PortalException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso getBoAvvisoByUuidAndGroupId(String uuid, long groupId) - throws PortalException, SystemException { - return boAvvisoPersistence.findByUUID_G(uuid, groupId); - } - - /** - * Returns a range of all the bo avvisos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List getBoAvvisos(int start, int end) - throws SystemException { - return boAvvisoPersistence.findAll(start, end); - } - - /** - * Returns the number of bo avvisos. - * - * @return the number of bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoAvvisosCount() throws SystemException { - return boAvvisoPersistence.countAll(); - } - - /** - * Updates the bo avviso in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boAvviso the bo avviso - * @return the bo avviso that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoAvviso updateBoAvviso(BoAvviso boAvviso) throws SystemException { - return boAvvisoPersistence.update(boAvviso); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.portosimport.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.portosimport.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.portosimport.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.portosimport.model.BoAvviso", - boAvvisoLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.portosimport.model.BoAvviso"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return BoAvviso.class; - } - - protected String getModelClassName() { - return BoAvviso.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = boAvvisoPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private BoAvvisoLocalServiceClpInvoker _clpInvoker = new BoAvvisoLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoAvvisoLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoAvvisoLocalServiceClpInvoker.java deleted file mode 100644 index f221847a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoAvvisoLocalServiceClpInvoker.java +++ /dev/null @@ -1,306 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import it.tref.liferay.portos.portosimport.service.BoAvvisoLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoAvvisoLocalServiceClpInvoker { - public BoAvvisoLocalServiceClpInvoker() { - _methodName0 = "addBoAvviso"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoAvviso" - }; - - _methodName1 = "createBoAvviso"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoAvviso"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoAvviso"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoAvviso" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoAvviso"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchBoAvvisoByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchBoAvvisoByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getBoAvviso"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getBoAvvisoByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getBoAvvisoByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getBoAvvisos"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getBoAvvisosCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateBoAvviso"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoAvviso" - }; - - _methodName108 = "getBeanIdentifier"; - - _methodParameterTypes108 = new String[] { }; - - _methodName109 = "setBeanIdentifier"; - - _methodParameterTypes109 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return BoAvvisoLocalServiceUtil.addBoAvviso((it.tref.liferay.portos.portosimport.model.BoAvviso)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return BoAvvisoLocalServiceUtil.createBoAvviso(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return BoAvvisoLocalServiceUtil.deleteBoAvviso(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return BoAvvisoLocalServiceUtil.deleteBoAvviso((it.tref.liferay.portos.portosimport.model.BoAvviso)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return BoAvvisoLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return BoAvvisoLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return BoAvvisoLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return BoAvvisoLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return BoAvvisoLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return BoAvvisoLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return BoAvvisoLocalServiceUtil.fetchBoAvviso(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return BoAvvisoLocalServiceUtil.fetchBoAvvisoByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return BoAvvisoLocalServiceUtil.fetchBoAvvisoByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return BoAvvisoLocalServiceUtil.getBoAvviso(((Long)arguments[0]).longValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return BoAvvisoLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return BoAvvisoLocalServiceUtil.getBoAvvisoByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName16.equals(name) && - Arrays.deepEquals(_methodParameterTypes16, parameterTypes)) { - return BoAvvisoLocalServiceUtil.getBoAvvisoByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName17.equals(name) && - Arrays.deepEquals(_methodParameterTypes17, parameterTypes)) { - return BoAvvisoLocalServiceUtil.getBoAvvisos(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName18.equals(name) && - Arrays.deepEquals(_methodParameterTypes18, parameterTypes)) { - return BoAvvisoLocalServiceUtil.getBoAvvisosCount(); - } - - if (_methodName19.equals(name) && - Arrays.deepEquals(_methodParameterTypes19, parameterTypes)) { - return BoAvvisoLocalServiceUtil.updateBoAvviso((it.tref.liferay.portos.portosimport.model.BoAvviso)arguments[0]); - } - - if (_methodName108.equals(name) && - Arrays.deepEquals(_methodParameterTypes108, parameterTypes)) { - return BoAvvisoLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName109.equals(name) && - Arrays.deepEquals(_methodParameterTypes109, parameterTypes)) { - BoAvvisoLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName108; - private String[] _methodParameterTypes108; - private String _methodName109; - private String[] _methodParameterTypes109; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoComuneLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoComuneLocalServiceBaseImpl.java deleted file mode 100644 index 8d09da4c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoComuneLocalServiceBaseImpl.java +++ /dev/null @@ -1,1279 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.portosimport.model.BoComune; -import it.tref.liferay.portos.portosimport.service.BoComuneLocalService; -import it.tref.liferay.portos.portosimport.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeTerritorioPersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the bo comune local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.portosimport.service.impl.BoComuneLocalServiceImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.impl.BoComuneLocalServiceImpl - * @see it.tref.liferay.portos.portosimport.service.BoComuneLocalServiceUtil - * @generated - */ -public abstract class BoComuneLocalServiceBaseImpl extends BaseLocalServiceImpl - implements BoComuneLocalService, IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.portosimport.service.BoComuneLocalServiceUtil} to access the bo comune local service. - */ - - /** - * Adds the bo comune to the database. Also notifies the appropriate model listeners. - * - * @param boComune the bo comune - * @return the bo comune that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoComune addBoComune(BoComune boComune) throws SystemException { - boComune.setNew(true); - - return boComunePersistence.update(boComune); - } - - /** - * Creates a new bo comune with the primary key. Does not add the bo comune to the database. - * - * @param comuneId the primary key for the new bo comune - * @return the new bo comune - */ - @Override - public BoComune createBoComune(long comuneId) { - return boComunePersistence.create(comuneId); - } - - /** - * Deletes the bo comune with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param comuneId the primary key of the bo comune - * @return the bo comune that was removed - * @throws PortalException if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoComune deleteBoComune(long comuneId) - throws PortalException, SystemException { - return boComunePersistence.remove(comuneId); - } - - /** - * Deletes the bo comune from the database. Also notifies the appropriate model listeners. - * - * @param boComune the bo comune - * @return the bo comune that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoComune deleteBoComune(BoComune boComune) throws SystemException { - return boComunePersistence.remove(boComune); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(BoComune.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return boComunePersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return boComunePersistence.findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return boComunePersistence.findWithDynamicQuery(dynamicQuery, start, - end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return boComunePersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return boComunePersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public BoComune fetchBoComune(long comuneId) throws SystemException { - return boComunePersistence.fetchByPrimaryKey(comuneId); - } - - /** - * Returns the bo comune with the primary key. - * - * @param comuneId the primary key of the bo comune - * @return the bo comune - * @throws PortalException if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoComune getBoComune(long comuneId) - throws PortalException, SystemException { - return boComunePersistence.findByPrimaryKey(comuneId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return boComunePersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns a range of all the bo comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo comunes - * @param end the upper bound of the range of bo comunes (not inclusive) - * @return the range of bo comunes - * @throws SystemException if a system exception occurred - */ - @Override - public List getBoComunes(int start, int end) - throws SystemException { - return boComunePersistence.findAll(start, end); - } - - /** - * Returns the number of bo comunes. - * - * @return the number of bo comunes - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoComunesCount() throws SystemException { - return boComunePersistence.countAll(); - } - - /** - * Updates the bo comune in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boComune the bo comune - * @return the bo comune that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoComune updateBoComune(BoComune boComune) throws SystemException { - return boComunePersistence.update(boComune); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.portosimport.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.portosimport.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.portosimport.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.portosimport.model.BoComune", - boComuneLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.portosimport.model.BoComune"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return BoComune.class; - } - - protected String getModelClassName() { - return BoComune.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = boComunePersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private BoComuneLocalServiceClpInvoker _clpInvoker = new BoComuneLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoComuneLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoComuneLocalServiceClpInvoker.java deleted file mode 100644 index 4426a936..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoComuneLocalServiceClpInvoker.java +++ /dev/null @@ -1,258 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import it.tref.liferay.portos.portosimport.service.BoComuneLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoComuneLocalServiceClpInvoker { - public BoComuneLocalServiceClpInvoker() { - _methodName0 = "addBoComune"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoComune" - }; - - _methodName1 = "createBoComune"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoComune"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoComune"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoComune" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoComune"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getBoComune"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getBoComunes"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getBoComunesCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateBoComune"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoComune" - }; - - _methodName104 = "getBeanIdentifier"; - - _methodParameterTypes104 = new String[] { }; - - _methodName105 = "setBeanIdentifier"; - - _methodParameterTypes105 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return BoComuneLocalServiceUtil.addBoComune((it.tref.liferay.portos.portosimport.model.BoComune)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return BoComuneLocalServiceUtil.createBoComune(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return BoComuneLocalServiceUtil.deleteBoComune(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return BoComuneLocalServiceUtil.deleteBoComune((it.tref.liferay.portos.portosimport.model.BoComune)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return BoComuneLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return BoComuneLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return BoComuneLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return BoComuneLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return BoComuneLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return BoComuneLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return BoComuneLocalServiceUtil.fetchBoComune(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return BoComuneLocalServiceUtil.getBoComune(((Long)arguments[0]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return BoComuneLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return BoComuneLocalServiceUtil.getBoComunes(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return BoComuneLocalServiceUtil.getBoComunesCount(); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return BoComuneLocalServiceUtil.updateBoComune((it.tref.liferay.portos.portosimport.model.BoComune)arguments[0]); - } - - if (_methodName104.equals(name) && - Arrays.deepEquals(_methodParameterTypes104, parameterTypes)) { - return BoComuneLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName105.equals(name) && - Arrays.deepEquals(_methodParameterTypes105, parameterTypes)) { - BoComuneLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName104; - private String[] _methodParameterTypes104; - private String _methodName105; - private String[] _methodParameterTypes105; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoDettPraticaLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoDettPraticaLocalServiceBaseImpl.java deleted file mode 100644 index 373adb72..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoDettPraticaLocalServiceBaseImpl.java +++ /dev/null @@ -1,1537 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence; -import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence; -import com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence; - -import it.tref.liferay.portos.portosimport.model.BoDettPratica; -import it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService; -import it.tref.liferay.portos.portosimport.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeTerritorioPersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the bo dett pratica local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.portosimport.service.impl.BoDettPraticaLocalServiceImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.impl.BoDettPraticaLocalServiceImpl - * @see it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalServiceUtil - * @generated - */ -public abstract class BoDettPraticaLocalServiceBaseImpl - extends BaseLocalServiceImpl implements BoDettPraticaLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalServiceUtil} to access the bo dett pratica local service. - */ - - /** - * Adds the bo dett pratica to the database. Also notifies the appropriate model listeners. - * - * @param boDettPratica the bo dett pratica - * @return the bo dett pratica that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoDettPratica addBoDettPratica(BoDettPratica boDettPratica) - throws SystemException { - boDettPratica.setNew(true); - - return boDettPraticaPersistence.update(boDettPratica); - } - - /** - * Creates a new bo dett pratica with the primary key. Does not add the bo dett pratica to the database. - * - * @param dettPraticaId the primary key for the new bo dett pratica - * @return the new bo dett pratica - */ - @Override - public BoDettPratica createBoDettPratica(long dettPraticaId) { - return boDettPraticaPersistence.create(dettPraticaId); - } - - /** - * Deletes the bo dett pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param dettPraticaId the primary key of the bo dett pratica - * @return the bo dett pratica that was removed - * @throws PortalException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoDettPratica deleteBoDettPratica(long dettPraticaId) - throws PortalException, SystemException { - return boDettPraticaPersistence.remove(dettPraticaId); - } - - /** - * Deletes the bo dett pratica from the database. Also notifies the appropriate model listeners. - * - * @param boDettPratica the bo dett pratica - * @return the bo dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoDettPratica deleteBoDettPratica(BoDettPratica boDettPratica) - throws SystemException { - return boDettPraticaPersistence.remove(boDettPratica); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(BoDettPratica.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return boDettPraticaPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return boDettPraticaPersistence.findWithDynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return boDettPraticaPersistence.findWithDynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return boDettPraticaPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return boDettPraticaPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public BoDettPratica fetchBoDettPratica(long dettPraticaId) - throws SystemException { - return boDettPraticaPersistence.fetchByPrimaryKey(dettPraticaId); - } - - /** - * Returns the bo dett pratica with the matching UUID and company. - * - * @param uuid the bo dett pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchBoDettPraticaByUuidAndCompanyId(String uuid, - long companyId) throws SystemException { - return boDettPraticaPersistence.fetchByUuid_C_First(uuid, companyId, - null); - } - - /** - * Returns the bo dett pratica matching the UUID and group. - * - * @param uuid the bo dett pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchBoDettPraticaByUuidAndGroupId(String uuid, - long groupId) throws SystemException { - return boDettPraticaPersistence.fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the bo dett pratica with the primary key. - * - * @param dettPraticaId the primary key of the bo dett pratica - * @return the bo dett pratica - * @throws PortalException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica getBoDettPratica(long dettPraticaId) - throws PortalException, SystemException { - return boDettPraticaPersistence.findByPrimaryKey(dettPraticaId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return boDettPraticaPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns the bo dett pratica with the matching UUID and company. - * - * @param uuid the bo dett pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo dett pratica - * @throws PortalException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica getBoDettPraticaByUuidAndCompanyId(String uuid, - long companyId) throws PortalException, SystemException { - return boDettPraticaPersistence.findByUuid_C_First(uuid, companyId, null); - } - - /** - * Returns the bo dett pratica matching the UUID and group. - * - * @param uuid the bo dett pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo dett pratica - * @throws PortalException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica getBoDettPraticaByUuidAndGroupId(String uuid, - long groupId) throws PortalException, SystemException { - return boDettPraticaPersistence.findByUUID_G(uuid, groupId); - } - - /** - * Returns a range of all the bo dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List getBoDettPraticas(int start, int end) - throws SystemException { - return boDettPraticaPersistence.findAll(start, end); - } - - /** - * Returns the number of bo dett praticas. - * - * @return the number of bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoDettPraticasCount() throws SystemException { - return boDettPraticaPersistence.countAll(); - } - - /** - * Updates the bo dett pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boDettPratica the bo dett pratica - * @return the bo dett pratica that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoDettPratica updateBoDettPratica(BoDettPratica boDettPratica) - throws SystemException { - return boDettPraticaPersistence.update(boDettPratica); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.portosimport.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.portosimport.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.portosimport.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - /** - * Returns the asset category local service. - * - * @return the asset category local service - */ - public com.liferay.portlet.asset.service.AssetCategoryLocalService getAssetCategoryLocalService() { - return assetCategoryLocalService; - } - - /** - * Sets the asset category local service. - * - * @param assetCategoryLocalService the asset category local service - */ - public void setAssetCategoryLocalService( - com.liferay.portlet.asset.service.AssetCategoryLocalService assetCategoryLocalService) { - this.assetCategoryLocalService = assetCategoryLocalService; - } - - /** - * Returns the asset category remote service. - * - * @return the asset category remote service - */ - public com.liferay.portlet.asset.service.AssetCategoryService getAssetCategoryService() { - return assetCategoryService; - } - - /** - * Sets the asset category remote service. - * - * @param assetCategoryService the asset category remote service - */ - public void setAssetCategoryService( - com.liferay.portlet.asset.service.AssetCategoryService assetCategoryService) { - this.assetCategoryService = assetCategoryService; - } - - /** - * Returns the asset category persistence. - * - * @return the asset category persistence - */ - public AssetCategoryPersistence getAssetCategoryPersistence() { - return assetCategoryPersistence; - } - - /** - * Sets the asset category persistence. - * - * @param assetCategoryPersistence the asset category persistence - */ - public void setAssetCategoryPersistence( - AssetCategoryPersistence assetCategoryPersistence) { - this.assetCategoryPersistence = assetCategoryPersistence; - } - - /** - * Returns the asset entry local service. - * - * @return the asset entry local service - */ - public com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService() { - return assetEntryLocalService; - } - - /** - * Sets the asset entry local service. - * - * @param assetEntryLocalService the asset entry local service - */ - public void setAssetEntryLocalService( - com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService) { - this.assetEntryLocalService = assetEntryLocalService; - } - - /** - * Returns the asset entry remote service. - * - * @return the asset entry remote service - */ - public com.liferay.portlet.asset.service.AssetEntryService getAssetEntryService() { - return assetEntryService; - } - - /** - * Sets the asset entry remote service. - * - * @param assetEntryService the asset entry remote service - */ - public void setAssetEntryService( - com.liferay.portlet.asset.service.AssetEntryService assetEntryService) { - this.assetEntryService = assetEntryService; - } - - /** - * Returns the asset entry persistence. - * - * @return the asset entry persistence - */ - public AssetEntryPersistence getAssetEntryPersistence() { - return assetEntryPersistence; - } - - /** - * Sets the asset entry persistence. - * - * @param assetEntryPersistence the asset entry persistence - */ - public void setAssetEntryPersistence( - AssetEntryPersistence assetEntryPersistence) { - this.assetEntryPersistence = assetEntryPersistence; - } - - /** - * Returns the asset vocabulary local service. - * - * @return the asset vocabulary local service - */ - public com.liferay.portlet.asset.service.AssetVocabularyLocalService getAssetVocabularyLocalService() { - return assetVocabularyLocalService; - } - - /** - * Sets the asset vocabulary local service. - * - * @param assetVocabularyLocalService the asset vocabulary local service - */ - public void setAssetVocabularyLocalService( - com.liferay.portlet.asset.service.AssetVocabularyLocalService assetVocabularyLocalService) { - this.assetVocabularyLocalService = assetVocabularyLocalService; - } - - /** - * Returns the asset vocabulary remote service. - * - * @return the asset vocabulary remote service - */ - public com.liferay.portlet.asset.service.AssetVocabularyService getAssetVocabularyService() { - return assetVocabularyService; - } - - /** - * Sets the asset vocabulary remote service. - * - * @param assetVocabularyService the asset vocabulary remote service - */ - public void setAssetVocabularyService( - com.liferay.portlet.asset.service.AssetVocabularyService assetVocabularyService) { - this.assetVocabularyService = assetVocabularyService; - } - - /** - * Returns the asset vocabulary persistence. - * - * @return the asset vocabulary persistence - */ - public AssetVocabularyPersistence getAssetVocabularyPersistence() { - return assetVocabularyPersistence; - } - - /** - * Sets the asset vocabulary persistence. - * - * @param assetVocabularyPersistence the asset vocabulary persistence - */ - public void setAssetVocabularyPersistence( - AssetVocabularyPersistence assetVocabularyPersistence) { - this.assetVocabularyPersistence = assetVocabularyPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.portosimport.model.BoDettPratica", - boDettPraticaLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.portosimport.model.BoDettPratica"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return BoDettPratica.class; - } - - protected String getModelClassName() { - return BoDettPratica.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = boDettPraticaPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - @BeanReference(type = com.liferay.portlet.asset.service.AssetCategoryLocalService.class) - protected com.liferay.portlet.asset.service.AssetCategoryLocalService assetCategoryLocalService; - @BeanReference(type = com.liferay.portlet.asset.service.AssetCategoryService.class) - protected com.liferay.portlet.asset.service.AssetCategoryService assetCategoryService; - @BeanReference(type = AssetCategoryPersistence.class) - protected AssetCategoryPersistence assetCategoryPersistence; - @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryLocalService.class) - protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService; - @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryService.class) - protected com.liferay.portlet.asset.service.AssetEntryService assetEntryService; - @BeanReference(type = AssetEntryPersistence.class) - protected AssetEntryPersistence assetEntryPersistence; - @BeanReference(type = com.liferay.portlet.asset.service.AssetVocabularyLocalService.class) - protected com.liferay.portlet.asset.service.AssetVocabularyLocalService assetVocabularyLocalService; - @BeanReference(type = com.liferay.portlet.asset.service.AssetVocabularyService.class) - protected com.liferay.portlet.asset.service.AssetVocabularyService assetVocabularyService; - @BeanReference(type = AssetVocabularyPersistence.class) - protected AssetVocabularyPersistence assetVocabularyPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private BoDettPraticaLocalServiceClpInvoker _clpInvoker = new BoDettPraticaLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoDettPraticaLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoDettPraticaLocalServiceClpInvoker.java deleted file mode 100644 index f26ea89a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoDettPraticaLocalServiceClpInvoker.java +++ /dev/null @@ -1,328 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoDettPraticaLocalServiceClpInvoker { - public BoDettPraticaLocalServiceClpInvoker() { - _methodName0 = "addBoDettPratica"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoDettPratica" - }; - - _methodName1 = "createBoDettPratica"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoDettPratica"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoDettPratica"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoDettPratica" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoDettPratica"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchBoDettPraticaByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchBoDettPraticaByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getBoDettPratica"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getBoDettPraticaByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getBoDettPraticaByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getBoDettPraticas"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getBoDettPraticasCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateBoDettPratica"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoDettPratica" - }; - - _methodName126 = "getBeanIdentifier"; - - _methodParameterTypes126 = new String[] { }; - - _methodName127 = "setBeanIdentifier"; - - _methodParameterTypes127 = new String[] { "java.lang.String" }; - - _methodName132 = "fetchByCodPraticaSuap"; - - _methodParameterTypes132 = new String[] { "java.lang.String" }; - - _methodName133 = "findByIntPraticaId"; - - _methodParameterTypes133 = new String[] { "long" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.addBoDettPratica((it.tref.liferay.portos.portosimport.model.BoDettPratica)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.createBoDettPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.deleteBoDettPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.deleteBoDettPratica((it.tref.liferay.portos.portosimport.model.BoDettPratica)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.fetchBoDettPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.fetchBoDettPraticaByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.fetchBoDettPraticaByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.getBoDettPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.getBoDettPraticaByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName16.equals(name) && - Arrays.deepEquals(_methodParameterTypes16, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.getBoDettPraticaByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName17.equals(name) && - Arrays.deepEquals(_methodParameterTypes17, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.getBoDettPraticas(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName18.equals(name) && - Arrays.deepEquals(_methodParameterTypes18, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.getBoDettPraticasCount(); - } - - if (_methodName19.equals(name) && - Arrays.deepEquals(_methodParameterTypes19, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.updateBoDettPratica((it.tref.liferay.portos.portosimport.model.BoDettPratica)arguments[0]); - } - - if (_methodName126.equals(name) && - Arrays.deepEquals(_methodParameterTypes126, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName127.equals(name) && - Arrays.deepEquals(_methodParameterTypes127, parameterTypes)) { - BoDettPraticaLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - if (_methodName132.equals(name) && - Arrays.deepEquals(_methodParameterTypes132, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.fetchByCodPraticaSuap((java.lang.String)arguments[0]); - } - - if (_methodName133.equals(name) && - Arrays.deepEquals(_methodParameterTypes133, parameterTypes)) { - return BoDettPraticaLocalServiceUtil.findByIntPraticaId(((Long)arguments[0]).longValue()); - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName126; - private String[] _methodParameterTypes126; - private String _methodName127; - private String[] _methodParameterTypes127; - private String _methodName132; - private String[] _methodParameterTypes132; - private String _methodName133; - private String[] _methodParameterTypes133; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoDocPraticaLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoDocPraticaLocalServiceBaseImpl.java deleted file mode 100644 index 348d21da..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoDocPraticaLocalServiceBaseImpl.java +++ /dev/null @@ -1,1343 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.portosimport.model.BoDocPratica; -import it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService; -import it.tref.liferay.portos.portosimport.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeTerritorioPersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the bo doc pratica local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.portosimport.service.impl.BoDocPraticaLocalServiceImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.impl.BoDocPraticaLocalServiceImpl - * @see it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalServiceUtil - * @generated - */ -public abstract class BoDocPraticaLocalServiceBaseImpl - extends BaseLocalServiceImpl implements BoDocPraticaLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalServiceUtil} to access the bo doc pratica local service. - */ - - /** - * Adds the bo doc pratica to the database. Also notifies the appropriate model listeners. - * - * @param boDocPratica the bo doc pratica - * @return the bo doc pratica that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoDocPratica addBoDocPratica(BoDocPratica boDocPratica) - throws SystemException { - boDocPratica.setNew(true); - - return boDocPraticaPersistence.update(boDocPratica); - } - - /** - * Creates a new bo doc pratica with the primary key. Does not add the bo doc pratica to the database. - * - * @param docPraticaId the primary key for the new bo doc pratica - * @return the new bo doc pratica - */ - @Override - public BoDocPratica createBoDocPratica(long docPraticaId) { - return boDocPraticaPersistence.create(docPraticaId); - } - - /** - * Deletes the bo doc pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param docPraticaId the primary key of the bo doc pratica - * @return the bo doc pratica that was removed - * @throws PortalException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoDocPratica deleteBoDocPratica(long docPraticaId) - throws PortalException, SystemException { - return boDocPraticaPersistence.remove(docPraticaId); - } - - /** - * Deletes the bo doc pratica from the database. Also notifies the appropriate model listeners. - * - * @param boDocPratica the bo doc pratica - * @return the bo doc pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoDocPratica deleteBoDocPratica(BoDocPratica boDocPratica) - throws SystemException { - return boDocPraticaPersistence.remove(boDocPratica); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(BoDocPratica.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return boDocPraticaPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return boDocPraticaPersistence.findWithDynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return boDocPraticaPersistence.findWithDynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return boDocPraticaPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return boDocPraticaPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public BoDocPratica fetchBoDocPratica(long docPraticaId) - throws SystemException { - return boDocPraticaPersistence.fetchByPrimaryKey(docPraticaId); - } - - /** - * Returns the bo doc pratica with the matching UUID and company. - * - * @param uuid the bo doc pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchBoDocPraticaByUuidAndCompanyId(String uuid, - long companyId) throws SystemException { - return boDocPraticaPersistence.fetchByUuid_C_First(uuid, companyId, null); - } - - /** - * Returns the bo doc pratica matching the UUID and group. - * - * @param uuid the bo doc pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchBoDocPraticaByUuidAndGroupId(String uuid, - long groupId) throws SystemException { - return boDocPraticaPersistence.fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the bo doc pratica with the primary key. - * - * @param docPraticaId the primary key of the bo doc pratica - * @return the bo doc pratica - * @throws PortalException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica getBoDocPratica(long docPraticaId) - throws PortalException, SystemException { - return boDocPraticaPersistence.findByPrimaryKey(docPraticaId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return boDocPraticaPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns the bo doc pratica with the matching UUID and company. - * - * @param uuid the bo doc pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo doc pratica - * @throws PortalException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica getBoDocPraticaByUuidAndCompanyId(String uuid, - long companyId) throws PortalException, SystemException { - return boDocPraticaPersistence.findByUuid_C_First(uuid, companyId, null); - } - - /** - * Returns the bo doc pratica matching the UUID and group. - * - * @param uuid the bo doc pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo doc pratica - * @throws PortalException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica getBoDocPraticaByUuidAndGroupId(String uuid, - long groupId) throws PortalException, SystemException { - return boDocPraticaPersistence.findByUUID_G(uuid, groupId); - } - - /** - * Returns a range of all the bo doc praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List getBoDocPraticas(int start, int end) - throws SystemException { - return boDocPraticaPersistence.findAll(start, end); - } - - /** - * Returns the number of bo doc praticas. - * - * @return the number of bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoDocPraticasCount() throws SystemException { - return boDocPraticaPersistence.countAll(); - } - - /** - * Updates the bo doc pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boDocPratica the bo doc pratica - * @return the bo doc pratica that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoDocPratica updateBoDocPratica(BoDocPratica boDocPratica) - throws SystemException { - return boDocPraticaPersistence.update(boDocPratica); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.portosimport.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.portosimport.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.portosimport.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.portosimport.model.BoDocPratica", - boDocPraticaLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.portosimport.model.BoDocPratica"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return BoDocPratica.class; - } - - protected String getModelClassName() { - return BoDocPratica.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = boDocPraticaPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private BoDocPraticaLocalServiceClpInvoker _clpInvoker = new BoDocPraticaLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoDocPraticaLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoDocPraticaLocalServiceClpInvoker.java deleted file mode 100644 index e11d4dce..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoDocPraticaLocalServiceClpInvoker.java +++ /dev/null @@ -1,306 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoDocPraticaLocalServiceClpInvoker { - public BoDocPraticaLocalServiceClpInvoker() { - _methodName0 = "addBoDocPratica"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoDocPratica" - }; - - _methodName1 = "createBoDocPratica"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoDocPratica"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoDocPratica"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoDocPratica" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoDocPratica"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchBoDocPraticaByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchBoDocPraticaByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getBoDocPratica"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getBoDocPraticaByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getBoDocPraticaByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getBoDocPraticas"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getBoDocPraticasCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateBoDocPratica"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoDocPratica" - }; - - _methodName108 = "getBeanIdentifier"; - - _methodParameterTypes108 = new String[] { }; - - _methodName109 = "setBeanIdentifier"; - - _methodParameterTypes109 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.addBoDocPratica((it.tref.liferay.portos.portosimport.model.BoDocPratica)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.createBoDocPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.deleteBoDocPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.deleteBoDocPratica((it.tref.liferay.portos.portosimport.model.BoDocPratica)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.fetchBoDocPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.fetchBoDocPraticaByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.fetchBoDocPraticaByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.getBoDocPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.getBoDocPraticaByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName16.equals(name) && - Arrays.deepEquals(_methodParameterTypes16, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.getBoDocPraticaByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName17.equals(name) && - Arrays.deepEquals(_methodParameterTypes17, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.getBoDocPraticas(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName18.equals(name) && - Arrays.deepEquals(_methodParameterTypes18, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.getBoDocPraticasCount(); - } - - if (_methodName19.equals(name) && - Arrays.deepEquals(_methodParameterTypes19, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.updateBoDocPratica((it.tref.liferay.portos.portosimport.model.BoDocPratica)arguments[0]); - } - - if (_methodName108.equals(name) && - Arrays.deepEquals(_methodParameterTypes108, parameterTypes)) { - return BoDocPraticaLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName109.equals(name) && - Arrays.deepEquals(_methodParameterTypes109, parameterTypes)) { - BoDocPraticaLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName108; - private String[] _methodParameterTypes108; - private String _methodName109; - private String[] _methodParameterTypes109; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoIntPraticaLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoIntPraticaLocalServiceBaseImpl.java deleted file mode 100644 index 144ebd74..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoIntPraticaLocalServiceBaseImpl.java +++ /dev/null @@ -1,1343 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.portosimport.model.BoIntPratica; -import it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService; -import it.tref.liferay.portos.portosimport.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeTerritorioPersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the bo int pratica local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.portosimport.service.impl.BoIntPraticaLocalServiceImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.impl.BoIntPraticaLocalServiceImpl - * @see it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalServiceUtil - * @generated - */ -public abstract class BoIntPraticaLocalServiceBaseImpl - extends BaseLocalServiceImpl implements BoIntPraticaLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalServiceUtil} to access the bo int pratica local service. - */ - - /** - * Adds the bo int pratica to the database. Also notifies the appropriate model listeners. - * - * @param boIntPratica the bo int pratica - * @return the bo int pratica that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoIntPratica addBoIntPratica(BoIntPratica boIntPratica) - throws SystemException { - boIntPratica.setNew(true); - - return boIntPraticaPersistence.update(boIntPratica); - } - - /** - * Creates a new bo int pratica with the primary key. Does not add the bo int pratica to the database. - * - * @param intPraticaId the primary key for the new bo int pratica - * @return the new bo int pratica - */ - @Override - public BoIntPratica createBoIntPratica(long intPraticaId) { - return boIntPraticaPersistence.create(intPraticaId); - } - - /** - * Deletes the bo int pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param intPraticaId the primary key of the bo int pratica - * @return the bo int pratica that was removed - * @throws PortalException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoIntPratica deleteBoIntPratica(long intPraticaId) - throws PortalException, SystemException { - return boIntPraticaPersistence.remove(intPraticaId); - } - - /** - * Deletes the bo int pratica from the database. Also notifies the appropriate model listeners. - * - * @param boIntPratica the bo int pratica - * @return the bo int pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoIntPratica deleteBoIntPratica(BoIntPratica boIntPratica) - throws SystemException { - return boIntPraticaPersistence.remove(boIntPratica); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(BoIntPratica.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return boIntPraticaPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return boIntPraticaPersistence.findWithDynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return boIntPraticaPersistence.findWithDynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return boIntPraticaPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return boIntPraticaPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public BoIntPratica fetchBoIntPratica(long intPraticaId) - throws SystemException { - return boIntPraticaPersistence.fetchByPrimaryKey(intPraticaId); - } - - /** - * Returns the bo int pratica with the matching UUID and company. - * - * @param uuid the bo int pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchBoIntPraticaByUuidAndCompanyId(String uuid, - long companyId) throws SystemException { - return boIntPraticaPersistence.fetchByUuid_C_First(uuid, companyId, null); - } - - /** - * Returns the bo int pratica matching the UUID and group. - * - * @param uuid the bo int pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchBoIntPraticaByUuidAndGroupId(String uuid, - long groupId) throws SystemException { - return boIntPraticaPersistence.fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the bo int pratica with the primary key. - * - * @param intPraticaId the primary key of the bo int pratica - * @return the bo int pratica - * @throws PortalException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica getBoIntPratica(long intPraticaId) - throws PortalException, SystemException { - return boIntPraticaPersistence.findByPrimaryKey(intPraticaId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return boIntPraticaPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns the bo int pratica with the matching UUID and company. - * - * @param uuid the bo int pratica's UUID - * @param companyId the primary key of the company - * @return the matching bo int pratica - * @throws PortalException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica getBoIntPraticaByUuidAndCompanyId(String uuid, - long companyId) throws PortalException, SystemException { - return boIntPraticaPersistence.findByUuid_C_First(uuid, companyId, null); - } - - /** - * Returns the bo int pratica matching the UUID and group. - * - * @param uuid the bo int pratica's UUID - * @param groupId the primary key of the group - * @return the matching bo int pratica - * @throws PortalException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica getBoIntPraticaByUuidAndGroupId(String uuid, - long groupId) throws PortalException, SystemException { - return boIntPraticaPersistence.findByUUID_G(uuid, groupId); - } - - /** - * Returns a range of all the bo int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List getBoIntPraticas(int start, int end) - throws SystemException { - return boIntPraticaPersistence.findAll(start, end); - } - - /** - * Returns the number of bo int praticas. - * - * @return the number of bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoIntPraticasCount() throws SystemException { - return boIntPraticaPersistence.countAll(); - } - - /** - * Updates the bo int pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boIntPratica the bo int pratica - * @return the bo int pratica that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoIntPratica updateBoIntPratica(BoIntPratica boIntPratica) - throws SystemException { - return boIntPraticaPersistence.update(boIntPratica); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.portosimport.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.portosimport.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.portosimport.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.portosimport.model.BoIntPratica", - boIntPraticaLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.portosimport.model.BoIntPratica"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return BoIntPratica.class; - } - - protected String getModelClassName() { - return BoIntPratica.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = boIntPraticaPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private BoIntPraticaLocalServiceClpInvoker _clpInvoker = new BoIntPraticaLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoIntPraticaLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoIntPraticaLocalServiceClpInvoker.java deleted file mode 100644 index 8992fbfa..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoIntPraticaLocalServiceClpInvoker.java +++ /dev/null @@ -1,317 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoIntPraticaLocalServiceClpInvoker { - public BoIntPraticaLocalServiceClpInvoker() { - _methodName0 = "addBoIntPratica"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoIntPratica" - }; - - _methodName1 = "createBoIntPratica"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoIntPratica"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoIntPratica"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoIntPratica" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoIntPratica"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchBoIntPraticaByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchBoIntPraticaByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getBoIntPratica"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getBoIntPraticaByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getBoIntPraticaByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getBoIntPraticas"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getBoIntPraticasCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateBoIntPratica"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoIntPratica" - }; - - _methodName108 = "getBeanIdentifier"; - - _methodParameterTypes108 = new String[] { }; - - _methodName109 = "setBeanIdentifier"; - - _methodParameterTypes109 = new String[] { "java.lang.String" }; - - _methodName114 = "fetchByIntPraticaId"; - - _methodParameterTypes114 = new String[] { "long" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.addBoIntPratica((it.tref.liferay.portos.portosimport.model.BoIntPratica)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.createBoIntPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.deleteBoIntPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.deleteBoIntPratica((it.tref.liferay.portos.portosimport.model.BoIntPratica)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.fetchBoIntPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.fetchBoIntPraticaByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.fetchBoIntPraticaByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.getBoIntPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.getBoIntPraticaByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName16.equals(name) && - Arrays.deepEquals(_methodParameterTypes16, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.getBoIntPraticaByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName17.equals(name) && - Arrays.deepEquals(_methodParameterTypes17, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.getBoIntPraticas(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName18.equals(name) && - Arrays.deepEquals(_methodParameterTypes18, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.getBoIntPraticasCount(); - } - - if (_methodName19.equals(name) && - Arrays.deepEquals(_methodParameterTypes19, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.updateBoIntPratica((it.tref.liferay.portos.portosimport.model.BoIntPratica)arguments[0]); - } - - if (_methodName108.equals(name) && - Arrays.deepEquals(_methodParameterTypes108, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName109.equals(name) && - Arrays.deepEquals(_methodParameterTypes109, parameterTypes)) { - BoIntPraticaLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - if (_methodName114.equals(name) && - Arrays.deepEquals(_methodParameterTypes114, parameterTypes)) { - return BoIntPraticaLocalServiceUtil.fetchByIntPraticaId(((Long)arguments[0]).longValue()); - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName108; - private String[] _methodParameterTypes108; - private String _methodName109; - private String[] _methodParameterTypes109; - private String _methodName114; - private String[] _methodParameterTypes114; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoProblemiPraticaLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoProblemiPraticaLocalServiceBaseImpl.java deleted file mode 100644 index 1b188fd3..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoProblemiPraticaLocalServiceBaseImpl.java +++ /dev/null @@ -1,1285 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.portosimport.model.BoProblemiPratica; -import it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService; -import it.tref.liferay.portos.portosimport.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeTerritorioPersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the bo problemi pratica local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.portosimport.service.impl.BoProblemiPraticaLocalServiceImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.impl.BoProblemiPraticaLocalServiceImpl - * @see it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalServiceUtil - * @generated - */ -public abstract class BoProblemiPraticaLocalServiceBaseImpl - extends BaseLocalServiceImpl implements BoProblemiPraticaLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalServiceUtil} to access the bo problemi pratica local service. - */ - - /** - * Adds the bo problemi pratica to the database. Also notifies the appropriate model listeners. - * - * @param boProblemiPratica the bo problemi pratica - * @return the bo problemi pratica that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoProblemiPratica addBoProblemiPratica( - BoProblemiPratica boProblemiPratica) throws SystemException { - boProblemiPratica.setNew(true); - - return boProblemiPraticaPersistence.update(boProblemiPratica); - } - - /** - * Creates a new bo problemi pratica with the primary key. Does not add the bo problemi pratica to the database. - * - * @param problemiPraticaId the primary key for the new bo problemi pratica - * @return the new bo problemi pratica - */ - @Override - public BoProblemiPratica createBoProblemiPratica(long problemiPraticaId) { - return boProblemiPraticaPersistence.create(problemiPraticaId); - } - - /** - * Deletes the bo problemi pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param problemiPraticaId the primary key of the bo problemi pratica - * @return the bo problemi pratica that was removed - * @throws PortalException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoProblemiPratica deleteBoProblemiPratica(long problemiPraticaId) - throws PortalException, SystemException { - return boProblemiPraticaPersistence.remove(problemiPraticaId); - } - - /** - * Deletes the bo problemi pratica from the database. Also notifies the appropriate model listeners. - * - * @param boProblemiPratica the bo problemi pratica - * @return the bo problemi pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoProblemiPratica deleteBoProblemiPratica( - BoProblemiPratica boProblemiPratica) throws SystemException { - return boProblemiPraticaPersistence.remove(boProblemiPratica); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(BoProblemiPratica.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return boProblemiPraticaPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return boProblemiPraticaPersistence.findWithDynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return boProblemiPraticaPersistence.findWithDynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return boProblemiPraticaPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return boProblemiPraticaPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public BoProblemiPratica fetchBoProblemiPratica(long problemiPraticaId) - throws SystemException { - return boProblemiPraticaPersistence.fetchByPrimaryKey(problemiPraticaId); - } - - /** - * Returns the bo problemi pratica with the primary key. - * - * @param problemiPraticaId the primary key of the bo problemi pratica - * @return the bo problemi pratica - * @throws PortalException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoProblemiPratica getBoProblemiPratica(long problemiPraticaId) - throws PortalException, SystemException { - return boProblemiPraticaPersistence.findByPrimaryKey(problemiPraticaId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return boProblemiPraticaPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns a range of all the bo problemi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @return the range of bo problemi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List getBoProblemiPraticas(int start, int end) - throws SystemException { - return boProblemiPraticaPersistence.findAll(start, end); - } - - /** - * Returns the number of bo problemi praticas. - * - * @return the number of bo problemi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoProblemiPraticasCount() throws SystemException { - return boProblemiPraticaPersistence.countAll(); - } - - /** - * Updates the bo problemi pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boProblemiPratica the bo problemi pratica - * @return the bo problemi pratica that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoProblemiPratica updateBoProblemiPratica( - BoProblemiPratica boProblemiPratica) throws SystemException { - return boProblemiPraticaPersistence.update(boProblemiPratica); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.portosimport.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.portosimport.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.portosimport.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.portosimport.model.BoProblemiPratica", - boProblemiPraticaLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.portosimport.model.BoProblemiPratica"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return BoProblemiPratica.class; - } - - protected String getModelClassName() { - return BoProblemiPratica.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = boProblemiPraticaPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private BoProblemiPraticaLocalServiceClpInvoker _clpInvoker = new BoProblemiPraticaLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoProblemiPraticaLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoProblemiPraticaLocalServiceClpInvoker.java deleted file mode 100644 index 4d14b47c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoProblemiPraticaLocalServiceClpInvoker.java +++ /dev/null @@ -1,258 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoProblemiPraticaLocalServiceClpInvoker { - public BoProblemiPraticaLocalServiceClpInvoker() { - _methodName0 = "addBoProblemiPratica"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoProblemiPratica" - }; - - _methodName1 = "createBoProblemiPratica"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoProblemiPratica"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoProblemiPratica"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoProblemiPratica" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoProblemiPratica"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getBoProblemiPratica"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getBoProblemiPraticas"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getBoProblemiPraticasCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateBoProblemiPratica"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoProblemiPratica" - }; - - _methodName104 = "getBeanIdentifier"; - - _methodParameterTypes104 = new String[] { }; - - _methodName105 = "setBeanIdentifier"; - - _methodParameterTypes105 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return BoProblemiPraticaLocalServiceUtil.addBoProblemiPratica((it.tref.liferay.portos.portosimport.model.BoProblemiPratica)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return BoProblemiPraticaLocalServiceUtil.createBoProblemiPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return BoProblemiPraticaLocalServiceUtil.deleteBoProblemiPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return BoProblemiPraticaLocalServiceUtil.deleteBoProblemiPratica((it.tref.liferay.portos.portosimport.model.BoProblemiPratica)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return BoProblemiPraticaLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return BoProblemiPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return BoProblemiPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return BoProblemiPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return BoProblemiPraticaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return BoProblemiPraticaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return BoProblemiPraticaLocalServiceUtil.fetchBoProblemiPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return BoProblemiPraticaLocalServiceUtil.getBoProblemiPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return BoProblemiPraticaLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return BoProblemiPraticaLocalServiceUtil.getBoProblemiPraticas(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return BoProblemiPraticaLocalServiceUtil.getBoProblemiPraticasCount(); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return BoProblemiPraticaLocalServiceUtil.updateBoProblemiPratica((it.tref.liferay.portos.portosimport.model.BoProblemiPratica)arguments[0]); - } - - if (_methodName104.equals(name) && - Arrays.deepEquals(_methodParameterTypes104, parameterTypes)) { - return BoProblemiPraticaLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName105.equals(name) && - Arrays.deepEquals(_methodParameterTypes105, parameterTypes)) { - BoProblemiPraticaLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName104; - private String[] _methodParameterTypes104; - private String _methodName105; - private String[] _methodParameterTypes105; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoRelLeggiPraticaLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoRelLeggiPraticaLocalServiceBaseImpl.java deleted file mode 100644 index f017a6b0..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoRelLeggiPraticaLocalServiceBaseImpl.java +++ /dev/null @@ -1,1289 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica; -import it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService; -import it.tref.liferay.portos.portosimport.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK; -import it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeTerritorioPersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the bo rel leggi pratica local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.portosimport.service.impl.BoRelLeggiPraticaLocalServiceImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.impl.BoRelLeggiPraticaLocalServiceImpl - * @see it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalServiceUtil - * @generated - */ -public abstract class BoRelLeggiPraticaLocalServiceBaseImpl - extends BaseLocalServiceImpl implements BoRelLeggiPraticaLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalServiceUtil} to access the bo rel leggi pratica local service. - */ - - /** - * Adds the bo rel leggi pratica to the database. Also notifies the appropriate model listeners. - * - * @param boRelLeggiPratica the bo rel leggi pratica - * @return the bo rel leggi pratica that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoRelLeggiPratica addBoRelLeggiPratica( - BoRelLeggiPratica boRelLeggiPratica) throws SystemException { - boRelLeggiPratica.setNew(true); - - return boRelLeggiPraticaPersistence.update(boRelLeggiPratica); - } - - /** - * Creates a new bo rel leggi pratica with the primary key. Does not add the bo rel leggi pratica to the database. - * - * @param boRelLeggiPraticaPK the primary key for the new bo rel leggi pratica - * @return the new bo rel leggi pratica - */ - @Override - public BoRelLeggiPratica createBoRelLeggiPratica( - BoRelLeggiPraticaPK boRelLeggiPraticaPK) { - return boRelLeggiPraticaPersistence.create(boRelLeggiPraticaPK); - } - - /** - * Deletes the bo rel leggi pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param boRelLeggiPraticaPK the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica that was removed - * @throws PortalException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoRelLeggiPratica deleteBoRelLeggiPratica( - BoRelLeggiPraticaPK boRelLeggiPraticaPK) - throws PortalException, SystemException { - return boRelLeggiPraticaPersistence.remove(boRelLeggiPraticaPK); - } - - /** - * Deletes the bo rel leggi pratica from the database. Also notifies the appropriate model listeners. - * - * @param boRelLeggiPratica the bo rel leggi pratica - * @return the bo rel leggi pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoRelLeggiPratica deleteBoRelLeggiPratica( - BoRelLeggiPratica boRelLeggiPratica) throws SystemException { - return boRelLeggiPraticaPersistence.remove(boRelLeggiPratica); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(BoRelLeggiPratica.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return boRelLeggiPraticaPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return boRelLeggiPraticaPersistence.findWithDynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return boRelLeggiPraticaPersistence.findWithDynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return boRelLeggiPraticaPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return boRelLeggiPraticaPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public BoRelLeggiPratica fetchBoRelLeggiPratica( - BoRelLeggiPraticaPK boRelLeggiPraticaPK) throws SystemException { - return boRelLeggiPraticaPersistence.fetchByPrimaryKey(boRelLeggiPraticaPK); - } - - /** - * Returns the bo rel leggi pratica with the primary key. - * - * @param boRelLeggiPraticaPK the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica - * @throws PortalException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoRelLeggiPratica getBoRelLeggiPratica( - BoRelLeggiPraticaPK boRelLeggiPraticaPK) - throws PortalException, SystemException { - return boRelLeggiPraticaPersistence.findByPrimaryKey(boRelLeggiPraticaPK); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return boRelLeggiPraticaPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns a range of all the bo rel leggi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @return the range of bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List getBoRelLeggiPraticas(int start, int end) - throws SystemException { - return boRelLeggiPraticaPersistence.findAll(start, end); - } - - /** - * Returns the number of bo rel leggi praticas. - * - * @return the number of bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoRelLeggiPraticasCount() throws SystemException { - return boRelLeggiPraticaPersistence.countAll(); - } - - /** - * Updates the bo rel leggi pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boRelLeggiPratica the bo rel leggi pratica - * @return the bo rel leggi pratica that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoRelLeggiPratica updateBoRelLeggiPratica( - BoRelLeggiPratica boRelLeggiPratica) throws SystemException { - return boRelLeggiPraticaPersistence.update(boRelLeggiPratica); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.portosimport.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.portosimport.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.portosimport.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica", - boRelLeggiPraticaLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return BoRelLeggiPratica.class; - } - - protected String getModelClassName() { - return BoRelLeggiPratica.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = boRelLeggiPraticaPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private BoRelLeggiPraticaLocalServiceClpInvoker _clpInvoker = new BoRelLeggiPraticaLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoRelLeggiPraticaLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoRelLeggiPraticaLocalServiceClpInvoker.java deleted file mode 100644 index 5b32da36..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoRelLeggiPraticaLocalServiceClpInvoker.java +++ /dev/null @@ -1,277 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoRelLeggiPraticaLocalServiceClpInvoker { - public BoRelLeggiPraticaLocalServiceClpInvoker() { - _methodName0 = "addBoRelLeggiPratica"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica" - }; - - _methodName1 = "createBoRelLeggiPratica"; - - _methodParameterTypes1 = new String[] { - "it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK" - }; - - _methodName2 = "deleteBoRelLeggiPratica"; - - _methodParameterTypes2 = new String[] { - "it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK" - }; - - _methodName3 = "deleteBoRelLeggiPratica"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoRelLeggiPratica"; - - _methodParameterTypes10 = new String[] { - "it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK" - }; - - _methodName11 = "getBoRelLeggiPratica"; - - _methodParameterTypes11 = new String[] { - "it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK" - }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getBoRelLeggiPraticas"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getBoRelLeggiPraticasCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateBoRelLeggiPratica"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica" - }; - - _methodName104 = "getBeanIdentifier"; - - _methodParameterTypes104 = new String[] { }; - - _methodName105 = "setBeanIdentifier"; - - _methodParameterTypes105 = new String[] { "java.lang.String" }; - - _methodName110 = "findByIntPraticaId"; - - _methodParameterTypes110 = new String[] { "long" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return BoRelLeggiPraticaLocalServiceUtil.addBoRelLeggiPratica((it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return BoRelLeggiPraticaLocalServiceUtil.createBoRelLeggiPratica((it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK)arguments[0]); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return BoRelLeggiPraticaLocalServiceUtil.deleteBoRelLeggiPratica((it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK)arguments[0]); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return BoRelLeggiPraticaLocalServiceUtil.deleteBoRelLeggiPratica((it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return BoRelLeggiPraticaLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return BoRelLeggiPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return BoRelLeggiPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return BoRelLeggiPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return BoRelLeggiPraticaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return BoRelLeggiPraticaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return BoRelLeggiPraticaLocalServiceUtil.fetchBoRelLeggiPratica((it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK)arguments[0]); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return BoRelLeggiPraticaLocalServiceUtil.getBoRelLeggiPratica((it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPK)arguments[0]); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return BoRelLeggiPraticaLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return BoRelLeggiPraticaLocalServiceUtil.getBoRelLeggiPraticas(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return BoRelLeggiPraticaLocalServiceUtil.getBoRelLeggiPraticasCount(); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return BoRelLeggiPraticaLocalServiceUtil.updateBoRelLeggiPratica((it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica)arguments[0]); - } - - if (_methodName104.equals(name) && - Arrays.deepEquals(_methodParameterTypes104, parameterTypes)) { - return BoRelLeggiPraticaLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName105.equals(name) && - Arrays.deepEquals(_methodParameterTypes105, parameterTypes)) { - BoRelLeggiPraticaLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - if (_methodName110.equals(name) && - Arrays.deepEquals(_methodParameterTypes110, parameterTypes)) { - return BoRelLeggiPraticaLocalServiceUtil.findByIntPraticaId(((Long)arguments[0]).longValue()); - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName104; - private String[] _methodParameterTypes104; - private String _methodName105; - private String[] _methodParameterTypes105; - private String _methodName110; - private String[] _methodParameterTypes110; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoSistemaCostruttivoLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoSistemaCostruttivoLocalServiceBaseImpl.java deleted file mode 100644 index 06e70791..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoSistemaCostruttivoLocalServiceBaseImpl.java +++ /dev/null @@ -1,1346 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo; -import it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService; -import it.tref.liferay.portos.portosimport.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeTerritorioPersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the bo sistema costruttivo local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.portosimport.service.impl.BoSistemaCostruttivoLocalServiceImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.impl.BoSistemaCostruttivoLocalServiceImpl - * @see it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalServiceUtil - * @generated - */ -public abstract class BoSistemaCostruttivoLocalServiceBaseImpl - extends BaseLocalServiceImpl implements BoSistemaCostruttivoLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalServiceUtil} to access the bo sistema costruttivo local service. - */ - - /** - * Adds the bo sistema costruttivo to the database. Also notifies the appropriate model listeners. - * - * @param boSistemaCostruttivo the bo sistema costruttivo - * @return the bo sistema costruttivo that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoSistemaCostruttivo addBoSistemaCostruttivo( - BoSistemaCostruttivo boSistemaCostruttivo) throws SystemException { - boSistemaCostruttivo.setNew(true); - - return boSistemaCostruttivoPersistence.update(boSistemaCostruttivo); - } - - /** - * Creates a new bo sistema costruttivo with the primary key. Does not add the bo sistema costruttivo to the database. - * - * @param sistemaCostruttivoId the primary key for the new bo sistema costruttivo - * @return the new bo sistema costruttivo - */ - @Override - public BoSistemaCostruttivo createBoSistemaCostruttivo( - long sistemaCostruttivoId) { - return boSistemaCostruttivoPersistence.create(sistemaCostruttivoId); - } - - /** - * Deletes the bo sistema costruttivo with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param sistemaCostruttivoId the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo that was removed - * @throws PortalException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoSistemaCostruttivo deleteBoSistemaCostruttivo( - long sistemaCostruttivoId) throws PortalException, SystemException { - return boSistemaCostruttivoPersistence.remove(sistemaCostruttivoId); - } - - /** - * Deletes the bo sistema costruttivo from the database. Also notifies the appropriate model listeners. - * - * @param boSistemaCostruttivo the bo sistema costruttivo - * @return the bo sistema costruttivo that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoSistemaCostruttivo deleteBoSistemaCostruttivo( - BoSistemaCostruttivo boSistemaCostruttivo) throws SystemException { - return boSistemaCostruttivoPersistence.remove(boSistemaCostruttivo); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(BoSistemaCostruttivo.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return boSistemaCostruttivoPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return boSistemaCostruttivoPersistence.findWithDynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return boSistemaCostruttivoPersistence.findWithDynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return boSistemaCostruttivoPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return boSistemaCostruttivoPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public BoSistemaCostruttivo fetchBoSistemaCostruttivo( - long sistemaCostruttivoId) throws SystemException { - return boSistemaCostruttivoPersistence.fetchByPrimaryKey(sistemaCostruttivoId); - } - - /** - * Returns the bo sistema costruttivo with the matching UUID and company. - * - * @param uuid the bo sistema costruttivo's UUID - * @param companyId the primary key of the company - * @return the matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo fetchBoSistemaCostruttivoByUuidAndCompanyId( - String uuid, long companyId) throws SystemException { - return boSistemaCostruttivoPersistence.fetchByUuid_C_First(uuid, - companyId, null); - } - - /** - * Returns the bo sistema costruttivo matching the UUID and group. - * - * @param uuid the bo sistema costruttivo's UUID - * @param groupId the primary key of the group - * @return the matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo fetchBoSistemaCostruttivoByUuidAndGroupId( - String uuid, long groupId) throws SystemException { - return boSistemaCostruttivoPersistence.fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the bo sistema costruttivo with the primary key. - * - * @param sistemaCostruttivoId the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo - * @throws PortalException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo getBoSistemaCostruttivo( - long sistemaCostruttivoId) throws PortalException, SystemException { - return boSistemaCostruttivoPersistence.findByPrimaryKey(sistemaCostruttivoId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return boSistemaCostruttivoPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns the bo sistema costruttivo with the matching UUID and company. - * - * @param uuid the bo sistema costruttivo's UUID - * @param companyId the primary key of the company - * @return the matching bo sistema costruttivo - * @throws PortalException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo getBoSistemaCostruttivoByUuidAndCompanyId( - String uuid, long companyId) throws PortalException, SystemException { - return boSistemaCostruttivoPersistence.findByUuid_C_First(uuid, - companyId, null); - } - - /** - * Returns the bo sistema costruttivo matching the UUID and group. - * - * @param uuid the bo sistema costruttivo's UUID - * @param groupId the primary key of the group - * @return the matching bo sistema costruttivo - * @throws PortalException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo getBoSistemaCostruttivoByUuidAndGroupId( - String uuid, long groupId) throws PortalException, SystemException { - return boSistemaCostruttivoPersistence.findByUUID_G(uuid, groupId); - } - - /** - * Returns a range of all the bo sistema costruttivos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public List getBoSistemaCostruttivos(int start, - int end) throws SystemException { - return boSistemaCostruttivoPersistence.findAll(start, end); - } - - /** - * Returns the number of bo sistema costruttivos. - * - * @return the number of bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoSistemaCostruttivosCount() throws SystemException { - return boSistemaCostruttivoPersistence.countAll(); - } - - /** - * Updates the bo sistema costruttivo in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boSistemaCostruttivo the bo sistema costruttivo - * @return the bo sistema costruttivo that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoSistemaCostruttivo updateBoSistemaCostruttivo( - BoSistemaCostruttivo boSistemaCostruttivo) throws SystemException { - return boSistemaCostruttivoPersistence.update(boSistemaCostruttivo); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.portosimport.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.portosimport.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.portosimport.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo", - boSistemaCostruttivoLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return BoSistemaCostruttivo.class; - } - - protected String getModelClassName() { - return BoSistemaCostruttivo.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = boSistemaCostruttivoPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private BoSistemaCostruttivoLocalServiceClpInvoker _clpInvoker = new BoSistemaCostruttivoLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoSistemaCostruttivoLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoSistemaCostruttivoLocalServiceClpInvoker.java deleted file mode 100644 index 0b1d8453..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoSistemaCostruttivoLocalServiceClpInvoker.java +++ /dev/null @@ -1,317 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoSistemaCostruttivoLocalServiceClpInvoker { - public BoSistemaCostruttivoLocalServiceClpInvoker() { - _methodName0 = "addBoSistemaCostruttivo"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo" - }; - - _methodName1 = "createBoSistemaCostruttivo"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoSistemaCostruttivo"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoSistemaCostruttivo"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoSistemaCostruttivo"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchBoSistemaCostruttivoByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchBoSistemaCostruttivoByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getBoSistemaCostruttivo"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getBoSistemaCostruttivoByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getBoSistemaCostruttivoByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getBoSistemaCostruttivos"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getBoSistemaCostruttivosCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateBoSistemaCostruttivo"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo" - }; - - _methodName108 = "getBeanIdentifier"; - - _methodParameterTypes108 = new String[] { }; - - _methodName109 = "setBeanIdentifier"; - - _methodParameterTypes109 = new String[] { "java.lang.String" }; - - _methodName114 = "findByC_G_BoIntPratica"; - - _methodParameterTypes114 = new String[] { "long" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.addBoSistemaCostruttivo((it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.createBoSistemaCostruttivo(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.deleteBoSistemaCostruttivo(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.deleteBoSistemaCostruttivo((it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.fetchBoSistemaCostruttivo(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.fetchBoSistemaCostruttivoByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.fetchBoSistemaCostruttivoByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.getBoSistemaCostruttivo(((Long)arguments[0]).longValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.getBoSistemaCostruttivoByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName16.equals(name) && - Arrays.deepEquals(_methodParameterTypes16, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.getBoSistemaCostruttivoByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName17.equals(name) && - Arrays.deepEquals(_methodParameterTypes17, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.getBoSistemaCostruttivos(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName18.equals(name) && - Arrays.deepEquals(_methodParameterTypes18, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.getBoSistemaCostruttivosCount(); - } - - if (_methodName19.equals(name) && - Arrays.deepEquals(_methodParameterTypes19, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.updateBoSistemaCostruttivo((it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo)arguments[0]); - } - - if (_methodName108.equals(name) && - Arrays.deepEquals(_methodParameterTypes108, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName109.equals(name) && - Arrays.deepEquals(_methodParameterTypes109, parameterTypes)) { - BoSistemaCostruttivoLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - if (_methodName114.equals(name) && - Arrays.deepEquals(_methodParameterTypes114, parameterTypes)) { - return BoSistemaCostruttivoLocalServiceUtil.findByC_G_BoIntPratica(((Long)arguments[0]).longValue()); - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName108; - private String[] _methodParameterTypes108; - private String _methodName109; - private String[] _methodParameterTypes109; - private String _methodName114; - private String[] _methodParameterTypes114; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoSoggettoLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoSoggettoLocalServiceBaseImpl.java deleted file mode 100644 index c7db94c3..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoSoggettoLocalServiceBaseImpl.java +++ /dev/null @@ -1,1343 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.portosimport.model.BoSoggetto; -import it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService; -import it.tref.liferay.portos.portosimport.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeTerritorioPersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the bo soggetto local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.portosimport.service.impl.BoSoggettoLocalServiceImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.impl.BoSoggettoLocalServiceImpl - * @see it.tref.liferay.portos.portosimport.service.BoSoggettoLocalServiceUtil - * @generated - */ -public abstract class BoSoggettoLocalServiceBaseImpl - extends BaseLocalServiceImpl implements BoSoggettoLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.portosimport.service.BoSoggettoLocalServiceUtil} to access the bo soggetto local service. - */ - - /** - * Adds the bo soggetto to the database. Also notifies the appropriate model listeners. - * - * @param boSoggetto the bo soggetto - * @return the bo soggetto that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoSoggetto addBoSoggetto(BoSoggetto boSoggetto) - throws SystemException { - boSoggetto.setNew(true); - - return boSoggettoPersistence.update(boSoggetto); - } - - /** - * Creates a new bo soggetto with the primary key. Does not add the bo soggetto to the database. - * - * @param soggettoId the primary key for the new bo soggetto - * @return the new bo soggetto - */ - @Override - public BoSoggetto createBoSoggetto(long soggettoId) { - return boSoggettoPersistence.create(soggettoId); - } - - /** - * Deletes the bo soggetto with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param soggettoId the primary key of the bo soggetto - * @return the bo soggetto that was removed - * @throws PortalException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoSoggetto deleteBoSoggetto(long soggettoId) - throws PortalException, SystemException { - return boSoggettoPersistence.remove(soggettoId); - } - - /** - * Deletes the bo soggetto from the database. Also notifies the appropriate model listeners. - * - * @param boSoggetto the bo soggetto - * @return the bo soggetto that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoSoggetto deleteBoSoggetto(BoSoggetto boSoggetto) - throws SystemException { - return boSoggettoPersistence.remove(boSoggetto); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(BoSoggetto.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return boSoggettoPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return boSoggettoPersistence.findWithDynamicQuery(dynamicQuery, start, - end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return boSoggettoPersistence.findWithDynamicQuery(dynamicQuery, start, - end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return boSoggettoPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return boSoggettoPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public BoSoggetto fetchBoSoggetto(long soggettoId) - throws SystemException { - return boSoggettoPersistence.fetchByPrimaryKey(soggettoId); - } - - /** - * Returns the bo soggetto with the matching UUID and company. - * - * @param uuid the bo soggetto's UUID - * @param companyId the primary key of the company - * @return the matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchBoSoggettoByUuidAndCompanyId(String uuid, - long companyId) throws SystemException { - return boSoggettoPersistence.fetchByUuid_C_First(uuid, companyId, null); - } - - /** - * Returns the bo soggetto matching the UUID and group. - * - * @param uuid the bo soggetto's UUID - * @param groupId the primary key of the group - * @return the matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchBoSoggettoByUuidAndGroupId(String uuid, long groupId) - throws SystemException { - return boSoggettoPersistence.fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the bo soggetto with the primary key. - * - * @param soggettoId the primary key of the bo soggetto - * @return the bo soggetto - * @throws PortalException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto getBoSoggetto(long soggettoId) - throws PortalException, SystemException { - return boSoggettoPersistence.findByPrimaryKey(soggettoId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return boSoggettoPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns the bo soggetto with the matching UUID and company. - * - * @param uuid the bo soggetto's UUID - * @param companyId the primary key of the company - * @return the matching bo soggetto - * @throws PortalException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto getBoSoggettoByUuidAndCompanyId(String uuid, - long companyId) throws PortalException, SystemException { - return boSoggettoPersistence.findByUuid_C_First(uuid, companyId, null); - } - - /** - * Returns the bo soggetto matching the UUID and group. - * - * @param uuid the bo soggetto's UUID - * @param groupId the primary key of the group - * @return the matching bo soggetto - * @throws PortalException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto getBoSoggettoByUuidAndGroupId(String uuid, long groupId) - throws PortalException, SystemException { - return boSoggettoPersistence.findByUUID_G(uuid, groupId); - } - - /** - * Returns a range of all the bo soggettos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List getBoSoggettos(int start, int end) - throws SystemException { - return boSoggettoPersistence.findAll(start, end); - } - - /** - * Returns the number of bo soggettos. - * - * @return the number of bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoSoggettosCount() throws SystemException { - return boSoggettoPersistence.countAll(); - } - - /** - * Updates the bo soggetto in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boSoggetto the bo soggetto - * @return the bo soggetto that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoSoggetto updateBoSoggetto(BoSoggetto boSoggetto) - throws SystemException { - return boSoggettoPersistence.update(boSoggetto); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.portosimport.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.portosimport.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.portosimport.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.portosimport.model.BoSoggetto", - boSoggettoLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.portosimport.model.BoSoggetto"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return BoSoggetto.class; - } - - protected String getModelClassName() { - return BoSoggetto.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = boSoggettoPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private BoSoggettoLocalServiceClpInvoker _clpInvoker = new BoSoggettoLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoSoggettoLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoSoggettoLocalServiceClpInvoker.java deleted file mode 100644 index 41fff395..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoSoggettoLocalServiceClpInvoker.java +++ /dev/null @@ -1,306 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import it.tref.liferay.portos.portosimport.service.BoSoggettoLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoSoggettoLocalServiceClpInvoker { - public BoSoggettoLocalServiceClpInvoker() { - _methodName0 = "addBoSoggetto"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoSoggetto" - }; - - _methodName1 = "createBoSoggetto"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoSoggetto"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoSoggetto"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoSoggetto" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoSoggetto"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchBoSoggettoByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchBoSoggettoByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getBoSoggetto"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getBoSoggettoByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getBoSoggettoByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getBoSoggettos"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getBoSoggettosCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateBoSoggetto"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoSoggetto" - }; - - _methodName108 = "getBeanIdentifier"; - - _methodParameterTypes108 = new String[] { }; - - _methodName109 = "setBeanIdentifier"; - - _methodParameterTypes109 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return BoSoggettoLocalServiceUtil.addBoSoggetto((it.tref.liferay.portos.portosimport.model.BoSoggetto)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return BoSoggettoLocalServiceUtil.createBoSoggetto(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return BoSoggettoLocalServiceUtil.deleteBoSoggetto(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return BoSoggettoLocalServiceUtil.deleteBoSoggetto((it.tref.liferay.portos.portosimport.model.BoSoggetto)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return BoSoggettoLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return BoSoggettoLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return BoSoggettoLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return BoSoggettoLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return BoSoggettoLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return BoSoggettoLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return BoSoggettoLocalServiceUtil.fetchBoSoggetto(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return BoSoggettoLocalServiceUtil.fetchBoSoggettoByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return BoSoggettoLocalServiceUtil.fetchBoSoggettoByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return BoSoggettoLocalServiceUtil.getBoSoggetto(((Long)arguments[0]).longValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return BoSoggettoLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return BoSoggettoLocalServiceUtil.getBoSoggettoByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName16.equals(name) && - Arrays.deepEquals(_methodParameterTypes16, parameterTypes)) { - return BoSoggettoLocalServiceUtil.getBoSoggettoByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName17.equals(name) && - Arrays.deepEquals(_methodParameterTypes17, parameterTypes)) { - return BoSoggettoLocalServiceUtil.getBoSoggettos(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName18.equals(name) && - Arrays.deepEquals(_methodParameterTypes18, parameterTypes)) { - return BoSoggettoLocalServiceUtil.getBoSoggettosCount(); - } - - if (_methodName19.equals(name) && - Arrays.deepEquals(_methodParameterTypes19, parameterTypes)) { - return BoSoggettoLocalServiceUtil.updateBoSoggetto((it.tref.liferay.portos.portosimport.model.BoSoggetto)arguments[0]); - } - - if (_methodName108.equals(name) && - Arrays.deepEquals(_methodParameterTypes108, parameterTypes)) { - return BoSoggettoLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName109.equals(name) && - Arrays.deepEquals(_methodParameterTypes109, parameterTypes)) { - BoSoggettoLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName108; - private String[] _methodParameterTypes108; - private String _methodName109; - private String[] _methodParameterTypes109; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoSorteggioLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoSorteggioLocalServiceBaseImpl.java deleted file mode 100644 index 82f2cc16..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoSorteggioLocalServiceBaseImpl.java +++ /dev/null @@ -1,1343 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.portosimport.model.BoSorteggio; -import it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService; -import it.tref.liferay.portos.portosimport.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeTerritorioPersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the bo sorteggio local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.portosimport.service.impl.BoSorteggioLocalServiceImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.impl.BoSorteggioLocalServiceImpl - * @see it.tref.liferay.portos.portosimport.service.BoSorteggioLocalServiceUtil - * @generated - */ -public abstract class BoSorteggioLocalServiceBaseImpl - extends BaseLocalServiceImpl implements BoSorteggioLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.portosimport.service.BoSorteggioLocalServiceUtil} to access the bo sorteggio local service. - */ - - /** - * Adds the bo sorteggio to the database. Also notifies the appropriate model listeners. - * - * @param boSorteggio the bo sorteggio - * @return the bo sorteggio that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoSorteggio addBoSorteggio(BoSorteggio boSorteggio) - throws SystemException { - boSorteggio.setNew(true); - - return boSorteggioPersistence.update(boSorteggio); - } - - /** - * Creates a new bo sorteggio with the primary key. Does not add the bo sorteggio to the database. - * - * @param sorteggioId the primary key for the new bo sorteggio - * @return the new bo sorteggio - */ - @Override - public BoSorteggio createBoSorteggio(long sorteggioId) { - return boSorteggioPersistence.create(sorteggioId); - } - - /** - * Deletes the bo sorteggio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param sorteggioId the primary key of the bo sorteggio - * @return the bo sorteggio that was removed - * @throws PortalException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoSorteggio deleteBoSorteggio(long sorteggioId) - throws PortalException, SystemException { - return boSorteggioPersistence.remove(sorteggioId); - } - - /** - * Deletes the bo sorteggio from the database. Also notifies the appropriate model listeners. - * - * @param boSorteggio the bo sorteggio - * @return the bo sorteggio that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoSorteggio deleteBoSorteggio(BoSorteggio boSorteggio) - throws SystemException { - return boSorteggioPersistence.remove(boSorteggio); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(BoSorteggio.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return boSorteggioPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return boSorteggioPersistence.findWithDynamicQuery(dynamicQuery, start, - end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return boSorteggioPersistence.findWithDynamicQuery(dynamicQuery, start, - end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return boSorteggioPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return boSorteggioPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public BoSorteggio fetchBoSorteggio(long sorteggioId) - throws SystemException { - return boSorteggioPersistence.fetchByPrimaryKey(sorteggioId); - } - - /** - * Returns the bo sorteggio with the matching UUID and company. - * - * @param uuid the bo sorteggio's UUID - * @param companyId the primary key of the company - * @return the matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio fetchBoSorteggioByUuidAndCompanyId(String uuid, - long companyId) throws SystemException { - return boSorteggioPersistence.fetchByUuid_C_First(uuid, companyId, null); - } - - /** - * Returns the bo sorteggio matching the UUID and group. - * - * @param uuid the bo sorteggio's UUID - * @param groupId the primary key of the group - * @return the matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio fetchBoSorteggioByUuidAndGroupId(String uuid, - long groupId) throws SystemException { - return boSorteggioPersistence.fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the bo sorteggio with the primary key. - * - * @param sorteggioId the primary key of the bo sorteggio - * @return the bo sorteggio - * @throws PortalException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio getBoSorteggio(long sorteggioId) - throws PortalException, SystemException { - return boSorteggioPersistence.findByPrimaryKey(sorteggioId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return boSorteggioPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns the bo sorteggio with the matching UUID and company. - * - * @param uuid the bo sorteggio's UUID - * @param companyId the primary key of the company - * @return the matching bo sorteggio - * @throws PortalException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio getBoSorteggioByUuidAndCompanyId(String uuid, - long companyId) throws PortalException, SystemException { - return boSorteggioPersistence.findByUuid_C_First(uuid, companyId, null); - } - - /** - * Returns the bo sorteggio matching the UUID and group. - * - * @param uuid the bo sorteggio's UUID - * @param groupId the primary key of the group - * @return the matching bo sorteggio - * @throws PortalException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio getBoSorteggioByUuidAndGroupId(String uuid, long groupId) - throws PortalException, SystemException { - return boSorteggioPersistence.findByUUID_G(uuid, groupId); - } - - /** - * Returns a range of all the bo sorteggios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public List getBoSorteggios(int start, int end) - throws SystemException { - return boSorteggioPersistence.findAll(start, end); - } - - /** - * Returns the number of bo sorteggios. - * - * @return the number of bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoSorteggiosCount() throws SystemException { - return boSorteggioPersistence.countAll(); - } - - /** - * Updates the bo sorteggio in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boSorteggio the bo sorteggio - * @return the bo sorteggio that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoSorteggio updateBoSorteggio(BoSorteggio boSorteggio) - throws SystemException { - return boSorteggioPersistence.update(boSorteggio); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.portosimport.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.portosimport.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.portosimport.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.portosimport.model.BoSorteggio", - boSorteggioLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.portosimport.model.BoSorteggio"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return BoSorteggio.class; - } - - protected String getModelClassName() { - return BoSorteggio.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = boSorteggioPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private BoSorteggioLocalServiceClpInvoker _clpInvoker = new BoSorteggioLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoSorteggioLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoSorteggioLocalServiceClpInvoker.java deleted file mode 100644 index afffd20d..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoSorteggioLocalServiceClpInvoker.java +++ /dev/null @@ -1,306 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import it.tref.liferay.portos.portosimport.service.BoSorteggioLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoSorteggioLocalServiceClpInvoker { - public BoSorteggioLocalServiceClpInvoker() { - _methodName0 = "addBoSorteggio"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoSorteggio" - }; - - _methodName1 = "createBoSorteggio"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoSorteggio"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoSorteggio"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoSorteggio" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoSorteggio"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchBoSorteggioByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchBoSorteggioByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getBoSorteggio"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getBoSorteggioByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getBoSorteggioByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getBoSorteggios"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getBoSorteggiosCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateBoSorteggio"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoSorteggio" - }; - - _methodName108 = "getBeanIdentifier"; - - _methodParameterTypes108 = new String[] { }; - - _methodName109 = "setBeanIdentifier"; - - _methodParameterTypes109 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return BoSorteggioLocalServiceUtil.addBoSorteggio((it.tref.liferay.portos.portosimport.model.BoSorteggio)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return BoSorteggioLocalServiceUtil.createBoSorteggio(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return BoSorteggioLocalServiceUtil.deleteBoSorteggio(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return BoSorteggioLocalServiceUtil.deleteBoSorteggio((it.tref.liferay.portos.portosimport.model.BoSorteggio)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return BoSorteggioLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return BoSorteggioLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return BoSorteggioLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return BoSorteggioLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return BoSorteggioLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return BoSorteggioLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return BoSorteggioLocalServiceUtil.fetchBoSorteggio(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return BoSorteggioLocalServiceUtil.fetchBoSorteggioByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return BoSorteggioLocalServiceUtil.fetchBoSorteggioByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return BoSorteggioLocalServiceUtil.getBoSorteggio(((Long)arguments[0]).longValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return BoSorteggioLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return BoSorteggioLocalServiceUtil.getBoSorteggioByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName16.equals(name) && - Arrays.deepEquals(_methodParameterTypes16, parameterTypes)) { - return BoSorteggioLocalServiceUtil.getBoSorteggioByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName17.equals(name) && - Arrays.deepEquals(_methodParameterTypes17, parameterTypes)) { - return BoSorteggioLocalServiceUtil.getBoSorteggios(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName18.equals(name) && - Arrays.deepEquals(_methodParameterTypes18, parameterTypes)) { - return BoSorteggioLocalServiceUtil.getBoSorteggiosCount(); - } - - if (_methodName19.equals(name) && - Arrays.deepEquals(_methodParameterTypes19, parameterTypes)) { - return BoSorteggioLocalServiceUtil.updateBoSorteggio((it.tref.liferay.portos.portosimport.model.BoSorteggio)arguments[0]); - } - - if (_methodName108.equals(name) && - Arrays.deepEquals(_methodParameterTypes108, parameterTypes)) { - return BoSorteggioLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName109.equals(name) && - Arrays.deepEquals(_methodParameterTypes109, parameterTypes)) { - BoSorteggioLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName108; - private String[] _methodParameterTypes108; - private String _methodName109; - private String[] _methodParameterTypes109; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoStoricoSoggettoPraticaLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoStoricoSoggettoPraticaLocalServiceBaseImpl.java deleted file mode 100644 index d3ec6cba..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoStoricoSoggettoPraticaLocalServiceBaseImpl.java +++ /dev/null @@ -1,1289 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica; -import it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService; -import it.tref.liferay.portos.portosimport.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeTerritorioPersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the bo storico soggetto pratica local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.portosimport.service.impl.BoStoricoSoggettoPraticaLocalServiceImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.impl.BoStoricoSoggettoPraticaLocalServiceImpl - * @see it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalServiceUtil - * @generated - */ -public abstract class BoStoricoSoggettoPraticaLocalServiceBaseImpl - extends BaseLocalServiceImpl implements BoStoricoSoggettoPraticaLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalServiceUtil} to access the bo storico soggetto pratica local service. - */ - - /** - * Adds the bo storico soggetto pratica to the database. Also notifies the appropriate model listeners. - * - * @param boStoricoSoggettoPratica the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoStoricoSoggettoPratica addBoStoricoSoggettoPratica( - BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws SystemException { - boStoricoSoggettoPratica.setNew(true); - - return boStoricoSoggettoPraticaPersistence.update(boStoricoSoggettoPratica); - } - - /** - * Creates a new bo storico soggetto pratica with the primary key. Does not add the bo storico soggetto pratica to the database. - * - * @param storicoSoggettoPraticaId the primary key for the new bo storico soggetto pratica - * @return the new bo storico soggetto pratica - */ - @Override - public BoStoricoSoggettoPratica createBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) { - return boStoricoSoggettoPraticaPersistence.create(storicoSoggettoPraticaId); - } - - /** - * Deletes the bo storico soggetto pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param storicoSoggettoPraticaId the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was removed - * @throws PortalException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoStoricoSoggettoPratica deleteBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) throws PortalException, SystemException { - return boStoricoSoggettoPraticaPersistence.remove(storicoSoggettoPraticaId); - } - - /** - * Deletes the bo storico soggetto pratica from the database. Also notifies the appropriate model listeners. - * - * @param boStoricoSoggettoPratica the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoStoricoSoggettoPratica deleteBoStoricoSoggettoPratica( - BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws SystemException { - return boStoricoSoggettoPraticaPersistence.remove(boStoricoSoggettoPratica); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(BoStoricoSoggettoPratica.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return boStoricoSoggettoPraticaPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return boStoricoSoggettoPraticaPersistence.findWithDynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return boStoricoSoggettoPraticaPersistence.findWithDynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return boStoricoSoggettoPraticaPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return boStoricoSoggettoPraticaPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public BoStoricoSoggettoPratica fetchBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) throws SystemException { - return boStoricoSoggettoPraticaPersistence.fetchByPrimaryKey(storicoSoggettoPraticaId); - } - - /** - * Returns the bo storico soggetto pratica with the primary key. - * - * @param storicoSoggettoPraticaId the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica - * @throws PortalException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoStoricoSoggettoPratica getBoStoricoSoggettoPratica( - long storicoSoggettoPraticaId) throws PortalException, SystemException { - return boStoricoSoggettoPraticaPersistence.findByPrimaryKey(storicoSoggettoPraticaId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return boStoricoSoggettoPraticaPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns a range of all the bo storico soggetto praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo storico soggetto praticas - * @param end the upper bound of the range of bo storico soggetto praticas (not inclusive) - * @return the range of bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List getBoStoricoSoggettoPraticas( - int start, int end) throws SystemException { - return boStoricoSoggettoPraticaPersistence.findAll(start, end); - } - - /** - * Returns the number of bo storico soggetto praticas. - * - * @return the number of bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoStoricoSoggettoPraticasCount() throws SystemException { - return boStoricoSoggettoPraticaPersistence.countAll(); - } - - /** - * Updates the bo storico soggetto pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boStoricoSoggettoPratica the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoStoricoSoggettoPratica updateBoStoricoSoggettoPratica( - BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws SystemException { - return boStoricoSoggettoPraticaPersistence.update(boStoricoSoggettoPratica); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.portosimport.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.portosimport.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.portosimport.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica", - boStoricoSoggettoPraticaLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return BoStoricoSoggettoPratica.class; - } - - protected String getModelClassName() { - return BoStoricoSoggettoPratica.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = boStoricoSoggettoPraticaPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private BoStoricoSoggettoPraticaLocalServiceClpInvoker _clpInvoker = new BoStoricoSoggettoPraticaLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoStoricoSoggettoPraticaLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoStoricoSoggettoPraticaLocalServiceClpInvoker.java deleted file mode 100644 index 92bc9f23..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoStoricoSoggettoPraticaLocalServiceClpInvoker.java +++ /dev/null @@ -1,258 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoStoricoSoggettoPraticaLocalServiceClpInvoker { - public BoStoricoSoggettoPraticaLocalServiceClpInvoker() { - _methodName0 = "addBoStoricoSoggettoPratica"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica" - }; - - _methodName1 = "createBoStoricoSoggettoPratica"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoStoricoSoggettoPratica"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoStoricoSoggettoPratica"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoStoricoSoggettoPratica"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getBoStoricoSoggettoPratica"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getBoStoricoSoggettoPraticas"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getBoStoricoSoggettoPraticasCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateBoStoricoSoggettoPratica"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica" - }; - - _methodName104 = "getBeanIdentifier"; - - _methodParameterTypes104 = new String[] { }; - - _methodName105 = "setBeanIdentifier"; - - _methodParameterTypes105 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return BoStoricoSoggettoPraticaLocalServiceUtil.addBoStoricoSoggettoPratica((it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return BoStoricoSoggettoPraticaLocalServiceUtil.createBoStoricoSoggettoPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return BoStoricoSoggettoPraticaLocalServiceUtil.deleteBoStoricoSoggettoPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return BoStoricoSoggettoPraticaLocalServiceUtil.deleteBoStoricoSoggettoPratica((it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return BoStoricoSoggettoPraticaLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return BoStoricoSoggettoPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return BoStoricoSoggettoPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return BoStoricoSoggettoPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return BoStoricoSoggettoPraticaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return BoStoricoSoggettoPraticaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return BoStoricoSoggettoPraticaLocalServiceUtil.fetchBoStoricoSoggettoPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return BoStoricoSoggettoPraticaLocalServiceUtil.getBoStoricoSoggettoPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return BoStoricoSoggettoPraticaLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return BoStoricoSoggettoPraticaLocalServiceUtil.getBoStoricoSoggettoPraticas(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return BoStoricoSoggettoPraticaLocalServiceUtil.getBoStoricoSoggettoPraticasCount(); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return BoStoricoSoggettoPraticaLocalServiceUtil.updateBoStoricoSoggettoPratica((it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica)arguments[0]); - } - - if (_methodName104.equals(name) && - Arrays.deepEquals(_methodParameterTypes104, parameterTypes)) { - return BoStoricoSoggettoPraticaLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName105.equals(name) && - Arrays.deepEquals(_methodParameterTypes105, parameterTypes)) { - BoStoricoSoggettoPraticaLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName104; - private String[] _methodParameterTypes104; - private String _methodName105; - private String[] _methodParameterTypes105; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoTempisticaLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoTempisticaLocalServiceBaseImpl.java deleted file mode 100644 index 23ab0da3..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoTempisticaLocalServiceBaseImpl.java +++ /dev/null @@ -1,1343 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.portosimport.model.BoTempistica; -import it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService; -import it.tref.liferay.portos.portosimport.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeTerritorioPersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the bo tempistica local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.portosimport.service.impl.BoTempisticaLocalServiceImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.impl.BoTempisticaLocalServiceImpl - * @see it.tref.liferay.portos.portosimport.service.BoTempisticaLocalServiceUtil - * @generated - */ -public abstract class BoTempisticaLocalServiceBaseImpl - extends BaseLocalServiceImpl implements BoTempisticaLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.portosimport.service.BoTempisticaLocalServiceUtil} to access the bo tempistica local service. - */ - - /** - * Adds the bo tempistica to the database. Also notifies the appropriate model listeners. - * - * @param boTempistica the bo tempistica - * @return the bo tempistica that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoTempistica addBoTempistica(BoTempistica boTempistica) - throws SystemException { - boTempistica.setNew(true); - - return boTempisticaPersistence.update(boTempistica); - } - - /** - * Creates a new bo tempistica with the primary key. Does not add the bo tempistica to the database. - * - * @param tempisticaId the primary key for the new bo tempistica - * @return the new bo tempistica - */ - @Override - public BoTempistica createBoTempistica(long tempisticaId) { - return boTempisticaPersistence.create(tempisticaId); - } - - /** - * Deletes the bo tempistica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param tempisticaId the primary key of the bo tempistica - * @return the bo tempistica that was removed - * @throws PortalException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoTempistica deleteBoTempistica(long tempisticaId) - throws PortalException, SystemException { - return boTempisticaPersistence.remove(tempisticaId); - } - - /** - * Deletes the bo tempistica from the database. Also notifies the appropriate model listeners. - * - * @param boTempistica the bo tempistica - * @return the bo tempistica that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoTempistica deleteBoTempistica(BoTempistica boTempistica) - throws SystemException { - return boTempisticaPersistence.remove(boTempistica); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(BoTempistica.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return boTempisticaPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return boTempisticaPersistence.findWithDynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return boTempisticaPersistence.findWithDynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return boTempisticaPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return boTempisticaPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public BoTempistica fetchBoTempistica(long tempisticaId) - throws SystemException { - return boTempisticaPersistence.fetchByPrimaryKey(tempisticaId); - } - - /** - * Returns the bo tempistica with the matching UUID and company. - * - * @param uuid the bo tempistica's UUID - * @param companyId the primary key of the company - * @return the matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica fetchBoTempisticaByUuidAndCompanyId(String uuid, - long companyId) throws SystemException { - return boTempisticaPersistence.fetchByUuid_C_First(uuid, companyId, null); - } - - /** - * Returns the bo tempistica matching the UUID and group. - * - * @param uuid the bo tempistica's UUID - * @param groupId the primary key of the group - * @return the matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica fetchBoTempisticaByUuidAndGroupId(String uuid, - long groupId) throws SystemException { - return boTempisticaPersistence.fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the bo tempistica with the primary key. - * - * @param tempisticaId the primary key of the bo tempistica - * @return the bo tempistica - * @throws PortalException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica getBoTempistica(long tempisticaId) - throws PortalException, SystemException { - return boTempisticaPersistence.findByPrimaryKey(tempisticaId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return boTempisticaPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns the bo tempistica with the matching UUID and company. - * - * @param uuid the bo tempistica's UUID - * @param companyId the primary key of the company - * @return the matching bo tempistica - * @throws PortalException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica getBoTempisticaByUuidAndCompanyId(String uuid, - long companyId) throws PortalException, SystemException { - return boTempisticaPersistence.findByUuid_C_First(uuid, companyId, null); - } - - /** - * Returns the bo tempistica matching the UUID and group. - * - * @param uuid the bo tempistica's UUID - * @param groupId the primary key of the group - * @return the matching bo tempistica - * @throws PortalException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica getBoTempisticaByUuidAndGroupId(String uuid, - long groupId) throws PortalException, SystemException { - return boTempisticaPersistence.findByUUID_G(uuid, groupId); - } - - /** - * Returns a range of all the bo tempisticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @return the range of bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public List getBoTempisticas(int start, int end) - throws SystemException { - return boTempisticaPersistence.findAll(start, end); - } - - /** - * Returns the number of bo tempisticas. - * - * @return the number of bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoTempisticasCount() throws SystemException { - return boTempisticaPersistence.countAll(); - } - - /** - * Updates the bo tempistica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boTempistica the bo tempistica - * @return the bo tempistica that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoTempistica updateBoTempistica(BoTempistica boTempistica) - throws SystemException { - return boTempisticaPersistence.update(boTempistica); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.portosimport.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.portosimport.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.portosimport.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.portosimport.model.BoTempistica", - boTempisticaLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.portosimport.model.BoTempistica"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return BoTempistica.class; - } - - protected String getModelClassName() { - return BoTempistica.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = boTempisticaPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private BoTempisticaLocalServiceClpInvoker _clpInvoker = new BoTempisticaLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoTempisticaLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoTempisticaLocalServiceClpInvoker.java deleted file mode 100644 index b616dd37..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoTempisticaLocalServiceClpInvoker.java +++ /dev/null @@ -1,306 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import it.tref.liferay.portos.portosimport.service.BoTempisticaLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoTempisticaLocalServiceClpInvoker { - public BoTempisticaLocalServiceClpInvoker() { - _methodName0 = "addBoTempistica"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoTempistica" - }; - - _methodName1 = "createBoTempistica"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoTempistica"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoTempistica"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoTempistica" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoTempistica"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchBoTempisticaByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchBoTempisticaByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getBoTempistica"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getBoTempisticaByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getBoTempisticaByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getBoTempisticas"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getBoTempisticasCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateBoTempistica"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoTempistica" - }; - - _methodName108 = "getBeanIdentifier"; - - _methodParameterTypes108 = new String[] { }; - - _methodName109 = "setBeanIdentifier"; - - _methodParameterTypes109 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return BoTempisticaLocalServiceUtil.addBoTempistica((it.tref.liferay.portos.portosimport.model.BoTempistica)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return BoTempisticaLocalServiceUtil.createBoTempistica(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return BoTempisticaLocalServiceUtil.deleteBoTempistica(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return BoTempisticaLocalServiceUtil.deleteBoTempistica((it.tref.liferay.portos.portosimport.model.BoTempistica)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return BoTempisticaLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return BoTempisticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return BoTempisticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return BoTempisticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return BoTempisticaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return BoTempisticaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return BoTempisticaLocalServiceUtil.fetchBoTempistica(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return BoTempisticaLocalServiceUtil.fetchBoTempisticaByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return BoTempisticaLocalServiceUtil.fetchBoTempisticaByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return BoTempisticaLocalServiceUtil.getBoTempistica(((Long)arguments[0]).longValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return BoTempisticaLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return BoTempisticaLocalServiceUtil.getBoTempisticaByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName16.equals(name) && - Arrays.deepEquals(_methodParameterTypes16, parameterTypes)) { - return BoTempisticaLocalServiceUtil.getBoTempisticaByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName17.equals(name) && - Arrays.deepEquals(_methodParameterTypes17, parameterTypes)) { - return BoTempisticaLocalServiceUtil.getBoTempisticas(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName18.equals(name) && - Arrays.deepEquals(_methodParameterTypes18, parameterTypes)) { - return BoTempisticaLocalServiceUtil.getBoTempisticasCount(); - } - - if (_methodName19.equals(name) && - Arrays.deepEquals(_methodParameterTypes19, parameterTypes)) { - return BoTempisticaLocalServiceUtil.updateBoTempistica((it.tref.liferay.portos.portosimport.model.BoTempistica)arguments[0]); - } - - if (_methodName108.equals(name) && - Arrays.deepEquals(_methodParameterTypes108, parameterTypes)) { - return BoTempisticaLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName109.equals(name) && - Arrays.deepEquals(_methodParameterTypes109, parameterTypes)) { - BoTempisticaLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName108; - private String[] _methodParameterTypes108; - private String _methodName109; - private String[] _methodParameterTypes109; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoTerritorioLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoTerritorioLocalServiceBaseImpl.java deleted file mode 100644 index 5039377e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoTerritorioLocalServiceBaseImpl.java +++ /dev/null @@ -1,1285 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.portosimport.model.BoTerritorio; -import it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService; -import it.tref.liferay.portos.portosimport.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeTerritorioPersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the bo territorio local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.portosimport.service.impl.BoTerritorioLocalServiceImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.impl.BoTerritorioLocalServiceImpl - * @see it.tref.liferay.portos.portosimport.service.BoTerritorioLocalServiceUtil - * @generated - */ -public abstract class BoTerritorioLocalServiceBaseImpl - extends BaseLocalServiceImpl implements BoTerritorioLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.portosimport.service.BoTerritorioLocalServiceUtil} to access the bo territorio local service. - */ - - /** - * Adds the bo territorio to the database. Also notifies the appropriate model listeners. - * - * @param boTerritorio the bo territorio - * @return the bo territorio that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoTerritorio addBoTerritorio(BoTerritorio boTerritorio) - throws SystemException { - boTerritorio.setNew(true); - - return boTerritorioPersistence.update(boTerritorio); - } - - /** - * Creates a new bo territorio with the primary key. Does not add the bo territorio to the database. - * - * @param territorioId the primary key for the new bo territorio - * @return the new bo territorio - */ - @Override - public BoTerritorio createBoTerritorio(long territorioId) { - return boTerritorioPersistence.create(territorioId); - } - - /** - * Deletes the bo territorio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param territorioId the primary key of the bo territorio - * @return the bo territorio that was removed - * @throws PortalException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoTerritorio deleteBoTerritorio(long territorioId) - throws PortalException, SystemException { - return boTerritorioPersistence.remove(territorioId); - } - - /** - * Deletes the bo territorio from the database. Also notifies the appropriate model listeners. - * - * @param boTerritorio the bo territorio - * @return the bo territorio that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public BoTerritorio deleteBoTerritorio(BoTerritorio boTerritorio) - throws SystemException { - return boTerritorioPersistence.remove(boTerritorio); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(BoTerritorio.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return boTerritorioPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return boTerritorioPersistence.findWithDynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return boTerritorioPersistence.findWithDynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return boTerritorioPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return boTerritorioPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public BoTerritorio fetchBoTerritorio(long territorioId) - throws SystemException { - return boTerritorioPersistence.fetchByPrimaryKey(territorioId); - } - - /** - * Returns the bo territorio with the primary key. - * - * @param territorioId the primary key of the bo territorio - * @return the bo territorio - * @throws PortalException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio getBoTerritorio(long territorioId) - throws PortalException, SystemException { - return boTerritorioPersistence.findByPrimaryKey(territorioId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return boTerritorioPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns a range of all the bo territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List getBoTerritorios(int start, int end) - throws SystemException { - return boTerritorioPersistence.findAll(start, end); - } - - /** - * Returns the number of bo territorios. - * - * @return the number of bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public int getBoTerritoriosCount() throws SystemException { - return boTerritorioPersistence.countAll(); - } - - /** - * Updates the bo territorio in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param boTerritorio the bo territorio - * @return the bo territorio that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public BoTerritorio updateBoTerritorio(BoTerritorio boTerritorio) - throws SystemException { - return boTerritorioPersistence.update(boTerritorio); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.portosimport.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.portosimport.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.portosimport.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.portosimport.model.BoTerritorio", - boTerritorioLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.portosimport.model.BoTerritorio"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return BoTerritorio.class; - } - - protected String getModelClassName() { - return BoTerritorio.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = boTerritorioPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private BoTerritorioLocalServiceClpInvoker _clpInvoker = new BoTerritorioLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoTerritorioLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoTerritorioLocalServiceClpInvoker.java deleted file mode 100644 index ccc80a94..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/BoTerritorioLocalServiceClpInvoker.java +++ /dev/null @@ -1,258 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import it.tref.liferay.portos.portosimport.service.BoTerritorioLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class BoTerritorioLocalServiceClpInvoker { - public BoTerritorioLocalServiceClpInvoker() { - _methodName0 = "addBoTerritorio"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoTerritorio" - }; - - _methodName1 = "createBoTerritorio"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteBoTerritorio"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteBoTerritorio"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoTerritorio" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchBoTerritorio"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getBoTerritorio"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getBoTerritorios"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getBoTerritoriosCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateBoTerritorio"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.portosimport.model.BoTerritorio" - }; - - _methodName104 = "getBeanIdentifier"; - - _methodParameterTypes104 = new String[] { }; - - _methodName105 = "setBeanIdentifier"; - - _methodParameterTypes105 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return BoTerritorioLocalServiceUtil.addBoTerritorio((it.tref.liferay.portos.portosimport.model.BoTerritorio)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return BoTerritorioLocalServiceUtil.createBoTerritorio(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return BoTerritorioLocalServiceUtil.deleteBoTerritorio(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return BoTerritorioLocalServiceUtil.deleteBoTerritorio((it.tref.liferay.portos.portosimport.model.BoTerritorio)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return BoTerritorioLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return BoTerritorioLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return BoTerritorioLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return BoTerritorioLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return BoTerritorioLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return BoTerritorioLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return BoTerritorioLocalServiceUtil.fetchBoTerritorio(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return BoTerritorioLocalServiceUtil.getBoTerritorio(((Long)arguments[0]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return BoTerritorioLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return BoTerritorioLocalServiceUtil.getBoTerritorios(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return BoTerritorioLocalServiceUtil.getBoTerritoriosCount(); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return BoTerritorioLocalServiceUtil.updateBoTerritorio((it.tref.liferay.portos.portosimport.model.BoTerritorio)arguments[0]); - } - - if (_methodName104.equals(name) && - Arrays.deepEquals(_methodParameterTypes104, parameterTypes)) { - return BoTerritorioLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName105.equals(name) && - Arrays.deepEquals(_methodParameterTypes105, parameterTypes)) { - BoTerritorioLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName104; - private String[] _methodParameterTypes104; - private String _methodName105; - private String[] _methodParameterTypes105; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/FeComuneLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/FeComuneLocalServiceBaseImpl.java deleted file mode 100644 index 306a3ca2..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/FeComuneLocalServiceBaseImpl.java +++ /dev/null @@ -1,1279 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.portosimport.model.FeComune; -import it.tref.liferay.portos.portosimport.service.FeComuneLocalService; -import it.tref.liferay.portos.portosimport.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeTerritorioPersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the fe comune local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.portosimport.service.impl.FeComuneLocalServiceImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.impl.FeComuneLocalServiceImpl - * @see it.tref.liferay.portos.portosimport.service.FeComuneLocalServiceUtil - * @generated - */ -public abstract class FeComuneLocalServiceBaseImpl extends BaseLocalServiceImpl - implements FeComuneLocalService, IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.portosimport.service.FeComuneLocalServiceUtil} to access the fe comune local service. - */ - - /** - * Adds the fe comune to the database. Also notifies the appropriate model listeners. - * - * @param feComune the fe comune - * @return the fe comune that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public FeComune addFeComune(FeComune feComune) throws SystemException { - feComune.setNew(true); - - return feComunePersistence.update(feComune); - } - - /** - * Creates a new fe comune with the primary key. Does not add the fe comune to the database. - * - * @param comuneId the primary key for the new fe comune - * @return the new fe comune - */ - @Override - public FeComune createFeComune(long comuneId) { - return feComunePersistence.create(comuneId); - } - - /** - * Deletes the fe comune with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param comuneId the primary key of the fe comune - * @return the fe comune that was removed - * @throws PortalException if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public FeComune deleteFeComune(long comuneId) - throws PortalException, SystemException { - return feComunePersistence.remove(comuneId); - } - - /** - * Deletes the fe comune from the database. Also notifies the appropriate model listeners. - * - * @param feComune the fe comune - * @return the fe comune that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public FeComune deleteFeComune(FeComune feComune) throws SystemException { - return feComunePersistence.remove(feComune); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(FeComune.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return feComunePersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return feComunePersistence.findWithDynamicQuery(dynamicQuery, start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return feComunePersistence.findWithDynamicQuery(dynamicQuery, start, - end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return feComunePersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return feComunePersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public FeComune fetchFeComune(long comuneId) throws SystemException { - return feComunePersistence.fetchByPrimaryKey(comuneId); - } - - /** - * Returns the fe comune with the primary key. - * - * @param comuneId the primary key of the fe comune - * @return the fe comune - * @throws PortalException if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeComune getFeComune(long comuneId) - throws PortalException, SystemException { - return feComunePersistence.findByPrimaryKey(comuneId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return feComunePersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns a range of all the fe comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe comunes - * @param end the upper bound of the range of fe comunes (not inclusive) - * @return the range of fe comunes - * @throws SystemException if a system exception occurred - */ - @Override - public List getFeComunes(int start, int end) - throws SystemException { - return feComunePersistence.findAll(start, end); - } - - /** - * Returns the number of fe comunes. - * - * @return the number of fe comunes - * @throws SystemException if a system exception occurred - */ - @Override - public int getFeComunesCount() throws SystemException { - return feComunePersistence.countAll(); - } - - /** - * Updates the fe comune in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param feComune the fe comune - * @return the fe comune that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public FeComune updateFeComune(FeComune feComune) throws SystemException { - return feComunePersistence.update(feComune); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.portosimport.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.portosimport.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.portosimport.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.portosimport.model.FeComune", - feComuneLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.portosimport.model.FeComune"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return FeComune.class; - } - - protected String getModelClassName() { - return FeComune.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = feComunePersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private FeComuneLocalServiceClpInvoker _clpInvoker = new FeComuneLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/FeComuneLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/FeComuneLocalServiceClpInvoker.java deleted file mode 100644 index 93dc4b54..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/FeComuneLocalServiceClpInvoker.java +++ /dev/null @@ -1,269 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import it.tref.liferay.portos.portosimport.service.FeComuneLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class FeComuneLocalServiceClpInvoker { - public FeComuneLocalServiceClpInvoker() { - _methodName0 = "addFeComune"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.FeComune" - }; - - _methodName1 = "createFeComune"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteFeComune"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteFeComune"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.FeComune" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchFeComune"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getFeComune"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getFeComunes"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getFeComunesCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateFeComune"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.portosimport.model.FeComune" - }; - - _methodName104 = "getBeanIdentifier"; - - _methodParameterTypes104 = new String[] { }; - - _methodName105 = "setBeanIdentifier"; - - _methodParameterTypes105 = new String[] { "java.lang.String" }; - - _methodName110 = "fetchBycodIstat"; - - _methodParameterTypes110 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return FeComuneLocalServiceUtil.addFeComune((it.tref.liferay.portos.portosimport.model.FeComune)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return FeComuneLocalServiceUtil.createFeComune(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return FeComuneLocalServiceUtil.deleteFeComune(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return FeComuneLocalServiceUtil.deleteFeComune((it.tref.liferay.portos.portosimport.model.FeComune)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return FeComuneLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return FeComuneLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return FeComuneLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return FeComuneLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return FeComuneLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return FeComuneLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return FeComuneLocalServiceUtil.fetchFeComune(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return FeComuneLocalServiceUtil.getFeComune(((Long)arguments[0]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return FeComuneLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return FeComuneLocalServiceUtil.getFeComunes(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return FeComuneLocalServiceUtil.getFeComunesCount(); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return FeComuneLocalServiceUtil.updateFeComune((it.tref.liferay.portos.portosimport.model.FeComune)arguments[0]); - } - - if (_methodName104.equals(name) && - Arrays.deepEquals(_methodParameterTypes104, parameterTypes)) { - return FeComuneLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName105.equals(name) && - Arrays.deepEquals(_methodParameterTypes105, parameterTypes)) { - FeComuneLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - if (_methodName110.equals(name) && - Arrays.deepEquals(_methodParameterTypes110, parameterTypes)) { - return FeComuneLocalServiceUtil.fetchBycodIstat((java.lang.String)arguments[0]); - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName104; - private String[] _methodParameterTypes104; - private String _methodName105; - private String[] _methodParameterTypes105; - private String _methodName110; - private String[] _methodParameterTypes110; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/FeDettPraticaLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/FeDettPraticaLocalServiceBaseImpl.java deleted file mode 100644 index cfa8b0b2..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/FeDettPraticaLocalServiceBaseImpl.java +++ /dev/null @@ -1,1314 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.portosimport.model.FeDettPratica; -import it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService; -import it.tref.liferay.portos.portosimport.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeTerritorioPersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the fe dett pratica local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.portosimport.service.impl.FeDettPraticaLocalServiceImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.impl.FeDettPraticaLocalServiceImpl - * @see it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalServiceUtil - * @generated - */ -public abstract class FeDettPraticaLocalServiceBaseImpl - extends BaseLocalServiceImpl implements FeDettPraticaLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalServiceUtil} to access the fe dett pratica local service. - */ - - /** - * Adds the fe dett pratica to the database. Also notifies the appropriate model listeners. - * - * @param feDettPratica the fe dett pratica - * @return the fe dett pratica that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public FeDettPratica addFeDettPratica(FeDettPratica feDettPratica) - throws SystemException { - feDettPratica.setNew(true); - - return feDettPraticaPersistence.update(feDettPratica); - } - - /** - * Creates a new fe dett pratica with the primary key. Does not add the fe dett pratica to the database. - * - * @param dettPraticaId the primary key for the new fe dett pratica - * @return the new fe dett pratica - */ - @Override - public FeDettPratica createFeDettPratica(long dettPraticaId) { - return feDettPraticaPersistence.create(dettPraticaId); - } - - /** - * Deletes the fe dett pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param dettPraticaId the primary key of the fe dett pratica - * @return the fe dett pratica that was removed - * @throws PortalException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public FeDettPratica deleteFeDettPratica(long dettPraticaId) - throws PortalException, SystemException { - return feDettPraticaPersistence.remove(dettPraticaId); - } - - /** - * Deletes the fe dett pratica from the database. Also notifies the appropriate model listeners. - * - * @param feDettPratica the fe dett pratica - * @return the fe dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public FeDettPratica deleteFeDettPratica(FeDettPratica feDettPratica) - throws SystemException { - return feDettPraticaPersistence.remove(feDettPratica); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(FeDettPratica.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return feDettPraticaPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return feDettPraticaPersistence.findWithDynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return feDettPraticaPersistence.findWithDynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return feDettPraticaPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return feDettPraticaPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public FeDettPratica fetchFeDettPratica(long dettPraticaId) - throws SystemException { - return feDettPraticaPersistence.fetchByPrimaryKey(dettPraticaId); - } - - /** - * Returns the fe dett pratica matching the UUID and group. - * - * @param uuid the fe dett pratica's UUID - * @param groupId the primary key of the group - * @return the matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica fetchFeDettPraticaByUuidAndGroupId(String uuid, - long groupId) throws SystemException { - return feDettPraticaPersistence.fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the fe dett pratica with the primary key. - * - * @param dettPraticaId the primary key of the fe dett pratica - * @return the fe dett pratica - * @throws PortalException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica getFeDettPratica(long dettPraticaId) - throws PortalException, SystemException { - return feDettPraticaPersistence.findByPrimaryKey(dettPraticaId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return feDettPraticaPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns the fe dett pratica matching the UUID and group. - * - * @param uuid the fe dett pratica's UUID - * @param groupId the primary key of the group - * @return the matching fe dett pratica - * @throws PortalException if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica getFeDettPraticaByUuidAndGroupId(String uuid, - long groupId) throws PortalException, SystemException { - return feDettPraticaPersistence.findByUUID_G(uuid, groupId); - } - - /** - * Returns a range of all the fe dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe dett praticas - * @param end the upper bound of the range of fe dett praticas (not inclusive) - * @return the range of fe dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List getFeDettPraticas(int start, int end) - throws SystemException { - return feDettPraticaPersistence.findAll(start, end); - } - - /** - * Returns the number of fe dett praticas. - * - * @return the number of fe dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int getFeDettPraticasCount() throws SystemException { - return feDettPraticaPersistence.countAll(); - } - - /** - * Updates the fe dett pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param feDettPratica the fe dett pratica - * @return the fe dett pratica that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public FeDettPratica updateFeDettPratica(FeDettPratica feDettPratica) - throws SystemException { - return feDettPraticaPersistence.update(feDettPratica); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.portosimport.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.portosimport.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.portosimport.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.portosimport.model.FeDettPratica", - feDettPraticaLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.portosimport.model.FeDettPratica"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return FeDettPratica.class; - } - - protected String getModelClassName() { - return FeDettPratica.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = feDettPraticaPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private FeDettPraticaLocalServiceClpInvoker _clpInvoker = new FeDettPraticaLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/FeDettPraticaLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/FeDettPraticaLocalServiceClpInvoker.java deleted file mode 100644 index dc8e63ec..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/FeDettPraticaLocalServiceClpInvoker.java +++ /dev/null @@ -1,304 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class FeDettPraticaLocalServiceClpInvoker { - public FeDettPraticaLocalServiceClpInvoker() { - _methodName0 = "addFeDettPratica"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.FeDettPratica" - }; - - _methodName1 = "createFeDettPratica"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteFeDettPratica"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteFeDettPratica"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.FeDettPratica" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchFeDettPratica"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchFeDettPraticaByUuidAndGroupId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "getFeDettPratica"; - - _methodParameterTypes12 = new String[] { "long" }; - - _methodName13 = "getPersistedModel"; - - _methodParameterTypes13 = new String[] { "java.io.Serializable" }; - - _methodName14 = "getFeDettPraticaByUuidAndGroupId"; - - _methodParameterTypes14 = new String[] { "java.lang.String", "long" }; - - _methodName15 = "getFeDettPraticas"; - - _methodParameterTypes15 = new String[] { "int", "int" }; - - _methodName16 = "getFeDettPraticasCount"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "updateFeDettPratica"; - - _methodParameterTypes17 = new String[] { - "it.tref.liferay.portos.portosimport.model.FeDettPratica" - }; - - _methodName106 = "getBeanIdentifier"; - - _methodParameterTypes106 = new String[] { }; - - _methodName107 = "setBeanIdentifier"; - - _methodParameterTypes107 = new String[] { "java.lang.String" }; - - _methodName112 = "fetchByCodPraticaSuap"; - - _methodParameterTypes112 = new String[] { "java.lang.String" }; - - _methodName113 = "fetchByDettPraticaId"; - - _methodParameterTypes113 = new String[] { "long" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.addFeDettPratica((it.tref.liferay.portos.portosimport.model.FeDettPratica)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.createFeDettPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.deleteFeDettPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.deleteFeDettPratica((it.tref.liferay.portos.portosimport.model.FeDettPratica)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.fetchFeDettPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.fetchFeDettPraticaByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.getFeDettPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.getFeDettPraticaByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.getFeDettPraticas(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName16.equals(name) && - Arrays.deepEquals(_methodParameterTypes16, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.getFeDettPraticasCount(); - } - - if (_methodName17.equals(name) && - Arrays.deepEquals(_methodParameterTypes17, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.updateFeDettPratica((it.tref.liferay.portos.portosimport.model.FeDettPratica)arguments[0]); - } - - if (_methodName106.equals(name) && - Arrays.deepEquals(_methodParameterTypes106, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName107.equals(name) && - Arrays.deepEquals(_methodParameterTypes107, parameterTypes)) { - FeDettPraticaLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - if (_methodName112.equals(name) && - Arrays.deepEquals(_methodParameterTypes112, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.fetchByCodPraticaSuap((java.lang.String)arguments[0]); - } - - if (_methodName113.equals(name) && - Arrays.deepEquals(_methodParameterTypes113, parameterTypes)) { - return FeDettPraticaLocalServiceUtil.fetchByDettPraticaId(((Long)arguments[0]).longValue()); - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName106; - private String[] _methodParameterTypes106; - private String _methodName107; - private String[] _methodParameterTypes107; - private String _methodName112; - private String[] _methodParameterTypes112; - private String _methodName113; - private String[] _methodParameterTypes113; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/FeIntPraticaLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/FeIntPraticaLocalServiceBaseImpl.java deleted file mode 100644 index 766ef563..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/FeIntPraticaLocalServiceBaseImpl.java +++ /dev/null @@ -1,1314 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.portosimport.model.FeIntPratica; -import it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService; -import it.tref.liferay.portos.portosimport.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeTerritorioPersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the fe int pratica local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.portosimport.service.impl.FeIntPraticaLocalServiceImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.impl.FeIntPraticaLocalServiceImpl - * @see it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalServiceUtil - * @generated - */ -public abstract class FeIntPraticaLocalServiceBaseImpl - extends BaseLocalServiceImpl implements FeIntPraticaLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalServiceUtil} to access the fe int pratica local service. - */ - - /** - * Adds the fe int pratica to the database. Also notifies the appropriate model listeners. - * - * @param feIntPratica the fe int pratica - * @return the fe int pratica that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public FeIntPratica addFeIntPratica(FeIntPratica feIntPratica) - throws SystemException { - feIntPratica.setNew(true); - - return feIntPraticaPersistence.update(feIntPratica); - } - - /** - * Creates a new fe int pratica with the primary key. Does not add the fe int pratica to the database. - * - * @param intPraticaId the primary key for the new fe int pratica - * @return the new fe int pratica - */ - @Override - public FeIntPratica createFeIntPratica(long intPraticaId) { - return feIntPraticaPersistence.create(intPraticaId); - } - - /** - * Deletes the fe int pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param intPraticaId the primary key of the fe int pratica - * @return the fe int pratica that was removed - * @throws PortalException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public FeIntPratica deleteFeIntPratica(long intPraticaId) - throws PortalException, SystemException { - return feIntPraticaPersistence.remove(intPraticaId); - } - - /** - * Deletes the fe int pratica from the database. Also notifies the appropriate model listeners. - * - * @param feIntPratica the fe int pratica - * @return the fe int pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public FeIntPratica deleteFeIntPratica(FeIntPratica feIntPratica) - throws SystemException { - return feIntPraticaPersistence.remove(feIntPratica); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(FeIntPratica.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return feIntPraticaPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return feIntPraticaPersistence.findWithDynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return feIntPraticaPersistence.findWithDynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return feIntPraticaPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return feIntPraticaPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public FeIntPratica fetchFeIntPratica(long intPraticaId) - throws SystemException { - return feIntPraticaPersistence.fetchByPrimaryKey(intPraticaId); - } - - /** - * Returns the fe int pratica matching the UUID and group. - * - * @param uuid the fe int pratica's UUID - * @param groupId the primary key of the group - * @return the matching fe int pratica, or null if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeIntPratica fetchFeIntPraticaByUuidAndGroupId(String uuid, - long groupId) throws SystemException { - return feIntPraticaPersistence.fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the fe int pratica with the primary key. - * - * @param intPraticaId the primary key of the fe int pratica - * @return the fe int pratica - * @throws PortalException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeIntPratica getFeIntPratica(long intPraticaId) - throws PortalException, SystemException { - return feIntPraticaPersistence.findByPrimaryKey(intPraticaId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return feIntPraticaPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns the fe int pratica matching the UUID and group. - * - * @param uuid the fe int pratica's UUID - * @param groupId the primary key of the group - * @return the matching fe int pratica - * @throws PortalException if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeIntPratica getFeIntPraticaByUuidAndGroupId(String uuid, - long groupId) throws PortalException, SystemException { - return feIntPraticaPersistence.findByUUID_G(uuid, groupId); - } - - /** - * Returns a range of all the fe int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe int praticas - * @param end the upper bound of the range of fe int praticas (not inclusive) - * @return the range of fe int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List getFeIntPraticas(int start, int end) - throws SystemException { - return feIntPraticaPersistence.findAll(start, end); - } - - /** - * Returns the number of fe int praticas. - * - * @return the number of fe int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int getFeIntPraticasCount() throws SystemException { - return feIntPraticaPersistence.countAll(); - } - - /** - * Updates the fe int pratica in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param feIntPratica the fe int pratica - * @return the fe int pratica that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public FeIntPratica updateFeIntPratica(FeIntPratica feIntPratica) - throws SystemException { - return feIntPraticaPersistence.update(feIntPratica); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.portosimport.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.portosimport.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.portosimport.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.portosimport.model.FeIntPratica", - feIntPraticaLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.portosimport.model.FeIntPratica"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return FeIntPratica.class; - } - - protected String getModelClassName() { - return FeIntPratica.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = feIntPraticaPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private FeIntPraticaLocalServiceClpInvoker _clpInvoker = new FeIntPraticaLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/FeIntPraticaLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/FeIntPraticaLocalServiceClpInvoker.java deleted file mode 100644 index 369c195f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/FeIntPraticaLocalServiceClpInvoker.java +++ /dev/null @@ -1,282 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class FeIntPraticaLocalServiceClpInvoker { - public FeIntPraticaLocalServiceClpInvoker() { - _methodName0 = "addFeIntPratica"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.FeIntPratica" - }; - - _methodName1 = "createFeIntPratica"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteFeIntPratica"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteFeIntPratica"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.FeIntPratica" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchFeIntPratica"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchFeIntPraticaByUuidAndGroupId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "getFeIntPratica"; - - _methodParameterTypes12 = new String[] { "long" }; - - _methodName13 = "getPersistedModel"; - - _methodParameterTypes13 = new String[] { "java.io.Serializable" }; - - _methodName14 = "getFeIntPraticaByUuidAndGroupId"; - - _methodParameterTypes14 = new String[] { "java.lang.String", "long" }; - - _methodName15 = "getFeIntPraticas"; - - _methodParameterTypes15 = new String[] { "int", "int" }; - - _methodName16 = "getFeIntPraticasCount"; - - _methodParameterTypes16 = new String[] { }; - - _methodName17 = "updateFeIntPratica"; - - _methodParameterTypes17 = new String[] { - "it.tref.liferay.portos.portosimport.model.FeIntPratica" - }; - - _methodName106 = "getBeanIdentifier"; - - _methodParameterTypes106 = new String[] { }; - - _methodName107 = "setBeanIdentifier"; - - _methodParameterTypes107 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.addFeIntPratica((it.tref.liferay.portos.portosimport.model.FeIntPratica)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.createFeIntPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.deleteFeIntPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.deleteFeIntPratica((it.tref.liferay.portos.portosimport.model.FeIntPratica)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.fetchFeIntPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.fetchFeIntPraticaByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.getFeIntPratica(((Long)arguments[0]).longValue()); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.getFeIntPraticaByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.getFeIntPraticas(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName16.equals(name) && - Arrays.deepEquals(_methodParameterTypes16, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.getFeIntPraticasCount(); - } - - if (_methodName17.equals(name) && - Arrays.deepEquals(_methodParameterTypes17, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.updateFeIntPratica((it.tref.liferay.portos.portosimport.model.FeIntPratica)arguments[0]); - } - - if (_methodName106.equals(name) && - Arrays.deepEquals(_methodParameterTypes106, parameterTypes)) { - return FeIntPraticaLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName107.equals(name) && - Arrays.deepEquals(_methodParameterTypes107, parameterTypes)) { - FeIntPraticaLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName106; - private String[] _methodParameterTypes106; - private String _methodName107; - private String[] _methodParameterTypes107; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/FePagamentoLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/FePagamentoLocalServiceBaseImpl.java deleted file mode 100644 index 65cc142f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/FePagamentoLocalServiceBaseImpl.java +++ /dev/null @@ -1,1343 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.portosimport.model.FePagamento; -import it.tref.liferay.portos.portosimport.service.FePagamentoLocalService; -import it.tref.liferay.portos.portosimport.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeTerritorioPersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the fe pagamento local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.portosimport.service.impl.FePagamentoLocalServiceImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.impl.FePagamentoLocalServiceImpl - * @see it.tref.liferay.portos.portosimport.service.FePagamentoLocalServiceUtil - * @generated - */ -public abstract class FePagamentoLocalServiceBaseImpl - extends BaseLocalServiceImpl implements FePagamentoLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.portosimport.service.FePagamentoLocalServiceUtil} to access the fe pagamento local service. - */ - - /** - * Adds the fe pagamento to the database. Also notifies the appropriate model listeners. - * - * @param fePagamento the fe pagamento - * @return the fe pagamento that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public FePagamento addFePagamento(FePagamento fePagamento) - throws SystemException { - fePagamento.setNew(true); - - return fePagamentoPersistence.update(fePagamento); - } - - /** - * Creates a new fe pagamento with the primary key. Does not add the fe pagamento to the database. - * - * @param pagamentoId the primary key for the new fe pagamento - * @return the new fe pagamento - */ - @Override - public FePagamento createFePagamento(long pagamentoId) { - return fePagamentoPersistence.create(pagamentoId); - } - - /** - * Deletes the fe pagamento with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param pagamentoId the primary key of the fe pagamento - * @return the fe pagamento that was removed - * @throws PortalException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public FePagamento deleteFePagamento(long pagamentoId) - throws PortalException, SystemException { - return fePagamentoPersistence.remove(pagamentoId); - } - - /** - * Deletes the fe pagamento from the database. Also notifies the appropriate model listeners. - * - * @param fePagamento the fe pagamento - * @return the fe pagamento that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public FePagamento deleteFePagamento(FePagamento fePagamento) - throws SystemException { - return fePagamentoPersistence.remove(fePagamento); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(FePagamento.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return fePagamentoPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return fePagamentoPersistence.findWithDynamicQuery(dynamicQuery, start, - end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return fePagamentoPersistence.findWithDynamicQuery(dynamicQuery, start, - end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return fePagamentoPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return fePagamentoPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public FePagamento fetchFePagamento(long pagamentoId) - throws SystemException { - return fePagamentoPersistence.fetchByPrimaryKey(pagamentoId); - } - - /** - * Returns the fe pagamento with the matching UUID and company. - * - * @param uuid the fe pagamento's UUID - * @param companyId the primary key of the company - * @return the matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento fetchFePagamentoByUuidAndCompanyId(String uuid, - long companyId) throws SystemException { - return fePagamentoPersistence.fetchByUuid_C_First(uuid, companyId, null); - } - - /** - * Returns the fe pagamento matching the UUID and group. - * - * @param uuid the fe pagamento's UUID - * @param groupId the primary key of the group - * @return the matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento fetchFePagamentoByUuidAndGroupId(String uuid, - long groupId) throws SystemException { - return fePagamentoPersistence.fetchByUUID_G(uuid, groupId); - } - - /** - * Returns the fe pagamento with the primary key. - * - * @param pagamentoId the primary key of the fe pagamento - * @return the fe pagamento - * @throws PortalException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento getFePagamento(long pagamentoId) - throws PortalException, SystemException { - return fePagamentoPersistence.findByPrimaryKey(pagamentoId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return fePagamentoPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns the fe pagamento with the matching UUID and company. - * - * @param uuid the fe pagamento's UUID - * @param companyId the primary key of the company - * @return the matching fe pagamento - * @throws PortalException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento getFePagamentoByUuidAndCompanyId(String uuid, - long companyId) throws PortalException, SystemException { - return fePagamentoPersistence.findByUuid_C_First(uuid, companyId, null); - } - - /** - * Returns the fe pagamento matching the UUID and group. - * - * @param uuid the fe pagamento's UUID - * @param groupId the primary key of the group - * @return the matching fe pagamento - * @throws PortalException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento getFePagamentoByUuidAndGroupId(String uuid, long groupId) - throws PortalException, SystemException { - return fePagamentoPersistence.findByUUID_G(uuid, groupId); - } - - /** - * Returns a range of all the fe pagamentos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public List getFePagamentos(int start, int end) - throws SystemException { - return fePagamentoPersistence.findAll(start, end); - } - - /** - * Returns the number of fe pagamentos. - * - * @return the number of fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public int getFePagamentosCount() throws SystemException { - return fePagamentoPersistence.countAll(); - } - - /** - * Updates the fe pagamento in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param fePagamento the fe pagamento - * @return the fe pagamento that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public FePagamento updateFePagamento(FePagamento fePagamento) - throws SystemException { - return fePagamentoPersistence.update(fePagamento); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.portosimport.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.portosimport.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.portosimport.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.portosimport.model.FePagamento", - fePagamentoLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.portosimport.model.FePagamento"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return FePagamento.class; - } - - protected String getModelClassName() { - return FePagamento.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = fePagamentoPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private FePagamentoLocalServiceClpInvoker _clpInvoker = new FePagamentoLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/FePagamentoLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/FePagamentoLocalServiceClpInvoker.java deleted file mode 100644 index e1f17378..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/FePagamentoLocalServiceClpInvoker.java +++ /dev/null @@ -1,306 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import it.tref.liferay.portos.portosimport.service.FePagamentoLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class FePagamentoLocalServiceClpInvoker { - public FePagamentoLocalServiceClpInvoker() { - _methodName0 = "addFePagamento"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.FePagamento" - }; - - _methodName1 = "createFePagamento"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteFePagamento"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteFePagamento"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.FePagamento" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchFePagamento"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "fetchFePagamentoByUuidAndCompanyId"; - - _methodParameterTypes11 = new String[] { "java.lang.String", "long" }; - - _methodName12 = "fetchFePagamentoByUuidAndGroupId"; - - _methodParameterTypes12 = new String[] { "java.lang.String", "long" }; - - _methodName13 = "getFePagamento"; - - _methodParameterTypes13 = new String[] { "long" }; - - _methodName14 = "getPersistedModel"; - - _methodParameterTypes14 = new String[] { "java.io.Serializable" }; - - _methodName15 = "getFePagamentoByUuidAndCompanyId"; - - _methodParameterTypes15 = new String[] { "java.lang.String", "long" }; - - _methodName16 = "getFePagamentoByUuidAndGroupId"; - - _methodParameterTypes16 = new String[] { "java.lang.String", "long" }; - - _methodName17 = "getFePagamentos"; - - _methodParameterTypes17 = new String[] { "int", "int" }; - - _methodName18 = "getFePagamentosCount"; - - _methodParameterTypes18 = new String[] { }; - - _methodName19 = "updateFePagamento"; - - _methodParameterTypes19 = new String[] { - "it.tref.liferay.portos.portosimport.model.FePagamento" - }; - - _methodName108 = "getBeanIdentifier"; - - _methodParameterTypes108 = new String[] { }; - - _methodName109 = "setBeanIdentifier"; - - _methodParameterTypes109 = new String[] { "java.lang.String" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return FePagamentoLocalServiceUtil.addFePagamento((it.tref.liferay.portos.portosimport.model.FePagamento)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return FePagamentoLocalServiceUtil.createFePagamento(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return FePagamentoLocalServiceUtil.deleteFePagamento(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return FePagamentoLocalServiceUtil.deleteFePagamento((it.tref.liferay.portos.portosimport.model.FePagamento)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return FePagamentoLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return FePagamentoLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return FePagamentoLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return FePagamentoLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return FePagamentoLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return FePagamentoLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return FePagamentoLocalServiceUtil.fetchFePagamento(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return FePagamentoLocalServiceUtil.fetchFePagamentoByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return FePagamentoLocalServiceUtil.fetchFePagamentoByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return FePagamentoLocalServiceUtil.getFePagamento(((Long)arguments[0]).longValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return FePagamentoLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return FePagamentoLocalServiceUtil.getFePagamentoByUuidAndCompanyId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName16.equals(name) && - Arrays.deepEquals(_methodParameterTypes16, parameterTypes)) { - return FePagamentoLocalServiceUtil.getFePagamentoByUuidAndGroupId((java.lang.String)arguments[0], - ((Long)arguments[1]).longValue()); - } - - if (_methodName17.equals(name) && - Arrays.deepEquals(_methodParameterTypes17, parameterTypes)) { - return FePagamentoLocalServiceUtil.getFePagamentos(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName18.equals(name) && - Arrays.deepEquals(_methodParameterTypes18, parameterTypes)) { - return FePagamentoLocalServiceUtil.getFePagamentosCount(); - } - - if (_methodName19.equals(name) && - Arrays.deepEquals(_methodParameterTypes19, parameterTypes)) { - return FePagamentoLocalServiceUtil.updateFePagamento((it.tref.liferay.portos.portosimport.model.FePagamento)arguments[0]); - } - - if (_methodName108.equals(name) && - Arrays.deepEquals(_methodParameterTypes108, parameterTypes)) { - return FePagamentoLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName109.equals(name) && - Arrays.deepEquals(_methodParameterTypes109, parameterTypes)) { - FePagamentoLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName16; - private String[] _methodParameterTypes16; - private String _methodName17; - private String[] _methodParameterTypes17; - private String _methodName18; - private String[] _methodParameterTypes18; - private String _methodName19; - private String[] _methodParameterTypes19; - private String _methodName108; - private String[] _methodParameterTypes108; - private String _methodName109; - private String[] _methodParameterTypes109; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/FeTerritorioLocalServiceBaseImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/FeTerritorioLocalServiceBaseImpl.java deleted file mode 100644 index cbabc08a..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/FeTerritorioLocalServiceBaseImpl.java +++ /dev/null @@ -1,1285 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import com.liferay.portal.kernel.bean.BeanReference; -import com.liferay.portal.kernel.bean.IdentifiableBean; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; -import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; -import com.liferay.portal.kernel.dao.orm.DynamicQuery; -import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; -import com.liferay.portal.kernel.dao.orm.Projection; -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.search.Indexable; -import com.liferay.portal.kernel.search.IndexableType; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.model.PersistedModel; -import com.liferay.portal.service.BaseLocalServiceImpl; -import com.liferay.portal.service.PersistedModelLocalServiceRegistryUtil; -import com.liferay.portal.service.persistence.UserPersistence; - -import it.tref.liferay.portos.portosimport.model.FeTerritorio; -import it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService; -import it.tref.liferay.portos.portosimport.service.persistence.BoArtLeggePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoAvvisoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoDocPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoProblemiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoRelLeggiPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSistemaCostruttivoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSoggettoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoSorteggioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoStoricoSoggettoPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTempisticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.BoTerritorioPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeComunePersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeDettPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeIntPraticaPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FePagamentoPersistence; -import it.tref.liferay.portos.portosimport.service.persistence.FeTerritorioPersistence; - -import java.io.Serializable; - -import java.util.List; - -import javax.sql.DataSource; - -/** - * Provides the base implementation for the fe territorio local service. - * - *

- * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link it.tref.liferay.portos.portosimport.service.impl.FeTerritorioLocalServiceImpl}. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.impl.FeTerritorioLocalServiceImpl - * @see it.tref.liferay.portos.portosimport.service.FeTerritorioLocalServiceUtil - * @generated - */ -public abstract class FeTerritorioLocalServiceBaseImpl - extends BaseLocalServiceImpl implements FeTerritorioLocalService, - IdentifiableBean { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link it.tref.liferay.portos.portosimport.service.FeTerritorioLocalServiceUtil} to access the fe territorio local service. - */ - - /** - * Adds the fe territorio to the database. Also notifies the appropriate model listeners. - * - * @param feTerritorio the fe territorio - * @return the fe territorio that was added - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public FeTerritorio addFeTerritorio(FeTerritorio feTerritorio) - throws SystemException { - feTerritorio.setNew(true); - - return feTerritorioPersistence.update(feTerritorio); - } - - /** - * Creates a new fe territorio with the primary key. Does not add the fe territorio to the database. - * - * @param territorioId the primary key for the new fe territorio - * @return the new fe territorio - */ - @Override - public FeTerritorio createFeTerritorio(long territorioId) { - return feTerritorioPersistence.create(territorioId); - } - - /** - * Deletes the fe territorio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param territorioId the primary key of the fe territorio - * @return the fe territorio that was removed - * @throws PortalException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public FeTerritorio deleteFeTerritorio(long territorioId) - throws PortalException, SystemException { - return feTerritorioPersistence.remove(territorioId); - } - - /** - * Deletes the fe territorio from the database. Also notifies the appropriate model listeners. - * - * @param feTerritorio the fe territorio - * @return the fe territorio that was removed - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.DELETE) - @Override - public FeTerritorio deleteFeTerritorio(FeTerritorio feTerritorio) - throws SystemException { - return feTerritorioPersistence.remove(feTerritorio); - } - - @Override - public DynamicQuery dynamicQuery() { - Class clazz = getClass(); - - return DynamicQueryFactoryUtil.forClass(FeTerritorio.class, - clazz.getClassLoader()); - } - - /** - * Performs a dynamic query on the database and returns the matching rows. - * - * @param dynamicQuery the dynamic query - * @return the matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery) - throws SystemException { - return feTerritorioPersistence.findWithDynamicQuery(dynamicQuery); - } - - /** - * Performs a dynamic query on the database and returns a range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @return the range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) - throws SystemException { - return feTerritorioPersistence.findWithDynamicQuery(dynamicQuery, - start, end); - } - - /** - * Performs a dynamic query on the database and returns an ordered range of the matching rows. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dynamicQuery the dynamic query - * @param start the lower bound of the range of model instances - * @param end the upper bound of the range of model instances (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching rows - * @throws SystemException if a system exception occurred - */ - @Override - @SuppressWarnings("rawtypes") - public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - return feTerritorioPersistence.findWithDynamicQuery(dynamicQuery, - start, end, orderByComparator); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery) - throws SystemException { - return feTerritorioPersistence.countWithDynamicQuery(dynamicQuery); - } - - /** - * Returns the number of rows that match the dynamic query. - * - * @param dynamicQuery the dynamic query - * @param projection the projection to apply to the query - * @return the number of rows that match the dynamic query - * @throws SystemException if a system exception occurred - */ - @Override - public long dynamicQueryCount(DynamicQuery dynamicQuery, - Projection projection) throws SystemException { - return feTerritorioPersistence.countWithDynamicQuery(dynamicQuery, - projection); - } - - @Override - public FeTerritorio fetchFeTerritorio(long territorioId) - throws SystemException { - return feTerritorioPersistence.fetchByPrimaryKey(territorioId); - } - - /** - * Returns the fe territorio with the primary key. - * - * @param territorioId the primary key of the fe territorio - * @return the fe territorio - * @throws PortalException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio getFeTerritorio(long territorioId) - throws PortalException, SystemException { - return feTerritorioPersistence.findByPrimaryKey(territorioId); - } - - @Override - public PersistedModel getPersistedModel(Serializable primaryKeyObj) - throws PortalException, SystemException { - return feTerritorioPersistence.findByPrimaryKey(primaryKeyObj); - } - - /** - * Returns a range of all the fe territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List getFeTerritorios(int start, int end) - throws SystemException { - return feTerritorioPersistence.findAll(start, end); - } - - /** - * Returns the number of fe territorios. - * - * @return the number of fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public int getFeTerritoriosCount() throws SystemException { - return feTerritorioPersistence.countAll(); - } - - /** - * Updates the fe territorio in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. - * - * @param feTerritorio the fe territorio - * @return the fe territorio that was updated - * @throws SystemException if a system exception occurred - */ - @Indexable(type = IndexableType.REINDEX) - @Override - public FeTerritorio updateFeTerritorio(FeTerritorio feTerritorio) - throws SystemException { - return feTerritorioPersistence.update(feTerritorio); - } - - /** - * Returns the bo art legge local service. - * - * @return the bo art legge local service - */ - public it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService getBoArtLeggeLocalService() { - return boArtLeggeLocalService; - } - - /** - * Sets the bo art legge local service. - * - * @param boArtLeggeLocalService the bo art legge local service - */ - public void setBoArtLeggeLocalService( - it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService) { - this.boArtLeggeLocalService = boArtLeggeLocalService; - } - - /** - * Returns the bo art legge persistence. - * - * @return the bo art legge persistence - */ - public BoArtLeggePersistence getBoArtLeggePersistence() { - return boArtLeggePersistence; - } - - /** - * Sets the bo art legge persistence. - * - * @param boArtLeggePersistence the bo art legge persistence - */ - public void setBoArtLeggePersistence( - BoArtLeggePersistence boArtLeggePersistence) { - this.boArtLeggePersistence = boArtLeggePersistence; - } - - /** - * Returns the bo avviso local service. - * - * @return the bo avviso local service - */ - public it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService getBoAvvisoLocalService() { - return boAvvisoLocalService; - } - - /** - * Sets the bo avviso local service. - * - * @param boAvvisoLocalService the bo avviso local service - */ - public void setBoAvvisoLocalService( - it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService) { - this.boAvvisoLocalService = boAvvisoLocalService; - } - - /** - * Returns the bo avviso persistence. - * - * @return the bo avviso persistence - */ - public BoAvvisoPersistence getBoAvvisoPersistence() { - return boAvvisoPersistence; - } - - /** - * Sets the bo avviso persistence. - * - * @param boAvvisoPersistence the bo avviso persistence - */ - public void setBoAvvisoPersistence(BoAvvisoPersistence boAvvisoPersistence) { - this.boAvvisoPersistence = boAvvisoPersistence; - } - - /** - * Returns the bo comune local service. - * - * @return the bo comune local service - */ - public it.tref.liferay.portos.portosimport.service.BoComuneLocalService getBoComuneLocalService() { - return boComuneLocalService; - } - - /** - * Sets the bo comune local service. - * - * @param boComuneLocalService the bo comune local service - */ - public void setBoComuneLocalService( - it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService) { - this.boComuneLocalService = boComuneLocalService; - } - - /** - * Returns the bo comune persistence. - * - * @return the bo comune persistence - */ - public BoComunePersistence getBoComunePersistence() { - return boComunePersistence; - } - - /** - * Sets the bo comune persistence. - * - * @param boComunePersistence the bo comune persistence - */ - public void setBoComunePersistence(BoComunePersistence boComunePersistence) { - this.boComunePersistence = boComunePersistence; - } - - /** - * Returns the bo dett pratica local service. - * - * @return the bo dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService getBoDettPraticaLocalService() { - return boDettPraticaLocalService; - } - - /** - * Sets the bo dett pratica local service. - * - * @param boDettPraticaLocalService the bo dett pratica local service - */ - public void setBoDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService) { - this.boDettPraticaLocalService = boDettPraticaLocalService; - } - - /** - * Returns the bo dett pratica persistence. - * - * @return the bo dett pratica persistence - */ - public BoDettPraticaPersistence getBoDettPraticaPersistence() { - return boDettPraticaPersistence; - } - - /** - * Sets the bo dett pratica persistence. - * - * @param boDettPraticaPersistence the bo dett pratica persistence - */ - public void setBoDettPraticaPersistence( - BoDettPraticaPersistence boDettPraticaPersistence) { - this.boDettPraticaPersistence = boDettPraticaPersistence; - } - - /** - * Returns the bo doc pratica local service. - * - * @return the bo doc pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService getBoDocPraticaLocalService() { - return boDocPraticaLocalService; - } - - /** - * Sets the bo doc pratica local service. - * - * @param boDocPraticaLocalService the bo doc pratica local service - */ - public void setBoDocPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService) { - this.boDocPraticaLocalService = boDocPraticaLocalService; - } - - /** - * Returns the bo doc pratica persistence. - * - * @return the bo doc pratica persistence - */ - public BoDocPraticaPersistence getBoDocPraticaPersistence() { - return boDocPraticaPersistence; - } - - /** - * Sets the bo doc pratica persistence. - * - * @param boDocPraticaPersistence the bo doc pratica persistence - */ - public void setBoDocPraticaPersistence( - BoDocPraticaPersistence boDocPraticaPersistence) { - this.boDocPraticaPersistence = boDocPraticaPersistence; - } - - /** - * Returns the bo int pratica local service. - * - * @return the bo int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService getBoIntPraticaLocalService() { - return boIntPraticaLocalService; - } - - /** - * Sets the bo int pratica local service. - * - * @param boIntPraticaLocalService the bo int pratica local service - */ - public void setBoIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService) { - this.boIntPraticaLocalService = boIntPraticaLocalService; - } - - /** - * Returns the bo int pratica persistence. - * - * @return the bo int pratica persistence - */ - public BoIntPraticaPersistence getBoIntPraticaPersistence() { - return boIntPraticaPersistence; - } - - /** - * Sets the bo int pratica persistence. - * - * @param boIntPraticaPersistence the bo int pratica persistence - */ - public void setBoIntPraticaPersistence( - BoIntPraticaPersistence boIntPraticaPersistence) { - this.boIntPraticaPersistence = boIntPraticaPersistence; - } - - /** - * Returns the bo problemi pratica local service. - * - * @return the bo problemi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService getBoProblemiPraticaLocalService() { - return boProblemiPraticaLocalService; - } - - /** - * Sets the bo problemi pratica local service. - * - * @param boProblemiPraticaLocalService the bo problemi pratica local service - */ - public void setBoProblemiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService) { - this.boProblemiPraticaLocalService = boProblemiPraticaLocalService; - } - - /** - * Returns the bo problemi pratica persistence. - * - * @return the bo problemi pratica persistence - */ - public BoProblemiPraticaPersistence getBoProblemiPraticaPersistence() { - return boProblemiPraticaPersistence; - } - - /** - * Sets the bo problemi pratica persistence. - * - * @param boProblemiPraticaPersistence the bo problemi pratica persistence - */ - public void setBoProblemiPraticaPersistence( - BoProblemiPraticaPersistence boProblemiPraticaPersistence) { - this.boProblemiPraticaPersistence = boProblemiPraticaPersistence; - } - - /** - * Returns the bo rel leggi pratica local service. - * - * @return the bo rel leggi pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService getBoRelLeggiPraticaLocalService() { - return boRelLeggiPraticaLocalService; - } - - /** - * Sets the bo rel leggi pratica local service. - * - * @param boRelLeggiPraticaLocalService the bo rel leggi pratica local service - */ - public void setBoRelLeggiPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService) { - this.boRelLeggiPraticaLocalService = boRelLeggiPraticaLocalService; - } - - /** - * Returns the bo rel leggi pratica persistence. - * - * @return the bo rel leggi pratica persistence - */ - public BoRelLeggiPraticaPersistence getBoRelLeggiPraticaPersistence() { - return boRelLeggiPraticaPersistence; - } - - /** - * Sets the bo rel leggi pratica persistence. - * - * @param boRelLeggiPraticaPersistence the bo rel leggi pratica persistence - */ - public void setBoRelLeggiPraticaPersistence( - BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence) { - this.boRelLeggiPraticaPersistence = boRelLeggiPraticaPersistence; - } - - /** - * Returns the bo sistema costruttivo local service. - * - * @return the bo sistema costruttivo local service - */ - public it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService getBoSistemaCostruttivoLocalService() { - return boSistemaCostruttivoLocalService; - } - - /** - * Sets the bo sistema costruttivo local service. - * - * @param boSistemaCostruttivoLocalService the bo sistema costruttivo local service - */ - public void setBoSistemaCostruttivoLocalService( - it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService) { - this.boSistemaCostruttivoLocalService = boSistemaCostruttivoLocalService; - } - - /** - * Returns the bo sistema costruttivo persistence. - * - * @return the bo sistema costruttivo persistence - */ - public BoSistemaCostruttivoPersistence getBoSistemaCostruttivoPersistence() { - return boSistemaCostruttivoPersistence; - } - - /** - * Sets the bo sistema costruttivo persistence. - * - * @param boSistemaCostruttivoPersistence the bo sistema costruttivo persistence - */ - public void setBoSistemaCostruttivoPersistence( - BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence) { - this.boSistemaCostruttivoPersistence = boSistemaCostruttivoPersistence; - } - - /** - * Returns the bo soggetto local service. - * - * @return the bo soggetto local service - */ - public it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService getBoSoggettoLocalService() { - return boSoggettoLocalService; - } - - /** - * Sets the bo soggetto local service. - * - * @param boSoggettoLocalService the bo soggetto local service - */ - public void setBoSoggettoLocalService( - it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService) { - this.boSoggettoLocalService = boSoggettoLocalService; - } - - /** - * Returns the bo soggetto persistence. - * - * @return the bo soggetto persistence - */ - public BoSoggettoPersistence getBoSoggettoPersistence() { - return boSoggettoPersistence; - } - - /** - * Sets the bo soggetto persistence. - * - * @param boSoggettoPersistence the bo soggetto persistence - */ - public void setBoSoggettoPersistence( - BoSoggettoPersistence boSoggettoPersistence) { - this.boSoggettoPersistence = boSoggettoPersistence; - } - - /** - * Returns the bo sorteggio local service. - * - * @return the bo sorteggio local service - */ - public it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService getBoSorteggioLocalService() { - return boSorteggioLocalService; - } - - /** - * Sets the bo sorteggio local service. - * - * @param boSorteggioLocalService the bo sorteggio local service - */ - public void setBoSorteggioLocalService( - it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService) { - this.boSorteggioLocalService = boSorteggioLocalService; - } - - /** - * Returns the bo sorteggio persistence. - * - * @return the bo sorteggio persistence - */ - public BoSorteggioPersistence getBoSorteggioPersistence() { - return boSorteggioPersistence; - } - - /** - * Sets the bo sorteggio persistence. - * - * @param boSorteggioPersistence the bo sorteggio persistence - */ - public void setBoSorteggioPersistence( - BoSorteggioPersistence boSorteggioPersistence) { - this.boSorteggioPersistence = boSorteggioPersistence; - } - - /** - * Returns the bo storico soggetto pratica local service. - * - * @return the bo storico soggetto pratica local service - */ - public it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService getBoStoricoSoggettoPraticaLocalService() { - return boStoricoSoggettoPraticaLocalService; - } - - /** - * Sets the bo storico soggetto pratica local service. - * - * @param boStoricoSoggettoPraticaLocalService the bo storico soggetto pratica local service - */ - public void setBoStoricoSoggettoPraticaLocalService( - it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService) { - this.boStoricoSoggettoPraticaLocalService = boStoricoSoggettoPraticaLocalService; - } - - /** - * Returns the bo storico soggetto pratica persistence. - * - * @return the bo storico soggetto pratica persistence - */ - public BoStoricoSoggettoPraticaPersistence getBoStoricoSoggettoPraticaPersistence() { - return boStoricoSoggettoPraticaPersistence; - } - - /** - * Sets the bo storico soggetto pratica persistence. - * - * @param boStoricoSoggettoPraticaPersistence the bo storico soggetto pratica persistence - */ - public void setBoStoricoSoggettoPraticaPersistence( - BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence) { - this.boStoricoSoggettoPraticaPersistence = boStoricoSoggettoPraticaPersistence; - } - - /** - * Returns the bo tempistica local service. - * - * @return the bo tempistica local service - */ - public it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService getBoTempisticaLocalService() { - return boTempisticaLocalService; - } - - /** - * Sets the bo tempistica local service. - * - * @param boTempisticaLocalService the bo tempistica local service - */ - public void setBoTempisticaLocalService( - it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService) { - this.boTempisticaLocalService = boTempisticaLocalService; - } - - /** - * Returns the bo tempistica persistence. - * - * @return the bo tempistica persistence - */ - public BoTempisticaPersistence getBoTempisticaPersistence() { - return boTempisticaPersistence; - } - - /** - * Sets the bo tempistica persistence. - * - * @param boTempisticaPersistence the bo tempistica persistence - */ - public void setBoTempisticaPersistence( - BoTempisticaPersistence boTempisticaPersistence) { - this.boTempisticaPersistence = boTempisticaPersistence; - } - - /** - * Returns the bo territorio local service. - * - * @return the bo territorio local service - */ - public it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService getBoTerritorioLocalService() { - return boTerritorioLocalService; - } - - /** - * Sets the bo territorio local service. - * - * @param boTerritorioLocalService the bo territorio local service - */ - public void setBoTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService) { - this.boTerritorioLocalService = boTerritorioLocalService; - } - - /** - * Returns the bo territorio persistence. - * - * @return the bo territorio persistence - */ - public BoTerritorioPersistence getBoTerritorioPersistence() { - return boTerritorioPersistence; - } - - /** - * Sets the bo territorio persistence. - * - * @param boTerritorioPersistence the bo territorio persistence - */ - public void setBoTerritorioPersistence( - BoTerritorioPersistence boTerritorioPersistence) { - this.boTerritorioPersistence = boTerritorioPersistence; - } - - /** - * Returns the fe comune local service. - * - * @return the fe comune local service - */ - public it.tref.liferay.portos.portosimport.service.FeComuneLocalService getFeComuneLocalService() { - return feComuneLocalService; - } - - /** - * Sets the fe comune local service. - * - * @param feComuneLocalService the fe comune local service - */ - public void setFeComuneLocalService( - it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService) { - this.feComuneLocalService = feComuneLocalService; - } - - /** - * Returns the fe comune persistence. - * - * @return the fe comune persistence - */ - public FeComunePersistence getFeComunePersistence() { - return feComunePersistence; - } - - /** - * Sets the fe comune persistence. - * - * @param feComunePersistence the fe comune persistence - */ - public void setFeComunePersistence(FeComunePersistence feComunePersistence) { - this.feComunePersistence = feComunePersistence; - } - - /** - * Returns the fe dett pratica local service. - * - * @return the fe dett pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService getFeDettPraticaLocalService() { - return feDettPraticaLocalService; - } - - /** - * Sets the fe dett pratica local service. - * - * @param feDettPraticaLocalService the fe dett pratica local service - */ - public void setFeDettPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService) { - this.feDettPraticaLocalService = feDettPraticaLocalService; - } - - /** - * Returns the fe dett pratica persistence. - * - * @return the fe dett pratica persistence - */ - public FeDettPraticaPersistence getFeDettPraticaPersistence() { - return feDettPraticaPersistence; - } - - /** - * Sets the fe dett pratica persistence. - * - * @param feDettPraticaPersistence the fe dett pratica persistence - */ - public void setFeDettPraticaPersistence( - FeDettPraticaPersistence feDettPraticaPersistence) { - this.feDettPraticaPersistence = feDettPraticaPersistence; - } - - /** - * Returns the fe int pratica local service. - * - * @return the fe int pratica local service - */ - public it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService getFeIntPraticaLocalService() { - return feIntPraticaLocalService; - } - - /** - * Sets the fe int pratica local service. - * - * @param feIntPraticaLocalService the fe int pratica local service - */ - public void setFeIntPraticaLocalService( - it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService) { - this.feIntPraticaLocalService = feIntPraticaLocalService; - } - - /** - * Returns the fe int pratica persistence. - * - * @return the fe int pratica persistence - */ - public FeIntPraticaPersistence getFeIntPraticaPersistence() { - return feIntPraticaPersistence; - } - - /** - * Sets the fe int pratica persistence. - * - * @param feIntPraticaPersistence the fe int pratica persistence - */ - public void setFeIntPraticaPersistence( - FeIntPraticaPersistence feIntPraticaPersistence) { - this.feIntPraticaPersistence = feIntPraticaPersistence; - } - - /** - * Returns the fe pagamento local service. - * - * @return the fe pagamento local service - */ - public it.tref.liferay.portos.portosimport.service.FePagamentoLocalService getFePagamentoLocalService() { - return fePagamentoLocalService; - } - - /** - * Sets the fe pagamento local service. - * - * @param fePagamentoLocalService the fe pagamento local service - */ - public void setFePagamentoLocalService( - it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService) { - this.fePagamentoLocalService = fePagamentoLocalService; - } - - /** - * Returns the fe pagamento persistence. - * - * @return the fe pagamento persistence - */ - public FePagamentoPersistence getFePagamentoPersistence() { - return fePagamentoPersistence; - } - - /** - * Sets the fe pagamento persistence. - * - * @param fePagamentoPersistence the fe pagamento persistence - */ - public void setFePagamentoPersistence( - FePagamentoPersistence fePagamentoPersistence) { - this.fePagamentoPersistence = fePagamentoPersistence; - } - - /** - * Returns the fe territorio local service. - * - * @return the fe territorio local service - */ - public it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService getFeTerritorioLocalService() { - return feTerritorioLocalService; - } - - /** - * Sets the fe territorio local service. - * - * @param feTerritorioLocalService the fe territorio local service - */ - public void setFeTerritorioLocalService( - it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService) { - this.feTerritorioLocalService = feTerritorioLocalService; - } - - /** - * Returns the fe territorio persistence. - * - * @return the fe territorio persistence - */ - public FeTerritorioPersistence getFeTerritorioPersistence() { - return feTerritorioPersistence; - } - - /** - * Sets the fe territorio persistence. - * - * @param feTerritorioPersistence the fe territorio persistence - */ - public void setFeTerritorioPersistence( - FeTerritorioPersistence feTerritorioPersistence) { - this.feTerritorioPersistence = feTerritorioPersistence; - } - - /** - * Returns the counter local service. - * - * @return the counter local service - */ - public com.liferay.counter.service.CounterLocalService getCounterLocalService() { - return counterLocalService; - } - - /** - * Sets the counter local service. - * - * @param counterLocalService the counter local service - */ - public void setCounterLocalService( - com.liferay.counter.service.CounterLocalService counterLocalService) { - this.counterLocalService = counterLocalService; - } - - /** - * Returns the resource local service. - * - * @return the resource local service - */ - public com.liferay.portal.service.ResourceLocalService getResourceLocalService() { - return resourceLocalService; - } - - /** - * Sets the resource local service. - * - * @param resourceLocalService the resource local service - */ - public void setResourceLocalService( - com.liferay.portal.service.ResourceLocalService resourceLocalService) { - this.resourceLocalService = resourceLocalService; - } - - /** - * Returns the user local service. - * - * @return the user local service - */ - public com.liferay.portal.service.UserLocalService getUserLocalService() { - return userLocalService; - } - - /** - * Sets the user local service. - * - * @param userLocalService the user local service - */ - public void setUserLocalService( - com.liferay.portal.service.UserLocalService userLocalService) { - this.userLocalService = userLocalService; - } - - /** - * Returns the user remote service. - * - * @return the user remote service - */ - public com.liferay.portal.service.UserService getUserService() { - return userService; - } - - /** - * Sets the user remote service. - * - * @param userService the user remote service - */ - public void setUserService( - com.liferay.portal.service.UserService userService) { - this.userService = userService; - } - - /** - * Returns the user persistence. - * - * @return the user persistence - */ - public UserPersistence getUserPersistence() { - return userPersistence; - } - - /** - * Sets the user persistence. - * - * @param userPersistence the user persistence - */ - public void setUserPersistence(UserPersistence userPersistence) { - this.userPersistence = userPersistence; - } - - public void afterPropertiesSet() { - Class clazz = getClass(); - - _classLoader = clazz.getClassLoader(); - - PersistedModelLocalServiceRegistryUtil.register("it.tref.liferay.portos.portosimport.model.FeTerritorio", - feTerritorioLocalService); - } - - public void destroy() { - PersistedModelLocalServiceRegistryUtil.unregister( - "it.tref.liferay.portos.portosimport.model.FeTerritorio"); - } - - /** - * Returns the Spring bean ID for this bean. - * - * @return the Spring bean ID for this bean - */ - @Override - public String getBeanIdentifier() { - return _beanIdentifier; - } - - /** - * Sets the Spring bean ID for this bean. - * - * @param beanIdentifier the Spring bean ID for this bean - */ - @Override - public void setBeanIdentifier(String beanIdentifier) { - _beanIdentifier = beanIdentifier; - } - - @Override - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - Thread currentThread = Thread.currentThread(); - - ClassLoader contextClassLoader = currentThread.getContextClassLoader(); - - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(_classLoader); - } - - try { - return _clpInvoker.invokeMethod(name, parameterTypes, arguments); - } - finally { - if (contextClassLoader != _classLoader) { - currentThread.setContextClassLoader(contextClassLoader); - } - } - } - - protected Class getModelClass() { - return FeTerritorio.class; - } - - protected String getModelClassName() { - return FeTerritorio.class.getName(); - } - - /** - * Performs an SQL query. - * - * @param sql the sql query - */ - protected void runSQL(String sql) throws SystemException { - try { - DataSource dataSource = feTerritorioPersistence.getDataSource(); - - SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource, - sql, new int[0]); - - sqlUpdate.update(); - } - catch (Exception e) { - throw new SystemException(e); - } - } - - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService boArtLeggeLocalService; - @BeanReference(type = BoArtLeggePersistence.class) - protected BoArtLeggePersistence boArtLeggePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService boAvvisoLocalService; - @BeanReference(type = BoAvvisoPersistence.class) - protected BoAvvisoPersistence boAvvisoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoComuneLocalService boComuneLocalService; - @BeanReference(type = BoComunePersistence.class) - protected BoComunePersistence boComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService boDettPraticaLocalService; - @BeanReference(type = BoDettPraticaPersistence.class) - protected BoDettPraticaPersistence boDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService boDocPraticaLocalService; - @BeanReference(type = BoDocPraticaPersistence.class) - protected BoDocPraticaPersistence boDocPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService boIntPraticaLocalService; - @BeanReference(type = BoIntPraticaPersistence.class) - protected BoIntPraticaPersistence boIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService boProblemiPraticaLocalService; - @BeanReference(type = BoProblemiPraticaPersistence.class) - protected BoProblemiPraticaPersistence boProblemiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService boRelLeggiPraticaLocalService; - @BeanReference(type = BoRelLeggiPraticaPersistence.class) - protected BoRelLeggiPraticaPersistence boRelLeggiPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService boSistemaCostruttivoLocalService; - @BeanReference(type = BoSistemaCostruttivoPersistence.class) - protected BoSistemaCostruttivoPersistence boSistemaCostruttivoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService boSoggettoLocalService; - @BeanReference(type = BoSoggettoPersistence.class) - protected BoSoggettoPersistence boSoggettoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService boSorteggioLocalService; - @BeanReference(type = BoSorteggioPersistence.class) - protected BoSorteggioPersistence boSorteggioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService boStoricoSoggettoPraticaLocalService; - @BeanReference(type = BoStoricoSoggettoPraticaPersistence.class) - protected BoStoricoSoggettoPraticaPersistence boStoricoSoggettoPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService boTempisticaLocalService; - @BeanReference(type = BoTempisticaPersistence.class) - protected BoTempisticaPersistence boTempisticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService boTerritorioLocalService; - @BeanReference(type = BoTerritorioPersistence.class) - protected BoTerritorioPersistence boTerritorioPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeComuneLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeComuneLocalService feComuneLocalService; - @BeanReference(type = FeComunePersistence.class) - protected FeComunePersistence feComunePersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService feDettPraticaLocalService; - @BeanReference(type = FeDettPraticaPersistence.class) - protected FeDettPraticaPersistence feDettPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService feIntPraticaLocalService; - @BeanReference(type = FeIntPraticaPersistence.class) - protected FeIntPraticaPersistence feIntPraticaPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FePagamentoLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FePagamentoLocalService fePagamentoLocalService; - @BeanReference(type = FePagamentoPersistence.class) - protected FePagamentoPersistence fePagamentoPersistence; - @BeanReference(type = it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService.class) - protected it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService feTerritorioLocalService; - @BeanReference(type = FeTerritorioPersistence.class) - protected FeTerritorioPersistence feTerritorioPersistence; - @BeanReference(type = com.liferay.counter.service.CounterLocalService.class) - protected com.liferay.counter.service.CounterLocalService counterLocalService; - @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class) - protected com.liferay.portal.service.ResourceLocalService resourceLocalService; - @BeanReference(type = com.liferay.portal.service.UserLocalService.class) - protected com.liferay.portal.service.UserLocalService userLocalService; - @BeanReference(type = com.liferay.portal.service.UserService.class) - protected com.liferay.portal.service.UserService userService; - @BeanReference(type = UserPersistence.class) - protected UserPersistence userPersistence; - private String _beanIdentifier; - private ClassLoader _classLoader; - private FeTerritorioLocalServiceClpInvoker _clpInvoker = new FeTerritorioLocalServiceClpInvoker(); -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/FeTerritorioLocalServiceClpInvoker.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/FeTerritorioLocalServiceClpInvoker.java deleted file mode 100644 index a9b3307e..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/base/FeTerritorioLocalServiceClpInvoker.java +++ /dev/null @@ -1,271 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.base; - -import it.tref.liferay.portos.portosimport.service.FeTerritorioLocalServiceUtil; - -import java.util.Arrays; - -/** - * @author Davide Barbagallo, 3F Consulting - * @generated - */ -public class FeTerritorioLocalServiceClpInvoker { - public FeTerritorioLocalServiceClpInvoker() { - _methodName0 = "addFeTerritorio"; - - _methodParameterTypes0 = new String[] { - "it.tref.liferay.portos.portosimport.model.FeTerritorio" - }; - - _methodName1 = "createFeTerritorio"; - - _methodParameterTypes1 = new String[] { "long" }; - - _methodName2 = "deleteFeTerritorio"; - - _methodParameterTypes2 = new String[] { "long" }; - - _methodName3 = "deleteFeTerritorio"; - - _methodParameterTypes3 = new String[] { - "it.tref.liferay.portos.portosimport.model.FeTerritorio" - }; - - _methodName4 = "dynamicQuery"; - - _methodParameterTypes4 = new String[] { }; - - _methodName5 = "dynamicQuery"; - - _methodParameterTypes5 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName6 = "dynamicQuery"; - - _methodParameterTypes6 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int" - }; - - _methodName7 = "dynamicQuery"; - - _methodParameterTypes7 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int", - "com.liferay.portal.kernel.util.OrderByComparator" - }; - - _methodName8 = "dynamicQueryCount"; - - _methodParameterTypes8 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery" - }; - - _methodName9 = "dynamicQueryCount"; - - _methodParameterTypes9 = new String[] { - "com.liferay.portal.kernel.dao.orm.DynamicQuery", - "com.liferay.portal.kernel.dao.orm.Projection" - }; - - _methodName10 = "fetchFeTerritorio"; - - _methodParameterTypes10 = new String[] { "long" }; - - _methodName11 = "getFeTerritorio"; - - _methodParameterTypes11 = new String[] { "long" }; - - _methodName12 = "getPersistedModel"; - - _methodParameterTypes12 = new String[] { "java.io.Serializable" }; - - _methodName13 = "getFeTerritorios"; - - _methodParameterTypes13 = new String[] { "int", "int" }; - - _methodName14 = "getFeTerritoriosCount"; - - _methodParameterTypes14 = new String[] { }; - - _methodName15 = "updateFeTerritorio"; - - _methodParameterTypes15 = new String[] { - "it.tref.liferay.portos.portosimport.model.FeTerritorio" - }; - - _methodName104 = "getBeanIdentifier"; - - _methodParameterTypes104 = new String[] { }; - - _methodName105 = "setBeanIdentifier"; - - _methodParameterTypes105 = new String[] { "java.lang.String" }; - - _methodName110 = "findByC_Z_F"; - - _methodParameterTypes110 = new String[] { "long", "long", "long" }; - } - - public Object invokeMethod(String name, String[] parameterTypes, - Object[] arguments) throws Throwable { - if (_methodName0.equals(name) && - Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) { - return FeTerritorioLocalServiceUtil.addFeTerritorio((it.tref.liferay.portos.portosimport.model.FeTerritorio)arguments[0]); - } - - if (_methodName1.equals(name) && - Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) { - return FeTerritorioLocalServiceUtil.createFeTerritorio(((Long)arguments[0]).longValue()); - } - - if (_methodName2.equals(name) && - Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) { - return FeTerritorioLocalServiceUtil.deleteFeTerritorio(((Long)arguments[0]).longValue()); - } - - if (_methodName3.equals(name) && - Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) { - return FeTerritorioLocalServiceUtil.deleteFeTerritorio((it.tref.liferay.portos.portosimport.model.FeTerritorio)arguments[0]); - } - - if (_methodName4.equals(name) && - Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) { - return FeTerritorioLocalServiceUtil.dynamicQuery(); - } - - if (_methodName5.equals(name) && - Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) { - return FeTerritorioLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName6.equals(name) && - Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) { - return FeTerritorioLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue()); - } - - if (_methodName7.equals(name) && - Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) { - return FeTerritorioLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - ((Integer)arguments[1]).intValue(), - ((Integer)arguments[2]).intValue(), - (com.liferay.portal.kernel.util.OrderByComparator)arguments[3]); - } - - if (_methodName8.equals(name) && - Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) { - return FeTerritorioLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0]); - } - - if (_methodName9.equals(name) && - Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) { - return FeTerritorioLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery)arguments[0], - (com.liferay.portal.kernel.dao.orm.Projection)arguments[1]); - } - - if (_methodName10.equals(name) && - Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) { - return FeTerritorioLocalServiceUtil.fetchFeTerritorio(((Long)arguments[0]).longValue()); - } - - if (_methodName11.equals(name) && - Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) { - return FeTerritorioLocalServiceUtil.getFeTerritorio(((Long)arguments[0]).longValue()); - } - - if (_methodName12.equals(name) && - Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) { - return FeTerritorioLocalServiceUtil.getPersistedModel((java.io.Serializable)arguments[0]); - } - - if (_methodName13.equals(name) && - Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) { - return FeTerritorioLocalServiceUtil.getFeTerritorios(((Integer)arguments[0]).intValue(), - ((Integer)arguments[1]).intValue()); - } - - if (_methodName14.equals(name) && - Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) { - return FeTerritorioLocalServiceUtil.getFeTerritoriosCount(); - } - - if (_methodName15.equals(name) && - Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) { - return FeTerritorioLocalServiceUtil.updateFeTerritorio((it.tref.liferay.portos.portosimport.model.FeTerritorio)arguments[0]); - } - - if (_methodName104.equals(name) && - Arrays.deepEquals(_methodParameterTypes104, parameterTypes)) { - return FeTerritorioLocalServiceUtil.getBeanIdentifier(); - } - - if (_methodName105.equals(name) && - Arrays.deepEquals(_methodParameterTypes105, parameterTypes)) { - FeTerritorioLocalServiceUtil.setBeanIdentifier((java.lang.String)arguments[0]); - - return null; - } - - if (_methodName110.equals(name) && - Arrays.deepEquals(_methodParameterTypes110, parameterTypes)) { - return FeTerritorioLocalServiceUtil.findByC_Z_F(((Long)arguments[0]).longValue(), - ((Long)arguments[1]).longValue(), - ((Long)arguments[2]).longValue()); - } - - throw new UnsupportedOperationException(); - } - - private String _methodName0; - private String[] _methodParameterTypes0; - private String _methodName1; - private String[] _methodParameterTypes1; - private String _methodName2; - private String[] _methodParameterTypes2; - private String _methodName3; - private String[] _methodParameterTypes3; - private String _methodName4; - private String[] _methodParameterTypes4; - private String _methodName5; - private String[] _methodParameterTypes5; - private String _methodName6; - private String[] _methodParameterTypes6; - private String _methodName7; - private String[] _methodParameterTypes7; - private String _methodName8; - private String[] _methodParameterTypes8; - private String _methodName9; - private String[] _methodParameterTypes9; - private String _methodName10; - private String[] _methodParameterTypes10; - private String _methodName11; - private String[] _methodParameterTypes11; - private String _methodName12; - private String[] _methodParameterTypes12; - private String _methodName13; - private String[] _methodParameterTypes13; - private String _methodName14; - private String[] _methodParameterTypes14; - private String _methodName15; - private String[] _methodParameterTypes15; - private String _methodName104; - private String[] _methodParameterTypes104; - private String _methodName105; - private String[] _methodParameterTypes105; - private String _methodName110; - private String[] _methodParameterTypes110; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoArtLeggeLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoArtLeggeLocalServiceImpl.java deleted file mode 100644 index c98de4f8..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoArtLeggeLocalServiceImpl.java +++ /dev/null @@ -1,46 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.BoArtLegge; -import it.tref.liferay.portos.portosimport.service.base.BoArtLeggeLocalServiceBaseImpl; - -/** - * The implementation of the bo art legge local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.base.BoArtLeggeLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalServiceUtil - */ -public class BoArtLeggeLocalServiceImpl extends BoArtLeggeLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.portosimport.service.BoArtLeggeLocalServiceUtil} to access the bo art legge local service. - */ - - public BoArtLegge fetchByPrimaryKey(long artLeggeId)throws SystemException{ - return boArtLeggePersistence.fetchByPrimaryKey(artLeggeId); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoAvvisoLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoAvvisoLocalServiceImpl.java deleted file mode 100644 index 1bda7921..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoAvvisoLocalServiceImpl.java +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.impl; - -import it.tref.liferay.portos.portosimport.service.base.BoAvvisoLocalServiceBaseImpl; - -/** - * The implementation of the bo avviso local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.portosimport.service.BoAvvisoLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.base.BoAvvisoLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.BoAvvisoLocalServiceUtil - */ -public class BoAvvisoLocalServiceImpl extends BoAvvisoLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.portosimport.service.BoAvvisoLocalServiceUtil} to access the bo avviso local service. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoComuneLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoComuneLocalServiceImpl.java deleted file mode 100644 index d77eb672..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoComuneLocalServiceImpl.java +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.impl; - -import it.tref.liferay.portos.portosimport.service.base.BoComuneLocalServiceBaseImpl; - -/** - * The implementation of the bo comune local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.portosimport.service.BoComuneLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.base.BoComuneLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.BoComuneLocalServiceUtil - */ -public class BoComuneLocalServiceImpl extends BoComuneLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.portosimport.service.BoComuneLocalServiceUtil} to access the bo comune local service. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoDettPraticaLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoDettPraticaLocalServiceImpl.java deleted file mode 100644 index aae37bb7..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoDettPraticaLocalServiceImpl.java +++ /dev/null @@ -1,58 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.impl; - -import com.liferay.portal.kernel.exception.PortalException; -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.BoDettPratica; -import it.tref.liferay.portos.portosimport.service.base.BoDettPraticaLocalServiceBaseImpl; - -import java.util.List; - -/** - * The implementation of the bo dett pratica local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun - * ServiceBuilder to copy their definitions into the - * {@link it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the - * propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.base.BoDettPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalServiceUtil - */ -public class BoDettPraticaLocalServiceImpl extends BoDettPraticaLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: Never reference this interface directly. Always use {@link - * it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalServiceUtil} to access the bo - * dett pratica local service. - */ - - public BoDettPratica fetchByCodPraticaSuap(String codPraticaSuap) throws SystemException, PortalException { - - return boDettPraticaPersistence.fetchByCodPraticaSuap(codPraticaSuap); - } - - public List findByIntPraticaId(long intPraticaId) throws SystemException { - - return boDettPraticaPersistence.findByIntPraticaId(intPraticaId); - } -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoDocPraticaLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoDocPraticaLocalServiceImpl.java deleted file mode 100644 index 5bbcb3e1..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoDocPraticaLocalServiceImpl.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.impl; - -import it.tref.liferay.portos.portosimport.service.base.BoDocPraticaLocalServiceBaseImpl; - -/** - * The implementation of the bo doc pratica local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.base.BoDocPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalServiceUtil - */ -public class BoDocPraticaLocalServiceImpl - extends BoDocPraticaLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.portosimport.service.BoDocPraticaLocalServiceUtil} to access the bo doc pratica local service. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoIntPraticaLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoIntPraticaLocalServiceImpl.java deleted file mode 100644 index 1693a3ad..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoIntPraticaLocalServiceImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.BoIntPratica; -import it.tref.liferay.portos.portosimport.service.base.BoIntPraticaLocalServiceBaseImpl; - -/** - * The implementation of the bo int pratica local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun - * ServiceBuilder to copy their definitions into the - * {@link it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the - * propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.base.BoIntPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalServiceUtil - */ -public class BoIntPraticaLocalServiceImpl extends BoIntPraticaLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: Never reference this interface directly. Always use {@link - * it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalServiceUtil} to access the bo int - * pratica local service. - */ - - public BoIntPratica fetchByIntPraticaId(long intPraticaId) throws SystemException { - - return boIntPraticaLocalService.fetchBoIntPratica(intPraticaId); - } -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoProblemiPraticaLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoProblemiPraticaLocalServiceImpl.java deleted file mode 100644 index 77cb46ea..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoProblemiPraticaLocalServiceImpl.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.impl; - -import it.tref.liferay.portos.portosimport.service.base.BoProblemiPraticaLocalServiceBaseImpl; - -/** - * The implementation of the bo problemi pratica local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.base.BoProblemiPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalServiceUtil - */ -public class BoProblemiPraticaLocalServiceImpl - extends BoProblemiPraticaLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.portosimport.service.BoProblemiPraticaLocalServiceUtil} to access the bo problemi pratica local service. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoRelLeggiPraticaLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoRelLeggiPraticaLocalServiceImpl.java deleted file mode 100644 index a3b605c0..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoRelLeggiPraticaLocalServiceImpl.java +++ /dev/null @@ -1,49 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica; -import it.tref.liferay.portos.portosimport.service.base.BoRelLeggiPraticaLocalServiceBaseImpl; - -import java.util.List; - -/** - * The implementation of the bo rel leggi pratica local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.base.BoRelLeggiPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalServiceUtil - */ -public class BoRelLeggiPraticaLocalServiceImpl - extends BoRelLeggiPraticaLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.portosimport.service.BoRelLeggiPraticaLocalServiceUtil} to access the bo rel leggi pratica local service. - */ - - public List findByIntPraticaId (long intPraticaId)throws SystemException { - return boRelLeggiPraticaPersistence.findByIntPraticaId(intPraticaId); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoSistemaCostruttivoLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoSistemaCostruttivoLocalServiceImpl.java deleted file mode 100644 index 90b5e2c4..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoSistemaCostruttivoLocalServiceImpl.java +++ /dev/null @@ -1,48 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo; -import it.tref.liferay.portos.portosimport.service.base.BoSistemaCostruttivoLocalServiceBaseImpl; - -import java.util.List; - -/** - * The implementation of the bo sistema costruttivo local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.base.BoSistemaCostruttivoLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalServiceUtil - */ -public class BoSistemaCostruttivoLocalServiceImpl - extends BoSistemaCostruttivoLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.portosimport.service.BoSistemaCostruttivoLocalServiceUtil} to access the bo sistema costruttivo local service. - */ - public List findByC_G_BoIntPratica(long intPraticaId) throws SystemException { - return boSistemaCostruttivoPersistence.findByintPraticaId(intPraticaId); - } -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoSoggettoLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoSoggettoLocalServiceImpl.java deleted file mode 100644 index 2b583055..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoSoggettoLocalServiceImpl.java +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.impl; - -import it.tref.liferay.portos.portosimport.service.base.BoSoggettoLocalServiceBaseImpl; - -/** - * The implementation of the bo soggetto local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.portosimport.service.BoSoggettoLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.base.BoSoggettoLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.BoSoggettoLocalServiceUtil - */ -public class BoSoggettoLocalServiceImpl extends BoSoggettoLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.portosimport.service.BoSoggettoLocalServiceUtil} to access the bo soggetto local service. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoSorteggioLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoSorteggioLocalServiceImpl.java deleted file mode 100644 index c6a990fa..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoSorteggioLocalServiceImpl.java +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.impl; - -import it.tref.liferay.portos.portosimport.service.base.BoSorteggioLocalServiceBaseImpl; - -/** - * The implementation of the bo sorteggio local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.portosimport.service.BoSorteggioLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.base.BoSorteggioLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.BoSorteggioLocalServiceUtil - */ -public class BoSorteggioLocalServiceImpl extends BoSorteggioLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.portosimport.service.BoSorteggioLocalServiceUtil} to access the bo sorteggio local service. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoStoricoSoggettoPraticaLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoStoricoSoggettoPraticaLocalServiceImpl.java deleted file mode 100644 index 466d8601..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoStoricoSoggettoPraticaLocalServiceImpl.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.impl; - -import it.tref.liferay.portos.portosimport.service.base.BoStoricoSoggettoPraticaLocalServiceBaseImpl; - -/** - * The implementation of the bo storico soggetto pratica local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.base.BoStoricoSoggettoPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalServiceUtil - */ -public class BoStoricoSoggettoPraticaLocalServiceImpl - extends BoStoricoSoggettoPraticaLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.portosimport.service.BoStoricoSoggettoPraticaLocalServiceUtil} to access the bo storico soggetto pratica local service. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoTempisticaLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoTempisticaLocalServiceImpl.java deleted file mode 100644 index 70a26ed7..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoTempisticaLocalServiceImpl.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.impl; - -import it.tref.liferay.portos.portosimport.service.base.BoTempisticaLocalServiceBaseImpl; - -/** - * The implementation of the bo tempistica local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.portosimport.service.BoTempisticaLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.base.BoTempisticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.BoTempisticaLocalServiceUtil - */ -public class BoTempisticaLocalServiceImpl - extends BoTempisticaLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.portosimport.service.BoTempisticaLocalServiceUtil} to access the bo tempistica local service. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoTerritorioLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoTerritorioLocalServiceImpl.java deleted file mode 100644 index 5718ecf3..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/BoTerritorioLocalServiceImpl.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.impl; - -import it.tref.liferay.portos.portosimport.service.base.BoTerritorioLocalServiceBaseImpl; - -/** - * The implementation of the bo territorio local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.portosimport.service.BoTerritorioLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.base.BoTerritorioLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.BoTerritorioLocalServiceUtil - */ -public class BoTerritorioLocalServiceImpl - extends BoTerritorioLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.portosimport.service.BoTerritorioLocalServiceUtil} to access the bo territorio local service. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/FeComuneLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/FeComuneLocalServiceImpl.java deleted file mode 100644 index e756545c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/FeComuneLocalServiceImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.FeComune; -import it.tref.liferay.portos.portosimport.service.base.FeComuneLocalServiceBaseImpl; - - -/** - * The implementation of the fe comune local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.portosimport.service.FeComuneLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.base.FeComuneLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.FeComuneLocalServiceUtil - */ -public class FeComuneLocalServiceImpl extends FeComuneLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.portosimport.service.FeComuneLocalServiceUtil} to access the fe comune local service. - */ - @Override - public FeComune fetchBycodIstat(String codIstat) throws SystemException { - - return feComunePersistence.fetchByCodIstat(codIstat); - } - - -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/FeDettPraticaLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/FeDettPraticaLocalServiceImpl.java deleted file mode 100644 index 1f62fa46..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/FeDettPraticaLocalServiceImpl.java +++ /dev/null @@ -1,54 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.FeDettPratica; -import it.tref.liferay.portos.portosimport.service.base.FeDettPraticaLocalServiceBaseImpl; - -/** - * The implementation of the fe dett pratica local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun - * ServiceBuilder to copy their definitions into the - * {@link it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the - * propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.base.FeDettPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalServiceUtil - */ -public class FeDettPraticaLocalServiceImpl extends FeDettPraticaLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: Never reference this interface directly. Always use {@link - * it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalServiceUtil} to access the fe - * dett pratica local service. - */ - public FeDettPratica fetchByCodPraticaSuap(String codPraticaSuap) throws SystemException { - - return feDettPraticaPersistence.fetchByCodPraticaSuap(codPraticaSuap); - } - - public FeDettPratica fetchByDettPraticaId(long dettPraticaId) throws SystemException { - - return feDettPraticaPersistence.fetchByPrimaryKey(dettPraticaId); - } -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/FeIntPraticaLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/FeIntPraticaLocalServiceImpl.java deleted file mode 100644 index c9186cf2..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/FeIntPraticaLocalServiceImpl.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.impl; - -import it.tref.liferay.portos.portosimport.service.base.FeIntPraticaLocalServiceBaseImpl; - -/** - * The implementation of the fe int pratica local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.base.FeIntPraticaLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalServiceUtil - */ -public class FeIntPraticaLocalServiceImpl - extends FeIntPraticaLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.portosimport.service.FeIntPraticaLocalServiceUtil} to access the fe int pratica local service. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/FePagamentoLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/FePagamentoLocalServiceImpl.java deleted file mode 100644 index 3d204a28..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/FePagamentoLocalServiceImpl.java +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.impl; - -import it.tref.liferay.portos.portosimport.service.base.FePagamentoLocalServiceBaseImpl; - -/** - * The implementation of the fe pagamento local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.portosimport.service.FePagamentoLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.base.FePagamentoLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.FePagamentoLocalServiceUtil - */ -public class FePagamentoLocalServiceImpl extends FePagamentoLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link it.tref.liferay.portos.portosimport.service.FePagamentoLocalServiceUtil} to access the fe pagamento local service. - */ -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/FeTerritorioLocalServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/FeTerritorioLocalServiceImpl.java deleted file mode 100644 index 9e6deb81..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/impl/FeTerritorioLocalServiceImpl.java +++ /dev/null @@ -1,53 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under the terms of the - * GNU Lesser General Public License as published by the Free Software Foundation; either version - * 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without - * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - */ - -package it.tref.liferay.portos.portosimport.service.impl; - -import com.liferay.portal.kernel.exception.SystemException; - -import it.tref.liferay.portos.portosimport.model.FeTerritorio; -import it.tref.liferay.portos.portosimport.service.base.FeTerritorioLocalServiceBaseImpl; - -import java.util.List; - -/** - * The implementation of the fe territorio local service. - * - *

- * All custom service methods should be put in this class. Whenever methods are added, rerun - * ServiceBuilder to copy their definitions into the - * {@link it.tref.liferay.portos.portosimport.service.FeTerritorioLocalService} interface. - * - *

- * This is a local service. Methods of this service will not have security checks based on the - * propagated JAAS credentials because this service can only be accessed from within the same VM. - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see it.tref.liferay.portos.portosimport.service.base.FeTerritorioLocalServiceBaseImpl - * @see it.tref.liferay.portos.portosimport.service.FeTerritorioLocalServiceUtil - */ -public class FeTerritorioLocalServiceImpl extends FeTerritorioLocalServiceBaseImpl { - /* - * NOTE FOR DEVELOPERS: - * - * Never reference this interface directly. Always use {@link - * it.tref.liferay.portos.portosimport.service.FeTerritorioLocalServiceUtil} to access the fe - * territorio local service. - */ - - @Override - public List findByC_Z_F(long comuneId, long zonaId, long fasciaId) throws SystemException { - - return feTerritorioPersistence.findByC_Z_F(comuneId, zonaId, fasciaId); - } -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoArtLeggePersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoArtLeggePersistenceImpl.java deleted file mode 100644 index 97e7d7fc..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoArtLeggePersistenceImpl.java +++ /dev/null @@ -1,1599 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException; -import it.tref.liferay.portos.portosimport.model.BoArtLegge; -import it.tref.liferay.portos.portosimport.model.impl.BoArtLeggeImpl; -import it.tref.liferay.portos.portosimport.model.impl.BoArtLeggeModelImpl; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -/** - * The persistence implementation for the bo art legge service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoArtLeggePersistence - * @see BoArtLeggeUtil - * @generated - */ -public class BoArtLeggePersistenceImpl extends BasePersistenceImpl - implements BoArtLeggePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link BoArtLeggeUtil} to access the bo art legge persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = BoArtLeggeImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(BoArtLeggeModelImpl.ENTITY_CACHE_ENABLED, - BoArtLeggeModelImpl.FINDER_CACHE_ENABLED, BoArtLeggeImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(BoArtLeggeModelImpl.ENTITY_CACHE_ENABLED, - BoArtLeggeModelImpl.FINDER_CACHE_ENABLED, BoArtLeggeImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(BoArtLeggeModelImpl.ENTITY_CACHE_ENABLED, - BoArtLeggeModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_FETCH_BY_CODARTLEGGE_TIPOLOGIA = new FinderPath(BoArtLeggeModelImpl.ENTITY_CACHE_ENABLED, - BoArtLeggeModelImpl.FINDER_CACHE_ENABLED, BoArtLeggeImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchBycodArtLegge_tipologia", - new String[] { String.class.getName(), String.class.getName() }, - BoArtLeggeModelImpl.CODARTLEGGE_COLUMN_BITMASK | - BoArtLeggeModelImpl.TIPOLOGIA_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_CODARTLEGGE_TIPOLOGIA = new FinderPath(BoArtLeggeModelImpl.ENTITY_CACHE_ENABLED, - BoArtLeggeModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countBycodArtLegge_tipologia", - new String[] { String.class.getName(), String.class.getName() }); - - /** - * Returns the bo art legge where codArtLegge = ? and tipologia = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException} if it could not be found. - * - * @param codArtLegge the cod art legge - * @param tipologia the tipologia - * @return the matching bo art legge - * @throws it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoArtLegge findBycodArtLegge_tipologia(String codArtLegge, - String tipologia) throws NoSuchBoArtLeggeException, SystemException { - BoArtLegge boArtLegge = fetchBycodArtLegge_tipologia(codArtLegge, - tipologia); - - if (boArtLegge == null) { - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("codArtLegge="); - msg.append(codArtLegge); - - msg.append(", tipologia="); - msg.append(tipologia); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoArtLeggeException(msg.toString()); - } - - return boArtLegge; - } - - /** - * Returns the bo art legge where codArtLegge = ? and tipologia = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codArtLegge the cod art legge - * @param tipologia the tipologia - * @return the matching bo art legge, or null if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoArtLegge fetchBycodArtLegge_tipologia(String codArtLegge, - String tipologia) throws SystemException { - return fetchBycodArtLegge_tipologia(codArtLegge, tipologia, true); - } - - /** - * Returns the bo art legge where codArtLegge = ? and tipologia = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codArtLegge the cod art legge - * @param tipologia the tipologia - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo art legge, or null if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoArtLegge fetchBycodArtLegge_tipologia(String codArtLegge, - String tipologia, boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { codArtLegge, tipologia }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_CODARTLEGGE_TIPOLOGIA, - finderArgs, this); - } - - if (result instanceof BoArtLegge) { - BoArtLegge boArtLegge = (BoArtLegge)result; - - if (!Validator.equals(codArtLegge, boArtLegge.getCodArtLegge()) || - !Validator.equals(tipologia, boArtLegge.getTipologia())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_SELECT_BOARTLEGGE_WHERE); - - boolean bindCodArtLegge = false; - - if (codArtLegge == null) { - query.append(_FINDER_COLUMN_CODARTLEGGE_TIPOLOGIA_CODARTLEGGE_1); - } - else if (codArtLegge.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_CODARTLEGGE_TIPOLOGIA_CODARTLEGGE_3); - } - else { - bindCodArtLegge = true; - - query.append(_FINDER_COLUMN_CODARTLEGGE_TIPOLOGIA_CODARTLEGGE_2); - } - - boolean bindTipologia = false; - - if (tipologia == null) { - query.append(_FINDER_COLUMN_CODARTLEGGE_TIPOLOGIA_TIPOLOGIA_1); - } - else if (tipologia.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_CODARTLEGGE_TIPOLOGIA_TIPOLOGIA_3); - } - else { - bindTipologia = true; - - query.append(_FINDER_COLUMN_CODARTLEGGE_TIPOLOGIA_TIPOLOGIA_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindCodArtLegge) { - qPos.add(codArtLegge); - } - - if (bindTipologia) { - qPos.add(tipologia); - } - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODARTLEGGE_TIPOLOGIA, - finderArgs, list); - } - else { - BoArtLegge boArtLegge = list.get(0); - - result = boArtLegge; - - cacheResult(boArtLegge); - - if ((boArtLegge.getCodArtLegge() == null) || - !boArtLegge.getCodArtLegge().equals(codArtLegge) || - (boArtLegge.getTipologia() == null) || - !boArtLegge.getTipologia().equals(tipologia)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODARTLEGGE_TIPOLOGIA, - finderArgs, boArtLegge); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODARTLEGGE_TIPOLOGIA, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoArtLegge)result; - } - } - - /** - * Removes the bo art legge where codArtLegge = ? and tipologia = ? from the database. - * - * @param codArtLegge the cod art legge - * @param tipologia the tipologia - * @return the bo art legge that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoArtLegge removeBycodArtLegge_tipologia(String codArtLegge, - String tipologia) throws NoSuchBoArtLeggeException, SystemException { - BoArtLegge boArtLegge = findBycodArtLegge_tipologia(codArtLegge, - tipologia); - - return remove(boArtLegge); - } - - /** - * Returns the number of bo art legges where codArtLegge = ? and tipologia = ?. - * - * @param codArtLegge the cod art legge - * @param tipologia the tipologia - * @return the number of matching bo art legges - * @throws SystemException if a system exception occurred - */ - @Override - public int countBycodArtLegge_tipologia(String codArtLegge, String tipologia) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_CODARTLEGGE_TIPOLOGIA; - - Object[] finderArgs = new Object[] { codArtLegge, tipologia }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOARTLEGGE_WHERE); - - boolean bindCodArtLegge = false; - - if (codArtLegge == null) { - query.append(_FINDER_COLUMN_CODARTLEGGE_TIPOLOGIA_CODARTLEGGE_1); - } - else if (codArtLegge.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_CODARTLEGGE_TIPOLOGIA_CODARTLEGGE_3); - } - else { - bindCodArtLegge = true; - - query.append(_FINDER_COLUMN_CODARTLEGGE_TIPOLOGIA_CODARTLEGGE_2); - } - - boolean bindTipologia = false; - - if (tipologia == null) { - query.append(_FINDER_COLUMN_CODARTLEGGE_TIPOLOGIA_TIPOLOGIA_1); - } - else if (tipologia.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_CODARTLEGGE_TIPOLOGIA_TIPOLOGIA_3); - } - else { - bindTipologia = true; - - query.append(_FINDER_COLUMN_CODARTLEGGE_TIPOLOGIA_TIPOLOGIA_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindCodArtLegge) { - qPos.add(codArtLegge); - } - - if (bindTipologia) { - qPos.add(tipologia); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_CODARTLEGGE_TIPOLOGIA_CODARTLEGGE_1 = - "boArtLegge.codArtLegge IS NULL AND "; - private static final String _FINDER_COLUMN_CODARTLEGGE_TIPOLOGIA_CODARTLEGGE_2 = - "boArtLegge.codArtLegge = ? AND "; - private static final String _FINDER_COLUMN_CODARTLEGGE_TIPOLOGIA_CODARTLEGGE_3 = - "(boArtLegge.codArtLegge IS NULL OR boArtLegge.codArtLegge = '') AND "; - private static final String _FINDER_COLUMN_CODARTLEGGE_TIPOLOGIA_TIPOLOGIA_1 = - "boArtLegge.tipologia IS NULL"; - private static final String _FINDER_COLUMN_CODARTLEGGE_TIPOLOGIA_TIPOLOGIA_2 = - "boArtLegge.tipologia = ?"; - private static final String _FINDER_COLUMN_CODARTLEGGE_TIPOLOGIA_TIPOLOGIA_3 = - "(boArtLegge.tipologia IS NULL OR boArtLegge.tipologia = '')"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_TIPOLOGIA = - new FinderPath(BoArtLeggeModelImpl.ENTITY_CACHE_ENABLED, - BoArtLeggeModelImpl.FINDER_CACHE_ENABLED, BoArtLeggeImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findBytipologia", - new String[] { - String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TIPOLOGIA = - new FinderPath(BoArtLeggeModelImpl.ENTITY_CACHE_ENABLED, - BoArtLeggeModelImpl.FINDER_CACHE_ENABLED, BoArtLeggeImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findBytipologia", - new String[] { String.class.getName() }, - BoArtLeggeModelImpl.TIPOLOGIA_COLUMN_BITMASK | - BoArtLeggeModelImpl.CODARTLEGGE_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_TIPOLOGIA = new FinderPath(BoArtLeggeModelImpl.ENTITY_CACHE_ENABLED, - BoArtLeggeModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countBytipologia", - new String[] { String.class.getName() }); - - /** - * Returns all the bo art legges where tipologia = ?. - * - * @param tipologia the tipologia - * @return the matching bo art legges - * @throws SystemException if a system exception occurred - */ - @Override - public List findBytipologia(String tipologia) - throws SystemException { - return findBytipologia(tipologia, QueryUtil.ALL_POS, QueryUtil.ALL_POS, - null); - } - - /** - * Returns a range of all the bo art legges where tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param tipologia the tipologia - * @param start the lower bound of the range of bo art legges - * @param end the upper bound of the range of bo art legges (not inclusive) - * @return the range of matching bo art legges - * @throws SystemException if a system exception occurred - */ - @Override - public List findBytipologia(String tipologia, int start, int end) - throws SystemException { - return findBytipologia(tipologia, start, end, null); - } - - /** - * Returns an ordered range of all the bo art legges where tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param tipologia the tipologia - * @param start the lower bound of the range of bo art legges - * @param end the upper bound of the range of bo art legges (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo art legges - * @throws SystemException if a system exception occurred - */ - @Override - public List findBytipologia(String tipologia, int start, - int end, OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TIPOLOGIA; - finderArgs = new Object[] { tipologia }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_TIPOLOGIA; - finderArgs = new Object[] { tipologia, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoArtLegge boArtLegge : list) { - if (!Validator.equals(tipologia, boArtLegge.getTipologia())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOARTLEGGE_WHERE); - - boolean bindTipologia = false; - - if (tipologia == null) { - query.append(_FINDER_COLUMN_TIPOLOGIA_TIPOLOGIA_1); - } - else if (tipologia.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_TIPOLOGIA_TIPOLOGIA_3); - } - else { - bindTipologia = true; - - query.append(_FINDER_COLUMN_TIPOLOGIA_TIPOLOGIA_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoArtLeggeModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindTipologia) { - qPos.add(tipologia); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo art legge in the ordered set where tipologia = ?. - * - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo art legge - * @throws it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoArtLegge findBytipologia_First(String tipologia, - OrderByComparator orderByComparator) - throws NoSuchBoArtLeggeException, SystemException { - BoArtLegge boArtLegge = fetchBytipologia_First(tipologia, - orderByComparator); - - if (boArtLegge != null) { - return boArtLegge; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("tipologia="); - msg.append(tipologia); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoArtLeggeException(msg.toString()); - } - - /** - * Returns the first bo art legge in the ordered set where tipologia = ?. - * - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo art legge, or null if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoArtLegge fetchBytipologia_First(String tipologia, - OrderByComparator orderByComparator) throws SystemException { - List list = findBytipologia(tipologia, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo art legge in the ordered set where tipologia = ?. - * - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo art legge - * @throws it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoArtLegge findBytipologia_Last(String tipologia, - OrderByComparator orderByComparator) - throws NoSuchBoArtLeggeException, SystemException { - BoArtLegge boArtLegge = fetchBytipologia_Last(tipologia, - orderByComparator); - - if (boArtLegge != null) { - return boArtLegge; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("tipologia="); - msg.append(tipologia); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoArtLeggeException(msg.toString()); - } - - /** - * Returns the last bo art legge in the ordered set where tipologia = ?. - * - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo art legge, or null if a matching bo art legge could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoArtLegge fetchBytipologia_Last(String tipologia, - OrderByComparator orderByComparator) throws SystemException { - int count = countBytipologia(tipologia); - - if (count == 0) { - return null; - } - - List list = findBytipologia(tipologia, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo art legges before and after the current bo art legge in the ordered set where tipologia = ?. - * - * @param artLeggeId the primary key of the current bo art legge - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo art legge - * @throws it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoArtLegge[] findBytipologia_PrevAndNext(long artLeggeId, - String tipologia, OrderByComparator orderByComparator) - throws NoSuchBoArtLeggeException, SystemException { - BoArtLegge boArtLegge = findByPrimaryKey(artLeggeId); - - Session session = null; - - try { - session = openSession(); - - BoArtLegge[] array = new BoArtLeggeImpl[3]; - - array[0] = getBytipologia_PrevAndNext(session, boArtLegge, - tipologia, orderByComparator, true); - - array[1] = boArtLegge; - - array[2] = getBytipologia_PrevAndNext(session, boArtLegge, - tipologia, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoArtLegge getBytipologia_PrevAndNext(Session session, - BoArtLegge boArtLegge, String tipologia, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOARTLEGGE_WHERE); - - boolean bindTipologia = false; - - if (tipologia == null) { - query.append(_FINDER_COLUMN_TIPOLOGIA_TIPOLOGIA_1); - } - else if (tipologia.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_TIPOLOGIA_TIPOLOGIA_3); - } - else { - bindTipologia = true; - - query.append(_FINDER_COLUMN_TIPOLOGIA_TIPOLOGIA_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoArtLeggeModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindTipologia) { - qPos.add(tipologia); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boArtLegge); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo art legges where tipologia = ? from the database. - * - * @param tipologia the tipologia - * @throws SystemException if a system exception occurred - */ - @Override - public void removeBytipologia(String tipologia) throws SystemException { - for (BoArtLegge boArtLegge : findBytipologia(tipologia, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boArtLegge); - } - } - - /** - * Returns the number of bo art legges where tipologia = ?. - * - * @param tipologia the tipologia - * @return the number of matching bo art legges - * @throws SystemException if a system exception occurred - */ - @Override - public int countBytipologia(String tipologia) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_TIPOLOGIA; - - Object[] finderArgs = new Object[] { tipologia }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BOARTLEGGE_WHERE); - - boolean bindTipologia = false; - - if (tipologia == null) { - query.append(_FINDER_COLUMN_TIPOLOGIA_TIPOLOGIA_1); - } - else if (tipologia.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_TIPOLOGIA_TIPOLOGIA_3); - } - else { - bindTipologia = true; - - query.append(_FINDER_COLUMN_TIPOLOGIA_TIPOLOGIA_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindTipologia) { - qPos.add(tipologia); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_TIPOLOGIA_TIPOLOGIA_1 = "boArtLegge.tipologia IS NULL"; - private static final String _FINDER_COLUMN_TIPOLOGIA_TIPOLOGIA_2 = "boArtLegge.tipologia = ?"; - private static final String _FINDER_COLUMN_TIPOLOGIA_TIPOLOGIA_3 = "(boArtLegge.tipologia IS NULL OR boArtLegge.tipologia = '')"; - - public BoArtLeggePersistenceImpl() { - setModelClass(BoArtLegge.class); - } - - /** - * Caches the bo art legge in the entity cache if it is enabled. - * - * @param boArtLegge the bo art legge - */ - @Override - public void cacheResult(BoArtLegge boArtLegge) { - EntityCacheUtil.putResult(BoArtLeggeModelImpl.ENTITY_CACHE_ENABLED, - BoArtLeggeImpl.class, boArtLegge.getPrimaryKey(), boArtLegge); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODARTLEGGE_TIPOLOGIA, - new Object[] { boArtLegge.getCodArtLegge(), boArtLegge.getTipologia() }, - boArtLegge); - - boArtLegge.resetOriginalValues(); - } - - /** - * Caches the bo art legges in the entity cache if it is enabled. - * - * @param boArtLegges the bo art legges - */ - @Override - public void cacheResult(List boArtLegges) { - for (BoArtLegge boArtLegge : boArtLegges) { - if (EntityCacheUtil.getResult( - BoArtLeggeModelImpl.ENTITY_CACHE_ENABLED, - BoArtLeggeImpl.class, boArtLegge.getPrimaryKey()) == null) { - cacheResult(boArtLegge); - } - else { - boArtLegge.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all bo art legges. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(BoArtLeggeImpl.class.getName()); - } - - EntityCacheUtil.clearCache(BoArtLeggeImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the bo art legge. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(BoArtLegge boArtLegge) { - EntityCacheUtil.removeResult(BoArtLeggeModelImpl.ENTITY_CACHE_ENABLED, - BoArtLeggeImpl.class, boArtLegge.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(boArtLegge); - } - - @Override - public void clearCache(List boArtLegges) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (BoArtLegge boArtLegge : boArtLegges) { - EntityCacheUtil.removeResult(BoArtLeggeModelImpl.ENTITY_CACHE_ENABLED, - BoArtLeggeImpl.class, boArtLegge.getPrimaryKey()); - - clearUniqueFindersCache(boArtLegge); - } - } - - protected void cacheUniqueFindersCache(BoArtLegge boArtLegge) { - if (boArtLegge.isNew()) { - Object[] args = new Object[] { - boArtLegge.getCodArtLegge(), boArtLegge.getTipologia() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_CODARTLEGGE_TIPOLOGIA, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODARTLEGGE_TIPOLOGIA, - args, boArtLegge); - } - else { - BoArtLeggeModelImpl boArtLeggeModelImpl = (BoArtLeggeModelImpl)boArtLegge; - - if ((boArtLeggeModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_CODARTLEGGE_TIPOLOGIA.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boArtLegge.getCodArtLegge(), boArtLegge.getTipologia() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_CODARTLEGGE_TIPOLOGIA, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODARTLEGGE_TIPOLOGIA, - args, boArtLegge); - } - } - } - - protected void clearUniqueFindersCache(BoArtLegge boArtLegge) { - BoArtLeggeModelImpl boArtLeggeModelImpl = (BoArtLeggeModelImpl)boArtLegge; - - Object[] args = new Object[] { - boArtLegge.getCodArtLegge(), boArtLegge.getTipologia() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CODARTLEGGE_TIPOLOGIA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODARTLEGGE_TIPOLOGIA, - args); - - if ((boArtLeggeModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_CODARTLEGGE_TIPOLOGIA.getColumnBitmask()) != 0) { - args = new Object[] { - boArtLeggeModelImpl.getOriginalCodArtLegge(), - boArtLeggeModelImpl.getOriginalTipologia() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CODARTLEGGE_TIPOLOGIA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODARTLEGGE_TIPOLOGIA, - args); - } - } - - /** - * Creates a new bo art legge with the primary key. Does not add the bo art legge to the database. - * - * @param artLeggeId the primary key for the new bo art legge - * @return the new bo art legge - */ - @Override - public BoArtLegge create(long artLeggeId) { - BoArtLegge boArtLegge = new BoArtLeggeImpl(); - - boArtLegge.setNew(true); - boArtLegge.setPrimaryKey(artLeggeId); - - return boArtLegge; - } - - /** - * Removes the bo art legge with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param artLeggeId the primary key of the bo art legge - * @return the bo art legge that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoArtLegge remove(long artLeggeId) - throws NoSuchBoArtLeggeException, SystemException { - return remove((Serializable)artLeggeId); - } - - /** - * Removes the bo art legge with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the bo art legge - * @return the bo art legge that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoArtLegge remove(Serializable primaryKey) - throws NoSuchBoArtLeggeException, SystemException { - Session session = null; - - try { - session = openSession(); - - BoArtLegge boArtLegge = (BoArtLegge)session.get(BoArtLeggeImpl.class, - primaryKey); - - if (boArtLegge == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoArtLeggeException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(boArtLegge); - } - catch (NoSuchBoArtLeggeException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected BoArtLegge removeImpl(BoArtLegge boArtLegge) - throws SystemException { - boArtLegge = toUnwrappedModel(boArtLegge); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(boArtLegge)) { - boArtLegge = (BoArtLegge)session.get(BoArtLeggeImpl.class, - boArtLegge.getPrimaryKeyObj()); - } - - if (boArtLegge != null) { - session.delete(boArtLegge); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (boArtLegge != null) { - clearCache(boArtLegge); - } - - return boArtLegge; - } - - @Override - public BoArtLegge updateImpl( - it.tref.liferay.portos.portosimport.model.BoArtLegge boArtLegge) - throws SystemException { - boArtLegge = toUnwrappedModel(boArtLegge); - - boolean isNew = boArtLegge.isNew(); - - BoArtLeggeModelImpl boArtLeggeModelImpl = (BoArtLeggeModelImpl)boArtLegge; - - Session session = null; - - try { - session = openSession(); - - if (boArtLegge.isNew()) { - session.save(boArtLegge); - - boArtLegge.setNew(false); - } - else { - session.merge(boArtLegge); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !BoArtLeggeModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((boArtLeggeModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TIPOLOGIA.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boArtLeggeModelImpl.getOriginalTipologia() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_TIPOLOGIA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TIPOLOGIA, - args); - - args = new Object[] { boArtLeggeModelImpl.getTipologia() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_TIPOLOGIA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TIPOLOGIA, - args); - } - } - - EntityCacheUtil.putResult(BoArtLeggeModelImpl.ENTITY_CACHE_ENABLED, - BoArtLeggeImpl.class, boArtLegge.getPrimaryKey(), boArtLegge); - - clearUniqueFindersCache(boArtLegge); - cacheUniqueFindersCache(boArtLegge); - - return boArtLegge; - } - - protected BoArtLegge toUnwrappedModel(BoArtLegge boArtLegge) { - if (boArtLegge instanceof BoArtLeggeImpl) { - return boArtLegge; - } - - BoArtLeggeImpl boArtLeggeImpl = new BoArtLeggeImpl(); - - boArtLeggeImpl.setNew(boArtLegge.isNew()); - boArtLeggeImpl.setPrimaryKey(boArtLegge.getPrimaryKey()); - - boArtLeggeImpl.setArtLeggeId(boArtLegge.getArtLeggeId()); - boArtLeggeImpl.setCompanyId(boArtLegge.getCompanyId()); - boArtLeggeImpl.setUserId(boArtLegge.getUserId()); - boArtLeggeImpl.setUserName(boArtLegge.getUserName()); - boArtLeggeImpl.setCreateDate(boArtLegge.getCreateDate()); - boArtLeggeImpl.setModifiedDate(boArtLegge.getModifiedDate()); - boArtLeggeImpl.setCodArtLegge(boArtLegge.getCodArtLegge()); - boArtLeggeImpl.setTipologia(boArtLegge.getTipologia()); - boArtLeggeImpl.setDescLong(boArtLegge.getDescLong()); - - return boArtLeggeImpl; - } - - /** - * Returns the bo art legge with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the bo art legge - * @return the bo art legge - * @throws it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoArtLegge findByPrimaryKey(Serializable primaryKey) - throws NoSuchBoArtLeggeException, SystemException { - BoArtLegge boArtLegge = fetchByPrimaryKey(primaryKey); - - if (boArtLegge == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoArtLeggeException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return boArtLegge; - } - - /** - * Returns the bo art legge with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException} if it could not be found. - * - * @param artLeggeId the primary key of the bo art legge - * @return the bo art legge - * @throws it.tref.liferay.portos.portosimport.NoSuchBoArtLeggeException if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoArtLegge findByPrimaryKey(long artLeggeId) - throws NoSuchBoArtLeggeException, SystemException { - return findByPrimaryKey((Serializable)artLeggeId); - } - - /** - * Returns the bo art legge with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the bo art legge - * @return the bo art legge, or null if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoArtLegge fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - BoArtLegge boArtLegge = (BoArtLegge)EntityCacheUtil.getResult(BoArtLeggeModelImpl.ENTITY_CACHE_ENABLED, - BoArtLeggeImpl.class, primaryKey); - - if (boArtLegge == _nullBoArtLegge) { - return null; - } - - if (boArtLegge == null) { - Session session = null; - - try { - session = openSession(); - - boArtLegge = (BoArtLegge)session.get(BoArtLeggeImpl.class, - primaryKey); - - if (boArtLegge != null) { - cacheResult(boArtLegge); - } - else { - EntityCacheUtil.putResult(BoArtLeggeModelImpl.ENTITY_CACHE_ENABLED, - BoArtLeggeImpl.class, primaryKey, _nullBoArtLegge); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(BoArtLeggeModelImpl.ENTITY_CACHE_ENABLED, - BoArtLeggeImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return boArtLegge; - } - - /** - * Returns the bo art legge with the primary key or returns null if it could not be found. - * - * @param artLeggeId the primary key of the bo art legge - * @return the bo art legge, or null if a bo art legge with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoArtLegge fetchByPrimaryKey(long artLeggeId) - throws SystemException { - return fetchByPrimaryKey((Serializable)artLeggeId); - } - - /** - * Returns all the bo art legges. - * - * @return the bo art legges - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo art legges. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo art legges - * @param end the upper bound of the range of bo art legges (not inclusive) - * @return the range of bo art legges - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the bo art legges. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoArtLeggeModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo art legges - * @param end the upper bound of the range of bo art legges (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo art legges - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_BOARTLEGGE); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_BOARTLEGGE; - - if (pagination) { - sql = sql.concat(BoArtLeggeModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the bo art legges from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (BoArtLegge boArtLegge : findAll()) { - remove(boArtLegge); - } - } - - /** - * Returns the number of bo art legges. - * - * @return the number of bo art legges - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_BOARTLEGGE); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - /** - * Initializes the bo art legge persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.portosimport.model.BoArtLegge"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(BoArtLeggeImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_BOARTLEGGE = "SELECT boArtLegge FROM BoArtLegge boArtLegge"; - private static final String _SQL_SELECT_BOARTLEGGE_WHERE = "SELECT boArtLegge FROM BoArtLegge boArtLegge WHERE "; - private static final String _SQL_COUNT_BOARTLEGGE = "SELECT COUNT(boArtLegge) FROM BoArtLegge boArtLegge"; - private static final String _SQL_COUNT_BOARTLEGGE_WHERE = "SELECT COUNT(boArtLegge) FROM BoArtLegge boArtLegge WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "boArtLegge."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No BoArtLegge exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No BoArtLegge exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(BoArtLeggePersistenceImpl.class); - private static BoArtLegge _nullBoArtLegge = new BoArtLeggeImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullBoArtLeggeCacheModel; - } - }; - - private static CacheModel _nullBoArtLeggeCacheModel = new CacheModel() { - @Override - public BoArtLegge toEntityModel() { - return _nullBoArtLegge; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoAvvisoPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoAvvisoPersistenceImpl.java deleted file mode 100644 index 8d5aedf0..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoAvvisoPersistenceImpl.java +++ /dev/null @@ -1,4614 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.ArrayUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.SetUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.kernel.uuid.PortalUUIDUtil; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException; -import it.tref.liferay.portos.portosimport.model.BoAvviso; -import it.tref.liferay.portos.portosimport.model.impl.BoAvvisoImpl; -import it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Set; - -/** - * The persistence implementation for the bo avviso service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoAvvisoPersistence - * @see BoAvvisoUtil - * @generated - */ -public class BoAvvisoPersistenceImpl extends BasePersistenceImpl - implements BoAvvisoPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link BoAvvisoUtil} to access the bo avviso persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = BoAvvisoImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, BoAvvisoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, BoAvvisoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID = new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, BoAvvisoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByUuid", - new String[] { - String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID = new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, BoAvvisoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByUuid", - new String[] { String.class.getName() }, - BoAvvisoModelImpl.UUID_COLUMN_BITMASK | - BoAvvisoModelImpl.DTAVVISO_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID = new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid", - new String[] { String.class.getName() }); - - /** - * Returns all the bo avvisos where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid) throws SystemException { - return findByUuid(uuid, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo avvisos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end) - throws SystemException { - return findByUuid(uuid, start, end, null); - } - - /** - * Returns an ordered range of all the bo avvisos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoAvviso boAvviso : list) { - if (!Validator.equals(uuid, boAvviso.getUuid())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOAVVISO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoAvvisoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo avviso in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso findByUuid_First(String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = fetchByUuid_First(uuid, orderByComparator); - - if (boAvviso != null) { - return boAvviso; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoAvvisoException(msg.toString()); - } - - /** - * Returns the first bo avviso in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso fetchByUuid_First(String uuid, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid(uuid, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo avviso in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso findByUuid_Last(String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = fetchByUuid_Last(uuid, orderByComparator); - - if (boAvviso != null) { - return boAvviso; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoAvvisoException(msg.toString()); - } - - /** - * Returns the last bo avviso in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso fetchByUuid_Last(String uuid, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid(uuid); - - if (count == 0) { - return null; - } - - List list = findByUuid(uuid, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo avvisos before and after the current bo avviso in the ordered set where uuid = ?. - * - * @param avvisoId the primary key of the current bo avviso - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso[] findByUuid_PrevAndNext(long avvisoId, String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = findByPrimaryKey(avvisoId); - - Session session = null; - - try { - session = openSession(); - - BoAvviso[] array = new BoAvvisoImpl[3]; - - array[0] = getByUuid_PrevAndNext(session, boAvviso, uuid, - orderByComparator, true); - - array[1] = boAvviso; - - array[2] = getByUuid_PrevAndNext(session, boAvviso, uuid, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoAvviso getByUuid_PrevAndNext(Session session, - BoAvviso boAvviso, String uuid, OrderByComparator orderByComparator, - boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOAVVISO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoAvvisoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boAvviso); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo avvisos where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid(String uuid) throws SystemException { - for (BoAvviso boAvviso : findByUuid(uuid, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(boAvviso); - } - } - - /** - * Returns the number of bo avvisos where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid(String uuid) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID; - - Object[] finderArgs = new Object[] { uuid }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BOAVVISO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_UUID_1 = "boAvviso.uuid IS NULL"; - private static final String _FINDER_COLUMN_UUID_UUID_2 = "boAvviso.uuid = ?"; - private static final String _FINDER_COLUMN_UUID_UUID_3 = "(boAvviso.uuid IS NULL OR boAvviso.uuid = '')"; - public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G = new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, BoAvvisoImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }, - BoAvvisoModelImpl.UUID_COLUMN_BITMASK | - BoAvvisoModelImpl.GROUPID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G = new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns the bo avviso where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso findByUUID_G(String uuid, long groupId) - throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = fetchByUUID_G(uuid, groupId); - - if (boAvviso == null) { - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoAvvisoException(msg.toString()); - } - - return boAvviso; - } - - /** - * Returns the bo avviso where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso fetchByUUID_G(String uuid, long groupId) - throws SystemException { - return fetchByUUID_G(uuid, groupId, true); - } - - /** - * Returns the bo avviso where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso fetchByUUID_G(String uuid, long groupId, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { uuid, groupId }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, this); - } - - if (result instanceof BoAvviso) { - BoAvviso boAvviso = (BoAvviso)result; - - if (!Validator.equals(uuid, boAvviso.getUuid()) || - (groupId != boAvviso.getGroupId())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_SELECT_BOAVVISO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, list); - } - else { - BoAvviso boAvviso = list.get(0); - - result = boAvviso; - - cacheResult(boAvviso); - - if ((boAvviso.getUuid() == null) || - !boAvviso.getUuid().equals(uuid) || - (boAvviso.getGroupId() != groupId)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, boAvviso); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoAvviso)result; - } - } - - /** - * Removes the bo avviso where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo avviso that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso removeByUUID_G(String uuid, long groupId) - throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = findByUUID_G(uuid, groupId); - - return remove(boAvviso); - } - - /** - * Returns the number of bo avvisos where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUUID_G(String uuid, long groupId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_G; - - Object[] finderArgs = new Object[] { uuid, groupId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOAVVISO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_G_UUID_1 = "boAvviso.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_2 = "boAvviso.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_3 = "(boAvviso.uuid IS NULL OR boAvviso.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_G_GROUPID_2 = "boAvviso.groupId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C = new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, BoAvvisoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByUuid_C", - new String[] { - String.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C = - new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, BoAvvisoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }, - BoAvvisoModelImpl.UUID_COLUMN_BITMASK | - BoAvvisoModelImpl.COMPANYID_COLUMN_BITMASK | - BoAvvisoModelImpl.DTAVVISO_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C = new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns all the bo avvisos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId) - throws SystemException { - return findByUuid_C(uuid, companyId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo avvisos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, int start, - int end) throws SystemException { - return findByUuid_C(uuid, companyId, start, end, null); - } - - /** - * Returns an ordered range of all the bo avvisos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, int start, - int end, OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { uuid, companyId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { - uuid, companyId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoAvviso boAvviso : list) { - if (!Validator.equals(uuid, boAvviso.getUuid()) || - (companyId != boAvviso.getCompanyId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_BOAVVISO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoAvvisoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo avviso in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso findByUuid_C_First(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = fetchByUuid_C_First(uuid, companyId, - orderByComparator); - - if (boAvviso != null) { - return boAvviso; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoAvvisoException(msg.toString()); - } - - /** - * Returns the first bo avviso in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso fetchByUuid_C_First(String uuid, long companyId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid_C(uuid, companyId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo avviso in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso findByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = fetchByUuid_C_Last(uuid, companyId, - orderByComparator); - - if (boAvviso != null) { - return boAvviso; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoAvvisoException(msg.toString()); - } - - /** - * Returns the last bo avviso in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso fetchByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid_C(uuid, companyId); - - if (count == 0) { - return null; - } - - List list = findByUuid_C(uuid, companyId, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo avvisos before and after the current bo avviso in the ordered set where uuid = ? and companyId = ?. - * - * @param avvisoId the primary key of the current bo avviso - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso[] findByUuid_C_PrevAndNext(long avvisoId, String uuid, - long companyId, OrderByComparator orderByComparator) - throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = findByPrimaryKey(avvisoId); - - Session session = null; - - try { - session = openSession(); - - BoAvviso[] array = new BoAvvisoImpl[3]; - - array[0] = getByUuid_C_PrevAndNext(session, boAvviso, uuid, - companyId, orderByComparator, true); - - array[1] = boAvviso; - - array[2] = getByUuid_C_PrevAndNext(session, boAvviso, uuid, - companyId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoAvviso getByUuid_C_PrevAndNext(Session session, - BoAvviso boAvviso, String uuid, long companyId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOAVVISO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoAvvisoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boAvviso); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo avvisos where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid_C(String uuid, long companyId) - throws SystemException { - for (BoAvviso boAvviso : findByUuid_C(uuid, companyId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boAvviso); - } - } - - /** - * Returns the number of bo avvisos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid_C(String uuid, long companyId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_C; - - Object[] finderArgs = new Object[] { uuid, companyId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOAVVISO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_C_UUID_1 = "boAvviso.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_2 = "boAvviso.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_3 = "(boAvviso.uuid IS NULL OR boAvviso.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_C_COMPANYID_2 = "boAvviso.companyId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICAID_TIPODOCUMENTO = - new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, BoAvvisoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findBydettPraticaId_tipoDocumento", - new String[] { - Long.class.getName(), String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICAID_TIPODOCUMENTO = - new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, BoAvvisoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findBydettPraticaId_tipoDocumento", - new String[] { Long.class.getName(), String.class.getName() }, - BoAvvisoModelImpl.DETTPRATICAID_COLUMN_BITMASK | - BoAvvisoModelImpl.TIPODOCUMENTO_COLUMN_BITMASK | - BoAvvisoModelImpl.DTAVVISO_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_DETTPRATICAID_TIPODOCUMENTO = - new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countBydettPraticaId_tipoDocumento", - new String[] { Long.class.getName(), String.class.getName() }); - - /** - * Returns all the bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @return the matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findBydettPraticaId_tipoDocumento( - long dettPraticaId, String tipoDocumento) throws SystemException { - return findBydettPraticaId_tipoDocumento(dettPraticaId, tipoDocumento, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findBydettPraticaId_tipoDocumento( - long dettPraticaId, String tipoDocumento, int start, int end) - throws SystemException { - return findBydettPraticaId_tipoDocumento(dettPraticaId, tipoDocumento, - start, end, null); - } - - /** - * Returns an ordered range of all the bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findBydettPraticaId_tipoDocumento( - long dettPraticaId, String tipoDocumento, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICAID_TIPODOCUMENTO; - finderArgs = new Object[] { dettPraticaId, tipoDocumento }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICAID_TIPODOCUMENTO; - finderArgs = new Object[] { - dettPraticaId, tipoDocumento, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoAvviso boAvviso : list) { - if ((dettPraticaId != boAvviso.getDettPraticaId()) || - !Validator.equals(tipoDocumento, - boAvviso.getTipoDocumento())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_BOAVVISO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICAID_TIPODOCUMENTO_DETTPRATICAID_2); - - boolean bindTipoDocumento = false; - - if (tipoDocumento == null) { - query.append(_FINDER_COLUMN_DETTPRATICAID_TIPODOCUMENTO_TIPODOCUMENTO_1); - } - else if (tipoDocumento.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICAID_TIPODOCUMENTO_TIPODOCUMENTO_3); - } - else { - bindTipoDocumento = true; - - query.append(_FINDER_COLUMN_DETTPRATICAID_TIPODOCUMENTO_TIPODOCUMENTO_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoAvvisoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindTipoDocumento) { - qPos.add(tipoDocumento); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso findBydettPraticaId_tipoDocumento_First( - long dettPraticaId, String tipoDocumento, - OrderByComparator orderByComparator) - throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = fetchBydettPraticaId_tipoDocumento_First(dettPraticaId, - tipoDocumento, orderByComparator); - - if (boAvviso != null) { - return boAvviso; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(", tipoDocumento="); - msg.append(tipoDocumento); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoAvvisoException(msg.toString()); - } - - /** - * Returns the first bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso fetchBydettPraticaId_tipoDocumento_First( - long dettPraticaId, String tipoDocumento, - OrderByComparator orderByComparator) throws SystemException { - List list = findBydettPraticaId_tipoDocumento(dettPraticaId, - tipoDocumento, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso findBydettPraticaId_tipoDocumento_Last(long dettPraticaId, - String tipoDocumento, OrderByComparator orderByComparator) - throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = fetchBydettPraticaId_tipoDocumento_Last(dettPraticaId, - tipoDocumento, orderByComparator); - - if (boAvviso != null) { - return boAvviso; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(", tipoDocumento="); - msg.append(tipoDocumento); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoAvvisoException(msg.toString()); - } - - /** - * Returns the last bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso fetchBydettPraticaId_tipoDocumento_Last( - long dettPraticaId, String tipoDocumento, - OrderByComparator orderByComparator) throws SystemException { - int count = countBydettPraticaId_tipoDocumento(dettPraticaId, - tipoDocumento); - - if (count == 0) { - return null; - } - - List list = findBydettPraticaId_tipoDocumento(dettPraticaId, - tipoDocumento, count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo avvisos before and after the current bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param avvisoId the primary key of the current bo avviso - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso[] findBydettPraticaId_tipoDocumento_PrevAndNext( - long avvisoId, long dettPraticaId, String tipoDocumento, - OrderByComparator orderByComparator) - throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = findByPrimaryKey(avvisoId); - - Session session = null; - - try { - session = openSession(); - - BoAvviso[] array = new BoAvvisoImpl[3]; - - array[0] = getBydettPraticaId_tipoDocumento_PrevAndNext(session, - boAvviso, dettPraticaId, tipoDocumento, orderByComparator, - true); - - array[1] = boAvviso; - - array[2] = getBydettPraticaId_tipoDocumento_PrevAndNext(session, - boAvviso, dettPraticaId, tipoDocumento, orderByComparator, - false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoAvviso getBydettPraticaId_tipoDocumento_PrevAndNext( - Session session, BoAvviso boAvviso, long dettPraticaId, - String tipoDocumento, OrderByComparator orderByComparator, - boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOAVVISO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICAID_TIPODOCUMENTO_DETTPRATICAID_2); - - boolean bindTipoDocumento = false; - - if (tipoDocumento == null) { - query.append(_FINDER_COLUMN_DETTPRATICAID_TIPODOCUMENTO_TIPODOCUMENTO_1); - } - else if (tipoDocumento.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICAID_TIPODOCUMENTO_TIPODOCUMENTO_3); - } - else { - bindTipoDocumento = true; - - query.append(_FINDER_COLUMN_DETTPRATICAID_TIPODOCUMENTO_TIPODOCUMENTO_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoAvvisoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindTipoDocumento) { - qPos.add(tipoDocumento); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boAvviso); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo avvisos where dettPraticaId = ? and tipoDocumento = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @throws SystemException if a system exception occurred - */ - @Override - public void removeBydettPraticaId_tipoDocumento(long dettPraticaId, - String tipoDocumento) throws SystemException { - for (BoAvviso boAvviso : findBydettPraticaId_tipoDocumento( - dettPraticaId, tipoDocumento, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(boAvviso); - } - } - - /** - * Returns the number of bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public int countBydettPraticaId_tipoDocumento(long dettPraticaId, - String tipoDocumento) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_DETTPRATICAID_TIPODOCUMENTO; - - Object[] finderArgs = new Object[] { dettPraticaId, tipoDocumento }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOAVVISO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICAID_TIPODOCUMENTO_DETTPRATICAID_2); - - boolean bindTipoDocumento = false; - - if (tipoDocumento == null) { - query.append(_FINDER_COLUMN_DETTPRATICAID_TIPODOCUMENTO_TIPODOCUMENTO_1); - } - else if (tipoDocumento.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICAID_TIPODOCUMENTO_TIPODOCUMENTO_3); - } - else { - bindTipoDocumento = true; - - query.append(_FINDER_COLUMN_DETTPRATICAID_TIPODOCUMENTO_TIPODOCUMENTO_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindTipoDocumento) { - qPos.add(tipoDocumento); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_DETTPRATICAID_TIPODOCUMENTO_DETTPRATICAID_2 = - "boAvviso.dettPraticaId = ? AND "; - private static final String _FINDER_COLUMN_DETTPRATICAID_TIPODOCUMENTO_TIPODOCUMENTO_1 = - "boAvviso.tipoDocumento IS NULL"; - private static final String _FINDER_COLUMN_DETTPRATICAID_TIPODOCUMENTO_TIPODOCUMENTO_2 = - "boAvviso.tipoDocumento = ?"; - private static final String _FINDER_COLUMN_DETTPRATICAID_TIPODOCUMENTO_TIPODOCUMENTO_3 = - "(boAvviso.tipoDocumento IS NULL OR boAvviso.tipoDocumento = '')"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICAIDS_TIPODOCUMENTO = - new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, BoAvvisoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findBydettPraticaIds_tipoDocumento", - new String[] { - Long.class.getName(), String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICAIDS_TIPODOCUMENTO = - new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, BoAvvisoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findBydettPraticaIds_tipoDocumento", - new String[] { Long.class.getName(), String.class.getName() }, - BoAvvisoModelImpl.DETTPRATICAID_COLUMN_BITMASK | - BoAvvisoModelImpl.TIPODOCUMENTO_COLUMN_BITMASK | - BoAvvisoModelImpl.DTAVVISO_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_DETTPRATICAIDS_TIPODOCUMENTO = - new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countBydettPraticaIds_tipoDocumento", - new String[] { Long.class.getName(), String.class.getName() }); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_DETTPRATICAIDS_TIPODOCUMENTO = - new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "countBydettPraticaIds_tipoDocumento", - new String[] { Long.class.getName(), String.class.getName() }); - - /** - * Returns all the bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @return the matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findBydettPraticaIds_tipoDocumento( - long dettPraticaId, String tipoDocumento) throws SystemException { - return findBydettPraticaIds_tipoDocumento(dettPraticaId, tipoDocumento, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findBydettPraticaIds_tipoDocumento( - long dettPraticaId, String tipoDocumento, int start, int end) - throws SystemException { - return findBydettPraticaIds_tipoDocumento(dettPraticaId, tipoDocumento, - start, end, null); - } - - /** - * Returns an ordered range of all the bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findBydettPraticaIds_tipoDocumento( - long dettPraticaId, String tipoDocumento, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICAIDS_TIPODOCUMENTO; - finderArgs = new Object[] { dettPraticaId, tipoDocumento }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICAIDS_TIPODOCUMENTO; - finderArgs = new Object[] { - dettPraticaId, tipoDocumento, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoAvviso boAvviso : list) { - if ((dettPraticaId != boAvviso.getDettPraticaId()) || - !Validator.equals(tipoDocumento, - boAvviso.getTipoDocumento())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_BOAVVISO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_DETTPRATICAID_2); - - boolean bindTipoDocumento = false; - - if (tipoDocumento == null) { - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_1); - } - else if (tipoDocumento.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_3); - } - else { - bindTipoDocumento = true; - - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoAvvisoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindTipoDocumento) { - qPos.add(tipoDocumento); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso findBydettPraticaIds_tipoDocumento_First( - long dettPraticaId, String tipoDocumento, - OrderByComparator orderByComparator) - throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = fetchBydettPraticaIds_tipoDocumento_First(dettPraticaId, - tipoDocumento, orderByComparator); - - if (boAvviso != null) { - return boAvviso; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(", tipoDocumento="); - msg.append(tipoDocumento); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoAvvisoException(msg.toString()); - } - - /** - * Returns the first bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso fetchBydettPraticaIds_tipoDocumento_First( - long dettPraticaId, String tipoDocumento, - OrderByComparator orderByComparator) throws SystemException { - List list = findBydettPraticaIds_tipoDocumento(dettPraticaId, - tipoDocumento, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso findBydettPraticaIds_tipoDocumento_Last( - long dettPraticaId, String tipoDocumento, - OrderByComparator orderByComparator) - throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = fetchBydettPraticaIds_tipoDocumento_Last(dettPraticaId, - tipoDocumento, orderByComparator); - - if (boAvviso != null) { - return boAvviso; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(", tipoDocumento="); - msg.append(tipoDocumento); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoAvvisoException(msg.toString()); - } - - /** - * Returns the last bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso fetchBydettPraticaIds_tipoDocumento_Last( - long dettPraticaId, String tipoDocumento, - OrderByComparator orderByComparator) throws SystemException { - int count = countBydettPraticaIds_tipoDocumento(dettPraticaId, - tipoDocumento); - - if (count == 0) { - return null; - } - - List list = findBydettPraticaIds_tipoDocumento(dettPraticaId, - tipoDocumento, count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo avvisos before and after the current bo avviso in the ordered set where dettPraticaId = ? and tipoDocumento = ?. - * - * @param avvisoId the primary key of the current bo avviso - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso[] findBydettPraticaIds_tipoDocumento_PrevAndNext( - long avvisoId, long dettPraticaId, String tipoDocumento, - OrderByComparator orderByComparator) - throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = findByPrimaryKey(avvisoId); - - Session session = null; - - try { - session = openSession(); - - BoAvviso[] array = new BoAvvisoImpl[3]; - - array[0] = getBydettPraticaIds_tipoDocumento_PrevAndNext(session, - boAvviso, dettPraticaId, tipoDocumento, orderByComparator, - true); - - array[1] = boAvviso; - - array[2] = getBydettPraticaIds_tipoDocumento_PrevAndNext(session, - boAvviso, dettPraticaId, tipoDocumento, orderByComparator, - false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoAvviso getBydettPraticaIds_tipoDocumento_PrevAndNext( - Session session, BoAvviso boAvviso, long dettPraticaId, - String tipoDocumento, OrderByComparator orderByComparator, - boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOAVVISO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_DETTPRATICAID_2); - - boolean bindTipoDocumento = false; - - if (tipoDocumento == null) { - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_1); - } - else if (tipoDocumento.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_3); - } - else { - bindTipoDocumento = true; - - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoAvvisoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindTipoDocumento) { - qPos.add(tipoDocumento); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boAvviso); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Returns all the bo avvisos where dettPraticaId = any ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaIds the dett pratica IDs - * @param tipoDocumento the tipo documento - * @return the matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findBydettPraticaIds_tipoDocumento( - long[] dettPraticaIds, String tipoDocumento) throws SystemException { - return findBydettPraticaIds_tipoDocumento(dettPraticaIds, - tipoDocumento, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo avvisos where dettPraticaId = any ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaIds the dett pratica IDs - * @param tipoDocumento the tipo documento - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findBydettPraticaIds_tipoDocumento( - long[] dettPraticaIds, String tipoDocumento, int start, int end) - throws SystemException { - return findBydettPraticaIds_tipoDocumento(dettPraticaIds, - tipoDocumento, start, end, null); - } - - /** - * Returns an ordered range of all the bo avvisos where dettPraticaId = any ? and tipoDocumento = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaIds the dett pratica IDs - * @param tipoDocumento the tipo documento - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findBydettPraticaIds_tipoDocumento( - long[] dettPraticaIds, String tipoDocumento, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - if ((dettPraticaIds != null) && (dettPraticaIds.length == 1)) { - return findBydettPraticaIds_tipoDocumento(dettPraticaIds[0], - tipoDocumento, start, end, orderByComparator); - } - - boolean pagination = true; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderArgs = new Object[] { - StringUtil.merge(dettPraticaIds), tipoDocumento - }; - } - else { - finderArgs = new Object[] { - StringUtil.merge(dettPraticaIds), tipoDocumento, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICAIDS_TIPODOCUMENTO, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoAvviso boAvviso : list) { - if (!ArrayUtil.contains(dettPraticaIds, - boAvviso.getDettPraticaId()) || - !Validator.equals(tipoDocumento, - boAvviso.getTipoDocumento())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = new StringBundler(); - - query.append(_SQL_SELECT_BOAVVISO_WHERE); - - boolean conjunctionable = false; - - if ((dettPraticaIds == null) || (dettPraticaIds.length > 0)) { - if (conjunctionable) { - query.append(WHERE_AND); - } - - query.append(StringPool.OPEN_PARENTHESIS); - - for (int i = 0; i < dettPraticaIds.length; i++) { - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_DETTPRATICAID_5); - - if ((i + 1) < dettPraticaIds.length) { - query.append(WHERE_OR); - } - } - - query.append(StringPool.CLOSE_PARENTHESIS); - - conjunctionable = true; - } - - if (conjunctionable) { - query.append(WHERE_AND); - } - - boolean bindTipoDocumento = false; - - if (tipoDocumento == null) { - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_4); - } - else if (tipoDocumento.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_6); - } - else { - bindTipoDocumento = true; - - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_5); - } - - conjunctionable = true; - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoAvvisoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (dettPraticaIds != null) { - qPos.add(dettPraticaIds); - } - - if (bindTipoDocumento) { - qPos.add(tipoDocumento); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICAIDS_TIPODOCUMENTO, - finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICAIDS_TIPODOCUMENTO, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the bo avvisos where dettPraticaId = ? and tipoDocumento = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @throws SystemException if a system exception occurred - */ - @Override - public void removeBydettPraticaIds_tipoDocumento(long dettPraticaId, - String tipoDocumento) throws SystemException { - for (BoAvviso boAvviso : findBydettPraticaIds_tipoDocumento( - dettPraticaId, tipoDocumento, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(boAvviso); - } - } - - /** - * Returns the number of bo avvisos where dettPraticaId = ? and tipoDocumento = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipoDocumento the tipo documento - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public int countBydettPraticaIds_tipoDocumento(long dettPraticaId, - String tipoDocumento) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_DETTPRATICAIDS_TIPODOCUMENTO; - - Object[] finderArgs = new Object[] { dettPraticaId, tipoDocumento }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOAVVISO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_DETTPRATICAID_2); - - boolean bindTipoDocumento = false; - - if (tipoDocumento == null) { - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_1); - } - else if (tipoDocumento.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_3); - } - else { - bindTipoDocumento = true; - - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindTipoDocumento) { - qPos.add(tipoDocumento); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - /** - * Returns the number of bo avvisos where dettPraticaId = any ? and tipoDocumento = ?. - * - * @param dettPraticaIds the dett pratica IDs - * @param tipoDocumento the tipo documento - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public int countBydettPraticaIds_tipoDocumento(long[] dettPraticaIds, - String tipoDocumento) throws SystemException { - Object[] finderArgs = new Object[] { - StringUtil.merge(dettPraticaIds), tipoDocumento - }; - - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_WITH_PAGINATION_COUNT_BY_DETTPRATICAIDS_TIPODOCUMENTO, - finderArgs, this); - - if (count == null) { - StringBundler query = new StringBundler(); - - query.append(_SQL_COUNT_BOAVVISO_WHERE); - - boolean conjunctionable = false; - - if ((dettPraticaIds == null) || (dettPraticaIds.length > 0)) { - if (conjunctionable) { - query.append(WHERE_AND); - } - - query.append(StringPool.OPEN_PARENTHESIS); - - for (int i = 0; i < dettPraticaIds.length; i++) { - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_DETTPRATICAID_5); - - if ((i + 1) < dettPraticaIds.length) { - query.append(WHERE_OR); - } - } - - query.append(StringPool.CLOSE_PARENTHESIS); - - conjunctionable = true; - } - - if (conjunctionable) { - query.append(WHERE_AND); - } - - boolean bindTipoDocumento = false; - - if (tipoDocumento == null) { - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_4); - } - else if (tipoDocumento.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_6); - } - else { - bindTipoDocumento = true; - - query.append(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_5); - } - - conjunctionable = true; - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (dettPraticaIds != null) { - qPos.add(dettPraticaIds); - } - - if (bindTipoDocumento) { - qPos.add(tipoDocumento); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_WITH_PAGINATION_COUNT_BY_DETTPRATICAIDS_TIPODOCUMENTO, - finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_WITH_PAGINATION_COUNT_BY_DETTPRATICAIDS_TIPODOCUMENTO, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_DETTPRATICAID_2 = - "boAvviso.dettPraticaId = ? AND "; - private static final String _FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_DETTPRATICAID_5 = - "(" + - removeConjunction(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_DETTPRATICAID_2) + - ")"; - private static final String _FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_1 = - "boAvviso.tipoDocumento IS NULL"; - private static final String _FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_2 = - "boAvviso.tipoDocumento = ?"; - private static final String _FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_3 = - "(boAvviso.tipoDocumento IS NULL OR boAvviso.tipoDocumento = '')"; - private static final String _FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_4 = - "(" + - removeConjunction(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_1) + - ")"; - private static final String _FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_5 = - "(" + - removeConjunction(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_2) + - ")"; - private static final String _FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_6 = - "(" + - removeConjunction(_FINDER_COLUMN_DETTPRATICAIDS_TIPODOCUMENTO_TIPODOCUMENTO_3) + - ")"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICA = - new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, BoAvvisoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByDettPratica", - new String[] { - Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA = - new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, BoAvvisoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByDettPratica", - new String[] { Long.class.getName() }, - BoAvvisoModelImpl.DETTPRATICAID_COLUMN_BITMASK | - BoAvvisoModelImpl.DTAVVISO_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_DETTPRATICA = new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByDettPratica", - new String[] { Long.class.getName() }); - - /** - * Returns all the bo avvisos where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica(long dettPraticaId) - throws SystemException { - return findByDettPratica(dettPraticaId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo avvisos where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica(long dettPraticaId, int start, - int end) throws SystemException { - return findByDettPratica(dettPraticaId, start, end, null); - } - - /** - * Returns an ordered range of all the bo avvisos where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica(long dettPraticaId, int start, - int end, OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA; - finderArgs = new Object[] { dettPraticaId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICA; - finderArgs = new Object[] { - dettPraticaId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoAvviso boAvviso : list) { - if ((dettPraticaId != boAvviso.getDettPraticaId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOAVVISO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_DETTPRATICAID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoAvvisoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo avviso in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso findByDettPratica_First(long dettPraticaId, - OrderByComparator orderByComparator) - throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = fetchByDettPratica_First(dettPraticaId, - orderByComparator); - - if (boAvviso != null) { - return boAvviso; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoAvvisoException(msg.toString()); - } - - /** - * Returns the first bo avviso in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso fetchByDettPratica_First(long dettPraticaId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByDettPratica(dettPraticaId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo avviso in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso findByDettPratica_Last(long dettPraticaId, - OrderByComparator orderByComparator) - throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = fetchByDettPratica_Last(dettPraticaId, - orderByComparator); - - if (boAvviso != null) { - return boAvviso; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoAvvisoException(msg.toString()); - } - - /** - * Returns the last bo avviso in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso fetchByDettPratica_Last(long dettPraticaId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByDettPratica(dettPraticaId); - - if (count == 0) { - return null; - } - - List list = findByDettPratica(dettPraticaId, count - 1, - count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo avvisos before and after the current bo avviso in the ordered set where dettPraticaId = ?. - * - * @param avvisoId the primary key of the current bo avviso - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso[] findByDettPratica_PrevAndNext(long avvisoId, - long dettPraticaId, OrderByComparator orderByComparator) - throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = findByPrimaryKey(avvisoId); - - Session session = null; - - try { - session = openSession(); - - BoAvviso[] array = new BoAvvisoImpl[3]; - - array[0] = getByDettPratica_PrevAndNext(session, boAvviso, - dettPraticaId, orderByComparator, true); - - array[1] = boAvviso; - - array[2] = getByDettPratica_PrevAndNext(session, boAvviso, - dettPraticaId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoAvviso getByDettPratica_PrevAndNext(Session session, - BoAvviso boAvviso, long dettPraticaId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOAVVISO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_DETTPRATICAID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoAvvisoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boAvviso); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo avvisos where dettPraticaId = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByDettPratica(long dettPraticaId) - throws SystemException { - for (BoAvviso boAvviso : findByDettPratica(dettPraticaId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boAvviso); - } - } - - /** - * Returns the number of bo avvisos where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByDettPratica(long dettPraticaId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_DETTPRATICA; - - Object[] finderArgs = new Object[] { dettPraticaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BOAVVISO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_DETTPRATICAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_DETTPRATICA_DETTPRATICAID_2 = "boAvviso.dettPraticaId = ?"; - public static final FinderPath FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO = new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, BoAvvisoImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByC_G_Protocollo", - new String[] { - Long.class.getName(), Long.class.getName(), - String.class.getName() - }, - BoAvvisoModelImpl.COMPANYID_COLUMN_BITMASK | - BoAvvisoModelImpl.GROUPID_COLUMN_BITMASK | - BoAvvisoModelImpl.PROTOCOLLO_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_C_G_PROTOCOLLO = new FinderPath(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByC_G_Protocollo", - new String[] { - Long.class.getName(), Long.class.getName(), - String.class.getName() - }); - - /** - * Returns the bo avviso where companyId = ? and groupId = ? and protocollo = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException} if it could not be found. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the matching bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso findByC_G_Protocollo(long companyId, long groupId, - String protocollo) throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = fetchByC_G_Protocollo(companyId, groupId, protocollo); - - if (boAvviso == null) { - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(", protocollo="); - msg.append(protocollo); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoAvvisoException(msg.toString()); - } - - return boAvviso; - } - - /** - * Returns the bo avviso where companyId = ? and groupId = ? and protocollo = ? or returns null if it could not be found. Uses the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso fetchByC_G_Protocollo(long companyId, long groupId, - String protocollo) throws SystemException { - return fetchByC_G_Protocollo(companyId, groupId, protocollo, true); - } - - /** - * Returns the bo avviso where companyId = ? and groupId = ? and protocollo = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo avviso, or null if a matching bo avviso could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso fetchByC_G_Protocollo(long companyId, long groupId, - String protocollo, boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { companyId, groupId, protocollo }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, - finderArgs, this); - } - - if (result instanceof BoAvviso) { - BoAvviso boAvviso = (BoAvviso)result; - - if ((companyId != boAvviso.getCompanyId()) || - (groupId != boAvviso.getGroupId()) || - !Validator.equals(protocollo, boAvviso.getProtocollo())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(5); - - query.append(_SQL_SELECT_BOAVVISO_WHERE); - - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_GROUPID_2); - - boolean bindProtocollo = false; - - if (protocollo == null) { - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_1); - } - else if (protocollo.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_3); - } - else { - bindProtocollo = true; - - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - if (bindProtocollo) { - qPos.add(protocollo); - } - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, - finderArgs, list); - } - else { - if ((list.size() > 1) && _log.isWarnEnabled()) { - _log.warn( - "BoAvvisoPersistenceImpl.fetchByC_G_Protocollo(long, long, String, boolean) with parameters (" + - StringUtil.merge(finderArgs) + - ") yields a result set with more than 1 result. This violates the logical unique restriction. There is no order guarantee on which result is returned by this finder."); - } - - BoAvviso boAvviso = list.get(0); - - result = boAvviso; - - cacheResult(boAvviso); - - if ((boAvviso.getCompanyId() != companyId) || - (boAvviso.getGroupId() != groupId) || - (boAvviso.getProtocollo() == null) || - !boAvviso.getProtocollo().equals(protocollo)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, - finderArgs, boAvviso); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoAvviso)result; - } - } - - /** - * Removes the bo avviso where companyId = ? and groupId = ? and protocollo = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the bo avviso that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso removeByC_G_Protocollo(long companyId, long groupId, - String protocollo) throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = findByC_G_Protocollo(companyId, groupId, protocollo); - - return remove(boAvviso); - } - - /** - * Returns the number of bo avvisos where companyId = ? and groupId = ? and protocollo = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the number of matching bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_G_Protocollo(long companyId, long groupId, - String protocollo) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_C_G_PROTOCOLLO; - - Object[] finderArgs = new Object[] { companyId, groupId, protocollo }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_COUNT_BOAVVISO_WHERE); - - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_GROUPID_2); - - boolean bindProtocollo = false; - - if (protocollo == null) { - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_1); - } - else if (protocollo.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_3); - } - else { - bindProtocollo = true; - - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - if (bindProtocollo) { - qPos.add(protocollo); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_C_G_PROTOCOLLO_COMPANYID_2 = "boAvviso.companyId = ? AND "; - private static final String _FINDER_COLUMN_C_G_PROTOCOLLO_GROUPID_2 = "boAvviso.groupId = ? AND "; - private static final String _FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_1 = "boAvviso.protocollo IS NULL"; - private static final String _FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_2 = "boAvviso.protocollo = ?"; - private static final String _FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_3 = "(boAvviso.protocollo IS NULL OR boAvviso.protocollo = '')"; - - public BoAvvisoPersistenceImpl() { - setModelClass(BoAvviso.class); - } - - /** - * Caches the bo avviso in the entity cache if it is enabled. - * - * @param boAvviso the bo avviso - */ - @Override - public void cacheResult(BoAvviso boAvviso) { - EntityCacheUtil.putResult(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoImpl.class, boAvviso.getPrimaryKey(), boAvviso); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - new Object[] { boAvviso.getUuid(), boAvviso.getGroupId() }, boAvviso); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, - new Object[] { - boAvviso.getCompanyId(), boAvviso.getGroupId(), - boAvviso.getProtocollo() - }, boAvviso); - - boAvviso.resetOriginalValues(); - } - - /** - * Caches the bo avvisos in the entity cache if it is enabled. - * - * @param boAvvisos the bo avvisos - */ - @Override - public void cacheResult(List boAvvisos) { - for (BoAvviso boAvviso : boAvvisos) { - if (EntityCacheUtil.getResult( - BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoImpl.class, boAvviso.getPrimaryKey()) == null) { - cacheResult(boAvviso); - } - else { - boAvviso.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all bo avvisos. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(BoAvvisoImpl.class.getName()); - } - - EntityCacheUtil.clearCache(BoAvvisoImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the bo avviso. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(BoAvviso boAvviso) { - EntityCacheUtil.removeResult(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoImpl.class, boAvviso.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(boAvviso); - } - - @Override - public void clearCache(List boAvvisos) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (BoAvviso boAvviso : boAvvisos) { - EntityCacheUtil.removeResult(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoImpl.class, boAvviso.getPrimaryKey()); - - clearUniqueFindersCache(boAvviso); - } - } - - protected void cacheUniqueFindersCache(BoAvviso boAvviso) { - if (boAvviso.isNew()) { - Object[] args = new Object[] { - boAvviso.getUuid(), boAvviso.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - boAvviso); - - args = new Object[] { - boAvviso.getCompanyId(), boAvviso.getGroupId(), - boAvviso.getProtocollo() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_C_G_PROTOCOLLO, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, - args, boAvviso); - } - else { - BoAvvisoModelImpl boAvvisoModelImpl = (BoAvvisoModelImpl)boAvviso; - - if ((boAvvisoModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boAvviso.getUuid(), boAvviso.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - boAvviso); - } - - if ((boAvvisoModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boAvviso.getCompanyId(), boAvviso.getGroupId(), - boAvviso.getProtocollo() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_C_G_PROTOCOLLO, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, - args, boAvviso); - } - } - } - - protected void clearUniqueFindersCache(BoAvviso boAvviso) { - BoAvvisoModelImpl boAvvisoModelImpl = (BoAvvisoModelImpl)boAvviso; - - Object[] args = new Object[] { boAvviso.getUuid(), boAvviso.getGroupId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - - if ((boAvvisoModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - args = new Object[] { - boAvvisoModelImpl.getOriginalUuid(), - boAvvisoModelImpl.getOriginalGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - } - - args = new Object[] { - boAvviso.getCompanyId(), boAvviso.getGroupId(), - boAvviso.getProtocollo() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_G_PROTOCOLLO, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, args); - - if ((boAvvisoModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO.getColumnBitmask()) != 0) { - args = new Object[] { - boAvvisoModelImpl.getOriginalCompanyId(), - boAvvisoModelImpl.getOriginalGroupId(), - boAvvisoModelImpl.getOriginalProtocollo() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_G_PROTOCOLLO, - args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, - args); - } - } - - /** - * Creates a new bo avviso with the primary key. Does not add the bo avviso to the database. - * - * @param avvisoId the primary key for the new bo avviso - * @return the new bo avviso - */ - @Override - public BoAvviso create(long avvisoId) { - BoAvviso boAvviso = new BoAvvisoImpl(); - - boAvviso.setNew(true); - boAvviso.setPrimaryKey(avvisoId); - - String uuid = PortalUUIDUtil.generate(); - - boAvviso.setUuid(uuid); - - return boAvviso; - } - - /** - * Removes the bo avviso with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param avvisoId the primary key of the bo avviso - * @return the bo avviso that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso remove(long avvisoId) - throws NoSuchBoAvvisoException, SystemException { - return remove((Serializable)avvisoId); - } - - /** - * Removes the bo avviso with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the bo avviso - * @return the bo avviso that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso remove(Serializable primaryKey) - throws NoSuchBoAvvisoException, SystemException { - Session session = null; - - try { - session = openSession(); - - BoAvviso boAvviso = (BoAvviso)session.get(BoAvvisoImpl.class, - primaryKey); - - if (boAvviso == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoAvvisoException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(boAvviso); - } - catch (NoSuchBoAvvisoException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected BoAvviso removeImpl(BoAvviso boAvviso) throws SystemException { - boAvviso = toUnwrappedModel(boAvviso); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(boAvviso)) { - boAvviso = (BoAvviso)session.get(BoAvvisoImpl.class, - boAvviso.getPrimaryKeyObj()); - } - - if (boAvviso != null) { - session.delete(boAvviso); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (boAvviso != null) { - clearCache(boAvviso); - } - - return boAvviso; - } - - @Override - public BoAvviso updateImpl( - it.tref.liferay.portos.portosimport.model.BoAvviso boAvviso) - throws SystemException { - boAvviso = toUnwrappedModel(boAvviso); - - boolean isNew = boAvviso.isNew(); - - BoAvvisoModelImpl boAvvisoModelImpl = (BoAvvisoModelImpl)boAvviso; - - if (Validator.isNull(boAvviso.getUuid())) { - String uuid = PortalUUIDUtil.generate(); - - boAvviso.setUuid(uuid); - } - - Session session = null; - - try { - session = openSession(); - - if (boAvviso.isNew()) { - session.save(boAvviso); - - boAvviso.setNew(false); - } - else { - session.merge(boAvviso); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !BoAvvisoModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((boAvvisoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { boAvvisoModelImpl.getOriginalUuid() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - - args = new Object[] { boAvvisoModelImpl.getUuid() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - } - - if ((boAvvisoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boAvvisoModelImpl.getOriginalUuid(), - boAvvisoModelImpl.getOriginalCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - - args = new Object[] { - boAvvisoModelImpl.getUuid(), - boAvvisoModelImpl.getCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - } - - if ((boAvvisoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICAID_TIPODOCUMENTO.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boAvvisoModelImpl.getOriginalDettPraticaId(), - boAvvisoModelImpl.getOriginalTipoDocumento() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICAID_TIPODOCUMENTO, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICAID_TIPODOCUMENTO, - args); - - args = new Object[] { - boAvvisoModelImpl.getDettPraticaId(), - boAvvisoModelImpl.getTipoDocumento() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICAID_TIPODOCUMENTO, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICAID_TIPODOCUMENTO, - args); - } - - if ((boAvvisoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICAIDS_TIPODOCUMENTO.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boAvvisoModelImpl.getOriginalDettPraticaId(), - boAvvisoModelImpl.getOriginalTipoDocumento() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICAIDS_TIPODOCUMENTO, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICAIDS_TIPODOCUMENTO, - args); - - args = new Object[] { - boAvvisoModelImpl.getDettPraticaId(), - boAvvisoModelImpl.getTipoDocumento() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICAIDS_TIPODOCUMENTO, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICAIDS_TIPODOCUMENTO, - args); - } - - if ((boAvvisoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boAvvisoModelImpl.getOriginalDettPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA, - args); - - args = new Object[] { boAvvisoModelImpl.getDettPraticaId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA, - args); - } - } - - EntityCacheUtil.putResult(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoImpl.class, boAvviso.getPrimaryKey(), boAvviso); - - clearUniqueFindersCache(boAvviso); - cacheUniqueFindersCache(boAvviso); - - return boAvviso; - } - - protected BoAvviso toUnwrappedModel(BoAvviso boAvviso) { - if (boAvviso instanceof BoAvvisoImpl) { - return boAvviso; - } - - BoAvvisoImpl boAvvisoImpl = new BoAvvisoImpl(); - - boAvvisoImpl.setNew(boAvviso.isNew()); - boAvvisoImpl.setPrimaryKey(boAvviso.getPrimaryKey()); - - boAvvisoImpl.setUuid(boAvviso.getUuid()); - boAvvisoImpl.setAvvisoId(boAvviso.getAvvisoId()); - boAvvisoImpl.setCompanyId(boAvviso.getCompanyId()); - boAvvisoImpl.setUserId(boAvviso.getUserId()); - boAvvisoImpl.setUserName(boAvviso.getUserName()); - boAvvisoImpl.setCreateDate(boAvviso.getCreateDate()); - boAvvisoImpl.setModifiedDate(boAvviso.getModifiedDate()); - boAvvisoImpl.setGroupId(boAvviso.getGroupId()); - boAvvisoImpl.setDescLong(boAvviso.getDescLong()); - boAvvisoImpl.setDtAvviso(boAvviso.getDtAvviso()); - boAvvisoImpl.setTipoAvviso(boAvviso.getTipoAvviso()); - boAvvisoImpl.setTipoDocumento(boAvviso.getTipoDocumento()); - boAvvisoImpl.setFileEntryIdTemplate(boAvviso.getFileEntryIdTemplate()); - boAvvisoImpl.setFileEntryIdBase(boAvviso.getFileEntryIdBase()); - boAvvisoImpl.setFileEntryIdFirma(boAvviso.getFileEntryIdFirma()); - boAvvisoImpl.setFileEntryIdInvio(boAvviso.getFileEntryIdInvio()); - boAvvisoImpl.setDtCreateFileEntryInvio(boAvviso.getDtCreateFileEntryInvio()); - boAvvisoImpl.setUserIdPrimaFirma(boAvviso.getUserIdPrimaFirma()); - boAvvisoImpl.setUserIdSecondaFirma(boAvviso.getUserIdSecondaFirma()); - boAvvisoImpl.setFirmaInCorso(boAvviso.isFirmaInCorso()); - boAvvisoImpl.setTransactionIdPrimaFirma(boAvviso.getTransactionIdPrimaFirma()); - boAvvisoImpl.setTransactionIdSecondaFirma(boAvviso.getTransactionIdSecondaFirma()); - boAvvisoImpl.setInviato(boAvviso.getInviato()); - boAvvisoImpl.setDtInvio(boAvviso.getDtInvio()); - boAvvisoImpl.setAnnullato(boAvviso.isAnnullato()); - boAvvisoImpl.setErrore(boAvviso.isErrore()); - boAvvisoImpl.setSignal(boAvviso.isSignal()); - boAvvisoImpl.setDtInvioSignal(boAvviso.getDtInvioSignal()); - boAvvisoImpl.setTempistica(boAvviso.isTempistica()); - boAvvisoImpl.setDtTempistica(boAvviso.getDtTempistica()); - boAvvisoImpl.setDaxId(boAvviso.getDaxId()); - boAvvisoImpl.setDtInvioDax(boAvviso.getDtInvioDax()); - boAvvisoImpl.setErroreDax(boAvviso.getErroreDax()); - boAvvisoImpl.setDtErroreDax(boAvviso.getDtErroreDax()); - boAvvisoImpl.setJsonParameters(boAvviso.getJsonParameters()); - boAvvisoImpl.setProtocollo(boAvviso.getProtocollo()); - boAvvisoImpl.setInviatoTecnico(boAvviso.isInviatoTecnico()); - boAvvisoImpl.setDettPraticaId(boAvviso.getDettPraticaId()); - - return boAvvisoImpl; - } - - /** - * Returns the bo avviso with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the bo avviso - * @return the bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso findByPrimaryKey(Serializable primaryKey) - throws NoSuchBoAvvisoException, SystemException { - BoAvviso boAvviso = fetchByPrimaryKey(primaryKey); - - if (boAvviso == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoAvvisoException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return boAvviso; - } - - /** - * Returns the bo avviso with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException} if it could not be found. - * - * @param avvisoId the primary key of the bo avviso - * @return the bo avviso - * @throws it.tref.liferay.portos.portosimport.NoSuchBoAvvisoException if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso findByPrimaryKey(long avvisoId) - throws NoSuchBoAvvisoException, SystemException { - return findByPrimaryKey((Serializable)avvisoId); - } - - /** - * Returns the bo avviso with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the bo avviso - * @return the bo avviso, or null if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - BoAvviso boAvviso = (BoAvviso)EntityCacheUtil.getResult(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoImpl.class, primaryKey); - - if (boAvviso == _nullBoAvviso) { - return null; - } - - if (boAvviso == null) { - Session session = null; - - try { - session = openSession(); - - boAvviso = (BoAvviso)session.get(BoAvvisoImpl.class, primaryKey); - - if (boAvviso != null) { - cacheResult(boAvviso); - } - else { - EntityCacheUtil.putResult(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoImpl.class, primaryKey, _nullBoAvviso); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(BoAvvisoModelImpl.ENTITY_CACHE_ENABLED, - BoAvvisoImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return boAvviso; - } - - /** - * Returns the bo avviso with the primary key or returns null if it could not be found. - * - * @param avvisoId the primary key of the bo avviso - * @return the bo avviso, or null if a bo avviso with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoAvviso fetchByPrimaryKey(long avvisoId) throws SystemException { - return fetchByPrimaryKey((Serializable)avvisoId); - } - - /** - * Returns all the bo avvisos. - * - * @return the bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo avvisos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @return the range of bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the bo avvisos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoAvvisoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo avvisos - * @param end the upper bound of the range of bo avvisos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_BOAVVISO); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_BOAVVISO; - - if (pagination) { - sql = sql.concat(BoAvvisoModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the bo avvisos from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (BoAvviso boAvviso : findAll()) { - remove(boAvviso); - } - } - - /** - * Returns the number of bo avvisos. - * - * @return the number of bo avvisos - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_BOAVVISO); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - @Override - protected Set getBadColumnNames() { - return _badColumnNames; - } - - /** - * Initializes the bo avviso persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.portosimport.model.BoAvviso"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(BoAvvisoImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_BOAVVISO = "SELECT boAvviso FROM BoAvviso boAvviso"; - private static final String _SQL_SELECT_BOAVVISO_WHERE = "SELECT boAvviso FROM BoAvviso boAvviso WHERE "; - private static final String _SQL_COUNT_BOAVVISO = "SELECT COUNT(boAvviso) FROM BoAvviso boAvviso"; - private static final String _SQL_COUNT_BOAVVISO_WHERE = "SELECT COUNT(boAvviso) FROM BoAvviso boAvviso WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "boAvviso."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No BoAvviso exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No BoAvviso exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(BoAvvisoPersistenceImpl.class); - private static Set _badColumnNames = SetUtil.fromArray(new String[] { - "uuid" - }); - private static BoAvviso _nullBoAvviso = new BoAvvisoImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullBoAvvisoCacheModel; - } - }; - - private static CacheModel _nullBoAvvisoCacheModel = new CacheModel() { - @Override - public BoAvviso toEntityModel() { - return _nullBoAvviso; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoComunePersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoComunePersistenceImpl.java deleted file mode 100644 index 8dddfffd..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoComunePersistenceImpl.java +++ /dev/null @@ -1,1236 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.portosimport.NoSuchBoComuneException; -import it.tref.liferay.portos.portosimport.model.BoComune; -import it.tref.liferay.portos.portosimport.model.impl.BoComuneImpl; -import it.tref.liferay.portos.portosimport.model.impl.BoComuneModelImpl; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -/** - * The persistence implementation for the bo comune service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoComunePersistence - * @see BoComuneUtil - * @generated - */ -public class BoComunePersistenceImpl extends BasePersistenceImpl - implements BoComunePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link BoComuneUtil} to access the bo comune persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = BoComuneImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(BoComuneModelImpl.ENTITY_CACHE_ENABLED, - BoComuneModelImpl.FINDER_CACHE_ENABLED, BoComuneImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(BoComuneModelImpl.ENTITY_CACHE_ENABLED, - BoComuneModelImpl.FINDER_CACHE_ENABLED, BoComuneImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(BoComuneModelImpl.ENTITY_CACHE_ENABLED, - BoComuneModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_FETCH_BY_CODISTAT = new FinderPath(BoComuneModelImpl.ENTITY_CACHE_ENABLED, - BoComuneModelImpl.FINDER_CACHE_ENABLED, BoComuneImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByCodIstat", - new String[] { String.class.getName() }, - BoComuneModelImpl.CODISTAT_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_CODISTAT = new FinderPath(BoComuneModelImpl.ENTITY_CACHE_ENABLED, - BoComuneModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByCodIstat", - new String[] { String.class.getName() }); - - /** - * Returns the bo comune where codIstat = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoComuneException} if it could not be found. - * - * @param codIstat the cod istat - * @return the matching bo comune - * @throws it.tref.liferay.portos.portosimport.NoSuchBoComuneException if a matching bo comune could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoComune findByCodIstat(String codIstat) - throws NoSuchBoComuneException, SystemException { - BoComune boComune = fetchByCodIstat(codIstat); - - if (boComune == null) { - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("codIstat="); - msg.append(codIstat); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoComuneException(msg.toString()); - } - - return boComune; - } - - /** - * Returns the bo comune where codIstat = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codIstat the cod istat - * @return the matching bo comune, or null if a matching bo comune could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoComune fetchByCodIstat(String codIstat) throws SystemException { - return fetchByCodIstat(codIstat, true); - } - - /** - * Returns the bo comune where codIstat = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codIstat the cod istat - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo comune, or null if a matching bo comune could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoComune fetchByCodIstat(String codIstat, boolean retrieveFromCache) - throws SystemException { - Object[] finderArgs = new Object[] { codIstat }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_CODISTAT, - finderArgs, this); - } - - if (result instanceof BoComune) { - BoComune boComune = (BoComune)result; - - if (!Validator.equals(codIstat, boComune.getCodIstat())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_SELECT_BOCOMUNE_WHERE); - - boolean bindCodIstat = false; - - if (codIstat == null) { - query.append(_FINDER_COLUMN_CODISTAT_CODISTAT_1); - } - else if (codIstat.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_CODISTAT_CODISTAT_3); - } - else { - bindCodIstat = true; - - query.append(_FINDER_COLUMN_CODISTAT_CODISTAT_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindCodIstat) { - qPos.add(codIstat); - } - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODISTAT, - finderArgs, list); - } - else { - BoComune boComune = list.get(0); - - result = boComune; - - cacheResult(boComune); - - if ((boComune.getCodIstat() == null) || - !boComune.getCodIstat().equals(codIstat)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODISTAT, - finderArgs, boComune); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODISTAT, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoComune)result; - } - } - - /** - * Removes the bo comune where codIstat = ? from the database. - * - * @param codIstat the cod istat - * @return the bo comune that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoComune removeByCodIstat(String codIstat) - throws NoSuchBoComuneException, SystemException { - BoComune boComune = findByCodIstat(codIstat); - - return remove(boComune); - } - - /** - * Returns the number of bo comunes where codIstat = ?. - * - * @param codIstat the cod istat - * @return the number of matching bo comunes - * @throws SystemException if a system exception occurred - */ - @Override - public int countByCodIstat(String codIstat) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_CODISTAT; - - Object[] finderArgs = new Object[] { codIstat }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BOCOMUNE_WHERE); - - boolean bindCodIstat = false; - - if (codIstat == null) { - query.append(_FINDER_COLUMN_CODISTAT_CODISTAT_1); - } - else if (codIstat.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_CODISTAT_CODISTAT_3); - } - else { - bindCodIstat = true; - - query.append(_FINDER_COLUMN_CODISTAT_CODISTAT_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindCodIstat) { - qPos.add(codIstat); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_CODISTAT_CODISTAT_1 = "boComune.codIstat IS NULL"; - private static final String _FINDER_COLUMN_CODISTAT_CODISTAT_2 = "boComune.codIstat = ?"; - private static final String _FINDER_COLUMN_CODISTAT_CODISTAT_3 = "(boComune.codIstat IS NULL OR boComune.codIstat = '')"; - public static final FinderPath FINDER_PATH_FETCH_BY_CODCATASTALE = new FinderPath(BoComuneModelImpl.ENTITY_CACHE_ENABLED, - BoComuneModelImpl.FINDER_CACHE_ENABLED, BoComuneImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByCodCatastale", - new String[] { String.class.getName() }, - BoComuneModelImpl.CODCATASTALE_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_CODCATASTALE = new FinderPath(BoComuneModelImpl.ENTITY_CACHE_ENABLED, - BoComuneModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByCodCatastale", - new String[] { String.class.getName() }); - - /** - * Returns the bo comune where codCatastale = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoComuneException} if it could not be found. - * - * @param codCatastale the cod catastale - * @return the matching bo comune - * @throws it.tref.liferay.portos.portosimport.NoSuchBoComuneException if a matching bo comune could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoComune findByCodCatastale(String codCatastale) - throws NoSuchBoComuneException, SystemException { - BoComune boComune = fetchByCodCatastale(codCatastale); - - if (boComune == null) { - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("codCatastale="); - msg.append(codCatastale); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoComuneException(msg.toString()); - } - - return boComune; - } - - /** - * Returns the bo comune where codCatastale = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codCatastale the cod catastale - * @return the matching bo comune, or null if a matching bo comune could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoComune fetchByCodCatastale(String codCatastale) - throws SystemException { - return fetchByCodCatastale(codCatastale, true); - } - - /** - * Returns the bo comune where codCatastale = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codCatastale the cod catastale - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo comune, or null if a matching bo comune could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoComune fetchByCodCatastale(String codCatastale, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { codCatastale }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_CODCATASTALE, - finderArgs, this); - } - - if (result instanceof BoComune) { - BoComune boComune = (BoComune)result; - - if (!Validator.equals(codCatastale, boComune.getCodCatastale())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_SELECT_BOCOMUNE_WHERE); - - boolean bindCodCatastale = false; - - if (codCatastale == null) { - query.append(_FINDER_COLUMN_CODCATASTALE_CODCATASTALE_1); - } - else if (codCatastale.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_CODCATASTALE_CODCATASTALE_3); - } - else { - bindCodCatastale = true; - - query.append(_FINDER_COLUMN_CODCATASTALE_CODCATASTALE_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindCodCatastale) { - qPos.add(codCatastale); - } - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODCATASTALE, - finderArgs, list); - } - else { - BoComune boComune = list.get(0); - - result = boComune; - - cacheResult(boComune); - - if ((boComune.getCodCatastale() == null) || - !boComune.getCodCatastale().equals(codCatastale)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODCATASTALE, - finderArgs, boComune); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODCATASTALE, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoComune)result; - } - } - - /** - * Removes the bo comune where codCatastale = ? from the database. - * - * @param codCatastale the cod catastale - * @return the bo comune that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoComune removeByCodCatastale(String codCatastale) - throws NoSuchBoComuneException, SystemException { - BoComune boComune = findByCodCatastale(codCatastale); - - return remove(boComune); - } - - /** - * Returns the number of bo comunes where codCatastale = ?. - * - * @param codCatastale the cod catastale - * @return the number of matching bo comunes - * @throws SystemException if a system exception occurred - */ - @Override - public int countByCodCatastale(String codCatastale) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_CODCATASTALE; - - Object[] finderArgs = new Object[] { codCatastale }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BOCOMUNE_WHERE); - - boolean bindCodCatastale = false; - - if (codCatastale == null) { - query.append(_FINDER_COLUMN_CODCATASTALE_CODCATASTALE_1); - } - else if (codCatastale.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_CODCATASTALE_CODCATASTALE_3); - } - else { - bindCodCatastale = true; - - query.append(_FINDER_COLUMN_CODCATASTALE_CODCATASTALE_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindCodCatastale) { - qPos.add(codCatastale); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_CODCATASTALE_CODCATASTALE_1 = "boComune.codCatastale IS NULL"; - private static final String _FINDER_COLUMN_CODCATASTALE_CODCATASTALE_2 = "boComune.codCatastale = ?"; - private static final String _FINDER_COLUMN_CODCATASTALE_CODCATASTALE_3 = "(boComune.codCatastale IS NULL OR boComune.codCatastale = '')"; - - public BoComunePersistenceImpl() { - setModelClass(BoComune.class); - } - - /** - * Caches the bo comune in the entity cache if it is enabled. - * - * @param boComune the bo comune - */ - @Override - public void cacheResult(BoComune boComune) { - EntityCacheUtil.putResult(BoComuneModelImpl.ENTITY_CACHE_ENABLED, - BoComuneImpl.class, boComune.getPrimaryKey(), boComune); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODISTAT, - new Object[] { boComune.getCodIstat() }, boComune); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODCATASTALE, - new Object[] { boComune.getCodCatastale() }, boComune); - - boComune.resetOriginalValues(); - } - - /** - * Caches the bo comunes in the entity cache if it is enabled. - * - * @param boComunes the bo comunes - */ - @Override - public void cacheResult(List boComunes) { - for (BoComune boComune : boComunes) { - if (EntityCacheUtil.getResult( - BoComuneModelImpl.ENTITY_CACHE_ENABLED, - BoComuneImpl.class, boComune.getPrimaryKey()) == null) { - cacheResult(boComune); - } - else { - boComune.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all bo comunes. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(BoComuneImpl.class.getName()); - } - - EntityCacheUtil.clearCache(BoComuneImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the bo comune. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(BoComune boComune) { - EntityCacheUtil.removeResult(BoComuneModelImpl.ENTITY_CACHE_ENABLED, - BoComuneImpl.class, boComune.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(boComune); - } - - @Override - public void clearCache(List boComunes) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (BoComune boComune : boComunes) { - EntityCacheUtil.removeResult(BoComuneModelImpl.ENTITY_CACHE_ENABLED, - BoComuneImpl.class, boComune.getPrimaryKey()); - - clearUniqueFindersCache(boComune); - } - } - - protected void cacheUniqueFindersCache(BoComune boComune) { - if (boComune.isNew()) { - Object[] args = new Object[] { boComune.getCodIstat() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_CODISTAT, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODISTAT, args, - boComune); - - args = new Object[] { boComune.getCodCatastale() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_CODCATASTALE, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODCATASTALE, args, - boComune); - } - else { - BoComuneModelImpl boComuneModelImpl = (BoComuneModelImpl)boComune; - - if ((boComuneModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_CODISTAT.getColumnBitmask()) != 0) { - Object[] args = new Object[] { boComune.getCodIstat() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_CODISTAT, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODISTAT, args, - boComune); - } - - if ((boComuneModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_CODCATASTALE.getColumnBitmask()) != 0) { - Object[] args = new Object[] { boComune.getCodCatastale() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_CODCATASTALE, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODCATASTALE, - args, boComune); - } - } - } - - protected void clearUniqueFindersCache(BoComune boComune) { - BoComuneModelImpl boComuneModelImpl = (BoComuneModelImpl)boComune; - - Object[] args = new Object[] { boComune.getCodIstat() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CODISTAT, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODISTAT, args); - - if ((boComuneModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_CODISTAT.getColumnBitmask()) != 0) { - args = new Object[] { boComuneModelImpl.getOriginalCodIstat() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CODISTAT, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODISTAT, args); - } - - args = new Object[] { boComune.getCodCatastale() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CODCATASTALE, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODCATASTALE, args); - - if ((boComuneModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_CODCATASTALE.getColumnBitmask()) != 0) { - args = new Object[] { boComuneModelImpl.getOriginalCodCatastale() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CODCATASTALE, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODCATASTALE, args); - } - } - - /** - * Creates a new bo comune with the primary key. Does not add the bo comune to the database. - * - * @param comuneId the primary key for the new bo comune - * @return the new bo comune - */ - @Override - public BoComune create(long comuneId) { - BoComune boComune = new BoComuneImpl(); - - boComune.setNew(true); - boComune.setPrimaryKey(comuneId); - - return boComune; - } - - /** - * Removes the bo comune with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param comuneId the primary key of the bo comune - * @return the bo comune that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoComuneException if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoComune remove(long comuneId) - throws NoSuchBoComuneException, SystemException { - return remove((Serializable)comuneId); - } - - /** - * Removes the bo comune with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the bo comune - * @return the bo comune that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoComuneException if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoComune remove(Serializable primaryKey) - throws NoSuchBoComuneException, SystemException { - Session session = null; - - try { - session = openSession(); - - BoComune boComune = (BoComune)session.get(BoComuneImpl.class, - primaryKey); - - if (boComune == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoComuneException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(boComune); - } - catch (NoSuchBoComuneException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected BoComune removeImpl(BoComune boComune) throws SystemException { - boComune = toUnwrappedModel(boComune); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(boComune)) { - boComune = (BoComune)session.get(BoComuneImpl.class, - boComune.getPrimaryKeyObj()); - } - - if (boComune != null) { - session.delete(boComune); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (boComune != null) { - clearCache(boComune); - } - - return boComune; - } - - @Override - public BoComune updateImpl( - it.tref.liferay.portos.portosimport.model.BoComune boComune) - throws SystemException { - boComune = toUnwrappedModel(boComune); - - boolean isNew = boComune.isNew(); - - Session session = null; - - try { - session = openSession(); - - if (boComune.isNew()) { - session.save(boComune); - - boComune.setNew(false); - } - else { - session.merge(boComune); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !BoComuneModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - EntityCacheUtil.putResult(BoComuneModelImpl.ENTITY_CACHE_ENABLED, - BoComuneImpl.class, boComune.getPrimaryKey(), boComune); - - clearUniqueFindersCache(boComune); - cacheUniqueFindersCache(boComune); - - return boComune; - } - - protected BoComune toUnwrappedModel(BoComune boComune) { - if (boComune instanceof BoComuneImpl) { - return boComune; - } - - BoComuneImpl boComuneImpl = new BoComuneImpl(); - - boComuneImpl.setNew(boComune.isNew()); - boComuneImpl.setPrimaryKey(boComune.getPrimaryKey()); - - boComuneImpl.setComuneId(boComune.getComuneId()); - boComuneImpl.setCompanyId(boComune.getCompanyId()); - boComuneImpl.setUserId(boComune.getUserId()); - boComuneImpl.setUserName(boComune.getUserName()); - boComuneImpl.setCreateDate(boComune.getCreateDate()); - boComuneImpl.setModifiedDate(boComune.getModifiedDate()); - boComuneImpl.setProvinciaId(boComune.getProvinciaId()); - boComuneImpl.setCodIstat(boComune.getCodIstat()); - boComuneImpl.setCodCatastale(boComune.getCodCatastale()); - boComuneImpl.setDescLong(boComune.getDescLong()); - - return boComuneImpl; - } - - /** - * Returns the bo comune with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the bo comune - * @return the bo comune - * @throws it.tref.liferay.portos.portosimport.NoSuchBoComuneException if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoComune findByPrimaryKey(Serializable primaryKey) - throws NoSuchBoComuneException, SystemException { - BoComune boComune = fetchByPrimaryKey(primaryKey); - - if (boComune == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoComuneException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return boComune; - } - - /** - * Returns the bo comune with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoComuneException} if it could not be found. - * - * @param comuneId the primary key of the bo comune - * @return the bo comune - * @throws it.tref.liferay.portos.portosimport.NoSuchBoComuneException if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoComune findByPrimaryKey(long comuneId) - throws NoSuchBoComuneException, SystemException { - return findByPrimaryKey((Serializable)comuneId); - } - - /** - * Returns the bo comune with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the bo comune - * @return the bo comune, or null if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoComune fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - BoComune boComune = (BoComune)EntityCacheUtil.getResult(BoComuneModelImpl.ENTITY_CACHE_ENABLED, - BoComuneImpl.class, primaryKey); - - if (boComune == _nullBoComune) { - return null; - } - - if (boComune == null) { - Session session = null; - - try { - session = openSession(); - - boComune = (BoComune)session.get(BoComuneImpl.class, primaryKey); - - if (boComune != null) { - cacheResult(boComune); - } - else { - EntityCacheUtil.putResult(BoComuneModelImpl.ENTITY_CACHE_ENABLED, - BoComuneImpl.class, primaryKey, _nullBoComune); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(BoComuneModelImpl.ENTITY_CACHE_ENABLED, - BoComuneImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return boComune; - } - - /** - * Returns the bo comune with the primary key or returns null if it could not be found. - * - * @param comuneId the primary key of the bo comune - * @return the bo comune, or null if a bo comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoComune fetchByPrimaryKey(long comuneId) throws SystemException { - return fetchByPrimaryKey((Serializable)comuneId); - } - - /** - * Returns all the bo comunes. - * - * @return the bo comunes - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo comunes - * @param end the upper bound of the range of bo comunes (not inclusive) - * @return the range of bo comunes - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the bo comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo comunes - * @param end the upper bound of the range of bo comunes (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo comunes - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_BOCOMUNE); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_BOCOMUNE; - - if (pagination) { - sql = sql.concat(BoComuneModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the bo comunes from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (BoComune boComune : findAll()) { - remove(boComune); - } - } - - /** - * Returns the number of bo comunes. - * - * @return the number of bo comunes - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_BOCOMUNE); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - /** - * Initializes the bo comune persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.portosimport.model.BoComune"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(BoComuneImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_BOCOMUNE = "SELECT boComune FROM BoComune boComune"; - private static final String _SQL_SELECT_BOCOMUNE_WHERE = "SELECT boComune FROM BoComune boComune WHERE "; - private static final String _SQL_COUNT_BOCOMUNE = "SELECT COUNT(boComune) FROM BoComune boComune"; - private static final String _SQL_COUNT_BOCOMUNE_WHERE = "SELECT COUNT(boComune) FROM BoComune boComune WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "boComune."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No BoComune exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No BoComune exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(BoComunePersistenceImpl.class); - private static BoComune _nullBoComune = new BoComuneImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullBoComuneCacheModel; - } - }; - - private static CacheModel _nullBoComuneCacheModel = new CacheModel() { - @Override - public BoComune toEntityModel() { - return _nullBoComune; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoDettPraticaPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoDettPraticaPersistenceImpl.java deleted file mode 100644 index 910f9160..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoDettPraticaPersistenceImpl.java +++ /dev/null @@ -1,6687 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.SetUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.kernel.uuid.PortalUUIDUtil; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException; -import it.tref.liferay.portos.portosimport.model.BoDettPratica; -import it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaImpl; -import it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Set; - -/** - * The persistence implementation for the bo dett pratica service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoDettPraticaPersistence - * @see BoDettPraticaUtil - * @generated - */ -public class BoDettPraticaPersistenceImpl extends BasePersistenceImpl - implements BoDettPraticaPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link BoDettPraticaUtil} to access the bo dett pratica persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = BoDettPraticaImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID = new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByUuid", - new String[] { - String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID = new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByUuid", new String[] { String.class.getName() }, - BoDettPraticaModelImpl.UUID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID = new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid", - new String[] { String.class.getName() }); - - /** - * Returns all the bo dett praticas where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid) - throws SystemException { - return findByUuid(uuid, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo dett praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end) - throws SystemException { - return findByUuid(uuid, start, end, null); - } - - /** - * Returns an ordered range of all the bo dett praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoDettPratica boDettPratica : list) { - if (!Validator.equals(uuid, boDettPratica.getUuid())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoDettPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByUuid_First(String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchByUuid_First(uuid, orderByComparator); - - if (boDettPratica != null) { - return boDettPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - /** - * Returns the first bo dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByUuid_First(String uuid, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid(uuid, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByUuid_Last(String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchByUuid_Last(uuid, orderByComparator); - - if (boDettPratica != null) { - return boDettPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - /** - * Returns the last bo dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByUuid_Last(String uuid, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid(uuid); - - if (count == 0) { - return null; - } - - List list = findByUuid(uuid, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where uuid = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica[] findByUuid_PrevAndNext(long dettPraticaId, - String uuid, OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = findByPrimaryKey(dettPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoDettPratica[] array = new BoDettPraticaImpl[3]; - - array[0] = getByUuid_PrevAndNext(session, boDettPratica, uuid, - orderByComparator, true); - - array[1] = boDettPratica; - - array[2] = getByUuid_PrevAndNext(session, boDettPratica, uuid, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoDettPratica getByUuid_PrevAndNext(Session session, - BoDettPratica boDettPratica, String uuid, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoDettPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boDettPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo dett praticas where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid(String uuid) throws SystemException { - for (BoDettPratica boDettPratica : findByUuid(uuid, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(boDettPratica); - } - } - - /** - * Returns the number of bo dett praticas where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid(String uuid) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID; - - Object[] finderArgs = new Object[] { uuid }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BODETTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_UUID_1 = "boDettPratica.uuid IS NULL"; - private static final String _FINDER_COLUMN_UUID_UUID_2 = "boDettPratica.uuid = ?"; - private static final String _FINDER_COLUMN_UUID_UUID_3 = "(boDettPratica.uuid IS NULL OR boDettPratica.uuid = '')"; - public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G = new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_ENTITY, "fetchByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }, - BoDettPraticaModelImpl.UUID_COLUMN_BITMASK | - BoDettPraticaModelImpl.GROUPID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G = new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns the bo dett pratica where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByUUID_G(String uuid, long groupId) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchByUUID_G(uuid, groupId); - - if (boDettPratica == null) { - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - return boDettPratica; - } - - /** - * Returns the bo dett pratica where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByUUID_G(String uuid, long groupId) - throws SystemException { - return fetchByUUID_G(uuid, groupId, true); - } - - /** - * Returns the bo dett pratica where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByUUID_G(String uuid, long groupId, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { uuid, groupId }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, this); - } - - if (result instanceof BoDettPratica) { - BoDettPratica boDettPratica = (BoDettPratica)result; - - if (!Validator.equals(uuid, boDettPratica.getUuid()) || - (groupId != boDettPratica.getGroupId())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, list); - } - else { - BoDettPratica boDettPratica = list.get(0); - - result = boDettPratica; - - cacheResult(boDettPratica); - - if ((boDettPratica.getUuid() == null) || - !boDettPratica.getUuid().equals(uuid) || - (boDettPratica.getGroupId() != groupId)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, boDettPratica); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoDettPratica)result; - } - } - - /** - * Removes the bo dett pratica where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica removeByUUID_G(String uuid, long groupId) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = findByUUID_G(uuid, groupId); - - return remove(boDettPratica); - } - - /** - * Returns the number of bo dett praticas where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUUID_G(String uuid, long groupId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_G; - - Object[] finderArgs = new Object[] { uuid, groupId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BODETTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_G_UUID_1 = "boDettPratica.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_2 = "boDettPratica.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_3 = "(boDettPratica.uuid IS NULL OR boDettPratica.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_G_GROUPID_2 = "boDettPratica.groupId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C = new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByUuid_C", - new String[] { - String.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C = - new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }, - BoDettPraticaModelImpl.UUID_COLUMN_BITMASK | - BoDettPraticaModelImpl.COMPANYID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C = new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns all the bo dett praticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId) - throws SystemException { - return findByUuid_C(uuid, companyId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo dett praticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, - int start, int end) throws SystemException { - return findByUuid_C(uuid, companyId, start, end, null); - } - - /** - * Returns an ordered range of all the bo dett praticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { uuid, companyId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { - uuid, companyId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoDettPratica boDettPratica : list) { - if (!Validator.equals(uuid, boDettPratica.getUuid()) || - (companyId != boDettPratica.getCompanyId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoDettPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo dett pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByUuid_C_First(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchByUuid_C_First(uuid, companyId, - orderByComparator); - - if (boDettPratica != null) { - return boDettPratica; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - /** - * Returns the first bo dett pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByUuid_C_First(String uuid, long companyId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid_C(uuid, companyId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo dett pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchByUuid_C_Last(uuid, companyId, - orderByComparator); - - if (boDettPratica != null) { - return boDettPratica; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - /** - * Returns the last bo dett pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid_C(uuid, companyId); - - if (count == 0) { - return null; - } - - List list = findByUuid_C(uuid, companyId, count - 1, - count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica[] findByUuid_C_PrevAndNext(long dettPraticaId, - String uuid, long companyId, OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = findByPrimaryKey(dettPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoDettPratica[] array = new BoDettPraticaImpl[3]; - - array[0] = getByUuid_C_PrevAndNext(session, boDettPratica, uuid, - companyId, orderByComparator, true); - - array[1] = boDettPratica; - - array[2] = getByUuid_C_PrevAndNext(session, boDettPratica, uuid, - companyId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoDettPratica getByUuid_C_PrevAndNext(Session session, - BoDettPratica boDettPratica, String uuid, long companyId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoDettPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boDettPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo dett praticas where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid_C(String uuid, long companyId) - throws SystemException { - for (BoDettPratica boDettPratica : findByUuid_C(uuid, companyId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boDettPratica); - } - } - - /** - * Returns the number of bo dett praticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid_C(String uuid, long companyId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_C; - - Object[] finderArgs = new Object[] { uuid, companyId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BODETTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_C_UUID_1 = "boDettPratica.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_2 = "boDettPratica.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_3 = "(boDettPratica.uuid IS NULL OR boDettPratica.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_C_COMPANYID_2 = "boDettPratica.companyId = ?"; - public static final FinderPath FINDER_PATH_FETCH_BY_CODPRATICASUAP = new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_ENTITY, - "fetchByCodPraticaSuap", new String[] { String.class.getName() }, - BoDettPraticaModelImpl.CODPRATICASUAP_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_CODPRATICASUAP = new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByCodPraticaSuap", - new String[] { String.class.getName() }); - - /** - * Returns the bo dett pratica where codPraticaSuap = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException} if it could not be found. - * - * @param codPraticaSuap the cod pratica suap - * @return the matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByCodPraticaSuap(String codPraticaSuap) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchByCodPraticaSuap(codPraticaSuap); - - if (boDettPratica == null) { - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("codPraticaSuap="); - msg.append(codPraticaSuap); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - return boDettPratica; - } - - /** - * Returns the bo dett pratica where codPraticaSuap = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codPraticaSuap the cod pratica suap - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByCodPraticaSuap(String codPraticaSuap) - throws SystemException { - return fetchByCodPraticaSuap(codPraticaSuap, true); - } - - /** - * Returns the bo dett pratica where codPraticaSuap = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codPraticaSuap the cod pratica suap - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByCodPraticaSuap(String codPraticaSuap, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { codPraticaSuap }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_CODPRATICASUAP, - finderArgs, this); - } - - if (result instanceof BoDettPratica) { - BoDettPratica boDettPratica = (BoDettPratica)result; - - if (!Validator.equals(codPraticaSuap, - boDettPratica.getCodPraticaSuap())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - boolean bindCodPraticaSuap = false; - - if (codPraticaSuap == null) { - query.append(_FINDER_COLUMN_CODPRATICASUAP_CODPRATICASUAP_1); - } - else if (codPraticaSuap.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_CODPRATICASUAP_CODPRATICASUAP_3); - } - else { - bindCodPraticaSuap = true; - - query.append(_FINDER_COLUMN_CODPRATICASUAP_CODPRATICASUAP_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindCodPraticaSuap) { - qPos.add(codPraticaSuap); - } - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODPRATICASUAP, - finderArgs, list); - } - else { - BoDettPratica boDettPratica = list.get(0); - - result = boDettPratica; - - cacheResult(boDettPratica); - - if ((boDettPratica.getCodPraticaSuap() == null) || - !boDettPratica.getCodPraticaSuap() - .equals(codPraticaSuap)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODPRATICASUAP, - finderArgs, boDettPratica); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODPRATICASUAP, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoDettPratica)result; - } - } - - /** - * Removes the bo dett pratica where codPraticaSuap = ? from the database. - * - * @param codPraticaSuap the cod pratica suap - * @return the bo dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica removeByCodPraticaSuap(String codPraticaSuap) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = findByCodPraticaSuap(codPraticaSuap); - - return remove(boDettPratica); - } - - /** - * Returns the number of bo dett praticas where codPraticaSuap = ?. - * - * @param codPraticaSuap the cod pratica suap - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByCodPraticaSuap(String codPraticaSuap) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_CODPRATICASUAP; - - Object[] finderArgs = new Object[] { codPraticaSuap }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BODETTPRATICA_WHERE); - - boolean bindCodPraticaSuap = false; - - if (codPraticaSuap == null) { - query.append(_FINDER_COLUMN_CODPRATICASUAP_CODPRATICASUAP_1); - } - else if (codPraticaSuap.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_CODPRATICASUAP_CODPRATICASUAP_3); - } - else { - bindCodPraticaSuap = true; - - query.append(_FINDER_COLUMN_CODPRATICASUAP_CODPRATICASUAP_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindCodPraticaSuap) { - qPos.add(codPraticaSuap); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_CODPRATICASUAP_CODPRATICASUAP_1 = "boDettPratica.codPraticaSuap IS NULL"; - private static final String _FINDER_COLUMN_CODPRATICASUAP_CODPRATICASUAP_2 = "boDettPratica.codPraticaSuap = ?"; - private static final String _FINDER_COLUMN_CODPRATICASUAP_CODPRATICASUAP_3 = "(boDettPratica.codPraticaSuap IS NULL OR boDettPratica.codPraticaSuap = '')"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_INTPRATICAID_INTEGRAZIONE_VALIDATA = - new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByIntPraticaId_integrazione_validata", - new String[] { - Long.class.getName(), Long.class.getName(), - Boolean.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID_INTEGRAZIONE_VALIDATA = - new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByIntPraticaId_integrazione_validata", - new String[] { - Long.class.getName(), Long.class.getName(), - Boolean.class.getName() - }, - BoDettPraticaModelImpl.INTPRATICAID_COLUMN_BITMASK | - BoDettPraticaModelImpl.INTEGRAZIONE_COLUMN_BITMASK | - BoDettPraticaModelImpl.VALIDATA_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_INTPRATICAID_INTEGRAZIONE_VALIDATA = - new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByIntPraticaId_integrazione_validata", - new String[] { - Long.class.getName(), Long.class.getName(), - Boolean.class.getName() - }); - - /** - * Returns all the bo dett praticas where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByIntPraticaId_integrazione_validata( - long intPraticaId, long integrazione, boolean validata) - throws SystemException { - return findByIntPraticaId_integrazione_validata(intPraticaId, - integrazione, validata, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo dett praticas where intPraticaId = ? and integrazione = ? and validata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByIntPraticaId_integrazione_validata( - long intPraticaId, long integrazione, boolean validata, int start, - int end) throws SystemException { - return findByIntPraticaId_integrazione_validata(intPraticaId, - integrazione, validata, start, end, null); - } - - /** - * Returns an ordered range of all the bo dett praticas where intPraticaId = ? and integrazione = ? and validata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByIntPraticaId_integrazione_validata( - long intPraticaId, long integrazione, boolean validata, int start, - int end, OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID_INTEGRAZIONE_VALIDATA; - finderArgs = new Object[] { intPraticaId, integrazione, validata }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_INTPRATICAID_INTEGRAZIONE_VALIDATA; - finderArgs = new Object[] { - intPraticaId, integrazione, validata, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoDettPratica boDettPratica : list) { - if ((intPraticaId != boDettPratica.getIntPraticaId()) || - (integrazione != boDettPratica.getIntegrazione()) || - (validata != boDettPratica.getValidata())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(5 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(5); - } - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_INTEGRAZIONE_VALIDATA_INTPRATICAID_2); - - query.append(_FINDER_COLUMN_INTPRATICAID_INTEGRAZIONE_VALIDATA_INTEGRAZIONE_2); - - query.append(_FINDER_COLUMN_INTPRATICAID_INTEGRAZIONE_VALIDATA_VALIDATA_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoDettPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(intPraticaId); - - qPos.add(integrazione); - - qPos.add(validata); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByIntPraticaId_integrazione_validata_First( - long intPraticaId, long integrazione, boolean validata, - OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchByIntPraticaId_integrazione_validata_First(intPraticaId, - integrazione, validata, orderByComparator); - - if (boDettPratica != null) { - return boDettPratica; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("intPraticaId="); - msg.append(intPraticaId); - - msg.append(", integrazione="); - msg.append(integrazione); - - msg.append(", validata="); - msg.append(validata); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByIntPraticaId_integrazione_validata_First( - long intPraticaId, long integrazione, boolean validata, - OrderByComparator orderByComparator) throws SystemException { - List list = findByIntPraticaId_integrazione_validata(intPraticaId, - integrazione, validata, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByIntPraticaId_integrazione_validata_Last( - long intPraticaId, long integrazione, boolean validata, - OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchByIntPraticaId_integrazione_validata_Last(intPraticaId, - integrazione, validata, orderByComparator); - - if (boDettPratica != null) { - return boDettPratica; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("intPraticaId="); - msg.append(intPraticaId); - - msg.append(", integrazione="); - msg.append(integrazione); - - msg.append(", validata="); - msg.append(validata); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByIntPraticaId_integrazione_validata_Last( - long intPraticaId, long integrazione, boolean validata, - OrderByComparator orderByComparator) throws SystemException { - int count = countByIntPraticaId_integrazione_validata(intPraticaId, - integrazione, validata); - - if (count == 0) { - return null; - } - - List list = findByIntPraticaId_integrazione_validata(intPraticaId, - integrazione, validata, count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica[] findByIntPraticaId_integrazione_validata_PrevAndNext( - long dettPraticaId, long intPraticaId, long integrazione, - boolean validata, OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = findByPrimaryKey(dettPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoDettPratica[] array = new BoDettPraticaImpl[3]; - - array[0] = getByIntPraticaId_integrazione_validata_PrevAndNext(session, - boDettPratica, intPraticaId, integrazione, validata, - orderByComparator, true); - - array[1] = boDettPratica; - - array[2] = getByIntPraticaId_integrazione_validata_PrevAndNext(session, - boDettPratica, intPraticaId, integrazione, validata, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoDettPratica getByIntPraticaId_integrazione_validata_PrevAndNext( - Session session, BoDettPratica boDettPratica, long intPraticaId, - long integrazione, boolean validata, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_INTEGRAZIONE_VALIDATA_INTPRATICAID_2); - - query.append(_FINDER_COLUMN_INTPRATICAID_INTEGRAZIONE_VALIDATA_INTEGRAZIONE_2); - - query.append(_FINDER_COLUMN_INTPRATICAID_INTEGRAZIONE_VALIDATA_VALIDATA_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoDettPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(intPraticaId); - - qPos.add(integrazione); - - qPos.add(validata); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boDettPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo dett praticas where intPraticaId = ? and integrazione = ? and validata = ? from the database. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByIntPraticaId_integrazione_validata(long intPraticaId, - long integrazione, boolean validata) throws SystemException { - for (BoDettPratica boDettPratica : findByIntPraticaId_integrazione_validata( - intPraticaId, integrazione, validata, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(boDettPratica); - } - } - - /** - * Returns the number of bo dett praticas where intPraticaId = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param integrazione the integrazione - * @param validata the validata - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByIntPraticaId_integrazione_validata(long intPraticaId, - long integrazione, boolean validata) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_INTPRATICAID_INTEGRAZIONE_VALIDATA; - - Object[] finderArgs = new Object[] { intPraticaId, integrazione, validata }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_COUNT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_INTEGRAZIONE_VALIDATA_INTPRATICAID_2); - - query.append(_FINDER_COLUMN_INTPRATICAID_INTEGRAZIONE_VALIDATA_INTEGRAZIONE_2); - - query.append(_FINDER_COLUMN_INTPRATICAID_INTEGRAZIONE_VALIDATA_VALIDATA_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(intPraticaId); - - qPos.add(integrazione); - - qPos.add(validata); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_INTPRATICAID_INTEGRAZIONE_VALIDATA_INTPRATICAID_2 = - "boDettPratica.intPraticaId = ? AND "; - private static final String _FINDER_COLUMN_INTPRATICAID_INTEGRAZIONE_VALIDATA_INTEGRAZIONE_2 = - "boDettPratica.integrazione = ? AND "; - private static final String _FINDER_COLUMN_INTPRATICAID_INTEGRAZIONE_VALIDATA_VALIDATA_2 = - "boDettPratica.validata = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA = - new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByIntPraticaId_tipoIntegrazione_validata", - new String[] { - Long.class.getName(), String.class.getName(), - Boolean.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA = - new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByIntPraticaId_tipoIntegrazione_validata", - new String[] { - Long.class.getName(), String.class.getName(), - Boolean.class.getName() - }, - BoDettPraticaModelImpl.INTPRATICAID_COLUMN_BITMASK | - BoDettPraticaModelImpl.TIPOINTEGRAZIONE_COLUMN_BITMASK | - BoDettPraticaModelImpl.VALIDATA_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA = - new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByIntPraticaId_tipoIntegrazione_validata", - new String[] { - Long.class.getName(), String.class.getName(), - Boolean.class.getName() - }); - - /** - * Returns all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByIntPraticaId_tipoIntegrazione_validata( - long intPraticaId, String tipoIntegrazione, boolean validata) - throws SystemException { - return findByIntPraticaId_tipoIntegrazione_validata(intPraticaId, - tipoIntegrazione, validata, QueryUtil.ALL_POS, QueryUtil.ALL_POS, - null); - } - - /** - * Returns a range of all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByIntPraticaId_tipoIntegrazione_validata( - long intPraticaId, String tipoIntegrazione, boolean validata, - int start, int end) throws SystemException { - return findByIntPraticaId_tipoIntegrazione_validata(intPraticaId, - tipoIntegrazione, validata, start, end, null); - } - - /** - * Returns an ordered range of all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByIntPraticaId_tipoIntegrazione_validata( - long intPraticaId, String tipoIntegrazione, boolean validata, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA; - finderArgs = new Object[] { intPraticaId, tipoIntegrazione, validata }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA; - finderArgs = new Object[] { - intPraticaId, tipoIntegrazione, validata, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoDettPratica boDettPratica : list) { - if ((intPraticaId != boDettPratica.getIntPraticaId()) || - !Validator.equals(tipoIntegrazione, - boDettPratica.getTipoIntegrazione()) || - (validata != boDettPratica.getValidata())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(5 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(5); - } - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_INTPRATICAID_2); - - boolean bindTipoIntegrazione = false; - - if (tipoIntegrazione == null) { - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_1); - } - else if (tipoIntegrazione.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_3); - } - else { - bindTipoIntegrazione = true; - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_2); - } - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_VALIDATA_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoDettPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(intPraticaId); - - if (bindTipoIntegrazione) { - qPos.add(tipoIntegrazione); - } - - qPos.add(validata); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByIntPraticaId_tipoIntegrazione_validata_First( - long intPraticaId, String tipoIntegrazione, boolean validata, - OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchByIntPraticaId_tipoIntegrazione_validata_First(intPraticaId, - tipoIntegrazione, validata, orderByComparator); - - if (boDettPratica != null) { - return boDettPratica; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("intPraticaId="); - msg.append(intPraticaId); - - msg.append(", tipoIntegrazione="); - msg.append(tipoIntegrazione); - - msg.append(", validata="); - msg.append(validata); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByIntPraticaId_tipoIntegrazione_validata_First( - long intPraticaId, String tipoIntegrazione, boolean validata, - OrderByComparator orderByComparator) throws SystemException { - List list = findByIntPraticaId_tipoIntegrazione_validata(intPraticaId, - tipoIntegrazione, validata, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByIntPraticaId_tipoIntegrazione_validata_Last( - long intPraticaId, String tipoIntegrazione, boolean validata, - OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchByIntPraticaId_tipoIntegrazione_validata_Last(intPraticaId, - tipoIntegrazione, validata, orderByComparator); - - if (boDettPratica != null) { - return boDettPratica; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("intPraticaId="); - msg.append(intPraticaId); - - msg.append(", tipoIntegrazione="); - msg.append(tipoIntegrazione); - - msg.append(", validata="); - msg.append(validata); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByIntPraticaId_tipoIntegrazione_validata_Last( - long intPraticaId, String tipoIntegrazione, boolean validata, - OrderByComparator orderByComparator) throws SystemException { - int count = countByIntPraticaId_tipoIntegrazione_validata(intPraticaId, - tipoIntegrazione, validata); - - if (count == 0) { - return null; - } - - List list = findByIntPraticaId_tipoIntegrazione_validata(intPraticaId, - tipoIntegrazione, validata, count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica[] findByIntPraticaId_tipoIntegrazione_validata_PrevAndNext( - long dettPraticaId, long intPraticaId, String tipoIntegrazione, - boolean validata, OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = findByPrimaryKey(dettPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoDettPratica[] array = new BoDettPraticaImpl[3]; - - array[0] = getByIntPraticaId_tipoIntegrazione_validata_PrevAndNext(session, - boDettPratica, intPraticaId, tipoIntegrazione, validata, - orderByComparator, true); - - array[1] = boDettPratica; - - array[2] = getByIntPraticaId_tipoIntegrazione_validata_PrevAndNext(session, - boDettPratica, intPraticaId, tipoIntegrazione, validata, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoDettPratica getByIntPraticaId_tipoIntegrazione_validata_PrevAndNext( - Session session, BoDettPratica boDettPratica, long intPraticaId, - String tipoIntegrazione, boolean validata, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_INTPRATICAID_2); - - boolean bindTipoIntegrazione = false; - - if (tipoIntegrazione == null) { - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_1); - } - else if (tipoIntegrazione.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_3); - } - else { - bindTipoIntegrazione = true; - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_2); - } - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_VALIDATA_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoDettPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(intPraticaId); - - if (bindTipoIntegrazione) { - qPos.add(tipoIntegrazione); - } - - qPos.add(validata); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boDettPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and validata = ? from the database. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByIntPraticaId_tipoIntegrazione_validata( - long intPraticaId, String tipoIntegrazione, boolean validata) - throws SystemException { - for (BoDettPratica boDettPratica : findByIntPraticaId_tipoIntegrazione_validata( - intPraticaId, tipoIntegrazione, validata, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(boDettPratica); - } - } - - /** - * Returns the number of bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param validata the validata - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByIntPraticaId_tipoIntegrazione_validata( - long intPraticaId, String tipoIntegrazione, boolean validata) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA; - - Object[] finderArgs = new Object[] { - intPraticaId, tipoIntegrazione, validata - }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_COUNT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_INTPRATICAID_2); - - boolean bindTipoIntegrazione = false; - - if (tipoIntegrazione == null) { - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_1); - } - else if (tipoIntegrazione.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_3); - } - else { - bindTipoIntegrazione = true; - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_2); - } - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_VALIDATA_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(intPraticaId); - - if (bindTipoIntegrazione) { - qPos.add(tipoIntegrazione); - } - - qPos.add(validata); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_INTPRATICAID_2 = - "boDettPratica.intPraticaId = ? AND "; - private static final String _FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_1 = - "boDettPratica.tipoIntegrazione IS NULL AND "; - private static final String _FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_2 = - "boDettPratica.tipoIntegrazione = ? AND "; - private static final String _FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_3 = - "(boDettPratica.tipoIntegrazione IS NULL OR boDettPratica.tipoIntegrazione = '') AND "; - private static final String _FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA_VALIDATA_2 = - "boDettPratica.validata = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA = - new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByIntPraticaId_tipoIntegrazione_integrazione_validata", - new String[] { - Long.class.getName(), String.class.getName(), - Long.class.getName(), Boolean.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA = - new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByIntPraticaId_tipoIntegrazione_integrazione_validata", - new String[] { - Long.class.getName(), String.class.getName(), - Long.class.getName(), Boolean.class.getName() - }, - BoDettPraticaModelImpl.INTPRATICAID_COLUMN_BITMASK | - BoDettPraticaModelImpl.TIPOINTEGRAZIONE_COLUMN_BITMASK | - BoDettPraticaModelImpl.INTEGRAZIONE_COLUMN_BITMASK | - BoDettPraticaModelImpl.VALIDATA_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA = - new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByIntPraticaId_tipoIntegrazione_integrazione_validata", - new String[] { - Long.class.getName(), String.class.getName(), - Long.class.getName(), Boolean.class.getName() - }); - - /** - * Returns all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByIntPraticaId_tipoIntegrazione_integrazione_validata( - long intPraticaId, String tipoIntegrazione, long integrazione, - boolean validata) throws SystemException { - return findByIntPraticaId_tipoIntegrazione_integrazione_validata(intPraticaId, - tipoIntegrazione, integrazione, validata, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByIntPraticaId_tipoIntegrazione_integrazione_validata( - long intPraticaId, String tipoIntegrazione, long integrazione, - boolean validata, int start, int end) throws SystemException { - return findByIntPraticaId_tipoIntegrazione_integrazione_validata(intPraticaId, - tipoIntegrazione, integrazione, validata, start, end, null); - } - - /** - * Returns an ordered range of all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByIntPraticaId_tipoIntegrazione_integrazione_validata( - long intPraticaId, String tipoIntegrazione, long integrazione, - boolean validata, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA; - finderArgs = new Object[] { - intPraticaId, tipoIntegrazione, integrazione, validata - }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA; - finderArgs = new Object[] { - intPraticaId, tipoIntegrazione, integrazione, validata, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoDettPratica boDettPratica : list) { - if ((intPraticaId != boDettPratica.getIntPraticaId()) || - !Validator.equals(tipoIntegrazione, - boDettPratica.getTipoIntegrazione()) || - (integrazione != boDettPratica.getIntegrazione()) || - (validata != boDettPratica.getValidata())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(6); - } - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_INTPRATICAID_2); - - boolean bindTipoIntegrazione = false; - - if (tipoIntegrazione == null) { - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_1); - } - else if (tipoIntegrazione.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_3); - } - else { - bindTipoIntegrazione = true; - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_2); - } - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_INTEGRAZIONE_2); - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_VALIDATA_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoDettPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(intPraticaId); - - if (bindTipoIntegrazione) { - qPos.add(tipoIntegrazione); - } - - qPos.add(integrazione); - - qPos.add(validata); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByIntPraticaId_tipoIntegrazione_integrazione_validata_First( - long intPraticaId, String tipoIntegrazione, long integrazione, - boolean validata, OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchByIntPraticaId_tipoIntegrazione_integrazione_validata_First(intPraticaId, - tipoIntegrazione, integrazione, validata, orderByComparator); - - if (boDettPratica != null) { - return boDettPratica; - } - - StringBundler msg = new StringBundler(10); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("intPraticaId="); - msg.append(intPraticaId); - - msg.append(", tipoIntegrazione="); - msg.append(tipoIntegrazione); - - msg.append(", integrazione="); - msg.append(integrazione); - - msg.append(", validata="); - msg.append(validata); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByIntPraticaId_tipoIntegrazione_integrazione_validata_First( - long intPraticaId, String tipoIntegrazione, long integrazione, - boolean validata, OrderByComparator orderByComparator) - throws SystemException { - List list = findByIntPraticaId_tipoIntegrazione_integrazione_validata(intPraticaId, - tipoIntegrazione, integrazione, validata, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByIntPraticaId_tipoIntegrazione_integrazione_validata_Last( - long intPraticaId, String tipoIntegrazione, long integrazione, - boolean validata, OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchByIntPraticaId_tipoIntegrazione_integrazione_validata_Last(intPraticaId, - tipoIntegrazione, integrazione, validata, orderByComparator); - - if (boDettPratica != null) { - return boDettPratica; - } - - StringBundler msg = new StringBundler(10); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("intPraticaId="); - msg.append(intPraticaId); - - msg.append(", tipoIntegrazione="); - msg.append(tipoIntegrazione); - - msg.append(", integrazione="); - msg.append(integrazione); - - msg.append(", validata="); - msg.append(validata); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByIntPraticaId_tipoIntegrazione_integrazione_validata_Last( - long intPraticaId, String tipoIntegrazione, long integrazione, - boolean validata, OrderByComparator orderByComparator) - throws SystemException { - int count = countByIntPraticaId_tipoIntegrazione_integrazione_validata(intPraticaId, - tipoIntegrazione, integrazione, validata); - - if (count == 0) { - return null; - } - - List list = findByIntPraticaId_tipoIntegrazione_integrazione_validata(intPraticaId, - tipoIntegrazione, integrazione, validata, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica[] findByIntPraticaId_tipoIntegrazione_integrazione_validata_PrevAndNext( - long dettPraticaId, long intPraticaId, String tipoIntegrazione, - long integrazione, boolean validata, OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = findByPrimaryKey(dettPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoDettPratica[] array = new BoDettPraticaImpl[3]; - - array[0] = getByIntPraticaId_tipoIntegrazione_integrazione_validata_PrevAndNext(session, - boDettPratica, intPraticaId, tipoIntegrazione, - integrazione, validata, orderByComparator, true); - - array[1] = boDettPratica; - - array[2] = getByIntPraticaId_tipoIntegrazione_integrazione_validata_PrevAndNext(session, - boDettPratica, intPraticaId, tipoIntegrazione, - integrazione, validata, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoDettPratica getByIntPraticaId_tipoIntegrazione_integrazione_validata_PrevAndNext( - Session session, BoDettPratica boDettPratica, long intPraticaId, - String tipoIntegrazione, long integrazione, boolean validata, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_INTPRATICAID_2); - - boolean bindTipoIntegrazione = false; - - if (tipoIntegrazione == null) { - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_1); - } - else if (tipoIntegrazione.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_3); - } - else { - bindTipoIntegrazione = true; - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_2); - } - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_INTEGRAZIONE_2); - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_VALIDATA_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoDettPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(intPraticaId); - - if (bindTipoIntegrazione) { - qPos.add(tipoIntegrazione); - } - - qPos.add(integrazione); - - qPos.add(validata); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boDettPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ? from the database. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByIntPraticaId_tipoIntegrazione_integrazione_validata( - long intPraticaId, String tipoIntegrazione, long integrazione, - boolean validata) throws SystemException { - for (BoDettPratica boDettPratica : findByIntPraticaId_tipoIntegrazione_integrazione_validata( - intPraticaId, tipoIntegrazione, integrazione, validata, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boDettPratica); - } - } - - /** - * Returns the number of bo dett praticas where intPraticaId = ? and tipoIntegrazione = ? and integrazione = ? and validata = ?. - * - * @param intPraticaId the int pratica ID - * @param tipoIntegrazione the tipo integrazione - * @param integrazione the integrazione - * @param validata the validata - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByIntPraticaId_tipoIntegrazione_integrazione_validata( - long intPraticaId, String tipoIntegrazione, long integrazione, - boolean validata) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA; - - Object[] finderArgs = new Object[] { - intPraticaId, tipoIntegrazione, integrazione, validata - }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(5); - - query.append(_SQL_COUNT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_INTPRATICAID_2); - - boolean bindTipoIntegrazione = false; - - if (tipoIntegrazione == null) { - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_1); - } - else if (tipoIntegrazione.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_3); - } - else { - bindTipoIntegrazione = true; - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_2); - } - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_INTEGRAZIONE_2); - - query.append(_FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_VALIDATA_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(intPraticaId); - - if (bindTipoIntegrazione) { - qPos.add(tipoIntegrazione); - } - - qPos.add(integrazione); - - qPos.add(validata); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_INTPRATICAID_2 = - "boDettPratica.intPraticaId = ? AND "; - private static final String _FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_1 = - "boDettPratica.tipoIntegrazione IS NULL AND "; - private static final String _FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_2 = - "boDettPratica.tipoIntegrazione = ? AND "; - private static final String _FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_TIPOINTEGRAZIONE_3 = - "(boDettPratica.tipoIntegrazione IS NULL OR boDettPratica.tipoIntegrazione = '') AND "; - private static final String _FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_INTEGRAZIONE_2 = - "boDettPratica.integrazione = ? AND "; - private static final String _FINDER_COLUMN_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA_VALIDATA_2 = - "boDettPratica.validata = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_INTPRATICAID = - new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByIntPraticaId", - new String[] { - Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID = - new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByIntPraticaId", new String[] { Long.class.getName() }, - BoDettPraticaModelImpl.INTPRATICAID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_INTPRATICAID = new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByIntPraticaId", - new String[] { Long.class.getName() }); - - /** - * Returns all the bo dett praticas where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByIntPraticaId(long intPraticaId) - throws SystemException { - return findByIntPraticaId(intPraticaId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo dett praticas where intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByIntPraticaId(long intPraticaId, int start, - int end) throws SystemException { - return findByIntPraticaId(intPraticaId, start, end, null); - } - - /** - * Returns an ordered range of all the bo dett praticas where intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByIntPraticaId(long intPraticaId, int start, - int end, OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID; - finderArgs = new Object[] { intPraticaId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_INTPRATICAID; - finderArgs = new Object[] { - intPraticaId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoDettPratica boDettPratica : list) { - if ((intPraticaId != boDettPratica.getIntPraticaId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_INTPRATICAID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoDettPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(intPraticaId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByIntPraticaId_First(long intPraticaId, - OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchByIntPraticaId_First(intPraticaId, - orderByComparator); - - if (boDettPratica != null) { - return boDettPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("intPraticaId="); - msg.append(intPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - /** - * Returns the first bo dett pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByIntPraticaId_First(long intPraticaId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByIntPraticaId(intPraticaId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByIntPraticaId_Last(long intPraticaId, - OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchByIntPraticaId_Last(intPraticaId, - orderByComparator); - - if (boDettPratica != null) { - return boDettPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("intPraticaId="); - msg.append(intPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - /** - * Returns the last bo dett pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByIntPraticaId_Last(long intPraticaId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByIntPraticaId(intPraticaId); - - if (count == 0) { - return null; - } - - List list = findByIntPraticaId(intPraticaId, count - 1, - count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where intPraticaId = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica[] findByIntPraticaId_PrevAndNext(long dettPraticaId, - long intPraticaId, OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = findByPrimaryKey(dettPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoDettPratica[] array = new BoDettPraticaImpl[3]; - - array[0] = getByIntPraticaId_PrevAndNext(session, boDettPratica, - intPraticaId, orderByComparator, true); - - array[1] = boDettPratica; - - array[2] = getByIntPraticaId_PrevAndNext(session, boDettPratica, - intPraticaId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoDettPratica getByIntPraticaId_PrevAndNext(Session session, - BoDettPratica boDettPratica, long intPraticaId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_INTPRATICAID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoDettPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(intPraticaId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boDettPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo dett praticas where intPraticaId = ? from the database. - * - * @param intPraticaId the int pratica ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByIntPraticaId(long intPraticaId) - throws SystemException { - for (BoDettPratica boDettPratica : findByIntPraticaId(intPraticaId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boDettPratica); - } - } - - /** - * Returns the number of bo dett praticas where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByIntPraticaId(long intPraticaId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_INTPRATICAID; - - Object[] finderArgs = new Object[] { intPraticaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_INTPRATICAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(intPraticaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_INTPRATICAID_INTPRATICAID_2 = "boDettPratica.intPraticaId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA = - new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByC_G_CodicePagamento_Validata_Completa", - new String[] { - Long.class.getName(), Long.class.getName(), - String.class.getName(), Boolean.class.getName(), - Boolean.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA = - new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByC_G_CodicePagamento_Validata_Completa", - new String[] { - Long.class.getName(), Long.class.getName(), - String.class.getName(), Boolean.class.getName(), - Boolean.class.getName() - }, - BoDettPraticaModelImpl.COMPANYID_COLUMN_BITMASK | - BoDettPraticaModelImpl.GROUPID_COLUMN_BITMASK | - BoDettPraticaModelImpl.CODICEPAGAMENTO_COLUMN_BITMASK | - BoDettPraticaModelImpl.VALIDATA_COLUMN_BITMASK | - BoDettPraticaModelImpl.COMPLETA_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA = - new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByC_G_CodicePagamento_Validata_Completa", - new String[] { - Long.class.getName(), Long.class.getName(), - String.class.getName(), Boolean.class.getName(), - Boolean.class.getName() - }); - - /** - * Returns all the bo dett praticas where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_G_CodicePagamento_Validata_Completa( - long companyId, long groupId, String codicePagamento, boolean validata, - boolean completa) throws SystemException { - return findByC_G_CodicePagamento_Validata_Completa(companyId, groupId, - codicePagamento, validata, completa, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo dett praticas where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_G_CodicePagamento_Validata_Completa( - long companyId, long groupId, String codicePagamento, boolean validata, - boolean completa, int start, int end) throws SystemException { - return findByC_G_CodicePagamento_Validata_Completa(companyId, groupId, - codicePagamento, validata, completa, start, end, null); - } - - /** - * Returns an ordered range of all the bo dett praticas where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_G_CodicePagamento_Validata_Completa( - long companyId, long groupId, String codicePagamento, boolean validata, - boolean completa, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA; - finderArgs = new Object[] { - companyId, groupId, codicePagamento, validata, completa - }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA; - finderArgs = new Object[] { - companyId, groupId, codicePagamento, validata, completa, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoDettPratica boDettPratica : list) { - if ((companyId != boDettPratica.getCompanyId()) || - (groupId != boDettPratica.getGroupId()) || - !Validator.equals(codicePagamento, - boDettPratica.getCodicePagamento()) || - (validata != boDettPratica.getValidata()) || - (completa != boDettPratica.getCompleta())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(7 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(7); - } - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_GROUPID_2); - - boolean bindCodicePagamento = false; - - if (codicePagamento == null) { - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_CODICEPAGAMENTO_1); - } - else if (codicePagamento.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_CODICEPAGAMENTO_3); - } - else { - bindCodicePagamento = true; - - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_CODICEPAGAMENTO_2); - } - - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_VALIDATA_2); - - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_COMPLETA_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoDettPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - if (bindCodicePagamento) { - qPos.add(codicePagamento); - } - - qPos.add(validata); - - qPos.add(completa); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo dett pratica in the ordered set where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByC_G_CodicePagamento_Validata_Completa_First( - long companyId, long groupId, String codicePagamento, boolean validata, - boolean completa, OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchByC_G_CodicePagamento_Validata_Completa_First(companyId, - groupId, codicePagamento, validata, completa, orderByComparator); - - if (boDettPratica != null) { - return boDettPratica; - } - - StringBundler msg = new StringBundler(12); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(", codicePagamento="); - msg.append(codicePagamento); - - msg.append(", validata="); - msg.append(validata); - - msg.append(", completa="); - msg.append(completa); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - /** - * Returns the first bo dett pratica in the ordered set where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByC_G_CodicePagamento_Validata_Completa_First( - long companyId, long groupId, String codicePagamento, boolean validata, - boolean completa, OrderByComparator orderByComparator) - throws SystemException { - List list = findByC_G_CodicePagamento_Validata_Completa(companyId, - groupId, codicePagamento, validata, completa, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo dett pratica in the ordered set where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByC_G_CodicePagamento_Validata_Completa_Last( - long companyId, long groupId, String codicePagamento, boolean validata, - boolean completa, OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchByC_G_CodicePagamento_Validata_Completa_Last(companyId, - groupId, codicePagamento, validata, completa, orderByComparator); - - if (boDettPratica != null) { - return boDettPratica; - } - - StringBundler msg = new StringBundler(12); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(", codicePagamento="); - msg.append(codicePagamento); - - msg.append(", validata="); - msg.append(validata); - - msg.append(", completa="); - msg.append(completa); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - /** - * Returns the last bo dett pratica in the ordered set where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByC_G_CodicePagamento_Validata_Completa_Last( - long companyId, long groupId, String codicePagamento, boolean validata, - boolean completa, OrderByComparator orderByComparator) - throws SystemException { - int count = countByC_G_CodicePagamento_Validata_Completa(companyId, - groupId, codicePagamento, validata, completa); - - if (count == 0) { - return null; - } - - List list = findByC_G_CodicePagamento_Validata_Completa(companyId, - groupId, codicePagamento, validata, completa, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica[] findByC_G_CodicePagamento_Validata_Completa_PrevAndNext( - long dettPraticaId, long companyId, long groupId, - String codicePagamento, boolean validata, boolean completa, - OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = findByPrimaryKey(dettPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoDettPratica[] array = new BoDettPraticaImpl[3]; - - array[0] = getByC_G_CodicePagamento_Validata_Completa_PrevAndNext(session, - boDettPratica, companyId, groupId, codicePagamento, - validata, completa, orderByComparator, true); - - array[1] = boDettPratica; - - array[2] = getByC_G_CodicePagamento_Validata_Completa_PrevAndNext(session, - boDettPratica, companyId, groupId, codicePagamento, - validata, completa, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoDettPratica getByC_G_CodicePagamento_Validata_Completa_PrevAndNext( - Session session, BoDettPratica boDettPratica, long companyId, - long groupId, String codicePagamento, boolean validata, - boolean completa, OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_GROUPID_2); - - boolean bindCodicePagamento = false; - - if (codicePagamento == null) { - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_CODICEPAGAMENTO_1); - } - else if (codicePagamento.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_CODICEPAGAMENTO_3); - } - else { - bindCodicePagamento = true; - - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_CODICEPAGAMENTO_2); - } - - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_VALIDATA_2); - - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_COMPLETA_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoDettPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - if (bindCodicePagamento) { - qPos.add(codicePagamento); - } - - qPos.add(validata); - - qPos.add(completa); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boDettPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo dett praticas where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByC_G_CodicePagamento_Validata_Completa(long companyId, - long groupId, String codicePagamento, boolean validata, boolean completa) - throws SystemException { - for (BoDettPratica boDettPratica : findByC_G_CodicePagamento_Validata_Completa( - companyId, groupId, codicePagamento, validata, completa, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boDettPratica); - } - } - - /** - * Returns the number of bo dett praticas where companyId = ? and groupId = ? and codicePagamento = ? and validata = ? and completa = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param codicePagamento the codice pagamento - * @param validata the validata - * @param completa the completa - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_G_CodicePagamento_Validata_Completa(long companyId, - long groupId, String codicePagamento, boolean validata, boolean completa) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA; - - Object[] finderArgs = new Object[] { - companyId, groupId, codicePagamento, validata, completa - }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(6); - - query.append(_SQL_COUNT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_GROUPID_2); - - boolean bindCodicePagamento = false; - - if (codicePagamento == null) { - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_CODICEPAGAMENTO_1); - } - else if (codicePagamento.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_CODICEPAGAMENTO_3); - } - else { - bindCodicePagamento = true; - - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_CODICEPAGAMENTO_2); - } - - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_VALIDATA_2); - - query.append(_FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_COMPLETA_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - if (bindCodicePagamento) { - qPos.add(codicePagamento); - } - - qPos.add(validata); - - qPos.add(completa); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_COMPANYID_2 = - "boDettPratica.companyId = ? AND "; - private static final String _FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_GROUPID_2 = - "boDettPratica.groupId = ? AND "; - private static final String _FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_CODICEPAGAMENTO_1 = - "boDettPratica.codicePagamento IS NULL AND "; - private static final String _FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_CODICEPAGAMENTO_2 = - "boDettPratica.codicePagamento = ? AND "; - private static final String _FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_CODICEPAGAMENTO_3 = - "(boDettPratica.codicePagamento IS NULL OR boDettPratica.codicePagamento = '') AND "; - private static final String _FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_VALIDATA_2 = - "boDettPratica.validata = ? AND "; - private static final String _FINDER_COLUMN_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA_COMPLETA_2 = - "boDettPratica.completa = ?"; - public static final FinderPath FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO = new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_ENTITY, - "fetchByC_G_Protocollo", - new String[] { - Long.class.getName(), Long.class.getName(), - String.class.getName() - }, - BoDettPraticaModelImpl.COMPANYID_COLUMN_BITMASK | - BoDettPraticaModelImpl.GROUPID_COLUMN_BITMASK | - BoDettPraticaModelImpl.PROTOCOLLO_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_C_G_PROTOCOLLO = new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByC_G_Protocollo", - new String[] { - Long.class.getName(), Long.class.getName(), - String.class.getName() - }); - - /** - * Returns the bo dett pratica where companyId = ? and groupId = ? and protocollo = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException} if it could not be found. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByC_G_Protocollo(long companyId, long groupId, - String protocollo) throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchByC_G_Protocollo(companyId, groupId, - protocollo); - - if (boDettPratica == null) { - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(", protocollo="); - msg.append(protocollo); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - return boDettPratica; - } - - /** - * Returns the bo dett pratica where companyId = ? and groupId = ? and protocollo = ? or returns null if it could not be found. Uses the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByC_G_Protocollo(long companyId, long groupId, - String protocollo) throws SystemException { - return fetchByC_G_Protocollo(companyId, groupId, protocollo, true); - } - - /** - * Returns the bo dett pratica where companyId = ? and groupId = ? and protocollo = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByC_G_Protocollo(long companyId, long groupId, - String protocollo, boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { companyId, groupId, protocollo }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, - finderArgs, this); - } - - if (result instanceof BoDettPratica) { - BoDettPratica boDettPratica = (BoDettPratica)result; - - if ((companyId != boDettPratica.getCompanyId()) || - (groupId != boDettPratica.getGroupId()) || - !Validator.equals(protocollo, boDettPratica.getProtocollo())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(5); - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_GROUPID_2); - - boolean bindProtocollo = false; - - if (protocollo == null) { - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_1); - } - else if (protocollo.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_3); - } - else { - bindProtocollo = true; - - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - if (bindProtocollo) { - qPos.add(protocollo); - } - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, - finderArgs, list); - } - else { - if ((list.size() > 1) && _log.isWarnEnabled()) { - _log.warn( - "BoDettPraticaPersistenceImpl.fetchByC_G_Protocollo(long, long, String, boolean) with parameters (" + - StringUtil.merge(finderArgs) + - ") yields a result set with more than 1 result. This violates the logical unique restriction. There is no order guarantee on which result is returned by this finder."); - } - - BoDettPratica boDettPratica = list.get(0); - - result = boDettPratica; - - cacheResult(boDettPratica); - - if ((boDettPratica.getCompanyId() != companyId) || - (boDettPratica.getGroupId() != groupId) || - (boDettPratica.getProtocollo() == null) || - !boDettPratica.getProtocollo().equals(protocollo)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, - finderArgs, boDettPratica); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoDettPratica)result; - } - } - - /** - * Removes the bo dett pratica where companyId = ? and groupId = ? and protocollo = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the bo dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica removeByC_G_Protocollo(long companyId, long groupId, - String protocollo) throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = findByC_G_Protocollo(companyId, groupId, - protocollo); - - return remove(boDettPratica); - } - - /** - * Returns the number of bo dett praticas where companyId = ? and groupId = ? and protocollo = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param protocollo the protocollo - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_G_Protocollo(long companyId, long groupId, - String protocollo) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_C_G_PROTOCOLLO; - - Object[] finderArgs = new Object[] { companyId, groupId, protocollo }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_COUNT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_GROUPID_2); - - boolean bindProtocollo = false; - - if (protocollo == null) { - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_1); - } - else if (protocollo.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_3); - } - else { - bindProtocollo = true; - - query.append(_FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - if (bindProtocollo) { - qPos.add(protocollo); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_C_G_PROTOCOLLO_COMPANYID_2 = "boDettPratica.companyId = ? AND "; - private static final String _FINDER_COLUMN_C_G_PROTOCOLLO_GROUPID_2 = "boDettPratica.groupId = ? AND "; - private static final String _FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_1 = "boDettPratica.protocollo IS NULL"; - private static final String _FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_2 = "boDettPratica.protocollo = ?"; - private static final String _FINDER_COLUMN_C_G_PROTOCOLLO_PROTOCOLLO_3 = "(boDettPratica.protocollo IS NULL OR boDettPratica.protocollo = '')"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA = - new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findBySoggettoSostituitoId_Validata_Completa", - new String[] { - Long.class.getName(), Boolean.class.getName(), - Boolean.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA = - new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, - BoDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findBySoggettoSostituitoId_Validata_Completa", - new String[] { - Long.class.getName(), Boolean.class.getName(), - Boolean.class.getName() - }, - BoDettPraticaModelImpl.SOGGETTOSOSTITUITOID_COLUMN_BITMASK | - BoDettPraticaModelImpl.VALIDATA_COLUMN_BITMASK | - BoDettPraticaModelImpl.COMPLETA_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA = - new FinderPath(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countBySoggettoSostituitoId_Validata_Completa", - new String[] { - Long.class.getName(), Boolean.class.getName(), - Boolean.class.getName() - }); - - /** - * Returns all the bo dett praticas where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @return the matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findBySoggettoSostituitoId_Validata_Completa( - long soggettoSostituitoId, boolean validata, boolean completa) - throws SystemException { - return findBySoggettoSostituitoId_Validata_Completa(soggettoSostituitoId, - validata, completa, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo dett praticas where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findBySoggettoSostituitoId_Validata_Completa( - long soggettoSostituitoId, boolean validata, boolean completa, - int start, int end) throws SystemException { - return findBySoggettoSostituitoId_Validata_Completa(soggettoSostituitoId, - validata, completa, start, end, null); - } - - /** - * Returns an ordered range of all the bo dett praticas where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findBySoggettoSostituitoId_Validata_Completa( - long soggettoSostituitoId, boolean validata, boolean completa, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA; - finderArgs = new Object[] { soggettoSostituitoId, validata, completa }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA; - finderArgs = new Object[] { - soggettoSostituitoId, validata, completa, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoDettPratica boDettPratica : list) { - if ((soggettoSostituitoId != boDettPratica.getSoggettoSostituitoId()) || - (validata != boDettPratica.getValidata()) || - (completa != boDettPratica.getCompleta())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(5 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(5); - } - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA_SOGGETTOSOSTITUITOID_2); - - query.append(_FINDER_COLUMN_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA_VALIDATA_2); - - query.append(_FINDER_COLUMN_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA_COMPLETA_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoDettPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(soggettoSostituitoId); - - qPos.add(validata); - - qPos.add(completa); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo dett pratica in the ordered set where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findBySoggettoSostituitoId_Validata_Completa_First( - long soggettoSostituitoId, boolean validata, boolean completa, - OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchBySoggettoSostituitoId_Validata_Completa_First(soggettoSostituitoId, - validata, completa, orderByComparator); - - if (boDettPratica != null) { - return boDettPratica; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("soggettoSostituitoId="); - msg.append(soggettoSostituitoId); - - msg.append(", validata="); - msg.append(validata); - - msg.append(", completa="); - msg.append(completa); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - /** - * Returns the first bo dett pratica in the ordered set where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchBySoggettoSostituitoId_Validata_Completa_First( - long soggettoSostituitoId, boolean validata, boolean completa, - OrderByComparator orderByComparator) throws SystemException { - List list = findBySoggettoSostituitoId_Validata_Completa(soggettoSostituitoId, - validata, completa, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo dett pratica in the ordered set where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findBySoggettoSostituitoId_Validata_Completa_Last( - long soggettoSostituitoId, boolean validata, boolean completa, - OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchBySoggettoSostituitoId_Validata_Completa_Last(soggettoSostituitoId, - validata, completa, orderByComparator); - - if (boDettPratica != null) { - return boDettPratica; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("soggettoSostituitoId="); - msg.append(soggettoSostituitoId); - - msg.append(", validata="); - msg.append(validata); - - msg.append(", completa="); - msg.append(completa); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDettPraticaException(msg.toString()); - } - - /** - * Returns the last bo dett pratica in the ordered set where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo dett pratica, or null if a matching bo dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchBySoggettoSostituitoId_Validata_Completa_Last( - long soggettoSostituitoId, boolean validata, boolean completa, - OrderByComparator orderByComparator) throws SystemException { - int count = countBySoggettoSostituitoId_Validata_Completa(soggettoSostituitoId, - validata, completa); - - if (count == 0) { - return null; - } - - List list = findBySoggettoSostituitoId_Validata_Completa(soggettoSostituitoId, - validata, completa, count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo dett praticas before and after the current bo dett pratica in the ordered set where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param dettPraticaId the primary key of the current bo dett pratica - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica[] findBySoggettoSostituitoId_Validata_Completa_PrevAndNext( - long dettPraticaId, long soggettoSostituitoId, boolean validata, - boolean completa, OrderByComparator orderByComparator) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = findByPrimaryKey(dettPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoDettPratica[] array = new BoDettPraticaImpl[3]; - - array[0] = getBySoggettoSostituitoId_Validata_Completa_PrevAndNext(session, - boDettPratica, soggettoSostituitoId, validata, completa, - orderByComparator, true); - - array[1] = boDettPratica; - - array[2] = getBySoggettoSostituitoId_Validata_Completa_PrevAndNext(session, - boDettPratica, soggettoSostituitoId, validata, completa, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoDettPratica getBySoggettoSostituitoId_Validata_Completa_PrevAndNext( - Session session, BoDettPratica boDettPratica, - long soggettoSostituitoId, boolean validata, boolean completa, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA_SOGGETTOSOSTITUITOID_2); - - query.append(_FINDER_COLUMN_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA_VALIDATA_2); - - query.append(_FINDER_COLUMN_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA_COMPLETA_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoDettPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(soggettoSostituitoId); - - qPos.add(validata); - - qPos.add(completa); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boDettPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo dett praticas where soggettoSostituitoId = ? and validata = ? and completa = ? from the database. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @throws SystemException if a system exception occurred - */ - @Override - public void removeBySoggettoSostituitoId_Validata_Completa( - long soggettoSostituitoId, boolean validata, boolean completa) - throws SystemException { - for (BoDettPratica boDettPratica : findBySoggettoSostituitoId_Validata_Completa( - soggettoSostituitoId, validata, completa, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(boDettPratica); - } - } - - /** - * Returns the number of bo dett praticas where soggettoSostituitoId = ? and validata = ? and completa = ?. - * - * @param soggettoSostituitoId the soggetto sostituito ID - * @param validata the validata - * @param completa the completa - * @return the number of matching bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countBySoggettoSostituitoId_Validata_Completa( - long soggettoSostituitoId, boolean validata, boolean completa) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA; - - Object[] finderArgs = new Object[] { - soggettoSostituitoId, validata, completa - }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_COUNT_BODETTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA_SOGGETTOSOSTITUITOID_2); - - query.append(_FINDER_COLUMN_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA_VALIDATA_2); - - query.append(_FINDER_COLUMN_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA_COMPLETA_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(soggettoSostituitoId); - - qPos.add(validata); - - qPos.add(completa); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA_SOGGETTOSOSTITUITOID_2 = - "boDettPratica.soggettoSostituitoId = ? AND "; - private static final String _FINDER_COLUMN_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA_VALIDATA_2 = - "boDettPratica.validata = ? AND "; - private static final String _FINDER_COLUMN_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA_COMPLETA_2 = - "boDettPratica.completa = ?"; - - public BoDettPraticaPersistenceImpl() { - setModelClass(BoDettPratica.class); - } - - /** - * Caches the bo dett pratica in the entity cache if it is enabled. - * - * @param boDettPratica the bo dett pratica - */ - @Override - public void cacheResult(BoDettPratica boDettPratica) { - EntityCacheUtil.putResult(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaImpl.class, boDettPratica.getPrimaryKey(), - boDettPratica); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - new Object[] { boDettPratica.getUuid(), boDettPratica.getGroupId() }, - boDettPratica); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODPRATICASUAP, - new Object[] { boDettPratica.getCodPraticaSuap() }, boDettPratica); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, - new Object[] { - boDettPratica.getCompanyId(), boDettPratica.getGroupId(), - boDettPratica.getProtocollo() - }, boDettPratica); - - boDettPratica.resetOriginalValues(); - } - - /** - * Caches the bo dett praticas in the entity cache if it is enabled. - * - * @param boDettPraticas the bo dett praticas - */ - @Override - public void cacheResult(List boDettPraticas) { - for (BoDettPratica boDettPratica : boDettPraticas) { - if (EntityCacheUtil.getResult( - BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaImpl.class, boDettPratica.getPrimaryKey()) == null) { - cacheResult(boDettPratica); - } - else { - boDettPratica.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all bo dett praticas. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(BoDettPraticaImpl.class.getName()); - } - - EntityCacheUtil.clearCache(BoDettPraticaImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the bo dett pratica. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(BoDettPratica boDettPratica) { - EntityCacheUtil.removeResult(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaImpl.class, boDettPratica.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(boDettPratica); - } - - @Override - public void clearCache(List boDettPraticas) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (BoDettPratica boDettPratica : boDettPraticas) { - EntityCacheUtil.removeResult(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaImpl.class, boDettPratica.getPrimaryKey()); - - clearUniqueFindersCache(boDettPratica); - } - } - - protected void cacheUniqueFindersCache(BoDettPratica boDettPratica) { - if (boDettPratica.isNew()) { - Object[] args = new Object[] { - boDettPratica.getUuid(), boDettPratica.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - boDettPratica); - - args = new Object[] { boDettPratica.getCodPraticaSuap() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_CODPRATICASUAP, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODPRATICASUAP, - args, boDettPratica); - - args = new Object[] { - boDettPratica.getCompanyId(), boDettPratica.getGroupId(), - boDettPratica.getProtocollo() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_C_G_PROTOCOLLO, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, - args, boDettPratica); - } - else { - BoDettPraticaModelImpl boDettPraticaModelImpl = (BoDettPraticaModelImpl)boDettPratica; - - if ((boDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDettPratica.getUuid(), boDettPratica.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - boDettPratica); - } - - if ((boDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_CODPRATICASUAP.getColumnBitmask()) != 0) { - Object[] args = new Object[] { boDettPratica.getCodPraticaSuap() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_CODPRATICASUAP, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODPRATICASUAP, - args, boDettPratica); - } - - if ((boDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDettPratica.getCompanyId(), boDettPratica.getGroupId(), - boDettPratica.getProtocollo() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_C_G_PROTOCOLLO, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, - args, boDettPratica); - } - } - } - - protected void clearUniqueFindersCache(BoDettPratica boDettPratica) { - BoDettPraticaModelImpl boDettPraticaModelImpl = (BoDettPraticaModelImpl)boDettPratica; - - Object[] args = new Object[] { - boDettPratica.getUuid(), boDettPratica.getGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - - if ((boDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - args = new Object[] { - boDettPraticaModelImpl.getOriginalUuid(), - boDettPraticaModelImpl.getOriginalGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - } - - args = new Object[] { boDettPratica.getCodPraticaSuap() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CODPRATICASUAP, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODPRATICASUAP, args); - - if ((boDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_CODPRATICASUAP.getColumnBitmask()) != 0) { - args = new Object[] { - boDettPraticaModelImpl.getOriginalCodPraticaSuap() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CODPRATICASUAP, - args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODPRATICASUAP, - args); - } - - args = new Object[] { - boDettPratica.getCompanyId(), boDettPratica.getGroupId(), - boDettPratica.getProtocollo() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_G_PROTOCOLLO, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, args); - - if ((boDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO.getColumnBitmask()) != 0) { - args = new Object[] { - boDettPraticaModelImpl.getOriginalCompanyId(), - boDettPraticaModelImpl.getOriginalGroupId(), - boDettPraticaModelImpl.getOriginalProtocollo() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_G_PROTOCOLLO, - args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_G_PROTOCOLLO, - args); - } - } - - /** - * Creates a new bo dett pratica with the primary key. Does not add the bo dett pratica to the database. - * - * @param dettPraticaId the primary key for the new bo dett pratica - * @return the new bo dett pratica - */ - @Override - public BoDettPratica create(long dettPraticaId) { - BoDettPratica boDettPratica = new BoDettPraticaImpl(); - - boDettPratica.setNew(true); - boDettPratica.setPrimaryKey(dettPraticaId); - - String uuid = PortalUUIDUtil.generate(); - - boDettPratica.setUuid(uuid); - - return boDettPratica; - } - - /** - * Removes the bo dett pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param dettPraticaId the primary key of the bo dett pratica - * @return the bo dett pratica that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica remove(long dettPraticaId) - throws NoSuchBoDettPraticaException, SystemException { - return remove((Serializable)dettPraticaId); - } - - /** - * Removes the bo dett pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the bo dett pratica - * @return the bo dett pratica that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica remove(Serializable primaryKey) - throws NoSuchBoDettPraticaException, SystemException { - Session session = null; - - try { - session = openSession(); - - BoDettPratica boDettPratica = (BoDettPratica)session.get(BoDettPraticaImpl.class, - primaryKey); - - if (boDettPratica == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoDettPraticaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(boDettPratica); - } - catch (NoSuchBoDettPraticaException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected BoDettPratica removeImpl(BoDettPratica boDettPratica) - throws SystemException { - boDettPratica = toUnwrappedModel(boDettPratica); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(boDettPratica)) { - boDettPratica = (BoDettPratica)session.get(BoDettPraticaImpl.class, - boDettPratica.getPrimaryKeyObj()); - } - - if (boDettPratica != null) { - session.delete(boDettPratica); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (boDettPratica != null) { - clearCache(boDettPratica); - } - - return boDettPratica; - } - - @Override - public BoDettPratica updateImpl( - it.tref.liferay.portos.portosimport.model.BoDettPratica boDettPratica) - throws SystemException { - boDettPratica = toUnwrappedModel(boDettPratica); - - boolean isNew = boDettPratica.isNew(); - - BoDettPraticaModelImpl boDettPraticaModelImpl = (BoDettPraticaModelImpl)boDettPratica; - - if (Validator.isNull(boDettPratica.getUuid())) { - String uuid = PortalUUIDUtil.generate(); - - boDettPratica.setUuid(uuid); - } - - Session session = null; - - try { - session = openSession(); - - if (boDettPratica.isNew()) { - session.save(boDettPratica); - - boDettPratica.setNew(false); - } - else { - session.merge(boDettPratica); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !BoDettPraticaModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((boDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDettPraticaModelImpl.getOriginalUuid() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - - args = new Object[] { boDettPraticaModelImpl.getUuid() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - } - - if ((boDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDettPraticaModelImpl.getOriginalUuid(), - boDettPraticaModelImpl.getOriginalCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - - args = new Object[] { - boDettPraticaModelImpl.getUuid(), - boDettPraticaModelImpl.getCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - } - - if ((boDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID_INTEGRAZIONE_VALIDATA.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDettPraticaModelImpl.getOriginalIntPraticaId(), - boDettPraticaModelImpl.getOriginalIntegrazione(), - boDettPraticaModelImpl.getOriginalValidata() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_INTPRATICAID_INTEGRAZIONE_VALIDATA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID_INTEGRAZIONE_VALIDATA, - args); - - args = new Object[] { - boDettPraticaModelImpl.getIntPraticaId(), - boDettPraticaModelImpl.getIntegrazione(), - boDettPraticaModelImpl.getValidata() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_INTPRATICAID_INTEGRAZIONE_VALIDATA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID_INTEGRAZIONE_VALIDATA, - args); - } - - if ((boDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDettPraticaModelImpl.getOriginalIntPraticaId(), - boDettPraticaModelImpl.getOriginalTipoIntegrazione(), - boDettPraticaModelImpl.getOriginalValidata() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA, - args); - - args = new Object[] { - boDettPraticaModelImpl.getIntPraticaId(), - boDettPraticaModelImpl.getTipoIntegrazione(), - boDettPraticaModelImpl.getValidata() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID_TIPOINTEGRAZIONE_VALIDATA, - args); - } - - if ((boDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDettPraticaModelImpl.getOriginalIntPraticaId(), - boDettPraticaModelImpl.getOriginalTipoIntegrazione(), - boDettPraticaModelImpl.getOriginalIntegrazione(), - boDettPraticaModelImpl.getOriginalValidata() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA, - args); - - args = new Object[] { - boDettPraticaModelImpl.getIntPraticaId(), - boDettPraticaModelImpl.getTipoIntegrazione(), - boDettPraticaModelImpl.getIntegrazione(), - boDettPraticaModelImpl.getValidata() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID_TIPOINTEGRAZIONE_INTEGRAZIONE_VALIDATA, - args); - } - - if ((boDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDettPraticaModelImpl.getOriginalIntPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_INTPRATICAID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID, - args); - - args = new Object[] { boDettPraticaModelImpl.getIntPraticaId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_INTPRATICAID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID, - args); - } - - if ((boDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDettPraticaModelImpl.getOriginalCompanyId(), - boDettPraticaModelImpl.getOriginalGroupId(), - boDettPraticaModelImpl.getOriginalCodicePagamento(), - boDettPraticaModelImpl.getOriginalValidata(), - boDettPraticaModelImpl.getOriginalCompleta() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA, - args); - - args = new Object[] { - boDettPraticaModelImpl.getCompanyId(), - boDettPraticaModelImpl.getGroupId(), - boDettPraticaModelImpl.getCodicePagamento(), - boDettPraticaModelImpl.getValidata(), - boDettPraticaModelImpl.getCompleta() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_G_CODICEPAGAMENTO_VALIDATA_COMPLETA, - args); - } - - if ((boDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDettPraticaModelImpl.getOriginalSoggettoSostituitoId(), - boDettPraticaModelImpl.getOriginalValidata(), - boDettPraticaModelImpl.getOriginalCompleta() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA, - args); - - args = new Object[] { - boDettPraticaModelImpl.getSoggettoSostituitoId(), - boDettPraticaModelImpl.getValidata(), - boDettPraticaModelImpl.getCompleta() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_SOGGETTOSOSTITUITOID_VALIDATA_COMPLETA, - args); - } - } - - EntityCacheUtil.putResult(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaImpl.class, boDettPratica.getPrimaryKey(), - boDettPratica); - - clearUniqueFindersCache(boDettPratica); - cacheUniqueFindersCache(boDettPratica); - - return boDettPratica; - } - - protected BoDettPratica toUnwrappedModel(BoDettPratica boDettPratica) { - if (boDettPratica instanceof BoDettPraticaImpl) { - return boDettPratica; - } - - BoDettPraticaImpl boDettPraticaImpl = new BoDettPraticaImpl(); - - boDettPraticaImpl.setNew(boDettPratica.isNew()); - boDettPraticaImpl.setPrimaryKey(boDettPratica.getPrimaryKey()); - - boDettPraticaImpl.setUuid(boDettPratica.getUuid()); - boDettPraticaImpl.setDettPraticaId(boDettPratica.getDettPraticaId()); - boDettPraticaImpl.setCompanyId(boDettPratica.getCompanyId()); - boDettPraticaImpl.setUserId(boDettPratica.getUserId()); - boDettPraticaImpl.setUserName(boDettPratica.getUserName()); - boDettPraticaImpl.setCreateDate(boDettPratica.getCreateDate()); - boDettPraticaImpl.setModifiedDate(boDettPratica.getModifiedDate()); - boDettPraticaImpl.setGroupId(boDettPratica.getGroupId()); - boDettPraticaImpl.setIntPraticaId(boDettPratica.getIntPraticaId()); - boDettPraticaImpl.setIntegrazione(boDettPratica.getIntegrazione()); - boDettPraticaImpl.setSuapCode(boDettPratica.getSuapCode()); - boDettPraticaImpl.setValidata(boDettPratica.isValidata()); - boDettPraticaImpl.setCodPraticaSuap(boDettPratica.getCodPraticaSuap()); - boDettPraticaImpl.setProtocollo(boDettPratica.getProtocollo()); - boDettPraticaImpl.setTipoIntegrazione(boDettPratica.getTipoIntegrazione()); - boDettPraticaImpl.setCompleta(boDettPratica.isCompleta()); - boDettPraticaImpl.setGestita(boDettPratica.isGestita()); - boDettPraticaImpl.setCodicePagamento(boDettPratica.getCodicePagamento()); - boDettPraticaImpl.setCausalePagamento(boDettPratica.getCausalePagamento()); - boDettPraticaImpl.setMezzoPagamento(boDettPratica.getMezzoPagamento()); - boDettPraticaImpl.setImportoBolli(boDettPratica.getImportoBolli()); - boDettPraticaImpl.setImportoSpeseIstruttoria(boDettPratica.getImportoSpeseIstruttoria()); - boDettPraticaImpl.setDataEffettuazione(boDettPratica.getDataEffettuazione()); - boDettPraticaImpl.setEsenzioneBolli(boDettPratica.isEsenzioneBolli()); - boDettPraticaImpl.setEsenzioneSpeseIstruttoria(boDettPratica.isEsenzioneSpeseIstruttoria()); - boDettPraticaImpl.setStatus(boDettPratica.getStatus()); - boDettPraticaImpl.setStatusByUserId(boDettPratica.getStatusByUserId()); - boDettPraticaImpl.setStatusByUserName(boDettPratica.getStatusByUserName()); - boDettPraticaImpl.setStatusDate(boDettPratica.getStatusDate()); - boDettPraticaImpl.setStatusTask(boDettPratica.getStatusTask()); - boDettPraticaImpl.setWorkflowForzato(boDettPratica.isWorkflowForzato()); - boDettPraticaImpl.setSoggettoSostituitoId(boDettPratica.getSoggettoSostituitoId()); - - return boDettPraticaImpl; - } - - /** - * Returns the bo dett pratica with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the bo dett pratica - * @return the bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByPrimaryKey(Serializable primaryKey) - throws NoSuchBoDettPraticaException, SystemException { - BoDettPratica boDettPratica = fetchByPrimaryKey(primaryKey); - - if (boDettPratica == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoDettPraticaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return boDettPratica; - } - - /** - * Returns the bo dett pratica with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException} if it could not be found. - * - * @param dettPraticaId the primary key of the bo dett pratica - * @return the bo dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDettPraticaException if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica findByPrimaryKey(long dettPraticaId) - throws NoSuchBoDettPraticaException, SystemException { - return findByPrimaryKey((Serializable)dettPraticaId); - } - - /** - * Returns the bo dett pratica with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the bo dett pratica - * @return the bo dett pratica, or null if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - BoDettPratica boDettPratica = (BoDettPratica)EntityCacheUtil.getResult(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaImpl.class, primaryKey); - - if (boDettPratica == _nullBoDettPratica) { - return null; - } - - if (boDettPratica == null) { - Session session = null; - - try { - session = openSession(); - - boDettPratica = (BoDettPratica)session.get(BoDettPraticaImpl.class, - primaryKey); - - if (boDettPratica != null) { - cacheResult(boDettPratica); - } - else { - EntityCacheUtil.putResult(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaImpl.class, primaryKey, _nullBoDettPratica); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(BoDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDettPraticaImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return boDettPratica; - } - - /** - * Returns the bo dett pratica with the primary key or returns null if it could not be found. - * - * @param dettPraticaId the primary key of the bo dett pratica - * @return the bo dett pratica, or null if a bo dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDettPratica fetchByPrimaryKey(long dettPraticaId) - throws SystemException { - return fetchByPrimaryKey((Serializable)dettPraticaId); - } - - /** - * Returns all the bo dett praticas. - * - * @return the bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @return the range of bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the bo dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo dett praticas - * @param end the upper bound of the range of bo dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_BODETTPRATICA); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_BODETTPRATICA; - - if (pagination) { - sql = sql.concat(BoDettPraticaModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the bo dett praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (BoDettPratica boDettPratica : findAll()) { - remove(boDettPratica); - } - } - - /** - * Returns the number of bo dett praticas. - * - * @return the number of bo dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_BODETTPRATICA); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - @Override - protected Set getBadColumnNames() { - return _badColumnNames; - } - - /** - * Initializes the bo dett pratica persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.portosimport.model.BoDettPratica"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(BoDettPraticaImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_BODETTPRATICA = "SELECT boDettPratica FROM BoDettPratica boDettPratica"; - private static final String _SQL_SELECT_BODETTPRATICA_WHERE = "SELECT boDettPratica FROM BoDettPratica boDettPratica WHERE "; - private static final String _SQL_COUNT_BODETTPRATICA = "SELECT COUNT(boDettPratica) FROM BoDettPratica boDettPratica"; - private static final String _SQL_COUNT_BODETTPRATICA_WHERE = "SELECT COUNT(boDettPratica) FROM BoDettPratica boDettPratica WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "boDettPratica."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No BoDettPratica exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No BoDettPratica exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(BoDettPraticaPersistenceImpl.class); - private static Set _badColumnNames = SetUtil.fromArray(new String[] { - "uuid" - }); - private static BoDettPratica _nullBoDettPratica = new BoDettPraticaImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullBoDettPraticaCacheModel; - } - }; - - private static CacheModel _nullBoDettPraticaCacheModel = new CacheModel() { - @Override - public BoDettPratica toEntityModel() { - return _nullBoDettPratica; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoDocPraticaPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoDocPraticaPersistenceImpl.java deleted file mode 100644 index e8c29888..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoDocPraticaPersistenceImpl.java +++ /dev/null @@ -1,5922 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.ArrayUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.SetUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.kernel.uuid.PortalUUIDUtil; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException; -import it.tref.liferay.portos.portosimport.model.BoDocPratica; -import it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaImpl; -import it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Set; - -/** - * The persistence implementation for the bo doc pratica service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoDocPraticaPersistence - * @see BoDocPraticaUtil - * @generated - */ -public class BoDocPraticaPersistenceImpl extends BasePersistenceImpl - implements BoDocPraticaPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link BoDocPraticaUtil} to access the bo doc pratica persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = BoDocPraticaImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, BoDocPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, BoDocPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID = new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, BoDocPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByUuid", - new String[] { - String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID = new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, BoDocPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByUuid", - new String[] { String.class.getName() }, - BoDocPraticaModelImpl.UUID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID = new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid", - new String[] { String.class.getName() }); - - /** - * Returns all the bo doc praticas where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid) throws SystemException { - return findByUuid(uuid, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo doc praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end) - throws SystemException { - return findByUuid(uuid, start, end, null); - } - - /** - * Returns an ordered range of all the bo doc praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoDocPratica boDocPratica : list) { - if (!Validator.equals(uuid, boDocPratica.getUuid())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BODOCPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoDocPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo doc pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica findByUuid_First(String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = fetchByUuid_First(uuid, orderByComparator); - - if (boDocPratica != null) { - return boDocPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDocPraticaException(msg.toString()); - } - - /** - * Returns the first bo doc pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByUuid_First(String uuid, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid(uuid, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo doc pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica findByUuid_Last(String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = fetchByUuid_Last(uuid, orderByComparator); - - if (boDocPratica != null) { - return boDocPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDocPraticaException(msg.toString()); - } - - /** - * Returns the last bo doc pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByUuid_Last(String uuid, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid(uuid); - - if (count == 0) { - return null; - } - - List list = findByUuid(uuid, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo doc praticas before and after the current bo doc pratica in the ordered set where uuid = ?. - * - * @param docPraticaId the primary key of the current bo doc pratica - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica[] findByUuid_PrevAndNext(long docPraticaId, - String uuid, OrderByComparator orderByComparator) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = findByPrimaryKey(docPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoDocPratica[] array = new BoDocPraticaImpl[3]; - - array[0] = getByUuid_PrevAndNext(session, boDocPratica, uuid, - orderByComparator, true); - - array[1] = boDocPratica; - - array[2] = getByUuid_PrevAndNext(session, boDocPratica, uuid, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoDocPratica getByUuid_PrevAndNext(Session session, - BoDocPratica boDocPratica, String uuid, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BODOCPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoDocPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boDocPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo doc praticas where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid(String uuid) throws SystemException { - for (BoDocPratica boDocPratica : findByUuid(uuid, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(boDocPratica); - } - } - - /** - * Returns the number of bo doc praticas where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid(String uuid) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID; - - Object[] finderArgs = new Object[] { uuid }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BODOCPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_UUID_1 = "boDocPratica.uuid IS NULL"; - private static final String _FINDER_COLUMN_UUID_UUID_2 = "boDocPratica.uuid = ?"; - private static final String _FINDER_COLUMN_UUID_UUID_3 = "(boDocPratica.uuid IS NULL OR boDocPratica.uuid = '')"; - public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G = new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, BoDocPraticaImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }, - BoDocPraticaModelImpl.UUID_COLUMN_BITMASK | - BoDocPraticaModelImpl.GROUPID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G = new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns the bo doc pratica where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica findByUUID_G(String uuid, long groupId) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = fetchByUUID_G(uuid, groupId); - - if (boDocPratica == null) { - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoDocPraticaException(msg.toString()); - } - - return boDocPratica; - } - - /** - * Returns the bo doc pratica where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByUUID_G(String uuid, long groupId) - throws SystemException { - return fetchByUUID_G(uuid, groupId, true); - } - - /** - * Returns the bo doc pratica where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByUUID_G(String uuid, long groupId, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { uuid, groupId }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, this); - } - - if (result instanceof BoDocPratica) { - BoDocPratica boDocPratica = (BoDocPratica)result; - - if (!Validator.equals(uuid, boDocPratica.getUuid()) || - (groupId != boDocPratica.getGroupId())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_SELECT_BODOCPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, list); - } - else { - BoDocPratica boDocPratica = list.get(0); - - result = boDocPratica; - - cacheResult(boDocPratica); - - if ((boDocPratica.getUuid() == null) || - !boDocPratica.getUuid().equals(uuid) || - (boDocPratica.getGroupId() != groupId)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, boDocPratica); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoDocPratica)result; - } - } - - /** - * Removes the bo doc pratica where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo doc pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica removeByUUID_G(String uuid, long groupId) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = findByUUID_G(uuid, groupId); - - return remove(boDocPratica); - } - - /** - * Returns the number of bo doc praticas where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUUID_G(String uuid, long groupId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_G; - - Object[] finderArgs = new Object[] { uuid, groupId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BODOCPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_G_UUID_1 = "boDocPratica.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_2 = "boDocPratica.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_3 = "(boDocPratica.uuid IS NULL OR boDocPratica.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_G_GROUPID_2 = "boDocPratica.groupId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C = new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, BoDocPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByUuid_C", - new String[] { - String.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C = - new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, BoDocPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }, - BoDocPraticaModelImpl.UUID_COLUMN_BITMASK | - BoDocPraticaModelImpl.COMPANYID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C = new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns all the bo doc praticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId) - throws SystemException { - return findByUuid_C(uuid, companyId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo doc praticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, - int start, int end) throws SystemException { - return findByUuid_C(uuid, companyId, start, end, null); - } - - /** - * Returns an ordered range of all the bo doc praticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { uuid, companyId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { - uuid, companyId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoDocPratica boDocPratica : list) { - if (!Validator.equals(uuid, boDocPratica.getUuid()) || - (companyId != boDocPratica.getCompanyId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_BODOCPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoDocPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo doc pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica findByUuid_C_First(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = fetchByUuid_C_First(uuid, companyId, - orderByComparator); - - if (boDocPratica != null) { - return boDocPratica; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDocPraticaException(msg.toString()); - } - - /** - * Returns the first bo doc pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByUuid_C_First(String uuid, long companyId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid_C(uuid, companyId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo doc pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica findByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = fetchByUuid_C_Last(uuid, companyId, - orderByComparator); - - if (boDocPratica != null) { - return boDocPratica; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDocPraticaException(msg.toString()); - } - - /** - * Returns the last bo doc pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid_C(uuid, companyId); - - if (count == 0) { - return null; - } - - List list = findByUuid_C(uuid, companyId, count - 1, - count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo doc praticas before and after the current bo doc pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param docPraticaId the primary key of the current bo doc pratica - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica[] findByUuid_C_PrevAndNext(long docPraticaId, - String uuid, long companyId, OrderByComparator orderByComparator) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = findByPrimaryKey(docPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoDocPratica[] array = new BoDocPraticaImpl[3]; - - array[0] = getByUuid_C_PrevAndNext(session, boDocPratica, uuid, - companyId, orderByComparator, true); - - array[1] = boDocPratica; - - array[2] = getByUuid_C_PrevAndNext(session, boDocPratica, uuid, - companyId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoDocPratica getByUuid_C_PrevAndNext(Session session, - BoDocPratica boDocPratica, String uuid, long companyId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BODOCPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoDocPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boDocPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo doc praticas where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid_C(String uuid, long companyId) - throws SystemException { - for (BoDocPratica boDocPratica : findByUuid_C(uuid, companyId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boDocPratica); - } - } - - /** - * Returns the number of bo doc praticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid_C(String uuid, long companyId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_C; - - Object[] finderArgs = new Object[] { uuid, companyId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BODOCPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_C_UUID_1 = "boDocPratica.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_2 = "boDocPratica.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_3 = "(boDocPratica.uuid IS NULL OR boDocPratica.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_C_COMPANYID_2 = "boDocPratica.companyId = ?"; - public static final FinderPath FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_CODFILESUAP = - new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, BoDocPraticaImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByC_Group_DlFileEntry_CodFileSuap", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName(), - String.class.getName() - }, - BoDocPraticaModelImpl.COMPANYID_COLUMN_BITMASK | - BoDocPraticaModelImpl.GROUPID_COLUMN_BITMASK | - BoDocPraticaModelImpl.DLFILEENTRYID_COLUMN_BITMASK | - BoDocPraticaModelImpl.CODFILESUAP_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_C_GROUP_DLFILEENTRY_CODFILESUAP = - new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByC_Group_DlFileEntry_CodFileSuap", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName(), - String.class.getName() - }); - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and codFileSuap = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException} if it could not be found. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param codFileSuap the cod file suap - * @return the matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica findByC_Group_DlFileEntry_CodFileSuap(long companyId, - long groupId, long dlFileEntryId, String codFileSuap) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = fetchByC_Group_DlFileEntry_CodFileSuap(companyId, - groupId, dlFileEntryId, codFileSuap); - - if (boDocPratica == null) { - StringBundler msg = new StringBundler(10); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(", dlFileEntryId="); - msg.append(dlFileEntryId); - - msg.append(", codFileSuap="); - msg.append(codFileSuap); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoDocPraticaException(msg.toString()); - } - - return boDocPratica; - } - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and codFileSuap = ? or returns null if it could not be found. Uses the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param codFileSuap the cod file suap - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByC_Group_DlFileEntry_CodFileSuap(long companyId, - long groupId, long dlFileEntryId, String codFileSuap) - throws SystemException { - return fetchByC_Group_DlFileEntry_CodFileSuap(companyId, groupId, - dlFileEntryId, codFileSuap, true); - } - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and codFileSuap = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param codFileSuap the cod file suap - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByC_Group_DlFileEntry_CodFileSuap(long companyId, - long groupId, long dlFileEntryId, String codFileSuap, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { - companyId, groupId, dlFileEntryId, codFileSuap - }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_CODFILESUAP, - finderArgs, this); - } - - if (result instanceof BoDocPratica) { - BoDocPratica boDocPratica = (BoDocPratica)result; - - if ((companyId != boDocPratica.getCompanyId()) || - (groupId != boDocPratica.getGroupId()) || - (dlFileEntryId != boDocPratica.getDlFileEntryId()) || - !Validator.equals(codFileSuap, boDocPratica.getCodFileSuap())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(6); - - query.append(_SQL_SELECT_BODOCPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_CODFILESUAP_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_CODFILESUAP_GROUPID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_CODFILESUAP_DLFILEENTRYID_2); - - boolean bindCodFileSuap = false; - - if (codFileSuap == null) { - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_CODFILESUAP_CODFILESUAP_1); - } - else if (codFileSuap.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_CODFILESUAP_CODFILESUAP_3); - } - else { - bindCodFileSuap = true; - - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_CODFILESUAP_CODFILESUAP_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - qPos.add(dlFileEntryId); - - if (bindCodFileSuap) { - qPos.add(codFileSuap); - } - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_CODFILESUAP, - finderArgs, list); - } - else { - if ((list.size() > 1) && _log.isWarnEnabled()) { - _log.warn( - "BoDocPraticaPersistenceImpl.fetchByC_Group_DlFileEntry_CodFileSuap(long, long, long, String, boolean) with parameters (" + - StringUtil.merge(finderArgs) + - ") yields a result set with more than 1 result. This violates the logical unique restriction. There is no order guarantee on which result is returned by this finder."); - } - - BoDocPratica boDocPratica = list.get(0); - - result = boDocPratica; - - cacheResult(boDocPratica); - - if ((boDocPratica.getCompanyId() != companyId) || - (boDocPratica.getGroupId() != groupId) || - (boDocPratica.getDlFileEntryId() != dlFileEntryId) || - (boDocPratica.getCodFileSuap() == null) || - !boDocPratica.getCodFileSuap().equals(codFileSuap)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_CODFILESUAP, - finderArgs, boDocPratica); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_CODFILESUAP, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoDocPratica)result; - } - } - - /** - * Removes the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and codFileSuap = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param codFileSuap the cod file suap - * @return the bo doc pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica removeByC_Group_DlFileEntry_CodFileSuap( - long companyId, long groupId, long dlFileEntryId, String codFileSuap) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = findByC_Group_DlFileEntry_CodFileSuap(companyId, - groupId, dlFileEntryId, codFileSuap); - - return remove(boDocPratica); - } - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and dlFileEntryId = ? and codFileSuap = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param codFileSuap the cod file suap - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_Group_DlFileEntry_CodFileSuap(long companyId, - long groupId, long dlFileEntryId, String codFileSuap) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_C_GROUP_DLFILEENTRY_CODFILESUAP; - - Object[] finderArgs = new Object[] { - companyId, groupId, dlFileEntryId, codFileSuap - }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(5); - - query.append(_SQL_COUNT_BODOCPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_CODFILESUAP_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_CODFILESUAP_GROUPID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_CODFILESUAP_DLFILEENTRYID_2); - - boolean bindCodFileSuap = false; - - if (codFileSuap == null) { - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_CODFILESUAP_CODFILESUAP_1); - } - else if (codFileSuap.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_CODFILESUAP_CODFILESUAP_3); - } - else { - bindCodFileSuap = true; - - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_CODFILESUAP_CODFILESUAP_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - qPos.add(dlFileEntryId); - - if (bindCodFileSuap) { - qPos.add(codFileSuap); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_C_GROUP_DLFILEENTRY_CODFILESUAP_COMPANYID_2 = - "boDocPratica.companyId = ? AND "; - private static final String _FINDER_COLUMN_C_GROUP_DLFILEENTRY_CODFILESUAP_GROUPID_2 = - "boDocPratica.groupId = ? AND "; - private static final String _FINDER_COLUMN_C_GROUP_DLFILEENTRY_CODFILESUAP_DLFILEENTRYID_2 = - "boDocPratica.dlFileEntryId = ? AND "; - private static final String _FINDER_COLUMN_C_GROUP_DLFILEENTRY_CODFILESUAP_CODFILESUAP_1 = - "boDocPratica.codFileSuap IS NULL"; - private static final String _FINDER_COLUMN_C_GROUP_DLFILEENTRY_CODFILESUAP_CODFILESUAP_2 = - "boDocPratica.codFileSuap = ?"; - private static final String _FINDER_COLUMN_C_GROUP_DLFILEENTRY_CODFILESUAP_CODFILESUAP_3 = - "(boDocPratica.codFileSuap IS NULL OR boDocPratica.codFileSuap = '')"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA = - new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, BoDocPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByC_Group_DettPratica", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA = - new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, BoDocPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByC_Group_DettPratica", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName() - }, - BoDocPraticaModelImpl.COMPANYID_COLUMN_BITMASK | - BoDocPraticaModelImpl.GROUPID_COLUMN_BITMASK | - BoDocPraticaModelImpl.DETTPRATICAID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_C_GROUP_DETTPRATICA = new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByC_Group_DettPratica", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName() - }); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_C_GROUP_DETTPRATICA = - new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "countByC_Group_DettPratica", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName() - }); - - /** - * Returns all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group_DettPratica(long companyId, - long groupId, long dettPraticaId) throws SystemException { - return findByC_Group_DettPratica(companyId, groupId, dettPraticaId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group_DettPratica(long companyId, - long groupId, long dettPraticaId, int start, int end) - throws SystemException { - return findByC_Group_DettPratica(companyId, groupId, dettPraticaId, - start, end, null); - } - - /** - * Returns an ordered range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group_DettPratica(long companyId, - long groupId, long dettPraticaId, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA; - finderArgs = new Object[] { companyId, groupId, dettPraticaId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA; - finderArgs = new Object[] { - companyId, groupId, dettPraticaId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoDocPratica boDocPratica : list) { - if ((companyId != boDocPratica.getCompanyId()) || - (groupId != boDocPratica.getGroupId()) || - (dettPraticaId != boDocPratica.getDettPraticaId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(5 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(5); - } - - query.append(_SQL_SELECT_BODOCPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_GROUPID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_DETTPRATICAID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoDocPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - qPos.add(dettPraticaId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica findByC_Group_DettPratica_First(long companyId, - long groupId, long dettPraticaId, OrderByComparator orderByComparator) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = fetchByC_Group_DettPratica_First(companyId, - groupId, dettPraticaId, orderByComparator); - - if (boDocPratica != null) { - return boDocPratica; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(", dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDocPraticaException(msg.toString()); - } - - /** - * Returns the first bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByC_Group_DettPratica_First(long companyId, - long groupId, long dettPraticaId, OrderByComparator orderByComparator) - throws SystemException { - List list = findByC_Group_DettPratica(companyId, groupId, - dettPraticaId, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica findByC_Group_DettPratica_Last(long companyId, - long groupId, long dettPraticaId, OrderByComparator orderByComparator) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = fetchByC_Group_DettPratica_Last(companyId, - groupId, dettPraticaId, orderByComparator); - - if (boDocPratica != null) { - return boDocPratica; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(", dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDocPraticaException(msg.toString()); - } - - /** - * Returns the last bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByC_Group_DettPratica_Last(long companyId, - long groupId, long dettPraticaId, OrderByComparator orderByComparator) - throws SystemException { - int count = countByC_Group_DettPratica(companyId, groupId, dettPraticaId); - - if (count == 0) { - return null; - } - - List list = findByC_Group_DettPratica(companyId, groupId, - dettPraticaId, count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo doc praticas before and after the current bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param docPraticaId the primary key of the current bo doc pratica - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica[] findByC_Group_DettPratica_PrevAndNext( - long docPraticaId, long companyId, long groupId, long dettPraticaId, - OrderByComparator orderByComparator) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = findByPrimaryKey(docPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoDocPratica[] array = new BoDocPraticaImpl[3]; - - array[0] = getByC_Group_DettPratica_PrevAndNext(session, - boDocPratica, companyId, groupId, dettPraticaId, - orderByComparator, true); - - array[1] = boDocPratica; - - array[2] = getByC_Group_DettPratica_PrevAndNext(session, - boDocPratica, companyId, groupId, dettPraticaId, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoDocPratica getByC_Group_DettPratica_PrevAndNext( - Session session, BoDocPratica boDocPratica, long companyId, - long groupId, long dettPraticaId, OrderByComparator orderByComparator, - boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BODOCPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_GROUPID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_DETTPRATICAID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoDocPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - qPos.add(dettPraticaId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boDocPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Returns all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group_DettPratica(long companyId, - long groupId, long[] dettPraticaIds) throws SystemException { - return findByC_Group_DettPratica(companyId, groupId, dettPraticaIds, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group_DettPratica(long companyId, - long groupId, long[] dettPraticaIds, int start, int end) - throws SystemException { - return findByC_Group_DettPratica(companyId, groupId, dettPraticaIds, - start, end, null); - } - - /** - * Returns an ordered range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group_DettPratica(long companyId, - long groupId, long[] dettPraticaIds, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - if ((dettPraticaIds != null) && (dettPraticaIds.length == 1)) { - return findByC_Group_DettPratica(companyId, groupId, - dettPraticaIds[0], start, end, orderByComparator); - } - - boolean pagination = true; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderArgs = new Object[] { - companyId, groupId, StringUtil.merge(dettPraticaIds) - }; - } - else { - finderArgs = new Object[] { - companyId, groupId, StringUtil.merge(dettPraticaIds), - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(FINDER_PATH_WITH_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoDocPratica boDocPratica : list) { - if ((companyId != boDocPratica.getCompanyId()) || - (groupId != boDocPratica.getGroupId()) || - !ArrayUtil.contains(dettPraticaIds, - boDocPratica.getDettPraticaId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = new StringBundler(); - - query.append(_SQL_SELECT_BODOCPRATICA_WHERE); - - boolean conjunctionable = false; - - if (conjunctionable) { - query.append(WHERE_AND); - } - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_COMPANYID_5); - - conjunctionable = true; - - if (conjunctionable) { - query.append(WHERE_AND); - } - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_GROUPID_5); - - conjunctionable = true; - - if ((dettPraticaIds == null) || (dettPraticaIds.length > 0)) { - if (conjunctionable) { - query.append(WHERE_AND); - } - - query.append(StringPool.OPEN_PARENTHESIS); - - for (int i = 0; i < dettPraticaIds.length; i++) { - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_DETTPRATICAID_5); - - if ((i + 1) < dettPraticaIds.length) { - query.append(WHERE_OR); - } - } - - query.append(StringPool.CLOSE_PARENTHESIS); - - conjunctionable = true; - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoDocPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - if (dettPraticaIds != null) { - qPos.add(dettPraticaIds); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(FINDER_PATH_WITH_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA, - finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_WITH_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByC_Group_DettPratica(long companyId, long groupId, - long dettPraticaId) throws SystemException { - for (BoDocPratica boDocPratica : findByC_Group_DettPratica(companyId, - groupId, dettPraticaId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, - null)) { - remove(boDocPratica); - } - } - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_Group_DettPratica(long companyId, long groupId, - long dettPraticaId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_C_GROUP_DETTPRATICA; - - Object[] finderArgs = new Object[] { companyId, groupId, dettPraticaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_COUNT_BODOCPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_GROUPID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_DETTPRATICAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - qPos.add(dettPraticaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_Group_DettPratica(long companyId, long groupId, - long[] dettPraticaIds) throws SystemException { - Object[] finderArgs = new Object[] { - companyId, groupId, StringUtil.merge(dettPraticaIds) - }; - - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_WITH_PAGINATION_COUNT_BY_C_GROUP_DETTPRATICA, - finderArgs, this); - - if (count == null) { - StringBundler query = new StringBundler(); - - query.append(_SQL_COUNT_BODOCPRATICA_WHERE); - - boolean conjunctionable = false; - - if (conjunctionable) { - query.append(WHERE_AND); - } - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_COMPANYID_5); - - conjunctionable = true; - - if (conjunctionable) { - query.append(WHERE_AND); - } - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_GROUPID_5); - - conjunctionable = true; - - if ((dettPraticaIds == null) || (dettPraticaIds.length > 0)) { - if (conjunctionable) { - query.append(WHERE_AND); - } - - query.append(StringPool.OPEN_PARENTHESIS); - - for (int i = 0; i < dettPraticaIds.length; i++) { - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_DETTPRATICAID_5); - - if ((i + 1) < dettPraticaIds.length) { - query.append(WHERE_OR); - } - } - - query.append(StringPool.CLOSE_PARENTHESIS); - - conjunctionable = true; - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - if (dettPraticaIds != null) { - qPos.add(dettPraticaIds); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_WITH_PAGINATION_COUNT_BY_C_GROUP_DETTPRATICA, - finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_WITH_PAGINATION_COUNT_BY_C_GROUP_DETTPRATICA, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_COMPANYID_2 = "boDocPratica.companyId = ? AND "; - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_COMPANYID_5 = "(" + - removeConjunction(_FINDER_COLUMN_C_GROUP_DETTPRATICA_COMPANYID_2) + - ")"; - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_GROUPID_2 = "boDocPratica.groupId = ? AND "; - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_GROUPID_5 = "(" + - removeConjunction(_FINDER_COLUMN_C_GROUP_DETTPRATICA_GROUPID_2) + ")"; - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_DETTPRATICAID_2 = - "boDocPratica.dettPraticaId = ?"; - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_DETTPRATICAID_5 = - "(" + - removeConjunction(_FINDER_COLUMN_C_GROUP_DETTPRATICA_DETTPRATICAID_2) + - ")"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA_TIPOLOGIA = - new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, BoDocPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByC_Group_DettPratica_Tipologia", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName(), - String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA_TIPOLOGIA = - new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, BoDocPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByC_Group_DettPratica_Tipologia", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName(), - String.class.getName() - }, - BoDocPraticaModelImpl.COMPANYID_COLUMN_BITMASK | - BoDocPraticaModelImpl.GROUPID_COLUMN_BITMASK | - BoDocPraticaModelImpl.DETTPRATICAID_COLUMN_BITMASK | - BoDocPraticaModelImpl.TIPOLOGIA_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_C_GROUP_DETTPRATICA_TIPOLOGIA = - new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByC_Group_DettPratica_Tipologia", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName(), - String.class.getName() - }); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_C_GROUP_DETTPRATICA_TIPOLOGIA = - new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "countByC_Group_DettPratica_Tipologia", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName(), - String.class.getName() - }); - - /** - * Returns all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group_DettPratica_Tipologia( - long companyId, long groupId, long dettPraticaId, String tipologia) - throws SystemException { - return findByC_Group_DettPratica_Tipologia(companyId, groupId, - dettPraticaId, tipologia, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group_DettPratica_Tipologia( - long companyId, long groupId, long dettPraticaId, String tipologia, - int start, int end) throws SystemException { - return findByC_Group_DettPratica_Tipologia(companyId, groupId, - dettPraticaId, tipologia, start, end, null); - } - - /** - * Returns an ordered range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group_DettPratica_Tipologia( - long companyId, long groupId, long dettPraticaId, String tipologia, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA_TIPOLOGIA; - finderArgs = new Object[] { - companyId, groupId, dettPraticaId, tipologia - }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA_TIPOLOGIA; - finderArgs = new Object[] { - companyId, groupId, dettPraticaId, tipologia, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoDocPratica boDocPratica : list) { - if ((companyId != boDocPratica.getCompanyId()) || - (groupId != boDocPratica.getGroupId()) || - (dettPraticaId != boDocPratica.getDettPraticaId()) || - !Validator.equals(tipologia, boDocPratica.getTipologia())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(6); - } - - query.append(_SQL_SELECT_BODOCPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_GROUPID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_DETTPRATICAID_2); - - boolean bindTipologia = false; - - if (tipologia == null) { - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_1); - } - else if (tipologia.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_3); - } - else { - bindTipologia = true; - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoDocPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - qPos.add(dettPraticaId); - - if (bindTipologia) { - qPos.add(tipologia); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica findByC_Group_DettPratica_Tipologia_First( - long companyId, long groupId, long dettPraticaId, String tipologia, - OrderByComparator orderByComparator) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = fetchByC_Group_DettPratica_Tipologia_First(companyId, - groupId, dettPraticaId, tipologia, orderByComparator); - - if (boDocPratica != null) { - return boDocPratica; - } - - StringBundler msg = new StringBundler(10); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(", dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(", tipologia="); - msg.append(tipologia); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDocPraticaException(msg.toString()); - } - - /** - * Returns the first bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByC_Group_DettPratica_Tipologia_First( - long companyId, long groupId, long dettPraticaId, String tipologia, - OrderByComparator orderByComparator) throws SystemException { - List list = findByC_Group_DettPratica_Tipologia(companyId, - groupId, dettPraticaId, tipologia, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica findByC_Group_DettPratica_Tipologia_Last( - long companyId, long groupId, long dettPraticaId, String tipologia, - OrderByComparator orderByComparator) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = fetchByC_Group_DettPratica_Tipologia_Last(companyId, - groupId, dettPraticaId, tipologia, orderByComparator); - - if (boDocPratica != null) { - return boDocPratica; - } - - StringBundler msg = new StringBundler(10); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(", dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(", tipologia="); - msg.append(tipologia); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDocPraticaException(msg.toString()); - } - - /** - * Returns the last bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByC_Group_DettPratica_Tipologia_Last( - long companyId, long groupId, long dettPraticaId, String tipologia, - OrderByComparator orderByComparator) throws SystemException { - int count = countByC_Group_DettPratica_Tipologia(companyId, groupId, - dettPraticaId, tipologia); - - if (count == 0) { - return null; - } - - List list = findByC_Group_DettPratica_Tipologia(companyId, - groupId, dettPraticaId, tipologia, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo doc praticas before and after the current bo doc pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param docPraticaId the primary key of the current bo doc pratica - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica[] findByC_Group_DettPratica_Tipologia_PrevAndNext( - long docPraticaId, long companyId, long groupId, long dettPraticaId, - String tipologia, OrderByComparator orderByComparator) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = findByPrimaryKey(docPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoDocPratica[] array = new BoDocPraticaImpl[3]; - - array[0] = getByC_Group_DettPratica_Tipologia_PrevAndNext(session, - boDocPratica, companyId, groupId, dettPraticaId, tipologia, - orderByComparator, true); - - array[1] = boDocPratica; - - array[2] = getByC_Group_DettPratica_Tipologia_PrevAndNext(session, - boDocPratica, companyId, groupId, dettPraticaId, tipologia, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoDocPratica getByC_Group_DettPratica_Tipologia_PrevAndNext( - Session session, BoDocPratica boDocPratica, long companyId, - long groupId, long dettPraticaId, String tipologia, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BODOCPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_GROUPID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_DETTPRATICAID_2); - - boolean bindTipologia = false; - - if (tipologia == null) { - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_1); - } - else if (tipologia.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_3); - } - else { - bindTipologia = true; - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoDocPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - qPos.add(dettPraticaId); - - if (bindTipologia) { - qPos.add(tipologia); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boDocPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Returns all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ? and tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @param tipologia the tipologia - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group_DettPratica_Tipologia( - long companyId, long groupId, long[] dettPraticaIds, String tipologia) - throws SystemException { - return findByC_Group_DettPratica_Tipologia(companyId, groupId, - dettPraticaIds, tipologia, QueryUtil.ALL_POS, QueryUtil.ALL_POS, - null); - } - - /** - * Returns a range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ? and tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @param tipologia the tipologia - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group_DettPratica_Tipologia( - long companyId, long groupId, long[] dettPraticaIds, String tipologia, - int start, int end) throws SystemException { - return findByC_Group_DettPratica_Tipologia(companyId, groupId, - dettPraticaIds, tipologia, start, end, null); - } - - /** - * Returns an ordered range of all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ? and tipologia = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @param tipologia the tipologia - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group_DettPratica_Tipologia( - long companyId, long groupId, long[] dettPraticaIds, String tipologia, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - if ((dettPraticaIds != null) && (dettPraticaIds.length == 1)) { - return findByC_Group_DettPratica_Tipologia(companyId, groupId, - dettPraticaIds[0], tipologia, start, end, orderByComparator); - } - - boolean pagination = true; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderArgs = new Object[] { - companyId, groupId, StringUtil.merge(dettPraticaIds), - tipologia - }; - } - else { - finderArgs = new Object[] { - companyId, groupId, StringUtil.merge(dettPraticaIds), - tipologia, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(FINDER_PATH_WITH_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA_TIPOLOGIA, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoDocPratica boDocPratica : list) { - if ((companyId != boDocPratica.getCompanyId()) || - (groupId != boDocPratica.getGroupId()) || - !ArrayUtil.contains(dettPraticaIds, - boDocPratica.getDettPraticaId()) || - !Validator.equals(tipologia, boDocPratica.getTipologia())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = new StringBundler(); - - query.append(_SQL_SELECT_BODOCPRATICA_WHERE); - - boolean conjunctionable = false; - - if (conjunctionable) { - query.append(WHERE_AND); - } - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_COMPANYID_5); - - conjunctionable = true; - - if (conjunctionable) { - query.append(WHERE_AND); - } - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_GROUPID_5); - - conjunctionable = true; - - if ((dettPraticaIds == null) || (dettPraticaIds.length > 0)) { - if (conjunctionable) { - query.append(WHERE_AND); - } - - query.append(StringPool.OPEN_PARENTHESIS); - - for (int i = 0; i < dettPraticaIds.length; i++) { - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_DETTPRATICAID_5); - - if ((i + 1) < dettPraticaIds.length) { - query.append(WHERE_OR); - } - } - - query.append(StringPool.CLOSE_PARENTHESIS); - - conjunctionable = true; - } - - if (conjunctionable) { - query.append(WHERE_AND); - } - - boolean bindTipologia = false; - - if (tipologia == null) { - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_4); - } - else if (tipologia.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_6); - } - else { - bindTipologia = true; - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_5); - } - - conjunctionable = true; - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoDocPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - if (dettPraticaIds != null) { - qPos.add(dettPraticaIds); - } - - if (bindTipologia) { - qPos.add(tipologia); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(FINDER_PATH_WITH_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA_TIPOLOGIA, - finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_WITH_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA_TIPOLOGIA, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByC_Group_DettPratica_Tipologia(long companyId, - long groupId, long dettPraticaId, String tipologia) - throws SystemException { - for (BoDocPratica boDocPratica : findByC_Group_DettPratica_Tipologia( - companyId, groupId, dettPraticaId, tipologia, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boDocPratica); - } - } - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param tipologia the tipologia - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_Group_DettPratica_Tipologia(long companyId, - long groupId, long dettPraticaId, String tipologia) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_C_GROUP_DETTPRATICA_TIPOLOGIA; - - Object[] finderArgs = new Object[] { - companyId, groupId, dettPraticaId, tipologia - }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(5); - - query.append(_SQL_COUNT_BODOCPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_GROUPID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_DETTPRATICAID_2); - - boolean bindTipologia = false; - - if (tipologia == null) { - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_1); - } - else if (tipologia.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_3); - } - else { - bindTipologia = true; - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - qPos.add(dettPraticaId); - - if (bindTipologia) { - qPos.add(tipologia); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and dettPraticaId = any ? and tipologia = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaIds the dett pratica IDs - * @param tipologia the tipologia - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_Group_DettPratica_Tipologia(long companyId, - long groupId, long[] dettPraticaIds, String tipologia) - throws SystemException { - Object[] finderArgs = new Object[] { - companyId, groupId, StringUtil.merge(dettPraticaIds), tipologia - }; - - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_WITH_PAGINATION_COUNT_BY_C_GROUP_DETTPRATICA_TIPOLOGIA, - finderArgs, this); - - if (count == null) { - StringBundler query = new StringBundler(); - - query.append(_SQL_COUNT_BODOCPRATICA_WHERE); - - boolean conjunctionable = false; - - if (conjunctionable) { - query.append(WHERE_AND); - } - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_COMPANYID_5); - - conjunctionable = true; - - if (conjunctionable) { - query.append(WHERE_AND); - } - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_GROUPID_5); - - conjunctionable = true; - - if ((dettPraticaIds == null) || (dettPraticaIds.length > 0)) { - if (conjunctionable) { - query.append(WHERE_AND); - } - - query.append(StringPool.OPEN_PARENTHESIS); - - for (int i = 0; i < dettPraticaIds.length; i++) { - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_DETTPRATICAID_5); - - if ((i + 1) < dettPraticaIds.length) { - query.append(WHERE_OR); - } - } - - query.append(StringPool.CLOSE_PARENTHESIS); - - conjunctionable = true; - } - - if (conjunctionable) { - query.append(WHERE_AND); - } - - boolean bindTipologia = false; - - if (tipologia == null) { - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_4); - } - else if (tipologia.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_6); - } - else { - bindTipologia = true; - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_5); - } - - conjunctionable = true; - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - if (dettPraticaIds != null) { - qPos.add(dettPraticaIds); - } - - if (bindTipologia) { - qPos.add(tipologia); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_WITH_PAGINATION_COUNT_BY_C_GROUP_DETTPRATICA_TIPOLOGIA, - finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_WITH_PAGINATION_COUNT_BY_C_GROUP_DETTPRATICA_TIPOLOGIA, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_COMPANYID_2 = - "boDocPratica.companyId = ? AND "; - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_COMPANYID_5 = - "(" + - removeConjunction(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_COMPANYID_2) + - ")"; - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_GROUPID_2 = - "boDocPratica.groupId = ? AND "; - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_GROUPID_5 = - "(" + - removeConjunction(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_GROUPID_2) + - ")"; - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_DETTPRATICAID_2 = - "boDocPratica.dettPraticaId = ? AND "; - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_DETTPRATICAID_5 = - "(" + - removeConjunction(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_DETTPRATICAID_2) + - ")"; - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_1 = - "boDocPratica.tipologia IS NULL"; - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_2 = - "boDocPratica.tipologia = ?"; - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_3 = - "(boDocPratica.tipologia IS NULL OR boDocPratica.tipologia = '')"; - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_4 = - "(" + - removeConjunction(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_1) + - ")"; - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_5 = - "(" + - removeConjunction(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_2) + - ")"; - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_6 = - "(" + - removeConjunction(_FINDER_COLUMN_C_GROUP_DETTPRATICA_TIPOLOGIA_TIPOLOGIA_3) + - ")"; - public static final FinderPath FINDER_PATH_FETCH_BY_C_GROUP_TIPLOGIA_CODFILESUAP = - new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, BoDocPraticaImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByC_Group_Tiplogia_CodFileSuap", - new String[] { - Long.class.getName(), Long.class.getName(), - String.class.getName(), String.class.getName() - }, - BoDocPraticaModelImpl.COMPANYID_COLUMN_BITMASK | - BoDocPraticaModelImpl.GROUPID_COLUMN_BITMASK | - BoDocPraticaModelImpl.TIPOLOGIA_COLUMN_BITMASK | - BoDocPraticaModelImpl.CODFILESUAP_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_C_GROUP_TIPLOGIA_CODFILESUAP = - new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByC_Group_Tiplogia_CodFileSuap", - new String[] { - Long.class.getName(), Long.class.getName(), - String.class.getName(), String.class.getName() - }); - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and tipologia = ? and codFileSuap = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException} if it could not be found. - * - * @param companyId the company ID - * @param groupId the group ID - * @param tipologia the tipologia - * @param codFileSuap the cod file suap - * @return the matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica findByC_Group_Tiplogia_CodFileSuap(long companyId, - long groupId, String tipologia, String codFileSuap) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = fetchByC_Group_Tiplogia_CodFileSuap(companyId, - groupId, tipologia, codFileSuap); - - if (boDocPratica == null) { - StringBundler msg = new StringBundler(10); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(", tipologia="); - msg.append(tipologia); - - msg.append(", codFileSuap="); - msg.append(codFileSuap); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoDocPraticaException(msg.toString()); - } - - return boDocPratica; - } - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and tipologia = ? and codFileSuap = ? or returns null if it could not be found. Uses the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param tipologia the tipologia - * @param codFileSuap the cod file suap - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByC_Group_Tiplogia_CodFileSuap(long companyId, - long groupId, String tipologia, String codFileSuap) - throws SystemException { - return fetchByC_Group_Tiplogia_CodFileSuap(companyId, groupId, - tipologia, codFileSuap, true); - } - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and tipologia = ? and codFileSuap = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param tipologia the tipologia - * @param codFileSuap the cod file suap - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByC_Group_Tiplogia_CodFileSuap(long companyId, - long groupId, String tipologia, String codFileSuap, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { - companyId, groupId, tipologia, codFileSuap - }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_C_GROUP_TIPLOGIA_CODFILESUAP, - finderArgs, this); - } - - if (result instanceof BoDocPratica) { - BoDocPratica boDocPratica = (BoDocPratica)result; - - if ((companyId != boDocPratica.getCompanyId()) || - (groupId != boDocPratica.getGroupId()) || - !Validator.equals(tipologia, boDocPratica.getTipologia()) || - !Validator.equals(codFileSuap, boDocPratica.getCodFileSuap())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(6); - - query.append(_SQL_SELECT_BODOCPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_GROUPID_2); - - boolean bindTipologia = false; - - if (tipologia == null) { - query.append(_FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_TIPOLOGIA_1); - } - else if (tipologia.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_TIPOLOGIA_3); - } - else { - bindTipologia = true; - - query.append(_FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_TIPOLOGIA_2); - } - - boolean bindCodFileSuap = false; - - if (codFileSuap == null) { - query.append(_FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_CODFILESUAP_1); - } - else if (codFileSuap.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_CODFILESUAP_3); - } - else { - bindCodFileSuap = true; - - query.append(_FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_CODFILESUAP_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - if (bindTipologia) { - qPos.add(tipologia); - } - - if (bindCodFileSuap) { - qPos.add(codFileSuap); - } - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_GROUP_TIPLOGIA_CODFILESUAP, - finderArgs, list); - } - else { - if ((list.size() > 1) && _log.isWarnEnabled()) { - _log.warn( - "BoDocPraticaPersistenceImpl.fetchByC_Group_Tiplogia_CodFileSuap(long, long, String, String, boolean) with parameters (" + - StringUtil.merge(finderArgs) + - ") yields a result set with more than 1 result. This violates the logical unique restriction. There is no order guarantee on which result is returned by this finder."); - } - - BoDocPratica boDocPratica = list.get(0); - - result = boDocPratica; - - cacheResult(boDocPratica); - - if ((boDocPratica.getCompanyId() != companyId) || - (boDocPratica.getGroupId() != groupId) || - (boDocPratica.getTipologia() == null) || - !boDocPratica.getTipologia().equals(tipologia) || - (boDocPratica.getCodFileSuap() == null) || - !boDocPratica.getCodFileSuap().equals(codFileSuap)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_GROUP_TIPLOGIA_CODFILESUAP, - finderArgs, boDocPratica); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_GROUP_TIPLOGIA_CODFILESUAP, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoDocPratica)result; - } - } - - /** - * Removes the bo doc pratica where companyId = ? and groupId = ? and tipologia = ? and codFileSuap = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param tipologia the tipologia - * @param codFileSuap the cod file suap - * @return the bo doc pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica removeByC_Group_Tiplogia_CodFileSuap(long companyId, - long groupId, String tipologia, String codFileSuap) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = findByC_Group_Tiplogia_CodFileSuap(companyId, - groupId, tipologia, codFileSuap); - - return remove(boDocPratica); - } - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and tipologia = ? and codFileSuap = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param tipologia the tipologia - * @param codFileSuap the cod file suap - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_Group_Tiplogia_CodFileSuap(long companyId, - long groupId, String tipologia, String codFileSuap) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_C_GROUP_TIPLOGIA_CODFILESUAP; - - Object[] finderArgs = new Object[] { - companyId, groupId, tipologia, codFileSuap - }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(5); - - query.append(_SQL_COUNT_BODOCPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_GROUPID_2); - - boolean bindTipologia = false; - - if (tipologia == null) { - query.append(_FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_TIPOLOGIA_1); - } - else if (tipologia.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_TIPOLOGIA_3); - } - else { - bindTipologia = true; - - query.append(_FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_TIPOLOGIA_2); - } - - boolean bindCodFileSuap = false; - - if (codFileSuap == null) { - query.append(_FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_CODFILESUAP_1); - } - else if (codFileSuap.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_CODFILESUAP_3); - } - else { - bindCodFileSuap = true; - - query.append(_FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_CODFILESUAP_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - if (bindTipologia) { - qPos.add(tipologia); - } - - if (bindCodFileSuap) { - qPos.add(codFileSuap); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_COMPANYID_2 = - "boDocPratica.companyId = ? AND "; - private static final String _FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_GROUPID_2 = - "boDocPratica.groupId = ? AND "; - private static final String _FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_TIPOLOGIA_1 = - "boDocPratica.tipologia IS NULL AND "; - private static final String _FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_TIPOLOGIA_2 = - "boDocPratica.tipologia = ? AND "; - private static final String _FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_TIPOLOGIA_3 = - "(boDocPratica.tipologia IS NULL OR boDocPratica.tipologia = '') AND "; - private static final String _FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_CODFILESUAP_1 = - "boDocPratica.codFileSuap IS NULL"; - private static final String _FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_CODFILESUAP_2 = - "boDocPratica.codFileSuap = ?"; - private static final String _FINDER_COLUMN_C_GROUP_TIPLOGIA_CODFILESUAP_CODFILESUAP_3 = - "(boDocPratica.codFileSuap IS NULL OR boDocPratica.codFileSuap = '')"; - public static final FinderPath FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_VERSION = - new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, BoDocPraticaImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByC_Group_DlFileEntry_Version", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName(), - String.class.getName() - }, - BoDocPraticaModelImpl.COMPANYID_COLUMN_BITMASK | - BoDocPraticaModelImpl.GROUPID_COLUMN_BITMASK | - BoDocPraticaModelImpl.DLFILEENTRYID_COLUMN_BITMASK | - BoDocPraticaModelImpl.VERSION_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_C_GROUP_DLFILEENTRY_VERSION = - new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByC_Group_DlFileEntry_Version", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName(), - String.class.getName() - }); - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and version = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException} if it could not be found. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param version the version - * @return the matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica findByC_Group_DlFileEntry_Version(long companyId, - long groupId, long dlFileEntryId, String version) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = fetchByC_Group_DlFileEntry_Version(companyId, - groupId, dlFileEntryId, version); - - if (boDocPratica == null) { - StringBundler msg = new StringBundler(10); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(", dlFileEntryId="); - msg.append(dlFileEntryId); - - msg.append(", version="); - msg.append(version); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoDocPraticaException(msg.toString()); - } - - return boDocPratica; - } - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and version = ? or returns null if it could not be found. Uses the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param version the version - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByC_Group_DlFileEntry_Version(long companyId, - long groupId, long dlFileEntryId, String version) - throws SystemException { - return fetchByC_Group_DlFileEntry_Version(companyId, groupId, - dlFileEntryId, version, true); - } - - /** - * Returns the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and version = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param version the version - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByC_Group_DlFileEntry_Version(long companyId, - long groupId, long dlFileEntryId, String version, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { - companyId, groupId, dlFileEntryId, version - }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_VERSION, - finderArgs, this); - } - - if (result instanceof BoDocPratica) { - BoDocPratica boDocPratica = (BoDocPratica)result; - - if ((companyId != boDocPratica.getCompanyId()) || - (groupId != boDocPratica.getGroupId()) || - (dlFileEntryId != boDocPratica.getDlFileEntryId()) || - !Validator.equals(version, boDocPratica.getVersion())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(6); - - query.append(_SQL_SELECT_BODOCPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_VERSION_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_VERSION_GROUPID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_VERSION_DLFILEENTRYID_2); - - boolean bindVersion = false; - - if (version == null) { - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_VERSION_VERSION_1); - } - else if (version.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_VERSION_VERSION_3); - } - else { - bindVersion = true; - - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_VERSION_VERSION_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - qPos.add(dlFileEntryId); - - if (bindVersion) { - qPos.add(version); - } - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_VERSION, - finderArgs, list); - } - else { - if ((list.size() > 1) && _log.isWarnEnabled()) { - _log.warn( - "BoDocPraticaPersistenceImpl.fetchByC_Group_DlFileEntry_Version(long, long, long, String, boolean) with parameters (" + - StringUtil.merge(finderArgs) + - ") yields a result set with more than 1 result. This violates the logical unique restriction. There is no order guarantee on which result is returned by this finder."); - } - - BoDocPratica boDocPratica = list.get(0); - - result = boDocPratica; - - cacheResult(boDocPratica); - - if ((boDocPratica.getCompanyId() != companyId) || - (boDocPratica.getGroupId() != groupId) || - (boDocPratica.getDlFileEntryId() != dlFileEntryId) || - (boDocPratica.getVersion() == null) || - !boDocPratica.getVersion().equals(version)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_VERSION, - finderArgs, boDocPratica); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_VERSION, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoDocPratica)result; - } - } - - /** - * Removes the bo doc pratica where companyId = ? and groupId = ? and dlFileEntryId = ? and version = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param version the version - * @return the bo doc pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica removeByC_Group_DlFileEntry_Version(long companyId, - long groupId, long dlFileEntryId, String version) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = findByC_Group_DlFileEntry_Version(companyId, - groupId, dlFileEntryId, version); - - return remove(boDocPratica); - } - - /** - * Returns the number of bo doc praticas where companyId = ? and groupId = ? and dlFileEntryId = ? and version = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dlFileEntryId the dl file entry ID - * @param version the version - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_Group_DlFileEntry_Version(long companyId, long groupId, - long dlFileEntryId, String version) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_C_GROUP_DLFILEENTRY_VERSION; - - Object[] finderArgs = new Object[] { - companyId, groupId, dlFileEntryId, version - }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(5); - - query.append(_SQL_COUNT_BODOCPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_VERSION_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_VERSION_GROUPID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_VERSION_DLFILEENTRYID_2); - - boolean bindVersion = false; - - if (version == null) { - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_VERSION_VERSION_1); - } - else if (version.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_VERSION_VERSION_3); - } - else { - bindVersion = true; - - query.append(_FINDER_COLUMN_C_GROUP_DLFILEENTRY_VERSION_VERSION_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - qPos.add(dlFileEntryId); - - if (bindVersion) { - qPos.add(version); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_C_GROUP_DLFILEENTRY_VERSION_COMPANYID_2 = - "boDocPratica.companyId = ? AND "; - private static final String _FINDER_COLUMN_C_GROUP_DLFILEENTRY_VERSION_GROUPID_2 = - "boDocPratica.groupId = ? AND "; - private static final String _FINDER_COLUMN_C_GROUP_DLFILEENTRY_VERSION_DLFILEENTRYID_2 = - "boDocPratica.dlFileEntryId = ? AND "; - private static final String _FINDER_COLUMN_C_GROUP_DLFILEENTRY_VERSION_VERSION_1 = - "boDocPratica.version IS NULL"; - private static final String _FINDER_COLUMN_C_GROUP_DLFILEENTRY_VERSION_VERSION_2 = - "boDocPratica.version = ?"; - private static final String _FINDER_COLUMN_C_GROUP_DLFILEENTRY_VERSION_VERSION_3 = - "(boDocPratica.version IS NULL OR boDocPratica.version = '')"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICA = - new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, BoDocPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByDettPratica", - new String[] { - Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA = - new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, BoDocPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByDettPratica", - new String[] { Long.class.getName() }, - BoDocPraticaModelImpl.DETTPRATICAID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_DETTPRATICA = new FinderPath(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByDettPratica", - new String[] { Long.class.getName() }); - - /** - * Returns all the bo doc praticas where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica(long dettPraticaId) - throws SystemException { - return findByDettPratica(dettPraticaId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo doc praticas where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica(long dettPraticaId, int start, - int end) throws SystemException { - return findByDettPratica(dettPraticaId, start, end, null); - } - - /** - * Returns an ordered range of all the bo doc praticas where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica(long dettPraticaId, int start, - int end, OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA; - finderArgs = new Object[] { dettPraticaId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICA; - finderArgs = new Object[] { - dettPraticaId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoDocPratica boDocPratica : list) { - if ((dettPraticaId != boDocPratica.getDettPraticaId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BODOCPRATICA_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_DETTPRATICAID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoDocPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo doc pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica findByDettPratica_First(long dettPraticaId, - OrderByComparator orderByComparator) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = fetchByDettPratica_First(dettPraticaId, - orderByComparator); - - if (boDocPratica != null) { - return boDocPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDocPraticaException(msg.toString()); - } - - /** - * Returns the first bo doc pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByDettPratica_First(long dettPraticaId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByDettPratica(dettPraticaId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo doc pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica findByDettPratica_Last(long dettPraticaId, - OrderByComparator orderByComparator) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = fetchByDettPratica_Last(dettPraticaId, - orderByComparator); - - if (boDocPratica != null) { - return boDocPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoDocPraticaException(msg.toString()); - } - - /** - * Returns the last bo doc pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo doc pratica, or null if a matching bo doc pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByDettPratica_Last(long dettPraticaId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByDettPratica(dettPraticaId); - - if (count == 0) { - return null; - } - - List list = findByDettPratica(dettPraticaId, count - 1, - count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo doc praticas before and after the current bo doc pratica in the ordered set where dettPraticaId = ?. - * - * @param docPraticaId the primary key of the current bo doc pratica - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica[] findByDettPratica_PrevAndNext(long docPraticaId, - long dettPraticaId, OrderByComparator orderByComparator) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = findByPrimaryKey(docPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoDocPratica[] array = new BoDocPraticaImpl[3]; - - array[0] = getByDettPratica_PrevAndNext(session, boDocPratica, - dettPraticaId, orderByComparator, true); - - array[1] = boDocPratica; - - array[2] = getByDettPratica_PrevAndNext(session, boDocPratica, - dettPraticaId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoDocPratica getByDettPratica_PrevAndNext(Session session, - BoDocPratica boDocPratica, long dettPraticaId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BODOCPRATICA_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_DETTPRATICAID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoDocPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boDocPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo doc praticas where dettPraticaId = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByDettPratica(long dettPraticaId) - throws SystemException { - for (BoDocPratica boDocPratica : findByDettPratica(dettPraticaId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boDocPratica); - } - } - - /** - * Returns the number of bo doc praticas where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByDettPratica(long dettPraticaId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_DETTPRATICA; - - Object[] finderArgs = new Object[] { dettPraticaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BODOCPRATICA_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_DETTPRATICAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_DETTPRATICA_DETTPRATICAID_2 = "boDocPratica.dettPraticaId = ?"; - - public BoDocPraticaPersistenceImpl() { - setModelClass(BoDocPratica.class); - } - - /** - * Caches the bo doc pratica in the entity cache if it is enabled. - * - * @param boDocPratica the bo doc pratica - */ - @Override - public void cacheResult(BoDocPratica boDocPratica) { - EntityCacheUtil.putResult(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaImpl.class, boDocPratica.getPrimaryKey(), boDocPratica); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - new Object[] { boDocPratica.getUuid(), boDocPratica.getGroupId() }, - boDocPratica); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_CODFILESUAP, - new Object[] { - boDocPratica.getCompanyId(), boDocPratica.getGroupId(), - boDocPratica.getDlFileEntryId(), boDocPratica.getCodFileSuap() - }, boDocPratica); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_GROUP_TIPLOGIA_CODFILESUAP, - new Object[] { - boDocPratica.getCompanyId(), boDocPratica.getGroupId(), - boDocPratica.getTipologia(), boDocPratica.getCodFileSuap() - }, boDocPratica); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_VERSION, - new Object[] { - boDocPratica.getCompanyId(), boDocPratica.getGroupId(), - boDocPratica.getDlFileEntryId(), boDocPratica.getVersion() - }, boDocPratica); - - boDocPratica.resetOriginalValues(); - } - - /** - * Caches the bo doc praticas in the entity cache if it is enabled. - * - * @param boDocPraticas the bo doc praticas - */ - @Override - public void cacheResult(List boDocPraticas) { - for (BoDocPratica boDocPratica : boDocPraticas) { - if (EntityCacheUtil.getResult( - BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaImpl.class, boDocPratica.getPrimaryKey()) == null) { - cacheResult(boDocPratica); - } - else { - boDocPratica.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all bo doc praticas. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(BoDocPraticaImpl.class.getName()); - } - - EntityCacheUtil.clearCache(BoDocPraticaImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the bo doc pratica. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(BoDocPratica boDocPratica) { - EntityCacheUtil.removeResult(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaImpl.class, boDocPratica.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(boDocPratica); - } - - @Override - public void clearCache(List boDocPraticas) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (BoDocPratica boDocPratica : boDocPraticas) { - EntityCacheUtil.removeResult(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaImpl.class, boDocPratica.getPrimaryKey()); - - clearUniqueFindersCache(boDocPratica); - } - } - - protected void cacheUniqueFindersCache(BoDocPratica boDocPratica) { - if (boDocPratica.isNew()) { - Object[] args = new Object[] { - boDocPratica.getUuid(), boDocPratica.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - boDocPratica); - - args = new Object[] { - boDocPratica.getCompanyId(), boDocPratica.getGroupId(), - boDocPratica.getDlFileEntryId(), - boDocPratica.getCodFileSuap() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_C_GROUP_DLFILEENTRY_CODFILESUAP, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_CODFILESUAP, - args, boDocPratica); - - args = new Object[] { - boDocPratica.getCompanyId(), boDocPratica.getGroupId(), - boDocPratica.getTipologia(), boDocPratica.getCodFileSuap() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_C_GROUP_TIPLOGIA_CODFILESUAP, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_GROUP_TIPLOGIA_CODFILESUAP, - args, boDocPratica); - - args = new Object[] { - boDocPratica.getCompanyId(), boDocPratica.getGroupId(), - boDocPratica.getDlFileEntryId(), boDocPratica.getVersion() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_C_GROUP_DLFILEENTRY_VERSION, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_VERSION, - args, boDocPratica); - } - else { - BoDocPraticaModelImpl boDocPraticaModelImpl = (BoDocPraticaModelImpl)boDocPratica; - - if ((boDocPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDocPratica.getUuid(), boDocPratica.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - boDocPratica); - } - - if ((boDocPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_CODFILESUAP.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDocPratica.getCompanyId(), boDocPratica.getGroupId(), - boDocPratica.getDlFileEntryId(), - boDocPratica.getCodFileSuap() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_C_GROUP_DLFILEENTRY_CODFILESUAP, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_CODFILESUAP, - args, boDocPratica); - } - - if ((boDocPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_C_GROUP_TIPLOGIA_CODFILESUAP.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDocPratica.getCompanyId(), boDocPratica.getGroupId(), - boDocPratica.getTipologia(), - boDocPratica.getCodFileSuap() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_C_GROUP_TIPLOGIA_CODFILESUAP, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_GROUP_TIPLOGIA_CODFILESUAP, - args, boDocPratica); - } - - if ((boDocPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_VERSION.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDocPratica.getCompanyId(), boDocPratica.getGroupId(), - boDocPratica.getDlFileEntryId(), - boDocPratica.getVersion() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_C_GROUP_DLFILEENTRY_VERSION, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_VERSION, - args, boDocPratica); - } - } - } - - protected void clearUniqueFindersCache(BoDocPratica boDocPratica) { - BoDocPraticaModelImpl boDocPraticaModelImpl = (BoDocPraticaModelImpl)boDocPratica; - - Object[] args = new Object[] { - boDocPratica.getUuid(), boDocPratica.getGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - - if ((boDocPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - args = new Object[] { - boDocPraticaModelImpl.getOriginalUuid(), - boDocPraticaModelImpl.getOriginalGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - } - - args = new Object[] { - boDocPratica.getCompanyId(), boDocPratica.getGroupId(), - boDocPratica.getDlFileEntryId(), boDocPratica.getCodFileSuap() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_GROUP_DLFILEENTRY_CODFILESUAP, - args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_CODFILESUAP, - args); - - if ((boDocPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_CODFILESUAP.getColumnBitmask()) != 0) { - args = new Object[] { - boDocPraticaModelImpl.getOriginalCompanyId(), - boDocPraticaModelImpl.getOriginalGroupId(), - boDocPraticaModelImpl.getOriginalDlFileEntryId(), - boDocPraticaModelImpl.getOriginalCodFileSuap() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_GROUP_DLFILEENTRY_CODFILESUAP, - args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_CODFILESUAP, - args); - } - - args = new Object[] { - boDocPratica.getCompanyId(), boDocPratica.getGroupId(), - boDocPratica.getTipologia(), boDocPratica.getCodFileSuap() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_GROUP_TIPLOGIA_CODFILESUAP, - args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_GROUP_TIPLOGIA_CODFILESUAP, - args); - - if ((boDocPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_C_GROUP_TIPLOGIA_CODFILESUAP.getColumnBitmask()) != 0) { - args = new Object[] { - boDocPraticaModelImpl.getOriginalCompanyId(), - boDocPraticaModelImpl.getOriginalGroupId(), - boDocPraticaModelImpl.getOriginalTipologia(), - boDocPraticaModelImpl.getOriginalCodFileSuap() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_GROUP_TIPLOGIA_CODFILESUAP, - args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_GROUP_TIPLOGIA_CODFILESUAP, - args); - } - - args = new Object[] { - boDocPratica.getCompanyId(), boDocPratica.getGroupId(), - boDocPratica.getDlFileEntryId(), boDocPratica.getVersion() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_GROUP_DLFILEENTRY_VERSION, - args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_VERSION, - args); - - if ((boDocPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_VERSION.getColumnBitmask()) != 0) { - args = new Object[] { - boDocPraticaModelImpl.getOriginalCompanyId(), - boDocPraticaModelImpl.getOriginalGroupId(), - boDocPraticaModelImpl.getOriginalDlFileEntryId(), - boDocPraticaModelImpl.getOriginalVersion() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_GROUP_DLFILEENTRY_VERSION, - args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_GROUP_DLFILEENTRY_VERSION, - args); - } - } - - /** - * Creates a new bo doc pratica with the primary key. Does not add the bo doc pratica to the database. - * - * @param docPraticaId the primary key for the new bo doc pratica - * @return the new bo doc pratica - */ - @Override - public BoDocPratica create(long docPraticaId) { - BoDocPratica boDocPratica = new BoDocPraticaImpl(); - - boDocPratica.setNew(true); - boDocPratica.setPrimaryKey(docPraticaId); - - String uuid = PortalUUIDUtil.generate(); - - boDocPratica.setUuid(uuid); - - return boDocPratica; - } - - /** - * Removes the bo doc pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param docPraticaId the primary key of the bo doc pratica - * @return the bo doc pratica that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica remove(long docPraticaId) - throws NoSuchBoDocPraticaException, SystemException { - return remove((Serializable)docPraticaId); - } - - /** - * Removes the bo doc pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the bo doc pratica - * @return the bo doc pratica that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica remove(Serializable primaryKey) - throws NoSuchBoDocPraticaException, SystemException { - Session session = null; - - try { - session = openSession(); - - BoDocPratica boDocPratica = (BoDocPratica)session.get(BoDocPraticaImpl.class, - primaryKey); - - if (boDocPratica == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoDocPraticaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(boDocPratica); - } - catch (NoSuchBoDocPraticaException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected BoDocPratica removeImpl(BoDocPratica boDocPratica) - throws SystemException { - boDocPratica = toUnwrappedModel(boDocPratica); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(boDocPratica)) { - boDocPratica = (BoDocPratica)session.get(BoDocPraticaImpl.class, - boDocPratica.getPrimaryKeyObj()); - } - - if (boDocPratica != null) { - session.delete(boDocPratica); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (boDocPratica != null) { - clearCache(boDocPratica); - } - - return boDocPratica; - } - - @Override - public BoDocPratica updateImpl( - it.tref.liferay.portos.portosimport.model.BoDocPratica boDocPratica) - throws SystemException { - boDocPratica = toUnwrappedModel(boDocPratica); - - boolean isNew = boDocPratica.isNew(); - - BoDocPraticaModelImpl boDocPraticaModelImpl = (BoDocPraticaModelImpl)boDocPratica; - - if (Validator.isNull(boDocPratica.getUuid())) { - String uuid = PortalUUIDUtil.generate(); - - boDocPratica.setUuid(uuid); - } - - Session session = null; - - try { - session = openSession(); - - if (boDocPratica.isNew()) { - session.save(boDocPratica); - - boDocPratica.setNew(false); - } - else { - session.merge(boDocPratica); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !BoDocPraticaModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((boDocPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDocPraticaModelImpl.getOriginalUuid() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - - args = new Object[] { boDocPraticaModelImpl.getUuid() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - } - - if ((boDocPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDocPraticaModelImpl.getOriginalUuid(), - boDocPraticaModelImpl.getOriginalCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - - args = new Object[] { - boDocPraticaModelImpl.getUuid(), - boDocPraticaModelImpl.getCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - } - - if ((boDocPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDocPraticaModelImpl.getOriginalCompanyId(), - boDocPraticaModelImpl.getOriginalGroupId(), - boDocPraticaModelImpl.getOriginalDettPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_GROUP_DETTPRATICA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA, - args); - - args = new Object[] { - boDocPraticaModelImpl.getCompanyId(), - boDocPraticaModelImpl.getGroupId(), - boDocPraticaModelImpl.getDettPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_GROUP_DETTPRATICA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA, - args); - } - - if ((boDocPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA_TIPOLOGIA.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDocPraticaModelImpl.getOriginalCompanyId(), - boDocPraticaModelImpl.getOriginalGroupId(), - boDocPraticaModelImpl.getOriginalDettPraticaId(), - boDocPraticaModelImpl.getOriginalTipologia() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_GROUP_DETTPRATICA_TIPOLOGIA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA_TIPOLOGIA, - args); - - args = new Object[] { - boDocPraticaModelImpl.getCompanyId(), - boDocPraticaModelImpl.getGroupId(), - boDocPraticaModelImpl.getDettPraticaId(), - boDocPraticaModelImpl.getTipologia() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_GROUP_DETTPRATICA_TIPOLOGIA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA_TIPOLOGIA, - args); - } - - if ((boDocPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boDocPraticaModelImpl.getOriginalDettPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA, - args); - - args = new Object[] { boDocPraticaModelImpl.getDettPraticaId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA, - args); - } - } - - EntityCacheUtil.putResult(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaImpl.class, boDocPratica.getPrimaryKey(), boDocPratica); - - clearUniqueFindersCache(boDocPratica); - cacheUniqueFindersCache(boDocPratica); - - return boDocPratica; - } - - protected BoDocPratica toUnwrappedModel(BoDocPratica boDocPratica) { - if (boDocPratica instanceof BoDocPraticaImpl) { - return boDocPratica; - } - - BoDocPraticaImpl boDocPraticaImpl = new BoDocPraticaImpl(); - - boDocPraticaImpl.setNew(boDocPratica.isNew()); - boDocPraticaImpl.setPrimaryKey(boDocPratica.getPrimaryKey()); - - boDocPraticaImpl.setUuid(boDocPratica.getUuid()); - boDocPraticaImpl.setDocPraticaId(boDocPratica.getDocPraticaId()); - boDocPraticaImpl.setCompanyId(boDocPratica.getCompanyId()); - boDocPraticaImpl.setUserId(boDocPratica.getUserId()); - boDocPraticaImpl.setUserName(boDocPratica.getUserName()); - boDocPraticaImpl.setCreateDate(boDocPratica.getCreateDate()); - boDocPraticaImpl.setModifiedDate(boDocPratica.getModifiedDate()); - boDocPraticaImpl.setGroupId(boDocPratica.getGroupId()); - boDocPraticaImpl.setDettPraticaId(boDocPratica.getDettPraticaId()); - boDocPraticaImpl.setDlFileEntryId(boDocPratica.getDlFileEntryId()); - boDocPraticaImpl.setVersion(boDocPratica.getVersion()); - boDocPraticaImpl.setPraticaValidata(boDocPratica.isPraticaValidata()); - boDocPraticaImpl.setDescLong(boDocPratica.getDescLong()); - boDocPraticaImpl.setCodFileSuap(boDocPratica.getCodFileSuap()); - boDocPraticaImpl.setTipologia(boDocPratica.getTipologia()); - boDocPraticaImpl.setMd5(boDocPratica.getMd5()); - boDocPraticaImpl.setAggiornato(boDocPratica.isAggiornato()); - boDocPraticaImpl.setJsonFirmatari(boDocPratica.getJsonFirmatari()); - boDocPraticaImpl.setDaxId(boDocPratica.getDaxId()); - boDocPraticaImpl.setDtInvioDax(boDocPratica.getDtInvioDax()); - boDocPraticaImpl.setErroreDax(boDocPratica.getErroreDax()); - boDocPraticaImpl.setDtErroreDax(boDocPratica.getDtErroreDax()); - - return boDocPraticaImpl; - } - - /** - * Returns the bo doc pratica with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the bo doc pratica - * @return the bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica findByPrimaryKey(Serializable primaryKey) - throws NoSuchBoDocPraticaException, SystemException { - BoDocPratica boDocPratica = fetchByPrimaryKey(primaryKey); - - if (boDocPratica == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoDocPraticaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return boDocPratica; - } - - /** - * Returns the bo doc pratica with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException} if it could not be found. - * - * @param docPraticaId the primary key of the bo doc pratica - * @return the bo doc pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoDocPraticaException if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica findByPrimaryKey(long docPraticaId) - throws NoSuchBoDocPraticaException, SystemException { - return findByPrimaryKey((Serializable)docPraticaId); - } - - /** - * Returns the bo doc pratica with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the bo doc pratica - * @return the bo doc pratica, or null if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - BoDocPratica boDocPratica = (BoDocPratica)EntityCacheUtil.getResult(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaImpl.class, primaryKey); - - if (boDocPratica == _nullBoDocPratica) { - return null; - } - - if (boDocPratica == null) { - Session session = null; - - try { - session = openSession(); - - boDocPratica = (BoDocPratica)session.get(BoDocPraticaImpl.class, - primaryKey); - - if (boDocPratica != null) { - cacheResult(boDocPratica); - } - else { - EntityCacheUtil.putResult(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaImpl.class, primaryKey, _nullBoDocPratica); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(BoDocPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoDocPraticaImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return boDocPratica; - } - - /** - * Returns the bo doc pratica with the primary key or returns null if it could not be found. - * - * @param docPraticaId the primary key of the bo doc pratica - * @return the bo doc pratica, or null if a bo doc pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoDocPratica fetchByPrimaryKey(long docPraticaId) - throws SystemException { - return fetchByPrimaryKey((Serializable)docPraticaId); - } - - /** - * Returns all the bo doc praticas. - * - * @return the bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo doc praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @return the range of bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the bo doc praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoDocPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo doc praticas - * @param end the upper bound of the range of bo doc praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_BODOCPRATICA); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_BODOCPRATICA; - - if (pagination) { - sql = sql.concat(BoDocPraticaModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the bo doc praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (BoDocPratica boDocPratica : findAll()) { - remove(boDocPratica); - } - } - - /** - * Returns the number of bo doc praticas. - * - * @return the number of bo doc praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_BODOCPRATICA); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - @Override - protected Set getBadColumnNames() { - return _badColumnNames; - } - - /** - * Initializes the bo doc pratica persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.portosimport.model.BoDocPratica"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(BoDocPraticaImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_BODOCPRATICA = "SELECT boDocPratica FROM BoDocPratica boDocPratica"; - private static final String _SQL_SELECT_BODOCPRATICA_WHERE = "SELECT boDocPratica FROM BoDocPratica boDocPratica WHERE "; - private static final String _SQL_COUNT_BODOCPRATICA = "SELECT COUNT(boDocPratica) FROM BoDocPratica boDocPratica"; - private static final String _SQL_COUNT_BODOCPRATICA_WHERE = "SELECT COUNT(boDocPratica) FROM BoDocPratica boDocPratica WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "boDocPratica."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No BoDocPratica exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No BoDocPratica exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(BoDocPraticaPersistenceImpl.class); - private static Set _badColumnNames = SetUtil.fromArray(new String[] { - "uuid" - }); - private static BoDocPratica _nullBoDocPratica = new BoDocPraticaImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullBoDocPraticaCacheModel; - } - }; - - private static CacheModel _nullBoDocPraticaCacheModel = new CacheModel() { - @Override - public BoDocPratica toEntityModel() { - return _nullBoDocPratica; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoIntPraticaPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoIntPraticaPersistenceImpl.java deleted file mode 100644 index 9047ffae..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoIntPraticaPersistenceImpl.java +++ /dev/null @@ -1,4911 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.SetUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.kernel.uuid.PortalUUIDUtil; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException; -import it.tref.liferay.portos.portosimport.model.BoIntPratica; -import it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaImpl; -import it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Set; - -/** - * The persistence implementation for the bo int pratica service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoIntPraticaPersistence - * @see BoIntPraticaUtil - * @generated - */ -public class BoIntPraticaPersistenceImpl extends BasePersistenceImpl - implements BoIntPraticaPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link BoIntPraticaUtil} to access the bo int pratica persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = BoIntPraticaImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, BoIntPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, BoIntPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID = new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, BoIntPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByUuid", - new String[] { - String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID = new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, BoIntPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByUuid", - new String[] { String.class.getName() }, - BoIntPraticaModelImpl.UUID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID = new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid", - new String[] { String.class.getName() }); - - /** - * Returns all the bo int praticas where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid) throws SystemException { - return findByUuid(uuid, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo int praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end) - throws SystemException { - return findByUuid(uuid, start, end, null); - } - - /** - * Returns an ordered range of all the bo int praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoIntPratica boIntPratica : list) { - if (!Validator.equals(uuid, boIntPratica.getUuid())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOINTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoIntPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica findByUuid_First(String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = fetchByUuid_First(uuid, orderByComparator); - - if (boIntPratica != null) { - return boIntPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoIntPraticaException(msg.toString()); - } - - /** - * Returns the first bo int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchByUuid_First(String uuid, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid(uuid, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica findByUuid_Last(String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = fetchByUuid_Last(uuid, orderByComparator); - - if (boIntPratica != null) { - return boIntPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoIntPraticaException(msg.toString()); - } - - /** - * Returns the last bo int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchByUuid_Last(String uuid, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid(uuid); - - if (count == 0) { - return null; - } - - List list = findByUuid(uuid, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo int praticas before and after the current bo int pratica in the ordered set where uuid = ?. - * - * @param intPraticaId the primary key of the current bo int pratica - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica[] findByUuid_PrevAndNext(long intPraticaId, - String uuid, OrderByComparator orderByComparator) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = findByPrimaryKey(intPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoIntPratica[] array = new BoIntPraticaImpl[3]; - - array[0] = getByUuid_PrevAndNext(session, boIntPratica, uuid, - orderByComparator, true); - - array[1] = boIntPratica; - - array[2] = getByUuid_PrevAndNext(session, boIntPratica, uuid, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoIntPratica getByUuid_PrevAndNext(Session session, - BoIntPratica boIntPratica, String uuid, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOINTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoIntPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boIntPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo int praticas where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid(String uuid) throws SystemException { - for (BoIntPratica boIntPratica : findByUuid(uuid, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(boIntPratica); - } - } - - /** - * Returns the number of bo int praticas where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid(String uuid) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID; - - Object[] finderArgs = new Object[] { uuid }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BOINTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_UUID_1 = "boIntPratica.uuid IS NULL"; - private static final String _FINDER_COLUMN_UUID_UUID_2 = "boIntPratica.uuid = ?"; - private static final String _FINDER_COLUMN_UUID_UUID_3 = "(boIntPratica.uuid IS NULL OR boIntPratica.uuid = '')"; - public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G = new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, BoIntPraticaImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }, - BoIntPraticaModelImpl.UUID_COLUMN_BITMASK | - BoIntPraticaModelImpl.GROUPID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G = new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns the bo int pratica where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica findByUUID_G(String uuid, long groupId) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = fetchByUUID_G(uuid, groupId); - - if (boIntPratica == null) { - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoIntPraticaException(msg.toString()); - } - - return boIntPratica; - } - - /** - * Returns the bo int pratica where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchByUUID_G(String uuid, long groupId) - throws SystemException { - return fetchByUUID_G(uuid, groupId, true); - } - - /** - * Returns the bo int pratica where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchByUUID_G(String uuid, long groupId, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { uuid, groupId }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, this); - } - - if (result instanceof BoIntPratica) { - BoIntPratica boIntPratica = (BoIntPratica)result; - - if (!Validator.equals(uuid, boIntPratica.getUuid()) || - (groupId != boIntPratica.getGroupId())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_SELECT_BOINTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, list); - } - else { - BoIntPratica boIntPratica = list.get(0); - - result = boIntPratica; - - cacheResult(boIntPratica); - - if ((boIntPratica.getUuid() == null) || - !boIntPratica.getUuid().equals(uuid) || - (boIntPratica.getGroupId() != groupId)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, boIntPratica); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoIntPratica)result; - } - } - - /** - * Removes the bo int pratica where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo int pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica removeByUUID_G(String uuid, long groupId) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = findByUUID_G(uuid, groupId); - - return remove(boIntPratica); - } - - /** - * Returns the number of bo int praticas where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUUID_G(String uuid, long groupId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_G; - - Object[] finderArgs = new Object[] { uuid, groupId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOINTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_G_UUID_1 = "boIntPratica.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_2 = "boIntPratica.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_3 = "(boIntPratica.uuid IS NULL OR boIntPratica.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_G_GROUPID_2 = "boIntPratica.groupId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C = new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, BoIntPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByUuid_C", - new String[] { - String.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C = - new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, BoIntPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }, - BoIntPraticaModelImpl.UUID_COLUMN_BITMASK | - BoIntPraticaModelImpl.COMPANYID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C = new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns all the bo int praticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId) - throws SystemException { - return findByUuid_C(uuid, companyId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo int praticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, - int start, int end) throws SystemException { - return findByUuid_C(uuid, companyId, start, end, null); - } - - /** - * Returns an ordered range of all the bo int praticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { uuid, companyId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { - uuid, companyId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoIntPratica boIntPratica : list) { - if (!Validator.equals(uuid, boIntPratica.getUuid()) || - (companyId != boIntPratica.getCompanyId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_BOINTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoIntPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo int pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica findByUuid_C_First(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = fetchByUuid_C_First(uuid, companyId, - orderByComparator); - - if (boIntPratica != null) { - return boIntPratica; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoIntPraticaException(msg.toString()); - } - - /** - * Returns the first bo int pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchByUuid_C_First(String uuid, long companyId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid_C(uuid, companyId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo int pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica findByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = fetchByUuid_C_Last(uuid, companyId, - orderByComparator); - - if (boIntPratica != null) { - return boIntPratica; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoIntPraticaException(msg.toString()); - } - - /** - * Returns the last bo int pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid_C(uuid, companyId); - - if (count == 0) { - return null; - } - - List list = findByUuid_C(uuid, companyId, count - 1, - count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo int praticas before and after the current bo int pratica in the ordered set where uuid = ? and companyId = ?. - * - * @param intPraticaId the primary key of the current bo int pratica - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica[] findByUuid_C_PrevAndNext(long intPraticaId, - String uuid, long companyId, OrderByComparator orderByComparator) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = findByPrimaryKey(intPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoIntPratica[] array = new BoIntPraticaImpl[3]; - - array[0] = getByUuid_C_PrevAndNext(session, boIntPratica, uuid, - companyId, orderByComparator, true); - - array[1] = boIntPratica; - - array[2] = getByUuid_C_PrevAndNext(session, boIntPratica, uuid, - companyId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoIntPratica getByUuid_C_PrevAndNext(Session session, - BoIntPratica boIntPratica, String uuid, long companyId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOINTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoIntPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boIntPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo int praticas where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid_C(String uuid, long companyId) - throws SystemException { - for (BoIntPratica boIntPratica : findByUuid_C(uuid, companyId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boIntPratica); - } - } - - /** - * Returns the number of bo int praticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid_C(String uuid, long companyId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_C; - - Object[] finderArgs = new Object[] { uuid, companyId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOINTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_C_UUID_1 = "boIntPratica.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_2 = "boIntPratica.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_3 = "(boIntPratica.uuid IS NULL OR boIntPratica.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_C_COMPANYID_2 = "boIntPratica.companyId = ?"; - public static final FinderPath FINDER_PATH_FETCH_BY_INTPRATICAID = new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, BoIntPraticaImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByIntPraticaId", - new String[] { Long.class.getName() }, - BoIntPraticaModelImpl.TERRITORIOID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_INTPRATICAID = new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByIntPraticaId", - new String[] { Long.class.getName() }); - - /** - * Returns the bo int pratica where territorioId = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException} if it could not be found. - * - * @param territorioId the territorio ID - * @return the matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica findByIntPraticaId(long territorioId) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = fetchByIntPraticaId(territorioId); - - if (boIntPratica == null) { - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("territorioId="); - msg.append(territorioId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoIntPraticaException(msg.toString()); - } - - return boIntPratica; - } - - /** - * Returns the bo int pratica where territorioId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param territorioId the territorio ID - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchByIntPraticaId(long territorioId) - throws SystemException { - return fetchByIntPraticaId(territorioId, true); - } - - /** - * Returns the bo int pratica where territorioId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param territorioId the territorio ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchByIntPraticaId(long territorioId, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { territorioId }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_INTPRATICAID, - finderArgs, this); - } - - if (result instanceof BoIntPratica) { - BoIntPratica boIntPratica = (BoIntPratica)result; - - if ((territorioId != boIntPratica.getTerritorioId())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_SELECT_BOINTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_TERRITORIOID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(territorioId); - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_INTPRATICAID, - finderArgs, list); - } - else { - BoIntPratica boIntPratica = list.get(0); - - result = boIntPratica; - - cacheResult(boIntPratica); - - if ((boIntPratica.getTerritorioId() != territorioId)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_INTPRATICAID, - finderArgs, boIntPratica); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_INTPRATICAID, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoIntPratica)result; - } - } - - /** - * Removes the bo int pratica where territorioId = ? from the database. - * - * @param territorioId the territorio ID - * @return the bo int pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica removeByIntPraticaId(long territorioId) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = findByIntPraticaId(territorioId); - - return remove(boIntPratica); - } - - /** - * Returns the number of bo int praticas where territorioId = ?. - * - * @param territorioId the territorio ID - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByIntPraticaId(long territorioId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_INTPRATICAID; - - Object[] finderArgs = new Object[] { territorioId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BOINTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_TERRITORIOID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(territorioId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_INTPRATICAID_TERRITORIOID_2 = "boIntPratica.territorioId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_TERRITORIOID = - new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, BoIntPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByTerritorioId", - new String[] { - Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TERRITORIOID = - new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, BoIntPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByTerritorioId", - new String[] { Long.class.getName() }, - BoIntPraticaModelImpl.TERRITORIOID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_TERRITORIOID = new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByTerritorioId", - new String[] { Long.class.getName() }); - - /** - * Returns all the bo int praticas where territorioId = ?. - * - * @param territorioId the territorio ID - * @return the matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByTerritorioId(long territorioId) - throws SystemException { - return findByTerritorioId(territorioId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo int praticas where territorioId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param territorioId the territorio ID - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByTerritorioId(long territorioId, int start, - int end) throws SystemException { - return findByTerritorioId(territorioId, start, end, null); - } - - /** - * Returns an ordered range of all the bo int praticas where territorioId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param territorioId the territorio ID - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByTerritorioId(long territorioId, int start, - int end, OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TERRITORIOID; - finderArgs = new Object[] { territorioId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_TERRITORIOID; - finderArgs = new Object[] { - territorioId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoIntPratica boIntPratica : list) { - if ((territorioId != boIntPratica.getTerritorioId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOINTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_TERRITORIOID_TERRITORIOID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoIntPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(territorioId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo int pratica in the ordered set where territorioId = ?. - * - * @param territorioId the territorio ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica findByTerritorioId_First(long territorioId, - OrderByComparator orderByComparator) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = fetchByTerritorioId_First(territorioId, - orderByComparator); - - if (boIntPratica != null) { - return boIntPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("territorioId="); - msg.append(territorioId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoIntPraticaException(msg.toString()); - } - - /** - * Returns the first bo int pratica in the ordered set where territorioId = ?. - * - * @param territorioId the territorio ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchByTerritorioId_First(long territorioId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByTerritorioId(territorioId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo int pratica in the ordered set where territorioId = ?. - * - * @param territorioId the territorio ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica findByTerritorioId_Last(long territorioId, - OrderByComparator orderByComparator) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = fetchByTerritorioId_Last(territorioId, - orderByComparator); - - if (boIntPratica != null) { - return boIntPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("territorioId="); - msg.append(territorioId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoIntPraticaException(msg.toString()); - } - - /** - * Returns the last bo int pratica in the ordered set where territorioId = ?. - * - * @param territorioId the territorio ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchByTerritorioId_Last(long territorioId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByTerritorioId(territorioId); - - if (count == 0) { - return null; - } - - List list = findByTerritorioId(territorioId, count - 1, - count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo int praticas before and after the current bo int pratica in the ordered set where territorioId = ?. - * - * @param intPraticaId the primary key of the current bo int pratica - * @param territorioId the territorio ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica[] findByTerritorioId_PrevAndNext(long intPraticaId, - long territorioId, OrderByComparator orderByComparator) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = findByPrimaryKey(intPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoIntPratica[] array = new BoIntPraticaImpl[3]; - - array[0] = getByTerritorioId_PrevAndNext(session, boIntPratica, - territorioId, orderByComparator, true); - - array[1] = boIntPratica; - - array[2] = getByTerritorioId_PrevAndNext(session, boIntPratica, - territorioId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoIntPratica getByTerritorioId_PrevAndNext(Session session, - BoIntPratica boIntPratica, long territorioId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOINTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_TERRITORIOID_TERRITORIOID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoIntPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(territorioId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boIntPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo int praticas where territorioId = ? from the database. - * - * @param territorioId the territorio ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByTerritorioId(long territorioId) - throws SystemException { - for (BoIntPratica boIntPratica : findByTerritorioId(territorioId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boIntPratica); - } - } - - /** - * Returns the number of bo int praticas where territorioId = ?. - * - * @param territorioId the territorio ID - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByTerritorioId(long territorioId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_TERRITORIOID; - - Object[] finderArgs = new Object[] { territorioId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BOINTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_TERRITORIOID_TERRITORIOID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(territorioId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_TERRITORIOID_TERRITORIOID_2 = "boIntPratica.territorioId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_GROUP = new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, BoIntPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByC_Group", - new String[] { - Long.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP = - new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, BoIntPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByC_Group", - new String[] { Long.class.getName(), Long.class.getName() }, - BoIntPraticaModelImpl.COMPANYID_COLUMN_BITMASK | - BoIntPraticaModelImpl.GROUPID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_C_GROUP = new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByC_Group", - new String[] { Long.class.getName(), Long.class.getName() }); - - /** - * Returns all the bo int praticas where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @return the matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group(long companyId, long groupId) - throws SystemException { - return findByC_Group(companyId, groupId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo int praticas where companyId = ? and groupId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group(long companyId, long groupId, - int start, int end) throws SystemException { - return findByC_Group(companyId, groupId, start, end, null); - } - - /** - * Returns an ordered range of all the bo int praticas where companyId = ? and groupId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group(long companyId, long groupId, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP; - finderArgs = new Object[] { companyId, groupId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_C_GROUP; - finderArgs = new Object[] { - companyId, groupId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoIntPratica boIntPratica : list) { - if ((companyId != boIntPratica.getCompanyId()) || - (groupId != boIntPratica.getGroupId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_BOINTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_GROUPID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoIntPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo int pratica in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica findByC_Group_First(long companyId, long groupId, - OrderByComparator orderByComparator) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = fetchByC_Group_First(companyId, groupId, - orderByComparator); - - if (boIntPratica != null) { - return boIntPratica; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoIntPraticaException(msg.toString()); - } - - /** - * Returns the first bo int pratica in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchByC_Group_First(long companyId, long groupId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByC_Group(companyId, groupId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo int pratica in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica findByC_Group_Last(long companyId, long groupId, - OrderByComparator orderByComparator) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = fetchByC_Group_Last(companyId, groupId, - orderByComparator); - - if (boIntPratica != null) { - return boIntPratica; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoIntPraticaException(msg.toString()); - } - - /** - * Returns the last bo int pratica in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchByC_Group_Last(long companyId, long groupId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByC_Group(companyId, groupId); - - if (count == 0) { - return null; - } - - List list = findByC_Group(companyId, groupId, count - 1, - count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo int praticas before and after the current bo int pratica in the ordered set where companyId = ? and groupId = ?. - * - * @param intPraticaId the primary key of the current bo int pratica - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica[] findByC_Group_PrevAndNext(long intPraticaId, - long companyId, long groupId, OrderByComparator orderByComparator) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = findByPrimaryKey(intPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoIntPratica[] array = new BoIntPraticaImpl[3]; - - array[0] = getByC_Group_PrevAndNext(session, boIntPratica, - companyId, groupId, orderByComparator, true); - - array[1] = boIntPratica; - - array[2] = getByC_Group_PrevAndNext(session, boIntPratica, - companyId, groupId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoIntPratica getByC_Group_PrevAndNext(Session session, - BoIntPratica boIntPratica, long companyId, long groupId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOINTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_GROUPID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoIntPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boIntPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo int praticas where companyId = ? and groupId = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByC_Group(long companyId, long groupId) - throws SystemException { - for (BoIntPratica boIntPratica : findByC_Group(companyId, groupId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boIntPratica); - } - } - - /** - * Returns the number of bo int praticas where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_Group(long companyId, long groupId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_C_GROUP; - - Object[] finderArgs = new Object[] { companyId, groupId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOINTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_C_GROUP_COMPANYID_2 = "boIntPratica.companyId = ? AND "; - private static final String _FINDER_COLUMN_C_GROUP_GROUPID_2 = "boIntPratica.groupId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_PRATICA_DA_VARIARE = - new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, BoIntPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByPratica_da_variare", - new String[] { - Long.class.getName(), Boolean.class.getName(), - String.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PRATICA_DA_VARIARE = - new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, BoIntPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByPratica_da_variare", - new String[] { - Long.class.getName(), Boolean.class.getName(), - String.class.getName(), Long.class.getName() - }, - BoIntPraticaModelImpl.TERRITORIOID_COLUMN_BITMASK | - BoIntPraticaModelImpl.VALIDATA_COLUMN_BITMASK | - BoIntPraticaModelImpl.NUMEROPROGETTO_COLUMN_BITMASK | - BoIntPraticaModelImpl.VARIATADA_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_PRATICA_DA_VARIARE = new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByPratica_da_variare", - new String[] { - Long.class.getName(), Boolean.class.getName(), - String.class.getName(), Long.class.getName() - }); - - /** - * Returns all the bo int praticas where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @return the matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByPratica_da_variare(long territorioId, - boolean validata, String numeroProgetto, long variataDa) - throws SystemException { - return findByPratica_da_variare(territorioId, validata, numeroProgetto, - variataDa, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo int praticas where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByPratica_da_variare(long territorioId, - boolean validata, String numeroProgetto, long variataDa, int start, - int end) throws SystemException { - return findByPratica_da_variare(territorioId, validata, numeroProgetto, - variataDa, start, end, null); - } - - /** - * Returns an ordered range of all the bo int praticas where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByPratica_da_variare(long territorioId, - boolean validata, String numeroProgetto, long variataDa, int start, - int end, OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PRATICA_DA_VARIARE; - finderArgs = new Object[] { - territorioId, validata, numeroProgetto, variataDa - }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_PRATICA_DA_VARIARE; - finderArgs = new Object[] { - territorioId, validata, numeroProgetto, variataDa, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoIntPratica boIntPratica : list) { - if ((territorioId != boIntPratica.getTerritorioId()) || - (validata != boIntPratica.getValidata()) || - !Validator.equals(numeroProgetto, - boIntPratica.getNumeroProgetto()) || - (variataDa != boIntPratica.getVariataDa())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(6); - } - - query.append(_SQL_SELECT_BOINTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_PRATICA_DA_VARIARE_TERRITORIOID_2); - - query.append(_FINDER_COLUMN_PRATICA_DA_VARIARE_VALIDATA_2); - - boolean bindNumeroProgetto = false; - - if (numeroProgetto == null) { - query.append(_FINDER_COLUMN_PRATICA_DA_VARIARE_NUMEROPROGETTO_1); - } - else if (numeroProgetto.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_PRATICA_DA_VARIARE_NUMEROPROGETTO_3); - } - else { - bindNumeroProgetto = true; - - query.append(_FINDER_COLUMN_PRATICA_DA_VARIARE_NUMEROPROGETTO_2); - } - - query.append(_FINDER_COLUMN_PRATICA_DA_VARIARE_VARIATADA_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoIntPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(territorioId); - - qPos.add(validata); - - if (bindNumeroProgetto) { - qPos.add(numeroProgetto); - } - - qPos.add(variataDa); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo int pratica in the ordered set where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica findByPratica_da_variare_First(long territorioId, - boolean validata, String numeroProgetto, long variataDa, - OrderByComparator orderByComparator) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = fetchByPratica_da_variare_First(territorioId, - validata, numeroProgetto, variataDa, orderByComparator); - - if (boIntPratica != null) { - return boIntPratica; - } - - StringBundler msg = new StringBundler(10); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("territorioId="); - msg.append(territorioId); - - msg.append(", validata="); - msg.append(validata); - - msg.append(", numeroProgetto="); - msg.append(numeroProgetto); - - msg.append(", variataDa="); - msg.append(variataDa); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoIntPraticaException(msg.toString()); - } - - /** - * Returns the first bo int pratica in the ordered set where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchByPratica_da_variare_First(long territorioId, - boolean validata, String numeroProgetto, long variataDa, - OrderByComparator orderByComparator) throws SystemException { - List list = findByPratica_da_variare(territorioId, - validata, numeroProgetto, variataDa, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo int pratica in the ordered set where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica findByPratica_da_variare_Last(long territorioId, - boolean validata, String numeroProgetto, long variataDa, - OrderByComparator orderByComparator) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = fetchByPratica_da_variare_Last(territorioId, - validata, numeroProgetto, variataDa, orderByComparator); - - if (boIntPratica != null) { - return boIntPratica; - } - - StringBundler msg = new StringBundler(10); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("territorioId="); - msg.append(territorioId); - - msg.append(", validata="); - msg.append(validata); - - msg.append(", numeroProgetto="); - msg.append(numeroProgetto); - - msg.append(", variataDa="); - msg.append(variataDa); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoIntPraticaException(msg.toString()); - } - - /** - * Returns the last bo int pratica in the ordered set where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchByPratica_da_variare_Last(long territorioId, - boolean validata, String numeroProgetto, long variataDa, - OrderByComparator orderByComparator) throws SystemException { - int count = countByPratica_da_variare(territorioId, validata, - numeroProgetto, variataDa); - - if (count == 0) { - return null; - } - - List list = findByPratica_da_variare(territorioId, - validata, numeroProgetto, variataDa, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo int praticas before and after the current bo int pratica in the ordered set where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param intPraticaId the primary key of the current bo int pratica - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica[] findByPratica_da_variare_PrevAndNext( - long intPraticaId, long territorioId, boolean validata, - String numeroProgetto, long variataDa, - OrderByComparator orderByComparator) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = findByPrimaryKey(intPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoIntPratica[] array = new BoIntPraticaImpl[3]; - - array[0] = getByPratica_da_variare_PrevAndNext(session, - boIntPratica, territorioId, validata, numeroProgetto, - variataDa, orderByComparator, true); - - array[1] = boIntPratica; - - array[2] = getByPratica_da_variare_PrevAndNext(session, - boIntPratica, territorioId, validata, numeroProgetto, - variataDa, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoIntPratica getByPratica_da_variare_PrevAndNext( - Session session, BoIntPratica boIntPratica, long territorioId, - boolean validata, String numeroProgetto, long variataDa, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOINTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_PRATICA_DA_VARIARE_TERRITORIOID_2); - - query.append(_FINDER_COLUMN_PRATICA_DA_VARIARE_VALIDATA_2); - - boolean bindNumeroProgetto = false; - - if (numeroProgetto == null) { - query.append(_FINDER_COLUMN_PRATICA_DA_VARIARE_NUMEROPROGETTO_1); - } - else if (numeroProgetto.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_PRATICA_DA_VARIARE_NUMEROPROGETTO_3); - } - else { - bindNumeroProgetto = true; - - query.append(_FINDER_COLUMN_PRATICA_DA_VARIARE_NUMEROPROGETTO_2); - } - - query.append(_FINDER_COLUMN_PRATICA_DA_VARIARE_VARIATADA_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoIntPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(territorioId); - - qPos.add(validata); - - if (bindNumeroProgetto) { - qPos.add(numeroProgetto); - } - - qPos.add(variataDa); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boIntPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo int praticas where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ? from the database. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByPratica_da_variare(long territorioId, boolean validata, - String numeroProgetto, long variataDa) throws SystemException { - for (BoIntPratica boIntPratica : findByPratica_da_variare( - territorioId, validata, numeroProgetto, variataDa, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boIntPratica); - } - } - - /** - * Returns the number of bo int praticas where territorioId = ? and validata = ? and numeroProgetto = ? and variataDa = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param numeroProgetto the numero progetto - * @param variataDa the variata da - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByPratica_da_variare(long territorioId, boolean validata, - String numeroProgetto, long variataDa) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_PRATICA_DA_VARIARE; - - Object[] finderArgs = new Object[] { - territorioId, validata, numeroProgetto, variataDa - }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(5); - - query.append(_SQL_COUNT_BOINTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_PRATICA_DA_VARIARE_TERRITORIOID_2); - - query.append(_FINDER_COLUMN_PRATICA_DA_VARIARE_VALIDATA_2); - - boolean bindNumeroProgetto = false; - - if (numeroProgetto == null) { - query.append(_FINDER_COLUMN_PRATICA_DA_VARIARE_NUMEROPROGETTO_1); - } - else if (numeroProgetto.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_PRATICA_DA_VARIARE_NUMEROPROGETTO_3); - } - else { - bindNumeroProgetto = true; - - query.append(_FINDER_COLUMN_PRATICA_DA_VARIARE_NUMEROPROGETTO_2); - } - - query.append(_FINDER_COLUMN_PRATICA_DA_VARIARE_VARIATADA_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(territorioId); - - qPos.add(validata); - - if (bindNumeroProgetto) { - qPos.add(numeroProgetto); - } - - qPos.add(variataDa); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_PRATICA_DA_VARIARE_TERRITORIOID_2 = - "boIntPratica.territorioId = ? AND "; - private static final String _FINDER_COLUMN_PRATICA_DA_VARIARE_VALIDATA_2 = "boIntPratica.validata = ? AND "; - private static final String _FINDER_COLUMN_PRATICA_DA_VARIARE_NUMEROPROGETTO_1 = - "boIntPratica.numeroProgetto IS NULL AND "; - private static final String _FINDER_COLUMN_PRATICA_DA_VARIARE_NUMEROPROGETTO_2 = - "boIntPratica.numeroProgetto = ? AND "; - private static final String _FINDER_COLUMN_PRATICA_DA_VARIARE_NUMEROPROGETTO_3 = - "(boIntPratica.numeroProgetto IS NULL OR boIntPratica.numeroProgetto = '') AND "; - private static final String _FINDER_COLUMN_PRATICA_DA_VARIARE_VARIATADA_2 = "boIntPratica.variataDa = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_TERRITORIO_PROGETTO_VARIANTE_VALIDATA = - new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, BoIntPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByTerritorio_Progetto_Variante_Validata", - new String[] { - Long.class.getName(), Boolean.class.getName(), - Long.class.getName(), String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TERRITORIO_PROGETTO_VARIANTE_VALIDATA = - new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, BoIntPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByTerritorio_Progetto_Variante_Validata", - new String[] { - Long.class.getName(), Boolean.class.getName(), - Long.class.getName(), String.class.getName() - }, - BoIntPraticaModelImpl.TERRITORIOID_COLUMN_BITMASK | - BoIntPraticaModelImpl.VALIDATA_COLUMN_BITMASK | - BoIntPraticaModelImpl.VARIANTENUMERO_COLUMN_BITMASK | - BoIntPraticaModelImpl.NUMEROPROGETTO_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_TERRITORIO_PROGETTO_VARIANTE_VALIDATA = - new FinderPath(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByTerritorio_Progetto_Variante_Validata", - new String[] { - Long.class.getName(), Boolean.class.getName(), - Long.class.getName(), String.class.getName() - }); - - /** - * Returns all the bo int praticas where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @return the matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByTerritorio_Progetto_Variante_Validata( - long territorioId, boolean validata, long varianteNumero, - String numeroProgetto) throws SystemException { - return findByTerritorio_Progetto_Variante_Validata(territorioId, - validata, varianteNumero, numeroProgetto, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo int praticas where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByTerritorio_Progetto_Variante_Validata( - long territorioId, boolean validata, long varianteNumero, - String numeroProgetto, int start, int end) throws SystemException { - return findByTerritorio_Progetto_Variante_Validata(territorioId, - validata, varianteNumero, numeroProgetto, start, end, null); - } - - /** - * Returns an ordered range of all the bo int praticas where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByTerritorio_Progetto_Variante_Validata( - long territorioId, boolean validata, long varianteNumero, - String numeroProgetto, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TERRITORIO_PROGETTO_VARIANTE_VALIDATA; - finderArgs = new Object[] { - territorioId, validata, varianteNumero, numeroProgetto - }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_TERRITORIO_PROGETTO_VARIANTE_VALIDATA; - finderArgs = new Object[] { - territorioId, validata, varianteNumero, numeroProgetto, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoIntPratica boIntPratica : list) { - if ((territorioId != boIntPratica.getTerritorioId()) || - (validata != boIntPratica.getValidata()) || - (varianteNumero != boIntPratica.getVarianteNumero()) || - !Validator.equals(numeroProgetto, - boIntPratica.getNumeroProgetto())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(6); - } - - query.append(_SQL_SELECT_BOINTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_TERRITORIOID_2); - - query.append(_FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_VALIDATA_2); - - query.append(_FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_VARIANTENUMERO_2); - - boolean bindNumeroProgetto = false; - - if (numeroProgetto == null) { - query.append(_FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_NUMEROPROGETTO_1); - } - else if (numeroProgetto.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_NUMEROPROGETTO_3); - } - else { - bindNumeroProgetto = true; - - query.append(_FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_NUMEROPROGETTO_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoIntPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(territorioId); - - qPos.add(validata); - - qPos.add(varianteNumero); - - if (bindNumeroProgetto) { - qPos.add(numeroProgetto); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo int pratica in the ordered set where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica findByTerritorio_Progetto_Variante_Validata_First( - long territorioId, boolean validata, long varianteNumero, - String numeroProgetto, OrderByComparator orderByComparator) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = fetchByTerritorio_Progetto_Variante_Validata_First(territorioId, - validata, varianteNumero, numeroProgetto, orderByComparator); - - if (boIntPratica != null) { - return boIntPratica; - } - - StringBundler msg = new StringBundler(10); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("territorioId="); - msg.append(territorioId); - - msg.append(", validata="); - msg.append(validata); - - msg.append(", varianteNumero="); - msg.append(varianteNumero); - - msg.append(", numeroProgetto="); - msg.append(numeroProgetto); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoIntPraticaException(msg.toString()); - } - - /** - * Returns the first bo int pratica in the ordered set where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchByTerritorio_Progetto_Variante_Validata_First( - long territorioId, boolean validata, long varianteNumero, - String numeroProgetto, OrderByComparator orderByComparator) - throws SystemException { - List list = findByTerritorio_Progetto_Variante_Validata(territorioId, - validata, varianteNumero, numeroProgetto, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo int pratica in the ordered set where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica findByTerritorio_Progetto_Variante_Validata_Last( - long territorioId, boolean validata, long varianteNumero, - String numeroProgetto, OrderByComparator orderByComparator) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = fetchByTerritorio_Progetto_Variante_Validata_Last(territorioId, - validata, varianteNumero, numeroProgetto, orderByComparator); - - if (boIntPratica != null) { - return boIntPratica; - } - - StringBundler msg = new StringBundler(10); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("territorioId="); - msg.append(territorioId); - - msg.append(", validata="); - msg.append(validata); - - msg.append(", varianteNumero="); - msg.append(varianteNumero); - - msg.append(", numeroProgetto="); - msg.append(numeroProgetto); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoIntPraticaException(msg.toString()); - } - - /** - * Returns the last bo int pratica in the ordered set where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo int pratica, or null if a matching bo int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchByTerritorio_Progetto_Variante_Validata_Last( - long territorioId, boolean validata, long varianteNumero, - String numeroProgetto, OrderByComparator orderByComparator) - throws SystemException { - int count = countByTerritorio_Progetto_Variante_Validata(territorioId, - validata, varianteNumero, numeroProgetto); - - if (count == 0) { - return null; - } - - List list = findByTerritorio_Progetto_Variante_Validata(territorioId, - validata, varianteNumero, numeroProgetto, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo int praticas before and after the current bo int pratica in the ordered set where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param intPraticaId the primary key of the current bo int pratica - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica[] findByTerritorio_Progetto_Variante_Validata_PrevAndNext( - long intPraticaId, long territorioId, boolean validata, - long varianteNumero, String numeroProgetto, - OrderByComparator orderByComparator) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = findByPrimaryKey(intPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoIntPratica[] array = new BoIntPraticaImpl[3]; - - array[0] = getByTerritorio_Progetto_Variante_Validata_PrevAndNext(session, - boIntPratica, territorioId, validata, varianteNumero, - numeroProgetto, orderByComparator, true); - - array[1] = boIntPratica; - - array[2] = getByTerritorio_Progetto_Variante_Validata_PrevAndNext(session, - boIntPratica, territorioId, validata, varianteNumero, - numeroProgetto, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoIntPratica getByTerritorio_Progetto_Variante_Validata_PrevAndNext( - Session session, BoIntPratica boIntPratica, long territorioId, - boolean validata, long varianteNumero, String numeroProgetto, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOINTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_TERRITORIOID_2); - - query.append(_FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_VALIDATA_2); - - query.append(_FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_VARIANTENUMERO_2); - - boolean bindNumeroProgetto = false; - - if (numeroProgetto == null) { - query.append(_FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_NUMEROPROGETTO_1); - } - else if (numeroProgetto.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_NUMEROPROGETTO_3); - } - else { - bindNumeroProgetto = true; - - query.append(_FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_NUMEROPROGETTO_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoIntPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(territorioId); - - qPos.add(validata); - - qPos.add(varianteNumero); - - if (bindNumeroProgetto) { - qPos.add(numeroProgetto); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boIntPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo int praticas where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ? from the database. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByTerritorio_Progetto_Variante_Validata( - long territorioId, boolean validata, long varianteNumero, - String numeroProgetto) throws SystemException { - for (BoIntPratica boIntPratica : findByTerritorio_Progetto_Variante_Validata( - territorioId, validata, varianteNumero, numeroProgetto, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boIntPratica); - } - } - - /** - * Returns the number of bo int praticas where territorioId = ? and validata = ? and varianteNumero = ? and numeroProgetto = ?. - * - * @param territorioId the territorio ID - * @param validata the validata - * @param varianteNumero the variante numero - * @param numeroProgetto the numero progetto - * @return the number of matching bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByTerritorio_Progetto_Variante_Validata(long territorioId, - boolean validata, long varianteNumero, String numeroProgetto) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_TERRITORIO_PROGETTO_VARIANTE_VALIDATA; - - Object[] finderArgs = new Object[] { - territorioId, validata, varianteNumero, numeroProgetto - }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(5); - - query.append(_SQL_COUNT_BOINTPRATICA_WHERE); - - query.append(_FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_TERRITORIOID_2); - - query.append(_FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_VALIDATA_2); - - query.append(_FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_VARIANTENUMERO_2); - - boolean bindNumeroProgetto = false; - - if (numeroProgetto == null) { - query.append(_FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_NUMEROPROGETTO_1); - } - else if (numeroProgetto.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_NUMEROPROGETTO_3); - } - else { - bindNumeroProgetto = true; - - query.append(_FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_NUMEROPROGETTO_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(territorioId); - - qPos.add(validata); - - qPos.add(varianteNumero); - - if (bindNumeroProgetto) { - qPos.add(numeroProgetto); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_TERRITORIOID_2 = - "boIntPratica.territorioId = ? AND "; - private static final String _FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_VALIDATA_2 = - "boIntPratica.validata = ? AND "; - private static final String _FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_VARIANTENUMERO_2 = - "boIntPratica.varianteNumero = ? AND "; - private static final String _FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_NUMEROPROGETTO_1 = - "boIntPratica.numeroProgetto IS NULL"; - private static final String _FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_NUMEROPROGETTO_2 = - "boIntPratica.numeroProgetto = ?"; - private static final String _FINDER_COLUMN_TERRITORIO_PROGETTO_VARIANTE_VALIDATA_NUMEROPROGETTO_3 = - "(boIntPratica.numeroProgetto IS NULL OR boIntPratica.numeroProgetto = '')"; - - public BoIntPraticaPersistenceImpl() { - setModelClass(BoIntPratica.class); - } - - /** - * Caches the bo int pratica in the entity cache if it is enabled. - * - * @param boIntPratica the bo int pratica - */ - @Override - public void cacheResult(BoIntPratica boIntPratica) { - EntityCacheUtil.putResult(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaImpl.class, boIntPratica.getPrimaryKey(), boIntPratica); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - new Object[] { boIntPratica.getUuid(), boIntPratica.getGroupId() }, - boIntPratica); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_INTPRATICAID, - new Object[] { boIntPratica.getTerritorioId() }, boIntPratica); - - boIntPratica.resetOriginalValues(); - } - - /** - * Caches the bo int praticas in the entity cache if it is enabled. - * - * @param boIntPraticas the bo int praticas - */ - @Override - public void cacheResult(List boIntPraticas) { - for (BoIntPratica boIntPratica : boIntPraticas) { - if (EntityCacheUtil.getResult( - BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaImpl.class, boIntPratica.getPrimaryKey()) == null) { - cacheResult(boIntPratica); - } - else { - boIntPratica.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all bo int praticas. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(BoIntPraticaImpl.class.getName()); - } - - EntityCacheUtil.clearCache(BoIntPraticaImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the bo int pratica. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(BoIntPratica boIntPratica) { - EntityCacheUtil.removeResult(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaImpl.class, boIntPratica.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(boIntPratica); - } - - @Override - public void clearCache(List boIntPraticas) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (BoIntPratica boIntPratica : boIntPraticas) { - EntityCacheUtil.removeResult(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaImpl.class, boIntPratica.getPrimaryKey()); - - clearUniqueFindersCache(boIntPratica); - } - } - - protected void cacheUniqueFindersCache(BoIntPratica boIntPratica) { - if (boIntPratica.isNew()) { - Object[] args = new Object[] { - boIntPratica.getUuid(), boIntPratica.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - boIntPratica); - - args = new Object[] { boIntPratica.getTerritorioId() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_INTPRATICAID, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_INTPRATICAID, args, - boIntPratica); - } - else { - BoIntPraticaModelImpl boIntPraticaModelImpl = (BoIntPraticaModelImpl)boIntPratica; - - if ((boIntPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boIntPratica.getUuid(), boIntPratica.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - boIntPratica); - } - - if ((boIntPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_INTPRATICAID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { boIntPratica.getTerritorioId() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_INTPRATICAID, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_INTPRATICAID, - args, boIntPratica); - } - } - } - - protected void clearUniqueFindersCache(BoIntPratica boIntPratica) { - BoIntPraticaModelImpl boIntPraticaModelImpl = (BoIntPraticaModelImpl)boIntPratica; - - Object[] args = new Object[] { - boIntPratica.getUuid(), boIntPratica.getGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - - if ((boIntPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - args = new Object[] { - boIntPraticaModelImpl.getOriginalUuid(), - boIntPraticaModelImpl.getOriginalGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - } - - args = new Object[] { boIntPratica.getTerritorioId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_INTPRATICAID, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_INTPRATICAID, args); - - if ((boIntPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_INTPRATICAID.getColumnBitmask()) != 0) { - args = new Object[] { boIntPraticaModelImpl.getOriginalTerritorioId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_INTPRATICAID, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_INTPRATICAID, args); - } - } - - /** - * Creates a new bo int pratica with the primary key. Does not add the bo int pratica to the database. - * - * @param intPraticaId the primary key for the new bo int pratica - * @return the new bo int pratica - */ - @Override - public BoIntPratica create(long intPraticaId) { - BoIntPratica boIntPratica = new BoIntPraticaImpl(); - - boIntPratica.setNew(true); - boIntPratica.setPrimaryKey(intPraticaId); - - String uuid = PortalUUIDUtil.generate(); - - boIntPratica.setUuid(uuid); - - return boIntPratica; - } - - /** - * Removes the bo int pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param intPraticaId the primary key of the bo int pratica - * @return the bo int pratica that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica remove(long intPraticaId) - throws NoSuchBoIntPraticaException, SystemException { - return remove((Serializable)intPraticaId); - } - - /** - * Removes the bo int pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the bo int pratica - * @return the bo int pratica that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica remove(Serializable primaryKey) - throws NoSuchBoIntPraticaException, SystemException { - Session session = null; - - try { - session = openSession(); - - BoIntPratica boIntPratica = (BoIntPratica)session.get(BoIntPraticaImpl.class, - primaryKey); - - if (boIntPratica == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoIntPraticaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(boIntPratica); - } - catch (NoSuchBoIntPraticaException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected BoIntPratica removeImpl(BoIntPratica boIntPratica) - throws SystemException { - boIntPratica = toUnwrappedModel(boIntPratica); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(boIntPratica)) { - boIntPratica = (BoIntPratica)session.get(BoIntPraticaImpl.class, - boIntPratica.getPrimaryKeyObj()); - } - - if (boIntPratica != null) { - session.delete(boIntPratica); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (boIntPratica != null) { - clearCache(boIntPratica); - } - - return boIntPratica; - } - - @Override - public BoIntPratica updateImpl( - it.tref.liferay.portos.portosimport.model.BoIntPratica boIntPratica) - throws SystemException { - boIntPratica = toUnwrappedModel(boIntPratica); - - boolean isNew = boIntPratica.isNew(); - - BoIntPraticaModelImpl boIntPraticaModelImpl = (BoIntPraticaModelImpl)boIntPratica; - - if (Validator.isNull(boIntPratica.getUuid())) { - String uuid = PortalUUIDUtil.generate(); - - boIntPratica.setUuid(uuid); - } - - Session session = null; - - try { - session = openSession(); - - if (boIntPratica.isNew()) { - session.save(boIntPratica); - - boIntPratica.setNew(false); - } - else { - session.merge(boIntPratica); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !BoIntPraticaModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((boIntPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boIntPraticaModelImpl.getOriginalUuid() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - - args = new Object[] { boIntPraticaModelImpl.getUuid() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - } - - if ((boIntPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boIntPraticaModelImpl.getOriginalUuid(), - boIntPraticaModelImpl.getOriginalCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - - args = new Object[] { - boIntPraticaModelImpl.getUuid(), - boIntPraticaModelImpl.getCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - } - - if ((boIntPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TERRITORIOID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boIntPraticaModelImpl.getOriginalTerritorioId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_TERRITORIOID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TERRITORIOID, - args); - - args = new Object[] { boIntPraticaModelImpl.getTerritorioId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_TERRITORIOID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TERRITORIOID, - args); - } - - if ((boIntPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boIntPraticaModelImpl.getOriginalCompanyId(), - boIntPraticaModelImpl.getOriginalGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_GROUP, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP, - args); - - args = new Object[] { - boIntPraticaModelImpl.getCompanyId(), - boIntPraticaModelImpl.getGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_GROUP, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP, - args); - } - - if ((boIntPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PRATICA_DA_VARIARE.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boIntPraticaModelImpl.getOriginalTerritorioId(), - boIntPraticaModelImpl.getOriginalValidata(), - boIntPraticaModelImpl.getOriginalNumeroProgetto(), - boIntPraticaModelImpl.getOriginalVariataDa() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_PRATICA_DA_VARIARE, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PRATICA_DA_VARIARE, - args); - - args = new Object[] { - boIntPraticaModelImpl.getTerritorioId(), - boIntPraticaModelImpl.getValidata(), - boIntPraticaModelImpl.getNumeroProgetto(), - boIntPraticaModelImpl.getVariataDa() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_PRATICA_DA_VARIARE, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PRATICA_DA_VARIARE, - args); - } - - if ((boIntPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TERRITORIO_PROGETTO_VARIANTE_VALIDATA.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boIntPraticaModelImpl.getOriginalTerritorioId(), - boIntPraticaModelImpl.getOriginalValidata(), - boIntPraticaModelImpl.getOriginalVarianteNumero(), - boIntPraticaModelImpl.getOriginalNumeroProgetto() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_TERRITORIO_PROGETTO_VARIANTE_VALIDATA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TERRITORIO_PROGETTO_VARIANTE_VALIDATA, - args); - - args = new Object[] { - boIntPraticaModelImpl.getTerritorioId(), - boIntPraticaModelImpl.getValidata(), - boIntPraticaModelImpl.getVarianteNumero(), - boIntPraticaModelImpl.getNumeroProgetto() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_TERRITORIO_PROGETTO_VARIANTE_VALIDATA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TERRITORIO_PROGETTO_VARIANTE_VALIDATA, - args); - } - } - - EntityCacheUtil.putResult(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaImpl.class, boIntPratica.getPrimaryKey(), boIntPratica); - - clearUniqueFindersCache(boIntPratica); - cacheUniqueFindersCache(boIntPratica); - - return boIntPratica; - } - - protected BoIntPratica toUnwrappedModel(BoIntPratica boIntPratica) { - if (boIntPratica instanceof BoIntPraticaImpl) { - return boIntPratica; - } - - BoIntPraticaImpl boIntPraticaImpl = new BoIntPraticaImpl(); - - boIntPraticaImpl.setNew(boIntPratica.isNew()); - boIntPraticaImpl.setPrimaryKey(boIntPratica.getPrimaryKey()); - - boIntPraticaImpl.setUuid(boIntPratica.getUuid()); - boIntPraticaImpl.setIntPraticaId(boIntPratica.getIntPraticaId()); - boIntPraticaImpl.setCompanyId(boIntPratica.getCompanyId()); - boIntPraticaImpl.setUserId(boIntPratica.getUserId()); - boIntPraticaImpl.setUserName(boIntPratica.getUserName()); - boIntPraticaImpl.setCreateDate(boIntPratica.getCreateDate()); - boIntPraticaImpl.setModifiedDate(boIntPratica.getModifiedDate()); - boIntPraticaImpl.setGroupId(boIntPratica.getGroupId()); - boIntPraticaImpl.setTipoPraticaId(boIntPratica.getTipoPraticaId()); - boIntPraticaImpl.setTerritorioId(boIntPratica.getTerritorioId()); - boIntPraticaImpl.setDestinazione(boIntPratica.getDestinazione()); - boIntPraticaImpl.setTipologiaSistemaCostruttivo(boIntPratica.getTipologiaSistemaCostruttivo()); - boIntPraticaImpl.setAg(boIntPratica.getAg()); - boIntPraticaImpl.setDescLongIntervento(boIntPratica.getDescLongIntervento()); - boIntPraticaImpl.setVia(boIntPratica.getVia()); - boIntPraticaImpl.setLocalita(boIntPratica.getLocalita()); - boIntPraticaImpl.setEstremiCatastali(boIntPratica.getEstremiCatastali()); - boIntPraticaImpl.setEstremiPratCom(boIntPratica.getEstremiPratCom()); - boIntPraticaImpl.setDtSorteggio(boIntPratica.getDtSorteggio()); - boIntPraticaImpl.setStatoPratica(boIntPratica.getStatoPratica()); - boIntPraticaImpl.setNumeroProgetto(boIntPratica.getNumeroProgetto()); - boIntPraticaImpl.setValidata(boIntPratica.isValidata()); - boIntPraticaImpl.setVariataDa(boIntPratica.getVariataDa()); - boIntPraticaImpl.setVarianteNumero(boIntPratica.getVarianteNumero()); - boIntPraticaImpl.setVarianteSostanziale(boIntPratica.isVarianteSostanziale()); - boIntPraticaImpl.setOperaConforme(boIntPratica.isOperaConforme()); - boIntPraticaImpl.setTipoPraticaIdSanatoria(boIntPratica.getTipoPraticaIdSanatoria()); - boIntPraticaImpl.setStatus(boIntPratica.getStatus()); - boIntPraticaImpl.setStatusByUserId(boIntPratica.getStatusByUserId()); - boIntPraticaImpl.setStatusDate(boIntPratica.getStatusDate()); - boIntPraticaImpl.setStatoPraticaWorkflow(boIntPratica.getStatoPraticaWorkflow()); - boIntPraticaImpl.setEsitoControllo(boIntPratica.getEsitoControllo()); - boIntPraticaImpl.setCollaudoStatico(boIntPratica.isCollaudoStatico()); - boIntPraticaImpl.setCollaudoStaticoAgtSanatoria(boIntPratica.isCollaudoStaticoAgtSanatoria()); - boIntPraticaImpl.setCodiceFiscaleDelegato(boIntPratica.getCodiceFiscaleDelegato()); - boIntPraticaImpl.setCodiceRuoloDelegato(boIntPratica.getCodiceRuoloDelegato()); - boIntPraticaImpl.setLavoriInEconomiaCommittente(boIntPratica.isLavoriInEconomiaCommittente()); - boIntPraticaImpl.setNomeUtenteSuap(boIntPratica.getNomeUtenteSuap()); - boIntPraticaImpl.setCognomeUtenteSuap(boIntPratica.getCognomeUtenteSuap()); - boIntPraticaImpl.setCodiceFiscaleUtenteSuap(boIntPratica.getCodiceFiscaleUtenteSuap()); - boIntPraticaImpl.setInizioLavoriContestualeOpera(boIntPratica.isInizioLavoriContestualeOpera()); - boIntPraticaImpl.setDataInizioLavoriOpera(boIntPratica.getDataInizioLavoriOpera()); - boIntPraticaImpl.setDataInizioEsecuzioneOpera(boIntPratica.getDataInizioEsecuzioneOpera()); - boIntPraticaImpl.setDataFineEsecuzioneOpera(boIntPratica.getDataFineEsecuzioneOpera()); - boIntPraticaImpl.setMetratura(boIntPratica.getMetratura()); - boIntPraticaImpl.setLavoriPubblici(boIntPratica.isLavoriPubblici()); - boIntPraticaImpl.setDtPratica(boIntPratica.getDtPratica()); - - return boIntPraticaImpl; - } - - /** - * Returns the bo int pratica with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the bo int pratica - * @return the bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica findByPrimaryKey(Serializable primaryKey) - throws NoSuchBoIntPraticaException, SystemException { - BoIntPratica boIntPratica = fetchByPrimaryKey(primaryKey); - - if (boIntPratica == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoIntPraticaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return boIntPratica; - } - - /** - * Returns the bo int pratica with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException} if it could not be found. - * - * @param intPraticaId the primary key of the bo int pratica - * @return the bo int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoIntPraticaException if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica findByPrimaryKey(long intPraticaId) - throws NoSuchBoIntPraticaException, SystemException { - return findByPrimaryKey((Serializable)intPraticaId); - } - - /** - * Returns the bo int pratica with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the bo int pratica - * @return the bo int pratica, or null if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - BoIntPratica boIntPratica = (BoIntPratica)EntityCacheUtil.getResult(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaImpl.class, primaryKey); - - if (boIntPratica == _nullBoIntPratica) { - return null; - } - - if (boIntPratica == null) { - Session session = null; - - try { - session = openSession(); - - boIntPratica = (BoIntPratica)session.get(BoIntPraticaImpl.class, - primaryKey); - - if (boIntPratica != null) { - cacheResult(boIntPratica); - } - else { - EntityCacheUtil.putResult(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaImpl.class, primaryKey, _nullBoIntPratica); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(BoIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoIntPraticaImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return boIntPratica; - } - - /** - * Returns the bo int pratica with the primary key or returns null if it could not be found. - * - * @param intPraticaId the primary key of the bo int pratica - * @return the bo int pratica, or null if a bo int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoIntPratica fetchByPrimaryKey(long intPraticaId) - throws SystemException { - return fetchByPrimaryKey((Serializable)intPraticaId); - } - - /** - * Returns all the bo int praticas. - * - * @return the bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @return the range of bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the bo int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo int praticas - * @param end the upper bound of the range of bo int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_BOINTPRATICA); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_BOINTPRATICA; - - if (pagination) { - sql = sql.concat(BoIntPraticaModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the bo int praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (BoIntPratica boIntPratica : findAll()) { - remove(boIntPratica); - } - } - - /** - * Returns the number of bo int praticas. - * - * @return the number of bo int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_BOINTPRATICA); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - @Override - protected Set getBadColumnNames() { - return _badColumnNames; - } - - /** - * Initializes the bo int pratica persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.portosimport.model.BoIntPratica"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(BoIntPraticaImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_BOINTPRATICA = "SELECT boIntPratica FROM BoIntPratica boIntPratica"; - private static final String _SQL_SELECT_BOINTPRATICA_WHERE = "SELECT boIntPratica FROM BoIntPratica boIntPratica WHERE "; - private static final String _SQL_COUNT_BOINTPRATICA = "SELECT COUNT(boIntPratica) FROM BoIntPratica boIntPratica"; - private static final String _SQL_COUNT_BOINTPRATICA_WHERE = "SELECT COUNT(boIntPratica) FROM BoIntPratica boIntPratica WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "boIntPratica."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No BoIntPratica exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No BoIntPratica exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(BoIntPraticaPersistenceImpl.class); - private static Set _badColumnNames = SetUtil.fromArray(new String[] { - "uuid" - }); - private static BoIntPratica _nullBoIntPratica = new BoIntPraticaImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullBoIntPraticaCacheModel; - } - }; - - private static CacheModel _nullBoIntPraticaCacheModel = new CacheModel() { - @Override - public BoIntPratica toEntityModel() { - return _nullBoIntPratica; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoProblemiPraticaPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoProblemiPraticaPersistenceImpl.java deleted file mode 100644 index 6b511c90..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoProblemiPraticaPersistenceImpl.java +++ /dev/null @@ -1,1809 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException; -import it.tref.liferay.portos.portosimport.model.BoProblemiPratica; -import it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaImpl; -import it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaModelImpl; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -/** - * The persistence implementation for the bo problemi pratica service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoProblemiPraticaPersistence - * @see BoProblemiPraticaUtil - * @generated - */ -public class BoProblemiPraticaPersistenceImpl extends BasePersistenceImpl - implements BoProblemiPraticaPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link BoProblemiPraticaUtil} to access the bo problemi pratica persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = BoProblemiPraticaImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(BoProblemiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoProblemiPraticaModelImpl.FINDER_CACHE_ENABLED, - BoProblemiPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(BoProblemiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoProblemiPraticaModelImpl.FINDER_CACHE_ENABLED, - BoProblemiPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(BoProblemiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoProblemiPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA = - new FinderPath(BoProblemiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoProblemiPraticaModelImpl.FINDER_CACHE_ENABLED, - BoProblemiPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByC_Group_DettPratica", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA = - new FinderPath(BoProblemiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoProblemiPraticaModelImpl.FINDER_CACHE_ENABLED, - BoProblemiPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByC_Group_DettPratica", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName() - }, - BoProblemiPraticaModelImpl.COMPANYID_COLUMN_BITMASK | - BoProblemiPraticaModelImpl.GROUPID_COLUMN_BITMASK | - BoProblemiPraticaModelImpl.DETTPRATICAID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_C_GROUP_DETTPRATICA = new FinderPath(BoProblemiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoProblemiPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByC_Group_DettPratica", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName() - }); - - /** - * Returns all the bo problemi praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @return the matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group_DettPratica(long companyId, - long groupId, long dettPraticaId) throws SystemException { - return findByC_Group_DettPratica(companyId, groupId, dettPraticaId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo problemi praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @return the range of matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group_DettPratica(long companyId, - long groupId, long dettPraticaId, int start, int end) - throws SystemException { - return findByC_Group_DettPratica(companyId, groupId, dettPraticaId, - start, end, null); - } - - /** - * Returns an ordered range of all the bo problemi praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group_DettPratica(long companyId, - long groupId, long dettPraticaId, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA; - finderArgs = new Object[] { companyId, groupId, dettPraticaId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA; - finderArgs = new Object[] { - companyId, groupId, dettPraticaId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoProblemiPratica boProblemiPratica : list) { - if ((companyId != boProblemiPratica.getCompanyId()) || - (groupId != boProblemiPratica.getGroupId()) || - (dettPraticaId != boProblemiPratica.getDettPraticaId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(5 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(5); - } - - query.append(_SQL_SELECT_BOPROBLEMIPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_GROUPID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_DETTPRATICAID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoProblemiPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - qPos.add(dettPraticaId); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo problemi pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo problemi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoProblemiPratica findByC_Group_DettPratica_First(long companyId, - long groupId, long dettPraticaId, OrderByComparator orderByComparator) - throws NoSuchBoProblemiPraticaException, SystemException { - BoProblemiPratica boProblemiPratica = fetchByC_Group_DettPratica_First(companyId, - groupId, dettPraticaId, orderByComparator); - - if (boProblemiPratica != null) { - return boProblemiPratica; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(", dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoProblemiPraticaException(msg.toString()); - } - - /** - * Returns the first bo problemi pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo problemi pratica, or null if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoProblemiPratica fetchByC_Group_DettPratica_First(long companyId, - long groupId, long dettPraticaId, OrderByComparator orderByComparator) - throws SystemException { - List list = findByC_Group_DettPratica(companyId, - groupId, dettPraticaId, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo problemi pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo problemi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoProblemiPratica findByC_Group_DettPratica_Last(long companyId, - long groupId, long dettPraticaId, OrderByComparator orderByComparator) - throws NoSuchBoProblemiPraticaException, SystemException { - BoProblemiPratica boProblemiPratica = fetchByC_Group_DettPratica_Last(companyId, - groupId, dettPraticaId, orderByComparator); - - if (boProblemiPratica != null) { - return boProblemiPratica; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(", dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoProblemiPraticaException(msg.toString()); - } - - /** - * Returns the last bo problemi pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo problemi pratica, or null if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoProblemiPratica fetchByC_Group_DettPratica_Last(long companyId, - long groupId, long dettPraticaId, OrderByComparator orderByComparator) - throws SystemException { - int count = countByC_Group_DettPratica(companyId, groupId, dettPraticaId); - - if (count == 0) { - return null; - } - - List list = findByC_Group_DettPratica(companyId, - groupId, dettPraticaId, count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo problemi praticas before and after the current bo problemi pratica in the ordered set where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param problemiPraticaId the primary key of the current bo problemi pratica - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo problemi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoProblemiPratica[] findByC_Group_DettPratica_PrevAndNext( - long problemiPraticaId, long companyId, long groupId, - long dettPraticaId, OrderByComparator orderByComparator) - throws NoSuchBoProblemiPraticaException, SystemException { - BoProblemiPratica boProblemiPratica = findByPrimaryKey(problemiPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoProblemiPratica[] array = new BoProblemiPraticaImpl[3]; - - array[0] = getByC_Group_DettPratica_PrevAndNext(session, - boProblemiPratica, companyId, groupId, dettPraticaId, - orderByComparator, true); - - array[1] = boProblemiPratica; - - array[2] = getByC_Group_DettPratica_PrevAndNext(session, - boProblemiPratica, companyId, groupId, dettPraticaId, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoProblemiPratica getByC_Group_DettPratica_PrevAndNext( - Session session, BoProblemiPratica boProblemiPratica, long companyId, - long groupId, long dettPraticaId, OrderByComparator orderByComparator, - boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOPROBLEMIPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_GROUPID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_DETTPRATICAID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoProblemiPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - qPos.add(dettPraticaId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boProblemiPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo problemi praticas where companyId = ? and groupId = ? and dettPraticaId = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByC_Group_DettPratica(long companyId, long groupId, - long dettPraticaId) throws SystemException { - for (BoProblemiPratica boProblemiPratica : findByC_Group_DettPratica( - companyId, groupId, dettPraticaId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(boProblemiPratica); - } - } - - /** - * Returns the number of bo problemi praticas where companyId = ? and groupId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_Group_DettPratica(long companyId, long groupId, - long dettPraticaId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_C_GROUP_DETTPRATICA; - - Object[] finderArgs = new Object[] { companyId, groupId, dettPraticaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_COUNT_BOPROBLEMIPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_GROUPID_2); - - query.append(_FINDER_COLUMN_C_GROUP_DETTPRATICA_DETTPRATICAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - qPos.add(dettPraticaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_COMPANYID_2 = "boProblemiPratica.companyId = ? AND "; - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_GROUPID_2 = "boProblemiPratica.groupId = ? AND "; - private static final String _FINDER_COLUMN_C_GROUP_DETTPRATICA_DETTPRATICAID_2 = - "boProblemiPratica.dettPraticaId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICA = - new FinderPath(BoProblemiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoProblemiPraticaModelImpl.FINDER_CACHE_ENABLED, - BoProblemiPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByDettPratica", - new String[] { - Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA = - new FinderPath(BoProblemiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoProblemiPraticaModelImpl.FINDER_CACHE_ENABLED, - BoProblemiPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByDettPratica", - new String[] { Long.class.getName() }, - BoProblemiPraticaModelImpl.DETTPRATICAID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_DETTPRATICA = new FinderPath(BoProblemiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoProblemiPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByDettPratica", - new String[] { Long.class.getName() }); - - /** - * Returns all the bo problemi praticas where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica(long dettPraticaId) - throws SystemException { - return findByDettPratica(dettPraticaId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo problemi praticas where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @return the range of matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica(long dettPraticaId, - int start, int end) throws SystemException { - return findByDettPratica(dettPraticaId, start, end, null); - } - - /** - * Returns an ordered range of all the bo problemi praticas where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica(long dettPraticaId, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA; - finderArgs = new Object[] { dettPraticaId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICA; - finderArgs = new Object[] { - dettPraticaId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoProblemiPratica boProblemiPratica : list) { - if ((dettPraticaId != boProblemiPratica.getDettPraticaId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOPROBLEMIPRATICA_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_DETTPRATICAID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoProblemiPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo problemi pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo problemi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoProblemiPratica findByDettPratica_First(long dettPraticaId, - OrderByComparator orderByComparator) - throws NoSuchBoProblemiPraticaException, SystemException { - BoProblemiPratica boProblemiPratica = fetchByDettPratica_First(dettPraticaId, - orderByComparator); - - if (boProblemiPratica != null) { - return boProblemiPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoProblemiPraticaException(msg.toString()); - } - - /** - * Returns the first bo problemi pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo problemi pratica, or null if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoProblemiPratica fetchByDettPratica_First(long dettPraticaId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByDettPratica(dettPraticaId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo problemi pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo problemi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoProblemiPratica findByDettPratica_Last(long dettPraticaId, - OrderByComparator orderByComparator) - throws NoSuchBoProblemiPraticaException, SystemException { - BoProblemiPratica boProblemiPratica = fetchByDettPratica_Last(dettPraticaId, - orderByComparator); - - if (boProblemiPratica != null) { - return boProblemiPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoProblemiPraticaException(msg.toString()); - } - - /** - * Returns the last bo problemi pratica in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo problemi pratica, or null if a matching bo problemi pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoProblemiPratica fetchByDettPratica_Last(long dettPraticaId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByDettPratica(dettPraticaId); - - if (count == 0) { - return null; - } - - List list = findByDettPratica(dettPraticaId, - count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo problemi praticas before and after the current bo problemi pratica in the ordered set where dettPraticaId = ?. - * - * @param problemiPraticaId the primary key of the current bo problemi pratica - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo problemi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoProblemiPratica[] findByDettPratica_PrevAndNext( - long problemiPraticaId, long dettPraticaId, - OrderByComparator orderByComparator) - throws NoSuchBoProblemiPraticaException, SystemException { - BoProblemiPratica boProblemiPratica = findByPrimaryKey(problemiPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoProblemiPratica[] array = new BoProblemiPraticaImpl[3]; - - array[0] = getByDettPratica_PrevAndNext(session, boProblemiPratica, - dettPraticaId, orderByComparator, true); - - array[1] = boProblemiPratica; - - array[2] = getByDettPratica_PrevAndNext(session, boProblemiPratica, - dettPraticaId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoProblemiPratica getByDettPratica_PrevAndNext(Session session, - BoProblemiPratica boProblemiPratica, long dettPraticaId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOPROBLEMIPRATICA_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_DETTPRATICAID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoProblemiPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boProblemiPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo problemi praticas where dettPraticaId = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByDettPratica(long dettPraticaId) - throws SystemException { - for (BoProblemiPratica boProblemiPratica : findByDettPratica( - dettPraticaId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boProblemiPratica); - } - } - - /** - * Returns the number of bo problemi praticas where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo problemi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByDettPratica(long dettPraticaId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_DETTPRATICA; - - Object[] finderArgs = new Object[] { dettPraticaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BOPROBLEMIPRATICA_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_DETTPRATICAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_DETTPRATICA_DETTPRATICAID_2 = "boProblemiPratica.dettPraticaId = ?"; - - public BoProblemiPraticaPersistenceImpl() { - setModelClass(BoProblemiPratica.class); - } - - /** - * Caches the bo problemi pratica in the entity cache if it is enabled. - * - * @param boProblemiPratica the bo problemi pratica - */ - @Override - public void cacheResult(BoProblemiPratica boProblemiPratica) { - EntityCacheUtil.putResult(BoProblemiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoProblemiPraticaImpl.class, boProblemiPratica.getPrimaryKey(), - boProblemiPratica); - - boProblemiPratica.resetOriginalValues(); - } - - /** - * Caches the bo problemi praticas in the entity cache if it is enabled. - * - * @param boProblemiPraticas the bo problemi praticas - */ - @Override - public void cacheResult(List boProblemiPraticas) { - for (BoProblemiPratica boProblemiPratica : boProblemiPraticas) { - if (EntityCacheUtil.getResult( - BoProblemiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoProblemiPraticaImpl.class, - boProblemiPratica.getPrimaryKey()) == null) { - cacheResult(boProblemiPratica); - } - else { - boProblemiPratica.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all bo problemi praticas. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(BoProblemiPraticaImpl.class.getName()); - } - - EntityCacheUtil.clearCache(BoProblemiPraticaImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the bo problemi pratica. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(BoProblemiPratica boProblemiPratica) { - EntityCacheUtil.removeResult(BoProblemiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoProblemiPraticaImpl.class, boProblemiPratica.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - @Override - public void clearCache(List boProblemiPraticas) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (BoProblemiPratica boProblemiPratica : boProblemiPraticas) { - EntityCacheUtil.removeResult(BoProblemiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoProblemiPraticaImpl.class, boProblemiPratica.getPrimaryKey()); - } - } - - /** - * Creates a new bo problemi pratica with the primary key. Does not add the bo problemi pratica to the database. - * - * @param problemiPraticaId the primary key for the new bo problemi pratica - * @return the new bo problemi pratica - */ - @Override - public BoProblemiPratica create(long problemiPraticaId) { - BoProblemiPratica boProblemiPratica = new BoProblemiPraticaImpl(); - - boProblemiPratica.setNew(true); - boProblemiPratica.setPrimaryKey(problemiPraticaId); - - return boProblemiPratica; - } - - /** - * Removes the bo problemi pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param problemiPraticaId the primary key of the bo problemi pratica - * @return the bo problemi pratica that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoProblemiPratica remove(long problemiPraticaId) - throws NoSuchBoProblemiPraticaException, SystemException { - return remove((Serializable)problemiPraticaId); - } - - /** - * Removes the bo problemi pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the bo problemi pratica - * @return the bo problemi pratica that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoProblemiPratica remove(Serializable primaryKey) - throws NoSuchBoProblemiPraticaException, SystemException { - Session session = null; - - try { - session = openSession(); - - BoProblemiPratica boProblemiPratica = (BoProblemiPratica)session.get(BoProblemiPraticaImpl.class, - primaryKey); - - if (boProblemiPratica == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoProblemiPraticaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(boProblemiPratica); - } - catch (NoSuchBoProblemiPraticaException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected BoProblemiPratica removeImpl(BoProblemiPratica boProblemiPratica) - throws SystemException { - boProblemiPratica = toUnwrappedModel(boProblemiPratica); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(boProblemiPratica)) { - boProblemiPratica = (BoProblemiPratica)session.get(BoProblemiPraticaImpl.class, - boProblemiPratica.getPrimaryKeyObj()); - } - - if (boProblemiPratica != null) { - session.delete(boProblemiPratica); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (boProblemiPratica != null) { - clearCache(boProblemiPratica); - } - - return boProblemiPratica; - } - - @Override - public BoProblemiPratica updateImpl( - it.tref.liferay.portos.portosimport.model.BoProblemiPratica boProblemiPratica) - throws SystemException { - boProblemiPratica = toUnwrappedModel(boProblemiPratica); - - boolean isNew = boProblemiPratica.isNew(); - - BoProblemiPraticaModelImpl boProblemiPraticaModelImpl = (BoProblemiPraticaModelImpl)boProblemiPratica; - - Session session = null; - - try { - session = openSession(); - - if (boProblemiPratica.isNew()) { - session.save(boProblemiPratica); - - boProblemiPratica.setNew(false); - } - else { - session.merge(boProblemiPratica); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !BoProblemiPraticaModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((boProblemiPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boProblemiPraticaModelImpl.getOriginalCompanyId(), - boProblemiPraticaModelImpl.getOriginalGroupId(), - boProblemiPraticaModelImpl.getOriginalDettPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_GROUP_DETTPRATICA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA, - args); - - args = new Object[] { - boProblemiPraticaModelImpl.getCompanyId(), - boProblemiPraticaModelImpl.getGroupId(), - boProblemiPraticaModelImpl.getDettPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_GROUP_DETTPRATICA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP_DETTPRATICA, - args); - } - - if ((boProblemiPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boProblemiPraticaModelImpl.getOriginalDettPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA, - args); - - args = new Object[] { - boProblemiPraticaModelImpl.getDettPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA, - args); - } - } - - EntityCacheUtil.putResult(BoProblemiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoProblemiPraticaImpl.class, boProblemiPratica.getPrimaryKey(), - boProblemiPratica); - - return boProblemiPratica; - } - - protected BoProblemiPratica toUnwrappedModel( - BoProblemiPratica boProblemiPratica) { - if (boProblemiPratica instanceof BoProblemiPraticaImpl) { - return boProblemiPratica; - } - - BoProblemiPraticaImpl boProblemiPraticaImpl = new BoProblemiPraticaImpl(); - - boProblemiPraticaImpl.setNew(boProblemiPratica.isNew()); - boProblemiPraticaImpl.setPrimaryKey(boProblemiPratica.getPrimaryKey()); - - boProblemiPraticaImpl.setProblemiPraticaId(boProblemiPratica.getProblemiPraticaId()); - boProblemiPraticaImpl.setCompanyId(boProblemiPratica.getCompanyId()); - boProblemiPraticaImpl.setUserId(boProblemiPratica.getUserId()); - boProblemiPraticaImpl.setUserName(boProblemiPratica.getUserName()); - boProblemiPraticaImpl.setCreateDate(boProblemiPratica.getCreateDate()); - boProblemiPraticaImpl.setModifiedDate(boProblemiPratica.getModifiedDate()); - boProblemiPraticaImpl.setGroupId(boProblemiPratica.getGroupId()); - boProblemiPraticaImpl.setDettPraticaId(boProblemiPratica.getDettPraticaId()); - boProblemiPraticaImpl.setJsonError(boProblemiPratica.getJsonError()); - - return boProblemiPraticaImpl; - } - - /** - * Returns the bo problemi pratica with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the bo problemi pratica - * @return the bo problemi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoProblemiPratica findByPrimaryKey(Serializable primaryKey) - throws NoSuchBoProblemiPraticaException, SystemException { - BoProblemiPratica boProblemiPratica = fetchByPrimaryKey(primaryKey); - - if (boProblemiPratica == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoProblemiPraticaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return boProblemiPratica; - } - - /** - * Returns the bo problemi pratica with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException} if it could not be found. - * - * @param problemiPraticaId the primary key of the bo problemi pratica - * @return the bo problemi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoProblemiPraticaException if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoProblemiPratica findByPrimaryKey(long problemiPraticaId) - throws NoSuchBoProblemiPraticaException, SystemException { - return findByPrimaryKey((Serializable)problemiPraticaId); - } - - /** - * Returns the bo problemi pratica with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the bo problemi pratica - * @return the bo problemi pratica, or null if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoProblemiPratica fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - BoProblemiPratica boProblemiPratica = (BoProblemiPratica)EntityCacheUtil.getResult(BoProblemiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoProblemiPraticaImpl.class, primaryKey); - - if (boProblemiPratica == _nullBoProblemiPratica) { - return null; - } - - if (boProblemiPratica == null) { - Session session = null; - - try { - session = openSession(); - - boProblemiPratica = (BoProblemiPratica)session.get(BoProblemiPraticaImpl.class, - primaryKey); - - if (boProblemiPratica != null) { - cacheResult(boProblemiPratica); - } - else { - EntityCacheUtil.putResult(BoProblemiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoProblemiPraticaImpl.class, primaryKey, - _nullBoProblemiPratica); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(BoProblemiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoProblemiPraticaImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return boProblemiPratica; - } - - /** - * Returns the bo problemi pratica with the primary key or returns null if it could not be found. - * - * @param problemiPraticaId the primary key of the bo problemi pratica - * @return the bo problemi pratica, or null if a bo problemi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoProblemiPratica fetchByPrimaryKey(long problemiPraticaId) - throws SystemException { - return fetchByPrimaryKey((Serializable)problemiPraticaId); - } - - /** - * Returns all the bo problemi praticas. - * - * @return the bo problemi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo problemi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @return the range of bo problemi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the bo problemi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoProblemiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo problemi praticas - * @param end the upper bound of the range of bo problemi praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo problemi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_BOPROBLEMIPRATICA); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_BOPROBLEMIPRATICA; - - if (pagination) { - sql = sql.concat(BoProblemiPraticaModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the bo problemi praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (BoProblemiPratica boProblemiPratica : findAll()) { - remove(boProblemiPratica); - } - } - - /** - * Returns the number of bo problemi praticas. - * - * @return the number of bo problemi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_BOPROBLEMIPRATICA); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - /** - * Initializes the bo problemi pratica persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.portosimport.model.BoProblemiPratica"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(BoProblemiPraticaImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_BOPROBLEMIPRATICA = "SELECT boProblemiPratica FROM BoProblemiPratica boProblemiPratica"; - private static final String _SQL_SELECT_BOPROBLEMIPRATICA_WHERE = "SELECT boProblemiPratica FROM BoProblemiPratica boProblemiPratica WHERE "; - private static final String _SQL_COUNT_BOPROBLEMIPRATICA = "SELECT COUNT(boProblemiPratica) FROM BoProblemiPratica boProblemiPratica"; - private static final String _SQL_COUNT_BOPROBLEMIPRATICA_WHERE = "SELECT COUNT(boProblemiPratica) FROM BoProblemiPratica boProblemiPratica WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "boProblemiPratica."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No BoProblemiPratica exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No BoProblemiPratica exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(BoProblemiPraticaPersistenceImpl.class); - private static BoProblemiPratica _nullBoProblemiPratica = new BoProblemiPraticaImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullBoProblemiPraticaCacheModel; - } - }; - - private static CacheModel _nullBoProblemiPraticaCacheModel = - new CacheModel() { - @Override - public BoProblemiPratica toEntityModel() { - return _nullBoProblemiPratica; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoRelLeggiPraticaPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoRelLeggiPraticaPersistenceImpl.java deleted file mode 100644 index ce9eef39..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoRelLeggiPraticaPersistenceImpl.java +++ /dev/null @@ -1,1712 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException; -import it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica; -import it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaImpl; -import it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaModelImpl; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -/** - * The persistence implementation for the bo rel leggi pratica service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoRelLeggiPraticaPersistence - * @see BoRelLeggiPraticaUtil - * @generated - */ -public class BoRelLeggiPraticaPersistenceImpl extends BasePersistenceImpl - implements BoRelLeggiPraticaPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link BoRelLeggiPraticaUtil} to access the bo rel leggi pratica persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = BoRelLeggiPraticaImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(BoRelLeggiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoRelLeggiPraticaModelImpl.FINDER_CACHE_ENABLED, - BoRelLeggiPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(BoRelLeggiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoRelLeggiPraticaModelImpl.FINDER_CACHE_ENABLED, - BoRelLeggiPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(BoRelLeggiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoRelLeggiPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_ARTLEGGEID = - new FinderPath(BoRelLeggiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoRelLeggiPraticaModelImpl.FINDER_CACHE_ENABLED, - BoRelLeggiPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByArtLeggeId", - new String[] { - Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ARTLEGGEID = - new FinderPath(BoRelLeggiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoRelLeggiPraticaModelImpl.FINDER_CACHE_ENABLED, - BoRelLeggiPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByArtLeggeId", - new String[] { Long.class.getName() }, - BoRelLeggiPraticaModelImpl.ARTLEGGEID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_ARTLEGGEID = new FinderPath(BoRelLeggiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoRelLeggiPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByArtLeggeId", - new String[] { Long.class.getName() }); - - /** - * Returns all the bo rel leggi praticas where artLeggeId = ?. - * - * @param artLeggeId the art legge ID - * @return the matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByArtLeggeId(long artLeggeId) - throws SystemException { - return findByArtLeggeId(artLeggeId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo rel leggi praticas where artLeggeId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param artLeggeId the art legge ID - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @return the range of matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByArtLeggeId(long artLeggeId, int start, - int end) throws SystemException { - return findByArtLeggeId(artLeggeId, start, end, null); - } - - /** - * Returns an ordered range of all the bo rel leggi praticas where artLeggeId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param artLeggeId the art legge ID - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByArtLeggeId(long artLeggeId, int start, - int end, OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ARTLEGGEID; - finderArgs = new Object[] { artLeggeId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_ARTLEGGEID; - finderArgs = new Object[] { artLeggeId, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoRelLeggiPratica boRelLeggiPratica : list) { - if ((artLeggeId != boRelLeggiPratica.getArtLeggeId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BORELLEGGIPRATICA_WHERE); - - query.append(_FINDER_COLUMN_ARTLEGGEID_ARTLEGGEID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoRelLeggiPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(artLeggeId); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo rel leggi pratica in the ordered set where artLeggeId = ?. - * - * @param artLeggeId the art legge ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo rel leggi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoRelLeggiPratica findByArtLeggeId_First(long artLeggeId, - OrderByComparator orderByComparator) - throws NoSuchBoRelLeggiPraticaException, SystemException { - BoRelLeggiPratica boRelLeggiPratica = fetchByArtLeggeId_First(artLeggeId, - orderByComparator); - - if (boRelLeggiPratica != null) { - return boRelLeggiPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("artLeggeId="); - msg.append(artLeggeId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoRelLeggiPraticaException(msg.toString()); - } - - /** - * Returns the first bo rel leggi pratica in the ordered set where artLeggeId = ?. - * - * @param artLeggeId the art legge ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo rel leggi pratica, or null if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoRelLeggiPratica fetchByArtLeggeId_First(long artLeggeId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByArtLeggeId(artLeggeId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo rel leggi pratica in the ordered set where artLeggeId = ?. - * - * @param artLeggeId the art legge ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo rel leggi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoRelLeggiPratica findByArtLeggeId_Last(long artLeggeId, - OrderByComparator orderByComparator) - throws NoSuchBoRelLeggiPraticaException, SystemException { - BoRelLeggiPratica boRelLeggiPratica = fetchByArtLeggeId_Last(artLeggeId, - orderByComparator); - - if (boRelLeggiPratica != null) { - return boRelLeggiPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("artLeggeId="); - msg.append(artLeggeId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoRelLeggiPraticaException(msg.toString()); - } - - /** - * Returns the last bo rel leggi pratica in the ordered set where artLeggeId = ?. - * - * @param artLeggeId the art legge ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo rel leggi pratica, or null if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoRelLeggiPratica fetchByArtLeggeId_Last(long artLeggeId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByArtLeggeId(artLeggeId); - - if (count == 0) { - return null; - } - - List list = findByArtLeggeId(artLeggeId, count - 1, - count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo rel leggi praticas before and after the current bo rel leggi pratica in the ordered set where artLeggeId = ?. - * - * @param boRelLeggiPraticaPK the primary key of the current bo rel leggi pratica - * @param artLeggeId the art legge ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo rel leggi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoRelLeggiPratica[] findByArtLeggeId_PrevAndNext( - BoRelLeggiPraticaPK boRelLeggiPraticaPK, long artLeggeId, - OrderByComparator orderByComparator) - throws NoSuchBoRelLeggiPraticaException, SystemException { - BoRelLeggiPratica boRelLeggiPratica = findByPrimaryKey(boRelLeggiPraticaPK); - - Session session = null; - - try { - session = openSession(); - - BoRelLeggiPratica[] array = new BoRelLeggiPraticaImpl[3]; - - array[0] = getByArtLeggeId_PrevAndNext(session, boRelLeggiPratica, - artLeggeId, orderByComparator, true); - - array[1] = boRelLeggiPratica; - - array[2] = getByArtLeggeId_PrevAndNext(session, boRelLeggiPratica, - artLeggeId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoRelLeggiPratica getByArtLeggeId_PrevAndNext(Session session, - BoRelLeggiPratica boRelLeggiPratica, long artLeggeId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BORELLEGGIPRATICA_WHERE); - - query.append(_FINDER_COLUMN_ARTLEGGEID_ARTLEGGEID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoRelLeggiPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(artLeggeId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boRelLeggiPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo rel leggi praticas where artLeggeId = ? from the database. - * - * @param artLeggeId the art legge ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByArtLeggeId(long artLeggeId) throws SystemException { - for (BoRelLeggiPratica boRelLeggiPratica : findByArtLeggeId( - artLeggeId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boRelLeggiPratica); - } - } - - /** - * Returns the number of bo rel leggi praticas where artLeggeId = ?. - * - * @param artLeggeId the art legge ID - * @return the number of matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByArtLeggeId(long artLeggeId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_ARTLEGGEID; - - Object[] finderArgs = new Object[] { artLeggeId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BORELLEGGIPRATICA_WHERE); - - query.append(_FINDER_COLUMN_ARTLEGGEID_ARTLEGGEID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(artLeggeId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_ARTLEGGEID_ARTLEGGEID_2 = "boRelLeggiPratica.id.artLeggeId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_INTPRATICAID = - new FinderPath(BoRelLeggiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoRelLeggiPraticaModelImpl.FINDER_CACHE_ENABLED, - BoRelLeggiPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByIntPraticaId", - new String[] { - Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID = - new FinderPath(BoRelLeggiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoRelLeggiPraticaModelImpl.FINDER_CACHE_ENABLED, - BoRelLeggiPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByIntPraticaId", - new String[] { Long.class.getName() }, - BoRelLeggiPraticaModelImpl.INTPRATICAID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_INTPRATICAID = new FinderPath(BoRelLeggiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoRelLeggiPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByIntPraticaId", - new String[] { Long.class.getName() }); - - /** - * Returns all the bo rel leggi praticas where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @return the matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByIntPraticaId(long intPraticaId) - throws SystemException { - return findByIntPraticaId(intPraticaId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo rel leggi praticas where intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @return the range of matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByIntPraticaId(long intPraticaId, - int start, int end) throws SystemException { - return findByIntPraticaId(intPraticaId, start, end, null); - } - - /** - * Returns an ordered range of all the bo rel leggi praticas where intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByIntPraticaId(long intPraticaId, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID; - finderArgs = new Object[] { intPraticaId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_INTPRATICAID; - finderArgs = new Object[] { - intPraticaId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoRelLeggiPratica boRelLeggiPratica : list) { - if ((intPraticaId != boRelLeggiPratica.getIntPraticaId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BORELLEGGIPRATICA_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_INTPRATICAID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoRelLeggiPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(intPraticaId); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo rel leggi pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo rel leggi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoRelLeggiPratica findByIntPraticaId_First(long intPraticaId, - OrderByComparator orderByComparator) - throws NoSuchBoRelLeggiPraticaException, SystemException { - BoRelLeggiPratica boRelLeggiPratica = fetchByIntPraticaId_First(intPraticaId, - orderByComparator); - - if (boRelLeggiPratica != null) { - return boRelLeggiPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("intPraticaId="); - msg.append(intPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoRelLeggiPraticaException(msg.toString()); - } - - /** - * Returns the first bo rel leggi pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo rel leggi pratica, or null if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoRelLeggiPratica fetchByIntPraticaId_First(long intPraticaId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByIntPraticaId(intPraticaId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo rel leggi pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo rel leggi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoRelLeggiPratica findByIntPraticaId_Last(long intPraticaId, - OrderByComparator orderByComparator) - throws NoSuchBoRelLeggiPraticaException, SystemException { - BoRelLeggiPratica boRelLeggiPratica = fetchByIntPraticaId_Last(intPraticaId, - orderByComparator); - - if (boRelLeggiPratica != null) { - return boRelLeggiPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("intPraticaId="); - msg.append(intPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoRelLeggiPraticaException(msg.toString()); - } - - /** - * Returns the last bo rel leggi pratica in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo rel leggi pratica, or null if a matching bo rel leggi pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoRelLeggiPratica fetchByIntPraticaId_Last(long intPraticaId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByIntPraticaId(intPraticaId); - - if (count == 0) { - return null; - } - - List list = findByIntPraticaId(intPraticaId, - count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo rel leggi praticas before and after the current bo rel leggi pratica in the ordered set where intPraticaId = ?. - * - * @param boRelLeggiPraticaPK the primary key of the current bo rel leggi pratica - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo rel leggi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoRelLeggiPratica[] findByIntPraticaId_PrevAndNext( - BoRelLeggiPraticaPK boRelLeggiPraticaPK, long intPraticaId, - OrderByComparator orderByComparator) - throws NoSuchBoRelLeggiPraticaException, SystemException { - BoRelLeggiPratica boRelLeggiPratica = findByPrimaryKey(boRelLeggiPraticaPK); - - Session session = null; - - try { - session = openSession(); - - BoRelLeggiPratica[] array = new BoRelLeggiPraticaImpl[3]; - - array[0] = getByIntPraticaId_PrevAndNext(session, - boRelLeggiPratica, intPraticaId, orderByComparator, true); - - array[1] = boRelLeggiPratica; - - array[2] = getByIntPraticaId_PrevAndNext(session, - boRelLeggiPratica, intPraticaId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoRelLeggiPratica getByIntPraticaId_PrevAndNext(Session session, - BoRelLeggiPratica boRelLeggiPratica, long intPraticaId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BORELLEGGIPRATICA_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_INTPRATICAID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoRelLeggiPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(intPraticaId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boRelLeggiPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo rel leggi praticas where intPraticaId = ? from the database. - * - * @param intPraticaId the int pratica ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByIntPraticaId(long intPraticaId) - throws SystemException { - for (BoRelLeggiPratica boRelLeggiPratica : findByIntPraticaId( - intPraticaId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boRelLeggiPratica); - } - } - - /** - * Returns the number of bo rel leggi praticas where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @return the number of matching bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByIntPraticaId(long intPraticaId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_INTPRATICAID; - - Object[] finderArgs = new Object[] { intPraticaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BORELLEGGIPRATICA_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_INTPRATICAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(intPraticaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_INTPRATICAID_INTPRATICAID_2 = "boRelLeggiPratica.id.intPraticaId = ?"; - - public BoRelLeggiPraticaPersistenceImpl() { - setModelClass(BoRelLeggiPratica.class); - } - - /** - * Caches the bo rel leggi pratica in the entity cache if it is enabled. - * - * @param boRelLeggiPratica the bo rel leggi pratica - */ - @Override - public void cacheResult(BoRelLeggiPratica boRelLeggiPratica) { - EntityCacheUtil.putResult(BoRelLeggiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoRelLeggiPraticaImpl.class, boRelLeggiPratica.getPrimaryKey(), - boRelLeggiPratica); - - boRelLeggiPratica.resetOriginalValues(); - } - - /** - * Caches the bo rel leggi praticas in the entity cache if it is enabled. - * - * @param boRelLeggiPraticas the bo rel leggi praticas - */ - @Override - public void cacheResult(List boRelLeggiPraticas) { - for (BoRelLeggiPratica boRelLeggiPratica : boRelLeggiPraticas) { - if (EntityCacheUtil.getResult( - BoRelLeggiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoRelLeggiPraticaImpl.class, - boRelLeggiPratica.getPrimaryKey()) == null) { - cacheResult(boRelLeggiPratica); - } - else { - boRelLeggiPratica.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all bo rel leggi praticas. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(BoRelLeggiPraticaImpl.class.getName()); - } - - EntityCacheUtil.clearCache(BoRelLeggiPraticaImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the bo rel leggi pratica. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(BoRelLeggiPratica boRelLeggiPratica) { - EntityCacheUtil.removeResult(BoRelLeggiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoRelLeggiPraticaImpl.class, boRelLeggiPratica.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - @Override - public void clearCache(List boRelLeggiPraticas) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (BoRelLeggiPratica boRelLeggiPratica : boRelLeggiPraticas) { - EntityCacheUtil.removeResult(BoRelLeggiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoRelLeggiPraticaImpl.class, boRelLeggiPratica.getPrimaryKey()); - } - } - - /** - * Creates a new bo rel leggi pratica with the primary key. Does not add the bo rel leggi pratica to the database. - * - * @param boRelLeggiPraticaPK the primary key for the new bo rel leggi pratica - * @return the new bo rel leggi pratica - */ - @Override - public BoRelLeggiPratica create(BoRelLeggiPraticaPK boRelLeggiPraticaPK) { - BoRelLeggiPratica boRelLeggiPratica = new BoRelLeggiPraticaImpl(); - - boRelLeggiPratica.setNew(true); - boRelLeggiPratica.setPrimaryKey(boRelLeggiPraticaPK); - - return boRelLeggiPratica; - } - - /** - * Removes the bo rel leggi pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param boRelLeggiPraticaPK the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoRelLeggiPratica remove(BoRelLeggiPraticaPK boRelLeggiPraticaPK) - throws NoSuchBoRelLeggiPraticaException, SystemException { - return remove((Serializable)boRelLeggiPraticaPK); - } - - /** - * Removes the bo rel leggi pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoRelLeggiPratica remove(Serializable primaryKey) - throws NoSuchBoRelLeggiPraticaException, SystemException { - Session session = null; - - try { - session = openSession(); - - BoRelLeggiPratica boRelLeggiPratica = (BoRelLeggiPratica)session.get(BoRelLeggiPraticaImpl.class, - primaryKey); - - if (boRelLeggiPratica == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoRelLeggiPraticaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(boRelLeggiPratica); - } - catch (NoSuchBoRelLeggiPraticaException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected BoRelLeggiPratica removeImpl(BoRelLeggiPratica boRelLeggiPratica) - throws SystemException { - boRelLeggiPratica = toUnwrappedModel(boRelLeggiPratica); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(boRelLeggiPratica)) { - boRelLeggiPratica = (BoRelLeggiPratica)session.get(BoRelLeggiPraticaImpl.class, - boRelLeggiPratica.getPrimaryKeyObj()); - } - - if (boRelLeggiPratica != null) { - session.delete(boRelLeggiPratica); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (boRelLeggiPratica != null) { - clearCache(boRelLeggiPratica); - } - - return boRelLeggiPratica; - } - - @Override - public BoRelLeggiPratica updateImpl( - it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica boRelLeggiPratica) - throws SystemException { - boRelLeggiPratica = toUnwrappedModel(boRelLeggiPratica); - - boolean isNew = boRelLeggiPratica.isNew(); - - BoRelLeggiPraticaModelImpl boRelLeggiPraticaModelImpl = (BoRelLeggiPraticaModelImpl)boRelLeggiPratica; - - Session session = null; - - try { - session = openSession(); - - if (boRelLeggiPratica.isNew()) { - session.save(boRelLeggiPratica); - - boRelLeggiPratica.setNew(false); - } - else { - session.merge(boRelLeggiPratica); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !BoRelLeggiPraticaModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((boRelLeggiPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ARTLEGGEID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boRelLeggiPraticaModelImpl.getOriginalArtLeggeId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_ARTLEGGEID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ARTLEGGEID, - args); - - args = new Object[] { boRelLeggiPraticaModelImpl.getArtLeggeId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_ARTLEGGEID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ARTLEGGEID, - args); - } - - if ((boRelLeggiPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boRelLeggiPraticaModelImpl.getOriginalIntPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_INTPRATICAID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID, - args); - - args = new Object[] { boRelLeggiPraticaModelImpl.getIntPraticaId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_INTPRATICAID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID, - args); - } - } - - EntityCacheUtil.putResult(BoRelLeggiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoRelLeggiPraticaImpl.class, boRelLeggiPratica.getPrimaryKey(), - boRelLeggiPratica); - - return boRelLeggiPratica; - } - - protected BoRelLeggiPratica toUnwrappedModel( - BoRelLeggiPratica boRelLeggiPratica) { - if (boRelLeggiPratica instanceof BoRelLeggiPraticaImpl) { - return boRelLeggiPratica; - } - - BoRelLeggiPraticaImpl boRelLeggiPraticaImpl = new BoRelLeggiPraticaImpl(); - - boRelLeggiPraticaImpl.setNew(boRelLeggiPratica.isNew()); - boRelLeggiPraticaImpl.setPrimaryKey(boRelLeggiPratica.getPrimaryKey()); - - boRelLeggiPraticaImpl.setIntPraticaId(boRelLeggiPratica.getIntPraticaId()); - boRelLeggiPraticaImpl.setArtLeggeId(boRelLeggiPratica.getArtLeggeId()); - boRelLeggiPraticaImpl.setSelezionato(boRelLeggiPratica.isSelezionato()); - boRelLeggiPraticaImpl.setValore(boRelLeggiPratica.getValore()); - - return boRelLeggiPraticaImpl; - } - - /** - * Returns the bo rel leggi pratica with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoRelLeggiPratica findByPrimaryKey(Serializable primaryKey) - throws NoSuchBoRelLeggiPraticaException, SystemException { - BoRelLeggiPratica boRelLeggiPratica = fetchByPrimaryKey(primaryKey); - - if (boRelLeggiPratica == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoRelLeggiPraticaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return boRelLeggiPratica; - } - - /** - * Returns the bo rel leggi pratica with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException} if it could not be found. - * - * @param boRelLeggiPraticaPK the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoRelLeggiPraticaException if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoRelLeggiPratica findByPrimaryKey( - BoRelLeggiPraticaPK boRelLeggiPraticaPK) - throws NoSuchBoRelLeggiPraticaException, SystemException { - return findByPrimaryKey((Serializable)boRelLeggiPraticaPK); - } - - /** - * Returns the bo rel leggi pratica with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica, or null if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoRelLeggiPratica fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - BoRelLeggiPratica boRelLeggiPratica = (BoRelLeggiPratica)EntityCacheUtil.getResult(BoRelLeggiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoRelLeggiPraticaImpl.class, primaryKey); - - if (boRelLeggiPratica == _nullBoRelLeggiPratica) { - return null; - } - - if (boRelLeggiPratica == null) { - Session session = null; - - try { - session = openSession(); - - boRelLeggiPratica = (BoRelLeggiPratica)session.get(BoRelLeggiPraticaImpl.class, - primaryKey); - - if (boRelLeggiPratica != null) { - cacheResult(boRelLeggiPratica); - } - else { - EntityCacheUtil.putResult(BoRelLeggiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoRelLeggiPraticaImpl.class, primaryKey, - _nullBoRelLeggiPratica); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(BoRelLeggiPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoRelLeggiPraticaImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return boRelLeggiPratica; - } - - /** - * Returns the bo rel leggi pratica with the primary key or returns null if it could not be found. - * - * @param boRelLeggiPraticaPK the primary key of the bo rel leggi pratica - * @return the bo rel leggi pratica, or null if a bo rel leggi pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoRelLeggiPratica fetchByPrimaryKey( - BoRelLeggiPraticaPK boRelLeggiPraticaPK) throws SystemException { - return fetchByPrimaryKey((Serializable)boRelLeggiPraticaPK); - } - - /** - * Returns all the bo rel leggi praticas. - * - * @return the bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo rel leggi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @return the range of bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the bo rel leggi praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoRelLeggiPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo rel leggi praticas - * @param end the upper bound of the range of bo rel leggi praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_BORELLEGGIPRATICA); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_BORELLEGGIPRATICA; - - if (pagination) { - sql = sql.concat(BoRelLeggiPraticaModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the bo rel leggi praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (BoRelLeggiPratica boRelLeggiPratica : findAll()) { - remove(boRelLeggiPratica); - } - } - - /** - * Returns the number of bo rel leggi praticas. - * - * @return the number of bo rel leggi praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_BORELLEGGIPRATICA); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - /** - * Initializes the bo rel leggi pratica persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.portosimport.model.BoRelLeggiPratica"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(BoRelLeggiPraticaImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_BORELLEGGIPRATICA = "SELECT boRelLeggiPratica FROM BoRelLeggiPratica boRelLeggiPratica"; - private static final String _SQL_SELECT_BORELLEGGIPRATICA_WHERE = "SELECT boRelLeggiPratica FROM BoRelLeggiPratica boRelLeggiPratica WHERE "; - private static final String _SQL_COUNT_BORELLEGGIPRATICA = "SELECT COUNT(boRelLeggiPratica) FROM BoRelLeggiPratica boRelLeggiPratica"; - private static final String _SQL_COUNT_BORELLEGGIPRATICA_WHERE = "SELECT COUNT(boRelLeggiPratica) FROM BoRelLeggiPratica boRelLeggiPratica WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "boRelLeggiPratica."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No BoRelLeggiPratica exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No BoRelLeggiPratica exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(BoRelLeggiPraticaPersistenceImpl.class); - private static BoRelLeggiPratica _nullBoRelLeggiPratica = new BoRelLeggiPraticaImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullBoRelLeggiPraticaCacheModel; - } - }; - - private static CacheModel _nullBoRelLeggiPraticaCacheModel = - new CacheModel() { - @Override - public BoRelLeggiPratica toEntityModel() { - return _nullBoRelLeggiPratica; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoSistemaCostruttivoPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoSistemaCostruttivoPersistenceImpl.java deleted file mode 100644 index 999aec2f..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoSistemaCostruttivoPersistenceImpl.java +++ /dev/null @@ -1,3314 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.SetUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.kernel.uuid.PortalUUIDUtil; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException; -import it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo; -import it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoImpl; -import it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Set; - -/** - * The persistence implementation for the bo sistema costruttivo service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoSistemaCostruttivoPersistence - * @see BoSistemaCostruttivoUtil - * @generated - */ -public class BoSistemaCostruttivoPersistenceImpl extends BasePersistenceImpl - implements BoSistemaCostruttivoPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link BoSistemaCostruttivoUtil} to access the bo sistema costruttivo persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = BoSistemaCostruttivoImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoModelImpl.FINDER_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoModelImpl.FINDER_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID = new FinderPath(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoModelImpl.FINDER_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByUuid", - new String[] { - String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID = new FinderPath(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoModelImpl.FINDER_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByUuid", - new String[] { String.class.getName() }, - BoSistemaCostruttivoModelImpl.UUID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID = new FinderPath(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid", - new String[] { String.class.getName() }); - - /** - * Returns all the bo sistema costruttivos where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid) - throws SystemException { - return findByUuid(uuid, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo sistema costruttivos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end) - throws SystemException { - return findByUuid(uuid, start, end, null); - } - - /** - * Returns an ordered range of all the bo sistema costruttivos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, - int end, OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoSistemaCostruttivo boSistemaCostruttivo : list) { - if (!Validator.equals(uuid, boSistemaCostruttivo.getUuid())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSISTEMACOSTRUTTIVO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoSistemaCostruttivoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo sistema costruttivo in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo findByUuid_First(String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoSistemaCostruttivoException, SystemException { - BoSistemaCostruttivo boSistemaCostruttivo = fetchByUuid_First(uuid, - orderByComparator); - - if (boSistemaCostruttivo != null) { - return boSistemaCostruttivo; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSistemaCostruttivoException(msg.toString()); - } - - /** - * Returns the first bo sistema costruttivo in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo fetchByUuid_First(String uuid, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid(uuid, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo sistema costruttivo in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo findByUuid_Last(String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoSistemaCostruttivoException, SystemException { - BoSistemaCostruttivo boSistemaCostruttivo = fetchByUuid_Last(uuid, - orderByComparator); - - if (boSistemaCostruttivo != null) { - return boSistemaCostruttivo; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSistemaCostruttivoException(msg.toString()); - } - - /** - * Returns the last bo sistema costruttivo in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo fetchByUuid_Last(String uuid, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid(uuid); - - if (count == 0) { - return null; - } - - List list = findByUuid(uuid, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo sistema costruttivos before and after the current bo sistema costruttivo in the ordered set where uuid = ?. - * - * @param sistemaCostruttivoId the primary key of the current bo sistema costruttivo - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo[] findByUuid_PrevAndNext( - long sistemaCostruttivoId, String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoSistemaCostruttivoException, SystemException { - BoSistemaCostruttivo boSistemaCostruttivo = findByPrimaryKey(sistemaCostruttivoId); - - Session session = null; - - try { - session = openSession(); - - BoSistemaCostruttivo[] array = new BoSistemaCostruttivoImpl[3]; - - array[0] = getByUuid_PrevAndNext(session, boSistemaCostruttivo, - uuid, orderByComparator, true); - - array[1] = boSistemaCostruttivo; - - array[2] = getByUuid_PrevAndNext(session, boSistemaCostruttivo, - uuid, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoSistemaCostruttivo getByUuid_PrevAndNext(Session session, - BoSistemaCostruttivo boSistemaCostruttivo, String uuid, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSISTEMACOSTRUTTIVO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoSistemaCostruttivoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boSistemaCostruttivo); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo sistema costruttivos where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid(String uuid) throws SystemException { - for (BoSistemaCostruttivo boSistemaCostruttivo : findByUuid(uuid, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boSistemaCostruttivo); - } - } - - /** - * Returns the number of bo sistema costruttivos where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid(String uuid) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID; - - Object[] finderArgs = new Object[] { uuid }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BOSISTEMACOSTRUTTIVO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_UUID_1 = "boSistemaCostruttivo.uuid IS NULL"; - private static final String _FINDER_COLUMN_UUID_UUID_2 = "boSistemaCostruttivo.uuid = ?"; - private static final String _FINDER_COLUMN_UUID_UUID_3 = "(boSistemaCostruttivo.uuid IS NULL OR boSistemaCostruttivo.uuid = '')"; - public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G = new FinderPath(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoModelImpl.FINDER_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, FINDER_CLASS_NAME_ENTITY, - "fetchByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }, - BoSistemaCostruttivoModelImpl.UUID_COLUMN_BITMASK | - BoSistemaCostruttivoModelImpl.GROUPID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G = new FinderPath(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns the bo sistema costruttivo where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo findByUUID_G(String uuid, long groupId) - throws NoSuchBoSistemaCostruttivoException, SystemException { - BoSistemaCostruttivo boSistemaCostruttivo = fetchByUUID_G(uuid, groupId); - - if (boSistemaCostruttivo == null) { - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoSistemaCostruttivoException(msg.toString()); - } - - return boSistemaCostruttivo; - } - - /** - * Returns the bo sistema costruttivo where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo fetchByUUID_G(String uuid, long groupId) - throws SystemException { - return fetchByUUID_G(uuid, groupId, true); - } - - /** - * Returns the bo sistema costruttivo where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo fetchByUUID_G(String uuid, long groupId, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { uuid, groupId }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, this); - } - - if (result instanceof BoSistemaCostruttivo) { - BoSistemaCostruttivo boSistemaCostruttivo = (BoSistemaCostruttivo)result; - - if (!Validator.equals(uuid, boSistemaCostruttivo.getUuid()) || - (groupId != boSistemaCostruttivo.getGroupId())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_SELECT_BOSISTEMACOSTRUTTIVO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, list); - } - else { - BoSistemaCostruttivo boSistemaCostruttivo = list.get(0); - - result = boSistemaCostruttivo; - - cacheResult(boSistemaCostruttivo); - - if ((boSistemaCostruttivo.getUuid() == null) || - !boSistemaCostruttivo.getUuid().equals(uuid) || - (boSistemaCostruttivo.getGroupId() != groupId)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, boSistemaCostruttivo); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoSistemaCostruttivo)result; - } - } - - /** - * Removes the bo sistema costruttivo where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo sistema costruttivo that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo removeByUUID_G(String uuid, long groupId) - throws NoSuchBoSistemaCostruttivoException, SystemException { - BoSistemaCostruttivo boSistemaCostruttivo = findByUUID_G(uuid, groupId); - - return remove(boSistemaCostruttivo); - } - - /** - * Returns the number of bo sistema costruttivos where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUUID_G(String uuid, long groupId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_G; - - Object[] finderArgs = new Object[] { uuid, groupId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOSISTEMACOSTRUTTIVO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_G_UUID_1 = "boSistemaCostruttivo.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_2 = "boSistemaCostruttivo.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_3 = "(boSistemaCostruttivo.uuid IS NULL OR boSistemaCostruttivo.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_G_GROUPID_2 = "boSistemaCostruttivo.groupId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C = new FinderPath(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoModelImpl.FINDER_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByUuid_C", - new String[] { - String.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C = - new FinderPath(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoModelImpl.FINDER_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }, - BoSistemaCostruttivoModelImpl.UUID_COLUMN_BITMASK | - BoSistemaCostruttivoModelImpl.COMPANYID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C = new FinderPath(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns all the bo sistema costruttivos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId) - throws SystemException { - return findByUuid_C(uuid, companyId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo sistema costruttivos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, - int start, int end) throws SystemException { - return findByUuid_C(uuid, companyId, start, end, null); - } - - /** - * Returns an ordered range of all the bo sistema costruttivos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { uuid, companyId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { - uuid, companyId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoSistemaCostruttivo boSistemaCostruttivo : list) { - if (!Validator.equals(uuid, boSistemaCostruttivo.getUuid()) || - (companyId != boSistemaCostruttivo.getCompanyId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_BOSISTEMACOSTRUTTIVO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoSistemaCostruttivoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo sistema costruttivo in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo findByUuid_C_First(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchBoSistemaCostruttivoException, SystemException { - BoSistemaCostruttivo boSistemaCostruttivo = fetchByUuid_C_First(uuid, - companyId, orderByComparator); - - if (boSistemaCostruttivo != null) { - return boSistemaCostruttivo; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSistemaCostruttivoException(msg.toString()); - } - - /** - * Returns the first bo sistema costruttivo in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo fetchByUuid_C_First(String uuid, - long companyId, OrderByComparator orderByComparator) - throws SystemException { - List list = findByUuid_C(uuid, companyId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo sistema costruttivo in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo findByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchBoSistemaCostruttivoException, SystemException { - BoSistemaCostruttivo boSistemaCostruttivo = fetchByUuid_C_Last(uuid, - companyId, orderByComparator); - - if (boSistemaCostruttivo != null) { - return boSistemaCostruttivo; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSistemaCostruttivoException(msg.toString()); - } - - /** - * Returns the last bo sistema costruttivo in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo fetchByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid_C(uuid, companyId); - - if (count == 0) { - return null; - } - - List list = findByUuid_C(uuid, companyId, - count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo sistema costruttivos before and after the current bo sistema costruttivo in the ordered set where uuid = ? and companyId = ?. - * - * @param sistemaCostruttivoId the primary key of the current bo sistema costruttivo - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo[] findByUuid_C_PrevAndNext( - long sistemaCostruttivoId, String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchBoSistemaCostruttivoException, SystemException { - BoSistemaCostruttivo boSistemaCostruttivo = findByPrimaryKey(sistemaCostruttivoId); - - Session session = null; - - try { - session = openSession(); - - BoSistemaCostruttivo[] array = new BoSistemaCostruttivoImpl[3]; - - array[0] = getByUuid_C_PrevAndNext(session, boSistemaCostruttivo, - uuid, companyId, orderByComparator, true); - - array[1] = boSistemaCostruttivo; - - array[2] = getByUuid_C_PrevAndNext(session, boSistemaCostruttivo, - uuid, companyId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoSistemaCostruttivo getByUuid_C_PrevAndNext(Session session, - BoSistemaCostruttivo boSistemaCostruttivo, String uuid, long companyId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSISTEMACOSTRUTTIVO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoSistemaCostruttivoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boSistemaCostruttivo); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo sistema costruttivos where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid_C(String uuid, long companyId) - throws SystemException { - for (BoSistemaCostruttivo boSistemaCostruttivo : findByUuid_C(uuid, - companyId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boSistemaCostruttivo); - } - } - - /** - * Returns the number of bo sistema costruttivos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid_C(String uuid, long companyId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_C; - - Object[] finderArgs = new Object[] { uuid, companyId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOSISTEMACOSTRUTTIVO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_C_UUID_1 = "boSistemaCostruttivo.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_2 = "boSistemaCostruttivo.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_3 = "(boSistemaCostruttivo.uuid IS NULL OR boSistemaCostruttivo.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_C_COMPANYID_2 = "boSistemaCostruttivo.companyId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_G_INTPRATICAID = - new FinderPath(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoModelImpl.FINDER_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByC_G_intPraticaId", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_G_INTPRATICAID = - new FinderPath(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoModelImpl.FINDER_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByC_G_intPraticaId", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName() - }, - BoSistemaCostruttivoModelImpl.COMPANYID_COLUMN_BITMASK | - BoSistemaCostruttivoModelImpl.GROUPID_COLUMN_BITMASK | - BoSistemaCostruttivoModelImpl.INTPRATICAID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_C_G_INTPRATICAID = new FinderPath(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByC_G_intPraticaId", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName() - }); - - /** - * Returns all the bo sistema costruttivos where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @return the matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_G_intPraticaId(long companyId, - long groupId, long intPraticaId) throws SystemException { - return findByC_G_intPraticaId(companyId, groupId, intPraticaId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo sistema costruttivos where companyId = ? and groupId = ? and intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_G_intPraticaId(long companyId, - long groupId, long intPraticaId, int start, int end) - throws SystemException { - return findByC_G_intPraticaId(companyId, groupId, intPraticaId, start, - end, null); - } - - /** - * Returns an ordered range of all the bo sistema costruttivos where companyId = ? and groupId = ? and intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_G_intPraticaId(long companyId, - long groupId, long intPraticaId, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_G_INTPRATICAID; - finderArgs = new Object[] { companyId, groupId, intPraticaId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_C_G_INTPRATICAID; - finderArgs = new Object[] { - companyId, groupId, intPraticaId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoSistemaCostruttivo boSistemaCostruttivo : list) { - if ((companyId != boSistemaCostruttivo.getCompanyId()) || - (groupId != boSistemaCostruttivo.getGroupId()) || - (intPraticaId != boSistemaCostruttivo.getIntPraticaId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(5 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(5); - } - - query.append(_SQL_SELECT_BOSISTEMACOSTRUTTIVO_WHERE); - - query.append(_FINDER_COLUMN_C_G_INTPRATICAID_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_G_INTPRATICAID_GROUPID_2); - - query.append(_FINDER_COLUMN_C_G_INTPRATICAID_INTPRATICAID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoSistemaCostruttivoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - qPos.add(intPraticaId); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo sistema costruttivo in the ordered set where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo findByC_G_intPraticaId_First(long companyId, - long groupId, long intPraticaId, OrderByComparator orderByComparator) - throws NoSuchBoSistemaCostruttivoException, SystemException { - BoSistemaCostruttivo boSistemaCostruttivo = fetchByC_G_intPraticaId_First(companyId, - groupId, intPraticaId, orderByComparator); - - if (boSistemaCostruttivo != null) { - return boSistemaCostruttivo; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(", intPraticaId="); - msg.append(intPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSistemaCostruttivoException(msg.toString()); - } - - /** - * Returns the first bo sistema costruttivo in the ordered set where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo fetchByC_G_intPraticaId_First(long companyId, - long groupId, long intPraticaId, OrderByComparator orderByComparator) - throws SystemException { - List list = findByC_G_intPraticaId(companyId, - groupId, intPraticaId, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo sistema costruttivo in the ordered set where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo findByC_G_intPraticaId_Last(long companyId, - long groupId, long intPraticaId, OrderByComparator orderByComparator) - throws NoSuchBoSistemaCostruttivoException, SystemException { - BoSistemaCostruttivo boSistemaCostruttivo = fetchByC_G_intPraticaId_Last(companyId, - groupId, intPraticaId, orderByComparator); - - if (boSistemaCostruttivo != null) { - return boSistemaCostruttivo; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(", intPraticaId="); - msg.append(intPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSistemaCostruttivoException(msg.toString()); - } - - /** - * Returns the last bo sistema costruttivo in the ordered set where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo fetchByC_G_intPraticaId_Last(long companyId, - long groupId, long intPraticaId, OrderByComparator orderByComparator) - throws SystemException { - int count = countByC_G_intPraticaId(companyId, groupId, intPraticaId); - - if (count == 0) { - return null; - } - - List list = findByC_G_intPraticaId(companyId, - groupId, intPraticaId, count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo sistema costruttivos before and after the current bo sistema costruttivo in the ordered set where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param sistemaCostruttivoId the primary key of the current bo sistema costruttivo - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo[] findByC_G_intPraticaId_PrevAndNext( - long sistemaCostruttivoId, long companyId, long groupId, - long intPraticaId, OrderByComparator orderByComparator) - throws NoSuchBoSistemaCostruttivoException, SystemException { - BoSistemaCostruttivo boSistemaCostruttivo = findByPrimaryKey(sistemaCostruttivoId); - - Session session = null; - - try { - session = openSession(); - - BoSistemaCostruttivo[] array = new BoSistemaCostruttivoImpl[3]; - - array[0] = getByC_G_intPraticaId_PrevAndNext(session, - boSistemaCostruttivo, companyId, groupId, intPraticaId, - orderByComparator, true); - - array[1] = boSistemaCostruttivo; - - array[2] = getByC_G_intPraticaId_PrevAndNext(session, - boSistemaCostruttivo, companyId, groupId, intPraticaId, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoSistemaCostruttivo getByC_G_intPraticaId_PrevAndNext( - Session session, BoSistemaCostruttivo boSistemaCostruttivo, - long companyId, long groupId, long intPraticaId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSISTEMACOSTRUTTIVO_WHERE); - - query.append(_FINDER_COLUMN_C_G_INTPRATICAID_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_G_INTPRATICAID_GROUPID_2); - - query.append(_FINDER_COLUMN_C_G_INTPRATICAID_INTPRATICAID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoSistemaCostruttivoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - qPos.add(intPraticaId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boSistemaCostruttivo); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo sistema costruttivos where companyId = ? and groupId = ? and intPraticaId = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByC_G_intPraticaId(long companyId, long groupId, - long intPraticaId) throws SystemException { - for (BoSistemaCostruttivo boSistemaCostruttivo : findByC_G_intPraticaId( - companyId, groupId, intPraticaId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(boSistemaCostruttivo); - } - } - - /** - * Returns the number of bo sistema costruttivos where companyId = ? and groupId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param intPraticaId the int pratica ID - * @return the number of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_G_intPraticaId(long companyId, long groupId, - long intPraticaId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_C_G_INTPRATICAID; - - Object[] finderArgs = new Object[] { companyId, groupId, intPraticaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_COUNT_BOSISTEMACOSTRUTTIVO_WHERE); - - query.append(_FINDER_COLUMN_C_G_INTPRATICAID_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_G_INTPRATICAID_GROUPID_2); - - query.append(_FINDER_COLUMN_C_G_INTPRATICAID_INTPRATICAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - qPos.add(intPraticaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_C_G_INTPRATICAID_COMPANYID_2 = "boSistemaCostruttivo.companyId = ? AND "; - private static final String _FINDER_COLUMN_C_G_INTPRATICAID_GROUPID_2 = "boSistemaCostruttivo.groupId = ? AND "; - private static final String _FINDER_COLUMN_C_G_INTPRATICAID_INTPRATICAID_2 = "boSistemaCostruttivo.intPraticaId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_INTPRATICAID = - new FinderPath(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoModelImpl.FINDER_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByintPraticaId", - new String[] { - Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID = - new FinderPath(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoModelImpl.FINDER_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByintPraticaId", - new String[] { Long.class.getName() }, - BoSistemaCostruttivoModelImpl.INTPRATICAID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_INTPRATICAID = new FinderPath(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByintPraticaId", - new String[] { Long.class.getName() }); - - /** - * Returns all the bo sistema costruttivos where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @return the matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByintPraticaId(long intPraticaId) - throws SystemException { - return findByintPraticaId(intPraticaId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo sistema costruttivos where intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByintPraticaId(long intPraticaId, - int start, int end) throws SystemException { - return findByintPraticaId(intPraticaId, start, end, null); - } - - /** - * Returns an ordered range of all the bo sistema costruttivos where intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByintPraticaId(long intPraticaId, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID; - finderArgs = new Object[] { intPraticaId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_INTPRATICAID; - finderArgs = new Object[] { - intPraticaId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoSistemaCostruttivo boSistemaCostruttivo : list) { - if ((intPraticaId != boSistemaCostruttivo.getIntPraticaId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSISTEMACOSTRUTTIVO_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_INTPRATICAID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoSistemaCostruttivoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(intPraticaId); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo sistema costruttivo in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo findByintPraticaId_First(long intPraticaId, - OrderByComparator orderByComparator) - throws NoSuchBoSistemaCostruttivoException, SystemException { - BoSistemaCostruttivo boSistemaCostruttivo = fetchByintPraticaId_First(intPraticaId, - orderByComparator); - - if (boSistemaCostruttivo != null) { - return boSistemaCostruttivo; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("intPraticaId="); - msg.append(intPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSistemaCostruttivoException(msg.toString()); - } - - /** - * Returns the first bo sistema costruttivo in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo fetchByintPraticaId_First(long intPraticaId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByintPraticaId(intPraticaId, 0, - 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo sistema costruttivo in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo findByintPraticaId_Last(long intPraticaId, - OrderByComparator orderByComparator) - throws NoSuchBoSistemaCostruttivoException, SystemException { - BoSistemaCostruttivo boSistemaCostruttivo = fetchByintPraticaId_Last(intPraticaId, - orderByComparator); - - if (boSistemaCostruttivo != null) { - return boSistemaCostruttivo; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("intPraticaId="); - msg.append(intPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSistemaCostruttivoException(msg.toString()); - } - - /** - * Returns the last bo sistema costruttivo in the ordered set where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sistema costruttivo, or null if a matching bo sistema costruttivo could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo fetchByintPraticaId_Last(long intPraticaId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByintPraticaId(intPraticaId); - - if (count == 0) { - return null; - } - - List list = findByintPraticaId(intPraticaId, - count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo sistema costruttivos before and after the current bo sistema costruttivo in the ordered set where intPraticaId = ?. - * - * @param sistemaCostruttivoId the primary key of the current bo sistema costruttivo - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo[] findByintPraticaId_PrevAndNext( - long sistemaCostruttivoId, long intPraticaId, - OrderByComparator orderByComparator) - throws NoSuchBoSistemaCostruttivoException, SystemException { - BoSistemaCostruttivo boSistemaCostruttivo = findByPrimaryKey(sistemaCostruttivoId); - - Session session = null; - - try { - session = openSession(); - - BoSistemaCostruttivo[] array = new BoSistemaCostruttivoImpl[3]; - - array[0] = getByintPraticaId_PrevAndNext(session, - boSistemaCostruttivo, intPraticaId, orderByComparator, true); - - array[1] = boSistemaCostruttivo; - - array[2] = getByintPraticaId_PrevAndNext(session, - boSistemaCostruttivo, intPraticaId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoSistemaCostruttivo getByintPraticaId_PrevAndNext( - Session session, BoSistemaCostruttivo boSistemaCostruttivo, - long intPraticaId, OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSISTEMACOSTRUTTIVO_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_INTPRATICAID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoSistemaCostruttivoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(intPraticaId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boSistemaCostruttivo); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo sistema costruttivos where intPraticaId = ? from the database. - * - * @param intPraticaId the int pratica ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByintPraticaId(long intPraticaId) - throws SystemException { - for (BoSistemaCostruttivo boSistemaCostruttivo : findByintPraticaId( - intPraticaId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boSistemaCostruttivo); - } - } - - /** - * Returns the number of bo sistema costruttivos where intPraticaId = ?. - * - * @param intPraticaId the int pratica ID - * @return the number of matching bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByintPraticaId(long intPraticaId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_INTPRATICAID; - - Object[] finderArgs = new Object[] { intPraticaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BOSISTEMACOSTRUTTIVO_WHERE); - - query.append(_FINDER_COLUMN_INTPRATICAID_INTPRATICAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(intPraticaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_INTPRATICAID_INTPRATICAID_2 = "boSistemaCostruttivo.intPraticaId = ?"; - - public BoSistemaCostruttivoPersistenceImpl() { - setModelClass(BoSistemaCostruttivo.class); - } - - /** - * Caches the bo sistema costruttivo in the entity cache if it is enabled. - * - * @param boSistemaCostruttivo the bo sistema costruttivo - */ - @Override - public void cacheResult(BoSistemaCostruttivo boSistemaCostruttivo) { - EntityCacheUtil.putResult(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, - boSistemaCostruttivo.getPrimaryKey(), boSistemaCostruttivo); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - new Object[] { - boSistemaCostruttivo.getUuid(), - boSistemaCostruttivo.getGroupId() - }, boSistemaCostruttivo); - - boSistemaCostruttivo.resetOriginalValues(); - } - - /** - * Caches the bo sistema costruttivos in the entity cache if it is enabled. - * - * @param boSistemaCostruttivos the bo sistema costruttivos - */ - @Override - public void cacheResult(List boSistemaCostruttivos) { - for (BoSistemaCostruttivo boSistemaCostruttivo : boSistemaCostruttivos) { - if (EntityCacheUtil.getResult( - BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, - boSistemaCostruttivo.getPrimaryKey()) == null) { - cacheResult(boSistemaCostruttivo); - } - else { - boSistemaCostruttivo.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all bo sistema costruttivos. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(BoSistemaCostruttivoImpl.class.getName()); - } - - EntityCacheUtil.clearCache(BoSistemaCostruttivoImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the bo sistema costruttivo. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(BoSistemaCostruttivo boSistemaCostruttivo) { - EntityCacheUtil.removeResult(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, boSistemaCostruttivo.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(boSistemaCostruttivo); - } - - @Override - public void clearCache(List boSistemaCostruttivos) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (BoSistemaCostruttivo boSistemaCostruttivo : boSistemaCostruttivos) { - EntityCacheUtil.removeResult(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, - boSistemaCostruttivo.getPrimaryKey()); - - clearUniqueFindersCache(boSistemaCostruttivo); - } - } - - protected void cacheUniqueFindersCache( - BoSistemaCostruttivo boSistemaCostruttivo) { - if (boSistemaCostruttivo.isNew()) { - Object[] args = new Object[] { - boSistemaCostruttivo.getUuid(), - boSistemaCostruttivo.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - boSistemaCostruttivo); - } - else { - BoSistemaCostruttivoModelImpl boSistemaCostruttivoModelImpl = (BoSistemaCostruttivoModelImpl)boSistemaCostruttivo; - - if ((boSistemaCostruttivoModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSistemaCostruttivo.getUuid(), - boSistemaCostruttivo.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - boSistemaCostruttivo); - } - } - } - - protected void clearUniqueFindersCache( - BoSistemaCostruttivo boSistemaCostruttivo) { - BoSistemaCostruttivoModelImpl boSistemaCostruttivoModelImpl = (BoSistemaCostruttivoModelImpl)boSistemaCostruttivo; - - Object[] args = new Object[] { - boSistemaCostruttivo.getUuid(), - boSistemaCostruttivo.getGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - - if ((boSistemaCostruttivoModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - args = new Object[] { - boSistemaCostruttivoModelImpl.getOriginalUuid(), - boSistemaCostruttivoModelImpl.getOriginalGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - } - } - - /** - * Creates a new bo sistema costruttivo with the primary key. Does not add the bo sistema costruttivo to the database. - * - * @param sistemaCostruttivoId the primary key for the new bo sistema costruttivo - * @return the new bo sistema costruttivo - */ - @Override - public BoSistemaCostruttivo create(long sistemaCostruttivoId) { - BoSistemaCostruttivo boSistemaCostruttivo = new BoSistemaCostruttivoImpl(); - - boSistemaCostruttivo.setNew(true); - boSistemaCostruttivo.setPrimaryKey(sistemaCostruttivoId); - - String uuid = PortalUUIDUtil.generate(); - - boSistemaCostruttivo.setUuid(uuid); - - return boSistemaCostruttivo; - } - - /** - * Removes the bo sistema costruttivo with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param sistemaCostruttivoId the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo remove(long sistemaCostruttivoId) - throws NoSuchBoSistemaCostruttivoException, SystemException { - return remove((Serializable)sistemaCostruttivoId); - } - - /** - * Removes the bo sistema costruttivo with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo remove(Serializable primaryKey) - throws NoSuchBoSistemaCostruttivoException, SystemException { - Session session = null; - - try { - session = openSession(); - - BoSistemaCostruttivo boSistemaCostruttivo = (BoSistemaCostruttivo)session.get(BoSistemaCostruttivoImpl.class, - primaryKey); - - if (boSistemaCostruttivo == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoSistemaCostruttivoException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(boSistemaCostruttivo); - } - catch (NoSuchBoSistemaCostruttivoException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected BoSistemaCostruttivo removeImpl( - BoSistemaCostruttivo boSistemaCostruttivo) throws SystemException { - boSistemaCostruttivo = toUnwrappedModel(boSistemaCostruttivo); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(boSistemaCostruttivo)) { - boSistemaCostruttivo = (BoSistemaCostruttivo)session.get(BoSistemaCostruttivoImpl.class, - boSistemaCostruttivo.getPrimaryKeyObj()); - } - - if (boSistemaCostruttivo != null) { - session.delete(boSistemaCostruttivo); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (boSistemaCostruttivo != null) { - clearCache(boSistemaCostruttivo); - } - - return boSistemaCostruttivo; - } - - @Override - public BoSistemaCostruttivo updateImpl( - it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo boSistemaCostruttivo) - throws SystemException { - boSistemaCostruttivo = toUnwrappedModel(boSistemaCostruttivo); - - boolean isNew = boSistemaCostruttivo.isNew(); - - BoSistemaCostruttivoModelImpl boSistemaCostruttivoModelImpl = (BoSistemaCostruttivoModelImpl)boSistemaCostruttivo; - - if (Validator.isNull(boSistemaCostruttivo.getUuid())) { - String uuid = PortalUUIDUtil.generate(); - - boSistemaCostruttivo.setUuid(uuid); - } - - Session session = null; - - try { - session = openSession(); - - if (boSistemaCostruttivo.isNew()) { - session.save(boSistemaCostruttivo); - - boSistemaCostruttivo.setNew(false); - } - else { - session.merge(boSistemaCostruttivo); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !BoSistemaCostruttivoModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((boSistemaCostruttivoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSistemaCostruttivoModelImpl.getOriginalUuid() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - - args = new Object[] { boSistemaCostruttivoModelImpl.getUuid() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - } - - if ((boSistemaCostruttivoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSistemaCostruttivoModelImpl.getOriginalUuid(), - boSistemaCostruttivoModelImpl.getOriginalCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - - args = new Object[] { - boSistemaCostruttivoModelImpl.getUuid(), - boSistemaCostruttivoModelImpl.getCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - } - - if ((boSistemaCostruttivoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_G_INTPRATICAID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSistemaCostruttivoModelImpl.getOriginalCompanyId(), - boSistemaCostruttivoModelImpl.getOriginalGroupId(), - boSistemaCostruttivoModelImpl.getOriginalIntPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_G_INTPRATICAID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_G_INTPRATICAID, - args); - - args = new Object[] { - boSistemaCostruttivoModelImpl.getCompanyId(), - boSistemaCostruttivoModelImpl.getGroupId(), - boSistemaCostruttivoModelImpl.getIntPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_G_INTPRATICAID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_G_INTPRATICAID, - args); - } - - if ((boSistemaCostruttivoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSistemaCostruttivoModelImpl.getOriginalIntPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_INTPRATICAID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID, - args); - - args = new Object[] { - boSistemaCostruttivoModelImpl.getIntPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_INTPRATICAID, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_INTPRATICAID, - args); - } - } - - EntityCacheUtil.putResult(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, - boSistemaCostruttivo.getPrimaryKey(), boSistemaCostruttivo); - - clearUniqueFindersCache(boSistemaCostruttivo); - cacheUniqueFindersCache(boSistemaCostruttivo); - - return boSistemaCostruttivo; - } - - protected BoSistemaCostruttivo toUnwrappedModel( - BoSistemaCostruttivo boSistemaCostruttivo) { - if (boSistemaCostruttivo instanceof BoSistemaCostruttivoImpl) { - return boSistemaCostruttivo; - } - - BoSistemaCostruttivoImpl boSistemaCostruttivoImpl = new BoSistemaCostruttivoImpl(); - - boSistemaCostruttivoImpl.setNew(boSistemaCostruttivo.isNew()); - boSistemaCostruttivoImpl.setPrimaryKey(boSistemaCostruttivo.getPrimaryKey()); - - boSistemaCostruttivoImpl.setUuid(boSistemaCostruttivo.getUuid()); - boSistemaCostruttivoImpl.setSistemaCostruttivoId(boSistemaCostruttivo.getSistemaCostruttivoId()); - boSistemaCostruttivoImpl.setCompanyId(boSistemaCostruttivo.getCompanyId()); - boSistemaCostruttivoImpl.setUserId(boSistemaCostruttivo.getUserId()); - boSistemaCostruttivoImpl.setUserName(boSistemaCostruttivo.getUserName()); - boSistemaCostruttivoImpl.setCreateDate(boSistemaCostruttivo.getCreateDate()); - boSistemaCostruttivoImpl.setModifiedDate(boSistemaCostruttivo.getModifiedDate()); - boSistemaCostruttivoImpl.setGroupId(boSistemaCostruttivo.getGroupId()); - boSistemaCostruttivoImpl.setIntPraticaId(boSistemaCostruttivo.getIntPraticaId()); - boSistemaCostruttivoImpl.setCodSistemaCostruttivo(boSistemaCostruttivo.getCodSistemaCostruttivo()); - - return boSistemaCostruttivoImpl; - } - - /** - * Returns the bo sistema costruttivo with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo findByPrimaryKey(Serializable primaryKey) - throws NoSuchBoSistemaCostruttivoException, SystemException { - BoSistemaCostruttivo boSistemaCostruttivo = fetchByPrimaryKey(primaryKey); - - if (boSistemaCostruttivo == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoSistemaCostruttivoException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return boSistemaCostruttivo; - } - - /** - * Returns the bo sistema costruttivo with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException} if it could not be found. - * - * @param sistemaCostruttivoId the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSistemaCostruttivoException if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo findByPrimaryKey(long sistemaCostruttivoId) - throws NoSuchBoSistemaCostruttivoException, SystemException { - return findByPrimaryKey((Serializable)sistemaCostruttivoId); - } - - /** - * Returns the bo sistema costruttivo with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo, or null if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - BoSistemaCostruttivo boSistemaCostruttivo = (BoSistemaCostruttivo)EntityCacheUtil.getResult(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, primaryKey); - - if (boSistemaCostruttivo == _nullBoSistemaCostruttivo) { - return null; - } - - if (boSistemaCostruttivo == null) { - Session session = null; - - try { - session = openSession(); - - boSistemaCostruttivo = (BoSistemaCostruttivo)session.get(BoSistemaCostruttivoImpl.class, - primaryKey); - - if (boSistemaCostruttivo != null) { - cacheResult(boSistemaCostruttivo); - } - else { - EntityCacheUtil.putResult(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, primaryKey, - _nullBoSistemaCostruttivo); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(BoSistemaCostruttivoModelImpl.ENTITY_CACHE_ENABLED, - BoSistemaCostruttivoImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return boSistemaCostruttivo; - } - - /** - * Returns the bo sistema costruttivo with the primary key or returns null if it could not be found. - * - * @param sistemaCostruttivoId the primary key of the bo sistema costruttivo - * @return the bo sistema costruttivo, or null if a bo sistema costruttivo with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSistemaCostruttivo fetchByPrimaryKey(long sistemaCostruttivoId) - throws SystemException { - return fetchByPrimaryKey((Serializable)sistemaCostruttivoId); - } - - /** - * Returns all the bo sistema costruttivos. - * - * @return the bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo sistema costruttivos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @return the range of bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the bo sistema costruttivos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSistemaCostruttivoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sistema costruttivos - * @param end the upper bound of the range of bo sistema costruttivos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_BOSISTEMACOSTRUTTIVO); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_BOSISTEMACOSTRUTTIVO; - - if (pagination) { - sql = sql.concat(BoSistemaCostruttivoModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the bo sistema costruttivos from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (BoSistemaCostruttivo boSistemaCostruttivo : findAll()) { - remove(boSistemaCostruttivo); - } - } - - /** - * Returns the number of bo sistema costruttivos. - * - * @return the number of bo sistema costruttivos - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_BOSISTEMACOSTRUTTIVO); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - @Override - protected Set getBadColumnNames() { - return _badColumnNames; - } - - /** - * Initializes the bo sistema costruttivo persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.portosimport.model.BoSistemaCostruttivo"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(BoSistemaCostruttivoImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_BOSISTEMACOSTRUTTIVO = "SELECT boSistemaCostruttivo FROM BoSistemaCostruttivo boSistemaCostruttivo"; - private static final String _SQL_SELECT_BOSISTEMACOSTRUTTIVO_WHERE = "SELECT boSistemaCostruttivo FROM BoSistemaCostruttivo boSistemaCostruttivo WHERE "; - private static final String _SQL_COUNT_BOSISTEMACOSTRUTTIVO = "SELECT COUNT(boSistemaCostruttivo) FROM BoSistemaCostruttivo boSistemaCostruttivo"; - private static final String _SQL_COUNT_BOSISTEMACOSTRUTTIVO_WHERE = "SELECT COUNT(boSistemaCostruttivo) FROM BoSistemaCostruttivo boSistemaCostruttivo WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "boSistemaCostruttivo."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No BoSistemaCostruttivo exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No BoSistemaCostruttivo exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(BoSistemaCostruttivoPersistenceImpl.class); - private static Set _badColumnNames = SetUtil.fromArray(new String[] { - "uuid" - }); - private static BoSistemaCostruttivo _nullBoSistemaCostruttivo = new BoSistemaCostruttivoImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullBoSistemaCostruttivoCacheModel; - } - }; - - private static CacheModel _nullBoSistemaCostruttivoCacheModel = - new CacheModel() { - @Override - public BoSistemaCostruttivo toEntityModel() { - return _nullBoSistemaCostruttivo; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoSoggettoPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoSoggettoPersistenceImpl.java deleted file mode 100644 index 1cd8a343..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoSoggettoPersistenceImpl.java +++ /dev/null @@ -1,5944 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.SetUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.kernel.uuid.PortalUUIDUtil; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException; -import it.tref.liferay.portos.portosimport.model.BoSoggetto; -import it.tref.liferay.portos.portosimport.model.impl.BoSoggettoImpl; -import it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Set; - -/** - * The persistence implementation for the bo soggetto service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoSoggettoPersistence - * @see BoSoggettoUtil - * @generated - */ -public class BoSoggettoPersistenceImpl extends BasePersistenceImpl - implements BoSoggettoPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link BoSoggettoUtil} to access the bo soggetto persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = BoSoggettoImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID = new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByUuid", - new String[] { - String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID = new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByUuid", - new String[] { String.class.getName() }, - BoSoggettoModelImpl.UUID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID = new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid", - new String[] { String.class.getName() }); - - /** - * Returns all the bo soggettos where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid) throws SystemException { - return findByUuid(uuid, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo soggettos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end) - throws SystemException { - return findByUuid(uuid, start, end, null); - } - - /** - * Returns an ordered range of all the bo soggettos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoSoggetto boSoggetto : list) { - if (!Validator.equals(uuid, boSoggetto.getUuid())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSOGGETTO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoSoggettoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo soggetto in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByUuid_First(String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = fetchByUuid_First(uuid, orderByComparator); - - if (boSoggetto != null) { - return boSoggetto; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSoggettoException(msg.toString()); - } - - /** - * Returns the first bo soggetto in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByUuid_First(String uuid, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid(uuid, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo soggetto in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByUuid_Last(String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = fetchByUuid_Last(uuid, orderByComparator); - - if (boSoggetto != null) { - return boSoggetto; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSoggettoException(msg.toString()); - } - - /** - * Returns the last bo soggetto in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByUuid_Last(String uuid, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid(uuid); - - if (count == 0) { - return null; - } - - List list = findByUuid(uuid, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where uuid = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto[] findByUuid_PrevAndNext(long soggettoId, String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = findByPrimaryKey(soggettoId); - - Session session = null; - - try { - session = openSession(); - - BoSoggetto[] array = new BoSoggettoImpl[3]; - - array[0] = getByUuid_PrevAndNext(session, boSoggetto, uuid, - orderByComparator, true); - - array[1] = boSoggetto; - - array[2] = getByUuid_PrevAndNext(session, boSoggetto, uuid, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoSoggetto getByUuid_PrevAndNext(Session session, - BoSoggetto boSoggetto, String uuid, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSOGGETTO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoSoggettoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boSoggetto); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo soggettos where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid(String uuid) throws SystemException { - for (BoSoggetto boSoggetto : findByUuid(uuid, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(boSoggetto); - } - } - - /** - * Returns the number of bo soggettos where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid(String uuid) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID; - - Object[] finderArgs = new Object[] { uuid }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BOSOGGETTO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_UUID_1 = "boSoggetto.uuid IS NULL"; - private static final String _FINDER_COLUMN_UUID_UUID_2 = "boSoggetto.uuid = ?"; - private static final String _FINDER_COLUMN_UUID_UUID_3 = "(boSoggetto.uuid IS NULL OR boSoggetto.uuid = '')"; - public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G = new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }, - BoSoggettoModelImpl.UUID_COLUMN_BITMASK | - BoSoggettoModelImpl.GROUPID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G = new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns the bo soggetto where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByUUID_G(String uuid, long groupId) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = fetchByUUID_G(uuid, groupId); - - if (boSoggetto == null) { - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoSoggettoException(msg.toString()); - } - - return boSoggetto; - } - - /** - * Returns the bo soggetto where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByUUID_G(String uuid, long groupId) - throws SystemException { - return fetchByUUID_G(uuid, groupId, true); - } - - /** - * Returns the bo soggetto where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByUUID_G(String uuid, long groupId, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { uuid, groupId }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, this); - } - - if (result instanceof BoSoggetto) { - BoSoggetto boSoggetto = (BoSoggetto)result; - - if (!Validator.equals(uuid, boSoggetto.getUuid()) || - (groupId != boSoggetto.getGroupId())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_SELECT_BOSOGGETTO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, list); - } - else { - BoSoggetto boSoggetto = list.get(0); - - result = boSoggetto; - - cacheResult(boSoggetto); - - if ((boSoggetto.getUuid() == null) || - !boSoggetto.getUuid().equals(uuid) || - (boSoggetto.getGroupId() != groupId)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, boSoggetto); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoSoggetto)result; - } - } - - /** - * Removes the bo soggetto where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo soggetto that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto removeByUUID_G(String uuid, long groupId) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = findByUUID_G(uuid, groupId); - - return remove(boSoggetto); - } - - /** - * Returns the number of bo soggettos where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUUID_G(String uuid, long groupId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_G; - - Object[] finderArgs = new Object[] { uuid, groupId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOSOGGETTO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_G_UUID_1 = "boSoggetto.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_2 = "boSoggetto.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_3 = "(boSoggetto.uuid IS NULL OR boSoggetto.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_G_GROUPID_2 = "boSoggetto.groupId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C = new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByUuid_C", - new String[] { - String.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C = - new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }, - BoSoggettoModelImpl.UUID_COLUMN_BITMASK | - BoSoggettoModelImpl.COMPANYID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C = new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns all the bo soggettos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId) - throws SystemException { - return findByUuid_C(uuid, companyId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo soggettos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, - int start, int end) throws SystemException { - return findByUuid_C(uuid, companyId, start, end, null); - } - - /** - * Returns an ordered range of all the bo soggettos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { uuid, companyId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { - uuid, companyId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoSoggetto boSoggetto : list) { - if (!Validator.equals(uuid, boSoggetto.getUuid()) || - (companyId != boSoggetto.getCompanyId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_BOSOGGETTO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoSoggettoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo soggetto in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByUuid_C_First(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = fetchByUuid_C_First(uuid, companyId, - orderByComparator); - - if (boSoggetto != null) { - return boSoggetto; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSoggettoException(msg.toString()); - } - - /** - * Returns the first bo soggetto in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByUuid_C_First(String uuid, long companyId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid_C(uuid, companyId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo soggetto in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = fetchByUuid_C_Last(uuid, companyId, - orderByComparator); - - if (boSoggetto != null) { - return boSoggetto; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSoggettoException(msg.toString()); - } - - /** - * Returns the last bo soggetto in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid_C(uuid, companyId); - - if (count == 0) { - return null; - } - - List list = findByUuid_C(uuid, companyId, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where uuid = ? and companyId = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto[] findByUuid_C_PrevAndNext(long soggettoId, String uuid, - long companyId, OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = findByPrimaryKey(soggettoId); - - Session session = null; - - try { - session = openSession(); - - BoSoggetto[] array = new BoSoggettoImpl[3]; - - array[0] = getByUuid_C_PrevAndNext(session, boSoggetto, uuid, - companyId, orderByComparator, true); - - array[1] = boSoggetto; - - array[2] = getByUuid_C_PrevAndNext(session, boSoggetto, uuid, - companyId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoSoggetto getByUuid_C_PrevAndNext(Session session, - BoSoggetto boSoggetto, String uuid, long companyId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSOGGETTO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoSoggettoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boSoggetto); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo soggettos where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid_C(String uuid, long companyId) - throws SystemException { - for (BoSoggetto boSoggetto : findByUuid_C(uuid, companyId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boSoggetto); - } - } - - /** - * Returns the number of bo soggettos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid_C(String uuid, long companyId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_C; - - Object[] finderArgs = new Object[] { uuid, companyId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOSOGGETTO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_C_UUID_1 = "boSoggetto.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_2 = "boSoggetto.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_3 = "(boSoggetto.uuid IS NULL OR boSoggetto.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_C_COMPANYID_2 = "boSoggetto.companyId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICA = - new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByDettPratica", - new String[] { - Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA = - new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByDettPratica", - new String[] { Long.class.getName() }, - BoSoggettoModelImpl.DETTPRATICAID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_DETTPRATICA = new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByDettPratica", - new String[] { Long.class.getName() }); - - /** - * Returns all the bo soggettos where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica(long dettPraticaId) - throws SystemException { - return findByDettPratica(dettPraticaId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo soggettos where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica(long dettPraticaId, int start, - int end) throws SystemException { - return findByDettPratica(dettPraticaId, start, end, null); - } - - /** - * Returns an ordered range of all the bo soggettos where dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica(long dettPraticaId, int start, - int end, OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA; - finderArgs = new Object[] { dettPraticaId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICA; - finderArgs = new Object[] { - dettPraticaId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoSoggetto boSoggetto : list) { - if ((dettPraticaId != boSoggetto.getDettPraticaId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSOGGETTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_DETTPRATICAID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoSoggettoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByDettPratica_First(long dettPraticaId, - OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = fetchByDettPratica_First(dettPraticaId, - orderByComparator); - - if (boSoggetto != null) { - return boSoggetto; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSoggettoException(msg.toString()); - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByDettPratica_First(long dettPraticaId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByDettPratica(dettPraticaId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByDettPratica_Last(long dettPraticaId, - OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = fetchByDettPratica_Last(dettPraticaId, - orderByComparator); - - if (boSoggetto != null) { - return boSoggetto; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSoggettoException(msg.toString()); - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByDettPratica_Last(long dettPraticaId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByDettPratica(dettPraticaId); - - if (count == 0) { - return null; - } - - List list = findByDettPratica(dettPraticaId, count - 1, - count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where dettPraticaId = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto[] findByDettPratica_PrevAndNext(long soggettoId, - long dettPraticaId, OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = findByPrimaryKey(soggettoId); - - Session session = null; - - try { - session = openSession(); - - BoSoggetto[] array = new BoSoggettoImpl[3]; - - array[0] = getByDettPratica_PrevAndNext(session, boSoggetto, - dettPraticaId, orderByComparator, true); - - array[1] = boSoggetto; - - array[2] = getByDettPratica_PrevAndNext(session, boSoggetto, - dettPraticaId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoSoggetto getByDettPratica_PrevAndNext(Session session, - BoSoggetto boSoggetto, long dettPraticaId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSOGGETTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_DETTPRATICAID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoSoggettoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boSoggetto); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo soggettos where dettPraticaId = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByDettPratica(long dettPraticaId) - throws SystemException { - for (BoSoggetto boSoggetto : findByDettPratica(dettPraticaId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boSoggetto); - } - } - - /** - * Returns the number of bo soggettos where dettPraticaId = ?. - * - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByDettPratica(long dettPraticaId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_DETTPRATICA; - - Object[] finderArgs = new Object[] { dettPraticaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BOSOGGETTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_DETTPRATICAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_DETTPRATICA_DETTPRATICAID_2 = "boSoggetto.dettPraticaId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICA_SOSTITUITO = - new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByDettPratica_Sostituito", - new String[] { - Long.class.getName(), Boolean.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_SOSTITUITO = - new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByDettPratica_Sostituito", - new String[] { Long.class.getName(), Boolean.class.getName() }, - BoSoggettoModelImpl.DETTPRATICAID_COLUMN_BITMASK | - BoSoggettoModelImpl.SOSTITUITO_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_DETTPRATICA_SOSTITUITO = new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByDettPratica_Sostituito", - new String[] { Long.class.getName(), Boolean.class.getName() }); - - /** - * Returns all the bo soggettos where dettPraticaId = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica_Sostituito(long dettPraticaId, - boolean sostituito) throws SystemException { - return findByDettPratica_Sostituito(dettPraticaId, sostituito, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo soggettos where dettPraticaId = ? and sostituito = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica_Sostituito(long dettPraticaId, - boolean sostituito, int start, int end) throws SystemException { - return findByDettPratica_Sostituito(dettPraticaId, sostituito, start, - end, null); - } - - /** - * Returns an ordered range of all the bo soggettos where dettPraticaId = ? and sostituito = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica_Sostituito(long dettPraticaId, - boolean sostituito, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_SOSTITUITO; - finderArgs = new Object[] { dettPraticaId, sostituito }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICA_SOSTITUITO; - finderArgs = new Object[] { - dettPraticaId, sostituito, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoSoggetto boSoggetto : list) { - if ((dettPraticaId != boSoggetto.getDettPraticaId()) || - (sostituito != boSoggetto.getSostituito())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_BOSOGGETTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_SOSTITUITO_DETTPRATICAID_2); - - query.append(_FINDER_COLUMN_DETTPRATICA_SOSTITUITO_SOSTITUITO_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoSoggettoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - qPos.add(sostituito); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByDettPratica_Sostituito_First(long dettPraticaId, - boolean sostituito, OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = fetchByDettPratica_Sostituito_First(dettPraticaId, - sostituito, orderByComparator); - - if (boSoggetto != null) { - return boSoggetto; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(", sostituito="); - msg.append(sostituito); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSoggettoException(msg.toString()); - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByDettPratica_Sostituito_First(long dettPraticaId, - boolean sostituito, OrderByComparator orderByComparator) - throws SystemException { - List list = findByDettPratica_Sostituito(dettPraticaId, - sostituito, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByDettPratica_Sostituito_Last(long dettPraticaId, - boolean sostituito, OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = fetchByDettPratica_Sostituito_Last(dettPraticaId, - sostituito, orderByComparator); - - if (boSoggetto != null) { - return boSoggetto; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(", sostituito="); - msg.append(sostituito); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSoggettoException(msg.toString()); - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByDettPratica_Sostituito_Last(long dettPraticaId, - boolean sostituito, OrderByComparator orderByComparator) - throws SystemException { - int count = countByDettPratica_Sostituito(dettPraticaId, sostituito); - - if (count == 0) { - return null; - } - - List list = findByDettPratica_Sostituito(dettPraticaId, - sostituito, count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where dettPraticaId = ? and sostituito = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto[] findByDettPratica_Sostituito_PrevAndNext( - long soggettoId, long dettPraticaId, boolean sostituito, - OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = findByPrimaryKey(soggettoId); - - Session session = null; - - try { - session = openSession(); - - BoSoggetto[] array = new BoSoggettoImpl[3]; - - array[0] = getByDettPratica_Sostituito_PrevAndNext(session, - boSoggetto, dettPraticaId, sostituito, orderByComparator, - true); - - array[1] = boSoggetto; - - array[2] = getByDettPratica_Sostituito_PrevAndNext(session, - boSoggetto, dettPraticaId, sostituito, orderByComparator, - false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoSoggetto getByDettPratica_Sostituito_PrevAndNext( - Session session, BoSoggetto boSoggetto, long dettPraticaId, - boolean sostituito, OrderByComparator orderByComparator, - boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSOGGETTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_SOSTITUITO_DETTPRATICAID_2); - - query.append(_FINDER_COLUMN_DETTPRATICA_SOSTITUITO_SOSTITUITO_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoSoggettoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - qPos.add(sostituito); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boSoggetto); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo soggettos where dettPraticaId = ? and sostituito = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByDettPratica_Sostituito(long dettPraticaId, - boolean sostituito) throws SystemException { - for (BoSoggetto boSoggetto : findByDettPratica_Sostituito( - dettPraticaId, sostituito, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(boSoggetto); - } - } - - /** - * Returns the number of bo soggettos where dettPraticaId = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param sostituito the sostituito - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByDettPratica_Sostituito(long dettPraticaId, - boolean sostituito) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_DETTPRATICA_SOSTITUITO; - - Object[] finderArgs = new Object[] { dettPraticaId, sostituito }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOSOGGETTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_SOSTITUITO_DETTPRATICAID_2); - - query.append(_FINDER_COLUMN_DETTPRATICA_SOSTITUITO_SOSTITUITO_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - qPos.add(sostituito); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_DETTPRATICA_SOSTITUITO_DETTPRATICAID_2 = - "boSoggetto.dettPraticaId = ? AND "; - private static final String _FINDER_COLUMN_DETTPRATICA_SOSTITUITO_SOSTITUITO_2 = - "boSoggetto.sostituito = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE = - new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByDettPratica_TipologiaProfessione", - new String[] { - Long.class.getName(), String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE = - new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByDettPratica_TipologiaProfessione", - new String[] { Long.class.getName(), String.class.getName() }, - BoSoggettoModelImpl.DETTPRATICAID_COLUMN_BITMASK | - BoSoggettoModelImpl.TIPOLOGIAPROFESSIONE_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE = - new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByDettPratica_TipologiaProfessione", - new String[] { Long.class.getName(), String.class.getName() }); - - /** - * Returns all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica_TipologiaProfessione( - long dettPraticaId, String tipologiaProfessione) - throws SystemException { - return findByDettPratica_TipologiaProfessione(dettPraticaId, - tipologiaProfessione, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica_TipologiaProfessione( - long dettPraticaId, String tipologiaProfessione, int start, int end) - throws SystemException { - return findByDettPratica_TipologiaProfessione(dettPraticaId, - tipologiaProfessione, start, end, null); - } - - /** - * Returns an ordered range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica_TipologiaProfessione( - long dettPraticaId, String tipologiaProfessione, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE; - finderArgs = new Object[] { dettPraticaId, tipologiaProfessione }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE; - finderArgs = new Object[] { - dettPraticaId, tipologiaProfessione, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoSoggetto boSoggetto : list) { - if ((dettPraticaId != boSoggetto.getDettPraticaId()) || - !Validator.equals(tipologiaProfessione, - boSoggetto.getTipologiaProfessione())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_BOSOGGETTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_DETTPRATICAID_2); - - boolean bindTipologiaProfessione = false; - - if (tipologiaProfessione == null) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_TIPOLOGIAPROFESSIONE_1); - } - else if (tipologiaProfessione.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_TIPOLOGIAPROFESSIONE_3); - } - else { - bindTipologiaProfessione = true; - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_TIPOLOGIAPROFESSIONE_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoSoggettoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindTipologiaProfessione) { - qPos.add(tipologiaProfessione); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByDettPratica_TipologiaProfessione_First( - long dettPraticaId, String tipologiaProfessione, - OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = fetchByDettPratica_TipologiaProfessione_First(dettPraticaId, - tipologiaProfessione, orderByComparator); - - if (boSoggetto != null) { - return boSoggetto; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(", tipologiaProfessione="); - msg.append(tipologiaProfessione); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSoggettoException(msg.toString()); - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByDettPratica_TipologiaProfessione_First( - long dettPraticaId, String tipologiaProfessione, - OrderByComparator orderByComparator) throws SystemException { - List list = findByDettPratica_TipologiaProfessione(dettPraticaId, - tipologiaProfessione, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByDettPratica_TipologiaProfessione_Last( - long dettPraticaId, String tipologiaProfessione, - OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = fetchByDettPratica_TipologiaProfessione_Last(dettPraticaId, - tipologiaProfessione, orderByComparator); - - if (boSoggetto != null) { - return boSoggetto; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(", tipologiaProfessione="); - msg.append(tipologiaProfessione); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSoggettoException(msg.toString()); - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByDettPratica_TipologiaProfessione_Last( - long dettPraticaId, String tipologiaProfessione, - OrderByComparator orderByComparator) throws SystemException { - int count = countByDettPratica_TipologiaProfessione(dettPraticaId, - tipologiaProfessione); - - if (count == 0) { - return null; - } - - List list = findByDettPratica_TipologiaProfessione(dettPraticaId, - tipologiaProfessione, count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto[] findByDettPratica_TipologiaProfessione_PrevAndNext( - long soggettoId, long dettPraticaId, String tipologiaProfessione, - OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = findByPrimaryKey(soggettoId); - - Session session = null; - - try { - session = openSession(); - - BoSoggetto[] array = new BoSoggettoImpl[3]; - - array[0] = getByDettPratica_TipologiaProfessione_PrevAndNext(session, - boSoggetto, dettPraticaId, tipologiaProfessione, - orderByComparator, true); - - array[1] = boSoggetto; - - array[2] = getByDettPratica_TipologiaProfessione_PrevAndNext(session, - boSoggetto, dettPraticaId, tipologiaProfessione, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoSoggetto getByDettPratica_TipologiaProfessione_PrevAndNext( - Session session, BoSoggetto boSoggetto, long dettPraticaId, - String tipologiaProfessione, OrderByComparator orderByComparator, - boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSOGGETTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_DETTPRATICAID_2); - - boolean bindTipologiaProfessione = false; - - if (tipologiaProfessione == null) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_TIPOLOGIAPROFESSIONE_1); - } - else if (tipologiaProfessione.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_TIPOLOGIAPROFESSIONE_3); - } - else { - bindTipologiaProfessione = true; - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_TIPOLOGIAPROFESSIONE_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoSoggettoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindTipologiaProfessione) { - qPos.add(tipologiaProfessione); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boSoggetto); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByDettPratica_TipologiaProfessione(long dettPraticaId, - String tipologiaProfessione) throws SystemException { - for (BoSoggetto boSoggetto : findByDettPratica_TipologiaProfessione( - dettPraticaId, tipologiaProfessione, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(boSoggetto); - } - } - - /** - * Returns the number of bo soggettos where dettPraticaId = ? and tipologiaProfessione = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByDettPratica_TipologiaProfessione(long dettPraticaId, - String tipologiaProfessione) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE; - - Object[] finderArgs = new Object[] { dettPraticaId, tipologiaProfessione }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOSOGGETTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_DETTPRATICAID_2); - - boolean bindTipologiaProfessione = false; - - if (tipologiaProfessione == null) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_TIPOLOGIAPROFESSIONE_1); - } - else if (tipologiaProfessione.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_TIPOLOGIAPROFESSIONE_3); - } - else { - bindTipologiaProfessione = true; - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_TIPOLOGIAPROFESSIONE_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindTipologiaProfessione) { - qPos.add(tipologiaProfessione); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_DETTPRATICAID_2 = - "boSoggetto.dettPraticaId = ? AND "; - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_TIPOLOGIAPROFESSIONE_1 = - "boSoggetto.tipologiaProfessione IS NULL"; - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_TIPOLOGIAPROFESSIONE_2 = - "boSoggetto.tipologiaProfessione = ?"; - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_TIPOLOGIAPROFESSIONE_3 = - "(boSoggetto.tipologiaProfessione IS NULL OR boSoggetto.tipologiaProfessione = '')"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO = - new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito", - new String[] { - Long.class.getName(), String.class.getName(), - Boolean.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO = - new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito", - new String[] { - Long.class.getName(), String.class.getName(), - Boolean.class.getName() - }, - BoSoggettoModelImpl.DETTPRATICAID_COLUMN_BITMASK | - BoSoggettoModelImpl.TIPOLOGIAPROFESSIONE_COLUMN_BITMASK | - BoSoggettoModelImpl.SOSTITUITO_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO = - new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito", - new String[] { - Long.class.getName(), String.class.getName(), - Boolean.class.getName() - }); - - /** - * Returns all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito( - long dettPraticaId, String tipologiaProfessione, boolean sostituito) - throws SystemException { - return findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito(dettPraticaId, - tipologiaProfessione, sostituito, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito( - long dettPraticaId, String tipologiaProfessione, boolean sostituito, - int start, int end) throws SystemException { - return findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito(dettPraticaId, - tipologiaProfessione, sostituito, start, end, null); - } - - /** - * Returns an ordered range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito( - long dettPraticaId, String tipologiaProfessione, boolean sostituito, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO; - finderArgs = new Object[] { - dettPraticaId, tipologiaProfessione, sostituito - }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO; - finderArgs = new Object[] { - dettPraticaId, tipologiaProfessione, sostituito, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoSoggetto boSoggetto : list) { - if ((dettPraticaId != boSoggetto.getDettPraticaId()) || - !Validator.equals(tipologiaProfessione, - boSoggetto.getTipologiaProfessione()) || - (sostituito != boSoggetto.getSostituito())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(5 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(5); - } - - query.append(_SQL_SELECT_BOSOGGETTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_DETTPRATICAID_2); - - boolean bindTipologiaProfessione = false; - - if (tipologiaProfessione == null) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_TIPOLOGIAPROFESSIONE_1); - } - else if (tipologiaProfessione.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_TIPOLOGIAPROFESSIONE_3); - } - else { - bindTipologiaProfessione = true; - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_TIPOLOGIAPROFESSIONE_2); - } - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_SOSTITUITO_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoSoggettoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindTipologiaProfessione) { - qPos.add(tipologiaProfessione); - } - - qPos.add(sostituito); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_First( - long dettPraticaId, String tipologiaProfessione, boolean sostituito, - OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = fetchByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_First(dettPraticaId, - tipologiaProfessione, sostituito, orderByComparator); - - if (boSoggetto != null) { - return boSoggetto; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(", tipologiaProfessione="); - msg.append(tipologiaProfessione); - - msg.append(", sostituito="); - msg.append(sostituito); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSoggettoException(msg.toString()); - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_First( - long dettPraticaId, String tipologiaProfessione, boolean sostituito, - OrderByComparator orderByComparator) throws SystemException { - List list = findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito(dettPraticaId, - tipologiaProfessione, sostituito, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_Last( - long dettPraticaId, String tipologiaProfessione, boolean sostituito, - OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = fetchByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_Last(dettPraticaId, - tipologiaProfessione, sostituito, orderByComparator); - - if (boSoggetto != null) { - return boSoggetto; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(", tipologiaProfessione="); - msg.append(tipologiaProfessione); - - msg.append(", sostituito="); - msg.append(sostituito); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSoggettoException(msg.toString()); - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_Last( - long dettPraticaId, String tipologiaProfessione, boolean sostituito, - OrderByComparator orderByComparator) throws SystemException { - int count = countByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito(dettPraticaId, - tipologiaProfessione, sostituito); - - if (count == 0) { - return null; - } - - List list = findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito(dettPraticaId, - tipologiaProfessione, sostituito, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto[] findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_PrevAndNext( - long soggettoId, long dettPraticaId, String tipologiaProfessione, - boolean sostituito, OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = findByPrimaryKey(soggettoId); - - Session session = null; - - try { - session = openSession(); - - BoSoggetto[] array = new BoSoggettoImpl[3]; - - array[0] = getByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_PrevAndNext(session, - boSoggetto, dettPraticaId, tipologiaProfessione, - sostituito, orderByComparator, true); - - array[1] = boSoggetto; - - array[2] = getByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_PrevAndNext(session, - boSoggetto, dettPraticaId, tipologiaProfessione, - sostituito, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoSoggetto getByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito_PrevAndNext( - Session session, BoSoggetto boSoggetto, long dettPraticaId, - String tipologiaProfessione, boolean sostituito, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSOGGETTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_DETTPRATICAID_2); - - boolean bindTipologiaProfessione = false; - - if (tipologiaProfessione == null) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_TIPOLOGIAPROFESSIONE_1); - } - else if (tipologiaProfessione.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_TIPOLOGIAPROFESSIONE_3); - } - else { - bindTipologiaProfessione = true; - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_TIPOLOGIAPROFESSIONE_2); - } - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_SOSTITUITO_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoSoggettoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindTipologiaProfessione) { - qPos.add(tipologiaProfessione); - } - - qPos.add(sostituito); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boSoggetto); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito( - long dettPraticaId, String tipologiaProfessione, boolean sostituito) - throws SystemException { - for (BoSoggetto boSoggetto : findByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito( - dettPraticaId, tipologiaProfessione, sostituito, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boSoggetto); - } - } - - /** - * Returns the number of bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param sostituito the sostituito - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByDettPratica_TipologiaProfessione_CodiceFiscale_Sostituito( - long dettPraticaId, String tipologiaProfessione, boolean sostituito) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO; - - Object[] finderArgs = new Object[] { - dettPraticaId, tipologiaProfessione, sostituito - }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_COUNT_BOSOGGETTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_DETTPRATICAID_2); - - boolean bindTipologiaProfessione = false; - - if (tipologiaProfessione == null) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_TIPOLOGIAPROFESSIONE_1); - } - else if (tipologiaProfessione.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_TIPOLOGIAPROFESSIONE_3); - } - else { - bindTipologiaProfessione = true; - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_TIPOLOGIAPROFESSIONE_2); - } - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_SOSTITUITO_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindTipologiaProfessione) { - qPos.add(tipologiaProfessione); - } - - qPos.add(sostituito); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_DETTPRATICAID_2 = - "boSoggetto.dettPraticaId = ? AND "; - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_TIPOLOGIAPROFESSIONE_1 = - "boSoggetto.tipologiaProfessione IS NULL AND "; - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_TIPOLOGIAPROFESSIONE_2 = - "boSoggetto.tipologiaProfessione = ? AND "; - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_TIPOLOGIAPROFESSIONE_3 = - "(boSoggetto.tipologiaProfessione IS NULL OR boSoggetto.tipologiaProfessione = '') AND "; - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO_SOSTITUITO_2 = - "boSoggetto.sostituito = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO = - new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByDettPratica_TipologiaProfessione_Aggiuntivo", - new String[] { - Long.class.getName(), String.class.getName(), - Boolean.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO = - new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByDettPratica_TipologiaProfessione_Aggiuntivo", - new String[] { - Long.class.getName(), String.class.getName(), - Boolean.class.getName() - }, - BoSoggettoModelImpl.DETTPRATICAID_COLUMN_BITMASK | - BoSoggettoModelImpl.TIPOLOGIAPROFESSIONE_COLUMN_BITMASK | - BoSoggettoModelImpl.AGGIUNTIVO_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO = - new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByDettPratica_TipologiaProfessione_Aggiuntivo", - new String[] { - Long.class.getName(), String.class.getName(), - Boolean.class.getName() - }); - - /** - * Returns all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica_TipologiaProfessione_Aggiuntivo( - long dettPraticaId, String tipologiaProfessione, boolean aggiuntivo) - throws SystemException { - return findByDettPratica_TipologiaProfessione_Aggiuntivo(dettPraticaId, - tipologiaProfessione, aggiuntivo, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica_TipologiaProfessione_Aggiuntivo( - long dettPraticaId, String tipologiaProfessione, boolean aggiuntivo, - int start, int end) throws SystemException { - return findByDettPratica_TipologiaProfessione_Aggiuntivo(dettPraticaId, - tipologiaProfessione, aggiuntivo, start, end, null); - } - - /** - * Returns an ordered range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica_TipologiaProfessione_Aggiuntivo( - long dettPraticaId, String tipologiaProfessione, boolean aggiuntivo, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO; - finderArgs = new Object[] { - dettPraticaId, tipologiaProfessione, aggiuntivo - }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO; - finderArgs = new Object[] { - dettPraticaId, tipologiaProfessione, aggiuntivo, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoSoggetto boSoggetto : list) { - if ((dettPraticaId != boSoggetto.getDettPraticaId()) || - !Validator.equals(tipologiaProfessione, - boSoggetto.getTipologiaProfessione()) || - (aggiuntivo != boSoggetto.getAggiuntivo())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(5 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(5); - } - - query.append(_SQL_SELECT_BOSOGGETTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_DETTPRATICAID_2); - - boolean bindTipologiaProfessione = false; - - if (tipologiaProfessione == null) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_TIPOLOGIAPROFESSIONE_1); - } - else if (tipologiaProfessione.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_TIPOLOGIAPROFESSIONE_3); - } - else { - bindTipologiaProfessione = true; - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_TIPOLOGIAPROFESSIONE_2); - } - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_AGGIUNTIVO_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoSoggettoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindTipologiaProfessione) { - qPos.add(tipologiaProfessione); - } - - qPos.add(aggiuntivo); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByDettPratica_TipologiaProfessione_Aggiuntivo_First( - long dettPraticaId, String tipologiaProfessione, boolean aggiuntivo, - OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = fetchByDettPratica_TipologiaProfessione_Aggiuntivo_First(dettPraticaId, - tipologiaProfessione, aggiuntivo, orderByComparator); - - if (boSoggetto != null) { - return boSoggetto; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(", tipologiaProfessione="); - msg.append(tipologiaProfessione); - - msg.append(", aggiuntivo="); - msg.append(aggiuntivo); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSoggettoException(msg.toString()); - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByDettPratica_TipologiaProfessione_Aggiuntivo_First( - long dettPraticaId, String tipologiaProfessione, boolean aggiuntivo, - OrderByComparator orderByComparator) throws SystemException { - List list = findByDettPratica_TipologiaProfessione_Aggiuntivo(dettPraticaId, - tipologiaProfessione, aggiuntivo, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByDettPratica_TipologiaProfessione_Aggiuntivo_Last( - long dettPraticaId, String tipologiaProfessione, boolean aggiuntivo, - OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = fetchByDettPratica_TipologiaProfessione_Aggiuntivo_Last(dettPraticaId, - tipologiaProfessione, aggiuntivo, orderByComparator); - - if (boSoggetto != null) { - return boSoggetto; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(", tipologiaProfessione="); - msg.append(tipologiaProfessione); - - msg.append(", aggiuntivo="); - msg.append(aggiuntivo); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSoggettoException(msg.toString()); - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByDettPratica_TipologiaProfessione_Aggiuntivo_Last( - long dettPraticaId, String tipologiaProfessione, boolean aggiuntivo, - OrderByComparator orderByComparator) throws SystemException { - int count = countByDettPratica_TipologiaProfessione_Aggiuntivo(dettPraticaId, - tipologiaProfessione, aggiuntivo); - - if (count == 0) { - return null; - } - - List list = findByDettPratica_TipologiaProfessione_Aggiuntivo(dettPraticaId, - tipologiaProfessione, aggiuntivo, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto[] findByDettPratica_TipologiaProfessione_Aggiuntivo_PrevAndNext( - long soggettoId, long dettPraticaId, String tipologiaProfessione, - boolean aggiuntivo, OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = findByPrimaryKey(soggettoId); - - Session session = null; - - try { - session = openSession(); - - BoSoggetto[] array = new BoSoggettoImpl[3]; - - array[0] = getByDettPratica_TipologiaProfessione_Aggiuntivo_PrevAndNext(session, - boSoggetto, dettPraticaId, tipologiaProfessione, - aggiuntivo, orderByComparator, true); - - array[1] = boSoggetto; - - array[2] = getByDettPratica_TipologiaProfessione_Aggiuntivo_PrevAndNext(session, - boSoggetto, dettPraticaId, tipologiaProfessione, - aggiuntivo, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoSoggetto getByDettPratica_TipologiaProfessione_Aggiuntivo_PrevAndNext( - Session session, BoSoggetto boSoggetto, long dettPraticaId, - String tipologiaProfessione, boolean aggiuntivo, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSOGGETTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_DETTPRATICAID_2); - - boolean bindTipologiaProfessione = false; - - if (tipologiaProfessione == null) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_TIPOLOGIAPROFESSIONE_1); - } - else if (tipologiaProfessione.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_TIPOLOGIAPROFESSIONE_3); - } - else { - bindTipologiaProfessione = true; - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_TIPOLOGIAPROFESSIONE_2); - } - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_AGGIUNTIVO_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoSoggettoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindTipologiaProfessione) { - qPos.add(tipologiaProfessione); - } - - qPos.add(aggiuntivo); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boSoggetto); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByDettPratica_TipologiaProfessione_Aggiuntivo( - long dettPraticaId, String tipologiaProfessione, boolean aggiuntivo) - throws SystemException { - for (BoSoggetto boSoggetto : findByDettPratica_TipologiaProfessione_Aggiuntivo( - dettPraticaId, tipologiaProfessione, aggiuntivo, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boSoggetto); - } - } - - /** - * Returns the number of bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByDettPratica_TipologiaProfessione_Aggiuntivo( - long dettPraticaId, String tipologiaProfessione, boolean aggiuntivo) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO; - - Object[] finderArgs = new Object[] { - dettPraticaId, tipologiaProfessione, aggiuntivo - }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_COUNT_BOSOGGETTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_DETTPRATICAID_2); - - boolean bindTipologiaProfessione = false; - - if (tipologiaProfessione == null) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_TIPOLOGIAPROFESSIONE_1); - } - else if (tipologiaProfessione.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_TIPOLOGIAPROFESSIONE_3); - } - else { - bindTipologiaProfessione = true; - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_TIPOLOGIAPROFESSIONE_2); - } - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_AGGIUNTIVO_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindTipologiaProfessione) { - qPos.add(tipologiaProfessione); - } - - qPos.add(aggiuntivo); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_DETTPRATICAID_2 = - "boSoggetto.dettPraticaId = ? AND "; - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_TIPOLOGIAPROFESSIONE_1 = - "boSoggetto.tipologiaProfessione IS NULL AND "; - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_TIPOLOGIAPROFESSIONE_2 = - "boSoggetto.tipologiaProfessione = ? AND "; - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_TIPOLOGIAPROFESSIONE_3 = - "(boSoggetto.tipologiaProfessione IS NULL OR boSoggetto.tipologiaProfessione = '') AND "; - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_AGGIUNTIVO_2 = - "boSoggetto.aggiuntivo = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO = - new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito", - new String[] { - Long.class.getName(), String.class.getName(), - Boolean.class.getName(), Boolean.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO = - new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, BoSoggettoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito", - new String[] { - Long.class.getName(), String.class.getName(), - Boolean.class.getName(), Boolean.class.getName() - }, - BoSoggettoModelImpl.DETTPRATICAID_COLUMN_BITMASK | - BoSoggettoModelImpl.TIPOLOGIAPROFESSIONE_COLUMN_BITMASK | - BoSoggettoModelImpl.AGGIUNTIVO_COLUMN_BITMASK | - BoSoggettoModelImpl.SOSTITUITO_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO = - new FinderPath(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito", - new String[] { - Long.class.getName(), String.class.getName(), - Boolean.class.getName(), Boolean.class.getName() - }); - - /** - * Returns all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @return the matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito( - long dettPraticaId, String tipologiaProfessione, boolean aggiuntivo, - boolean sostituito) throws SystemException { - return findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito(dettPraticaId, - tipologiaProfessione, aggiuntivo, sostituito, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito( - long dettPraticaId, String tipologiaProfessione, boolean aggiuntivo, - boolean sostituito, int start, int end) throws SystemException { - return findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito(dettPraticaId, - tipologiaProfessione, aggiuntivo, sostituito, start, end, null); - } - - /** - * Returns an ordered range of all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito( - long dettPraticaId, String tipologiaProfessione, boolean aggiuntivo, - boolean sostituito, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO; - finderArgs = new Object[] { - dettPraticaId, tipologiaProfessione, aggiuntivo, sostituito - }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO; - finderArgs = new Object[] { - dettPraticaId, tipologiaProfessione, aggiuntivo, sostituito, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoSoggetto boSoggetto : list) { - if ((dettPraticaId != boSoggetto.getDettPraticaId()) || - !Validator.equals(tipologiaProfessione, - boSoggetto.getTipologiaProfessione()) || - (aggiuntivo != boSoggetto.getAggiuntivo()) || - (sostituito != boSoggetto.getSostituito())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(6); - } - - query.append(_SQL_SELECT_BOSOGGETTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_DETTPRATICAID_2); - - boolean bindTipologiaProfessione = false; - - if (tipologiaProfessione == null) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_TIPOLOGIAPROFESSIONE_1); - } - else if (tipologiaProfessione.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_TIPOLOGIAPROFESSIONE_3); - } - else { - bindTipologiaProfessione = true; - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_TIPOLOGIAPROFESSIONE_2); - } - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_AGGIUNTIVO_2); - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_SOSTITUITO_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoSoggettoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindTipologiaProfessione) { - qPos.add(tipologiaProfessione); - } - - qPos.add(aggiuntivo); - - qPos.add(sostituito); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_First( - long dettPraticaId, String tipologiaProfessione, boolean aggiuntivo, - boolean sostituito, OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = fetchByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_First(dettPraticaId, - tipologiaProfessione, aggiuntivo, sostituito, orderByComparator); - - if (boSoggetto != null) { - return boSoggetto; - } - - StringBundler msg = new StringBundler(10); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(", tipologiaProfessione="); - msg.append(tipologiaProfessione); - - msg.append(", aggiuntivo="); - msg.append(aggiuntivo); - - msg.append(", sostituito="); - msg.append(sostituito); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSoggettoException(msg.toString()); - } - - /** - * Returns the first bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_First( - long dettPraticaId, String tipologiaProfessione, boolean aggiuntivo, - boolean sostituito, OrderByComparator orderByComparator) - throws SystemException { - List list = findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito(dettPraticaId, - tipologiaProfessione, aggiuntivo, sostituito, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_Last( - long dettPraticaId, String tipologiaProfessione, boolean aggiuntivo, - boolean sostituito, OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = fetchByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_Last(dettPraticaId, - tipologiaProfessione, aggiuntivo, sostituito, orderByComparator); - - if (boSoggetto != null) { - return boSoggetto; - } - - StringBundler msg = new StringBundler(10); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(", tipologiaProfessione="); - msg.append(tipologiaProfessione); - - msg.append(", aggiuntivo="); - msg.append(aggiuntivo); - - msg.append(", sostituito="); - msg.append(sostituito); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSoggettoException(msg.toString()); - } - - /** - * Returns the last bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo soggetto, or null if a matching bo soggetto could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_Last( - long dettPraticaId, String tipologiaProfessione, boolean aggiuntivo, - boolean sostituito, OrderByComparator orderByComparator) - throws SystemException { - int count = countByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito(dettPraticaId, - tipologiaProfessione, aggiuntivo, sostituito); - - if (count == 0) { - return null; - } - - List list = findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito(dettPraticaId, - tipologiaProfessione, aggiuntivo, sostituito, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo soggettos before and after the current bo soggetto in the ordered set where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param soggettoId the primary key of the current bo soggetto - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto[] findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_PrevAndNext( - long soggettoId, long dettPraticaId, String tipologiaProfessione, - boolean aggiuntivo, boolean sostituito, - OrderByComparator orderByComparator) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = findByPrimaryKey(soggettoId); - - Session session = null; - - try { - session = openSession(); - - BoSoggetto[] array = new BoSoggettoImpl[3]; - - array[0] = getByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_PrevAndNext(session, - boSoggetto, dettPraticaId, tipologiaProfessione, - aggiuntivo, sostituito, orderByComparator, true); - - array[1] = boSoggetto; - - array[2] = getByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_PrevAndNext(session, - boSoggetto, dettPraticaId, tipologiaProfessione, - aggiuntivo, sostituito, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoSoggetto getByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito_PrevAndNext( - Session session, BoSoggetto boSoggetto, long dettPraticaId, - String tipologiaProfessione, boolean aggiuntivo, boolean sostituito, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSOGGETTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_DETTPRATICAID_2); - - boolean bindTipologiaProfessione = false; - - if (tipologiaProfessione == null) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_TIPOLOGIAPROFESSIONE_1); - } - else if (tipologiaProfessione.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_TIPOLOGIAPROFESSIONE_3); - } - else { - bindTipologiaProfessione = true; - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_TIPOLOGIAPROFESSIONE_2); - } - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_AGGIUNTIVO_2); - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_SOSTITUITO_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoSoggettoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindTipologiaProfessione) { - qPos.add(tipologiaProfessione); - } - - qPos.add(aggiuntivo); - - qPos.add(sostituito); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boSoggetto); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito( - long dettPraticaId, String tipologiaProfessione, boolean aggiuntivo, - boolean sostituito) throws SystemException { - for (BoSoggetto boSoggetto : findByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito( - dettPraticaId, tipologiaProfessione, aggiuntivo, sostituito, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boSoggetto); - } - } - - /** - * Returns the number of bo soggettos where dettPraticaId = ? and tipologiaProfessione = ? and aggiuntivo = ? and sostituito = ?. - * - * @param dettPraticaId the dett pratica ID - * @param tipologiaProfessione the tipologia professione - * @param aggiuntivo the aggiuntivo - * @param sostituito the sostituito - * @return the number of matching bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByDettPratica_TipologiaProfessione_Aggiuntivo_Sostituito( - long dettPraticaId, String tipologiaProfessione, boolean aggiuntivo, - boolean sostituito) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO; - - Object[] finderArgs = new Object[] { - dettPraticaId, tipologiaProfessione, aggiuntivo, sostituito - }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(5); - - query.append(_SQL_COUNT_BOSOGGETTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_DETTPRATICAID_2); - - boolean bindTipologiaProfessione = false; - - if (tipologiaProfessione == null) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_TIPOLOGIAPROFESSIONE_1); - } - else if (tipologiaProfessione.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_TIPOLOGIAPROFESSIONE_3); - } - else { - bindTipologiaProfessione = true; - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_TIPOLOGIAPROFESSIONE_2); - } - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_AGGIUNTIVO_2); - - query.append(_FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_SOSTITUITO_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindTipologiaProfessione) { - qPos.add(tipologiaProfessione); - } - - qPos.add(aggiuntivo); - - qPos.add(sostituito); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_DETTPRATICAID_2 = - "boSoggetto.dettPraticaId = ? AND "; - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_TIPOLOGIAPROFESSIONE_1 = - "boSoggetto.tipologiaProfessione IS NULL AND "; - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_TIPOLOGIAPROFESSIONE_2 = - "boSoggetto.tipologiaProfessione = ? AND "; - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_TIPOLOGIAPROFESSIONE_3 = - "(boSoggetto.tipologiaProfessione IS NULL OR boSoggetto.tipologiaProfessione = '') AND "; - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_AGGIUNTIVO_2 = - "boSoggetto.aggiuntivo = ? AND "; - private static final String _FINDER_COLUMN_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO_SOSTITUITO_2 = - "boSoggetto.sostituito = ?"; - - public BoSoggettoPersistenceImpl() { - setModelClass(BoSoggetto.class); - } - - /** - * Caches the bo soggetto in the entity cache if it is enabled. - * - * @param boSoggetto the bo soggetto - */ - @Override - public void cacheResult(BoSoggetto boSoggetto) { - EntityCacheUtil.putResult(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoImpl.class, boSoggetto.getPrimaryKey(), boSoggetto); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - new Object[] { boSoggetto.getUuid(), boSoggetto.getGroupId() }, - boSoggetto); - - boSoggetto.resetOriginalValues(); - } - - /** - * Caches the bo soggettos in the entity cache if it is enabled. - * - * @param boSoggettos the bo soggettos - */ - @Override - public void cacheResult(List boSoggettos) { - for (BoSoggetto boSoggetto : boSoggettos) { - if (EntityCacheUtil.getResult( - BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoImpl.class, boSoggetto.getPrimaryKey()) == null) { - cacheResult(boSoggetto); - } - else { - boSoggetto.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all bo soggettos. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(BoSoggettoImpl.class.getName()); - } - - EntityCacheUtil.clearCache(BoSoggettoImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the bo soggetto. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(BoSoggetto boSoggetto) { - EntityCacheUtil.removeResult(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoImpl.class, boSoggetto.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(boSoggetto); - } - - @Override - public void clearCache(List boSoggettos) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (BoSoggetto boSoggetto : boSoggettos) { - EntityCacheUtil.removeResult(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoImpl.class, boSoggetto.getPrimaryKey()); - - clearUniqueFindersCache(boSoggetto); - } - } - - protected void cacheUniqueFindersCache(BoSoggetto boSoggetto) { - if (boSoggetto.isNew()) { - Object[] args = new Object[] { - boSoggetto.getUuid(), boSoggetto.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - boSoggetto); - } - else { - BoSoggettoModelImpl boSoggettoModelImpl = (BoSoggettoModelImpl)boSoggetto; - - if ((boSoggettoModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSoggetto.getUuid(), boSoggetto.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - boSoggetto); - } - } - } - - protected void clearUniqueFindersCache(BoSoggetto boSoggetto) { - BoSoggettoModelImpl boSoggettoModelImpl = (BoSoggettoModelImpl)boSoggetto; - - Object[] args = new Object[] { - boSoggetto.getUuid(), boSoggetto.getGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - - if ((boSoggettoModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - args = new Object[] { - boSoggettoModelImpl.getOriginalUuid(), - boSoggettoModelImpl.getOriginalGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - } - } - - /** - * Creates a new bo soggetto with the primary key. Does not add the bo soggetto to the database. - * - * @param soggettoId the primary key for the new bo soggetto - * @return the new bo soggetto - */ - @Override - public BoSoggetto create(long soggettoId) { - BoSoggetto boSoggetto = new BoSoggettoImpl(); - - boSoggetto.setNew(true); - boSoggetto.setPrimaryKey(soggettoId); - - String uuid = PortalUUIDUtil.generate(); - - boSoggetto.setUuid(uuid); - - return boSoggetto; - } - - /** - * Removes the bo soggetto with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param soggettoId the primary key of the bo soggetto - * @return the bo soggetto that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto remove(long soggettoId) - throws NoSuchBoSoggettoException, SystemException { - return remove((Serializable)soggettoId); - } - - /** - * Removes the bo soggetto with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the bo soggetto - * @return the bo soggetto that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto remove(Serializable primaryKey) - throws NoSuchBoSoggettoException, SystemException { - Session session = null; - - try { - session = openSession(); - - BoSoggetto boSoggetto = (BoSoggetto)session.get(BoSoggettoImpl.class, - primaryKey); - - if (boSoggetto == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoSoggettoException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(boSoggetto); - } - catch (NoSuchBoSoggettoException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected BoSoggetto removeImpl(BoSoggetto boSoggetto) - throws SystemException { - boSoggetto = toUnwrappedModel(boSoggetto); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(boSoggetto)) { - boSoggetto = (BoSoggetto)session.get(BoSoggettoImpl.class, - boSoggetto.getPrimaryKeyObj()); - } - - if (boSoggetto != null) { - session.delete(boSoggetto); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (boSoggetto != null) { - clearCache(boSoggetto); - } - - return boSoggetto; - } - - @Override - public BoSoggetto updateImpl( - it.tref.liferay.portos.portosimport.model.BoSoggetto boSoggetto) - throws SystemException { - boSoggetto = toUnwrappedModel(boSoggetto); - - boolean isNew = boSoggetto.isNew(); - - BoSoggettoModelImpl boSoggettoModelImpl = (BoSoggettoModelImpl)boSoggetto; - - if (Validator.isNull(boSoggetto.getUuid())) { - String uuid = PortalUUIDUtil.generate(); - - boSoggetto.setUuid(uuid); - } - - Session session = null; - - try { - session = openSession(); - - if (boSoggetto.isNew()) { - session.save(boSoggetto); - - boSoggetto.setNew(false); - } - else { - session.merge(boSoggetto); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !BoSoggettoModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((boSoggettoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSoggettoModelImpl.getOriginalUuid() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - - args = new Object[] { boSoggettoModelImpl.getUuid() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - } - - if ((boSoggettoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSoggettoModelImpl.getOriginalUuid(), - boSoggettoModelImpl.getOriginalCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - - args = new Object[] { - boSoggettoModelImpl.getUuid(), - boSoggettoModelImpl.getCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - } - - if ((boSoggettoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSoggettoModelImpl.getOriginalDettPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA, - args); - - args = new Object[] { boSoggettoModelImpl.getDettPraticaId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA, - args); - } - - if ((boSoggettoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_SOSTITUITO.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSoggettoModelImpl.getOriginalDettPraticaId(), - boSoggettoModelImpl.getOriginalSostituito() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICA_SOSTITUITO, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_SOSTITUITO, - args); - - args = new Object[] { - boSoggettoModelImpl.getDettPraticaId(), - boSoggettoModelImpl.getSostituito() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICA_SOSTITUITO, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_SOSTITUITO, - args); - } - - if ((boSoggettoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSoggettoModelImpl.getOriginalDettPraticaId(), - boSoggettoModelImpl.getOriginalTipologiaProfessione() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE, - args); - - args = new Object[] { - boSoggettoModelImpl.getDettPraticaId(), - boSoggettoModelImpl.getTipologiaProfessione() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE, - args); - } - - if ((boSoggettoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSoggettoModelImpl.getOriginalDettPraticaId(), - boSoggettoModelImpl.getOriginalTipologiaProfessione(), - boSoggettoModelImpl.getOriginalSostituito() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO, - args); - - args = new Object[] { - boSoggettoModelImpl.getDettPraticaId(), - boSoggettoModelImpl.getTipologiaProfessione(), - boSoggettoModelImpl.getSostituito() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_CODICEFISCALE_SOSTITUITO, - args); - } - - if ((boSoggettoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSoggettoModelImpl.getOriginalDettPraticaId(), - boSoggettoModelImpl.getOriginalTipologiaProfessione(), - boSoggettoModelImpl.getOriginalAggiuntivo() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO, - args); - - args = new Object[] { - boSoggettoModelImpl.getDettPraticaId(), - boSoggettoModelImpl.getTipologiaProfessione(), - boSoggettoModelImpl.getAggiuntivo() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO, - args); - } - - if ((boSoggettoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSoggettoModelImpl.getOriginalDettPraticaId(), - boSoggettoModelImpl.getOriginalTipologiaProfessione(), - boSoggettoModelImpl.getOriginalAggiuntivo(), - boSoggettoModelImpl.getOriginalSostituito() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO, - args); - - args = new Object[] { - boSoggettoModelImpl.getDettPraticaId(), - boSoggettoModelImpl.getTipologiaProfessione(), - boSoggettoModelImpl.getAggiuntivo(), - boSoggettoModelImpl.getSostituito() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICA_TIPOLOGIAPROFESSIONE_AGGIUNTIVO_SOSTITUITO, - args); - } - } - - EntityCacheUtil.putResult(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoImpl.class, boSoggetto.getPrimaryKey(), boSoggetto); - - clearUniqueFindersCache(boSoggetto); - cacheUniqueFindersCache(boSoggetto); - - return boSoggetto; - } - - protected BoSoggetto toUnwrappedModel(BoSoggetto boSoggetto) { - if (boSoggetto instanceof BoSoggettoImpl) { - return boSoggetto; - } - - BoSoggettoImpl boSoggettoImpl = new BoSoggettoImpl(); - - boSoggettoImpl.setNew(boSoggetto.isNew()); - boSoggettoImpl.setPrimaryKey(boSoggetto.getPrimaryKey()); - - boSoggettoImpl.setUuid(boSoggetto.getUuid()); - boSoggettoImpl.setSoggettoId(boSoggetto.getSoggettoId()); - boSoggettoImpl.setCompanyId(boSoggetto.getCompanyId()); - boSoggettoImpl.setUserId(boSoggetto.getUserId()); - boSoggettoImpl.setUserName(boSoggetto.getUserName()); - boSoggettoImpl.setCreateDate(boSoggetto.getCreateDate()); - boSoggettoImpl.setModifiedDate(boSoggetto.getModifiedDate()); - boSoggettoImpl.setGroupId(boSoggetto.getGroupId()); - boSoggettoImpl.setDettPraticaId(boSoggetto.getDettPraticaId()); - boSoggettoImpl.setNome(boSoggetto.getNome()); - boSoggettoImpl.setCognome(boSoggetto.getCognome()); - boSoggettoImpl.setCodiceFiscale(boSoggetto.getCodiceFiscale()); - boSoggettoImpl.setCodiceFiscaleDelegato(boSoggetto.getCodiceFiscaleDelegato()); - boSoggettoImpl.setDataNascita(boSoggetto.getDataNascita()); - boSoggettoImpl.setComuneNascita(boSoggetto.getComuneNascita()); - boSoggettoImpl.setComuneDomicilio(boSoggetto.getComuneDomicilio()); - boSoggettoImpl.setProvinciaDomicilio(boSoggetto.getProvinciaDomicilio()); - boSoggettoImpl.setViaDomicilio(boSoggetto.getViaDomicilio()); - boSoggettoImpl.setNumeroCivicoDomicilio(boSoggetto.getNumeroCivicoDomicilio()); - boSoggettoImpl.setCapDomicilio(boSoggetto.getCapDomicilio()); - boSoggettoImpl.setDomicilioExtra(boSoggetto.getDomicilioExtra()); - boSoggettoImpl.setComune(boSoggetto.getComune()); - boSoggettoImpl.setProvincia(boSoggetto.getProvincia()); - boSoggettoImpl.setVia(boSoggetto.getVia()); - boSoggettoImpl.setNumeroCivico(boSoggetto.getNumeroCivico()); - boSoggettoImpl.setCap(boSoggetto.getCap()); - boSoggettoImpl.setDenominazione(boSoggetto.getDenominazione()); - boSoggettoImpl.setSedeLegale(boSoggetto.getSedeLegale()); - boSoggettoImpl.setLegaleRap(boSoggetto.getLegaleRap()); - boSoggettoImpl.setDataNascitaRap(boSoggetto.getDataNascitaRap()); - boSoggettoImpl.setComuneNascitaRap(boSoggetto.getComuneNascitaRap()); - boSoggettoImpl.setViaRap(boSoggetto.getViaRap()); - boSoggettoImpl.setNumeroCivicoRap(boSoggetto.getNumeroCivicoRap()); - boSoggettoImpl.setCapRap(boSoggetto.getCapRap()); - boSoggettoImpl.setProvinciaRap(boSoggetto.getProvinciaRap()); - boSoggettoImpl.setComuneRap(boSoggetto.getComuneRap()); - boSoggettoImpl.setAlbo(boSoggetto.getAlbo()); - boSoggettoImpl.setRegAlbo(boSoggetto.getRegAlbo()); - boSoggettoImpl.setProvAlbo(boSoggetto.getProvAlbo()); - boSoggettoImpl.setNumIscrAlbo(boSoggetto.getNumIscrAlbo()); - boSoggettoImpl.setTelefono(boSoggetto.getTelefono()); - boSoggettoImpl.setFax(boSoggetto.getFax()); - boSoggettoImpl.setEmail(boSoggetto.getEmail()); - boSoggettoImpl.setTipologiaSoggetto(boSoggetto.getTipologiaSoggetto()); - boSoggettoImpl.setTipologiaProfessione(boSoggetto.getTipologiaProfessione()); - boSoggettoImpl.setAggiuntivo(boSoggetto.isAggiuntivo()); - boSoggettoImpl.setSostituito(boSoggetto.isSostituito()); - - return boSoggettoImpl; - } - - /** - * Returns the bo soggetto with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the bo soggetto - * @return the bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByPrimaryKey(Serializable primaryKey) - throws NoSuchBoSoggettoException, SystemException { - BoSoggetto boSoggetto = fetchByPrimaryKey(primaryKey); - - if (boSoggetto == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoSoggettoException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return boSoggetto; - } - - /** - * Returns the bo soggetto with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException} if it could not be found. - * - * @param soggettoId the primary key of the bo soggetto - * @return the bo soggetto - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSoggettoException if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto findByPrimaryKey(long soggettoId) - throws NoSuchBoSoggettoException, SystemException { - return findByPrimaryKey((Serializable)soggettoId); - } - - /** - * Returns the bo soggetto with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the bo soggetto - * @return the bo soggetto, or null if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - BoSoggetto boSoggetto = (BoSoggetto)EntityCacheUtil.getResult(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoImpl.class, primaryKey); - - if (boSoggetto == _nullBoSoggetto) { - return null; - } - - if (boSoggetto == null) { - Session session = null; - - try { - session = openSession(); - - boSoggetto = (BoSoggetto)session.get(BoSoggettoImpl.class, - primaryKey); - - if (boSoggetto != null) { - cacheResult(boSoggetto); - } - else { - EntityCacheUtil.putResult(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoImpl.class, primaryKey, _nullBoSoggetto); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(BoSoggettoModelImpl.ENTITY_CACHE_ENABLED, - BoSoggettoImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return boSoggetto; - } - - /** - * Returns the bo soggetto with the primary key or returns null if it could not be found. - * - * @param soggettoId the primary key of the bo soggetto - * @return the bo soggetto, or null if a bo soggetto with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSoggetto fetchByPrimaryKey(long soggettoId) - throws SystemException { - return fetchByPrimaryKey((Serializable)soggettoId); - } - - /** - * Returns all the bo soggettos. - * - * @return the bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo soggettos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @return the range of bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the bo soggettos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSoggettoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo soggettos - * @param end the upper bound of the range of bo soggettos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_BOSOGGETTO); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_BOSOGGETTO; - - if (pagination) { - sql = sql.concat(BoSoggettoModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the bo soggettos from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (BoSoggetto boSoggetto : findAll()) { - remove(boSoggetto); - } - } - - /** - * Returns the number of bo soggettos. - * - * @return the number of bo soggettos - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_BOSOGGETTO); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - @Override - protected Set getBadColumnNames() { - return _badColumnNames; - } - - /** - * Initializes the bo soggetto persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.portosimport.model.BoSoggetto"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(BoSoggettoImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_BOSOGGETTO = "SELECT boSoggetto FROM BoSoggetto boSoggetto"; - private static final String _SQL_SELECT_BOSOGGETTO_WHERE = "SELECT boSoggetto FROM BoSoggetto boSoggetto WHERE "; - private static final String _SQL_COUNT_BOSOGGETTO = "SELECT COUNT(boSoggetto) FROM BoSoggetto boSoggetto"; - private static final String _SQL_COUNT_BOSOGGETTO_WHERE = "SELECT COUNT(boSoggetto) FROM BoSoggetto boSoggetto WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "boSoggetto."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No BoSoggetto exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No BoSoggetto exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(BoSoggettoPersistenceImpl.class); - private static Set _badColumnNames = SetUtil.fromArray(new String[] { - "uuid" - }); - private static BoSoggetto _nullBoSoggetto = new BoSoggettoImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullBoSoggettoCacheModel; - } - }; - - private static CacheModel _nullBoSoggettoCacheModel = new CacheModel() { - @Override - public BoSoggetto toEntityModel() { - return _nullBoSoggetto; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoSorteggioPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoSorteggioPersistenceImpl.java deleted file mode 100644 index b76be2c7..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoSorteggioPersistenceImpl.java +++ /dev/null @@ -1,3420 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.SetUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.kernel.uuid.PortalUUIDUtil; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException; -import it.tref.liferay.portos.portosimport.model.BoSorteggio; -import it.tref.liferay.portos.portosimport.model.impl.BoSorteggioImpl; -import it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Set; - -/** - * The persistence implementation for the bo sorteggio service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoSorteggioPersistence - * @see BoSorteggioUtil - * @generated - */ -public class BoSorteggioPersistenceImpl extends BasePersistenceImpl - implements BoSorteggioPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link BoSorteggioUtil} to access the bo sorteggio persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = BoSorteggioImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioModelImpl.FINDER_CACHE_ENABLED, BoSorteggioImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioModelImpl.FINDER_CACHE_ENABLED, BoSorteggioImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID = new FinderPath(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioModelImpl.FINDER_CACHE_ENABLED, BoSorteggioImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByUuid", - new String[] { - String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID = new FinderPath(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioModelImpl.FINDER_CACHE_ENABLED, BoSorteggioImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByUuid", - new String[] { String.class.getName() }, - BoSorteggioModelImpl.UUID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID = new FinderPath(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid", - new String[] { String.class.getName() }); - - /** - * Returns all the bo sorteggios where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid) throws SystemException { - return findByUuid(uuid, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo sorteggios where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end) - throws SystemException { - return findByUuid(uuid, start, end, null); - } - - /** - * Returns an ordered range of all the bo sorteggios where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoSorteggio boSorteggio : list) { - if (!Validator.equals(uuid, boSorteggio.getUuid())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSORTEGGIO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoSorteggioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo sorteggio in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio findByUuid_First(String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoSorteggioException, SystemException { - BoSorteggio boSorteggio = fetchByUuid_First(uuid, orderByComparator); - - if (boSorteggio != null) { - return boSorteggio; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSorteggioException(msg.toString()); - } - - /** - * Returns the first bo sorteggio in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio fetchByUuid_First(String uuid, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid(uuid, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo sorteggio in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio findByUuid_Last(String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoSorteggioException, SystemException { - BoSorteggio boSorteggio = fetchByUuid_Last(uuid, orderByComparator); - - if (boSorteggio != null) { - return boSorteggio; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSorteggioException(msg.toString()); - } - - /** - * Returns the last bo sorteggio in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio fetchByUuid_Last(String uuid, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid(uuid); - - if (count == 0) { - return null; - } - - List list = findByUuid(uuid, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo sorteggios before and after the current bo sorteggio in the ordered set where uuid = ?. - * - * @param sorteggioId the primary key of the current bo sorteggio - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio[] findByUuid_PrevAndNext(long sorteggioId, String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoSorteggioException, SystemException { - BoSorteggio boSorteggio = findByPrimaryKey(sorteggioId); - - Session session = null; - - try { - session = openSession(); - - BoSorteggio[] array = new BoSorteggioImpl[3]; - - array[0] = getByUuid_PrevAndNext(session, boSorteggio, uuid, - orderByComparator, true); - - array[1] = boSorteggio; - - array[2] = getByUuid_PrevAndNext(session, boSorteggio, uuid, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoSorteggio getByUuid_PrevAndNext(Session session, - BoSorteggio boSorteggio, String uuid, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSORTEGGIO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoSorteggioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boSorteggio); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo sorteggios where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid(String uuid) throws SystemException { - for (BoSorteggio boSorteggio : findByUuid(uuid, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(boSorteggio); - } - } - - /** - * Returns the number of bo sorteggios where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid(String uuid) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID; - - Object[] finderArgs = new Object[] { uuid }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BOSORTEGGIO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_UUID_1 = "boSorteggio.uuid IS NULL"; - private static final String _FINDER_COLUMN_UUID_UUID_2 = "boSorteggio.uuid = ?"; - private static final String _FINDER_COLUMN_UUID_UUID_3 = "(boSorteggio.uuid IS NULL OR boSorteggio.uuid = '')"; - public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G = new FinderPath(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioModelImpl.FINDER_CACHE_ENABLED, BoSorteggioImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }, - BoSorteggioModelImpl.UUID_COLUMN_BITMASK | - BoSorteggioModelImpl.GROUPID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G = new FinderPath(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns the bo sorteggio where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio findByUUID_G(String uuid, long groupId) - throws NoSuchBoSorteggioException, SystemException { - BoSorteggio boSorteggio = fetchByUUID_G(uuid, groupId); - - if (boSorteggio == null) { - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoSorteggioException(msg.toString()); - } - - return boSorteggio; - } - - /** - * Returns the bo sorteggio where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio fetchByUUID_G(String uuid, long groupId) - throws SystemException { - return fetchByUUID_G(uuid, groupId, true); - } - - /** - * Returns the bo sorteggio where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio fetchByUUID_G(String uuid, long groupId, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { uuid, groupId }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, this); - } - - if (result instanceof BoSorteggio) { - BoSorteggio boSorteggio = (BoSorteggio)result; - - if (!Validator.equals(uuid, boSorteggio.getUuid()) || - (groupId != boSorteggio.getGroupId())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_SELECT_BOSORTEGGIO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, list); - } - else { - BoSorteggio boSorteggio = list.get(0); - - result = boSorteggio; - - cacheResult(boSorteggio); - - if ((boSorteggio.getUuid() == null) || - !boSorteggio.getUuid().equals(uuid) || - (boSorteggio.getGroupId() != groupId)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, boSorteggio); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoSorteggio)result; - } - } - - /** - * Removes the bo sorteggio where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo sorteggio that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio removeByUUID_G(String uuid, long groupId) - throws NoSuchBoSorteggioException, SystemException { - BoSorteggio boSorteggio = findByUUID_G(uuid, groupId); - - return remove(boSorteggio); - } - - /** - * Returns the number of bo sorteggios where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUUID_G(String uuid, long groupId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_G; - - Object[] finderArgs = new Object[] { uuid, groupId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOSORTEGGIO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_G_UUID_1 = "boSorteggio.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_2 = "boSorteggio.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_3 = "(boSorteggio.uuid IS NULL OR boSorteggio.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_G_GROUPID_2 = "boSorteggio.groupId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C = new FinderPath(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioModelImpl.FINDER_CACHE_ENABLED, BoSorteggioImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByUuid_C", - new String[] { - String.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C = - new FinderPath(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioModelImpl.FINDER_CACHE_ENABLED, BoSorteggioImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }, - BoSorteggioModelImpl.UUID_COLUMN_BITMASK | - BoSorteggioModelImpl.COMPANYID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C = new FinderPath(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns all the bo sorteggios where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId) - throws SystemException { - return findByUuid_C(uuid, companyId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo sorteggios where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, - int start, int end) throws SystemException { - return findByUuid_C(uuid, companyId, start, end, null); - } - - /** - * Returns an ordered range of all the bo sorteggios where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { uuid, companyId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { - uuid, companyId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoSorteggio boSorteggio : list) { - if (!Validator.equals(uuid, boSorteggio.getUuid()) || - (companyId != boSorteggio.getCompanyId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_BOSORTEGGIO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoSorteggioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo sorteggio in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio findByUuid_C_First(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchBoSorteggioException, SystemException { - BoSorteggio boSorteggio = fetchByUuid_C_First(uuid, companyId, - orderByComparator); - - if (boSorteggio != null) { - return boSorteggio; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSorteggioException(msg.toString()); - } - - /** - * Returns the first bo sorteggio in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio fetchByUuid_C_First(String uuid, long companyId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid_C(uuid, companyId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo sorteggio in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio findByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchBoSorteggioException, SystemException { - BoSorteggio boSorteggio = fetchByUuid_C_Last(uuid, companyId, - orderByComparator); - - if (boSorteggio != null) { - return boSorteggio; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSorteggioException(msg.toString()); - } - - /** - * Returns the last bo sorteggio in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio fetchByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid_C(uuid, companyId); - - if (count == 0) { - return null; - } - - List list = findByUuid_C(uuid, companyId, count - 1, - count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo sorteggios before and after the current bo sorteggio in the ordered set where uuid = ? and companyId = ?. - * - * @param sorteggioId the primary key of the current bo sorteggio - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio[] findByUuid_C_PrevAndNext(long sorteggioId, - String uuid, long companyId, OrderByComparator orderByComparator) - throws NoSuchBoSorteggioException, SystemException { - BoSorteggio boSorteggio = findByPrimaryKey(sorteggioId); - - Session session = null; - - try { - session = openSession(); - - BoSorteggio[] array = new BoSorteggioImpl[3]; - - array[0] = getByUuid_C_PrevAndNext(session, boSorteggio, uuid, - companyId, orderByComparator, true); - - array[1] = boSorteggio; - - array[2] = getByUuid_C_PrevAndNext(session, boSorteggio, uuid, - companyId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoSorteggio getByUuid_C_PrevAndNext(Session session, - BoSorteggio boSorteggio, String uuid, long companyId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSORTEGGIO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoSorteggioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boSorteggio); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo sorteggios where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid_C(String uuid, long companyId) - throws SystemException { - for (BoSorteggio boSorteggio : findByUuid_C(uuid, companyId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boSorteggio); - } - } - - /** - * Returns the number of bo sorteggios where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid_C(String uuid, long companyId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_C; - - Object[] finderArgs = new Object[] { uuid, companyId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOSORTEGGIO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_C_UUID_1 = "boSorteggio.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_2 = "boSorteggio.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_3 = "(boSorteggio.uuid IS NULL OR boSorteggio.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_C_COMPANYID_2 = "boSorteggio.companyId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_DETTPRATICA = - new FinderPath(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioModelImpl.FINDER_CACHE_ENABLED, BoSorteggioImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByC_DettPratica", - new String[] { - Long.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_DETTPRATICA = - new FinderPath(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioModelImpl.FINDER_CACHE_ENABLED, BoSorteggioImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByC_DettPratica", - new String[] { Long.class.getName(), Long.class.getName() }, - BoSorteggioModelImpl.COMPANYID_COLUMN_BITMASK | - BoSorteggioModelImpl.DETTPRATICAID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_C_DETTPRATICA = new FinderPath(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByC_DettPratica", - new String[] { Long.class.getName(), Long.class.getName() }); - - /** - * Returns all the bo sorteggios where companyId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @return the matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_DettPratica(long companyId, - long dettPraticaId) throws SystemException { - return findByC_DettPratica(companyId, dettPraticaId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo sorteggios where companyId = ? and dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_DettPratica(long companyId, - long dettPraticaId, int start, int end) throws SystemException { - return findByC_DettPratica(companyId, dettPraticaId, start, end, null); - } - - /** - * Returns an ordered range of all the bo sorteggios where companyId = ? and dettPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_DettPratica(long companyId, - long dettPraticaId, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_DETTPRATICA; - finderArgs = new Object[] { companyId, dettPraticaId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_C_DETTPRATICA; - finderArgs = new Object[] { - companyId, dettPraticaId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoSorteggio boSorteggio : list) { - if ((companyId != boSorteggio.getCompanyId()) || - (dettPraticaId != boSorteggio.getDettPraticaId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_BOSORTEGGIO_WHERE); - - query.append(_FINDER_COLUMN_C_DETTPRATICA_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_DETTPRATICA_DETTPRATICAID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoSorteggioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(dettPraticaId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo sorteggio in the ordered set where companyId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio findByC_DettPratica_First(long companyId, - long dettPraticaId, OrderByComparator orderByComparator) - throws NoSuchBoSorteggioException, SystemException { - BoSorteggio boSorteggio = fetchByC_DettPratica_First(companyId, - dettPraticaId, orderByComparator); - - if (boSorteggio != null) { - return boSorteggio; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSorteggioException(msg.toString()); - } - - /** - * Returns the first bo sorteggio in the ordered set where companyId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio fetchByC_DettPratica_First(long companyId, - long dettPraticaId, OrderByComparator orderByComparator) - throws SystemException { - List list = findByC_DettPratica(companyId, dettPraticaId, - 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo sorteggio in the ordered set where companyId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio findByC_DettPratica_Last(long companyId, - long dettPraticaId, OrderByComparator orderByComparator) - throws NoSuchBoSorteggioException, SystemException { - BoSorteggio boSorteggio = fetchByC_DettPratica_Last(companyId, - dettPraticaId, orderByComparator); - - if (boSorteggio != null) { - return boSorteggio; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSorteggioException(msg.toString()); - } - - /** - * Returns the last bo sorteggio in the ordered set where companyId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio fetchByC_DettPratica_Last(long companyId, - long dettPraticaId, OrderByComparator orderByComparator) - throws SystemException { - int count = countByC_DettPratica(companyId, dettPraticaId); - - if (count == 0) { - return null; - } - - List list = findByC_DettPratica(companyId, dettPraticaId, - count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo sorteggios before and after the current bo sorteggio in the ordered set where companyId = ? and dettPraticaId = ?. - * - * @param sorteggioId the primary key of the current bo sorteggio - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio[] findByC_DettPratica_PrevAndNext(long sorteggioId, - long companyId, long dettPraticaId, OrderByComparator orderByComparator) - throws NoSuchBoSorteggioException, SystemException { - BoSorteggio boSorteggio = findByPrimaryKey(sorteggioId); - - Session session = null; - - try { - session = openSession(); - - BoSorteggio[] array = new BoSorteggioImpl[3]; - - array[0] = getByC_DettPratica_PrevAndNext(session, boSorteggio, - companyId, dettPraticaId, orderByComparator, true); - - array[1] = boSorteggio; - - array[2] = getByC_DettPratica_PrevAndNext(session, boSorteggio, - companyId, dettPraticaId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoSorteggio getByC_DettPratica_PrevAndNext(Session session, - BoSorteggio boSorteggio, long companyId, long dettPraticaId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSORTEGGIO_WHERE); - - query.append(_FINDER_COLUMN_C_DETTPRATICA_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_DETTPRATICA_DETTPRATICAID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoSorteggioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(dettPraticaId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boSorteggio); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo sorteggios where companyId = ? and dettPraticaId = ? from the database. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByC_DettPratica(long companyId, long dettPraticaId) - throws SystemException { - for (BoSorteggio boSorteggio : findByC_DettPratica(companyId, - dettPraticaId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boSorteggio); - } - } - - /** - * Returns the number of bo sorteggios where companyId = ? and dettPraticaId = ?. - * - * @param companyId the company ID - * @param dettPraticaId the dett pratica ID - * @return the number of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_DettPratica(long companyId, long dettPraticaId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_C_DETTPRATICA; - - Object[] finderArgs = new Object[] { companyId, dettPraticaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOSORTEGGIO_WHERE); - - query.append(_FINDER_COLUMN_C_DETTPRATICA_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_DETTPRATICA_DETTPRATICAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(dettPraticaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_C_DETTPRATICA_COMPANYID_2 = "boSorteggio.companyId = ? AND "; - private static final String _FINDER_COLUMN_C_DETTPRATICA_DETTPRATICAID_2 = "boSorteggio.dettPraticaId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID_ANNO_MESE = - new FinderPath(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioModelImpl.FINDER_CACHE_ENABLED, BoSorteggioImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByGroupId_Anno_Mese", - new String[] { - Long.class.getName(), String.class.getName(), - String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID_ANNO_MESE = - new FinderPath(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioModelImpl.FINDER_CACHE_ENABLED, BoSorteggioImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByGroupId_Anno_Mese", - new String[] { - Long.class.getName(), String.class.getName(), - String.class.getName() - }, - BoSorteggioModelImpl.GROUPID_COLUMN_BITMASK | - BoSorteggioModelImpl.ANNO_COLUMN_BITMASK | - BoSorteggioModelImpl.MESE_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID_ANNO_MESE = new FinderPath(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByGroupId_Anno_Mese", - new String[] { - Long.class.getName(), String.class.getName(), - String.class.getName() - }); - - /** - * Returns all the bo sorteggios where groupId = ? and anno = ? and mese = ?. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @return the matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByGroupId_Anno_Mese(long groupId, String anno, - String mese) throws SystemException { - return findByGroupId_Anno_Mese(groupId, anno, mese, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo sorteggios where groupId = ? and anno = ? and mese = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByGroupId_Anno_Mese(long groupId, String anno, - String mese, int start, int end) throws SystemException { - return findByGroupId_Anno_Mese(groupId, anno, mese, start, end, null); - } - - /** - * Returns an ordered range of all the bo sorteggios where groupId = ? and anno = ? and mese = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByGroupId_Anno_Mese(long groupId, String anno, - String mese, int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID_ANNO_MESE; - finderArgs = new Object[] { groupId, anno, mese }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID_ANNO_MESE; - finderArgs = new Object[] { - groupId, anno, mese, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoSorteggio boSorteggio : list) { - if ((groupId != boSorteggio.getGroupId()) || - !Validator.equals(anno, boSorteggio.getAnno()) || - !Validator.equals(mese, boSorteggio.getMese())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(5 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(5); - } - - query.append(_SQL_SELECT_BOSORTEGGIO_WHERE); - - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_GROUPID_2); - - boolean bindAnno = false; - - if (anno == null) { - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_ANNO_1); - } - else if (anno.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_ANNO_3); - } - else { - bindAnno = true; - - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_ANNO_2); - } - - boolean bindMese = false; - - if (mese == null) { - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_MESE_1); - } - else if (mese.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_MESE_3); - } - else { - bindMese = true; - - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_MESE_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoSorteggioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(groupId); - - if (bindAnno) { - qPos.add(anno); - } - - if (bindMese) { - qPos.add(mese); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo sorteggio in the ordered set where groupId = ? and anno = ? and mese = ?. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio findByGroupId_Anno_Mese_First(long groupId, String anno, - String mese, OrderByComparator orderByComparator) - throws NoSuchBoSorteggioException, SystemException { - BoSorteggio boSorteggio = fetchByGroupId_Anno_Mese_First(groupId, anno, - mese, orderByComparator); - - if (boSorteggio != null) { - return boSorteggio; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("groupId="); - msg.append(groupId); - - msg.append(", anno="); - msg.append(anno); - - msg.append(", mese="); - msg.append(mese); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSorteggioException(msg.toString()); - } - - /** - * Returns the first bo sorteggio in the ordered set where groupId = ? and anno = ? and mese = ?. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio fetchByGroupId_Anno_Mese_First(long groupId, - String anno, String mese, OrderByComparator orderByComparator) - throws SystemException { - List list = findByGroupId_Anno_Mese(groupId, anno, mese, - 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo sorteggio in the ordered set where groupId = ? and anno = ? and mese = ?. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio findByGroupId_Anno_Mese_Last(long groupId, String anno, - String mese, OrderByComparator orderByComparator) - throws NoSuchBoSorteggioException, SystemException { - BoSorteggio boSorteggio = fetchByGroupId_Anno_Mese_Last(groupId, anno, - mese, orderByComparator); - - if (boSorteggio != null) { - return boSorteggio; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("groupId="); - msg.append(groupId); - - msg.append(", anno="); - msg.append(anno); - - msg.append(", mese="); - msg.append(mese); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoSorteggioException(msg.toString()); - } - - /** - * Returns the last bo sorteggio in the ordered set where groupId = ? and anno = ? and mese = ?. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo sorteggio, or null if a matching bo sorteggio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio fetchByGroupId_Anno_Mese_Last(long groupId, String anno, - String mese, OrderByComparator orderByComparator) - throws SystemException { - int count = countByGroupId_Anno_Mese(groupId, anno, mese); - - if (count == 0) { - return null; - } - - List list = findByGroupId_Anno_Mese(groupId, anno, mese, - count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo sorteggios before and after the current bo sorteggio in the ordered set where groupId = ? and anno = ? and mese = ?. - * - * @param sorteggioId the primary key of the current bo sorteggio - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio[] findByGroupId_Anno_Mese_PrevAndNext(long sorteggioId, - long groupId, String anno, String mese, - OrderByComparator orderByComparator) - throws NoSuchBoSorteggioException, SystemException { - BoSorteggio boSorteggio = findByPrimaryKey(sorteggioId); - - Session session = null; - - try { - session = openSession(); - - BoSorteggio[] array = new BoSorteggioImpl[3]; - - array[0] = getByGroupId_Anno_Mese_PrevAndNext(session, boSorteggio, - groupId, anno, mese, orderByComparator, true); - - array[1] = boSorteggio; - - array[2] = getByGroupId_Anno_Mese_PrevAndNext(session, boSorteggio, - groupId, anno, mese, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoSorteggio getByGroupId_Anno_Mese_PrevAndNext(Session session, - BoSorteggio boSorteggio, long groupId, String anno, String mese, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSORTEGGIO_WHERE); - - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_GROUPID_2); - - boolean bindAnno = false; - - if (anno == null) { - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_ANNO_1); - } - else if (anno.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_ANNO_3); - } - else { - bindAnno = true; - - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_ANNO_2); - } - - boolean bindMese = false; - - if (mese == null) { - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_MESE_1); - } - else if (mese.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_MESE_3); - } - else { - bindMese = true; - - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_MESE_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoSorteggioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(groupId); - - if (bindAnno) { - qPos.add(anno); - } - - if (bindMese) { - qPos.add(mese); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boSorteggio); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo sorteggios where groupId = ? and anno = ? and mese = ? from the database. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByGroupId_Anno_Mese(long groupId, String anno, String mese) - throws SystemException { - for (BoSorteggio boSorteggio : findByGroupId_Anno_Mese(groupId, anno, - mese, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boSorteggio); - } - } - - /** - * Returns the number of bo sorteggios where groupId = ? and anno = ? and mese = ?. - * - * @param groupId the group ID - * @param anno the anno - * @param mese the mese - * @return the number of matching bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public int countByGroupId_Anno_Mese(long groupId, String anno, String mese) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_GROUPID_ANNO_MESE; - - Object[] finderArgs = new Object[] { groupId, anno, mese }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_COUNT_BOSORTEGGIO_WHERE); - - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_GROUPID_2); - - boolean bindAnno = false; - - if (anno == null) { - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_ANNO_1); - } - else if (anno.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_ANNO_3); - } - else { - bindAnno = true; - - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_ANNO_2); - } - - boolean bindMese = false; - - if (mese == null) { - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_MESE_1); - } - else if (mese.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_MESE_3); - } - else { - bindMese = true; - - query.append(_FINDER_COLUMN_GROUPID_ANNO_MESE_MESE_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(groupId); - - if (bindAnno) { - qPos.add(anno); - } - - if (bindMese) { - qPos.add(mese); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_GROUPID_ANNO_MESE_GROUPID_2 = "boSorteggio.groupId = ? AND "; - private static final String _FINDER_COLUMN_GROUPID_ANNO_MESE_ANNO_1 = "boSorteggio.anno IS NULL AND "; - private static final String _FINDER_COLUMN_GROUPID_ANNO_MESE_ANNO_2 = "boSorteggio.anno = ? AND "; - private static final String _FINDER_COLUMN_GROUPID_ANNO_MESE_ANNO_3 = "(boSorteggio.anno IS NULL OR boSorteggio.anno = '') AND "; - private static final String _FINDER_COLUMN_GROUPID_ANNO_MESE_MESE_1 = "boSorteggio.mese IS NULL"; - private static final String _FINDER_COLUMN_GROUPID_ANNO_MESE_MESE_2 = "boSorteggio.mese = ?"; - private static final String _FINDER_COLUMN_GROUPID_ANNO_MESE_MESE_3 = "(boSorteggio.mese IS NULL OR boSorteggio.mese = '')"; - - public BoSorteggioPersistenceImpl() { - setModelClass(BoSorteggio.class); - } - - /** - * Caches the bo sorteggio in the entity cache if it is enabled. - * - * @param boSorteggio the bo sorteggio - */ - @Override - public void cacheResult(BoSorteggio boSorteggio) { - EntityCacheUtil.putResult(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioImpl.class, boSorteggio.getPrimaryKey(), boSorteggio); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - new Object[] { boSorteggio.getUuid(), boSorteggio.getGroupId() }, - boSorteggio); - - boSorteggio.resetOriginalValues(); - } - - /** - * Caches the bo sorteggios in the entity cache if it is enabled. - * - * @param boSorteggios the bo sorteggios - */ - @Override - public void cacheResult(List boSorteggios) { - for (BoSorteggio boSorteggio : boSorteggios) { - if (EntityCacheUtil.getResult( - BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioImpl.class, boSorteggio.getPrimaryKey()) == null) { - cacheResult(boSorteggio); - } - else { - boSorteggio.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all bo sorteggios. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(BoSorteggioImpl.class.getName()); - } - - EntityCacheUtil.clearCache(BoSorteggioImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the bo sorteggio. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(BoSorteggio boSorteggio) { - EntityCacheUtil.removeResult(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioImpl.class, boSorteggio.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(boSorteggio); - } - - @Override - public void clearCache(List boSorteggios) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (BoSorteggio boSorteggio : boSorteggios) { - EntityCacheUtil.removeResult(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioImpl.class, boSorteggio.getPrimaryKey()); - - clearUniqueFindersCache(boSorteggio); - } - } - - protected void cacheUniqueFindersCache(BoSorteggio boSorteggio) { - if (boSorteggio.isNew()) { - Object[] args = new Object[] { - boSorteggio.getUuid(), boSorteggio.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - boSorteggio); - } - else { - BoSorteggioModelImpl boSorteggioModelImpl = (BoSorteggioModelImpl)boSorteggio; - - if ((boSorteggioModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSorteggio.getUuid(), boSorteggio.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - boSorteggio); - } - } - } - - protected void clearUniqueFindersCache(BoSorteggio boSorteggio) { - BoSorteggioModelImpl boSorteggioModelImpl = (BoSorteggioModelImpl)boSorteggio; - - Object[] args = new Object[] { - boSorteggio.getUuid(), boSorteggio.getGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - - if ((boSorteggioModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - args = new Object[] { - boSorteggioModelImpl.getOriginalUuid(), - boSorteggioModelImpl.getOriginalGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - } - } - - /** - * Creates a new bo sorteggio with the primary key. Does not add the bo sorteggio to the database. - * - * @param sorteggioId the primary key for the new bo sorteggio - * @return the new bo sorteggio - */ - @Override - public BoSorteggio create(long sorteggioId) { - BoSorteggio boSorteggio = new BoSorteggioImpl(); - - boSorteggio.setNew(true); - boSorteggio.setPrimaryKey(sorteggioId); - - String uuid = PortalUUIDUtil.generate(); - - boSorteggio.setUuid(uuid); - - return boSorteggio; - } - - /** - * Removes the bo sorteggio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param sorteggioId the primary key of the bo sorteggio - * @return the bo sorteggio that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio remove(long sorteggioId) - throws NoSuchBoSorteggioException, SystemException { - return remove((Serializable)sorteggioId); - } - - /** - * Removes the bo sorteggio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the bo sorteggio - * @return the bo sorteggio that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio remove(Serializable primaryKey) - throws NoSuchBoSorteggioException, SystemException { - Session session = null; - - try { - session = openSession(); - - BoSorteggio boSorteggio = (BoSorteggio)session.get(BoSorteggioImpl.class, - primaryKey); - - if (boSorteggio == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoSorteggioException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(boSorteggio); - } - catch (NoSuchBoSorteggioException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected BoSorteggio removeImpl(BoSorteggio boSorteggio) - throws SystemException { - boSorteggio = toUnwrappedModel(boSorteggio); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(boSorteggio)) { - boSorteggio = (BoSorteggio)session.get(BoSorteggioImpl.class, - boSorteggio.getPrimaryKeyObj()); - } - - if (boSorteggio != null) { - session.delete(boSorteggio); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (boSorteggio != null) { - clearCache(boSorteggio); - } - - return boSorteggio; - } - - @Override - public BoSorteggio updateImpl( - it.tref.liferay.portos.portosimport.model.BoSorteggio boSorteggio) - throws SystemException { - boSorteggio = toUnwrappedModel(boSorteggio); - - boolean isNew = boSorteggio.isNew(); - - BoSorteggioModelImpl boSorteggioModelImpl = (BoSorteggioModelImpl)boSorteggio; - - if (Validator.isNull(boSorteggio.getUuid())) { - String uuid = PortalUUIDUtil.generate(); - - boSorteggio.setUuid(uuid); - } - - Session session = null; - - try { - session = openSession(); - - if (boSorteggio.isNew()) { - session.save(boSorteggio); - - boSorteggio.setNew(false); - } - else { - session.merge(boSorteggio); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !BoSorteggioModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((boSorteggioModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSorteggioModelImpl.getOriginalUuid() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - - args = new Object[] { boSorteggioModelImpl.getUuid() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - } - - if ((boSorteggioModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSorteggioModelImpl.getOriginalUuid(), - boSorteggioModelImpl.getOriginalCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - - args = new Object[] { - boSorteggioModelImpl.getUuid(), - boSorteggioModelImpl.getCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - } - - if ((boSorteggioModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_DETTPRATICA.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSorteggioModelImpl.getOriginalCompanyId(), - boSorteggioModelImpl.getOriginalDettPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_DETTPRATICA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_DETTPRATICA, - args); - - args = new Object[] { - boSorteggioModelImpl.getCompanyId(), - boSorteggioModelImpl.getDettPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_DETTPRATICA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_DETTPRATICA, - args); - } - - if ((boSorteggioModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID_ANNO_MESE.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boSorteggioModelImpl.getOriginalGroupId(), - boSorteggioModelImpl.getOriginalAnno(), - boSorteggioModelImpl.getOriginalMese() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_GROUPID_ANNO_MESE, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID_ANNO_MESE, - args); - - args = new Object[] { - boSorteggioModelImpl.getGroupId(), - boSorteggioModelImpl.getAnno(), - boSorteggioModelImpl.getMese() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_GROUPID_ANNO_MESE, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID_ANNO_MESE, - args); - } - } - - EntityCacheUtil.putResult(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioImpl.class, boSorteggio.getPrimaryKey(), boSorteggio); - - clearUniqueFindersCache(boSorteggio); - cacheUniqueFindersCache(boSorteggio); - - return boSorteggio; - } - - protected BoSorteggio toUnwrappedModel(BoSorteggio boSorteggio) { - if (boSorteggio instanceof BoSorteggioImpl) { - return boSorteggio; - } - - BoSorteggioImpl boSorteggioImpl = new BoSorteggioImpl(); - - boSorteggioImpl.setNew(boSorteggio.isNew()); - boSorteggioImpl.setPrimaryKey(boSorteggio.getPrimaryKey()); - - boSorteggioImpl.setUuid(boSorteggio.getUuid()); - boSorteggioImpl.setSorteggioId(boSorteggio.getSorteggioId()); - boSorteggioImpl.setCompanyId(boSorteggio.getCompanyId()); - boSorteggioImpl.setUserId(boSorteggio.getUserId()); - boSorteggioImpl.setUserName(boSorteggio.getUserName()); - boSorteggioImpl.setCreateDate(boSorteggio.getCreateDate()); - boSorteggioImpl.setModifiedDate(boSorteggio.getModifiedDate()); - boSorteggioImpl.setGroupId(boSorteggio.getGroupId()); - boSorteggioImpl.setStatus(boSorteggio.getStatus()); - boSorteggioImpl.setStatusByUserId(boSorteggio.getStatusByUserId()); - boSorteggioImpl.setStatusByUserName(boSorteggio.getStatusByUserName()); - boSorteggioImpl.setStatusDate(boSorteggio.getStatusDate()); - boSorteggioImpl.setDettPraticaId(boSorteggio.getDettPraticaId()); - boSorteggioImpl.setNote(boSorteggio.getNote()); - boSorteggioImpl.setAnno(boSorteggio.getAnno()); - boSorteggioImpl.setMese(boSorteggio.getMese()); - boSorteggioImpl.setDtSorteggio(boSorteggio.getDtSorteggio()); - boSorteggioImpl.setStato(boSorteggio.getStato()); - boSorteggioImpl.setDettagli(boSorteggio.getDettagli()); - boSorteggioImpl.setNumeroEstrazione(boSorteggio.getNumeroEstrazione()); - boSorteggioImpl.setPratica(boSorteggio.getPratica()); - boSorteggioImpl.setCommittente(boSorteggio.getCommittente()); - boSorteggioImpl.setComune(boSorteggio.getComune()); - boSorteggioImpl.setProvincia(boSorteggio.getProvincia()); - boSorteggioImpl.setTecnico(boSorteggio.getTecnico()); - boSorteggioImpl.setMesePrecedente(boSorteggio.getMesePrecedente()); - boSorteggioImpl.setEsterna(boSorteggio.isEsterna()); - boSorteggioImpl.setPraticaEsternaId(boSorteggio.getPraticaEsternaId()); - - return boSorteggioImpl; - } - - /** - * Returns the bo sorteggio with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the bo sorteggio - * @return the bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio findByPrimaryKey(Serializable primaryKey) - throws NoSuchBoSorteggioException, SystemException { - BoSorteggio boSorteggio = fetchByPrimaryKey(primaryKey); - - if (boSorteggio == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoSorteggioException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return boSorteggio; - } - - /** - * Returns the bo sorteggio with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException} if it could not be found. - * - * @param sorteggioId the primary key of the bo sorteggio - * @return the bo sorteggio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoSorteggioException if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio findByPrimaryKey(long sorteggioId) - throws NoSuchBoSorteggioException, SystemException { - return findByPrimaryKey((Serializable)sorteggioId); - } - - /** - * Returns the bo sorteggio with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the bo sorteggio - * @return the bo sorteggio, or null if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - BoSorteggio boSorteggio = (BoSorteggio)EntityCacheUtil.getResult(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioImpl.class, primaryKey); - - if (boSorteggio == _nullBoSorteggio) { - return null; - } - - if (boSorteggio == null) { - Session session = null; - - try { - session = openSession(); - - boSorteggio = (BoSorteggio)session.get(BoSorteggioImpl.class, - primaryKey); - - if (boSorteggio != null) { - cacheResult(boSorteggio); - } - else { - EntityCacheUtil.putResult(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioImpl.class, primaryKey, _nullBoSorteggio); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(BoSorteggioModelImpl.ENTITY_CACHE_ENABLED, - BoSorteggioImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return boSorteggio; - } - - /** - * Returns the bo sorteggio with the primary key or returns null if it could not be found. - * - * @param sorteggioId the primary key of the bo sorteggio - * @return the bo sorteggio, or null if a bo sorteggio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoSorteggio fetchByPrimaryKey(long sorteggioId) - throws SystemException { - return fetchByPrimaryKey((Serializable)sorteggioId); - } - - /** - * Returns all the bo sorteggios. - * - * @return the bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo sorteggios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @return the range of bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the bo sorteggios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoSorteggioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo sorteggios - * @param end the upper bound of the range of bo sorteggios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_BOSORTEGGIO); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_BOSORTEGGIO; - - if (pagination) { - sql = sql.concat(BoSorteggioModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the bo sorteggios from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (BoSorteggio boSorteggio : findAll()) { - remove(boSorteggio); - } - } - - /** - * Returns the number of bo sorteggios. - * - * @return the number of bo sorteggios - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_BOSORTEGGIO); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - @Override - protected Set getBadColumnNames() { - return _badColumnNames; - } - - /** - * Initializes the bo sorteggio persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.portosimport.model.BoSorteggio"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(BoSorteggioImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_BOSORTEGGIO = "SELECT boSorteggio FROM BoSorteggio boSorteggio"; - private static final String _SQL_SELECT_BOSORTEGGIO_WHERE = "SELECT boSorteggio FROM BoSorteggio boSorteggio WHERE "; - private static final String _SQL_COUNT_BOSORTEGGIO = "SELECT COUNT(boSorteggio) FROM BoSorteggio boSorteggio"; - private static final String _SQL_COUNT_BOSORTEGGIO_WHERE = "SELECT COUNT(boSorteggio) FROM BoSorteggio boSorteggio WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "boSorteggio."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No BoSorteggio exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No BoSorteggio exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(BoSorteggioPersistenceImpl.class); - private static Set _badColumnNames = SetUtil.fromArray(new String[] { - "uuid" - }); - private static BoSorteggio _nullBoSorteggio = new BoSorteggioImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullBoSorteggioCacheModel; - } - }; - - private static CacheModel _nullBoSorteggioCacheModel = new CacheModel() { - @Override - public BoSorteggio toEntityModel() { - return _nullBoSorteggio; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoStoricoSoggettoPraticaPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoStoricoSoggettoPraticaPersistenceImpl.java deleted file mode 100644 index 43b3ceef..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoStoricoSoggettoPraticaPersistenceImpl.java +++ /dev/null @@ -1,1253 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.portosimport.NoSuchBoStoricoSoggettoPraticaException; -import it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica; -import it.tref.liferay.portos.portosimport.model.impl.BoStoricoSoggettoPraticaImpl; -import it.tref.liferay.portos.portosimport.model.impl.BoStoricoSoggettoPraticaModelImpl; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -/** - * The persistence implementation for the bo storico soggetto pratica service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoStoricoSoggettoPraticaPersistence - * @see BoStoricoSoggettoPraticaUtil - * @generated - */ -public class BoStoricoSoggettoPraticaPersistenceImpl extends BasePersistenceImpl - implements BoStoricoSoggettoPraticaPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link BoStoricoSoggettoPraticaUtil} to access the bo storico soggetto pratica persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = BoStoricoSoggettoPraticaImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(BoStoricoSoggettoPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoStoricoSoggettoPraticaModelImpl.FINDER_CACHE_ENABLED, - BoStoricoSoggettoPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(BoStoricoSoggettoPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoStoricoSoggettoPraticaModelImpl.FINDER_CACHE_ENABLED, - BoStoricoSoggettoPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(BoStoricoSoggettoPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoStoricoSoggettoPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_INTPRATICA = - new FinderPath(BoStoricoSoggettoPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoStoricoSoggettoPraticaModelImpl.FINDER_CACHE_ENABLED, - BoStoricoSoggettoPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByC_IntPratica", - new String[] { - Long.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_INTPRATICA = - new FinderPath(BoStoricoSoggettoPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoStoricoSoggettoPraticaModelImpl.FINDER_CACHE_ENABLED, - BoStoricoSoggettoPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByC_IntPratica", - new String[] { Long.class.getName(), Long.class.getName() }, - BoStoricoSoggettoPraticaModelImpl.COMPANYID_COLUMN_BITMASK | - BoStoricoSoggettoPraticaModelImpl.INTPRATICAID_COLUMN_BITMASK | - BoStoricoSoggettoPraticaModelImpl.CREATEDATE_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_C_INTPRATICA = new FinderPath(BoStoricoSoggettoPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoStoricoSoggettoPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByC_IntPratica", - new String[] { Long.class.getName(), Long.class.getName() }); - - /** - * Returns all the bo storico soggetto praticas where companyId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @return the matching bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_IntPratica(long companyId, - long intPraticaId) throws SystemException { - return findByC_IntPratica(companyId, intPraticaId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo storico soggetto praticas where companyId = ? and intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo storico soggetto praticas - * @param end the upper bound of the range of bo storico soggetto praticas (not inclusive) - * @return the range of matching bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_IntPratica(long companyId, - long intPraticaId, int start, int end) throws SystemException { - return findByC_IntPratica(companyId, intPraticaId, start, end, null); - } - - /** - * Returns an ordered range of all the bo storico soggetto praticas where companyId = ? and intPraticaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param start the lower bound of the range of bo storico soggetto praticas - * @param end the upper bound of the range of bo storico soggetto praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_IntPratica(long companyId, - long intPraticaId, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_INTPRATICA; - finderArgs = new Object[] { companyId, intPraticaId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_C_INTPRATICA; - finderArgs = new Object[] { - companyId, intPraticaId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoStoricoSoggettoPratica boStoricoSoggettoPratica : list) { - if ((companyId != boStoricoSoggettoPratica.getCompanyId()) || - (intPraticaId != boStoricoSoggettoPratica.getIntPraticaId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_BOSTORICOSOGGETTOPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_INTPRATICA_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_INTPRATICA_INTPRATICAID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoStoricoSoggettoPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(intPraticaId); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo storico soggetto pratica in the ordered set where companyId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo storico soggetto pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoStoricoSoggettoPraticaException if a matching bo storico soggetto pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoStoricoSoggettoPratica findByC_IntPratica_First(long companyId, - long intPraticaId, OrderByComparator orderByComparator) - throws NoSuchBoStoricoSoggettoPraticaException, SystemException { - BoStoricoSoggettoPratica boStoricoSoggettoPratica = fetchByC_IntPratica_First(companyId, - intPraticaId, orderByComparator); - - if (boStoricoSoggettoPratica != null) { - return boStoricoSoggettoPratica; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", intPraticaId="); - msg.append(intPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoStoricoSoggettoPraticaException(msg.toString()); - } - - /** - * Returns the first bo storico soggetto pratica in the ordered set where companyId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo storico soggetto pratica, or null if a matching bo storico soggetto pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoStoricoSoggettoPratica fetchByC_IntPratica_First(long companyId, - long intPraticaId, OrderByComparator orderByComparator) - throws SystemException { - List list = findByC_IntPratica(companyId, - intPraticaId, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo storico soggetto pratica in the ordered set where companyId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo storico soggetto pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoStoricoSoggettoPraticaException if a matching bo storico soggetto pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoStoricoSoggettoPratica findByC_IntPratica_Last(long companyId, - long intPraticaId, OrderByComparator orderByComparator) - throws NoSuchBoStoricoSoggettoPraticaException, SystemException { - BoStoricoSoggettoPratica boStoricoSoggettoPratica = fetchByC_IntPratica_Last(companyId, - intPraticaId, orderByComparator); - - if (boStoricoSoggettoPratica != null) { - return boStoricoSoggettoPratica; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", intPraticaId="); - msg.append(intPraticaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoStoricoSoggettoPraticaException(msg.toString()); - } - - /** - * Returns the last bo storico soggetto pratica in the ordered set where companyId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo storico soggetto pratica, or null if a matching bo storico soggetto pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoStoricoSoggettoPratica fetchByC_IntPratica_Last(long companyId, - long intPraticaId, OrderByComparator orderByComparator) - throws SystemException { - int count = countByC_IntPratica(companyId, intPraticaId); - - if (count == 0) { - return null; - } - - List list = findByC_IntPratica(companyId, - intPraticaId, count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo storico soggetto praticas before and after the current bo storico soggetto pratica in the ordered set where companyId = ? and intPraticaId = ?. - * - * @param storicoSoggettoPraticaId the primary key of the current bo storico soggetto pratica - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo storico soggetto pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoStoricoSoggettoPraticaException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoStoricoSoggettoPratica[] findByC_IntPratica_PrevAndNext( - long storicoSoggettoPraticaId, long companyId, long intPraticaId, - OrderByComparator orderByComparator) - throws NoSuchBoStoricoSoggettoPraticaException, SystemException { - BoStoricoSoggettoPratica boStoricoSoggettoPratica = findByPrimaryKey(storicoSoggettoPraticaId); - - Session session = null; - - try { - session = openSession(); - - BoStoricoSoggettoPratica[] array = new BoStoricoSoggettoPraticaImpl[3]; - - array[0] = getByC_IntPratica_PrevAndNext(session, - boStoricoSoggettoPratica, companyId, intPraticaId, - orderByComparator, true); - - array[1] = boStoricoSoggettoPratica; - - array[2] = getByC_IntPratica_PrevAndNext(session, - boStoricoSoggettoPratica, companyId, intPraticaId, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoStoricoSoggettoPratica getByC_IntPratica_PrevAndNext( - Session session, BoStoricoSoggettoPratica boStoricoSoggettoPratica, - long companyId, long intPraticaId, OrderByComparator orderByComparator, - boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOSTORICOSOGGETTOPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_INTPRATICA_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_INTPRATICA_INTPRATICAID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoStoricoSoggettoPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(intPraticaId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boStoricoSoggettoPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo storico soggetto praticas where companyId = ? and intPraticaId = ? from the database. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByC_IntPratica(long companyId, long intPraticaId) - throws SystemException { - for (BoStoricoSoggettoPratica boStoricoSoggettoPratica : findByC_IntPratica( - companyId, intPraticaId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, - null)) { - remove(boStoricoSoggettoPratica); - } - } - - /** - * Returns the number of bo storico soggetto praticas where companyId = ? and intPraticaId = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @return the number of matching bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_IntPratica(long companyId, long intPraticaId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_C_INTPRATICA; - - Object[] finderArgs = new Object[] { companyId, intPraticaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOSTORICOSOGGETTOPRATICA_WHERE); - - query.append(_FINDER_COLUMN_C_INTPRATICA_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_INTPRATICA_INTPRATICAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(intPraticaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_C_INTPRATICA_COMPANYID_2 = "boStoricoSoggettoPratica.companyId = ? AND "; - private static final String _FINDER_COLUMN_C_INTPRATICA_INTPRATICAID_2 = "boStoricoSoggettoPratica.intPraticaId = ?"; - - public BoStoricoSoggettoPraticaPersistenceImpl() { - setModelClass(BoStoricoSoggettoPratica.class); - } - - /** - * Caches the bo storico soggetto pratica in the entity cache if it is enabled. - * - * @param boStoricoSoggettoPratica the bo storico soggetto pratica - */ - @Override - public void cacheResult(BoStoricoSoggettoPratica boStoricoSoggettoPratica) { - EntityCacheUtil.putResult(BoStoricoSoggettoPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoStoricoSoggettoPraticaImpl.class, - boStoricoSoggettoPratica.getPrimaryKey(), boStoricoSoggettoPratica); - - boStoricoSoggettoPratica.resetOriginalValues(); - } - - /** - * Caches the bo storico soggetto praticas in the entity cache if it is enabled. - * - * @param boStoricoSoggettoPraticas the bo storico soggetto praticas - */ - @Override - public void cacheResult( - List boStoricoSoggettoPraticas) { - for (BoStoricoSoggettoPratica boStoricoSoggettoPratica : boStoricoSoggettoPraticas) { - if (EntityCacheUtil.getResult( - BoStoricoSoggettoPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoStoricoSoggettoPraticaImpl.class, - boStoricoSoggettoPratica.getPrimaryKey()) == null) { - cacheResult(boStoricoSoggettoPratica); - } - else { - boStoricoSoggettoPratica.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all bo storico soggetto praticas. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(BoStoricoSoggettoPraticaImpl.class.getName()); - } - - EntityCacheUtil.clearCache(BoStoricoSoggettoPraticaImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the bo storico soggetto pratica. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(BoStoricoSoggettoPratica boStoricoSoggettoPratica) { - EntityCacheUtil.removeResult(BoStoricoSoggettoPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoStoricoSoggettoPraticaImpl.class, - boStoricoSoggettoPratica.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - @Override - public void clearCache( - List boStoricoSoggettoPraticas) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (BoStoricoSoggettoPratica boStoricoSoggettoPratica : boStoricoSoggettoPraticas) { - EntityCacheUtil.removeResult(BoStoricoSoggettoPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoStoricoSoggettoPraticaImpl.class, - boStoricoSoggettoPratica.getPrimaryKey()); - } - } - - /** - * Creates a new bo storico soggetto pratica with the primary key. Does not add the bo storico soggetto pratica to the database. - * - * @param storicoSoggettoPraticaId the primary key for the new bo storico soggetto pratica - * @return the new bo storico soggetto pratica - */ - @Override - public BoStoricoSoggettoPratica create(long storicoSoggettoPraticaId) { - BoStoricoSoggettoPratica boStoricoSoggettoPratica = new BoStoricoSoggettoPraticaImpl(); - - boStoricoSoggettoPratica.setNew(true); - boStoricoSoggettoPratica.setPrimaryKey(storicoSoggettoPraticaId); - - return boStoricoSoggettoPratica; - } - - /** - * Removes the bo storico soggetto pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param storicoSoggettoPraticaId the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoStoricoSoggettoPraticaException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoStoricoSoggettoPratica remove(long storicoSoggettoPraticaId) - throws NoSuchBoStoricoSoggettoPraticaException, SystemException { - return remove((Serializable)storicoSoggettoPraticaId); - } - - /** - * Removes the bo storico soggetto pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoStoricoSoggettoPraticaException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoStoricoSoggettoPratica remove(Serializable primaryKey) - throws NoSuchBoStoricoSoggettoPraticaException, SystemException { - Session session = null; - - try { - session = openSession(); - - BoStoricoSoggettoPratica boStoricoSoggettoPratica = (BoStoricoSoggettoPratica)session.get(BoStoricoSoggettoPraticaImpl.class, - primaryKey); - - if (boStoricoSoggettoPratica == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoStoricoSoggettoPraticaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(boStoricoSoggettoPratica); - } - catch (NoSuchBoStoricoSoggettoPraticaException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected BoStoricoSoggettoPratica removeImpl( - BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws SystemException { - boStoricoSoggettoPratica = toUnwrappedModel(boStoricoSoggettoPratica); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(boStoricoSoggettoPratica)) { - boStoricoSoggettoPratica = (BoStoricoSoggettoPratica)session.get(BoStoricoSoggettoPraticaImpl.class, - boStoricoSoggettoPratica.getPrimaryKeyObj()); - } - - if (boStoricoSoggettoPratica != null) { - session.delete(boStoricoSoggettoPratica); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (boStoricoSoggettoPratica != null) { - clearCache(boStoricoSoggettoPratica); - } - - return boStoricoSoggettoPratica; - } - - @Override - public BoStoricoSoggettoPratica updateImpl( - it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica boStoricoSoggettoPratica) - throws SystemException { - boStoricoSoggettoPratica = toUnwrappedModel(boStoricoSoggettoPratica); - - boolean isNew = boStoricoSoggettoPratica.isNew(); - - BoStoricoSoggettoPraticaModelImpl boStoricoSoggettoPraticaModelImpl = (BoStoricoSoggettoPraticaModelImpl)boStoricoSoggettoPratica; - - Session session = null; - - try { - session = openSession(); - - if (boStoricoSoggettoPratica.isNew()) { - session.save(boStoricoSoggettoPratica); - - boStoricoSoggettoPratica.setNew(false); - } - else { - session.merge(boStoricoSoggettoPratica); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !BoStoricoSoggettoPraticaModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((boStoricoSoggettoPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_INTPRATICA.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boStoricoSoggettoPraticaModelImpl.getOriginalCompanyId(), - boStoricoSoggettoPraticaModelImpl.getOriginalIntPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_INTPRATICA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_INTPRATICA, - args); - - args = new Object[] { - boStoricoSoggettoPraticaModelImpl.getCompanyId(), - boStoricoSoggettoPraticaModelImpl.getIntPraticaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_INTPRATICA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_INTPRATICA, - args); - } - } - - EntityCacheUtil.putResult(BoStoricoSoggettoPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoStoricoSoggettoPraticaImpl.class, - boStoricoSoggettoPratica.getPrimaryKey(), boStoricoSoggettoPratica); - - return boStoricoSoggettoPratica; - } - - protected BoStoricoSoggettoPratica toUnwrappedModel( - BoStoricoSoggettoPratica boStoricoSoggettoPratica) { - if (boStoricoSoggettoPratica instanceof BoStoricoSoggettoPraticaImpl) { - return boStoricoSoggettoPratica; - } - - BoStoricoSoggettoPraticaImpl boStoricoSoggettoPraticaImpl = new BoStoricoSoggettoPraticaImpl(); - - boStoricoSoggettoPraticaImpl.setNew(boStoricoSoggettoPratica.isNew()); - boStoricoSoggettoPraticaImpl.setPrimaryKey(boStoricoSoggettoPratica.getPrimaryKey()); - - boStoricoSoggettoPraticaImpl.setStoricoSoggettoPraticaId(boStoricoSoggettoPratica.getStoricoSoggettoPraticaId()); - boStoricoSoggettoPraticaImpl.setCompanyId(boStoricoSoggettoPratica.getCompanyId()); - boStoricoSoggettoPraticaImpl.setUserId(boStoricoSoggettoPratica.getUserId()); - boStoricoSoggettoPraticaImpl.setUserName(boStoricoSoggettoPratica.getUserName()); - boStoricoSoggettoPraticaImpl.setCreateDate(boStoricoSoggettoPratica.getCreateDate()); - boStoricoSoggettoPraticaImpl.setModifiedDate(boStoricoSoggettoPratica.getModifiedDate()); - boStoricoSoggettoPraticaImpl.setGroupId(boStoricoSoggettoPratica.getGroupId()); - boStoricoSoggettoPraticaImpl.setIntPraticaId(boStoricoSoggettoPratica.getIntPraticaId()); - boStoricoSoggettoPraticaImpl.setNome(boStoricoSoggettoPratica.getNome()); - boStoricoSoggettoPraticaImpl.setCognome(boStoricoSoggettoPratica.getCognome()); - boStoricoSoggettoPraticaImpl.setCodiceFiscale(boStoricoSoggettoPratica.getCodiceFiscale()); - - return boStoricoSoggettoPraticaImpl; - } - - /** - * Returns the bo storico soggetto pratica with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoStoricoSoggettoPraticaException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoStoricoSoggettoPratica findByPrimaryKey(Serializable primaryKey) - throws NoSuchBoStoricoSoggettoPraticaException, SystemException { - BoStoricoSoggettoPratica boStoricoSoggettoPratica = fetchByPrimaryKey(primaryKey); - - if (boStoricoSoggettoPratica == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoStoricoSoggettoPraticaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return boStoricoSoggettoPratica; - } - - /** - * Returns the bo storico soggetto pratica with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoStoricoSoggettoPraticaException} if it could not be found. - * - * @param storicoSoggettoPraticaId the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoStoricoSoggettoPraticaException if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoStoricoSoggettoPratica findByPrimaryKey( - long storicoSoggettoPraticaId) - throws NoSuchBoStoricoSoggettoPraticaException, SystemException { - return findByPrimaryKey((Serializable)storicoSoggettoPraticaId); - } - - /** - * Returns the bo storico soggetto pratica with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica, or null if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoStoricoSoggettoPratica fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - BoStoricoSoggettoPratica boStoricoSoggettoPratica = (BoStoricoSoggettoPratica)EntityCacheUtil.getResult(BoStoricoSoggettoPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoStoricoSoggettoPraticaImpl.class, primaryKey); - - if (boStoricoSoggettoPratica == _nullBoStoricoSoggettoPratica) { - return null; - } - - if (boStoricoSoggettoPratica == null) { - Session session = null; - - try { - session = openSession(); - - boStoricoSoggettoPratica = (BoStoricoSoggettoPratica)session.get(BoStoricoSoggettoPraticaImpl.class, - primaryKey); - - if (boStoricoSoggettoPratica != null) { - cacheResult(boStoricoSoggettoPratica); - } - else { - EntityCacheUtil.putResult(BoStoricoSoggettoPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoStoricoSoggettoPraticaImpl.class, primaryKey, - _nullBoStoricoSoggettoPratica); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(BoStoricoSoggettoPraticaModelImpl.ENTITY_CACHE_ENABLED, - BoStoricoSoggettoPraticaImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return boStoricoSoggettoPratica; - } - - /** - * Returns the bo storico soggetto pratica with the primary key or returns null if it could not be found. - * - * @param storicoSoggettoPraticaId the primary key of the bo storico soggetto pratica - * @return the bo storico soggetto pratica, or null if a bo storico soggetto pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoStoricoSoggettoPratica fetchByPrimaryKey( - long storicoSoggettoPraticaId) throws SystemException { - return fetchByPrimaryKey((Serializable)storicoSoggettoPraticaId); - } - - /** - * Returns all the bo storico soggetto praticas. - * - * @return the bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo storico soggetto praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo storico soggetto praticas - * @param end the upper bound of the range of bo storico soggetto praticas (not inclusive) - * @return the range of bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the bo storico soggetto praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoStoricoSoggettoPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo storico soggetto praticas - * @param end the upper bound of the range of bo storico soggetto praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_BOSTORICOSOGGETTOPRATICA); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_BOSTORICOSOGGETTOPRATICA; - - if (pagination) { - sql = sql.concat(BoStoricoSoggettoPraticaModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, - getDialect(), start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, - getDialect(), start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the bo storico soggetto praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (BoStoricoSoggettoPratica boStoricoSoggettoPratica : findAll()) { - remove(boStoricoSoggettoPratica); - } - } - - /** - * Returns the number of bo storico soggetto praticas. - * - * @return the number of bo storico soggetto praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_BOSTORICOSOGGETTOPRATICA); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - /** - * Initializes the bo storico soggetto pratica persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.portosimport.model.BoStoricoSoggettoPratica"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(BoStoricoSoggettoPraticaImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_BOSTORICOSOGGETTOPRATICA = "SELECT boStoricoSoggettoPratica FROM BoStoricoSoggettoPratica boStoricoSoggettoPratica"; - private static final String _SQL_SELECT_BOSTORICOSOGGETTOPRATICA_WHERE = "SELECT boStoricoSoggettoPratica FROM BoStoricoSoggettoPratica boStoricoSoggettoPratica WHERE "; - private static final String _SQL_COUNT_BOSTORICOSOGGETTOPRATICA = "SELECT COUNT(boStoricoSoggettoPratica) FROM BoStoricoSoggettoPratica boStoricoSoggettoPratica"; - private static final String _SQL_COUNT_BOSTORICOSOGGETTOPRATICA_WHERE = "SELECT COUNT(boStoricoSoggettoPratica) FROM BoStoricoSoggettoPratica boStoricoSoggettoPratica WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "boStoricoSoggettoPratica."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No BoStoricoSoggettoPratica exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No BoStoricoSoggettoPratica exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(BoStoricoSoggettoPraticaPersistenceImpl.class); - private static BoStoricoSoggettoPratica _nullBoStoricoSoggettoPratica = new BoStoricoSoggettoPraticaImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullBoStoricoSoggettoPraticaCacheModel; - } - }; - - private static CacheModel _nullBoStoricoSoggettoPraticaCacheModel = - new CacheModel() { - @Override - public BoStoricoSoggettoPratica toEntityModel() { - return _nullBoStoricoSoggettoPratica; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoTempisticaPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoTempisticaPersistenceImpl.java deleted file mode 100644 index 806987ed..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoTempisticaPersistenceImpl.java +++ /dev/null @@ -1,2864 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.SetUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.kernel.uuid.PortalUUIDUtil; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException; -import it.tref.liferay.portos.portosimport.model.BoTempistica; -import it.tref.liferay.portos.portosimport.model.impl.BoTempisticaImpl; -import it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Set; - -/** - * The persistence implementation for the bo tempistica service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoTempisticaPersistence - * @see BoTempisticaUtil - * @generated - */ -public class BoTempisticaPersistenceImpl extends BasePersistenceImpl - implements BoTempisticaPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link BoTempisticaUtil} to access the bo tempistica persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = BoTempisticaImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaModelImpl.FINDER_CACHE_ENABLED, BoTempisticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaModelImpl.FINDER_CACHE_ENABLED, BoTempisticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID = new FinderPath(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaModelImpl.FINDER_CACHE_ENABLED, BoTempisticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByUuid", - new String[] { - String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID = new FinderPath(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaModelImpl.FINDER_CACHE_ENABLED, BoTempisticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByUuid", - new String[] { String.class.getName() }, - BoTempisticaModelImpl.UUID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID = new FinderPath(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid", - new String[] { String.class.getName() }); - - /** - * Returns all the bo tempisticas where uuid = ?. - * - * @param uuid the uuid - * @return the matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid) throws SystemException { - return findByUuid(uuid, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo tempisticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @return the range of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end) - throws SystemException { - return findByUuid(uuid, start, end, null); - } - - /** - * Returns an ordered range of all the bo tempisticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoTempistica boTempistica : list) { - if (!Validator.equals(uuid, boTempistica.getUuid())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOTEMPISTICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoTempisticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo tempistica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo tempistica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica findByUuid_First(String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoTempisticaException, SystemException { - BoTempistica boTempistica = fetchByUuid_First(uuid, orderByComparator); - - if (boTempistica != null) { - return boTempistica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoTempisticaException(msg.toString()); - } - - /** - * Returns the first bo tempistica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica fetchByUuid_First(String uuid, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid(uuid, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo tempistica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo tempistica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica findByUuid_Last(String uuid, - OrderByComparator orderByComparator) - throws NoSuchBoTempisticaException, SystemException { - BoTempistica boTempistica = fetchByUuid_Last(uuid, orderByComparator); - - if (boTempistica != null) { - return boTempistica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoTempisticaException(msg.toString()); - } - - /** - * Returns the last bo tempistica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica fetchByUuid_Last(String uuid, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid(uuid); - - if (count == 0) { - return null; - } - - List list = findByUuid(uuid, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo tempisticas before and after the current bo tempistica in the ordered set where uuid = ?. - * - * @param tempisticaId the primary key of the current bo tempistica - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo tempistica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica[] findByUuid_PrevAndNext(long tempisticaId, - String uuid, OrderByComparator orderByComparator) - throws NoSuchBoTempisticaException, SystemException { - BoTempistica boTempistica = findByPrimaryKey(tempisticaId); - - Session session = null; - - try { - session = openSession(); - - BoTempistica[] array = new BoTempisticaImpl[3]; - - array[0] = getByUuid_PrevAndNext(session, boTempistica, uuid, - orderByComparator, true); - - array[1] = boTempistica; - - array[2] = getByUuid_PrevAndNext(session, boTempistica, uuid, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoTempistica getByUuid_PrevAndNext(Session session, - BoTempistica boTempistica, String uuid, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOTEMPISTICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoTempisticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boTempistica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo tempisticas where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid(String uuid) throws SystemException { - for (BoTempistica boTempistica : findByUuid(uuid, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(boTempistica); - } - } - - /** - * Returns the number of bo tempisticas where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid(String uuid) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID; - - Object[] finderArgs = new Object[] { uuid }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BOTEMPISTICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_UUID_1 = "boTempistica.uuid IS NULL"; - private static final String _FINDER_COLUMN_UUID_UUID_2 = "boTempistica.uuid = ?"; - private static final String _FINDER_COLUMN_UUID_UUID_3 = "(boTempistica.uuid IS NULL OR boTempistica.uuid = '')"; - public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G = new FinderPath(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaModelImpl.FINDER_CACHE_ENABLED, BoTempisticaImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }, - BoTempisticaModelImpl.UUID_COLUMN_BITMASK | - BoTempisticaModelImpl.GROUPID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G = new FinderPath(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns the bo tempistica where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo tempistica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica findByUUID_G(String uuid, long groupId) - throws NoSuchBoTempisticaException, SystemException { - BoTempistica boTempistica = fetchByUUID_G(uuid, groupId); - - if (boTempistica == null) { - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoTempisticaException(msg.toString()); - } - - return boTempistica; - } - - /** - * Returns the bo tempistica where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica fetchByUUID_G(String uuid, long groupId) - throws SystemException { - return fetchByUUID_G(uuid, groupId, true); - } - - /** - * Returns the bo tempistica where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica fetchByUUID_G(String uuid, long groupId, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { uuid, groupId }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, this); - } - - if (result instanceof BoTempistica) { - BoTempistica boTempistica = (BoTempistica)result; - - if (!Validator.equals(uuid, boTempistica.getUuid()) || - (groupId != boTempistica.getGroupId())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_SELECT_BOTEMPISTICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, list); - } - else { - BoTempistica boTempistica = list.get(0); - - result = boTempistica; - - cacheResult(boTempistica); - - if ((boTempistica.getUuid() == null) || - !boTempistica.getUuid().equals(uuid) || - (boTempistica.getGroupId() != groupId)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, boTempistica); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoTempistica)result; - } - } - - /** - * Removes the bo tempistica where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the bo tempistica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica removeByUUID_G(String uuid, long groupId) - throws NoSuchBoTempisticaException, SystemException { - BoTempistica boTempistica = findByUUID_G(uuid, groupId); - - return remove(boTempistica); - } - - /** - * Returns the number of bo tempisticas where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUUID_G(String uuid, long groupId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_G; - - Object[] finderArgs = new Object[] { uuid, groupId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOTEMPISTICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_G_UUID_1 = "boTempistica.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_2 = "boTempistica.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_3 = "(boTempistica.uuid IS NULL OR boTempistica.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_G_GROUPID_2 = "boTempistica.groupId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C = new FinderPath(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaModelImpl.FINDER_CACHE_ENABLED, BoTempisticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByUuid_C", - new String[] { - String.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C = - new FinderPath(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaModelImpl.FINDER_CACHE_ENABLED, BoTempisticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }, - BoTempisticaModelImpl.UUID_COLUMN_BITMASK | - BoTempisticaModelImpl.COMPANYID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C = new FinderPath(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns all the bo tempisticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId) - throws SystemException { - return findByUuid_C(uuid, companyId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo tempisticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @return the range of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, - int start, int end) throws SystemException { - return findByUuid_C(uuid, companyId, start, end, null); - } - - /** - * Returns an ordered range of all the bo tempisticas where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { uuid, companyId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { - uuid, companyId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoTempistica boTempistica : list) { - if (!Validator.equals(uuid, boTempistica.getUuid()) || - (companyId != boTempistica.getCompanyId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_BOTEMPISTICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoTempisticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo tempistica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo tempistica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica findByUuid_C_First(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchBoTempisticaException, SystemException { - BoTempistica boTempistica = fetchByUuid_C_First(uuid, companyId, - orderByComparator); - - if (boTempistica != null) { - return boTempistica; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoTempisticaException(msg.toString()); - } - - /** - * Returns the first bo tempistica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica fetchByUuid_C_First(String uuid, long companyId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid_C(uuid, companyId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo tempistica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo tempistica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica findByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchBoTempisticaException, SystemException { - BoTempistica boTempistica = fetchByUuid_C_Last(uuid, companyId, - orderByComparator); - - if (boTempistica != null) { - return boTempistica; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoTempisticaException(msg.toString()); - } - - /** - * Returns the last bo tempistica in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica fetchByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid_C(uuid, companyId); - - if (count == 0) { - return null; - } - - List list = findByUuid_C(uuid, companyId, count - 1, - count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo tempisticas before and after the current bo tempistica in the ordered set where uuid = ? and companyId = ?. - * - * @param tempisticaId the primary key of the current bo tempistica - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo tempistica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica[] findByUuid_C_PrevAndNext(long tempisticaId, - String uuid, long companyId, OrderByComparator orderByComparator) - throws NoSuchBoTempisticaException, SystemException { - BoTempistica boTempistica = findByPrimaryKey(tempisticaId); - - Session session = null; - - try { - session = openSession(); - - BoTempistica[] array = new BoTempisticaImpl[3]; - - array[0] = getByUuid_C_PrevAndNext(session, boTempistica, uuid, - companyId, orderByComparator, true); - - array[1] = boTempistica; - - array[2] = getByUuid_C_PrevAndNext(session, boTempistica, uuid, - companyId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoTempistica getByUuid_C_PrevAndNext(Session session, - BoTempistica boTempistica, String uuid, long companyId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOTEMPISTICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoTempisticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boTempistica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo tempisticas where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid_C(String uuid, long companyId) - throws SystemException { - for (BoTempistica boTempistica : findByUuid_C(uuid, companyId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boTempistica); - } - } - - /** - * Returns the number of bo tempisticas where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid_C(String uuid, long companyId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_C; - - Object[] finderArgs = new Object[] { uuid, companyId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOTEMPISTICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_C_UUID_1 = "boTempistica.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_2 = "boTempistica.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_3 = "(boTempistica.uuid IS NULL OR boTempistica.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_C_COMPANYID_2 = "boTempistica.companyId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_INTPRATICA_TIPO_COMPLETO = - new FinderPath(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaModelImpl.FINDER_CACHE_ENABLED, BoTempisticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByC_IntPratica_Tipo_Completo", - new String[] { - Long.class.getName(), Long.class.getName(), - String.class.getName(), Boolean.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_INTPRATICA_TIPO_COMPLETO = - new FinderPath(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaModelImpl.FINDER_CACHE_ENABLED, BoTempisticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByC_IntPratica_Tipo_Completo", - new String[] { - Long.class.getName(), Long.class.getName(), - String.class.getName(), Boolean.class.getName() - }, - BoTempisticaModelImpl.COMPANYID_COLUMN_BITMASK | - BoTempisticaModelImpl.INTPRATICAID_COLUMN_BITMASK | - BoTempisticaModelImpl.TIPO_COLUMN_BITMASK | - BoTempisticaModelImpl.COMPLETO_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_C_INTPRATICA_TIPO_COMPLETO = - new FinderPath(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByC_IntPratica_Tipo_Completo", - new String[] { - Long.class.getName(), Long.class.getName(), - String.class.getName(), Boolean.class.getName() - }); - - /** - * Returns all the bo tempisticas where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @return the matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_IntPratica_Tipo_Completo(long companyId, - long intPraticaId, String tipo, boolean completo) - throws SystemException { - return findByC_IntPratica_Tipo_Completo(companyId, intPraticaId, tipo, - completo, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo tempisticas where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @return the range of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_IntPratica_Tipo_Completo(long companyId, - long intPraticaId, String tipo, boolean completo, int start, int end) - throws SystemException { - return findByC_IntPratica_Tipo_Completo(companyId, intPraticaId, tipo, - completo, start, end, null); - } - - /** - * Returns an ordered range of all the bo tempisticas where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_IntPratica_Tipo_Completo(long companyId, - long intPraticaId, String tipo, boolean completo, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_INTPRATICA_TIPO_COMPLETO; - finderArgs = new Object[] { companyId, intPraticaId, tipo, completo }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_C_INTPRATICA_TIPO_COMPLETO; - finderArgs = new Object[] { - companyId, intPraticaId, tipo, completo, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoTempistica boTempistica : list) { - if ((companyId != boTempistica.getCompanyId()) || - (intPraticaId != boTempistica.getIntPraticaId()) || - !Validator.equals(tipo, boTempistica.getTipo()) || - (completo != boTempistica.getCompleto())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(6); - } - - query.append(_SQL_SELECT_BOTEMPISTICA_WHERE); - - query.append(_FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_INTPRATICAID_2); - - boolean bindTipo = false; - - if (tipo == null) { - query.append(_FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_TIPO_1); - } - else if (tipo.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_TIPO_3); - } - else { - bindTipo = true; - - query.append(_FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_TIPO_2); - } - - query.append(_FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_COMPLETO_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoTempisticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(intPraticaId); - - if (bindTipo) { - qPos.add(tipo); - } - - qPos.add(completo); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo tempistica in the ordered set where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo tempistica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica findByC_IntPratica_Tipo_Completo_First(long companyId, - long intPraticaId, String tipo, boolean completo, - OrderByComparator orderByComparator) - throws NoSuchBoTempisticaException, SystemException { - BoTempistica boTempistica = fetchByC_IntPratica_Tipo_Completo_First(companyId, - intPraticaId, tipo, completo, orderByComparator); - - if (boTempistica != null) { - return boTempistica; - } - - StringBundler msg = new StringBundler(10); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", intPraticaId="); - msg.append(intPraticaId); - - msg.append(", tipo="); - msg.append(tipo); - - msg.append(", completo="); - msg.append(completo); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoTempisticaException(msg.toString()); - } - - /** - * Returns the first bo tempistica in the ordered set where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica fetchByC_IntPratica_Tipo_Completo_First( - long companyId, long intPraticaId, String tipo, boolean completo, - OrderByComparator orderByComparator) throws SystemException { - List list = findByC_IntPratica_Tipo_Completo(companyId, - intPraticaId, tipo, completo, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo tempistica in the ordered set where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo tempistica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica findByC_IntPratica_Tipo_Completo_Last(long companyId, - long intPraticaId, String tipo, boolean completo, - OrderByComparator orderByComparator) - throws NoSuchBoTempisticaException, SystemException { - BoTempistica boTempistica = fetchByC_IntPratica_Tipo_Completo_Last(companyId, - intPraticaId, tipo, completo, orderByComparator); - - if (boTempistica != null) { - return boTempistica; - } - - StringBundler msg = new StringBundler(10); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", intPraticaId="); - msg.append(intPraticaId); - - msg.append(", tipo="); - msg.append(tipo); - - msg.append(", completo="); - msg.append(completo); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoTempisticaException(msg.toString()); - } - - /** - * Returns the last bo tempistica in the ordered set where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo tempistica, or null if a matching bo tempistica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica fetchByC_IntPratica_Tipo_Completo_Last(long companyId, - long intPraticaId, String tipo, boolean completo, - OrderByComparator orderByComparator) throws SystemException { - int count = countByC_IntPratica_Tipo_Completo(companyId, intPraticaId, - tipo, completo); - - if (count == 0) { - return null; - } - - List list = findByC_IntPratica_Tipo_Completo(companyId, - intPraticaId, tipo, completo, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo tempisticas before and after the current bo tempistica in the ordered set where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param tempisticaId the primary key of the current bo tempistica - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo tempistica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica[] findByC_IntPratica_Tipo_Completo_PrevAndNext( - long tempisticaId, long companyId, long intPraticaId, String tipo, - boolean completo, OrderByComparator orderByComparator) - throws NoSuchBoTempisticaException, SystemException { - BoTempistica boTempistica = findByPrimaryKey(tempisticaId); - - Session session = null; - - try { - session = openSession(); - - BoTempistica[] array = new BoTempisticaImpl[3]; - - array[0] = getByC_IntPratica_Tipo_Completo_PrevAndNext(session, - boTempistica, companyId, intPraticaId, tipo, completo, - orderByComparator, true); - - array[1] = boTempistica; - - array[2] = getByC_IntPratica_Tipo_Completo_PrevAndNext(session, - boTempistica, companyId, intPraticaId, tipo, completo, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoTempistica getByC_IntPratica_Tipo_Completo_PrevAndNext( - Session session, BoTempistica boTempistica, long companyId, - long intPraticaId, String tipo, boolean completo, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOTEMPISTICA_WHERE); - - query.append(_FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_INTPRATICAID_2); - - boolean bindTipo = false; - - if (tipo == null) { - query.append(_FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_TIPO_1); - } - else if (tipo.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_TIPO_3); - } - else { - bindTipo = true; - - query.append(_FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_TIPO_2); - } - - query.append(_FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_COMPLETO_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoTempisticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(intPraticaId); - - if (bindTipo) { - qPos.add(tipo); - } - - qPos.add(completo); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boTempistica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo tempisticas where companyId = ? and intPraticaId = ? and tipo = ? and completo = ? from the database. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByC_IntPratica_Tipo_Completo(long companyId, - long intPraticaId, String tipo, boolean completo) - throws SystemException { - for (BoTempistica boTempistica : findByC_IntPratica_Tipo_Completo( - companyId, intPraticaId, tipo, completo, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(boTempistica); - } - } - - /** - * Returns the number of bo tempisticas where companyId = ? and intPraticaId = ? and tipo = ? and completo = ?. - * - * @param companyId the company ID - * @param intPraticaId the int pratica ID - * @param tipo the tipo - * @param completo the completo - * @return the number of matching bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_IntPratica_Tipo_Completo(long companyId, - long intPraticaId, String tipo, boolean completo) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_C_INTPRATICA_TIPO_COMPLETO; - - Object[] finderArgs = new Object[] { - companyId, intPraticaId, tipo, completo - }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(5); - - query.append(_SQL_COUNT_BOTEMPISTICA_WHERE); - - query.append(_FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_INTPRATICAID_2); - - boolean bindTipo = false; - - if (tipo == null) { - query.append(_FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_TIPO_1); - } - else if (tipo.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_TIPO_3); - } - else { - bindTipo = true; - - query.append(_FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_TIPO_2); - } - - query.append(_FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_COMPLETO_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(intPraticaId); - - if (bindTipo) { - qPos.add(tipo); - } - - qPos.add(completo); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_COMPANYID_2 = - "boTempistica.companyId = ? AND "; - private static final String _FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_INTPRATICAID_2 = - "boTempistica.intPraticaId = ? AND "; - private static final String _FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_TIPO_1 = - "boTempistica.tipo IS NULL AND "; - private static final String _FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_TIPO_2 = - "boTempistica.tipo = ? AND "; - private static final String _FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_TIPO_3 = - "(boTempistica.tipo IS NULL OR boTempistica.tipo = '') AND "; - private static final String _FINDER_COLUMN_C_INTPRATICA_TIPO_COMPLETO_COMPLETO_2 = - "boTempistica.completo = ?"; - - public BoTempisticaPersistenceImpl() { - setModelClass(BoTempistica.class); - } - - /** - * Caches the bo tempistica in the entity cache if it is enabled. - * - * @param boTempistica the bo tempistica - */ - @Override - public void cacheResult(BoTempistica boTempistica) { - EntityCacheUtil.putResult(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaImpl.class, boTempistica.getPrimaryKey(), boTempistica); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - new Object[] { boTempistica.getUuid(), boTempistica.getGroupId() }, - boTempistica); - - boTempistica.resetOriginalValues(); - } - - /** - * Caches the bo tempisticas in the entity cache if it is enabled. - * - * @param boTempisticas the bo tempisticas - */ - @Override - public void cacheResult(List boTempisticas) { - for (BoTempistica boTempistica : boTempisticas) { - if (EntityCacheUtil.getResult( - BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaImpl.class, boTempistica.getPrimaryKey()) == null) { - cacheResult(boTempistica); - } - else { - boTempistica.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all bo tempisticas. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(BoTempisticaImpl.class.getName()); - } - - EntityCacheUtil.clearCache(BoTempisticaImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the bo tempistica. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(BoTempistica boTempistica) { - EntityCacheUtil.removeResult(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaImpl.class, boTempistica.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(boTempistica); - } - - @Override - public void clearCache(List boTempisticas) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (BoTempistica boTempistica : boTempisticas) { - EntityCacheUtil.removeResult(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaImpl.class, boTempistica.getPrimaryKey()); - - clearUniqueFindersCache(boTempistica); - } - } - - protected void cacheUniqueFindersCache(BoTempistica boTempistica) { - if (boTempistica.isNew()) { - Object[] args = new Object[] { - boTempistica.getUuid(), boTempistica.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - boTempistica); - } - else { - BoTempisticaModelImpl boTempisticaModelImpl = (BoTempisticaModelImpl)boTempistica; - - if ((boTempisticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boTempistica.getUuid(), boTempistica.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - boTempistica); - } - } - } - - protected void clearUniqueFindersCache(BoTempistica boTempistica) { - BoTempisticaModelImpl boTempisticaModelImpl = (BoTempisticaModelImpl)boTempistica; - - Object[] args = new Object[] { - boTempistica.getUuid(), boTempistica.getGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - - if ((boTempisticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - args = new Object[] { - boTempisticaModelImpl.getOriginalUuid(), - boTempisticaModelImpl.getOriginalGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - } - } - - /** - * Creates a new bo tempistica with the primary key. Does not add the bo tempistica to the database. - * - * @param tempisticaId the primary key for the new bo tempistica - * @return the new bo tempistica - */ - @Override - public BoTempistica create(long tempisticaId) { - BoTempistica boTempistica = new BoTempisticaImpl(); - - boTempistica.setNew(true); - boTempistica.setPrimaryKey(tempisticaId); - - String uuid = PortalUUIDUtil.generate(); - - boTempistica.setUuid(uuid); - - return boTempistica; - } - - /** - * Removes the bo tempistica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param tempisticaId the primary key of the bo tempistica - * @return the bo tempistica that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica remove(long tempisticaId) - throws NoSuchBoTempisticaException, SystemException { - return remove((Serializable)tempisticaId); - } - - /** - * Removes the bo tempistica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the bo tempistica - * @return the bo tempistica that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica remove(Serializable primaryKey) - throws NoSuchBoTempisticaException, SystemException { - Session session = null; - - try { - session = openSession(); - - BoTempistica boTempistica = (BoTempistica)session.get(BoTempisticaImpl.class, - primaryKey); - - if (boTempistica == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoTempisticaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(boTempistica); - } - catch (NoSuchBoTempisticaException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected BoTempistica removeImpl(BoTempistica boTempistica) - throws SystemException { - boTempistica = toUnwrappedModel(boTempistica); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(boTempistica)) { - boTempistica = (BoTempistica)session.get(BoTempisticaImpl.class, - boTempistica.getPrimaryKeyObj()); - } - - if (boTempistica != null) { - session.delete(boTempistica); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (boTempistica != null) { - clearCache(boTempistica); - } - - return boTempistica; - } - - @Override - public BoTempistica updateImpl( - it.tref.liferay.portos.portosimport.model.BoTempistica boTempistica) - throws SystemException { - boTempistica = toUnwrappedModel(boTempistica); - - boolean isNew = boTempistica.isNew(); - - BoTempisticaModelImpl boTempisticaModelImpl = (BoTempisticaModelImpl)boTempistica; - - if (Validator.isNull(boTempistica.getUuid())) { - String uuid = PortalUUIDUtil.generate(); - - boTempistica.setUuid(uuid); - } - - Session session = null; - - try { - session = openSession(); - - if (boTempistica.isNew()) { - session.save(boTempistica); - - boTempistica.setNew(false); - } - else { - session.merge(boTempistica); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !BoTempisticaModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((boTempisticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boTempisticaModelImpl.getOriginalUuid() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - - args = new Object[] { boTempisticaModelImpl.getUuid() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - } - - if ((boTempisticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boTempisticaModelImpl.getOriginalUuid(), - boTempisticaModelImpl.getOriginalCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - - args = new Object[] { - boTempisticaModelImpl.getUuid(), - boTempisticaModelImpl.getCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - } - - if ((boTempisticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_INTPRATICA_TIPO_COMPLETO.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boTempisticaModelImpl.getOriginalCompanyId(), - boTempisticaModelImpl.getOriginalIntPraticaId(), - boTempisticaModelImpl.getOriginalTipo(), - boTempisticaModelImpl.getOriginalCompleto() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_INTPRATICA_TIPO_COMPLETO, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_INTPRATICA_TIPO_COMPLETO, - args); - - args = new Object[] { - boTempisticaModelImpl.getCompanyId(), - boTempisticaModelImpl.getIntPraticaId(), - boTempisticaModelImpl.getTipo(), - boTempisticaModelImpl.getCompleto() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_INTPRATICA_TIPO_COMPLETO, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_INTPRATICA_TIPO_COMPLETO, - args); - } - } - - EntityCacheUtil.putResult(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaImpl.class, boTempistica.getPrimaryKey(), boTempistica); - - clearUniqueFindersCache(boTempistica); - cacheUniqueFindersCache(boTempistica); - - return boTempistica; - } - - protected BoTempistica toUnwrappedModel(BoTempistica boTempistica) { - if (boTempistica instanceof BoTempisticaImpl) { - return boTempistica; - } - - BoTempisticaImpl boTempisticaImpl = new BoTempisticaImpl(); - - boTempisticaImpl.setNew(boTempistica.isNew()); - boTempisticaImpl.setPrimaryKey(boTempistica.getPrimaryKey()); - - boTempisticaImpl.setUuid(boTempistica.getUuid()); - boTempisticaImpl.setTempisticaId(boTempistica.getTempisticaId()); - boTempisticaImpl.setCompanyId(boTempistica.getCompanyId()); - boTempisticaImpl.setUserId(boTempistica.getUserId()); - boTempisticaImpl.setUserName(boTempistica.getUserName()); - boTempisticaImpl.setCreateDate(boTempistica.getCreateDate()); - boTempisticaImpl.setModifiedDate(boTempistica.getModifiedDate()); - boTempisticaImpl.setGroupId(boTempistica.getGroupId()); - boTempisticaImpl.setIntPraticaId(boTempistica.getIntPraticaId()); - boTempisticaImpl.setDettPraticaId(boTempistica.getDettPraticaId()); - boTempisticaImpl.setTipo(boTempistica.getTipo()); - boTempisticaImpl.setStart(boTempistica.getStart()); - boTempisticaImpl.setStop(boTempistica.getStop()); - boTempisticaImpl.setWait(boTempistica.getWait()); - boTempisticaImpl.setCompleto(boTempistica.isCompleto()); - - return boTempisticaImpl; - } - - /** - * Returns the bo tempistica with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the bo tempistica - * @return the bo tempistica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica findByPrimaryKey(Serializable primaryKey) - throws NoSuchBoTempisticaException, SystemException { - BoTempistica boTempistica = fetchByPrimaryKey(primaryKey); - - if (boTempistica == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoTempisticaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return boTempistica; - } - - /** - * Returns the bo tempistica with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException} if it could not be found. - * - * @param tempisticaId the primary key of the bo tempistica - * @return the bo tempistica - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTempisticaException if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica findByPrimaryKey(long tempisticaId) - throws NoSuchBoTempisticaException, SystemException { - return findByPrimaryKey((Serializable)tempisticaId); - } - - /** - * Returns the bo tempistica with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the bo tempistica - * @return the bo tempistica, or null if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - BoTempistica boTempistica = (BoTempistica)EntityCacheUtil.getResult(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaImpl.class, primaryKey); - - if (boTempistica == _nullBoTempistica) { - return null; - } - - if (boTempistica == null) { - Session session = null; - - try { - session = openSession(); - - boTempistica = (BoTempistica)session.get(BoTempisticaImpl.class, - primaryKey); - - if (boTempistica != null) { - cacheResult(boTempistica); - } - else { - EntityCacheUtil.putResult(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaImpl.class, primaryKey, _nullBoTempistica); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(BoTempisticaModelImpl.ENTITY_CACHE_ENABLED, - BoTempisticaImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return boTempistica; - } - - /** - * Returns the bo tempistica with the primary key or returns null if it could not be found. - * - * @param tempisticaId the primary key of the bo tempistica - * @return the bo tempistica, or null if a bo tempistica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTempistica fetchByPrimaryKey(long tempisticaId) - throws SystemException { - return fetchByPrimaryKey((Serializable)tempisticaId); - } - - /** - * Returns all the bo tempisticas. - * - * @return the bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo tempisticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @return the range of bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the bo tempisticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTempisticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo tempisticas - * @param end the upper bound of the range of bo tempisticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_BOTEMPISTICA); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_BOTEMPISTICA; - - if (pagination) { - sql = sql.concat(BoTempisticaModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the bo tempisticas from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (BoTempistica boTempistica : findAll()) { - remove(boTempistica); - } - } - - /** - * Returns the number of bo tempisticas. - * - * @return the number of bo tempisticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_BOTEMPISTICA); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - @Override - protected Set getBadColumnNames() { - return _badColumnNames; - } - - /** - * Initializes the bo tempistica persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.portosimport.model.BoTempistica"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(BoTempisticaImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_BOTEMPISTICA = "SELECT boTempistica FROM BoTempistica boTempistica"; - private static final String _SQL_SELECT_BOTEMPISTICA_WHERE = "SELECT boTempistica FROM BoTempistica boTempistica WHERE "; - private static final String _SQL_COUNT_BOTEMPISTICA = "SELECT COUNT(boTempistica) FROM BoTempistica boTempistica"; - private static final String _SQL_COUNT_BOTEMPISTICA_WHERE = "SELECT COUNT(boTempistica) FROM BoTempistica boTempistica WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "boTempistica."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No BoTempistica exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No BoTempistica exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(BoTempisticaPersistenceImpl.class); - private static Set _badColumnNames = SetUtil.fromArray(new String[] { - "uuid", "start" - }); - private static BoTempistica _nullBoTempistica = new BoTempisticaImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullBoTempisticaCacheModel; - } - }; - - private static CacheModel _nullBoTempisticaCacheModel = new CacheModel() { - @Override - public BoTempistica toEntityModel() { - return _nullBoTempistica; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoTerritorioPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoTerritorioPersistenceImpl.java deleted file mode 100644 index f4ccb833..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/BoTerritorioPersistenceImpl.java +++ /dev/null @@ -1,3126 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.CalendarUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException; -import it.tref.liferay.portos.portosimport.model.BoTerritorio; -import it.tref.liferay.portos.portosimport.model.impl.BoTerritorioImpl; -import it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.Date; -import java.util.List; - -/** - * The persistence implementation for the bo territorio service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see BoTerritorioPersistence - * @see BoTerritorioUtil - * @generated - */ -public class BoTerritorioPersistenceImpl extends BasePersistenceImpl - implements BoTerritorioPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link BoTerritorioUtil} to access the bo territorio persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = BoTerritorioImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioModelImpl.FINDER_CACHE_ENABLED, BoTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioModelImpl.FINDER_CACHE_ENABLED, BoTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMUNEID = new FinderPath(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioModelImpl.FINDER_CACHE_ENABLED, BoTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByComuneId", - new String[] { - Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMUNEID = - new FinderPath(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioModelImpl.FINDER_CACHE_ENABLED, BoTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByComuneId", - new String[] { Long.class.getName() }, - BoTerritorioModelImpl.COMUNEID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_COMUNEID = new FinderPath(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByComuneId", - new String[] { Long.class.getName() }); - - /** - * Returns all the bo territorios where comuneId = ?. - * - * @param comuneId the comune ID - * @return the matching bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByComuneId(long comuneId) - throws SystemException { - return findByComuneId(comuneId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, - null); - } - - /** - * Returns a range of all the bo territorios where comuneId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param comuneId the comune ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByComuneId(long comuneId, int start, int end) - throws SystemException { - return findByComuneId(comuneId, start, end, null); - } - - /** - * Returns an ordered range of all the bo territorios where comuneId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param comuneId the comune ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByComuneId(long comuneId, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMUNEID; - finderArgs = new Object[] { comuneId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_COMUNEID; - finderArgs = new Object[] { comuneId, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoTerritorio boTerritorio : list) { - if ((comuneId != boTerritorio.getComuneId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOTERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_COMUNEID_COMUNEID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoTerritorioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(comuneId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio findByComuneId_First(long comuneId, - OrderByComparator orderByComparator) - throws NoSuchBoTerritorioException, SystemException { - BoTerritorio boTerritorio = fetchByComuneId_First(comuneId, - orderByComparator); - - if (boTerritorio != null) { - return boTerritorio; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("comuneId="); - msg.append(comuneId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoTerritorioException(msg.toString()); - } - - /** - * Returns the first bo territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio fetchByComuneId_First(long comuneId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByComuneId(comuneId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio findByComuneId_Last(long comuneId, - OrderByComparator orderByComparator) - throws NoSuchBoTerritorioException, SystemException { - BoTerritorio boTerritorio = fetchByComuneId_Last(comuneId, - orderByComparator); - - if (boTerritorio != null) { - return boTerritorio; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("comuneId="); - msg.append(comuneId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoTerritorioException(msg.toString()); - } - - /** - * Returns the last bo territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio fetchByComuneId_Last(long comuneId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByComuneId(comuneId); - - if (count == 0) { - return null; - } - - List list = findByComuneId(comuneId, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo territorios before and after the current bo territorio in the ordered set where comuneId = ?. - * - * @param territorioId the primary key of the current bo territorio - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio[] findByComuneId_PrevAndNext(long territorioId, - long comuneId, OrderByComparator orderByComparator) - throws NoSuchBoTerritorioException, SystemException { - BoTerritorio boTerritorio = findByPrimaryKey(territorioId); - - Session session = null; - - try { - session = openSession(); - - BoTerritorio[] array = new BoTerritorioImpl[3]; - - array[0] = getByComuneId_PrevAndNext(session, boTerritorio, - comuneId, orderByComparator, true); - - array[1] = boTerritorio; - - array[2] = getByComuneId_PrevAndNext(session, boTerritorio, - comuneId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoTerritorio getByComuneId_PrevAndNext(Session session, - BoTerritorio boTerritorio, long comuneId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOTERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_COMUNEID_COMUNEID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoTerritorioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(comuneId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boTerritorio); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo territorios where comuneId = ? from the database. - * - * @param comuneId the comune ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByComuneId(long comuneId) throws SystemException { - for (BoTerritorio boTerritorio : findByComuneId(comuneId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boTerritorio); - } - } - - /** - * Returns the number of bo territorios where comuneId = ?. - * - * @param comuneId the comune ID - * @return the number of matching bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public int countByComuneId(long comuneId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_COMUNEID; - - Object[] finderArgs = new Object[] { comuneId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BOTERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_COMUNEID_COMUNEID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(comuneId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_COMUNEID_COMUNEID_2 = "boTerritorio.comuneId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_ZONAID = new FinderPath(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioModelImpl.FINDER_CACHE_ENABLED, BoTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByZonaId", - new String[] { - Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ZONAID = - new FinderPath(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioModelImpl.FINDER_CACHE_ENABLED, BoTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByZonaId", - new String[] { Long.class.getName() }, - BoTerritorioModelImpl.ZONAID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_ZONAID = new FinderPath(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByZonaId", - new String[] { Long.class.getName() }); - - /** - * Returns all the bo territorios where zonaId = ?. - * - * @param zonaId the zona ID - * @return the matching bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByZonaId(long zonaId) - throws SystemException { - return findByZonaId(zonaId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo territorios where zonaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param zonaId the zona ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByZonaId(long zonaId, int start, int end) - throws SystemException { - return findByZonaId(zonaId, start, end, null); - } - - /** - * Returns an ordered range of all the bo territorios where zonaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param zonaId the zona ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByZonaId(long zonaId, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ZONAID; - finderArgs = new Object[] { zonaId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_ZONAID; - finderArgs = new Object[] { zonaId, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoTerritorio boTerritorio : list) { - if ((zonaId != boTerritorio.getZonaId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOTERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_ZONAID_ZONAID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoTerritorioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(zonaId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio findByZonaId_First(long zonaId, - OrderByComparator orderByComparator) - throws NoSuchBoTerritorioException, SystemException { - BoTerritorio boTerritorio = fetchByZonaId_First(zonaId, - orderByComparator); - - if (boTerritorio != null) { - return boTerritorio; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("zonaId="); - msg.append(zonaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoTerritorioException(msg.toString()); - } - - /** - * Returns the first bo territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio fetchByZonaId_First(long zonaId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByZonaId(zonaId, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio findByZonaId_Last(long zonaId, - OrderByComparator orderByComparator) - throws NoSuchBoTerritorioException, SystemException { - BoTerritorio boTerritorio = fetchByZonaId_Last(zonaId, orderByComparator); - - if (boTerritorio != null) { - return boTerritorio; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("zonaId="); - msg.append(zonaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoTerritorioException(msg.toString()); - } - - /** - * Returns the last bo territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio fetchByZonaId_Last(long zonaId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByZonaId(zonaId); - - if (count == 0) { - return null; - } - - List list = findByZonaId(zonaId, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo territorios before and after the current bo territorio in the ordered set where zonaId = ?. - * - * @param territorioId the primary key of the current bo territorio - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio[] findByZonaId_PrevAndNext(long territorioId, - long zonaId, OrderByComparator orderByComparator) - throws NoSuchBoTerritorioException, SystemException { - BoTerritorio boTerritorio = findByPrimaryKey(territorioId); - - Session session = null; - - try { - session = openSession(); - - BoTerritorio[] array = new BoTerritorioImpl[3]; - - array[0] = getByZonaId_PrevAndNext(session, boTerritorio, zonaId, - orderByComparator, true); - - array[1] = boTerritorio; - - array[2] = getByZonaId_PrevAndNext(session, boTerritorio, zonaId, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoTerritorio getByZonaId_PrevAndNext(Session session, - BoTerritorio boTerritorio, long zonaId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOTERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_ZONAID_ZONAID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoTerritorioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(zonaId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boTerritorio); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo territorios where zonaId = ? from the database. - * - * @param zonaId the zona ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByZonaId(long zonaId) throws SystemException { - for (BoTerritorio boTerritorio : findByZonaId(zonaId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boTerritorio); - } - } - - /** - * Returns the number of bo territorios where zonaId = ?. - * - * @param zonaId the zona ID - * @return the number of matching bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public int countByZonaId(long zonaId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_ZONAID; - - Object[] finderArgs = new Object[] { zonaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BOTERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_ZONAID_ZONAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(zonaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_ZONAID_ZONAID_2 = "boTerritorio.zonaId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_FASCIAID = new FinderPath(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioModelImpl.FINDER_CACHE_ENABLED, BoTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByFasciaId", - new String[] { - Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FASCIAID = - new FinderPath(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioModelImpl.FINDER_CACHE_ENABLED, BoTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByFasciaId", - new String[] { Long.class.getName() }, - BoTerritorioModelImpl.FASCIAID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_FASCIAID = new FinderPath(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByFasciaId", - new String[] { Long.class.getName() }); - - /** - * Returns all the bo territorios where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @return the matching bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByFasciaId(long fasciaId) - throws SystemException { - return findByFasciaId(fasciaId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, - null); - } - - /** - * Returns a range of all the bo territorios where fasciaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param fasciaId the fascia ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByFasciaId(long fasciaId, int start, int end) - throws SystemException { - return findByFasciaId(fasciaId, start, end, null); - } - - /** - * Returns an ordered range of all the bo territorios where fasciaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param fasciaId the fascia ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByFasciaId(long fasciaId, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FASCIAID; - finderArgs = new Object[] { fasciaId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_FASCIAID; - finderArgs = new Object[] { fasciaId, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoTerritorio boTerritorio : list) { - if ((fasciaId != boTerritorio.getFasciaId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOTERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_FASCIAID_FASCIAID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoTerritorioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(fasciaId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio findByFasciaId_First(long fasciaId, - OrderByComparator orderByComparator) - throws NoSuchBoTerritorioException, SystemException { - BoTerritorio boTerritorio = fetchByFasciaId_First(fasciaId, - orderByComparator); - - if (boTerritorio != null) { - return boTerritorio; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("fasciaId="); - msg.append(fasciaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoTerritorioException(msg.toString()); - } - - /** - * Returns the first bo territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio fetchByFasciaId_First(long fasciaId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByFasciaId(fasciaId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio findByFasciaId_Last(long fasciaId, - OrderByComparator orderByComparator) - throws NoSuchBoTerritorioException, SystemException { - BoTerritorio boTerritorio = fetchByFasciaId_Last(fasciaId, - orderByComparator); - - if (boTerritorio != null) { - return boTerritorio; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("fasciaId="); - msg.append(fasciaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoTerritorioException(msg.toString()); - } - - /** - * Returns the last bo territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio fetchByFasciaId_Last(long fasciaId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByFasciaId(fasciaId); - - if (count == 0) { - return null; - } - - List list = findByFasciaId(fasciaId, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo territorios before and after the current bo territorio in the ordered set where fasciaId = ?. - * - * @param territorioId the primary key of the current bo territorio - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio[] findByFasciaId_PrevAndNext(long territorioId, - long fasciaId, OrderByComparator orderByComparator) - throws NoSuchBoTerritorioException, SystemException { - BoTerritorio boTerritorio = findByPrimaryKey(territorioId); - - Session session = null; - - try { - session = openSession(); - - BoTerritorio[] array = new BoTerritorioImpl[3]; - - array[0] = getByFasciaId_PrevAndNext(session, boTerritorio, - fasciaId, orderByComparator, true); - - array[1] = boTerritorio; - - array[2] = getByFasciaId_PrevAndNext(session, boTerritorio, - fasciaId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoTerritorio getByFasciaId_PrevAndNext(Session session, - BoTerritorio boTerritorio, long fasciaId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOTERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_FASCIAID_FASCIAID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoTerritorioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(fasciaId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boTerritorio); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo territorios where fasciaId = ? from the database. - * - * @param fasciaId the fascia ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByFasciaId(long fasciaId) throws SystemException { - for (BoTerritorio boTerritorio : findByFasciaId(fasciaId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boTerritorio); - } - } - - /** - * Returns the number of bo territorios where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @return the number of matching bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public int countByFasciaId(long fasciaId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_FASCIAID; - - Object[] finderArgs = new Object[] { fasciaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_BOTERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_FASCIAID_FASCIAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(fasciaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_FASCIAID_FASCIAID_2 = "boTerritorio.fasciaId = ?"; - public static final FinderPath FINDER_PATH_FETCH_BY_C_Z_F_D = new FinderPath(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioModelImpl.FINDER_CACHE_ENABLED, BoTerritorioImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByC_Z_F_D", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName(), - Date.class.getName() - }, - BoTerritorioModelImpl.COMUNEID_COLUMN_BITMASK | - BoTerritorioModelImpl.ZONAID_COLUMN_BITMASK | - BoTerritorioModelImpl.FASCIAID_COLUMN_BITMASK | - BoTerritorioModelImpl.DTINI_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_C_Z_F_D = new FinderPath(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByC_Z_F_D", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName(), - Date.class.getName() - }); - - /** - * Returns the bo territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException} if it could not be found. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the matching bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio findByC_Z_F_D(long comuneId, long zonaId, - long fasciaId, Date dtIni) - throws NoSuchBoTerritorioException, SystemException { - BoTerritorio boTerritorio = fetchByC_Z_F_D(comuneId, zonaId, fasciaId, - dtIni); - - if (boTerritorio == null) { - StringBundler msg = new StringBundler(10); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("comuneId="); - msg.append(comuneId); - - msg.append(", zonaId="); - msg.append(zonaId); - - msg.append(", fasciaId="); - msg.append(fasciaId); - - msg.append(", dtIni="); - msg.append(dtIni); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchBoTerritorioException(msg.toString()); - } - - return boTerritorio; - } - - /** - * Returns the bo territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? or returns null if it could not be found. Uses the finder cache. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio fetchByC_Z_F_D(long comuneId, long zonaId, - long fasciaId, Date dtIni) throws SystemException { - return fetchByC_Z_F_D(comuneId, zonaId, fasciaId, dtIni, true); - } - - /** - * Returns the bo territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @param retrieveFromCache whether to use the finder cache - * @return the matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio fetchByC_Z_F_D(long comuneId, long zonaId, - long fasciaId, Date dtIni, boolean retrieveFromCache) - throws SystemException { - Object[] finderArgs = new Object[] { comuneId, zonaId, fasciaId, dtIni }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_C_Z_F_D, - finderArgs, this); - } - - if (result instanceof BoTerritorio) { - BoTerritorio boTerritorio = (BoTerritorio)result; - - if ((comuneId != boTerritorio.getComuneId()) || - (zonaId != boTerritorio.getZonaId()) || - (fasciaId != boTerritorio.getFasciaId()) || - !Validator.equals(dtIni, boTerritorio.getDtIni())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(6); - - query.append(_SQL_SELECT_BOTERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_C_Z_F_D_COMUNEID_2); - - query.append(_FINDER_COLUMN_C_Z_F_D_ZONAID_2); - - query.append(_FINDER_COLUMN_C_Z_F_D_FASCIAID_2); - - boolean bindDtIni = false; - - if (dtIni == null) { - query.append(_FINDER_COLUMN_C_Z_F_D_DTINI_1); - } - else { - bindDtIni = true; - - query.append(_FINDER_COLUMN_C_Z_F_D_DTINI_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(comuneId); - - qPos.add(zonaId); - - qPos.add(fasciaId); - - if (bindDtIni) { - qPos.add(CalendarUtil.getTimestamp(dtIni)); - } - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_Z_F_D, - finderArgs, list); - } - else { - BoTerritorio boTerritorio = list.get(0); - - result = boTerritorio; - - cacheResult(boTerritorio); - - if ((boTerritorio.getComuneId() != comuneId) || - (boTerritorio.getZonaId() != zonaId) || - (boTerritorio.getFasciaId() != fasciaId) || - (boTerritorio.getDtIni() == null) || - !boTerritorio.getDtIni().equals(dtIni)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_Z_F_D, - finderArgs, boTerritorio); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_Z_F_D, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (BoTerritorio)result; - } - } - - /** - * Removes the bo territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? from the database. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the bo territorio that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio removeByC_Z_F_D(long comuneId, long zonaId, - long fasciaId, Date dtIni) - throws NoSuchBoTerritorioException, SystemException { - BoTerritorio boTerritorio = findByC_Z_F_D(comuneId, zonaId, fasciaId, - dtIni); - - return remove(boTerritorio); - } - - /** - * Returns the number of bo territorios where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the number of matching bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_Z_F_D(long comuneId, long zonaId, long fasciaId, - Date dtIni) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_C_Z_F_D; - - Object[] finderArgs = new Object[] { comuneId, zonaId, fasciaId, dtIni }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(5); - - query.append(_SQL_COUNT_BOTERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_C_Z_F_D_COMUNEID_2); - - query.append(_FINDER_COLUMN_C_Z_F_D_ZONAID_2); - - query.append(_FINDER_COLUMN_C_Z_F_D_FASCIAID_2); - - boolean bindDtIni = false; - - if (dtIni == null) { - query.append(_FINDER_COLUMN_C_Z_F_D_DTINI_1); - } - else { - bindDtIni = true; - - query.append(_FINDER_COLUMN_C_Z_F_D_DTINI_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(comuneId); - - qPos.add(zonaId); - - qPos.add(fasciaId); - - if (bindDtIni) { - qPos.add(CalendarUtil.getTimestamp(dtIni)); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_C_Z_F_D_COMUNEID_2 = "boTerritorio.comuneId = ? AND "; - private static final String _FINDER_COLUMN_C_Z_F_D_ZONAID_2 = "boTerritorio.zonaId = ? AND "; - private static final String _FINDER_COLUMN_C_Z_F_D_FASCIAID_2 = "boTerritorio.fasciaId = ? AND "; - private static final String _FINDER_COLUMN_C_Z_F_D_DTINI_1 = "boTerritorio.dtIni IS NULL"; - private static final String _FINDER_COLUMN_C_Z_F_D_DTINI_2 = "boTerritorio.dtIni = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_GROUP = new FinderPath(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioModelImpl.FINDER_CACHE_ENABLED, BoTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByC_Group", - new String[] { - Long.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP = - new FinderPath(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioModelImpl.FINDER_CACHE_ENABLED, BoTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByC_Group", - new String[] { Long.class.getName(), Long.class.getName() }, - BoTerritorioModelImpl.COMPANYID_COLUMN_BITMASK | - BoTerritorioModelImpl.GROUPID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_C_GROUP = new FinderPath(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByC_Group", - new String[] { Long.class.getName(), Long.class.getName() }); - - /** - * Returns all the bo territorios where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @return the matching bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group(long companyId, long groupId) - throws SystemException { - return findByC_Group(companyId, groupId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo territorios where companyId = ? and groupId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group(long companyId, long groupId, - int start, int end) throws SystemException { - return findByC_Group(companyId, groupId, start, end, null); - } - - /** - * Returns an ordered range of all the bo territorios where companyId = ? and groupId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param companyId the company ID - * @param groupId the group ID - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Group(long companyId, long groupId, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP; - finderArgs = new Object[] { companyId, groupId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_C_GROUP; - finderArgs = new Object[] { - companyId, groupId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (BoTerritorio boTerritorio : list) { - if ((companyId != boTerritorio.getCompanyId()) || - (groupId != boTerritorio.getGroupId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_BOTERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_GROUPID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(BoTerritorioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first bo territorio in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio findByC_Group_First(long companyId, long groupId, - OrderByComparator orderByComparator) - throws NoSuchBoTerritorioException, SystemException { - BoTerritorio boTerritorio = fetchByC_Group_First(companyId, groupId, - orderByComparator); - - if (boTerritorio != null) { - return boTerritorio; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoTerritorioException(msg.toString()); - } - - /** - * Returns the first bo territorio in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio fetchByC_Group_First(long companyId, long groupId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByC_Group(companyId, groupId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last bo territorio in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio findByC_Group_Last(long companyId, long groupId, - OrderByComparator orderByComparator) - throws NoSuchBoTerritorioException, SystemException { - BoTerritorio boTerritorio = fetchByC_Group_Last(companyId, groupId, - orderByComparator); - - if (boTerritorio != null) { - return boTerritorio; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("companyId="); - msg.append(companyId); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchBoTerritorioException(msg.toString()); - } - - /** - * Returns the last bo territorio in the ordered set where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching bo territorio, or null if a matching bo territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio fetchByC_Group_Last(long companyId, long groupId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByC_Group(companyId, groupId); - - if (count == 0) { - return null; - } - - List list = findByC_Group(companyId, groupId, count - 1, - count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the bo territorios before and after the current bo territorio in the ordered set where companyId = ? and groupId = ?. - * - * @param territorioId the primary key of the current bo territorio - * @param companyId the company ID - * @param groupId the group ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio[] findByC_Group_PrevAndNext(long territorioId, - long companyId, long groupId, OrderByComparator orderByComparator) - throws NoSuchBoTerritorioException, SystemException { - BoTerritorio boTerritorio = findByPrimaryKey(territorioId); - - Session session = null; - - try { - session = openSession(); - - BoTerritorio[] array = new BoTerritorioImpl[3]; - - array[0] = getByC_Group_PrevAndNext(session, boTerritorio, - companyId, groupId, orderByComparator, true); - - array[1] = boTerritorio; - - array[2] = getByC_Group_PrevAndNext(session, boTerritorio, - companyId, groupId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected BoTerritorio getByC_Group_PrevAndNext(Session session, - BoTerritorio boTerritorio, long companyId, long groupId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_BOTERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_GROUPID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(BoTerritorioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(boTerritorio); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the bo territorios where companyId = ? and groupId = ? from the database. - * - * @param companyId the company ID - * @param groupId the group ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByC_Group(long companyId, long groupId) - throws SystemException { - for (BoTerritorio boTerritorio : findByC_Group(companyId, groupId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(boTerritorio); - } - } - - /** - * Returns the number of bo territorios where companyId = ? and groupId = ?. - * - * @param companyId the company ID - * @param groupId the group ID - * @return the number of matching bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_Group(long companyId, long groupId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_C_GROUP; - - Object[] finderArgs = new Object[] { companyId, groupId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_BOTERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_C_GROUP_COMPANYID_2); - - query.append(_FINDER_COLUMN_C_GROUP_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(companyId); - - qPos.add(groupId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_C_GROUP_COMPANYID_2 = "boTerritorio.companyId = ? AND "; - private static final String _FINDER_COLUMN_C_GROUP_GROUPID_2 = "boTerritorio.groupId = ?"; - - public BoTerritorioPersistenceImpl() { - setModelClass(BoTerritorio.class); - } - - /** - * Caches the bo territorio in the entity cache if it is enabled. - * - * @param boTerritorio the bo territorio - */ - @Override - public void cacheResult(BoTerritorio boTerritorio) { - EntityCacheUtil.putResult(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioImpl.class, boTerritorio.getPrimaryKey(), boTerritorio); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_Z_F_D, - new Object[] { - boTerritorio.getComuneId(), boTerritorio.getZonaId(), - boTerritorio.getFasciaId(), boTerritorio.getDtIni() - }, boTerritorio); - - boTerritorio.resetOriginalValues(); - } - - /** - * Caches the bo territorios in the entity cache if it is enabled. - * - * @param boTerritorios the bo territorios - */ - @Override - public void cacheResult(List boTerritorios) { - for (BoTerritorio boTerritorio : boTerritorios) { - if (EntityCacheUtil.getResult( - BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioImpl.class, boTerritorio.getPrimaryKey()) == null) { - cacheResult(boTerritorio); - } - else { - boTerritorio.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all bo territorios. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(BoTerritorioImpl.class.getName()); - } - - EntityCacheUtil.clearCache(BoTerritorioImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the bo territorio. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(BoTerritorio boTerritorio) { - EntityCacheUtil.removeResult(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioImpl.class, boTerritorio.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(boTerritorio); - } - - @Override - public void clearCache(List boTerritorios) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (BoTerritorio boTerritorio : boTerritorios) { - EntityCacheUtil.removeResult(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioImpl.class, boTerritorio.getPrimaryKey()); - - clearUniqueFindersCache(boTerritorio); - } - } - - protected void cacheUniqueFindersCache(BoTerritorio boTerritorio) { - if (boTerritorio.isNew()) { - Object[] args = new Object[] { - boTerritorio.getComuneId(), boTerritorio.getZonaId(), - boTerritorio.getFasciaId(), boTerritorio.getDtIni() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_C_Z_F_D, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_Z_F_D, args, - boTerritorio); - } - else { - BoTerritorioModelImpl boTerritorioModelImpl = (BoTerritorioModelImpl)boTerritorio; - - if ((boTerritorioModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_C_Z_F_D.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boTerritorio.getComuneId(), boTerritorio.getZonaId(), - boTerritorio.getFasciaId(), boTerritorio.getDtIni() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_C_Z_F_D, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_Z_F_D, args, - boTerritorio); - } - } - } - - protected void clearUniqueFindersCache(BoTerritorio boTerritorio) { - BoTerritorioModelImpl boTerritorioModelImpl = (BoTerritorioModelImpl)boTerritorio; - - Object[] args = new Object[] { - boTerritorio.getComuneId(), boTerritorio.getZonaId(), - boTerritorio.getFasciaId(), boTerritorio.getDtIni() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_Z_F_D, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_Z_F_D, args); - - if ((boTerritorioModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_C_Z_F_D.getColumnBitmask()) != 0) { - args = new Object[] { - boTerritorioModelImpl.getOriginalComuneId(), - boTerritorioModelImpl.getOriginalZonaId(), - boTerritorioModelImpl.getOriginalFasciaId(), - boTerritorioModelImpl.getOriginalDtIni() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_Z_F_D, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_Z_F_D, args); - } - } - - /** - * Creates a new bo territorio with the primary key. Does not add the bo territorio to the database. - * - * @param territorioId the primary key for the new bo territorio - * @return the new bo territorio - */ - @Override - public BoTerritorio create(long territorioId) { - BoTerritorio boTerritorio = new BoTerritorioImpl(); - - boTerritorio.setNew(true); - boTerritorio.setPrimaryKey(territorioId); - - return boTerritorio; - } - - /** - * Removes the bo territorio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param territorioId the primary key of the bo territorio - * @return the bo territorio that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio remove(long territorioId) - throws NoSuchBoTerritorioException, SystemException { - return remove((Serializable)territorioId); - } - - /** - * Removes the bo territorio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the bo territorio - * @return the bo territorio that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio remove(Serializable primaryKey) - throws NoSuchBoTerritorioException, SystemException { - Session session = null; - - try { - session = openSession(); - - BoTerritorio boTerritorio = (BoTerritorio)session.get(BoTerritorioImpl.class, - primaryKey); - - if (boTerritorio == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoTerritorioException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(boTerritorio); - } - catch (NoSuchBoTerritorioException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected BoTerritorio removeImpl(BoTerritorio boTerritorio) - throws SystemException { - boTerritorio = toUnwrappedModel(boTerritorio); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(boTerritorio)) { - boTerritorio = (BoTerritorio)session.get(BoTerritorioImpl.class, - boTerritorio.getPrimaryKeyObj()); - } - - if (boTerritorio != null) { - session.delete(boTerritorio); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (boTerritorio != null) { - clearCache(boTerritorio); - } - - return boTerritorio; - } - - @Override - public BoTerritorio updateImpl( - it.tref.liferay.portos.portosimport.model.BoTerritorio boTerritorio) - throws SystemException { - boTerritorio = toUnwrappedModel(boTerritorio); - - boolean isNew = boTerritorio.isNew(); - - BoTerritorioModelImpl boTerritorioModelImpl = (BoTerritorioModelImpl)boTerritorio; - - Session session = null; - - try { - session = openSession(); - - if (boTerritorio.isNew()) { - session.save(boTerritorio); - - boTerritorio.setNew(false); - } - else { - session.merge(boTerritorio); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !BoTerritorioModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((boTerritorioModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMUNEID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boTerritorioModelImpl.getOriginalComuneId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_COMUNEID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMUNEID, - args); - - args = new Object[] { boTerritorioModelImpl.getComuneId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_COMUNEID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMUNEID, - args); - } - - if ((boTerritorioModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ZONAID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boTerritorioModelImpl.getOriginalZonaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_ZONAID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ZONAID, - args); - - args = new Object[] { boTerritorioModelImpl.getZonaId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_ZONAID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ZONAID, - args); - } - - if ((boTerritorioModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FASCIAID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boTerritorioModelImpl.getOriginalFasciaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_FASCIAID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FASCIAID, - args); - - args = new Object[] { boTerritorioModelImpl.getFasciaId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_FASCIAID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FASCIAID, - args); - } - - if ((boTerritorioModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - boTerritorioModelImpl.getOriginalCompanyId(), - boTerritorioModelImpl.getOriginalGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_GROUP, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP, - args); - - args = new Object[] { - boTerritorioModelImpl.getCompanyId(), - boTerritorioModelImpl.getGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_GROUP, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_GROUP, - args); - } - } - - EntityCacheUtil.putResult(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioImpl.class, boTerritorio.getPrimaryKey(), boTerritorio); - - clearUniqueFindersCache(boTerritorio); - cacheUniqueFindersCache(boTerritorio); - - return boTerritorio; - } - - protected BoTerritorio toUnwrappedModel(BoTerritorio boTerritorio) { - if (boTerritorio instanceof BoTerritorioImpl) { - return boTerritorio; - } - - BoTerritorioImpl boTerritorioImpl = new BoTerritorioImpl(); - - boTerritorioImpl.setNew(boTerritorio.isNew()); - boTerritorioImpl.setPrimaryKey(boTerritorio.getPrimaryKey()); - - boTerritorioImpl.setTerritorioId(boTerritorio.getTerritorioId()); - boTerritorioImpl.setCompanyId(boTerritorio.getCompanyId()); - boTerritorioImpl.setUserId(boTerritorio.getUserId()); - boTerritorioImpl.setUserName(boTerritorio.getUserName()); - boTerritorioImpl.setCreateDate(boTerritorio.getCreateDate()); - boTerritorioImpl.setModifiedDate(boTerritorio.getModifiedDate()); - boTerritorioImpl.setGroupId(boTerritorio.getGroupId()); - boTerritorioImpl.setZonaId(boTerritorio.getZonaId()); - boTerritorioImpl.setFasciaId(boTerritorio.getFasciaId()); - boTerritorioImpl.setComuneId(boTerritorio.getComuneId()); - boTerritorioImpl.setDtIni(boTerritorio.getDtIni()); - boTerritorioImpl.setDtFin(boTerritorio.getDtFin()); - - return boTerritorioImpl; - } - - /** - * Returns the bo territorio with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the bo territorio - * @return the bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio findByPrimaryKey(Serializable primaryKey) - throws NoSuchBoTerritorioException, SystemException { - BoTerritorio boTerritorio = fetchByPrimaryKey(primaryKey); - - if (boTerritorio == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchBoTerritorioException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return boTerritorio; - } - - /** - * Returns the bo territorio with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException} if it could not be found. - * - * @param territorioId the primary key of the bo territorio - * @return the bo territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchBoTerritorioException if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio findByPrimaryKey(long territorioId) - throws NoSuchBoTerritorioException, SystemException { - return findByPrimaryKey((Serializable)territorioId); - } - - /** - * Returns the bo territorio with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the bo territorio - * @return the bo territorio, or null if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - BoTerritorio boTerritorio = (BoTerritorio)EntityCacheUtil.getResult(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioImpl.class, primaryKey); - - if (boTerritorio == _nullBoTerritorio) { - return null; - } - - if (boTerritorio == null) { - Session session = null; - - try { - session = openSession(); - - boTerritorio = (BoTerritorio)session.get(BoTerritorioImpl.class, - primaryKey); - - if (boTerritorio != null) { - cacheResult(boTerritorio); - } - else { - EntityCacheUtil.putResult(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioImpl.class, primaryKey, _nullBoTerritorio); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(BoTerritorioModelImpl.ENTITY_CACHE_ENABLED, - BoTerritorioImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return boTerritorio; - } - - /** - * Returns the bo territorio with the primary key or returns null if it could not be found. - * - * @param territorioId the primary key of the bo territorio - * @return the bo territorio, or null if a bo territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public BoTerritorio fetchByPrimaryKey(long territorioId) - throws SystemException { - return fetchByPrimaryKey((Serializable)territorioId); - } - - /** - * Returns all the bo territorios. - * - * @return the bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the bo territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @return the range of bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the bo territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.BoTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of bo territorios - * @param end the upper bound of the range of bo territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_BOTERRITORIO); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_BOTERRITORIO; - - if (pagination) { - sql = sql.concat(BoTerritorioModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the bo territorios from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (BoTerritorio boTerritorio : findAll()) { - remove(boTerritorio); - } - } - - /** - * Returns the number of bo territorios. - * - * @return the number of bo territorios - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_BOTERRITORIO); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - /** - * Initializes the bo territorio persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.portosimport.model.BoTerritorio"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(BoTerritorioImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_BOTERRITORIO = "SELECT boTerritorio FROM BoTerritorio boTerritorio"; - private static final String _SQL_SELECT_BOTERRITORIO_WHERE = "SELECT boTerritorio FROM BoTerritorio boTerritorio WHERE "; - private static final String _SQL_COUNT_BOTERRITORIO = "SELECT COUNT(boTerritorio) FROM BoTerritorio boTerritorio"; - private static final String _SQL_COUNT_BOTERRITORIO_WHERE = "SELECT COUNT(boTerritorio) FROM BoTerritorio boTerritorio WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "boTerritorio."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No BoTerritorio exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No BoTerritorio exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(BoTerritorioPersistenceImpl.class); - private static BoTerritorio _nullBoTerritorio = new BoTerritorioImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullBoTerritorioCacheModel; - } - }; - - private static CacheModel _nullBoTerritorioCacheModel = new CacheModel() { - @Override - public BoTerritorio toEntityModel() { - return _nullBoTerritorio; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/FeComunePersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/FeComunePersistenceImpl.java deleted file mode 100644 index 868e1827..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/FeComunePersistenceImpl.java +++ /dev/null @@ -1,1230 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.portosimport.NoSuchFeComuneException; -import it.tref.liferay.portos.portosimport.model.FeComune; -import it.tref.liferay.portos.portosimport.model.impl.FeComuneImpl; -import it.tref.liferay.portos.portosimport.model.impl.FeComuneModelImpl; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -/** - * The persistence implementation for the fe comune service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see FeComunePersistence - * @see FeComuneUtil - * @generated - */ -public class FeComunePersistenceImpl extends BasePersistenceImpl - implements FeComunePersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link FeComuneUtil} to access the fe comune persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = FeComuneImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(FeComuneModelImpl.ENTITY_CACHE_ENABLED, - FeComuneModelImpl.FINDER_CACHE_ENABLED, FeComuneImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(FeComuneModelImpl.ENTITY_CACHE_ENABLED, - FeComuneModelImpl.FINDER_CACHE_ENABLED, FeComuneImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(FeComuneModelImpl.ENTITY_CACHE_ENABLED, - FeComuneModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_FETCH_BY_CODISTAT = new FinderPath(FeComuneModelImpl.ENTITY_CACHE_ENABLED, - FeComuneModelImpl.FINDER_CACHE_ENABLED, FeComuneImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByCodIstat", - new String[] { String.class.getName() }, - FeComuneModelImpl.CODISTAT_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_CODISTAT = new FinderPath(FeComuneModelImpl.ENTITY_CACHE_ENABLED, - FeComuneModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByCodIstat", - new String[] { String.class.getName() }); - - /** - * Returns the fe comune where codIstat = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchFeComuneException} if it could not be found. - * - * @param codIstat the cod istat - * @return the matching fe comune - * @throws it.tref.liferay.portos.portosimport.NoSuchFeComuneException if a matching fe comune could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeComune findByCodIstat(String codIstat) - throws NoSuchFeComuneException, SystemException { - FeComune feComune = fetchByCodIstat(codIstat); - - if (feComune == null) { - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("codIstat="); - msg.append(codIstat); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchFeComuneException(msg.toString()); - } - - return feComune; - } - - /** - * Returns the fe comune where codIstat = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codIstat the cod istat - * @return the matching fe comune, or null if a matching fe comune could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeComune fetchByCodIstat(String codIstat) throws SystemException { - return fetchByCodIstat(codIstat, true); - } - - /** - * Returns the fe comune where codIstat = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codIstat the cod istat - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe comune, or null if a matching fe comune could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeComune fetchByCodIstat(String codIstat, boolean retrieveFromCache) - throws SystemException { - Object[] finderArgs = new Object[] { codIstat }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_CODISTAT, - finderArgs, this); - } - - if (result instanceof FeComune) { - FeComune feComune = (FeComune)result; - - if (!Validator.equals(codIstat, feComune.getCodIstat())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_SELECT_FECOMUNE_WHERE); - - boolean bindCodIstat = false; - - if (codIstat == null) { - query.append(_FINDER_COLUMN_CODISTAT_CODISTAT_1); - } - else if (codIstat.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_CODISTAT_CODISTAT_3); - } - else { - bindCodIstat = true; - - query.append(_FINDER_COLUMN_CODISTAT_CODISTAT_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindCodIstat) { - qPos.add(codIstat); - } - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODISTAT, - finderArgs, list); - } - else { - FeComune feComune = list.get(0); - - result = feComune; - - cacheResult(feComune); - - if ((feComune.getCodIstat() == null) || - !feComune.getCodIstat().equals(codIstat)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODISTAT, - finderArgs, feComune); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODISTAT, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (FeComune)result; - } - } - - /** - * Removes the fe comune where codIstat = ? from the database. - * - * @param codIstat the cod istat - * @return the fe comune that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public FeComune removeByCodIstat(String codIstat) - throws NoSuchFeComuneException, SystemException { - FeComune feComune = findByCodIstat(codIstat); - - return remove(feComune); - } - - /** - * Returns the number of fe comunes where codIstat = ?. - * - * @param codIstat the cod istat - * @return the number of matching fe comunes - * @throws SystemException if a system exception occurred - */ - @Override - public int countByCodIstat(String codIstat) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_CODISTAT; - - Object[] finderArgs = new Object[] { codIstat }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_FECOMUNE_WHERE); - - boolean bindCodIstat = false; - - if (codIstat == null) { - query.append(_FINDER_COLUMN_CODISTAT_CODISTAT_1); - } - else if (codIstat.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_CODISTAT_CODISTAT_3); - } - else { - bindCodIstat = true; - - query.append(_FINDER_COLUMN_CODISTAT_CODISTAT_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindCodIstat) { - qPos.add(codIstat); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_CODISTAT_CODISTAT_1 = "feComune.codIstat IS NULL"; - private static final String _FINDER_COLUMN_CODISTAT_CODISTAT_2 = "feComune.codIstat = ?"; - private static final String _FINDER_COLUMN_CODISTAT_CODISTAT_3 = "(feComune.codIstat IS NULL OR feComune.codIstat = '')"; - public static final FinderPath FINDER_PATH_FETCH_BY_CODCATASTALE = new FinderPath(FeComuneModelImpl.ENTITY_CACHE_ENABLED, - FeComuneModelImpl.FINDER_CACHE_ENABLED, FeComuneImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByCodCatastale", - new String[] { String.class.getName() }, - FeComuneModelImpl.CODCATASTALE_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_CODCATASTALE = new FinderPath(FeComuneModelImpl.ENTITY_CACHE_ENABLED, - FeComuneModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByCodCatastale", - new String[] { String.class.getName() }); - - /** - * Returns the fe comune where codCatastale = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchFeComuneException} if it could not be found. - * - * @param codCatastale the cod catastale - * @return the matching fe comune - * @throws it.tref.liferay.portos.portosimport.NoSuchFeComuneException if a matching fe comune could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeComune findByCodCatastale(String codCatastale) - throws NoSuchFeComuneException, SystemException { - FeComune feComune = fetchByCodCatastale(codCatastale); - - if (feComune == null) { - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("codCatastale="); - msg.append(codCatastale); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchFeComuneException(msg.toString()); - } - - return feComune; - } - - /** - * Returns the fe comune where codCatastale = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codCatastale the cod catastale - * @return the matching fe comune, or null if a matching fe comune could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeComune fetchByCodCatastale(String codCatastale) - throws SystemException { - return fetchByCodCatastale(codCatastale, true); - } - - /** - * Returns the fe comune where codCatastale = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codCatastale the cod catastale - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe comune, or null if a matching fe comune could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeComune fetchByCodCatastale(String codCatastale, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { codCatastale }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_CODCATASTALE, - finderArgs, this); - } - - if (result instanceof FeComune) { - FeComune feComune = (FeComune)result; - - if (!Validator.equals(codCatastale, feComune.getCodCatastale())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_SELECT_FECOMUNE_WHERE); - - boolean bindCodCatastale = false; - - if (codCatastale == null) { - query.append(_FINDER_COLUMN_CODCATASTALE_CODCATASTALE_1); - } - else if (codCatastale.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_CODCATASTALE_CODCATASTALE_3); - } - else { - bindCodCatastale = true; - - query.append(_FINDER_COLUMN_CODCATASTALE_CODCATASTALE_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindCodCatastale) { - qPos.add(codCatastale); - } - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODCATASTALE, - finderArgs, list); - } - else { - FeComune feComune = list.get(0); - - result = feComune; - - cacheResult(feComune); - - if ((feComune.getCodCatastale() == null) || - !feComune.getCodCatastale().equals(codCatastale)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODCATASTALE, - finderArgs, feComune); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODCATASTALE, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (FeComune)result; - } - } - - /** - * Removes the fe comune where codCatastale = ? from the database. - * - * @param codCatastale the cod catastale - * @return the fe comune that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public FeComune removeByCodCatastale(String codCatastale) - throws NoSuchFeComuneException, SystemException { - FeComune feComune = findByCodCatastale(codCatastale); - - return remove(feComune); - } - - /** - * Returns the number of fe comunes where codCatastale = ?. - * - * @param codCatastale the cod catastale - * @return the number of matching fe comunes - * @throws SystemException if a system exception occurred - */ - @Override - public int countByCodCatastale(String codCatastale) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_CODCATASTALE; - - Object[] finderArgs = new Object[] { codCatastale }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_FECOMUNE_WHERE); - - boolean bindCodCatastale = false; - - if (codCatastale == null) { - query.append(_FINDER_COLUMN_CODCATASTALE_CODCATASTALE_1); - } - else if (codCatastale.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_CODCATASTALE_CODCATASTALE_3); - } - else { - bindCodCatastale = true; - - query.append(_FINDER_COLUMN_CODCATASTALE_CODCATASTALE_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindCodCatastale) { - qPos.add(codCatastale); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_CODCATASTALE_CODCATASTALE_1 = "feComune.codCatastale IS NULL"; - private static final String _FINDER_COLUMN_CODCATASTALE_CODCATASTALE_2 = "feComune.codCatastale = ?"; - private static final String _FINDER_COLUMN_CODCATASTALE_CODCATASTALE_3 = "(feComune.codCatastale IS NULL OR feComune.codCatastale = '')"; - - public FeComunePersistenceImpl() { - setModelClass(FeComune.class); - } - - /** - * Caches the fe comune in the entity cache if it is enabled. - * - * @param feComune the fe comune - */ - @Override - public void cacheResult(FeComune feComune) { - EntityCacheUtil.putResult(FeComuneModelImpl.ENTITY_CACHE_ENABLED, - FeComuneImpl.class, feComune.getPrimaryKey(), feComune); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODISTAT, - new Object[] { feComune.getCodIstat() }, feComune); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODCATASTALE, - new Object[] { feComune.getCodCatastale() }, feComune); - - feComune.resetOriginalValues(); - } - - /** - * Caches the fe comunes in the entity cache if it is enabled. - * - * @param feComunes the fe comunes - */ - @Override - public void cacheResult(List feComunes) { - for (FeComune feComune : feComunes) { - if (EntityCacheUtil.getResult( - FeComuneModelImpl.ENTITY_CACHE_ENABLED, - FeComuneImpl.class, feComune.getPrimaryKey()) == null) { - cacheResult(feComune); - } - else { - feComune.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all fe comunes. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(FeComuneImpl.class.getName()); - } - - EntityCacheUtil.clearCache(FeComuneImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the fe comune. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(FeComune feComune) { - EntityCacheUtil.removeResult(FeComuneModelImpl.ENTITY_CACHE_ENABLED, - FeComuneImpl.class, feComune.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(feComune); - } - - @Override - public void clearCache(List feComunes) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (FeComune feComune : feComunes) { - EntityCacheUtil.removeResult(FeComuneModelImpl.ENTITY_CACHE_ENABLED, - FeComuneImpl.class, feComune.getPrimaryKey()); - - clearUniqueFindersCache(feComune); - } - } - - protected void cacheUniqueFindersCache(FeComune feComune) { - if (feComune.isNew()) { - Object[] args = new Object[] { feComune.getCodIstat() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_CODISTAT, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODISTAT, args, - feComune); - - args = new Object[] { feComune.getCodCatastale() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_CODCATASTALE, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODCATASTALE, args, - feComune); - } - else { - FeComuneModelImpl feComuneModelImpl = (FeComuneModelImpl)feComune; - - if ((feComuneModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_CODISTAT.getColumnBitmask()) != 0) { - Object[] args = new Object[] { feComune.getCodIstat() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_CODISTAT, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODISTAT, args, - feComune); - } - - if ((feComuneModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_CODCATASTALE.getColumnBitmask()) != 0) { - Object[] args = new Object[] { feComune.getCodCatastale() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_CODCATASTALE, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODCATASTALE, - args, feComune); - } - } - } - - protected void clearUniqueFindersCache(FeComune feComune) { - FeComuneModelImpl feComuneModelImpl = (FeComuneModelImpl)feComune; - - Object[] args = new Object[] { feComune.getCodIstat() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CODISTAT, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODISTAT, args); - - if ((feComuneModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_CODISTAT.getColumnBitmask()) != 0) { - args = new Object[] { feComuneModelImpl.getOriginalCodIstat() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CODISTAT, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODISTAT, args); - } - - args = new Object[] { feComune.getCodCatastale() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CODCATASTALE, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODCATASTALE, args); - - if ((feComuneModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_CODCATASTALE.getColumnBitmask()) != 0) { - args = new Object[] { feComuneModelImpl.getOriginalCodCatastale() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CODCATASTALE, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODCATASTALE, args); - } - } - - /** - * Creates a new fe comune with the primary key. Does not add the fe comune to the database. - * - * @param comuneId the primary key for the new fe comune - * @return the new fe comune - */ - @Override - public FeComune create(long comuneId) { - FeComune feComune = new FeComuneImpl(); - - feComune.setNew(true); - feComune.setPrimaryKey(comuneId); - - return feComune; - } - - /** - * Removes the fe comune with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param comuneId the primary key of the fe comune - * @return the fe comune that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchFeComuneException if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeComune remove(long comuneId) - throws NoSuchFeComuneException, SystemException { - return remove((Serializable)comuneId); - } - - /** - * Removes the fe comune with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the fe comune - * @return the fe comune that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchFeComuneException if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeComune remove(Serializable primaryKey) - throws NoSuchFeComuneException, SystemException { - Session session = null; - - try { - session = openSession(); - - FeComune feComune = (FeComune)session.get(FeComuneImpl.class, - primaryKey); - - if (feComune == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchFeComuneException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(feComune); - } - catch (NoSuchFeComuneException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected FeComune removeImpl(FeComune feComune) throws SystemException { - feComune = toUnwrappedModel(feComune); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(feComune)) { - feComune = (FeComune)session.get(FeComuneImpl.class, - feComune.getPrimaryKeyObj()); - } - - if (feComune != null) { - session.delete(feComune); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (feComune != null) { - clearCache(feComune); - } - - return feComune; - } - - @Override - public FeComune updateImpl( - it.tref.liferay.portos.portosimport.model.FeComune feComune) - throws SystemException { - feComune = toUnwrappedModel(feComune); - - boolean isNew = feComune.isNew(); - - Session session = null; - - try { - session = openSession(); - - if (feComune.isNew()) { - session.save(feComune); - - feComune.setNew(false); - } - else { - session.merge(feComune); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !FeComuneModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - EntityCacheUtil.putResult(FeComuneModelImpl.ENTITY_CACHE_ENABLED, - FeComuneImpl.class, feComune.getPrimaryKey(), feComune); - - clearUniqueFindersCache(feComune); - cacheUniqueFindersCache(feComune); - - return feComune; - } - - protected FeComune toUnwrappedModel(FeComune feComune) { - if (feComune instanceof FeComuneImpl) { - return feComune; - } - - FeComuneImpl feComuneImpl = new FeComuneImpl(); - - feComuneImpl.setNew(feComune.isNew()); - feComuneImpl.setPrimaryKey(feComune.getPrimaryKey()); - - feComuneImpl.setComuneId(feComune.getComuneId()); - feComuneImpl.setCodIstat(feComune.getCodIstat()); - feComuneImpl.setCodCatastale(feComune.getCodCatastale()); - feComuneImpl.setDescLong(feComune.getDescLong()); - - return feComuneImpl; - } - - /** - * Returns the fe comune with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the fe comune - * @return the fe comune - * @throws it.tref.liferay.portos.portosimport.NoSuchFeComuneException if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeComune findByPrimaryKey(Serializable primaryKey) - throws NoSuchFeComuneException, SystemException { - FeComune feComune = fetchByPrimaryKey(primaryKey); - - if (feComune == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchFeComuneException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return feComune; - } - - /** - * Returns the fe comune with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchFeComuneException} if it could not be found. - * - * @param comuneId the primary key of the fe comune - * @return the fe comune - * @throws it.tref.liferay.portos.portosimport.NoSuchFeComuneException if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeComune findByPrimaryKey(long comuneId) - throws NoSuchFeComuneException, SystemException { - return findByPrimaryKey((Serializable)comuneId); - } - - /** - * Returns the fe comune with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the fe comune - * @return the fe comune, or null if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeComune fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - FeComune feComune = (FeComune)EntityCacheUtil.getResult(FeComuneModelImpl.ENTITY_CACHE_ENABLED, - FeComuneImpl.class, primaryKey); - - if (feComune == _nullFeComune) { - return null; - } - - if (feComune == null) { - Session session = null; - - try { - session = openSession(); - - feComune = (FeComune)session.get(FeComuneImpl.class, primaryKey); - - if (feComune != null) { - cacheResult(feComune); - } - else { - EntityCacheUtil.putResult(FeComuneModelImpl.ENTITY_CACHE_ENABLED, - FeComuneImpl.class, primaryKey, _nullFeComune); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(FeComuneModelImpl.ENTITY_CACHE_ENABLED, - FeComuneImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return feComune; - } - - /** - * Returns the fe comune with the primary key or returns null if it could not be found. - * - * @param comuneId the primary key of the fe comune - * @return the fe comune, or null if a fe comune with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeComune fetchByPrimaryKey(long comuneId) throws SystemException { - return fetchByPrimaryKey((Serializable)comuneId); - } - - /** - * Returns all the fe comunes. - * - * @return the fe comunes - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the fe comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe comunes - * @param end the upper bound of the range of fe comunes (not inclusive) - * @return the range of fe comunes - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the fe comunes. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeComuneModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe comunes - * @param end the upper bound of the range of fe comunes (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of fe comunes - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_FECOMUNE); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_FECOMUNE; - - if (pagination) { - sql = sql.concat(FeComuneModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the fe comunes from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (FeComune feComune : findAll()) { - remove(feComune); - } - } - - /** - * Returns the number of fe comunes. - * - * @return the number of fe comunes - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_FECOMUNE); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - /** - * Initializes the fe comune persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.portosimport.model.FeComune"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(FeComuneImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_FECOMUNE = "SELECT feComune FROM FeComune feComune"; - private static final String _SQL_SELECT_FECOMUNE_WHERE = "SELECT feComune FROM FeComune feComune WHERE "; - private static final String _SQL_COUNT_FECOMUNE = "SELECT COUNT(feComune) FROM FeComune feComune"; - private static final String _SQL_COUNT_FECOMUNE_WHERE = "SELECT COUNT(feComune) FROM FeComune feComune WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "feComune."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No FeComune exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No FeComune exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(FeComunePersistenceImpl.class); - private static FeComune _nullFeComune = new FeComuneImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullFeComuneCacheModel; - } - }; - - private static CacheModel _nullFeComuneCacheModel = new CacheModel() { - @Override - public FeComune toEntityModel() { - return _nullFeComune; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/FeDettPraticaPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/FeDettPraticaPersistenceImpl.java deleted file mode 100644 index 0bd269e7..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/FeDettPraticaPersistenceImpl.java +++ /dev/null @@ -1,1857 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.SetUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.kernel.uuid.PortalUUIDUtil; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException; -import it.tref.liferay.portos.portosimport.model.FeDettPratica; -import it.tref.liferay.portos.portosimport.model.impl.FeDettPraticaImpl; -import it.tref.liferay.portos.portosimport.model.impl.FeDettPraticaModelImpl; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Set; - -/** - * The persistence implementation for the fe dett pratica service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see FeDettPraticaPersistence - * @see FeDettPraticaUtil - * @generated - */ -public class FeDettPraticaPersistenceImpl extends BasePersistenceImpl - implements FeDettPraticaPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link FeDettPraticaUtil} to access the fe dett pratica persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = FeDettPraticaImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(FeDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeDettPraticaModelImpl.FINDER_CACHE_ENABLED, - FeDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(FeDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeDettPraticaModelImpl.FINDER_CACHE_ENABLED, - FeDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(FeDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeDettPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID = new FinderPath(FeDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeDettPraticaModelImpl.FINDER_CACHE_ENABLED, - FeDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByUuid", - new String[] { - String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID = new FinderPath(FeDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeDettPraticaModelImpl.FINDER_CACHE_ENABLED, - FeDettPraticaImpl.class, FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByUuid", new String[] { String.class.getName() }, - FeDettPraticaModelImpl.UUID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID = new FinderPath(FeDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeDettPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid", - new String[] { String.class.getName() }); - - /** - * Returns all the fe dett praticas where uuid = ?. - * - * @param uuid the uuid - * @return the matching fe dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid) - throws SystemException { - return findByUuid(uuid, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the fe dett praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of fe dett praticas - * @param end the upper bound of the range of fe dett praticas (not inclusive) - * @return the range of matching fe dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end) - throws SystemException { - return findByUuid(uuid, start, end, null); - } - - /** - * Returns an ordered range of all the fe dett praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of fe dett praticas - * @param end the upper bound of the range of fe dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (FeDettPratica feDettPratica : list) { - if (!Validator.equals(uuid, feDettPratica.getUuid())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_FEDETTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(FeDettPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first fe dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica findByUuid_First(String uuid, - OrderByComparator orderByComparator) - throws NoSuchFeDettPraticaException, SystemException { - FeDettPratica feDettPratica = fetchByUuid_First(uuid, orderByComparator); - - if (feDettPratica != null) { - return feDettPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFeDettPraticaException(msg.toString()); - } - - /** - * Returns the first fe dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica fetchByUuid_First(String uuid, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid(uuid, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last fe dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica findByUuid_Last(String uuid, - OrderByComparator orderByComparator) - throws NoSuchFeDettPraticaException, SystemException { - FeDettPratica feDettPratica = fetchByUuid_Last(uuid, orderByComparator); - - if (feDettPratica != null) { - return feDettPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFeDettPraticaException(msg.toString()); - } - - /** - * Returns the last fe dett pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica fetchByUuid_Last(String uuid, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid(uuid); - - if (count == 0) { - return null; - } - - List list = findByUuid(uuid, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the fe dett praticas before and after the current fe dett pratica in the ordered set where uuid = ?. - * - * @param dettPraticaId the primary key of the current fe dett pratica - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica[] findByUuid_PrevAndNext(long dettPraticaId, - String uuid, OrderByComparator orderByComparator) - throws NoSuchFeDettPraticaException, SystemException { - FeDettPratica feDettPratica = findByPrimaryKey(dettPraticaId); - - Session session = null; - - try { - session = openSession(); - - FeDettPratica[] array = new FeDettPraticaImpl[3]; - - array[0] = getByUuid_PrevAndNext(session, feDettPratica, uuid, - orderByComparator, true); - - array[1] = feDettPratica; - - array[2] = getByUuid_PrevAndNext(session, feDettPratica, uuid, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected FeDettPratica getByUuid_PrevAndNext(Session session, - FeDettPratica feDettPratica, String uuid, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_FEDETTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(FeDettPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(feDettPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the fe dett praticas where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid(String uuid) throws SystemException { - for (FeDettPratica feDettPratica : findByUuid(uuid, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(feDettPratica); - } - } - - /** - * Returns the number of fe dett praticas where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching fe dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid(String uuid) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID; - - Object[] finderArgs = new Object[] { uuid }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_FEDETTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_UUID_1 = "feDettPratica.uuid IS NULL"; - private static final String _FINDER_COLUMN_UUID_UUID_2 = "feDettPratica.uuid = ?"; - private static final String _FINDER_COLUMN_UUID_UUID_3 = "(feDettPratica.uuid IS NULL OR feDettPratica.uuid = '')"; - public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G = new FinderPath(FeDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeDettPraticaModelImpl.FINDER_CACHE_ENABLED, - FeDettPraticaImpl.class, FINDER_CLASS_NAME_ENTITY, "fetchByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }, - FeDettPraticaModelImpl.UUID_COLUMN_BITMASK | - FeDettPraticaModelImpl.GROUPID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G = new FinderPath(FeDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeDettPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns the fe dett pratica where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching fe dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica findByUUID_G(String uuid, long groupId) - throws NoSuchFeDettPraticaException, SystemException { - FeDettPratica feDettPratica = fetchByUUID_G(uuid, groupId); - - if (feDettPratica == null) { - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchFeDettPraticaException(msg.toString()); - } - - return feDettPratica; - } - - /** - * Returns the fe dett pratica where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica fetchByUUID_G(String uuid, long groupId) - throws SystemException { - return fetchByUUID_G(uuid, groupId, true); - } - - /** - * Returns the fe dett pratica where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica fetchByUUID_G(String uuid, long groupId, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { uuid, groupId }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, this); - } - - if (result instanceof FeDettPratica) { - FeDettPratica feDettPratica = (FeDettPratica)result; - - if (!Validator.equals(uuid, feDettPratica.getUuid()) || - (groupId != feDettPratica.getGroupId())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_SELECT_FEDETTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, list); - } - else { - FeDettPratica feDettPratica = list.get(0); - - result = feDettPratica; - - cacheResult(feDettPratica); - - if ((feDettPratica.getUuid() == null) || - !feDettPratica.getUuid().equals(uuid) || - (feDettPratica.getGroupId() != groupId)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, feDettPratica); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (FeDettPratica)result; - } - } - - /** - * Removes the fe dett pratica where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the fe dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica removeByUUID_G(String uuid, long groupId) - throws NoSuchFeDettPraticaException, SystemException { - FeDettPratica feDettPratica = findByUUID_G(uuid, groupId); - - return remove(feDettPratica); - } - - /** - * Returns the number of fe dett praticas where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching fe dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUUID_G(String uuid, long groupId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_G; - - Object[] finderArgs = new Object[] { uuid, groupId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_FEDETTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_G_UUID_1 = "feDettPratica.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_2 = "feDettPratica.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_3 = "(feDettPratica.uuid IS NULL OR feDettPratica.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_G_GROUPID_2 = "feDettPratica.groupId = ?"; - public static final FinderPath FINDER_PATH_FETCH_BY_CODPRATICASUAP = new FinderPath(FeDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeDettPraticaModelImpl.FINDER_CACHE_ENABLED, - FeDettPraticaImpl.class, FINDER_CLASS_NAME_ENTITY, - "fetchByCodPraticaSuap", new String[] { String.class.getName() }, - FeDettPraticaModelImpl.CODPRATICASUAP_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_CODPRATICASUAP = new FinderPath(FeDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeDettPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByCodPraticaSuap", - new String[] { String.class.getName() }); - - /** - * Returns the fe dett pratica where codPraticaSuap = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException} if it could not be found. - * - * @param codPraticaSuap the cod pratica suap - * @return the matching fe dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica findByCodPraticaSuap(String codPraticaSuap) - throws NoSuchFeDettPraticaException, SystemException { - FeDettPratica feDettPratica = fetchByCodPraticaSuap(codPraticaSuap); - - if (feDettPratica == null) { - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("codPraticaSuap="); - msg.append(codPraticaSuap); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchFeDettPraticaException(msg.toString()); - } - - return feDettPratica; - } - - /** - * Returns the fe dett pratica where codPraticaSuap = ? or returns null if it could not be found. Uses the finder cache. - * - * @param codPraticaSuap the cod pratica suap - * @return the matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica fetchByCodPraticaSuap(String codPraticaSuap) - throws SystemException { - return fetchByCodPraticaSuap(codPraticaSuap, true); - } - - /** - * Returns the fe dett pratica where codPraticaSuap = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param codPraticaSuap the cod pratica suap - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe dett pratica, or null if a matching fe dett pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica fetchByCodPraticaSuap(String codPraticaSuap, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { codPraticaSuap }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_CODPRATICASUAP, - finderArgs, this); - } - - if (result instanceof FeDettPratica) { - FeDettPratica feDettPratica = (FeDettPratica)result; - - if (!Validator.equals(codPraticaSuap, - feDettPratica.getCodPraticaSuap())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_SELECT_FEDETTPRATICA_WHERE); - - boolean bindCodPraticaSuap = false; - - if (codPraticaSuap == null) { - query.append(_FINDER_COLUMN_CODPRATICASUAP_CODPRATICASUAP_1); - } - else if (codPraticaSuap.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_CODPRATICASUAP_CODPRATICASUAP_3); - } - else { - bindCodPraticaSuap = true; - - query.append(_FINDER_COLUMN_CODPRATICASUAP_CODPRATICASUAP_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindCodPraticaSuap) { - qPos.add(codPraticaSuap); - } - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODPRATICASUAP, - finderArgs, list); - } - else { - FeDettPratica feDettPratica = list.get(0); - - result = feDettPratica; - - cacheResult(feDettPratica); - - if ((feDettPratica.getCodPraticaSuap() == null) || - !feDettPratica.getCodPraticaSuap() - .equals(codPraticaSuap)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODPRATICASUAP, - finderArgs, feDettPratica); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODPRATICASUAP, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (FeDettPratica)result; - } - } - - /** - * Removes the fe dett pratica where codPraticaSuap = ? from the database. - * - * @param codPraticaSuap the cod pratica suap - * @return the fe dett pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica removeByCodPraticaSuap(String codPraticaSuap) - throws NoSuchFeDettPraticaException, SystemException { - FeDettPratica feDettPratica = findByCodPraticaSuap(codPraticaSuap); - - return remove(feDettPratica); - } - - /** - * Returns the number of fe dett praticas where codPraticaSuap = ?. - * - * @param codPraticaSuap the cod pratica suap - * @return the number of matching fe dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByCodPraticaSuap(String codPraticaSuap) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_CODPRATICASUAP; - - Object[] finderArgs = new Object[] { codPraticaSuap }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_FEDETTPRATICA_WHERE); - - boolean bindCodPraticaSuap = false; - - if (codPraticaSuap == null) { - query.append(_FINDER_COLUMN_CODPRATICASUAP_CODPRATICASUAP_1); - } - else if (codPraticaSuap.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_CODPRATICASUAP_CODPRATICASUAP_3); - } - else { - bindCodPraticaSuap = true; - - query.append(_FINDER_COLUMN_CODPRATICASUAP_CODPRATICASUAP_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindCodPraticaSuap) { - qPos.add(codPraticaSuap); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_CODPRATICASUAP_CODPRATICASUAP_1 = "feDettPratica.codPraticaSuap IS NULL"; - private static final String _FINDER_COLUMN_CODPRATICASUAP_CODPRATICASUAP_2 = "feDettPratica.codPraticaSuap = ?"; - private static final String _FINDER_COLUMN_CODPRATICASUAP_CODPRATICASUAP_3 = "(feDettPratica.codPraticaSuap IS NULL OR feDettPratica.codPraticaSuap = '')"; - - public FeDettPraticaPersistenceImpl() { - setModelClass(FeDettPratica.class); - } - - /** - * Caches the fe dett pratica in the entity cache if it is enabled. - * - * @param feDettPratica the fe dett pratica - */ - @Override - public void cacheResult(FeDettPratica feDettPratica) { - EntityCacheUtil.putResult(FeDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeDettPraticaImpl.class, feDettPratica.getPrimaryKey(), - feDettPratica); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - new Object[] { feDettPratica.getUuid(), feDettPratica.getGroupId() }, - feDettPratica); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODPRATICASUAP, - new Object[] { feDettPratica.getCodPraticaSuap() }, feDettPratica); - - feDettPratica.resetOriginalValues(); - } - - /** - * Caches the fe dett praticas in the entity cache if it is enabled. - * - * @param feDettPraticas the fe dett praticas - */ - @Override - public void cacheResult(List feDettPraticas) { - for (FeDettPratica feDettPratica : feDettPraticas) { - if (EntityCacheUtil.getResult( - FeDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeDettPraticaImpl.class, feDettPratica.getPrimaryKey()) == null) { - cacheResult(feDettPratica); - } - else { - feDettPratica.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all fe dett praticas. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(FeDettPraticaImpl.class.getName()); - } - - EntityCacheUtil.clearCache(FeDettPraticaImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the fe dett pratica. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(FeDettPratica feDettPratica) { - EntityCacheUtil.removeResult(FeDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeDettPraticaImpl.class, feDettPratica.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(feDettPratica); - } - - @Override - public void clearCache(List feDettPraticas) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (FeDettPratica feDettPratica : feDettPraticas) { - EntityCacheUtil.removeResult(FeDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeDettPraticaImpl.class, feDettPratica.getPrimaryKey()); - - clearUniqueFindersCache(feDettPratica); - } - } - - protected void cacheUniqueFindersCache(FeDettPratica feDettPratica) { - if (feDettPratica.isNew()) { - Object[] args = new Object[] { - feDettPratica.getUuid(), feDettPratica.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - feDettPratica); - - args = new Object[] { feDettPratica.getCodPraticaSuap() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_CODPRATICASUAP, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODPRATICASUAP, - args, feDettPratica); - } - else { - FeDettPraticaModelImpl feDettPraticaModelImpl = (FeDettPraticaModelImpl)feDettPratica; - - if ((feDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - feDettPratica.getUuid(), feDettPratica.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - feDettPratica); - } - - if ((feDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_CODPRATICASUAP.getColumnBitmask()) != 0) { - Object[] args = new Object[] { feDettPratica.getCodPraticaSuap() }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_CODPRATICASUAP, - args, Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODPRATICASUAP, - args, feDettPratica); - } - } - } - - protected void clearUniqueFindersCache(FeDettPratica feDettPratica) { - FeDettPraticaModelImpl feDettPraticaModelImpl = (FeDettPraticaModelImpl)feDettPratica; - - Object[] args = new Object[] { - feDettPratica.getUuid(), feDettPratica.getGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - - if ((feDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - args = new Object[] { - feDettPraticaModelImpl.getOriginalUuid(), - feDettPraticaModelImpl.getOriginalGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - } - - args = new Object[] { feDettPratica.getCodPraticaSuap() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CODPRATICASUAP, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODPRATICASUAP, args); - - if ((feDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_CODPRATICASUAP.getColumnBitmask()) != 0) { - args = new Object[] { - feDettPraticaModelImpl.getOriginalCodPraticaSuap() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CODPRATICASUAP, - args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODPRATICASUAP, - args); - } - } - - /** - * Creates a new fe dett pratica with the primary key. Does not add the fe dett pratica to the database. - * - * @param dettPraticaId the primary key for the new fe dett pratica - * @return the new fe dett pratica - */ - @Override - public FeDettPratica create(long dettPraticaId) { - FeDettPratica feDettPratica = new FeDettPraticaImpl(); - - feDettPratica.setNew(true); - feDettPratica.setPrimaryKey(dettPraticaId); - - String uuid = PortalUUIDUtil.generate(); - - feDettPratica.setUuid(uuid); - - return feDettPratica; - } - - /** - * Removes the fe dett pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param dettPraticaId the primary key of the fe dett pratica - * @return the fe dett pratica that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica remove(long dettPraticaId) - throws NoSuchFeDettPraticaException, SystemException { - return remove((Serializable)dettPraticaId); - } - - /** - * Removes the fe dett pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the fe dett pratica - * @return the fe dett pratica that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica remove(Serializable primaryKey) - throws NoSuchFeDettPraticaException, SystemException { - Session session = null; - - try { - session = openSession(); - - FeDettPratica feDettPratica = (FeDettPratica)session.get(FeDettPraticaImpl.class, - primaryKey); - - if (feDettPratica == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchFeDettPraticaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(feDettPratica); - } - catch (NoSuchFeDettPraticaException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected FeDettPratica removeImpl(FeDettPratica feDettPratica) - throws SystemException { - feDettPratica = toUnwrappedModel(feDettPratica); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(feDettPratica)) { - feDettPratica = (FeDettPratica)session.get(FeDettPraticaImpl.class, - feDettPratica.getPrimaryKeyObj()); - } - - if (feDettPratica != null) { - session.delete(feDettPratica); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (feDettPratica != null) { - clearCache(feDettPratica); - } - - return feDettPratica; - } - - @Override - public FeDettPratica updateImpl( - it.tref.liferay.portos.portosimport.model.FeDettPratica feDettPratica) - throws SystemException { - feDettPratica = toUnwrappedModel(feDettPratica); - - boolean isNew = feDettPratica.isNew(); - - FeDettPraticaModelImpl feDettPraticaModelImpl = (FeDettPraticaModelImpl)feDettPratica; - - if (Validator.isNull(feDettPratica.getUuid())) { - String uuid = PortalUUIDUtil.generate(); - - feDettPratica.setUuid(uuid); - } - - Session session = null; - - try { - session = openSession(); - - if (feDettPratica.isNew()) { - session.save(feDettPratica); - - feDettPratica.setNew(false); - } - else { - session.merge(feDettPratica); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !FeDettPraticaModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((feDettPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - feDettPraticaModelImpl.getOriginalUuid() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - - args = new Object[] { feDettPraticaModelImpl.getUuid() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - } - } - - EntityCacheUtil.putResult(FeDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeDettPraticaImpl.class, feDettPratica.getPrimaryKey(), - feDettPratica); - - clearUniqueFindersCache(feDettPratica); - cacheUniqueFindersCache(feDettPratica); - - return feDettPratica; - } - - protected FeDettPratica toUnwrappedModel(FeDettPratica feDettPratica) { - if (feDettPratica instanceof FeDettPraticaImpl) { - return feDettPratica; - } - - FeDettPraticaImpl feDettPraticaImpl = new FeDettPraticaImpl(); - - feDettPraticaImpl.setNew(feDettPratica.isNew()); - feDettPraticaImpl.setPrimaryKey(feDettPratica.getPrimaryKey()); - - feDettPraticaImpl.setUuid(feDettPratica.getUuid()); - feDettPraticaImpl.setDettPraticaId(feDettPratica.getDettPraticaId()); - feDettPraticaImpl.setGroupId(feDettPratica.getGroupId()); - feDettPraticaImpl.setIntPraticaId(feDettPratica.getIntPraticaId()); - feDettPraticaImpl.setCodPraticaSuap(feDettPratica.getCodPraticaSuap()); - feDettPraticaImpl.setFineLavoriSceltaPrelievo(feDettPratica.isFineLavoriSceltaPrelievo()); - feDettPraticaImpl.setFPrelievoCalcestruzzo(feDettPratica.isFPrelievoCalcestruzzo()); - feDettPraticaImpl.setFPrelievoAcciaio(feDettPratica.isFPrelievoAcciaio()); - feDettPraticaImpl.setFPrelievoAltro(feDettPratica.isFPrelievoAltro()); - feDettPraticaImpl.setFineLavoriAlletiUlteriori(feDettPratica.isFineLavoriAlletiUlteriori()); - feDettPraticaImpl.setFNoCollaudoStatico(feDettPratica.isFNoCollaudoStatico()); - feDettPraticaImpl.setPagamentoId(feDettPratica.getPagamentoId()); - - return feDettPraticaImpl; - } - - /** - * Returns the fe dett pratica with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the fe dett pratica - * @return the fe dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica findByPrimaryKey(Serializable primaryKey) - throws NoSuchFeDettPraticaException, SystemException { - FeDettPratica feDettPratica = fetchByPrimaryKey(primaryKey); - - if (feDettPratica == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchFeDettPraticaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return feDettPratica; - } - - /** - * Returns the fe dett pratica with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException} if it could not be found. - * - * @param dettPraticaId the primary key of the fe dett pratica - * @return the fe dett pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchFeDettPraticaException if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica findByPrimaryKey(long dettPraticaId) - throws NoSuchFeDettPraticaException, SystemException { - return findByPrimaryKey((Serializable)dettPraticaId); - } - - /** - * Returns the fe dett pratica with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the fe dett pratica - * @return the fe dett pratica, or null if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - FeDettPratica feDettPratica = (FeDettPratica)EntityCacheUtil.getResult(FeDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeDettPraticaImpl.class, primaryKey); - - if (feDettPratica == _nullFeDettPratica) { - return null; - } - - if (feDettPratica == null) { - Session session = null; - - try { - session = openSession(); - - feDettPratica = (FeDettPratica)session.get(FeDettPraticaImpl.class, - primaryKey); - - if (feDettPratica != null) { - cacheResult(feDettPratica); - } - else { - EntityCacheUtil.putResult(FeDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeDettPraticaImpl.class, primaryKey, _nullFeDettPratica); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(FeDettPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeDettPraticaImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return feDettPratica; - } - - /** - * Returns the fe dett pratica with the primary key or returns null if it could not be found. - * - * @param dettPraticaId the primary key of the fe dett pratica - * @return the fe dett pratica, or null if a fe dett pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeDettPratica fetchByPrimaryKey(long dettPraticaId) - throws SystemException { - return fetchByPrimaryKey((Serializable)dettPraticaId); - } - - /** - * Returns all the fe dett praticas. - * - * @return the fe dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the fe dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe dett praticas - * @param end the upper bound of the range of fe dett praticas (not inclusive) - * @return the range of fe dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the fe dett praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeDettPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe dett praticas - * @param end the upper bound of the range of fe dett praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of fe dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_FEDETTPRATICA); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_FEDETTPRATICA; - - if (pagination) { - sql = sql.concat(FeDettPraticaModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the fe dett praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (FeDettPratica feDettPratica : findAll()) { - remove(feDettPratica); - } - } - - /** - * Returns the number of fe dett praticas. - * - * @return the number of fe dett praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_FEDETTPRATICA); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - @Override - protected Set getBadColumnNames() { - return _badColumnNames; - } - - /** - * Initializes the fe dett pratica persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.portosimport.model.FeDettPratica"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(FeDettPraticaImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_FEDETTPRATICA = "SELECT feDettPratica FROM FeDettPratica feDettPratica"; - private static final String _SQL_SELECT_FEDETTPRATICA_WHERE = "SELECT feDettPratica FROM FeDettPratica feDettPratica WHERE "; - private static final String _SQL_COUNT_FEDETTPRATICA = "SELECT COUNT(feDettPratica) FROM FeDettPratica feDettPratica"; - private static final String _SQL_COUNT_FEDETTPRATICA_WHERE = "SELECT COUNT(feDettPratica) FROM FeDettPratica feDettPratica WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "feDettPratica."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No FeDettPratica exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No FeDettPratica exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(FeDettPraticaPersistenceImpl.class); - private static Set _badColumnNames = SetUtil.fromArray(new String[] { - "uuid" - }); - private static FeDettPratica _nullFeDettPratica = new FeDettPraticaImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullFeDettPraticaCacheModel; - } - }; - - private static CacheModel _nullFeDettPraticaCacheModel = new CacheModel() { - @Override - public FeDettPratica toEntityModel() { - return _nullFeDettPratica; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/FeIntPraticaPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/FeIntPraticaPersistenceImpl.java deleted file mode 100644 index d1d25216..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/FeIntPraticaPersistenceImpl.java +++ /dev/null @@ -1,1577 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.SetUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.kernel.uuid.PortalUUIDUtil; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException; -import it.tref.liferay.portos.portosimport.model.FeIntPratica; -import it.tref.liferay.portos.portosimport.model.impl.FeIntPraticaImpl; -import it.tref.liferay.portos.portosimport.model.impl.FeIntPraticaModelImpl; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Set; - -/** - * The persistence implementation for the fe int pratica service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see FeIntPraticaPersistence - * @see FeIntPraticaUtil - * @generated - */ -public class FeIntPraticaPersistenceImpl extends BasePersistenceImpl - implements FeIntPraticaPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link FeIntPraticaUtil} to access the fe int pratica persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = FeIntPraticaImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(FeIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeIntPraticaModelImpl.FINDER_CACHE_ENABLED, FeIntPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(FeIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeIntPraticaModelImpl.FINDER_CACHE_ENABLED, FeIntPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(FeIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeIntPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID = new FinderPath(FeIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeIntPraticaModelImpl.FINDER_CACHE_ENABLED, FeIntPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByUuid", - new String[] { - String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID = new FinderPath(FeIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeIntPraticaModelImpl.FINDER_CACHE_ENABLED, FeIntPraticaImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByUuid", - new String[] { String.class.getName() }, - FeIntPraticaModelImpl.UUID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID = new FinderPath(FeIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeIntPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid", - new String[] { String.class.getName() }); - - /** - * Returns all the fe int praticas where uuid = ?. - * - * @param uuid the uuid - * @return the matching fe int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid) throws SystemException { - return findByUuid(uuid, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the fe int praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of fe int praticas - * @param end the upper bound of the range of fe int praticas (not inclusive) - * @return the range of matching fe int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end) - throws SystemException { - return findByUuid(uuid, start, end, null); - } - - /** - * Returns an ordered range of all the fe int praticas where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of fe int praticas - * @param end the upper bound of the range of fe int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (FeIntPratica feIntPratica : list) { - if (!Validator.equals(uuid, feIntPratica.getUuid())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_FEINTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(FeIntPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first fe int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeIntPratica findByUuid_First(String uuid, - OrderByComparator orderByComparator) - throws NoSuchFeIntPraticaException, SystemException { - FeIntPratica feIntPratica = fetchByUuid_First(uuid, orderByComparator); - - if (feIntPratica != null) { - return feIntPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFeIntPraticaException(msg.toString()); - } - - /** - * Returns the first fe int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe int pratica, or null if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeIntPratica fetchByUuid_First(String uuid, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid(uuid, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last fe int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeIntPratica findByUuid_Last(String uuid, - OrderByComparator orderByComparator) - throws NoSuchFeIntPraticaException, SystemException { - FeIntPratica feIntPratica = fetchByUuid_Last(uuid, orderByComparator); - - if (feIntPratica != null) { - return feIntPratica; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFeIntPraticaException(msg.toString()); - } - - /** - * Returns the last fe int pratica in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe int pratica, or null if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeIntPratica fetchByUuid_Last(String uuid, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid(uuid); - - if (count == 0) { - return null; - } - - List list = findByUuid(uuid, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the fe int praticas before and after the current fe int pratica in the ordered set where uuid = ?. - * - * @param intPraticaId the primary key of the current fe int pratica - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeIntPratica[] findByUuid_PrevAndNext(long intPraticaId, - String uuid, OrderByComparator orderByComparator) - throws NoSuchFeIntPraticaException, SystemException { - FeIntPratica feIntPratica = findByPrimaryKey(intPraticaId); - - Session session = null; - - try { - session = openSession(); - - FeIntPratica[] array = new FeIntPraticaImpl[3]; - - array[0] = getByUuid_PrevAndNext(session, feIntPratica, uuid, - orderByComparator, true); - - array[1] = feIntPratica; - - array[2] = getByUuid_PrevAndNext(session, feIntPratica, uuid, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected FeIntPratica getByUuid_PrevAndNext(Session session, - FeIntPratica feIntPratica, String uuid, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_FEINTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(FeIntPraticaModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(feIntPratica); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the fe int praticas where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid(String uuid) throws SystemException { - for (FeIntPratica feIntPratica : findByUuid(uuid, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(feIntPratica); - } - } - - /** - * Returns the number of fe int praticas where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching fe int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid(String uuid) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID; - - Object[] finderArgs = new Object[] { uuid }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_FEINTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_UUID_1 = "feIntPratica.uuid IS NULL"; - private static final String _FINDER_COLUMN_UUID_UUID_2 = "feIntPratica.uuid = ?"; - private static final String _FINDER_COLUMN_UUID_UUID_3 = "(feIntPratica.uuid IS NULL OR feIntPratica.uuid = '')"; - public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G = new FinderPath(FeIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeIntPraticaModelImpl.FINDER_CACHE_ENABLED, FeIntPraticaImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }, - FeIntPraticaModelImpl.UUID_COLUMN_BITMASK | - FeIntPraticaModelImpl.GROUPID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G = new FinderPath(FeIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeIntPraticaModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns the fe int pratica where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching fe int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeIntPratica findByUUID_G(String uuid, long groupId) - throws NoSuchFeIntPraticaException, SystemException { - FeIntPratica feIntPratica = fetchByUUID_G(uuid, groupId); - - if (feIntPratica == null) { - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchFeIntPraticaException(msg.toString()); - } - - return feIntPratica; - } - - /** - * Returns the fe int pratica where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching fe int pratica, or null if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeIntPratica fetchByUUID_G(String uuid, long groupId) - throws SystemException { - return fetchByUUID_G(uuid, groupId, true); - } - - /** - * Returns the fe int pratica where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe int pratica, or null if a matching fe int pratica could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeIntPratica fetchByUUID_G(String uuid, long groupId, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { uuid, groupId }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, this); - } - - if (result instanceof FeIntPratica) { - FeIntPratica feIntPratica = (FeIntPratica)result; - - if (!Validator.equals(uuid, feIntPratica.getUuid()) || - (groupId != feIntPratica.getGroupId())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_SELECT_FEINTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, list); - } - else { - FeIntPratica feIntPratica = list.get(0); - - result = feIntPratica; - - cacheResult(feIntPratica); - - if ((feIntPratica.getUuid() == null) || - !feIntPratica.getUuid().equals(uuid) || - (feIntPratica.getGroupId() != groupId)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, feIntPratica); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (FeIntPratica)result; - } - } - - /** - * Removes the fe int pratica where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the fe int pratica that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public FeIntPratica removeByUUID_G(String uuid, long groupId) - throws NoSuchFeIntPraticaException, SystemException { - FeIntPratica feIntPratica = findByUUID_G(uuid, groupId); - - return remove(feIntPratica); - } - - /** - * Returns the number of fe int praticas where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching fe int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUUID_G(String uuid, long groupId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_G; - - Object[] finderArgs = new Object[] { uuid, groupId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_FEINTPRATICA_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_G_UUID_1 = "feIntPratica.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_2 = "feIntPratica.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_3 = "(feIntPratica.uuid IS NULL OR feIntPratica.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_G_GROUPID_2 = "feIntPratica.groupId = ?"; - - public FeIntPraticaPersistenceImpl() { - setModelClass(FeIntPratica.class); - } - - /** - * Caches the fe int pratica in the entity cache if it is enabled. - * - * @param feIntPratica the fe int pratica - */ - @Override - public void cacheResult(FeIntPratica feIntPratica) { - EntityCacheUtil.putResult(FeIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeIntPraticaImpl.class, feIntPratica.getPrimaryKey(), feIntPratica); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - new Object[] { feIntPratica.getUuid(), feIntPratica.getGroupId() }, - feIntPratica); - - feIntPratica.resetOriginalValues(); - } - - /** - * Caches the fe int praticas in the entity cache if it is enabled. - * - * @param feIntPraticas the fe int praticas - */ - @Override - public void cacheResult(List feIntPraticas) { - for (FeIntPratica feIntPratica : feIntPraticas) { - if (EntityCacheUtil.getResult( - FeIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeIntPraticaImpl.class, feIntPratica.getPrimaryKey()) == null) { - cacheResult(feIntPratica); - } - else { - feIntPratica.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all fe int praticas. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(FeIntPraticaImpl.class.getName()); - } - - EntityCacheUtil.clearCache(FeIntPraticaImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the fe int pratica. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(FeIntPratica feIntPratica) { - EntityCacheUtil.removeResult(FeIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeIntPraticaImpl.class, feIntPratica.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(feIntPratica); - } - - @Override - public void clearCache(List feIntPraticas) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (FeIntPratica feIntPratica : feIntPraticas) { - EntityCacheUtil.removeResult(FeIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeIntPraticaImpl.class, feIntPratica.getPrimaryKey()); - - clearUniqueFindersCache(feIntPratica); - } - } - - protected void cacheUniqueFindersCache(FeIntPratica feIntPratica) { - if (feIntPratica.isNew()) { - Object[] args = new Object[] { - feIntPratica.getUuid(), feIntPratica.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - feIntPratica); - } - else { - FeIntPraticaModelImpl feIntPraticaModelImpl = (FeIntPraticaModelImpl)feIntPratica; - - if ((feIntPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - feIntPratica.getUuid(), feIntPratica.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - feIntPratica); - } - } - } - - protected void clearUniqueFindersCache(FeIntPratica feIntPratica) { - FeIntPraticaModelImpl feIntPraticaModelImpl = (FeIntPraticaModelImpl)feIntPratica; - - Object[] args = new Object[] { - feIntPratica.getUuid(), feIntPratica.getGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - - if ((feIntPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - args = new Object[] { - feIntPraticaModelImpl.getOriginalUuid(), - feIntPraticaModelImpl.getOriginalGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - } - } - - /** - * Creates a new fe int pratica with the primary key. Does not add the fe int pratica to the database. - * - * @param intPraticaId the primary key for the new fe int pratica - * @return the new fe int pratica - */ - @Override - public FeIntPratica create(long intPraticaId) { - FeIntPratica feIntPratica = new FeIntPraticaImpl(); - - feIntPratica.setNew(true); - feIntPratica.setPrimaryKey(intPraticaId); - - String uuid = PortalUUIDUtil.generate(); - - feIntPratica.setUuid(uuid); - - return feIntPratica; - } - - /** - * Removes the fe int pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param intPraticaId the primary key of the fe int pratica - * @return the fe int pratica that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeIntPratica remove(long intPraticaId) - throws NoSuchFeIntPraticaException, SystemException { - return remove((Serializable)intPraticaId); - } - - /** - * Removes the fe int pratica with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the fe int pratica - * @return the fe int pratica that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeIntPratica remove(Serializable primaryKey) - throws NoSuchFeIntPraticaException, SystemException { - Session session = null; - - try { - session = openSession(); - - FeIntPratica feIntPratica = (FeIntPratica)session.get(FeIntPraticaImpl.class, - primaryKey); - - if (feIntPratica == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchFeIntPraticaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(feIntPratica); - } - catch (NoSuchFeIntPraticaException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected FeIntPratica removeImpl(FeIntPratica feIntPratica) - throws SystemException { - feIntPratica = toUnwrappedModel(feIntPratica); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(feIntPratica)) { - feIntPratica = (FeIntPratica)session.get(FeIntPraticaImpl.class, - feIntPratica.getPrimaryKeyObj()); - } - - if (feIntPratica != null) { - session.delete(feIntPratica); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (feIntPratica != null) { - clearCache(feIntPratica); - } - - return feIntPratica; - } - - @Override - public FeIntPratica updateImpl( - it.tref.liferay.portos.portosimport.model.FeIntPratica feIntPratica) - throws SystemException { - feIntPratica = toUnwrappedModel(feIntPratica); - - boolean isNew = feIntPratica.isNew(); - - FeIntPraticaModelImpl feIntPraticaModelImpl = (FeIntPraticaModelImpl)feIntPratica; - - if (Validator.isNull(feIntPratica.getUuid())) { - String uuid = PortalUUIDUtil.generate(); - - feIntPratica.setUuid(uuid); - } - - Session session = null; - - try { - session = openSession(); - - if (feIntPratica.isNew()) { - session.save(feIntPratica); - - feIntPratica.setNew(false); - } - else { - session.merge(feIntPratica); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !FeIntPraticaModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((feIntPraticaModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - feIntPraticaModelImpl.getOriginalUuid() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - - args = new Object[] { feIntPraticaModelImpl.getUuid() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - } - } - - EntityCacheUtil.putResult(FeIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeIntPraticaImpl.class, feIntPratica.getPrimaryKey(), feIntPratica); - - clearUniqueFindersCache(feIntPratica); - cacheUniqueFindersCache(feIntPratica); - - return feIntPratica; - } - - protected FeIntPratica toUnwrappedModel(FeIntPratica feIntPratica) { - if (feIntPratica instanceof FeIntPraticaImpl) { - return feIntPratica; - } - - FeIntPraticaImpl feIntPraticaImpl = new FeIntPraticaImpl(); - - feIntPraticaImpl.setNew(feIntPratica.isNew()); - feIntPraticaImpl.setPrimaryKey(feIntPratica.getPrimaryKey()); - - feIntPraticaImpl.setUuid(feIntPratica.getUuid()); - feIntPraticaImpl.setIntPraticaId(feIntPratica.getIntPraticaId()); - feIntPraticaImpl.setGroupId(feIntPratica.getGroupId()); - feIntPraticaImpl.setTipoPraticaId(feIntPratica.getTipoPraticaId()); - feIntPraticaImpl.setTerritorioId(feIntPratica.getTerritorioId()); - feIntPraticaImpl.setEdificiOrdinari(feIntPratica.isEdificiOrdinari()); - feIntPraticaImpl.setNoCollaudoStatico(feIntPratica.isNoCollaudoStatico()); - feIntPraticaImpl.setNoCollaudoStaticoInterLocale(feIntPratica.isNoCollaudoStaticoInterLocale()); - feIntPraticaImpl.setCodTipoIntervento(feIntPratica.getCodTipoIntervento()); - feIntPraticaImpl.setSottoTipoPraticaCod(feIntPratica.getSottoTipoPraticaCod()); - feIntPraticaImpl.setStatoOpere(feIntPratica.getStatoOpere()); - feIntPraticaImpl.setInizioLavoriImmediato(feIntPratica.isInizioLavoriImmediato()); - feIntPraticaImpl.setRelazioneGeologicaA5Check(feIntPratica.isRelazioneGeologicaA5Check()); - feIntPraticaImpl.setRelazioneGeotecnicaA6Check(feIntPratica.isRelazioneGeotecnicaA6Check()); - feIntPraticaImpl.setRelazioneSulleFondazioniA7Check(feIntPratica.isRelazioneSulleFondazioniA7Check()); - feIntPraticaImpl.setFascicoloDeiCalcoliA9Check(feIntPratica.isFascicoloDeiCalcoliA9Check()); - feIntPraticaImpl.setSchedaSinteticaGeologoA14Check(feIntPratica.isSchedaSinteticaGeologoA14Check()); - feIntPraticaImpl.setIdSoggettoDelegato(feIntPratica.getIdSoggettoDelegato()); - feIntPraticaImpl.setStatoPerecedente(feIntPratica.getStatoPerecedente()); - feIntPraticaImpl.setCheckTipologiaG(feIntPratica.isCheckTipologiaG()); - - return feIntPraticaImpl; - } - - /** - * Returns the fe int pratica with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the fe int pratica - * @return the fe int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeIntPratica findByPrimaryKey(Serializable primaryKey) - throws NoSuchFeIntPraticaException, SystemException { - FeIntPratica feIntPratica = fetchByPrimaryKey(primaryKey); - - if (feIntPratica == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchFeIntPraticaException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return feIntPratica; - } - - /** - * Returns the fe int pratica with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException} if it could not be found. - * - * @param intPraticaId the primary key of the fe int pratica - * @return the fe int pratica - * @throws it.tref.liferay.portos.portosimport.NoSuchFeIntPraticaException if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeIntPratica findByPrimaryKey(long intPraticaId) - throws NoSuchFeIntPraticaException, SystemException { - return findByPrimaryKey((Serializable)intPraticaId); - } - - /** - * Returns the fe int pratica with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the fe int pratica - * @return the fe int pratica, or null if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeIntPratica fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - FeIntPratica feIntPratica = (FeIntPratica)EntityCacheUtil.getResult(FeIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeIntPraticaImpl.class, primaryKey); - - if (feIntPratica == _nullFeIntPratica) { - return null; - } - - if (feIntPratica == null) { - Session session = null; - - try { - session = openSession(); - - feIntPratica = (FeIntPratica)session.get(FeIntPraticaImpl.class, - primaryKey); - - if (feIntPratica != null) { - cacheResult(feIntPratica); - } - else { - EntityCacheUtil.putResult(FeIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeIntPraticaImpl.class, primaryKey, _nullFeIntPratica); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(FeIntPraticaModelImpl.ENTITY_CACHE_ENABLED, - FeIntPraticaImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return feIntPratica; - } - - /** - * Returns the fe int pratica with the primary key or returns null if it could not be found. - * - * @param intPraticaId the primary key of the fe int pratica - * @return the fe int pratica, or null if a fe int pratica with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeIntPratica fetchByPrimaryKey(long intPraticaId) - throws SystemException { - return fetchByPrimaryKey((Serializable)intPraticaId); - } - - /** - * Returns all the fe int praticas. - * - * @return the fe int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the fe int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe int praticas - * @param end the upper bound of the range of fe int praticas (not inclusive) - * @return the range of fe int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the fe int praticas. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeIntPraticaModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe int praticas - * @param end the upper bound of the range of fe int praticas (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of fe int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_FEINTPRATICA); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_FEINTPRATICA; - - if (pagination) { - sql = sql.concat(FeIntPraticaModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the fe int praticas from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (FeIntPratica feIntPratica : findAll()) { - remove(feIntPratica); - } - } - - /** - * Returns the number of fe int praticas. - * - * @return the number of fe int praticas - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_FEINTPRATICA); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - @Override - protected Set getBadColumnNames() { - return _badColumnNames; - } - - /** - * Initializes the fe int pratica persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.portosimport.model.FeIntPratica"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(FeIntPraticaImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_FEINTPRATICA = "SELECT feIntPratica FROM FeIntPratica feIntPratica"; - private static final String _SQL_SELECT_FEINTPRATICA_WHERE = "SELECT feIntPratica FROM FeIntPratica feIntPratica WHERE "; - private static final String _SQL_COUNT_FEINTPRATICA = "SELECT COUNT(feIntPratica) FROM FeIntPratica feIntPratica"; - private static final String _SQL_COUNT_FEINTPRATICA_WHERE = "SELECT COUNT(feIntPratica) FROM FeIntPratica feIntPratica WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "feIntPratica."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No FeIntPratica exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No FeIntPratica exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(FeIntPraticaPersistenceImpl.class); - private static Set _badColumnNames = SetUtil.fromArray(new String[] { - "uuid" - }); - private static FeIntPratica _nullFeIntPratica = new FeIntPraticaImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullFeIntPraticaCacheModel; - } - }; - - private static CacheModel _nullFeIntPraticaCacheModel = new CacheModel() { - @Override - public FeIntPratica toEntityModel() { - return _nullFeIntPratica; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/FePagamentoPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/FePagamentoPersistenceImpl.java deleted file mode 100644 index 841bb2f3..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/FePagamentoPersistenceImpl.java +++ /dev/null @@ -1,3418 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.SetUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.kernel.uuid.PortalUUIDUtil; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.portosimport.NoSuchFePagamentoException; -import it.tref.liferay.portos.portosimport.model.FePagamento; -import it.tref.liferay.portos.portosimport.model.impl.FePagamentoImpl; -import it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Set; - -/** - * The persistence implementation for the fe pagamento service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see FePagamentoPersistence - * @see FePagamentoUtil - * @generated - */ -public class FePagamentoPersistenceImpl extends BasePersistenceImpl - implements FePagamentoPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link FePagamentoUtil} to access the fe pagamento persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = FePagamentoImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoModelImpl.FINDER_CACHE_ENABLED, FePagamentoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoModelImpl.FINDER_CACHE_ENABLED, FePagamentoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID = new FinderPath(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoModelImpl.FINDER_CACHE_ENABLED, FePagamentoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByUuid", - new String[] { - String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID = new FinderPath(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoModelImpl.FINDER_CACHE_ENABLED, FePagamentoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByUuid", - new String[] { String.class.getName() }, - FePagamentoModelImpl.UUID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID = new FinderPath(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid", - new String[] { String.class.getName() }); - - /** - * Returns all the fe pagamentos where uuid = ?. - * - * @param uuid the uuid - * @return the matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid) throws SystemException { - return findByUuid(uuid, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the fe pagamentos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end) - throws SystemException { - return findByUuid(uuid, start, end, null); - } - - /** - * Returns an ordered range of all the fe pagamentos where uuid = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid(String uuid, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID; - finderArgs = new Object[] { uuid, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (FePagamento fePagamento : list) { - if (!Validator.equals(uuid, fePagamento.getUuid())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_FEPAGAMENTO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(FePagamentoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first fe pagamento in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento findByUuid_First(String uuid, - OrderByComparator orderByComparator) - throws NoSuchFePagamentoException, SystemException { - FePagamento fePagamento = fetchByUuid_First(uuid, orderByComparator); - - if (fePagamento != null) { - return fePagamento; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFePagamentoException(msg.toString()); - } - - /** - * Returns the first fe pagamento in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento fetchByUuid_First(String uuid, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid(uuid, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last fe pagamento in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento findByUuid_Last(String uuid, - OrderByComparator orderByComparator) - throws NoSuchFePagamentoException, SystemException { - FePagamento fePagamento = fetchByUuid_Last(uuid, orderByComparator); - - if (fePagamento != null) { - return fePagamento; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFePagamentoException(msg.toString()); - } - - /** - * Returns the last fe pagamento in the ordered set where uuid = ?. - * - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento fetchByUuid_Last(String uuid, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid(uuid); - - if (count == 0) { - return null; - } - - List list = findByUuid(uuid, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the fe pagamentos before and after the current fe pagamento in the ordered set where uuid = ?. - * - * @param pagamentoId the primary key of the current fe pagamento - * @param uuid the uuid - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento[] findByUuid_PrevAndNext(long pagamentoId, String uuid, - OrderByComparator orderByComparator) - throws NoSuchFePagamentoException, SystemException { - FePagamento fePagamento = findByPrimaryKey(pagamentoId); - - Session session = null; - - try { - session = openSession(); - - FePagamento[] array = new FePagamentoImpl[3]; - - array[0] = getByUuid_PrevAndNext(session, fePagamento, uuid, - orderByComparator, true); - - array[1] = fePagamento; - - array[2] = getByUuid_PrevAndNext(session, fePagamento, uuid, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected FePagamento getByUuid_PrevAndNext(Session session, - FePagamento fePagamento, String uuid, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_FEPAGAMENTO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(FePagamentoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(fePagamento); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the fe pagamentos where uuid = ? from the database. - * - * @param uuid the uuid - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid(String uuid) throws SystemException { - for (FePagamento fePagamento : findByUuid(uuid, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null)) { - remove(fePagamento); - } - } - - /** - * Returns the number of fe pagamentos where uuid = ?. - * - * @param uuid the uuid - * @return the number of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid(String uuid) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID; - - Object[] finderArgs = new Object[] { uuid }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_FEPAGAMENTO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_UUID_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_UUID_1 = "fePagamento.uuid IS NULL"; - private static final String _FINDER_COLUMN_UUID_UUID_2 = "fePagamento.uuid = ?"; - private static final String _FINDER_COLUMN_UUID_UUID_3 = "(fePagamento.uuid IS NULL OR fePagamento.uuid = '')"; - public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G = new FinderPath(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoModelImpl.FINDER_CACHE_ENABLED, FePagamentoImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }, - FePagamentoModelImpl.UUID_COLUMN_BITMASK | - FePagamentoModelImpl.GROUPID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G = new FinderPath(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUUID_G", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns the fe pagamento where uuid = ? and groupId = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchFePagamentoException} if it could not be found. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento findByUUID_G(String uuid, long groupId) - throws NoSuchFePagamentoException, SystemException { - FePagamento fePagamento = fetchByUUID_G(uuid, groupId); - - if (fePagamento == null) { - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", groupId="); - msg.append(groupId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchFePagamentoException(msg.toString()); - } - - return fePagamento; - } - - /** - * Returns the fe pagamento where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento fetchByUUID_G(String uuid, long groupId) - throws SystemException { - return fetchByUUID_G(uuid, groupId, true); - } - - /** - * Returns the fe pagamento where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param uuid the uuid - * @param groupId the group ID - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento fetchByUUID_G(String uuid, long groupId, - boolean retrieveFromCache) throws SystemException { - Object[] finderArgs = new Object[] { uuid, groupId }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, this); - } - - if (result instanceof FePagamento) { - FePagamento fePagamento = (FePagamento)result; - - if (!Validator.equals(uuid, fePagamento.getUuid()) || - (groupId != fePagamento.getGroupId())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_SELECT_FEPAGAMENTO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, list); - } - else { - FePagamento fePagamento = list.get(0); - - result = fePagamento; - - cacheResult(fePagamento); - - if ((fePagamento.getUuid() == null) || - !fePagamento.getUuid().equals(uuid) || - (fePagamento.getGroupId() != groupId)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs, fePagamento); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (FePagamento)result; - } - } - - /** - * Removes the fe pagamento where uuid = ? and groupId = ? from the database. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the fe pagamento that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento removeByUUID_G(String uuid, long groupId) - throws NoSuchFePagamentoException, SystemException { - FePagamento fePagamento = findByUUID_G(uuid, groupId); - - return remove(fePagamento); - } - - /** - * Returns the number of fe pagamentos where uuid = ? and groupId = ?. - * - * @param uuid the uuid - * @param groupId the group ID - * @return the number of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUUID_G(String uuid, long groupId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_G; - - Object[] finderArgs = new Object[] { uuid, groupId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_FEPAGAMENTO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_G_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_G_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_G_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_G_GROUPID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(groupId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_G_UUID_1 = "fePagamento.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_2 = "fePagamento.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_G_UUID_3 = "(fePagamento.uuid IS NULL OR fePagamento.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_G_GROUPID_2 = "fePagamento.groupId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C = new FinderPath(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoModelImpl.FINDER_CACHE_ENABLED, FePagamentoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByUuid_C", - new String[] { - String.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C = - new FinderPath(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoModelImpl.FINDER_CACHE_ENABLED, FePagamentoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }, - FePagamentoModelImpl.UUID_COLUMN_BITMASK | - FePagamentoModelImpl.COMPANYID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C = new FinderPath(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByUuid_C", - new String[] { String.class.getName(), Long.class.getName() }); - - /** - * Returns all the fe pagamentos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId) - throws SystemException { - return findByUuid_C(uuid, companyId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the fe pagamentos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, - int start, int end) throws SystemException { - return findByUuid_C(uuid, companyId, start, end, null); - } - - /** - * Returns an ordered range of all the fe pagamentos where uuid = ? and companyId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param uuid the uuid - * @param companyId the company ID - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByUuid_C(String uuid, long companyId, - int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { uuid, companyId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C; - finderArgs = new Object[] { - uuid, companyId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (FePagamento fePagamento : list) { - if (!Validator.equals(uuid, fePagamento.getUuid()) || - (companyId != fePagamento.getCompanyId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_FEPAGAMENTO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(FePagamentoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first fe pagamento in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento findByUuid_C_First(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchFePagamentoException, SystemException { - FePagamento fePagamento = fetchByUuid_C_First(uuid, companyId, - orderByComparator); - - if (fePagamento != null) { - return fePagamento; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFePagamentoException(msg.toString()); - } - - /** - * Returns the first fe pagamento in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento fetchByUuid_C_First(String uuid, long companyId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByUuid_C(uuid, companyId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last fe pagamento in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento findByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) - throws NoSuchFePagamentoException, SystemException { - FePagamento fePagamento = fetchByUuid_C_Last(uuid, companyId, - orderByComparator); - - if (fePagamento != null) { - return fePagamento; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("uuid="); - msg.append(uuid); - - msg.append(", companyId="); - msg.append(companyId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFePagamentoException(msg.toString()); - } - - /** - * Returns the last fe pagamento in the ordered set where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento fetchByUuid_C_Last(String uuid, long companyId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByUuid_C(uuid, companyId); - - if (count == 0) { - return null; - } - - List list = findByUuid_C(uuid, companyId, count - 1, - count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the fe pagamentos before and after the current fe pagamento in the ordered set where uuid = ? and companyId = ?. - * - * @param pagamentoId the primary key of the current fe pagamento - * @param uuid the uuid - * @param companyId the company ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento[] findByUuid_C_PrevAndNext(long pagamentoId, - String uuid, long companyId, OrderByComparator orderByComparator) - throws NoSuchFePagamentoException, SystemException { - FePagamento fePagamento = findByPrimaryKey(pagamentoId); - - Session session = null; - - try { - session = openSession(); - - FePagamento[] array = new FePagamentoImpl[3]; - - array[0] = getByUuid_C_PrevAndNext(session, fePagamento, uuid, - companyId, orderByComparator, true); - - array[1] = fePagamento; - - array[2] = getByUuid_C_PrevAndNext(session, fePagamento, uuid, - companyId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected FePagamento getByUuid_C_PrevAndNext(Session session, - FePagamento fePagamento, String uuid, long companyId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_FEPAGAMENTO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(FePagamentoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(fePagamento); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the fe pagamentos where uuid = ? and companyId = ? from the database. - * - * @param uuid the uuid - * @param companyId the company ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByUuid_C(String uuid, long companyId) - throws SystemException { - for (FePagamento fePagamento : findByUuid_C(uuid, companyId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(fePagamento); - } - } - - /** - * Returns the number of fe pagamentos where uuid = ? and companyId = ?. - * - * @param uuid the uuid - * @param companyId the company ID - * @return the number of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByUuid_C(String uuid, long companyId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_C; - - Object[] finderArgs = new Object[] { uuid, companyId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_FEPAGAMENTO_WHERE); - - boolean bindUuid = false; - - if (uuid == null) { - query.append(_FINDER_COLUMN_UUID_C_UUID_1); - } - else if (uuid.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_UUID_C_UUID_3); - } - else { - bindUuid = true; - - query.append(_FINDER_COLUMN_UUID_C_UUID_2); - } - - query.append(_FINDER_COLUMN_UUID_C_COMPANYID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindUuid) { - qPos.add(uuid); - } - - qPos.add(companyId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_UUID_C_UUID_1 = "fePagamento.uuid IS NULL AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_2 = "fePagamento.uuid = ? AND "; - private static final String _FINDER_COLUMN_UUID_C_UUID_3 = "(fePagamento.uuid IS NULL OR fePagamento.uuid = '') AND "; - private static final String _FINDER_COLUMN_UUID_C_COMPANYID_2 = "fePagamento.companyId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICAID_MEZZO = - new FinderPath(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoModelImpl.FINDER_CACHE_ENABLED, FePagamentoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, - "findByDettPraticaId_Mezzo", - new String[] { - Long.class.getName(), String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICAID_MEZZO = - new FinderPath(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoModelImpl.FINDER_CACHE_ENABLED, FePagamentoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByDettPraticaId_Mezzo", - new String[] { Long.class.getName(), String.class.getName() }, - FePagamentoModelImpl.DETTPRATICAID_COLUMN_BITMASK | - FePagamentoModelImpl.MEZZO_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_DETTPRATICAID_MEZZO = new FinderPath(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByDettPraticaId_Mezzo", - new String[] { Long.class.getName(), String.class.getName() }); - - /** - * Returns all the fe pagamentos where dettPraticaId = ? and mezzo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @return the matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPraticaId_Mezzo(long dettPraticaId, - String mezzo) throws SystemException { - return findByDettPraticaId_Mezzo(dettPraticaId, mezzo, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the fe pagamentos where dettPraticaId = ? and mezzo = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPraticaId_Mezzo(long dettPraticaId, - String mezzo, int start, int end) throws SystemException { - return findByDettPraticaId_Mezzo(dettPraticaId, mezzo, start, end, null); - } - - /** - * Returns an ordered range of all the fe pagamentos where dettPraticaId = ? and mezzo = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByDettPraticaId_Mezzo(long dettPraticaId, - String mezzo, int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICAID_MEZZO; - finderArgs = new Object[] { dettPraticaId, mezzo }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_DETTPRATICAID_MEZZO; - finderArgs = new Object[] { - dettPraticaId, mezzo, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (FePagamento fePagamento : list) { - if ((dettPraticaId != fePagamento.getDettPraticaId()) || - !Validator.equals(mezzo, fePagamento.getMezzo())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_FEPAGAMENTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICAID_MEZZO_DETTPRATICAID_2); - - boolean bindMezzo = false; - - if (mezzo == null) { - query.append(_FINDER_COLUMN_DETTPRATICAID_MEZZO_MEZZO_1); - } - else if (mezzo.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICAID_MEZZO_MEZZO_3); - } - else { - bindMezzo = true; - - query.append(_FINDER_COLUMN_DETTPRATICAID_MEZZO_MEZZO_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(FePagamentoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindMezzo) { - qPos.add(mezzo); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first fe pagamento in the ordered set where dettPraticaId = ? and mezzo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento findByDettPraticaId_Mezzo_First(long dettPraticaId, - String mezzo, OrderByComparator orderByComparator) - throws NoSuchFePagamentoException, SystemException { - FePagamento fePagamento = fetchByDettPraticaId_Mezzo_First(dettPraticaId, - mezzo, orderByComparator); - - if (fePagamento != null) { - return fePagamento; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(", mezzo="); - msg.append(mezzo); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFePagamentoException(msg.toString()); - } - - /** - * Returns the first fe pagamento in the ordered set where dettPraticaId = ? and mezzo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento fetchByDettPraticaId_Mezzo_First(long dettPraticaId, - String mezzo, OrderByComparator orderByComparator) - throws SystemException { - List list = findByDettPraticaId_Mezzo(dettPraticaId, - mezzo, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last fe pagamento in the ordered set where dettPraticaId = ? and mezzo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento findByDettPraticaId_Mezzo_Last(long dettPraticaId, - String mezzo, OrderByComparator orderByComparator) - throws NoSuchFePagamentoException, SystemException { - FePagamento fePagamento = fetchByDettPraticaId_Mezzo_Last(dettPraticaId, - mezzo, orderByComparator); - - if (fePagamento != null) { - return fePagamento; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("dettPraticaId="); - msg.append(dettPraticaId); - - msg.append(", mezzo="); - msg.append(mezzo); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFePagamentoException(msg.toString()); - } - - /** - * Returns the last fe pagamento in the ordered set where dettPraticaId = ? and mezzo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento fetchByDettPraticaId_Mezzo_Last(long dettPraticaId, - String mezzo, OrderByComparator orderByComparator) - throws SystemException { - int count = countByDettPraticaId_Mezzo(dettPraticaId, mezzo); - - if (count == 0) { - return null; - } - - List list = findByDettPraticaId_Mezzo(dettPraticaId, - mezzo, count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the fe pagamentos before and after the current fe pagamento in the ordered set where dettPraticaId = ? and mezzo = ?. - * - * @param pagamentoId the primary key of the current fe pagamento - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento[] findByDettPraticaId_Mezzo_PrevAndNext( - long pagamentoId, long dettPraticaId, String mezzo, - OrderByComparator orderByComparator) - throws NoSuchFePagamentoException, SystemException { - FePagamento fePagamento = findByPrimaryKey(pagamentoId); - - Session session = null; - - try { - session = openSession(); - - FePagamento[] array = new FePagamentoImpl[3]; - - array[0] = getByDettPraticaId_Mezzo_PrevAndNext(session, - fePagamento, dettPraticaId, mezzo, orderByComparator, true); - - array[1] = fePagamento; - - array[2] = getByDettPraticaId_Mezzo_PrevAndNext(session, - fePagamento, dettPraticaId, mezzo, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected FePagamento getByDettPraticaId_Mezzo_PrevAndNext( - Session session, FePagamento fePagamento, long dettPraticaId, - String mezzo, OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_FEPAGAMENTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICAID_MEZZO_DETTPRATICAID_2); - - boolean bindMezzo = false; - - if (mezzo == null) { - query.append(_FINDER_COLUMN_DETTPRATICAID_MEZZO_MEZZO_1); - } - else if (mezzo.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICAID_MEZZO_MEZZO_3); - } - else { - bindMezzo = true; - - query.append(_FINDER_COLUMN_DETTPRATICAID_MEZZO_MEZZO_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(FePagamentoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindMezzo) { - qPos.add(mezzo); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(fePagamento); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the fe pagamentos where dettPraticaId = ? and mezzo = ? from the database. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByDettPraticaId_Mezzo(long dettPraticaId, String mezzo) - throws SystemException { - for (FePagamento fePagamento : findByDettPraticaId_Mezzo( - dettPraticaId, mezzo, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(fePagamento); - } - } - - /** - * Returns the number of fe pagamentos where dettPraticaId = ? and mezzo = ?. - * - * @param dettPraticaId the dett pratica ID - * @param mezzo the mezzo - * @return the number of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByDettPraticaId_Mezzo(long dettPraticaId, String mezzo) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_DETTPRATICAID_MEZZO; - - Object[] finderArgs = new Object[] { dettPraticaId, mezzo }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_FEPAGAMENTO_WHERE); - - query.append(_FINDER_COLUMN_DETTPRATICAID_MEZZO_DETTPRATICAID_2); - - boolean bindMezzo = false; - - if (mezzo == null) { - query.append(_FINDER_COLUMN_DETTPRATICAID_MEZZO_MEZZO_1); - } - else if (mezzo.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_DETTPRATICAID_MEZZO_MEZZO_3); - } - else { - bindMezzo = true; - - query.append(_FINDER_COLUMN_DETTPRATICAID_MEZZO_MEZZO_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(dettPraticaId); - - if (bindMezzo) { - qPos.add(mezzo); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_DETTPRATICAID_MEZZO_DETTPRATICAID_2 = - "fePagamento.dettPraticaId = ? AND "; - private static final String _FINDER_COLUMN_DETTPRATICAID_MEZZO_MEZZO_1 = "fePagamento.mezzo IS NULL"; - private static final String _FINDER_COLUMN_DETTPRATICAID_MEZZO_MEZZO_2 = "fePagamento.mezzo = ?"; - private static final String _FINDER_COLUMN_DETTPRATICAID_MEZZO_MEZZO_3 = "(fePagamento.mezzo IS NULL OR fePagamento.mezzo = '')"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_MEZZO_UTILIZZATA = - new FinderPath(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoModelImpl.FINDER_CACHE_ENABLED, FePagamentoImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByMezzo_Utilizzata", - new String[] { - String.class.getName(), String.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_MEZZO_UTILIZZATA = - new FinderPath(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoModelImpl.FINDER_CACHE_ENABLED, FePagamentoImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "findByMezzo_Utilizzata", - new String[] { String.class.getName(), String.class.getName() }, - FePagamentoModelImpl.MEZZO_COLUMN_BITMASK | - FePagamentoModelImpl.UTILIZZATA_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_MEZZO_UTILIZZATA = new FinderPath(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, - "countByMezzo_Utilizzata", - new String[] { String.class.getName(), String.class.getName() }); - - /** - * Returns all the fe pagamentos where mezzo = ? and utilizzata = ?. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @return the matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByMezzo_Utilizzata(String mezzo, - String utilizzata) throws SystemException { - return findByMezzo_Utilizzata(mezzo, utilizzata, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the fe pagamentos where mezzo = ? and utilizzata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByMezzo_Utilizzata(String mezzo, - String utilizzata, int start, int end) throws SystemException { - return findByMezzo_Utilizzata(mezzo, utilizzata, start, end, null); - } - - /** - * Returns an ordered range of all the fe pagamentos where mezzo = ? and utilizzata = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public List findByMezzo_Utilizzata(String mezzo, - String utilizzata, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_MEZZO_UTILIZZATA; - finderArgs = new Object[] { mezzo, utilizzata }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_MEZZO_UTILIZZATA; - finderArgs = new Object[] { - mezzo, utilizzata, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (FePagamento fePagamento : list) { - if (!Validator.equals(mezzo, fePagamento.getMezzo()) || - !Validator.equals(utilizzata, - fePagamento.getUtilizzata())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(4 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(4); - } - - query.append(_SQL_SELECT_FEPAGAMENTO_WHERE); - - boolean bindMezzo = false; - - if (mezzo == null) { - query.append(_FINDER_COLUMN_MEZZO_UTILIZZATA_MEZZO_1); - } - else if (mezzo.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_MEZZO_UTILIZZATA_MEZZO_3); - } - else { - bindMezzo = true; - - query.append(_FINDER_COLUMN_MEZZO_UTILIZZATA_MEZZO_2); - } - - boolean bindUtilizzata = false; - - if (utilizzata == null) { - query.append(_FINDER_COLUMN_MEZZO_UTILIZZATA_UTILIZZATA_1); - } - else if (utilizzata.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_MEZZO_UTILIZZATA_UTILIZZATA_3); - } - else { - bindUtilizzata = true; - - query.append(_FINDER_COLUMN_MEZZO_UTILIZZATA_UTILIZZATA_2); - } - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(FePagamentoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindMezzo) { - qPos.add(mezzo); - } - - if (bindUtilizzata) { - qPos.add(utilizzata); - } - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first fe pagamento in the ordered set where mezzo = ? and utilizzata = ?. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento findByMezzo_Utilizzata_First(String mezzo, - String utilizzata, OrderByComparator orderByComparator) - throws NoSuchFePagamentoException, SystemException { - FePagamento fePagamento = fetchByMezzo_Utilizzata_First(mezzo, - utilizzata, orderByComparator); - - if (fePagamento != null) { - return fePagamento; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("mezzo="); - msg.append(mezzo); - - msg.append(", utilizzata="); - msg.append(utilizzata); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFePagamentoException(msg.toString()); - } - - /** - * Returns the first fe pagamento in the ordered set where mezzo = ? and utilizzata = ?. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento fetchByMezzo_Utilizzata_First(String mezzo, - String utilizzata, OrderByComparator orderByComparator) - throws SystemException { - List list = findByMezzo_Utilizzata(mezzo, utilizzata, 0, - 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last fe pagamento in the ordered set where mezzo = ? and utilizzata = ?. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento findByMezzo_Utilizzata_Last(String mezzo, - String utilizzata, OrderByComparator orderByComparator) - throws NoSuchFePagamentoException, SystemException { - FePagamento fePagamento = fetchByMezzo_Utilizzata_Last(mezzo, - utilizzata, orderByComparator); - - if (fePagamento != null) { - return fePagamento; - } - - StringBundler msg = new StringBundler(6); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("mezzo="); - msg.append(mezzo); - - msg.append(", utilizzata="); - msg.append(utilizzata); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFePagamentoException(msg.toString()); - } - - /** - * Returns the last fe pagamento in the ordered set where mezzo = ? and utilizzata = ?. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe pagamento, or null if a matching fe pagamento could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento fetchByMezzo_Utilizzata_Last(String mezzo, - String utilizzata, OrderByComparator orderByComparator) - throws SystemException { - int count = countByMezzo_Utilizzata(mezzo, utilizzata); - - if (count == 0) { - return null; - } - - List list = findByMezzo_Utilizzata(mezzo, utilizzata, - count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the fe pagamentos before and after the current fe pagamento in the ordered set where mezzo = ? and utilizzata = ?. - * - * @param pagamentoId the primary key of the current fe pagamento - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento[] findByMezzo_Utilizzata_PrevAndNext(long pagamentoId, - String mezzo, String utilizzata, OrderByComparator orderByComparator) - throws NoSuchFePagamentoException, SystemException { - FePagamento fePagamento = findByPrimaryKey(pagamentoId); - - Session session = null; - - try { - session = openSession(); - - FePagamento[] array = new FePagamentoImpl[3]; - - array[0] = getByMezzo_Utilizzata_PrevAndNext(session, fePagamento, - mezzo, utilizzata, orderByComparator, true); - - array[1] = fePagamento; - - array[2] = getByMezzo_Utilizzata_PrevAndNext(session, fePagamento, - mezzo, utilizzata, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected FePagamento getByMezzo_Utilizzata_PrevAndNext(Session session, - FePagamento fePagamento, String mezzo, String utilizzata, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_FEPAGAMENTO_WHERE); - - boolean bindMezzo = false; - - if (mezzo == null) { - query.append(_FINDER_COLUMN_MEZZO_UTILIZZATA_MEZZO_1); - } - else if (mezzo.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_MEZZO_UTILIZZATA_MEZZO_3); - } - else { - bindMezzo = true; - - query.append(_FINDER_COLUMN_MEZZO_UTILIZZATA_MEZZO_2); - } - - boolean bindUtilizzata = false; - - if (utilizzata == null) { - query.append(_FINDER_COLUMN_MEZZO_UTILIZZATA_UTILIZZATA_1); - } - else if (utilizzata.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_MEZZO_UTILIZZATA_UTILIZZATA_3); - } - else { - bindUtilizzata = true; - - query.append(_FINDER_COLUMN_MEZZO_UTILIZZATA_UTILIZZATA_2); - } - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(FePagamentoModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindMezzo) { - qPos.add(mezzo); - } - - if (bindUtilizzata) { - qPos.add(utilizzata); - } - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(fePagamento); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the fe pagamentos where mezzo = ? and utilizzata = ? from the database. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByMezzo_Utilizzata(String mezzo, String utilizzata) - throws SystemException { - for (FePagamento fePagamento : findByMezzo_Utilizzata(mezzo, - utilizzata, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(fePagamento); - } - } - - /** - * Returns the number of fe pagamentos where mezzo = ? and utilizzata = ?. - * - * @param mezzo the mezzo - * @param utilizzata the utilizzata - * @return the number of matching fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public int countByMezzo_Utilizzata(String mezzo, String utilizzata) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_MEZZO_UTILIZZATA; - - Object[] finderArgs = new Object[] { mezzo, utilizzata }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(3); - - query.append(_SQL_COUNT_FEPAGAMENTO_WHERE); - - boolean bindMezzo = false; - - if (mezzo == null) { - query.append(_FINDER_COLUMN_MEZZO_UTILIZZATA_MEZZO_1); - } - else if (mezzo.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_MEZZO_UTILIZZATA_MEZZO_3); - } - else { - bindMezzo = true; - - query.append(_FINDER_COLUMN_MEZZO_UTILIZZATA_MEZZO_2); - } - - boolean bindUtilizzata = false; - - if (utilizzata == null) { - query.append(_FINDER_COLUMN_MEZZO_UTILIZZATA_UTILIZZATA_1); - } - else if (utilizzata.equals(StringPool.BLANK)) { - query.append(_FINDER_COLUMN_MEZZO_UTILIZZATA_UTILIZZATA_3); - } - else { - bindUtilizzata = true; - - query.append(_FINDER_COLUMN_MEZZO_UTILIZZATA_UTILIZZATA_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - if (bindMezzo) { - qPos.add(mezzo); - } - - if (bindUtilizzata) { - qPos.add(utilizzata); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_MEZZO_UTILIZZATA_MEZZO_1 = "fePagamento.mezzo IS NULL AND "; - private static final String _FINDER_COLUMN_MEZZO_UTILIZZATA_MEZZO_2 = "fePagamento.mezzo = ? AND "; - private static final String _FINDER_COLUMN_MEZZO_UTILIZZATA_MEZZO_3 = "(fePagamento.mezzo IS NULL OR fePagamento.mezzo = '') AND "; - private static final String _FINDER_COLUMN_MEZZO_UTILIZZATA_UTILIZZATA_1 = "fePagamento.utilizzata IS NULL"; - private static final String _FINDER_COLUMN_MEZZO_UTILIZZATA_UTILIZZATA_2 = "fePagamento.utilizzata = ?"; - private static final String _FINDER_COLUMN_MEZZO_UTILIZZATA_UTILIZZATA_3 = "(fePagamento.utilizzata IS NULL OR fePagamento.utilizzata = '')"; - - public FePagamentoPersistenceImpl() { - setModelClass(FePagamento.class); - } - - /** - * Caches the fe pagamento in the entity cache if it is enabled. - * - * @param fePagamento the fe pagamento - */ - @Override - public void cacheResult(FePagamento fePagamento) { - EntityCacheUtil.putResult(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoImpl.class, fePagamento.getPrimaryKey(), fePagamento); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, - new Object[] { fePagamento.getUuid(), fePagamento.getGroupId() }, - fePagamento); - - fePagamento.resetOriginalValues(); - } - - /** - * Caches the fe pagamentos in the entity cache if it is enabled. - * - * @param fePagamentos the fe pagamentos - */ - @Override - public void cacheResult(List fePagamentos) { - for (FePagamento fePagamento : fePagamentos) { - if (EntityCacheUtil.getResult( - FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoImpl.class, fePagamento.getPrimaryKey()) == null) { - cacheResult(fePagamento); - } - else { - fePagamento.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all fe pagamentos. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(FePagamentoImpl.class.getName()); - } - - EntityCacheUtil.clearCache(FePagamentoImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the fe pagamento. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(FePagamento fePagamento) { - EntityCacheUtil.removeResult(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoImpl.class, fePagamento.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(fePagamento); - } - - @Override - public void clearCache(List fePagamentos) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (FePagamento fePagamento : fePagamentos) { - EntityCacheUtil.removeResult(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoImpl.class, fePagamento.getPrimaryKey()); - - clearUniqueFindersCache(fePagamento); - } - } - - protected void cacheUniqueFindersCache(FePagamento fePagamento) { - if (fePagamento.isNew()) { - Object[] args = new Object[] { - fePagamento.getUuid(), fePagamento.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - fePagamento); - } - else { - FePagamentoModelImpl fePagamentoModelImpl = (FePagamentoModelImpl)fePagamento; - - if ((fePagamentoModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - fePagamento.getUuid(), fePagamento.getGroupId() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_UUID_G, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_UUID_G, args, - fePagamento); - } - } - } - - protected void clearUniqueFindersCache(FePagamento fePagamento) { - FePagamentoModelImpl fePagamentoModelImpl = (FePagamentoModelImpl)fePagamento; - - Object[] args = new Object[] { - fePagamento.getUuid(), fePagamento.getGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - - if ((fePagamentoModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_UUID_G.getColumnBitmask()) != 0) { - args = new Object[] { - fePagamentoModelImpl.getOriginalUuid(), - fePagamentoModelImpl.getOriginalGroupId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_G, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_UUID_G, args); - } - } - - /** - * Creates a new fe pagamento with the primary key. Does not add the fe pagamento to the database. - * - * @param pagamentoId the primary key for the new fe pagamento - * @return the new fe pagamento - */ - @Override - public FePagamento create(long pagamentoId) { - FePagamento fePagamento = new FePagamentoImpl(); - - fePagamento.setNew(true); - fePagamento.setPrimaryKey(pagamentoId); - - String uuid = PortalUUIDUtil.generate(); - - fePagamento.setUuid(uuid); - - return fePagamento; - } - - /** - * Removes the fe pagamento with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param pagamentoId the primary key of the fe pagamento - * @return the fe pagamento that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento remove(long pagamentoId) - throws NoSuchFePagamentoException, SystemException { - return remove((Serializable)pagamentoId); - } - - /** - * Removes the fe pagamento with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the fe pagamento - * @return the fe pagamento that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento remove(Serializable primaryKey) - throws NoSuchFePagamentoException, SystemException { - Session session = null; - - try { - session = openSession(); - - FePagamento fePagamento = (FePagamento)session.get(FePagamentoImpl.class, - primaryKey); - - if (fePagamento == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchFePagamentoException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(fePagamento); - } - catch (NoSuchFePagamentoException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected FePagamento removeImpl(FePagamento fePagamento) - throws SystemException { - fePagamento = toUnwrappedModel(fePagamento); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(fePagamento)) { - fePagamento = (FePagamento)session.get(FePagamentoImpl.class, - fePagamento.getPrimaryKeyObj()); - } - - if (fePagamento != null) { - session.delete(fePagamento); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (fePagamento != null) { - clearCache(fePagamento); - } - - return fePagamento; - } - - @Override - public FePagamento updateImpl( - it.tref.liferay.portos.portosimport.model.FePagamento fePagamento) - throws SystemException { - fePagamento = toUnwrappedModel(fePagamento); - - boolean isNew = fePagamento.isNew(); - - FePagamentoModelImpl fePagamentoModelImpl = (FePagamentoModelImpl)fePagamento; - - if (Validator.isNull(fePagamento.getUuid())) { - String uuid = PortalUUIDUtil.generate(); - - fePagamento.setUuid(uuid); - } - - Session session = null; - - try { - session = openSession(); - - if (fePagamento.isNew()) { - session.save(fePagamento); - - fePagamento.setNew(false); - } - else { - session.merge(fePagamento); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !FePagamentoModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((fePagamentoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - fePagamentoModelImpl.getOriginalUuid() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - - args = new Object[] { fePagamentoModelImpl.getUuid() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID, - args); - } - - if ((fePagamentoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - fePagamentoModelImpl.getOriginalUuid(), - fePagamentoModelImpl.getOriginalCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - - args = new Object[] { - fePagamentoModelImpl.getUuid(), - fePagamentoModelImpl.getCompanyId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_UUID_C, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C, - args); - } - - if ((fePagamentoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICAID_MEZZO.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - fePagamentoModelImpl.getOriginalDettPraticaId(), - fePagamentoModelImpl.getOriginalMezzo() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICAID_MEZZO, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICAID_MEZZO, - args); - - args = new Object[] { - fePagamentoModelImpl.getDettPraticaId(), - fePagamentoModelImpl.getMezzo() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DETTPRATICAID_MEZZO, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DETTPRATICAID_MEZZO, - args); - } - - if ((fePagamentoModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_MEZZO_UTILIZZATA.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - fePagamentoModelImpl.getOriginalMezzo(), - fePagamentoModelImpl.getOriginalUtilizzata() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_MEZZO_UTILIZZATA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_MEZZO_UTILIZZATA, - args); - - args = new Object[] { - fePagamentoModelImpl.getMezzo(), - fePagamentoModelImpl.getUtilizzata() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_MEZZO_UTILIZZATA, - args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_MEZZO_UTILIZZATA, - args); - } - } - - EntityCacheUtil.putResult(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoImpl.class, fePagamento.getPrimaryKey(), fePagamento); - - clearUniqueFindersCache(fePagamento); - cacheUniqueFindersCache(fePagamento); - - return fePagamento; - } - - protected FePagamento toUnwrappedModel(FePagamento fePagamento) { - if (fePagamento instanceof FePagamentoImpl) { - return fePagamento; - } - - FePagamentoImpl fePagamentoImpl = new FePagamentoImpl(); - - fePagamentoImpl.setNew(fePagamento.isNew()); - fePagamentoImpl.setPrimaryKey(fePagamento.getPrimaryKey()); - - fePagamentoImpl.setUuid(fePagamento.getUuid()); - fePagamentoImpl.setPagamentoId(fePagamento.getPagamentoId()); - fePagamentoImpl.setCompanyId(fePagamento.getCompanyId()); - fePagamentoImpl.setUserId(fePagamento.getUserId()); - fePagamentoImpl.setUserName(fePagamento.getUserName()); - fePagamentoImpl.setCreateDate(fePagamento.getCreateDate()); - fePagamentoImpl.setModifiedDate(fePagamento.getModifiedDate()); - fePagamentoImpl.setGroupId(fePagamento.getGroupId()); - fePagamentoImpl.setDettPraticaId(fePagamento.getDettPraticaId()); - fePagamentoImpl.setCodice(fePagamento.getCodice()); - fePagamentoImpl.setCausale(fePagamento.getCausale()); - fePagamentoImpl.setMezzo(fePagamento.getMezzo()); - fePagamentoImpl.setCodiceFiscaleCommittente(fePagamento.getCodiceFiscaleCommittente()); - fePagamentoImpl.setImportoBolli(fePagamento.getImportoBolli()); - fePagamentoImpl.setImportoSpeseIstruttoria(fePagamento.getImportoSpeseIstruttoria()); - fePagamentoImpl.setUtilizzata(fePagamento.getUtilizzata()); - fePagamentoImpl.setEmailPending(fePagamento.isEmailPending()); - - return fePagamentoImpl; - } - - /** - * Returns the fe pagamento with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the fe pagamento - * @return the fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento findByPrimaryKey(Serializable primaryKey) - throws NoSuchFePagamentoException, SystemException { - FePagamento fePagamento = fetchByPrimaryKey(primaryKey); - - if (fePagamento == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchFePagamentoException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return fePagamento; - } - - /** - * Returns the fe pagamento with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchFePagamentoException} if it could not be found. - * - * @param pagamentoId the primary key of the fe pagamento - * @return the fe pagamento - * @throws it.tref.liferay.portos.portosimport.NoSuchFePagamentoException if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento findByPrimaryKey(long pagamentoId) - throws NoSuchFePagamentoException, SystemException { - return findByPrimaryKey((Serializable)pagamentoId); - } - - /** - * Returns the fe pagamento with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the fe pagamento - * @return the fe pagamento, or null if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - FePagamento fePagamento = (FePagamento)EntityCacheUtil.getResult(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoImpl.class, primaryKey); - - if (fePagamento == _nullFePagamento) { - return null; - } - - if (fePagamento == null) { - Session session = null; - - try { - session = openSession(); - - fePagamento = (FePagamento)session.get(FePagamentoImpl.class, - primaryKey); - - if (fePagamento != null) { - cacheResult(fePagamento); - } - else { - EntityCacheUtil.putResult(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoImpl.class, primaryKey, _nullFePagamento); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(FePagamentoModelImpl.ENTITY_CACHE_ENABLED, - FePagamentoImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return fePagamento; - } - - /** - * Returns the fe pagamento with the primary key or returns null if it could not be found. - * - * @param pagamentoId the primary key of the fe pagamento - * @return the fe pagamento, or null if a fe pagamento with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FePagamento fetchByPrimaryKey(long pagamentoId) - throws SystemException { - return fetchByPrimaryKey((Serializable)pagamentoId); - } - - /** - * Returns all the fe pagamentos. - * - * @return the fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the fe pagamentos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @return the range of fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the fe pagamentos. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FePagamentoModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe pagamentos - * @param end the upper bound of the range of fe pagamentos (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_FEPAGAMENTO); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_FEPAGAMENTO; - - if (pagination) { - sql = sql.concat(FePagamentoModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the fe pagamentos from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (FePagamento fePagamento : findAll()) { - remove(fePagamento); - } - } - - /** - * Returns the number of fe pagamentos. - * - * @return the number of fe pagamentos - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_FEPAGAMENTO); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - @Override - protected Set getBadColumnNames() { - return _badColumnNames; - } - - /** - * Initializes the fe pagamento persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.portosimport.model.FePagamento"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(FePagamentoImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_FEPAGAMENTO = "SELECT fePagamento FROM FePagamento fePagamento"; - private static final String _SQL_SELECT_FEPAGAMENTO_WHERE = "SELECT fePagamento FROM FePagamento fePagamento WHERE "; - private static final String _SQL_COUNT_FEPAGAMENTO = "SELECT COUNT(fePagamento) FROM FePagamento fePagamento"; - private static final String _SQL_COUNT_FEPAGAMENTO_WHERE = "SELECT COUNT(fePagamento) FROM FePagamento fePagamento WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "fePagamento."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No FePagamento exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No FePagamento exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(FePagamentoPersistenceImpl.class); - private static Set _badColumnNames = SetUtil.fromArray(new String[] { - "uuid" - }); - private static FePagamento _nullFePagamento = new FePagamentoImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullFePagamentoCacheModel; - } - }; - - private static CacheModel _nullFePagamentoCacheModel = new CacheModel() { - @Override - public FePagamento toEntityModel() { - return _nullFePagamento; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/FeTerritorioPersistenceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/FeTerritorioPersistenceImpl.java deleted file mode 100644 index ac52e2dd..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/service/persistence/FeTerritorioPersistenceImpl.java +++ /dev/null @@ -1,3162 +0,0 @@ -/** - * Copyright (c) 2000-present Liferay, Inc. All rights reserved. - * - * This library is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - */ - -package it.tref.liferay.portos.portosimport.service.persistence; - -import com.liferay.portal.kernel.cache.CacheRegistryUtil; -import com.liferay.portal.kernel.dao.orm.EntityCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderCacheUtil; -import com.liferay.portal.kernel.dao.orm.FinderPath; -import com.liferay.portal.kernel.dao.orm.Query; -import com.liferay.portal.kernel.dao.orm.QueryPos; -import com.liferay.portal.kernel.dao.orm.QueryUtil; -import com.liferay.portal.kernel.dao.orm.Session; -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.log.Log; -import com.liferay.portal.kernel.log.LogFactoryUtil; -import com.liferay.portal.kernel.util.CalendarUtil; -import com.liferay.portal.kernel.util.GetterUtil; -import com.liferay.portal.kernel.util.InstanceFactory; -import com.liferay.portal.kernel.util.OrderByComparator; -import com.liferay.portal.kernel.util.PropsKeys; -import com.liferay.portal.kernel.util.PropsUtil; -import com.liferay.portal.kernel.util.StringBundler; -import com.liferay.portal.kernel.util.StringPool; -import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.UnmodifiableList; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.CacheModel; -import com.liferay.portal.model.ModelListener; -import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; - -import it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException; -import it.tref.liferay.portos.portosimport.model.FeTerritorio; -import it.tref.liferay.portos.portosimport.model.impl.FeTerritorioImpl; -import it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl; - -import java.io.Serializable; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.Date; -import java.util.List; - -/** - * The persistence implementation for the fe territorio service. - * - *

- * Caching information and settings can be found in portal.properties - *

- * - * @author Davide Barbagallo, 3F Consulting - * @see FeTerritorioPersistence - * @see FeTerritorioUtil - * @generated - */ -public class FeTerritorioPersistenceImpl extends BasePersistenceImpl - implements FeTerritorioPersistence { - /* - * NOTE FOR DEVELOPERS: - * - * Never modify or reference this class directly. Always use {@link FeTerritorioUtil} to access the fe territorio persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class. - */ - public static final String FINDER_CLASS_NAME_ENTITY = FeTerritorioImpl.class.getName(); - public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List1"; - public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY + - ".List2"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioModelImpl.FINDER_CACHE_ENABLED, FeTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioModelImpl.FINDER_CACHE_ENABLED, FeTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]); - public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]); - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMUNEID = new FinderPath(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioModelImpl.FINDER_CACHE_ENABLED, FeTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByComuneId", - new String[] { - Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMUNEID = - new FinderPath(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioModelImpl.FINDER_CACHE_ENABLED, FeTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByComuneId", - new String[] { Long.class.getName() }, - FeTerritorioModelImpl.COMUNEID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_COMUNEID = new FinderPath(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByComuneId", - new String[] { Long.class.getName() }); - - /** - * Returns all the fe territorios where comuneId = ?. - * - * @param comuneId the comune ID - * @return the matching fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByComuneId(long comuneId) - throws SystemException { - return findByComuneId(comuneId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, - null); - } - - /** - * Returns a range of all the fe territorios where comuneId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param comuneId the comune ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByComuneId(long comuneId, int start, int end) - throws SystemException { - return findByComuneId(comuneId, start, end, null); - } - - /** - * Returns an ordered range of all the fe territorios where comuneId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param comuneId the comune ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByComuneId(long comuneId, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMUNEID; - finderArgs = new Object[] { comuneId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_COMUNEID; - finderArgs = new Object[] { comuneId, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (FeTerritorio feTerritorio : list) { - if ((comuneId != feTerritorio.getComuneId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_FETERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_COMUNEID_COMUNEID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(FeTerritorioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(comuneId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first fe territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio findByComuneId_First(long comuneId, - OrderByComparator orderByComparator) - throws NoSuchFeTerritorioException, SystemException { - FeTerritorio feTerritorio = fetchByComuneId_First(comuneId, - orderByComparator); - - if (feTerritorio != null) { - return feTerritorio; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("comuneId="); - msg.append(comuneId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFeTerritorioException(msg.toString()); - } - - /** - * Returns the first fe territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio fetchByComuneId_First(long comuneId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByComuneId(comuneId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last fe territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio findByComuneId_Last(long comuneId, - OrderByComparator orderByComparator) - throws NoSuchFeTerritorioException, SystemException { - FeTerritorio feTerritorio = fetchByComuneId_Last(comuneId, - orderByComparator); - - if (feTerritorio != null) { - return feTerritorio; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("comuneId="); - msg.append(comuneId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFeTerritorioException(msg.toString()); - } - - /** - * Returns the last fe territorio in the ordered set where comuneId = ?. - * - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio fetchByComuneId_Last(long comuneId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByComuneId(comuneId); - - if (count == 0) { - return null; - } - - List list = findByComuneId(comuneId, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the fe territorios before and after the current fe territorio in the ordered set where comuneId = ?. - * - * @param territorioId the primary key of the current fe territorio - * @param comuneId the comune ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio[] findByComuneId_PrevAndNext(long territorioId, - long comuneId, OrderByComparator orderByComparator) - throws NoSuchFeTerritorioException, SystemException { - FeTerritorio feTerritorio = findByPrimaryKey(territorioId); - - Session session = null; - - try { - session = openSession(); - - FeTerritorio[] array = new FeTerritorioImpl[3]; - - array[0] = getByComuneId_PrevAndNext(session, feTerritorio, - comuneId, orderByComparator, true); - - array[1] = feTerritorio; - - array[2] = getByComuneId_PrevAndNext(session, feTerritorio, - comuneId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected FeTerritorio getByComuneId_PrevAndNext(Session session, - FeTerritorio feTerritorio, long comuneId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_FETERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_COMUNEID_COMUNEID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(FeTerritorioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(comuneId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(feTerritorio); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the fe territorios where comuneId = ? from the database. - * - * @param comuneId the comune ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByComuneId(long comuneId) throws SystemException { - for (FeTerritorio feTerritorio : findByComuneId(comuneId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(feTerritorio); - } - } - - /** - * Returns the number of fe territorios where comuneId = ?. - * - * @param comuneId the comune ID - * @return the number of matching fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public int countByComuneId(long comuneId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_COMUNEID; - - Object[] finderArgs = new Object[] { comuneId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_FETERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_COMUNEID_COMUNEID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(comuneId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_COMUNEID_COMUNEID_2 = "feTerritorio.comuneId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_ZONAID = new FinderPath(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioModelImpl.FINDER_CACHE_ENABLED, FeTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByZonaId", - new String[] { - Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ZONAID = - new FinderPath(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioModelImpl.FINDER_CACHE_ENABLED, FeTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByZonaId", - new String[] { Long.class.getName() }, - FeTerritorioModelImpl.ZONAID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_ZONAID = new FinderPath(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByZonaId", - new String[] { Long.class.getName() }); - - /** - * Returns all the fe territorios where zonaId = ?. - * - * @param zonaId the zona ID - * @return the matching fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByZonaId(long zonaId) - throws SystemException { - return findByZonaId(zonaId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the fe territorios where zonaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param zonaId the zona ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByZonaId(long zonaId, int start, int end) - throws SystemException { - return findByZonaId(zonaId, start, end, null); - } - - /** - * Returns an ordered range of all the fe territorios where zonaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param zonaId the zona ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByZonaId(long zonaId, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ZONAID; - finderArgs = new Object[] { zonaId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_ZONAID; - finderArgs = new Object[] { zonaId, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (FeTerritorio feTerritorio : list) { - if ((zonaId != feTerritorio.getZonaId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_FETERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_ZONAID_ZONAID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(FeTerritorioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(zonaId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first fe territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio findByZonaId_First(long zonaId, - OrderByComparator orderByComparator) - throws NoSuchFeTerritorioException, SystemException { - FeTerritorio feTerritorio = fetchByZonaId_First(zonaId, - orderByComparator); - - if (feTerritorio != null) { - return feTerritorio; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("zonaId="); - msg.append(zonaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFeTerritorioException(msg.toString()); - } - - /** - * Returns the first fe territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio fetchByZonaId_First(long zonaId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByZonaId(zonaId, 0, 1, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last fe territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio findByZonaId_Last(long zonaId, - OrderByComparator orderByComparator) - throws NoSuchFeTerritorioException, SystemException { - FeTerritorio feTerritorio = fetchByZonaId_Last(zonaId, orderByComparator); - - if (feTerritorio != null) { - return feTerritorio; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("zonaId="); - msg.append(zonaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFeTerritorioException(msg.toString()); - } - - /** - * Returns the last fe territorio in the ordered set where zonaId = ?. - * - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio fetchByZonaId_Last(long zonaId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByZonaId(zonaId); - - if (count == 0) { - return null; - } - - List list = findByZonaId(zonaId, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the fe territorios before and after the current fe territorio in the ordered set where zonaId = ?. - * - * @param territorioId the primary key of the current fe territorio - * @param zonaId the zona ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio[] findByZonaId_PrevAndNext(long territorioId, - long zonaId, OrderByComparator orderByComparator) - throws NoSuchFeTerritorioException, SystemException { - FeTerritorio feTerritorio = findByPrimaryKey(territorioId); - - Session session = null; - - try { - session = openSession(); - - FeTerritorio[] array = new FeTerritorioImpl[3]; - - array[0] = getByZonaId_PrevAndNext(session, feTerritorio, zonaId, - orderByComparator, true); - - array[1] = feTerritorio; - - array[2] = getByZonaId_PrevAndNext(session, feTerritorio, zonaId, - orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected FeTerritorio getByZonaId_PrevAndNext(Session session, - FeTerritorio feTerritorio, long zonaId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_FETERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_ZONAID_ZONAID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(FeTerritorioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(zonaId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(feTerritorio); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the fe territorios where zonaId = ? from the database. - * - * @param zonaId the zona ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByZonaId(long zonaId) throws SystemException { - for (FeTerritorio feTerritorio : findByZonaId(zonaId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(feTerritorio); - } - } - - /** - * Returns the number of fe territorios where zonaId = ?. - * - * @param zonaId the zona ID - * @return the number of matching fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public int countByZonaId(long zonaId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_ZONAID; - - Object[] finderArgs = new Object[] { zonaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_FETERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_ZONAID_ZONAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(zonaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_ZONAID_ZONAID_2 = "feTerritorio.zonaId = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_FASCIAID = new FinderPath(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioModelImpl.FINDER_CACHE_ENABLED, FeTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByFasciaId", - new String[] { - Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FASCIAID = - new FinderPath(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioModelImpl.FINDER_CACHE_ENABLED, FeTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByFasciaId", - new String[] { Long.class.getName() }, - FeTerritorioModelImpl.FASCIAID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_FASCIAID = new FinderPath(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByFasciaId", - new String[] { Long.class.getName() }); - - /** - * Returns all the fe territorios where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @return the matching fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByFasciaId(long fasciaId) - throws SystemException { - return findByFasciaId(fasciaId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, - null); - } - - /** - * Returns a range of all the fe territorios where fasciaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param fasciaId the fascia ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByFasciaId(long fasciaId, int start, int end) - throws SystemException { - return findByFasciaId(fasciaId, start, end, null); - } - - /** - * Returns an ordered range of all the fe territorios where fasciaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param fasciaId the fascia ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByFasciaId(long fasciaId, int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FASCIAID; - finderArgs = new Object[] { fasciaId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_FASCIAID; - finderArgs = new Object[] { fasciaId, start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (FeTerritorio feTerritorio : list) { - if ((fasciaId != feTerritorio.getFasciaId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(3 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_FETERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_FASCIAID_FASCIAID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(FeTerritorioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(fasciaId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first fe territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio findByFasciaId_First(long fasciaId, - OrderByComparator orderByComparator) - throws NoSuchFeTerritorioException, SystemException { - FeTerritorio feTerritorio = fetchByFasciaId_First(fasciaId, - orderByComparator); - - if (feTerritorio != null) { - return feTerritorio; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("fasciaId="); - msg.append(fasciaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFeTerritorioException(msg.toString()); - } - - /** - * Returns the first fe territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio fetchByFasciaId_First(long fasciaId, - OrderByComparator orderByComparator) throws SystemException { - List list = findByFasciaId(fasciaId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last fe territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio findByFasciaId_Last(long fasciaId, - OrderByComparator orderByComparator) - throws NoSuchFeTerritorioException, SystemException { - FeTerritorio feTerritorio = fetchByFasciaId_Last(fasciaId, - orderByComparator); - - if (feTerritorio != null) { - return feTerritorio; - } - - StringBundler msg = new StringBundler(4); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("fasciaId="); - msg.append(fasciaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFeTerritorioException(msg.toString()); - } - - /** - * Returns the last fe territorio in the ordered set where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio fetchByFasciaId_Last(long fasciaId, - OrderByComparator orderByComparator) throws SystemException { - int count = countByFasciaId(fasciaId); - - if (count == 0) { - return null; - } - - List list = findByFasciaId(fasciaId, count - 1, count, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the fe territorios before and after the current fe territorio in the ordered set where fasciaId = ?. - * - * @param territorioId the primary key of the current fe territorio - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio[] findByFasciaId_PrevAndNext(long territorioId, - long fasciaId, OrderByComparator orderByComparator) - throws NoSuchFeTerritorioException, SystemException { - FeTerritorio feTerritorio = findByPrimaryKey(territorioId); - - Session session = null; - - try { - session = openSession(); - - FeTerritorio[] array = new FeTerritorioImpl[3]; - - array[0] = getByFasciaId_PrevAndNext(session, feTerritorio, - fasciaId, orderByComparator, true); - - array[1] = feTerritorio; - - array[2] = getByFasciaId_PrevAndNext(session, feTerritorio, - fasciaId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected FeTerritorio getByFasciaId_PrevAndNext(Session session, - FeTerritorio feTerritorio, long fasciaId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_FETERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_FASCIAID_FASCIAID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(FeTerritorioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(fasciaId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(feTerritorio); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the fe territorios where fasciaId = ? from the database. - * - * @param fasciaId the fascia ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByFasciaId(long fasciaId) throws SystemException { - for (FeTerritorio feTerritorio : findByFasciaId(fasciaId, - QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(feTerritorio); - } - } - - /** - * Returns the number of fe territorios where fasciaId = ?. - * - * @param fasciaId the fascia ID - * @return the number of matching fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public int countByFasciaId(long fasciaId) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_FASCIAID; - - Object[] finderArgs = new Object[] { fasciaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(2); - - query.append(_SQL_COUNT_FETERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_FASCIAID_FASCIAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(fasciaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_FASCIAID_FASCIAID_2 = "feTerritorio.fasciaId = ?"; - public static final FinderPath FINDER_PATH_FETCH_BY_C_Z_F_D = new FinderPath(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioModelImpl.FINDER_CACHE_ENABLED, FeTerritorioImpl.class, - FINDER_CLASS_NAME_ENTITY, "fetchByC_Z_F_D", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName(), - Date.class.getName() - }, - FeTerritorioModelImpl.COMUNEID_COLUMN_BITMASK | - FeTerritorioModelImpl.ZONAID_COLUMN_BITMASK | - FeTerritorioModelImpl.FASCIAID_COLUMN_BITMASK | - FeTerritorioModelImpl.DTINI_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_C_Z_F_D = new FinderPath(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByC_Z_F_D", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName(), - Date.class.getName() - }); - - /** - * Returns the fe territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? or throws a {@link it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException} if it could not be found. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the matching fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio findByC_Z_F_D(long comuneId, long zonaId, - long fasciaId, Date dtIni) - throws NoSuchFeTerritorioException, SystemException { - FeTerritorio feTerritorio = fetchByC_Z_F_D(comuneId, zonaId, fasciaId, - dtIni); - - if (feTerritorio == null) { - StringBundler msg = new StringBundler(10); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("comuneId="); - msg.append(comuneId); - - msg.append(", zonaId="); - msg.append(zonaId); - - msg.append(", fasciaId="); - msg.append(fasciaId); - - msg.append(", dtIni="); - msg.append(dtIni); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - if (_log.isWarnEnabled()) { - _log.warn(msg.toString()); - } - - throw new NoSuchFeTerritorioException(msg.toString()); - } - - return feTerritorio; - } - - /** - * Returns the fe territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? or returns null if it could not be found. Uses the finder cache. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio fetchByC_Z_F_D(long comuneId, long zonaId, - long fasciaId, Date dtIni) throws SystemException { - return fetchByC_Z_F_D(comuneId, zonaId, fasciaId, dtIni, true); - } - - /** - * Returns the fe territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? or returns null if it could not be found, optionally using the finder cache. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @param retrieveFromCache whether to use the finder cache - * @return the matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio fetchByC_Z_F_D(long comuneId, long zonaId, - long fasciaId, Date dtIni, boolean retrieveFromCache) - throws SystemException { - Object[] finderArgs = new Object[] { comuneId, zonaId, fasciaId, dtIni }; - - Object result = null; - - if (retrieveFromCache) { - result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_C_Z_F_D, - finderArgs, this); - } - - if (result instanceof FeTerritorio) { - FeTerritorio feTerritorio = (FeTerritorio)result; - - if ((comuneId != feTerritorio.getComuneId()) || - (zonaId != feTerritorio.getZonaId()) || - (fasciaId != feTerritorio.getFasciaId()) || - !Validator.equals(dtIni, feTerritorio.getDtIni())) { - result = null; - } - } - - if (result == null) { - StringBundler query = new StringBundler(6); - - query.append(_SQL_SELECT_FETERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_C_Z_F_D_COMUNEID_2); - - query.append(_FINDER_COLUMN_C_Z_F_D_ZONAID_2); - - query.append(_FINDER_COLUMN_C_Z_F_D_FASCIAID_2); - - boolean bindDtIni = false; - - if (dtIni == null) { - query.append(_FINDER_COLUMN_C_Z_F_D_DTINI_1); - } - else { - bindDtIni = true; - - query.append(_FINDER_COLUMN_C_Z_F_D_DTINI_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(comuneId); - - qPos.add(zonaId); - - qPos.add(fasciaId); - - if (bindDtIni) { - qPos.add(CalendarUtil.getTimestamp(dtIni)); - } - - List list = q.list(); - - if (list.isEmpty()) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_Z_F_D, - finderArgs, list); - } - else { - FeTerritorio feTerritorio = list.get(0); - - result = feTerritorio; - - cacheResult(feTerritorio); - - if ((feTerritorio.getComuneId() != comuneId) || - (feTerritorio.getZonaId() != zonaId) || - (feTerritorio.getFasciaId() != fasciaId) || - (feTerritorio.getDtIni() == null) || - !feTerritorio.getDtIni().equals(dtIni)) { - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_Z_F_D, - finderArgs, feTerritorio); - } - } - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_Z_F_D, - finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - if (result instanceof List) { - return null; - } - else { - return (FeTerritorio)result; - } - } - - /** - * Removes the fe territorio where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ? from the database. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the fe territorio that was removed - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio removeByC_Z_F_D(long comuneId, long zonaId, - long fasciaId, Date dtIni) - throws NoSuchFeTerritorioException, SystemException { - FeTerritorio feTerritorio = findByC_Z_F_D(comuneId, zonaId, fasciaId, - dtIni); - - return remove(feTerritorio); - } - - /** - * Returns the number of fe territorios where comuneId = ? and zonaId = ? and fasciaId = ? and dtIni = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param dtIni the dt ini - * @return the number of matching fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_Z_F_D(long comuneId, long zonaId, long fasciaId, - Date dtIni) throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_C_Z_F_D; - - Object[] finderArgs = new Object[] { comuneId, zonaId, fasciaId, dtIni }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(5); - - query.append(_SQL_COUNT_FETERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_C_Z_F_D_COMUNEID_2); - - query.append(_FINDER_COLUMN_C_Z_F_D_ZONAID_2); - - query.append(_FINDER_COLUMN_C_Z_F_D_FASCIAID_2); - - boolean bindDtIni = false; - - if (dtIni == null) { - query.append(_FINDER_COLUMN_C_Z_F_D_DTINI_1); - } - else { - bindDtIni = true; - - query.append(_FINDER_COLUMN_C_Z_F_D_DTINI_2); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(comuneId); - - qPos.add(zonaId); - - qPos.add(fasciaId); - - if (bindDtIni) { - qPos.add(CalendarUtil.getTimestamp(dtIni)); - } - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_C_Z_F_D_COMUNEID_2 = "feTerritorio.comuneId = ? AND "; - private static final String _FINDER_COLUMN_C_Z_F_D_ZONAID_2 = "feTerritorio.zonaId = ? AND "; - private static final String _FINDER_COLUMN_C_Z_F_D_FASCIAID_2 = "feTerritorio.fasciaId = ? AND "; - private static final String _FINDER_COLUMN_C_Z_F_D_DTINI_1 = "feTerritorio.dtIni IS NULL"; - private static final String _FINDER_COLUMN_C_Z_F_D_DTINI_2 = "feTerritorio.dtIni = ?"; - public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_Z_F = new FinderPath(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioModelImpl.FINDER_CACHE_ENABLED, FeTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findByC_Z_F", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName(), - - Integer.class.getName(), Integer.class.getName(), - OrderByComparator.class.getName() - }); - public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_Z_F = new FinderPath(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioModelImpl.FINDER_CACHE_ENABLED, FeTerritorioImpl.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findByC_Z_F", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName() - }, - FeTerritorioModelImpl.COMUNEID_COLUMN_BITMASK | - FeTerritorioModelImpl.ZONAID_COLUMN_BITMASK | - FeTerritorioModelImpl.FASCIAID_COLUMN_BITMASK); - public static final FinderPath FINDER_PATH_COUNT_BY_C_Z_F = new FinderPath(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioModelImpl.FINDER_CACHE_ENABLED, Long.class, - FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countByC_Z_F", - new String[] { - Long.class.getName(), Long.class.getName(), Long.class.getName() - }); - - /** - * Returns all the fe territorios where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @return the matching fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Z_F(long comuneId, long zonaId, - long fasciaId) throws SystemException { - return findByC_Z_F(comuneId, zonaId, fasciaId, QueryUtil.ALL_POS, - QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the fe territorios where comuneId = ? and zonaId = ? and fasciaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Z_F(long comuneId, long zonaId, - long fasciaId, int start, int end) throws SystemException { - return findByC_Z_F(comuneId, zonaId, fasciaId, start, end, null); - } - - /** - * Returns an ordered range of all the fe territorios where comuneId = ? and zonaId = ? and fasciaId = ?. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of matching fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findByC_Z_F(long comuneId, long zonaId, - long fasciaId, int start, int end, OrderByComparator orderByComparator) - throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_Z_F; - finderArgs = new Object[] { comuneId, zonaId, fasciaId }; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_C_Z_F; - finderArgs = new Object[] { - comuneId, zonaId, fasciaId, - - start, end, orderByComparator - }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if ((list != null) && !list.isEmpty()) { - for (FeTerritorio feTerritorio : list) { - if ((comuneId != feTerritorio.getComuneId()) || - (zonaId != feTerritorio.getZonaId()) || - (fasciaId != feTerritorio.getFasciaId())) { - list = null; - - break; - } - } - } - - if (list == null) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(5 + - (orderByComparator.getOrderByFields().length * 3)); - } - else { - query = new StringBundler(5); - } - - query.append(_SQL_SELECT_FETERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_C_Z_F_COMUNEID_2); - - query.append(_FINDER_COLUMN_C_Z_F_ZONAID_2); - - query.append(_FINDER_COLUMN_C_Z_F_FASCIAID_2); - - if (orderByComparator != null) { - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - } - else - if (pagination) { - query.append(FeTerritorioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(comuneId); - - qPos.add(zonaId); - - qPos.add(fasciaId); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Returns the first fe territorio in the ordered set where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio findByC_Z_F_First(long comuneId, long zonaId, - long fasciaId, OrderByComparator orderByComparator) - throws NoSuchFeTerritorioException, SystemException { - FeTerritorio feTerritorio = fetchByC_Z_F_First(comuneId, zonaId, - fasciaId, orderByComparator); - - if (feTerritorio != null) { - return feTerritorio; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("comuneId="); - msg.append(comuneId); - - msg.append(", zonaId="); - msg.append(zonaId); - - msg.append(", fasciaId="); - msg.append(fasciaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFeTerritorioException(msg.toString()); - } - - /** - * Returns the first fe territorio in the ordered set where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the first matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio fetchByC_Z_F_First(long comuneId, long zonaId, - long fasciaId, OrderByComparator orderByComparator) - throws SystemException { - List list = findByC_Z_F(comuneId, zonaId, fasciaId, 0, 1, - orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the last fe territorio in the ordered set where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio findByC_Z_F_Last(long comuneId, long zonaId, - long fasciaId, OrderByComparator orderByComparator) - throws NoSuchFeTerritorioException, SystemException { - FeTerritorio feTerritorio = fetchByC_Z_F_Last(comuneId, zonaId, - fasciaId, orderByComparator); - - if (feTerritorio != null) { - return feTerritorio; - } - - StringBundler msg = new StringBundler(8); - - msg.append(_NO_SUCH_ENTITY_WITH_KEY); - - msg.append("comuneId="); - msg.append(comuneId); - - msg.append(", zonaId="); - msg.append(zonaId); - - msg.append(", fasciaId="); - msg.append(fasciaId); - - msg.append(StringPool.CLOSE_CURLY_BRACE); - - throw new NoSuchFeTerritorioException(msg.toString()); - } - - /** - * Returns the last fe territorio in the ordered set where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the last matching fe territorio, or null if a matching fe territorio could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio fetchByC_Z_F_Last(long comuneId, long zonaId, - long fasciaId, OrderByComparator orderByComparator) - throws SystemException { - int count = countByC_Z_F(comuneId, zonaId, fasciaId); - - if (count == 0) { - return null; - } - - List list = findByC_Z_F(comuneId, zonaId, fasciaId, - count - 1, count, orderByComparator); - - if (!list.isEmpty()) { - return list.get(0); - } - - return null; - } - - /** - * Returns the fe territorios before and after the current fe territorio in the ordered set where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param territorioId the primary key of the current fe territorio - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @param orderByComparator the comparator to order the set by (optionally null) - * @return the previous, current, and next fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio[] findByC_Z_F_PrevAndNext(long territorioId, - long comuneId, long zonaId, long fasciaId, - OrderByComparator orderByComparator) - throws NoSuchFeTerritorioException, SystemException { - FeTerritorio feTerritorio = findByPrimaryKey(territorioId); - - Session session = null; - - try { - session = openSession(); - - FeTerritorio[] array = new FeTerritorioImpl[3]; - - array[0] = getByC_Z_F_PrevAndNext(session, feTerritorio, comuneId, - zonaId, fasciaId, orderByComparator, true); - - array[1] = feTerritorio; - - array[2] = getByC_Z_F_PrevAndNext(session, feTerritorio, comuneId, - zonaId, fasciaId, orderByComparator, false); - - return array; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - protected FeTerritorio getByC_Z_F_PrevAndNext(Session session, - FeTerritorio feTerritorio, long comuneId, long zonaId, long fasciaId, - OrderByComparator orderByComparator, boolean previous) { - StringBundler query = null; - - if (orderByComparator != null) { - query = new StringBundler(6 + - (orderByComparator.getOrderByFields().length * 6)); - } - else { - query = new StringBundler(3); - } - - query.append(_SQL_SELECT_FETERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_C_Z_F_COMUNEID_2); - - query.append(_FINDER_COLUMN_C_Z_F_ZONAID_2); - - query.append(_FINDER_COLUMN_C_Z_F_FASCIAID_2); - - if (orderByComparator != null) { - String[] orderByConditionFields = orderByComparator.getOrderByConditionFields(); - - if (orderByConditionFields.length > 0) { - query.append(WHERE_AND); - } - - for (int i = 0; i < orderByConditionFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByConditionFields[i]); - - if ((i + 1) < orderByConditionFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN_HAS_NEXT); - } - else { - query.append(WHERE_LESSER_THAN_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(WHERE_GREATER_THAN); - } - else { - query.append(WHERE_LESSER_THAN); - } - } - } - - query.append(ORDER_BY_CLAUSE); - - String[] orderByFields = orderByComparator.getOrderByFields(); - - for (int i = 0; i < orderByFields.length; i++) { - query.append(_ORDER_BY_ENTITY_ALIAS); - query.append(orderByFields[i]); - - if ((i + 1) < orderByFields.length) { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC_HAS_NEXT); - } - else { - query.append(ORDER_BY_DESC_HAS_NEXT); - } - } - else { - if (orderByComparator.isAscending() ^ previous) { - query.append(ORDER_BY_ASC); - } - else { - query.append(ORDER_BY_DESC); - } - } - } - } - else { - query.append(FeTerritorioModelImpl.ORDER_BY_JPQL); - } - - String sql = query.toString(); - - Query q = session.createQuery(sql); - - q.setFirstResult(0); - q.setMaxResults(2); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(comuneId); - - qPos.add(zonaId); - - qPos.add(fasciaId); - - if (orderByComparator != null) { - Object[] values = orderByComparator.getOrderByConditionValues(feTerritorio); - - for (Object value : values) { - qPos.add(value); - } - } - - List list = q.list(); - - if (list.size() == 2) { - return list.get(1); - } - else { - return null; - } - } - - /** - * Removes all the fe territorios where comuneId = ? and zonaId = ? and fasciaId = ? from the database. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @throws SystemException if a system exception occurred - */ - @Override - public void removeByC_Z_F(long comuneId, long zonaId, long fasciaId) - throws SystemException { - for (FeTerritorio feTerritorio : findByC_Z_F(comuneId, zonaId, - fasciaId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { - remove(feTerritorio); - } - } - - /** - * Returns the number of fe territorios where comuneId = ? and zonaId = ? and fasciaId = ?. - * - * @param comuneId the comune ID - * @param zonaId the zona ID - * @param fasciaId the fascia ID - * @return the number of matching fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public int countByC_Z_F(long comuneId, long zonaId, long fasciaId) - throws SystemException { - FinderPath finderPath = FINDER_PATH_COUNT_BY_C_Z_F; - - Object[] finderArgs = new Object[] { comuneId, zonaId, fasciaId }; - - Long count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs, - this); - - if (count == null) { - StringBundler query = new StringBundler(4); - - query.append(_SQL_COUNT_FETERRITORIO_WHERE); - - query.append(_FINDER_COLUMN_C_Z_F_COMUNEID_2); - - query.append(_FINDER_COLUMN_C_Z_F_ZONAID_2); - - query.append(_FINDER_COLUMN_C_Z_F_FASCIAID_2); - - String sql = query.toString(); - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - QueryPos qPos = QueryPos.getInstance(q); - - qPos.add(comuneId); - - qPos.add(zonaId); - - qPos.add(fasciaId); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(finderPath, finderArgs, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - private static final String _FINDER_COLUMN_C_Z_F_COMUNEID_2 = "feTerritorio.comuneId = ? AND "; - private static final String _FINDER_COLUMN_C_Z_F_ZONAID_2 = "feTerritorio.zonaId = ? AND "; - private static final String _FINDER_COLUMN_C_Z_F_FASCIAID_2 = "feTerritorio.fasciaId = ?"; - - public FeTerritorioPersistenceImpl() { - setModelClass(FeTerritorio.class); - } - - /** - * Caches the fe territorio in the entity cache if it is enabled. - * - * @param feTerritorio the fe territorio - */ - @Override - public void cacheResult(FeTerritorio feTerritorio) { - EntityCacheUtil.putResult(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioImpl.class, feTerritorio.getPrimaryKey(), feTerritorio); - - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_Z_F_D, - new Object[] { - feTerritorio.getComuneId(), feTerritorio.getZonaId(), - feTerritorio.getFasciaId(), feTerritorio.getDtIni() - }, feTerritorio); - - feTerritorio.resetOriginalValues(); - } - - /** - * Caches the fe territorios in the entity cache if it is enabled. - * - * @param feTerritorios the fe territorios - */ - @Override - public void cacheResult(List feTerritorios) { - for (FeTerritorio feTerritorio : feTerritorios) { - if (EntityCacheUtil.getResult( - FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioImpl.class, feTerritorio.getPrimaryKey()) == null) { - cacheResult(feTerritorio); - } - else { - feTerritorio.resetOriginalValues(); - } - } - } - - /** - * Clears the cache for all fe territorios. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache() { - if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) { - CacheRegistryUtil.clear(FeTerritorioImpl.class.getName()); - } - - EntityCacheUtil.clearCache(FeTerritorioImpl.class.getName()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - /** - * Clears the cache for the fe territorio. - * - *

- * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method. - *

- */ - @Override - public void clearCache(FeTerritorio feTerritorio) { - EntityCacheUtil.removeResult(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioImpl.class, feTerritorio.getPrimaryKey()); - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - clearUniqueFindersCache(feTerritorio); - } - - @Override - public void clearCache(List feTerritorios) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - - for (FeTerritorio feTerritorio : feTerritorios) { - EntityCacheUtil.removeResult(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioImpl.class, feTerritorio.getPrimaryKey()); - - clearUniqueFindersCache(feTerritorio); - } - } - - protected void cacheUniqueFindersCache(FeTerritorio feTerritorio) { - if (feTerritorio.isNew()) { - Object[] args = new Object[] { - feTerritorio.getComuneId(), feTerritorio.getZonaId(), - feTerritorio.getFasciaId(), feTerritorio.getDtIni() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_C_Z_F_D, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_Z_F_D, args, - feTerritorio); - } - else { - FeTerritorioModelImpl feTerritorioModelImpl = (FeTerritorioModelImpl)feTerritorio; - - if ((feTerritorioModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_C_Z_F_D.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - feTerritorio.getComuneId(), feTerritorio.getZonaId(), - feTerritorio.getFasciaId(), feTerritorio.getDtIni() - }; - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_C_Z_F_D, args, - Long.valueOf(1)); - FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_C_Z_F_D, args, - feTerritorio); - } - } - } - - protected void clearUniqueFindersCache(FeTerritorio feTerritorio) { - FeTerritorioModelImpl feTerritorioModelImpl = (FeTerritorioModelImpl)feTerritorio; - - Object[] args = new Object[] { - feTerritorio.getComuneId(), feTerritorio.getZonaId(), - feTerritorio.getFasciaId(), feTerritorio.getDtIni() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_Z_F_D, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_Z_F_D, args); - - if ((feTerritorioModelImpl.getColumnBitmask() & - FINDER_PATH_FETCH_BY_C_Z_F_D.getColumnBitmask()) != 0) { - args = new Object[] { - feTerritorioModelImpl.getOriginalComuneId(), - feTerritorioModelImpl.getOriginalZonaId(), - feTerritorioModelImpl.getOriginalFasciaId(), - feTerritorioModelImpl.getOriginalDtIni() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_Z_F_D, args); - FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_C_Z_F_D, args); - } - } - - /** - * Creates a new fe territorio with the primary key. Does not add the fe territorio to the database. - * - * @param territorioId the primary key for the new fe territorio - * @return the new fe territorio - */ - @Override - public FeTerritorio create(long territorioId) { - FeTerritorio feTerritorio = new FeTerritorioImpl(); - - feTerritorio.setNew(true); - feTerritorio.setPrimaryKey(territorioId); - - return feTerritorio; - } - - /** - * Removes the fe territorio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param territorioId the primary key of the fe territorio - * @return the fe territorio that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio remove(long territorioId) - throws NoSuchFeTerritorioException, SystemException { - return remove((Serializable)territorioId); - } - - /** - * Removes the fe territorio with the primary key from the database. Also notifies the appropriate model listeners. - * - * @param primaryKey the primary key of the fe territorio - * @return the fe territorio that was removed - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio remove(Serializable primaryKey) - throws NoSuchFeTerritorioException, SystemException { - Session session = null; - - try { - session = openSession(); - - FeTerritorio feTerritorio = (FeTerritorio)session.get(FeTerritorioImpl.class, - primaryKey); - - if (feTerritorio == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchFeTerritorioException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return remove(feTerritorio); - } - catch (NoSuchFeTerritorioException nsee) { - throw nsee; - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - } - - @Override - protected FeTerritorio removeImpl(FeTerritorio feTerritorio) - throws SystemException { - feTerritorio = toUnwrappedModel(feTerritorio); - - Session session = null; - - try { - session = openSession(); - - if (!session.contains(feTerritorio)) { - feTerritorio = (FeTerritorio)session.get(FeTerritorioImpl.class, - feTerritorio.getPrimaryKeyObj()); - } - - if (feTerritorio != null) { - session.delete(feTerritorio); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - if (feTerritorio != null) { - clearCache(feTerritorio); - } - - return feTerritorio; - } - - @Override - public FeTerritorio updateImpl( - it.tref.liferay.portos.portosimport.model.FeTerritorio feTerritorio) - throws SystemException { - feTerritorio = toUnwrappedModel(feTerritorio); - - boolean isNew = feTerritorio.isNew(); - - FeTerritorioModelImpl feTerritorioModelImpl = (FeTerritorioModelImpl)feTerritorio; - - Session session = null; - - try { - session = openSession(); - - if (feTerritorio.isNew()) { - session.save(feTerritorio); - - feTerritorio.setNew(false); - } - else { - session.merge(feTerritorio); - } - } - catch (Exception e) { - throw processException(e); - } - finally { - closeSession(session); - } - - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - - if (isNew || !FeTerritorioModelImpl.COLUMN_BITMASK_ENABLED) { - FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - else { - if ((feTerritorioModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMUNEID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - feTerritorioModelImpl.getOriginalComuneId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_COMUNEID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMUNEID, - args); - - args = new Object[] { feTerritorioModelImpl.getComuneId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_COMUNEID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMUNEID, - args); - } - - if ((feTerritorioModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ZONAID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - feTerritorioModelImpl.getOriginalZonaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_ZONAID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ZONAID, - args); - - args = new Object[] { feTerritorioModelImpl.getZonaId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_ZONAID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ZONAID, - args); - } - - if ((feTerritorioModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FASCIAID.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - feTerritorioModelImpl.getOriginalFasciaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_FASCIAID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FASCIAID, - args); - - args = new Object[] { feTerritorioModelImpl.getFasciaId() }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_FASCIAID, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FASCIAID, - args); - } - - if ((feTerritorioModelImpl.getColumnBitmask() & - FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_Z_F.getColumnBitmask()) != 0) { - Object[] args = new Object[] { - feTerritorioModelImpl.getOriginalComuneId(), - feTerritorioModelImpl.getOriginalZonaId(), - feTerritorioModelImpl.getOriginalFasciaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_Z_F, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_Z_F, - args); - - args = new Object[] { - feTerritorioModelImpl.getComuneId(), - feTerritorioModelImpl.getZonaId(), - feTerritorioModelImpl.getFasciaId() - }; - - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_C_Z_F, args); - FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_Z_F, - args); - } - } - - EntityCacheUtil.putResult(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioImpl.class, feTerritorio.getPrimaryKey(), feTerritorio); - - clearUniqueFindersCache(feTerritorio); - cacheUniqueFindersCache(feTerritorio); - - return feTerritorio; - } - - protected FeTerritorio toUnwrappedModel(FeTerritorio feTerritorio) { - if (feTerritorio instanceof FeTerritorioImpl) { - return feTerritorio; - } - - FeTerritorioImpl feTerritorioImpl = new FeTerritorioImpl(); - - feTerritorioImpl.setNew(feTerritorio.isNew()); - feTerritorioImpl.setPrimaryKey(feTerritorio.getPrimaryKey()); - - feTerritorioImpl.setTerritorioId(feTerritorio.getTerritorioId()); - feTerritorioImpl.setGroupId(feTerritorio.getGroupId()); - feTerritorioImpl.setZonaId(feTerritorio.getZonaId()); - feTerritorioImpl.setFasciaId(feTerritorio.getFasciaId()); - feTerritorioImpl.setComuneId(feTerritorio.getComuneId()); - feTerritorioImpl.setDtIni(feTerritorio.getDtIni()); - feTerritorioImpl.setDtFin(feTerritorio.getDtFin()); - feTerritorioImpl.setAgMin(feTerritorio.getAgMin()); - feTerritorioImpl.setAgMax(feTerritorio.getAgMax()); - - return feTerritorioImpl; - } - - /** - * Returns the fe territorio with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found. - * - * @param primaryKey the primary key of the fe territorio - * @return the fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio findByPrimaryKey(Serializable primaryKey) - throws NoSuchFeTerritorioException, SystemException { - FeTerritorio feTerritorio = fetchByPrimaryKey(primaryKey); - - if (feTerritorio == null) { - if (_log.isWarnEnabled()) { - _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); - } - - throw new NoSuchFeTerritorioException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + - primaryKey); - } - - return feTerritorio; - } - - /** - * Returns the fe territorio with the primary key or throws a {@link it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException} if it could not be found. - * - * @param territorioId the primary key of the fe territorio - * @return the fe territorio - * @throws it.tref.liferay.portos.portosimport.NoSuchFeTerritorioException if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio findByPrimaryKey(long territorioId) - throws NoSuchFeTerritorioException, SystemException { - return findByPrimaryKey((Serializable)territorioId); - } - - /** - * Returns the fe territorio with the primary key or returns null if it could not be found. - * - * @param primaryKey the primary key of the fe territorio - * @return the fe territorio, or null if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio fetchByPrimaryKey(Serializable primaryKey) - throws SystemException { - FeTerritorio feTerritorio = (FeTerritorio)EntityCacheUtil.getResult(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioImpl.class, primaryKey); - - if (feTerritorio == _nullFeTerritorio) { - return null; - } - - if (feTerritorio == null) { - Session session = null; - - try { - session = openSession(); - - feTerritorio = (FeTerritorio)session.get(FeTerritorioImpl.class, - primaryKey); - - if (feTerritorio != null) { - cacheResult(feTerritorio); - } - else { - EntityCacheUtil.putResult(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioImpl.class, primaryKey, _nullFeTerritorio); - } - } - catch (Exception e) { - EntityCacheUtil.removeResult(FeTerritorioModelImpl.ENTITY_CACHE_ENABLED, - FeTerritorioImpl.class, primaryKey); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return feTerritorio; - } - - /** - * Returns the fe territorio with the primary key or returns null if it could not be found. - * - * @param territorioId the primary key of the fe territorio - * @return the fe territorio, or null if a fe territorio with the primary key could not be found - * @throws SystemException if a system exception occurred - */ - @Override - public FeTerritorio fetchByPrimaryKey(long territorioId) - throws SystemException { - return fetchByPrimaryKey((Serializable)territorioId); - } - - /** - * Returns all the fe territorios. - * - * @return the fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll() throws SystemException { - return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); - } - - /** - * Returns a range of all the fe territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @return the range of fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end) - throws SystemException { - return findAll(start, end, null); - } - - /** - * Returns an ordered range of all the fe territorios. - * - *

- * 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 {@link 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 and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.portosimport.model.impl.FeTerritorioModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. - *

- * - * @param start the lower bound of the range of fe territorios - * @param end the upper bound of the range of fe territorios (not inclusive) - * @param orderByComparator the comparator to order the results by (optionally null) - * @return the ordered range of fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public List findAll(int start, int end, - OrderByComparator orderByComparator) throws SystemException { - boolean pagination = true; - FinderPath finderPath = null; - Object[] finderArgs = null; - - if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) && - (orderByComparator == null)) { - pagination = false; - finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL; - finderArgs = FINDER_ARGS_EMPTY; - } - else { - finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL; - finderArgs = new Object[] { start, end, orderByComparator }; - } - - List list = (List)FinderCacheUtil.getResult(finderPath, - finderArgs, this); - - if (list == null) { - StringBundler query = null; - String sql = null; - - if (orderByComparator != null) { - query = new StringBundler(2 + - (orderByComparator.getOrderByFields().length * 3)); - - query.append(_SQL_SELECT_FETERRITORIO); - - appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS, - orderByComparator); - - sql = query.toString(); - } - else { - sql = _SQL_SELECT_FETERRITORIO; - - if (pagination) { - sql = sql.concat(FeTerritorioModelImpl.ORDER_BY_JPQL); - } - } - - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(sql); - - if (!pagination) { - list = (List)QueryUtil.list(q, getDialect(), - start, end, false); - - Collections.sort(list); - - list = new UnmodifiableList(list); - } - else { - list = (List)QueryUtil.list(q, getDialect(), - start, end); - } - - cacheResult(list); - - FinderCacheUtil.putResult(finderPath, finderArgs, list); - } - catch (Exception e) { - FinderCacheUtil.removeResult(finderPath, finderArgs); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return list; - } - - /** - * Removes all the fe territorios from the database. - * - * @throws SystemException if a system exception occurred - */ - @Override - public void removeAll() throws SystemException { - for (FeTerritorio feTerritorio : findAll()) { - remove(feTerritorio); - } - } - - /** - * Returns the number of fe territorios. - * - * @return the number of fe territorios - * @throws SystemException if a system exception occurred - */ - @Override - public int countAll() throws SystemException { - Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, this); - - if (count == null) { - Session session = null; - - try { - session = openSession(); - - Query q = session.createQuery(_SQL_COUNT_FETERRITORIO); - - count = (Long)q.uniqueResult(); - - FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY, count); - } - catch (Exception e) { - FinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL, - FINDER_ARGS_EMPTY); - - throw processException(e); - } - finally { - closeSession(session); - } - } - - return count.intValue(); - } - - /** - * Initializes the fe territorio persistence. - */ - public void afterPropertiesSet() { - String[] listenerClassNames = StringUtil.split(GetterUtil.getString( - com.liferay.util.service.ServiceProps.get( - "value.object.listener.it.tref.liferay.portos.portosimport.model.FeTerritorio"))); - - if (listenerClassNames.length > 0) { - try { - List> listenersList = new ArrayList>(); - - for (String listenerClassName : listenerClassNames) { - listenersList.add((ModelListener)InstanceFactory.newInstance( - getClassLoader(), listenerClassName)); - } - - listeners = listenersList.toArray(new ModelListener[listenersList.size()]); - } - catch (Exception e) { - _log.error(e); - } - } - } - - public void destroy() { - EntityCacheUtil.removeCache(FeTerritorioImpl.class.getName()); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); - FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); - } - - private static final String _SQL_SELECT_FETERRITORIO = "SELECT feTerritorio FROM FeTerritorio feTerritorio"; - private static final String _SQL_SELECT_FETERRITORIO_WHERE = "SELECT feTerritorio FROM FeTerritorio feTerritorio WHERE "; - private static final String _SQL_COUNT_FETERRITORIO = "SELECT COUNT(feTerritorio) FROM FeTerritorio feTerritorio"; - private static final String _SQL_COUNT_FETERRITORIO_WHERE = "SELECT COUNT(feTerritorio) FROM FeTerritorio feTerritorio WHERE "; - private static final String _ORDER_BY_ENTITY_ALIAS = "feTerritorio."; - private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No FeTerritorio exists with the primary key "; - private static final String _NO_SUCH_ENTITY_WITH_KEY = "No FeTerritorio exists with the key {"; - private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get( - PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE)); - private static Log _log = LogFactoryUtil.getLog(FeTerritorioPersistenceImpl.class); - private static FeTerritorio _nullFeTerritorio = new FeTerritorioImpl() { - @Override - public Object clone() { - return this; - } - - @Override - public CacheModel toCacheModel() { - return _nullFeTerritorioCacheModel; - } - }; - - private static CacheModel _nullFeTerritorioCacheModel = new CacheModel() { - @Override - public FeTerritorio toEntityModel() { - return _nullFeTerritorio; - } - }; -} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/utils/Converter.java b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/utils/Converter.java deleted file mode 100644 index a51ebcde..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/portosimport/utils/Converter.java +++ /dev/null @@ -1,131 +0,0 @@ -package it.tref.liferay.portos.portosimport.utils; - -import com.liferay.portal.kernel.exception.SystemException; -import com.liferay.portal.kernel.util.Validator; - -import it.tref.liferay.portos.bo.service.ComuneLocalServiceUtil; -import it.tref.liferay.portos.bo.shared.util.Constants; -import it.tref.liferay.portos.portosimport.NoSuchFeComuneException; -import it.tref.liferay.portos.portosimport.model.BoComune; -import it.tref.liferay.portos.portosimport.model.BoDettPratica; -import it.tref.liferay.portos.portosimport.model.BoIntPratica; -import it.tref.liferay.portos.portosimport.model.FeComune; -import it.tref.liferay.portos.portosimport.service.BoComuneLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.BoIntPraticaLocalServiceUtil; -import it.tref.liferay.portos.portosimport.service.FeComuneLocalServiceUtil; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.Comparator; -import java.util.List; - - -public class Converter { - - public static long convertComuneBoToComune(long boComuneId, long companyId) throws SystemException { - - BoComune boComune = BoComuneLocalServiceUtil.fetchBoComune(boComuneId); - - if (Validator.isNotNull(boComune)) { - return ComuneLocalServiceUtil.fetchByC_CI(companyId, boComune.getCodIstat()).getComuneId(); - } - - return 0; - } - - public static long convertComuneBoToComuneFe(long boComuneId, long companyId) throws SystemException, - NoSuchFeComuneException { - - BoComune boComune = BoComuneLocalServiceUtil.fetchBoComune(boComuneId); - long ret_val = -1; - - if (Validator.isNotNull(boComune)) { - FeComune feComune = FeComuneLocalServiceUtil.fetchBycodIstat(boComune.getCodIstat()); - if (Validator.isNotNull(feComune)) { - ret_val = feComune.getComuneId(); - } - } - return ret_val; - } - - - static public String convertFascia(long fasciaId) { - - String ret_val = null; - switch ((int) fasciaId) { - case 1: - ret_val = Constants.FASCIA_A; - break; - case 2: - ret_val = Constants.FASCIA_B; - break; - case 3: - ret_val = Constants.FASCIA_C; - break; - - default: - break; - } - - return ret_val; - - } - - static public String convertZona(long zonaId) { - - String ret_val = null; - switch ((int) zonaId) { - case 1: - ret_val = "2"; - break; - case 2: - ret_val = Constants.ZONA_3; - break; - case 3: - ret_val = Constants.ZONA_4; - break; - default: - ret_val = "0"; - break; - } - - return ret_val; - - } - - public static BoIntPratica getLastVariazione(BoIntPratica boIntPratica) throws SystemException { - - BoIntPratica boVarianteIntPratica = boIntPratica; - - if (boVarianteIntPratica.getVariataDa() > 0) { - boVarianteIntPratica = BoIntPraticaLocalServiceUtil.fetchBoIntPratica(boIntPratica.getVariataDa()); - if (Validator.isNotNull(boVarianteIntPratica)) { - return getLastVariazione(boVarianteIntPratica); - } - } - return boVarianteIntPratica; - - } - - public static BoDettPratica getLastIntegrazione(BoDettPratica boDettPratica) throws SystemException { - - List listDettPraticas = - new ArrayList(BoDettPraticaLocalServiceUtil.findByIntPraticaId(boDettPratica.getIntPraticaId())); - - Collections.sort(listDettPraticas, new Comparator() { - @Override - public int compare(BoDettPratica o1, BoDettPratica o2) { - - return o1.getDettPraticaId() > o2.getDettPraticaId() ? 1 : o1.getDettPraticaId() == o2.getDettPraticaId() ? 0 - : -1; - } - }); - - return listDettPraticas.get(listDettPraticas.size() - 1); - - - } - - -} diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/portlet.properties b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/portlet.properties deleted file mode 100644 index e62bc7bf..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/portlet.properties +++ /dev/null @@ -1,7 +0,0 @@ -zona.2 = 2 -zona.3 = 3 -zona.4 = 4 - -fascia.a = "A" -fascia.b = "B" -fascia.c = "C" diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/service.properties b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/service.properties deleted file mode 100644 index fe0a3470..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/src/service.properties +++ /dev/null @@ -1,41 +0,0 @@ -## -## Properties Override -## - - # - # Specify where to get the overridden properties. Updates should not be made - # on this file but on the overridden version of this file. - # - include-and-override=${base.path}/service-ext.properties - -## -## Build -## - - build.namespace=IMP - build.number=54 - build.date=1508771015124 - build.auto.upgrade=true - -## -## Spring -## - - # - # Input a list of comma delimited Spring configurations. These will be - # loaded after the bean definitions specified in the - # portalContextConfigLocation parameter in web.xml. - # - spring.configs=\ - WEB-INF/classes/META-INF/base-spring.xml,\ - \ - WEB-INF/classes/META-INF/hibernate-spring.xml,\ - WEB-INF/classes/META-INF/infrastructure-spring.xml,\ - \ - WEB-INF/classes/META-INF/cluster-spring.xml,\ - \ - WEB-INF/classes/META-INF/portlet-spring.xml,\ - \ - WEB-INF/classes/META-INF/shard-data-source-spring.xml,\ - \ - WEB-INF/classes/META-INF/ext-spring.xml \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/tld/aui.tld b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/tld/aui.tld deleted file mode 100644 index 1eeac884..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/tld/aui.tld +++ /dev/null @@ -1,2568 +0,0 @@ - - - - aui:.]]> - 1.0 - aui - http://alloy.liferay.com/tld/aui - - - button-item - com.liferay.taglib.aui.ButtonItemTag - JSP - - ]]> - activeState - false - true - boolean - - - ]]> - boundingBox - false - true - java.lang.String - - - ]]> - classNames - false - true - java.lang.Object - - - ]]> - contentBox - false - true - java.lang.String - - - boundingBox.]]> - cssClass - false - true - java.lang.String - - - ]]> - defaultState - false - true - boolean - - - ]]> - depth - false - true - java.lang.Object - - - ]]> - destroyed - false - true - boolean - - - ]]> - disabled - false - true - boolean - - - ]]> - focused - false - true - boolean - - - {fn: // The function to execute - context: // The context to execute the function in - type: // The type of event to listen for (defaults to "click") - }]]> - handler - false - true - java.lang.Object - - - ]]> - height - false - true - java.lang.Object - - - boundingBox when - visible is set to - false.]]> - hideClass - false - true - java.lang.String - - - ]]> - hoverState - false - true - boolean - - - ]]> - icon - false - true - java.lang.String - - - aui-button-icon.]]> - iconNode - false - true - java.lang.String - - - ]]> - buttonitemId - false - true - java.lang.String - - - ]]> - index - false - true - java.lang.Object - - - ]]> - initialized - false - true - boolean - - - ]]> - label - false - true - java.lang.String - - - aui-button-label.]]> - labelNode - false - true - java.lang.String - - - ]]> - buttonitemParent - false - true - java.lang.Object - - - true the render phase will be autimatically invoked - preventing the .render() manual call.]]> - render - false - true - java.lang.Object - - - ]]> - rendered - false - true - boolean - - - ]]> - root - false - true - java.lang.Object - - - -
0
(Default) Not selected
-
1
Fully selected
-
2
Partially selected
- ]]>
- selected - false - true - java.lang.Object -
- - ]]> - srcNode - false - true - java.lang.String - - - ]]> - strings - false - true - java.lang.Object - - - ]]> - tabIndex - false - true - java.lang.Object - - - ]]> - title - false - true - java.lang.String - - - ]]> - type - false - true - java.lang.String - - - ]]> - useARIA - false - true - boolean - - - ]]> - visible - false - true - boolean - - - ]]> - width - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterActiveStateChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterBoundingBoxChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterClassNamesChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterContentBoxChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterCssClassChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterDefaultStateChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterDepthChange - false - true - java.lang.Object - - - - Lifecycle event for the destroy phase, - fired prior to destruction. Invoking the preventDefault - method on the event object provided to subscribers will - prevent destruction from proceeding. -

-

- Subscribers to the "after" moment of this event, will be notified - after destruction is complete (and as a result cannot prevent - destruction). -

]]>
- afterDestroy - false - true - java.lang.Object -
- - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterDestroyedChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterDisabledChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterFocusedChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterHandlerChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterHeightChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterHideClassChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterHoverStateChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterIconChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterIconNodeChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterIdChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterIndexChange - false - true - java.lang.Object - - - - Lifecycle event for the init phase, fired prior to initialization. - Invoking the preventDefault() method on the event object provided - to subscribers will prevent initialization from occuring. -

-

- Subscribers to the "after" momemt of this event, will be notified - after initialization of the object is complete (and therefore - cannot prevent initialization). -

]]>
- afterInit - false - true - java.lang.Object -
- - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterInitializedChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterLabelChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterLabelNodeChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterParentChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterRenderChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterRenderedChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterRootChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterSelectedChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterSrcNodeChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterStringsChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterTabIndexChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterTitleChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterTypeChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterUseARIAChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterVisibleChange - false - true - java.lang.Object - - - ]]> - afterContentUpdate - false - true - java.lang.Object - - - - Subscribers to the "on" moment of this event, will be notified - before the widget is rendered. -

-

- Subscribers to the "after" moment of this event, will be notified - after rendering is complete. -

]]>
- afterRender - false - true - java.lang.Object -
- - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - afterWidthChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onActiveStateChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onBoundingBoxChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onClassNamesChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onContentBoxChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onCssClassChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onDefaultStateChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onDepthChange - false - true - java.lang.Object - - - - Lifecycle event for the destroy phase, - fired prior to destruction. Invoking the preventDefault - method on the event object provided to subscribers will - prevent destruction from proceeding. -

-

- Subscribers to the "after" moment of this event, will be notified - after destruction is complete (and as a result cannot prevent - destruction). -

]]>
- onDestroy - false - true - java.lang.Object -
- - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onDestroyedChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onDisabledChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onFocusedChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onHandlerChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onHeightChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onHideClassChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onHoverStateChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onIconChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onIconNodeChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onIdChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onIndexChange - false - true - java.lang.Object - - - - Lifecycle event for the init phase, fired prior to initialization. - Invoking the preventDefault() method on the event object provided - to subscribers will prevent initialization from occuring. -

-

- Subscribers to the "after" momemt of this event, will be notified - after initialization of the object is complete (and therefore - cannot prevent initialization). -

]]>
- onInit - false - true - java.lang.Object -
- - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onInitializedChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onLabelChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onLabelNodeChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onParentChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onRenderChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onRenderedChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onRootChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onSelectedChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onSrcNodeChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onStringsChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onTabIndexChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onTitleChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onTypeChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onUseARIAChange - false - true - java.lang.Object - - - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onVisibleChange - false - true - java.lang.Object - - - ]]> - onContentUpdate - false - true - java.lang.Object - - - - Subscribers to the "on" moment of this event, will be notified - before the widget is rendered. -

-

- Subscribers to the "after" moment of this event, will be notified - after rendering is complete. -

]]>
- onRender - false - true - java.lang.Object -
- - on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> - onWidthChange - false - true - java.lang.Object - - true -
- - - a - com.liferay.taglib.aui.ATag - JSP - - <p> tag could be used for something other than a paragraph.]]> - ariaRole - false - true - java.lang.String - - - - cssClass - false - true - java.lang.String - - - HashMap<"class-name", foo> would render as the attribute data-class-name = foo;.]]> - data - false - true - java.util.Map - - - - href - true - true - java.lang.String - - - - id - false - true - java.lang.String - - - - label - false - true - java.lang.String - - - - lang - false - true - java.lang.String - - - - onClick - false - true - java.lang.String - - - self. Possible values are blank, self, parent, top, and a unique frame's name.]]> - target - false - true - java.lang.String - - - - title - false - true - java.lang.String - - true - - - button - com.liferay.taglib.aui.ButtonTag - JSP - - primary attribute.]]> - cssClass - false - true - java.lang.String - - - HashMap<"class-name", foo> would render as the attribute data-class-name = foo;.]]> - data - false - true - java.lang.Object - - - false.]]> - disabled - false - true - boolean - - - - href - false - true - java.lang.String - - - here.]]> - icon - false - true - java.lang.String - - - left.]]> - iconAlign - false - true - java.lang.String - - - - name - false - true - java.lang.String - - - - onClick - false - true - java.lang.String - - - type attribute is set to submit, this value is set to true. For all other types, the value is set to false by default.]]> - primary - false - true - java.lang.Object - - - button, submit, cancel and reset. The default value is button.]]> - type - false - true - java.lang.String - - - href location when a user clicks the button. The default value is false.]]> - useDialog - false - true - boolean - - - value - false - true - java.lang.String - - true - - - <div> tag to wrap <aui:button> components and offer additional styling.]]> - button-row - com.liferay.taglib.aui.ButtonRowTag - JSP - - - cssClass - false - true - java.lang.String - - - - id - false - true - java.lang.String - - true - - - <aui:row> component.]]> - col - com.liferay.taglib.aui.ColTag - JSP - - - cssClass - false - true - java.lang.String - - - - id - false - true - java.lang.String - - - offset - false - true - int - - - offsetWidth - false - true - int - - - 12. For example, a span of 4 would result in a column width 4/12 (or 1/3) of the total width of the containing row.]]> - span - false - true - int - - - span attribute. The width is then converted to a span expressed as ((width/100) x 12), rounded to the nearest whole number. For example, a width of 33 would be converted to 3.96, which would be rounded up to a span value of 4.]]> - width - false - true - int - - true - - - aui:col.]]> - column - com.liferay.taglib.aui.ColumnTag - JSP - - 20 would be 20%. The default value is 0.]]> - columnWidth - false - true - int - - - - cssClass - false - true - java.lang.String - - - false.]]> - first - false - true - boolean - - - - id - false - true - java.lang.String - - - false.]]> - last - false - true - boolean - - true - - - component - com.liferay.taglib.aui.ComponentTag - JSP - - defineVar - false - true - boolean - - - excludeAttributes - false - true - java.lang.String - - - javaScriptAttributes - false - true - java.lang.String - - - module - false - true - java.lang.String - - - name - false - true - java.lang.String - - - options - false - true - java.util.Map - - - scriptPosition - false - true - java.lang.String - - - tagPageContext - true - true - javax.servlet.jsp.JspContext - - - useJavaScript - false - true - java.io.Serializable - - - var - false - true - java.lang.String - - true - - - <div> tag to wrap <aui:row> components and offer additional styling.]]> - container - com.liferay.taglib.aui.ContainerTag - JSP - - - cssClass - false - true - java.lang.String - - - true.]]> - fluid - false - true - boolean - - - - id - false - true - java.lang.String - - true - - - <div> tag to wrap form fields and offer additional styling.]]> - field-wrapper - com.liferay.taglib.aui.FieldWrapperTag - JSP - - - cssClass - false - true - java.lang.String - - - HashMap<"class-name", foo> would render as the attribute data-class-name = foo;.]]> - data - false - true - java.lang.Object - - - false.]]> - first - false - true - boolean - - - - helpMessage - false - true - java.lang.String - - - false.]]> - inlineField - false - true - boolean - - - right and left.]]> - inlineLabel - false - true - java.lang.String - - - - label - false - true - java.lang.String - - - false.]]> - last - false - true - boolean - - - - name - false - true - java.lang.String - - - - required - false - true - boolean - - - - <div> tag to group related form elements and offer additional styling.]]> - fieldset - com.liferay.taglib.aui.FieldsetTag - JSP - - - column - false - true - boolean - - - - cssClass - false - true - java.lang.String - - - - helpMessage - false - true - java.lang.String - - - - id - false - true - java.lang.String - - - - label - false - true - java.lang.String - - true - - - - form - com.liferay.taglib.aui.FormTag - JSP - - - action - false - true - java.lang.String - - - - cssClass - false - true - java.lang.String - - - true.]]> - escapeXml - false - true - boolean - - - false.]]> - inlineLabels - false - true - boolean - - - post. Possible values are get and post.]]> - method - false - true - java.lang.String - - - fm.]]> - name - false - true - java.lang.String - - - - onSubmit - false - true - java.lang.String - - - - portletNamespace - false - true - java.lang.String - - - true.]]> - useNamespace - false - true - boolean - - true - - - - icon - com.liferay.taglib.aui.IconTag - JSP - - image attribute.]]> - cssClass - false - true - java.lang.String - - - HashMap<"class-name", foo> would render as the attribute data-class-name = foo;.]]> - data - false - true - java.util.Map - - - - id - false - true - java.lang.String - - - icon-edit CSS class by setting the value edit. If an icon image is referenced for cssClass and image, both icons are shown in the component.]]> - image - false - true - java.lang.String - - - - label - false - true - java.lang.String - - - self. Possible values are blank, self, parent, top, and a unique frame's name.]]> - target - false - true - java.lang.String - - - - url - false - true - java.lang.String - - true - - - - input - com.liferay.taglib.aui.InputTag - JSP - - - autoFocus - false - true - boolean - - - - autoSize - false - true - boolean - - - - bean - false - true - java.lang.Object - - - false.]]> - changesContext - false - true - boolean - - - type is radio or checkbox.]]> - checked - false - true - boolean - - - 0.]]> - classPK - false - true - long - - - - cssClass - false - true - java.lang.String - - - HashMap<"class-name", foo> would render as the attribute data-class-name = foo;.]]> - data - false - true - java.lang.Object - - - dateTogglerCheckboxLabel - false - true - java.lang.String - - - - defaultLanguageId - false - true - java.lang.String - - - false.]]> - disabled - false - true - boolean - - - field - false - true - java.lang.String - - - field of the component.]]> - fieldParam - false - true - java.lang.String - - - - first - false - true - boolean - - - - formName - false - true - java.lang.String - - - - helpMessage - false - true - java.lang.String - - - input-group-addon.]]> - helpTextCssClass - false - true - java.lang.String - - - - id - false - true - java.lang.String - - - false.]]> - ignoreRequestValue - false - true - boolean - - - false.]]> - inlineField - false - true - boolean - - - right and left.]]> - inlineLabel - false - true - java.lang.String - - - name attribute's value.]]> - label - false - true - java.lang.String - - - languageId - false - true - java.lang.String - - - - last - false - true - boolean - - - false.]]> - localized - false - true - boolean - - - type is number or range. Note that the max value is inclusive if the input's type is range.]]> - max - false - true - java.lang.Object - - - - model - false - true - java.lang.Class - - - type is number or range. Note that the min value is inclusive if the input's type is range.]]> - min - false - true - java.lang.Object - - - multiple - false - true - boolean - - - - name - true - true - java.lang.String - - - - onChange - false - true - java.lang.String - - - - onClick - false - true - java.lang.String - - - - placeholder - false - true - java.lang.String - - - - prefix - false - true - java.lang.String - - - - required - false - true - boolean - - - textarea.]]> - resizable - false - true - boolean - - - - showRequiredLabel - false - true - boolean - - - - suffix - false - true - java.lang.String - - - - title - false - true - java.lang.String - - - text, hidden, assetCategories, assetTags, textarea, timeZone, password, checkbox, radio, submit, button, color, email, number, range, resource, url, and an empty value. If an empty value or no value is set, the input's type is obtained automatically from the input component's bean.]]> - type - false - true - java.lang.String - - - true.]]> - useNamespace - false - true - boolean - - - - value - false - true - java.lang.Object - - - div that wraps the input component.]]> - wrapperCssClass - false - true - java.lang.String - - true - - - - layout - com.liferay.taglib.aui.LayoutTag - JSP - - - cssClass - false - true - java.lang.String - - true - - - - model-context - com.liferay.taglib.aui.ModelContextTag - JSP - - - bean - false - true - java.lang.Object - - - - defaultLanguageId - false - true - java.lang.String - - - - model - false - true - java.lang.Class - - - - <nav:item> components for an <aui:nav-bar> component.]]> - nav - com.liferay.taglib.aui.NavTag - JSP - - - ariaLabel - false - true - java.lang.String - - - <p> tag could be used for something other than a paragraph.]]> - ariaRole - false - true - java.lang.String - - - collapsible - false - true - boolean - - - - cssClass - false - true - java.lang.String - - - icon - false - true - java.lang.String - - - - id - false - true - java.lang.String - - - true.]]> - useNamespace - false - true - boolean - - true - - - - nav-bar - com.liferay.taglib.aui.NavBarTag - JSP - - - cssClass - false - true - java.lang.String - - - - id - false - true - java.lang.String - - true - - - <aui:nav-bar> component.]]> - nav-bar-search - com.liferay.taglib.aui.NavBarSearchTag - JSP - - - cssClass - false - true - java.lang.String - - - - id - false - true - java.lang.String - - - file - false - true - java.lang.String - - - - searchContainer - false - true - com.liferay.portal.kernel.dao.search.SearchContainer - - true - - - <aui:nav> component.]]> - nav-item - com.liferay.taglib.aui.NavItemTag - JSP - - href attribute.]]> - anchorCssClass - false - true - java.lang.String - - - HashMap<"class-name", foo> would render as the attribute data-class-name = foo;.]]> - anchorData - false - true - java.lang.Object - - - href attribute.]]> - anchorId - false - true - java.lang.String - - - - ariaLabel - false - true - java.lang.String - - - <p> tag could be used for something other than a paragraph.]]> - ariaRole - false - true - java.lang.String - - - - cssClass - false - true - java.lang.String - - - HashMap<"class-name", foo> would render as the attribute data-class-name = foo;.]]> - data - false - true - java.lang.Object - - - false.]]> - dropdown - false - true - boolean - - - - href - false - true - java.lang.Object - - - - iconCssClass - false - true - java.lang.String - - - - id - false - true - java.lang.String - - - - label - false - true - java.lang.String - - - localizeLabel - false - true - boolean - - - false.]]> - selected - false - true - boolean - - - state - false - true - java.lang.String - - - - title - false - true - java.lang.String - - - toggle - false - true - boolean - - - href location when a user clicks the navigation item. The default value is false.]]> - useDialog - false - true - boolean - - - drop-down-menu class. The default value is true.]]> - wrapDropDownMenu - false - true - boolean - - true - - - <aui:select> component.]]> - option - com.liferay.taglib.aui.OptionTag - JSP - - - cssClass - false - true - java.lang.String - - - HashMap<"class-name", foo> would render as the attribute data-class-name = foo;.]]> - data - false - true - java.util.Map - - - false.]]> - disabled - false - true - boolean - - - - label - false - true - java.lang.Object - - - false.]]> - selected - false - true - boolean - - - text-align:right;.]]> - style - false - true - java.lang.String - - - useModelValue - false - true - boolean - - - label attribute.]]> - value - false - true - java.lang.Object - - true - - - panel - com.liferay.taglib.aui.PanelTag - JSP - - collapsed - false - true - boolean - - - collapsible - false - true - boolean - - - id - false - true - java.lang.String - - - label - false - true - java.lang.String - - - - <aui:col> components.]]> - row - com.liferay.taglib.aui.RowTag - JSP - - - cssClass - false - true - java.lang.String - - - row-fluid CSS class to the row. The default value is true. If set to false, the row CSS class is assigned.]]> - fluid - false - true - boolean - - - - id - false - true - java.lang.String - - true - - - - script - com.liferay.taglib.aui.ScriptTag - JSP - - - position - false - true - java.lang.String - - - - use - false - true - java.lang.String - - - - <aui:option> components.]]> - select - com.liferay.taglib.aui.SelectTag - JSP - - - bean - false - true - java.lang.Object - - - false.]]> - changesContext - false - true - boolean - - - - cssClass - false - true - java.lang.String - - - HashMap<"class-name", "foo"> would render as the attribute data-class-name = "foo";.]]> - data - false - true - java.util.Map - - - false.]]> - disabled - false - true - boolean - - - false.]]> - first - false - true - boolean - - - - helpMessage - false - true - java.lang.String - - - - id - false - true - java.lang.String - - - ignoreRequestValue - false - true - boolean - - - false.]]> - inlineField - false - true - boolean - - - right and left.]]> - inlineLabel - false - true - java.lang.String - - - - label - false - true - java.lang.String - - - false.]]> - last - false - true - boolean - - - ListTypeImpl.java.]]> - listType - false - true - java.lang.String - - - listTypeFieldName - false - true - java.lang.String - - - true, the select field expands to allow for multiple selections. The default value is false.]]> - multiple - false - true - boolean - - - label attribute and takes the place of the label.]]> - name - true - true - java.lang.String - - - - onChange - false - true - java.lang.String - - - - onClick - false - true - java.lang.String - - - - prefix - false - true - java.lang.String - - - false.]]> - required - false - true - boolean - - - false.]]> - showEmptyOption - false - true - boolean - - - required attribute is set to true. The default value is false.]]> - showRequiredLabel - false - true - boolean - - - - suffix - false - true - java.lang.String - - - - title - false - true - java.lang.String - - - true.]]> - useNamespace - false - true - boolean - - true - - - - spacer - com.liferay.taglib.aui.SpacerTag - JSP - - - - translation-manager - com.liferay.taglib.aui.TranslationManagerTag - JSP - - - availableLocales - false - true - java.util.Locale[] - - - - defaultLanguageId - false - true - java.lang.String - - - editingLanguageId - false - true - java.lang.String - - - - id - false - true - java.lang.String - - - true. If this is set to false, the translation manager will not work entirely.]]> - initialize - false - true - boolean - - - false.]]> - readOnly - false - true - boolean - - - - - validator - com.liferay.taglib.aui.ValidatorTagImpl - JSP - - true.]]> - customValidatorRequired - false - true - boolean - - - - errorMessage - false - true - java.lang.String - - - acceptFiles, alpha, alphanum, date, digits, email, equalTo, iri, max, maxLength, min, minLength, number, required, and url.]]> - name - true - true - java.lang.String - - - - - workflow-status - com.liferay.taglib.aui.WorkflowStatusTag - JSP - - - bean - false - true - java.lang.Object - - - - helpMessage - false - true - java.lang.String - - - - id - false - true - java.lang.String - - - - model - false - true - java.lang.Class - - - true.]]> - showIcon - false - true - boolean - - - true.]]> - showLabel - false - true - boolean - - - 0 (Approved), 1 (Pending), 2 (Draft), 3 (Expired), 4 (Denied), 5 (Inactive), 6 (Incomplete), 7 (Scheduled), and 8 (In-Trash). Any other value defaults to status (Any).]]> - status - false - true - java.lang.Integer - - - - statusMessage - false - true - java.lang.String - - - - version - false - true - java.lang.String - - -
\ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/tld/liferay-portlet-ext.tld b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/tld/liferay-portlet-ext.tld deleted file mode 100644 index 7c046647..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/tld/liferay-portlet-ext.tld +++ /dev/null @@ -1,538 +0,0 @@ - - - - - 1.0 - 1.1 - liferay-portlet - http://liferay.com/tld/portlet - - - - - actionURL - com.liferay.taglib.portlet.ActionURLTag - com.liferay.taglib.portlet.ActionURLTei - JSP - - allowEmptyParam - false - true - - - anchor - false - true - - - copyCurrentRenderParameters - false - true - - - doAsGroupId - false - true - - - doAsUserId - false - true - - - encrypt - false - true - - - escapeXml - false - true - - - name - false - true - - - plid - false - true - - - portletConfiguration - false - true - - - portletMode - false - true - - - portletName - false - true - - - refererGroupId - false - true - - - refererPlid - false - true - - - secure - false - true - - - var - false - true - - - varImpl - false - true - - - windowState - false - true - - - - icon-back - com.liferay.taglib.portletext.IconBackTag - JSP - - - icon-close - com.liferay.taglib.portletext.IconCloseTag - JSP - - - icon-configuration - com.liferay.taglib.portletext.IconConfigurationTag - JSP - - - icon-edit - com.liferay.taglib.portletext.IconEditTag - JSP - - - icon-edit-defaults - com.liferay.taglib.portletext.IconEditDefaultsTag - JSP - - - icon-edit-guest - com.liferay.taglib.portletext.IconEditGuestTag - JSP - - - icon-export-import - com.liferay.taglib.portletext.IconExportImportTag - JSP - - - icon-help - com.liferay.taglib.portletext.IconHelpTag - JSP - - - icon-maximize - com.liferay.taglib.portletext.IconMaximizeTag - JSP - - - icon-minimize - com.liferay.taglib.portletext.IconMinimizeTag - JSP - - - icon-options - com.liferay.taglib.portletext.IconOptionsTag - JSP - - - icon-portlet - com.liferay.taglib.portletext.IconPortletTag - JSP - - ariaRole - false - true - - - id - false - true - - - label - false - true - - - portlet - false - true - - - url - false - true - - - - icon-portlet-css - com.liferay.taglib.portletext.IconPortletCssTag - JSP - - - icon-print - com.liferay.taglib.portletext.IconPrintTag - JSP - - - icon-refresh - com.liferay.taglib.portletext.IconRefreshTag - JSP - - - param - com.liferay.taglib.util.ParamTag - empty - - name - true - true - - - value - true - true - - - - preview - com.liferay.taglib.portletext.PreviewTag - JSP - - portletName - true - true - - - queryString - false - true - - - showBorders - false - true - - - width - false - true - - - - - - - renderURL - com.liferay.taglib.portlet.RenderURLTag - com.liferay.taglib.portlet.RenderURLTei - JSP - - allowEmptyParam - false - true - - - anchor - false - true - - - copyCurrentRenderParameters - false - true - - - doAsGroupId - false - true - - - doAsUserId - false - true - - - encrypt - false - true - - - escapeXml - false - true - - - plid - false - true - - - portletConfiguration - false - true - - - portletMode - false - true - - - portletName - false - true - - - refererGroupId - false - true - - - refererPlid - false - true - - - secure - false - true - - - var - false - true - - - varImpl - false - true - - - windowState - false - true - - - - renderURLParams - com.liferay.taglib.portlet.RenderURLParamsTag - JSP - - varImpl - true - true - - - - - - - resourceURL - com.liferay.taglib.portlet.ResourceURLTag - com.liferay.taglib.portlet.ResourceURLTei - JSP - - anchor - false - true - - - copyCurrentRenderParameters - false - true - - - doAsGroupId - false - true - - - doAsUserId - false - true - - - encrypt - false - true - - - escapeXml - false - true - - - id - false - true - - - plid - false - true - - - portletConfiguration - false - true - - - portletMode - false - true - - - portletName - false - true - - - refererGroupId - false - true - - - refererPlid - false - true - - - secure - false - true - - - var - false - true - - - varImpl - false - true - - - windowState - false - true - - - - runtime - com.liferay.taglib.portletext.RuntimeTag - JSP - - defaultPreferences - false - true - - - portletName - true - true - - - queryString - false - true - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/tld/liferay-portlet.tld b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/tld/liferay-portlet.tld deleted file mode 100644 index a7cd2fdf..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/tld/liferay-portlet.tld +++ /dev/null @@ -1,158 +0,0 @@ - - - - - 1.0 - 1.1 - portlet - http://java.sun.com/portlet - - actionURL - com.liferay.taglib.portlet.ActionURLTag - com.liferay.taglib.portlet.ActionURLTei - JSP - - copyCurrentRenderParameters - false - true - - - escapeXml - false - true - - - name - false - true - - - portletMode - false - true - - - secure - false - true - - - var - false - true - - - windowState - false - true - - - - defineObjects - com.liferay.taglib.portlet.DefineObjectsTag - com.liferay.taglib.portlet.DefineObjectsTei - empty - - - namespace - com.liferay.taglib.portlet.NamespaceTag - empty - - - param - com.liferay.taglib.util.ParamTag - empty - - name - true - true - - - value - true - true - - - - property - com.liferay.taglib.util.PropertyTag - empty - - name - true - true - - - value - true - true - - - - renderURL - com.liferay.taglib.portlet.RenderURLTag - com.liferay.taglib.portlet.RenderURLTei - JSP - - copyCurrentRenderParameters - false - true - - - escapeXml - false - true - - - portletMode - false - true - - - secure - false - true - - - var - false - true - - - windowState - false - true - - - - resourceURL - com.liferay.taglib.portlet.ResourceURLTag - com.liferay.taglib.portlet.ResourceURLTei - JSP - - cacheability - false - true - - - escapeXml - false - true - - - id - false - true - - - secure - false - true - - - var - false - true - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/tld/liferay-security.tld b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/tld/liferay-security.tld deleted file mode 100644 index f8e6f6dd..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/tld/liferay-security.tld +++ /dev/null @@ -1,106 +0,0 @@ - - - - - 1.0 - 1.1 - liferay-security - http://liferay.com/tld/security - - doAsURL - com.liferay.taglib.security.DoAsURLTag - com.liferay.taglib.security.DoAsURLTei - JSP - - doAsUserId - false - true - - - var - false - true - - - - encrypt - com.liferay.taglib.security.EncryptTag - JSP - - className - false - true - - - protocol - true - true - - - style - false - true - - - target - false - true - - - unencryptedParams - false - true - - - url - true - true - - - - permissionsURL - com.liferay.taglib.security.PermissionsURLTag - com.liferay.taglib.security.PermissionsURLTei - JSP - - modelResource - true - true - - - modelResourceDescription - true - true - - - redirect - false - true - - - resourceGroupId - false - true - - - resourcePrimKey - true - true - - - roleTypes - false - true - - - var - false - true - - - windowState - false - true - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/tld/liferay-theme.tld b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/tld/liferay-theme.tld deleted file mode 100644 index 90ac81db..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/tld/liferay-theme.tld +++ /dev/null @@ -1,65 +0,0 @@ - - - - - 1.0 - 1.1 - theme - http://liferay.com/tld/theme - - defineObjects - com.liferay.taglib.theme.DefineObjectsTag - com.liferay.taglib.theme.DefineObjectsTei - empty - - - include - com.liferay.taglib.theme.IncludeTag - JSP - - page - true - true - - - - layout-icon - com.liferay.taglib.theme.LayoutIconTag - JSP - - layout - true - true - - - - meta-tags - com.liferay.taglib.theme.MetaTagsTag - JSP - - - param - com.liferay.taglib.util.ParamTag - JSP - - name - true - true - - - value - true - true - - - - wrap-portlet - com.liferay.taglib.theme.WrapPortletTag - JSP - - page - true - true - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/tld/liferay-ui.tld b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/tld/liferay-ui.tld deleted file mode 100644 index a9a746a8..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/tld/liferay-ui.tld +++ /dev/null @@ -1,4691 +0,0 @@ - - - - Provides the Liferay UI component tags, prefixed with liferay-ui:]]>. - 1.0 - liferay-ui - http://liferay.com/tld/ui - - app-view-display-style - com.liferay.taglib.ui.AppViewDisplayStyleTag - empty - - displayStyle - true - true - - - displayStyles - true - true - - - requestParams - true - true - - - - Creates a component for displaying entry items such as images, documents, folders, etc. in a concise but informative manner. Items are displayed in a similar fashion to entries in the file system of most operating systems. - app-view-entry - com.liferay.taglib.ui.AppViewEntryTag - empty - - The path to an action JSP page. - actionJsp - false - true - - - The Java class name for any categories added to the entry. - assetCategoryClassName - false - true - - - The Java class primary key for any categories added to the entry. This is a Java long]]>. - assetCategoryClassPK - false - true - - - The Java class name for any tags added to the entry. - assetTagClassName - false - true - - - The Java class primary key for any tags added to the entry. This is a Java long]]>. - assetTagClassPK - false - true - - - The name of the entry's author. - author - false - true - - - The date the entry was created. - createDate - false - true - - - A CSS class for styling this component. - cssClass - false - true - - - Miscellaneous data to be stored via a map. This data is not shared with the browser. The map holds key value pairs of type <String, Object>]]>. - data - false - true - java.util.Map - - - A description of the entry. - description - false - true - - - A date to display the entry. - displayDate - false - true - - - A display style for the component. Options are list]]>, icon]]>, and descriptive]]>. - displayStyle - true - true - - - A date for the entry to expire and be automatically deleted. - expirationDate - false - true - - - Whether the entry is a folder. The default is false]]>. - folder - false - true - boolean - - - The group ID of the entry. This is a Java long]]>. - groupId - false - true - - - The version number of the most recently published copy of the entry. - latestApprovedVersion - false - true - - - The author of the most recently published version of the entry. - latestApprovedVersionAuthor - false - true - - - Whether the entry is locked. The default value is false]]>. - locked - false - true - boolean - - - The date of the most recent modification to the entry. - modifiedDate - false - true - - - The date the entry was reviewed. - reviewDate - false - true - - - A checkbox input ID to be used for the entry row checker. - rowCheckerId - false - true - - - A name for the entry row checker. - rowCheckerName - false - true - - - Whether to show a shortcut icon link to the entry. The default value is false]]>. - shortcut - false - true - boolean - - - Whether the entry is selectable. An actual checkbox is used when the display style is icon]]> or descriptive]]>. The default value is false]]>. - showCheckbox - true - true - boolean - - - Whether to show the link title. The default value is true]]>. - showLinkTitle - false - true - boolean - - - The current status of the entry, as represented by an integer. Options are -1: STATUS_ANY]]>, 0: STATUS_APPROVED]]>, 1: ACTION_PUBLISH]]>, 2: STATUS_DRAFT]]>, and 4: STATUS_DENIED]]>. The default value is -1]]>. - status - false - true - int - - - A CSS style to be applied to the div containing the thumbnail for the entry. - thumbnailDivStyle - false - true - - - The source URL for an entry thumbnail image. - thumbnailSrc - true - true - - - A CSS style to be applied to the thumbnail for the entry. - thumbnailStyle - false - true - - - A title for the entry. - title - true - true - - - The current version of the entry. - version - false - true - - - A URL to view the full entry. - url - false - true - - - - Creates a navigation list item component for navigating app view entries. - app-view-navigation-entry - com.liferay.taglib.ui.AppViewNavigationEntryTag - empty - - The path for an action JSP page. - actionJsp - false - true - - - A CSS class for styling this component. - cssClass - false - true - - - Data to be applied to the component link and stored via a map. This data is not shared with the browser. The map holds key value pairs of type <String, Object>]]>. - dataView - false - true - java.util.Map - - - A title for the component. - entryTitle - true - true - - - A CSS class for setting the icon of the component. - iconImage - false - true - - - iconSrc - false - true - - - Whether the entry is selected. - selected - false - true - boolean - - - A URL to view the entry. - viewURL - true - true - - - - Creates a toolbar for viewing items in app view. - app-view-toolbar - com.liferay.taglib.ui.AppViewToolbarTag - JSP - - Whether to include the option to choose a display style for component items. If the value is true]]>, a list of display style options is rendered. The default value is false]]>. - includeDisplayStyle - false - true - boolean - - - Whether to include an option to select all component items. The default value is false]]>. - includeSelectAll - false - true - boolean - - - The file path for a search JSP page. - searchJsp - false - true - - - - Creates a component for displaying search results of entries in app view. - app-view-search-entry - com.liferay.taglib.ui.AppViewSearchEntryTag - empty - - The file path for an action JSP page. - actionJsp - false - true - - - containerIcon - false - true - - - The name of the container that the entry is in, such as the name of a folder. - containerName - false - true - - - containerSrc - false - true - - - The type of container the entry is in, such as Folder]]>. - containerType - false - true - - - A CSS class for styling this component. - cssClass - false - true - - - A description of the entry. - description - true - true - - - A list of objects containing information such as content, user ID, and titles of the entry file attachments. - fileEntryTuples - false - true - - - Whether the entry is locked. The default value is false]]>. - locked - false - true - boolean - - - A list of objects containing information such as content, author, and status of entry messages. An example would be a comment made by one user on another user's blog post. - mbMessages - false - true - - - Query terms of the search. - queryTerms - true - true - - - A checkbox input ID to be used for the entry row checker. This is a Java long]]>. - rowCheckerId - false - true - - - A name to be used for the entry row checker. - rowCheckerName - false - true - - - Whether the entry is selectable via a checkbox. The default value is true]]>. - showCheckbox - false - true - boolean - - - The current status of the entry as represented by an integer. Options are -1: STATUS_ANY]]>, 0: STATUS_APPROVED]]>, 1: ACTION_PUBLISH]]>, 2: STATUS_DRAFT]]>, and 4: STATUS_DENIED]]>. - status - false - true - - - The URL for an entry thumbnail image. - thumbnailSrc - false - true - - - A title for the entry. - title - true - true - - - A URL used to view the full entry. - url - true - true - - - The current and past versions of the entry. - versions - false - true - - - - asset-categories-error - com.liferay.taglib.ui.AssetCategoriesErrorTag - JSP - - - asset-categories-navigation - com.liferay.taglib.ui.AssetCategoriesNavigationTag - JSP - - hidePortletWhenEmpty - false - true - - - vocabularyIds - false - true - - - - asset-categories-selector - com.liferay.taglib.ui.AssetCategoriesSelectorTag - JSP - - className - false - true - - - classPK - false - true - - - contentCallback - false - true - - - curCategoryIds - false - true - - - groupIds - false - true - - - hiddenInput - false - true - - - ignoreRequestValue - false - true - - - - asset-categories-summary - com.liferay.taglib.ui.AssetCategoriesSummaryTag - JSP - - className - true - true - - - classPK - true - true - - - message - false - true - - - portletURL - false - true - - - - asset-links - com.liferay.taglib.ui.AssetLinksTag - JSP - - assetEntryId - false - true - - - className - false - true - - - classPK - false - true - - - - Creates a liferay-ui:error]]> component to display tag-related error messages. - asset-tags-error - com.liferay.taglib.ui.AssetTagsErrorTag - JSP - - - asset-tags-navigation - com.liferay.taglib.ui.AssetTagsNavigationTag - JSP - - classNameId - false - true - - - displayStyle - false - true - - - hidePortletWhenEmpty - false - true - - - maxAssetTags - false - true - - - showAssetCount - false - true - - - showZeroAssetCount - false - true - - - - Creates a Liferay.AssetTagsSelector]]> component to create and select tags to add to an asset, such as a blog entry, bookmark, or wiki page. - asset-tags-selector - com.liferay.taglib.ui.AssetTagsSelectorTag - JSP - - Whether to automatically focus the tag input field. The default value is false]]>. - autoFocus - false - true - boolean - - - The Java class of the asset. - className - false - true - - - The Java class primary key of an asset to associate with the tags. This is a Java long]]>. - classPK - false - true - - - A function to get tag suggestions based on the asset's content. - contentCallback - false - true - - - The current selected tags. - curTags - false - true - - - The group IDs of the asset tags. - groupIds - false - true - - - The name of the hidden input for passing in the asset's current tags. - hiddenInput - false - true - - - An ID for the component instance. - id - false - true - - - ignoreRequestValue - false - true - - - - Creates a component to display all the tags associated with an asset, such as a blog entry, wiki page, or message boards message. - asset-tags-summary - com.liferay.taglib.ui.AssetTagsSummaryTag - JSP - - An array of the asset tag names. - assetTagNames - false - true - - - The Java class of the asset. - className - true - true - - - The Java class primary key of an asset. This is a Java long]]>. - classPK - true - true - - - A message to display before the tag labels. A standard example is tags]]>, which renders as Tags:]]>. - message - false - true - - - The URL of a portlet to display the tags. - portletURL - false - true - - - - breadcrumb - com.liferay.taglib.ui.BreadcrumbTag - JSP - - displayStyle - false - true - - - portletURL - false - true - - - selLayout - false - true - - - selLayoutParam - false - true - - - showCurrentGroup - false - true - - - showCurrentPortlet - false - true - - - showGuestGroup - false - true - - - showLayout - false - true - - - showParentGroups - false - true - - - showPortletBreadcrumb - false - true - - - - Creates a calendar with configurable events. - calendar - com.liferay.taglib.ui.CalendarTag - JSP - - A given set of integers, corresponding to a day of the chosen month, and to mark with a dot. - data - false - true - java.util.Set - - - A day of the month to highlight in the calendar. - day - false - true - int - - - A format for the header. - headerFormat - false - true - java.text.Format - - - A pattern for the calendar header. A possible value is MMM/dd/yyyy]]>. - headerPattern - false - true - - - A month of the year to display at the top of the calendar. - month - true - true - int - - - Whether to display up to six calendar weeks relative to the set day. If the set day of the month is in the latter part of the month, the current month's weeks will be displayed and up to two weeks of the next month will be displayed. The default value is false]]>. - showAllPotentialWeeks - false - true - boolean - - - A year to display at the top of the calendar. - year - true - true - int - - - - Creates an image CAPTCHA with a corresponding verification input. - captcha - com.liferay.taglib.ui.CaptchaTag - JSP - - The source URL for the image CAPTCHA. - url - true - true - - - - categorization-filter - com.liferay.taglib.ui.CategorizationFilterTag - JSP - - assetType - false - true - - - portletURL - false - true - - - - custom-attribute - com.liferay.taglib.ui.CustomAttributeTag - JSP - - className - true - true - - - classPK - true - true - - - editable - false - true - - - label - false - true - - - name - true - true - - - - custom-attribute-list - com.liferay.taglib.ui.CustomAttributeListTag - JSP - - className - true - true - - - classPK - true - true - - - editable - false - true - - - ignoreAttributeNames - false - true - - - label - false - true - - - - custom-attributes-available - com.liferay.taglib.ui.CustomAttributesAvailableTag - JSP - - className - true - true - - - classPK - false - true - - - companyId - false - true - - - ignoreAttributeNames - false - true - - - editable - false - true - - - - ddm-template-selector - com.liferay.taglib.ui.DDMTemplateSelectorTag - JSP - - classNameId - true - true - - - displayStyle - true - true - - - displayStyleGroupId - true - true - - - displayStyles - false - true - - - icon - false - true - - - label - false - true - - - refreshURL - false - true - - - showEmptyOption - false - true - - - - diff - com.liferay.taglib.ui.DiffTag - JSP - - diffResults - true - true - - - sourceName - true - true - - - targetName - true - true - - - - diff-html - com.liferay.taglib.ui.DiffHtmlTag - JSP - - diffHtmlResults - true - true - - - - discussion - com.liferay.taglib.ui.DiscussionTag - JSP - - assetEntryVisible - false - true - - - className - true - true - - - classPK - true - true - - - formAction - true - true - - - formName - false - true - - - hideControls - false - true - - - permissionClassName - false - true - - - permissionClassPK - false - true - - - ratingsEnabled - false - true - - - redirect - false - true - - - Deprecated as of 6.2.0, with no direct replacement - subject - false - true - - - userId - true - true - - - - Creates an error message to display to the user. - error - com.liferay.taglib.ui.ErrorTag - com.liferay.taglib.ui.ErrorTei - JSP - - A class for the exception. - exception - false - true - - - The name of a field on which to focus the error message. - focusField - false - true - - - A key to place in the SessionErrors]]> object to trigger the error message. - key - false - true - - - Explicit message text or a language key name from which to derive text for the message. - message - false - true - - - rowBreak - false - true - - - Whether to translate the message into the user's language. The default value is true]]>. - translateMessage - false - true - boolean - - - - error-marker - com.liferay.taglib.ui.ErrorMarkerTag - JSP - - key - false - true - - - value - false - true - - - - Creates a flag icon that lets users report inappropriate content. - flags - com.liferay.taglib.ui.FlagsTag - JSP - - The flagged asset's Java class name. - className - true - true - - - The flagged asset's entry ID. - classPK - true - true - - - The flagged asset's title. - contentTitle - true - true - - - Whether to show message text as a label next to the flag icon or as a tooltip. The default value is true]]>. - label - false - true - boolean - - - Text to display next to the flag icon. The default text is Flag]]>. - message - false - true - - - The user ID of the user who flagged the asset. - reportedUserId - true - true - - - - flash - com.liferay.taglib.ui.FlashTag - JSP - - align - false - true - - - allowFullScreen - false - true - - - allowScriptAccess - false - true - - - base - false - true - - - bgcolor - false - true - - - devicefont - false - true - - - flashvars - false - true - - - height - false - true - - - id - false - true - - - loop - false - true - - - menu - false - true - - - movie - true - true - - - play - false - true - - - quality - false - true - - - salign - false - true - - - scale - false - true - - - swliveconnect - false - true - - - version - false - true - - - width - false - true - - - wmode - false - true - - - - Creates a navigable form for multiple section forms. It's default navigation is a side navigation box with links to each section. But the navigation can be configured as a progressive step navigation positioned above the form or as vertically stacked accordion style sections that expand when clicked. - form-navigator - com.liferay.taglib.ui.FormNavigatorTag - JSP - - A URL for the form's cancel button. - backURL - false - true - - - The name of each category in the form. - categoryNames - true - true - - - The name of each section within a category. - categorySections - true - true - - - A type of navigation to be used. Options are steps]]> and panel]]>. The default display style is side navigation. - displayStyle - false - true - - - A name for the form. - formName - false - true - - - HTML to append to the navigator. Examples include alternate form buttons, form instructions, or information about the form. - htmlBottom - false - true - - - HTML to prepend to the navigator. - htmlTop - false - true - - - A path to the formSection.jsp]]> file's folder /path/to/jsp/folder/]]>. - jspPath - false - true - - - Whether to show the Submit]]> and Cancel]]> buttons. The default value is true]]>. - showButtons - false - true - boolean - - - - group-search - com.liferay.taglib.ui.GroupSearchTag - JSP - - groupParams - true - true - - - portletURL - true - true - - - rowChecker - false - true - - - - Creates a header that displays its text above a horizontal rule accompanied by a configurable back URL button. - header - com.liferay.taglib.ui.HeaderTag - JSP - - Text to display on mouse over of the back URL. The default value is Back]]>. - backLabel - false - true - - - A URL for navigating back to. - backURL - false - true - - - A CSS class for styling the header component. - cssClass - false - true - - - Whether to escape the header's XML tags. The default value is true]]>. - escapeXml - false - true - boolean - - - Whether to translate the header's title]]> into the localized language. The default value is true]]>. - localizeTitle - false - true - boolean - - - Whether to display the back URL. The default value is true]]>. - showBackURL - false - true - boolean - - - A title to display as the header text. - title - true - true - - - - Creates a fully configurable icon that provides access to current Liferay theme icons. - icon - com.liferay.taglib.ui.IconTag - JSP - - A value for the alt]]> attribute of the embedded img]]> tag. - alt - false - true - - - A role for assistive technologies to interpret for HTML elements that have been used for something other than their intended purpose. For example, the <p>]]> tag could be used for something other than a paragraph. - ariaRole - false - true - - - A CSS class for styling the component. - cssClass - false - true - - - Miscellaneous data to be stored via a map. This data is not shared with the browser. The map holds key value pairs of type <String, Object>]]>. - data - false - true - java.util.Map - - - An icon from a Bootstrap icon CSS Class. Note that any image for the image]]> attribute takes precedence. Icon CSS classes to specify for this attribute can be found at http://marcoceppi.github.io/bootstrap-glyphicons/]]>. - iconCssClass - false - true - - - An ID for the component instance. - id - false - true - - - An image for the icon, from the current theme. The value can be the filename prefix of any image file in the theme's common]]> image folder. This image takes precedence over any icon value set via the iconCssClass]]> attribute. - image - false - true - - - An icon to display on mouse over of the component. The icon image comes from the current theme. The value can be the filename prefix of any image file in the theme's common]]> image folder. - imageHover - false - true - - - Whether to display the message]]> attribute's value as the icon's label. - label - false - true - boolean - - - A language to associate with the icon, to assist search engines and web browsers in finding and rendering the icon appropriately. - lang - false - true - - - A CSS class for styling the icon's URL. - linkCssClass - false - true - - - Whether to translate the icon's message]]> into the user's language. - localizeMessage - false - true - boolean - - - Text to be displayed for the icon on mouse over. - message - false - true - - - An HTTP request method. Possible values are get]]> and post]]>. - method - false - true - - - A function to be called on a user clicking the icon. - onClick - false - true - - - The location of an image file to use in the icon. - src - false - true - - - The location of an image file to use on mouse over of the icon. This value takes precedence over the imageHover]]> attribute. This image takes precedence over icons set with the imageHover]]> attribute. - srcHover - false - true - - - A target window in which to open the URL. The default value is self]]>. Possible values are blank]]>, self]]>, parent]]>, top]]>, and a unique frame's name. - target - false - true - - - Whether to use a tooltip. The default value is true]]>. - toolTip - false - true - boolean - - - A URL to navigate to when the icon is clicked. - url - false - true - - - Whether to open the URL in a dialog window. The default value is false]]>. - useDialog - false - true - boolean - - - - Creates an icon to associate with deactivating an item. - icon-deactivate - com.liferay.taglib.ui.IconDeactivateTag - JSP - - Whether to display a message on the icon's label on mouse over of the icon. The default value is false]]>. - label - false - true - boolean - - - A URL navigated to when the icon is clicked. - url - true - true - - - - Creates a configurable icon to associate with deleting or removing an item. - icon-delete - com.liferay.taglib.ui.IconDeleteTag - JSP - - Text to use in place of the text from the default deletion confirmation message language key are-you-sure-you-want-to-delete-this]]>. If the trash]]> attribute is set to true]]>, no confirmation message is shown. - confirmation - false - true - - - A CSS class for styling the component. - cssClass - false - true - - - An ID for the component instance. - id - false - true - - - An image for the icon, from the current theme. The value can be the filename prefix of any image file in the theme's common]]> image folder. The image takes precedence over any default icon images. - image - false - true - - - Whether to display the message]]> attribute's value as the icon's label. The default value is false]]>. - label - false - true - boolean - - - Text to display on mouse over of the icon. - message - false - true - - - An HTTP request method to invoke. Possible values are get]]> and post]]>. - method - false - true - - - Whether to use the trash icon instead of the remove icon. The default value isfalse]]>. - trash - false - true - boolean - - - A URL navigated to when the icon is clicked. - url - true - true - - - - Creates a help icon that displays a custom message as a tooltip on mouse over of the help icon. - icon-help - com.liferay.taglib.ui.IconHelpTag - JSP - - Text to be displayed on mouse over of the icon. - message - true - true - - - - Creates a list of icons from a list of child components. - icon-list - com.liferay.taglib.ui.IconListTag - JSP - - Whether to render the icon list when there is only one child component. The default value is false]]>. - showWhenSingleIcon - false - true - boolean - - - - Creates an icon menu from a list of child components. - icon-menu - com.liferay.taglib.ui.IconMenuTag - JSP - - A CSS class for styling the component. - cssClass - false - true - - - A position from which to pop up the icon menu dialog in relation to the trigger. The default direction is left]]>. Possible values are up]]>, down]]>, left]]> or right]]>. - direction - false - true - - - Whether to disable the icon menu. - disabled - false - true - boolean - - - Whether to extend the icon menu trigger by wrapping it in a button. The default value is true]]>. - extended - false - true - boolean - - - The location of an image file to use in the icon. - icon - false - true - - - An ID for the component instance. - id - false - true - - - Whether to translate the message to the user's language. The default value is true]]>. - localizeMessage - false - true - boolean - - - The number of items to show in the icon menu before scrolling. The default value is 15. - maxDisplayItems - false - true - int - - - Text to display next to the icon menu trigger. The default value is actions]]>. - message - false - true - - - Whether to add the select]]> CSS class to the icon menu. If set to true]]>, the selected icon is added to the icon menu's trigger when the icon is selected. The default value is false]]>. - select - false - true - boolean - - - Whether to extend the icon menu by default. The default value is false]]>. - showExpanded - false - true - boolean - - - Whether to show an arrow, indicating a popup dialog, next to the icon menu's trigger icon. The default value is true]]>. - showArrow - false - true - boolean - - - Whether to show the icon menu when there is only one icon. The default value is false]]>. - showWhenSingleIcon - false - true - boolean - - - A CSS class for styling the trigger for the icon menu. The default value is btn btn-default]]>. - triggerCssClass - false - true - - - Whether the icon menu drop-down caret points to the direction set by the direction]]> attribute. - useIconCaret - false - true - boolean - - - - input-asset-links - com.liferay.taglib.ui.InputAssetLinksTag - JSP - - assetEntryId - false - true - - - className - false - true - - - classPK - false - true - - - - Creates a configurable input checkbox. - input-checkbox - com.liferay.taglib.ui.InputCheckBoxTag - JSP - - A CSS class for styling the component. - cssClass - false - true - - - Whether the checkbox is selected by default. - defaultValue - false - true - boolean - - - Whether the checkbox is disabled. - disabled - false - true - boolean - - - A name for the checkbox's form. - formName - false - true - - - An ID for the component instance. - id - false - true - - - A function to be called on a user clicking the checkbox. - onClick - false - true - - - A variable name for the component. - param - true - true - - - - Creates a date input field that displays a calendar for date selection. - input-date - com.liferay.taglib.ui.InputDateTag - JSP - - Whether the date field gets focus by default. The default value is false]]>. - autoFocus - false - true - boolean - - - A CSS class for styling the component. - cssClass - false - true - - - A variable name to refer to the day of the component. - dayParam - false - true - - - A day value to display in the input field. - dayValue - false - true - int - - - Whether to disable the namespace for the component. The default value is false]]>. - disableNamespace - false - true - boolean - - - Whether to disable the input field. The default value is false]]>. - disabled - false - true - boolean - - - A day to set as the first day of the week. The default value is Calendar.SUNDAY - 2]]>. - firstDayOfWeek - false - true - int - - - A name for the date input's form. - formName - false - true - - - A variable name to refer to the combined month and year of the component. - monthAndYearParam - false - true - - - A variable name to refer to the month of the component. - monthParam - false - true - - - The numerical value for a month to display in the input field. Integer values for the month start with 0]]>. - monthValue - false - true - int - - - A name for the date input. - name - false - true - - - Whether the component's values can be set to null. - nullable - false - true - - - A variable name to refer to the year of the component. - yearParam - false - true - - - A year value to display in the input field. - yearValue - false - true - int - - - - Creates an input field for editing rich text. - input-editor - com.liferay.taglib.ui.InputEditorTag - JSP - - A map of configuration parameters. The map holds key value pairs of type <String, String>]]>. - configParams - false - true - java.util.Map - - - The ID of a language for the input editor's text. - contentsLanguageId - false - true - - - A CSS class for styling the component. - cssClass - false - true - - - editorImpl - false - true - - - inlineEdit - false - true - - - inlineEditSaveURL - false - true - - - A map of configuration parameters. The map holds key value pairs of <String, String>]]>. - fileBrowserParams - false - true - java.util.Map - - - height - false - true - - - initMethod - false - true - - - A name for the input editor. The default value is editor]]>. - name - false - true - - - A function to be called when the input editor loses focus. - onBlurMethod - false - true - - - A function to be called on a change in the input editor. - onChangeMethod - false - true - - - A function to be called when the input editor gets focus. - onFocusMethod - false - true - - - Whether the field for the input editor is resizable. The default value is true]]>. - resizable - false - true - boolean - - - Whether to skip loading resources necessary for the CKEditor. The default value is false]]>. - skipEditorLoading - false - true - boolean - - - A toolbar for the input editor. The default value is liferay]]>. Possible values are bbcode]]>, creole]]>, editInPlace]]>, email]]>, liferay]]>, liferayArticle]]>, phone]]>, simple]]>, and tablet]]>. - toolbarSet - false - true - - - width - false - true - - - - input-field - com.liferay.taglib.ui.InputFieldTag - JSP - - autoFocus - false - true - - - autoSize - false - true - - - bean - false - true - - - cssClass - false - true - - - dateTogglerCheckboxLabel - false - true - - - defaultLanguageId - false - true - - - defaultValue - false - true - - - disabled - false - true - - - field - true - true - - - fieldParam - false - true - - - formName - false - true - - - format - false - true - - - id - false - true - - - ignoreRequestValue - false - true - - - languageId - false - true - - - model - true - true - - - placeholder - false - true - - - - input-localized - com.liferay.taglib.ui.InputLocalizedTag - JSP - - autoFocus - false - true - - - autoSize - false - true - - - availableLocales - false - true - - - cssClass - false - true - - - defaultLanguageId - false - true - - - disabled - false - true - - - displayWidth - false - true - - - formName - false - true - - - id - false - true - - - ignoreRequestValue - false - true - - - languageId - false - true - - - maxLength - false - true - - - name - true - true - - - type - false - true - - - xml - true - true - - true - - - Creates an input move boxes component comprised of two columns of key value pairs that can be rearranged. - input-move-boxes - com.liferay.taglib.ui.InputMoveBoxesTag - JSP - - A CSS class for styling the component. - cssClass - false - true - - - A name for the left box. - leftBoxName - true - true - - - A list of key value pairs for the left box. - leftList - true - true - java.util.List - - - A function to be called on a change in selection in the left list. - leftOnChange - false - true - - - Whether the left list can be reordered. The default value is false]]>. - leftReorder - false - true - boolean - - - A title to display at the top of the right box. - leftTitle - true - true - - - A name for the right box. - rightBoxName - true - true - - - A list of key value pairs for the right box. - rightList - true - true - java.util.List - - - A function to be called on a change in selection in the right list. - rightOnChange - false - true - - - Whether the right list can be reordered. The default value is false]]>. - rightReorder - false - true - boolean - - - A title to display at the top of the right box. - rightTitle - true - true - - - - input-permissions - com.liferay.taglib.ui.InputPermissionsTag - JSP - - formName - false - true - - - modelName - false - true - - - - input-permissions-params - com.liferay.taglib.ui.InputPermissionsParamsTag - JSP - - modelName - true - true - - - - input-repeat - com.liferay.taglib.ui.InputRepeatTag - JSP - - cssClass - false - true - - - event - false - true - - - - input-resource - com.liferay.taglib.ui.InputResourceTag - JSP - - cssClass - false - true - - - id - false - true - - - title - false - true - - - url - true - true - - - - input-scheduler - com.liferay.taglib.ui.InputSchedulerTag - JSP - - - Creates a configurable search box. - input-search - com.liferay.taglib.ui.InputSearchTag - JSP - - Whether the search field gets focus by default. The default value is false]]>. - autoFocus - false - true - boolean - - - A text value for the search button's label. The default value is Search]]>. - buttonLabel - false - true - - - A CSS class for styling the component. - cssClass - false - true - - - An ID for the component instance. The default value is displayTerms.KEYWORDS]]>. - id - false - true - - - A name for the search box. The default value is displayTerms.KEYWORDS]]>. - name - false - true - - - Placeholder text for the search field. The default value is the value of the buttonLabel]]> attribute. - placeholder - false - true - - - Whether to show the search button. The default value is true]]>. - showButton - false - true - boolean - - - A title for the search box. - title - false - true - - - Whether to use a namespace with the search button. The default value is true]]>. - useNamespace - false - true - boolean - - - - Creates a select input component with yes or no options. - input-select - com.liferay.taglib.ui.InputSelectTag - JSP - - A CSS class for styling the component. - cssClass - false - true - - - Whether to select yes]]> as the input's default value. - defaultValue - false - true - boolean - - - Whether to disable input. - disabled - false - true - boolean - - - A name for the input select's form. - formName - false - true - - - A variable name for the component. - param - true - true - - - - Creates a configurable text area input field. - input-textarea - com.liferay.taglib.ui.InputTextAreaTag - JSP - - A CSS class for styling the component. - cssClass - false - true - - - Text to display in the text area. - defaultValue - false - true - - - Whether to disable input. The default value is false]]>. - disabled - false - true - boolean - - - A variable name for the component. - param - true - true - - - - Creates a time input field that provides a scrollable dropdown list of hours, in intervals designated by the minuteInterval]]> attribute. - input-time - com.liferay.taglib.ui.InputTimeTag - JSP - - The name of the AM/PM parameter for the time input. An acceptable value is ampm]]>. - amPmParam - true - true - - - A time to AM or PM. Acceptable values are 0]]> for AM and 1]]> for PM. The default value is 0]]>. - amPmValue - false - true - int - - - A CSS class for styling the time input. - cssClass - false - true - - - A date parameter for the time input. An acceptable value is date]]>. - dateParam - false - true - - - A date to associate with the time displayed. - dateValue - false - true - java.util.Date - - - Whether the input field is disabled. - disabled - false - true - boolean - - - The name of the hour parameter for the component. An acceptable value is hour]]>. - hourParam - true - true - - - An hour value for the time displayed. The default value is 12]]>. - hourValue - false - true - int - - - A minute interval displayed in the input. The default value is 30]]>. - minuteInterval - false - true - int - - - The name of the minute parameter for the component. An acceptable value is minute]]>. - minuteParam - true - true - - - A minute value for the time displayed. The default value is 00]]>. - minuteValue - false - true - int - - - A name for the time input. - name - false - true - - - - Creates a configurable timezone drop-down menu. - input-time-zone - com.liferay.taglib.ui.InputTimeZoneTag - JSP - - Whether the field gets focus by default. - autoFocus - false - true - boolean - - - A CSS class for styling the component. - cssClass - false - true - - - Whether to consider daylight savings for the times. The default value is true]]>. - daylight - false - true - boolean - - - Whether the field is disabled. - disabled - false - true - boolean - - - A style number corresponding to the time zone. A value of 0]]> displays the time zone's abbreviated name and a value of 1]]> displays its full name, e.g. "Pacific Standard Time." The default value is 0]]>. - displayStyle - false - true - int - - - A name for the component. - name - true - true - - - Whether the times can be null. - nullable - false - true - boolean - - - The ID of a time zone to associate with the component. For example, setting the value to PST]]> associates the component with the Pacific Standard Time zone. - value - false - true - - - - journal-article - com.liferay.taglib.ui.JournalArticleTag - JSP - - articleId - false - true - - - articlePage - false - true - - - articleResourcePrimKey - false - true - - - groupId - false - true - - - languageId - false - true - - - showAvailableLocales - false - true - - - showTitle - false - true - - - templateId - false - true - - - xmlRequest - false - true - - - - journal-content-search - com.liferay.taglib.ui.JournalContentSearchTag - JSP - - showListed - false - true - - - targetPortletId - false - true - - - type - false - true - - - - language - com.liferay.taglib.ui.LanguageTag - JSP - - displayCurrentLocale - false - true - - - displayStyle - false - true - - - formAction - false - true - - - formName - false - true - - - languageId - false - true - - - languageIds - false - true - - - name - false - true - - - - logo-selector - com.liferay.taglib.ui.LogoSelectorTag - JSP - - currentLogoURL - false - true - - - defaultLogoURL - false - true - - - editLogoURL - false - true - - - imageId - false - true - - - logoDisplaySelector - false - true - - - showBackground - false - true - - - - membership-policy-error - com.liferay.taglib.ui.MembershipPolicyErrorTag - JSP - - - Creates a message to display to the user. - message - com.liferay.taglib.ui.MessageTag - JSP - - Arguments for the language key, if the language key is configured to recieve arguments. - arguments - false - true - - - The name of a language key from which to derive the message to be displayed. - key - true - true - - - Whether to translate the language key value into the user's language. The default value is true]]>. - localizeKey - false - true - boolean - - - Whether to translate the arguments into the user's language. The default value is true]]>. - translateArguments - false - true - boolean - - - unicode - false - true - boolean - - - - my-sites - com.liferay.taglib.ui.MySitesTag - JSP - - classNames - false - true - - - cssClass - false - true - - - includeControlPanel - false - true - - - max - false - true - - - - navigation - com.liferay.taglib.ui.NavigationTag - JSP - - bulletStyle - false - true - - - displayStyle - false - true - - - headerType - false - true - - - includedLayouts - false - true - - - nestedChildren - false - true - - - preview - false - true - - - rootLayoutLevel - false - true - - - rootLayoutType - false - true - - - - Creates a page iterator for paginating through lists of items. - page-iterator - com.liferay.taglib.ui.PageIteratorTag - JSP - - Which page of items to display (e.g., first, second, third, etc.). - cur - true - true - int - - - A variable name to refer to the cur]]> value of the component. - curParam - true - true - - - The number of items to display per page. - delta - false - true - int - - - Whether the user can choose the number of items displayed per page. The default value is false]]>. - deltaConfigurable - false - true - boolean - - - A variable name to refer to the delta value of the component. - deltaParam - false - true - - - A name for the form. - formName - false - true - - - An ID for the component instance. - id - false - true - - - JavaScript to be called when the first]]>, previous]]>, next]]>, or last]]> links are clicked if the URL property is not set. - jsCall - false - true - - - A maximum number of pages to iterate through. - maxPages - false - true - int - - - A target for the first]]>, previous]]>, next]]>, and last]]> link buttons. - target - false - true - - - The total number of items in the iterator. - total - true - true - int - - - A type of iterator to display. Options are approximate]]>, article]]>, more]]>, and regular]]>. - type - false - true - - - A base URL for the iterator. Parameters are added to and removed from this URL as the user navigates through pages. - url - false - true - - - - Creates a collapsible panel for housing content. - panel - com.liferay.taglib.ui.PanelTag - JSP - - Whether the panel can be collapsed. The default value is true]]>. - collapsible - false - true - boolean - - - A CSS class for styling the component. - cssClass - false - true - - - A default state for the component. Possible values are open]]> and any string other than open. Any string other than open]]> collapses the panel. The default value is open]]>. - defaultState - false - true - - - Whether the panel is extended. The default value is false]]>. - extended - false - true - boolean - - - Text to display as a help tool tip on mouse over of the panel's help icon. - helpMessage - false - true - - - An icon to display next to the panel's title. The icon can be specified using the name of one of the Bootstrap icon CSS classes found at http://marcoceppi.github.io/bootstrap-glyphicons/]]>. - iconCssClass - false - true - - - An ID for the component instance. - id - false - true - - - The ID of the component that contains the panel. If a liferay-ui:panel-container]]> is used as the container for the panel, its ID is used as the value for the parentID]]>. - parentId - false - true - - - Whether to remember the component's state and persist it to the database. The default value is false]]>. - persistState - false - true - boolean - - - A state for the component. Possible values are open]]> and any string other than open. Any string other than open]]> collapses the panel. - state - false - true - - - A title to display at the top of the panel. - title - true - true - - - - Creates a collapsible container to house liferay-ui:panel]]> components. - panel-container - com.liferay.taglib.ui.PanelContainerTag - JSP - - Whether only one panel can be shown at a time. As one panel is opened, the others close, creating an accordian effect. The default value is false]]>. - accordion - false - true - boolean - - - A CSS class for styling the component. - cssClass - false - true - - - Whether to extend the interface with additional styling. The default value is false]]>. - extended - false - true - boolean - - - An ID for the component instance. - id - false - true - - - Whether to remember the component's state and persist it to the database. The default value is false]]>. - persistState - false - true - boolean - - - - param - com.liferay.taglib.util.ParamTag - JSP - - name - true - true - - - value - true - true - - - - Renders a PNG image with the source given for the image]]> attribute. - png-image - com.liferay.taglib.ui.PngImageTag - JSP - - The height of the image in pixels. A possible value would be 16]]>. px]]> is then appended to the end of the value. - height - true - true - int - - - The location of a PNG image file to use. - image - true - true - - - The height of the image in pixels. A possible value would be 16]]>. px]]> is then appended to the end of the value. - width - true - true - int - - - - progress - com.liferay.taglib.ui.ProgressTag - JSP - - height - false - true - - - id - true - true - - - message - false - true - - - sessionKey - true - true - - - updatePeriod - false - true - - - - ratings - com.liferay.taglib.ui.RatingsTag - JSP - - className - true - true - - - classPK - true - true - - - numberOfStars - false - true - - - ratingsEntry - false - true - - - ratingsStats - false - true - - - type - false - true - - - url - false - true - - - - ratings-score - com.liferay.taglib.ui.RatingsScoreTag - JSP - - score - true - true - - - - restore-entry - com.liferay.taglib.ui.RestoreEntryTag - JSP - - duplicateEntryAction - false - true - - - overrideMessage - false - true - - - renameMessage - false - true - - - restoreEntryAction - false - true - - - - Creates a clickable link and/or icon to an RSS feed document. - rss - com.liferay.taglib.ui.RSSTag - JSP - - A default maximum number of items to display. The default value is 20]]>. - delta - false - true - int - - - A default style to display. - displayStyle - false - true - - - A default format for the RSS feed. Options are atom_1.0]]>, rss_1.0]]>, and rss_2.0]]>. - feedType - false - true - - - A message to display next to the RSS icon. - message - false - true - - - A name for the RSS feed. - name - false - true - - - A URL from which to retrieve feed information. - resourceURL - false - true - - - The URL for an RSS feed file. - url - false - true - - - - Creates a configuration component for users to define RSS settings, such as how many articles to display. - rss-settings - com.liferay.taglib.ui.RSSSettingsTag - JSP - - A default maximum number of items to display. The default value is 20]]>. - delta - false - true - int - - - A default style to display. - displayStyle - false - true - - - Available RSS display styles from which the user can choose. Options are abstract]]>, full-content]]>, and title]]>. - displayStyles - false - true - - - Whether users are able to subscribe. Default value is false]]>. - enabled - false - true - boolean - - - A default format for the RSS feed. Options are atom_1.0]]>, rss_1.0]]>, and rss_2.0]]>. - feedType - false - true - - - A name for the component. - name - false - true - - - Whether the RSS feed has a name. The default value is false]]>. - nameEnabled - false - true - boolean - - - - Creates a search form, with an additional select input to set the scope of the search. - search - com.liferay.taglib.ui.SearchTag - JSP - - - Creates a grid for displaying a list of objects and their properties. - search-container - com.liferay.taglib.ui.SearchContainerTag - com.liferay.taglib.ui.SearchContainerTei - JSP - - A variable for the search container's pagination. Different pagination variables ensure independent pagination when multiple search containers are on a JSP. - curParam - false - true - - - The number of items to show on each search container page. - delta - false - true - int - - - The delta]]> attribute as configurable by users. - deltaConfigurable - false - true - - - deltaParam - false - true - - - displayTerms - false - true - - - A message displayed when the search container is empty. - emptyResultsMessage - false - true - - - headerNames - false - true - - - hover - false - true - - - id - false - true - - - iteratorURL - false - true - - - orderByCol - false - true - - - orderByColParam - false - true - - - orderByComparator - false - true - - - An order type for the columns, either ascending or descending. Values are asc]]> or desc]]>. - orderByType - false - true - - - orderByTypeParam - false - true - - - Inserts a checkbox column in the search container. Value must be a RowChecker]]> object. - rowChecker - false - true - - - searchContainer - false - true - - - searchTerms - false - true - - - The total number of objects in the search container. - total - false - true - int - - - A variable name for the results of the total]]> attribute. The default is total]]>. - totalVar - false - true - - - A variable name for the SearchContainer]]> object. The default is searchContainer]]>. - var - false - true - - - - search-container-column-button - com.liferay.taglib.ui.SearchContainerColumnButtonTag - JSP - - align - false - true - - - colspan - false - true - - - cssClass - false - true - - - href - true - true - - - index - false - true - - - name - false - true - - - valign - false - true - - - - Creates a date column in a search container. - search-container-column-date - com.liferay.taglib.ui.SearchContainerColumnDateTag - JSP - - A horizontal alignment for the column contents. The default is left]]>. - align - false - true - - - The number of columns to span. The default is 1]]>. - colspan - false - true - int - - - A CSS class for styling the column. - cssClass - false - true - - - A URL for the items in the column. - href - false - true - - - index - false - true - - - A name for the column. - name - false - true - - - Whether to set the column as sortable. The default value is false]]>. - orderable - false - true - boolean - - - An object's property by which to sort the column. - orderableProperty - false - true - - - A property to request from the row object. - property - false - true - - - A vertical alignment for the column contents. The default is middle]]>. - valign - false - true - - - A value for the column. - value - false - true - - - - Creates a column in a search container with the contents of a JSP file. - search-container-column-jsp - com.liferay.taglib.ui.SearchContainerColumnJSPTag - JSP - - A horizontal alignment for the column contents. The default is left]]>. - align - false - true - - - The number of columns to span. The default is 1]]>. - colspan - false - true - int - - - A CSS class for styling the column. - cssClass - false - true - - - index - false - true - - - name - false - true - - - The JSP file's location. - path - true - true - - - valign - false - true - - - - Creates a column in a search container for the workflow status. - search-container-column-status - com.liferay.taglib.ui.SearchContainerColumnStatusTag - JSP - - A horizontal alignment for the column contents. The default is left]]>. - align - false - true - - - The number of columns to span. The default is 1]]>. - colspan - false - true - int - - - A CSS class for styling the column. - cssClass - false - true - - - A URL for the column's contents. - href - false - true - - - index - false - true - - - name - false - true - - - Whether to set the column as sortable. The default value is false]]>. - orderable - false - true - boolean - - - An object's property by which to sort the column. - orderableProperty - false - true - - - An object's property to use for the column. - property - false - true - - - A vertical alignment for the column contents. The default is middle]]>. - valign - false - true - - - A workflow status for the item. - status - false - true - - - statusByUserId - false - true - - - statusDate - false - true - - - - Creates a text column in a search container. - search-container-column-text - com.liferay.taglib.ui.SearchContainerColumnTextTag - com.liferay.taglib.ui.SearchContainerColumnTextTei - JSP - - A horizontal alignment for the column contents. - align - false - true - - - A string buffer variable for constructing a URL in a scriptlet. - buffer - false - true - - - The number of columns to span. The default is 1]]>. - colspan - false - true - int - - - A CSS class for styling the column. - cssClass - false - true - - - href - false - true - - - index - false - true - - - name - false - true - - - Whether to set the column as sortable. The default value is false]]>. - orderable - false - true - boolean - - - An object's property by which to sort the column. - orderableProperty - false - true - - - property - false - true - - - target - false - true - - - title - false - true - - - Whether to automatically translate values. The default value is false]]>. - translate - false - true - boolean - - - A vertical alignment for the column contents. The default is middle]]>. - valign - false - true - - - value - false - true - - - - The list of objects to display in the search container. - search-container-results - com.liferay.taglib.ui.SearchContainerResultsTag - com.liferay.taglib.ui.SearchContainerResultsTei - JSP - - A list of objects to display in the search container. - results - false - true - - - A variable to use for the results. - resultsVar - false - true - - - Deprecated as of 6.2.0, replaced by liferay-ui:search-container#total - total - false - true - - - Deprecated as of 6.2.0, replaced by liferay-ui:search-container#totalVar - totalVar - false - true - - - - Creates rows in the search container for each object returned by liferay-ui:search-container-results]]>. - search-container-row - com.liferay.taglib.ui.SearchContainerRowTag - com.liferay.taglib.ui.SearchContainerRowTei - JSP - - bold - false - true - - - The class name of the objects to display in rows. - className - true - true - - - The returned model instances as HTML escaped. - escapedModel - false - true - - - A variable name to use for the rows' index. - indexVar - false - true - - - A property to use as the primary key for the object type in the className]]> attribute. - keyProperty - false - true - - - A variable name to use for each object as the search container iterates through the objects returned by liferay-ui:search-container-results]]>. - modelVar - false - true - - - A model property to use as the row ID. - rowIdProperty - false - true - - - A variable name to use for the rows. - rowVar - false - true - - - servletContext - false - true - - - stringKey - false - true - - - - Creates parameters for rows in the search container. The liferay-ui:search-container-row]]> tag is required. - search-container-row-parameter - com.liferay.taglib.ui.SearchContainerRowParameterTag - JSP - - A name for the row parameter. - name - true - true - - - A value for the row parameter. - value - true - true - - - - search-form - com.liferay.taglib.ui.SearchFormTag - JSP - - page - true - true - - - searchContainer - false - true - - - servletContext - false - true - - - showAddButton - false - true - - - - Creates a search results page iterator with an optional paginator. - search-iterator - com.liferay.taglib.ui.SearchIteratorTag - JSP - - Whether to add a liferay-ui:search-paginator]]> to the search container. The default value is true]]>. - paginate - false - true - boolean - - - All configurable properties of the search container, such as cur]]> and curParam]]>. These properties are set with searchContainer.getCur()]]> and searchContainer.getCurParam()]]> respectively. - searchContainer - false - true - - - A type of iterator to display. Options are approximate]]>, article]]>, more]]>, and regular]]>. - type - false - true - - - - Creates a page iterator to paginate through search results - search-paginator - com.liferay.taglib.ui.SearchPaginatorTag - JSP - - An ID for the component instance. - id - false - true - - - All configurable porperties of the search container, such as cur]]> and curParam]]>. These properties are set with searchContainer.getCur()]]> and searchContainer.getCurParam()]]> respectively. - searchContainer - true - true - - - A type of iterator to display. Options are approximate]]>, article]]>, more]]>, and regular]]>. - type - false - true - - - - search-speed - com.liferay.taglib.ui.SearchSpeedTag - JSP - - hits - true - true - - - searchContainer - true - true - - - - Creates a search instance that can be toggled between basic and advanced search. - search-toggle - com.liferay.taglib.ui.SearchToggleTag - JSP - - Whether the search input field is automatically focused. The default value is false]]>. - autoFocus - false - true - boolean - - - A label for the search button such as Search]]> or Go]]>. - buttonLabel - false - true - - - Terms to be used and displayed through the search instance. Term examples include keywords]]>, advancedSearch]]>, and description]]>. - displayTerms - true - true - - - The component instance's ID. - id - true - true - - - width - false - true - - - - section - com.liferay.taglib.ui.SectionTag - com.liferay.taglib.ui.SectionTei - JSP - - - sites-directory - com.liferay.taglib.ui.SitesDirectoryTag - JSP - - displayStyle - false - true - - - sites - false - true - - - - social-activities - com.liferay.taglib.ui.SocialActivitiesTag - JSP - - activities - false - true - - - className - false - true - - - classPK - false - true - - - displayRSSFeed - false - true - - - feedDelta - false - true - - - feedDisplayStyle - false - true - - - feedEnabled - false - true - - - feedLink - false - true - - - feedLinkMessage - false - true - - - feedTitle - false - true - - - feedType - false - true - - - - social-bookmark - com.liferay.taglib.ui.SocialBookmarkTag - JSP - - contentId - false - true - - - target - false - true - - - title - true - true - - - type - true - true - - - url - true - true - - - - social-bookmarks - com.liferay.taglib.ui.SocialBookmarksTag - JSP - - contentId - false - true - - - displayStyle - false - true - - - target - false - true - - - title - true - true - - - types - false - true - - - url - true - true - - - - staging - com.liferay.taglib.ui.StagingTag - JSP - - cssClass - false - true - - - extended - false - true - - - groupId - false - true - - - icon - false - true - - - layoutSetBranchId - false - true - - - message - false - true - - - onlyActions - false - true - - - privateLayout - false - true - - - selPlid - false - true - - - showManageBranches - false - true - - - - Creates a success message to display to the user. - success - com.liferay.taglib.ui.SuccessTag - empty - - A key to be placed in the SessionMessages]]> object to trigger the success message. - key - true - true - - - Explicit message text or the name of a language key from which to derive the message text. - message - true - true - - - Whether to translate the success message into the user's language. The default value is true]]>. - translateMessage - false - true - boolean - - - - table-iterator - com.liferay.taglib.ui.TableIteratorTag - com.liferay.taglib.ui.TableIteratorTei - JSP - - bodyPage - false - true - - - list - true - true - - - listType - true - true - - - rowBreak - false - true - - - rowLength - true - true - - - rowPadding - false - true - - - rowValign - false - true - - - width - false - true - - - - Creates a tabbed UI of section dividers that each house their own content. - tabs - com.liferay.taglib.ui.TabsTag - JSP - - - A label for the back URL. - backLabel - false - true - - - A URL for navigating back to. - backURL - false - true - - - A name for the tab's form. - formName - false - true - - - The names of the tabs. Each name must be separated by a comma with no spaces. - names - true - true - - - A function to be called on a user clicking any of the tabs. - onClick - false - true - - - A variable for the component. - param - false - true - - - A URL to refer to the portlet that contains the component. - portletURL - false - true - - - Whether the page refreshes when a tab is clicked. - refresh - false - true - boolean - - - Tab values that must follow the same order as the names]]> attribute. Each value must be separated by a comma with no spaces. - tabsValues - false - true - - - A design type for the tabs. Possible values are tabs]]> and pills]]>. - type - false - true - - - A URL to which all the tabs are linked when clicked. You can also set each tab's URL individually using url[number]]]> attribute. - url - false - true - - - url0 - false - true - - - A URL to which the second tab is linked when clicked. - url1 - false - true - - - A URL to which the third tab is linked when clicked - url2 - false - true - - - A URL to which the fourth tab is linked when clicked - url3 - false - true - - - A URL to which the fifth tab is linked when clicked - url4 - false - true - - - A URL to which the sixth tab is linked when clicked - url5 - false - true - - - A URL to which the seventh tab is linked when clicked - url6 - false - true - - - A URL to which the eighth tab is linked when clicked - url7 - false - true - - - A URL to which the ninth tab is linked when clicked - url8 - false - true - - - A URL to which the tenth tab is linked when clicked - url9 - false - true - - - An active tab from the value given in the attribute tabsValues]]>. No matter which tab a user selects, the tab given for this value always remains active. - value - false - true - - - - Creates a component that toggles the visibility of the content of the component matching the given id]]>. Default icons are used as the component's default mechanism for showing and hiding the content. - toggle - com.liferay.taglib.ui.ToggleTag - JSP - - Whether to initially show content by default. The default value is true]]>. - defaultShowContent - false - true - boolean - - - An icon to use as the mechanism for hiding the content. You can specify the location of an image file to use in the icon; otherwise a default icon is used. - hideImage - false - true - - - Text to display as a link for hiding the content. It overrides the hideImage]]> attribute. Note that the showMessage]]> attribute must also be configured in order for the hide message to render. - hideMessage - false - true - - - The ID of a component instance whose content's visibility to toggle. - id - true - true - - - An icon to use as the mechanism for showing the content. You can specify the location of an image file to use in the icon; otherwise a default icon is used. - showImage - false - true - - - A link to use as the mechanism for showing the content. The text value of this attribute is used as the link's text. The message takes precedence over showing an image, via the showImage]]> attribute. If you specify a showMessage]]> attribute, you should also specify the hideMessage]]> attribute; a null]]> is otherwise displayed for the text of the hide link. - showMessage - false - true - - - Text to be prefixed to the Toggle()]]> function that is called to toggle visibility of the content. If this is not configured, a random key is generated and prefixed to the Toggle()]]> function. For example, a value of run]]> would result in a function named runToggle()]]>. - stateVar - false - true - - - - toggle-area - com.liferay.taglib.ui.ToggleAreaTag - JSP - - align - false - true - - - defaultShowContent - false - true - - - hideImage - false - true - - - hideMessage - false - true - - - id - false - true - - - showImage - false - true - - - showMessage - false - true - - - stateVar - false - true - - - - toggle-value - com.liferay.taglib.ui.ToggleValueTag - JSP - - defaultValue - false - true - - - id - true - true - - - - Creates a component for users to permanently delete items such as images, articles, etc. from the recycle bin. - trash-empty - com.liferay.taglib.ui.TrashEmptyTag - empty - - A message to display to confirm that the user wants to remove the item(s) from the recycle bin. - confirmMessage - false - true - - - A message to be used for the empty-trash]]> button and link. - emptyMessage - false - true - - - A message to display to give users information about removing items from the recycle bin. - infoMessage - false - true - - - A URL for the empty-trash]]> button/link. - portletURL - true - true - - - The number of items to be removed from the recycle bin. - totalEntries - true - true - int - - - - Creates a message confirming items were moved to the recycle bin and presenting an option to restore them. - trash-undo - com.liferay.taglib.ui.TrashUndoTag - empty - - The URL of the undo link. - portletURL - true - true - - - A redirect URL. - redirect - false - true - - - - upload-progress - com.liferay.taglib.ui.UploadProgressTag - JSP - - height - false - true - - - id - true - true - - - message - false - true - - - redirect - false - true - - - updatePeriod - false - true - - - - user-display - com.liferay.taglib.ui.UserDisplayTag - com.liferay.taglib.ui.UserDisplayTei - JSP - - displayStyle - false - true - - - url - false - true - - - userId - true - true - - - userName - false - true - - - - user-search - com.liferay.taglib.ui.UserSearchTag - JSP - - portletURL - true - true - - - rowChecker - false - true - - - userParams - true - true - - - - webdav - com.liferay.taglib.ui.WebDAVTag - JSP - - path - true - true - - - - write - com.liferay.taglib.ui.WriteTag - JSP - - bean - true - true - - - property - true - true - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/tld/liferay-util.tld b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/tld/liferay-util.tld deleted file mode 100644 index 72a4caf0..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/tld/liferay-util.tld +++ /dev/null @@ -1,141 +0,0 @@ - - - - - 1.2 - 1.1 - liferay-util - http://liferay.com/tld/util - - body-bottom - com.liferay.taglib.util.BodyBottomTag - JSP - - outputKey - false - true - - - - body-top - com.liferay.taglib.util.BodyTopTag - JSP - - outputKey - false - true - - - - buffer - com.liferay.taglib.util.BufferTag - com.liferay.taglib.util.BufferTei - JSP - - var - true - true - - - - get-url - com.liferay.taglib.util.GetUrlTag - com.liferay.taglib.util.GetUrlTei - JSP - - expires - false - true - - - url - true - true - - - var - false - true - - - - html-bottom - com.liferay.taglib.util.HtmlBottomTag - JSP - - outputKey - false - true - - - position - false - true - - - - html-top - com.liferay.taglib.util.HtmlTopTag - JSP - - outputKey - false - true - - - position - false - true - - - - include - com.liferay.taglib.util.IncludeTag - JSP - - page - true - true - - - portletId - false - true - - - servletContext - false - true - - - strict - false - true - - - useCustomPage - false - true - - - - param - com.liferay.taglib.util.ParamTag - JSP - - name - true - true - - - value - true - true - - - - whitespace-remover - com.liferay.taglib.util.WhitespaceRemoverTag - JSP - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/web.xml b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/web.xml deleted file mode 100644 index 1aa8cdb8..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/WEB-INF/web.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/css/main.css b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/css/main.css deleted file mode 100644 index e69de29b..00000000 diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/html/init.jsp b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/html/init.jsp deleted file mode 100644 index 037b2dac..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/html/init.jsp +++ /dev/null @@ -1,11 +0,0 @@ -<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %> -<%@taglib uri="http://liferay.com/tld/aui" prefix="aui" %> -<%@taglib uri="http://liferay.com/tld/portlet" prefix="liferay-portlet" %> -<%@taglib uri="http://liferay.com/tld/security" prefix="liferay-security" %> -<%@taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme" %> -<%@taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui" %> -<%@taglib uri="http://liferay.com/tld/util" prefix="liferay-util" %> - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/html/view.jsp b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/html/view.jsp deleted file mode 100644 index e6541b30..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/html/view.jsp +++ /dev/null @@ -1,70 +0,0 @@ -<%@page import="it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil"%> -<%@page import="it.tref.liferay.portos.bo.service.TerritorioLocalServiceUtil"%> -<%@page import="java.util.List"%> -<%@page import="java.util.ArrayList"%> -<%@page import="java.util.Comparator"%> -<%@page import="java.util.Collections"%> -<%@page import="java.util.Map"%> -<%@page - import="it.tref.liferay.portos.portosimport.service.FeDettPraticaLocalServiceUtil"%> -<%@page import="it.tref.liferay.portos.portosimport.model.FeDettPratica"%> -<%@page - import="it.tref.liferay.portos.portosimport.service.BoDettPraticaLocalServiceUtil"%> -<%@page import="it.tref.liferay.portos.portosimport.model.BoDettPratica"%> -<%@page import="com.liferay.portal.kernel.dao.orm.QueryUtil"%> - -<%@include file="init.jsp"%> - -<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet"%> - - - - - -<% - int numTerritoriNonAssenganti = TerritorioLocalServiceUtil.countTerritori(0L, QueryUtil.ALL_POS); -%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - Tipologia - <%-- <% Map tipologie = TipoIntegrazioneUtil.getLabels(); - for (Map.Entry tipologia : tipologie.entrySet()){%> - - <%} %> --%> - - - - - - - - - - - - diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/icon.png b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/icon.png deleted file mode 100644 index 807b862c..00000000 Binary files a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/icon.png and /dev/null differ diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/js/main.js b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/docroot/js/main.js deleted file mode 100644 index e69de29b..00000000 diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/ivy.xml b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/ivy.xml deleted file mode 100644 index 3474ae8c..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/ivy.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/test/integration/arquillian.xml b/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/test/integration/arquillian.xml deleted file mode 100644 index 9413609b..00000000 --- a/liferay-plugins-sdk-6.2/portlets/portos-plugin-importazione-portlet/test/integration/arquillian.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - 8099 - tomcat - tomcat - - - \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-report-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/report/service/impl/ReportTaskManagerServiceImpl.java b/liferay-plugins-sdk-6.2/portlets/portos-report-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/report/service/impl/ReportTaskManagerServiceImpl.java index 6a779f84..421a2c06 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-report-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/report/service/impl/ReportTaskManagerServiceImpl.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-report-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/report/service/impl/ReportTaskManagerServiceImpl.java @@ -28,29 +28,10 @@ import com.liferay.portal.kernel.util.MimeTypesUtil; import com.liferay.portal.kernel.util.StreamUtil; import com.liferay.portal.kernel.util.StringPool; import com.liferay.portal.kernel.util.StringUtil; -import com.liferay.portal.kernel.util.Validator; -import com.liferay.portal.model.Role; -import com.liferay.portal.model.RoleConstants; -import com.liferay.portal.model.User; -import com.liferay.portal.security.auth.PrincipalThreadLocal; import com.liferay.portal.security.permission.ActionKeys; -import com.liferay.portal.security.permission.PermissionChecker; -import com.liferay.portal.security.permission.PermissionCheckerFactoryUtil; -import com.liferay.portal.security.permission.PermissionThreadLocal; -import com.liferay.portal.service.RoleLocalServiceUtil; import com.liferay.portal.service.ServiceContext; -import com.liferay.portal.service.UserLocalServiceUtil; -import com.liferay.portlet.documentlibrary.DuplicateFileException; -import com.liferay.portlet.documentlibrary.NoSuchFileEntryException; -import com.liferay.portlet.documentlibrary.service.DLAppHelperLocalServiceUtil; import com.liferay.portlet.documentlibrary.service.DLAppLocalServiceUtil; -import com.liferay.portlet.documentlibrary.service.DLAppServiceUtil; -import com.liferay.portlet.documentlibrary.service.DLContentLocalServiceUtil; import com.liferay.portlet.documentlibrary.service.DLFileEntryLocalServiceUtil; -import com.liferay.portlet.documentlibrary.util.DLAppHelperThreadLocal; -import com.liferay.portlet.documentlibrary.util.DLProcessorRegistryUtil; -import com.liferay.portlet.trash.service.TrashEntryLocalServiceUtil; - import it.tref.liferay.portos.report.html.core.HtmlToPdfEngine; import it.tref.liferay.portos.report.jasper.core.provider.JasperPdfProvider; import it.tref.liferay.portos.report.jasper.core.report.BeanReport; @@ -194,41 +175,10 @@ public class ReportTaskManagerServiceImpl extends ReportTaskManagerServiceBaseIm String fileName = title + StringPool.PERIOD + "pdf"; String mimeType = MimeTypesUtil.getContentType(fileName); - // se è già presente lo cancello - // FileEntry fileEntry = null; - // try { - // fileEntry = - // DLAppLocalServiceUtil.getFileEntry(groupId, - // folderId, - // title); - // } catch (PortalException e) { - // } - // if (Validator.isNotNull(fileEntry)) { - // _log.info("Cancello file entry " + - // fileEntry.getFileEntryId()); - // - // Role role = RoleLocalServiceUtil.getRole(companyId, - // RoleConstants.ADMINISTRATOR); - // User user = - // UserLocalServiceUtil.getRoleUsers(role.getRoleId(), 0, - // 1).get(0); - // PermissionChecker permissionChecker = - // PermissionCheckerFactoryUtil.create(user); - // - // PrincipalThreadLocal.setName(user.getUserId()); - // PermissionThreadLocal.setPermissionChecker(permissionChecker); - // - // DLAppServiceUtil.deleteFileEntry(fileEntry.getFileEntryId()); - // DLAppLocalServiceUtil.deleteFileEntry(fileEntry.getFileEntryId()); - // - // DLAppHelperLocalServiceUtil.deleteFileEntry(fileEntry); - // } - - // inserimento con permessi di view per site member - ServiceContext serviceContext = new ServiceContext(); serviceContext.setCompanyId(companyId); serviceContext.setUserId(userId); + serviceContext.setGroupPermissions(new String[] { ActionKeys.VIEW }); _log.info("addFileEntry userId=" + userId + ", repositoryId=" + repositoryId + ", folderId=" + folderId + ", sourceFileName=" + fileName + ", mimeType=" + mimeType + ", title=" @@ -240,7 +190,6 @@ public class ReportTaskManagerServiceImpl extends ReportTaskManagerServiceBaseIm fileName, mimeType, title, StringPool.BLANK, StringPool.BLANK, false, bytes, serviceContext); } catch (PortalException e) { - serviceContext.setGroupPermissions(new String[] { ActionKeys.VIEW }); fileEntry = DLAppLocalServiceUtil.addFileEntry(userId, repositoryId, folderId, fileName, mimeType, title, StringPool.BLANK, StringPool.BLANK, bytes, serviceContext); } diff --git a/liferay-plugins-sdk-6.2/portlets/portos-report-portlet/docroot/WEB-INF/src/service.properties b/liferay-plugins-sdk-6.2/portlets/portos-report-portlet/docroot/WEB-INF/src/service.properties index dadb7231..153051e8 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-report-portlet/docroot/WEB-INF/src/service.properties +++ b/liferay-plugins-sdk-6.2/portlets/portos-report-portlet/docroot/WEB-INF/src/service.properties @@ -13,8 +13,8 @@ ## build.namespace=portos_rep - build.number=22 - build.date=1600955423028 + build.number=24 + build.date=1601549245732 build.auto.upgrade=true ## diff --git a/liferay-plugins-sdk-6.2/shared/portos-bo-shared/src/it/tref/liferay/portos/bo/shared/util/DocumentiPraticaUtil.java b/liferay-plugins-sdk-6.2/shared/portos-bo-shared/src/it/tref/liferay/portos/bo/shared/util/DocumentiPraticaUtil.java index db29ecc5..8467b21b 100644 --- a/liferay-plugins-sdk-6.2/shared/portos-bo-shared/src/it/tref/liferay/portos/bo/shared/util/DocumentiPraticaUtil.java +++ b/liferay-plugins-sdk-6.2/shared/portos-bo-shared/src/it/tref/liferay/portos/bo/shared/util/DocumentiPraticaUtil.java @@ -26,25 +26,15 @@ public class DocumentiPraticaUtil { public final static String TIPOLOGIA_ALLEGATO_A13 = "A13"; public final static String TIPOLOGIA_ALLEGATO_A14 = "A14"; public final static String TIPOLOGIA_ALLEGATO_A15 = "A15"; - // public final static String TIPOLOGIA_ALLEGATO_A15_SANATORIA = "A15"; - // public final static String TIPOLOGIA_ALLEGATO_A16_SANATORIA = "A16"; public final static String TIPOLOGIA_ALLEGATO_A17 = "A17"; public final static String TIPOLOGIA_ALLEGATO_ALTRI = "A99"; public final static String TIPOLOGIA_ALLEGATO_DELEGA = "A98"; - public final static String TIPOLOGIA_ALLEGATO_A00_PORTOS_1 = "A0P"; public final static String TIPOLOGIA_ALLEGATO_DOMANDA = "111"; - public final static String TIPOLOGIA_ALLEGATO_INTEGRAZIONE_PORTOS_1 = "111I"; - public final static String TIPOLOGIA_ALLEGATO_ANNULLAMENTO_PORTOS_1 = "111A"; - public final static String TIPOLOGIA_ALLEGATO_VARIAZIONE_SOGGETTO_PORTOS_1 = "111VS"; public final static String TIPOLOGIA_ALLEGATO_FINE_LAVORI = "111F"; public final static String TIPOLOGIA_ALLEGATO_FINE_LAVORI_PARZIALE = "111FP"; public final static String TIPOLOGIA_ALLEGATO_COLLAUDO = "111C"; public final static String TIPOLOGIA_ALLEGATO_COLLAUDO_PARZIALE = "111CP"; - // public final static String TIPOLOGIA_ALLEGATO_DOMANDA_NON_FIRMATA = - // "DNF"; - public final static String TIPOLOGIA_ALLEGATO_CERTIFICATO_CALCESTRUZZO_PORTOS_1 = "CCA"; - public final static String TIPOLOGIA_ALLEGATO_CERTIFICATO_ACCIAIO_PORTOS_1 = "CAC"; public final static String TIPOLOGIA_ALLEGATO_GIORNALE_LAVORI = "AGL"; public final static String TIPOLOGIA_ALLEGATO_CERTIFICATO_CALCESTRUZZO = "ACC"; @@ -91,15 +81,12 @@ public class DocumentiPraticaUtil { docUnici.add(TIPOLOGIA_ALLEGATO_A11); docUnici.add(TIPOLOGIA_ALLEGATO_A12); docUnici.add(TIPOLOGIA_ALLEGATO_A14); - // docUnici.add(TIPOLOGIA_ALLEGATO_A15_SANATORIA); - // docUnici.add(TIPOLOGIA_ALLEGATO_A16_SANATORIA); return docUnici; } public static List getDocObbligatori() { List docObbligatori = new ArrayList(); docObbligatori.add(TIPOLOGIA_ALLEGATO_A00); - // docObbligatori.add(TIPOLOGIA_ALLEGATO_A01); docObbligatori.add(TIPOLOGIA_ALLEGATO_A02); docObbligatori.add(TIPOLOGIA_ALLEGATO_A03); docObbligatori.add(TIPOLOGIA_ALLEGATO_A04); @@ -109,13 +96,10 @@ public class DocumentiPraticaUtil { docObbligatori.add(TIPOLOGIA_ALLEGATO_A08); docObbligatori.add(TIPOLOGIA_ALLEGATO_A09); docObbligatori.add(TIPOLOGIA_ALLEGATO_A10); - // docObbligatori.add(TIPOLOGIA_ALLEGATO_A11); - // docObbligatori.add(TIPOLOGIA_ALLEGATO_A12); docObbligatori.add(TIPOLOGIA_ALLEGATO_A13); docObbligatori.add(TIPOLOGIA_ALLEGATO_A14); docObbligatori.add(TIPOLOGIA_ALLEGATO_A15); docObbligatori.add(TIPOLOGIA_ALLEGATO_A17); - // docObbligatori.add(TIPOLOGIA_ALLEGATO_ALTRI); docObbligatori.add(TIPOLOGIA_ALLEGATO_DELEGA); return docObbligatori; @@ -141,7 +125,6 @@ public class DocumentiPraticaUtil { doc.add(TIPOLOGIA_ALLEGATO_A02); doc.add(TIPOLOGIA_ALLEGATO_A03); doc.add(TIPOLOGIA_ALLEGATO_A04); - // doc.add(TIPOLOGIA_ALLEGATO_A05); Spostato in sez. geologica doc.add(TIPOLOGIA_ALLEGATO_A06); // Sia qui che in sez. geologica doc.add(TIPOLOGIA_ALLEGATO_A07); doc.add(TIPOLOGIA_ALLEGATO_A08); @@ -150,9 +133,6 @@ public class DocumentiPraticaUtil { doc.add(TIPOLOGIA_ALLEGATO_A11); doc.add(TIPOLOGIA_ALLEGATO_A12); doc.add(TIPOLOGIA_ALLEGATO_A13); - // doc.add(TIPOLOGIA_ALLEGATO_A14); Spostato in sez. geologica - // doc.add(TIPOLOGIA_ALLEGATO_A15_SANATORIA); - // doc.add(TIPOLOGIA_ALLEGATO_A16_SANATORIA); doc.add(TIPOLOGIA_ALLEGATO_A17); doc.add(TIPOLOGIA_ALLEGATO_ALTRI); doc.add(TIPOLOGIA_ALLEGATO_DELEGA); @@ -234,10 +214,6 @@ public class DocumentiPraticaUtil { public static List getDocUnivoci() { List doc = new ArrayList(); - // doc.add(TIPOLOGIA_ALLEGATO_A06); - // doc.add(TIPOLOGIA_ALLEGATO_A07); - // doc.add(TIPOLOGIA_ALLEGATO_A14); - doc.add(TIPOLOGIA_ALLEGATO_A00); doc.add(TIPOLOGIA_ALLEGATO_A01); doc.add(TIPOLOGIA_ALLEGATO_A11); @@ -308,49 +284,6 @@ public class DocumentiPraticaUtil { } - public static List getDocDomandaPortos1() { - List doc = new ArrayList(); - doc.add(TIPOLOGIA_ALLEGATO_A00_PORTOS_1); - doc.add(TIPOLOGIA_ALLEGATO_DOMANDA); - doc.add(TIPOLOGIA_ALLEGATO_VARIAZIONE_SOGGETTO_PORTOS_1); - doc.add(TIPOLOGIA_ALLEGATO_ANNULLAMENTO_PORTOS_1); - - return doc; - } - - public static List getDocObbligatoriDomandaPortos1() { - List doc = new ArrayList(); - doc.add(TIPOLOGIA_ALLEGATO_A00_PORTOS_1); - doc.add(TIPOLOGIA_ALLEGATO_DOMANDA); - - return doc; - } - - public static List getDocIntegrazionePortos1() { - List doc = new ArrayList(); - doc.add(TIPOLOGIA_ALLEGATO_INTEGRAZIONE_PORTOS_1); - - return doc; - } - - public static List getDocFineLavoriPortos1() { - List doc = new ArrayList(); - doc.add(TIPOLOGIA_ALLEGATO_FINE_LAVORI); - doc.add(TIPOLOGIA_ALLEGATO_FINE_LAVORI_PARZIALE); - doc.add(TIPOLOGIA_ALLEGATO_CERTIFICATO_CALCESTRUZZO_PORTOS_1); - doc.add(TIPOLOGIA_ALLEGATO_CERTIFICATO_ACCIAIO_PORTOS_1); - - return doc; - } - - public static List getDocCollaudoPortos1() { - List doc = new ArrayList(); - doc.add(TIPOLOGIA_ALLEGATO_COLLAUDO); - doc.add(TIPOLOGIA_ALLEGATO_COLLAUDO_PARZIALE); - - return doc; - } - public static HashMap getDocControllo() { HashMap docControl = new HashMap(); docControl.put(TIPOLOGIA_ALLEGATO_A00, false);